var kw=Object.defineProperty,Lw=Object.defineProperties,Fw=Object.getOwnPropertyDescriptors,AT=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,Bw=Object.prototype.propertyIsEnumerable,RS=Math.pow,IT=(ze,G,l)=>G in ze?kw(ze,G,{enumerable:!0,configurable:!0,writable:!0,value:l}):ze[G]=l,un=(ze,G)=>{for(var l in G||(G={}))Nw.call(G,l)&&IT(ze,l,G[l]);if(AT)for(var l of AT(G))Bw.call(G,l)&&IT(ze,l,G[l]);return ze},Oi=(ze,G)=>Lw(ze,Fw(G));(self.webpackChunkce_shop=self.webpackChunkce_shop||[]).push([[179],{73175:(ze,G,l)=>{"use strict";l.d(G,{N0:()=>d});var a=l(5e3);const i=new a.OlP("JWT_OPTIONS");let d=(()=>{class f{constructor(b=null){this.tokenGetter=b&&b.tokenGetter||function(){}}urlBase64Decode(b){let m=b.replace(/-/g,"+").replace(/_/g,"/");switch(m.length%4){case 0:break;case 2:m+="==";break;case 3:m+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(m)}b64decode(b){let I="";if((b=String(b).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let M,D,L=0,A=0;D=b.charAt(A++);~D&&(M=L%4?64*M+D:D,L++%4)?I+=String.fromCharCode(255&M>>(-2*L&6)):0)D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(D);return I}b64DecodeUnicode(b){return decodeURIComponent(Array.prototype.map.call(this.b64decode(b),m=>"%"+("00"+m.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(b=this.tokenGetter()){if(!b||""===b)return null;const m=b.split(".");if(3!==m.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const I=this.urlBase64Decode(m[1]);if(!I)throw new Error("Cannot decode the token.");return JSON.parse(I)}getTokenExpirationDate(b=this.tokenGetter()){let m;if(m=this.decodeToken(b),!m||!m.hasOwnProperty("exp"))return null;const I=new Date(0);return I.setUTCSeconds(m.exp),I}isTokenExpired(b=this.tokenGetter(),m){if(!b||""===b)return!0;const I=this.getTokenExpirationDate(b);return m=m||0,null!==I&&!(I.valueOf()>(new Date).valueOf()+1e3*m)}getAuthScheme(b,m){return"function"==typeof b?b(m):b}}return f.\u0275fac=function(b){return new(b||f)(a.LFG(i))},f.\u0275prov=a.Yz7({token:f,factory:f.\u0275fac}),f})()},88347:(ze,G,l)=>{"use strict";const a=[{path:"_",selector:"go-auth-login-user",loadChildren:()=>Promise.all([l.e(8587),l.e(2333)]).then(l.bind(l,72333)).then(d=>d.AuthLoginUserModule)},{path:"_",selector:"go-auth-user-password-recovery",loadChildren:()=>Promise.all([l.e(8587),l.e(9176)]).then(l.bind(l,49176)).then(d=>d.AuthUserPasswordRecoveryModule)},{path:"_",selector:"go-auth-account-switcher",loadChildren:()=>Promise.all([l.e(8587),l.e(1230)]).then(l.bind(l,31230)).then(d=>d.AuthAccountSwitcherModule)},{path:"_",selector:"go-auth-logout-user",loadChildren:()=>Promise.all([l.e(8587),l.e(8325)]).then(l.bind(l,78325)).then(d=>d.AuthLogoutUserModule)},{path:"_",selector:"go-auth-register-user",loadChildren:()=>Promise.all([l.e(8587),l.e(2122)]).then(l.bind(l,2122)).then(d=>d.AuthRegisterUserModule)},{path:"_",selector:"go-auth-new-tenant",loadChildren:()=>Promise.all([l.e(8587),l.e(4212)]).then(l.bind(l,94212)).then(d=>d.AuthNewTenantModule)},{path:"_",selector:"go-auth-sign-up",loadChildren:()=>Promise.all([l.e(8587),l.e(5936)]).then(l.bind(l,25936)).then(d=>d.AuthSignUpModule)}],i=new Map;a.forEach(d=>{i.set(d.selector,d.loadChildren)})},44328:(ze,G,l)=>{"use strict";l.d(G,{$y:()=>ji,BD:()=>vi,Bu:()=>N,C9:()=>Ht,Cs:()=>Ge,FS:()=>Ln,IV:()=>sn,Mg:()=>rt,N$:()=>Li,Rd:()=>hi,cO:()=>Ce,dB:()=>Ji,db:()=>Ie,dx:()=>Re,hW:()=>p,o8:()=>$,vA:()=>Ni,xW:()=>gi});var a=l(57112),i=l(35931),d=l(5e3),p=(()=>{return(cn=p||(p={})).Bmp="bmp",cn.Gif="gif",cn.Heic="heic",cn.Ico="ico",cn.Jpg="jpg",cn.Png="png",cn.Svg="svg",cn.Tiff="tiff",cn.Webp="webp",p;var cn})(),$=(()=>{return(cn=$||($={})).Paid="paid",cn.Refunded="refunded",cn.RequiresPayment="requires_payment",cn.RequiresRefund="requires_refund",$;var cn})(),Ie=(()=>{return(cn=Ie||(Ie={})).InvoiceDoesNotRequirePayment="invoice_does_not_require_payment",cn.PaymentAlreadyInProgress="payment_already_in_progress",cn.RequestAlreadyCanceled="request_already_canceled",Ie;var cn})(),Re=(()=>{return(cn=Re||(Re={})).CollectiveInvoice="collective_invoice",cn.Invoice="invoice",cn.OnSite="on_site",cn.ServiceProvider="service_provider",Re;var cn})(),Ge=(()=>{return(cn=Ge||(Ge={})).AuthorizeNet="authorize_net",cn.Internal="internal",cn.Paypal="paypal",cn.SixSaferpay="six_saferpay",cn.Stripe="stripe",Ge;var cn})(),N=(()=>{return(cn=N||(N={})).Pdf="pdf",cn.Pkpass="pkpass",cn.Pkpasses="pkpasses",N;var cn})();a.Ps`
    fragment attachment on Attachment {
  id
  desc
  copyright
  file {
    id
    _url: url
    metadata {
      filename
      mimeType
      size
    }
  }
}
    `,a.Ps`
    fragment imageAttachment on ImageAttachment {
  id
  desc
  copyright
  file {
    id
    _url: url
    metadata {
      filename
      mimeType
      size
    }
  }
}
    `,a.Ps`
    fragment availabilityRuleSets on ActsAsResource {
  availabilityRuleSets {
    id
    dtstart
    duration
    rrule
    availability
  }
}
    `,a.Ps`
    fragment capacities on ActsAsResource {
  capacities {
    configurationId: configuration {
      value: id
      label: name
      id
      resourceType
      discardedAt
    }
    capacity
  }
}
    `;const gn=a.Ps`
    fragment address on Address {
  id
  department
  street
  streetAdditionalInfo
  postalCode
  city
  region
  country
}
    `,An=(a.Ps`
    fragment contact on Contact {
  id
  number
  externalRef
  discardedAt
  customFormOfAddress
  salutation
  title
  firstName
  lastName
  mobile
  tel
  email
  locale
  function
  internalComment
  customer: customer {
    id
    name
    taxCode
    website
    groupId: group {
      value: id
      label: name
      discardedAt
    }
    addresses: addresses {
      ...address
    }
  }
}
    ${gn}`,a.Ps`
    fragment errors on Error {
  key
  messages
}
    `),In=(a.Ps`
    fragment pageInfo on PageInfo {
  endCursor
  startCursor
  hasNextPage
  hasPreviousPage
}
    `,a.Ps`
    fragment pricing on Pricing {
  kind
  name
  nameTranslated
  originalPriceValue
  priceValue
  priceOrigin {
    ... on PriceRule {
      id
      minPax
      maxPax
    }
  }
  product {
    id
    subProductPresentation
    subProducts {
      pricing {
        kind
        name
        quantity
        originalPriceValue
        priceValue
      }
    }
  }
}
    `),be=(a.Ps`
    fragment eventPriceRules on ActsAsEventable {
  priceRules {
    id
    priceCategoryId: priceCategory {
      value: id
      label: nameTranslated
      discardedAt
    }
    productId: product {
      value: id
      label: name
      pricing {
        ...pricing
      }
      discardedAt
    }
    posIds: pos {
      value: id
      label: name
    }
    minPax
    maxPax
  }
}
    ${In}`,a.Ps`
    fragment relatedProducts on Product {
  id
  name
  desc
  pricing {
    ...pricing
  }
}
    ${In}`,a.Ps`
    fragment properties on ActsAsResource {
  propertyIds: properties {
    value: id
    label: name
    id
    resourceType
    discardedAt
  }
}
    `,a.Ps`
    fragment eventQuotas on ActsAsEventable {
  quotas: quotas {
    id
    posIds: pos {
      value: id
      label: name
    }
    maxQuantity
    salesStartOffset
    salesEndOffset
  }
}
    `,a.Ps`
    fragment recurrenceRuleSet on RecurrenceRuleSet {
  id
  dtstart
  rrule
}
    `,a.Ps`
    fragment resourceRequirement on Requirement {
  id
  resourceType
  resourceAllocationState
  properties {
    id
    name
    resourceType
    discardedAt
  }
  configuration {
    id
    name
    resourceType
    discardedAt
  }
  resource {
    id
    name
    resourceType
  }
  spans {
    id
    startOffset
    endOffset
  }
  reservations {
    id
    resourceType
    spanStr
  }
}
    `,a.Ps`
    fragment salesTaxPayments on SalesTaxPayment {
  id
  taxRate
  taxValue
  included
}
    `);a.Ps`
    fragment translations on Translations {
  af
  ar
  az
  be
  bg
  bn
  bs
  ca
  cs
  da
  de
  dz
  el
  en
  eo
  es
  et
  eu
  fa
  fi
  fr
  fy
  gl
  he
  hi
  hr
  hu
  is
  it
  ja
  ka
  kk
  km
  kn
  ko
  lb
  lo
  lt
  lv
  mg
  mk
  ml
  mn
  ms
  nb
  ne
  nl
  nn
  oc
  or
  pa
  pl
  pt
  rm
  ro
  ru
  sc
  sk
  sl
  sq
  sr
  st
  sv
  sw
  ta
  te
  th
  tl
  tr
  tt
  ug
  uk
  ur
  uz
  vi
  wo
}
    `,a.Ps`
    mutation contactTermsUpdate($input: ContactUpdateInput!) {
  contactUpdate(input: $input) {
    contact {
      id
      privacyStatementAccepted
      termsAndConditionsAccepted
    }
    errors {
      key
      messages
    }
  }
}
    `;const Ut=a.Ps`
    query countriesOptions {
  countries {
    value
    label
  }
}
    `;let Ht=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=Ut}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();a.Ps`
    query invoicePayments($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    request {
      id
      number
    }
    payments {
      id
      state
    }
  }
}
    `;const ce=a.Ps`
    query invoicePublicDetail($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    number
    paymentState
    paymentIntentCreateError
    tenant {
      shopDomainName
      termsAndConditionsUrlTranslated
      privacyStatementUrlTranslated
      settings {
        paymentTransactionCharge {
          name
        }
        stripe {
          platformPublicKey
          accountId
        }
      }
      name
      email
      tel
    }
    payments {
      id
      state
    }
    invoiceItems {
      id
      name
      nameTranslated
      groupingName
      groupingNameTranslated
      groupingKey
      groupingSpan
      quantity
      product {
        id
        shippingArticle
      }
      forSubProduct
      subInvoiceItemPresentation
      subInvoiceItems {
        id
        quantity
        priceValue
        name
      }
      totalGrossValue
      totalPriceValue
      salesTaxPayments {
        ...salesTaxPayments
      }
    }
    totalGrossValue
    salesTaxPayments {
      ...salesTaxPayments
    }
    request {
      number
      shareablePublicTicketsUrl
      shippingAddress {
        formatted
      }
      requestItems {
        id
        pricings {
          id
          attendances {
            id
          }
        }
      }
    }
    contact {
      id
      accessToken
      _enableLoginToken: enableLoginToken
      firstName
      lastName
      email
      tel
      mobile
      privacyStatementAccepted
      termsAndConditionsAccepted
    }
    totalValue
    totalGrossValue
    totalAccountTransactionsValue
    billingAddress {
      formatted
      customer {
        name
      }
    }
  }
}
    ${be}`;let Ce=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=ce}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const Qe=a.Ps`
    query invoiceState($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    paymentState
    paymentIntentCreateError
    totalValue
    totalGrossValue
    tenant {
      serviceProviderPaymentMethods
      featureFlags
    }
  }
}
    `;let rt=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=Qe}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const Nt=a.Ps`
    mutation onSiteRequestFinalize($input: RequestFinalizeInput!) {
  requestFinalize(input: $input) {
    errors {
      key
      messages
    }
  }
}
    `;let sn=(()=>{class cn extends i.mm{constructor(Qn){super(Qn),this.document=Nt}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const On=a.Ps`
    mutation paymentIntentInProgress($input: PaymentIntentInProgressInput!) {
  paymentIntentInProgress(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${An}`;let Ln=(()=>{class cn extends i.mm{constructor(Qn){super(Qn),this.document=On}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const zn=a.Ps`
    mutation paymentIntentCreate($input: PaymentIntentCreateInput!) {
  paymentIntentCreate(input: $input) {
    payment {
      id
      value
      paymentIntentId
      paymentIntentClientSecret
      redirectUrl
      invoice {
        paymentState
        tenant {
          settings {
            stripe {
              platformPublicKey
              accountId
            }
            paypal {
              clientId
            }
          }
        }
        contact {
          firstName
          lastName
        }
        billingAddress {
          street
          city
          country
          postalCode
          customer {
            name
          }
        }
      }
    }
    errors {
      ...errors
    }
  }
}
    ${An}`;let hi=(()=>{class cn extends i.mm{constructor(Qn){super(Qn),this.document=zn}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const mi=a.Ps`
    mutation onSiteRequestUpdate($input: RequestUpdateInput!) {
  requestUpdate(input: $input) {
    errors {
      key
      messages
    }
  }
}
    `;let gi=(()=>{class cn extends i.mm{constructor(Qn){super(Qn),this.document=mi}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const ki=a.Ps`
    query privacyPolicy {
  tenant {
    id
    privacyStatementTranslated
  }
}
    `;let ji=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=ki}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const Ki=a.Ps`
    query tncPolicy {
  tenant {
    id
    termsAndConditionsTranslated
  }
}
    `;let Ni=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=Ki}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const Kn=a.Ps`
    query authorizeNet {
  tenant {
    id
    featureFlags
    liveMode
    settings {
      authorizeNet {
        apiLoginId
        clientKey
      }
    }
  }
}
    `;let vi=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=Kn}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const Ai=a.Ps`
    query paypal {
  tenant {
    id
    settings {
      paypal {
        clientId
      }
    }
  }
}
    `;let Ji=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=Ai}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})();const Xi=a.Ps`
    query stripe {
  tenant {
    id
    settings {
      stripe {
        platformPublicKey
        accountId
      }
    }
  }
}
    `;let Li=(()=>{class cn extends i.AE{constructor(Qn){super(Qn),this.document=Xi}}return cn.\u0275fac=function(Qn){return new(Qn||cn)(d.LFG(i._M))},cn.\u0275prov=d.Yz7({token:cn,factory:cn.\u0275fac,providedIn:"root"}),cn})()},85368:(ze,G,l)=>{"use strict";l.d(G,{hW:()=>a.hW,BD:()=>a.BD,C9:()=>a.C9,o8:()=>a.o8,cO:()=>a.cO,Mg:()=>a.Mg,IV:()=>a.IV,xW:()=>a.xW,db:()=>a.db,Rd:()=>a.Rd,FS:()=>a.FS,dx:()=>a.dx,Cs:()=>a.Cs,dB:()=>a.dB,$y:()=>a.$y,N$:()=>a.N$,vA:()=>a.vA});var a=l(44328)},34307:(ze,G,l)=>{"use strict";function a(O){return Object.keys(O).forEach(T=>{"_"===T[0]?delete O[T]:O[T]instanceof Array?O[T].forEach(J=>{J instanceof Object&&a(J)}):O[T]instanceof Object&&a(O[T])}),O}function i(O){const T=O.split("@");return{local:T[0],humanLocal:T[0].replace(/[\W_]+/g," ").replace(/(?:^|\s)\S/g,J=>J.toUpperCase()),domain:T[1]}}l.d(G,{N_:()=>Me.N_,Tf:()=>Me.Tf,mR:()=>Wt.mR,_I:()=>M,cM:()=>Et.c,wV:()=>p.w,pd:()=>ne,rY:()=>x,zE:()=>Me.zE,OL:()=>Me.OL,Fb:()=>C.F,TF:()=>C.T,$T:()=>Me.$T,J6:()=>d.J6,m9:()=>w.m9,un:()=>w.un,GI:()=>_e,i1:()=>a,Zd:()=>E,HH:()=>te,g$:()=>i,n0:()=>w.n0});var d=l(83918),p=l(40892),C=l(82849),v=(l(88347),l(5e3));const b=new v.OlP("go/elements-map");var m=l(69808),I=l(21086),L=l(5254);let M=(()=>{class O{constructor(J,me,pt,bt){this.moduleRef=J,this.compiler=pt,this.platformId=bt,this.elementsLoading=new Map,this.elementsToLoad=new Map(me)}loadContainedCustomElements(J){const me=Array.from(this.elementsToLoad.keys()).filter(bt=>J.querySelector(bt));if(!me.length)return(0,I.of)(void 0);const pt=Promise.all(me.map(bt=>this.loadCustomElement(bt)));return(0,L.D)(pt.then(()=>{}))}loadCustomElement(J){if(!(0,m.NF)(this.platformId))return Promise.resolve();const{createCustomElement:me}=l(96158);if(this.elementsLoading.has(J))return this.elementsLoading.get(J);if(this.elementsToLoad.has(J)){const bt=this.elementsToLoad.get(J)().then(It=>It instanceof v.YKP?It:this.compiler.compileModuleAsync(It)).then(It=>{const qt=It.create(this.moduleRef.injector),Mt=me(qt.instance.customElementComponent,{injector:qt.injector});return customElements.define(J,Mt),customElements.whenDefined(J)}).then(()=>{this.elementsLoading.delete(J),this.elementsToLoad.delete(J)}).catch(It=>(this.elementsLoading.delete(J),Promise.reject(It)));return this.elementsLoading.set(J,bt),bt}return Promise.resolve()}}return O.\u0275fac=function(J){return new(J||O)(v.LFG(v.h0i),v.LFG(b),v.LFG(v.Sil),v.LFG(v.Lbi))},O.\u0275prov=v.Yz7({token:O,factory:O.\u0275fac}),O})();l(36477);var R=l(22313);let x=(()=>{class O extends R.hm{constructor(){super(...arguments),this.overrides={pinch:{enable:!1},rotate:{enable:!1},swipe:{enable:!1}}}}return O.\u0275fac=function(){let T;return function(me){return(T||(T=v.n5z(O)))(me||O)}}(),O.\u0275prov=v.Yz7({token:O,factory:O.\u0275fac}),O})();var w=l(4324),k=l(40520),H=l(92198),j=l(72986),z=l(22868);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function le(O){const T={};for(const J of O.keys()){const me=O.getAll(J);null!==me&&(T[J]=me)}return T}let oe=(()=>{class O{constructor(J,me){this.transferState=me,this.isCacheActive=!0,J.isStable.pipe((0,H.h)(pt=>pt),(0,j.q)(1)).subscribe(()=>{this.isCacheActive=!1})}invalidateCacheEntry(J){Object.keys(this.transferState.store).forEach(me=>me.includes(J)?this.transferState.remove((0,R.Cb)(me)):null)}makeCacheKey(J,me,pt){const bt=pt.keys().sort().map(qt=>`${qt}=${pt.getAll(qt)}`).join("&");return(0,R.Cb)(("GET"===J?"G.":"H.")+me+"?"+bt)}intercept(J,me){if("GET"!==J.method&&"HEAD"!==J.method&&(this.isCacheActive=!1,this.invalidateCacheEntry(J.url)),!this.isCacheActive)return me.handle(J);const pt=this.makeCacheKey(J.method,J.url,J.params);if(this.transferState.hasKey(pt)){const bt=this.transferState.get(pt,{});return(0,I.of)(new k.Zn({body:bt.body,headers:new k.WM(bt.headers),status:bt.status,statusText:bt.statusText,url:bt.url}))}return me.handle(J).pipe((0,z.b)(It=>{It instanceof k.Zn&&this.transferState.set(pt,{body:It.body,headers:le(It.headers),status:It.status,statusText:It.statusText,url:It.url||""})}))}}return O.\u0275fac=function(J){return new(J||O)(v.LFG(v.z2F),v.LFG(R.ki))},O.\u0275prov=v.Yz7({token:O,factory:O.\u0275fac}),O})(),$=(()=>{class O{}return O.\u0275fac=function(J){return new(J||O)},O.\u0275mod=v.oAB({type:O}),O.\u0275inj=v.cJS({providers:[oe,{provide:k.TP,useExisting:oe,multi:!0}],imports:[[R.Cu]]}),O})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var ge=l(97582),Ve=l(89721),$e=l(85391),Be=l(53735),Ee=l(89661),Ie=l(64171),Re=l(64302),Ge=l(87773),it=l(5058),Se=l(72905),Z=l(11371),V=function(){function O(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,$e.re)(Ee.Yk,{max:Ie.Q["cache.fragmentQueryDocuments"]||1e3,cache:it.k})}return O.prototype.batch=function(T){var pt,J=this;return this.performTransaction(function(){return pt=T.update(J)},"string"==typeof T.optimistic?T.optimistic:!1===T.optimistic?null:void 0),pt},O.prototype.recordOptimisticTransaction=function(T,J){this.performTransaction(T,J)},O.prototype.transformDocument=function(T){return T},O.prototype.transformForLink=function(T){return T},O.prototype.identify=function(T){},O.prototype.gc=function(){return[]},O.prototype.modify=function(T){return!1},O.prototype.readQuery=function(T,J){return void 0===J&&(J=!!T.optimistic),this.read((0,ge.pi)((0,ge.pi)({},T),{rootId:T.id||"ROOT_QUERY",optimistic:J}))},O.prototype.watchFragment=function(T){var pn,J=this,me=T.fragment,pt=T.fragmentName,bt=T.from,It=T.optimistic,qt=void 0===It||It,mn=(0,ge._T)(T,["fragment","fragmentName","from","optimistic"]),_n=this.getFragmentDoc(me,pt),Mt=(0,ge.pi)((0,ge.pi)({},mn),{returnPartialData:!0,id:void 0===bt||"string"==typeof bt?bt:this.identify(bt),query:_n,optimistic:qt});return new Re.y(function(tn){return J.watch((0,ge.pi)((0,ge.pi)({},Mt),{immediate:!0,callback:function(Vn){if(!pn||!(0,Z.W)(_n,{data:null==pn?void 0:pn.result},{data:Vn.result})){var Jn={data:Vn.result,complete:!!Vn.complete};Vn.missing&&(Jn.missing=(0,Ge.bw)(Vn.missing.map(function(ci){return ci.missing}))),pn=Vn,tn.next(Jn)}}}))})},O.prototype.readFragment=function(T,J){return void 0===J&&(J=!!T.optimistic),this.read((0,ge.pi)((0,ge.pi)({},T),{query:this.getFragmentDoc(T.fragment,T.fragmentName),rootId:T.id,optimistic:J}))},O.prototype.writeQuery=function(T){var J=T.id,me=T.data,pt=(0,ge._T)(T,["id","data"]);return this.write(Object.assign(pt,{dataId:J||"ROOT_QUERY",result:me}))},O.prototype.writeFragment=function(T){var J=T.id,me=T.data,pt=T.fragment,bt=T.fragmentName,It=(0,ge._T)(T,["id","data","fragment","fragmentName"]);return this.write(Object.assign(It,{query:this.getFragmentDoc(pt,bt),dataId:J,result:me}))},O.prototype.updateQuery=function(T,J){return this.batch({update:function(me){var pt=me.readQuery(T),bt=J(pt);return null==bt?pt:(me.writeQuery((0,ge.pi)((0,ge.pi)({},T),{data:bt})),bt)}})},O.prototype.updateFragment=function(T,J){return this.batch({update:function(me){var pt=me.readFragment(T),bt=J(pt);return null==bt?pt:(me.writeFragment((0,ge.pi)((0,ge.pi)({},T),{data:bt})),bt)}})},O}();!1!==globalThis.__DEV__&&(V.prototype.getMemoryInternals=Se.Kb);var U=function(O){function T(J,me,pt,bt){var It,qt=O.call(this,J)||this;if(qt.message=J,qt.path=me,qt.query=pt,qt.variables=bt,Array.isArray(qt.path)){qt.missing=qt.message;for(var mn=qt.path.length-1;mn>=0;--mn)qt.missing=((It={})[qt.path[mn]]=qt.missing,It)}else qt.missing=qt.path;return qt.__proto__=T.prototype,qt}return(0,ge.ZT)(T,O),T}(Error),fe=l(72938),pe=l(43690),He=l(13395),et=l(2492),de=l(97634),lt=l(22289),St=l(29545),Qt=l(93950),gt=l(70591),yt=l(79722),Je=l(27062);function X(O){return!1!==globalThis.__DEV__&&function ct(O){var T=new Set([O]);return T.forEach(function(J){(0,Je.s)(J)&&function Xe(O){if(!1!==globalThis.__DEV__&&!Object.isFrozen(O))try{Object.freeze(O)}catch(T){if(T instanceof TypeError)return null;throw T}return O}(J)===J&&Object.getOwnPropertyNames(J).forEach(function(me){(0,Je.s)(J[me])&&T.add(J[me])})}),O}(O),O}var xe=l(95216),he=l(65355),N=Object.prototype.hasOwnProperty;function F(O){return null==O}function Y(O,T){var J=O.__typename,me=O.id,pt=O._id;if("string"==typeof J&&(T&&(T.keyObject=F(me)?F(pt)?void 0:{_id:pt}:{id:me}),F(me)&&!F(pt)&&(me=pt),!F(me)))return"".concat(J,":").concat("number"==typeof me||"string"==typeof me?me:JSON.stringify(me))}var re={dataIdFromObject:Y,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Ye(O){var T=O.canonizeResults;return void 0===T?re.canonizeResults:T}var Vt=/^[_a-z][_0-9a-z]*/i;function Jt(O){var T=O.match(Vt);return T?T[0]:O}function hn(O,T,J){return!!(0,Je.s)(T)&&((0,he.k)(T)?T.every(function(me){return hn(O,me,J)}):O.selections.every(function(me){if((0,de.My)(me)&&(0,yt.LZ)(me,J)){var pt=(0,de.u2)(me);return N.call(T,pt)&&(!me.selectionSet||hn(me.selectionSet,T[pt],J))}return!0}))}function gn(O){return(0,Je.s)(O)&&!(0,de.Yk)(O)&&!(0,he.k)(O)}function An(O,T){var J=(0,Ee.F)((0,gt.kU)(O));return{fragmentMap:J,lookupFragment:function(me){var pt=J[me];return!pt&&T&&(pt=T.lookup(me)),pt||null}}}var O,T,Nn=Object.create(null),In=function(){return Nn},wn=Object.create(null),Wn=function(){function O(T,J){var me=this;this.policies=T,this.group=J,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(pt,bt){return X((0,de.Yk)(pt)?me.get(pt.__ref,bt):pt&&pt[bt])},this.canRead=function(pt){return(0,de.Yk)(pt)?me.has(pt.__ref):"object"==typeof pt},this.toReference=function(pt,bt){if("string"==typeof pt)return(0,de.kQ)(pt);if((0,de.Yk)(pt))return pt;var It=me.policies.identify(pt)[0];if(It){var qt=(0,de.kQ)(It);return bt&&me.merge(It,pt),qt}}}return O.prototype.toObject=function(){return(0,ge.pi)({},this.data)},O.prototype.has=function(T){return void 0!==this.lookup(T,!0)},O.prototype.get=function(T,J){if(this.group.depend(T,J),N.call(this.data,T)){var me=this.data[T];if(me&&N.call(me,J))return me[J]}return"__typename"===J&&N.call(this.policies.rootTypenamesById,T)?this.policies.rootTypenamesById[T]:this instanceof ht?this.parent.get(T,J):void 0},O.prototype.lookup=function(T,J){return J&&this.group.depend(T,"__exists"),N.call(this.data,T)?this.data[T]:this instanceof ht?this.parent.lookup(T,J):this.policies.rootTypenamesById[T]?Object.create(null):void 0},O.prototype.merge=function(T,J){var pt,me=this;(0,de.Yk)(T)&&(T=T.__ref),(0,de.Yk)(J)&&(J=J.__ref);var bt="string"==typeof T?this.lookup(pt=T):T,It="string"==typeof J?this.lookup(pt=J):J;if(It){(0,Ve.kG)("string"==typeof pt,1);var qt=new Ge.w0(Ze).merge(bt,It);if(this.data[pt]=qt,qt!==bt&&(delete this.refs[pt],this.group.caching)){var mn=Object.create(null);bt||(mn.__exists=1),Object.keys(It).forEach(function(_n){if(!bt||bt[_n]!==qt[_n]){mn[_n]=1;var Mt=Jt(_n);Mt!==_n&&!me.policies.hasKeyArgs(qt.__typename,Mt)&&(mn[Mt]=1),void 0===qt[_n]&&!(me instanceof ht)&&delete qt[_n]}}),mn.__typename&&!(bt&&bt.__typename)&&this.policies.rootTypenamesById[pt]===qt.__typename&&delete mn.__typename,Object.keys(mn).forEach(function(_n){return me.group.dirty(pt,_n)})}}},O.prototype.modify=function(T,J){var me=this,pt=this.lookup(T);if(pt){var bt=Object.create(null),It=!1,qt=!0,mn={DELETE:Nn,INVALIDATE:wn,isReference:de.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(_n,Mt){return me.policies.readField("string"==typeof _n?{fieldName:_n,from:Mt||(0,de.kQ)(T)}:_n,{store:me})}};if(Object.keys(pt).forEach(function(_n){var Mt=Jt(_n),pn=pt[_n];if(void 0!==pn){var tn="function"==typeof J?J:J[_n]||J[Mt];if(tn){var Vn=tn===In?Nn:tn(X(pn),(0,ge.pi)((0,ge.pi)({},mn),{fieldName:Mt,storeFieldName:_n,storage:me.getStorage(T,_n)}));if(Vn===wn)me.group.dirty(T,_n);else if(Vn===Nn&&(Vn=void 0),Vn!==pn&&(bt[_n]=Vn,It=!0,pn=Vn,!1!==globalThis.__DEV__)){var Jn=function(Gi){if(void 0===me.lookup(Gi.__ref))return!1!==globalThis.__DEV__&&Ve.kG.warn(2,Gi),!0};if((0,de.Yk)(Vn))Jn(Vn);else if(Array.isArray(Vn))for(var ci=!1,ti=void 0,Di=0,Ci=Vn;Di<Ci.length;Di++){var li=Ci[Di];if((0,de.Yk)(li)){if(ci=!0,Jn(li))break}else"object"==typeof li&&li&&me.policies.identify(li)[0]&&(ti=li);if(ci&&void 0!==ti){!1!==globalThis.__DEV__&&Ve.kG.warn(3,ti);break}}}}void 0!==pn&&(qt=!1)}}),It)return this.merge(T,bt),qt&&(this instanceof ht?this.data[T]=void 0:delete this.data[T],this.group.dirty(T,"__exists")),!0}return!1},O.prototype.delete=function(T,J,me){var pt,bt=this.lookup(T);if(bt){var It=this.getFieldValue(bt,"__typename"),qt=J&&me?this.policies.getStoreFieldName({typename:It,fieldName:J,args:me}):J;return this.modify(T,qt?((pt={})[qt]=In,pt):In)}return!1},O.prototype.evict=function(T,J){var me=!1;return T.id&&(N.call(this.data,T.id)&&(me=this.delete(T.id,T.fieldName,T.args)),this instanceof ht&&this!==J&&(me=this.parent.evict(T,J)||me),(T.fieldName||me)&&this.group.dirty(T.id,T.fieldName||"__exists")),me},O.prototype.clear=function(){this.replace(null)},O.prototype.extract=function(){var T=this,J=this.toObject(),me=[];return this.getRootIdSet().forEach(function(pt){N.call(T.policies.rootTypenamesById,pt)||me.push(pt)}),me.length&&(J.__META={extraRootIds:me.sort()}),J},O.prototype.replace=function(T){var J=this;if(Object.keys(this.data).forEach(function(bt){T&&N.call(T,bt)||J.delete(bt)}),T){var me=T.__META,pt=(0,ge._T)(T,["__META"]);Object.keys(pt).forEach(function(bt){J.merge(bt,pt[bt])}),me&&me.extraRootIds.forEach(this.retain,this)}},O.prototype.retain=function(T){return this.rootIds[T]=(this.rootIds[T]||0)+1},O.prototype.release=function(T){if(this.rootIds[T]>0){var J=--this.rootIds[T];return J||delete this.rootIds[T],J}return 0},O.prototype.getRootIdSet=function(T){return void 0===T&&(T=new Set),Object.keys(this.rootIds).forEach(T.add,T),this instanceof ht?this.parent.getRootIdSet(T):Object.keys(this.policies.rootTypenamesById).forEach(T.add,T),T},O.prototype.gc=function(){var T=this,J=this.getRootIdSet(),me=this.toObject();J.forEach(function(It){N.call(me,It)&&(Object.keys(T.findChildRefIds(It)).forEach(J.add,J),delete me[It])});var pt=Object.keys(me);if(pt.length){for(var bt=this;bt instanceof ht;)bt=bt.parent;pt.forEach(function(It){return bt.delete(It)})}return pt},O.prototype.findChildRefIds=function(T){if(!N.call(this.refs,T)){var J=this.refs[T]=Object.create(null),me=this.data[T];if(!me)return J;var pt=new Set([me]);pt.forEach(function(bt){(0,de.Yk)(bt)&&(J[bt.__ref]=!0),(0,Je.s)(bt)&&Object.keys(bt).forEach(function(It){var qt=bt[It];(0,Je.s)(qt)&&pt.add(qt)})})}return this.refs[T]},O.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},O}(),Bn=function(){function O(T,J){void 0===J&&(J=null),this.caching=T,this.parent=J,this.d=null,this.resetCaching()}return O.prototype.resetCaching=function(){this.d=this.caching?(0,$e.dP)():null,this.keyMaker=new xe.B(St.mr)},O.prototype.depend=function(T,J){if(this.d){this.d(Xt(T,J));var me=Jt(J);me!==J&&this.d(Xt(T,me)),this.parent&&this.parent.depend(T,J)}},O.prototype.dirty=function(T,J){this.d&&this.d.dirty(Xt(T,J),"__exists"===J?"forget":"setDirty")},O}();function Xt(O,T){return T+"#"+O}function Pt(O,T){_t(O)&&O.group.depend(T,"__exists")}T=function(J){function me(pt){var It=pt.resultCaching,mn=pt.seed,_n=J.call(this,pt.policies,new Bn(void 0===It||It))||this;return _n.stump=new be(_n),_n.storageTrie=new xe.B(St.mr),mn&&_n.replace(mn),_n}return(0,ge.ZT)(me,J),me.prototype.addLayer=function(pt,bt){return this.stump.addLayer(pt,bt)},me.prototype.removeLayer=function(){return this},me.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},me}(O=Wn||(Wn={})),O.Root=T;var ht=function(O){function T(J,me,pt,bt){var It=O.call(this,me.policies,bt)||this;return It.id=J,It.parent=me,It.replay=pt,It.group=bt,pt(It),It}return(0,ge.ZT)(T,O),T.prototype.addLayer=function(J,me){return new T(J,this,me,this.group)},T.prototype.removeLayer=function(J){var me=this,pt=this.parent.removeLayer(J);return J===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(bt){var It=me.data[bt],qt=pt.lookup(bt);qt?It?It!==qt&&Object.keys(It).forEach(function(mn){(0,Be.D)(It[mn],qt[mn])||me.group.dirty(bt,mn)}):(me.group.dirty(bt,"__exists"),Object.keys(qt).forEach(function(mn){me.group.dirty(bt,mn)})):me.delete(bt)}),pt):pt===this.parent?this:pt.addLayer(this.id,this.replay)},T.prototype.toObject=function(){return(0,ge.pi)((0,ge.pi)({},this.parent.toObject()),this.data)},T.prototype.findChildRefIds=function(J){var me=this.parent.findChildRefIds(J);return N.call(this.data,J)?(0,ge.pi)((0,ge.pi)({},me),O.prototype.findChildRefIds.call(this,J)):me},T.prototype.getStorage=function(){for(var J=this.parent;J.parent;)J=J.parent;return J.getStorage.apply(J,arguments)},T}(Wn),be=function(O){function T(J){return O.call(this,"EntityStore.Stump",J,function(){},new Bn(J.group.caching,J.group))||this}return(0,ge.ZT)(T,O),T.prototype.removeLayer=function(){return this},T.prototype.merge=function(J,me){return this.parent.merge(J,me)},T}(ht);function Ze(O,T,J){var me=O[J],pt=T[J];return(0,Be.D)(me,pt)?me:pt}function _t(O){return!!(O instanceof Wn&&O.group.caching)}var Ut=function(){function O(){this.known=new(St.sy?WeakSet:Set),this.pool=new xe.B(St.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return O.prototype.isKnown=function(T){return(0,Je.s)(T)&&this.known.has(T)},O.prototype.pass=function(T){if((0,Je.s)(T)){var J=function st(O){return(0,Je.s)(O)?(0,he.k)(O)?O.slice(0):(0,ge.pi)({__proto__:Object.getPrototypeOf(O)},O):O}(T);return this.passes.set(J,T),J}return T},O.prototype.admit=function(T){var J=this;if((0,Je.s)(T)){var me=this.passes.get(T);if(me)return me;switch(Object.getPrototypeOf(T)){case Array.prototype:if(this.known.has(T))return T;var bt=T.map(this.admit,this);return(It=this.pool.lookupArray(bt)).array||(this.known.add(It.array=bt),!1!==globalThis.__DEV__&&Object.freeze(bt)),It.array;case null:case Object.prototype:if(this.known.has(T))return T;var qt=Object.getPrototypeOf(T),mn=[qt],_n=this.sortedKeys(T);mn.push(_n.json);var It,Mt=mn.length;if(_n.sorted.forEach(function(Vn){mn.push(J.admit(T[Vn]))}),!(It=this.pool.lookupArray(mn)).object){var pn=It.object=Object.create(qt);this.known.add(pn),_n.sorted.forEach(function(Vn,Jn){pn[Vn]=mn[Mt+Jn]}),!1!==globalThis.__DEV__&&Object.freeze(pn)}return It.object}}return T},O.prototype.sortedKeys=function(T){var J=Object.keys(T),me=this.pool.lookupArray(J);if(!me.keys){J.sort();var pt=JSON.stringify(J);(me.keys=this.keysByJSON.get(pt))||this.keysByJSON.set(pt,me.keys={sorted:J,json:pt})}return me.keys},O}();function Ht(O){return[O.selectionSet,O.objectOrReference,O.context,O.context.canonizeResults]}var dn=function(){function O(T){var J=this;this.knownResults=new(St.mr?WeakMap:Map),this.config=(0,Qt.o)(T,{addTypename:!1!==T.addTypename,canonizeResults:Ye(T)}),this.canon=T.canon||new Ut,this.executeSelectionSet=(0,$e.re)(function(me){var pt,bt=me.context.canonizeResults,It=Ht(me);It[3]=!bt;var qt=(pt=J.executeSelectionSet).peek.apply(pt,It);return qt?bt?(0,ge.pi)((0,ge.pi)({},qt),{result:J.canon.admit(qt.result)}):qt:(Pt(me.context.store,me.enclosingRef.__ref),J.execSelectionSetImpl(me))},{max:this.config.resultCacheMaxSize||Ie.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Ht,makeCacheKey:function(me,pt,bt,It){if(_t(bt.store))return bt.store.makeCacheKey(me,(0,de.Yk)(pt)?pt.__ref:pt,bt.varString,It)}}),this.executeSubSelectedArray=(0,$e.re)(function(me){return Pt(me.context.store,me.enclosingRef.__ref),J.execSubSelectedArrayImpl(me)},{max:this.config.resultCacheMaxSize||Ie.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(me){var pt=me.field,bt=me.array,It=me.context;if(_t(It.store))return It.store.makeCacheKey(pt,bt,It.varString)}})}return O.prototype.resetCanon=function(){this.canon=new Ut},O.prototype.diffQueryAgainstStore=function(T){var J=T.store,me=T.query,pt=T.rootId,bt=void 0===pt?"ROOT_QUERY":pt,It=T.variables,qt=T.returnPartialData,mn=void 0===qt||qt,_n=T.canonizeResults,Mt=void 0===_n?this.config.canonizeResults:_n,pn=this.config.cache.policies;It=(0,ge.pi)((0,ge.pi)({},(0,gt.O4)((0,gt.iW)(me))),It);var Jn,tn=(0,de.kQ)(bt),Vn=this.executeSelectionSet({selectionSet:(0,gt.p$)(me).selectionSet,objectOrReference:tn,enclosingRef:tn,context:(0,ge.pi)({store:J,query:me,policies:pn,variables:It,varString:(0,He.B)(It),canonizeResults:Mt},An(me,this.config.fragments))});if(Vn.missing&&(Jn=[new U(jt(Vn.missing),Vn.missing,me,It)],!mn))throw Jn[0];return{result:Vn.result,complete:!Jn,missing:Jn}},O.prototype.isFresh=function(T,J,me,pt){if(_t(pt.store)&&this.knownResults.get(T)===me){var bt=this.executeSelectionSet.peek(me,J,pt,this.canon.isKnown(T));if(bt&&T===bt.result)return!0}return!1},O.prototype.execSelectionSetImpl=function(T){var J=this,me=T.selectionSet,pt=T.objectOrReference,bt=T.enclosingRef,It=T.context;if((0,de.Yk)(pt)&&!It.policies.rootTypenamesById[pt.__ref]&&!It.store.has(pt.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(pt.__ref," object")};var tn,qt=It.variables,mn=It.policies,Mt=It.store.getFieldValue(pt,"__typename"),pn=[],Vn=new Ge.w0;function Jn(li,$i){var Gi;return li.missing&&(tn=Vn.merge(tn,((Gi={})[$i]=li.missing,Gi))),li.result}this.config.addTypename&&"string"==typeof Mt&&!mn.rootIdsByTypename[Mt]&&pn.push({__typename:Mt});var ci=new Set(me.selections);ci.forEach(function(li){var $i,Gi;if((0,yt.LZ)(li,qt))if((0,de.My)(li)){var cr=mn.readField({fieldName:li.name.value,field:li,variables:It.variables,from:pt},It),ar=(0,de.u2)(li);void 0===cr?pe.Gw.added(li)||(tn=Vn.merge(tn,(($i={})[ar]="Can't find field '".concat(li.name.value,"' on ").concat((0,de.Yk)(pt)?pt.__ref+" object":"object "+JSON.stringify(pt,null,2)),$i))):(0,he.k)(cr)?cr.length>0&&(cr=Jn(J.executeSubSelectedArray({field:li,array:cr,enclosingRef:bt,context:It}),ar)):li.selectionSet?null!=cr&&(cr=Jn(J.executeSelectionSet({selectionSet:li.selectionSet,objectOrReference:cr,enclosingRef:(0,de.Yk)(cr)?cr:bt,context:It}),ar)):It.canonizeResults&&(cr=J.canon.pass(cr)),void 0!==cr&&pn.push(((Gi={})[ar]=cr,Gi))}else{var ur=(0,Ee.hi)(li,It.lookupFragment);if(!ur&&li.kind===lt.h.FRAGMENT_SPREAD)throw(0,Ve._K)(9,li.name.value);ur&&mn.fragmentMatches(ur,Mt)&&ur.selectionSet.selections.forEach(ci.add,ci)}});var Di={result:(0,Ge.bw)(pn),missing:tn},Ci=It.canonizeResults?this.canon.admit(Di):X(Di);return Ci.result&&this.knownResults.set(Ci.result,me),Ci},O.prototype.execSubSelectedArrayImpl=function(T){var qt,J=this,me=T.field,pt=T.array,bt=T.enclosingRef,It=T.context,mn=new Ge.w0;function _n(Mt,pn){var tn;return Mt.missing&&(qt=mn.merge(qt,((tn={})[pn]=Mt.missing,tn))),Mt.result}return me.selectionSet&&(pt=pt.filter(It.store.canRead)),pt=pt.map(function(Mt,pn){return null===Mt?null:(0,he.k)(Mt)?_n(J.executeSubSelectedArray({field:me,array:Mt,enclosingRef:bt,context:It}),pn):me.selectionSet?_n(J.executeSelectionSet({selectionSet:me.selectionSet,objectOrReference:Mt,enclosingRef:(0,de.Yk)(Mt)?Mt:bt,context:It}),pn):(!1!==globalThis.__DEV__&&function ce(O,T,J){if(!T.selectionSet){var me=new Set([J]);me.forEach(function(pt){(0,Je.s)(pt)&&((0,Ve.kG)(!(0,de.Yk)(pt),10,function vt(O,T){return(0,de.Yk)(T)?O.get(T.__ref,"__typename"):T&&T.__typename}(O,pt),T.name.value),Object.values(pt).forEach(me.add,me))})}}(It.store,me,Mt),Mt)}),{result:It.canonizeResults?this.canon.admit(pt):pt,missing:qt}},O}();function jt(O){try{JSON.stringify(O,function(T,J){if("string"==typeof J)throw J;return J})}catch(T){return T}}var Ce=l(80396),Qe=l(69753),rt=l(56430),Nt=Object.create(null);function sn(O){var T=JSON.stringify(O);return Nt[T]||(Nt[T]=Object.create(null))}function On(O){var T=sn(O);return T.keyFieldsFn||(T.keyFieldsFn=function(J,me){var pt=function(It,qt){return me.readField(qt,It)},bt=me.keyObject=zn(O,function(It){var qt=gi(me.storeObject,It,pt);return void 0===qt&&J!==me.storeObject&&N.call(J,It[0])&&(qt=gi(J,It,mi)),(0,Ve.kG)(void 0!==qt,4,It.join("."),J),qt});return"".concat(me.typename,":").concat(JSON.stringify(bt))})}function Ln(O){var T=sn(O);return T.keyArgsFn||(T.keyArgsFn=function(J,me){var pt=me.field,bt=me.variables,It=me.fieldName,qt=zn(O,function(_n){var Mt=_n[0],pn=Mt.charAt(0);if("@"!==pn)if("$"!==pn){if(J)return gi(J,_n)}else{var ci=Mt.slice(1);if(bt&&N.call(bt,ci)){var ti=_n.slice(0);return ti[0]=ci,gi(bt,ti)}}else if(pt&&(0,he.O)(pt.directives)){var tn=Mt.slice(1),Vn=pt.directives.find(function(Di){return Di.name.value===tn}),Jn=Vn&&(0,de.NC)(Vn,bt);return Jn&&gi(Jn,_n.slice(1))}}),mn=JSON.stringify(qt);return(J||"{}"!==mn)&&(It+=":"+mn),It})}function zn(O,T){var J=new Ge.w0;return hi(O).reduce(function(me,pt){var bt,It=T(pt);if(void 0!==It){for(var qt=pt.length-1;qt>=0;--qt)(bt={})[pt[qt]]=It,It=bt;me=J.merge(me,It)}return me},Object.create(null))}function hi(O){var T=sn(O);if(!T.paths){var J=T.paths=[],me=[];O.forEach(function(pt,bt){(0,he.k)(pt)?(hi(pt).forEach(function(It){return J.push(me.concat(It))}),me.length=0):(me.push(pt),(0,he.k)(O[bt+1])||(J.push(me.slice(0)),me.length=0))})}return T.paths}function mi(O,T){return O[T]}function gi(O,T,J){return J=J||mi,ki(T.reduce(function me(pt,bt){return(0,he.k)(pt)?pt.map(function(It){return me(It,bt)}):pt&&J(pt,bt)},O))}function ki(O){return(0,Je.s)(O)?(0,he.k)(O)?O.map(ki):zn(Object.keys(O).sort(),function(T){return gi(O,T)}):O}function ji(O){return void 0!==O.args?O.args:O.field?(0,de.NC)(O.field,O.variables):null}var Ki=function(){},Ni=function(O,T){return T.fieldName},Kn=function(O,T,J){return(0,J.mergeObjects)(O,T)},vi=function(O,T){return T},Ai=function(){function O(T){this.config=T,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,ge.pi)({dataIdFromObject:Y},T),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),T.possibleTypes&&this.addPossibleTypes(T.possibleTypes),T.typePolicies&&this.addTypePolicies(T.typePolicies)}return O.prototype.identify=function(T,J){var me,pt=this,bt=J&&(J.typename||(null===(me=J.storeObject)||void 0===me?void 0:me.__typename))||T.__typename;if(bt===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var mn,It=J&&J.storeObject||T,qt=(0,ge.pi)((0,ge.pi)({},J),{typename:bt,storeObject:It,readField:J&&J.readField||function(){var tn=Xi(arguments,It);return pt.readField(tn,{store:pt.cache.data,variables:tn.variables})}}),_n=bt&&this.getTypePolicy(bt),Mt=_n&&_n.keyFn||this.config.dataIdFromObject;Mt;){var pn=Mt((0,ge.pi)((0,ge.pi)({},T),It),qt);if(!(0,he.k)(pn)){mn=pn;break}Mt=On(pn)}return mn=mn?String(mn):void 0,qt.keyObject?[mn,qt.keyObject]:[mn]},O.prototype.addTypePolicies=function(T){var J=this;Object.keys(T).forEach(function(me){var pt=T[me],bt=pt.queryType,It=pt.mutationType,qt=pt.subscriptionType,mn=(0,ge._T)(pt,["queryType","mutationType","subscriptionType"]);bt&&J.setRootTypename("Query",me),It&&J.setRootTypename("Mutation",me),qt&&J.setRootTypename("Subscription",me),N.call(J.toBeAdded,me)?J.toBeAdded[me].push(mn):J.toBeAdded[me]=[mn]})},O.prototype.updateTypePolicy=function(T,J){var me=this,pt=this.getTypePolicy(T),bt=J.keyFields,It=J.fields;function qt(mn,_n){mn.merge="function"==typeof _n?_n:!0===_n?Kn:!1===_n?vi:mn.merge}qt(pt,J.merge),pt.keyFn=!1===bt?Ki:(0,he.k)(bt)?On(bt):"function"==typeof bt?bt:pt.keyFn,It&&Object.keys(It).forEach(function(mn){var _n=me.getFieldPolicy(T,mn,!0),Mt=It[mn];if("function"==typeof Mt)_n.read=Mt;else{var pn=Mt.keyArgs,tn=Mt.read,Vn=Mt.merge;_n.keyFn=!1===pn?Ni:(0,he.k)(pn)?Ln(pn):"function"==typeof pn?pn:_n.keyFn,"function"==typeof tn&&(_n.read=tn),qt(_n,Vn)}_n.read&&_n.merge&&(_n.keyFn=_n.keyFn||Ni)})},O.prototype.setRootTypename=function(T,J){void 0===J&&(J=T);var me="ROOT_"+T.toUpperCase(),pt=this.rootTypenamesById[me];J!==pt&&((0,Ve.kG)(!pt||pt===T,5,T),pt&&delete this.rootIdsByTypename[pt],this.rootIdsByTypename[J]=me,this.rootTypenamesById[me]=J)},O.prototype.addPossibleTypes=function(T){var J=this;this.usingPossibleTypes=!0,Object.keys(T).forEach(function(me){J.getSupertypeSet(me,!0),T[me].forEach(function(pt){J.getSupertypeSet(pt,!0).add(me);var bt=pt.match(Vt);(!bt||bt[0]!==pt)&&J.fuzzySubtypes.set(pt,new RegExp(pt))})})},O.prototype.getTypePolicy=function(T){var J=this;if(!N.call(this.typePolicies,T)){var me=this.typePolicies[T]=Object.create(null);me.fields=Object.create(null);var pt=this.supertypeMap.get(T);!pt&&this.fuzzySubtypes.size&&(pt=this.getSupertypeSet(T,!0),this.fuzzySubtypes.forEach(function(It,qt){if(It.test(T)){var mn=J.supertypeMap.get(qt);mn&&mn.forEach(function(_n){return pt.add(_n)})}})),pt&&pt.size&&pt.forEach(function(It){var qt=J.getTypePolicy(It),mn=qt.fields,_n=(0,ge._T)(qt,["fields"]);Object.assign(me,_n),Object.assign(me.fields,mn)})}var bt=this.toBeAdded[T];return bt&&bt.length&&bt.splice(0).forEach(function(It){J.updateTypePolicy(T,It)}),this.typePolicies[T]},O.prototype.getFieldPolicy=function(T,J,me){if(T){var pt=this.getTypePolicy(T).fields;return pt[J]||me&&(pt[J]=Object.create(null))}},O.prototype.getSupertypeSet=function(T,J){var me=this.supertypeMap.get(T);return!me&&J&&this.supertypeMap.set(T,me=new Set),me},O.prototype.fragmentMatches=function(T,J,me,pt){var bt=this;if(!T.typeCondition)return!0;if(!J)return!1;var It=T.typeCondition.name.value;if(J===It)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(It))for(var qt=this.getSupertypeSet(J,!0),mn=[qt],_n=function(Jn){var ci=bt.getSupertypeSet(Jn,!1);ci&&ci.size&&mn.indexOf(ci)<0&&mn.push(ci)},Mt=!(!me||!this.fuzzySubtypes.size),pn=!1,tn=0;tn<mn.length;++tn){var Vn=mn[tn];if(Vn.has(It))return qt.has(It)||(pn&&!1!==globalThis.__DEV__&&Ve.kG.warn(6,J,It),qt.add(It)),!0;Vn.forEach(_n),Mt&&tn===mn.length-1&&hn(T.selectionSet,me,pt)&&(Mt=!1,pn=!0,this.fuzzySubtypes.forEach(function(Jn,ci){var ti=J.match(Jn);ti&&ti[0]===J&&_n(ci)}))}return!1},O.prototype.hasKeyArgs=function(T,J){var me=this.getFieldPolicy(T,J,!1);return!(!me||!me.keyFn)},O.prototype.getStoreFieldName=function(T){var bt,J=T.typename,me=T.fieldName,pt=this.getFieldPolicy(J,me,!1),It=pt&&pt.keyFn;if(It&&J)for(var qt={typename:J,fieldName:me,field:T.field||null,variables:T.variables},mn=ji(T);It;){var _n=It(mn,qt);if(!(0,he.k)(_n)){bt=_n||me;break}It=Ln(_n)}return void 0===bt&&(bt=T.field?(0,de.vf)(T.field,T.variables):(0,de.PT)(me,ji(T))),!1===bt?me:me===Jt(bt)?bt:me+":"+bt},O.prototype.readField=function(T,J){var me=T.from;if(me&&(T.field||T.fieldName)){if(void 0===T.typename){var bt=J.store.getFieldValue(me,"__typename");bt&&(T.typename=bt)}var It=this.getStoreFieldName(T),qt=Jt(It),mn=J.store.getFieldValue(me,It),_n=this.getFieldPolicy(T.typename,qt,!1),Mt=_n&&_n.read;if(Mt){var pn=Ji(this,me,T,J,J.store.getStorage((0,de.Yk)(me)?me.__ref:me,It));return rt.ab.withValue(this.cache,Mt,[mn,pn])}return mn}},O.prototype.getReadFunction=function(T,J){var me=this.getFieldPolicy(T,J,!1);return me&&me.read},O.prototype.getMergeFunction=function(T,J,me){var pt=this.getFieldPolicy(T,J,!1),bt=pt&&pt.merge;return!bt&&me&&(bt=(pt=this.getTypePolicy(me))&&pt.merge),bt},O.prototype.runMergeFunction=function(T,J,me,pt,bt){var It=me.field,qt=me.typename,mn=me.merge;return mn===Kn?Li(pt.store)(T,J):mn===vi?J:(pt.overwrite&&(T=void 0),mn(T,J,Ji(this,void 0,{typename:qt,fieldName:It.name.value,field:It,variables:pt.variables},pt,bt||Object.create(null))))},O}();function Ji(O,T,J,me,pt){var bt=O.getStoreFieldName(J),It=Jt(bt),qt=J.variables||me.variables,mn=me.store,_n=mn.toReference,Mt=mn.canRead;return{args:ji(J),field:J.field||null,fieldName:It,storeFieldName:bt,variables:qt,isReference:de.Yk,toReference:_n,storage:pt,cache:O.cache,canRead:Mt,readField:function(){return O.readField(Xi(arguments,T,qt),me)},mergeObjects:Li(me.store)}}function Xi(O,T,J){var It,me=O[0];return"string"==typeof me?It={fieldName:me,from:O.length>1?O[1]:T}:(It=(0,ge.pi)({},me),N.call(It,"from")||(It.from=T)),!1!==globalThis.__DEV__&&void 0===It.from&&!1!==globalThis.__DEV__&&Ve.kG.warn(7,(0,Qe.v)(Array.from(O))),void 0===It.variables&&(It.variables=J),It}function Li(O){return function(J,me){if((0,he.k)(J)||(0,he.k)(me))throw(0,Ve._K)(8);if((0,Je.s)(J)&&(0,Je.s)(me)){var pt=O.getFieldValue(J,"__typename"),bt=O.getFieldValue(me,"__typename");if(pt&&bt&&pt!==bt)return me;if((0,de.Yk)(J)&&gn(me))return O.merge(J.__ref,me),J;if(gn(J)&&(0,de.Yk)(me))return O.merge(J,me.__ref),me;if(gn(J)&&gn(me))return(0,ge.pi)((0,ge.pi)({},J),me)}return me}}function cn(O,T,J){var me="".concat(T).concat(J),pt=O.flavors.get(me);return pt||O.flavors.set(me,pt=O.clientOnly===T&&O.deferred===J?O:(0,ge.pi)((0,ge.pi)({},O),{clientOnly:T,deferred:J})),pt}var qn=function(){function O(T,J,me){this.cache=T,this.reader=J,this.fragments=me}return O.prototype.writeToStore=function(T,J){var me=this,pt=J.query,bt=J.result,It=J.dataId,qt=J.variables,mn=J.overwrite,_n=(0,gt.$H)(pt),Mt=function yn(){return new Ge.w0}();qt=(0,ge.pi)((0,ge.pi)({},(0,gt.O4)(_n)),qt);var pn=(0,ge.pi)((0,ge.pi)({store:T,written:Object.create(null),merge:function(Vn,Jn){return Mt.merge(Vn,Jn)},variables:qt,varString:(0,He.B)(qt)},An(pt,this.fragments)),{overwrite:!!mn,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),tn=this.processSelectionSet({result:bt||Object.create(null),dataId:It,selectionSet:_n.selectionSet,mergeTree:{map:new Map},context:pn});if(!(0,de.Yk)(tn))throw(0,Ve._K)(11,bt);return pn.incomingById.forEach(function(Vn,Jn){var ci=Vn.storeObject,ti=Vn.mergeTree,Di=Vn.fieldNodeSet,Ci=(0,de.kQ)(Jn);if(ti&&ti.map.size){var li=me.applyMerges(ti,Ci,ci,pn);if((0,de.Yk)(li))return;ci=li}if(!1!==globalThis.__DEV__&&!pn.overwrite){var $i=Object.create(null);Di.forEach(function(ar){ar.selectionSet&&($i[ar.name.value]=!0)}),Object.keys(ci).forEach(function(ar){(function(ar){return!0===$i[Jt(ar)]})(ar)&&!function(ar){var ur=ti&&ti.map.get(ar);return Boolean(ur&&ur.info&&ur.info.merge)}(ar)&&function Yi(O,T,J,me){var pt=function(pn){var tn=me.getFieldValue(pn,J);return"object"==typeof tn&&tn},bt=pt(O);if(bt){var It=pt(T);if(It&&!(0,de.Yk)(bt)&&!(0,Be.D)(bt,It)&&!Object.keys(bt).every(function(pn){return void 0!==me.getFieldValue(It,pn)})){var qt=me.getFieldValue(O,"__typename")||me.getFieldValue(T,"__typename"),mn=Jt(J),_n="".concat(qt,".").concat(mn);if(!ir.has(_n)){ir.add(_n);var Mt=[];!(0,he.k)(bt)&&!(0,he.k)(It)&&[bt,It].forEach(function(pn){var tn=me.getFieldValue(pn,"__typename");"string"==typeof tn&&!Mt.includes(tn)&&Mt.push(tn)}),!1!==globalThis.__DEV__&&Ve.kG.warn(14,mn,qt,Mt.length?"either ensure all objects of type "+Mt.join(" and ")+" have an ID or a custom merge function, or ":"",_n,(0,ge.pi)({},bt),(0,ge.pi)({},It))}}}}(Ci,ci,ar,pn.store)})}T.merge(Jn,ci)}),T.retain(tn.__ref),tn},O.prototype.processSelectionSet=function(T){var J=this,me=T.dataId,pt=T.result,bt=T.selectionSet,It=T.context,qt=T.mergeTree,mn=this.cache.policies,_n=Object.create(null),Mt=me&&mn.rootTypenamesById[me]||(0,de.qw)(pt,bt,It.fragmentMap)||me&&It.store.get(me,"__typename");"string"==typeof Mt&&(_n.__typename=Mt);var pn=function(){var li=Xi(arguments,_n,It.variables);if((0,de.Yk)(li.from)){var $i=It.incomingById.get(li.from.__ref);if($i){var Gi=mn.readField((0,ge.pi)((0,ge.pi)({},li),{from:$i.storeObject}),It);if(void 0!==Gi)return Gi}}return mn.readField(li,It)},tn=new Set;this.flattenFields(bt,pt,It,Mt).forEach(function(li,$i){var Gi,cr=(0,de.u2)($i),ar=pt[cr];if(tn.add($i),void 0!==ar){var ur=mn.getStoreFieldName({typename:Mt,fieldName:$i.name.value,field:$i,variables:li.variables}),Pr=fi(qt,ur),Ur=J.processFieldValue(ar,$i,$i.selectionSet?cn(li,!1,!1):li,Pr),as=void 0;$i.selectionSet&&((0,de.Yk)(Ur)||gn(Ur))&&(as=pn("__typename",Ur));var er=mn.getMergeFunction(Mt,$i.name.value,as);er?Pr.info={field:$i,typename:Mt,merge:er}:Bi(qt,ur),_n=li.merge(_n,((Gi={})[ur]=Ur,Gi))}else!1!==globalThis.__DEV__&&!li.clientOnly&&!li.deferred&&!pe.Gw.added($i)&&!mn.getReadFunction(Mt,$i.name.value)&&!1!==globalThis.__DEV__&&Ve.kG.error(12,(0,de.u2)($i),pt)});try{var Vn=mn.identify(pt,{typename:Mt,selectionSet:bt,fragmentMap:It.fragmentMap,storeObject:_n,readField:pn}),ci=Vn[1];me=me||Vn[0],ci&&(_n=It.merge(_n,ci))}catch(li){if(!me)throw li}if("string"==typeof me){var ti=(0,de.kQ)(me),Di=It.written[me]||(It.written[me]=[]);if(Di.indexOf(bt)>=0||(Di.push(bt),this.reader&&this.reader.isFresh(pt,ti,bt,It)))return ti;var Ci=It.incomingById.get(me);return Ci?(Ci.storeObject=It.merge(Ci.storeObject,_n),Ci.mergeTree=oi(Ci.mergeTree,qt),tn.forEach(function(li){return Ci.fieldNodeSet.add(li)})):It.incomingById.set(me,{storeObject:_n,mergeTree:Xn(qt)?void 0:qt,fieldNodeSet:tn}),ti}return _n},O.prototype.processFieldValue=function(T,J,me,pt){var bt=this;return J.selectionSet&&null!==T?(0,he.k)(T)?T.map(function(It,qt){var mn=bt.processFieldValue(It,J,me,fi(pt,qt));return Bi(pt,qt),mn}):this.processSelectionSet({result:T,selectionSet:J.selectionSet,context:me,mergeTree:pt}):!1!==globalThis.__DEV__?(0,Ce.X)(T):T},O.prototype.flattenFields=function(T,J,me,pt){void 0===pt&&(pt=(0,de.qw)(J,T,me.fragmentMap));var bt=new Map,It=this.cache.policies,qt=new xe.B(!1);return function mn(_n,Mt){var pn=qt.lookup(_n,Mt.clientOnly,Mt.deferred);pn.visited||(pn.visited=!0,_n.selections.forEach(function(tn){if((0,yt.LZ)(tn,me.variables)){var Vn=Mt.clientOnly,Jn=Mt.deferred;if(!(Vn&&Jn)&&(0,he.O)(tn.directives)&&tn.directives.forEach(function(Di){var Ci=Di.name.value;if("client"===Ci&&(Vn=!0),"defer"===Ci){var li=(0,de.NC)(Di,me.variables);(!li||!1!==li.if)&&(Jn=!0)}}),(0,de.My)(tn)){var ci=bt.get(tn);ci&&(Vn=Vn&&ci.clientOnly,Jn=Jn&&ci.deferred),bt.set(tn,cn(me,Vn,Jn))}else{var ti=(0,Ee.hi)(tn,me.lookupFragment);if(!ti&&tn.kind===lt.h.FRAGMENT_SPREAD)throw(0,Ve._K)(13,tn.name.value);ti&&It.fragmentMatches(ti,pt,J,me.variables)&&mn(ti.selectionSet,cn(me,Vn,Jn))}}}))}(T,me),bt},O.prototype.applyMerges=function(T,J,me,pt,bt){var It,qt=this;if(T.map.size&&!(0,de.Yk)(me)){var mn=(0,he.k)(me)||!(0,de.Yk)(J)&&!gn(J)?void 0:J,_n=me;mn&&!bt&&(bt=[(0,de.Yk)(mn)?mn.__ref:mn]);var Mt,pn=function(tn,Vn){return(0,he.k)(tn)?"number"==typeof Vn?tn[Vn]:void 0:pt.store.getFieldValue(tn,String(Vn))};T.map.forEach(function(tn,Vn){var Jn=pn(mn,Vn),ci=pn(_n,Vn);if(void 0!==ci){bt&&bt.push(Vn);var ti=qt.applyMerges(tn,Jn,ci,pt,bt);ti!==ci&&(Mt=Mt||new Map).set(Vn,ti),bt&&(0,Ve.kG)(bt.pop()===Vn)}}),Mt&&(me=(0,he.k)(_n)?_n.slice(0):(0,ge.pi)({},_n),Mt.forEach(function(tn,Vn){me[Vn]=tn}))}return T.info?this.cache.policies.runMergeFunction(J,me,T.info,pt,bt&&(It=pt.store).getStorage.apply(It,bt)):me},O}(),Qn=[];function fi(O,T){var J=O.map;return J.has(T)||J.set(T,Qn.pop()||{map:new Map}),J.get(T)}function oi(O,T){if(O===T||!T||Xn(T))return O;if(!O||Xn(O))return T;var J=O.info&&T.info?(0,ge.pi)((0,ge.pi)({},O.info),T.info):O.info||T.info,me=O.map.size&&T.map.size,bt={info:J,map:me?new Map:O.map.size?O.map:T.map};if(me){var It=new Set(T.map.keys());O.map.forEach(function(qt,mn){bt.map.set(mn,oi(qt,T.map.get(mn))),It.delete(mn)}),It.forEach(function(qt){bt.map.set(qt,oi(T.map.get(qt),O.map.get(qt)))})}return bt}function Xn(O){return!O||!(O.info||O.map.size)}function Bi(O,T){var J=O.map,me=J.get(T);me&&Xn(me)&&(Qn.push(me),J.delete(T))}var ir=new Set,Ti=function(O){function T(J){void 0===J&&(J={});var me=O.call(this)||this;return me.watches=new Set,me.addTypenameTransform=new fe.A(pe.Gw),me.assumeImmutableResults=!0,me.makeVar=rt.QS,me.txCount=0,me.config=function Oe(O){return(0,Qt.o)(re,O)}(J),me.addTypename=!!me.config.addTypename,me.policies=new Ai({cache:me,dataIdFromObject:me.config.dataIdFromObject,possibleTypes:me.config.possibleTypes,typePolicies:me.config.typePolicies}),me.init(),me}return(0,ge.ZT)(T,O),T.prototype.init=function(){var J=this.data=new Wn.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=J.stump,this.resetResultCache()},T.prototype.resetResultCache=function(J){var me=this,pt=this.storeReader,bt=this.config.fragments;this.storeWriter=new qn(this,this.storeReader=new dn({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Ye(this.config),canon:J?void 0:pt&&pt.canon,fragments:bt}),bt),this.maybeBroadcastWatch=(0,$e.re)(function(It,qt){return me.broadcastWatch(It,qt)},{max:this.config.resultCacheMaxSize||Ie.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(It){var qt=It.optimistic?me.optimisticData:me.data;if(_t(qt))return qt.makeCacheKey(It.query,It.callback,(0,He.B)({optimistic:It.optimistic,id:It.id,variables:It.variables}))}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(It){return It.resetCaching()})},T.prototype.restore=function(J){return this.init(),J&&this.data.replace(J),this},T.prototype.extract=function(J){return void 0===J&&(J=!1),(J?this.optimisticData:this.data).extract()},T.prototype.read=function(J){var me=J.returnPartialData,pt=void 0!==me&&me;try{return this.storeReader.diffQueryAgainstStore((0,ge.pi)((0,ge.pi)({},J),{store:J.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:pt})).result||null}catch(bt){if(bt instanceof U)return null;throw bt}},T.prototype.write=function(J){try{return++this.txCount,this.storeWriter.writeToStore(this.data,J)}finally{!--this.txCount&&!1!==J.broadcast&&this.broadcastWatches()}},T.prototype.modify=function(J){if(N.call(J,"id")&&!J.id)return!1;var me=J.optimistic?this.optimisticData:this.data;try{return++this.txCount,me.modify(J.id||"ROOT_QUERY",J.fields)}finally{!--this.txCount&&!1!==J.broadcast&&this.broadcastWatches()}},T.prototype.diff=function(J){return this.storeReader.diffQueryAgainstStore((0,ge.pi)((0,ge.pi)({},J),{store:J.optimistic?this.optimisticData:this.data,rootId:J.id||"ROOT_QUERY",config:this.config}))},T.prototype.watch=function(J){var me=this;return this.watches.size||(0,rt._v)(this),this.watches.add(J),J.immediate&&this.maybeBroadcastWatch(J),function(){me.watches.delete(J)&&!me.watches.size&&(0,rt.li)(me),me.maybeBroadcastWatch.forget(J)}},T.prototype.gc=function(J){var me;He.B.reset(),et.S.reset(),this.addTypenameTransform.resetCache(),null===(me=this.config.fragments)||void 0===me||me.resetCaches();var pt=this.optimisticData.gc();return J&&!this.txCount&&(J.resetResultCache?this.resetResultCache(J.resetResultIdentities):J.resetResultIdentities&&this.storeReader.resetCanon()),pt},T.prototype.retain=function(J,me){return(me?this.optimisticData:this.data).retain(J)},T.prototype.release=function(J,me){return(me?this.optimisticData:this.data).release(J)},T.prototype.identify=function(J){if((0,de.Yk)(J))return J.__ref;try{return this.policies.identify(J)[0]}catch(me){!1!==globalThis.__DEV__&&Ve.kG.warn(me)}},T.prototype.evict=function(J){if(!J.id){if(N.call(J,"id"))return!1;J=(0,ge.pi)((0,ge.pi)({},J),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(J,this.data)}finally{!--this.txCount&&!1!==J.broadcast&&this.broadcastWatches()}},T.prototype.reset=function(J){var me=this;return this.init(),He.B.reset(),J&&J.discardWatches?(this.watches.forEach(function(pt){return me.maybeBroadcastWatch.forget(pt)}),this.watches.clear(),(0,rt.li)(this)):this.broadcastWatches(),Promise.resolve()},T.prototype.removeOptimistic=function(J){var me=this.optimisticData.removeLayer(J);me!==this.optimisticData&&(this.optimisticData=me,this.broadcastWatches())},T.prototype.batch=function(J){var _n,me=this,pt=J.update,bt=J.optimistic,It=void 0===bt||bt,qt=J.removeOptimistic,mn=J.onWatchUpdated,Mt=function(tn){var Jn=me.data,ci=me.optimisticData;++me.txCount,tn&&(me.data=me.optimisticData=tn);try{return _n=pt(me)}finally{--me.txCount,me.data=Jn,me.optimisticData=ci}},pn=new Set;return mn&&!this.txCount&&this.broadcastWatches((0,ge.pi)((0,ge.pi)({},J),{onWatchUpdated:function(tn){return pn.add(tn),!1}})),"string"==typeof It?this.optimisticData=this.optimisticData.addLayer(It,Mt):!1===It?Mt(this.data):Mt(),"string"==typeof qt&&(this.optimisticData=this.optimisticData.removeLayer(qt)),mn&&pn.size?(this.broadcastWatches((0,ge.pi)((0,ge.pi)({},J),{onWatchUpdated:function(tn,Vn){var Jn=mn.call(this,tn,Vn);return!1!==Jn&&pn.delete(tn),Jn}})),pn.size&&pn.forEach(function(tn){return me.maybeBroadcastWatch.dirty(tn)})):this.broadcastWatches(J),_n},T.prototype.performTransaction=function(J,me){return this.batch({update:J,optimistic:me||null!==me})},T.prototype.transformDocument=function(J){return this.addTypenameToDocument(this.addFragmentsToDocument(J))},T.prototype.broadcastWatches=function(J){var me=this;this.txCount||this.watches.forEach(function(pt){return me.maybeBroadcastWatch(pt,J)})},T.prototype.addFragmentsToDocument=function(J){var me=this.config.fragments;return me?me.transform(J):J},T.prototype.addTypenameToDocument=function(J){return this.addTypename?this.addTypenameTransform.transformDocument(J):J},T.prototype.broadcastWatch=function(J,me){var pt=J.lastDiff,bt=this.diff(J);me&&(J.optimistic&&"string"==typeof me.optimistic&&(bt.fromOptimisticTransaction=!0),me.onWatchUpdated&&!1===me.onWatchUpdated.call(this,J,bt,pt))||(!pt||!(0,Be.D)(pt.result,bt.result))&&J.callback(J.lastDiff=bt,pt)},T}(V);!1!==globalThis.__DEV__&&(Ti.prototype.getMemoryInternals=Se.q4);var nn=l(40484);function Zt(O){return new nn.i(function(T,J){return new Re.y(function(me){var pt,bt,It;try{pt=J(T).subscribe({next:function(qt){qt.errors&&(It=O({graphQLErrors:qt.errors,response:qt,operation:T,forward:J}))?bt=It.subscribe({next:me.next.bind(me),error:me.error.bind(me),complete:me.complete.bind(me)}):me.next(qt)},error:function(qt){(It=O({operation:T,networkError:qt,graphQLErrors:qt&&qt.result&&qt.result.errors||void 0,forward:J}))?bt=It.subscribe({next:me.next.bind(me),error:me.error.bind(me),complete:me.complete.bind(me)}):me.error(qt)},complete:function(){It||me.complete.bind(me)()}})}catch(qt){O({networkError:qt,operation:T,forward:J}),me.error(qt)}return function(){pt&&pt.unsubscribe(),bt&&pt.unsubscribe()}})})}!function(O){function T(J){var me=O.call(this)||this;return me.link=Zt(J),me}(0,ge.ZT)(T,O),T.prototype.request=function(J,me){return this.link.request(J,me)}}(nn.i);var Et=l(1828),Ke=l(35931),Lt=l(94989),ut=l(20843),Un=l.n(ut),Ft=l(32916);class Ne extends nn.i{constructor(T,J){super(),this.httpClient=T,this.options=J,this.print=Lt.S,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=me=>new Re.y(pt=>{const bt=me.getContext(),It=(ti,Di)=>function Bt(...O){const T=O.find(J=>void 0!==J);return void 0===T?O[O.length-1]:T}(bt[ti],this.options[ti],Di),qt=It("includeQuery",!0),mn=It("includeExtensions",!1),_n=It("method","POST"),Mt=It("uri","graphql"),pn=It("withCredentials"),tn=It("useMultipart"),Vn={method:_n,url:"function"==typeof Mt?Mt(me):Mt,body:{operationName:me.operationName,variables:me.variables},options:{withCredentials:pn,useMultipart:tn,headers:this.options.headers}};mn&&(Vn.body.extensions=me.extensions),qt&&(Vn.body.query=this.print(me.query));const Jn=function vn(O){let T=O.headers&&O.headers instanceof k.WM?O.headers:new k.WM(O.headers);if(O.clientAwareness){const{name:J,version:me}=O.clientAwareness;J&&!T.has("apollographql-client-name")&&(T=T.set("apollographql-client-name",J)),me&&!T.has("apollographql-client-version")&&(T=T.set("apollographql-client-version",me))}return T}(bt);Vn.options.headers=((O,T)=>O&&T?T.keys().reduce((me,pt)=>me.set(pt,T.getAll(pt)),O):T||O)(Vn.options.headers,Jn);const ci=((O,T,J)=>{const me=-1!==["POST","PUT","PATCH"].indexOf(O.method.toUpperCase()),bt=O.body.length;let qt,It=O.options&&O.options.useMultipart;if(It){if(bt)return new Ft.y(_n=>_n.error(new Error("File upload is not available when combined with Batching")));if(!me)return new Ft.y(_n=>_n.error(new Error("File upload is not available when GET is used")));qt=J(O.body),It=!!qt.files.size}let mn={};if(bt){if(!me)return new Ft.y(_n=>_n.error(new Error("Batching is not available for GET requests")));mn={body:O.body}}else{const _n=It?qt.clone:O.body;mn=me?{body:_n}:{params:Object.keys(O.body).reduce((pn,tn)=>{const Vn=O.body[tn];return pn[tn]=(_n=>-1!==["variables","extensions"].indexOf(_n.toLowerCase()))(tn)?JSON.stringify(Vn):Vn,pn},{})}}if(It&&me){const _n=new FormData;_n.append("operations",JSON.stringify(mn.body));const Mt={},pn=qt.files;let tn=0;pn.forEach(Vn=>{Mt[++tn]=Vn}),_n.append("map",JSON.stringify(Mt)),tn=0,pn.forEach((Vn,Jn)=>{_n.append(++tn+"",Jn,Jn.name)}),mn.body=_n}return T.request(O.method,O.url,Object.assign(Object.assign({observe:"response",responseType:"json",reportProgress:!1},mn),O.options))})(Vn,this.httpClient,Un()).subscribe({next:ti=>{me.setContext({response:ti}),pt.next(ti.body)},error:ti=>pt.error(ti),complete:()=>pt.complete()});return()=>{ci.closed||ci.unsubscribe()}})}request(T){return this.requester(T)}}let ve=(()=>{class O{constructor(J){this.httpClient=J}create(J){return new Ne(this.httpClient,J)}}return O.\u0275fac=function(J){return new(J||O)(v.LFG(k.eN))},O.\u0275prov=v.Yz7({factory:function(){return new O(v.LFG(k.eN))},token:O,providedIn:"root"}),O})();const Fe=(0,R.Cb)("apollo.state");let ne=(()=>{class O{constructor(J,me,pt,bt,It){this.apollo=J,this.transferState=me,this.httpLink=pt,this.errorHandler=bt,this.cache=new Ti({possibleTypes:It.possibleTypes,typePolicies:It.typePolicies}),this.link=this.httpLink.create({uri:It.graphqlUri}),this.errorLink=Zt(({graphQLErrors:mn})=>{mn&&mn.forEach(_n=>{this.errorHandler.handleError(_n)})}),this.apollo.create({link:nn.i.from([this.errorLink,this.link]),cache:this.cache,ssrMode:It.ssrMode,defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",errorPolicy:"all"},query:{fetchPolicy:"network-only",errorPolicy:"all"}}}),this.transferState.hasKey(Fe)?this.onBrowser():this.onServer()}onServer(){this.transferState.onSerialize(Fe,()=>this.cache.extract())}onBrowser(){const J=this.transferState.get(Fe,null);this.cache.restore(J)}}return O.\u0275fac=function(J){return new(J||O)(v.LFG(Ke._M),v.LFG(R.ki),v.LFG(ve),v.LFG(v.qLn),v.LFG(Et.c))},O.\u0275mod=v.oAB({type:O}),O.\u0275inj=v.cJS({imports:[$,k.JF]}),O})();var Me=l(5652),Wt=(l(82906),l(3931),l(98340));function _e(O){let T=O.length,J=O[0];for(;T--;)O[T]<J&&(J=O[T]);return J}var je=l(85368);function E(){if("undefined"==typeof document)return je.hW.Png;const O=document.createElement("canvas");return void 0===O.getContext?je.hW.Png:O.getContext&&O.getContext("2d")&&0==O.toDataURL("image/webp").indexOf("data:image/webp")?je.hW.Webp:je.hW.Png}function te(O){let T;try{T=new URL(O)}catch(J){return!1}return"http:"===T.protocol||"https:"===T.protocol}},36477:(ze,G,l)=>{"use strict";l.d(G,{Ji:()=>d});var a=l(41777);function d(v,b="400ms ease-out"){return[(0,a.eR)("* => *",[(0,a.IO)(v,[(0,a.oB)({opacity:0,transform:"translateY(-5px)"}),(0,a.EY)("50ms",[(0,a.jt)(b,(0,a.oB)({opacity:1,transform:"translateY(0px)"}))])],{optional:!0})])]}(0,a.oQ)([(0,a.oB)({opacity:"{{ from }}"}),(0,a.jt)("{{ time }}",(0,a.oB)({opacity:"{{ to }}"}))],{params:{time:"0.2s"}})},83918:(ze,G,l)=>{"use strict";l.d(G,{Ag:()=>i,or:()=>d,CN:()=>p,mz:()=>f,oA:()=>C,hF:()=>b,J6:()=>v.J});var a=l(5e3);let i=(()=>{class R{constructor(){this.items=[{value:"request_reserved",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-reserved:request_reserved`},{value:"request_booked",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-booked:request_booked`},{value:"request_updated",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-updated:request_updated`},{value:"request_canceled",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-canceled:request_canceled`},{value:"request_paid",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-paid:request_paid`},{value:"request_refunded",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-refunded:request_refunded`},{value:"request_custom_notification",label:$localize`:value of constant email template kinds@@constant-email-template-kind-request-custom-notification:request_custom_notification`},{value:"invoice_created",label:$localize`:value of constant email template kinds@@constant-email-template-kind-invoice-created:invoice_created`},{value:"user_password_reset_instructions",label:$localize`:value of constant email template kinds@@constant-email-template-kind-user-password-reset-instructions:user_password_reset_instructions`},{value:"contact_password_reset_instructions",label:$localize`:value of constant email template kinds@@constant-email-template-kind-contact-password-reset-instructions:contact_password_reset_instructions`},{value:"contact_email_confirmation_instructions",label:$localize`:value of constant email template kinds@@constant-email-template-kind-contact-email-confirmation-instructions:contact_email_confirmation_instructions`},{value:"resource_requirement_inquiry",label:$localize`:value of constant email template kinds@@constant-email-template-kind-resource-requirement-inquiry:resource_requirement_inquiry`},{value:"resource_requirement_inquiry_accepted",label:$localize`:value of constant email template kinds@@constant-email-template-kind-resource-requirement-inquiry-accepted:resource_requirement_inquiry_accepted`},{value:"resource_requirement_inquiry_rejected",label:$localize`:value of constant email template kinds@@constant-email-template-kind-resource-requirement-inquiry-rejected:resource_requirement_inquiry_rejected`},{value:"resource_requirement_inquiry_canceled",label:$localize`:value of constant email template kinds@@constant-email-template-kind-resource-requirement-inquiry-canceled:resource_requirement_inquiry_canceled`},{value:"invitation_created",label:$localize`:value of constant email template kinds@@constant-email-template-kind-invitation-created:invitation_created`},{value:"resource_requirement_allocated",label:$localize`:value of constant email template kinds@@constant-email-template-kind-resource-requirement-allocated:resource_requirement_allocated`},{value:"resource_requirement_deallocated",label:$localize`:value of constant email template kinds@@constant-email-template-kind-resource-requirement-deallocated:resource_requirement_deallocated`}]}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=a.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),d=(()=>{class R{constructor(){this.items=[{value:"requires_payment",label:$localize`:value of constant invoice payment states@@constant-invoice-payment-state-requires-payment:requires_payment`},{value:"requires_refund",label:$localize`:value of constant invoice payment states@@constant-invoice-payment-state-requires-refund:requires_refund`},{value:"refunded",label:$localize`:value of constant invoice payment states@@constant-invoice-payment-state-refunded:refunded`},{value:"paid",label:$localize`:value of constant invoice payment states@@constant-invoice-payment-state-paid:paid`}]}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=a.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),p=(()=>{class R{constructor(){this.items=[{value:"individual",label:$localize`:value of constant pricing kinds@@constant-pricing-kind-individual:individual`},{value:"group",label:$localize`:value of constant pricing kinds@@constant-pricing-kind-group:group`}]}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=a.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),C=(()=>{class R{constructor(){this.items=[{value:"requested",label:$localize`:value of constant request states@@constant-request-state-requested:requested`},{value:"reserved",label:$localize`:value of constant request states@@constant-request-state-reserved:reserved`},{value:"booked",label:$localize`:value of constant request states@@constant-request-state-booked:booked`},{value:"canceled",label:$localize`:value of constant request states@@constant-request-state-canceled:canceled`}]}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=a.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),f=(()=>{class R{constructor(){this.items=[{value:"invoice",label:$localize`:value of constant request payment methods@@constant-request-payment-method-invoice:invoice`},{value:"collective_invoice",label:$localize`:value of constant request payment methods@@constant-request-payment-method-collective-invoice:collective_invoice`},{value:"on_site",label:$localize`:value of constant request payment methods@@constant-request-payment-method-on-site:on_site`},{value:"service_provider",label:$localize`:value of constant request payment methods@@constant-request-payment-method-service-provider:service_provider`}]}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=a.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();var v=l(92046);let b=(()=>{class R{constructor(){this.items=[{value:"none",label:$localize`:value of constant shipping states@@constant-shipping-state-none:none`},{value:"requires_shipping",label:$localize`:value of constant shipping states@@constant-shipping-state-requires-shipping:requires_shipping`},{value:"shipped",label:$localize`:value of constant shipping states@@constant-shipping-state-shipped:shipped`}]}}return R.\u0275fac=function(w){return new(w||R)},R.\u0275prov=a.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();Array.from(Array(24).keys(),R=>({value:R,label:R<10?`0${R}`:`${R}`})),Array.from(Array(12).keys(),R=>{const x=5*R;return{value:x,label:x<10?`0${x}`:`${x}`}}),l(54331),l(5652)},92046:(ze,G,l)=>{"use strict";l.d(G,{J:()=>a});const a={m:$localize`:short value of constant time units@@constant-r-rule-time-units-m:m`,minute:$localize`:value of constant time units@@constant-r-rule-time-units-minute:minute`,minutes:$localize`:value of constant time units@@constant-r-rule-time-units-minutes:minutes`,h:$localize`:short value of constant time units@@constant-r-rule-time-units-h:h`,hour:$localize`:value of constant time units@@constant-r-rule-time-units-hour:hour`,hours:$localize`:value of constant time units@@constant-r-rule-time-units-hours:hours`,d:$localize`:short value of constant time units@@constant-r-rule-time-units-d:d`,day:$localize`:value of constant time units@@constant-r-rule-time-units-day:day`,days:$localize`:value of constant time units@@constant-r-rule-time-units-days:days`}},98340:(ze,G,l)=>{"use strict";l.d(G,{KR:()=>ir,mR:()=>Ti});var a=l(90508),i=l(47910),d=l(35650),p=l(80953),C=l(91998),f=l(40833),v=l(58370),m=l(85866),D=l(79558);function A(nn){(0,f.Z)(1,arguments);var Zt=(0,p.Z)(nn),Ct=Zt.getFullYear(),Et=Zt.getMonth(),Ke=new Date(0);return Ke.setFullYear(Ct,Et+1,0),Ke.setHours(0,0,0,0),Ke.getDate()}var R=l(63369),x=l(86);function w(nn,Zt){(null==Zt||Zt>nn.length)&&(Zt=nn.length);for(var Ct=0,Et=Array(Zt);Ct<Zt;Ct++)Et[Ct]=nn[Ct];return Et}function H(nn,Zt){var Ct="undefined"!=typeof Symbol&&nn[Symbol.iterator]||nn["@@iterator"];if(!Ct){if(Array.isArray(nn)||(Ct=function k(nn,Zt){if(nn){if("string"==typeof nn)return w(nn,Zt);var Ct={}.toString.call(nn).slice(8,-1);return"Object"===Ct&&nn.constructor&&(Ct=nn.constructor.name),"Map"===Ct||"Set"===Ct?Array.from(nn):"Arguments"===Ct||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ct)?w(nn,Zt):void 0}}(nn))||Zt&&nn&&"number"==typeof nn.length){Ct&&(nn=Ct);var Et=0,Ke=function(){};return{s:Ke,n:function(){return Et>=nn.length?{done:!0}:{done:!1,value:nn[Et++]}},e:function(En){throw En},f:Ke}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Lt,ut=!0,Un=!1;return{s:function(){Ct=Ct.call(nn)},n:function(){var En=Ct.next();return ut=En.done,En},e:function(En){Un=!0,Lt=En},f:function(){try{ut||null==Ct.return||Ct.return()}finally{if(Un)throw Lt}}}}var j=l(48293),z=l(52725),le=l(71665),oe=l(61889),$=l(9868),y=l(72621);function ae(nn){if(void 0===nn)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nn}function ge(nn,Zt){return(ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ct,Et){return Ct.__proto__=Et,Ct})(nn,Zt)}function Ve(nn,Zt){if("function"!=typeof Zt&&null!==Zt)throw new TypeError("Super expression must either be null or a function");nn.prototype=Object.create(Zt&&Zt.prototype,{constructor:{value:nn,writable:!0,configurable:!0}}),Object.defineProperty(nn,"prototype",{writable:!1}),Zt&&ge(nn,Zt)}function $e(nn){return($e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Zt){return Zt.__proto__||Object.getPrototypeOf(Zt)})(nn)}function Be(){try{var nn=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(Zt){}return(Be=function(){return!!nn})()}function Ee(nn,Zt){if(Zt&&("object"==(0,x.Z)(Zt)||"function"==typeof Zt))return Zt;if(void 0!==Zt)throw new TypeError("Derived constructors may only return object or undefined");return ae(nn)}function Ie(nn){var Zt=Be();return function(){var Ct,Et=$e(nn);if(Zt){var Ke=$e(this).constructor;Ct=Reflect.construct(Et,arguments,Ke)}else Ct=Et.apply(this,arguments);return Ee(this,Ct)}}function Re(nn,Zt){if(!(nn instanceof Zt))throw new TypeError("Cannot call a class as a function")}function it(nn){var Zt=function Ge(nn,Zt){if("object"!=(0,x.Z)(nn)||!nn)return nn;var Ct=nn[Symbol.toPrimitive];if(void 0!==Ct){var Et=Ct.call(nn,Zt||"default");if("object"!=(0,x.Z)(Et))return Et;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Zt?String:Number)(nn)}(nn,"string");return"symbol"==(0,x.Z)(Zt)?Zt:Zt+""}function Se(nn,Zt){for(var Ct=0;Ct<Zt.length;Ct++){var Et=Zt[Ct];Et.enumerable=Et.enumerable||!1,Et.configurable=!0,"value"in Et&&(Et.writable=!0),Object.defineProperty(nn,it(Et.key),Et)}}function Z(nn,Zt,Ct){return Zt&&Se(nn.prototype,Zt),Ct&&Se(nn,Ct),Object.defineProperty(nn,"prototype",{writable:!1}),nn}function V(nn,Zt,Ct){return(Zt=it(Zt))in nn?Object.defineProperty(nn,Zt,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):nn[Zt]=Ct,nn}var fe=function(){function nn(){Re(this,nn),V(this,"priority",void 0),V(this,"subPriority",0)}return Z(nn,[{key:"validate",value:function(Ct,Et){return!0}}]),nn}(),pe=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(Et,Ke,Lt,ut,Un){var Ft;return Re(this,Ct),(Ft=Zt.call(this)).value=Et,Ft.validateValue=Ke,Ft.setValue=Lt,Ft.priority=ut,Un&&(Ft.subPriority=Un),Ft}return Z(Ct,[{key:"validate",value:function(Ke,Lt){return this.validateValue(Ke,this.value,Lt)}},{key:"set",value:function(Ke,Lt,ut){return this.setValue(Ke,Lt,this.value,ut)}}]),Ct}(fe),He=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",10),V(ae(Et),"subPriority",-1),Et}return Z(Ct,[{key:"set",value:function(Ke,Lt){if(Lt.timestampIsSet)return Ke;var ut=new Date(0);return ut.setFullYear(Ke.getUTCFullYear(),Ke.getUTCMonth(),Ke.getUTCDate()),ut.setHours(Ke.getUTCHours(),Ke.getUTCMinutes(),Ke.getUTCSeconds(),Ke.getUTCMilliseconds()),ut}}]),Ct}(fe),et=function(){function nn(){Re(this,nn),V(this,"incompatibleTokens",void 0),V(this,"priority",void 0),V(this,"subPriority",void 0)}return Z(nn,[{key:"run",value:function(Ct,Et,Ke,Lt){var ut=this.parse(Ct,Et,Ke,Lt);return ut?{setter:new pe(ut.value,this.validate,this.set,this.priority,this.subPriority),rest:ut.rest}:null}},{key:"validate",value:function(Ct,Et,Ke){return!0}}]),nn}(),de=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",140),V(ae(Et),"incompatibleTokens",["R","u","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"G":case"GG":case"GGG":return ut.era(Ke,{width:"abbreviated"})||ut.era(Ke,{width:"narrow"});case"GGGGG":return ut.era(Ke,{width:"narrow"});default:return ut.era(Ke,{width:"wide"})||ut.era(Ke,{width:"abbreviated"})||ut.era(Ke,{width:"narrow"})}}},{key:"set",value:function(Ke,Lt,ut){return Lt.era=ut,Ke.setUTCFullYear(ut,0,1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),lt=l(45566),St_month=/^(1[0-2]|0?\d)/,St_date=/^(3[0-1]|[0-2]?\d)/,St_dayOfYear=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,St_week=/^(5[0-3]|[0-4]?\d)/,St_hour23h=/^(2[0-3]|[0-1]?\d)/,St_hour24h=/^(2[0-4]|[0-1]?\d)/,St_hour11h=/^(1[0-1]|0?\d)/,St_hour12h=/^(1[0-2]|0?\d)/,St_minute=/^[0-5]?\d/,St_second=/^[0-5]?\d/,St_singleDigit=/^\d/,St_twoDigits=/^\d{1,2}/,St_threeDigits=/^\d{1,3}/,St_fourDigits=/^\d{1,4}/,St_anyDigitsSigned=/^-?\d+/,St_singleDigitSigned=/^-?\d/,St_twoDigitsSigned=/^-?\d{1,2}/,St_threeDigitsSigned=/^-?\d{1,3}/,St_fourDigitsSigned=/^-?\d{1,4}/,Qt_basicOptionalMinutes=/^([+-])(\d{2})(\d{2})?|Z/,Qt_basic=/^([+-])(\d{2})(\d{2})|Z/,Qt_basicOptionalSeconds=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Qt_extended=/^([+-])(\d{2}):(\d{2})|Z/,Qt_extendedOptionalSeconds=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function gt(nn,Zt){return nn&&{value:Zt(nn.value),rest:nn.rest}}function yt(nn,Zt){var Ct=Zt.match(nn);return Ct?{value:parseInt(Ct[0],10),rest:Zt.slice(Ct[0].length)}:null}function Je(nn,Zt){var Ct=Zt.match(nn);if(!Ct)return null;if("Z"===Ct[0])return{value:0,rest:Zt.slice(1)};var Et="+"===Ct[1]?1:-1,Ke=Ct[2]?parseInt(Ct[2],10):0,Lt=Ct[3]?parseInt(Ct[3],10):0,ut=Ct[5]?parseInt(Ct[5],10):0;return{value:Et*(Ke*lt.vh+Lt*lt.yJ+ut*lt.qk),rest:Zt.slice(Ct[0].length)}}function ct(nn){return yt(St_anyDigitsSigned,nn)}function Xe(nn,Zt){switch(nn){case 1:return yt(St_singleDigit,Zt);case 2:return yt(St_twoDigits,Zt);case 3:return yt(St_threeDigits,Zt);case 4:return yt(St_fourDigits,Zt);default:return yt(new RegExp("^\\d{1,"+nn+"}"),Zt)}}function X(nn,Zt){switch(nn){case 1:return yt(St_singleDigitSigned,Zt);case 2:return yt(St_twoDigitsSigned,Zt);case 3:return yt(St_threeDigitsSigned,Zt);case 4:return yt(St_fourDigitsSigned,Zt);default:return yt(new RegExp("^-?\\d{1,"+nn+"}"),Zt)}}function xe(nn){switch(nn){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function he(nn,Zt){var Ke,Ct=Zt>0,Et=Ct?Zt:1-Zt;if(Et<=50)Ke=nn||100;else{var Lt=Et+50;Ke=nn+100*Math.floor(Lt/100)-(nn>=Lt%100?100:0)}return Ct?Ke:1-Ke}function N(nn){return nn%400==0||nn%4==0&&nn%100!=0}var F=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",130),V(ae(Et),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){var Un=function(En){return{year:En,isTwoDigitYear:"yy"===Lt}};switch(Lt){case"y":return gt(Xe(4,Ke),Un);case"yo":return gt(ut.ordinalNumber(Ke,{unit:"year"}),Un);default:return gt(Xe(Lt.length,Ke),Un)}}},{key:"validate",value:function(Ke,Lt){return Lt.isTwoDigitYear||Lt.year>0}},{key:"set",value:function(Ke,Lt,ut){var Un=Ke.getUTCFullYear();if(ut.isTwoDigitYear){var Ft=he(ut.year,Un);return Ke.setUTCFullYear(Ft,0,1),Ke.setUTCHours(0,0,0,0),Ke}return Ke.setUTCFullYear("era"in Lt&&1!==Lt.era?1-ut.year:ut.year,0,1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),Y=l(51834),re=l(74697),Oe=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",130),V(ae(Et),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){var Un=function(En){return{year:En,isTwoDigitYear:"YY"===Lt}};switch(Lt){case"Y":return gt(Xe(4,Ke),Un);case"Yo":return gt(ut.ordinalNumber(Ke,{unit:"year"}),Un);default:return gt(Xe(Lt.length,Ke),Un)}}},{key:"validate",value:function(Ke,Lt){return Lt.isTwoDigitYear||Lt.year>0}},{key:"set",value:function(Ke,Lt,ut,Un){var Ft=(0,Y.Z)(Ke,Un);if(ut.isTwoDigitYear){var En=he(ut.year,Ft);return Ke.setUTCFullYear(En,0,Un.firstWeekContainsDate),Ke.setUTCHours(0,0,0,0),(0,re.Z)(Ke,Un)}return Ke.setUTCFullYear("era"in Lt&&1!==Lt.era?1-ut.year:ut.year,0,Un.firstWeekContainsDate),Ke.setUTCHours(0,0,0,0),(0,re.Z)(Ke,Un)}}]),Ct}(et),Ye=l(77290),vt=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",130),V(ae(Et),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt){return X("R"===Lt?4:Lt.length,Ke)}},{key:"set",value:function(Ke,Lt,ut){var Un=new Date(0);return Un.setUTCFullYear(ut,0,4),Un.setUTCHours(0,0,0,0),(0,Ye.Z)(Un)}}]),Ct}(et),Vt=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",130),V(ae(Et),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt){return X("u"===Lt?4:Lt.length,Ke)}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCFullYear(ut,0,1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),Jt=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",120),V(ae(Et),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"Q":case"QQ":return Xe(Lt.length,Ke);case"Qo":return ut.ordinalNumber(Ke,{unit:"quarter"});case"QQQ":return ut.quarter(Ke,{width:"abbreviated",context:"formatting"})||ut.quarter(Ke,{width:"narrow",context:"formatting"});case"QQQQQ":return ut.quarter(Ke,{width:"narrow",context:"formatting"});default:return ut.quarter(Ke,{width:"wide",context:"formatting"})||ut.quarter(Ke,{width:"abbreviated",context:"formatting"})||ut.quarter(Ke,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=4}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMonth(3*(ut-1),1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),hn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",120),V(ae(Et),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"q":case"qq":return Xe(Lt.length,Ke);case"qo":return ut.ordinalNumber(Ke,{unit:"quarter"});case"qqq":return ut.quarter(Ke,{width:"abbreviated",context:"standalone"})||ut.quarter(Ke,{width:"narrow",context:"standalone"});case"qqqqq":return ut.quarter(Ke,{width:"narrow",context:"standalone"});default:return ut.quarter(Ke,{width:"wide",context:"standalone"})||ut.quarter(Ke,{width:"abbreviated",context:"standalone"})||ut.quarter(Ke,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=4}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMonth(3*(ut-1),1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),gn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),V(ae(Et),"priority",110),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){var Un=function(En){return En-1};switch(Lt){case"M":return gt(yt(St_month,Ke),Un);case"MM":return gt(Xe(2,Ke),Un);case"Mo":return gt(ut.ordinalNumber(Ke,{unit:"month"}),Un);case"MMM":return ut.month(Ke,{width:"abbreviated",context:"formatting"})||ut.month(Ke,{width:"narrow",context:"formatting"});case"MMMMM":return ut.month(Ke,{width:"narrow",context:"formatting"});default:return ut.month(Ke,{width:"wide",context:"formatting"})||ut.month(Ke,{width:"abbreviated",context:"formatting"})||ut.month(Ke,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=11}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMonth(ut,1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),yn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",110),V(ae(Et),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){var Un=function(En){return En-1};switch(Lt){case"L":return gt(yt(St_month,Ke),Un);case"LL":return gt(Xe(2,Ke),Un);case"Lo":return gt(ut.ordinalNumber(Ke,{unit:"month"}),Un);case"LLL":return ut.month(Ke,{width:"abbreviated",context:"standalone"})||ut.month(Ke,{width:"narrow",context:"standalone"});case"LLLLL":return ut.month(Ke,{width:"narrow",context:"standalone"});default:return ut.month(Ke,{width:"wide",context:"standalone"})||ut.month(Ke,{width:"abbreviated",context:"standalone"})||ut.month(Ke,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=11}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMonth(ut,1),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),An=l(7070),In=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",100),V(ae(Et),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"w":return yt(St_week,Ke);case"wo":return ut.ordinalNumber(Ke,{unit:"week"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=53}},{key:"set",value:function(Ke,Lt,ut,Un){return(0,re.Z)(function Nn(nn,Zt,Ct){(0,f.Z)(2,arguments);var Et=(0,p.Z)(nn),Ke=(0,C.Z)(Zt),Lt=(0,An.Z)(Et,Ct)-Ke;return Et.setUTCDate(Et.getUTCDate()-7*Lt),Et}(Ke,ut,Un),Un)}}]),Ct}(et),wn=l(59264),Bn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",100),V(ae(Et),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"I":return yt(St_week,Ke);case"Io":return ut.ordinalNumber(Ke,{unit:"week"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=53}},{key:"set",value:function(Ke,Lt,ut){return(0,Ye.Z)(function Wn(nn,Zt){(0,f.Z)(2,arguments);var Ct=(0,p.Z)(nn),Et=(0,C.Z)(Zt),Ke=(0,wn.Z)(Ct)-Et;return Ct.setUTCDate(Ct.getUTCDate()-7*Ke),Ct}(Ke,ut))}}]),Ct}(et),Xt=[31,28,31,30,31,30,31,31,30,31,30,31],Pt=[31,29,31,30,31,30,31,31,30,31,30,31],ht=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",90),V(ae(Et),"subPriority",1),V(ae(Et),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"d":return yt(St_date,Ke);case"do":return ut.ordinalNumber(Ke,{unit:"date"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){var Un=N(Ke.getUTCFullYear()),Ft=Ke.getUTCMonth();return Un?Lt>=1&&Lt<=Pt[Ft]:Lt>=1&&Lt<=Xt[Ft]}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCDate(ut),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),be=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",90),V(ae(Et),"subpriority",1),V(ae(Et),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"D":case"DD":return yt(St_dayOfYear,Ke);case"Do":return ut.ordinalNumber(Ke,{unit:"date"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return N(Ke.getUTCFullYear())?Lt>=1&&Lt<=366:Lt>=1&&Lt<=365}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMonth(0,ut),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et);function Ze(nn,Zt,Ct){var Et,Ke,Lt,ut,Un,Ft,En,ye;(0,f.Z)(2,arguments);var Bt=(0,v.j)(),vn=(0,C.Z)(null!==(Et=null!==(Ke=null!==(Lt=null!==(ut=null==Ct?void 0:Ct.weekStartsOn)&&void 0!==ut?ut:null==Ct||null===(Un=Ct.locale)||void 0===Un||null===(Ft=Un.options)||void 0===Ft?void 0:Ft.weekStartsOn)&&void 0!==Lt?Lt:Bt.weekStartsOn)&&void 0!==Ke?Ke:null===(En=Bt.locale)||void 0===En||null===(ye=En.options)||void 0===ye?void 0:ye.weekStartsOn)&&void 0!==Et?Et:0);if(!(vn>=0&&vn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Ne=(0,p.Z)(nn),ve=(0,C.Z)(Zt),at=Ne.getUTCDay(),Rt=ve%7,bn=(Rt+7)%7,Fe=(bn<vn?7:0)+ve-at;return Ne.setUTCDate(Ne.getUTCDate()+Fe),Ne}var _t=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",90),V(ae(Et),"incompatibleTokens",["D","i","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"E":case"EE":case"EEE":return ut.day(Ke,{width:"abbreviated",context:"formatting"})||ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"});case"EEEEE":return ut.day(Ke,{width:"narrow",context:"formatting"});case"EEEEEE":return ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"});default:return ut.day(Ke,{width:"wide",context:"formatting"})||ut.day(Ke,{width:"abbreviated",context:"formatting"})||ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=6}},{key:"set",value:function(Ke,Lt,ut,Un){return(Ke=Ze(Ke,ut,Un)).setUTCHours(0,0,0,0),Ke}}]),Ct}(et),st=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",90),V(ae(Et),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut,Un){var Ft=function(ye){var Bt=7*Math.floor((ye-1)/7);return(ye+Un.weekStartsOn+6)%7+Bt};switch(Lt){case"e":case"ee":return gt(Xe(Lt.length,Ke),Ft);case"eo":return gt(ut.ordinalNumber(Ke,{unit:"day"}),Ft);case"eee":return ut.day(Ke,{width:"abbreviated",context:"formatting"})||ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"});case"eeeee":return ut.day(Ke,{width:"narrow",context:"formatting"});case"eeeeee":return ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"});default:return ut.day(Ke,{width:"wide",context:"formatting"})||ut.day(Ke,{width:"abbreviated",context:"formatting"})||ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=6}},{key:"set",value:function(Ke,Lt,ut,Un){return(Ke=Ze(Ke,ut,Un)).setUTCHours(0,0,0,0),Ke}}]),Ct}(et),Ut=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",90),V(ae(Et),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut,Un){var Ft=function(ye){var Bt=7*Math.floor((ye-1)/7);return(ye+Un.weekStartsOn+6)%7+Bt};switch(Lt){case"c":case"cc":return gt(Xe(Lt.length,Ke),Ft);case"co":return gt(ut.ordinalNumber(Ke,{unit:"day"}),Ft);case"ccc":return ut.day(Ke,{width:"abbreviated",context:"standalone"})||ut.day(Ke,{width:"short",context:"standalone"})||ut.day(Ke,{width:"narrow",context:"standalone"});case"ccccc":return ut.day(Ke,{width:"narrow",context:"standalone"});case"cccccc":return ut.day(Ke,{width:"short",context:"standalone"})||ut.day(Ke,{width:"narrow",context:"standalone"});default:return ut.day(Ke,{width:"wide",context:"standalone"})||ut.day(Ke,{width:"abbreviated",context:"standalone"})||ut.day(Ke,{width:"short",context:"standalone"})||ut.day(Ke,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=6}},{key:"set",value:function(Ke,Lt,ut,Un){return(Ke=Ze(Ke,ut,Un)).setUTCHours(0,0,0,0),Ke}}]),Ct}(et),dn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",90),V(ae(Et),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){var Un=function(En){return 0===En?7:En};switch(Lt){case"i":case"ii":return Xe(Lt.length,Ke);case"io":return ut.ordinalNumber(Ke,{unit:"day"});case"iii":return gt(ut.day(Ke,{width:"abbreviated",context:"formatting"})||ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"}),Un);case"iiiii":return gt(ut.day(Ke,{width:"narrow",context:"formatting"}),Un);case"iiiiii":return gt(ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"}),Un);default:return gt(ut.day(Ke,{width:"wide",context:"formatting"})||ut.day(Ke,{width:"abbreviated",context:"formatting"})||ut.day(Ke,{width:"short",context:"formatting"})||ut.day(Ke,{width:"narrow",context:"formatting"}),Un)}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=7}},{key:"set",value:function(Ke,Lt,ut){return Ke=function Ht(nn,Zt){(0,f.Z)(2,arguments);var Ct=(0,C.Z)(Zt);Ct%7==0&&(Ct-=7);var Et=1,Ke=(0,p.Z)(nn),Lt=Ke.getUTCDay(),Ft=((Ct%7+7)%7<Et?7:0)+Ct-Lt;return Ke.setUTCDate(Ke.getUTCDate()+Ft),Ke}(Ke,ut),Ke.setUTCHours(0,0,0,0),Ke}}]),Ct}(et),jt=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",80),V(ae(Et),"incompatibleTokens",["b","B","H","k","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"a":case"aa":case"aaa":return ut.dayPeriod(Ke,{width:"abbreviated",context:"formatting"})||ut.dayPeriod(Ke,{width:"narrow",context:"formatting"});case"aaaaa":return ut.dayPeriod(Ke,{width:"narrow",context:"formatting"});default:return ut.dayPeriod(Ke,{width:"wide",context:"formatting"})||ut.dayPeriod(Ke,{width:"abbreviated",context:"formatting"})||ut.dayPeriod(Ke,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCHours(xe(ut),0,0,0),Ke}}]),Ct}(et),ce=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",80),V(ae(Et),"incompatibleTokens",["a","B","H","k","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"b":case"bb":case"bbb":return ut.dayPeriod(Ke,{width:"abbreviated",context:"formatting"})||ut.dayPeriod(Ke,{width:"narrow",context:"formatting"});case"bbbbb":return ut.dayPeriod(Ke,{width:"narrow",context:"formatting"});default:return ut.dayPeriod(Ke,{width:"wide",context:"formatting"})||ut.dayPeriod(Ke,{width:"abbreviated",context:"formatting"})||ut.dayPeriod(Ke,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCHours(xe(ut),0,0,0),Ke}}]),Ct}(et),Ce=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",80),V(ae(Et),"incompatibleTokens",["a","b","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"B":case"BB":case"BBB":return ut.dayPeriod(Ke,{width:"abbreviated",context:"formatting"})||ut.dayPeriod(Ke,{width:"narrow",context:"formatting"});case"BBBBB":return ut.dayPeriod(Ke,{width:"narrow",context:"formatting"});default:return ut.dayPeriod(Ke,{width:"wide",context:"formatting"})||ut.dayPeriod(Ke,{width:"abbreviated",context:"formatting"})||ut.dayPeriod(Ke,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCHours(xe(ut),0,0,0),Ke}}]),Ct}(et),Qe=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",70),V(ae(Et),"incompatibleTokens",["H","K","k","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"h":return yt(St_hour12h,Ke);case"ho":return ut.ordinalNumber(Ke,{unit:"hour"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=12}},{key:"set",value:function(Ke,Lt,ut){var Un=Ke.getUTCHours()>=12;return Ke.setUTCHours(Un&&ut<12?ut+12:Un||12!==ut?ut:0,0,0,0),Ke}}]),Ct}(et),rt=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",70),V(ae(Et),"incompatibleTokens",["a","b","h","K","k","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"H":return yt(St_hour23h,Ke);case"Ho":return ut.ordinalNumber(Ke,{unit:"hour"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=23}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCHours(ut,0,0,0),Ke}}]),Ct}(et),Nt=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",70),V(ae(Et),"incompatibleTokens",["h","H","k","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"K":return yt(St_hour11h,Ke);case"Ko":return ut.ordinalNumber(Ke,{unit:"hour"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=11}},{key:"set",value:function(Ke,Lt,ut){var Un=Ke.getUTCHours()>=12;return Ke.setUTCHours(Un&&ut<12?ut+12:ut,0,0,0),Ke}}]),Ct}(et),sn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",70),V(ae(Et),"incompatibleTokens",["a","b","h","H","K","t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"k":return yt(St_hour24h,Ke);case"ko":return ut.ordinalNumber(Ke,{unit:"hour"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=1&&Lt<=24}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCHours(ut<=24?ut%24:ut,0,0,0),Ke}}]),Ct}(et),On=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",60),V(ae(Et),"incompatibleTokens",["t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"m":return yt(St_minute,Ke);case"mo":return ut.ordinalNumber(Ke,{unit:"minute"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=59}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMinutes(ut,0,0),Ke}}]),Ct}(et),Ln=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",50),V(ae(Et),"incompatibleTokens",["t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt,ut){switch(Lt){case"s":return yt(St_second,Ke);case"so":return ut.ordinalNumber(Ke,{unit:"second"});default:return Xe(Lt.length,Ke)}}},{key:"validate",value:function(Ke,Lt){return Lt>=0&&Lt<=59}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCSeconds(ut,0),Ke}}]),Ct}(et),zn=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",30),V(ae(Et),"incompatibleTokens",["t","T"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt){return gt(Xe(Lt.length,Ke),function(Ft){return Math.floor(Ft*Math.pow(10,3-Lt.length))})}},{key:"set",value:function(Ke,Lt,ut){return Ke.setUTCMilliseconds(ut),Ke}}]),Ct}(et),hi=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",10),V(ae(Et),"incompatibleTokens",["t","T","x"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt){switch(Lt){case"X":return Je(Qt_basicOptionalMinutes,Ke);case"XX":return Je(Qt_basic,Ke);case"XXXX":return Je(Qt_basicOptionalSeconds,Ke);case"XXXXX":return Je(Qt_extendedOptionalSeconds,Ke);default:return Je(Qt_extended,Ke)}}},{key:"set",value:function(Ke,Lt,ut){return Lt.timestampIsSet?Ke:new Date(Ke.getTime()-ut)}}]),Ct}(et),mi=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",10),V(ae(Et),"incompatibleTokens",["t","T","X"]),Et}return Z(Ct,[{key:"parse",value:function(Ke,Lt){switch(Lt){case"x":return Je(Qt_basicOptionalMinutes,Ke);case"xx":return Je(Qt_basic,Ke);case"xxxx":return Je(Qt_basicOptionalSeconds,Ke);case"xxxxx":return Je(Qt_extendedOptionalSeconds,Ke);default:return Je(Qt_extended,Ke)}}},{key:"set",value:function(Ke,Lt,ut){return Lt.timestampIsSet?Ke:new Date(Ke.getTime()-ut)}}]),Ct}(et),gi=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",40),V(ae(Et),"incompatibleTokens","*"),Et}return Z(Ct,[{key:"parse",value:function(Ke){return ct(Ke)}},{key:"set",value:function(Ke,Lt,ut){return[new Date(1e3*ut),{timestampIsSet:!0}]}}]),Ct}(et),ki=function(nn){Ve(Ct,nn);var Zt=Ie(Ct);function Ct(){var Et;Re(this,Ct);for(var Ke=arguments.length,Lt=new Array(Ke),ut=0;ut<Ke;ut++)Lt[ut]=arguments[ut];return V(ae(Et=Zt.call.apply(Zt,[this].concat(Lt))),"priority",20),V(ae(Et),"incompatibleTokens","*"),Et}return Z(Ct,[{key:"parse",value:function(Ke){return ct(Ke)}},{key:"set",value:function(Ke,Lt,ut){return[new Date(ut),{timestampIsSet:!0}]}}]),Ct}(et),ji={G:new de,y:new F,Y:new Oe,R:new vt,u:new Vt,Q:new Jt,q:new hn,M:new gn,L:new yn,w:new In,I:new Bn,d:new ht,D:new be,E:new _t,e:new st,c:new Ut,i:new dn,a:new jt,b:new ce,B:new Ce,h:new Qe,H:new rt,K:new Nt,k:new sn,m:new On,s:new Ln,S:new zn,X:new hi,x:new mi,t:new gi,T:new ki},Ki=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ni=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Kn=/^'([^]*?)'?$/,vi=/''/g,Ai=/\S/,Ji=/[a-zA-Z]/;function Li(nn){return nn.match(Kn)[1].replace(vi,"'")}var cn=l(3403),qn=l(46476),Qn=l(89868),fi=l(5e3);const oi={parse:{dateInput:"P"},display:{dateInput:"P",monthYearLabel:"MMM yyyy",dateA11yLabel:"PPPP",monthYearA11yLabel:"MMMM yyyy"}};function Xn(nn,Zt){const Ct=[];for(let Et=nn;Et<=Zt;Et++)Ct.push(Et);return Ct}let ir=(()=>{class nn extends a._A{constructor(Ct){super(),this.localeService=Ct}addCalendarDays(Ct,Et){return(0,d.Z)(Ct,Et)}addCalendarMonths(Ct,Et){return(0,m.Z)(Ct,Et)}addCalendarYears(Ct,Et){return function I(nn,Zt){(0,f.Z)(2,arguments);var Ct=(0,C.Z)(Zt);return(0,m.Z)(nn,12*Ct)}(Ct,Et)}clone(Ct){return(0,p.Z)(Ct)}createDate(Ct,Et,Ke){return new Date(Ct,Et,Ke)}format(Ct,Et){return(0,i.Z)(Ct,Et,{locale:this.localeService.locale})}getDate(Ct){return function L(nn){return(0,f.Z)(1,arguments),(0,p.Z)(nn).getDate()}(Ct)}getDateNames(){return Xn(1,31).map(Ct=>String(Ct))}getDayOfWeek(Ct){return parseInt((0,i.Z)(Ct,"i"),10)}getDayOfWeekNames(Ct){return function Bi(nn,Zt){const Et={long:"EEEE",short:"EEEEEE",narrow:"EEEEE"}[nn],Ke=new Date;return Xn(0,6).map(Lt=>(0,i.Z)(function b(nn,Zt,Ct){var Et,Ke,Lt,ut,Un,Ft,En,ye;(0,f.Z)(2,arguments);var Bt=(0,v.j)(),vn=(0,C.Z)(null!==(Et=null!==(Ke=null!==(Lt=null!==(ut=null==Ct?void 0:Ct.weekStartsOn)&&void 0!==ut?ut:null==Ct||null===(Un=Ct.locale)||void 0===Un||null===(Ft=Un.options)||void 0===Ft?void 0:Ft.weekStartsOn)&&void 0!==Lt?Lt:Bt.weekStartsOn)&&void 0!==Ke?Ke:null===(En=Bt.locale)||void 0===En||null===(ye=En.options)||void 0===ye?void 0:ye.weekStartsOn)&&void 0!==Et?Et:0);if(!(vn>=0&&vn<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Ne=(0,p.Z)(nn),ve=(0,C.Z)(Zt),at=Ne.getDay(),Fe=7-vn;return(0,d.Z)(Ne,ve<0||ve>6?ve-(at+Fe)%7:((ve%7+7)%7+Fe)%7-(at+Fe)%7)}(Ke,Lt),Et,{locale:Zt}))}(Ct,this.localeService.locale)}getFirstDayOfWeek(){return function M(nn,Zt){var Ct,Et,Ke,Lt,ut,Un,Ft,En;(0,f.Z)(1,arguments);var ye=(0,v.j)(),Bt=(0,C.Z)(null!==(Ct=null!==(Et=null!==(Ke=null!==(Lt=null==Zt?void 0:Zt.weekStartsOn)&&void 0!==Lt?Lt:null==Zt||null===(ut=Zt.locale)||void 0===ut||null===(Un=ut.options)||void 0===Un?void 0:Un.weekStartsOn)&&void 0!==Ke?Ke:ye.weekStartsOn)&&void 0!==Et?Et:null===(Ft=ye.locale)||void 0===Ft||null===(En=Ft.options)||void 0===En?void 0:En.weekStartsOn)&&void 0!==Ct?Ct:0);if(!(Bt>=0&&Bt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var vn=(0,p.Z)(nn),Ne=vn.getDay(),ve=(Ne<Bt?7:0)+Ne-Bt;return vn.setDate(vn.getDate()-ve),vn.setHours(0,0,0,0),vn}(new Date,{locale:this.localeService.locale}).getDay()}getMonth(Ct){return(0,D.Z)(Ct)}getMonthNames(Ct){const Ke={long:"LLLL",short:"LLL",narrow:"LLLLL"}[Ct],Lt=new Date;return Xn(0,11).map(ut=>(0,i.Z)(function B(nn,Zt){(0,f.Z)(2,arguments);var Ct=(0,p.Z)(nn),Et=(0,C.Z)(Zt),Ke=Ct.getFullYear(),Lt=Ct.getDate(),ut=new Date(0);ut.setFullYear(Ke,Et,15),ut.setHours(0,0,0,0);var Un=A(ut);return Ct.setMonth(Et,Math.min(Lt,Un)),Ct}(Lt,ut),Ke,{locale:this.localeService.locale}))}getNumDaysInMonth(Ct){return A(Ct)}getYear(Ct){return(0,R.Z)(Ct)}getYearName(Ct){return(0,i.Z)(Ct,"yyyy",{locale:this.localeService.locale})}invalid(){return new Date(NaN)}isDateInstance(Ct){return Ct instanceof Date}isValid(Ct){return Ct instanceof Date&&!isNaN(Ct.getTime())}parse(Ct,Et){return function Xi(nn,Zt,Ct,Et){var Ke,Lt,ut,Un,Ft,En,ye,Bt,vn,Ne,ve,at,Rt,bn,Fe,ne,Me,We;(0,f.Z)(3,arguments);var Tt=String(nn),Wt=String(Zt),_e=(0,v.j)(),je=null!==(Ke=null!==(Lt=null==Et?void 0:Et.locale)&&void 0!==Lt?Lt:_e.locale)&&void 0!==Ke?Ke:j.Z;if(!je.match)throw new RangeError("locale must contain match property");var E=(0,C.Z)(null!==(ut=null!==(Un=null!==(Ft=null!==(En=null==Et?void 0:Et.firstWeekContainsDate)&&void 0!==En?En:null==Et||null===(ye=Et.locale)||void 0===ye||null===(Bt=ye.options)||void 0===Bt?void 0:Bt.firstWeekContainsDate)&&void 0!==Ft?Ft:_e.firstWeekContainsDate)&&void 0!==Un?Un:null===(vn=_e.locale)||void 0===vn||null===(Ne=vn.options)||void 0===Ne?void 0:Ne.firstWeekContainsDate)&&void 0!==ut?ut:1);if(!(E>=1&&E<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var te=(0,C.Z)(null!==(ve=null!==(at=null!==(Rt=null!==(bn=null==Et?void 0:Et.weekStartsOn)&&void 0!==bn?bn:null==Et||null===(Fe=Et.locale)||void 0===Fe||null===(ne=Fe.options)||void 0===ne?void 0:ne.weekStartsOn)&&void 0!==Rt?Rt:_e.weekStartsOn)&&void 0!==at?at:null===(Me=_e.locale)||void 0===Me||null===(We=Me.options)||void 0===We?void 0:We.weekStartsOn)&&void 0!==ve?ve:0);if(!(te>=0&&te<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===Wt)return""===Tt?(0,p.Z)(Ct):new Date(NaN);var bt,O={firstWeekContainsDate:E,weekStartsOn:te,locale:je},T=[new He],J=Wt.match(Ni).map(function(ti){var Di=ti[0];return Di in oe.Z?(0,oe.Z[Di])(ti,je.formatLong):ti}).join("").match(Ki),me=[],pt=H(J);try{var It=function(){var Di=bt.value;!(null!=Et&&Et.useAdditionalWeekYearTokens)&&(0,y.Do)(Di)&&(0,y.qp)(Di,Wt,nn),(null==Et||!Et.useAdditionalDayOfYearTokens)&&(0,y.Iu)(Di)&&(0,y.qp)(Di,Wt,nn);var Ci=Di[0],li=ji[Ci];if(li){var $i=li.incompatibleTokens;if(Array.isArray($i)){var Gi=me.find(function(ar){return $i.includes(ar.token)||ar.token===Ci});if(Gi)throw new RangeError("The format string mustn't contain `".concat(Gi.fullToken,"` and `").concat(Di,"` at the same time"))}else if("*"===li.incompatibleTokens&&me.length>0)throw new RangeError("The format string mustn't contain `".concat(Di,"` and any other token at the same time"));me.push({token:Ci,fullToken:Di});var cr=li.run(Tt,Di,je.match,O);if(!cr)return{v:new Date(NaN)};T.push(cr.setter),Tt=cr.rest}else{if(Ci.match(Ji))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ci+"`");if("''"===Di?Di="'":"'"===Ci&&(Di=Li(Di)),0!==Tt.indexOf(Di))return{v:new Date(NaN)};Tt=Tt.slice(Di.length)}};for(pt.s();!(bt=pt.n()).done;){var qt=It();if("object"===(0,x.Z)(qt))return qt.v}}catch(ti){pt.e(ti)}finally{pt.f()}if(Tt.length>0&&Ai.test(Tt))return new Date(NaN);var mn=T.map(function(ti){return ti.priority}).sort(function(ti,Di){return Di-ti}).filter(function(ti,Di,Ci){return Ci.indexOf(ti)===Di}).map(function(ti){return T.filter(function(Di){return Di.priority===ti}).sort(function(Di,Ci){return Ci.subPriority-Di.subPriority})}).map(function(ti){return ti[0]}),_n=(0,p.Z)(Ct);if(isNaN(_n.getTime()))return new Date(NaN);var Vn,Mt=(0,z.Z)(_n,(0,$.Z)(_n)),pn={},tn=H(mn);try{for(tn.s();!(Vn=tn.n()).done;){var Jn=Vn.value;if(!Jn.validate(Mt,O))return new Date(NaN);var ci=Jn.set(Mt,pn,O);Array.isArray(ci)?(Mt=ci[0],(0,le.Z)(pn,ci[1])):Mt=ci}}catch(ti){tn.e(ti)}finally{tn.f()}return Mt}(Ct,Et,new Date,{locale:this.localeService.locale})}toIso8601(Ct){return Ct.toISOString()}today(){return(0,qn.Z)((0,Qn.Z)(new Date,this.localeService.browserTimeZone),this.localeService.timeZone)}}return nn.\u0275fac=function(Ct){return new(Ct||nn)(fi.LFG(cn.O))},nn.\u0275prov=fi.Yz7({token:nn,factory:nn.\u0275fac}),nn})();var Yi=l(66678);let Ti=(()=>{class nn{}return nn.\u0275fac=function(Ct){return new(Ct||nn)},nn.\u0275mod=fi.oAB({type:nn}),nn.\u0275inj=fi.cJS({providers:[{provide:Yi._A,useClass:ir,deps:[cn.O]},{provide:Yi.sG,useValue:oi}],imports:[[]]}),nn})()},75285:(ze,G,l)=>{"use strict";l.d(G,{V:()=>d});var a=l(69808),i=l(5e3);let d=(()=>{class p{constructor(f){this.platformId=f,this.relAttr="",this.targetAttr="",this.hrefAttr=""}ngOnChanges(){this.hrefAttr=this.href,this.isLinkExternal()&&(this.relAttr="noopener",this.targetAttr="_blank")}isLinkExternal(){return(0,a.NF)(this.platformId)&&"self"!==this.rel&&!this.href.includes(location.hostname)}}return p.\u0275fac=function(f){return new(f||p)(i.Y36(i.Lbi))},p.\u0275dir=i.lG2({type:p,selectors:[["a","href",""]],hostVars:3,hostBindings:function(f,v){2&f&&i.uIk("rel",v.relAttr)("target",v.targetAttr)("href",v.hrefAttr,i.LSH)},inputs:{href:"href",rel:"rel"},features:[i.TTD]}),p})()},40892:(ze,G,l)=>{"use strict";l.d(G,{w:()=>Se});var a=l(69808),i=l(47423),d=l(9224),p=l(4834),C=l(81125),f=l(25245),v=l(14623),b=l(92181),m=l(20773),I=l(18561),L=l(30325),M=l(5e3);let D=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275mod=M.oAB({type:Z}),Z.\u0275inj=M.cJS({imports:[[a.ez,m.Cq]]}),Z})();var A=l(90508),B=l(74107),R=l(87238),x=l(8929);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let oe=(()=>{class Z{constructor(){this.changes=new x.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(U,fe,pe)=>{if(0==pe||0==fe)return`0 of ${pe}`;const He=U*fe;return`${He+1} \u2013 ${He<(pe=Math.max(pe,0))?Math.min(He+fe,pe):He+fe} of ${pe}`}}}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275prov=M.Yz7({token:Z,factory:Z.\u0275fac,providedIn:"root"}),Z})();const y={provide:oe,deps:[[new M.FiY,new M.tp0,oe]],useFactory:function $(Z){return Z||new oe}};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Ie=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275mod=M.oAB({type:Z}),Z.\u0275inj=M.cJS({providers:[y],imports:[[a.ez,i.ot,B.LD,R.AV,A.BQ]]}),Z})(),Re=(()=>{class Z extends oe{constructor(){super(...arguments),this.itemsPerPageLabel=$localize`:items per page paginator label@@label-items-per-page:Items per page:`,this.nextPageLabel=$localize`:next page paginator label@@label-next-page:Next page`,this.previousPageLabel=$localize`:previous page paginator label@@label-previous-page:Previous page`,this.firstPageLabel=$localize`:first page paginator label@@label-first-page:First page`,this.lastPageLabel=$localize`:last page paginator label@@label-last-page:Last page:`,this.getRangeLabel=(U,fe,pe)=>{const He=$localize`:of total paginator suffix@@suffix-of-total:of`,et=2147483647===pe?"":` ${He} ${pe}`;if(0==pe||0==fe)return`0${et}`;const de=U*fe;return`${de+1} \u2013 ${de<(pe=Math.max(pe,0))?Math.min(de+fe,pe):de+fe}${et}`}}}return Z.\u0275fac=function(){let V;return function(fe){return(V||(V=M.n5z(Z)))(fe||Z)}}(),Z.\u0275prov=M.Yz7({token:Z,factory:Z.\u0275fac}),Z})(),Ge=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275mod=M.oAB({type:Z}),Z.\u0275inj=M.cJS({providers:[{provide:oe,useClass:Re}],imports:[[a.ez,Ie,i.ot],Ie]}),Z})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var it=l(3931);let Se=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275mod=M.oAB({type:Z}),Z.\u0275inj=M.cJS({imports:[[a.ez,D,f.Ps,i.ot,m.Cq,L.Bz.forChild([]),it.l],a.ez,i.ot,f.Ps,I.SJ,v.ie,p.t,m.Cq,d.QW,C.To,b.Tx,Ge,it.l,D]}),Z})()},66816:(ze,G,l)=>{"use strict";l.d(G,{j:()=>C});var a=l(5e3),i=l(20773);let d=(()=>{class f{constructor(){this.diameter=35}}return f.\u0275fac=function(b){return new(b||f)},f.\u0275cmp=a.Xpm({type:f,selectors:[["go-loader-button"]],inputs:{color:"color"},decls:1,vars:2,consts:[[3,"diameter","color"]],template:function(b,m){1&b&&a._UZ(0,"mat-spinner",0),2&b&&a.Q6J("diameter",m.diameter)("color",m.color)},directives:[i.Ou],styles:["[_nghost-%COMP%]{display:flex;justify-content:center}"]}),f})();var p=l(47423);let C=(()=>{class f{constructor(b,m,I,L){this.templateRef=b,this.vcRef=m,this.componentFactoryResolver=I,this.button=L,this.loadingFactory=this.componentFactoryResolver.resolveComponentFactory(d)}set goLoader(b){this.vcRef.clear(),this._loading=b,b?(this.loadingComponent=this.vcRef.createComponent(this.loadingFactory),this.button&&(this.loadingComponent.instance.color="accent"===this.button.color?"primary":"accent"),this.goLoaderDiameter&&(this.loadingComponent.instance.diameter=this.goLoaderDiameter)):this.vcRef.createEmbeddedView(this.templateRef)}get goLoaderDiameter(){return this._diameter}set goLoaderDiameter(b){this._diameter=b,this.loadingComponent&&(this.loadingComponent.instance.diameter=b)}}return f.\u0275fac=function(b){return new(b||f)(a.Y36(a.Rgc),a.Y36(a.s_b),a.Y36(a._Vd),a.Y36(p.lW,9))},f.\u0275dir=a.lG2({type:f,selectors:[["","goLoader",""]],inputs:{goLoader:"goLoader",goLoaderDiameter:"goLoaderDiameter"}}),f})()},67217:(ze,G,l)=>{"use strict";l.d(G,{$:()=>d});var a=l(5e3),i=l(87238);let d=(()=>{class p{constructor(f){this.tooltip=f}toggleTooltip(){this.tooltip.toggle()}}return p.\u0275fac=function(f){return new(f||p)(a.Y36(i.gM,1))},p.\u0275dir=a.lG2({type:p,selectors:[["","matTooltip",""]],hostBindings:function(f,v){1&f&&a.NdJ("click",function(m){return v.toggleTooltip(m)})}}),p})()},82849:(ze,G,l)=>{"use strict";l.d(G,{F:()=>it,T:()=>Re});var a=l(69808),i=l(92845),d=l(47429),p=l(5e3),C=l(90508),f=l(47423),v=l(8929),b=l(72986),m=l(7625),I=l(41777),L=l(70925),M=l(95113),D=l(15664);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function A(Se,Z){if(1&Se){const V=p.EpF();p.TgZ(0,"div",2)(1,"button",3),p.NdJ("click",function(){return p.CHM(V),p.oxw().action()}),p._uU(2),p.qZA()()}if(2&Se){const V=p.oxw();p.xp6(2),p.Oqu(V.data.action)}}function B(Se,Z){}const R=new p.OlP("MatSnackBarData");class x{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const w=Math.pow(2,31)-1;class k{constructor(Z,V){this._overlayRef=V,this._afterDismissed=new v.xQ,this._afterOpened=new v.xQ,this._onAction=new v.xQ,this._dismissedByAction=!1,this.containerInstance=Z,Z._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Z){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Z,w))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let H=(()=>{class Se{constructor(V,U){this.snackBarRef=V,this.data=U}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return Se.\u0275fac=function(V){return new(V||Se)(p.Y36(k),p.Y36(R))},Se.\u0275cmp=p.Xpm({type:Se,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(V,U){1&V&&(p.TgZ(0,"span",0),p._uU(1),p.qZA(),p.YNc(2,A,3,1,"div",1)),2&V&&(p.xp6(1),p.Oqu(U.data.message),p.xp6(1),p.Q6J("ngIf",U.hasAction))},directives:[f.lW,a.O5],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),Se})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const j={snackBarState:(0,I.X$)("state",[(0,I.SB)("void, hidden",(0,I.oB)({transform:"scale(0.8)",opacity:0})),(0,I.SB)("visible",(0,I.oB)({transform:"scale(1)",opacity:1})),(0,I.eR)("* => visible",(0,I.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,I.eR)("* => void, * => hidden",(0,I.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,I.oB)({opacity:0})))])};let z=(()=>{class Se extends d.en{constructor(V,U,fe,pe,He){super(),this._ngZone=V,this._elementRef=U,this._changeDetectorRef=fe,this._platform=pe,this.snackBarConfig=He,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new v.xQ,this._onExit=new v.xQ,this._onEnter=new v.xQ,this._animationState="void",this.attachDomPortal=et=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(et)),this._live="assertive"!==He.politeness||He.announcementMessage?"off"===He.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(V){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(V)}attachTemplatePortal(V){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(V)}onAnimationEnd(V){const{fromState:U,toState:fe}=V;if(("void"===fe&&"void"!==U||"hidden"===fe)&&this._completeExit(),"visible"===fe){const pe=this._onEnter;this._ngZone.run(()=>{pe.next(),pe.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,b.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_applySnackBarClasses(){const V=this._elementRef.nativeElement,U=this.snackBarConfig.panelClass;U&&(Array.isArray(U)?U.forEach(fe=>V.classList.add(fe)):V.classList.add(U)),"center"===this.snackBarConfig.horizontalPosition&&V.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&V.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const V=this._elementRef.nativeElement.querySelector("[aria-hidden]"),U=this._elementRef.nativeElement.querySelector("[aria-live]");if(V&&U){let fe=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&V.contains(document.activeElement)&&(fe=document.activeElement),V.removeAttribute("aria-hidden"),U.appendChild(V),null==fe||fe.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return Se.\u0275fac=function(V){return new(V||Se)(p.Y36(p.R0b),p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(L.t4),p.Y36(x))},Se.\u0275cmp=p.Xpm({type:Se,selectors:[["snack-bar-container"]],viewQuery:function(V,U){if(1&V&&p.Gf(d.Pl,7),2&V){let fe;p.iGM(fe=p.CRH())&&(U._portalOutlet=fe.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(V,U){1&V&&p.WFA("@state.done",function(pe){return U.onAnimationEnd(pe)}),2&V&&p.d8E("@state",U._animationState)},features:[p.qOj],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(V,U){1&V&&(p.TgZ(0,"div",0),p.YNc(1,B,0,0,"ng-template",1),p.qZA(),p._UZ(2,"div")),2&V&&(p.xp6(2),p.uIk("aria-live",U._live)("role",U._role))},directives:[d.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[j.snackBarState]}}),Se})(),le=(()=>{class Se{}return Se.\u0275fac=function(V){return new(V||Se)},Se.\u0275mod=p.oAB({type:Se}),Se.\u0275inj=p.cJS({imports:[[i.U8,d.eL,a.ez,f.ot,C.BQ],C.BQ]}),Se})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const oe=new p.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function $(){return new x}});let y=(()=>{class Se{constructor(V,U,fe,pe,He,et){this._overlay=V,this._live=U,this._injector=fe,this._breakpointObserver=pe,this._parentSnackBar=He,this._defaultConfig=et,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const V=this._parentSnackBar;return V?V._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(V){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=V:this._snackBarRefAtThisLevel=V}openFromComponent(V,U){return this._attach(V,U)}openFromTemplate(V,U){return this._attach(V,U)}open(V,U="",fe){const pe=Object.assign(Object.assign({},this._defaultConfig),fe);return pe.data={message:V,action:U},pe.announcementMessage===V&&(pe.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,pe)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(V,U){const pe=p.zs3.create({parent:U&&U.viewContainerRef&&U.viewContainerRef.injector||this._injector,providers:[{provide:x,useValue:U}]}),He=new d.C5(this.snackBarContainerComponent,U.viewContainerRef,pe),et=V.attach(He);return et.instance.snackBarConfig=U,et.instance}_attach(V,U){const fe=Object.assign(Object.assign(Object.assign({},new x),this._defaultConfig),U),pe=this._createOverlay(fe),He=this._attachSnackBarContainer(pe,fe),et=new k(He,pe);if(V instanceof p.Rgc){const de=new d.UE(V,null,{$implicit:fe.data,snackBarRef:et});et.instance=He.attachTemplatePortal(de)}else{const de=this._createInjector(fe,et),lt=new d.C5(V,void 0,de),St=He.attachComponentPortal(lt);et.instance=St.instance}return this._breakpointObserver.observe(M.u3.HandsetPortrait).pipe((0,m.R)(pe.detachments())).subscribe(de=>{pe.overlayElement.classList.toggle(this.handsetCssClass,de.matches)}),fe.announcementMessage&&He._onAnnounce.subscribe(()=>{this._live.announce(fe.announcementMessage,fe.politeness)}),this._animateSnackBar(et,fe),this._openedSnackBarRef=et,this._openedSnackBarRef}_animateSnackBar(V,U){V.afterDismissed().subscribe(()=>{this._openedSnackBarRef==V&&(this._openedSnackBarRef=null),U.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{V.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):V.containerInstance.enter(),U.duration&&U.duration>0&&V.afterOpened().subscribe(()=>V._dismissAfter(U.duration))}_createOverlay(V){const U=new i.X_;U.direction=V.direction;let fe=this._overlay.position().global();const pe="rtl"===V.direction,He="left"===V.horizontalPosition||"start"===V.horizontalPosition&&!pe||"end"===V.horizontalPosition&&pe,et=!He&&"center"!==V.horizontalPosition;return He?fe.left("0"):et?fe.right("0"):fe.centerHorizontally(),"top"===V.verticalPosition?fe.top("0"):fe.bottom("0"),U.positionStrategy=fe,this._overlay.create(U)}_createInjector(V,U){return p.zs3.create({parent:V&&V.viewContainerRef&&V.viewContainerRef.injector||this._injector,providers:[{provide:k,useValue:U},{provide:R,useValue:V.data}]})}}return Se.\u0275fac=function(V){return new(V||Se)(p.LFG(i.aV),p.LFG(D.Kd),p.LFG(p.zs3),p.LFG(M.Yg),p.LFG(Se,12),p.LFG(oe))},Se.\u0275prov=p.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),ae=(()=>{class Se extends y{constructor(V,U,fe,pe,He,et){super(V,U,fe,pe,He,et),this.simpleSnackBarComponent=H,this.snackBarContainerComponent=z,this.handsetCssClass="mat-snack-bar-handset"}}return Se.\u0275fac=function(V){return new(V||Se)(p.LFG(i.aV),p.LFG(D.Kd),p.LFG(p.zs3),p.LFG(M.Yg),p.LFG(Se,12),p.LFG(oe))},Se.\u0275prov=p.Yz7({token:Se,factory:Se.\u0275fac,providedIn:le}),Se})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var ge=l(24850),Ve=l(25245);function $e(Se,Z){if(1&Se){const V=p.EpF();p.TgZ(0,"button",7),p.NdJ("click",function(){return p.CHM(V),p.oxw().toggleContent()}),p.TgZ(1,"span"),p.SDv(2,8),p.qZA(),p.TgZ(3,"mat-icon"),p._uU(4),p.qZA()()}if(2&Se){const V=p.oxw();p.xp6(4),p.Oqu(V.showContent?"expand_less":"expand_more")}}function Be(Se,Z){if(1&Se){const V=p.EpF();p.TgZ(0,"button",9),p.NdJ("click",function(){return p.CHM(V),p.oxw().action()}),p._uU(1),p.qZA()}if(2&Se){const V=p.oxw();p.xp6(1),p.hij(" ",V.data.action," ")}}function Ee(Se,Z){if(1&Se&&(p.TgZ(0,"div",10)(1,"h4"),p._uU(2),p.qZA(),p._UZ(3,"div",11),p.qZA()),2&Se){const V=p.oxw();p.xp6(2),p.Oqu(V.data.title),p.xp6(1),p.Q6J("innerHTML",V.data.body,p.oJD)}}let Ie=(()=>{class Se{constructor(V,U){this.snackBarRef=V,this.showContent=!1,this.data=U}action(){this.snackBarRef.dismissWithAction()}close(){this.snackBarRef.dismiss()}toggleContent(){this.showContent=!this.showContent}get hasAction(){return!!this.data.action}get hasContent(){return!!this.data.title||!!this.data.body}}return Se.\u0275fac=function(V){return new(V||Se)(p.Y36(k),p.Y36(R))},Se.\u0275cmp=p.Xpm({type:Se,selectors:[["go-snack-bar"]],decls:10,vars:4,consts:function(){let Z;return Z=$localize`:Show details button@@button-show-details␟4f8b2bb476981727ab34ed40fde1218361f92c45␟5028777105388019087:Details`,[[1,"go-snack-bar-message"],[1,"go-spacer"],["mat-button","","class","go-snack-bar-details",3,"click",4,"ngIf"],["mat-button","","class","go-snack-bar-action",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["inline",""],["class","go-snack-bar-content",4,"ngIf"],["mat-button","",1,"go-snack-bar-details",3,"click"],Z,["mat-button","",1,"go-snack-bar-action",3,"click"],[1,"go-snack-bar-content"],[1,"go-snack-bar-body",3,"innerHTML"]]},template:function(V,U){1&V&&(p.TgZ(0,"div",0)(1,"span"),p._uU(2),p.qZA(),p._UZ(3,"span",1),p.YNc(4,$e,5,1,"button",2),p.YNc(5,Be,2,1,"button",3),p.TgZ(6,"button",4),p.NdJ("click",function(){return U.close()}),p.TgZ(7,"mat-icon",5),p._uU(8,"close"),p.qZA()()(),p.YNc(9,Ee,4,2,"div",6)),2&V&&(p.xp6(2),p.Oqu(U.data.message),p.xp6(2),p.Q6J("ngIf",U.hasContent),p.xp6(1),p.Q6J("ngIf",U.hasAction),p.xp6(4),p.Q6J("ngIf",U.showContent))},directives:[a.O5,f.lW,Ve.Hw],styles:["go-snack-bar{justify-content:space-between;align-items:center;height:100%;line-height:20px;opacity:1}.go-snack-bar-action,.go-snack-bar-details{flex-shrink:0;margin:-8px -8px -8px 8px}.go-snack-bar-action button,.go-snack-bar-details button{max-height:36px;line-height:1!important;min-width:0}[dir=rtl] .go-snack-bar-action,[dir=rtl] .go-snack-bar-details{margin-left:-8px;margin-right:8px}.go-snack-bar-message{display:flex;align-items:center}.go-snack-bar-body .wrap{white-space:pre-wrap}.go-snack-bar-body .scroll{height:300px;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0}),Se})(),Re=(()=>{class Se{constructor(V,U){this.snackBar=V,this.breakpointObserver=U,this.init()}init(){this._defaultConfig={duration:5e3,horizontalPosition:"right",verticalPosition:"top"},this.breakpointObserver.observe(M.u3.Handset).pipe((0,ge.U)(V=>V.matches)).subscribe(V=>{this._defaultConfig=Object.assign(this._defaultConfig,V?{horizontalPosition:"center",verticalPosition:"bottom"}:{horizontalPosition:"right",verticalPosition:"top"})})}open(V="",U="",fe="",pe="",He={}){const et=Object.assign(Object.assign({},this._defaultConfig),He);return et.data={message:V,action:U,title:fe,body:pe},et.announcementMessage||(et.announcementMessage=V),this.snackBar.openFromComponent(Ie,et)}}return Se.\u0275fac=function(V){return new(V||Se)(p.LFG(ae),p.LFG(M.Yg))},Se.\u0275prov=p.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();var Ge=l(40892);let it=(()=>{class Se{}return Se.\u0275fac=function(V){return new(V||Se)},Se.\u0275mod=p.oAB({type:Se}),Se.\u0275inj=p.cJS({providers:[a.Ts,Re],imports:[[Ge.w,le]]}),Se})()},3931:(ze,G,l)=>{"use strict";l.d(G,{l:()=>C});var a=l(69808),i=l(19444),d=l(5e3);const p=[i.As,i.zc,i.jb,i.cK,i.uG,i.uw,i.Tg,i.Fy,i.dB,i.Ib,i.B0,i.OC,i.qU,i.W7,i.qs,i.zX,i.DY,i.v4,i.Ss,i.mv,i.Ff,i.qi];let C=(()=>{class f{}return f.\u0275fac=function(b){return new(b||f)},f.\u0275mod=d.oAB({type:f}),f.\u0275inj=d.cJS({providers:[...p],imports:[[a.ez]]}),f})()},33816:(ze,G,l)=>{"use strict";l.d(G,{j:()=>C});var a=l(5e3),i=l(25315),d=l(46476),p=l(3403);let C=(()=>{class f{constructor(b){this.localeService=b}transform(b,m,I){if(!b)return"";const L=(0,i.Z)((0,d.Z)(b,I||this.localeService.timeZone),m,{locale:this.localeService.locale});if(L)return L;if((0,a.X6Q)())throw new Error("DateFnsPipe expects a Date");return""}}return f.\u0275fac=function(b){return new(b||f)(a.Y36(p.O,16))},f.\u0275pipe=a.Yjl({name:"dateFns",type:f,pure:!0}),f})()},43336:(ze,G,l)=>{"use strict";l.d(G,{c:()=>j});var a=l(35650),i=l(2184),d=l(58370),p=l(9868),C=l(38779),f=l(80953),v=l(71665);function b(z){return(0,v.Z)({},z)}var m=l(48293),I=l(40833),L=6e4,M=1440,D=30*M,A=365*M;function B(z,le,oe){var $,y,ae;(0,I.Z)(2,arguments);var ge=(0,d.j)(),Ve=null!==($=null!==(y=null==oe?void 0:oe.locale)&&void 0!==y?y:ge.locale)&&void 0!==$?$:m.Z;if(!Ve.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var $e=(0,C.Z)(z,le);if(isNaN($e))throw new RangeError("Invalid time value");var Ee,Ie,Be=(0,v.Z)(b(oe),{addSuffix:Boolean(null==oe?void 0:oe.addSuffix),comparison:$e});$e>0?(Ee=(0,f.Z)(le),Ie=(0,f.Z)(z)):(Ee=(0,f.Z)(z),Ie=(0,f.Z)(le));var Ge,Re=String(null!==(ae=null==oe?void 0:oe.roundingMethod)&&void 0!==ae?ae:"round");if("floor"===Re)Ge=Math.floor;else if("ceil"===Re)Ge=Math.ceil;else{if("round"!==Re)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");Ge=Math.round}var fe,it=Ie.getTime()-Ee.getTime(),Se=it/L,Z=(0,p.Z)(Ie)-(0,p.Z)(Ee),V=(it-Z)/L,U=null==oe?void 0:oe.unit;if("second"===(fe=U?String(U):Se<1?"second":Se<60?"minute":Se<M?"hour":V<D?"day":V<A?"month":"year")){var pe=Ge(it/1e3);return Ve.formatDistance("xSeconds",pe,Be)}if("minute"===fe){var He=Ge(Se);return Ve.formatDistance("xMinutes",He,Be)}if("hour"===fe){var et=Ge(Se/60);return Ve.formatDistance("xHours",et,Be)}if("day"===fe){var de=Ge(V/M);return Ve.formatDistance("xDays",de,Be)}if("month"===fe){var lt=Ge(V/D);return 12===lt&&"month"!==U?Ve.formatDistance("xYears",1,Be):Ve.formatDistance("xMonths",lt,Be)}if("year"===fe){var St=Ge(V/A);return Ve.formatDistance("xYears",St,Be)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}var R=l(84191),x=l(34307),w=l(5e3);const k=new Date,H=(0,a.Z)(k,-1).toISOString();let j=(()=>{class z{constructor(oe){this.localeService=oe}transform(oe,$=H){if("number"==typeof oe){oe=Math.abs(oe);const y=86400*Math.floor(oe/86400),ae=3600*Math.floor((oe-y)/3600),ge=oe%3600,Ve=(0,i.Z)(k,y),$e=(0,i.Z)(k,ae),Be=(0,i.Z)(k,ge);return[y?B(k,Ve,{locale:this.localeService.locale,unit:"day"}):"",ae?B(k,$e,{locale:this.localeService.locale,unit:"hour"}):"",ge?B(k,Be,{locale:this.localeService.locale,unit:"minute"}):""].filter(Ge=>Ge.length).join(" ")}return B((0,R.Z)(oe),(0,R.Z)($),{addSuffix:!0,locale:this.localeService.locale})}}return z.\u0275fac=function(oe){return new(oe||z)(w.Y36(x.OL,16))},z.\u0275pipe=w.Yjl({name:"durationInWordsPipe",type:z,pure:!0}),z})()},19444:(ze,G,l)=>{"use strict";l.d(G,{qi:()=>ae,zc:()=>v,jb:()=>R.j,cK:()=>B.c,uG:()=>A,uw:()=>ge,Tg:()=>$e,qs:()=>k,Fy:()=>d.F,DY:()=>j,As:()=>x.A,dB:()=>a.d,Ib:()=>I,v4:()=>z,Ss:()=>oe,mv:()=>$,zX:()=>H.z,Ff:()=>y,B0:()=>i.B,OC:()=>L.O,qU:()=>C,W7:()=>b.W});var a=l(82906),i=l(94724),d=l(21290),p=l(5e3);let C=(()=>{class Be{transform(Ie,Re){return Ie.reduce((Ge,it)=>Ge+it[Re],0)}}return Be.\u0275fac=function(Ie){return new(Ie||Be)},Be.\u0275pipe=p.Yjl({name:"sum",type:Be,pure:!0}),Be})();var f=l(29287);let v=(()=>{class Be{constructor(Ie){this.countryService=Ie}transform(Ie){return this.countryService.getCountryLabel(Ie)}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(f.T,16))},Be.\u0275pipe=p.Yjl({name:"country",type:Be,pure:!0}),Be})();var b=l(12874),m=l(83918);let I=(()=>{class Be{constructor(Ie){this.pricingKinds=Ie}transform(Ie){return this.pricingKinds.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(m.CN,16))},Be.\u0275pipe=p.Yjl({name:"pricingKind",type:Be,pure:!0}),Be})();var L=l(74664),M=l(92046),D=(()=>{return(Be=D||(D={}))[Be.Minute=60]="Minute",Be[Be.Hour=3600]="Hour",Be[Be.Day=86400]="Day",Be[Be.Month=2592e3]="Month",Be[Be.Year=31536e3]="Year",D;var Be})();let A=(()=>{class Be{transform(Ie){const Re=Ie%D.Day,Ge=Re>=D.Hour?Math.floor(Re/D.Hour):0,it=Re-Ge*D.Hour,Se=it>=D.Minute?Math.floor(it/D.Minute):0,U=Ge||Se?`${Ge?`${Ge}`:"00"}:${Se?`${Se}`:"00"} ${M.J.h}`:"";return Ie<D.Day?U.trim():`${Math.floor(Ie/D.Day)}${M.J.d} ${U}`.trim()}}return Be.\u0275fac=function(Ie){return new(Ie||Be)},Be.\u0275pipe=p.Yjl({name:"durationPipe",type:Be,pure:!0}),Be})();var B=l(43336),R=l(33816),x=l(884),w=l(22313);let k=(()=>{class Be{constructor(Ie){this.sanitizer=Ie}transform(Ie,Re){if(!Re)return Ie;const Ge=new RegExp(Re,"gi"),it=Ie.match(Ge);if(!it)return Ie;const Se=Ie.replace(Ge,'<span class="highlighted-text">'+it[0]+"</span>");return this.sanitizer.bypassSecurityTrustHtml(Se)}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(w.H7,16))},Be.\u0275pipe=p.Yjl({name:"highlight",type:Be,pure:!0}),Be})();var H=l(93552);let j=(()=>{class Be{constructor(Ie){this.invoicePaymentStates=Ie}transform(Ie){return this.invoicePaymentStates.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(m.or,16))},Be.\u0275pipe=p.Yjl({name:"invoicePaymentState",type:Be,pure:!0}),Be})(),z=(()=>{class Be{constructor(Ie){this.requestPaymentMethods=Ie}transform(Ie){return this.requestPaymentMethods.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(m.mz,16))},Be.\u0275pipe=p.Yjl({name:"requestPaymentMethod",type:Be,pure:!0}),Be})(),le=(()=>{class Be{constructor(){this.items=[{value:"requires_payment",label:$localize`:value of constant request payment states@@constant-request-payment-state-requires-payment:requires_payment`},{value:"requires_refund",label:$localize`:value of constant request payment states@@constant-request-payment-state-requires-refund:requires_refund`},{value:"requires_payment_and_refund",label:$localize`:value of constant request payment states@@constant-request-payment-state-requires-payment-and-refund:requires_payment_and_refund`},{value:"settled",label:$localize`:value of constant request payment states@@constant-request-payment-state-settled:settled`}]}}return Be.\u0275fac=function(Ie){return new(Ie||Be)},Be.\u0275prov=p.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),oe=(()=>{class Be{constructor(Ie){this.requestPaymentStates=Ie}transform(Ie){return this.requestPaymentStates.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(le,16))},Be.\u0275pipe=p.Yjl({name:"requestPaymentState",type:Be,pure:!0}),Be})(),$=(()=>{class Be{constructor(Ie){this.requestStates=Ie}transform(Ie){return this.requestStates.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(m.oA,16))},Be.\u0275pipe=p.Yjl({name:"requestState",type:Be,pure:!0}),Be})(),y=(()=>{class Be{constructor(Ie){this.shippingStates=Ie}transform(Ie){return this.shippingStates.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(m.hF,16))},Be.\u0275pipe=p.Yjl({name:"shippingState",type:Be,pure:!0}),Be})(),ae=(()=>{class Be{transform(Ie,Re){var Ge;const it=null===(Ge=Ie.customer)||void 0===Ge?void 0:Ge.name;return`${Ie.firstName} ${Ie.lastName}\n${it?it+"\n":""}${Re.formatted}`}}return Be.\u0275fac=function(Ie){return new(Ie||Be)},Be.\u0275pipe=p.Yjl({name:"address",type:Be,pure:!0}),Be})(),ge=(()=>{class Be{constructor(Ie){this.emailTemplateKinds=Ie}transform(Ie){return this.emailTemplateKinds.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(m.Ag,16))},Be.\u0275pipe=p.Yjl({name:"emailTemplateKind",type:Be,pure:!0}),Be})(),Ve=(()=>{class Be{constructor(){this.items=[{value:"none",label:$localize`:value of constant event resource allocation states@@constant-event-resource-allocation-state-none:none`},{value:"open",label:$localize`:value of constant event resource allocation states@@constant-event-resource-allocation-state-open:open`},{value:"inquired",label:$localize`:value of constant event resource allocation states@@constant-event-resource-allocation-state-inquired:inquired`},{value:"allocated",label:$localize`:value of constant event resource allocation states@@constant-event-resource-allocation-state-allocated:allocated`},{value:"canceled",label:$localize`:value of constant event resource allocation states@@constant-event-resource-allocation-state-canceled:canceled`}]}}return Be.\u0275fac=function(Ie){return new(Ie||Be)},Be.\u0275prov=p.Yz7({token:Be,factory:Be.\u0275fac,providedIn:"root"}),Be})(),$e=(()=>{class Be{constructor(Ie){this.states=Ie}transform(Ie){return this.states.items.find(Re=>Re.value===Ie).label}}return Be.\u0275fac=function(Ie){return new(Ie||Be)(p.Y36(Ve,16))},Be.\u0275pipe=p.Yjl({name:"eventResourceAllocationState",type:Be,pure:!0}),Be})()},21290:(ze,G,l)=>{"use strict";l.d(G,{F:()=>f});var a=l(84191),i=l(3403),d=l(25315),p=l(46476),C=l(5e3);let f=(()=>{class v{constructor(m){this.localeService=m}transform(m,I,L){if(!m)return;const M=(0,a.Z)(m);if(M)return(0,d.Z)((0,p.Z)(M,L||this.localeService.timeZone),I,{locale:this.localeService.locale});throw new Error("ISODatePipe expects a date")}}return v.\u0275fac=function(m){return new(m||v)(C.Y36(i.O,16))},v.\u0275pipe=C.Yjl({name:"isoDate",type:v,pure:!0}),v})()},884:(ze,G,l)=>{"use strict";l.d(G,{A:()=>i});var a=l(5e3);let i=(()=>{class d{transform(C,f=", ",v){return v?C.map(b=>b[v]).join(f):C.join(f)}}return d.\u0275fac=function(C){return new(C||d)},d.\u0275pipe=a.Yjl({name:"join",type:d,pure:!0}),d})()},82906:(ze,G,l)=>{"use strict";l.d(G,{d:()=>d});var a=l(3403),i=l(5e3);let d=(()=>{class p{constructor(f){this.localeService=f}transform(f,v){var b;if("min"===v&&f instanceof Array){const m=f.map(L=>L.pricing.priceValue).filter(L=>Boolean(L.amount)),I=m.length?m.reduce((L,M)=>M.amount<L.amount?M:L,m[0]):null===(b=f[0])||void 0===b?void 0:b.pricing.priceValue;return I?this.formatPrice(I):""}if(f instanceof Object)return this.formatPrice(f);throw new Error("PricePipe expects a price object")}formatPrice(f){const v=Object.assign({},f);return v.amount=v.amount/100,new Intl.NumberFormat(this.localeService.currentId,{style:"currency",currency:v.currency}).format(v.amount)}}return p.\u0275fac=function(f){return new(f||p)(i.Y36(a.O,16))},p.\u0275pipe=i.Yjl({name:"price",type:p,pure:!0}),p})()},93552:(ze,G,l)=>{"use strict";l.d(G,{z:()=>d});var a=l(5e3),i=l(22313);let d=(()=>{class p{constructor(f){this.sanitized=f}transform(f){return f?this.sanitized.bypassSecurityTrustHtml(f):""}}return p.\u0275fac=function(f){return new(f||p)(a.Y36(i.H7,16))},p.\u0275pipe=a.Yjl({name:"safeHtml",type:p,pure:!0}),p})()},94724:(ze,G,l)=>{"use strict";l.d(G,{B:()=>d});var a=l(79308),i=l(5e3);let d=(()=>{class p{transform(f,v){if(!f)return;const b=(0,a.Qc)(f);if(!f)throw new Error("StrangePipe expects a strange string in the form of `[2019-09-26T09:00:00Z,2019-09-26T15:00:00Z)`");switch(v){case"begin":return b.begin;case"end":return b.end}}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275pipe=i.Yjl({name:"strange",type:p,pure:!0}),p})()},74664:(ze,G,l)=>{"use strict";l.d(G,{O:()=>i});var a=l(5e3);let i=(()=>{class d{transform(C){return C instanceof Object?JSON.stringify(C):C}}return d.\u0275fac=function(C){return new(C||d)},d.\u0275pipe=a.Yjl({name:"stringifyIfObject",type:d,pure:!0}),d})()},12874:(ze,G,l)=>{"use strict";l.d(G,{W:()=>i});var a=l(5e3);let i=(()=>{class d{transform(C,f){return C&&C.length>f?C.substring(0,f)+"...":C}}return d.\u0275fac=function(C){return new(C||d)},d.\u0275pipe=a.Yjl({name:"truncate",type:d,pure:!0}),d})()},29287:(ze,G,l)=>{"use strict";l.d(G,{T:()=>p});var a=l(85368),i=l(24850),d=l(5e3);let p=(()=>{class C{constructor(v){this.countriesOptionGql=v}fetchCountryList(){return this.countriesOptionGql.fetch()}getCountryLabel(v){return this.fetchCountryList().pipe((0,i.U)(b=>b.data.countries),(0,i.U)(b=>{const m=b.find(I=>I.value===v);return m?m.label:null}))}}return C.\u0275fac=function(v){return new(v||C)(d.LFG(a.C9))},C.\u0275prov=d.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})()},5652:(ze,G,l)=>{"use strict";l.d(G,{N_:()=>D,Tf:()=>A.T,zE:()=>M,OL:()=>L.O,$T:()=>b}),l(1828),l(82849),l(4324);var C=l(69808),f=l(5e3),v=l(50888);let b=(()=>{class R{constructor(w,k,H){this._document=w,this.request=k,this.platformId=H}intercept(w,k){let H;if((0,C.NF)(this.platformId))H=this.setHeader(w,this._document.location.hostname);else if(this.request){const j=this.request.header("X-Tenant-Domain")?this.request.header("X-Tenant-Domain"):this.request.hostname;H=this.setHeader(w,j)}return k.handle(H)}setHeader(w,k){return w.url.includes("graphql")?w.clone({headers:w.headers.append("X-Tenant-Domain",k)}):w}}return R.\u0275fac=function(w){return new(w||R)(f.LFG(C.K0,8),f.LFG(v.Z,8),f.LFG(f.Lbi))},R.\u0275prov=f.Yz7({token:R,factory:R.\u0275fac}),R})();new f.OlP("GO_REPORTING_ERROR_HANDLER_OPTIONS");var L=l(3403);let M=(()=>{class R{constructor(w){this.localeService=w}intercept(w,k){const H=w.clone({headers:w.headers.append("Accept-Language",this.localeService.currentId)});return k.handle(H)}}return R.\u0275fac=function(w){return new(w||R)(f.LFG(L.O))},R.\u0275prov=f.Yz7({token:R,factory:R.\u0275fac}),R})(),D=(()=>{class R{constructor(w,k){this.document=w,this.platformId=k,this.documentIsAccessible=(0,C.NF)(this.platformId)}check(w){return!!this.documentIsAccessible&&(w=encodeURIComponent(w),this.getCookieRegExp(w).test(this.document.cookie))}get(w){if(this.documentIsAccessible&&this.check(w)){w=encodeURIComponent(w);const H=this.getCookieRegExp(w).exec(this.document.cookie);return decodeURIComponent(H[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const w={},k=this.document;if(k.cookie&&""!==k.cookie){const H=k.cookie.split(";");for(let j=0;j<H.length;j+=1){const z=H[j].split("=");z[0]=z[0].replace(/^ /,""),w[decodeURIComponent(z[0])]=decodeURIComponent(z[1])}}return w}set(w,k,H,j,z,le,oe){if(!this.documentIsAccessible)return;let $=encodeURIComponent(w)+"="+encodeURIComponent(k)+";";H&&($+="number"==typeof H?"expires="+new Date((new Date).getTime()+1e3*H*60*60*24).toUTCString()+";":"expires="+H.toUTCString()+";"),j&&($+="path="+j+";"),z&&($+="domain="+z+";"),le&&($+="secure;"),oe&&($+="sameSite="+oe+";"),this.document.cookie=$}delete(w,k,H){!this.documentIsAccessible||this.set(w,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),k,H)}deleteAll(w,k){if(!this.documentIsAccessible)return;const H=this.getAll();for(const j in H)Object.prototype.hasOwnProperty.call(H,j)&&this.delete(j,w,k)}getCookieRegExp(w){const k=w.replace(/([[]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+k+"|;\\s*"+k+")=(.*?)(?:;|$)","g")}}return R.\u0275fac=function(w){return new(w||R)(f.LFG(C.K0),f.LFG(f.Lbi))},R.\u0275prov=f.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();var A=l(29287)},3403:(ze,G,l)=>{"use strict";l.d(G,{O:()=>b});var a=l(69808),i=l(5e3),d=l(50888),p=l(33338),C=l.n(p),f=l(4324),v=l(30325);let b=(()=>{class m{constructor(L,M,D,A,B){this.window=L,this.router=M,this.platformId=D,this.localeId=A,this.req=B,this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.browserTimeZone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.setCurrentId()}changeLocale(L){this.window.location.replace(`/${L}${this.router.url}`)}isReady(){return!!this.locale||("en-US"!==this.currentId?this.getLocale(this.currentId):(this.locale=C(),!0))}getLocale(L){return new Promise((D,A)=>{l(71213)(`./${L}/index.js`).then(B=>{this.locale=B.default,D(!0)}).catch(B=>{const R=L.split("-");2===R.length?this.getLocale(R[0]).then(()=>D(!0)):(this.locale=C(),D(!0))})})}setCurrentId(){var L,M,D,A;let B;if((0,a.NF)(this.platformId))B=this.window.navigator.language;else{const R=this.req.get("accept-language");B=R?R.split(",")[0]:"en-US"}if(B.includes(this.localeId.split("-")[0])?this.currentId=B:(null===(L=this.window.navigator.languages)||void 0===L?void 0:L.length)>1&&(this.currentId=this.window.navigator.languages.find(x=>x.split(/-|@/)[0]===this.localeId.split("-")[0])),this.currentId||(this.currentId=this.localeId.replace("-DEV","")),(0,a.NF)(this.platformId)){const R=null===(A=null===(D=null===(M=this.window)||void 0===M?void 0:M.location)||void 0===D?void 0:D.pathname)||void 0===A?void 0:A.split("/")[1];R&&2===R.length&&!this.localeId.includes(R)&&(this.currentId=R)}this.currentId=this.currentId.split("@")[0]}get currentShortId(){var L;return null===(L=this.currentId)||void 0===L?void 0:L.split("-")[0]}}return m.\u0275fac=function(L){return new(L||m)(i.LFG(f.m9),i.LFG(v.F0),i.LFG(i.Lbi),i.LFG(i.soG),i.LFG(d.Z,8))},m.\u0275prov=i.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},79308:(ze,G,l)=>{"use strict";l.d(G,{Qc:()=>I,e6:()=>i});class i{constructor(D,A,B){if(this.compareBegin=function(R){return C(null===this.begin?-1/0:this.begin,null===R?-1/0:R)||("["===this.bounds[0]?0:1)},this.compareEnd=function(R){return C(null===this.end?1/0:this.end,null===R?1/0:R)||("]"===this.bounds[1]?0:-1)},this.isEmpty=function(){const R=null===this.begin?-1/0:this.begin,x=null===this.end?1/0:this.end;return void 0===R||void 0===x||"[]"!==this.bounds&&0===C(R,x)},this.isBounded=function(){return void 0===this.begin||void 0===this.end||!(d(this.begin)||d(this.end))},this.isUnbounded=function(){return!this.isBounded()},this.contains=function(R){const x=this.begin,w=this.end;return(null===w||("]"===this.bounds[1]?R<=w:R<w))&&(null===x||("["===this.bounds[0]?x<=R:x<R))},this.intersects=function(R){return!this.isEmpty()&&!R.isEmpty()&&this.compareBeginToEnd(this,R)<=0&&this.compareBeginToEnd(R,this)<=0},this.toString=function(){const R=f(this.begin),x=f(this.end);return this.bounds[0]+R+","+x+this.bounds[1]},this.valueOf=function(){return[this.begin,this.end,this.bounds]},this.begin=D,this.end=A,this.bounds=B=void 0===B?"[)":B,!function p(M){switch(M){case"()":case"[]":case"[)":case"(]":return!0;default:return!1}}(B))throw new RangeError("Invalid range bounds: "+B);this.toJSON=this.toString,this.inspect=this.toString}}function d(M){return null===M||M===1/0||M===-1/0}function C(M,D){return M<D?-1:D<M?1:0}function f(M){return d(M)?"":String(M)}function I(M,D){const A=M.slice(1,-1).split(",",2);let B=A[0]?D?D(A[0]):A[0]:null,R=A[1]?D?D(A[1]):A[1]:null;return D===Number&&null===B&&(B=-1/0),D===Number&&null===R&&(R=1/0),new i(B,R,M[0]+M[M.length-1])}},4324:(ze,G,l)=>{"use strict";l.d(G,{m9:()=>p,n0:()=>C,un:()=>d});var a=l(69808),i=l(5e3);let d=(()=>{class f{constructor(b){this._window=(0,a.NF)(b)?window:{navigator:{userAgent:"fakeAgent"}}}get nativeWindow(){return this._window}}return f.\u0275fac=function(b){return new(b||f)(i.LFG(i.Lbi))},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac}),f})();const p=new i.OlP("go-window");function C(f){return f.nativeWindow}},1828:(ze,G,l)=>{"use strict";l.d(G,{c:()=>i});const i=new(l(5e3).OlP)("GO_COMMON_OPTIONS")},3892:(ze,G,l)=>{"use strict";l.d(G,{Ae:()=>fi,Au:()=>Ti,Cj:()=>ne,GV:()=>ir,Hy:()=>En,L2:()=>T,OY:()=>Un,Ru:()=>qn,SQ:()=>Et,UX:()=>We,Um:()=>bn,VP:()=>Zt,Zm:()=>Lt,cg:()=>_n,ed:()=>qt,kE:()=>bt,l5:()=>Xn,m1:()=>at,oO:()=>me,og:()=>je,sy:()=>Ne,xM:()=>te,z0:()=>Wt,zT:()=>Bt});var a=l(57112),i=l(35931),d=l(5e3);a.Ps`
    fragment attachment on Attachment {
  id
  desc
  copyright
  file {
    id
    _url: url
    metadata {
      filename
      mimeType
      size
    }
  }
}
    `,a.Ps`
    fragment imageAttachment on ImageAttachment {
  id
  desc
  copyright
  file {
    id
    _url: url
    metadata {
      filename
      mimeType
      size
    }
  }
}
    `,a.Ps`
    fragment availabilityRuleSets on ActsAsResource {
  availabilityRuleSets {
    id
    dtstart
    duration
    rrule
    availability
  }
}
    `,a.Ps`
    fragment capacities on ActsAsResource {
  capacities {
    configurationId: configuration {
      value: id
      label: name
      id
      resourceType
      discardedAt
    }
    capacity
  }
}
    `;const gn=a.Ps`
    fragment address on Address {
  id
  department
  street
  streetAdditionalInfo
  postalCode
  city
  region
  country
}
    `,An=(a.Ps`
    fragment contact on Contact {
  id
  number
  externalRef
  discardedAt
  customFormOfAddress
  salutation
  title
  firstName
  lastName
  mobile
  tel
  email
  locale
  function
  internalComment
  customer: customer {
    id
    name
    taxCode
    website
    groupId: group {
      value: id
      label: name
      discardedAt
    }
    addresses: addresses {
      ...address
    }
  }
}
    ${gn}`,a.Ps`
    fragment errors on Error {
  key
  messages
}
    `),In=(a.Ps`
    fragment pageInfo on PageInfo {
  endCursor
  startCursor
  hasNextPage
  hasPreviousPage
}
    `,a.Ps`
    fragment pricing on Pricing {
  kind
  name
  nameTranslated
  originalPriceValue
  priceValue
  priceOrigin {
    ... on PriceRule {
      id
      minPax
      maxPax
    }
  }
  product {
    id
    subProductPresentation
    subProducts {
      pricing {
        kind
        name
        quantity
        originalPriceValue
        priceValue
      }
    }
  }
}
    `),be=(a.Ps`
    fragment eventPriceRules on ActsAsEventable {
  priceRules {
    id
    priceCategoryId: priceCategory {
      value: id
      label: nameTranslated
      discardedAt
    }
    productId: product {
      value: id
      label: name
      pricing {
        ...pricing
      }
      discardedAt
    }
    posIds: pos {
      value: id
      label: name
    }
    minPax
    maxPax
  }
}
    ${In}`,a.Ps`
    fragment relatedProducts on Product {
  id
  name
  desc
  pricing {
    ...pricing
  }
}
    ${In}`,a.Ps`
    fragment properties on ActsAsResource {
  propertyIds: properties {
    value: id
    label: name
    id
    resourceType
    discardedAt
  }
}
    `,a.Ps`
    fragment eventQuotas on ActsAsEventable {
  quotas: quotas {
    id
    posIds: pos {
      value: id
      label: name
    }
    maxQuantity
    salesStartOffset
    salesEndOffset
  }
}
    `,a.Ps`
    fragment recurrenceRuleSet on RecurrenceRuleSet {
  id
  dtstart
  rrule
}
    `,a.Ps`
    fragment resourceRequirement on Requirement {
  id
  resourceType
  resourceAllocationState
  properties {
    id
    name
    resourceType
    discardedAt
  }
  configuration {
    id
    name
    resourceType
    discardedAt
  }
  resource {
    id
    name
    resourceType
  }
  spans {
    id
    startOffset
    endOffset
  }
  reservations {
    id
    resourceType
    spanStr
  }
}
    `,a.Ps`
    fragment salesTaxPayments on SalesTaxPayment {
  id
  taxRate
  taxValue
  included
}
    `);a.Ps`
    fragment translations on Translations {
  af
  ar
  az
  be
  bg
  bn
  bs
  ca
  cs
  da
  de
  dz
  el
  en
  eo
  es
  et
  eu
  fa
  fi
  fr
  fy
  gl
  he
  hi
  hr
  hu
  is
  it
  ja
  ka
  kk
  km
  kn
  ko
  lb
  lo
  lt
  lv
  mg
  mk
  ml
  mn
  ms
  nb
  ne
  nl
  nn
  oc
  or
  pa
  pl
  pt
  rm
  ro
  ru
  sc
  sk
  sl
  sq
  sr
  st
  sv
  sw
  ta
  te
  th
  tl
  tr
  tt
  ug
  uk
  ur
  uz
  vi
  wo
}
    `,a.Ps`
    mutation contactTermsUpdate($input: ContactUpdateInput!) {
  contactUpdate(input: $input) {
    contact {
      id
      privacyStatementAccepted
      termsAndConditionsAccepted
    }
    errors {
      key
      messages
    }
  }
}
    `,a.Ps`
    query countriesOptions {
  countries {
    value
    label
  }
}
    `,a.Ps`
    query invoicePayments($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    request {
      id
      number
    }
    payments {
      id
      state
    }
  }
}
    `,a.Ps`
    query invoicePublicDetail($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    number
    paymentState
    paymentIntentCreateError
    tenant {
      shopDomainName
      termsAndConditionsUrlTranslated
      privacyStatementUrlTranslated
      settings {
        paymentTransactionCharge {
          name
        }
        stripe {
          platformPublicKey
          accountId
        }
      }
      name
      email
      tel
    }
    payments {
      id
      state
    }
    invoiceItems {
      id
      name
      nameTranslated
      groupingName
      groupingNameTranslated
      groupingKey
      groupingSpan
      quantity
      product {
        id
        shippingArticle
      }
      forSubProduct
      subInvoiceItemPresentation
      subInvoiceItems {
        id
        quantity
        priceValue
        name
      }
      totalGrossValue
      totalPriceValue
      salesTaxPayments {
        ...salesTaxPayments
      }
    }
    totalGrossValue
    salesTaxPayments {
      ...salesTaxPayments
    }
    request {
      number
      shareablePublicTicketsUrl
      shippingAddress {
        formatted
      }
      requestItems {
        id
        pricings {
          id
          attendances {
            id
          }
        }
      }
    }
    contact {
      id
      accessToken
      _enableLoginToken: enableLoginToken
      firstName
      lastName
      email
      tel
      mobile
      privacyStatementAccepted
      termsAndConditionsAccepted
    }
    totalValue
    totalGrossValue
    totalAccountTransactionsValue
    billingAddress {
      formatted
      customer {
        name
      }
    }
  }
}
    ${be}`,a.Ps`
    query invoiceState($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    paymentState
    paymentIntentCreateError
    totalValue
    totalGrossValue
    tenant {
      serviceProviderPaymentMethods
      featureFlags
    }
  }
}
    `,a.Ps`
    mutation onSiteRequestFinalize($input: RequestFinalizeInput!) {
  requestFinalize(input: $input) {
    errors {
      key
      messages
    }
  }
}
    `,a.Ps`
    mutation paymentIntentInProgress($input: PaymentIntentInProgressInput!) {
  paymentIntentInProgress(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${An}`,a.Ps`
    mutation paymentIntentCreate($input: PaymentIntentCreateInput!) {
  paymentIntentCreate(input: $input) {
    payment {
      id
      value
      paymentIntentId
      paymentIntentClientSecret
      redirectUrl
      invoice {
        paymentState
        tenant {
          settings {
            stripe {
              platformPublicKey
              accountId
            }
            paypal {
              clientId
            }
          }
        }
        contact {
          firstName
          lastName
        }
        billingAddress {
          street
          city
          country
          postalCode
          customer {
            name
          }
        }
      }
    }
    errors {
      ...errors
    }
  }
}
    ${An}`,a.Ps`
    mutation onSiteRequestUpdate($input: RequestUpdateInput!) {
  requestUpdate(input: $input) {
    errors {
      key
      messages
    }
  }
}
    `,a.Ps`
    query privacyPolicy {
  tenant {
    id
    privacyStatementTranslated
  }
}
    `,a.Ps`
    query tncPolicy {
  tenant {
    id
    termsAndConditionsTranslated
  }
}
    `,a.Ps`
    query authorizeNet {
  tenant {
    id
    featureFlags
    liveMode
    settings {
      authorizeNet {
        apiLoginId
        clientKey
      }
    }
  }
}
    `,a.Ps`
    query paypal {
  tenant {
    id
    settings {
      paypal {
        clientId
      }
    }
  }
}
    `,a.Ps`
    query stripe {
  tenant {
    id
    settings {
      stripe {
        platformPublicKey
        accountId
      }
    }
  }
}
    `;const cn=a.Ps`
    query accountOptions($text: String, $first: Int) {
  accounts(text: $text, types: ["DEPOSIT"], first: $first, discarded: false) @connection(key: "accountOptions", filter: ["text"]) {
    edges {
      node {
        id
        name
        number
      }
    }
  }
}
    `;let qn=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=cn}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Qn=a.Ps`
    query agentsList($text: String, $first: Int, $after: String) {
  agents(text: $text, first: $first, after: $after, discarded: false) @connection(key: "agents", filter: ["text", "after", "first"]) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let fi=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Qn}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const oi=a.Ps`
    query agentConfigurationOptions($text: String) {
  agentConfigurations(text: $text, discarded: false) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let Xn=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=oi}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Bi=a.Ps`
    query configurationOptions($text: String) {
  configurations(text: $text, discarded: false) {
    edges {
      node {
        value: id
        label: name
        resourceType
      }
    }
  }
}
    `;let ir=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Bi}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Yi=a.Ps`
    query materialConfigurationOptions($text: String) {
  materialConfigurations(text: $text, discarded: false) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let Ti=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Yi}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const nn=a.Ps`
    query placeConfigurationOptions($text: String) {
  placeConfigurations(text: $text, discarded: false) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let Zt=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=nn}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Ct=a.Ps`
    query contactName($id: ContactIdOrNumberOrToken!) {
  contact(id: $id) {
    id
    firstName
    lastName
    discardedAt
  }
}
    `;let Et=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Ct}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Ke=a.Ps`
    query contactsOptions($text: String, $first: Int) {
  contacts(text: $text, first: $first, discarded: false) @connection(key: "contacts", filter: ["text", "first"]) {
    edges {
      node {
        id
        firstName
        lastName
      }
    }
  }
}
    `;let Lt=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Ke}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const ut=a.Ps`
    query eventTemplateOptions($text: String, $first: Int) {
  eventTemplates(text: $text, first: $first, discarded: false) @connection(key: "eventTemplates", filter: ["text", "first"]) {
    edges {
      node {
        id
        name
      }
    }
  }
}
    `;let Un=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=ut}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Ft=a.Ps`
    query materialsList($text: String, $first: Int, $after: String) {
  materials(text: $text, first: $first, after: $after, discarded: false) @connection(key: "materials", filter: ["text", "after", "first"]) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let En=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Ft}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const ye=a.Ps`
    query placesList($text: String, $first: Int, $after: String) {
  places(text: $text, first: $first, after: $after, discarded: false) @connection(key: "places", filter: ["text", "after", "first"]) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let Bt=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=ye}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const vn=a.Ps`
    query promotionOptions($text: String, $first: Int) {
  promotions(text: $text, first: $first, discarded: false) @connection(key: "promotionOptions", filter: ["text"]) {
    edges {
      node {
        id
        name
        triggers {
          externalCouponNumber
        }
      }
    }
  }
}
    `;let Ne=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=vn}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const ve=a.Ps`
    mutation agentPropertyCreate($input: AgentPropertyCreateInput!) {
  agentPropertyCreate(input: $input) {
    property: agentProperty {
      id
      name
    }
    errors {
      ...errors
    }
  }
}
    ${An}`;let at=(()=>{class Mt extends i.mm{constructor(tn){super(tn),this.document=ve}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Rt=a.Ps`
    query agentPropertyOptions($text: String, $first: Int, $individual: Boolean, $configurations: [ID!]) {
  agentProperties(
    text: $text
    first: $first
    individual: $individual
    configurations: $configurations
    discarded: false
  ) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let bn=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Rt}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Fe=a.Ps`
    mutation materialPropertyCreate($input: MaterialPropertyCreateInput!) {
  materialPropertyCreate(input: $input) {
    property: materialProperty {
      id
      name
    }
    errors {
      ...errors
    }
  }
}
    ${An}`;let ne=(()=>{class Mt extends i.mm{constructor(tn){super(tn),this.document=Fe}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Me=a.Ps`
    query materialPropertyOptions($text: String, $first: Int, $individual: Boolean, $configurations: [ID!]) {
  materialProperties(
    text: $text
    first: $first
    individual: $individual
    configurations: $configurations
    discarded: false
  ) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let We=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=Me}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const Tt=a.Ps`
    mutation placePropertyCreate($input: PlacePropertyCreateInput!) {
  placePropertyCreate(input: $input) {
    property: placeProperty {
      id
      name
    }
    errors {
      ...errors
    }
  }
}
    ${An}`;let Wt=(()=>{class Mt extends i.mm{constructor(tn){super(tn),this.document=Tt}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const _e=a.Ps`
    query placePropertyOptions($text: String, $first: Int, $individual: Boolean, $configurations: [ID!]) {
  placeProperties(
    text: $text
    first: $first
    individual: $individual
    configurations: $configurations
    discarded: false
  ) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let je=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=_e}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const E=a.Ps`
    mutation tagCreate($input: TagCreateInput!) {
  tagCreate(input: $input) {
    tag {
      id
      name
    }
    errors {
      ...errors
    }
  }
}
    ${An}`;let te=(()=>{class Mt extends i.mm{constructor(tn){super(tn),this.document=E}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const O=a.Ps`
    query tagsOptions($text: String, $first: Int, $after: String, $last: Int) {
  tags(text: $text, first: $first, after: $after, last: $last, discarded: false) @connection(key: "tags", filter: ["text", "after", "first", "last"]) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let T=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=O}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const J=a.Ps`
    query tenantValidate($input: TenantValidateInput!) {
  tenantValidate(input: $input) @connection(key: "tags", filter: ["input"]) {
    errors {
      ...errors
    }
  }
}
    ${An}`;let me=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=J}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const pt=a.Ps`
    query timePatternOptions($text: String, $first: Int) {
  timePatterns(text: $text, first: $first, discarded: false) @connection(key: "timePatternOptions", filter: ["text"]) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let bt=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=pt}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const It=a.Ps`
    query userValidate($input: UserValidateInput!) {
  userValidate(input: $input) @connection(key: "tags", filter: ["input"]) {
    errors {
      ...errors
    }
  }
}
    ${An}`;let qt=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=It}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})();const mn=a.Ps`
    query waiverOptions($text: String, $first: Int) {
  waivers(text: $text, first: $first, discarded: false) @connection(key: "waiverOptions", filter: ["text"]) {
    edges {
      node {
        value: id
        label: name
      }
    }
  }
}
    `;let _n=(()=>{class Mt extends i.AE{constructor(tn){super(tn),this.document=mn}}return Mt.\u0275fac=function(tn){return new(tn||Mt)(d.LFG(i._M))},Mt.\u0275prov=d.Yz7({token:Mt,factory:Mt.\u0275fac,providedIn:"root"}),Mt})()},60231:(ze,G,l)=>{"use strict";l.d(G,{_o:()=>fi._o,oL:()=>fi.oL,Pl:()=>gt.P,mB:()=>fi.mB,Z5:()=>Un,mo:()=>fi.mo,_0:()=>Ct._0,is:()=>Ct.is,gK:()=>fi.gK});var a=l(92845),i=l(93075),d=l(91079),p=l(63191),C=l(20449),f=l(5e3),v=l(90508),b=l(15664);const m=["button"],I=["*"],L=new f.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),M=new f.OlP("MatButtonToggleGroup"),D={provide:i.JU,useExisting:(0,f.Gpc)(()=>R),multi:!0};let A=0;class B{constructor(En,ye){this.source=En,this.value=ye}}let R=(()=>{class Ft{constructor(ye,Bt){this._changeDetector=ye,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+A++,this.valueChange=new f.vpe,this.change=new f.vpe,this.appearance=Bt&&Bt.appearance?Bt.appearance:"standard"}get name(){return this._name}set name(ye){this._name=ye,this._buttonToggles&&this._buttonToggles.forEach(Bt=>{Bt.name=this._name,Bt._markForCheck()})}get vertical(){return this._vertical}set vertical(ye){this._vertical=(0,p.Ig)(ye)}get value(){const ye=this._selectionModel?this._selectionModel.selected:[];return this.multiple?ye.map(Bt=>Bt.value):ye[0]?ye[0].value:void 0}set value(ye){this._setSelectionByValue(ye),this.valueChange.emit(this.value)}get selected(){const ye=this._selectionModel?this._selectionModel.selected:[];return this.multiple?ye:ye[0]||null}get multiple(){return this._multiple}set multiple(ye){this._multiple=(0,p.Ig)(ye)}get disabled(){return this._disabled}set disabled(ye){this._disabled=(0,p.Ig)(ye),this._buttonToggles&&this._buttonToggles.forEach(Bt=>Bt._markForCheck())}ngOnInit(){this._selectionModel=new C.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(ye=>ye.checked))}writeValue(ye){this.value=ye,this._changeDetector.markForCheck()}registerOnChange(ye){this._controlValueAccessorChangeFn=ye}registerOnTouched(ye){this._onTouched=ye}setDisabledState(ye){this.disabled=ye}_emitChangeEvent(){const ye=this.selected,Bt=Array.isArray(ye)?ye[ye.length-1]:ye,vn=new B(Bt,this.value);this._controlValueAccessorChangeFn(vn.value),this.change.emit(vn)}_syncButtonToggle(ye,Bt,vn=!1,Ne=!1){!this.multiple&&this.selected&&!ye.checked&&(this.selected.checked=!1),this._selectionModel?Bt?this._selectionModel.select(ye):this._selectionModel.deselect(ye):Ne=!0,Ne?Promise.resolve().then(()=>this._updateModelValue(vn)):this._updateModelValue(vn)}_isSelected(ye){return this._selectionModel&&this._selectionModel.isSelected(ye)}_isPrechecked(ye){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(Bt=>null!=ye.value&&Bt===ye.value):ye.value===this._rawValue)}_setSelectionByValue(ye){this._rawValue=ye,this._buttonToggles&&(this.multiple&&ye?(Array.isArray(ye),this._clearSelection(),ye.forEach(Bt=>this._selectValue(Bt))):(this._clearSelection(),this._selectValue(ye)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(ye=>ye.checked=!1)}_selectValue(ye){const Bt=this._buttonToggles.find(vn=>null!=vn.value&&vn.value===ye);Bt&&(Bt.checked=!0,this._selectionModel.select(Bt))}_updateModelValue(ye){ye&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(f.sBO),f.Y36(L,8))},Ft.\u0275dir=f.lG2({type:Ft,selectors:[["mat-button-toggle-group"]],contentQueries:function(ye,Bt,vn){if(1&ye&&f.Suo(vn,w,5),2&ye){let Ne;f.iGM(Ne=f.CRH())&&(Bt._buttonToggles=Ne)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(ye,Bt){2&ye&&(f.uIk("aria-disabled",Bt.disabled),f.ekj("mat-button-toggle-vertical",Bt.vertical)("mat-button-toggle-group-appearance-standard","standard"===Bt.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[f._Bn([D,{provide:M,useExisting:Ft}])]}),Ft})();const x=(0,v.Kr)(class{});let w=(()=>{class Ft extends x{constructor(ye,Bt,vn,Ne,ve,at){super(),this._changeDetectorRef=Bt,this._elementRef=vn,this._focusMonitor=Ne,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new f.vpe;const Rt=Number(ve);this.tabIndex=Rt||0===Rt?Rt:null,this.buttonToggleGroup=ye,this.appearance=at&&at.appearance?at.appearance:"standard"}get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(ye){this._appearance=ye}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(ye){const Bt=(0,p.Ig)(ye);Bt!==this._checked&&(this._checked=Bt,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(ye){this._disabled=(0,p.Ig)(ye)}ngOnInit(){const ye=this.buttonToggleGroup;this._isSingleSelector=ye&&!ye.multiple,this.id=this.id||"mat-button-toggle-"+A++,this._isSingleSelector&&(this.name=ye.name),ye&&(ye._isPrechecked(this)?this.checked=!0:ye._isSelected(this)!==this._checked&&ye._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const ye=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),ye&&ye._isSelected(this)&&ye._syncButtonToggle(this,!1,!1,!0)}focus(ye){this._buttonElement.nativeElement.focus(ye)}_onButtonClick(){const ye=!!this._isSingleSelector||!this._checked;ye!==this._checked&&(this._checked=ye,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new B(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(M,8),f.Y36(f.sBO),f.Y36(f.SBq),f.Y36(b.tE),f.$8M("tabindex"),f.Y36(L,8))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["mat-button-toggle"]],viewQuery:function(ye,Bt){if(1&ye&&f.Gf(m,5),2&ye){let vn;f.iGM(vn=f.CRH())&&(Bt._buttonElement=vn.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(ye,Bt){1&ye&&f.NdJ("focus",function(){return Bt.focus()}),2&ye&&(f.uIk("aria-label",null)("aria-labelledby",null)("id",Bt.id)("name",null),f.ekj("mat-button-toggle-standalone",!Bt.buttonToggleGroup)("mat-button-toggle-checked",Bt.checked)("mat-button-toggle-disabled",Bt.disabled)("mat-button-toggle-appearance-standard","standard"===Bt.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[f.qOj],ngContentSelectors:I,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(ye,Bt){if(1&ye&&(f.F$t(),f.TgZ(0,"button",0,1),f.NdJ("click",function(){return Bt._onButtonClick()}),f.TgZ(2,"span",2),f.Hsn(3),f.qZA()(),f._UZ(4,"span",3)(5,"span",4)),2&ye){const vn=f.MAs(1);f.Q6J("id",Bt.buttonId)("disabled",Bt.disabled||null),f.uIk("tabindex",Bt.disabled?-1:Bt.tabIndex)("aria-pressed",Bt.checked)("name",Bt.name||null)("aria-label",Bt.ariaLabel)("aria-labelledby",Bt.ariaLabelledby),f.xp6(5),f.Q6J("matRippleTrigger",vn)("matRippleDisabled",Bt.disableRipple||Bt.disabled)}},directives:[v.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .cdk-high-contrast-active .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],encapsulation:2,changeDetection:0}),Ft})(),k=(()=>{class Ft{}return Ft.\u0275fac=function(ye){return new(ye||Ft)},Ft.\u0275mod=f.oAB({type:Ft}),Ft.\u0275inj=f.cJS({imports:[[v.BQ,v.si],v.BQ]}),Ft})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var H=l(77446),j=l(26688),z=l(67322),le=l(98833),oe=l(85899),$=l(76360);const y=["input"],ae=function(Ft){return{enterDuration:Ft}},ge=["*"],Ve=new f.OlP("mat-radio-default-options",{providedIn:"root",factory:function $e(){return{color:"accent"}}});let Be=0;const Ee={provide:i.JU,useExisting:(0,f.Gpc)(()=>it),multi:!0};class Ie{constructor(En,ye){this.source=En,this.value=ye}}const Re=new f.OlP("MatRadioGroup");let Ge=(()=>{class Ft{constructor(ye){this._changeDetector=ye,this._value=null,this._name="mat-radio-group-"+Be++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new f.vpe}get name(){return this._name}set name(ye){this._name=ye,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ye){this._labelPosition="before"===ye?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ye){this._value!==ye&&(this._value=ye,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ye){this._selected=ye,this.value=ye?ye.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ye){this._disabled=(0,p.Ig)(ye),this._markRadiosForCheck()}get required(){return this._required}set required(ye){this._required=(0,p.Ig)(ye),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ye=>{ye.name=this.name,ye._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Bt=>{Bt.checked=this.value===Bt.value,Bt.checked&&(this._selected=Bt)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Ie(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ye=>ye._markForCheck())}writeValue(ye){this.value=ye,this._changeDetector.markForCheck()}registerOnChange(ye){this._controlValueAccessorChangeFn=ye}registerOnTouched(ye){this.onTouched=ye}setDisabledState(ye){this.disabled=ye,this._changeDetector.markForCheck()}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(f.sBO))},Ft.\u0275dir=f.lG2({type:Ft,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Ft})(),it=(()=>{class Ft extends Ge{}return Ft.\u0275fac=function(){let En;return function(Bt){return(En||(En=f.n5z(Ft)))(Bt||Ft)}}(),Ft.\u0275dir=f.lG2({type:Ft,selectors:[["mat-radio-group"]],contentQueries:function(ye,Bt,vn){if(1&ye&&f.Suo(vn,U,5),2&ye){let Ne;f.iGM(Ne=f.CRH())&&(Bt._radios=Ne)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[f._Bn([Ee,{provide:Re,useExisting:Ft}]),f.qOj]}),Ft})();class Se{constructor(En){this._elementRef=En}}const Z=(0,v.Kr)((0,v.sb)(Se));let V=(()=>{class Ft extends Z{constructor(ye,Bt,vn,Ne,ve,at,Rt,bn){super(Bt),this._changeDetector=vn,this._focusMonitor=Ne,this._radioDispatcher=ve,this._providerOverride=Rt,this._uniqueId="mat-radio-"+ ++Be,this.id=this._uniqueId,this.change=new f.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ye,this._noopAnimations="NoopAnimations"===at,bn&&(this.tabIndex=(0,p.su)(bn,0)),this._removeUniqueSelectionListener=ve.listen((Fe,ne)=>{Fe!==this.id&&ne===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(ye){const Bt=(0,p.Ig)(ye);this._checked!==Bt&&(this._checked=Bt,Bt&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Bt&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Bt&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ye){this._value!==ye&&(this._value=ye,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ye),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ye){this._labelPosition=ye}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ye){this._setDisabled((0,p.Ig)(ye))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ye){this._required=(0,p.Ig)(ye)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ye){this._color=ye}get inputId(){return`${this.id||this._uniqueId}-input`}focus(ye,Bt){Bt?this._focusMonitor.focusVia(this._inputElement,Bt,ye):this._inputElement.nativeElement.focus(ye)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ye=>{!ye&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Ie(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ye){ye.stopPropagation()}_onInputInteraction(ye){if(ye.stopPropagation(),!this.checked&&!this.disabled){const Bt=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Bt&&this.radioGroup._emitChangeEvent())}}_setDisabled(ye){this._disabled!==ye&&(this._disabled=ye,this._changeDetector.markForCheck())}_updateTabIndex(){var ye;const Bt=this.radioGroup;let vn;if(vn=Bt&&Bt.selected&&!this.disabled?Bt.selected===this?this.tabIndex:-1:this.tabIndex,vn!==this._previousTabIndex){const Ne=null===(ye=this._inputElement)||void 0===ye?void 0:ye.nativeElement;Ne&&(Ne.setAttribute("tabindex",vn+""),this._previousTabIndex=vn)}}}return Ft.\u0275fac=function(ye){f.$Z()},Ft.\u0275dir=f.lG2({type:Ft,viewQuery:function(ye,Bt){if(1&ye&&f.Gf(y,5),2&ye){let vn;f.iGM(vn=f.CRH())&&(Bt._inputElement=vn.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[f.qOj]}),Ft})(),U=(()=>{class Ft extends V{constructor(ye,Bt,vn,Ne,ve,at,Rt,bn){super(ye,Bt,vn,Ne,ve,at,Rt,bn)}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(Re,8),f.Y36(f.SBq),f.Y36(f.sBO),f.Y36(b.tE),f.Y36(C.A8),f.Y36($.Qb,8),f.Y36(Ve,8),f.$8M("tabindex"))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(ye,Bt){1&ye&&f.NdJ("focus",function(){return Bt._inputElement.nativeElement.focus()}),2&ye&&(f.uIk("tabindex",null)("id",Bt.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),f.ekj("mat-radio-checked",Bt.checked)("mat-radio-disabled",Bt.disabled)("_mat-animation-noopable",Bt._noopAnimations)("mat-primary","primary"===Bt.color)("mat-accent","accent"===Bt.color)("mat-warn","warn"===Bt.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[f.qOj],ngContentSelectors:ge,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(ye,Bt){if(1&ye&&(f.F$t(),f.TgZ(0,"label",0,1)(2,"span",2),f._UZ(3,"span",3)(4,"span",4),f.TgZ(5,"input",5,6),f.NdJ("change",function(Ne){return Bt._onInputInteraction(Ne)})("click",function(Ne){return Bt._onInputClick(Ne)}),f.qZA(),f.TgZ(7,"span",7),f._UZ(8,"span",8),f.qZA()(),f.TgZ(9,"span",9)(10,"span",10),f._uU(11,"\xa0"),f.qZA(),f.Hsn(12),f.qZA()()),2&ye){const vn=f.MAs(1);f.uIk("for",Bt.inputId),f.xp6(5),f.Q6J("id",Bt.inputId)("checked",Bt.checked)("disabled",Bt.disabled)("required",Bt.required),f.uIk("name",Bt.name)("value",Bt.value)("aria-label",Bt.ariaLabel)("aria-labelledby",Bt.ariaLabelledby)("aria-describedby",Bt.ariaDescribedby),f.xp6(2),f.Q6J("matRippleTrigger",vn)("matRippleDisabled",Bt._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",f.VKq(17,ae,Bt._noopAnimations?0:150)),f.xp6(2),f.ekj("mat-radio-label-before","before"==Bt.labelPosition)}},directives:[v.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),Ft})(),fe=(()=>{class Ft{}return Ft.\u0275fac=function(ye){return new(ye||Ft)},Ft.\u0275mod=f.oAB({type:Ft}),Ft.\u0275inj=f.cJS({imports:[[v.si,v.BQ],v.BQ]}),Ft})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var pe=l(74107),He=l(87238),et=l(34307),de=l(66678),lt=l(66759),gt=(l(8929),l(7625),l(35961));l(3892);var ct=l(59989),xe=l(24850),Jt=l(47429),hn=l(69808),gn=l(47423);const yn=new f.OlP("empty-color"),An=new f.OlP("used-colors");function Nn(Ft){if(Ft&&0!==Ft.indexOf("#")&&(Ft=`#${Ft}`),In(Ft))return Ft.toUpperCase()}function In(Ft){return!(!Ft||"#"!==Ft.charAt(0)||Ft.length<4||Ft.length>7)&&-1===Ft.replace("#","").match(/.{1,2}/g).map(En=>Number.isNaN(parseInt(En,16))).indexOf(!0)}var wn=l(591);let Wn=(()=>{class Ft{constructor(ye,Bt){this.emptyColor=ye,this._colors=new wn.X([]),this._colors.next(Bt)}addColor(ye){if(!ye||!In(ye))return;ye=Nn(ye)||this.emptyColor;const Bt=this._colors.getValue();Bt.find(vn=>vn===ye)||(Bt.push(ye),this._colors.next(Bt))}getColors(){return this._colors.asObservable()}resetUseColors(){this._colors.next([])}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.LFG(yn),f.LFG(An))},Ft.\u0275prov=f.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();function Bn(Ft,En){if(1&Ft){const ye=f.EpF();f.TgZ(0,"button",3),f.NdJ("click",function(){return f.CHM(ye),f.oxw().setTransparent()}),f._UZ(1,"div",4),f.qZA()}}function Xt(Ft,En){if(1&Ft){const ye=f.EpF();f.TgZ(0,"button",5),f.NdJ("click",function(){const Ne=f.CHM(ye).$implicit;return f.oxw().setColor(Ne)}),f.qZA()}if(2&Ft){const ye=En.$implicit,Bt=f.oxw();f.Q6J("disabled",!ye||ye===Bt.emptyColor)("mccColorPickerOption",ye)}}let Pt=(()=>{class Ft{constructor(ye,Bt){this.changeDetectorRef=ye,this.emptyColor=Bt,this._hideEmpty=!1,this.size=30,this.transparent=!1,this.changeColor=new f.vpe}set hideEmpty(ye){this._hideEmpty=(0,p.Ig)(ye)}get label(){return this._label}set label(ye){this._label=ye}get colors(){return this._colors}set colors(ye){this._colors=ye}ngAfterContentChecked(){this._colors&&this._colors.length!==this.size&&(this._colors=this._colors.slice(0,this.size).concat(new Array(this._getCollectionDiffSize())),this.changeDetectorRef.markForCheck())}_getCollectionDiffSize(){return this._colors.length>this.size||this._hideEmpty?0:this.size-this._colors.length}setTransparent(){this.changeColor.emit(this.emptyColor)}setColor(ye){this.changeColor.emit("string"==typeof ye?ye:ye.value)}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(f.sBO),f.Y36(yn))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["go-color-picker-collection"]],inputs:{hideEmpty:"hideEmpty",label:"label",colors:"colors",size:"size",transparent:"transparent"},outputs:{changeColor:"changeColor"},decls:5,vars:3,consts:[["role","listbox","aria-label","Select a color",1,"go-color-picker-collection"],["mat-mini-fab","","class","go-color-picker-remove-color mat-elevation-z0","role","option","aria-label","transparent",3,"click",4,"ngIf"],["mat-mini-fab","","class","mat-elevation-z0","role","option",3,"disabled","mccColorPickerOption","click",4,"ngFor","ngForOf"],["mat-mini-fab","","role","option","aria-label","transparent",1,"go-color-picker-remove-color","mat-elevation-z0",3,"click"],[1,"go-color-picker-transparent"],["mat-mini-fab","","role","option",1,"mat-elevation-z0",3,"disabled","mccColorPickerOption","click"]],template:function(ye,Bt){1&ye&&(f.TgZ(0,"div",0)(1,"h3"),f._uU(2),f.qZA(),f.YNc(3,Bn,2,0,"button",1),f.YNc(4,Xt,1,2,"button",2),f.qZA()),2&ye&&(f.xp6(2),f.Oqu(Bt.label),f.xp6(1),f.Q6J("ngIf",Bt.transparent),f.xp6(1),f.Q6J("ngForOf",Bt.colors))},styles:[".go-color-picker-collection[_ngcontent-%COMP%]{min-height:50px;padding:10px 18px}.go-color-picker-collection[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:#100214;text-transform:uppercase;font-family:Open Sans,sans-serif;font-size:12px;font-weight:700;margin:0 0 10px}.go-color-picker-remove-color[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #e1e1e1}.go-color-picker-remove-color[_ngcontent-%COMP%]   .go-color-picker-transparent[_ngcontent-%COMP%]{width:20px;height:1px;border-bottom:1px solid red;transform:translateY(-4px) translate(0) rotate(45deg);-webkit-transform:translateY(-4px) translateX(0px) rotate(45deg)}button[_ngcontent-%COMP%]{width:22px;height:22px;cursor:pointer;margin:3px}"],changeDetection:0}),Ft})();const ht=["block"],be=["blockPointer"],Ze=["blockCanvas"],_t=["strip"],st=["stripContainer"];function Ut(Ft,En){if(1&Ft&&(f.ynx(0),f.TgZ(1,"form",13)(2,"mat-form-field",14),f._UZ(3,"input",15),f.qZA()(),f.TgZ(4,"form",13)(5,"mat-form-field",16),f._UZ(6,"input",17),f.qZA(),f.TgZ(7,"mat-form-field",16),f._UZ(8,"input",18),f.qZA(),f.TgZ(9,"mat-form-field",16),f._UZ(10,"input",19),f.qZA()(),f.BQk()),2&Ft){const ye=f.oxw();f.xp6(1),f.Q6J("formGroup",ye.hexForm),f.xp6(1),f.Q6J("ngClass",ye.textClass),f.xp6(1),f.Q6J("value",ye.selectedColor),f.xp6(1),f.Q6J("formGroup",ye.rgbForm),f.xp6(1),f.Q6J("ngClass",ye.textClass),f.xp6(2),f.Q6J("ngClass",ye.textClass),f.xp6(2),f.Q6J("ngClass",ye.textClass)}}const Ht=function(Ft){return{"height.px":Ft}};let dn=(()=>{class Ft{constructor(ye,Bt,vn){this.formBuilder=ye,this.render=Bt,this.emptyColor=vn,this._height=170,this._selectedColor="",this._hideHexForms=!1,this.changeSelectedColor=new f.vpe,this._rgbaColor="rgba(255,0,0,1)",this.textClass="black",this._isPressed=!1,this.rgbKeys=["R","G","B"]}set blockCursor(ye){this._bc=ye}set stripCursor(ye){this._sc=ye}set height(ye){this._height=ye}get selectorHeight(){return this._height}get stripHeight(){return this._height-10}get selectedColor(){return this._selectedColor}set selectedColor(ye){this._selectedColor=ye||this.emptyColor}get hideHexForms(){return this._hideHexForms}set hideHexForms(ye){this._hideHexForms=ye}ngOnInit(){this._tmpSelectedColor=new wn.X(this._selectedColor),this._tmpSelectedColorSub=this._tmpSelectedColor.subscribe(vn=>{vn!==this._selectedColor&&In(vn)&&(this.hexForm.get("hexCode").value!==vn&&this.hexForm.setValue({hexCode:vn}),this.changeSelectedColor.emit(Nn(vn)||this.emptyColor))}),this.hexForm=this.formBuilder.group({hexCode:[this.selectedColor,[i.kI.minLength(7),i.kI.maxLength(7)]]});const ye={},Bt=this._getRGB();this.rgbKeys.forEach((vn,Ne)=>ye[vn]=new i.NI(Bt[Ne],{validators:[i.kI.min(0),i.kI.max(256),i.kI.required,i.kI.maxLength(3)],updateOn:"blur"})),this.rgbForm=this.formBuilder.group(ye),this._onChanges()}ngOnChanges(ye){if("selectedColor"in ye&&ye.selectedColor.currentValue!==this.emptyColor){this._isPressed||(this._updateRGB(),this._updateRGBA(),this._blockContext&&this._fillGradient());const Bt=this._getRGB(),vn=Math.round((299*Bt[0]+587*Bt[1]+114*Bt[2])/1e3);this.textClass=vn>125?"black":"white"}}ngOnDestroy(){this._tmpSelectedColorSub&&!this._tmpSelectedColorSub.closed&&this._tmpSelectedColorSub.unsubscribe(),this._hexValuesSub&&!this._hexValuesSub.closed&&this._hexValuesSub.unsubscribe(),this._rgbValuesSub&&!this._rgbValuesSub.closed&&this._rgbValuesSub.unsubscribe()}ngAfterViewInit(){this.render.listen(this._block.nativeElement,"mousedown",Bt=>{this._isPressed=!0,this.changeColor(Bt)}),this.render.listen(this._block.nativeElement,"mouseup",()=>this._isPressed=!1),this.render.listen(this._block.nativeElement,"mouseout",()=>this._isPressed=!1),this.render.listen(this._block.nativeElement,"mousemove",Bt=>this.changeColor(Bt)),this._blockContext=this._bc.nativeElement.getContext("2d"),this._blockContext.rect(0,0,this._bc.nativeElement.width,this._bc.nativeElement.height),this.render.listen(this._strip.nativeElement,"mousedown",Bt=>{this._isPressed=!0,this.changeBaseColor(Bt)}),this.render.listen(this._strip.nativeElement,"mouseup",()=>this._isPressed=!1),this.render.listen(this._strip.nativeElement,"mouseout",()=>this._isPressed=!1),this.render.listen(this._strip.nativeElement,"mousemove",Bt=>this.changeBaseColor(Bt)),this._stripContext=this._strip.nativeElement.getContext("2d"),this._stripContext.rect(0,0,this._strip.nativeElement.width,this._strip.nativeElement.height);const ye=this._stripContext.createLinearGradient(0,0,0,this._bc.nativeElement.height);ye.addColorStop(0,"rgba(255, 0, 0, 1)"),ye.addColorStop(.17,"rgba(255, 255, 0, 1)"),ye.addColorStop(.34,"rgba(0, 255, 0, 1)"),ye.addColorStop(.51,"rgba(0, 255, 255, 1)"),ye.addColorStop(.68,"rgba(0, 0, 255, 1)"),ye.addColorStop(.85,"rgba(255, 0, 255, 1)"),ye.addColorStop(1,"rgba(255, 0, 0, 1)"),this._stripContext.fillStyle=ye,this._stripContext.fill(),this._fillGradient()}_fillGradient(){this._blockContext.fillStyle=this._rgbaColor,this._blockContext.fillRect(0,0,this._bc.nativeElement.width,this._bc.nativeElement.height);const ye=this._stripContext.createLinearGradient(0,0,this._bc.nativeElement.width,0);ye.addColorStop(0,"rgba(255,255,255,1)"),ye.addColorStop(1,"rgba(255,255,255,0)"),this._blockContext.fillStyle=ye,this._blockContext.fillRect(0,0,this._bc.nativeElement.width,this._bc.nativeElement.height);const Bt=this._stripContext.createLinearGradient(0,0,0,this._bc.nativeElement.height);Bt.addColorStop(0,"rgba(0,0,0,0)"),Bt.addColorStop(1,"rgba(0,0,0,1)"),this._blockContext.fillStyle=Bt,this._blockContext.fillRect(0,0,this._bc.nativeElement.width,this._bc.nativeElement.height)}_onChanges(){this._hexValuesSub=this.hexForm.get("hexCode").valueChanges.pipe((0,xe.U)(ye=>ye!==this.emptyColor?Nn(ye):ye)).subscribe(ye=>{!this._isPressed&&In(ye)&&this._tmpSelectedColor.next(ye||this.emptyColor)}),this._rgbValuesSub=this.rgbForm.valueChanges.subscribe(ye=>{const Bt=[];for(const Ne of Object.keys(ye))Bt.push(!ye[Ne]&&0!==ye[Ne]||ye[Ne]>255?"":ye[Ne]);const vn=this._getHex(Bt);vn!==this._selectedColor&&7===vn.length&&this._tmpSelectedColor.next(vn)})}_getRGB(ye){if(ye)return[ye[0],ye[1],ye[2]];const Bt=this._selectedColor.replace("#","");return[parseInt(Bt.slice(0,2),16),parseInt(Bt.slice(2,4),16),parseInt(Bt.slice(4,6),16)]}_getHex(ye){const Bt=new Array(3);return Bt[0]=ye[0].toString(16),Bt[1]=ye[1].toString(16),Bt[2]=ye[2].toString(16),Bt.forEach((vn,Ne)=>{1===vn.length&&(Bt[Ne]="0"+Bt[Ne])}),Nn(`${Bt[0]}${Bt[1]}${Bt[2]}`)||this.emptyColor}_updateRGBA(ye){!this._selectedColor&&!ye&&(this._rgbaColor="rgba(255,0,0,1)");const Bt=this._getRGB(ye);this._rgbaColor=`rgba(${Bt[0]}, ${Bt[1]}, ${Bt[2]}, 1)`}_updateRGB(ye){!this.rgbForm||(ye||(ye=this._getRGB()),this.rgbForm.setValue({R:ye[0],G:ye[1],B:ye[2]}))}changeBaseColor(ye){if(this._isPressed){this.render.setStyle(this._sc.nativeElement,"background-position-y",`${ye.offsetY}px`);const Bt=this._stripContext.getImageData(ye.offsetX,ye.offsetY,1,1).data;this._updateRGBA(Bt),this._fillGradient(),this.updateValues(Bt)}}changeColor(ye){if(this._isPressed){this.render.setStyle(this._bp.nativeElement,"top",ye.offsetY-5+"px"),this.render.setStyle(this._bp.nativeElement,"left",ye.offsetX-5+"px");const Bt=this._blockContext.getImageData(ye.offsetX,ye.offsetY,1,1).data;this.updateValues(Bt)}}updateValues(ye){ye&&(this._updateRGB(ye),this._tmpSelectedColor.next(this._getHex(ye)))}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(i.qu),f.Y36(f.Qsj),f.Y36(yn))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["go-color-picker-selector"]],viewQuery:function(ye,Bt){if(1&ye&&(f.Gf(ht,5),f.Gf(be,5),f.Gf(Ze,5),f.Gf(_t,5),f.Gf(st,5)),2&ye){let vn;f.iGM(vn=f.CRH())&&(Bt._block=vn.first),f.iGM(vn=f.CRH())&&(Bt._bp=vn.first),f.iGM(vn=f.CRH())&&(Bt.blockCursor=vn.first),f.iGM(vn=f.CRH())&&(Bt._strip=vn.first),f.iGM(vn=f.CRH())&&(Bt.stripCursor=vn.first)}},inputs:{height:"height",selectedColor:"selectedColor",hideHexForms:"hideHexForms"},outputs:{changeSelectedColor:"changeSelectedColor"},features:[f.TTD],decls:13,vars:8,consts:[[1,"go-color-picker-selector",3,"ngStyle"],[1,"go-picker-selector"],["block",""],["width","230","id","picker",3,"height"],["blockCanvas",""],[1,"go-picker-position",2,"top","0px","left","220px"],["blockPointer",""],[1,"go-colors-position",2,"background-position-y","0px"],["stripContainer",""],["width","20","id","colors",3,"height"],["strip",""],[1,"go-color-picker-selector-preview"],[4,"ngIf"],[3,"formGroup"],["floatLabel","always",1,"hex-input",3,"ngClass"],["matInput","","autocomplete","off","placeholder","HEX","maxlength","7","formControlName","hexCode",3,"value"],["floatLabel","always",1,"rgb-input",3,"ngClass"],["matInput","","autocomplete","off","type","number","placeholder","RGB","maxlength","3","formControlName","R"],["matInput","","autocomplete","off","type","number","maxlength","3","formControlName","G"],["matInput","","autocomplete","off","type","number","maxlength","3","formControlName","B"]],template:function(ye,Bt){1&ye&&(f.TgZ(0,"div",0),f._UZ(1,"div",1,2)(3,"canvas",3,4)(5,"div",5,6),f.TgZ(7,"div",7,8),f._UZ(9,"canvas",9,10),f.qZA()(),f.TgZ(11,"div",11),f.YNc(12,Ut,11,7,"ng-container",12),f.qZA()),2&ye&&(f.Q6J("ngStyle",f.VKq(6,Ht,Bt.selectorHeight)),f.xp6(3),f.Q6J("height",Bt.selectorHeight),f.xp6(6),f.Q6J("height",Bt.stripHeight),f.xp6(2),f.Udp("background",Bt.selectedColor),f.xp6(1),f.Q6J("ngIf",!Bt.hideHexForms))},directives:[hn.PC,hn.O5,i._Y,i.JL,i.sg,z.KE,hn.mk,le.Nt,i.Fj,i.nD,i.JJ,i.u,i.wV],styles:["canvas#colors[_ngcontent-%COMP%]{margin:5px}canvas[_ngcontent-%COMP%]:hover{cursor:crosshair}.go-picker-selector[_ngcontent-%COMP%]{position:absolute;width:230px;height:170px;top:0;left:0;z-index:10;cursor:crosshair}.go-picker-position[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;z-index:1;border:1px #ddd solid;border-radius:50%;background:rgba(0,0,0,.3)}.go-colors-position[_ngcontent-%COMP%]{position:absolute;width:30px;height:160px;top:0;right:0;z-index:1;background:url(data:image/gif;base64,R0lGODdhHgAIALMAAAAAADU1NTk5OUJCQkpKSlZWVltbW2pqaoCAgP///wAAAAAAAAAAAAAAAAAAAAAAACH5BAkAAAoALAAAAAAeAAgAAAQw0BhFq734yjJm/p8xFEVAeGCqGERACmahgkUrvPH81cFdnjoQy8VBBTOiguSokkQAADs=) no-repeat}.go-color-picker-selector[_ngcontent-%COMP%]{height:170px}  mat-form-field{font-family:Open Sans;font-size:11px;font-weight:700}  mat-form-field.black{color:#100214}  mat-form-field.black label{color:#100214}  mat-form-field.black .mat-form-field-underline{background-color:#100214}  mat-form-field.white{color:#fff}  mat-form-field.white label{color:#fff}  mat-form-field.white .mat-form-field-underline{background-color:#fff}.go-color-picker-selector-preview[_ngcontent-%COMP%]{height:40px;padding:15px;border-bottom:1px #e1e1e1 solid;box-sizing:content-box}.go-color-picker-selector-preview[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:inline-block;position:relative}.go-color-picker-selector-preview[_ngcontent-%COMP%]   .hex-input[_ngcontent-%COMP%]{width:75px;margin-right:20px}.go-color-picker-selector-preview[_ngcontent-%COMP%]   .hex-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px;font-weight:400}.go-color-picker-selector-preview[_ngcontent-%COMP%]   .rgb-input[_ngcontent-%COMP%]{width:40px;margin-right:5px}.go-color-picker-selector-preview[_ngcontent-%COMP%]   .rgb-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px;font-weight:400}"],changeDetection:0}),Ft})();function jt(Ft,En){1&Ft&&f._UZ(0,"div",7)}function ce(Ft,En){}function Ce(Ft,En){if(1&Ft&&f.YNc(0,ce,0,0,"ng-template",8),2&Ft){f.oxw(2);const ye=f.MAs(3);f.Q6J("cdkPortalOutlet",ye)}}const Qe=function(Ft){return{empty:Ft}};function rt(Ft,En){if(1&Ft){const ye=f.EpF();f.ynx(0),f.TgZ(1,"button",3,4),f.NdJ("click",function(){return f.CHM(ye),f.oxw().toggle()}),f.YNc(3,jt,1,0,"div",5),f.qZA(),f.YNc(4,Ce,1,1,"ng-template",6),f.NdJ("backdropClick",function(){return f.CHM(ye),f.oxw().backdropClick()}),f.BQk()}if(2&Ft){const ye=f.MAs(2),Bt=f.oxw();f.xp6(1),f.Udp("background",Bt.selectedColor),f.Q6J("ngClass",f.VKq(6,Qe,Bt.selectedColor===Bt.emptyColor)),f.xp6(2),f.Q6J("ngIf",Bt.selectedColor===Bt.emptyColor),f.xp6(1),f.Q6J("cdkConnectedOverlayOrigin",ye)("cdkConnectedOverlayOpen",Bt.isOpen)}}function Nt(Ft,En){}function sn(Ft,En){if(1&Ft&&f.YNc(0,Nt,0,0,"ng-template",8),2&Ft){f.oxw();const ye=f.MAs(3);f.Q6J("cdkPortalOutlet",ye)}}function On(Ft,En){if(1&Ft){const ye=f.EpF();f.TgZ(0,"go-color-picker-selector",13),f.NdJ("changeSelectedColor",function(vn){return f.CHM(ye),f.oxw(2).updateTmpSelectedColor(vn)}),f.ALo(1,"async"),f.qZA()}if(2&Ft){const ye=f.oxw(2);f.Q6J("selectedColor",f.lcZ(1,3,ye.tmpSelectedColor$))("hideHexForms",ye.hideHexForms)("height",ye.colorPickerSelectorHeight)}}function Ln(Ft,En){if(1&Ft){const ye=f.EpF();f.TgZ(0,"go-color-picker-collection",14),f.NdJ("changeColor",function(vn){return f.CHM(ye),f.oxw(2).updateTmpSelectedColor(vn)}),f.ALo(1,"async"),f.qZA()}if(2&Ft){const ye=f.oxw(2);f.Q6J("label",ye.usedColorLabel)("size",ye.usedSizeColors)("transparent",!ye.hideTransparent)("hideEmpty",ye.hideEmpty)("colors",f.lcZ(1,5,ye.usedColors$))}}function zn(Ft,En){if(1&Ft){const ye=f.EpF();f.TgZ(0,"div",15)(1,"button",16),f.NdJ("click",function(){return f.CHM(ye),f.oxw(2).cancelSelection()}),f._uU(2),f.qZA(),f.TgZ(3,"button",17),f.NdJ("click",function(){return f.CHM(ye),f.oxw(2).confirmSelectedColor()}),f._uU(4),f.qZA()()}if(2&Ft){const ye=f.oxw(2);f.xp6(2),f.hij(" ",ye.btnCancel," "),f.xp6(2),f.hij(" ",ye.btnConfirm," ")}}function hi(Ft,En){if(1&Ft&&(f.TgZ(0,"div",9),f.YNc(1,On,2,5,"go-color-picker-selector",10),f.YNc(2,Ln,2,7,"go-color-picker-collection",11),f.Hsn(3),f.YNc(4,zn,5,2,"div",12),f.qZA()),2&Ft){const ye=f.oxw();f.xp6(1),f.Q6J("ngIf",!ye.hideColorPickerSelector),f.xp6(1),f.Q6J("ngIf",!ye.hideUsedColors),f.xp6(2),f.Q6J("ngIf",!ye.hideButtons)}}const mi=["*"];let gi=(()=>{class Ft{constructor(ye,Bt,vn){this.changeDetectorRef=ye,this.colorPickerService=Bt,this.emptyColor=vn,this._usedColorLabel="Used Colors",this._reverseUsedColor=!1,this._hideHexForms=!1,this._hideEmpty=!1,this._hideTransparent=!1,this._hideUsedColors=!1,this._isOpen=!1,this._overlay=!0,this._hideButtons=!1,this._colorPickerSelectorHeight=170,this._hideColorPickerSelector=!1,this.usedSizeColors=30,this.btnCancel="Cancel",this.btnConfirm="Confirm",this.change=new f.vpe,this.selected=new f.vpe,this.clickOut=new f.vpe,this._collectionSubs=[]}get usedColorLabel(){return this._usedColorLabel}set usedColorLabel(ye){this._usedColorLabel=ye}set usedColorStart(ye){if(ye&&ye.length>0)for(const Bt of ye)this.colorPickerService.addColor(Bt)}set reverseUsedColors(ye){this._reverseUsedColor=(0,p.Ig)(ye)}get hideHexForms(){return this._hideHexForms}set hideHexForms(ye){this._hideHexForms=ye}get hideEmpty(){return this._hideEmpty}set hideEmpty(ye){this._hideEmpty=(0,p.Ig)(ye)}get hideTransparent(){return this._hideTransparent}set hideTransparent(ye){this._hideTransparent=(0,p.Ig)(ye)}get hideUsedColors(){return this._hideUsedColors}set hideUsedColors(ye){this._hideUsedColors=(0,p.Ig)(ye)}get selectedColor(){return this._selectedColor}set selectedColor(ye){this._selectedColor!==ye&&this.changeDetectorRef.markForCheck(),this._selectedColor=Nn(ye)||this.emptyColor}get isOpen(){return this._isOpen}set isOpen(ye){this._isOpen=(0,p.Ig)(ye)}get overlay(){return this._overlay}set overlay(ye){this._overlay=(0,p.Ig)(ye)}get hideButtons(){return this._hideButtons}set hideButtons(ye){this._hideButtons=(0,p.Ig)(ye)}get colorPickerSelectorHeight(){return this._colorPickerSelectorHeight}set colorPickerSelectorHeight(ye){this._colorPickerSelectorHeight=ye}get hideColorPickerSelector(){return this._hideColorPickerSelector}set hideColorPickerSelector(ye){this._hideColorPickerSelector=(0,p.Ig)(ye)}get tmpSelectedColor$(){return this._tmpSelectedColor.asObservable()}get usedColors$(){return this.colorPickerService.getColors().pipe((0,xe.U)(ye=>this._reverseUsedColor?[...ye].reverse():ye))}ngOnInit(){this._selectedColor||(this._selectedColor=this.emptyColor),this._tmpSelectedColor=new wn.X(this._selectedColor)}ngAfterContentInit(){this._collections&&this._collections.forEach(ye=>{const Bt=ye.changeColor.subscribe(vn=>{this.updateTmpSelectedColor(vn)});this._collectionSubs.push(Bt)})}ngOnDestroy(){this._collectionSubs&&this._collectionSubs.forEach(ye=>{ye&&!ye.closed&&ye.unsubscribe()})}_updateSelectedColor(){if(this._isOpen||!this.overlay){const ye=this._tmpSelectedColor.getValue();this._selectedColor!==ye?(this._selectedColor=ye,this.selected.next(this._selectedColor)):this.selected.emit(this._selectedColor)}}toggle(){this._isOpen=!this._isOpen,!this._isOpen&&this._selectedColor!==this.emptyColor&&this.colorPickerService.addColor(this._selectedColor)}backdropClick(){this._hideButtons?this.confirmSelectedColor():this.cancelSelection(),this.clickOut.emit(null)}updateTmpSelectedColor(ye){ye&&(this._tmpSelectedColor.next(ye),this.change.next(ye),this._hideButtons&&this._updateSelectedColor())}cancelSelection(){this._tmpSelectedColor.next(this._selectedColor),this.toggle()}confirmSelectedColor(){this._updateSelectedColor(),this.toggle()}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(f.sBO),f.Y36(Wn),f.Y36(yn))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["go-color-picker"]],contentQueries:function(ye,Bt,vn){if(1&ye&&f.Suo(vn,Pt,4),2&ye){let Ne;f.iGM(Ne=f.CRH())&&(Bt._collections=Ne)}},inputs:{usedColorLabel:"usedColorLabel",usedColorStart:"usedColorStart",reverseUsedColors:"reverseUsedColors",hideHexForms:"hideHexForms",hideEmpty:["hideEmptyUsedColors","hideEmpty"],hideTransparent:["hideTransparentUsedColors","hideTransparent"],hideUsedColors:"hideUsedColors",selectedColor:"selectedColor",isOpen:"isOpen",overlay:"overlay",hideButtons:"hideButtons",colorPickerSelectorHeight:"colorPickerSelectorHeight",hideColorPickerSelector:"hideColorPickerSelector",usedSizeColors:"usedSizeColors",btnCancel:"btnCancel",btnConfirm:"btnConfirm"},outputs:{change:"change",selected:"selected",clickOut:"clickOut"},ngContentSelectors:mi,decls:4,vars:2,consts:[[4,"ngIf"],["cdkPortal",""],["overlayPanel","cdkPortal"],["type","button","cdkOverlayOrigin","",1,"btn-picker",3,"ngClass","click"],["trigger","cdkOverlayOrigin"],["class","transparent",4,"ngIf"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","go-color-picker-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","backdropClick"],[1,"transparent"],[3,"cdkPortalOutlet"],["role","dialog","aria-label","Color picker",1,"go-color-picker-overlay","mat-elevation-z6"],[3,"selectedColor","hideHexForms","height","changeSelectedColor",4,"ngIf"],[3,"label","size","transparent","hideEmpty","colors","changeColor",4,"ngIf"],["class","go-color-picker-actions",4,"ngIf"],[3,"selectedColor","hideHexForms","height","changeSelectedColor"],[3,"label","size","transparent","hideEmpty","colors","changeColor"],[1,"go-color-picker-actions"],["mat-button","","role","button","aria-label","Cancel",3,"click"],["mat-button","","role","button","aria-label","Confirm",3,"click"]],template:function(ye,Bt){1&ye&&(f.F$t(),f.YNc(0,rt,5,8,"ng-container",0),f.YNc(1,sn,1,1,null,0),f.YNc(2,hi,5,3,"ng-template",1,2,f.W1O)),2&ye&&(f.Q6J("ngIf",Bt.overlay),f.xp6(1),f.Q6J("ngIf",!Bt.overlay))},directives:[hn.O5,a.xu,hn.mk,a.pI,Jt.Pl,Jt.ig,dn,Pt,gn.lW],pipes:[hn.Ov],styles:['@import"https://fonts.googleapis.com/css?family=Open+Sans:400,700";.btn-picker[_ngcontent-%COMP%]{width:25px;height:25px;cursor:pointer;background:none;border:2px solid #dddddd}.btn-picker.empty[_ngcontent-%COMP%]{background:#ffffff!important}.go-color-picker-overlay[_ngcontent-%COMP%]{display:flex;width:260px;min-height:80px;position:relative;flex-direction:column;padding:0;background:#ffffff;font-family:Open Sans,sans-serif}.go-color-picker-overlay[_ngcontent-%COMP%]   .go-color-picker-preview[_ngcontent-%COMP%]{width:100%;height:8px}.transparent[_ngcontent-%COMP%]{width:32px;height:2px;border-bottom:2px solid red;transform:translateY(-3px) translate(-2px) rotate(45deg);-webkit-transform:translateY(-2px) translateX(-11px) rotate(45deg);position:absolute}.go-color-picker-actions[_ngcontent-%COMP%]{display:flex;padding:4px;border-top:1px #dddddd solid}.go-color-picker-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#100214;text-transform:uppercase;font-family:Open Sans,sans-serif;font-size:12px;font-weight:400;flex-grow:1}'],changeDetection:0}),Ft})(),ki=(()=>{class Ft{constructor(ye,Bt,vn){this.elementRef=ye,this.render=Bt,this.emptyColor=vn,this._color=vn}get color(){return this._color}set color(ye){this._color=ye}ngAfterViewInit(){if(this.color){let ye;"string"==typeof this.color?ye=this.color:(ye=this.color.value,this.render.setAttribute(this.elementRef.nativeElement,"aria-label",this.color.text)),In(ye)&&this.render.setStyle(this.elementRef.nativeElement,"background",Nn(ye)||this.emptyColor)}}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(f.SBq),f.Y36(f.Qsj),f.Y36(yn))},Ft.\u0275dir=f.lG2({type:Ft,selectors:[["","mccColorPickerOption",""],["","go-color-picker-option",""]],inputs:{color:["mccColorPickerOption","color"]},exportAs:["mccColorPickerOption"]}),Ft})(),ji=(()=>{class Ft{constructor(ye,Bt,vn){this.elementRef=ye,this.renderer=Bt,this.emptyColor=vn,this.change=new wn.X(""),Bt.listen(ye.nativeElement,"keyup",Ne=>{const ve=Ne.currentTarget.value;Ne.isTrusted&&In(ve)&&this.writeValueFromKeyup(Nn(ve)||this.emptyColor)})}writeValue(ye){this.renderer.setProperty(this.elementRef.nativeElement,"value",ye),this.change.next(ye),this.propagateChanges&&this.propagateChanges(ye)}writeValueFromColorPicker(ye){this.renderer.setProperty(this.elementRef.nativeElement,"value",ye),this.propagateChanges(ye)}writeValueFromKeyup(ye){this.change.next(ye),this.propagateChanges(ye)}registerOnChange(ye){this.propagateChanges=ye}registerOnTouched(ye){}setDisabledState(ye){this.renderer.setProperty(this.elementRef.nativeElement,"disabled",ye)}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(f.SBq),f.Y36(f.Qsj),f.Y36(yn))},Ft.\u0275dir=f.lG2({type:Ft,selectors:[["","go-color-picker-origin",""],["","mccColorPickerOrigin",""]],outputs:{change:"change"},exportAs:["mccColorPickerOrigin"],features:[f._Bn([{provide:i.JU,useExisting:(0,f.Gpc)(()=>Ft),multi:!0}])]}),Ft})(),Ki=(()=>{class Ft{constructor(ye,Bt,vn){this.colorPicker=ye,this.changeDetectorRef=Bt,this.emptyColor=vn}ngAfterViewInit(){this._colorPickerSub||this._attachColorPicker()}ngOnDestroy(){this._colorPickerSub&&!this._colorPickerSub.closed&&this._colorPickerSub.unsubscribe(),this._originSub&&!this._originSub.closed&&this._originSub.unsubscribe()}_attachColorPicker(){this._originSub=this.origin.change.subscribe(ye=>{(In(ye)||ye===this.emptyColor&&this.colorPicker.selectedColor!==this.emptyColor)&&this.colorPicker.updateTmpSelectedColor(ye),this.colorPicker.selectedColor=ye,this.changeDetectorRef.detectChanges()}),this._colorPickerSub=this.colorPicker.change.subscribe(ye=>this.origin.writeValueFromColorPicker(ye))}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36(gi),f.Y36(f.sBO),f.Y36(yn))},Ft.\u0275dir=f.lG2({type:Ft,selectors:[["","go-connected-color-picker",""],["","mccConnectedColorPicker",""]],inputs:{origin:["mccConnectedColorPickerOrigin","origin"]},exportAs:["mccConnectedColorPicker"]}),Ft})(),Ni=(()=>{class Ft{static forRoot(ye){return{ngModule:Ft,providers:[{provide:yn,useValue:ye.empty_color||"none"},{provide:An,useValue:ye.used_colors||[]}]}}}return Ft.\u0275fac=function(ye){return new(ye||Ft)},Ft.\u0275mod=f.oAB({type:Ft}),Ft.\u0275inj=f.cJS({providers:[Wn,{provide:yn,useValue:"none"},{provide:An,useValue:[]}],imports:[[hn.ez,Jt.eL,a.U8,i.UX,gn.ot,z.lN,le.c]]}),Ft})();f.B6R(Pt,[hn.O5,gn.lW,hn.sg,ki],[]);var Kn=l(24071),vi=l(36787),Ai=l(94064);function Ji(Ft,En){1&Ft&&f.Hsn(0,0,["*ngSwitchCase","false"])}function Xi(Ft,En){1&Ft&&f.Hsn(0,1,["*ngSwitchCase","true"])}const Li=[[["mat-hint"]],[["mat-error"]]],cn=["mat-hint","mat-error"];let qn=(()=>{class Ft{constructor(ye,Bt,vn){this.formGroupDirective=ye,this.cd=Bt,this.host=vn,this.showError=!1,this.isErrorState=(new fi.mB).isErrorState}ngOnInit(){this.watchChanges()}watchChanges(){this.sub=(0,vi.T)(this.formGroupDirective.ngSubmit,this.host.formControl.statusChanges).subscribe(()=>this.determineDisplayedMessage())}determineDisplayedMessage(){this.showError=!!this.isErrorState(this.host.formControl,this.formGroupDirective),this.cd.markForCheck()}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36((0,f.Gpc)(()=>i.sg)),f.Y36(f.sBO),f.Y36(Ai.l,8))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["go-form-field-subscript"]],ngContentSelectors:cn,decls:3,vars:3,consts:[[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"]],template:function(ye,Bt){1&ye&&(f.F$t(Li),f.TgZ(0,"div",0),f.YNc(1,Ji,1,0,"ng-content",1),f.YNc(2,Xi,1,0,"ng-content",1),f.qZA()),2&ye&&(f.Q6J("ngSwitch",Bt.showError),f.xp6(1),f.Q6J("ngSwitchCase",!1),f.xp6(1),f.Q6J("ngSwitchCase",!0))},directives:[hn.RF,hn.n9],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),Ft})();var Qn=l(73617),fi=l(21222);function oi(Ft,En){1&Ft&&(f.ynx(0),f.TgZ(1,"div",4),f._UZ(2,"div",5)(3,"div",6)(4,"div",7),f.qZA(),f.TgZ(5,"div",8),f._UZ(6,"div",5)(7,"div",6)(8,"div",7),f.qZA(),f.BQk())}const Xn=["*",[["go-form-field-subscript"]]],Bi=["*","go-form-field-subscript"];let ir=(()=>{class Ft{constructor(ye,Bt,vn){this.formGroupDirective=ye,this.cd=Bt,this.host=vn,this.isErrorState=(new fi.mB).isErrorState}ngAfterContentInit(){this.watchChanges(),this.initClasses()}initClasses(){this.showOutline="outline"===this.host.appearance,this.classes={"full-width":this.host.fullWidth,"mat-form-field-invalid":!1,"mat-form-field-appearance-outline":"outline"===this.host.appearance}}watchChanges(){this.sub=(0,vi.T)(this.formGroupDirective.ngSubmit,this.host.formControl.statusChanges).subscribe(()=>this.determineDisplayedMessage())}determineDisplayedMessage(){this.classes["mat-form-field-invalid"]=!!this.isErrorState(this.host.formControl,this.formGroupDirective),this.cd.markForCheck()}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}}return Ft.\u0275fac=function(ye){return new(ye||Ft)(f.Y36((0,f.Gpc)(()=>i.sg)),f.Y36(f.sBO),f.Y36(Ai.l,8))},Ft.\u0275cmp=f.Xpm({type:Ft,selectors:[["go-form-field"]],ngContentSelectors:Bi,decls:6,vars:2,consts:[[1,"mat-form-field",3,"ngClass"],[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex"],[4,"ngIf"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"]],template:function(ye,Bt){1&ye&&(f.F$t(Xn),f.TgZ(0,"div",0)(1,"div",1)(2,"div",2),f.Hsn(3),f.YNc(4,oi,9,0,"ng-container",3),f.qZA(),f.Hsn(5,1),f.qZA()()),2&ye&&(f.Q6J("ngClass",Bt.classes),f.xp6(4),f.Q6J("ngIf",Bt.showOutline))},directives:[hn.mk,hn.O5],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),Ft})();var Yi=l(77737);l(5505);var Zt=l(27930),Ct=l(19927),Et=l(33816),Ke=l(93552),Lt=l(25245);let Un=(()=>{class Ft{}return Ft.\u0275fac=function(ye){return new(ye||Ft)},Ft.\u0275mod=f.oAB({type:Ft}),Ft.\u0275inj=f.cJS({providers:[a.uw,{provide:v.rD,useClass:fi.mB}],imports:[[et.wV,i.UX,z.lN,le.c,pe.LD,fe,H.p9,j.Hi,d.Bb,He.AV,oe.Cv,k,de.Cq,Ni,lt.I],i.UX,z.lN,le.c,pe.LD,fe,H.p9,j.Hi,d.Bb,He.AV]}),Ft})();f.B6R(ct.u$,[ir,hn.mk,H.oG,i.JJ,i.oH,z.hX,hn.tP,qn,z.bx,z.TO],[]),f.B6R(ct.Lr,[z.KE,fi.L,hn.mk,z.hX,hn.tP,le.Nt,i.Fj,fi.Vb,i.JJ,i.u,Qn.V,z.R9,de.zI,z.bx,z.TO],[]),f.B6R(ct.b3,[z.KE,fi.L,hn.mk,z.hX,hn.tP,le.Nt,i.Fj,fi.Vb,i.JJ,i.u,Qn.V,z.R9,de.zI,z.bx,z.TO],[]),f.B6R(ct.xs,[ir,hn.mk,z.hX,hn.tP,i.Fj,i.JJ,i.oH,i.u,de.BW,z.bx,z.TO],[Et.j]),f.B6R(ct.UK,[ir,hn.mk,it,i.JJ,i.oH,hn.sg,U,z.hX,hn.tP,qn,z.bx,z.TO],[Ke.z]),f.B6R(ct.fu,[ir,hn.mk,z.hX,hn.tP,hn.RF,hn.n9,i.K7,i.JJ,i.oH,hn.sg,i.YN,i.Kr,hn.ED,i.EJ,R,w,hn.O5,H.oG,qn,z.bx,z.TO],[]),f.B6R(ct.Yr,[ir,z.hX,hn.O5,hn.mk,gn.lW,Lt.Hw,oe.pW,qn,z.bx,hn.tP,z.TO],[]),f.B6R(ct.Gq,[z.KE,fi.L,hn.mk,z.hX,hn.tP,fi.Uw,fi.pb,i.JJ,i.oH,le.Nt,Ct.U4,d.ZL,d.XC,hn.sg,v.ey,Qn.V,z.R9,hn.O5,z.bx],[]),f.B6R(ct.jg,[z.KE,fi.L,le.Nt,i.Fj,i.JJ,i.oH,hn.O5,i.JL,i.sg,Yi.s,hn.mk,ct.Lr,Kn.P,ct.Gq,z.bx,hn.tP,z.TO],[]),f.B6R(ct.xD,[z.KE,fi.L,le.Nt,i.Fj,i.JJ,i.oH,i.JL,i.sg,Yi.s,ct.jg,Kn.P,hn.O5,z.bx,hn.tP,z.TO],[]),f.B6R(ct.h5,[ir,gi,Ki,z.hX,i.Fj,ji,i.JJ,i.oH,qn,z.bx,hn.tP,z.TO],[]),f.B6R(Zt.l,[qn,z.bx,hn.tP,z.TO,gn.lW,Lt.Hw],[])},10200:(ze,G,l)=>{"use strict";function a(i){return i}l.d(G,{g:()=>a})},94064:(ze,G,l)=>{"use strict";l.d(G,{l:()=>a});class a{}},26984:(ze,G,l)=>{"use strict";l.d(G,{c:()=>B});var a=l(63191),i=l(5e3),d=l(93075),p=l(98833),C=l(34307),f=l(8929),v=l(36787),b=l(7625),m=l(35961),I=l(58170),L=l(22313);const M=["label"],D=["hint"],A=["error"];let B=(()=>{class R{constructor(w,k,H,j,z,le,oe){this.parent=w,this.cd=k,this.formGroupDirective=H,this.formService=j,this.formsOptions=z,this.localeService=le,this.sanitizer=oe,this.appearance="outline",this._destroy$=new f.xQ}set fullWidth(w){this._fullWidth=(0,a.Ig)(w)}set autoFocus(w){this._autoFocus=(0,a.Ig)(w)}set disabled(w){setTimeout(()=>{(0,a.Ig)(w)?this.formControl.enabled&&(this.formControl.disable(),this._disabled=!0,this.cd.markForCheck()):this.formControl.disabled&&(this.formControl.enable(),this._disabled=!1,this.cd.markForCheck())})}get formControl(){const w=this.parent.control;if(w)return w.controls instanceof Array?w.controls[this.controlName]:w.get(this.controlName)}ngAfterContentInit(){this.subscribeToStatusChanges()}ngAfterViewInit(){this.setFocus()}subscribeToStatusChanges(){!this.formGroupDirective||!this.formControl||(0,v.T)(this.formGroupDirective.ngSubmit,this.formControl.statusChanges).pipe((0,b.R)(this._destroy$)).subscribe(()=>this.cd.markForCheck())}setFocus(){this._autoFocus&&this.input&&setTimeout(()=>{this.input.focus(),this.cd.markForCheck()},0)}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return R.\u0275fac=function(w){return new(w||R)(i.Y36(d.gN,1),i.Y36(i.sBO),i.Y36((0,i.Gpc)(()=>d.sg)),i.Y36(I.o),i.Y36(m.P),i.Y36(C.OL),i.Y36(L.H7))},R.\u0275dir=i.lG2({type:R,contentQueries:function(w,k,H){if(1&w&&(i.Suo(H,M,5),i.Suo(H,D,5),i.Suo(H,A,5)),2&w){let j;i.iGM(j=i.CRH())&&(k.labelTemplate=j.first),i.iGM(j=i.CRH())&&(k.hintTemplate=j.first),i.iGM(j=i.CRH())&&(k.errorTemplate=j.first)}},viewQuery:function(w,k){if(1&w&&i.Gf(p.Nt,5),2&w){let H;i.iGM(H=i.CRH())&&(k.input=H.first)}},inputs:{controlName:"controlName",label:"label",hint:"hint",error:"error",appearance:"appearance",floatLabel:"floatLabel",fullWidth:"fullWidth",autoFocus:"autoFocus",disabled:"disabled"}}),R})()},35803:(ze,G,l)=>{"use strict";l.d(G,{M:()=>L});var a=l(63191),i=l(5e3),d=l(93075),p=l(67322),C=l(8929),f=l(36787),v=l(7625),b=l(65543),m=l(15664);const I=["*"];let L=(()=>{class M{constructor(A,B,R,x){this.fm=A,this.elRef=B,this.parent=R,this.formGroupDirective=x,this.stateChanges=new C.xQ,this.focused=!1,this.errorState=!1,this.errorStateMatcher=new b.m,this.controlType="stripe",this.id="stripe-input-"+M.nextId++,this.describedBy="",this.empty=!0,this._required=!1,this._disabled=!1,this._destroy$=new C.xQ,A.monitor(B,!0).subscribe(w=>{this.focused=!!w,this.stateChanges.next()})}get shouldLabelFloat(){return this.focused||!this.empty}set element(A){A&&this.initEventListeners(A)}get placeholder(){return this._placeholder}set placeholder(A){this._placeholder=A,this.stateChanges.next()}get required(){return this._required}set required(A){this._required=(0,a.Ig)(A),this.stateChanges.next()}get disabled(){return this._disabled}set disabled(A){this._disabled=(0,a.Ig)(A),this.stateChanges.next()}get value(){return this._value}set value(A){this._value=A,this.stateChanges.next()}ngAfterContentInit(){!this.formGroupDirective||!this.formControl||(0,f.T)(this.formGroupDirective.ngSubmit,this.formControl.statusChanges).pipe((0,v.R)(this._destroy$)).subscribe(()=>{this.errorState=this.errorStateMatcher.isErrorState(this.formControl,this.formGroupDirective),this.stateChanges.next()})}get formControl(){const A=this.parent.control;if(A)return A.controls instanceof Array?A.controls[this.controlName]:A.get(this.controlName)}get ngControl(){return this.formControl}ngOnDestroy(){this.stateChanges.complete(),this.fm.stopMonitoring(this.elRef),this._destroy$.next(),this._destroy$.complete()}setDescribedByIds(A){this.describedBy=A.join(" ")}onContainerClick(A){"input"!==A.target.tagName.toLowerCase()&&this.elRef.nativeElement.querySelector("input").focus()}initEventListeners(A){!A||(A.on("focus",()=>{this.focused=!0,this.stateChanges.next()}),A.on("blur",()=>{this.focused=!1,this.formControl.markAsTouched(),this.errorState=this.errorStateMatcher.isErrorState(this.formControl,this.formGroupDirective),this.stateChanges.next()}),A.on("change",B=>{if(this.empty=B.empty,this.formControl.patchValue(this.empty?null:"has value"),this.formControl.markAsDirty(),B.error){const R={};R[B.error.message]=!0,this.formControl.setErrors(R)}this.errorState=this.errorStateMatcher.isErrorState(this.formControl,this.formGroupDirective),this.stateChanges.next()}))}}return M.nextId=0,M.\u0275fac=function(A){return new(A||M)(i.Y36(m.tE),i.Y36(i.SBq),i.Y36(d.gN,1),i.Y36((0,i.Gpc)(()=>d.sg)))},M.\u0275cmp=i.Xpm({type:M,selectors:[["go-stripe-control"]],inputs:{controlName:"controlName",element:"element",placeholder:"placeholder",required:"required",disabled:"disabled",value:"value"},features:[i._Bn([{provide:p.Eo,useExisting:M}])],ngContentSelectors:I,decls:1,vars:0,template:function(A,B){1&A&&(i.F$t(),i.Hsn(0))},encapsulation:2}),M})()},86347:(ze,G,l)=>{"use strict";l.d(G,{f:()=>z});var a=l(63191),i=l(5e3),d=l(93075),p=l(7625),C=l(1059),f=l(10200),v=l(94064),b=l(26984);const m=["controlName",""];function I(le,oe){1&le&&i.GkF(0)}function L(le,oe){if(1&le&&(i.TgZ(0,"option",13),i._uU(1),i.qZA()),2&le){const $=oe.$implicit;i.Q6J("value",$.value),i.xp6(1),i.hij(" ",$.label," ")}}function M(le,oe){if(1&le){const $=i.EpF();i.TgZ(0,"select",10,11),i.NdJ("change",function(){return i.CHM($),i.oxw().onSelectChange()}),i.YNc(2,L,2,2,"option",12),i.qZA()}if(2&le){const $=i.oxw();i.Q6J("id",$.id)("formControl",$.formControl),i.xp6(2),i.Q6J("ngForOf",$._options)("ngForTrackBy",$.trackBy)}}function D(le,oe){if(1&le&&(i.TgZ(0,"option",13),i._uU(1),i.qZA()),2&le){const $=oe.$implicit;i.Q6J("value",$.value),i.xp6(1),i.hij(" ",$.label," ")}}function A(le,oe){if(1&le){const $=i.EpF();i.TgZ(0,"select",14,11),i.NdJ("change",function(){return i.CHM($),i.oxw().emitChanges()}),i.YNc(2,D,2,2,"option",12),i.qZA()}if(2&le){const $=i.oxw();i.Q6J("id",$.id)("formControl",$.formControl),i.xp6(2),i.Q6J("ngForOf",$._options)("ngForTrackBy",$.trackBy)}}function B(le,oe){if(1&le&&(i.TgZ(0,"mat-button-toggle",13),i._uU(1),i.qZA()),2&le){const $=oe.$implicit,y=i.oxw();i.IyS("\n          mdc-layout-grid__cell--span-",y.colSpan.desktop,"-desktop\n          mdc-layout-grid__cell--span-",y.colSpan.tablet,"-tablet\n          mdc-layout-grid__cell--span-",y.colSpan.phone,"-phone"),i.Q6J("value",$.value),i.uIk("data-value",$.value),i.xp6(1),i.Oqu($.label)}}function R(le,oe){if(1&le){const $=i.EpF();i.TgZ(0,"mat-checkbox",15),i.NdJ("change",function(){return i.CHM($),i.oxw().selectAll()}),i.SDv(1,16),i.qZA()}if(2&le){const $=i.oxw();i.Q6J("checked",$._allSelected)}}function x(le,oe){1&le&&i.GkF(0)}function w(le,oe){1&le&&i.GkF(0)}function k(le,oe){1&le&&i._UZ(0,"span",17),2&le&&i.Q6J("innerHTML",oe.message,i.oJD)}const H=function(le,oe){return{"full-width":le,square:oe}},j=function(le){return{message:le}};let z=(()=>{class le extends b.c{constructor(){super(...arguments),this.id="go-button-select-input-"+le.nextId++,this.appearance="standard",this._square=!1,this._multiple=!1,this.colSpan={desktop:1,tablet:1,phone:1},this.selectionChange=new i.vpe}set multiple($){this._multiple=(0,a.Ig)($)}set square($){this._square=(0,a.Ig)($)}set options($){$&&(this._options=$,this.updateAllSelected(this.formControl.value),this.cd.markForCheck())}ngOnInit(){this.formControl.valueChanges.pipe((0,p.R)(this._destroy$),(0,C.O)(this.formControl.value)).subscribe($=>this.onControlValueChange($))}emitChanges(){this.selectionChange.next(this._options.filter($=>this.formControl.value.includes($.value)))}onControlValueChange($){if($ instanceof Array)if($[0]instanceof Object&&$[0].label){const y=$.map(ae=>ae.value);this.formControl.patchValue(y,{emitEvent:!1}),this.updateAllSelected(y)}else this._options&&this.updateAllSelected($);else $ instanceof Object&&$.label&&(this.formControl.patchValue($.value,{emitEvent:!1}),this.updateAllSelected($.value))}onButtonToggleGroupChange($){!$||(this.formControl.setValue($.value,{emitEvent:!1}),this.emitChanges())}onSelectChange(){this.formControl.setValue(this.formControl.value,{emitEvent:!1}),this.emitChanges()}selectAll(){if(this._multiple)if(this._allSelected)this.formControl.setValue(this._multiple?[this._options[0].value]:this._options[0].value);else{const $=this._options.map(y=>y.value);this.formControl.setValue($)}}trackBy($){return $.value}updateAllSelected($){$&&this._options&&(this._allSelected=$.length===this._options.length,this.cd.markForCheck())}}return le.nextId=0,le.\u0275fac=function(){let oe;return function(y){return(oe||(oe=i.n5z(le)))(y||le)}}(),le.\u0275cmp=i.Xpm({type:le,selectors:[["go-button-select","controlName",""]],inputs:{multiple:"multiple",square:"square",options:"options",colSpan:"colSpan"},outputs:{selectionChange:"selectionChange"},features:[i._Bn([{provide:v.l,useExisting:(0,i.Gpc)(()=>le)}],[{provide:d.gN,useFactory:f.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:m,decls:17,vars:27,consts:function(){let oe;return oe=$localize`:Check box to select or deselect all options@@label-select-all␟8754c2dbc855d18ee90ffff136caedfd64f71e83␟7126464771610287155:all`,[[3,"ngClass"],[1,"go-button-select-label",3,"for"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["class","go-screen-reader","multiple","",3,"id","formControl","change",4,"ngSwitchCase"],["class","go-screen-reader",3,"id","formControl","change",4,"ngSwitchDefault"],["aria-hidden","true",1,"mdc-layout-grid__inner",3,"id","formControl","multiple","change"],[3,"class","value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"checked","change",4,"ngIf"],["defaultTemplate",""],["multiple","",1,"go-screen-reader",3,"id","formControl","change"],["valueAccessor",""],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],[1,"go-screen-reader",3,"id","formControl","change"],[3,"checked","change"],oe,[3,"innerHTML"]]},template:function($,y){if(1&$&&(i.TgZ(0,"go-form-field",0)(1,"label",1)(2,"mat-label"),i.YNc(3,I,1,0,"ng-container",2),i.qZA()(),i.ynx(4,3),i.YNc(5,M,3,4,"select",4),i.YNc(6,A,3,4,"select",5),i.BQk(),i.TgZ(7,"mat-button-toggle-group",6),i.NdJ("change",function(ge){return y.onButtonToggleGroupChange(ge)}),i.YNc(8,B,2,8,"mat-button-toggle",7),i.qZA(),i.YNc(9,R,2,1,"mat-checkbox",8),i.TgZ(10,"go-form-field-subscript")(11,"mat-hint"),i.YNc(12,x,1,0,"ng-container",2),i.qZA(),i.TgZ(13,"mat-error"),i.YNc(14,w,1,0,"ng-container",2),i.qZA()()(),i.YNc(15,k,1,1,"ng-template",null,9,i.W1O)),2&$){const ae=i.MAs(16);i.Q6J("ngClass",i.WLB(18,H,y._fullWidth,y._square)),i.uIk("data-loaded",!!y._options),i.xp6(1),i.Q6J("for",y.id),i.uIk("aria-owns",y.id),i.xp6(2),i.Q6J("ngTemplateOutlet",y.labelTemplate?y.labelTemplate:ae)("ngTemplateOutletContext",i.VKq(21,j,y.label)),i.xp6(1),i.Q6J("ngSwitch",y._multiple),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(2),i.Q6J("id",y.id)("formControl",y.formControl)("multiple",y._multiple),i.xp6(1),i.Q6J("ngForOf",y._options)("ngForTrackBy",y.trackBy),i.xp6(1),i.Q6J("ngIf",y._multiple),i.xp6(3),i.Q6J("ngTemplateOutlet",y.hintTemplate?y.hintTemplate:ae)("ngTemplateOutletContext",i.VKq(23,j,y.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",y.errorTemplate?y.errorTemplate:ae)("ngTemplateOutletContext",i.VKq(25,j,y.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}","[_nghost-%COMP%]   .square[_ngcontent-%COMP%]     .mat-button-toggle{border-radius:0%!important}[_nghost-%COMP%]   .square[_ngcontent-%COMP%]     .mat-button-toggle button{border-radius:0%!important;width:90px!important}[_nghost-%COMP%]   .square[_ngcontent-%COMP%]     .mat-button-toggle .mat-button-toggle-ripple{border-radius:0%!important;width:90px!important}[_nghost-%COMP%]   .square[_ngcontent-%COMP%]     .mat-button-toggle .mat-button-toggle-focus-overlay, [_nghost-%COMP%]   .square[_ngcontent-%COMP%]     .mat-button-toggle .mat-button-toggle-ripple{width:90px!important}[_nghost-%COMP%]   .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%], [_nghost-%COMP%]   .mat-button-toggle-group-appearance-standard[_ngcontent-%COMP%]   .mat-button-toggle[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mat-button-toggle-group[_ngcontent-%COMP%]{padding:0 10px;display:grid;width:100%}[_nghost-%COMP%]     .mat-button-toggle{border-radius:50%;margin-right:10px;margin-bottom:10px}[_nghost-%COMP%]     .mat-button-toggle.mat-button-toggle-checked button{color:#fff}[_nghost-%COMP%]     .mat-button-toggle button{width:33px;height:33px;border-radius:50%}[_nghost-%COMP%]     .mat-button-toggle .mat-button-toggle-focus-overlay, [_nghost-%COMP%]     .mat-button-toggle .mat-button-toggle-ripple{right:unset;width:33px}[_nghost-%COMP%]     .mat-button-toggle .mat-button-toggle-ripple{border-radius:50%}[_nghost-%COMP%]     .mat-button-toggle .mat-button-toggle-label-content{line-height:33px;padding:0}[_nghost-%COMP%]   mat-label[_ngcontent-%COMP%]{font:500 16px/28px Museo Sans,Arial,sans-serif}"],changeDetection:0}),le})()},34432:(ze,G,l)=>{"use strict";l.d(G,{u:()=>D});var a=l(5e3),i=l(93075),d=l(10200),p=l(94064),C=l(26984);const f=["controlName",""];function v(A,B){1&A&&a.GkF(0)}function b(A,B){1&A&&a.GkF(0)}function m(A,B){1&A&&a.GkF(0)}function I(A,B){1&A&&a._UZ(0,"span",4),2&A&&a.Q6J("innerHTML",B.message,a.oJD)}const L=function(A){return{"full-width":A}},M=function(A){return{message:A}};let D=(()=>{class A extends C.c{constructor(){super(...arguments),this.change=new a.vpe}onChange(R){this.change.emit(R)}}return A.\u0275fac=function(){let B;return function(x){return(B||(B=a.n5z(A)))(x||A)}}(),A.\u0275cmp=a.Xpm({type:A,selectors:[["go-checkbox","controlName",""]],outputs:{change:"change"},features:[a._Bn([{provide:p.l,useExisting:(0,a.Gpc)(()=>A)}],[{provide:i.gN,useFactory:d.g,deps:[[new a.tp0,i.gN]]}]),a.qOj],attrs:f,decls:11,vars:16,consts:[[3,"ngClass"],[3,"formControl","change"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"innerHTML"]],template:function(R,x){if(1&R&&(a.TgZ(0,"go-form-field",0)(1,"mat-checkbox",1),a.NdJ("change",function(k){return x.onChange(k)}),a.TgZ(2,"mat-label"),a.YNc(3,v,1,0,"ng-container",2),a.qZA()(),a.TgZ(4,"go-form-field-subscript")(5,"mat-hint"),a.YNc(6,b,1,0,"ng-container",2),a.qZA(),a.TgZ(7,"mat-error"),a.YNc(8,m,1,0,"ng-container",2),a.qZA()()(),a.YNc(9,I,1,1,"ng-template",null,3,a.W1O)),2&R){const w=a.MAs(10);a.Q6J("ngClass",a.VKq(8,L,x._fullWidth)),a.xp6(1),a.Q6J("formControl",x.formControl),a.xp6(2),a.Q6J("ngTemplateOutlet",x.labelTemplate?x.labelTemplate:w)("ngTemplateOutletContext",a.VKq(10,M,x.label)),a.xp6(3),a.Q6J("ngTemplateOutlet",x.hintTemplate?x.hintTemplate:w)("ngTemplateOutletContext",a.VKq(12,M,x.hint)),a.xp6(2),a.Q6J("ngTemplateOutlet",x.errorTemplate?x.errorTemplate:w)("ngTemplateOutletContext",a.VKq(14,M,x.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}",".mat-form-field[_ngcontent-%COMP%]{padding:10px}.mat-checkbox[_ngcontent-%COMP%]{padding:1em 0}.mat-form-field-flex[_ngcontent-%COMP%]{padding:0}"],changeDetection:0}),A})()},5912:(ze,G,l)=>{"use strict";l.d(G,{x:()=>w});var a=l(63191),i=l(5e3),d=l(93075),p=l(47910),C=l(93499),f=l(7625),v=l(66678),b=l(10200),m=l(94064),I=l(26984);const L=["controlName",""];function M(k,H){1&k&&i.GkF(0)}function D(k,H){1&k&&i.GkF(0)}function A(k,H){1&k&&i.GkF(0)}function B(k,H){1&k&&i._UZ(0,"span",6),2&k&&i.Q6J("innerHTML",H.message,i.oJD)}const R=function(k){return{"full-width":k}},x=function(k){return{message:k}};let w=(()=>{class k extends I.c{constructor(){super(...arguments),this.id="go-datepicker-inline-input-"+k.nextId++,this.activeDate=new Date,this.activeMonthChange=new i.vpe,this._calendarFilter=j=>{const z=(0,p.Z)(j,"yyyy-MM-dd");return!this.dates||this.dates.includes(z)}}get dates(){return this._dates}set dates(j){this._dates=j,this.cd.markForCheck(),this.calendar&&this.calendar.ngOnChanges({dateFilter:{}})}set range(j){this._range=(0,a.Ig)(j)}get startAt(){return this._startAt}set startAt(j){this._startAt=j,this.activeDate=this.startAt,this.handleMonthChange(j)}set calendarFilter(j){this._calendarFilter=j}ngOnInit(){this.formControl.valueChanges.pipe((0,f.R)(this._destroy$)).subscribe(j=>{this.calendar.activeDate=j,"month"!==this.calendar.currentView&&(this.calendar.currentView="month"),this.calendar.focusActiveCell()})}ngAfterViewInit(){super.ngAfterViewInit(),this.calendar.stateChanges.pipe((0,f.R)(this._destroy$)).subscribe(()=>this.handleMonthChange(this.calendar.activeDate))}handleMonthChange(j){!j||(0,C.Z)(j,this.activeDate)||(this.activeDate=j,this.activeMonthChange.next(this.activeDate))}onSelectedChange(j){this.selectedDate=j,this.formControl.setValue(j)}}return k.nextId=0,k.\u0275fac=function(){let H;return function(z){return(H||(H=i.n5z(k)))(z||k)}}(),k.\u0275cmp=i.Xpm({type:k,selectors:[["go-datepicker-inline","controlName",""]],viewQuery:function(j,z){if(1&j&&i.Gf(v.BW,5),2&j){let le;i.iGM(le=i.CRH())&&(z.calendar=le.first)}},inputs:{selectedDate:"selectedDate",minDate:"minDate",dates:"dates",range:"range",startAt:"startAt",calendarFilter:"calendarFilter"},outputs:{activeMonthChange:"activeMonthChange"},features:[i._Bn([{provide:m.l,useExisting:(0,i.Gpc)(()=>k)}],[{provide:d.gN,useFactory:b.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:L,decls:13,vars:30,consts:[[3,"ngClass"],[1,"go-screen-reader",3,"for"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"go-screen-reader",3,"id","formControl","formControlName"],["aria-hidden","true",3,"selected","startAt","rangeMode","minDate","dateFilter","selectedChange"],["defaultTemplate",""],[3,"innerHTML"]],template:function(j,z){if(1&j&&(i.TgZ(0,"go-form-field",0)(1,"label",1)(2,"mat-label"),i.YNc(3,M,1,0,"ng-container",2),i.qZA()(),i._UZ(4,"input",3),i.TgZ(5,"sat-calendar",4),i.NdJ("selectedChange",function(oe){return z.onSelectedChange(oe)}),i.ALo(6,"dateFns"),i.qZA(),i.TgZ(7,"mat-hint"),i.YNc(8,D,1,0,"ng-container",2),i.qZA(),i.TgZ(9,"mat-error"),i.YNc(10,A,1,0,"ng-container",2),i.qZA()(),i.YNc(11,B,1,1,"ng-template",null,5,i.W1O)),2&j){const le=i.MAs(12);i.Q6J("ngClass",i.VKq(22,R,z._fullWidth)),i.uIk("data-loaded",!!z._dates),i.xp6(1),i.Q6J("for",z.id),i.uIk("aria-owns",z.id),i.xp6(2),i.Q6J("ngTemplateOutlet",z.labelTemplate?z.labelTemplate:le)("ngTemplateOutletContext",i.VKq(24,x,z.label)),i.xp6(1),i.Q6J("id",z.id)("formControl",z.formControl)("formControlName",z.controlName),i.xp6(1),i.Q6J("selected",z.selectedDate)("startAt",z.startAt)("rangeMode",z._range)("minDate",z.minDate)("dateFilter",z._calendarFilter),i.uIk("data-value",i.xi3(6,19,z.selectedDate,"yyyy-MM-dd")),i.xp6(3),i.Q6J("ngTemplateOutlet",z.hintTemplate?z.hintTemplate:le)("ngTemplateOutletContext",i.VKq(26,x,z.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",z.errorTemplate?z.errorTemplate:le)("ngTemplateOutletContext",i.VKq(28,x,z.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),k})()},92544:(ze,G,l)=>{"use strict";l.d(G,{L:()=>w});var a=l(63191),i=l(5e3),d=l(93075),p=l(47910),C=l(93499),f=l(7625),v=l(10200),b=l(94064),m=l(26984);const I=["picker"],L=["controlName",""];function M(k,H){1&k&&i.GkF(0)}function D(k,H){1&k&&i.GkF(0)}function A(k,H){1&k&&i.GkF(0)}function B(k,H){1&k&&i._UZ(0,"span",7),2&k&&i.Q6J("innerHTML",H.message,i.oJD)}const R=function(k){return{"full-width":k}},x=function(k){return{message:k}};let w=(()=>{class k extends m.c{constructor(){super(...arguments),this.suffixIcon="date_range",this.suffixClick=new i.vpe,this.activeMonthChange=new i.vpe,this._datepickerFilter=j=>{const z=(0,p.Z)(j,"yyyy-MM-dd");return!this.dates||this.dates.includes(z)}}set datepickerFilter(j){this._datepickerFilter=j}get dates(){return this._dates}set dates(j){this._dates=j,this.cd.markForCheck(),this.calendar&&this.calendar.ngOnChanges({dateFilter:{}})}set showClear(j){this._showClear="always"===j?j:"default"}set range(j){this._range=(0,a.Ig)(j)}onSuffixClick(j){"action"===j.type&&this.picker.open(),this.suffixClick.next(j)}opened(){setTimeout(()=>{var j,z,le;this.calendar=null===(le=(null===(j=this.picker._popupComponentRef)||void 0===j?void 0:j.instance)||(null===(z=this.picker._dialogRef)||void 0===z?void 0:z.componentInstance))||void 0===le?void 0:le._calendar,this.calendar&&this.calendar.stateChanges.pipe((0,f.R)(this._destroy$)).subscribe(()=>this.handleMonthChange(this.calendar.activeDate))})}handleMonthChange(j){!j||(0,C.Z)(j,this.activeDate)||(this.activeDate=j,this.activeMonthChange.next(this.activeDate))}}return k.\u0275fac=function(){let H;return function(z){return(H||(H=i.n5z(k)))(z||k)}}(),k.\u0275cmp=i.Xpm({type:k,selectors:[["go-datepicker","controlName",""]],viewQuery:function(j,z){if(1&j&&(i.Gf(d.Fj,7),i.Gf(I,7)),2&j){let le;i.iGM(le=i.CRH())&&(z.valueAccessor=le.first),i.iGM(le=i.CRH())&&(z.picker=le.first)}},inputs:{datepickerFilter:"datepickerFilter",min:"min",max:"max",touchUi:"touchUi",timeZone:"timeZone",dates:"dates",suffixIcon:"suffixIcon",showClear:"showClear",range:"range"},outputs:{suffixClick:"suffixClick",activeMonthChange:"activeMonthChange"},features:[i._Bn([{provide:b.l,useExisting:(0,i.Gpc)(()=>k)}],[{provide:d.gN,useFactory:v.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:L,decls:13,vars:28,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["matInput","","autocomplete","off",3,"timeZone","formControlName","matDatepickerFilter","goDatepicker","min","max","click"],["matSuffix","",3,"control","showClear","suffixIcon","suffixClick"],[3,"rangeMode","touchUi","opened"],["picker",""],["defaultTemplate",""],[3,"innerHTML"]],template:function(j,z){if(1&j){const le=i.EpF();i.TgZ(0,"mat-form-field",0)(1,"mat-label"),i.YNc(2,M,1,0,"ng-container",1),i.qZA(),i.TgZ(3,"input",2),i.NdJ("click",function(){return i.CHM(le),i.MAs(6).open()}),i.qZA(),i.TgZ(4,"go-form-field-suffix",3),i.NdJ("suffixClick",function($){return z.onSuffixClick($)}),i.qZA(),i.TgZ(5,"sat-datepicker",4,5),i.NdJ("opened",function(){return z.opened()}),i.qZA(),i.TgZ(7,"mat-hint"),i.YNc(8,D,1,0,"ng-container",1),i.qZA(),i.TgZ(9,"mat-error"),i.YNc(10,A,1,0,"ng-container",1),i.qZA()(),i.YNc(11,B,1,1,"ng-template",null,6,i.W1O)}if(2&j){const le=i.MAs(6),oe=i.MAs(12);i.Q6J("appearance",z.appearance)("floatLabel",z.floatLabel)("ngClass",i.VKq(20,R,z._fullWidth)),i.xp6(2),i.Q6J("ngTemplateOutlet",z.labelTemplate?z.labelTemplate:oe)("ngTemplateOutletContext",i.VKq(22,x,z.label)),i.xp6(1),i.Q6J("timeZone",z.timeZone)("formControlName",z.controlName)("matDatepickerFilter",z._datepickerFilter)("goDatepicker",le)("min",z.min)("max",z.max),i.xp6(1),i.Q6J("control",z.formControl)("showClear",z._showClear)("suffixIcon",z.suffixIcon),i.xp6(1),i.Q6J("rangeMode",z._range)("touchUi",z.touchUi),i.xp6(3),i.Q6J("ngTemplateOutlet",z.hintTemplate?z.hintTemplate:oe)("ngTemplateOutletContext",i.VKq(24,x,z.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",z.errorTemplate?z.errorTemplate:oe)("ngTemplateOutletContext",i.VKq(26,x,z.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}",".mat-form-field-appearance-outline[_ngcontent-%COMP%]   .mat-select-arrow-wrapper[_ngcontent-%COMP%]{cursor:pointer}"],changeDetection:0}),k})()},63131:(ze,G,l)=>{"use strict";l.d(G,{Y:()=>Ve});var a=l(63191),i=l(5e3),d=l(93075),p=l(49725),C=l.n(p),f=l(71869),v=l.n(f),b=l(31817),m=l.n(b),I=l(72730),L=l.n(I),M=l(7625),D=l(1059),A=l(10200),B=l(94064),R=l(26984);const x=["controlName",""];function w($e,Be){if(1&$e){const Ee=i.EpF();i.TgZ(0,"div",8),i.NdJ("dragover",function(Re){return i.CHM(Ee),i.oxw().onDragOver(Re)})("dragleave",function(Re){return i.CHM(Ee),i.oxw().onDragLeave(Re)})("drop",function(Re){return i.CHM(Ee),i.oxw().onDrop(Re)}),i.TgZ(1,"span"),i.SDv(2,9),i.qZA(),i.TgZ(3,"input",10,11),i.NdJ("change",function(Re){return i.CHM(Ee),i.oxw().onChange(Re)}),i.qZA(),i.TgZ(5,"button",12),i.NdJ("click",function(){return i.CHM(Ee),i.MAs(4).click()}),i.SDv(6,13),i.qZA()()}if(2&$e){const Ee=i.oxw();i.MT6("drag-drop-container mdc-layout-grid__cell--span-",Ee.columns.desktop,"-desktop mdc-layout-grid__cell--span-",Ee.columns.tablet,"-tablet mdc-layout-grid__cell--span-4-phone"),i.Q6J("ngClass",Ee.containerClasses),i.xp6(3),i.Q6J("id",Ee.uppyId)}}function k($e,Be){if(1&$e){const Ee=i.EpF();i.TgZ(0,"button",20),i.NdJ("click",function(){return i.CHM(Ee),i.oxw(2).onRemove()}),i.TgZ(1,"mat-icon"),i._uU(2,"clear"),i.qZA()()}}function H($e,Be){if(1&$e&&i._UZ(0,"img",21),2&$e){const Ee=i.oxw(2);i.Q6J("src",Ee.preview.src,i.LSH)}}function j($e,Be){if(1&$e&&i._UZ(0,"mat-progress-bar",22),2&$e){const Ee=i.oxw(2);i.Q6J("value",Ee.preview.progress)}}function z($e,Be){if(1&$e&&(i.ynx(0),i.YNc(1,k,3,0,"button",14),i.TgZ(2,"div",15),i.YNc(3,H,1,1,"img",16),i.qZA(),i._UZ(4,"span",17),i.TgZ(5,"span",18),i._uU(6),i.qZA(),i.YNc(7,j,1,1,"mat-progress-bar",19),i.BQk()),2&$e){const Ee=i.oxw();i.xp6(1),i.Q6J("ngIf",!Ee._readonly),i.xp6(2),i.Q6J("ngIf",Ee.preview.src),i.xp6(3),i.Oqu(Ee.preview.name),i.xp6(1),i.Q6J("ngIf",!Ee._readonly)}}function le($e,Be){1&$e&&i.GkF(0)}function oe($e,Be){1&$e&&i.GkF(0)}function $($e,Be){1&$e&&i._UZ(0,"span",23),2&$e&&i.Q6J("innerHTML",Be.message,i.oJD)}const y=function($e){return{"horizontal-thumbnail":$e}},ae=function($e){return{message:$e}},ge=$e=>$e.length>26?$e.substr(0,20)+"..."+$e.substr($e.length-6,$e.length):$e;let Ve=(()=>{class $e extends R.c{constructor(){super(...arguments),this.appearance="standard",this._vertical=!1,this.columns={desktop:6,tablet:4},this.uppyId="go-file-upload-"+$e.nextId++,this.uppy=new(v())({id:"go-uppy",autoProceed:!0,allowMultipleUploads:!0,debug:(0,i.X6Q)(),restrictions:{maxFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null},meta:{},onBeforeFileAdded:Ee=>{if(!Ee.type)return this.formControl.markAsTouched(),this.formControl.setValue(null),this.formControl.setErrors({noFileType:{name:Ee.name}}),!1}}),this.containerClasses={hover:!1},this.mimeTypes=new Map}set readonly(Ee){this._readonly=(0,a.Ig)(Ee)}set vertical(Ee){this._vertical=(0,a.Ig)(Ee),this._vertical&&(this.columns={desktop:12,tablet:8})}addFile(Ee,Ie){const Re=this.uppy.getFiles().find(Ge=>Ge.name===Ee.name&&Ge.size===Ee.size&&Ge.data.lastModified===Ee.lastModified);if(Re)return this.preview={name:Re.name,progress:100},Re.preview&&(this.preview.src=this.sanitizer.bypassSecurityTrustUrl(Re.preview)),this.cd.markForCheck(),void this.formControl.setValue({id:Re.meta.id,metadata:{size:Re.data.size,filename:Re.name,mimeType:this.mimeTypes.get(Re.meta.id)}});this.preview={name:Ee.name},this.uppy.addFile({source:Ie,name:Ee.name,type:Ee.type,data:Ee})}onChange(Ee){Array.prototype.slice.call(Ee.target.files||[],0).forEach(Re=>{this.addFile(Re,"FileInput")}),Ee.target.value=null}onDragOver(Ee){Ee.preventDefault(),Ee.stopPropagation(),this.containerClasses.hover=!0,this.cd.markForCheck()}onDragLeave(Ee){Ee.preventDefault(),Ee.stopPropagation(),this.containerClasses.hover=!1,this.cd.markForCheck()}onDrop(Ee){Ee.preventDefault(),Ee.stopPropagation(),this.containerClasses.hover=!1,this.cd.markForCheck(),L()(Ee.dataTransfer).then(Ie=>Ie.forEach(Re=>this.addFile(Re,"DragDrop")))}onRemove(){this.formControl.setValue(null),this.preview=null,this.cd.markForCheck()}ngOnInit(){super.ngAfterContentInit(),this.formControl.valueChanges.pipe((0,M.R)(this._destroy$),(0,D.O)(this.formControl.value)).subscribe(Ee=>{Ee?Ee._url&&(!this.preview||this.preview.src!==Ee._url)&&(this.preview={src:this.sanitizer.bypassSecurityTrustUrl(Ee._url),progress:100,name:ge(Ee.metadata.filename)}):this.preview=null}),this.uppy.use(m(),{id:"ThumbnailGenerator",thumbnailWidth:200,thumbnailHeight:200}).use(C(),{getUploadParameters:Ee=>fetch(`//${this.formsOptions.apiDomain}/upload/presign?filename=${encodeURI(Ee.name)}`,{method:"get",headers:{accept:"application/json"}}).then(Ie=>Ie.json()).then(Ie=>{const Re=new URL(Ie.url);return Ie.fields.id=decodeURI(Re.pathname.substring(Re.pathname.lastIndexOf("/")+1)),this.mimeTypes.set(Ie.fields.id,Ie.headers["Content-Type"]),Ie})}).on("thumbnail:generated",(Ee,Ie)=>{this.preview.src=this.sanitizer.bypassSecurityTrustUrl(Ie),this.cd.markForCheck()}).on("upload-progress",Ee=>{this.preview.progress=Ee.progress.percentage,this.cd.markForCheck()}).on("upload-error",Ee=>{this.formControl.markAsTouched(),this.formControl.setValue(null),this.formControl.setErrors({uploadError:{name:ge(Ee.name)}})}).on("upload-success",Ee=>{this.preview.progress=100,this.cd.markForCheck(),this.formControl.setValue({id:Ee.meta.id,metadata:{size:Ee.data.size,filename:Ee.name,mimeType:this.mimeTypes.get(Ee.meta.id)}})})}}return $e.nextId=0,$e.\u0275fac=function(){let Be;return function(Ie){return(Be||(Be=i.n5z($e)))(Ie||$e)}}(),$e.\u0275cmp=i.Xpm({type:$e,selectors:[["go-file-upload","controlName",""]],inputs:{readonly:"readonly",vertical:"vertical"},features:[i._Bn([{provide:B.l,useExisting:(0,i.Gpc)(()=>$e)}],[{provide:d.gN,useFactory:A.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:x,decls:16,vars:24,consts:function(){let Be,Ee;return Be=$localize`:Drag and drop label for upload form field@@label-drag-drop␟5617c1a16ba835a84a37bf8f6c8df040c9933c84␟627922902109388059:Drag file here or`,Ee=$localize`:Choose file button for upload form field@@button-choose-file␟67f7e08d5c7afb61f41f5404c1e1c12508370c8d␟7307353255241146141: Choose file `,[[1,"mdc-layout-grid__inner"],[1,"mdc-layout-grid__cell--span-12",3,"for"],[1,"file-upload-container","mdc-layout-grid__inner","mdc-layout-grid__cell--span-12"],[3,"class","ngClass","dragover","dragleave","drop",4,"ngIf"],[3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"ngClass","dragover","dragleave","drop"],Be,["type","file","hidden","",3,"id","change"],["input",""],["mat-stroked-button","","color","primary","type","button",3,"click"],Ee,["mat-icon-button","","type","button",3,"click",4,"ngIf"],[1,"img-container"],[3,"src",4,"ngIf"],[1,"go-spacer"],[1,"name"],["mode","determinate",3,"value",4,"ngIf"],["mat-icon-button","","type","button",3,"click"],[3,"src"],["mode","determinate",3,"value"],[3,"innerHTML"]]},template:function(Ee,Ie){if(1&Ee&&(i.TgZ(0,"go-form-field")(1,"div",0)(2,"label",1)(3,"mat-label"),i._uU(4),i.qZA()(),i.TgZ(5,"div",2),i.YNc(6,w,7,6,"div",3),i.TgZ(7,"div",4),i.YNc(8,z,8,4,"ng-container",5),i.qZA()(),i.TgZ(9,"go-form-field-subscript")(10,"mat-hint"),i.YNc(11,le,1,0,"ng-container",6),i.qZA(),i.TgZ(12,"mat-error"),i.YNc(13,oe,1,0,"ng-container",6),i.qZA()()()(),i.YNc(14,$,1,1,"ng-template",null,7,i.W1O)),2&Ee){const Re=i.MAs(15);i.xp6(2),i.Q6J("for",Ie.uppyId),i.uIk("aria-owns",Ie.uppyId),i.xp6(2),i.Oqu(Ie.label),i.xp6(2),i.Q6J("ngIf",!Ie._readonly),i.xp6(1),i.MT6("thumbnail-container mdc-layout-grid__cell--span-",Ie.columns.desktop,"-desktop mdc-layout-grid__cell--span-",Ie.columns.tablet,"-tablet mdc-layout-grid__cell--span-4-phone"),i.Q6J("ngClass",i.VKq(18,y,!Ie._vertical)),i.xp6(1),i.Q6J("ngIf",Ie.preview),i.xp6(1),i.MT6("thumbnail-container mdc-layout-grid__cell--span-",Ie.columns.desktop,"-desktop mdc-layout-grid__cell--span-",Ie.columns.tablet,"-tablet mdc-layout-grid__cell--span-4-phone"),i.xp6(2),i.Q6J("ngTemplateOutlet",Ie.hintTemplate?Ie.hintTemplate:Re)("ngTemplateOutletContext",i.VKq(20,ae,Ie.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",Ie.errorTemplate?Ie.errorTemplate:Re)("ngTemplateOutletContext",i.VKq(22,ae,Ie.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}","[_nghost-%COMP%]{min-width:initial}[_nghost-%COMP%]   go-form-field[_ngcontent-%COMP%], [_nghost-%COMP%]     .mat-form-field-flex{display:block}[_nghost-%COMP%]   .drag-drop-container[_ngcontent-%COMP%]{border:2px dashed #979797;border-radius:5px;padding:16px;text-align:center}[_nghost-%COMP%]   .drag-drop-container.hover[_ngcontent-%COMP%]{background-color:#025f830a}[_nghost-%COMP%]   .drag-drop-container[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-bottom:16px;display:block}[_nghost-%COMP%]   .drag-drop-container[_ngcontent-%COMP%]   button.mat-stroked-button[_ngcontent-%COMP%]{min-width:170px!important}[_nghost-%COMP%]     mat-label{font:500 16px/28px Museo Sans,Arial,sans-serif}[_nghost-%COMP%]     .mat-form-field-invalid mat-label{color:#d91562}[_nghost-%COMP%]     .mat-form-field-invalid .drag-drop-container{border-color:#d91562}[_nghost-%COMP%]   .thumbnail-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}[_nghost-%COMP%]   .thumbnail-container.horizontal-thumbnail[_ngcontent-%COMP%]{left:3px}[_nghost-%COMP%]   .thumbnail-container.horizontal-thumbnail[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{right:-20px}[_nghost-%COMP%]   .thumbnail-container[_ngcontent-%COMP%]:hover   button[_ngcontent-%COMP%]{display:inherit}[_nghost-%COMP%]   .thumbnail-container[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}[_nghost-%COMP%]   .thumbnail-container[_ngcontent-%COMP%]   .img-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-height:100%;max-width:100%}[_nghost-%COMP%]   .thumbnail-container[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none;position:absolute;right:0}"],changeDetection:0}),$e})()},59989:(ze,G,l)=>{"use strict";l.d(G,{YR:()=>sn,fu:()=>je.f,u$:()=>v.u,Yw:()=>Nn,h5:()=>_e,Lr:()=>b.L,xs:()=>Ve.x,jg:()=>qn,Yr:()=>Fe.Y,lC:()=>k.l,cm:()=>V.c,am:()=>a.a,b3:()=>ge,Im:()=>i.I,Dg:()=>d.D,UK:()=>f.U,Hr:()=>C.H,xD:()=>bn,MT:()=>Ln.M,d1:()=>On.d,U5:()=>p.U,Gq:()=>$e.G});var a=l(58561),i=l(13555),d=l(36585),p=l(12412),C=l(2619),f=l(2757),v=l(34432),b=l(92544),m=l(5e3),I=l(93075),L=l(90508),M=l(34307),D=l(35119),A=l(63369),B=l(79558),R=l(98340),x=l(66678),w=l(10200),k=l(94064);const H=["controlName",""];function j(E,te){1&E&&m.GkF(0)}function z(E,te){1&E&&m.GkF(0)}function le(E,te){1&E&&m.GkF(0)}function oe(E,te){1&E&&m._UZ(0,"span",7),2&E&&m.Q6J("innerHTML",te.message,m.oJD)}const $=function(E){return{"full-width":E}},y=function(E){return{message:E}},ae={parse:{dateInput:"MMM yyyy"},display:{dateInput:"MMM yyyy",monthYearLabel:"MMM yyyy",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM yyyy"}};let ge=(()=>{class E extends b.L{constructor(){super(...arguments),this._startView="multi-year"}ngOnInit(){this.formControl.setValue((0,D.Z)(new Date))}chosenMonthHandler(O,T){const J=this.formControl.value;J.setYear((0,A.Z)(O)),J.setMonth((0,B.Z)(O)),this.formControl.setValue(J),T.close()}}return E.\u0275fac=function(){let te;return function(T){return(te||(te=m.n5z(E)))(T||E)}}(),E.\u0275cmp=m.Xpm({type:E,selectors:[["go-monthpicker","controlName",""]],inputs:{_startView:"_startView"},features:[m._Bn([{provide:k.l,useExisting:(0,m.Gpc)(()=>E)},{provide:L._A,useClass:R.KR,deps:[M.OL]},{provide:x.sG,useValue:ae}],[{provide:I.gN,useFactory:w.g,deps:[[new m.tp0,I.gN]]}]),m.qOj],attrs:H,decls:13,vars:28,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["matInput","","autocomplete","off",3,"timeZone","formControlName","matDatepickerFilter","goDatepicker","min","max","click"],["matSuffix","",3,"control","showClear","suffixIcon","suffixClick"],[3,"startView","touchUi","monthSelected"],["picker",""],["defaultTemplate",""],[3,"innerHTML"]],template:function(O,T){if(1&O){const J=m.EpF();m.TgZ(0,"mat-form-field",0)(1,"mat-label"),m.YNc(2,j,1,0,"ng-container",1),m.qZA(),m.TgZ(3,"input",2),m.NdJ("click",function(){return m.CHM(J),m.MAs(6).open()}),m.qZA(),m.TgZ(4,"go-form-field-suffix",3),m.NdJ("suffixClick",function(pt){return T.onSuffixClick(pt)}),m.qZA(),m.TgZ(5,"sat-datepicker",4,5),m.NdJ("monthSelected",function(pt){m.CHM(J);const bt=m.MAs(6);return T.chosenMonthHandler(pt,bt)}),m.qZA(),m.TgZ(7,"mat-hint"),m.YNc(8,z,1,0,"ng-container",1),m.qZA(),m.TgZ(9,"mat-error"),m.YNc(10,le,1,0,"ng-container",1),m.qZA()(),m.YNc(11,oe,1,1,"ng-template",null,6,m.W1O)}if(2&O){const J=m.MAs(6),me=m.MAs(12);m.Q6J("appearance",T.appearance)("floatLabel",T.floatLabel)("ngClass",m.VKq(20,$,T._fullWidth)),m.xp6(2),m.Q6J("ngTemplateOutlet",T.labelTemplate?T.labelTemplate:me)("ngTemplateOutletContext",m.VKq(22,y,T.label)),m.xp6(1),m.Q6J("timeZone",T.timeZone)("formControlName",T.controlName)("matDatepickerFilter",T._datepickerFilter)("goDatepicker",J)("min",T.min)("max",T.max),m.xp6(1),m.Q6J("control",T.formControl)("showClear",T._showClear)("suffixIcon",T.suffixIcon),m.xp6(1),m.Q6J("startView",T._startView)("touchUi",T.touchUi),m.xp6(3),m.Q6J("ngTemplateOutlet",T.hintTemplate?T.hintTemplate:me)("ngTemplateOutletContext",m.VKq(24,y,T.hint)),m.xp6(2),m.Q6J("ngTemplateOutlet",T.errorTemplate?T.errorTemplate:me)("ngTemplateOutletContext",m.VKq(26,y,T.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}",".mat-form-field-appearance-outline[_ngcontent-%COMP%]   .mat-select-arrow-wrapper[_ngcontent-%COMP%]{cursor:pointer}"],changeDetection:0}),E})();var Ve=l(5912),$e=l(3784),Be=l(63191),Ee=l(91159),Ie=l(91079),Re=l(7625),Ge=l(1059),it=l(75778),Se=l(80013),Z=l(21222),V=l(26984),U=l(36787),fe=l(67322),pe=l(48792),He=l(69808),et=l(26688),de=l(20773);function lt(E,te){if(1&E&&m._UZ(0,"mat-spinner",1),2&E){const O=m.oxw();m.Q6J("diameter",O.diameter)}}let St=(()=>{class E{constructor(){this.diameter=40}get loading(){return this._loading}set loading(O){this._loading=(0,Be.Ig)(O)}}return E.\u0275fac=function(O){return new(O||E)},E.\u0275cmp=m.Xpm({type:E,selectors:[["go-loader"]],inputs:{loading:"loading",diameter:"diameter"},decls:1,vars:1,consts:[[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(O,T){1&O&&m.YNc(0,lt,1,1,"mat-spinner",0),2&O&&m.Q6J("ngIf",T.loading)},directives:[He.O5,de.Ou],encapsulation:2}),E})();var Qt=l(25245),gt=l(98833),yt=l(884);const Je=["suffix"],ct=["search"],Xe=["controlName",""];function X(E,te){1&E&&m.GkF(0)}const xe=function(E){return{message:E}};function he(E,te){if(1&E&&(m.TgZ(0,"mat-label"),m.YNc(1,X,1,0,"ng-container",13),m.qZA()),2&E){const O=m.oxw(),T=m.MAs(19);m.xp6(1),m.Q6J("ngTemplateOutlet",O.labelTemplate?O.labelTemplate:T)("ngTemplateOutletContext",m.VKq(2,xe,O.label))}}function N(E,te){1&E&&m._UZ(0,"go-loader",20),2&E&&m.Q6J("diameter",20)}function F(E,te){1&E&&(m.TgZ(0,"mat-icon",21),m._uU(1,"cancel"),m.qZA())}const Y=function(E){return{"go-not-persisted":E}};function re(E,te){if(1&E){const O=m.EpF();m.TgZ(0,"mat-chip",15),m.NdJ("removed",function(){const me=m.CHM(O).$implicit;return m.oxw().removeHandler(me)}),m.TgZ(1,"span",16),m._uU(2),m.qZA(),m.ynx(3,17),m.YNc(4,N,1,1,"go-loader",18),m.YNc(5,F,2,0,"mat-icon",19),m.BQk(),m.qZA()}if(2&E){const O=te.$implicit;m.Q6J("ngClass",m.VKq(4,Y,!O.value||"not_persisted"===O.value)),m.xp6(2),m.Oqu(O.label),m.xp6(1),m.Q6J("ngSwitch",O.value),m.xp6(1),m.Q6J("ngSwitchCase",void 0)}}function Oe(E,te){if(1&E&&(m.TgZ(0,"span",22),m._uU(1),m.qZA()),2&E){const O=m.oxw();m.xp6(1),m.Oqu(O.suffix)}}function Ye(E,te){if(1&E&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"join"),m.qZA()),2&E){const O=m.oxw();m.xp6(1),m.Oqu(m.Dn7(2,1,O._chips,", ","label"))}}function vt(E,te){if(1&E&&(m.TgZ(0,"mat-option",23),m._uU(1),m.qZA()),2&E){const O=te.$implicit;m.Q6J("value",O),m.uIk("data-value",O.value),m.xp6(1),m.hij(" ",O.label," ")}}const Vt=function(E){return{label:E}};function Jt(E,te){if(1&E&&(m.TgZ(0,"mat-option",24),m.SDv(1,25),m.qZA()),2&E){const O=te.$implicit;m.oxw();const T=m.MAs(7);m.Q6J("value",m.VKq(2,Vt,T.value)),m.xp6(1),m.pQV(O),m.QtT(1)}}function hn(E,te){1&E&&m.GkF(0)}function gn(E,te){1&E&&m.GkF(0)}function yn(E,te){1&E&&m._UZ(0,"span",26),2&E&&m.Q6J("innerHTML",te.message,m.oJD)}const An=function(E,te,O){return{"full-width":E,"go-form-field-disabled":te,readonly:O}};let Nn=(()=>{class E extends V.c{constructor(){super(...arguments),this._chips=[],this._allOptions=[],this._options=[],this.separatorKeysCodes=[Ee.K5,Ee.OC],this.search=new m.vpe,this.add=new m.vpe,this.searchControl=new I.NI}get addable(){return this._addable}set addable(O){this._addable=(0,Be.Ig)(O)}set chips(O){O&&(this._chips=O,this.cd.markForCheck())}set options(O){var T;O?(this._allOptions=O,this._chips.length<(null===(T=this.formControl.value)||void 0===T?void 0:T.length)&&this.addChipsFromFormValue(),this.filterOptions()):this.addable&&this.searchRef.nativeElement.value&&(this._options=[]),this.showAdd=this.addable&&!this.allOptionsContain(this.searchRef.nativeElement.value)&&""!==this.searchRef.nativeElement.value.trim()}set readonly(O){this._readonly=(0,Be.Ig)(O)}set disabled(O){(0,Be.Ig)(O)?(this.searchControl.disable(),this.formControl.disable(),this._disabled=!0):(this.searchControl.enable(),this.formControl.enable(),this._disabled=!1),this.cd.markForCheck()}ngOnInit(){this.searchControl.valueChanges.pipe((0,Re.R)(this._destroy$)).subscribe(O=>{!(O instanceof Object)&&(null==O?void 0:O.length)&&(this.search.next(O),this.showAdd=this.addable&&!this.allOptionsContain(this.searchRef.nativeElement.value)&&""!==this.searchRef.nativeElement.value.trim())})}ngAfterContentInit(){super.ngAfterContentInit(),this._allOptions&&this.filterOptions(),this.formControl.valueChanges.pipe((0,Ge.O)(this.formControl.value),(0,Re.R)(this._destroy$),(0,it.x)(),(0,Se.b)(this.formsOptions.debounceTime)).subscribe(O=>this.init(O))}init(O){if(null!=O)if(Array.isArray(O))if((0,Z.Ll)(O)){const T=O.map(J=>J.value);this.chips=O,this.formControl.patchValue(T,{emitEvent:!1}),this._allOptions=this._allOptions.length?this._allOptions.concat(O.filter(J=>this._allOptions.find(me=>me.value===J.value))):O}else this.addChipsFromFormValue(),this.formControl.patchValue(O,{emitEvent:!1});else this.formControl.patchValue([O],{emitEvent:!1}),this.addChipsFromFormValue();else this.formControl.patchValue([],{emitEvent:!1}),this.chips=[],this.searchControl.reset();this.filterOptions()}addChipsFromFormValue(){const O=[...this._allOptions];this.chips=this.formControl.value.map(T=>O.find(J=>J.value===T)).filter(T=>T)}selectHandler(O){const T=O.option.value;T&&(T.value?this.updateForm(T):this.add.next(T),O.option.deselect(),this._chips.push(T),this.resetSearch())}removeHandler(O){const T=this.formControl.value.indexOf(O.value);if(this._chips.indexOf(O)>=0&&this._chips.splice(T,1),T>=0){const me=this.formControl.value;me.splice(T,1),this.formControl.setValue(me),this.filterOptions()}this.searchRef.nativeElement.value&&this.searchRef.nativeElement.value.length&&(this.filterOptions(),setTimeout(()=>{this.showDropdown(),this.cd.markForCheck()}))}updateForm(O){const T=this.formControl.value?this.formControl.value:[];T.push(O.value),this.formControl.setValue(T),this.filterOptions()}trackBy(O){return O.value}filterOptions(){this.formControl&&Array.isArray(this.formControl.value)&&(this._options=this._allOptions.filter(O=>!(this.formControl.value||[]).includes(O.value)),this.cd.markForCheck())}subscribeToStatusChanges(){!this.formGroupDirective||!this.formControl||(0,U.T)(this.formGroupDirective.ngSubmit,this.formControl.statusChanges).pipe((0,Re.R)(this._destroy$)).subscribe(()=>{this.searchControl.setErrors(this.formControl.errors),this.cd.markForCheck()})}allOptionsContain(O){const T=O.replace(/\s+/g," ");return-1!==this._allOptions.findIndex(J=>J.label===T)}resetSearch(){this.search.next(""),this.searchRef.nativeElement.value="",this.searchControl.setValue("",{emitEvent:!1})}showDropdown(){this.trigger.openPanel()}}return E.\u0275fac=function(){let te;return function(T){return(te||(te=m.n5z(E)))(T||E)}}(),E.\u0275cmp=m.Xpm({type:E,selectors:[["go-chip","controlName",""]],contentQueries:function(O,T,J){if(1&O&&m.Suo(J,Je,5),2&O){let me;m.iGM(me=m.CRH())&&(T.suffixTemplate=me.first)}},viewQuery:function(O,T){if(1&O&&(m.Gf(ct,7),m.Gf(ct,7,Ie.ZL)),2&O){let J;m.iGM(J=m.CRH())&&(T.searchRef=J.first),m.iGM(J=m.CRH())&&(T.trigger=J.first)}},inputs:{placeholder:"placeholder",suffix:"suffix",addable:"addable",chips:"chips",options:"options",readonly:"readonly",disabled:"disabled"},outputs:{search:"search",add:"add"},features:[m._Bn([{provide:k.l,useExisting:(0,m.Gpc)(()=>E)}],[{provide:I.gN,useFactory:w.g,deps:[[new m.tp0,I.gN]]}]),m.qOj],attrs:Xe,decls:20,vars:31,consts:function(){let te;return te=$localize`:Button to create a new chip@@label-create-chip␟149108df15e0b2ecef26f1eace724945ba7768db␟4135085370443257637: ${"\ufffd0\ufffd"}:VALUE: (erstellen) `,[[3,"appearance","floatLabel","ngClass"],[4,"ngIf"],[3,"hidden"],["chips",""],["selectable","false","removable","true",3,"ngClass","removed",4,"ngFor","ngForOf","ngForTrackBy"],["hidden","",3,"formControl"],["matInput","","matChipInputAddOnBlur","false",3,"disabled","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","click"],["search",""],["matSuffix","",4,"ngIf"],[3,"optionSelected"],["autoComplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["class","chip-add",3,"value",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],["selectable","false","removable","true",3,"ngClass","removed"],[1,"chip-content"],[3,"ngSwitch"],["loading","",3,"diameter",4,"ngSwitchCase"],["matChipRemove","",4,"ngSwitchDefault"],["loading","",3,"diameter"],["matChipRemove",""],["matSuffix",""],[3,"value"],[1,"chip-add",3,"value"],te,[3,"innerHTML"]]},template:function(O,T){if(1&O&&(m.TgZ(0,"mat-form-field",0),m.YNc(1,he,2,4,"mat-label",1),m.TgZ(2,"mat-chip-list",2,3),m.YNc(4,re,6,6,"mat-chip",4),m._UZ(5,"input",5),m.TgZ(6,"input",6,7),m.NdJ("click",function(){return T.showDropdown()}),m.qZA(),m.YNc(8,Oe,2,1,"span",8),m.qZA(),m.YNc(9,Ye,3,5,"span",1),m.TgZ(10,"mat-autocomplete",9,10),m.NdJ("optionSelected",function(me){return T.selectHandler(me)}),m.YNc(12,vt,2,3,"mat-option",11),m.YNc(13,Jt,2,4,"mat-option",12),m.qZA(),m.TgZ(14,"mat-hint"),m.YNc(15,hn,1,0,"ng-container",13),m.qZA(),m.TgZ(16,"mat-error"),m.YNc(17,gn,1,0,"ng-container",13),m.qZA()(),m.YNc(18,yn,1,1,"ng-template",null,14,m.W1O)),2&O){const J=m.MAs(3),me=m.MAs(7),pt=m.MAs(11),bt=m.MAs(19);m.Q6J("appearance",T.appearance)("floatLabel",T.floatLabel)("ngClass",m.kEZ(23,An,T._fullWidth,T._disabled,T._readonly)),m.uIk("data-loaded",!!T._options),m.xp6(1),m.Q6J("ngIf",!T._readonly),m.xp6(1),m.Q6J("hidden",T._readonly),m.xp6(2),m.Q6J("ngForOf",T._chips)("ngForTrackBy",T.trackBy),m.xp6(1),m.Q6J("formControl",T.formControl),m.xp6(1),m.Q6J("disabled",T._disabled)("placeholder",T.placeholder)("formControl",T.searchControl)("matAutocomplete",pt)("matChipInputFor",J)("matChipInputSeparatorKeyCodes",T.separatorKeysCodes),m.xp6(2),m.Q6J("ngIf",T.suffix),m.xp6(1),m.Q6J("ngIf",T._readonly),m.xp6(3),m.Q6J("ngForOf",T._options),m.xp6(1),m.Q6J("ngIf",T.showAdd&&me.value),m.xp6(2),m.Q6J("ngTemplateOutlet",T.hintTemplate?T.hintTemplate:bt)("ngTemplateOutletContext",m.VKq(27,xe,T.hint)),m.xp6(2),m.Q6J("ngTemplateOutlet",T.errorTemplate?T.errorTemplate:bt)("ngTemplateOutletContext",m.VKq(29,xe,T.error))}},directives:[fe.KE,pe.L,He.mk,He.O5,fe.hX,He.tP,et.qn,He.sg,et.HS,He.RF,He.n9,St,He.ED,Qt.Hw,et.qH,I.Fj,I.JJ,I.oH,gt.Nt,Ie.ZL,et.oH,fe.R9,Ie.XC,L.ey,fe.bx,fe.TO],pipes:[yt.A],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}",".go-not-persisted[_ngcontent-%COMP%]{background-color:#f44336}go-loader[_ngcontent-%COMP%]{margin-left:10px}"],changeDetection:0}),E})();var In=l(67217),wn=l(87238),Wn=l(73617),Bn=l(74664);const Xt=["option"],Pt=["suffix"],ht=["inputRef"],be=["controlName",""];function Ze(E,te){1&E&&m.GkF(0)}const _t=function(E){return{message:E}};function st(E,te){if(1&E&&(m.TgZ(0,"mat-label"),m.YNc(1,Ze,1,0,"ng-container",9),m.qZA()),2&E){const O=m.oxw(),T=m.MAs(15);m.xp6(1),m.Q6J("ngTemplateOutlet",O.labelTemplate?O.labelTemplate:T)("ngTemplateOutletContext",m.VKq(2,_t,O.label))}}function Ut(E,te){if(1&E&&(m.TgZ(0,"span"),m._uU(1),m.qZA()),2&E){const O=m.oxw();m.xp6(1),m.Oqu(O.displayFn(null==O._selectedOption?null:O._selectedOption.label))}}function Ht(E,te){if(1&E&&(m.TgZ(0,"span",11),m._uU(1),m.qZA()),2&E){const O=m.oxw();m.xp6(1),m.Oqu(O.suffix)}}function dn(E,te){1&E&&m.GkF(0)}const jt=function(E,te){return{message:E,$implicit:te}};function ce(E,te){if(1&E){const O=m.EpF();m.TgZ(0,"mat-option",12),m.NdJ("onSelectionChange",function(J){const pt=m.CHM(O).$implicit;return m.oxw().onOptionSelect(pt,J)}),m.ALo(1,"stringifyIfObject"),m.YNc(2,dn,1,0,"ng-container",9),m.qZA()}if(2&E){const O=te.$implicit,T=m.oxw(),J=m.MAs(15);m.Q6J("value",O.value)("matTooltip",O.label)("matTooltipDisabled",!T._showTooltip),m.uIk("data-value",m.lcZ(1,6,O.value)),m.xp6(2),m.Q6J("ngTemplateOutlet",T.optionTemplate?T.optionTemplate:J)("ngTemplateOutletContext",m.WLB(8,jt,O.label,O))}}function Ce(E,te){1&E&&m.GkF(0)}function Qe(E,te){1&E&&m.GkF(0)}function rt(E,te){1&E&&m._UZ(0,"span",13),2&E&&m.Q6J("innerHTML",te.message,m.oJD)}const Nt=function(E,te){return{"full-width":E,readonly:te}};let sn=(()=>{class E extends V.c{constructor(){super(...arguments),this.suffixClick=new m.vpe,this._showTooltip=!1,this.search=new m.vpe,this.selectionChange=new m.vpe,this._options=[],this.searchControl=new I.NI,this._allOptions=[]}set showClear(O){this._showClear="always"===O?O:"default"}set showTooltip(O){this._showTooltip=(0,Be.Ig)(O)}set options(O){O&&O.length&&(this._allOptions=O,this.filterOptions(),this.formControl.value&&this.onOptionSelect(O.find(T=>T.value===this.formControl.value)))}set readonly(O){this._readonly=(0,Be.Ig)(O)}set disabled(O){(0,Be.Ig)(O)?(this.searchControl.disable(),this.formControl.disable(),this._disabled=!0):(this.searchControl.enable(),this.formControl.enable(),this._disabled=!1),this.cd.markForCheck()}ngOnInit(){this.searchControl.valueChanges.pipe((0,Re.R)(this._destroy$)).subscribe(O=>{var T;O instanceof Object||!(null==O?void 0:O.length)||O===(null===(T=this._selectedOption)||void 0===T?void 0:T.value)?!O&&this._selectedOption&&(this._selectedOption=null,this.formControl.patchValue(null),this.filterOptions()):this.search.next(O)})}ngAfterContentInit(){super.ngAfterContentInit(),this._allOptions&&this.filterOptions(),this.formControl.valueChanges.pipe((0,Re.R)(this._destroy$),(0,Ge.O)(this.formControl.value),(0,it.x)(),(0,Se.b)(this.formsOptions.debounceTime)).subscribe(O=>this.onValueChange(O))}onOptionSelect(O,T){(!T||T.isUserInput)&&(this._selectedOption=O,this.selectionChange.next(O),this.filterOptions(),this.searchControl.patchValue(null==O?void 0:O.label,{emitEvent:!1}),(null==T?void 0:T.isUserInput)&&this.formControl.patchValue(O.value))}displayFn(O){const T=this._allOptions.filter(me=>me.value===O)[0],J=T?T.label:O;return null==J?void 0:J.split("</br>")[0]}trackBy(O){return O.value}subscribeToStatusChanges(){!this.formGroupDirective||!this.formControl||(0,U.T)(this.formGroupDirective.ngSubmit,this.formControl.statusChanges).pipe((0,Re.R)(this._destroy$)).subscribe(()=>{this.searchControl.setErrors(this.formControl.errors),this.cd.markForCheck()})}onValueChange(O){if(O instanceof Object&&O.label)this._options.length?this._options.includes(O)||this._allOptions.push(O):this._allOptions=[O],this.formControl.patchValue(O.value,{emitEvent:!1}),this.onOptionSelect(O),O=O.value;else if(!O||O instanceof Object||this._selectedOption===O)O||(this.searchControl.reset(),this._selectedOption=null,this.filterOptions());else{const T=this._allOptions.find(J=>J.value===O);this._selectedOption=T||null,this.filterOptions()}}filterOptions(){this._options=this._selectedOption?this._allOptions.filter(O=>this._selectedOption.value!==O.value):this._allOptions,this.cd.markForCheck()}showDropdown(){this.trigger.openPanel(),this.cd.markForCheck()}onSuffixClick(O){this._showClear?(this.selectionChange.next(null),this.searchControl.patchValue(null)):"arrow_drop_down"===this.suffixIcon&&this.showDropdown(),this.suffixClick.next(O)}}return E.\u0275fac=function(){let te;return function(T){return(te||(te=m.n5z(E)))(T||E)}}(),E.\u0275cmp=m.Xpm({type:E,selectors:[["go-autocomplete","controlName",""]],contentQueries:function(O,T,J){if(1&O&&(m.Suo(J,Xt,5),m.Suo(J,Pt,5)),2&O){let me;m.iGM(me=m.CRH())&&(T.optionTemplate=me.first),m.iGM(me=m.CRH())&&(T.suffixTemplate=me.first)}},viewQuery:function(O,T){if(1&O&&m.Gf(ht,7,Ie.ZL),2&O){let J;m.iGM(J=m.CRH())&&(T.trigger=J.first)}},inputs:{classList:"classList",placeholder:"placeholder",suffix:"suffix",suffixIcon:"suffixIcon",showClear:"showClear",showTooltip:"showTooltip",options:"options",readonly:"readonly",disabled:"disabled"},outputs:{suffixClick:"suffixClick",search:"search",selectionChange:"selectionChange"},features:[m._Bn([{provide:k.l,useExisting:(0,m.Gpc)(()=>E)}],[{provide:I.gN,useFactory:w.g,deps:[[new m.tp0,I.gN]]}]),m.qOj],attrs:be,decls:16,vars:30,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngIf"],["matInput","",3,"hidden","placeholder","formControl","matAutocomplete","click"],["inputRef",""],["matSuffix","",4,"ngIf"],["autoActiveFirstOption","",3,"displayWith"],["matAutocomplete","matAutocomplete"],[3,"value","matTooltip","matTooltipDisabled","onSelectionChange",4,"ngFor","ngForOf","ngForTrackBy"],["matSuffix","",3,"showClear","control","suffixIcon","suffixClick"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],["matSuffix",""],[3,"value","matTooltip","matTooltipDisabled","onSelectionChange"],[3,"innerHTML"]],template:function(O,T){if(1&O&&(m.TgZ(0,"mat-form-field",0),m.YNc(1,st,2,4,"mat-label",1),m.TgZ(2,"input",2,3),m.NdJ("click",function(){return T.showDropdown()}),m.qZA(),m.YNc(4,Ut,2,1,"span",1),m.YNc(5,Ht,2,1,"span",4),m.TgZ(6,"mat-autocomplete",5,6),m.YNc(8,ce,3,11,"mat-option",7),m.qZA(),m.TgZ(9,"go-form-field-suffix",8),m.NdJ("suffixClick",function(me){return T.onSuffixClick(me)}),m.qZA(),m.TgZ(10,"mat-hint"),m.YNc(11,Ce,1,0,"ng-container",9),m.qZA(),m.TgZ(12,"mat-error"),m.YNc(13,Qe,1,0,"ng-container",9),m.qZA()(),m.YNc(14,rt,1,1,"ng-template",null,10,m.W1O)),2&O){const J=m.MAs(7),me=m.MAs(15);m.Q6J("appearance",T.appearance)("floatLabel",T.floatLabel)("ngClass",m.WLB(23,Nt,T._fullWidth,T._readonly)),m.uIk("data-loaded",!!T._options),m.xp6(1),m.Q6J("ngIf",!T._readonly),m.xp6(1),m.Q6J("hidden",T._readonly)("placeholder",T.placeholder)("formControl",T.searchControl)("matAutocomplete",J),m.xp6(2),m.Q6J("ngIf",T._readonly),m.xp6(1),m.Q6J("ngIf",T.suffix),m.xp6(1),m.Tol(T.classList),m.Q6J("displayWith",T.displayFn.bind(T)),m.xp6(2),m.Q6J("ngForOf",T._options)("ngForTrackBy",T.trackBy),m.xp6(1),m.Q6J("showClear",T._showClear)("control",T.formControl)("suffixIcon",T.suffixIcon),m.xp6(2),m.Q6J("ngTemplateOutlet",T.hintTemplate?T.hintTemplate:me)("ngTemplateOutletContext",m.VKq(26,_t,T.hint)),m.xp6(2),m.Q6J("ngTemplateOutlet",T.errorTemplate?T.errorTemplate:me)("ngTemplateOutletContext",m.VKq(28,_t,T.error))}},directives:[fe.KE,pe.L,He.mk,He.O5,fe.hX,He.tP,gt.Nt,I.Fj,Ie.ZL,I.JJ,I.oH,fe.R9,Ie.XC,He.sg,L.ey,In.$,wn.gM,Wn.V,fe.bx,fe.TO],pipes:[Bn.O],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),E})();var On=l(74307),Ln=l(35803),zn=l(87645),hi=l(90900),mi=l(2184),gi=l(46476),ki=l(89868),ji=l(19927);const Ki=["controlName",""];function Ni(E,te){if(1&E&&m._UZ(0,"go-datepicker",10),2&E){const O=m.oxw(2);m.Q6J("timeZone",O.timeZone)("label",O.label1)("hint",O.hint1)("dates",O.dates)("disabled",O._disable)("min",O.minDate)("max",O.maxDate)}}const Kn=function(E){return{reverse:E}};function vi(E,te){if(1&E&&(m.TgZ(0,"div",7),m.YNc(1,Ni,1,7,"go-datepicker",8),m._UZ(2,"go-time",9),m.qZA()),2&E){const O=m.oxw();m.Q6J("formGroup",O.form)("ngClass",m.VKq(10,Kn,O._reverse)),m.xp6(1),m.Q6J("ngIf",!O.hideDate),m.xp6(1),m.Q6J("label",O.label2)("hint",O.hint2)("showDuration",O._showDuration)("format",O.format)("baseDate",O._baseDate)("date",O.form.value.date)("disabled",O._disable)}}function Ai(E,te){1&E&&m.GkF(0)}const Ji=function(E){return{message:E}};function Xi(E,te){if(1&E&&(m.TgZ(0,"mat-hint"),m.YNc(1,Ai,1,0,"ng-container",5),m.qZA()),2&E){const O=m.oxw(),T=m.MAs(7);m.xp6(1),m.Q6J("ngTemplateOutlet",O.hintTemplate?O.hintTemplate:T)("ngTemplateOutletContext",m.VKq(2,Ji,O.hint))}}function Li(E,te){1&E&&m.GkF(0)}function cn(E,te){1&E&&m._UZ(0,"span",11),2&E&&m.Q6J("innerHTML",te.message,m.oJD)}let qn=(()=>{class E extends V.c{constructor(){super(...arguments),this._reverse=!1,this.format="HH:mm",this._showDuration=!1,this._disable=!1}set reverse(O){this._reverse=(0,Be.Ig)(O)}set baseDate(O){this._baseDate=O,this.cd.markForCheck()}set showDuration(O){this._showDuration=(0,Be.Ig)(O)}set hideDate(O){this._hideDate=(0,Be.Ig)(O)}get hideDate(){return this._hideDate}set disable(O){this._disable=(0,Be.Ig)(O)}ngAfterContentInit(){super.ngAfterContentInit(),this.init()}init(){this.form=this.formService.toFormGroup([{key:"date",value:null,validators:[I.kI.required]},{key:"time",value:1800*Math.ceil((0,zn.Z)(new Date,this.startOfDay(new Date))/1800),validators:[I.kI.required]}]),this.controlDate=this.form.controls.date,this.controlTime=this.form.controls.time,this.formControl.valueChanges.pipe((0,Re.R)(this._destroy$),(0,Ge.O)(this.formControl.value),(0,Se.b)(this.formsOptions.debounceTime),(0,it.x)()).subscribe(O=>{const T={};O&&(0,hi.Z)(new Date(O))&&(O=(0,gi.Z)(O,this.timeZone||this.localeService.timeZone),T.date=O,T.time=(0,zn.Z)(O,this.startOfDay(O)),this.form.patchValue(T),this.cd.markForCheck())}),this.formControl.statusChanges.pipe((0,Ge.O)(this.formControl.status),(0,Re.R)(this._destroy$),(0,Se.b)(this.formsOptions.debounceTime),(0,it.x)()).subscribe(O=>{this.checkErrors(O)}),(0,U.T)(this.controlTime.valueChanges,this.controlDate.valueChanges).pipe((0,Re.R)(this._destroy$),(0,Se.b)(this.formsOptions.debounceTime),(0,it.x)()).subscribe(()=>this.updateControl())}startOfDay(O){const T=O.getHours(),J=O.getMinutes(),me=O.getSeconds(),pt=O.getMilliseconds();return new Date(O.getTime()-36e5*T-6e4*J-1e3*me-pt)}updateControl(){if(this.controlDate.value&&this.controlTime.value>=0&&(0,hi.Z)(new Date(this.controlDate.value))){const T=(0,mi.Z)(this.startOfDay(this.hideDate&&0!==this.controlTime.value?this._baseDate:this.controlDate.value),this.controlTime.value);(!this.formControl.value||T.getTime()!==((0,hi.Z)(this.formControl.value)&&this.formControl.value.getTime()))&&this.formControl.patchValue((0,ki.Z)(T,this.timeZone||this.localeService.timeZone))}else this.formControl.patchValue(null)}checkErrors(O){"INVALID"===O?(this.controlDate.updateValueAndValidity(),this.setErrors([I.kI.required,(0,ji.mj)()])):this.setErrors([I.kI.required])}setErrors(O){this.controlDate&&this.controlDate.setValidators(O),this.controlTime&&this.controlTime.setValidators(O),this.controlDate.updateValueAndValidity(),this.controlTime.updateValueAndValidity()}}return E.\u0275fac=function(){let te;return function(T){return(te||(te=m.n5z(E)))(T||E)}}(),E.\u0275cmp=m.Xpm({type:E,selectors:[["go-date-time","controlName",""]],inputs:{reverse:"reverse",format:"format",baseDate:"baseDate",showDuration:"showDuration",hideDate:"hideDate",timeZone:"timeZone",dates:"dates",hint1:"hint1",hint2:"hint2",label1:"label1",label2:"label2",minDate:"minDate",maxDate:"maxDate",disable:"disable"},features:[m._Bn([{provide:k.l,useExisting:(0,m.Gpc)(()=>E)}],[{provide:I.gN,useFactory:w.g,deps:[[new m.tp0,I.gN]]}]),m.qOj],attrs:Ki,decls:8,vars:7,consts:[[1,"time","full-width"],["matInput","","hidden","",3,"formControl"],["class","flex sm","class","mdc-layout-grid__inner strict-grid",3,"formGroup","ngClass",4,"ngIf"],[4,"ngIf"],[1,"main-error"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[1,"mdc-layout-grid__inner","strict-grid",3,"formGroup","ngClass"],["controlName","date","class","mdc-layout-grid__cell--span-8-desktop mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-4-phone","fullWidth","",3,"timeZone","label","hint","dates","disabled","min","max",4,"ngIf"],["controlName","time","fullWidth","",1,"mdc-layout-grid__cell--span-4-desktop","mdc-layout-grid__cell--span-3-tablet","mdc-layout-grid__cell--span-4-phone",3,"label","hint","showDuration","format","baseDate","date","disabled"],["controlName","date","fullWidth","",1,"mdc-layout-grid__cell--span-8-desktop","mdc-layout-grid__cell--span-5-tablet","mdc-layout-grid__cell--span-4-phone",3,"timeZone","label","hint","dates","disabled","min","max"],[3,"innerHTML"]],template:function(O,T){if(1&O&&(m.TgZ(0,"mat-form-field",0),m._UZ(1,"input",1),m.YNc(2,vi,3,12,"div",2),m.YNc(3,Xi,2,4,"mat-hint",3),m.TgZ(4,"mat-error",4),m.YNc(5,Li,1,0,"ng-container",5),m.qZA()(),m.YNc(6,cn,1,1,"ng-template",null,6,m.W1O)),2&O){const J=m.MAs(7);m.xp6(1),m.Q6J("formControl",T.formControl),m.xp6(1),m.Q6J("ngIf",T.form),m.xp6(1),m.Q6J("ngIf",!T.error&&T.hint),m.xp6(2),m.Q6J("ngTemplateOutlet",T.errorTemplate?T.errorTemplate:J)("ngTemplateOutletContext",m.VKq(5,Ji,T.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}",".mat-form-field-underline{display:none}.mat-form-field.time[_ngcontent-%COMP%]{padding:0}  .mat-form-field.time>.mat-form-field-wrapper>.mat-form-field-subscript-wrapper{padding:0 2em;margin-top:-1em}@media (min-width: 600px){go-datepicker[_ngcontent-%COMP%]{margin-right:3px}.reverse[_ngcontent-%COMP%]   go-datepicker[_ngcontent-%COMP%]{margin-left:3px;margin-right:0}}"],changeDetection:0}),E})();var Qn=l(79308),fi=l(91998),oi=l(81201),Xn=l(40833);function ir(E,te){(0,Xn.Z)(2,arguments);var O=(0,fi.Z)(te);return(0,oi.Z)(E,36e5*O)}var Yi=l(84191),Ti=l(80953);function Zt(E){(0,Xn.Z)(1,arguments);var te=(0,Ti.Z)(E);return te.setSeconds(0,0),te}var Et=l(76080),ut=l(36053),Un=l(43489);class En{call(te,O){return O.subscribe(new ye(te))}}class ye extends Un.L{constructor(te){super(te),this.hasPrev=!1}_next(te){let O;this.hasPrev?O=[this.prev,te]:this.hasPrev=!0,this.prev=te,O&&this.destination.next(O)}}const Bt=["controlName",""];function vn(E,te){1&E&&m.GkF(0)}const Ne=function(E){return{message:E}};function ve(E,te){if(1&E&&(m.TgZ(0,"mat-hint"),m.YNc(1,vn,1,0,"ng-container",9),m.qZA()),2&E){const O=m.oxw(),T=m.MAs(11);m.xp6(1),m.Q6J("ngTemplateOutlet",O.hintTemplate?O.hintTemplate:T)("ngTemplateOutletContext",m.VKq(2,Ne,O.hint))}}function at(E,te){1&E&&m.GkF(0)}function Rt(E,te){1&E&&m._UZ(0,"span",11),2&E&&m.Q6J("innerHTML",te.message,m.oJD)}let bn=(()=>{class E extends V.c{constructor(){super(...arguments),this.type="number"}set sameDay(O){this._sameDay=(0,Be.Ig)(O)}get sameDay(){return this._sameDay}get startDate(){return this.controlStart&&this.controlStart.value}ngAfterContentInit(){super.ngAfterContentInit(),this.form=this.formService.toFormGroup([{key:"start",value:new Date,validators:[I.kI.required]},{key:"end",value:ir(new Date,1),validators:[I.kI.required]}]),this.controlStart=this.form.controls.start,this.controlEnd=this.form.controls.end,this.formControl.valueChanges.pipe((0,Re.R)(this._destroy$),(0,Ge.O)(this.formControl.value),(0,Se.b)(this.formsOptions.debounceTime),(0,it.x)()).subscribe(O=>{if(!O)return;const T=(0,Qn.Qc)(O),J={};J.start=(0,Yi.Z)(T.begin),J.end=(0,Yi.Z)(T.end),this.baseDate=(0,gi.Z)(J.start,this.timeZone||this.localeService.timeZone),this.form.patchValue(J),this.cd.markForCheck()}),(0,ut.aj)(this.controlStart.valueChanges,this.controlEnd.valueChanges).pipe((0,Re.R)(this._destroy$),(0,Se.b)(this.formsOptions.debounceTime),(0,it.x)(),function Ft(){return E=>E.lift(new En)}()).subscribe(([O,T])=>this.updateControl(O,T)),this.formControl.statusChanges.pipe((0,Ge.O)(this.formControl.status),(0,Re.R)(this._destroy$),(0,Se.b)(this.formsOptions.debounceTime),(0,it.x)()).subscribe(O=>{this.checkErrors(O)})}updateControl(O,T){if((function nn(E,te){(0,Xn.Z)(2,arguments);var O=(0,Ti.Z)(E),T=(0,Ti.Z)(te);return O.getTime()<T.getTime()}(T[1],T[0])||function Ct(E,te){(0,Xn.Z)(2,arguments);var O=Zt(E),T=Zt(te);return O.getTime()===T.getTime()}(T[1],T[0]))&&T[1]===O[1]){const me=(0,Et.Z)(O[1],O[0]);T[1]=(0,Ti.Z)(T[0]),T[1]=function Lt(E,te){(0,Xn.Z)(2,arguments);var O=(0,fi.Z)(te);return(0,oi.Z)(E,6e4*O)}(T[1],me)}const J=new Qn.e6(T[0].toISOString(),T[1].toISOString()).toString();this.formControl.patchValue(J)}checkErrors(O){this.setErrors("INVALID"===O?this.formControl.errors:null)}setErrors(O){!O||(this.controlStart&&!O.minDate&&this.controlStart.setErrors(O),this.controlEnd&&this.controlEnd.setErrors(O))}}return E.\u0275fac=function(){let te;return function(T){return(te||(te=m.n5z(E)))(T||E)}}(),E.\u0275cmp=m.Xpm({type:E,selectors:[["go-span","controlName",""]],inputs:{type:"type",hint1:"hint1",hint2:"hint2",hint3:"hint3",hint4:"hint4",label1:"label1",label2:"label2",label3:"label3",label4:"label4",timeZone:"timeZone",sameDay:"sameDay"},features:[m._Bn([{provide:k.l,useExisting:(0,m.Gpc)(()=>E)}],[{provide:I.gN,useFactory:w.g,deps:[[new m.tp0,I.gN]]}]),m.qOj],attrs:Bt,decls:12,vars:20,consts:function(){let te;return te=$localize`:␟b4f775784d8a3164b133fb8634a38051154c945e␟4739373515506149638:bis`,[[1,"time","full-width"],["matInput","","hidden","",3,"formControl"],[1,"mdc-layout-grid__inner","strict-grid",3,"formGroup"],["controlName","start","fullWidth","",1,"mdc-layout-grid__cell--span-5-desktop","mdc-layout-grid__cell--span-4-tablet","mdc-layout-grid__cell--span-4-phone",3,"timeZone","label1","label2","hint1","hint2"],[1,"mdc-layout-grid__cell--span-2-desktop","mdc-layout-grid__cell--span-0-tablet","mdc-layout-grid__cell--span-4-phone"],te,["controlName","end","fullWidth","","reverse","","showDuration","","format","kk:mm",1,"mdc-layout-grid__cell--span-5-desktop","mdc-layout-grid__cell--span-4-tablet","mdc-layout-grid__cell--span-4-phone",3,"timeZone","label1","label2","hint1","hint2","baseDate","minDate","hideDate"],[4,"ngIf"],[1,"main-error"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"innerHTML"]]},template:function(O,T){if(1&O&&(m.TgZ(0,"mat-form-field",0),m._UZ(1,"input",1),m.TgZ(2,"div",2),m._UZ(3,"go-date-time",3),m.TgZ(4,"span",4),m.SDv(5,5),m.qZA(),m._UZ(6,"go-date-time",6),m.qZA(),m.YNc(7,ve,2,4,"mat-hint",7),m.TgZ(8,"mat-error",8),m.YNc(9,at,1,0,"ng-container",9),m.qZA()(),m.YNc(10,Rt,1,1,"ng-template",null,10,m.W1O)),2&O){const J=m.MAs(11);m.xp6(1),m.Q6J("formControl",T.formControl),m.xp6(1),m.Q6J("formGroup",T.form),m.xp6(1),m.Q6J("timeZone",T.timeZone)("label1",T.label1)("label2",T.label2)("hint1",T.hint1)("hint2",T.hint2),m.xp6(3),m.Q6J("timeZone",T.timeZone)("label1",T.label3)("label2",T.label4)("hint1",T.hint3)("hint2",T.hint4)("baseDate",T.baseDate)("minDate",T.controlStart.value)("hideDate",T.sameDay),m.xp6(1),m.Q6J("ngIf",!T.error&&T.hint),m.xp6(2),m.Q6J("ngTemplateOutlet",T.errorTemplate?T.errorTemplate:J)("ngTemplateOutletContext",m.VKq(18,Ne,T.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}","span[_ngcontent-%COMP%]{margin-bottom:16px;text-align:center}@media (min-width: 600px){span[_ngcontent-%COMP%]{margin-top:20px}}"],changeDetection:0}),E})();var Fe=l(63131);const ne=["controlName",""];function Me(E,te){1&E&&m.GkF(0)}function We(E,te){1&E&&m.GkF(0)}function Tt(E,te){1&E&&m._UZ(0,"span",7),2&E&&m.Q6J("innerHTML",te.message,m.oJD)}const Wt=function(E){return{message:E}};let _e=(()=>{class E extends V.c{constructor(){super(...arguments),this.pickerId="go-color-picker-"+E.nextId++}}return E.nextId=0,E.\u0275fac=function(){let te;return function(T){return(te||(te=m.n5z(E)))(T||E)}}(),E.\u0275cmp=m.Xpm({type:E,selectors:[["go-color-picker","controlName",""]],features:[m._Bn([{provide:k.l,useExisting:(0,m.Gpc)(()=>E)}],[{provide:I.gN,useFactory:w.g,deps:[[new m.tp0,I.gN]]}]),m.qOj],attrs:ne,decls:15,vars:15,consts:function(){let te,O;return te=$localize`:Cancel button for color picker@@button-cancel␟d7b35c384aecd25a516200d6921836374613dfe7␟2159130950882492111:Cancel`,O=$localize`:Confirm button for color picker@@button-submit␟68e710782ccb5398b3acb8844caf0b199da2c3da␟9178182467454450952:Confirm`,[[1,"label-pos"],["colorPickerSelectorHeight","150","mccConnectedColorPicker","","btnCancel",te,"btnConfirm",O,3,"hideUsedColors","mccConnectedColorPickerOrigin"],[3,"for"],["hidden","","mccColorPickerOrigin","",3,"id","formControl"],["trigger","mccColorPickerOrigin"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"innerHTML"]]},template:function(O,T){if(1&O&&(m.TgZ(0,"go-form-field")(1,"div",0),m._UZ(2,"go-color-picker",1),m.TgZ(3,"label",2)(4,"mat-label"),m._uU(5),m.qZA()()(),m._UZ(6,"input",3,4),m.TgZ(8,"go-form-field-subscript")(9,"mat-hint"),m.YNc(10,Me,1,0,"ng-container",5),m.qZA(),m.TgZ(11,"mat-error"),m.YNc(12,We,1,0,"ng-container",5),m.qZA()()(),m.YNc(13,Tt,1,1,"ng-template",null,6,m.W1O)),2&O){const J=m.MAs(7),me=m.MAs(14);m.xp6(2),m.Q6J("hideUsedColors",!0)("mccConnectedColorPickerOrigin",J),m.xp6(1),m.Q6J("for",T.pickerId),m.uIk("aria-owns",T.pickerId),m.xp6(2),m.Oqu(T.label),m.xp6(1),m.Q6J("id",T.pickerId)("formControl",T.formControl),m.xp6(4),m.Q6J("ngTemplateOutlet",T.hintTemplate?T.hintTemplate:me)("ngTemplateOutletContext",m.VKq(11,Wt,T.hint)),m.xp6(2),m.Q6J("ngTemplateOutlet",T.errorTemplate?T.errorTemplate:me)("ngTemplateOutletContext",m.VKq(13,Wt,T.error))}},styles:["go-color-picker button{border-radius:100%;border:.5px solid rgba(74,74,74,.54)!important;width:35px!important;height:35px!important}  go-color-picker button div.transparent{display:none}.label-pos[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center}.label-pos[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{position:relative;left:15px!important;font-size:16px}"],changeDetection:0}),E})();var je=l(86347)},58561:(ze,G,l)=>{"use strict";l.d(G,{a:()=>$});var a=l(63191),i=l(5e3),d=l(93075),p=l(10200),C=l(94064),f=l(26984),v=l(67322),b=l(48792),m=l(69808),I=l(98833),L=l(73617);const M=["suffix"],D=["controlName",""];function A(y,ae){1&y&&i.GkF(0)}const B=function(y){return{message:y}};function R(y,ae){if(1&y&&(i.TgZ(0,"mat-label"),i.YNc(1,A,1,0,"ng-container",8),i.qZA()),2&y){const ge=i.oxw(),Ve=i.MAs(13);i.xp6(1),i.Q6J("ngTemplateOutlet",ge.labelTemplate?ge.labelTemplate:Ve)("ngTemplateOutletContext",i.VKq(2,B,ge.label))}}function x(y,ae){if(1&y&&i._UZ(0,"input",11),2&y){const ge=i.oxw();i.Q6J("autocomplete",ge.autocomplete)("readonly",ge._readonly)("formControl",ge.formControl)("placeholder",ge.placeholder)("min",ge.min)("max",ge.max)}}function w(y,ae){if(1&y&&i._UZ(0,"input",12),2&y){const ge=i.oxw();i.Q6J("inputmode",ge.inputmode)("step",ge.step)("autocomplete",ge.autocomplete)("readonly",ge._readonly)("formControl",ge.formControl)("placeholder",ge.placeholder)("min",ge.min)("max",ge.max)}}function k(y,ae){if(1&y&&i._UZ(0,"input",13),2&y){const ge=i.oxw();i.Q6J("autocomplete",ge.autocomplete)("readonly",ge._readonly)("formControl",ge.formControl)("placeholder",ge.placeholder)("min",ge.min)("max",ge.max)}}function H(y,ae){if(1&y&&i._UZ(0,"input",14),2&y){const ge=i.oxw();i.Q6J("inputmode",ge.inputmode)("step",ge.step)("autocomplete",ge.autocomplete)("readonly",ge._readonly)("formControl",ge.formControl)("placeholder",ge.placeholder)("min",ge.min)("max",ge.max)}}function j(y,ae){1&y&&i.GkF(0)}function z(y,ae){1&y&&i.GkF(0)}function le(y,ae){1&y&&i._UZ(0,"span",15),2&y&&i.Q6J("innerHTML",ae.message,i.oJD)}const oe=function(y,ae,ge){return{"full-width":y,hidden:ae,readonly:ge}};let $=(()=>{class y extends f.c{constructor(){super(...arguments),this.autocomplete="on",this.suffixClick=new i.vpe}set readonly(ge){this._readonly=(0,a.Ig)(ge)}set showClear(ge){this._showClear="always"===ge?ge:"default"}onSuffixClick(ge){this.suffixClick.next(ge)}}return y.\u0275fac=function(){let ae;return function(Ve){return(ae||(ae=i.n5z(y)))(Ve||y)}}(),y.\u0275cmp=i.Xpm({type:y,selectors:[["go-input","controlName",""]],contentQueries:function(ge,Ve,$e){if(1&ge&&i.Suo($e,M,5),2&ge){let Be;i.iGM(Be=i.CRH())&&(Ve.suffixTemplate=Be.first)}},inputs:{type:"type",placeholder:"placeholder",step:"step",inputmode:"inputmode",min:"min",max:"max",suffix:"suffix",suffixIcon:"suffixIcon",readonly:"readonly",autocomplete:"autocomplete",showClear:"showClear"},outputs:{suffixClick:"suffixClick"},features:[i._Bn([{provide:C.l,useExisting:(0,i.Gpc)(()=>y)}],[{provide:d.gN,useFactory:p.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:D,decls:14,vars:25,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngIf"],[3,"ngSwitch"],["type","email","matInput","",3,"autocomplete","readonly","formControl","placeholder","min","max",4,"ngSwitchCase"],["type","number","matInput","",3,"inputmode","step","autocomplete","readonly","formControl","placeholder","min","max",4,"ngSwitchCase"],["type","tel","matInput","",3,"autocomplete","readonly","formControl","placeholder","min","max",4,"ngSwitchCase"],["type","text","matInput","",3,"inputmode","step","autocomplete","readonly","formControl","placeholder","min","max",4,"ngSwitchDefault"],["matSuffix","",3,"control","showClear","suffixTemplate","suffix","suffixIcon","suffixClick"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["","message"],["defaultTemplate",""],["type","email","matInput","",3,"autocomplete","readonly","formControl","placeholder","min","max"],["type","number","matInput","",3,"inputmode","step","autocomplete","readonly","formControl","placeholder","min","max"],["type","tel","matInput","",3,"autocomplete","readonly","formControl","placeholder","min","max"],["type","text","matInput","",3,"inputmode","step","autocomplete","readonly","formControl","placeholder","min","max"],[3,"innerHTML"]],template:function(ge,Ve){if(1&ge&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,R,2,4,"mat-label",1),i.ynx(2,2),i.YNc(3,x,1,6,"input",3),i.YNc(4,w,1,8,"input",4),i.YNc(5,k,1,6,"input",5),i.YNc(6,H,1,8,"input",6),i.BQk(),i.TgZ(7,"go-form-field-suffix",7),i.NdJ("suffixClick",function(Be){return Ve.onSuffixClick(Be)}),i.qZA(),i.TgZ(8,"mat-hint"),i.YNc(9,j,1,0,"ng-container",8),i.qZA(),i.TgZ(10,"mat-error"),i.YNc(11,z,1,0,"ng-container",8),i.qZA()(),i.YNc(12,le,1,1,"ng-template",9,10,i.W1O)),2&ge){const $e=i.MAs(13);i.Q6J("appearance",Ve.appearance)("floatLabel",Ve.floatLabel)("ngClass",i.kEZ(17,oe,Ve._fullWidth,"hidden"===Ve.type,Ve._readonly)),i.xp6(1),i.Q6J("ngIf",!Ve._readonly),i.xp6(1),i.Q6J("ngSwitch",Ve.type),i.xp6(1),i.Q6J("ngSwitchCase","email"),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngSwitchCase","tel"),i.xp6(2),i.Q6J("control",Ve.formControl)("showClear",Ve._showClear)("suffixTemplate",Ve.suffixTemplate)("suffix",Ve.suffix)("suffixIcon",Ve.suffixIcon),i.xp6(2),i.Q6J("ngTemplateOutlet",Ve.hintTemplate?Ve.hintTemplate:$e)("ngTemplateOutletContext",i.VKq(21,B,Ve.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",Ve.errorTemplate?Ve.errorTemplate:$e)("ngTemplateOutletContext",i.VKq(23,B,Ve.error))}},directives:[v.KE,b.L,m.mk,m.O5,v.hX,m.tP,m.RF,m.n9,I.Nt,d.Fj,d.JJ,d.oH,d.wV,d.qQ,d.Fd,m.ED,L.V,v.R9,v.bx,v.TO],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),y})()},13555:(ze,G,l)=>{"use strict";l.d(G,{I:()=>H});var a=l(5e3),i=l(93075),d=l(63191),p=l(10200),C=l(94064),f=l(26984),v=l(67322),b=l(48792),m=l(69808),I=l(98833),L=l(47423),M=l(25245);const D=["controlName",""];function A(j,z){1&j&&a.GkF(0)}function B(j,z){1&j&&a.GkF(0)}function R(j,z){1&j&&a.GkF(0)}function x(j,z){1&j&&a._UZ(0,"span",5),2&j&&a.Q6J("innerHTML",z.message,a.oJD)}const w=function(j){return{"full-width":j}},k=function(j){return{message:j}};let H=(()=>{class j extends f.c{constructor(){super(...arguments),this.autocomplete="current-password",this.type="password",this.icon="visibility_off"}set readonly(le){this._readonly=(0,d.Ig)(le)}toggleVisibility(){"password"===this.type?(this.type="text",this.icon="visibility"):(this.type="password",this.icon="visibility_off")}}return j.\u0275fac=function(){let z;return function(oe){return(z||(z=a.n5z(j)))(oe||j)}}(),j.\u0275cmp=a.Xpm({type:j,selectors:[["go-password","controlName",""]],inputs:{autocomplete:"autocomplete",placeholder:"placeholder",readonly:"readonly"},features:[a._Bn([{provide:C.l,useExisting:(0,a.Gpc)(()=>j)}],[{provide:i.gN,useFactory:p.g,deps:[[new a.tp0,i.gN]]}]),a.qOj],attrs:D,decls:13,vars:23,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["matInput","",3,"type","formControl","readonly","placeholder","autocomplete"],["matSuffix","","type","button","mat-icon-button","","tabindex","-1",3,"click"],["defaultTemplate",""],[3,"innerHTML"]],template:function(le,oe){if(1&le&&(a.TgZ(0,"mat-form-field",0)(1,"mat-label"),a.YNc(2,A,1,0,"ng-container",1),a.qZA(),a._UZ(3,"input",2),a.TgZ(4,"button",3),a.NdJ("click",function(){return oe.toggleVisibility()}),a.TgZ(5,"mat-icon"),a._uU(6),a.qZA()(),a.TgZ(7,"mat-hint"),a.YNc(8,B,1,0,"ng-container",1),a.qZA(),a.TgZ(9,"mat-error"),a.YNc(10,R,1,0,"ng-container",1),a.qZA()(),a.YNc(11,x,1,1,"ng-template",null,4,a.W1O)),2&le){const $=a.MAs(12);a.Q6J("appearance",oe.appearance)("floatLabel",oe.floatLabel)("ngClass",a.VKq(15,w,oe._fullWidth)),a.xp6(2),a.Q6J("ngTemplateOutlet",oe.labelTemplate?oe.labelTemplate:$)("ngTemplateOutletContext",a.VKq(17,k,oe.label)),a.xp6(1),a.Q6J("type",oe.type)("formControl",oe.formControl)("readonly",oe._readonly)("placeholder",oe.placeholder)("autocomplete",oe.autocomplete),a.xp6(3),a.Oqu(oe.icon),a.xp6(2),a.Q6J("ngTemplateOutlet",oe.hintTemplate?oe.hintTemplate:$)("ngTemplateOutletContext",a.VKq(19,k,oe.hint)),a.xp6(2),a.Q6J("ngTemplateOutlet",oe.errorTemplate?oe.errorTemplate:$)("ngTemplateOutletContext",a.VKq(21,k,oe.error))}},directives:[v.KE,b.L,m.mk,v.hX,m.tP,I.Nt,i.Fj,i.JJ,i.oH,L.lW,v.R9,M.Hw,v.bx,v.TO],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),j})()},36585:(ze,G,l)=>{"use strict";l.d(G,{D:()=>k});var a=l(5e3),i=l(93075),d=l(10200),p=l(94064),C=l(26984),f=l(67322),v=l(48792),b=l(69808),m=l(47423),I=l(25245),L=l(98833);const M=["controlName",""];function D(H,j){1&H&&a.GkF(0)}function A(H,j){1&H&&a.GkF(0)}function B(H,j){1&H&&a.GkF(0)}function R(H,j){1&H&&a._UZ(0,"span",6),2&H&&a.Q6J("innerHTML",j.message,a.oJD)}const x=function(H){return{"full-width":H}},w=function(H){return{message:H}};let k=(()=>{class H extends C.c{get belowMaxQuantity(){return null==this.value||null==this.maxQuantity||this.value<this.maxQuantity}get aboveMinQuantity(){return null==this.value||null==this.minQuantity&&this.value>0||this.value>this.minQuantity}ngAfterContentInit(){super.ngAfterContentInit(),Number.isInteger(this.formControl.value)||(a.X6Q&&console.warn("Value for QuantityComponent must be an integer"),this.formControl.patchValue(0))}add(){this.value=this.formControl.value,this.belowMaxQuantity&&(this.value++,this.formControl.setValue(this.value))}subtract(){this.value=this.formControl.value,this.aboveMinQuantity&&(this.value--,this.formControl.setValue(this.value))}}return H.\u0275fac=function(){let j;return function(le){return(j||(j=a.n5z(H)))(le||H)}}(),H.\u0275cmp=a.Xpm({type:H,selectors:[["go-quantity","controlName",""]],inputs:{placeholder:"placeholder",maxQuantity:"maxQuantity",minQuantity:"minQuantity"},features:[a._Bn([{provide:p.l,useExisting:(0,a.Gpc)(()=>H)}],[{provide:i.gN,useFactory:d.g,deps:[[new a.tp0,i.gN]]}]),a.qOj],attrs:M,decls:16,vars:23,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["matPrefix","","mat-icon-button","","type","button","tabindex","-1",1,"go-stepper","subtract",3,"disabled","click"],["type","number","matInput","","autocomplete","off",3,"min","max","formControl","placeholder"],["matSuffix","","mat-icon-button","","type","button","tabindex","-1",1,"go-stepper","add",3,"disabled","click"],["defaultTemplate",""],[3,"innerHTML"]],template:function(z,le){if(1&z&&(a.TgZ(0,"mat-form-field",0)(1,"mat-label"),a.YNc(2,D,1,0,"ng-container",1),a.qZA(),a.TgZ(3,"button",2),a.NdJ("click",function(){return le.subtract()}),a.TgZ(4,"mat-icon"),a._uU(5,"remove"),a.qZA()(),a._UZ(6,"input",3),a.TgZ(7,"button",4),a.NdJ("click",function(){return le.add()}),a.TgZ(8,"mat-icon"),a._uU(9,"add"),a.qZA()(),a.TgZ(10,"mat-hint"),a.YNc(11,A,1,0,"ng-container",1),a.qZA(),a.TgZ(12,"mat-error"),a.YNc(13,B,1,0,"ng-container",1),a.qZA()(),a.YNc(14,R,1,1,"ng-template",null,5,a.W1O)),2&z){const oe=a.MAs(15);a.Q6J("appearance",le.appearance)("floatLabel",le.floatLabel)("ngClass",a.VKq(15,x,le._fullWidth)),a.xp6(2),a.Q6J("ngTemplateOutlet",le.labelTemplate?le.labelTemplate:oe)("ngTemplateOutletContext",a.VKq(17,w,le.label)),a.xp6(1),a.Q6J("disabled",!le.aboveMinQuantity),a.xp6(3),a.Q6J("min",le.minQuantity)("max",le.maxQuantity)("formControl",le.formControl)("placeholder",le.placeholder),a.xp6(1),a.Q6J("disabled",!le.belowMaxQuantity),a.xp6(4),a.Q6J("ngTemplateOutlet",le.hintTemplate?le.hintTemplate:oe)("ngTemplateOutletContext",a.VKq(19,w,le.hint)),a.xp6(2),a.Q6J("ngTemplateOutlet",le.errorTemplate?le.errorTemplate:oe)("ngTemplateOutletContext",a.VKq(21,w,le.error))}},directives:[f.KE,v.L,b.mk,f.hX,b.tP,m.lW,f.qo,I.Hw,i.qQ,i.Fd,i.wV,L.Nt,i.Fj,i.JJ,i.oH,f.R9,f.bx,f.TO],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}","input[_ngcontent-%COMP%]{text-align:center}input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}"],changeDetection:0}),H})()},2757:(ze,G,l)=>{"use strict";l.d(G,{U:()=>R});var a=l(63191),i=l(5e3),d=l(93075),p=l(10200),C=l(94064),f=l(26984);const v=["controlName",""];function b(x,w){1&x&&i.GkF(0)}const m=function(x){return{message:x}};function I(x,w){if(1&x&&(i.TgZ(0,"mat-radio-button",5)(1,"mat-label"),i.YNc(2,b,1,0,"ng-container",3),i.qZA()()),2&x){const k=w.$implicit,H=i.oxw(),j=i.MAs(9);i.Q6J("value",k.value),i.uIk("data-value",k.value),i.xp6(2),i.Q6J("ngTemplateOutlet",H.labelTemplate?H.labelTemplate:j)("ngTemplateOutletContext",i.VKq(4,m,k.label))}}function L(x,w){1&x&&i.GkF(0)}function M(x,w){1&x&&i.GkF(0)}function D(x,w){1&x&&(i._UZ(0,"span",6),i.ALo(1,"safeHtml")),2&x&&i.Q6J("innerHTML",i.lcZ(1,1,w.message),i.oJD)}const A=function(x){return{"full-width":x}},B=function(x){return{vertical:x}};let R=(()=>{class x extends f.c{set vertical(k){this._vertical=(0,a.Ig)(k)}trackBy(k){return k.value}}return x.\u0275fac=function(){let w;return function(H){return(w||(w=i.n5z(x)))(H||x)}}(),x.\u0275cmp=i.Xpm({type:x,selectors:[["go-radio","controlName",""]],inputs:{options:"options",placeholder:"placeholder",vertical:"vertical"},features:[i._Bn([{provide:C.l,useExisting:(0,i.Gpc)(()=>x)}],[{provide:d.gN,useFactory:p.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:v,decls:10,vars:18,consts:[[3,"ngClass"],[3,"formControl","ngClass"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"value"],[3,"innerHTML"]],template:function(k,H){if(1&k&&(i.TgZ(0,"go-form-field",0)(1,"mat-radio-group",1),i.YNc(2,I,3,6,"mat-radio-button",2),i.qZA(),i.TgZ(3,"go-form-field-subscript")(4,"mat-hint"),i.YNc(5,L,1,0,"ng-container",3),i.qZA(),i.TgZ(6,"mat-error"),i.YNc(7,M,1,0,"ng-container",3),i.qZA()()(),i.YNc(8,D,2,3,"ng-template",null,4,i.W1O)),2&k){const j=i.MAs(9);i.Q6J("ngClass",i.VKq(10,A,H._fullWidth)),i.uIk("data-loaded",!!H.options),i.xp6(1),i.Q6J("formControl",H.formControl)("ngClass",i.VKq(12,B,H._vertical)),i.xp6(1),i.Q6J("ngForOf",H.options)("ngForTrackBy",H.trackBy),i.xp6(3),i.Q6J("ngTemplateOutlet",H.hintTemplate?H.hintTemplate:j)("ngTemplateOutletContext",i.VKq(14,m,H.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",H.errorTemplate?H.errorTemplate:j)("ngTemplateOutletContext",i.VKq(16,m,H.error))}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}","mat-radio-group[_ngcontent-%COMP%]{display:inline-flex;flex-direction:row;padding:1em 0}mat-radio-group.vertical[_ngcontent-%COMP%]{flex-direction:column}  mat-radio-button{margin:5px}"],changeDetection:0}),x})()},2619:(ze,G,l)=>{"use strict";l.d(G,{H:()=>fe});var a=l(63191),i=l(5e3),d=l(93075),p=l(74107),C=l(8929),f=l(1059),v=l(7625),b=l(75778),m=l(80013),I=l(10200),L=l(21222),M=l(94064),D=l(26984),A=l(67322),B=l(48792),R=l(69808),x=l(66759),w=l(90508),k=l(98833),H=l(77446),j=l(85899),z=l(73617),le=l(74664);const oe=["option"],$=["controlName",""];function y(pe,He){1&pe&&i.GkF(0)}const ae=function(pe){return{message:pe}};function ge(pe,He){if(1&pe&&(i.TgZ(0,"mat-label"),i.YNc(1,y,1,0,"ng-container",9),i.qZA()),2&pe){const et=i.oxw(),de=i.MAs(17);i.xp6(1),i.Q6J("ngTemplateOutlet",et.labelTemplate?et.labelTemplate:de)("ngTemplateOutletContext",i.VKq(2,ae,et.label))}}function Ve(pe,He){if(1&pe&&(i.TgZ(0,"span",11),i._uU(1),i.qZA()),2&pe){const et=i.oxw();i.xp6(1),i.hij(" +",et.selectedOptions.length-1," ")}}function $e(pe,He){if(1&pe&&(i.TgZ(0,"mat-optgroup")(1,"mat-form-field",12)(2,"input",13),i.NdJ("keydown",function(de){return de.stopPropagation()}),i.qZA()()()),2&pe){const et=i.oxw();i.xp6(2),i.Q6J("placeholder",et.placeholderSearch)("formControl",et.searchControl)}}function Be(pe,He){if(1&pe){const et=i.EpF();i.TgZ(0,"mat-checkbox",14),i.NdJ("click",function(lt){return lt.stopPropagation()})("change",function(lt){return i.CHM(et),i.oxw().toggleCheckAllSelection(lt)}),i._uU(1),i.qZA()}if(2&pe){const et=i.oxw();i.Q6J("indeterminate",et.isCheckAllIndeterminate())("checked",et.isCheckAllChecked()),i.xp6(1),i.hij(" ",et.checkAllLabel," ")}}function Ee(pe,He){1&pe&&i.GkF(0)}const Ie=function(pe){return{"nested-option":pe}},Re=function(pe,He){return{message:pe,$implicit:He}};function Ge(pe,He){if(1&pe){const et=i.EpF();i.TgZ(0,"mat-option",15),i.NdJ("onSelectionChange",function(lt){const Qt=i.CHM(et).$implicit;return i.oxw().onOptionSelect(Qt,lt)}),i.ALo(1,"stringifyIfObject"),i.YNc(2,Ee,1,0,"ng-container",9),i.qZA()}if(2&pe){const et=He.$implicit,de=i.oxw(),lt=i.MAs(17);i.Q6J("value",et.value)("ngClass",i.VKq(7,Ie,de._multiple&&de._checkAll)),i.uIk("data-value",i.lcZ(1,5,et.value)),i.xp6(2),i.Q6J("ngTemplateOutlet",de.optionTemplate?de.optionTemplate:lt)("ngTemplateOutletContext",i.WLB(9,Re,et.label,et))}}function it(pe,He){1&pe&&i._UZ(0,"mat-progress-bar",16)}function Se(pe,He){1&pe&&i.GkF(0)}function Z(pe,He){1&pe&&i.GkF(0)}function V(pe,He){1&pe&&i._UZ(0,"span",17),2&pe&&i.Q6J("innerHTML",He.message,i.oJD)}const U=function(pe,He,et){return{"full-width":pe,"hide-mat-select-arrow":He,readonly:et}};let fe=(()=>{class pe extends D.c{constructor(){super(...arguments),this.hideArrow=!1,this.selectedOptions=[],this.suffixClick=new i.vpe,this.selectionChange=new i.vpe,this.searchChange=new i.vpe,this.infiniteScroll=!1,this.scrollEnd=new C.xQ,this.scrollLoadingMore=!1,this.scrollComplete=!1,this.scrollThreshold="10%"}set multiple(et){this._multiple=(0,a.Ig)(et)}get multiple(){return this._multiple}set search(et){this._search=(0,a.Ig)(et),this.initSearch()}get search(){return this._search}set options(et){this.setOptions(et)}set readonly(et){this._readonly=(0,a.Ig)(et)}set checkAll(et){this._checkAll=(0,a.Ig)(et)}set showClear(et){this._showClear="always"===et?et:"default"}ngOnInit(){this.formControl.valueChanges.pipe((0,f.O)(this.formControl.value)).subscribe(et=>{this.init(et),this.hideArrow=!(!et||!this._showClear)})}initSearch(){this.search&&!this.searchControl&&(this.searchControl=new d.NI,this.searchControl.valueChanges.pipe((0,v.R)(this._destroy$),(0,f.O)(this.searchControl.value),(0,b.x)(),(0,m.b)(this.formsOptions.debounceTime)).subscribe(et=>this.searchChange.next(et)))}init(et){if(null!==et)if(Array.isArray(et)){if((0,L.Ll)(et)){const de=et.map(lt=>lt.value);this.selectedOptions=et,this.formControl.patchValue(de,{emitEvent:!1})}}else et instanceof Object&&et.label?(this.selectedOptions=[et],this.formControl.patchValue(et.value,{emitEvent:!1})):this._multiple&&(this.selectedOptions=[et],this.formControl.patchValue([et],{emitEvent:!1}));this.updateSelected()}setOptions(et){et&&JSON.stringify(et)!==JSON.stringify(this._options)&&(this._options=et,this.updateSelected(),this.matSelect._initializeSelection())}onOptionSelect(et,de){de.isUserInput&&this.selectionChange.next(et)}trackBy(et){return et.value}onSuffixClick(et){this.suffixClick.next(et)}openedChange(){var et;null===(et=this.searchControl)||void 0===et||et.patchValue("")}updateSelected(){if(this._options){const et=this.formControl.value;if(et instanceof Array){const de=[];et.forEach(lt=>{const St=this.selectedOptions.find(Qt=>Qt.value===lt)||this._options.find(Qt=>Qt.value===lt);St&&de.push(St)}),this.selectedOptions=de}else this.selectedOptions=et instanceof Object&&et.label?[this.selectedOptions.find(de=>de.value===et.value)||this._options.find(de=>de.value===et.value)].filter(Boolean):[this.selectedOptions.find(de=>de.value===et)||this._options.find(de=>de.value===et)].filter(Boolean);if(this._search){const de=this._options.map(lt=>lt.value);this.selectedOptions.forEach(lt=>{de.includes(lt.value)||this._options.push(lt)})}}}isCheckAllChecked(){return this._options.length&&this.selectedOptions.length===this._options.length}isCheckAllIndeterminate(){return this._options.length&&this.selectedOptions.length>0&&this.selectedOptions.length<this._options.length}toggleCheckAllSelection(et){et.checked?(this.formControl.patchValue(this._options),this.updateSelected()):(this.formControl.patchValue([]),this.updateSelected())}onScrollEnd(){this.scrollEnd.next()}}return pe.\u0275fac=function(){let He;return function(de){return(He||(He=i.n5z(pe)))(de||pe)}}(),pe.\u0275cmp=i.Xpm({type:pe,selectors:[["go-select","controlName",""]],contentQueries:function(et,de,lt){if(1&et&&i.Suo(lt,oe,5),2&et){let St;i.iGM(St=i.CRH())&&(de.optionTemplate=St.first)}},viewQuery:function(et,de){if(1&et&&i.Gf(p.gD,7),2&et){let lt;i.iGM(lt=i.CRH())&&(de.matSelect=lt.first)}},inputs:{multiple:"multiple",search:"search",options:"options",readonly:"readonly",checkAll:"checkAll",checkAllLabel:"checkAllLabel",placeholder:"placeholder",placeholderSearch:"placeholderSearch",suffix:"suffix",suffixIcon:"suffixIcon",showClear:"showClear",scrollThreshold:"scrollThreshold"},outputs:{suffixClick:"suffixClick",selectionChange:"selectionChange",searchChange:"searchChange"},features:[i._Bn([{provide:M.l,useExisting:(0,i.Gpc)(()=>pe)}],[{provide:d.gN,useFactory:I.g,deps:[[new i.tp0,d.gN]]}]),i.qOj],attrs:$,decls:18,vars:33,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngIf"],["msInfiniteScroll","",3,"disabled","formControl","multiple","placeholder","threshold","complete","openedChange","infiniteScroll"],["valueAccessor",""],["class","additional-selection",4,"ngIf"],["color","primary","class","mat-option check-all-option","disableRipple","true",3,"indeterminate","checked","click","change",4,"ngIf"],[3,"value","ngClass","onSelectionChange",4,"ngFor","ngForOf","ngForTrackBy"],["mode","indeterminate",4,"ngIf"],["matSuffix","",3,"showClear","control","suffixIcon","suffixClick"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[1,"additional-selection"],["floatLabel","never",1,"full-width"],["autocomplete","off","matInput","",3,"placeholder","formControl","keydown"],["color","primary","disableRipple","true",1,"mat-option","check-all-option",3,"indeterminate","checked","click","change"],[3,"value","ngClass","onSelectionChange"],["mode","indeterminate"],[3,"innerHTML"]],template:function(et,de){if(1&et&&(i.TgZ(0,"mat-form-field",0),i.YNc(1,ge,2,4,"mat-label",1),i.TgZ(2,"mat-select",2,3),i.NdJ("openedChange",function(){return de.openedChange()})("infiniteScroll",function(){return de.onScrollEnd()}),i.TgZ(4,"mat-select-trigger"),i._uU(5),i.YNc(6,Ve,2,1,"span",4),i.qZA(),i.YNc(7,$e,3,2,"mat-optgroup",1),i.YNc(8,Be,2,3,"mat-checkbox",5),i.YNc(9,Ge,3,12,"mat-option",6),i.YNc(10,it,1,0,"mat-progress-bar",7),i.qZA(),i.TgZ(11,"go-form-field-suffix",8),i.NdJ("suffixClick",function(St){return de.onSuffixClick(St)}),i.qZA(),i.TgZ(12,"mat-hint"),i.YNc(13,Se,1,0,"ng-container",9),i.qZA(),i.TgZ(14,"mat-error"),i.YNc(15,Z,1,0,"ng-container",9),i.qZA()(),i.YNc(16,V,1,1,"ng-template",null,10,i.W1O)),2&et){const lt=i.MAs(17);i.Q6J("appearance",de.appearance)("floatLabel",de.floatLabel)("ngClass",i.kEZ(25,U,de._fullWidth,de.hideArrow||de._readonly,de._readonly)),i.uIk("data-loaded",!!de._options),i.xp6(1),i.Q6J("ngIf",!de._readonly),i.xp6(1),i.Q6J("disabled",de._readonly)("formControl",de.formControl)("multiple",de.multiple)("placeholder",de.placeholder)("threshold",de.scrollThreshold)("complete",!de.infiniteScroll||de.scrollComplete),i.xp6(3),i.hij(" ",null==de.selectedOptions[0]?null:de.selectedOptions[0].label," "),i.xp6(1),i.Q6J("ngIf",de.selectedOptions.length>1),i.xp6(1),i.Q6J("ngIf",de.search),i.xp6(1),i.Q6J("ngIf",de._multiple&&de._checkAll),i.xp6(1),i.Q6J("ngForOf",de._options)("ngForTrackBy",de.trackBy),i.xp6(1),i.Q6J("ngIf",de.infiniteScroll&&de.scrollLoadingMore),i.xp6(1),i.Q6J("showClear",de._showClear)("control",de.formControl)("suffixIcon",de.suffixIcon),i.xp6(2),i.Q6J("ngTemplateOutlet",de.hintTemplate?de.hintTemplate:lt)("ngTemplateOutletContext",i.VKq(29,ae,de.hint)),i.xp6(2),i.Q6J("ngTemplateOutlet",de.errorTemplate?de.errorTemplate:lt)("ngTemplateOutletContext",i.VKq(31,ae,de.error))}},directives:[A.KE,B.L,R.mk,R.O5,A.hX,R.tP,p.gD,x.s,d.JJ,d.oH,p.$L,w.Nv,k.Nt,d.Fj,H.oG,R.sg,w.ey,j.pW,z.V,A.R9,A.bx,A.TO],pipes:[le.O],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),pe})()},74307:(ze,G,l)=>{"use strict";l.d(G,{d:()=>B});var a=l(5e3),i=l(93075),d=l(59989),p=l(10200),C=l(26984),f=l(67322),v=l(48792),b=l(69808),m=l(35803),I=l(24071);const L=["element",""];function M(R,x){1&R&&a._UZ(0,"span",3),2&R&&a.Q6J("innerHTML",x.message,a.oJD)}const D=function(R){return{"full-width":R}},A=["*"];let B=(()=>{class R extends C.c{get element(){return this._element}set element(w){w&&(this._element=w)}}return R.\u0275fac=function(){let x;return function(k){return(x||(x=a.n5z(R)))(k||R)}}(),R.\u0275cmp=a.Xpm({type:R,selectors:[["go-stripe-input","element",""]],inputs:{controlName:"controlName",element:"element"},features:[a._Bn([{provide:d.lC,useExisting:(0,a.Gpc)(()=>R)}],[{provide:i.gN,useFactory:p.g,deps:[[new a.tp0,i.gN]]}]),a.qOj],attrs:L,ngContentSelectors:A,decls:9,vars:9,consts:[[3,"appearance","floatLabel","ngClass"],[3,"element","controlName"],["defaultTemplate",""],[3,"innerHTML"]],template:function(w,k){1&w&&(a.F$t(),a.TgZ(0,"mat-form-field",0)(1,"go-stripe-control",1),a.Hsn(2),a.qZA(),a.TgZ(3,"mat-label"),a._uU(4),a.qZA(),a.TgZ(5,"mat-error"),a._uU(6),a.qZA()(),a.YNc(7,M,1,1,"ng-template",null,2,a.W1O)),2&w&&(a.Q6J("appearance",k.appearance)("floatLabel",k.floatLabel)("ngClass",a.VKq(7,D,k._fullWidth)),a.xp6(1),a.Q6J("element",k.element)("controlName",k.controlName),a.xp6(3),a.Oqu(k.label),a.xp6(2),a.Oqu(k.error))},directives:[f.KE,v.L,b.mk,m.M,I.P,f.hX,f.TO],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"]}),R})()},12412:(ze,G,l)=>{"use strict";l.d(G,{U:()=>k});var a=l(5e3),i=l(93075),d=l(10200),p=l(94064),C=l(26984),f=l(67322),v=l(48792),b=l(69808),m=l(98833),I=l(74533),L=l(73617);const M=["suffix"],D=["controlName",""];function A(H,j){1&H&&a.GkF(0)}function B(H,j){1&H&&a.GkF(0)}function R(H,j){1&H&&a._UZ(0,"span",5),2&H&&a.Q6J("innerHTML",j.message,a.oJD)}const x=function(H){return{"full-width":H}},w=function(H){return{message:H}};let k=(()=>{class H extends C.c{constructor(){super(...arguments),this.minRows=4,this.maxRows=4,this.suffixClick=new a.vpe}set showClear(z){this._showClear="always"===z?z:"default"}onSuffixClick(z){this.suffixClick.next(z)}}return H.\u0275fac=function(){let j;return function(le){return(j||(j=a.n5z(H)))(le||H)}}(),H.\u0275cmp=a.Xpm({type:H,selectors:[["go-textarea","controlName",""]],contentQueries:function(z,le,oe){if(1&z&&a.Suo(oe,M,5),2&z){let $;a.iGM($=a.CRH())&&(le.suffixTemplate=$.first)}},inputs:{placeholder:"placeholder",suffix:"suffix",suffixIcon:"suffixIcon",minRows:"minRows",maxRows:"maxRows",showClear:"showClear"},outputs:{suffixClick:"suffixClick"},features:[a._Bn([{provide:p.l,useExisting:(0,a.Gpc)(()=>H)}],[{provide:i.gN,useFactory:d.g,deps:[[new a.tp0,i.gN]]}]),a.qOj],attrs:D,decls:11,vars:23,consts:[[3,"appearance","floatLabel","ngClass"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","5",3,"cdkAutosizeMinRows","cdkAutosizeMaxRows","formControl","placeholder"],["matSuffix","",3,"control","showClear","suffixTemplate","suffix","suffixIcon","suffixClick"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"innerHTML"]],template:function(z,le){if(1&z&&(a.TgZ(0,"mat-form-field",0)(1,"mat-label"),a._uU(2),a.qZA(),a._UZ(3,"textarea",1),a.TgZ(4,"go-form-field-suffix",2),a.NdJ("suffixClick",function($){return le.onSuffixClick($)}),a.qZA(),a.TgZ(5,"mat-hint"),a.YNc(6,A,1,0,"ng-container",3),a.qZA(),a.TgZ(7,"mat-error"),a.YNc(8,B,1,0,"ng-container",3),a.qZA()(),a.YNc(9,R,1,1,"ng-template",null,4,a.W1O)),2&z){const oe=a.MAs(10);a.Q6J("appearance",le.appearance)("floatLabel",le.floatLabel)("ngClass",a.VKq(17,x,le._fullWidth)),a.xp6(2),a.Oqu(le.label),a.xp6(1),a.Q6J("cdkAutosizeMinRows",le.minRows)("cdkAutosizeMaxRows",le.maxRows)("formControl",le.formControl)("placeholder",le.placeholder),a.xp6(1),a.Q6J("control",le.formControl)("showClear",le._showClear)("suffixTemplate",le.suffixTemplate)("suffix",le.suffix)("suffixIcon",le.suffixIcon),a.xp6(2),a.Q6J("ngTemplateOutlet",le.hintTemplate?le.hintTemplate:oe)("ngTemplateOutletContext",a.VKq(19,w,le.hint)),a.xp6(2),a.Q6J("ngTemplateOutlet",le.errorTemplate?le.errorTemplate:oe)("ngTemplateOutletContext",a.VKq(21,w,le.error))}},directives:[f.KE,v.L,b.mk,f.hX,m.Nt,I.IC,i.Fj,i.JJ,i.oH,L.V,f.R9,f.bx,b.tP,f.TO],styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),H})()},3784:(ze,G,l)=>{"use strict";l.d(G,{G:()=>Ee});var a=l(63191),i=l(69808),d=l(5e3),p=l(93075),C=l(91079),f=l(90508),v=l(28115),b=l(87645),m=l(15632),I=l(76080),L=l(45566),M=l(12194),D=l(40833),A=l(83958);function B(Ie,Re,Ge){(0,D.Z)(2,arguments);var it=(0,M.Z)(Ie,Re)/L.vh;return(0,A.u)(null==Ge?void 0:Ge.roundingMethod)(it)}var R=l(47910),x=l(10200),w=l(94064),k=l(26984),H=l(34307);const j=["suffix"],z=["controlName",""];function le(Ie,Re){1&Ie&&d.GkF(0)}function oe(Ie,Re){if(1&Ie&&(d.TgZ(0,"mat-option",11),d._uU(1),d.qZA()),2&Ie){const Ge=Re.$implicit;d.Q6J("value",Ge.value),d.xp6(1),d.hij(" ",Ge.label," ")}}function $(Ie,Re){1&Ie&&d.GkF(0)}const y=function(Ie){return{message:Ie}};function ae(Ie,Re){if(1&Ie&&(d.TgZ(0,"mat-hint"),d.YNc(1,$,1,0,"ng-container",1),d.qZA()),2&Ie){const Ge=d.oxw(),it=d.MAs(12);d.xp6(1),d.Q6J("ngTemplateOutlet",Ge.hintTemplate?Ge.hintTemplate:it)("ngTemplateOutletContext",d.VKq(2,y,Ge.hint))}}function ge(Ie,Re){1&Ie&&d.GkF(0)}function Ve(Ie,Re){if(1&Ie&&(d.TgZ(0,"mat-hint",12),d.YNc(1,ge,1,0,"ng-container",1),d.qZA()),2&Ie){const Ge=d.oxw(),it=d.MAs(12);d.xp6(1),d.Q6J("ngTemplateOutlet",Ge.errorTemplate?Ge.errorTemplate:it)("ngTemplateOutletContext",d.VKq(2,y,Ge.error))}}function $e(Ie,Re){1&Ie&&d._UZ(0,"span",13),2&Ie&&d.Q6J("innerHTML",Re.message,d.oJD)}const Be=function(Ie){return{"full-width":Ie}};let Ee=(()=>{class Ie extends k.c{constructor(){super(...arguments),this.format="HH:mm",this.startOfDay=(0,v.Z)(new Date(null)),this.interval=1800,this._showDuration=!1,this.length=48,this.start=0,this._baseDate=(0,v.Z)(new Date(null))}set showDuration(Ge){this._showDuration=(0,a.Ig)(Ge)}set showClear(Ge){this._showClear="always"===Ge?Ge:"default"}set date(Ge){Ge&&(this.startOfDay=(0,v.Z)(Ge))}set baseDate(Ge){Ge&&Ge!==this._baseDate&&(this._baseDate=Ge,this.startOfDay=(0,v.Z)(Ge),this.start=Math.ceil((0,b.Z)(Ge,(0,v.Z)(Ge))/this.interval)*this.interval,this.length=48-this.start/this.interval+1,this._options=this.generateOptions(this.start,this.interval,this.length),this.cd.markForCheck())}opened(){const Ge=this.matOptions.find(it=>it.value===this.formControl.value);Ge&&Ge._element.nativeElement.scrollIntoView()}ngAfterContentInit(){super.ngAfterContentInit(),this._options=this.generateOptions(this.start,this.interval,this.length)}onOptionSelect(Ge){this.formControl.setValue(Ge.option.value)}openPanel(Ge){"action"===Ge.type?Ge.event.stopPropagation():Ge.stopPropagation(),this.autoComplete.openPanel()}generateOptions(Ge,it,Se){return Array.from({length:Se},(Z,V)=>this.createOption(Ge+V*it))}createOption(Ge){const it=(0,m.Z)(this.startOfDay,Ge);let Se="minutes",Z=`${(0,I.Z)(it,this._baseDate)}`;const V=parseInt(Z,10);V>=60?(Z=V%60==0?`${B(it,this._baseDate)}`:`${B(it,this._baseDate)}${(0,i.dv)(this.localeService.localeId,i.wE.Decimal)}5`,Se="1"===Z?"hour":"hours"):1===V&&(Se="minute");const U=this._showDuration?` (~${Z} ${H.J6[Se]})`:"",fe=this.format.includes("HH")&&Ge>3600?this.format.replace("HH","kk"):this.format;return{value:Ge,label:`${(0,R.Z)(it,fe,{locale:this.localeService.locale})}${U}`}}trackBy(Ge){return Ge.value}}return Ie.\u0275fac=function(){let Re;return function(it){return(Re||(Re=d.n5z(Ie)))(it||Ie)}}(),Ie.\u0275cmp=d.Xpm({type:Ie,selectors:[["go-time","controlName",""]],contentQueries:function(Ge,it,Se){if(1&Ge&&d.Suo(Se,j,5),2&Ge){let Z;d.iGM(Z=d.CRH())&&(it.suffixTemplate=Z.first)}},viewQuery:function(Ge,it){if(1&Ge&&(d.Gf(C.ZL,7),d.Gf(f.ey,5)),2&Ge){let Se;d.iGM(Se=d.CRH())&&(it.autoComplete=Se.first),d.iGM(Se=d.CRH())&&(it.matOptions=Se)}},inputs:{showDuration:"showDuration",format:"format",placeholder:"placeholder",showClear:"showClear",suffix:"suffix",suffixIcon:"suffixIcon",interval:"interval",length:"length",start:"start",date:"date",baseDate:"baseDate"},features:[d._Bn([{provide:w.l,useExisting:(0,d.Gpc)(()=>Ie)}],[{provide:p.gN,useFactory:x.g,deps:[[new d.tp0,p.gN]]}]),d.qOj],attrs:z,decls:13,vars:22,consts:[[3,"appearance","floatLabel","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["goTimeInput","",3,"formControl","format"],["matInput","","pattern","[0-9]{2}:[0-9]{2}",3,"placeholder","matAutocomplete","click"],[3,"optionSelected","opened"],["matAutocomplete","matAutocomplete"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["matSuffix","",3,"control","showClear","suffixTemplate","suffix","suffixIcon","suffixClick"],[4,"ngIf"],["class","mat-error",4,"ngIf"],["defaultTemplate",""],[3,"value"],[1,"mat-error"],[3,"innerHTML"]],template:function(Ge,it){if(1&Ge&&(d.TgZ(0,"mat-form-field",0)(1,"mat-label"),d.YNc(2,le,1,0,"ng-container",1),d.qZA(),d.TgZ(3,"div",2)(4,"input",3),d.NdJ("click",function(Z){return it.openPanel(Z)}),d.qZA()(),d.TgZ(5,"mat-autocomplete",4,5),d.NdJ("optionSelected",function(Z){return it.onOptionSelect(Z)})("opened",function(){return it.opened()}),d.YNc(7,oe,2,2,"mat-option",6),d.qZA(),d.TgZ(8,"go-form-field-suffix",7),d.NdJ("suffixClick",function(Z){return it.openPanel(Z)}),d.qZA(),d.YNc(9,ae,2,4,"mat-hint",8),d.YNc(10,Ve,2,4,"mat-hint",9),d.qZA(),d.YNc(11,$e,1,1,"ng-template",null,10,d.W1O)),2&Ge){const Se=d.MAs(6),Z=d.MAs(12);d.Q6J("appearance",it.appearance)("floatLabel",it.floatLabel)("ngClass",d.VKq(18,Be,it._fullWidth)),d.xp6(2),d.Q6J("ngTemplateOutlet",it.labelTemplate?it.labelTemplate:Z)("ngTemplateOutletContext",d.VKq(20,y,it.label)),d.xp6(1),d.Q6J("formControl",it.formControl)("format",it.format),d.xp6(1),d.Q6J("placeholder",it.placeholder)("matAutocomplete",Se),d.xp6(3),d.Q6J("ngForOf",it._options)("ngForTrackBy",it.trackBy),d.xp6(1),d.Q6J("control",it.formControl)("showClear",it._showClear)("suffixTemplate",it.suffixTemplate)("suffix",it.suffix)("suffixIcon",it.suffixIcon),d.xp6(1),d.Q6J("ngIf",!it.error&&it.hint),d.xp6(1),d.Q6J("ngIf",it.error)}},styles:["[_nghost-%COMP%]{width:auto;min-width:0;display:inline-block}[fullWidth][_nghost-%COMP%]{width:100%!important;display:block}.flex-1[_nghost-%COMP%], .flex-2[_nghost-%COMP%]{width:100%}.mat-form-field[_ngcontent-%COMP%], go-form-field[_ngcontent-%COMP%]{vertical-align:middle}.mat-form-field.hidden[_ngcontent-%COMP%], go-form-field.hidden[_ngcontent-%COMP%]{display:none!important}.mat-form-field.full-width[_ngcontent-%COMP%], go-form-field.full-width[_ngcontent-%COMP%]{display:block}  go-textarea .mat-form-field-suffix{align-self:flex-start}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-outline{color:#0000000f}  .mat-form-field-appearance-outline.go-form-field-disabled .mat-form-field-label{color:#00000061}.hide-mat-select-arrow[_ngcontent-%COMP%]     .mat-select-arrow{visibility:hidden}@media (max-width: 680px){mat-form-field[_ngcontent-%COMP%]{display:block}}  .readonly .mat-form-field-outline{display:none!important}  .readonly .mat-form-field-wrapper{padding-bottom:0;margin:0}  .readonly .mat-select-value{color:#4a4a4ade!important}  .readonly .additional-selection{padding-left:1rem;font-size:12px;vertical-align:middle}  .check-all-option{width:100%}  .check-all-option label,   .check-all-option span.mat-checkbox-label{width:100%}  .mat-checkbox-layout .mat-checkbox-label{white-space:pre-wrap}.nested-option[_ngcontent-%COMP%]{margin-left:1rem}"],changeDetection:0}),Ie})()},24071:(ze,G,l)=>{"use strict";l.d(G,{P:()=>b});var a=l(5e3),i=l(36787),d=l(1059),p=l(93075),C=l(65543),f=l(58170),v=l(94064);let b=(()=>{class m{constructor(L,M,D){this.formGroupDirective=L,this.formService=M,this.host=D,this.isErrorState=(new C.m).isErrorState}ngAfterContentInit(){const L=this.host.formControl;if((0,a.X6Q)()&&!L)throw new Error(`No form control for: ${this.host.controlName}`);L&&(this.sub=(0,i.T)(L.valueChanges,L.statusChanges,this.formGroupDirective.ngSubmit).pipe((0,d.O)(null)).subscribe(()=>{(L.invalid||this.host.error)&&this.formService.getError(L).subscribe(M=>{this.host.error=this.isErrorState(L,this.formGroupDirective)?M:""})}))}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}}return m.\u0275fac=function(L){return new(L||m)(a.Y36((0,a.Gpc)(()=>p.sg)),a.Y36(f.o),a.Y36(v.l,8))},m.\u0275dir=a.lG2({type:m,selectors:[["","controlName",""]]}),m})()},73617:(ze,G,l)=>{"use strict";l.d(G,{V:()=>B});var a=l(5e3),i=l(8929),d=l(7625),p=l(80013),C=l(75778),f=l(35961),v=l(69808),b=l(47423),m=l(25245),I=l(82122);function L(R,x){if(1&R){const w=a.EpF();a.ynx(0),a.TgZ(1,"span",4),a.NdJ("click",function(H){return a.CHM(w),a.oxw().onSuffixClick(H,"action")}),a.GkF(2,5),a.qZA(),a.BQk()}if(2&R){const w=a.oxw();a.xp6(2),a.Q6J("ngTemplateOutlet",w.suffixTemplate)}}function M(R,x){if(1&R&&(a.ynx(0),a._uU(1),a.BQk()),2&R){const w=a.oxw();a.xp6(1),a.Oqu(w.suffix)}}function D(R,x){if(1&R){const w=a.EpF();a.TgZ(0,"button",6),a.NdJ("click",function(H){return a.CHM(w),a.oxw().onSuffixClick(H,"action")}),a.TgZ(1,"mat-icon"),a._uU(2),a.qZA()()}if(2&R){const w=a.oxw();a.xp6(2),a.Oqu(w.suffixIcon)}}function A(R,x){if(1&R){const w=a.EpF();a.TgZ(0,"button",7),a.NdJ("click",function(H){return a.CHM(w),a.oxw().onSuffixClick(H,"clear")}),a.TgZ(1,"mat-icon"),a._uU(2,"clear"),a.qZA()()}if(2&R){const w=a.oxw();a.Q6J("goResetControlHandle",w.control)}}let B=(()=>{class R{constructor(w,k){this.cd=w,this.formsOptions=k,this.suffixClick=new a.vpe,this._destroy$=new i.xQ}ngOnChanges(){this.setState(),this.showClear&&this.initClear()}onSuffixClick(w,k){this.suffixClick.next({event:w,type:k}),w.stopPropagation()}setState(){this.state="always"===this.showClear||this.control.value&&this.showClear?"clear":this.suffixTemplate?"custom":this.suffixIcon?"icon":"text",this.cd.markForCheck()}initClear(){this.control.valueChanges.pipe((0,d.R)(this._destroy$),(0,p.b)(this.formsOptions.debounceTime),(0,C.x)()).subscribe(()=>{this.setState()})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return R.\u0275fac=function(w){return new(w||R)(a.Y36(a.sBO),a.Y36(f.P))},R.\u0275cmp=a.Xpm({type:R,selectors:[["go-form-field-suffix"]],inputs:{control:"control",suffix:"suffix",suffixIcon:"suffixIcon",suffixTemplate:"suffixTemplate",showClear:"showClear"},outputs:{suffixClick:"suffixClick"},features:[a.TTD],decls:5,vars:5,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","type","button",3,"click",4,"ngSwitchCase"],["mat-icon-button","","type","button",3,"goResetControlHandle","click",4,"ngSwitchCase"],[3,"click"],[3,"ngTemplateOutlet"],["mat-icon-button","","type","button",3,"click"],["mat-icon-button","","type","button",3,"goResetControlHandle","click"]],template:function(w,k){1&w&&(a.ynx(0,0),a.YNc(1,L,3,1,"ng-container",1),a.YNc(2,M,2,1,"ng-container",1),a.YNc(3,D,3,1,"button",2),a.YNc(4,A,3,1,"button",3),a.BQk()),2&w&&(a.Q6J("ngSwitch",k.state),a.xp6(1),a.Q6J("ngSwitchCase","custom"),a.xp6(1),a.Q6J("ngSwitchCase","text"),a.xp6(1),a.Q6J("ngSwitchCase","icon"),a.xp6(1),a.Q6J("ngSwitchCase","clear"))},directives:[v.RF,v.n9,v.tP,b.lW,m.Hw,I.s],encapsulation:2,changeDetection:0}),R})()},77737:(ze,G,l)=>{"use strict";l.d(G,{s:()=>C});var a=l(8929),i=l(7625),d=l(5e3),p=l(93075);let C=(()=>{class f{constructor(b,m){this._destroy$=new a.xQ,m&&m.ngSubmit.pipe((0,i.R)(this._destroy$)).subscribe(I=>{b.onSubmit(I)})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return f.\u0275fac=function(b){return new(b||f)(d.Y36(p.sg,2),d.Y36(p.sg,12))},f.\u0275dir=d.lG2({type:f,selectors:[["","formGroup",""]]}),f})()},5505:(ze,G,l)=>{"use strict";l.d(G,{$:()=>b});var a=l(95113),i=l(8929),d=l(7625),p=l(24850),C=l(12474),f=l(58170),v=l(5e3);let b=(()=>{class m{constructor(L){this.breakpointObserver=L,this._destroy$=new i.xQ}ngOnInit(){this.breakpointObserver.observe(a.u3.Handset).pipe((0,d.R)(this._destroy$),(0,p.U)(L=>L.matches),(0,C.B)()).subscribe(L=>this.isHandset=L)}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return m.\u0275fac=function(L){return new(L||m)(v.Y36(a.Yg))},m.\u0275dir=v.lG2({type:m,selectors:[["form","formGroup",""]],exportAs:["goForm"],features:[v._Bn([f.o])]}),m})()},35961:(ze,G,l)=>{"use strict";l.d(G,{P:()=>i});const i=new(l(5e3).OlP)("GO_FORMS_OPTIONS")},65543:(ze,G,l)=>{"use strict";l.d(G,{m:()=>i});var a=l(5e3);let i=(()=>{class d{isErrorState(C,f){return!!(C&&C.invalid&&(C.dirty||C.touched||f&&f.submitted))}}return d.\u0275fac=function(C){return new(C||d)},d.\u0275prov=a.Yz7({token:d,factory:d.\u0275fac}),d})()},91394:(ze,G,l)=>{"use strict";l.d(G,{_:()=>a});class a{}},58170:(ze,G,l)=>{"use strict";l.d(G,{o:()=>L});var a=l(93075),i=l(32916),d=l(21086);function f(M){return null!=M&&!Array.isArray(M)&&"object"==typeof M}class v extends a.NI{constructor(D,A,B){super(D,A,B),this.validators=[],this.asyncValidators=[],this._pristineValue=D,A&&this.setValidators(function p(M){const D=f(M)?M.validators:M;return Array.isArray(D)?D:D?[D]:null}(A)),B&&this.setAsyncValidators(function C(M,D){const A=f(D)?D.asyncValidators:M;return Array.isArray(A)?A:A?[A]:null}(B,A))}get pristineValue(){return this._pristineValue}set touched(D){this.reEmitStatusChanges(),this._touched=D}get touched(){return this._touched}set pristine(D){this.reEmitStatusChanges(),this._pristine=D}get pristine(){return this._pristine}reEmitStatusChanges(){this.statusChanges&&this.statusChanges.next(this.status)}setValidators(D){this.validators=b(D),super.setValidators(this.validators)}setAsyncValidators(D){this.asyncValidators=b(D),super.setAsyncValidators(this.asyncValidators)}addValidators(D){this.setValidators([...this.validators,...b(D)].filter((A,B,R)=>R.indexOf(A)===B))}addAsyncValidators(D){this.setAsyncValidators([...this.asyncValidators,...b(D)].filter((A,B,R)=>R.indexOf(A)===B))}markAsPristine(D){super.markAsPristine(D),this._pristineValue=this.value}setValue(D,A){super.setValue(D,A),A&&!1===A.emitModelToViewChange||(this._pristineValue=D)}}function b(M){return null===M?[]:Array.isArray(M)?M:[M]}var m=l(5e3),I=l(91394);let L=(()=>{class M{constructor(A){this.formErrors=A}getError(A){let B="";if(!A.errors)return(0,d.of)(B);{const R=Object.keys(A.errors)[0];if(R)return B=this.formErrors.validationMessages(R,A.errors[R]),B instanceof i.y?B:(0,d.of)(B);(0,d.of)(B)}}toFormGroup(A=[],B){const R=!!B;if(B=B||new a.cw({}),A.forEach(x=>{!x.key&&x.fields?this.toFormGroup(x.fields,B):B.addControl(x.key,"array"===x.type?this.toFormArray(x.fields,B.get(x.key)):"group"===x.type||x.fields?this.toFormGroup(x.fields,B.get(x.key)):this.toFormControl(x,B.get(x.key)))}),R){const x=Object.keys(B.value),w=A.map(H=>H.key);x.filter(H=>!w.includes(H)).forEach(H=>{B.removeControl(H)})}return B}toFormArray(A=[],B){const R=!!B;if(B=B||new a.Oe([]),A.forEach((x,w)=>{let k;k="group"===x.type||x.fields?this.toFormGroup(x.fields,B.at(w)):this.toFormControl(x,B.at(w)),B.at(w)||B.push(k)}),R)for(;B.length>A.length;)B.removeAt(A.length);return B}toFormControl(A,B){const R=!!B;return(B=B||new v("",{updateOn:A.updateOn})).setValue(void 0===A.value?null:A.value,{emitEvent:!R}),A.validators&&B.setValidators(A.validators),A.asyncValidators&&B.setAsyncValidators(A.asyncValidators),B.updateValueAndValidity(),B}addValues(A,B={}){const R=[...A].map(x=>Object.assign({},x));return R.forEach(x=>{if(x.fields&&B[x.key])"array"===x.type?x.value=B[x.key]:x.fields=this.addValues(x.fields,B[x.key]);else if(x.fieldTemplate)if("array"===x.type){if(B[x.key]||(B[x.key]=x.value),x.fields=[],!B[x.key])return;B[x.key].forEach(w=>{const k=x.fieldTemplate(w,B);Array.isArray(k)?x.fields.push({fields:this.addValues(k,w)}):x.fields.push(this.addValues([k],w)[0])}),x.value=B[x.key]}else if(B[x.key]instanceof Object){const w=[];Object.keys(B[x.key]).forEach(k=>{null!==B[x.key][k]&&"__typename"!==k&&w.push(x.fieldTemplate(k,B[x.key]))}),x.fields=this.addValues(w,B[x.key])}else if(void 0===x.key&&void 0!==x.type){const w=[];Object.keys(B).forEach(k=>{"__typename"!==k&&w.push(x.fieldTemplate(k,B))}),x.fields=this.addValues(w,B)}else x=Object.assign(x,x.fieldTemplate(B[x.key],B));else B instanceof Object&&null!=B[x.key]&&(x.value=B[x.key])}),R}}return M.\u0275fac=function(A){return new(A||M)(m.LFG(I._))},M.\u0275prov=m.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},32711:(ze,G,l)=>{"use strict";l.d(G,{i:()=>m});var a=l(5e3),i=l(93075),d=l(8929),p=l(7625),C=l(21222);const f=["formControlName",""],v=["*"],b=[{key:"desc"},{key:"copyright"},{key:"file"}];let m=(()=>{class I{constructor(M){this.formService=M,this._destroy$=new d.xQ,this.onChange=D=>{},this.onValidationChange=D=>{},this.onTouched=()=>{},this.form=this.formService.toFormGroup(b)}get hasFile(){return!(!this.form.value||!this.form.value.file)}ngOnInit(){this.form.valueChanges.pipe((0,p.R)(this._destroy$)).subscribe(M=>this._handleInput(M))}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}writeValue(M){M&&M.file?(this.enableControls(),this.form.patchValue(M)):this.form.reset()}registerOnChange(M){this.onChange=M}registerOnTouched(M){this.onTouched=M}setDisabledState(M){M?this.form.disable():this.form.enable()}_handleInput(M){M.file?(this.enableControls(),this.onChange(M)):(this.disableControls(),this.onChange(null))}disableControls(){this.form.get("desc").enabled&&this.form.get("desc").disable(),this.form.get("copyright").enabled&&this.form.get("copyright").disable()}enableControls(){this.form.get("desc").disabled&&this.form.get("desc").enable(),this.form.get("copyright").disabled&&this.form.get("copyright").enable()}validate(M){return M.errors}registerOnValidatorChange(M){this.onValidationChange=M}}return I.\u0275fac=function(M){return new(M||I)(a.Y36(C.oL))},I.\u0275cmp=a.Xpm({type:I,selectors:[["go-image","formControlName",""]],exportAs:["goImage"],features:[a._Bn([{provide:i.JU,useExisting:(0,a.Gpc)(()=>I),multi:!0},{provide:i.Cf,useExisting:(0,a.Gpc)(()=>I),multi:!0}])],attrs:f,ngContentSelectors:v,decls:1,vars:0,template:function(M,D){1&M&&(a.F$t(),a.Hsn(0))},encapsulation:2}),I})()},21222:(ze,G,l)=>{"use strict";function i(Je){return Je.every(ct=>function a(Je){return void 0!==Je.label&&void 0!==Je.value}(ct))}l.d(G,{Vb:()=>He,_o:()=>gt._,oL:()=>d.o,mB:()=>f.m,i3:()=>Qt.i,L:()=>St.L,pb:()=>lt,Dx:()=>y,mo:()=>yt,X:()=>p.X,s_:()=>C.s,bW:()=>L,Uw:()=>Ge,gK:()=>v,Ll:()=>i});var d=l(58170),p=l(46182),C=l(82122),f=l(65543);function v(Je,ct,Xe){!ct||!ct.length||ct.forEach(X=>{X.messages.forEach(xe=>{const he={};he[xe]=!0;const N=Xe?X.key.replace(`${Xe}.`,""):X.key,F=Je.get(N);F&&(F.setErrors(he),F.markAsTouched())})})}var b=l(5e3),m=l(69808);function I(Je,ct){1&Je&&(b.TgZ(0,"span"),b._uU(1,", "),b.qZA())}let L=(()=>{class Je{set options(Xe){this._options=Xe,this.setLabel()}set value(Xe){this._value=Xe,this.setLabel()}setLabel(){this.label=this._options&&this._value?this._value instanceof Array?this.getLabels(this._options,this._value):this.getLabel(this._options,this._value):""}getLabel(Xe,X){return Xe.filter(xe=>xe.value===X).map(xe=>xe.label)[0]}getLabels(Xe,X){return X.map(xe=>this.getLabel(Xe,xe)).join(", ")}}return Je.\u0275fac=function(Xe){return new(Xe||Je)},Je.\u0275cmp=b.Xpm({type:Je,selectors:[["go-selected-option"]],inputs:{options:"options",value:"value",list:"list"},decls:2,vars:2,consts:[[4,"ngIf"]],template:function(Xe,X){1&Xe&&(b.YNc(0,I,2,0,"span",0),b._uU(1)),2&Xe&&(b.Q6J("ngIf",X.list),b.xp6(1),b.hij("",X.label," "))},directives:[m.O5],encapsulation:2,changeDetection:0}),Je})();var M=l(63191),D=l(81125),A=l(47423),B=l(25245);const R=["contentTemplate"],x=["accordion"];function w(Je,ct){1&Je&&b.GkF(0)}function k(Je,ct){if(1&Je){const Xe=b.EpF();b.TgZ(0,"button",9),b.NdJ("click",function(){b.CHM(Xe);const xe=b.oxw(2).$implicit;return b.oxw().onAction("edit",xe)}),b.TgZ(1,"mat-icon"),b._uU(2,"edit"),b.qZA()()}}function H(Je,ct){if(1&Je){const Xe=b.EpF();b.TgZ(0,"button",9),b.NdJ("click",function(){b.CHM(Xe);const xe=b.oxw(2).$implicit;return b.oxw().onAction("save",xe)}),b.TgZ(1,"mat-icon"),b._uU(2,"done"),b.qZA()()}}function j(Je,ct){if(1&Je){const Xe=b.EpF();b.TgZ(0,"mat-action-row",6),b.YNc(1,k,3,0,"button",7),b.YNc(2,H,3,0,"ng-template",null,8,b.W1O),b.TgZ(4,"button",9),b.NdJ("click",function(){b.CHM(Xe);const xe=b.oxw().index;return b.oxw().removeAttribute(xe)}),b.TgZ(5,"mat-icon"),b._uU(6,"close"),b.qZA()()()}if(2&Je){const Xe=b.MAs(3),X=b.oxw().$implicit;b.xp6(1),b.Q6J("ngIf",X.readonly)("ngIfElse",Xe)}}function z(Je,ct){if(1&Je){const Xe=b.EpF();b.TgZ(0,"button",10),b.NdJ("click",function(){return b.CHM(Xe),b.oxw(2).addAttribute()}),b.SDv(1,11),b.qZA()}}const le=function(Je){return{separator:Je}},oe=function(Je,ct,Xe){return{form:Je,i:ct,readonly:Xe}};function $(Je,ct){if(1&Je&&(b.TgZ(0,"div",1),b.YNc(1,w,1,0,"ng-container",2),b.YNc(2,j,7,2,"mat-action-row",3),b.YNc(3,z,2,0,"button",4),b._UZ(4,"div",5),b.qZA()),2&Je){const Xe=ct.$implicit,X=ct.index,xe=ct.last,he=b.oxw();b.Q6J("ngClass",b.VKq(5,le,X<he.array.length-2||he._readonly&&!xe)),b.xp6(1),b.Q6J("ngTemplateOutlet",he.contentTemplate)("ngTemplateOutletContext",b.kEZ(7,oe,Xe,X,Xe.readonly)),b.xp6(1),b.Q6J("ngIf",!xe&&!he._readonly),b.xp6(1),b.Q6J("ngIf",xe&&!he._readonly)}}let y=(()=>{class Je{constructor(){this.removed=new b.vpe,this.add=new b.vpe}set readonly(Xe){(0,M.Ig)(Xe)&&(this._readonly=!0)}ngOnInit(){this.array.controls.forEach((Xe,X)=>{Xe.readonly=X!==this.array.controls.length-1})}addAttribute(){this.array.at(this.array.length-1).readonly=!0,this.add.emit()}removeAttribute(Xe){const X=this.array.at(Xe);this.array.removeAt(Xe),this.removed.emit(X)}onAction(Xe,X){X.readonly="edit"!==Xe}closeAll(){this.accordion.multi=!0,this.accordion.closeAll(),this.accordion.multi=!1}trackBy(Xe,X){return X}}return Je.\u0275fac=function(Xe){return new(Xe||Je)},Je.\u0275cmp=b.Xpm({type:Je,selectors:[["go-nested-attributes"]],contentQueries:function(Xe,X,xe){if(1&Xe&&b.Suo(xe,R,5),2&Xe){let he;b.iGM(he=b.CRH())&&(X.contentTemplate=he.first)}},viewQuery:function(Xe,X){if(1&Xe&&b.Gf(x,5),2&Xe){let xe;b.iGM(xe=b.CRH())&&(X.accordion=xe.first)}},inputs:{readonly:"readonly",array:"array"},outputs:{removed:"removed",add:"add"},decls:1,vars:2,consts:function(){let ct;return ct=$localize`:Add button@@button-add␟4f8b427aaa2aa317429d0cf79edeac2110635686␟2782673915275593030: Add `,[["class","mdc-layout-grid__inner",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mdc-layout-grid__inner",3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mdc-layout-grid__cell--span-1-desktop mdc-layout-grid__cell--span-1-tablet mdc-layout-grid__cell--span-1-phone",4,"ngIf"],["class","mdc-layout-grid__cell--span-2-desktop\n          mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-1-phone action-button","mat-stroked-button","","color","primary","type","button",3,"click",4,"ngIf"],[1,"separator","mdc-layout-grid__cell--span-12-tablet","separator","mdc-layout-grid__cell--span-12-phone"],[1,"mdc-layout-grid__cell--span-1-desktop","mdc-layout-grid__cell--span-1-tablet","mdc-layout-grid__cell--span-1-phone"],["type","button","class","action-button","mat-icon-button","",3,"click",4,"ngIf","ngIfElse"],["saveTemplate",""],["type","button","mat-icon-button","",1,"action-button",3,"click"],["mat-stroked-button","","color","primary","type","button",1,"mdc-layout-grid__cell--span-2-desktop","mdc-layout-grid__cell--span-2-tablet","mdc-layout-grid__cell--span-1-phone","action-button",3,"click"],ct]},template:function(Xe,X){1&Xe&&b.YNc(0,$,5,11,"div",0),2&Xe&&b.Q6J("ngForOf",X.array.controls)("ngForTrackBy",X.trackBy)},directives:[m.sg,m.mk,m.tP,m.O5,D.VG,A.lW,B.Hw],encapsulation:2}),Je})();var ae=l(93075),ge=l(28115),Ve=l(15632),$e=l(47910),Be=l(34307),Ee=l(3784);
/**
       * @license
       * Copyright Google Inc. All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Re=new b.OlP("CompositionEventMode");let Ge=(()=>{class Je{constructor(Xe,X,xe,he,N){this._renderer=Xe,this.elementRef=X,this.localeService=xe,this._compositionMode=he,this.timeComponent=N,this.baseDate=(0,ge.Z)(new Date(null)),this.format="HH:mm",this._composing=!1,this.onChange=F=>{},this.onTouched=()=>{},null==this._compositionMode&&(this._compositionMode=!function Ie(){const Je=(0,m.q)()?(0,m.q)().getUserAgent():"";return/android (\d+)/.test(Je.toLowerCase())}())}ngOnInit(){this._elementRef=this.elementRef.nativeElement.querySelector("input")}ngAfterViewInit(){this.globalInstance=this._renderer.listen(this._elementRef,"input",Xe=>{this._handleInput(Xe.target.value)})}writeValue(Xe){const X=null==Xe?0:Xe,xe=(0,Ve.Z)(this.baseDate,X);if(this._elementRef)if(this.timeComponent._showClear&&!X)this._renderer.setProperty(this._elementRef,"value","");else{const he=this.format.includes("HH")&&X>3600?this.format.replace("HH","kk"):this.format;this._renderer.setProperty(this._elementRef,"value",(0,$e.Z)(xe,he,{locale:this.localeService.locale}))}}registerOnChange(Xe){this.onChange=Xe}registerOnTouched(Xe){this.onTouched=Xe}setDisabledState(Xe){this._renderer.setProperty(this._elementRef,"disabled",Xe)}_handleInput(Xe){if((!this._compositionMode||this._compositionMode&&!this._composing)&&Xe&&5===Xe.length){const X=Xe.split(":"),xe=parseInt(X.shift(),10),he=parseInt(X.pop(),10);this.onChange(3600*xe+60*he)}}_compositionStart(){this._composing=!0}_compositionEnd(Xe){this._composing=!1,this._compositionMode&&this.onChange(Xe)}}return Je.\u0275fac=function(Xe){return new(Xe||Je)(b.Y36(b.Qsj),b.Y36(b.SBq),b.Y36(Be.OL),b.Y36(Re,8),b.Y36(Ee.G,1))},Je.\u0275dir=b.lG2({type:Je,selectors:[["","goTimeInput",""]],hostBindings:function(Xe,X){1&Xe&&b.NdJ("blur",function(){return X.onTouched()})("compositionstart",function(){return X._compositionStart()})("compositionend",function(he){return X._compositionEnd(he.target.value)})},inputs:{format:"format"},features:[b._Bn([{provide:ae.JU,useExisting:(0,b.Gpc)(()=>Je),multi:!0}])]}),Je})();var it=l(98833),Se=l(79308),Z=l(46476),V=l(89868),U=l(66678),fe=l(90900),pe=l(67322);let He=(()=>{class Je extends U.Pd{constructor(Xe,X,xe,he,N){super(Xe,xe,he,N),this.localService=X,this._valueChange=new b.vpe,this._localeSubscription=xe.localeChanges.subscribe(()=>{this.value=this._value})}set goDatepicker(Xe){!Xe||(this._datepicker=Xe,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(X=>{this.value=X,this.formatFormValue(X),this._onTouched(),this.dateInput.emit(new U.o4(this,this._elementRef.nativeElement)),this.dateChange.emit(new U.o4(this,this._elementRef.nativeElement))}))}formatFormValue(Xe){let X;if(Xe&&Object.prototype.hasOwnProperty.call(Xe,"begin")&&Object.prototype.hasOwnProperty.call(Xe,"end")){const xe=Object.assign({},Xe);xe.end=this._dateAdapter.addCalendarDays(xe.end,1),X=new Se.e6(this._dateAdapter.format(xe.begin,"yyyy-MM-dd"),this._dateAdapter.format(xe.end,"yyyy-MM-dd"),"[)").toString()}else X=Xe;this._cvaOnChange(X)}toZonedTime(Xe){return(0,fe.Z)(Xe)?(0,Z.Z)(Xe,this.timeZone||this.localService.timeZone):Xe}toUtcTime(Xe){return(0,fe.Z)(Xe)?(0,V.Z)(Xe,this.timeZone||this.localService.timeZone):Xe}writeValue(Xe){if("string"==typeof Xe){let{begin:X,end:xe}=(0,Se.Qc)(Xe);X=this._dateAdapter.parse(X,"yyyy-MM-dd"),xe=this._dateAdapter.addCalendarDays(this._dateAdapter.parse(xe,"yyyy-MM-dd"),-1),this.value={begin:this.toZonedTime(X),end:this.toZonedTime(xe)}}else Xe?(Xe=this.toZonedTime(Xe),this.value=Xe):this.value=Xe}_onInput(Xe){let X=null;if(this._datepicker.rangeMode){const xe=Xe.split("-");if(xe.length>1){const he=Math.floor(xe.length/2),N=xe.slice(0,he).join("-").trim(),F=xe.slice(he).join("-").trim();let Y=this.toUtcTime(this._dateAdapter.parse(N,this._dateFormats.parse.dateInput)),re=this.toUtcTime(this._dateAdapter.parse(F,this._dateFormats.parse.dateInput));this._lastValueValid=!Y||!re||this._dateAdapter.isValid(Y)&&this._dateAdapter.isValid(re),Y=this._getValidDateOrNull(Y),re=this._getValidDateOrNull(re),Y&&re&&(X={begin:Y,end:re})}}else X=this._dateAdapter.parse(Xe,this._dateFormats.parse.dateInput),this._lastValueValid=!X||this._dateAdapter.isValid(X),X=this._getValidDateOrNull(X),X=this.toUtcTime(X);this._value=X,this.formatFormValue(X),this._valueChange.emit(X),this.dateInput.emit(new U.o4(this,this._elementRef.nativeElement))}}return Je.\u0275fac=function(Xe){return new(Xe||Je)(b.Y36(b.SBq),b.Y36(Be.OL),b.Y36(U._A,8),b.Y36(U.sG,8),b.Y36(pe.KE,8))},Je.\u0275dir=b.lG2({type:Je,selectors:[["input","goDatepicker",""]],hostVars:5,hostBindings:function(Xe,X){1&Xe&&b.NdJ("input",function(he){return X._onInput(he.target.value)})("change",function(){return X._onChange()})("blur",function(){return X._onBlur()})("keydown",function(he){return X._onKeydown(he)}),2&Xe&&(b.Ikx("disabled",X.disabled),b.uIk("aria-haspopup",X._datepicker?"dialog":null)("aria-owns",(null==X._datepicker?null:X._datepicker.opened)&&X._datepicker.id||null)("min",X.min?X._dateAdapter.toIso8601(X.min):null)("max",X.max?X._dateAdapter.toIso8601(X.max):null))},inputs:{goDatepicker:"goDatepicker",timeZone:"timeZone"},exportAs:["matDatepickerInput"],features:[b._Bn([{provide:ae.JU,useExisting:(0,b.Gpc)(()=>Je),multi:!0},{provide:ae.Cf,useExisting:(0,b.Gpc)(()=>Je),multi:!0},{provide:it.Jk,useExisting:Je}]),b.qOj]}),Je})();var et=l(8929),de=l(15664);let lt=(()=>{class Je{constructor(Xe,X,xe){this.fm=Xe,this.elRef=X,this.ngControl=xe,this.stateChanges=new et.xQ,this.focused=!1,this.controlType="mat-time-input",this.id="mat-time-input-"+Je.nextId++,this.describedBy="",this._required=!1,this._disabled=!1,Xe.monitor(X,!0).subscribe(he=>{this.focused=!!he,this.stateChanges.next()})}get empty(){return!this._elementRef.value}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){return this._placeholder}set placeholder(Xe){this._placeholder=Xe,this.stateChanges.next()}get required(){return this._required}set required(Xe){this._required=(0,M.Ig)(Xe),this.stateChanges.next()}get disabled(){return this._disabled}set disabled(Xe){this._disabled=(0,M.Ig)(Xe),this.stateChanges.next()}get value(){return this._elementRef.value}set value(Xe){this.stateChanges.next()}get errorState(){return!!this.ngControl.errors}ngOnInit(){this._elementRef=this.elRef.nativeElement.querySelector("input")}ngOnDestroy(){this.stateChanges.complete(),this.fm.stopMonitoring(this.elRef)}setDescribedByIds(Xe){this.describedBy=Xe.join(" ")}onContainerClick(Xe){"input"!==Xe.target.tagName.toLowerCase()&&this.elRef.nativeElement.querySelector("input").focus()}}return Je.nextId=0,Je.\u0275fac=function(Xe){return new(Xe||Je)(b.Y36(de.tE),b.Y36(b.SBq),b.Y36(ae.a5,8))},Je.\u0275dir=b.lG2({type:Je,selectors:[["","goTimeInput",""]],hostVars:4,hostBindings:function(Xe,X){2&Xe&&(b.Ikx("id",X.id),b.uIk("aria-describedby",X.describedBy),b.ekj("example-floating",X.shouldLabelFloat))},inputs:{placeholder:"placeholder",required:"required",disabled:"disabled",value:"value"},features:[b._Bn([{provide:pe.Eo,useExisting:Je}])]}),Je})();var St=l(48792),Qt=l(32711),gt=l(91394);let yt=(()=>{class Je{constructor(){this.errorObject={}}get errorMessages(){return{required:$localize`:Form error when a form field is required@@common.form.errors.required:This field is required`,blank:$localize`:Form error when a form field is required@@common.form.errors.required:This field is required`,email:$localize`:Form error when an email is not valid@@common.form.errors.email:Not a valid email`,taken:$localize`:Form error when the value entered is already taken and cannot be used@@common.form.errors.taken:This is taken`,minlength:$localize`:Form error when the value has to be at least a cert length in characters@@common.form.errors.minlength:Has to be at least ${this.errorObject.requiredLength}:requiredLength: characters long`,invalid:$localize`:Form error when the value is not valid@@common.form.errors.invalid:Not valid`,greater_than:$localize`:Form error when the value has to be higher than a certain value@@common.form.errors.greater_than:Value too low`,min:$localize`:Form error when the value has to be higher than a certain defined value@@common.form.errors.min:Value has to be above ${this.errorObject.min}:min:`,max:$localize`:Form error when the value has to be lower than a certain defined value@@common.form.errors.max:Value has to be below ${this.errorObject.max}:max:`,number:$localize`:Form error when the value must be of type number@@common.form.errors.number:Value must be a number`,pattern:$localize`:Form error when the value must be of a certain defined pattern@@common.form.errors.pattern:Has to be in the form of ${this.errorObject.pattern}:pattern:`,uploadError:$localize`:Form error when the upload has failed@@common.form.errors.uploadError:Failed to upload ${this.errorObject.name}:name:`,noFileType:$localize`:Form error when the file does not have a meta type property@@common.form.errors.noFileType:The file ${this.errorObject.name}:name: has no file type`,confirmPassword:$localize`:Form error when the value in the password confirm field does not match the password field@@common.form.errors.confirmPassword:The password does not match`}}validationMessages(Xe,X){return this.errorObject=X,this.errorMessages[Xe]||Xe}}return Je.\u0275fac=function(Xe){return new(Xe||Je)},Je.\u0275prov=b.Yz7({token:Je,factory:Je.\u0275fac}),Je})()},48792:(ze,G,l)=>{"use strict";l.d(G,{L:()=>C});var a=l(93075),i=l(67322),d=l(5e3);let C=(()=>{class f{constructor(b){this._cdRef=b}ngAfterViewInit(){if(this._control&&this._control.ngControl){const b=this._control.ngControl.validator||this._control.ngControl.form?this._control.ngControl.validator||this._control.ngControl.form&&this._control.ngControl.form.validator:this._control.ngControl.control?this._control.ngControl.control.validator:null;b&&Promise.resolve().then(()=>{const m=b(new a.NI);this._control.required=m?m.required:null,this._cdRef.markForCheck()})}}}return f.\u0275fac=function(b){return new(b||f)(d.Y36(d.sBO))},f.\u0275dir=d.lG2({type:f,selectors:[["mat-form-field"]],contentQueries:function(b,m,I){if(1&b&&d.Suo(I,i.Eo,5),2&b){let L;d.iGM(L=d.CRH())&&(m._control=L.first)}}}),f})()},82122:(ze,G,l)=>{"use strict";l.d(G,{s:()=>i});var a=l(5e3);let i=(()=>{class d{onClick(C){C.stopPropagation(),this.control.reset()}}return d.\u0275fac=function(C){return new(C||d)},d.\u0275dir=a.lG2({type:d,selectors:[["","goResetControlHandle",""]],hostBindings:function(C,f){1&C&&a.NdJ("click",function(b){return f.onClick(b)})},inputs:{control:["goResetControlHandle","control"]}}),d})()},46182:(ze,G,l)=>{"use strict";l.d(G,{X:()=>p});var a=l(93075),i=l(5e3),d=l(94064);let p=(()=>{class C{constructor(v){this.host=v}ngAfterContentInit(){this.controlSub||(this.controlSub=this.host.formControl.valueChanges.subscribe(()=>{this.resetControl()}))}resetControl(){!this.goResetControl||this.goResetControl.forEach(v=>{if(v instanceof a.Oe)for(let b=v.controls.length-1;b>=0;b--)v.removeAt(b);v.reset()})}ngOnDestroy(){this.controlSub.unsubscribe()}}return C.\u0275fac=function(v){return new(v||C)(i.Y36(d.l,8))},C.\u0275dir=i.lG2({type:C,selectors:[["","goResetControl","","controlName",""]],inputs:{goResetControl:"goResetControl"}}),C})()},27930:(ze,G,l)=>{"use strict";l.d(G,{l:()=>x});var a=l(5e3),i=l(93075);
/*!
       * Signature Pad v4.2.0 | https://github.com/szimek/signature_pad
       * (c) 2024 Szymon Nowak | Released under the MIT license
       */class d{constructor(k,H,j,z){if(isNaN(k)||isNaN(H))throw new Error(`Point is invalid: (${k}, ${H})`);this.x=+k,this.y=+H,this.pressure=j||0,this.time=z||Date.now()}distanceTo(k){return Math.sqrt(Math.pow(this.x-k.x,2)+Math.pow(this.y-k.y,2))}equals(k){return this.x===k.x&&this.y===k.y&&this.pressure===k.pressure&&this.time===k.time}velocityFrom(k){return this.time!==k.time?this.distanceTo(k)/(this.time-k.time):0}}class p{static fromPoints(k,H){const j=this.calculateControlPoints(k[0],k[1],k[2]).c2,z=this.calculateControlPoints(k[1],k[2],k[3]).c1;return new p(k[1],j,z,k[2],H.start,H.end)}static calculateControlPoints(k,H,j){const z=k.x-H.x,le=k.y-H.y,oe=H.x-j.x,$=H.y-j.y,y_x=(k.x+H.x)/2,y_y=(k.y+H.y)/2,ae_x=(H.x+j.x)/2,ae_y=(H.y+j.y)/2,ge=Math.sqrt(z*z+le*le),Ve=Math.sqrt(oe*oe+$*$),Ee=Ve/(ge+Ve),Re=H.x-(ae_x+(y_x-ae_x)*Ee),Ge=H.y-(ae_y+(y_y-ae_y)*Ee);return{c1:new d(y_x+Re,y_y+Ge),c2:new d(ae_x+Re,ae_y+Ge)}}constructor(k,H,j,z,le,oe){this.startPoint=k,this.control2=H,this.control1=j,this.endPoint=z,this.startWidth=le,this.endWidth=oe}length(){let j,z,H=0;for(let le=0;le<=10;le+=1){const oe=le/10,$=this.point(oe,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),y=this.point(oe,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(le>0){const ae=$-j,ge=y-z;H+=Math.sqrt(ae*ae+ge*ge)}j=$,z=y}return H}point(k,H,j,z,le){return H*(1-k)*(1-k)*(1-k)+3*j*(1-k)*(1-k)*k+3*z*(1-k)*k*k+le*k*k*k}}class v extends class C{constructor(){try{this._et=new EventTarget}catch(k){this._et=document}}addEventListener(k,H,j){this._et.addEventListener(k,H,j)}dispatchEvent(k){return this._et.dispatchEvent(k)}removeEventListener(k,H,j){this._et.removeEventListener(k,H,j)}}{constructor(k,H={}){super(),this.canvas=k,this._drawingStroke=!1,this._isEmpty=!0,this._lastPoints=[],this._data=[],this._lastVelocity=0,this._lastWidth=0,this._handleMouseDown=j=>{1===j.buttons&&this._strokeBegin(j)},this._handleMouseMove=j=>{this._strokeMoveUpdate(j)},this._handleMouseUp=j=>{1===j.buttons&&this._strokeEnd(j)},this._handleTouchStart=j=>{j.cancelable&&j.preventDefault(),1===j.targetTouches.length&&this._strokeBegin(j.changedTouches[0])},this._handleTouchMove=j=>{j.cancelable&&j.preventDefault(),this._strokeMoveUpdate(j.targetTouches[0])},this._handleTouchEnd=j=>{j.target===this.canvas&&(j.cancelable&&j.preventDefault(),this._strokeEnd(j.changedTouches[0]))},this._handlePointerStart=j=>{j.preventDefault(),this._strokeBegin(j)},this._handlePointerMove=j=>{this._strokeMoveUpdate(j)},this._handlePointerEnd=j=>{this._drawingStroke&&(j.preventDefault(),this._strokeEnd(j))},this.velocityFilterWeight=H.velocityFilterWeight||.7,this.minWidth=H.minWidth||.5,this.maxWidth=H.maxWidth||2.5,this.throttle="throttle"in H?H.throttle:16,this.minDistance="minDistance"in H?H.minDistance:5,this.dotSize=H.dotSize||0,this.penColor=H.penColor||"black",this.backgroundColor=H.backgroundColor||"rgba(0,0,0,0)",this.compositeOperation=H.compositeOperation||"source-over",this.canvasContextOptions="canvasContextOptions"in H?H.canvasContextOptions:{},this._strokeMoveUpdate=this.throttle?function f(w,k=250){let z,le,oe,H=0,j=null;const $=()=>{H=Date.now(),j=null,z=w.apply(le,oe),j||(le=null,oe=[])};return function(...ae){const ge=Date.now(),Ve=k-(ge-H);return le=this,oe=ae,Ve<=0||Ve>k?(j&&(clearTimeout(j),j=null),H=ge,z=w.apply(le,oe),j||(le=null,oe=[])):j||(j=window.setTimeout($,Ve)),z}}(v.prototype._strokeUpdate,this.throttle):v.prototype._strokeUpdate,this._ctx=k.getContext("2d",this.canvasContextOptions),this.clear(),this.on()}clear(){const{_ctx:k,canvas:H}=this;k.fillStyle=this.backgroundColor,k.clearRect(0,0,H.width,H.height),k.fillRect(0,0,H.width,H.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(k,H={}){return new Promise((j,z)=>{const le=new Image,oe=H.ratio||window.devicePixelRatio||1,$=H.width||this.canvas.width/oe,y=H.height||this.canvas.height/oe,ae=H.xOffset||0,ge=H.yOffset||0;this._reset(this._getPointGroupOptions()),le.onload=()=>{this._ctx.drawImage(le,ae,ge,$,y),j()},le.onerror=Ve=>{z(Ve)},le.crossOrigin="anonymous",le.src=k,this._isEmpty=!1})}toDataURL(k="image/png",H){return"image/svg+xml"===k?("object"!=typeof H&&(H=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(H))}`):("number"!=typeof H&&(H=void 0),this.canvas.toDataURL(k,H))}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const k=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!k?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerStart),this.canvas.removeEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.removeEventListener("pointerup",this._handlePointerEnd),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(k,{clear:H=!0}={}){H&&this.clear(),this._fromData(k,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(k)}toData(){return this._data}_getPointGroupOptions(k){return{penColor:k&&"penColor"in k?k.penColor:this.penColor,dotSize:k&&"dotSize"in k?k.dotSize:this.dotSize,minWidth:k&&"minWidth"in k?k.minWidth:this.minWidth,maxWidth:k&&"maxWidth"in k?k.maxWidth:this.maxWidth,velocityFilterWeight:k&&"velocityFilterWeight"in k?k.velocityFilterWeight:this.velocityFilterWeight,compositeOperation:k&&"compositeOperation"in k?k.compositeOperation:this.compositeOperation}}_strokeBegin(k){if(!this.dispatchEvent(new CustomEvent("beginStroke",{detail:k,cancelable:!0})))return;this._drawingStroke=!0;const j=this._getPointGroupOptions(),z=Object.assign(Object.assign({},j),{points:[]});this._data.push(z),this._reset(j),this._strokeUpdate(k)}_strokeUpdate(k){if(!this._drawingStroke)return;if(0===this._data.length)return void this._strokeBegin(k);this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:k}));const le=this._createPoint(k.clientX,k.clientY,void 0!==k.pressure?k.pressure:void 0!==k.force?k.force:0),oe=this._data[this._data.length-1],$=oe.points,y=$.length>0&&$[$.length-1],ae=!!y&&le.distanceTo(y)<=this.minDistance,ge=this._getPointGroupOptions(oe);if(!y||!y||!ae){const Ve=this._addPoint(le,ge);y?Ve&&this._drawCurve(Ve,ge):this._drawDot(le,ge),$.push({time:le.time,x:le.x,y:le.y,pressure:le.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:k}))}_strokeEnd(k){!this._drawingStroke||(this._strokeUpdate(k),this._drawingStroke=!1,this.dispatchEvent(new CustomEvent("endStroke",{detail:k})))}_handlePointerEvents(){this._drawingStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerStart),this.canvas.addEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.addEventListener("pointerup",this._handlePointerEnd)}_handleMouseEvents(){this._drawingStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.addEventListener("mouseup",this._handleMouseUp)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)}_reset(k){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(k.minWidth+k.maxWidth)/2,this._ctx.fillStyle=k.penColor,this._ctx.globalCompositeOperation=k.compositeOperation}_createPoint(k,H,j){const z=this.canvas.getBoundingClientRect();return new d(k-z.left,H-z.top,j,(new Date).getTime())}_addPoint(k,H){const{_lastPoints:j}=this;if(j.push(k),j.length>2){3===j.length&&j.unshift(j[0]);const z=this._calculateCurveWidths(j[1],j[2],H),le=p.fromPoints(j,z);return j.shift(),le}return null}_calculateCurveWidths(k,H,j){const z=j.velocityFilterWeight*H.velocityFrom(k)+(1-j.velocityFilterWeight)*this._lastVelocity,le=this._strokeWidth(z,j),oe={end:le,start:this._lastWidth};return this._lastVelocity=z,this._lastWidth=le,oe}_strokeWidth(k,H){return Math.max(H.maxWidth/(k+1),H.minWidth)}_drawCurveSegment(k,H,j){const z=this._ctx;z.moveTo(k,H),z.arc(k,H,j,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(k,H){const j=this._ctx,z=k.endWidth-k.startWidth,le=2*Math.ceil(k.length());j.beginPath(),j.fillStyle=H.penColor;for(let oe=0;oe<le;oe+=1){const $=oe/le,y=$*$,ae=y*$,ge=1-$,Ve=ge*ge,$e=Ve*ge;let Be=$e*k.startPoint.x;Be+=3*Ve*$*k.control1.x,Be+=3*ge*y*k.control2.x,Be+=ae*k.endPoint.x;let Ee=$e*k.startPoint.y;Ee+=3*Ve*$*k.control1.y,Ee+=3*ge*y*k.control2.y,Ee+=ae*k.endPoint.y;const Ie=Math.min(k.startWidth+ae*z,H.maxWidth);this._drawCurveSegment(Be,Ee,Ie)}j.closePath(),j.fill()}_drawDot(k,H){const j=this._ctx,z=H.dotSize>0?H.dotSize:(H.minWidth+H.maxWidth)/2;j.beginPath(),this._drawCurveSegment(k.x,k.y,z),j.closePath(),j.fillStyle=H.penColor,j.fill()}_fromData(k,H,j){for(const z of k){const{points:le}=z,oe=this._getPointGroupOptions(z);if(le.length>1)for(let $=0;$<le.length;$+=1){const y=le[$],ae=new d(y.x,y.y,y.pressure,y.time);0===$&&this._reset(oe);const ge=this._addPoint(ae,oe);ge&&H(ge,oe)}else this._reset(oe),j(le[0],oe)}}toSVG({includeBackgroundColor:k=!1}={}){const H=this._data,j=Math.max(window.devicePixelRatio||1,1),oe=this.canvas.width/j,$=this.canvas.height/j,y=document.createElementNS("http://www.w3.org/2000/svg","svg");if(y.setAttribute("xmlns","http://www.w3.org/2000/svg"),y.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),y.setAttribute("viewBox",`0 0 ${oe} ${$}`),y.setAttribute("width",oe.toString()),y.setAttribute("height",$.toString()),k&&this.backgroundColor){const ae=document.createElement("rect");ae.setAttribute("width","100%"),ae.setAttribute("height","100%"),ae.setAttribute("fill",this.backgroundColor),y.appendChild(ae)}return this._fromData(H,(ae,{penColor:ge})=>{const Ve=document.createElement("path");if(!(isNaN(ae.control1.x)||isNaN(ae.control1.y)||isNaN(ae.control2.x)||isNaN(ae.control2.y))){const $e=`M ${ae.startPoint.x.toFixed(3)},${ae.startPoint.y.toFixed(3)} C ${ae.control1.x.toFixed(3)},${ae.control1.y.toFixed(3)} ${ae.control2.x.toFixed(3)},${ae.control2.y.toFixed(3)} ${ae.endPoint.x.toFixed(3)},${ae.endPoint.y.toFixed(3)}`;Ve.setAttribute("d",$e),Ve.setAttribute("stroke-width",(2.25*ae.endWidth).toFixed(3)),Ve.setAttribute("stroke",ge),Ve.setAttribute("fill","none"),Ve.setAttribute("stroke-linecap","round"),y.appendChild(Ve)}},(ae,{penColor:ge,dotSize:Ve,minWidth:$e,maxWidth:Be})=>{const Ee=document.createElement("circle");Ee.setAttribute("r",(Ve>0?Ve:($e+Be)/2).toString()),Ee.setAttribute("cx",ae.x.toString()),Ee.setAttribute("cy",ae.y.toString()),Ee.setAttribute("fill",ge),y.appendChild(Ee)}),y.outerHTML}}var b=l(10200),m=l(59989);const I=["sPad"],L=["sPadBody"],M=["controlName",""];function D(w,k){1&w&&a.GkF(0)}function A(w,k){1&w&&a.GkF(0)}function B(w,k){1&w&&a._UZ(0,"span",9),2&w&&a.Q6J("innerHTML",k.message,a.oJD)}const R=function(w){return{message:w}};let x=(()=>{class w extends m.cm{ngAfterViewInit(){this.formControl.setValidators(i.kI.required),this.signaturePad=new v(this.sPadRef.nativeElement),this.sPadRef.nativeElement.height=this.sPadBodyRef.nativeElement.offsetHeight,this.sPadRef.nativeElement.width=this.sPadBodyRef.nativeElement.offsetWidth,this.formControl.value&&this.signaturePad.fromData(JSON.parse(this.formControl.value)),this.signaturePad.addEventListener("endStroke",()=>{this.formControl.setValue(JSON.stringify(this.signaturePad.toData())),this.formControl.pristine&&this.formControl.markAsDirty(),this.cd.markForCheck()})}clear(){this.signaturePad.clear(),this.formControl.setValue(null),this.cd.markForCheck()}undo(){const H=this.signaturePad.toData();H&&(H.pop(),this.signaturePad.fromData(H),this.formControl.setValue(H.length>0?JSON.stringify(H):null),this.cd.markForCheck())}}return w.\u0275fac=function(){let k;return function(j){return(k||(k=a.n5z(w)))(j||w)}}(),w.\u0275cmp=a.Xpm({type:w,selectors:[["go-signature-pad","controlName",""]],viewQuery:function(H,j){if(1&H&&(a.Gf(I,7),a.Gf(L,7)),2&H){let z;a.iGM(z=a.CRH())&&(j.sPadRef=z.first),a.iGM(z=a.CRH())&&(j.sPadBodyRef=z.first)}},features:[a._Bn([{provide:m.lC,useExisting:(0,a.Gpc)(()=>w)}],[{provide:i.gN,useFactory:b.g,deps:[[new a.tp0,i.gN]]}]),a.qOj],attrs:M,decls:20,vars:8,consts:[[1,"signature-pad"],[1,"signature-pad-body"],["sPadBody",""],["sPad",""],[1,"signature-pad-actions"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"flex","signature-pad-buttons"],["type","button","mat-icon-button","",3,"click"],["defaultTemplate",""],[3,"innerHTML"]],template:function(H,j){if(1&H&&(a.TgZ(0,"div",0)(1,"div",1,2),a._UZ(3,"canvas",null,3),a.qZA(),a.TgZ(5,"div",4)(6,"go-form-field-subscript")(7,"mat-hint"),a.YNc(8,D,1,0,"ng-container",5),a.qZA(),a.TgZ(9,"mat-error"),a.YNc(10,A,1,0,"ng-container",5),a.qZA()(),a.TgZ(11,"div",6)(12,"button",7),a.NdJ("click",function(){return j.undo()}),a.TgZ(13,"mat-icon"),a._uU(14,"undo"),a.qZA()(),a.TgZ(15,"button",7),a.NdJ("click",function(){return j.clear()}),a.TgZ(16,"mat-icon"),a._uU(17,"clear"),a.qZA()()()()(),a.YNc(18,B,1,1,"ng-template",null,8,a.W1O)),2&H){const z=a.MAs(19);a.xp6(8),a.Q6J("ngTemplateOutlet",j.hintTemplate?j.hintTemplate:z)("ngTemplateOutletContext",a.VKq(4,R,j.hint)),a.xp6(2),a.Q6J("ngTemplateOutlet",j.errorTemplate?j.errorTemplate:z)("ngTemplateOutletContext",a.VKq(6,R,j.error))}},styles:["go-form-field[_ngcontent-%COMP%]{padding:0;margin:0}go-form-field[_ngcontent-%COMP%]     .mat-form-field{padding:0}.signature-pad[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;font-size:10px;width:100%;height:100%;border:1px solid #e8e8e8;background-color:#fff;box-shadow:0 1px 4px #00000026,0 0 20px #0000000d inset;border-radius:4px;padding:8px!important;padding-bottom:4px}.signature-pad-body[_ngcontent-%COMP%]{position:relative;flex:1;border:1px solid #f4f4f4}.signature-pad-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding-top:4px}.signature-pad-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:first-child{margin-right:4px}.signature-pad-actions[_ngcontent-%COMP%]   go-form-field-subscript[_ngcontent-%COMP%]{font-size:1.15rem;margin-top:6px}.signature-pad-actions[_ngcontent-%COMP%]   go-form-field-subscript[_ngcontent-%COMP%]   mat-hint[_ngcontent-%COMP%]{color:#4a4a4a}.signature-pad-actions[_ngcontent-%COMP%]   .signature-pad-buttons[_ngcontent-%COMP%]{flex-direction:row}.signature-pad-actions[_ngcontent-%COMP%]     .mat-form-field-subscript-wrapper{position:relative!important;margin-top:-3px!important}canvas[_ngcontent-%COMP%]{touch-action:none}"],changeDetection:0}),w})()},19927:(ze,G,l)=>{"use strict";l.d(G,{ii:()=>D,U4:()=>A,hw:()=>m,_0:()=>I,qQ:()=>L,is:()=>R,mj:()=>B,Kk:()=>x});var a=l(5e3),i=l(93075),d=l(3892),p=l(80013),C=l(75778),f=l(24850),v=l(27221);let b=(()=>{class w{constructor(H){this.tenantValidateGql=H}validate(H){return this.tenantValidateGql.fetch({input:{name:H.value}}).pipe((0,p.b)(140),(0,C.x)(),(0,f.U)(j=>{if(j.data.tenantValidate.errors){const z={};return z[j.data.tenantValidate.errors[0].messages[0]]=!0,z}return null}),(0,v.K)(()=>null))}}return w.\u0275fac=function(H){return new(H||w)(a.LFG(d.oO))},w.\u0275prov=a.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),m=(()=>{class w{constructor(H){this.validator=H}validate(H){this.validator.validate(H)}}return w.\u0275fac=function(H){return new(H||w)(a.Y36(b))},w.\u0275dir=a.lG2({type:w,selectors:[["","goUniqueTenant",""]],features:[a._Bn([{provide:i.SD,useExisting:(0,a.Gpc)(()=>b),multi:!0}])]}),w})(),I=(()=>{class w{constructor(H){this.userValidateGql=H}validate(H){return this.userValidateGql.fetch({input:{email:H.value}}).pipe((0,p.b)(140),(0,C.x)(),(0,f.U)(j=>{if(j.data.userValidate.errors){const z={},le=j.data.userValidate.errors.filter($=>"email"===$.key);let oe=["email"];return le.length&&(oe=le[0].messages.filter($=>'"taken"'===$)),oe.length?(z[oe[0]]=!0,z):null}return null}),(0,v.K)(()=>null))}}return w.\u0275fac=function(H){return new(H||w)(a.LFG(d.ed))},w.\u0275prov=a.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})(),L=(()=>{class w{constructor(H){this.validator=H}validate(H){this.validator.validate(H)}}return w.\u0275fac=function(H){return new(H||w)(a.Y36(I))},w.\u0275dir=a.lG2({type:w,selectors:[["","goUniqueUserEmail",""]],features:[a._Bn([{provide:i.SD,useExisting:(0,a.Gpc)(()=>I),multi:!0}])]}),w})();var M=l(58561);let D=(()=>{class w{constructor(H){this.host=H}ngAfterContentInit(){this.sub=this.host.formControl.valueChanges.subscribe(()=>{const j=this.host.input._elementRef.nativeElement;this.host.formControl.setErrors(j.validity&&j.validity.badInput?{number:!0}:this.host.formControl.errors)})}ngOnDestroy(){this.sub.unsubscribe()}}return w.\u0275fac=function(H){return new(H||w)(a.Y36(M.a,8))},w.\u0275dir=a.lG2({type:w,selectors:[["go-input","type","number"]]}),w})(),A=(()=>{class w{constructor(H){this.control=H}set pattern(H){this._pattern=H,this.patternAttr=H||null}get pattern(){return this._pattern}input(H){this._handleInput(H.target.value)}ngOnChanges(H){"pattern"in H&&this._createValidator()}_handleInput(H){const j=this._validator({value:H});j&&"pattern"in j&&(j.pattern.pattern="00:00"),this.control.control.setErrors(j)}validate(H){return this._validator(H)}_createValidator(){this._validator=i.kI.pattern(this.pattern)}}return w.\u0275fac=function(H){return new(H||w)(a.Y36(i.a5,4))},w.\u0275dir=a.lG2({type:w,selectors:[["input","pattern",""]],hostVars:1,hostBindings:function(H,j){1&H&&a.NdJ("input",function(le){return j.input(le)}),2&H&&a.uIk("pattern",j.patternAttr)},inputs:{pattern:"pattern"},features:[a._Bn([{provide:i.Cf,useExisting:(0,a.Gpc)(()=>w),multi:!0}]),a.TTD]}),w})();function B(){return w=>({error:!0})}function R(w,k){return H=>H.get(`${w}`).value?H.get(`${k}`).value===H.get(`${w}`).value?(H.get(`${w}`).setErrors(null),null):(H.get(`${w}`).setErrors({confirmPassword:!0}),{invalid:!0}):{invalid:!0}}function x(){return w=>null==w.value?null:w.value.includes("@service-account.api.ticketgateway.de")?{email:"invalid"}:null}},86017:(ze,G,l)=>{"use strict";l.d(G,{a1:()=>$,e8:()=>oe,dl:()=>ae,at:()=>y});var a=l(34307),i=l(55253),d=l(591),p=l(21086),C=l(61709),f=l(12474),v=l(24850),b=l(22868),m=l(43489),I=l(32916),L=l(826),M=l(69054);function D(ge,Ve){return Ve?$e=>new R($e,Ve).lift(new A(ge)):$e=>$e.lift(new A(ge))}class A{constructor(Ve){this.delayDurationSelector=Ve}call(Ve,$e){return $e.subscribe(new B(Ve,this.delayDurationSelector))}}class B extends L.L{constructor(Ve,$e){super(Ve),this.delayDurationSelector=$e,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(Ve,$e,Be,Ee,Ie){this.destination.next(Ve),this.removeSubscription(Ie),this.tryComplete()}notifyError(Ve,$e){this._error(Ve)}notifyComplete(Ve){const $e=this.removeSubscription(Ve);$e&&this.destination.next($e),this.tryComplete()}_next(Ve){const $e=this.index++;try{const Be=this.delayDurationSelector(Ve,$e);Be&&this.tryDelay(Be,Ve)}catch(Be){this.destination.error(Be)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(Ve){Ve.unsubscribe();const $e=this.delayNotifierSubscriptions.indexOf(Ve);return-1!==$e&&this.delayNotifierSubscriptions.splice($e,1),Ve.outerValue}tryDelay(Ve,$e){const Be=(0,M.D)(this,Ve,$e);Be&&!Be.closed&&(this.destination.add(Be),this.delayNotifierSubscriptions.push(Be))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class R extends I.y{constructor(Ve,$e){super(),this.source=Ve,this.subscriptionDelay=$e}_subscribe(Ve){this.subscriptionDelay.subscribe(new x(Ve,this.source))}}class x extends m.L{constructor(Ve,$e){super(),this.parent=Ve,this.source=$e,this.sourceSubscribed=!1}_next(Ve){this.subscribeToSource()}_error(Ve){this.unsubscribe(),this.parent.error(Ve)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}var w=l(3492),k=l(5e3),H=l(35931),j=l(79622),z=l(30325);const le="go-shop-user-token";let oe=(()=>{class ge{constructor($e,Be,Ee,Ie,Re,Ge,it,Se,Z,V,U,fe){this.apollo=$e,this.checkoutService=Be,this.cookieService=Ee,this.tokenService=Ie,this.contactCreateGql=Re,this.contactWhoAmIGql=Ge,this.contactConfirmEmailGql=it,this.contactLoginGql=Se,this.contactEnableLoginGQL=Z,this.contactResetPasswordGQL=V,this.contactRequestPasswordResetGQL=U,this.router=fe,this.isLoggedIn=new d.X(null),this.updateLoginState()}updateLoginState(){const $e=this.getUserToken();if($e&&!this.isUserTokenExpired($e)){if(this.isLoggedIn.getValue())return this.isLoggedIn.next(this.isLoggedIn.getValue()),(0,p.of)();{const Be=this.getUser().pipe((0,C.zg)(Ee=>this.checkoutService.get().pipe((0,C.zg)(Ie=>{if(Ie.data.request){if(Ie.data.request.contact)return(0,p.of)(Ie);{const Re=JSON.parse(JSON.stringify(Ee));return this.checkoutService.updateContact((0,a.i1)(Re))}}return this.checkoutService.getLastUnfinalizedCart()}))),(0,f.B)());return Be.subscribe(),Be}}return this.isLoggedIn.next(null),(0,p.of)()}logOut($e){this.removeUserCookie(),this.checkoutService.removeCartCookie(),this.apollo.client.clearStore().then(()=>{this.isLoggedIn.next(null),this.router.navigate(["auth","login"],{queryParams:$e})})}removeUserCookie(){this.getUserToken()&&this.cookieService.delete(le,"/"),sessionStorage.removeItem("bL_sk")}isUserTokenExpired($e){return!!this.tokenService.isTokenExpired($e||this.getUserToken())&&(this.removeUserCookie(),!0)}getUserToken(){return this.cookieService.get(le)}confirmEmail($e){return this.contactConfirmEmailGql.mutate({input:$e})}recoverPassword($e){return this.contactRequestPasswordResetGQL.mutate({input:$e}).pipe((0,v.U)(Be=>Be.data.contactRequestPasswordReset))}resetPassword($e){return this.contactResetPasswordGQL.mutate({input:$e}).pipe((0,v.U)(Be=>Be.data.contactResetPassword),(0,b.b)(Be=>{Be.errors||this.tokenSetter(Be.contact.authToken)}),D(Be=>Be.errors?(0,p.of)():this.updateLoginState()))}enableUserLogin($e){return this.contactEnableLoginGQL.mutate({input:$e}).pipe((0,v.U)(Be=>Be.data.contactEnableLogin),(0,b.b)(Be=>{Be.errors||this.tokenSetter(Be.contact.authToken)}),D(Be=>Be.errors?(0,p.of)():this.updateLoginState()))}getUser(){return this.contactWhoAmIGql.fetch().pipe((0,v.U)($e=>JSON.parse(JSON.stringify($e.data.contactWhoAmI))),(0,b.b)($e=>{$e?this.isLoggedIn.next($e):this.logOut()}))}registerUser($e){return this.contactCreateGql.mutate({input:$e}).pipe((0,v.U)(Be=>Be.data.contactCreate),(0,b.b)(Be=>{Be.errors||(this.tokenSetter(Be.contact.authToken),Be.contact.bloyalSessionKey&&sessionStorage.setItem("bL_sk",Be.contact.bloyalSessionKey))}),D(Be=>Be.errors?(0,p.of)():this.updateLoginState()))}loginUser($e){return this.contactLoginGql.mutate({input:$e}).pipe((0,v.U)(Be=>Be.data.contactLogin),(0,b.b)(Be=>{Be.errors||(this.tokenSetter(Be.contact.authToken),Be.contact.bloyalSessionKey&&sessionStorage.setItem("bL_sk",Be.contact.bloyalSessionKey))}),D(Be=>Be.errors?(0,p.of)():this.updateLoginState()))}tokenSetter($e){this.cookieService.set(le,$e,this.tokenService.getTokenExpirationDate($e),"/")}}return ge.\u0275fac=function($e){return new($e||ge)(k.LFG(H._M),k.LFG(w.Z),k.LFG(a.N_),k.LFG(j.B),k.LFG(i.qKk),k.LFG(i.pMq),k.LFG(i.dFW),k.LFG(i.YtG),k.LFG(i.iLu),k.LFG(i.UUc),k.LFG(i.nqC),k.LFG(z.F0))},ge.\u0275prov=k.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})(),$=(()=>{class ge{constructor($e,Be){this.authService=$e,this.router=Be}canActivate($e,Be){return!this.authService.isUserTokenExpired()||(this.router.navigate(["auth","login"],{queryParams:{redirect:Be.url}}),!1)}}return ge.\u0275fac=function($e){return new($e||ge)(k.LFG(oe),k.LFG(z.F0))},ge.\u0275prov=k.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})(),y=(()=>{class ge{constructor($e,Be){this.authService=$e,this.router=Be}canActivate($e){if(this.authService.isUserTokenExpired())return!0;{const Be=$e.queryParamMap.get("ReturnUrl");return Be?sessionStorage.getItem("bL_sk")?window.location.href=Be:this.authService.logOut({ReturnUrl:Be}):this.router.navigate(["offers"]),!1}}}return ge.\u0275fac=function($e){return new($e||ge)(k.LFG(oe),k.LFG(z.F0))},ge.\u0275prov=k.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})(),ae=(()=>{class ge{constructor($e){this.cookieService=$e}intercept($e,Be){const Ee=this.cookieService.get(le);return Be.handle(Ee?this.setHeader($e,Ee):$e)}setHeader($e,Be){return $e.clone({headers:$e.headers.append("Authorization",`Bearer ${Be}`)})}}return ge.\u0275fac=function($e){return new($e||ge)(k.LFG(a.N_))},ge.\u0275prov=k.Yz7({token:ge,factory:ge.\u0275fac}),ge})()},79622:(ze,G,l)=>{"use strict";l.d(G,{B:()=>d});var a=l(73175),i=l(5e3);let d=(()=>{class p{constructor(){this.jwtService=new a.N0}getTokenExpirationDate(f){return this.jwtService.getTokenExpirationDate(f)}isTokenExpired(f,v){return this.jwtService.isTokenExpired(f,v)}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275prov=i.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},22356:(ze,G,l)=>{"use strict";l.d(G,{x:()=>m});var a=l(34594),i=l(27544),d=l(30325),p=l(34307),C=l(76400),f=l(87238),v=l(85899),b=l(5e3);let m=(()=>{class I{}return I.\u0275fac=function(M){return new(M||I)},I.\u0275mod=b.oAB({type:I}),I.\u0275inj=b.cJS({imports:[[p.wV,a.g0,d.Bz,C.m,f.AV,i.g,v.Cv]]}),I})()},95883:(ze,G,l)=>{"use strict";l.d(G,{b:()=>f});var a=l(34307),i=l(5458),d=l(55253),p=l(24850),C=l(5e3);let f=(()=>{class v extends i.bQ{constructor(m,I,L,M,D,A,B,R,x,w,k,H,j,z){super(),this.offersQueryGql=m,this.admissionOffersQueryGql=I,this.eventOffersQueryGql=L,this.productOffersQueryGql=M,this.voucherOffersQueryGql=D,this.detailQueryGql=A,this.admissionDetailQueryGql=B,this.templateDetailQueryGql=R,this.productDetailQueryGql=x,this.voucherDetailQueryGql=w,this.admissionRelatedQueryGql=k,this.eventRelatedQueryGql=H,this.eventTemplateRelatedQueryGql=j,this.productRelatedQueryGql=z}detailQuery(m){return this.detailQueryGql.fetch({id:m,extension:(0,a.Zd)()})}admissionDetailQuery(m){return this.admissionDetailQueryGql.fetch({id:m,extension:(0,a.Zd)()})}templateDetailQuery(m){return this.templateDetailQueryGql.fetch({id:m,extension:(0,a.Zd)()}).pipe((0,p.U)(I=>{const L=JSON.parse(JSON.stringify(I));return L.data.eventTemplate.firstPotentialEvent&&(L.data.eventTemplate.firstPotentialEvent={maxQuota:I.data.eventTemplate.maxQuotaWithoutResource}),L}))}productDetailQuery(m){return this.productDetailQueryGql.fetch({id:m,extension:(0,a.Zd)()})}voucherDetailQuery(m){return this.voucherDetailQueryGql.fetch({id:m,extension:(0,a.Zd)()})}fetchProductOffers(m){return this.productOffersQueryGql.fetch(Object.assign(Object.assign({},m),{extension:(0,a.Zd)()}))}fetchVoucherOffers(m){return this.voucherOffersQueryGql.fetch(Object.assign(Object.assign({},m),{extension:(0,a.Zd)()}))}fetchRelatedProducts(m,I){const L=I.charAt(0).toLowerCase()+I.slice(1);return this.relatedProductsQuery(I).fetch({id:m}).pipe((0,p.U)(M=>M.data[L]),(0,p.U)(M=>JSON.parse(JSON.stringify(M))))}relatedProductsQuery(m){return{Admission:this.admissionRelatedQueryGql,Event:this.eventRelatedQueryGql,EventTemplate:this.eventTemplateRelatedQueryGql,Product:this.productRelatedQueryGql}[m]}filterOffers(m){return this.offersQueryGql.fetch(Object.assign(Object.assign({},m),{extension:(0,a.Zd)()}))}filterAdmissions(m){return this.admissionOffersQueryGql.fetch(Object.assign(Object.assign({},m),{extension:(0,a.Zd)()}))}filterEvents(m){return this.eventOffersQueryGql.fetch(Object.assign(Object.assign({},m),{extension:(0,a.Zd)()}))}buildUrl(m,I,L){let M="";return"EventTemplate"===L?M="t":"Admission"===L?M="a":"Product"===L?M="p":"VoucherConfiguration"===L&&(M="v"),`/offers/${M}${m}${I=I||""}`}}return v.\u0275fac=function(m){return new(m||v)(C.LFG(d.XJ0),C.LFG(d.b3d),C.LFG(d.moe),C.LFG(d.F5l),C.LFG(d.SNk),C.LFG(d.ab2),C.LFG(d.ha1),C.LFG(d._Od),C.LFG(d.XPl),C.LFG(d.Zj7),C.LFG(d.l2y),C.LFG(d.Nn3),C.LFG(d.Izj),C.LFG(d.YdK))},v.\u0275prov=C.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})()},7537:(ze,G,l)=>{"use strict";l.d(G,{C:()=>j});var a=l(5e3),i=l(93075),d=l(34307),p=l(60231),C=l(8929),f=l(7625),v=l(1059);const b=[{key:"street",validators:[i.kI.required]},{key:"postalCode",validators:[i.kI.required]},{key:"city",validators:[i.kI.required]},{key:"region",validators:[]},{key:"country",validators:[i.kI.required]}];var m=l(5458),I=l(77737),L=l(69808),M=l(58561),D=l(24071),A=l(2619);function B(z,le){if(1&z&&a._UZ(0,"go-input",8),2&z){const oe=a.oxw(2);a.MGl("autocomplete","",oe.addressType," street-address")}}function R(z,le){if(1&z&&a._UZ(0,"go-input",9),2&z){const oe=a.oxw(2);a.MGl("autocomplete","",oe.addressType," postal-code")}}function x(z,le){if(1&z&&a._UZ(0,"go-input",10),2&z){const oe=a.oxw(2);a.MGl("autocomplete","",oe.addressType," address-level2")}}function w(z,le){if(1&z&&a._UZ(0,"go-input",11),2&z){const oe=a.oxw(2);a.MGl("autocomplete","",oe.addressType," address-level1")}}function k(z,le){if(1&z&&a._UZ(0,"go-select",12),2&z){const oe=a.oxw(2);a.Q6J("options",oe.countriesOptions)}}function H(z,le){if(1&z&&(a.ynx(0)(1,2),a.YNc(2,B,1,1,"go-input",3),a.YNc(3,R,1,1,"go-input",4),a.YNc(4,x,1,1,"go-input",5),a.YNc(5,w,1,1,"go-input",6),a.YNc(6,k,1,1,"go-select",7),a.BQk()()),2&z){const oe=le.$implicit;a.xp6(1),a.Q6J("ngSwitch",oe),a.xp6(1),a.Q6J("ngSwitchCase","STREET"),a.xp6(1),a.Q6J("ngSwitchCase","POSTAL_CODE"),a.xp6(1),a.Q6J("ngSwitchCase","CITY"),a.xp6(1),a.Q6J("ngSwitchCase","REGION"),a.xp6(1),a.Q6J("ngSwitchCase","COUNTRY")}}let j=(()=>{class z{constructor(oe,$,y,ae){this.formService=oe,this.cd=$,this.countryService=y,this.configService=ae,this.addressType="billing",this._destroy$=new C.xQ}ngOnInit(){this.addressForm=this.formService.toFormGroup(b),this.configService.config$.pipe((0,f.R)(this._destroy$)).subscribe(oe=>{var $;oe&&(this.addressFormat=null===($=oe.tenant.addressFormat)||void 0===$?void 0:$.flat(),this.addressForm.get("country").value||this.addressForm.get("country").patchValue(oe.tenant.country),this.cd.markForCheck())}),this.countryService.fetchCountryList().pipe((0,f.R)(this._destroy$)).subscribe(oe=>{this.countriesOptions=oe.data.countries,this.cd.markForCheck()})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}writeValue(oe){oe&&this.addressForm.patchValue(oe)}registerOnChange(oe){this.addressForm.valueChanges.pipe((0,f.R)(this._destroy$),(0,v.O)(this.addressForm.value)).subscribe(oe)}registerOnTouched(){}setDisabledState(){}validate(){return this.addressForm.valid?null:{invalidForm:{valid:!1,message:"address form fields are invalid"}}}}return z.\u0275fac=function(oe){return new(oe||z)(a.Y36(p.oL),a.Y36(a.sBO),a.Y36(d.Tf),a.Y36(m.E4))},z.\u0275cmp=a.Xpm({type:z,selectors:[["go-address-form"]],inputs:{addressType:"addressType"},features:[a._Bn([{provide:i.JU,useExisting:(0,a.Gpc)(()=>z),multi:!0},{provide:i.Cf,useExisting:(0,a.Gpc)(()=>z),multi:!0}])],decls:2,vars:2,consts:function(){let le,oe,$,y,ae;return le=$localize`:@@common.form.label.street␟2150cdcd46580c08f512eaa6d60a1f20877e971d␟1847047605496409443:Street`,oe=$localize`:@@common.form.label.postal-code␟e5f74d4f69166b727e7e4337118204586c50a236␟1200737650075932684:Zip code`,$=$localize`:@@common.form.label.city␟5c7012b5a926b32d9e45fefdcc8a1a3cb6f023d0␟2314075913167237221:City`,y=$localize`:@@common.form.label.county␟873b72903b1858a9cd6c8967521030b4d7d1435b␟5911214550882917183:State`,ae=$localize`:@@common.form.label.country␟a43f25a9ac40e8e2441ff0be7a36b8e5d15534df␟516176798986294299:Country`,[[1,"mdc-layout-grid__inner",3,"formGroup"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],["type","text","fullWidth","","class","mdc-layout-grid__cell--span-12","controlName","street","label",le,3,"autocomplete",4,"ngSwitchCase"],["fullWidth","","type","text","class","mdc-layout-grid__cell--span-4-desktop mdc-layout-grid__cell--span-3-tablet mdc-layout-grid__cell--span-2-phone","controlName","postalCode","label",oe,3,"autocomplete",4,"ngSwitchCase"],["fullWidth","","type","text","class","mdc-layout-grid__cell--span-8-desktop mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-2-phone","controlName","city","label",$,3,"autocomplete",4,"ngSwitchCase"],["fullWidth","","type","text","class","mdc-layout-grid__cell--span-8-desktop mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-2-phone","controlName","region","label",y,3,"autocomplete",4,"ngSwitchCase"],["fullWidth","","class","mdc-layout-grid__cell--span-12","controlName","country","label",ae,3,"options",4,"ngSwitchCase"],["type","text","fullWidth","","controlName","street","label",le,1,"mdc-layout-grid__cell--span-12",3,"autocomplete"],["fullWidth","","type","text","controlName","postalCode","label",oe,1,"mdc-layout-grid__cell--span-4-desktop","mdc-layout-grid__cell--span-3-tablet","mdc-layout-grid__cell--span-2-phone",3,"autocomplete"],["fullWidth","","type","text","controlName","city","label",$,1,"mdc-layout-grid__cell--span-8-desktop","mdc-layout-grid__cell--span-5-tablet","mdc-layout-grid__cell--span-2-phone",3,"autocomplete"],["fullWidth","","type","text","controlName","region","label",y,1,"mdc-layout-grid__cell--span-8-desktop","mdc-layout-grid__cell--span-5-tablet","mdc-layout-grid__cell--span-2-phone",3,"autocomplete"],["fullWidth","","controlName","country","label",ae,1,"mdc-layout-grid__cell--span-12",3,"options"]]},template:function(oe,$){1&oe&&(a.TgZ(0,"fieldset",0),a.YNc(1,H,7,6,"ng-container",1),a.qZA()),2&oe&&(a.Q6J("formGroup",$.addressForm),a.xp6(1),a.Q6J("ngForOf",$.addressFormat))},directives:[i.JL,i.sg,I.s,L.sg,L.RF,L.n9,M.a,D.P,A.H],encapsulation:2,changeDetection:0}),z})()},3492:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>A});var a=l(34307),i=l(55253),d=l(591),p=l(21086),C=l(72986),f=l(24850),v=l(22868),b=l(61709),m=l(5458),I=l(5e3),L=l(30325),M=l(79622);const D="go-shop-cart-token";let A=(()=>{class B{constructor(x,w,k,H,j,z,le,oe,$,y,ae,ge){this.router=x,this.cookieService=w,this.configService=k,this.tokenService=H,this.requestCreateGql=j,this.localeService=z,this.requestDetailGql=le,this.invoiceNewGql=oe,this.successInvoiceDetailGql=$,this.cartGql=y,this.requestUpdateGql=ae,this.requestFinalizeGql=ge,this.cartQuantity=new d.X(null),this.get().pipe((0,C.q)(1)).subscribe(Ve=>{Ve.data.request&&!Ve.errors&&this.updateCartQuantity(Ve.data.request.requestItems)})}getInvoiceNew(x){return x||(x=this.getRequestToken()),this.isRequestTokenExpired(x)?(this.cartQuantity.next(null),(0,p.of)({data:{}})):this.invoiceNewGql.mutate({input:{requestId:x}}).pipe((0,f.U)(w=>{var k,H;return(null===(H=null===(k=w.data)||void 0===k?void 0:k.invoiceNew.invoice.request)||void 0===H?void 0:H.state)===i.UFn.Canceled?(this.removeCartCookie(),{data:{invoiceNew:null},errors:null}):w}),(0,v.b)(w=>{w.data.invoiceNew&&!w.errors?(this.contact=JSON.parse(JSON.stringify(w.data.invoiceNew.invoice.request.contact)),this.requestNumber=w.data.invoiceNew.invoice.request.number,this.requestPaymentMethod=w.data.invoiceNew.invoice.request.paymentMethod,this.requestState=w.data.invoiceNew.invoice.request.state):(this.requestNumber=null,this.contact=null,this.requestPaymentMethod=null,this.requestState=null)}))}get(x){return x||(x=this.getRequestToken()),this.isRequestTokenExpired(x)?(this.cartQuantity.next(null),(0,p.of)({data:{}})):this.requestDetailGql.fetch({id:x},{fetchPolicy:"network-only"}).pipe((0,f.U)(w=>{var k,H,j;const z=JSON.parse(JSON.stringify(w));return(null===(H=null===(k=z.data)||void 0===k?void 0:k.request)||void 0===H?void 0:H.state)===i.UFn.Canceled?(this.removeCartCookie(),{data:{request:null},errors:null}):((null===(j=null==z?void 0:z.data)||void 0===j?void 0:j.request)&&(z.data.request.requestItems=z.data.request.requestItems.filter(le=>!le.discardedAt)),z)}),(0,v.b)(w=>{w.data.request&&!w.errors?(this.contact=JSON.parse(JSON.stringify(w.data.request.contact)),this.requestNumber=w.data.request.number,this.requestPaymentMethod=w.data.request.paymentMethod,this.requestState=w.data.request.state,this.request=w.data.request):(this.requestNumber=null,this.contact=null,this.requestPaymentMethod=null,this.requestState=null,this.request=null)}))}getInvoice(x){return this.successInvoiceDetailGql.fetch({token:x})}getLastUnfinalizedCart(x){return x||(x=this.getRequestToken()),this.isRequestTokenExpired(x)?this.cartGql.fetch().pipe((0,v.b)(w=>{var k;w.data&&(null===(k=w.data.cart)||void 0===k?void 0:k.accessToken)&&(this.cookieService.set(D,w.data.cart.accessToken,this.tokenService.getTokenExpirationDate(w.data.cart.accessToken),"/"),this.updateCartQuantity(w.data.cart.requestItems))})):this.cartGql.fetch({token:x})}getRequestAndUpdateOrCreate(x,w,k){const H=w.map(j=>j.id);return this.requestDetailGql.fetch({id:x}).pipe((0,b.zg)(j=>{var z,le,oe;if(null===(z=j.data)||void 0===z?void 0:z.request){if(j.data.request.state===i.UFn.Canceled){const $=[...(null===(le=this.request)||void 0===le?void 0:le.requestItems.filter(y=>!H.includes(y.id)))||[],...w];return this.create({requestItems:$.map(y=>this.formatInput(y,!0)),contact:null!==(oe=(0,a.i1)(JSON.parse(JSON.stringify(this.contact))))&&void 0!==oe?oe:void 0})}{const $=[...j.data.request.requestItems.filter(y=>!H.includes(y.id)),...w];return this.update(x,{requestItems:$.map(y=>this.formatInput(y)),contact:null!=k?k:void 0})}}return(0,p.of)({data:null,errors:[]})}))}addToOrder(x,w){var k;x instanceof Array||(x=[x]);const H=this.cookieService.get(D);if(H&&!this.isRequestTokenExpired(H)&&this.requestState!==i.UFn.Canceled)return this.getRequestAndUpdateOrCreate(H,x,w);{const j=[...(null===(k=this.request)||void 0===k?void 0:k.requestItems)||[],...x];return this.create({requestItems:j.map(z=>this.formatInput(z,!0)),contact:w})}}formatInput(x,w=!1){var k;const H={id:w?null:x.id,offerableId:x.offerableId,offerableType:x.offerableType,pricings:x.pricings.filter(j=>0!==j.quantity).map(({id:j,quantity:z,priceOriginId:le,priceOriginType:oe,priceValueCents:$,priceValueCurrency:y,attendances:ae})=>({id:w?null:j,quantity:z,priceOriginId:le,priceOriginType:oe,priceValueCents:$,priceValueCurrency:y,attendances:null==ae?void 0:ae.map(({id:ge,personalizations:Ve,personalizationAttachments:$e,waiverSignature:Be})=>{var Ee;return{id:w?null:ge,personalizations:Ve,personalizationAttachments:null!==(Ee=null==$e?void 0:$e.map(Ie=>(0,a.i1)(JSON.parse(JSON.stringify(Ie)))))&&void 0!==Ee?Ee:[],waiverSignature:Be?(0,a.i1)(JSON.parse(JSON.stringify(Be))):null}}).slice(0,z)}))};return x.globalPersonalizations&&(H.globalPersonalizations=x.globalPersonalizations),x.globalPersonalizationAttachments&&(H.globalPersonalizationAttachments=null===(k=x.globalPersonalizationAttachments)||void 0===k?void 0:k.map(j=>(0,a.i1)(JSON.parse(JSON.stringify(j))))),x.offerableSpan&&(H.offerableSpan=x.offerableSpan),H}updateOrder(x,w){const k=this.cookieService.get(D),H={requestItems:x.map(j=>this.formatInput(j)),discountCodes:[w]};return w||delete H.discountCodes,this.isRequestTokenExpired(k)?this.create(Object.assign(Object.assign({},H),{contact:this.contact?(0,a.i1)(this.contact):null})).pipe((0,f.U)(j=>j.data.requestCreate)):this.update(k,Object.assign({},H)).pipe((0,f.U)(j=>{const z=JSON.parse(JSON.stringify(j.data.requestUpdate));return z.request&&z.request.requestItems.forEach((le,oe,$)=>{le.discardedAt&&$.splice(oe,1)}),z}))}applyDiscount(x){const w=this.getRequestToken();return w&&!this.isRequestTokenExpired(w)?this.update(w,{discountCodes:[x]}):(0,p.of)({data:{requestUpdate:{errors:[]}}})}prepareContact(x){var w,k;if(!x)return null;const H=null===(w=(x=(0,a.i1)(x)).customer.addresses)||void 0===w?void 0:w.find(z=>z.defaultBilling),j=null===(k=x.customer.addresses)||void 0===k?void 0:k.find(z=>z.defaultShipping);return H&&!H.billing&&(H.billing=!0),j&&!j.shipping&&(j.shipping=!0),x}updateContact(x){const w=this.getRequestToken();return w&&!this.isRequestTokenExpired(w)?(delete(x=this.prepareContact(x)).accessToken,this.update(w,{contact:x})):(0,p.of)({data:{requestUpdate:{errors:[]}}})}updateCartQuantity(x){if(x&&!this.isRequestTokenExpired()){const w=x.filter(k=>{var H;return!(null===(H=k.offerable)||void 0===H?void 0:H.shippingArticle)}).map(k=>k.pricings.filter(H=>!H.isDeposit).map(H=>H.quantity)).flat().reduce((k,H)=>k+H,0);this.cartQuantity.next(w)}else this.cartQuantity.next(null)}createAndFinalize(){return this.create({requestItems:this.request.requestItems.map(x=>this.formatInput(x,!0)),contact:this.contact}).pipe((0,b.zg)(x=>{var w,k,H,j;return(null===(k=null===(w=x.data)||void 0===w?void 0:w.requestCreate)||void 0===k?void 0:k.request)?this.requestFinalizeGql.mutate({input:{id:null===(j=null===(H=x.data)||void 0===H?void 0:H.requestCreate)||void 0===j?void 0:j.request.accessToken}}):(0,p.of)({data:{requestFinalize:{errors:[]}}})}))}finalizeOrder(){const x=this.getRequestToken();return x&&!this.isRequestTokenExpired(x)?this.requestFinalizeGql.mutate({input:{id:x}}).pipe((0,b.zg)(w=>{var k,H,j;return this.request&&(null===(j=null===(H=null===(k=w.data)||void 0===k?void 0:k.requestFinalize)||void 0===H?void 0:H.errors)||void 0===j?void 0:j.some(z=>"id"===z.key&&z.messages.some(le=>"already_canceled"===le)))?this.createAndFinalize():(0,p.of)(w)})):this.request?this.createAndFinalize():(0,p.of)({data:{requestFinalize:{errors:[]}}})}afterOrderFinalization(x){var w,k,H,j;if(x.data&&!x.errors){const z=1===(null===(w=x.data.requestFinalize.errors)||void 0===w?void 0:w.length)&&(null===(k=x.data.requestFinalize.errors[0])||void 0===k?void 0:k.messages.toString())===["blank"].toString();if(!x.data.requestFinalize.errors||z)if((z?this.requestPaymentMethod:x.data.requestFinalize.request.paymentMethod)===i.dx8.OnSite)this.router.navigate(["/cart","reserved"],{queryParams:{token:this.getRequestToken()}});else if((null===(H=x.data.requestFinalize.request)||void 0===H?void 0:H.paymentState)===i.TD3.Settled){const oe=null!==(j=x.data.requestFinalize.request.invoices.find($=>$.paymentState===i.o8q.Paid))&&void 0!==j?j:x.data.requestFinalize.request.invoices[0];this.router.navigate(["/cart",oe.accessToken,"success"])}else this.get().pipe((0,C.q)(1)).subscribe(oe=>{const $=oe.data.request.invoices.find(ae=>ae.paymentState===i.o8q.RequiresPayment),y=oe.data.request.invoices.length;!$&&y?this.router.navigate(["/payments",oe.data.request.invoices[y-1].accessToken,"success"]):$?(this.removeCartCookie(),this.configService.activatedFeatures.getValue().get("beta_payments")?window.location.href=`//${this.configService.config$.getValue().tenant.internalDomainName}/beta/payments/${$.accessToken}/methods`:this.router.navigate(["/payments",$.accessToken,"methods"])):this.router.navigate(["/cart/failure"],{queryParams:{bookingNumber:this.requestNumber}})});else this.router.navigate(["/cart/failure"],{queryParams:{bookingNumber:this.requestNumber}})}else this.router.navigate(["/cart/failure"],{queryParams:{bookingNumber:this.requestNumber}})}isRequestTokenExpired(x){return!!this.tokenService.isTokenExpired(x||this.getRequestToken())&&(this.removeCartCookie(),!0)}getRequestToken(){return this.cookieService.get(D)}removeCartCookie(){this.getRequestToken()&&(this.cookieService.delete(D,"/"),this.cartQuantity.next(null),this.requestNumber=null,this.contact=null,this.requestPaymentMethod=null,this.requestState=null,this.request=null)}create(x){var w,k,H,j;return null===(w=x.requestItems)||void 0===w||w.forEach(z=>{z.pricings.forEach(le=>{var oe;delete le.id,null===(oe=le.attendances)||void 0===oe||oe.forEach($=>delete $.id)}),delete z.id}),(null===(k=x.contact)||void 0===k?void 0:k.id)&&(x.billingAddressId=null===(H=x.contact.customer.addresses.find(z=>z.defaultBilling))||void 0===H?void 0:H.id,x.shippingAddressId=null===(j=x.contact.customer.addresses.find(z=>z.defaultShipping))||void 0===j?void 0:j.id),this.requestCreateGql.mutate({input:Object.assign({},x)}).pipe((0,f.U)(z=>{if(z.data&&!z.data.requestCreate.errors){const{request:le}=z.data.requestCreate;return this.cookieService.set(D,le.accessToken,this.tokenService.getTokenExpirationDate(le.accessToken),"/"),this.updateCartQuantity(x.requestItems),z}}))}update(x,w){const k=Object.assign({id:x},w);return this.requestUpdateGql.mutate({input:k}).pipe((0,v.b)(H=>{var j,z,le,oe;if(null===(le=null===(z=null===(j=H.data)||void 0===j?void 0:j.requestUpdate)||void 0===z?void 0:z.errors)||void 0===le?void 0:le.some($=>"id"===$.key&&$.messages.some(y=>"payment_exists"===y))){const $=this.requestNumber;this.removeCartCookie(),this.router.navigate(["/cart/failure"],{queryParams:{bookingNumber:$,errorMessage:$localize`:@@alert-error-payment-exists:This order can no longer be modified. Please start a new order.`}})}this.updateCartQuantity(null===(oe=H.data.requestUpdate.request)||void 0===oe?void 0:oe.requestItems)}))}}return B.\u0275fac=function(x){return new(x||B)(I.LFG(L.F0),I.LFG(a.N_),I.LFG(m.E4),I.LFG(M.B),I.LFG(i.EW1),I.LFG(a.OL),I.LFG(i.wlI),I.LFG(i.xfR),I.LFG(i.hKL),I.LFG(i.OKD),I.LFG(i.O2v),I.LFG(i.dzZ))},B.\u0275prov=I.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})()},44187:(ze,G,l)=>{"use strict";l.d(G,{I:()=>ae});var a=l(79308),i=l(47910),d=l(84191),p=l(5e3),C=l(69808),f=l(25245),v=l(14623),b=l(21290),m=l(94724),I=l(43336);function L(ge,Ve){if(1&ge&&(p.TgZ(0,"span",8),p._uU(1),p.ynx(2),p.SDv(3,9),p.BQk(),p.qZA()),2&ge){const $e=p.oxw(2);p.xp6(1),p.hij(" ",$e.participants," "),p.xp6(2),p.pQV($e.participants),p.QtT(3)}}function M(ge,Ve){1&ge&&(p.TgZ(0,"span",12),p._uU(1,"|"),p.qZA())}function D(ge,Ve){if(1&ge&&(p.TgZ(0,"span",10),p.YNc(1,M,2,0,"span",11),p._uU(2),p.ALo(3,"isoDate"),p.ALo(4,"strange"),p.qZA()),2&ge){const $e=p.oxw(2);p.xp6(1),p.Q6J("ngIf",$e.date&&$e.participants),p.xp6(1),p.hij(" ",p.Dn7(3,2,p.xi3(4,6,$e.date,"begin"),"P",$e.timeZone)," ")}}function A(ge,Ve){1&ge&&(p.TgZ(0,"span",12),p._uU(1,"|"),p.qZA())}function B(ge,Ve){1&ge&&p.GkF(0)}function R(ge,Ve){if(1&ge&&(p.TgZ(0,"span",13),p.YNc(1,A,2,0,"span",11),p.YNc(2,B,1,0,"ng-container",14),p.qZA()),2&ge){const $e=p.oxw(2),Be=p.MAs(4);p.xp6(1),p.Q6J("ngIf",$e.time),p.xp6(1),p.Q6J("ngTemplateOutlet",Be)}}function x(ge,Ve){if(1&ge&&(p.ynx(0),p.TgZ(1,"div",4),p.ALo(2,"isoDate"),p.ALo(3,"strange"),p.YNc(4,L,4,2,"span",5),p.YNc(5,D,5,9,"span",6),p.YNc(6,R,3,2,"span",7),p.qZA(),p.BQk()),2&ge){const $e=p.oxw();p.xp6(1),p.uIk("data-value",p.Dn7(2,4,p.xi3(3,8,$e.date,"begin"),"yyyy-MM-dd",$e.timeZone)),p.xp6(3),p.Q6J("ngIf",$e.participants),p.xp6(1),p.Q6J("ngIf",$e.date),p.xp6(1),p.Q6J("ngIf",$e.time)}}function w(ge,Ve){if(1&ge&&(p.ynx(0),p.TgZ(1,"div",17)(2,"mat-icon",18),p._uU(3,"event"),p.qZA(),p.TgZ(4,"div",19),p.ALo(5,"isoDate"),p.ALo(6,"strange"),p._uU(7),p.ALo(8,"isoDate"),p.ALo(9,"strange"),p.qZA()(),p._UZ(10,"br"),p.BQk()),2&ge){const $e=p.oxw(2);p.xp6(4),p.uIk("data-value",p.Dn7(5,2,p.xi3(6,6,$e.date,"begin"),"yyyy-MM-dd",$e.timeZone)),p.xp6(3),p.hij(" ",p.Dn7(8,9,p.xi3(9,13,$e.date,"begin"),"EEEE, P",$e.timeZone)," ")}}function k(ge,Ve){1&ge&&p.GkF(0)}function H(ge,Ve){if(1&ge&&(p.ynx(0),p.YNc(1,k,1,0,"ng-container",14),p.BQk()),2&ge){p.oxw(3);const $e=p.MAs(4);p.xp6(1),p.Q6J("ngTemplateOutlet",$e)}}function j(ge,Ve){if(1&ge&&(p.ynx(0),p.TgZ(1,"div",17)(2,"mat-icon",18),p._uU(3,"schedule"),p.qZA(),p.TgZ(4,"span",19),p.YNc(5,H,2,1,"ng-container",20),p.qZA()(),p._UZ(6,"br"),p.BQk()),2&ge){const $e=p.oxw(2),Be=p.MAs(6);p.xp6(5),p.Q6J("ngIf",$e.time)("ngIfElse",Be)}}function z(ge,Ve){if(1&ge&&(p.TgZ(0,"div",17)(1,"mat-icon",18),p._uU(2,"person"),p.qZA(),p.TgZ(3,"span",19),p._uU(4),p.TgZ(5,"span"),p.SDv(6,21),p.qZA()()()),2&ge){const $e=p.oxw(2);p.xp6(4),p.hij(" ",$e.participants," "),p.xp6(2),p.pQV($e.participants),p.QtT(6)}}function le(ge,Ve){if(1&ge&&(p.ynx(0),p.YNc(1,w,11,16,"ng-container",15),p.YNc(2,j,7,2,"ng-container",15),p.YNc(3,z,7,2,"div",16),p.BQk()),2&ge){const $e=p.oxw();p.xp6(1),p.Q6J("ngIf",$e.date),p.xp6(1),p.Q6J("ngIf",$e.time||$e.duration),p.xp6(1),p.Q6J("ngIf",$e.participants)}}function oe(ge,Ve){if(1&ge&&(p.TgZ(0,"span",13),p._uU(1),p.ALo(2,"isoDate"),p.ALo(3,"strange"),p.ALo(4,"isoDate"),p.ALo(5,"strange"),p.qZA()),2&ge){const $e=p.oxw(2);p.xp6(1),p.AsE(" ",p.Dn7(2,2,p.xi3(3,6,$e.time,"begin"),"p",$e.timeZone)," - ",p.Dn7(4,9,p.xi3(5,13,$e.time,"end"),"p",$e.timeZone),"")}}function $(ge,Ve){if(1&ge&&p.YNc(0,oe,6,16,"span",7),2&ge){const $e=p.oxw();p.Q6J("ngIf",$e.time)}}function y(ge,Ve){if(1&ge&&(p.TgZ(0,"span",22),p._uU(1),p.ALo(2,"durationInWordsPipe"),p.qZA()),2&ge){const $e=p.oxw();p.xp6(1),p.hij(" ",p.lcZ(2,1,$e.duration),"")}}let ae=(()=>{class ge{set time($e){if($e){const Be=(0,a.Qc)($e);this._time=(0,i.Z)((0,d.Z)(Be.begin),"HH:mm")!==(0,i.Z)((0,d.Z)(Be.end),"HH:mm")?$e:null}else this._time=$e}get time(){return this._time}}return ge.\u0275fac=function($e){return new($e||ge)},ge.\u0275cmp=p.Xpm({type:ge,selectors:[["go-date"]],inputs:{date:"date",time:"time",duration:"duration",participants:"participants",timeZone:"timeZone",orientation:"orientation"},decls:7,vars:3,consts:function(){let Ve,$e;return Ve=$localize`:@@common.form.label.participants␟daf3ee35671cf28eb9e0cea94e8c7ae28ee19ebd␟9139651444567431613:{VAR_PLURAL, plural, =0 {} one {Person } other {People
              }}`,Ve=p.Zx4(Ve,{VAR_PLURAL:"\ufffd0\ufffd"}),$e=$localize`:@@common.form.label.participants␟08c18ff4e011d6ee64e8017f69dc556a849ca0bd␟7183605456121108650:{VAR_PLURAL, plural, =0 {} one {Person } other {People }}`,$e=p.Zx4($e,{VAR_PLURAL:"\ufffd0\ufffd"}),[[3,"ngSwitch"],[4,"ngSwitchCase"],["timeTemplate",""],["durationTemplate",""],[1,"horizontal-date"],["class","participants",4,"ngIf"],["class","date",4,"ngIf"],["class","time",4,"ngIf"],[1,"participants"],Ve,[1,"date"],["class","step-separator",4,"ngIf"],[1,"step-separator"],[1,"time"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","vertical-date-row",4,"ngIf"],[1,"vertical-date-row"],["mat-list-icon","",1,"event-detail-icons"],[1,"vertical-date"],[4,"ngIf","ngIfElse"],$e,[1,"duration"]]},template:function($e,Be){1&$e&&(p.ynx(0,0),p.YNc(1,x,7,11,"ng-container",1),p.YNc(2,le,4,3,"ng-container",1),p.BQk(),p.YNc(3,$,1,1,"ng-template",null,2,p.W1O),p.YNc(5,y,3,3,"ng-template",null,3,p.W1O)),2&$e&&(p.Q6J("ngSwitch",Be.orientation),p.xp6(1),p.Q6J("ngSwitchCase","horizontal"),p.xp6(1),p.Q6J("ngSwitchCase","vertical"))},directives:[C.RF,C.n9,C.O5,C.tP,f.Hw,v.Nh],pipes:[b.F,m.B,I.c],styles:[".vertical-date-row[_ngcontent-%COMP%]{display:flex}.vertical-date[_ngcontent-%COMP%]{padding-left:1rem}.horizontal-date[_ngcontent-%COMP%]{display:inline}"],changeDetection:0}),ge})()},90655:(ze,G,l)=>{"use strict";l.d(G,{H:()=>p});var a=l(5458),i=l(8929),d=l(5e3);let p=(()=>{class C{constructor(v,b,m){this.configService=v,this.templateRef=b,this.vcRef=m,this.goFeatureFlagReverse=!1,this._destroy$=new i.xQ}ngOnInit(){this.configService.activatedFeatures.subscribe(v=>{let b=v.has(this.goFeatureFlag)&&v.get(this.goFeatureFlag);this.goFeatureFlagReverse&&(b=!b),b?(this.vcRef.clear(),this.vcRef.createEmbeddedView(this.templateRef)):this.vcRef.clear()})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return C.\u0275fac=function(v){return new(v||C)(d.Y36(a.E4),d.Y36(d.Rgc),d.Y36(d.s_b))},C.\u0275dir=d.lG2({type:C,selectors:[["","goFeatureFlag",""]],inputs:{goFeatureFlag:"goFeatureFlag",goFeatureFlagReverse:"goFeatureFlagReverse"}}),C})()},57030:(ze,G,l)=>{"use strict";l.d(G,{q:()=>A});var a=l(5e3),i=l(60231),d=l(69808),p=l(93075),C=l(5505),f=l(77737),v=l(58561),b=l(24071),m=l(66816),I=l(25245);function L(B,R){1&B&&(a.TgZ(0,"span")(1,"mat-icon",7),a._uU(2,"arrow_forward"),a.qZA()())}function M(B,R){if(1&B&&(a.TgZ(0,"div",2)(1,"mat-icon",7),a._uU(2),a.qZA(),a._uU(3),a.qZA()),2&B){const x=a.oxw(2);a.xp6(2),a.Oqu("success"===x.message.label?"info_outline":"error"),a.xp6(1),a.hij(" ",x.message.value," ")}}function D(B,R){if(1&B){const x=a.EpF();a.TgZ(0,"form",1),a.NdJ("ngSubmit",function(){return a.CHM(x),a.oxw().emitDiscountCode()}),a.TgZ(1,"div",2),a._UZ(2,"go-input",3),a.TgZ(3,"button",4),a.YNc(4,L,3,0,"span",5),a.qZA()(),a.YNc(5,M,4,2,"div",6),a.qZA()}if(2&B){const x=a.oxw();a.Q6J("formGroup",x.discountForm),a.xp6(3),a.Q6J("disabled",!x.discountForm.get("discountCode").value),a.xp6(1),a.Q6J("goLoader",x.loading)("goLoaderDiameter","18"),a.xp6(1),a.Q6J("ngIf",x.message)}}let A=(()=>{class B{constructor(x){this.formService=x,this.loading=!1,this.discount=new a.vpe}get message(){return this._message}set message(x){var w;this._message=x,"success"===(null===(w=this._message)||void 0===w?void 0:w.label)&&this.discountForm.reset()}ngOnInit(){this.discountForm=this.formService.toFormGroup([{key:"discountCode"}])}emitDiscountCode(){var x;const w=null===(x=this.discountForm.get("discountCode").value)||void 0===x?void 0:x.trim();(null==w?void 0:w.length)&&!this.loading&&(this.message&&(this.message=null),this.discount.emit(w))}}return B.\u0275fac=function(x){return new(x||B)(a.Y36(i.oL))},B.\u0275cmp=a.Xpm({type:B,selectors:[["go-discount"]],inputs:{message:"message",loading:"loading"},outputs:{discount:"discount"},decls:1,vars:1,consts:function(){let R,x;return R=$localize`:@@common.form.label.discount␟00e7eb6c8609b9783e17600f3f6fe41102fc352f␟7714607871700810844:Discount code`,x=$localize`:@@common.button.discount.apply␟22233d6c271c149ad14d9a021a07b20e1abbcf84␟8313694101817121697:Apply discount`,[["class","discount-form side-padding",3,"formGroup","ngSubmit",4,"ngIf"],[1,"discount-form","side-padding",3,"formGroup","ngSubmit"],[1,"flex"],["fullWidth","","controlName","discountCode","label",R],["type","submit","color","secondary","aria-label",x,1,"apply-btn",3,"disabled"],[4,"goLoader","goLoaderDiameter"],["class","flex",4,"ngIf"],["inline",""]]},template:function(x,w){1&x&&a.YNc(0,D,6,5,"form",0),2&x&&a.Q6J("ngIf",w.discountForm)},directives:[d.O5,p._Y,p.JL,C.$,p.sg,f.s,v.a,b.P,m.j,I.Hw],styles:[".discount-form[_ngcontent-%COMP%]{padding-top:16px}.discount-form[_ngcontent-%COMP%]   div.flex[_ngcontent-%COMP%]{flex-direction:row}.discount-form[_ngcontent-%COMP%]   go-input[_ngcontent-%COMP%]{margin-top:-1px}.discount-form[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:.5rem}.apply-btn[_ngcontent-%COMP%]{height:52px;min-width:52px;background-color:var(--primaryColor);color:#fff;padding:0 16px;text-align:center;align-self:center;margin-left:1rem;margin-top:-1px;border:1px solid transparent;border-radius:4px;text-transform:uppercase;transition:.2s}.apply-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:#fff;transform:scale(1.5)}.apply-btn[_ngcontent-%COMP%]:hover{cursor:pointer}.apply-btn[_ngcontent-%COMP%]:disabled{cursor:not-allowed;background-color:#0000001f;transition:.2s}.apply-btn[_ngcontent-%COMP%]:active:not(:disabled){box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f;transition:.2s}"],changeDetection:0}),B})()},80883:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>le});var a=l(5e3),i=l(34307),d=l(60231),p=l(8929),C=l(7625),f=l(3492),v=l(5458),b=l(47964),m=l(69808),I=l(9224),L=l(93075),M=l(5505),D=l(77737),A=l(58561),B=l(24071),R=l(47423),x=l(66816),w=l(25245);function k(oe,$){1&oe&&(a.TgZ(0,"span"),a.SDv(1,10),a.qZA())}function H(oe,$){if(1&oe&&(a.TgZ(0,"div",11)(1,"mat-icon",12),a._uU(2),a.qZA(),a._uU(3),a.qZA()),2&oe){const y=a.oxw(3);a.xp6(2),a.Oqu("success"===y.status?"info_outline":"error"),a.xp6(1),a.hij(" ",y.message," ")}}function j(oe,$){if(1&oe){const y=a.EpF();a.TgZ(0,"form",3),a.NdJ("ngSubmit",function(){return a.CHM(y),a.oxw(2).submit()}),a.TgZ(1,"div",4),a._UZ(2,"go-input",5),a.TgZ(3,"div",6)(4,"button",7),a.YNc(5,k,2,0,"span",8),a.qZA()()(),a.YNc(6,H,4,2,"div",9),a.qZA()}if(2&oe){const y=a.oxw(2);a.Q6J("formGroup",y.donationForm),a.xp6(2),a.Q6J("suffix",y.currency),a.xp6(2),a.Q6J("disabled",!y.donationForm.get("amount").value),a.xp6(1),a.Q6J("goLoader",y.loading)("goLoaderDiameter","42"),a.xp6(1),a.Q6J("ngIf",y.message)}}function z(oe,$){if(1&oe&&(a.TgZ(0,"mat-card")(1,"mat-card-title"),a._uU(2),a.qZA(),a.TgZ(3,"mat-card-content"),a._UZ(4,"div",1),a.YNc(5,j,7,6,"form",2),a.qZA()()),2&oe){const y=a.oxw();a.xp6(2),a.Oqu(y.donation.nameTranslated),a.xp6(2),a.Q6J("innerHTML",y.donation.descTranslated,a.oJD),a.xp6(1),a.Q6J("ngIf",y.donationForm)}}let le=(()=>{class oe{constructor(y,ae,ge,Ve,$e){this.formService=y,this.checkoutService=ae,this.localeService=ge,this.configService=Ve,this.cd=$e,this.loading=!1,this.change=new a.vpe,this._destroy$=new p.xQ}ngOnInit(){this.configService.config$.pipe((0,C.R)(this._destroy$)).subscribe(y=>{var ae,ge;this.donation=y.settings.donation,this.currency=y.tenant.currency,this.donation.enabled&&(this.donationForm=this.formService.toFormGroup([{key:"amount",validators:[(0,b.lG)(null===(ae=this.donation.product)||void 0===ae?void 0:ae.minPriceValue.amount,this.localeService.localeId,this.configService.config$.getValue().tenant.currency),(0,b.JF)(null===(ge=this.donation.product)||void 0===ge?void 0:ge.maxPriceValue.amount,this.localeService.localeId,this.configService.config$.getValue().tenant.currency)]}]))})}submit(){var y;const ae=null===(y=this.donationForm.get("amount").value)||void 0===y?void 0:y.trim();(null==ae?void 0:ae.length)&&!this.loading&&(this.loading=!0,this.checkoutService.getRequestToken()?this.apply(ae):this.checkoutService.create([]).subscribe(()=>this.apply(ae)))}apply(y){const ae={offerableId:this.donation.product.id,offerableType:"Product",pricings:[{priceOriginId:this.donation.product.id,priceOriginType:"Product",priceValueCents:(0,b.z5)(y),priceValueCurrency:this.currency,quantity:1}]};this.checkoutService.addToOrder(ae).pipe((0,C.R)(this._destroy$)).subscribe(ge=>{this.loading=!1,ge.errors?this.error():(this.change.emit(),this.donationForm.reset(),this.success())})}success(){this.status="success",this.message=$localize`:@@alert.apply-donation.success:Donation applied successfully`,this.cd.markForCheck()}error(){this.status="error",this.message=$localize`:@@alert.apply-donation.error:An error occurred`,this.cd.markForCheck()}}return oe.\u0275fac=function(y){return new(y||oe)(a.Y36(d.oL),a.Y36(f.Z),a.Y36(i.OL),a.Y36(v.E4),a.Y36(a.sBO))},oe.\u0275cmp=a.Xpm({type:oe,selectors:[["go-donation"]],outputs:{change:"change"},decls:1,vars:1,consts:function(){let $,y;return $=$localize`:@@donation.form.label.amount␟dfc2fb58e2a04ed944a4bd80f0a2087775134068␟6533918067030990396:Amount`,y=$localize`:@@donation.button.apply␟7898e09675b07f90ae57701b3bd781556a0d3f22␟89970906091089947:Donate`,[[4,"ngIf"],[3,"innerHTML"],["class","donation-form side-padding",3,"formGroup","ngSubmit",4,"ngIf"],[1,"donation-form","side-padding",3,"formGroup","ngSubmit"],[1,"flex",2,"align-items","center"],["controlName","amount","inputmode","numeric","label",$,3,"suffix"],[1,"",2,"padding-left","12px"],["mat-raised-button","","color","primary","type","submit",3,"disabled"],[4,"goLoader","goLoaderDiameter"],["class","flex",4,"ngIf"],y,[1,"flex"],["inline",""]]},template:function(y,ae){1&y&&a.YNc(0,z,6,3,"mat-card",0),2&y&&a.Q6J("ngIf",ae.donation.enabled)},directives:[m.O5,I.a8,I.n5,I.dn,L._Y,L.JL,M.$,L.sg,D.s,A.a,B.P,R.lW,x.j,w.Hw],styles:[".donation-form[_ngcontent-%COMP%]{padding-bottom:16px}.donation-form[_ngcontent-%COMP%]   div.flex[_ngcontent-%COMP%]{flex-direction:row;justify-content:center}.donation-form[_ngcontent-%COMP%]   go-input[_ngcontent-%COMP%]{margin-top:-1px}"],changeDetection:0}),oe})()},47964:(ze,G,l)=>{"use strict";l.d(G,{JF:()=>p,lG:()=>d,z5:()=>i});const a=(new Intl.NumberFormat).format(1.1).charAt(1);function i(C){const v=C.replace(new RegExp(`[^0-9${a}]`,"g"),"").replace(a,"."),m=parseFloat(v).toFixed(2);return parseInt(m.replace(".",""),10)}function d(C,f,v){const b=C/100;return m=>{const I=m.value;return I&&i(I)<C?{min:{min:new Intl.NumberFormat(f,{style:"currency",currency:v,minimumFractionDigits:C%100==0?0:2}).format(b)}}:null}}function p(C,f,v){const b=C/100;return m=>{const I=m.value;return I&&i(I)>C?{max:{max:new Intl.NumberFormat(f,{style:"currency",currency:v,minimumFractionDigits:C%100==0?0:2}).format(b)}}:null}}},67359:(ze,G,l)=>{"use strict";l.d(G,{z:()=>Ve});var a=l(5e3),i=l(79308),d=l(60231),p=l(5458),C=l(37175),f=l(28115),v=l(35650),b=l(47910),m=l(8929),I=l(80013),L=l(75778),M=l(7625),D=l(93075);const A=[{key:"tag"},{key:"quantity",value:1,validators:[D.kI.min(1)]}],B=[{key:"date"}];var R=l(30325),x=l(5505),w=l(77737),k=l(92544),H=l(24071),j=l(69808),z=l(2619),le=l(36585),oe=l(47423),$=l(67217),y=l(87238),ae=l(25245);function ge($e,Be){if(1&$e&&(a.TgZ(0,"div",1),a._UZ(1,"go-select",14),a.qZA()),2&$e){const Ee=a.oxw();a.xp6(1),a.Q6J("options",Ee.tags)}}let Ve=(()=>{class $e{constructor(Ee,Ie,Re,Ge,it){this.cd=Ee,this.formService=Ie,this.breakpointObserverService=Re,this.route=Ge,this.router=it,this.currentFilter={quantity:1,tag:null,dateRange:null},this.applyFilter=new a.vpe,this.activeMonthChange=new a.vpe,this.defaultBaseFilter={quantity:1,tag:null},this._destroy$=new m.xQ}set tags(Ee){if(this._tags=Ee,this.tagQueryParam){const Ie=this._tags.find(Re=>Re.label.toLocaleLowerCase()===decodeURI(this.tagQueryParam.toLowerCase()));Ie&&this.baseFilterForm.get("tag").setValue(Ie.value)}}get tags(){return this._tags}ngOnInit(){this.tagQueryParam=this.route.snapshot.queryParamMap.get("tag")||(null==localStorage?void 0:localStorage.getItem("ce_filter_tag")),this.isHandset=this.breakpointObserverService.isHandset,this.baseFilterForm=this.formService.toFormGroup(A),this.dateFilterForm=this.formService.toFormGroup(B),this.baseFilterForm.valueChanges.pipe((0,I.b)(500),(0,L.x)((Ee,Ie)=>(0,C.D)(Ee,Ie)),(0,M.R)(this._destroy$)).subscribe(Ee=>{if(this.updateFilterSelections(Ee),this.baseFilterForm.valid||this.dateFilterForm.valid){const Ie=this.tags.find(Re=>Re.value===Ee.tag);Ie?(this.router.navigate([],{queryParams:{tag:encodeURI(Ie.label)},replaceUrl:!0}),null==localStorage||localStorage.setItem("ce_filter_tag",Ie.label)):(this.router.navigate([],{queryParams:{},replaceUrl:!0}),null==localStorage||localStorage.removeItem("ce_filter_tag")),this.applyFilter.emit(this.currentFilter)}}),this.dateFilterForm.valueChanges.pipe((0,M.R)(this._destroy$)).subscribe(Ee=>{if(this.dateFilterForm.valid){if(null!==Ee.date){const Ie=(0,f.Z)(Ee.date),Re=(0,v.Z)(Ie,1);this.currentFilter.dateRange=this.getDateRange(Ie,Re)}else this.currentFilter.dateRange=null;this.applyFilter.emit(this.currentFilter)}}),this.cd.markForCheck()}updateFilterSelections(Ee){const{quantity:Ie,tag:Re}=Ee;Ie!==this.currentFilter.quantity&&(this.currentFilter.quantity=null!=Ie?Ie:1),Re!==this.currentFilter.tag&&(this.currentFilter.tag=null!=Re?Re:null),this.cd.markForCheck()}resetFilter(){const Ee=this.dateFilterForm.get("date");Ee.setValue(null),Ee.clearValidators(),Ee.updateValueAndValidity(),this.currentFilter=Object.assign(Object.assign({},this.defaultBaseFilter),{dateRange:null}),this.baseFilterForm.setValue(this.defaultBaseFilter),this.cd.markForCheck()}getDateRange(Ee,Ie){return new i.e6((0,b.Z)(Ee,"yyyy-MM-dd"),(0,b.Z)(Ie,"yyyy-MM-dd")).toString()}secondsToUTCHour(Ee){return new Date(1e3*Ee).getUTCHours()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return $e.\u0275fac=function(Ee){return new(Ee||$e)(a.Y36(a.sBO),a.Y36(d.oL),a.Y36(p.nn),a.Y36(R.gz),a.Y36(R.F0))},$e.\u0275cmp=a.Xpm({type:$e,selectors:[["go-shop-filter"]],inputs:{dates:"dates",tags:"tags"},outputs:{applyFilter:"applyFilter",activeMonthChange:"activeMonthChange"},decls:17,vars:7,consts:function(){let Be,Ee,Ie,Re,Ge;return Be=$localize`:@@pages.events.list.filter.date.prefix␟6d2f09a3c6456ff1afb1310f5ed86a09f81e55b2␟649888276641976653: on `,Ee=$localize`:@@common.form.label.date␟2f933b826a570836cab04f683970a2d22068458c␟3973931101896534797:Date`,Ie=$localize`:@@pages.events.list.filter.quantity.prefix␟2ece6d939db9540f4c191264cca196bd8e8859cc␟8553460997100418147:for`,Re=$localize`:@@pages.events.list.filter.quantity.suffix␟e8cad258289454311c296a02e0739b7b714e3f09␟4104465056226914375:people`,Ge=$localize`:@@common.form.label.tag␟607de17c2a755f65775881c19e276e7c933bcf94␟1806667489382256324:Category`,[[1,"filter-form","mdc-layout-grid__inner",3,"formGroup"],[1,"mdc-layout-grid__cell--span-3-desktop","mdc-layout-grid__cell--span-2-tablet","mdc-layout-grid__cell--span-4-phone","mdc-layout-grid__inner","strict-grid"],[1,"mdc-layout-grid__cell--span-2-desktop","mdc-layout-grid__cell--span-2-tablet","mdc-layout-grid__cell--span-1-phone"],Be,[1,"mdc-layout-grid__cell--span-8-desktop","mdc-layout-grid__cell--span-6-tablet","mdc-layout-grid__cell--span-6-phone",3,"formGroup"],["controlName","date","suffixIcon","arrow_drop_down","label",Ee,"fullWidth","",3,"dates","touchUi","activeMonthChange"],["class","mdc-layout-grid__cell--span-3-desktop mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-phone mdc-layout-grid__inner strict-grid",4,"ngIf"],[1,"mdc-layout-grid__cell--span-4-desktop","mdc-layout-grid__cell--span-4-tablet","mdc-layout-grid__cell--span-4-phone","mdc-layout-grid__inner","strict-grid"],[1,"mdc-layout-grid__cell--span-2-desktop","mdc-layout-grid__cell--span-1-tablet","mdc-layout-grid__cell--span-1-phone"],Ie,["fullWidth","","controlName","quantity","minQuantity","1",1,"mdc-layout-grid__cell--span-6-desktop","mdc-layout-grid__cell--span-4-tablet","mdc-layout-grid__cell--span-6-phone"],[1,"mdc-layout-grid__cell--span-3-desktop","mdc-layout-grid__cell--span-2-tablet","mdc-layout-grid__cell--span-2-phone"],Re,["mat-icon-button","","matTooltip","Reset filter",1,"mdc-layout-grid__cell--span-1-desktop","mdc-layout-grid__cell--span-1-tablet","mdc-layout-grid__cell--span-1-phone",3,"click"],["controlName","tag","label",Ge,"fullWidth","","showClear","",1,"mdc-layout-grid__cell--span-8-desktop","mdc-layout-grid__cell--span-6-tablet","mdc-layout-grid__cell--span-6-phone",3,"options"]]},template:function(Ee,Ie){1&Ee&&(a.TgZ(0,"form",0)(1,"div",1)(2,"span",2),a.SDv(3,3),a.qZA(),a.TgZ(4,"div",4)(5,"go-datepicker",5),a.NdJ("activeMonthChange",function(Ge){return Ie.activeMonthChange.emit(Ge)}),a.ALo(6,"async"),a.qZA()()(),a.YNc(7,ge,2,1,"div",6),a.TgZ(8,"div",7)(9,"span",8),a.SDv(10,9),a.qZA(),a._UZ(11,"go-quantity",10),a.TgZ(12,"span",11),a.SDv(13,12),a.qZA(),a.TgZ(14,"button",13),a.NdJ("click",function(){return Ie.resetFilter()}),a.TgZ(15,"mat-icon"),a._uU(16,"clear"),a.qZA()()()()),2&Ee&&(a.Q6J("formGroup",Ie.baseFilterForm),a.xp6(4),a.Q6J("formGroup",Ie.dateFilterForm),a.xp6(1),a.Q6J("dates",Ie.dates)("touchUi",a.lcZ(6,5,Ie.isHandset)),a.xp6(2),a.Q6J("ngIf",null==Ie.tags?null:Ie.tags.length))},directives:[D._Y,D.JL,x.$,D.sg,w.s,k.L,H.P,j.O5,z.H,le.D,oe.lW,$.$,y.gM,ae.Hw],pipes:[j.Ov],styles:[".filter-form[_ngcontent-%COMP%]     mat-form-field{padding:0!important}.filter-form[_ngcontent-%COMP%]     mat-form-field .mat-form-field-wrapper{height:2.5rem;display:flex;padding-bottom:0}.filter-form[_ngcontent-%COMP%]     mat-form-field .mat-form-field-wrapper .mat-form-field-infix{border:none}.filter-form[_ngcontent-%COMP%]     mat-form-field .mat-form-field-wrapper .mat-form-field-flex{margin:0!important;padding-top:.35rem;align-items:center;justify-content:center}.filter-form[_ngcontent-%COMP%]     mat-form-field .mat-form-field-wrapper .mat-form-field-suffix{top:0rem}.filter-form[_ngcontent-%COMP%]     mat-form-field .mat-form-field-label{top:1.75rem}@media screen and (max-width: 599px){.filter-form[_ngcontent-%COMP%]     mat-form-field .mat-form-field-label{top:1.836rem}}.filter-form[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{white-space:nowrap}.filter-form[_ngcontent-%COMP%]     .mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{transform:translateY(-.89375em) scale(.75)}.filter-form[_ngcontent-%COMP%]     .mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - .591667em)}.filter-form[_ngcontent-%COMP%]     .mat-select-arrow{color:#797979!important}.filter-form[_ngcontent-%COMP%]     .mat-select-arrow-wrapper{transform:scale(.85)!important}.filter-form[_ngcontent-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-prefix{top:0}.filter-form[_ngcontent-%COMP%]     go-time mat-icon, .filter-form[_ngcontent-%COMP%]     go-select mat-icon, .filter-form[_ngcontent-%COMP%]     go-datepicker mat-icon{color:#797979!important}form[_ngcontent-%COMP%]{padding:0 24px}@media (max-width: 599px){form[_ngcontent-%COMP%]{padding:0 12px}}button[mat-icon-button][_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#797979}.strict-grid[_ngcontent-%COMP%]{align-items:center}.strict-grid[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding:0 5px}.strict-grid[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-of-type{text-align:right}@media (max-width: 599px){.mdc-layout-grid__inner[_ngcontent-%COMP%] > .mdc-layout-grid__inner[_ngcontent-%COMP%]{grid-template-columns:repeat(8,minmax(0,1fr))}}"],changeDetection:0}),$e})()},76400:(ze,G,l)=>{"use strict";l.d(G,{m:()=>a.m});var a=l(45390)},10565:(ze,G,l)=>{"use strict";l.d(G,{A:()=>R});var a=l(95883),i=l(5e3),d=l(30325),p=l(9224),C=l(69808),f=l(44187),v=l(82906);function b(x,w){if(1&x&&i._UZ(0,"img",10),2&x){const k=i.oxw();i.Q6J("src",null==k._item.images[0]?null:k._item.images[0].file.url,i.LSH)("alt",k._item.desc)}}function m(x,w){if(1&x&&(i.ynx(0),i._UZ(1,"go-date",11)(2,"br"),i.BQk()),2&x){const k=i.oxw();i.xp6(1),i.Q6J("date",k._item.span)("time",k._item.span)("timeZone",k._item.timeZone)}}function I(x,w){1&x&&(i.TgZ(0,"span"),i.SDv(1,14),i.qZA())}function L(x,w){if(1&x&&(i.ynx(0),i._uU(1),i.ALo(2,"price"),i.BQk()),2&x){const k=i.oxw(2);i.xp6(1),i.hij(" ",i.xi3(2,1,k.priceRules,"min")," ")}}function M(x,w){if(1&x&&(i.TgZ(0,"span",12)(1,"strong"),i.YNc(2,I,2,0,"span",7),i.YNc(3,L,3,4,"ng-container",13),i.qZA()()),2&x){const k=i.oxw(),H=i.MAs(13);i.xp6(2),i.Q6J("ngIf",k.showPricePrefix),i.xp6(1),i.Q6J("ngIf",!k.isFree)("ngIfElse",H)}}function D(x,w){if(1&x&&(i.ynx(0),i._uU(1),i.ALo(2,"price"),i.BQk()),2&x){const k=i.oxw(2);i.xp6(1),i.hij(" ",i.lcZ(2,1,k._item.pricing.priceValue)," ")}}function A(x,w){if(1&x&&(i.TgZ(0,"span",12)(1,"strong"),i.YNc(2,D,3,3,"ng-container",13),i.qZA()()),2&x){const k=i.oxw(),H=i.MAs(13);i.xp6(2),i.Q6J("ngIf",!k.isFree)("ngIfElse",H)}}function B(x,w){1&x&&(i.TgZ(0,"span",15),i.SDv(1,16),i.qZA())}let R=(()=>{class x{constructor(k,H){this.elemRef=k,this.offersService=H,this.showPricePrefix=!1,this.isFree=!1,this.queryParams={},this.tabIndex=1}set item(k){this._item=k,this.url=this.offersService.buildUrl(k.id,"",k.__typename),this.setPreviewDetails()}setPreviewDetails(){var k;"span"in this._item&&(this.span=this._item.span),"priceRules"in this._item&&(this.priceRules=this._item.priceRules.filter((H,j,z)=>z.findIndex(le=>le.pricing.priceValue.amount===H.pricing.priceValue.amount)===j),this.priceRules.length>1?this.showPricePrefix=!0:this.isFree=0===(null===(k=this.priceRules[0])||void 0===k?void 0:k.pricing.priceValue.amount)),this._item.pricing&&(this.isFree=0===this._item.pricing.priceValue.amount)}focus(){this.elemRef.nativeElement.focus()}}return x.\u0275fac=function(k){return new(k||x)(i.Y36(i.SBq),i.Y36(a.b))},x.\u0275cmp=i.Xpm({type:x,selectors:[["go-preview-card"]],hostVars:1,hostBindings:function(k,H){2&k&&i.Ikx("tabindex",H.tabIndex)},inputs:{queryParams:"queryParams",item:"item"},decls:14,vars:8,consts:function(){let w,k;return w=$localize`:@@common.price.from␟19cecd49046d686211736257fe7f109ae9c4f46a␟23518581647153834:from`,k=$localize`:@@common.price.free␟e00fa966b25537323108d1abcf01d7e1fc56e7d9␟8025432631831167185:free`,[["tabindex","-1",3,"routerLink","queryParams"],[1,"mdc-image-list__image"],["mat-card-image","",3,"src","alt",4,"ngIf"],[1,"mdc-image-list__supporting"],[1,"event-preview-header"],[1,"event-preview-title"],["role","separator",1,"separator","title-separator-mini"],[4,"ngIf"],["class","mat-card-price-text",4,"ngIf"],["free",""],["mat-card-image","",3,"src","alt"],["orientation","horizontal",3,"date","time","timeZone"],[1,"mat-card-price-text"],[4,"ngIf","ngIfElse"],w,[1,"free"],k]},template:function(k,H){1&k&&(i.TgZ(0,"a",0)(1,"mat-card")(2,"div",1),i.YNc(3,b,1,2,"img",2),i.qZA(),i.TgZ(4,"div",3)(5,"mat-card-header",4)(6,"mat-card-title",5),i._uU(7),i.qZA()(),i._UZ(8,"div",6),i.YNc(9,m,3,3,"ng-container",7),i.YNc(10,M,4,3,"span",8),i.YNc(11,A,3,2,"span",8),i.qZA()()(),i.YNc(12,B,2,0,"ng-template",null,9,i.W1O)),2&k&&(i.Q6J("routerLink",H.url)("queryParams",H.queryParams),i.uIk("aria-label",H._item.nameTranslated||H._item.name),i.xp6(3),i.Q6J("ngIf",H._item.images[0]),i.xp6(4),i.hij(" ",H._item.nameTranslated||H._item.name," "),i.xp6(2),i.Q6J("ngIf",H._item.span),i.xp6(1),i.Q6J("ngIf",H.priceRules),i.xp6(1),i.Q6J("ngIf",H._item.pricing))},directives:[d.yS,p.a8,C.O5,p.G2,p.dk,p.n5,f.I],pipes:[v.d],styles:[".free[_ngcontent-%COMP%]{text-transform:uppercase}"],changeDetection:0}),x})()},49889:(ze,G,l)=>{"use strict";l.d(G,{b:()=>f});var a=l(591),i=l(8929),d=l(7625),p=l(80013),C=l(5e3);let f=(()=>{class v{constructor(){this.searchVariables=new a.X({}),this.items=new a.X(null),this.isLoading=new a.X(!1),this.errors=new a.X(null),this._destroy$=new i.xQ,this.handleStoreUpdates=m=>{this.isLoading.next(m.loading),m.data&&this.updateConnection(m.data)}}listQuery(){return this.listQueryGql.watch(this.getQueryVariables())}fetchListQuery(){return this.listQueryGql.fetch(this.getQueryVariables())}detailQuery(m){return this.detailQueryGql.fetch({id:m})}updateConnection(m){const I=m.offers.services,L=m.offers.products;(I||L)&&this.updateList([...I.edges,...L.edges])}updateList(m){const I=m.map(L=>L.node);this.items.next(I)}getQueryVariables(){return Object.assign({},Object.assign(this.searchVariables.getValue(),{first:100,after:this._after}))}setQueryVariables(m){return this._query.refetch(m).then(I=>this.isLoading.next(!1))}onListFormChange(m){this.isLoading.next(!0),this.updateSearchVariables(m)}updateSearchVariables(m){this.searchVariables.next(Object.assign(this.searchVariables.getValue(),m))}_initQueries(){return!this._query&&(this._query=this.listQuery(),this._query.valueChanges.pipe((0,d.R)(this._destroy$),(0,p.b)(100)).subscribe(this.handleStoreUpdates),this.searchVariables.pipe((0,d.R)(this._destroy$)).subscribe(m=>{this.setQueryVariables(m)}),!0)}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return v.\u0275fac=function(m){return new(m||v)},v.\u0275prov=C.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})()},80965:(ze,G,l)=>{"use strict";l.d(G,{E:()=>Je});var a=l(69808),i=l(5e3),d=l(30325),p=l(34307),C=l(55253);
/*!
       * css-vars-ponyfill
       * v2.4.9
       * https://jhildenbiddle.github.io/css-vars-ponyfill/
       * (c) 2018-2024 John Hildenbiddle <http://hildenbiddle.com>
       * MIT license
       */function f(){return f=Object.assign?Object.assign.bind():function(ct){for(var Xe=1;Xe<arguments.length;Xe++){var X=arguments[Xe];for(var xe in X)Object.prototype.hasOwnProperty.call(X,xe)&&(ct[xe]=X[xe])}return ct},f.apply(this,arguments)
/*!
       * get-css-data
       * v2.1.0
       * https://github.com/jhildenbiddle/get-css-data
       * (c) 2018-2022 John Hildenbiddle <http://hildenbiddle.com>
       * MIT license
       */}function v(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},X={mimeType:Xe.mimeType||null,onBeforeSend:Xe.onBeforeSend||Function.prototype,onSuccess:Xe.onSuccess||Function.prototype,onError:Xe.onError||Function.prototype,onComplete:Xe.onComplete||Function.prototype},xe=Array.isArray(ct)?ct:[ct],he=Array.apply(null,Array(xe.length)).map(function(Oe){return null});function N(Oe){var Ye="string"==typeof Oe,vt=Ye&&"<"===Oe.trim().charAt(0);return Ye&&!vt}function F(Oe,Ye){X.onError(Oe,xe[Ye],Ye)}function Y(Oe,Ye){var vt=X.onSuccess(Oe,xe[Ye],Ye);he[Ye]=Oe=!1===vt?"":vt||Oe,-1===he.indexOf(null)&&X.onComplete(he)}var re=document.createElement("a");xe.forEach(function(Oe,Ye){if(re.setAttribute("href",Oe),re.href=String(re.href),Boolean(document.all&&!window.atob)&&re.host.split(":")[0]!==location.host.split(":")[0])if(re.protocol===location.protocol){var hn=new XDomainRequest;hn.open("GET",Oe),hn.timeout=0,hn.onprogress=Function.prototype,hn.ontimeout=Function.prototype,hn.onload=function(){var yn=hn.responseText;N(yn)?Y(yn,Ye):F(hn,Ye)},hn.onerror=function(yn){F(hn,Ye)},setTimeout(function(){hn.send()},0)}else console.warn("Internet Explorer 9 Cross-Origin (CORS) requests must use the same protocol (".concat(Oe,")")),F(null,Ye);else{var gn=new XMLHttpRequest;gn.open("GET",Oe),X.mimeType&&gn.overrideMimeType&&gn.overrideMimeType(X.mimeType),X.onBeforeSend(gn,Oe,Ye),gn.onreadystatechange=function(){if(4===gn.readyState){var yn=gn.responseText;gn.status<400&&N(yn)||0===gn.status&&N(yn)?Y(yn,Ye):F(gn,Ye)}},gn.send()}})}
/**
       * Gets CSS data from <style> and <link> nodes (including @imports), then
       * returns data in order processed by DOM. Allows specifying nodes to
       * include/exclude and filtering CSS data using RegEx.
       *
       * @preserve
       * @param {object}   [options] The options object
       * @param {object}   [options.rootElement=document] Root element to traverse for
       *                   <link> and <style> nodes.
       * @param {string}   [options.include] CSS selector matching <link> and <style>
       *                   nodes to include
       * @param {string}   [options.exclude] CSS selector matching <link> and <style>
       *                   nodes to exclude
       * @param {object}   [options.filter] Regular expression used to filter node CSS
       *                   data. Each block of CSS data is tested against the filter,
       *                   and only matching data is included.
       * @param {boolean}  [options.skipDisabled=true] Determines if disabled
       *                   stylesheets will be skipped while collecting CSS data.
       * @param {boolean}  [options.useCSSOM=false] Determines if CSS data will be
       *                   collected from a stylesheet's runtime values instead of its
       *                   text content. This is required to get accurate CSS data
       *                   when a stylesheet has been modified using the deleteRule()
       *                   or insertRule() methods because these modifications will
       *                   not be reflected in the stylesheet's text content.
       * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
       *                   1) the XHR object, 2) source node reference, and 3) the
       *                   source URL as arguments.
       * @param {function} [options.onSuccess] Callback on each CSS node read. Passes
       *                   1) CSS text, 2) source node reference, and 3) the source
       *                   URL as arguments.
       * @param {function} [options.onError] Callback on each error. Passes 1) the XHR
       *                   object for inspection, 2) soure node reference, and 3) the
       *                   source URL that failed (either a <link> href or an @import)
       *                   as arguments
       * @param {function} [options.onComplete] Callback after all nodes have been
       *                   processed. Passes 1) concatenated CSS text, 2) an array of
       *                   CSS text in DOM order, and 3) an array of nodes in DOM
       *                   order as arguments.
       *
       * @example
       *
       *   getCssData({
       *     rootElement : document,
       *     include     : 'style,link[rel="stylesheet"]',
       *     exclude     : '[href="skip.css"]',
       *     filter      : /red/,
       *     skipDisabled: true,
       *     useCSSOM    : false,
       *     onBeforeSend(xhr, node, url) {
       *       // ...
       *     }
       *     onSuccess(cssText, node, url) {
       *       // ...
       *     }
       *     onError(xhr, node, url) {
       *       // ...
       *     },
       *     onComplete(cssText, cssArray, nodeArray) {
       *       // ...
       *     }
       *   });
       */function b(ct){var Xe_cssComments=/\/\*[\s\S]+?\*\//g,Xe_cssImports=/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g,X={rootElement:ct.rootElement||document,include:ct.include||'style,link[rel="stylesheet"]',exclude:ct.exclude||null,filter:ct.filter||null,skipDisabled:!1!==ct.skipDisabled,useCSSOM:ct.useCSSOM||!1,onBeforeSend:ct.onBeforeSend||Function.prototype,onSuccess:ct.onSuccess||Function.prototype,onError:ct.onError||Function.prototype,onComplete:ct.onComplete||Function.prototype},xe=Array.apply(null,X.rootElement.querySelectorAll(X.include)).filter(function(Oe){return!function I(ct,Xe){return(ct.matches||ct.matchesSelector||ct.webkitMatchesSelector||ct.mozMatchesSelector||ct.msMatchesSelector||ct.oMatchesSelector).call(ct,Xe)}(Oe,X.exclude)}),he=Array.apply(null,Array(xe.length)).map(function(Oe){return null});function N(){if(-1===he.indexOf(null)){he.reduce(function(vt,Vt,Jt){return""===Vt&&vt.push(Jt),vt},[]).reverse().forEach(function(vt){return[xe,he].forEach(function(Vt){return Vt.splice(vt,1)})});var Ye=he.join("");X.onComplete(Ye,he,xe)}}function F(Oe,Ye,vt,Vt){var Jt=X.onSuccess(Oe,vt,Vt);re(Oe=void 0!==Jt&&!1===Boolean(Jt)?"":Jt||Oe,vt,Vt,function(hn,gn){null===he[Ye]&&(gn.forEach(function(yn){return X.onError(yn.xhr,vt,yn.url)}),he[Ye]=!X.filter||X.filter.test(hn)?hn:"",N())})}function Y(Oe,Ye){var vt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],Vt={};return Vt.rules=(Oe.replace(Xe_cssComments,"").match(Xe_cssImports)||[]).filter(function(Jt){return-1===vt.indexOf(Jt)}),Vt.urls=Vt.rules.map(function(Jt){return Jt.replace(Xe_cssImports,"$1")}),Vt.absoluteUrls=Vt.urls.map(function(Jt){return m(Jt,Ye)}),Vt.absoluteRules=Vt.rules.map(function(Jt,hn){var gn=Vt.urls[hn],yn=m(Vt.absoluteUrls[hn],Ye);return Jt.replace(gn,yn)}),Vt}function re(Oe,Ye,vt,Vt){var Jt=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],hn=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],gn=Y(Oe,vt,hn);gn.rules.length?v(gn.absoluteUrls,{onBeforeSend:function(An,Nn,In){X.onBeforeSend(An,Ye,Nn)},onSuccess:function(An,Nn,In){var wn=X.onSuccess(An,Ye,Nn),Wn=Y(An=!1===wn?"":wn||An,Nn,hn);return Wn.rules.forEach(function(Bn,Xt){An=An.replace(Bn,Wn.absoluteRules[Xt])}),An},onError:function(An,Nn,In){Jt.push({xhr:An,url:Nn}),hn.push(gn.rules[In]),re(Oe,Ye,vt,Vt,Jt,hn)},onComplete:function(An){An.forEach(function(Nn,In){Oe=Oe.replace(gn.rules[In],Nn)}),re(Oe,Ye,vt,Vt,Jt,hn)}}):Vt(Oe,Jt)}xe.length?xe.forEach(function(Oe,Ye){var vt=Oe.getAttribute("href"),Vt=Oe.getAttribute("rel"),Jt="link"===Oe.nodeName.toLowerCase()&&vt&&Vt&&-1!==Vt.toLowerCase().indexOf("stylesheet"),hn=!1!==X.skipDisabled&&Oe.disabled,gn="style"===Oe.nodeName.toLowerCase();if(Jt&&!hn)if(-1!==vt.indexOf("data:text/css")){var An=decodeURIComponent(vt.substring(vt.indexOf(",")+1));X.useCSSOM&&(An=Array.apply(null,Oe.sheet.cssRules).map(function(In){return In.cssText}).join("")),F(An,Ye,Oe,location.href)}else v(vt,{mimeType:"text/css",onBeforeSend:function(wn,Wn,Bn){X.onBeforeSend(wn,Oe,Wn)},onSuccess:function(wn,Wn,Bn){var Xt=m(vt);F(wn,Ye,Oe,Xt)},onError:function(wn,Wn,Bn){he[Ye]="",X.onError(wn,Oe,Wn),N()}});else if(gn&&!hn){var Nn=Oe.textContent;X.useCSSOM&&(Nn=Array.apply(null,Oe.sheet.cssRules).map(function(In){return In.cssText}).join("")),F(Nn,Ye,Oe,location.href)}else he[Ye]="",N()}):X.onComplete("",[])}function m(ct,Xe){var X=document.implementation.createHTMLDocument(""),xe=X.createElement("base"),he=X.createElement("a");return X.head.appendChild(xe),X.body.appendChild(he),xe.href=Xe||document.baseURI||(document.querySelector("base")||{}).href||location.href,he.href=ct,he.href}var L=M;function M(ct,Xe,X){ct instanceof RegExp&&(ct=D(ct,X)),Xe instanceof RegExp&&(Xe=D(Xe,X));var xe=A(ct,Xe,X);return xe&&{start:xe[0],end:xe[1],pre:X.slice(0,xe[0]),body:X.slice(xe[0]+ct.length,xe[1]),post:X.slice(xe[1]+Xe.length)}}function D(ct,Xe){var X=Xe.match(ct);return X?X[0]:null}function A(ct,Xe,X){var xe,he,N,F,Y,re=X.indexOf(ct),Oe=X.indexOf(Xe,re+1),Ye=re;if(re>=0&&Oe>0){if(ct===Xe)return[re,Oe];for(xe=[],N=X.length;Ye>=0&&!Y;)Ye==re?(xe.push(Ye),re=X.indexOf(ct,Ye+1)):1==xe.length?Y=[xe.pop(),Oe]:((he=xe.pop())<N&&(N=he,F=Oe),Oe=X.indexOf(Xe,Ye+1)),Ye=re<Oe&&re>=0?re:Oe;xe.length&&(Y=[N,F])}return Y}function B(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},X={preserveStatic:!0,removeComments:!1},xe=f({},X,Xe),he=[];function N(st){throw new Error("CSS parse error: ".concat(st))}function F(st){var Ut=st.exec(ct);if(Ut)return ct=ct.slice(Ut[0].length),Ut}function Y(){return F(/^{\s*/)}function re(){return F(/^}/)}function Oe(){F(/^\s*/)}function Ye(){if(Oe(),"/"===ct[0]&&"*"===ct[1]){for(var st=2;ct[st]&&("*"!==ct[st]||"/"!==ct[st+1]);)st++;if(!ct[st])return N("end of comment is missing");var Ut=ct.slice(2,st);return ct=ct.slice(st+2),{type:"comment",comment:Ut}}}function vt(){for(var Ut,st=[];Ut=Ye();)st.push(Ut);return xe.removeComments?[]:st}function Vt(){for(Oe();"}"===ct[0];)N("extra closing bracket");var st=F(/^(("(?:\\"|[^"])*"|'(?:\\'|[^'])*'|[^{])+)/);if(st){var Ht,Ut=st[0].trim();/\/\*/.test(Ut)&&(Ut=Ut.replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,""));var jt=/["']\w*,\w*["']/.test(Ut);return jt&&(Ut=Ut.replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(Ce){return Ce.replace(/,/g,"\u200c")})),Ht=/,/.test(Ut)?Ut.split(/\s*(?![^(]*\)),\s*/):[Ut],jt&&(Ht=Ht.map(function(Ce){return Ce.replace(/\u200C/g,",")})),Ht}}function Jt(){if("@"===ct[0])return be();F(/^([;\s]*)+/);var st=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ut=F(/^(\*?[-#/*\\\w.]+(\[[0-9a-z_-]+\])?)\s*/);if(Ut){if(Ut=Ut[0].trim(),!F(/^:\s*/))return N("property missing ':'");var Ht=F(/^((?:\/\*.*?\*\/|'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((\s*'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)]*?)\s*\)|[^};])+)/),dn={type:"declaration",property:Ut.replace(st,""),value:Ht?Ht[0].replace(st,"").trim():""};return F(/^[;\s]*/),dn}}function hn(){if(!Y())return N("missing '{'");for(var st,Ut=vt();st=Jt();)Ut.push(st),Ut=Ut.concat(vt());return re()?Ut:N("missing '}'")}function gn(){Oe();for(var Ut,st=[];Ut=F(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)st.push(Ut[1]),F(/^,\s*/);if(st.length)return{type:"keyframe",values:st,declarations:hn()}}function yn(){var st=F(/^@([-\w]+)?keyframes\s*/);if(st){var Ut=st[1];if(!(st=F(/^([-\w]+)\s*/)))return N("@keyframes missing name");var Ht=st[1];if(!Y())return N("@keyframes missing '{'");for(var dn,jt=vt();dn=gn();)jt.push(dn),jt=jt.concat(vt());return re()?{type:"keyframes",name:Ht,vendor:Ut,keyframes:jt}:N("@keyframes missing '}'")}}function An(){if(F(/^@page */))return{type:"page",selectors:Vt()||[],declarations:hn()}}function Nn(){var st=F(/@(top|bottom|left|right)-(left|center|right|top|middle|bottom)-?(corner)?\s*/);if(st)return{type:"page-margin-box",name:"".concat(st[1],"-").concat(st[2])+(st[3]?"-".concat(st[3]):""),declarations:hn()}}function In(){if(F(/^@font-face\s*/))return{type:"font-face",declarations:hn()}}function wn(){var st=F(/^@supports *([^{]+)/);if(st)return{type:"supports",supports:st[1].trim(),rules:_t()}}function Wn(){if(F(/^@host\s*/))return{type:"host",rules:_t()}}function Bn(){var st=F(/^@media([^{]+)*/);if(st)return{type:"media",media:(st[1]||"").trim(),rules:_t()}}function Xt(){var st=F(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(st)return{type:"custom-media",name:st[1].trim(),media:st[2].trim()}}function Pt(){var st=F(/^@([-\w]+)?document *([^{]+)/);if(st)return{type:"document",document:st[2].trim(),vendor:st[1]?st[1].trim():null,rules:_t()}}function ht(){var st=F(/^@(import|charset|namespace)\s*([^;]+);/);if(st)return{type:st[1],name:st[2].trim()}}function be(){if(Oe(),"@"===ct[0]){var st=ht()||In()||Bn()||yn()||wn()||Pt()||Xt()||Wn()||An()||Nn();if(st&&!xe.preserveStatic){return(st.declarations?st.declarations.some(function(dn){return/var\(/.test(dn.value)}):(st.keyframes||st.rules||[]).some(function(dn){return(dn.declarations||[]).some(function(jt){return/var\(/.test(jt.value)})}))?st:{}}return st}}function Ze(){if(!xe.preserveStatic){var st=L("{","}",ct);if(st){var Ut=/:(?:root|host)(?![.:#(])/.test(st.pre)&&/--\S*\s*:/.test(st.body),Ht=/var\(/.test(st.body);if(!Ut&&!Ht)return ct=ct.slice(st.end+1),{}}}var dn=Vt()||[],jt=xe.preserveStatic?hn():hn().filter(function(ce){var Ce=dn.some(function(rt){return/:(?:root|host)(?![.:#(])/.test(rt)})&&/^--\S/.test(ce.property),Qe=/var\(/.test(ce.value);return Ce||Qe});return dn.length||N("selector missing"),{type:"rule",selectors:dn,declarations:jt}}function _t(st){if(!st&&!Y())return N("missing '{'");for(var Ut,Ht=vt();ct.length&&(st||"}"!==ct[0])&&(Ut=be()||Ze());)Ut.type&&Ht.push(Ut),Ht=Ht.concat(vt());return st||re()?Ht:N("missing '}'")}return{type:"stylesheet",stylesheet:{rules:_t(!0),errors:he}}}function R(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},X={parseHost:!1,store:{},onWarning:function(){}},xe=f({},X,Xe),he=new RegExp(":".concat(xe.parseHost?"host":"root","$"));return"string"==typeof ct&&(ct=B(ct,xe)),ct.stylesheet.rules.forEach(function(N){"rule"!==N.type||!N.selectors.some(function(F){return he.test(F)})||N.declarations.forEach(function(F,Y){var re=F.property,Oe=F.value;re&&0===re.indexOf("--")&&(xe.store[re]=Oe)})}),xe.store}function x(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",X=arguments.length>2?arguments[2]:void 0,xe={charset:function(F){return"@charset "+F.name+";"},comment:function(F){return 0===F.comment.indexOf("__CSSVARSPONYFILL")?"/*"+F.comment+"*/":""},"custom-media":function(F){return"@custom-media "+F.name+" "+F.media+";"},declaration:function(F){return F.property+":"+F.value+";"},document:function(F){return"@"+(F.vendor||"")+"document "+F.document+"{"+he(F.rules)+"}"},"font-face":function(F){return"@font-face{"+he(F.declarations)+"}"},host:function(F){return"@host{"+he(F.rules)+"}"},import:function(F){return"@import "+F.name+";"},keyframe:function(F){return F.values.join(",")+"{"+he(F.declarations)+"}"},keyframes:function(F){return"@"+(F.vendor||"")+"keyframes "+F.name+"{"+he(F.keyframes)+"}"},media:function(F){return"@media "+F.media+"{"+he(F.rules)+"}"},namespace:function(F){return"@namespace "+F.name+";"},page:function(F){return"@page "+(F.selectors.length?F.selectors.join(", "):"")+"{"+he(F.declarations)+"}"},"page-margin-box":function(F){return"@"+F.name+"{"+he(F.declarations)+"}"},rule:function(F){var Y=F.declarations;if(Y.length)return F.selectors.join(",")+"{"+he(Y)+"}"},supports:function(F){return"@supports "+F.supports+"{"+he(F.rules)+"}"}};function he(N){for(var F="",Y=0;Y<N.length;Y++){var re=N[Y];X&&X(re);var Oe=xe[re.type](re);Oe&&(F+=Oe,Oe.length&&re.selectors&&(F+=Xe))}return F}return he(ct.stylesheet.rules)}function w(ct,Xe){ct.rules.forEach(function(X){X.rules?w(X,Xe):X.keyframes?X.keyframes.forEach(function(xe){"keyframe"===xe.type&&Xe(xe.declarations,X)}):!X.declarations||Xe(X.declarations,ct)})}function j(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},X={preserveStatic:!0,preserveVars:!1,variables:{},onWarning:function(){}},xe=f({},X,Xe);return"string"==typeof ct&&(ct=B(ct,xe)),w(ct.stylesheet,function(he,N){for(var F=0;F<he.length;F++){var Y=he[F],re=Y.type,Oe=Y.property,Ye=Y.value;if("declaration"===re){if(!xe.preserveVars&&Oe&&0===Oe.indexOf("--")){he.splice(F,1),F--;continue}if(-1!==Ye.indexOf("var(")){var vt=le(Ye,xe);vt!==Y.value&&(vt=z(vt),xe.preserveVars?(he.splice(F,0,{type:re,property:Oe,value:vt}),F++):Y.value=vt)}}}}),x(ct)}function z(ct){return(ct.match(/calc\(([^)]+)\)/g)||[]).forEach(function(X){var xe="calc".concat(X.split("calc").join(""));ct=ct.replace(X,xe)}),ct}function le(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},X=arguments.length>2?arguments[2]:void 0;if(-1===ct.indexOf("var("))return ct;var xe=L("(",")",ct);function he(F){var Y=F.split(",")[0].replace(/[\s\n\t]/g,""),re=(F.match(/(?:\s*,\s*){1}(.*)?/)||[])[1],Oe=Object.prototype.hasOwnProperty.call(Xe.variables,Y)?String(Xe.variables[Y]):void 0,Ye=Oe||(re?String(re):void 0),vt=X||F;return Oe||Xe.onWarning('variable "'.concat(Y,'" is undefined')),Ye&&"undefined"!==Ye&&Ye.length>0?le(Ye,Xe,vt):"var(".concat(vt,")")}if(xe){if("var"===xe.pre.slice(-3)){var N=0===xe.body.trim().length;return N?(Xe.onWarning("var() must contain a non-whitespace string"),ct):xe.pre.slice(0,-3)+he(xe.body)+le(xe.post,Xe)}return xe.pre+"(".concat(le(xe.body,Xe),")")+le(xe.post,Xe)}return-1!==ct.indexOf("var(")&&Xe.onWarning('missing closing ")" in the value "'.concat(ct,'"')),ct}M.range=A;var oe="undefined"!=typeof window,$=oe&&window.CSS&&window.CSS.supports&&window.CSS.supports("(--a: 0)"),y={group:0,job:0},ae={rootElement:oe?document:null,shadowDOM:!1,include:"style,link[rel=stylesheet]",exclude:"",variables:{},onlyLegacy:!0,preserveStatic:!0,preserveVars:!1,silent:!1,updateDOM:!0,updateURLs:!0,watch:null,onBeforeSend:function(){},onError:function(){},onWarning:function(){},onSuccess:function(){},onComplete:function(){},onFinally:function(){}},ge={cssComments:/\/\*[\s\S]+?\*\//g,cssKeyframes:/@(?:-\w*-)?keyframes/,cssMediaQueries:/@media[^{]+\{([\s\S]+?})\s*}/g,cssUrls:/url\((?!['"]?(?:data|http|\/\/):)['"]?([^'")]*)['"]?\)/g,cssVarDeclRules:/(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^}]*})/g,cssVarDecls:/(?:[\s;]*)(-{2}\w[\w-]*)(?:\s*:\s*)([^;]*);/g,cssVarFunc:/var\(\s*--[\w-]/,cssVars:/(?:(?::(?:root|host)(?![.:#(])[\s,]*[^{]*{\s*[^;]*;*\s*)|(?:var\(\s*))(--[^:)]+)(?:\s*[:)])/},Ve={dom:{},job:{},user:{}},$e=!1,Be=null,Ee=0,Ie=null,Re=!1;
/**
       * Fetches, parses, and transforms CSS custom properties from specified
       * <style> and <link> elements into static values, then appends a new <style>
       * element with static values to the DOM to provide CSS custom property
       * compatibility for legacy browsers. Also provides a single interface for
       * live updates of runtime values in both modern and legacy browsers.
       *
       * @preserve
       * @param {object}   [options] Options object
       * @param {object}   [options.rootElement=document] Root element to traverse for
       *                   <link> and <style> nodes
       * @param {boolean}  [options.shadowDOM=false] Determines if shadow DOM <link>
       *                   and <style> nodes will be processed.
       * @param {string}   [options.include="style,link[rel=stylesheet]"] CSS selector
       *                   matching <link re="stylesheet"> and <style> nodes to
       *                   process
       * @param {string}   [options.exclude] CSS selector matching <link
       *                   rel="stylehseet"> and <style> nodes to exclude from those
       *                   matches by options.include
       * @param {object}   [options.variables] A map of custom property name/value
       *                   pairs. Property names can omit or include the leading
       *                   double-hyphen (—), and values specified will override
       *                   previous values
       * @param {boolean}  [options.onlyLegacy=true] Determines if the ponyfill will
       *                   only generate legacy-compatible CSS in browsers that lack
       *                   native support (i.e., legacy browsers)
       * @param {boolean}  [options.preserveStatic=true] Determines if CSS
       *                   declarations that do not reference a custom property will
       *                   be preserved in the transformed CSS
       * @param {boolean}  [options.preserveVars=false] Determines if CSS custom
       *                   property declarations will be preserved in the transformed
       *                   CSS
       * @param {boolean}  [options.silent=false] Determines if warning and error
       *                   messages will be displayed on the console
       * @param {boolean}  [options.updateDOM=true] Determines if the ponyfill will
       *                   update the DOM after processing CSS custom properties
       * @param {boolean}  [options.updateURLs=true] Determines if relative url()
       *                   paths will be converted to absolute urls in external CSS
       * @param {boolean}  [options.watch=false] Determines if a MutationObserver will
       *                   be created that will execute the ponyfill when a <link> or
       *                   <style> DOM mutation is observed
       * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
       *                   1) the XHR object, 2) source node reference, and 3) the
       *                   source URL as arguments
       * @param {function} [options.onError] Callback after a CSS parsing error has
       *                   occurred or an XHR request has failed. Passes 1) an error
       *                   message, and 2) source node reference, 3) xhr, and 4 url as
       *                   arguments.
       * @param {function} [options.onWarning] Callback after each CSS parsing warning
       *                   has occurred. Passes 1) a warning message as an argument.
       * @param {function} [options.onSuccess] Callback after CSS data has been
       *                   collected from each node and before CSS custom properties
       *                   have been transformed. Allows modifying the CSS data before
       *                   it is transformed by returning any string value (or false
       *                   to skip). Passes 1) CSS text, 2) source node reference, and
       *                   3) the source URL as arguments.
       * @param {function} [options.onComplete] Callback after all CSS has been
       *                   processed, legacy-compatible CSS has been generated, and
       *                   (optionally) the DOM has been updated. Passes 1) a CSS
       *                   string with CSS variable values resolved, 2) an array of
       *                   output <style> node references that have been appended to
       *                   the DOM, 3) an object containing all custom properies names
       *                   and values, and 4) the ponyfill execution time in
       *                   milliseconds.
       * @param {function} [options.onFinally] Callback in modern and legacy browsers
       *                   after the ponyfill has finished all tasks. Passes 1) a
       *                   boolean indicating if the last ponyfill call resulted in a
       *                   style change, 2) a boolean indicating if the current
       *                   browser provides native support for CSS custom properties,
       *                   and 3) the ponyfill execution time in milliseconds.
       * @example
       *
       *   cssVars({
       *     rootElement   : document,
       *     shadowDOM     : false,
       *     include       : 'style,link[rel="stylesheet"]',
       *     exclude       : '',
       *     variables     : {},
       *     onlyLegacy    : true,
       *     preserveStatic: true,
       *     preserveVars  : false,
       *     silent        : false,
       *     updateDOM     : true,
       *     updateURLs    : true,
       *     watch         : false,
       *     onBeforeSend(xhr, node, url) {},
       *     onError(message, node, xhr, url) {},
       *     onWarning(message) {},
       *     onSuccess(cssText, node, url) {},
       *     onComplete(cssText, styleNode, cssVariables, benchmark) {},
       *     onFinally(hasChanged, hasNativeSupport, benchmark)
       *   });
       */function Ge(){var ct=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Xe="cssVars(): ",X=f({},ae,ct);function xe(Ye,vt,Vt,Jt){!X.silent&&window.console&&console.error("".concat(Xe).concat(Ye,"\n"),vt),X.onError(Ye,vt,Vt,Jt)}function he(Ye){!X.silent&&window.console&&console.warn("".concat(Xe).concat(Ye)),X.onWarning(Ye)}function N(Ye){X.onFinally(Boolean(Ye),$,pe()-X.__benchmark)}if(oe){if(X.watch)return X.watch=ae.watch,it(X),void Ge(X);if(!1===X.watch&&Be&&(Be.disconnect(),Be=null),!X.__benchmark){if($e===X.rootElement)return void Se(ct);var F=[].slice.call(X.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])'));if(X.__benchmark=pe(),X.exclude=[Be?'[data-cssvars]:not([data-cssvars=""])':'[data-cssvars="out"]',"link[disabled]:not([data-cssvars])",X.exclude].filter(function(Ye){return Ye}).join(","),X.variables=U(X.variables),F.forEach(function(Ye){var vt="style"===Ye.nodeName.toLowerCase()&&Ye.__cssVars.text;vt&&vt&&Ye.textContent!==Ye.__cssVars.text&&(Ye.sheet&&(Ye.sheet.disabled=!1),Ye.setAttribute("data-cssvars",""))}),!Be){var Y=[].slice.call(X.rootElement.querySelectorAll('[data-cssvars="out"]'));Y.forEach(function(Ye){var vt=Ye.getAttribute("data-cssvars-group");vt&&X.rootElement.querySelector('[data-cssvars="src"][data-cssvars-group="'.concat(vt,'"]'))||Ye.parentNode.removeChild(Ye)}),Ee&&F.length<Ee&&(Ee=F.length,Ve.dom={})}}if("loading"!==document.readyState)if($&&X.onlyLegacy){var re=!1;if(X.updateDOM){var Oe=X.rootElement.host||(X.rootElement===document?document.documentElement:X.rootElement);Object.keys(X.variables).forEach(function(Ye){var vt=X.variables[Ye];re=re||vt!==getComputedStyle(Oe).getPropertyValue(Ye),Oe.style.setProperty(Ye,vt)})}N(re)}else!Re&&(X.shadowDOM||X.rootElement.shadowRoot||X.rootElement.host)?b({rootElement:ae.rootElement,include:ae.include,exclude:X.exclude,skipDisabled:!1,onSuccess:function(vt,Vt,Jt){return!((Vt.sheet||{}).disabled&&!Vt.__cssVars)&&((vt=((vt=vt.replace(ge.cssComments,"").replace(ge.cssMediaQueries,"")).match(ge.cssVarDeclRules)||[]).join(""))||!1)},onComplete:function(vt,Vt,Jt){R(vt,{store:Ve.dom,onWarning:he}),Re=!0,Ge(X)}}):($e=X.rootElement,b({rootElement:X.rootElement,include:X.include,exclude:X.exclude,skipDisabled:!1,onBeforeSend:X.onBeforeSend,onError:function(vt,Vt,Jt){var hn=vt.responseURL||fe(Jt,location.href),gn=vt.statusText?"(".concat(vt.statusText,")"):"Unspecified Error"+(0===vt.status?" (possibly CORS related)":"");xe("CSS XHR Error: ".concat(hn," ").concat(vt.status," ").concat(gn),Vt,vt,hn)},onSuccess:function(vt,Vt,Jt){if((Vt.sheet||{}).disabled&&!Vt.__cssVars)return!1;var gn="link"===Vt.nodeName.toLowerCase(),yn="style"===Vt.nodeName.toLowerCase()&&vt!==Vt.textContent,An=X.onSuccess(vt,Vt,Jt);return vt=void 0!==An&&!1===Boolean(An)?"":An||vt,X.updateURLs&&(gn||yn)&&(vt=V(vt,Jt)),vt},onComplete:function(vt,Vt){var Jt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],hn=f({},Ve.dom,Ve.user);if(Ve.job={},Jt.forEach(function(Xt,Pt){var ht=Vt[Pt];if(Xt.__cssVars=Xt.__cssVars||{},Xt.__cssVars.text=ht,ge.cssVars.test(ht))try{var be=B(ht,{preserveStatic:X.preserveStatic,removeComments:!0});R(be,{parseHost:Boolean(X.rootElement.host),store:Ve.dom,onWarning:he}),Xt.__cssVars.tree=be}catch(Ze){xe(Ze.message,Xt)}}),f(Ve.job,Ve.dom),X.updateDOM?(f(Ve.user,X.variables),f(Ve.job,Ve.user)):(f(Ve.job,Ve.user,X.variables),f(hn,X.variables)),y.job>0&&Boolean(Object.keys(Ve.job).length>Object.keys(hn).length||Boolean(Object.keys(hn).length&&Object.keys(Ve.job).some(function(Xt){return Ve.job[Xt]!==hn[Xt]}))))He(X.rootElement),Ge(X);else{var yn=[],An=[],Nn=!1;if(X.updateDOM&&y.job++,Jt.forEach(function(Xt,Pt){var ht=!Xt.__cssVars.tree;if(Xt.__cssVars.tree)try{j(Xt.__cssVars.tree,f({},X,{variables:Ve.job,onWarning:he}));var be=x(Xt.__cssVars.tree);if(X.updateDOM){var _t=ge.cssVarFunc.test(Vt[Pt]);if(Xt.getAttribute("data-cssvars")||Xt.setAttribute("data-cssvars","src"),be.length&&_t){var st=Xt.getAttribute("data-cssvars-group")||++y.group,Ut=be.replace(/\s/g,""),Ht=X.rootElement.querySelector('[data-cssvars="out"][data-cssvars-group="'.concat(st,'"]'))||document.createElement("style");Nn=Nn||ge.cssKeyframes.test(be),X.preserveStatic&&Xt.sheet&&(Xt.sheet.disabled=!0),Ht.hasAttribute("data-cssvars")||Ht.setAttribute("data-cssvars","out"),Ut===Xt.textContent.replace(/\s/g,"")?(ht=!0,Ht&&Ht.parentNode&&(Xt.removeAttribute("data-cssvars-group"),Ht.parentNode.removeChild(Ht))):Ut!==Ht.textContent.replace(/\s/g,"")&&([Xt,Ht].forEach(function(dn){dn.setAttribute("data-cssvars-job",y.job),dn.setAttribute("data-cssvars-group",st)}),Ht.textContent=be,yn.push(be),An.push(Ht),Ht.parentNode||Xt.parentNode.insertBefore(Ht,Xt.nextSibling))}}else Xt.textContent.replace(/\s/g,"")!==be&&yn.push(be)}catch(dn){xe(dn.message,Xt)}ht&&Xt.setAttribute("data-cssvars","skip"),Xt.hasAttribute("data-cssvars-job")||Xt.setAttribute("data-cssvars-job",y.job)}),Ee=X.rootElement.querySelectorAll('[data-cssvars]:not([data-cssvars="out"])').length,X.shadowDOM)for(var Wn,In=[].concat(X.rootElement).concat([].slice.call(X.rootElement.querySelectorAll("*"))),wn=0;Wn=In[wn];++wn)if(Wn.shadowRoot&&Wn.shadowRoot.querySelector("style")){var Bn=f({},X,{rootElement:Wn.shadowRoot});Ge(Bn)}X.updateDOM&&Nn&&Z(X.rootElement),$e=!1,X.onComplete(yn.join(""),An,JSON.parse(JSON.stringify(Ve.job)),pe()-X.__benchmark),N(An.length)}}}));else document.addEventListener("DOMContentLoaded",function Ye(vt){Ge(ct),document.removeEventListener("DOMContentLoaded",Ye)})}}function it(ct){function Xe(re){return X(re)&&re.hasAttribute("disabled")||(re.sheet||{}).disabled}function X(re){return"link"===re.nodeName.toLowerCase()&&-1!==(re.getAttribute("rel")||"").indexOf("stylesheet")}function xe(re){return"style"===re.nodeName.toLowerCase()}!window.MutationObserver||(Be&&(Be.disconnect(),Be=null),(Be=new MutationObserver(function(re){var Oe=re.some(function(Ye){return function he(re){var Oe=!1;if("attributes"===re.type&&X(re.target)&&!Xe(re.target)){var Ye="disabled"===re.attributeName,vt="href"===re.attributeName,Vt="skip"===re.target.getAttribute("data-cssvars"),Jt="src"===re.target.getAttribute("data-cssvars");Ye?Oe=!Vt&&!Jt:vt&&(Vt?re.target.setAttribute("data-cssvars",""):Jt&&He(ct.rootElement,!0),Oe=!0)}return Oe}(Ye)||function N(re){var Oe=!1;if("childList"===re.type){var Ye=xe(re.target),vt="out"===re.target.getAttribute("data-cssvars");Oe=Ye&&!vt}return Oe}(Ye)||function F(re){var Oe=!1;return"childList"===re.type&&(Oe=[].slice.call(re.addedNodes).some(function(Ye){var Vt=1===Ye.nodeType&&Ye.hasAttribute("data-cssvars"),Jt=xe(Ye)&&ge.cssVars.test(Ye.textContent);return!Vt&&(X(Ye)||Jt)&&!Xe(Ye)})),Oe}(Ye)||function Y(re){var Oe=!1;return"childList"===re.type&&(Oe=[].slice.call(re.removedNodes).some(function(Ye){var vt=1===Ye.nodeType,Vt=vt&&"out"===Ye.getAttribute("data-cssvars"),Jt=vt&&"src"===Ye.getAttribute("data-cssvars"),hn=Jt;if(Jt||Vt){var gn=Ye.getAttribute("data-cssvars-group"),yn=ct.rootElement.querySelector('[data-cssvars-group="'.concat(gn,'"]'));Jt&&He(ct.rootElement,!0),yn&&yn.parentNode.removeChild(yn)}return hn})),Oe}(Ye)});Oe&&Ge(ct)})).observe(document.documentElement,{attributes:!0,attributeFilter:["disabled","href"],childList:!0,subtree:!0}))}function Se(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;clearTimeout(Ie),Ie=setTimeout(function(){ct.__benchmark=null,Ge(ct)},Xe)}function Z(ct){var Xe=["animation-name","-moz-animation-name","-webkit-animation-name"].filter(function(Vt){return getComputedStyle(document.body)[Vt]})[0];if(Xe){for(var X=[].slice.call(ct.querySelectorAll("*")),xe=[],he="__CSSVARSPONYFILL-KEYFRAMES__",N=0,F=X.length;N<F;N++){var Y=X[N];"none"!==getComputedStyle(Y)[Xe]&&(Y.style[Xe]+=he,xe.push(Y))}document;for(var Oe=0,Ye=xe.length;Oe<Ye;Oe++){var vt=xe[Oe].style;vt[Xe]=vt[Xe].replace(he,"")}}}function V(ct,Xe){return(ct.replace(ge.cssComments,"").match(ge.cssUrls)||[]).forEach(function(xe){var he=xe.replace(ge.cssUrls,"$1"),N=fe(he,Xe);ct=ct.replace(xe,xe.replace(he,N))}),ct}function U(){var ct=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Xe=/^-{2}/;return Object.keys(ct).reduce(function(X,xe){return X[Xe.test(xe)?xe:"--".concat(xe.replace(/^-+/,""))]=ct[xe],X},{})}function fe(ct){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,X=document.implementation.createHTMLDocument(""),xe=X.createElement("base"),he=X.createElement("a");return X.head.appendChild(xe),X.body.appendChild(he),xe.href=Xe,he.href=ct,he.href}function pe(){return oe&&(window.performance||{}).now?window.performance.now():(new Date).getTime()}function He(ct){var Xe=arguments.length>1&&void 0!==arguments[1]&&arguments[1],X=[].slice.call(ct.querySelectorAll('[data-cssvars="skip"],[data-cssvars="src"]'));X.forEach(function(xe){return xe.setAttribute("data-cssvars","")}),Xe&&(Ve.dom={})}Ge.reset=function(){for(var ct in y.job=0,y.group=0,$e=!1,Be&&(Be.disconnect(),Be=null),Ee=0,Ie=null,Re=!1,Ve)Ve[ct]={}};var et=l(591),de=l(21086),lt=l(22868),St=l(24850),Qt=l(92198),gt=l(87224),yt=l(22313);let Je=(()=>{class ct{constructor(X,xe,he,N,F){this.shopQuery=X,this.title=he,this.localeService=N,this.router=F,this.config$=new et.X(null),this.activatedFeatures=new et.X(new Map),this.platformId=xe}getSettings(){return(0,a.NF)(this.platformId)?this.shopQuery.fetch({extension:(0,p.Zd)()}).pipe((0,lt.b)(X=>{var xe,he,N;if(X.data&&X.data.shop){const F=JSON.parse(JSON.stringify(X.data.shop));this.localeService.timeZone=F.tenant.timeZone,this.trackVisit(F.tenant.internalDomainName),this.setMeta(F),(null===(N=null===(he=null===(xe=X.data.shop.tenant)||void 0===xe?void 0:xe.settings)||void 0===he?void 0:he.bloyal)||void 0===N?void 0:N.enabled)&&this.appendBLoyalScript(X.data.shop.tenant.settings.bloyal.loginDomain);try{this.setCustom(F.settings.custom)}catch(Y){console.error(Y)}this.setTheme(F.settings.ci,F.banners),this.initActivatedFeatures(F.tenant),F.tenant.website&&(F.tenant.website=(0,p.HH)(F.tenant.website)?F.tenant.website:`https://${F.tenant.website}`,(0,p.HH)(F.tenant.website)||(F.tenant.website=null)),this.config$.next(F)}}),(0,St.U)(X=>X.data?X.data.shop:null)):(0,de.of)(null)}trackVisit(X){if("undefined"!=typeof navigator){const xe=1===parseInt(navigator.msDoNotTrack||window.doNotTrack||navigator.doNotTrack,10);window.sa_event_loaded&&!xe&&sa_event(`${X}_visit`)}}setMeta(X){this.title.setTitle($localize`:@@pages.meta.title:Online shop - ${X.tenant.name}:tenantName:`)}appendBLoyalScript(X){const xe=document.createElement("script");xe.setAttribute("type","text/javascript"),xe.src="https://snippets.bloyal.io/bLoyalSnippetLoader.js",xe.setAttribute("data-bloyal-login-domain",X),document.body.appendChild(xe)}appendScript(X){const xe=document.createElement("script");xe.setAttribute("type","text/javascript"),xe.async=!0,xe.defer=!0;const he=document.createElement("div");he.innerHTML=X;const N=Array.from(he.childNodes);N.find(F=>"NOSCRIPT"===F.nodeName)||(N.find(F=>"SCRIPT"===F.nodeName)?N.forEach(F=>{if("SCRIPT"===F.nodeName)if("src"in F&&F.src){const Y=document.createElement("script");Y.setAttribute("type","text/javascript"),Y.src=F.src;for(let re=F.attributes.length-1;re>-1;--re){const Oe=F.attributes[re];Y.setAttribute(Oe.name,Oe.value)}document.body.appendChild(Y)}else xe.textContent+=F.textContent}):xe.textContent=X,document.body.appendChild(xe))}setCustom(X){X.html.filter(xe=>xe.position===C.MDh.Head).forEach(xe=>this.appendScript(xe.source)),this.router.events.pipe((0,Qt.h)(xe=>xe instanceof d.m2),(0,gt.P)()).subscribe(()=>{setTimeout(()=>{X.html.filter(xe=>xe.position===C.MDh.Body).forEach(xe=>this.appendScript(xe.source))},0)}),X.css.forEach(xe=>{const he=document.createElement("style");he.setAttribute("type","text/css"),he.textContent=xe.source,document.body.appendChild(he)})}setTheme(X,xe){var he,N,F;if((0,a.NF)(this.platformId)){this.loadFont("fontRegular",null===(he=X.fontRegular)||void 0===he?void 0:he.file.url);const Y={primaryColor:X.colorPrimary,accentColor:X.colorAccent,buttonSpinnerColor:X.colorPrimary===X.colorAccent?"#ffffff":X.colorAccent,fontRegular:(null===(N=X.fontRegular)||void 0===N?void 0:N.file.url)?"fontRegular":"Museo Sans"};(null===(F=xe[0])||void 0===F?void 0:F.showBanner)&&(Y.bannerBackgroundColor=xe[0].backgroundColor,Y.bannerTextColor=xe[0].foregroundTextColor),Ge({variables:Y})}}loadFont(X,xe){X&&xe&&new FontFace(X,`url(${xe})`).load().then(function(N){document.fonts.add(N)}).catch(function(){})}initActivatedFeatures(X){var xe;let he=null===(xe=X.featureFlags)||void 0===xe?void 0:xe.length;const N=this.activatedFeatures.getValue();for(;he--;)N.set(X.featureFlags[he],!0);N.set("shipping",!!X.shippingArticle),this.activatedFeatures.next(N)}}return ct.\u0275fac=function(X){return new(X||ct)(i.LFG(C.k6I),i.LFG(i.Lbi),i.LFG(yt.Dx),i.LFG(p.OL),i.LFG(d.F0))},ct.\u0275prov=i.Yz7({token:ct,factory:ct.\u0275fac,providedIn:"root"}),ct})()},5458:(ze,G,l)=>{"use strict";l.d(G,{bQ:()=>i.b,nn:()=>m,E4:()=>I.E,oD:()=>a.o});var a=l(5079),i=l(49889),d=l(8929),p=l(591),C=l(95113),f=l(7625),v=l(24850),b=l(5e3);let m=(()=>{class L{constructor(D){this.breakpointObserver=D,this._destroy$=new d.xQ,this.isHandset=new p.X(!1),this.initObservers()}initObservers(){this.breakpointObserver.observe([C.u3.Handset]).pipe((0,f.R)(this._destroy$),(0,v.U)(D=>D.matches)).subscribe(D=>{this.isHandset.next(D)})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return L.\u0275fac=function(D){return new(D||L)(b.LFG(C.Yg))},L.\u0275prov=b.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();var I=l(80965)},5079:(ze,G,l)=>{"use strict";l.d(G,{o:()=>C});var a=l(55253),i=l(591),d=l(49889),p=l(5e3);let C=(()=>{class f extends d.b{constructor(b){super(),this.listQueryGql=b,this.showSearchResults=new i.X(!1),this.focusSearchBox=new i.X(!1)}}return f.\u0275fac=function(b){return new(b||f)(p.LFG(a.$Z4))},f.\u0275prov=p.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},45390:(ze,G,l)=>{"use strict";l.d(G,{m:()=>A});var a=l(30325),i=l(34307),d=l(60231),M=(l(7537),l(44187),l(90655),l(57030),l(67359),l(10565),l(10039),l(80883),l(5e3));let A=(()=>{class B{}return B.\u0275fac=function(x){return new(x||B)},B.\u0275mod=M.oAB({type:B}),B.\u0275inj=M.cJS({imports:[[i.wV,d.Z5,a.Bz]]}),B})()},10039:(ze,G,l)=>{"use strict";l.d(G,{s:()=>x});var a=l(5e3),i=l(60231),d=l(55253),p=l(3492),C=l(30325),f=l(69808),v=l(93075),b=l(5505),m=l(77737),I=l(58561),L=l(24071),M=l(66816),D=l(25245);function A(w,k){1&w&&(a.TgZ(0,"span")(1,"mat-icon",7),a._uU(2,"arrow_forward"),a.qZA()())}function B(w,k){if(1&w&&(a.TgZ(0,"div",2)(1,"mat-icon",7),a._uU(2),a.qZA(),a._uU(3),a.qZA()),2&w){const H=a.oxw(2);a.xp6(2),a.Oqu("success"===H.status?"info_outline":"error"),a.xp6(1),a.hij(" ",H.message," ")}}function R(w,k){if(1&w){const H=a.EpF();a.TgZ(0,"form",1),a.NdJ("ngSubmit",function(){return a.CHM(H),a.oxw().submit()}),a.TgZ(1,"div",2),a._UZ(2,"go-input",3),a.TgZ(3,"button",4),a.YNc(4,A,3,0,"span",5),a.qZA()(),a.YNc(5,B,4,2,"div",6),a.qZA()}if(2&w){const H=a.oxw();a.Q6J("formGroup",H.voucherForm),a.xp6(3),a.Q6J("disabled",!H.voucherForm.get("voucherCode").value),a.xp6(1),a.Q6J("goLoader",H.loading)("goLoaderDiameter","18"),a.xp6(1),a.Q6J("ngIf",H.message)}}let x=(()=>{class w{constructor(H,j,z,le,oe,$){this.formService=H,this.checkService=j,this.applyVoucher=z,this.router=le,this.route=oe,this.cd=$,this.loading=!1,this.vouchers=new a.vpe}ngOnInit(){this.voucherForm=this.formService.toFormGroup([{key:"voucherCode"}]),this.route.snapshot.queryParamMap.get("voucherSuccess")&&this.success(),this.route.snapshot.queryParamMap.get("voucherError")&&this.error()}submit(){var H;const j=null===(H=this.voucherForm.get("voucherCode").value)||void 0===H?void 0:H.trim();(null==j?void 0:j.length)&&!this.loading&&(this.loading=!0,this.checkService.getRequestToken()?this.apply(j):this.checkService.create([]).subscribe(()=>this.apply(j)))}apply(H){this.applyVoucher.mutate({input:{id:this.checkService.getRequestToken(),voucherNumber:H}}).subscribe(j=>{var z,le,oe,$,y;this.loading=!1,(null===(le=null===(z=null==j?void 0:j.data)||void 0===z?void 0:z.requestApplyVoucher)||void 0===le?void 0:le.request)?(this.vouchers.emit({vouchers:j.data.requestApplyVoucher.request.vouchers,totalVouchers:j.data.requestApplyVoucher.request.totalVouchers,totalGrossValue:j.data.requestApplyVoucher.request.totalGrossValue}),this.voucherForm.reset(),this.success()):(null===($=null===(oe=null==j?void 0:j.data)||void 0===oe?void 0:oe.requestApplyVoucher)||void 0===$?void 0:$.errors.some(ae=>"requestItem"===ae.key&&ae.messages.some(ge=>"blank")))&&(null===(y=j.data.requestApplyVoucher.followUpProducts)||void 0===y?void 0:y.length)?j.data.requestApplyVoucher.followUpProducts.length>1?this.router.navigate(["/products"],{queryParams:{ids:j.data.requestApplyVoucher.followUpProducts.map(ae=>ae.id),voucherNumber:H}}):this.router.navigate(["/offers","p"+j.data.requestApplyVoucher.followUpProducts[0].id],{queryParams:{voucherNumber:H}}):this.error(),this.cd.markForCheck(),console.log(j)})}success(){this.status="success",this.message=$localize`:@@alert.apply-voucher.success:Voucher applied successfully`,this.cd.markForCheck()}error(){this.status="error",this.message=$localize`:@@alert.apply-voucher.error:An error occurred`,this.cd.markForCheck()}}return w.\u0275fac=function(H){return new(H||w)(a.Y36(i.oL),a.Y36(p.Z),a.Y36(d.Wvi),a.Y36(C.F0),a.Y36(C.gz),a.Y36(a.sBO))},w.\u0275cmp=a.Xpm({type:w,selectors:[["go-voucher"]],outputs:{vouchers:"vouchers"},decls:1,vars:1,consts:function(){let k,H;return k=$localize`:@@common.form.label.voucher␟62af01add042c283dd8ee56eaddbaa5c8a6de6bb␟7530673475741169159:Voucher code`,H=$localize`:@@common.button.voucher.apply␟0adbf09fe8488df237558f5abd14d9ece6630f22␟5368396212610196149:Apply voucher`,[["class","voucher-form side-padding",3,"formGroup","ngSubmit",4,"ngIf"],[1,"voucher-form","side-padding",3,"formGroup","ngSubmit"],[1,"flex"],["controlName","voucherCode","label",k],["type","submit","color","secondary","aria-label",H,1,"apply-btn",3,"disabled"],[4,"goLoader","goLoaderDiameter"],["class","flex",4,"ngIf"],["inline",""]]},template:function(H,j){1&H&&a.YNc(0,R,6,5,"form",0),2&H&&a.Q6J("ngIf",j.voucherForm)},directives:[f.O5,v._Y,v.JL,b.$,v.sg,m.s,I.a,L.P,M.j,D.Hw],styles:[".voucher-form[_ngcontent-%COMP%]{padding-bottom:16px}.voucher-form[_ngcontent-%COMP%]   div.flex[_ngcontent-%COMP%]{flex-direction:row;justify-content:center}.voucher-form[_ngcontent-%COMP%]   go-input[_ngcontent-%COMP%]{margin-top:-1px}.voucher-form[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-right:.5rem}.apply-btn[_ngcontent-%COMP%]{height:52px;min-width:52px;background-color:var(--primaryColor);color:#fff;padding:0 16px;text-align:center;align-self:center;margin-left:1rem;margin-top:-1px;border:1px solid transparent;border-radius:4px;text-transform:uppercase;transition:.2s}.apply-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:#fff;transform:scale(1.5)}.apply-btn[_ngcontent-%COMP%]:hover{cursor:pointer}.apply-btn[_ngcontent-%COMP%]:disabled{cursor:not-allowed;background-color:#0000001f;transition:.2s}.apply-btn[_ngcontent-%COMP%]:active:not(:disabled){box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f;transition:.2s}"],changeDetection:0}),w})()},77990:(ze,G,l)=>{"use strict";l.d(G,{N:()=>C});const i="undefined"!=typeof window?window.location.hostname.split(".").slice(2).join("."):"",C=Object.assign(Object.assign({},{production:!1,version:"localhost",service:"go-shop",debounceTime:140,autoCompletePageLength:50,defaultOffersMonthRange:3,domain:{api:`api.${i}`},errorReporting:{key:"1088ce4321734c6986294600559c2112",ssrKey:"3745940e5b7f405abc1d91d8f43bbf29"}}),{production:!0,version:"{version}",errorReporting:{key:"fb4d2065bf0545c2a3924967ed222133",ssrKey:"3745940e5b7f405abc1d91d8f43bbf29"}})},47367:(ze,G,l)=>{"use strict";l.d(G,{$Z4:()=>qe,$yk:()=>Xi,BHv:()=>_e,BeZ:()=>Ct,DX6:()=>$i,EW1:()=>jr,F5l:()=>er,Gqc:()=>kn,Izj:()=>tn,JA$:()=>nn,MDh:()=>$,Nn3:()=>mn,O2v:()=>yo,OKD:()=>mr,SNk:()=>no,Sy5:()=>ti,TD3:()=>lt,Tb0:()=>J,UFn:()=>St,UUc:()=>Me,V0k:()=>pt,Vbd:()=>vn,Wvi:()=>Hs,XJ0:()=>ur,XPl:()=>Ur,YdK:()=>ls,YtG:()=>Rt,ZPm:()=>C,Zj7:()=>kr,_Od:()=>Mt,ab2:()=>O,b3d:()=>Ke,dFW:()=>Ft,dx8:()=>it,dzZ:()=>vo,fIW:()=>V,hKL:()=>Ci,ha1:()=>Yi,iLu:()=>ve,iy5:()=>Tt,k6I:()=>De,l2y:()=>ut,moe:()=>It,nqC:()=>Fe,o8q:()=>ae,pMq:()=>E,qKk:()=>ye,tNW:()=>He,uAL:()=>Re,vAZ:()=>cn,vs9:()=>cr,wlI:()=>ds,xfR:()=>Jn,y6S:()=>On});var a=l(57112),i=l(35931),d=l(5e3);const C={possibleTypes:{ActsAsAccessibleWithToken:["Contact","Request"],ActsAsEventable:["Admission","Event","EventTemplate"],ActsAsInvoice:["Invoice","InvoiceNew"],ActsAsPublishable:["EventDesc","Product","VoucherConfiguration"],ActsAsRequirement:["AgentRequirement","MaterialRequirement","PlaceRequirement","Requirement"],ActsAsResource:["Agent","Material","Place","Resource"],ActsAsResourceEventable:["Event","EventTemplate"],ActsAsTaggable:["EventDesc","VoucherConfiguration"],ActsAsTenantable:["Account","AccountTransaction","Address","Admission","AgentConfiguration","AgentRequirement","AgentSpan","AppliedVoucher","Audit","AuditableCommHistory","AuditableRequest","AvailabilityRuleSet","Capacity","Configuration","Contact","Customer","DataExport","DeliveryNote","DeliveryNoteItem","Domain","Email","EmailTemplate","Event","EventDesc","EventInstance","EventTemplate","InvoiceItem","MaterialConfiguration","MaterialRequirement","MaterialSpan","PassbookTemplate","PlaceConfiguration","PlaceRequirement","PlaceSpan","PotentialEvent","Quota","Receipt","ReceiptItem","RecurrenceRuleSet","Request","Requirement","RequirementSpan","Reservation","ResourceRequirementInquiry","SubInvoiceItem","TimePattern","Voucher","VoucherConfiguration","VoucherTransaction"],ActsAsUser:["User","UserWithAuthToken"],AttachableUnion:["Tenant"],AuditableChangeUnion:["AuditableCommHistory","AuditableInvoice","AuditableReceipt","AuditableRequest","AuditableRequestItem"],AuditableUnion:["Address","Admission","Agent","AgentConfiguration","AgentProperty","AgentRequirement","AvailabilityRuleSet","Contact","Customer","Email","EmailTemplate","Event","EventDesc","EventTemplate","Invoice","InvoiceItem","Material","MaterialConfiguration","MaterialProperty","MaterialRequirement","PassbookTemplate","Payment","Place","PlaceConfiguration","PlaceProperty","PlaceRequirement","Pos","PriceCategory","PriceRule","Pricing","Product","Promotion","Quota","ReceiptItem","RecurrenceRuleSet","Request","RequestItem","RequirementSpan","Shop","ShopPage","Tag","Tenant","TimePattern","User","UserError","VoucherConfiguration","Waiver"],CommHistoryUnion:["Email"],DataUnion:["DashboardDataEventsArray","DashboardDataIntValue","DashboardDataMoneyValue","DashboardDataPieChartValue","DashboardDataStackedBarChartValue","DashboardDataStackedChartValue","Error"],InvoiceReceiptUnion:["Invoice","Receipt"],OfferableInstanceUnion:["EventInstance"],OfferableUnion:["Admission","Event","EventDesc","EventTemplate","Product","VoucherConfiguration"],PriceOriginUnion:["PriceRule","Product","VoucherConfiguration"],SearchableUnion:["Account","Address","Admission","Agent","AgentConfiguration","AgentProperty","Attendance","Contact","Customer","CustomerGroup","DeliveryNote","EmailTemplate","Event","EventDesc","EventTemplate","Invitation","Invoice","Material","MaterialConfiguration","MaterialProperty","PassbookTemplate","Place","PlaceConfiguration","PlaceProperty","PriceCategory","Product","Promotion","Receipt","Request","Tag","TimePattern","User","VoucherConfiguration","Waiver"],ServiceUnion:["Admission","Event","EventTemplate"],UserInvitationUnion:["Invitation","User"]}};var $=(()=>{return(mt=$||($={})).Body="body",mt.Head="head",$;var mt})(),ae=(()=>{return(mt=ae||(ae={})).Paid="paid",mt.Refunded="refunded",mt.RequiresPayment="requires_payment",mt.RequiresRefund="requires_refund",ae;var mt})(),Re=(()=>{return(mt=Re||(Re={})).Admissions="admissions",mt.Events="events",mt.Products="products",mt.Vouchers="vouchers",Re;var mt})(),it=(()=>{return(mt=it||(it={})).CollectiveInvoice="collective_invoice",mt.Invoice="invoice",mt.OnSite="on_site",mt.ServiceProvider="service_provider",it;var mt})(),V=(()=>{return(mt=V||(V={})).Failed="failed",mt.IntentCanceled="intent_canceled",mt.IntentProcessing="intent_processing",mt.IntentRequiresAction="intent_requires_action",mt.IntentRequiresPaymentMethod="intent_requires_payment_method",mt.Pending="pending",mt.Refunded="refunded",mt.RequiresCapture="requires_capture",mt.Succeeded="succeeded",V;var mt})(),He=(()=>{return(mt=He||(He={})).Group="group",mt.Individual="individual",He;var mt})(),lt=(()=>{return(mt=lt||(lt={})).RequiresPayment="requires_payment",mt.RequiresPaymentAndRefund="requires_payment_and_refund",mt.RequiresRefund="requires_refund",mt.Settled="settled",lt;var mt})(),St=(()=>{return(mt=St||(St={})).Booked="booked",mt.Canceled="canceled",mt.Requested="requested",mt.Reserved="reserved",St;var mt})();a.Ps`
    fragment attachment on Attachment {
  id
  desc
  copyright
  file {
    id
    _url: url
    metadata {
      filename
      mimeType
      size
    }
  }
}
    `,a.Ps`
    fragment imageAttachment on ImageAttachment {
  id
  desc
  copyright
  file {
    id
    _url: url
    metadata {
      filename
      mimeType
      size
    }
  }
}
    `,a.Ps`
    fragment availabilityRuleSets on ActsAsResource {
  availabilityRuleSets {
    id
    dtstart
    duration
    rrule
    availability
  }
}
    `,a.Ps`
    fragment capacities on ActsAsResource {
  capacities {
    configurationId: configuration {
      value: id
      label: name
      id
      resourceType
      discardedAt
    }
    capacity
  }
}
    `;const An=a.Ps`
    fragment address on Address {
  id
  department
  street
  streetAdditionalInfo
  postalCode
  city
  region
  country
}
    `,In=(a.Ps`
    fragment contact on Contact {
  id
  number
  externalRef
  discardedAt
  customFormOfAddress
  salutation
  title
  firstName
  lastName
  mobile
  tel
  email
  locale
  function
  internalComment
  customer: customer {
    id
    name
    taxCode
    website
    groupId: group {
      value: id
      label: name
      discardedAt
    }
    addresses: addresses {
      ...address
    }
  }
}
    ${An}`,a.Ps`
    fragment errors on Error {
  key
  messages
}
    `),wn=a.Ps`
    fragment pageInfo on PageInfo {
  endCursor
  startCursor
  hasNextPage
  hasPreviousPage
}
    `,Wn=a.Ps`
    fragment pricing on Pricing {
  kind
  name
  nameTranslated
  originalPriceValue
  priceValue
  priceOrigin {
    ... on PriceRule {
      id
      minPax
      maxPax
    }
  }
  product {
    id
    subProductPresentation
    subProducts {
      pricing {
        kind
        name
        quantity
        originalPriceValue
        priceValue
      }
    }
  }
}
    `,_t=(a.Ps`
    fragment eventPriceRules on ActsAsEventable {
  priceRules {
    id
    priceCategoryId: priceCategory {
      value: id
      label: nameTranslated
      discardedAt
    }
    productId: product {
      value: id
      label: name
      pricing {
        ...pricing
      }
      discardedAt
    }
    posIds: pos {
      value: id
      label: name
    }
    minPax
    maxPax
  }
}
    ${Wn}`,a.Ps`
    fragment properties on ActsAsResource {
  propertyIds: properties {
    value: id
    label: name
    id
    resourceType
    discardedAt
  }
}
    `,a.Ps`
    fragment eventQuotas on ActsAsEventable {
  quotas: quotas {
    id
    posIds: pos {
      value: id
      label: name
    }
    maxQuantity
    salesStartOffset
    salesEndOffset
  }
}
    `,a.Ps`
    fragment recurrenceRuleSet on RecurrenceRuleSet {
  id
  dtstart
  rrule
}
    `,a.Ps`
    fragment resourceRequirement on Requirement {
  id
  resourceType
  resourceAllocationState
  properties {
    id
    name
    resourceType
    discardedAt
  }
  configuration {
    id
    name
    resourceType
    discardedAt
  }
  resource {
    id
    name
    resourceType
  }
  spans {
    id
    startOffset
    endOffset
  }
  reservations {
    id
    resourceType
    spanStr
  }
}
    `,a.Ps`
    fragment translations on Translations {
  af
  ar
  az
  be
  bg
  bn
  bs
  ca
  cs
  da
  de
  dz
  el
  en
  eo
  es
  et
  eu
  fa
  fi
  fr
  fy
  gl
  he
  hi
  hr
  hu
  is
  it
  ja
  ka
  kk
  km
  kn
  ko
  lb
  lo
  lt
  lv
  mg
  mk
  ml
  mn
  ms
  nb
  ne
  nl
  nn
  oc
  or
  pa
  pl
  pt
  rm
  ro
  ru
  sc
  sk
  sl
  sq
  sr
  st
  sv
  sw
  ta
  te
  th
  tl
  tr
  tt
  ug
  uk
  ur
  uz
  vi
  wo
}
    `,a.Ps`
    fragment contactDetail on Contact {
  id
  firstName
  lastName
  mobile
  tel
  email
  locale
  newsletterAccepted
  customer: customer {
    id
    name
    addresses: addresses {
      ...address
      defaultBilling
      defaultShipping
    }
  }
}
    ${An}`),st=a.Ps`
    fragment contactWithAuthDetail on Contact {
  authToken
  id
  firstName
  lastName
  email
  bloyalSessionKey
}
    `,Ut=a.Ps`
    fragment salesTaxPayments on SalesTaxPayment {
  id
  taxRate
  taxValue
  included
}
    `,Ht=a.Ps`
    fragment invoiceItem on InvoiceItem {
  id
  name
  nameTranslated
  groupingName
  groupingNameTranslated
  groupingKey
  groupingSpan
  quantity
  discounts {
    value
    coupon {
      number
    }
  }
  product {
    id
    shippingArticle
    requiresShipping
  }
  forSubProduct
  subInvoiceItemPresentation
  subInvoiceItems {
    id
    quantity
    priceValue
    name
  }
  totalGrossValue
  totalOriginalValue
  totalPriceValue
  salesTaxPayments {
    ...salesTaxPayments
  }
}
    ${Ut}`,dn=a.Ps`
    fragment contactShop on Contact {
  id
  customFormOfAddress
  salutation
  title
  firstName
  lastName
  mobile
  tel
  email
  locale
  function
  customer: customer {
    id
    name
    taxCode
    website
    addresses: addresses {
      ...address
      defaultShipping
      defaultBilling
    }
  }
}
    ${An}`,jt=a.Ps`
    fragment relatedProducts on Product {
  id
  name
  desc
  pricing {
    ...pricing
  }
}
    ${Wn}`,ce=a.Ps`
    fragment shopRequest on Request {
  id
  accessToken
  number
  paymentMethod
  billingAddress {
    ...address
  }
  shippingAddress {
    ...address
  }
  contact {
    ...contactShop
    accessToken
  }
  totalVouchers
  vouchers {
    id
    name
    value
  }
  salesTaxPayments {
    id
    included
    taxValue
  }
  bloyalAlerts {
    snippetCode
    cartUuid
    lineUuid
    alertUuid
  }
  requestItems: requestItems {
    id
    discardedAt
    offerableId
    offerableType
    offerableSpan
    globalPersonalizations
    globalPersonalizationAttachments {
      id
      desc
      copyright
      associatedKey
      file {
        id
        _url: url
        metadata {
          filename
          mimeType
          size
        }
      }
    }
    offerable(posId: "auto") {
      ... on Admission {
        nameTranslated
        timeZone
        remainingQuota
        waiver {
          id
        }
        personalizationAttrs {
          name
          required
        }
        globalPersonalizationAttrs {
          name
          required
        }
        personalizationAttachmentAttrs {
          name
          required
        }
        globalPersonalizationAttachmentAttrs {
          name
          required
        }
      }
      ... on Event {
        nameTranslated
        span
        timeZone
        remainingQuota
        waiver {
          id
        }
        personalizationAttrs {
          name
          required
        }
        globalPersonalizationAttrs {
          name
          required
        }
        personalizationAttachmentAttrs {
          name
          required
        }
        globalPersonalizationAttachmentAttrs {
          name
          required
        }
      }
      ... on EventTemplate {
        name
        waiver {
          id
        }
        personalizationAttrs {
          name
          required
        }
        globalPersonalizationAttrs {
          name
          required
        }
        personalizationAttachmentAttrs {
          name
          required
        }
        globalPersonalizationAttachmentAttrs {
          name
          required
        }
      }
      ... on Product {
        name
        requiresShipping
        shippingArticle
      }
      ... on VoucherConfiguration {
        name
      }
    }
    totalValue
    totalGrossValue
    pricings {
      id
      quantity
      priceOriginId
      priceOriginType
      productId
      ...pricing
      isDeposit
      totalPriceValue
      salesTaxPayments {
        ...salesTaxPayments
      }
      attendances {
        id
        personalizations
        personalizationAttachments {
          id
          desc
          copyright
          associatedKey
          file {
            id
            _url: url
            metadata {
              filename
              mimeType
              size
            }
          }
        }
        waiverSignature {
          id
          waiverId
          signeeName
          minorName
          signatureData
        }
      }
    }
    relatedProducts {
      ...relatedProducts
    }
  }
  totalGrossValue
}
    ${An}
${dn}
${Wn}
${Ut}
${jt}`;a.Ps`
    mutation contactTermsUpdate($input: ContactUpdateInput!) {
  contactUpdate(input: $input) {
    contact {
      id
      privacyStatementAccepted
      termsAndConditionsAccepted
    }
    errors {
      key
      messages
    }
  }
}
    `,a.Ps`
    query countriesOptions {
  countries {
    value
    label
  }
}
    `;const sn=a.Ps`
    query invoicePayments($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    request {
      id
      number
    }
    payments {
      id
      state
    }
  }
}
    `;let On=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=sn}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();a.Ps`
    query invoicePublicDetail($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    number
    paymentState
    paymentIntentCreateError
    tenant {
      shopDomainName
      termsAndConditionsUrlTranslated
      privacyStatementUrlTranslated
      settings {
        paymentTransactionCharge {
          name
        }
        stripe {
          platformPublicKey
          accountId
        }
      }
      name
      email
      tel
    }
    payments {
      id
      state
    }
    invoiceItems {
      id
      name
      nameTranslated
      groupingName
      groupingNameTranslated
      groupingKey
      groupingSpan
      quantity
      product {
        id
        shippingArticle
      }
      forSubProduct
      subInvoiceItemPresentation
      subInvoiceItems {
        id
        quantity
        priceValue
        name
      }
      totalGrossValue
      totalPriceValue
      salesTaxPayments {
        ...salesTaxPayments
      }
    }
    totalGrossValue
    salesTaxPayments {
      ...salesTaxPayments
    }
    request {
      number
      shareablePublicTicketsUrl
      shippingAddress {
        formatted
      }
      requestItems {
        id
        pricings {
          id
          attendances {
            id
          }
        }
      }
    }
    contact {
      id
      accessToken
      _enableLoginToken: enableLoginToken
      firstName
      lastName
      email
      tel
      mobile
      privacyStatementAccepted
      termsAndConditionsAccepted
    }
    totalValue
    totalGrossValue
    totalAccountTransactionsValue
    billingAddress {
      formatted
      customer {
        name
      }
    }
  }
}
    ${Ut}`,a.Ps`
    query invoiceState($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    paymentState
    paymentIntentCreateError
    totalValue
    totalGrossValue
    tenant {
      serviceProviderPaymentMethods
      featureFlags
    }
  }
}
    `,a.Ps`
    mutation onSiteRequestFinalize($input: RequestFinalizeInput!) {
  requestFinalize(input: $input) {
    errors {
      key
      messages
    }
  }
}
    `,a.Ps`
    mutation paymentIntentInProgress($input: PaymentIntentInProgressInput!) {
  paymentIntentInProgress(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${In}`,a.Ps`
    mutation paymentIntentCreate($input: PaymentIntentCreateInput!) {
  paymentIntentCreate(input: $input) {
    payment {
      id
      value
      paymentIntentId
      paymentIntentClientSecret
      redirectUrl
      invoice {
        paymentState
        tenant {
          settings {
            stripe {
              platformPublicKey
              accountId
            }
            paypal {
              clientId
            }
          }
        }
        contact {
          firstName
          lastName
        }
        billingAddress {
          street
          city
          country
          postalCode
          customer {
            name
          }
        }
      }
    }
    errors {
      ...errors
    }
  }
}
    ${In}`,a.Ps`
    mutation onSiteRequestUpdate($input: RequestUpdateInput!) {
  requestUpdate(input: $input) {
    errors {
      key
      messages
    }
  }
}
    `;const Ji=a.Ps`
    query privacyPolicy {
  tenant {
    id
    privacyStatementTranslated
  }
}
    `;let Xi=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Ji}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Li=a.Ps`
    query tncPolicy {
  tenant {
    id
    termsAndConditionsTranslated
  }
}
    `;let cn=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Li}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();a.Ps`
    query authorizeNet {
  tenant {
    id
    featureFlags
    liveMode
    settings {
      authorizeNet {
        apiLoginId
        clientKey
      }
    }
  }
}
    `,a.Ps`
    query paypal {
  tenant {
    id
    settings {
      paypal {
        clientId
      }
    }
  }
}
    `,a.Ps`
    query stripe {
  tenant {
    id
    settings {
      stripe {
        platformPublicKey
        accountId
      }
    }
  }
}
    `;const ir=a.Ps`
    query admissionDetail($id: AdmissionIdOrNumber!, $extension: AttachmentImageFileDataExtensionEnum!) {
  admission(id: $id, posId: "auto") {
    id
    nameTranslated
    descTranslated
    duration
    entryEndOffset
    maxQuota
    remainingQuota
    personalizationAttrs {
      name
      required
    }
    globalPersonalizationAttrs {
      name
      required
    }
    personalizationAttachmentAttrs {
      name
      required
    }
    globalPersonalizationAttachmentAttrs {
      name
      required
    }
    waiver {
      id
      name
      contentTranslated
    }
    images {
      file {
        url(extension: $extension, width: 350)
      }
    }
    firstPotentialEvent(posId: "auto") {
      maxQuota
    }
    timePattern {
      id
      recurrenceRuleSets {
        rrule
      }
    }
    priceRules(posId: "auto") {
      id
      minPax
      maxPax
      pricing {
        ...pricing
      }
      priceCategory {
        value: id
        label: nameTranslated
        descTranslated
      }
    }
    voucherConfiguration {
      name
      currentPriceValue
    }
    relatedProducts {
      ...relatedProducts
    }
    tags {
      value: id
      label: name
    }
    locationName
    locationAddress
  }
}
    ${Wn}
${jt}`;let Yi=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=ir}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Ti=a.Ps`
    query admissionOfferFacets($id: AdmissionIdOrNumber!, $dates: [DateRange!], $span: TsRange!, $quantity: Int) {
  admission(id: $id) {
    id
    firstPotentialEvent(posId: "auto") {
      spanBegin
    }
    potentialEvents(posId: "auto", dates: $dates, span: $span, quantity: $quantity) {
      facets {
        dates {
          value
          count
        }
      }
    }
  }
}
    `;let nn=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Ti}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Zt=a.Ps`
    query admissionOfferSpans($id: AdmissionIdOrNumber!, $dates: [DateRange!], $quantity: Int) {
  admission(id: $id) {
    id
    potentialEvents(posId: "auto", dates: $dates, quantity: $quantity) {
      edges {
        node {
          span
          timeZone
        }
      }
    }
  }
}
    `;let Ct=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Zt}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Et=a.Ps`
    query admissionOffers($text: String, $first: Int, $after: String, $dates: [DateRange!], $quantity: Int, $tags: [ID!], $extension: AttachmentImageFileDataExtensionEnum!) {
  offers {
    admissions(
      text: $text
      first: $first
      after: $after
      dates: $dates
      tags: $tags
      quantity: $quantity
      posId: "auto"
    ) @connection(key: "admissions", filter: ["text", "first", "after", "dates", "tags", "quantity"]) {
      edges {
        node {
          id
          nameTranslated
          descTranslated
          availableLocales
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
          priceRules(posId: "auto") {
            pricing {
              priceValue
            }
          }
        }
      }
      facets {
        dates {
          value
          count
        }
        tags {
          value
          label
        }
      }
    }
  }
}
    `;let Ke=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Et}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Lt=a.Ps`
    query admissionRelatedProducts($id: AdmissionIdOrNumber!) {
  admission(id: $id, posId: "auto") {
    id
    relatedProducts {
      ...relatedProducts
    }
  }
}
    ${jt}`;let ut=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Lt}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Un=a.Ps`
    mutation contactConfirmEmail($input: ContactConfirmEmailInput!) {
  contactConfirmEmail(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${In}`;let Ft=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Un}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const En=a.Ps`
    mutation contactCreate($input: ContactCreateInput!) {
  contactCreate(input: $input) {
    contact {
      ...contactWithAuthDetail
    }
    errors {
      ...errors
    }
  }
}
    ${st}
${In}`;let ye=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=En}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Bt=a.Ps`
    mutation contactDestroy($input: ContactDestroyInput!) {
  contactDestroy(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${In}`;let vn=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Bt}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Ne=a.Ps`
    mutation contactEnableLogin($input: ContactEnableLoginInput!) {
  contactEnableLogin(input: $input) {
    contact {
      authToken
    }
    errors {
      ...errors
    }
  }
}
    ${In}`;let ve=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Ne}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const at=a.Ps`
    mutation contactLogin($input: ContactLoginInput!) {
  contactLogin(input: $input) {
    contact {
      ...contactWithAuthDetail
    }
    errors {
      ...errors
    }
  }
}
    ${st}
${In}`;let Rt=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=at}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const bn=a.Ps`
    mutation contactRequestPasswordReset($input: ContactRequestPasswordResetInput!) {
  contactRequestPasswordReset(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${In}`;let Fe=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=bn}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const ne=a.Ps`
    mutation contactResetPassword($input: ContactResetPasswordInput!) {
  contactResetPassword(input: $input) {
    contact {
      authToken
    }
    errors {
      ...errors
    }
  }
}
    ${In}`;let Me=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=ne}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const We=a.Ps`
    mutation contactUpdatePassword($input: ContactUpdatePasswordInput!) {
  contactUpdatePassword(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${In}`;let Tt=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=We}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Wt=a.Ps`
    mutation contactUpdate($input: ContactUpdateInput!) {
  contactUpdate(input: $input) {
    contact {
      ...contactDetail
    }
    errors {
      ...errors
    }
  }
}
    ${_t}
${In}`;let _e=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Wt}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const je=a.Ps`
    query contactWhoAmI {
  contactWhoAmI {
    ...contactDetail
  }
}
    ${_t}`;let E=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=je}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const te=a.Ps`
    query eventDetail($id: EventIdOrNumber!, $extension: AttachmentImageFileDataExtensionEnum!) {
  event(id: $id, posId: "auto") {
    id
    nameTranslated
    descTranslated
    minParticipants
    remainingQuota
    personalizationAttrs {
      name
      required
    }
    globalPersonalizationAttrs {
      name
      required
    }
    personalizationAttachmentAttrs {
      name
      required
    }
    globalPersonalizationAttachmentAttrs {
      name
      required
    }
    waiver {
      id
      name
      contentTranslated
    }
    maxQuota
    exclusivity
    span
    timeZone
    images {
      file {
        url(extension: $extension, width: 350)
      }
    }
    priceRules(posId: "auto") {
      id
      minPax
      maxPax
      pricing {
        ...pricing
      }
      priceCategory {
        value: id
        label: nameTranslated
        descTranslated
      }
    }
    voucherConfiguration {
      name
      currentPriceValue
    }
    relatedProducts {
      ...relatedProducts
    }
    tags {
      value: id
      label: name
    }
    locationName
    locationAddress
  }
}
    ${Wn}
${jt}`;let O=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=te}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const T=a.Ps`
    query eventOfferFacets($dates: [DateRange!], $span: TsRange!, $text: String, $first: Int, $after: String, $quantity: Int, $hours: [Int!]) {
  offers {
    services(
      text: $text
      first: $first
      after: $after
      dates: $dates
      span: $span
      quantity: $quantity
      hours: $hours
      posId: "auto"
    ) @connection(key: "eventOfferFacets", filter: ["text", "first", "after", "dates", "quantity", "hours"]) {
      facets {
        dates {
          value
          count
        }
      }
    }
  }
}
    `;let J=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=T}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const me=a.Ps`
    query eventOfferTags {
  offers {
    services(posId: "auto") {
      facets {
        tags {
          value
          label
        }
      }
    }
  }
}
    `;let pt=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=me}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const bt=a.Ps`
    query eventOffers($text: String, $first: Int, $after: String, $dates: [DateRange!], $quantity: Int, $tags: [ID!], $extension: AttachmentImageFileDataExtensionEnum!) {
  offers {
    services(
      text: $text
      first: $first
      after: $after
      dates: $dates
      quantity: $quantity
      tags: $tags
      posId: "auto"
    ) @connection(key: "services", filter: ["text", "first", "after", "dates", "quantity", "tags"]) {
      totalCount
      edges {
        node {
          ... on Event {
            id
            nameTranslated
            descTranslated
            span
            timeZone
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
            priceRules(posId: "auto") {
              pricing {
                priceValue
              }
            }
          }
          ... on EventTemplate {
            id
            nameTranslated
            descTranslated
            duration
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
            priceRules(posId: "auto") {
              pricing {
                priceValue
              }
            }
          }
        }
      }
      pageInfo {
        ...pageInfo
      }
    }
  }
}
    ${wn}`;let It=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=bt}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const qt=a.Ps`
    query eventRelatedProducts($id: EventIdOrNumber!) {
  event(id: $id, posId: "auto") {
    id
    relatedProducts {
      ...relatedProducts
    }
  }
}
    ${jt}`;let mn=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=qt}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const _n=a.Ps`
    query eventTemplateDetail($id: EventTemplateIdOrNumber!, $extension: AttachmentImageFileDataExtensionEnum!) {
  eventTemplate(id: $id) {
    id
    nameTranslated
    descTranslated
    minParticipants
    personalizationAttrs {
      name
      required
    }
    globalPersonalizationAttrs {
      name
      required
    }
    personalizationAttachmentAttrs {
      name
      required
    }
    globalPersonalizationAttachmentAttrs {
      name
      required
    }
    waiver {
      id
      name
      contentTranslated
    }
    duration
    entryStartOffset
    entryEndOffset
    images {
      file {
        url(extension: $extension, width: 350)
      }
    }
    maxQuotaWithoutResource
    firstPotentialEvent(posId: "auto") {
      maxQuota
    }
    timePattern {
      id
      recurrenceRuleSets {
        rrule
      }
    }
    priceRules(posId: "auto") {
      id
      minPax
      maxPax
      pricing {
        ...pricing
      }
      priceCategory {
        value: id
        label: nameTranslated
        descTranslated
      }
    }
    voucherConfiguration {
      name
      currentPriceValue
    }
    relatedProducts {
      ...relatedProducts
    }
    tags {
      value: id
      label: name
    }
    locationName
    locationAddress
  }
}
    ${Wn}
${jt}`;let Mt=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=_n}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const pn=a.Ps`
    query eventTemplateRelatedProducts($id: EventTemplateIdOrNumber!) {
  eventTemplate(id: $id) {
    id
    relatedProducts {
      ...relatedProducts
    }
  }
}
    ${jt}`;let tn=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=pn}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Vn=a.Ps`
    mutation invoiceNew($input: InvoiceNewInput!) {
  invoiceNew(input: $input) {
    invoice {
      id
      tenant {
        settings {
          paymentTransactionCharge {
            name
          }
        }
      }
      request {
        number
        state
        paymentMethod
        totalValue
        contact {
          ...contactShop
          newsletterAccepted
          termsAndConditionsAccepted
          privacyStatementAccepted
        }
        billingAddress {
          ...address
          formatted
        }
        shippingAddress {
          ...address
          formatted
        }
      }
      invoiceItems {
        ...invoiceItem
      }
      vouchers {
        id
        number
        name
        value
      }
      totalValue
      totalGrossValue
      totalAccountTransactionsValue
      salesTaxPayments {
        ...salesTaxPayments
      }
    }
    errors {
      ...errors
    }
  }
}
    ${dn}
${An}
${Ht}
${Ut}
${In}`;let Jn=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Vn}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const ci=a.Ps`
    mutation paymentInProgress($input: PaymentIntentInProgressInput!) {
  paymentIntentInProgress(input: $input) {
    errors {
      ...errors
    }
  }
}
    ${In}`;let ti=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=ci}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Di=a.Ps`
    query successInvoiceDetail($token: InvoiceIdOrNumberOrToken!) {
  invoice(id: $token) {
    id
    tenant {
      id
      slug
      email
      tel
    }
    request {
      id
      number
      shareablePublicTicketsUrl
      totalGrossValue
      requestItems {
        id
        offerableNumber
        offerableName
        pricings {
          id
          priceValue
          quantity
          attendances {
            id
          }
        }
      }
      contact {
        id
        accessToken
        email
        enableLoginToken
      }
    }
  }
}
    `;let Ci=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Di}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const li=a.Ps`
    query eventTemplateOfferFacets($id: EventTemplateIdOrNumber!, $dates: [DateRange!], $span: TsRange!, $quantity: Int) {
  eventTemplate(id: $id) {
    id
    firstPotentialEvent(posId: "auto") {
      spanBegin
    }
    potentialEvents(posId: "auto", dates: $dates, span: $span, quantity: $quantity) {
      facets {
        dates {
          value
          count
        }
      }
    }
  }
}
    `;let $i=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=li}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Gi=a.Ps`
    query eventTemplateOfferSpans($id: EventTemplateIdOrNumber!, $dates: [DateRange!], $quantity: Int) {
  eventTemplate(id: $id) {
    id
    potentialEvents(posId: "auto", dates: $dates, quantity: $quantity) {
      edges {
        node {
          span
          timeZone
        }
      }
    }
  }
}
    `;let cr=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Gi}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const ar=a.Ps`
    query offers($text: String, $first: Int, $after: String, $dates: [DateRange!], $quantity: Int, $hours: [Int!], $extension: AttachmentImageFileDataExtensionEnum!) {
  offers {
    services(
      text: $text
      first: $first
      after: $after
      dates: $dates
      quantity: $quantity
      hours: $hours
      posId: "auto"
    ) @connection(key: "services", filter: ["text", "first", "after", "dates", "quantity", "hours"]) {
      totalCount
      edges {
        node {
          ... on Event {
            id
            nameTranslated
            descTranslated
            span
            timeZone
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
            priceRules(posId: "auto") {
              pricing {
                priceValue
              }
            }
          }
          ... on EventTemplate {
            id
            nameTranslated
            descTranslated
            duration
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
            priceRules(posId: "auto") {
              pricing {
                priceValue
              }
            }
          }
        }
      }
      facets {
        dates {
          value
          count
        }
      }
    }
    admissions(
      text: $text
      first: $first
      after: $after
      dates: $dates
      hours: $hours
      quantity: $quantity
      posId: "auto"
    ) @connection(key: "admissions", filter: ["text", "first", "after", "dates", "hours", "quantity"]) {
      totalCount
      edges {
        node {
          id
          nameTranslated
          descTranslated
          availableLocales
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
          priceRules(posId: "auto") {
            pricing {
              priceValue
            }
          }
        }
      }
      facets {
        dates {
          value
          count
        }
      }
    }
    products(text: $text, first: $first, after: $after, merchandiseArticles: true) @connection(key: "products", filter: ["text", "first", "after"]) {
      totalCount
      edges {
        node {
          id
          name
          desc
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
          pricing {
            priceValue
          }
        }
      }
    }
    voucherConfigurations(text: $text, first: $first, after: $after) @connection(key: "voucherConfigurations", filter: ["text", "first", "after"]) {
      totalCount
      edges {
        node {
          id
          name
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
          pricing {
            priceValue
          }
        }
      }
    }
  }
}
    `;let ur=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=ar}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Pr=a.Ps`
    query productDetail($id: ID!, $extension: AttachmentImageFileDataExtensionEnum!) {
  product(id: $id) {
    id
    name
    desc
    shippingArticle
    merchandiseArticle
    currentPriceValue
    minPriceValue
    maxPriceValue
    pricing {
      ...pricing
    }
    images {
      file {
        url(extension: $extension, width: 350)
      }
      desc
      copyright
    }
    relatedProducts {
      ...relatedProducts
    }
  }
}
    ${Wn}
${jt}`;let Ur=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Pr}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const as=a.Ps`
    query productOffers($text: String, $ids: [ID!], $merchandiseArticles: Boolean, $first: Int, $after: String, $extension: AttachmentImageFileDataExtensionEnum!) {
  offers {
    products(
      text: $text
      ids: $ids
      first: $first
      after: $after
      merchandiseArticles: $merchandiseArticles
    ) @connection(key: "products", filter: ["text", "first", "after"]) {
      totalCount
      edges {
        node {
          id
          name
          desc
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
          pricing {
            priceValue
          }
        }
      }
      pageInfo {
        ...pageInfo
      }
    }
  }
}
    ${wn}`;let er=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=as}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Ns=a.Ps`
    query productRelatedProducts($id: ID!) {
  product(id: $id) {
    id
    relatedProducts {
      ...relatedProducts
    }
  }
}
    ${jt}`;let ls=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Ns}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Lr=a.Ps`
    mutation applyVoucher($input: RequestApplyVoucherInput!) {
  requestApplyVoucher(input: $input) {
    request {
      id
      vouchers {
        id
        name
        value
      }
      totalVouchers
      totalGrossValue
    }
    followUpProducts {
      id
    }
    errors {
      key
      messages
    }
  }
}
    `;let Hs=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Lr}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const go=a.Ps`
    query cart($token: RequestToken) {
  cart(token: $token) {
    accessToken
    requestItems: requestItems {
      id
      offerable {
        ... on Product {
          id
          shippingArticle
        }
      }
      pricings {
        quantity
        isDeposit
      }
    }
  }
}
    `;let mr=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=go}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const xr=a.Ps`
    mutation requestCreate($input: RequestCreateInput!) {
  requestCreate(input: $input) {
    request {
      accessToken
      ...shopRequest
    }
    errors {
      ...errors
    }
  }
}
    ${ce}
${In}`;let jr=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=xr}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const _o=a.Ps`
    query requestDetail($id: RequestIdOrNumberOrToken!) {
  request(id: $id) {
    id
    number
    paymentMethod
    paymentState
    state
    shareablePublicTicketsUrl
    billingAddress {
      ...address
      formatted
    }
    shippingAddress {
      ...address
      formatted
    }
    tenant {
      id
      email
      tel
      locale
    }
    bloyalAlerts {
      snippetCode
      cartUuid
      lineUuid
      alertUuid
    }
    contact {
      ...contactShop
      accessToken
      _enableLoginToken: enableLoginToken
      termsAndConditionsAccepted
      privacyStatementAccepted
      newsletterAccepted
    }
    requestItems: requestItems {
      id
      discardedAt
      offerableId
      offerableType
      offerableSpan
      globalPersonalizations
      globalPersonalizationAttachments {
        id
        desc
        copyright
        associatedKey
        file {
          id
          _url: url
          metadata {
            filename
            mimeType
            size
          }
        }
      }
      offerable(posId: "auto") {
        ... on Admission {
          nameTranslated
          timeZone
          duration
          entryEndOffset
          remainingQuota
          waiver {
            id
          }
          personalizationAttrs {
            name
            required
          }
          globalPersonalizationAttrs {
            name
            required
          }
          personalizationAttachmentAttrs {
            name
            required
          }
          globalPersonalizationAttachmentAttrs {
            name
            required
          }
        }
        ... on Event {
          nameTranslated
          span
          timeZone
          remainingQuota
          waiver {
            id
          }
          personalizationAttrs {
            name
            required
          }
          globalPersonalizationAttrs {
            name
            required
          }
          personalizationAttachmentAttrs {
            name
            required
          }
          globalPersonalizationAttachmentAttrs {
            name
            required
          }
        }
        ... on EventTemplate {
          name
          waiver {
            id
          }
          personalizationAttrs {
            name
            required
          }
          globalPersonalizationAttrs {
            name
            required
          }
          personalizationAttachmentAttrs {
            name
            required
          }
          globalPersonalizationAttachmentAttrs {
            name
            required
          }
        }
        ... on Product {
          name
          requiresShipping
          shippingArticle
        }
        ... on VoucherConfiguration {
          name
        }
      }
      totalValue
      totalGrossValue
      pricings {
        id
        quantity
        priceOriginId
        priceOriginType
        productId
        ...pricing
        isDeposit
        totalPriceValue
        totalOriginalPriceValue
        salesTaxPayments {
          ...salesTaxPayments
        }
        attendances {
          id
          personalizations
          personalizationAttachments {
            id
            desc
            copyright
            associatedKey
            file {
              id
              _url: url
              metadata {
                filename
                mimeType
                size
              }
            }
          }
          waiverSignature {
            id
            waiverId
            signeeName
            minorName
            signatureData
          }
        }
      }
    }
    totalValue
    totalVouchers
    vouchers {
      id
      name
      value
    }
    totalGrossValue
    salesTaxPayments {
      ...salesTaxPayments
    }
    invoices {
      accessToken
      paymentState
    }
  }
}
    ${An}
${dn}
${Wn}
${Ut}`;let ds=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=_o}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Qr=a.Ps`
    mutation requestFinalize($input: RequestFinalizeInput!) {
  requestFinalize(input: $input) {
    request {
      contact {
        id
        email
      }
      bloyalAlerts {
        snippetCode
        cartUuid
        lineUuid
        alertUuid
      }
      paymentState
      paymentMethod
      invoices {
        accessToken
        paymentState
      }
    }
    errors {
      ...errors
    }
  }
}
    ${In}`;let vo=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=Qr}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const to=a.Ps`
    mutation requestUpdate($input: RequestUpdateInput!) {
  requestUpdate(input: $input) {
    request {
      ...shopRequest
    }
    errors {
      ...errors
    }
  }
}
    ${ce}
${In}`;let yo=(()=>{class mt extends i.mm{constructor(Gt){super(Gt),this.document=to}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Bs=a.Ps`
    query searchList($text: String, $first: Int, $after: String, $extension: AttachmentImageFileDataExtensionEnum!) {
  offers {
    services(
      text: $text
      first: $first
      after: $after
      posId: "auto"
      includeAdmissions: true
    ) @connection(key: "services", filter: ["text", "first", "after"]) {
      totalCount
      edges {
        node {
          ... on Admission {
            id
            nameTranslated
            descTranslated
            availableLocales
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
            firstPotentialEvent(posId: "auto") {
              span
              timeZone
            }
            priceRules(posId: "auto") {
              pricing {
                priceValue
              }
            }
          }
          ... on Event {
            id
            nameTranslated
            descTranslated
            span
            timeZone
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
          }
          ... on EventTemplate {
            id
            nameTranslated
            descTranslated
            images {
              file {
                url(extension: $extension, width: 350)
              }
              desc
              copyright
            }
            priceRules(posId: "auto") {
              pricing {
                priceValue
              }
            }
          }
        }
      }
      pageInfo {
        ...pageInfo
      }
    }
    products(text: $text, first: $first, after: $after, merchandiseArticles: true) @connection(key: "products", filter: ["text", "first", "after"]) {
      totalCount
      edges {
        node {
          id
          name
          desc
          pricing {
            priceValue
          }
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
        }
      }
      pageInfo {
        ...pageInfo
      }
    }
  }
}
    ${wn}`;let qe=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Bs}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Le=a.Ps`
    query shopSettings($extension: AttachmentImageFileDataExtensionEnum!) {
  shop {
    pages {
      kind
      enabled
      showFilter
      nameTranslated
    }
    banners {
      backgroundImage {
        file {
          url(extension: $extension, width: 1920)
          urlPlaceholder: url(extension: $extension, width: 19)
        }
      }
      foregroundImage {
        file {
          url(extension: $extension, height: 500)
        }
      }
      backgroundColor
      foregroundText
      foregroundTextColor
      showBanner
    }
    settings {
      checkout {
        showBillingAddress
        showMobile
        showCustomerName
      }
      donation {
        enabled
        nameTranslated
        descTranslated
        product {
          id
          minPriceValue
          maxPriceValue
        }
      }
      ci {
        showLocaleFlags
        colorAccent
        colorPrimary
        fontBold {
          file {
            url
          }
        }
        fontItalic {
          file {
            url
          }
        }
        fontRegular {
          file {
            url
          }
        }
        logo {
          file {
            url(extension: $extension, height: 120)
          }
        }
        favicon {
          file {
            url(extension: ico, width: 32, height: 32)
          }
        }
      }
      custom {
        css {
          name
          source
        }
        html {
          name
          source
          position
        }
      }
    }
    tenant {
      name
      country
      email
      tel
      website
      locale
      liveMode
      currency
      availableLocales
      timeZone
      internalDomainName
      locationAddress
      addressFormat
      privacyStatementUrlTranslated
      termsAndConditionsUrlTranslated
      legalNoticeUrlTranslated
      featureFlags
      shippingArticle {
        id
      }
      settings {
        bloyal {
          enabled
          loginDomain
          deviceCode
        }
      }
    }
  }
}
    `;let De=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=Le}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const At=a.Ps`
    query LegalNotice {
  tenant {
    id
    legalNoticeTranslated
  }
}
    `;let kn=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=At}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const pi=a.Ps`
    query voucherDetail($id: ID!, $extension: AttachmentImageFileDataExtensionEnum!) {
  voucherConfiguration(id: $id) {
    id
    name
    desc
    pricing {
      ...pricing
    }
    images {
      file {
        url(extension: $extension, width: 350)
      }
      desc
      copyright
    }
  }
}
    ${Wn}`;let kr=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=pi}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const is=a.Ps`
    query voucherOffers($text: String, $first: Int, $after: String, $extension: AttachmentImageFileDataExtensionEnum!) {
  offers {
    voucherConfigurations(text: $text, first: $first, after: $after) @connection(key: "voucherConfigurations", filter: ["text", "first", "after"]) {
      totalCount
      edges {
        node {
          id
          name
          images {
            file {
              url(extension: $extension, width: 350)
            }
            desc
            copyright
          }
          pricing {
            priceValue
          }
        }
      }
      pageInfo {
        ...pageInfo
      }
    }
  }
}
    ${wn}`;let no=(()=>{class mt extends i.AE{constructor(Gt){super(Gt),this.document=is}}return mt.\u0275fac=function(Gt){return new(Gt||mt)(d.LFG(i._M))},mt.\u0275prov=d.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})()},55253:(ze,G,l)=>{"use strict";l.d(G,{$Z4:()=>a.$Z4,$yk:()=>a.$yk,BHv:()=>a.BHv,BeZ:()=>a.BeZ,DX6:()=>a.DX6,EW1:()=>a.EW1,F5l:()=>a.F5l,Gqc:()=>a.Gqc,Izj:()=>a.Izj,JA$:()=>a.JA$,MDh:()=>a.MDh,Nn3:()=>a.Nn3,O2v:()=>a.O2v,OKD:()=>a.OKD,SNk:()=>a.SNk,Sy5:()=>a.Sy5,TD3:()=>a.TD3,Tb0:()=>a.Tb0,UFn:()=>a.UFn,UUc:()=>a.UUc,V0k:()=>a.V0k,Vbd:()=>a.Vbd,Wvi:()=>a.Wvi,XJ0:()=>a.XJ0,XPl:()=>a.XPl,YdK:()=>a.YdK,YtG:()=>a.YtG,Zj7:()=>a.Zj7,_Od:()=>a._Od,ab2:()=>a.ab2,b3d:()=>a.b3d,dFW:()=>a.dFW,dx8:()=>a.dx8,dzZ:()=>a.dzZ,fIW:()=>a.fIW,hKL:()=>a.hKL,ha1:()=>a.ha1,iLu:()=>a.iLu,iy5:()=>a.iy5,k6I:()=>a.k6I,l2y:()=>a.l2y,moe:()=>a.moe,nqC:()=>a.nqC,o8q:()=>a.o8q,pMq:()=>a.pMq,qKk:()=>a.qKk,tNW:()=>a.tNW,uAL:()=>a.uAL,vAZ:()=>a.vAZ,vs9:()=>a.vs9,wlI:()=>a.wlI,xfR:()=>a.xfR,y6S:()=>a.y6S});var a=l(47367)},40963:(ze,G,l)=>{"use strict";var a=l(22313),i=l(5e3);function d(n){return n&&n.Math==Math?n:void 0}const p="object"==typeof globalThis&&d(globalThis)||"object"==typeof window&&d(window)||"object"==typeof self&&d(self)||"object"==typeof global&&d(global)||function(){return this}()||{};function C(){return p}function f(n,e,t){const o=t||p,u=o.__SENTRY__=o.__SENTRY__||{};return u[n]||(u[n]=e())}const v="production",b=Object.prototype.toString;function m(n){switch(b.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return oe(n,Error)}}function I(n,e){return b.call(n)===`[object ${e}]`}function L(n){return I(n,"ErrorEvent")}function M(n){return I(n,"DOMError")}function A(n){return I(n,"String")}function B(n){return"object"==typeof n&&null!==n&&"__sentry_template_string__"in n&&"__sentry_template_values__"in n}function R(n){return null===n||B(n)||"object"!=typeof n&&"function"!=typeof n}function x(n){return I(n,"Object")}function w(n){return"undefined"!=typeof Event&&oe(n,Event)}function j(n){return Boolean(n&&n.then&&"function"==typeof n.then)}function oe(n,e){try{return n instanceof e}catch(t){return!1}}function $(n){return!("object"!=typeof n||null===n||!n.__isVue&&!n._isVue)}const y=C();function ge(n,e={}){if(!n)return"<unknown>";try{let t=n;const o=5,u=[];let g=0,P=0;const ee=" > ",Ae=ee.length;let tt;const Ot=Array.isArray(e)?e:e.keyAttrs,$t=!Array.isArray(e)&&e.maxStringLength||80;for(;t&&g++<o&&(tt=Ve(t,Ot),!("html"===tt||g>1&&P+u.length*Ae+tt.length>=$t));)u.push(tt),P+=tt.length,t=t.parentNode;return u.reverse().join(ee)}catch(t){return"<unknown>"}}function Ve(n,e){const t=n,o=[];let u,g,P,ee,Ae;if(!t||!t.tagName)return"";if(y.HTMLElement&&t instanceof HTMLElement&&t.dataset&&t.dataset.sentryComponent)return t.dataset.sentryComponent;o.push(t.tagName.toLowerCase());const tt=e&&e.length?e.filter($t=>t.getAttribute($t)).map($t=>[$t,t.getAttribute($t)]):null;if(tt&&tt.length)tt.forEach($t=>{o.push(`[${$t[0]}="${$t[1]}"]`)});else if(t.id&&o.push(`#${t.id}`),u=t.className,u&&A(u))for(g=u.split(/\s+/),Ae=0;Ae<g.length;Ae++)o.push(`.${g[Ae]}`);const Ot=["aria-label","type","name","title","alt"];for(Ae=0;Ae<Ot.length;Ae++)P=Ot[Ae],ee=t.getAttribute(P),ee&&o.push(`[${P}="${ee}"]`);return o.join("")}const Ie="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Ge=["debug","info","warn","error","log","assert","trace"],it={};function Se(n){if(!("console"in p))return n();const e=p.console,t={},o=Object.keys(it);o.forEach(u=>{const g=it[u];t[u]=e[u],e[u]=g});try{return n()}finally{o.forEach(u=>{e[u]=t[u]})}}const V=function Z(){let n=!1;const e={enable:()=>{n=!0},disable:()=>{n=!1},isEnabled:()=>n};return Ge.forEach(Ie?t=>{e[t]=(...o)=>{n&&Se(()=>{p.console[t](`Sentry Logger [${t}]:`,...o)})}}:t=>{e[t]=()=>{}}),e}();function U(n,e=0){return"string"!=typeof n||0===e||n.length<=e?n:`${n.slice(0,e)}...`}function pe(n,e){if(!Array.isArray(n))return"";const t=[];for(let o=0;o<n.length;o++){const u=n[o];try{$(u)?t.push("[VueViewModel]"):t.push(String(u))}catch(g){t.push("[value cannot be serialized]")}}return t.join(e)}function et(n,e=[],t=!1){return e.some(o=>function He(n,e,t=!1){return!!A(n)&&(function H(n){return I(n,"RegExp")}(e)?e.test(n):!!A(e)&&(t?n===e:n.includes(e)))}(n,o,t))}function de(n,e,t){if(!(e in n))return;const o=n[e],u=t(o);"function"==typeof u&&St(u,o),n[e]=u}function lt(n,e,t){try{Object.defineProperty(n,e,{value:t,writable:!0,configurable:!0})}catch(o){Ie&&V.log(`Failed to add non-enumerable property "${e}" to object`,n)}}function St(n,e){try{n.prototype=e.prototype=e.prototype||{},lt(n,"__sentry_original__",e)}catch(t){}}function Qt(n){return n.__sentry_original__}function yt(n){if(m(n))return un({message:n.message,name:n.name,stack:n.stack},ct(n));if(w(n)){const e=un({type:n.type,target:Je(n.target),currentTarget:Je(n.currentTarget)},ct(n));return"undefined"!=typeof CustomEvent&&oe(n,CustomEvent)&&(e.detail=n.detail),e}return n}function Je(n){try{return function k(n){return"undefined"!=typeof Element&&oe(n,Element)}(n)?ge(n):Object.prototype.toString.call(n)}catch(e){return"<unknown>"}}function ct(n){if("object"==typeof n&&null!==n){const e={};for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e}return{}}function X(n){return xe(n,new Map)}function xe(n,e){if(function he(n){if(!x(n))return!1;try{const e=Object.getPrototypeOf(n).constructor.name;return!e||"Object"===e}catch(e){return!0}}(n)){const t=e.get(n);if(void 0!==t)return t;const o={};e.set(n,o);for(const u of Object.keys(n))void 0!==n[u]&&(o[u]=xe(n[u],e));return o}if(Array.isArray(n)){const t=e.get(n);if(void 0!==t)return t;const o=[];return e.set(n,o),n.forEach(u=>{o.push(xe(u,e))}),o}return n}function F(){const e=p.crypto||p.msCrypto;let t=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(t=()=>{const o=new Uint8Array(1);return e.getRandomValues(o),o[0]})}catch(o){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,o=>(o^(15&t())>>o/4).toString(16))}function Y(n){return n.exception&&n.exception.values?n.exception.values[0]:void 0}function re(n){const{message:e,event_id:t}=n;if(e)return e;const o=Y(n);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||t||"<unknown>":t||"<unknown>"}function Oe(n,e,t){const o=n.exception=n.exception||{},u=o.values=o.values||[],g=u[0]=u[0]||{};g.value||(g.value=e||""),g.type||(g.type=t||"Error")}function Ye(n,e){const t=Y(n);if(!t)return;const u=t.mechanism;if(t.mechanism=un(un(un({},{type:"generic",handled:!0}),u),e),e&&"data"in e){const g=un(un({},u&&u.data),e.data);t.mechanism.data=g}}function hn(n){if(n&&n.__sentry_captured__)return!0;try{lt(n,"__sentry_captured__",!0)}catch(e){}return!1}function gn(n){return Array.isArray(n)?n:[n]}function An(){return Date.now()/1e3}const In=function Nn(){const{performance:n}=p;if(!n||!n.now)return An;const e=Date.now()-n.now(),t=null==n.timeOrigin?e:n.timeOrigin;return()=>(t+n.now())/1e3}();let Wn;(()=>{const{performance:n}=p;if(!n||!n.now)return void(Wn="none");const e=36e5,t=n.now(),o=Date.now(),u=n.timeOrigin?Math.abs(n.timeOrigin+t-o):e,g=u<e,P=n.timing&&n.timing.navigationStart,Ae="number"==typeof P?Math.abs(P+t-o):e;Wn=g||Ae<e?u<=Ae?"timeOrigin":"navigationStart":"dateNow"})();const Xt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var Pt,n;function ht(n){return new Ze(e=>{e(n)})}function be(n){return new Ze((e,t)=>{t(n)})}(n=Pt||(Pt={}))[n.PENDING=0]="PENDING",n[n.RESOLVED=1]="RESOLVED",n[n.REJECTED=2]="REJECTED";class Ze{constructor(e){Ze.prototype.__init.call(this),Ze.prototype.__init2.call(this),Ze.prototype.__init3.call(this),Ze.prototype.__init4.call(this),this._state=Pt.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}then(e,t){return new Ze((o,u)=>{this._handlers.push([!1,g=>{if(e)try{o(e(g))}catch(P){u(P)}else o(g)},g=>{if(t)try{o(t(g))}catch(P){u(P)}else u(g)}]),this._executeHandlers()})}catch(e){return this.then(t=>t,e)}finally(e){return new Ze((t,o)=>{let u,g;return this.then(P=>{g=!1,u=P,e&&e()},P=>{g=!0,u=P,e&&e()}).then(()=>{g?o(u):t(u)})})}__init(){this._resolve=e=>{this._setResult(Pt.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(Pt.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===Pt.PENDING){if(j(t))return void t.then(this._resolve,this._reject);this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Pt.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach(t=>{t[0]||(this._state===Pt.RESOLVED&&t[1](this._value),this._state===Pt.REJECTED&&t[2](this._value),t[0]=!0)})}}}function _t(){return f("globalEventProcessors",()=>[])}function st(n){_t().push(n)}function Ut(n,e,t,o=0){return new Ze((u,g)=>{const P=n[o];if(null===e||"function"!=typeof P)u(e);else{const ee=P(un({},e),t);Xt&&P.id&&null===ee&&V.log(`Event processor "${P.id}" dropped event`),j(ee)?ee.then(Ae=>Ut(n,Ae,t,o+1).then(u)).then(null,g):Ut(n,ee,t,o+1).then(u).then(null,g)}})}function Ht(n){const e=In(),t={sid:F(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function ce(n){return X({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})}(t)};return n&&dn(t,n),t}function dn(n,e={}){if(e.user&&(!n.ipAddress&&e.user.ip_address&&(n.ipAddress=e.user.ip_address),!n.did&&!e.did&&(n.did=e.user.id||e.user.email||e.user.username)),n.timestamp=e.timestamp||In(),e.abnormal_mechanism&&(n.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(n.ignoreDuration=e.ignoreDuration),e.sid&&(n.sid=32===e.sid.length?e.sid:F()),void 0!==e.init&&(n.init=e.init),!n.did&&e.did&&(n.did=`${e.did}`),"number"==typeof e.started&&(n.started=e.started),n.ignoreDuration)n.duration=void 0;else if("number"==typeof e.duration)n.duration=e.duration;else{const t=n.timestamp-n.started;n.duration=t>=0?t:0}e.release&&(n.release=e.release),e.environment&&(n.environment=e.environment),!n.ipAddress&&e.ipAddress&&(n.ipAddress=e.ipAddress),!n.userAgent&&e.userAgent&&(n.userAgent=e.userAgent),"number"==typeof e.errors&&(n.errors=e.errors),e.status&&(n.status=e.status)}function jt(n,e){let t={};e?t={status:e}:"ok"===n.status&&(t={status:"exited"}),dn(n,t)}function Ce(n){return n.transaction}function Nt(n){const{spanId:e,traceId:t}=n.spanContext(),{data:o,op:u,parent_span_id:g,status:P,tags:ee,origin:Ae}=zn(n);return X({data:o,op:u,parent_span_id:g,span_id:e,status:P,tags:ee,trace_id:t,origin:Ae})}function zn(n){return function hi(n){return"function"==typeof n.getSpanJSON}(n)?n.getSpanJSON():"function"==typeof n.toJSON?n.toJSON():{}}function mi(n){const{traceFlags:e}=n.spanContext();return Boolean(1&e)}function gi(n,e,t){const o=e.getOptions(),{publicKey:u}=e.getDsn()||{},{segment:g}=t&&t.getUser()||{},P=X({environment:o.environment||v,release:o.release,user_segment:g,public_key:u,trace_id:n});return e.emit&&e.emit("createDsc",P),P}function ki(n){const e=mr();if(!e)return{};const t=gi(zn(n).trace_id||"",e,jr()),o=Ce(n);if(!o)return t;const u=o&&o._frozenDynamicSamplingContext;if(u)return u;const{sampleRate:g,source:P}=o.metadata;null!=g&&(t.sample_rate=`${g}`);const ee=zn(o);return P&&"url"!==P&&(t.transaction=ee.description),t.sampled=String(mi(o)),e.emit&&e.emit("createDsc",t),t}function ji(n,e){const{fingerprint:t,span:o,breadcrumbs:u,sdkProcessingMetadata:g}=e;(function Kn(n,e){const{extra:t,tags:o,user:u,contexts:g,level:P,transactionName:ee}=e,Ae=X(t);Ae&&Object.keys(Ae).length&&(n.extra=un(un({},Ae),n.extra));const tt=X(o);tt&&Object.keys(tt).length&&(n.tags=un(un({},tt),n.tags));const Ot=X(u);Ot&&Object.keys(Ot).length&&(n.user=un(un({},Ot),n.user));const $t=X(g);$t&&Object.keys($t).length&&(n.contexts=un(un({},$t),n.contexts)),P&&(n.level=P),ee&&(n.transaction=ee)})(n,e),o&&function Ji(n,e){n.contexts=un({trace:Nt(e)},n.contexts);const t=Ce(e);if(t){n.sdkProcessingMetadata=un({dynamicSamplingContext:ki(e)},n.sdkProcessingMetadata);const o=zn(t).description;o&&(n.tags=un({transaction:o},n.tags))}}(n,o),function Xi(n,e){n.fingerprint=n.fingerprint?gn(n.fingerprint):[],e&&(n.fingerprint=n.fingerprint.concat(e)),n.fingerprint&&!n.fingerprint.length&&delete n.fingerprint}(n,t),function vi(n,e){const t=[...n.breadcrumbs||[],...e];n.breadcrumbs=t.length?t:void 0}(n,u),function Ai(n,e){n.sdkProcessingMetadata=un(un({},n.sdkProcessingMetadata),e)}(n,g)}function Ki(n,e){const{extra:t,tags:o,user:u,contexts:g,level:P,sdkProcessingMetadata:ee,breadcrumbs:Ae,fingerprint:tt,eventProcessors:Ot,attachments:$t,propagationContext:Tn,transactionName:Dn,span:Pn}=e;Ni(n,"extra",t),Ni(n,"tags",o),Ni(n,"user",u),Ni(n,"contexts",g),Ni(n,"sdkProcessingMetadata",ee),P&&(n.level=P),Dn&&(n.transactionName=Dn),Pn&&(n.span=Pn),Ae.length&&(n.breadcrumbs=[...n.breadcrumbs,...Ae]),tt.length&&(n.fingerprint=[...n.fingerprint,...tt]),Ot.length&&(n.eventProcessors=[...n.eventProcessors,...Ot]),$t.length&&(n.attachments=[...n.attachments,...$t]),n.propagationContext=un(un({},n.propagationContext),Tn)}function Ni(n,e,t){if(t&&Object.keys(t).length){n[e]=un({},n[e]);for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[e][o]=t[o])}}let cn;class qn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=oi()}static clone(e){return e?e.clone():new qn}clone(){const e=new qn;return e._breadcrumbs=[...this._breadcrumbs],e._tags=un({},this._tags),e._extra=un({},this._extra),e._contexts=un({},this._contexts),e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata=un({},this._sdkProcessingMetadata),e._propagationContext=un({},this._propagationContext),e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&dn(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags=un(un({},this._tags),e),this._notifyScopeListeners(),this}setTag(e,t){return this._tags=Oi(un({},this._tags),{[e]:t}),this._notifyScopeListeners(),this}setExtras(e){return this._extra=un(un({},this._extra),e),this._notifyScopeListeners(),this}setExtra(e,t){return this._extra=Oi(un({},this._extra),{[e]:t}),this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e;if(t instanceof qn){const o=t.getScopeData();this._tags=un(un({},this._tags),o.tags),this._extra=un(un({},this._extra),o.extra),this._contexts=un(un({},this._contexts),o.contexts),o.user&&Object.keys(o.user).length&&(this._user=o.user),o.level&&(this._level=o.level),o.fingerprint.length&&(this._fingerprint=o.fingerprint),t.getRequestSession()&&(this._requestSession=t.getRequestSession()),o.propagationContext&&(this._propagationContext=o.propagationContext)}else if(x(t)){const o=e;this._tags=un(un({},this._tags),o.tags),this._extra=un(un({},this._extra),o.extra),this._contexts=un(un({},this._contexts),o.contexts),o.user&&(this._user=o.user),o.level&&(this._level=o.level),o.fingerprint&&(this._fingerprint=o.fingerprint),o.requestSession&&(this._requestSession=o.requestSession),o.propagationContext&&(this._propagationContext=o.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=oi(),this}addBreadcrumb(e,t){const o="number"==typeof t?t:100;if(o<=0)return this;const u=un({timestamp:An()},e),g=this._breadcrumbs;return g.push(u),this._breadcrumbs=g.length>o?g.slice(-o):g,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:e,_attachments:t,_contexts:o,_tags:u,_extra:g,_user:P,_level:ee,_fingerprint:Ae,_eventProcessors:tt,_propagationContext:Ot,_sdkProcessingMetadata:$t,_transactionName:Tn,_span:Dn}=this;return{breadcrumbs:e,attachments:t,contexts:o,tags:u,extra:g,user:P,level:ee,fingerprint:Ae||[],eventProcessors:tt,propagationContext:Ot,sdkProcessingMetadata:$t,transactionName:Tn,span:Dn}}applyToEvent(e,t={},o=[]){return ji(e,this.getScopeData()),Ut([...o,..._t(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=un(un({},this._sdkProcessingMetadata),e),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const o=t&&t.event_id?t.event_id:F();if(!this._client)return V.warn("No client configured on scope - will not capture exception!"),o;const u=new Error("Sentry syntheticException");return this._client.captureException(e,Oi(un({originalException:e,syntheticException:u},t),{event_id:o}),this),o}captureMessage(e,t,o){const u=o&&o.event_id?o.event_id:F();if(!this._client)return V.warn("No client configured on scope - will not capture message!"),u;const g=new Error(e);return this._client.captureMessage(e,t,Oi(un({originalException:e,syntheticException:g},o),{event_id:u}),this),u}captureEvent(e,t){const o=t&&t.event_id?t.event_id:F();return this._client?(this._client.captureEvent(e,Oi(un({},t),{event_id:o}),this),o):(V.warn("No client configured on scope - will not capture event!"),o)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function oi(){return{traceId:F(),spanId:F().substring(16)}}const Xn="7.114.0",Bi=parseFloat(Xn),ir=100;class Yi{constructor(e,t,o,u=Bi){let g,P;this._version=u,t?g=t:(g=new qn,g.setClient(e)),o?P=o:(P=new qn,P.setClient(e)),this._stack=[{scope:g}],e&&this.bindClient(e),this._isolationScope=P}isOlderThan(e){return this._version<e}bindClient(e){const t=this.getStackTop();t.client=e,t.scope.setClient(e),e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(e){const t=this.pushScope();let o;try{o=e(t)}catch(u){throw this.popScope(),u}return j(o)?o.then(u=>(this.popScope(),u),u=>{throw this.popScope(),u}):(this.popScope(),o)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const o=this._lastEventId=t&&t.event_id?t.event_id:F(),u=new Error("Sentry syntheticException");return this.getScope().captureException(e,Oi(un({originalException:e,syntheticException:u},t),{event_id:o})),o}captureMessage(e,t,o){const u=this._lastEventId=o&&o.event_id?o.event_id:F(),g=new Error(e);return this.getScope().captureMessage(e,t,Oi(un({originalException:e,syntheticException:g},o),{event_id:u})),u}captureEvent(e,t){const o=t&&t.event_id?t.event_id:F();return e.type||(this._lastEventId=o),this.getScope().captureEvent(e,Oi(un({},t),{event_id:o})),o}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:o,client:u}=this.getStackTop();if(!u)return;const{beforeBreadcrumb:g=null,maxBreadcrumbs:P=ir}=u.getOptions&&u.getOptions()||{};if(P<=0)return;const ee=An(),Ae=un({timestamp:ee},e),tt=g?Se(()=>g(Ae,t)):Ae;null!==tt&&(u.emit&&u.emit("beforeAddBreadcrumb",tt,t),o.addBreadcrumb(tt,P))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,t){this.getScope().setTag(e,t),this.getIsolationScope().setTag(e,t)}setExtra(e,t){this.getScope().setExtra(e,t),this.getIsolationScope().setExtra(e,t)}setContext(e,t){this.getScope().setContext(e,t),this.getIsolationScope().setContext(e,t)}configureScope(e){const{scope:t,client:o}=this.getStackTop();o&&e(t)}run(e){const t=nn(this);try{e(this)}finally{nn(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(o){return Xt&&V.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){const o=this._callExtensionMethod("startTransaction",e,t);return Xt&&!o&&(this.getClient()?V.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"):V.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),o}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,o=t.getSession();o&&jt(o),this._sendSessionUpdate(),t.setSession()}startSession(e){const{scope:t,client:o}=this.getStackTop(),{release:u,environment:g=v}=o&&o.getOptions()||{},{userAgent:P}=p.navigator||{},ee=Ht(un(un({release:u,environment:g,user:t.getUser()},P&&{userAgent:P}),e)),Ae=t.getSession&&t.getSession();return Ae&&"ok"===Ae.status&&dn(Ae,{status:"exited"}),this.endSession(),t.setSession(ee),ee}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop(),o=e.getSession();o&&t&&t.captureSession&&t.captureSession(o)}_callExtensionMethod(e,...t){const u=Ti().__SENTRY__;if(u&&u.extensions&&"function"==typeof u.extensions[e])return u.extensions[e].apply(this,t);Xt&&V.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function Ti(){return p.__SENTRY__=p.__SENTRY__||{extensions:{},hub:void 0},p}function nn(n){const e=Ti(),t=Ft(e);return En(e,n),t}function Zt(){const n=Ti();if(n.__SENTRY__&&n.__SENTRY__.acs){const e=n.__SENTRY__.acs.getCurrentHub();if(e)return e}return function Et(n=Ti()){return(!function Un(n){return!!(n&&n.__SENTRY__&&n.__SENTRY__.hub)}(n)||Ft(n).isOlderThan(Bi))&&En(n,new Yi),Ft(n)}(n)}function Ct(){return Zt().getIsolationScope()}function Ft(n){return f("hub",()=>new Yi,n)}function En(n,e){return!!n&&((n.__SENTRY__=n.__SENTRY__||{}).hub=e,!0)}const vn=/\(error: (.*)\)/,Ne=/captureMessage|captureException/;function ve(...n){const e=n.sort((t,o)=>t[0]-o[0]).map(t=>t[1]);return(t,o=0)=>{const u=[],g=t.split("\n");for(let P=o;P<g.length;P++){const ee=g[P];if(ee.length>1024)continue;const Ae=vn.test(ee)?ee.replace(vn,"$1"):ee;if(!Ae.match(/\S*Error: /)){for(const tt of e){const Ot=tt(Ae);if(Ot){u.push(Ot);break}}if(u.length>=50)break}}return function Rt(n){if(!n.length)return[];const e=Array.from(n);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),Ne.test(e[e.length-1].function||"")&&(e.pop(),Ne.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,50).map(t=>Oi(un({},t),{filename:t.filename||e[e.length-1].filename,function:t.function||"?"}))}(u)}}function at(n){return Array.isArray(n)?ve(...n):n}const bn="<anonymous>";function Fe(n){try{return n&&"function"==typeof n&&n.name||bn}catch(e){return bn}}function Me(n,e=100,t=1/0){try{return Tt("",n,e,t)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function We(n,e=3,t=102400){const o=Me(n,e);return function E(n){return function je(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(n))}(o)>t?We(n,e-1,t):o}function Tt(n,e,t=1/0,o=1/0,u=function ye(){const n="function"==typeof WeakSet,e=n?new WeakSet:[];return[function t(u){if(n)return!!e.has(u)||(e.add(u),!1);for(let g=0;g<e.length;g++)if(e[g]===u)return!0;return e.push(u),!1},function o(u){if(n)e.delete(u);else for(let g=0;g<e.length;g++)if(e[g]===u){e.splice(g,1);break}}]}()){const[g,P]=u;if(null==e||["number","boolean","string"].includes(typeof e)&&!function le(n){return"number"==typeof n&&n!=n}(e))return e;const ee=function Wt(n,e){try{if("domain"===n&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===n)return"[DomainEmitter]";if("undefined"!=typeof global&&e===global)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if($(e))return"[VueViewModel]";if(function z(n){return x(n)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n}(e))return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if("function"==typeof e)return`[Function: ${Fe(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const t=function _e(n){const e=Object.getPrototypeOf(n);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(t)?`[HTMLElement: ${t}]`:`[object ${t}]`}catch(t){return`**non-serializable** (${t})`}}(n,e);if(!ee.startsWith("[object "))return ee;if(e.__sentry_skip_normalization__)return e;const Ae="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:t;if(0===Ae)return ee.replace("object ","");if(g(e))return"[Circular ~]";const tt=e;if(tt&&"function"==typeof tt.toJSON)try{return Tt("",tt.toJSON(),Ae-1,o,u)}catch(Dn){}const Ot=Array.isArray(e)?[]:{};let $t=0;const Tn=yt(e);for(const Dn in Tn)if(Object.prototype.hasOwnProperty.call(Tn,Dn)){if($t>=o){Ot[Dn]="[MaxProperties ~]";break}Ot[Dn]=Tt(Dn,Tn[Dn],Ae-1,o,u),$t++}return P(e),Ot}const J=new WeakMap;const Mt=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function tn(n,e){return Zt().captureException(n,function mn(n){if(n)return function _n(n){return n instanceof qn||"function"==typeof n}(n)||function pn(n){return Object.keys(n).some(e=>Mt.includes(e))}(n)?{captureContext:n}:n}(e))}function Jn(n,e){return Zt().captureEvent(n,e)}function ti(n,e){Zt().addBreadcrumb(n,e)}function ar(...n){const e=Zt();if(2===n.length){const[t,o]=n;return e.withScope(t?()=>(e.getStackTop().scope=t,o(t)):o)}return e.withScope(n[0])}function mr(){return Zt().getClient()}function jr(){return Zt().getScope()}function _o(n){const e=mr(),t=Ct(),o=jr(),{release:u,environment:g=v}=e&&e.getOptions()||{},{userAgent:P}=p.navigator||{},ee=Ht(un(un({release:u,environment:g,user:o.getUser()||t.getUser()},P&&{userAgent:P}),n)),Ae=t.getSession();return Ae&&"ok"===Ae.status&&dn(Ae,{status:"exited"}),ds(),t.setSession(ee),o.setSession(ee),ee}function ds(){const n=Ct(),e=jr(),t=e.getSession()||n.getSession();t&&jt(t),Qr(),n.setSession(),e.setSession()}function Qr(){const n=Ct(),e=jr(),t=mr(),o=e.getSession()||n.getSession();o&&t&&t.captureSession&&t.captureSession(o)}function vo(n=!1){n?ds():Qr()}const to=[];function Bs(n){const e=n.defaultIntegrations||[],t=n.integrations;let o;e.forEach(P=>{P.isDefaultInstance=!0}),o=Array.isArray(t)?[...e,...t]:"function"==typeof t?gn(t(e)):e;const u=function yo(n){const e={};return n.forEach(t=>{const{name:o}=t,u=e[o];u&&!u.isDefaultInstance&&t.isDefaultInstance||(e[o]=t)}),Object.keys(e).map(t=>e[t])}(o),g=function kn(n,e){for(let t=0;t<n.length;t++)if(!0===e(n[t]))return t;return-1}(u,P=>"Debug"===P.name);if(-1!==g){const[P]=u.splice(g,1);u.push(P)}return u}function Le(n,e){for(const t of e)t&&t.afterAllSetup&&t.afterAllSetup(n)}function De(n,e,t){if(t[e.name])Xt&&V.log(`Integration skipped because it was already installed: ${e.name}`);else{if(t[e.name]=e,-1===to.indexOf(e.name)&&(e.setupOnce(st,Zt),to.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(n),n.on&&"function"==typeof e.preprocessEvent){const o=e.preprocessEvent.bind(e);n.on("preprocessEvent",(u,g)=>o(u,g,n))}if(n.addEventProcessor&&"function"==typeof e.processEvent){const o=e.processEvent.bind(e),u=Object.assign((g,P)=>o(g,P,n),{id:e.name});n.addEventProcessor(u)}Xt&&V.log(`Integration installed: ${e.name}`)}}function pi(n,e){return Object.assign(function(...o){return e(...o)},{id:n})}const is=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],no=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],mt="InboundFilters",Gt=(n={})=>({name:mt,setupOnce(){},processEvent(e,t,o){const u=o.getOptions(),g=function Qa(n={},e={}){return{allowUrls:[...n.allowUrls||[],...e.allowUrls||[]],denyUrls:[...n.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...n.ignoreErrors||[],...e.ignoreErrors||[],...n.disableErrorDefaults?[]:is],ignoreTransactions:[...n.ignoreTransactions||[],...e.ignoreTransactions||[],...n.disableTransactionDefaults?[]:no],ignoreInternal:void 0===n.ignoreInternal||n.ignoreInternal}}(n,u);return function Kr(n,e){return e.ignoreInternal&&function El(n){try{return"SentryError"===n.exception.values[0].type}catch(e){}return!1}(n)?(Xt&&V.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${re(n)}`),!0):function bl(n,e){return!(n.type||!e||!e.length)&&function va(n){const e=[];let t;n.message&&e.push(n.message);try{t=n.exception.values[n.exception.values.length-1]}catch(o){}return t&&t.value&&(e.push(t.value),t.type&&e.push(`${t.type}: ${t.value}`)),Xt&&0===e.length&&V.error(`Could not extract message for event ${re(n)}`),e}(n).some(t=>et(t,e))}(n,e.ignoreErrors)?(Xt&&V.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${re(n)}`),!0):function bo(n,e){if("transaction"!==n.type||!e||!e.length)return!1;const t=n.transaction;return!!t&&et(t,e)}(n,e.ignoreTransactions)?(Xt&&V.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${re(n)}`),!0):function fs(n,e){if(!e||!e.length)return!1;const t=Jo(n);return!!t&&et(t,e)}(n,e.denyUrls)?(Xt&&V.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${re(n)}.\nUrl: ${Jo(n)}`),!0):!function _a(n,e){if(!e||!e.length)return!0;const t=Jo(n);return!t||et(t,e)}(n,e.allowUrls)&&(Xt&&V.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${re(n)}.\nUrl: ${Jo(n)}`),!0)}(e,g)?null:e}});function Jo(n){try{let e;try{e=n.exception.values[0].stacktrace.frames}catch(t){}return e?function Oa(n=[]){for(let e=n.length-1;e>=0;e--){const t=n[e];if(t&&"<anonymous>"!==t.filename&&"[native code]"!==t.filename)return t.filename||null}return null}(e):null}catch(e){return Xt&&V.error(`Cannot extract url for event ${re(n)}`),null}}let Fo;pi(mt,Gt);const es="FunctionToString",io=new WeakMap,Q=()=>({name:es,setupOnce(){Fo=Function.prototype.toString;try{Function.prototype.toString=function(...n){const e=Qt(this),t=io.has(mr())&&void 0!==e?e:this;return Fo.apply(t,n)}}catch(n){}},setup(n){io.set(n,!0)}});pi(es,Q);const on=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Cn(n,e=!1){const{host:t,path:o,pass:u,port:g,projectId:P,protocol:ee,publicKey:Ae}=n;return`${ee}://${Ae}${e&&u?`:${u}`:""}@${t}${g?`:${g}`:""}/${o&&`${o}/`}${P}`}function di(n){return{protocol:n.protocol,publicKey:n.publicKey||"",pass:n.pass||"",host:n.host,port:n.port||"",path:n.path||"",projectId:n.projectId}}function Ui(n){const e="string"==typeof n?function Fn(n){const e=on.exec(n);if(!e)return void Se(()=>{console.error(`Invalid Sentry Dsn: ${n}`)});const[t,o,u="",g,P="",ee]=e.slice(1);let Ae="",tt=ee;const Ot=tt.split("/");if(Ot.length>1&&(Ae=Ot.slice(0,-1).join("/"),tt=Ot.pop()),tt){const $t=tt.match(/^\d+/);$t&&(tt=$t[0])}return di({host:g,pass:u,path:Ae,projectId:tt,port:P,protocol:t,publicKey:o})}(n):di(n);if(e&&function Si(n){if(!Ie)return!0;const{port:e,projectId:t,protocol:o}=n;return!(["protocol","publicKey","host","projectId"].find(P=>!n[P]&&(V.error(`Invalid Sentry Dsn: ${P} missing`),!0))||(t.match(/^\d+$/)?function an(n){return"http"===n||"https"===n}(o)?e&&isNaN(parseInt(e,10))&&(V.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(V.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(V.error(`Invalid Sentry Dsn: Invalid projectId ${t}`),1)))}(e))return e}function xi(n){return`${n.protocol?`${n.protocol}:`:""}//${n.host}${n.port?`:${n.port}`:""}${n.path?`/${n.path}`:""}/api/`}function Br(n,e={}){const o="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return("string"==typeof e?e:e.tunnel)||`${function zi(n){return`${xi(n)}${n.projectId}/envelope/`}(n)}?${function Cr(n,e){return function gt(n){return Object.keys(n).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`).join("&")}(un({sentry_key:n.publicKey,sentry_version:"7"},e&&{sentry_client:`${e.name}/${e.version}`}))}(n,o)}`}const $r=C();function Wi(){if(!("fetch"in $r))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(n){return!1}}function ms(n){return n&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(n.toString())}const so=C(),_s={},zs={};function ui(n,e){_s[n]=_s[n]||[],_s[n].push(e)}function wi(n,e){zs[n]||(e(),zs[n]=!0)}function Hi(n,e){const t=n&&_s[n];if(t)for(const o of t)try{o(e)}catch(u){Ie&&V.error(`Error while triggering instrumentation handler.\nType: ${n}\nName: ${Fe(o)}\nError:`,u)}}const ue=p;let nt;function Pe(n){const e="history";ui(e,n),wi(e,xt)}function xt(){if(!function oo(){const n=so.chrome;return!(n&&n.app&&n.app.runtime||!("history"in so)||!so.history.pushState||!so.history.replaceState)}())return;const n=ue.onpopstate;function e(t){return function(...o){const u=o.length>2?o[2]:void 0;if(u){const g=nt,P=String(u);nt=P,Hi("history",{from:g,to:P})}return t.apply(this,o)}}ue.onpopstate=function(...t){const o=ue.location.href,u=nt;if(nt=o,Hi("history",{from:u,to:o}),n)try{return n.apply(this,t)}catch(P){}},de(ue.history,"pushState",e),de(ue.history,"replaceState",e)}function Kt(n,e=[]){return[n,e]}function Mn(n,e){const[t,o]=n;return[t,[...o,e]]}function Gn(n,e){const t=n[1];for(const o of t)if(e(o,o[0].type))return!0;return!1}function qi(n,e){return(e||new TextEncoder).encode(n)}function rr(n,e){const[t,o]=n;let u=JSON.stringify(t);function g(P){"string"==typeof u?u="string"==typeof P?u+P:[qi(u,e),P]:u.push("string"==typeof P?qi(P,e):P)}for(const P of o){const[ee,Ae]=P;if(g(`\n${JSON.stringify(ee)}\n`),"string"==typeof Ae||Ae instanceof Uint8Array)g(Ae);else{let tt;try{tt=JSON.stringify(Ae)}catch(Ot){tt=JSON.stringify(Me(Ae))}g(tt)}}return"string"==typeof u?u:function tr(n){const e=n.reduce((u,g)=>u+g.length,0),t=new Uint8Array(e);let o=0;for(const u of n)t.set(u,o),o+=u.length;return t}(u)}function Gr(n,e){const t="string"==typeof n.data?qi(n.data,e):n.data;return[X({type:"attachment",length:t.length,filename:n.filename,content_type:n.contentType,attachment_type:n.attachmentType}),t]}const Dr={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function ts(n){return Dr[n]}function Eo(n){if(!n||!n.sdk)return;const{name:e,version:t}=n.sdk;return{name:e,version:t}}class ss extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const hr="Not capturing exception because it's already been captured.";function Co(n){return void 0===n.type}function So(n){return"transaction"===n.type}function tu(n,e,t=[e],o="npm"){const u=n._metadata||{};u.sdk||(u.sdk={name:`sentry.javascript.${e}`,packages:t.map(g=>({name:`${o}:@sentry/${g}`,version:Xn})),version:Xn}),n._metadata=u}const Do="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function vd(n,e){const t=Za(n,e),o={type:e&&e.name,value:Lp(e)};return t.length&&(o.stacktrace={frames:t}),void 0===o.type&&""===o.value&&(o.value="Unrecoverable error caught"),o}function qa(n,e){return{exception:{values:[vd(n,e)]}}}function Za(n,e){const t=e.stacktrace||e.stack||"",o=function Lg(n){if(n){if("number"==typeof n.framesToPop)return n.framesToPop;if(ec.test(n.message))return 1}return 0}(e);try{return n(t,o)}catch(u){}return[]}const ec=/Minified React error #\d+;/i;function Lp(n){const e=n&&n.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function bd(n,e,t,o,u){let g;if(L(e)&&e.error)return qa(n,e.error);if(M(e)||function D(n){return I(n,"DOMException")}(e)){const P=e;if("stack"in e)g=qa(n,e);else{const ee=P.name||(M(P)?"DOMError":"DOMException"),Ae=P.message?`${ee}: ${P.message}`:ee;g=Zr(n,Ae,t,o),Oe(g,Ae)}return"code"in P&&(g.tags=Oi(un({},g.tags),{"DOMException.code":`${P.code}`})),g}return m(e)?qa(n,e):x(e)||w(e)?(g=function kp(n,e,t,o){const u=mr(),g=u&&u.getOptions().normalizeDepth,P={exception:{values:[{type:w(e)?e.constructor.name:o?"UnhandledRejection":"Error",value:Gb(e,{isUnhandledRejection:o})}]},extra:{__serialized__:We(e,g)}};if(t){const ee=Za(n,t);ee.length&&(P.exception.values[0].stacktrace={frames:ee})}return P}(n,e,t,u),Ye(g,{synthetic:!0}),g):(g=Zr(n,e,t,o),Oe(g,`${e}`,void 0),Ye(g,{synthetic:!0}),g)}function Zr(n,e,t,o){const u={};if(o&&t){const g=Za(n,t);g.length&&(u.exception={values:[{value:e,stacktrace:{frames:g}}]})}if(B(e)){const{__sentry_template_string__:g,__sentry_template_values__:P}=e;return u.logentry={message:g,params:P},u}return u.message=e,u}function Gb(n,{isUnhandledRejection:e}){const t=function Xe(n,e=40){const t=Object.keys(yt(n));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=e)return U(t[0],e);for(let o=t.length;o>0;o--){const u=t.slice(0,o).join(", ");if(!(u.length>e))return o===t.length?u:U(u,e)}return""}(n),o=e?"promise rejection":"exception";return L(n)?`Event \`ErrorEvent\` captured as ${o} with message \`${n.message}\``:w(n)?`Event \`${function kS(n){try{const e=Object.getPrototypeOf(n);return e?e.constructor.name:void 0}catch(e){}}(n)}\` (type=${n.type}) captured as ${o}`:`Object captured as ${o} with keys: ${t}`}const Tr=p;let Fg=0;function Ng(){return Fg>0}function LS(){Fg++,setTimeout(()=>{Fg--})}function nc(n,e={},t){if("function"!=typeof n)return n;try{const u=n.__sentry_wrapped__;if(u)return u;if(Qt(n))return n}catch(u){return n}const o=function(){const u=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);const g=u.map(P=>nc(P,e));return n.apply(this,g)}catch(g){throw LS(),ar(P=>{P.addEventProcessor(ee=>(e.mechanism&&(Oe(ee,void 0,void 0),Ye(ee,e.mechanism)),ee.extra=Oi(un({},ee.extra),{arguments:u}),ee)),tn(g)}),g}};try{for(const u in n)Object.prototype.hasOwnProperty.call(n,u)&&(o[u]=n[u])}catch(u){}St(o,n),lt(n,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>n.name})}catch(u){}return o}class ys extends class Pi{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=Ui(e.dsn):Xt&&V.warn("No DSN provided, client will not send events."),this._dsn){const t=Br(this._dsn,e);this._transport=e.transport(Oi(un({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{url:t}))}}captureException(e,t,o){if(hn(e))return void(Xt&&V.log(hr));let u=t&&t.event_id;return this._process(this.eventFromException(e,t).then(g=>this._captureEvent(g,t,o)).then(g=>{u=g})),u}captureMessage(e,t,o,u){let g=o&&o.event_id;const P=B(e)?e:String(e),ee=R(e)?this.eventFromMessage(P,t,o):this.eventFromException(e,o);return this._process(ee.then(Ae=>this._captureEvent(Ae,o,u)).then(Ae=>{g=Ae})),g}captureEvent(e,t,o){if(t&&t.originalException&&hn(t.originalException))return void(Xt&&V.log(hr));let u=t&&t.event_id;return this._process(this._captureEvent(e,t,(e.sdkProcessingMetadata||{}).capturedSpanScope||o).then(ee=>{u=ee})),u}captureSession(e){"string"!=typeof e.release?Xt&&V.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),dn(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(o=>t.flush(e).then(u=>o&&u))):ht(!0)}close(e){return this.flush(e).then(t=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),t))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return Xt&&V.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){const t=this._integrations[e.name];De(this,e,this._integrations),t||Le(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let o=function Xo(n,e,t,o){const u=Eo(t),g=n.type&&"replay_event"!==n.type?n.type:"event";!function ws(n,e){e&&(n.sdk=n.sdk||{},n.sdk.name=n.sdk.name||e.name,n.sdk.version=n.sdk.version||e.version,n.sdk.integrations=[...n.sdk.integrations||[],...e.integrations||[]],n.sdk.packages=[...n.sdk.packages||[],...e.packages||[]])}(n,t&&t.sdk);const P=function vs(n,e,t,o){const u=n.sdkProcessingMetadata&&n.sdkProcessingMetadata.dynamicSamplingContext;return un(un(un({event_id:n.event_id,sent_at:(new Date).toISOString()},e&&{sdk:e}),!!t&&o&&{dsn:Cn(o)}),u&&{trace:X(un({},u))})}(n,u,o,e);return delete n.sdkProcessingMetadata,Kt(P,[[{type:g},n]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const g of t.attachments||[])o=Mn(o,Gr(g,this._options.transportOptions&&this._options.transportOptions.textEncoder));const u=this._sendEnvelope(o);u&&u.then(g=>this.emit("afterSendEvent",e,g),null)}sendSession(e){const t=function ya(n,e,t,o){const u=Eo(t);return Kt(un(un({sent_at:(new Date).toISOString()},u&&{sdk:u}),!!o&&e&&{dsn:Cn(e)}),["aggregates"in n?[{type:"sessions"},n]:[{type:"session"},n.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}recordDroppedEvent(e,t,o){if(this._options.sendClientReports){const u=`${e}:${t}`;Xt&&V.log(`Adding outcome: "${u}"`),this._outcomes[u]=this._outcomes[u]+1||1}}captureAggregateMetrics(e){Xt&&V.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);const t=function jn(n,e,t,o){const u={sent_at:(new Date).toISOString()};t&&t.sdk&&(u.sdk={name:t.sdk.name,version:t.sdk.version}),o&&e&&(u.dsn=Cn(e));const g=function yi(n){const e=function Te(n){let e="";for(const t of n){const o=Object.entries(t.tags),u=o.length>0?`|#${o.map(([g,P])=>`${g}:${P}`).join(",")}`:"";e+=`${t.name}@${t.unit}:${t.metric}|${t.metricType}${u}|T${t.timestamp}\n`}return e}(n);return[{type:"statsd",length:e.length},e]}(n);return Kt(u,[g])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(o=>o(...t))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function qe(n,e){const t={};return e.forEach(o=>{o&&De(n,o,t)}),t}(this,e),Le(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,t){let o=!1,u=!1;const g=t.exception&&t.exception.values;if(g){u=!0;for(const Ae of g){const tt=Ae.mechanism;if(tt&&!1===tt.handled){o=!0;break}}}const P="ok"===e.status;(P&&0===e.errors||P&&o)&&(dn(e,Oi(un({},o&&{status:"crashed"}),{errors:e.errors||Number(u||o)})),this.captureSession(e))}_isClientDoneProcessing(e){return new Ze(t=>{let o=0;const g=setInterval(()=>{0==this._numProcessing?(clearInterval(g),t(!0)):(o+=1,e&&o>=e&&(clearInterval(g),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,o,u=Ct()){const g=this.getOptions(),P=Object.keys(this._integrations);return!t.integrations&&P.length>0&&(t.integrations=P),this.emit("preprocessEvent",e,t),function O(n,e,t,o,u,g){const{normalizeDepth:P=3,normalizeMaxBreadth:ee=1e3}=n,Ae=Oi(un({},e),{event_id:e.event_id||t.event_id||F(),timestamp:e.timestamp||An()}),tt=t.integrations||n.integrations.map(ei=>ei.name);(function T(n,e){const{environment:t,release:o,dist:u,maxValueLength:g=250}=e;"environment"in n||(n.environment="environment"in e?t:v),void 0===n.release&&void 0!==o&&(n.release=o),void 0===n.dist&&void 0!==u&&(n.dist=u),n.message&&(n.message=U(n.message,g));const P=n.exception&&n.exception.values&&n.exception.values[0];P&&P.value&&(P.value=U(P.value,g));const ee=n.request;ee&&ee.url&&(ee.url=U(ee.url,g))})(Ae,n),function bt(n,e){e.length>0&&(n.sdk=n.sdk||{},n.sdk.integrations=[...n.sdk.integrations||[],...e])}(Ae,tt),void 0===e.type&&function me(n,e){const t=p._sentryDebugIds;if(!t)return;let o;const u=J.get(e);u?o=u:(o=new Map,J.set(e,o));const g=Object.keys(t).reduce((P,ee)=>{let Ae;const tt=o.get(ee);tt?Ae=tt:(Ae=e(ee),o.set(ee,Ae));for(let Ot=Ae.length-1;Ot>=0;Ot--){const $t=Ae[Ot];if($t.filename){P[$t.filename]=t[ee];break}}return P},{});try{n.exception.values.forEach(P=>{P.stacktrace.frames.forEach(ee=>{ee.filename&&(ee.debug_id=g[ee.filename])})})}catch(P){}}(Ae,n.stackParser);const Ot=function qt(n,e){if(!e)return n;const t=n?n.clone():new qn;return t.update(e),t}(o,t.captureContext);t.mechanism&&Ye(Ae,t.mechanism);const $t=u&&u.getEventProcessors?u.getEventProcessors():[],Tn=function Qn(){return cn||(cn=new qn),cn}().getScopeData();g&&Ki(Tn,g.getScopeData()),Ot&&Ki(Tn,Ot.getScopeData());const Dn=[...t.attachments||[],...Tn.attachments];return Dn.length&&(t.attachments=Dn),ji(Ae,Tn),Ut([...$t,..._t(),...Tn.eventProcessors],Ae,t).then(ei=>(ei&&function pt(n){const e={};try{n.exception.values.forEach(o=>{o.stacktrace.frames.forEach(u=>{u.debug_id&&(u.abs_path?e[u.abs_path]=u.debug_id:u.filename&&(e[u.filename]=u.debug_id),delete u.debug_id)})})}catch(o){}if(0===Object.keys(e).length)return;n.debug_meta=n.debug_meta||{},n.debug_meta.images=n.debug_meta.images||[];const t=n.debug_meta.images;Object.keys(e).forEach(o=>{t.push({type:"sourcemap",code_file:o,debug_id:e[o]})})}(ei),"number"==typeof P&&P>0?function It(n,e,t){if(!n)return null;const o=un(un(un(un(un({},n),n.breadcrumbs&&{breadcrumbs:n.breadcrumbs.map(u=>un(un({},u),u.data&&{data:Me(u.data,e,t)}))}),n.user&&{user:Me(n.user,e,t)}),n.contexts&&{contexts:Me(n.contexts,e,t)}),n.extra&&{extra:Me(n.extra,e,t)});return n.contexts&&n.contexts.trace&&o.contexts&&(o.contexts.trace=n.contexts.trace,n.contexts.trace.data&&(o.contexts.trace.data=Me(n.contexts.trace.data,e,t))),n.spans&&(o.spans=n.spans.map(u=>{const g=zn(u).data;return g&&(u.data=Me(g,e,t)),u})),o}(ei,P,ee):ei))}(g,e,t,o,this,u).then(ee=>{if(null===ee)return ee;const Ae=un(un({},u.getPropagationContext()),o?o.getPropagationContext():void 0);if((!ee.contexts||!ee.contexts.trace)&&Ae){const{traceId:Ot,spanId:$t,parentSpanId:Tn,dsc:Dn}=Ae;ee.contexts=un({trace:{trace_id:Ot,span_id:$t,parent_span_id:Tn}},ee.contexts);const Pn=Dn||gi(Ot,this,o);ee.sdkProcessingMetadata=un({dynamicSamplingContext:Pn},ee.sdkProcessingMetadata)}return ee})}_captureEvent(e,t={},o){return this._processEvent(e,t,o).then(u=>u.event_id,u=>{if(Xt){const g=u;"log"===g.logLevel?V.log(g.message):V.warn(g)}})}_processEvent(e,t,o){const u=this.getOptions(),{sampleRate:g}=u,P=So(e),ee=Co(e),Ae=e.type||"error",tt=`before send for type \`${Ae}\``;if(ee&&"number"==typeof g&&Math.random()>g)return this.recordDroppedEvent("sample_rate","error",e),be(new ss(`Discarding event because it's not included in the random sample (sampling rate = ${g})`,"log"));const Ot="replay_event"===Ae?"replay":Ae;return this._prepareEvent(e,t,o,(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope).then(Dn=>{if(null===Dn)throw this.recordDroppedEvent("event_processor",Ot,e),new ss("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return Dn;const Zn=function wr(n,e,t){const{beforeSend:o,beforeSendTransaction:u}=n;return Co(e)&&o?o(e,t):So(e)&&u?u(e,t):e}(u,Dn,t);return function Mr(n,e){const t=`${e} must return \`null\` or a valid event.`;if(j(n))return n.then(o=>{if(!x(o)&&null!==o)throw new ss(t);return o},o=>{throw new ss(`${e} rejected with ${o}`)});if(!x(n)&&null!==n)throw new ss(t);return n}(Zn,tt)}).then(Dn=>{if(null===Dn)throw this.recordDroppedEvent("before_send",Ot,e),new ss(`${tt} returned \`null\`, will not send event.`,"log");const Pn=o&&o.getSession();!P&&Pn&&this._updateSessionFromEvent(Pn,Dn);const Zn=Dn.transaction_info;if(P&&Zn&&Dn.transaction!==e.transaction){const ei="custom";Dn.transaction_info=Oi(un({},Zn),{source:ei})}return this.sendEvent(Dn,t),Dn}).then(null,Dn=>{throw Dn instanceof ss?Dn:(this.captureException(Dn,{data:{__sentry__:!0},originalException:Dn}),new ss(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${Dn}`))})}_process(e){this._numProcessing++,e.then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,t=>{Xt&&V.error("Error while sending event:",t)});Xt&&V.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{const[o,u]=t.split(":");return{reason:o,category:u,quantity:e[t]}})}}{constructor(e){tu(e,"browser",["browser"],Tr.SENTRY_SDK_SOURCE||"npm"),super(e),e.sendClientReports&&Tr.document&&Tr.document.addEventListener("visibilitychange",()=>{"hidden"===Tr.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function tc(n,e,t,o){const g=bd(n,e,t&&t.syntheticException||void 0,o);return Ye(g),g.level="error",t&&t.event_id&&(g.event_id=t.event_id),ht(g)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",o){return function yd(n,e,t="info",o,u){const P=Zr(n,e,o&&o.syntheticException||void 0,u);return P.level=t,o&&o.event_id&&(P.event_id=o.event_id),ht(P)}(this._options.stackParser,e,t,o,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(Do&&V.warn("SDK not enabled, will not capture user feedback."));const t=function nu(n,{metadata:e,tunnel:t,dsn:o}){const u=un(un({event_id:n.event_id,sent_at:(new Date).toISOString()},e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}}),!!t&&!!o&&{dsn:Cn(o)}),g=function FS(n){return[{type:"user_report"},n]}(n);return Kt(u,[g])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(t)}_prepareEvent(e,t,o){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,o)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(Do&&V.log("No outcomes to send"));if(!this._dsn)return void(Do&&V.log("No dsn provided, will not send outcomes"));Do&&V.log("Sending outcomes:",e);const t=function Xl(n,e,t){return Kt(e?{dsn:e}:{},[[{type:"client_report"},{timestamp:t||An(),discarded_events:n}]])}(e,this._options.tunnel&&Cn(this._dsn));this._sendEnvelope(t)}}function iu(){"console"in p&&Ge.forEach(function(n){n in p.console&&de(p.console,n,function(e){return it[n]=e,function(...t){Hi("console",{args:t,level:n});const u=it[n];u&&u.apply(p.console,t)}})})}const ru=p;let To,No,Ed;function su(){if(!ru.document)return;const n=Hi.bind(null,"dom"),e=Ug(n,!0);ru.document.addEventListener("click",e,!1),ru.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(t=>{const o=ru[t]&&ru[t].prototype;!o||!o.hasOwnProperty||!o.hasOwnProperty("addEventListener")||(de(o,"addEventListener",function(u){return function(g,P,ee){if("click"===g||"keypress"==g)try{const Ae=this,tt=Ae.__sentry_instrumentation_handlers__=Ae.__sentry_instrumentation_handlers__||{},Ot=tt[g]=tt[g]||{refCount:0};if(!Ot.handler){const $t=Ug(n);Ot.handler=$t,u.call(this,g,$t,ee)}Ot.refCount++}catch(Ae){}return u.call(this,g,P,ee)}}),de(o,"removeEventListener",function(u){return function(g,P,ee){if("click"===g||"keypress"==g)try{const Ae=this,tt=Ae.__sentry_instrumentation_handlers__||{},Ot=tt[g];Ot&&(Ot.refCount--,Ot.refCount<=0&&(u.call(this,g,Ot.handler,ee),Ot.handler=void 0,delete tt[g]),0===Object.keys(tt).length&&delete Ae.__sentry_instrumentation_handlers__)}catch(Ae){}return u.call(this,g,P,ee)}}))})}function Ug(n,e=!1){return t=>{if(!t||t._sentryCaptured)return;const o=function NS(n){try{return n.target}catch(e){return null}}(t);if(function Wb(n,e){return!("keypress"!==n||e&&e.tagName&&("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable))}(t.type,o))return;lt(t,"_sentryCaptured",!0),o&&!o._sentryId&&lt(o,"_sentryId",F());const u="keypress"===t.type?"input":t.type;(function Bg(n){if(n.type!==No)return!1;try{if(!n.target||n.target._sentryId!==Ed)return!1}catch(e){}return!0})(t)||(n({event:t,name:u,global:e}),No=t.type,Ed=o?o._sentryId:void 0),clearTimeout(To),To=ru.setTimeout(()=>{Ed=void 0,No=void 0},1e3)}}const BS=p,ic="__sentry_xhr_v3__";function Np(){if(!BS.XMLHttpRequest)return;const n=XMLHttpRequest.prototype;de(n,"open",function(e){return function(...t){const o=Date.now(),u=A(t[0])?t[0].toUpperCase():void 0,g=function rc(n){if(A(n))return n;try{return n.toString()}catch(e){}}(t[1]);if(!u||!g)return e.apply(this,t);this[ic]={method:u,url:g,request_headers:{}},"POST"===u&&g.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const P=()=>{const ee=this[ic];if(ee&&4===this.readyState){try{ee.status_code=this.status}catch(tt){}Hi("xhr",{args:[u,g],endTimestamp:Date.now(),startTimestamp:o,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?de(this,"onreadystatechange",function(ee){return function(...Ae){return P(),ee.apply(this,Ae)}}):this.addEventListener("readystatechange",P),de(this,"setRequestHeader",function(ee){return function(...Ae){const[tt,Ot]=Ae,$t=this[ic];return $t&&A(tt)&&A(Ot)&&($t.request_headers[tt.toLowerCase()]=Ot),ee.apply(this,Ae)}}),e.apply(this,t)}}),de(n,"send",function(e){return function(...t){const o=this[ic];return o?(void 0!==t[0]&&(o.body=t[0]),Hi("xhr",{args:[o.method,o.url],startTimestamp:Date.now(),xhr:this}),e.apply(this,t)):e.apply(this,t)}})}function Vg(){!function ro(){if("string"==typeof EdgeRuntime)return!0;if(!Wi())return!1;if(ms($r.fetch))return!0;let n=!1;const e=$r.document;if(e&&"function"==typeof e.createElement)try{const t=e.createElement("iframe");t.hidden=!0,e.head.appendChild(t),t.contentWindow&&t.contentWindow.fetch&&(n=ms(t.contentWindow.fetch)),e.head.removeChild(t)}catch(t){Ie&&V.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return n}()||de(p,"fetch",function(n){return function(...e){const{method:t,url:o}=function Yb(n){if(0===n.length)return{method:"GET",url:""};if(2===n.length){const[t,o]=n;return{url:jg(t),method:Bp(o,"method")?String(o.method).toUpperCase():"GET"}}const e=n[0];return{url:jg(e),method:Bp(e,"method")?String(e.method).toUpperCase():"GET"}}(e),u={args:e,fetchData:{method:t,url:o},startTimestamp:Date.now()};return Hi("fetch",un({},u)),n.apply(p,e).then(g=>(Hi("fetch",Oi(un({},u),{endTimestamp:Date.now(),response:g})),g),g=>{throw Hi("fetch",Oi(un({},u),{endTimestamp:Date.now(),error:g})),g})}})}function Bp(n,e){return!!n&&"object"==typeof n&&!!n[e]}function jg(n){return"string"==typeof n?n:n?Bp(n,"url")?n.url:n.toString?n.toString():"":""}const Qb=["fatal","error","warning","log","info","debug"];function Up(n){return"warn"===n?"warning":Qb.includes(n)?n:"log"}function ou(n){if(!n)return{};const e=n.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const t=e[6]||"",o=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:t,hash:o,relative:e[5]+t+o}}const au="Breadcrumbs",$g=(n={})=>{const e=un({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},n);return{name:au,setupOnce(){},setup(t){e.console&&function Fp(n){const e="console";ui(e,n),wi(e,iu)}(function lu(n){return function(t){if(mr()!==n)return;const o={category:"console",data:{arguments:t.args,logger:"console"},level:Up(t.level),message:pe(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;o.message=`Assertion failed: ${pe(t.args.slice(1)," ")||"console.assert"}`,o.data.arguments=t.args.slice(1)}ti(o,{input:t.args,level:t.level})}}(t)),e.dom&&function Cd(n){ui("dom",n),wi("dom",su)}(function Kb(n,e){return function(o){if(mr()!==n)return;let u,g,P="object"==typeof e?e.serializeAttribute:void 0,ee="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;ee&&ee>1024&&(Do&&V.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${ee} was configured. Sentry will use 1024 instead.`),ee=1024),"string"==typeof P&&(P=[P]);try{const tt=o.event,Ot=function zg(n){return!!n&&!!n.target}(tt)?tt.target:tt;u=ge(Ot,{keyAttrs:P,maxStringLength:ee}),g=function Ee(n){if(!y.HTMLElement)return null;let e=n;for(let o=0;o<5;o++){if(!e)return null;if(e instanceof HTMLElement&&e.dataset.sentryComponent)return e.dataset.sentryComponent;e=e.parentNode}return null}(Ot)}catch(tt){u="<unknown>"}if(0===u.length)return;const Ae={category:`ui.${o.name}`,message:u};g&&(Ae.data={"ui.component_name":g}),ti(Ae,{event:o.event,name:o.name,global:o.global})}}(t,e.dom)),e.xhr&&function xo(n){ui("xhr",n),wi("xhr",Np)}(function Gg(n){return function(t){if(mr()!==n)return;const{startTimestamp:o,endTimestamp:u}=t,g=t.xhr[ic];if(!o||!u||!g)return;const{method:P,url:ee,status_code:Ae,body:tt}=g;ti({category:"xhr",data:{method:P,url:ee,status_code:Ae},type:"http"},{xhr:t.xhr,input:tt,startTimestamp:o,endTimestamp:u})}}(t)),e.fetch&&function US(n){const e="fetch";ui(e,n),wi(e,Vg)}(function qb(n){return function(t){if(mr()!==n)return;const{startTimestamp:o,endTimestamp:u}=t;if(u&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error)ti({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:o,endTimestamp:u});else{const g=t.response;ti({category:"fetch",data:Oi(un({},t.fetchData),{status_code:g&&g.status}),type:"http"},{input:t.args,response:g,startTimestamp:o,endTimestamp:u})}}}(t)),e.history&&Pe(function Ps(n){return function(t){if(mr()!==n)return;let o=t.from,u=t.to;const g=ou(Tr.location.href);let P=o?ou(o):void 0;const ee=ou(u);(!P||!P.path)&&(P=g),g.protocol===ee.protocol&&g.host===ee.host&&(u=ee.relative),g.protocol===P.protocol&&g.host===P.host&&(o=P.relative),ti({category:"navigation",data:{from:o,to:u}})}}(t)),e.sentry&&t.on&&t.on("beforeSendEvent",function Hg(n){return function(t){mr()===n&&ti({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:re(t)},{event:t})}}(t))}}};pi(au,$g);const oc=()=>{let n;return{name:"Dedupe",setupOnce(){},processEvent(e){if(e.type)return e;try{if(function Zb(n,e){return!(!e||!function Jb(n,e){const t=n.message,o=e.message;return!(!t&&!o||t&&!o||!t&&o||t!==o||!jp(n,e)||!ac(n,e))}(n,e)&&!function Td(n,e){const t=lc(e),o=lc(n);return!!(t&&o&&t.type===o.type&&t.value===o.value&&jp(n,e)&&ac(n,e))}(n,e))}(e,n))return Do&&V.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return n=e}}};function ac(n,e){let t=Yg(n),o=Yg(e);if(!t&&!o)return!0;if(t&&!o||!t&&o||o.length!==t.length)return!1;for(let u=0;u<o.length;u++){const g=o[u],P=t[u];if(g.filename!==P.filename||g.lineno!==P.lineno||g.colno!==P.colno||g.function!==P.function)return!1}return!0}function jp(n,e){let t=n.fingerprint,o=e.fingerprint;if(!t&&!o)return!0;if(t&&!o||!t&&o)return!1;try{return t.join("")===o.join("")}catch(u){return!1}}function lc(n){return n.exception&&n.exception.values&&n.exception.values[0]}function Yg(n){const e=n.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}pi("Dedupe",oc);let cu=null;function xd(){cu=p.onerror,p.onerror=function(n,e,t,o,u){return Hi("error",{column:o,error:u,line:t,msg:n,url:e}),!(!cu||cu.__SENTRY_LOADER__)&&cu.apply(this,arguments)},p.onerror.__SENTRY_INSTRUMENTED__=!0}let uu=null;function eE(){uu=p.onunhandledrejection,p.onunhandledrejection=function(n){return Hi("unhandledrejection",n),!(uu&&!uu.__SENTRY_LOADER__)||uu.apply(this,arguments)},p.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Sl="GlobalHandlers",Qg=(n={})=>{const e=un({onerror:!0,onunhandledrejection:!0},n);return{name:Sl,setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(function Kg(n){!function $p(n){const e="error";ui(e,n),wi(e,xd)}(e=>{const{stackParser:t,attachStacktrace:o}=rE();if(mr()!==n||Ng())return;const{msg:u,url:g,line:P,column:ee,error:Ae}=e,tt=void 0===Ae&&A(u)?function iE(n,e,t,o){let g=L(n)?n.message:n,P="Error";const ee=g.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return ee&&(P=ee[1],g=ee[2]),qg({exception:{values:[{type:P,value:g}]}},e,t,o)}(u,g,P,ee):qg(bd(t,Ae||u,void 0,o,!1),g,P,ee);tt.level="error",Jn(tt,{originalException:Ae,mechanism:{handled:!1,type:"onerror"}})})}(t),Zg("onerror")),e.onunhandledrejection&&(function tE(n){!function Xb(n){const e="unhandledrejection";ui(e,n),wi(e,eE)}(e=>{const{stackParser:t,attachStacktrace:o}=rE();if(mr()!==n||Ng())return;const u=function GS(n){if(R(n))return n;const e=n;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(t){}return n}(e),g=R(u)?function nE(n){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}}(u):bd(t,u,void 0,o,!0);g.level="error",Jn(g,{originalException:u,mechanism:{handled:!1,type:"onunhandledrejection"}})})}(t),Zg("onunhandledrejection"))}}};function qg(n,e,t,o){const u=n.exception=n.exception||{},g=u.values=u.values||[],P=g[0]=g[0]||{},ee=P.stacktrace=P.stacktrace||{},Ae=ee.frames=ee.frames||[],tt=isNaN(parseInt(o,10))?void 0:o,Ot=isNaN(parseInt(t,10))?void 0:t,$t=A(e)&&e.length>0?e:function $e(){try{return y.document.location.href}catch(n){return""}}();return 0===Ae.length&&Ae.push({colno:tt,filename:$t,function:"?",in_app:!0,lineno:Ot}),n}function Zg(n){Do&&V.log(`Global Handler attached: ${n}`)}function rE(){const n=mr();return n&&n.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}pi(Sl,Qg);const ea="HttpContext",Jg=()=>({name:ea,setupOnce(){},preprocessEvent(n){if(!Tr.navigator&&!Tr.location&&!Tr.document)return;const e=n.request&&n.request.url||Tr.location&&Tr.location.href,{referrer:t}=Tr.document||{},{userAgent:o}=Tr.navigator||{},u=un(un(un({},n.request&&n.request.headers),t&&{Referer:t}),o&&{"User-Agent":o}),g=Oi(un(un({},n.request),e&&{url:e}),{headers:u});n.request=g}});function Xg(n,e,t=250,o,u,g,P){if(!(g.exception&&g.exception.values&&P&&oe(P.originalException,Error)))return;const ee=g.exception.values.length>0?g.exception.values[g.exception.values.length-1]:void 0;ee&&(g.exception.values=function e_(n,e){return n.map(t=>(t.value&&(t.value=U(t.value,e)),t))}(Os(n,e,u,P.originalException,o,g.exception.values,ee,0),t))}function Os(n,e,t,o,u,g,P,ee){if(g.length>=t+1)return g;let Ae=[...g];if(oe(o[u],Error)){wd(P,ee);const tt=n(e,o[u]),Ot=Ae.length;Hp(tt,u,Ot,ee),Ae=Os(n,e,t,o[u],u,[tt,...Ae],tt,Ot)}return Array.isArray(o.errors)&&o.errors.forEach((tt,Ot)=>{if(oe(tt,Error)){wd(P,ee);const $t=n(e,tt),Tn=Ae.length;Hp($t,`errors[${Ot}]`,Tn,ee),Ae=Os(n,e,t,tt,u,[$t,...Ae],$t,Tn)}}),Ae}function wd(n,e){n.mechanism=n.mechanism||{type:"generic",handled:!0},n.mechanism=Oi(un(un({},n.mechanism),"AggregateError"===n.type&&{is_exception_group:!0}),{exception_id:e})}function Hp(n,e,t,o){n.mechanism=n.mechanism||{type:"generic",handled:!0},n.mechanism=Oi(un({},n.mechanism),{type:"chained",source:e,exception_id:t,parent_id:o})}pi(ea,Jg);const Pd="LinkedErrors",t_=(n={})=>{const e=n.limit||5,t=n.key||"cause";return{name:Pd,setupOnce(){},preprocessEvent(o,u,g){const P=g.getOptions();Xg(vd,P.stackParser,P.maxValueLength,t,e,o,u)}}},oE=(pi(Pd,t_),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"]),Gp="TryCatch",zp=(n={})=>{const e=un({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},n);return{name:Gp,setupOnce(){e.setTimeout&&de(Tr,"setTimeout",n_),e.setInterval&&de(Tr,"setInterval",n_),e.requestAnimationFrame&&de(Tr,"requestAnimationFrame",Wp),e.XMLHttpRequest&&"XMLHttpRequest"in Tr&&de(XMLHttpRequest.prototype,"send",Yp);const t=e.eventTarget;t&&(Array.isArray(t)?t:oE).forEach(aE)}}};function n_(n){return function(...e){return e[0]=nc(e[0],{mechanism:{data:{function:Fe(n)},handled:!1,type:"instrument"}}),n.apply(this,e)}}function Wp(n){return function(e){return n.apply(this,[nc(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Fe(n)},handled:!1,type:"instrument"}})])}}function Yp(n){return function(...e){const t=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(u=>{u in t&&"function"==typeof t[u]&&de(t,u,function(g){const P={mechanism:{data:{function:u,handler:Fe(g)},handled:!1,type:"instrument"}},ee=Qt(g);return ee&&(P.mechanism.data.handler=Fe(ee)),nc(g,P)})}),n.apply(this,e)}}function aE(n){const t=Tr[n]&&Tr[n].prototype;!t||!t.hasOwnProperty||!t.hasOwnProperty("addEventListener")||(de(t,"addEventListener",function(o){return function(u,g,P){try{"function"==typeof g.handleEvent&&(g.handleEvent=nc(g.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Fe(g),target:n},handled:!1,type:"instrument"}}))}catch(ee){}return o.apply(this,[u,nc(g,{mechanism:{data:{function:"addEventListener",handler:Fe(g),target:n},handled:!1,type:"instrument"}}),P])}}),de(t,"removeEventListener",function(o){return function(u,g,P){const ee=g;try{const Ae=ee&&ee.__sentry_wrapped__;Ae&&o.call(this,u,Ae,P)}catch(Ae){}return o.call(this,u,ee,P)}}))}function cc(n,e,t,o){const u={filename:n,function:e,in_app:!0};return void 0!==t&&(u.lineno=t),void 0!==o&&(u.colno=o),u}pi(Gp,zp);const qS=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,uc=/\((\S*)(?::(\d+))(?::(\d+))\)/,lE=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,qp=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,uE=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,u_=ve([30,n=>{const e=qS.exec(n);if(e){if(e[2]&&0===e[2].indexOf("eval")){const g=uc.exec(e[2]);g&&(e[2]=g[1],e[3]=g[2],e[4]=g[3])}const[o,u]=Zp(e[1]||"?",e[2]);return cc(u,o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,n=>{const e=lE.exec(n);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const g=qp.exec(e[3]);g&&(e[1]=e[1]||"eval",e[3]=g[1],e[4]=g[2],e[5]="")}let o=e[3],u=e[1]||"?";return[u,o]=Zp(u,o),cc(o,u,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,n=>{const e=uE.exec(n);return e?cc(e[2],e[1]||"?",+e[3],e[4]?+e[4]:void 0):void 0}]),Zp=(n,e)=>{const t=-1!==n.indexOf("safari-extension"),o=-1!==n.indexOf("safari-web-extension");return t||o?[-1!==n.indexOf("@")?n.split("@")[0]:"?",t?`safari-extension:${e}`:`safari-web-extension:${e}`]:[n,e]};function Jp(n,e,t=function Tl(n){const e=[];function o(P){return e.splice(e.indexOf(P),1)[0]}return{$:e,add:function u(P){if(!function t(){return void 0===n||e.length<n}())return be(new ss("Not adding Promise because buffer limit was reached."));const ee=P();return-1===e.indexOf(ee)&&e.push(ee),ee.then(()=>o(ee)).then(null,()=>o(ee).then(null,()=>{})),ee},drain:function g(P){return new Ze((ee,Ae)=>{let tt=e.length;if(!tt)return ee(!0);const Ot=setTimeout(()=>{P&&P>0&&ee(!1)},P);e.forEach($t=>{ht($t).then(()=>{--tt||(clearTimeout(Ot),ee(!0))},Ae)})})}}}(n.bufferSize||30)){let o={};function g(P){const ee=[];if(Gn(P,($t,Tn)=>{const Dn=ts(Tn);if(function Od(n,e,t=Date.now()){return function fE(n,e){return n[e]||n.all||0}(n,e)>t}(o,Dn)){const Pn=Xp($t,Tn);n.recordDroppedEvent("ratelimit_backoff",Dn,Pn)}else ee.push($t)}),0===ee.length)return ht();const Ae=Kt(P[0],ee),tt=$t=>{Gn(Ae,(Tn,Dn)=>{const Pn=Xp(Tn,Dn);n.recordDroppedEvent($t,ts(Dn),Pn)})};return t.add(()=>e({body:rr(Ae,n.textEncoder)}).then($t=>(void 0!==$t.statusCode&&($t.statusCode<200||$t.statusCode>=300)&&Xt&&V.warn(`Sentry responded with status code ${$t.statusCode} to sent event.`),o=function mE(n,{statusCode:e,headers:t},o=Date.now()){const u=un({},n),g=t&&t["x-sentry-rate-limits"],P=t&&t["retry-after"];if(g)for(const ee of g.trim().split(",")){const[Ae,tt,,,Ot]=ee.split(":",5),$t=parseInt(Ae,10),Tn=1e3*(isNaN($t)?60:$t);if(tt)for(const Dn of tt.split(";"))"metric_bucket"===Dn?(!Ot||Ot.split(";").includes("custom"))&&(u[Dn]=o+Tn):u[Dn]=o+Tn;else u.all=o+Tn}else P?u.all=o+function h_(n,e=Date.now()){const t=parseInt(`${n}`,10);if(!isNaN(t))return 1e3*t;const o=Date.parse(`${n}`);return isNaN(o)?6e4:o-e}(P,o):429===e&&(u.all=o+6e4);return u}(o,$t),$t),$t=>{throw tt("network_error"),$t})).then($t=>$t,$t=>{if($t instanceof ss)return Xt&&V.error("Skipped sending event because buffer is full."),tt("queue_overflow"),ht();throw $t})}return g.__sentry__baseTransport__=!0,{send:g,flush:P=>t.drain(P)}}function Xp(n,e){if("event"===e||"transaction"===e)return Array.isArray(n)?n[1]:void 0}let xl;function Id(n,e=function f_(){if(xl)return xl;if(ms(Tr.fetch))return xl=Tr.fetch.bind(Tr);const n=Tr.document;let e=Tr.fetch;if(n&&"function"==typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const o=t.contentWindow;o&&o.fetch&&(e=o.fetch),n.head.removeChild(t)}catch(t){Do&&V.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return xl=e.bind(Tr)}()){let t=0,o=0;return Jp(n,function u(g){const P=g.body.length;t+=P,o++;const ee=un({body:g.body,method:"POST",referrerPolicy:"origin",headers:n.headers,keepalive:t<=6e4&&o<15},n.fetchOptions);try{return e(n.url,ee).then(Ae=>(t-=P,o--,{statusCode:Ae.status,headers:{"x-sentry-rate-limits":Ae.headers.get("X-Sentry-Rate-Limits"),"retry-after":Ae.headers.get("Retry-After")}}))}catch(Ae){return function Ad(){xl=void 0}(),t-=P,o--,be(Ae)}})}function ef(n){return Jp(n,function e(t){return new Ze((o,u)=>{const g=new XMLHttpRequest;g.onerror=u,g.onreadystatechange=()=>{4===g.readyState&&o({statusCode:g.status,headers:{"x-sentry-rate-limits":g.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":g.getResponseHeader("Retry-After")}})},g.open("POST",n.url);for(const P in n.headers)Object.prototype.hasOwnProperty.call(n.headers,P)&&g.setRequestHeader(P,n.headers[P]);g.send(t.body)})})}const tf=[Gt(),Q(),zp(),$g(),Qg(),t_(),oc(),Jg()];function Rd(n){return[...tf]}function pu(n={}){void 0===n.defaultIntegrations&&(n.defaultIntegrations=Rd()),void 0===n.release&&("string"==typeof __SENTRY_RELEASE__&&(n.release=__SENTRY_RELEASE__),Tr.SENTRY_RELEASE&&Tr.SENTRY_RELEASE.id&&(n.release=Tr.SENTRY_RELEASE.id)),void 0===n.autoSessionTracking&&(n.autoSessionTracking=!0),void 0===n.sendClientReports&&(n.sendClientReports=!0);const e=Oi(un({},n),{stackParser:at(n.stackParser||u_),integrations:Bs(n),transport:n.transport||(Wi()?Id:ef)});(function ke(n,e){!0===e.debug&&(Xt?V.enable():Se(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),jr().update(e.initialScope);const o=new n(e);(function Dt(n){const t=Zt().getStackTop();t.client=n,t.scope.setClient(n)})(o),function zt(n){n.init?n.init():n.setupIntegrations&&n.setupIntegrations()}(o)})(ys,e),n.autoSessionTracking&&function __(){void 0!==Tr.document?(_o({ignoreDuration:!0}),vo(),Pe(({from:n,to:e})=>{void 0!==n&&n!==e&&(_o({ignoreDuration:!0}),vo())})):Do&&V.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}const g_=(n={},e=Zt())=>{if(!Tr.document)return void(Do&&V.error("Global document not defined in showReportDialog call"));const{client:t,scope:o}=e.getStackTop(),u=n.dsn||t&&t.getDsn();if(!u)return void(Do&&V.error("DSN not configured for showReportDialog call"));o&&(n.user=un(un({},o.getUser()),n.user)),n.eventId||(n.eventId=e.lastEventId());const g=Tr.document.createElement("script");g.async=!0,g.crossOrigin="anonymous",g.src=function Or(n,e){const t=Ui(n);if(!t)return"";const o=`${xi(t)}embed/error-page/`;let u=`dsn=${Cn(t)}`;for(const g in e)if("dsn"!==g&&"onClose"!==g)if("user"===g){const P=e.user;if(!P)continue;P.name&&(u+=`&name=${encodeURIComponent(P.name)}`),P.email&&(u+=`&email=${encodeURIComponent(P.email)}`)}else u+=`&${encodeURIComponent(g)}=${encodeURIComponent(e[g])}`;return`${o}?${u}`}(u,n),n.onLoad&&(g.onload=n.onLoad);const{onClose:P}=n;if(P){const Ae=tt=>{if("__sentry_reportdialog_closed__"===tt.data)try{P()}finally{Tr.removeEventListener("message",Ae)}};Tr.addEventListener("message",Ae)}const ee=Tr.document.head||Tr.document.body;ee?ee.appendChild(g):Do&&V.error("Not injecting report dialog. No injection point found in HTML")};const Xa=["localhost",/^\/(?!\/)/],Nd={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:Xa,tracePropagationTargets:Xa};un(Oi(un({},{idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3}),{instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{}}),Nd);const af="sentry.source";var cf=l(40520),xs=l(30325),ME=l(42654),fu=l(92198),uf=l(22868);const A_="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,R_="undefined"!=typeof Zone&&!!Zone.current;function Vd(n){return R_?Zone.root.run(n):n()}function df(n){if(n instanceof Error)return!0;if(null===n||"object"!=typeof n)return!1;const e=n;return A(e.name)&&A(e.message)&&(void 0===e.stack||A(e.stack))}let PE=(()=>{class n{constructor(t){this._registeredAfterSendEventHandler=!1,this._options=Object.assign({logErrors:!0},t)}handleError(t){const o=this._extractError(t)||"Handled unknown error",u=Vd(()=>tn(o,{mechanism:{type:"angular",handled:!1}}));if(this._options.logErrors&&console.error(o),this._options.showDialog){const g=mr();g&&g.on&&!this._registeredAfterSendEventHandler?(g.on("afterSendEvent",P=>{P.type||g_(Object.assign(Object.assign({},this._options.dialogOptions),{eventId:P.event_id}))}),this._registeredAfterSendEventHandler=!0):(!g||!g.on)&&g_(Object.assign(Object.assign({},this._options.dialogOptions),{eventId:u}))}}_extractError(t){if(this._options.extractor){const o=this._defaultExtractor.bind(this);return this._options.extractor(t,o)}return this._defaultExtractor(t)}_defaultExtractor(t){const o=function wE(n){return n&&n.ngOriginalError?n.ngOriginalError:n}(t);return o instanceof cf.UA?function cs(n){return df(n.error)?n.error:n.error instanceof ErrorEvent&&n.error.message?n.error.message:"string"==typeof n.error?`Server returned code ${n.status} with body "${n.error}"`:n.message}(o):"string"==typeof o||df(o)?o:null}}return n.\u0275fac=function(t){return new(t||n)(i.LFG("errorHandlerOptions"))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function hf(n){return new PE(n)}function $d(){return jr().getTransaction()}let N_=(()=>{class n{constructor(t){this._router=t,this.navStart$=this._router.events.pipe((0,fu.h)(o=>o instanceof xs.OD),(0,uf.b)(o=>{A_&&V.error("Angular integration has tracing enabled, but Tracing integration is not configured")})),this.resEnd$=this._router.events.pipe((0,fu.h)(o=>o instanceof xs.Av),(0,uf.b)(o=>{const u=function RE(n){const e=[];let t=n&&n.firstChild;for(;t;){const u=t&&t.routeConfig&&t.routeConfig.path;if(null==u)break;e.push(u),t=t.firstChild}const o=e.filter(u=>u).join("/");return o?`/${o}/`:"/"}(o.state.root),g=$d(),P=g&&zn(g).data||{};g&&"url"===P[af]&&(g.updateName(u),g.setAttribute(af,"route"),g.setAttribute("sentry.origin",`auto.${zn(g).op}.angular`))})),this.navEnd$=this._router.events.pipe((0,fu.h)(o=>o instanceof xs.m2||o instanceof xs.gk||o instanceof xs.Q3),(0,uf.b)(()=>{this._routingSpan&&(Vd(()=>{this._routingSpan.end()}),this._routingSpan=null)})),this._routingSpan=null,this._subscription=new ME.w,this._subscription.add(this.navStart$.subscribe()),this._subscription.add(this.resEnd$.subscribe()),this._subscription.add(this.navEnd$.subscribe())}ngOnDestroy(){this._subscription.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(i.LFG(xs.F0))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var zr=l(69808),kE=l(76360),Ws=l(34307),Hd=l(60231),pc=l(77990);let U_=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-root"]],decls:1,vars:0,template:function(t,o){1&t&&i._UZ(0,"router-outlet")},directives:[xs.lC],encapsulation:2}),n})();
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;"undefined"!=typeof global&&global;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class tl{constructor(e){this.digits=e}static zero(){return new tl([0])}static one(){return new tl([1])}clone(){return new tl(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let o=0;for(let u=0;u<t;u++){let g=o;u<this.digits.length&&(g+=this.digits[u]),u<e.digits.length&&(g+=e.digits[u]),g>=10?(this.digits[u]=g-10,o=1):(this.digits[u]=g,o=0)}o>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class $E{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=tl.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let o=0;0!==e;e>>>=1,o++)if(1&e){const u=this.getMultipliedByPowerOfTwo(o);t.addToSelf(u)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const o=this.powerOfTwos[t-1];this.powerOfTwos[t]=o.add(o)}return this.powerOfTwos[e]}}class HE{constructor(e){this.base=e,this.exponents=[new $E(tl.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const o=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new $E(o)}return this.exponents[e]}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function qd(n){const e=function Qd(n){let e=[];for(let t=0;t<n.length;t++){let o=n.charCodeAt(t);if(o>=55296&&o<=56319&&n.length>t+1){const u=n.charCodeAt(t+1);u>=56320&&u<=57343&&(t++,o=(o-55296<<10)+u-56320+65536)}o<=127?e.push(o):o<=2047?e.push(o>>6&31|192,63&o|128):o<=65535?e.push(o>>12|224,o>>6&63|128,63&o|128):o<=2097151&&e.push(o>>18&7|240,o>>12&63|128,o>>6&63|128,63&o|128)}return e}(n);let t=YE(e,0),o=YE(e,102072);return 0==t&&(0==o||1==o)&&(t^=319790063,o^=-1801410264),[t,o]}function YE(n,e){let u,t=2654435769,o=2654435769;const g=n.length;for(u=0;u+12<=g;u+=12){t=co(t,wl(n,u,lo.Little)),o=co(o,wl(n,u+4,lo.Little));const P=QE(t,o,e=co(e,wl(n,u+8,lo.Little)));t=P[0],o=P[1],e=P[2]}return t=co(t,wl(n,u,lo.Little)),o=co(o,wl(n,u+4,lo.Little)),e=co(e,g),QE(t,o,e=co(e,wl(n,u+8,lo.Little)<<8))[2]}function QE(n,e,t){return n=As(n,e),n=As(n,t),n^=t>>>13,e=As(e,t),e=As(e,n),e^=n<<8,t=As(t,n),t=As(t,e),t^=e>>>13,n=As(n,e),n=As(n,t),n^=t>>>12,e=As(e,t),e=As(e,n),e^=n<<16,t=As(t,n),t=As(t,e),t^=e>>>5,n=As(n,e),n=As(n,t),n^=t>>>3,e=As(e,t),e=As(e,n),e^=n<<10,t=As(t,n),t=As(t,e),[n,e,t^=e>>>15]}var lo=(()=>((lo=lo||{})[lo.Little=0]="Little",lo[lo.Big=1]="Big",lo))();function co(n,e){return KE(n,e)[1]}function KE(n,e){const t=(65535&n)+(65535&e),o=(n>>>16)+(e>>>16)+(t>>>16);return[o>>>16,o<<16|65535&t]}function As(n,e){const t=(65535&n)-(65535&e);return(n>>16)-(e>>16)+(t>>16)<<16|65535&t}function gu(n,e){return e>=n.length?0:n[e]}function wl(n,e,t){let o=0;if(t===lo.Big)for(let u=0;u<4;u++)o+=gu(n,e+u)<<24-8*u;else for(let u=0;u<4;u++)o+=gu(n,e+u)<<8*u;return o}const Zd=new HE(256);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Ex(n,e,t,o,u=[]){const g={},P={},ee={},Ae=function Cx(n,e){const{text:t,block:o}=vT(n,e);if(void 0===o)return{text:t};{const[u,...g]=o.split("\u241f"),[P,ee]=u.split("@@",2);let[Ae,tt]=P.split("|",2);return void 0===tt&&(tt=Ae,Ae=void 0),""===tt&&(tt=void 0),{text:t,meaning:Ae,description:tt,customId:ee,legacyIds:g}}}(n[0],n.raw[0]),tt=[Ae.text],Ot=[];let $t=Ae.text;for(let Pn=1;Pn<n.length;Pn++){const{messagePart:Zn,placeholderName:ei=Dx(Pn),associatedMessageId:Ei}=Sx(n[Pn],n.raw[Pn]);$t+=`{$${ei}}${Zn}`,void 0!==e&&(g[ei]=e[Pn-1],P[ei]=u[Pn-1]),Ot.push(ei),void 0!==Ei&&(ee[ei]=Ei),tt.push(Zn)}const Tn=Ae.customId||function q_(n,e=""){let t=qd(n);if(e){const g=qd(e);t=function gD(n,e){const t=n[0],u=e[0],P=KE(n[1],e[1]),ee=P[0],Ae=P[1];return[co(co(t,u),ee),Ae]}(function _D(n,e){const t=n[0],o=n[1];return[t<<e|o>>>32-e,o<<e|t>>>32-e]}(t,1),g)}return function qE(n,e){const t=Zd.toThePowerOf(0).multiplyBy(e);return Zd.toThePowerOf(4).multiplyByAndAddTo(n,t),t.toString()
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}(2147483647&t[0],t[1])}($t,Ae.meaning||""),Dn=Ae.legacyIds?Ae.legacyIds.filter(Pn=>Pn!==Tn):[];return{id:Tn,legacyIds:Dn,substitutions:g,substitutionLocations:P,text:$t,customId:Ae.customId,meaning:Ae.meaning||"",description:Ae.description||"",messageParts:tt,messagePartLocations:o,placeholderNames:Ot,associatedMessageIds:ee,location:t}}function Sx(n,e){const{text:t,block:o}=vT(n,e);if(void 0===o)return{messagePart:t};{const[u,g]=o.split("@@");return{messagePart:t,placeholderName:u,associatedMessageId:g}}}function vT(n,e){if(":"!==e.charAt(0))return{text:n};{const t=function Tx(n,e){for(let t=1,o=1;t<n.length;t++,o++)if("\\"===e[o])o++;else if(":"===n[t])return t;throw new Error(`Unterminated $localize metadata block in "${e}".`)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(n,e);return{block:n.substring(1,t),text:n.substring(t+1)}}}function Dx(n){return 1===n?"PH":"PH_"+(n-1)}Object.keys({useClass:null}),Object.keys({useFactory:null}),Object.keys({useValue:null}),Object.keys({useExisting:null});class xx extends Error{constructor(e){super(`No translation found for ${bT(e)}.`),this.parsedMessage=e,this.type="MissingTranslationError"}}function yT(n,e){return Object.defineProperty(n,"raw",{value:e}),n}function bT(n){const e=n.meaning&&` - "${n.meaning}"`,t=n.legacyIds&&n.legacyIds.length>0?` [${n.legacyIds.map(o=>`"${o}"`).join(", ")}]`:"";return`"${n.id}"${t} ("${n.text}"${e})`}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ox(n,e){try{return function Mx(n,e,t){const o=Ex(e,t);let u=n[o.id];if(void 0!==o.legacyIds)for(let g=0;g<o.legacyIds.length&&void 0===u;g++)u=n[o.legacyIds[g]];if(void 0===u)throw new xx(o);return[u.messageParts,u.placeholderNames.map(g=>{if(o.substitutions.hasOwnProperty(g))return o.substitutions[g];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${bT(o)}.\nThe translation contains a placeholder with name ${g}, which does not exist in the message.`)})]}($localize.TRANSLATIONS,n,e)}catch(t){return console.warn(t.message),[n,e]}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var Ax=l(47367);const ET=new i.OlP("GO_BASE_DOMAIN");function Ix(n,e,t){return(0,zr.NF)(n)&&(t=e.get((0,a.Cb)("apiDomain"),window.location.hostname.split(".").slice(2).join("."))),{ssrMode:!1,possibleTypes:Ax.ZPm.possibleTypes,graphqlUri:`//api.${t}/graphql`}}const Rx=new i.OlP("GO_TRANSLATIONS");let kx=(()=>{class n{constructor(t){this.localeService=t}canActivate(){return this.localeService.isReady()}canActivateChild(){return this.localeService.isReady()}}return n.\u0275fac=function(t){return new(t||n)(i.LFG(Ws.OL))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Lx=l(80965),IS=l(72986),CT=l(24850);let Fx=(()=>{class n{constructor(t){this.configService=t,this.configService.getSettings().pipe((0,IS.q)(1)).subscribe()}canActivate(){return this.configService.config$.pipe((0,fu.h)(t=>!!t),(0,IS.q)(1),(0,CT.U)(t=>!0))}canActivateChild(){return this.configService.config$.pipe((0,fu.h)(t=>!!t),(0,IS.q)(1),(0,CT.U)(t=>!0))}}return n.\u0275fac=function(t){return new(t||n)(i.LFG(Lx.E))},n.\u0275prov=i.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var Wa=l(5458),fd=l(8929),Ya=l(7625),mo=l(41777),Bb=l(92845),ST=l(47429),Ub=l(18561),DT=l(86017),Nx=l(3492),Vb=l(25245),Bx=l(5079),TT=l(75778),Ux=l(80013),jb=l(47423);const Vx=["searchBox"];function jx(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"a",4),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).triggerSearch()}),i.TgZ(1,"mat-icon"),i._uU(2,"search"),i.qZA()()}}function $x(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"input",5,6),i.NdJ("input",function(){return i.CHM(t),i.oxw(2).doSearch()})("keyup",function(){return i.CHM(t),i.oxw(2).doSearch()})("focus",function(){return i.CHM(t),i.oxw(2).doFocus()})("click",function(){return i.CHM(t),i.oxw(2).doSearch()})("blur",function(){return i.CHM(t),i.oxw(2).doBlur()}),i.qZA()}2&n&&i.Q6J("@fadeIn",void 0)}function Hx(n,e){if(1&n&&(i.ynx(0),i.YNc(1,jx,3,0,"a",2),i.YNc(2,$x,2,1,"input",3),i.BQk()),2&n){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",!t.searchTriggered),i.xp6(1),i.Q6J("ngIf",t.searchTriggered)}}function Gx(n,e){if(1&n){const t=i.EpF();i.ynx(0),i.TgZ(1,"div",7)(2,"input",8,6),i.NdJ("input",function(){return i.CHM(t),i.oxw().doSearch()})("focus",function(){return i.CHM(t),i.oxw().doFocus()}),i.qZA(),i.TgZ(4,"button",9),i.NdJ("click",function(){return i.CHM(t),i.oxw().doSearch()}),i.TgZ(5,"mat-icon",10),i._uU(6,"search"),i.qZA()()(),i.BQk()}}let xT=(()=>{class n{constructor(t,o,u){this.route=t,this.searchService=o,this.cd=u,this.searchTriggered=!1,this.showResults=!1,this.searchSubject=new fd.xQ,this._destroy$=new fd.xQ}ngOnInit(){const t=this.route.snapshot.queryParamMap.get("search");t&&(this.query=t,this.doSearch()),this.searchService.showSearchResults.pipe((0,Ya.R)(this._destroy$),(0,TT.x)()).subscribe(o=>{this.showResults=o,!o&&this.searchTriggered&&(this.searchTriggered=!1,this.cd.markForCheck())}),this.searchService.focusSearchBox.pipe((0,Ya.R)(this._destroy$)).subscribe(o=>o?this.focus():null),this.searchSubject.pipe((0,Ya.R)(this._destroy$),(0,TT.x)(),(0,Ux.b)(pc.N.debounceTime)).subscribe(o=>{o.length>0&&(this.searchService.onListFormChange({text:o,quantity:1,extension:(0,Ws.Zd)()}),this.searchService._initQueries())})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}triggerSearch(){this.searchTriggered=!0,this.cd.markForCheck(),setTimeout(()=>this.focus())}doSearch(){this.searchSubject.next(this.query),this.searchService.showSearchResults.next(!!this.query)}doBlur(){setTimeout(()=>{this.showResults||(this.searchTriggered=!1,this.cd.markForCheck())},400)}doFocus(){this.doSearch(),this.searchService.showSearchResults.next(!!this.query)}focus(){this.searchBox.nativeElement.focus()}get query(){return this.searchBox.nativeElement.value}set query(t){this.searchBox.nativeElement.value=t}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(xs.gz),i.Y36(Bx.o),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-navbar-search-box"]],viewQuery:function(t,o){if(1&t&&i.Gf(Vx,5),2&t){let u;i.iGM(u=i.CRH())&&(o.searchBox=u.first)}},inputs:{media:"media"},decls:3,vars:3,consts:function(){let e,t,o;return e=$localize`:@@navbar.search.placeholder␟7e892ba15f2c6c17e83510e273b3e10fc32ea016␟4580988005648117665:Search`,t=$localize`:@@navbar.search.placeholder␟7e892ba15f2c6c17e83510e273b3e10fc32ea016␟4580988005648117665:Search`,o=$localize`:@@common.button.search␟7e892ba15f2c6c17e83510e273b3e10fc32ea016␟4580988005648117665:Search`,[[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","label","Search",3,"click",4,"ngIf"],["type","search","aria-label",e,"placeholder",t,3,"input","keyup","focus","click","blur",4,"ngIf"],["mat-icon-button","","label","Search",3,"click"],["type","search","aria-label",e,"placeholder",t,3,"input","keyup","focus","click","blur"],["searchBox",""],[1,"mobile-nav-search-box"],["type","search",1,"mobile-search-input",3,"input","focus"],["type","button","aria-label",o,1,"mobile-search-button",3,"click"],[1,"search-icon"]]},template:function(t,o){1&t&&(i.ynx(0,0),i.YNc(1,Hx,3,2,"ng-container",1),i.YNc(2,Gx,7,0,"ng-container",1),i.BQk()),2&t&&(i.Q6J("ngSwitch",o.media),i.xp6(1),i.Q6J("ngSwitchCase","desktop"),i.xp6(1),i.Q6J("ngSwitchCase","mobile"))},directives:[zr.RF,zr.n9,zr.O5,jb.zs,Vb.Hw],encapsulation:2,data:{animation:[(0,mo.X$)("fadeIn",[(0,mo.eR)(":enter",[(0,mo.oB)({opacity:0}),(0,mo.jt)(150,(0,mo.oB)({opacity:1}))])])]},changeDetection:0}),n})();var zx=l(85899),Wx=l(10565);const Yx=["previewCard"];function Qx(n,e){1&n&&i._UZ(0,"mat-progress-bar",2)}function Kx(n,e){1&n&&i._UZ(0,"go-preview-card",6,7),2&n&&i.Q6J("item",e.$implicit)}const qx=function(n){return{color:n}};function Zx(n,e){if(1&n&&(i.TgZ(0,"h2",8),i.SDv(1,9),i.ALo(2,"async"),i.qZA()),2&n){const t=i.oxw(2);i.Q6J("ngStyle",i.VKq(3,qx,i.lcZ(2,1,t.isHandset)?"#4a4a4a":"#fff"))}}function Jx(n,e){if(1&n&&(i.TgZ(0,"div",3),i.YNc(1,Kx,2,1,"go-preview-card",4),i.YNc(2,Zx,3,5,"h2",5),i.qZA()),2&n){const t=e.ngIf,o=i.oxw();i.xp6(1),i.Q6J("ngForOf",t)("ngForTrackBy",o.trackBy),i.xp6(1),i.Q6J("ngIf",!t.length)}}let MT=(()=>{class n{constructor(t,o){this.searchService=t,this.breakpointObserverService=o,this.closeOverlay=new i.vpe}onClick(t){return["go-navbar","go-navbar-search-results","go-navbar-search-box","input"].includes(t.localName)||(this.searchService.showSearchResults.next(!1),this.closeOverlay.next(!0)),!0}ngOnInit(){this.isHandset=this.breakpointObserverService.isHandset,this.$items=this.searchService.items,this.loading=this.searchService.isLoading}trackBy(t,o){return`${o.__typename}_${o.id}`}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(Wa.oD),i.Y36(Wa.nn))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-navbar-search-results"]],viewQuery:function(t,o){if(1&t&&i.Gf(Yx,5,i.SBq),2&t){let u;i.iGM(u=i.CRH())&&(o.searchElements=u)}},hostBindings:function(t,o){1&t&&i.NdJ("click",function(g){return o.onClick(g.target,g.button)},!1,i.evT)},outputs:{closeOverlay:"closeOverlay"},decls:4,vars:6,consts:function(){let e;return e=$localize`:@@navbar.search.not-found␟6b711b8e1568a4f86084f057e722f680211d4326␟8675513657565709225: Search not found `,[["mode","indeterminate","style","position: absolute; top: 65px",4,"ngIf"],["class","search-results mdc-image-list mdc-image-list--masonry go-masonry-image-list",4,"ngIf"],["mode","indeterminate",2,"position","absolute","top","65px"],[1,"search-results","mdc-image-list","mdc-image-list--masonry","go-masonry-image-list"],[3,"item",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle",4,"ngIf"],[3,"item"],["previewCard",""],[3,"ngStyle"],e]},template:function(t,o){1&t&&(i.YNc(0,Qx,1,0,"mat-progress-bar",0),i.ALo(1,"async"),i.YNc(2,Jx,3,3,"div",1),i.ALo(3,"async")),2&t&&(i.Q6J("ngIf",i.lcZ(1,2,o.loading)),i.xp6(2),i.Q6J("ngIf",i.lcZ(3,4,o.$items)))},directives:[zr.O5,zx.pW,zr.sg,Wx.A,zr.PC],pipes:[zr.Ov],encapsulation:2,changeDetection:0}),n})();function Xx(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"go-navbar-search-results",4),i.NdJ("closeOverlay",function(){return i.CHM(t),i.oxw().closeOverlay()}),i.qZA()}}let eM=(()=>{class n{constructor(t,o){this.searchService=t,this.dialogRef=o}ngOnInit(){this.showSearchResults=this.searchService.showSearchResults}closeOverlay(){this.dialogRef.dispose()}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(Wa.oD),i.Y36(Bb.Iu))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-navbar-search-overlay"]],decls:7,vars:3,consts:function(){let e;return e=$localize`:@@common.button.close␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`,[[1,"overlay-container"],["type","button","aria-label",e,1,"overlay-close",3,"click"],["media","mobile",1,"overlay-mobile-search"],["class","mobile-search-result",3,"closeOverlay",4,"ngIf"],[1,"mobile-search-result",3,"closeOverlay"]]},template:function(t,o){1&t&&(i.TgZ(0,"div",0)(1,"button",1),i.NdJ("click",function(){return o.closeOverlay()}),i.TgZ(2,"mat-icon"),i._uU(3,"close"),i.qZA()(),i._UZ(4,"go-navbar-search-box",2),i.YNc(5,Xx,1,0,"go-navbar-search-results",3),i.ALo(6,"async"),i.qZA()),2&t&&(i.xp6(5),i.Q6J("ngIf",i.lcZ(6,1,o.showSearchResults)))},directives:[Vb.Hw,xT,zr.O5,MT],pipes:[zr.Ov],styles:[".overlay-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.overlay-close[_ngcontent-%COMP%]{align-self:flex-end;border:none;background:none}.overlay-mobile-search[_ngcontent-%COMP%]{border:none;padding:.75rem 0;width:85%;display:flex;align-self:center}.mobile-search-result[_ngcontent-%COMP%]{display:flex;background-color:transparent;border:none;align-self:center}"],changeDetection:0}),n})();var tM=l(34594),$b=l(14623),wT=l(75285),nM=l(4834),PT=l(27544);let iM=(()=>{class n{constructor(t){this.badge=t}set goCartQuantitySize(t){this.badge.size=t}set goCartQuantity(t){this.badge.color="accent",this.badge.hidden=null===t||0===t}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(PT.k,1))},n.\u0275dir=i.lG2({type:n,selectors:[["","goCartQuantity",""]],inputs:{goCartQuantitySize:"goCartQuantitySize",goCartQuantity:"goCartQuantity"}}),n})();var Rp=l(92181);function rM(n,e){if(1&n&&i._UZ(0,"span",8),2&n){const t=i.oxw(3);i.Q6J("ngClass","flag-icon-"+t.current.flagLocale)}}function sM(n,e){if(1&n&&(i.TgZ(0,"span",9),i._uU(1),i.qZA()),2&n){const t=i.oxw(3);i.xp6(1),i.Oqu(t.current.id)}}function oM(n,e){if(1&n&&(i.TgZ(0,"button",4),i.YNc(1,rM,1,1,"span",5),i.YNc(2,sM,2,1,"ng-template",null,6,i.W1O),i.TgZ(4,"mat-icon",7),i._uU(5,"expand_more"),i.qZA()()),2&n){const t=i.MAs(3);i.oxw();const o=i.MAs(3),u=i.oxw();i.Q6J("matMenuTriggerFor",o),i.uIk("aria-label",u.current.key),i.xp6(1),i.Q6J("ngIf",u.showLocaleFlags)("ngIfElse",t)}}function aM(n,e){if(1&n&&i._UZ(0,"span",8),2&n){const t=i.oxw().$implicit;i.Q6J("ngClass","flag-icon-"+t.flagLocale)}}function lM(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"button",10),i.NdJ("click",function(){const g=i.CHM(t).$implicit;return i.oxw(2).changeLocale(g.id)}),i.YNc(1,aM,1,1,"span",11),i.TgZ(2,"span",12),i._uU(3),i.qZA()()}if(2&n){const t=e.$implicit,o=i.oxw(2);i.uIk("data-value",t.id)("aria-label",t.key),i.xp6(1),i.Q6J("ngIf",o.showLocaleFlags),i.xp6(2),i.Oqu(t.key)}}function cM(n,e){if(1&n&&(i.ynx(0),i.YNc(1,oM,6,4,"button",1),i.TgZ(2,"mat-menu",null,2),i.YNc(4,lM,4,4,"button",3),i.qZA(),i.BQk()),2&n){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",t.locales),i.xp6(3),i.Q6J("ngForOf",t.locales)}}const uM=function(n){return{open:n}};function dM(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"button",14),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).toggleLanguageButton()}),i.TgZ(1,"span"),i.SDv(2,15),i.qZA(),i.TgZ(3,"mat-icon",16),i._uU(4,"chevron_right"),i.qZA()()}if(2&n){const t=i.oxw(2);i.xp6(3),i.Q6J("ngClass",i.VKq(1,uM,t.isLanguageOpen))}}function hM(n,e){if(1&n&&i._UZ(0,"span",8),2&n){const t=i.oxw(3);i.Q6J("ngClass","flag-icon-"+t.current.flagLocale)}}function pM(n,e){if(1&n&&i._UZ(0,"span",8),2&n){const t=i.oxw().$implicit;i.Q6J("ngClass","flag-icon-"+t.flagLocale)}}function fM(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"button",19),i.NdJ("click",function(){const g=i.CHM(t).$implicit;return i.oxw(3).changeLocale(g.id)}),i.YNc(1,pM,1,1,"span",11),i.TgZ(2,"span",12),i._uU(3),i.qZA()()}if(2&n){const t=e.$implicit,o=i.oxw(3);i.uIk("aria-label",t.key),i.xp6(1),i.Q6J("ngIf",o.showLocaleFlags),i.xp6(2),i.Oqu(t.key)}}function mM(n,e){if(1&n&&(i.ynx(0),i.TgZ(1,"button",17),i.YNc(2,hM,1,1,"span",11),i.TgZ(3,"span",12),i._uU(4),i.qZA()(),i.YNc(5,fM,4,3,"button",18),i.BQk()),2&n){const t=i.oxw(2);i.xp6(1),i.uIk("aria-label",t.current.key),i.xp6(1),i.Q6J("ngIf",t.showLocaleFlags),i.xp6(2),i.Oqu(t.current.key),i.xp6(1),i.Q6J("ngForOf",t.locales)}}function gM(n,e){if(1&n&&(i.ynx(0),i.YNc(1,dM,5,3,"button",13),i.YNc(2,mM,6,4,"ng-container",0),i.BQk()),2&n){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",t.locales),i.xp6(1),i.Q6J("ngIf",t.isLanguageOpen)}}let _M=(()=>{class n{constructor(t,o,u){this.localeService=t,this.configService=o,this.cd=u,this.media="desktop",this.isLanguageOpen=!1,this.current={id:null,key:null,flagLocale:null},this.localesKeys=new Map([["en",$localize`:@@language.selector.english:English`],["de",$localize`:@@language.selector.german:German`],["es",$localize`:@@language.selector.spanish:Spanish`],["fr",$localize`:@@language.selector.french:French`],["it",$localize`:@@language.selector.italian:Italian`],["ja",$localize`:@@language.selector.japanese:Japanese`],["pl",$localize`:@@language.selector.polish:Polish`],["pt",$localize`:@@language.selector.portuguese:Portuguese`],["ru",$localize`:@@language.selector.russian:Russian`]]),this.showLocaleFlags=!0,this._destroy$=new fd.xQ,this.locale=this.localeService.currentShortId}ngOnInit(){this.configService.config$.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{if(t){if(this.tenantCountry=t.tenant.country,this.showLocaleFlags=t.settings.ci.showLocaleFlags,this.current={id:this.locale,key:this.localesKeys.get(this.locale),flagLocale:this.getFlagLocale(this.locale)},t.tenant.availableLocales.length){this.locales=t.tenant.availableLocales.map(u=>({id:u,key:this.localesKeys.get(u),flagLocale:this.getFlagLocale(u)}));const o=t.tenant.locale.slice(0,2);o!==this.locale&&!this.locales.filter(u=>u.id===o).length&&(this.locales.push({id:o,key:this.localesKeys.get(o),flagLocale:this.getFlagLocale(o)}),this.locales.sort((u,g)=>u.id.localeCompare(g.id))),this.locales=this.locales.filter(u=>u.id!==this.locale)}this.cd.markForCheck()}})}changeLocale(t){this.localeService.changeLocale(t)}getFlagLocale(t){return"en"===t?["us","um","vi","au","ca","ie","nz"].includes(this.tenantCountry)?this.tenantCountry:"gb":t}toggleLanguageButton(){this.isLanguageOpen=!this.isLanguageOpen}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(Ws.OL),i.Y36(Wa.E4),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-locale-switcher"]],inputs:{media:"media"},decls:2,vars:2,consts:function(){let e;return e=$localize`:@@language.selector␟fe46ccaae902ce974e2441abe752399288298619␟2826581353496868063:Language`,[[4,"ngIf"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-button","",3,"matMenuTriggerFor"],["class","flag-icon",3,"ngClass",4,"ngIf","ngIfElse"],["localeText",""],["inline","",1,"expand-locales"],[1,"flag-icon",3,"ngClass"],[1,"language"],["mat-menu-item","",3,"click"],["class","flag-icon",3,"ngClass",4,"ngIf"],[1,"flag-text"],["class","mobile-menu-item select-language",3,"click",4,"ngIf"],[1,"mobile-menu-item","select-language",3,"click"],e,[1,"expand-button",3,"ngClass"],["mat-list-item","",1,"language","bold"],["mat-list-item","","class","language",3,"click",4,"ngFor","ngForOf"],["mat-list-item","",1,"language",3,"click"]]},template:function(t,o){1&t&&(i.YNc(0,cM,5,2,"ng-container",0),i.YNc(1,gM,3,2,"ng-container",0)),2&t&&(i.Q6J("ngIf","desktop"===o.media),i.xp6(1),i.Q6J("ngIf","mobile"===o.media))},directives:[zr.O5,jb.lW,Rp.p6,zr.mk,Vb.Hw,Rp.VK,zr.sg,Rp.OP,$b.Tg],styles:[".select-language[_ngcontent-%COMP%]{display:flex!important;color:var(--secondaryColor);width:100%;justify-content:space-between;align-items:center;padding:0 0 0 1rem;line-height:2;text-transform:uppercase;font-size:1.125rem;font-weight:300;font-family:var(--fontRegular);background-color:transparent;border:none}.select-language[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%]     button.language .mat-list-item-content{padding-left:32px}.expand-button[_ngcontent-%COMP%]{color:var(--secondaryColor)!important}.open[_ngcontent-%COMP%]{transform:rotate(90deg) scale(.9) translateY(2px)}.language[_ngcontent-%COMP%]{text-transform:uppercase;border:none;background:none}mat-icon.expand-locales[_ngcontent-%COMP%]{margin-left:8px;transform:scale(1.5);color:#4a4a4a}  .mat-menu-panel{min-width:72px!important}button[mat-menu-item][_ngcontent-%COMP%]:hover{background-color:#4a4a4a1a}"],changeDetection:0}),n})();var vM=l(67217),yM=l(87238);const bM=function(n){return{"banner-foreground-desktop":n}};function EM(n,e){if(1&n&&i._UZ(0,"img",5),2&n){const t=i.oxw(2);i.Q6J("src",t.foregroundImageUrl,i.LSH)("ngClass",i.VKq(2,bM,!t.foregroundText))}}const CM=function(n,e){return{"hidden-on-mobile":n,"banner-foreground-desktop":e}};function SM(n,e){if(1&n&&i._UZ(0,"hr",6),2&n){const t=i.oxw(2);i.Q6J("ngClass",i.WLB(1,CM,t.foregroundImageUrl,!t.foregroundText))}}const DM=function(n){return{"hidden-on-mobile":n}};function TM(n,e){if(1&n&&(i.TgZ(0,"div",7),i._uU(1),i.qZA()),2&n){const t=i.oxw(2);i.Q6J("ngClass",i.VKq(2,DM,t.foregroundImageUrl)),i.xp6(1),i.hij(" ",t.foregroundText," ")}}const xM=function(n){return{"background-image":n}};function MM(n,e){if(1&n&&(i.TgZ(0,"div",1),i.YNc(1,EM,1,4,"img",2),i.YNc(2,SM,1,4,"hr",3),i.YNc(3,TM,2,4,"div",4),i.qZA()),2&n){const t=i.oxw();i.Q6J("ngStyle",i.VKq(4,xM,t.backgroundImageUrl?"url("+t.backgroundImageUrl+")":null)),i.xp6(1),i.Q6J("ngIf",t.foregroundImageUrl),i.xp6(1),i.Q6J("ngIf",t.foregroundImageUrl&&t.foregroundText),i.xp6(1),i.Q6J("ngIf",t.foregroundText)}}let wM=(()=>{class n{constructor(t,o){this.configService=t,this.cd=o,this.ready=!1,this._destroy$=new fd.xQ}ngOnInit(){this.configService.config$.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{var o,u,g,P;!t||(null===(o=t.banners[0])||void 0===o?void 0:o.showBanner)&&(this.backgroundImageUrl=null===(u=t.banners[0].backgroundImage)||void 0===u?void 0:u.file.urlPlaceholder,this.foregroundImageUrl=null===(g=t.banners[0].foregroundImage)||void 0===g?void 0:g.file.url,this.foregroundText=t.banners[0].foregroundText,this.ready=!0,this.cd.markForCheck(),this.loadFullBackgroundImage(null===(P=t.banners[0].backgroundImage)||void 0===P?void 0:P.file.url))})}loadFullBackgroundImage(t){if(!t)return;const o=new Image;o.onload=()=>{this.backgroundImageUrl=t,this.cd.markForCheck()},o.src=t}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(Wa.E4),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-banner"]],decls:1,vars:1,consts:[["class","banner",3,"ngStyle",4,"ngIf"],[1,"banner",3,"ngStyle"],["class","banner-foreground-img",3,"src","ngClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","banner-text",3,"ngClass",4,"ngIf"],[1,"banner-foreground-img",3,"src","ngClass"],[3,"ngClass"],[1,"banner-text",3,"ngClass"]],template:function(t,o){1&t&&i.YNc(0,MM,4,6,"div",0),2&t&&i.Q6J("ngIf",o.ready)},directives:[zr.O5,zr.PC,zr.mk],styles:[".banner[_ngcontent-%COMP%]{display:flex;overflow:hidden;flex-flow:wrap;position:relative;align-items:center;align-content:center;justify-content:center;margin-top:64px;height:45vh;width:100%;background-color:var(--bannerBackgroundColor);background-position:center;background-repeat:no-repeat;background-size:cover}@media screen and (max-width: 599px){.banner[_ngcontent-%COMP%]{margin-top:56px;height:35vh}}@media screen and (max-width: 839px) and (orientation: portrait){.banner[_ngcontent-%COMP%]{height:35vh}}@media screen and (max-width: 839px) and (orientation: landscape){.banner[_ngcontent-%COMP%]{height:70vh}}.banner[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{width:100%;margin:0;visibility:hidden}.banner-text[_ngcontent-%COMP%]{width:75%;z-index:2;font-size:30px!important;line-height:45px;color:var(--bannerTextColor);text-transform:uppercase;text-align:center;padding-top:1rem;padding-bottom:1rem}@media screen and (max-width: 599px){.banner-text[_ngcontent-%COMP%]{width:100%;padding:.25rem;font-size:24px!important}}.banner-foreground-img[_ngcontent-%COMP%]{z-index:2;width:unset;height:70%}@media screen and (min-width: 841px){.banner-foreground-img[_ngcontent-%COMP%]{padding-top:2rem}}@media screen and (min-width: 841px){.banner-foreground-desktop[_ngcontent-%COMP%]{padding-bottom:2rem}}@media screen and (max-width: 839px){.hidden-on-mobile[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),n})();function PM(n,e){if(1&n&&(i.TgZ(0,"div",15)(1,"span",16),i.SDv(2,17),i.qZA(),i.TgZ(3,"a",18),i._uU(4),i.qZA()()),2&n){const t=i.oxw(2);i.xp6(3),i.MGl("href","tel:",t.tenant.tel,"",i.LSH),i.xp6(1),i.Oqu(t.tenant.tel)}}function OM(n,e){if(1&n&&(i.TgZ(0,"div",15)(1,"span",16),i.SDv(2,19),i.qZA(),i.TgZ(3,"a",18),i._uU(4),i.qZA()()),2&n){const t=i.oxw(2);i.xp6(3),i.MGl("href","mailto:",t.tenant.email,"",i.LSH),i.xp6(1),i.Oqu(t.tenant.email)}}function AM(n,e){if(1&n&&(i.TgZ(0,"div",15)(1,"span",16),i.SDv(2,20),i.qZA(),i.TgZ(3,"span",21)(4,"a",22),i._uU(5),i.qZA()()()),2&n){const t=i.oxw(2);i.xp6(4),i.Q6J("href",t.tenant.website,i.LSH),i.xp6(1),i.Oqu(t.website)}}function IM(n,e){if(1&n&&(i.TgZ(0,"a",23),i.SDv(1,24),i.qZA()),2&n){const t=i.oxw(2);i.Q6J("href",t.tenant.legalNoticeUrlTranslated,i.LSH)}}function RM(n,e){1&n&&(i.TgZ(0,"a",25),i.SDv(1,26),i.qZA())}function kM(n,e){if(1&n&&(i.TgZ(0,"a",23),i.SDv(1,27),i.qZA()),2&n){const t=i.oxw(2);i.Q6J("href",t.tenant.termsAndConditionsUrlTranslated,i.LSH)}}function LM(n,e){1&n&&(i.TgZ(0,"a",28),i.SDv(1,29),i.qZA())}function FM(n,e){if(1&n&&(i.TgZ(0,"a",23),i.SDv(1,30),i.qZA()),2&n){const t=i.oxw(2);i.Q6J("href",t.tenant.privacyStatementUrlTranslated,i.LSH)}}function NM(n,e){1&n&&(i.TgZ(0,"a",31),i.SDv(1,32),i.qZA())}function BM(n,e){if(1&n&&(i.TgZ(0,"div",1)(1,"div",2)(2,"a",3),i._UZ(3,"img",4),i.qZA(),i.TgZ(4,"div",5)(5,"span",6),i._uU(6),i.qZA(),i._uU(7),i.qZA(),i.TgZ(8,"div",7),i.YNc(9,PM,5,2,"div",8),i.YNc(10,OM,5,2,"div",8),i.YNc(11,AM,6,2,"div",8),i.qZA(),i._UZ(12,"div",9),i.TgZ(13,"div",10),i.YNc(14,IM,2,1,"a",11),i.YNc(15,RM,2,0,"ng-template",null,12,i.W1O),i.YNc(17,kM,2,1,"a",11),i.YNc(18,LM,2,0,"ng-template",null,13,i.W1O),i.YNc(20,FM,2,1,"a",11),i.YNc(21,NM,2,0,"ng-template",null,14,i.W1O),i.qZA()()()),2&n){const t=i.MAs(16),o=i.MAs(19),u=i.MAs(22),g=i.oxw();i.xp6(3),i.Q6J("src",g.logoUrl,i.LSH),i.xp6(3),i.hij(" ",g.tenant.name," "),i.xp6(1),i.hij(" ",g.tenant.locationAddress," "),i.xp6(2),i.Q6J("ngIf",g.tenant.tel),i.xp6(1),i.Q6J("ngIf",g.tenant.email),i.xp6(1),i.Q6J("ngIf",g.tenant.website),i.xp6(3),i.Q6J("ngIf",null==g.tenant?null:g.tenant.legalNoticeUrlTranslated)("ngIfElse",t),i.xp6(3),i.Q6J("ngIf",null==g.tenant?null:g.tenant.termsAndConditionsUrlTranslated)("ngIfElse",o),i.xp6(3),i.Q6J("ngIf",null==g.tenant?null:g.tenant.privacyStatementUrlTranslated)("ngIfElse",u)}}let UM=(()=>{class n{constructor(t,o){this.configService=t,this.cd=o,this._destroy$=new fd.xQ}ngOnInit(){this.configService.config$.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{var o;this.tenant=null==t?void 0:t.tenant,(null===(o=this.tenant)||void 0===o?void 0:o.website)&&(this.website=new URL(this.tenant.website).hostname),this.cd.markForCheck()})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(Wa.E4),i.Y36(i.sBO))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-footer"]],inputs:{logoUrl:"logoUrl"},decls:1,vars:1,consts:function(){let e,t,o,u,g,P,ee,Ae,tt,Ot;return e=$localize`:@@common.button.home␟92eee6be6de0b11c924e3ab27db30257159c0a7c␟2821179408673282599:Home`,t=$localize`:@@common.footer.phone␟6934d8edd276d59e050006fe91b695ebad0218f8␟3262236020277300799:Phone`,o=$localize`:@@common.footer.email␟244aae9346da82b0922506c2d2581373a15641cc␟4768749765465246664:Email`,u=$localize`:@@common.footer.web␟afb605e735bef0cdd46dbff3c3d2be15960cdc2b␟5481284030283031915:Website`,g=$localize`:@@links.imprint␟d41e755552c456cbb7339b9aa262a3f8f768c460␟6649596398599180398: Imprint `,P=$localize`:@@links.imprint␟88243abd8988ba30cc911172ad920d036a057993␟5891707175321515013:Imprint`,ee=$localize`:@@links.agb␟40767b6d629da3cba90e9da0b33b9819482e86ad␟5848932939669168159: Terms and conditions `,Ae=$localize`:@@links.agb␟f9b310ac6e0921cca5f786ad8a5b82ca27565c36␟2637040957358356533:Terms and conditions`,tt=$localize`:@@links.privacy␟b737a9835b708cd998ddb63a728648ff5087135d␟433860742332792968: Privacy policy `,Ot=$localize`:@@links.privacy␟d0969b2f97e4de7eec3d16c223b42d9fa4af4c5d␟6090931838305354672:Privacy policy`,[["class","footer-wrapper",4,"ngIf"],[1,"footer-wrapper"],[1,"container","footer"],["routerLink","/","aria-label",e,1,"footer-logo"],[1,"thumbnails",3,"src"],[1,"footer-address"],[1,"bold"],[1,"footer-contact"],["class","contact-cell",4,"ngIf"],["role","separator",1,"separator","footer-separator"],[1,"footer-navigation"],["class","footer-link",3,"href",4,"ngIf","ngIfElse"],["legalNotice",""],["termsAndConditions",""],["privacyStatement",""],[1,"contact-cell"],[1,"bold","contact-label"],t,[1,"contact-value",3,"href"],o,u,[1,"contact-value"],[3,"href"],[1,"footer-link",3,"href"],g,["routerLink","/policies/legal",1,"footer-link"],P,ee,["routerLink","/policies/agb",1,"footer-link"],Ae,tt,["routerLink","/policies/privacy",1,"footer-link"],Ot]},template:function(t,o){1&t&&i.YNc(0,BM,23,12,"div",0),2&t&&i.Q6J("ngIf",o.tenant)},directives:[zr.O5,xs.yS,wT.V],styles:[".footer-wrapper[_ngcontent-%COMP%]{background-color:#fff}.footer-wrapper[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;height:5.625rem;color:var(--textColor);align-items:center}@media screen and (max-width: 839px){.footer[_ngcontent-%COMP%]{flex-direction:column;height:auto;padding:1.25rem;align-items:flex-start}}.footer-logo[_ngcontent-%COMP%], .footer-logo[_ngcontent-%COMP%]:visited{padding-left:1rem;line-height:1;width:87px;text-decoration:none;align-self:center}@media screen and (max-width: 839px){.footer-logo[_ngcontent-%COMP%], .footer-logo[_ngcontent-%COMP%]:visited{display:none}}.footer-address[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem;white-space:pre-line}@media screen and (max-width: 839px){.footer-address[_ngcontent-%COMP%]{padding:0 0 2rem}}.footer-contact[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}@media screen and (max-width: 839px){.footer-contact[_ngcontent-%COMP%]{padding:0 0 2rem}}.footer-contact[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--textColor)}.footer-contact[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:var(--accentColor)}.contact-cell[_ngcontent-%COMP%]{display:flex;flex-direction:row}.contact-value[_ngcontent-%COMP%], .contact-label[_ngcontent-%COMP%]{display:flex;padding-right:1rem;white-space:nowrap}.contact-label[_ngcontent-%COMP%]{min-width:70px}.footer-navigation[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:30%;padding-right:1rem}@media screen and (max-width: 839px){.footer-navigation[_ngcontent-%COMP%]{flex-direction:column;padding:1rem 0}}.footer-link[_ngcontent-%COMP%]{text-transform:uppercase;text-decoration:none;color:var(--textColor);font-weight:500;padding:0 1rem}@media screen and (max-width: 839px){.footer-link[_ngcontent-%COMP%]{flex-direction:column;padding:.5rem 0}}@media screen and (max-width: 839px){.footer-separator[_ngcontent-%COMP%]{width:100%}}"],changeDetection:0}),n})();var VM=l(12874);function jM(n,e){}function $M(n,e){1&n&&i.YNc(0,jM,0,0,"ng-template")}function HM(n,e){}function GM(n,e){1&n&&i.YNc(0,HM,0,0,"ng-template")}function zM(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"button",16),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).showMobileSearchbar()}),i.TgZ(1,"mat-icon"),i._uU(2,"search"),i.qZA()()}}function WM(n,e){if(1&n&&(i.TgZ(0,"mat-list-item",23)(1,"a",29),i._uU(2),i.qZA()()),2&n){const t=e.$implicit;i.xp6(1),i.Q6J("href",t.href,i.LSH),i.xp6(1),i.hij(" ",t.name," ")}}function YM(n,e){if(1&n){const t=i.EpF();i.ynx(0),i.TgZ(1,"mat-list-item",23)(2,"a",24),i.NdJ("click",function(){return i.CHM(t),i.oxw(3).closeSidenav()}),i.SDv(3,25),i.qZA()(),i.YNc(4,WM,3,2,"mat-list-item",26),i.TgZ(5,"mat-list-item",23)(6,"a",27),i.NdJ("click",function(){i.CHM(t);const u=i.oxw(3);return u.closeSidenav(),u.onLogout()}),i.SDv(7,28),i.qZA()(),i.BQk()}if(2&n){const t=i.oxw(3);i.xp6(4),i.Q6J("ngForOf",t.authMenuItems)}}const QM=function(n){return{open:n}};function KM(n,e){if(1&n){const t=i.EpF();i.ynx(0),i.TgZ(1,"mat-list-item",17),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).toggleAccountSubmenu()}),i.TgZ(2,"mat-icon",18),i._uU(3,"account_circle"),i.qZA(),i.TgZ(4,"p",19)(5,"span",20),i._uU(6),i.qZA(),i._UZ(7,"br"),i.TgZ(8,"small"),i._uU(9),i.ALo(10,"truncate"),i.qZA()(),i.TgZ(11,"mat-icon",21),i._uU(12,"chevron_right"),i.qZA()(),i.YNc(13,YM,8,1,"ng-container",14),i._UZ(14,"mat-divider",22),i.BQk()}if(2&n){const t=i.oxw(2);i.xp6(6),i.AsE("",t.contact.firstName," ",t.contact.lastName,""),i.xp6(3),i.Oqu(i.xi3(10,5,t.contact.email,23)),i.xp6(2),i.Q6J("ngClass",i.VKq(8,QM,t.isAccountOpen)),i.xp6(2),i.Q6J("ngIf",t.isAccountOpen)}}function qM(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"mat-list-item")(1,"a",30),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).closeSidenav()}),i.SDv(2,31),i.qZA()()}}const OT=function(n){return["/",n]};function ZM(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"mat-list-item")(1,"a",35),i.NdJ("click",function(){return i.CHM(t),i.oxw(5).closeSidenav()}),i._uU(2),i.qZA()()}if(2&n){const t=i.oxw().$implicit;i.xp6(1),i.Q6J("routerLink",i.VKq(2,OT,t.kind)),i.xp6(1),i.hij(" ",t.nameTranslated," ")}}function JM(n,e){if(1&n&&(i.ynx(0),i.YNc(1,ZM,3,4,"mat-list-item",14),i.BQk()),2&n){const t=e.$implicit;i.xp6(1),i.Q6J("ngIf",t.nameTranslated)}}function XM(n,e){if(1&n&&(i.ynx(0),i.YNc(1,JM,2,1,"ng-container",34),i.BQk()),2&n){const t=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",t.shopPages)}}function ew(n,e){if(1&n){const t=i.EpF();i.TgZ(0,"mat-list-item")(1,"a",36),i.NdJ("click",function(){return i.CHM(t),i.oxw(3).closeSidenav()}),i.SDv(2,37),i.qZA()()}if(2&n){const t=i.oxw(3);i.xp6(1),i.Q6J("href",t.websiteUrl,i.LSH)}}function tw(n,e){if(1&n){const t=i.EpF();i.ynx(0),i.YNc(1,XM,2,1,"ng-container",14),i.TgZ(2,"mat-list-item")(3,"a",32),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).closeSidenav()}),i.SDv(4,33),i.ALo(5,"async"),i.ALo(6,"async"),i.qZA()(),i.YNc(7,ew,3,1,"mat-list-item",14),i.BQk()}if(2&n){const t=i.oxw(2);i.xp6(1),i.Q6J("ngIf",(null==t.shopPages?null:t.shopPages.length)>1),i.xp6(2),i.Q6J("matBadge",i.lcZ(5,4,t.cartQuantity))("goCartQuantity",i.lcZ(6,6,t.cartQuantity)),i.xp6(4),i.Q6J("ngIf",t.websiteUrl)}}function nw(n,e){}function iw(n,e){1&n&&i.YNc(0,nw,0,0,"ng-template")}function rw(n,e){if(1&n){const t=i.EpF();i.ynx(0),i.TgZ(1,"mat-toolbar")(2,"div",5)(3,"button",6),i.NdJ("click",function(){return i.CHM(t),i.MAs(12).toggle()}),i._UZ(4,"div",7)(5,"div",7)(6,"div",7),i.qZA(),i.YNc(7,$M,1,0,null,8),i.YNc(8,GM,1,0,null,8),i.YNc(9,zM,3,0,"button",9),i.qZA()(),i.TgZ(10,"mat-sidenav-container",10),i.NdJ("panright",function(u){return i.CHM(t),i.oxw().openSideNavOnPan(u)})("panleft",function(u){return i.CHM(t),i.oxw().closeSideNavOnPan(u)}),i.TgZ(11,"mat-sidenav",11,12)(13,"mat-list"),i.YNc(14,KM,15,10,"ng-container",0),i.YNc(15,qM,3,0,"ng-template",null,13,i.W1O),i.YNc(17,tw,8,8,"ng-container",14),i._UZ(18,"go-locale-switcher",15),i.qZA()(),i.TgZ(19,"mat-sidenav-content"),i.YNc(20,iw,1,0,null,8),i.qZA()(),i.BQk()}if(2&n){const t=i.MAs(12),o=i.MAs(16),u=i.oxw(),g=i.MAs(8),P=i.MAs(4),ee=i.MAs(6);i.xp6(3),i.uIk("aria-label",u.hamburgerAriaLabel),i.xp6(1),i.Q6J("@hamburgerX",t.opened?"topX":"hamburger"),i.xp6(1),i.Q6J("@hamburgerX",t.opened?"hide":"hamburger"),i.xp6(1),i.Q6J("@hamburgerX",t.opened?"bottomX":"hamburger"),i.xp6(1),i.Q6J("ngTemplateOutlet",g),i.xp6(1),i.Q6J("ngTemplateOutlet",P),i.xp6(1),i.Q6J("ngIf",!u.isMenuHidden),i.xp6(5),i.Q6J("ngIf",u.contact)("ngIfElse",o),i.xp6(3),i.Q6J("ngIf",!u.isMenuHidden),i.xp6(3),i.Q6J("ngTemplateOutlet",ee)}}function sw(n,e){}function ow(n,e){1&n&&i.YNc(0,sw,0,0,"ng-template")}function aw(n,e){}function lw(n,e){1&n&&i.YNc(0,aw,0,0,"ng-template")}function cw(n,e){if(1&n&&(i.TgZ(0,"a",48),i._uU(1),i.qZA()),2&n){const t=i.oxw().$implicit;i.Q6J("routerLink",i.VKq(2,OT,t.kind)),i.xp6(1),i.hij(" ",t.nameTranslated," ")}}function uw(n,e){if(1&n&&(i.ynx(0),i.YNc(1,cw,2,4,"a",47),i.BQk()),2&n){const t=e.$implicit;i.xp6(1),i.Q6J("ngIf",t.nameTranslated)}}function dw(n,e){if(1&n&&(i.TgZ(0,"span",46),i.YNc(1,uw,2,1,"ng-container",34),i.qZA()),2&n){const t=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",t.shopPages)}}function hw(n,e){if(1&n&&(i.TgZ(0,"a",49)(1,"mat-icon"),i._uU(2,"home"),i.qZA()()),2&n){const t=i.oxw(3);i.Q6J("href",t.websiteUrl,i.LSH)}}function pw(n,e){if(1&n&&(i.ynx(0),i.YNc(1,dw,2,1,"span",41),i._UZ(2,"go-navbar-search-box",42),i.YNc(3,hw,3,1,"a",43),i.TgZ(4,"a",44)(5,"mat-icon",45),i.ALo(6,"async"),i.ALo(7,"async"),i._uU(8," shopping_cart "),i.qZA()(),i.BQk()),2&n){const t=i.oxw(2);i.xp6(1),i.Q6J("ngIf",(null==t.shopPages?null:t.shopPages.length)>1),i.xp6(2),i.Q6J("ngIf",t.websiteUrl),i.xp6(2),i.Q6J("matBadge",i.lcZ(6,4,t.cartQuantity))("goCartQuantity",i.lcZ(7,6,t.cartQuantity))}}function fw(n,e){1&n&&(i.ynx(0),i._UZ(1,"span",50),i.BQk())}function mw(n,e){if(1&n&&(i.TgZ(0,"a",59),i._uU(1),i.qZA()),2&n){const t=e.$implicit;i.Q6J("href",t.href,i.LSH),i.xp6(1),i.hij(" ",t.name," ")}}function gw(n,e){if(1&n){const t=i.EpF();i.ynx(0),i.TgZ(1,"button",51)(2,"mat-icon"),i._uU(3,"account_circle"),i.qZA()(),i.TgZ(4,"mat-menu",null,52)(6,"div",53)(7,"div",19)(8,"span",20),i._uU(9),i.qZA(),i._UZ(10,"br"),i.TgZ(11,"small"),i._uU(12),i.ALo(13,"truncate"),i.qZA()(),i._UZ(14,"mat-divider"),i.TgZ(15,"a",54),i.SDv(16,55),i.qZA(),i.YNc(17,mw,2,2,"a",56),i._UZ(18,"mat-divider"),i.TgZ(19,"button",57),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).onLogout()}),i.SDv(20,58),i.qZA()()(),i.BQk()}if(2&n){const t=i.MAs(5),o=i.oxw(2);i.xp6(1),i.Q6J("matMenuTriggerFor",t),i.xp6(8),i.AsE("",o.contact.firstName," ",o.contact.lastName,""),i.xp6(3),i.Oqu(i.xi3(13,5,o.contact.email,30)),i.xp6(5),i.Q6J("ngForOf",o.authMenuItems)}}function _w(n,e){1&n&&(i.TgZ(0,"a",60),i.ynx(1),i.SDv(2,61),i.BQk(),i.qZA())}function vw(n,e){1&n&&i._UZ(0,"go-navbar-search-results")}function yw(n,e){}function bw(n,e){1&n&&i.YNc(0,yw,0,0,"ng-template")}function Ew(n,e){if(1&n&&(i.TgZ(0,"mat-toolbar")(1,"div",38),i.YNc(2,ow,1,0,null,8),i.YNc(3,lw,1,0,null,8),i.YNc(4,pw,9,8,"ng-container",14),i.YNc(5,fw,2,0,"ng-container",14),i.YNc(6,gw,21,8,"ng-container",0),i.YNc(7,_w,3,0,"ng-template",null,39,i.W1O),i._UZ(9,"go-locale-switcher",40),i.qZA()(),i.YNc(10,vw,1,0,"go-navbar-search-results",14),i.ALo(11,"async"),i.YNc(12,bw,1,0,null,8)),2&n){const t=i.MAs(8),o=i.oxw(),u=i.MAs(4),g=i.MAs(8),P=i.MAs(6);i.xp6(2),i.Q6J("ngTemplateOutlet",u),i.xp6(1),i.Q6J("ngTemplateOutlet",g),i.xp6(1),i.Q6J("ngIf",!o.isMenuHidden),i.xp6(1),i.Q6J("ngIf",o.isMenuHidden),i.xp6(1),i.Q6J("ngIf",o.contact)("ngIfElse",t),i.xp6(4),i.Q6J("ngIf",i.lcZ(11,8,o.showSearchResults)),i.xp6(2),i.Q6J("ngTemplateOutlet",P)}}function Cw(n,e){if(1&n&&(i.TgZ(0,"a",62),i._UZ(1,"img",63),i.qZA()),2&n){const t=i.oxw();i.xp6(1),i.Q6J("src",t.logoUrl,i.LSH)}}function Sw(n,e){1&n&&i._UZ(0,"go-banner")}const Dw=function(n){return{"padding-top.px":n}};function Tw(n,e){if(1&n&&(i.YNc(0,Sw,1,0,"go-banner",14),i.TgZ(1,"main",64),i._UZ(2,"router-outlet"),i.qZA(),i._UZ(3,"go-footer",65)),2&n){const t=i.oxw();i.Q6J("ngIf",t.bannerAvailable),i.xp6(1),i.Q6J("ngStyle",i.VKq(3,Dw,t.bannerAvailable?15:80)),i.xp6(2),i.Q6J("logoUrl",t.logoUrl)}}function xw(n,e){1&n&&(i.TgZ(0,"div",67),i.ynx(1),i.SDv(2,68),i.BQk(),i.qZA())}function Mw(n,e){if(1&n&&i.YNc(0,xw,3,0,"div",66),2&n){const t=i.oxw();i.Q6J("ngIf",t.isTestMode)}}let ww=(()=>{class n{constructor(t,o,u,g,P,ee,Ae,tt,Ot,$t){this.overlay=t,this.viewContainerRef=o,this.injector=u,this.searchService=g,this.breakpointObserverService=P,this.cd=ee,this.router=Ae,this.configService=tt,this.checkoutService=Ot,this.authService=$t,this.isHandset=!1,this.isMenuHidden=!1,this.showBanner=!1,this.isAccountOpen=!1,this.isTestMode=!1,this.shopPages=[],this.bannerPages=["/offers"],this._destroy$=new fd.xQ,this.authMenuItems=[],this.isCheckout=!1,this.openSideNavOnPan=Tn=>{this.isHandset&&"mouse"!==Tn.pointerType&&this.sidenav.open()},this.closeSideNavOnPan=Tn=>{"mouse"!==Tn.pointerType&&this.closeSidenav()}}get hamburgerAriaLabel(){if(this.sidenav)return this.sidenav.opened?$localize`:@@common.button.close:`:$localize`:@@common.button.menu:`}get bannerAvailable(){return this.showBanner&&this.bannerPages.includes(this.currentUrl)}ngOnInit(){this.cartQuantity=this.checkoutService.cartQuantity,this.currentUrl=this.router.url,this.authMenuItems=window.authMenuItems||[],this.authService.isLoggedIn.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{this.contact=t,this.cd.markForCheck()}),this.router.events.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{t instanceof xs.m2&&(this.currentUrl=t.urlAfterRedirects,this.setMenuHidden(),this.cd.markForCheck())}),this.configService.config$.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{var o,u;t&&(this.shopPages=null===(o=t.pages)||void 0===o?void 0:o.filter(g=>g.enabled),1===this.shopPages.length&&this.bannerPages.push(`/${this.shopPages[0].kind}`),this.showBanner=null===(u=t.banners[0])||void 0===u?void 0:u.showBanner,this.websiteUrl=t.tenant.website,this.isTestMode=!t.tenant.liveMode,this.cd.markForCheck())}),this.showSearchResults=this.searchService.showSearchResults,this.breakpointObserverService.isHandset.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{this.isHandset=t,!this.isHandset&&this.overlayRef&&this.overlayRef.dispose(),this.cd.markForCheck()}),this.setMenuHidden()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}closeSidenav(){this.sidenav.close()}onLogout(){this.isAccountOpen=!1,this.authService.logOut()}toggleAccountSubmenu(){this.isAccountOpen=!this.isAccountOpen}showMobileSearchbar(){const t=new Bb.X_;t.hasBackdrop=!0,t.backdropClass="overlay-bg",t.minHeight="100vh",t.minWidth="100%",this.overlayRef=this.overlay.create(t);const o=new WeakMap;o.set(Bb.Iu,this.overlayRef);const u=new ST.nK(this.injector,o);this.overlayRef.attach(new ST.C5(eM,this.viewContainerRef,u))}setMenuHidden(){this.isMenuHidden=["/cart/details","/cart/confirm"].includes(this.router.url)||this.router.url.includes("/payments")}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(Bb.aV),i.Y36(i.s_b),i.Y36(i.zs3),i.Y36(Wa.oD),i.Y36(Wa.nn),i.Y36(i.sBO),i.Y36(xs.F0),i.Y36(Wa.E4),i.Y36(Nx.Z),i.Y36(DT.e8))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-navbar"]],viewQuery:function(t,o){if(1&t&&i.Gf(Ub.JX,5),2&t){let u;i.iGM(u=i.CRH())&&(o.sidenav=u.first)}},inputs:{logoUrl:"logoUrl"},decls:9,vars:2,consts:function(){let e,t,o,u,g,P,ee,Ae,tt,Ot,$t,Tn,Dn;return e=$localize`:@@common.button.search␟7e892ba15f2c6c17e83510e273b3e10fc32ea016␟4580988005648117665:Search`,t=$localize`:@@common.button.profile␟9cd16161689b50e09d48fb6026988d310012482b␟7065283621905237344: Profile `,o=$localize`:@@common.button.logout␟55e5d24b072c3e401c3e7b7d4e232bdaa38969b7␟118749262190546770: Logout `,u=$localize`:@@common.button.login␟7bc2373759c9204527c498b49ba5184791d868ca␟5609754007827241744: Login `,g=$localize`:@@common.button.cart␟be06dd835bf359509e0386c51f3a04a3565c8b1f␟554468069198635908: Shopping cart `,P=$localize`:@@common.button.website␟0622f84c6b09b0f66653c89a82431ff0a443415f␟8146973514049082843: Back to homepage `,ee=$localize`:@@common.button.website␟b2aa8c9b15d5ed51993422a2491ee3251e34061b␟7478828886861577969:Back to homepage`,Ae=$localize`:Account menu button@@common.button.account-menu␟2e6154a8a8f82de307eefb719aae1136f46ad984␟5729395938595388062:Account menu`,tt=$localize`:@@common.button.profile␟994363f08f9fbfa3b3994ff7b35c6904fdff18d8␟4915431133669985304:Profile`,Ot=$localize`:@@common.button.logout␟e4c2bb50293bf8c8af15c98d833a7e6a52341823␟844057884705728195: Logout `,$t=$localize`:@@common.button.login␟40c9669711aab845a4e010378d218d315b6aceb6␟1908285951500318953: Login `,Tn=$localize`:@@common.test-mode.desc␟6e0d07ed084fe77683f101e571e7d47f60df0d27␟4408008482002577345:You are currently in test mode. Live mode can be activated in the back-office.`,Dn=$localize`:@@common.test-mode.label␟251ccabd7e522987e5f3c9a07e27289746609d36␟758325140147596150: Test Mode `,[[4,"ngIf","ngIfElse"],["topNavbar",""],["logo",""],["main",""],["testMode",""],[1,"container","mat-toolbar-single-row","mobile-nav"],["type","button","mat-icon-button","","disableRipple","true",3,"click"],[1,"hamburger-icon-bar"],[4,"ngTemplateOutlet"],["type","button","class","search-button","aria-label",e,3,"click",4,"ngIf"],["fullscreen","",1,"sidenav-container",3,"panright","panleft"],["fixedInViewport","true","attr.role","dialog","mode","over",1,"sidenav"],["sidenav",""],["loginMobile",""],[4,"ngIf"],["media","mobile"],["type","button","aria-label",e,1,"search-button",3,"click"],[1,"account-menu-item",3,"click"],["mat-list-icon","",1,"account-circle-mobile"],[1,"account-info"],[1,"account-name"],[1,"account-expand",3,"ngClass"],[1,"account-divider"],[1,"account-submenu-item"],["routerLink","/user/profile","routerLinkActive","link-active",1,"mobile-menu-item","cart-link",3,"click"],t,["class","account-submenu-item",4,"ngFor","ngForOf"],[1,"mobile-menu-item","cart-link",3,"click"],o,["rel","self",1,"mobile-menu-item","cart-link",3,"href"],["routerLink","/auth/login","routerLinkActive","link-active",1,"mobile-menu-item","cart-link",3,"click"],u,["goCartQuantitySize","medium","routerLink","/cart","routerLinkActive","link-active",1,"mobile-menu-item","cart-link",3,"matBadge","goCartQuantity","click"],g,[4,"ngFor","ngForOf"],["routerLinkActive","link-active",1,"mobile-menu-item","cart-link",3,"routerLink","click"],[1,"mobile-menu-item","cart-link",3,"href","click"],P,[1,"mat-toolbar-single-row"],["loginDesktop",""],["media","desktop"],["class","nav-buttons",4,"ngIf"],["media","desktop",1,"top-nav-search"],["mat-icon-button","","matTooltip",ee,"label","Homepage",3,"href",4,"ngIf"],["mat-icon-button","","routerLink","/cart","label","Shopping cart"],["goCartQuantitySize","small",3,"matBadge","goCartQuantity"],[1,"nav-buttons"],["class","nav-button","routerLinkActive","nav-button-active","mat-button","",3,"routerLink",4,"ngIf"],["routerLinkActive","nav-button-active","mat-button","",1,"nav-button",3,"routerLink"],["mat-icon-button","","matTooltip",ee,"label","Homepage",3,"href"],[1,"go-spacer"],["mat-icon-button","","aria-label",Ae,1,"account-circle-desktop",3,"matMenuTriggerFor"],["accountMenu","matMenu"],[1,"account-menu-desktop"],["mat-menu-item","","routerLink","/user/profile"],tt,["mat-menu-item","","rel","self","class","mobile-menu-item cart-link",3,"href",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],Ot,["mat-menu-item","","rel","self",1,"mobile-menu-item","cart-link",3,"href"],["routerLink","/auth/login","mat-button","",1,"nav-button","login"],$t,["routerLink","/",1,"home-logo"],[1,"thumbnails",3,"src"],[1,"container","main",3,"ngStyle"],[3,"logoUrl"],["class","test-mode","matTooltip",Tn,4,"ngIf"],["matTooltip",Tn,1,"test-mode"],Dn]},template:function(t,o){if(1&t&&(i.YNc(0,rw,21,11,"ng-container",0),i.YNc(1,Ew,13,10,"ng-template",null,1,i.W1O),i.YNc(3,Cw,2,1,"ng-template",null,2,i.W1O),i.YNc(5,Tw,4,5,"ng-template",null,3,i.W1O),i.YNc(7,Mw,1,1,"ng-template",null,4,i.W1O)),2&t){const u=i.MAs(2);i.Q6J("ngIf",o.isHandset)("ngIfElse",u)}},directives:[zr.O5,tM.Ye,jb.lW,zr.tP,Vb.Hw,Ub.TM,Ub.JX,$b.i$,$b.Tg,$b.Nh,zr.mk,xs.yS,xs.Od,zr.sg,wT.V,nM.d,PT.k,iM,_M,Ub.Rh,jb.zs,xT,vM.$,yM.gM,Rp.p6,Rp.VK,Rp.OP,MT,wM,zr.PC,xs.lC,UM],pipes:[VM.W,zr.Ov],styles:[".mat-list-item-content{width:100%}.cart-link[_ngcontent-%COMP%]{text-decoration:none}.container.mat-toolbar-single-row.mobile-nav[_ngcontent-%COMP%]{padding:0;display:flex}.container.mat-toolbar-single-row.mobile-nav[_ngcontent-%COMP%]   .home-logo[_ngcontent-%COMP%]{align-self:center;width:100%}.home-logo[_ngcontent-%COMP%], .home-logo[_ngcontent-%COMP%]:visited{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;line-height:1;min-width:1px}.thumbnails[_ngcontent-%COMP%]{max-height:50px;max-width:100%;width:auto}go-navbar-search-results[_ngcontent-%COMP%]{background-color:var(--secondaryLightColor)}mat-toolbar[_ngcontent-%COMP%]{z-index:21;padding:0 1rem 0 1.25rem}mat-toolbar[_ngcontent-%COMP%]   div.mat-toolbar-single-row[_ngcontent-%COMP%]{padding:0 0 0 16px}@media screen and (max-width: 839px){mat-toolbar[_ngcontent-%COMP%]{padding:0}mat-toolbar[_ngcontent-%COMP%]   div.mat-toolbar-single-row[_ngcontent-%COMP%]{padding:0 0 0 8px}mat-toolbar[_ngcontent-%COMP%]   .mat-button[_ngcontent-%COMP%]{padding:5px}}@media screen and (max-width: 599px){mat-toolbar[_ngcontent-%COMP%]{padding:0 1.25rem}}mat-sidenav[_ngcontent-%COMP%]{width:80%}@media screen and (max-width: 599px){mat-sidenav[_ngcontent-%COMP%]{top:56px!important}}.sidenav-container[_ngcontent-%COMP%]{height:100%;z-index:20;position:fixed!important}.sidenav[_ngcontent-%COMP%]{box-shadow:100px 0 6px #0000003d;padding:0 1.2rem;z-index:20}.sidenav[_ngcontent-%COMP%]   .mobile-menu-item[_ngcontent-%COMP%]{color:var(--textColor);text-transform:uppercase;font-size:1.125rem;font-weight:300}.sidenav[_ngcontent-%COMP%]   mat-list[_ngcontent-%COMP%]{margin-top:1.5rem;padding:.5rem 0}.sidenav[_ngcontent-%COMP%]   button.languages[_ngcontent-%COMP%]{padding:0;background-color:transparent;border:none}.sidenav[_ngcontent-%COMP%]   .menu-separator[_ngcontent-%COMP%]{margin:.3rem 0 1.2rem}.search-button[_ngcontent-%COMP%]{display:flex;padding:0;border:none;background:none}.mat-drawer-container[_ngcontent-%COMP%]{position:unset}.nav-button[_ngcontent-%COMP%]{text-transform:uppercase;font-weight:400;height:100%;border-radius:0;display:inline-flex;justify-content:center;align-items:center}.nav-button-active[_ngcontent-%COMP%]{color:var(--primaryColor);font-weight:450}span.nav-buttons[_ngcontent-%COMP%]{height:100%;margin-left:5px}@media screen and (min-width: 841px){span.nav-buttons[_ngcontent-%COMP%]{margin-left:80px}}  .mobile-menu-item.mat-badge-medium .mat-badge-content{top:-1px!important;right:-32px!important}.account-circle-desktop[_ngcontent-%COMP%]{transform:scale(1.45);margin-left:.5rem}.account-menu-item[_ngcontent-%COMP%]   .account-circle-mobile[_ngcontent-%COMP%]{transform:scale(2);color:var(--textColor)}.account-menu-item[_ngcontent-%COMP%]   .account-expand[_ngcontent-%COMP%]{color:var(--textColor);margin-left:.8rem;margin-top:-1.4rem}.account-menu-item[_ngcontent-%COMP%]   .account-expand.open[_ngcontent-%COMP%]{transform:rotate(90deg) scale(.9) translateY(2px)}.account-menu-item[_ngcontent-%COMP%]   .account-info[_ngcontent-%COMP%]{margin-left:1rem;margin-top:.65rem;max-width:150px}.account-menu-item[_ngcontent-%COMP%]   .account-info[_ngcontent-%COMP%]   .account-name[_ngcontent-%COMP%]{font-weight:500}.account-submenu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-left:3rem;font-size:1rem!important}.account-divider[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:30px!important}.login[_ngcontent-%COMP%]{font-weight:500;margin-left:.4rem}@media screen and (min-width: 841px){.login[_ngcontent-%COMP%]{margin-left:1rem}}.link-active[_ngcontent-%COMP%]{color:var(--primaryColor)!important;font-weight:500!important}.hamburger-icon-bar[_ngcontent-%COMP%]{background:var(--primaryColor);width:22px;height:2px;margin:3px}  .mat-menu-panel{min-width:220px!important}.account-menu-desktop[_ngcontent-%COMP%]   .account-info[_ngcontent-%COMP%]{min-width:220px!important;padding:.5rem 1rem 0;margin-bottom:10px;color:var(--textColor);font-family:var(--fontRegular)}.account-menu-desktop[_ngcontent-%COMP%]   .account-info[_ngcontent-%COMP%]   .account-name[_ngcontent-%COMP%]{font-weight:500}.account-menu-desktop[_ngcontent-%COMP%]   mat-divider[_ngcontent-%COMP%]{margin:0 10px!important}a.mat-menu-item[_ngcontent-%COMP%]:hover, button[mat-menu-item][_ngcontent-%COMP%]:hover{background-color:#4a4a4a1a}.test-mode[_ngcontent-%COMP%]{margin:0 1rem;padding:0 1rem;font-size:.9rem;background-color:#dbeafe;color:#2563eb;border-radius:9999px}"],data:{animation:[(0,mo.X$)("hamburgerX",[(0,mo.SB)("hamburger",(0,mo.oB)({})),(0,mo.SB)("topX",(0,mo.oB)({transform:"rotate(45deg)",transformOrigin:"left",margin:"6px"})),(0,mo.SB)("hide",(0,mo.oB)({opacity:0})),(0,mo.SB)("bottomX",(0,mo.oB)({transform:"rotate(-45deg)",transformOrigin:"left",margin:"6px"})),(0,mo.eR)("* => *",[(0,mo.jt)("0.2s")])])]},changeDetection:0}),n})();const Pw=["navbar"],Ow=[{path:"",pathMatch:"full",redirectTo:"offers"},{path:"",component:(()=>{class n{constructor(t,o,u){this._document=t,this.searchService=o,this.configService=u,this._destroy$=new fd.xQ}onClick(t){return this.searchElement.nativeElement.contains(t)||this.searchService.showSearchResults.next(!1),!0}onKeyUp(t,o){("/"===t||191===o)&&this.searchService.focusSearchBox.next(!0),("Escape"===t||27===o)&&this.searchService.showSearchResults.getValue()&&(this.searchService.showSearchResults.next(!1),this.searchService.focusSearchBox.next(!0))}ngOnInit(){this.configService.config$.pipe((0,Ya.R)(this._destroy$)).subscribe(t=>{var o,u;t.settings&&(this.logoUrl=null===(o=this.configService.config$.value.settings.ci.logo)||void 0===o?void 0:o.file.url,this._document.getElementById("favicon").setAttribute("href",null===(u=this.configService.config$.value.settings.ci.favicon)||void 0===u?void 0:u.file.url))})}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(i.Y36(zr.K0),i.Y36(Wa.oD),i.Y36(Wa.E4))},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-main"]],viewQuery:function(t,o){if(1&t&&i.Gf(Pw,7,i.SBq),2&t){let u;i.iGM(u=i.CRH())&&(o.searchElement=u.first)}},hostBindings:function(t,o){1&t&&i.NdJ("click",function(g){return o.onClick(g.target,g.button)})("keyup",function(g){return o.onKeyUp(g.key)},!1,i.Jf7)},decls:2,vars:1,consts:[[3,"logoUrl"],["navbar",""]],template:function(t,o){1&t&&i._UZ(0,"go-navbar",0,1),2&t&&i.Q6J("logoUrl",o.logoUrl)},directives:[ww],encapsulation:2,changeDetection:0}),n})(),canActivateChild:[kx,Fx],children:[{path:"auth",loadChildren:()=>l.e(4886).then(l.bind(l,94886)).then(n=>n.AuthModule)},{path:"user",loadChildren:()=>Promise.all([l.e(4886),l.e(215),l.e(531),l.e(5793)]).then(l.bind(l,25793)).then(n=>n.UserModule)},{path:"offers",loadChildren:()=>Promise.all([l.e(4886),l.e(215),l.e(8592),l.e(7804)]).then(l.bind(l,17804)).then(n=>n.OffersModule)},{path:"admissions",loadChildren:()=>Promise.all([l.e(4886),l.e(8592),l.e(3973)]).then(l.bind(l,93973)).then(n=>n.AdmissionsModule)},{path:"events",loadChildren:()=>Promise.all([l.e(4886),l.e(8592),l.e(423)]).then(l.bind(l,20423)).then(n=>n.EventsModule)},{path:"products",loadChildren:()=>Promise.all([l.e(4886),l.e(8592),l.e(7803)]).then(l.bind(l,27803)).then(n=>n.ProductsModule)},{path:"vouchers",loadChildren:()=>Promise.all([l.e(4886),l.e(8592),l.e(9785)]).then(l.bind(l,99785)).then(n=>n.VouchersModule)},{path:"cart",loadChildren:()=>Promise.all([l.e(4886),l.e(215),l.e(531)]).then(l.bind(l,80531)).then(n=>n.CartModule)},{path:"payments",loadChildren:()=>Promise.all([l.e(4886),l.e(215),l.e(531)]).then(l.bind(l,80531)).then(n=>n.CartModule)},{path:"policies",loadChildren:()=>l.e(2863).then(l.bind(l,42863)).then(n=>n.PoliciesModule)},{path:"snippets",loadChildren:()=>l.e(9005).then(l.bind(l,89005)).then(n=>n.SnippetsModule)},{path:"404",loadChildren:()=>l.e(9278).then(l.bind(l,9278)).then(n=>n.NotFoundModule)}]},{path:"readiness-probe",component:(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=i.Xpm({type:n,selectors:[["go-readiness-probe"]],decls:0,vars:0,template:function(t,o){},encapsulation:2}),n})()},{path:"**",redirectTo:"/404"}];let Aw=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=i.oAB({type:n}),n.\u0275inj=i.cJS({imports:[[xs.Bz.forRoot(Ow,{scrollPositionRestoration:"enabled",initialNavigation:"enabledNonBlocking",relativeLinkResolution:"legacy"})],xs.Bz]}),n})();var Iw=l(22356);let Rw=(()=>{class n{constructor(t,o,u,g){(0,zr.PM)(t)?(o.set((0,a.Cb)("translations"),u),o.set((0,a.Cb)("apiDomain"),g)):function Px(n){$localize.translate||($localize.translate=Ox),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(n).forEach(e=>{$localize.TRANSLATIONS[e]=function wx(n){const e=n.split(/{\$([^}]*)}/),t=[e[0]],o=[];for(let g=1;g<e.length-1;g+=2)o.push(e[g]),t.push(`${e[g+1]}`);const u=t.map(g=>":"===g.charAt(0)?"\\"+g:g);return{text:n,messageParts:yT(t,u),placeholderNames:o}}(n[e])})}(o.get((0,a.Cb)("translations"),{}))}}return n.\u0275fac=function(t){return new(t||n)(i.LFG(i.Lbi),i.LFG(a.ki),i.LFG(Rx,8),i.LFG(ET,8))},n.\u0275mod=i.oAB({type:n,bootstrap:[U_]}),n.\u0275inj=i.cJS({providers:[{provide:a.ok,useClass:Ws.rY},{provide:cf.TP,useClass:Ws.$T,multi:!0},{provide:cf.TP,useClass:Ws.zE,multi:!0},{provide:cf.TP,useClass:DT.dl,multi:!0},{provide:Hd.Pl,useValue:{debounceTime:pc.N.debounceTime,autoCompletePageLength:pc.N.autoCompletePageLength,apiDomain:pc.N.domain.api}},{provide:Hd._o,useClass:Hd.mo},Ws.un,{provide:Ws.m9,useFactory:Ws.n0,deps:[Ws.un]},{provide:i.qLn,useValue:hf({showDialog:!1})},{provide:N_,deps:[xs.F0]},{provide:i.ip1,useFactory:()=>()=>{},deps:[N_],multi:!0},{provide:Ws.cM,useFactory:Ix,deps:[i.Lbi,a.ki,[new i.FiY,ET]]}],imports:[[a.b2.withServerTransition({appId:"go-shop"}),kE.PW,Ws.wV,Hd.Z5,Iw.x,Aw,Ws.pd,Ws.mR,Ws.Fb,a.t6]]}),n})();(function I_(n){const e=Object.assign({defaultIntegrations:Rd().filter(t=>"TryCatch"!==t.name)},n);tu(e,"angular-ivy"),function Ud(){const e=i.q4F&&i.q4F.major?parseInt(i.q4F.major,10):void 0;e&&(e<12&&A_&&V.warn(`This Sentry SDK does not officially support Angular ${e}.`,"This SDK only supports Angular 12 and above.","If you're using Angular 10 or 11, please use `@sentry/angular` instead.","Otherwise, please consider upgrading your Angular version."),function Di(n,e){Zt().setContext(n,e)}("angular",{version:e}))}(),pu(e)})({dsn:"https://71f2802310e5851bfcdb01ef73153d15@o4505908726005760.ingest.sentry.io/4506224428187648",integrations:[],tracesSampleRate:0,replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,ignoreErrors:["Can't find variable paypal","Component closed","Make sure the element exists on the page before calling mount()","animate is not a function","(unknown): Script error","0 Unknown Error"],enabled:pc.N.production&&"undefined"!=typeof document&&"https:"===document.location.protocol}),pc.N.production&&(0,i.G48)(),a.q6().bootstrapModule(Rw).catch(n=>console.error(n))},35891:ze=>{ze.exports=function(l){if("number"!=typeof l||isNaN(l))throw new TypeError("Expected a number, got "+typeof l);var a=l<0,i=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(a&&(l=-l),l<1)return(a?"-":"")+l+" B";var d=Math.min(Math.floor(Math.log(l)/Math.log(1024)),i.length-1);l=Number(l/Math.pow(1024,d));var p=i[d];return l>=10||l%1==0?(a?"-":"")+l.toFixed(0)+" "+p:(a?"-":"")+l.toFixed(1)+" "+p}},35931:(ze,G,l)=>{"use strict";l.d(G,{_M:()=>Ne,mm:()=>Rt,AE:()=>at});var a=l(5e3),i=l(97582),d=l(89721),p=l(40484),C=p.i.execute,f=l(56497),v=l(79722),b=l(64302),m=function(Fe,ne){var Me;try{Me=JSON.stringify(Fe)}catch(Tt){var We=(0,d._K)(40,ne,Tt.message);throw We.parseError=Tt,We}return Me},L=l(29545);function B(Fe){var ne={next:function(){return Fe.read()}};return L.DN&&(ne[Symbol.asyncIterator]=function(){return this}),ne}function z(Fe){var ne=Fe;if(function R(Fe){return!!Fe.body}(Fe)&&(ne=Fe.body),function w(Fe){return!(!L.DN||!Fe[Symbol.asyncIterator])}(ne))return function M(Fe){var ne,Me=Fe[Symbol.asyncIterator]();return(ne={next:function(){return Me.next()}})[Symbol.asyncIterator]=function(){return this},ne}(ne);if(function x(Fe){return!!Fe.getReader}(ne))return B(ne.getReader());if(function k(Fe){return!!Fe.stream}(ne))return B(ne.stream().getReader());if(function H(Fe){return!!Fe.arrayBuffer}(ne))return function A(Fe){var ne=!1,Me={next:function(){return ne?Promise.resolve({value:void 0,done:!0}):(ne=!0,new Promise(function(We,Tt){Fe.then(function(Wt){We({value:Wt,done:!1})}).catch(Tt)}))}};return L.DN&&(Me[Symbol.asyncIterator]=function(){return this}),Me}(ne.arrayBuffer());if(function j(Fe){return!!Fe.pipe}(ne))return function D(Fe){var ne=null,Me=null,We=!1,Tt=[],Wt=[];function _e(T){if(!Me){if(Wt.length){var J=Wt.shift();if(Array.isArray(J)&&J[0])return J[0]({value:T,done:!1})}Tt.push(T)}}function je(T){Me=T,Wt.slice().forEach(function(me){me[1](T)}),!ne||ne()}function E(){We=!0,Wt.slice().forEach(function(J){J[0]({value:void 0,done:!0})}),!ne||ne()}ne=function(){ne=null,Fe.removeListener("data",_e),Fe.removeListener("error",je),Fe.removeListener("end",E),Fe.removeListener("finish",E),Fe.removeListener("close",E)},Fe.on("data",_e),Fe.on("error",je),Fe.on("end",E),Fe.on("finish",E),Fe.on("close",E);var O={next:function(){return function te(){return new Promise(function(T,J){return Me?J(Me):Tt.length?T({value:Tt.shift(),done:!1}):We?T({value:void 0,done:!0}):void Wt.push([T,J])})}()}};return L.DN&&(O[Symbol.asyncIterator]=function(){return this}),O}(ne);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var le=function(Fe,ne,Me){var We=new Error(Me);throw We.name="ServerError",We.response=Fe,We.statusCode=Fe.status,We.result=ne,We},oe=l(27062),$=Symbol();function ae(Fe){return Fe.hasOwnProperty("graphQLErrors")}var Ve=function(Fe){function ne(Me){var We=Me.graphQLErrors,Tt=Me.protocolErrors,Wt=Me.clientErrors,_e=Me.networkError,je=Me.errorMessage,E=Me.extraInfo,te=Fe.call(this,je)||this;return te.name="ApolloError",te.graphQLErrors=We||[],te.protocolErrors=Tt||[],te.clientErrors=Wt||[],te.networkError=_e||null,te.message=je||function(Fe){var ne=(0,i.ev)((0,i.ev)((0,i.ev)([],Fe.graphQLErrors,!0),Fe.clientErrors,!0),Fe.protocolErrors,!0);return Fe.networkError&&ne.push(Fe.networkError),ne.map(function(Me){return(0,oe.s)(Me)&&Me.message||"Error message not found."}).join("\n")}(te),te.extraInfo=E,te.cause=(0,i.ev)((0,i.ev)((0,i.ev)([_e],We||[],!0),Tt||[],!0),Wt||[],!0).find(function(O){return!!O})||null,te.__proto__=ne.prototype,te}return(0,i.ZT)(ne,Fe),ne}(Error),$e=l(65355),Be=l(87773);function Ee(Fe){return"incremental"in Fe}function Ge(Fe){return(0,oe.s)(Fe)&&"payload"in Fe}function it(Fe,ne){var Me=Fe,We=new Be.w0;return Ee(ne)&&(0,$e.O)(ne.incremental)&&ne.incremental.forEach(function(Tt){for(var Wt=Tt.data,_e=Tt.path,je=_e.length-1;je>=0;--je){var E=_e[je],O=isNaN(+E)?{}:[];O[E]=Wt,Wt=O}Me=We.merge(Me,Wt)}),Me}var Se=Object.prototype.hasOwnProperty;function V(Fe){var ne={};return Fe.split("\n").forEach(function(Me){var We=Me.indexOf(":");if(We>-1){var Tt=Me.slice(0,We).trim().toLowerCase(),Wt=Me.slice(We+1).trim();ne[Tt]=Wt}}),ne}function U(Fe,ne){Fe.status>=300&&le(Fe,function(){try{return JSON.parse(ne)}catch(Tt){return ne}}(),"Response not successful: Received status code ".concat(Fe.status));try{return JSON.parse(ne)}catch(Tt){var We=Tt;throw We.name="ServerParseError",We.response=Fe,We.statusCode=Fe.status,We.bodyText=ne,We}}var et=l(2492),Qt={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},gt=function(Fe,ne){return ne(Fe)};function ct(Fe,ne){if(!ne){var Me={};return Object.keys(Object(Fe)).forEach(function(Wt){Me[Wt.toLowerCase()]=Fe[Wt]}),Me}var We={};Object.keys(Object(Fe)).forEach(function(Wt){We[Wt.toLowerCase()]={originalName:Wt,value:Fe[Wt]}});var Tt={};return Object.keys(We).forEach(function(Wt){Tt[We[Wt].originalName]=We[Wt].value}),Tt}function X(Fe){return new b.y(function(ne){ne.error(Fe)})}var xe=l(61335),N=l(43690),F=l(70591),Y=(0,d.wY)(function(){return fetch}),re=function(Fe){void 0===Fe&&(Fe={});var ne=Fe.uri,Me=void 0===ne?"/graphql":ne,We=Fe.fetch,Tt=Fe.print,Wt=void 0===Tt?gt:Tt,_e=Fe.includeExtensions,je=Fe.preserveHeaderCase,E=Fe.useGETForQueries,te=Fe.includeUnusedVariables,O=void 0!==te&&te,T=(0,i._T)(Fe,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(Fe){if(!Fe&&"undefined"==typeof fetch)throw(0,d._K)(38)}(We||Y);var J={http:{includeExtensions:_e,preserveHeaderCase:je},options:T.fetchOptions,credentials:T.credentials,headers:T.headers};return new p.i(function(me){var pt=function(Fe,ne){return Fe.getContext().uri||("function"==typeof ne?ne(Fe):ne||"/graphql")}(me,Me),bt=me.getContext(),It={};if(bt.clientAwareness){var qt=bt.clientAwareness,mn=qt.name,_n=qt.version;mn&&(It["apollographql-client-name"]=mn),_n&&(It["apollographql-client-version"]=_n)}var Mt=(0,i.pi)((0,i.pi)({},It),bt.headers),pn={http:bt.http,options:bt.fetchOptions,credentials:bt.credentials,headers:Mt};if((0,v.FS)(["client"],me.query)){var tn=(0,N.ob)(me.query);if(!tn)return X(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));me.query=tn}var ti,Vn=function Je(Fe,ne){for(var Me=[],We=2;We<arguments.length;We++)Me[We-2]=arguments[We];var Tt={},Wt={};Me.forEach(function(T){Tt=(0,i.pi)((0,i.pi)((0,i.pi)({},Tt),T.options),{headers:(0,i.pi)((0,i.pi)({},Tt.headers),T.headers)}),T.credentials&&(Tt.credentials=T.credentials),Wt=(0,i.pi)((0,i.pi)({},Wt),T.http)}),Tt.headers&&(Tt.headers=ct(Tt.headers,Wt.preserveHeaderCase));var je=Fe.extensions,te=Fe.query,O={operationName:Fe.operationName,variables:Fe.variables};return Wt.includeExtensions&&(O.extensions=je),Wt.includeQuery&&(O.query=ne(te,et.S)),{options:Tt,body:O}}(me,Wt,Qt,J,pn),Jn=Vn.options,ci=Vn.body;ci.variables&&!O&&(ci.variables=function he(Fe,ne){var Me=(0,i.pi)({},Fe),We=new Set(Object.keys(Fe));return(0,xe.Vn)(ne,{Variable:function(Tt,Wt,_e){_e&&"VariableDefinition"!==_e.kind&&We.delete(Tt.name.value)}}),We.forEach(function(Tt){delete Me[Tt]}),Me}(ci.variables,me.query)),!Jn.signal&&"undefined"!=typeof AbortController&&(ti=new AbortController,Jn.signal=ti.signal);var Pr,li="OperationDefinition"===(Pr=(0,F.p$)(me.query)).kind&&"subscription"===Pr.operation,$i=(0,v.FS)(["defer"],me.query);if(E&&!me.query.definitions.some(function(Pr){return"OperationDefinition"===Pr.kind&&"mutation"===Pr.operation})&&(Jn.method="GET"),$i||li){Jn.headers=Jn.headers||{};var Gi="multipart/mixed;";li&&$i&&!1!==globalThis.__DEV__&&d.kG.warn(39),li?Gi+="boundary=graphql;subscriptionSpec=1.0,application/json":$i&&(Gi+="deferSpec=20220824,application/json"),Jn.headers.accept=Gi}if("GET"===Jn.method){var cr=function Xe(Fe,ne){var Me=[],We=function(T,J){Me.push("".concat(T,"=").concat(encodeURIComponent(J)))};if("query"in ne&&We("query",ne.query),ne.operationName&&We("operationName",ne.operationName),ne.variables){var Tt=void 0;try{Tt=m(ne.variables,"Variables map")}catch(T){return{parseError:T}}We("variables",Tt)}if(ne.extensions){var Wt=void 0;try{Wt=m(ne.extensions,"Extensions map")}catch(T){return{parseError:T}}We("extensions",Wt)}var _e="",je=Fe,E=Fe.indexOf("#");-1!==E&&(_e=Fe.substr(E),je=Fe.substr(0,E));var te=-1===je.indexOf("?")?"?":"&";return{newURI:je+te+Me.join("&")+_e}}(pt,ci),ar=cr.newURI,ur=cr.parseError;if(ur)return X(ur);pt=ar}else try{Jn.body=m(ci,"Payload")}catch(Pr){return X(Pr)}return new b.y(function(Pr){var Ur=We||(0,d.wY)(function(){return fetch})||Y,as=Pr.next.bind(Pr);return Ur(pt,Jn).then(function(er){var Ns;me.setContext({response:er});var ls=null===(Ns=er.headers)||void 0===Ns?void 0:Ns.get("content-type");return null!==ls&&/^multipart\/mixed/i.test(ls)?function Z(Fe,ne){return(0,i.mG)(this,void 0,void 0,function(){var Me,We,Tt,Wt,_e,je,E,te,O,T,J,me,pt,bt,It,qt,mn,_n,Mt,pn,tn,Vn,Jn,ci;return(0,i.Jh)(this,function(ti){switch(ti.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");Me=new TextDecoder("utf-8"),We=null===(ci=Fe.headers)||void 0===ci?void 0:ci.get("content-type"),Tt="boundary=",Wt=(null==We?void 0:We.includes(Tt))?null==We?void 0:We.substring((null==We?void 0:We.indexOf(Tt))+Tt.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",_e="\r\n--".concat(Wt),je="",E=z(Fe),te=!0,ti.label=1;case 1:return te?[4,E.next()]:[3,3];case 2:for(O=ti.sent(),J=O.done,me="string"==typeof(T=O.value)?T:Me.decode(T),pt=je.length-_e.length+1,te=!J,bt=(je+=me).indexOf(_e,pt);bt>-1;){if(It=void 0,Vn=[je.slice(0,bt),je.slice(bt+_e.length)],je=Vn[1],qt=(It=Vn[0]).indexOf("\r\n\r\n"),mn=V(It.slice(0,qt)),(_n=mn["content-type"])&&-1===_n.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(Mt=It.slice(qt))if(pn=U(Fe,Mt),Object.keys(pn).length>1||"data"in pn||"incremental"in pn||"errors"in pn||"payload"in pn)if(Ge(pn)){if(tn={},"payload"in pn){if(1===Object.keys(pn).length&&null===pn.payload)return[2];tn=(0,i.pi)({},pn.payload)}"errors"in pn&&(tn=(0,i.pi)((0,i.pi)({},tn),{extensions:(0,i.pi)((0,i.pi)({},"extensions"in tn?tn.extensions:null),(Jn={},Jn[$]=pn.errors,Jn))})),ne(tn)}else ne(pn);else if(1===Object.keys(pn).length&&"hasNext"in pn&&!pn.hasNext)return[2];bt=je.indexOf(_e)}return[3,1];case 3:return[2]}})})}(er,as):function pe(Fe){return function(ne){return ne.text().then(function(Me){return U(ne,Me)}).then(function(Me){return!Array.isArray(Me)&&!Se.call(Me,"data")&&!Se.call(Me,"errors")&&le(ne,Me,"Server response was missing for query '".concat(Array.isArray(Fe)?Fe.map(function(We){return We.operationName}):Fe.operationName,"'.")),Me})}}(me)(er).then(as)}).then(function(){ti=void 0,Pr.complete()}).catch(function(er){ti=void 0,function fe(Fe,ne){Fe.result&&Fe.result.errors&&Fe.result.data&&ne.next(Fe.result),ne.error(Fe)}(er,Pr)}),function(){ti&&ti.abort()}})})},Oe=function(Fe){function ne(Me){void 0===Me&&(Me={});var We=Fe.call(this,re(Me).request)||this;return We.options=Me,We}return(0,i.ZT)(ne,Fe),ne}(p.i),Ye=l(53735),vt=l(13395),Vt=l(72938);function Jt(Fe,ne,Me){return new b.y(function(We){var Tt={then:function(E){return new Promise(function(te){return te(E())})}};function Wt(E,te){return function(O){if(E){var T=function(){return We.closed?0:E(O)};Tt=Tt.then(T,T).then(function(J){return We.next(J)},function(J){return We.error(J)})}else We[te](O)}}var _e={next:Wt(ne,"next"),error:Wt(Me,"error"),complete:function(){Tt.then(function(){return We.complete()})}},je=Fe.subscribe(_e);return function(){return je.unsubscribe()}})}function hn(Fe){var ne=gn(Fe);return(0,$e.O)(ne)}function gn(Fe){var ne=(0,$e.O)(Fe.errors)?Fe.errors.slice(0):[];return Ee(Fe)&&(0,$e.O)(Fe.incremental)&&Fe.incremental.forEach(function(Me){Me.errors&&ne.push.apply(ne,Me.errors)}),ne}var yn=l(97634),An=l(48561);function Nn(Fe,ne,Me){var We=[];Fe.forEach(function(Tt){return Tt[ne]&&We.push(Tt)}),We.forEach(function(Tt){return Tt[ne](Me)})}function In(Fe){function ne(Me){Object.defineProperty(Fe,Me,{value:b.y})}return L.aS&&Symbol.species&&ne(Symbol.species),ne("@@species"),Fe}function wn(Fe){return Fe&&"function"==typeof Fe.then}var Wn=function(Fe){function ne(Me){var We=Fe.call(this,function(Tt){return We.addObserver(Tt),function(){return We.removeObserver(Tt)}})||this;return We.observers=new Set,We.promise=new Promise(function(Tt,Wt){We.resolve=Tt,We.reject=Wt}),We.handlers={next:function(Tt){null!==We.sub&&(We.latest=["next",Tt],We.notify("next",Tt),Nn(We.observers,"next",Tt))},error:function(Tt){var Wt=We.sub;null!==Wt&&(Wt&&setTimeout(function(){return Wt.unsubscribe()}),We.sub=null,We.latest=["error",Tt],We.reject(Tt),We.notify("error",Tt),Nn(We.observers,"error",Tt))},complete:function(){var Wt=We.sub,_e=We.sources;if(null!==Wt){var E=(void 0===_e?[]:_e).shift();E?wn(E)?E.then(function(te){return We.sub=te.subscribe(We.handlers)},We.handlers.error):We.sub=E.subscribe(We.handlers):(Wt&&setTimeout(function(){return Wt.unsubscribe()}),We.sub=null,We.latest&&"next"===We.latest[0]?We.resolve(We.latest[1]):We.resolve(),We.notify("complete"),Nn(We.observers,"complete"))}}},We.nextResultListeners=new Set,We.cancel=function(Tt){We.reject(Tt),We.sources=[],We.handlers.error(Tt)},We.promise.catch(function(Tt){}),"function"==typeof Me&&(Me=[new b.y(Me)]),wn(Me)?Me.then(function(Tt){return We.start(Tt)},We.handlers.error):We.start(Me),We}return(0,i.ZT)(ne,Fe),ne.prototype.start=function(Me){void 0===this.sub&&(this.sources=Array.from(Me),this.handlers.complete())},ne.prototype.deliverLastMessage=function(Me){if(this.latest){var We=this.latest[0],Tt=Me[We];Tt&&Tt.call(Me,this.latest[1]),null===this.sub&&"next"===We&&Me.complete&&Me.complete()}},ne.prototype.addObserver=function(Me){this.observers.has(Me)||(this.deliverLastMessage(Me),this.observers.add(Me))},ne.prototype.removeObserver=function(Me){this.observers.delete(Me)&&this.observers.size<1&&this.handlers.complete()},ne.prototype.notify=function(Me,We){var Tt=this.nextResultListeners;Tt.size&&(this.nextResultListeners=new Set,Tt.forEach(function(Wt){return Wt(Me,We)}))},ne.prototype.beforeNext=function(Me){var We=!1;this.nextResultListeners.add(function(Tt,Wt){We||(We=!0,Me(Tt,Wt))})},ne}(b.y);In(Wn);var Bn=(()=>{return(Fe=Bn||(Bn={}))[Fe.loading=1]="loading",Fe[Fe.setVariables=2]="setVariables",Fe[Fe.fetchMore=3]="fetchMore",Fe[Fe.refetch=4]="refetch",Fe[Fe.poll=6]="poll",Fe[Fe.ready=7]="ready",Fe[Fe.error=8]="error",Bn;var Fe})();function Xt(Fe){return!!Fe&&Fe<7}var ht=l(93950),be=l(80396),Ze=l(11371),_t=Object.assign,st=Object.hasOwnProperty,Ut=function(Fe){function ne(Me){var We=Me.queryManager,Tt=Me.queryInfo,Wt=Me.options,_e=Fe.call(this,function(It){try{var qt=It._subscription._observer;qt&&!qt.error&&(qt.error=dn)}catch(Mt){}var mn=!_e.observers.size;_e.observers.add(It);var _n=_e.last;return _n&&_n.error?It.error&&It.error(_n.error):_n&&_n.result&&It.next&&It.next(_n.result),mn&&_e.reobserve().catch(function(){}),function(){_e.observers.delete(It)&&!_e.observers.size&&_e.tearDownQuery()}})||this;_e.observers=new Set,_e.subscriptions=new Set,_e.queryInfo=Tt,_e.queryManager=We,_e.waitForOwnResult=ce(Wt.fetchPolicy),_e.isTornDown=!1,_e.subscribeToMore=_e.subscribeToMore.bind(_e);var je=We.defaultOptions.watchQuery,te=(void 0===je?{}:je).fetchPolicy,O=void 0===te?"cache-first":te,T=Wt.fetchPolicy,J=void 0===T?O:T,me=Wt.initialFetchPolicy,pt=void 0===me?"standby"===J?O:J:me;_e.options=(0,i.pi)((0,i.pi)({},Wt),{initialFetchPolicy:pt,fetchPolicy:J}),_e.queryId=Tt.queryId||We.generateQueryId();var bt=(0,F.$H)(_e.query);return _e.queryName=bt&&bt.name&&bt.name.value,_e}return(0,i.ZT)(ne,Fe),Object.defineProperty(ne.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),ne.prototype.result=function(){var Me=this;return new Promise(function(We,Tt){var Wt={next:function(je){We(je),Me.observers.delete(Wt),Me.observers.size||Me.queryManager.removeQuery(Me.queryId),setTimeout(function(){_e.unsubscribe()},0)},error:Tt},_e=Me.subscribe(Wt)})},ne.prototype.resetDiff=function(){this.queryInfo.resetDiff()},ne.prototype.getCurrentResult=function(Me){void 0===Me&&(Me=!0);var We=this.getLastResult(!0),Tt=this.queryInfo.networkStatus||We&&We.networkStatus||Bn.ready,Wt=(0,i.pi)((0,i.pi)({},We),{loading:Xt(Tt),networkStatus:Tt}),_e=this.options.fetchPolicy,je=void 0===_e?"cache-first":_e;if(!ce(je)&&!this.queryManager.getDocumentInfo(this.query).hasForcedResolvers)if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var E=this.queryInfo.getDiff();(E.complete||this.options.returnPartialData)&&(Wt.data=E.result),(0,Ye.D)(Wt.data,{})&&(Wt.data=void 0),E.complete?(delete Wt.partial,E.complete&&Wt.networkStatus===Bn.loading&&("cache-first"===je||"cache-only"===je)&&(Wt.networkStatus=Bn.ready,Wt.loading=!1)):Wt.partial=!0,!1!==globalThis.__DEV__&&!E.complete&&!this.options.partialRefetch&&!Wt.loading&&!Wt.data&&!Wt.error&&jt(E.missing)}return Me&&this.updateLastResult(Wt),Wt},ne.prototype.isDifferentFromLastResult=function(Me,We){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!(0,Ze.W)(this.query,this.last.result,Me,this.variables):!(0,Ye.D)(this.last.result,Me))||We&&!(0,Ye.D)(this.last.variables,We)},ne.prototype.getLast=function(Me,We){var Tt=this.last;if(Tt&&Tt[Me]&&(!We||(0,Ye.D)(Tt.variables,this.variables)))return Tt[Me]},ne.prototype.getLastResult=function(Me){return this.getLast("result",Me)},ne.prototype.getLastError=function(Me){return this.getLast("error",Me)},ne.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},ne.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},ne.prototype.refetch=function(Me){var We,Tt={pollInterval:0},Wt=this.options.fetchPolicy;if(Tt.fetchPolicy="cache-and-network"===Wt?Wt:"no-cache"===Wt?"no-cache":"network-only",!1!==globalThis.__DEV__&&Me&&st.call(Me,"variables")){var _e=(0,F.iW)(this.query),je=_e.variableDefinitions;(!je||!je.some(function(E){return"variables"===E.variable.name.value}))&&!1!==globalThis.__DEV__&&d.kG.warn(20,Me,(null===(We=_e.name)||void 0===We?void 0:We.value)||_e)}return Me&&!(0,Ye.D)(this.options.variables,Me)&&(Tt.variables=this.options.variables=(0,i.pi)((0,i.pi)({},this.options.variables),Me)),this.queryInfo.resetLastWrite(),this.reobserve(Tt,Bn.refetch)},ne.prototype.fetchMore=function(Me){var We=this,Tt=(0,i.pi)((0,i.pi)({},Me.query?Me:(0,i.pi)((0,i.pi)((0,i.pi)((0,i.pi)({},this.options),{query:this.options.query}),Me),{variables:(0,i.pi)((0,i.pi)({},this.options.variables),Me.variables)})),{fetchPolicy:"no-cache"});Tt.query=this.transformDocument(Tt.query);var Wt=this.queryManager.generateQueryId();this.lastQuery=Me.query?this.transformDocument(this.options.query):Tt.query;var _e=this.queryInfo,je=_e.networkStatus;_e.networkStatus=Bn.fetchMore,Tt.notifyOnNetworkStatusChange&&this.observe();var E=new Set,te=null==Me?void 0:Me.updateQuery,O="no-cache"!==this.options.fetchPolicy;return O||(0,d.kG)(te,21),this.queryManager.fetchQuery(Wt,Tt,Bn.fetchMore).then(function(T){if(We.queryManager.removeQuery(Wt),_e.networkStatus===Bn.fetchMore&&(_e.networkStatus=je),O)We.queryManager.cache.batch({update:function(pt){var bt=Me.updateQuery;bt?pt.updateQuery({query:We.query,variables:We.variables,returnPartialData:!0,optimistic:!1},function(It){return bt(It,{fetchMoreResult:T.data,variables:Tt.variables})}):pt.writeQuery({query:Tt.query,variables:Tt.variables,data:T.data})},onWatchUpdated:function(pt){E.add(pt.query)}});else{var J=We.getLast("result"),me=te(J.data,{fetchMoreResult:T.data,variables:Tt.variables});We.reportResult((0,i.pi)((0,i.pi)({},J),{data:me}),We.variables)}return T}).finally(function(){O&&!E.has(We.query)&&Ht(We)})},ne.prototype.subscribeToMore=function(Me){var We=this,Tt=this.queryManager.startGraphQLSubscription({query:Me.document,variables:Me.variables,context:Me.context}).subscribe({next:function(Wt){var _e=Me.updateQuery;_e&&We.updateQuery(function(je,E){return _e(je,{subscriptionData:Wt,variables:E.variables})})},error:function(Wt){Me.onError?Me.onError(Wt):!1!==globalThis.__DEV__&&d.kG.error(22,Wt)}});return this.subscriptions.add(Tt),function(){We.subscriptions.delete(Tt)&&Tt.unsubscribe()}},ne.prototype.setOptions=function(Me){return this.reobserve(Me)},ne.prototype.silentSetOptions=function(Me){var We=(0,ht.o)(this.options,Me||{});_t(this.options,We)},ne.prototype.setVariables=function(Me){return(0,Ye.D)(this.variables,Me)?this.observers.size?this.result():Promise.resolve():(this.options.variables=Me,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:Me},Bn.setVariables):Promise.resolve())},ne.prototype.updateQuery=function(Me){var We=this.queryManager,Wt=Me(We.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});Wt&&(We.cache.writeQuery({query:this.options.query,data:Wt,variables:this.variables}),We.broadcastQueries())},ne.prototype.startPolling=function(Me){this.options.pollInterval=Me,this.updatePolling()},ne.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},ne.prototype.applyNextFetchPolicy=function(Me,We){if(We.nextFetchPolicy){var Tt=We.fetchPolicy,Wt=void 0===Tt?"cache-first":Tt,_e=We.initialFetchPolicy,je=void 0===_e?Wt:_e;"standby"===Wt||(We.fetchPolicy="function"==typeof We.nextFetchPolicy?We.nextFetchPolicy(Wt,{reason:Me,options:We,observable:this,initialFetchPolicy:je}):"variables-changed"===Me?je:We.nextFetchPolicy)}return We.fetchPolicy},ne.prototype.fetch=function(Me,We,Tt){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,Me,We,Tt)},ne.prototype.updatePolling=function(){var Me=this;if(!this.queryManager.ssrMode){var Tt=this.pollingInfo,Wt=this.options.pollInterval;if(!Wt||!this.hasObservers())return void(Tt&&(clearTimeout(Tt.timeout),delete this.pollingInfo));if(!Tt||Tt.interval!==Wt){(0,d.kG)(Wt,23),(Tt||(this.pollingInfo={})).interval=Wt;var je=function(){var te,O;Me.pollingInfo&&(Xt(Me.queryInfo.networkStatus)||(null===(O=(te=Me.options).skipPollAttempt)||void 0===O?void 0:O.call(te))?E():Me.reobserve({fetchPolicy:"no-cache"===Me.options.initialFetchPolicy?"no-cache":"network-only"},Bn.poll).then(E,E))},E=function(){var te=Me.pollingInfo;te&&(clearTimeout(te.timeout),te.timeout=setTimeout(je,te.interval))};E()}}},ne.prototype.updateLastResult=function(Me,We){void 0===We&&(We=this.variables);var Tt=this.getLastError();return Tt&&this.last&&!(0,Ye.D)(We,this.last.variables)&&(Tt=void 0),this.last=(0,i.pi)({result:this.queryManager.assumeImmutableResults?Me:(0,be.X)(Me),variables:We},Tt?{error:Tt}:null)},ne.prototype.reobserveAsConcast=function(Me,We){var Tt=this;this.isTornDown=!1;var Wt=We===Bn.refetch||We===Bn.fetchMore||We===Bn.poll,_e=this.options.variables,je=this.options.fetchPolicy,E=(0,ht.o)(this.options,Me||{}),te=Wt?E:_t(this.options,E),O=this.transformDocument(te.query);this.lastQuery=O,Wt||(this.updatePolling(),Me&&Me.variables&&!(0,Ye.D)(Me.variables,_e)&&"standby"!==te.fetchPolicy&&(te.fetchPolicy===je||"function"==typeof te.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",te),void 0===We&&(We=Bn.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=ce(te.fetchPolicy));var T=function(){Tt.concast===pt&&(Tt.waitForOwnResult=!1)},J=te.variables&&(0,i.pi)({},te.variables),me=this.fetch(te,We,O),pt=me.concast,It={next:function(qt){(0,Ye.D)(Tt.variables,J)&&(T(),Tt.reportResult(qt,J))},error:function(qt){(0,Ye.D)(Tt.variables,J)&&(ae(qt)||(qt=new Ve({networkError:qt})),T(),Tt.reportError(qt,J))}};return!Wt&&(me.fromLink||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=pt,this.observer=It),pt.addObserver(It),pt},ne.prototype.reobserve=function(Me,We){return this.reobserveAsConcast(Me,We).promise},ne.prototype.resubscribeAfterError=function(){for(var Me=[],We=0;We<arguments.length;We++)Me[We]=arguments[We];var Tt=this.last;this.resetLastResults();var Wt=this.subscribe.apply(this,Me);return this.last=Tt,Wt},ne.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},ne.prototype.reportResult=function(Me,We){var Tt=this.getLastError(),Wt=this.isDifferentFromLastResult(Me,We);(Tt||!Me.partial||this.options.returnPartialData)&&this.updateLastResult(Me,We),(Tt||Wt)&&Nn(this.observers,"next",Me)},ne.prototype.reportError=function(Me,We){var Tt=(0,i.pi)((0,i.pi)({},this.getLastResult()),{error:Me,errors:Me.graphQLErrors,networkStatus:Bn.error,loading:!1});this.updateLastResult(Tt,We),Nn(this.observers,"error",this.last.error=Me)},ne.prototype.hasObservers=function(){return this.observers.size>0},ne.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(Me){return Me.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},ne.prototype.transformDocument=function(Me){return this.queryManager.transform(Me)},ne}(b.y);function Ht(Fe){var ne=Fe.options,Me=ne.fetchPolicy,We=ne.nextFetchPolicy;return"cache-and-network"===Me||"network-only"===Me?Fe.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(Tt,Wt){return this.nextFetchPolicy=We,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(Tt,Wt):Me}}):Fe.reobserve()}function dn(Fe){!1!==globalThis.__DEV__&&d.kG.error(24,Fe.message,Fe.stack)}function jt(Fe){!1!==globalThis.__DEV__&&Fe&&!1!==globalThis.__DEV__&&d.kG.debug(25,Fe)}function ce(Fe){return"network-only"===Fe||"no-cache"===Fe||"standby"===Fe}In(Ut);var Ce=new(L.mr?WeakMap:Map);function Qe(Fe,ne){var Me=Fe[ne];"function"==typeof Me&&(Fe[ne]=function(){return Ce.set(Fe,(Ce.get(Fe)+1)%1e15),Me.apply(this,arguments)})}function rt(Fe){Fe.notifyTimeout&&(clearTimeout(Fe.notifyTimeout),Fe.notifyTimeout=void 0)}var Nt=function(){function Fe(ne,Me){void 0===Me&&(Me=ne.generateQueryId()),this.queryId=Me,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var We=this.cache=ne.cache;Ce.has(We)||(Ce.set(We,0),Qe(We,"evict"),Qe(We,"modify"),Qe(We,"reset"))}return Fe.prototype.init=function(ne){var Me=ne.networkStatus||Bn.loading;return this.variables&&this.networkStatus!==Bn.loading&&!(0,Ye.D)(this.variables,ne.variables)&&(Me=Bn.setVariables),(0,Ye.D)(ne.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:ne.document,variables:ne.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:Me}),ne.observableQuery&&this.setObservableQuery(ne.observableQuery),ne.lastRequestId&&(this.lastRequestId=ne.lastRequestId),this},Fe.prototype.reset=function(){rt(this),this.dirty=!1},Fe.prototype.resetDiff=function(){this.lastDiff=void 0},Fe.prototype.getDiff=function(){var ne=this.getDiffOptions();if(this.lastDiff&&(0,Ye.D)(ne,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var Me=this.observableQuery;if(Me&&"no-cache"===Me.options.fetchPolicy)return{complete:!1};var We=this.cache.diff(ne);return this.updateLastDiff(We,ne),We},Fe.prototype.updateLastDiff=function(ne,Me){this.lastDiff=ne?{diff:ne,options:Me||this.getDiffOptions()}:void 0},Fe.prototype.getDiffOptions=function(ne){var Me;return void 0===ne&&(ne=this.variables),{query:this.document,variables:ne,returnPartialData:!0,optimistic:!0,canonizeResults:null===(Me=this.observableQuery)||void 0===Me?void 0:Me.options.canonizeResults}},Fe.prototype.setDiff=function(ne){var We,Me=this,Tt=this.lastDiff&&this.lastDiff.diff;ne&&!ne.complete&&(null===(We=this.observableQuery)||void 0===We?void 0:We.getLastError())||(this.updateLastDiff(ne),!this.dirty&&!(0,Ye.D)(Tt&&Tt.result,ne&&ne.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return Me.notify()},0))))},Fe.prototype.setObservableQuery=function(ne){var Me=this;ne!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=ne,ne?(ne.queryInfo=this,this.listeners.add(this.oqListener=function(){Me.getDiff().fromOptimisticTransaction?ne.observe():Ht(ne)})):delete this.oqListener)},Fe.prototype.notify=function(){var ne=this;rt(this),this.shouldNotify()&&this.listeners.forEach(function(Me){return Me(ne)}),this.dirty=!1},Fe.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(Xt(this.networkStatus)&&this.observableQuery){var ne=this.observableQuery.options.fetchPolicy;if("cache-only"!==ne&&"cache-and-network"!==ne)return!1}return!0},Fe.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=Fe.prototype.cancel;var ne=this.observableQuery;ne&&ne.stopPolling()}},Fe.prototype.cancel=function(){},Fe.prototype.updateWatch=function(ne){var Me=this;void 0===ne&&(ne=this.variables);var We=this.observableQuery;if(!We||"no-cache"!==We.options.fetchPolicy){var Tt=(0,i.pi)((0,i.pi)({},this.getDiffOptions(ne)),{watcher:this,callback:function(Wt){return Me.setDiff(Wt)}});(!this.lastWatch||!(0,Ye.D)(Tt,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=Tt))}},Fe.prototype.resetLastWrite=function(){this.lastWrite=void 0},Fe.prototype.shouldWrite=function(ne,Me){var We=this.lastWrite;return!(We&&We.dmCount===Ce.get(this.cache)&&(0,Ye.D)(Me,We.variables)&&(0,Ye.D)(ne.data,We.result.data))},Fe.prototype.markResult=function(ne,Me,We,Tt){var Wt=this,_e=new Be.w0,je=(0,$e.O)(ne.errors)?ne.errors.slice(0):[];if(this.reset(),"incremental"in ne&&(0,$e.O)(ne.incremental)){var E=it(this.getDiff().result,ne);ne.data=E}else if("hasNext"in ne&&ne.hasNext){var te=this.getDiff();ne.data=_e.merge(te.result,ne.data)}this.graphQLErrors=je,"no-cache"===We.fetchPolicy?this.updateLastDiff({result:ne.data,complete:!0},this.getDiffOptions(We.variables)):0!==Tt&&(sn(ne,We.errorPolicy)?this.cache.performTransaction(function(O){if(Wt.shouldWrite(ne,We.variables))O.writeQuery({query:Me,data:ne.data,variables:We.variables,overwrite:1===Tt}),Wt.lastWrite={result:ne,variables:We.variables,dmCount:Ce.get(Wt.cache)};else if(Wt.lastDiff&&Wt.lastDiff.diff.complete)return void(ne.data=Wt.lastDiff.diff.result);var T=Wt.getDiffOptions(We.variables),J=O.diff(T);!Wt.stopped&&(0,Ye.D)(Wt.variables,We.variables)&&Wt.updateWatch(We.variables),Wt.updateLastDiff(J,T),J.complete&&(ne.data=J.result)}):this.lastWrite=void 0)},Fe.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Bn.ready},Fe.prototype.markError=function(ne){return this.networkStatus=Bn.error,this.lastWrite=void 0,this.reset(),ne.graphQLErrors&&(this.graphQLErrors=ne.graphQLErrors),ne.networkError&&(this.networkError=ne.networkError),ne},Fe}();function sn(Fe,ne){void 0===ne&&(ne="none");var Me="ignore"===ne||"all"===ne,We=!hn(Fe);return!We&&Me&&Fe.data&&(We=!0),We}var On=l(95216),Ln=l(19162),zn=l(64171),hi=Object.prototype.hasOwnProperty,mi=Object.create(null),gi=function(){function Fe(ne){var Me=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Ln.s(zn.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new On.B(!1);var We=new Vt.A(function(Wt){return Me.cache.transformDocument(Wt)},{cache:!1});this.cache=ne.cache,this.link=ne.link,this.defaultOptions=ne.defaultOptions,this.queryDeduplication=ne.queryDeduplication,this.clientAwareness=ne.clientAwareness,this.localState=ne.localState,this.ssrMode=ne.ssrMode,this.assumeImmutableResults=ne.assumeImmutableResults;var Tt=ne.documentTransform;this.documentTransform=Tt?We.concat(Tt).concat(We):We,this.defaultContext=ne.defaultContext||Object.create(null),(this.onBroadcast=ne.onBroadcast)&&(this.mutationStore=Object.create(null))}return Fe.prototype.stop=function(){var ne=this;this.queries.forEach(function(Me,We){ne.stopQueryNoBroadcast(We)}),this.cancelPendingFetches((0,d._K)(26))},Fe.prototype.cancelPendingFetches=function(ne){this.fetchCancelFns.forEach(function(Me){return Me(ne)}),this.fetchCancelFns.clear()},Fe.prototype.mutate=function(ne){return(0,i.mG)(this,arguments,void 0,function(Me){var We,Tt,Wt,_e,je,E,te,O=Me.mutation,T=Me.variables,J=Me.optimisticResponse,me=Me.updateQueries,pt=Me.refetchQueries,bt=void 0===pt?[]:pt,It=Me.awaitRefetchQueries,qt=void 0!==It&&It,mn=Me.update,_n=Me.onQueryUpdated,Mt=Me.fetchPolicy,pn=void 0===Mt?(null===(E=this.defaultOptions.mutate)||void 0===E?void 0:E.fetchPolicy)||"network-only":Mt,tn=Me.errorPolicy,Vn=void 0===tn?(null===(te=this.defaultOptions.mutate)||void 0===te?void 0:te.errorPolicy)||"none":tn,Jn=Me.keepRootFields,ci=Me.context;return(0,i.Jh)(this,function(ti){switch(ti.label){case 0:return(0,d.kG)(O,27),(0,d.kG)("network-only"===pn||"no-cache"===pn,28),We=this.generateMutationId(),O=this.cache.transformForLink(this.transform(O)),Tt=this.getDocumentInfo(O).hasClientExports,T=this.getVariables(O,T),Tt?[4,this.localState.addExportedVariables(O,T,ci)]:[3,2];case 1:T=ti.sent(),ti.label=2;case 2:return Wt=this.mutationStore&&(this.mutationStore[We]={mutation:O,variables:T,loading:!0,error:null}),_e=J&&this.markMutationOptimistic(J,{mutationId:We,document:O,variables:T,fetchPolicy:pn,errorPolicy:Vn,context:ci,updateQueries:me,update:mn,keepRootFields:Jn}),this.broadcastQueries(),je=this,[2,new Promise(function(Di,Ci){return Jt(je.getObservableFromLink(O,(0,i.pi)((0,i.pi)({},ci),{optimisticResponse:_e?J:void 0}),T,{},!1),function(li){if(hn(li)&&"none"===Vn)throw new Ve({graphQLErrors:gn(li)});Wt&&(Wt.loading=!1,Wt.error=null);var $i=(0,i.pi)({},li);return"function"==typeof bt&&(bt=bt($i)),"ignore"===Vn&&hn($i)&&delete $i.errors,je.markMutationResult({mutationId:We,result:$i,document:O,variables:T,fetchPolicy:pn,errorPolicy:Vn,context:ci,update:mn,updateQueries:me,awaitRefetchQueries:qt,refetchQueries:bt,removeOptimistic:_e?We:void 0,onQueryUpdated:_n,keepRootFields:Jn})}).subscribe({next:function(li){je.broadcastQueries(),(!("hasNext"in li)||!1===li.hasNext)&&Di(li)},error:function(li){Wt&&(Wt.loading=!1,Wt.error=li),_e&&je.cache.removeOptimistic(We),je.broadcastQueries(),Ci(li instanceof Ve?li:new Ve({networkError:li}))}})})]}})})},Fe.prototype.markMutationResult=function(ne,Me){var We=this;void 0===Me&&(Me=this.cache);var Tt=ne.result,Wt=[],_e="no-cache"===ne.fetchPolicy;if(!_e&&sn(Tt,ne.errorPolicy)){if(Ee(Tt)||Wt.push({result:Tt.data,dataId:"ROOT_MUTATION",query:ne.document,variables:ne.variables}),Ee(Tt)&&(0,$e.O)(Tt.incremental)){var je=Me.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(ne.document).asQuery,variables:ne.variables,optimistic:!1,returnPartialData:!0}),E=void 0;je.result&&(E=it(je.result,Tt)),void 0!==E&&(Tt.data=E,Wt.push({result:E,dataId:"ROOT_MUTATION",query:ne.document,variables:ne.variables}))}var te=ne.updateQueries;te&&this.queries.forEach(function(T,J){var me=T.observableQuery,pt=me&&me.queryName;if(pt&&hi.call(te,pt)){var bt=te[pt],It=We.queries.get(J),qt=It.document,mn=It.variables,_n=Me.diff({query:qt,variables:mn,returnPartialData:!0,optimistic:!1}),Mt=_n.result;if(_n.complete&&Mt){var tn=bt(Mt,{mutationResult:Tt,queryName:qt&&(0,F.rY)(qt)||void 0,queryVariables:mn});tn&&Wt.push({result:tn,dataId:"ROOT_QUERY",query:qt,variables:mn})}}})}if(Wt.length>0||(ne.refetchQueries||"").length>0||ne.update||ne.onQueryUpdated||ne.removeOptimistic){var O=[];if(this.refetchQueries({updateCache:function(T){_e||Wt.forEach(function(bt){return T.write(bt)});var J=ne.update,me=!function Re(Fe){return Ee(Fe)||function Ie(Fe){return"hasNext"in Fe&&"data"in Fe}(Fe)}(Tt)||Ee(Tt)&&!Tt.hasNext;if(J){if(!_e){var pt=T.diff({id:"ROOT_MUTATION",query:We.getDocumentInfo(ne.document).asQuery,variables:ne.variables,optimistic:!1,returnPartialData:!0});pt.complete&&("incremental"in(Tt=(0,i.pi)((0,i.pi)({},Tt),{data:pt.result}))&&delete Tt.incremental,"hasNext"in Tt&&delete Tt.hasNext)}me&&J(T,Tt,{context:ne.context,variables:ne.variables})}!_e&&!ne.keepRootFields&&me&&T.modify({id:"ROOT_MUTATION",fields:function(bt,It){return"__typename"===It.fieldName?bt:It.DELETE}})},include:ne.refetchQueries,optimistic:!1,removeOptimistic:ne.removeOptimistic,onQueryUpdated:ne.onQueryUpdated||null}).forEach(function(T){return O.push(T)}),ne.awaitRefetchQueries||ne.onQueryUpdated)return Promise.all(O).then(function(){return Tt})}return Promise.resolve(Tt)},Fe.prototype.markMutationOptimistic=function(ne,Me){var We=this,Tt="function"==typeof ne?ne(Me.variables,{IGNORE:mi}):ne;return Tt!==mi&&(this.cache.recordOptimisticTransaction(function(Wt){try{We.markMutationResult((0,i.pi)((0,i.pi)({},Me),{result:{data:Tt}}),Wt)}catch(_e){!1!==globalThis.__DEV__&&d.kG.error(_e)}},Me.mutationId),!0)},Fe.prototype.fetchQuery=function(ne,Me,We){return this.fetchConcastWithInfo(ne,Me,We).concast.promise},Fe.prototype.getQueryStore=function(){var ne=Object.create(null);return this.queries.forEach(function(Me,We){ne[We]={variables:Me.variables,networkStatus:Me.networkStatus,networkError:Me.networkError,graphQLErrors:Me.graphQLErrors}}),ne},Fe.prototype.resetErrors=function(ne){var Me=this.queries.get(ne);Me&&(Me.networkError=void 0,Me.graphQLErrors=[])},Fe.prototype.transform=function(ne){return this.documentTransform.transformDocument(ne)},Fe.prototype.getDocumentInfo=function(ne){var Me=this.transformCache;if(!Me.has(ne)){var We={hasClientExports:(0,v.mj)(ne),hasForcedResolvers:this.localState.shouldForceResolvers(ne),hasNonreactiveDirective:(0,v.FS)(["nonreactive"],ne),clientQuery:this.localState.clientQuery(ne),serverQuery:(0,N.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],ne),defaultVars:(0,F.O4)((0,F.$H)(ne)),asQuery:(0,i.pi)((0,i.pi)({},ne),{definitions:ne.definitions.map(function(Tt){return"OperationDefinition"===Tt.kind&&"query"!==Tt.operation?(0,i.pi)((0,i.pi)({},Tt),{operation:"query"}):Tt})})};Me.set(ne,We)}return Me.get(ne)},Fe.prototype.getVariables=function(ne,Me){return(0,i.pi)((0,i.pi)({},this.getDocumentInfo(ne).defaultVars),Me)},Fe.prototype.watchQuery=function(ne){var Me=this.transform(ne.query);void 0===(ne=(0,i.pi)((0,i.pi)({},ne),{variables:this.getVariables(Me,ne.variables)})).notifyOnNetworkStatusChange&&(ne.notifyOnNetworkStatusChange=!1);var We=new Nt(this),Tt=new Ut({queryManager:this,queryInfo:We,options:ne});return Tt.lastQuery=Me,this.queries.set(Tt.queryId,We),We.init({document:Me,observableQuery:Tt,variables:Tt.variables}),Tt},Fe.prototype.query=function(ne,Me){var We=this;return void 0===Me&&(Me=this.generateQueryId()),(0,d.kG)(ne.query,29),(0,d.kG)("Document"===ne.query.kind,30),(0,d.kG)(!ne.returnPartialData,31),(0,d.kG)(!ne.pollInterval,32),this.fetchQuery(Me,(0,i.pi)((0,i.pi)({},ne),{query:this.transform(ne.query)})).finally(function(){return We.stopQuery(Me)})},Fe.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},Fe.prototype.generateRequestId=function(){return this.requestIdCounter++},Fe.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},Fe.prototype.stopQueryInStore=function(ne){this.stopQueryInStoreNoBroadcast(ne),this.broadcastQueries()},Fe.prototype.stopQueryInStoreNoBroadcast=function(ne){var Me=this.queries.get(ne);Me&&Me.stop()},Fe.prototype.clearStore=function(ne){return void 0===ne&&(ne={discardWatches:!0}),this.cancelPendingFetches((0,d._K)(33)),this.queries.forEach(function(Me){Me.observableQuery?Me.networkStatus=Bn.loading:Me.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(ne)},Fe.prototype.getObservableQueries=function(ne){var Me=this;void 0===ne&&(ne="active");var We=new Map,Tt=new Map,Wt=new Set;return Array.isArray(ne)&&ne.forEach(function(_e){"string"==typeof _e?Tt.set(_e,!1):(0,yn.JW)(_e)?Tt.set(Me.transform(_e),!1):(0,oe.s)(_e)&&_e.query&&Wt.add(_e)}),this.queries.forEach(function(_e,je){var E=_e.observableQuery,te=_e.document;if(E){if("all"===ne)return void We.set(je,E);var O=E.queryName;if("standby"===E.options.fetchPolicy||"active"===ne&&!E.hasObservers())return;("active"===ne||O&&Tt.has(O)||te&&Tt.has(te))&&(We.set(je,E),O&&Tt.set(O,!0),te&&Tt.set(te,!0))}}),Wt.size&&Wt.forEach(function(_e){var je=(0,An.X)("legacyOneTimeQuery"),E=Me.getQuery(je).init({document:_e.query,variables:_e.variables}),te=new Ut({queryManager:Me,queryInfo:E,options:(0,i.pi)((0,i.pi)({},_e),{fetchPolicy:"network-only"})});(0,d.kG)(te.queryId===je),E.setObservableQuery(te),We.set(je,te)}),!1!==globalThis.__DEV__&&Tt.size&&Tt.forEach(function(_e,je){_e||!1!==globalThis.__DEV__&&d.kG.warn("string"==typeof je?34:35,je)}),We},Fe.prototype.reFetchObservableQueries=function(ne){var Me=this;void 0===ne&&(ne=!1);var We=[];return this.getObservableQueries(ne?"all":"active").forEach(function(Tt,Wt){var _e=Tt.options.fetchPolicy;Tt.resetLastResults(),(ne||"standby"!==_e&&"cache-only"!==_e)&&We.push(Tt.refetch()),Me.getQuery(Wt).setDiff(null)}),this.broadcastQueries(),Promise.all(We)},Fe.prototype.setObservableQuery=function(ne){this.getQuery(ne.queryId).setObservableQuery(ne)},Fe.prototype.startGraphQLSubscription=function(ne){var Me=this,We=ne.query,Tt=ne.fetchPolicy,Wt=ne.errorPolicy,_e=void 0===Wt?"none":Wt,je=ne.variables,E=ne.context,te=void 0===E?{}:E,O=ne.extensions,T=void 0===O?{}:O;We=this.transform(We),je=this.getVariables(We,je);var J=function(pt){return Me.getObservableFromLink(We,te,pt,T).map(function(bt){"no-cache"!==Tt&&(sn(bt,_e)&&Me.cache.write({query:We,result:bt.data,dataId:"ROOT_SUBSCRIPTION",variables:pt}),Me.broadcastQueries());var It=hn(bt),qt=function y(Fe){return!!Fe.extensions&&Array.isArray(Fe.extensions[$])}(bt);if(It||qt){var mn={};if(It&&(mn.graphQLErrors=bt.errors),qt&&(mn.protocolErrors=bt.extensions[$]),"none"===_e||qt)throw new Ve(mn)}return"ignore"===_e&&delete bt.errors,bt})};if(this.getDocumentInfo(We).hasClientExports){var me=this.localState.addExportedVariables(We,je,te).then(J);return new b.y(function(pt){var bt=null;return me.then(function(It){return bt=It.subscribe(pt)},pt.error),function(){return bt&&bt.unsubscribe()}})}return J(je)},Fe.prototype.stopQuery=function(ne){this.stopQueryNoBroadcast(ne),this.broadcastQueries()},Fe.prototype.stopQueryNoBroadcast=function(ne){this.stopQueryInStoreNoBroadcast(ne),this.removeQuery(ne)},Fe.prototype.removeQuery=function(ne){this.fetchCancelFns.delete(ne),this.queries.has(ne)&&(this.getQuery(ne).stop(),this.queries.delete(ne))},Fe.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(ne){return ne.notify()})},Fe.prototype.getLocalState=function(){return this.localState},Fe.prototype.getObservableFromLink=function(ne,Me,We,Tt,Wt){var je,_e=this;void 0===Wt&&(Wt=null!==(je=null==Me?void 0:Me.queryDeduplication)&&void 0!==je?je:this.queryDeduplication);var E,te=this.getDocumentInfo(ne),O=te.serverQuery,T=te.clientQuery;if(O){var me=this.inFlightLinkObservables,pt=this.link,bt={query:O,variables:We,operationName:(0,F.rY)(O)||void 0,context:this.prepareContext((0,i.pi)((0,i.pi)({},Me),{forceFetch:!Wt})),extensions:Tt};if(Me=bt.context,Wt){var It=(0,et.S)(O),qt=(0,vt.B)(We),mn=me.lookup(It,qt);if(!(E=mn.observable)){var _n=new Wn([C(pt,bt)]);E=mn.observable=_n,_n.beforeNext(function(){me.remove(It,qt)})}}else E=new Wn([C(pt,bt)])}else E=new Wn([b.y.of({data:{}})]),Me=this.prepareContext(Me);return T&&(E=Jt(E,function(Mt){return _e.localState.runResolvers({document:T,remoteResult:Mt,context:Me,variables:We})})),E},Fe.prototype.getResultsFromLink=function(ne,Me,We){var Tt=ne.lastRequestId=this.generateRequestId(),Wt=this.cache.transformForLink(We.query);return Jt(this.getObservableFromLink(Wt,We.context,We.variables),function(_e){var je=gn(_e),E=je.length>0,te=We.errorPolicy;if(Tt>=ne.lastRequestId){if(E&&"none"===te)throw ne.markError(new Ve({graphQLErrors:je}));ne.markResult(_e,Wt,We,Me),ne.markReady()}var O={data:_e.data,loading:!1,networkStatus:Bn.ready};return E&&"none"===te&&(O.data=void 0),E&&"ignore"!==te&&(O.errors=je,O.networkStatus=Bn.error),O},function(_e){var je=ae(_e)?_e:new Ve({networkError:_e});throw Tt>=ne.lastRequestId&&ne.markError(je),je})},Fe.prototype.fetchConcastWithInfo=function(ne,Me,We,Tt){var Wt=this;void 0===We&&(We=Bn.loading),void 0===Tt&&(Tt=Me.query);var tn,Vn,_e=this.getVariables(Tt,Me.variables),je=this.getQuery(ne),E=this.defaultOptions.watchQuery,te=Me.fetchPolicy,T=Me.errorPolicy,me=Me.returnPartialData,bt=Me.notifyOnNetworkStatusChange,qt=Me.context,_n=Object.assign({},Me,{query:Tt,variables:_e,fetchPolicy:void 0===te?E&&E.fetchPolicy||"cache-first":te,errorPolicy:void 0===T?E&&E.errorPolicy||"none":T,returnPartialData:void 0!==me&&me,notifyOnNetworkStatusChange:void 0!==bt&&bt,context:void 0===qt?{}:qt}),Mt=function(ci){_n.variables=ci;var ti=Wt.fetchQueryByPolicy(je,_n,We);return"standby"!==_n.fetchPolicy&&ti.sources.length>0&&je.observableQuery&&je.observableQuery.applyNextFetchPolicy("after-fetch",Me),ti},pn=function(){return Wt.fetchCancelFns.delete(ne)};if(this.fetchCancelFns.set(ne,function(ci){pn(),setTimeout(function(){return tn.cancel(ci)})}),this.getDocumentInfo(_n.query).hasClientExports)tn=new Wn(this.localState.addExportedVariables(_n.query,_n.variables,_n.context).then(Mt).then(function(ci){return ci.sources})),Vn=!0;else{var Jn=Mt(_n.variables);Vn=Jn.fromLink,tn=new Wn(Jn.sources)}return tn.promise.then(pn,pn),{concast:tn,fromLink:Vn}},Fe.prototype.refetchQueries=function(ne){var Me=this,We=ne.updateCache,Tt=ne.include,Wt=ne.optimistic,_e=void 0!==Wt&&Wt,je=ne.removeOptimistic,E=void 0===je?_e?(0,An.X)("refetchQueries"):void 0:je,te=ne.onQueryUpdated,O=new Map;Tt&&this.getObservableQueries(Tt).forEach(function(J,me){O.set(me,{oq:J,lastDiff:Me.getQuery(me).getDiff()})});var T=new Map;return We&&this.cache.batch({update:We,optimistic:_e&&E||!1,removeOptimistic:E,onWatchUpdated:function(J,me,pt){var bt=J.watcher instanceof Nt&&J.watcher.observableQuery;if(bt){if(te){O.delete(bt.queryId);var It=te(bt,me,pt);return!0===It&&(It=bt.refetch()),!1!==It&&T.set(bt,It),It}null!==te&&O.set(bt.queryId,{oq:bt,lastDiff:pt,diff:me})}}}),O.size&&O.forEach(function(J,me){var qt,pt=J.oq,bt=J.lastDiff,It=J.diff;if(te){if(!It){var mn=pt.queryInfo;mn.reset(),It=mn.getDiff()}qt=te(pt,It,bt)}(!te||!0===qt)&&(qt=pt.refetch()),!1!==qt&&T.set(pt,qt),me.indexOf("legacyOneTimeQuery")>=0&&Me.stopQueryNoBroadcast(me)}),E&&this.cache.removeOptimistic(E),T},Fe.prototype.fetchQueryByPolicy=function(ne,Me,We){var Tt=this,Wt=Me.query,_e=Me.variables,je=Me.fetchPolicy,E=Me.refetchWritePolicy,te=Me.errorPolicy,O=Me.returnPartialData,T=Me.context,J=Me.notifyOnNetworkStatusChange,me=ne.networkStatus;ne.init({document:Wt,variables:_e,networkStatus:We});var pt=function(){return ne.getDiff()},bt=function(Mt,pn){void 0===pn&&(pn=ne.networkStatus||Bn.loading);var tn=Mt.result;!1!==globalThis.__DEV__&&!O&&!(0,Ye.D)(tn,{})&&jt(Mt.missing);var Vn=function(Jn){return b.y.of((0,i.pi)({data:Jn,loading:Xt(pn),networkStatus:pn},Mt.complete?null:{partial:!0}))};return tn&&Tt.getDocumentInfo(Wt).hasForcedResolvers?Tt.localState.runResolvers({document:Wt,remoteResult:{data:tn},context:T,variables:_e,onlyRunForcedResolvers:!0}).then(function(Jn){return Vn(Jn.data||void 0)}):"none"===te&&pn===Bn.refetch&&Array.isArray(Mt.missing)?Vn(void 0):Vn(tn)},It="no-cache"===je?0:We===Bn.refetch&&"merge"!==E?1:2,qt=function(){return Tt.getResultsFromLink(ne,It,{query:Wt,variables:_e,context:T,fetchPolicy:je,errorPolicy:te})},mn=J&&"number"==typeof me&&me!==We&&Xt(We);switch(je){default:case"cache-first":return(_n=pt()).complete?{fromLink:!1,sources:[bt(_n,ne.markReady())]}:O||mn?{fromLink:!0,sources:[bt(_n),qt()]}:{fromLink:!0,sources:[qt()]};case"cache-and-network":var _n;return(_n=pt()).complete||O||mn?{fromLink:!0,sources:[bt(_n),qt()]}:{fromLink:!0,sources:[qt()]};case"cache-only":return{fromLink:!1,sources:[bt(pt(),ne.markReady())]};case"network-only":return mn?{fromLink:!0,sources:[bt(pt()),qt()]}:{fromLink:!0,sources:[qt()]};case"no-cache":return mn?{fromLink:!0,sources:[bt(ne.getDiff()),qt()]}:{fromLink:!0,sources:[qt()]};case"standby":return{fromLink:!1,sources:[]}}},Fe.prototype.getQuery=function(ne){return ne&&!this.queries.has(ne)&&this.queries.set(ne,new Nt(this,ne)),this.queries.get(ne)},Fe.prototype.prepareContext=function(ne){void 0===ne&&(ne={});var Me=this.localState.prepareContext(ne);return(0,i.pi)((0,i.pi)((0,i.pi)({},this.defaultContext),Me),{clientAwareness:this.clientAwareness})},Fe}(),ki=l(22289);function Ni(Fe){return Fe.kind===ki.h.FIELD||Fe.kind===ki.h.FRAGMENT_SPREAD||Fe.kind===ki.h.INLINE_FRAGMENT}var cn=l(89661),qn=l(56430),Qn=function(){function Fe(ne){var Me=ne.cache,We=ne.client,Tt=ne.resolvers,Wt=ne.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=Me,We&&(this.client=We),Tt&&this.addResolvers(Tt),Wt&&this.setFragmentMatcher(Wt)}return Fe.prototype.addResolvers=function(ne){var Me=this;this.resolvers=this.resolvers||{},Array.isArray(ne)?ne.forEach(function(We){Me.resolvers=(0,Be.Ee)(Me.resolvers,We)}):this.resolvers=(0,Be.Ee)(this.resolvers,ne)},Fe.prototype.setResolvers=function(ne){this.resolvers={},this.addResolvers(ne)},Fe.prototype.getResolvers=function(){return this.resolvers||{}},Fe.prototype.runResolvers=function(ne){return(0,i.mG)(this,arguments,void 0,function(Me){var We=Me.document,Tt=Me.remoteResult,Wt=Me.context,_e=Me.variables,je=Me.onlyRunForcedResolvers,E=void 0!==je&&je;return(0,i.Jh)(this,function(te){return We?[2,this.resolveDocument(We,Tt.data,Wt,_e,this.fragmentMatcher,E).then(function(O){return(0,i.pi)((0,i.pi)({},Tt),{data:O.result})})]:[2,Tt]})})},Fe.prototype.setFragmentMatcher=function(ne){this.fragmentMatcher=ne},Fe.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},Fe.prototype.clientQuery=function(ne){return(0,v.FS)(["client"],ne)&&this.resolvers?ne:null},Fe.prototype.serverQuery=function(ne){return(0,N.ob)(ne)},Fe.prototype.prepareContext=function(ne){var Me=this.cache;return(0,i.pi)((0,i.pi)({},ne),{cache:Me,getCacheKey:function(We){return Me.identify(We)}})},Fe.prototype.addExportedVariables=function(ne){return(0,i.mG)(this,arguments,void 0,function(Me,We,Tt){return void 0===We&&(We={}),void 0===Tt&&(Tt={}),(0,i.Jh)(this,function(Wt){return Me?[2,this.resolveDocument(Me,this.buildRootValueFromCache(Me,We)||{},this.prepareContext(Tt),We).then(function(_e){return(0,i.pi)((0,i.pi)({},We),_e.exportedVariables)})]:[2,(0,i.pi)({},We)]})})},Fe.prototype.shouldForceResolvers=function(ne){var Me=!1;return(0,xe.Vn)(ne,{Directive:{enter:function(We){if("client"===We.name.value&&We.arguments&&(Me=We.arguments.some(function(Tt){return"always"===Tt.name.value&&"BooleanValue"===Tt.value.kind&&!0===Tt.value.value})))return xe.$_}}}),Me},Fe.prototype.buildRootValueFromCache=function(ne,Me){return this.cache.diff({query:(0,N.aL)(ne),variables:Me,returnPartialData:!0,optimistic:!1}).result},Fe.prototype.resolveDocument=function(ne,Me){return(0,i.mG)(this,arguments,void 0,function(We,Tt,Wt,_e,je,E){var te,O,T,J,me,pt,bt,It,qt,mn;return void 0===Wt&&(Wt={}),void 0===_e&&(_e={}),void 0===je&&(je=function(){return!0}),void 0===E&&(E=!1),(0,i.Jh)(this,function(Mt){return te=(0,F.p$)(We),O=(0,F.kU)(We),T=(0,cn.F)(O),J=this.collectSelectionsToResolve(te,T),pt=(me=te.operation)?me.charAt(0).toUpperCase()+me.slice(1):"Query",It=(bt=this).cache,qt=bt.client,mn={fragmentMap:T,context:(0,i.pi)((0,i.pi)({},Wt),{cache:It,client:qt}),variables:_e,fragmentMatcher:je,defaultOperationType:pt,exportedVariables:{},selectionsToResolve:J,onlyRunForcedResolvers:E},[2,this.resolveSelectionSet(te.selectionSet,!1,Tt,mn).then(function(pn){return{result:pn,exportedVariables:mn.exportedVariables}})]})})},Fe.prototype.resolveSelectionSet=function(ne,Me,We,Tt){return(0,i.mG)(this,void 0,void 0,function(){var Wt,_e,je,E,O=this;return(0,i.Jh)(this,function(T){return Wt=Tt.fragmentMap,_e=Tt.context,je=Tt.variables,E=[We],[2,Promise.all(ne.selections.map(function(J){return(0,i.mG)(O,void 0,void 0,function(){var me;return(0,i.Jh)(this,function(bt){return(Me||Tt.selectionsToResolve.has(J))&&(0,v.LZ)(J,je)?(0,yn.My)(J)?[2,this.resolveField(J,Me,We,Tt).then(function(It){var qt;void 0!==It&&E.push(((qt={})[(0,yn.u2)(J)]=It,qt))})]:((0,yn.Ao)(J)?me=J:(0,d.kG)(me=Wt[J.name.value],18,J.name.value),me&&me.typeCondition&&Tt.fragmentMatcher(We,me.typeCondition.name.value,_e)?[2,this.resolveSelectionSet(me.selectionSet,Me,We,Tt).then(function(It){E.push(It)})]:[2]):[2]})})})).then(function(){return(0,Be.bw)(E)})]})})},Fe.prototype.resolveField=function(ne,Me,We,Tt){return(0,i.mG)(this,void 0,void 0,function(){var Wt,_e,je,E,te,O,T,J,me,pt=this;return(0,i.Jh)(this,function(bt){return We?(Wt=Tt.variables,_e=ne.name.value,je=(0,yn.u2)(ne),E=_e!==je,te=We[je]||We[_e],O=Promise.resolve(te),(!Tt.onlyRunForcedResolvers||this.shouldForceResolvers(ne))&&(T=We.__typename||Tt.defaultOperationType,(J=this.resolvers&&this.resolvers[T])&&(me=J[E?_e:je])&&(O=Promise.resolve(qn.ab.withValue(this.cache,me,[We,(0,yn.NC)(ne,Wt),Tt.context,{field:ne,fragmentMap:Tt.fragmentMap}])))),[2,O.then(function(It){var qt,mn;if(void 0===It&&(It=te),ne.directives&&ne.directives.forEach(function(Mt){"export"===Mt.name.value&&Mt.arguments&&Mt.arguments.forEach(function(pn){"as"===pn.name.value&&"StringValue"===pn.value.kind&&(Tt.exportedVariables[pn.value.value]=It)})}),!ne.selectionSet||null==It)return It;var _n=null!==(mn=null===(qt=ne.directives)||void 0===qt?void 0:qt.some(function(Mt){return"client"===Mt.name.value}))&&void 0!==mn&&mn;return Array.isArray(It)?pt.resolveSubSelectedArray(ne,Me||_n,It,Tt):ne.selectionSet?pt.resolveSelectionSet(ne.selectionSet,Me||_n,It,Tt):void 0})]):[2,null]})})},Fe.prototype.resolveSubSelectedArray=function(ne,Me,We,Tt){var Wt=this;return Promise.all(We.map(function(_e){return null===_e?null:Array.isArray(_e)?Wt.resolveSubSelectedArray(ne,Me,_e,Tt):ne.selectionSet?Wt.resolveSelectionSet(ne.selectionSet,Me,_e,Tt):void 0}))},Fe.prototype.collectSelectionsToResolve=function(ne,Me){var We=function(_e){return!Array.isArray(_e)},Tt=this.selectionsToResolveCache;return function Wt(_e){if(!Tt.has(_e)){var je=new Set;Tt.set(_e,je),(0,xe.Vn)(_e,{Directive:function(E,te,O,T,J){"client"===E.name.value&&J.forEach(function(me){We(me)&&Ni(me)&&je.add(me)})},FragmentSpread:function(E,te,O,T,J){var me=Me[E.name.value];(0,d.kG)(me,19,E.name.value);var pt=Wt(me);pt.size>0&&(J.forEach(function(bt){We(bt)&&Ni(bt)&&je.add(bt)}),je.add(E),pt.forEach(function(bt){je.add(bt)}))}})}return Tt.get(_e)}(ne)},Fe}();function fi(Fe,ne){return(0,ht.o)(Fe,ne,ne.variables&&{variables:(0,ht.o)((0,i.pi)((0,i.pi)({},Fe&&Fe.variables),ne.variables))})}var oi=l(72905),Xn=!1,Bi=function(){function Fe(ne){var Me=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!ne.cache)throw(0,d._K)(15);var We=ne.uri,_e=ne.cache,je=ne.documentTransform,E=ne.ssrMode,te=void 0!==E&&E,O=ne.ssrForceFetchDelay,T=void 0===O?0:O,J=ne.connectToDevTools,me=ne.queryDeduplication,pt=void 0===me||me,bt=ne.defaultOptions,It=ne.defaultContext,qt=ne.assumeImmutableResults,mn=void 0===qt?_e.assumeImmutableResults:qt,_n=ne.resolvers,Mt=ne.typeDefs,pn=ne.fragmentMatcher,tn=ne.name,Vn=ne.version,Jn=ne.devtools,ci=ne.link;ci||(ci=We?new Oe({uri:We,credentials:ne.credentials,headers:ne.headers}):p.i.empty()),this.link=ci,this.cache=_e,this.disableNetworkFetches=te||T>0,this.queryDeduplication=pt,this.defaultOptions=bt||Object.create(null),this.typeDefs=Mt,this.devtoolsConfig=(0,i.pi)((0,i.pi)({},Jn),{enabled:(null==Jn?void 0:Jn.enabled)||J}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),T&&setTimeout(function(){return Me.disableNetworkFetches=!1},T),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=f.i,this.localState=new Qn({cache:_e,client:this,resolvers:_n,fragmentMatcher:pn}),this.queryManager=new gi({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:It,documentTransform:je,queryDeduplication:pt,ssrMode:te,clientAwareness:{name:tn,version:Vn},localState:this.localState,assumeImmutableResults:mn,onBroadcast:this.devtoolsConfig.enabled?function(){Me.devToolsHookCb&&Me.devToolsHookCb({action:{},state:{queries:Me.queryManager.getQueryStore(),mutations:Me.queryManager.mutationStore||{}},dataWithOptimisticResults:Me.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Fe.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var ne=window,Me=Symbol.for("apollo.devtools");(ne[Me]=ne[Me]||[]).push(this),ne.__APOLLO_CLIENT__=this,!Xn&&!1!==globalThis.__DEV__&&(Xn=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var We=window.navigator,Tt=We&&We.userAgent,Wt=void 0;"string"==typeof Tt&&(Tt.indexOf("Chrome/")>-1?Wt="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":Tt.indexOf("Firefox/")>-1&&(Wt="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Wt&&!1!==globalThis.__DEV__&&d.kG.log("Download the Apollo DevTools for a better development experience: %s",Wt)}},1e4))}},Object.defineProperty(Fe.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),Fe.prototype.stop=function(){this.queryManager.stop()},Fe.prototype.watchQuery=function(ne){return this.defaultOptions.watchQuery&&(ne=fi(this.defaultOptions.watchQuery,ne)),this.disableNetworkFetches&&("network-only"===ne.fetchPolicy||"cache-and-network"===ne.fetchPolicy)&&(ne=(0,i.pi)((0,i.pi)({},ne),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(ne)},Fe.prototype.query=function(ne){return this.defaultOptions.query&&(ne=fi(this.defaultOptions.query,ne)),(0,d.kG)("cache-and-network"!==ne.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===ne.fetchPolicy&&(ne=(0,i.pi)((0,i.pi)({},ne),{fetchPolicy:"cache-first"})),this.queryManager.query(ne)},Fe.prototype.mutate=function(ne){return this.defaultOptions.mutate&&(ne=fi(this.defaultOptions.mutate,ne)),this.queryManager.mutate(ne)},Fe.prototype.subscribe=function(ne){return this.queryManager.startGraphQLSubscription(ne)},Fe.prototype.readQuery=function(ne,Me){return void 0===Me&&(Me=!1),this.cache.readQuery(ne,Me)},Fe.prototype.watchFragment=function(ne){return this.cache.watchFragment(ne)},Fe.prototype.readFragment=function(ne,Me){return void 0===Me&&(Me=!1),this.cache.readFragment(ne,Me)},Fe.prototype.writeQuery=function(ne){var Me=this.cache.writeQuery(ne);return!1!==ne.broadcast&&this.queryManager.broadcastQueries(),Me},Fe.prototype.writeFragment=function(ne){var Me=this.cache.writeFragment(ne);return!1!==ne.broadcast&&this.queryManager.broadcastQueries(),Me},Fe.prototype.__actionHookForDevTools=function(ne){this.devToolsHookCb=ne},Fe.prototype.__requestRaw=function(ne){return C(this.link,ne)},Fe.prototype.resetStore=function(){var ne=this;return Promise.resolve().then(function(){return ne.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(ne.resetStoreCallbacks.map(function(Me){return Me()}))}).then(function(){return ne.reFetchObservableQueries()})},Fe.prototype.clearStore=function(){var ne=this;return Promise.resolve().then(function(){return ne.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(ne.clearStoreCallbacks.map(function(Me){return Me()}))})},Fe.prototype.onResetStore=function(ne){var Me=this;return this.resetStoreCallbacks.push(ne),function(){Me.resetStoreCallbacks=Me.resetStoreCallbacks.filter(function(We){return We!==ne})}},Fe.prototype.onClearStore=function(ne){var Me=this;return this.clearStoreCallbacks.push(ne),function(){Me.clearStoreCallbacks=Me.clearStoreCallbacks.filter(function(We){return We!==ne})}},Fe.prototype.reFetchObservableQueries=function(ne){return this.queryManager.reFetchObservableQueries(ne)},Fe.prototype.refetchQueries=function(ne){var Me=this.queryManager.refetchQueries(ne),We=[],Tt=[];Me.forEach(function(_e,je){We.push(je),Tt.push(_e)});var Wt=Promise.all(Tt);return Wt.queries=We,Wt.results=Tt,Wt.catch(function(_e){!1!==globalThis.__DEV__&&d.kG.debug(17,_e)}),Wt},Fe.prototype.getObservableQueries=function(ne){return void 0===ne&&(ne="active"),this.queryManager.getObservableQueries(ne)},Fe.prototype.extract=function(ne){return this.cache.extract(ne)},Fe.prototype.restore=function(ne){return this.cache.restore(ne)},Fe.prototype.addResolvers=function(ne){this.localState.addResolvers(ne)},Fe.prototype.setResolvers=function(ne){this.localState.setResolvers(ne)},Fe.prototype.getResolvers=function(){return this.localState.getResolvers()},Fe.prototype.setLocalStateFragmentMatcher=function(ne){this.localState.setFragmentMatcher(ne)},Fe.prototype.setLink=function(ne){this.link=this.queryManager.link=ne},Object.defineProperty(Fe.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),Fe}();!1!==globalThis.__DEV__&&(Bi.prototype.getMemoryInternals=oi.su);var ir=l(32916),Yi=l(30341),Ti=l(93821),nn=l(5254),Zt=l(57770),Ct=l(1059);function Et(Fe){return new ir.y(ne=>(Fe().then(Me=>{ne.closed||(ne.next(Me),ne.complete())},Me=>{ne.closed||ne.error(Me)}),()=>ne.unsubscribe()))}class Ke{constructor(ne){this.zone=ne,this.now=Date.now?Date.now:()=>+new Date}schedule(ne,Me=0,We){return this.zone.run(()=>Yi.c.schedule(ne,Me,We))}}function Lt(Fe){return Fe[Ti.L]=()=>Fe,Fe}function ut(Fe,ne){return Fe.pipe((0,Zt.QV)(new Ke(ne)))}class Ft{constructor(ne,Me,We){this.obsQuery=ne;const Tt=ut((0,nn.D)(Lt(this.obsQuery)),Me);this.valueChanges=We.useInitialLoading?Tt.pipe((0,Ct.O)(Object.assign(Object.assign({},this.obsQuery.getCurrentResult(!1)),{error:void 0,partial:void 0,stale:!0}))):Tt,this.queryId=this.obsQuery.queryId}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(ne){return this.obsQuery.refetch(ne)}fetchMore(ne){return this.obsQuery.fetchMore(ne)}subscribeToMore(ne){return this.obsQuery.subscribeToMore(ne)}updateQuery(ne){return this.obsQuery.updateQuery(ne)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(ne){return this.obsQuery.startPolling(ne)}setOptions(ne){return this.obsQuery.setOptions(ne)}setVariables(ne){return this.obsQuery.setVariables(ne)}}const En=new a.OlP("APOLLO_FLAGS"),ye=new a.OlP("APOLLO_OPTIONS"),Bt=new a.OlP("APOLLO_NAMED_OPTIONS");class vn{constructor(ne,Me,We){this.ngZone=ne,this.flags=Me,this._client=We,this.useInitialLoading=function Un(Fe,ne,Me){return Fe&&void 0!==Fe[ne]?Fe[ne]:Me}(Me,"useInitialLoading",!1)}watchQuery(ne){return new Ft(this.ensureClient().watchQuery(Object.assign({},ne)),this.ngZone,Object.assign({useInitialLoading:this.useInitialLoading},ne))}query(ne){return Et(()=>this.ensureClient().query(Object.assign({},ne)))}mutate(ne){return Et(()=>this.ensureClient().mutate(Object.assign({},ne)))}subscribe(ne,Me){const We=(0,nn.D)(Lt(this.ensureClient().subscribe(Object.assign({},ne))));return Me&&!0!==Me.useZone?We:ut(We,this.ngZone)}getClient(){return this.client}setClient(ne){this.client=ne}get client(){return this._client}set client(ne){if(this._client)throw new Error("Client has been already defined");this._client=ne}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(!this._client)throw new Error("Client has not been defined yet")}}let Ne=(()=>{class Fe extends vn{constructor(Me,We,Tt,Wt){if(super(Me,Wt),this._ngZone=Me,this.map=new Map,We&&this.createDefault(We),Tt&&"object"==typeof Tt)for(let _e in Tt)Tt.hasOwnProperty(_e)&&this.createNamed(_e,Tt[_e])}create(Me,We){ve(We)?this.createDefault(Me):this.createNamed(We,Me)}default(){return this}use(Me){return ve(Me)?this.default():this.map.get(Me)}createDefault(Me){if(this.getClient())throw new Error("Apollo has been already created.");return this.setClient(new Bi(Me))}createNamed(Me,We){if(this.map.has(Me))throw new Error(`Client ${Me} has been already created`);this.map.set(Me,new vn(this._ngZone,this.flags,new Bi(We)))}removeClient(Me){ve(Me)?this._client=void 0:this.map.delete(Me)}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(a.LFG(a.R0b),a.LFG(ye,8),a.LFG(Bt,8),a.LFG(En,8))},Fe.\u0275prov=a.Yz7({factory:function(){return new Fe(a.LFG(a.R0b),a.LFG(ye,8),a.LFG(Bt,8),a.LFG(En,8))},token:Fe,providedIn:"root"}),Fe})();function ve(Fe){return!Fe||"default"===Fe}let at=(()=>{class Fe{constructor(Me){this.apollo=Me,this.client="default"}watch(Me,We){return this.apollo.use(this.client).watchQuery(Object.assign(Object.assign({},We),{variables:Me,query:this.document}))}fetch(Me,We){return this.apollo.use(this.client).query(Object.assign(Object.assign({},We),{variables:Me,query:this.document}))}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(a.LFG(Ne))},Fe.\u0275prov=a.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})(),Rt=(()=>{class Fe{constructor(Me){this.apollo=Me,this.client="default"}mutate(Me,We){return this.apollo.use(this.client).mutate(Object.assign(Object.assign({},We),{variables:Me,mutation:this.document}))}}return Fe.\u0275fac=function(Me){return new(Me||Fe)(a.LFG(Ne))},Fe.\u0275prov=a.Yz7({token:Fe,factory:Fe.\u0275fac}),Fe})()},92577:ze=>{"use strict";ze.exports=function(l){var i=l.name,d=l.type;this.uri=l.uri,this.name=i,this.type=d}},20843:(ze,G,l)=>{"use strict";var a=l(58219);ze.exports=function i(d,p,C){void 0===p&&(p=""),void 0===C&&(C=a);var f,v=new Map;function b(M,D){var A=v.get(D);A?A.push.apply(A,M):v.set(D,M)}if(C(d))f=null,b([p],d);else{var m=p?p+".":"";if("undefined"!=typeof FileList&&d instanceof FileList)f=Array.prototype.map.call(d,function(M,D){return b([""+m+D],M),null});else if(Array.isArray(d))f=d.map(function(M,D){var A=i(M,""+m+D,C);return A.files.forEach(b),A.clone});else if(d&&d.constructor===Object)for(var I in f={},d){var L=i(d[I],""+m+I,C);L.files.forEach(b),f[I]=L.clone}else f=d}return{clone:f,files:v}}},58219:(ze,G,l)=>{"use strict";var a=l(92577);ze.exports=function(d){return"undefined"!=typeof File&&d instanceof File||"undefined"!=typeof Blob&&d instanceof Blob||d instanceof a}},37175:(ze,G,l)=>{"use strict";l.d(G,{D:()=>C});var a=Object.prototype,i=a.toString,d=a.hasOwnProperty,p=new Map;function C(m,I){try{return f(m,I)}finally{p.clear()}}function f(m,I){if(m===I)return!0;var L=i.call(m);if(L!==i.call(I))return!1;switch(L){case"[object Array]":if(m.length!==I.length)return!1;case"[object Object]":if(v(m,I))return!0;var D=Object.keys(m),A=Object.keys(I),B=D.length;if(B!==A.length)return!1;for(var R=0;R<B;++R)if(!d.call(I,D[R]))return!1;for(R=0;R<B;++R){var x=D[R];if(!f(m[x],I[x]))return!1}return!0;case"[object Error]":return m.name===I.name&&m.message===I.message;case"[object Number]":if(m!=m)return I!=I;case"[object Boolean]":case"[object Date]":return+m==+I;case"[object RegExp]":case"[object String]":return m==""+I;case"[object Map]":case"[object Set]":if(m.size!==I.size)return!1;if(v(m,I))return!0;for(var w=m.entries(),k="[object Map]"===L;;){var H=w.next();if(H.done)break;var j=H.value,z=j[0],le=j[1];if(!I.has(z)||k&&!f(le,I.get(z)))return!1}return!0}return!1}function v(m,I){var L=p.get(m);if(L){if(L.has(I))return!0}else p.set(m,L=new Set);return L.add(I),!1}},10152:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a,i){for(var d=a<0?"-":"",p=Math.abs(a).toString();p.length<i;)p="0"+p;return d+p},ze.exports=G.default},32963:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a,i){if(null==a)throw new TypeError("assign requires that input parameter not be null or undefined");for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(a[d]=i[d]);return a},ze.exports=G.default},42926:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function d(p){return(0,i.default)({},p)};var i=a(l(32963));ze.exports=G.default},73215:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(33338));G.default=i.default,ze.exports=G.default},40150:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.getDefaultOptions=function a(){return l},G.setDefaultOptions=function i(d){l=d};var l={}},1635:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(90448)),d=a(l(71074)),p=a(l(23122)),C=a(l(8622)),f=a(l(68450)),v=a(l(10152)),b=a(l(21393));function L(B,R){var x=B>0?"-":"+",w=Math.abs(B),k=Math.floor(w/60),H=w%60;if(0===H)return x+String(k);var j=R||"";return x+String(k)+j+(0,v.default)(H,2)}function M(B,R){return B%60==0?(B>0?"-":"+")+(0,v.default)(Math.abs(B)/60,2):D(B,R)}function D(B,R){var x=R||"",w=B>0?"-":"+",k=Math.abs(B);return w+(0,v.default)(Math.floor(k/60),2)+x+(0,v.default)(k%60,2)}G.default={G:function(R,x,w){var k=R.getUTCFullYear()>0?1:0;switch(x){case"G":case"GG":case"GGG":return w.era(k,{width:"abbreviated"});case"GGGGG":return w.era(k,{width:"narrow"});default:return w.era(k,{width:"wide"})}},y:function(R,x,w){if("yo"===x){var k=R.getUTCFullYear();return w.ordinalNumber(k>0?k:1-k,{unit:"year"})}return b.default.y(R,x)},Y:function(R,x,w,k){var H=(0,f.default)(R,k),j=H>0?H:1-H;return"YY"===x?(0,v.default)(j%100,2):"Yo"===x?w.ordinalNumber(j,{unit:"year"}):(0,v.default)(j,x.length)},R:function(R,x){var w=(0,p.default)(R);return(0,v.default)(w,x.length)},u:function(R,x){var w=R.getUTCFullYear();return(0,v.default)(w,x.length)},Q:function(R,x,w){var k=Math.ceil((R.getUTCMonth()+1)/3);switch(x){case"Q":return String(k);case"QQ":return(0,v.default)(k,2);case"Qo":return w.ordinalNumber(k,{unit:"quarter"});case"QQQ":return w.quarter(k,{width:"abbreviated",context:"formatting"});case"QQQQQ":return w.quarter(k,{width:"narrow",context:"formatting"});default:return w.quarter(k,{width:"wide",context:"formatting"})}},q:function(R,x,w){var k=Math.ceil((R.getUTCMonth()+1)/3);switch(x){case"q":return String(k);case"qq":return(0,v.default)(k,2);case"qo":return w.ordinalNumber(k,{unit:"quarter"});case"qqq":return w.quarter(k,{width:"abbreviated",context:"standalone"});case"qqqqq":return w.quarter(k,{width:"narrow",context:"standalone"});default:return w.quarter(k,{width:"wide",context:"standalone"})}},M:function(R,x,w){var k=R.getUTCMonth();switch(x){case"M":case"MM":return b.default.M(R,x);case"Mo":return w.ordinalNumber(k+1,{unit:"month"});case"MMM":return w.month(k,{width:"abbreviated",context:"formatting"});case"MMMMM":return w.month(k,{width:"narrow",context:"formatting"});default:return w.month(k,{width:"wide",context:"formatting"})}},L:function(R,x,w){var k=R.getUTCMonth();switch(x){case"L":return String(k+1);case"LL":return(0,v.default)(k+1,2);case"Lo":return w.ordinalNumber(k+1,{unit:"month"});case"LLL":return w.month(k,{width:"abbreviated",context:"standalone"});case"LLLLL":return w.month(k,{width:"narrow",context:"standalone"});default:return w.month(k,{width:"wide",context:"standalone"})}},w:function(R,x,w,k){var H=(0,C.default)(R,k);return"wo"===x?w.ordinalNumber(H,{unit:"week"}):(0,v.default)(H,x.length)},I:function(R,x,w){var k=(0,d.default)(R);return"Io"===x?w.ordinalNumber(k,{unit:"week"}):(0,v.default)(k,x.length)},d:function(R,x,w){return"do"===x?w.ordinalNumber(R.getUTCDate(),{unit:"date"}):b.default.d(R,x)},D:function(R,x,w){var k=(0,i.default)(R);return"Do"===x?w.ordinalNumber(k,{unit:"dayOfYear"}):(0,v.default)(k,x.length)},E:function(R,x,w){var k=R.getUTCDay();switch(x){case"E":case"EE":case"EEE":return w.day(k,{width:"abbreviated",context:"formatting"});case"EEEEE":return w.day(k,{width:"narrow",context:"formatting"});case"EEEEEE":return w.day(k,{width:"short",context:"formatting"});default:return w.day(k,{width:"wide",context:"formatting"})}},e:function(R,x,w,k){var H=R.getUTCDay(),j=(H-k.weekStartsOn+8)%7||7;switch(x){case"e":return String(j);case"ee":return(0,v.default)(j,2);case"eo":return w.ordinalNumber(j,{unit:"day"});case"eee":return w.day(H,{width:"abbreviated",context:"formatting"});case"eeeee":return w.day(H,{width:"narrow",context:"formatting"});case"eeeeee":return w.day(H,{width:"short",context:"formatting"});default:return w.day(H,{width:"wide",context:"formatting"})}},c:function(R,x,w,k){var H=R.getUTCDay(),j=(H-k.weekStartsOn+8)%7||7;switch(x){case"c":return String(j);case"cc":return(0,v.default)(j,x.length);case"co":return w.ordinalNumber(j,{unit:"day"});case"ccc":return w.day(H,{width:"abbreviated",context:"standalone"});case"ccccc":return w.day(H,{width:"narrow",context:"standalone"});case"cccccc":return w.day(H,{width:"short",context:"standalone"});default:return w.day(H,{width:"wide",context:"standalone"})}},i:function(R,x,w){var k=R.getUTCDay(),H=0===k?7:k;switch(x){case"i":return String(H);case"ii":return(0,v.default)(H,x.length);case"io":return w.ordinalNumber(H,{unit:"day"});case"iii":return w.day(k,{width:"abbreviated",context:"formatting"});case"iiiii":return w.day(k,{width:"narrow",context:"formatting"});case"iiiiii":return w.day(k,{width:"short",context:"formatting"});default:return w.day(k,{width:"wide",context:"formatting"})}},a:function(R,x,w){var H=R.getUTCHours()/12>=1?"pm":"am";switch(x){case"a":case"aa":return w.dayPeriod(H,{width:"abbreviated",context:"formatting"});case"aaa":return w.dayPeriod(H,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return w.dayPeriod(H,{width:"narrow",context:"formatting"});default:return w.dayPeriod(H,{width:"wide",context:"formatting"})}},b:function(R,x,w){var H,k=R.getUTCHours();switch(H=12===k?"noon":0===k?"midnight":k/12>=1?"pm":"am",x){case"b":case"bb":return w.dayPeriod(H,{width:"abbreviated",context:"formatting"});case"bbb":return w.dayPeriod(H,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return w.dayPeriod(H,{width:"narrow",context:"formatting"});default:return w.dayPeriod(H,{width:"wide",context:"formatting"})}},B:function(R,x,w){var H,k=R.getUTCHours();switch(H=k>=17?"evening":k>=12?"afternoon":k>=4?"morning":"night",x){case"B":case"BB":case"BBB":return w.dayPeriod(H,{width:"abbreviated",context:"formatting"});case"BBBBB":return w.dayPeriod(H,{width:"narrow",context:"formatting"});default:return w.dayPeriod(H,{width:"wide",context:"formatting"})}},h:function(R,x,w){if("ho"===x){var k=R.getUTCHours()%12;return 0===k&&(k=12),w.ordinalNumber(k,{unit:"hour"})}return b.default.h(R,x)},H:function(R,x,w){return"Ho"===x?w.ordinalNumber(R.getUTCHours(),{unit:"hour"}):b.default.H(R,x)},K:function(R,x,w){var k=R.getUTCHours()%12;return"Ko"===x?w.ordinalNumber(k,{unit:"hour"}):(0,v.default)(k,x.length)},k:function(R,x,w){var k=R.getUTCHours();return 0===k&&(k=24),"ko"===x?w.ordinalNumber(k,{unit:"hour"}):(0,v.default)(k,x.length)},m:function(R,x,w){return"mo"===x?w.ordinalNumber(R.getUTCMinutes(),{unit:"minute"}):b.default.m(R,x)},s:function(R,x,w){return"so"===x?w.ordinalNumber(R.getUTCSeconds(),{unit:"second"}):b.default.s(R,x)},S:function(R,x){return b.default.S(R,x)},X:function(R,x,w,k){var j=(k._originalDate||R).getTimezoneOffset();if(0===j)return"Z";switch(x){case"X":return M(j);case"XXXX":case"XX":return D(j);default:return D(j,":")}},x:function(R,x,w,k){var j=(k._originalDate||R).getTimezoneOffset();switch(x){case"x":return M(j);case"xxxx":case"xx":return D(j);default:return D(j,":")}},O:function(R,x,w,k){var j=(k._originalDate||R).getTimezoneOffset();switch(x){case"O":case"OO":case"OOO":return"GMT"+L(j,":");default:return"GMT"+D(j,":")}},z:function(R,x,w,k){var j=(k._originalDate||R).getTimezoneOffset();switch(x){case"z":case"zz":case"zzz":return"GMT"+L(j,":");default:return"GMT"+D(j,":")}},t:function(R,x,w,k){var j=Math.floor((k._originalDate||R).getTime()/1e3);return(0,v.default)(j,x.length)},T:function(R,x,w,k){var j=(k._originalDate||R).getTime();return(0,v.default)(j,x.length)}},ze.exports=G.default},21393:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(10152));G.default={y:function(f,v){var b=f.getUTCFullYear(),m=b>0?b:1-b;return(0,i.default)("yy"===v?m%100:m,v.length)},M:function(f,v){var b=f.getUTCMonth();return"M"===v?String(b+1):(0,i.default)(b+1,2)},d:function(f,v){return(0,i.default)(f.getUTCDate(),v.length)},a:function(f,v){var b=f.getUTCHours()/12>=1?"pm":"am";switch(v){case"a":case"aa":return b.toUpperCase();case"aaa":return b;case"aaaaa":return b[0];default:return"am"===b?"a.m.":"p.m."}},h:function(f,v){return(0,i.default)(f.getUTCHours()%12||12,v.length)},H:function(f,v){return(0,i.default)(f.getUTCHours(),v.length)},m:function(f,v){return(0,i.default)(f.getUTCMinutes(),v.length)},s:function(f,v){return(0,i.default)(f.getUTCSeconds(),v.length)},S:function(f,v){var b=v.length,m=f.getUTCMilliseconds(),I=Math.floor(m*Math.pow(10,b-3));return(0,i.default)(I,v.length)}},ze.exports=G.default},75852:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var l=function(f,v){switch(f){case"P":return v.date({width:"short"});case"PP":return v.date({width:"medium"});case"PPP":return v.date({width:"long"});default:return v.date({width:"full"})}},a=function(f,v){switch(f){case"p":return v.time({width:"short"});case"pp":return v.time({width:"medium"});case"ppp":return v.time({width:"long"});default:return v.time({width:"full"})}};G.default={p:a,P:function(f,v){var L,b=f.match(/(P+)(p+)?/)||[],m=b[1],I=b[2];if(!I)return l(f,v);switch(m){case"P":L=v.dateTime({width:"short"});break;case"PP":L=v.dateTime({width:"medium"});break;case"PPP":L=v.dateTime({width:"long"});break;default:L=v.dateTime({width:"full"})}return L.replace("{{date}}",l(m,v)).replace("{{time}}",a(I,v))}},ze.exports=G.default},47664:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a){var i=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return i.setUTCFullYear(a.getFullYear()),a.getTime()-i.getTime()},ze.exports=G.default},90448:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function C(f){(0,d.default)(1,arguments);var v=(0,i.default)(f),b=v.getTime();v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0);var m=v.getTime(),I=b-m;return Math.floor(I/p)+1};var i=a(l(90798)),d=a(l(61886)),p=864e5;ze.exports=G.default},71074:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function v(b){(0,C.default)(1,arguments);var m=(0,i.default)(b),I=(0,d.default)(m).getTime()-(0,p.default)(m).getTime();return Math.round(I/f)+1};var i=a(l(90798)),d=a(l(96729)),p=a(l(50525)),C=a(l(61886)),f=6048e5;ze.exports=G.default},23122:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function C(f){(0,d.default)(1,arguments);var v=(0,i.default)(f),b=v.getUTCFullYear(),m=new Date(0);m.setUTCFullYear(b+1,0,4),m.setUTCHours(0,0,0,0);var I=(0,p.default)(m),L=new Date(0);L.setUTCFullYear(b,0,4),L.setUTCHours(0,0,0,0);var M=(0,p.default)(L);return v.getTime()>=I.getTime()?b+1:v.getTime()>=M.getTime()?b:b-1};var i=a(l(90798)),d=a(l(61886)),p=a(l(96729));ze.exports=G.default},8622:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function v(b,m){(0,C.default)(1,arguments);var I=(0,i.default)(b),L=(0,d.default)(I,m).getTime()-(0,p.default)(I,m).getTime();return Math.round(L/f)+1};var i=a(l(90798)),d=a(l(88314)),p=a(l(72447)),C=a(l(61886)),f=6048e5;ze.exports=G.default},68450:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function v(b,m){var I,L,M,D,A,B,R,x;(0,d.default)(1,arguments);var w=(0,i.default)(b),k=w.getUTCFullYear(),H=(0,f.getDefaultOptions)(),j=(0,C.default)(null!==(I=null!==(L=null!==(M=null!==(D=null==m?void 0:m.firstWeekContainsDate)&&void 0!==D?D:null==m||null===(A=m.locale)||void 0===A||null===(B=A.options)||void 0===B?void 0:B.firstWeekContainsDate)&&void 0!==M?M:H.firstWeekContainsDate)&&void 0!==L?L:null===(R=H.locale)||void 0===R||null===(x=R.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==I?I:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=new Date(0);z.setUTCFullYear(k+1,0,j),z.setUTCHours(0,0,0,0);var le=(0,p.default)(z,m),oe=new Date(0);oe.setUTCFullYear(k,0,j),oe.setUTCHours(0,0,0,0);var $=(0,p.default)(oe,m);return w.getTime()>=le.getTime()?k+1:w.getTime()>=$.getTime()?k:k-1};var i=a(l(90798)),d=a(l(61886)),p=a(l(88314)),C=a(l(6092)),f=l(40150);ze.exports=G.default},70183:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.isProtectedDayOfYearToken=function i(C){return-1!==l.indexOf(C)},G.isProtectedWeekYearToken=function d(C){return-1!==a.indexOf(C)},G.throwProtectedError=function p(C,f,v){if("YYYY"===C)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(f,"`) for formatting years to the input `").concat(v,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===C)throw new RangeError("Use `yy` instead of `YY` (in `".concat(f,"`) for formatting years to the input `").concat(v,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===C)throw new RangeError("Use `d` instead of `D` (in `".concat(f,"`) for formatting days of the month to the input `").concat(v,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===C)throw new RangeError("Use `dd` instead of `DD` (in `".concat(f,"`) for formatting days of the month to the input `").concat(v,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var l=["D","DD"],a=["YY","YYYY"]},61886:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a,i){if(i.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+i.length+" present")},ze.exports=G.default},96729:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function p(C){(0,d.default)(1,arguments);var f=1,v=(0,i.default)(C),b=v.getUTCDay(),m=(b<f?7:0)+b-f;return v.setUTCDate(v.getUTCDate()-m),v.setUTCHours(0,0,0,0),v};var i=a(l(90798)),d=a(l(61886));ze.exports=G.default},50525:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function C(f){(0,p.default)(1,arguments);var v=(0,i.default)(f),b=new Date(0);b.setUTCFullYear(v,0,4),b.setUTCHours(0,0,0,0);var m=(0,d.default)(b);return m};var i=a(l(23122)),d=a(l(96729)),p=a(l(61886));ze.exports=G.default},88314:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function f(v,b){var m,I,L,M,D,A,B,R;(0,d.default)(1,arguments);var x=(0,C.getDefaultOptions)(),w=(0,p.default)(null!==(m=null!==(I=null!==(L=null!==(M=null==b?void 0:b.weekStartsOn)&&void 0!==M?M:null==b||null===(D=b.locale)||void 0===D||null===(A=D.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==L?L:x.weekStartsOn)&&void 0!==I?I:null===(B=x.locale)||void 0===B||null===(R=B.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==m?m:0);if(!(w>=0&&w<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var k=(0,i.default)(v),H=k.getUTCDay(),j=(H<w?7:0)+H-w;return k.setUTCDate(k.getUTCDate()-j),k.setUTCHours(0,0,0,0),k};var i=a(l(90798)),d=a(l(61886)),p=a(l(6092)),C=l(40150);ze.exports=G.default},72447:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function v(b,m){var I,L,M,D,A,B,R,x;(0,d.default)(1,arguments);var w=(0,f.getDefaultOptions)(),k=(0,C.default)(null!==(I=null!==(L=null!==(M=null!==(D=null==m?void 0:m.firstWeekContainsDate)&&void 0!==D?D:null==m||null===(A=m.locale)||void 0===A||null===(B=A.options)||void 0===B?void 0:B.firstWeekContainsDate)&&void 0!==M?M:w.firstWeekContainsDate)&&void 0!==L?L:null===(R=w.locale)||void 0===R||null===(x=R.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==I?I:1),H=(0,i.default)(b,m),j=new Date(0);j.setUTCFullYear(H,0,k),j.setUTCHours(0,0,0,0);var z=(0,p.default)(j,m);return z};var i=a(l(68450)),d=a(l(61886)),p=a(l(88314)),C=a(l(6092)),f=l(40150);ze.exports=G.default},6092:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a){if(null===a||!0===a||!1===a)return NaN;var i=Number(a);return isNaN(i)?i:i<0?Math.ceil(i):Math.floor(i)},ze.exports=G.default},50405:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function C(f,v){(0,p.default)(2,arguments);var b=(0,d.default)(f).getTime(),m=(0,i.default)(v);return new Date(b+m)};var i=a(l(6092)),d=a(l(90798)),p=a(l(61886));ze.exports=G.default},71665:(ze,G,l)=>{"use strict";function a(i,d){if(null==i)throw new TypeError("assign requires that input parameter not be null or undefined");for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(i[p]=d[p]);return i}l.d(G,{Z:()=>a})},48293:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>He});var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function p(et){return function(){var de=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},lt=de.width?String(de.width):et.defaultWidth,St=et.formats[lt]||et.formats[et.defaultWidth];return St}}var b={date:p({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:p({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:p({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},I={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function D(et){return function(de,lt){var Qt;if("formatting"===(null!=lt&&lt.context?String(lt.context):"standalone")&&et.formattingValues){var gt=et.defaultFormattingWidth||et.defaultWidth,yt=null!=lt&&lt.width?String(lt.width):gt;Qt=et.formattingValues[yt]||et.formattingValues[gt]}else{var Je=et.defaultWidth,ct=null!=lt&&lt.width?String(lt.width):et.defaultWidth;Qt=et.values[ct]||et.values[Je]}return Qt[et.argumentCallback?et.argumentCallback(de):de]}}function le(et){return function(de){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},St=lt.width,Qt=St&&et.matchPatterns[St]||et.matchPatterns[et.defaultMatchWidth],gt=de.match(Qt);if(!gt)return null;var Xe,yt=gt[0],Je=St&&et.parsePatterns[St]||et.parsePatterns[et.defaultParseWidth],ct=Array.isArray(Je)?$(Je,function(xe){return xe.test(yt)}):oe(Je,function(xe){return xe.test(yt)});Xe=et.valueCallback?et.valueCallback(ct):ct,Xe=lt.valueCallback?lt.valueCallback(Xe):Xe;var X=de.slice(yt.length);return{value:Xe,rest:X}}}function oe(et,de){for(var lt in et)if(et.hasOwnProperty(lt)&&de(et[lt]))return lt}function $(et,de){for(var lt=0;lt<et.length;lt++)if(de(et[lt]))return lt}const He={code:"en-US",formatDistance:function(de,lt,St){var Qt,gt=a[de];return Qt="string"==typeof gt?gt:1===lt?gt.one:gt.other.replace("{{count}}",lt.toString()),null!=St&&St.addSuffix?St.comparison&&St.comparison>0?"in "+Qt:Qt+" ago":Qt},formatLong:b,formatRelative:function(de,lt,St,Qt){return I[de]},localize:{ordinalNumber:function(de,lt){var St=Number(de),Qt=St%100;if(Qt>20||Qt<10)switch(Qt%10){case 1:return St+"st";case 2:return St+"nd";case 3:return St+"rd"}return St+"th"},era:D({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:D({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(de){return de-1}}),month:D({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:D({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:D({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function y(et){return function(de){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},St=de.match(et.matchPattern);if(!St)return null;var Qt=St[0],gt=de.match(et.parsePattern);if(!gt)return null;var yt=et.valueCallback?et.valueCallback(gt[0]):gt[0];yt=lt.valueCallback?lt.valueCallback(yt):yt;var Je=de.slice(Qt.length);return{value:yt,rest:Je}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(de){return parseInt(de,10)}}),era:le({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:le({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(de){return de+1}}),month:le({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:le({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:le({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},58370:(ze,G,l)=>{"use strict";l.d(G,{j:()=>i});var a={};function i(){return a}},61889:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>C});var a=function(v,b){switch(v){case"P":return b.date({width:"short"});case"PP":return b.date({width:"medium"});case"PPP":return b.date({width:"long"});default:return b.date({width:"full"})}},i=function(v,b){switch(v){case"p":return b.time({width:"short"});case"pp":return b.time({width:"medium"});case"ppp":return b.time({width:"long"});default:return b.time({width:"full"})}};const C={p:i,P:function(v,b){var M,m=v.match(/(P+)(p+)?/)||[],I=m[1],L=m[2];if(!L)return a(v,b);switch(I){case"P":M=b.dateTime({width:"short"});break;case"PP":M=b.dateTime({width:"medium"});break;case"PPP":M=b.dateTime({width:"long"});break;default:M=b.dateTime({width:"full"})}return M.replace("{{date}}",a(I,b)).replace("{{time}}",i(L,b))}}},9868:(ze,G,l)=>{"use strict";function a(i){var d=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return d.setUTCFullYear(i.getFullYear()),i.getTime()-d.getTime()}l.d(G,{Z:()=>a})},59264:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>v});var a=l(80953),i=l(77290),d=l(37875),p=l(40833);function C(b){(0,p.Z)(1,arguments);var m=(0,d.Z)(b),I=new Date(0);I.setUTCFullYear(m,0,4),I.setUTCHours(0,0,0,0);var L=(0,i.Z)(I);return L}var f=6048e5;function v(b){(0,p.Z)(1,arguments);var m=(0,a.Z)(b),I=(0,i.Z)(m).getTime()-C(m).getTime();return Math.round(I/f)+1}},37875:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(80953),i=l(40833),d=l(77290);function p(C){(0,i.Z)(1,arguments);var f=(0,a.Z)(C),v=f.getUTCFullYear(),b=new Date(0);b.setUTCFullYear(v+1,0,4),b.setUTCHours(0,0,0,0);var m=(0,d.Z)(b),I=new Date(0);I.setUTCFullYear(v,0,4),I.setUTCHours(0,0,0,0);var L=(0,d.Z)(I);return f.getTime()>=m.getTime()?v+1:f.getTime()>=L.getTime()?v:v-1}},7070:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>m});var a=l(80953),i=l(74697),d=l(51834),p=l(40833),C=l(91998),f=l(58370);function v(I,L){var M,D,A,B,R,x,w,k;(0,p.Z)(1,arguments);var H=(0,f.j)(),j=(0,C.Z)(null!==(M=null!==(D=null!==(A=null!==(B=null==L?void 0:L.firstWeekContainsDate)&&void 0!==B?B:null==L||null===(R=L.locale)||void 0===R||null===(x=R.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==A?A:H.firstWeekContainsDate)&&void 0!==D?D:null===(w=H.locale)||void 0===w||null===(k=w.options)||void 0===k?void 0:k.firstWeekContainsDate)&&void 0!==M?M:1),z=(0,d.Z)(I,L),le=new Date(0);le.setUTCFullYear(z,0,j),le.setUTCHours(0,0,0,0);var oe=(0,i.Z)(le,L);return oe}var b=6048e5;function m(I,L){(0,p.Z)(1,arguments);var M=(0,a.Z)(I),D=(0,i.Z)(M,L).getTime()-v(M,L).getTime();return Math.round(D/b)+1}},51834:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>f});var a=l(80953),i=l(40833),d=l(74697),p=l(91998),C=l(58370);function f(v,b){var m,I,L,M,D,A,B,R;(0,i.Z)(1,arguments);var x=(0,a.Z)(v),w=x.getUTCFullYear(),k=(0,C.j)(),H=(0,p.Z)(null!==(m=null!==(I=null!==(L=null!==(M=null==b?void 0:b.firstWeekContainsDate)&&void 0!==M?M:null==b||null===(D=b.locale)||void 0===D||null===(A=D.options)||void 0===A?void 0:A.firstWeekContainsDate)&&void 0!==L?L:k.firstWeekContainsDate)&&void 0!==I?I:null===(B=k.locale)||void 0===B||null===(R=B.options)||void 0===R?void 0:R.firstWeekContainsDate)&&void 0!==m?m:1);if(!(H>=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=new Date(0);j.setUTCFullYear(w+1,0,H),j.setUTCHours(0,0,0,0);var z=(0,d.Z)(j,b),le=new Date(0);le.setUTCFullYear(w,0,H),le.setUTCHours(0,0,0,0);var oe=(0,d.Z)(le,b);return x.getTime()>=z.getTime()?w+1:x.getTime()>=oe.getTime()?w:w-1}},72621:(ze,G,l)=>{"use strict";l.d(G,{Do:()=>p,Iu:()=>d,qp:()=>C});var a=["D","DD"],i=["YY","YYYY"];function d(f){return-1!==a.indexOf(f)}function p(f){return-1!==i.indexOf(f)}function C(f,v,b){if("YYYY"===f)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(v,"`) for formatting years to the input `").concat(b,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===f)throw new RangeError("Use `yy` instead of `YY` (in `".concat(v,"`) for formatting years to the input `").concat(b,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===f)throw new RangeError("Use `d` instead of `D` (in `".concat(v,"`) for formatting days of the month to the input `").concat(b,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===f)throw new RangeError("Use `dd` instead of `DD` (in `".concat(v,"`) for formatting days of the month to the input `").concat(b,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},40833:(ze,G,l)=>{"use strict";function a(i,d){if(d.length<i)throw new TypeError(i+" argument"+(i>1?"s":"")+" required, but only "+d.length+" present")}l.d(G,{Z:()=>a})},83958:(ze,G,l)=>{"use strict";l.d(G,{u:()=>d});var a={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(C){return C<0?Math.ceil(C):Math.floor(C)}};function d(p){return p?a[p]:a.trunc}},77290:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p){(0,i.Z)(1,arguments);var C=1,f=(0,a.Z)(p),v=f.getUTCDay(),b=(v<C?7:0)+v-C;return f.setUTCDate(f.getUTCDate()-b),f.setUTCHours(0,0,0,0),f}},74697:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>C});var a=l(80953),i=l(40833),d=l(91998),p=l(58370);function C(f,v){var b,m,I,L,M,D,A,B;(0,i.Z)(1,arguments);var R=(0,p.j)(),x=(0,d.Z)(null!==(b=null!==(m=null!==(I=null!==(L=null==v?void 0:v.weekStartsOn)&&void 0!==L?L:null==v||null===(M=v.locale)||void 0===M||null===(D=M.options)||void 0===D?void 0:D.weekStartsOn)&&void 0!==I?I:R.weekStartsOn)&&void 0!==m?m:null===(A=R.locale)||void 0===A||null===(B=A.options)||void 0===B?void 0:B.weekStartsOn)&&void 0!==b?b:0);if(!(x>=0&&x<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var w=(0,a.Z)(f),k=w.getUTCDay(),H=(k<x?7:0)+k-x;return w.setUTCDate(w.getUTCDate()-H),w.setUTCHours(0,0,0,0),w}},91998:(ze,G,l)=>{"use strict";function a(i){if(null===i||!0===i||!1===i)return NaN;var d=Number(i);return isNaN(d)?d:d<0?Math.ceil(d):Math.floor(d)}l.d(G,{Z:()=>a})},35650:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(91998),i=l(80953),d=l(40833);function p(C,f){(0,d.Z)(2,arguments);var v=(0,i.Z)(C),b=(0,a.Z)(f);return isNaN(b)?new Date(NaN):(b&&v.setDate(v.getDate()+b),v)}},81201:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(91998),i=l(80953),d=l(40833);function p(C,f){(0,d.Z)(2,arguments);var v=(0,i.Z)(C).getTime(),b=(0,a.Z)(f);return new Date(v+b)}},85866:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(91998),i=l(80953),d=l(40833);function p(C,f){(0,d.Z)(2,arguments);var v=(0,i.Z)(C),b=(0,a.Z)(f);if(isNaN(b))return new Date(NaN);if(!b)return v;var m=v.getDate(),I=new Date(v.getTime());I.setMonth(v.getMonth()+b+1,0);var L=I.getDate();return m>=L?I:(v.setFullYear(I.getFullYear(),I.getMonth(),m),v)}},2184:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(91998),i=l(81201),d=l(40833);function p(C,f){(0,d.Z)(2,arguments);var v=(0,a.Z)(f);return(0,i.Z)(C,1e3*v)}},38779:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p,C){(0,i.Z)(2,arguments);var f=(0,a.Z)(p),v=(0,a.Z)(C),b=f.getTime()-v.getTime();return b<0?-1:b>0?1:b}},45566:(ze,G,l)=>{"use strict";l.d(G,{qk:()=>f,vh:()=>C,yJ:()=>p}),Math.pow(10,8);var p=6e4,C=36e5,f=1e3},12194:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p,C){return(0,i.Z)(2,arguments),(0,a.Z)(p).getTime()-(0,a.Z)(C).getTime()}},76080:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>C});var a=l(45566),i=l(12194),d=l(40833),p=l(83958);function C(f,v,b){(0,d.Z)(2,arguments);var m=(0,i.Z)(f,v)/a.yJ;return(0,p.u)(null==b?void 0:b.roundingMethod)(m)}},87645:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(12194),i=l(40833),d=l(83958);function p(C,f,v){(0,i.Z)(2,arguments);var b=(0,a.Z)(C,f)/1e3;return(0,d.u)(null==v?void 0:v.roundingMethod)(b)}},47910:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>Be});var a=l(90900),i=l(52725),d=l(80953),p=l(40833),C=864e5,v=l(59264),b=l(37875),m=l(7070),I=l(51834);function L(Ie,Re){for(var Ge=Ie<0?"-":"",it=Math.abs(Ie).toString();it.length<Re;)it="0"+it;return Ge+it}const D_y=function(Re,Ge){var it=Re.getUTCFullYear(),Se=it>0?it:1-it;return L("yy"===Ge?Se%100:Se,Ge.length)},D_M=function(Re,Ge){var it=Re.getUTCMonth();return"M"===Ge?String(it+1):L(it+1,2)},D_d=function(Re,Ge){return L(Re.getUTCDate(),Ge.length)},D_h=function(Re,Ge){return L(Re.getUTCHours()%12||12,Ge.length)},D_H=function(Re,Ge){return L(Re.getUTCHours(),Ge.length)},D_m=function(Re,Ge){return L(Re.getUTCMinutes(),Ge.length)},D_s=function(Re,Ge){return L(Re.getUTCSeconds(),Ge.length)},D_S=function(Re,Ge){var it=Ge.length,Se=Re.getUTCMilliseconds();return L(Math.floor(Se*Math.pow(10,it-3)),Ge.length)};function R(Ie,Re){var Ge=Ie>0?"-":"+",it=Math.abs(Ie),Se=Math.floor(it/60),Z=it%60;if(0===Z)return Ge+String(Se);var V=Re||"";return Ge+String(Se)+V+L(Z,2)}function x(Ie,Re){return Ie%60==0?(Ie>0?"-":"+")+L(Math.abs(Ie)/60,2):w(Ie,Re)}function w(Ie,Re){var Ge=Re||"",it=Ie>0?"-":"+",Se=Math.abs(Ie);return it+L(Math.floor(Se/60),2)+Ge+L(Se%60,2)}const k={G:function(Re,Ge,it){var Se=Re.getUTCFullYear()>0?1:0;switch(Ge){case"G":case"GG":case"GGG":return it.era(Se,{width:"abbreviated"});case"GGGGG":return it.era(Se,{width:"narrow"});default:return it.era(Se,{width:"wide"})}},y:function(Re,Ge,it){if("yo"===Ge){var Se=Re.getUTCFullYear();return it.ordinalNumber(Se>0?Se:1-Se,{unit:"year"})}return D_y(Re,Ge)},Y:function(Re,Ge,it,Se){var Z=(0,I.Z)(Re,Se),V=Z>0?Z:1-Z;return"YY"===Ge?L(V%100,2):"Yo"===Ge?it.ordinalNumber(V,{unit:"year"}):L(V,Ge.length)},R:function(Re,Ge){return L((0,b.Z)(Re),Ge.length)},u:function(Re,Ge){return L(Re.getUTCFullYear(),Ge.length)},Q:function(Re,Ge,it){var Se=Math.ceil((Re.getUTCMonth()+1)/3);switch(Ge){case"Q":return String(Se);case"QQ":return L(Se,2);case"Qo":return it.ordinalNumber(Se,{unit:"quarter"});case"QQQ":return it.quarter(Se,{width:"abbreviated",context:"formatting"});case"QQQQQ":return it.quarter(Se,{width:"narrow",context:"formatting"});default:return it.quarter(Se,{width:"wide",context:"formatting"})}},q:function(Re,Ge,it){var Se=Math.ceil((Re.getUTCMonth()+1)/3);switch(Ge){case"q":return String(Se);case"qq":return L(Se,2);case"qo":return it.ordinalNumber(Se,{unit:"quarter"});case"qqq":return it.quarter(Se,{width:"abbreviated",context:"standalone"});case"qqqqq":return it.quarter(Se,{width:"narrow",context:"standalone"});default:return it.quarter(Se,{width:"wide",context:"standalone"})}},M:function(Re,Ge,it){var Se=Re.getUTCMonth();switch(Ge){case"M":case"MM":return D_M(Re,Ge);case"Mo":return it.ordinalNumber(Se+1,{unit:"month"});case"MMM":return it.month(Se,{width:"abbreviated",context:"formatting"});case"MMMMM":return it.month(Se,{width:"narrow",context:"formatting"});default:return it.month(Se,{width:"wide",context:"formatting"})}},L:function(Re,Ge,it){var Se=Re.getUTCMonth();switch(Ge){case"L":return String(Se+1);case"LL":return L(Se+1,2);case"Lo":return it.ordinalNumber(Se+1,{unit:"month"});case"LLL":return it.month(Se,{width:"abbreviated",context:"standalone"});case"LLLLL":return it.month(Se,{width:"narrow",context:"standalone"});default:return it.month(Se,{width:"wide",context:"standalone"})}},w:function(Re,Ge,it,Se){var Z=(0,m.Z)(Re,Se);return"wo"===Ge?it.ordinalNumber(Z,{unit:"week"}):L(Z,Ge.length)},I:function(Re,Ge,it){var Se=(0,v.Z)(Re);return"Io"===Ge?it.ordinalNumber(Se,{unit:"week"}):L(Se,Ge.length)},d:function(Re,Ge,it){return"do"===Ge?it.ordinalNumber(Re.getUTCDate(),{unit:"date"}):D_d(Re,Ge)},D:function(Re,Ge,it){var Se=function f(Ie){(0,p.Z)(1,arguments);var Re=(0,d.Z)(Ie),Ge=Re.getTime();Re.setUTCMonth(0,1),Re.setUTCHours(0,0,0,0);var it=Re.getTime();return Math.floor((Ge-it)/C)+1}(Re);return"Do"===Ge?it.ordinalNumber(Se,{unit:"dayOfYear"}):L(Se,Ge.length)},E:function(Re,Ge,it){var Se=Re.getUTCDay();switch(Ge){case"E":case"EE":case"EEE":return it.day(Se,{width:"abbreviated",context:"formatting"});case"EEEEE":return it.day(Se,{width:"narrow",context:"formatting"});case"EEEEEE":return it.day(Se,{width:"short",context:"formatting"});default:return it.day(Se,{width:"wide",context:"formatting"})}},e:function(Re,Ge,it,Se){var Z=Re.getUTCDay(),V=(Z-Se.weekStartsOn+8)%7||7;switch(Ge){case"e":return String(V);case"ee":return L(V,2);case"eo":return it.ordinalNumber(V,{unit:"day"});case"eee":return it.day(Z,{width:"abbreviated",context:"formatting"});case"eeeee":return it.day(Z,{width:"narrow",context:"formatting"});case"eeeeee":return it.day(Z,{width:"short",context:"formatting"});default:return it.day(Z,{width:"wide",context:"formatting"})}},c:function(Re,Ge,it,Se){var Z=Re.getUTCDay(),V=(Z-Se.weekStartsOn+8)%7||7;switch(Ge){case"c":return String(V);case"cc":return L(V,Ge.length);case"co":return it.ordinalNumber(V,{unit:"day"});case"ccc":return it.day(Z,{width:"abbreviated",context:"standalone"});case"ccccc":return it.day(Z,{width:"narrow",context:"standalone"});case"cccccc":return it.day(Z,{width:"short",context:"standalone"});default:return it.day(Z,{width:"wide",context:"standalone"})}},i:function(Re,Ge,it){var Se=Re.getUTCDay(),Z=0===Se?7:Se;switch(Ge){case"i":return String(Z);case"ii":return L(Z,Ge.length);case"io":return it.ordinalNumber(Z,{unit:"day"});case"iii":return it.day(Se,{width:"abbreviated",context:"formatting"});case"iiiii":return it.day(Se,{width:"narrow",context:"formatting"});case"iiiiii":return it.day(Se,{width:"short",context:"formatting"});default:return it.day(Se,{width:"wide",context:"formatting"})}},a:function(Re,Ge,it){var Z=Re.getUTCHours()/12>=1?"pm":"am";switch(Ge){case"a":case"aa":return it.dayPeriod(Z,{width:"abbreviated",context:"formatting"});case"aaa":return it.dayPeriod(Z,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return it.dayPeriod(Z,{width:"narrow",context:"formatting"});default:return it.dayPeriod(Z,{width:"wide",context:"formatting"})}},b:function(Re,Ge,it){var Z,Se=Re.getUTCHours();switch(Z=12===Se?"noon":0===Se?"midnight":Se/12>=1?"pm":"am",Ge){case"b":case"bb":return it.dayPeriod(Z,{width:"abbreviated",context:"formatting"});case"bbb":return it.dayPeriod(Z,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return it.dayPeriod(Z,{width:"narrow",context:"formatting"});default:return it.dayPeriod(Z,{width:"wide",context:"formatting"})}},B:function(Re,Ge,it){var Z,Se=Re.getUTCHours();switch(Z=Se>=17?"evening":Se>=12?"afternoon":Se>=4?"morning":"night",Ge){case"B":case"BB":case"BBB":return it.dayPeriod(Z,{width:"abbreviated",context:"formatting"});case"BBBBB":return it.dayPeriod(Z,{width:"narrow",context:"formatting"});default:return it.dayPeriod(Z,{width:"wide",context:"formatting"})}},h:function(Re,Ge,it){if("ho"===Ge){var Se=Re.getUTCHours()%12;return 0===Se&&(Se=12),it.ordinalNumber(Se,{unit:"hour"})}return D_h(Re,Ge)},H:function(Re,Ge,it){return"Ho"===Ge?it.ordinalNumber(Re.getUTCHours(),{unit:"hour"}):D_H(Re,Ge)},K:function(Re,Ge,it){var Se=Re.getUTCHours()%12;return"Ko"===Ge?it.ordinalNumber(Se,{unit:"hour"}):L(Se,Ge.length)},k:function(Re,Ge,it){var Se=Re.getUTCHours();return 0===Se&&(Se=24),"ko"===Ge?it.ordinalNumber(Se,{unit:"hour"}):L(Se,Ge.length)},m:function(Re,Ge,it){return"mo"===Ge?it.ordinalNumber(Re.getUTCMinutes(),{unit:"minute"}):D_m(Re,Ge)},s:function(Re,Ge,it){return"so"===Ge?it.ordinalNumber(Re.getUTCSeconds(),{unit:"second"}):D_s(Re,Ge)},S:function(Re,Ge){return D_S(Re,Ge)},X:function(Re,Ge,it,Se){var V=(Se._originalDate||Re).getTimezoneOffset();if(0===V)return"Z";switch(Ge){case"X":return x(V);case"XXXX":case"XX":return w(V);default:return w(V,":")}},x:function(Re,Ge,it,Se){var V=(Se._originalDate||Re).getTimezoneOffset();switch(Ge){case"x":return x(V);case"xxxx":case"xx":return w(V);default:return w(V,":")}},O:function(Re,Ge,it,Se){var V=(Se._originalDate||Re).getTimezoneOffset();switch(Ge){case"O":case"OO":case"OOO":return"GMT"+R(V,":");default:return"GMT"+w(V,":")}},z:function(Re,Ge,it,Se){var V=(Se._originalDate||Re).getTimezoneOffset();switch(Ge){case"z":case"zz":case"zzz":return"GMT"+R(V,":");default:return"GMT"+w(V,":")}},t:function(Re,Ge,it,Se){return L(Math.floor((Se._originalDate||Re).getTime()/1e3),Ge.length)},T:function(Re,Ge,it,Se){return L((Se._originalDate||Re).getTime(),Ge.length)}};var H=l(61889),j=l(9868),z=l(72621),le=l(91998),oe=l(58370),$=l(48293),y=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ge=/^'([^]*?)'?$/,Ve=/''/g,$e=/[a-zA-Z]/;function Be(Ie,Re,Ge){var it,Se,Z,V,U,fe,pe,He,et,de,lt,St,Qt,gt,yt,Je,ct,Xe;(0,p.Z)(2,arguments);var X=String(Re),xe=(0,oe.j)(),he=null!==(it=null!==(Se=null==Ge?void 0:Ge.locale)&&void 0!==Se?Se:xe.locale)&&void 0!==it?it:$.Z,N=(0,le.Z)(null!==(Z=null!==(V=null!==(U=null!==(fe=null==Ge?void 0:Ge.firstWeekContainsDate)&&void 0!==fe?fe:null==Ge||null===(pe=Ge.locale)||void 0===pe||null===(He=pe.options)||void 0===He?void 0:He.firstWeekContainsDate)&&void 0!==U?U:xe.firstWeekContainsDate)&&void 0!==V?V:null===(et=xe.locale)||void 0===et||null===(de=et.options)||void 0===de?void 0:de.firstWeekContainsDate)&&void 0!==Z?Z:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=(0,le.Z)(null!==(lt=null!==(St=null!==(Qt=null!==(gt=null==Ge?void 0:Ge.weekStartsOn)&&void 0!==gt?gt:null==Ge||null===(yt=Ge.locale)||void 0===yt||null===(Je=yt.options)||void 0===Je?void 0:Je.weekStartsOn)&&void 0!==Qt?Qt:xe.weekStartsOn)&&void 0!==St?St:null===(ct=xe.locale)||void 0===ct||null===(Xe=ct.options)||void 0===Xe?void 0:Xe.weekStartsOn)&&void 0!==lt?lt:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!he.localize)throw new RangeError("locale must contain localize property");if(!he.formatLong)throw new RangeError("locale must contain formatLong property");var Y=(0,d.Z)(Ie);if(!(0,a.Z)(Y))throw new RangeError("Invalid time value");var re=(0,j.Z)(Y),Oe=(0,i.Z)(Y,re),Ye={firstWeekContainsDate:N,weekStartsOn:F,locale:he,_originalDate:Y},vt=X.match(ae).map(function(Vt){var Jt=Vt[0];return"p"===Jt||"P"===Jt?(0,H.Z[Jt])(Vt,he.formatLong):Vt}).join("").match(y).map(function(Vt){if("''"===Vt)return"'";var Jt=Vt[0];if("'"===Jt)return Ee(Vt);var hn=k[Jt];if(hn)return!(null!=Ge&&Ge.useAdditionalWeekYearTokens)&&(0,z.Do)(Vt)&&(0,z.qp)(Vt,Re,String(Ie)),!(null!=Ge&&Ge.useAdditionalDayOfYearTokens)&&(0,z.Iu)(Vt)&&(0,z.qp)(Vt,Re,String(Ie)),hn(Oe,Vt,he.localize,Ye);if(Jt.match($e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Jt+"`");return Vt}).join("");return vt}function Ee(Ie){var Re=Ie.match(ge);return Re?Re[1].replace(Ve,"'"):Ie}},79558:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p){(0,i.Z)(1,arguments);var C=(0,a.Z)(p),f=C.getMonth();return f}},63369:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p){return(0,i.Z)(1,arguments),(0,a.Z)(p).getFullYear()}},93499:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p,C){(0,i.Z)(2,arguments);var f=(0,a.Z)(p),v=(0,a.Z)(C);return f.getFullYear()===v.getFullYear()&&f.getMonth()===v.getMonth()}},90900:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>C});var a=l(86),i=l(40833);function d(f){return(0,i.Z)(1,arguments),f instanceof Date||"object"===(0,a.Z)(f)&&"[object Date]"===Object.prototype.toString.call(f)}var p=l(80953);function C(f){if((0,i.Z)(1,arguments),!d(f)&&"number"!=typeof f)return!1;var v=(0,p.Z)(f);return!isNaN(Number(v))}},84191:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(45566),i=l(40833),d=l(91998);function p(oe,$){var y;(0,i.Z)(1,arguments);var ae=(0,d.Z)(null!==(y=null==$?void 0:$.additionalDigits)&&void 0!==y?y:2);if(2!==ae&&1!==ae&&0!==ae)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof oe&&"[object String]"!==Object.prototype.toString.call(oe))return new Date(NaN);var Ve,ge=m(oe);if(ge.date){var $e=I(ge.date,ae);Ve=L($e.restDateString,$e.year)}if(!Ve||isNaN(Ve.getTime()))return new Date(NaN);var Ie,Be=Ve.getTime(),Ee=0;if(ge.time&&(Ee=D(ge.time),isNaN(Ee)))return new Date(NaN);if(!ge.timezone){var Re=new Date(Be+Ee),Ge=new Date(0);return Ge.setFullYear(Re.getUTCFullYear(),Re.getUTCMonth(),Re.getUTCDate()),Ge.setHours(Re.getUTCHours(),Re.getUTCMinutes(),Re.getUTCSeconds(),Re.getUTCMilliseconds()),Ge}return Ie=B(ge.timezone),isNaN(Ie)?new Date(NaN):new Date(Be+Ee+Ie)}var C={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},f=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,v=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,b=/^([+-])(\d{2})(?::?(\d{2}))?$/;function m(oe){var ae,$={},y=oe.split(C.dateTimeDelimiter);if(y.length>2)return $;if(/:/.test(y[0])?ae=y[0]:($.date=y[0],ae=y[1],C.timeZoneDelimiter.test($.date)&&($.date=oe.split(C.timeZoneDelimiter)[0],ae=oe.substr($.date.length,oe.length))),ae){var ge=C.timezone.exec(ae);ge?($.time=ae.replace(ge[1],""),$.timezone=ge[1]):$.time=ae}return $}function I(oe,$){var y=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+$)+"})|(\\d{2}|[+-]\\d{"+(2+$)+"})$)"),ae=oe.match(y);if(!ae)return{year:NaN,restDateString:""};var ge=ae[1]?parseInt(ae[1]):null,Ve=ae[2]?parseInt(ae[2]):null;return{year:null===Ve?ge:100*Ve,restDateString:oe.slice((ae[1]||ae[2]).length)}}function L(oe,$){if(null===$)return new Date(NaN);var y=oe.match(f);if(!y)return new Date(NaN);var ae=!!y[4],ge=M(y[1]),Ve=M(y[2])-1,$e=M(y[3]),Be=M(y[4]),Ee=M(y[5])-1;if(ae)return function j(oe,$,y){return $>=1&&$<=53&&y>=0&&y<=6}(0,Be,Ee)?function R(oe,$,y){var ae=new Date(0);ae.setUTCFullYear(oe,0,4);var Ve=7*($-1)+y+1-(ae.getUTCDay()||7);return ae.setUTCDate(ae.getUTCDate()+Ve),ae}($,Be,Ee):new Date(NaN);var Ie=new Date(0);return function k(oe,$,y){return $>=0&&$<=11&&y>=1&&y<=(x[$]||(w(oe)?29:28))}($,Ve,$e)&&function H(oe,$){return $>=1&&$<=(w(oe)?366:365)}($,ge)?(Ie.setUTCFullYear($,Ve,Math.max(ge,$e)),Ie):new Date(NaN)}function M(oe){return oe?parseInt(oe):1}function D(oe){var $=oe.match(v);if(!$)return NaN;var y=A($[1]),ae=A($[2]),ge=A($[3]);return function z(oe,$,y){return 24===oe?0===$&&0===y:y>=0&&y<60&&$>=0&&$<60&&oe>=0&&oe<25}(y,ae,ge)?y*a.vh+ae*a.yJ+1e3*ge:NaN}function A(oe){return oe&&parseFloat(oe.replace(",","."))||0}function B(oe){if("Z"===oe)return 0;var $=oe.match(b);if(!$)return 0;var y="+"===$[1]?-1:1,ae=parseInt($[2]),ge=$[3]&&parseInt($[3])||0;return function le(oe,$){return $>=0&&$<=59}(0,ge)?y*(ae*a.vh+ge*a.yJ):NaN}var x=[31,null,31,30,31,30,31,31,30,31,30,31];function w(oe){return oe%400==0||oe%4==0&&oe%100!=0}},15632:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(91998),i=l(80953),d=l(40833);function p(C,f){(0,d.Z)(2,arguments);var v=(0,i.Z)(C),b=(0,a.Z)(f);return v.setSeconds(b),v}},28115:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p){(0,i.Z)(1,arguments);var C=(0,a.Z)(p);return C.setHours(0,0,0,0),C}},35119:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(80953),i=l(40833);function d(p){(0,i.Z)(1,arguments);var C=(0,a.Z)(p);return C.setDate(1),C.setHours(0,0,0,0),C}},52725:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>p});var a=l(81201),i=l(40833),d=l(91998);function p(C,f){(0,i.Z)(2,arguments);var v=(0,d.Z)(f);return(0,a.Z)(C,-v)}},80953:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(86),i=l(40833);function d(p){(0,i.Z)(1,arguments);var C=Object.prototype.toString.call(p);return p instanceof Date||"object"===(0,a.Z)(p)&&"[object Date]"===C?new Date(p.getTime()):"number"==typeof p||"[object Number]"===C?new Date(p):(("string"==typeof p||"[object String]"===C)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},27868:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function w(H,j,z){var le,oe,$,y,ae,ge,Ve,$e,Be,Ee,Ie,Re,Ge,it,Se,Z,V,U;(0,I.default)(2,arguments);var fe=String(j),pe=(0,L.getDefaultOptions)(),He=null!==(le=null!==(oe=null==z?void 0:z.locale)&&void 0!==oe?oe:pe.locale)&&void 0!==le?le:M.default,et=(0,m.default)(null!==($=null!==(y=null!==(ae=null!==(ge=null==z?void 0:z.firstWeekContainsDate)&&void 0!==ge?ge:null==z||null===(Ve=z.locale)||void 0===Ve||null===($e=Ve.options)||void 0===$e?void 0:$e.firstWeekContainsDate)&&void 0!==ae?ae:pe.firstWeekContainsDate)&&void 0!==y?y:null===(Be=pe.locale)||void 0===Be||null===(Ee=Be.options)||void 0===Ee?void 0:Ee.firstWeekContainsDate)&&void 0!==$?$:1);if(!(et>=1&&et<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var de=(0,m.default)(null!==(Ie=null!==(Re=null!==(Ge=null!==(it=null==z?void 0:z.weekStartsOn)&&void 0!==it?it:null==z||null===(Se=z.locale)||void 0===Se||null===(Z=Se.options)||void 0===Z?void 0:Z.weekStartsOn)&&void 0!==Ge?Ge:pe.weekStartsOn)&&void 0!==Re?Re:null===(V=pe.locale)||void 0===V||null===(U=V.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==Ie?Ie:0);if(!(de>=0&&de<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!He.localize)throw new RangeError("locale must contain localize property");if(!He.formatLong)throw new RangeError("locale must contain formatLong property");var lt=(0,p.default)(H);if(!(0,i.default)(lt))throw new RangeError("Invalid time value");var St=(0,v.default)(lt),Qt=(0,d.default)(lt,St),gt={firstWeekContainsDate:et,weekStartsOn:de,locale:He,_originalDate:lt},yt=fe.match(A).map(function(Je){var ct=Je[0];return"p"===ct||"P"===ct?(0,f.default[ct])(Je,He.formatLong):Je}).join("").match(D).map(function(Je){if("''"===Je)return"'";var ct=Je[0];if("'"===ct)return k(Je);var Xe=C.default[ct];if(Xe)return!(null!=z&&z.useAdditionalWeekYearTokens)&&(0,b.isProtectedWeekYearToken)(Je)&&(0,b.throwProtectedError)(Je,j,String(H)),!(null!=z&&z.useAdditionalDayOfYearTokens)&&(0,b.isProtectedDayOfYearToken)(Je)&&(0,b.throwProtectedError)(Je,j,String(H)),Xe(Qt,Je,He.localize,gt);if(ct.match(x))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ct+"`");return Je}).join("");return yt};var i=a(l(88830)),d=a(l(65726)),p=a(l(90798)),C=a(l(1635)),f=a(l(75852)),v=a(l(47664)),b=l(70183),m=a(l(6092)),I=a(l(61886)),L=l(40150),M=a(l(73215)),D=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,B=/^'([^]*?)'?$/,R=/''/g,x=/[a-zA-Z]/;function k(H){var j=H.match(B);return j?j[1].replace(R,"'"):H}ze.exports=G.default},73085:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function p(C){return(0,d.default)(1,arguments),C instanceof Date||"object"===(0,i.default)(C)&&"[object Date]"===Object.prototype.toString.call(C)};var i=a(l(50590)),d=a(l(61886));ze.exports=G.default},88830:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function C(f){if((0,p.default)(1,arguments),!(0,i.default)(f)&&"number"!=typeof f)return!1;var v=(0,d.default)(f);return!isNaN(Number(v))};var i=a(l(73085)),d=a(l(90798)),p=a(l(61886));ze.exports=G.default},88995:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=i.width?String(i.width):a.defaultWidth,p=a.formats[d]||a.formats[a.defaultWidth];return p}},ze.exports=G.default},77579:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a){return function(i,d){var C;if("formatting"===(null!=d&&d.context?String(d.context):"standalone")&&a.formattingValues){var f=a.defaultFormattingWidth||a.defaultWidth,v=null!=d&&d.width?String(d.width):f;C=a.formattingValues[v]||a.formattingValues[f]}else{var b=a.defaultWidth,m=null!=d&&d.width?String(d.width):a.defaultWidth;C=a.values[m]||a.values[b]}return C[a.argumentCallback?a.argumentCallback(i):i]}},ze.exports=G.default},84728:(ze,G)=>{"use strict";function a(d,p){for(var C in d)if(d.hasOwnProperty(C)&&p(d[C]))return C}function i(d,p){for(var C=0;C<d.length;C++)if(p(d[C]))return C}Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(d){return function(p){var C=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=C.width,v=f&&d.matchPatterns[f]||d.matchPatterns[d.defaultMatchWidth],b=p.match(v);if(!b)return null;var M,m=b[0],I=f&&d.parsePatterns[f]||d.parsePatterns[d.defaultParseWidth],L=Array.isArray(I)?i(I,function(A){return A.test(m)}):a(I,function(A){return A.test(m)});M=d.valueCallback?d.valueCallback(L):L,M=C.valueCallback?C.valueCallback(M):M;var D=p.slice(m.length);return{value:M,rest:D}}},ze.exports=G.default},27223:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=function l(a){return function(i){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=i.match(a.matchPattern);if(!p)return null;var C=p[0],f=i.match(a.parsePattern);if(!f)return null;var v=a.valueCallback?a.valueCallback(f[0]):f[0];v=d.valueCallback?d.valueCallback(v):v;var b=i.slice(C.length);return{value:v,rest:b}}},ze.exports=G.default},39563:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var l={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};G.default=function(p,C,f){var v,b=l[p];return v="string"==typeof b?b:1===C?b.one:b.other.replace("{{count}}",C.toString()),null!=f&&f.addSuffix?f.comparison&&f.comparison>0?"in "+v:v+" ago":v},ze.exports=G.default},66929:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(88995)),f={date:(0,i.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};G.default=f,ze.exports=G.default},21656:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};G.default=function(p,C,f,v){return l[p]},ze.exports=G.default},31098:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(77579)),I={ordinalNumber:function(D,A){var B=Number(D),R=B%100;if(R>20||R<10)switch(R%10){case 1:return B+"st";case 2:return B+"nd";case 3:return B+"rd"}return B+"th"},era:(0,i.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,i.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(D){return D-1}}),month:(0,i.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,i.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,i.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};G.default=I,ze.exports=G.default},53239:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(84728)),R={ordinalNumber:(0,a(l(27223)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(k){return parseInt(k,10)}}),era:(0,i.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,i.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(k){return k+1}}),month:(0,i.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,i.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,i.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};G.default=R,ze.exports=G.default},33338:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=void 0;var i=a(l(39563)),d=a(l(66929)),p=a(l(21656)),C=a(l(31098)),f=a(l(53239));G.default={code:"en-US",formatDistance:i.default,formatLong:d.default,formatRelative:p.default,localize:C.default,match:f.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},ze.exports=G.default},65726:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function C(f,v){(0,d.default)(2,arguments);var b=(0,p.default)(v);return(0,i.default)(f,-b)};var i=a(l(50405)),d=a(l(61886)),p=a(l(6092));ze.exports=G.default},90798:(ze,G,l)=>{"use strict";var a=l(36758).default;Object.defineProperty(G,"__esModule",{value:!0}),G.default=function p(C){(0,d.default)(1,arguments);var f=Object.prototype.toString.call(C);return C instanceof Date||"object"===(0,i.default)(C)&&"[object Date]"===f?new Date(C.getTime()):"number"==typeof C||"[object Number]"===f?new Date(C):(("string"==typeof C||"[object String]"===f)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))};var i=a(l(50590)),d=a(l(61886));ze.exports=G.default},85546:function(ze,G,l){var a=l(48926).default;!function(i){"use strict";function d(jt,ce,Ce){return ce in jt?Object.defineProperty(jt,ce,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):jt[ce]=Ce,jt}var p="undefined"!=typeof self?self:global;const C="undefined"!=typeof navigator,f=C&&"undefined"==typeof HTMLImageElement,v=!("undefined"==typeof global||"undefined"==typeof process||!process.versions||!process.versions.node),b=p.Buffer,m=!!b,I=jt=>void 0!==jt;function L(jt){return void 0===jt||(jt instanceof Map?0===jt.size:0===Object.values(jt).filter(I).length)}function M(jt){let ce=new Error(jt);throw delete ce.stack,ce}function D(jt){let ce=function(Ce){let Qe=0;return Ce.ifd0.enabled&&(Qe+=1024),Ce.exif.enabled&&(Qe+=2048),Ce.makerNote&&(Qe+=2048),Ce.userComment&&(Qe+=1024),Ce.gps.enabled&&(Qe+=512),Ce.interop.enabled&&(Qe+=100),Ce.ifd1.enabled&&(Qe+=1024),Qe+2048}(jt);return jt.jfif.enabled&&(ce+=50),jt.xmp.enabled&&(ce+=2e4),jt.iptc.enabled&&(ce+=14e3),jt.icc.enabled&&(ce+=6e3),ce}const A=jt=>String.fromCharCode.apply(null,jt),B="undefined"!=typeof TextDecoder?new TextDecoder("utf-8"):void 0;class R{static from(ce,Ce){return ce instanceof this&&ce.le===Ce?ce:new R(ce,void 0,void 0,Ce)}constructor(ce,Ce=0,Qe,rt){if("boolean"==typeof rt&&(this.le=rt),Array.isArray(ce)&&(ce=new Uint8Array(ce)),0===ce)this.byteOffset=0,this.byteLength=0;else if(ce instanceof ArrayBuffer){void 0===Qe&&(Qe=ce.byteLength-Ce);let Nt=new DataView(ce,Ce,Qe);this._swapDataView(Nt)}else if(ce instanceof Uint8Array||ce instanceof DataView||ce instanceof R){void 0===Qe&&(Qe=ce.byteLength-Ce),(Ce+=ce.byteOffset)+Qe>ce.byteOffset+ce.byteLength&&M("Creating view outside of available memory in ArrayBuffer");let Nt=new DataView(ce.buffer,Ce,Qe);this._swapDataView(Nt)}else if("number"==typeof ce){let Nt=new DataView(new ArrayBuffer(ce));this._swapDataView(Nt)}else M("Invalid input argument for BufferView: "+ce)}_swapArrayBuffer(ce){this._swapDataView(new DataView(ce))}_swapBuffer(ce){this._swapDataView(new DataView(ce.buffer,ce.byteOffset,ce.byteLength))}_swapDataView(ce){this.dataView=ce,this.buffer=ce.buffer,this.byteOffset=ce.byteOffset,this.byteLength=ce.byteLength}_lengthToEnd(ce){return this.byteLength-ce}set(ce,Ce,Qe=R){return ce instanceof DataView||ce instanceof R?ce=new Uint8Array(ce.buffer,ce.byteOffset,ce.byteLength):ce instanceof ArrayBuffer&&(ce=new Uint8Array(ce)),ce instanceof Uint8Array||M("BufferView.set(): Invalid data argument."),this.toUint8().set(ce,Ce),new Qe(this,Ce,ce.byteLength)}subarray(ce,Ce){return Ce=Ce||this._lengthToEnd(ce),new R(this,ce,Ce)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(ce,Ce){return new Uint8Array(this.buffer,this.byteOffset+ce,Ce)}getString(ce=0,Ce=this.byteLength){return rt=this.getUint8Array(ce,Ce),B?B.decode(rt):m?Buffer.from(rt).toString("utf8"):decodeURIComponent(escape(A(rt)));var rt}getLatin1String(ce=0,Ce=this.byteLength){let Qe=this.getUint8Array(ce,Ce);return A(Qe)}getUnicodeString(ce=0,Ce=this.byteLength){const Qe=[];for(let rt=0;rt<Ce&&ce+rt<this.byteLength;rt+=2)Qe.push(this.getUint16(ce+rt));return A(Qe)}getInt8(ce){return this.dataView.getInt8(ce)}getUint8(ce){return this.dataView.getUint8(ce)}getInt16(ce,Ce=this.le){return this.dataView.getInt16(ce,Ce)}getInt32(ce,Ce=this.le){return this.dataView.getInt32(ce,Ce)}getUint16(ce,Ce=this.le){return this.dataView.getUint16(ce,Ce)}getUint32(ce,Ce=this.le){return this.dataView.getUint32(ce,Ce)}getFloat32(ce,Ce=this.le){return this.dataView.getFloat32(ce,Ce)}getFloat64(ce,Ce=this.le){return this.dataView.getFloat64(ce,Ce)}getFloat(ce,Ce=this.le){return this.dataView.getFloat32(ce,Ce)}getDouble(ce,Ce=this.le){return this.dataView.getFloat64(ce,Ce)}getUintBytes(ce,Ce,Qe){switch(Ce){case 1:return this.getUint8(ce,Qe);case 2:return this.getUint16(ce,Qe);case 4:return this.getUint32(ce,Qe);case 8:return this.getUint64&&this.getUint64(ce,Qe)}}getUint(ce,Ce,Qe){switch(Ce){case 8:return this.getUint8(ce,Qe);case 16:return this.getUint16(ce,Qe);case 32:return this.getUint32(ce,Qe);case 64:return this.getUint64&&this.getUint64(ce,Qe)}}toString(ce){return this.dataView.toString(ce,this.constructor.name)}ensureChunk(){}}function x(jt,ce){M(`${jt} '${ce}' was not loaded, try using full build of exifr.`)}class w extends Map{constructor(ce){super(),this.kind=ce}get(ce,Ce){return this.has(ce)||x(this.kind,ce),Ce&&(ce in Ce||M(`Unknown ${this.kind} '${ce}'.`),Ce[ce].enabled||x(this.kind,ce)),super.get(ce)}keyList(){return Array.from(this.keys())}}var k=new w("file parser"),H=new w("segment parser"),j=new w("file reader");let z=p.fetch;const le="Invalid input argument";function oe(jt,ce){return(Ce=jt).startsWith("data:")||Ce.length>1e4?ae(jt,ce,"base64"):v&&jt.includes("://")?$(jt,ce,"url",Ve):v?ae(jt,ce,"fs"):C?$(jt,ce,"url",Ve):void M(le);var Ce}function $(jt,ce,Ce,Qe){return y.apply(this,arguments)}function y(){return y=a(function*(jt,ce,Ce,Qe){return j.has(Ce)?ae(jt,ce,Ce):Qe?(rt=a(function*(Nt,sn){let On=yield sn(Nt);return new R(On)}),function(Nt,sn){return rt.apply(this,arguments)})(jt,Qe):void M(`Parser ${Ce} is not loaded`);var rt}),y.apply(this,arguments)}function ae(jt,ce,Ce){return ge.apply(this,arguments)}function ge(){return(ge=a(function*(jt,ce,Ce){let Qe=new(j.get(Ce))(jt,ce);return yield Qe.read(),Qe})).apply(this,arguments)}const Ve=jt=>z(jt).then(ce=>ce.arrayBuffer()),$e=jt=>new Promise((ce,Ce)=>{let Qe=new FileReader;Qe.onloadend=()=>ce(Qe.result||new ArrayBuffer),Qe.onerror=Ce,Qe.readAsArrayBuffer(jt)});class Be extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}function Ee(jt,ce,Ce){let Qe=new Be;for(let[rt,Nt]of Ce)Qe.set(rt,Nt);if(Array.isArray(ce))for(let rt of ce)jt.set(rt,Qe);else jt.set(ce,Qe);return Qe}function Ie(jt,ce,Ce){let Qe,rt=jt.get(ce);for(Qe of Ce)rt.set(Qe[0],Qe[1])}const Re=new Map,Ge=new Map,it=new Map,Se=37500,Z=37510,V=33723,U=34675,He=40965,et=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],de=["jfif","xmp","icc","iptc","ihdr"],lt=["tiff",...de],St=["ifd0","ifd1","exif","gps","interop"],Qt=[...lt,...St],gt=["makerNote","userComment"],yt=["translateKeys","translateValues","reviveValues","multiSegment"],Je=[...yt,"sanitize","mergeOutput","silentErrors"];class ct{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}}class Xe extends ct{get needed(){return this.enabled||this.deps.size>0}constructor(ce,Ce,Qe,rt){if(super(),d(this,"enabled",!1),d(this,"skip",new Set),d(this,"pick",new Set),d(this,"deps",new Set),d(this,"translateKeys",!1),d(this,"translateValues",!1),d(this,"reviveValues",!1),this.key=ce,this.enabled=Ce,this.parse=this.enabled,this.applyInheritables(rt),this.canBeFiltered=St.includes(ce),this.canBeFiltered&&(this.dict=Re.get(ce)),void 0!==Qe)if(Array.isArray(Qe))this.parse=this.enabled=!0,this.canBeFiltered&&Qe.length>0&&this.translateTagSet(Qe,this.pick);else if("object"==typeof Qe){if(this.enabled=!0,this.parse=!1!==Qe.parse,this.canBeFiltered){let{pick:Nt,skip:sn}=Qe;Nt&&Nt.length>0&&this.translateTagSet(Nt,this.pick),sn&&sn.length>0&&this.translateTagSet(sn,this.skip)}this.applyInheritables(Qe)}else!0===Qe||!1===Qe?this.parse=this.enabled=Qe:M(`Invalid options argument: ${Qe}`)}applyInheritables(ce){let Ce,Qe;for(Ce of yt)Qe=ce[Ce],void 0!==Qe&&(this[Ce]=Qe)}translateTagSet(ce,Ce){if(this.dict){let Qe,rt,{tagKeys:Nt,tagValues:sn}=this.dict;for(Qe of ce)"string"==typeof Qe?(rt=sn.indexOf(Qe),-1===rt&&(rt=Nt.indexOf(Number(Qe))),-1!==rt&&Ce.add(Number(Nt[rt]))):Ce.add(Qe)}else for(let Qe of ce)Ce.add(Qe)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,Y(this.pick,this.deps)):this.enabled&&this.pick.size>0&&Y(this.pick,this.deps)}}var X={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},xe=new Map;class he extends ct{static useCached(ce){let Ce=xe.get(ce);return void 0!==Ce||(Ce=new this(ce),xe.set(ce,Ce)),Ce}constructor(ce){super(),!0===ce?this.setupFromTrue():void 0===ce?this.setupFromUndefined():Array.isArray(ce)?this.setupFromArray(ce):"object"==typeof ce?this.setupFromObject(ce):M(`Invalid options argument ${ce}`),void 0===this.firstChunkSize&&(this.firstChunkSize=C?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let ce;for(ce of et)this[ce]=X[ce];for(ce of Je)this[ce]=X[ce];for(ce of gt)this[ce]=X[ce];for(ce of Qt)this[ce]=new Xe(ce,X[ce],void 0,this)}setupFromTrue(){let ce;for(ce of et)this[ce]=X[ce];for(ce of Je)this[ce]=X[ce];for(ce of gt)this[ce]=!0;for(ce of Qt)this[ce]=new Xe(ce,!0,void 0,this)}setupFromArray(ce){let Ce;for(Ce of et)this[Ce]=X[Ce];for(Ce of Je)this[Ce]=X[Ce];for(Ce of gt)this[Ce]=X[Ce];for(Ce of Qt)this[Ce]=new Xe(Ce,!1,void 0,this);this.setupGlobalFilters(ce,void 0,St)}setupFromObject(ce){let Ce;for(Ce of(St.ifd0=St.ifd0||St.image,St.ifd1=St.ifd1||St.thumbnail,Object.assign(this,ce),et))this[Ce]=F(ce[Ce],X[Ce]);for(Ce of Je)this[Ce]=F(ce[Ce],X[Ce]);for(Ce of gt)this[Ce]=F(ce[Ce],X[Ce]);for(Ce of lt)this[Ce]=new Xe(Ce,X[Ce],ce[Ce],this);for(Ce of St)this[Ce]=new Xe(Ce,X[Ce],ce[Ce],this.tiff);this.setupGlobalFilters(ce.pick,ce.skip,St,Qt),!0===ce.tiff?this.batchEnableWithBool(St,!0):!1===ce.tiff?this.batchEnableWithUserValue(St,ce):Array.isArray(ce.tiff)?this.setupGlobalFilters(ce.tiff,void 0,St):"object"==typeof ce.tiff&&this.setupGlobalFilters(ce.tiff.pick,ce.tiff.skip,St)}batchEnableWithBool(ce,Ce){for(let Qe of ce)this[Qe].enabled=Ce}batchEnableWithUserValue(ce,Ce){for(let Qe of ce){let rt=Ce[Qe];this[Qe].enabled=!1!==rt&&void 0!==rt}}setupGlobalFilters(ce,Ce,Qe,rt=Qe){if(ce&&ce.length){for(let sn of rt)this[sn].enabled=!1;let Nt=N(ce,Qe);for(let[sn,On]of Nt)Y(this[sn].pick,On),this[sn].enabled=!0}else if(Ce&&Ce.length){let Nt=N(Ce,Qe);for(let[sn,On]of Nt)Y(this[sn].skip,On)}}filterNestedSegmentTags(){let{ifd0:ce,exif:Ce,xmp:Qe,iptc:rt,icc:Nt}=this;this.makerNote?Ce.deps.add(Se):Ce.skip.add(Se),this.userComment?Ce.deps.add(Z):Ce.skip.add(Z),Qe.enabled||ce.skip.add(700),rt.enabled||ce.skip.add(V),Nt.enabled||ce.skip.add(U)}traverseTiffDependencyTree(){let{ifd0:ce,exif:Ce,gps:Qe,interop:rt}=this;rt.needed&&(Ce.deps.add(He),ce.deps.add(He)),Ce.needed&&ce.deps.add(34665),Qe.needed&&ce.deps.add(34853),this.tiff.enabled=St.some(Nt=>!0===this[Nt].enabled)||this.makerNote||this.userComment;for(let Nt of St)this[Nt].finalizeFilters()}get onlyTiff(){return!de.map(ce=>this[ce].enabled).some(ce=>!0===ce)&&this.tiff.enabled}checkLoadedPlugins(){for(let ce of lt)this[ce].enabled&&!H.has(ce)&&x("segment parser",ce)}}function N(jt,ce){let Ce,Qe,rt,Nt,sn=[];for(rt of ce){for(Nt of(Ce=Re.get(rt),Qe=[],Ce))(jt.includes(Nt[0])||jt.includes(Nt[1]))&&Qe.push(Nt[0]);Qe.length&&sn.push([rt,Qe])}return sn}function F(jt,ce){return void 0!==jt?jt:void 0!==ce?ce:void 0}function Y(jt,ce){for(let Ce of ce)jt.add(Ce)}d(he,"default",X);class re{constructor(ce){d(this,"parsers",{}),d(this,"output",{}),d(this,"errors",[]),d(this,"pushToErrors",Ce=>this.errors.push(Ce)),this.options=he.useCached(ce)}read(ce){var Ce=this;return a(function*(){var Qe,rt;Ce.file=yield(Qe=ce,rt=Ce.options,"string"==typeof Qe?oe(Qe,rt):C&&!f&&Qe instanceof HTMLImageElement?oe(Qe.src,rt):Qe instanceof Uint8Array||Qe instanceof ArrayBuffer||Qe instanceof DataView?new R(Qe):C&&Qe instanceof Blob?$(Qe,rt,"blob",$e):void M(le))})()}setup(){if(this.fileParser)return;let{file:ce}=this,Ce=ce.getUint16(0);for(let[Qe,rt]of k)if(rt.canHandle(ce,Ce))return this.fileParser=new rt(this.options,this.file,this.parsers),ce[Qe]=!0;this.file.close&&this.file.close(),M("Unknown file format")}parse(){var ce=this;return a(function*(){let{output:Ce,errors:Qe}=ce;return ce.setup(),ce.options.silentErrors?(yield ce.executeParsers().catch(ce.pushToErrors),Qe.push(...ce.fileParser.errors)):yield ce.executeParsers(),ce.file.close&&ce.file.close(),ce.options.silentErrors&&Qe.length>0&&(Ce.errors=Qe),L(rt=Ce)?void 0:rt;var rt})()}executeParsers(){var ce=this;return a(function*(){let{output:Ce}=ce;yield ce.fileParser.parse();let Qe=Object.values(ce.parsers).map(function(){var rt=a(function*(Nt){let sn=yield Nt.parse();Nt.assignToOutput(Ce,sn)});return function(Nt){return rt.apply(this,arguments)}}());ce.options.silentErrors&&(Qe=Qe.map(rt=>rt.catch(ce.pushToErrors))),yield Promise.all(Qe)})()}extractThumbnail(){var ce=this;return a(function*(){ce.setup();let{options:Ce,file:Qe}=ce,rt=H.get("tiff",Ce);var Nt;if(Qe.tiff?Nt={start:0,type:"tiff"}:Qe.jpeg&&(Nt=yield ce.fileParser.getOrFindSegment("tiff")),void 0===Nt)return;let sn=yield ce.fileParser.ensureSegmentChunk(Nt),On=ce.parsers.tiff=new rt(sn,Ce,Qe),Ln=yield On.extractThumbnail();return Qe.close&&Qe.close(),Ln})()}}function Oe(jt,ce){return Ye.apply(this,arguments)}function Ye(){return(Ye=a(function*(jt,ce){let Ce=new re(ce);return yield Ce.read(jt),Ce.parse()})).apply(this,arguments)}var vt=Object.freeze({__proto__:null,parse:Oe,Exifr:re,fileParsers:k,segmentParsers:H,fileReaders:j,tagKeys:Re,tagValues:Ge,tagRevivers:it,createDictionary:Ee,extendDictionary:Ie,fetchUrlAsArrayBuffer:Ve,readBlobAsArrayBuffer:$e,chunkedProps:et,otherSegments:de,segments:lt,tiffBlocks:St,segmentsAndBlocks:Qt,tiffExtractables:gt,inheritables:yt,allFormatters:Je,Options:he});class Vt{static findPosition(ce,Ce){let Qe=ce.getUint16(Ce+2)+2,rt="function"==typeof this.headerLength?this.headerLength(ce,Ce,Qe):this.headerLength,Nt=Ce+rt,sn=Qe-rt;return{offset:Ce,length:Qe,headerLength:rt,start:Nt,size:sn,end:Nt+sn}}static parse(ce,Ce={}){return new this(ce,new he({[this.type]:Ce}),ce).parse()}normalizeInput(ce){return ce instanceof R?ce:new R(ce)}constructor(ce,Ce={},Qe){d(this,"errors",[]),d(this,"raw",new Map),d(this,"handleError",rt=>{if(!this.options.silentErrors)throw rt;this.errors.push(rt.message)}),this.chunk=this.normalizeInput(ce),this.file=Qe,this.type=this.constructor.type,this.globalOptions=this.options=Ce,this.localOptions=Ce[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(ce,Ce){let Qe=it.get(Ce),rt=Ge.get(Ce),Nt=Re.get(Ce),sn=this.options[Ce],On=sn.reviveValues&&!!Qe,Ln=sn.translateValues&&!!rt,zn=sn.translateKeys&&!!Nt,hi={};for(let[mi,gi]of ce)On&&Qe.has(mi)?gi=Qe.get(mi)(gi):Ln&&rt.has(mi)&&(gi=this.translateValue(gi,rt.get(mi))),zn&&Nt.has(mi)&&(mi=Nt.get(mi)||mi),hi[mi]=gi;return hi}translateValue(ce,Ce){return Ce[ce]||Ce.DEFAULT||ce}assignToOutput(ce,Ce){this.assignObjectToOutput(ce,this.constructor.type,Ce)}assignObjectToOutput(ce,Ce,Qe){if(this.globalOptions.mergeOutput)return Object.assign(ce,Qe);ce[Ce]?Object.assign(ce[Ce],Qe):ce[Ce]=Qe}}function Jt(jt){return 192===jt||194===jt||196===jt||219===jt||221===jt||218===jt||254===jt}function gn(jt,ce,Ce){for(let[Qe,rt]of H)if(rt.canHandle(jt,ce,Ce))return Qe}d(Vt,"headerLength",4),d(Vt,"type",void 0),d(Vt,"multiSegment",!1),d(Vt,"canHandle",()=>!1);class yn extends class{constructor(ce,Ce,Qe){var rt=this;d(this,"errors",[]),d(this,"ensureSegmentChunk",function(){var Nt=a(function*(sn){let On=sn.start,Ln=sn.size||65536;if(rt.file.chunked)if(rt.file.available(On,Ln))sn.chunk=rt.file.subarray(On,Ln);else try{sn.chunk=yield rt.file.readChunk(On,Ln)}catch(zn){M(`Couldn't read segment: ${JSON.stringify(sn)}. ${zn.message}`)}else rt.file.byteLength>On+Ln?sn.chunk=rt.file.subarray(On,Ln):void 0===sn.size?sn.chunk=rt.file.subarray(On):M("Segment unreachable: "+JSON.stringify(sn));return sn.chunk});return function(sn){return Nt.apply(this,arguments)}}()),this.extendOptions&&this.extendOptions(ce),this.options=ce,this.file=Ce,this.parsers=Qe}injectSegment(ce,Ce){this.options[ce].enabled&&this.createParser(ce,Ce)}createParser(ce,Ce){let Qe=new(H.get(ce))(Ce,this.options,this.file);return this.parsers[ce]=Qe}createParsers(ce){for(let Ce of ce){let{type:Qe,chunk:rt}=Ce,Nt=this.options[Qe];if(Nt&&Nt.enabled){let sn=this.parsers[Qe];sn&&sn.append||sn||this.createParser(Qe,rt)}}}readSegments(ce){var Ce=this;return a(function*(){let Qe=ce.map(Ce.ensureSegmentChunk);yield Promise.all(Qe)})()}}{constructor(...ce){super(...ce),d(this,"appSegments",[]),d(this,"jpegSegments",[]),d(this,"unknownSegments",[])}static canHandle(ce,Ce){return 65496===Ce}parse(){var ce=this;return a(function*(){yield ce.findAppSegments(),yield ce.readSegments(ce.appSegments),ce.mergeMultiSegments(),ce.createParsers(ce.mergedAppSegments||ce.appSegments)})()}setupSegmentFinderArgs(ce){!0===ce?(this.findAll=!0,this.wanted=new Set(H.keyList())):(ce=void 0===ce?H.keyList().filter(Ce=>this.options[Ce].enabled):ce.filter(Ce=>this.options[Ce].enabled&&H.has(Ce)),this.findAll=!1,this.remaining=new Set(ce),this.wanted=new Set(ce)),this.unfinishedMultiSegment=!1}findAppSegments(ce=0,Ce){var Qe=this;return a(function*(){Qe.setupSegmentFinderArgs(Ce);let{file:rt,findAll:Nt,wanted:sn,remaining:On}=Qe;if(!Nt&&Qe.file.chunked&&(Nt=Array.from(sn).some(Ln=>H.get(Ln).multiSegment&&Qe.options[Ln].multiSegment),Nt&&(yield Qe.file.readWhole())),ce=Qe.findAppSegmentsInRange(ce,rt.byteLength),!Qe.options.onlyTiff&&rt.chunked){let Ln=!1;for(;On.size>0&&!Ln&&(rt.canReadNextChunk||Qe.unfinishedMultiSegment);){let{nextChunkOffset:zn}=rt,hi=Qe.appSegments.some(mi=>!Qe.file.available(mi.offset||mi.start,mi.length||mi.size));if(Ln=ce>zn&&!hi?!(yield rt.readNextChunk(ce)):!(yield rt.readNextChunk(zn)),void 0===(ce=Qe.findAppSegmentsInRange(ce,rt.byteLength)))return}}})()}findAppSegmentsInRange(ce,Ce){Ce-=2;let Qe,rt,Nt,sn,On,Ln,{file:zn,findAll:hi,wanted:mi,remaining:gi,options:ki}=this;for(;ce<Ce;ce++)if(255===zn.getUint8(ce))if(Qe=zn.getUint8(ce+1),(jt=Qe)>=224&&jt<=239){if(rt=zn.getUint16(ce+2),Nt=gn(zn,ce,rt),Nt&&mi.has(Nt)&&(sn=H.get(Nt),On=sn.findPosition(zn,ce),Ln=ki[Nt],On.type=Nt,this.appSegments.push(On),!hi&&(sn.multiSegment&&Ln.multiSegment?(this.unfinishedMultiSegment=On.chunkNumber<On.chunkCount,this.unfinishedMultiSegment||gi.delete(Nt)):gi.delete(Nt),0===gi.size)))break;ki.recordUnknownSegments&&(On=Vt.findPosition(zn,ce),On.marker=Qe,this.unknownSegments.push(On)),ce+=rt+1}else if(Jt(Qe)){if(rt=zn.getUint16(ce+2),218===Qe&&!1!==ki.stopAfterSos)return;ki.recordJpegSegments&&this.jpegSegments.push({offset:ce,length:rt,marker:Qe}),ce+=rt+1}var jt;return ce}mergeMultiSegments(){if(!this.appSegments.some(Ce=>Ce.multiSegment))return;let ce=function(Ce,Qe){let rt,Nt,sn,On=new Map;for(let Ln=0;Ln<Ce.length;Ln++)rt=Ce[Ln],Nt=rt.type,On.has(Nt)?sn=On.get(Nt):On.set(Nt,sn=[]),sn.push(rt);return Array.from(On)}(this.appSegments);this.mergedAppSegments=ce.map(([Ce,Qe])=>{let rt=H.get(Ce,this.options);return rt.handleMultiSegments?{type:Ce,chunk:rt.handleMultiSegments(Qe)}:Qe[0]})}getSegment(ce){return this.appSegments.find(Ce=>Ce.type===ce)}getOrFindSegment(ce){var Ce=this;return a(function*(){let Qe=Ce.getSegment(ce);return void 0===Qe&&(yield Ce.findAppSegments(0,[ce]),Qe=Ce.getSegment(ce)),Qe})()}}d(yn,"type","jpeg"),k.set("jpeg",yn);const An=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4];class Nn extends Vt{parseHeader(){var ce=this.chunk.getUint16();18761===ce?this.le=!0:19789===ce&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(ce,Ce,Qe=new Map){let{pick:rt,skip:Nt}=this.options[Ce];rt=new Set(rt);let sn=rt.size>0,On=0===Nt.size,Ln=this.chunk.getUint16(ce);ce+=2;for(let zn=0;zn<Ln;zn++){let hi=this.chunk.getUint16(ce);if(sn){if(rt.has(hi)&&(Qe.set(hi,this.parseTag(ce,hi,Ce)),rt.delete(hi),0===rt.size))break}else!On&&Nt.has(hi)||Qe.set(hi,this.parseTag(ce,hi,Ce));ce+=12}return Qe}parseTag(ce,Ce,Qe){let{chunk:rt}=this,Nt=rt.getUint16(ce+2),sn=rt.getUint32(ce+4),On=An[Nt];if(On*sn<=4?ce+=8:ce=rt.getUint32(ce+8),(Nt<1||Nt>13)&&M(`Invalid TIFF value type. block: ${Qe.toUpperCase()}, tag: ${Ce.toString(16)}, type: ${Nt}, offset ${ce}`),ce>rt.byteLength&&M(`Invalid TIFF value offset. block: ${Qe.toUpperCase()}, tag: ${Ce.toString(16)}, type: ${Nt}, offset ${ce} is outside of chunk size ${rt.byteLength}`),1===Nt)return rt.getUint8Array(ce,sn);if(2===Nt)return""===(Ln=function(zn){for(;zn.endsWith("\0");)zn=zn.slice(0,-1);return zn}(Ln=rt.getString(ce,sn)).trim())?void 0:Ln;var Ln;if(7===Nt)return rt.getUint8Array(ce,sn);if(1===sn)return this.parseTagValue(Nt,ce);{let zn=new(function(mi){switch(mi){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:case 10:default:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 11:return Float32Array;case 12:return Float64Array}}(Nt))(sn),hi=On;for(let mi=0;mi<sn;mi++)zn[mi]=this.parseTagValue(Nt,ce),ce+=hi;return zn}}parseTagValue(ce,Ce){let{chunk:Qe}=this;switch(ce){case 1:return Qe.getUint8(Ce);case 3:return Qe.getUint16(Ce);case 4:case 13:return Qe.getUint32(Ce);case 5:return Qe.getUint32(Ce)/Qe.getUint32(Ce+4);case 6:return Qe.getInt8(Ce);case 8:return Qe.getInt16(Ce);case 9:return Qe.getInt32(Ce);case 10:return Qe.getInt32(Ce)/Qe.getInt32(Ce+4);case 11:return Qe.getFloat(Ce);case 12:return Qe.getDouble(Ce);default:M(`Invalid tiff type ${ce}`)}}}class In extends Nn{static canHandle(ce,Ce){return 225===ce.getUint8(Ce+1)&&1165519206===ce.getUint32(Ce+4)&&0===ce.getUint16(Ce+8)}parse(){var ce=this;return a(function*(){ce.parseHeader();let{options:Ce}=ce;return Ce.ifd0.enabled&&(yield ce.parseIfd0Block()),Ce.exif.enabled&&(yield ce.safeParse("parseExifBlock")),Ce.gps.enabled&&(yield ce.safeParse("parseGpsBlock")),Ce.interop.enabled&&(yield ce.safeParse("parseInteropBlock")),Ce.ifd1.enabled&&(yield ce.safeParse("parseThumbnailBlock")),ce.createOutput()})()}safeParse(ce){let Ce=this[ce]();return void 0!==Ce.catch&&(Ce=Ce.catch(this.handleError)),Ce}findIfd0Offset(){void 0===this.ifd0Offset&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(void 0===this.ifd1Offset){this.findIfd0Offset();let ce=this.chunk.getUint16(this.ifd0Offset);this.ifd1Offset=this.chunk.getUint32(this.ifd0Offset+2+12*ce)}}parseBlock(ce,Ce){let Qe=new Map;return this[Ce]=Qe,this.parseTags(ce,Ce,Qe),Qe}parseIfd0Block(){var ce=this;return a(function*(){if(ce.ifd0)return;let{file:Ce}=ce;ce.findIfd0Offset(),ce.ifd0Offset<8&&M("Malformed EXIF data"),!Ce.chunked&&ce.ifd0Offset>Ce.byteLength&&M(`IFD0 offset points to outside of file.\nthis.ifd0Offset: ${ce.ifd0Offset}, file.byteLength: ${Ce.byteLength}`),Ce.tiff&&(yield Ce.ensureChunk(ce.ifd0Offset,D(ce.options)));let Qe=ce.parseBlock(ce.ifd0Offset,"ifd0");return 0!==Qe.size?(ce.exifOffset=Qe.get(34665),ce.interopOffset=Qe.get(He),ce.gpsOffset=Qe.get(34853),ce.xmp=Qe.get(700),ce.iptc=Qe.get(V),ce.icc=Qe.get(U),ce.options.sanitize&&(Qe.delete(34665),Qe.delete(He),Qe.delete(34853),Qe.delete(700),Qe.delete(V),Qe.delete(U)),Qe):void 0})()}parseExifBlock(){var ce=this;return a(function*(){if(ce.exif||(ce.ifd0||(yield ce.parseIfd0Block()),void 0===ce.exifOffset))return;ce.file.tiff&&(yield ce.file.ensureChunk(ce.exifOffset,D(ce.options)));let Ce=ce.parseBlock(ce.exifOffset,"exif");return ce.interopOffset||(ce.interopOffset=Ce.get(He)),ce.makerNote=Ce.get(Se),ce.userComment=Ce.get(Z),ce.options.sanitize&&(Ce.delete(He),Ce.delete(Se),Ce.delete(Z)),ce.unpack(Ce,41728),ce.unpack(Ce,41729),Ce})()}unpack(ce,Ce){let Qe=ce.get(Ce);Qe&&1===Qe.length&&ce.set(Ce,Qe[0])}parseGpsBlock(){var ce=this;return a(function*(){if(ce.gps||(ce.ifd0||(yield ce.parseIfd0Block()),void 0===ce.gpsOffset))return;let Ce=ce.parseBlock(ce.gpsOffset,"gps");return Ce&&Ce.has(2)&&Ce.has(4)&&(Ce.set("latitude",wn(...Ce.get(2),Ce.get(1))),Ce.set("longitude",wn(...Ce.get(4),Ce.get(3)))),Ce})()}parseInteropBlock(){var ce=this;return a(function*(){if(!ce.interop&&(ce.ifd0||(yield ce.parseIfd0Block()),void 0!==ce.interopOffset||ce.exif||(yield ce.parseExifBlock()),void 0!==ce.interopOffset))return ce.parseBlock(ce.interopOffset,"interop")})()}parseThumbnailBlock(ce=!1){var Ce=this;return a(function*(){if(!Ce.ifd1&&!Ce.ifd1Parsed&&(!Ce.options.mergeOutput||ce))return Ce.findIfd1Offset(),Ce.ifd1Offset>0&&(Ce.parseBlock(Ce.ifd1Offset,"ifd1"),Ce.ifd1Parsed=!0),Ce.ifd1})()}extractThumbnail(){var ce=this;return a(function*(){if(ce.headerParsed||ce.parseHeader(),ce.ifd1Parsed||(yield ce.parseThumbnailBlock(!0)),void 0===ce.ifd1)return;let Ce=ce.ifd1.get(513),Qe=ce.ifd1.get(514);return ce.chunk.getUint8Array(Ce,Qe)})()}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let ce,Ce,Qe,rt={};for(Ce of St)if(ce=this[Ce],!L(ce))if(Qe=this.canTranslate?this.translateBlock(ce,Ce):Object.fromEntries(ce),this.options.mergeOutput){if("ifd1"===Ce)continue;Object.assign(rt,Qe)}else rt[Ce]=Qe;return this.makerNote&&(rt.makerNote=this.makerNote),this.userComment&&(rt.userComment=this.userComment),rt}assignToOutput(ce,Ce){if(this.globalOptions.mergeOutput)Object.assign(ce,Ce);else for(let[Qe,rt]of Object.entries(Ce))this.assignObjectToOutput(ce,Qe,rt)}}function wn(jt,ce,Ce,Qe){var rt=jt+ce/60+Ce/3600;return"S"!==Qe&&"W"!==Qe||(rt*=-1),rt}d(In,"type","tiff"),d(In,"headerLength",10),H.set("tiff",In);var Wn=Object.freeze({__proto__:null,default:vt,Exifr:re,fileParsers:k,segmentParsers:H,fileReaders:j,tagKeys:Re,tagValues:Ge,tagRevivers:it,createDictionary:Ee,extendDictionary:Ie,fetchUrlAsArrayBuffer:Ve,readBlobAsArrayBuffer:$e,chunkedProps:et,otherSegments:de,segments:lt,tiffBlocks:St,segmentsAndBlocks:Qt,tiffExtractables:gt,inheritables:yt,allFormatters:Je,Options:he,parse:Oe});const Bn={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1},Xt=Object.assign({},Bn,{firstChunkSize:4e4,gps:[1,2,3,4]}),Pt=Object.assign({},Bn,{tiff:!1,ifd1:!0,mergeOutput:!1}),ht=Object.assign({},Bn,{firstChunkSize:4e4,ifd0:[274]});function be(jt){return Ze.apply(this,arguments)}function Ze(){return(Ze=a(function*(jt){let ce=new re(ht);yield ce.read(jt);let Ce=yield ce.parse();if(Ce&&Ce.ifd0)return Ce.ifd0[274]})).apply(this,arguments)}const _t=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}});if(i.rotateCanvas=!0,i.rotateCss=!0,"object"==typeof navigator){let jt=navigator.userAgent;if(jt.includes("iPad")||jt.includes("iPhone")){let ce=jt.match(/OS (\d+)_(\d+)/);if(ce){let[,Ce,Qe]=ce,rt=Number(Ce)+.1*Number(Qe);i.rotateCanvas=rt<13.4,i.rotateCss=!1}}else if(jt.includes("OS X 10")){let[,ce]=jt.match(/OS X 10[_.](\d+)/);i.rotateCanvas=i.rotateCss=Number(ce)<15}if(jt.includes("Chrome/")){let[,ce]=jt.match(/Chrome\/(\d+)/);i.rotateCanvas=i.rotateCss=Number(ce)<81}else if(jt.includes("Firefox/")){let[,ce]=jt.match(/Firefox\/(\d+)/);i.rotateCanvas=i.rotateCss=Number(ce)<77}}class st extends R{constructor(...ce){super(...ce),d(this,"ranges",new Ut),0!==this.byteLength&&this.ranges.add(0,this.byteLength)}_tryExtend(ce,Ce,Qe){if(0===ce&&0===this.byteLength&&Qe){let rt=new DataView(Qe.buffer||Qe,Qe.byteOffset,Qe.byteLength);this._swapDataView(rt)}else{let rt=ce+Ce;if(rt>this.byteLength){let{dataView:Nt}=this._extend(rt);this._swapDataView(Nt)}}}_extend(ce){let Ce;Ce=m?b.allocUnsafe(ce):new Uint8Array(ce);let Qe=new DataView(Ce.buffer,Ce.byteOffset,Ce.byteLength);return Ce.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:Ce,dataView:Qe}}subarray(ce,Ce,Qe=!1){return Ce=Ce||this._lengthToEnd(ce),Qe&&this._tryExtend(ce,Ce),this.ranges.add(ce,Ce),super.subarray(ce,Ce)}set(ce,Ce,Qe=!1){Qe&&this._tryExtend(Ce,ce.byteLength,ce);let rt=super.set(ce,Ce);return this.ranges.add(Ce,rt.byteLength),rt}ensureChunk(ce,Ce){var Qe=this;return a(function*(){Qe.chunked&&(Qe.ranges.available(ce,Ce)||(yield Qe.readChunk(ce,Ce)))})()}available(ce,Ce){return this.ranges.available(ce,Ce)}}class Ut{constructor(){d(this,"list",[])}get length(){return this.list.length}add(ce,Ce,Qe=0){let rt=ce+Ce,Nt=this.list.filter(sn=>Ht(ce,sn.offset,rt)||Ht(ce,sn.end,rt));if(Nt.length>0){ce=Math.min(ce,...Nt.map(On=>On.offset)),rt=Math.max(rt,...Nt.map(On=>On.end)),Ce=rt-ce;let sn=Nt.shift();sn.offset=ce,sn.length=Ce,sn.end=rt,this.list=this.list.filter(On=>!Nt.includes(On))}else this.list.push({offset:ce,length:Ce,end:rt})}available(ce,Ce){let Qe=ce+Ce;return this.list.some(rt=>rt.offset<=ce&&Qe<=rt.end)}}function Ht(jt,ce,Ce){return jt<=ce&&ce<=Ce}class dn extends st{constructor(ce,Ce){super(0),d(this,"chunksRead",0),this.input=ce,this.options=Ce}readWhole(){var ce=this;return a(function*(){ce.chunked=!1,yield ce.readChunk(ce.nextChunkOffset)})()}readChunked(){var ce=this;return a(function*(){ce.chunked=!0,yield ce.readChunk(0,ce.options.firstChunkSize)})()}readNextChunk(ce=this.nextChunkOffset){var Ce=this;return a(function*(){if(Ce.fullyRead)return Ce.chunksRead++,!1;let Qe=Ce.options.chunkSize,rt=yield Ce.readChunk(ce,Qe);return!!rt&&rt.byteLength===Qe})()}readChunk(ce,Ce){var Qe=this;return a(function*(){if(Qe.chunksRead++,0!==(Ce=Qe.safeWrapAddress(ce,Ce)))return Qe._readChunk(ce,Ce)})()}safeWrapAddress(ce,Ce){return void 0!==this.size&&ce+Ce>this.size?Math.max(0,this.size-ce):Ce}get nextChunkOffset(){if(0!==this.ranges.list.length)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return void 0!==this.size&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}}j.set("blob",class extends dn{readWhole(){var jt=this;return a(function*(){jt.chunked=!1;let ce=yield $e(jt.input);jt._swapArrayBuffer(ce)})()}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}_readChunk(jt,ce){var Ce=this;return a(function*(){let rt=Ce.input.slice(jt,ce?jt+ce:void 0),Nt=yield $e(rt);return Ce.set(Nt,jt,!0)})()}}),i.Exifr=re,i.Options=he,i.allFormatters=Je,i.chunkedProps=et,i.createDictionary=Ee,i.default=Wn,i.extendDictionary=Ie,i.fetchUrlAsArrayBuffer=Ve,i.fileParsers=k,i.fileReaders=j,i.gps=function(){var jt=a(function*(ce){let Ce=new re(Xt);yield Ce.read(ce);let Qe=yield Ce.parse();if(Qe&&Qe.gps){let{latitude:rt,longitude:Nt}=Qe.gps;return{latitude:rt,longitude:Nt}}});return function(ce){return jt.apply(this,arguments)}}(),i.gpsOnlyOptions=Xt,i.inheritables=yt,i.orientation=be,i.orientationOnlyOptions=ht,i.otherSegments=de,i.parse=Oe,i.readBlobAsArrayBuffer=$e,i.rotation=function(){var jt=a(function*(ce){let Ce=yield be(ce);return Object.assign({canvas:i.rotateCanvas,css:i.rotateCss},_t[Ce])});return function(ce){return jt.apply(this,arguments)}}(),i.rotations=_t,i.segmentParsers=H,i.segments=lt,i.segmentsAndBlocks=Qt,i.tagKeys=Re,i.tagRevivers=it,i.tagValues=Ge,i.thumbnail=function(){var jt=a(function*(ce){let Ce=new re(Pt);yield Ce.read(ce);let Qe=yield Ce.extractThumbnail();return Qe&&m?b.from(Qe):Qe});return function(ce){return jt.apply(this,arguments)}}(),i.thumbnailOnlyOptions=Pt,i.thumbnailUrl=function(){var jt=a(function*(ce){let Ce=yield this.thumbnail(ce);if(void 0!==Ce){let Qe=new Blob([Ce]);return URL.createObjectURL(Qe)}});return function(ce){return jt.apply(this,arguments)}}(),i.tiffBlocks=St,i.tiffExtractables=gt,Object.defineProperty(i,"__esModule",{value:!0})}(G)},57112:(ze,G,l)=>{"use strict";l.d(G,{Ps:()=>In});var a=l(97582);function i(be){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_t){return typeof _t}:function(_t){return _t&&"function"==typeof Symbol&&_t.constructor===Symbol&&_t!==Symbol.prototype?"symbol":typeof _t})(be)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol;var f="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function v(be,Ze){for(var Ht,_t=/\r\n|[\n\r]/g,st=1,Ut=Ze+1;(Ht=_t.exec(be.body))&&Ht.index<Ze;)st+=1,Ut=Ze+1-(Ht.index+Ht[0].length);return{line:st,column:Ut}}function b(be){return m(be.source,v(be.source,be.start))}function m(be,Ze){var _t=be.locationOffset.column-1,st=L(_t)+be.body,Ut=Ze.line-1,dn=Ze.line+(be.locationOffset.line-1),ce=Ze.column+(1===Ze.line?_t:0),Ce="".concat(be.name,":").concat(dn,":").concat(ce,"\n"),Qe=st.split(/\r\n|[\n\r]/g),rt=Qe[Ut];if(rt.length>120){for(var Nt=Math.floor(ce/80),sn=ce%80,On=[],Ln=0;Ln<rt.length;Ln+=80)On.push(rt.slice(Ln,Ln+80));return Ce+I([["".concat(dn),On[0]]].concat(On.slice(1,Nt+1).map(function(zn){return["",zn]}),[[" ",L(sn-1)+"^"],["",On[Nt+1]]]))}return Ce+I([["".concat(dn-1),Qe[Ut-1]],["".concat(dn),rt],["",L(ce-1)+"^"],["".concat(dn+1),Qe[Ut+1]]])}function I(be){var Ze=be.filter(function(st){return void 0!==st[1]}),_t=Math.max.apply(Math,Ze.map(function(st){return st[0].length}));return Ze.map(function(st){var Ht=st[1];return function M(be,Ze){return L(be-Ze.length)+Ze}(_t,st[0])+(Ht?" | "+Ht:" |")}).join("\n")}function L(be){return Array(be+1).join(" ")}function D(be){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_t){return typeof _t}:function(_t){return _t&&"function"==typeof Symbol&&_t.constructor===Symbol&&_t!==Symbol.prototype?"symbol":typeof _t})(be)}function B(be,Ze){for(var _t=0;_t<Ze.length;_t++){var st=Ze[_t];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(be,st.key,st)}}function k(be,Ze){return!Ze||"object"!==D(Ze)&&"function"!=typeof Ze?H(be):Ze}function H(be){if(void 0===be)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be}function j(be){var Ze="function"==typeof Map?new Map:void 0;return j=function(st){if(null===st||!function oe(be){return-1!==Function.toString.call(be).indexOf("[native code]")}(st))return st;if("function"!=typeof st)throw new TypeError("Super expression must either be null or a function");if(void 0!==Ze){if(Ze.has(st))return Ze.get(st);Ze.set(st,Ut)}function Ut(){return z(st,arguments,y(this).constructor)}return Ut.prototype=Object.create(st.prototype,{constructor:{value:Ut,enumerable:!1,writable:!0,configurable:!0}}),$(Ut,st)},j(be)}function z(be,Ze,_t){return(z=le()?Reflect.construct:function(Ut,Ht,dn){var jt=[null];jt.push.apply(jt,Ht);var Ce=new(Function.bind.apply(Ut,jt));return dn&&$(Ce,dn.prototype),Ce}).apply(null,arguments)}function le(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(be){return!1}}function $(be,Ze){return($=Object.setPrototypeOf||function(st,Ut){return st.__proto__=Ut,st})(be,Ze)}function y(be){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(_t){return _t.__proto__||Object.getPrototypeOf(_t)})(be)}var ae=function(be){!function x(be,Ze){if("function"!=typeof Ze&&null!==Ze)throw new TypeError("Super expression must either be null or a function");be.prototype=Object.create(Ze&&Ze.prototype,{constructor:{value:be,writable:!0,configurable:!0}}),Ze&&$(be,Ze)}(_t,be);var Ze=function w(be){var Ze=le();return function(){var Ut,st=y(be);if(Ze){var Ht=y(this).constructor;Ut=Reflect.construct(st,arguments,Ht)}else Ut=st.apply(this,arguments);return k(this,Ut)}}(_t);function _t(st,Ut,Ht,dn,jt,ce,Ce){var Qe,rt,Nt,sn,On;(function A(be,Ze){if(!(be instanceof Ze))throw new TypeError("Cannot call a class as a function")})(this,_t),On=Ze.call(this,st);var hi,Ln=Array.isArray(Ut)?0!==Ut.length?Ut:void 0:Ut?[Ut]:void 0,zn=Ht;!zn&&Ln&&(zn=null===(hi=Ln[0].loc)||void 0===hi?void 0:hi.source);var gi,mi=dn;!mi&&Ln&&(mi=Ln.reduce(function(Ki,Ni){return Ni.loc&&Ki.push(Ni.loc.start),Ki},[])),mi&&0===mi.length&&(mi=void 0),dn&&Ht?gi=dn.map(function(Ki){return v(Ht,Ki)}):Ln&&(gi=Ln.reduce(function(Ki,Ni){return Ni.loc&&Ki.push(v(Ni.loc.source,Ni.loc.start)),Ki},[]));var ki=Ce;if(null==ki&&null!=ce){var ji=ce.extensions;(function d(be){return"object"==i(be)&&null!==be})(ji)&&(ki=ji)}return Object.defineProperties(H(On),{name:{value:"GraphQLError"},message:{value:st,enumerable:!0,writable:!0},locations:{value:null!==(Qe=gi)&&void 0!==Qe?Qe:void 0,enumerable:null!=gi},path:{value:null!=jt?jt:void 0,enumerable:null!=jt},nodes:{value:null!=Ln?Ln:void 0},source:{value:null!==(rt=zn)&&void 0!==rt?rt:void 0},positions:{value:null!==(Nt=mi)&&void 0!==Nt?Nt:void 0},originalError:{value:ce},extensions:{value:null!==(sn=ki)&&void 0!==sn?sn:void 0,enumerable:null!=ki}}),null!=ce&&ce.stack?(Object.defineProperty(H(On),"stack",{value:ce.stack,writable:!0,configurable:!0}),k(On)):(Error.captureStackTrace?Error.captureStackTrace(H(On),_t):Object.defineProperty(H(On),"stack",{value:Error().stack,writable:!0,configurable:!0}),On)}return function R(be,Ze,_t){Ze&&B(be.prototype,Ze),_t&&B(be,_t)}(_t,[{key:"toString",value:function(){return function ge(be){var Ze=be.message;if(be.nodes)for(var _t=0,st=be.nodes;_t<st.length;_t++){var Ut=st[_t];Ut.loc&&(Ze+="\n\n"+b(Ut.loc))}else if(be.source&&be.locations)for(var Ht=0,dn=be.locations;Ht<dn.length;Ht++)Ze+="\n\n"+m(be.source,dn[Ht]);return Ze}(this)}},{key:f,get:function(){return"Object"}}]),_t}(j(Error));function Ve(be,Ze,_t){return new ae("Syntax Error: ".concat(_t),void 0,be,[Ze])}var $e=l(22289),Be=l(30848),Ee=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),Ie=l(30744);function Re(be,Ze){if(!Boolean(be))throw new Error(Ze)}function it(be,Ze){for(var _t=0;_t<Ze.length;_t++){var st=Ze[_t];st.enumerable=st.enumerable||!1,st.configurable=!0,"value"in st&&(st.writable=!0),Object.defineProperty(be,st.key,st)}}var Z=function(){function be(Ze){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",st=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof Ze||Re(0,"Body must be a string. Received: ".concat((0,Ie.Z)(Ze),".")),this.body=Ze,this.name=_t,this.locationOffset=st,this.locationOffset.line>0||Re(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||Re(0,"column in locationOffset is 1-indexed and must be positive.")}return function Se(be,Ze,_t){Ze&&it(be.prototype,Ze),_t&&it(be,_t)}(be,[{key:f,get:function(){return"Source"}}]),be}(),U=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),fe=l(12032),pe=function(){function be(_t){var st=new Be.WU(Ee.SOF,0,0,0,0,null);this.source=_t,this.lastToken=st,this.token=st,this.line=1,this.lineStart=0}var Ze=be.prototype;return Ze.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},Ze.lookahead=function(){var st=this.token;if(st.kind!==Ee.EOF)do{var Ut;st=null!==(Ut=st.next)&&void 0!==Ut?Ut:st.next=de(this,st)}while(st.kind===Ee.COMMENT);return st},be}();function et(be){return isNaN(be)?Ee.EOF:be<127?JSON.stringify(String.fromCharCode(be)):'"\\u'.concat(("00"+be.toString(16).toUpperCase()).slice(-4),'"')}function de(be,Ze){for(var _t=be.source,st=_t.body,Ut=st.length,Ht=Ze.end;Ht<Ut;){var dn=st.charCodeAt(Ht),jt=be.line,ce=1+Ht-be.lineStart;switch(dn){case 65279:case 9:case 32:case 44:++Ht;continue;case 10:++Ht,++be.line,be.lineStart=Ht;continue;case 13:10===st.charCodeAt(Ht+1)?Ht+=2:++Ht,++be.line,be.lineStart=Ht;continue;case 33:return new Be.WU(Ee.BANG,Ht,Ht+1,jt,ce,Ze);case 35:return St(_t,Ht,jt,ce,Ze);case 36:return new Be.WU(Ee.DOLLAR,Ht,Ht+1,jt,ce,Ze);case 38:return new Be.WU(Ee.AMP,Ht,Ht+1,jt,ce,Ze);case 40:return new Be.WU(Ee.PAREN_L,Ht,Ht+1,jt,ce,Ze);case 41:return new Be.WU(Ee.PAREN_R,Ht,Ht+1,jt,ce,Ze);case 46:if(46===st.charCodeAt(Ht+1)&&46===st.charCodeAt(Ht+2))return new Be.WU(Ee.SPREAD,Ht,Ht+3,jt,ce,Ze);break;case 58:return new Be.WU(Ee.COLON,Ht,Ht+1,jt,ce,Ze);case 61:return new Be.WU(Ee.EQUALS,Ht,Ht+1,jt,ce,Ze);case 64:return new Be.WU(Ee.AT,Ht,Ht+1,jt,ce,Ze);case 91:return new Be.WU(Ee.BRACKET_L,Ht,Ht+1,jt,ce,Ze);case 93:return new Be.WU(Ee.BRACKET_R,Ht,Ht+1,jt,ce,Ze);case 123:return new Be.WU(Ee.BRACE_L,Ht,Ht+1,jt,ce,Ze);case 124:return new Be.WU(Ee.PIPE,Ht,Ht+1,jt,ce,Ze);case 125:return new Be.WU(Ee.BRACE_R,Ht,Ht+1,jt,ce,Ze);case 34:return 34===st.charCodeAt(Ht+1)&&34===st.charCodeAt(Ht+2)?Je(_t,Ht,jt,ce,Ze,be):yt(_t,Ht,jt,ce,Ze);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Qt(_t,Ht,dn,jt,ce,Ze);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return X(_t,Ht,jt,ce,Ze)}throw Ve(_t,Ht,lt(dn))}return new Be.WU(Ee.EOF,Ut,Ut,be.line,1+Ht-be.lineStart,Ze)}function lt(be){return be<32&&9!==be&&10!==be&&13!==be?"Cannot contain the invalid character ".concat(et(be),"."):39===be?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(et(be),".")}function St(be,Ze,_t,st,Ut){var dn,Ht=be.body,jt=Ze;do{dn=Ht.charCodeAt(++jt)}while(!isNaN(dn)&&(dn>31||9===dn));return new Be.WU(Ee.COMMENT,Ze,jt,_t,st,Ut,Ht.slice(Ze+1,jt))}function Qt(be,Ze,_t,st,Ut,Ht){var dn=be.body,jt=_t,ce=Ze,Ce=!1;if(45===jt&&(jt=dn.charCodeAt(++ce)),48===jt){if((jt=dn.charCodeAt(++ce))>=48&&jt<=57)throw Ve(be,ce,"Invalid number, unexpected digit after 0: ".concat(et(jt),"."))}else ce=gt(be,ce,jt),jt=dn.charCodeAt(ce);if(46===jt&&(Ce=!0,jt=dn.charCodeAt(++ce),ce=gt(be,ce,jt),jt=dn.charCodeAt(ce)),(69===jt||101===jt)&&(Ce=!0,(43===(jt=dn.charCodeAt(++ce))||45===jt)&&(jt=dn.charCodeAt(++ce)),ce=gt(be,ce,jt),jt=dn.charCodeAt(ce)),46===jt||function xe(be){return 95===be||be>=65&&be<=90||be>=97&&be<=122}(jt))throw Ve(be,ce,"Invalid number, expected digit but got: ".concat(et(jt),"."));return new Be.WU(Ce?Ee.FLOAT:Ee.INT,Ze,ce,st,Ut,Ht,dn.slice(Ze,ce))}function gt(be,Ze,_t){var st=be.body,Ut=Ze,Ht=_t;if(Ht>=48&&Ht<=57){do{Ht=st.charCodeAt(++Ut)}while(Ht>=48&&Ht<=57);return Ut}throw Ve(be,Ut,"Invalid number, expected digit but got: ".concat(et(Ht),"."))}function yt(be,Ze,_t,st,Ut){for(var Ht=be.body,dn=Ze+1,jt=dn,ce=0,Ce="";dn<Ht.length&&!isNaN(ce=Ht.charCodeAt(dn))&&10!==ce&&13!==ce;){if(34===ce)return Ce+=Ht.slice(jt,dn),new Be.WU(Ee.STRING,Ze,dn+1,_t,st,Ut,Ce);if(ce<32&&9!==ce)throw Ve(be,dn,"Invalid character within String: ".concat(et(ce),"."));if(++dn,92===ce){switch(Ce+=Ht.slice(jt,dn-1),ce=Ht.charCodeAt(dn)){case 34:Ce+='"';break;case 47:Ce+="/";break;case 92:Ce+="\\";break;case 98:Ce+="\b";break;case 102:Ce+="\f";break;case 110:Ce+="\n";break;case 114:Ce+="\r";break;case 116:Ce+="\t";break;case 117:var Qe=ct(Ht.charCodeAt(dn+1),Ht.charCodeAt(dn+2),Ht.charCodeAt(dn+3),Ht.charCodeAt(dn+4));if(Qe<0){var rt=Ht.slice(dn+1,dn+5);throw Ve(be,dn,"Invalid character escape sequence: \\u".concat(rt,"."))}Ce+=String.fromCharCode(Qe),dn+=4;break;default:throw Ve(be,dn,"Invalid character escape sequence: \\".concat(String.fromCharCode(ce),"."))}jt=++dn}}throw Ve(be,dn,"Unterminated string.")}function Je(be,Ze,_t,st,Ut,Ht){for(var dn=be.body,jt=Ze+3,ce=jt,Ce=0,Qe="";jt<dn.length&&!isNaN(Ce=dn.charCodeAt(jt));){if(34===Ce&&34===dn.charCodeAt(jt+1)&&34===dn.charCodeAt(jt+2))return Qe+=dn.slice(ce,jt),new Be.WU(Ee.BLOCK_STRING,Ze,jt+3,_t,st,Ut,(0,fe.W7)(Qe));if(Ce<32&&9!==Ce&&10!==Ce&&13!==Ce)throw Ve(be,jt,"Invalid character within String: ".concat(et(Ce),"."));10===Ce?(++jt,++Ht.line,Ht.lineStart=jt):13===Ce?(10===dn.charCodeAt(jt+1)?jt+=2:++jt,++Ht.line,Ht.lineStart=jt):92===Ce&&34===dn.charCodeAt(jt+1)&&34===dn.charCodeAt(jt+2)&&34===dn.charCodeAt(jt+3)?(Qe+=dn.slice(ce,jt)+'"""',ce=jt+=4):++jt}throw Ve(be,jt,"Unterminated string.")}function ct(be,Ze,_t,st){return Xe(be)<<12|Xe(Ze)<<8|Xe(_t)<<4|Xe(st)}function Xe(be){return be>=48&&be<=57?be-48:be>=65&&be<=70?be-55:be>=97&&be<=102?be-87:-1}function X(be,Ze,_t,st,Ut){for(var Ht=be.body,dn=Ht.length,jt=Ze+1,ce=0;jt!==dn&&!isNaN(ce=Ht.charCodeAt(jt))&&(95===ce||ce>=48&&ce<=57||ce>=65&&ce<=90||ce>=97&&ce<=122);)++jt;return new Be.WU(Ee.NAME,Ze,jt,_t,st,Ut,Ht.slice(Ze,jt))}var Y=function(){function be(_t,st){var Ut=function V(be){return be instanceof Z}(_t)?_t:new Z(_t);this._lexer=new pe(Ut),this._options=st}var Ze=be.prototype;return Ze.parseName=function(){var st=this.expectToken(Ee.NAME);return{kind:$e.h.NAME,value:st.value,loc:this.loc(st)}},Ze.parseDocument=function(){var st=this._lexer.token;return{kind:$e.h.DOCUMENT,definitions:this.many(Ee.SOF,this.parseDefinition,Ee.EOF),loc:this.loc(st)}},Ze.parseDefinition=function(){if(this.peek(Ee.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Ee.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},Ze.parseOperationDefinition=function(){var st=this._lexer.token;if(this.peek(Ee.BRACE_L))return{kind:$e.h.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(st)};var Ht,Ut=this.parseOperationType();return this.peek(Ee.NAME)&&(Ht=this.parseName()),{kind:$e.h.OPERATION_DEFINITION,operation:Ut,name:Ht,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(st)}},Ze.parseOperationType=function(){var st=this.expectToken(Ee.NAME);switch(st.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(st)},Ze.parseVariableDefinitions=function(){return this.optionalMany(Ee.PAREN_L,this.parseVariableDefinition,Ee.PAREN_R)},Ze.parseVariableDefinition=function(){var st=this._lexer.token;return{kind:$e.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Ee.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Ee.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(st)}},Ze.parseVariable=function(){var st=this._lexer.token;return this.expectToken(Ee.DOLLAR),{kind:$e.h.VARIABLE,name:this.parseName(),loc:this.loc(st)}},Ze.parseSelectionSet=function(){var st=this._lexer.token;return{kind:$e.h.SELECTION_SET,selections:this.many(Ee.BRACE_L,this.parseSelection,Ee.BRACE_R),loc:this.loc(st)}},Ze.parseSelection=function(){return this.peek(Ee.SPREAD)?this.parseFragment():this.parseField()},Ze.parseField=function(){var Ht,dn,st=this._lexer.token,Ut=this.parseName();return this.expectOptionalToken(Ee.COLON)?(Ht=Ut,dn=this.parseName()):dn=Ut,{kind:$e.h.FIELD,alias:Ht,name:dn,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Ee.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(st)}},Ze.parseArguments=function(st){return this.optionalMany(Ee.PAREN_L,st?this.parseConstArgument:this.parseArgument,Ee.PAREN_R)},Ze.parseArgument=function(){var st=this._lexer.token,Ut=this.parseName();return this.expectToken(Ee.COLON),{kind:$e.h.ARGUMENT,name:Ut,value:this.parseValueLiteral(!1),loc:this.loc(st)}},Ze.parseConstArgument=function(){var st=this._lexer.token;return{kind:$e.h.ARGUMENT,name:this.parseName(),value:(this.expectToken(Ee.COLON),this.parseValueLiteral(!0)),loc:this.loc(st)}},Ze.parseFragment=function(){var st=this._lexer.token;this.expectToken(Ee.SPREAD);var Ut=this.expectOptionalKeyword("on");return!Ut&&this.peek(Ee.NAME)?{kind:$e.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(st)}:{kind:$e.h.INLINE_FRAGMENT,typeCondition:Ut?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(st)}},Ze.parseFragmentDefinition=function(){var st,Ut=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(st=this._options)||void 0===st?void 0:st.experimentalFragmentVariables)?{kind:$e.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(Ut)}:{kind:$e.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(Ut)}},Ze.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},Ze.parseValueLiteral=function(st){var Ut=this._lexer.token;switch(Ut.kind){case Ee.BRACKET_L:return this.parseList(st);case Ee.BRACE_L:return this.parseObject(st);case Ee.INT:return this._lexer.advance(),{kind:$e.h.INT,value:Ut.value,loc:this.loc(Ut)};case Ee.FLOAT:return this._lexer.advance(),{kind:$e.h.FLOAT,value:Ut.value,loc:this.loc(Ut)};case Ee.STRING:case Ee.BLOCK_STRING:return this.parseStringLiteral();case Ee.NAME:switch(this._lexer.advance(),Ut.value){case"true":return{kind:$e.h.BOOLEAN,value:!0,loc:this.loc(Ut)};case"false":return{kind:$e.h.BOOLEAN,value:!1,loc:this.loc(Ut)};case"null":return{kind:$e.h.NULL,loc:this.loc(Ut)};default:return{kind:$e.h.ENUM,value:Ut.value,loc:this.loc(Ut)}}case Ee.DOLLAR:if(!st)return this.parseVariable()}throw this.unexpected()},Ze.parseStringLiteral=function(){var st=this._lexer.token;return this._lexer.advance(),{kind:$e.h.STRING,value:st.value,block:st.kind===Ee.BLOCK_STRING,loc:this.loc(st)}},Ze.parseList=function(st){var Ut=this,Ht=this._lexer.token;return{kind:$e.h.LIST,values:this.any(Ee.BRACKET_L,function(){return Ut.parseValueLiteral(st)},Ee.BRACKET_R),loc:this.loc(Ht)}},Ze.parseObject=function(st){var Ut=this,Ht=this._lexer.token;return{kind:$e.h.OBJECT,fields:this.any(Ee.BRACE_L,function(){return Ut.parseObjectField(st)},Ee.BRACE_R),loc:this.loc(Ht)}},Ze.parseObjectField=function(st){var Ut=this._lexer.token,Ht=this.parseName();return this.expectToken(Ee.COLON),{kind:$e.h.OBJECT_FIELD,name:Ht,value:this.parseValueLiteral(st),loc:this.loc(Ut)}},Ze.parseDirectives=function(st){for(var Ut=[];this.peek(Ee.AT);)Ut.push(this.parseDirective(st));return Ut},Ze.parseDirective=function(st){var Ut=this._lexer.token;return this.expectToken(Ee.AT),{kind:$e.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(st),loc:this.loc(Ut)}},Ze.parseTypeReference=function(){var Ut,st=this._lexer.token;return this.expectOptionalToken(Ee.BRACKET_L)?(Ut=this.parseTypeReference(),this.expectToken(Ee.BRACKET_R),Ut={kind:$e.h.LIST_TYPE,type:Ut,loc:this.loc(st)}):Ut=this.parseNamedType(),this.expectOptionalToken(Ee.BANG)?{kind:$e.h.NON_NULL_TYPE,type:Ut,loc:this.loc(st)}:Ut},Ze.parseNamedType=function(){var st=this._lexer.token;return{kind:$e.h.NAMED_TYPE,name:this.parseName(),loc:this.loc(st)}},Ze.parseTypeSystemDefinition=function(){var st=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(st.kind===Ee.NAME)switch(st.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(st)},Ze.peekDescription=function(){return this.peek(Ee.STRING)||this.peek(Ee.BLOCK_STRING)},Ze.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},Ze.parseSchemaDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("schema");var Ht=this.parseDirectives(!0),dn=this.many(Ee.BRACE_L,this.parseOperationTypeDefinition,Ee.BRACE_R);return{kind:$e.h.SCHEMA_DEFINITION,description:Ut,directives:Ht,operationTypes:dn,loc:this.loc(st)}},Ze.parseOperationTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseOperationType();this.expectToken(Ee.COLON);var Ht=this.parseNamedType();return{kind:$e.h.OPERATION_TYPE_DEFINITION,operation:Ut,type:Ht,loc:this.loc(st)}},Ze.parseScalarTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("scalar");var Ht=this.parseName(),dn=this.parseDirectives(!0);return{kind:$e.h.SCALAR_TYPE_DEFINITION,description:Ut,name:Ht,directives:dn,loc:this.loc(st)}},Ze.parseObjectTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("type");var Ht=this.parseName(),dn=this.parseImplementsInterfaces(),jt=this.parseDirectives(!0),ce=this.parseFieldsDefinition();return{kind:$e.h.OBJECT_TYPE_DEFINITION,description:Ut,name:Ht,interfaces:dn,directives:jt,fields:ce,loc:this.loc(st)}},Ze.parseImplementsInterfaces=function(){var st;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(st=this._options)||void 0===st?void 0:st.allowLegacySDLImplementsInterfaces)){var Ut=[];this.expectOptionalToken(Ee.AMP);do{Ut.push(this.parseNamedType())}while(this.expectOptionalToken(Ee.AMP)||this.peek(Ee.NAME));return Ut}return this.delimitedMany(Ee.AMP,this.parseNamedType)},Ze.parseFieldsDefinition=function(){var st;return!0===(null===(st=this._options)||void 0===st?void 0:st.allowLegacySDLEmptyFields)&&this.peek(Ee.BRACE_L)&&this._lexer.lookahead().kind===Ee.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Ee.BRACE_L,this.parseFieldDefinition,Ee.BRACE_R)},Ze.parseFieldDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription(),Ht=this.parseName(),dn=this.parseArgumentDefs();this.expectToken(Ee.COLON);var jt=this.parseTypeReference(),ce=this.parseDirectives(!0);return{kind:$e.h.FIELD_DEFINITION,description:Ut,name:Ht,arguments:dn,type:jt,directives:ce,loc:this.loc(st)}},Ze.parseArgumentDefs=function(){return this.optionalMany(Ee.PAREN_L,this.parseInputValueDef,Ee.PAREN_R)},Ze.parseInputValueDef=function(){var st=this._lexer.token,Ut=this.parseDescription(),Ht=this.parseName();this.expectToken(Ee.COLON);var jt,dn=this.parseTypeReference();this.expectOptionalToken(Ee.EQUALS)&&(jt=this.parseValueLiteral(!0));var ce=this.parseDirectives(!0);return{kind:$e.h.INPUT_VALUE_DEFINITION,description:Ut,name:Ht,type:dn,defaultValue:jt,directives:ce,loc:this.loc(st)}},Ze.parseInterfaceTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("interface");var Ht=this.parseName(),dn=this.parseImplementsInterfaces(),jt=this.parseDirectives(!0),ce=this.parseFieldsDefinition();return{kind:$e.h.INTERFACE_TYPE_DEFINITION,description:Ut,name:Ht,interfaces:dn,directives:jt,fields:ce,loc:this.loc(st)}},Ze.parseUnionTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("union");var Ht=this.parseName(),dn=this.parseDirectives(!0),jt=this.parseUnionMemberTypes();return{kind:$e.h.UNION_TYPE_DEFINITION,description:Ut,name:Ht,directives:dn,types:jt,loc:this.loc(st)}},Ze.parseUnionMemberTypes=function(){return this.expectOptionalToken(Ee.EQUALS)?this.delimitedMany(Ee.PIPE,this.parseNamedType):[]},Ze.parseEnumTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("enum");var Ht=this.parseName(),dn=this.parseDirectives(!0),jt=this.parseEnumValuesDefinition();return{kind:$e.h.ENUM_TYPE_DEFINITION,description:Ut,name:Ht,directives:dn,values:jt,loc:this.loc(st)}},Ze.parseEnumValuesDefinition=function(){return this.optionalMany(Ee.BRACE_L,this.parseEnumValueDefinition,Ee.BRACE_R)},Ze.parseEnumValueDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription(),Ht=this.parseName(),dn=this.parseDirectives(!0);return{kind:$e.h.ENUM_VALUE_DEFINITION,description:Ut,name:Ht,directives:dn,loc:this.loc(st)}},Ze.parseInputObjectTypeDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("input");var Ht=this.parseName(),dn=this.parseDirectives(!0),jt=this.parseInputFieldsDefinition();return{kind:$e.h.INPUT_OBJECT_TYPE_DEFINITION,description:Ut,name:Ht,directives:dn,fields:jt,loc:this.loc(st)}},Ze.parseInputFieldsDefinition=function(){return this.optionalMany(Ee.BRACE_L,this.parseInputValueDef,Ee.BRACE_R)},Ze.parseTypeSystemExtension=function(){var st=this._lexer.lookahead();if(st.kind===Ee.NAME)switch(st.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(st)},Ze.parseSchemaExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var Ut=this.parseDirectives(!0),Ht=this.optionalMany(Ee.BRACE_L,this.parseOperationTypeDefinition,Ee.BRACE_R);if(0===Ut.length&&0===Ht.length)throw this.unexpected();return{kind:$e.h.SCHEMA_EXTENSION,directives:Ut,operationTypes:Ht,loc:this.loc(st)}},Ze.parseScalarTypeExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var Ut=this.parseName(),Ht=this.parseDirectives(!0);if(0===Ht.length)throw this.unexpected();return{kind:$e.h.SCALAR_TYPE_EXTENSION,name:Ut,directives:Ht,loc:this.loc(st)}},Ze.parseObjectTypeExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var Ut=this.parseName(),Ht=this.parseImplementsInterfaces(),dn=this.parseDirectives(!0),jt=this.parseFieldsDefinition();if(0===Ht.length&&0===dn.length&&0===jt.length)throw this.unexpected();return{kind:$e.h.OBJECT_TYPE_EXTENSION,name:Ut,interfaces:Ht,directives:dn,fields:jt,loc:this.loc(st)}},Ze.parseInterfaceTypeExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var Ut=this.parseName(),Ht=this.parseImplementsInterfaces(),dn=this.parseDirectives(!0),jt=this.parseFieldsDefinition();if(0===Ht.length&&0===dn.length&&0===jt.length)throw this.unexpected();return{kind:$e.h.INTERFACE_TYPE_EXTENSION,name:Ut,interfaces:Ht,directives:dn,fields:jt,loc:this.loc(st)}},Ze.parseUnionTypeExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var Ut=this.parseName(),Ht=this.parseDirectives(!0),dn=this.parseUnionMemberTypes();if(0===Ht.length&&0===dn.length)throw this.unexpected();return{kind:$e.h.UNION_TYPE_EXTENSION,name:Ut,directives:Ht,types:dn,loc:this.loc(st)}},Ze.parseEnumTypeExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var Ut=this.parseName(),Ht=this.parseDirectives(!0),dn=this.parseEnumValuesDefinition();if(0===Ht.length&&0===dn.length)throw this.unexpected();return{kind:$e.h.ENUM_TYPE_EXTENSION,name:Ut,directives:Ht,values:dn,loc:this.loc(st)}},Ze.parseInputObjectTypeExtension=function(){var st=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var Ut=this.parseName(),Ht=this.parseDirectives(!0),dn=this.parseInputFieldsDefinition();if(0===Ht.length&&0===dn.length)throw this.unexpected();return{kind:$e.h.INPUT_OBJECT_TYPE_EXTENSION,name:Ut,directives:Ht,fields:dn,loc:this.loc(st)}},Ze.parseDirectiveDefinition=function(){var st=this._lexer.token,Ut=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ee.AT);var Ht=this.parseName(),dn=this.parseArgumentDefs(),jt=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var ce=this.parseDirectiveLocations();return{kind:$e.h.DIRECTIVE_DEFINITION,description:Ut,name:Ht,arguments:dn,repeatable:jt,locations:ce,loc:this.loc(st)}},Ze.parseDirectiveLocations=function(){return this.delimitedMany(Ee.PIPE,this.parseDirectiveLocation)},Ze.parseDirectiveLocation=function(){var st=this._lexer.token,Ut=this.parseName();if(void 0!==U[Ut.value])return Ut;throw this.unexpected(st)},Ze.loc=function(st){var Ut;if(!0!==(null===(Ut=this._options)||void 0===Ut?void 0:Ut.noLocation))return new Be.Ye(st,this._lexer.lastToken,this._lexer.source)},Ze.peek=function(st){return this._lexer.token.kind===st},Ze.expectToken=function(st){var Ut=this._lexer.token;if(Ut.kind===st)return this._lexer.advance(),Ut;throw Ve(this._lexer.source,Ut.start,"Expected ".concat(Oe(st),", found ").concat(re(Ut),"."))},Ze.expectOptionalToken=function(st){var Ut=this._lexer.token;if(Ut.kind===st)return this._lexer.advance(),Ut},Ze.expectKeyword=function(st){var Ut=this._lexer.token;if(Ut.kind!==Ee.NAME||Ut.value!==st)throw Ve(this._lexer.source,Ut.start,'Expected "'.concat(st,'", found ').concat(re(Ut),"."));this._lexer.advance()},Ze.expectOptionalKeyword=function(st){var Ut=this._lexer.token;return Ut.kind===Ee.NAME&&Ut.value===st&&(this._lexer.advance(),!0)},Ze.unexpected=function(st){var Ut=null!=st?st:this._lexer.token;return Ve(this._lexer.source,Ut.start,"Unexpected ".concat(re(Ut),"."))},Ze.any=function(st,Ut,Ht){this.expectToken(st);for(var dn=[];!this.expectOptionalToken(Ht);)dn.push(Ut.call(this));return dn},Ze.optionalMany=function(st,Ut,Ht){if(this.expectOptionalToken(st)){var dn=[];do{dn.push(Ut.call(this))}while(!this.expectOptionalToken(Ht));return dn}return[]},Ze.many=function(st,Ut,Ht){this.expectToken(st);var dn=[];do{dn.push(Ut.call(this))}while(!this.expectOptionalToken(Ht));return dn},Ze.delimitedMany=function(st,Ut){this.expectOptionalToken(st);var Ht=[];do{Ht.push(Ut.call(this))}while(this.expectOptionalToken(st));return Ht},be}();function re(be){var Ze=be.value;return Oe(be.kind)+(null!=Ze?' "'.concat(Ze,'"'):"")}function Oe(be){return function He(be){return be===Ee.BANG||be===Ee.DOLLAR||be===Ee.AMP||be===Ee.PAREN_L||be===Ee.PAREN_R||be===Ee.SPREAD||be===Ee.COLON||be===Ee.EQUALS||be===Ee.AT||be===Ee.BRACKET_L||be===Ee.BRACKET_R||be===Ee.BRACE_L||be===Ee.PIPE||be===Ee.BRACE_R}(be)?'"'.concat(be,'"'):be}var Ye=new Map,vt=new Map,Vt=!0,Jt=!1;function hn(be){return be.replace(/[\s,]+/g," ").trim()}function Nn(be){var Ze=hn(be);if(!Ye.has(Ze)){var _t=function he(be,Ze){return new Y(be,Ze).parseDocument()}(be,{experimentalFragmentVariables:Jt,allowLegacyFragmentVariables:Jt});if(!_t||"Document"!==_t.kind)throw new Error("Not a valid GraphQL document.");Ye.set(Ze,function An(be){var Ze=new Set(be.definitions);Ze.forEach(function(st){st.loc&&delete st.loc,Object.keys(st).forEach(function(Ut){var Ht=st[Ut];Ht&&"object"==typeof Ht&&Ze.add(Ht)})});var _t=be.loc;return _t&&(delete _t.startToken,delete _t.endToken),be}(function yn(be){var Ze=new Set,_t=[];return be.definitions.forEach(function(st){if("FragmentDefinition"===st.kind){var Ut=st.name.value,Ht=function gn(be){return hn(be.source.body.substring(be.start,be.end))}(st.loc),dn=vt.get(Ut);dn&&!dn.has(Ht)?Vt&&console.warn("Warning: fragment with name "+Ut+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):dn||vt.set(Ut,dn=new Set),dn.add(Ht),Ze.has(Ht)||(Ze.add(Ht),_t.push(st))}else _t.push(st)}),(0,a.pi)((0,a.pi)({},be),{definitions:_t})}(_t)))}return Ye.get(Ze)}function In(be){for(var Ze=[],_t=1;_t<arguments.length;_t++)Ze[_t-1]=arguments[_t];"string"==typeof be&&(be=[be]);var st=be[0];return Ze.forEach(function(Ut,Ht){st+=Ut&&"Document"===Ut.kind?Ut.loc.source.body:Ut,st+=be[Ht+1]}),Nn(st)}var be,Pt_gql=In;(be=In||(In={})).gql=Pt_gql,be.resetCaches=function wn(){Ye.clear(),vt.clear()},be.disableFragmentWarnings=function Wn(){Vt=!1},be.enableExperimentalFragmentVariables=function Bn(){Jt=!0},be.disableExperimentalFragmentVariables=function Xt(){Jt=!1},In.default=In},58078:ze=>{var G="Expected a function",i=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,C=/^0o[0-7]+$/i,f=parseInt,v="object"==typeof global&&global&&global.Object===Object&&global,b="object"==typeof self&&self&&self.Object===Object&&self,m=v||b||Function("return this")(),L=Object.prototype.toString,M=Math.max,D=Math.min,A=function(){return m.Date.now()};function x(j){var z=typeof j;return!!j&&("object"==z||"function"==z)}function H(j){if("number"==typeof j)return j;if(function k(j){return"symbol"==typeof j||function w(j){return!!j&&"object"==typeof j}(j)&&"[object Symbol]"==L.call(j)}(j))return NaN;if(x(j)){var z="function"==typeof j.valueOf?j.valueOf():j;j=x(z)?z+"":z}if("string"!=typeof j)return 0===j?j:+j;j=j.replace(i,"");var le=p.test(j);return le||C.test(j)?f(j.slice(2),le?2:8):d.test(j)?NaN:+j}ze.exports=function R(j,z,le){var oe=!0,$=!0;if("function"!=typeof j)throw new TypeError(G);return x(le)&&(oe="leading"in le?!!le.leading:oe,$="trailing"in le?!!le.trailing:$),function B(j,z,le){var oe,$,y,ae,ge,Ve,$e=0,Be=!1,Ee=!1,Ie=!0;if("function"!=typeof j)throw new TypeError(G);function Re(He){var et=oe,de=$;return oe=$=void 0,$e=He,ae=j.apply(de,et)}function Ge(He){return $e=He,ge=setTimeout(Z,z),Be?Re(He):ae}function Se(He){var et=He-Ve;return void 0===Ve||et>=z||et<0||Ee&&He-$e>=y}function Z(){var He=A();if(Se(He))return V(He);ge=setTimeout(Z,function it(He){var lt=z-(He-Ve);return Ee?D(lt,y-(He-$e)):lt}(He))}function V(He){return ge=void 0,Ie&&oe?Re(He):(oe=$=void 0,ae)}function pe(){var He=A(),et=Se(He);if(oe=arguments,$=this,Ve=He,et){if(void 0===ge)return Ge(Ve);if(Ee)return ge=setTimeout(Z,z),Re(Ve)}return void 0===ge&&(ge=setTimeout(Z,z)),ae}return z=H(z)||0,x(le)&&(Be=!!le.leading,y=(Ee="maxWait"in le)?M(H(le.maxWait)||0,z):y,Ie="trailing"in le?!!le.trailing:Ie),pe.cancel=function U(){void 0!==ge&&clearTimeout(ge),$e=0,oe=Ve=$=ge=void 0},pe.flush=function fe(){return void 0===ge?ae:V(A())},pe}(j,z,{leading:oe,maxWait:z,trailing:$})}},1667:(ze,G,l)=>{var a=l(98930),i=/[\/\+\.]/;ze.exports=function(d,p){function C(f){var v=a(f,d,i);return v&&v.length>=2}return p?C(p.split(";")[0]):C}},88696:ze=>{ze.exports=function(){var l={},a=l._fns={};return l.emit=function(C,f,v,b,m,I,L){var M=function i(p){for(var C=a[p]?a[p]:[],f=p.indexOf(":"),v=-1===f?[p]:[p.substring(0,f),p.substring(f+1)],b=Object.keys(a),m=0,I=b.length;m<I;m++){var L=b[m];if("*"===L&&(C=C.concat(a[L])),2===v.length&&v[0]===L){C=C.concat(a[L]);break}}return C}(C);M.length&&function d(p,C,f){for(var v=0,b=C.length;v<b&&C[v];v++)C[v].event=p,C[v].apply(C[v],f)}(C,M,[f,v,b,m,I,L])},l.on=function(C,f){a[C]||(a[C]=[]),a[C].push(f)},l.once=function(C,f){this.on(C,function v(){f.apply(this,arguments),l.off(C,v)})},l.off=function(C,f){var v=[];if(C&&f)for(var b=this._fns[C],m=0,I=b?b.length:0;m<I;m++)b[m]!==f&&v.push(b[m]);v.length?this._fns[C]=v:delete this._fns[C]},l}},66759:(ze,G,l)=>{"use strict";l.d(G,{I:()=>I,s:()=>m});var a=l(5e3),i=l(7625),d=l(80013),p=l(22868),C=l(8929),f=l(23753),v=l(74107);let m=(()=>{class L{constructor(D,A){this.matSelect=D,this.ngZone=A,this.threshold="15%",this.debounceTime=150,this.infiniteScroll=new a.vpe,this.thrPx=0,this.thrPc=0,this.singleOptionHeight=3,this.destroyed$=new C.xQ}ngOnInit(){this.evaluateThreshold()}ngAfterViewInit(){this.matSelect.openedChange.pipe((0,i.R)(this.destroyed$)).subscribe(D=>{D&&(this.panel=this.matSelect.panel.nativeElement,this.singleOptionHeight=this.getSelectItemHeightPx(),this.registerScrollListener())})}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}evaluateThreshold(){this.threshold.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(this.threshold)/100):(this.thrPx=parseFloat(this.threshold),this.thrPc=0)}registerScrollListener(){(0,f.R)(this.panel,"scroll").pipe((0,i.R)(this.destroyed$),(0,d.b)(this.debounceTime),(0,p.b)(D=>{this.handleScrollEvent(D)})).subscribe()}handleScrollEvent(D){this.ngZone.runOutsideAngular(()=>{if(this.complete)return;const B=this.singleOptionHeight*this.matSelect.options.length;this.panel.clientHeight+D.target.scrollTop+(0!==this.thrPc?B*this.thrPc:this.thrPx)>=B&&this.ngZone.run(()=>this.infiniteScroll.emit())})}getSelectItemHeightPx(){return 3*parseFloat(getComputedStyle(this.panel).fontSize)}}return L.\u0275fac=function(D){return new(D||L)(a.Y36(v.gD),a.Y36(a.R0b))},L.\u0275dir=a.lG2({type:L,selectors:[["","msInfiniteScroll",""]],inputs:{threshold:"threshold",debounceTime:"debounceTime",complete:"complete"},outputs:{infiniteScroll:"infiniteScroll"}}),L})(),I=(()=>{class L{}return L.\u0275fac=function(D){return new(D||L)},L.\u0275mod=a.oAB({type:L}),L.\u0275inj=a.cJS({imports:[[v.LD]]}),L})()},23580:(ze,G,l)=>{"use strict";l.r(G),l.d(G,{Component:()=>oe,Fragment:()=>w,cloneElement:()=>He,createContext:()=>et,createElement:()=>B,createRef:()=>x,h:()=>B,hydrate:()=>pe,isValidElement:()=>p,options:()=>i,render:()=>fe,toChildArray:()=>Ee});var a,i,d,p,C,f,v,b,m,I={},L=[],M=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function D(de,lt){for(var St in lt)de[St]=lt[St];return de}function A(de){var lt=de.parentNode;lt&&lt.removeChild(de)}function B(de,lt,St){var Qt,gt,yt,Je={};for(yt in lt)"key"==yt?Qt=lt[yt]:"ref"==yt?gt=lt[yt]:Je[yt]=lt[yt];if(arguments.length>2&&(Je.children=arguments.length>3?a.call(arguments,2):St),"function"==typeof de&&null!=de.defaultProps)for(yt in de.defaultProps)void 0===Je[yt]&&(Je[yt]=de.defaultProps[yt]);return R(de,Je,Qt,gt,null)}function R(de,lt,St,Qt,gt){var yt={type:de,props:lt,key:St,ref:Qt,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==gt?++d:gt};return null==gt&&null!=i.vnode&&i.vnode(yt),yt}function x(){return{current:null}}function w(de){return de.children}function H(de,lt,St){"-"===lt[0]?de.setProperty(lt,null==St?"":St):de[lt]=null==St?"":"number"!=typeof St||M.test(lt)?St:St+"px"}function j(de,lt,St,Qt,gt){var yt;e:if("style"===lt)if("string"==typeof St)de.style.cssText=St;else{if("string"==typeof Qt&&(de.style.cssText=Qt=""),Qt)for(lt in Qt)St&&lt in St||H(de.style,lt,"");if(St)for(lt in St)Qt&&St[lt]===Qt[lt]||H(de.style,lt,St[lt])}else if("o"===lt[0]&&"n"===lt[1])yt=lt!==(lt=lt.replace(/Capture$/,"")),lt=lt.toLowerCase()in de?lt.toLowerCase().slice(2):lt.slice(2),de.l||(de.l={}),de.l[lt+yt]=St,St?Qt||de.addEventListener(lt,yt?le:z,yt):de.removeEventListener(lt,yt?le:z,yt);else if("dangerouslySetInnerHTML"!==lt){if(gt)lt=lt.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==lt&&"height"!==lt&&"href"!==lt&&"list"!==lt&&"form"!==lt&&"tabIndex"!==lt&&"download"!==lt&&lt in de)try{de[lt]=null==St?"":St;break e}catch(Je){}"function"==typeof St||(null==St||!1===St&&-1==lt.indexOf("-")?de.removeAttribute(lt):de.setAttribute(lt,St))}}function z(de){C=!0;try{return this.l[de.type+!1](i.event?i.event(de):de)}finally{C=!1}}function le(de){C=!0;try{return this.l[de.type+!0](i.event?i.event(de):de)}finally{C=!1}}function oe(de,lt){this.props=de,this.context=lt}function $(de,lt){if(null==lt)return de.__?$(de.__,de.__.__k.indexOf(de)+1):null;for(var St;lt<de.__k.length;lt++)if(null!=(St=de.__k[lt])&&null!=St.__e)return St.__e;return"function"==typeof de.type?$(de):null}function y(de){var lt,St;if(null!=(de=de.__)&&null!=de.__c){for(de.__e=de.__c.base=null,lt=0;lt<de.__k.length;lt++)if(null!=(St=de.__k[lt])&&null!=St.__e){de.__e=de.__c.base=St.__e;break}return y(de)}}function ae(de){C?setTimeout(de):b(de)}function ge(de){(!de.__d&&(de.__d=!0)&&f.push(de)&&!Ve.__r++||v!==i.debounceRendering)&&((v=i.debounceRendering)||ae)(Ve)}function Ve(){var de,lt,St,Qt,gt,yt,Je,ct;for(f.sort(function(Xe,X){return Xe.__v.__b-X.__v.__b});de=f.shift();)de.__d&&(lt=f.length,Qt=void 0,gt=void 0,Je=(yt=(St=de).__v).__e,(ct=St.__P)&&(Qt=[],(gt=D({},yt)).__v=yt.__v+1,Ge(ct,yt,gt,St.__n,void 0!==ct.ownerSVGElement,null!=yt.__h?[Je]:null,Qt,null==Je?$(yt):Je,yt.__h),it(Qt,yt),yt.__e!=Je&&y(yt)),f.length>lt&&f.sort(function(Xe,X){return Xe.__v.__b-X.__v.__b}));Ve.__r=0}function $e(de,lt,St,Qt,gt,yt,Je,ct,Xe,X){var xe,he,N,F,Y,re,Oe,Ye=Qt&&Qt.__k||L,vt=Ye.length;for(St.__k=[],xe=0;xe<lt.length;xe++)if(null!=(F=St.__k[xe]=null==(F=lt[xe])||"boolean"==typeof F?null:"string"==typeof F||"number"==typeof F||"bigint"==typeof F?R(null,F,null,null,F):Array.isArray(F)?R(w,{children:F},null,null,null):F.__b>0?R(F.type,F.props,F.key,F.ref?F.ref:null,F.__v):F)){if(F.__=St,F.__b=St.__b+1,null===(N=Ye[xe])||N&&F.key==N.key&&F.type===N.type)Ye[xe]=void 0;else for(he=0;he<vt;he++){if((N=Ye[he])&&F.key==N.key&&F.type===N.type){Ye[he]=void 0;break}N=null}Ge(de,F,N=N||I,gt,yt,Je,ct,Xe,X),Y=F.__e,(he=F.ref)&&N.ref!=he&&(Oe||(Oe=[]),N.ref&&Oe.push(N.ref,null,F),Oe.push(he,F.__c||Y,F)),null!=Y?(null==re&&(re=Y),"function"==typeof F.type&&F.__k===N.__k?F.__d=Xe=Be(F,Xe,de):Xe=Ie(de,F,N,Ye,Y,Xe),"function"==typeof St.type&&(St.__d=Xe)):Xe&&N.__e==Xe&&Xe.parentNode!=de&&(Xe=$(N))}for(St.__e=re,xe=vt;xe--;)null!=Ye[xe]&&("function"==typeof St.type&&null!=Ye[xe].__e&&Ye[xe].__e==St.__d&&(St.__d=Re(Qt).nextSibling),V(Ye[xe],Ye[xe]));if(Oe)for(xe=0;xe<Oe.length;xe++)Z(Oe[xe],Oe[++xe],Oe[++xe])}function Be(de,lt,St){for(var Qt,gt=de.__k,yt=0;gt&&yt<gt.length;yt++)(Qt=gt[yt])&&(Qt.__=de,lt="function"==typeof Qt.type?Be(Qt,lt,St):Ie(St,Qt,Qt,gt,Qt.__e,lt));return lt}function Ee(de,lt){return lt=lt||[],null==de||"boolean"==typeof de||(Array.isArray(de)?de.some(function(St){Ee(St,lt)}):lt.push(de)),lt}function Ie(de,lt,St,Qt,gt,yt){var Je,ct,Xe;if(void 0!==lt.__d)Je=lt.__d,lt.__d=void 0;else if(null==St||gt!=yt||null==gt.parentNode)e:if(null==yt||yt.parentNode!==de)de.appendChild(gt),Je=null;else{for(ct=yt,Xe=0;(ct=ct.nextSibling)&&Xe<Qt.length;Xe+=1)if(ct==gt)break e;de.insertBefore(gt,yt),Je=yt}return void 0!==Je?Je:gt.nextSibling}function Re(de){var lt,St,Qt;if(null==de.type||"string"==typeof de.type)return de.__e;if(de.__k)for(lt=de.__k.length-1;lt>=0;lt--)if((St=de.__k[lt])&&(Qt=Re(St)))return Qt;return null}function Ge(de,lt,St,Qt,gt,yt,Je,ct,Xe){var X,xe,he,N,F,Y,re,Oe,Ye,vt,Vt,Jt,hn,gn,yn,An=lt.type;if(void 0!==lt.constructor)return null;null!=St.__h&&(Xe=St.__h,ct=lt.__e=St.__e,lt.__h=null,yt=[ct]),(X=i.__b)&&X(lt);try{e:if("function"==typeof An){if(Oe=lt.props,Ye=(X=An.contextType)&&Qt[X.__c],vt=X?Ye?Ye.props.value:X.__:Qt,St.__c?re=(xe=lt.__c=St.__c).__=xe.__E:("prototype"in An&&An.prototype.render?lt.__c=xe=new An(Oe,vt):(lt.__c=xe=new oe(Oe,vt),xe.constructor=An,xe.render=U),Ye&&Ye.sub(xe),xe.props=Oe,xe.state||(xe.state={}),xe.context=vt,xe.__n=Qt,he=xe.__d=!0,xe.__h=[],xe._sb=[]),null==xe.__s&&(xe.__s=xe.state),null!=An.getDerivedStateFromProps&&(xe.__s==xe.state&&(xe.__s=D({},xe.__s)),D(xe.__s,An.getDerivedStateFromProps(Oe,xe.__s))),N=xe.props,F=xe.state,xe.__v=lt,he)null==An.getDerivedStateFromProps&&null!=xe.componentWillMount&&xe.componentWillMount(),null!=xe.componentDidMount&&xe.__h.push(xe.componentDidMount);else{if(null==An.getDerivedStateFromProps&&Oe!==N&&null!=xe.componentWillReceiveProps&&xe.componentWillReceiveProps(Oe,vt),!xe.__e&&null!=xe.shouldComponentUpdate&&!1===xe.shouldComponentUpdate(Oe,xe.__s,vt)||lt.__v===St.__v){for(lt.__v!==St.__v&&(xe.props=Oe,xe.state=xe.__s,xe.__d=!1),lt.__e=St.__e,lt.__k=St.__k,lt.__k.forEach(function(Nn){Nn&&(Nn.__=lt)}),Vt=0;Vt<xe._sb.length;Vt++)xe.__h.push(xe._sb[Vt]);xe._sb=[],xe.__h.length&&Je.push(xe);break e}null!=xe.componentWillUpdate&&xe.componentWillUpdate(Oe,xe.__s,vt),null!=xe.componentDidUpdate&&xe.__h.push(function(){xe.componentDidUpdate(N,F,Y)})}if(xe.context=vt,xe.props=Oe,xe.__P=de,Jt=i.__r,hn=0,"prototype"in An&&An.prototype.render){for(xe.state=xe.__s,xe.__d=!1,Jt&&Jt(lt),X=xe.render(xe.props,xe.state,xe.context),gn=0;gn<xe._sb.length;gn++)xe.__h.push(xe._sb[gn]);xe._sb=[]}else do{xe.__d=!1,Jt&&Jt(lt),X=xe.render(xe.props,xe.state,xe.context),xe.state=xe.__s}while(xe.__d&&++hn<25);xe.state=xe.__s,null!=xe.getChildContext&&(Qt=D(D({},Qt),xe.getChildContext())),he||null==xe.getSnapshotBeforeUpdate||(Y=xe.getSnapshotBeforeUpdate(N,F)),yn=null!=X&&X.type===w&&null==X.key?X.props.children:X,$e(de,Array.isArray(yn)?yn:[yn],lt,St,Qt,gt,yt,Je,ct,Xe),xe.base=lt.__e,lt.__h=null,xe.__h.length&&Je.push(xe),re&&(xe.__E=xe.__=null),xe.__e=!1}else null==yt&&lt.__v===St.__v?(lt.__k=St.__k,lt.__e=St.__e):lt.__e=function Se(de,lt,St,Qt,gt,yt,Je,ct){var Xe,X,xe,he=St.props,N=lt.props,F=lt.type,Y=0;if("svg"===F&&(gt=!0),null!=yt)for(;Y<yt.length;Y++)if((Xe=yt[Y])&&"setAttribute"in Xe==!!F&&(F?Xe.localName===F:3===Xe.nodeType)){de=Xe,yt[Y]=null;break}if(null==de){if(null===F)return document.createTextNode(N);de=gt?document.createElementNS("http://www.w3.org/2000/svg",F):document.createElement(F,N.is&&N),yt=null,ct=!1}if(null===F)he===N||ct&&de.data===N||(de.data=N);else{if(yt=yt&&a.call(de.childNodes),X=(he=St.props||I).dangerouslySetInnerHTML,xe=N.dangerouslySetInnerHTML,!ct){if(null!=yt)for(he={},Y=0;Y<de.attributes.length;Y++)he[de.attributes[Y].name]=de.attributes[Y].value;(xe||X)&&(xe&&(X&&xe.__html==X.__html||xe.__html===de.innerHTML)||(de.innerHTML=xe&&xe.__html||""))}if(function k(de,lt,St,Qt,gt){var yt;for(yt in St)"children"===yt||"key"===yt||yt in lt||j(de,yt,null,St[yt],Qt);for(yt in lt)gt&&"function"!=typeof lt[yt]||"children"===yt||"key"===yt||"value"===yt||"checked"===yt||St[yt]===lt[yt]||j(de,yt,lt[yt],St[yt],Qt)}(de,N,he,gt,ct),xe)lt.__k=[];else if(Y=lt.props.children,$e(de,Array.isArray(Y)?Y:[Y],lt,St,Qt,gt&&"foreignObject"!==F,yt,Je,yt?yt[0]:St.__k&&$(St,0),ct),null!=yt)for(Y=yt.length;Y--;)null!=yt[Y]&&A(yt[Y]);ct||("value"in N&&void 0!==(Y=N.value)&&(Y!==de.value||"progress"===F&&!Y||"option"===F&&Y!==he.value)&&j(de,"value",Y,he.value,!1),"checked"in N&&void 0!==(Y=N.checked)&&Y!==de.checked&&j(de,"checked",Y,he.checked,!1))}return de}(St.__e,lt,St,Qt,gt,yt,Je,Xe);(X=i.diffed)&&X(lt)}catch(Nn){lt.__v=null,(Xe||null!=yt)&&(lt.__e=ct,lt.__h=!!Xe,yt[yt.indexOf(ct)]=null),i.__e(Nn,lt,St)}}function it(de,lt){i.__c&&i.__c(lt,de),de.some(function(St){try{de=St.__h,St.__h=[],de.some(function(Qt){Qt.call(St)})}catch(Qt){i.__e(Qt,St.__v)}})}function Z(de,lt,St){try{"function"==typeof de?de(lt):de.current=lt}catch(Qt){i.__e(Qt,St)}}function V(de,lt,St){var Qt,gt;if(i.unmount&&i.unmount(de),(Qt=de.ref)&&(Qt.current&&Qt.current!==de.__e||Z(Qt,null,lt)),null!=(Qt=de.__c)){if(Qt.componentWillUnmount)try{Qt.componentWillUnmount()}catch(yt){i.__e(yt,lt)}Qt.base=Qt.__P=null,de.__c=void 0}if(Qt=de.__k)for(gt=0;gt<Qt.length;gt++)Qt[gt]&&V(Qt[gt],lt,St||"function"!=typeof de.type);St||null==de.__e||A(de.__e),de.__=de.__e=de.__d=void 0}function U(de,lt,St){return this.constructor(de,St)}function fe(de,lt,St){var Qt,gt,yt;i.__&&i.__(de,lt),gt=(Qt="function"==typeof St)?null:St&&St.__k||lt.__k,yt=[],Ge(lt,de=(!Qt&&St||lt).__k=B(w,null,[de]),gt||I,I,void 0!==lt.ownerSVGElement,!Qt&&St?[St]:gt?null:lt.firstChild?a.call(lt.childNodes):null,yt,!Qt&&St?St:gt?gt.__e:lt.firstChild,Qt),it(yt,de)}function pe(de,lt){fe(de,lt,pe)}function He(de,lt,St){var Qt,gt,yt,Je=D({},de.props);for(yt in lt)"key"==yt?Qt=lt[yt]:"ref"==yt?gt=lt[yt]:Je[yt]=lt[yt];return arguments.length>2&&(Je.children=arguments.length>3?a.call(arguments,2):St),R(de.type,Je,Qt||de.key,gt||de.ref,null)}function et(de,lt){var St={__c:lt="__cC"+m++,__:de,Consumer:function(Qt,gt){return Qt.children(gt)},Provider:function(Qt){var gt,yt;return this.getChildContext||(gt=[],(yt={})[lt]=this,this.getChildContext=function(){return yt},this.shouldComponentUpdate=function(Je){this.props.value!==Je.value&&gt.some(function(ct){ct.__e=!0,ge(ct)})},this.sub=function(Je){gt.push(Je);var ct=Je.componentWillUnmount;Je.componentWillUnmount=function(){gt.splice(gt.indexOf(Je),1),ct&&ct.call(Je)}}),Qt.children}};return St.Provider.__=St.Consumer.contextType=St}a=L.slice,i={__e:function(de,lt,St,Qt){for(var gt,yt,Je;lt=lt.__;)if((gt=lt.__c)&&!gt.__)try{if((yt=gt.constructor)&&null!=yt.getDerivedStateFromError&&(gt.setState(yt.getDerivedStateFromError(de)),Je=gt.__d),null!=gt.componentDidCatch&&(gt.componentDidCatch(de,Qt||{}),Je=gt.__d),Je)return gt.__E=gt}catch(ct){de=ct}throw de}},d=0,p=function(de){return null!=de&&void 0===de.constructor},C=!1,oe.prototype.setState=function(de,lt){var St;St=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=D({},this.state),"function"==typeof de&&(de=de(D({},St),this.props)),de&&D(St,de),null!=de&&this.__v&&(lt&&this._sb.push(lt),ge(this))},oe.prototype.forceUpdate=function(de){this.__v&&(this.__e=!0,de&&this.__h.push(de),ge(this))},oe.prototype.render=w,f=[],b="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ve.__r=0,m=0},54331:(ze,G,l)=>{"use strict";l.d(G,{SA:()=>nn});var a=["MO","TU","WE","TH","FR","SA","SU"],i=function(){function Ne(ve,at){if(0===at)throw new Error("Can't create weekday with n == 0");this.weekday=ve,this.n=at}return Ne.fromStr=function(ve){return new Ne(a.indexOf(ve))},Ne.prototype.nth=function(ve){return this.n===ve?this:new Ne(this.weekday,ve)},Ne.prototype.equals=function(ve){return this.weekday===ve.weekday&&this.n===ve.n},Ne.prototype.toString=function(){var ve=a[this.weekday];return this.n&&(ve=(this.n>0?"+":"")+String(this.n)+ve),ve},Ne.prototype.getJsWeekday=function(){return 6===this.weekday?0:this.weekday+1},Ne}(),d=function(Ne){return null!=Ne},p=function(Ne){return"number"==typeof Ne},C=function(Ne){return"string"==typeof Ne&&a.includes(Ne)},f=Array.isArray,v=function(Ne,ve){void 0===ve&&(ve=Ne),1===arguments.length&&(ve=Ne,Ne=0);for(var at=[],Rt=Ne;Rt<ve;Rt++)at.push(Rt);return at},m=function(Ne,ve){var at=0,Rt=[];if(f(Ne))for(;at<ve;at++)Rt[at]=[].concat(Ne);else for(;at<ve;at++)Rt[at]=Ne;return Rt},I=function(Ne){return f(Ne)?Ne:[Ne]};function L(Ne,ve,at){void 0===at&&(at=" ");var Rt=String(Ne);return Rt.length>(ve>>=0)?String(Rt):((ve-=Rt.length)>at.length&&(at+=m(at,ve/at.length)),at.slice(0,ve)+String(Rt))}var D=function(Ne,ve){var at=Ne%ve;return at*ve<0?at+ve:at},A=function(Ne,ve){return{div:Math.floor(Ne/ve),mod:D(Ne,ve)}},B=function(Ne){return!d(Ne)||0===Ne.length},R=function(Ne){return!B(Ne)},x=function(Ne,ve){return R(Ne)&&-1!==Ne.indexOf(ve)},w=function(Ne,ve,at,Rt,bn,Fe){return void 0===Rt&&(Rt=0),void 0===bn&&(bn=0),void 0===Fe&&(Fe=0),new Date(Date.UTC(Ne,ve-1,at,Rt,bn,Fe))},k=[31,28,31,30,31,30,31,31,30,31,30,31],H=864e5,z=w(1970,1,1),le=[6,0,1,2,3,4,5],$=function(Ne){return Ne%4==0&&Ne%100!=0||Ne%400==0},y=function(Ne){return Ne instanceof Date},ae=function(Ne){return y(Ne)&&!isNaN(Ne.getTime())},$e=function(Ne){return function(Ne,ve){var at=Ne.getTime(),Rt=ve.getTime();return Math.round((at-Rt)/H)}(Ne,z)},Be=function(Ne){return new Date(z.getTime()+Ne*H)},Ee=function(Ne){var ve=Ne.getUTCMonth();return 1===ve&&$(Ne.getUTCFullYear())?29:k[ve]},Ie=function(Ne){return le[Ne.getUTCDay()]},Re=function(Ne,ve){var at=w(Ne,ve+1,1);return[Ie(at),Ee(at)]},Ge=function(Ne,ve){return ve=ve||Ne,new Date(Date.UTC(Ne.getUTCFullYear(),Ne.getUTCMonth(),Ne.getUTCDate(),ve.getHours(),ve.getMinutes(),ve.getSeconds(),ve.getMilliseconds()))},it=function(Ne){return new Date(Ne.getTime())},Se=function(Ne){for(var ve=[],at=0;at<Ne.length;at++)ve.push(it(Ne[at]));return ve},Z=function(Ne){Ne.sort(function(ve,at){return ve.getTime()-at.getTime()})},V=function(Ne,ve){void 0===ve&&(ve=!0);var at=new Date(Ne);return[L(at.getUTCFullYear().toString(),4,"0"),L(at.getUTCMonth()+1,2,"0"),L(at.getUTCDate(),2,"0"),"T",L(at.getUTCHours(),2,"0"),L(at.getUTCMinutes(),2,"0"),L(at.getUTCSeconds(),2,"0"),ve?"Z":""].join("")},U=function(Ne){var at=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/.exec(Ne);if(!at)throw new Error("Invalid UNTIL value: ".concat(Ne));return new Date(Date.UTC(parseInt(at[1],10),parseInt(at[2],10)-1,parseInt(at[3],10),parseInt(at[5],10)||0,parseInt(at[6],10)||0,parseInt(at[7],10)||0))},fe=function(Ne,ve){return Ne.toLocaleString("sv-SE",{timeZone:ve}).replace(" ","T")+"Z"};const et=function(){function Ne(ve,at){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=ve,this.args=at,"between"===ve?(this.maxDate=at.inc?at.before:new Date(at.before.getTime()-1),this.minDate=at.inc?at.after:new Date(at.after.getTime()+1)):"before"===ve?this.maxDate=at.inc?at.dt:new Date(at.dt.getTime()-1):"after"===ve&&(this.minDate=at.inc?at.dt:new Date(at.dt.getTime()+1))}return Ne.prototype.accept=function(ve){++this.total;var at=this.minDate&&ve<this.minDate,Rt=this.maxDate&&ve>this.maxDate;if("between"===this.method){if(at)return!0;if(Rt)return!1}else if("before"===this.method){if(Rt)return!1}else if("after"===this.method)return!!at||(this.add(ve),!1);return this.add(ve)},Ne.prototype.add=function(ve){return this._result.push(ve),!0},Ne.prototype.getValue=function(){var ve=this._result;switch(this.method){case"all":case"between":return ve;default:return ve.length?ve[ve.length-1]:null}},Ne.prototype.clone=function(){return new Ne(this.method,this.args)},Ne}();var de=l(97582);const St=function(Ne){function ve(at,Rt,bn){var Fe=Ne.call(this,at,Rt)||this;return Fe.iterator=bn,Fe}return(0,de.ZT)(ve,Ne),ve.prototype.add=function(at){return!!this.iterator(at,this._result.length)&&(this._result.push(at),!0)},ve}(et),gt={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}};var yt=function(Ne,ve){return-1!==Ne.indexOf(ve)},Je=function(Ne){return Ne.toString()},ct=function(Ne,ve,at){return"".concat(ve," ").concat(at,", ").concat(Ne)};const X=function(){function Ne(ve,at,Rt,bn){if(void 0===at&&(at=Je),void 0===Rt&&(Rt=gt),void 0===bn&&(bn=ct),this.text=[],this.language=Rt||gt,this.gettext=at,this.dateFormatter=bn,this.rrule=ve,this.options=ve.options,this.origOptions=ve.origOptions,this.origOptions.bymonthday){var Fe=[].concat(this.options.bymonthday),ne=[].concat(this.options.bynmonthday);Fe.sort(function(Wt,_e){return Wt-_e}),ne.sort(function(Wt,_e){return _e-Wt}),this.bymonthday=Fe.concat(ne),this.bymonthday.length||(this.bymonthday=null)}if(d(this.origOptions.byweekday)){var Me=f(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],We=String(Me);this.byweekday={allWeeks:Me.filter(function(Wt){return!Wt.n}),someWeeks:Me.filter(function(Wt){return Boolean(Wt.n)}),isWeekdays:-1!==We.indexOf("MO")&&-1!==We.indexOf("TU")&&-1!==We.indexOf("WE")&&-1!==We.indexOf("TH")&&-1!==We.indexOf("FR")&&-1===We.indexOf("SA")&&-1===We.indexOf("SU"),isEveryDay:-1!==We.indexOf("MO")&&-1!==We.indexOf("TU")&&-1!==We.indexOf("WE")&&-1!==We.indexOf("TH")&&-1!==We.indexOf("FR")&&-1!==We.indexOf("SA")&&-1!==We.indexOf("SU")};var Tt=function(Wt,_e){return Wt.weekday-_e.weekday};this.byweekday.allWeeks.sort(Tt),this.byweekday.someWeeks.sort(Tt),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return Ne.isFullyConvertible=function(ve){if(!(ve.options.freq in Ne.IMPLEMENTED)||ve.origOptions.until&&ve.origOptions.count)return!1;for(var Rt in ve.origOptions){if(yt(["dtstart","tzid","wkst","freq"],Rt))return!0;if(!yt(Ne.IMPLEMENTED[ve.options.freq],Rt))return!1}return!0},Ne.prototype.isFullyConvertible=function(){return Ne.isFullyConvertible(this.rrule)},Ne.prototype.toString=function(){var ve=this.gettext;if(!(this.options.freq in Ne.IMPLEMENTED))return ve("RRule error: Unable to fully convert this rrule to text");if(this.text=[ve("every")],this[Xn.FREQUENCIES[this.options.freq]](),this.options.until){this.add(ve("until"));var at=this.options.until;this.add(this.dateFormatter(at.getUTCFullYear(),this.language.monthNames[at.getUTCMonth()],at.getUTCDate()))}else this.options.count&&this.add(ve("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?ve("times"):ve("time"));return this.isFullyConvertible()||this.add(ve("(~ approximate)")),this.text.join("")},Ne.prototype.HOURLY=function(){var ve=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?ve("hours"):ve("hour"))},Ne.prototype.MINUTELY=function(){var ve=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?ve("minutes"):ve("minute"))},Ne.prototype.DAILY=function(){var ve=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.byweekday&&this.byweekday.isWeekdays?this.plural(this.options.interval)?ve("weekdays"):ve("weekday"):this.plural(this.options.interval)?ve("days"):ve("day")),this.origOptions.bymonth&&(this.add(ve("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},Ne.prototype.WEEKLY=function(){var ve=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?ve("weeks"):ve("week")),this.byweekday&&this.byweekday.isWeekdays?1===this.options.interval?this.add(this.plural(this.options.interval)?ve("weekdays"):ve("weekday")):this.add(ve("on")).add(ve("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?ve("days"):ve("day")):(1===this.options.interval&&this.add(ve("week")),this.origOptions.bymonth&&(this.add(ve("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},Ne.prototype.MONTHLY=function(){var ve=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()).add(ve("months")),this.plural(this.options.interval)&&this.add(ve("in"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?ve("months"):ve("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(ve("on")).add(ve("weekdays")):this.byweekday&&this._byweekday()},Ne.prototype.YEARLY=function(){var ve=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()),this.add(ve("years"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?ve("years"):ve("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(ve("on the")).add(this.list(this.options.byyearday,this.nth,ve("and"))).add(ve("day")),this.options.byweekno&&this.add(ve("in")).add(this.plural(this.options.byweekno.length)?ve("weeks"):ve("week")).add(this.list(this.options.byweekno,void 0,ve("and")))},Ne.prototype._bymonthday=function(){var ve=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(ve("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,ve("or"))).add(ve("the")).add(this.list(this.bymonthday,this.nth,ve("or"))):this.add(ve("on the")).add(this.list(this.bymonthday,this.nth,ve("and")))},Ne.prototype._byweekday=function(){var ve=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(ve("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(ve("and")),this.add(ve("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,ve("and"))))},Ne.prototype._byhour=function(){var ve=this.gettext;this.add(ve("at")).add(this.list(this.origOptions.byhour,void 0,ve("and")))},Ne.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},Ne.prototype.nth=function(ve){ve=parseInt(ve.toString(),10);var at,Rt=this.gettext;if(-1===ve)return Rt("last");var bn=Math.abs(ve);switch(bn){case 1:case 21:case 31:at=bn+Rt("st");break;case 2:case 22:at=bn+Rt("nd");break;case 3:case 23:at=bn+Rt("rd");break;default:at=bn+Rt("th")}return ve<0?at+" "+Rt("last"):at},Ne.prototype.monthtext=function(ve){return this.language.monthNames[ve-1]},Ne.prototype.weekdaytext=function(ve){var at=p(ve)?(ve+1)%7:ve.getJsWeekday();return(ve.n?this.nth(ve.n)+" ":"")+this.language.dayNames[at]},Ne.prototype.plural=function(ve){return ve%100!=1},Ne.prototype.add=function(ve){return this.text.push(" "),this.text.push(ve),this},Ne.prototype.list=function(ve,at,Rt,bn){var Fe=this;void 0===bn&&(bn=","),f(ve)||(ve=[ve]),at=at||function(We){return We.toString()};var Me=function(We){return at&&at.call(Fe,We)};return Rt?function(We,Tt,Wt){for(var _e="",je=0;je<We.length;je++)0!==je&&(_e+=je===We.length-1?" "+Wt+" ":Tt+" "),_e+=We[je];return _e}(ve.map(Me),bn,Rt):ve.map(Me).join(bn+" ")},Ne}();var xe=function(){function Ne(ve){this.done=!0,this.rules=ve}return Ne.prototype.start=function(ve){return this.text=ve,this.done=!1,this.nextSymbol()},Ne.prototype.isDone=function(){return this.done&&null===this.symbol},Ne.prototype.nextSymbol=function(){var ve,at;this.symbol=null,this.value=null;do{if(this.done)return!1;for(var bn in ve=null,this.rules){var Fe=this.rules[bn].exec(this.text);Fe&&(null===ve||Fe[0].length>ve[0].length)&&(ve=Fe,at=bn)}if(null!=ve&&(this.text=this.text.substr(ve[0].length),""===this.text&&(this.done=!0)),null==ve)return this.done=!0,this.symbol=null,void(this.value=null)}while("SKIP"===at);return this.symbol=at,this.value=ve,!0},Ne.prototype.accept=function(ve){if(this.symbol===ve){if(this.value){var at=this.value;return this.nextSymbol(),at}return this.nextSymbol(),!0}return!1},Ne.prototype.acceptNumber=function(){return this.accept("number")},Ne.prototype.expect=function(ve){if(this.accept(ve))return!0;throw new Error("expected "+ve+" but found "+this.symbol)},Ne}();function he(Ne,ve){void 0===ve&&(ve=gt);var at={},Rt=new xe(ve.tokens);return Rt.start(Ne)?(function bn(){Rt.expect("every");var je=Rt.acceptNumber();if(je&&(at.interval=parseInt(je[0],10)),Rt.isDone())throw new Error("Unexpected end");switch(Rt.symbol){case"day(s)":at.freq=Xn.DAILY,Rt.nextSymbol()&&(ne(),_e());break;case"weekday(s)":at.freq=Xn.WEEKLY,at.byweekday=[Xn.MO,Xn.TU,Xn.WE,Xn.TH,Xn.FR],Rt.nextSymbol(),ne(),_e();break;case"week(s)":at.freq=Xn.WEEKLY,Rt.nextSymbol()&&(Fe(),ne(),_e());break;case"hour(s)":at.freq=Xn.HOURLY,Rt.nextSymbol()&&(Fe(),_e());break;case"minute(s)":at.freq=Xn.MINUTELY,Rt.nextSymbol()&&(Fe(),_e());break;case"month(s)":at.freq=Xn.MONTHLY,Rt.nextSymbol()&&(Fe(),_e());break;case"year(s)":at.freq=Xn.YEARLY,Rt.nextSymbol()&&(Fe(),_e());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":at.freq=Xn.WEEKLY;var E=Rt.symbol.substr(0,2).toUpperCase();if(at.byweekday=[Xn[E]],!Rt.nextSymbol())return;for(;Rt.accept("comma");){if(Rt.isDone())throw new Error("Unexpected end");var te=We();if(!te)throw new Error("Unexpected symbol "+Rt.symbol+", expected weekday");at.byweekday.push(Xn[te]),Rt.nextSymbol()}ne(),function Wt(){Rt.accept("on"),Rt.accept("the");var je=Tt();if(je)for(at.bymonthday=[je],Rt.nextSymbol();Rt.accept("comma");){if(!(je=Tt()))throw new Error("Unexpected symbol "+Rt.symbol+"; expected monthday");at.bymonthday.push(je),Rt.nextSymbol()}}(),_e();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(at.freq=Xn.YEARLY,at.bymonth=[Me()],!Rt.nextSymbol())return;for(;Rt.accept("comma");){if(Rt.isDone())throw new Error("Unexpected end");var O=Me();if(!O)throw new Error("Unexpected symbol "+Rt.symbol+", expected month");at.bymonth.push(O),Rt.nextSymbol()}Fe(),_e();break;default:throw new Error("Unknown symbol")}}(),at):null;function Fe(){var je=Rt.accept("on"),E=Rt.accept("the");if(je||E)do{var te=Tt(),O=We(),T=Me();if(te)O?(Rt.nextSymbol(),at.byweekday||(at.byweekday=[]),at.byweekday.push(Xn[O].nth(te))):(at.bymonthday||(at.bymonthday=[]),at.bymonthday.push(te),Rt.accept("day(s)"));else if(O)Rt.nextSymbol(),at.byweekday||(at.byweekday=[]),at.byweekday.push(Xn[O]);else if("weekday(s)"===Rt.symbol)Rt.nextSymbol(),at.byweekday||(at.byweekday=[Xn.MO,Xn.TU,Xn.WE,Xn.TH,Xn.FR]);else if("week(s)"===Rt.symbol){Rt.nextSymbol();var J=Rt.acceptNumber();if(!J)throw new Error("Unexpected symbol "+Rt.symbol+", expected week number");for(at.byweekno=[parseInt(J[0],10)];Rt.accept("comma");){if(!(J=Rt.acceptNumber()))throw new Error("Unexpected symbol "+Rt.symbol+"; expected monthday");at.byweekno.push(parseInt(J[0],10))}}else{if(!T)return;Rt.nextSymbol(),at.bymonth||(at.bymonth=[]),at.bymonth.push(T)}}while(Rt.accept("comma")||Rt.accept("the")||Rt.accept("on"))}function ne(){if(Rt.accept("at"))do{var E=Rt.acceptNumber();if(!E)throw new Error("Unexpected symbol "+Rt.symbol+", expected hour");for(at.byhour=[parseInt(E[0],10)];Rt.accept("comma");){if(!(E=Rt.acceptNumber()))throw new Error("Unexpected symbol "+Rt.symbol+"; expected hour");at.byhour.push(parseInt(E[0],10))}}while(Rt.accept("comma")||Rt.accept("at"))}function Me(){switch(Rt.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function We(){switch(Rt.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return Rt.symbol.substr(0,2).toUpperCase();default:return!1}}function Tt(){switch(Rt.symbol){case"last":return Rt.nextSymbol(),-1;case"first":return Rt.nextSymbol(),1;case"second":return Rt.nextSymbol(),Rt.accept("last")?-2:2;case"third":return Rt.nextSymbol(),Rt.accept("last")?-3:3;case"nth":var je=parseInt(Rt.value[1],10);if(je<-366||je>366)throw new Error("Nth out of range: "+je);return Rt.nextSymbol(),Rt.accept("last")?-je:je;default:return!1}}function _e(){if("until"===Rt.symbol){var je=Date.parse(Rt.text);if(!je)throw new Error("Cannot parse until date:"+Rt.text);at.until=new Date(je)}else Rt.accept("for")&&(at.count=parseInt(Rt.value[0],10),Rt.expect("number"))}}var N=(()=>{return(Ne=N||(N={}))[Ne.YEARLY=0]="YEARLY",Ne[Ne.MONTHLY=1]="MONTHLY",Ne[Ne.WEEKLY=2]="WEEKLY",Ne[Ne.DAILY=3]="DAILY",Ne[Ne.HOURLY=4]="HOURLY",Ne[Ne.MINUTELY=5]="MINUTELY",Ne[Ne.SECONDLY=6]="SECONDLY",N;var Ne})();function F(Ne){return Ne<N.HOURLY}var re=["count","until","interval","byweekday","bymonthday","bymonth"];X.IMPLEMENTED=[],X.IMPLEMENTED[N.HOURLY]=re,X.IMPLEMENTED[N.MINUTELY]=re,X.IMPLEMENTED[N.DAILY]=["byhour"].concat(re),X.IMPLEMENTED[N.WEEKLY]=re,X.IMPLEMENTED[N.MONTHLY]=re,X.IMPLEMENTED[N.YEARLY]=["byweekno","byyearday"].concat(re);var Ye=X.isFullyConvertible,vt=function(){function Ne(ve,at,Rt,bn){this.hour=ve,this.minute=at,this.second=Rt,this.millisecond=bn||0}return Ne.prototype.getHours=function(){return this.hour},Ne.prototype.getMinutes=function(){return this.minute},Ne.prototype.getSeconds=function(){return this.second},Ne.prototype.getMilliseconds=function(){return this.millisecond},Ne.prototype.getTime=function(){return 1e3*(60*this.hour*60+60*this.minute+this.second)+this.millisecond},Ne}(),Vt=function(Ne){function ve(at,Rt,bn,Fe,ne,Me,We){var Tt=Ne.call(this,Fe,ne,Me,We)||this;return Tt.year=at,Tt.month=Rt,Tt.day=bn,Tt}return(0,de.ZT)(ve,Ne),ve.fromDate=function(at){return new this(at.getUTCFullYear(),at.getUTCMonth()+1,at.getUTCDate(),at.getUTCHours(),at.getUTCMinutes(),at.getUTCSeconds(),at.valueOf()%1e3)},ve.prototype.getWeekday=function(){return Ie(new Date(this.getTime()))},ve.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},ve.prototype.getDay=function(){return this.day},ve.prototype.getMonth=function(){return this.month},ve.prototype.getYear=function(){return this.year},ve.prototype.addYears=function(at){this.year+=at},ve.prototype.addMonths=function(at){if(this.month+=at,this.month>12){var Rt=Math.floor(this.month/12),bn=D(this.month,12);this.month=bn,this.year+=Rt,0===this.month&&(this.month=12,--this.year)}},ve.prototype.addWeekly=function(at,Rt){Rt>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-Rt))+7*at:this.day+=-(this.getWeekday()-Rt)+7*at,this.fixDay()},ve.prototype.addDaily=function(at){this.day+=at,this.fixDay()},ve.prototype.addHours=function(at,Rt,bn){for(Rt&&(this.hour+=Math.floor((23-this.hour)/at)*at);;){this.hour+=at;var Fe=A(this.hour,24),ne=Fe.div;if(ne&&(this.hour=Fe.mod,this.addDaily(ne)),B(bn)||x(bn,this.hour))break}},ve.prototype.addMinutes=function(at,Rt,bn,Fe){for(Rt&&(this.minute+=Math.floor((1439-(60*this.hour+this.minute))/at)*at);;){this.minute+=at;var ne=A(this.minute,60),Me=ne.div;if(Me&&(this.minute=ne.mod,this.addHours(Me,!1,bn)),(B(bn)||x(bn,this.hour))&&(B(Fe)||x(Fe,this.minute)))break}},ve.prototype.addSeconds=function(at,Rt,bn,Fe,ne){for(Rt&&(this.second+=Math.floor((86399-(3600*this.hour+60*this.minute+this.second))/at)*at);;){this.second+=at;var Me=A(this.second,60),We=Me.div;if(We&&(this.second=Me.mod,this.addMinutes(We,!1,bn,Fe)),(B(bn)||x(bn,this.hour))&&(B(Fe)||x(Fe,this.minute))&&(B(ne)||x(ne,this.second)))break}},ve.prototype.fixDay=function(){if(!(this.day<=28)){var at=Re(this.year,this.month-1)[1];if(!(this.day<=at))for(;this.day>at;){if(this.day-=at,++this.month,13===this.month&&(this.month=1,++this.year,this.year>9999))return;at=Re(this.year,this.month-1)[1]}}},ve.prototype.add=function(at,Rt){var Fe=at.interval,ne=at.wkst,Me=at.byhour,We=at.byminute,Tt=at.bysecond;switch(at.freq){case N.YEARLY:return this.addYears(Fe);case N.MONTHLY:return this.addMonths(Fe);case N.WEEKLY:return this.addWeekly(Fe,ne);case N.DAILY:return this.addDaily(Fe);case N.HOURLY:return this.addHours(Fe,Rt,Me);case N.MINUTELY:return this.addMinutes(Fe,Rt,Me,We);case N.SECONDLY:return this.addSeconds(Fe,Rt,Me,We,Tt)}},ve}(vt);function Jt(Ne){for(var ve=[],Rt=0,bn=Object.keys(Ne);Rt<bn.length;Rt++){var Fe=bn[Rt];x(oi,Fe)||ve.push(Fe),y(Ne[Fe])&&!ae(Ne[Fe])&&ve.push(Fe)}if(ve.length)throw new Error("Invalid options: "+ve.join(", "));return(0,de.pi)({},Ne)}function yn(Ne){var ve=Ne.split("\n").map(Nn).filter(function(at){return null!==at});return(0,de.pi)((0,de.pi)({},ve[0]),ve[1])}function An(Ne){var ve={},at=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(Ne);if(!at)return ve;var Rt=at[1],bn=at[2];return Rt&&(ve.tzid=Rt),ve.dtstart=U(bn),ve}function Nn(Ne){if(!(Ne=Ne.replace(/^\s+|\s+$/,"")).length)return null;var ve=/^([A-Z]+?)[:;]/.exec(Ne.toUpperCase());if(!ve)return In(Ne);var at=ve[1];switch(at.toUpperCase()){case"RRULE":case"EXRULE":return In(Ne);case"DTSTART":return An(Ne);default:throw new Error("Unsupported RFC prop ".concat(at," in ").concat(Ne))}}function In(Ne){var at=An(Ne.replace(/^RRULE:/i,""));return Ne.replace(/^(?:RRULE|EXRULE):/i,"").split(";").forEach(function(bn){var Fe=bn.split("="),ne=Fe[0],Me=Fe[1];switch(ne.toUpperCase()){case"FREQ":at.freq=N[Me.toUpperCase()];break;case"WKST":at.wkst=Qn[Me.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var We=function wn(Ne){return-1!==Ne.indexOf(",")?Ne.split(",").map(Wn):Wn(Ne)}(Me),Tt=ne.toLowerCase();at[Tt]=We;break;case"BYWEEKDAY":case"BYDAY":at.byweekday=function Bn(Ne){return Ne.split(",").map(function(at){if(2===at.length)return Qn[at];var Rt=at.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!Rt||Rt.length<3)throw new SyntaxError("Invalid weekday string: ".concat(at));var bn=Number(Rt[1]);return new i(Qn[Rt[2]].weekday,bn)})}(Me);break;case"DTSTART":case"TZID":var Wt=An(Ne);at.tzid=Wt.tzid,at.dtstart=Wt.dtstart;break;case"UNTIL":at.until=U(Me);break;case"BYEASTER":at.byeaster=Number(Me);break;default:throw new Error("Unknown RRULE property '"+ne+"'")}}),at}function Wn(Ne){return/^[+-]?\d+$/.test(Ne)?Number(Ne):Ne}var Xt=function(){function Ne(ve,at){if(isNaN(ve.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=ve,this.tzid=at}return Object.defineProperty(Ne.prototype,"isUTC",{get:function(){return!this.tzid||"UTC"===this.tzid.toUpperCase()},enumerable:!1,configurable:!0}),Ne.prototype.toString=function(){var ve=V(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(ve):";TZID=".concat(this.tzid,":").concat(ve)},Ne.prototype.getTime=function(){return this.date.getTime()},Ne.prototype.rezonedDate=function(){return this.isUTC?this.date:function(Ne,ve){var at=Intl.DateTimeFormat().resolvedOptions().timeZone,Rt=new Date(fe(Ne,at)),Fe=new Date(fe(Ne,null!=ve?ve:"UTC")).getTime()-Rt.getTime();return new Date(Ne.getTime()-Fe)}(this.date,this.tzid)},Ne}();function Pt(Ne){for(var ve=[],at="",Rt=Object.keys(Ne),bn=Object.keys(fi),Fe=0;Fe<Rt.length;Fe++)if("tzid"!==Rt[Fe]&&x(bn,Rt[Fe])){var ne=Rt[Fe].toUpperCase(),Me=Ne[Rt[Fe]],We="";if(d(Me)&&(!f(Me)||Me.length)){switch(ne){case"FREQ":We=Xn.FREQUENCIES[Ne.freq];break;case"WKST":We=p(Me)?new i(Me).toString():Me.toString();break;case"BYWEEKDAY":ne="BYDAY",We=I(Me).map(function(E){return E instanceof i?E:f(E)?new i(E[0],E[1]):new i(E)}).toString();break;case"DTSTART":at=ht(Me,Ne.tzid);break;case"UNTIL":We=V(Me,!Ne.tzid);break;default:if(f(Me)){for(var Tt=[],Wt=0;Wt<Me.length;Wt++)Tt[Wt]=String(Me[Wt]);We=Tt.toString()}else We=String(Me)}We&&ve.push([ne,We])}}var _e=ve.map(function(E){var O=E[1];return"".concat(E[0],"=").concat(O.toString())}).join(";"),je="";return""!==_e&&(je="RRULE:".concat(_e)),[at,je].filter(function(E){return!!E}).join("\n")}function ht(Ne,ve){return Ne?"DTSTART"+new Xt(new Date(Ne),ve).toString():""}function be(Ne,ve){return Array.isArray(Ne)?!(!Array.isArray(ve)||Ne.length!==ve.length)&&Ne.every(function(at,Rt){return at.getTime()===ve[Rt].getTime()}):Ne instanceof Date?ve instanceof Date&&Ne.getTime()===ve.getTime():Ne===ve}var Ze=function(){function Ne(){this.all=!1,this.before=[],this.after=[],this.between=[]}return Ne.prototype._cacheAdd=function(ve,at,Rt){at&&(at=at instanceof Date?it(at):Se(at)),"all"===ve?this.all=at:(Rt._value=at,this[ve].push(Rt))},Ne.prototype._cacheGet=function(ve,at){var Rt=!1,bn=at?Object.keys(at):[],Fe=function(Wt){for(var _e=0;_e<bn.length;_e++){var je=bn[_e];if(!be(at[je],Wt[je]))return!0}return!1},ne=this[ve];if("all"===ve)Rt=this.all;else if(f(ne))for(var Me=0;Me<ne.length;Me++){var We=ne[Me];if(!bn.length||!Fe(We)){Rt=We._value;break}}if(!Rt&&this.all){var Tt=new et(ve,at);for(Me=0;Me<this.all.length&&Tt.accept(this.all[Me]);Me++);Rt=Tt.getValue(),this._cacheAdd(ve,Rt,at)}return f(Rt)?Se(Rt):Rt instanceof Date?it(Rt):Rt},Ne}(),_t=(0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)([],m(1,31),!0),m(2,28),!0),m(3,31),!0),m(4,30),!0),m(5,31),!0),m(6,30),!0),m(7,31),!0),m(8,31),!0),m(9,30),!0),m(10,31),!0),m(11,30),!0),m(12,31),!0),m(1,7),!0),st=(0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)([],m(1,31),!0),m(2,29),!0),m(3,31),!0),m(4,30),!0),m(5,31),!0),m(6,30),!0),m(7,31),!0),m(8,31),!0),m(9,30),!0),m(10,31),!0),m(11,30),!0),m(12,31),!0),m(1,7),!0),Ut=v(1,29),Ht=v(1,30),dn=v(1,31),jt=v(1,32),ce=(0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)([],jt,!0),Ht,!0),jt,!0),dn,!0),jt,!0),dn,!0),jt,!0),jt,!0),dn,!0),jt,!0),dn,!0),jt,!0),jt.slice(0,7),!0),Ce=(0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)([],jt,!0),Ut,!0),jt,!0),dn,!0),jt,!0),dn,!0),jt,!0),jt,!0),dn,!0),jt,!0),dn,!0),jt,!0),jt.slice(0,7),!0),Qe=v(-28,0),rt=v(-29,0),Nt=v(-30,0),sn=v(-31,0),On=(0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)([],sn,!0),rt,!0),sn,!0),Nt,!0),sn,!0),Nt,!0),sn,!0),sn,!0),Nt,!0),sn,!0),Nt,!0),sn,!0),sn.slice(0,7),!0),Ln=(0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)((0,de.ev)([],sn,!0),Qe,!0),sn,!0),Nt,!0),sn,!0),Nt,!0),sn,!0),sn,!0),Nt,!0),sn,!0),Nt,!0),sn,!0),sn.slice(0,7),!0),zn=[0,31,60,91,121,152,182,213,244,274,305,335,366],hi=[0,31,59,90,120,151,181,212,243,273,304,334,365],mi=function(){for(var Ne=[],ve=0;ve<55;ve++)Ne=Ne.concat(v(7));return Ne}();const Kn=function(){function Ne(ve){this.options=ve}return Ne.prototype.rebuild=function(ve,at){var Rt=this.options;if(ve!==this.lastyear&&(this.yearinfo=function gi(Ne,ve){var at=w(Ne,1,1),Rt=$(Ne)?366:365,bn=$(Ne+1)?366:365,Fe=$e(at),ne=Ie(at),Me=(0,de.pi)((0,de.pi)({yearlen:Rt,nextyearlen:bn,yearordinal:Fe,yearweekday:ne},function ki(Ne){var ve=$(Ne)?366:365,at=w(Ne,1,1),Rt=Ie(at);return 365===ve?{mmask:_t,mdaymask:Ce,nmdaymask:Ln,wdaymask:mi.slice(Rt),mrange:hi}:{mmask:st,mdaymask:ce,nmdaymask:On,wdaymask:mi.slice(Rt),mrange:zn}}(Ne)),{wnomask:null});if(B(ve.byweekno))return Me;Me.wnomask=m(0,Rt+7);var We,Tt,Wt=We=D(7-ne+ve.wkst,7);Wt>=4?(Wt=0,Tt=Me.yearlen+D(ne-ve.wkst,7)):Tt=Rt-Wt;for(var _e=Math.floor(Tt/7),je=D(Tt,7),E=Math.floor(_e+je/4),te=0;te<ve.byweekno.length;te++){var O=ve.byweekno[te];if(O<0&&(O+=E+1),O>0&&O<=E){var T=void 0;O>1?(T=Wt+7*(O-1),Wt!==We&&(T-=7-We)):T=Wt;for(var J=0;J<7&&(Me.wnomask[T]=1,T++,Me.wdaymask[T]!==ve.wkst);J++);}}if(x(ve.byweekno,1)&&(T=Wt+7*E,Wt!==We&&(T-=7-We),T<Rt))for(te=0;te<7&&(Me.wnomask[T]=1,Me.wdaymask[T+=1]!==ve.wkst);te++);if(Wt){var me=void 0;if(x(ve.byweekno,-1))me=-1;else{var pt=Ie(w(Ne-1,1,1)),bt=D(7-pt.valueOf()+ve.wkst,7),It=$(Ne-1)?366:365,qt=void 0;bt>=4?(bt=0,qt=It+D(pt-ve.wkst,7)):qt=Rt-Wt,me=Math.floor(52+D(qt,7)/4)}if(x(ve.byweekno,me))for(T=0;T<Wt;T++)Me.wnomask[T]=1}return Me}(ve,Rt)),R(Rt.bynweekday)&&(at!==this.lastmonth||ve!==this.lastyear)){var bn=this.yearinfo;this.monthinfo=function ji(Ne,ve,at,Rt,bn,Fe){var ne={lastyear:Ne,lastmonth:ve,nwdaymask:[]},Me=[];if(Fe.freq===Xn.YEARLY)if(B(Fe.bymonth))Me=[[0,at]];else for(var We=0;We<Fe.bymonth.length;We++)Me.push(Rt.slice((ve=Fe.bymonth[We])-1,ve+1));else Fe.freq===Xn.MONTHLY&&(Me=[Rt.slice(ve-1,ve+1)]);if(B(Me))return ne;for(ne.nwdaymask=m(0,at),We=0;We<Me.length;We++)for(var Tt=Me[We],Wt=Tt[0],_e=Tt[1]-1,je=0;je<Fe.bynweekday.length;je++){var E=void 0,te=Fe.bynweekday[je],O=te[0],T=te[1];T<0?(E=_e+7*(T+1),E-=D(bn[E]-O,7)):(E=Wt+7*(T-1),E+=D(7-bn[E]+O,7)),Wt<=E&&E<=_e&&(ne.nwdaymask[E]=1)}return ne}(ve,at,bn.yearlen,bn.mrange,bn.wdaymask,Rt)}d(Rt.byeaster)&&(this.eastermask=function Ki(Ne,ve){void 0===ve&&(ve=0);var at=Ne%19,Rt=Math.floor(Ne/100),bn=Ne%100,Fe=Math.floor(Rt/4),ne=Rt%4,Me=Math.floor((Rt+8)/25),We=Math.floor((Rt-Me+1)/3),Tt=Math.floor(19*at+Rt-Fe-We+15)%30,Wt=Math.floor(bn/4),je=Math.floor(32+2*ne+2*Wt-Tt-bn%4)%7,E=Math.floor((at+11*Tt+22*je)/451),te=Math.floor((Tt+je-7*E+114)/31),T=Date.UTC(Ne,te-1,(Tt+je-7*E+114)%31+1+ve),J=Date.UTC(Ne,0,1);return[Math.ceil((T-J)/864e5)]}(ve,Rt.byeaster))},Object.defineProperty(Ne.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(Ne.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),Ne.prototype.ydayset=function(){return[v(this.yearlen),0,this.yearlen]},Ne.prototype.mdayset=function(ve,at){for(var Rt=this.mrange[at-1],bn=this.mrange[at],Fe=m(null,this.yearlen),ne=Rt;ne<bn;ne++)Fe[ne]=ne;return[Fe,Rt,bn]},Ne.prototype.wdayset=function(ve,at,Rt){for(var bn=m(null,this.yearlen+7),Fe=$e(w(ve,at,Rt))-this.yearordinal,ne=Fe,Me=0;Me<7&&(bn[Fe]=Fe,++Fe,this.wdaymask[Fe]!==this.options.wkst);Me++);return[bn,ne,Fe]},Ne.prototype.ddayset=function(ve,at,Rt){var bn=m(null,this.yearlen),Fe=$e(w(ve,at,Rt))-this.yearordinal;return bn[Fe]=Fe,[bn,Fe,Fe+1]},Ne.prototype.htimeset=function(ve,at,Rt,bn){var Fe=this,ne=[];return this.options.byminute.forEach(function(Me){ne=ne.concat(Fe.mtimeset(ve,Me,Rt,bn))}),Z(ne),ne},Ne.prototype.mtimeset=function(ve,at,Rt,bn){var Fe=this.options.bysecond.map(function(ne){return new vt(ve,at,ne,bn)});return Z(Fe),Fe},Ne.prototype.stimeset=function(ve,at,Rt,bn){return[new vt(ve,at,Rt,bn)]},Ne.prototype.getdayset=function(ve){switch(ve){case N.YEARLY:return this.ydayset.bind(this);case N.MONTHLY:return this.mdayset.bind(this);case N.WEEKLY:return this.wdayset.bind(this);default:return this.ddayset.bind(this)}},Ne.prototype.gettimeset=function(ve){switch(ve){case N.HOURLY:return this.htimeset.bind(this);case N.MINUTELY:return this.mtimeset.bind(this);case N.SECONDLY:return this.stimeset.bind(this)}},Ne}();function vi(Ne,ve,at,Rt,bn,Fe){for(var ne=[],Me=0;Me<Ne.length;Me++){var We=void 0,Tt=void 0,Wt=Ne[Me];Wt<0?(We=Math.floor(Wt/ve.length),Tt=D(Wt,ve.length)):(We=Math.floor((Wt-1)/ve.length),Tt=D(Wt-1,ve.length));for(var _e=[],je=at;je<Rt;je++){var E=Fe[je];!d(E)||_e.push(E)}var te;te=We<0?_e.slice(We)[0]:_e[We];var O=ve[Tt],T=Be(bn.yearordinal+te),J=Ge(T,O);x(ne,J)||ne.push(J)}return Z(ne),ne}function Ai(Ne,ve){var at=ve.dtstart,Rt=ve.freq,Fe=ve.until,ne=ve.bysetpos,Me=ve.count;if(0===Me||0===ve.interval)return Li(Ne);var We=Vt.fromDate(at),Tt=new Kn(ve);Tt.rebuild(We.year,We.month);for(var Wt=function qn(Ne,ve,at){var Rt=at.freq,bn=at.byhour,Fe=at.byminute,ne=at.bysecond;return F(Rt)?function gn(Ne){var ve=Ne.dtstart.getTime()%1e3;if(!F(Ne.freq))return[];var at=[];return Ne.byhour.forEach(function(Rt){Ne.byminute.forEach(function(bn){Ne.bysecond.forEach(function(Fe){at.push(new vt(Rt,bn,Fe,ve))})})}),at}(at):Rt>=Xn.HOURLY&&R(bn)&&!x(bn,ve.hour)||Rt>=Xn.MINUTELY&&R(Fe)&&!x(Fe,ve.minute)||Rt>=Xn.SECONDLY&&R(ne)&&!x(ne,ve.second)?[]:Ne.gettimeset(Rt)(ve.hour,ve.minute,ve.second,ve.millisecond)}(Tt,We,ve);;){var _e=Tt.getdayset(Rt)(We.year,We.month,We.day),je=_e[0],E=_e[1],te=_e[2],O=cn(je,E,te,Tt,ve);if(R(ne))for(var T=vi(ne,Wt,E,te,Tt,je),J=0;J<T.length;J++){var me=T[J];if(Fe&&me>Fe)return Li(Ne);if(me>=at){var pt=Xi(me,ve);if(!Ne.accept(pt)||Me&&!--Me)return Li(Ne)}}else for(J=E;J<te;J++){var bt=je[J];if(d(bt))for(var It=Be(Tt.yearordinal+bt),qt=0;qt<Wt.length;qt++){if(me=Ge(It,Wt[qt]),Fe&&me>Fe)return Li(Ne);if(me>=at&&(pt=Xi(me,ve),!Ne.accept(pt)||Me&&!--Me))return Li(Ne)}}if(0===ve.interval||(We.add(ve,O),We.year>9999))return Li(Ne);F(Rt)||(Wt=Tt.gettimeset(Rt)(We.hour,We.minute,We.second,0)),Tt.rebuild(We.year,We.month)}}function Ji(Ne,ve,at){var Rt=at.bymonth,bn=at.byweekno,Fe=at.byweekday,ne=at.byeaster,Me=at.bymonthday,We=at.bynmonthday,Tt=at.byyearday;return R(Rt)&&!x(Rt,Ne.mmask[ve])||R(bn)&&!Ne.wnomask[ve]||R(Fe)&&!x(Fe,Ne.wdaymask[ve])||R(Ne.nwdaymask)&&!Ne.nwdaymask[ve]||null!==ne&&!x(Ne.eastermask,ve)||(R(Me)||R(We))&&!x(Me,Ne.mdaymask[ve])&&!x(We,Ne.nmdaymask[ve])||R(Tt)&&(ve<Ne.yearlen&&!x(Tt,ve+1)&&!x(Tt,-Ne.yearlen+ve)||ve>=Ne.yearlen&&!x(Tt,ve+1-Ne.yearlen)&&!x(Tt,-Ne.nextyearlen+ve-Ne.yearlen))}function Xi(Ne,ve){return new Xt(Ne,ve.tzid).rezonedDate()}function Li(Ne){return Ne.getValue()}function cn(Ne,ve,at,Rt,bn){for(var Fe=!1,ne=ve;ne<at;ne++){var Me=Ne[ne];(Fe=Ji(Rt,Me,bn))&&(Ne[Me]=null)}return Fe}var Qn={MO:new i(0),TU:new i(1),WE:new i(2),TH:new i(3),FR:new i(4),SA:new i(5),SU:new i(6)},fi={freq:N.YEARLY,dtstart:null,interval:1,wkst:Qn.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},oi=Object.keys(fi),Xn=function(){function Ne(ve,at){void 0===ve&&(ve={}),void 0===at&&(at=!1),this._cache=at?null:new Ze,this.origOptions=Jt(ve);var Rt=function hn(Ne){var ve=(0,de.pi)((0,de.pi)({},fi),Jt(Ne));if(d(ve.byeaster)&&(ve.freq=Xn.YEARLY),!d(ve.freq)||!Xn.FREQUENCIES[ve.freq])throw new Error("Invalid frequency: ".concat(ve.freq," ").concat(Ne.freq));if(ve.dtstart||(ve.dtstart=new Date((new Date).setMilliseconds(0))),d(ve.wkst)?p(ve.wkst)||(ve.wkst=ve.wkst.weekday):ve.wkst=Xn.MO.weekday,d(ve.bysetpos)){p(ve.bysetpos)&&(ve.bysetpos=[ve.bysetpos]);for(var at=0;at<ve.bysetpos.length;at++)if(0===(Rt=ve.bysetpos[at])||!(Rt>=-366&&Rt<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}if(!(Boolean(ve.byweekno)||R(ve.byweekno)||R(ve.byyearday)||Boolean(ve.bymonthday)||R(ve.bymonthday)||d(ve.byweekday)||d(ve.byeaster)))switch(ve.freq){case Xn.YEARLY:ve.bymonth||(ve.bymonth=ve.dtstart.getUTCMonth()+1),ve.bymonthday=ve.dtstart.getUTCDate();break;case Xn.MONTHLY:ve.bymonthday=ve.dtstart.getUTCDate();break;case Xn.WEEKLY:ve.byweekday=[Ie(ve.dtstart)]}if(d(ve.bymonth)&&!f(ve.bymonth)&&(ve.bymonth=[ve.bymonth]),d(ve.byyearday)&&!f(ve.byyearday)&&p(ve.byyearday)&&(ve.byyearday=[ve.byyearday]),d(ve.bymonthday))if(f(ve.bymonthday)){var bn=[],Fe=[];for(at=0;at<ve.bymonthday.length;at++){var Rt;(Rt=ve.bymonthday[at])>0?bn.push(Rt):Rt<0&&Fe.push(Rt)}ve.bymonthday=bn,ve.bynmonthday=Fe}else ve.bymonthday<0?(ve.bynmonthday=[ve.bymonthday],ve.bymonthday=[]):(ve.bynmonthday=[],ve.bymonthday=[ve.bymonthday]);else ve.bymonthday=[],ve.bynmonthday=[];if(d(ve.byweekno)&&!f(ve.byweekno)&&(ve.byweekno=[ve.byweekno]),d(ve.byweekday))if(p(ve.byweekday))ve.byweekday=[ve.byweekday],ve.bynweekday=null;else if(C(ve.byweekday))ve.byweekday=[i.fromStr(ve.byweekday).weekday],ve.bynweekday=null;else if(ve.byweekday instanceof i)!ve.byweekday.n||ve.freq>Xn.MONTHLY?(ve.byweekday=[ve.byweekday.weekday],ve.bynweekday=null):(ve.bynweekday=[[ve.byweekday.weekday,ve.byweekday.n]],ve.byweekday=null);else{var ne=[],Me=[];for(at=0;at<ve.byweekday.length;at++){var We=ve.byweekday[at];p(We)?ne.push(We):C(We)?ne.push(i.fromStr(We).weekday):!We.n||ve.freq>Xn.MONTHLY?ne.push(We.weekday):Me.push([We.weekday,We.n])}ve.byweekday=R(ne)?ne:null,ve.bynweekday=R(Me)?Me:null}else ve.bynweekday=null;return d(ve.byhour)?p(ve.byhour)&&(ve.byhour=[ve.byhour]):ve.byhour=ve.freq<Xn.HOURLY?[ve.dtstart.getUTCHours()]:null,d(ve.byminute)?p(ve.byminute)&&(ve.byminute=[ve.byminute]):ve.byminute=ve.freq<Xn.MINUTELY?[ve.dtstart.getUTCMinutes()]:null,d(ve.bysecond)?p(ve.bysecond)&&(ve.bysecond=[ve.bysecond]):ve.bysecond=ve.freq<Xn.SECONDLY?[ve.dtstart.getUTCSeconds()]:null,{parsedOptions:ve}}(ve).parsedOptions;this.options=Rt}return Ne.parseText=function(ve,at){return he(ve,at)},Ne.fromText=function(ve,at){return function(Ne,ve){return void 0===ve&&(ve=gt),new Xn(he(Ne,ve)||void 0)}(ve,at)},Ne.fromString=function(ve){return new Ne(Ne.parseString(ve)||void 0)},Ne.prototype._iter=function(ve){return Ai(ve,this.options)},Ne.prototype._cacheGet=function(ve,at){return!!this._cache&&this._cache._cacheGet(ve,at)},Ne.prototype._cacheAdd=function(ve,at,Rt){if(this._cache)return this._cache._cacheAdd(ve,at,Rt)},Ne.prototype.all=function(ve){if(ve)return this._iter(new St("all",{},ve));var at=this._cacheGet("all");return!1===at&&(at=this._iter(new et("all",{})),this._cacheAdd("all",at)),at},Ne.prototype.between=function(ve,at,Rt,bn){if(void 0===Rt&&(Rt=!1),!ae(ve)||!ae(at))throw new Error("Invalid date passed in to RRule.between");var Fe={before:at,after:ve,inc:Rt};if(bn)return this._iter(new St("between",Fe,bn));var ne=this._cacheGet("between",Fe);return!1===ne&&(ne=this._iter(new et("between",Fe)),this._cacheAdd("between",ne,Fe)),ne},Ne.prototype.before=function(ve,at){if(void 0===at&&(at=!1),!ae(ve))throw new Error("Invalid date passed in to RRule.before");var Rt={dt:ve,inc:at},bn=this._cacheGet("before",Rt);return!1===bn&&(bn=this._iter(new et("before",Rt)),this._cacheAdd("before",bn,Rt)),bn},Ne.prototype.after=function(ve,at){if(void 0===at&&(at=!1),!ae(ve))throw new Error("Invalid date passed in to RRule.after");var Rt={dt:ve,inc:at},bn=this._cacheGet("after",Rt);return!1===bn&&(bn=this._iter(new et("after",Rt)),this._cacheAdd("after",bn,Rt)),bn},Ne.prototype.count=function(){return this.all().length},Ne.prototype.toString=function(){return Pt(this.origOptions)},Ne.prototype.toText=function(ve,at,Rt){return function(Ne,ve,at,Rt){return new X(Ne,ve,at,Rt).toString()}(this,ve,at,Rt)},Ne.prototype.isFullyConvertibleToText=function(){return Ye(this)},Ne.prototype.clone=function(){return new Ne(this.origOptions)},Ne.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],Ne.YEARLY=N.YEARLY,Ne.MONTHLY=N.MONTHLY,Ne.WEEKLY=N.WEEKLY,Ne.DAILY=N.DAILY,Ne.HOURLY=N.HOURLY,Ne.MINUTELY=N.MINUTELY,Ne.SECONDLY=N.SECONDLY,Ne.MO=Qn.MO,Ne.TU=Qn.TU,Ne.WE=Qn.WE,Ne.TH=Qn.TH,Ne.FR=Qn.FR,Ne.SA=Qn.SA,Ne.SU=Qn.SU,Ne.parseString=yn,Ne.optionsToString=Pt,Ne}(),ir={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null};function nn(Ne,ve){return void 0===ve&&(ve={}),function Ti(Ne,ve){var at=function Yi(Ne,ve){var at=[],Rt=[],bn=[],Fe=[],ne=An(Ne),Me=ne.dtstart,We=ne.tzid,Tt=function Lt(Ne,ve){if(void 0===ve&&(ve=!1),!(Ne=Ne&&Ne.trim()))throw new Error("Invalid empty string");if(!ve)return Ne.split(/\s/);for(var at=Ne.split("\n"),Rt=0;Rt<at.length;){var bn=at[Rt]=at[Rt].replace(/\s+$/g,"");bn?Rt>0&&" "===bn[0]?(at[Rt-1]+=bn.slice(1),at.splice(Rt,1)):Rt+=1:at.splice(Rt,1)}return at}(Ne,ve.unfold);return Tt.forEach(function(Wt){var _e;if(Wt){var je=function Ke(Ne){var ve=function Et(Ne){if(-1===Ne.indexOf(":"))return{name:"RRULE",value:Ne};var ve=function(Ne,ve,at){var Rt=Ne.split(":");return Rt.slice(0,1).concat([Rt.slice(1).join(":")])}(Ne);return{name:ve[0],value:ve[1]}}(Ne),Rt=ve.value,bn=ve.name.split(";");if(!bn)throw new Error("empty property name");return{name:bn[0].toUpperCase(),parms:bn.slice(1),value:Rt}}(Wt),E=je.name,te=je.parms,O=je.value;switch(E.toUpperCase()){case"RRULE":if(te.length)throw new Error("unsupported RRULE parm: ".concat(te.join(",")));at.push(yn(Wt));break;case"RDATE":var J=(null!==(_e=/RDATE(?:;TZID=([^:=]+))?/i.exec(Wt))&&void 0!==_e?_e:[])[1];J&&!We&&(We=J),Rt=Rt.concat(Un(O,te));break;case"EXRULE":if(te.length)throw new Error("unsupported EXRULE parm: ".concat(te.join(",")));bn.push(yn(O));break;case"EXDATE":Fe=Fe.concat(Un(O,te));break;case"DTSTART":break;default:throw new Error("unsupported property: "+E)}}}),{dtstart:Me,tzid:We,rrulevals:at,rdatevals:Rt,exrulevals:bn,exdatevals:Fe}}(Ne,ve),Rt=at.rrulevals,bn=at.rdatevals,Fe=at.exrulevals,ne=at.exdatevals,Me=at.dtstart,We=at.tzid,Tt=!1===ve.cache;if(ve.compatible&&(ve.forceset=!0,ve.unfold=!0),ve.forceset||Rt.length>1||bn.length||Fe.length||ne.length){var Wt=new En(Tt);return Wt.dtstart(Me),Wt.tzid(We||void 0),Rt.forEach(function(je){Wt.rrule(new Xn(Zt(je,Me,We),Tt))}),bn.forEach(function(je){Wt.rdate(je)}),Fe.forEach(function(je){Wt.exrule(new Xn(Zt(je,Me,We),Tt))}),ne.forEach(function(je){Wt.exdate(je)}),ve.compatible&&ve.dtstart&&Wt.rdate(Me),Wt}var _e=Rt[0]||{};return new Xn(Zt(_e,_e.dtstart||ve.dtstart||Me,_e.tzid||ve.tzid||We),Tt)}(Ne,function Ct(Ne){var ve=[],at=Object.keys(Ne),Rt=Object.keys(ir);if(at.forEach(function(bn){x(Rt,bn)||ve.push(bn)}),ve.length)throw new Error("Invalid options: "+ve.join(", "));return(0,de.pi)((0,de.pi)({},ir),Ne)}(ve))}function Zt(Ne,ve,at){return(0,de.pi)((0,de.pi)({},Ne),{dtstart:ve,tzid:at})}function Un(Ne,ve){return function ut(Ne){Ne.forEach(function(ve){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(ve))throw new Error("unsupported RDATE/EXDATE parm: "+ve)})}(ve),Ne.split(",").map(function(at){return U(at)})}function Ft(Ne){var ve=this;return function(at){if(void 0!==at&&(ve["_".concat(Ne)]=at),void 0!==ve["_".concat(Ne)])return ve["_".concat(Ne)];for(var Rt=0;Rt<ve._rrule.length;Rt++){var bn=ve._rrule[Rt].origOptions[Ne];if(bn)return bn}}}var En=function(Ne){function ve(at){void 0===at&&(at=!1);var Rt=Ne.call(this,{},at)||this;return Rt.dtstart=Ft.apply(Rt,["dtstart"]),Rt.tzid=Ft.apply(Rt,["tzid"]),Rt._rrule=[],Rt._rdate=[],Rt._exrule=[],Rt._exdate=[],Rt}return(0,de.ZT)(ve,Ne),ve.prototype._iter=function(at){return function Bi(Ne,ve,at,Rt,bn,Fe){var ne={},Me=Ne.accept;function We(je,E){at.forEach(function(te){te.between(je,E,!0).forEach(function(O){ne[Number(O)]=!0})})}bn.forEach(function(je){var E=new Xt(je,Fe).rezonedDate();ne[Number(E)]=!0}),Ne.accept=function(je){var E=Number(je);return isNaN(E)?Me.call(this,je):!(!ne[E]&&(We(new Date(E-1),new Date(E+1)),!ne[E]))||(ne[E]=!0,Me.call(this,je))},"between"===Ne.method&&(We(Ne.args.after,Ne.args.before),Ne.accept=function(je){var E=Number(je);return!!ne[E]||(ne[E]=!0,Me.call(this,je))});for(var Tt=0;Tt<Rt.length;Tt++){var Wt=new Xt(Rt[Tt],Fe).rezonedDate();if(!Ne.accept(new Date(Wt.getTime())))break}ve.forEach(function(je){Ai(Ne,je.options)});var _e=Ne._result;switch(Z(_e),Ne.method){case"all":case"between":return _e;case"before":return _e.length&&_e[_e.length-1]||null;default:return _e.length&&_e[0]||null}}(at,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},ve.prototype.rrule=function(at){ye(at,this._rrule)},ve.prototype.exrule=function(at){ye(at,this._exrule)},ve.prototype.rdate=function(at){Bt(at,this._rdate)},ve.prototype.exdate=function(at){Bt(at,this._exdate)},ve.prototype.rrules=function(){return this._rrule.map(function(at){return nn(at.toString())})},ve.prototype.exrules=function(){return this._exrule.map(function(at){return nn(at.toString())})},ve.prototype.rdates=function(){return this._rdate.map(function(at){return new Date(at.getTime())})},ve.prototype.exdates=function(){return this._exdate.map(function(at){return new Date(at.getTime())})},ve.prototype.valueOf=function(){var at=[];return!this._rrule.length&&this._dtstart&&(at=at.concat(Pt({dtstart:this._dtstart}))),this._rrule.forEach(function(Rt){at=at.concat(Rt.toString().split("\n"))}),this._exrule.forEach(function(Rt){at=at.concat(Rt.toString().split("\n").map(function(bn){return bn.replace(/^RRULE:/,"EXRULE:")}).filter(function(bn){return!/^DTSTART/.test(bn)}))}),this._rdate.length&&at.push(vn("RDATE",this._rdate,this.tzid())),this._exdate.length&&at.push(vn("EXDATE",this._exdate,this.tzid())),at},ve.prototype.toString=function(){return this.valueOf().join("\n")},ve.prototype.clone=function(){var at=new ve(!!this._cache);return this._rrule.forEach(function(Rt){return at.rrule(Rt.clone())}),this._exrule.forEach(function(Rt){return at.exrule(Rt.clone())}),this._rdate.forEach(function(Rt){return at.rdate(new Date(Rt.getTime()))}),this._exdate.forEach(function(Rt){return at.exdate(new Date(Rt.getTime()))}),at},ve}(Xn);function ye(Ne,ve){if(!(Ne instanceof Xn))throw new TypeError(String(Ne)+" is not RRule instance");x(ve.map(String),String(Ne))||ve.push(Ne)}function Bt(Ne,ve){if(!(Ne instanceof Date))throw new TypeError(String(Ne)+" is not Date instance");x(ve.map(Number),Number(Ne))||(ve.push(Ne),Z(ve))}function vn(Ne,ve,at){var Rt=!at||"UTC"===at.toUpperCase(),bn=Rt?"".concat(Ne,":"):"".concat(Ne,";TZID=").concat(at,":"),Fe=ve.map(function(ne){return V(ne.valueOf(),Rt)}).join(",");return"".concat(bn).concat(Fe)}},591:(ze,G,l)=>{"use strict";l.d(G,{X:()=>d});var a=l(8929),i=l(95279);class d extends a.xQ{constructor(C){super(),this._value=C}get value(){return this.getValue()}_subscribe(C){const f=super._subscribe(C);return f&&!f.closed&&C.next(this._value),f}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.N;return this._value}next(C){super.next(this._value=C)}}},51869:(ze,G,l)=>{"use strict";l.d(G,{d:()=>i});var a=l(43489);class i extends a.L{constructor(p,C,f){super(),this.parent=p,this.outerValue=C,this.outerIndex=f,this.index=0}_next(p){this.parent.notifyNext(this.outerValue,p,this.outerIndex,this.index++,this)}_error(p){this.parent.notifyError(p,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},29312:(ze,G,l)=>{"use strict";l.d(G,{P:()=>C});var a=l(68896),i=l(21086),d=l(61737);class C{constructor(v,b,m){this.kind=v,this.value=b,this.error=m,this.hasValue="N"===v}observe(v){switch(this.kind){case"N":return v.next&&v.next(this.value);case"E":return v.error&&v.error(this.error);case"C":return v.complete&&v.complete()}}do(v,b,m){switch(this.kind){case"N":return v&&v(this.value);case"E":return b&&b(this.error);case"C":return m&&m()}}accept(v,b,m){return v&&"function"==typeof v.next?this.observe(v):this.do(v,b,m)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,d._)(this.error);case"C":return(0,a.c)()}throw new Error("unexpected notification kind value")}static createNext(v){return void 0!==v?new C("N",v):C.undefinedValueNotification}static createError(v){return new C("E",void 0,v)}static createComplete(){return C.completeNotification}}C.completeNotification=new C("C"),C.undefinedValueNotification=new C("N",void 0)},32916:(ze,G,l)=>{"use strict";l.d(G,{y:()=>L});var a=l(43489),d=l(57668),p=l(73292),f=l(93821),v=l(35379);var I=l(92830);let L=(()=>{class D{constructor(B){this._isScalar=!1,B&&(this._subscribe=B)}lift(B){const R=new D;return R.source=this,R.operator=B,R}subscribe(B,R,x){const{operator:w}=this,k=function C(D,A,B){if(D){if(D instanceof a.L)return D;if(D[d.b])return D[d.b]()}return D||A||B?new a.L(D,A,B):new a.L(p.c)}(B,R,x);if(k.add(w?w.call(k,this.source):this.source||I.v.useDeprecatedSynchronousErrorHandling&&!k.syncErrorThrowable?this._subscribe(k):this._trySubscribe(k)),I.v.useDeprecatedSynchronousErrorHandling&&k.syncErrorThrowable&&(k.syncErrorThrowable=!1,k.syncErrorThrown))throw k.syncErrorValue;return k}_trySubscribe(B){try{return this._subscribe(B)}catch(R){I.v.useDeprecatedSynchronousErrorHandling&&(B.syncErrorThrown=!0,B.syncErrorValue=R),function i(D){for(;D;){const{closed:A,destination:B,isStopped:R}=D;if(A||R)return!1;D=B&&B instanceof a.L?B:null}return!0}(B)?B.error(R):console.warn(R)}}forEach(B,R){return new(R=M(R))((x,w)=>{let k;k=this.subscribe(H=>{try{B(H)}catch(j){w(j),k&&k.unsubscribe()}},w,x)})}_subscribe(B){const{source:R}=this;return R&&R.subscribe(B)}[f.L](){return this}pipe(...B){return 0===B.length?this:function m(D){return 0===D.length?v.y:1===D.length?D[0]:function(B){return D.reduce((R,x)=>x(R),B)}}(B)(this)}toPromise(B){return new(B=M(B))((R,x)=>{let w;this.subscribe(k=>w=k,k=>x(k),()=>R(w))})}}return D.create=A=>new D(A),D})();function M(D){if(D||(D=I.v.Promise||Promise),!D)throw new Error("no Promise impl found");return D}},73292:(ze,G,l)=>{"use strict";l.d(G,{c:()=>d});var a=l(92830),i=l(22782);const d={closed:!0,next(p){},error(p){if(a.v.useDeprecatedSynchronousErrorHandling)throw p;(0,i.z)(p)},complete(){}}},826:(ze,G,l)=>{"use strict";l.d(G,{L:()=>i});var a=l(43489);class i extends a.L{notifyNext(p,C,f,v,b){this.destination.next(C)}notifyError(p,C){this.destination.error(p)}notifyComplete(p){this.destination.complete()}}},8929:(ze,G,l)=>{"use strict";l.d(G,{Yc:()=>v,xQ:()=>b});var a=l(32916),i=l(43489),d=l(42654),p=l(95279),C=l(45283),f=l(57668);class v extends i.L{constructor(L){super(L),this.destination=L}}let b=(()=>{class I extends a.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f.b](){return new v(this)}lift(M){const D=new m(this,this);return D.operator=M,D}next(M){if(this.closed)throw new p.N;if(!this.isStopped){const{observers:D}=this,A=D.length,B=D.slice();for(let R=0;R<A;R++)B[R].next(M)}}error(M){if(this.closed)throw new p.N;this.hasError=!0,this.thrownError=M,this.isStopped=!0;const{observers:D}=this,A=D.length,B=D.slice();for(let R=0;R<A;R++)B[R].error(M);this.observers.length=0}complete(){if(this.closed)throw new p.N;this.isStopped=!0;const{observers:M}=this,D=M.length,A=M.slice();for(let B=0;B<D;B++)A[B].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(M){if(this.closed)throw new p.N;return super._trySubscribe(M)}_subscribe(M){if(this.closed)throw new p.N;return this.hasError?(M.error(this.thrownError),d.w.EMPTY):this.isStopped?(M.complete(),d.w.EMPTY):(this.observers.push(M),new C.W(this,M))}asObservable(){const M=new a.y;return M.source=this,M}}return I.create=(L,M)=>new m(L,M),I})();class m extends b{constructor(L,M){super(),this.destination=L,this.source=M}next(L){const{destination:M}=this;M&&M.next&&M.next(L)}error(L){const{destination:M}=this;M&&M.error&&this.destination.error(L)}complete(){const{destination:L}=this;L&&L.complete&&this.destination.complete()}_subscribe(L){const{source:M}=this;return M?this.source.subscribe(L):d.w.EMPTY}}},45283:(ze,G,l)=>{"use strict";l.d(G,{W:()=>i});var a=l(42654);class i extends a.w{constructor(p,C){super(),this.subject=p,this.subscriber=C,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const p=this.subject,C=p.observers;if(this.subject=null,!C||0===C.length||p.isStopped||p.closed)return;const f=C.indexOf(this.subscriber);-1!==f&&C.splice(f,1)}}},43489:(ze,G,l)=>{"use strict";l.d(G,{L:()=>v});var a=l(67043),i=l(73292),d=l(42654),p=l(57668),C=l(92830),f=l(22782);class v extends d.w{constructor(I,L,M){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!I){this.destination=i.c;break}if("object"==typeof I){I instanceof v?(this.syncErrorThrowable=I.syncErrorThrowable,this.destination=I,I.add(this)):(this.syncErrorThrowable=!0,this.destination=new b(this,I));break}default:this.syncErrorThrowable=!0,this.destination=new b(this,I,L,M)}}[p.b](){return this}static create(I,L,M){const D=new v(I,L,M);return D.syncErrorThrowable=!1,D}next(I){this.isStopped||this._next(I)}error(I){this.isStopped||(this.isStopped=!0,this._error(I))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(I){this.destination.next(I)}_error(I){this.destination.error(I),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:I}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=I,this}}class b extends v{constructor(I,L,M,D){super(),this._parentSubscriber=I;let A,B=this;(0,a.m)(L)?A=L:L&&(A=L.next,M=L.error,D=L.complete,L!==i.c&&(B=Object.create(L),(0,a.m)(B.unsubscribe)&&this.add(B.unsubscribe.bind(B)),B.unsubscribe=this.unsubscribe.bind(this))),this._context=B,this._next=A,this._error=M,this._complete=D}next(I){if(!this.isStopped&&this._next){const{_parentSubscriber:L}=this;C.v.useDeprecatedSynchronousErrorHandling&&L.syncErrorThrowable?this.__tryOrSetError(L,this._next,I)&&this.unsubscribe():this.__tryOrUnsub(this._next,I)}}error(I){if(!this.isStopped){const{_parentSubscriber:L}=this,{useDeprecatedSynchronousErrorHandling:M}=C.v;if(this._error)M&&L.syncErrorThrowable?(this.__tryOrSetError(L,this._error,I),this.unsubscribe()):(this.__tryOrUnsub(this._error,I),this.unsubscribe());else if(L.syncErrorThrowable)M?(L.syncErrorValue=I,L.syncErrorThrown=!0):(0,f.z)(I),this.unsubscribe();else{if(this.unsubscribe(),M)throw I;(0,f.z)(I)}}}complete(){if(!this.isStopped){const{_parentSubscriber:I}=this;if(this._complete){const L=()=>this._complete.call(this._context);C.v.useDeprecatedSynchronousErrorHandling&&I.syncErrorThrowable?(this.__tryOrSetError(I,L),this.unsubscribe()):(this.__tryOrUnsub(L),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(I,L){try{I.call(this._context,L)}catch(M){if(this.unsubscribe(),C.v.useDeprecatedSynchronousErrorHandling)throw M;(0,f.z)(M)}}__tryOrSetError(I,L,M){if(!C.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{L.call(this._context,M)}catch(D){return C.v.useDeprecatedSynchronousErrorHandling?(I.syncErrorValue=D,I.syncErrorThrown=!0,!0):((0,f.z)(D),!0)}return!1}_unsubscribe(){const{_parentSubscriber:I}=this;this._context=null,this._parentSubscriber=null,I.unsubscribe()}}},42654:(ze,G,l)=>{"use strict";l.d(G,{w:()=>f});var a=l(66688),i=l(57830),d=l(67043);const C=(()=>{function b(m){return Error.call(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((I,L)=>`${L+1}) ${I.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=m,this}return b.prototype=Object.create(Error.prototype),b})();class f{constructor(m){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,m&&(this._unsubscribe=m)}unsubscribe(){let m;if(this.closed)return;let{_parentOrParents:I,_unsubscribe:L,_subscriptions:M}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,I instanceof f)I.remove(this);else if(null!==I)for(let D=0;D<I.length;++D)I[D].remove(this);if((0,d.m)(L))try{L.call(this)}catch(D){m=D instanceof C?v(D.errors):[D]}if((0,a.k)(M)){let D=-1,A=M.length;for(;++D<A;){const B=M[D];if((0,i.K)(B))try{B.unsubscribe()}catch(R){m=m||[],R instanceof C?m=m.concat(v(R.errors)):m.push(R)}}}if(m)throw new C(m)}add(m){let I=m;if(!m)return f.EMPTY;switch(typeof m){case"function":I=new f(m);case"object":if(I===this||I.closed||"function"!=typeof I.unsubscribe)return I;if(this.closed)return I.unsubscribe(),I;if(!(I instanceof f)){const D=I;I=new f,I._subscriptions=[D]}break;default:throw new Error("unrecognized teardown "+m+" added to Subscription.")}let{_parentOrParents:L}=I;if(null===L)I._parentOrParents=this;else if(L instanceof f){if(L===this)return I;I._parentOrParents=[L,this]}else{if(-1!==L.indexOf(this))return I;L.push(this)}const M=this._subscriptions;return null===M?this._subscriptions=[I]:M.push(I),I}remove(m){const I=this._subscriptions;if(I){const L=I.indexOf(m);-1!==L&&I.splice(L,1)}}}var b;function v(b){return b.reduce((m,I)=>m.concat(I instanceof C?I.errors:I),[])}f.EMPTY=((b=new f).closed=!0,b)},92830:(ze,G,l)=>{"use strict";l.d(G,{v:()=>i});let a=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(d){if(d){const p=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+p.stack)}else a&&console.log("RxJS: Back to a better error behavior. Thank you. <3");a=d},get useDeprecatedSynchronousErrorHandling(){return a}}},71762:(ze,G,l)=>{"use strict";l.d(G,{N:()=>f,c:()=>C});var a=l(8929),i=l(32916),d=l(42654),p=l(74327);class C extends i.y{constructor(L,M){super(),this.source=L,this.subjectFactory=M,this._refCount=0,this._isComplete=!1}_subscribe(L){return this.getSubject().subscribe(L)}getSubject(){const L=this._subject;return(!L||L.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let L=this._connection;return L||(this._isComplete=!1,L=this._connection=new d.w,L.add(this.source.subscribe(new v(this.getSubject(),this))),L.closed&&(this._connection=null,L=d.w.EMPTY)),L}refCount(){return(0,p.x)()(this)}}const f=(()=>{const I=C.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:I._subscribe},_isComplete:{value:I._isComplete,writable:!0},getSubject:{value:I.getSubject},connect:{value:I.connect},refCount:{value:I.refCount}}})();class v extends a.Yc{constructor(L,M){super(L),this.connectable=M}_error(L){this._unsubscribe(),super._error(L)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const L=this.connectable;if(L){this.connectable=null;const M=L._connection;L._refCount=0,L._subject=null,L._connection=null,M&&M.unsubscribe()}}}},36053:(ze,G,l)=>{"use strict";l.d(G,{aj:()=>v});var a=l(72866),i=l(66688),d=l(826),p=l(69054),C=l(33009);const f={};function v(...I){let L=null,M=null;return(0,a.K)(I[I.length-1])&&(M=I.pop()),"function"==typeof I[I.length-1]&&(L=I.pop()),1===I.length&&(0,i.k)(I[0])&&(I=I[0]),(0,C.n)(I,M).lift(new b(L))}class b{constructor(L){this.resultSelector=L}call(L,M){return M.subscribe(new m(L,this.resultSelector))}}class m extends d.L{constructor(L,M){super(L),this.resultSelector=M,this.active=0,this.values=[],this.observables=[]}_next(L){this.values.push(f),this.observables.push(L)}_complete(){const L=this.observables,M=L.length;if(0===M)this.destination.complete();else{this.active=M,this.toRespond=M;for(let D=0;D<M;D++){const A=L[D];this.add((0,p.D)(this,A,A,D))}}}notifyComplete(L){0==(this.active-=1)&&this.destination.complete()}notifyNext(L,M,D,A,B){const R=this.values,w=this.toRespond?R[D]===f?--this.toRespond:this.toRespond:0;R[D]=M,0===w&&(this.resultSelector?this._tryResultSelector(R):this.destination.next(R.slice()))}_tryResultSelector(L){let M;try{M=this.resultSelector.apply(this,L)}catch(D){return void this.destination.error(D)}this.destination.next(M)}}},61221:(ze,G,l)=>{"use strict";l.d(G,{z:()=>p});var a=l(21086),i=l(89146);function p(...C){return function d(){return(0,i.J)(1)}()((0,a.of)(...C))}},88514:(ze,G,l)=>{"use strict";l.d(G,{P:()=>p});var a=l(32916),i=l(5254),d=l(68896);function p(C){return new a.y(f=>{let v;try{v=C()}catch(m){return void f.error(m)}return(v?(0,i.D)(v):(0,d.c)()).subscribe(f)})}},68896:(ze,G,l)=>{"use strict";l.d(G,{E:()=>i,c:()=>d});var a=l(32916);const i=new a.y(C=>C.complete());function d(C){return C?function p(C){return new a.y(f=>C.schedule(()=>f.complete()))}(C):i}},30567:(ze,G,l)=>{"use strict";l.d(G,{D:()=>f});var a=l(32916),i=l(66688),d=l(24850),p=l(57830),C=l(5254);function f(...b){if(1===b.length){const m=b[0];if((0,i.k)(m))return v(m,null);if((0,p.K)(m)&&Object.getPrototypeOf(m)===Object.prototype){const I=Object.keys(m);return v(I.map(L=>m[L]),I)}}if("function"==typeof b[b.length-1]){const m=b.pop();return v(b=1===b.length&&(0,i.k)(b[0])?b[0]:b,null).pipe((0,d.U)(I=>m(...I)))}return v(b,null)}function v(b,m){return new a.y(I=>{const L=b.length;if(0===L)return void I.complete();const M=new Array(L);let D=0,A=0;for(let B=0;B<L;B++){const R=(0,C.D)(b[B]);let x=!1;I.add(R.subscribe({next:w=>{x||(x=!0,A++),M[B]=w},error:w=>I.error(w),complete:()=>{D++,(D===L||!x)&&(A===L&&I.next(m?m.reduce((w,k,H)=>(w[k]=M[H],w),{}):M),I.complete())}}))}})}},5254:(ze,G,l)=>{"use strict";l.d(G,{D:()=>B});var a=l(32916),i=l(59249),d=l(42654),p=l(93821),v=l(66454),b=l(5430),L=l(98955),M=l(58515);function B(R,x){return x?function A(R,x){if(null!=R){if(function I(R){return R&&"function"==typeof R[p.L]}(R))return function C(R,x){return new a.y(w=>{const k=new d.w;return k.add(x.schedule(()=>{const H=R[p.L]();k.add(H.subscribe({next(j){k.add(x.schedule(()=>w.next(j)))},error(j){k.add(x.schedule(()=>w.error(j)))},complete(){k.add(x.schedule(()=>w.complete()))}}))})),k})}(R,x);if((0,L.t)(R))return function f(R,x){return new a.y(w=>{const k=new d.w;return k.add(x.schedule(()=>R.then(H=>{k.add(x.schedule(()=>{w.next(H),k.add(x.schedule(()=>w.complete()))}))},H=>{k.add(x.schedule(()=>w.error(H)))}))),k})}(R,x);if((0,M.z)(R))return(0,v.r)(R,x);if(function D(R){return R&&"function"==typeof R[b.hZ]}(R)||"string"==typeof R)return function m(R,x){if(!R)throw new Error("Iterable cannot be null");return new a.y(w=>{const k=new d.w;let H;return k.add(()=>{H&&"function"==typeof H.return&&H.return()}),k.add(x.schedule(()=>{H=R[b.hZ](),k.add(x.schedule(function(){if(w.closed)return;let j,z;try{const le=H.next();j=le.value,z=le.done}catch(le){return void w.error(le)}z?w.complete():(w.next(j),this.schedule())}))})),k})}(R,x)}throw new TypeError((null!==R&&typeof R||R)+" is not observable")}(R,x):R instanceof a.y?R:new a.y((0,i.s)(R))}},33009:(ze,G,l)=>{"use strict";l.d(G,{n:()=>p});var a=l(32916),i=l(13650),d=l(66454);function p(C,f){return f?(0,d.r)(C,f):new a.y((0,i.V)(C))}},23753:(ze,G,l)=>{"use strict";l.d(G,{R:()=>f});var a=l(32916),i=l(66688),d=l(67043),p=l(24850);function f(L,M,D,A){return(0,d.m)(D)&&(A=D,D=void 0),A?f(L,M,D).pipe((0,p.U)(B=>(0,i.k)(B)?A(...B):A(B))):new a.y(B=>{v(L,M,function R(x){B.next(arguments.length>1?Array.prototype.slice.call(arguments):x)},B,D)})}function v(L,M,D,A,B){let R;if(function I(L){return L&&"function"==typeof L.addEventListener&&"function"==typeof L.removeEventListener}(L)){const x=L;L.addEventListener(M,D,B),R=()=>x.removeEventListener(M,D,B)}else if(function m(L){return L&&"function"==typeof L.on&&"function"==typeof L.off}(L)){const x=L;L.on(M,D),R=()=>x.off(M,D)}else if(function b(L){return L&&"function"==typeof L.addListener&&"function"==typeof L.removeListener}(L)){const x=L;L.addListener(M,D),R=()=>x.removeListener(M,D)}else{if(!L||!L.length)throw new TypeError("Invalid event target");for(let x=0,w=L.length;x<w;x++)v(L[x],M,D,A,B)}A.add(R)}},36787:(ze,G,l)=>{"use strict";l.d(G,{T:()=>C});var a=l(32916),i=l(72866),d=l(89146),p=l(33009);function C(...f){let v=Number.POSITIVE_INFINITY,b=null,m=f[f.length-1];return(0,i.K)(m)?(b=f.pop(),f.length>1&&"number"==typeof f[f.length-1]&&(v=f.pop())):"number"==typeof m&&(v=f.pop()),null===b&&1===f.length&&f[0]instanceof a.y?f[0]:(0,d.J)(v)((0,p.n)(f,b))}},21086:(ze,G,l)=>{"use strict";l.d(G,{of:()=>p});var a=l(72866),i=l(33009),d=l(66454);function p(...C){let f=C[C.length-1];return(0,a.K)(f)?(C.pop(),(0,d.r)(C,f)):(0,i.n)(C)}},61737:(ze,G,l)=>{"use strict";l.d(G,{_:()=>i});var a=l(32916);function i(p,C){return new a.y(C?f=>C.schedule(d,0,{error:p,subscriber:f}):f=>f.error(p))}function d({error:p,subscriber:C}){C.error(p)}},86926:(ze,G,l)=>{"use strict";l.d(G,{e:()=>M});var a=l(20353),i=l(826),d=l(69054);class C{constructor(A){this.durationSelector=A}call(A,B){return B.subscribe(new f(A,this.durationSelector))}}class f extends i.L{constructor(A,B){super(A),this.durationSelector=B,this.hasValue=!1}_next(A){if(this.value=A,this.hasValue=!0,!this.throttled){let B;try{const{durationSelector:x}=this;B=x(A)}catch(x){return this.destination.error(x)}const R=(0,d.D)(this,B);!R||R.closed?this.clearThrottle():this.add(this.throttled=R)}}clearThrottle(){const{value:A,hasValue:B,throttled:R}=this;R&&(this.remove(R),this.throttled=null,R.unsubscribe()),B&&(this.value=null,this.hasValue=!1,this.destination.next(A))}notifyNext(A,B,R,x){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var v=l(32916),b=l(84241),m=l(72866);function L(D){const{index:A,period:B,subscriber:R}=D;if(R.next(A),!R.closed){if(-1===B)return R.complete();D.index=A+1,this.schedule(D,B)}}function M(D,A=a.P){return function p(D){return function(B){return B.lift(new C(D))}}(()=>function I(D=0,A,B){let R=-1;return(0,b.k)(A)?R=Number(A)<1?1:Number(A):(0,m.K)(A)&&(B=A),(0,m.K)(B)||(B=a.P),new v.y(x=>{const w=(0,b.k)(D)?D:+D-B.now();return B.schedule(L,w,{index:0,period:R,subscriber:x})})}(D,A))}},27221:(ze,G,l)=>{"use strict";l.d(G,{K:()=>p});var a=l(826),i=l(51869),d=l(69054);function p(v){return function(m){const I=new C(v),L=m.lift(I);return I.caught=L}}class C{constructor(b){this.selector=b}call(b,m){return m.subscribe(new f(b,this.selector,this.caught))}}class f extends a.L{constructor(b,m,I){super(b),this.selector=m,this.caught=I}error(b){if(!this.isStopped){let m;try{m=this.selector(b,this.caught)}catch(M){return void super.error(M)}this._unsubscribeAndRecycle();const I=new i.d(this,void 0,void 0);this.add(I);const L=(0,d.D)(this,m,void 0,void 0,I);L!==I&&this.add(L)}}}},21406:(ze,G,l)=>{"use strict";l.d(G,{b:()=>i});var a=l(61709);function i(d,p){return(0,a.zg)(d,p,1)}},80013:(ze,G,l)=>{"use strict";l.d(G,{b:()=>d});var a=l(43489),i=l(20353);function d(v,b=i.P){return m=>m.lift(new p(v,b))}class p{constructor(b,m){this.dueTime=b,this.scheduler=m}call(b,m){return m.subscribe(new C(b,this.dueTime,this.scheduler))}}class C extends a.L{constructor(b,m,I){super(b),this.dueTime=m,this.scheduler=I,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(b){this.clearDebounce(),this.lastValue=b,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(f,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:b}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(b)}}clearDebounce(){const b=this.debouncedSubscription;null!==b&&(this.remove(b),b.unsubscribe(),this.debouncedSubscription=null)}}function f(v){v.debouncedNext()}},47314:(ze,G,l)=>{"use strict";l.d(G,{d:()=>i});var a=l(43489);function i(C=null){return f=>f.lift(new d(C))}class d{constructor(f){this.defaultValue=f}call(f,v){return v.subscribe(new p(f,this.defaultValue))}}class p extends a.L{constructor(f,v){super(f),this.defaultValue=v,this.isEmpty=!0}_next(f){this.isEmpty=!1,this.destination.next(f)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},18583:(ze,G,l)=>{"use strict";l.d(G,{g:()=>C});var a=l(20353),d=l(43489),p=l(29312);function C(m,I=a.P){const M=function i(m){return m instanceof Date&&!isNaN(+m)}(m)?+m-I.now():Math.abs(m);return D=>D.lift(new f(M,I))}class f{constructor(I,L){this.delay=I,this.scheduler=L}call(I,L){return L.subscribe(new v(I,this.delay,this.scheduler))}}class v extends d.L{constructor(I,L,M){super(I),this.delay=L,this.scheduler=M,this.queue=[],this.active=!1,this.errored=!1}static dispatch(I){const L=I.source,M=L.queue,D=I.scheduler,A=I.destination;for(;M.length>0&&M[0].time-D.now()<=0;)M.shift().notification.observe(A);if(M.length>0){const B=Math.max(0,M[0].time-D.now());this.schedule(I,B)}else this.unsubscribe(),L.active=!1}_schedule(I){this.active=!0,this.destination.add(I.schedule(v.dispatch,this.delay,{source:this,destination:this.destination,scheduler:I}))}scheduleNotification(I){if(!0===this.errored)return;const L=this.scheduler,M=new b(L.now()+this.delay,I);this.queue.push(M),!1===this.active&&this._schedule(L)}_next(I){this.scheduleNotification(p.P.createNext(I))}_error(I){this.errored=!0,this.queue=[],this.destination.error(I),this.unsubscribe()}_complete(){this.scheduleNotification(p.P.createComplete()),this.unsubscribe()}}class b{constructor(I,L){this.time=I,this.notification=L}}},75778:(ze,G,l)=>{"use strict";l.d(G,{x:()=>i});var a=l(43489);function i(C,f){return v=>v.lift(new d(C,f))}class d{constructor(f,v){this.compare=f,this.keySelector=v}call(f,v){return v.subscribe(new p(f,this.compare,this.keySelector))}}class p extends a.L{constructor(f,v,b){super(f),this.keySelector=b,this.hasKey=!1,"function"==typeof v&&(this.compare=v)}compare(f,v){return f===v}_next(f){let v;try{const{keySelector:m}=this;v=m?m(f):f}catch(m){return this.destination.error(m)}let b=!1;if(this.hasKey)try{const{compare:m}=this;b=m(this.key,v)}catch(m){return this.destination.error(m)}else this.hasKey=!0;b||(this.key=v,this.destination.next(f))}}},92198:(ze,G,l)=>{"use strict";l.d(G,{h:()=>i});var a=l(43489);function i(C,f){return function(b){return b.lift(new d(C,f))}}class d{constructor(f,v){this.predicate=f,this.thisArg=v}call(f,v){return v.subscribe(new p(f,this.predicate,this.thisArg))}}class p extends a.L{constructor(f,v,b){super(f),this.predicate=v,this.thisArg=b,this.count=0}_next(f){let v;try{v=this.predicate.call(this.thisArg,f,this.count++)}catch(b){return void this.destination.error(b)}v&&this.destination.next(f)}}},40537:(ze,G,l)=>{"use strict";l.d(G,{x:()=>d});var a=l(43489),i=l(42654);function d(f){return v=>v.lift(new p(f))}class p{constructor(v){this.callback=v}call(v,b){return b.subscribe(new C(v,this.callback))}}class C extends a.L{constructor(v,b){super(v),this.add(new i.w(b))}}},87224:(ze,G,l)=>{"use strict";l.d(G,{P:()=>v});var a=l(84450),i=l(92198),d=l(72986),p=l(47314),C=l(34907),f=l(35379);function v(b,m){const I=arguments.length>=2;return L=>L.pipe(b?(0,i.h)((M,D)=>b(M,D,L)):f.y,(0,d.q)(1),I?(0,p.d)(m):(0,C.T)(()=>new a.K))}},24850:(ze,G,l)=>{"use strict";l.d(G,{U:()=>i});var a=l(43489);function i(C,f){return function(b){if("function"!=typeof C)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return b.lift(new d(C,f))}}class d{constructor(f,v){this.project=f,this.thisArg=v}call(f,v){return v.subscribe(new p(f,this.project,this.thisArg))}}class p extends a.L{constructor(f,v,b){super(f),this.project=v,this.count=0,this.thisArg=b||this}_next(f){let v;try{v=this.project.call(this.thisArg,f,this.count++)}catch(b){return void this.destination.error(b)}this.destination.next(v)}}},89146:(ze,G,l)=>{"use strict";l.d(G,{J:()=>d});var a=l(61709),i=l(35379);function d(p=Number.POSITIVE_INFINITY){return(0,a.zg)(i.y,p)}},61709:(ze,G,l)=>{"use strict";l.d(G,{zg:()=>f});var a=l(69054),i=l(826),d=l(51869),p=l(24850),C=l(5254);function f(m,I,L=Number.POSITIVE_INFINITY){return"function"==typeof I?M=>M.pipe(f((D,A)=>(0,C.D)(m(D,A)).pipe((0,p.U)((B,R)=>I(D,B,A,R))),L)):("number"==typeof I&&(L=I),M=>M.lift(new v(m,L)))}class v{constructor(I,L=Number.POSITIVE_INFINITY){this.project=I,this.concurrent=L}call(I,L){return L.subscribe(new b(I,this.project,this.concurrent))}}class b extends i.L{constructor(I,L,M=Number.POSITIVE_INFINITY){super(I),this.project=L,this.concurrent=M,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(I){this.active<this.concurrent?this._tryNext(I):this.buffer.push(I)}_tryNext(I){let L;const M=this.index++;try{L=this.project(I,M)}catch(D){return void this.destination.error(D)}this.active++,this._innerSub(L,I,M)}_innerSub(I,L,M){const D=new d.d(this,L,M),A=this.destination;A.add(D);const B=(0,a.D)(this,I,void 0,void 0,D);B!==D&&A.add(B)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(I,L,M,D,A){this.destination.next(L)}notifyComplete(I){const L=this.buffer;this.remove(I),this.active--,L.length>0?this._next(L.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},57770:(ze,G,l)=>{"use strict";l.d(G,{QV:()=>d,ht:()=>C});var a=l(43489),i=l(29312);function d(v,b=0){return function(I){return I.lift(new p(v,b))}}class p{constructor(b,m=0){this.scheduler=b,this.delay=m}call(b,m){return m.subscribe(new C(b,this.scheduler,this.delay))}}class C extends a.L{constructor(b,m,I=0){super(b),this.scheduler=m,this.delay=I}static dispatch(b){const{notification:m,destination:I}=b;m.observe(I),this.unsubscribe()}scheduleMessage(b){this.destination.add(this.scheduler.schedule(C.dispatch,this.delay,new f(b,this.destination)))}_next(b){this.scheduleMessage(i.P.createNext(b))}_error(b){this.scheduleMessage(i.P.createError(b)),this.unsubscribe()}_complete(){this.scheduleMessage(i.P.createComplete()),this.unsubscribe()}}class f{constructor(b,m){this.notification=b,this.destination=m}}},74327:(ze,G,l)=>{"use strict";l.d(G,{x:()=>i});var a=l(43489);function i(){return function(f){return f.lift(new d(f))}}class d{constructor(f){this.connectable=f}call(f,v){const{connectable:b}=this;b._refCount++;const m=new p(f,b),I=v.subscribe(m);return m.closed||(m.connection=b.connect()),I}}class p extends a.L{constructor(f,v){super(f),this.connectable=v}_unsubscribe(){const{connectable:f}=this;if(!f)return void(this.connection=null);this.connectable=null;const v=f._refCount;if(v<=0)return void(this.connection=null);if(f._refCount=v-1,v>1)return void(this.connection=null);const{connection:b}=this,m=f._connection;this.connection=null,m&&(!b||m===b)&&m.unsubscribe()}}},12474:(ze,G,l)=>{"use strict";l.d(G,{B:()=>v});var a=l(71762);class d{constructor(m,I){this.subjectFactory=m,this.selector=I}call(m,I){const{selector:L}=this,M=this.subjectFactory(),D=L(M).subscribe(m);return D.add(I.subscribe(M)),D}}var p=l(74327),C=l(8929);function f(){return new C.xQ}function v(){return b=>(0,p.x)()(function i(b,m){return function(L){let M;if(M="function"==typeof b?b:function(){return b},"function"==typeof m)return L.lift(new d(M,m));const D=Object.create(L,a.N);return D.source=L,D.subjectFactory=M,D}}(f)(b))}},31307:(ze,G,l)=>{"use strict";l.d(G,{T:()=>i});var a=l(43489);function i(C){return f=>f.lift(new d(C))}class d{constructor(f){this.total=f}call(f,v){return v.subscribe(new p(f,this.total))}}class p extends a.L{constructor(f,v){super(f),this.total=v,this.count=0}_next(f){++this.count>this.total&&this.destination.next(f)}}},1059:(ze,G,l)=>{"use strict";l.d(G,{O:()=>d});var a=l(61221),i=l(72866);function d(...p){const C=p[p.length-1];return(0,i.K)(C)?(p.pop(),f=>(0,a.z)(p,f,C)):f=>(0,a.z)(p,f)}},87545:(ze,G,l)=>{"use strict";l.d(G,{w:()=>f});var a=l(826),i=l(51869),d=l(69054),p=l(24850),C=l(5254);function f(m,I){return"function"==typeof I?L=>L.pipe(f((M,D)=>(0,C.D)(m(M,D)).pipe((0,p.U)((A,B)=>I(M,A,D,B))))):L=>L.lift(new v(m))}class v{constructor(I){this.project=I}call(I,L){return L.subscribe(new b(I,this.project))}}class b extends a.L{constructor(I,L){super(I),this.project=L,this.index=0}_next(I){let L;const M=this.index++;try{L=this.project(I,M)}catch(D){return void this.destination.error(D)}this._innerSub(L,I,M)}_innerSub(I,L,M){const D=this.innerSubscription;D&&D.unsubscribe();const A=new i.d(this,L,M),B=this.destination;B.add(A),this.innerSubscription=(0,d.D)(this,I,void 0,void 0,A),this.innerSubscription!==A&&B.add(this.innerSubscription)}_complete(){const{innerSubscription:I}=this;(!I||I.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(I){this.destination.remove(I),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(I,L,M,D,A){this.destination.next(L)}}},72986:(ze,G,l)=>{"use strict";l.d(G,{q:()=>p});var a=l(43489),i=l(94231),d=l(68896);function p(v){return b=>0===v?(0,d.c)():b.lift(new C(v))}class C{constructor(b){if(this.total=b,this.total<0)throw new i.W}call(b,m){return m.subscribe(new f(b,this.total))}}class f extends a.L{constructor(b,m){super(b),this.total=m,this.count=0}_next(b){const m=this.total,I=++this.count;I<=m&&(this.destination.next(b),I===m&&(this.destination.complete(),this.unsubscribe()))}}},7625:(ze,G,l)=>{"use strict";l.d(G,{R:()=>d});var a=l(826),i=l(69054);function d(f){return v=>v.lift(new p(f))}class p{constructor(v){this.notifier=v}call(v,b){const m=new C(v),I=(0,i.D)(m,this.notifier);return I&&!m.seenValue?(m.add(I),b.subscribe(m)):m}}class C extends a.L{constructor(v){super(v),this.seenValue=!1}notifyNext(v,b,m,I,L){this.seenValue=!0,this.complete()}notifyComplete(){}}},22868:(ze,G,l)=>{"use strict";l.d(G,{b:()=>p});var a=l(43489);function i(){}var d=l(67043);function p(v,b,m){return function(L){return L.lift(new C(v,b,m))}}class C{constructor(b,m,I){this.nextOrObserver=b,this.error=m,this.complete=I}call(b,m){return m.subscribe(new f(b,this.nextOrObserver,this.error,this.complete))}}class f extends a.L{constructor(b,m,I,L){super(b),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=I||i,this._tapComplete=L||i,(0,d.m)(m)?(this._context=this,this._tapNext=m):m&&(this._context=m,this._tapNext=m.next||i,this._tapError=m.error||i,this._tapComplete=m.complete||i)}_next(b){try{this._tapNext.call(this._context,b)}catch(m){return void this.destination.error(m)}this.destination.next(b)}_error(b){try{this._tapError.call(this._context,b)}catch(m){return void this.destination.error(m)}this.destination.error(b)}_complete(){try{this._tapComplete.call(this._context)}catch(b){return void this.destination.error(b)}return this.destination.complete()}}},34907:(ze,G,l)=>{"use strict";l.d(G,{T:()=>d});var a=l(84450),i=l(43489);function d(v=f){return b=>b.lift(new p(v))}class p{constructor(b){this.errorFactory=b}call(b,m){return m.subscribe(new C(b,this.errorFactory))}}class C extends i.L{constructor(b,m){super(b),this.errorFactory=m,this.hasValue=!1}_next(b){this.hasValue=!0,this.destination.next(b)}_complete(){if(this.hasValue)return this.destination.complete();{let b;try{b=this.errorFactory()}catch(m){b=m}this.destination.error(b)}}}function f(){return new a.K}},66454:(ze,G,l)=>{"use strict";l.d(G,{r:()=>d});var a=l(32916),i=l(42654);function d(p,C){return new a.y(f=>{const v=new i.w;let b=0;return v.add(C.schedule(function(){b!==p.length?(f.next(p[b++]),f.closed||v.add(this.schedule())):f.complete()})),v})}},56686:(ze,G,l)=>{"use strict";l.d(G,{o:()=>d});var a=l(42654);class i extends a.w{constructor(C,f){super()}schedule(C,f=0){return this}}class d extends i{constructor(C,f){super(C,f),this.scheduler=C,this.work=f,this.pending=!1}schedule(C,f=0){if(this.closed)return this;this.state=C;const v=this.id,b=this.scheduler;return null!=v&&(this.id=this.recycleAsyncId(b,v,f)),this.pending=!0,this.delay=f,this.id=this.id||this.requestAsyncId(b,this.id,f),this}requestAsyncId(C,f,v=0){return setInterval(C.flush.bind(C,this),v)}recycleAsyncId(C,f,v=0){if(null!==v&&this.delay===v&&!1===this.pending)return f;clearInterval(f)}execute(C,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(C,f);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(C,f){let b,v=!1;try{this.work(C)}catch(m){v=!0,b=!!m&&m||new Error(m)}if(v)return this.unsubscribe(),b}_unsubscribe(){const C=this.id,f=this.scheduler,v=f.actions,b=v.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==b&&v.splice(b,1),null!=C&&(this.id=this.recycleAsyncId(f,C,null)),this.delay=null}}},32268:(ze,G,l)=>{"use strict";l.d(G,{v:()=>i});let a=(()=>{class d{constructor(C,f=d.now){this.SchedulerAction=C,this.now=f}schedule(C,f=0,v){return new this.SchedulerAction(this,C).schedule(v,f)}}return d.now=()=>Date.now(),d})();class i extends a{constructor(p,C=a.now){super(p,()=>i.delegate&&i.delegate!==this?i.delegate.now():C()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(p,C=0,f){return i.delegate&&i.delegate!==this?i.delegate.schedule(p,C,f):super.schedule(p,C,f)}flush(p){const{actions:C}=this;if(this.active)return void C.push(p);let f;this.active=!0;do{if(f=p.execute(p.state,p.delay))break}while(p=C.shift());if(this.active=!1,f){for(;p=C.shift();)p.unsubscribe();throw f}}}},8139:(ze,G,l)=>{"use strict";l.d(G,{e:()=>L});let a=1;const i=Promise.resolve(),d={};function p(M){return M in d&&(delete d[M],!0)}const C={setImmediate(M){const D=a++;return d[D]=!0,i.then(()=>p(D)&&M()),D},clearImmediate(M){p(M)}};var v=l(56686),m=l(32268);const L=new class I extends m.v{flush(D){this.active=!0,this.scheduled=void 0;const{actions:A}=this;let B,R=-1,x=A.length;D=D||A.shift();do{if(B=D.execute(D.state,D.delay))break}while(++R<x&&(D=A.shift()));if(this.active=!1,B){for(;++R<x&&(D=A.shift());)D.unsubscribe();throw B}}}(class b extends v.o{constructor(D,A){super(D,A),this.scheduler=D,this.work=A}requestAsyncId(D,A,B=0){return null!==B&&B>0?super.requestAsyncId(D,A,B):(D.actions.push(this),D.scheduled||(D.scheduled=C.setImmediate(D.flush.bind(D,null))))}recycleAsyncId(D,A,B=0){if(null!==B&&B>0||null===B&&this.delay>0)return super.recycleAsyncId(D,A,B);0===D.actions.length&&(C.clearImmediate(A),D.scheduled=void 0)}})},20353:(ze,G,l)=>{"use strict";l.d(G,{P:()=>d});var a=l(56686);const d=new(l(32268).v)(a.o)},30341:(ze,G,l)=>{"use strict";l.d(G,{c:()=>C});var a=l(56686),d=l(32268);const C=new class p extends d.v{}(class i extends a.o{constructor(v,b){super(v,b),this.scheduler=v,this.work=b}schedule(v,b=0){return b>0?super.schedule(v,b):(this.delay=b,this.state=v,this.scheduler.flush(this),this)}execute(v,b){return b>0||this.closed?super.execute(v,b):this._execute(v,b)}requestAsyncId(v,b,m=0){return null!==m&&m>0||null===m&&this.delay>0?super.requestAsyncId(v,b,m):v.flush(this)}})},5430:(ze,G,l)=>{"use strict";l.d(G,{hZ:()=>i});const i=function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},93821:(ze,G,l)=>{"use strict";l.d(G,{L:()=>a});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},57668:(ze,G,l)=>{"use strict";l.d(G,{b:()=>a});const a="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},94231:(ze,G,l)=>{"use strict";l.d(G,{W:()=>i});const i=(()=>{function d(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return d.prototype=Object.create(Error.prototype),d})()},84450:(ze,G,l)=>{"use strict";l.d(G,{K:()=>i});const i=(()=>{function d(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return d.prototype=Object.create(Error.prototype),d})()},95279:(ze,G,l)=>{"use strict";l.d(G,{N:()=>i});const i=(()=>{function d(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return d.prototype=Object.create(Error.prototype),d})()},22782:(ze,G,l)=>{"use strict";function a(i){setTimeout(()=>{throw i},0)}l.d(G,{z:()=>a})},35379:(ze,G,l)=>{"use strict";function a(i){return i}l.d(G,{y:()=>a})},66688:(ze,G,l)=>{"use strict";l.d(G,{k:()=>a});const a=Array.isArray||(i=>i&&"number"==typeof i.length)},58515:(ze,G,l)=>{"use strict";l.d(G,{z:()=>a});const a=i=>i&&"number"==typeof i.length&&"function"!=typeof i},67043:(ze,G,l)=>{"use strict";function a(i){return"function"==typeof i}l.d(G,{m:()=>a})},84241:(ze,G,l)=>{"use strict";l.d(G,{k:()=>i});var a=l(66688);function i(d){return!(0,a.k)(d)&&d-parseFloat(d)+1>=0}},57830:(ze,G,l)=>{"use strict";function a(i){return null!==i&&"object"==typeof i}l.d(G,{K:()=>a})},98955:(ze,G,l)=>{"use strict";function a(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}l.d(G,{t:()=>a})},72866:(ze,G,l)=>{"use strict";function a(i){return i&&"function"==typeof i.schedule}l.d(G,{K:()=>a})},59249:(ze,G,l)=>{"use strict";l.d(G,{s:()=>L});var a=l(13650),i=l(22782),p=l(5430),f=l(93821),b=l(58515),m=l(98955),I=l(57830);const L=M=>{if(M&&"function"==typeof M[f.L])return(M=>D=>{const A=M[f.L]();if("function"!=typeof A.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return A.subscribe(D)})(M);if((0,b.z)(M))return(0,a.V)(M);if((0,m.t)(M))return(M=>D=>(M.then(A=>{D.closed||(D.next(A),D.complete())},A=>D.error(A)).then(null,i.z),D))(M);if(M&&"function"==typeof M[p.hZ])return(M=>D=>{const A=M[p.hZ]();for(;;){const B=A.next();if(B.done){D.complete();break}if(D.next(B.value),D.closed)break}return"function"==typeof A.return&&D.add(()=>{A.return&&A.return()}),D})(M);{const A=`You provided ${(0,I.K)(M)?"an invalid object":`'${M}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(A)}}},13650:(ze,G,l)=>{"use strict";l.d(G,{V:()=>a});const a=i=>d=>{for(let p=0,C=i.length;p<C&&!d.closed;p++)d.next(i[p]);d.complete()}},69054:(ze,G,l)=>{"use strict";l.d(G,{D:()=>p});var a=l(51869),i=l(59249),d=l(32916);function p(C,f,v,b,m=new a.d(C,v,b)){if(!m.closed)return f instanceof d.y?f.subscribe(m):(0,i.s)(f)(m)}},66678:(ze,G,l)=>{"use strict";function C(_e,je,E,te){var J,O=arguments.length,T=O<3?je:null===te?te=Object.getOwnPropertyDescriptor(je,E):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)T=Reflect.decorate(_e,je,E,te);else for(var me=_e.length-1;me>=0;me--)(J=_e[me])&&(T=(O<3?J(T):O>3?J(je,E,T):J(je,E))||T);return O>3&&T&&Object.defineProperty(je,E,T),T}function f(_e,je){return function(E,te){je(E,te,_e)}}l.d(G,{_A:()=>Ln,sG:()=>zn,BW:()=>ut,zI:()=>at,Pd:()=>Me,o4:()=>ne,Cq:()=>Wt});var $=l(70925),y=l(5e3),ae=l(8929),ge=l(42654),Ve=l(36787),$e=l(21086),Be=l(15664),Ee=l(92845),Ie=l(47429),Re=l(69808),Ge=l(47423),it=l(90508),Se=l(50226),Z=l(88514),V=l(92198),U=l(72986),fe=l(1059),pe=l(41777),He=l(91159),et=l(76360);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function de(_e,je){}class lt{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const St={dialogContainer:(0,pe.X$)("dialogContainer",[(0,pe.SB)("void, exit",(0,pe.oB)({opacity:0,transform:"scale(0.7)"})),(0,pe.SB)("enter",(0,pe.oB)({transform:"none"})),(0,pe.eR)("* => enter",(0,pe.ru)([(0,pe.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,pe.oB)({transform:"none",opacity:1})),(0,pe.IO)("@*",(0,pe.pV)(),{optional:!0})])),(0,pe.eR)("* => void, * => exit",(0,pe.ru)([(0,pe.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,pe.oB)({opacity:0})),(0,pe.IO)("@*",(0,pe.pV)(),{optional:!0})]))])};let gt=(()=>{class _e extends Ie.en{constructor(E,te,O,T,J,me,pt,bt){super(),this._elementRef=E,this._focusTrapFactory=te,this._changeDetectorRef=O,this._config=J,this._interactivityChecker=me,this._ngZone=pt,this._focusMonitor=bt,this._animationStateChanged=new y.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=It=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(It)),this._ariaLabelledBy=J.ariaLabelledBy||null,this._document=T}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,$.ht)())}attachComponentPortal(E){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(E)}attachTemplatePortal(E){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(E)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(E,te){this._interactivityChecker.isFocusable(E)||(E.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const O=()=>{E.removeEventListener("blur",O),E.removeEventListener("mousedown",O),E.removeAttribute("tabindex")};E.addEventListener("blur",O),E.addEventListener("mousedown",O)})),E.focus(te)}_focusByCssSelector(E,te){let O=this._elementRef.nativeElement.querySelector(E);O&&this._forceFocus(O,te)}_trapFocus(){const E=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||E.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(te=>{te||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const E=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&E&&"function"==typeof E.focus){const te=(0,$.ht)(),O=this._elementRef.nativeElement;(!te||te===this._document.body||te===O||O.contains(te))&&(this._focusMonitor?(this._focusMonitor.focusVia(E,this._closeInteractionType),this._closeInteractionType=null):E.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const E=this._elementRef.nativeElement,te=(0,$.ht)();return E===te||E.contains(te)}}return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(y.SBq),y.Y36(Be.qV),y.Y36(y.sBO),y.Y36(Re.K0,8),y.Y36(lt),y.Y36(Be.ic),y.Y36(y.R0b),y.Y36(Be.tE))},_e.\u0275dir=y.lG2({type:_e,viewQuery:function(E,te){if(1&E&&y.Gf(Ie.Pl,7),2&E){let O;y.iGM(O=y.CRH())&&(te._portalOutlet=O.first)}},features:[y.qOj]}),_e})(),yt=(()=>{class _e extends gt{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:E,totalTime:te}){"enter"===E?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:te})):"exit"===E&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:te}))}_onAnimationStart({toState:E,totalTime:te}){"enter"===E?this._animationStateChanged.next({state:"opening",totalTime:te}):("exit"===E||"void"===E)&&this._animationStateChanged.next({state:"closing",totalTime:te})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return _e.\u0275fac=function(){let je;return function(te){return(je||(je=y.n5z(_e)))(te||_e)}}(),_e.\u0275cmp=y.Xpm({type:_e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(E,te){1&E&&y.WFA("@dialogContainer.start",function(T){return te._onAnimationStart(T)})("@dialogContainer.done",function(T){return te._onAnimationDone(T)}),2&E&&(y.Ikx("id",te._id),y.uIk("role",te._config.role)("aria-labelledby",te._config.ariaLabel?null:te._ariaLabelledBy)("aria-label",te._config.ariaLabel)("aria-describedby",te._config.ariaDescribedBy||null),y.d8E("@dialogContainer",te._state))},features:[y.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(E,te){1&E&&y.YNc(0,de,0,0,"ng-template",0)},directives:[Ie.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[St.dialogContainer]}}),_e})(),Je=0;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class ct{constructor(je,E,te="mat-dialog-"+Je++){this._overlayRef=je,this._containerInstance=E,this.id=te,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new ae.xQ,this._afterClosed=new ae.xQ,this._beforeClosed=new ae.xQ,this._state=0,E._id=te,E._animationStateChanged.pipe((0,V.h)(O=>"opened"===O.state),(0,U.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),E._animationStateChanged.pipe((0,V.h)(O=>"closed"===O.state),(0,U.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),je.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),je.keydownEvents().pipe((0,V.h)(O=>O.keyCode===He.hY&&!this.disableClose&&!(0,He.Vb)(O))).subscribe(O=>{O.preventDefault(),Xe(this,"keyboard")}),je.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Xe(this,"mouse")})}close(je){this._result=je,this._containerInstance._animationStateChanged.pipe((0,V.h)(E=>"closing"===E.state),(0,U.q)(1)).subscribe(E=>{this._beforeClosed.next(je),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),E.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(je){let E=this._getPositionStrategy();return je&&(je.left||je.right)?je.left?E.left(je.left):E.right(je.right):E.centerHorizontally(),je&&(je.top||je.bottom)?je.top?E.top(je.top):E.bottom(je.bottom):E.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(je="",E=""){return this._overlayRef.updateSize({width:je,height:E}),this._overlayRef.updatePosition(),this}addPanelClass(je){return this._overlayRef.addPanelClass(je),this}removePanelClass(je){return this._overlayRef.removePanelClass(je),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Xe(_e,je,E){return void 0!==_e._containerInstance&&(_e._containerInstance._closeInteractionType=je),_e.close(E)
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}const X=new y.OlP("MatDialogData"),xe=new y.OlP("mat-dialog-default-options"),he=new y.OlP("mat-dialog-scroll-strategy"),Y={provide:he,deps:[Ee.aV],useFactory:function F(_e){return()=>_e.scrollStrategies.block()}};let re=(()=>{class _e{constructor(E,te,O,T,J,me,pt,bt,It,qt){this._overlay=E,this._injector=te,this._defaultOptions=O,this._parentDialog=T,this._overlayContainer=J,this._dialogRefConstructor=pt,this._dialogContainerType=bt,this._dialogDataToken=It,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new ae.xQ,this._afterOpenedAtThisLevel=new ae.xQ,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Z.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,fe.O)(void 0))),this._scrollStrategy=me}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const E=this._parentDialog;return E?E._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(E,te){te=function Ye(_e,je){return Object.assign(Object.assign({},je),_e)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(te,this._defaultOptions||new lt),te.id&&this.getDialogById(te.id);const O=this._createOverlay(te),T=this._attachDialogContainer(O,te),J=this._attachDialogContent(E,T,O,te);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(J),J.afterClosed().subscribe(()=>this._removeOpenDialog(J)),this.afterOpened.next(J),T._initializeWithAttachedContent(),J}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(E){return this.openDialogs.find(te=>te.id===E)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(E){const te=this._getOverlayConfig(E);return this._overlay.create(te)}_getOverlayConfig(E){const te=new Ee.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:E.scrollStrategy||this._scrollStrategy(),panelClass:E.panelClass,hasBackdrop:E.hasBackdrop,direction:E.direction,minWidth:E.minWidth,minHeight:E.minHeight,maxWidth:E.maxWidth,maxHeight:E.maxHeight,disposeOnNavigation:E.closeOnNavigation});return E.backdropClass&&(te.backdropClass=E.backdropClass),te}_attachDialogContainer(E,te){const T=y.zs3.create({parent:te&&te.viewContainerRef&&te.viewContainerRef.injector||this._injector,providers:[{provide:lt,useValue:te}]}),J=new Ie.C5(this._dialogContainerType,te.viewContainerRef,T,te.componentFactoryResolver);return E.attach(J).instance}_attachDialogContent(E,te,O,T){const J=new this._dialogRefConstructor(O,te,T.id);if(E instanceof y.Rgc)te.attachTemplatePortal(new Ie.UE(E,null,{$implicit:T.data,dialogRef:J}));else{const me=this._createInjector(T,J,te),pt=te.attachComponentPortal(new Ie.C5(E,T.viewContainerRef,me,T.componentFactoryResolver));J.componentInstance=pt.instance}return J.updateSize(T.width,T.height).updatePosition(T.position),J}_createInjector(E,te,O){const T=E&&E.viewContainerRef&&E.viewContainerRef.injector,J=[{provide:this._dialogContainerType,useValue:O},{provide:this._dialogDataToken,useValue:E.data},{provide:this._dialogRefConstructor,useValue:te}];return E.direction&&(!T||!T.get(Se.Is,null,y.XFs.Optional))&&J.push({provide:Se.Is,useValue:{value:E.direction,change:(0,$e.of)()}}),y.zs3.create({parent:T||this._injector,providers:J})}_removeOpenDialog(E){const te=this.openDialogs.indexOf(E);te>-1&&(this.openDialogs.splice(te,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((O,T)=>{O?T.setAttribute("aria-hidden",O):T.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const E=this._overlayContainer.getContainerElement();if(E.parentElement){const te=E.parentElement.children;for(let O=te.length-1;O>-1;O--){let T=te[O];T!==E&&"SCRIPT"!==T.nodeName&&"STYLE"!==T.nodeName&&!T.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(T,T.getAttribute("aria-hidden")),T.setAttribute("aria-hidden","true"))}}}_closeDialogs(E){let te=E.length;for(;te--;)E[te].close()}}return _e.\u0275fac=function(E){y.$Z()},_e.\u0275dir=y.lG2({type:_e}),_e})(),Oe=(()=>{class _e extends re{constructor(E,te,O,T,J,me,pt,bt){super(E,te,T,me,pt,J,ct,yt,X,bt)}}return _e.\u0275fac=function(E){return new(E||_e)(y.LFG(Ee.aV),y.LFG(y.zs3),y.LFG(Re.Ye,8),y.LFG(xe,8),y.LFG(he),y.LFG(_e,12),y.LFG(Ee.Xj),y.LFG(et.Qb,8))},_e.\u0275prov=y.Yz7({token:_e,factory:_e.\u0275fac}),_e})(),An=(()=>{class _e{}return _e.\u0275fac=function(E){return new(E||_e)},_e.\u0275mod=y.oAB({type:_e}),_e.\u0275inj=y.cJS({providers:[Oe,Y],imports:[[Ee.U8,Ie.eL,it.BQ],it.BQ]}),_e})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var Nn=l(63191),In=l(93075),wn=l(67322),Wn=l(98833);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Bn=["sat-calendar-body",""];function Xt(_e,je){if(1&_e&&(y.TgZ(0,"tr",2)(1,"td",3),y._uU(2),y.qZA()()),2&_e){const E=y.oxw();y.xp6(1),y.Udp("padding-top",E._cellPadding)("padding-bottom",E._cellPadding),y.uIk("colspan",E.numCols),y.xp6(1),y.hij(" ",E.label," ")}}function Pt(_e,je){if(1&_e&&(y.TgZ(0,"td",7),y._uU(1),y.qZA()),2&_e){const E=y.oxw(2);y.Udp("padding-top",E._cellPadding)("padding-bottom",E._cellPadding),y.uIk("colspan",E._firstRowOffset),y.xp6(1),y.hij(" ",E._firstRowOffset>=E.labelMinRequiredCells?E.label:""," ")}}function ht(_e,je){if(1&_e){const E=y.EpF();y.TgZ(0,"td",8),y.NdJ("click",function(){const T=y.CHM(E).$implicit;return y.oxw(2)._cellClicked(T)})("mouseover",function(){const T=y.CHM(E).$implicit;return y.oxw(2)._mouseOverCell(T)}),y.TgZ(1,"div",9),y._uU(2),y.qZA()()}if(2&_e){const E=je.$implicit,te=je.index,O=y.oxw().index,T=y.oxw();y.Udp("width",T._cellWidth)("padding-top",T._cellPadding)("padding-bottom",T._cellPadding),y.ekj("mat-calendar-body-disabled",!E.enabled)("mat-calendar-body-active",T._isActiveCell(O,te))("mat-calendar-body-begin-range",T._isBegin(E.value))("mat-calendar-body-end-range",T._isEnd(E.value))("mat-calendar-cell-semi-selected",T._isSemiSelected(E.value)||T._isBetweenOverAndBegin(E.value))("mat-calendar-cell-over",T._previewCellOver(E.value)),y.Q6J("ngClass",E.cssClasses)("tabindex",T._isActiveCell(O,te)?0:-1),y.uIk("aria-label",E.ariaLabel)("aria-disabled",!E.enabled||null)("aria-selected",T.selectedValue===E.value),y.xp6(1),y.ekj("mat-calendar-body-selected",T.begin===E.value||T.end===E.value||T.selectedValue===E.value)("mat-calendar-body-semi-selected",T._isSemiSelected(E.value))("mat-calendar-body-today",T.todayValue===E.value),y.xp6(1),y.hij(" ",E.displayValue," ")}}function be(_e,je){if(1&_e&&(y.TgZ(0,"tr",4),y.YNc(1,Pt,2,6,"td",5),y.YNc(2,ht,3,30,"td",6),y.qZA()),2&_e){const E=je.$implicit,te=je.index,O=y.oxw();y.xp6(1),y.Q6J("ngIf",0===te&&O._firstRowOffset),y.xp6(1),y.Q6J("ngForOf",E)}}function Ze(_e,je){if(1&_e&&(y.TgZ(0,"th"),y._uU(1),y.qZA()),2&_e){const E=je.$implicit;y.uIk("aria-label",E.long),y.xp6(1),y.Oqu(E.narrow)}}const _t=["*"];function st(_e,je){}function Ut(_e,je){if(1&_e){const E=y.EpF();y.TgZ(0,"sat-month-view",5),y.NdJ("activeDateChange",function(O){return y.CHM(E),y.oxw().activeDate=O})("selectedChange",function(O){return y.CHM(E),y.oxw()._dateSelected(O)})("_userSelection",function(){return y.CHM(E),y.oxw()._userSelected()}),y.qZA()}if(2&_e){const E=y.oxw();y.Q6J("activeDate",E.activeDate)("selected",E.selected)("beginDate",E.beginDate)("endDate",E.endDate)("rangeMode",E.rangeMode)("closeAfterSelection",E.closeAfterSelection)("rangeHoverEffect",E.rangeHoverEffect)("dateFilter",E.dateFilter)("maxDate",E.maxDate)("minDate",E.minDate)("dateClass",E.dateClass)("beginDateSelected",E.beginDateSelected)}}function Ht(_e,je){if(1&_e){const E=y.EpF();y.TgZ(0,"sat-year-view",6),y.NdJ("activeDateChange",function(O){return y.CHM(E),y.oxw().activeDate=O})("monthSelected",function(O){return y.CHM(E),y.oxw()._monthSelectedInYearView(O)})("selectedChange",function(O){return y.CHM(E),y.oxw()._goToDateInView(O,"month")}),y.qZA()}if(2&_e){const E=y.oxw();y.Q6J("activeDate",E.activeDate)("selected",E.selected)("dateFilter",E.dateFilter)("maxDate",E.maxDate)("minDate",E.minDate)}}function dn(_e,je){if(1&_e){const E=y.EpF();y.TgZ(0,"sat-multi-year-view",7),y.NdJ("activeDateChange",function(O){return y.CHM(E),y.oxw().activeDate=O})("yearSelected",function(O){return y.CHM(E),y.oxw()._yearSelectedInMultiYearView(O)})("selectedChange",function(O){return y.CHM(E),y.oxw()._goToDateInView(O,"year")}),y.qZA()}if(2&_e){const E=y.oxw();y.Q6J("activeDate",E.activeDate)("selected",E.selected)("dateFilter",E.dateFilter)("maxDate",E.maxDate)("minDate",E.minDate)}}function jt(_e,je){}new y.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function sn(){return(0,y.f3M)(y.soG)}});class Ln{constructor(){this._localeChanges=new ae.xQ}get localeChanges(){return this._localeChanges}deserialize(je){return null==je||this.isDateInstance(je)&&this.isValid(je)?je:this.invalid()}setLocale(je){this.locale=je,this._localeChanges.next()}compareDate(je,E){return this.getYear(je)-this.getYear(E)||this.getMonth(je)-this.getMonth(E)||this.getDate(je)-this.getDate(E)}sameDate(je,E){if(je&&E){let te=this.isValid(je),O=this.isValid(E);return te&&O?!this.compareDate(je,E):te==O}return je==E}clampDate(je,E,te){return E&&this.compareDate(je,E)<0?E:te&&this.compareDate(je,te)>0?te:je}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const zn=new y.OlP("mat-date-formats");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let hi;try{hi="undefined"!=typeof Intl}catch(_e){hi=!1}function cn(_e){return Error(`SatDatepicker: No provider found for ${_e}. You must import one of the following modules at your application root: SatNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}!function Kn(_e,je){const E=Array(_e);for(let te=0;te<_e;te++)E[te]=je(te);return E}(31,_e=>String(_e+1));let qn=class{constructor(){this.changes=new ae.xQ,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}};qn.\u0275fac=function(je){return new(je||qn)},qn.\u0275prov=y.Yz7({token:qn,factory:function(_e){return qn.\u0275fac(_e)},providedIn:"root"}),qn.ngInjectableDef=(0,y.Yz7)({factory:function(){return new qn},token:qn,providedIn:"root"});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Qn{constructor(je,E,te,O,T){this.value=je,this.displayValue=E,this.ariaLabel=te,this.enabled=O,this.cssClasses=T}}let fi=(()=>{let _e=class{constructor(E,te){this._elementRef=E,this._ngZone=te,this.rangeHoverEffect=!0,this.rangeMode=!1,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new y.vpe}_cellClicked(E){E.enabled&&this.selectedValueChange.emit(E.value)}_mouseOverCell(E){this.rangeHoverEffect&&(this._cellOver=E.value)}ngOnChanges(E){const te=E.numCols,{rows:O,numCols:T}=this;(E.rows||te)&&(this._firstRowOffset=O&&O.length&&O[0].length?T-O[0].length:0),(E.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/T+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/T+"%"),E.activeCell&&(this._cellOver=this.activeCell+1)}_isActiveCell(E,te){let O=E*this.numCols+te;return E&&(O-=this._firstRowOffset),O==this.activeCell}_isSemiSelected(E){return!!this.rangeMode&&(!!this.rangeFull||E!==this.begin&&E!==this.end&&(this.begin&&!this.end?E>this.begin:(this.end&&!this.begin||E>this.begin)&&E<this.end))}_isBetweenOverAndBegin(E){return!!(this._cellOver&&this.rangeMode&&this.beginSelected)&&(this.isBeforeSelected&&!this.begin?E>this._cellOver:this._cellOver>this.begin?E>this.begin&&E<this._cellOver:this._cellOver<this.begin&&E<this.begin&&E>this._cellOver)}_isBegin(E){return this.rangeMode&&this.beginSelected&&this._cellOver?this.isBeforeSelected&&!this.begin?this._cellOver===E:this.begin===E&&!(this._cellOver<this.begin)||this._cellOver===E&&this._cellOver<this.begin:this.begin===E}_isEnd(E){return this.rangeMode&&this.beginSelected&&this._cellOver?!(this.isBeforeSelected&&!this.begin)&&(this.end===E&&!(this._cellOver>this.begin)||this._cellOver===E&&this._cellOver>this.begin):this.end===E}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe((0,U.q)(1)).subscribe(()=>{const E=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");E&&E.focus()})})}_previewCellOver(E){return this._cellOver===E&&this.rangeMode&&this.beginSelected}};
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(y.SBq),y.Y36(y.R0b))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["","sat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{rangeHoverEffect:"rangeHoverEffect",rangeMode:"rangeMode",numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",begin:"begin",end:"end",beginSelected:"beginSelected",isBeforeSelected:"isBeforeSelected",rangeFull:"rangeFull",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[y.TTD],attrs:Bn,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-begin-range","mat-calendar-body-end-range","mat-calendar-cell-semi-selected","mat-calendar-cell-over","width","paddingTop","paddingBottom","click","mouseover",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","mouseover"],[1,"mat-calendar-body-cell-content"]],template:function(E,te){1&E&&(y.YNc(0,Xt,3,6,"tr",0),y.YNc(1,be,3,2,"tr",1)),2&E&&(y.Q6J("ngIf",te._firstRowOffset<te.labelMinRequiredCells),y.xp6(1),y.Q6J("ngForOf",te.rows))},directives:[Re.O5,Re.sg,Re.mk],styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}[dir=rtl] .mat-calendar-body-label{text-align:right}"],encapsulation:2,changeDetection:0}),C([(0,y.IIB)()],_e.prototype,"label",void 0),C([(0,y.IIB)()],_e.prototype,"rangeHoverEffect",void 0),C([(0,y.IIB)()],_e.prototype,"rows",void 0),C([(0,y.IIB)()],_e.prototype,"todayValue",void 0),C([(0,y.IIB)()],_e.prototype,"selectedValue",void 0),C([(0,y.IIB)()],_e.prototype,"begin",void 0),C([(0,y.IIB)()],_e.prototype,"end",void 0),C([(0,y.IIB)()],_e.prototype,"beginSelected",void 0),C([(0,y.IIB)()],_e.prototype,"isBeforeSelected",void 0),C([(0,y.IIB)()],_e.prototype,"rangeFull",void 0),C([(0,y.IIB)()],_e.prototype,"rangeMode",void 0),C([(0,y.IIB)()],_e.prototype,"labelMinRequiredCells",void 0),C([(0,y.IIB)()],_e.prototype,"numCols",void 0),C([(0,y.IIB)()],_e.prototype,"activeCell",void 0),C([(0,y.IIB)()],_e.prototype,"cellAspectRatio",void 0),C([(0,y.r_U)()],_e.prototype,"selectedValueChange",void 0),_e})(),Xn=(()=>{let _e=class{constructor(E,te,O,T){if(this._changeDetectorRef=E,this._dateFormats=te,this._dateAdapter=O,this._dir=T,this.rangeMode=!1,this.rangeHoverEffect=!0,this.closeAfterSelection=!0,this._rangeFull=!1,this.selectedChange=new y.vpe,this._userSelection=new y.vpe,this.activeDateChange=new y.vpe,!this._dateAdapter)throw cn("DateAdapter");if(!this._dateFormats)throw cn("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get beginDate(){return this._beginDate}set beginDate(E){this._beginDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E)),this.updateRangeSpecificValues()}get endDate(){return this._endDate}set endDate(E){this._endDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E)),this.updateRangeSpecificValues()}set beginDateSelected(E){this._beginDateSelected=E}get activeDate(){return this._activeDate}set activeDate(E){const te=this._activeDate,O=this._getValidDateOrNull(this._dateAdapter.deserialize(E))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(O,this.minDate,this.maxDate),this._hasSameMonthAndYear(te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(E){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(E)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(E){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get maxDate(){return this._maxDate}set maxDate(E){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}ngAfterContentInit(){this._init()}_dateSelected(E){if(this.rangeMode){const te=this._dateAdapter.getYear(this.activeDate),O=this._dateAdapter.getMonth(this.activeDate),T=this._dateAdapter.createDate(te,O,E);this._beginDateSelected?(this._beginDateSelected=null,this.selectedChange.emit(T),this._userSelection.emit()):(this._beginDateSelected=T,this.selectedChange.emit(T)),this._createWeekCells(),this.activeDate=T,this._focusActiveCell()}else if(this._selectedDate!=E){const te=this._dateAdapter.getYear(this.activeDate),O=this._dateAdapter.getMonth(this.activeDate),T=this._dateAdapter.createDate(te,O,E);this.selectedChange.emit(T),this._userSelection.emit(),this._createWeekCells()}}_handleCalendarBodyKeydown(E){const te=this._activeDate,O=this._isRtl();switch(E.keyCode){case He.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,O?1:-1);break;case He.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,O?-1:1);break;case He.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case He.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case He.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case He.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case He.Ku:this.activeDate=E.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case He.VM:this.activeDate=E.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case He.K5:case He.L_:return void((!this.dateFilter||this.dateFilter(this._activeDate))&&(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._beginDateSelected||this._userSelection.emit(),(this._beginDateSelected||!this.closeAfterSelection)&&this._focusActiveCell(),E.preventDefault()));default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),E.preventDefault()}_init(){this.updateRangeSpecificValues(),this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let E=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(E)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const E=this._dateAdapter.getFirstDayOfWeek(),te=this._dateAdapter.getDayOfWeekNames("narrow");let T=this._dateAdapter.getDayOfWeekNames("long").map((J,me)=>({long:J,narrow:te[me]}));this._weekdays=T.slice(E).concat(T.slice(0,E))}_createWeekCells(){const E=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let O=0,T=this._firstWeekOffset;O<E;O++,T++){7==T&&(this._weeks.push([]),T=0);const J=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),O+1),me=this._shouldEnableDate(J),pt=this._dateAdapter.format(J,this._dateFormats.display.dateA11yLabel),bt=this.dateClass?this.dateClass(J):void 0;this._weeks[this._weeks.length-1].push(new Qn(O+1,te[O],pt,me,bt))}}_shouldEnableDate(E){return!!E&&(!this.dateFilter||this.dateFilter(E))&&(!this.minDate||this._dateAdapter.compareDate(E,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(E,this.maxDate)<=0)}_getDateInCurrentMonth(E){return E&&this._hasSameMonthAndYear(E,this.activeDate)?this._dateAdapter.getDate(E):null}_hasSameMonthAndYear(E,te){return!(!E||!te||this._dateAdapter.getMonth(E)!=this._dateAdapter.getMonth(te)||this._dateAdapter.getYear(E)!=this._dateAdapter.getYear(te))}_getValidDateOrNull(E){return this._dateAdapter.isDateInstance(E)&&this._dateAdapter.isValid(E)?E:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}updateRangeSpecificValues(){this.rangeMode?(this._beginDateNumber=this._getDateInCurrentMonth(this._beginDate),this._endDateNumber=this._getDateInCurrentMonth(this._endDate),this._rangeFull=this.beginDate&&this.endDate&&!this._beginDateNumber&&!this._endDateNumber&&this._dateAdapter.compareDate(this.beginDate,this.activeDate)<=0&&this._dateAdapter.compareDate(this.activeDate,this.endDate)<=0):(this._beginDateNumber=this._endDateNumber=null,this._rangeFull=!1)}};
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(y.sBO),y.Y36(zn,8),y.Y36(Ln,8),y.Y36(Se.Is,8))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-month-view"]],viewQuery:function(E,te){if(1&E&&y.Gf(fi,5),2&E){let O;y.iGM(O=y.CRH())&&(te._matCalendarBody=O.first)}},inputs:{rangeMode:"rangeMode",rangeHoverEffect:"rangeHoverEffect",closeAfterSelection:"closeAfterSelection",beginDate:"beginDate",endDate:"endDate",beginDateSelected:"beginDateSelected",activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:14,consts:[[1,"mat-calendar-table"],[1,"mat-calendar-table-header"],[4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["sat-calendar-body","",3,"label","rows","todayValue","selectedValue","begin","end","beginSelected","isBeforeSelected","rangeFull","rangeMode","rangeHoverEffect","labelMinRequiredCells","activeCell","selectedValueChange","keydown"]],template:function(E,te){1&E&&(y.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),y.YNc(3,Ze,2,2,"th",2),y.qZA(),y.TgZ(4,"tr"),y._UZ(5,"th",3),y.qZA()(),y.TgZ(6,"tbody",4),y.NdJ("selectedValueChange",function(T){return te._dateSelected(T)})("keydown",function(T){return te._handleCalendarBodyKeydown(T)}),y.qZA()()),2&E&&(y.xp6(3),y.Q6J("ngForOf",te._weekdays),y.xp6(3),y.Q6J("label",te._monthLabel)("rows",te._weeks)("todayValue",te._todayDate)("selectedValue",te._selectedDate)("begin",te._beginDateNumber)("end",te._endDateNumber)("beginSelected",te._beginDateSelected)("isBeforeSelected",te._beginDateSelected&&te._dateAdapter.compareDate(te.activeDate,te._beginDateSelected)<0)("rangeFull",te._rangeFull)("rangeMode",te.rangeMode)("rangeHoverEffect",te.rangeHoverEffect)("labelMinRequiredCells",3)("activeCell",te._dateAdapter.getDate(te.activeDate)-1))},directives:[Re.sg,fi],encapsulation:2,changeDetection:0}),C([(0,y.IIB)()],_e.prototype,"beginDate",null),C([(0,y.IIB)()],_e.prototype,"endDate",null),C([(0,y.IIB)()],_e.prototype,"rangeMode",void 0),C([(0,y.IIB)()],_e.prototype,"rangeHoverEffect",void 0),C([(0,y.IIB)()],_e.prototype,"closeAfterSelection",void 0),C([(0,y.IIB)()],_e.prototype,"beginDateSelected",null),C([(0,y.IIB)()],_e.prototype,"activeDate",null),C([(0,y.IIB)()],_e.prototype,"selected",null),C([(0,y.IIB)()],_e.prototype,"minDate",null),C([(0,y.IIB)()],_e.prototype,"maxDate",null),C([(0,y.IIB)()],_e.prototype,"dateFilter",void 0),C([(0,y.IIB)()],_e.prototype,"dateClass",void 0),C([(0,y.r_U)()],_e.prototype,"selectedChange",void 0),C([(0,y.r_U)()],_e.prototype,"_userSelection",void 0),C([(0,y.r_U)()],_e.prototype,"activeDateChange",void 0),C([(0,y.i9L)(fi,{static:!1})],_e.prototype,"_matCalendarBody",void 0),_e=C([f(1,(0,y.FiY)()),f(1,(0,y.tBr)(zn)),f(2,(0,y.FiY)()),f(3,(0,y.FiY)())],_e),_e})(),Yi=(()=>{let _e=class{constructor(E,te,O){if(this._changeDetectorRef=E,this._dateAdapter=te,this._dir=O,this.selectedChange=new y.vpe,this.yearSelected=new y.vpe,this.activeDateChange=new y.vpe,!this._dateAdapter)throw cn("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(E){let te=this._activeDate;const O=this._getValidDateOrNull(this._dateAdapter.deserialize(E))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(O,this.minDate,this.maxDate),Ti(this._dateAdapter,te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(E){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(E)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(E){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get maxDate(){return this._maxDate}set maxDate(E){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}ngAfterContentInit(){this._init()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const te=this._dateAdapter.getYear(this._activeDate)-nn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let O=0,T=[];O<24;O++)T.push(te+O),4==T.length&&(this._years.push(T.map(J=>this._createCellForYear(J))),T=[]);this._changeDetectorRef.markForCheck()}_yearSelected(E){this.yearSelected.emit(this._dateAdapter.createDate(E,0,1));let te=this._dateAdapter.getMonth(this.activeDate),O=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(E,te,1));this.selectedChange.emit(this._dateAdapter.createDate(E,te,Math.min(this._dateAdapter.getDate(this.activeDate),O)))}_handleCalendarBodyKeydown(E){const te=this._activeDate,O=this._isRtl();switch(E.keyCode){case He.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,O?1:-1);break;case He.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,O?-1:1);break;case He.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case He.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case He.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case He.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-nn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case He.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,E.altKey?-240:-24);break;case He.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,E.altKey?240:24);break;case He.K5:case He.L_:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),E.preventDefault()}_getActiveCell(){return nn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(E){let te=this._dateAdapter.getYearName(this._dateAdapter.createDate(E,0,1));return new Qn(E,te,te,this._shouldEnableYear(E))}_shouldEnableYear(E){if(null==E||this.maxDate&&E>this._dateAdapter.getYear(this.maxDate)||this.minDate&&E<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let O=this._dateAdapter.createDate(E,0,1);this._dateAdapter.getYear(O)==E;O=this._dateAdapter.addCalendarDays(O,1))if(this.dateFilter(O))return!0;return!1}_getValidDateOrNull(E){return this._dateAdapter.isDateInstance(E)&&this._dateAdapter.isValid(E)?E:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}};return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(y.sBO),y.Y36(Ln,8),y.Y36(Se.Is,8))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-multi-year-view"]],viewQuery:function(E,te){if(1&E&&y.Gf(fi,5),2&E){let O;y.iGM(O=y.CRH())&&(te._matCalendarBody=O.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:6,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["sat-calendar-body","",3,"rows","todayValue","selectedValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(E,te){1&E&&(y.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),y._UZ(3,"th",2),y.qZA()(),y.TgZ(4,"tbody",3),y.NdJ("selectedValueChange",function(T){return te._yearSelected(T)})("keydown",function(T){return te._handleCalendarBodyKeydown(T)}),y.qZA()()),2&E&&(y.xp6(4),y.Q6J("rows",te._years)("todayValue",te._todayYear)("selectedValue",te._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",te._getActiveCell()))},directives:[fi],encapsulation:2,changeDetection:0}),C([(0,y.IIB)()],_e.prototype,"activeDate",null),C([(0,y.IIB)()],_e.prototype,"selected",null),C([(0,y.IIB)()],_e.prototype,"minDate",null),C([(0,y.IIB)()],_e.prototype,"maxDate",null),C([(0,y.IIB)()],_e.prototype,"dateFilter",void 0),C([(0,y.r_U)()],_e.prototype,"selectedChange",void 0),C([(0,y.r_U)()],_e.prototype,"yearSelected",void 0),C([(0,y.r_U)()],_e.prototype,"activeDateChange",void 0),C([(0,y.i9L)(fi,{static:!1})],_e.prototype,"_matCalendarBody",void 0),_e=C([f(1,(0,y.FiY)()),f(2,(0,y.FiY)())],_e),_e})();function Ti(_e,je,E,te,O){const T=_e.getYear(je),J=_e.getYear(E),me=Zt(_e,te,O);return Math.floor((T-me)/24)===Math.floor((J-me)/24)}function nn(_e,je,E,te){return function Ct(_e,je){return(_e%je+je)%je}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(_e.getYear(je)-Zt(_e,E,te),24)}function Zt(_e,je,E){let te=0;return E?te=_e.getYear(E)-24+1:je&&(te=_e.getYear(je)),te}let Et=(()=>{let _e=class{constructor(E,te,O,T){if(this._changeDetectorRef=E,this._dateFormats=te,this._dateAdapter=O,this._dir=T,this.selectedChange=new y.vpe,this.monthSelected=new y.vpe,this.activeDateChange=new y.vpe,!this._dateAdapter)throw cn("DateAdapter");if(!this._dateFormats)throw cn("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(E){let te=this._activeDate;const O=this._getValidDateOrNull(this._dateAdapter.deserialize(E))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(O,this.minDate,this.maxDate),this._dateAdapter.getYear(te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(E){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(E)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(E){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get maxDate(){return this._maxDate}set maxDate(E){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}ngAfterContentInit(){this._init()}_monthSelected(E){const te=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),E,1);this.monthSelected.emit(te);const O=this._dateAdapter.getNumDaysInMonth(te);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),E,Math.min(this._dateAdapter.getDate(this.activeDate),O)))}_handleCalendarBodyKeydown(E){const te=this._activeDate,O=this._isRtl();switch(E.keyCode){case He.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,O?1:-1);break;case He.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,O?-1:1);break;case He.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case He.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case He.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case He.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case He.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,E.altKey?-10:-1);break;case He.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,E.altKey?10:1);break;case He.K5:case He.L_:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),E.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let E=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(te=>te.map(O=>this._createCellForMonth(O,E[O]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(E){return E&&this._dateAdapter.getYear(E)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(E):null}_createCellForMonth(E,te){let O=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),E,1),this._dateFormats.display.monthYearA11yLabel);return new Qn(E,te.toLocaleUpperCase(),O,this._shouldEnableMonth(E))}_shouldEnableMonth(E){const te=this._dateAdapter.getYear(this.activeDate);if(null==E||this._isYearAndMonthAfterMaxDate(te,E)||this._isYearAndMonthBeforeMinDate(te,E))return!1;if(!this.dateFilter)return!0;for(let T=this._dateAdapter.createDate(te,E,1);this._dateAdapter.getMonth(T)==E;T=this._dateAdapter.addCalendarDays(T,1))if(this.dateFilter(T))return!0;return!1}_isYearAndMonthAfterMaxDate(E,te){if(this.maxDate){const O=this._dateAdapter.getYear(this.maxDate),T=this._dateAdapter.getMonth(this.maxDate);return E>O||E===O&&te>T}return!1}_isYearAndMonthBeforeMinDate(E,te){if(this.minDate){const O=this._dateAdapter.getYear(this.minDate),T=this._dateAdapter.getMonth(this.minDate);return E<O||E===O&&te<T}return!1}_getValidDateOrNull(E){return this._dateAdapter.isDateInstance(E)&&this._dateAdapter.isValid(E)?E:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}};
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(y.sBO),y.Y36(zn,8),y.Y36(Ln,8),y.Y36(Se.Is,8))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-year-view"]],viewQuery:function(E,te){if(1&E&&y.Gf(fi,5),2&E){let O;y.iGM(O=y.CRH())&&(te._matCalendarBody=O.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:8,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["sat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(E,te){1&E&&(y.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),y._UZ(3,"th",2),y.qZA()(),y.TgZ(4,"tbody",3),y.NdJ("selectedValueChange",function(T){return te._monthSelected(T)})("keydown",function(T){return te._handleCalendarBodyKeydown(T)}),y.qZA()()),2&E&&(y.xp6(4),y.Q6J("label",te._yearLabel)("rows",te._months)("todayValue",te._todayMonth)("selectedValue",te._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",te._dateAdapter.getMonth(te.activeDate)))},directives:[fi],encapsulation:2,changeDetection:0}),C([(0,y.IIB)()],_e.prototype,"activeDate",null),C([(0,y.IIB)()],_e.prototype,"selected",null),C([(0,y.IIB)()],_e.prototype,"minDate",null),C([(0,y.IIB)()],_e.prototype,"maxDate",null),C([(0,y.IIB)()],_e.prototype,"dateFilter",void 0),C([(0,y.r_U)()],_e.prototype,"selectedChange",void 0),C([(0,y.r_U)()],_e.prototype,"monthSelected",void 0),C([(0,y.r_U)()],_e.prototype,"activeDateChange",void 0),C([(0,y.i9L)(fi,{static:!1})],_e.prototype,"_matCalendarBody",void 0),_e=C([f(1,(0,y.FiY)()),f(1,(0,y.tBr)(zn)),f(2,(0,y.FiY)()),f(3,(0,y.FiY)())],_e),_e})(),Ke=(()=>{let _e=class{constructor(E,te,O,T,J){this._intl=E,this.calendar=te,this._dateAdapter=O,this._dateFormats=T,this.calendar.stateChanges.subscribe(()=>J.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const te=this._dateAdapter.getYear(this.calendar.activeDate)-nn(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate);return`${te} \u2013 ${te+24-1}`}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){const O="month"===this.calendar.orderPeriodLabel?["month","year","multi-year"]:["month","multi-year","month"];switch(this.calendar.currentView){case"month":this.calendar.currentView=O[1];break;case"year":this.calendar.currentView=O[2];break;default:this.calendar.currentView=O[0]}}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(E,te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(E)==this._dateAdapter.getYear(te)&&this._dateAdapter.getMonth(E)==this._dateAdapter.getMonth(te):"year"==this.calendar.currentView?this._dateAdapter.getYear(E)==this._dateAdapter.getYear(te):Ti(this._dateAdapter,E,te,this.calendar.minDate,this.calendar.maxDate)}};return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(qn),y.Y36((0,y.Gpc)(()=>ut)),y.Y36(Ln,8),y.Y36(zn,8),y.Y36(y.sBO))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:_t,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(E,te){1&E&&(y.F$t(),y.TgZ(0,"div",0)(1,"div",1)(2,"button",2),y.NdJ("click",function(){return te.currentPeriodClicked()}),y._uU(3),y._UZ(4,"div",3),y.qZA(),y._UZ(5,"div",4),y.Hsn(6),y.TgZ(7,"button",5),y.NdJ("click",function(){return te.previousClicked()}),y.qZA(),y.TgZ(8,"button",6),y.NdJ("click",function(){return te.nextClicked()}),y.qZA()()()),2&E&&(y.xp6(2),y.uIk("aria-label",te.periodButtonLabel),y.xp6(1),y.hij(" ",te.periodButtonText," "),y.xp6(1),y.ekj("mat-calendar-invert","month"!=te.calendar.currentView),y.xp6(3),y.Q6J("disabled",!te.previousEnabled()),y.uIk("aria-label",te.prevButtonLabel),y.xp6(1),y.Q6J("disabled",!te.nextEnabled()),y.uIk("aria-label",te.nextButtonLabel))},directives:[Ge.lW,Be.Qr],encapsulation:2,changeDetection:0}),_e=C([f(1,(0,y.tBr)((0,y.Gpc)(()=>ut))),f(2,(0,y.FiY)()),f(3,(0,y.FiY)()),f(3,(0,y.tBr)(zn))],_e),_e})(),Lt=(()=>{let _e=class{};return _e.\u0275fac=function(E){return new(E||_e)},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-calendar-footer"]],exportAs:["matCalendarFooter"],decls:0,vars:0,template:function(E,te){},encapsulation:2,changeDetection:0}),_e})(),ut=(()=>{let _e=class{constructor(E,te,O,T){if(this._dateAdapter=te,this._dateFormats=O,this._changeDetectorRef=T,this.rangeMode=!1,this.rangeHoverEffect=!0,this.closeAfterSelection=!0,this.dateRangesChange=new y.vpe,this.beginDateSelected=!1,this.beginDateSelectedChange=new y.vpe,this._moveFocusOnNextTick=!1,this.startView="month",this.orderPeriodLabel="multi-year",this.selectedChange=new y.vpe,this.yearSelected=new y.vpe,this.monthSelected=new y.vpe,this._userSelection=new y.vpe,this.stateChanges=new ae.xQ,!this._dateAdapter)throw cn("DateAdapter");if(!this._dateFormats)throw cn("MAT_DATE_FORMATS");this._intlChanges=E.changes.subscribe(()=>{T.markForCheck(),this.stateChanges.next()})}get beginDate(){return this._beginDate}set beginDate(E){this._beginDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get endDate(){return this._endDate}set endDate(E){this._endDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get startAt(){return this._startAt}set startAt(E){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get selected(){return this._selected}set selected(E){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get minDate(){return this._minDate}set minDate(E){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get maxDate(){return this._maxDate}set maxDate(E){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get activeDate(){return this._clampedActiveDate}set activeDate(E){this._clampedActiveDate=this._dateAdapter.clampDate(E,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(E){this._currentView=E,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new Ie.C5(this.headerComponent||Ke),this._calendarFooterPortal=new Ie.C5(this.footerComponent||Lt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(E){const te=E.minDate||E.maxDate||E.dateFilter;if(te&&!te.firstChange){const O=this._getCurrentViewComponent();O&&(this._changeDetectorRef.detectChanges(),O._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}_dateSelected(E){this.rangeMode?this.beginDateSelected?(this.beginDateSelected=!1,this._dateAdapter.compareDate(this.beginDate,E)<=0?this.endDate=E:(this.endDate=this.beginDate,this.beginDate=E),this.dateRangesChange.emit({begin:this.beginDate,end:this.endDate})):(this.beginDateSelected=E,this.beginDate=E,this.endDate=E,this.beginDateSelectedChange.emit(E)):this._dateAdapter.sameDate(E,this.selected)||this.selectedChange.emit(E)}_yearSelectedInMultiYearView(E){this.yearSelected.emit(E)}_monthSelectedInYearView(E){this.monthSelected.emit(E)}_userSelected(){this._userSelection.emit()}_goToDateInView(E,te){this.activeDate=E,this.currentView=te}_getValidDateOrNull(E){return this._dateAdapter.isDateInstance(E)&&this._dateAdapter.isValid(E)?E:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(qn),y.Y36(Ln,8),y.Y36(zn,8),y.Y36(y.sBO))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-calendar"]],viewQuery:function(E,te){if(1&E&&(y.Gf(Xn,5),y.Gf(Et,5),y.Gf(Yi,5)),2&E){let O;y.iGM(O=y.CRH())&&(te.monthView=O.first),y.iGM(O=y.CRH())&&(te.yearView=O.first),y.iGM(O=y.CRH())&&(te.multiYearView=O.first)}},hostAttrs:[1,"mat-calendar"],inputs:{rangeMode:"rangeMode",rangeHoverEffect:"rangeHoverEffect",closeAfterSelection:"closeAfterSelection",startView:"startView",orderPeriodLabel:"orderPeriodLabel",beginDate:"beginDate",endDate:"endDate",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",footerComponent:"footerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{dateRangesChange:"dateRangesChange",beginDateSelectedChange:"beginDateSelectedChange",selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[y.TTD],decls:6,vars:6,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","beginDate","endDate","rangeMode","closeAfterSelection","rangeHoverEffect","dateFilter","maxDate","minDate","dateClass","beginDateSelected","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","beginDate","endDate","rangeMode","closeAfterSelection","rangeHoverEffect","dateFilter","maxDate","minDate","dateClass","beginDateSelected","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(E,te){1&E&&(y.YNc(0,st,0,0,"ng-template",0),y.TgZ(1,"div",1),y.YNc(2,Ut,1,12,"sat-month-view",2),y.YNc(3,Ht,1,5,"sat-year-view",3),y.YNc(4,dn,1,5,"sat-multi-year-view",4),y.qZA(),y.YNc(5,jt,0,0,"ng-template",0)),2&E&&(y.Q6J("cdkPortalOutlet",te._calendarHeaderPortal),y.xp6(1),y.Q6J("ngSwitch",te.currentView),y.xp6(1),y.Q6J("ngSwitchCase","month"),y.xp6(1),y.Q6J("ngSwitchCase","year"),y.xp6(1),y.Q6J("ngSwitchCase","multi-year"),y.xp6(1),y.Q6J("cdkPortalOutlet",te._calendarFooterPortal))},directives:[Ie.Pl,Be.kH,Re.RF,Re.n9,Xn,Et,Yi],styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0}.mat-calendar-content{padding:0 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],encapsulation:2,changeDetection:0}),C([(0,y.IIB)()],_e.prototype,"beginDate",null),C([(0,y.IIB)()],_e.prototype,"endDate",null),C([(0,y.IIB)()],_e.prototype,"rangeMode",void 0),C([(0,y.IIB)()],_e.prototype,"rangeHoverEffect",void 0),C([(0,y.IIB)()],_e.prototype,"closeAfterSelection",void 0),C([(0,y.r_U)()],_e.prototype,"dateRangesChange",void 0),C([(0,y.r_U)()],_e.prototype,"beginDateSelectedChange",void 0),C([(0,y.IIB)()],_e.prototype,"headerComponent",void 0),C([(0,y.IIB)()],_e.prototype,"footerComponent",void 0),C([(0,y.IIB)()],_e.prototype,"startAt",null),C([(0,y.IIB)()],_e.prototype,"startView",void 0),C([(0,y.IIB)()],_e.prototype,"selected",null),C([(0,y.IIB)()],_e.prototype,"minDate",null),C([(0,y.IIB)()],_e.prototype,"maxDate",null),C([(0,y.IIB)()],_e.prototype,"dateFilter",void 0),C([(0,y.IIB)()],_e.prototype,"dateClass",void 0),C([(0,y.IIB)()],_e.prototype,"orderPeriodLabel",void 0),C([(0,y.r_U)()],_e.prototype,"selectedChange",void 0),C([(0,y.r_U)()],_e.prototype,"yearSelected",void 0),C([(0,y.r_U)()],_e.prototype,"monthSelected",void 0),C([(0,y.r_U)()],_e.prototype,"_userSelection",void 0),C([(0,y.i9L)(Xn,{static:!1})],_e.prototype,"monthView",void 0),C([(0,y.i9L)(Et,{static:!1})],_e.prototype,"yearView",void 0),C([(0,y.i9L)(Yi,{static:!1})],_e.prototype,"multiYearView",void 0),_e=C([f(1,(0,y.FiY)()),f(2,(0,y.FiY)()),f(2,(0,y.tBr)(zn))],_e),_e})();const Un={transformPanel:(0,pe.X$)("transformPanel",[(0,pe.SB)("void",(0,pe.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,pe.eR)("void => enter",(0,pe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,pe.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,pe.eR)("* => void",(0,pe.jt)("100ms linear",(0,pe.oB)({opacity:0})))]),fadeInCalendar:(0,pe.X$)("fadeInCalendar",[(0,pe.SB)("void",(0,pe.oB)({opacity:0})),(0,pe.SB)("enter",(0,pe.oB)({opacity:1})),(0,pe.eR)("void => *",(0,pe.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Ft=0;const En=new y.OlP("sat-datepicker-scroll-strategy"),Bt={provide:En,deps:[Ee.aV],useFactory:function ye(_e){return()=>_e.scrollStrategies.reposition()}},Ne=(0,it.pj)(class vn{constructor(je){this._elementRef=je}});let ve=(()=>{let _e=class extends Ne{constructor(E){super(E)}ngAfterViewInit(){this._calendar.focusActiveCell()}close(){this.datepicker.closeAfterSelection&&this.datepicker.close()}};return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(y.SBq))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-datepicker-content"]],viewQuery:function(E,te){if(1&E&&y.Gf(ut,5),2&E){let O;y.iGM(O=y.CRH())&&(te._calendar=O.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(E,te){2&E&&(y.d8E("@transformPanel","enter"),y.ekj("mat-datepicker-content-touch",te.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[y.qOj],decls:1,vars:18,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","rangeHoverEffect","headerComponent","footerComponent","selected","dateClass","beginDate","endDate","rangeMode","closeAfterSelection","orderPeriodLabel","selectedChange","yearSelected","monthSelected","dateRangesChange","beginDateSelectedChange","_userSelection"]],template:function(E,te){1&E&&(y.TgZ(0,"sat-calendar",0),y.NdJ("selectedChange",function(T){return te.datepicker.select(T)})("yearSelected",function(T){return te.datepicker._selectYear(T)})("monthSelected",function(T){return te.datepicker._selectMonth(T)})("dateRangesChange",function(T){return te.datepicker._selectRange(T)})("beginDateSelectedChange",function(T){return te.datepicker.setBeginDateSelected(T)})("_userSelection",function(){return te.close()}),y.qZA()),2&E&&y.Q6J("id",te.datepicker.id)("ngClass",te.datepicker.panelClass)("startAt",te.datepicker.startAt)("startView",te.datepicker.startView)("minDate",te.datepicker._minDate)("maxDate",te.datepicker._maxDate)("dateFilter",te.datepicker._dateFilter)("rangeHoverEffect",te.datepicker.rangeHoverEffect)("headerComponent",te.datepicker.calendarHeaderComponent)("footerComponent",te.datepicker.calendarFooterComponent)("selected",te.datepicker._selected)("dateClass",te.datepicker.dateClass)("@fadeInCalendar","enter")("beginDate",te.datepicker._beginDate)("endDate",te.datepicker._endDate)("rangeMode",te.datepicker.rangeMode)("closeAfterSelection",te.datepicker.closeAfterSelection)("orderPeriodLabel",te.datepicker.orderPeriodLabel)},directives:[ut,Be.mK,Re.mk],styles:[".mat-datepicker-content{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:block}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],encapsulation:2,data:{animation:[Un.transformPanel,Un.fadeInCalendar]},changeDetection:0}),C([(0,y.i9L)(ut,{static:!1})],_e.prototype,"_calendar",void 0),_e})(),at=(()=>{let _e=class{constructor(E,te,O,T,J,me,pt,bt){if(this._dialog=E,this._overlay=te,this._ngZone=O,this._viewContainerRef=T,this._dateAdapter=me,this._dir=pt,this._document=bt,this.startView="month",this._touchUi=!1,this.yearSelected=new y.vpe,this.monthSelected=new y.vpe,this.openedStream=new y.vpe,this.closedStream=new y.vpe,this.closeAfterSelection=!0,this.rangeHoverEffect=!0,this.selectFirstDateOnClose=!1,this.orderPeriodLabel="multi-year",this._opened=!1,this.id="sat-datepicker-"+Ft++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=ge.w.EMPTY,this._disabledChange=new ae.xQ,this._selectedChanged=new ae.xQ,!this._dateAdapter)throw cn("DateAdapter");this._scrollStrategy=J}get rangeMode(){return this._rangeMode}set rangeMode(E){this._rangeMode=E,this.rangeMode?this._validSelected=null:this._beginDate=this._endDate=null}get beginDate(){return this._beginDate}set beginDate(E){this._validSelected=null,this._beginDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get endDate(){return this._endDate}set endDate(E){this._validSelected=null,this._endDate=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get startAt(){return this.rangeMode?this._startAt||(this._datepickerInput&&this._datepickerInput.value?this._datepickerInput.value.begin:null):this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(E){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(E))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(E){this._color=E}get touchUi(){return this._touchUi}set touchUi(E){this._touchUi=(0,Nn.Ig)(E)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(E){const te=(0,Nn.Ig)(E);te!==this._disabled&&(this._disabled=te,this._disabledChange.next(te))}get opened(){return this._opened}set opened(E){E?this.open():this.close()}get _selected(){return this._validSelected}set _selected(E){this._validSelected=E}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)}select(E){let te=this._selected;this._selected=E,this._dateAdapter.sameDate(te,this._selected)||this._selectedChanged.next(E)}_selectRange(E){this._beginDateSelected=null,(!this._dateAdapter.sameDate(E.begin,this.beginDate)||!this._dateAdapter.sameDate(E.end,this.endDate))&&this._selectedChanged.next(E),this._beginDate=E.begin,this._endDate=E.end}_selectYear(E){this.yearSelected.emit(E)}_selectMonth(E){this.monthSelected.emit(E)}_registerInput(E){if(this._datepickerInput)throw Error("A SatDatepicker can only be associated with a single input.");this._datepickerInput=E,this._inputSubscription=this._datepickerInput._valueChange.subscribe(te=>{null!==te?te&&te.hasOwnProperty("begin")&&te.hasOwnProperty("end")?te.begin&&te.end&&this._dateAdapter.compareDate(te.begin,te.end)<=0?(this.beginDate=te.begin,this.endDate=te.end):this.beginDate=this.endDate=null:this._selected=te:this.beginDate=this.endDate=this._selected=null})}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an SatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach(),this._beginDateSelected&&this.selectFirstDateOnClose&&this._selectRange({begin:this._beginDateSelected,end:this._beginDateSelected});const E=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(E)):E()}setBeginDateSelected(E){this._beginDateSelected=E}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ve,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._setColor()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new Ie.C5(ve,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe((0,U.q)(1)).subscribe(()=>{this._popupRef.updatePosition()}))}_createPopup(){const E=new Ee.X_({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(E),this._popupRef.overlayElement.setAttribute("role","dialog"),(0,Ve.T)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe((0,V.h)(te=>te.keyCode===He.hY||this._datepickerInput&&te.altKey&&te.keyCode===He.LH))).subscribe(te=>{te&&te.preventDefault(),this.close()})}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(E){return this._dateAdapter.isDateInstance(E)&&this._dateAdapter.isValid(E)?E:null}_setColor(){const E=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=E),this._dialogRef&&(this._dialogRef.componentInstance.color=E)}};
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return _e.\u0275fac=function(E){return new(E||_e)(y.Y36(Oe),y.Y36(Ee.aV),y.Y36(y.R0b),y.Y36(y.s_b),y.Y36(En),y.Y36(Ln,8),y.Y36(Se.Is,8),y.Y36(Re.K0,8))},_e.\u0275cmp=y.Xpm({type:_e,selectors:[["sat-datepicker"]],inputs:{startView:"startView",closeAfterSelection:"closeAfterSelection",rangeHoverEffect:"rangeHoverEffect",selectFirstDateOnClose:"selectFirstDateOnClose",orderPeriodLabel:"orderPeriodLabel",rangeMode:"rangeMode",beginDate:"beginDate",endDate:"endDate",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",calendarFooterComponent:"calendarFooterComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(E,te){},encapsulation:2,changeDetection:0}),C([(0,y.IIB)()],_e.prototype,"rangeMode",null),C([(0,y.IIB)()],_e.prototype,"beginDate",null),C([(0,y.IIB)()],_e.prototype,"endDate",null),C([(0,y.IIB)()],_e.prototype,"calendarHeaderComponent",void 0),C([(0,y.IIB)()],_e.prototype,"calendarFooterComponent",void 0),C([(0,y.IIB)()],_e.prototype,"startAt",null),C([(0,y.IIB)()],_e.prototype,"startView",void 0),C([(0,y.IIB)()],_e.prototype,"color",null),C([(0,y.IIB)()],_e.prototype,"touchUi",null),C([(0,y.IIB)()],_e.prototype,"disabled",null),C([(0,y.r_U)()],_e.prototype,"yearSelected",void 0),C([(0,y.r_U)()],_e.prototype,"monthSelected",void 0),C([(0,y.IIB)()],_e.prototype,"panelClass",void 0),C([(0,y.IIB)()],_e.prototype,"dateClass",void 0),C([(0,y.r_U)("opened")],_e.prototype,"openedStream",void 0),C([(0,y.r_U)("closed")],_e.prototype,"closedStream",void 0),C([(0,y.IIB)()],_e.prototype,"closeAfterSelection",void 0),C([(0,y.IIB)()],_e.prototype,"rangeHoverEffect",void 0),C([(0,y.IIB)()],_e.prototype,"selectFirstDateOnClose",void 0),C([(0,y.IIB)()],_e.prototype,"orderPeriodLabel",void 0),C([(0,y.IIB)()],_e.prototype,"opened",null),_e=C([f(4,(0,y.tBr)(En)),f(5,(0,y.FiY)()),f(6,(0,y.FiY)()),f(7,(0,y.FiY)()),f(7,(0,y.tBr)(Re.K0))],_e),_e})();var Rt;const bn={provide:In.JU,useExisting:(0,y.Gpc)(()=>Me),multi:!0},Fe={provide:In.Cf,useExisting:(0,y.Gpc)(()=>Me),multi:!0};class ne{constructor(je,E){this.target=je,this.targetElement=E,this.value=this.target.value}}let Me=Rt=class{constructor(je,E,te,O){if(this._elementRef=je,this._dateAdapter=E,this._dateFormats=te,this._formField=O,this.dateChange=new y.vpe,this.dateInput=new y.vpe,this._valueChange=new y.vpe,this._disabledChange=new y.vpe,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=ge.w.EMPTY,this._localeSubscription=ge.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=T=>{if(this._datepicker.rangeMode&&T.value){const me=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.begin)),pt=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.end));if(this.min){if(me&&this._dateAdapter.compareDate(this.min,me)>0)return{matDatepickerMin:{min:this.min,actual:me}};if(pt&&this._dateAdapter.compareDate(this.min,pt)>0)return{matDatepickerMin:{min:this.min,actual:pt}}}return null}const J=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value));return!this.min||!J||this._dateAdapter.compareDate(this.min,J)<=0?null:{matDatepickerMin:{min:this.min,actual:J}}},this._maxValidator=T=>{if(this._datepicker.rangeMode&&T.value){const me=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.begin)),pt=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.end));if(this.max){if(me&&this._dateAdapter.compareDate(this.max,me)<0)return{matDatepickerMax:{max:this.max,actual:me}};if(pt&&this._dateAdapter.compareDate(this.max,pt)<0)return{matDatepickerMax:{max:this.max,actual:pt}}}return null}const J=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value));return!this.max||!J||this._dateAdapter.compareDate(this.max,J)>=0?null:{matDatepickerMax:{max:this.max,actual:J}}},this._filterValidator=T=>{if(this._datepicker.rangeMode&&T.value){const me=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.begin)),pt=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.end));return!this._dateFilter||!me&&!pt||this._dateFilter(me)&&this._dateFilter(pt)?null:{matDatepickerFilter:!0}}const J=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value));return this._dateFilter&&J&&!this._dateFilter(J)?{matDatepickerFilter:!0}:null},this._rangeValidator=T=>{if(this._datepicker.rangeMode&&T.value){const J=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.begin)),me=this._getValidDateOrNull(this._dateAdapter.deserialize(T.value.end));return!J||!me||this._dateAdapter.compareDate(J,me)<=0?null:{matDatepickerRange:!0}}return null},this._validator=In.kI.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator,this._rangeValidator]),this._lastValueValid=!1,!this._dateAdapter)throw cn("DateAdapter");if(!this._dateFormats)throw cn("MAT_DATE_FORMATS");this._localeSubscription=E.localeChanges.subscribe(()=>{this.value=this.value})}set satDatepicker(je){!je||(this._datepicker=je,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(E=>{this.value=E,this._cvaOnChange(E),this._onTouched(),this.dateInput.emit(new ne(this,this._elementRef.nativeElement)),this.dateChange.emit(new ne(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(je){this._dateFilter=je,this._validatorOnChange()}get value(){return this._value}set value(je){if(je&&je.hasOwnProperty("begin")&&je.hasOwnProperty("end")){const E=je;E.begin=this._dateAdapter.deserialize(E.begin),E.end=this._dateAdapter.deserialize(E.end),this._lastValueValid=!E.begin||!E.end||this._dateAdapter.isValid(E.begin)&&this._dateAdapter.isValid(E.end),E.begin=this._getValidDateOrNull(E.begin),E.end=this._getValidDateOrNull(E.end);let te=this.value;this._elementRef.nativeElement.value=E&&E.begin&&E.end?this._dateAdapter.format(E.begin,this._dateFormats.display.dateInput)+" - "+this._dateAdapter.format(E.end,this._dateFormats.display.dateInput):"",(null==te&&null!=E||null!=te&&null==E||!this._dateAdapter.sameDate(te.begin,E.begin)||!this._dateAdapter.sameDate(te.end,E.end))&&(E.end&&E.begin&&this._dateAdapter.compareDate(E.begin,E.end)>0&&(je=null),this._value=je,this._valueChange.emit(je))}else{je=this._dateAdapter.deserialize(je),this._lastValueValid=!je||this._dateAdapter.isValid(je),je=this._getValidDateOrNull(je);let E=this.value;this._value=je,this._elementRef.nativeElement.value=je?this._dateAdapter.format(je,this._dateFormats.display.dateInput):"",this._dateAdapter.sameDate(E,je)||this._valueChange.emit(je)}}get min(){return this._min}set min(je){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(je)),this._validatorOnChange()}get max(){return this._max}set max(je){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(je)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(je){const E=(0,Nn.Ig)(je),te=this._elementRef.nativeElement;this._disabled!==E&&(this._disabled=E,this._disabledChange.emit(E)),E&&te.blur&&te.blur()}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(je){this._validatorOnChange=je}validate(je){return this._validator?this._validator(je):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(je){this.value=je}registerOnChange(je){this._cvaOnChange=je}registerOnTouched(je){this._onTouched=je}setDisabledState(je){this.disabled=je}_onKeydown(je){this._datepicker&&je.altKey&&je.keyCode===He.JH&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),je.preventDefault())}_onInput(je){let E=null;if(this._datepicker.rangeMode){const te=je.split("-");if(te.length>1){const O=Math.floor(te.length/2),T=te.slice(0,O).join("-"),J=te.slice(O).join("-");let me=this._dateAdapter.parse(T,this._dateFormats.parse.dateInput),pt=this._dateAdapter.parse(J,this._dateFormats.parse.dateInput);this._lastValueValid=!me||!pt||this._dateAdapter.isValid(me)&&this._dateAdapter.isValid(pt),me=this._getValidDateOrNull(me),pt=this._getValidDateOrNull(pt),me&&pt&&(E={begin:me,end:pt})}}else E=this._dateAdapter.parse(je,this._dateFormats.parse.dateInput),this._lastValueValid=!E||this._dateAdapter.isValid(E),E=this._getValidDateOrNull(E);this._value=E,this._cvaOnChange(E),this._valueChange.emit(E),this.dateInput.emit(new ne(this,this._elementRef.nativeElement))}_onChange(){this.dateChange.emit(new ne(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(je){this._elementRef.nativeElement.value=je&&je.hasOwnProperty("begin")&&je.hasOwnProperty("end")?je&&je.begin&&je.end?this._dateAdapter.format(je.begin,this._dateFormats.display.dateInput)+" - "+this._dateAdapter.format(je.end,this._dateFormats.display.dateInput):"":je?this._dateAdapter.format(je,this._dateFormats.display.dateInput):""}_getValidDateOrNull(je){return this._dateAdapter.isDateInstance(je)&&this._dateAdapter.isValid(je)?je:null}};Me.\u0275fac=function(je){return new(je||Me)(y.Y36(y.SBq),y.Y36(Ln,8),y.Y36(zn,8),y.Y36(wn.KE,8))},Me.\u0275dir=y.lG2({type:Me,selectors:[["input","satDatepicker",""]],hostVars:5,hostBindings:function(je,E){1&je&&y.NdJ("input",function(O){return E._onInput(O.target.value)})("change",function(){return E._onChange()})("blur",function(){return E._onBlur()})("keydown",function(O){return E._onKeydown(O)}),2&je&&(y.Ikx("disabled",E.disabled),y.uIk("aria-haspopup",E._datepicker?"dialog":null)("aria-owns",(null==E._datepicker?null:E._datepicker.opened)&&E._datepicker.id||null)("min",E.min?E._dateAdapter.toIso8601(E.min):null)("max",E.max?E._dateAdapter.toIso8601(E.max):null))},inputs:{value:"value",satDatepicker:"satDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[y._Bn([bn,Fe,{provide:Wn.Jk,useExisting:Rt}])]}),Me.ctorParameters=()=>[{type:y.SBq},{type:Ln,decorators:[{type:y.FiY}]},{type:void 0,decorators:[{type:y.FiY},{type:y.tBr,args:[zn]}]},{type:wn.KE,decorators:[{type:y.FiY}]}],C([(0,y.IIB)()],Me.prototype,"satDatepicker",null),C([(0,y.IIB)()],Me.prototype,"matDatepickerFilter",null),C([(0,y.IIB)()],Me.prototype,"value",null),C([(0,y.IIB)()],Me.prototype,"min",null),C([(0,y.IIB)()],Me.prototype,"max",null),C([(0,y.IIB)()],Me.prototype,"disabled",null),C([(0,y.r_U)()],Me.prototype,"dateChange",void 0),C([(0,y.r_U)()],Me.prototype,"dateInput",void 0),Me=Rt=C([f(1,(0,y.FiY)()),f(2,(0,y.FiY)()),f(2,(0,y.tBr)(zn)),f(3,(0,y.FiY)())],Me);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Wt=(()=>{let _e=class{};return _e.\u0275fac=function(E){return new(E||_e)},_e.\u0275mod=y.oAB({type:_e}),_e.\u0275inj=y.cJS({providers:[qn,Bt],imports:[[Re.ez,Ge.ot,An,Ee.U8,Be.rt,Ie.eL]]}),_e})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},98930:ze=>{"use strict";function G(l,a){this.text=l=l||"",this.hasWild=~l.indexOf("*"),this.separator=a,this.parts=l.split(a)}G.prototype.match=function(l){var d,C,a=!0,i=this.parts,p=i.length;if("string"==typeof l||l instanceof String)if(this.hasWild||this.text==l){for(C=(l||"").split(this.separator),d=0;a&&d<p;d++)"*"!==i[d]&&(a=d<C.length&&i[d]===C[d]);a=a&&C}else a=!1;else if("function"==typeof l.splice)for(a=[],d=l.length;d--;)this.match(l[d])&&(a[a.length]=l[d]);else if("object"==typeof l)for(var f in a={},l)this.match(f)&&(a[f]=l[f]);return a},ze.exports=function(l,a,i){var d=new G(l,i||/[\/\.]/);return void 0!==a?d.match(a):d}},31050:(ze,G,l)=>{var a=l(94117);function i(d){var p,C;function v(m,I){try{var L=d[m](I),M=L.value,D=M instanceof a;Promise.resolve(D?M.wrapped:M).then(function(A){D?v("return"===m?"return":"next",A):b(L.done?"return":"normal",A)},function(A){v("throw",A)})}catch(A){b("throw",A)}}function b(m,I){switch(m){case"return":p.resolve({value:I,done:!0});break;case"throw":p.reject(I);break;default:p.resolve({value:I,done:!1})}(p=p.next)?v(p.key,p.arg):C=null}this._invoke=function f(m,I){return new Promise(function(L,M){var D={key:m,arg:I,resolve:L,reject:M,next:null};C?C=C.next=D:(p=C=D,v(m,I))})},"function"!=typeof d.return&&(this.return=void 0)}i.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},i.prototype.next=function(d){return this._invoke("next",d)},i.prototype.throw=function(d){return this._invoke("throw",d)},i.prototype.return=function(d){return this._invoke("return",d)},ze.exports=i,ze.exports.__esModule=!0,ze.exports.default=ze.exports},94117:ze=>{ze.exports=function G(l){this.wrapped=l},ze.exports.__esModule=!0,ze.exports.default=ze.exports},30083:ze=>{ze.exports=function G(l,a){var i={},d=!1;function p(C,f){return d=!0,f=new Promise(function(v){v(l[C](f))}),{done:!1,value:a(f)}}return i["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},i.next=function(C){return d?(d=!1,C):p("next",C)},"function"==typeof l.throw&&(i.throw=function(C){if(d)throw d=!1,C;return p("throw",C)}),"function"==typeof l.return&&(i.return=function(C){return d?(d=!1,C):p("return",C)}),i},ze.exports.__esModule=!0,ze.exports.default=ze.exports},47003:ze=>{function l(a){function i(d){if(Object(d)!==d)return Promise.reject(new TypeError(d+" is not an object."));var p=d.done;return Promise.resolve(d.value).then(function(C){return{value:C,done:p}})}return(l=function(p){this.s=p,this.n=p.next}).prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(p){var C=this.s.return;return void 0===C?Promise.resolve({value:p,done:!0}):i(C.apply(this.s,arguments))},throw:function(p){var C=this.s.return;return void 0===C?Promise.reject(p):i(C.apply(this.s,arguments))}},new l(a)}ze.exports=function G(a){var i,d,p,C=2;for("undefined"!=typeof Symbol&&(d=Symbol.asyncIterator,p=Symbol.iterator);C--;){if(d&&null!=(i=a[d]))return i.call(a);if(p&&null!=(i=a[p]))return new l(i.call(a));d="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")},ze.exports.__esModule=!0,ze.exports.default=ze.exports},48926:ze=>{function G(a,i,d,p,C,f,v){try{var b=a[f](v),m=b.value}catch(I){return void d(I)}b.done?i(m):Promise.resolve(m).then(p,C)}ze.exports=function l(a){return function(){var i=this,d=arguments;return new Promise(function(p,C){var f=a.apply(i,d);function v(m){G(f,p,C,v,b,"next",m)}function b(m){G(f,p,C,v,b,"throw",m)}v(void 0)})}},ze.exports.__esModule=!0,ze.exports.default=ze.exports},55486:(ze,G,l)=>{var a=l(94117);ze.exports=function i(d){return new a(d)},ze.exports.__esModule=!0,ze.exports.default=ze.exports},551:(ze,G,l)=>{var a=l(31050);ze.exports=function i(d){return function(){return new a(d.apply(this,arguments))}},ze.exports.__esModule=!0,ze.exports.default=ze.exports},71213:(ze,G,l)=>{var a={"./_lib/buildFormatLongFn/index.js":[88995,7],"./_lib/buildLocalizeFn/index.js":[77579,7],"./_lib/buildMatchFn/index.js":[84728,7],"./_lib/buildMatchPatternFn/index.js":[27223,7],"./af/_lib/formatDistance/index.js":[55864,7,8592],"./af/_lib/formatLong/index.js":[25358,7,8592],"./af/_lib/formatRelative/index.js":[25892,7,8592],"./af/_lib/localize/index.js":[18874,7,8592],"./af/_lib/match/index.js":[22146,7,8592],"./af/index.js":[72399,7,8592,2399],"./ar-DZ/_lib/formatDistance/index.js":[28066,7,8592],"./ar-DZ/_lib/formatLong/index.js":[86369,7,8592],"./ar-DZ/_lib/formatRelative/index.js":[89786,7,8592],"./ar-DZ/_lib/localize/index.js":[36207,7,8592],"./ar-DZ/_lib/match/index.js":[53371,7,8592],"./ar-DZ/index.js":[76327,7,8592,6327],"./ar-EG/_lib/formatDistance/index.js":[95932,7,8592],"./ar-EG/_lib/formatLong/index.js":[46023,7,8592],"./ar-EG/_lib/formatRelative/index.js":[74621,7,8592],"./ar-EG/_lib/localize/index.js":[93376,7,8592],"./ar-EG/_lib/match/index.js":[76456,7,8592],"./ar-EG/index.js":[30830,7,8592,830],"./ar-MA/_lib/formatDistance/index.js":[25565,7,8592],"./ar-MA/_lib/formatLong/index.js":[81783,7,8592],"./ar-MA/_lib/formatRelative/index.js":[90030,7,8592],"./ar-MA/_lib/localize/index.js":[60503,7,8592],"./ar-MA/_lib/match/index.js":[83427,7,8592],"./ar-MA/index.js":[96094,7,8592,6094],"./ar-SA/_lib/formatDistance/index.js":[3797,7,8592],"./ar-SA/_lib/formatLong/index.js":[73212,7,8592],"./ar-SA/_lib/formatRelative/index.js":[79009,7,8592],"./ar-SA/_lib/localize/index.js":[12535,7,8592],"./ar-SA/_lib/match/index.js":[14710,7,8592],"./ar-SA/index.js":[54370,7,8592,4370],"./ar-TN/_lib/formatDistance/index.js":[56566,7,8592],"./ar-TN/_lib/formatLong/index.js":[4585,7,8592],"./ar-TN/_lib/formatRelative/index.js":[5374,7,8592],"./ar-TN/_lib/localize/index.js":[85963,7,8592],"./ar-TN/_lib/match/index.js":[13401,7,8592],"./ar-TN/index.js":[37373,7,8592,7373],"./ar/_lib/formatDistance/index.js":[91118,7,8592],"./ar/_lib/formatLong/index.js":[90899,7,8592],"./ar/_lib/formatRelative/index.js":[18739,7,8592],"./ar/_lib/localize/index.js":[64620,7,8592],"./ar/_lib/match/index.js":[32101,7,8592],"./ar/index.js":[91780,7,8592,1780],"./az/_lib/formatDistance/index.js":[2541,7,8592],"./az/_lib/formatLong/index.js":[6246,7,8592],"./az/_lib/formatRelative/index.js":[33557,7,8592],"./az/_lib/localize/index.js":[89347,7,8592],"./az/_lib/match/index.js":[75242,7,8592],"./az/index.js":[170,7,8592,170],"./be-tarask/_lib/formatDistance/index.js":[82665,7,8592],"./be-tarask/_lib/formatLong/index.js":[9662,7,8592],"./be-tarask/_lib/formatRelative/index.js":[4653,7,4,8592],"./be-tarask/_lib/localize/index.js":[40591,7,8592],"./be-tarask/_lib/match/index.js":[34412,7,8592],"./be-tarask/index.js":[27840,7,4,8592,7840],"./be/_lib/formatDistance/index.js":[9006,7,8592],"./be/_lib/formatLong/index.js":[58343,7,8592],"./be/_lib/formatRelative/index.js":[20369,7,4,8592],"./be/_lib/localize/index.js":[30768,7,8592],"./be/_lib/match/index.js":[35637,7,8592],"./be/index.js":[94646,7,4,8592,4646],"./bg/_lib/formatDistance/index.js":[54037,7,8592],"./bg/_lib/formatLong/index.js":[44221,7,8592],"./bg/_lib/formatRelative/index.js":[24925,7,8592,5441],"./bg/_lib/localize/index.js":[60958,7,8592],"./bg/_lib/match/index.js":[99124,7,8592],"./bg/index.js":[90948,7,8592,6922],"./bn/_lib/formatDistance/index.js":[5190,7,8592],"./bn/_lib/formatLong/index.js":[10846,7,8592],"./bn/_lib/formatRelative/index.js":[90009,7,8592],"./bn/_lib/localize/index.js":[32143,9,8592],"./bn/_lib/match/index.js":[71701,7,8592],"./bn/index.js":[76982,7,8592,6982],"./bs/_lib/formatDistance/index.js":[3504,7,8592],"./bs/_lib/formatLong/index.js":[47625,7,8592],"./bs/_lib/formatRelative/index.js":[69642,7,8592],"./bs/_lib/localize/index.js":[19781,7,8592],"./bs/_lib/match/index.js":[98469,7,8592],"./bs/index.js":[21670,7,8592,1670],"./ca/_lib/formatDistance/index.js":[78470,7,8592],"./ca/_lib/formatLong/index.js":[37682,7,8592],"./ca/_lib/formatRelative/index.js":[73019,7,8592],"./ca/_lib/localize/index.js":[94354,7,8592],"./ca/_lib/match/index.js":[87821,7,8592],"./ca/index.js":[59800,7,8592,9800],"./cs/_lib/formatDistance/index.js":[84712,7,8592],"./cs/_lib/formatLong/index.js":[25366,7,8592],"./cs/_lib/formatRelative/index.js":[30404,7,8592],"./cs/_lib/localize/index.js":[1944,7,8592],"./cs/_lib/match/index.js":[8302,7,8592],"./cs/index.js":[27463,7,8592,7463],"./cy/_lib/formatDistance/index.js":[53860,7,8592],"./cy/_lib/formatLong/index.js":[5355,7,8592],"./cy/_lib/formatRelative/index.js":[11612,7,8592],"./cy/_lib/localize/index.js":[79008,7,8592],"./cy/_lib/match/index.js":[69946,7,8592],"./cy/index.js":[87955,7,8592,7955],"./da/_lib/formatDistance/index.js":[32439,7,8592],"./da/_lib/formatLong/index.js":[40114,7,8592],"./da/_lib/formatRelative/index.js":[33452,7,8592],"./da/_lib/localize/index.js":[22653,7,8592],"./da/_lib/match/index.js":[1416,7,8592],"./da/index.js":[11295,7,8592,1295],"./de-AT/_lib/localize/index.js":[44821,7,8592],"./de-AT/index.js":[21782,7,8592,1782],"./de/_lib/formatDistance/index.js":[98815,7,8592],"./de/_lib/formatLong/index.js":[47173,7,8592],"./de/_lib/formatRelative/index.js":[5278,7,8592],"./de/_lib/localize/index.js":[54552,7,8592],"./de/_lib/match/index.js":[31871,7,8592],"./de/index.js":[94086,7,8592,4086],"./el/_lib/formatDistance/index.js":[39298,7,8592],"./el/_lib/formatLong/index.js":[94460,7,8592],"./el/_lib/formatRelative/index.js":[72435,7,8592],"./el/_lib/localize/index.js":[674,7,8592],"./el/_lib/match/index.js":[40588,7,8592],"./el/index.js":[26106,7,8592,6106],"./en-AU/_lib/formatLong/index.js":[65493,7,8592],"./en-AU/index.js":[87747,7,8592,7747],"./en-CA/_lib/formatDistance/index.js":[80780,7,8592],"./en-CA/_lib/formatLong/index.js":[26153,7,8592],"./en-CA/index.js":[21413,7,8592,1413],"./en-GB/_lib/formatLong/index.js":[33819,7,8592],"./en-GB/index.js":[33035,7,8592,3035],"./en-IE/index.js":[61959,7,8592,1959],"./en-IN/_lib/formatLong/index.js":[20862,7,8592],"./en-IN/index.js":[82873,7,8592,2873],"./en-NZ/_lib/formatLong/index.js":[36336,7,8592],"./en-NZ/index.js":[26041,7,8592,6041],"./en-US/_lib/formatDistance/index.js":[39563,7],"./en-US/_lib/formatLong/index.js":[66929,7],"./en-US/_lib/formatRelative/index.js":[21656,7],"./en-US/_lib/localize/index.js":[31098,7],"./en-US/_lib/match/index.js":[53239,7],"./en-US/index.js":[33338,7],"./en-ZA/_lib/formatLong/index.js":[9221,7,8592],"./en-ZA/index.js":[11543,7,8592,1543],"./eo/_lib/formatDistance/index.js":[43549,7,8592],"./eo/_lib/formatLong/index.js":[25567,7,8592],"./eo/_lib/formatRelative/index.js":[30410,7,8592],"./eo/_lib/localize/index.js":[27249,7,8592],"./eo/_lib/match/index.js":[75687,7,8592],"./eo/index.js":[63574,7,8592,3574],"./es/_lib/formatDistance/index.js":[66660,7,8592],"./es/_lib/formatLong/index.js":[39055,7,8592],"./es/_lib/formatRelative/index.js":[63774,7,8592],"./es/_lib/localize/index.js":[38835,7,8592],"./es/_lib/match/index.js":[38662,7,8592],"./es/index.js":[23413,7,8592,3413],"./et/_lib/formatDistance/index.js":[64334,7,8592],"./et/_lib/formatLong/index.js":[32045,7,8592],"./et/_lib/formatRelative/index.js":[47074,7,8592],"./et/_lib/localize/index.js":[42462,7,8592],"./et/_lib/match/index.js":[85999,7,8592],"./et/index.js":[65861,7,8592,5861],"./eu/_lib/formatDistance/index.js":[91793,7,8592],"./eu/_lib/formatLong/index.js":[17350,7,8592],"./eu/_lib/formatRelative/index.js":[25688,7,8592],"./eu/_lib/localize/index.js":[28061,7,8592],"./eu/_lib/match/index.js":[11113,7,8592],"./eu/index.js":[29618,7,8592,9618],"./fa-IR/_lib/formatDistance/index.js":[76726,7,8592],"./fa-IR/_lib/formatLong/index.js":[10749,7,8592],"./fa-IR/_lib/formatRelative/index.js":[7220,7,8592],"./fa-IR/_lib/localize/index.js":[72441,7,8592],"./fa-IR/_lib/match/index.js":[81488,7,8592],"./fa-IR/index.js":[84996,7,8592,4996],"./fi/_lib/formatDistance/index.js":[97929,7,8592],"./fi/_lib/formatLong/index.js":[63741,7,8592],"./fi/_lib/formatRelative/index.js":[23234,7,8592],"./fi/_lib/localize/index.js":[5936,7,8592],"./fi/_lib/match/index.js":[157,7,8592],"./fi/index.js":[3596,7,8592,3596],"./fr-CA/_lib/formatLong/index.js":[85947,7,8592],"./fr-CA/index.js":[73723,7,8592,3723],"./fr-CH/_lib/formatLong/index.js":[27414,7,8592],"./fr-CH/_lib/formatRelative/index.js":[66155,7,8592],"./fr-CH/index.js":[24565,7,8592,4565],"./fr/_lib/formatDistance/index.js":[26839,7,8592],"./fr/_lib/formatLong/index.js":[32554,7,8592],"./fr/_lib/formatRelative/index.js":[15328,7,8592],"./fr/_lib/localize/index.js":[29821,7,8592],"./fr/_lib/match/index.js":[57047,7,8592],"./fr/index.js":[34153,7,8592,4153],"./fy/_lib/formatDistance/index.js":[60373,7,8592],"./fy/_lib/formatLong/index.js":[97771,7,8592],"./fy/_lib/formatRelative/index.js":[33851,7,8592],"./fy/_lib/localize/index.js":[86993,7,8592],"./fy/_lib/match/index.js":[48603,7,8592],"./fy/index.js":[73434,7,8592,3434],"./gd/_lib/formatDistance/index.js":[45690,7,8592],"./gd/_lib/formatLong/index.js":[2660,7,8592],"./gd/_lib/formatRelative/index.js":[30700,7,8592],"./gd/_lib/localize/index.js":[40751,7,8592],"./gd/_lib/match/index.js":[40421,7,8592],"./gd/index.js":[48569,7,8592,8569],"./gl/_lib/formatDistance/index.js":[35871,7,8592],"./gl/_lib/formatLong/index.js":[30449,7,8592],"./gl/_lib/formatRelative/index.js":[95563,7,8592],"./gl/_lib/localize/index.js":[61905,7,8592],"./gl/_lib/match/index.js":[33150,7,8592],"./gl/index.js":[96508,7,8592,6508],"./gu/_lib/formatDistance/index.js":[88210,7,8592],"./gu/_lib/formatLong/index.js":[63333,7,8592],"./gu/_lib/formatRelative/index.js":[89348,7,8592],"./gu/_lib/localize/index.js":[50143,7,8592],"./gu/_lib/match/index.js":[50932,7,8592],"./gu/index.js":[75732,7,8592,5732],"./he/_lib/formatDistance/index.js":[42191,7,8592],"./he/_lib/formatLong/index.js":[13925,7,8592],"./he/_lib/formatRelative/index.js":[11481,7,8592],"./he/_lib/localize/index.js":[19661,7,8592],"./he/_lib/match/index.js":[41291,7,8592],"./he/index.js":[86517,7,8592,6517],"./hi/_lib/formatDistance/index.js":[52573,7,8592],"./hi/_lib/formatLong/index.js":[30535,7,8592],"./hi/_lib/formatRelative/index.js":[65379,7,8592],"./hi/_lib/localize/index.js":[35423,9,8592],"./hi/_lib/match/index.js":[78198,7,8592],"./hi/index.js":[29562,7,8592,9562],"./hr/_lib/formatDistance/index.js":[7652,7,8592],"./hr/_lib/formatLong/index.js":[29577,7,8592],"./hr/_lib/formatRelative/index.js":[27603,7,8592],"./hr/_lib/localize/index.js":[12512,7,8592],"./hr/_lib/match/index.js":[83880,7,8592],"./hr/index.js":[41499,7,8592,1499],"./ht/_lib/formatDistance/index.js":[17743,7,8592],"./ht/_lib/formatLong/index.js":[50596,7,8592],"./ht/_lib/formatRelative/index.js":[66473,7,8592],"./ht/_lib/localize/index.js":[98942,7,8592],"./ht/_lib/match/index.js":[18649,7,8592],"./ht/index.js":[91792,7,8592,1792],"./hu/_lib/formatDistance/index.js":[74406,7,8592],"./hu/_lib/formatLong/index.js":[53971,7,8592],"./hu/_lib/formatRelative/index.js":[48580,7,8592],"./hu/_lib/localize/index.js":[6998,7,8592],"./hu/_lib/match/index.js":[69897,7,8592],"./hu/index.js":[85980,7,8592,5980],"./hy/_lib/formatDistance/index.js":[50897,7,8592],"./hy/_lib/formatLong/index.js":[11837,7,8592],"./hy/_lib/formatRelative/index.js":[3543,7,8592],"./hy/_lib/localize/index.js":[90151,7,8592],"./hy/_lib/match/index.js":[97177,7,8592],"./hy/index.js":[83268,7,8592,3268],"./id/_lib/formatDistance/index.js":[70846,7,8592],"./id/_lib/formatLong/index.js":[53405,7,8592],"./id/_lib/formatRelative/index.js":[97180,7,8592],"./id/_lib/localize/index.js":[35645,7,8592],"./id/_lib/match/index.js":[87601,7,8592],"./id/index.js":[90146,7,8592,146],"./is/_lib/formatDistance/index.js":[2370,7,8592],"./is/_lib/formatLong/index.js":[74096,7,8592],"./is/_lib/formatRelative/index.js":[42141,7,8592],"./is/_lib/localize/index.js":[12161,7,8592],"./is/_lib/match/index.js":[20798,7,8592],"./is/index.js":[84111,7,8592,4111],"./it-CH/_lib/formatLong/index.js":[31519,7,8592],"./it-CH/index.js":[87736,7,8592,469],"./it/_lib/formatDistance/index.js":[40358,7,8592],"./it/_lib/formatLong/index.js":[29588,7,8592],"./it/_lib/formatRelative/index.js":[91403,7,8592,9491],"./it/_lib/localize/index.js":[62007,7,8592],"./it/_lib/match/index.js":[94070,7,8592],"./it/index.js":[93722,7,8592,2039],"./ja-Hira/_lib/formatDistance/index.js":[84703,7,8592],"./ja-Hira/_lib/formatLong/index.js":[56574,7,8592],"./ja-Hira/_lib/formatRelative/index.js":[93381,7,8592],"./ja-Hira/_lib/localize/index.js":[35710,7,8592],"./ja-Hira/_lib/match/index.js":[69417,7,8592],"./ja-Hira/index.js":[12944,7,8592,2944],"./ja/_lib/formatDistance/index.js":[68018,7,8592],"./ja/_lib/formatLong/index.js":[45602,7,8592],"./ja/_lib/formatRelative/index.js":[65297,7,8592],"./ja/_lib/localize/index.js":[77420,7,8592],"./ja/_lib/match/index.js":[83926,7,8592],"./ja/index.js":[89251,7,8592,9251],"./ka/_lib/formatDistance/index.js":[39442,7,8592],"./ka/_lib/formatLong/index.js":[960,7,8592],"./ka/_lib/formatRelative/index.js":[18861,7,8592],"./ka/_lib/localize/index.js":[85798,7,8592],"./ka/_lib/match/index.js":[55077,7,8592],"./ka/index.js":[34010,7,8592,4010],"./kk/_lib/formatDistance/index.js":[44502,7,8592],"./kk/_lib/formatLong/index.js":[79591,7,8592],"./kk/_lib/formatRelative/index.js":[80876,7,8592,5096],"./kk/_lib/localize/index.js":[16163,7,8592],"./kk/_lib/match/index.js":[11079,7,8592],"./kk/index.js":[61615,7,8592,3387],"./km/_lib/formatDistance/index.js":[69355,7,8592],"./km/_lib/formatLong/index.js":[64335,7,8592],"./km/_lib/formatRelative/index.js":[68462,7,8592],"./km/_lib/localize/index.js":[32885,7,8592],"./km/_lib/match/index.js":[49242,7,8592],"./km/index.js":[98510,7,8592,8510],"./kn/_lib/formatDistance/index.js":[93557,7,8592],"./kn/_lib/formatLong/index.js":[19335,7,8592],"./kn/_lib/formatRelative/index.js":[19080,7,8592],"./kn/_lib/localize/index.js":[83848,7,8592],"./kn/_lib/match/index.js":[36809,7,8592],"./kn/index.js":[99517,7,8592,9517],"./ko/_lib/formatDistance/index.js":[21540,7,8592],"./ko/_lib/formatLong/index.js":[47237,7,8592],"./ko/_lib/formatRelative/index.js":[91078,7,8592],"./ko/_lib/localize/index.js":[89409,7,8592],"./ko/_lib/match/index.js":[38567,7,8592],"./ko/index.js":[15058,7,8592,5058],"./lb/_lib/formatDistance/index.js":[81904,7,8592],"./lb/_lib/formatLong/index.js":[53103,7,8592],"./lb/_lib/formatRelative/index.js":[64861,7,8592],"./lb/_lib/localize/index.js":[13317,7,8592],"./lb/_lib/match/index.js":[72652,7,8592],"./lb/index.js":[61953,7,8592,1953],"./lt/_lib/formatDistance/index.js":[55348,7,8592],"./lt/_lib/formatLong/index.js":[18290,7,8592],"./lt/_lib/formatRelative/index.js":[53257,7,8592],"./lt/_lib/localize/index.js":[62395,7,8592],"./lt/_lib/match/index.js":[5825,7,8592],"./lt/index.js":[35901,7,8592,5901],"./lv/_lib/formatDistance/index.js":[28910,7,8592],"./lv/_lib/formatLong/index.js":[86421,7,8592],"./lv/_lib/formatRelative/index.js":[60151,7,8592,1098],"./lv/_lib/localize/index.js":[44960,7,8592],"./lv/_lib/match/index.js":[4876,7,8592],"./lv/index.js":[82008,7,8592,6752],"./mk/_lib/formatDistance/index.js":[38992,7,8592],"./mk/_lib/formatLong/index.js":[7479,7,8592],"./mk/_lib/formatRelative/index.js":[41655,7,8592,3746],"./mk/_lib/localize/index.js":[23458,7,8592],"./mk/_lib/match/index.js":[82975,7,8592],"./mk/index.js":[21880,7,8592,3593],"./mn/_lib/formatDistance/index.js":[61341,7,8592],"./mn/_lib/formatLong/index.js":[19732,7,8592],"./mn/_lib/formatRelative/index.js":[98225,7,8592],"./mn/_lib/localize/index.js":[89576,7,8592],"./mn/_lib/match/index.js":[33306,7,8592],"./mn/index.js":[31937,7,8592,1937],"./ms/_lib/formatDistance/index.js":[97808,7,8592],"./ms/_lib/formatLong/index.js":[61962,7,8592],"./ms/_lib/formatRelative/index.js":[68530,7,8592],"./ms/_lib/localize/index.js":[13241,7,8592],"./ms/_lib/match/index.js":[67079,7,8592],"./ms/index.js":[25098,7,8592,5098],"./mt/_lib/formatDistance/index.js":[14611,7,8592],"./mt/_lib/formatLong/index.js":[65011,7,8592],"./mt/_lib/formatRelative/index.js":[44521,7,8592],"./mt/_lib/localize/index.js":[69408,7,8592],"./mt/_lib/match/index.js":[29726,7,8592],"./mt/index.js":[12811,7,8592,2811],"./nb/_lib/formatDistance/index.js":[59968,7,8592],"./nb/_lib/formatLong/index.js":[20511,7,8592],"./nb/_lib/formatRelative/index.js":[11639,7,8592],"./nb/_lib/localize/index.js":[94249,7,8592],"./nb/_lib/match/index.js":[63498,7,8592],"./nb/index.js":[61295,7,8592,8226],"./nl-BE/_lib/formatDistance/index.js":[16129,7,8592],"./nl-BE/_lib/formatLong/index.js":[17657,7,8592],"./nl-BE/_lib/formatRelative/index.js":[89811,7,8592],"./nl-BE/_lib/localize/index.js":[58816,7,8592],"./nl-BE/_lib/match/index.js":[28333,7,8592],"./nl-BE/index.js":[70296,7,8592,296],"./nl/_lib/formatDistance/index.js":[57117,7,8592],"./nl/_lib/formatLong/index.js":[57197,7,8592],"./nl/_lib/formatRelative/index.js":[62818,7,8592],"./nl/_lib/localize/index.js":[67706,7,8592],"./nl/_lib/match/index.js":[61430,7,8592],"./nl/index.js":[80775,7,8592,775],"./nn/_lib/formatDistance/index.js":[4563,7,8592],"./nn/_lib/formatLong/index.js":[89212,7,8592],"./nn/_lib/formatRelative/index.js":[2565,7,8592],"./nn/_lib/localize/index.js":[28456,7,8592],"./nn/_lib/match/index.js":[51571,7,8592],"./nn/index.js":[34632,7,8592,4632],"./oc/_lib/formatDistance/index.js":[16585,7,8592],"./oc/_lib/formatLong/index.js":[96725,7,8592],"./oc/_lib/formatRelative/index.js":[7548,7,8592],"./oc/_lib/localize/index.js":[93417,7,8592],"./oc/_lib/match/index.js":[18145,7,8592],"./oc/index.js":[68311,7,8592,8311],"./pl/_lib/formatDistance/index.js":[62056,7,8592],"./pl/_lib/formatLong/index.js":[47448,7,8592],"./pl/_lib/formatRelative/index.js":[65991,7,8592,903],"./pl/_lib/localize/index.js":[4306,7,8592],"./pl/_lib/match/index.js":[76075,7,8592],"./pl/index.js":[8554,7,8592,715],"./pt-BR/_lib/formatDistance/index.js":[52638,7,8592],"./pt-BR/_lib/formatLong/index.js":[33247,7,8592],"./pt-BR/_lib/formatRelative/index.js":[25492,7,8592],"./pt-BR/_lib/localize/index.js":[81046,7,8592],"./pt-BR/_lib/match/index.js":[63770,7,8592],"./pt-BR/index.js":[47569,7,8592,7569],"./pt/_lib/formatDistance/index.js":[55488,7,8592],"./pt/_lib/formatLong/index.js":[5133,7,8592],"./pt/_lib/formatRelative/index.js":[7493,7,8592],"./pt/_lib/localize/index.js":[58360,7,8592],"./pt/_lib/match/index.js":[37200,7,8592],"./pt/index.js":[24239,7,8592,4239],"./ro/_lib/formatDistance/index.js":[18199,7,8592],"./ro/_lib/formatLong/index.js":[84311,7,8592],"./ro/_lib/formatRelative/index.js":[97974,7,8592],"./ro/_lib/localize/index.js":[64729,7,8592],"./ro/_lib/match/index.js":[9202,7,8592],"./ro/index.js":[51055,7,8592,1055],"./ru/_lib/formatDistance/index.js":[90650,7,8592],"./ru/_lib/formatLong/index.js":[12580,7,8592],"./ru/_lib/formatRelative/index.js":[15994,7,8592,6160],"./ru/_lib/localize/index.js":[66943,7,8592],"./ru/_lib/match/index.js":[86374,7,8592],"./ru/index.js":[27413,7,8592,5287],"./sk/_lib/formatDistance/index.js":[32882,7,8592],"./sk/_lib/formatLong/index.js":[95087,7,8592],"./sk/_lib/formatRelative/index.js":[35507,7,8592,1338],"./sk/_lib/localize/index.js":[37369,7,8592],"./sk/_lib/match/index.js":[74329,7,8592],"./sk/index.js":[17065,7,8592,4586],"./sl/_lib/formatDistance/index.js":[57613,7,8592],"./sl/_lib/formatLong/index.js":[66302,7,8592],"./sl/_lib/formatRelative/index.js":[92131,7,8592],"./sl/_lib/localize/index.js":[2942,7,8592],"./sl/_lib/match/index.js":[36326,7,8592],"./sl/index.js":[62166,7,8592,2166],"./sq/_lib/formatDistance/index.js":[82569,7,8592],"./sq/_lib/formatLong/index.js":[32784,7,8592],"./sq/_lib/formatRelative/index.js":[44390,7,8592],"./sq/_lib/localize/index.js":[26425,7,8592],"./sq/_lib/match/index.js":[72140,7,8592],"./sq/index.js":[70797,7,8592,797],"./sr-Latn/_lib/formatDistance/index.js":[69014,7,8592],"./sr-Latn/_lib/formatLong/index.js":[99257,7,8592],"./sr-Latn/_lib/formatRelative/index.js":[42428,7,8592],"./sr-Latn/_lib/localize/index.js":[92773,7,8592],"./sr-Latn/_lib/match/index.js":[7766,7,8592],"./sr-Latn/index.js":[99064,7,8592,9064],"./sr/_lib/formatDistance/index.js":[55503,7,8592],"./sr/_lib/formatLong/index.js":[13465,7,8592],"./sr/_lib/formatRelative/index.js":[25743,7,8592],"./sr/_lib/localize/index.js":[30172,7,8592],"./sr/_lib/match/index.js":[81613,7,8592],"./sr/index.js":[15930,7,8592,5930],"./sv/_lib/formatDistance/index.js":[81387,7,8592],"./sv/_lib/formatLong/index.js":[20660,7,8592],"./sv/_lib/formatRelative/index.js":[43502,7,8592],"./sv/_lib/localize/index.js":[32384,7,8592],"./sv/_lib/match/index.js":[69940,7,8592],"./sv/index.js":[81413,7,8592,2135],"./ta/_lib/formatDistance/index.js":[66840,7,8592],"./ta/_lib/formatLong/index.js":[49391,7,8592],"./ta/_lib/formatRelative/index.js":[99284,7,8592],"./ta/_lib/localize/index.js":[61290,7,8592],"./ta/_lib/match/index.js":[33749,7,8592],"./ta/index.js":[21486,7,8592,1486],"./te/_lib/formatDistance/index.js":[38,7,8592],"./te/_lib/formatLong/index.js":[34703,7,8592],"./te/_lib/formatRelative/index.js":[46611,7,8592],"./te/_lib/localize/index.js":[86184,7,8592],"./te/_lib/match/index.js":[17208,7,8592],"./te/index.js":[52492,7,8592,2492],"./th/_lib/formatDistance/index.js":[32939,7,8592],"./th/_lib/formatLong/index.js":[96146,7,8592],"./th/_lib/formatRelative/index.js":[97294,7,8592],"./th/_lib/localize/index.js":[44204,7,8592],"./th/_lib/match/index.js":[59829,7,8592],"./th/index.js":[74785,7,8592,4785],"./tr/_lib/formatDistance/index.js":[77216,7,8592],"./tr/_lib/formatLong/index.js":[68379,7,8592],"./tr/_lib/formatRelative/index.js":[93999,7,8592],"./tr/_lib/localize/index.js":[8830,7,8592],"./tr/_lib/match/index.js":[58828,7,8592],"./tr/index.js":[40819,7,8592,3131],"./ug/_lib/formatDistance/index.js":[69442,7,8592],"./ug/_lib/formatLong/index.js":[36922,7,8592],"./ug/_lib/formatRelative/index.js":[20290,7,8592],"./ug/_lib/localize/index.js":[82490,7,8592],"./ug/_lib/match/index.js":[85282,7,8592],"./ug/index.js":[60182,7,8592,182],"./uk/_lib/formatDistance/index.js":[10017,7,8592],"./uk/_lib/formatLong/index.js":[26136,7,8592],"./uk/_lib/formatRelative/index.js":[88271,7,4,8592],"./uk/_lib/localize/index.js":[10954,7,8592],"./uk/_lib/match/index.js":[71680,7,8592],"./uk/index.js":[12509,7,4,8592,2509],"./uz-Cyrl/_lib/formatDistance/index.js":[67778,7,8592],"./uz-Cyrl/_lib/formatLong/index.js":[64095,7,8592],"./uz-Cyrl/_lib/formatRelative/index.js":[83734,7,8592],"./uz-Cyrl/_lib/localize/index.js":[17670,7,8592],"./uz-Cyrl/_lib/match/index.js":[75798,7,8592],"./uz-Cyrl/index.js":[14527,7,8592,4527],"./uz/_lib/formatDistance/index.js":[27197,7,8592],"./uz/_lib/formatLong/index.js":[27810,7,8592],"./uz/_lib/formatRelative/index.js":[22175,7,8592],"./uz/_lib/localize/index.js":[6881,7,8592],"./uz/_lib/match/index.js":[19263,7,8592],"./uz/index.js":[44203,7,8592,4203],"./vi/_lib/formatDistance/index.js":[61664,7,8592],"./vi/_lib/formatLong/index.js":[42296,7,8592],"./vi/_lib/formatRelative/index.js":[55191,7,8592],"./vi/_lib/localize/index.js":[67431,7,8592],"./vi/_lib/match/index.js":[98442,7,8592],"./vi/index.js":[48875,7,8592,8875],"./zh-CN/_lib/formatDistance/index.js":[33437,7,8592],"./zh-CN/_lib/formatLong/index.js":[91583,7,8592],"./zh-CN/_lib/formatRelative/index.js":[95629,7,8592,3951],"./zh-CN/_lib/localize/index.js":[17939,7,8592],"./zh-CN/_lib/match/index.js":[71362,7,8592],"./zh-CN/index.js":[86335,7,8592,2007],"./zh-HK/_lib/formatDistance/index.js":[37348,7,8592],"./zh-HK/_lib/formatLong/index.js":[60924,7,8592],"./zh-HK/_lib/formatRelative/index.js":[22164,7,8592],"./zh-HK/_lib/localize/index.js":[39264,7,8592],"./zh-HK/_lib/match/index.js":[50358,7,8592],"./zh-HK/index.js":[59277,7,8592,9277],"./zh-TW/_lib/formatDistance/index.js":[31613,7,8592],"./zh-TW/_lib/formatLong/index.js":[1239,7,8592],"./zh-TW/_lib/formatRelative/index.js":[13240,7,8592],"./zh-TW/_lib/localize/index.js":[29850,7,8592],"./zh-TW/_lib/match/index.js":[38819,7,8592],"./zh-TW/index.js":[74565,7,8592,3793]};function i(d){if(!l.o(a,d))return Promise.resolve().then(()=>{var f=new Error("Cannot find module '"+d+"'");throw f.code="MODULE_NOT_FOUND",f});var p=a[d],C=p[0];return Promise.all(p.slice(2).map(l.e)).then(()=>l.t(C,16|p[1]))}i.keys=()=>Object.keys(a),i.id=71213,ze.exports=i},22738:(ze,G,l)=>{"use strict";var a=l(48926).default,i=l(29901),d=l(5349),p=l(29067);function C(Re,Ge){if(!Object.prototype.hasOwnProperty.call(Re,Ge))throw new TypeError("attempted to use private field on non-instance");return Re}var f=0;function v(Re){return"__private_"+f+++"_"+Re}const b=l(64502),m=l(27507),I=l(74718),L=l(29980),M=l(15095),D=l(60986),A=l(9496);function B(Re,Ge){if(A(Re))return new D(Ge,Re);const it=new M("Upload error",{cause:Ge});return it.request=Re,it}var H=v("queueRequestSocketToken"),j=v("getOptions"),z=v("addEventHandlerForFile"),le=v("addEventHandlerIfFileStillExists"),oe=v("uploadLocalFile"),$=v("requestSocketToken"),y=v("uploadRemoteFile");function ge(Re){var Ge;const{uppy:it}=this,Se=it.getState().xhrUpload;return Oi(un(un(un({},this.opts),Se||{}),Re.xhrUpload||{}),{headers:un(un(un({},this.opts.headers),null==Se?void 0:Se.headers),null==(Ge=Re.xhrUpload)?void 0:Ge.headers)})}function Ve(Re,Ge,it){this.uploaderEvents[Ge].on(Re,Se=>{Ge===Se&&it()})}function $e(Re,Ge,it){var Se=this;this.uploaderEvents[Ge].on(Re,function(){Se.uppy.getFile(Ge)&&it(...arguments)})}function Be(Re,Ge,it){const Se=C(this,j)[j](Re);return this.uppy.log(`uploading ${Ge} of ${it}`),new Promise((Z,V)=>{const U=Se.formData?function w(Re,Ge){const it=new FormData;!function x(Re,Ge,it){(Array.isArray(it.metaFields)?it.metaFields:Object.keys(Ge)).forEach(Z=>{Re.append(Z,Ge[Z])})}(it,Re.meta,Ge);const Se=function R(Re){return Re.data.slice(0,Re.data.size,Re.meta.type)}(Re);return Re.name?it.append(Ge.fieldName,Se,Re.meta.name):it.append(Ge.fieldName,Se),it}(Re,Se):(Re=>Re.data)(Re),fe=new XMLHttpRequest;this.uploaderEvents[Re.id]=new I(this.uppy);const pe=new L(Se.timeout,()=>{fe.abort(),et.done();const de=new Error(this.i18n("timedOut",{seconds:Math.ceil(Se.timeout/1e3)}));this.uppy.emit("upload-error",Re,de),V(de)}),He=(0,i.nanoid)();fe.upload.addEventListener("loadstart",()=>{this.uppy.log(`[AwsS3/XHRUpload] ${He} started`)}),fe.upload.addEventListener("progress",de=>{this.uppy.log(`[AwsS3/XHRUpload] ${He} progress: ${de.loaded} / ${de.total}`),pe.progress(),de.lengthComputable&&this.uppy.emit("upload-progress",Re,{uploader:this,bytesUploaded:de.loaded,bytesTotal:de.total})}),fe.addEventListener("load",de=>{if(this.uppy.log(`[AwsS3/XHRUpload] ${He} finished`),pe.done(),et.done(),this.uploaderEvents[Re.id]&&(this.uploaderEvents[Re.id].remove(),this.uploaderEvents[Re.id]=null),Se.validateStatus(de.target.status,fe.responseText,fe)){const gt=Se.getResponseData(fe.responseText,fe),yt=gt[Se.responseUrlFieldName];return this.uppy.emit("upload-success",Re,{status:de.target.status,body:gt,uploadURL:yt}),yt&&this.uppy.log(`Download ${Re.name} from ${yt}`),Z(Re)}const lt=Se.getResponseData(fe.responseText,fe),St=B(fe,Se.getResponseError(fe.responseText,fe));return this.uppy.emit("upload-error",Re,St,{status:de.target.status,body:lt}),V(St)}),fe.addEventListener("error",()=>{this.uppy.log(`[AwsS3/XHRUpload] ${He} errored`),pe.done(),et.done(),this.uploaderEvents[Re.id]&&(this.uploaderEvents[Re.id].remove(),this.uploaderEvents[Re.id]=null);const de=B(fe,Se.getResponseError(fe.responseText,fe));return this.uppy.emit("upload-error",Re,de),V(de)}),fe.open(Se.method.toUpperCase(),Se.endpoint,!0),fe.withCredentials=Boolean(Se.withCredentials),""!==Se.responseType&&(fe.responseType=Se.responseType),Object.keys(Se.headers).forEach(de=>{fe.setRequestHeader(de,Se.headers[de])});const et=this.requests.run(()=>(fe.send(U),()=>{pe.done(),fe.abort()}),{priority:1});C(this,z)[z]("file-removed",Re.id,()=>{et.abort(),V(new Error("File removed"))}),C(this,le)[le]("cancel-all",Re.id,function(de){let{reason:lt}=void 0===de?{}:de;"user"===lt&&et.abort(),V(new Error("Upload cancelled"))})})}function Ee(Re){return Ie.apply(this,arguments)}function Ie(){return(Ie=a(function*(Re){try{if(Re.serverToken)return this.connectToServerSocket(Re);const Ge=yield C(this,H)[H](Re);return this.uppy.getState().files[Re.id]?(this.uppy.setFileState(Re.id,{serverToken:Ge}),this.connectToServerSocket(this.uppy.getFile(Re.id))):void 0}catch(Ge){throw this.uppy.emit("upload-error",Re,Ge),Ge}})).apply(this,arguments)}ze.exports=class ae{constructor(Ge,it){var Z,Se=this;Object.defineProperty(this,y,{value:Ee}),Object.defineProperty(this,oe,{value:Be}),Object.defineProperty(this,le,{value:$e}),Object.defineProperty(this,z,{value:Ve}),Object.defineProperty(this,j,{value:ge}),Object.defineProperty(this,H,{writable:!0,value:void 0}),Object.defineProperty(this,$,{writable:!0,value:(Z=a(function*(V){const U=C(Se,j)[j](V),pe=new(V.remote.providerOptions.provider?d.Provider:d.RequestClient)(Se.uppy,V.remote.providerOptions),He=Array.isArray(U.metaFields)?U.metaFields:Object.keys(V.meta);return V.tus&&Object.assign(U,V.tus),(yield pe.post(V.remote.url,Oi(un({},V.remote.body),{endpoint:U.endpoint,size:V.data.size,fieldname:U.fieldName,metadata:Object.fromEntries(He.map(de=>[de,V.meta[de]])),httpMethod:U.method,useFormData:U.formData,headers:U.headers}))).token}),function(U){return Z.apply(this,arguments)})}),this.uppy=Ge,this.opts=un({validateStatus:Z=>Z>=200&&Z<300},it),this.requests=it[p.internalRateLimitedQueue],this.uploaderEvents=Object.create(null),this.i18n=it.i18n,C(this,H)[H]=this.requests.wrapPromiseFunction(C(this,$)[$],{priority:-1})}uploadFile(Ge,it,Se){const Z=this.uppy.getFile(Ge);if(Z.error)throw new Error(Z.error);return Z.isRemote?C(this,y)[y](Z,it,Se):C(this,oe)[oe](Z,it,Se)}connectToServerSocket(Ge){return new Promise((it,Se)=>{const Z=C(this,j)[j](Ge),V=Ge.serverToken,U=m(Ge.remote.companionUrl);let fe;const pe=()=>{null==fe&&(fe=new d.Socket({target:`${U}/api/${V}`}),fe.on("progress",de=>b(this,de,Ge)),fe.on("success",de=>{const lt=Z.getResponseData(de.response.responseText,de.response);return this.uppy.emit("upload-success",Ge,{status:de.response.status,body:lt,uploadURL:lt[Z.responseUrlFieldName],bytesUploaded:de.bytesUploaded}),He.done(),fe.close(),this.uploaderEvents[Ge.id]&&(this.uploaderEvents[Ge.id].remove(),this.uploaderEvents[Ge.id]=null),it()}),fe.on("error",de=>{const lt=de.response,St=lt?Z.getResponseError(lt.responseText,lt):new M(de.error.message,{cause:de.error});this.uppy.emit("upload-error",Ge,St),He.done(),this.uploaderEvents[Ge.id]&&(this.uploaderEvents[Ge.id].remove(),this.uploaderEvents[Ge.id]=null),Se(St)}))};this.uploaderEvents[Ge.id]=new I(this.uppy);let He=this.requests.run(()=>{var de;return Ge.isPaused?null==(de=fe)||de.send("pause",{}):pe(),()=>fe.close()});C(this,z)[z]("file-removed",Ge.id,()=>{var de;null==(de=fe)||de.send("cancel",{}),He.abort(),it(`upload ${Ge.id} was removed`)}),C(this,le)[le]("cancel-all",Ge.id,function(de){let{reason:lt}=void 0===de?{}:de;var St;"user"===lt&&(null==(St=fe)||St.send("cancel",{}),He.abort()),it(`upload ${Ge.id} was canceled`)});const et=()=>{null==fe?He.abort():(fe.send("pause",{}),He.done()),He=this.requests.run(()=>(Ge.isPaused||(null==fe?pe():fe.send("resume",{})),()=>fe.close()))};C(this,z)[z]("upload-retry",Ge.id,et),C(this,le)[le]("retry-all",Ge.id,et)}).catch(it=>(this.uppy.emit("upload-error",Ge,it),Promise.reject(it)))}}},49725:(ze,G,l)=>{"use strict";var a=l(29067),i=l(5349);let d;function p(oe,$){if(!Object.prototype.hasOwnProperty.call(oe,$))throw new TypeError("attempted to use private field on non-instance");return oe}var C=0;function f(oe){return"__private_"+C+++"_"+oe}const v=l(15697),m=l(22738),I=l(17323),L=l(21625);function M(oe,$){return new URL($,oe||void 0).toString()}function D(oe,$){const y=oe.indexOf(`<${$}>`),ae=oe.indexOf(`</${$}>`,y);return-1!==y&&-1!==ae?oe.slice(y+$.length+2,ae):""}function A(oe){if(oe&&oe.error){const $=new Error(oe.message);throw Object.assign($,oe.error),$}return oe}function R(oe,$){if(!I(oe,$))return;const y=D(oe,"Message");return new Error(y)}let x=!1;var w=f("client"),k=f("requests"),H=f("uploader"),j=f("handleUpload"),z=f("setCompanionHeaders");d=Symbol.for("uppy test: getClient");class le extends v{constructor($,y){super($,y),Object.defineProperty(this,w,{writable:!0,value:void 0}),Object.defineProperty(this,k,{writable:!0,value:void 0}),Object.defineProperty(this,H,{writable:!0,value:void 0}),Object.defineProperty(this,j,{writable:!0,value:ge=>{const Ve=Object.create(null);function $e(Ie){var Re;const{id:Ge}=Ie;null==(Re=Ve[Ge])||Re.abort()}this.uppy.on("file-removed",$e),ge.forEach(Ie=>{const Re=this.uppy.getFile(Ie);this.uppy.emit("upload-started",Re)});const Be=p(this,k)[k].wrapPromiseFunction(Ie=>this.opts.getUploadParameters(Ie)),Ee=ge.length;return Promise.allSettled(ge.map((Ie,Re)=>(Ve[Ie]=Be(this.uppy.getFile(Ie)),Ve[Ie].then(Ge=>{delete Ve[Ie];const it=this.uppy.getFile(Ie);!function B(oe,$){if(null==$||"string"!=typeof $.url||"object"!=typeof $.fields&&null!=$.fields)throw new TypeError(`AwsS3: got incorrect result from 'getUploadParameters()' for file '${oe.name}', expected an object '{ url, method, fields, headers }' but got '${JSON.stringify($)}' instead.\nSee https://uppy.io/docs/aws-s3/#getUploadParameters-file for more on the expected format.`);if(null!=$.method&&!/^p(u|os)t$/i.test($.method))throw new TypeError(`AwsS3: got incorrect method from 'getUploadParameters()' for file '${oe.name}', expected  'put' or 'post' but got '${$.method}' instead.\nSee https://uppy.io/docs/aws-s3/#getUploadParameters-file for more on the expected format.`)}(it,Ge);const{method:Se="post",url:Z,fields:V,headers:U}=Ge,fe={method:Se,formData:"post"===Se.toLowerCase(),endpoint:Z,metaFields:V?Object.keys(V):[]};return U&&(fe.headers=U),this.uppy.setFileState(it.id,{meta:un(un({},it.meta),V),xhrUpload:fe}),p(this,H)[H].uploadFile(it.id,Re,Ee)}).catch(Ge=>{delete Ve[Ie];const it=this.uppy.getFile(Ie);return this.uppy.emit("upload-error",it,Ge),Promise.reject(Ge)})))).finally(()=>{this.uppy.off("file-removed",$e)})}}),Object.defineProperty(this,z,{writable:!0,value:()=>(p(this,w)[w].setCompanionHeaders(this.opts.companionHeaders),Promise.resolve())}),this.type="uploader",this.id=this.opts.id||"AwsS3",this.title="AWS S3",this.defaultLocale=L;const ae={timeout:3e4,limit:0,metaFields:[],getUploadParameters:this.getUploadParameters.bind(this),companionHeaders:{}};this.opts=un(un({},ae),y),this.i18nInit(),p(this,w)[w]=new i.RequestClient($,y),p(this,k)[k]=new a.RateLimitedQueue(this.opts.limit)}[d](){return p(this,w)[w]}get client(){return p(this,w)[w]}set client($){p(this,w)[w]=$}getUploadParameters($){if(!this.opts.companionUrl)throw new Error("Expected a `companionUrl` option containing a Companion address.");const y=$.meta.name,{type:ae}=$.meta,ge=Object.fromEntries(this.opts.metaFields.filter($e=>null!=$.meta[$e]).map($e=>[`metadata[${$e}]`,$.meta[$e].toString()])),Ve=new URLSearchParams(un({filename:y,type:ae},ge));return p(this,w)[w].get(`s3/params?${Ve}`).then(A)}install(){const{uppy:$}=this;$.addPreProcessor(p(this,z)[z]),$.addUploader(p(this,j)[j]);const ae={fieldName:"file",responseUrlFieldName:"location",timeout:this.opts.timeout,[a.internalRateLimitedQueue]:p(this,k)[k],responseType:"text",getResponseData:this.opts.getResponseData||function y(ge,Ve){return I(ge,Ve)?{location:M(Ve.responseURL,D(ge,"Location")),bucket:D(ge,"Bucket"),key:D(ge,"Key"),etag:D(ge,"ETag")}:"POST"===this.method.toUpperCase()?(x||($.log("[AwsS3] No response data found, make sure to set the success_action_status AWS SDK option to 201. See https://uppy.io/docs/aws-s3/#POST-Uploads","warning"),x=!0),{location:null}):Ve.responseURL?{location:Ve.responseURL.replace(/\?.*$/,"")}:{location:null}},getResponseError:R};ae.i18n=this.i18n,p(this,H)[H]=new m($,ae)}uninstall(){this.uppy.removePreProcessor(p(this,z)[z]),this.uppy.removeUploader(p(this,j)[j])}}le.VERSION="2.2.4",ze.exports=le},17323:ze=>{"use strict";ze.exports=function l(a,i){const d=i.headers?i.headers["content-type"]:i.getResponseHeader("Content-Type");if("string"==typeof d){const p=function G(a){return a.replace(/;.*$/,"")}(d).toLowerCase();if("application/xml"===p||"text/xml"===p||"text/html"===p&&/^<\?xml /.test(a))return!0}return!1}},21625:ze=>{"use strict";ze.exports={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}}},18572:ze=>{"use strict";class G extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}ze.exports=G},45818:(ze,G,l)=>{"use strict";var a=l(48926).default,i=l(63332);const d=l(15821);ze.exports=class C extends d{constructor(v,b){super(v,b),this.provider=b.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(v=>v.charAt(0).toUpperCase()+v.slice(1)).join(" "),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(v=>{let[b,m]=v;const I={};return m&&(I["uppy-auth-token"]=m),this.companionKeysParams&&(I["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),un(un({},b),I)})}onReceiveResponse(v){v=super.onReceiveResponse(v);const b=this.uppy.getPlugin(this.pluginId),I=b.getPluginState().authenticated?401!==v.status:v.status<400;return b.setPluginState({authenticated:I}),v}setAuthToken(v){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,v)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}ensurePreAuth(){var v=this;return a(function*(){if(v.companionKeysParams&&!v.preAuthToken&&(yield v.fetchPreAuthToken(),!v.preAuthToken))throw new Error("Could not load authentication data required for third-party login. Please try again later.")})()}authUrl(v){void 0===v&&(v={});const b=new URLSearchParams(v);return this.preAuthToken&&b.set("uppyPreAuthToken",this.preAuthToken),`${this.hostname}/${this.id}/connect?${b}`}fileUrl(v){return`${this.hostname}/${this.id}/get/${v}`}fetchPreAuthToken(){var v=this;return a(function*(){if(v.companionKeysParams)try{const b=yield v.post(`${v.id}/preauth/`,{params:v.companionKeysParams});v.preAuthToken=b.token}catch(b){v.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${b}`,"warning")}})()}list(v){return this.get(`${this.id}/list/${v||""}`)}logout(){return this.get(`${this.id}/logout`).then(v=>Promise.all([v,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(v=>{let[b]=v;return b})}static initPlugin(v,b,m){if(v.type="acquirer",v.files=[],m&&(v.opts=un(un({},m),b)),b.serverUrl||b.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(b.companionAllowedHosts){const I=b.companionAllowedHosts;if(!("string"==typeof I||Array.isArray(I)||I instanceof RegExp))throw new TypeError(`${v.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);v.opts.companionAllowedHosts=I}else v.opts.companionAllowedHosts=/^(?!https?:\/\/).*$/i.test(b.companionUrl)?`https://${b.companionUrl.replace(/^\/\//,"")}`:new URL(b.companionUrl).origin;v.storage=v.opts.storage||i}}},15821:(ze,G,l)=>{"use strict";var a=l(48926).default;let i;function d(H,j){if(!Object.prototype.hasOwnProperty.call(H,j))throw new TypeError("attempted to use private field on non-instance");return H}var p=0;function C(H){return"__private_"+p+++"_"+H}const f=l(61346),v=l(15095),b=l(18572);function L(H){return M.apply(this,arguments)}function M(){return(M=a(function*(H){if(401===H.status)throw new b;const j=H.json();if(H.status<200||H.status>300){let z=`Failed request with status: ${H.status}. ${H.statusText}`;try{const le=yield j;z=le.message?`${z} message: ${le.message}`:z,z=le.requestId?`${z} request-Id: ${le.requestId}`:z}finally{throw new Error(z)}}return j})).apply(this,arguments)}var D=C("companionHeaders"),A=C("getPostResponseFunc"),B=C("getUrl"),R=C("errorHandler");i=Symbol.for("uppy test: getCompanionHeaders");class x{constructor(j,z){Object.defineProperty(this,R,{value:k}),Object.defineProperty(this,B,{value:w}),Object.defineProperty(this,D,{writable:!0,value:void 0}),Object.defineProperty(this,A,{writable:!0,value:le=>oe=>le?oe:this.onReceiveResponse(oe)}),this.uppy=j,this.opts=z,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1,d(this,D)[D]=null==z?void 0:z.companionHeaders}setCompanionHeaders(j){d(this,D)[D]=j}[i](){return d(this,D)[D]}get hostname(){const{companion:j}=this.uppy.getState(),z=this.opts.companionUrl;return function I(H){return H.replace(/\/$/,"")}(j&&j[z]?j[z]:z)}headers(){return Promise.resolve(un(un({},x.defaultHeaders),d(this,D)[D]))}onReceiveResponse(j){const le=this.uppy.getState().companion||{},oe=this.opts.companionUrl,{headers:$}=j;return $.has("i-am")&&$.get("i-am")!==le[oe]&&this.uppy.setState({companion:Oi(un({},le),{[oe]:$.get("i-am")})}),j}preflight(j){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(d(this,B)[B](j),{method:"OPTIONS"}).then(z=>(z.headers.has("access-control-allow-headers")&&(this.allowedHeaders=z.headers.get("access-control-allow-headers").split(",").map(le=>le.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(z=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${z}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(j){return Promise.all([this.preflight(j),this.headers()]).then(z=>{let[le,oe]=z;return Object.keys(oe).forEach($=>{le.includes($.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${$}`),delete oe[$])}),oe})}get(j,z){return this.preflightAndHeaders(j).then(oe=>f(d(this,B)[B](j),{method:"get",headers:oe,credentials:this.opts.companionCookiesRule||"same-origin"})).then(d(this,A)[A](z)).then(L).catch(d(this,R)[R]("get",j))}post(j,z,le){return this.preflightAndHeaders(j).then($=>f(d(this,B)[B](j),{method:"post",headers:$,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(z)})).then(d(this,A)[A](le)).then(L).catch(d(this,R)[R]("post",j))}delete(j,z,le){return this.preflightAndHeaders(j).then($=>f(`${this.hostname}/${j}`,{method:"delete",headers:$,credentials:this.opts.companionCookiesRule||"same-origin",body:z?JSON.stringify(z):null})).then(d(this,A)[A](le)).then(L).catch(d(this,R)[R]("delete",j))}}function w(H){return/^(https?:|)\/\//.test(H)?H:`${this.hostname}/${H}`}function k(H,j){return z=>{var le;return null!=(le=z)&&le.isAuthError||(z=new v(`Could not ${H} ${d(this,B)[B](j)}`,{cause:z})),Promise.reject(z)}}x.VERSION="2.2.2",x.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${x.VERSION}`},ze.exports=x},51044:(ze,G,l)=>{"use strict";const a=l(15821);ze.exports=class d extends a{constructor(C,f){super(C,f),this.provider=f.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(C=>C.charAt(0).toUpperCase()+C.slice(1)).join(" "),this.pluginId=this.opts.pluginId}fileUrl(C){return`${this.hostname}/search/${this.id}/get/${C}`}search(C,f){return this.get(`search/${this.id}/list?q=${encodeURIComponent(C)}${f?`&${f}`:""}`)}}},84678:(ze,G,l)=>{"use strict";let a,i;function d(D,A){if(!Object.prototype.hasOwnProperty.call(D,A))throw new TypeError("attempted to use private field on non-instance");return D}var p=0;function C(D){return"__private_"+p+++"_"+D}const f=l(88696);var v=C("queued"),b=C("emitter"),m=C("isOpen"),I=C("socket"),L=C("handleMessage");a=Symbol.for("uppy test: getSocket"),i=Symbol.for("uppy test: getQueued"),ze.exports=class M{constructor(A){Object.defineProperty(this,v,{writable:!0,value:[]}),Object.defineProperty(this,b,{writable:!0,value:f()}),Object.defineProperty(this,m,{writable:!0,value:!1}),Object.defineProperty(this,I,{writable:!0,value:void 0}),Object.defineProperty(this,L,{writable:!0,value:B=>{try{const R=JSON.parse(B.data);this.emit(R.action,R.payload)}catch(R){console.log(R)}}}),this.opts=A,(!A||!1!==A.autoOpen)&&this.open()}get isOpen(){return d(this,m)[m]}[a](){return d(this,I)[I]}[i](){return d(this,v)[v]}open(){d(this,I)[I]=new WebSocket(this.opts.target),d(this,I)[I].onopen=()=>{for(d(this,m)[m]=!0;d(this,v)[v].length>0&&d(this,m)[m];){const A=d(this,v)[v].shift();this.send(A.action,A.payload)}},d(this,I)[I].onclose=()=>{d(this,m)[m]=!1},d(this,I)[I].onmessage=d(this,L)[L]}close(){var A;null==(A=d(this,I)[I])||A.close()}send(A,B){d(this,m)[m]?d(this,I)[I].send(JSON.stringify({action:A,payload:B})):d(this,v)[v].push({action:A,payload:B})}on(A,B){d(this,b)[b].on(A,B)}emit(A,B){d(this,b)[b].emit(A,B)}once(A,B){d(this,b)[b].once(A,B)}}},5349:(ze,G,l)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.Socket=G.SearchProvider=G.RequestClient=G.Provider=void 0;const a=l(15821);G.RequestClient=a;const i=l(45818);G.Provider=i;const d=l(51044);G.SearchProvider=d;const p=l(84678);G.Socket=p},63332:(ze,G)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.getItem=function a(d){return Promise.resolve(localStorage.getItem(d))},G.removeItem=function i(d){return new Promise(p=>{localStorage.removeItem(d),p()})},G.setItem=function l(d,p){return new Promise(C=>{localStorage.setItem(d,p),C()})}},15697:(ze,G,l)=>{"use strict";const a=l(83638);ze.exports=class i{constructor(p,C){void 0===C&&(C={}),this.uppy=p,this.opts=C}getPluginState(){const{plugins:p}=this.uppy.getState();return p[this.id]||{}}setPluginState(p){const{plugins:C}=this.uppy.getState();this.uppy.setState({plugins:Oi(un({},C),{[this.id]:un(un({},C[this.id]),p)})})}setOptions(p){this.opts=un(un({},this.opts),p),this.setPluginState(),this.i18nInit()}i18nInit(){const p=new a([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=p.translate.bind(p),this.i18nArray=p.translateArray.bind(p),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}}},17755:(ze,G,l)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.defaultOptions=G.RestrictionError=G.Restricter=void 0;const a=l(35891),i=l(1667);G.defaultOptions={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};class p extends Error{constructor(){super(...arguments),this.isRestriction=!0}}G.RestrictionError=p,"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(v,b){super(b),this.errors=v}}),G.Restricter=class C{constructor(v,b){this.i18n=b,this.getOpts=()=>{const m=v();if(null!=m.restrictions.allowedFileTypes&&!Array.isArray(m.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");return m}}validate(v,b){const{maxFileSize:m,minFileSize:I,maxTotalFileSize:L,maxNumberOfFiles:M,allowedFileTypes:D}=this.getOpts().restrictions;if(M&&b.filter(B=>!B.isGhost).length+1>M)throw new p(`${this.i18n("youCanOnlyUploadX",{smart_count:M})}`);if(D&&!D.some(B=>B.includes("/")?!!v.type&&i(v.type.replace(/;.*?$/,""),B):!("."!==B[0]||!v.extension)&&v.extension.toLowerCase()===B.slice(1).toLowerCase())){const B=D.join(", ");throw new p(this.i18n("youCanOnlyUploadFileTypes",{types:B}))}if(L&&null!=v.size&&b.reduce((B,R)=>B+R.size,v.size)>L)throw new p(this.i18n("exceedsSize",{size:a(L),file:v.name}));if(m&&null!=v.size&&v.size>m)throw new p(this.i18n("exceedsSize",{size:a(m),file:v.name}));if(I&&null!=v.size&&v.size<I)throw new p(this.i18n("inferiorSize",{size:a(I)}))}validateMinNumberOfFiles(v){const{minNumberOfFiles:b}=this.getOpts().restrictions;if(Object.keys(v).length<b)throw new p(this.i18n("youHaveToAtLeastSelectX",{smart_count:b}))}getMissingRequiredMetaFields(v){const b=new p(this.i18n("missingRequiredMetaFieldOnFile",{fileName:v.name})),{requiredMetaFields:m}=this.getOpts().restrictions,I=Object.prototype.hasOwnProperty,L=[];for(const M of m)(!I.call(v.meta,M)||""===v.meta[M])&&L.push(M);return{missingFields:L,error:b}}}},14648:(ze,G,l)=>{"use strict";var a=l(23580);function i(L,M){if(!Object.prototype.hasOwnProperty.call(L,M))throw new TypeError("attempted to use private field on non-instance");return L}var d=0;function p(L){return"__private_"+d+++"_"+L}const C=l(9586),f=l(79407),v=l(15697);var m=p("updateUI");class I extends v{constructor(){super(...arguments),Object.defineProperty(this,m,{writable:!0,value:void 0})}mount(M,D){const A=D.id,B=C(M);if(B){this.isTargetDOMEl=!0;const w=document.createElement("div");return w.classList.add("uppy-Root"),i(this,m)[m]=function b(L){let M=null,D=null;return function(){for(var A=arguments.length,B=new Array(A),R=0;R<A;R++)B[R]=arguments[R];return D=B,M||(M=Promise.resolve().then(()=>(M=null,L(...D)))),M}}(k=>{!this.uppy.getPlugin(this.id)||((0,a.render)(this.render(k),w),this.afterUpdate())}),this.uppy.log(`Installing ${A} to a DOM element '${M}'`),this.opts.replaceTargetContent&&(B.innerHTML=""),(0,a.render)(this.render(this.uppy.getState()),w),this.el=w,B.appendChild(w),w.dir=this.opts.direction||f(w)||"ltr",this.onMount(),this.el}let R;if("object"==typeof M&&M instanceof I)R=M;else if("function"==typeof M){const w=M;this.uppy.iteratePlugins(k=>{k instanceof w&&(R=k)})}if(R)return this.uppy.log(`Installing ${A} to ${R.id}`),this.parent=R,this.el=R.addTarget(D),this.onMount(),this.el;this.uppy.log(`Not installing ${A}`);let x=`Invalid target option given to ${A}.`;throw x+="function"==typeof M?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(x)}update(M){var D,A;null!=this.el&&(null==(D=(A=i(this,m))[m])||D.call(A,M))}unmount(){var M;this.isTargetDOMEl&&(null==(M=this.el)||M.remove()),this.onUnmount()}onMount(){}onUnmount(){}}ze.exports=I},85281:(ze,G,l)=>{"use strict";var a=l(48926).default,i=l(29901),d=l(84298),p=l(17755);let C,f;function v(Xe,X){if(!Object.prototype.hasOwnProperty.call(Xe,X))throw new TypeError("attempted to use private field on non-instance");return Xe}var b=0;function m(Xe){return"__private_"+b+++"_"+Xe}const I=l(83638),L=l(88696),M=l(58078),D=l(78003),A=l(21528),B=l(19467),R=l(11107),x=l(74158),w=l(27444),H=l(63763);var j=m("plugins"),z=m("restricter"),le=m("storeUnsubscribe"),oe=m("emitter"),$=m("preProcessors"),y=m("uploaders"),ae=m("postProcessors"),ge=m("informAndEmit"),Ve=m("checkRequiredMetaFieldsOnFile"),$e=m("checkRequiredMetaFields"),Be=m("assertNewUploadAllowed"),Ee=m("checkAndCreateFileStateObject"),Ie=m("startIfAutoProceed"),Re=m("addListeners"),Ge=m("updateOnlineStatus"),it=m("createUpload"),Se=m("getUpload"),Z=m("removeUpload"),V=m("runUpload");C=Symbol.for("uppy test: getPlugins"),f=Symbol.for("uppy test: createUpload");class U{constructor(X){Object.defineProperty(this,V,{value:Je}),Object.defineProperty(this,Z,{value:yt}),Object.defineProperty(this,Se,{value:gt}),Object.defineProperty(this,it,{value:Qt}),Object.defineProperty(this,Re,{value:St}),Object.defineProperty(this,Ie,{value:lt}),Object.defineProperty(this,Ee,{value:de}),Object.defineProperty(this,Be,{value:et}),Object.defineProperty(this,$e,{value:He}),Object.defineProperty(this,Ve,{value:pe}),Object.defineProperty(this,ge,{value:fe}),Object.defineProperty(this,j,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,z,{writable:!0,value:void 0}),Object.defineProperty(this,le,{writable:!0,value:void 0}),Object.defineProperty(this,oe,{writable:!0,value:L()}),Object.defineProperty(this,$,{writable:!0,value:new Set}),Object.defineProperty(this,y,{writable:!0,value:new Set}),Object.defineProperty(this,ae,{writable:!0,value:new Set}),Object.defineProperty(this,Ge,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=H;const xe={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:p.defaultOptions,meta:{},onBeforeFileAdded:he=>he,onBeforeUpload:he=>he,store:D(),logger:d.justErrorsLogger,infoTimeout:5e3};this.opts=Oi(un(un({},xe),X),{restrictions:un(un({},xe.restrictions),X&&X.restrictions)}),X&&X.logger&&X.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):X&&X.debug&&(this.opts.logger=d.debugLogger),this.log(`Using Core v${this.constructor.VERSION}`),this.i18nInit(),this.calculateProgress=M(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:x(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:un({},this.opts.meta),info:[],recoveredState:null}),v(this,z)[z]=new p.Restricter(()=>this.opts,this.i18n),v(this,le)[le]=this.store.subscribe((he,N,F)=>{this.emit("state-update",he,N,F),this.updateAll(N)}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),v(this,Re)[Re]()}emit(X){for(var xe=arguments.length,he=new Array(xe>1?xe-1:0),N=1;N<xe;N++)he[N-1]=arguments[N];v(this,oe)[oe].emit(X,...he)}on(X,xe){return v(this,oe)[oe].on(X,xe),this}once(X,xe){return v(this,oe)[oe].once(X,xe),this}off(X,xe){return v(this,oe)[oe].off(X,xe),this}updateAll(X){this.iteratePlugins(xe=>{xe.update(X)})}setState(X){this.store.setState(X)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(X,xe){if(!this.getState().files[X])throw new Error(`Can\u2019t set state for ${X} (the file could have been removed)`);this.setState({files:Oi(un({},this.getState().files),{[X]:un(un({},this.getState().files[X]),xe)})})}i18nInit(){const X=new I([this.defaultLocale,this.opts.locale]);this.i18n=X.translate.bind(X),this.i18nArray=X.translateArray.bind(X),this.locale=X.locale}setOptions(X){this.opts=Oi(un(un({},this.opts),X),{restrictions:un(un({},this.opts.restrictions),X&&X.restrictions)}),X.meta&&this.setMeta(X.meta),this.i18nInit(),X.locale&&this.iteratePlugins(xe=>{xe.setOptions()}),this.setState()}resetProgress(){const X={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},xe=un({},this.getState().files),he={};Object.keys(xe).forEach(N=>{const F=un({},xe[N]);F.progress=un(un({},F.progress),X),he[N]=F}),this.setState({files:he,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(X){v(this,$)[$].add(X)}removePreProcessor(X){return v(this,$)[$].delete(X)}addPostProcessor(X){v(this,ae)[ae].add(X)}removePostProcessor(X){return v(this,ae)[ae].delete(X)}addUploader(X){v(this,y)[y].add(X)}removeUploader(X){return v(this,y)[y].delete(X)}setMeta(X){const xe=un(un({},this.getState().meta),X),he=un({},this.getState().files);Object.keys(he).forEach(N=>{he[N]=Oi(un({},he[N]),{meta:un(un({},he[N].meta),X)})}),this.log("Adding metadata:"),this.log(X),this.setState({meta:xe,files:he})}setFileMeta(X,xe){const he=un({},this.getState().files);if(!he[X])return void this.log("Was trying to set metadata for a file that has been removed: ",X);const N=un(un({},he[X].meta),xe);he[X]=Oi(un({},he[X]),{meta:N}),this.setState({files:he})}getFile(X){return this.getState().files[X]}getFiles(){const{files:X}=this.getState();return Object.values(X)}getObjectOfFilesPerState(){const{files:X,totalProgress:xe,error:he}=this.getState(),N=Object.values(X),F=N.filter(gn=>{let{progress:yn}=gn;return!yn.uploadComplete&&yn.uploadStarted}),Y=N.filter(gn=>!gn.progress.uploadStarted),re=N.filter(gn=>gn.progress.uploadStarted||gn.progress.preprocess||gn.progress.postprocess),Oe=N.filter(gn=>gn.progress.uploadStarted),Ye=N.filter(gn=>gn.isPaused),vt=N.filter(gn=>gn.progress.uploadComplete),Vt=N.filter(gn=>gn.error),Jt=F.filter(gn=>!gn.isPaused),hn=N.filter(gn=>gn.progress.preprocess||gn.progress.postprocess);return{newFiles:Y,startedFiles:re,uploadStartedFiles:Oe,pausedFiles:Ye,completeFiles:vt,erroredFiles:Vt,inProgressFiles:F,inProgressNotPausedFiles:Jt,processingFiles:hn,isUploadStarted:Oe.length>0,isAllComplete:100===xe&&vt.length===N.length&&0===hn.length,isAllErrored:!!he&&Vt.length===N.length,isAllPaused:0!==F.length&&Ye.length===F.length,isUploadInProgress:F.length>0,isSomeGhost:N.some(gn=>gn.isGhost)}}validateRestrictions(X,xe){void 0===xe&&(xe=this.getFiles());try{return v(this,z)[z].validate(X,xe),{result:!0}}catch(he){return{result:!1,reason:he.message}}}checkIfFileAlreadyExists(X){const{files:xe}=this.getState();return!(!xe[X]||xe[X].isGhost)}addFile(X){v(this,Be)[Be](X);const{files:xe}=this.getState();let he=v(this,Ee)[Ee](xe,X);return xe[he.id]&&xe[he.id].isGhost&&(he=Oi(un({},xe[he.id]),{data:X.data,isGhost:!1}),this.log(`Replaced the blob in the restored ghost file: ${he.name}, ${he.id}`)),this.setState({files:Oi(un({},xe),{[he.id]:he})}),this.emit("file-added",he),this.emit("files-added",[he]),this.log(`Added file: ${he.name}, ${he.id}, mime type: ${he.type}`),v(this,Ie)[Ie](),he.id}addFiles(X){v(this,Be)[Be]();const xe=un({},this.getState().files),he=[],N=[];for(let F=0;F<X.length;F++)try{let Y=v(this,Ee)[Ee](xe,X[F]);xe[Y.id]&&xe[Y.id].isGhost&&(Y=Oi(un({},xe[Y.id]),{data:X[F].data,isGhost:!1}),this.log(`Replaced blob in a ghost file: ${Y.name}, ${Y.id}`)),xe[Y.id]=Y,he.push(Y)}catch(Y){Y.isRestriction||N.push(Y)}if(this.setState({files:xe}),he.forEach(F=>{this.emit("file-added",F)}),this.emit("files-added",he),he.length>5?this.log(`Added batch of ${he.length} files`):Object.keys(he).forEach(F=>{this.log(`Added file: ${he[F].name}\n id: ${he[F].id}\n type: ${he[F].type}`)}),he.length>0&&v(this,Ie)[Ie](),N.length>0){let F="Multiple errors occurred while adding files:\n";if(N.forEach(Y=>{F+=`\n * ${Y.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:N.length}),details:F},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw new AggregateError(N,F);{const Y=new Error(F);throw Y.errors=N,Y}}}removeFiles(X,xe){const{files:he,currentUploads:N}=this.getState(),F=un({},he),Y=un({},N),re=Object.create(null);function Oe(Vt){return void 0===re[Vt]}X.forEach(Vt=>{he[Vt]&&(re[Vt]=he[Vt],delete F[Vt])}),Object.keys(Y).forEach(Vt=>{const Jt=N[Vt].fileIDs.filter(Oe);if(0===Jt.length)return void delete Y[Vt];const{capabilities:hn}=this.getState();if(Jt.length!==N[Vt].fileIDs.length&&!hn.individualCancellation)throw new Error("individualCancellation is disabled");Y[Vt]=Oi(un({},N[Vt]),{fileIDs:Jt})});const Ye={currentUploads:Y,files:F};0===Object.keys(F).length&&(Ye.allowNewUpload=!0,Ye.error=null,Ye.recoveredState=null),this.setState(Ye),this.calculateTotalProgress();const vt=Object.keys(re);vt.forEach(Vt=>{this.emit("file-removed",re[Vt],xe)}),this.log(vt.length>5?`Removed ${vt.length} files`:`Removed files: ${vt.join(", ")}`)}removeFile(X,xe){void 0===xe&&(xe=null),this.removeFiles([X],xe)}pauseResume(X){if(!this.getState().capabilities.resumableUploads||this.getFile(X).uploadComplete)return;const he=!this.getFile(X).isPaused;return this.setFileState(X,{isPaused:he}),this.emit("upload-pause",X,he),he}pauseAll(){const X=un({},this.getState().files);Object.keys(X).filter(he=>!X[he].progress.uploadComplete&&X[he].progress.uploadStarted).forEach(he=>{const N=Oi(un({},X[he]),{isPaused:!0});X[he]=N}),this.setState({files:X}),this.emit("pause-all")}resumeAll(){const X=un({},this.getState().files);Object.keys(X).filter(he=>!X[he].progress.uploadComplete&&X[he].progress.uploadStarted).forEach(he=>{const N=Oi(un({},X[he]),{isPaused:!1,error:null});X[he]=N}),this.setState({files:X}),this.emit("resume-all")}retryAll(){const X=un({},this.getState().files),xe=Object.keys(X).filter(N=>X[N].error);if(xe.forEach(N=>{const F=Oi(un({},X[N]),{isPaused:!1,error:null});X[N]=F}),this.setState({files:X,error:null}),this.emit("retry-all",xe),0===xe.length)return Promise.resolve({successful:[],failed:[]});const he=v(this,it)[it](xe,{forceAllowNewUpload:!0});return v(this,V)[V](he)}cancelAll(X){let{reason:xe="user"}=void 0===X?{}:X;if(this.emit("cancel-all",{reason:xe}),"user"===xe){const{files:he}=this.getState(),N=Object.keys(he);N.length&&this.removeFiles(N,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}}retryUpload(X){this.setFileState(X,{error:null,isPaused:!1}),this.emit("upload-retry",X);const xe=v(this,it)[it]([X],{forceAllowNewUpload:!0});return v(this,V)[V](xe)}reset(){this.cancelAll(...arguments)}logout(){this.iteratePlugins(X=>{X.provider&&X.provider.logout&&X.provider.logout()})}calculateProgress(X,xe){if(null==X||!this.getFile(X.id))return void this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`);const he=Number.isFinite(xe.bytesTotal)&&xe.bytesTotal>0;this.setFileState(X.id,{progress:Oi(un({},this.getFile(X.id).progress),{bytesUploaded:xe.bytesUploaded,bytesTotal:xe.bytesTotal,percentage:he?Math.round(xe.bytesUploaded/xe.bytesTotal*100):0})}),this.calculateTotalProgress()}calculateTotalProgress(){const xe=this.getFiles().filter(Ye=>Ye.progress.uploadStarted||Ye.progress.preprocess||Ye.progress.postprocess);if(0===xe.length)return this.emit("progress",0),void this.setState({totalProgress:0});const he=xe.filter(Ye=>null!=Ye.progress.bytesTotal),N=xe.filter(Ye=>null==Ye.progress.bytesTotal);if(0===he.length){const Ye=100*xe.length,vt=N.reduce((Jt,hn)=>Jt+hn.progress.percentage,0),Vt=Math.round(vt/Ye*100);return void this.setState({totalProgress:Vt})}let F=he.reduce((Ye,vt)=>Ye+vt.progress.bytesTotal,0);const Y=F/he.length;F+=Y*N.length;let re=0;he.forEach(Ye=>{re+=Ye.progress.bytesUploaded}),N.forEach(Ye=>{re+=Y*(Ye.progress.percentage||0)/100});let Oe=0===F?0:Math.round(re/F*100);Oe>100&&(Oe=100),this.setState({totalProgress:Oe}),this.emit("progress",Oe)}updateOnlineStatus(){void 0===window.navigator.onLine||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(X,xe){if("function"!=typeof X)throw new TypeError(`Expected a plugin class, but got ${null===X?"null":typeof X}. Please verify that the plugin was imported and spelled correctly.`);const he=new X(this,xe),N=he.id;if(!N)throw new Error("Your plugin must have an id");if(!he.type)throw new Error("Your plugin must have a type");const F=this.getPlugin(N);if(F)throw new Error(`Already found a plugin named '${F.id}'. Tried to use: '${N}'.\nUppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`);return X.VERSION&&this.log(`Using ${N} v${X.VERSION}`),he.type in v(this,j)[j]?v(this,j)[j][he.type].push(he):v(this,j)[j][he.type]=[he],he.install(),this}getPlugin(X){for(const xe of Object.values(v(this,j)[j])){const he=xe.find(N=>N.id===X);if(null!=he)return he}}[C](X){return v(this,j)[j][X]}iteratePlugins(X){Object.values(v(this,j)[j]).flat(1).forEach(X)}removePlugin(X){this.log(`Removing plugin ${X.id}`),this.emit("plugin-remove",X),X.uninstall&&X.uninstall();const xe=v(this,j)[j][X.type],he=xe.findIndex(Y=>Y.id===X.id);-1!==he&&xe.splice(he,1);const N=this.getState(),F={plugins:Oi(un({},N.plugins),{[X.id]:void 0})};this.setState(F)}close(X){let{reason:xe}=void 0===X?{}:X;this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.cancelAll({reason:xe}),v(this,le)[le](),this.iteratePlugins(he=>{this.removePlugin(he)}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",v(this,Ge)[Ge]),window.removeEventListener("offline",v(this,Ge)[Ge]))}hideInfo(){const{info:X}=this.getState();this.setState({info:X.slice(1)}),this.emit("info-hidden")}info(X,xe,he){void 0===xe&&(xe="info"),void 0===he&&(he=3e3);const N="object"==typeof X;this.setState({info:[...this.getState().info,{type:xe,message:N?X.message:X,details:N?X.details:null}]}),setTimeout(()=>this.hideInfo(),he),this.emit("info-visible")}log(X,xe){const{logger:he}=this.opts;switch(xe){case"error":he.error(X);break;case"warning":he.warn(X);break;default:he.debug(X)}}restore(X){return this.log(`Core: attempting to restore upload "${X}"`),this.getState().currentUploads[X]?v(this,V)[V](X):(v(this,Z)[Z](X),Promise.reject(new Error("Nonexistent upload")))}[f](){return v(this,it)[it](...arguments)}addResultData(X,xe){if(!v(this,Se)[Se](X))return void this.log(`Not setting result for an upload that has been removed: ${X}`);const{currentUploads:he}=this.getState(),N=Oi(un({},he[X]),{result:un(un({},he[X].result),xe)});this.setState({currentUploads:Oi(un({},he),{[X]:N})})}upload(){var X;null!=(X=v(this,j)[j].uploader)&&X.length||this.log("No uploader type plugins are used","warning");let{files:xe}=this.getState();const he=this.opts.onBeforeUpload(xe);return!1===he?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(he&&"object"==typeof he&&(xe=he,this.setState({files:xe})),Promise.resolve().then(()=>v(this,z)[z].validateMinNumberOfFiles(xe)).catch(N=>{throw v(this,ge)[ge](N),N}).then(()=>{if(!v(this,$e)[$e](xe))throw new p.RestrictionError(this.i18n("missingRequiredMetaField"))}).catch(N=>{throw N}).then(()=>{const{currentUploads:N}=this.getState(),F=Object.values(N).flatMap(Oe=>Oe.fileIDs),Y=[];Object.keys(xe).forEach(Oe=>{const Ye=this.getFile(Oe);!Ye.progress.uploadStarted&&-1===F.indexOf(Oe)&&Y.push(Ye.id)});const re=v(this,it)[it](Y);return v(this,V)[V](re)}).catch(N=>{throw this.emit("error",N),this.log(N,"error"),N}))}}function fe(Xe,X){const{message:xe,details:he=""}=Xe;Xe.isRestriction?this.emit("restriction-failed",X,Xe):this.emit("error",Xe),this.info({message:xe,details:he},"error",this.opts.infoTimeout),this.log(`${xe} ${he}`.trim(),"error")}function pe(Xe){const{missingFields:X,error:xe}=v(this,z)[z].getMissingRequiredMetaFields(Xe);return!(X.length>0&&(this.setFileState(Xe.id,{missingRequiredMetaFields:X}),this.log(xe.message),this.emit("restriction-failed",Xe,xe),1))}function He(Xe){let X=!0;for(const xe of Object.values(Xe))v(this,Ve)[Ve](xe)||(X=!1);return X}function et(Xe){const{allowNewUpload:X}=this.getState();if(!1===X){const xe=new p.RestrictionError(this.i18n("noMoreFilesAllowed"));throw v(this,ge)[ge](xe,Xe),xe}}function de(Xe,X){const xe=A(X),he=w(xe,X),N=B(he).extension,F=Boolean(X.isRemote),Y=R(Oi(un({},X),{type:xe}));if(this.checkIfFileAlreadyExists(Y)){const Vt=new p.RestrictionError(this.i18n("noDuplicates",{fileName:he}));throw v(this,ge)[ge](Vt,X),Vt}const re=X.meta||{};re.name=he,re.type=xe;const Oe=Number.isFinite(X.data.size)?X.data.size:null;let Ye={source:X.source||"",id:Y,name:he,extension:N||"",meta:un(un({},this.getState().meta),re),type:xe,data:X.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:Oe,uploadComplete:!1,uploadStarted:null},size:Oe,isRemote:F,remote:X.remote||"",preview:X.preview};const vt=this.opts.onBeforeFileAdded(Ye,Xe);if(!1===vt){const Vt=new p.RestrictionError("Cannot add the file because onBeforeFileAdded returned false.");throw this.emit("restriction-failed",X,Vt),Vt}"object"==typeof vt&&null!==vt&&(Ye=vt);try{const Vt=Object.keys(Xe).map(Jt=>Xe[Jt]);v(this,z)[z].validate(Ye,Vt)}catch(Vt){throw v(this,ge)[ge](Vt,Ye),Vt}return Ye}function lt(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(Xe=>{Xe.isRestriction||this.log(Xe.stack||Xe.message||Xe)})},4))}function St(){const Xe=(X,xe,he)=>{let N=X.message||"Unknown error";X.details&&(N+=` ${X.details}`),this.setState({error:N}),null!=xe&&xe.id in this.getState().files&&this.setFileState(xe.id,{error:N,response:he})};this.on("error",Xe),this.on("upload-error",(X,xe,he)=>{if(Xe(xe,X,he),"object"==typeof xe&&xe.message){const N=new Error(xe.message);N.details=xe.message,xe.details&&(N.details+=` ${xe.details}`),N.message=this.i18n("failedToUpload",{file:null==X?void 0:X.name}),v(this,ge)[ge](N)}else v(this,ge)[ge](xe)}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",X=>{null!=X&&this.getFile(X.id)?this.setFileState(X.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:X.size}}):this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(X,xe)=>{if(null==X||!this.getFile(X.id))return void this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`);const he=this.getFile(X.id).progress;this.setFileState(X.id,{progress:Oi(un({},he),{postprocess:v(this,ae)[ae].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:he.bytesTotal}),response:xe,uploadURL:xe.uploadURL,isPaused:!1}),null==X.size&&this.setFileState(X.id,{size:xe.bytesUploaded||he.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(X,xe)=>{null!=X&&this.getFile(X.id)?this.setFileState(X.id,{progress:Oi(un({},this.getFile(X.id).progress),{preprocess:xe})}):this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`)}),this.on("preprocess-complete",X=>{if(null==X||!this.getFile(X.id))return void this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`);const xe=un({},this.getState().files);xe[X.id]=Oi(un({},xe[X.id]),{progress:un({},xe[X.id].progress)}),delete xe[X.id].progress.preprocess,this.setState({files:xe})}),this.on("postprocess-progress",(X,xe)=>{null!=X&&this.getFile(X.id)?this.setFileState(X.id,{progress:Oi(un({},this.getState().files[X.id].progress),{postprocess:xe})}):this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`)}),this.on("postprocess-complete",X=>{if(null==X||!this.getFile(X.id))return void this.log(`Not setting progress for a file that has been removed: ${null==X?void 0:X.id}`);const xe=un({},this.getState().files);xe[X.id]=Oi(un({},xe[X.id]),{progress:un({},xe[X.id].progress)}),delete xe[X.id].progress.postprocess,this.setState({files:xe})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",X=>{X&&v(this,Ve)[Ve](X)}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",v(this,Ge)[Ge]),window.addEventListener("offline",v(this,Ge)[Ge]),setTimeout(v(this,Ge)[Ge],3e3))}function Qt(Xe,X){void 0===X&&(X={});const{forceAllowNewUpload:xe=!1}=X,{allowNewUpload:he,currentUploads:N}=this.getState();if(!he&&!xe)throw new Error("Cannot create a new upload: already uploading.");const F=(0,i.nanoid)();return this.emit("upload",{id:F,fileIDs:Xe}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:Oi(un({},N),{[F]:{fileIDs:Xe,step:0,result:{}}})}),F}function gt(Xe){const{currentUploads:X}=this.getState();return X[Xe]}function yt(Xe){const X=un({},this.getState().currentUploads);delete X[Xe],this.setState({currentUploads:X})}function Je(Xe){return ct.apply(this,arguments)}function ct(){return(ct=a(function*(Xe){let{currentUploads:X}=this.getState(),xe=X[Xe];const he=xe.step||0,N=[...v(this,$)[$],...v(this,y)[y],...v(this,ae)[ae]];try{for(let Y=he;Y<N.length&&xe;Y++){const re=N[Y],Oe=Oi(un({},xe),{step:Y});this.setState({currentUploads:Oi(un({},X),{[Xe]:Oe})}),yield re(Oe.fileIDs,Xe),X=this.getState().currentUploads,xe=X[Xe]}}catch(Y){throw v(this,Z)[Z](Xe),Y}if(xe){xe.fileIDs.forEach(Ye=>{const vt=this.getFile(Ye);vt&&vt.progress.postprocess&&this.emit("postprocess-complete",vt)});const Y=xe.fileIDs.map(Ye=>this.getFile(Ye)),re=Y.filter(Ye=>!Ye.error),Oe=Y.filter(Ye=>Ye.error);yield this.addResultData(Xe,{successful:re,failed:Oe,uploadID:Xe}),X=this.getState().currentUploads,xe=X[Xe]}let F;return xe&&(F=xe.result,this.emit("complete",F),v(this,Z)[Z](Xe)),null==F&&this.log(`Not setting result for an upload that has been removed: ${Xe}`),F})).apply(this,arguments)}U.VERSION="2.3.4",ze.exports=U},27444:ze=>{"use strict";ze.exports=function G(l,a){return a.name?a.name:"image"===l.split("/")[0]?`${l.split("/")[0]}.${l.split("/")[1]}`:"noname"}},71869:(ze,G,l)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.Uppy=G.UIPlugin=G.BasePlugin=void 0,Object.defineProperty(G,"debugLogger",{enumerable:!0,get:function(){return a.debugLogger}});var a=l(84298);ze.exports=l(85281);const i=l(14648);G.UIPlugin=i;const d=l(15697);G.BasePlugin=d;const p=l(85281);G.Uppy=p;const C=l(14648),f=l(15697);p.Uppy=p,p.UIPlugin=C,p.BasePlugin=f,p.debugLogger=a.debugLogger},63763:ze=>{"use strict";ze.exports={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",search:"Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}}},84298:(ze,G,l)=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0}),G.justErrorsLogger=G.debugLogger=void 0;const a=l(872);G.justErrorsLogger={debug:()=>{},warn:()=>{},error:function(){for(var p=arguments.length,C=new Array(p),f=0;f<p;f++)C[f]=arguments[f];return console.error(`[Uppy] [${a()}]`,...C)}},G.debugLogger={debug:function(){for(var p=arguments.length,C=new Array(p),f=0;f<p;f++)C[f]=arguments[f];return console.debug(`[Uppy] [${a()}]`,...C)},warn:function(){for(var p=arguments.length,C=new Array(p),f=0;f<p;f++)C[f]=arguments[f];return console.warn(`[Uppy] [${a()}]`,...C)},error:function(){for(var p=arguments.length,C=new Array(p),f=0;f<p;f++)C[f]=arguments[f];return console.error(`[Uppy] [${a()}]`,...C)}}},74158:ze=>{"use strict";ze.exports=function G(l){if(null==l&&"undefined"!=typeof navigator&&(l=navigator.userAgent),!l)return!0;const a=/Edge\/(\d+\.\d+)/.exec(l);if(!a)return!0;const i=a[1];let[d,p]=i.split(".");return d=parseInt(d,10),p=parseInt(p,10),d<15||15===d&&p<15063||d>18||18===d&&p>=18218}},78003:ze=>{"use strict";var l=0;function a(v){return"__private_"+l+++"_"+v}var d=a("publish");class p{constructor(){Object.defineProperty(this,d,{value:C}),this.state={},this.callbacks=[]}getState(){return this.state}setState(b){const m=un({},this.state),I=un(un({},this.state),b);this.state=I,function G(v,b){if(!Object.prototype.hasOwnProperty.call(v,b))throw new TypeError("attempted to use private field on non-instance");return v}(this,d)[d](m,I,b)}subscribe(b){return this.callbacks.push(b),()=>{this.callbacks.splice(this.callbacks.indexOf(b),1)}}}function C(){for(var v=arguments.length,b=new Array(v),m=0;m<v;m++)b[m]=arguments[m];this.callbacks.forEach(I=>{I(...b)})}p.VERSION="2.1.1",ze.exports=function f(){return new p}},31817:(ze,G,l)=>{"use strict";var a=l(71869),i=l(85546);const d=l(20050),p=l(20393),C=l(27596),f=l(46257);class L extends a.UIPlugin{constructor(D,A){if(super(D,A),this.onFileAdded=R=>{!R.preview&&R.data&&C(R.type)&&!R.isRemote&&this.addToQueue(R.id)},this.onCancelRequest=R=>{const x=this.queue.indexOf(R.id);-1!==x&&this.queue.splice(x,1)},this.onFileRemoved=R=>{const x=this.queue.indexOf(R.id);-1!==x&&this.queue.splice(x,1),R.preview&&p(R.preview)&&URL.revokeObjectURL(R.preview)},this.onRestored=()=>{this.uppy.getFiles().filter(x=>x.isRestored).forEach(x=>{(!x.preview||p(x.preview))&&this.addToQueue(x.id)})},this.onAllFilesRemoved=()=>{this.queue=[]},this.waitUntilAllProcessed=R=>{R.forEach(w=>{const k=this.uppy.getFile(w);this.uppy.emit("preprocess-progress",k,{mode:"indeterminate",message:this.i18n("generatingThumbnails")})});const x=()=>{R.forEach(w=>{const k=this.uppy.getFile(w);this.uppy.emit("preprocess-complete",k)})};return new Promise(w=>{this.queueProcessing?this.uppy.once("thumbnail:all-generated",()=>{x(),w()}):(x(),w())})},this.type="modifier",this.id=this.opts.id||"ThumbnailGenerator",this.title="Thumbnail Generator",this.queue=[],this.queueProcessing=!1,this.defaultThumbnailDimension=200,this.thumbnailType=this.opts.thumbnailType||"image/jpeg",this.defaultLocale=f,this.opts=un(un({},{thumbnailWidth:null,thumbnailHeight:null,waitForThumbnailsBeforeUpload:!1,lazy:!1}),A),this.i18nInit(),this.opts.lazy&&this.opts.waitForThumbnailsBeforeUpload)throw new Error("ThumbnailGenerator: The `lazy` and `waitForThumbnailsBeforeUpload` options are mutually exclusive. Please ensure at most one of them is set to `true`.")}createThumbnail(D,A,B){const R=URL.createObjectURL(D.data),x=new Promise((k,H)=>{const j=new Image;j.src=R,j.addEventListener("load",()=>{URL.revokeObjectURL(R),k(j)}),j.addEventListener("error",z=>{URL.revokeObjectURL(R),H(z.error||new Error("Could not create thumbnail"))})}),w=(0,i.rotation)(D.data).catch(()=>1);return Promise.all([x,w]).then(k=>{let[H,j]=k;const z=this.getProportionalDimensions(H,A,B,j.deg),le=this.rotateImage(H,j),oe=this.resizeImage(le,z.width,z.height);return this.canvasToBlob(oe,this.thumbnailType,80)}).then(k=>URL.createObjectURL(k))}getProportionalDimensions(D,A,B,R){let x=D.width/D.height;return(90===R||270===R)&&(x=D.height/D.width),null!=A?{width:A,height:Math.round(A/x)}:null!=B?{width:Math.round(B*x),height:B}:{width:this.defaultThumbnailDimension,height:Math.round(this.defaultThumbnailDimension/x)}}resizeImage(D,A,B){let R=this.protect(D),x=Math.ceil(Math.log2(R.width/A));x<1&&(x=1);let w=A*RS(2,x-1),k=B*RS(2,x-1);for(;x--;){const j=document.createElement("canvas");j.width=w,j.height=k,j.getContext("2d").drawImage(R,0,0,w,k),R=j,w=Math.round(w/2),k=Math.round(k/2)}return R}setPreviewURL(D,A){this.uppy.setFileState(D,{preview:A})}addToQueue(D){this.queue.push(D),!1===this.queueProcessing&&this.processQueue()}processQueue(){if(this.queueProcessing=!0,this.queue.length>0){const D=this.uppy.getFile(this.queue.shift());return D?this.requestThumbnail(D).catch(()=>{}).then(()=>this.processQueue()):(this.uppy.log("[ThumbnailGenerator] file was removed before a thumbnail could be generated, but not removed from the queue. This is probably a bug","error"),Promise.resolve())}return this.queueProcessing=!1,this.uppy.log("[ThumbnailGenerator] Emptied thumbnail queue"),this.uppy.emit("thumbnail:all-generated"),Promise.resolve()}requestThumbnail(D){return C(D.type)&&!D.isRemote?this.createThumbnail(D,this.opts.thumbnailWidth,this.opts.thumbnailHeight).then(A=>{this.setPreviewURL(D.id,A),this.uppy.log(`[ThumbnailGenerator] Generated thumbnail for ${D.id}`),this.uppy.emit("thumbnail:generated",this.uppy.getFile(D.id),A)}).catch(A=>{this.uppy.log(`[ThumbnailGenerator] Failed thumbnail for ${D.id}:`,"warning"),this.uppy.log(A,"warning"),this.uppy.emit("thumbnail:error",this.uppy.getFile(D.id),A)}):Promise.resolve()}install(){this.uppy.on("file-removed",this.onFileRemoved),this.uppy.on("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("thumbnail:cancel",this.onCancelRequest)):(this.uppy.on("file-added",this.onFileAdded),this.uppy.on("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.addPreProcessor(this.waitUntilAllProcessed)}uninstall(){this.uppy.off("file-removed",this.onFileRemoved),this.uppy.off("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("thumbnail:cancel",this.onCancelRequest)):(this.uppy.off("file-added",this.onFileAdded),this.uppy.off("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.removePreProcessor(this.waitUntilAllProcessed)}}L.VERSION="2.2.2",ze.exports=L,L.prototype.canvasToBlob=function b(M,D,A){try{M.getContext("2d").getImageData(0,0,1,1)}catch(B){if(18===B.code)return Promise.reject(new Error("cannot read image, probably an svg with external resources"))}return M.toBlob?new Promise(B=>{M.toBlob(B,D,A)}).then(B=>{if(null===B)throw new Error("cannot read image, probably an svg with external resources");return B}):Promise.resolve().then(()=>d(M.toDataURL(D,A),{})).then(B=>{if(null===B)throw new Error("could not extract blob, probably an old browser");return B})},L.prototype.protect=function I(M){const D=M.width/M.height,A=5e6,B=4096;let R=Math.floor(Math.sqrt(A*D)),x=Math.floor(A/Math.sqrt(A*D));if(R>B&&(R=B,x=Math.round(R/D)),x>B&&(x=B,R=Math.round(D*x)),M.width>R){const w=document.createElement("canvas");return w.width=R,w.height=x,w.getContext("2d").drawImage(M,0,0,R,x),w}return M},L.prototype.rotateImage=function m(M,D){let A=M.width,B=M.height;(90===D.deg||270===D.deg)&&(A=M.height,B=M.width);const R=document.createElement("canvas");R.width=A,R.height=B;const x=R.getContext("2d");return x.translate(A/2,B/2),D.canvas&&(x.rotate(D.rad),x.scale(D.scaleX,D.scaleY)),x.drawImage(M,-M.width/2,-M.height/2,M.width,M.height),R}},46257:ze=>{"use strict";ze.exports={strings:{generatingThumbnails:"Generating thumbnails..."}}},15095:(ze,G,l)=>{"use strict";const a=l(17565);class i extends Error{constructor(p,C){void 0===C&&(C={}),super(p),this.cause=C.cause,this.cause&&a(this.cause,"isNetworkError")&&(this.isNetworkError=this.cause.isNetworkError)}}ze.exports=i},74718:ze=>{"use strict";function G(C,f){if(!Object.prototype.hasOwnProperty.call(C,f))throw new TypeError("attempted to use private field on non-instance");return C}var l=0;function a(C){return"__private_"+l+++"_"+C}var i=a("emitter"),d=a("events");ze.exports=class p{constructor(f){Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:[]}),G(this,i)[i]=f}on(f,v){return G(this,d)[d].push([f,v]),G(this,i)[i].on(f,v)}remove(){for(const[f,v]of G(this,d)[d].splice(0))G(this,i)[i].off(f,v)}}},60986:ze=>{"use strict";class G extends Error{constructor(a,i){void 0===i&&(i=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=a,this.isNetworkError=!0,this.request=i}}ze.exports=G},29980:ze=>{"use strict";function G(v,b){if(!Object.prototype.hasOwnProperty.call(v,b))throw new TypeError("attempted to use private field on non-instance");return v}var l=0;function a(v){return"__private_"+l+++"_"+v}var i=a("aliveTimer"),d=a("isDone"),p=a("onTimedOut"),C=a("timeout");ze.exports=class f{constructor(b,m){Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,d,{writable:!0,value:!1}),Object.defineProperty(this,p,{writable:!0,value:void 0}),Object.defineProperty(this,C,{writable:!0,value:void 0}),G(this,C)[C]=b,G(this,p)[p]=m}progress(){G(this,d)[d]||G(this,C)[C]>0&&(clearTimeout(G(this,i)[i]),G(this,i)[i]=setTimeout(G(this,p)[p],G(this,C)[C]))}done(){G(this,d)[d]||(clearTimeout(G(this,i)[i]),G(this,i)[i]=null,G(this,d)[d]=!0)}}},29067:(ze,G)=>{"use strict";function l($,y){if(!Object.prototype.hasOwnProperty.call($,y))throw new TypeError("attempted to use private field on non-instance");return $}Object.defineProperty(G,"__esModule",{value:!0}),G.internalRateLimitedQueue=G.RateLimitedQueue=void 0;var a=0;function i($){return"__private_"+a+++"_"+$}function d(){return new Error("Cancelled")}var p=i("activeRequests"),C=i("queuedHandlers"),f=i("paused"),v=i("pauseTimer"),b=i("downLimit"),m=i("upperLimit"),I=i("rateLimitingTimer"),L=i("call"),M=i("queueNext"),D=i("next"),A=i("queue"),B=i("dequeue"),R=i("resume"),x=i("increaseLimit");function k($){l(this,p)[p]+=1;let ae,y=!1;try{ae=$()}catch(ge){throw l(this,p)[p]-=1,ge}return{abort:()=>{y||(y=!0,l(this,p)[p]-=1,ae(),l(this,M)[M]())},done:()=>{y||(y=!0,l(this,p)[p]-=1,l(this,M)[M]())}}}function H(){queueMicrotask(()=>l(this,D)[D]())}function j(){if(l(this,f)[f]||l(this,p)[p]>=this.limit||0===l(this,C)[C].length)return;const $=l(this,C)[C].shift(),y=l(this,L)[L]($.fn);$.abort=y.abort,$.done=y.done}function z($,y){void 0===y&&(y={});const ae={fn:$,priority:y.priority||0,abort:()=>{l(this,B)[B](ae)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},ge=l(this,C)[C].findIndex(Ve=>ae.priority>Ve.priority);return-1===ge?l(this,C)[C].push(ae):l(this,C)[C].splice(ge,0,ae),ae}function le($){const y=l(this,C)[C].indexOf($);-1!==y&&l(this,C)[C].splice(y,1)}G.RateLimitedQueue=class w{constructor(y){Object.defineProperty(this,B,{value:le}),Object.defineProperty(this,A,{value:z}),Object.defineProperty(this,D,{value:j}),Object.defineProperty(this,M,{value:H}),Object.defineProperty(this,L,{value:k}),Object.defineProperty(this,p,{writable:!0,value:0}),Object.defineProperty(this,C,{writable:!0,value:[]}),Object.defineProperty(this,f,{writable:!0,value:!1}),Object.defineProperty(this,v,{writable:!0,value:void 0}),Object.defineProperty(this,b,{writable:!0,value:1}),Object.defineProperty(this,m,{writable:!0,value:void 0}),Object.defineProperty(this,I,{writable:!0,value:void 0}),Object.defineProperty(this,R,{writable:!0,value:()=>this.resume()}),Object.defineProperty(this,x,{writable:!0,value:()=>{if(l(this,f)[f])l(this,I)[I]=setTimeout(l(this,x)[x],0);else{l(this,b)[b]=this.limit,this.limit=Math.ceil((l(this,m)[m]+l(this,b)[b])/2);for(let ae=l(this,b)[b];ae<=this.limit;ae++)l(this,M)[M]();l(this,m)[m]-l(this,b)[b]>3?l(this,I)[I]=setTimeout(l(this,x)[x],2e3):l(this,b)[b]=Math.floor(l(this,b)[b]/2)}}}),this.limit="number"!=typeof y||0===y?1/0:y}run(y,ae){return!l(this,f)[f]&&l(this,p)[p]<this.limit?l(this,L)[L](y):l(this,A)[A](y,ae)}wrapPromiseFunction(y,ae){var ge=this;return function(){for(var Ve=arguments.length,$e=new Array(Ve),Be=0;Be<Ve;Be++)$e[Be]=arguments[Be];let Ee;const Ie=new Promise((Re,Ge)=>{Ee=ge.run(()=>{let it,Se;try{Se=Promise.resolve(y(...$e))}catch(Z){Se=Promise.reject(Z)}return Se.then(Z=>{it?Ge(it):(Ee.done(),Re(Z))},Z=>{it?Ge(it):(Ee.done(),Ge(Z))}),()=>{it=d()}},ae)});return Ie.abort=()=>{Ee.abort()},Ie}}resume(){l(this,f)[f]=!1,clearTimeout(l(this,v)[v]);for(let y=0;y<this.limit;y++)l(this,M)[M]()}pause(y){void 0===y&&(y=null),l(this,f)[f]=!0,clearTimeout(l(this,v)[v]),null!=y&&(l(this,v)[v]=setTimeout(l(this,R)[R],y))}rateLimit(y){clearTimeout(l(this,I)[I]),this.pause(y),this.limit>1&&Number.isFinite(this.limit)&&(l(this,m)[m]=this.limit-1,this.limit=l(this,b)[b],l(this,I)[I]=setTimeout(l(this,x)[x],y))}get isPaused(){return l(this,f)[f]}};const oe=Symbol("__queue");G.internalRateLimitedQueue=oe},83638:(ze,G,l)=>{"use strict";function a(I,L){if(!Object.prototype.hasOwnProperty.call(I,L))throw new TypeError("attempted to use private field on non-instance");return I}var i=0;function d(I){return"__private_"+i+++"_"+I}const p=l(17565);function C(I,L,M){const D=[];return I.forEach(A=>"string"!=typeof A?D.push(A):L[Symbol.split](A).forEach((B,R,x)=>{""!==B&&D.push(B),R<x.length-1&&D.push(M)})),D
/**
       * Takes a string with placeholder variables like `%{smart_count} file selected`
       * and replaces it with values from options `{smart_count: 5}`
       *
       * @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
       * taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
       *
       * @param {string} phrase that needs interpolation, with placeholders
       * @param {object} options with values that will be used to replace placeholders
       * @returns {any[]} interpolated
       */}function f(I,L){const M=/\$/g;let A=[I];if(null==L)return A;for(const B of Object.keys(L))if("_"!==B){let R=L[B];"string"==typeof R&&(R=M[Symbol.replace](R,"$$$$")),A=C(A,new RegExp(`%\\{${B}\\}`,"g"),R)}return A}var v=d("apply");function m(I){if(null==I||!I.strings)return;const L=this.locale;this.locale=Oi(un({},L),{strings:un(un({},L.strings),I.strings)}),this.locale.pluralize=I.pluralize||L.pluralize}ze.exports=class b{constructor(L){Object.defineProperty(this,v,{value:m}),this.locale={strings:{},pluralize:M=>1===M?0:1},Array.isArray(L)?L.forEach(a(this,v)[v],this):a(this,v)[v](L)}translate(L,M){return this.translateArray(L,M).join("")}translateArray(L,M){if(!p(this.locale.strings,L))throw new Error(`missing string: ${L}`);const D=this.locale.strings[L];if("object"==typeof D){if(M&&void 0!==M.smart_count)return f(D[this.locale.pluralize(M.smart_count)],M);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return f(D,M)}}},20050:ze=>{"use strict";const G=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;ze.exports=function l(a,i,d){var p,C;const f=G.exec(a),v=null!=(p=null!=(C=i.mimeType)?C:null==f?void 0:f[1])?p:"plain/text";let b;if(null!=f[2]){const m=atob(decodeURIComponent(f[3])),I=new Uint8Array(m.length);for(let L=0;L<m.length;L++)I[L]=m.charCodeAt(L);b=[I]}else b=[decodeURIComponent(f[3])];return d?new File(b,i.name||"",{type:v}):new Blob(b,{type:v})}},64502:(ze,G,l)=>{"use strict";const a=l(58078);ze.exports=a(function i(d,p,C){const{progress:f,bytesUploaded:v,bytesTotal:b}=p;f&&(d.uppy.log(`Upload progress: ${f}`),d.uppy.emit("upload-progress",C,{uploader:d,bytesUploaded:v,bytesTotal:b}))},300,{leading:!0,trailing:!0})},61346:(ze,G,l)=>{"use strict";const a=l(60986);ze.exports=function i(){return fetch(...arguments).catch(d=>{throw"AbortError"===d.name?d:new a(d)})}},9586:(ze,G,l)=>{"use strict";const a=l(93569);ze.exports=function i(d,p){return void 0===p&&(p=document),"string"==typeof d?p.querySelector(d):a(d)?d:null}},11107:ze=>{"use strict";function l(i){let d="";return i.replace(/[^A-Z0-9]/gi,p=>(d+=`-${function G(i){return i.charCodeAt(0).toString(32)}(p)}`,"/"))+d}ze.exports=function a(i){let d="uppy";return"string"==typeof i.name&&(d+=`-${l(i.name.toLowerCase())}`),void 0!==i.type&&(d+=`-${i.type}`),i.meta&&"string"==typeof i.meta.relativePath&&(d+=`-${l(i.meta.relativePath.toLowerCase())}`),void 0!==i.data.size&&(d+=`-${i.data.size}`),void 0!==i.data.lastModified&&(d+=`-${i.data.lastModified}`),d}},72730:(ze,G,l)=>{"use strict";var a=l(48926).default,i=l(47003).default;const d=l(92999),p=l(57472);function f(){return(f=a(function*(v,b){let{logDropError:m=(()=>{})}=void 0===b?{}:b;try{const B=[];var M,I=!1,L=!1;try{for(var A,D=i(d(v,m));I=!(A=yield D.next()).done;I=!1)B.push(A.value)}catch(R){L=!0,M=R}finally{try{I&&null!=D.return&&(yield D.return())}finally{if(L)throw M}}return B}catch(B){return p(v)}})).apply(this,arguments)}ze.exports=function C(v,b){return f.apply(this,arguments)}},57472:(ze,G,l)=>{"use strict";const a=l(94813);ze.exports=function i(d){const p=a(d.files);return Promise.resolve(p)}},64036:ze=>{"use strict";ze.exports=function G(l,a,i,d){let{onSuccess:p}=d;l.readEntries(C=>{const f=[...a,...C];C.length?queueMicrotask(()=>{G(l,f,i,{onSuccess:p})}):p(f)},C=>{i(C),p(a)})}},92999:(ze,G,l)=>{"use strict";var a=l(48926).default,i=l(551).default,d=l(55486).default,p=l(47003).default,C=l(30083).default;const f=l(64036);function v(M,D){return null==M?M:{kind:M.isFile?"file":M.isDirectory?"directory":void 0,name:M.name,getFile:()=>new Promise((A,B)=>M.file(A,B)),values:()=>i(function*(){const A=M.createReader(),B=yield d(new Promise(R=>{f(A,[],D,{onSuccess:x=>R(x.map(w=>v(w,D)))})}));yield*C(p(B),d)})()}}function b(M,D){return m.apply(this,arguments)}function m(){return(m=i(function*(M,D){if("file"===M.kind){const k=yield d(M.getFile());null!==k&&(k.relativePath=D?`${D}/${M.name}`:null,yield k)}else if("directory"===M.kind){var R,A=!1,B=!1;try{for(var w,x=p(M.values());A=!(w=yield d(x.next())).done;A=!1){const k=w.value;yield*C(p(b(k,`${D}/${M.name}`)),d)}}catch(k){B=!0,R=k}finally{try{A&&null!=x.return&&(yield d(x.return()))}finally{if(B)throw R}}}})).apply(this,arguments)}function L(){return L=i(function*(M,D){const A=yield d(Promise.all(Array.from(M.items,function(){var B=a(function*(R){var x;return{lastResortFile:R.getAsFile(),entry:null!=(x=yield null==R.getAsFileSystemHandle?void 0:R.getAsFileSystemHandle())?x:v(R.webkitGetAsEntry(),D)}});return function(R){return B.apply(this,arguments)}}())));for(const{lastResortFile:B,entry:R}of A)if(null!=R)try{yield*C(p(b(R,"")),d)}catch(x){B?yield B:D(x)}}),L.apply(this,arguments)}ze.exports=function I(M,D){return L.apply(this,arguments)}},19467:ze=>{"use strict";ze.exports=function G(l){const a=l.lastIndexOf(".");return-1===a||a===l.length-1?{name:l,extension:void 0}:{name:l.slice(0,a),extension:l.slice(a+1)}}},21528:(ze,G,l)=>{"use strict";const a=l(19467),i=l(61173);ze.exports=function d(p){var C;if(p.type)return p.type;const f=p.name?null==(C=a(p.name).extension)?void 0:C.toLowerCase():null;return f&&f in i?i[f]:"application/octet-stream"}},27507:ze=>{"use strict";ze.exports=function G(l){const i=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(l)[1];return`${/^http:\/\//i.test(l)?"ws":"wss"}://${i}`}},79407:ze=>{"use strict";ze.exports=function G(l){for(var a;l&&!l.dir;)l=l.parentNode;return null==(a=l)?void 0:a.dir}},872:ze=>{"use strict";function G(a){return a<10?`0${a}`:a.toString()}ze.exports=function l(){const a=new Date;return`${G(a.getHours())}:${G(a.getMinutes())}:${G(a.getSeconds())}`}},17565:ze=>{"use strict";ze.exports=function G(l,a){return Object.prototype.hasOwnProperty.call(l,a)}},93569:ze=>{"use strict";ze.exports=function G(l){return(null==l?void 0:l.nodeType)===Node.ELEMENT_NODE}},9496:ze=>{"use strict";ze.exports=function G(l){return!!l&&(0!==l.readyState&&4!==l.readyState||0===l.status)}},20393:ze=>{"use strict";ze.exports=function G(l){return l.startsWith("blob:")}},27596:ze=>{"use strict";ze.exports=function G(l){return!!l&&/^[^/]+\/(jpe?g|gif|png|svg|svg\+xml|bmp|webp|avif)$/.test(l)}},61173:ze=>{"use strict";ze.exports={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"}},94813:ze=>{"use strict";ze.exports=Array.from},29901:ze=>{ze.exports={nanoid:(i=21)=>{let d="",p=i;for(;p--;)d+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return d},customAlphabet:(i,d=21)=>(p=d)=>{let C="",f=p;for(;f--;)C+=i[Math.random()*i.length|0];return C}}},36758:ze=>{ze.exports=function G(l){return l&&l.__esModule?l:{default:l}},ze.exports.__esModule=!0,ze.exports.default=ze.exports},50590:ze=>{function G(l){return ze.exports=G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},ze.exports.__esModule=!0,ze.exports.default=ze.exports,G(l)}ze.exports=G,ze.exports.__esModule=!0,ze.exports.default=ze.exports},41777:(ze,G,l)=>{"use strict";l.d(G,{EY:()=>R,F4:()=>I,IO:()=>B,LC:()=>i,SB:()=>m,X$:()=>p,ZE:()=>k,ZN:()=>w,_j:()=>a,eR:()=>L,jt:()=>C,k1:()=>H,l3:()=>d,oB:()=>b,oQ:()=>M,pV:()=>D,ru:()=>f,vP:()=>v});
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
class a{}class i{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const d="*";function p(j,z){return{type:7,name:j,definitions:z,options:{}}}function C(j,z=null){return{type:4,styles:z,timings:j}}function f(j,z=null){return{type:3,steps:j,options:z}}function v(j,z=null){return{type:2,steps:j,options:z}}function b(j){return{type:6,styles:j,offset:null}}function m(j,z,le){return{type:0,name:j,styles:z,options:le}}function I(j){return{type:5,steps:j}}function L(j,z,le=null){return{type:1,expr:j,animation:z,options:le}}function M(j,z=null){return{type:8,animation:j,options:z}}function D(j=null){return{type:9,options:j}}function B(j,z,le=null){return{type:11,selector:j,animation:z,options:le}}function R(j,z){return{type:12,timings:j,animation:z}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function x(j){Promise.resolve(null).then(j)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class w{constructor(z=0,le=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=z+le}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}onStart(z){this._onStartFns.push(z)}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){x(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(z=>z()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(z){this._position=this.totalTime?z*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(z){const le="start"==z?this._onStartFns:this._onDoneFns;le.forEach(oe=>oe()),le.length=0}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class k{constructor(z){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=z;let le=0,oe=0,$=0;const y=this.players.length;0==y?x(()=>this._onFinish()):this.players.forEach(ae=>{ae.onDone(()=>{++le==y&&this._onFinish()}),ae.onDestroy(()=>{++oe==y&&this._onDestroy()}),ae.onStart(()=>{++$==y&&this._onStart()})}),this.totalTime=this.players.reduce((ae,ge)=>Math.max(ae,ge.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(z=>z()),this._onDoneFns=[])}init(){this.players.forEach(z=>z.init())}onStart(z){this._onStartFns.push(z)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(z=>z()),this._onStartFns=[])}onDone(z){this._onDoneFns.push(z)}onDestroy(z){this._onDestroyFns.push(z)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(z=>z.play())}pause(){this.players.forEach(z=>z.pause())}restart(){this.players.forEach(z=>z.restart())}finish(){this._onFinish(),this.players.forEach(z=>z.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(z=>z.destroy()),this._onDestroyFns.forEach(z=>z()),this._onDestroyFns=[])}reset(){this.players.forEach(z=>z.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(z){const le=z*this.totalTime;this.players.forEach(oe=>{const $=oe.totalTime?Math.min(1,le/oe.totalTime):1;oe.setPosition($)})}getPosition(){const z=this.players.reduce((le,oe)=>null===le||oe.totalTime>le.totalTime?oe:le,null);return null!=z?z.getPosition():0}beforeDestroy(){this.players.forEach(z=>{z.beforeDestroy&&z.beforeDestroy()})}triggerCallback(z){const le="start"==z?this._onStartFns:this._onDoneFns;le.forEach(oe=>oe()),le.length=0}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const H="!";
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},15664:(ze,G,l)=>{"use strict";l.d(G,{$s:()=>ae,Em:()=>Ee,Kd:()=>Jt,Qr:()=>hn,X6:()=>xe,ic:()=>Re,kH:()=>Nn,mK:()=>gt,qV:()=>Qt,qm:()=>Bn,rt:()=>Xt,s1:()=>Be,tE:()=>An,yG:()=>he});var a=l(69808),i=l(5e3),d=l(70925),p=l(8929),C=l(42654),f=l(591),v=l(21086),b=l(91159),m=l(22868),I=l(80013),L=l(92198),M=l(24850),D=l(72986),A=l(31307),B=l(75778),R=l(7625),x=l(63191),w=l(17144);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function z(Pt,ht){return(Pt.getAttribute(ht)||"").match(/\S+/g)||[]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const oe="cdk-describedby-message",$="cdk-describedby-host";let y=0,ae=(()=>{class Pt{constructor(be,Ze){this._platform=Ze,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+y++,this._document=be}describe(be,Ze,_t){if(!this._canBeDescribed(be,Ze))return;const st=ge(Ze,_t);"string"!=typeof Ze?(Ve(Ze),this._messageRegistry.set(st,{messageElement:Ze,referenceCount:0})):this._messageRegistry.has(st)||this._createMessageElement(Ze,_t),this._isElementDescribedByMessage(be,st)||this._addMessageReference(be,st)}removeDescription(be,Ze,_t){var st;if(!Ze||!this._isElementNode(be))return;const Ut=ge(Ze,_t);if(this._isElementDescribedByMessage(be,Ut)&&this._removeMessageReference(be,Ut),"string"==typeof Ze){const Ht=this._messageRegistry.get(Ut);Ht&&0===Ht.referenceCount&&this._deleteMessageElement(Ut)}0===(null===(st=this._messagesContainer)||void 0===st?void 0:st.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var be;const Ze=this._document.querySelectorAll(`[${$}="${this._id}"]`);for(let _t=0;_t<Ze.length;_t++)this._removeCdkDescribedByReferenceIds(Ze[_t]),Ze[_t].removeAttribute($);null===(be=this._messagesContainer)||void 0===be||be.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(be,Ze){const _t=this._document.createElement("div");Ve(_t),_t.textContent=be,Ze&&_t.setAttribute("role",Ze),this._createMessagesContainer(),this._messagesContainer.appendChild(_t),this._messageRegistry.set(ge(be,Ze),{messageElement:_t,referenceCount:0})}_deleteMessageElement(be){var Ze,_t;null===(_t=null===(Ze=this._messageRegistry.get(be))||void 0===Ze?void 0:Ze.messageElement)||void 0===_t||_t.remove(),this._messageRegistry.delete(be)}_createMessagesContainer(){if(this._messagesContainer)return;const be="cdk-describedby-message-container",Ze=this._document.querySelectorAll(`.${be}[platform="server"]`);for(let st=0;st<Ze.length;st++)Ze[st].remove();const _t=this._document.createElement("div");_t.style.visibility="hidden",_t.classList.add(be),_t.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&_t.setAttribute("platform","server"),this._document.body.appendChild(_t),this._messagesContainer=_t}_removeCdkDescribedByReferenceIds(be){const Ze=z(be,"aria-describedby").filter(_t=>0!=_t.indexOf(oe));be.setAttribute("aria-describedby",Ze.join(" "))}_addMessageReference(be,Ze){const _t=this._messageRegistry.get(Ze);(function H(Pt,ht,be){const Ze=z(Pt,ht);Ze.some(_t=>_t.trim()==be.trim())||(Ze.push(be.trim()),Pt.setAttribute(ht,Ze.join(" ")))})(be,"aria-describedby",_t.messageElement.id),be.setAttribute($,this._id),_t.referenceCount++}_removeMessageReference(be,Ze){const _t=this._messageRegistry.get(Ze);_t.referenceCount--,function j(Pt,ht,be){const _t=z(Pt,ht).filter(st=>st!=be.trim());_t.length?Pt.setAttribute(ht,_t.join(" ")):Pt.removeAttribute(ht)}(be,"aria-describedby",_t.messageElement.id),be.removeAttribute($)}_isElementDescribedByMessage(be,Ze){const _t=z(be,"aria-describedby"),st=this._messageRegistry.get(Ze),Ut=st&&st.messageElement.id;return!!Ut&&-1!=_t.indexOf(Ut)}_canBeDescribed(be,Ze){if(!this._isElementNode(be))return!1;if(Ze&&"object"==typeof Ze)return!0;const _t=null==Ze?"":`${Ze}`.trim(),st=be.getAttribute("aria-label");return!(!_t||st&&st.trim()===_t)}_isElementNode(be){return be.nodeType===this._document.ELEMENT_NODE}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(a.K0),i.LFG(d.t4))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})();function ge(Pt,ht){return"string"==typeof Pt?`${ht||""}/${Pt}`:Pt}function Ve(Pt){Pt.id||(Pt.id=`${oe}-${y++}`)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class $e{constructor(ht){this._items=ht,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new p.xQ,this._typeaheadSubscription=C.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=be=>be.disabled,this._pressedLetters=[],this.tabOut=new p.xQ,this.change=new p.xQ,ht instanceof i.n_E&&ht.changes.subscribe(be=>{if(this._activeItem){const _t=be.toArray().indexOf(this._activeItem);_t>-1&&_t!==this._activeItemIndex&&(this._activeItemIndex=_t)}})}skipPredicate(ht){return this._skipPredicateFn=ht,this}withWrap(ht=!0){return this._wrap=ht,this}withVerticalOrientation(ht=!0){return this._vertical=ht,this}withHorizontalOrientation(ht){return this._horizontal=ht,this}withAllowedModifierKeys(ht){return this._allowedModifierKeys=ht,this}withTypeAhead(ht=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,m.b)(be=>this._pressedLetters.push(be)),(0,I.b)(ht),(0,L.h)(()=>this._pressedLetters.length>0),(0,M.U)(()=>this._pressedLetters.join(""))).subscribe(be=>{const Ze=this._getItemsArray();for(let _t=1;_t<Ze.length+1;_t++){const st=(this._activeItemIndex+_t)%Ze.length,Ut=Ze[st];if(!this._skipPredicateFn(Ut)&&0===Ut.getLabel().toUpperCase().trim().indexOf(be)){this.setActiveItem(st);break}}this._pressedLetters=[]}),this}withHomeAndEnd(ht=!0){return this._homeAndEnd=ht,this}setActiveItem(ht){const be=this._activeItem;this.updateActiveItem(ht),this._activeItem!==be&&this.change.next(this._activeItemIndex)}onKeydown(ht){const be=ht.keyCode,_t=["altKey","ctrlKey","metaKey","shiftKey"].every(st=>!ht[st]||this._allowedModifierKeys.indexOf(st)>-1);switch(be){case b.Mf:return void this.tabOut.next();case b.JH:if(this._vertical&&_t){this.setNextItemActive();break}return;case b.LH:if(this._vertical&&_t){this.setPreviousItemActive();break}return;case b.SV:if(this._horizontal&&_t){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case b.oh:if(this._horizontal&&_t){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case b.Sd:if(this._homeAndEnd&&_t){this.setFirstItemActive();break}return;case b.uR:if(this._homeAndEnd&&_t){this.setLastItemActive();break}return;default:return void((_t||(0,b.Vb)(ht,"shiftKey"))&&(ht.key&&1===ht.key.length?this._letterKeyStream.next(ht.key.toLocaleUpperCase()):(be>=b.A&&be<=b.Z||be>=b.xE&&be<=b.aO)&&this._letterKeyStream.next(String.fromCharCode(be))))}this._pressedLetters=[],ht.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(ht){const be=this._getItemsArray(),Ze="number"==typeof ht?ht:be.indexOf(ht),_t=be[Ze];this._activeItem=null==_t?null:_t,this._activeItemIndex=Ze}_setActiveItemByDelta(ht){this._wrap?this._setActiveInWrapMode(ht):this._setActiveInDefaultMode(ht)}_setActiveInWrapMode(ht){const be=this._getItemsArray();for(let Ze=1;Ze<=be.length;Ze++){const _t=(this._activeItemIndex+ht*Ze+be.length)%be.length;if(!this._skipPredicateFn(be[_t]))return void this.setActiveItem(_t)}}_setActiveInDefaultMode(ht){this._setActiveItemByIndex(this._activeItemIndex+ht,ht)}_setActiveItemByIndex(ht,be){const Ze=this._getItemsArray();if(Ze[ht]){for(;this._skipPredicateFn(Ze[ht]);)if(!Ze[ht+=be])return;this.setActiveItem(ht)}}_getItemsArray(){return this._items instanceof i.n_E?this._items.toArray():this._items}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Be extends $e{setActiveItem(ht){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(ht),this.activeItem&&this.activeItem.setActiveStyles()}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Ee extends $e{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ht){return this._origin=ht,this}setActiveItem(ht){super.setActiveItem(ht),this.activeItem&&this.activeItem.focus(this._origin)}}let Re=(()=>{class Pt{constructor(be){this._platform=be}isDisabled(be){return be.hasAttribute("disabled")}isVisible(be){return function it(Pt){return!!(Pt.offsetWidth||Pt.offsetHeight||"function"==typeof Pt.getClientRects&&Pt.getClientRects().length)}(be)&&"visible"===getComputedStyle(be).visibility}isTabbable(be){if(!this._platform.isBrowser)return!1;const Ze=function Ge(Pt){try{return Pt.frameElement}catch(ht){return null}}(function lt(Pt){return Pt.ownerDocument&&Pt.ownerDocument.defaultView||window}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(be));if(Ze&&(-1===He(Ze)||!this.isVisible(Ze)))return!1;let _t=be.nodeName.toLowerCase(),st=He(be);return be.hasAttribute("contenteditable")?-1!==st:!("iframe"===_t||"object"===_t||this._platform.WEBKIT&&this._platform.IOS&&!function et(Pt){let ht=Pt.nodeName.toLowerCase(),be="input"===ht&&Pt.type;return"text"===be||"password"===be||"select"===ht||"textarea"===ht}(be))&&("audio"===_t?!!be.hasAttribute("controls")&&-1!==st:"video"===_t?-1!==st&&(null!==st||this._platform.FIREFOX||be.hasAttribute("controls")):be.tabIndex>=0)}isFocusable(be,Ze){return function de(Pt){return!function Z(Pt){return function U(Pt){return"input"==Pt.nodeName.toLowerCase()}(Pt)&&"hidden"==Pt.type}(Pt)&&(function Se(Pt){let ht=Pt.nodeName.toLowerCase();return"input"===ht||"select"===ht||"button"===ht||"textarea"===ht}(Pt)||function V(Pt){return function fe(Pt){return"a"==Pt.nodeName.toLowerCase()}(Pt)&&Pt.hasAttribute("href")}(Pt)||Pt.hasAttribute("contenteditable")||pe(Pt))}(be)&&!this.isDisabled(be)&&((null==Ze?void 0:Ze.ignoreVisibility)||this.isVisible(be))}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(d.t4))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})();function pe(Pt){if(!Pt.hasAttribute("tabindex")||void 0===Pt.tabIndex)return!1;let ht=Pt.getAttribute("tabindex");return!(!ht||isNaN(parseInt(ht,10)))}function He(Pt){if(!pe(Pt))return null;const ht=parseInt(Pt.getAttribute("tabindex")||"",10);return isNaN(ht)?-1:ht}class St{constructor(ht,be,Ze,_t,st=!1){this._element=ht,this._checker=be,this._ngZone=Ze,this._document=_t,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,st||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ht){this._enabled=ht,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ht,this._startAnchor),this._toggleAnchorTabIndex(ht,this._endAnchor))}destroy(){const ht=this._startAnchor,be=this._endAnchor;ht&&(ht.removeEventListener("focus",this.startAnchorListener),ht.remove()),be&&(be.removeEventListener("focus",this.endAnchorListener),be.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(ht){return new Promise(be=>{this._executeOnStable(()=>be(this.focusInitialElement(ht)))})}focusFirstTabbableElementWhenReady(ht){return new Promise(be=>{this._executeOnStable(()=>be(this.focusFirstTabbableElement(ht)))})}focusLastTabbableElementWhenReady(ht){return new Promise(be=>{this._executeOnStable(()=>be(this.focusLastTabbableElement(ht)))})}_getRegionBoundary(ht){const be=this._element.querySelectorAll(`[cdk-focus-region-${ht}], [cdkFocusRegion${ht}], [cdk-focus-${ht}]`);return"start"==ht?be.length?be[0]:this._getFirstTabbableElement(this._element):be.length?be[be.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ht){const be=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(be){if(!this._checker.isFocusable(be)){const Ze=this._getFirstTabbableElement(be);return null==Ze||Ze.focus(ht),!!Ze}return be.focus(ht),!0}return this.focusFirstTabbableElement(ht)}focusFirstTabbableElement(ht){const be=this._getRegionBoundary("start");return be&&be.focus(ht),!!be}focusLastTabbableElement(ht){const be=this._getRegionBoundary("end");return be&&be.focus(ht),!!be}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ht){if(this._checker.isFocusable(ht)&&this._checker.isTabbable(ht))return ht;const be=ht.children;for(let Ze=0;Ze<be.length;Ze++){const _t=be[Ze].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(be[Ze]):null;if(_t)return _t}return null}_getLastTabbableElement(ht){if(this._checker.isFocusable(ht)&&this._checker.isTabbable(ht))return ht;const be=ht.children;for(let Ze=be.length-1;Ze>=0;Ze--){const _t=be[Ze].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(be[Ze]):null;if(_t)return _t}return null}_createAnchor(){const ht=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ht),ht.classList.add("cdk-visually-hidden"),ht.classList.add("cdk-focus-trap-anchor"),ht.setAttribute("aria-hidden","true"),ht}_toggleAnchorTabIndex(ht,be){ht?be.setAttribute("tabindex","0"):be.removeAttribute("tabindex")}toggleAnchors(ht){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ht,this._startAnchor),this._toggleAnchorTabIndex(ht,this._endAnchor))}_executeOnStable(ht){this._ngZone.isStable?ht():this._ngZone.onStable.pipe((0,D.q)(1)).subscribe(ht)}}let Qt=(()=>{class Pt{constructor(be,Ze,_t){this._checker=be,this._ngZone=Ze,this._document=_t}create(be,Ze=!1){return new St(be,this._checker,this._ngZone,this._document,Ze)}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(Re),i.LFG(i.R0b),i.LFG(a.K0))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})(),gt=(()=>{class Pt{constructor(be,Ze,_t){this._elementRef=be,this._focusTrapFactory=Ze,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(be){this.focusTrap.enabled=(0,x.Ig)(be)}get autoCapture(){return this._autoCapture}set autoCapture(be){this._autoCapture=(0,x.Ig)(be)}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(be){const Ze=be.autoCapture;Ze&&!Ze.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,d.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.Y36(i.SBq),i.Y36(Qt),i.Y36(a.K0))},Pt.\u0275dir=i.lG2({type:Pt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.TTD]}),Pt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function xe(Pt){return 0===Pt.buttons||0===Pt.offsetX&&0===Pt.offsetY}function he(Pt){const ht=Pt.touches&&Pt.touches[0]||Pt.changedTouches&&Pt.changedTouches[0];return!(!ht||-1!==ht.identifier||null!=ht.radiusX&&1!==ht.radiusX||null!=ht.radiusY&&1!==ht.radiusY)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const N=new i.OlP("cdk-input-modality-detector-options"),F={ignoreKeys:[b.zL,b.jx,b.b2,b.MW,b.JU]},re=(0,d.i$)({passive:!0,capture:!0});let Oe=(()=>{class Pt{constructor(be,Ze,_t,st){this._platform=be,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Ut=>{var Ht,dn;(null===(dn=null===(Ht=this._options)||void 0===Ht?void 0:Ht.ignoreKeys)||void 0===dn?void 0:dn.some(jt=>jt===Ut.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Ut))},this._onMousedown=Ut=>{Date.now()-this._lastTouchMs<650||(this._modality.next(xe(Ut)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Ut))},this._onTouchstart=Ut=>{he(Ut)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Ut))},this._options=Object.assign(Object.assign({},F),st),this.modalityDetected=this._modality.pipe((0,A.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,B.x)()),be.isBrowser&&Ze.runOutsideAngular(()=>{_t.addEventListener("keydown",this._onKeydown,re),_t.addEventListener("mousedown",this._onMousedown,re),_t.addEventListener("touchstart",this._onTouchstart,re)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,re),document.removeEventListener("mousedown",this._onMousedown,re),document.removeEventListener("touchstart",this._onTouchstart,re))}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(d.t4),i.LFG(i.R0b),i.LFG(a.K0),i.LFG(N,8))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Ye=new i.OlP("liveAnnouncerElement",{providedIn:"root",factory:function vt(){return null}}),Vt=new i.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Jt=(()=>{class Pt{constructor(be,Ze,_t,st){this._ngZone=Ze,this._defaultOptions=st,this._document=_t,this._liveElement=be||this._createLiveElement()}announce(be,...Ze){const _t=this._defaultOptions;let st,Ut;return 1===Ze.length&&"number"==typeof Ze[0]?Ut=Ze[0]:[st,Ut]=Ze,this.clear(),clearTimeout(this._previousTimeout),st||(st=_t&&_t.politeness?_t.politeness:"polite"),null==Ut&&_t&&(Ut=_t.duration),this._liveElement.setAttribute("aria-live",st),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ht=>this._currentResolve=Ht)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=be,"number"==typeof Ut&&(this._previousTimeout=setTimeout(()=>this.clear(),Ut)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var be,Ze;clearTimeout(this._previousTimeout),null===(be=this._liveElement)||void 0===be||be.remove(),this._liveElement=null,null===(Ze=this._currentResolve)||void 0===Ze||Ze.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const be="cdk-live-announcer-element",Ze=this._document.getElementsByClassName(be),_t=this._document.createElement("div");for(let st=0;st<Ze.length;st++)Ze[st].remove();return _t.classList.add(be),_t.classList.add("cdk-visually-hidden"),_t.setAttribute("aria-atomic","true"),_t.setAttribute("aria-live","polite"),this._document.body.appendChild(_t),_t}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(Ye,8),i.LFG(i.R0b),i.LFG(a.K0),i.LFG(Vt,8))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})(),hn=(()=>{class Pt{constructor(be,Ze,_t,st){this._elementRef=be,this._liveAnnouncer=Ze,this._contentObserver=_t,this._ngZone=st,this._politeness="polite"}get politeness(){return this._politeness}set politeness(be){this._politeness="off"===be||"assertive"===be?be:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const Ze=this._elementRef.nativeElement.textContent;Ze!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(Ze,this._politeness),this._previousAnnouncedText=Ze)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.Y36(i.SBq),i.Y36(Jt),i.Y36(w.yq),i.Y36(i.R0b))},Pt.\u0275dir=i.lG2({type:Pt,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),Pt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const gn=new i.OlP("cdk-focus-monitor-default-options"),yn=(0,d.i$)({passive:!0,capture:!0});let An=(()=>{class Pt{constructor(be,Ze,_t,st,Ut){this._ngZone=be,this._platform=Ze,this._inputModalityDetector=_t,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new p.xQ,this._rootNodeFocusAndBlurListener=Ht=>{const dn=(0,d.sA)(Ht),jt="focus"===Ht.type?this._onFocus:this._onBlur;for(let ce=dn;ce;ce=ce.parentElement)jt.call(this,Ht,ce)},this._document=st,this._detectionMode=(null==Ut?void 0:Ut.detectionMode)||0}monitor(be,Ze=!1){const _t=(0,x.fI)(be);if(!this._platform.isBrowser||1!==_t.nodeType)return(0,v.of)(null);const st=(0,d.kV)(_t)||this._getDocument(),Ut=this._elementInfo.get(_t);if(Ut)return Ze&&(Ut.checkChildren=!0),Ut.subject;const Ht={checkChildren:Ze,subject:new p.xQ,rootNode:st};return this._elementInfo.set(_t,Ht),this._registerGlobalListeners(Ht),Ht.subject}stopMonitoring(be){const Ze=(0,x.fI)(be),_t=this._elementInfo.get(Ze);_t&&(_t.subject.complete(),this._setClasses(Ze),this._elementInfo.delete(Ze),this._removeGlobalListeners(_t))}focusVia(be,Ze,_t){const st=(0,x.fI)(be);st===this._getDocument().activeElement?this._getClosestElementsInfo(st).forEach(([Ht,dn])=>this._originChanged(Ht,Ze,dn)):(this._setOrigin(Ze),"function"==typeof st.focus&&st.focus(_t))}ngOnDestroy(){this._elementInfo.forEach((be,Ze)=>this.stopMonitoring(Ze))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(be){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(be)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(be){return 1===this._detectionMode||!!(null==be?void 0:be.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(be,Ze){be.classList.toggle("cdk-focused",!!Ze),be.classList.toggle("cdk-touch-focused","touch"===Ze),be.classList.toggle("cdk-keyboard-focused","keyboard"===Ze),be.classList.toggle("cdk-mouse-focused","mouse"===Ze),be.classList.toggle("cdk-program-focused","program"===Ze)}_setOrigin(be,Ze=!1){this._ngZone.runOutsideAngular(()=>{this._origin=be,this._originFromTouchInteraction="touch"===be&&Ze,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(be,Ze){const _t=this._elementInfo.get(Ze),st=(0,d.sA)(be);!_t||!_t.checkChildren&&Ze!==st||this._originChanged(Ze,this._getFocusOrigin(st),_t)}_onBlur(be,Ze){const _t=this._elementInfo.get(Ze);!_t||_t.checkChildren&&be.relatedTarget instanceof Node&&Ze.contains(be.relatedTarget)||(this._setClasses(Ze),this._emitOrigin(_t.subject,null))}_emitOrigin(be,Ze){this._ngZone.run(()=>be.next(Ze))}_registerGlobalListeners(be){if(!this._platform.isBrowser)return;const Ze=be.rootNode,_t=this._rootNodeFocusListenerCount.get(Ze)||0;_t||this._ngZone.runOutsideAngular(()=>{Ze.addEventListener("focus",this._rootNodeFocusAndBlurListener,yn),Ze.addEventListener("blur",this._rootNodeFocusAndBlurListener,yn)}),this._rootNodeFocusListenerCount.set(Ze,_t+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,R.R)(this._stopInputModalityDetector)).subscribe(st=>{this._setOrigin(st,!0)}))}_removeGlobalListeners(be){const Ze=be.rootNode;if(this._rootNodeFocusListenerCount.has(Ze)){const _t=this._rootNodeFocusListenerCount.get(Ze);_t>1?this._rootNodeFocusListenerCount.set(Ze,_t-1):(Ze.removeEventListener("focus",this._rootNodeFocusAndBlurListener,yn),Ze.removeEventListener("blur",this._rootNodeFocusAndBlurListener,yn),this._rootNodeFocusListenerCount.delete(Ze))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(be,Ze,_t){this._setClasses(be,Ze),this._emitOrigin(_t.subject,Ze),this._lastFocusOrigin=Ze}_getClosestElementsInfo(be){const Ze=[];return this._elementInfo.forEach((_t,st)=>{(st===be||_t.checkChildren&&st.contains(be))&&Ze.push([st,_t])}),Ze}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(i.R0b),i.LFG(d.t4),i.LFG(Oe),i.LFG(a.K0,8),i.LFG(gn,8))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})(),Nn=(()=>{class Pt{constructor(be,Ze){this._elementRef=be,this._focusMonitor=Ze,this.cdkFocusChange=new i.vpe}ngAfterViewInit(){const be=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(be,1===be.nodeType&&be.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ze=>this.cdkFocusChange.emit(Ze))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.Y36(i.SBq),i.Y36(An))},Pt.\u0275dir=i.lG2({type:Pt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Pt})();const In="cdk-high-contrast-black-on-white",wn="cdk-high-contrast-white-on-black",Wn="cdk-high-contrast-active";let Bn=(()=>{class Pt{constructor(be,Ze){this._platform=be,this._document=Ze}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const be=this._document.createElement("div");be.style.backgroundColor="rgb(1,2,3)",be.style.position="absolute",this._document.body.appendChild(be);const Ze=this._document.defaultView||window,_t=Ze&&Ze.getComputedStyle?Ze.getComputedStyle(be):null,st=(_t&&_t.backgroundColor||"").replace(/ /g,"");switch(be.remove(),st){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const be=this._document.body.classList;be.remove(Wn),be.remove(In),be.remove(wn),this._hasCheckedHighContrastMode=!0;const Ze=this.getHighContrastMode();1===Ze?(be.add(Wn),be.add(In)):2===Ze&&(be.add(Wn),be.add(wn))}}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(d.t4),i.LFG(a.K0))},Pt.\u0275prov=i.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"}),Pt})(),Xt=(()=>{class Pt{constructor(be){be._applyBodyHighContrastModeCssClasses()}}return Pt.\u0275fac=function(be){return new(be||Pt)(i.LFG(Bn))},Pt.\u0275mod=i.oAB({type:Pt}),Pt.\u0275inj=i.cJS({imports:[[w.Q8]]}),Pt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,50226:(ze,G,l)=>{"use strict";l.d(G,{Is:()=>v,vT:()=>m});var a=l(5e3),i=l(69808);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const d=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function p(){return(0,a.f3M)(i.K0)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}),C=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let v=(()=>{class I{constructor(M){if(this.value="ltr",this.change=new a.vpe,M){const A=M.documentElement?M.documentElement.dir:null;this.value=function f(I){const L=(null==I?void 0:I.toLowerCase())||"";return"auto"===L&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?C.test(navigator.language)?"rtl":"ltr":"rtl"===L?"rtl":"ltr"}((M.body?M.body.dir:null)||A||"ltr")}}ngOnDestroy(){this.change.complete()}}return I.\u0275fac=function(M){return new(M||I)(a.LFG(d,8))},I.\u0275prov=a.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),m=(()=>{class I{}return I.\u0275fac=function(M){return new(M||I)},I.\u0275mod=a.oAB({type:I}),I.\u0275inj=a.cJS({}),I})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,63191:(ze,G,l)=>{"use strict";l.d(G,{Eq:()=>C,HM:()=>f,Ig:()=>i,du:()=>b,fI:()=>v,su:()=>d});var a=l(5e3);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function i(m){return null!=m&&"false"!=`${m}`}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function d(m,I=0){return function p(m){return!isNaN(parseFloat(m))&&!isNaN(Number(m))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(m)?Number(m):I}function C(m){return Array.isArray(m)?m:[m]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function f(m){return null==m?"":"string"==typeof m?m:`${m}px`}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function v(m){return m instanceof a.SBq?m.nativeElement:m}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function b(m,I=/\s+/){const L=[];if(null!=m){const M=Array.isArray(m)?m:`${m}`.split(I);for(const D of M){const A=`${D}`.trim();A&&L.push(A)}}return L}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},20449:(ze,G,l)=>{"use strict";l.d(G,{A8:()=>I,Ov:()=>b,Z9:()=>p,eX:()=>v,k:()=>L,yy:()=>f});var a=l(8929),i=l(5e3);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function p(M){return M&&"function"==typeof M.connect}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class f{applyChanges(D,A,B,R,x){D.forEachOperation((w,k,H)=>{let j,z;if(null==w.previousIndex){const le=B(w,k,H);j=A.createEmbeddedView(le.templateRef,le.context,le.index),z=1}else null==H?(A.remove(k),z=3):(j=A.get(k),A.move(j,H),z=2);x&&x({context:null==j?void 0:j.context,operation:z,record:w})})}detach(){}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class v{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(D,A,B,R,x){D.forEachOperation((w,k,H)=>{let j,z;null==w.previousIndex?(j=this._insertView(()=>B(w,k,H),H,A,R(w)),z=j?1:0):null==H?(this._detachAndCacheView(k,A),z=3):(j=this._moveView(k,H,A,R(w)),z=2),x&&x({context:null==j?void 0:j.context,operation:z,record:w})})}detach(){for(const D of this._viewCache)D.destroy();this._viewCache=[]}_insertView(D,A,B,R){const x=this._insertViewFromCache(A,B);if(x)return void(x.context.$implicit=R);const w=D();return B.createEmbeddedView(w.templateRef,w.context,w.index)}_detachAndCacheView(D,A){const B=A.detach(D);this._maybeCacheView(B,A)}_moveView(D,A,B,R){const x=B.get(D);return B.move(x,A),x.context.$implicit=R,x}_maybeCacheView(D,A){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(D);else{const B=A.indexOf(D);-1===B?D.destroy():A.remove(B)}}_insertViewFromCache(D,A){const B=this._viewCache.pop();return B&&A.insert(B,D),B||null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class b{constructor(D=!1,A,B=!0){this._multiple=D,this._emitChanges=B,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new a.xQ,A&&A.length&&(D?A.forEach(R=>this._markSelected(R)):this._markSelected(A[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...D){this._verifyValueAssignment(D),D.forEach(A=>this._markSelected(A)),this._emitChangeEvent()}deselect(...D){this._verifyValueAssignment(D),D.forEach(A=>this._unmarkSelected(A)),this._emitChangeEvent()}toggle(D){this.isSelected(D)?this.deselect(D):this.select(D)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(D){return this._selection.has(D)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(D){this._multiple&&this.selected&&this._selected.sort(D)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(D){this.isSelected(D)||(this._multiple||this._unmarkAll(),this._selection.add(D),this._emitChanges&&this._selectedToEmit.push(D))}_unmarkSelected(D){this.isSelected(D)&&(this._selection.delete(D),this._emitChanges&&this._deselectedToEmit.push(D))}_unmarkAll(){this.isEmpty()||this._selection.forEach(D=>this._unmarkSelected(D))}_verifyValueAssignment(D){}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let I=(()=>{class M{constructor(){this._listeners=[]}notify(A,B){for(let R of this._listeners)R(A,B)}listen(A){return this._listeners.push(A),()=>{this._listeners=this._listeners.filter(B=>A!==B)}}ngOnDestroy(){this._listeners=[]}}return M.\u0275fac=function(A){return new(A||M)},M.\u0275prov=i.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const L=new i.OlP("_ViewRepeater");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},91159:(ze,G,l)=>{"use strict";l.d(G,{A:()=>V,JH:()=>H,JU:()=>f,K5:()=>C,Ku:()=>D,LH:()=>w,L_:()=>M,MW:()=>Jt,Mf:()=>d,OC:()=>qn,SV:()=>k,Sd:()=>R,VM:()=>A,Vb:()=>Ct,Z:()=>Vt,ZH:()=>i,aO:()=>Re,b2:()=>Zt,hY:()=>L,jx:()=>v,oh:()=>x,uR:()=>B,xE:()=>$,yY:()=>oe,zL:()=>b});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const i=8,d=9,C=13,f=16,v=17,b=18,L=27,M=32,D=33,A=34,B=35,R=36,x=37,w=38,k=39,H=40,oe=46,$=48,Re=57,V=65,Vt=90,Jt=91,qn=188,Zt=224;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ct(Et,...Ke){return Ke.length?Ke.some(Lt=>Et[Lt]):Et.altKey||Et.shiftKey||Et.ctrlKey||Et.metaKey}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},95113:(ze,G,l)=>{"use strict";l.d(G,{Yg:()=>H,u3:()=>z});var a=l(5e3),i=l(63191),d=l(8929),p=l(36053),C=l(61221),f=l(32916),v=l(72986),b=l(31307),m=l(80013),I=l(24850),L=l(1059),M=l(7625),D=l(70925);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const B=new Set;let R,x=(()=>{class le{constructor($){this._platform=$,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):k}matchMedia($){return(this._platform.WEBKIT||this._platform.BLINK)&&function w(le){if(!B.has(le))try{R||(R=document.createElement("style"),R.setAttribute("type","text/css"),document.head.appendChild(R)),R.sheet&&(R.sheet.insertRule(`@media ${le} {body{ }}`,0),B.add(le))}catch(oe){console.error(oe)}}($),this._matchMedia($)}}return le.\u0275fac=function($){return new($||le)(a.LFG(D.t4))},le.\u0275prov=a.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function k(le){return{matches:"all"===le||""===le,media:le,addListener:()=>{},removeListener:()=>{}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let H=(()=>{class le{constructor($,y){this._mediaMatcher=$,this._zone=y,this._queries=new Map,this._destroySubject=new d.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($){return j((0,i.Eq)($)).some(ae=>this._registerQuery(ae).mql.matches)}observe($){const ae=j((0,i.Eq)($)).map(Ve=>this._registerQuery(Ve).observable);let ge=(0,p.aj)(ae);return ge=(0,C.z)(ge.pipe((0,v.q)(1)),ge.pipe((0,b.T)(1),(0,m.b)(0))),ge.pipe((0,I.U)(Ve=>{const $e={matches:!1,breakpoints:{}};return Ve.forEach(({matches:Be,query:Ee})=>{$e.matches=$e.matches||Be,$e.breakpoints[Ee]=Be}),$e}))}_registerQuery($){if(this._queries.has($))return this._queries.get($);const y=this._mediaMatcher.matchMedia($),ge={observable:new f.y(Ve=>{const $e=Be=>this._zone.run(()=>Ve.next(Be));return y.addListener($e),()=>{y.removeListener($e)}}).pipe((0,L.O)(y),(0,I.U)(({matches:Ve})=>({query:$,matches:Ve})),(0,M.R)(this._destroySubject)),mql:y};return this._queries.set($,ge),ge}}return le.\u0275fac=function($){return new($||le)(a.LFG(x),a.LFG(a.R0b))},le.\u0275prov=a.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function j(le){return le.map(oe=>oe.split(",")).reduce((oe,$)=>oe.concat($)).map(oe=>oe.trim())}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const z={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},17144:(ze,G,l)=>{"use strict";l.d(G,{Q8:()=>m,wD:()=>b,yq:()=>v});var a=l(63191),i=l(5e3),d=l(32916),p=l(8929),C=l(80013);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let f=(()=>{class I{create(M){return"undefined"==typeof MutationObserver?null:new MutationObserver(M)}}return I.\u0275fac=function(M){return new(M||I)},I.\u0275prov=i.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),v=(()=>{class I{constructor(M){this._mutationObserverFactory=M,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((M,D)=>this._cleanupObserver(D))}observe(M){const D=(0,a.fI)(M);return new d.y(A=>{const R=this._observeElement(D).subscribe(A);return()=>{R.unsubscribe(),this._unobserveElement(D)}})}_observeElement(M){if(this._observedElements.has(M))this._observedElements.get(M).count++;else{const D=new p.xQ,A=this._mutationObserverFactory.create(B=>D.next(B));A&&A.observe(M,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(M,{observer:A,stream:D,count:1})}return this._observedElements.get(M).stream}_unobserveElement(M){this._observedElements.has(M)&&(this._observedElements.get(M).count--,this._observedElements.get(M).count||this._cleanupObserver(M))}_cleanupObserver(M){if(this._observedElements.has(M)){const{observer:D,stream:A}=this._observedElements.get(M);D&&D.disconnect(),A.complete(),this._observedElements.delete(M)}}}return I.\u0275fac=function(M){return new(M||I)(i.LFG(f))},I.\u0275prov=i.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),b=(()=>{class I{constructor(M,D,A){this._contentObserver=M,this._elementRef=D,this._ngZone=A,this.event=new i.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(M){this._disabled=(0,a.Ig)(M),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(M){this._debounce=(0,a.su)(M),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const M=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?M.pipe((0,C.b)(this.debounce)):M).subscribe(this.event)})}_unsubscribe(){var M;null===(M=this._currentSubscription)||void 0===M||M.unsubscribe()}}return I.\u0275fac=function(M){return new(M||I)(i.Y36(v),i.Y36(i.SBq),i.Y36(i.R0b))},I.\u0275dir=i.lG2({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),I})(),m=(()=>{class I{}return I.\u0275fac=function(M){return new(M||I)},I.\u0275mod=i.oAB({type:I}),I.\u0275inj=i.cJS({providers:[f]}),I})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},92845:(ze,G,l)=>{"use strict";l.d(G,{pI:()=>ct,xu:()=>Je,aV:()=>Qt,X_:()=>ae,Xj:()=>Re,U8:()=>xe,Iu:()=>Ie,uw:()=>y});var a=l(41713),i=l(69808),d=l(5e3),p=l(63191),C=l(70925),f=l(50226),v=l(47429),b=l(8929),m=l(42654),I=l(36787),L=l(72986),M=l(7625),D=l(43489);class B{constructor(F,Y){this.predicate=F,this.inclusive=Y}call(F,Y){return Y.subscribe(new R(F,this.predicate,this.inclusive))}}class R extends D.L{constructor(F,Y,re){super(F),this.predicate=Y,this.inclusive=re,this.index=0}_next(F){const Y=this.destination;let re;try{re=this.predicate(F,this.index++)}catch(Oe){return void Y.error(Oe)}this.nextOrComplete(F,re)}nextOrComplete(F,Y){const re=this.destination;Boolean(Y)?re.next(F):(this.inclusive&&re.next(F),re.complete())}}var x=l(91159);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const w=(0,C.Mq)();class k{constructor(F,Y){this._viewportRuler=F,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Y}attach(){}enable(){if(this._canBeEnabled()){const F=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=F.style.left||"",this._previousHTMLStyles.top=F.style.top||"",F.style.left=(0,p.HM)(-this._previousScrollPosition.left),F.style.top=(0,p.HM)(-this._previousScrollPosition.top),F.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const F=this._document.documentElement,re=F.style,Oe=this._document.body.style,Ye=re.scrollBehavior||"",vt=Oe.scrollBehavior||"";this._isEnabled=!1,re.left=this._previousHTMLStyles.left,re.top=this._previousHTMLStyles.top,F.classList.remove("cdk-global-scrollblock"),w&&(re.scrollBehavior=Oe.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),w&&(re.scrollBehavior=Ye,Oe.scrollBehavior=vt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Y=this._document.body,re=this._viewportRuler.getViewportSize();return Y.scrollHeight>re.height||Y.scrollWidth>re.width}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class j{constructor(F,Y,re,Oe){this._scrollDispatcher=F,this._ngZone=Y,this._viewportRuler=re,this._config=Oe,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(F){this._overlayRef=F}enable(){if(this._scrollSubscription)return;const F=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=F.subscribe(()=>{const Y=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Y-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=F.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class z{enable(){}disable(){}attach(){}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function le(N,F){return F.some(Y=>N.bottom<Y.top||N.top>Y.bottom||N.right<Y.left||N.left>Y.right)}function oe(N,F){return F.some(Y=>N.top<Y.top||N.bottom>Y.bottom||N.left<Y.left||N.right>Y.right)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class ${constructor(F,Y,re,Oe){this._scrollDispatcher=F,this._viewportRuler=Y,this._ngZone=re,this._config=Oe,this._scrollSubscription=null}attach(F){this._overlayRef=F}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Y=this._overlayRef.overlayElement.getBoundingClientRect(),{width:re,height:Oe}=this._viewportRuler.getViewportSize();le(Y,[{width:re,height:Oe,bottom:Oe,right:re,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let y=(()=>{class N{constructor(Y,re,Oe,Ye){this._scrollDispatcher=Y,this._viewportRuler=re,this._ngZone=Oe,this.noop=()=>new z,this.close=vt=>new j(this._scrollDispatcher,this._ngZone,this._viewportRuler,vt),this.block=()=>new k(this._viewportRuler,this._document),this.reposition=vt=>new $(this._scrollDispatcher,this._viewportRuler,this._ngZone,vt),this._document=Ye}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(a.mF),d.LFG(a.rL),d.LFG(d.R0b),d.LFG(i.K0))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class ae{constructor(F){if(this.scrollStrategy=new z,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,F){const Y=Object.keys(F);for(const re of Y)void 0!==F[re]&&(this[re]=F[re])}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class $e{constructor(F,Y){this.connectionPair=F,this.scrollableViewProperties=Y}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Ie{constructor(F,Y,re,Oe,Ye,vt,Vt,Jt,hn){this._portalOutlet=F,this._host=Y,this._pane=re,this._config=Oe,this._ngZone=Ye,this._keyboardDispatcher=vt,this._document=Vt,this._location=Jt,this._outsideClickDispatcher=hn,this._backdropElement=null,this._backdropClick=new b.xQ,this._attachments=new b.xQ,this._detachments=new b.xQ,this._locationChanges=m.w.EMPTY,this._backdropClickHandler=gn=>this._backdropClick.next(gn),this._backdropTransitionendHandler=gn=>{this._disposeBackdrop(gn.target)},this._keydownEvents=new b.xQ,this._outsidePointerEvents=new b.xQ,Oe.scrollStrategy&&(this._scrollStrategy=Oe.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Oe.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(F){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Y=this._portalOutlet.attach(F);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),Y}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const F=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),F}dispose(){var F;const Y=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(F=this._host)||void 0===F||F.remove(),this._previousHostParent=this._pane=this._host=null,Y&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(F){F!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=F,this.hasAttached()&&(F.attach(this),this.updatePosition()))}updateSize(F){this._config=Object.assign(Object.assign({},this._config),F),this._updateElementSize()}setDirection(F){this._config=Object.assign(Object.assign({},this._config),{direction:F}),this._updateElementDirection()}addPanelClass(F){this._pane&&this._toggleClasses(this._pane,F,!0)}removePanelClass(F){this._pane&&this._toggleClasses(this._pane,F,!1)}getDirection(){const F=this._config.direction;return F?"string"==typeof F?F:F.value:"ltr"}updateScrollStrategy(F){F!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=F,this.hasAttached()&&(F.attach(this),F.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const F=this._pane.style;F.width=(0,p.HM)(this._config.width),F.height=(0,p.HM)(this._config.height),F.minWidth=(0,p.HM)(this._config.minWidth),F.minHeight=(0,p.HM)(this._config.minHeight),F.maxWidth=(0,p.HM)(this._config.maxWidth),F.maxHeight=(0,p.HM)(this._config.maxHeight)}_togglePointerEvents(F){this._pane.style.pointerEvents=F?"":"none"}_attachBackdrop(){const F="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(F)})}):this._backdropElement.classList.add(F)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const F=this._backdropElement;!F||(F.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{F.addEventListener("transitionend",this._backdropTransitionendHandler)}),F.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(F)},500)))}_toggleClasses(F,Y,re){const Oe=(0,p.Eq)(Y||[]).filter(Ye=>!!Ye);Oe.length&&(re?F.classList.add(...Oe):F.classList.remove(...Oe))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const F=this._ngZone.onStable.pipe((0,M.R)((0,I.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),F.unsubscribe())})})}_disposeScrollStrategy(){const F=this._scrollStrategy;F&&(F.disable(),F.detach&&F.detach())}_disposeBackdrop(F){F&&(F.removeEventListener("click",this._backdropClickHandler),F.removeEventListener("transitionend",this._backdropTransitionendHandler),F.remove(),this._backdropElement===F&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Re=(()=>{class N{constructor(Y,re){this._platform=re,this._document=Y}ngOnDestroy(){var Y;null===(Y=this._containerElement)||void 0===Y||Y.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Y="cdk-overlay-container";if(this._platform.isBrowser||(0,C.Oy)()){const Oe=this._document.querySelectorAll(`.${Y}[platform="server"], .${Y}[platform="test"]`);for(let Ye=0;Ye<Oe.length;Ye++)Oe[Ye].remove()}const re=this._document.createElement("div");re.classList.add(Y),(0,C.Oy)()?re.setAttribute("platform","test"):this._platform.isBrowser||re.setAttribute("platform","server"),this._document.body.appendChild(re),this._containerElement=re}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(i.K0),d.LFG(C.t4))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Ge="cdk-overlay-connected-position-bounding-box",it=/([A-Za-z%]+)$/;class Se{constructor(F,Y,re,Oe,Ye){this._viewportRuler=Y,this._document=re,this._platform=Oe,this._overlayContainer=Ye,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new b.xQ,this._resizeSubscription=m.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(F)}get positions(){return this._preferredPositions}attach(F){this._validatePositions(),F.hostElement.classList.add(Ge),this._overlayRef=F,this._boundingBox=F.hostElement,this._pane=F.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const F=this._originRect,Y=this._overlayRect,re=this._viewportRect,Oe=this._containerRect,Ye=[];let vt;for(let Vt of this._preferredPositions){let Jt=this._getOriginPoint(F,Oe,Vt),hn=this._getOverlayPoint(Jt,Y,Vt),gn=this._getOverlayFit(hn,Y,re,Vt);if(gn.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Vt,Jt);this._canFitWithFlexibleDimensions(gn,hn,re)?Ye.push({position:Vt,origin:Jt,overlayRect:Y,boundingBoxRect:this._calculateBoundingBoxRect(Jt,Vt)}):(!vt||vt.overlayFit.visibleArea<gn.visibleArea)&&(vt={overlayFit:gn,overlayPoint:hn,originPoint:Jt,position:Vt,overlayRect:Y})}if(Ye.length){let Vt=null,Jt=-1;for(const hn of Ye){const gn=hn.boundingBoxRect.width*hn.boundingBoxRect.height*(hn.position.weight||1);gn>Jt&&(Jt=gn,Vt=hn)}return this._isPushed=!1,void this._applyPosition(Vt.position,Vt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(vt.position,vt.originPoint);this._applyPosition(vt.position,vt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ge),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const F=this._lastPosition;if(F){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Y=this._getOriginPoint(this._originRect,this._containerRect,F);this._applyPosition(F,Y)}else this.apply()}withScrollableContainers(F){return this._scrollables=F,this}withPositions(F){return this._preferredPositions=F,-1===F.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(F){return this._viewportMargin=F,this}withFlexibleDimensions(F=!0){return this._hasFlexibleDimensions=F,this}withGrowAfterOpen(F=!0){return this._growAfterOpen=F,this}withPush(F=!0){return this._canPush=F,this}withLockedPosition(F=!0){return this._positionLocked=F,this}setOrigin(F){return this._origin=F,this}withDefaultOffsetX(F){return this._offsetX=F,this}withDefaultOffsetY(F){return this._offsetY=F,this}withTransformOriginOn(F){return this._transformOriginSelector=F,this}_getOriginPoint(F,Y,re){let Oe,Ye;if("center"==re.originX)Oe=F.left+F.width/2;else{const vt=this._isRtl()?F.right:F.left,Vt=this._isRtl()?F.left:F.right;Oe="start"==re.originX?vt:Vt}return Y.left<0&&(Oe-=Y.left),Ye="center"==re.originY?F.top+F.height/2:"top"==re.originY?F.top:F.bottom,Y.top<0&&(Ye-=Y.top),{x:Oe,y:Ye}}_getOverlayPoint(F,Y,re){let Oe,Ye;return Oe="center"==re.overlayX?-Y.width/2:"start"===re.overlayX?this._isRtl()?-Y.width:0:this._isRtl()?0:-Y.width,Ye="center"==re.overlayY?-Y.height/2:"top"==re.overlayY?0:-Y.height,{x:F.x+Oe,y:F.y+Ye}}_getOverlayFit(F,Y,re,Oe){const Ye=U(Y);let{x:vt,y:Vt}=F,Jt=this._getOffset(Oe,"x"),hn=this._getOffset(Oe,"y");Jt&&(vt+=Jt),hn&&(Vt+=hn);let An=0-Vt,Nn=Vt+Ye.height-re.height,In=this._subtractOverflows(Ye.width,0-vt,vt+Ye.width-re.width),wn=this._subtractOverflows(Ye.height,An,Nn),Wn=In*wn;return{visibleArea:Wn,isCompletelyWithinViewport:Ye.width*Ye.height===Wn,fitsInViewportVertically:wn===Ye.height,fitsInViewportHorizontally:In==Ye.width}}_canFitWithFlexibleDimensions(F,Y,re){if(this._hasFlexibleDimensions){const Oe=re.bottom-Y.y,Ye=re.right-Y.x,vt=V(this._overlayRef.getConfig().minHeight),Vt=V(this._overlayRef.getConfig().minWidth),hn=F.fitsInViewportHorizontally||null!=Vt&&Vt<=Ye;return(F.fitsInViewportVertically||null!=vt&&vt<=Oe)&&hn}return!1}_pushOverlayOnScreen(F,Y,re){if(this._previousPushAmount&&this._positionLocked)return{x:F.x+this._previousPushAmount.x,y:F.y+this._previousPushAmount.y};const Oe=U(Y),Ye=this._viewportRect,vt=Math.max(F.x+Oe.width-Ye.width,0),Vt=Math.max(F.y+Oe.height-Ye.height,0),Jt=Math.max(Ye.top-re.top-F.y,0),hn=Math.max(Ye.left-re.left-F.x,0);let gn=0,yn=0;return gn=Oe.width<=Ye.width?hn||-vt:F.x<this._viewportMargin?Ye.left-re.left-F.x:0,yn=Oe.height<=Ye.height?Jt||-Vt:F.y<this._viewportMargin?Ye.top-re.top-F.y:0,this._previousPushAmount={x:gn,y:yn},{x:F.x+gn,y:F.y+yn}}_applyPosition(F,Y){if(this._setTransformOrigin(F),this._setOverlayElementStyles(Y,F),this._setBoundingBoxStyles(Y,F),F.panelClass&&this._addPanelClasses(F.panelClass),this._lastPosition=F,this._positionChanges.observers.length){const re=this._getScrollVisibility(),Oe=new $e(F,re);this._positionChanges.next(Oe)}this._isInitialRender=!1}_setTransformOrigin(F){if(!this._transformOriginSelector)return;const Y=this._boundingBox.querySelectorAll(this._transformOriginSelector);let re,Oe=F.overlayY;re="center"===F.overlayX?"center":this._isRtl()?"start"===F.overlayX?"right":"left":"start"===F.overlayX?"left":"right";for(let Ye=0;Ye<Y.length;Ye++)Y[Ye].style.transformOrigin=`${re} ${Oe}`}_calculateBoundingBoxRect(F,Y){const re=this._viewportRect,Oe=this._isRtl();let Ye,vt,Vt,gn,yn,An;if("top"===Y.overlayY)vt=F.y,Ye=re.height-vt+this._viewportMargin;else if("bottom"===Y.overlayY)Vt=re.height-F.y+2*this._viewportMargin,Ye=re.height-Vt+this._viewportMargin;else{const Nn=Math.min(re.bottom-F.y+re.top,F.y),In=this._lastBoundingBoxSize.height;Ye=2*Nn,vt=F.y-Nn,Ye>In&&!this._isInitialRender&&!this._growAfterOpen&&(vt=F.y-In/2)}if("end"===Y.overlayX&&!Oe||"start"===Y.overlayX&&Oe)An=re.width-F.x+this._viewportMargin,gn=F.x-this._viewportMargin;else if("start"===Y.overlayX&&!Oe||"end"===Y.overlayX&&Oe)yn=F.x,gn=re.right-F.x;else{const Nn=Math.min(re.right-F.x+re.left,F.x),In=this._lastBoundingBoxSize.width;gn=2*Nn,yn=F.x-Nn,gn>In&&!this._isInitialRender&&!this._growAfterOpen&&(yn=F.x-In/2)}return{top:vt,left:yn,bottom:Vt,right:An,width:gn,height:Ye}}_setBoundingBoxStyles(F,Y){const re=this._calculateBoundingBoxRect(F,Y);!this._isInitialRender&&!this._growAfterOpen&&(re.height=Math.min(re.height,this._lastBoundingBoxSize.height),re.width=Math.min(re.width,this._lastBoundingBoxSize.width));const Oe={};if(this._hasExactPosition())Oe.top=Oe.left="0",Oe.bottom=Oe.right=Oe.maxHeight=Oe.maxWidth="",Oe.width=Oe.height="100%";else{const Ye=this._overlayRef.getConfig().maxHeight,vt=this._overlayRef.getConfig().maxWidth;Oe.height=(0,p.HM)(re.height),Oe.top=(0,p.HM)(re.top),Oe.bottom=(0,p.HM)(re.bottom),Oe.width=(0,p.HM)(re.width),Oe.left=(0,p.HM)(re.left),Oe.right=(0,p.HM)(re.right),Oe.alignItems="center"===Y.overlayX?"center":"end"===Y.overlayX?"flex-end":"flex-start",Oe.justifyContent="center"===Y.overlayY?"center":"bottom"===Y.overlayY?"flex-end":"flex-start",Ye&&(Oe.maxHeight=(0,p.HM)(Ye)),vt&&(Oe.maxWidth=(0,p.HM)(vt))}this._lastBoundingBoxSize=re,Z(this._boundingBox.style,Oe)}_resetBoundingBoxStyles(){Z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(F,Y){const re={},Oe=this._hasExactPosition(),Ye=this._hasFlexibleDimensions,vt=this._overlayRef.getConfig();if(Oe){const gn=this._viewportRuler.getViewportScrollPosition();Z(re,this._getExactOverlayY(Y,F,gn)),Z(re,this._getExactOverlayX(Y,F,gn))}else re.position="static";let Vt="",Jt=this._getOffset(Y,"x"),hn=this._getOffset(Y,"y");Jt&&(Vt+=`translateX(${Jt}px) `),hn&&(Vt+=`translateY(${hn}px)`),re.transform=Vt.trim(),vt.maxHeight&&(Oe?re.maxHeight=(0,p.HM)(vt.maxHeight):Ye&&(re.maxHeight="")),vt.maxWidth&&(Oe?re.maxWidth=(0,p.HM)(vt.maxWidth):Ye&&(re.maxWidth="")),Z(this._pane.style,re)}_getExactOverlayY(F,Y,re){let Oe={top:"",bottom:""},Ye=this._getOverlayPoint(Y,this._overlayRect,F);return this._isPushed&&(Ye=this._pushOverlayOnScreen(Ye,this._overlayRect,re)),"bottom"===F.overlayY?Oe.bottom=this._document.documentElement.clientHeight-(Ye.y+this._overlayRect.height)+"px":Oe.top=(0,p.HM)(Ye.y),Oe}_getExactOverlayX(F,Y,re){let vt,Oe={left:"",right:""},Ye=this._getOverlayPoint(Y,this._overlayRect,F);return this._isPushed&&(Ye=this._pushOverlayOnScreen(Ye,this._overlayRect,re)),vt=this._isRtl()?"end"===F.overlayX?"left":"right":"end"===F.overlayX?"right":"left","right"===vt?Oe.right=this._document.documentElement.clientWidth-(Ye.x+this._overlayRect.width)+"px":Oe.left=(0,p.HM)(Ye.x),Oe}_getScrollVisibility(){const F=this._getOriginRect(),Y=this._pane.getBoundingClientRect(),re=this._scrollables.map(Oe=>Oe.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:oe(F,re),isOriginOutsideView:le(F,re),isOverlayClipped:oe(Y,re),isOverlayOutsideView:le(Y,re)}}_subtractOverflows(F,...Y){return Y.reduce((re,Oe)=>re-Math.max(Oe,0),F)}_getNarrowedViewportRect(){const F=this._document.documentElement.clientWidth,Y=this._document.documentElement.clientHeight,re=this._viewportRuler.getViewportScrollPosition();return{top:re.top+this._viewportMargin,left:re.left+this._viewportMargin,right:re.left+F-this._viewportMargin,bottom:re.top+Y-this._viewportMargin,width:F-2*this._viewportMargin,height:Y-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(F,Y){return"x"===Y?null==F.offsetX?this._offsetX:F.offsetX:null==F.offsetY?this._offsetY:F.offsetY}_validatePositions(){}_addPanelClasses(F){this._pane&&(0,p.Eq)(F).forEach(Y=>{""!==Y&&-1===this._appliedPanelClasses.indexOf(Y)&&(this._appliedPanelClasses.push(Y),this._pane.classList.add(Y))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(F=>{this._pane.classList.remove(F)}),this._appliedPanelClasses=[])}_getOriginRect(){const F=this._origin;if(F instanceof d.SBq)return F.nativeElement.getBoundingClientRect();if(F instanceof Element)return F.getBoundingClientRect();const Y=F.width||0,re=F.height||0;return{top:F.y,bottom:F.y+re,left:F.x,right:F.x+Y,height:re,width:Y}}}function Z(N,F){for(let Y in F)F.hasOwnProperty(Y)&&(N[Y]=F[Y]);return N}function V(N){if("number"!=typeof N&&null!=N){const[F,Y]=N.split(it);return Y&&"px"!==Y?null:parseFloat(F)}return N||null}function U(N){return{top:Math.floor(N.top),right:Math.floor(N.right),bottom:Math.floor(N.bottom),left:Math.floor(N.left),width:Math.floor(N.width),height:Math.floor(N.height)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const fe="cdk-global-overlay-wrapper";class pe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(F){const Y=F.getConfig();this._overlayRef=F,this._width&&!Y.width&&F.updateSize({width:this._width}),this._height&&!Y.height&&F.updateSize({height:this._height}),F.hostElement.classList.add(fe),this._isDisposed=!1}top(F=""){return this._bottomOffset="",this._topOffset=F,this._alignItems="flex-start",this}left(F=""){return this._rightOffset="",this._leftOffset=F,this._justifyContent="flex-start",this}bottom(F=""){return this._topOffset="",this._bottomOffset=F,this._alignItems="flex-end",this}right(F=""){return this._leftOffset="",this._rightOffset=F,this._justifyContent="flex-end",this}width(F=""){return this._overlayRef?this._overlayRef.updateSize({width:F}):this._width=F,this}height(F=""){return this._overlayRef?this._overlayRef.updateSize({height:F}):this._height=F,this}centerHorizontally(F=""){return this.left(F),this._justifyContent="center",this}centerVertically(F=""){return this.top(F),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const F=this._overlayRef.overlayElement.style,Y=this._overlayRef.hostElement.style,re=this._overlayRef.getConfig(),{width:Oe,height:Ye,maxWidth:vt,maxHeight:Vt}=re,Jt=!("100%"!==Oe&&"100vw"!==Oe||vt&&"100%"!==vt&&"100vw"!==vt),hn=!("100%"!==Ye&&"100vh"!==Ye||Vt&&"100%"!==Vt&&"100vh"!==Vt);F.position=this._cssPosition,F.marginLeft=Jt?"0":this._leftOffset,F.marginTop=hn?"0":this._topOffset,F.marginBottom=this._bottomOffset,F.marginRight=this._rightOffset,Jt?Y.justifyContent="flex-start":"center"===this._justifyContent?Y.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?Y.justifyContent="flex-end":"flex-end"===this._justifyContent&&(Y.justifyContent="flex-start"):Y.justifyContent=this._justifyContent,Y.alignItems=hn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const F=this._overlayRef.overlayElement.style,Y=this._overlayRef.hostElement,re=Y.style;Y.classList.remove(fe),re.justifyContent=re.alignItems=F.marginTop=F.marginBottom=F.marginLeft=F.marginRight=F.position="",this._overlayRef=null,this._isDisposed=!0}}let He=(()=>{class N{constructor(Y,re,Oe,Ye){this._viewportRuler=Y,this._document=re,this._platform=Oe,this._overlayContainer=Ye}global(){return new pe}flexibleConnectedTo(Y){return new Se(Y,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(a.rL),d.LFG(i.K0),d.LFG(C.t4),d.LFG(Re))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),et=(()=>{class N{constructor(Y){this._attachedOverlays=[],this._document=Y}ngOnDestroy(){this.detach()}add(Y){this.remove(Y),this._attachedOverlays.push(Y)}remove(Y){const re=this._attachedOverlays.indexOf(Y);re>-1&&this._attachedOverlays.splice(re,1),0===this._attachedOverlays.length&&this.detach()}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(i.K0))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),de=(()=>{class N extends et{constructor(Y,re){super(Y),this._ngZone=re,this._keydownListener=Oe=>{const Ye=this._attachedOverlays;for(let vt=Ye.length-1;vt>-1;vt--)if(Ye[vt]._keydownEvents.observers.length>0){const Vt=Ye[vt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Vt.next(Oe)):Vt.next(Oe);break}}}add(Y){super.add(Y),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(i.K0),d.LFG(d.R0b,8))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),lt=(()=>{class N extends et{constructor(Y,re,Oe){super(Y),this._platform=re,this._ngZone=Oe,this._cursorStyleIsSet=!1,this._pointerDownListener=Ye=>{this._pointerDownEventTarget=(0,C.sA)(Ye)},this._clickListener=Ye=>{const vt=(0,C.sA)(Ye),Vt="click"===Ye.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:vt;this._pointerDownEventTarget=null;const Jt=this._attachedOverlays.slice();for(let hn=Jt.length-1;hn>-1;hn--){const gn=Jt[hn];if(gn._outsidePointerEvents.observers.length<1||!gn.hasAttached())continue;if(gn.overlayElement.contains(vt)||gn.overlayElement.contains(Vt))break;const yn=gn._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>yn.next(Ye)):yn.next(Ye)}}}add(Y){if(super.add(Y),!this._isAttached){const re=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(re)):this._addEventListeners(re),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=re.style.cursor,re.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Y=this._document.body;Y.removeEventListener("pointerdown",this._pointerDownListener,!0),Y.removeEventListener("click",this._clickListener,!0),Y.removeEventListener("auxclick",this._clickListener,!0),Y.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Y.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Y){Y.addEventListener("pointerdown",this._pointerDownListener,!0),Y.addEventListener("click",this._clickListener,!0),Y.addEventListener("auxclick",this._clickListener,!0),Y.addEventListener("contextmenu",this._clickListener,!0)}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(i.K0),d.LFG(C.t4),d.LFG(d.R0b,8))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),St=0,Qt=(()=>{class N{constructor(Y,re,Oe,Ye,vt,Vt,Jt,hn,gn,yn,An){this.scrollStrategies=Y,this._overlayContainer=re,this._componentFactoryResolver=Oe,this._positionBuilder=Ye,this._keyboardDispatcher=vt,this._injector=Vt,this._ngZone=Jt,this._document=hn,this._directionality=gn,this._location=yn,this._outsideClickDispatcher=An}create(Y){const re=this._createHostElement(),Oe=this._createPaneElement(re),Ye=this._createPortalOutlet(Oe),vt=new ae(Y);return vt.direction=vt.direction||this._directionality.value,new Ie(Ye,re,Oe,vt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(Y){const re=this._document.createElement("div");return re.id="cdk-overlay-"+St++,re.classList.add("cdk-overlay-pane"),Y.appendChild(re),re}_createHostElement(){const Y=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Y),Y}_createPortalOutlet(Y){return this._appRef||(this._appRef=this._injector.get(d.z2F)),new v.u0(Y,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return N.\u0275fac=function(Y){return new(Y||N)(d.LFG(y),d.LFG(Re),d.LFG(d._Vd),d.LFG(He),d.LFG(de),d.LFG(d.zs3),d.LFG(d.R0b),d.LFG(i.K0),d.LFG(f.Is),d.LFG(i.Ye),d.LFG(lt))},N.\u0275prov=d.Yz7({token:N,factory:N.\u0275fac}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const gt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],yt=new d.OlP("cdk-connected-overlay-scroll-strategy");let Je=(()=>{class N{constructor(Y){this.elementRef=Y}}return N.\u0275fac=function(Y){return new(Y||N)(d.Y36(d.SBq))},N.\u0275dir=d.lG2({type:N,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),N})(),ct=(()=>{class N{constructor(Y,re,Oe,Ye,vt){this._overlay=Y,this._dir=vt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=m.w.EMPTY,this._attachSubscription=m.w.EMPTY,this._detachSubscription=m.w.EMPTY,this._positionSubscription=m.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new d.vpe,this.positionChange=new d.vpe,this.attach=new d.vpe,this.detach=new d.vpe,this.overlayKeydown=new d.vpe,this.overlayOutsideClick=new d.vpe,this._templatePortal=new v.UE(re,Oe),this._scrollStrategyFactory=Ye,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(Y){this._offsetX=Y,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Y){this._offsetY=Y,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Y){this._hasBackdrop=(0,p.Ig)(Y)}get lockPosition(){return this._lockPosition}set lockPosition(Y){this._lockPosition=(0,p.Ig)(Y)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Y){this._flexibleDimensions=(0,p.Ig)(Y)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Y){this._growAfterOpen=(0,p.Ig)(Y)}get push(){return this._push}set push(Y){this._push=(0,p.Ig)(Y)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Y){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Y.origin&&this.open&&this._position.apply()),Y.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=gt);const Y=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Y.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Y.detachments().subscribe(()=>this.detach.emit()),Y.keydownEvents().subscribe(re=>{this.overlayKeydown.next(re),re.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(re)&&(re.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(re=>{this.overlayOutsideClick.next(re)})}_buildConfig(){const Y=this._position=this.positionStrategy||this._createPositionStrategy(),re=new ae({direction:this._dir,positionStrategy:Y,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(re.width=this.width),(this.height||0===this.height)&&(re.height=this.height),(this.minWidth||0===this.minWidth)&&(re.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(re.minHeight=this.minHeight),this.backdropClass&&(re.backdropClass=this.backdropClass),this.panelClass&&(re.panelClass=this.panelClass),re}_updatePositionStrategy(Y){const re=this.positions.map(Oe=>({originX:Oe.originX,originY:Oe.originY,overlayX:Oe.overlayX,overlayY:Oe.overlayY,offsetX:Oe.offsetX||this.offsetX,offsetY:Oe.offsetY||this.offsetY,panelClass:Oe.panelClass||void 0}));return Y.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(re).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Y=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Y),Y}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Je?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Y=>{this.backdropClick.emit(Y)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function A(N,F=!1){return Y=>Y.lift(new B(N,F))}(()=>this.positionChange.observers.length>0)).subscribe(Y=>{this.positionChange.emit(Y),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return N.\u0275fac=function(Y){return new(Y||N)(d.Y36(Qt),d.Y36(d.Rgc),d.Y36(d.s_b),d.Y36(yt),d.Y36(f.Is,8))},N.\u0275dir=d.lG2({type:N,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[d.TTD]}),N})();const X={provide:yt,deps:[Qt],useFactory:function Xe(N){return()=>N.scrollStrategies.reposition()}};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let xe=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275mod=d.oAB({type:N}),N.\u0275inj=d.cJS({providers:[Qt,X],imports:[[f.vT,v.eL,a.Cl],a.Cl]}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,70925:(ze,G,l)=>{"use strict";l.d(G,{Mq:()=>A,Oy:()=>j,_i:()=>B,ht:()=>k,i$:()=>L,kV:()=>w,qK:()=>b,sA:()=>H,t4:()=>p,ud:()=>C});var a=l(5e3),i=l(69808);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let d;try{d="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(z){d=!1}let f,p=(()=>{class z{constructor(oe){this._platformId=oe,this.isBrowser=this._platformId?(0,i.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!d)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return z.\u0275fac=function(oe){return new(oe||z)(a.LFG(a.Lbi))},z.\u0275prov=a.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),C=(()=>{class z{}return z.\u0275fac=function(oe){return new(oe||z)},z.\u0275mod=a.oAB({type:z}),z.\u0275inj=a.cJS({}),z})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const v=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b(){if(f)return f;if("object"!=typeof document||!document)return f=new Set(v),f;let z=document.createElement("input");return f=new Set(v.filter(le=>(z.setAttribute("type",le),z.type===le))),f
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}let m,M,D,R;function L(z){return function I(){if(null==m&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>m=!0}))}finally{m=m||!1}return m}()?z:!!z.capture}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function A(){if(null==D){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return D=!1,D;if("scrollBehavior"in document.documentElement.style)D=!0;else{const z=Element.prototype.scrollTo;D=!!z&&!/\{\s*\[native code\]\s*\}/.test(z.toString())}}return D}function B(){if("object"!=typeof document||!document)return 0;if(null==M){const z=document.createElement("div"),le=z.style;z.dir="rtl",le.width="1px",le.overflow="auto",le.visibility="hidden",le.pointerEvents="none",le.position="absolute";const oe=document.createElement("div"),$=oe.style;$.width="2px",$.height="1px",z.appendChild(oe),document.body.appendChild(z),M=0,0===z.scrollLeft&&(z.scrollLeft=1,M=0===z.scrollLeft?1:2),z.remove()}return M}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function w(z){if(function x(){if(null==R){const z="undefined"!=typeof document?document.head:null;R=!(!z||!z.createShadowRoot&&!z.attachShadow)}return R}()){const le=z.getRootNode?z.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&le instanceof ShadowRoot)return le}return null}function k(){let z="undefined"!=typeof document&&document?document.activeElement:null;for(;z&&z.shadowRoot;){const le=z.shadowRoot.activeElement;if(le===z)break;z=le}return z}function H(z){return z.composedPath?z.composedPath()[0]:z.target}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function j(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},47429:(ze,G,l)=>{"use strict";l.d(G,{C5:()=>I,Pl:()=>k,UE:()=>L,eL:()=>j,en:()=>D,ig:()=>x,nK:()=>z,u0:()=>B});var a=l(5e3),i=l(69808);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class m{attach(oe){return this._attachedHost=oe,oe.attach(this)}detach(){let oe=this._attachedHost;null!=oe&&(this._attachedHost=null,oe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(oe){this._attachedHost=oe}}class I extends m{constructor(oe,$,y,ae){super(),this.component=oe,this.viewContainerRef=$,this.injector=y,this.componentFactoryResolver=ae}}class L extends m{constructor(oe,$,y){super(),this.templateRef=oe,this.viewContainerRef=$,this.context=y}get origin(){return this.templateRef.elementRef}attach(oe,$=this.context){return this.context=$,super.attach(oe)}detach(){return this.context=void 0,super.detach()}}class M extends m{constructor(oe){super(),this.element=oe instanceof a.SBq?oe.nativeElement:oe}}class D{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(oe){return oe instanceof I?(this._attachedPortal=oe,this.attachComponentPortal(oe)):oe instanceof L?(this._attachedPortal=oe,this.attachTemplatePortal(oe)):this.attachDomPortal&&oe instanceof M?(this._attachedPortal=oe,this.attachDomPortal(oe)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(oe){this._disposeFn=oe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class B extends D{constructor(oe,$,y,ae,ge){super(),this.outletElement=oe,this._componentFactoryResolver=$,this._appRef=y,this._defaultInjector=ae,this.attachDomPortal=Ve=>{const $e=Ve.element,Be=this._document.createComment("dom-portal");$e.parentNode.insertBefore(Be,$e),this.outletElement.appendChild($e),this._attachedPortal=Ve,super.setDisposeFn(()=>{Be.parentNode&&Be.parentNode.replaceChild($e,Be)})},this._document=ge}attachComponentPortal(oe){const y=(oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(oe.component);let ae;return oe.viewContainerRef?(ae=oe.viewContainerRef.createComponent(y,oe.viewContainerRef.length,oe.injector||oe.viewContainerRef.injector),this.setDisposeFn(()=>ae.destroy())):(ae=y.create(oe.injector||this._defaultInjector||a.zs3.NULL),this._appRef.attachView(ae.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ae.hostView),ae.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ae)),this._attachedPortal=oe,ae}attachTemplatePortal(oe){let $=oe.viewContainerRef,y=$.createEmbeddedView(oe.templateRef,oe.context);return y.rootNodes.forEach(ae=>this.outletElement.appendChild(ae)),y.detectChanges(),this.setDisposeFn(()=>{let ae=$.indexOf(y);-1!==ae&&$.remove(ae)}),this._attachedPortal=oe,y}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(oe){return oe.hostView.rootNodes[0]}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let x=(()=>{class le extends L{constructor($,y){super($,y)}}return le.\u0275fac=function($){return new($||le)(a.Y36(a.Rgc),a.Y36(a.s_b))},le.\u0275dir=a.lG2({type:le,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[a.qOj]}),le})(),k=(()=>{class le extends D{constructor($,y,ae){super(),this._componentFactoryResolver=$,this._viewContainerRef=y,this._isInitialized=!1,this.attached=new a.vpe,this.attachDomPortal=ge=>{const Ve=ge.element,$e=this._document.createComment("dom-portal");ge.setAttachedHost(this),Ve.parentNode.insertBefore($e,Ve),this._getRootNode().appendChild(Ve),this._attachedPortal=ge,super.setDisposeFn(()=>{$e.parentNode&&$e.parentNode.replaceChild(Ve,$e)})},this._document=ae}get portal(){return this._attachedPortal}set portal($){this.hasAttached()&&!$&&!this._isInitialized||(this.hasAttached()&&super.detach(),$&&super.attach($),this._attachedPortal=$||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal($){$.setAttachedHost(this);const y=null!=$.viewContainerRef?$.viewContainerRef:this._viewContainerRef,ge=($.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory($.component),Ve=y.createComponent(ge,y.length,$.injector||y.injector);return y!==this._viewContainerRef&&this._getRootNode().appendChild(Ve.hostView.rootNodes[0]),super.setDisposeFn(()=>Ve.destroy()),this._attachedPortal=$,this._attachedRef=Ve,this.attached.emit(Ve),Ve}attachTemplatePortal($){$.setAttachedHost(this);const y=this._viewContainerRef.createEmbeddedView($.templateRef,$.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=$,this._attachedRef=y,this.attached.emit(y),y}_getRootNode(){const $=this._viewContainerRef.element.nativeElement;return $.nodeType===$.ELEMENT_NODE?$:$.parentNode}}return le.\u0275fac=function($){return new($||le)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36(i.K0))},le.\u0275dir=a.lG2({type:le,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.qOj]}),le})(),j=(()=>{class le{}return le.\u0275fac=function($){return new($||le)},le.\u0275mod=a.oAB({type:le}),le.\u0275inj=a.cJS({}),le})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class z{constructor(oe,$){this._parentInjector=oe,this._customTokens=$}get(oe,$){const y=this._customTokens.get(oe);return void 0!==y?y:this._parentInjector.get(oe,$)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},41713:(ze,G,l)=>{"use strict";l.d(G,{PQ:()=>ae,ZD:()=>Ge,mF:()=>y,Cl:()=>it,rL:()=>Ve});var a=l(63191),i=l(5e3),d=l(8929),p=l(21086),C=l(32916),f=l(23753),v=l(56686),m=l(32268);new class I extends m.v{flush(Z){this.active=!0,this.scheduled=void 0;const{actions:V}=this;let U,fe=-1,pe=V.length;Z=Z||V.shift();do{if(U=Z.execute(Z.state,Z.delay))break}while(++fe<pe&&(Z=V.shift()));if(this.active=!1,U){for(;++fe<pe&&(Z=V.shift());)Z.unsubscribe();throw U}}}(class b extends v.o{constructor(Z,V){super(Z,V),this.scheduler=Z,this.work=V}requestAsyncId(Z,V,U=0){return null!==U&&U>0?super.requestAsyncId(Z,V,U):(Z.actions.push(this),Z.scheduled||(Z.scheduled=requestAnimationFrame(()=>Z.flush(null))))}recycleAsyncId(Z,V,U=0){if(null!==U&&U>0||null===U&&this.delay>0)return super.recycleAsyncId(Z,V,U);0===Z.actions.length&&(cancelAnimationFrame(V),Z.scheduled=void 0)}});l(8139);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var D=l(86926),A=l(92198),B=l(7625),R=l(69808),x=l(70925),w=l(50226);let y=(()=>{class Se{constructor(V,U,fe){this._ngZone=V,this._platform=U,this._scrolled=new d.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=fe}register(V){this.scrollContainers.has(V)||this.scrollContainers.set(V,V.elementScrolled().subscribe(()=>this._scrolled.next(V)))}deregister(V){const U=this.scrollContainers.get(V);U&&(U.unsubscribe(),this.scrollContainers.delete(V))}scrolled(V=20){return this._platform.isBrowser?new C.y(U=>{this._globalSubscription||this._addGlobalListener();const fe=V>0?this._scrolled.pipe((0,D.e)(V)).subscribe(U):this._scrolled.subscribe(U);return this._scrolledCount++,()=>{fe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,p.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((V,U)=>this.deregister(U)),this._scrolled.complete()}ancestorScrolled(V,U){const fe=this.getAncestorScrollContainers(V);return this.scrolled(U).pipe((0,A.h)(pe=>!pe||fe.indexOf(pe)>-1))}getAncestorScrollContainers(V){const U=[];return this.scrollContainers.forEach((fe,pe)=>{this._scrollableContainsElement(pe,V)&&U.push(pe)}),U}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(V,U){let fe=(0,a.fI)(U),pe=V.getElementRef().nativeElement;do{if(fe==pe)return!0}while(fe=fe.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const V=this._getWindow();return(0,f.R)(V.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Se.\u0275fac=function(V){return new(V||Se)(i.LFG(i.R0b),i.LFG(x.t4),i.LFG(R.K0,8))},Se.\u0275prov=i.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})(),ae=(()=>{class Se{constructor(V,U,fe,pe){this.elementRef=V,this.scrollDispatcher=U,this.ngZone=fe,this.dir=pe,this._destroyed=new d.xQ,this._elementScrolled=new C.y(He=>this.ngZone.runOutsideAngular(()=>(0,f.R)(this.elementRef.nativeElement,"scroll").pipe((0,B.R)(this._destroyed)).subscribe(He)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(V){const U=this.elementRef.nativeElement,fe=this.dir&&"rtl"==this.dir.value;null==V.left&&(V.left=fe?V.end:V.start),null==V.right&&(V.right=fe?V.start:V.end),null!=V.bottom&&(V.top=U.scrollHeight-U.clientHeight-V.bottom),fe&&0!=(0,x._i)()?(null!=V.left&&(V.right=U.scrollWidth-U.clientWidth-V.left),2==(0,x._i)()?V.left=V.right:1==(0,x._i)()&&(V.left=V.right?-V.right:V.right)):null!=V.right&&(V.left=U.scrollWidth-U.clientWidth-V.right),this._applyScrollToOptions(V)}_applyScrollToOptions(V){const U=this.elementRef.nativeElement;(0,x.Mq)()?U.scrollTo(V):(null!=V.top&&(U.scrollTop=V.top),null!=V.left&&(U.scrollLeft=V.left))}measureScrollOffset(V){const U="left",pe=this.elementRef.nativeElement;if("top"==V)return pe.scrollTop;if("bottom"==V)return pe.scrollHeight-pe.clientHeight-pe.scrollTop;const He=this.dir&&"rtl"==this.dir.value;return"start"==V?V=He?"right":U:"end"==V&&(V=He?U:"right"),He&&2==(0,x._i)()?V==U?pe.scrollWidth-pe.clientWidth-pe.scrollLeft:pe.scrollLeft:He&&1==(0,x._i)()?V==U?pe.scrollLeft+pe.scrollWidth-pe.clientWidth:-pe.scrollLeft:V==U?pe.scrollLeft:pe.scrollWidth-pe.clientWidth-pe.scrollLeft}}return Se.\u0275fac=function(V){return new(V||Se)(i.Y36(i.SBq),i.Y36(y),i.Y36(i.R0b),i.Y36(w.Is,8))},Se.\u0275dir=i.lG2({type:Se,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Se})(),Ve=(()=>{class Se{constructor(V,U,fe){this._platform=V,this._change=new d.xQ,this._changeListener=pe=>{this._change.next(pe)},this._document=fe,U.runOutsideAngular(()=>{if(V.isBrowser){const pe=this._getWindow();pe.addEventListener("resize",this._changeListener),pe.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const V=this._getWindow();V.removeEventListener("resize",this._changeListener),V.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const V={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),V}getViewportRect(){const V=this.getViewportScrollPosition(),{width:U,height:fe}=this.getViewportSize();return{top:V.top,left:V.left,bottom:V.top+fe,right:V.left+U,height:fe,width:U}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const V=this._document,U=this._getWindow(),fe=V.documentElement,pe=fe.getBoundingClientRect();return{top:-pe.top||V.body.scrollTop||U.scrollY||fe.scrollTop||0,left:-pe.left||V.body.scrollLeft||U.scrollX||fe.scrollLeft||0}}change(V=20){return V>0?this._change.pipe((0,D.e)(V)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const V=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:V.innerWidth,height:V.innerHeight}:{width:0,height:0}}}return Se.\u0275fac=function(V){return new(V||Se)(i.LFG(x.t4),i.LFG(i.R0b),i.LFG(R.K0,8))},Se.\u0275prov=i.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})(),Ge=(()=>{class Se{}return Se.\u0275fac=function(V){return new(V||Se)},Se.\u0275mod=i.oAB({type:Se}),Se.\u0275inj=i.cJS({}),Se})(),it=(()=>{class Se{}return Se.\u0275fac=function(V){return new(V||Se)},Se.\u0275mod=i.oAB({type:Se}),Se.\u0275inj=i.cJS({imports:[[w.vT,Ge],w.vT,Ge]}),Se})()}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,74533:(ze,G,l)=>{"use strict";l.d(G,{IC:()=>D,Ky:()=>A,Lq:()=>L});var a=l(70925),i=l(5e3),d=l(63191),p=l(68896),C=l(8929),f=l(23753),v=l(86926),b=l(7625),m=l(69808);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const I=(0,a.i$)({passive:!0});let L=(()=>{class B{constructor(x,w){this._platform=x,this._ngZone=w,this._monitoredElements=new Map}monitor(x){if(!this._platform.isBrowser)return p.E;const w=(0,d.fI)(x),k=this._monitoredElements.get(w);if(k)return k.subject;const H=new C.xQ,j="cdk-text-field-autofilled",z=le=>{"cdk-text-field-autofill-start"!==le.animationName||w.classList.contains(j)?"cdk-text-field-autofill-end"===le.animationName&&w.classList.contains(j)&&(w.classList.remove(j),this._ngZone.run(()=>H.next({target:le.target,isAutofilled:!1}))):(w.classList.add(j),this._ngZone.run(()=>H.next({target:le.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{w.addEventListener("animationstart",z,I),w.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(w,{subject:H,unlisten:()=>{w.removeEventListener("animationstart",z,I)}}),H}stopMonitoring(x){const w=(0,d.fI)(x),k=this._monitoredElements.get(w);k&&(k.unlisten(),k.subject.complete(),w.classList.remove("cdk-text-field-autofill-monitored"),w.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(w))}ngOnDestroy(){this._monitoredElements.forEach((x,w)=>this.stopMonitoring(w))}}return B.\u0275fac=function(x){return new(x||B)(i.LFG(a.t4),i.LFG(i.R0b))},B.\u0275prov=i.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),D=(()=>{class B{constructor(x,w,k,H){this._elementRef=x,this._platform=w,this._ngZone=k,this._destroyed=new C.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=j=>{this._hasFocus="focus"===j.type},this._document=H,this._textareaElement=this._elementRef.nativeElement}get minRows(){return this._minRows}set minRows(x){this._minRows=(0,d.su)(x),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(x){this._maxRows=(0,d.su)(x),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(x){x=(0,d.Ig)(x),this._enabled!==x&&((this._enabled=x)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(x){this._cachedPlaceholderHeight=void 0,x?this._textareaElement.setAttribute("placeholder",x):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_setMinHeight(){const x=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;x&&(this._textareaElement.style.minHeight=x)}_setMaxHeight(){const x=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;x&&(this._textareaElement.style.maxHeight=x)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const x=this._getWindow();(0,f.R)(x,"resize").pipe((0,v.e)(16),(0,b.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let x=this._textareaElement.cloneNode(!1);x.rows=1,x.style.position="absolute",x.style.visibility="hidden",x.style.border="none",x.style.padding="0",x.style.height="",x.style.minHeight="",x.style.maxHeight="",x.style.overflow="hidden",this._textareaElement.parentNode.appendChild(x),this._cachedLineHeight=x.clientHeight,x.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const x=this._textareaElement,w=x.style.marginBottom||"",k=this._platform.FIREFOX,H=k&&this._hasFocus,j=k?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";H&&(x.style.marginBottom=`${x.clientHeight}px`),x.classList.add(j);const z=x.scrollHeight-4;return x.classList.remove(j),H&&(x.style.marginBottom=w),z}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const x=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=x}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(x=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const w=this._elementRef.nativeElement,k=w.value;if(!x&&this._minRows===this._previousMinRows&&k===this._previousValue)return;const H=this._measureScrollHeight(),j=Math.max(H,this._cachedPlaceholderHeight||0);w.style.height=`${j}px`,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(w)):setTimeout(()=>this._scrollToCaretPosition(w))}),this._previousValue=k,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(x){const{selectionStart:w,selectionEnd:k}=x;!this._destroyed.isStopped&&this._hasFocus&&x.setSelectionRange(w,k)}}return B.\u0275fac=function(x){return new(x||B)(i.Y36(i.SBq),i.Y36(a.t4),i.Y36(i.R0b),i.Y36(m.K0,8))},B.\u0275dir=i.lG2({type:B,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(x,w){1&x&&i.NdJ("input",function(){return w._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),B})(),A=(()=>{class B{}return B.\u0275fac=function(x){return new(x||B)},B.\u0275mod=i.oAB({type:B}),B.\u0275inj=i.cJS({}),B})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,69808:(ze,G,l)=>{"use strict";l.d(G,{Do:()=>j,ED:()=>va,EM:()=>so,HT:()=>C,JF:()=>Mi,K0:()=>v,Mx:()=>Xn,NF:()=>En,Nd:()=>Br,O5:()=>Ct,Ov:()=>zt,PC:()=>Fo,PM:()=>ye,RF:()=>fs,S$:()=>x,Ts:()=>zi,V_:()=>I,Ye:()=>z,b0:()=>H,bD:()=>Lt,dv:()=>et,ez:()=>Gs,lw:()=>b,mk:()=>Bi,mr:()=>k,n9:()=>_a,q:()=>d,sg:()=>Ti,tP:()=>es,wE:()=>Ee,w_:()=>f});var a=l(5e3);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let i=null;function d(){return i}function C(ue){i||(i=ue)}class f{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const v=new a.OlP("DocumentToken");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let b=(()=>{class ue{historyGo(Pe){throw new Error("Not implemented")}}return ue.\u0275fac=function(Pe){return new(Pe||ue)},ue.\u0275prov=a.Yz7({token:ue,factory:function(){return function m(){return(0,a.LFG)(L)}()},providedIn:"platform"}),ue})();const I=new a.OlP("Location Initialized");let L=(()=>{class ue extends b{constructor(Pe){super(),this._doc=Pe,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Pe){const xt=d().getGlobalEventTarget(this._doc,"window");return xt.addEventListener("popstate",Pe,!1),()=>xt.removeEventListener("popstate",Pe)}onHashChange(Pe){const xt=d().getGlobalEventTarget(this._doc,"window");return xt.addEventListener("hashchange",Pe,!1),()=>xt.removeEventListener("hashchange",Pe)}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(Pe){this.location.pathname=Pe}pushState(Pe,xt,Kt){M()?this._history.pushState(Pe,xt,Kt):this.location.hash=Kt}replaceState(Pe,xt,Kt){M()?this._history.replaceState(Pe,xt,Kt):this.location.hash=Kt}forward(){this._history.forward()}back(){this._history.back()}historyGo(Pe=0){this._history.go(Pe)}getState(){return this._history.state}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.LFG(v))},ue.\u0275prov=a.Yz7({token:ue,factory:function(){return function D(){return new L((0,a.LFG)(v))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */()},providedIn:"platform"}),ue})();function M(){return!!window.history.pushState}function A(ue,nt){if(0==ue.length)return nt;if(0==nt.length)return ue;let Pe=0;return ue.endsWith("/")&&Pe++,nt.startsWith("/")&&Pe++,2==Pe?ue+nt.substring(1):1==Pe?ue+nt:ue+"/"+nt}function B(ue){const nt=ue.match(/#|\?|$/),Pe=nt&&nt.index||ue.length;return ue.slice(0,Pe-("/"===ue[Pe-1]?1:0))+ue.slice(Pe)}function R(ue){return ue&&"?"!==ue[0]?"?"+ue:ue}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let x=(()=>{class ue{historyGo(Pe){throw new Error("Not implemented")}}return ue.\u0275fac=function(Pe){return new(Pe||ue)},ue.\u0275prov=a.Yz7({token:ue,factory:function(){return function w(ue){const nt=(0,a.LFG)(v).location;return new H((0,a.LFG)(b),nt&&nt.origin||"")}()},providedIn:"root"}),ue})();const k=new a.OlP("appBaseHref");let H=(()=>{class ue extends x{constructor(Pe,xt){if(super(),this._platformLocation=Pe,this._removeListenerFns=[],null==xt&&(xt=this._platformLocation.getBaseHrefFromDOM()),null==xt)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=xt}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Pe){this._removeListenerFns.push(this._platformLocation.onPopState(Pe),this._platformLocation.onHashChange(Pe))}getBaseHref(){return this._baseHref}prepareExternalUrl(Pe){return A(this._baseHref,Pe)}path(Pe=!1){const xt=this._platformLocation.pathname+R(this._platformLocation.search),Kt=this._platformLocation.hash;return Kt&&Pe?`${xt}${Kt}`:xt}pushState(Pe,xt,Kt,Mn){const Gn=this.prepareExternalUrl(Kt+R(Mn));this._platformLocation.pushState(Pe,xt,Gn)}replaceState(Pe,xt,Kt,Mn){const Gn=this.prepareExternalUrl(Kt+R(Mn));this._platformLocation.replaceState(Pe,xt,Gn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Pe=0){var xt,Kt;null===(Kt=(xt=this._platformLocation).historyGo)||void 0===Kt||Kt.call(xt,Pe)}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.LFG(b),a.LFG(k,8))},ue.\u0275prov=a.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),j=(()=>{class ue extends x{constructor(Pe,xt){super(),this._platformLocation=Pe,this._baseHref="",this._removeListenerFns=[],null!=xt&&(this._baseHref=xt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Pe){this._removeListenerFns.push(this._platformLocation.onPopState(Pe),this._platformLocation.onHashChange(Pe))}getBaseHref(){return this._baseHref}path(Pe=!1){let xt=this._platformLocation.hash;return null==xt&&(xt="#"),xt.length>0?xt.substring(1):xt}prepareExternalUrl(Pe){const xt=A(this._baseHref,Pe);return xt.length>0?"#"+xt:xt}pushState(Pe,xt,Kt,Mn){let Gn=this.prepareExternalUrl(Kt+R(Mn));0==Gn.length&&(Gn=this._platformLocation.pathname),this._platformLocation.pushState(Pe,xt,Gn)}replaceState(Pe,xt,Kt,Mn){let Gn=this.prepareExternalUrl(Kt+R(Mn));0==Gn.length&&(Gn=this._platformLocation.pathname),this._platformLocation.replaceState(Pe,xt,Gn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Pe=0){var xt,Kt;null===(Kt=(xt=this._platformLocation).historyGo)||void 0===Kt||Kt.call(xt,Pe)}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.LFG(b),a.LFG(k,8))},ue.\u0275prov=a.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),z=(()=>{class ue{constructor(Pe,xt){this._subject=new a.vpe,this._urlChangeListeners=[],this._platformStrategy=Pe;const Kt=this._platformStrategy.getBaseHref();this._platformLocation=xt,this._baseHref=B($(Kt)),this._platformStrategy.onPopState(Mn=>{this._subject.emit({url:this.path(!0),pop:!0,state:Mn.state,type:Mn.type})})}path(Pe=!1){return this.normalize(this._platformStrategy.path(Pe))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(Pe,xt=""){return this.path()==this.normalize(Pe+R(xt))}normalize(Pe){return ue.stripTrailingSlash(function oe(ue,nt){return ue&&nt.startsWith(ue)?nt.substring(ue.length):nt}(this._baseHref,$(Pe)))}prepareExternalUrl(Pe){return Pe&&"/"!==Pe[0]&&(Pe="/"+Pe),this._platformStrategy.prepareExternalUrl(Pe)}go(Pe,xt="",Kt=null){this._platformStrategy.pushState(Kt,"",Pe,xt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Pe+R(xt)),Kt)}replaceState(Pe,xt="",Kt=null){this._platformStrategy.replaceState(Kt,"",Pe,xt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Pe+R(xt)),Kt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(Pe=0){var xt,Kt;null===(Kt=(xt=this._platformStrategy).historyGo)||void 0===Kt||Kt.call(xt,Pe)}onUrlChange(Pe){this._urlChangeListeners.push(Pe),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(xt=>{this._notifyUrlChangeListeners(xt.url,xt.state)}))}_notifyUrlChangeListeners(Pe="",xt){this._urlChangeListeners.forEach(Kt=>Kt(Pe,xt))}subscribe(Pe,xt,Kt){return this._subject.subscribe({next:Pe,error:xt,complete:Kt})}}return ue.normalizeQueryParams=R,ue.joinWithSlash=A,ue.stripTrailingSlash=B,ue.\u0275fac=function(Pe){return new(Pe||ue)(a.LFG(x),a.LFG(b))},ue.\u0275prov=a.Yz7({token:ue,factory:function(){return function le(){return new z((0,a.LFG)(x),(0,a.LFG)(b))}()},providedIn:"root"}),ue})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function $(ue){return ue.replace(/\/index.html$/,"")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var Ee=(()=>((Ee=Ee||{})[Ee.Decimal=0]="Decimal",Ee[Ee.Group=1]="Group",Ee[Ee.List=2]="List",Ee[Ee.PercentSign=3]="PercentSign",Ee[Ee.PlusSign=4]="PlusSign",Ee[Ee.MinusSign=5]="MinusSign",Ee[Ee.Exponential=6]="Exponential",Ee[Ee.SuperscriptingExponent=7]="SuperscriptingExponent",Ee[Ee.PerMille=8]="PerMille",Ee[Ee.Infinity=9]="Infinity",Ee[Ee.NaN=10]="NaN",Ee[Ee.TimeSeparator=11]="TimeSeparator",Ee[Ee.CurrencyDecimal=12]="CurrencyDecimal",Ee[Ee.CurrencyGroup=13]="CurrencyGroup",Ee))();function et(ue,nt){const Pe=(0,a.cg1)(ue),xt=Pe[a.wAp.NumberSymbols][nt];if(void 0===xt){if(nt===Ee.CurrencyDecimal)return Pe[a.wAp.NumberSymbols][Ee.Decimal];if(nt===Ee.CurrencyGroup)return Pe[a.wAp.NumberSymbols][Ee.Group]}return xt}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Xn(ue,nt){nt=encodeURIComponent(nt);for(const Pe of ue.split(";")){const xt=Pe.indexOf("="),[Kt,Mn]=-1==xt?[Pe,""]:[Pe.slice(0,xt),Pe.slice(xt+1)];if(Kt.trim()===nt)return decodeURIComponent(Mn)}return null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Bi=(()=>{class ue{constructor(Pe,xt,Kt,Mn){this._iterableDiffers=Pe,this._keyValueDiffers=xt,this._ngEl=Kt,this._renderer=Mn,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Pe){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Pe?Pe.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Pe){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Pe?Pe.split(/\s+/):Pe,this._rawClass&&((0,a.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Pe=this._iterableDiffer.diff(this._rawClass);Pe&&this._applyIterableChanges(Pe)}else if(this._keyValueDiffer){const Pe=this._keyValueDiffer.diff(this._rawClass);Pe&&this._applyKeyValueChanges(Pe)}}_applyKeyValueChanges(Pe){Pe.forEachAddedItem(xt=>this._toggleClass(xt.key,xt.currentValue)),Pe.forEachChangedItem(xt=>this._toggleClass(xt.key,xt.currentValue)),Pe.forEachRemovedItem(xt=>{xt.previousValue&&this._toggleClass(xt.key,!1)})}_applyIterableChanges(Pe){Pe.forEachAddedItem(xt=>{if("string"!=typeof xt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.AaK)(xt.item)}`);this._toggleClass(xt.item,!0)}),Pe.forEachRemovedItem(xt=>this._toggleClass(xt.item,!1))}_applyClasses(Pe){Pe&&(Array.isArray(Pe)||Pe instanceof Set?Pe.forEach(xt=>this._toggleClass(xt,!0)):Object.keys(Pe).forEach(xt=>this._toggleClass(xt,!!Pe[xt])))}_removeClasses(Pe){Pe&&(Array.isArray(Pe)||Pe instanceof Set?Pe.forEach(xt=>this._toggleClass(xt,!1)):Object.keys(Pe).forEach(xt=>this._toggleClass(xt,!1)))}_toggleClass(Pe,xt){(Pe=Pe.trim())&&Pe.split(/\s+/g).forEach(Kt=>{xt?this._renderer.addClass(this._ngEl.nativeElement,Kt):this._renderer.removeClass(this._ngEl.nativeElement,Kt)})}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),ue})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Yi{constructor(nt,Pe,xt,Kt){this.$implicit=nt,this.ngForOf=Pe,this.index=xt,this.count=Kt}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 Ti=(()=>{class ue{constructor(Pe,xt,Kt){this._viewContainer=Pe,this._template=xt,this._differs=Kt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Pe){this._ngForOf=Pe,this._ngForOfDirty=!0}set ngForTrackBy(Pe){this._trackByFn=Pe}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Pe){Pe&&(this._template=Pe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Pe=this._ngForOf;!this._differ&&Pe&&(this._differ=this._differs.find(Pe).create(this.ngForTrackBy))}if(this._differ){const Pe=this._differ.diff(this._ngForOf);Pe&&this._applyChanges(Pe)}}_applyChanges(Pe){const xt=this._viewContainer;Pe.forEachOperation((Kt,Mn,Gn)=>{if(null==Kt.previousIndex)xt.createEmbeddedView(this._template,new Yi(Kt.item,this._ngForOf,-1,-1),null===Gn?void 0:Gn);else if(null==Gn)xt.remove(null===Mn?void 0:Mn);else if(null!==Mn){const ai=xt.get(Mn);xt.move(ai,Gn),nn(ai,Kt)}});for(let Kt=0,Mn=xt.length;Kt<Mn;Kt++){const ai=xt.get(Kt).context;ai.index=Kt,ai.count=Mn,ai.ngForOf=this._ngForOf}Pe.forEachIdentityChange(Kt=>{nn(xt.get(Kt.currentIndex),Kt)})}static ngTemplateContextGuard(Pe,xt){return!0}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),ue})();function nn(ue,nt){ue.context.$implicit=nt.item}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Ct=(()=>{class ue{constructor(Pe,xt){this._viewContainer=Pe,this._context=new Et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=xt}set ngIf(Pe){this._context.$implicit=this._context.ngIf=Pe,this._updateView()}set ngIfThen(Pe){Ke("ngIfThen",Pe),this._thenTemplateRef=Pe,this._thenViewRef=null,this._updateView()}set ngIfElse(Pe){Ke("ngIfElse",Pe),this._elseTemplateRef=Pe,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(Pe,xt){return!0}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.s_b),a.Y36(a.Rgc))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),ue})();class Et{constructor(){this.$implicit=null,this.ngIf=null}}function Ke(ue,nt){if(nt&&!nt.createEmbeddedView)throw new Error(`${ue} must be a TemplateRef, but received '${(0,a.AaK)(nt)}'.`)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Lt="browser";function En(ue){return ue===Lt}function ye(ue){return"server"===ue}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class bo{constructor(nt,Pe){this._viewContainerRef=nt,this._templateRef=Pe,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(nt){nt&&!this._created?this.create():!nt&&this._created&&this.destroy()}}let fs=(()=>{class ue{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Pe){this._ngSwitch=Pe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Pe){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Pe)}_matchCase(Pe){const xt=Pe==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||xt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),xt}_updateDefaultCases(Pe){if(this._defaultViews&&Pe!==this._defaultUsed){this._defaultUsed=Pe;for(let xt=0;xt<this._defaultViews.length;xt++)this._defaultViews[xt].enforceState(Pe)}}}return ue.\u0275fac=function(Pe){return new(Pe||ue)},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),ue})(),_a=(()=>{class ue{constructor(Pe,xt,Kt){this.ngSwitch=Kt,Kt._addCase(),this._view=new bo(Pe,xt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(fs,9))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),ue})(),va=(()=>{class ue{constructor(Pe,xt,Kt){Kt._addDefault(new bo(Pe,xt))}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(fs,9))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngSwitchDefault",""]]}),ue})(),Fo=(()=>{class ue{constructor(Pe,xt,Kt){this._ngEl=Pe,this._differs=xt,this._renderer=Kt,this._ngStyle=null,this._differ=null}set ngStyle(Pe){this._ngStyle=Pe,!this._differ&&Pe&&(this._differ=this._differs.find(Pe).create())}ngDoCheck(){if(this._differ){const Pe=this._differ.diff(this._ngStyle);Pe&&this._applyChanges(Pe)}}_setStyle(Pe,xt){const[Kt,Mn]=Pe.split(".");null!=(xt=null!=xt&&Mn?`${xt}${Mn}`:xt)?this._renderer.setStyle(this._ngEl.nativeElement,Kt,xt):this._renderer.removeStyle(this._ngEl.nativeElement,Kt)}_applyChanges(Pe){Pe.forEachRemovedItem(xt=>this._setStyle(xt.key,null)),Pe.forEachAddedItem(xt=>this._setStyle(xt.key,xt.currentValue)),Pe.forEachChangedItem(xt=>this._setStyle(xt.key,xt.currentValue))}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),ue})(),es=(()=>{class ue{constructor(Pe){this._viewContainerRef=Pe,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(Pe){if(Pe.ngTemplateOutlet){const xt=this._viewContainerRef;this._viewRef&&xt.remove(xt.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?xt.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&Pe.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.s_b))},ue.\u0275dir=a.lG2({type:ue,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[a.TTD]}),ue})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Q{createSubscription(nt,Pe){return nt.subscribe({next:Pe,error:xt=>{throw xt}})}dispose(nt){nt.unsubscribe()}onDestroy(nt){nt.unsubscribe()}}class K{createSubscription(nt,Pe){return nt.then(Pe,xt=>{throw xt})}dispose(nt){}onDestroy(nt){}}const ke=new K,Dt=new Q;let zt=(()=>{class ue{constructor(Pe){this._ref=Pe,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(Pe){return this._obj?Pe!==this._obj?(this._dispose(),this.transform(Pe)):this._latestValue:(Pe&&this._subscribe(Pe),this._latestValue)}_subscribe(Pe){this._obj=Pe,this._strategy=this._selectStrategy(Pe),this._subscription=this._strategy.createSubscription(Pe,xt=>this._updateLatestValue(Pe,xt))}_selectStrategy(Pe){if((0,a.QGY)(Pe))return ke;if((0,a.F4k)(Pe))return Dt;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
throw function ft(ue,nt){return new a.vHH(2100,"")}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Pe,xt){Pe===this._obj&&(this._latestValue=xt,this._ref.markForCheck())}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.sBO,16))},ue.\u0275pipe=a.Yjl({name:"async",type:ue,pure:!1}),ue})(),zi=(()=>{class ue{transform(Pe){return JSON.stringify(Pe,null,2)}}return ue.\u0275fac=function(Pe){return new(Pe||ue)},ue.\u0275pipe=a.Yjl({name:"json",type:ue,pure:!1}),ue})(),Br=(()=>{class ue{constructor(Pe){this.differs=Pe,this.keyValues=[],this.compareFn=Or}transform(Pe,xt=Or){if(!Pe||!(Pe instanceof Map)&&"object"!=typeof Pe)return null;this.differ||(this.differ=this.differs.find(Pe).create());const Kt=this.differ.diff(Pe),Mn=xt!==this.compareFn;return Kt&&(this.keyValues=[],Kt.forEachItem(Gn=>{this.keyValues.push(
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Cr(ue,nt){return{key:ue,value:nt}}(Gn.key,Gn.currentValue))})),(Kt||Mn)&&(this.keyValues.sort(xt),this.compareFn=xt),this.keyValues}}return ue.\u0275fac=function(Pe){return new(Pe||ue)(a.Y36(a.aQg,16))},ue.\u0275pipe=a.Yjl({name:"keyvalue",type:ue,pure:!1}),ue})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Or(ue,nt){const Pe=ue.key,xt=nt.key;if(Pe===xt)return 0;if(void 0===Pe)return 1;if(void 0===xt)return-1;if(null===Pe)return 1;if(null===xt)return-1;if("string"==typeof Pe&&"string"==typeof xt)return Pe<xt?-1:1;if("number"==typeof Pe&&"number"==typeof xt)return Pe-xt;if("boolean"==typeof Pe&&"boolean"==typeof xt)return Pe<xt?-1:1;const Kt=String(Pe),Mn=String(xt);return Kt==Mn?0:Kt<Mn?-1:1}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Gs=(()=>{class ue{}return ue.\u0275fac=function(Pe){return new(Pe||ue)},ue.\u0275mod=a.oAB({type:ue}),ue.\u0275inj=a.cJS({}),ue})(),so=(()=>{class ue{}return ue.\u0275prov=(0,a.Yz7)({token:ue,providedIn:"root",factory:()=>new oo((0,a.LFG)(v),window)}),ue})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class oo{constructor(nt,Pe){this.document=nt,this.window=Pe,this.offset=()=>[0,0]}setOffset(nt){this.offset=Array.isArray(nt)?()=>nt:nt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(nt){this.supportsScrolling()&&this.window.scrollTo(nt[0],nt[1])}scrollToAnchor(nt){if(!this.supportsScrolling())return;const Pe=function zs(ue,nt){const Pe=ue.getElementById(nt)||ue.getElementsByName(nt)[0];if(Pe)return Pe;if("function"==typeof ue.createTreeWalker&&ue.body&&(ue.body.createShadowRoot||ue.body.attachShadow)){const xt=ue.createTreeWalker(ue.body,NodeFilter.SHOW_ELEMENT);let Kt=xt.currentNode;for(;Kt;){const Mn=Kt.shadowRoot;if(Mn){const Gn=Mn.getElementById(nt)||Mn.querySelector(`[name="${nt}"]`);if(Gn)return Gn}Kt=xt.nextNode()}}return null}(this.document,nt);Pe&&(this.scrollToElement(Pe),Pe.focus())}setHistoryScrollRestoration(nt){if(this.supportScrollRestoration()){const Pe=this.window.history;Pe&&Pe.scrollRestoration&&(Pe.scrollRestoration=nt)}}scrollToElement(nt){const Pe=nt.getBoundingClientRect(),xt=Pe.left+this.window.pageXOffset,Kt=Pe.top+this.window.pageYOffset,Mn=this.offset();this.window.scrollTo(xt-Mn[0],Kt-Mn[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const nt=_s(this.window.history)||_s(Object.getPrototypeOf(this.window.history));return!(!nt||!nt.writable&&!nt.set)}catch(nt){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(nt){return!1}}}function _s(ue){return Object.getOwnPropertyDescriptor(ue,"scrollRestoration")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Mi{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,40520:(ze,G,l)=>{"use strict";l.d(G,{JF:()=>he,TP:()=>Re,UA:()=>$e,WM:()=>I,Zn:()=>Ve,eN:()=>Ee});var a=l(69808),i=l(5e3),d=l(21086),p=l(32916),C=l(21406),f=l(92198),v=l(24850);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class b{}class m{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class I{constructor(re){this.normalizedNames=new Map,this.lazyUpdate=null,re?this.lazyInit="string"==typeof re?()=>{this.headers=new Map,re.split("\n").forEach(Oe=>{const Ye=Oe.indexOf(":");if(Ye>0){const vt=Oe.slice(0,Ye),Vt=vt.toLowerCase(),Jt=Oe.slice(Ye+1).trim();this.maybeSetNormalizedName(vt,Vt),this.headers.has(Vt)?this.headers.get(Vt).push(Jt):this.headers.set(Vt,[Jt])}})}:()=>{this.headers=new Map,Object.keys(re).forEach(Oe=>{let Ye=re[Oe];const vt=Oe.toLowerCase();"string"==typeof Ye&&(Ye=[Ye]),Ye.length>0&&(this.headers.set(vt,Ye),this.maybeSetNormalizedName(Oe,vt))})}:this.headers=new Map}has(re){return this.init(),this.headers.has(re.toLowerCase())}get(re){this.init();const Oe=this.headers.get(re.toLowerCase());return Oe&&Oe.length>0?Oe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(re){return this.init(),this.headers.get(re.toLowerCase())||null}append(re,Oe){return this.clone({name:re,value:Oe,op:"a"})}set(re,Oe){return this.clone({name:re,value:Oe,op:"s"})}delete(re,Oe){return this.clone({name:re,value:Oe,op:"d"})}maybeSetNormalizedName(re,Oe){this.normalizedNames.has(Oe)||this.normalizedNames.set(Oe,re)}init(){this.lazyInit&&(this.lazyInit instanceof I?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(re=>this.applyUpdate(re)),this.lazyUpdate=null))}copyFrom(re){re.init(),Array.from(re.headers.keys()).forEach(Oe=>{this.headers.set(Oe,re.headers.get(Oe)),this.normalizedNames.set(Oe,re.normalizedNames.get(Oe))})}clone(re){const Oe=new I;return Oe.lazyInit=this.lazyInit&&this.lazyInit instanceof I?this.lazyInit:this,Oe.lazyUpdate=(this.lazyUpdate||[]).concat([re]),Oe}applyUpdate(re){const Oe=re.name.toLowerCase();switch(re.op){case"a":case"s":let Ye=re.value;if("string"==typeof Ye&&(Ye=[Ye]),0===Ye.length)return;this.maybeSetNormalizedName(re.name,Oe);const vt=("a"===re.op?this.headers.get(Oe):void 0)||[];vt.push(...Ye),this.headers.set(Oe,vt);break;case"d":const Vt=re.value;if(Vt){let Jt=this.headers.get(Oe);if(!Jt)return;Jt=Jt.filter(hn=>-1===Vt.indexOf(hn)),0===Jt.length?(this.headers.delete(Oe),this.normalizedNames.delete(Oe)):this.headers.set(Oe,Jt)}else this.headers.delete(Oe),this.normalizedNames.delete(Oe)}}forEach(re){this.init(),Array.from(this.normalizedNames.keys()).forEach(Oe=>re(this.normalizedNames.get(Oe),this.headers.get(Oe)))}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class L{encodeKey(re){return B(re)}encodeValue(re){return B(re)}decodeKey(re){return decodeURIComponent(re)}decodeValue(re){return decodeURIComponent(re)}}const D=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function B(Y){return encodeURIComponent(Y).replace(D,(re,Oe)=>{var Ye;return null!==(Ye=A[Oe])&&void 0!==Ye?Ye:re})}function R(Y){return`${Y}`}class x{constructor(re={}){if(this.updates=null,this.cloneFrom=null,this.encoder=re.encoder||new L,re.fromString){if(re.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(Y,re){const Oe=new Map;return Y.length>0&&Y.replace(/^\?/,"").split("&").forEach(vt=>{const Vt=vt.indexOf("="),[Jt,hn]=-1==Vt?[re.decodeKey(vt),""]:[re.decodeKey(vt.slice(0,Vt)),re.decodeValue(vt.slice(Vt+1))],gn=Oe.get(Jt)||[];gn.push(hn),Oe.set(Jt,gn)}),Oe}(re.fromString,this.encoder)}else re.fromObject?(this.map=new Map,Object.keys(re.fromObject).forEach(Oe=>{const Ye=re.fromObject[Oe];this.map.set(Oe,Array.isArray(Ye)?Ye:[Ye])})):this.map=null}has(re){return this.init(),this.map.has(re)}get(re){this.init();const Oe=this.map.get(re);return Oe?Oe[0]:null}getAll(re){return this.init(),this.map.get(re)||null}keys(){return this.init(),Array.from(this.map.keys())}append(re,Oe){return this.clone({param:re,value:Oe,op:"a"})}appendAll(re){const Oe=[];return Object.keys(re).forEach(Ye=>{const vt=re[Ye];Array.isArray(vt)?vt.forEach(Vt=>{Oe.push({param:Ye,value:Vt,op:"a"})}):Oe.push({param:Ye,value:vt,op:"a"})}),this.clone(Oe)}set(re,Oe){return this.clone({param:re,value:Oe,op:"s"})}delete(re,Oe){return this.clone({param:re,value:Oe,op:"d"})}toString(){return this.init(),this.keys().map(re=>{const Oe=this.encoder.encodeKey(re);return this.map.get(re).map(Ye=>Oe+"="+this.encoder.encodeValue(Ye)).join("&")}).filter(re=>""!==re).join("&")}clone(re){const Oe=new x({encoder:this.encoder});return Oe.cloneFrom=this.cloneFrom||this,Oe.updates=(this.updates||[]).concat(re),Oe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(re=>this.map.set(re,this.cloneFrom.map.get(re))),this.updates.forEach(re=>{switch(re.op){case"a":case"s":const Oe=("a"===re.op?this.map.get(re.param):void 0)||[];Oe.push(R(re.value)),this.map.set(re.param,Oe);break;case"d":if(void 0===re.value){this.map.delete(re.param);break}{let Ye=this.map.get(re.param)||[];const vt=Ye.indexOf(R(re.value));-1!==vt&&Ye.splice(vt,1),Ye.length>0?this.map.set(re.param,Ye):this.map.delete(re.param)}}}),this.cloneFrom=this.updates=null)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class k{constructor(){this.map=new Map}set(re,Oe){return this.map.set(re,Oe),this}get(re){return this.map.has(re)||this.map.set(re,re.defaultValue()),this.map.get(re)}delete(re){return this.map.delete(re),this}has(re){return this.map.has(re)}keys(){return this.map.keys()}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function j(Y){return"undefined"!=typeof ArrayBuffer&&Y instanceof ArrayBuffer}function z(Y){return"undefined"!=typeof Blob&&Y instanceof Blob}function le(Y){return"undefined"!=typeof FormData&&Y instanceof FormData}class ${constructor(re,Oe,Ye,vt){let Vt;if(this.url=Oe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=re.toUpperCase(),function H(Y){switch(Y){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||vt?(this.body=void 0!==Ye?Ye:null,Vt=vt):Vt=Ye,Vt&&(this.reportProgress=!!Vt.reportProgress,this.withCredentials=!!Vt.withCredentials,Vt.responseType&&(this.responseType=Vt.responseType),Vt.headers&&(this.headers=Vt.headers),Vt.context&&(this.context=Vt.context),Vt.params&&(this.params=Vt.params)),this.headers||(this.headers=new I),this.context||(this.context=new k),this.params){const Jt=this.params.toString();if(0===Jt.length)this.urlWithParams=Oe;else{const hn=Oe.indexOf("?");this.urlWithParams=Oe+(-1===hn?"?":hn<Oe.length-1?"&":"")+Jt}}else this.params=new x,this.urlWithParams=Oe}serializeBody(){return null===this.body?null:j(this.body)||z(this.body)||le(this.body)||function oe(Y){return"undefined"!=typeof URLSearchParams&&Y instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof x?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||le(this.body)?null:z(this.body)?this.body.type||null:j(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof x?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(re={}){var Oe;const Ye=re.method||this.method,vt=re.url||this.url,Vt=re.responseType||this.responseType,Jt=void 0!==re.body?re.body:this.body,hn=void 0!==re.withCredentials?re.withCredentials:this.withCredentials,gn=void 0!==re.reportProgress?re.reportProgress:this.reportProgress;let yn=re.headers||this.headers,An=re.params||this.params;const Nn=null!==(Oe=re.context)&&void 0!==Oe?Oe:this.context;return void 0!==re.setHeaders&&(yn=Object.keys(re.setHeaders).reduce((In,wn)=>In.set(wn,re.setHeaders[wn]),yn)),re.setParams&&(An=Object.keys(re.setParams).reduce((In,wn)=>In.set(wn,re.setParams[wn]),An)),new $(Ye,vt,Jt,{params:An,headers:yn,context:Nn,reportProgress:gn,responseType:Vt,withCredentials:hn})}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var y=(()=>((y=y||{})[y.Sent=0]="Sent",y[y.UploadProgress=1]="UploadProgress",y[y.ResponseHeader=2]="ResponseHeader",y[y.DownloadProgress=3]="DownloadProgress",y[y.Response=4]="Response",y[y.User=5]="User",y))();class ae{constructor(re,Oe=200,Ye="OK"){this.headers=re.headers||new I,this.status=void 0!==re.status?re.status:Oe,this.statusText=re.statusText||Ye,this.url=re.url||null,this.ok=this.status>=200&&this.status<300}}class ge extends ae{constructor(re={}){super(re),this.type=y.ResponseHeader}clone(re={}){return new ge({headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class Ve extends ae{constructor(re={}){super(re),this.type=y.Response,this.body=void 0!==re.body?re.body:null}clone(re={}){return new Ve({body:void 0!==re.body?re.body:this.body,headers:re.headers||this.headers,status:void 0!==re.status?re.status:this.status,statusText:re.statusText||this.statusText,url:re.url||this.url||void 0})}}class $e extends ae{constructor(re){super(re,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${re.url||"(unknown url)"}`:`Http failure response for ${re.url||"(unknown url)"}: ${re.status} ${re.statusText}`,this.error=re.error||null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Be(Y,re){return{body:re,headers:Y.headers,context:Y.context,observe:Y.observe,params:Y.params,reportProgress:Y.reportProgress,responseType:Y.responseType,withCredentials:Y.withCredentials}}let Ee=(()=>{class Y{constructor(Oe){this.handler=Oe}request(Oe,Ye,vt={}){let Vt;if(Oe instanceof $)Vt=Oe;else{let gn,yn;gn=vt.headers instanceof I?vt.headers:new I(vt.headers),vt.params&&(yn=vt.params instanceof x?vt.params:new x({fromObject:vt.params})),Vt=new $(Oe,Ye,void 0!==vt.body?vt.body:null,{headers:gn,context:vt.context,params:yn,reportProgress:vt.reportProgress,responseType:vt.responseType||"json",withCredentials:vt.withCredentials})}const Jt=(0,d.of)(Vt).pipe((0,C.b)(gn=>this.handler.handle(gn)));if(Oe instanceof $||"events"===vt.observe)return Jt;const hn=Jt.pipe((0,f.h)(gn=>gn instanceof Ve));switch(vt.observe||"body"){case"body":switch(Vt.responseType){case"arraybuffer":return hn.pipe((0,v.U)(gn=>{if(null!==gn.body&&!(gn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return gn.body}));case"blob":return hn.pipe((0,v.U)(gn=>{if(null!==gn.body&&!(gn.body instanceof Blob))throw new Error("Response is not a Blob.");return gn.body}));case"text":return hn.pipe((0,v.U)(gn=>{if(null!==gn.body&&"string"!=typeof gn.body)throw new Error("Response is not a string.");return gn.body}));default:return hn.pipe((0,v.U)(gn=>gn.body))}case"response":return hn;default:throw new Error(`Unreachable: unhandled observe type ${vt.observe}}`)}}delete(Oe,Ye={}){return this.request("DELETE",Oe,Ye)}get(Oe,Ye={}){return this.request("GET",Oe,Ye)}head(Oe,Ye={}){return this.request("HEAD",Oe,Ye)}jsonp(Oe,Ye){return this.request("JSONP",Oe,{params:(new x).append(Ye,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Oe,Ye={}){return this.request("OPTIONS",Oe,Ye)}patch(Oe,Ye,vt={}){return this.request("PATCH",Oe,Be(vt,Ye))}post(Oe,Ye,vt={}){return this.request("POST",Oe,Be(vt,Ye))}put(Oe,Ye,vt={}){return this.request("PUT",Oe,Be(vt,Ye))}}return Y.\u0275fac=function(Oe){return new(Oe||Y)(i.LFG(b))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac}),Y})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Ie{constructor(re,Oe){this.next=re,this.interceptor=Oe}handle(re){return this.interceptor.intercept(re,this.next)}}const Re=new i.OlP("HTTP_INTERCEPTORS");let Ge=(()=>{class Y{intercept(Oe,Ye){return Ye.handle(Oe)}}return Y.\u0275fac=function(Oe){return new(Oe||Y)},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac}),Y})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const et=/^\)\]\}',?\n/;let lt=(()=>{class Y{constructor(Oe){this.xhrFactory=Oe}handle(Oe){if("JSONP"===Oe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new p.y(Ye=>{const vt=this.xhrFactory.build();if(vt.open(Oe.method,Oe.urlWithParams),Oe.withCredentials&&(vt.withCredentials=!0),Oe.headers.forEach((wn,Wn)=>vt.setRequestHeader(wn,Wn.join(","))),Oe.headers.has("Accept")||vt.setRequestHeader("Accept","application/json, text/plain, */*"),!Oe.headers.has("Content-Type")){const wn=Oe.detectContentTypeHeader();null!==wn&&vt.setRequestHeader("Content-Type",wn)}if(Oe.responseType){const wn=Oe.responseType.toLowerCase();vt.responseType="json"!==wn?wn:"text"}const Vt=Oe.serializeBody();let Jt=null;const hn=()=>{if(null!==Jt)return Jt;const wn=vt.statusText||"OK",Wn=new I(vt.getAllResponseHeaders()),Bn=function de(Y){return"responseURL"in Y&&Y.responseURL?Y.responseURL:/^X-Request-URL:/m.test(Y.getAllResponseHeaders())?Y.getResponseHeader("X-Request-URL"):null}(vt)||Oe.url;return Jt=new ge({headers:Wn,status:vt.status,statusText:wn,url:Bn}),Jt},gn=()=>{let{headers:wn,status:Wn,statusText:Bn,url:Xt}=hn(),Pt=null;204!==Wn&&(Pt=void 0===vt.response?vt.responseText:vt.response),0===Wn&&(Wn=Pt?200:0);let ht=Wn>=200&&Wn<300;if("json"===Oe.responseType&&"string"==typeof Pt){const be=Pt;Pt=Pt.replace(et,"");try{Pt=""!==Pt?JSON.parse(Pt):null}catch(Ze){Pt=be,ht&&(ht=!1,Pt={error:Ze,text:Pt})}}ht?(Ye.next(new Ve({body:Pt,headers:wn,status:Wn,statusText:Bn,url:Xt||void 0})),Ye.complete()):Ye.error(new $e({error:Pt,headers:wn,status:Wn,statusText:Bn,url:Xt||void 0}))},yn=wn=>{const{url:Wn}=hn(),Bn=new $e({error:wn,status:vt.status||0,statusText:vt.statusText||"Unknown Error",url:Wn||void 0});Ye.error(Bn)};let An=!1;const Nn=wn=>{An||(Ye.next(hn()),An=!0);let Wn={type:y.DownloadProgress,loaded:wn.loaded};wn.lengthComputable&&(Wn.total=wn.total),"text"===Oe.responseType&&!!vt.responseText&&(Wn.partialText=vt.responseText),Ye.next(Wn)},In=wn=>{let Wn={type:y.UploadProgress,loaded:wn.loaded};wn.lengthComputable&&(Wn.total=wn.total),Ye.next(Wn)};return vt.addEventListener("load",gn),vt.addEventListener("error",yn),vt.addEventListener("timeout",yn),vt.addEventListener("abort",yn),Oe.reportProgress&&(vt.addEventListener("progress",Nn),null!==Vt&&vt.upload&&vt.upload.addEventListener("progress",In)),vt.send(Vt),Ye.next({type:y.Sent}),()=>{vt.removeEventListener("error",yn),vt.removeEventListener("abort",yn),vt.removeEventListener("load",gn),vt.removeEventListener("timeout",yn),Oe.reportProgress&&(vt.removeEventListener("progress",Nn),null!==Vt&&vt.upload&&vt.upload.removeEventListener("progress",In)),vt.readyState!==vt.DONE&&vt.abort()}})}}return Y.\u0275fac=function(Oe){return new(Oe||Y)(i.LFG(a.JF))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac}),Y})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const St=new i.OlP("XSRF_COOKIE_NAME"),Qt=new i.OlP("XSRF_HEADER_NAME");class gt{}let yt=(()=>{class Y{constructor(Oe,Ye,vt){this.doc=Oe,this.platform=Ye,this.cookieName=vt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Oe=this.doc.cookie||"";return Oe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(Oe,this.cookieName),this.lastCookieString=Oe),this.lastToken}}return Y.\u0275fac=function(Oe){return new(Oe||Y)(i.LFG(a.K0),i.LFG(i.Lbi),i.LFG(St))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),Je=(()=>{class Y{constructor(Oe,Ye){this.tokenService=Oe,this.headerName=Ye}intercept(Oe,Ye){const vt=Oe.url.toLowerCase();if("GET"===Oe.method||"HEAD"===Oe.method||vt.startsWith("http://")||vt.startsWith("https://"))return Ye.handle(Oe);const Vt=this.tokenService.getToken();return null!==Vt&&!Oe.headers.has(this.headerName)&&(Oe=Oe.clone({headers:Oe.headers.set(this.headerName,Vt)})),Ye.handle(Oe)}}return Y.\u0275fac=function(Oe){return new(Oe||Y)(i.LFG(gt),i.LFG(Qt))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),ct=(()=>{class Y{constructor(Oe,Ye){this.backend=Oe,this.injector=Ye,this.chain=null}handle(Oe){if(null===this.chain){const Ye=this.injector.get(Re,[]);this.chain=Ye.reduceRight((vt,Vt)=>new Ie(vt,Vt),this.backend)}return this.chain.handle(Oe)}}return Y.\u0275fac=function(Oe){return new(Oe||Y)(i.LFG(m),i.LFG(i.zs3))},Y.\u0275prov=i.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),xe=(()=>{class Y{static disable(){return{ngModule:Y,providers:[{provide:Je,useClass:Ge}]}}static withOptions(Oe={}){return{ngModule:Y,providers:[Oe.cookieName?{provide:St,useValue:Oe.cookieName}:[],Oe.headerName?{provide:Qt,useValue:Oe.headerName}:[]]}}}return Y.\u0275fac=function(Oe){return new(Oe||Y)},Y.\u0275mod=i.oAB({type:Y}),Y.\u0275inj=i.cJS({providers:[Je,{provide:Re,useExisting:Je,multi:!0},{provide:gt,useClass:yt},{provide:St,useValue:"XSRF-TOKEN"},{provide:Qt,useValue:"X-XSRF-TOKEN"}]}),Y})(),he=(()=>{class Y{}return Y.\u0275fac=function(Oe){return new(Oe||Y)},Y.\u0275mod=i.oAB({type:Y}),Y.\u0275inj=i.cJS({providers:[Ee,{provide:b,useClass:ct},lt,{provide:m,useExisting:lt}],imports:[[xe.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Y})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,5e3:(ze,G,l)=>{"use strict";l.d(G,{$8M:()=>kp,$Z:()=>Pc,AFp:()=>hb,ALo:()=>Ko,AaK:()=>b,AsE:()=>Hu,B6R:()=>st,BQk:()=>Da,CHM:()=>Qa,CRH:()=>pp,CZH:()=>lg,CqO:()=>am,DdM:()=>Ny,Dn7:()=>Wm,EJc:()=>zC,EiD:()=>R_,EpF:()=>sm,F$t:()=>dm,F4k:()=>om,FYo:()=>tp,FiY:()=>ac,G48:()=>sS,Gf:()=>Zy,GfV:()=>Ry,GkF:()=>Oc,Gpc:()=>L,Gre:()=>Js,Hsn:()=>hm,IIB:()=>UC,Ikx:()=>os,IyS:()=>Kv,JOm:()=>ea,JVY:()=>sD,Jf7:()=>U_,L6k:()=>EE,LAX:()=>CE,LFG:()=>Ps,LSH:()=>hf,Lbi:()=>$C,MAs:()=>Kf,MGl:()=>Nu,MT6:()=>Fc,N_p:()=>Nm,NdJ:()=>lm,O4$:()=>ms,OlP:()=>Zr,Oqu:()=>$u,PXZ:()=>tS,Q6J:()=>xh,QGY:()=>Ph,Qsj:()=>cC,QtT:()=>xy,R0b:()=>ma,RDi:()=>Pr,Rgc:()=>qc,SBq:()=>qu,SDv:()=>Dy,Sil:()=>gl,Suo:()=>xC,TTD:()=>_n,TgZ:()=>Ul,Tol:()=>Vv,Udp:()=>kc,VKq:()=>pl,VLi:()=>JC,W1O:()=>eb,WD2:()=>mn,WFA:()=>cm,WLB:()=>sp,X6Q:()=>xb,XFs:()=>Xe,Xpm:()=>_t,Y36:()=>ku,YKP:()=>fr,YNc:()=>Cv,Yjl:()=>rt,Yz7:()=>fe,ZZ4:()=>Ap,Zx4:()=>Ku,_Bn:()=>Py,_UZ:()=>Lu,_Vd:()=>Hc,_c5:()=>DS,_uU:()=>Yv,aQ5:()=>Ng,aQg:()=>Sg,ahi:()=>bd,c2e:()=>HC,cJS:()=>He,cg1:()=>Gu,d8E:()=>Bc,dDg:()=>yb,deG:()=>Gb,dqk:()=>yn,eBb:()=>S_,eFA:()=>ud,ekj:()=>Hl,evT:()=>bs,f3M:()=>Vp,g9A:()=>fb,h0i:()=>wa,hGG:()=>TS,hij:()=>pa,i9L:()=>nc,iGM:()=>hp,ifc:()=>vt,ip1:()=>db,kEZ:()=>By,kL8:()=>$h,kYT:()=>ce,kcU:()=>Gs,lG2:()=>Qe,lcZ:()=>jy,mCW:()=>Bd,n5z:()=>Do,n_E:()=>cp,oAB:()=>jt,oJD:()=>df,oxw:()=>Ah,pB0:()=>ba,pQV:()=>Zh,q3G:()=>cs,q4F:()=>ky,qLn:()=>mf,qOj:()=>Gf,qZA:()=>Mh,qzn:()=>Xa,r_U:()=>VC,s9C:()=>Fu,sBO:()=>wb,sIi:()=>wu,s_b:()=>up,soG:()=>ad,tBr:()=>Td,tHW:()=>Fm,tb:()=>mb,tp0:()=>lc,uIk:()=>la,vHH:()=>B,vpe:()=>Pa,wAp:()=>Fi,xi3:()=>ap,xp6:()=>mu,yhl:()=>Nd,ynx:()=>wh,z2F:()=>Tp,z3N:()=>Ja,zSh:()=>xu,zs3:()=>Ca});var a=l(8929),i=l(42654),d=l(32916),p=l(36787),C=l(12474);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function f(r){for(let s in r)if(r[s]===f)return s;throw Error("Could not find renamed property on target object.")}function v(r,s){for(const c in s)s.hasOwnProperty(c)&&!r.hasOwnProperty(c)&&(r[c]=s[c])}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function b(r){if("string"==typeof r)return r;if(Array.isArray(r))return"["+r.map(b).join(", ")+"]";if(null==r)return""+r;if(r.overriddenName)return`${r.overriddenName}`;if(r.name)return`${r.name}`;const s=r.toString();if(null==s)return""+s;const c=s.indexOf("\n");return-1===c?s:s.substring(0,c)}function m(r,s){return null==r||""===r?null===s?"":s:null==s||""===s?r:r+" "+s}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const I=f({__forward_ref__:f});function L(r){return r.__forward_ref__=L,r.toString=function(){return b(this())},r}function M(r){return D(r)?r():r}function D(r){return"function"==typeof r&&r.hasOwnProperty(I)&&r.__forward_ref__===L}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class B extends Error{constructor(s,c){super(function R(r,s){return`NG0${Math.abs(r)}${s?": "+s:""}`}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(s,c)),this.code=s}}function x(r){return"string"==typeof r?r:null==r?"":String(r)}function w(r){return"function"==typeof r?r.name||r.toString():"object"==typeof r&&null!=r&&"function"==typeof r.type?r.type.name||r.type.toString():x(r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function z(r,s){const c=s?` in ${s}`:"";throw new B(-201,`No provider for ${w(r)} found${c}`)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Se(r,s,c,h){throw new Error(`ASSERTION ERROR: ${r}`+(null==h?"":` [Expected=> ${c} ${h} ${s} <=Actual]`))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function fe(r){return{token:r.token,providedIn:r.providedIn||null,factory:r.factory,value:void 0}}function He(r){return{providers:r.providers||[],imports:r.imports||[]}}function et(r){return de(r,gt)||de(r,Je)}function de(r,s){return r.hasOwnProperty(s)?r[s]:null}function Qt(r){return r&&(r.hasOwnProperty(yt)||r.hasOwnProperty(ct))?r[yt]:null}const gt=f({\u0275prov:f}),yt=f({\u0275inj:f}),Je=f({ngInjectableDef:f}),ct=f({ngInjectorDef:f});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var Xe=(()=>((Xe=Xe||{})[Xe.Default=0]="Default",Xe[Xe.Host=1]="Host",Xe[Xe.Self=2]="Self",Xe[Xe.SkipSelf=4]="SkipSelf",Xe[Xe.Optional=8]="Optional",Xe))();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let X;function he(r){const s=X;return X=r,s}function N(r,s,c){const h=et(r);return h&&"root"==h.providedIn?void 0===h.value?h.value=h.factory():h.value:c&Xe.Optional?null:void 0!==s?s:void z(b(r),"Injector")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Y(r){return{toString:r}.toString()}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var re=(()=>((re=re||{})[re.OnPush=0]="OnPush",re[re.Default=1]="Default",re))(),vt=(()=>{return(r=vt||(vt={}))[r.Emulated=0]="Emulated",r[r.None=2]="None",r[r.ShadowDom=3]="ShadowDom",vt;var r})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Vt="undefined"!=typeof globalThis&&globalThis,Jt="undefined"!=typeof window&&window,hn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,yn=Vt||"undefined"!=typeof global&&global||Jt||hn,In={},wn=[],Wn=f({\u0275cmp:f}),Bn=f({\u0275dir:f}),Xt=f({\u0275pipe:f}),Pt=f({\u0275mod:f}),ht=f({\u0275fac:f}),be=f({__NG_ELEMENT_ID__:f});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Ze=0;function _t(r){return Y(()=>{const c={},h={type:r.type,providersResolver:null,decls:r.decls,vars:r.vars,factory:null,template:r.template||null,consts:r.consts||null,ngContentSelectors:r.ngContentSelectors,hostBindings:r.hostBindings||null,hostVars:r.hostVars||0,hostAttrs:r.hostAttrs||null,contentQueries:r.contentQueries||null,declaredInputs:c,inputs:null,outputs:null,exportAs:r.exportAs||null,onPush:r.changeDetection===re.OnPush,directiveDefs:null,pipeDefs:null,selectors:r.selectors||wn,viewQuery:r.viewQuery||null,features:r.features||null,data:r.data||{},encapsulation:r.encapsulation||vt.Emulated,id:"c",styles:r.styles||wn,_:null,setInput:null,schemas:r.schemas||null,tView:null},_=r.directives,S=r.features,W=r.pipes;return h.id+=Ze++,h.inputs=Ce(r.inputs,c),h.outputs=Ce(r.outputs),S&&S.forEach(se=>se(h)),h.directiveDefs=_?()=>("function"==typeof _?_():_).map(Ut):null,h.pipeDefs=W?()=>("function"==typeof W?W():W).map(Ht):null,h})}function st(r,s,c){const h=r.\u0275cmp;h.directiveDefs=()=>s.map(Ut),h.pipeDefs=()=>c.map(Ht)}function Ut(r){return Nt(r)||function sn(r){return r[Bn]||null}(r)}function Ht(r){return function On(r){return r[Xt]||null}(r)}const dn={};function jt(r){return Y(()=>{const s={type:r.type,bootstrap:r.bootstrap||wn,declarations:r.declarations||wn,imports:r.imports||wn,exports:r.exports||wn,transitiveCompileScopes:null,schemas:r.schemas||null,id:r.id||null};return null!=r.id&&(dn[r.id]=r.type),s})}function ce(r,s){return Y(()=>{const c=Ln(r,!0);c.declarations=s.declarations||wn,c.imports=s.imports||wn,c.exports=s.exports||wn})}function Ce(r,s){if(null==r)return In;const c={};for(const h in r)if(r.hasOwnProperty(h)){let _=r[h],S=_;Array.isArray(_)&&(S=_[1],_=_[0]),c[_]=h,s&&(s[_]=S)}return c}const Qe=_t;function rt(r){return{type:r.type,name:r.name,factory:null,pure:!1!==r.pure,onDestroy:r.type.prototype.ngOnDestroy||null}}function Nt(r){return r[Wn]||null}function Ln(r,s){const c=r[Pt]||null;if(!c&&!0===s)throw new Error(`Type ${b(r)} does not have '\u0275mod' property.`);return c}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function ut(r){return Array.isArray(r)&&"object"==typeof r[1]}function Un(r){return Array.isArray(r)&&!0===r[1]}function Ft(r){return 0!=(8&r.flags)}function En(r){return 2==(2&r.flags)}function ye(r){return 1==(1&r.flags)}function Bt(r){return null!==r.template}function vn(r){return 0!=(512&r[2])}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function qt(r,s){return r.hasOwnProperty(ht)?r[ht]:null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class mn{constructor(s,c,h){this.previousValue=s,this.currentValue=c,this.firstChange=h}isFirstChange(){return this.firstChange}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function _n(){return Mt}function Mt(r){return r.type.prototype.ngOnChanges&&(r.setInput=tn),pn}function pn(){const r=Jn(this),s=null==r?void 0:r.current;if(s){const c=r.previous;if(c===In)r.previous=s;else for(let h in s)c[h]=s[h];r.current=null,this.ngOnChanges(s)}}function tn(r,s,c,h){const _=Jn(r)||function ci(r,s){return r[Vn]=s}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(r,{previous:In,current:null}),S=_.current||(_.current={}),W=_.previous,se=this.declaredInputs[c],we=W[se];S[se]=new mn(we&&we.currentValue,s,W===In),r[h]=s}_n.ngInherit=!0;const Vn="__ngSimpleChanges__";function Jn(r){return r[Vn]||null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let ur;function Pr(r){ur=r}function Ur(){return void 0!==ur?ur:"undefined"!=typeof document?document:void 0}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function er(r){return!!r.listen}const Ns={createRenderer:(r,s)=>Ur()};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Lr(r){for(;Array.isArray(r);)r=r[0];return r}function mr(r,s){return Lr(s[r])}function xr(r,s){return Lr(s[r.index])}function _o(r,s){return r.data[s]}function ds(r,s){return r[s]}function Qr(r,s){const c=s[r];return ut(c)?c:c[0]}function vo(r){return 4==(4&r[2])}function to(r){return 128==(128&r[2])}function Bs(r,s){return null==s?null:r[s]}function qe(r){r[18]=0}function Le(r,s){r[5]+=s;let c=r,h=r[3];for(;null!==h&&(1===s&&1===c[5]||-1===s&&0===c[5]);)h[5]+=s,c=h,h=h[3]
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}const De={lFrame:zi(null),bindingsEnabled:!0};function no(){return De.bindingsEnabled}function Gt(){return De.lFrame.lView}function lr(){return De.lFrame.tView}function Qa(r){return De.lFrame.contextLView=r,r[8]}function Kr(){let r=bl();for(;null!==r&&64===r.type;)r=r.parent;return r}function bl(){return De.lFrame.currentTNode}function bo(){const r=De.lFrame,s=r.currentTNode;return r.isParent?s:s.parent}function fs(r,s){const c=De.lFrame;c.currentTNode=r,c.isParent=s}function _a(){return De.lFrame.isParent}function va(){De.lFrame.isParent=!1}function es(){const r=De.lFrame;let s=r.bindingRootIndex;return-1===s&&(s=r.bindingRootIndex=r.tView.bindingStartIndex),s}function io(){return De.lFrame.bindingIndex}function Q(){return De.lFrame.bindingIndex++}function K(r){const s=De.lFrame,c=s.bindingIndex;return s.bindingIndex=s.bindingIndex+r,c}function Dt(r){De.lFrame.inI18n=r}function zt(r,s){const c=De.lFrame;c.bindingIndex=c.bindingRootIndex=r,an(s)}function an(r){De.lFrame.currentDirectiveIndex=r}function Cn(r){const s=De.lFrame.currentDirectiveIndex;return-1===s?null:r[s]}function Fn(){return De.lFrame.currentQueryIndex}function di(r){De.lFrame.currentQueryIndex=r}function Si(r){const s=r[1];return 2===s.type?s.declTNode:1===s.type?r[6]:null}function Ui(r,s,c){if(c&Xe.SkipSelf){let _=s,S=r;for(;!(_=_.parent,null!==_||c&Xe.Host||(_=Si(S),null===_||(S=S[15],10&_.type))););if(null===_)return!1;s=_,r=S}const h=De.lFrame=xi();return h.currentTNode=s,h.lView=r,!0}function Qi(r){const s=xi(),c=r[1];De.lFrame=s,s.currentTNode=c.firstChild,s.lView=r,s.tView=c,s.contextLView=r,s.bindingIndex=c.bindingStartIndex,s.inI18n=!1}function xi(){const r=De.lFrame,s=null===r?null:r.child;return null===s?zi(r):s}function zi(r){const s={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:r,child:null,inI18n:!1};return null!==r&&(r.child=s),s}function Cr(){const r=De.lFrame;return De.lFrame=r.parent,r.currentTNode=null,r.lView=null,r}const Br=Cr;function Or(){const r=Cr();r.isParent=!0,r.tView=null,r.selectedIndex=-1,r.contextLView=null,r.elementDepthCount=0,r.currentDirectiveIndex=-1,r.currentNamespace=null,r.bindingRootIndex=-1,r.bindingIndex=-1,r.currentQueryIndex=0}function Hr(){return De.lFrame.selectedIndex}function qr(r){De.lFrame.selectedIndex=r}function Wi(){const r=De.lFrame;return _o(r.tView,r.selectedIndex)}function ms(){De.lFrame.currentNamespace="svg"}function Gs(){!function gs(){De.lFrame.currentNamespace=null}()}function _s(r,s){for(let c=s.directiveStart,h=s.directiveEnd;c<h;c++){const S=r.data[c].type.prototype,{ngAfterContentInit:W,ngAfterContentChecked:se,ngAfterViewInit:we,ngAfterViewChecked:dt,ngOnDestroy:wt}=S;W&&(r.contentHooks||(r.contentHooks=[])).push(-c,W),se&&((r.contentHooks||(r.contentHooks=[])).push(c,se),(r.contentCheckHooks||(r.contentCheckHooks=[])).push(c,se)),we&&(r.viewHooks||(r.viewHooks=[])).push(-c,we),dt&&((r.viewHooks||(r.viewHooks=[])).push(c,dt),(r.viewCheckHooks||(r.viewCheckHooks=[])).push(c,dt)),null!=wt&&(r.destroyHooks||(r.destroyHooks=[])).push(c,wt)}}function zs(r,s,c){wi(r,s,3,c)}function ui(r,s,c,h){(3&r[2])===c&&wi(r,s,c,h)}function Mi(r,s){let c=r[2];(3&c)===s&&(c&=2047,c+=1,r[2]=c)}function wi(r,s,c,h){const S=null!=h?h:-1,W=s.length-1;let se=0;for(let we=void 0!==h?65535&r[18]:0;we<W;we++)if("number"==typeof s[we+1]){if(se=s[we],null!=h&&se>=h)break}else s[we]<0&&(r[18]+=65536),(se<S||-1==S)&&(Hi(r,c,s,we),r[18]=(4294901760&r[18])+we+2),we++}function Hi(r,s,c,h){const _=c[h]<0,S=c[h+1],se=r[_?-c[h]:c[h]];if(_){if(r[2]>>11<r[18]>>16&&(3&r[2])===s){r[2]+=2048;try{S.call(se)}finally{}}}else try{S.call(se)}finally{}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class nt{constructor(s,c,h){this.factory=s,this.resolving=!1,this.canSeeViewProviders=c,this.injectImpl=h}}function tr(r,s,c){const h=er(r);let _=0;for(;_<c.length;){const S=c[_];if("number"==typeof S){if(0!==S)break;_++;const W=c[_++],se=c[_++],we=c[_++];h?r.setAttribute(s,se,we,W):s.setAttributeNS(W,se,we)}else{const W=S,se=c[++_];Gr(W)?h&&r.setProperty(s,W,se):h?r.setAttribute(s,W,se):s.setAttribute(W,se),_++}}return _}function sr(r){return 3===r||4===r||6===r}function Gr(r){return 64===r.charCodeAt(0)}function Dr(r,s){if(null!==s&&0!==s.length)if(null===r||0===r.length)r=s.slice();else{let c=-1;for(let h=0;h<s.length;h++){const _=s[h];"number"==typeof _?c=_:0===c||ts(r,c,_,null,-1===c||2===c?s[++h]:null)}}return r}function ts(r,s,c,h,_){let S=0,W=r.length;if(-1===s)W=-1;else for(;S<r.length;){const se=r[S++];if("number"==typeof se){if(se===s){W=-1;break}if(se>s){W=S-1;break}}}for(;S<r.length;){const se=r[S];if("number"==typeof se)break;if(se===c){if(null===h)return void(null!==_&&(r[S+1]=_));if(h===r[S+1])return void(r[S+2]=_)}S++,null!==h&&S++,null!==_&&S++}-1!==W&&(r.splice(W,0,s),S=W+1),r.splice(S++,0,c),null!==h&&r.splice(S++,0,h),null!==_&&r.splice(S++,0,_)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Eo(r){return-1!==r}function vs(r){return 32767&r}function ws(r,s){let c=function ss(r){return r>>16}(r),h=s;for(;c>0;)h=h[15],c--;return h}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let ya=!0;function Xo(r){const s=ya;return ya=r,s}let ie=0;function Ue(r,s){const c=kt(r,s);if(-1!==c)return c;const h=s[1];h.firstCreatePass&&(r.injectorIndex=s.length,ot(h.data,r),ot(s,null),ot(h.blueprint,null));const _=en(r,s),S=r.injectorIndex;if(Eo(_)){const W=vs(_),se=ws(_,s),we=se[1].data;for(let dt=0;dt<8;dt++)s[S+dt]=se[W+dt]|we[W+dt]}return s[S+8]=_,S}function ot(r,s){r.push(0,0,0,0,0,0,0,0,s)}function kt(r,s){return-1===r.injectorIndex||r.parent&&r.parent.injectorIndex===r.injectorIndex||null===s[r.injectorIndex+8]?-1:r.injectorIndex}function en(r,s){if(r.parent&&-1!==r.parent.injectorIndex)return r.parent.injectorIndex;let c=0,h=null,_=s;for(;null!==_;){const S=_[1],W=S.type;if(h=2===W?S.declTNode:1===W?_[6]:null,null===h)return-1;if(c++,_=_[15],-1!==h.injectorIndex)return h.injectorIndex|c<<16}return-1}function fn(r,s,c){!function q(r,s,c){let h;"string"==typeof c?h=c.charCodeAt(0)||0:c.hasOwnProperty(be)&&(h=c[be]),null==h&&(h=c[be]=ie++);const _=255&h;s.data[r+(_>>5)]|=1<<_}(r,s,c)}function yi(r,s,c){if(c&Xe.Optional)return r;z(s,"NodeInjector")}function hr(r,s,c,h){if(c&Xe.Optional&&void 0===h&&(h=null),0==(c&(Xe.Self|Xe.Host))){const _=r[9],S=he(void 0);try{return _?_.get(s,h,c&Xe.Optional):N(s,h,c&Xe.Optional)}finally{he(S)}}return yi(h,s,c)}function Pi(r,s,c,h=Xe.Default,_){if(null!==r){const S=function tu(r){if("string"==typeof r)return r.charCodeAt(0)||0;const s=r.hasOwnProperty(be)?r[be]:void 0;return"number"==typeof s?s>=0?255&s:wr:s}(c);if("function"==typeof S){if(!Ui(s,r,h))return h&Xe.Host?yi(_,c,h):hr(s,c,h,_);try{const W=S(h);if(null!=W||h&Xe.Optional)return W;z(c)}finally{Br()}}else if("number"==typeof S){let W=null,se=kt(r,s),we=-1,dt=h&Xe.Host?s[16][6]:null;for((-1===se||h&Xe.SkipSelf)&&(we=-1===se?en(r,s):s[se+8],-1!==we&&_d(h,!1)?(W=s[1],se=vs(we),s=ws(we,s)):se=-1);-1!==se;){const wt=s[1];if(Cl(S,se,wt.data)){const Yt=Co(se,s,c,W,h,dt);if(Yt!==Mr)return Yt}we=s[se+8],-1!==we&&_d(h,s[1].data[se+8]===dt)&&Cl(S,se,s)?(W=wt,se=vs(we),s=ws(we,s)):se=-1}}}return hr(s,c,h,_)}const Mr={};function wr(){return new Xl(Kr(),Gt())}function Co(r,s,c,h,_,S){const W=s[1],se=W.data[r+8],wt=So(se,W,c,null==h?En(se)&&ya:h!=W&&0!=(3&se.type),_&Xe.Host&&S===se);return null!==wt?Ka(s,W,wt,se):Mr}function So(r,s,c,h,_){const S=r.providerIndexes,W=s.data,se=1048575&S,we=r.directiveStart,wt=S>>20,ln=_?se+wt:r.directiveEnd;for(let Sn=h?se:se+wt;Sn<ln;Sn++){const $n=W[Sn];if(Sn<we&&c===$n||Sn>=we&&$n.type===c)return Sn}if(_){const Sn=W[we];if(Sn&&Bt(Sn)&&Sn.type===c)return we}return null}function Ka(r,s,c,h){let _=r[c];const S=s.data;if(function Pe(r){return r instanceof nt}(_)){const W=_;W.resolving&&function k(r,s){const c=s?`. Dependency path: ${s.join(" > ")} > ${r}`:"";throw new B(-200,`Circular dependency in DI detected for ${r}${c}`)}(w(S[c]));const se=Xo(W.canSeeViewProviders);W.resolving=!0;const we=W.injectImpl?he(W.injectImpl):null;Ui(r,h,Xe.Default);try{_=r[c]=W.factory(void 0,S,r,h),s.firstCreatePass&&c>=h.directiveStart&&
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function oo(r,s,c){const{ngOnChanges:h,ngOnInit:_,ngDoCheck:S}=s.type.prototype;if(h){const W=Mt(s);(c.preOrderHooks||(c.preOrderHooks=[])).push(r,W),(c.preOrderCheckHooks||(c.preOrderCheckHooks=[])).push(r,W)}_&&(c.preOrderHooks||(c.preOrderHooks=[])).push(0-r,_),S&&((c.preOrderHooks||(c.preOrderHooks=[])).push(r,S),(c.preOrderCheckHooks||(c.preOrderCheckHooks=[])).push(r,S))}(c,S[c],s)}finally{null!==we&&he(we),Xo(se),W.resolving=!1,Br()}}return _}function Cl(r,s,c){return!!(c[s+(r>>5)]&1<<r)}function _d(r,s){return!(r&Xe.Self||r&Xe.Host&&s)}class Xl{constructor(s,c){this._tNode=s,this._lView=c}get(s,c,h){return Pi(this._tNode,this._lView,s,h,c)}}function Do(r){return Y(()=>{const s=r.prototype.constructor,c=s[ht]||vd(s),h=Object.prototype;let _=Object.getPrototypeOf(r.prototype).constructor;for(;_&&_!==h;){const S=_[ht]||vd(_);if(S&&S!==c)return S;_=Object.getPrototypeOf(_)}return S=>new S})}function vd(r){return D(r)?()=>{const s=vd(M(r));return s&&s()}:qt(r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function kp(r){return function jn(r,s){if("class"===s)return r.classes;if("style"===s)return r.styles;const c=r.attrs;if(c){const h=c.length;let _=0;for(;_<h;){const S=c[_];if(sr(S))break;if(0===S)_+=2;else if("number"==typeof S)for(_++;_<h&&"string"==typeof c[_];)_++;else{if(S===s)return c[_+1];_+=2}}}return null}(Kr(),r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Za="__parameters__",ec="__prop__metadata__";function Lp(r){return function(...c){if(r){const h=r(...c);for(const _ in h)this[_]=h[_]}}}function tc(r,s,c){return Y(()=>{const h=Lp(s);function _(...S){if(this instanceof _)return h.apply(this,S),this;const W=new _(...S);return se.annotation=W,se;function se(we,dt,wt){const Yt=we.hasOwnProperty(Za)?we[Za]:Object.defineProperty(we,Za,{value:[]})[Za];for(;Yt.length<=wt;)Yt.push(null);return(Yt[wt]=Yt[wt]||[]).push(W),we}}return c&&(_.prototype=Object.create(c.prototype)),_.prototype.ngMetadataName=r,_.annotationCls=_,_})}function yd(r,s,c,h){return Y(()=>{const _=Lp(s);function S(...W){if(this instanceof S)return _.apply(this,W),this;const se=new S(...W);return function we(dt,wt){const Yt=dt.constructor,ln=Yt.hasOwnProperty(ec)?Yt[ec]:Object.defineProperty(Yt,ec,{value:{}})[ec];ln[wt]=ln.hasOwnProperty(wt)&&ln[wt]||[],ln[wt].unshift(se),h&&h(dt,wt,...W)}}return c&&(S.prototype=Object.create(c.prototype)),S.prototype.ngMetadataName=r,S.annotationCls=S,S})}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const bd=tc("Attribute",r=>({attributeName:r,__NG_ELEMENT_ID__:()=>kp(r)}));
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Zr{constructor(s,c){this._desc=s,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof c?this.__NG_ELEMENT_ID__=c:void 0!==c&&(this.\u0275prov=fe({token:this,providedIn:c.providedIn||"root",factory:c.factory}))}toString(){return`InjectionToken ${this._desc}`}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Gb=new Zr("AnalyzeForEntryComponents");class Tr{}const Ng=yd("ContentChild",(r,s={})=>Object.assign({selector:r,first:!0,isViewQuery:!1,descendants:!0},s),Tr),nc=yd("ViewChild",(r,s)=>Object.assign({selector:r,first:!0,isViewQuery:!0,descendants:!0},s),Tr);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function To(r,s){void 0===s&&(s=r);for(let c=0;c<r.length;c++){let h=r[c];Array.isArray(h)?(s===r&&(s=r.slice(0,c)),To(h,s)):s!==r&&s.push(h)}return s}function No(r,s){r.forEach(c=>Array.isArray(c)?No(c,s):s(c))}function Ed(r,s,c){s>=r.length?r.push(c):r.splice(s,0,c)}function Cd(r,s){return s>=r.length-1?r.pop():r.splice(s,1)[0]}function su(r,s){const c=[];for(let h=0;h<r;h++)c.push(s);return c}function xo(r,s,c){let h=rc(r,s);return h>=0?r[1|h]=c:(h=~h,function Ug(r,s,c,h){let _=r.length;if(_==s)r.push(c,h);else if(1===_)r.push(h,r[0]),r[0]=c;else{for(_--,r.push(r[_-1],r[_]);_>s;)r[_]=r[_-2],_--;r[s]=c,r[s+1]=h}}(r,h,s,c)),h}function Np(r,s){const c=rc(r,s);if(c>=0)return r[1|c]}function rc(r,s){return function Vg(r,s,c){let h=0,_=r.length>>c;for(;_!==h;){const S=h+(_-h>>1),W=r[S<<c];if(s===W)return S<<c;W>s?_=S:h=S+1}return~(_<<c)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(r,s,1)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Dd={},sc="__NG_DI_FLAG__",au="ngTempTokenPath",$g=/\n/gm,Hg="__source",Kb=f({provide:String,useValue:f});let lu;function Gg(r){const s=lu;return lu=r,s}function qb(r,s=Xe.Default){if(void 0===lu)throw new B(203,"");return null===lu?N(r,void 0,s):lu.get(r,s&Xe.Optional?null:void 0,s)}function Ps(r,s=Xe.Default){return(function xe(){return X}()||qb)(M(r),s)}const Vp=Ps;function Wg(r){const s=[];for(let c=0;c<r.length;c++){const h=M(r[c]);if(Array.isArray(h)){if(0===h.length)throw new B(900,"");let _,S=Xe.Default;for(let W=0;W<h.length;W++){const se=h[W],we=HS(se);"number"==typeof we?-1===we?_=se.token:S|=we:_=se}s.push(Ps(_,S))}else s.push(Ps(h))}return s}function oc(r,s){return r[sc]=s,r.prototype[sc]=s,r}function HS(r){return r[sc]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Td=oc(tc("Inject",r=>({token:r})),-1),ac=oc(tc("Optional"),8),lc=oc(tc("SkipSelf"),4);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var ea=(()=>((ea=ea||{})[ea.Important=1]="Important",ea[ea.DashCase=2]="DashCase",ea))();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const zS=/^>|^->|<!--|-->|--!>|<!-$/g,Jg=/(<|>)/;const e_="__ngContext__";function Us(r,s){r[e_]=s}function Pd(r){const s=function du(r){return r[e_]||null}(r);return s?Array.isArray(s)?s:s.lView:null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Wp;function Yp(r,s){return Wp(r,s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function hu(r){const s=r[3];return Un(s)?s[3]:s}function Qp(r){return cc(r[13])}function Kp(r){return cc(r[4])}function cc(r){for(;null!==r&&!Un(r);)r=r[4];return r}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function uc(r,s,c,h,_){if(null!=h){let S,W=!1;Un(h)?S=h:ut(h)&&(W=!0,h=h[0]);const se=Lr(h);0===r&&null!==c?null==_?d_(s,c,se):Tl(s,c,se,_||null,!0):1===r&&null!==c?Tl(s,c,se,_||null,!0):2===r?tf(s,se,W):3===r&&s.destroyNode(se),null!=S&&function tD(r,s,c,h,_){const S=c[7];S!==Lr(c)&&uc(s,r,h,S,_);for(let se=10;se<c.length;se++){const we=c[se];pu(we[1],we,r,s,h,S)}}(s,r,S,c,_)}}function s_(r,s){return er(r)?r.createText(s):r.createTextNode(s)}function o_(r,s,c){er(r)?r.setValue(s,c):s.textContent=c}function lE(r,s){return r.createComment(function Xg(r){return r.replace(zS,s=>s.replace(Jg,"\u200b$1\u200b"))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(s))}function qp(r,s,c){if(er(r))return r.createElement(s,c);{const h=null!==c?function ar(r){const s=r.toLowerCase();return"svg"===s?"http://www.w3.org/2000/svg":"math"===s?"http://www.w3.org/1998/MathML/":null}(c):null;return null===h?r.createElement(s):r.createElementNS(h,s)}}function pE(r,s){const c=r[9],h=c.indexOf(s),_=s[3];1024&s[2]&&(s[2]&=-1025,Le(_,-1)),c.splice(h,1)}function a_(r,s){if(r.length<=10)return;const c=10+s,h=r[c];if(h){const _=h[17];null!==_&&_!==r&&pE(_,h),s>0&&(r[c-1][4]=h[4]);const S=Cd(r,10+s);!function ZS(r,s){pu(r,s,s[11],2,null,null),s[0]=null,s[6]=null}(h[1],h);const W=S[19];null!==W&&W.detachView(S[1]),h[3]=null,h[4]=null,h[2]&=-129}return h}function l_(r,s){if(!(256&s[2])){const c=s[11];er(c)&&c.destroyNode&&pu(r,s,c,3,null,null),function JS(r){let s=r[13];if(!s)return c_(r[1],r);for(;s;){let c=null;if(ut(s))c=s[13];else{const h=s[10];h&&(c=h)}if(!c){for(;s&&!s[4]&&s!==r;)ut(s)&&c_(s[1],s),s=s[3];null===s&&(s=r),ut(s)&&c_(s[1],s),c=s&&s[4]}s=c}}(s)}}function c_(r,s){if(!(256&s[2])){s[2]&=-129,s[2]|=256,function eD(r,s){let c;if(null!=r&&null!=(c=r.destroyHooks))for(let h=0;h<c.length;h+=2){const _=s[c[h]];if(!(_ instanceof nt)){const S=c[h+1];if(Array.isArray(S))for(let W=0;W<S.length;W+=2){const se=_[S[W]],we=S[W+1];try{we.call(se)}finally{}}else try{S.call(_)}finally{}}}}(r,s),function XS(r,s){const c=r.cleanup,h=s[7];let _=-1;if(null!==c)for(let S=0;S<c.length-1;S+=2)if("string"==typeof c[S]){const W=c[S+1],se="function"==typeof W?W(s):Lr(s[W]),we=h[_=c[S+2]],dt=c[S+3];"boolean"==typeof dt?se.removeEventListener(c[S],we,dt):dt>=0?h[_=dt]():h[_=-dt].unsubscribe(),S+=2}else{const W=h[_=c[S+1]];c[S].call(W)}if(null!==h){for(let S=_+1;S<h.length;S++)h[S]();s[7]=null}}(r,s),1===s[1].type&&er(s[11])&&s[11].destroy();const c=s[17];if(null!==c&&Un(s[3])){c!==s[3]&&pE(c,s);const h=s[19];null!==h&&h.detachView(r)}}}function u_(r,s,c){return Zp(r,s.parent,c)}function Zp(r,s,c){let h=s;for(;null!==h&&40&h.type;)h=(s=h).parent;if(null===h)return c[0];if(2&h.flags){const _=r.data[h.directiveStart].encapsulation;if(_===vt.None||_===vt.Emulated)return null}return xr(h,c)}function Tl(r,s,c,h,_){er(r)?r.insertBefore(s,c,h,_):s.insertBefore(c,h,_)}function d_(r,s,c){er(r)?r.appendChild(s,c):s.appendChild(c)}function h_(r,s,c,h,_){null!==h?Tl(r,s,c,h,_):d_(r,s,c)}function Od(r,s){return er(r)?r.parentNode(s):s.parentNode}function p_(r,s,c){return Xp(r,s,c)}function Jp(r,s,c){return 40&r.type?xr(r,c):null}let xl,Ml,rf,Xp=Jp;function f_(r,s){Xp=r,xl=s}function Ad(r,s,c,h){const _=u_(r,h,s),S=s[11],se=p_(h.parent||s[6],h,s);if(null!=_)if(Array.isArray(c))for(let we=0;we<c.length;we++)h_(S,_,c[we],se,!1);else h_(S,_,c,se,!1);void 0!==xl&&xl(S,h,s,c,_)}function Id(r,s){if(null!==s){const c=s.type;if(3&c)return xr(s,r);if(4&c)return ef(-1,r[s.index]);if(8&c){const h=s.child;if(null!==h)return Id(r,h);{const _=r[s.index];return Un(_)?ef(-1,_):Lr(_)}}if(32&c)return Yp(s,r)()||Lr(r[s.index]);{const h=m_(r,s);return null!==h?Array.isArray(h)?h[0]:Id(hu(r[16]),h):Id(r,s.next)}}return null}function m_(r,s){return null!==s?r[16][6].projection[s.projection]:null}function ef(r,s){const c=10+r+1;if(c<s.length){const h=s[c],_=h[1].firstChild;if(null!==_)return Id(h,_)}return s[7]}function tf(r,s,c){const h=Od(r,s);h&&function fE(r,s,c,h){er(r)?r.removeChild(s,c,h):s.removeChild(c)}(r,h,s,c)}function Rd(r,s,c,h,_,S,W){for(;null!=c;){const se=h[c.index],we=c.type;if(W&&0===s&&(se&&Us(Lr(se),h),c.flags|=4),64!=(64&c.flags))if(8&we)Rd(r,s,c.child,h,_,S,!1),uc(s,r,_,se,S);else if(32&we){const dt=Yp(c,h);let wt;for(;wt=dt();)uc(s,r,_,wt,S);uc(s,r,_,se,S)}else 16&we?gE(r,s,h,c,_,S):uc(s,r,_,se,S);c=W?c.projectionNext:c.next}}function pu(r,s,c,h,_,S){Rd(c,h,r.firstChild,s,_,S,!1)}function gE(r,s,c,h,_,S){const W=c[16],we=W[6].projection[h.projection];if(Array.isArray(we))for(let dt=0;dt<we.length;dt++)uc(s,r,_,we[dt],S);else Rd(r,s,we,W[3],_,S,!0)}function __(r,s,c){er(r)?r.setAttribute(s,"style",c):s.style.cssText=c}function v_(r,s,c){er(r)?""===c?r.removeAttribute(s,"class"):r.setAttribute(s,"class",c):s.className=c}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Bo(r){var s;return(null===(s=function nf(){if(void 0===Ml&&(Ml=null,yn.trustedTypes))try{Ml=yn.trustedTypes.createPolicy("angular",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r})}catch(r){}return Ml}())||void 0===s?void 0:s.createHTML(r))||r}function yE(r){var s;return(null===(s=function y_(){if(void 0===rf&&(rf=null,yn.trustedTypes))try{rf=yn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r})}catch(r){}return rf}())||void 0===s?void 0:s.createHTML(r))||r}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class dc{constructor(s){this.changingThisBreaksApplicationSecurity=s}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Ld extends dc{getTypeName(){return"HTML"}}class Fd extends dc{getTypeName(){return"Style"}}class E_ extends dc{getTypeName(){return"Script"}}class C_ extends dc{getTypeName(){return"URL"}}class bE extends dc{getTypeName(){return"ResourceURL"}}function Ja(r){return r instanceof dc?r.changingThisBreaksApplicationSecurity:r}function Xa(r,s){const c=Nd(r);if(null!=c&&c!==s){if("ResourceURL"===c&&"URL"===s)return!0;throw new Error(`Required a safe ${s}, got a ${c} (see https://g.co/ng/security#xss)`)}return c===s}function Nd(r){return r instanceof dc&&r.getTypeName()||null}function sD(r){return new Ld(r)}function EE(r){return new Fd(r)}function S_(r){return new E_(r)}function CE(r){return new C_(r)}function ba(r){return new bE(r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function D_(r){const s=new DE(r);return function TE(){try{return!!(new window.DOMParser).parseFromString(Bo(""),"text/html")}catch(r){return!1}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */()?new SE(s):s}class SE{constructor(s){this.inertDocumentHelper=s}getInertBodyElement(s){s="<body><remove></remove>"+s;try{const c=(new window.DOMParser).parseFromString(Bo(s),"text/html").body;return null===c?this.inertDocumentHelper.getInertBodyElement(s):(c.removeChild(c.firstChild),c)}catch(c){return null}}}class DE{constructor(s){if(this.defaultDoc=s,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const c=this.inertDocument.createElement("html");this.inertDocument.appendChild(c);const h=this.inertDocument.createElement("body");c.appendChild(h)}}getInertBodyElement(s){const c=this.inertDocument.createElement("template");if("content"in c)return c.innerHTML=Bo(s),c;const h=this.inertDocument.createElement("body");return h.innerHTML=Bo(s),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(h),h}stripCustomNsAttrs(s){const c=s.attributes;for(let _=c.length-1;0<_;_--){const W=c.item(_).name;("xmlns:ns1"===W||0===W.indexOf("ns1:"))&&s.removeAttribute(W)}let h=s.firstChild;for(;h;)h.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(h),h=h.nextSibling}}const T_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,xE=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Bd(r){return(r=String(r)).match(T_)||r.match(xE)?r:"unsafe:"+r}function x_(r){return(r=String(r)).split(",").map(s=>Bd(s.trim())).join(", ")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function ta(r){const s={};for(const c of r.split(","))s[c]=!0;return s}function hc(...r){const s={};for(const c of r)for(const h in c)c.hasOwnProperty(h)&&(s[h]=!0);return s}const M_=ta("area,br,col,hr,img,wbr"),w_=ta("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sf=ta("rp,rt"),P_=hc(M_,hc(w_,ta("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")),hc(sf,ta("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")),hc(sf,w_)),O_=ta("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lf=ta("srcset"),xs=hc(O_,lf,ta("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ta("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")),ME=ta("script,style,template");class fu{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(s){let c=s.firstChild,h=!0;for(;c;)if(c.nodeType===Node.ELEMENT_NODE?h=this.startElement(c):c.nodeType===Node.TEXT_NODE?this.chars(c.nodeValue):this.sanitizedSomething=!0,h&&c.firstChild)c=c.firstChild;else for(;c;){c.nodeType===Node.ELEMENT_NODE&&this.endElement(c);let _=this.checkClobberedElement(c,c.nextSibling);if(_){c=_;break}c=this.checkClobberedElement(c,c.parentNode)}return this.buf.join("")}startElement(s){const c=s.nodeName.toLowerCase();if(!P_.hasOwnProperty(c))return this.sanitizedSomething=!0,!ME.hasOwnProperty(c);this.buf.push("<"),this.buf.push(c);const h=s.attributes;for(let _=0;_<h.length;_++){const S=h.item(_),W=S.name,se=W.toLowerCase();if(!xs.hasOwnProperty(se)){this.sanitizedSomething=!0;continue}let we=S.value;O_[se]&&(we=Bd(we)),lf[se]&&(we=x_(we)),this.buf.push(" ",W,'="',I_(we),'"')}return this.buf.push(">"),!0}endElement(s){const c=s.nodeName.toLowerCase();P_.hasOwnProperty(c)&&!M_.hasOwnProperty(c)&&(this.buf.push("</"),this.buf.push(c),this.buf.push(">"))}chars(s){this.buf.push(I_(s))}checkClobberedElement(s,c){if(c&&(s.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${s.outerHTML}`);return c}}const uf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,A_=/([^\#-~ |!])/g;function I_(r){return r.replace(/&/g,"&amp;").replace(uf,function(s){return"&#"+(1024*(s.charCodeAt(0)-55296)+(s.charCodeAt(1)-56320)+65536)+";"}).replace(A_,function(s){return"&#"+s.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ud;function R_(r,s){let c=null;try{Ud=Ud||D_(r);let h=s?String(s):"";c=Ud.getInertBodyElement(h);let _=5,S=h;do{if(0===_)throw new Error("Failed to sanitize html because the input is unstable");_--,h=S,S=c.innerHTML,c=Ud.getInertBodyElement(h)}while(h!==S);return Bo((new fu).sanitizeChildren(Vd(c)||c))}finally{if(c){const h=Vd(c)||c;for(;h.firstChild;)h.removeChild(h.firstChild)}}}function Vd(r){return"content"in r&&function wE(r){return r.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===r.nodeName}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(r)?r.content:null}var cs=(()=>((cs=cs||{})[cs.NONE=0]="NONE",cs[cs.HTML=1]="HTML",cs[cs.STYLE=2]="STYLE",cs[cs.SCRIPT=3]="SCRIPT",cs[cs.URL=4]="URL",cs[cs.RESOURCE_URL=5]="RESOURCE_URL",cs))();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function df(r){const s=jd();return s?yE(s.sanitize(cs.HTML,r)||""):Xa(r,"HTML")?yE(Ja(r)):R_(Ur(),x(r))}function hf(r){const s=jd();return s?s.sanitize(cs.URL,r)||"":Xa(r,"URL")?Ja(r):Bd(x(r))}function jd(){const r=Gt();return r&&r[12]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function B_(r){return r.ngOriginalError}function uD(r,...s){r.error(...s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class mf{constructor(){this._console=console}handleError(s){const c=this._findOriginalError(s),h=function cD(r){return r&&r.ngErrorLogger||uD}(s);h(this._console,"ERROR",s),c&&h(this._console,"ORIGINAL ERROR",c)}_findOriginalError(s){let c=s&&B_(s);for(;c&&B_(c);)c=B_(c);return c||null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const pc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(yn))();function U_(r){return r.ownerDocument.defaultView}function bs(r){return r.ownerDocument}function Uo(r){return r instanceof Function?r():r}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function gf(r,s,c){let h=r.length;for(;;){const _=r.indexOf(s,c);if(-1===_)return _;if(0===_||r.charCodeAt(_-1)<=32){const S=s.length;if(_+S===h||r.charCodeAt(_+S)<=32)return _}c=_+1}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const zd="ng-template";function V_(r,s,c){let h=0;for(;h<r.length;){let _=r[h++];if(c&&"class"===_){if(_=r[h],-1!==gf(_.toLowerCase(),s,0))return!0}else if(1===_){for(;h<r.length&&"string"==typeof(_=r[h++]);)if(_.toLowerCase()===s)return!0;return!1}}return!1}function Aa(r){return 4===r.type&&r.value!==zd}function Wd(r,s,c){return s===(4!==r.type||c?r.value:zd)}function FE(r,s,c){let h=4;const _=r.attrs||[],S=function vf(r){for(let s=0;s<r.length;s++)if(sr(r[s]))return s;return r.length}(_);let W=!1;for(let se=0;se<s.length;se++){const we=s[se];if("number"!=typeof we){if(!W)if(4&h){if(h=2|1&h,""!==we&&!Wd(r,we,c)||""===we&&1===s.length){if(ia(h))return!1;W=!0}}else{const dt=8&h?we:s[++se];if(8&h&&null!==r.attrs){if(!V_(r.attrs,dt,c)){if(ia(h))return!1;W=!0}continue}const Yt=NE(8&h?"class":we,_,Aa(r),c);if(-1===Yt){if(ia(h))return!1;W=!0;continue}if(""!==dt){let ln;ln=Yt>S?"":_[Yt+1].toLowerCase();const Sn=8&h?ln:null;if(Sn&&-1!==gf(Sn,dt,0)||2&h&&dt!==ln){if(ia(h))return!1;W=!0}}}}else{if(!W&&!ia(h)&&!ia(we))return!1;if(W&&ia(we))continue;W=!1,h=we|1&h}}return ia(h)||W}function ia(r){return 0==(1&r)}function NE(r,s,c,h){if(null===s)return-1;let _=0;if(h||!c){let S=!1;for(;_<s.length;){const W=s[_];if(W===r)return _;if(3===W||6===W)S=!0;else{if(1===W||2===W){let se=s[++_];for(;"string"==typeof se;)se=s[++_];continue}if(4===W)break;if(0===W){_+=4;continue}}_+=S?1:2}return-1}return function yf(r,s){let c=r.indexOf(4);if(c>-1)for(c++;c<r.length;){const h=r[c];if("number"==typeof h)return-1;if(h===s)return c;c++}return-1}(s,r)}function hs(r,s,c=!1){for(let h=0;h<s.length;h++)if(FE(r,s[h],c))return!0;return!1}function BE(r,s){e:for(let c=0;c<s.length;c++){const h=s[c];if(r.length===h.length){for(let _=0;_<r.length;_++)if(r[_]!==h[_])continue e;return!0}}return!1}function yr(r,s){return r?":not("+s.trim()+")":s}function ao(r){let s=r[0],c=1,h=2,_="",S=!1;for(;c<r.length;){let W=r[c];if("string"==typeof W)if(2&h){const se=r[++c];_+="["+W+(se.length>0?'="'+se+'"':"")+"]"}else 8&h?_+="."+W:4&h&&(_+=" "+W);else""!==_&&!ia(W)&&(s+=yr(S,_),_=""),h=W,S=S||!ia(h);c++}return""!==_&&(s+=yr(S,_)),s}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const nr={};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function mu(r){jE(lr(),Gt(),Hr()+r,!1)}function jE(r,s,c,h){if(!h)if(3==(3&s[2])){const S=r.preOrderCheckHooks;null!==S&&zs(s,S,c)}else{const S=r.preOrderHooks;null!==S&&ui(s,S,0,c)}qr(c)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Yd(r,s){return r<<17|s<<2}function Vo(r){return r>>17&32767}function bf(r){return 2|r}function jo(r){return(131068&r)>>2}function G_(r,s){return-131069&r|s<<2}function Kd(r){return 1|r}function ev(r,s){const c=r.contentQueries;if(null!==c)for(let h=0;h<c.length;h+=2){const _=c[h],S=c[h+1];if(-1!==S){const W=r.data[S];di(_),W.contentQueries(2,s[S],S)}}}function Es(r,s,c,h,_,S,W,se,we,dt){const wt=s.blueprint.slice();return wt[0]=_,wt[2]=140|h,qe(wt),wt[3]=wt[15]=r,wt[8]=c,wt[10]=W||r&&r[10],wt[11]=se||r&&r[11],wt[12]=we||r&&r[12]||null,wt[9]=dt||r&&r[9]||null,wt[6]=S,wt[16]=2==s.type?r[16]:wt,wt}function Ol(r,s,c,h,_){let S=r.data[s];if(null===S)S=Mf(r,s,c,h,_),function ke(){return De.lFrame.inI18n}()&&(S.flags|=64);else if(64&S.type){S.type=c,S.value=h,S.attrs=_;const W=bo();S.injectorIndex=null===W?-1:W.injectorIndex}return fs(S,!0),S}function Mf(r,s,c,h,_){const S=bl(),W=_a(),we=r.data[s]=function eh(r,s,c,h,_,S){return{type:c,index:h,insertBeforeIndex:null,injectorIndex:s?s.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:_,attrs:S,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:s,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,W?S:S&&S.parent,c,s,h,_);return null===r.firstChild&&(r.firstChild=we),null!==S&&(W?null==S.child&&null!==we.parent&&(S.child=we):null===S.next&&(S.next=we)),we}function oa(r,s,c,h){if(0===c)return-1;const _=s.length;for(let S=0;S<c;S++)s.push(h),r.blueprint.push(h),r.data.push(null);return _}function Al(r,s,c){Qi(s);try{const h=r.viewQuery;null!==h&&ch(1,h,c);const _=r.template;null!==_&&Mo(r,s,_,1,c),r.firstCreatePass&&(r.firstCreatePass=!1),r.staticContentQueries&&ev(r,s),r.staticViewQueries&&ch(2,r.viewQuery,c);const S=r.components;null!==S&&function Pl(r,s){for(let c=0;c<s.length;c++)Rf(r,s[c])}(s,S)}catch(h){throw r.firstCreatePass&&(r.incompleteFirstPass=!0,r.firstCreatePass=!1),h}finally{s[2]&=-5,Or()}}function mc(r,s,c,h){const _=s[2];if(256!=(256&_)){Qi(s);try{qe(s),function ft(r){return De.lFrame.bindingIndex=r}(r.bindingStartIndex),null!==c&&Mo(r,s,c,2,h);const W=3==(3&_);if(W){const dt=r.preOrderCheckHooks;null!==dt&&zs(s,dt,null)}else{const dt=r.preOrderHooks;null!==dt&&ui(s,dt,0,null),Mi(s,0)}if(function ah(r){for(let s=Qp(r);null!==s;s=Kp(s)){if(!s[2])continue;const c=s[9];for(let h=0;h<c.length;h++){const _=c[h],S=_[3];0==(1024&_[2])&&Le(S,1),_[2]|=1024}}}(s),function If(r){for(let s=Qp(r);null!==s;s=Kp(s))for(let c=10;c<s.length;c++){const h=s[c],_=h[1];to(h)&&mc(_,h,_.template,h[8])}}(s),null!==r.contentQueries&&ev(r,s),W){const dt=r.contentCheckHooks;null!==dt&&zs(s,dt)}else{const dt=r.contentHooks;null!==dt&&ui(s,dt,1),Mi(s,1)}!function Ra(r,s){const c=r.hostBindingOpCodes;if(null!==c)try{for(let h=0;h<c.length;h++){const _=c[h];if(_<0)qr(~_);else{const S=_,W=c[++h],se=c[++h];zt(W,S),se(2,s[S])}}}finally{qr(-1)}}(r,s);const se=r.components;null!==se&&function ZE(r,s){for(let c=0;c<s.length;c++)Su(r,s[c])}(s,se);const we=r.viewQuery;if(null!==we&&ch(2,we,h),W){const dt=r.viewCheckHooks;null!==dt&&zs(s,dt)}else{const dt=r.viewHooks;null!==dt&&ui(s,dt,2),Mi(s,2)}!0===r.firstUpdatePass&&(r.firstUpdatePass=!1),s[2]&=-73,1024&s[2]&&(s[2]&=-1025,Le(s[3],-1))}finally{Or()}}}function Il(r,s,c,h){const _=s[10],W=vo(s);try{!W&&_.begin&&_.begin(),W&&Al(r,s,h),mc(r,s,c,h)}finally{!W&&_.end&&_.end()}}function Mo(r,s,c,h,_){const S=Hr(),W=2&h;try{qr(-1),W&&s.length>20&&jE(r,s,20,!1),c(h,_)}finally{qr(S)}}function ni(r,s,c){if(Ft(s)){const _=s.directiveEnd;for(let S=s.directiveStart;S<_;S++){const W=r.data[S];W.contentQueries&&W.contentQueries(1,c[S],S)}}}function Jd(r,s,c){!no()||(function t0(r,s,c,h){const _=c.directiveStart,S=c.directiveEnd;r.firstCreatePass||Ue(c,s),Us(h,s);const W=c.initialInputs;for(let se=_;se<S;se++){const we=r.data[se],dt=Bt(we);dt&&Cu(s,c,we);const wt=Ka(s,r,se,c);Us(wt,s),null!==W&&oh(0,se-_,wt,we,0,W),dt&&(Qr(c.index,s)[8]=wt)}}(r,s,c,xr(c,s)),128==(128&c.flags)&&function Of(r,s,c){const h=c.directiveStart,_=c.directiveEnd,W=c.index,se=function on(){return De.lFrame.currentDirectiveIndex}();try{qr(W);for(let we=h;we<_;we++){const dt=r.data[we],wt=s[we];an(we),(null!==dt.hostBindings||0!==dt.hostVars||null!==dt.hostAttrs)&&Af(dt,wt)}}finally{qr(-1),an(se)}}(r,s,c))}function Xd(r,s,c=xr){const h=s.localNames;if(null!==h){let _=s.index+1;for(let S=0;S<h.length;S+=2){const W=h[S+1],se=-1===W?c(s,r):r[W];r[_++]=se}}}function uo(r){const s=r.tView;return null===s||s.incompleteFirstPass?r.tView=Nr(1,null,r.template,r.decls,r.vars,r.directiveDefs,r.pipeDefs,r.viewQuery,r.schemas,r.consts):s}function Nr(r,s,c,h,_,S,W,se,we,dt){const wt=20+h,Yt=wt+_,ln=function gc(r,s){const c=[];for(let h=0;h<s;h++)c.push(h<r?null:nr);return c}(wt,Yt),Sn="function"==typeof dt?dt():dt;return ln[1]={type:r,blueprint:ln,template:c,queries:null,viewQuery:se,declTNode:s,data:ln.slice().fill(null,wt),bindingStartIndex:wt,expandoStartIndex:Yt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof S?S():S,pipeRegistry:"function"==typeof W?W():W,firstChild:null,schemas:we,consts:Sn,incompleteFirstPass:!1}}function vu(r,s,c,h){const _=rv(s);null===c?_.push(h):(_.push(c),r.firstCreatePass&&wo(r).push(h,_.length-1))}function il(r,s,c){for(let h in r)if(r.hasOwnProperty(h)){const _=r[h];(c=null===c?{}:c).hasOwnProperty(h)?c[h].push(s,_):c[h]=[s,_]}return c}function ns(r,s,c,h,_,S,W,se){const we=xr(s,c);let wt,dt=s.inputs;!se&&null!=dt&&(wt=dt[h])?(Qs(r,c,wt,h,_),En(s)&&function wf(r,s){const c=Qr(s,r);16&c[2]||(c[2]|=64)}(c,s.index)):3&s.type&&(h=function vc(r){return"class"===r?"className":"for"===r?"htmlFor":"formaction"===r?"formAction":"innerHtml"===r?"innerHTML":"readonly"===r?"readOnly":"tabindex"===r?"tabIndex":r}(h),_=null!=W?W(_,s.value||"",h):_,er(S)?S.setProperty(we,h,_):Gr(h)||(we.setProperty?we.setProperty(h,_):we[h]=_))}function ih(r,s,c,h){let _=!1;if(no()){const S=function Eu(r,s,c){const h=r.directiveRegistry;let _=null;if(h)for(let S=0;S<h.length;S++){const W=h[S];hs(c,W.selectors,!1)&&(_||(_=[]),fn(Ue(c,s),r,W.type),Bt(W)?(nv(r,c),_.unshift(W)):_.push(W))}return _}(r,s,c),W=null===h?null:{"":-1};if(null!==S){_=!0,Ys(c,r.data.length,S.length);for(let wt=0;wt<S.length;wt++){const Yt=S[wt];Yt.providersResolver&&Yt.providersResolver(Yt)}let se=!1,we=!1,dt=oa(r,s,S.length,null);for(let wt=0;wt<S.length;wt++){const Yt=S[wt];c.mergedAttrs=Dr(c.mergedAttrs,Yt.hostAttrs),Rl(r,c,s,dt,Yt),sh(dt,Yt,W),null!==Yt.contentQueries&&(c.flags|=8),(null!==Yt.hostBindings||null!==Yt.hostAttrs||0!==Yt.hostVars)&&(c.flags|=128);const ln=Yt.type.prototype;!se&&(ln.ngOnChanges||ln.ngOnInit||ln.ngDoCheck)&&((r.preOrderHooks||(r.preOrderHooks=[])).push(c.index),se=!0),!we&&(ln.ngOnChanges||ln.ngDoCheck)&&((r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(c.index),we=!0),dt++}!function th(r,s){const h=s.directiveEnd,_=r.data,S=s.attrs,W=[];let se=null,we=null;for(let dt=s.directiveStart;dt<h;dt++){const wt=_[dt],Yt=wt.inputs,ln=null===S||Aa(s)?null:yc(Yt,S);W.push(ln),se=il(Yt,dt,se),we=il(wt.outputs,dt,we)}null!==se&&(se.hasOwnProperty("class")&&(s.flags|=16),se.hasOwnProperty("style")&&(s.flags|=32)),s.initialInputs=W,s.inputs=se,s.outputs=we}(r,c)}W&&function rh(r,s,c){if(s){const h=r.localNames=[];for(let _=0;_<s.length;_+=2){const S=c[s[_+1]];if(null==S)throw new B(-301,!1);h.push(s[_],S)}}}(c,h,W)}return c.mergedAttrs=Dr(c.mergedAttrs,c.attrs),_}function bu(r,s,c,h,_,S){const W=S.hostBindings;if(W){let se=r.hostBindingOpCodes;null===se&&(se=r.hostBindingOpCodes=[]);const we=~s.index;(function e0(r){let s=r.length;for(;s>0;){const c=r[--s];if("number"==typeof c&&c<0)return c}return 0})(se)!=we&&se.push(we),se.push(h,_,W)}}function Af(r,s){null!==r.hostBindings&&r.hostBindings(1,s)}function nv(r,s){s.flags|=2,(r.components||(r.components=[])).push(s.index)}function sh(r,s,c){if(c){if(s.exportAs)for(let h=0;h<s.exportAs.length;h++)c[s.exportAs[h]]=r;Bt(s)&&(c[""]=r)}}function Ys(r,s,c){r.flags|=1,r.directiveStart=s,r.directiveEnd=s+c,r.providerIndexes=s}function Rl(r,s,c,h,_){r.data[h]=_;const S=_.factory||(_.factory=qt(_.type)),W=new nt(S,Bt(_),null);r.blueprint[h]=W,c[h]=W,bu(r,s,0,h,oa(r,c,_.hostVars,nr),_)}function Cu(r,s,c){const h=xr(s,r),_=uo(c),S=r[10],W=ka(r,Es(r,_,null,c.onPush?64:16,h,s,S,S.createRenderer(h,c),null,null));r[s.index]=W}function kl(r,s,c,h,_,S,W){if(null==S)er(r)?r.removeAttribute(s,_,c):s.removeAttribute(_);else{const se=null==W?x(S):W(S,h||"",_);er(r)?r.setAttribute(s,_,se,c):c?s.setAttributeNS(c,_,se):s.setAttribute(_,se)}}function oh(r,s,c,h,_,S){const W=S[s];if(null!==W){const se=h.setInput;for(let we=0;we<W.length;){const dt=W[we++],wt=W[we++],Yt=W[we++];null!==se?h.setInput(c,Yt,dt,wt):c[wt]=Yt}}}function yc(r,s){let c=null,h=0;for(;h<s.length;){const _=s[h];if(0!==_)if(5!==_){if("number"==typeof _)break;r.hasOwnProperty(_)&&(null===c&&(c=[]),c.push(_,r[_],s[h+1])),h+=2}else h+=2;else h+=4}return c}function bc(r,s,c,h){return new Array(r,!0,!1,s,null,0,h,c,null,null)}function Su(r,s){const c=Qr(s,r);if(to(c)){const h=c[1];80&c[2]?mc(h,c,h.template,c[8]):c[5]>0&&Vr(c)}}function Vr(r){for(let h=Qp(r);null!==h;h=Kp(h))for(let _=10;_<h.length;_++){const S=h[_];if(1024&S[2]){const W=S[1];mc(W,S,W.template,S[8])}else S[5]>0&&Vr(S)}const c=r[1].components;if(null!==c)for(let h=0;h<c.length;h++){const _=Qr(c[h],r);to(_)&&_[5]>0&&Vr(_)}}function Rf(r,s){const c=Qr(s,r),h=c[1];(function kf(r,s){for(let c=s.length;c<r.blueprint.length;c++)s.push(r.blueprint[c])})(h,c),Al(h,c,c[8])}function ka(r,s){return r[13]?r[14][4]=s:r[13]=s,r[14]=s,s}function aa(r){for(;r;){r[2]|=64;const s=hu(r);if(vn(r)&&!s)return r;r=s}return null}function Du(r){!function Ea(r){for(let s=0;s<r.components.length;s++){const c=r.components[s],h=Pd(c),_=h[1];Il(_,h,_.template,c)}}(r[8])}function ch(r,s,c){di(0),s(r,c)}const _i=(()=>Promise.resolve(null))();function rv(r){return r[7]||(r[7]=[])}function wo(r){return r.cleanup||(r.cleanup=[])}function uh(r,s,c){return(null===r||Bt(r))&&(c=function Hs(r){for(;Array.isArray(r);){if("object"==typeof r[1])return r;r=r[0]}return null}(c[s.index])),c[11]}function gr(r,s){const c=r[9],h=c?c.get(mf,null):null;h&&h.handleError(s)}function Qs(r,s,c,h,_){for(let S=0;S<c.length;){const W=c[S++],se=c[S++],we=s[W],dt=r.data[W];null!==dt.setInput?dt.setInput(we,_,h,se):we[se]=_}}function La(r,s,c){const h=mr(s,r);o_(r[11],h,c)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Tu(r,s,c){let h=c?r.styles:null,_=c?r.classes:null,S=0;if(null!==s)for(let W=0;W<s.length;W++){const se=s[W];"number"==typeof se?S=se:1==S?_=m(_,se):2==S&&(h=m(h,se+": "+s[++W]+";"))}c?r.styles=h:r.stylesWithoutHost=h,c?r.classes=_:r.classesWithoutHost=_}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Rn=new Zr("INJECTOR",-1);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Lf{get(s,c=Dd){if(c===Dd){const h=new Error(`NullInjectorError: No provider for ${b(s)}!`);throw h.name="NullInjectorError",h}return c}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const xu=new Zr("Set Injector scope."),Ec={},n0={};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let ov;function av(){return void 0===ov&&(ov=new Lf),ov}function Ff(r,s=null,c=null,h){const _=Nf(r,s,c,h);return _._resolveInjectorDefTypes(),_}function Nf(r,s=null,c=null,h){return new r0(r,c,s||av(),h)}class r0{constructor(s,c,h,_=null){this.parent=h,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const S=[];c&&No(c,se=>this.processProvider(se,s,c)),No([s],se=>this.processInjectorType(se,[],S)),this.records.set(Rn,Sc(void 0,this));const W=this.records.get(xu);this.scope=null!=W?W.value:null,this.source=_||("object"==typeof s?null:b(s))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(s=>s.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(s,c=Dd,h=Xe.Default){this.assertNotDestroyed();const _=Gg(this),S=he(void 0);try{if(!(h&Xe.SkipSelf)){let se=this.records.get(s);if(void 0===se){const we=function hh(r){return"function"==typeof r||"object"==typeof r&&r instanceof Zr}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(s)&&et(s);se=we&&this.injectableDefInScope(we)?Sc(Cc(s),Ec):null,this.records.set(s,se)}if(null!=se)return this.hydrate(s,se)}return(h&Xe.Self?av():this.parent).get(s,c=h&Xe.Optional&&c===Dd?null:c)}catch(W){if("NullInjectorError"===W.name){if((W[au]=W[au]||[]).unshift(b(s)),_)throw W;return function Zb(r,s,c,h){const _=r[au];throw s[Hg]&&_.unshift(s[Hg]),r.message=function Jb(r,s,c,h=null){r=r&&"\n"===r.charAt(0)&&"\u0275"==r.charAt(1)?r.substr(2):r;let _=b(s);if(Array.isArray(s))_=s.map(b).join(" -> ");else if("object"==typeof s){let S=[];for(let W in s)if(s.hasOwnProperty(W)){let se=s[W];S.push(W+":"+("string"==typeof se?JSON.stringify(se):b(se)))}_=`{${S.join(", ")}}`}return`${c}${h?"("+h+")":""}[${_}]: ${r.replace($g,"\n  ")}`}("\n"+r.message,_,c,h),r.ngTokenPath=_,r[au]=null,r}(W,s,"R3InjectorError",this.source)}throw W}finally{he(S),Gg(_)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(s=>this.get(s))}toString(){const s=[];return this.records.forEach((h,_)=>s.push(b(_))),`R3Injector[${s.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new B(205,!1)}processInjectorType(s,c,h){if(!(s=M(s)))return!1;let _=Qt(s);const S=null==_&&s.ngModule||void 0,W=void 0===S?s:S,se=-1!==h.indexOf(W);if(void 0!==S&&(_=Qt(S)),null==_)return!1;if(null!=_.imports&&!se){let wt;h.push(W);try{No(_.imports,Yt=>{this.processInjectorType(Yt,c,h)&&(void 0===wt&&(wt=[]),wt.push(Yt))})}finally{}if(void 0!==wt)for(let Yt=0;Yt<wt.length;Yt++){const{ngModule:ln,providers:Sn}=wt[Yt];No(Sn,$n=>this.processProvider($n,ln,Sn||wn))}}this.injectorDefTypes.add(W);const we=qt(W)||(()=>new W);this.records.set(W,Sc(we,Ec));const dt=_.providers;if(null!=dt&&!se){const wt=s;No(dt,Yt=>this.processProvider(Yt,wt,dt))}return void 0!==S&&void 0!==s.providers}processProvider(s,c,h){let _=Dc(s=M(s))?s:M(s&&s.provide);const S=function s0(r,s,c){return Bf(r)?Sc(void 0,r.useValue):Sc(Ss(r),Ec)}(s);if(Dc(s)||!0!==s.multi)this.records.get(_);else{let W=this.records.get(_);W||(W=Sc(void 0,Ec,!0),W.factory=()=>Wg(W.multi),this.records.set(_,W)),_=s,W.multi.push(s)}this.records.set(_,S)}hydrate(s,c){return c.value===Ec&&(c.value=n0,c.value=c.factory()),"object"==typeof c.value&&c.value&&function l0(r){return null!==r&&"object"==typeof r&&"function"==typeof r.ngOnDestroy}(c.value)&&this.onDestroy.add(c.value),c.value}injectableDefInScope(s){if(!s.providedIn)return!1;const c=M(s.providedIn);return"string"==typeof c?"any"===c||c===this.scope:this.injectorDefTypes.has(c)}}function Cc(r){const s=et(r),c=null!==s?s.factory:qt(r);if(null!==c)return c;if(r instanceof Zr)throw new B(204,!1);if(r instanceof Function)return function lv(r){const s=r.length;if(s>0)throw su(s,"?"),new B(204,!1);const c=function lt(r){const s=r&&(r[gt]||r[Je]);if(s){const c=function St(r){if(r.hasOwnProperty("name"))return r.name;const s=(""+r).match(/^function\s*([^\s(]+)/);return null===s?"":s[1]}(r);return console.warn(`DEPRECATED: DI is instantiating a token "${c}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${c}" class.`),s}return null}(r);return null!==c?()=>c.factory(r):()=>new r}(r);throw new B(204,!1)}function Ss(r,s,c){let h;if(Dc(r)){const _=M(r);return qt(_)||Cc(_)}if(Bf(r))h=()=>M(r.useValue);else if(function rn(r){return!(!r||!r.useFactory)}(r))h=()=>r.useFactory(...Wg(r.deps||[]));else if(function xn(r){return!(!r||!r.useExisting)}(r))h=()=>Ps(M(r.useExisting));else{const _=M(r&&(r.useClass||r.provide));if(!function a0(r){return!!r.deps}(r))return qt(_)||Cc(_);h=()=>new _(...Wg(r.deps))}return h}function Sc(r,s,c=!1){return{factory:r,value:s,multi:c?[]:void 0}}function Bf(r){return null!==r&&"object"==typeof r&&Kb in r}function Dc(r){return"function"==typeof r}let Ca=(()=>{class r{static create(c,h){var _;if(Array.isArray(c))return Ff({name:""},h,c,"");{const S=null!==(_=c.name)&&void 0!==_?_:"";return Ff({name:S},c.parent,c.providers,S)}}}
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return r.THROW_IF_NOT_FOUND=Dd,r.NULL=new Lf,r.\u0275prov=fe({token:r,providedIn:"any",factory:()=>Ps(Rn)}),r.__NG_ELEMENT_ID__=-1,r})();function mv(r,s){_s(Pd(r)[1],Kr())}function Gf(r){let s=
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function gv(r){return Object.getPrototypeOf(r.prototype).constructor}(r.type),c=!0;const h=[r];for(;s;){let _;if(Bt(r))_=s.\u0275cmp||s.\u0275dir;else{if(s.\u0275cmp)throw new B(903,"");_=s.\u0275dir}if(_){if(c){h.push(_);const W=r;W.inputs=zf(r.inputs),W.declaredInputs=zf(r.declaredInputs),W.outputs=zf(r.outputs);const se=_.hostBindings;se&&fh(r,se);const we=_.viewQuery,dt=_.contentQueries;if(we&&f0(r,we),dt&&m0(r,dt),v(r.inputs,_.inputs),v(r.declaredInputs,_.declaredInputs),v(r.outputs,_.outputs),Bt(_)&&_.data.animation){const wt=r.data;wt.animation=(wt.animation||[]).concat(_.data.animation)}}const S=_.features;if(S)for(let W=0;W<S.length;W++){const se=S[W];se&&se.ngInherit&&se(r),se===Gf&&(c=!1)}}s=Object.getPrototypeOf(s)}!function _v(r){let s=0,c=null;for(let h=r.length-1;h>=0;h--){const _=r[h];_.hostVars=s+=_.hostVars,_.hostAttrs=Dr(_.hostAttrs,c=Dr(c,_.hostAttrs))}}(h)}function zf(r){return r===In?{}:r===wn?[]:r}function f0(r,s){const c=r.viewQuery;r.viewQuery=c?(h,_)=>{s(h,_),c(h,_)}:s}function m0(r,s){const c=r.contentQueries;r.contentQueries=c?(h,_,S)=>{s(h,_,S),c(h,_,S)}:s}function fh(r,s){const c=r.hostBindings;r.hostBindings=c?(h,_)=>{s(h,_),c(h,_)}:s}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Nl=null;function Sa(){if(!Nl){const r=yn.Symbol;if(r&&r.iterator)Nl=r.iterator;else{const s=Object.getOwnPropertyNames(Map.prototype);for(let c=0;c<s.length;++c){const h=s[c];"entries"!==h&&"size"!==h&&Map.prototype[h]===Map.prototype.entries&&(Nl=h)}}}return Nl}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function wu(r){return!!gh(r)&&(Array.isArray(r)||!(r instanceof Map)&&Sa()in r)}function gh(r){return null!==r&&("function"==typeof r||"object"==typeof r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ba(r,s,c){return r[s]=c}function Ks(r,s,c){return!Object.is(r[s],c)&&(r[s]=c,!0)}function Ds(r,s,c,h){const _=Ks(r,s,c);return Ks(r,s+1,h)||_}function qs(r,s,c,h,_){const S=Ds(r,s,c,h);return Ks(r,s+2,_)||S}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function la(r,s,c,h){const _=Gt();return Ks(_,Q(),s)&&(lr(),function Sr(r,s,c,h,_,S){const W=xr(r,s);kl(s[11],W,S,r.value,c,h,_)}(Wi(),_,r,s,c,h)),la}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function ca(r,s,c,h){return Ks(r,Q(),c)?s+x(c)+h:nr}function sl(r,s,c,h,_,S){const se=Ds(r,io(),c,_);return K(2),se?s+x(c)+h+x(_)+S:nr}function Cv(r,s,c,h,_,S,W,se){const we=Gt(),dt=lr(),wt=r+20,Yt=dt.firstCreatePass?
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Er(r,s,c,h,_,S,W,se,we){const dt=s.consts,wt=Ol(s,r,4,W||null,Bs(dt,se));ih(s,c,wt,Bs(dt,we)),_s(s,wt);const Yt=wt.tViews=Nr(2,wt,h,_,S,s.directiveRegistry,s.pipeRegistry,null,s.schemas,dt);return null!==s.queries&&(s.queries.template(s,wt),Yt.queries=s.queries.embeddedTView(wt)),wt}(wt,dt,we,s,c,h,_,S,W):dt.data[wt];fs(Yt,!1);const ln=we[11].createComment("");Ad(dt,we,ln,Yt),Us(ln,we),ka(we,we[wt]=bc(ln,we,ln,Yt)),ye(Yt)&&Jd(dt,we,Yt),null!=W&&Xd(we,Yt,se)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Kf(r){return ds(function Oa(){return De.lFrame.contextLView}(),20+r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function ku(r,s=Xe.Default){const c=Gt();return null===c?Ps(r,s):Pi(Kr(),c,M(r),s)}function Pc(){throw new Error("invalid")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function xh(r,s,c){const h=Gt();return Ks(h,Q(),s)&&ns(lr(),Wi(),h,r,s,h[11],c,!1),xh}function Bl(r,s,c,h,_){const W=_?"class":"style";Qs(r,c,s.inputs[W],W,h)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ul(r,s,c,h){const _=Gt(),S=lr(),W=20+r,se=_[11],we=_[W]=qp(se,s,function so(){return De.lFrame.currentNamespace}()),dt=S.firstCreatePass?function Go(r,s,c,h,_,S,W){const se=s.consts,dt=Ol(s,r,2,_,Bs(se,S));return ih(s,c,dt,Bs(se,W)),null!==dt.attrs&&Tu(dt,dt.attrs,!1),null!==dt.mergedAttrs&&Tu(dt,dt.mergedAttrs,!0),null!==s.queries&&s.queries.elementStart(s,dt),dt}(W,S,_,0,s,c,h):S.data[W];fs(dt,!0);const wt=dt.mergedAttrs;null!==wt&&tr(se,we,wt);const Yt=dt.classes;null!==Yt&&v_(se,we,Yt);const ln=dt.styles;return null!==ln&&__(se,we,ln),64!=(64&dt.flags)&&Ad(S,_,we,dt),0===function pi(){return De.lFrame.elementDepthCount}()&&Us(we,_),function kr(){De.lFrame.elementDepthCount++}(),ye(dt)&&(Jd(S,_,dt),ni(S,dt,_)),null!==h&&Xd(_,dt),Ul}function Mh(){let r=Kr();_a()?va():(r=r.parent,fs(r,!1));const s=r;!function is(){De.lFrame.elementDepthCount--}();const c=lr();return c.firstCreatePass&&(_s(c,r),Ft(r)&&c.queries.elementEnd(r)),null!=s.classesWithoutHost&&function Gn(r){return 0!=(16&r.flags)}(s)&&Bl(c,s,Gt(),s.classesWithoutHost,!0),null!=s.stylesWithoutHost&&function ai(r){return 0!=(32&r.flags)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(s)&&Bl(c,s,Gt(),s.stylesWithoutHost,!1),Mh}function Lu(r,s,c,h){return Ul(r,s,c,h),Mh(),Lu}function wh(r,s,c){const h=Gt(),_=lr(),S=r+20,W=_.firstCreatePass?
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function ks(r,s,c,h,_){const S=s.consts,W=Bs(S,h),se=Ol(s,r,8,"ng-container",W);return null!==W&&Tu(se,W,!0),ih(s,c,se,Bs(S,_)),null!==s.queries&&s.queries.elementStart(s,se),se}(S,_,h,s,c):_.data[S];fs(W,!0);const se=h[S]=h[11].createComment("");return Ad(_,h,se,W),Us(se,h),ye(W)&&(Jd(_,h,W),ni(_,W,h)),null!=c&&Xd(h,W),wh}function Da(){let r=Kr();const s=lr();return _a()?va():(r=r.parent,fs(r,!1)),s.firstCreatePass&&(_s(s,r),Ft(r)&&s.queries.elementEnd(r)),Da}function Oc(r,s,c){return wh(r,s,c),Da(),Oc}function sm(){return Gt()}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ph(r){return!!r&&"function"==typeof r.then}function om(r){return!!r&&"function"==typeof r.subscribe}const am=om;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function lm(r,s,c,h){const _=Gt(),S=lr(),W=Kr();return Oo(S,_,_[11],W,r,s,!!c,h),lm}function cm(r,s){const c=Kr(),h=Gt(),_=lr();return Oo(_,h,uh(Cn(_.data),c,h),c,r,s,!1),cm}function Oo(r,s,c,h,_,S,W,se){const we=ye(h),wt=r.firstCreatePass&&wo(r),Yt=s[8],ln=rv(s);let Sn=!0;if(3&h.type||se){const si=xr(h,s),bi=se?se(si):si,Yn=ln.length,Ri=se?vr=>se(Lr(vr[h.index])):h.index;if(er(c)){let vr=null;if(!se&&we&&(vr=function Oh(r,s,c,h){const _=r.cleanup;if(null!=_)for(let S=0;S<_.length-1;S+=2){const W=_[S];if(W===c&&_[S+1]===h){const se=s[7],we=_[S+2];return se.length>we?se[we]:null}"string"==typeof W&&(S+=2)}return null}(r,s,_,h.index)),null!==vr)(vr.__ngLastListenerFn__||vr).__ngNextListenerFn__=S,vr.__ngLastListenerFn__=S,Sn=!1;else{S=um(h,s,Yt,S,!1);const Rr=c.listen(bi,_,S);ln.push(S,Rr),wt&&wt.push(_,Ri,Yn,Yn+1)}}else S=um(h,s,Yt,S,!0),bi.addEventListener(_,S,W),ln.push(S),wt&&wt.push(_,Ri,Yn,W)}else S=um(h,s,Yt,S,!1);const $n=h.outputs;let ii;if(Sn&&null!==$n&&(ii=$n[_])){const si=ii.length;if(si)for(let bi=0;bi<si;bi+=2){const ko=s[ii[bi]][ii[bi+1]].subscribe(S),za=ln.length;ln.push(S,ko),wt&&wt.push(_,h.index,za,-(za+1))}}}function Zs(r,s,c,h){try{return!1!==c(h)}catch(_){return gr(r,_),!1}}function um(r,s,c,h,_){return function S(W){if(W===Function)return h;const se=2&r.flags?Qr(r.index,s):s;0==(32&s[2])&&aa(se);let we=Zs(s,0,h,W),dt=S.__ngNextListenerFn__;for(;dt;)we=Zs(s,0,dt,W)&&we,dt=dt.__ngNextListenerFn__;return _&&!1===we&&(W.preventDefault(),W.returnValue=!1),we}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ah(r=1){return function $r(r){return(De.lFrame.contextLView=function rs(r,s){for(;r>0;)s=s[15],r--;return s}(r,De.lFrame.contextLView))[8]}(r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Vl(r,s){let c=null;const h=function ra(r){const s=r.attrs;if(null!=s){const c=s.indexOf(5);if(0==(1&c))return s[c+1]}return null}(r);for(let _=0;_<s.length;_++){const S=s[_];if("*"!==S){if(null===h?hs(r,S,!0):BE(h,S))return _}else c=_}return c}function dm(r){const s=Gt()[16][6];if(!s.projection){const h=s.projection=su(r?r.length:1,null),_=h.slice();let S=s.child;for(;null!==S;){const W=r?Vl(S,r):0;null!==W&&(_[W]?_[W].projectionNext=S:h[W]=S,_[W]=S),S=S.next}}}function hm(r,s=0,c){const h=Gt(),_=lr(),S=Ol(_,20+r,16,null,c||null);null===S.projection&&(S.projection=s),va(),64!=(64&S.flags)&&function g_(r,s,c){gE(s[11],0,s,c,u_(r,c,s),p_(c.parent||s[6],c,s))}(_,h,S)}function Fu(r,s,c){return Nu(r,"",s,"",c),Fu}function Nu(r,s,c,h,_){const S=Gt(),W=ca(S,s,c,h);return W!==nr&&ns(lr(),Wi(),S,r,W,S[11],_,!1),Nu}function Ta(r,s,c,h,_){const S=r[c+1],W=null===s;let se=h?Vo(S):jo(S),we=!1;for(;0!==se&&(!1===we||W);){const wt=r[se+1];kh(r[se],s)&&(we=!0,r[se+1]=h?Kd(wt):bf(wt)),se=h?Vo(wt):jo(wt)}we&&(r[c+1]=h?bf(S):Kd(S))}function kh(r,s){return null===r||null==s||(Array.isArray(r)?r[1]:r)===s||!(!Array.isArray(r)||"string"!=typeof s)&&rc(r,s)>=0}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Jr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xa(r){return r.substring(Jr.key,Jr.keyEnd)}function jl(r,s){const c=Jr.textEnd;return c===s?-1:(s=Jr.keyEnd=function S0(r,s,c){for(;s<c&&r.charCodeAt(s)>32;)s++;return s}(r,Jr.key=s,c),al(r,s,c))}function al(r,s,c){for(;s<c&&r.charCodeAt(s)<=32;)s++;return s}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function kc(r,s,c){return Ls(r,s,c,!1),kc}function Hl(r,s){return Ls(r,s,null,!0),Hl}function Vv(r){da(xo,Wo,r,!0)}function Wo(r,s){for(let c=function Ua(r){return function mm(r){Jr.key=0,Jr.keyEnd=0,Jr.value=0,Jr.valueEnd=0,Jr.textEnd=r.length}(r),jl(r,al(r,0,Jr.textEnd))}(s);c>=0;c=jl(s,c))xo(r,xa(s),!0)}function Ls(r,s,c,h){const _=Gt(),S=lr(),W=K(2);S.firstUpdatePass&&Lh(S,r,W,h),s!==nr&&Ks(_,W,s)&&ha(S,S.data[Hr()],_,_[11],r,_[W+1]=function PD(r,s){return null==r||("string"==typeof s?r+=s:"object"==typeof r&&(r=b(Ja(r)))),r}(s,c),h,W)}function da(r,s,c,h){const _=lr(),S=K(2);_.firstUpdatePass&&Lh(_,null,S,h);const W=Gt();if(c!==nr&&Ks(W,S,c)){const se=_.data[Hr()];if(T0(se,h)&&!jv(_,S)){let we=h?se.classesWithoutHost:se.stylesWithoutHost;null!==we&&(c=m(we,c||"")),Bl(_,se,W,c,h)}else!function Wv(r,s,c,h,_,S,W,se){_===nr&&(_=wn);let we=0,dt=0,wt=0<_.length?_[0]:null,Yt=0<S.length?S[0]:null;for(;null!==wt||null!==Yt;){const ln=we<_.length?_[we+1]:void 0,Sn=dt<S.length?S[dt+1]:void 0;let ii,$n=null;wt===Yt?(we+=2,dt+=2,ln!==Sn&&($n=Yt,ii=Sn)):null===Yt||null!==wt&&wt<Yt?(we+=2,$n=wt):(dt+=2,$n=Yt,ii=Sn),null!==$n&&ha(r,s,c,h,$n,ii,W,se),wt=we<_.length?_[we]:null,Yt=dt<S.length?S[dt]:null}}(_,se,W,W[11],W[S+1],W[S+1]=function ju(r,s,c){if(null==c||""===c)return wn;const h=[],_=Ja(c);if(Array.isArray(_))for(let S=0;S<_.length;S++)r(h,_[S],!0);else if("object"==typeof _)for(const S in _)_.hasOwnProperty(S)&&r(h,S,_[S]);else"string"==typeof _&&s(h,_);return h}(r,s,c),h,S)}}function jv(r,s){return s>=r.expandoStartIndex}function Lh(r,s,c,h){const _=r.data;if(null===_[c+1]){const S=_[Hr()],W=jv(r,c);T0(S,h)&&null===s&&!W&&(s=!1),s=function $v(r,s,c,h){const _=Cn(r);let S=h?s.residualClasses:s.residualStyles;if(null===_)0===(h?s.classBindings:s.styleBindings)&&(c=Lc(c=Fh(null,r,s,c,h),s.attrs,h),S=null);else{const W=s.directiveStylingLast;if(-1===W||r[W]!==_)if(c=Fh(_,r,s,c,h),null===S){let we=function Hv(r,s,c){const h=c?s.classBindings:s.styleBindings;if(0!==jo(h))return r[Vo(h)]}(r,s,h);void 0!==we&&Array.isArray(we)&&(we=Fh(null,r,s,we[1],h),we=Lc(we,s.attrs,h),function Gv(r,s,c,h){r[Vo(c?s.classBindings:s.styleBindings)]=h}(r,s,h,we))}else S=function zv(r,s,c){let h;const _=s.directiveEnd;for(let S=1+s.directiveStylingLast;S<_;S++)h=Lc(h,r[S].hostAttrs,c);return Lc(h,s.attrs,c)}(r,s,h)}return void 0!==S&&(h?s.residualClasses=S:s.residualStyles=S),c}(_,S,s,h),function C0(r,s,c,h,_,S){let W=S?s.classBindings:s.styleBindings,se=Vo(W),we=jo(W);r[h]=c;let wt,dt=!1;if(Array.isArray(c)){const Yt=c;wt=Yt[1],(null===wt||rc(Yt,wt)>0)&&(dt=!0)}else wt=c;if(_)if(0!==we){const ln=Vo(r[se+1]);r[h+1]=Yd(ln,se),0!==ln&&(r[ln+1]=G_(r[ln+1],h)),r[se+1]=function H_(r,s){return 131071&r|s<<17}(r[se+1],h)}else r[h+1]=Yd(se,0),0!==se&&(r[se+1]=G_(r[se+1],h)),se=h;else r[h+1]=Yd(we,0),0===se?se=h:r[we+1]=G_(r[we+1],h),we=h;dt&&(r[h+1]=bf(r[h+1])),Ta(r,wt,h,!0),Ta(r,wt,h,!1),function Nv(r,s,c,h,_){const S=_?r.residualClasses:r.residualStyles;null!=S&&"string"==typeof s&&rc(S,s)>=0&&(c[h+1]=Kd(c[h+1]))}(s,wt,r,h,S),W=Yd(se,we),S?s.classBindings=W:s.styleBindings=W}(_,S,s,c,W,h)}}function Fh(r,s,c,h,_){let S=null;const W=c.directiveEnd;let se=c.directiveStylingLast;for(-1===se?se=c.directiveStart:se++;se<W&&(S=s[se],h=Lc(h,S.hostAttrs,_),S!==r);)se++;return null!==r&&(c.directiveStylingLast=se),h}function Lc(r,s,c){const h=c?1:2;let _=-1;if(null!==s)for(let S=0;S<s.length;S++){const W=s[S];"number"==typeof W?_=W:_===h&&(Array.isArray(r)||(r=void 0===r?[]:["",r]),xo(r,W,!!c||s[++S]))}return void 0===r?null:r}function ha(r,s,c,h,_,S,W,se){if(!(3&s.type))return;const we=r.data,dt=we[se+1];_m(function Qd(r){return 1==(1&r)}(dt)?gm(we,s,c,_,jo(dt),W):void 0)||(_m(S)||function $_(r){return 2==(2&r)}(dt)&&(S=gm(we,null,c,_,se,W)),function nD(r,s,c,h,_){const S=er(r);if(s)_?S?r.addClass(c,h):c.classList.add(h):S?r.removeClass(c,h):c.classList.remove(h);else{let W=-1===h.indexOf("-")?void 0:ea.DashCase;if(null==_)S?r.removeStyle(c,h,W):c.style.removeProperty(h);else{const se="string"==typeof _&&_.endsWith("!important");se&&(_=_.slice(0,-10),W|=ea.Important),S?r.setStyle(c,h,_,W):c.style.setProperty(h,_,se?"important":"")}}}(h,W,mr(Hr(),c),_,S))}function gm(r,s,c,h,_,S){const W=null===s;let se;for(;_>0;){const we=r[_],dt=Array.isArray(we),wt=dt?we[1]:we,Yt=null===wt;let ln=c[_+1];ln===nr&&(ln=Yt?wn:void 0);let Sn=Yt?Np(ln,h):wt===h?ln:void 0;if(dt&&!_m(Sn)&&(Sn=Np(we,h)),_m(Sn)&&(se=Sn,W))return se;const $n=r[_+1];_=W?Vo($n):jo($n)}if(null!==s){let we=S?s.residualClasses:s.residualStyles;null!=we&&(se=Np(we,h))}return se}function _m(r){return void 0!==r}function T0(r,s){return 0!=(r.flags&(s?16:32))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Yv(r,s=""){const c=Gt(),h=lr(),_=r+20,S=h.firstCreatePass?Ol(h,_,1,s,null):h.data[_],W=c[_]=s_(c[11],s);Ad(h,c,W,S),fs(S,!1)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function $u(r){return pa("",r,""),$u}function pa(r,s,c){const h=Gt(),_=ca(h,r,s,c);return _!==nr&&La(h,Hr(),_),pa}function Hu(r,s,c,h,_){const S=Gt(),W=sl(S,r,s,c,h,_);return W!==nr&&La(S,Hr(),W),Hu}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Js(r,s,c){da(xo,Wo,ca(Gt(),r,s,c),!0)}function Fc(r,s,c,h,_){da(xo,Wo,sl(Gt(),r,s,c,h,_),!0)}function Kv(r,s,c,h,_,S,W){da(xo,Wo,function po(r,s,c,h,_,S,W,se){const dt=qs(r,io(),c,_,W);return K(3),dt?s+x(c)+h+x(_)+S+x(W)+se:nr}(Gt(),r,s,c,h,_,S,W),!0)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function os(r,s,c){const h=Gt();return Ks(h,Q(),s)&&ns(lr(),Wi(),h,r,s,h[11],c,!0),os}function Bc(r,s,c){const h=Gt();if(Ks(h,Q(),s)){const S=lr(),W=Wi();ns(S,W,h,r,s,uh(Cn(S.data),W,h),c,!0)}return Bc}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const cl=void 0;var Uc=["en",[["a","p"],["AM","PM"],cl],[["AM","PM"],cl,cl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],cl,[["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"]],cl,[["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}",cl,"{1} 'at' {0}",cl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Yo(r){const c=Math.floor(Math.abs(r)),h=r.toString().replace(/^[^.]*\.?/,"").length;return 1===c&&0===h?1:5}];
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let ul={};function Gu(r){const s=function Dm(r){return r.toLowerCase().replace(/_/g,"-")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(r);let c=Hh(s);if(c)return c;const h=s.split("-")[0];if(c=Hh(h),c)return c;if("en"===h)return Uc;throw new Error(`Missing locale data for the locale "${r}".`)}function $h(r){return Gu(r)[Fi.PluralCase]}function Hh(r){return r in ul||(ul[r]=yn.ng&&yn.ng.common&&yn.ng.common.locales&&yn.ng.common.locales[r]),ul[r]}var Fi=(()=>((Fi=Fi||{})[Fi.LocaleId=0]="LocaleId",Fi[Fi.DayPeriodsFormat=1]="DayPeriodsFormat",Fi[Fi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Fi[Fi.DaysFormat=3]="DaysFormat",Fi[Fi.DaysStandalone=4]="DaysStandalone",Fi[Fi.MonthsFormat=5]="MonthsFormat",Fi[Fi.MonthsStandalone=6]="MonthsStandalone",Fi[Fi.Eras=7]="Eras",Fi[Fi.FirstDayOfWeek=8]="FirstDayOfWeek",Fi[Fi.WeekendRange=9]="WeekendRange",Fi[Fi.DateFormat=10]="DateFormat",Fi[Fi.TimeFormat=11]="TimeFormat",Fi[Fi.DateTimeFormat=12]="DateTimeFormat",Fi[Fi.NumberSymbols=13]="NumberSymbols",Fi[Fi.NumberFormats=14]="NumberFormats",Fi[Fi.CurrencyCode=15]="CurrencyCode",Fi[Fi.CurrencySymbol=16]="CurrencySymbol",Fi[Fi.CurrencyName=17]="CurrencyName",Fi[Fi.Currencies=18]="Currencies",Fi[Fi.Directionality=19]="Directionality",Fi[Fi.PluralCase=20]="PluralCase",Fi[Fi.ExtraData=21]="ExtraData",Fi))();const Gh=["zero","one","two","few","many"],Wl="en-US",Ms={marker:"element"},Io={marker:"ICU"};var Ir=(()=>((Ir=Ir||{})[Ir.SHIFT=2]="SHIFT",Ir[Ir.APPEND_EAGERLY=1]="APPEND_EAGERLY",Ir[Ir.COMMENT=2]="COMMENT",Ir))();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let zh=Wl;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Qo(r,s,c){const h=s.insertBeforeIndex,_=Array.isArray(h)?h[0]:h;return null===_?Jp(r,0,c):Lr(c[_])}function $a(r,s,c,h,_){const S=s.insertBeforeIndex;if(Array.isArray(S)){let W=h,se=null;if(3&s.type||(se=W,W=_),null!==W&&0==(2&s.flags))for(let we=1;we<S.length;we++)Tl(r,W,c[S[we]],se,!1)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Yh(r,s){if(r.push(s),r.length>1)for(let c=r.length-2;c>=0;c--){const h=r[c];sy(h)||L0(h,s)&&null===F0(h)&&N0(h,s.index)}}function sy(r){return!(64&r.type)}function L0(r,s){return sy(s)||r.index>s.index}function F0(r){const s=r.insertBeforeIndex;return Array.isArray(s)?s[0]:s}function N0(r,s){const c=r.insertBeforeIndex;Array.isArray(c)?c[0]=s:(f_(Qo,$a),r.insertBeforeIndex=s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Yl(r,s){const c=r.data[s];return null===c||"string"==typeof c?null:c.hasOwnProperty("currentCaseLViewIndex")?c:c.value}function B0(r,s,c){const h=Mf(r,c,64,null,null);return Yh(s,h),h}function zu(r,s){const c=s[r.currentCaseLViewIndex];return null===c?c:c<0?~c:c}function Qh(r){return r>>>17}function ay(r){return(131070&r)>>>1}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let jc=0,Wu=0;function Mm(r,s,c,h){const _=c[11];let W,S=null;for(let se=0;se<s.length;se++){const we=s[se];if("string"==typeof we){const dt=s[++se];null===c[dt]&&(c[dt]=s_(_,we))}else if("number"==typeof we)switch(1&we){case 0:const dt=Qh(we);let wt,Yt;if(null===S&&(S=dt,W=Od(_,h)),dt===S?(wt=h,Yt=W):(wt=null,Yt=Lr(c[dt])),null!==Yt){const ii=ay(we);Tl(_,Yt,c[ii],wt,!1);const bi=Yl(r,ii);if(null!==bi&&"object"==typeof bi){const Yn=zu(bi,c);null!==Yn&&Mm(r,bi.create[Yn],c,c[bi.anchorIdx])}}break;case 1:const Sn=s[++se],$n=s[++se];kl(_,mr(we>>>1,c),null,null,Sn,$n,null)}else switch(we){case Io:const dt=s[++se],wt=s[++se];null===c[wt]&&Us(c[wt]=lE(_,dt),c);break;case Ms:const Yt=s[++se],ln=s[++se];null===c[ln]&&Us(c[ln]=qp(_,Yt,null),c)}}}function uy(r,s,c,h,_){for(let S=0;S<c.length;S++){const W=c[S],se=c[++S];if(W&_){let we="";for(let dt=S+1;dt<=S+se;dt++){const wt=c[dt];if("string"==typeof wt)we+=wt;else if("number"==typeof wt)if(wt<0)we+=x(s[h-wt]);else{const Yt=wt>>>2;switch(3&wt){case 1:const ln=c[++dt],Sn=c[++dt],$n=r.data[Yt];"string"==typeof $n?kl(s[11],s[Yt],null,$n,ln,we,Sn):ns(r,$n,s,ln,we,s[11],Sn,!1);break;case 0:const ii=s[Yt];null!==ii&&o_(s[11],ii,we);break;case 2:j0(r,Yl(r,Yt),s,we);break;case 3:_r(r,Yl(r,Yt),h,s)}}}}else{const we=c[S+1];if(we>0&&3==(3&we)){const wt=Yl(r,we>>>2);s[wt.currentCaseLViewIndex]<0&&_r(r,wt,h,s)}}S+=se}}function _r(r,s,c,h){let _=h[s.currentCaseLViewIndex];if(null!==_){let S=jc;_<0&&(_=h[s.currentCaseLViewIndex]=~_,S=-1),uy(r,h,s.update[_],c,S)}}function j0(r,s,c,h){const _=function Xs(r,s){let c=r.cases.indexOf(s);if(-1===c)switch(r.type){case 1:{const h=function Ao(r,s){const c=$h(s)(parseInt(r,10)),h=Gh[c];return void 0!==h?h:"other"}(s,function Wh(){return zh}());c=r.cases.indexOf(h),-1===c&&"other"!==h&&(c=r.cases.indexOf("other"));break}case 0:c=r.cases.indexOf("other")}return-1===c?null:c}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(s,h);if(zu(s,c)!==_&&(wm(r,s,c),c[s.currentCaseLViewIndex]=null===_?null:~_,null!==_)){const W=c[s.anchorIdx];W&&Mm(r,s.create[_],c,W)}}function wm(r,s,c){let h=zu(s,c);if(null!==h){const _=s.remove[h];for(let S=0;S<_.length;S++){const W=_[S];if(W>0){const se=mr(W,c);null!==se&&tf(c[11],se)}else wm(r,Yl(r,~W),c)}}}function $0(){const r=[];let c,h,s=-1;function S(se,we){s=0;const dt=zu(se,we);h=null!==dt?se.remove[dt]:wn}function W(){if(s<h.length){const se=h[s++];return se>0?c[se]:(r.push(s,h),S(c[1].data[~se],c),W())}return 0===r.length?null:(h=r.pop(),s=r.pop(),W())}return function _(se,we){for(c=we;r.length;)r.pop();return S(se.value,we),W}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Ha=/\ufffd(\d+):?\d*\ufffd/gi,py=/\ufffd(\d+)\ufffd/,Yu=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fy=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,G0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,z0=/\uE500/g;function Om(r,s,c,h,_,S,W){const se=oa(r,h,1,null);let we=se<<Ir.SHIFT,dt=bo();s===dt&&(dt=null),null===dt&&(we|=Ir.APPEND_EAGERLY),W&&(we|=Ir.COMMENT,function aE(r){void 0===Wp&&(Wp=r())}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */($0)),_.push(we,null===S?"":S);const wt=Mf(r,se,W?32:1,null===S?"":S,null);Yh(c,wt);const Yt=wt.index;return fs(wt,!1),null!==dt&&s!==dt&&function oy(r,s){let c=r.insertBeforeIndex;null===c?(f_(Qo,$a),c=r.insertBeforeIndex=[null,s]):(function ae(r,s,c){r!=s&&Se(c,r,s,"==")}(Array.isArray(c),!0,"Expecting array here"),c.push(s))}(dt,Yt),wt}function qh(r,s,c,h,_,S,W){const se=W.match(Ha),we=Om(r,s,c,S,h,se?null:W,!1);se&&dl(_,W,we.index,null,0,null)}function dl(r,s,c,h,_,S){const W=r.length,se=W+1;r.push(null,null);const we=W+2,dt=s.split(Ha);let wt=0;for(let Yt=0;Yt<dt.length;Yt++){const ln=dt[Yt];if(1&Yt){const Sn=_+parseInt(ln,10);r.push(-1-Sn),wt|=my(Sn)}else""!==ln&&r.push(ln)}return r.push(c<<2|(h?1:0)),h&&r.push(h,S),r[W]=wt,r[se]=r.length-we,wt}function my(r){return 1<<Math.min(r,31)}function hl(r){let s,S,c="",h=0,_=!1;for(;null!==(s=fy.exec(r));)_?s[0]===`\ufffd/*${S}\ufffd`&&(h=s.index,_=!1):(c+=r.substring(h,s.index+s[0].length),S=s[1],_=!0);return c+=r.substr(h),c}function _y(r,s,c,h,_,S){let W=0;const se={type:_.type,currentCaseLViewIndex:oa(r,s,1,null),anchorIdx:S,cases:[],create:[],remove:[],update:[]};(function Z0(r,s,c){r.push(my(s.mainBinding),2,-1-s.mainBinding,c<<2|2)})(c,_,S),function fo(r,s,c){const h=r.data[s];null===h?r.data[s]=c:h.value=c}(r,S,se);const we=_.values;for(let dt=0;dt<we.length;dt++){const wt=we[dt],Yt=[];for(let ln=0;ln<wt.length;ln++){const Sn=wt[ln];if("string"!=typeof Sn){const $n=Yt.push(Sn)-1;wt[ln]=`\x3c!--\ufffd${$n}\ufffd--\x3e`}}W=$c(r,se,s,c,h,_.cases[dt],wt.join(""),Yt)|W}W&&function J0(r,s,c){r.push(s,1,c<<2|3)}(c,W,S)}function vy(r){const s=[],c=[];let h=1,_=0;const S=Im(r=r.replace(Yu,function(W,se,we){return h="select"===we?0:1,_=parseInt(se.substr(1),10),""}));for(let W=0;W<S.length;){let se=S[W++].trim();1===h&&(se=se.replace(/\s*(?:=)?(\w+)\s*/,"$1")),se.length&&s.push(se);const we=Im(S[W++]);s.length>c.length&&c.push(we)}return{type:h,mainBinding:_,cases:s,values:c}}function Im(r){if(!r)return[];let s=0;const c=[],h=[],_=/[{}]/g;let S;for(_.lastIndex=0;S=_.exec(r);){const se=S.index;if("}"==S[0]){if(c.pop(),0==c.length){const we=r.substring(s,se);Yu.test(we)?h.push(vy(we)):h.push(we),s=se+1}}else{if(0==c.length){const we=r.substring(s,se);h.push(we),s=se+1}c.push("{")}}const W=r.substring(s);return h.push(W),h}function $c(r,s,c,h,_,S,W,se){const we=[],dt=[],wt=[];s.cases.push(S),s.create.push(we),s.remove.push(dt),s.update.push(wt);const ln=D_(Ur()).getInertBodyElement(W),Sn=Vd(ln)||ln;return Sn?yy(r,s,c,h,we,dt,wt,Sn,_,se,0):0}function yy(r,s,c,h,_,S,W,se,we,dt,wt){let Yt=0,ln=se.firstChild;for(;ln;){const Sn=oa(r,c,1,null);switch(ln.nodeType){case Node.ELEMENT_NODE:const $n=ln,ii=$n.tagName.toLowerCase();if(P_.hasOwnProperty(ii)){Rm(_,Ms,ii,we,Sn),r.data[Sn]=ii;const Ri=$n.attributes;for(let vr=0;vr<Ri.length;vr++){const Rr=Ri.item(vr),ko=Rr.name.toLowerCase();Rr.value.match(Ha)?xs.hasOwnProperty(ko)&&dl(W,Rr.value,Sn,Rr.name,0,O_[ko]?Bd:lf[ko]?x_:null):km(_,Sn,Rr)}Yt=yy(r,s,c,h,_,S,W,ln,Sn,dt,wt+1)|Yt,by(S,Sn,wt)}break;case Node.TEXT_NODE:const si=ln.textContent||"",bi=si.match(Ha);Rm(_,null,bi?"":si,we,Sn),by(S,Sn,wt),bi&&(Yt=dl(W,si,Sn,null,0,null)|Yt);break;case Node.COMMENT_NODE:const Yn=py.exec(ln.textContent||"");if(Yn){const vr=dt[parseInt(Yn[1],10)];Rm(_,Io,"",we,Sn),_y(r,c,h,we,vr,Sn),q0(S,Sn,wt)}}ln=ln.nextSibling}return Yt}function by(r,s,c){0===c&&r.push(s)}function q0(r,s,c){0===c&&(r.push(~s),r.push(s))}function Rm(r,s,c,h,_){null!==s&&r.push(s),r.push(c,_,function U0(r,s,c){return r|s<<17|c<<1}(0,h,_))}function km(r,s,c){r.push(s<<1|1,c.name,c.value)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const X0=/\[(\ufffd.+?\ufffd?)\]/,eC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,tC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,nC=/{([A-Z0-9_]+)}/g,Lm=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Cy=/\/\*/,iC=/\d+\:(\d+)/;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Fm(r,s,c=-1){const h=lr(),_=Gt(),S=20+r,W=Bs(h.consts,s),se=bo();h.firstCreatePass&&function Y0(r,s,c,h,_,S){const W=bo(),se=[],we=[],dt=[[]];_=function gy(r,s){if(function K0(r){return-1===r}(s))return hl(r);{const c=r.indexOf(`:${s}\ufffd`)+2+s.toString().length,h=r.search(new RegExp(`\ufffd\\/\\*\\d+:${s}\ufffd`));return hl(r.substring(c,h))}}(_,S);const wt=function W0(r){return r.replace(z0," ")}(_).split(G0);for(let Yt=0;Yt<wt.length;Yt++){let ln=wt[Yt];if(0==(1&Yt)){const Sn=Im(ln);for(let $n=0;$n<Sn.length;$n++){let ii=Sn[$n];if(0==(1&$n)){const si=ii;""!==si&&qh(r,W,dt[0],se,we,c,si)}else{const si=ii;if("object"!=typeof si)throw new Error(`Unable to parse ICU expression in "${_}" message.`);_y(r,c,we,s,si,Om(r,W,dt[0],c,se,"",!0).index)}}}else{const Sn=47===ln.charCodeAt(0),ii=(ln.charCodeAt(Sn?1:0),20+Number.parseInt(ln.substring(Sn?2:1)));if(Sn)dt.shift(),fs(bo(),!1);else{const si=B0(r,dt[0],ii);dt.unshift([]),fs(si,!0)}}}r.data[h]={create:se,update:we}}(h,null===se?0:se.index,_,S,W,c);const we=h.data[S],wt=Zp(h,se===_[6]?null:se,_);(function xm(r,s,c,h){const _=r[11];for(let S=0;S<s.length;S++){const W=s[S++],se=s[S],we=(W&Ir.COMMENT)===Ir.COMMENT,dt=(W&Ir.APPEND_EAGERLY)===Ir.APPEND_EAGERLY,wt=W>>>Ir.SHIFT;let Yt=r[wt];null===Yt&&(Yt=r[wt]=we?_.createComment(se):s_(_,se)),dt&&null!==c&&Tl(_,c,Yt,h,!1)}})(_,we.create,wt,se&&8&se.type?_[se.index]:null),Dt(!0)}function Nm(){Dt(!1)}function Dy(r,s,c){Fm(r,s,c),Nm()}function Zh(r){return function cy(r){r&&(jc|=1<<Math.min(Wu,31)),Wu++}(Ks(Gt(),Q(),r)),Zh}function xy(r){!function V0(r,s,c){if(Wu>0){const h=r.data[c];uy(r,s,Array.isArray(h)?h:h.update,io()-Wu-1,jc)}jc=0,Wu=0}(lr(),Gt(),r+20)}function Ku(r,s={}){return function Sy(r,s={}){let c=r;if(X0.test(r)){const h={},_=[0];c=c.replace(eC,(S,W,se)=>{const we=W||se,dt=h[we]||[];if(dt.length||(we.split("|").forEach(ii=>{const si=ii.match(iC),bi=si?parseInt(si[1],10):0,Yn=Cy.test(ii);dt.push([bi,Yn,ii])}),h[we]=dt),!dt.length)throw new Error(`i18n postprocess: unmatched placeholder - ${we}`);const wt=_[_.length-1];let Yt=0;for(let ii=0;ii<dt.length;ii++)if(dt[ii][0]===wt){Yt=ii;break}const[ln,Sn,$n]=dt[Yt];return Sn?_.pop():wt!==ln&&_.push(ln),dt.splice(Yt,1),$n})}return Object.keys(s).length&&(c=c.replace(tC,(h,_,S,W,se,we)=>s.hasOwnProperty(S)?`${_}${s[S]}${we}`:h),c=c.replace(nC,(h,_)=>s.hasOwnProperty(_)?s[_]:h),c=c.replace(Lm,(h,_)=>{if(s.hasOwnProperty(_)){const S=s[_];if(!S.length)throw new Error(`i18n postprocess: unmatched ICU - ${h} with key: ${_}`);return S.shift()}return h})),c}(r,s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Jh(r,s,c,h,_){if(r=M(r),Array.isArray(r))for(let S=0;S<r.length;S++)Jh(r[S],s,c,h,_);else{const S=lr(),W=Gt();let se=Dc(r)?r:M(r.provide),we=Ss(r);const dt=Kr(),wt=1048575&dt.providerIndexes,Yt=dt.directiveStart,ln=dt.providerIndexes>>20;if(Dc(r)||!r.multi){const Sn=new nt(we,_,ku),$n=Bm(se,s,_?wt:wt+ln,Yt);-1===$n?(fn(Ue(dt,W),S,se),Xh(S,r,s.length),s.push(se),dt.directiveStart++,dt.directiveEnd++,_&&(dt.providerIndexes+=1048576),c.push(Sn),W.push(Sn)):(c[$n]=Sn,W[$n]=Sn)}else{const Sn=Bm(se,s,wt+ln,Yt),$n=Bm(se,s,wt,wt+ln),ii=Sn>=0&&c[Sn],si=$n>=0&&c[$n];if(_&&!si||!_&&!ii){fn(Ue(dt,W),S,se);const bi=function Ii(r,s,c,h,_){const S=new nt(r,c,ku);return S.multi=[],S.index=s,S.componentProviders=0,wy(S,_,h&&!c),S}(_?sC:rC,c.length,_,h,we);!_&&si&&(c[$n].providerFactory=bi),Xh(S,r,s.length,0),s.push(se),dt.directiveStart++,dt.directiveEnd++,_&&(dt.providerIndexes+=1048576),c.push(bi),W.push(bi)}else Xh(S,r,Sn>-1?Sn:$n,wy(c[_?$n:Sn],we,!_&&h));!_&&h&&si&&c[$n].componentProviders++}}}function Xh(r,s,c,h){const _=Dc(s),S=function o0(r){return!!r.useClass}(s);if(_||S){const we=(S?M(s.useClass):s).prototype.ngOnDestroy;if(we){const dt=r.destroyHooks||(r.destroyHooks=[]);if(!_&&s.multi){const wt=dt.indexOf(c);-1===wt?dt.push(c,[h,we]):dt[wt+1].push(h,we)}else dt.push(c,we)}}}function wy(r,s,c){return c&&r.componentProviders++,r.multi.push(s)-1}function Bm(r,s,c,h){for(let _=c;_<h;_++)if(s[_]===r)return _;return-1}function rC(r,s,c,h){return ep(this.multi,[])}function sC(r,s,c,h){const _=this.multi;let S;if(this.providerFactory){const W=this.providerFactory.componentProviders,se=Ka(c,c[1],this.providerFactory.index,h);S=se.slice(0,W),ep(_,S);for(let we=W;we<se.length;we++)S.push(se[we])}else S=[],ep(_,S);return S}function ep(r,s){for(let c=0;c<r.length;c++)s.push((0,r[c])());return s}function Py(r,s=[]){return c=>{c.providersResolver=(h,_)=>function My(r,s,c){const h=lr();if(h.firstCreatePass){const _=Bt(r);Jh(c,h.data,h.blueprint,_,!0),Jh(s,h.data,h.blueprint,_,!1)}}(h,_?_(r):r,s)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Ma{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class oC{resolveComponentFactory(s){throw function Ay(r){const s=Error(`No component factory found for ${b(r)}. Did you add it to @NgModule.entryComponents?`);return s.ngComponent=r,s}(s)}}let Hc=(()=>{class r{}
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return r.NULL=new oC,r})();function aC(){return Gc(Kr(),Gt())}function Gc(r,s){return new qu(xr(r,s))}let qu=(()=>{class r{constructor(c){this.nativeElement=c}}return r.__NG_ELEMENT_ID__=aC,r})();function Um(r){return r instanceof qu?r.nativeElement:r}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class tp{}let cC=(()=>{class r{}return r.__NG_ELEMENT_ID__=()=>function uC(){const r=Gt(),c=Qr(Kr().index,r);return function Vm(r){return r[11]}(ut(c)?c:r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(),r})(),dC=(()=>{class r{}
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return r.\u0275prov=fe({token:r,providedIn:"root",factory:()=>null}),r})();class Ry{constructor(s){this.full=s,this.major=s.split(".")[0],this.minor=s.split(".")[1],this.patch=s.split(".").slice(2).join(".")}}const ky=new Ry("13.4.0"),jm={};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function np(r,s,c,h,_=!1){for(;null!==c;){const S=s[c.index];if(null!==S&&h.push(Lr(S)),Un(S))for(let se=10;se<S.length;se++){const we=S[se],dt=we[1].firstChild;null!==dt&&np(we[1],we,dt,h)}const W=c.type;if(8&W)np(r,s,c.child,h);else if(32&W){const se=Yp(c,s);let we;for(;we=se();)h.push(we)}else if(16&W){const se=m_(s,c);if(Array.isArray(se))h.push(...se);else{const we=hu(s[16]);np(we[1],we,se,h,!0)}}c=_?c.projectionNext:c.next}return h}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class zc{constructor(s,c){this._lView=s,this._cdRefInjectingView=c,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const s=this._lView,c=s[1];return np(c,s,c.firstChild,[])}get context(){return this._lView[8]}set context(s){this._lView[8]=s}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const s=this._lView[3];if(Un(s)){const c=s[8],h=c?c.indexOf(this):-1;h>-1&&(a_(s,h),Cd(c,h))}this._attachedToViewContainer=!1}l_(this._lView[1],this._lView)}onDestroy(s){vu(this._lView[1],this._lView,null,s)}markForCheck(){aa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Cs(r,s,c){const h=s[10];h.begin&&h.begin();try{mc(r,s,r.template,c)}catch(_){throw gr(s,_),_}finally{h.end&&h.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new B(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function uE(r,s){pu(r,s,s[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(s){if(this._attachedToViewContainer)throw new B(902,"");this._appRef=s}}class fa extends zc{constructor(s){super(s),this._view=s}detectChanges(){Du(this._view)}checkNoChanges(){}get context(){return null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Wc extends Hc{constructor(s){super(),this.ngModule=s}resolveComponentFactory(s){const c=Nt(s);return new Ql(c,this.ngModule)}}function Ly(r){const s=[];for(let c in r)r.hasOwnProperty(c)&&s.push({propName:r[c],templateName:c});return s}class Ql extends Ma{constructor(s,c){super(),this.componentDef=s,this.ngModule=c,this.componentType=s.type,this.selector=function UE(r){return r.map(ao).join(",")}(s.selectors),this.ngContentSelectors=s.ngContentSelectors?s.ngContentSelectors:[],this.isBoundToModule=!!c}get inputs(){return Ly(this.componentDef.inputs)}get outputs(){return Ly(this.componentDef.outputs)}create(s,c,h,_){const S=(_=_||this.ngModule)?function Zu(r,s){return{get:(c,h,_)=>{const S=r.get(c,jm,_);return S!==jm||h===jm?S:s.get(c,h,_)}}}(s,_.injector):s,W=S.get(tp,Ns),se=S.get(dC,null),we=W.createRenderer(null,this.componentDef),dt=this.componentDef.selectors[0][0]||"div",wt=h?function _u(r,s,c){if(er(r))return r.selectRootElement(s,c===vt.ShadowDom);let h="string"==typeof s?r.querySelector(s):s;return h.textContent="",h}(we,h,this.componentDef.encapsulation):qp(W.createRenderer(null,this.componentDef),dt,function hC(r){const s=r.toLowerCase();return"svg"===s?"svg":"math"===s?"math":null}(dt)),Yt=this.componentDef.onPush?576:528,ln=function Hf(r,s){return{components:[],scheduler:r||pc,clean:_i,playerHandler:s||null,flags:0}}(),Sn=Nr(0,null,null,1,0,null,null,null,null,null),$n=Es(null,Sn,ln,Yt,null,null,W,we,se,S);let ii,si;Qi($n);try{const bi=function Po(r,s,c,h,_,S){const W=c[1];c[20]=r;const we=Ol(W,20,2,"#host",null),dt=we.mergedAttrs=s.hostAttrs;null!==dt&&(Tu(we,dt,!0),null!==r&&(tr(_,r,dt),null!==we.classes&&v_(_,r,we.classes),null!==we.styles&&__(_,r,we.styles)));const wt=h.createRenderer(r,s),Yt=Es(c,uo(s),null,s.onPush?64:16,c[20],we,h,wt,S||null,null);return W.firstCreatePass&&(fn(Ue(we,c),W,s.type),nv(W,we),Ys(we,c.length,1)),ka(c,Yt),c[20]=Yt}(wt,this.componentDef,$n,W,we);if(wt)if(h)tr(we,wt,["ng-version",ky.full]);else{const{attrs:Yn,classes:Ri}=function VE(r){const s=[],c=[];let h=1,_=2;for(;h<r.length;){let S=r[h];if("string"==typeof S)2===_?""!==S&&s.push(S,r[++h]):8===_&&c.push(S);else{if(!ia(_))break;_=S}h++}return{attrs:s,classes:c}}(this.componentDef.selectors[0]);Yn&&tr(we,wt,Yn),Ri&&Ri.length>0&&v_(we,wt,Ri.join(" "))}if(si=_o(Sn,20),void 0!==c){const Yn=si.projection=[];for(let Ri=0;Ri<this.ngContentSelectors.length;Ri++){const vr=c[Ri];Yn.push(null!=vr?Array.from(vr):null)}}ii=function rl(r,s,c,h,_){const S=c[1],W=function XE(r,s,c){const h=Kr();r.firstCreatePass&&(c.providersResolver&&c.providersResolver(c),Rl(r,h,s,oa(r,s,1,null),c));const _=Ka(s,r,h.directiveStart,h);Us(_,s);const S=xr(h,s);return S&&Us(S,s),_}(S,c,s);if(h.components.push(W),r[8]=W,_&&_.forEach(we=>we(W,s)),s.contentQueries){const we=Kr();s.contentQueries(1,W,we.directiveStart)}const se=Kr();return!S.firstCreatePass||null===s.hostBindings&&null===s.hostAttrs||(qr(se.index),bu(c[1],se,0,se.directiveStart,se.directiveEnd,s),Af(s,W)),W}(bi,this.componentDef,$n,ln,[mv]),Al(Sn,$n,null)}finally{Or()}return new ip(this.componentType,ii,Gc(si,$n),$n,si)}}class ip extends class Oy{}{constructor(s,c,h,_,S){super(),this.location=h,this._rootLView=_,this._tNode=S,this.instance=c,this.hostView=this.changeDetectorRef=new fa(_),this.componentType=s}get injector(){return new Xl(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(s){this.hostView.onDestroy(s)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class wa{}class fr{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const ed=new Map;class Yc extends wa{constructor(s,c){super(),this._parent=c,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Wc(this);const h=Ln(s);this._bootstrapComponents=Uo(h.bootstrap),this._r3Injector=Nf(s,c,[{provide:wa,useValue:this},{provide:Hc,useValue:this.componentFactoryResolver}],b(s)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(s)}get(s,c=Ca.THROW_IF_NOT_FOUND,h=Xe.Default){return s===Ca||s===wa||s===Rn?this:this._r3Injector.get(s,c,h)}destroy(){const s=this._r3Injector;!s.destroyed&&s.destroy(),this.destroyCbs.forEach(c=>c()),this.destroyCbs=null}onDestroy(s){this.destroyCbs.push(s)}}class rp extends fr{constructor(s){super(),this.moduleType=s,null!==Ln(s)&&function Gm(r){const s=new Set;!function c(h){const _=Ln(h,!0),S=_.id;null!==S&&(function Hm(r,s,c){if(s&&s!==c)throw new Error(`Duplicate module registered for ${r} - ${b(s)} vs ${b(s.name)}`)}(S,ed.get(S),h),ed.set(S,h));const W=Uo(_.imports);for(const se of W)s.has(se)||(s.add(se),c(se))}(r)}(s)}create(s){return new Yc(this.moduleType,s)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ny(r,s,c){const h=es()+r,_=Gt();return _[h]===nr?Ba(_,h,c?s.call(c):s()):function _h(r,s){return r[s]}(_,h)}function pl(r,s,c,h){return zm(Gt(),es(),r,s,c,h)}function sp(r,s,c,h,_){return Vy(Gt(),es(),r,s,c,h,_)}function By(r,s,c,h,_,S){return Qc(Gt(),es(),r,s,c,h,_,S)}function td(r,s){const c=r[s];return c===nr?void 0:c}function zm(r,s,c,h,_,S){const W=s+c;return Ks(r,W,_)?Ba(r,W+1,S?h.call(S,_):h(_)):td(r,W+1)}function Vy(r,s,c,h,_,S,W){const se=s+c;return Ds(r,se,_,S)?Ba(r,se+2,W?h.call(W,_,S):h(_,S)):td(r,se+2)}function Qc(r,s,c,h,_,S,W,se){const we=s+c;return qs(r,we,_,S,W)?Ba(r,we+3,se?h.call(se,_,S,W):h(_,S,W)):td(r,we+3)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Ko(r,s){const c=lr();let h;const _=r+20;c.firstCreatePass?(h=function id(r,s){if(s)for(let c=s.length-1;c>=0;c--){const h=s[c];if(r===h.name)return h}}(s,c.pipeRegistry),c.data[_]=h,h.onDestroy&&(c.destroyHooks||(c.destroyHooks=[])).push(_,h.onDestroy)):h=c.data[_];const S=h.factory||(h.factory=qt(h.type)),W=he(ku);try{const se=Xo(!1),we=S();return Xo(se),function bh(r,s,c,h){c>=r.data.length&&(r.data[c]=null,r.blueprint[c]=null),s[c]=h}(c,Gt(),_,we),we}finally{he(W)}}function jy(r,s,c){const h=r+20,_=Gt(),S=ds(_,h);return Kc(_,h)?zm(_,es(),s,S.transform,c,S):S.transform(c)}function ap(r,s,c,h){const _=r+20,S=Gt(),W=ds(S,_);return Kc(S,_)?Vy(S,es(),s,W.transform,c,h,W):W.transform(c,h)}function Wm(r,s,c,h,_){const S=r+20,W=Gt(),se=ds(W,S);return Kc(W,S)?Qc(W,es(),s,se.transform,c,h,_,se):se.transform(c,h,_)}function Kc(r,s){return r[1].data[s].pure}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function lp(r){return s=>{setTimeout(r,void 0,s)}}const Pa=class vC extends a.xQ{constructor(s=!1){super(),this.__isAsync=s}emit(s){super.next(s)}subscribe(s,c,h){var _,S,W;let se=s,we=c||(()=>null),dt=h;if(s&&"object"==typeof s){const Yt=s;se=null===(_=Yt.next)||void 0===_?void 0:_.bind(Yt),we=null===(S=Yt.error)||void 0===S?void 0:S.bind(Yt),dt=null===(W=Yt.complete)||void 0===W?void 0:W.bind(Yt)}this.__isAsync&&(we=lp(we),se&&(se=lp(se)),dt&&(dt=lp(dt)));const wt=super.subscribe({next:se,error:we,complete:dt});return s instanceof i.w&&s.add(wt),wt}};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function yC(){return this._results[Sa()]()}class cp{constructor(s=!1){this._emitDistinctChangesOnly=s,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const c=Sa(),h=cp.prototype;h[c]||(h[c]=yC)}get changes(){return this._changes||(this._changes=new Pa)}get(s){return this._results[s]}map(s){return this._results.map(s)}filter(s){return this._results.filter(s)}find(s){return this._results.find(s)}reduce(s,c){return this._results.reduce(s,c)}forEach(s){this._results.forEach(s)}some(s){return this._results.some(s)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(s,c){const h=this;h.dirty=!1;const _=To(s);(this._changesDetected=!function zb(r,s,c){if(r.length!==s.length)return!1;for(let h=0;h<r.length;h++){let _=r[h],S=s[h];if(c&&(_=c(_),S=c(S)),S!==_)return!1}return!0}(h._results,_,c))&&(h._results=_,h.length=_.length,h.last=_[this.length-1],h.first=_[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let qc=(()=>{class r{}return r.__NG_ELEMENT_ID__=zy,r})();const Gy=qc,bC=class extends Gy{constructor(s,c,h){super(),this._declarationLView=s,this._declarationTContainer=c,this.elementRef=h}createEmbeddedView(s){const c=this._declarationTContainer.tViews,h=Es(this._declarationLView,c,s,16,null,c.declTNode,null,null,null,null);h[17]=this._declarationLView[this._declarationTContainer.index];const S=this._declarationLView[19];return null!==S&&(h[19]=S.createEmbeddedView(c)),Al(c,h,s),new zc(h)}};function zy(){return Ym(Kr(),Gt())}function Ym(r,s){return 4&r.type?new bC(s,r,Gc(r,s)):null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let up=(()=>{class r{}return r.__NG_ELEMENT_ID__=kD,r})();function kD(){return Yy(Kr(),Gt())}const Qm=up,Wy=class extends Qm{constructor(s,c,h){super(),this._lContainer=s,this._hostTNode=c,this._hostLView=h}get element(){return Gc(this._hostTNode,this._hostLView)}get injector(){return new Xl(this._hostTNode,this._hostLView)}get parentInjector(){const s=en(this._hostTNode,this._hostLView);if(Eo(s)){const c=ws(s,this._hostLView),h=vs(s);return new Xl(c[1].data[h+8],c)}return new Xl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(s){const c=EC(this._lContainer);return null!==c&&c[s]||null}get length(){return this._lContainer.length-10}createEmbeddedView(s,c,h){const _=s.createEmbeddedView(c||{});return this.insert(_,h),_}createComponent(s,c,h,_,S){const W=s&&!function iu(r){return"function"==typeof r}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(s);let se;if(W)se=c;else{const Yt=c||{};se=Yt.index,h=Yt.injector,_=Yt.projectableNodes,S=Yt.ngModuleRef}const we=W?s:new Ql(Nt(s)),dt=h||this.parentInjector;if(!S&&null==we.ngModule){const ln=(W?dt:this.parentInjector).get(wa,null);ln&&(S=ln)}const wt=we.create(dt,_,void 0,S);return this.insert(wt.hostView,se),wt}insert(s,c){const h=s._lView,_=h[1];if(function yo(r){return Un(r[3])}(h)){const wt=this.indexOf(s);if(-1!==wt)this.detach(wt);else{const Yt=h[3],ln=new Wy(Yt,Yt[6],Yt[3]);ln.detach(ln.indexOf(s))}}const S=this._adjustIndex(c),W=this._lContainer;!function dE(r,s,c,h){const _=10+h,S=c.length;h>0&&(c[_-1][4]=s),h<S-10?(s[4]=c[_],Ed(c,10+h,s)):(c.push(s),s[4]=null),s[3]=c;const W=s[17];null!==W&&c!==W&&function hE(r,s){const c=r[9];s[16]!==s[3][3][16]&&(r[2]=!0),null===c?r[9]=[s]:c.push(s)}(W,s);const se=s[19];null!==se&&se.insertView(r),s[2]|=128}(_,h,W,S);const se=ef(S,W),we=h[11],dt=Od(we,W[7]);return null!==dt&&function cE(r,s,c,h,_,S){h[0]=_,h[6]=s,pu(r,h,c,1,_,S)}(_,W[6],we,h,dt,se),s.attachToViewContainerRef(),Ed(Km(W),S,s),s}move(s,c){return this.insert(s,c)}indexOf(s){const c=EC(this._lContainer);return null!==c?c.indexOf(s):-1}remove(s){const c=this._adjustIndex(s,-1),h=a_(this._lContainer,c);h&&(Cd(Km(this._lContainer),c),l_(h[1],h))}detach(s){const c=this._adjustIndex(s,-1),h=a_(this._lContainer,c);return h&&null!=Cd(Km(this._lContainer),c)?new zc(h):null}_adjustIndex(s,c=0){return null==s?this.length+c:s}};function EC(r){return r[8]}function Km(r){return r[8]||(r[8]=[])}function Yy(r,s){let c;const h=s[r.index];if(Un(h))c=h;else{let _;if(8&r.type)_=Lr(h);else{const S=s[11];_=S.createComment("");const W=xr(r,s);Tl(S,Od(S,W),_,function mE(r,s){return er(r)?r.nextSibling(s):s.nextSibling}(S,W),!1)}s[r.index]=c=bc(h,s,_,r),ka(s,c)}return new Wy(c,r,s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class rd{constructor(s){this.queryList=s,this.matches=null}clone(){return new rd(this.queryList)}setDirty(){this.queryList.setDirty()}}class qm{constructor(s=[]){this.queries=s}createEmbeddedView(s){const c=s.queries;if(null!==c){const h=null!==s.contentQueries?s.contentQueries[0]:c.length,_=[];for(let S=0;S<h;S++){const W=c.getByIndex(S);_.push(this.queries[W.indexInDeclarationView].clone())}return new qm(_)}return null}insertView(s){this.dirtyQueriesWithMatches(s)}detachView(s){this.dirtyQueriesWithMatches(s)}dirtyQueriesWithMatches(s){for(let c=0;c<this.queries.length;c++)null!==Xy(s,c).matches&&this.queries[c].setDirty()}}class Zm{constructor(s,c,h=null){this.predicate=s,this.flags=c,this.read=h}}class Jm{constructor(s=[]){this.queries=s}elementStart(s,c){for(let h=0;h<this.queries.length;h++)this.queries[h].elementStart(s,c)}elementEnd(s){for(let c=0;c<this.queries.length;c++)this.queries[c].elementEnd(s)}embeddedTView(s){let c=null;for(let h=0;h<this.length;h++){const _=null!==c?c.length:0,S=this.getByIndex(h).embeddedTView(s,_);S&&(S.indexInDeclarationView=h,null!==c?c.push(S):c=[S])}return null!==c?new Jm(c):null}template(s,c){for(let h=0;h<this.queries.length;h++)this.queries[h].template(s,c)}getByIndex(s){return this.queries[s]}get length(){return this.queries.length}track(s){this.queries.push(s)}}class dp{constructor(s,c=-1){this.metadata=s,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=c}elementStart(s,c){this.isApplyingToNode(c)&&this.matchTNode(s,c)}elementEnd(s){this._declarationNodeIndex===s.index&&(this._appliesToNextNode=!1)}template(s,c){this.elementStart(s,c)}embeddedTView(s,c){return this.isApplyingToNode(s)?(this.crossesNgTemplate=!0,this.addMatch(-s.index,c),new dp(this.metadata)):null}isApplyingToNode(s){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const c=this._declarationNodeIndex;let h=s.parent;for(;null!==h&&8&h.type&&h.index!==c;)h=h.parent;return c===(null!==h?h.index:-1)}return this._appliesToNextNode}matchTNode(s,c){const h=this.metadata.predicate;if(Array.isArray(h))for(let _=0;_<h.length;_++){const S=h[_];this.matchTNodeWithReadOption(s,c,Qy(c,S)),this.matchTNodeWithReadOption(s,c,So(c,s,S,!1,!1))}else h===qc?4&c.type&&this.matchTNodeWithReadOption(s,c,-1):this.matchTNodeWithReadOption(s,c,So(c,s,h,!1,!1))}matchTNodeWithReadOption(s,c,h){if(null!==h){const _=this.metadata.read;if(null!==_)if(_===qu||_===up||_===qc&&4&c.type)this.addMatch(c.index,-2);else{const S=So(c,s,_,!1,!1);null!==S&&this.addMatch(c.index,S)}else this.addMatch(c.index,h)}}addMatch(s,c){null===this.matches?this.matches=[s,c]:this.matches.push(s,c)}}function Qy(r,s){const c=r.localNames;if(null!==c)for(let h=0;h<c.length;h+=2)if(c[h]===s)return c[h+1];return null}function DC(r,s,c,h){return-1===c?function Ky(r,s){return 11&r.type?Gc(r,s):4&r.type?Ym(r,s):null}(s,r):-2===c?function TC(r,s,c){return c===qu?Gc(s,r):c===qc?Ym(s,r):c===up?Yy(s,r):void 0}(r,s,h):Ka(r,r[1],c,s)}function qy(r,s,c,h){const _=s[19].queries[h];if(null===_.matches){const S=r.data,W=c.matches,se=[];for(let we=0;we<W.length;we+=2){const dt=W[we];se.push(dt<0?null:DC(s,S[dt],W[we+1],c.metadata.read))}_.matches=se}return _.matches}function Xm(r,s,c,h){const _=r.queries.getByIndex(c),S=_.matches;if(null!==S){const W=qy(r,s,_,c);for(let se=0;se<S.length;se+=2){const we=S[se];if(we>0)h.push(W[se/2]);else{const dt=S[se+1],wt=s[-we];for(let Yt=10;Yt<wt.length;Yt++){const ln=wt[Yt];ln[17]===ln[3]&&Xm(ln[1],ln,dt,h)}if(null!==wt[9]){const Yt=wt[9];for(let ln=0;ln<Yt.length;ln++){const Sn=Yt[ln];Xm(Sn[1],Sn,dt,h)}}}}}return h}function hp(r){const s=Gt(),c=lr(),h=Fn();di(h+1);const _=Xy(c,h);if(r.dirty&&vo(s)===(2==(2&_.metadata.flags))){if(null===_.matches)r.reset([]);else{const S=_.crossesNgTemplate?Xm(c,s,h,[]):qy(c,s,_,h);r.reset(S,Um),r.notifyOnChanges()}return!0}return!1}function Zy(r,s,c){const h=lr();h.firstCreatePass&&(Jy(h,new Zm(r,s,c),-1),2==(2&s)&&(h.staticViewQueries=!0)),Ga(h,Gt(),s)}function xC(r,s,c,h){const _=lr();if(_.firstCreatePass){const S=Kr();Jy(_,new Zm(s,c,h),S.index),function MC(r,s){const c=r.contentQueries||(r.contentQueries=[]);s!==(c.length?c[c.length-1]:-1)&&c.push(r.queries.length-1,s)}(_,r),2==(2&c)&&(_.staticContentQueries=!0)}Ga(_,Gt(),c)}function pp(){return function eg(r,s){return r[19].queries[s].queryList}(Gt(),Fn())}function Ga(r,s,c){const h=new cp(4==(4&c));vu(r,s,h,h.destroy),null===s[19]&&(s[19]=new qm),s[19].queries.push(new rd(h))}function Jy(r,s,c){null===r.queries&&(r.queries=new Jm),r.queries.track(new dp(s,c))}function Xy(r,s){return r.queries.getByIndex(s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function eb(r,s){return Ym(r,s)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const UC=yd("Input",r=>({bindingPropertyName:r})),VC=yd("Output",r=>({bindingPropertyName:r}));
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Ep(...r){}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const db=new Zr("Application Initializer");let lg=(()=>{class r{constructor(c){this.appInits=c,this.resolve=Ep,this.reject=Ep,this.initialized=!1,this.done=!1,this.donePromise=new Promise((h,_)=>{this.resolve=h,this.reject=_})}runInitializers(){if(this.initialized)return;const c=[],h=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let _=0;_<this.appInits.length;_++){const S=this.appInits[_]();if(Ph(S))c.push(S);else if(am(S)){const W=new Promise((se,we)=>{S.subscribe({complete:se,error:we})});c.push(W)}}Promise.all(c).then(()=>{h()}).catch(_=>{this.reject(_)}),0===c.length&&h(),this.initialized=!0}}return r.\u0275fac=function(c){return new(c||r)(Ps(db,8))},r.\u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const hb=new Zr("AppId",{providedIn:"root",factory:function pb(){return`${cg()}${cg()}${cg()}`}});function cg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const fb=new Zr("Platform Initializer"),$C=new Zr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),mb=new Zr("appBootstrapListener");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let HC=(()=>{class r{log(c){console.log(c)}warn(c){console.warn(c)}}return r.\u0275fac=function(c){return new(c||r)},r.\u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"platform"}),r})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const ad=new Zr("LocaleId",{providedIn:"root",factory:()=>Vp(ad,Xe.Optional|Xe.SkipSelf)||function GC(){return"undefined"!=typeof $localize&&$localize.locale||Wl}()}),zC=new Zr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class YC{constructor(s,c){this.ngModuleFactory=s,this.componentFactories=c}}let gl=(()=>{class r{compileModuleSync(c){return new rp(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const h=this.compileModuleSync(c),S=Uo(Ln(c).declarations).reduce((W,se)=>{const we=Nt(se);return we&&W.push(new Ql(we)),W},[]);return new YC(h,S)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}}return r.\u0275fac=function(c){return new(c||r)},r.\u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const ug=(()=>Promise.resolve(0))();function Cp(r){"undefined"==typeof Zone?ug.then(()=>{r&&r.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",r)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class ma{constructor({enableLongStackTrace:s=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:h=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pa(!1),this.onMicrotaskEmpty=new Pa(!1),this.onStable=new Pa(!1),this.onError=new Pa(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const _=this;_._nesting=0,_._outer=_._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(_._inner=_._inner.fork(new Zone.TaskTrackingZoneSpec)),s&&Zone.longStackTraceZoneSpec&&(_._inner=_._inner.fork(Zone.longStackTraceZoneSpec)),_.shouldCoalesceEventChangeDetection=!h&&c,_.shouldCoalesceRunChangeDetection=h,_.lastRequestAnimationFrameId=-1,_.nativeRequestAnimationFrame=function QC(){let r=yn.requestAnimationFrame,s=yn.cancelAnimationFrame;if("undefined"!=typeof Zone&&r&&s){const c=r[Zone.__symbol__("OriginalDelegate")];c&&(r=c);const h=s[Zone.__symbol__("OriginalDelegate")];h&&(s=h)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function vb(r){const s=()=>{!function hg(r){r.isCheckStableRunning||-1!==r.lastRequestAnimationFrameId||(r.lastRequestAnimationFrameId=r.nativeRequestAnimationFrame.call(yn,()=>{r.fakeTopEventTask||(r.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{r.lastRequestAnimationFrameId=-1,Sp(r),r.isCheckStableRunning=!0,dg(r),r.isCheckStableRunning=!1},void 0,()=>{},()=>{})),r.fakeTopEventTask.invoke()}),Sp(r))}(r)};r._inner=r._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(c,h,_,S,W,se)=>{try{return Kl(r),c.invokeTask(_,S,W,se)}finally{(r.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||r.shouldCoalesceRunChangeDetection)&&s(),ld(r)}},onInvoke:(c,h,_,S,W,se,we)=>{try{return Kl(r),c.invoke(_,S,W,se,we)}finally{r.shouldCoalesceRunChangeDetection&&s(),ld(r)}},onHasTask:(c,h,_,S)=>{c.hasTask(_,S),h===_&&("microTask"==S.change?(r._hasPendingMicrotasks=S.microTask,Sp(r),dg(r)):"macroTask"==S.change&&(r.hasPendingMacrotasks=S.macroTask))},onHandleError:(c,h,_,S)=>(c.handleError(_,S),r.runOutsideAngular(()=>r.onError.emit(S)),!1)})}(_)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ma.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ma.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(s,c,h){return this._inner.run(s,c,h)}runTask(s,c,h,_){const S=this._inner,W=S.scheduleEventTask("NgZoneEvent: "+_,s,KC,Ep,Ep);try{return S.runTask(W,c,h)}finally{S.cancelTask(W)}}runGuarded(s,c,h){return this._inner.runGuarded(s,c,h)}runOutsideAngular(s){return this._outer.run(s)}}const KC={};function dg(r){if(0==r._nesting&&!r.hasPendingMicrotasks&&!r.isStable)try{r._nesting++,r.onMicrotaskEmpty.emit(null)}finally{if(r._nesting--,!r.hasPendingMicrotasks)try{r.runOutsideAngular(()=>r.onStable.emit(null))}finally{r.isStable=!0}}}function Sp(r){r.hasPendingMicrotasks=!!(r._hasPendingMicrotasks||(r.shouldCoalesceEventChangeDetection||r.shouldCoalesceRunChangeDetection)&&-1!==r.lastRequestAnimationFrameId)}function Kl(r){r._nesting++,r.isStable&&(r.isStable=!1,r.onUnstable.emit(null))}function ld(r){r._nesting--,dg(r)}class qC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pa,this.onMicrotaskEmpty=new Pa,this.onStable=new Pa,this.onError=new Pa}run(s,c,h){return s.apply(c,h)}runGuarded(s,c,h){return s.apply(c,h)}runOutsideAngular(s){return s()}runTask(s,c,h,_){return s.apply(c,h)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let yb=(()=>{class r{constructor(c){this._ngZone=c,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),c.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ma.assertNotInAngularZone(),Cp(()=>{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())Cp(()=>{for(;0!==this._callbacks.length;){let c=this._callbacks.pop();clearTimeout(c.timeoutId),c.doneCb(this._didWork)}this._didWork=!1});else{let c=this.getPendingTasks();this._callbacks=this._callbacks.filter(h=>!h.updateCb||!h.updateCb(c)||(clearTimeout(h.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(c=>({source:c.source,creationLocation:c.creationLocation,data:c.data})):[]}addCallback(c,h,_){let S=-1;h&&h>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(W=>W.timeoutId!==S),c(this._didWork,this.getPendingTasks())},h)),this._callbacks.push({doneCb:c,timeoutId:S,updateCb:_})}whenStable(c,h,_){if(_&&!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(c,h,_),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(c,h,_){return[]}}return r.\u0275fac=function(c){return new(c||r)(Ps(ma))},r.\u0275prov=fe({token:r,factory:r.\u0275fac}),r})(),bb=(()=>{class r{constructor(){this._applications=new Map,pg.addToWindow(this)}registerApplication(c,h){this._applications.set(c,h)}unregisterApplication(c){this._applications.delete(c)}unregisterAllApplications(){this._applications.clear()}getTestability(c){return this._applications.get(c)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(c,h=!0){return pg.findTestabilityInTree(this,c,h)}}return r.\u0275fac=function(c){return new(c||r)},r.\u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"platform"}),r})();class ZC{addToWindow(s){}findTestabilityInTree(s,c,h){return null}}function JC(r){pg=r}let pg=new ZC,_l=null;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const cd=new Zr("AllowMultipleToken"),fg=new Zr("PlatformOnDestroy");class tS{constructor(s,c){this.name=s,this.token=c}}function ud(r,s,c=[]){const h=`Platform: ${s}`,_=new Zr(h);return(S=[])=>{let W=Dp();if(!W||W.injector.get(cd,!1)){const se=[...c,...S,{provide:_,useValue:!0}];r?r(se):function mg(r){if(_l&&!_l.get(cd,!1))throw new B(400,"");_l=r;const s=r.get(Cb),c=r.get(fb,null);c&&c.forEach(h=>h())}(function nS(r=[],s){return Ca.create({name:s,providers:[{provide:xu,useValue:"platform"},{provide:fg,useValue:()=>_l=null},...r]})}(se,h))}return function Eb(r){const s=Dp();if(!s)throw new B(401,"");return s}()}}function Dp(){var r;return null!==(r=null==_l?void 0:_l.get(Cb))&&void 0!==r?r:null}let Cb=(()=>{class r{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,h){const se=function Sb(r,s){let c;return c="noop"===r?new qC:("zone.js"===r?void 0:r)||new ma({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==s?void 0:s.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==s?void 0:s.ngZoneRunCoalescing)}),c}(h?h.ngZone:void 0,{ngZoneEventCoalescing:h&&h.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:h&&h.ngZoneRunCoalescing||!1}),we=[{provide:ma,useValue:se}];return se.run(()=>{const dt=Ca.create({providers:we,parent:this.injector,name:c.moduleType.name}),wt=c.create(dt),Yt=wt.injector.get(mf,null);if(!Yt)throw new B(402,"");return se.runOutsideAngular(()=>{const ln=se.onError.subscribe({next:Sn=>{Yt.handleError(Sn)}});wt.onDestroy(()=>{xp(this._modules,wt),ln.unsubscribe()})}),function iS(r,s,c){try{const h=c();return Ph(h)?h.catch(_=>{throw s.runOutsideAngular(()=>r.handleError(_)),_}):h}catch(h){throw s.runOutsideAngular(()=>r.handleError(h)),h}}(Yt,se,()=>{const ln=wt.injector.get(lg);return ln.runInitializers(),ln.donePromise.then(()=>(function Vc(r){(function it(r,s){null==r&&Se(s,r,null,"!=")})(r,"Expected localeId to be defined"),"string"==typeof r&&(zh=r.toLowerCase().replace(/_/g,"-"))}(wt.injector.get(ad,Wl)||Wl),this._moduleDoBootstrap(wt),wt))})})}bootstrapModule(c,h=[]){const _=Db({},h);return function XC(r,s,c){const h=new rp(c);return Promise.resolve(h)}(0,0,c).then(S=>this.bootstrapModuleFactory(S,_))}_moduleDoBootstrap(c){const h=c.injector.get(Tp);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(_=>h.bootstrap(_));else{if(!c.instance.ngDoBootstrap)throw new B(403,"");c.instance.ngDoBootstrap(h)}this._modules.push(c)}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new B(404,"");this._modules.slice().forEach(h=>h.destroy()),this._destroyListeners.forEach(h=>h());const c=this._injector.get(fg,null);null==c||c(),this._destroyed=!0}get destroyed(){return this._destroyed}}return r.\u0275fac=function(c){return new(c||r)(Ps(Ca))},r.\u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"platform"}),r})();function Db(r,s){return Array.isArray(s)?s.reduce(Db,r):Object.assign(Object.assign({},r),s)}let Tp=(()=>{class r{constructor(c,h,_,S){this._zone=c,this._injector=h,this._exceptionHandler=_,this._initStatus=S,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const W=new d.y(we=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{we.next(this._stable),we.complete()})}),se=new d.y(we=>{let dt;this._zone.runOutsideAngular(()=>{dt=this._zone.onStable.subscribe(()=>{ma.assertNotInAngularZone(),Cp(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,we.next(!0))})})});const wt=this._zone.onUnstable.subscribe(()=>{ma.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{we.next(!1)}))});return()=>{dt.unsubscribe(),wt.unsubscribe()}});this.isStable=(0,p.T)(W,se.pipe((0,C.B)()))}bootstrap(c,h){if(!this._initStatus.done)throw new B(405,"");let _;_=c instanceof Ma?c:this._injector.get(Hc).resolveComponentFactory(c),this.componentTypes.push(_.componentType);const S=function eS(r){return r.isBoundToModule}(_)?void 0:this._injector.get(wa),se=_.create(Ca.NULL,[],h||_.selector,S),we=se.location.nativeElement,dt=se.injector.get(yb,null),wt=dt&&se.injector.get(bb);return dt&&wt&&wt.registerApplication(we,dt),se.onDestroy(()=>{this.detachView(se.hostView),xp(this.components,se),wt&&wt.unregisterApplication(we)}),this._loadComponent(se),se}tick(){if(this._runningTick)throw new B(101,"");try{this._runningTick=!0;for(let c of this._views)c.detectChanges()}catch(c){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(c))}finally{this._runningTick=!1}}attachView(c){const h=c;this._views.push(h),h.attachToAppRef(this)}detachView(c){const h=c;xp(this._views,h),h.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c),this._injector.get(mb,[]).concat(this._bootstrapListeners).forEach(_=>_(c))}ngOnDestroy(){this._views.slice().forEach(c=>c.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return r.\u0275fac=function(c){return new(c||r)(Ps(ma),Ps(Ca),Ps(mf),Ps(lg))},r.\u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();function xp(r,s){const c=r.indexOf(s);c>-1&&r.splice(c,1)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let gg=!0,_g=!1;function xb(){return _g=!0,gg}function sS(){if(_g)throw new Error("Cannot enable prod mode after platform setup.");gg=!1}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let wb=(()=>{class r{}return r.__NG_ELEMENT_ID__=vg,r})();function vg(r){return function Pb(r,s,c){if(En(r)&&!c){const h=Qr(r.index,s);return new zc(h,h)}return 47&r.type?new zc(s[16],s):null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(Kr(),Gt(),16==(16&r))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Rb{constructor(){}supports(s){return wu(s)}create(s){return new gS(s)}}const mS=(r,s)=>s;class gS{constructor(s){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=s||mS}forEachItem(s){let c;for(c=this._itHead;null!==c;c=c._next)s(c)}forEachOperation(s){let c=this._itHead,h=this._removalsHead,_=0,S=null;for(;c||h;){const W=!h||c&&c.currentIndex<Zl(h,_,S)?c:h,se=Zl(W,_,S),we=W.currentIndex;if(W===h)_--,h=h._nextRemoved;else if(c=c._next,null==W.previousIndex)_++;else{S||(S=[]);const dt=se-_,wt=we-_;if(dt!=wt){for(let ln=0;ln<dt;ln++){const Sn=ln<S.length?S[ln]:S[ln]=0,$n=Sn+ln;wt<=$n&&$n<dt&&(S[ln]=Sn+1)}S[W.previousIndex]=wt-dt}}se!==we&&s(W,se,we)}}forEachPreviousItem(s){let c;for(c=this._previousItHead;null!==c;c=c._nextPrevious)s(c)}forEachAddedItem(s){let c;for(c=this._additionsHead;null!==c;c=c._nextAdded)s(c)}forEachMovedItem(s){let c;for(c=this._movesHead;null!==c;c=c._nextMoved)s(c)}forEachRemovedItem(s){let c;for(c=this._removalsHead;null!==c;c=c._nextRemoved)s(c)}forEachIdentityChange(s){let c;for(c=this._identityChangesHead;null!==c;c=c._nextIdentityChange)s(c)}diff(s){if(null==s&&(s=[]),!wu(s))throw new B(900,"");return this.check(s)?this:null}onDestroy(){}check(s){this._reset();let _,S,W,c=this._itHead,h=!1;if(Array.isArray(s)){this.length=s.length;for(let se=0;se<this.length;se++)S=s[se],W=this._trackByFn(se,S),null!==c&&Object.is(c.trackById,W)?(h&&(c=this._verifyReinsertion(c,S,W,se)),Object.is(c.item,S)||this._addIdentityChange(c,S)):(c=this._mismatch(c,S,W,se),h=!0),c=c._next}else _=0,function g0(r,s){if(Array.isArray(r))for(let c=0;c<r.length;c++)s(r[c]);else{const c=r[Sa()]();let h;for(;!(h=c.next()).done;)s(h.value)}}(s,se=>{W=this._trackByFn(_,se),null!==c&&Object.is(c.trackById,W)?(h&&(c=this._verifyReinsertion(c,se,W,_)),Object.is(c.item,se)||this._addIdentityChange(c,se)):(c=this._mismatch(c,se,W,_),h=!0),c=c._next,_++}),this.length=_;return this._truncate(c),this.collection=s,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let s;for(s=this._previousItHead=this._itHead;null!==s;s=s._next)s._nextPrevious=s._next;for(s=this._additionsHead;null!==s;s=s._nextAdded)s.previousIndex=s.currentIndex;for(this._additionsHead=this._additionsTail=null,s=this._movesHead;null!==s;s=s._nextMoved)s.previousIndex=s.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(s,c,h,_){let S;return null===s?S=this._itTail:(S=s._prev,this._remove(s)),null!==(s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null))?(Object.is(s.item,c)||this._addIdentityChange(s,c),this._reinsertAfter(s,S,_)):null!==(s=null===this._linkedRecords?null:this._linkedRecords.get(h,_))?(Object.is(s.item,c)||this._addIdentityChange(s,c),this._moveAfter(s,S,_)):s=this._addAfter(new _S(c,h),S,_),s}_verifyReinsertion(s,c,h,_){let S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null);return null!==S?s=this._reinsertAfter(S,s._prev,_):s.currentIndex!=_&&(s.currentIndex=_,this._addToMoves(s,_)),s}_truncate(s){for(;null!==s;){const c=s._next;this._addToRemovals(this._unlink(s)),s=c}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(s,c,h){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(s);const _=s._prevRemoved,S=s._nextRemoved;return null===_?this._removalsHead=S:_._nextRemoved=S,null===S?this._removalsTail=_:S._prevRemoved=_,this._insertAfter(s,c,h),this._addToMoves(s,h),s}_moveAfter(s,c,h){return this._unlink(s),this._insertAfter(s,c,h),this._addToMoves(s,h),s}_addAfter(s,c,h){return this._insertAfter(s,c,h),this._additionsTail=null===this._additionsTail?this._additionsHead=s:this._additionsTail._nextAdded=s,s}_insertAfter(s,c,h){const _=null===c?this._itHead:c._next;return s._next=_,s._prev=c,null===_?this._itTail=s:_._prev=s,null===c?this._itHead=s:c._next=s,null===this._linkedRecords&&(this._linkedRecords=new bg),this._linkedRecords.put(s),s.currentIndex=h,s}_remove(s){return this._addToRemovals(this._unlink(s))}_unlink(s){null!==this._linkedRecords&&this._linkedRecords.remove(s);const c=s._prev,h=s._next;return null===c?this._itHead=h:c._next=h,null===h?this._itTail=c:h._prev=c,s}_addToMoves(s,c){return s.previousIndex===c||(this._movesTail=null===this._movesTail?this._movesHead=s:this._movesTail._nextMoved=s),s}_addToRemovals(s){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bg),this._unlinkedRecords.put(s),s.currentIndex=null,s._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=s,s._prevRemoved=null):(s._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=s),s}_addIdentityChange(s,c){return s.item=c,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=s:this._identityChangesTail._nextIdentityChange=s,s}}class _S{constructor(s,c){this.item=s,this.trackById=c,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 vS{constructor(){this._head=null,this._tail=null}add(s){null===this._head?(this._head=this._tail=s,s._nextDup=null,s._prevDup=null):(this._tail._nextDup=s,s._prevDup=this._tail,s._nextDup=null,this._tail=s)}get(s,c){let h;for(h=this._head;null!==h;h=h._nextDup)if((null===c||c<=h.currentIndex)&&Object.is(h.trackById,s))return h;return null}remove(s){const c=s._prevDup,h=s._nextDup;return null===c?this._head=h:c._nextDup=h,null===h?this._tail=c:h._prevDup=c,null===this._head}}class bg{constructor(){this.map=new Map}put(s){const c=s.trackById;let h=this.map.get(c);h||(h=new vS,this.map.set(c,h)),h.add(s)}get(s,c){const _=this.map.get(s);return _?_.get(s,c):null}remove(s){const c=s.trackById;return this.map.get(c).remove(s)&&this.map.delete(c),s}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Zl(r,s,c){const h=r.previousIndex;if(null===h)return h;let _=0;return c&&h<c.length&&(_=c[h]),h+s+_
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}class Eg{constructor(){}supports(s){return s instanceof Map||gh(s)}create(){return new kb}}class kb{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(s){let c;for(c=this._mapHead;null!==c;c=c._next)s(c)}forEachPreviousItem(s){let c;for(c=this._previousMapHead;null!==c;c=c._nextPrevious)s(c)}forEachChangedItem(s){let c;for(c=this._changesHead;null!==c;c=c._nextChanged)s(c)}forEachAddedItem(s){let c;for(c=this._additionsHead;null!==c;c=c._nextAdded)s(c)}forEachRemovedItem(s){let c;for(c=this._removalsHead;null!==c;c=c._nextRemoved)s(c)}diff(s){if(s){if(!(s instanceof Map||gh(s)))throw new B(900,"")}else s=new Map;return this.check(s)?this:null}onDestroy(){}check(s){this._reset();let c=this._mapHead;if(this._appendAfter=null,this._forEach(s,(h,_)=>{if(c&&c.key===_)this._maybeAddToChanges(c,h),this._appendAfter=c,c=c._next;else{const S=this._getOrCreateRecordForKey(_,h);c=this._insertBeforeOrAppend(c,S)}}),c){c._prev&&(c._prev._next=null),this._removalsHead=c;for(let h=c;null!==h;h=h._nextRemoved)h===this._mapHead&&(this._mapHead=null),this._records.delete(h.key),h._nextRemoved=h._next,h.previousValue=h.currentValue,h.currentValue=null,h._prev=null,h._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(s,c){if(s){const h=s._prev;return c._next=s,c._prev=h,s._prev=c,h&&(h._next=c),s===this._mapHead&&(this._mapHead=c),this._appendAfter=s,s}return this._appendAfter?(this._appendAfter._next=c,c._prev=this._appendAfter):this._mapHead=c,this._appendAfter=c,null}_getOrCreateRecordForKey(s,c){if(this._records.has(s)){const _=this._records.get(s);this._maybeAddToChanges(_,c);const S=_._prev,W=_._next;return S&&(S._next=W),W&&(W._prev=S),_._next=null,_._prev=null,_}const h=new yS(s);return this._records.set(s,h),h.currentValue=c,this._addToAdditions(h),h}_reset(){if(this.isDirty){let s;for(this._previousMapHead=this._mapHead,s=this._previousMapHead;null!==s;s=s._next)s._nextPrevious=s._next;for(s=this._changesHead;null!==s;s=s._nextChanged)s.previousValue=s.currentValue;for(s=this._additionsHead;null!=s;s=s._nextAdded)s.previousValue=s.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(s,c){Object.is(c,s.currentValue)||(s.previousValue=s.currentValue,s.currentValue=c,this._addToChanges(s))}_addToAdditions(s){null===this._additionsHead?this._additionsHead=this._additionsTail=s:(this._additionsTail._nextAdded=s,this._additionsTail=s)}_addToChanges(s){null===this._changesHead?this._changesHead=this._changesTail=s:(this._changesTail._nextChanged=s,this._changesTail=s)}_forEach(s,c){s instanceof Map?s.forEach(c):Object.keys(s).forEach(h=>c(s[h],h))}}class yS{constructor(s){this.key=s,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Cg(){return new Ap([new Rb])}let Ap=(()=>{class r{constructor(c){this.factories=c}static create(c,h){if(null!=h){const _=h.factories.slice();c=c.concat(_)}return new r(c)}static extend(c){return{provide:r,useFactory:h=>r.create(c,h||Cg()),deps:[[r,new lc,new ac]]}}find(c){const h=this.factories.find(_=>_.supports(c));if(null!=h)return h;throw new B(901,"")}}return r.\u0275prov=fe({token:r,providedIn:"root",factory:Cg}),r})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function Lb(){return new Sg([new Eg])}let Sg=(()=>{class r{constructor(c){this.factories=c}static create(c,h){if(h){const _=h.factories.slice();c=c.concat(_)}return new r(c)}static extend(c){return{provide:r,useFactory:h=>r.create(c,h||Lb()),deps:[[r,new lc,new ac]]}}find(c){const h=this.factories.find(S=>S.supports(c));if(h)return h;throw new B(901,"")}}
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return r.\u0275prov=fe({token:r,providedIn:"root",factory:Lb}),r})();const DS=ud(null,"core",[]);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let TS=(()=>{class r{constructor(c){}}return r.\u0275fac=function(c){return new(c||r)(Ps(Tp))},r.\u0275mod=jt({type:r}),r.\u0275inj=He({}),r})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,96158:(ze,G,l)=>{"use strict";l.r(G),l.d(G,{NgElement:()=>ge,VERSION:()=>$e,createCustomElement:()=>Ve});var a=l(5e3),i=l(8929),d=l(30341),p=l(42654),C=l(57770),f=l(95279),v=l(45283);class b extends i.xQ{constructor(Ee=Number.POSITIVE_INFINITY,Ie=Number.POSITIVE_INFINITY,Re){super(),this.scheduler=Re,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Ee<1?1:Ee,this._windowTime=Ie<1?1:Ie,Ie===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Ee){const Ie=this._events;Ie.push(Ee),Ie.length>this._bufferSize&&Ie.shift(),super.next(Ee)}nextTimeWindow(Ee){this._events.push(new m(this._getNow(),Ee)),this._trimBufferThenGetEvents(),super.next(Ee)}_subscribe(Ee){const Ie=this._infiniteTimeWindow,Re=Ie?this._events:this._trimBufferThenGetEvents(),Ge=this.scheduler,it=Re.length;let Se;if(this.closed)throw new f.N;if(this.isStopped||this.hasError?Se=p.w.EMPTY:(this.observers.push(Ee),Se=new v.W(this,Ee)),Ge&&Ee.add(Ee=new C.ht(Ee,Ge)),Ie)for(let Z=0;Z<it&&!Ee.closed;Z++)Ee.next(Re[Z]);else for(let Z=0;Z<it&&!Ee.closed;Z++)Ee.next(Re[Z].value);return this.hasError?Ee.error(this.thrownError):this.isStopped&&Ee.complete(),Se}_getNow(){return(this.scheduler||d.c).now()}_trimBufferThenGetEvents(){const Ee=this._getNow(),Ie=this._bufferSize,Re=this._windowTime,Ge=this._events,it=Ge.length;let Se=0;for(;Se<it&&!(Ee-Ge[Se].time<Re);)Se++;return it>Ie&&(Se=Math.max(Se,it-Ie)),Se>0&&Ge.splice(0,Se),Ge}}class m{constructor(Ee,Ie){this.time=Ee,this.value=Ie}}var I=l(36787),L=l(87545),M=l(24850);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const D={schedule(Be,Ee){const Ie=setTimeout(Be,Ee);return()=>clearTimeout(Ie)},scheduleBeforeRender(Be){if("undefined"==typeof window)return D.schedule(Be,0);if(void 0===window.requestAnimationFrame)return D.schedule(Be,16);const Ee=window.requestAnimationFrame(Be);return()=>window.cancelAnimationFrame(Ee)}};let w;function oe(Be,Ee,Ie){let Re=Ie;return function B(Be){return!!Be&&Be.nodeType===Node.ELEMENT_NODE}(Be)&&Ee.some((Ge,it)=>!("*"===Ge||!function k(Be,Ee){if(!w){const Ie=Element.prototype;w=Ie.matches||Ie.matchesSelector||Ie.mozMatchesSelector||Ie.msMatchesSelector||Ie.oMatchesSelector||Ie.webkitMatchesSelector}return Be.nodeType===Node.ELEMENT_NODE&&w.call(Be,Ee)}(Be,Ge)||(Re=it,0))),Re
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}class y{constructor(Ee,Ie){this.componentFactory=Ie.get(a._Vd).resolveComponentFactory(Ee)}create(Ee){return new ae(this.componentFactory,Ee)}}class ae{constructor(Ee,Ie){this.componentFactory=Ee,this.injector=Ie,this.eventEmitters=new b(1),this.events=this.eventEmitters.pipe((0,L.w)(Re=>(0,I.T)(...Re))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:Re})=>Re)),this.ngZone=this.injector.get(a.R0b),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(Ee){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(Ee)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=D.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(Ee){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(Ee):this.componentRef.instance[Ee])}setInputValue(Ee,Ie){this.runInZone(()=>{null!==this.componentRef?function H(Be,Ee){return Be===Ee||Be!=Be&&Ee!=Ee}(Ie,this.getInputValue(Ee))&&(void 0!==Ie||!this.unchangedInputs.has(Ee))||(this.recordInputChange(Ee,Ie),this.unchangedInputs.delete(Ee),this.hasInputChanges=!0,this.componentRef.instance[Ee]=Ie,this.scheduleDetectChanges()):this.initialInputValues.set(Ee,Ie)})}initializeComponent(Ee){const Ie=a.zs3.create({providers:[],parent:this.injector}),Re=
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function le(Be,Ee){const Ie=Be.childNodes,Re=Ee.map(()=>[]);let Ge=-1;Ee.some((it,Se)=>"*"===it&&(Ge=Se,!0));for(let it=0,Se=Ie.length;it<Se;++it){const Z=Ie[it],V=oe(Z,Ee,Ge);-1!==V&&Re[V].push(Z)}return Re}(Ee,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(Ie,Re,Ee),this.viewChangeDetectorRef=this.componentRef.injector.get(a.sBO),this.implementsOnChanges=function R(Be){return"function"==typeof Be}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(a.z2F).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:Ee})=>{this.initialInputValues.has(Ee)&&this.setInputValue(Ee,this.initialInputValues.get(Ee))}),this.initialInputValues.clear()}initializeOutputs(Ee){const Ie=this.componentFactory.outputs.map(({propName:Re,templateName:Ge})=>Ee.instance[Re].pipe((0,M.U)(Se=>({name:Ge,value:Se}))));this.eventEmitters.next(Ie)}callNgOnChanges(Ee){if(!this.implementsOnChanges||null===this.inputChanges)return;const Ie=this.inputChanges;this.inputChanges=null,Ee.instance.ngOnChanges(Ie)}markViewForCheck(Ee){this.hasInputChanges&&(this.hasInputChanges=!1,Ee.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=D.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(Ee,Ie){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const Re=this.inputChanges[Ee];if(Re)return void(Re.currentValue=Ie);const Ge=this.unchangedInputs.has(Ee),it=Ge?void 0:this.getInputValue(Ee);this.inputChanges[Ee]=new a.WD2(it,Ie,Ge)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(Ee){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(Ee):Ee()}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class ge extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Ve(Be,Ee){const Ie=function z(Be,Ee){return Ee.get(a._Vd).resolveComponentFactory(Be).inputs}(Be,Ee.injector),Re=Ee.strategyFactory||new y(Be,Ee.injector),Ge=function j(Be){const Ee={};return Be.forEach(({propName:Ie,templateName:Re})=>{Ee[function A(Be){return Be.replace(/[A-Z]/g,Ee=>`-${Ee.toLowerCase()}`)}(Re)]=Ie}),Ee}(Ie);class it extends ge{constructor(Z){super(),this.injector=Z}get ngElementStrategy(){if(!this._ngElementStrategy){const Z=this._ngElementStrategy=Re.create(this.injector||Ee.injector);Ie.forEach(({propName:V})=>{if(!this.hasOwnProperty(V))return;const U=this[V];delete this[V],Z.setInputValue(V,U)})}return this._ngElementStrategy}attributeChangedCallback(Z,V,U,fe){this.ngElementStrategy.setInputValue(Ge[Z],U)}connectedCallback(){let Z=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),Z=!0),this.ngElementStrategy.connect(this),Z||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(Z=>{const V=new CustomEvent(Z.name,{detail:Z.value});this.dispatchEvent(V)})}}return it.observedAttributes=Object.keys(Ge),Ie.forEach(({propName:Se})=>{Object.defineProperty(it.prototype,Se,{get(){return this.ngElementStrategy.getInputValue(Se)},set(Z){this.ngElementStrategy.setInputValue(Se,Z)},configurable:!0,enumerable:!0})}),it
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}const $e=new a.GfV("13.4.0");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},93075:(ze,G,l)=>{"use strict";l.d(G,{CE:()=>O,Cf:()=>x,EJ:()=>qt,F:()=>Ti,Fd:()=>$i,Fj:()=>A,JJ:()=>Xe,JL:()=>X,JU:()=>b,K7:()=>Vn,Kr:()=>Jn,NI:()=>oi,Oe:()=>Bi,SD:()=>w,UX:()=>vo,YN:()=>mn,Zs:()=>Ur,_Y:()=>ye,a5:()=>Qt,cw:()=>Xn,gN:()=>gt,kI:()=>H,nD:()=>Hs,oH:()=>Tt,qQ:()=>cr,qu:()=>yo,sg:()=>_e,u:()=>me,wV:()=>vn,x0:()=>E});var a=l(5e3),i=l(69808),d=l(5254),p=l(30567),C=l(24850);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let f=(()=>{class qe{constructor(De,At){this._renderer=De,this._elementRef=At,this.onChange=kn=>{},this.onTouched=()=>{}}setProperty(De,At){this._renderer.setProperty(this._elementRef.nativeElement,De,At)}registerOnTouched(De){this.onTouched=De}registerOnChange(De){this.onChange=De}setDisabledState(De){this.setProperty("disabled",De)}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(a.Qsj),a.Y36(a.SBq))},qe.\u0275dir=a.lG2({type:qe}),qe})(),v=(()=>{class qe extends f{}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,features:[a.qOj]}),qe})();const b=new a.OlP("NgValueAccessor"),L={provide:b,useExisting:(0,a.Gpc)(()=>A),multi:!0},D=new a.OlP("CompositionEventMode");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let A=(()=>{class qe extends f{constructor(De,At,kn){super(De,At),this._compositionMode=kn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function M(){const qe=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(qe.toLowerCase())}())}writeValue(De){this.setProperty("value",null==De?"":De)}_handleInput(De){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(De)}_compositionStart(){this._composing=!0}_compositionEnd(De){this._composing=!1,this._compositionMode&&this.onChange(De)}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(D,8))},qe.\u0275dir=a.lG2({type:qe,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,At){1&De&&a.NdJ("input",function(pi){return At._handleInput(pi.target.value)})("blur",function(){return At.onTouched()})("compositionstart",function(){return At._compositionStart()})("compositionend",function(pi){return At._compositionEnd(pi.target.value)})},features:[a._Bn([L]),a.qOj]}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function B(qe){return null==qe||0===qe.length}function R(qe){return null!=qe&&"number"==typeof qe.length}const x=new a.OlP("NgValidators"),w=new a.OlP("NgAsyncValidators"),k=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class H{static min(Le){return j(Le)}static max(Le){return z(Le)}static required(Le){return le(Le)}static requiredTrue(Le){return oe(Le)}static email(Le){return function $(qe){return B(qe.value)||k.test(qe.value)?null:{email:!0}}(Le)}static minLength(Le){return function y(qe){return Le=>B(Le.value)||!R(Le.value)?null:Le.value.length<qe?{minlength:{requiredLength:qe,actualLength:Le.value.length}}:null}(Le)}static maxLength(Le){return ae(Le)}static pattern(Le){return function ge(qe){if(!qe)return Ve;let Le,De;return"string"==typeof qe?(De="","^"!==qe.charAt(0)&&(De+="^"),De+=qe,"$"!==qe.charAt(qe.length-1)&&(De+="$"),Le=new RegExp(De)):(De=qe.toString(),Le=qe),At=>{if(B(At.value))return null;const kn=At.value;return Le.test(kn)?null:{pattern:{requiredPattern:De,actualValue:kn}}}}(Le)}static nullValidator(Le){return null}static compose(Le){return it(Le)}static composeAsync(Le){return Z(Le)}}function j(qe){return Le=>{if(B(Le.value)||B(qe))return null;const De=parseFloat(Le.value);return!isNaN(De)&&De<qe?{min:{min:qe,actual:Le.value}}:null}}function z(qe){return Le=>{if(B(Le.value)||B(qe))return null;const De=parseFloat(Le.value);return!isNaN(De)&&De>qe?{max:{max:qe,actual:Le.value}}:null}}function le(qe){return B(qe.value)?{required:!0}:null}function oe(qe){return!0===qe.value?null:{required:!0}}function ae(qe){return Le=>R(Le.value)&&Le.value.length>qe?{maxlength:{requiredLength:qe,actualLength:Le.value.length}}:null}function Ve(qe){return null}function $e(qe){return null!=qe}function Be(qe){const Le=(0,a.QGY)(qe)?(0,d.D)(qe):qe;return(0,a.CqO)(Le),Le}function Ee(qe){let Le={};return qe.forEach(De=>{Le=null!=De?Object.assign(Object.assign({},Le),De):Le}),0===Object.keys(Le).length?null:Le}function Ie(qe,Le){return Le.map(De=>De(qe))}function Ge(qe){return qe.map(Le=>function Re(qe){return!qe.validate}(Le)?Le:De=>Le.validate(De))}function it(qe){if(!qe)return null;const Le=qe.filter($e);return 0==Le.length?null:function(De){return Ee(Ie(De,Le))}}function Se(qe){return null!=qe?it(Ge(qe)):null}function Z(qe){if(!qe)return null;const Le=qe.filter($e);return 0==Le.length?null:function(De){const At=Ie(De,Le).map(Be);return(0,p.D)(At).pipe((0,C.U)(Ee))}}function V(qe){return null!=qe?Z(Ge(qe)):null}function U(qe,Le){return null===qe?[Le]:Array.isArray(qe)?[...qe,Le]:[qe,Le]}function fe(qe){return qe._rawValidators}function pe(qe){return qe._rawAsyncValidators}function He(qe){return qe?Array.isArray(qe)?qe:[qe]:[]}function et(qe,Le){return Array.isArray(qe)?qe.includes(Le):qe===Le}function de(qe,Le){const De=He(Le);return He(qe).forEach(kn=>{et(De,kn)||De.push(kn)}),De}function lt(qe,Le){return He(Le).filter(De=>!et(qe,De))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class St{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(Le){this._rawValidators=Le||[],this._composedValidatorFn=Se(this._rawValidators)}_setAsyncValidators(Le){this._rawAsyncValidators=Le||[],this._composedAsyncValidatorFn=V(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Le){this._onDestroyCallbacks.push(Le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Le=>Le()),this._onDestroyCallbacks=[]}reset(Le){this.control&&this.control.reset(Le)}hasError(Le,De){return!!this.control&&this.control.hasError(Le,De)}getError(Le,De){return this.control?this.control.getError(Le,De):null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Qt extends St{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class gt extends St{get formDirective(){return null}get path(){return null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class yt{constructor(Le){this._cd=Le}is(Le){var De,At,kn;return"submitted"===Le?!!(null===(De=this._cd)||void 0===De?void 0:De.submitted):!!(null===(kn=null===(At=this._cd)||void 0===At?void 0:At.control)||void 0===kn?void 0:kn[Le])}}let Xe=(()=>{class qe extends yt{constructor(De){super(De)}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(Qt,2))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(De,At){2&De&&a.ekj("ng-untouched",At.is("untouched"))("ng-touched",At.is("touched"))("ng-pristine",At.is("pristine"))("ng-dirty",At.is("dirty"))("ng-valid",At.is("valid"))("ng-invalid",At.is("invalid"))("ng-pending",At.is("pending"))},features:[a.qOj]}),qe})(),X=(()=>{class qe extends yt{constructor(De){super(De)}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(gt,10))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(De,At){2&De&&a.ekj("ng-untouched",At.is("untouched"))("ng-touched",At.is("touched"))("ng-pristine",At.is("pristine"))("ng-dirty",At.is("dirty"))("ng-valid",At.is("valid"))("ng-invalid",At.is("invalid"))("ng-pending",At.is("pending"))("ng-submitted",At.is("submitted"))},features:[a.qOj]}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function In(qe,Le){return[...Le.path,qe]}function wn(qe,Le){Pt(qe,Le),Le.valueAccessor.writeValue(qe.value),function be(qe,Le){Le.valueAccessor.registerOnChange(De=>{qe._pendingValue=De,qe._pendingChange=!0,qe._pendingDirty=!0,"change"===qe.updateOn&&_t(qe,Le)})}(qe,Le),function st(qe,Le){const De=(At,kn)=>{Le.valueAccessor.writeValue(At),kn&&Le.viewToModelUpdate(At)};qe.registerOnChange(De),Le._registerOnDestroy(()=>{qe._unregisterOnChange(De)})}(qe,Le),function Ze(qe,Le){Le.valueAccessor.registerOnTouched(()=>{qe._pendingTouched=!0,"blur"===qe.updateOn&&qe._pendingChange&&_t(qe,Le),"submit"!==qe.updateOn&&qe.markAsTouched()})}(qe,Le),function Xt(qe,Le){if(Le.valueAccessor.setDisabledState){const De=At=>{Le.valueAccessor.setDisabledState(At)};qe.registerOnDisabledChange(De),Le._registerOnDestroy(()=>{qe._unregisterOnDisabledChange(De)})}}(qe,Le)}function Wn(qe,Le,De=!0){const At=()=>{};Le.valueAccessor&&(Le.valueAccessor.registerOnChange(At),Le.valueAccessor.registerOnTouched(At)),ht(qe,Le),qe&&(Le._invokeOnDestroyCallbacks(),qe._registerOnCollectionChange(()=>{}))}function Bn(qe,Le){qe.forEach(De=>{De.registerOnValidatorChange&&De.registerOnValidatorChange(Le)})}function Pt(qe,Le){const De=fe(qe);null!==Le.validator?qe.setValidators(U(De,Le.validator)):"function"==typeof De&&qe.setValidators([De]);const At=pe(qe);null!==Le.asyncValidator?qe.setAsyncValidators(U(At,Le.asyncValidator)):"function"==typeof At&&qe.setAsyncValidators([At]);const kn=()=>qe.updateValueAndValidity();Bn(Le._rawValidators,kn),Bn(Le._rawAsyncValidators,kn)}function ht(qe,Le){let De=!1;if(null!==qe){if(null!==Le.validator){const kn=fe(qe);if(Array.isArray(kn)&&kn.length>0){const pi=kn.filter(kr=>kr!==Le.validator);pi.length!==kn.length&&(De=!0,qe.setValidators(pi))}}if(null!==Le.asyncValidator){const kn=pe(qe);if(Array.isArray(kn)&&kn.length>0){const pi=kn.filter(kr=>kr!==Le.asyncValidator);pi.length!==kn.length&&(De=!0,qe.setAsyncValidators(pi))}}}const At=()=>{};return Bn(Le._rawValidators,At),Bn(Le._rawAsyncValidators,At),De}function _t(qe,Le){qe._pendingDirty&&qe.markAsDirty(),qe.setValue(qe._pendingValue,{emitModelToViewChange:!1}),Le.viewToModelUpdate(qe._pendingValue),qe._pendingChange=!1}function Ut(qe,Le){Pt(qe,Le)}function Qe(qe,Le){if(!qe.hasOwnProperty("model"))return!1;const De=qe.model;return!!De.isFirstChange()||!Object.is(Le,De.currentValue)}function Nt(qe,Le){qe._syncPendingControls(),Le.forEach(De=>{const At=De.control;"submit"===At.updateOn&&At._pendingChange&&(De.viewToModelUpdate(At._pendingValue),At._pendingChange=!1)})}function sn(qe,Le){if(!Le)return null;let De,At,kn;return Array.isArray(Le),Le.forEach(pi=>{pi.constructor===A?De=pi:function rt(qe){return Object.getPrototypeOf(qe.constructor)===v}(pi)?At=pi:kn=pi}),kn||At||De||null}function On(qe,Le){const De=qe.indexOf(Le);De>-1&&qe.splice(De,1)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const hi="VALID",mi="INVALID",gi="PENDING",ki="DISABLED";function Ki(qe){return(Ai(qe)?qe.validators:qe)||null}function Ni(qe){return Array.isArray(qe)?Se(qe):qe||null}function Kn(qe,Le){return(Ai(Le)?Le.asyncValidators:qe)||null}function vi(qe){return Array.isArray(qe)?V(qe):qe||null}function Ai(qe){return null!=qe&&!Array.isArray(qe)&&"object"==typeof qe}const Ji=qe=>qe instanceof oi,Xi=qe=>qe instanceof Xn,Li=qe=>qe instanceof Bi;function cn(qe){return Ji(qe)?qe.value:qe.getRawValue()}function qn(qe,Le){const De=Xi(qe),At=qe.controls;if(!(De?Object.keys(At):At).length)throw new a.vHH(1e3,"");if(!At[Le])throw new a.vHH(1001,"")}function Qn(qe,Le){Xi(qe),qe._forEachChild((At,kn)=>{if(void 0===Le[kn])throw new a.vHH(1002,"")})}class fi{constructor(Le,De){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=Le,this._rawAsyncValidators=De,this._composedValidatorFn=Ni(this._rawValidators),this._composedAsyncValidatorFn=vi(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(Le){this._rawValidators=this._composedValidatorFn=Le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Le){this._rawAsyncValidators=this._composedAsyncValidatorFn=Le}get parent(){return this._parent}get valid(){return this.status===hi}get invalid(){return this.status===mi}get pending(){return this.status==gi}get disabled(){return this.status===ki}get enabled(){return this.status!==ki}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Le){this._rawValidators=Le,this._composedValidatorFn=Ni(Le)}setAsyncValidators(Le){this._rawAsyncValidators=Le,this._composedAsyncValidatorFn=vi(Le)}addValidators(Le){this.setValidators(de(Le,this._rawValidators))}addAsyncValidators(Le){this.setAsyncValidators(de(Le,this._rawAsyncValidators))}removeValidators(Le){this.setValidators(lt(Le,this._rawValidators))}removeAsyncValidators(Le){this.setAsyncValidators(lt(Le,this._rawAsyncValidators))}hasValidator(Le){return et(this._rawValidators,Le)}hasAsyncValidator(Le){return et(this._rawAsyncValidators,Le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Le={}){this.touched=!0,this._parent&&!Le.onlySelf&&this._parent.markAsTouched(Le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Le=>Le.markAllAsTouched())}markAsUntouched(Le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(De=>{De.markAsUntouched({onlySelf:!0})}),this._parent&&!Le.onlySelf&&this._parent._updateTouched(Le)}markAsDirty(Le={}){this.pristine=!1,this._parent&&!Le.onlySelf&&this._parent.markAsDirty(Le)}markAsPristine(Le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(De=>{De.markAsPristine({onlySelf:!0})}),this._parent&&!Le.onlySelf&&this._parent._updatePristine(Le)}markAsPending(Le={}){this.status=gi,!1!==Le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Le.onlySelf&&this._parent.markAsPending(Le)}disable(Le={}){const De=this._parentMarkedDirty(Le.onlySelf);this.status=ki,this.errors=null,this._forEachChild(At=>{At.disable(Object.assign(Object.assign({},Le),{onlySelf:!0}))}),this._updateValue(),!1!==Le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},Le),{skipPristineCheck:De})),this._onDisabledChange.forEach(At=>At(!0))}enable(Le={}){const De=this._parentMarkedDirty(Le.onlySelf);this.status=hi,this._forEachChild(At=>{At.enable(Object.assign(Object.assign({},Le),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Le.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},Le),{skipPristineCheck:De})),this._onDisabledChange.forEach(At=>At(!1))}_updateAncestors(Le){this._parent&&!Le.onlySelf&&(this._parent.updateValueAndValidity(Le),Le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Le){this._parent=Le}updateValueAndValidity(Le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hi||this.status===gi)&&this._runAsyncValidator(Le.emitEvent)),!1!==Le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Le.onlySelf&&this._parent.updateValueAndValidity(Le)}_updateTreeValidity(Le={emitEvent:!0}){this._forEachChild(De=>De._updateTreeValidity(Le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ki:hi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Le){if(this.asyncValidator){this.status=gi,this._hasOwnPendingAsyncValidator=!0;const De=Be(this.asyncValidator(this));this._asyncValidationSubscription=De.subscribe(At=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(At,{emitEvent:Le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Le,De={}){this.errors=Le,this._updateControlsErrors(!1!==De.emitEvent)}get(Le){return function ji(qe,Le,De){if(null==Le||(Array.isArray(Le)||(Le=Le.split(De)),Array.isArray(Le)&&0===Le.length))return null;let At=qe;return Le.forEach(kn=>{At=Xi(At)?At.controls.hasOwnProperty(kn)?At.controls[kn]:null:Li(At)&&At.at(kn)||null}),At}(this,Le,".")}getError(Le,De){const At=De?this.get(De):this;return At&&At.errors?At.errors[Le]:null}hasError(Le,De){return!!this.getError(Le,De)}get root(){let Le=this;for(;Le._parent;)Le=Le._parent;return Le}_updateControlsErrors(Le){this.status=this._calculateStatus(),Le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Le)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?ki:this.errors?mi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gi)?gi:this._anyControlsHaveStatus(mi)?mi:hi}_anyControlsHaveStatus(Le){return this._anyControls(De=>De.status===Le)}_anyControlsDirty(){return this._anyControls(Le=>Le.dirty)}_anyControlsTouched(){return this._anyControls(Le=>Le.touched)}_updatePristine(Le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Le.onlySelf&&this._parent._updatePristine(Le)}_updateTouched(Le={}){this.touched=this._anyControlsTouched(),this._parent&&!Le.onlySelf&&this._parent._updateTouched(Le)}_isBoxedValue(Le){return"object"==typeof Le&&null!==Le&&2===Object.keys(Le).length&&"value"in Le&&"disabled"in Le}_registerOnCollectionChange(Le){this._onCollectionChange=Le}_setUpdateStrategy(Le){Ai(Le)&&null!=Le.updateOn&&(this._updateOn=Le.updateOn)}_parentMarkedDirty(Le){return!Le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class oi extends fi{constructor(Le=null,De,At){super(Ki(De),Kn(At,De)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Le),this._setUpdateStrategy(De),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ai(De)&&De.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(Le)?Le.value:Le)}setValue(Le,De={}){this.value=this._pendingValue=Le,this._onChange.length&&!1!==De.emitModelToViewChange&&this._onChange.forEach(At=>At(this.value,!1!==De.emitViewToModelChange)),this.updateValueAndValidity(De)}patchValue(Le,De={}){this.setValue(Le,De)}reset(Le=this.defaultValue,De={}){this._applyFormState(Le),this.markAsPristine(De),this.markAsUntouched(De),this.setValue(this.value,De),this._pendingChange=!1}_updateValue(){}_anyControls(Le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Le){this._onChange.push(Le)}_unregisterOnChange(Le){On(this._onChange,Le)}registerOnDisabledChange(Le){this._onDisabledChange.push(Le)}_unregisterOnDisabledChange(Le){On(this._onDisabledChange,Le)}_forEachChild(Le){}_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(Le){this._isBoxedValue(Le)?(this.value=this._pendingValue=Le.value,Le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Le}}class Xn extends fi{constructor(Le,De,At){super(Ki(De),Kn(At,De)),this.controls=Le,this._initObservables(),this._setUpdateStrategy(De),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Le,De){return this.controls[Le]?this.controls[Le]:(this.controls[Le]=De,De.setParent(this),De._registerOnCollectionChange(this._onCollectionChange),De)}addControl(Le,De,At={}){this.registerControl(Le,De),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}removeControl(Le,De={}){this.controls[Le]&&this.controls[Le]._registerOnCollectionChange(()=>{}),delete this.controls[Le],this.updateValueAndValidity({emitEvent:De.emitEvent}),this._onCollectionChange()}setControl(Le,De,At={}){this.controls[Le]&&this.controls[Le]._registerOnCollectionChange(()=>{}),delete this.controls[Le],De&&this.registerControl(Le,De),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}contains(Le){return this.controls.hasOwnProperty(Le)&&this.controls[Le].enabled}setValue(Le,De={}){Qn(this,Le),Object.keys(Le).forEach(At=>{qn(this,At),this.controls[At].setValue(Le[At],{onlySelf:!0,emitEvent:De.emitEvent})}),this.updateValueAndValidity(De)}patchValue(Le,De={}){null!=Le&&(Object.keys(Le).forEach(At=>{this.controls[At]&&this.controls[At].patchValue(Le[At],{onlySelf:!0,emitEvent:De.emitEvent})}),this.updateValueAndValidity(De))}reset(Le={},De={}){this._forEachChild((At,kn)=>{At.reset(Le[kn],{onlySelf:!0,emitEvent:De.emitEvent})}),this._updatePristine(De),this._updateTouched(De),this.updateValueAndValidity(De)}getRawValue(){return this._reduceChildren({},(Le,De,At)=>(Le[At]=cn(De),Le))}_syncPendingControls(){let Le=this._reduceChildren(!1,(De,At)=>!!At._syncPendingControls()||De);return Le&&this.updateValueAndValidity({onlySelf:!0}),Le}_forEachChild(Le){Object.keys(this.controls).forEach(De=>{const At=this.controls[De];At&&Le(At,De)})}_setUpControls(){this._forEachChild(Le=>{Le.setParent(this),Le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Le){for(const De of Object.keys(this.controls)){const At=this.controls[De];if(this.contains(De)&&Le(At))return!0}return!1}_reduceValue(){return this._reduceChildren({},(Le,De,At)=>((De.enabled||this.disabled)&&(Le[At]=De.value),Le))}_reduceChildren(Le,De){let At=Le;return this._forEachChild((kn,pi)=>{At=De(At,kn,pi)}),At}_allControlsDisabled(){for(const Le of Object.keys(this.controls))if(this.controls[Le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Bi extends fi{constructor(Le,De,At){super(Ki(De),Kn(At,De)),this.controls=Le,this._initObservables(),this._setUpdateStrategy(De),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Le){return this.controls[Le]}push(Le,De={}){this.controls.push(Le),this._registerControl(Le),this.updateValueAndValidity({emitEvent:De.emitEvent}),this._onCollectionChange()}insert(Le,De,At={}){this.controls.splice(Le,0,De),this._registerControl(De),this.updateValueAndValidity({emitEvent:At.emitEvent})}removeAt(Le,De={}){this.controls[Le]&&this.controls[Le]._registerOnCollectionChange(()=>{}),this.controls.splice(Le,1),this.updateValueAndValidity({emitEvent:De.emitEvent})}setControl(Le,De,At={}){this.controls[Le]&&this.controls[Le]._registerOnCollectionChange(()=>{}),this.controls.splice(Le,1),De&&(this.controls.splice(Le,0,De),this._registerControl(De)),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Le,De={}){Qn(this,Le),Le.forEach((At,kn)=>{qn(this,kn),this.at(kn).setValue(At,{onlySelf:!0,emitEvent:De.emitEvent})}),this.updateValueAndValidity(De)}patchValue(Le,De={}){null!=Le&&(Le.forEach((At,kn)=>{this.at(kn)&&this.at(kn).patchValue(At,{onlySelf:!0,emitEvent:De.emitEvent})}),this.updateValueAndValidity(De))}reset(Le=[],De={}){this._forEachChild((At,kn)=>{At.reset(Le[kn],{onlySelf:!0,emitEvent:De.emitEvent})}),this._updatePristine(De),this._updateTouched(De),this.updateValueAndValidity(De)}getRawValue(){return this.controls.map(Le=>cn(Le))}clear(Le={}){this.controls.length<1||(this._forEachChild(De=>De._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Le.emitEvent}))}_syncPendingControls(){let Le=this.controls.reduce((De,At)=>!!At._syncPendingControls()||De,!1);return Le&&this.updateValueAndValidity({onlySelf:!0}),Le}_forEachChild(Le){this.controls.forEach((De,At)=>{Le(De,At)})}_updateValue(){this.value=this.controls.filter(Le=>Le.enabled||this.disabled).map(Le=>Le.value)}_anyControls(Le){return this.controls.some(De=>De.enabled&&Le(De))}_setUpControls(){this._forEachChild(Le=>this._registerControl(Le))}_allControlsDisabled(){for(const Le of this.controls)if(Le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Le){Le.setParent(this),Le._registerOnCollectionChange(this._onCollectionChange)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const ir={provide:gt,useExisting:(0,a.Gpc)(()=>Ti)},Yi=(()=>Promise.resolve(null))();let Ti=(()=>{class qe extends gt{constructor(De,At){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new a.vpe,this.form=new Xn({},Se(De),V(At))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(De){Yi.then(()=>{const At=this._findContainer(De.path);De.control=At.registerControl(De.name,De.control),wn(De.control,De),De.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(De)})}getControl(De){return this.form.get(De.path)}removeControl(De){Yi.then(()=>{const At=this._findContainer(De.path);At&&At.removeControl(De.name),this._directives.delete(De)})}addFormGroup(De){Yi.then(()=>{const At=this._findContainer(De.path),kn=new Xn({});Ut(kn,De),At.registerControl(De.name,kn),kn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(De){Yi.then(()=>{const At=this._findContainer(De.path);At&&At.removeControl(De.name)})}getFormGroup(De){return this.form.get(De.path)}updateModel(De,At){Yi.then(()=>{this.form.get(De.path).setValue(At)})}setValue(De){this.control.setValue(De)}onSubmit(De){return this.submitted=!0,Nt(this.form,this._directives),this.ngSubmit.emit(De),!1}onReset(){this.resetForm()}resetForm(De){this.form.reset(De),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(De){return De.pop(),De.length?this.form.get(De):this.form}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(x,10),a.Y36(w,10))},qe.\u0275dir=a.lG2({type:qe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(De,At){1&De&&a.NdJ("submit",function(pi){return At.onSubmit(pi)})("reset",function(){return At.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([ir]),a.qOj]}),qe})(),nn=(()=>{class qe extends gt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return In(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,features:[a.qOj]}),qe})(),ye=(()=>{class qe{}return qe.\u0275fac=function(De){return new(De||qe)},qe.\u0275dir=a.lG2({type:qe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Bt={provide:b,useExisting:(0,a.Gpc)(()=>vn),multi:!0};let vn=(()=>{class qe extends v{writeValue(De){this.setProperty("value",null==De?"":De)}registerOnChange(De){this.onChange=At=>{De(""==At?null:parseFloat(At))}}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(De,At){1&De&&a.NdJ("input",function(pi){return At.onChange(pi.target.value)})("blur",function(){return At.onTouched()})},features:[a._Bn([Bt]),a.qOj]}),qe})(),at=(()=>{class qe{}return qe.\u0275fac=function(De){return new(De||qe)},qe.\u0275mod=a.oAB({type:qe}),qe.\u0275inj=a.cJS({}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Me=new a.OlP("NgModelWithFormControlWarning"),We={provide:Qt,useExisting:(0,a.Gpc)(()=>Tt)};let Tt=(()=>{class qe extends Qt{constructor(De,At,kn,pi){super(),this._ngModelWarningConfig=pi,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(De),this._setAsyncValidators(At),this.valueAccessor=sn(0,kn)}set isDisabled(De){}ngOnChanges(De){if(this._isControlChanged(De)){const At=De.form.previousValue;At&&Wn(At,this,!1),wn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Qe(De,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Wn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(De){this.viewModel=De,this.update.emit(De)}_isControlChanged(De){return De.hasOwnProperty("form")}}return qe._ngModelWarningSentOnce=!1,qe.\u0275fac=function(De){return new(De||qe)(a.Y36(x,10),a.Y36(w,10),a.Y36(b,10),a.Y36(Me,8))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([We]),a.qOj,a.TTD]}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Wt={provide:gt,useExisting:(0,a.Gpc)(()=>_e)};let _e=(()=>{class qe extends gt{constructor(De,At){super(),this.validators=De,this.asyncValidators=At,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new a.vpe,this._setValidators(De),this._setAsyncValidators(At)}ngOnChanges(De){this._checkFormPresent(),De.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ht(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(De){const At=this.form.get(De.path);return wn(At,De),At.updateValueAndValidity({emitEvent:!1}),this.directives.push(De),At}getControl(De){return this.form.get(De.path)}removeControl(De){Wn(De.control||null,De,!1),On(this.directives,De)}addFormGroup(De){this._setUpFormContainer(De)}removeFormGroup(De){this._cleanUpFormContainer(De)}getFormGroup(De){return this.form.get(De.path)}addFormArray(De){this._setUpFormContainer(De)}removeFormArray(De){this._cleanUpFormContainer(De)}getFormArray(De){return this.form.get(De.path)}updateModel(De,At){this.form.get(De.path).setValue(At)}onSubmit(De){return this.submitted=!0,Nt(this.form,this.directives),this.ngSubmit.emit(De),!1}onReset(){this.resetForm()}resetForm(De){this.form.reset(De),this.submitted=!1}_updateDomValue(){this.directives.forEach(De=>{const At=De.control,kn=this.form.get(De.path);At!==kn&&(Wn(At||null,De),Ji(kn)&&(wn(kn,De),De.control=kn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(De){const At=this.form.get(De.path);Ut(At,De),At.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(De){if(this.form){const At=this.form.get(De.path);At&&function Ht(qe,Le){return ht(qe,Le)}(At,De)&&At.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Pt(this.form,this),this._oldForm&&ht(this._oldForm,this)}_checkFormPresent(){}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(x,10),a.Y36(w,10))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formGroup",""]],hostBindings:function(De,At){1&De&&a.NdJ("submit",function(pi){return At.onSubmit(pi)})("reset",function(){return At.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([Wt]),a.qOj,a.TTD]}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const je={provide:gt,useExisting:(0,a.Gpc)(()=>E)};let E=(()=>{class qe extends nn{constructor(De,At,kn){super(),this._parent=De,this._setValidators(At),this._setAsyncValidators(kn)}_checkParentType(){T(this._parent)}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(gt,13),a.Y36(x,10),a.Y36(w,10))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[a._Bn([je]),a.qOj]}),qe})();const te={provide:gt,useExisting:(0,a.Gpc)(()=>O)};let O=(()=>{class qe extends gt{constructor(De,At,kn){super(),this._parent=De,this._setValidators(At),this._setAsyncValidators(kn)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return In(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){T(this._parent)}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(gt,13),a.Y36(x,10),a.Y36(w,10))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[a._Bn([te]),a.qOj]}),qe})();function T(qe){return!(qe instanceof E||qe instanceof _e||qe instanceof O)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const J={provide:Qt,useExisting:(0,a.Gpc)(()=>me)};let me=(()=>{class qe extends Qt{constructor(De,At,kn,pi,kr){super(),this._ngModelWarningConfig=kr,this._added=!1,this.update=new a.vpe,this._ngModelWarningSent=!1,this._parent=De,this._setValidators(At),this._setAsyncValidators(kn),this.valueAccessor=sn(0,pi)}set isDisabled(De){}ngOnChanges(De){this._added||this._setUpControl(),Qe(De,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(De){this.viewModel=De,this.update.emit(De)}get path(){return In(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return qe._ngModelWarningSentOnce=!1,qe.\u0275fac=function(De){return new(De||qe)(a.Y36(gt,13),a.Y36(x,10),a.Y36(w,10),a.Y36(b,10),a.Y36(Me,8))},qe.\u0275dir=a.lG2({type:qe,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[a._Bn([J]),a.qOj,a.TTD]}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const pt={provide:b,useExisting:(0,a.Gpc)(()=>qt),multi:!0};function bt(qe,Le){return null==qe?`${Le}`:(Le&&"object"==typeof Le&&(Le="Object"),`${qe}: ${Le}`.slice(0,50))}let qt=(()=>{class qe extends v{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(De){this._compareWith=De}writeValue(De){this.value=De;const kn=bt(this._getOptionId(De),De);this.setProperty("value",kn)}registerOnChange(De){this.onChange=At=>{this.value=this._getOptionValue(At),De(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(De){for(const At of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(At),De))return At;return null}_getOptionValue(De){const At=function It(qe){return qe.split(":")[0]}(De);return this._optionMap.has(At)?this._optionMap.get(At):De}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(De,At){1&De&&a.NdJ("change",function(pi){return At.onChange(pi.target.value)})("blur",function(){return At.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([pt]),a.qOj]}),qe})(),mn=(()=>{class qe{constructor(De,At,kn){this._element=De,this._renderer=At,this._select=kn,this._select&&(this.id=this._select._registerOption())}set ngValue(De){null!=this._select&&(this._select._optionMap.set(this.id,De),this._setElementValue(bt(this.id,De)),this._select.writeValue(this._select.value))}set value(De){this._setElementValue(De),this._select&&this._select.writeValue(this._select.value)}_setElementValue(De){this._renderer.setProperty(this._element.nativeElement,"value",De)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(qt,9))},qe.\u0275dir=a.lG2({type:qe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const _n={provide:b,useExisting:(0,a.Gpc)(()=>Vn),multi:!0};function Mt(qe,Le){return null==qe?`${Le}`:("string"==typeof Le&&(Le=`'${Le}'`),Le&&"object"==typeof Le&&(Le="Object"),`${qe}: ${Le}`.slice(0,50))}let Vn=(()=>{class qe extends v{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(De){this._compareWith=De}writeValue(De){let At;if(this.value=De,Array.isArray(De)){const kn=De.map(pi=>this._getOptionId(pi));At=(pi,kr)=>{pi._setSelected(kn.indexOf(kr.toString())>-1)}}else At=(kn,pi)=>{kn._setSelected(!1)};this._optionMap.forEach(At)}registerOnChange(De){this.onChange=At=>{const kn=[],pi=At.selectedOptions;if(void 0!==pi){const kr=pi;for(let is=0;is<kr.length;is++){const mt=this._getOptionValue(kr[is].value);kn.push(mt)}}else{const kr=At.options;for(let is=0;is<kr.length;is++){const no=kr[is];if(no.selected){const mt=this._getOptionValue(no.value);kn.push(mt)}}}this.value=kn,De(kn)}}_registerOption(De){const At=(this._idCounter++).toString();return this._optionMap.set(At,De),At}_getOptionId(De){for(const At of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(At)._value,De))return At;return null}_getOptionValue(De){const At=function pn(qe){return qe.split(":")[0]}(De);return this._optionMap.has(At)?this._optionMap.get(At)._value:De}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(De,At){1&De&&a.NdJ("change",function(pi){return At.onChange(pi.target)})("blur",function(){return At.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([_n]),a.qOj]}),qe})(),Jn=(()=>{class qe{constructor(De,At,kn){this._element=De,this._renderer=At,this._select=kn,this._select&&(this.id=this._select._registerOption(this))}set ngValue(De){null!=this._select&&(this._value=De,this._setElementValue(Mt(this.id,De)),this._select.writeValue(this._select.value))}set value(De){this._select?(this._value=De,this._setElementValue(Mt(this.id,De)),this._select.writeValue(this._select.value)):this._setElementValue(De)}_setElementValue(De){this._renderer.setProperty(this._element.nativeElement,"value",De)}_setSelected(De){this._renderer.setProperty(this._element.nativeElement,"selected",De)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return qe.\u0275fac=function(De){return new(De||qe)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(Vn,9))},qe.\u0275dir=a.lG2({type:qe,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),qe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Di(qe){return"number"==typeof qe?qe:parseFloat(qe)}let Ci=(()=>{class qe{constructor(){this._validator=Ve}ngOnChanges(De){if(this.inputName in De){const At=this.normalizeInput(De[this.inputName].currentValue);this._enabled=this.enabled(At),this._validator=this._enabled?this.createValidator(At):Ve,this._onChange&&this._onChange()}}validate(De){return this._validator(De)}registerOnValidatorChange(De){this._onChange=De}enabled(De){return null!=De}}return qe.\u0275fac=function(De){return new(De||qe)},qe.\u0275dir=a.lG2({type:qe,features:[a.TTD]}),qe})();const li={provide:x,useExisting:(0,a.Gpc)(()=>$i),multi:!0};let $i=(()=>{class qe extends Ci{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=De=>Di(De),this.createValidator=De=>z(De)}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(De,At){2&De&&a.uIk("max",At._enabled?At.max:null)},inputs:{max:"max"},features:[a._Bn([li]),a.qOj]}),qe})();const Gi={provide:x,useExisting:(0,a.Gpc)(()=>cr),multi:!0};let cr=(()=>{class qe extends Ci{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=De=>Di(De),this.createValidator=De=>j(De)}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(De,At){2&De&&a.uIk("min",At._enabled?At.min:null)},inputs:{min:"min"},features:[a._Bn([Gi]),a.qOj]}),qe})();const ar={provide:x,useExisting:(0,a.Gpc)(()=>Pr),multi:!0},ur={provide:x,useExisting:(0,a.Gpc)(()=>Ur),multi:!0};let Pr=(()=>{class qe extends Ci{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=De=>function ti(qe){return null!=qe&&!1!==qe&&"false"!=`${qe}`}(De),this.createValidator=De=>le}enabled(De){return De}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(De,At){2&De&&a.uIk("required",At._enabled?"":null)},inputs:{required:"required"},features:[a._Bn([ar]),a.qOj]}),qe})(),Ur=(()=>{class qe extends Pr{constructor(){super(...arguments),this.createValidator=De=>oe}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(De,At){2&De&&a.uIk("required",At._enabled?"":null)},features:[a._Bn([ur]),a.qOj]}),qe})();const Lr={provide:x,useExisting:(0,a.Gpc)(()=>Hs),multi:!0};let Hs=(()=>{class qe extends Ci{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=De=>function ci(qe){return"number"==typeof qe?qe:parseInt(qe,10)}(De),this.createValidator=De=>ae(De)}}return qe.\u0275fac=function(){let Le;return function(At){return(Le||(Le=a.n5z(qe)))(At||qe)}}(),qe.\u0275dir=a.lG2({type:qe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(De,At){2&De&&a.uIk("maxlength",At._enabled?At.maxlength:null)},inputs:{maxlength:"maxlength"},features:[a._Bn([Lr]),a.qOj]}),qe})(),ds=(()=>{class qe{}return qe.\u0275fac=function(De){return new(De||qe)},qe.\u0275mod=a.oAB({type:qe}),qe.\u0275inj=a.cJS({imports:[[at]]}),qe})(),vo=(()=>{class qe{static withConfig(De){return{ngModule:qe,providers:[{provide:Me,useValue:De.warnOnNgModelWithFormControl}]}}}return qe.\u0275fac=function(De){return new(De||qe)},qe.\u0275mod=a.oAB({type:qe}),qe.\u0275inj=a.cJS({imports:[ds]}),qe})(),yo=(()=>{class qe{group(De,At=null){const kn=this._reduceControls(De);let is,pi=null,kr=null;return null!=At&&(
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function to(qe){return void 0!==qe.asyncValidators||void 0!==qe.validators||void 0!==qe.updateOn}(At)?(pi=null!=At.validators?At.validators:null,kr=null!=At.asyncValidators?At.asyncValidators:null,is=null!=At.updateOn?At.updateOn:void 0):(pi=null!=At.validator?At.validator:null,kr=null!=At.asyncValidator?At.asyncValidator:null)),new Xn(kn,{asyncValidators:kr,updateOn:is,validators:pi})}control(De,At,kn){return new oi(De,At,kn)}array(De,At,kn){const pi=De.map(kr=>this._createControl(kr));return new Bi(pi,At,kn)}_reduceControls(De){const At={};return Object.keys(De).forEach(kn=>{At[kn]=this._createControl(De[kn])}),At}_createControl(De){return Ji(De)||Xi(De)||Li(De)?De:Array.isArray(De)?this.control(De[0],De.length>1?De[1]:null,De.length>2?De[2]:null):this.control(De)}}return qe.\u0275fac=function(De){return new(De||qe)},qe.\u0275prov=a.Yz7({token:qe,factory:qe.\u0275fac,providedIn:vo}),qe})()}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,91079:(ze,G,l)=>{"use strict";l.d(G,{Bb:()=>lt,XC:()=>it,ZL:()=>He});var a=l(15664),i=l(63191),d=l(5e3),p=l(90508),C=l(42654),f=l(8929),v=l(88514),b=l(36787),m=l(21086),I=l(23753),L=l(70925),M=l(69808),D=l(92845),A=l(41713),B=l(91159),R=l(47429),x=l(93075),w=l(67322),k=l(1059),H=l(87545),j=l(72986),z=l(92198),le=l(24850),oe=l(22868),$=l(18583),y=l(50226);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const ae=["panel"];function ge(St,Qt){if(1&St&&(d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA()),2&St){const gt=Qt.id,yt=d.oxw();d.Q6J("id",yt.id)("ngClass",yt._classList),d.uIk("aria-label",yt.ariaLabel||null)("aria-labelledby",yt._getPanelAriaLabelledby(gt))}}const Ve=["*"];let $e=0;class Be{constructor(Qt,gt){this.source=Qt,this.option=gt}}const Ee=(0,p.Kr)(class{}),Ie=new d.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function Re(){return{autoActiveFirstOption:!1}}});let Ge=(()=>{class St extends Ee{constructor(gt,yt,Je,ct){super(),this._changeDetectorRef=gt,this._elementRef=yt,this._activeOptionChanges=C.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new d.vpe,this.opened=new d.vpe,this.closed=new d.vpe,this.optionActivated=new d.vpe,this._classList={},this.id="mat-autocomplete-"+$e++,this.inertGroups=(null==ct?void 0:ct.SAFARI)||!1,this._autoActiveFirstOption=!!Je.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(gt){this._autoActiveFirstOption=(0,i.Ig)(gt)}set classList(gt){this._classList=gt&&gt.length?(0,i.du)(gt).reduce((yt,Je)=>(yt[Je]=!0,yt),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new a.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(gt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[gt]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(gt){this.panel&&(this.panel.nativeElement.scrollTop=gt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(gt){const yt=new Be(this,gt);this.optionSelected.emit(yt)}_getPanelAriaLabelledby(gt){return this.ariaLabel?null:this.ariaLabelledby?(gt?gt+" ":"")+this.ariaLabelledby:gt}_setVisibilityClasses(gt){gt[this._visibleClass]=this.showPanel,gt[this._hiddenClass]=!this.showPanel}}return St.\u0275fac=function(gt){return new(gt||St)(d.Y36(d.sBO),d.Y36(d.SBq),d.Y36(Ie),d.Y36(L.t4))},St.\u0275dir=d.lG2({type:St,viewQuery:function(gt,yt){if(1&gt&&(d.Gf(d.Rgc,7),d.Gf(ae,5)),2&gt){let Je;d.iGM(Je=d.CRH())&&(yt.template=Je.first),d.iGM(Je=d.CRH())&&(yt.panel=Je.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[d.qOj]}),St})(),it=(()=>{class St extends Ge{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return St.\u0275fac=function(){let Qt;return function(yt){return(Qt||(Qt=d.n5z(St)))(yt||St)}}(),St.\u0275cmp=d.Xpm({type:St,selectors:[["mat-autocomplete"]],contentQueries:function(gt,yt,Je){if(1&gt&&(d.Suo(Je,p.K7,5),d.Suo(Je,p.ey,5)),2&gt){let ct;d.iGM(ct=d.CRH())&&(yt.optionGroups=ct),d.iGM(ct=d.CRH())&&(yt.options=ct)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[d._Bn([{provide:p.HF,useExisting:St}]),d.qOj],ngContentSelectors:Ve,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(gt,yt){1&gt&&(d.F$t(),d.YNc(0,ge,3,4,"ng-template"))},directives:[M.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),St})();const Se=new d.OlP("mat-autocomplete-scroll-strategy"),V={provide:Se,deps:[D.aV],useFactory:function Z(St){return()=>St.scrollStrategies.reposition()}},U={provide:x.JU,useExisting:(0,d.Gpc)(()=>He),multi:!0};let pe=(()=>{class St{constructor(gt,yt,Je,ct,Xe,X,xe,he,N,F,Y){this._element=gt,this._overlay=yt,this._viewContainerRef=Je,this._zone=ct,this._changeDetectorRef=Xe,this._dir=xe,this._formField=he,this._document=N,this._viewportRuler=F,this._defaults=Y,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=C.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new f.xQ,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,v.P)(()=>{const re=this.autocomplete?this.autocomplete.options:null;return re?re.changes.pipe((0,k.O)(re),(0,H.w)(()=>(0,b.T)(...re.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,j.q)(1),(0,H.w)(()=>this.optionSelections))}),this._scrollStrategy=X}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(gt){this._autocompleteDisabled=(0,i.Ig)(gt)}ngAfterViewInit(){const gt=this._getWindow();void 0!==gt&&this._zone.runOutsideAngular(()=>gt.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(gt){gt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const gt=this._getWindow();void 0!==gt&&gt.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,b.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,z.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,z.h)(()=>this._overlayAttached)):(0,m.of)()).pipe((0,le.U)(gt=>gt instanceof p.rN?gt:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,b.T)((0,I.R)(this._document,"click"),(0,I.R)(this._document,"auxclick"),(0,I.R)(this._document,"touchend")).pipe((0,z.h)(gt=>{const yt=(0,L.sA)(gt),Je=this._formField?this._formField._elementRef.nativeElement:null,ct=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&yt!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Je||!Je.contains(yt))&&(!ct||!ct.contains(yt))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(yt)}))}writeValue(gt){Promise.resolve().then(()=>this._setTriggerValue(gt))}registerOnChange(gt){this._onChange=gt}registerOnTouched(gt){this._onTouched=gt}setDisabledState(gt){this._element.nativeElement.disabled=gt}_handleKeydown(gt){const yt=gt.keyCode,Je=(0,B.Vb)(gt);if(yt===B.hY&&!Je&&gt.preventDefault(),this.activeOption&&yt===B.K5&&this.panelOpen&&!Je)this.activeOption._selectViaInteraction(),this._resetActiveItem(),gt.preventDefault();else if(this.autocomplete){const ct=this.autocomplete._keyManager.activeItem,Xe=yt===B.LH||yt===B.JH;yt===B.Mf||Xe&&!Je&&this.panelOpen?this.autocomplete._keyManager.onKeydown(gt):Xe&&this._canOpen()&&this.openPanel(),(Xe||this.autocomplete._keyManager.activeItem!==ct)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(gt){let yt=gt.target,Je=yt.value;"number"===yt.type&&(Je=""==Je?null:parseFloat(Je)),this._previousValue!==Je&&(this._previousValue=Je,this._onChange(Je),this._canOpen()&&this._document.activeElement===gt.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(gt=!1){this._formField&&"auto"===this._formField.floatLabel&&(gt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const gt=this._zone.onStable.pipe((0,j.q)(1)),yt=this.autocomplete.options.changes.pipe((0,oe.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,$.g)(0));return(0,b.T)(gt,yt).pipe((0,H.w)(()=>(this._zone.run(()=>{const Je=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&(this._overlayRef.updatePosition(),Je!==this.panelOpen&&this.autocomplete.opened.emit())}),this.panelClosingActions)),(0,j.q)(1)).subscribe(Je=>this._setValueAndClose(Je))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(gt){const yt=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(gt):gt,Je=null!=yt?yt:"";this._formField?this._formField._control.value=Je:this._element.nativeElement.value=Je,this._previousValue=Je}_setValueAndClose(gt){const yt=gt&&gt.source;yt&&(this._clearPreviousSelectedOption(yt),this._setTriggerValue(yt.value),this._onChange(yt.value),this.autocomplete._emitSelectEvent(yt),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(gt){this.autocomplete.options.forEach(yt=>{yt!==gt&&yt.selected&&yt.deselect()})}_attachOverlay(){var gt;let yt=this._overlayRef;yt?(this._positionStrategy.setOrigin(this._getConnectedElement()),yt.updateSize({width:this._getPanelWidth()})):(this._portal=new R.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(gt=this._formField)||void 0===gt?void 0:gt.getLabelId()}),yt=this._overlay.create(this._getOverlayConfig()),this._overlayRef=yt,yt.keydownEvents().subscribe(ct=>{(ct.keyCode===B.hY&&!(0,B.Vb)(ct)||ct.keyCode===B.LH&&(0,B.Vb)(ct,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),ct.stopPropagation(),ct.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&yt&&yt.updateSize({width:this._getPanelWidth()})})),yt&&!yt.hasAttached()&&(yt.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const Je=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&Je!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var gt;return new D.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(gt=this._defaults)||void 0===gt?void 0:gt.overlayPanelClass})}_getOverlayPosition(){const gt=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(gt),this._positionStrategy=gt,gt}_setStrategyPositions(gt){const yt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Je=this._aboveClass,ct=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Je},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Je}];let Xe;Xe="above"===this.position?ct:"below"===this.position?yt:[...yt,...ct],gt.withPositions(Xe)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const gt=this.autocomplete;gt.autoActiveFirstOption?gt._keyManager.setFirstItemActive():gt._keyManager.setActiveItem(-1)}_canOpen(){const gt=this._element.nativeElement;return!gt.readOnly&&!gt.disabled&&!this._autocompleteDisabled}_getWindow(){var gt;return(null===(gt=this._document)||void 0===gt?void 0:gt.defaultView)||window}_scrollToOption(gt){const yt=this.autocomplete,Je=(0,p.CB)(gt,yt.options,yt.optionGroups);if(0===gt&&1===Je)yt._setScrollTop(0);else if(yt.panel){const ct=yt.options.toArray()[gt];if(ct){const Xe=ct._getHostElement(),X=(0,p.jH)(Xe.offsetTop,Xe.offsetHeight,yt._getScrollTop(),yt.panel.nativeElement.offsetHeight);yt._setScrollTop(X)}}}}return St.\u0275fac=function(gt){return new(gt||St)(d.Y36(d.SBq),d.Y36(D.aV),d.Y36(d.s_b),d.Y36(d.R0b),d.Y36(d.sBO),d.Y36(Se),d.Y36(y.Is,8),d.Y36(w.G_,9),d.Y36(M.K0,8),d.Y36(A.rL),d.Y36(Ie,8))},St.\u0275dir=d.lG2({type:St,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[d.TTD]}),St})(),He=(()=>{class St extends pe{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return St.\u0275fac=function(){let Qt;return function(yt){return(Qt||(Qt=d.n5z(St)))(yt||St)}}(),St.\u0275dir=d.lG2({type:St,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(gt,yt){1&gt&&d.NdJ("focusin",function(){return yt._handleFocus()})("blur",function(){return yt._onTouched()})("input",function(ct){return yt._handleInput(ct)})("keydown",function(ct){return yt._handleKeydown(ct)})("click",function(){return yt._handleClick()}),2&gt&&d.uIk("autocomplete",yt.autocompleteAttribute)("role",yt.autocompleteDisabled?null:"combobox")("aria-autocomplete",yt.autocompleteDisabled?null:"list")("aria-activedescendant",yt.panelOpen&&yt.activeOption?yt.activeOption.id:null)("aria-expanded",yt.autocompleteDisabled?null:yt.panelOpen.toString())("aria-owns",yt.autocompleteDisabled||!yt.panelOpen||null==yt.autocomplete?null:yt.autocomplete.id)("aria-haspopup",yt.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[d._Bn([U]),d.qOj]}),St})(),lt=(()=>{class St{}return St.\u0275fac=function(gt){return new(gt||St)},St.\u0275mod=d.oAB({type:St}),St.\u0275inj=d.cJS({providers:[V],imports:[[D.U8,p.Ng,p.BQ,M.ez],A.ZD,p.Ng,p.BQ]}),St})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,27544:(ze,G,l)=>{"use strict";l.d(G,{g:()=>I,k:()=>m});var a=l(5e3),i=l(90508),d=l(15664),p=l(63191),C=l(76360);let f=0;const v=(0,i.Id)(class{}),b="mat-badge-content";let m=(()=>{class L extends v{constructor(D,A,B,R,x){super(),this._ngZone=D,this._elementRef=A,this._ariaDescriber=B,this._renderer=R,this._animationMode=x,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=f++,this._isInitialized=!1}get color(){return this._color}set color(D){this._setColor(D),this._color=D}get overlap(){return this._overlap}set overlap(D){this._overlap=(0,p.Ig)(D)}get content(){return this._content}set content(D){this._updateRenderedContent(D)}get description(){return this._description}set description(D){this._updateHostAriaDescription(D)}get hidden(){return this._hidden}set hidden(D){this._hidden=(0,p.Ig)(D)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const D=this._renderer.createElement("span"),A="mat-badge-active";return D.setAttribute("id",`mat-badge-content-${this._id}`),D.setAttribute("aria-hidden","true"),D.classList.add(b),"NoopAnimations"===this._animationMode&&D.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(D),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{D.classList.add(A)})}):D.classList.add(A),D}_updateRenderedContent(D){const A=`${null!=D?D:""}`.trim();this._isInitialized&&A&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=A),this._content=A}_updateHostAriaDescription(D){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),D&&this._ariaDescriber.describe(this._elementRef.nativeElement,D),this._description=D}_setColor(D){const A=this._elementRef.nativeElement.classList;A.remove(`mat-badge-${this._color}`),D&&A.add(`mat-badge-${D}`)}_clearExistingBadges(){const D=this._elementRef.nativeElement.querySelectorAll(`:scope > .${b}`);for(const A of Array.from(D))A!==this._badgeElement&&A.remove()}}return L.\u0275fac=function(D){return new(D||L)(a.Y36(a.R0b),a.Y36(a.SBq),a.Y36(d.$s),a.Y36(a.Qsj),a.Y36(C.Qb,8))},L.\u0275dir=a.lG2({type:L,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(D,A){2&D&&a.ekj("mat-badge-overlap",A.overlap)("mat-badge-above",A.isAbove())("mat-badge-below",!A.isAbove())("mat-badge-before",!A.isAfter())("mat-badge-after",A.isAfter())("mat-badge-small","small"===A.size)("mat-badge-medium","medium"===A.size)("mat-badge-large","large"===A.size)("mat-badge-hidden",A.hidden||!A.content)("mat-badge-disabled",A.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[a.qOj]}),L})(),I=(()=>{class L{}return L.\u0275fac=function(D){return new(D||L)},L.\u0275mod=a.oAB({type:L}),L.\u0275inj=a.cJS({imports:[[d.rt,i.BQ],i.BQ]}),L})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,47423:(ze,G,l)=>{"use strict";l.d(G,{lW:()=>L,ot:()=>D,zs:()=>M});var a=l(5e3),i=l(90508),d=l(76360),p=l(15664);const C=["mat-button",""],f=["*"],m=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],I=(0,i.pj)((0,i.Id)((0,i.Kr)(class{constructor(A){this._elementRef=A}})));let L=(()=>{class A extends I{constructor(R,x,w){super(R),this._focusMonitor=x,this._animationMode=w,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const k of m)this._hasHostAttributes(k)&&this._getHostElement().classList.add(k);R.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(R,x){R?this._focusMonitor.focusVia(this._getHostElement(),R,x):this._getHostElement().focus(x)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...R){return R.some(x=>this._getHostElement().hasAttribute(x))}}return A.\u0275fac=function(R){return new(R||A)(a.Y36(a.SBq),a.Y36(p.tE),a.Y36(d.Qb,8))},A.\u0275cmp=a.Xpm({type:A,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(R,x){if(1&R&&a.Gf(i.wG,5),2&R){let w;a.iGM(w=a.CRH())&&(x.ripple=w.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(R,x){2&R&&(a.uIk("disabled",x.disabled||null),a.ekj("_mat-animation-noopable","NoopAnimations"===x._animationMode)("mat-button-disabled",x.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[a.qOj],attrs:C,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(R,x){1&R&&(a.F$t(),a.TgZ(0,"span",0),a.Hsn(1),a.qZA(),a._UZ(2,"span",1)(3,"span",2)),2&R&&(a.xp6(2),a.ekj("mat-button-ripple-round",x.isRoundButton||x.isIconButton),a.Q6J("matRippleDisabled",x._isRippleDisabled())("matRippleCentered",x.isIconButton)("matRippleTrigger",x._getHostElement()))},directives:[i.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),A})(),M=(()=>{class A extends L{constructor(R,x,w,k){super(x,R,w),this._ngZone=k,this._haltDisabledEvents=H=>{this.disabled&&(H.preventDefault(),H.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return A.\u0275fac=function(R){return new(R||A)(a.Y36(p.tE),a.Y36(a.SBq),a.Y36(d.Qb,8),a.Y36(a.R0b,8))},A.\u0275cmp=a.Xpm({type:A,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(R,x){2&R&&(a.uIk("tabindex",x.disabled?-1:x.tabIndex)("disabled",x.disabled||null)("aria-disabled",x.disabled.toString()),a.ekj("_mat-animation-noopable","NoopAnimations"===x._animationMode)("mat-button-disabled",x.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[a.qOj],attrs:C,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(R,x){1&R&&(a.F$t(),a.TgZ(0,"span",0),a.Hsn(1),a.qZA(),a._UZ(2,"span",1)(3,"span",2)),2&R&&(a.xp6(2),a.ekj("mat-button-ripple-round",x.isRoundButton||x.isIconButton),a.Q6J("matRippleDisabled",x._isRippleDisabled())("matRippleCentered",x.isIconButton)("matRippleTrigger",x._getHostElement()))},directives:[i.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),A})(),D=(()=>{class A{}return A.\u0275fac=function(R){return new(R||A)},A.\u0275mod=a.oAB({type:A}),A.\u0275inj=a.cJS({imports:[[i.si,i.BQ],i.BQ]}),A})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,9224:(ze,G,l)=>{"use strict";l.d(G,{G2:()=>B,QW:()=>oe,a8:()=>j,dk:()=>z,dn:()=>I,hq:()=>D,n5:()=>L});var a=l(5e3),i=l(76360),d=l(90508);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const p=["*",[["mat-card-footer"]]],C=["*","mat-card-footer"],f=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],v=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"];let I=(()=>{class ${}return $.\u0275fac=function(ae){return new(ae||$)},$.\u0275dir=a.lG2({type:$,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),$})(),L=(()=>{class ${}return $.\u0275fac=function(ae){return new(ae||$)},$.\u0275dir=a.lG2({type:$,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),$})(),D=(()=>{class ${constructor(){this.align="start"}}return $.\u0275fac=function(ae){return new(ae||$)},$.\u0275dir=a.lG2({type:$,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(ae,ge){2&ae&&a.ekj("mat-card-actions-align-end","end"===ge.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),$})(),B=(()=>{class ${}return $.\u0275fac=function(ae){return new(ae||$)},$.\u0275dir=a.lG2({type:$,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),$})(),j=(()=>{class ${constructor(ae){this._animationMode=ae}}return $.\u0275fac=function(ae){return new(ae||$)(a.Y36(i.Qb,8))},$.\u0275cmp=a.Xpm({type:$,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(ae,ge){2&ae&&a.ekj("_mat-animation-noopable","NoopAnimations"===ge._animationMode)},exportAs:["matCard"],ngContentSelectors:C,decls:2,vars:0,template:function(ae,ge){1&ae&&(a.F$t(p),a.Hsn(0),a.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),$})(),z=(()=>{class ${}return $.\u0275fac=function(ae){return new(ae||$)},$.\u0275cmp=a.Xpm({type:$,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:v,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(ae,ge){1&ae&&(a.F$t(f),a.Hsn(0),a.TgZ(1,"div",0),a.Hsn(2,1),a.qZA(),a.Hsn(3,2))},encapsulation:2,changeDetection:0}),$})(),oe=(()=>{class ${}return $.\u0275fac=function(ae){return new(ae||$)},$.\u0275mod=a.oAB({type:$}),$.\u0275inj=a.cJS({imports:[[d.BQ],d.BQ]}),$})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,77446:(ze,G,l)=>{"use strict";l.d(G,{oG:()=>w,p9:()=>z});var a=l(63191),i=l(5e3),d=l(93075),p=l(90508),C=l(76360),f=l(15664),v=l(17144);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const b=["input"],m=function(le){return{enterDuration:le}},I=["*"],L=new i.OlP("mat-checkbox-default-options",{providedIn:"root",factory:M});function M(){return{color:"accent",clickAction:"check-indeterminate"}}let D=0;const A=M(),B={provide:d.JU,useExisting:(0,i.Gpc)(()=>w),multi:!0};class R{}const x=(0,p.sb)((0,p.pj)((0,p.Kr)((0,p.Id)(class{constructor(le){this._elementRef=le}}))));let w=(()=>{class le extends x{constructor($,y,ae,ge,Ve,$e,Be){super($),this._changeDetectorRef=y,this._focusMonitor=ae,this._ngZone=ge,this._animationMode=$e,this._options=Be,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++D,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.vpe,this.indeterminateChange=new i.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||A,this.color=this.defaultColor=this._options.color||A.color,this.tabIndex=parseInt(Ve)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required($){this._required=(0,a.Ig)($)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe($=>{$||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked($){const y=(0,a.Ig)($);y!=this.checked&&(this._checked=y,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled($){const y=(0,a.Ig)($);y!==this.disabled&&(this._disabled=y,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate($){const y=$!=this._indeterminate;this._indeterminate=(0,a.Ig)($),y&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue($){this.checked=!!$}registerOnChange($){this._controlValueAccessorChangeFn=$}registerOnTouched($){this._onTouched=$}setDisabledState($){this.disabled=$}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState($){let y=this._currentCheckState,ae=this._elementRef.nativeElement;if(y!==$&&(this._currentAnimationClass.length>0&&ae.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(y,$),this._currentCheckState=$,this._currentAnimationClass.length>0)){ae.classList.add(this._currentAnimationClass);const ge=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ae.classList.remove(ge)},1e3)})}}_emitChangeEvent(){const $=new R;$.source=this,$.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit($),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick($){var y;const ae=null===(y=this._options)||void 0===y?void 0:y.clickAction;$.stopPropagation(),this.disabled||"noop"===ae?!this.disabled&&"noop"===ae&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ae&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus($,y){$?this._focusMonitor.focusVia(this._inputElement,$,y):this._inputElement.nativeElement.focus(y)}_onInteractionEvent($){$.stopPropagation()}_getAnimationClassForCheckStateTransition($,y){if("NoopAnimations"===this._animationMode)return"";let ae="";switch($){case 0:if(1===y)ae="unchecked-checked";else{if(3!=y)return"";ae="unchecked-indeterminate"}break;case 2:ae=1===y?"unchecked-checked":"unchecked-indeterminate";break;case 1:ae=2===y?"checked-unchecked":"checked-indeterminate";break;case 3:ae=1===y?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${ae}`}_syncIndeterminate($){const y=this._inputElement;y&&(y.nativeElement.indeterminate=$)}}return le.\u0275fac=function($){return new($||le)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(f.tE),i.Y36(i.R0b),i.$8M("tabindex"),i.Y36(C.Qb,8),i.Y36(L,8))},le.\u0275cmp=i.Xpm({type:le,selectors:[["mat-checkbox"]],viewQuery:function($,y){if(1&$&&(i.Gf(b,5),i.Gf(p.wG,5)),2&$){let ae;i.iGM(ae=i.CRH())&&(y._inputElement=ae.first),i.iGM(ae=i.CRH())&&(y.ripple=ae.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function($,y){2&$&&(i.Ikx("id",y.id),i.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),i.ekj("mat-checkbox-indeterminate",y.indeterminate)("mat-checkbox-checked",y.checked)("mat-checkbox-disabled",y.disabled)("mat-checkbox-label-before","before"==y.labelPosition)("_mat-animation-noopable","NoopAnimations"===y._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i._Bn([B]),i.qOj],ngContentSelectors:I,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function($,y){if(1&$&&(i.F$t(),i.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),i.NdJ("change",function(ge){return y._onInteractionEvent(ge)})("click",function(ge){return y._onInputClick(ge)}),i.qZA(),i.TgZ(5,"span",5),i._UZ(6,"span",6),i.qZA(),i._UZ(7,"span",7),i.TgZ(8,"span",8),i.O4$(),i.TgZ(9,"svg",9),i._UZ(10,"path",10),i.qZA(),i.kcU(),i._UZ(11,"span",11),i.qZA()(),i.TgZ(12,"span",12,13),i.NdJ("cdkObserveContent",function(){return y._onLabelTextChange()}),i.TgZ(14,"span",14),i._uU(15,"\xa0"),i.qZA(),i.Hsn(16),i.qZA()()),2&$){const ae=i.MAs(1),ge=i.MAs(13);i.uIk("for",y.inputId),i.xp6(2),i.ekj("mat-checkbox-inner-container-no-side-margin",!ge.textContent||!ge.textContent.trim()),i.xp6(1),i.Q6J("id",y.inputId)("required",y.required)("checked",y.checked)("disabled",y.disabled)("tabIndex",y.tabIndex),i.uIk("value",y.value)("name",y.name)("aria-label",y.ariaLabel||null)("aria-labelledby",y.ariaLabelledby)("aria-checked",y._getAriaChecked())("aria-describedby",y.ariaDescribedby),i.xp6(2),i.Q6J("matRippleTrigger",ae)("matRippleDisabled",y._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.VKq(19,m,"NoopAnimations"===y._animationMode?0:150))}},directives:[p.wG,v.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),le})(),j=(()=>{class le{}return le.\u0275fac=function($){return new($||le)},le.\u0275mod=i.oAB({type:le}),le.\u0275inj=i.cJS({}),le})(),z=(()=>{class le{}return le.\u0275fac=function($){return new($||le)},le.\u0275mod=i.oAB({type:le}),le.\u0275inj=i.cJS({imports:[[p.si,p.BQ,v.Q8,j],p.BQ,j]}),le})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,26688:(ze,G,l)=>{"use strict";l.d(G,{HS:()=>ae,Hi:()=>Se,oH:()=>Be,qH:()=>ge,qn:()=>Ge});var a=l(91159),i=l(5e3),d=l(90508),p=l(63191),C=l(69808),f=l(76360),v=l(8929),b=l(36787),m=l(72986),I=l(7625),L=l(1059),M=l(70925),D=l(15664),A=l(20449),B=l(93075),R=l(67322),x=l(50226);const w=["*"],H=new i.OlP("MatChipRemove"),j=new i.OlP("MatChipAvatar"),z=new i.OlP("MatChipTrailingIcon");class le{constructor(V){this._elementRef=V}}const oe=(0,d.sb)((0,d.pj)((0,d.Kr)(le),"primary"),-1);let ae=(()=>{class Z extends oe{constructor(U,fe,pe,He,et,de,lt,St){super(U),this._ngZone=fe,this._changeDetectorRef=et,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new v.xQ,this._onBlur=new v.xQ,this.selectionChange=new i.vpe,this.destroyed=new i.vpe,this.removed=new i.vpe,this._addHostClassName(),this._chipRippleTarget=de.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new d.IR(this,fe,this._chipRippleTarget,pe),this._chipRipple.setupTriggerEvents(U),this.rippleConfig=He||{},this._animationsDisabled="NoopAnimations"===lt,this.tabIndex=null!=St&&parseInt(St)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(U){const fe=(0,p.Ig)(U);fe!==this._selected&&(this._selected=fe,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(U){this._value=U}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(U){this._selectable=(0,p.Ig)(U)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(U){this._disabled=(0,p.Ig)(U)}get removable(){return this._removable}set removable(U){this._removable=(0,p.Ig)(U)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const U="mat-basic-chip",fe=this._elementRef.nativeElement;fe.hasAttribute(U)||fe.tagName.toLowerCase()===U?fe.classList.add(U):fe.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(U=!1){return this._selected=!this.selected,this._dispatchSelectionChange(U),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(U){this.disabled&&U.preventDefault()}_handleKeydown(U){if(!this.disabled)switch(U.keyCode){case a.yY:case a.ZH:this.remove(),U.preventDefault();break;case a.L_:this.selectable&&this.toggleSelected(!0),U.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(U=!1){this.selectionChange.emit({source:this,isUserInput:U,selected:this._selected})}}return Z.\u0275fac=function(U){return new(U||Z)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(M.t4),i.Y36(d.Y2,8),i.Y36(i.sBO),i.Y36(C.K0),i.Y36(f.Qb,8),i.$8M("tabindex"))},Z.\u0275dir=i.lG2({type:Z,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(U,fe,pe){if(1&U&&(i.Suo(pe,j,5),i.Suo(pe,z,5),i.Suo(pe,H,5)),2&U){let He;i.iGM(He=i.CRH())&&(fe.avatar=He.first),i.iGM(He=i.CRH())&&(fe.trailingIcon=He.first),i.iGM(He=i.CRH())&&(fe.removeIcon=He.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(U,fe){1&U&&i.NdJ("click",function(He){return fe._handleClick(He)})("keydown",function(He){return fe._handleKeydown(He)})("focus",function(){return fe.focus()})("blur",function(){return fe._blur()}),2&U&&(i.uIk("tabindex",fe.disabled?null:fe.tabIndex)("disabled",fe.disabled||null)("aria-disabled",fe.disabled.toString())("aria-selected",fe.ariaSelected),i.ekj("mat-chip-selected",fe.selected)("mat-chip-with-avatar",fe.avatar)("mat-chip-with-trailing-icon",fe.trailingIcon||fe.removeIcon)("mat-chip-disabled",fe.disabled)("_mat-animation-noopable",fe._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[i.qOj]}),Z})(),ge=(()=>{class Z{constructor(U,fe){this._parentChip=U,"BUTTON"===fe.nativeElement.nodeName&&fe.nativeElement.setAttribute("type","button")}_handleClick(U){const fe=this._parentChip;fe.removable&&!fe.disabled&&fe.remove(),U.stopPropagation(),U.preventDefault()}}return Z.\u0275fac=function(U){return new(U||Z)(i.Y36(ae),i.Y36(i.SBq))},Z.\u0275dir=i.lG2({type:Z,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(U,fe){1&U&&i.NdJ("click",function(He){return fe._handleClick(He)})},features:[i._Bn([{provide:H,useExisting:Z}])]}),Z})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Ve=new i.OlP("mat-chips-default-options");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let $e=0,Be=(()=>{class Z{constructor(U,fe){this._elementRef=U,this._defaultOptions=fe,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new i.vpe,this.placeholder="",this.id="mat-chip-list-input-"+$e++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(U){U&&(this._chipList=U,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(U){this._addOnBlur=(0,p.Ig)(U)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(U){this._disabled=(0,p.Ig)(U)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(U){if(U){if(U.keyCode===a.Mf&&!(0,a.Vb)(U,"shiftKey")&&this._chipList._allowFocusEscape(),U.keyCode===a.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void U.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(U)}_keyup(U){!this._focusLastChipOnBackspace&&U.keyCode===a.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,U.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(U){!this.inputElement.value&&!!U&&this._chipList._keydown(U),(!U||this._isSeparatorKey(U))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==U||U.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(U){this.inputElement.focus(U)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(U){return!(0,a.Vb)(U)&&new Set(this.separatorKeyCodes).has(U.keyCode)}}return Z.\u0275fac=function(U){return new(U||Z)(i.Y36(i.SBq),i.Y36(Ve))},Z.\u0275dir=i.lG2({type:Z,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(U,fe){1&U&&i.NdJ("keydown",function(He){return fe._keydown(He)})("keyup",function(He){return fe._keyup(He)})("blur",function(){return fe._blur()})("focus",function(){return fe._focus()})("input",function(){return fe._onInput()}),2&U&&(i.Ikx("id",fe.id),i.uIk("disabled",fe.disabled||null)("placeholder",fe.placeholder||null)("aria-invalid",fe._chipList&&fe._chipList.ngControl?fe._chipList.ngControl.invalid:null)("aria-required",fe._chipList&&fe._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[i.TTD]}),Z})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Ee=(0,d.FD)(class{constructor(Z,V,U,fe){this._defaultErrorStateMatcher=Z,this._parentForm=V,this._parentFormGroup=U,this.ngControl=fe}});let Ie=0;class Re{constructor(V,U){this.source=V,this.value=U}}let Ge=(()=>{class Z extends Ee{constructor(U,fe,pe,He,et,de,lt){super(de,He,et,lt),this._elementRef=U,this._changeDetectorRef=fe,this._dir=pe,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new v.xQ,this._uid="mat-chip-list-"+Ie++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(St,Qt)=>St===Qt,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new i.vpe,this.valueChange=new i.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var U,fe;return this.multiple?(null===(U=this._selectionModel)||void 0===U?void 0:U.selected)||[]:null===(fe=this._selectionModel)||void 0===fe?void 0:fe.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(U){this._multiple=(0,p.Ig)(U),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(U){this._compareWith=U,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(U){this.writeValue(U),this._value=U}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var U,fe,pe,He;return null!==(He=null!==(U=this._required)&&void 0!==U?U:null===(pe=null===(fe=this.ngControl)||void 0===fe?void 0:fe.control)||void 0===pe?void 0:pe.hasValidator(B.kI.required))&&void 0!==He&&He}set required(U){this._required=(0,p.Ig)(U),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(U){this._placeholder=U,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(U){this._disabled=(0,p.Ig)(U),this._syncChipsState()}get selectable(){return this._selectable}set selectable(U){this._selectable=(0,p.Ig)(U),this.chips&&this.chips.forEach(fe=>fe.chipListSelectable=this._selectable)}set tabIndex(U){this._userTabIndex=U,this._tabIndex=U}get chipSelectionChanges(){return(0,b.T)(...this.chips.map(U=>U.selectionChange))}get chipFocusChanges(){return(0,b.T)(...this.chips.map(U=>U._onFocus))}get chipBlurChanges(){return(0,b.T)(...this.chips.map(U=>U._onBlur))}get chipRemoveChanges(){return(0,b.T)(...this.chips.map(U=>U.destroyed))}ngAfterContentInit(){this._keyManager=new D.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,I.R)(this._destroyed)).subscribe(U=>this._keyManager.withHorizontalOrientation(U)),this._keyManager.tabOut.pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,L.O)(null),(0,I.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new A.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(U){this._chipInput=U,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",U.id)}setDescribedByIds(U){this._ariaDescribedby=U.join(" ")}writeValue(U){this.chips&&this._setSelectionByValue(U,!1)}registerOnChange(U){this._onChange=U}registerOnTouched(U){this._onTouched=U}setDisabledState(U){this.disabled=U,this.stateChanges.next()}onContainerClick(U){this._originatesFromChip(U)||this.focus()}focus(U){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(U),this.stateChanges.next()))}_focusInput(U){this._chipInput&&this._chipInput.focus(U)}_keydown(U){const fe=U.target;fe&&fe.classList.contains("mat-chip")&&(this._keyManager.onKeydown(U),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const U=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(U)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(U){return U>=0&&U<this.chips.length}_setSelectionByValue(U,fe=!0){if(this._clearSelection(),this.chips.forEach(pe=>pe.deselect()),Array.isArray(U))U.forEach(pe=>this._selectValue(pe,fe)),this._sortValues();else{const pe=this._selectValue(U,fe);pe&&fe&&this._keyManager.setActiveItem(pe)}}_selectValue(U,fe=!0){const pe=this.chips.find(He=>null!=He.value&&this._compareWith(He.value,U));return pe&&(fe?pe.selectViaInteraction():pe.select(),this._selectionModel.select(pe)),pe}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(U){this._selectionModel.clear(),this.chips.forEach(fe=>{fe!==U&&fe.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(U=>{U.selected&&this._selectionModel.select(U)}),this.stateChanges.next())}_propagateChanges(U){let fe=null;fe=Array.isArray(this.selected)?this.selected.map(pe=>pe.value):this.selected?this.selected.value:U,this._value=fe,this.change.emit(new Re(this,fe)),this.valueChange.emit(fe),this._onChange(fe),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(U=>{U.source.selected?this._selectionModel.select(U.source):this._selectionModel.deselect(U.source),this.multiple||this.chips.forEach(fe=>{!this._selectionModel.isSelected(fe)&&fe.selected&&fe.deselect()}),U.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(U=>{let fe=this.chips.toArray().indexOf(U.chip);this._isValidIndex(fe)&&this._keyManager.updateActiveItem(fe),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(U=>{const fe=U.chip,pe=this.chips.toArray().indexOf(U.chip);this._isValidIndex(pe)&&fe._hasFocus&&(this._lastDestroyedChipIndex=pe)})}_originatesFromChip(U){let fe=U.target;for(;fe&&fe!==this._elementRef.nativeElement;){if(fe.classList.contains("mat-chip"))return!0;fe=fe.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(U=>U._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(U=>{U._chipListDisabled=this._disabled,U._chipListMultiple=this.multiple})}}return Z.\u0275fac=function(U){return new(U||Z)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(x.Is,8),i.Y36(B.F,8),i.Y36(B.sg,8),i.Y36(d.rD),i.Y36(B.a5,10))},Z.\u0275cmp=i.Xpm({type:Z,selectors:[["mat-chip-list"]],contentQueries:function(U,fe,pe){if(1&U&&i.Suo(pe,ae,5),2&U){let He;i.iGM(He=i.CRH())&&(fe.chips=He)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(U,fe){1&U&&i.NdJ("focus",function(){return fe.focus()})("blur",function(){return fe._blur()})("keydown",function(He){return fe._keydown(He)}),2&U&&(i.Ikx("id",fe._uid),i.uIk("tabindex",fe.disabled?null:fe._tabIndex)("aria-describedby",fe._ariaDescribedby||null)("aria-required",fe.role?fe.required:null)("aria-disabled",fe.disabled.toString())("aria-invalid",fe.errorState)("aria-multiselectable",fe.multiple)("role",fe.role)("aria-orientation",fe.ariaOrientation),i.ekj("mat-chip-list-disabled",fe.disabled)("mat-chip-list-invalid",fe.errorState)("mat-chip-list-required",fe.required))},inputs:{errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[i._Bn([{provide:R.Eo,useExisting:Z}]),i.qOj],ngContentSelectors:w,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(U,fe){1&U&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),Z})(),Se=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275mod=i.oAB({type:Z}),Z.\u0275inj=i.cJS({providers:[d.rD,{provide:Ve,useValue:{separatorKeyCodes:[a.K5]}}],imports:[[d.BQ]]}),Z})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,90508:(ze,G,l)=>{"use strict";l.d(G,{_A:()=>Re,rD:()=>He,K7:()=>hn,HF:()=>Ye,Y2:()=>N,BQ:()=>z,X2:()=>et,uc:()=>St,Nv:()=>gn,ey:()=>In,Ng:()=>Bn,rN:()=>An,nP:()=>re,us:()=>Oe,wG:()=>F,si:()=>Y,IR:()=>X,CB:()=>wn,jH:()=>Wn,pj:()=>ae,Kr:()=>ge,Id:()=>y,FD:()=>$e,sb:()=>Ve,E0:()=>de});var a=l(5e3),i=l(50226),p=l(69808),C=l(70925),f=l(15664),v=l(63191),b=l(8929),m=l(1059),I=l(76360),L=l(91159);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const M=["*",[["mat-option"],["ng-container"]]],D=["*","mat-option, ng-container"];function A(Xt,Pt){if(1&Xt&&a._UZ(0,"mat-pseudo-checkbox",4),2&Xt){const ht=a.oxw();a.Q6J("state",ht.selected?"checked":"unchecked")("disabled",ht.disabled)}}function B(Xt,Pt){if(1&Xt&&(a.TgZ(0,"span",5),a._uU(1),a.qZA()),2&Xt){const ht=a.oxw();a.xp6(1),a.hij("(",ht.group.label,")")}}const R=["*"],j=new a.OlP("mat-sanity-checks",{providedIn:"root",factory:function H(){return!0}});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let z=(()=>{class Xt{constructor(ht,be,Ze){this._sanityChecks=be,this._document=Ze,this._hasDoneGlobalChecks=!1,ht._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ht){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ht])}}return Xt.\u0275fac=function(ht){return new(ht||Xt)(a.LFG(f.qm),a.LFG(j,8),a.LFG(p.K0))},Xt.\u0275mod=a.oAB({type:Xt}),Xt.\u0275inj=a.cJS({imports:[[i.vT],i.vT]}),Xt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function y(Xt){return class extends Xt{constructor(...Pt){super(...Pt),this._disabled=!1}get disabled(){return this._disabled}set disabled(Pt){this._disabled=(0,v.Ig)(Pt)}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function ae(Xt,Pt){return class extends Xt{constructor(...ht){super(...ht),this.defaultColor=Pt,this.color=Pt}get color(){return this._color}set color(ht){const be=ht||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function ge(Xt){return class extends Xt{constructor(...Pt){super(...Pt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Pt){this._disableRipple=(0,v.Ig)(Pt)}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ve(Xt,Pt=0){return class extends Xt{constructor(...ht){super(...ht),this._tabIndex=Pt,this.defaultTabIndex=Pt}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ht){this._tabIndex=null!=ht?(0,v.su)(ht):this.defaultTabIndex}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function $e(Xt){return class extends Xt{constructor(...Pt){super(...Pt),this.stateChanges=new b.xQ,this.errorState=!1}updateErrorState(){const Pt=this.errorState,_t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);_t!==Pt&&(this.errorState=_t,this.stateChanges.next())}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Re{constructor(){this._localeChanges=new b.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Pt){return this.isDateInstance(Pt)&&this.isValid(Pt)?Pt:null}deserialize(Pt){return null==Pt||this.isDateInstance(Pt)&&this.isValid(Pt)?Pt:this.invalid()}setLocale(Pt){this.locale=Pt,this._localeChanges.next()}compareDate(Pt,ht){return this.getYear(Pt)-this.getYear(ht)||this.getMonth(Pt)-this.getMonth(ht)||this.getDate(Pt)-this.getDate(ht)}sameDate(Pt,ht){if(Pt&&ht){let be=this.isValid(Pt),Ze=this.isValid(ht);return be&&Ze?!this.compareDate(Pt,ht):be==Ze}return Pt==ht}clampDate(Pt,ht,be){return ht&&this.compareDate(Pt,ht)<0?ht:be&&this.compareDate(Pt,be)>0?be:Pt}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let He=(()=>{class Xt{isErrorState(ht,be){return!!(ht&&ht.invalid&&(ht.touched||be&&be.submitted))}}return Xt.\u0275fac=function(ht){return new(ht||Xt)},Xt.\u0275prov=a.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"}),Xt})(),et=(()=>{class Xt{}return Xt.\u0275fac=function(ht){return new(ht||Xt)},Xt.\u0275dir=a.lG2({type:Xt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Xt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function de(Xt,Pt,ht="mat"){Xt.changes.pipe((0,m.O)(Xt)).subscribe(({length:be})=>{lt(Pt,`${ht}-2-line`,!1),lt(Pt,`${ht}-3-line`,!1),lt(Pt,`${ht}-multi-line`,!1),2===be||3===be?lt(Pt,`${ht}-${be}-line`,!0):be>3&&lt(Pt,`${ht}-multi-line`,!0)})}function lt(Xt,Pt,ht){Xt.nativeElement.classList.toggle(Pt,ht)}let St=(()=>{class Xt{}return Xt.\u0275fac=function(ht){return new(ht||Xt)},Xt.\u0275mod=a.oAB({type:Xt}),Xt.\u0275inj=a.cJS({imports:[[z],z]}),Xt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Qt{constructor(Pt,ht,be){this._renderer=Pt,this.element=ht,this.config=be,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const gt={enterDuration:225,exitDuration:150},Je=(0,C.i$)({passive:!0}),ct=["mousedown","touchstart"],Xe=["mouseup","mouseleave","touchend","touchcancel"];class X{constructor(Pt,ht,be,Ze){this._target=Pt,this._ngZone=ht,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Ze.isBrowser&&(this._containerElement=(0,v.fI)(be))}fadeInRipple(Pt,ht,be={}){const Ze=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),_t=Object.assign(Object.assign({},gt),be.animation);be.centered&&(Pt=Ze.left+Ze.width/2,ht=Ze.top+Ze.height/2);const st=be.radius||function he(Xt,Pt,ht){const be=Math.max(Math.abs(Xt-ht.left),Math.abs(Xt-ht.right)),Ze=Math.max(Math.abs(Pt-ht.top),Math.abs(Pt-ht.bottom));return Math.sqrt(be*be+Ze*Ze)}(Pt,ht,Ze),Ut=Pt-Ze.left,Ht=ht-Ze.top,dn=_t.enterDuration,jt=document.createElement("div");jt.classList.add("mat-ripple-element"),jt.style.left=Ut-st+"px",jt.style.top=Ht-st+"px",jt.style.height=2*st+"px",jt.style.width=2*st+"px",null!=be.color&&(jt.style.backgroundColor=be.color),jt.style.transitionDuration=`${dn}ms`,this._containerElement.appendChild(jt),function xe(Xt){window.getComputedStyle(Xt).getPropertyValue("opacity")}(jt),jt.style.transform="scale(1)";const ce=new Qt(this,jt,be);return ce.state=0,this._activeRipples.add(ce),be.persistent||(this._mostRecentTransientRipple=ce),this._runTimeoutOutsideZone(()=>{const Ce=ce===this._mostRecentTransientRipple;ce.state=1,!be.persistent&&(!Ce||!this._isPointerDown)&&ce.fadeOut()},dn),ce}fadeOutRipple(Pt){const ht=this._activeRipples.delete(Pt);if(Pt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!ht)return;const be=Pt.element,Ze=Object.assign(Object.assign({},gt),Pt.config.animation);be.style.transitionDuration=`${Ze.exitDuration}ms`,be.style.opacity="0",Pt.state=2,this._runTimeoutOutsideZone(()=>{Pt.state=3,be.remove()},Ze.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Pt=>Pt.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Pt=>{Pt.config.persistent||Pt.fadeOut()})}setupTriggerEvents(Pt){const ht=(0,v.fI)(Pt);!ht||ht===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ht,this._registerEvents(ct))}handleEvent(Pt){"mousedown"===Pt.type?this._onMousedown(Pt):"touchstart"===Pt.type?this._onTouchStart(Pt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Xe),this._pointerUpEventsRegistered=!0)}_onMousedown(Pt){const ht=(0,f.X6)(Pt),be=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ht&&!be&&(this._isPointerDown=!0,this.fadeInRipple(Pt.clientX,Pt.clientY,this._target.rippleConfig))}_onTouchStart(Pt){if(!this._target.rippleDisabled&&!(0,f.yG)(Pt)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ht=Pt.changedTouches;for(let be=0;be<ht.length;be++)this.fadeInRipple(ht[be].clientX,ht[be].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(Pt=>{!Pt.config.persistent&&(1===Pt.state||Pt.config.terminateOnPointerUp&&0===Pt.state)&&Pt.fadeOut()}))}_runTimeoutOutsideZone(Pt,ht=0){this._ngZone.runOutsideAngular(()=>setTimeout(Pt,ht))}_registerEvents(Pt){this._ngZone.runOutsideAngular(()=>{Pt.forEach(ht=>{this._triggerElement.addEventListener(ht,this,Je)})})}_removeTriggerEvents(){this._triggerElement&&(ct.forEach(Pt=>{this._triggerElement.removeEventListener(Pt,this,Je)}),this._pointerUpEventsRegistered&&Xe.forEach(Pt=>{this._triggerElement.removeEventListener(Pt,this,Je)}))}}const N=new a.OlP("mat-ripple-global-options");let F=(()=>{class Xt{constructor(ht,be,Ze,_t,st){this._elementRef=ht,this._animationMode=st,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=_t||{},this._rippleRenderer=new X(this,be,ht,Ze)}get disabled(){return this._disabled}set disabled(ht){ht&&this.fadeOutAllNonPersistent(),this._disabled=ht,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ht){this._trigger=ht,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(ht,be=0,Ze){return"number"==typeof ht?this._rippleRenderer.fadeInRipple(ht,be,Object.assign(Object.assign({},this.rippleConfig),Ze)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),ht))}}return Xt.\u0275fac=function(ht){return new(ht||Xt)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(C.t4),a.Y36(N,8),a.Y36(I.Qb,8))},Xt.\u0275dir=a.lG2({type:Xt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ht,be){2&ht&&a.ekj("mat-ripple-unbounded",be.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),Xt})(),Y=(()=>{class Xt{}return Xt.\u0275fac=function(ht){return new(ht||Xt)},Xt.\u0275mod=a.oAB({type:Xt}),Xt.\u0275inj=a.cJS({imports:[[z],z]}),Xt})(),re=(()=>{class Xt{constructor(ht){this._animationMode=ht,this.state="unchecked",this.disabled=!1}}return Xt.\u0275fac=function(ht){return new(ht||Xt)(a.Y36(I.Qb,8))},Xt.\u0275cmp=a.Xpm({type:Xt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(ht,be){2&ht&&a.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(ht,be){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Xt})(),Oe=(()=>{class Xt{}return Xt.\u0275fac=function(ht){return new(ht||Xt)},Xt.\u0275mod=a.oAB({type:Xt}),Xt.\u0275inj=a.cJS({imports:[[z]]}),Xt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Ye=new a.OlP("MAT_OPTION_PARENT_COMPONENT"),vt=y(class{});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Vt=0,Jt=(()=>{class Xt extends vt{constructor(ht){var be;super(),this._labelId="mat-optgroup-label-"+Vt++,this._inert=null!==(be=null==ht?void 0:ht.inertGroups)&&void 0!==be&&be}}return Xt.\u0275fac=function(ht){return new(ht||Xt)(a.Y36(Ye,8))},Xt.\u0275dir=a.lG2({type:Xt,inputs:{label:"label"},features:[a.qOj]}),Xt})();const hn=new a.OlP("MatOptgroup");let gn=(()=>{class Xt extends Jt{}return Xt.\u0275fac=function(){let Pt;return function(be){return(Pt||(Pt=a.n5z(Xt)))(be||Xt)}}(),Xt.\u0275cmp=a.Xpm({type:Xt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(ht,be){2&ht&&(a.uIk("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId),a.ekj("mat-optgroup-disabled",be.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[a._Bn([{provide:hn,useExisting:Xt}]),a.qOj],ngContentSelectors:D,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(ht,be){1&ht&&(a.F$t(M),a.TgZ(0,"span",0),a._uU(1),a.Hsn(2),a.qZA(),a.Hsn(3,1)),2&ht&&(a.Q6J("id",be._labelId),a.xp6(1),a.hij("",be.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Xt})(),yn=0;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class An{constructor(Pt,ht=!1){this.source=Pt,this.isUserInput=ht}}let Nn=(()=>{class Xt{constructor(ht,be,Ze,_t){this._element=ht,this._changeDetectorRef=be,this._parent=Ze,this.group=_t,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+yn++,this.onSelectionChange=new a.vpe,this._stateChanges=new b.xQ}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(ht){this._disabled=(0,v.Ig)(ht)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(ht,be){const Ze=this._getHostElement();"function"==typeof Ze.focus&&Ze.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ht){(ht.keyCode===L.K5||ht.keyCode===L.L_)&&!(0,L.Vb)(ht)&&(this._selectViaInteraction(),ht.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ht=this.viewValue;ht!==this._mostRecentViewValue&&(this._mostRecentViewValue=ht,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ht=!1){this.onSelectionChange.emit(new An(this,ht))}}return Xt.\u0275fac=function(ht){a.$Z()},Xt.\u0275dir=a.lG2({type:Xt,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Xt})(),In=(()=>{class Xt extends Nn{constructor(ht,be,Ze,_t){super(ht,be,Ze,_t)}}return Xt.\u0275fac=function(ht){return new(ht||Xt)(a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(Ye,8),a.Y36(hn,8))},Xt.\u0275cmp=a.Xpm({type:Xt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(ht,be){1&ht&&a.NdJ("click",function(){return be._selectViaInteraction()})("keydown",function(_t){return be._handleKeydown(_t)}),2&ht&&(a.Ikx("id",be.id),a.uIk("tabindex",be._getTabIndex())("aria-selected",be._getAriaSelected())("aria-disabled",be.disabled.toString()),a.ekj("mat-selected",be.selected)("mat-option-multiple",be.multiple)("mat-active",be.active)("mat-option-disabled",be.disabled))},exportAs:["matOption"],features:[a.qOj],ngContentSelectors:R,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(ht,be){1&ht&&(a.F$t(),a.YNc(0,A,1,2,"mat-pseudo-checkbox",0),a.TgZ(1,"span",1),a.Hsn(2),a.qZA(),a.YNc(3,B,2,1,"span",2),a._UZ(4,"div",3)),2&ht&&(a.Q6J("ngIf",be.multiple),a.xp6(3),a.Q6J("ngIf",be.group&&be.group._inert),a.xp6(1),a.Q6J("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},directives:[re,p.O5,F],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),Xt})();function wn(Xt,Pt,ht){if(ht.length){let be=Pt.toArray(),Ze=ht.toArray(),_t=0;for(let st=0;st<Xt+1;st++)be[st].group&&be[st].group===Ze[_t]&&_t++;return _t}return 0}function Wn(Xt,Pt,ht,be){return Xt<ht?Xt:Xt+Pt>ht+be?Math.max(0,Xt-be+Pt):ht}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Bn=(()=>{class Xt{}return Xt.\u0275fac=function(ht){return new(ht||Xt)},Xt.\u0275mod=a.oAB({type:Xt}),Xt.\u0275inj=a.cJS({imports:[[Y,p.ez,z,Oe]]}),Xt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},4834:(ze,G,l)=>{"use strict";l.d(G,{d:()=>p,t:()=>C});var a=l(5e3),i=l(63191),d=l(90508);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let p=(()=>{class f{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(b){this._vertical=(0,i.Ig)(b)}get inset(){return this._inset}set inset(b){this._inset=(0,i.Ig)(b)}}return f.\u0275fac=function(b){return new(b||f)},f.\u0275cmp=a.Xpm({type:f,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(b,m){2&b&&(a.uIk("aria-orientation",m.vertical?"vertical":"horizontal"),a.ekj("mat-divider-vertical",m.vertical)("mat-divider-horizontal",!m.vertical)("mat-divider-inset",m.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(b,m){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),f})(),C=(()=>{class f{}return f.\u0275fac=function(b){return new(b||f)},f.\u0275mod=a.oAB({type:f}),f.\u0275inj=a.cJS({imports:[[d.BQ],d.BQ]}),f})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,81125:(ze,G,l)=>{"use strict";l.d(G,{To:()=>Ie,VG:()=>y});var a=l(5e3);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let v=(()=>{class Re{}return Re.\u0275fac=function(it){return new(it||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({}),Re})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
var b=l(47429),m=l(69808),I=l(90508);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */l(41777);let y=(()=>{class Re{}return Re.\u0275fac=function(it){return new(it||Re)},Re.\u0275dir=a.lG2({type:Re,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),Re})(),Ie=(()=>{class Re{}return Re.\u0275fac=function(it){return new(it||Re)},Re.\u0275mod=a.oAB({type:Re}),Re.\u0275inj=a.cJS({imports:[[m.ez,I.BQ,v,b.eL]]}),Re})()}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,67322:(ze,G,l)=>{"use strict";l.d(G,{Eo:()=>it,G_:()=>X,KE:()=>xe,R9:()=>Qt,TO:()=>Re,bx:()=>pe,hX:()=>He,lN:()=>he,qo:()=>lt});var a=l(17144),i=l(69808),d=l(5e3),p=l(90508),C=l(63191),f=l(8929),v=l(36787),b=l(23753),m=l(1059),I=l(7625),L=l(72986),M=l(41777),D=l(76360),A=l(50226),B=l(70925);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const R=["connectionContainer"],x=["inputContainer"],w=["label"];function k(N,F){1&N&&(d.ynx(0),d.TgZ(1,"div",14),d._UZ(2,"div",15)(3,"div",16)(4,"div",17),d.qZA(),d.TgZ(5,"div",18),d._UZ(6,"div",15)(7,"div",16)(8,"div",17),d.qZA(),d.BQk())}function H(N,F){if(1&N){const Y=d.EpF();d.TgZ(0,"div",19),d.NdJ("cdkObserveContent",function(){return d.CHM(Y),d.oxw().updateOutlineGap()}),d.Hsn(1,1),d.qZA()}if(2&N){const Y=d.oxw();d.Q6J("cdkObserveContentDisabled","outline"!=Y.appearance)}}function j(N,F){if(1&N&&(d.ynx(0),d.Hsn(1,2),d.TgZ(2,"span"),d._uU(3),d.qZA(),d.BQk()),2&N){const Y=d.oxw(2);d.xp6(3),d.Oqu(Y._control.placeholder)}}function z(N,F){1&N&&d.Hsn(0,3,["*ngSwitchCase","true"])}function le(N,F){1&N&&(d.TgZ(0,"span",23),d._uU(1," *"),d.qZA())}function oe(N,F){if(1&N){const Y=d.EpF();d.TgZ(0,"label",20,21),d.NdJ("cdkObserveContent",function(){return d.CHM(Y),d.oxw().updateOutlineGap()}),d.YNc(2,j,4,1,"ng-container",12),d.YNc(3,z,1,0,"ng-content",12),d.YNc(4,le,2,0,"span",22),d.qZA()}if(2&N){const Y=d.oxw();d.ekj("mat-empty",Y._control.empty&&!Y._shouldAlwaysFloat())("mat-form-field-empty",Y._control.empty&&!Y._shouldAlwaysFloat())("mat-accent","accent"==Y.color)("mat-warn","warn"==Y.color),d.Q6J("cdkObserveContentDisabled","outline"!=Y.appearance)("id",Y._labelId)("ngSwitch",Y._hasLabel()),d.uIk("for",Y._control.id)("aria-owns",Y._control.id),d.xp6(2),d.Q6J("ngSwitchCase",!1),d.xp6(1),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngIf",!Y.hideRequiredMarker&&Y._control.required&&!Y._control.disabled)}}function $(N,F){1&N&&(d.TgZ(0,"div",24),d.Hsn(1,4),d.qZA())}function y(N,F){if(1&N&&(d.TgZ(0,"div",25),d._UZ(1,"span",26),d.qZA()),2&N){const Y=d.oxw();d.xp6(1),d.ekj("mat-accent","accent"==Y.color)("mat-warn","warn"==Y.color)}}function ae(N,F){if(1&N&&(d.TgZ(0,"div"),d.Hsn(1,5),d.qZA()),2&N){const Y=d.oxw();d.Q6J("@transitionMessages",Y._subscriptAnimationState)}}function ge(N,F){if(1&N&&(d.TgZ(0,"div",30),d._uU(1),d.qZA()),2&N){const Y=d.oxw(2);d.Q6J("id",Y._hintLabelId),d.xp6(1),d.Oqu(Y.hintLabel)}}function Ve(N,F){if(1&N&&(d.TgZ(0,"div",27),d.YNc(1,ge,2,2,"div",28),d.Hsn(2,6),d._UZ(3,"div",29),d.Hsn(4,7),d.qZA()),2&N){const Y=d.oxw();d.Q6J("@transitionMessages",Y._subscriptAnimationState),d.xp6(1),d.Q6J("ngIf",Y.hintLabel)}}const $e=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Be=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ee=0;const Ie=new d.OlP("MatError");let Re=(()=>{class N{constructor(Y,re){this.id="mat-error-"+Ee++,Y||re.nativeElement.setAttribute("aria-live","polite")}}return N.\u0275fac=function(Y){return new(Y||N)(d.$8M("aria-live"),d.Y36(d.SBq))},N.\u0275dir=d.lG2({type:N,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Y,re){2&Y&&d.uIk("id",re.id)},inputs:{id:"id"},features:[d._Bn([{provide:Ie,useExisting:N}])]}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Ge={transitionMessages:(0,M.X$)("transitionMessages",[(0,M.SB)("enter",(0,M.oB)({opacity:1,transform:"translateY(0%)"})),(0,M.eR)("void => enter",[(0,M.oB)({opacity:0,transform:"translateY(-5px)"}),(0,M.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let it=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275dir=d.lG2({type:N}),N})(),U=0;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const fe=new d.OlP("MatHint");let pe=(()=>{class N{constructor(){this.align="start",this.id="mat-hint-"+U++}}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275dir=d.lG2({type:N,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Y,re){2&Y&&(d.uIk("id",re.id)("align",null),d.ekj("mat-form-field-hint-end","end"===re.align))},inputs:{align:"align",id:"id"},features:[d._Bn([{provide:fe,useExisting:N}])]}),N})(),He=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275dir=d.lG2({type:N,selectors:[["mat-label"]]}),N})(),et=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275dir=d.lG2({type:N,selectors:[["mat-placeholder"]]}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const de=new d.OlP("MatPrefix");let lt=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275dir=d.lG2({type:N,selectors:[["","matPrefix",""]],features:[d._Bn([{provide:de,useExisting:N}])]}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const St=new d.OlP("MatSuffix");let Qt=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275dir=d.lG2({type:N,selectors:[["","matSuffix",""]],features:[d._Bn([{provide:St,useExisting:N}])]}),N})(),gt=0;const ct=(0,p.pj)(class{constructor(N){this._elementRef=N}},"primary"),Xe=new d.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),X=new d.OlP("MatFormField");let xe=(()=>{class N extends ct{constructor(Y,re,Oe,Ye,vt,Vt,Jt){super(Y),this._changeDetectorRef=re,this._dir=Oe,this._defaults=Ye,this._platform=vt,this._ngZone=Vt,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new f.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+gt++,this._labelId="mat-form-field-label-"+gt++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Jt,this.appearance=Ye&&Ye.appearance?Ye.appearance:"legacy",this._hideRequiredMarker=!(!Ye||null==Ye.hideRequiredMarker)&&Ye.hideRequiredMarker}get appearance(){return this._appearance}set appearance(Y){const re=this._appearance;this._appearance=Y||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&re!==Y&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Y){this._hideRequiredMarker=(0,C.Ig)(Y)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(Y){this._hintLabel=Y,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(Y){Y!==this._floatLabel&&(this._floatLabel=Y||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(Y){this._explicitFormFieldControl=Y}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const Y=this._control;Y.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${Y.controlType}`),Y.stateChanges.pipe((0,m.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Y.ngControl&&Y.ngControl.valueChanges&&Y.ngControl.valueChanges.pipe((0,I.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,v.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,m.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,m.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,I.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(Y){const re=this._control?this._control.ngControl:null;return re&&re[Y]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,b.R)(this._label.nativeElement,"transitionend").pipe((0,L.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let Y=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Y.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const re=this._hintChildren?this._hintChildren.find(Ye=>"start"===Ye.align):null,Oe=this._hintChildren?this._hintChildren.find(Ye=>"end"===Ye.align):null;re?Y.push(re.id):this._hintLabel&&Y.push(this._hintLabelId),Oe&&Y.push(Oe.id)}else this._errorChildren&&Y.push(...this._errorChildren.map(re=>re.id));this._control.setDescribedByIds(Y)}}_validateControlChild(){}updateOutlineGap(){const Y=this._label?this._label.nativeElement:null,re=this._connectionContainerRef.nativeElement,Oe=".mat-form-field-outline-start",Ye=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Y||!Y.children.length||!Y.textContent.trim()){const gn=re.querySelectorAll(`${Oe}, ${Ye}`);for(let yn=0;yn<gn.length;yn++)gn[yn].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let vt=0,Vt=0;const Jt=re.querySelectorAll(Oe),hn=re.querySelectorAll(Ye);if(this._label&&this._label.nativeElement.children.length){const gn=re.getBoundingClientRect();if(0===gn.width&&0===gn.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const yn=this._getStartEnd(gn),An=Y.children,Nn=this._getStartEnd(An[0].getBoundingClientRect());let In=0;for(let wn=0;wn<An.length;wn++)In+=An[wn].offsetWidth;vt=Math.abs(Nn-yn)-5,Vt=In>0?.75*In+10:0}for(let gn=0;gn<Jt.length;gn++)Jt[gn].style.width=`${vt}px`;for(let gn=0;gn<hn.length;gn++)hn[gn].style.width=`${Vt}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(Y){return this._dir&&"rtl"===this._dir.value?Y.right:Y.left}_isAttachedToDOM(){const Y=this._elementRef.nativeElement;if(Y.getRootNode){const re=Y.getRootNode();return re&&re!==Y}return document.documentElement.contains(Y)}}return N.\u0275fac=function(Y){return new(Y||N)(d.Y36(d.SBq),d.Y36(d.sBO),d.Y36(A.Is,8),d.Y36(Xe,8),d.Y36(B.t4),d.Y36(d.R0b),d.Y36(D.Qb,8))},N.\u0275cmp=d.Xpm({type:N,selectors:[["mat-form-field"]],contentQueries:function(Y,re,Oe){if(1&Y&&(d.Suo(Oe,it,5),d.Suo(Oe,it,7),d.Suo(Oe,He,5),d.Suo(Oe,He,7),d.Suo(Oe,et,5),d.Suo(Oe,Ie,5),d.Suo(Oe,fe,5),d.Suo(Oe,de,5),d.Suo(Oe,St,5)),2&Y){let Ye;d.iGM(Ye=d.CRH())&&(re._controlNonStatic=Ye.first),d.iGM(Ye=d.CRH())&&(re._controlStatic=Ye.first),d.iGM(Ye=d.CRH())&&(re._labelChildNonStatic=Ye.first),d.iGM(Ye=d.CRH())&&(re._labelChildStatic=Ye.first),d.iGM(Ye=d.CRH())&&(re._placeholderChild=Ye.first),d.iGM(Ye=d.CRH())&&(re._errorChildren=Ye),d.iGM(Ye=d.CRH())&&(re._hintChildren=Ye),d.iGM(Ye=d.CRH())&&(re._prefixChildren=Ye),d.iGM(Ye=d.CRH())&&(re._suffixChildren=Ye)}},viewQuery:function(Y,re){if(1&Y&&(d.Gf(R,7),d.Gf(x,5),d.Gf(w,5)),2&Y){let Oe;d.iGM(Oe=d.CRH())&&(re._connectionContainerRef=Oe.first),d.iGM(Oe=d.CRH())&&(re._inputContainerRef=Oe.first),d.iGM(Oe=d.CRH())&&(re._label=Oe.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(Y,re){2&Y&&d.ekj("mat-form-field-appearance-standard","standard"==re.appearance)("mat-form-field-appearance-fill","fill"==re.appearance)("mat-form-field-appearance-outline","outline"==re.appearance)("mat-form-field-appearance-legacy","legacy"==re.appearance)("mat-form-field-invalid",re._control.errorState)("mat-form-field-can-float",re._canLabelFloat())("mat-form-field-should-float",re._shouldLabelFloat())("mat-form-field-has-label",re._hasFloatingLabel())("mat-form-field-hide-placeholder",re._hideControlPlaceholder())("mat-form-field-disabled",re._control.disabled)("mat-form-field-autofilled",re._control.autofilled)("mat-focused",re._control.focused)("ng-untouched",re._shouldForward("untouched"))("ng-touched",re._shouldForward("touched"))("ng-pristine",re._shouldForward("pristine"))("ng-dirty",re._shouldForward("dirty"))("ng-valid",re._shouldForward("valid"))("ng-invalid",re._shouldForward("invalid"))("ng-pending",re._shouldForward("pending"))("_mat-animation-noopable",!re._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[d._Bn([{provide:X,useExisting:N}]),d.qOj],ngContentSelectors:Be,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(Y,re){1&Y&&(d.F$t($e),d.TgZ(0,"div",0)(1,"div",1,2),d.NdJ("click",function(Ye){return re._control.onContainerClick&&re._control.onContainerClick(Ye)}),d.YNc(3,k,9,0,"ng-container",3),d.YNc(4,H,2,1,"div",4),d.TgZ(5,"div",5,6),d.Hsn(7),d.TgZ(8,"span",7),d.YNc(9,oe,5,16,"label",8),d.qZA()(),d.YNc(10,$,2,0,"div",9),d.qZA(),d.YNc(11,y,2,4,"div",10),d.TgZ(12,"div",11),d.YNc(13,ae,2,1,"div",12),d.YNc(14,Ve,5,2,"div",13),d.qZA()()),2&Y&&(d.xp6(3),d.Q6J("ngIf","outline"==re.appearance),d.xp6(1),d.Q6J("ngIf",re._prefixChildren.length),d.xp6(5),d.Q6J("ngIf",re._hasFloatingLabel()),d.xp6(1),d.Q6J("ngIf",re._suffixChildren.length),d.xp6(1),d.Q6J("ngIf","outline"!=re.appearance),d.xp6(1),d.Q6J("ngSwitch",re._getDisplayedMessages()),d.xp6(1),d.Q6J("ngSwitchCase","error"),d.xp6(1),d.Q6J("ngSwitchCase","hint"))},directives:[i.O5,a.wD,i.RF,i.n9],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[Ge.transitionMessages]},changeDetection:0}),N})(),he=(()=>{class N{}return N.\u0275fac=function(Y){return new(Y||N)},N.\u0275mod=d.oAB({type:N}),N.\u0275inj=d.cJS({imports:[[i.ez,p.BQ,a.Q8],p.BQ]}),N})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,25245:(ze,G,l)=>{"use strict";l.d(G,{Hw:()=>Z,Ps:()=>V});var a=l(5e3),i=l(90508),d=l(63191),p=l(69808),C=l(21086),f=l(61737),v=l(30567),b=l(42654),m=l(22868),I=l(24850),L=l(27221),M=l(40537),D=l(12474),A=l(72986),B=l(40520),R=l(22313);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const x=["*"];let w;function H(U){var fe;return(null===(fe=function k(){if(void 0===w&&(w=null,"undefined"!=typeof window)){const U=window;void 0!==U.trustedTypes&&(w=U.trustedTypes.createPolicy("angular#components",{createHTML:fe=>fe}))}return w}())||void 0===fe?void 0:fe.createHTML(U))||U}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function j(U){return Error(`Unable to find icon with the name "${U}"`)}function le(U){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${U}".`)}function oe(U){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${U}".`)}class ${constructor(fe,pe,He){this.url=fe,this.svgText=pe,this.options=He}}let y=(()=>{class U{constructor(pe,He,et,de){this._httpClient=pe,this._sanitizer=He,this._errorHandler=de,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=et}addSvgIcon(pe,He,et){return this.addSvgIconInNamespace("",pe,He,et)}addSvgIconLiteral(pe,He,et){return this.addSvgIconLiteralInNamespace("",pe,He,et)}addSvgIconInNamespace(pe,He,et,de){return this._addSvgIconConfig(pe,He,new $(et,null,de))}addSvgIconResolver(pe){return this._resolvers.push(pe),this}addSvgIconLiteralInNamespace(pe,He,et,de){const lt=this._sanitizer.sanitize(a.q3G.HTML,et);if(!lt)throw oe(et);const St=H(lt);return this._addSvgIconConfig(pe,He,new $("",St,de))}addSvgIconSet(pe,He){return this.addSvgIconSetInNamespace("",pe,He)}addSvgIconSetLiteral(pe,He){return this.addSvgIconSetLiteralInNamespace("",pe,He)}addSvgIconSetInNamespace(pe,He,et){return this._addSvgIconSetConfig(pe,new $(He,null,et))}addSvgIconSetLiteralInNamespace(pe,He,et){const de=this._sanitizer.sanitize(a.q3G.HTML,He);if(!de)throw oe(He);const lt=H(de);return this._addSvgIconSetConfig(pe,new $("",lt,et))}registerFontClassAlias(pe,He=pe){return this._fontCssClassesByAlias.set(pe,He),this}classNameForFontAlias(pe){return this._fontCssClassesByAlias.get(pe)||pe}setDefaultFontSetClass(pe){return this._defaultFontSetClass=pe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(pe){const He=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,pe);if(!He)throw le(pe);const et=this._cachedIconsByUrl.get(He);return et?(0,C.of)(Ve(et)):this._loadSvgIconFromConfig(new $(pe,null)).pipe((0,m.b)(de=>this._cachedIconsByUrl.set(He,de)),(0,I.U)(de=>Ve(de)))}getNamedSvgIcon(pe,He=""){const et=$e(He,pe);let de=this._svgIconConfigs.get(et);if(de)return this._getSvgFromConfig(de);if(de=this._getIconConfigFromResolvers(He,pe),de)return this._svgIconConfigs.set(et,de),this._getSvgFromConfig(de);const lt=this._iconSetConfigs.get(He);return lt?this._getSvgFromIconSetConfigs(pe,lt):(0,f._)(j(et))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(pe){return pe.svgText?(0,C.of)(Ve(this._svgElementFromConfig(pe))):this._loadSvgIconFromConfig(pe).pipe((0,I.U)(He=>Ve(He)))}_getSvgFromIconSetConfigs(pe,He){const et=this._extractIconWithNameFromAnySet(pe,He);if(et)return(0,C.of)(et);const de=He.filter(lt=>!lt.svgText).map(lt=>this._loadSvgIconSetFromConfig(lt).pipe((0,L.K)(St=>{const gt=`Loading icon set URL: ${this._sanitizer.sanitize(a.q3G.RESOURCE_URL,lt.url)} failed: ${St.message}`;return this._errorHandler.handleError(new Error(gt)),(0,C.of)(null)})));return(0,v.D)(de).pipe((0,I.U)(()=>{const lt=this._extractIconWithNameFromAnySet(pe,He);if(!lt)throw j(pe);return lt}))}_extractIconWithNameFromAnySet(pe,He){for(let et=He.length-1;et>=0;et--){const de=He[et];if(de.svgText&&de.svgText.toString().indexOf(pe)>-1){const lt=this._svgElementFromConfig(de),St=this._extractSvgIconFromSet(lt,pe,de.options);if(St)return St}}return null}_loadSvgIconFromConfig(pe){return this._fetchIcon(pe).pipe((0,m.b)(He=>pe.svgText=He),(0,I.U)(()=>this._svgElementFromConfig(pe)))}_loadSvgIconSetFromConfig(pe){return pe.svgText?(0,C.of)(null):this._fetchIcon(pe).pipe((0,m.b)(He=>pe.svgText=He))}_extractSvgIconFromSet(pe,He,et){const de=pe.querySelector(`[id="${He}"]`);if(!de)return null;const lt=de.cloneNode(!0);if(lt.removeAttribute("id"),"svg"===lt.nodeName.toLowerCase())return this._setSvgAttributes(lt,et);if("symbol"===lt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(lt),et);const St=this._svgElementFromString(H("<svg></svg>"));return St.appendChild(lt),this._setSvgAttributes(St,et)}_svgElementFromString(pe){const He=this._document.createElement("DIV");He.innerHTML=pe;const et=He.querySelector("svg");if(!et)throw Error("<svg> tag not found");return et}_toSvgElement(pe){const He=this._svgElementFromString(H("<svg></svg>")),et=pe.attributes;for(let de=0;de<et.length;de++){const{name:lt,value:St}=et[de];"id"!==lt&&He.setAttribute(lt,St)}for(let de=0;de<pe.childNodes.length;de++)pe.childNodes[de].nodeType===this._document.ELEMENT_NODE&&He.appendChild(pe.childNodes[de].cloneNode(!0));return He}_setSvgAttributes(pe,He){return pe.setAttribute("fit",""),pe.setAttribute("height","100%"),pe.setAttribute("width","100%"),pe.setAttribute("preserveAspectRatio","xMidYMid meet"),pe.setAttribute("focusable","false"),He&&He.viewBox&&pe.setAttribute("viewBox",He.viewBox),pe}_fetchIcon(pe){var He;const{url:et,options:de}=pe,lt=null!==(He=null==de?void 0:de.withCredentials)&&void 0!==He&&He;if(!this._httpClient)throw function z(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==et)throw Error(`Cannot fetch icon from URL "${et}".`);const St=this._sanitizer.sanitize(a.q3G.RESOURCE_URL,et);if(!St)throw le(et);const Qt=this._inProgressUrlFetches.get(St);if(Qt)return Qt;const gt=this._httpClient.get(St,{responseType:"text",withCredentials:lt}).pipe((0,I.U)(yt=>H(yt)),(0,M.x)(()=>this._inProgressUrlFetches.delete(St)),(0,D.B)());return this._inProgressUrlFetches.set(St,gt),gt}_addSvgIconConfig(pe,He,et){return this._svgIconConfigs.set($e(pe,He),et),this}_addSvgIconSetConfig(pe,He){const et=this._iconSetConfigs.get(pe);return et?et.push(He):this._iconSetConfigs.set(pe,[He]),this}_svgElementFromConfig(pe){if(!pe.svgElement){const He=this._svgElementFromString(pe.svgText);this._setSvgAttributes(He,pe.options),pe.svgElement=He}return pe.svgElement}_getIconConfigFromResolvers(pe,He){for(let et=0;et<this._resolvers.length;et++){const de=this._resolvers[et](He,pe);if(de)return Be(de)?new $(de.url,null,de.options):new $(de,null)}}}return U.\u0275fac=function(pe){return new(pe||U)(a.LFG(B.eN,8),a.LFG(R.H7),a.LFG(p.K0,8),a.LFG(a.qLn))},U.\u0275prov=a.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})();function Ve(U){return U.cloneNode(!0)}function $e(U,fe){return U+":"+fe}function Be(U){return!(!U.url||!U.options)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Ee=(0,i.pj)(class{constructor(U){this._elementRef=U}}),Ie=new a.OlP("mat-icon-location",{providedIn:"root",factory:function Re(){const U=(0,a.f3M)(p.K0),fe=U?U.location:null;return{getPathname:()=>fe?fe.pathname+fe.search:""}}}),Ge=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],it=Ge.map(U=>`[${U}]`).join(", "),Se=/^url\(['"]?#(.*?)['"]?\)$/;let Z=(()=>{class U extends Ee{constructor(pe,He,et,de,lt){super(pe),this._iconRegistry=He,this._location=de,this._errorHandler=lt,this._inline=!1,this._currentIconFetch=b.w.EMPTY,et||pe.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(pe){this._inline=(0,d.Ig)(pe)}get svgIcon(){return this._svgIcon}set svgIcon(pe){pe!==this._svgIcon&&(pe?this._updateSvgIcon(pe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=pe)}get fontSet(){return this._fontSet}set fontSet(pe){const He=this._cleanupFontValue(pe);He!==this._fontSet&&(this._fontSet=He,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(pe){const He=this._cleanupFontValue(pe);He!==this._fontIcon&&(this._fontIcon=He,this._updateFontIconClasses())}_splitIconName(pe){if(!pe)return["",""];const He=pe.split(":");switch(He.length){case 1:return["",He[0]];case 2:return He;default:throw Error(`Invalid icon name: "${pe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const pe=this._elementsWithExternalReferences;if(pe&&pe.size){const He=this._location.getPathname();He!==this._previousPath&&(this._previousPath=He,this._prependPathToReferences(He))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(pe){this._clearSvgElement();const He=this._location.getPathname();this._previousPath=He,this._cacheChildrenWithExternalReferences(pe),this._prependPathToReferences(He),this._elementRef.nativeElement.appendChild(pe)}_clearSvgElement(){const pe=this._elementRef.nativeElement;let He=pe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();He--;){const et=pe.childNodes[He];(1!==et.nodeType||"svg"===et.nodeName.toLowerCase())&&et.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const pe=this._elementRef.nativeElement,He=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();He!=this._previousFontSetClass&&(this._previousFontSetClass&&pe.classList.remove(this._previousFontSetClass),He&&pe.classList.add(He),this._previousFontSetClass=He),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&pe.classList.remove(this._previousFontIconClass),this.fontIcon&&pe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(pe){return"string"==typeof pe?pe.trim().split(" ")[0]:pe}_prependPathToReferences(pe){const He=this._elementsWithExternalReferences;He&&He.forEach((et,de)=>{et.forEach(lt=>{de.setAttribute(lt.name,`url('${pe}#${lt.value}')`)})})}_cacheChildrenWithExternalReferences(pe){const He=pe.querySelectorAll(it),et=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let de=0;de<He.length;de++)Ge.forEach(lt=>{const St=He[de],Qt=St.getAttribute(lt),gt=Qt?Qt.match(Se):null;if(gt){let yt=et.get(St);yt||(yt=[],et.set(St,yt)),yt.push({name:lt,value:gt[1]})}})}_updateSvgIcon(pe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),pe){const[He,et]=this._splitIconName(pe);He&&(this._svgNamespace=He),et&&(this._svgName=et),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(et,He).pipe((0,A.q)(1)).subscribe(de=>this._setSvgElement(de),de=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${He}:${et}! ${de.message}`))})}}}return U.\u0275fac=function(pe){return new(pe||U)(a.Y36(a.SBq),a.Y36(y),a.$8M("aria-hidden"),a.Y36(Ie),a.Y36(a.qLn))},U.\u0275cmp=a.Xpm({type:U,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(pe,He){2&pe&&(a.uIk("data-mat-icon-type",He._usingFontIcon()?"font":"svg")("data-mat-icon-name",He._svgName||He.fontIcon)("data-mat-icon-namespace",He._svgNamespace||He.fontSet),a.ekj("mat-icon-inline",He.inline)("mat-icon-no-color","primary"!==He.color&&"accent"!==He.color&&"warn"!==He.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[a.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(pe,He){1&pe&&(a.F$t(),a.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),U})(),V=(()=>{class U{}return U.\u0275fac=function(pe){return new(pe||U)},U.\u0275mod=a.oAB({type:U}),U.\u0275inj=a.cJS({imports:[[i.BQ],i.BQ]}),U})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,98833:(ze,G,l)=>{"use strict";l.d(G,{Jk:()=>I,Nt:()=>A,c:()=>B});var a=l(63191),i=l(70925),d=l(5e3),p=l(93075),C=l(90508),f=l(67322),v=l(8929),b=l(74533);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const I=new d.OlP("MAT_INPUT_VALUE_ACCESSOR"),L=["button","checkbox","file","hidden","image","radio","range","reset","submit"];
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let M=0;const D=(0,C.FD)(class{constructor(R,x,w,k){this._defaultErrorStateMatcher=R,this._parentForm=x,this._parentFormGroup=w,this.ngControl=k}});let A=(()=>{class R extends D{constructor(w,k,H,j,z,le,oe,$,y,ae){super(le,j,z,H),this._elementRef=w,this._platform=k,this._autofillMonitor=$,this._formField=ae,this._uid="mat-input-"+M++,this.focused=!1,this.stateChanges=new v.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter($e=>(0,i.qK)().has($e)),this._iOSKeyupListener=$e=>{const Be=$e.target;!Be.value&&0===Be.selectionStart&&0===Be.selectionEnd&&(Be.setSelectionRange(1,1),Be.setSelectionRange(0,0))};const ge=this._elementRef.nativeElement,Ve=ge.nodeName.toLowerCase();this._inputValueAccessor=oe||ge,this._previousNativeValue=this.value,this.id=this.id,k.IOS&&y.runOutsideAngular(()=>{w.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Ve,this._isTextarea="textarea"===Ve,this._isInFormField=!!ae,this._isNativeSelect&&(this.controlType=ge.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(w){this._disabled=(0,a.Ig)(w),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(w){this._id=w||this._uid}get required(){var w,k,H,j;return null!==(j=null!==(w=this._required)&&void 0!==w?w:null===(H=null===(k=this.ngControl)||void 0===k?void 0:k.control)||void 0===H?void 0:H.hasValidator(p.kI.required))&&void 0!==j&&j}set required(w){this._required=(0,a.Ig)(w)}get type(){return this._type}set type(w){this._type=w||"text",this._validateType(),!this._isTextarea&&(0,i.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(w){w!==this.value&&(this._inputValueAccessor.value=w,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(w){this._readonly=(0,a.Ig)(w)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(w=>{this.autofilled=w.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(w){this._elementRef.nativeElement.focus(w)}_focusChanged(w){w!==this.focused&&(this.focused=w,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var w,k;const H=(null===(k=null===(w=this._formField)||void 0===w?void 0:w._hideControlPlaceholder)||void 0===k?void 0:k.call(w))?null:this.placeholder;if(H!==this._previousPlaceholder){const j=this._elementRef.nativeElement;this._previousPlaceholder=H,H?j.setAttribute("placeholder",H):j.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const w=this._elementRef.nativeElement.value;this._previousNativeValue!==w&&(this._previousNativeValue=w,this.stateChanges.next())}_validateType(){L.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let w=this._elementRef.nativeElement.validity;return w&&w.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const w=this._elementRef.nativeElement,k=w.options[0];return this.focused||w.multiple||!this.empty||!!(w.selectedIndex>-1&&k&&k.label)}return this.focused||!this.empty}setDescribedByIds(w){w.length?this._elementRef.nativeElement.setAttribute("aria-describedby",w.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const w=this._elementRef.nativeElement;return this._isNativeSelect&&(w.multiple||w.size>1)}}return R.\u0275fac=function(w){return new(w||R)(d.Y36(d.SBq),d.Y36(i.t4),d.Y36(p.a5,10),d.Y36(p.F,8),d.Y36(p.sg,8),d.Y36(C.rD),d.Y36(I,10),d.Y36(b.Lq),d.Y36(d.R0b),d.Y36(f.G_,8))},R.\u0275dir=d.lG2({type:R,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(w,k){1&w&&d.NdJ("focus",function(){return k._focusChanged(!0)})("blur",function(){return k._focusChanged(!1)})("input",function(){return k._onInput()}),2&w&&(d.Ikx("disabled",k.disabled)("required",k.required),d.uIk("id",k.id)("data-placeholder",k.placeholder)("name",k.name||null)("readonly",k.readonly&&!k._isNativeSelect||null)("aria-invalid",k.empty&&k.required?null:k.errorState)("aria-required",k.required),d.ekj("mat-input-server",k._isServer)("mat-native-select-inline",k._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[d._Bn([{provide:f.Eo,useExisting:R}]),d.qOj,d.TTD]}),R})(),B=(()=>{class R{}return R.\u0275fac=function(w){return new(w||R)},R.\u0275mod=d.oAB({type:R}),R.\u0275inj=d.cJS({providers:[C.rD],imports:[[b.Ky,f.lN,C.BQ],b.Ky,f.lN]}),R})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,14623:(ze,G,l)=>{"use strict";l.d(G,{Hk:()=>$,Nh:()=>ge,Tg:()=>$e,i$:()=>y,ie:()=>Se});var a=l(69808),i=l(5e3),d=l(90508),p=l(63191),C=l(8929),f=l(7625),M=(l(1059),l(15664),l(20449),l(91159),l(93075),l(4834));
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const D=["*"],B=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],R=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],j=(0,d.Id)((0,d.Kr)(class{})),z=(0,d.Kr)(class{}),le=new i.OlP("MatList"),oe=new i.OlP("MatNavList");let $=(()=>{class Z extends j{constructor(){super(...arguments),this._stateChanges=new C.xQ}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Z.\u0275fac=function(){let V;return function(fe){return(V||(V=i.n5z(Z)))(fe||Z)}}(),Z.\u0275cmp=i.Xpm({type:Z,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[i._Bn([{provide:oe,useExisting:Z}]),i.qOj,i.TTD],ngContentSelectors:D,decls:1,vars:0,template:function(U,fe){1&U&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),Z})(),y=(()=>{class Z extends j{constructor(U){super(),this._elementRef=U,this._stateChanges=new C.xQ,"action-list"===this._getListType()&&U.nativeElement.classList.add("mat-action-list")}_getListType(){const U=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===U?"list":"mat-action-list"===U?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return Z.\u0275fac=function(U){return new(U||Z)(i.Y36(i.SBq))},Z.\u0275cmp=i.Xpm({type:Z,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[i._Bn([{provide:le,useExisting:Z}]),i.qOj,i.TTD],ngContentSelectors:D,decls:1,vars:0,template:function(U,fe){1&U&&(i.F$t(),i.Hsn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),Z})(),ae=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275dir=i.lG2({type:Z,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),Z})(),ge=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275dir=i.lG2({type:Z,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),Z})(),$e=(()=>{class Z extends z{constructor(U,fe,pe,He){super(),this._element=U,this._isInteractiveList=!1,this._destroyed=new C.xQ,this._disabled=!1,this._isInteractiveList=!!(pe||He&&"action-list"===He._getListType()),this._list=pe||He;const et=this._getHostElement();"button"===et.nodeName.toLowerCase()&&!et.hasAttribute("type")&&et.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,f.R)(this._destroyed)).subscribe(()=>{fe.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(U){this._disabled=(0,p.Ig)(U)}ngAfterContentInit(){(0,d.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return Z.\u0275fac=function(U){return new(U||Z)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(oe,8),i.Y36(le,8))},Z.\u0275cmp=i.Xpm({type:Z,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(U,fe,pe){if(1&U&&(i.Suo(pe,ae,5),i.Suo(pe,ge,5),i.Suo(pe,d.X2,5)),2&U){let He;i.iGM(He=i.CRH())&&(fe._avatar=He.first),i.iGM(He=i.CRH())&&(fe._icon=He.first),i.iGM(He=i.CRH())&&(fe._lines=He)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(U,fe){2&U&&i.ekj("mat-list-item-disabled",fe.disabled)("mat-list-item-avatar",fe._avatar||fe._icon)("mat-list-item-with-avatar",fe._avatar||fe._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[i.qOj],ngContentSelectors:R,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(U,fe){1&U&&(i.F$t(B),i.TgZ(0,"span",0),i._UZ(1,"span",1),i.Hsn(2),i.TgZ(3,"span",2),i.Hsn(4,1),i.qZA(),i.Hsn(5,2),i.qZA()),2&U&&(i.xp6(1),i.Q6J("matRippleTrigger",fe._getHostElement())("matRippleDisabled",fe._isRippleDisabled()))},directives:[d.wG],encapsulation:2,changeDetection:0}),Z})(),Se=(()=>{class Z{}return Z.\u0275fac=function(U){return new(U||Z)},Z.\u0275mod=i.oAB({type:Z}),Z.\u0275inj=i.cJS({imports:[[d.uc,d.si,d.BQ,d.us,a.ez],d.uc,d.BQ,d.us,M.t]}),Z})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,92181:(ze,G,l)=>{"use strict";l.d(G,{OP:()=>U,Tx:()=>Xe,VK:()=>de,p6:()=>ct});var a=l(15664),i=l(63191),d=l(91159),p=l(5e3),C=l(8929),f=l(42654),v=l(36787),b=l(21086),m=l(8139),I=l(1059),L=l(87545),M=l(72986),D=l(7625),A=l(92198),B=l(18583),R=l(41777),x=l(47429),w=l(69808),k=l(90508),H=l(92845),j=l(70925),z=l(50226),le=l(41713);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const oe=["mat-menu-item",""];function $(X,xe){1&X&&(p.O4$(),p.TgZ(0,"svg",2),p._UZ(1,"polygon",3),p.qZA())}const y=["*"];function ae(X,xe){if(1&X){const he=p.EpF();p.TgZ(0,"div",0),p.NdJ("keydown",function(F){return p.CHM(he),p.oxw()._handleKeydown(F)})("click",function(){return p.CHM(he),p.oxw().closed.emit("click")})("@transformMenu.start",function(F){return p.CHM(he),p.oxw()._onAnimationStart(F)})("@transformMenu.done",function(F){return p.CHM(he),p.oxw()._onAnimationDone(F)}),p.TgZ(1,"div",1),p.Hsn(2),p.qZA()()}if(2&X){const he=p.oxw();p.Q6J("id",he.panelId)("ngClass",he._classList)("@transformMenu",he._panelAnimationState),p.uIk("aria-label",he.ariaLabel||null)("aria-labelledby",he.ariaLabelledby||null)("aria-describedby",he.ariaDescribedby||null)}}const ge={transformMenu:(0,R.X$)("transformMenu",[(0,R.SB)("void",(0,R.oB)({opacity:0,transform:"scale(0.8)"})),(0,R.eR)("void => enter",(0,R.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,R.oB)({opacity:1,transform:"scale(1)"}))),(0,R.eR)("* => void",(0,R.jt)("100ms 25ms linear",(0,R.oB)({opacity:0})))]),fadeInItems:(0,R.X$)("fadeInItems",[(0,R.SB)("showing",(0,R.oB)({opacity:1})),(0,R.eR)("void => *",[(0,R.oB)({opacity:0}),(0,R.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Be=new p.OlP("MatMenuContent"),Z=new p.OlP("MAT_MENU_PANEL"),V=(0,k.Kr)((0,k.Id)(class{}));
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let U=(()=>{class X extends V{constructor(he,N,F,Y,re){var Oe;super(),this._elementRef=he,this._document=N,this._focusMonitor=F,this._parentMenu=Y,this._changeDetectorRef=re,this.role="menuitem",this._hovered=new C.xQ,this._focused=new C.xQ,this._highlighted=!1,this._triggersSubmenu=!1,null===(Oe=null==Y?void 0:Y.addItem)||void 0===Oe||Oe.call(Y,this)}focus(he,N){this._focusMonitor&&he?this._focusMonitor.focusVia(this._getHostElement(),he,N):this._getHostElement().focus(N),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(he){this.disabled&&(he.preventDefault(),he.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var he;const N=this._elementRef.nativeElement.cloneNode(!0),F=N.querySelectorAll("mat-icon, .material-icons");for(let Y=0;Y<F.length;Y++)F[Y].remove();return(null===(he=N.textContent)||void 0===he?void 0:he.trim())||""}_setHighlighted(he){var N;this._highlighted=he,null===(N=this._changeDetectorRef)||void 0===N||N.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return X.\u0275fac=function(he){return new(he||X)(p.Y36(p.SBq),p.Y36(w.K0),p.Y36(a.tE),p.Y36(Z,8),p.Y36(p.sBO))},X.\u0275cmp=p.Xpm({type:X,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(he,N){1&he&&p.NdJ("click",function(Y){return N._checkDisabled(Y)})("mouseenter",function(){return N._handleMouseEnter()}),2&he&&(p.uIk("role",N.role)("tabindex",N._getTabIndex())("aria-disabled",N.disabled.toString())("disabled",N.disabled||null),p.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",N._highlighted)("mat-menu-item-submenu-trigger",N._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[p.qOj],attrs:oe,ngContentSelectors:y,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(he,N){1&he&&(p.F$t(),p.Hsn(0),p._UZ(1,"div",0),p.YNc(2,$,2,0,"svg",1)),2&he&&(p.xp6(1),p.Q6J("matRippleDisabled",N.disableRipple||N.disabled)("matRippleTrigger",N._getHostElement()),p.xp6(1),p.Q6J("ngIf",N._triggersSubmenu))},directives:[k.wG,w.O5],encapsulation:2,changeDetection:0}),X})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const fe=new p.OlP("mat-menu-default-options",{providedIn:"root",factory:function pe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let He=0,et=(()=>{class X{constructor(he,N,F,Y){this._elementRef=he,this._ngZone=N,this._defaultOptions=F,this._changeDetectorRef=Y,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new p.n_E,this._tabSubscription=f.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new C.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new p.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+He++}get xPosition(){return this._xPosition}set xPosition(he){this._xPosition=he,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(he){this._yPosition=he,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(he){this._overlapTrigger=(0,i.Ig)(he)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(he){this._hasBackdrop=(0,i.Ig)(he)}set panelClass(he){const N=this._previousPanelClass;N&&N.length&&N.split(" ").forEach(F=>{this._classList[F]=!1}),this._previousPanelClass=he,he&&he.length&&(he.split(" ").forEach(F=>{this._classList[F]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(he){this.panelClass=he}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new a.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,I.O)(this._directDescendantItems),(0,L.w)(he=>(0,v.T)(...he.map(N=>N._focused)))).subscribe(he=>this._keyManager.updateActiveItem(he)),this._directDescendantItems.changes.subscribe(he=>{var N;const F=this._keyManager;if("enter"===this._panelAnimationState&&(null===(N=F.activeItem)||void 0===N?void 0:N._hasFocus())){const Y=he.toArray(),re=Math.max(0,Math.min(Y.length-1,F.activeItemIndex||0));Y[re]&&!Y[re].disabled?F.setActiveItem(re):F.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,I.O)(this._directDescendantItems),(0,L.w)(N=>(0,v.T)(...N.map(F=>F._hovered))))}addItem(he){}removeItem(he){}_handleKeydown(he){const N=he.keyCode,F=this._keyManager;switch(N){case d.hY:(0,d.Vb)(he)||(he.preventDefault(),this.closed.emit("keydown"));break;case d.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case d.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(N===d.LH||N===d.JH)&&F.setFocusOrigin("keyboard"),void F.onKeydown(he)}he.stopPropagation()}focusFirstItem(he="program"){this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>{let N=null;if(this._directDescendantItems.length&&(N=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!N||!N.contains(document.activeElement)){const F=this._keyManager;F.setFocusOrigin(he).setFirstItemActive(),!F.activeItem&&N&&N.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(he){const N=Math.min(this._baseElevation+he,24),F=`${this._elevationPrefix}${N}`,Y=Object.keys(this._classList).find(re=>re.startsWith(this._elevationPrefix));(!Y||Y===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[F]=!0,this._previousElevation=F)}setPositionClasses(he=this.xPosition,N=this.yPosition){var F;const Y=this._classList;Y["mat-menu-before"]="before"===he,Y["mat-menu-after"]="after"===he,Y["mat-menu-above"]="above"===N,Y["mat-menu-below"]="below"===N,null===(F=this._changeDetectorRef)||void 0===F||F.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(he){this._animationDone.next(he),this._isAnimating=!1}_onAnimationStart(he){this._isAnimating=!0,"enter"===he.toState&&0===this._keyManager.activeItemIndex&&(he.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,I.O)(this._allItems)).subscribe(he=>{this._directDescendantItems.reset(he.filter(N=>N._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return X.\u0275fac=function(he){return new(he||X)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(fe),p.Y36(p.sBO))},X.\u0275dir=p.lG2({type:X,contentQueries:function(he,N,F){if(1&he&&(p.Suo(F,Be,5),p.Suo(F,U,5),p.Suo(F,U,4)),2&he){let Y;p.iGM(Y=p.CRH())&&(N.lazyContent=Y.first),p.iGM(Y=p.CRH())&&(N._allItems=Y),p.iGM(Y=p.CRH())&&(N.items=Y)}},viewQuery:function(he,N){if(1&he&&p.Gf(p.Rgc,5),2&he){let F;p.iGM(F=p.CRH())&&(N.templateRef=F.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),X})(),de=(()=>{class X extends et{constructor(he,N,F,Y){super(he,N,F,Y),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return X.\u0275fac=function(he){return new(he||X)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(fe),p.Y36(p.sBO))},X.\u0275cmp=p.Xpm({type:X,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(he,N){2&he&&p.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[p._Bn([{provide:Z,useExisting:X}]),p.qOj],ngContentSelectors:y,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(he,N){1&he&&(p.F$t(),p.YNc(0,ae,3,6,"ng-template"))},directives:[w.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[ge.transformMenu,ge.fadeInItems]},changeDetection:0}),X})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const lt=new p.OlP("mat-menu-scroll-strategy"),Qt={provide:lt,deps:[H.aV],useFactory:function St(X){return()=>X.scrollStrategies.reposition()}},yt=(0,j.i$)({passive:!0});let Je=(()=>{class X{constructor(he,N,F,Y,re,Oe,Ye,vt,Vt){this._overlay=he,this._element=N,this._viewContainerRef=F,this._menuItemInstance=Oe,this._dir=Ye,this._focusMonitor=vt,this._ngZone=Vt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=f.w.EMPTY,this._hoverSubscription=f.w.EMPTY,this._menuCloseSubscription=f.w.EMPTY,this._handleTouchStart=Jt=>{(0,a.yG)(Jt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new p.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new p.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Y,this._parentMaterialMenu=re instanceof et?re:void 0,N.nativeElement.addEventListener("touchstart",this._handleTouchStart,yt),Oe&&(Oe._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(he){this.menu=he}get menu(){return this._menu}set menu(he){he!==this._menu&&(this._menu=he,this._menuCloseSubscription.unsubscribe(),he&&(this._menuCloseSubscription=he.close.subscribe(N=>{this._destroyMenu(N),("click"===N||"tab"===N)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(N)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,yt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const he=this._createOverlay(),N=he.getConfig(),F=N.positionStrategy;this._setPosition(F),N.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,he.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof et&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,D.R)(this.menu.close)).subscribe(()=>{F.withLockedPosition(!1).reapplyLastPosition(),F.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(he,N){this._focusMonitor&&he?this._focusMonitor.focusVia(this._element,he,N):this._element.nativeElement.focus(N)}updatePosition(){var he;null===(he=this._overlayRef)||void 0===he||he.updatePosition()}_destroyMenu(he){if(!this._overlayRef||!this.menuOpen)return;const N=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===he||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,N instanceof et?(N._resetAnimation(),N.lazyContent?N._animationDone.pipe((0,A.h)(F=>"void"===F.toState),(0,M.q)(1),(0,D.R)(N.lazyContent._attached)).subscribe({next:()=>N.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),N.lazyContent&&N.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let he=0,N=this.menu.parentMenu;for(;N;)he++,N=N.parentMenu;this.menu.setElevation(he)}}_setIsMenuOpen(he){this._menuOpen=he,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(he)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const he=this._getOverlayConfig();this._subscribeToPositions(he.positionStrategy),this._overlayRef=this._overlay.create(he),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new H.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(he){this.menu.setPositionClasses&&he.positionChanges.subscribe(N=>{const F="start"===N.connectionPair.overlayX?"after":"before",Y="top"===N.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(F,Y)):this.menu.setPositionClasses(F,Y)})}_setPosition(he){let[N,F]="before"===this.menu.xPosition?["end","start"]:["start","end"],[Y,re]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Oe,Ye]=[Y,re],[vt,Vt]=[N,F],Jt=0;this.triggersSubmenu()?(Vt=N="before"===this.menu.xPosition?"start":"end",F=vt="end"===N?"start":"end",Jt="bottom"===Y?8:-8):this.menu.overlapTrigger||(Oe="top"===Y?"bottom":"top",Ye="top"===re?"bottom":"top"),he.withPositions([{originX:N,originY:Oe,overlayX:vt,overlayY:Y,offsetY:Jt},{originX:F,originY:Oe,overlayX:Vt,overlayY:Y,offsetY:Jt},{originX:N,originY:Ye,overlayX:vt,overlayY:re,offsetY:-Jt},{originX:F,originY:Ye,overlayX:Vt,overlayY:re,offsetY:-Jt}])}_menuClosingActions(){const he=this._overlayRef.backdropClick(),N=this._overlayRef.detachments(),F=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,b.of)(),Y=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,A.h)(re=>re!==this._menuItemInstance),(0,A.h)(()=>this._menuOpen)):(0,b.of)();return(0,v.T)(he,F,Y,N)}_handleMousedown(he){(0,a.X6)(he)||(this._openedBy=0===he.button?"mouse":void 0,this.triggersSubmenu()&&he.preventDefault())}_handleKeydown(he){const N=he.keyCode;(N===d.K5||N===d.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(N===d.SV&&"ltr"===this.dir||N===d.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(he){this.triggersSubmenu()?(he.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,A.h)(he=>he===this._menuItemInstance&&!he.disabled),(0,B.g)(0,m.e)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof et&&this.menu._isAnimating?this.menu._animationDone.pipe((0,M.q)(1),(0,B.g)(0,m.e),(0,D.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new x.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return X.\u0275fac=function(he){return new(he||X)(p.Y36(H.aV),p.Y36(p.SBq),p.Y36(p.s_b),p.Y36(lt),p.Y36(Z,8),p.Y36(U,10),p.Y36(z.Is,8),p.Y36(a.tE),p.Y36(p.R0b))},X.\u0275dir=p.lG2({type:X,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(he,N){1&he&&p.NdJ("click",function(Y){return N._handleClick(Y)})("mousedown",function(Y){return N._handleMousedown(Y)})("keydown",function(Y){return N._handleKeydown(Y)}),2&he&&p.uIk("aria-expanded",N.menuOpen||null)("aria-controls",N.menuOpen?N.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),X})(),ct=(()=>{class X extends Je{}return X.\u0275fac=function(){let xe;return function(N){return(xe||(xe=p.n5z(X)))(N||X)}}(),X.\u0275dir=p.lG2({type:X,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[p.qOj]}),X})(),Xe=(()=>{class X{}return X.\u0275fac=function(he){return new(he||X)},X.\u0275mod=p.oAB({type:X}),X.\u0275inj=p.cJS({providers:[Qt],imports:[[w.ez,k.BQ,k.si,H.U8],le.ZD,k.BQ]}),X})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,85899:(ze,G,l)=>{"use strict";l.d(G,{Cv:()=>x,pW:()=>B});var a=l(5e3),i=l(69808),d=l(90508),p=l(63191),C=l(76360),f=l(42654),v=l(23753),b=l(92198);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const m=["primaryValueBar"],I=(0,d.pj)(class{constructor(w){this._elementRef=w}},"primary"),L=new a.OlP("mat-progress-bar-location",{providedIn:"root",factory:function M(){const w=(0,a.f3M)(i.K0),k=w?w.location:null;return{getPathname:()=>k?k.pathname+k.search:""}}}),D=new a.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let A=0,B=(()=>{class w extends I{constructor(H,j,z,le,oe,$){super(H),this._ngZone=j,this._animationMode=z,this._changeDetectorRef=$,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new a.vpe,this._animationEndSubscription=f.w.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+A++;const y=le?le.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${y}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===z,oe&&(oe.color&&(this.color=this.defaultColor=oe.color),this.mode=oe.mode||this.mode)}get value(){return this._value}set value(H){var j;this._value=R((0,p.su)(H)||0),null===(j=this._changeDetectorRef)||void 0===j||j.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(H){var j;this._bufferValue=R(H||0),null===(j=this._changeDetectorRef)||void 0===j||j.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const H=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,v.R)(H,"transitionend").pipe((0,b.h)(j=>j.target===H)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return w.\u0275fac=function(H){return new(H||w)(a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(C.Qb,8),a.Y36(L,8),a.Y36(D,8),a.Y36(a.sBO))},w.\u0275cmp=a.Xpm({type:w,selectors:[["mat-progress-bar"]],viewQuery:function(H,j){if(1&H&&a.Gf(m,5),2&H){let z;a.iGM(z=a.CRH())&&(j._primaryValueBar=z.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(H,j){2&H&&(a.uIk("aria-valuenow","indeterminate"===j.mode||"query"===j.mode?null:j.value)("mode",j.mode),a.ekj("_mat-animation-noopable",j._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[a.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(H,j){1&H&&(a.TgZ(0,"div",0),a.O4$(),a.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),a._UZ(4,"circle",3),a.qZA()(),a._UZ(5,"rect",4),a.qZA(),a.kcU(),a._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),a.qZA()),2&H&&(a.xp6(3),a.Q6J("id",j.progressbarId),a.xp6(2),a.uIk("fill",j._rectangleFillValue),a.xp6(1),a.Q6J("ngStyle",j._bufferTransform()),a.xp6(1),a.Q6J("ngStyle",j._primaryTransform()))},directives:[i.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),w})();function R(w,k=0,H=100){return Math.max(k,Math.min(H,w))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let x=(()=>{class w{}return w.\u0275fac=function(H){return new(H||w)},w.\u0275mod=a.oAB({type:w}),w.\u0275inj=a.cJS({imports:[[i.ez,d.BQ],d.BQ]}),w})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},20773:(ze,G,l)=>{"use strict";l.d(G,{Cq:()=>w,Ou:()=>x});var a=l(63191),i=l(70925),d=l(69808),p=l(5e3),C=l(90508),f=l(76360),v=l(42654),b=l(41713);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function m(H,j){if(1&H&&(p.O4$(),p._UZ(0,"circle",4)),2&H){const z=p.oxw(),le=p.MAs(1);p.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+z._spinnerAnimationLabel)("stroke-dashoffset",z._getStrokeDashOffset(),"px")("stroke-dasharray",z._getStrokeCircumference(),"px")("stroke-width",z._getCircleStrokeWidth(),"%")("transform-origin",z._getCircleTransformOrigin(le)),p.uIk("r",z._getCircleRadius())}}function I(H,j){if(1&H&&(p.O4$(),p._UZ(0,"circle",4)),2&H){const z=p.oxw(),le=p.MAs(1);p.Udp("stroke-dashoffset",z._getStrokeDashOffset(),"px")("stroke-dasharray",z._getStrokeCircumference(),"px")("stroke-width",z._getCircleStrokeWidth(),"%")("transform-origin",z._getCircleTransformOrigin(le)),p.uIk("r",z._getCircleRadius())}}const D=(0,C.pj)(class{constructor(H){this._elementRef=H}},"primary"),A=new p.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function B(){return{diameter:100}}});class x extends D{constructor(j,z,le,oe,$,y,ae,ge){super(j),this._document=le,this._diameter=100,this._value=0,this._resizeSubscription=v.w.EMPTY,this.mode="determinate";const Ve=x._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),Ve.has(le.head)||Ve.set(le.head,new Set([100])),this._noopAnimations="NoopAnimations"===oe&&!!$&&!$._forceAnimations,"mat-spinner"===j.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),$&&($.diameter&&(this.diameter=$.diameter),$.strokeWidth&&(this.strokeWidth=$.strokeWidth)),z.isBrowser&&z.SAFARI&&ae&&y&&ge&&(this._resizeSubscription=ae.change(150).subscribe(()=>{"indeterminate"===this.mode&&ge.run(()=>y.markForCheck())}))}get diameter(){return this._diameter}set diameter(j){this._diameter=(0,a.su)(j),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(j){this._strokeWidth=(0,a.su)(j)}get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,(0,a.su)(j)))}ngOnInit(){const j=this._elementRef.nativeElement;this._styleRoot=(0,i.kV)(j)||this._document.head,this._attachStyleNode(),j.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const j=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(j){var z;const le=50*(null!==(z=j.currentScale)&&void 0!==z?z:1);return`${le}% ${le}%`}_attachStyleNode(){const j=this._styleRoot,z=this._diameter,le=x._diameters;let oe=le.get(j);if(!oe||!oe.has(z)){const $=this._document.createElement("style");$.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),$.textContent=this._getAnimationText(),j.appendChild($),oe||(oe=new Set,le.set(j,oe)),oe.add(z)}}_getAnimationText(){const j=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*j).replace(/END_VALUE/g,""+.2*j).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}x._diameters=new WeakMap,x.\u0275fac=function(j){return new(j||x)(p.Y36(p.SBq),p.Y36(i.t4),p.Y36(d.K0,8),p.Y36(f.Qb,8),p.Y36(A),p.Y36(p.sBO),p.Y36(b.rL),p.Y36(p.R0b))},x.\u0275cmp=p.Xpm({type:x,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(j,z){2&j&&(p.uIk("aria-valuemin","determinate"===z.mode?0:null)("aria-valuemax","determinate"===z.mode?100:null)("aria-valuenow","determinate"===z.mode?z.value:null)("mode",z.mode),p.Udp("width",z.diameter,"px")("height",z.diameter,"px"),p.ekj("_mat-animation-noopable",z._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[p.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(j,z){1&j&&(p.O4$(),p.TgZ(0,"svg",0,1),p.YNc(2,m,1,11,"circle",2),p.YNc(3,I,1,9,"circle",3),p.qZA()),2&j&&(p.Udp("width",z.diameter,"px")("height",z.diameter,"px"),p.Q6J("ngSwitch","indeterminate"===z.mode),p.uIk("viewBox",z._getViewBox()),p.xp6(2),p.Q6J("ngSwitchCase",!0),p.xp6(1),p.Q6J("ngSwitchCase",!1))},directives:[d.RF,d.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let w=(()=>{class H{}return H.\u0275fac=function(z){return new(z||H)},H.\u0275mod=p.oAB({type:H}),H.\u0275inj=p.cJS({imports:[[C.BQ,d.ez],C.BQ]}),H})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,74107:(ze,G,l)=>{"use strict";l.d(G,{$L:()=>Je,LD:()=>X,gD:()=>Xe});var a=l(92845),i=l(69808),d=l(5e3),p=l(90508),C=l(67322),f=l(41713),v=l(15664),b=l(63191),m=l(20449),I=l(91159),L=l(93075),M=l(8929),D=l(88514),A=l(36787),B=l(1059),R=l(87545),x=l(72986),w=l(92198),k=l(24850),H=l(75778),j=l(7625),z=l(41777),le=l(50226);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const oe=["trigger"],$=["panel"];function y(xe,he){if(1&xe&&(d.TgZ(0,"span",8),d._uU(1),d.qZA()),2&xe){const N=d.oxw();d.xp6(1),d.Oqu(N.placeholder)}}function ae(xe,he){if(1&xe&&(d.TgZ(0,"span",12),d._uU(1),d.qZA()),2&xe){const N=d.oxw(2);d.xp6(1),d.Oqu(N.triggerValue)}}function ge(xe,he){1&xe&&d.Hsn(0,0,["*ngSwitchCase","true"])}function Ve(xe,he){if(1&xe&&(d.TgZ(0,"span",9),d.YNc(1,ae,2,1,"span",10),d.YNc(2,ge,1,0,"ng-content",11),d.qZA()),2&xe){const N=d.oxw();d.Q6J("ngSwitch",!!N.customTrigger),d.xp6(2),d.Q6J("ngSwitchCase",!0)}}function $e(xe,he){if(1&xe){const N=d.EpF();d.TgZ(0,"div",13)(1,"div",14,15),d.NdJ("@transformPanel.done",function(Y){return d.CHM(N),d.oxw()._panelDoneAnimatingStream.next(Y.toState)})("keydown",function(Y){return d.CHM(N),d.oxw()._handleKeydown(Y)}),d.Hsn(3,1),d.qZA()()}if(2&xe){const N=d.oxw();d.Q6J("@transformPanelWrap",void 0),d.xp6(1),d.Gre("mat-select-panel ",N._getPanelTheme(),""),d.Udp("transform-origin",N._transformOrigin)("font-size",N._triggerFontSize,"px"),d.Q6J("ngClass",N.panelClass)("@transformPanel",N.multiple?"showing-multiple":"showing"),d.uIk("id",N.id+"-panel")("aria-multiselectable",N.multiple)("aria-label",N.ariaLabel||null)("aria-labelledby",N._getPanelAriaLabelledby())}}const Be=[[["mat-select-trigger"]],"*"],Ee=["mat-select-trigger","*"],Ie={transformPanelWrap:(0,z.X$)("transformPanelWrap",[(0,z.eR)("* => void",(0,z.IO)("@transformPanel",[(0,z.pV)()],{optional:!0}))]),transformPanel:(0,z.X$)("transformPanel",[(0,z.SB)("void",(0,z.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,z.SB)("showing",(0,z.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,z.SB)("showing-multiple",(0,z.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,z.eR)("void => *",(0,z.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,z.eR)("* => void",(0,z.jt)("100ms 25ms linear",(0,z.oB)({opacity:0})))])};
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Se=0;const Z=256,et=new d.OlP("mat-select-scroll-strategy"),lt=new d.OlP("MAT_SELECT_CONFIG"),St={provide:et,deps:[a.aV],useFactory:function de(xe){return()=>xe.scrollStrategies.reposition()}};class Qt{constructor(he,N){this.source=he,this.value=N}}const gt=(0,p.Kr)((0,p.sb)((0,p.Id)((0,p.FD)(class{constructor(xe,he,N,F,Y){this._elementRef=xe,this._defaultErrorStateMatcher=he,this._parentForm=N,this._parentFormGroup=F,this.ngControl=Y}})))),yt=new d.OlP("MatSelectTrigger");let Je=(()=>{class xe{}return xe.\u0275fac=function(N){return new(N||xe)},xe.\u0275dir=d.lG2({type:xe,selectors:[["mat-select-trigger"]],features:[d._Bn([{provide:yt,useExisting:xe}])]}),xe})(),ct=(()=>{class xe extends gt{constructor(N,F,Y,re,Oe,Ye,vt,Vt,Jt,hn,gn,yn,An,Nn){var In,wn,Wn;super(Oe,re,vt,Vt,hn),this._viewportRuler=N,this._changeDetectorRef=F,this._ngZone=Y,this._dir=Ye,this._parentFormField=Jt,this._liveAnnouncer=An,this._defaultOptions=Nn,this._panelOpen=!1,this._compareWith=(Bn,Xt)=>Bn===Xt,this._uid="mat-select-"+Se++,this._triggerAriaLabelledBy=null,this._destroy=new M.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Se++,this._panelDoneAnimatingStream=new M.xQ,this._overlayPanelClass=(null===(In=this._defaultOptions)||void 0===In?void 0:In.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Wn=null===(wn=this._defaultOptions)||void 0===wn?void 0:wn.disableOptionCentering)&&void 0!==Wn&&Wn,this.ariaLabel="",this.optionSelectionChanges=(0,D.P)(()=>{const Bn=this.options;return Bn?Bn.changes.pipe((0,B.O)(Bn),(0,R.w)(()=>(0,A.T)(...Bn.map(Xt=>Xt.onSelectionChange)))):this._ngZone.onStable.pipe((0,x.q)(1),(0,R.w)(()=>this.optionSelectionChanges))}),this.openedChange=new d.vpe,this._openedStream=this.openedChange.pipe((0,w.h)(Bn=>Bn),(0,k.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,w.h)(Bn=>!Bn),(0,k.U)(()=>{})),this.selectionChange=new d.vpe,this.valueChange=new d.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Nn?void 0:Nn.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Nn.typeaheadDebounceInterval),this._scrollStrategyFactory=yn,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(gn)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(N){this._placeholder=N,this.stateChanges.next()}get required(){var N,F,Y,re;return null!==(re=null!==(N=this._required)&&void 0!==N?N:null===(Y=null===(F=this.ngControl)||void 0===F?void 0:F.control)||void 0===Y?void 0:Y.hasValidator(L.kI.required))&&void 0!==re&&re}set required(N){this._required=(0,b.Ig)(N),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(N){this._multiple=(0,b.Ig)(N)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(N){this._disableOptionCentering=(0,b.Ig)(N)}get compareWith(){return this._compareWith}set compareWith(N){this._compareWith=N,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(N){this._assignValue(N)&&this._onChange(N)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(N){this._typeaheadDebounceInterval=(0,b.su)(N)}get id(){return this._id}set id(N){this._id=N||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new m.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,H.x)(),(0,j.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,j.R)(this._destroy)).subscribe(N=>{N.added.forEach(F=>F.select()),N.removed.forEach(F=>F.deselect())}),this.options.changes.pipe((0,B.O)(null),(0,j.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const N=this._getTriggerAriaLabelledby(),F=this.ngControl;if(N!==this._triggerAriaLabelledBy){const Y=this._elementRef.nativeElement;this._triggerAriaLabelledBy=N,N?Y.setAttribute("aria-labelledby",N):Y.removeAttribute("aria-labelledby")}F&&(this._previousControl!==F.control&&(void 0!==this._previousControl&&null!==F.disabled&&F.disabled!==this.disabled&&(this.disabled=F.disabled),this._previousControl=F.control),this.updateErrorState())}ngOnChanges(N){N.disabled&&this.stateChanges.next(),N.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(N){this._assignValue(N)}registerOnChange(N){this._onChange=N}registerOnTouched(N){this._onTouched=N}setDisabledState(N){this.disabled=N,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var N,F;return this.multiple?(null===(N=this._selectionModel)||void 0===N?void 0:N.selected)||[]:null===(F=this._selectionModel)||void 0===F?void 0:F.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const N=this._selectionModel.selected.map(F=>F.viewValue);return this._isRtl()&&N.reverse(),N.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(N){this.disabled||(this.panelOpen?this._handleOpenKeydown(N):this._handleClosedKeydown(N))}_handleClosedKeydown(N){const F=N.keyCode,Y=F===I.JH||F===I.LH||F===I.oh||F===I.SV,re=F===I.K5||F===I.L_,Oe=this._keyManager;if(!Oe.isTyping()&&re&&!(0,I.Vb)(N)||(this.multiple||N.altKey)&&Y)N.preventDefault(),this.open();else if(!this.multiple){const Ye=this.selected;Oe.onKeydown(N);const vt=this.selected;vt&&Ye!==vt&&this._liveAnnouncer.announce(vt.viewValue,1e4)}}_handleOpenKeydown(N){const F=this._keyManager,Y=N.keyCode,re=Y===I.JH||Y===I.LH,Oe=F.isTyping();if(re&&N.altKey)N.preventDefault(),this.close();else if(Oe||Y!==I.K5&&Y!==I.L_||!F.activeItem||(0,I.Vb)(N))if(!Oe&&this._multiple&&Y===I.A&&N.ctrlKey){N.preventDefault();const Ye=this.options.some(vt=>!vt.disabled&&!vt.selected);this.options.forEach(vt=>{vt.disabled||(Ye?vt.select():vt.deselect())})}else{const Ye=F.activeItemIndex;F.onKeydown(N),this._multiple&&re&&N.shiftKey&&F.activeItem&&F.activeItemIndex!==Ye&&F.activeItem._selectViaInteraction()}else N.preventDefault(),F.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,x.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(N){if(this._selectionModel.selected.forEach(F=>F.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&N)Array.isArray(N),N.forEach(F=>this._selectOptionByValue(F)),this._sortValues();else{const F=this._selectOptionByValue(N);F?this._keyManager.updateActiveItem(F):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(N){const F=this.options.find(Y=>{if(this._selectionModel.isSelected(Y))return!1;try{return null!=Y.value&&this._compareWith(Y.value,N)}catch(re){return!1}});return F&&this._selectionModel.select(F),F}_assignValue(N){return!!(N!==this._value||this._multiple&&Array.isArray(N))&&(this.options&&this._setSelectionByValue(N),this._value=N,!0)}_initKeyManager(){this._keyManager=new v.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,j.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,j.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const N=(0,A.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,j.R)(N)).subscribe(F=>{this._onSelect(F.source,F.isUserInput),F.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,A.T)(...this.options.map(F=>F._stateChanges)).pipe((0,j.R)(N)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(N,F){const Y=this._selectionModel.isSelected(N);null!=N.value||this._multiple?(Y!==N.selected&&(N.selected?this._selectionModel.select(N):this._selectionModel.deselect(N)),F&&this._keyManager.setActiveItem(N),this.multiple&&(this._sortValues(),F&&this.focus())):(N.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(N.value)),Y!==this._selectionModel.isSelected(N)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const N=this.options.toArray();this._selectionModel.sort((F,Y)=>this.sortComparator?this.sortComparator(F,Y,N):N.indexOf(F)-N.indexOf(Y)),this.stateChanges.next()}}_propagateChanges(N){let F=null;F=this.multiple?this.selected.map(Y=>Y.value):this.selected?this.selected.value:N,this._value=F,this.valueChange.emit(F),this._onChange(F),this.selectionChange.emit(this._getChangeEvent(F)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var N;return!this._panelOpen&&!this.disabled&&(null===(N=this.options)||void 0===N?void 0:N.length)>0}focus(N){this._elementRef.nativeElement.focus(N)}_getPanelAriaLabelledby(){var N;if(this.ariaLabel)return null;const F=null===(N=this._parentFormField)||void 0===N?void 0:N.getLabelId();return this.ariaLabelledby?(F?F+" ":"")+this.ariaLabelledby:F}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var N;if(this.ariaLabel)return null;const F=null===(N=this._parentFormField)||void 0===N?void 0:N.getLabelId();let Y=(F?F+" ":"")+this._valueId;return this.ariaLabelledby&&(Y+=" "+this.ariaLabelledby),Y}_panelDoneAnimating(N){this.openedChange.emit(N)}setDescribedByIds(N){this._ariaDescribedby=N.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return xe.\u0275fac=function(N){return new(N||xe)(d.Y36(f.rL),d.Y36(d.sBO),d.Y36(d.R0b),d.Y36(p.rD),d.Y36(d.SBq),d.Y36(le.Is,8),d.Y36(L.F,8),d.Y36(L.sg,8),d.Y36(C.G_,8),d.Y36(L.a5,10),d.$8M("tabindex"),d.Y36(et),d.Y36(v.Kd),d.Y36(lt,8))},xe.\u0275dir=d.lG2({type:xe,viewQuery:function(N,F){if(1&N&&(d.Gf(oe,5),d.Gf($,5),d.Gf(a.pI,5)),2&N){let Y;d.iGM(Y=d.CRH())&&(F.trigger=Y.first),d.iGM(Y=d.CRH())&&(F.panel=Y.first),d.iGM(Y=d.CRH())&&(F._overlayDir=Y.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[d.qOj,d.TTD]}),xe})(),Xe=(()=>{class xe extends ct{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(N,F,Y){const re=this._getItemHeight();return Math.min(Math.max(0,re*N-F+re/2),Y)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,j.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,x.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(N){const F=(0,p.CB)(N,this.options,this.optionGroups),Y=this._getItemHeight();this.panel.nativeElement.scrollTop=0===N&&1===F?0:(0,p.jH)((N+F)*Y,Y,this.panel.nativeElement.scrollTop,Z)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(N){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(N)}_getChangeEvent(N){return new Qt(this,N)}_calculateOverlayOffsetX(){const N=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),F=this._viewportRuler.getViewportSize(),Y=this._isRtl(),re=this.multiple?56:32;let Oe;if(this.multiple)Oe=40;else if(this.disableOptionCentering)Oe=16;else{let Vt=this._selectionModel.selected[0]||this.options.first;Oe=Vt&&Vt.group?32:16}Y||(Oe*=-1);const Ye=0-(N.left+Oe-(Y?re:0)),vt=N.right+Oe-F.width+(Y?0:re);Ye>0?Oe+=Ye+8:vt>0&&(Oe-=vt+8),this._overlayDir.offsetX=Math.round(Oe),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(N,F,Y){const re=this._getItemHeight(),Oe=(re-this._triggerRect.height)/2,Ye=Math.floor(Z/re);let vt;return this.disableOptionCentering?0:(vt=0===this._scrollTop?N*re:this._scrollTop===Y?(N-(this._getItemCount()-Ye))*re+(re-(this._getItemCount()*re-Z)%re):F-re/2,Math.round(-1*vt-Oe))}_checkOverlayWithinViewport(N){const F=this._getItemHeight(),Y=this._viewportRuler.getViewportSize(),re=this._triggerRect.top-8,Oe=Y.height-this._triggerRect.bottom-8,Ye=Math.abs(this._offsetY),Vt=Math.min(this._getItemCount()*F,Z)-Ye-this._triggerRect.height;Vt>Oe?this._adjustPanelUp(Vt,Oe):Ye>re?this._adjustPanelDown(Ye,re,N):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(N,F){const Y=Math.round(N-F);this._scrollTop-=Y,this._offsetY-=Y,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(N,F,Y){const re=Math.round(N-F);if(this._scrollTop+=re,this._offsetY+=re,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=Y)return this._scrollTop=Y,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const N=this._getItemHeight(),F=this._getItemCount(),Y=Math.min(F*N,Z),Oe=F*N-Y;let Ye;Ye=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Ye+=(0,p.CB)(Ye,this.options,this.optionGroups);const vt=Y/2;this._scrollTop=this._calculateOverlayScroll(Ye,vt,Oe),this._offsetY=this._calculateOverlayOffsetY(Ye,vt,Oe),this._checkOverlayWithinViewport(Oe)}_getOriginBasedOnOption(){const N=this._getItemHeight(),F=(N-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-F+N/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return xe.\u0275fac=function(){let he;return function(F){return(he||(he=d.n5z(xe)))(F||xe)}}(),xe.\u0275cmp=d.Xpm({type:xe,selectors:[["mat-select"]],contentQueries:function(N,F,Y){if(1&N&&(d.Suo(Y,yt,5),d.Suo(Y,p.ey,5),d.Suo(Y,p.K7,5)),2&N){let re;d.iGM(re=d.CRH())&&(F.customTrigger=re.first),d.iGM(re=d.CRH())&&(F.options=re),d.iGM(re=d.CRH())&&(F.optionGroups=re)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(N,F){1&N&&d.NdJ("keydown",function(re){return F._handleKeydown(re)})("focus",function(){return F._onFocus()})("blur",function(){return F._onBlur()}),2&N&&(d.uIk("id",F.id)("tabindex",F.tabIndex)("aria-controls",F.panelOpen?F.id+"-panel":null)("aria-expanded",F.panelOpen)("aria-label",F.ariaLabel||null)("aria-required",F.required.toString())("aria-disabled",F.disabled.toString())("aria-invalid",F.errorState)("aria-describedby",F._ariaDescribedby||null)("aria-activedescendant",F._getAriaActiveDescendant()),d.ekj("mat-select-disabled",F.disabled)("mat-select-invalid",F.errorState)("mat-select-required",F.required)("mat-select-empty",F.empty)("mat-select-multiple",F.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d._Bn([{provide:C.Eo,useExisting:xe},{provide:p.HF,useExisting:xe}]),d.qOj],ngContentSelectors:Ee,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(N,F){if(1&N&&(d.F$t(Be),d.TgZ(0,"div",0,1),d.NdJ("click",function(){return F.toggle()}),d.TgZ(3,"div",2),d.YNc(4,y,2,1,"span",3),d.YNc(5,Ve,3,2,"span",4),d.qZA(),d.TgZ(6,"div",5),d._UZ(7,"div",6),d.qZA()(),d.YNc(8,$e,4,14,"ng-template",7),d.NdJ("backdropClick",function(){return F.close()})("attach",function(){return F._onAttached()})("detach",function(){return F.close()})),2&N){const Y=d.MAs(1);d.uIk("aria-owns",F.panelOpen?F.id+"-panel":null),d.xp6(3),d.Q6J("ngSwitch",F.empty),d.uIk("id",F._valueId),d.xp6(1),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngSwitchCase",!1),d.xp6(3),d.Q6J("cdkConnectedOverlayPanelClass",F._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",F._scrollStrategy)("cdkConnectedOverlayOrigin",Y)("cdkConnectedOverlayOpen",F.panelOpen)("cdkConnectedOverlayPositions",F._positions)("cdkConnectedOverlayMinWidth",null==F._triggerRect?null:F._triggerRect.width)("cdkConnectedOverlayOffsetY",F._offsetY)}},directives:[a.xu,i.RF,i.n9,i.ED,a.pI,i.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[Ie.transformPanelWrap,Ie.transformPanel]},changeDetection:0}),xe})(),X=(()=>{class xe{}return xe.\u0275fac=function(N){return new(N||xe)},xe.\u0275mod=d.oAB({type:xe}),xe.\u0275inj=d.cJS({providers:[St],imports:[[i.ez,a.U8,p.Ng,p.BQ],f.ZD,C.lN,p.Ng,p.BQ]}),xe})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,18561:(ze,G,l)=>{"use strict";l.d(G,{JX:()=>lt,TM:()=>St,Rh:()=>de,SJ:()=>Qt});var a=l(41713),i=l(69808),d=l(5e3),p=l(90508),C=l(63191),f=l(91159),v=l(8929),b=l(23753),m=l(36787),I=l(92198),L=l(24850),M=l(43489);function D(gt){return yt=>yt.lift(new A(gt))}class A{constructor(yt){this.value=yt}call(yt,Je){return Je.subscribe(new B(yt,this.value))}}class B extends M.L{constructor(yt,Je){super(yt),this.value=Je}_next(yt){this.destination.next(this.value)}}var R=l(7625),x=l(75778),w=l(72986),k=l(1059),H=l(80013),j=l(41777),z=l(76360),le=l(15664),oe=l(70925),$=l(50226);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const y=["*"],ae=["content"];function ge(gt,yt){if(1&gt){const Je=d.EpF();d.TgZ(0,"div",2),d.NdJ("click",function(){return d.CHM(Je),d.oxw()._onBackdropClicked()}),d.qZA()}if(2&gt){const Je=d.oxw();d.ekj("mat-drawer-shown",Je._isShowingBackdrop())}}function Ve(gt,yt){1&gt&&(d.TgZ(0,"mat-drawer-content"),d.Hsn(1,2),d.qZA())}const $e=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Be=["mat-drawer","mat-drawer-content","*"];function Ee(gt,yt){if(1&gt){const Je=d.EpF();d.TgZ(0,"div",2),d.NdJ("click",function(){return d.CHM(Je),d.oxw()._onBackdropClicked()}),d.qZA()}if(2&gt){const Je=d.oxw();d.ekj("mat-drawer-shown",Je._isShowingBackdrop())}}function Ie(gt,yt){1&gt&&(d.TgZ(0,"mat-sidenav-content"),d.Hsn(1,2),d.qZA())}const Re=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ge=["mat-sidenav","mat-sidenav-content","*"],Se={transformDrawer:(0,j.X$)("transform",[(0,j.SB)("open, open-instant",(0,j.oB)({transform:"none",visibility:"visible"})),(0,j.SB)("void",(0,j.oB)({"box-shadow":"none",visibility:"hidden"})),(0,j.eR)("void => open-instant",(0,j.jt)("0ms")),(0,j.eR)("void <=> open, open-instant => void",(0,j.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},V=new d.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function fe(){return!1}}),U=new d.OlP("MAT_DRAWER_CONTAINER");let pe=(()=>{class gt extends a.PQ{constructor(Je,ct,Xe,X,xe){super(Xe,X,xe),this._changeDetectorRef=Je,this._container=ct}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return gt.\u0275fac=function(Je){return new(Je||gt)(d.Y36(d.sBO),d.Y36((0,d.Gpc)(()=>et)),d.Y36(d.SBq),d.Y36(a.mF),d.Y36(d.R0b))},gt.\u0275cmp=d.Xpm({type:gt,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(Je,ct){2&Je&&d.Udp("margin-left",ct._container._contentMargins.left,"px")("margin-right",ct._container._contentMargins.right,"px")},features:[d._Bn([{provide:a.PQ,useExisting:gt}]),d.qOj],ngContentSelectors:y,decls:1,vars:0,template:function(Je,ct){1&Je&&(d.F$t(),d.Hsn(0))},encapsulation:2,changeDetection:0}),gt})(),He=(()=>{class gt{constructor(Je,ct,Xe,X,xe,he,N,F){this._elementRef=Je,this._focusTrapFactory=ct,this._focusMonitor=Xe,this._platform=X,this._ngZone=xe,this._interactivityChecker=he,this._doc=N,this._container=F,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new v.xQ,this._animationEnd=new v.xQ,this._animationState="void",this.openedChange=new d.vpe(!0),this._openedStream=this.openedChange.pipe((0,I.h)(Y=>Y),(0,L.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,I.h)(Y=>Y.fromState!==Y.toState&&0===Y.toState.indexOf("open")),D(void 0)),this._closedStream=this.openedChange.pipe((0,I.h)(Y=>!Y),(0,L.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,I.h)(Y=>Y.fromState!==Y.toState&&"void"===Y.toState),D(void 0)),this._destroyed=new v.xQ,this.onPositionChanged=new d.vpe,this._modeChanged=new v.xQ,this.openedChange.subscribe(Y=>{Y?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,b.R)(this._elementRef.nativeElement,"keydown").pipe((0,I.h)(Y=>Y.keyCode===f.hY&&!this.disableClose&&!(0,f.Vb)(Y)),(0,R.R)(this._destroyed)).subscribe(Y=>this._ngZone.run(()=>{this.close(),Y.stopPropagation(),Y.preventDefault()}))}),this._animationEnd.pipe((0,x.x)((Y,re)=>Y.fromState===re.fromState&&Y.toState===re.toState)).subscribe(Y=>{const{fromState:re,toState:Oe}=Y;(0===Oe.indexOf("open")&&"void"===re||"void"===Oe&&0===re.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(Je){(Je="end"===Je?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Je),this._position=Je,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(Je){this._mode=Je,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(Je){this._disableClose=(0,C.Ig)(Je)}get autoFocus(){const Je=this._autoFocus;return null==Je?"side"===this.mode?"dialog":"first-tabbable":Je}set autoFocus(Je){("true"===Je||"false"===Je||null==Je)&&(Je=(0,C.Ig)(Je)),this._autoFocus=Je}get opened(){return this._opened}set opened(Je){this.toggle((0,C.Ig)(Je))}_forceFocus(Je,ct){this._interactivityChecker.isFocusable(Je)||(Je.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Xe=()=>{Je.removeEventListener("blur",Xe),Je.removeEventListener("mousedown",Xe),Je.removeAttribute("tabindex")};Je.addEventListener("blur",Xe),Je.addEventListener("mousedown",Xe)})),Je.focus(ct)}_focusByCssSelector(Je,ct){let Xe=this._elementRef.nativeElement.querySelector(Je);Xe&&this._forceFocus(Xe,ct)}_takeFocus(){if(!this._focusTrap)return;const Je=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ct=>{!ct&&"function"==typeof this._elementRef.nativeElement.focus&&Je.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(Je){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Je):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Je=this._doc.activeElement;return!!Je&&this._elementRef.nativeElement.contains(Je)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var Je;this._focusTrap&&this._focusTrap.destroy(),null===(Je=this._anchor)||void 0===Je||Je.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(Je){return this.toggle(!0,Je)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Je=!this.opened,ct){Je&&ct&&(this._openedVia=ct);const Xe=this._setOpen(Je,!Je&&this._isFocusWithinDrawer(),this._openedVia||"program");return Je||(this._openedVia=null),Xe}_setOpen(Je,ct,Xe){return this._opened=Je,Je?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ct&&this._restoreFocus(Xe)),this._updateFocusTrapState(),new Promise(X=>{this.openedChange.pipe((0,w.q)(1)).subscribe(xe=>X(xe?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(Je){const ct=this._elementRef.nativeElement,Xe=ct.parentNode;"end"===Je?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Xe.insertBefore(this._anchor,ct)),Xe.appendChild(ct)):this._anchor&&this._anchor.parentNode.insertBefore(ct,this._anchor)}}return gt.\u0275fac=function(Je){return new(Je||gt)(d.Y36(d.SBq),d.Y36(le.qV),d.Y36(le.tE),d.Y36(oe.t4),d.Y36(d.R0b),d.Y36(le.ic),d.Y36(i.K0,8),d.Y36(U,8))},gt.\u0275cmp=d.Xpm({type:gt,selectors:[["mat-drawer"]],viewQuery:function(Je,ct){if(1&Je&&d.Gf(ae,5),2&Je){let Xe;d.iGM(Xe=d.CRH())&&(ct._content=Xe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(Je,ct){1&Je&&d.WFA("@transform.start",function(X){return ct._animationStarted.next(X)})("@transform.done",function(X){return ct._animationEnd.next(X)}),2&Je&&(d.uIk("align",null),d.d8E("@transform",ct._animationState),d.ekj("mat-drawer-end","end"===ct.position)("mat-drawer-over","over"===ct.mode)("mat-drawer-push","push"===ct.mode)("mat-drawer-side","side"===ct.mode)("mat-drawer-opened",ct.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:y,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Je,ct){1&Je&&(d.F$t(),d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA())},directives:[a.PQ],encapsulation:2,data:{animation:[Se.transformDrawer]},changeDetection:0}),gt})(),et=(()=>{class gt{constructor(Je,ct,Xe,X,xe,he=!1,N){this._dir=Je,this._element=ct,this._ngZone=Xe,this._changeDetectorRef=X,this._animationMode=N,this._drawers=new d.n_E,this.backdropClick=new d.vpe,this._destroyed=new v.xQ,this._doCheckSubject=new v.xQ,this._contentMargins={left:null,right:null},this._contentMarginChanges=new v.xQ,Je&&Je.change.pipe((0,R.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),xe.change().pipe((0,R.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=he}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Je){this._autosize=(0,C.Ig)(Je)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(Je){this._backdropOverride=null==Je?null:(0,C.Ig)(Je)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,k.O)(this._allDrawers),(0,R.R)(this._destroyed)).subscribe(Je=>{this._drawers.reset(Je.filter(ct=>!ct._container||ct._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,k.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Je=>{this._watchDrawerToggle(Je),this._watchDrawerPosition(Je),this._watchDrawerMode(Je)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,H.b)(10),(0,R.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(Je=>Je.open())}close(){this._drawers.forEach(Je=>Je.close())}updateContentMargins(){let Je=0,ct=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Je+=this._left._getWidth();else if("push"==this._left.mode){const Xe=this._left._getWidth();Je+=Xe,ct-=Xe}if(this._right&&this._right.opened)if("side"==this._right.mode)ct+=this._right._getWidth();else if("push"==this._right.mode){const Xe=this._right._getWidth();ct+=Xe,Je-=Xe}Je=Je||null,ct=ct||null,(Je!==this._contentMargins.left||ct!==this._contentMargins.right)&&(this._contentMargins={left:Je,right:ct},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Je){Je._animationStarted.pipe((0,I.h)(ct=>ct.fromState!==ct.toState),(0,R.R)(this._drawers.changes)).subscribe(ct=>{"open-instant"!==ct.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Je.mode&&Je.openedChange.pipe((0,R.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Je.opened))}_watchDrawerPosition(Je){!Je||Je.onPositionChanged.pipe((0,R.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,w.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(Je){Je&&Je._modeChanged.pipe((0,R.R)((0,m.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Je){const ct=this._element.nativeElement.classList,Xe="mat-drawer-container-has-open";Je?ct.add(Xe):ct.remove(Xe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Je=>{"end"==Je.position?this._end=Je:this._start=Je}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(Je=>Je&&!Je.disableClose&&this._canHaveBackdrop(Je)).forEach(Je=>Je._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(Je){return"side"!==Je.mode||!!this._backdropOverride}_isDrawerOpen(Je){return null!=Je&&Je.opened}}return gt.\u0275fac=function(Je){return new(Je||gt)(d.Y36($.Is,8),d.Y36(d.SBq),d.Y36(d.R0b),d.Y36(d.sBO),d.Y36(a.rL),d.Y36(V),d.Y36(z.Qb,8))},gt.\u0275cmp=d.Xpm({type:gt,selectors:[["mat-drawer-container"]],contentQueries:function(Je,ct,Xe){if(1&Je&&(d.Suo(Xe,pe,5),d.Suo(Xe,He,5)),2&Je){let X;d.iGM(X=d.CRH())&&(ct._content=X.first),d.iGM(X=d.CRH())&&(ct._allDrawers=X)}},viewQuery:function(Je,ct){if(1&Je&&d.Gf(pe,5),2&Je){let Xe;d.iGM(Xe=d.CRH())&&(ct._userContent=Xe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Je,ct){2&Je&&d.ekj("mat-drawer-container-explicit-backdrop",ct._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[d._Bn([{provide:U,useExisting:gt}])],ngContentSelectors:Be,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Je,ct){1&Je&&(d.F$t($e),d.YNc(0,ge,1,2,"div",0),d.Hsn(1),d.Hsn(2,1),d.YNc(3,Ve,2,0,"mat-drawer-content",1)),2&Je&&(d.Q6J("ngIf",ct.hasBackdrop),d.xp6(3),d.Q6J("ngIf",!ct._content))},directives:[pe,i.O5],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),gt})(),de=(()=>{class gt extends pe{constructor(Je,ct,Xe,X,xe){super(Je,ct,Xe,X,xe)}}return gt.\u0275fac=function(Je){return new(Je||gt)(d.Y36(d.sBO),d.Y36((0,d.Gpc)(()=>St)),d.Y36(d.SBq),d.Y36(a.mF),d.Y36(d.R0b))},gt.\u0275cmp=d.Xpm({type:gt,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Je,ct){2&Je&&d.Udp("margin-left",ct._container._contentMargins.left,"px")("margin-right",ct._container._contentMargins.right,"px")},features:[d._Bn([{provide:a.PQ,useExisting:gt}]),d.qOj],ngContentSelectors:y,decls:1,vars:0,template:function(Je,ct){1&Je&&(d.F$t(),d.Hsn(0))},encapsulation:2,changeDetection:0}),gt})(),lt=(()=>{class gt extends He{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(Je){this._fixedInViewport=(0,C.Ig)(Je)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(Je){this._fixedTopGap=(0,C.su)(Je)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(Je){this._fixedBottomGap=(0,C.su)(Je)}}return gt.\u0275fac=function(){let yt;return function(ct){return(yt||(yt=d.n5z(gt)))(ct||gt)}}(),gt.\u0275cmp=d.Xpm({type:gt,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Je,ct){2&Je&&(d.uIk("align",null),d.Udp("top",ct.fixedInViewport?ct.fixedTopGap:null,"px")("bottom",ct.fixedInViewport?ct.fixedBottomGap:null,"px"),d.ekj("mat-drawer-end","end"===ct.position)("mat-drawer-over","over"===ct.mode)("mat-drawer-push","push"===ct.mode)("mat-drawer-side","side"===ct.mode)("mat-drawer-opened",ct.opened)("mat-sidenav-fixed",ct.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[d.qOj],ngContentSelectors:y,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Je,ct){1&Je&&(d.F$t(),d.TgZ(0,"div",0,1),d.Hsn(2),d.qZA())},directives:[a.PQ],encapsulation:2,data:{animation:[Se.transformDrawer]},changeDetection:0}),gt})(),St=(()=>{class gt extends et{}return gt.\u0275fac=function(){let yt;return function(ct){return(yt||(yt=d.n5z(gt)))(ct||gt)}}(),gt.\u0275cmp=d.Xpm({type:gt,selectors:[["mat-sidenav-container"]],contentQueries:function(Je,ct,Xe){if(1&Je&&(d.Suo(Xe,de,5),d.Suo(Xe,lt,5)),2&Je){let X;d.iGM(X=d.CRH())&&(ct._content=X.first),d.iGM(X=d.CRH())&&(ct._allDrawers=X)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Je,ct){2&Je&&d.ekj("mat-drawer-container-explicit-backdrop",ct._backdropOverride)},exportAs:["matSidenavContainer"],features:[d._Bn([{provide:U,useExisting:gt}]),d.qOj],ngContentSelectors:Ge,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Je,ct){1&Je&&(d.F$t(Re),d.YNc(0,Ee,1,2,"div",0),d.Hsn(1),d.Hsn(2,1),d.YNc(3,Ie,2,0,"mat-sidenav-content",1)),2&Je&&(d.Q6J("ngIf",ct.hasBackdrop),d.xp6(3),d.Q6J("ngIf",!ct._content))},directives:[de,i.O5],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n'],encapsulation:2,changeDetection:0}),gt})(),Qt=(()=>{class gt{}return gt.\u0275fac=function(Je){return new(Je||gt)},gt.\u0275mod=d.oAB({type:gt}),gt.\u0275inj=d.cJS({imports:[[i.ez,p.BQ,a.ZD],a.ZD,p.BQ]}),gt})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,34594:(ze,G,l)=>{"use strict";l.d(G,{Ye:()=>m,g0:()=>L});var a=l(5e3),i=l(90508),d=l(69808),p=l(70925);const C=["*",[["mat-toolbar-row"]]],f=["*","mat-toolbar-row"],v=(0,i.pj)(class{constructor(M){this._elementRef=M}});let b=(()=>{class M{}return M.\u0275fac=function(A){return new(A||M)},M.\u0275dir=a.lG2({type:M,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),M})(),m=(()=>{class M extends v{constructor(A,B,R){super(A),this._platform=B,this._document=R}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return M.\u0275fac=function(A){return new(A||M)(a.Y36(a.SBq),a.Y36(p.t4),a.Y36(d.K0))},M.\u0275cmp=a.Xpm({type:M,selectors:[["mat-toolbar"]],contentQueries:function(A,B,R){if(1&A&&a.Suo(R,b,5),2&A){let x;a.iGM(x=a.CRH())&&(B._toolbarRows=x)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(A,B){2&A&&a.ekj("mat-toolbar-multiple-rows",B._toolbarRows.length>0)("mat-toolbar-single-row",0===B._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[a.qOj],ngContentSelectors:f,decls:2,vars:0,template:function(A,B){1&A&&(a.F$t(C),a.Hsn(0),a.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),M})(),L=(()=>{class M{}return M.\u0275fac=function(A){return new(A||M)},M.\u0275mod=a.oAB({type:M}),M.\u0275inj=a.cJS({imports:[[i.BQ],i.BQ]}),M})()}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,87238:(ze,G,l)=>{"use strict";l.d(G,{AV:()=>Re,gM:()=>Be});var a=l(92845),i=l(15664),d=l(69808),p=l(5e3),C=l(90508),f=l(41713),v=l(63191),b=l(91159),m=l(95113),I=l(70925),L=l(47429),M=l(76360),D=l(8929),A=l(7625),B=l(72986),R=l(50226);l(41777);const w=["tooltip"],j="tooltip-panel",z=(0,I.i$)({passive:!0}),$=new p.OlP("mat-tooltip-scroll-strategy"),ae={provide:$,deps:[a.aV],useFactory:function y(it){return()=>it.scrollStrategies.reposition({scrollThrottle:20})}},ge=new p.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function Ve(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let $e=(()=>{class it{constructor(Z,V,U,fe,pe,He,et,de,lt,St,Qt,gt){this._overlay=Z,this._elementRef=V,this._scrollDispatcher=U,this._viewContainerRef=fe,this._ngZone=pe,this._platform=He,this._ariaDescriber=et,this._focusMonitor=de,this._dir=St,this._defaultOptions=Qt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new D.xQ,this._scrollStrategy=lt,this._document=gt,Qt&&(Qt.position&&(this.position=Qt.position),Qt.touchGestures&&(this.touchGestures=Qt.touchGestures)),St.change.pipe((0,A.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(Z){var V;Z!==this._position&&(this._position=Z,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(V=this._tooltipInstance)||void 0===V||V.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(Z){this._disabled=(0,v.Ig)(Z),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Z){this._showDelay=(0,v.su)(Z)}get hideDelay(){return this._hideDelay}set hideDelay(Z){this._hideDelay=(0,v.su)(Z),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Z){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Z?String(Z).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(Z){this._tooltipClass=Z,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,A.R)(this._destroyed)).subscribe(Z=>{Z?"keyboard"===Z&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Z=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([V,U])=>{Z.removeEventListener(V,U,z)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Z,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Z)}show(Z=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const V=this._createOverlay();this._detach(),this._portal=this._portal||new L.C5(this._tooltipComponent,this._viewContainerRef);const U=this._tooltipInstance=V.attach(this._portal).instance;U._triggerElement=this._elementRef.nativeElement,U._mouseLeaveHideDelay=this._hideDelay,U.afterHidden().pipe((0,A.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),U.show(Z)}hide(Z=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(Z)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var Z;if(this._overlayRef)return this._overlayRef;const V=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),U=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(V);return U.positionChanges.pipe((0,A.R)(this._destroyed)).subscribe(fe=>{this._updateCurrentPositionClass(fe.connectionPair),this._tooltipInstance&&fe.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:U,panelClass:`${this._cssClassPrefix}-${j}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,A.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,A.R)(this._destroyed)).subscribe(()=>{var fe;return null===(fe=this._tooltipInstance)||void 0===fe?void 0:fe._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,A.R)(this._destroyed)).subscribe(fe=>{this._isTooltipVisible()&&fe.keyCode===b.hY&&!(0,b.Vb)(fe)&&(fe.preventDefault(),fe.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(Z=this._defaultOptions)||void 0===Z?void 0:Z.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Z){const V=Z.getConfig().positionStrategy,U=this._getOrigin(),fe=this._getOverlayPosition();V.withPositions([this._addOffset(Object.assign(Object.assign({},U.main),fe.main)),this._addOffset(Object.assign(Object.assign({},U.fallback),fe.fallback))])}_addOffset(Z){return Z}_getOrigin(){const Z=!this._dir||"ltr"==this._dir.value,V=this.position;let U;"above"==V||"below"==V?U={originX:"center",originY:"above"==V?"top":"bottom"}:"before"==V||"left"==V&&Z||"right"==V&&!Z?U={originX:"start",originY:"center"}:("after"==V||"right"==V&&Z||"left"==V&&!Z)&&(U={originX:"end",originY:"center"});const{x:fe,y:pe}=this._invertPosition(U.originX,U.originY);return{main:U,fallback:{originX:fe,originY:pe}}}_getOverlayPosition(){const Z=!this._dir||"ltr"==this._dir.value,V=this.position;let U;"above"==V?U={overlayX:"center",overlayY:"bottom"}:"below"==V?U={overlayX:"center",overlayY:"top"}:"before"==V||"left"==V&&Z||"right"==V&&!Z?U={overlayX:"end",overlayY:"center"}:("after"==V||"right"==V&&Z||"left"==V&&!Z)&&(U={overlayX:"start",overlayY:"center"});const{x:fe,y:pe}=this._invertPosition(U.overlayX,U.overlayY);return{main:U,fallback:{overlayX:fe,overlayY:pe}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,B.q)(1),(0,A.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(Z){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Z,this._tooltipInstance._markForCheck())}_invertPosition(Z,V){return"above"===this.position||"below"===this.position?"top"===V?V="bottom":"bottom"===V&&(V="top"):"end"===Z?Z="start":"start"===Z&&(Z="end"),{x:Z,y:V}}_updateCurrentPositionClass(Z){const{overlayY:V,originX:U,originY:fe}=Z;let pe;if(pe="center"===V?this._dir&&"rtl"===this._dir.value?"end"===U?"left":"right":"start"===U?"left":"right":"bottom"===V&&"top"===fe?"above":"below",pe!==this._currentPosition){const He=this._overlayRef;if(He){const et=`${this._cssClassPrefix}-${j}-`;He.removePanelClass(et+this._currentPosition),He.addPanelClass(et+pe)}this._currentPosition=pe}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Z=[];if(this._platformSupportsMouseEvents())Z.push(["mouseleave",V=>{var U;const fe=V.relatedTarget;(!fe||!(null===(U=this._overlayRef)||void 0===U?void 0:U.overlayElement.contains(fe)))&&this.hide()}],["wheel",V=>this._wheelListener(V)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const V=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Z.push(["touchend",V],["touchcancel",V])}this._addListeners(Z),this._passiveListeners.push(...Z)}_addListeners(Z){Z.forEach(([V,U])=>{this._elementRef.nativeElement.addEventListener(V,U,z)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Z){if(this._isTooltipVisible()){const V=this._document.elementFromPoint(Z.clientX,Z.clientY),U=this._elementRef.nativeElement;V!==U&&!U.contains(V)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Z=this.touchGestures;if("off"!==Z){const V=this._elementRef.nativeElement,U=V.style;("on"===Z||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName)&&(U.userSelect=U.msUserSelect=U.webkitUserSelect=U.MozUserSelect="none"),("on"===Z||!V.draggable)&&(U.webkitUserDrag="none"),U.touchAction="none",U.webkitTapHighlightColor="transparent"}}}return it.\u0275fac=function(Z){p.$Z()},it.\u0275dir=p.lG2({type:it,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),it})(),Be=(()=>{class it extends $e{constructor(Z,V,U,fe,pe,He,et,de,lt,St,Qt,gt){super(Z,V,U,fe,pe,He,et,de,lt,St,Qt,gt),this._tooltipComponent=Ie}}return it.\u0275fac=function(Z){return new(Z||it)(p.Y36(a.aV),p.Y36(p.SBq),p.Y36(f.mF),p.Y36(p.s_b),p.Y36(p.R0b),p.Y36(I.t4),p.Y36(i.$s),p.Y36(i.tE),p.Y36($),p.Y36(R.Is,8),p.Y36(ge,8),p.Y36(d.K0))},it.\u0275dir=p.lG2({type:it,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[p.qOj]}),it})(),Ee=(()=>{class it{constructor(Z,V){this._changeDetectorRef=Z,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new D.xQ,this._animationsDisabled="NoopAnimations"===V}show(Z){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Z)}hide(Z){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Z)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:Z}){(!Z||!this._triggerElement.contains(Z))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:Z}){(Z===this._showAnimation||Z===this._hideAnimation)&&this._finalizeAnimation(Z===this._showAnimation)}_finalizeAnimation(Z){Z?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Z){const V=this._tooltip.nativeElement,U=this._showAnimation,fe=this._hideAnimation;if(V.classList.remove(Z?fe:U),V.classList.add(Z?U:fe),this._isVisible=Z,Z&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const pe=getComputedStyle(V);("0s"===pe.getPropertyValue("animation-duration")||"none"===pe.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Z&&this._onShow(),this._animationsDisabled&&(V.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Z))}}return it.\u0275fac=function(Z){return new(Z||it)(p.Y36(p.sBO),p.Y36(M.Qb,8))},it.\u0275dir=p.lG2({type:it}),it})(),Ie=(()=>{class it extends Ee{constructor(Z,V,U){super(Z,U),this._breakpointObserver=V,this._isHandset=this._breakpointObserver.observe(m.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return it.\u0275fac=function(Z){return new(Z||it)(p.Y36(p.sBO),p.Y36(m.Yg),p.Y36(M.Qb,8))},it.\u0275cmp=p.Xpm({type:it,selectors:[["mat-tooltip-component"]],viewQuery:function(Z,V){if(1&Z&&p.Gf(w,7),2&Z){let U;p.iGM(U=p.CRH())&&(V._tooltip=U.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Z,V){1&Z&&p.NdJ("mouseleave",function(fe){return V._handleMouseLeave(fe)}),2&Z&&p.Udp("zoom",V.isVisible()?1:null)},features:[p.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(Z,V){if(1&Z&&(p.TgZ(0,"div",0,1),p.NdJ("animationend",function(fe){return V._handleAnimationEnd(fe)}),p.ALo(2,"async"),p._uU(3),p.qZA()),2&Z){let U;p.ekj("mat-tooltip-handset",null==(U=p.lcZ(2,4,V._isHandset))?null:U.matches),p.Q6J("ngClass",V.tooltipClass),p.xp6(3),p.Oqu(V.message)}},directives:[d.mk],pipes:[d.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),it})(),Re=(()=>{class it{}return it.\u0275fac=function(Z){return new(Z||it)},it.\u0275mod=p.oAB({type:it}),it.\u0275inj=p.cJS({providers:[ae],imports:[[i.rt,d.ez,a.U8,C.BQ],C.BQ,f.ZD]}),it})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,76360:(ze,G,l)=>{"use strict";l.d(G,{Qb:()=>El,PW:()=>es});var a=l(5e3),i=l(22313),d=l(41777);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const p=!1;function f(ft){return new a.vHH(3e3,p)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function pe(){return"undefined"!=typeof window&&void 0!==window.document}function He(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function et(ft){switch(ft.length){case 0:return new d.ZN;case 1:return ft[0];default:return new d.ZE(ft)}}function de(ft,Q,K,ke,Dt={},zt={}){const on=[],an=[];let Cn=-1,Fn=null;if(ke.forEach(di=>{const Si=di.offset,Ui=Si==Cn,Qi=Ui&&Fn||{};Object.keys(di).forEach(xi=>{let zi=xi,Cr=di[xi];if("offset"!==xi)switch(zi=Q.normalizePropertyName(zi,on),Cr){case d.k1:Cr=Dt[xi];break;case d.l3:Cr=zt[xi];break;default:Cr=Q.normalizeStyleValue(xi,zi,Cr,on)}Qi[zi]=Cr}),Ui||an.push(Qi),Fn=Qi,Cn=Si}),on.length)throw function $e(ft){return new a.vHH(3502,p)}();return an}function lt(ft,Q,K,ke){switch(Q){case"start":ft.onStart(()=>ke(K&&St(K,"start",ft)));break;case"done":ft.onDone(()=>ke(K&&St(K,"done",ft)));break;case"destroy":ft.onDestroy(()=>ke(K&&St(K,"destroy",ft)))}}function St(ft,Q,K){const ke=K.totalTime,zt=Qt(ft.element,ft.triggerName,ft.fromState,ft.toState,Q||ft.phaseName,null==ke?ft.totalTime:ke,!!K.disabled),on=ft._data;return null!=on&&(zt._data=on),zt}function Qt(ft,Q,K,ke,Dt="",zt=0,on){return{element:ft,triggerName:Q,fromState:K,toState:ke,phaseName:Dt,totalTime:zt,disabled:!!on}}function gt(ft,Q,K){let ke;return ft instanceof Map?(ke=ft.get(Q),ke||ft.set(Q,ke=K)):(ke=ft[Q],ke||(ke=ft[Q]=K)),ke}function yt(ft){const Q=ft.indexOf(":");return[ft.substring(1,Q),ft.substr(Q+1)]}let Je=(ft,Q)=>!1,ct=(ft,Q,K)=>[],Xe=null;function X(ft){const Q=ft.parentNode||ft.host;return Q===Xe?null:Q}(He()||"undefined"!=typeof Element)&&(pe()?(Xe=(()=>document.documentElement)(),Je=(ft,Q)=>{for(;Q;){if(Q===ft)return!0;Q=X(Q)}return!1}):Je=(ft,Q)=>ft.contains(Q),ct=(ft,Q,K)=>{if(K)return Array.from(ft.querySelectorAll(Q));const ke=ft.querySelector(Q);return ke?[ke]:[]});let N=null,F=!1;function Y(ft){N||(N=function re(){return"undefined"!=typeof document?document.body:null}()||{},F=!!N.style&&"WebkitAppearance"in N.style);let Q=!0;return N.style&&!function he(ft){return"ebkit"==ft.substring(1,6)}(ft)&&(Q=ft in N.style,!Q&&F&&(Q="Webkit"+ft.charAt(0).toUpperCase()+ft.substr(1)in N.style)),Q}const Oe=Je,Ye=ct;
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
let Vt=(()=>{class ft{validateStyleProperty(K){return Y(K)}matchesElement(K,ke){return!1}containsElement(K,ke){return Oe(K,ke)}getParentElement(K){return X(K)}query(K,ke,Dt){return Ye(K,ke,Dt)}computeStyle(K,ke,Dt){return Dt||""}animate(K,ke,Dt,zt,on,an=[],Cn){return new d.ZN(Dt,zt)}}return ft.\u0275fac=function(K){return new(K||ft)},ft.\u0275prov=a.Yz7({token:ft,factory:ft.\u0275fac}),ft})(),Jt=(()=>{class ft{}
/**
         * @license
         * Copyright Google LLC All Rights Reserved.
         *
         * Use of this source code is governed by an MIT-style license that can be
         * found in the LICENSE file at https://angular.io/license
         */
return ft.NOOP=new Vt,ft})();const An="ng-enter",Nn="ng-leave",In="ng-trigger",wn=".ng-trigger",Wn="ng-animating",Bn=".ng-animating";function Xt(ft){if("number"==typeof ft)return ft;const Q=ft.match(/^(-?[\.\d]+)(m?s)/);return!Q||Q.length<2?0:Pt(parseFloat(Q[1]),Q[2])}function Pt(ft,Q){return"s"===Q?1e3*ft:ft}function ht(ft,Q,K){return ft.hasOwnProperty("duration")?ft:function be(ft,Q,K){let Dt,zt=0,on="";if("string"==typeof ft){const an=ft.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===an)return Q.push(f()),{duration:0,delay:0,easing:""};Dt=Pt(parseFloat(an[1]),an[2]);const Cn=an[3];null!=Cn&&(zt=Pt(parseFloat(Cn),an[4]));const Fn=an[5];Fn&&(on=Fn)}else Dt=ft;if(!K){let an=!1,Cn=Q.length;Dt<0&&(Q.push(function v(){return new a.vHH(3100,p)}()),an=!0),zt<0&&(Q.push(function b(){return new a.vHH(3101,p)}()),an=!0),an&&Q.splice(Cn,0,f())}return{duration:Dt,delay:zt,easing:on}}(ft,Q,K)}function Ze(ft,Q={}){return Object.keys(ft).forEach(K=>{Q[K]=ft[K]}),Q}function st(ft,Q,K={}){if(Q)for(let ke in ft)K[ke]=ft[ke];else Ze(ft,K);return K}function Ut(ft,Q,K){return K?Q+":"+K+";":""}function Ht(ft){let Q="";for(let K=0;K<ft.style.length;K++){const ke=ft.style.item(K);Q+=Ut(0,ke,ft.style.getPropertyValue(ke))}for(const K in ft.style)ft.style.hasOwnProperty(K)&&!K.startsWith("_")&&(Q+=Ut(0,zn(K),ft.style[K]));ft.setAttribute("style",Q)}function dn(ft,Q,K){ft.style&&(Object.keys(Q).forEach(ke=>{const Dt=Ln(ke);K&&!K.hasOwnProperty(ke)&&(K[ke]=ft.style[Dt]),ft.style[Dt]=Q[ke]}),He()&&Ht(ft))}function jt(ft,Q){ft.style&&(Object.keys(Q).forEach(K=>{const ke=Ln(K);ft.style[ke]=""}),He()&&Ht(ft))}function ce(ft){return Array.isArray(ft)?1==ft.length?ft[0]:(0,d.vP)(ft):ft}const Qe=new RegExp("{{\\s*(.+?)\\s*}}","g");function rt(ft){let Q=[];if("string"==typeof ft){let K;for(;K=Qe.exec(ft);)Q.push(K[1]);Qe.lastIndex=0}return Q}function Nt(ft,Q,K){const ke=ft.toString(),Dt=ke.replace(Qe,(zt,on)=>{let an=Q[on];return Q.hasOwnProperty(on)||(K.push(function I(ft){return new a.vHH(3003,p)}()),an=""),an.toString()});return Dt==ke?ft:Dt}function sn(ft){const Q=[];let K=ft.next();for(;!K.done;)Q.push(K.value),K=ft.next();return Q}const On=/-+([a-z0-9])/g;function Ln(ft){return ft.replace(On,(...Q)=>Q[1].toUpperCase())}function zn(ft){return ft.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gi(ft,Q,K){switch(Q.type){case 7:return ft.visitTrigger(Q,K);case 0:return ft.visitState(Q,K);case 1:return ft.visitTransition(Q,K);case 2:return ft.visitSequence(Q,K);case 3:return ft.visitGroup(Q,K);case 4:return ft.visitAnimate(Q,K);case 5:return ft.visitKeyframes(Q,K);case 6:return ft.visitStyle(Q,K);case 8:return ft.visitReference(Q,K);case 9:return ft.visitAnimateChild(Q,K);case 10:return ft.visitAnimateRef(Q,K);case 11:return ft.visitQuery(Q,K);case 12:return ft.visitStagger(Q,K);default:throw function L(ft){return new a.vHH(3004,p)}()}}function ki(ft,Q){return window.getComputedStyle(ft)[Q]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Li(ft,Q){const K=[];return"string"==typeof ft?ft.split(/\s*,\s*/).forEach(ke=>function cn(ft,Q,K){if(":"==ft[0]){const Cn=function qn(ft,Q){switch(ft){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(K,ke)=>parseFloat(ke)>parseFloat(K);case":decrement":return(K,ke)=>parseFloat(ke)<parseFloat(K);default:return Q.push(function y(ft){return new a.vHH(3016,p)}()),"* => *"}}(ft,K);if("function"==typeof Cn)return void Q.push(Cn);ft=Cn}const ke=ft.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==ke||ke.length<4)return K.push(function $(ft){return new a.vHH(3015,p)}()),Q;const Dt=ke[1],zt=ke[2],on=ke[3];Q.push(oi(Dt,on));"<"==zt[0]&&!("*"==Dt&&"*"==on)&&Q.push(oi(on,Dt))}(ke,K,Q)):K.push(ft),K}const Qn=new Set(["true","1"]),fi=new Set(["false","0"]);function oi(ft,Q){const K=Qn.has(ft)||fi.has(ft),ke=Qn.has(Q)||fi.has(Q);return(Dt,zt)=>{let on="*"==ft||ft==Dt,an="*"==Q||Q==zt;return!on&&K&&"boolean"==typeof Dt&&(on=Dt?Qn.has(ft):fi.has(ft)),!an&&ke&&"boolean"==typeof zt&&(an=zt?Qn.has(Q):fi.has(Q)),on&&an}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Bi=new RegExp("s*:selfs*,?","g");function ir(ft,Q,K,ke){return new Ti(ft).build(Q,K,ke)}class Ti{constructor(Q){this._driver=Q}build(Q,K,ke){const Dt=new Ct(K);this._resetContextStyleTimingState(Dt);const zt=gi(this,ce(Q),Dt);return Dt.unsupportedCSSPropertiesFound.size&&Dt.unsupportedCSSPropertiesFound.keys(),zt}_resetContextStyleTimingState(Q){Q.currentQuerySelector="",Q.collectedStyles={},Q.collectedStyles[""]={},Q.currentTime=0}visitTrigger(Q,K){let ke=K.queryCount=0,Dt=K.depCount=0;const zt=[],on=[];return"@"==Q.name.charAt(0)&&K.errors.push(function D(){return new a.vHH(3006,p)}()),Q.definitions.forEach(an=>{if(this._resetContextStyleTimingState(K),0==an.type){const Cn=an,Fn=Cn.name;Fn.toString().split(/\s*,\s*/).forEach(di=>{Cn.name=di,zt.push(this.visitState(Cn,K))}),Cn.name=Fn}else if(1==an.type){const Cn=this.visitTransition(an,K);ke+=Cn.queryCount,Dt+=Cn.depCount,on.push(Cn)}else K.errors.push(function A(){return new a.vHH(3007,p)}())}),{type:7,name:Q.name,states:zt,transitions:on,queryCount:ke,depCount:Dt,options:null}}visitState(Q,K){const ke=this.visitStyle(Q.styles,K),Dt=Q.options&&Q.options.params||null;if(ke.containsDynamicStyles){const zt=new Set,on=Dt||{};ke.styles.forEach(an=>{if(Ke(an)){const Cn=an;Object.keys(Cn).forEach(Fn=>{rt(Cn[Fn]).forEach(di=>{on.hasOwnProperty(di)||zt.add(di)})})}}),zt.size&&(sn(zt.values()),K.errors.push(function B(ft,Q){return new a.vHH(3008,p)}()))}return{type:0,name:Q.name,style:ke,options:Dt?{params:Dt}:null}}visitTransition(Q,K){K.queryCount=0,K.depCount=0;const ke=gi(this,ce(Q.animation),K);return{type:1,matchers:Li(Q.expr,K.errors),animation:ke,queryCount:K.queryCount,depCount:K.depCount,options:ut(Q.options)}}visitSequence(Q,K){return{type:2,steps:Q.steps.map(ke=>gi(this,ke,K)),options:ut(Q.options)}}visitGroup(Q,K){const ke=K.currentTime;let Dt=0;const zt=Q.steps.map(on=>{K.currentTime=ke;const an=gi(this,on,K);return Dt=Math.max(Dt,K.currentTime),an});return K.currentTime=Dt,{type:3,steps:zt,options:ut(Q.options)}}visitAnimate(Q,K){const ke=function Lt(ft,Q){if(ft.hasOwnProperty("duration"))return ft;if("number"==typeof ft)return Un(ht(ft,Q).duration,0,"");const K=ft;if(K.split(/\s+/).some(zt=>"{"==zt.charAt(0)&&"{"==zt.charAt(1))){const zt=Un(0,0,"");return zt.dynamic=!0,zt.strValue=K,zt}const Dt=ht(K,Q);return Un(Dt.duration,Dt.delay,Dt.easing)}(Q.timings,K.errors);K.currentAnimateTimings=ke;let Dt,zt=Q.styles?Q.styles:(0,d.oB)({});if(5==zt.type)Dt=this.visitKeyframes(zt,K);else{let on=Q.styles,an=!1;if(!on){an=!0;const Fn={};ke.easing&&(Fn.easing=ke.easing),on=(0,d.oB)(Fn)}K.currentTime+=ke.duration+ke.delay;const Cn=this.visitStyle(on,K);Cn.isEmptyStep=an,Dt=Cn}return K.currentAnimateTimings=null,{type:4,timings:ke,style:Dt,options:null}}visitStyle(Q,K){const ke=this._makeStyleAst(Q,K);return this._validateStyleAst(ke,K),ke}_makeStyleAst(Q,K){const ke=[];Array.isArray(Q.styles)?Q.styles.forEach(on=>{"string"==typeof on?on==d.l3?ke.push(on):K.errors.push(function R(ft){return new a.vHH(3002,p)}()):ke.push(on)}):ke.push(Q.styles);let Dt=!1,zt=null;return ke.forEach(on=>{if(Ke(on)){const an=on,Cn=an.easing;if(Cn&&(zt=Cn,delete an.easing),!Dt)for(let Fn in an)if(an[Fn].toString().indexOf("{{")>=0){Dt=!0;break}}}),{type:6,styles:ke,easing:zt,offset:Q.offset,containsDynamicStyles:Dt,options:null}}_validateStyleAst(Q,K){const ke=K.currentAnimateTimings;let Dt=K.currentTime,zt=K.currentTime;ke&&zt>0&&(zt-=ke.duration+ke.delay),Q.styles.forEach(on=>{"string"!=typeof on&&Object.keys(on).forEach(an=>{if(!this._driver.validateStyleProperty(an))return delete on[an],void K.unsupportedCSSPropertiesFound.add(an);const Cn=K.collectedStyles[K.currentQuerySelector],Fn=Cn[an];let di=!0;Fn&&(zt!=Dt&&zt>=Fn.startTime&&Dt<=Fn.endTime&&(K.errors.push(function w(ft,Q,K,ke,Dt){return new a.vHH(3010,p)}()),di=!1),zt=Fn.startTime),di&&(Cn[an]={startTime:zt,endTime:Dt}),K.options&&function Ce(ft,Q,K){const ke=Q.params||{},Dt=rt(ft);Dt.length&&Dt.forEach(zt=>{ke.hasOwnProperty(zt)||K.push(function m(ft){return new a.vHH(3001,p)}())})}(on[an],K.options,K.errors)})})}visitKeyframes(Q,K){const ke={type:5,styles:[],options:null};if(!K.currentAnimateTimings)return K.errors.push(function k(){return new a.vHH(3011,p)}()),ke;let zt=0;const on=[];let an=!1,Cn=!1,Fn=0;const di=Q.steps.map(Br=>{const Or=this._makeStyleAst(Br,K);let $r=null!=Or.offset?Or.offset:function Et(ft){if("string"==typeof ft)return null;let Q=null;if(Array.isArray(ft))ft.forEach(K=>{if(Ke(K)&&K.hasOwnProperty("offset")){const ke=K;Q=parseFloat(ke.offset),delete ke.offset}});else if(Ke(ft)&&ft.hasOwnProperty("offset")){const K=ft;Q=parseFloat(K.offset),delete K.offset}return Q}(Or.styles),rs=0;return null!=$r&&(zt++,rs=Or.offset=$r),Cn=Cn||rs<0||rs>1,an=an||rs<Fn,Fn=rs,on.push(rs),Or});Cn&&K.errors.push(function H(){return new a.vHH(3012,p)}()),an&&K.errors.push(function j(){return new a.vHH(3200,p)}());const Si=Q.steps.length;let Ui=0;zt>0&&zt<Si?K.errors.push(function z(){return new a.vHH(3202,p)}()):0==zt&&(Ui=1/(Si-1));const Qi=Si-1,xi=K.currentTime,zi=K.currentAnimateTimings,Cr=zi.duration;return di.forEach((Br,Or)=>{const $r=Ui>0?Or==Qi?1:Ui*Or:on[Or],rs=$r*Cr;K.currentTime=xi+zi.delay+rs,zi.duration=rs,this._validateStyleAst(Br,K),Br.offset=$r,ke.styles.push(Br)}),ke}visitReference(Q,K){return{type:8,animation:gi(this,ce(Q.animation),K),options:ut(Q.options)}}visitAnimateChild(Q,K){return K.depCount++,{type:9,options:ut(Q.options)}}visitAnimateRef(Q,K){return{type:10,animation:this.visitReference(Q.animation,K),options:ut(Q.options)}}visitQuery(Q,K){const ke=K.currentQuerySelector,Dt=Q.options||{};K.queryCount++,K.currentQuery=Q;const[zt,on]=function nn(ft){const Q=!!ft.split(/\s*,\s*/).find(K=>":self"==K);return Q&&(ft=ft.replace(Bi,"")),ft=ft.replace(/@\*/g,wn).replace(/@\w+/g,K=>wn+"-"+K.substr(1)).replace(/:animating/g,Bn),[ft,Q]}(Q.selector);K.currentQuerySelector=ke.length?ke+" "+zt:zt,gt(K.collectedStyles,K.currentQuerySelector,{});const an=gi(this,ce(Q.animation),K);return K.currentQuery=null,K.currentQuerySelector=ke,{type:11,selector:zt,limit:Dt.limit||0,optional:!!Dt.optional,includeSelf:on,animation:an,originalSelector:Q.selector,options:ut(Q.options)}}visitStagger(Q,K){K.currentQuery||K.errors.push(function le(){return new a.vHH(3013,p)}());const ke="full"===Q.timings?{duration:0,delay:0,easing:"full"}:ht(Q.timings,K.errors,!0);return{type:12,animation:gi(this,ce(Q.animation),K),timings:ke,options:null}}}class Ct{constructor(Q){this.errors=Q,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ke(ft){return!Array.isArray(ft)&&"object"==typeof ft}function ut(ft){return ft?(ft=Ze(ft)).params&&(ft.params=function Zt(ft){return ft?Ze(ft):null}(ft.params)):ft={},ft}function Un(ft,Q,K){return{duration:ft,delay:Q,easing:K}}function Ft(ft,Q,K,ke,Dt,zt,on=null,an=!1){return{type:1,element:ft,keyframes:Q,preStyleProps:K,postStyleProps:ke,duration:Dt,delay:zt,totalTime:Dt+zt,easing:on,subTimeline:an}}class En{constructor(){this._map=new Map}get(Q){return this._map.get(Q)||[]}append(Q,K){let ke=this._map.get(Q);ke||this._map.set(Q,ke=[]),ke.push(...K)}has(Q){return this._map.has(Q)}clear(){this._map.clear()}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const vn=new RegExp(":enter","g"),ve=new RegExp(":leave","g");function at(ft,Q,K,ke,Dt,zt={},on={},an,Cn,Fn=[]){return(new Rt).buildKeyframes(ft,Q,K,ke,Dt,zt,on,an,Cn,Fn)}class Rt{buildKeyframes(Q,K,ke,Dt,zt,on,an,Cn,Fn,di=[]){Fn=Fn||new En;const Si=new Fe(Q,K,Fn,Dt,zt,di,[]);Si.options=Cn,Si.currentTimeline.setStyles([on],null,Si.errors,Cn),gi(this,ke,Si);const Ui=Si.timelines.filter(Qi=>Qi.containsAnimation());if(Object.keys(an).length){let Qi;for(let xi=Ui.length-1;xi>=0;xi--){const zi=Ui[xi];if(zi.element===K){Qi=zi;break}}Qi&&!Qi.allowOnlyTimelineStyles()&&Qi.setStyles([an],null,Si.errors,Cn)}return Ui.length?Ui.map(Qi=>Qi.buildKeyframes()):[Ft(K,[],[],[],0,0,"",!1)]}visitTrigger(Q,K){}visitState(Q,K){}visitTransition(Q,K){}visitAnimateChild(Q,K){const ke=K.subInstructions.get(K.element);if(ke){const Dt=K.createSubContext(Q.options),zt=K.currentTimeline.currentTime,on=this._visitSubInstructions(ke,Dt,Dt.options);zt!=on&&K.transformIntoNewTimeline(on)}K.previousNode=Q}visitAnimateRef(Q,K){const ke=K.createSubContext(Q.options);ke.transformIntoNewTimeline(),this.visitReference(Q.animation,ke),K.transformIntoNewTimeline(ke.currentTimeline.currentTime),K.previousNode=Q}_visitSubInstructions(Q,K,ke){let zt=K.currentTimeline.currentTime;const on=null!=ke.duration?Xt(ke.duration):null,an=null!=ke.delay?Xt(ke.delay):null;return 0!==on&&Q.forEach(Cn=>{const Fn=K.appendInstructionToTimeline(Cn,on,an);zt=Math.max(zt,Fn.duration+Fn.delay)}),zt}visitReference(Q,K){K.updateOptions(Q.options,!0),gi(this,Q.animation,K),K.previousNode=Q}visitSequence(Q,K){const ke=K.subContextCount;let Dt=K;const zt=Q.options;if(zt&&(zt.params||zt.delay)&&(Dt=K.createSubContext(zt),Dt.transformIntoNewTimeline(),null!=zt.delay)){6==Dt.previousNode.type&&(Dt.currentTimeline.snapshotCurrentStyles(),Dt.previousNode=bn);const on=Xt(zt.delay);Dt.delayNextStep(on)}Q.steps.length&&(Q.steps.forEach(on=>gi(this,on,Dt)),Dt.currentTimeline.applyStylesToKeyframe(),Dt.subContextCount>ke&&Dt.transformIntoNewTimeline()),K.previousNode=Q}visitGroup(Q,K){const ke=[];let Dt=K.currentTimeline.currentTime;const zt=Q.options&&Q.options.delay?Xt(Q.options.delay):0;Q.steps.forEach(on=>{const an=K.createSubContext(Q.options);zt&&an.delayNextStep(zt),gi(this,on,an),Dt=Math.max(Dt,an.currentTimeline.currentTime),ke.push(an.currentTimeline)}),ke.forEach(on=>K.currentTimeline.mergeTimelineCollectedStyles(on)),K.transformIntoNewTimeline(Dt),K.previousNode=Q}_visitTiming(Q,K){if(Q.dynamic){const ke=Q.strValue;return ht(K.params?Nt(ke,K.params,K.errors):ke,K.errors)}return{duration:Q.duration,delay:Q.delay,easing:Q.easing}}visitAnimate(Q,K){const ke=K.currentAnimateTimings=this._visitTiming(Q.timings,K),Dt=K.currentTimeline;ke.delay&&(K.incrementTime(ke.delay),Dt.snapshotCurrentStyles());const zt=Q.style;5==zt.type?this.visitKeyframes(zt,K):(K.incrementTime(ke.duration),this.visitStyle(zt,K),Dt.applyStylesToKeyframe()),K.currentAnimateTimings=null,K.previousNode=Q}visitStyle(Q,K){const ke=K.currentTimeline,Dt=K.currentAnimateTimings;!Dt&&ke.getCurrentStyleProperties().length&&ke.forwardFrame();const zt=Dt&&Dt.easing||Q.easing;Q.isEmptyStep?ke.applyEmptyStep(zt):ke.setStyles(Q.styles,zt,K.errors,K.options),K.previousNode=Q}visitKeyframes(Q,K){const ke=K.currentAnimateTimings,Dt=K.currentTimeline.duration,zt=ke.duration,an=K.createSubContext().currentTimeline;an.easing=ke.easing,Q.styles.forEach(Cn=>{an.forwardTime((Cn.offset||0)*zt),an.setStyles(Cn.styles,Cn.easing,K.errors,K.options),an.applyStylesToKeyframe()}),K.currentTimeline.mergeTimelineCollectedStyles(an),K.transformIntoNewTimeline(Dt+zt),K.previousNode=Q}visitQuery(Q,K){const ke=K.currentTimeline.currentTime,Dt=Q.options||{},zt=Dt.delay?Xt(Dt.delay):0;zt&&(6===K.previousNode.type||0==ke&&K.currentTimeline.getCurrentStyleProperties().length)&&(K.currentTimeline.snapshotCurrentStyles(),K.previousNode=bn);let on=ke;const an=K.invokeQuery(Q.selector,Q.originalSelector,Q.limit,Q.includeSelf,!!Dt.optional,K.errors);K.currentQueryTotal=an.length;let Cn=null;an.forEach((Fn,di)=>{K.currentQueryIndex=di;const Si=K.createSubContext(Q.options,Fn);zt&&Si.delayNextStep(zt),Fn===K.element&&(Cn=Si.currentTimeline),gi(this,Q.animation,Si),Si.currentTimeline.applyStylesToKeyframe(),on=Math.max(on,Si.currentTimeline.currentTime)}),K.currentQueryIndex=0,K.currentQueryTotal=0,K.transformIntoNewTimeline(on),Cn&&(K.currentTimeline.mergeTimelineCollectedStyles(Cn),K.currentTimeline.snapshotCurrentStyles()),K.previousNode=Q}visitStagger(Q,K){const ke=K.parentContext,Dt=K.currentTimeline,zt=Q.timings,on=Math.abs(zt.duration),an=on*(K.currentQueryTotal-1);let Cn=on*K.currentQueryIndex;switch(zt.duration<0?"reverse":zt.easing){case"reverse":Cn=an-Cn;break;case"full":Cn=ke.currentStaggerTime}const di=K.currentTimeline;Cn&&di.delayNextStep(Cn);const Si=di.currentTime;gi(this,Q.animation,K),K.previousNode=Q,ke.currentStaggerTime=Dt.currentTime-Si+(Dt.startTime-ke.currentTimeline.startTime)}}const bn={};class Fe{constructor(Q,K,ke,Dt,zt,on,an,Cn){this._driver=Q,this.element=K,this.subInstructions=ke,this._enterClassName=Dt,this._leaveClassName=zt,this.errors=on,this.timelines=an,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Cn||new ne(this._driver,K,0),an.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(Q,K){if(!Q)return;const ke=Q;let Dt=this.options;null!=ke.duration&&(Dt.duration=Xt(ke.duration)),null!=ke.delay&&(Dt.delay=Xt(ke.delay));const zt=ke.params;if(zt){let on=Dt.params;on||(on=this.options.params={}),Object.keys(zt).forEach(an=>{(!K||!on.hasOwnProperty(an))&&(on[an]=Nt(zt[an],on,this.errors))})}}_copyOptions(){const Q={};if(this.options){const K=this.options.params;if(K){const ke=Q.params={};Object.keys(K).forEach(Dt=>{ke[Dt]=K[Dt]})}}return Q}createSubContext(Q=null,K,ke){const Dt=K||this.element,zt=new Fe(this._driver,Dt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Dt,ke||0));return zt.previousNode=this.previousNode,zt.currentAnimateTimings=this.currentAnimateTimings,zt.options=this._copyOptions(),zt.updateOptions(Q),zt.currentQueryIndex=this.currentQueryIndex,zt.currentQueryTotal=this.currentQueryTotal,zt.parentContext=this,this.subContextCount++,zt}transformIntoNewTimeline(Q){return this.previousNode=bn,this.currentTimeline=this.currentTimeline.fork(this.element,Q),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(Q,K,ke){const Dt={duration:null!=K?K:Q.duration,delay:this.currentTimeline.currentTime+(null!=ke?ke:0)+Q.delay,easing:""},zt=new Me(this._driver,Q.element,Q.keyframes,Q.preStyleProps,Q.postStyleProps,Dt,Q.stretchStartingKeyframe);return this.timelines.push(zt),Dt}incrementTime(Q){this.currentTimeline.forwardTime(this.currentTimeline.duration+Q)}delayNextStep(Q){Q>0&&this.currentTimeline.delayNextStep(Q)}invokeQuery(Q,K,ke,Dt,zt,on){let an=[];if(Dt&&an.push(this.element),Q.length>0){Q=(Q=Q.replace(vn,"."+this._enterClassName)).replace(ve,"."+this._leaveClassName);let Fn=this._driver.query(this.element,Q,1!=ke);0!==ke&&(Fn=ke<0?Fn.slice(Fn.length+ke,Fn.length):Fn.slice(0,ke)),an.push(...Fn)}return!zt&&0==an.length&&on.push(function oe(ft){return new a.vHH(3014,p)}()),an}}class ne{constructor(Q,K,ke,Dt){this._driver=Q,this.element=K,this.startTime=ke,this._elementTimelineStylesLookup=Dt,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(K),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(K,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(Q){const K=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||K?(this.forwardTime(this.currentTime+Q),K&&this.snapshotCurrentStyles()):this.startTime+=Q}fork(Q,K){return this.applyStylesToKeyframe(),new ne(this._driver,Q,K||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(Q){this.applyStylesToKeyframe(),this.duration=Q,this._loadKeyframe()}_updateStyle(Q,K){this._localTimelineStyles[Q]=K,this._globalTimelineStyles[Q]=K,this._styleSummary[Q]={time:this.currentTime,value:K}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(Q){Q&&(this._previousKeyframe.easing=Q),Object.keys(this._globalTimelineStyles).forEach(K=>{this._backFill[K]=this._globalTimelineStyles[K]||d.l3,this._currentKeyframe[K]=d.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(Q,K,ke,Dt){K&&(this._previousKeyframe.easing=K);const zt=Dt&&Dt.params||{},on=function Tt(ft,Q){const K={};let ke;return ft.forEach(Dt=>{"*"===Dt?(ke=ke||Object.keys(Q),ke.forEach(zt=>{K[zt]=d.l3})):st(Dt,!1,K)}),K}(Q,this._globalTimelineStyles);Object.keys(on).forEach(an=>{const Cn=Nt(on[an],zt,ke);this._pendingStyles[an]=Cn,this._localTimelineStyles.hasOwnProperty(an)||(this._backFill[an]=this._globalTimelineStyles.hasOwnProperty(an)?this._globalTimelineStyles[an]:d.l3),this._updateStyle(an,Cn)})}applyStylesToKeyframe(){const Q=this._pendingStyles,K=Object.keys(Q);0!=K.length&&(this._pendingStyles={},K.forEach(ke=>{this._currentKeyframe[ke]=Q[ke]}),Object.keys(this._localTimelineStyles).forEach(ke=>{this._currentKeyframe.hasOwnProperty(ke)||(this._currentKeyframe[ke]=this._localTimelineStyles[ke])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(Q=>{const K=this._localTimelineStyles[Q];this._pendingStyles[Q]=K,this._updateStyle(Q,K)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const Q=[];for(let K in this._currentKeyframe)Q.push(K);return Q}mergeTimelineCollectedStyles(Q){Object.keys(Q._styleSummary).forEach(K=>{const ke=this._styleSummary[K],Dt=Q._styleSummary[K];(!ke||Dt.time>ke.time)&&this._updateStyle(K,Dt.value)})}buildKeyframes(){this.applyStylesToKeyframe();const Q=new Set,K=new Set,ke=1===this._keyframes.size&&0===this.duration;let Dt=[];this._keyframes.forEach((an,Cn)=>{const Fn=st(an,!0);Object.keys(Fn).forEach(di=>{const Si=Fn[di];Si==d.k1?Q.add(di):Si==d.l3&&K.add(di)}),ke||(Fn.offset=Cn/this.duration),Dt.push(Fn)});const zt=Q.size?sn(Q.values()):[],on=K.size?sn(K.values()):[];if(ke){const an=Dt[0],Cn=Ze(an);an.offset=0,Cn.offset=1,Dt=[an,Cn]}return Ft(this.element,Dt,zt,on,this.duration,this.startTime,this.easing,!1)}}class Me extends ne{constructor(Q,K,ke,Dt,zt,on,an=!1){super(Q,K,on.delay),this.keyframes=ke,this.preStyleProps=Dt,this.postStyleProps=zt,this._stretchStartingKeyframe=an,this.timings={duration:on.duration,delay:on.delay,easing:on.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let Q=this.keyframes,{delay:K,duration:ke,easing:Dt}=this.timings;if(this._stretchStartingKeyframe&&K){const zt=[],on=ke+K,an=K/on,Cn=st(Q[0],!1);Cn.offset=0,zt.push(Cn);const Fn=st(Q[0],!1);Fn.offset=We(an),zt.push(Fn);const di=Q.length-1;for(let Si=1;Si<=di;Si++){let Ui=st(Q[Si],!1);Ui.offset=We((K+Ui.offset*ke)/on),zt.push(Ui)}ke=on,K=0,Dt="",Q=zt}return Ft(this.element,Q,this.preStyleProps,this.postStyleProps,ke,K,Dt,!0)}}function We(ft,Q=3){const K=Math.pow(10,Q-1);return Math.round(ft*K)/K}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class _e{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class E extends _e{normalizePropertyName(Q,K){return Ln(Q)}normalizeStyleValue(Q,K,ke,Dt){let zt="";const on=ke.toString().trim();if(te[K]&&0!==ke&&"0"!==ke)if("number"==typeof ke)zt="px";else{const an=ke.match(/^[+-]?[\d\.]+([a-z]*)$/);an&&0==an[1].length&&Dt.push(function M(ft,Q){return new a.vHH(3005,p)}())}return on+zt}}const te=(()=>function O(ft){const Q={};return ft.forEach(K=>Q[K]=!0),Q}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function T(ft,Q,K,ke,Dt,zt,on,an,Cn,Fn,di,Si,Ui){return{type:0,element:ft,triggerName:Q,isRemovalTransition:Dt,fromState:K,fromStyles:zt,toState:ke,toStyles:on,timelines:an,queriedElements:Cn,preStyleProps:Fn,postStyleProps:di,totalTime:Si,errors:Ui}}const J={};class me{constructor(Q,K,ke){this._triggerName=Q,this.ast=K,this._stateStyles=ke}match(Q,K,ke,Dt){return function pt(ft,Q,K,ke,Dt){return ft.some(zt=>zt(Q,K,ke,Dt))}(this.ast.matchers,Q,K,ke,Dt)}buildStyles(Q,K,ke){const Dt=this._stateStyles["*"],zt=this._stateStyles[Q],on=Dt?Dt.buildStyles(K,ke):{};return zt?zt.buildStyles(K,ke):on}build(Q,K,ke,Dt,zt,on,an,Cn,Fn,di){const Si=[],Ui=this.ast.options&&this.ast.options.params||J,xi=this.buildStyles(ke,an&&an.params||J,Si),zi=Cn&&Cn.params||J,Cr=this.buildStyles(Dt,zi,Si),Br=new Set,Or=new Map,$r=new Map,rs="void"===Dt,Hr={params:Object.assign(Object.assign({},Ui),zi)},qr=di?[]:at(Q,K,this.ast.animation,zt,on,xi,Cr,Hr,Fn,Si);let Wi=0;if(qr.forEach(ro=>{Wi=Math.max(ro.duration+ro.delay,Wi)}),Si.length)return T(K,this._triggerName,ke,Dt,rs,xi,Cr,[],[],Or,$r,Wi,Si);qr.forEach(ro=>{const Gs=ro.element,gs=gt(Or,Gs,{});ro.preStyleProps.forEach(oo=>gs[oo]=!0);const so=gt($r,Gs,{});ro.postStyleProps.forEach(oo=>so[oo]=!0),Gs!==K&&Br.add(Gs)});const ms=sn(Br.values());return T(K,this._triggerName,ke,Dt,rs,xi,Cr,qr,ms,Or,$r,Wi)}}class bt{constructor(Q,K,ke){this.styles=Q,this.defaultParams=K,this.normalizer=ke}buildStyles(Q,K){const ke={},Dt=Ze(this.defaultParams);return Object.keys(Q).forEach(zt=>{const on=Q[zt];null!=on&&(Dt[zt]=on)}),this.styles.styles.forEach(zt=>{if("string"!=typeof zt){const on=zt;Object.keys(on).forEach(an=>{let Cn=on[an];Cn.length>1&&(Cn=Nt(Cn,Dt,K));const Fn=this.normalizer.normalizePropertyName(an,K);Cn=this.normalizer.normalizeStyleValue(an,Fn,Cn,K),ke[Fn]=Cn})}}),ke}}class qt{constructor(Q,K,ke){this.name=Q,this.ast=K,this._normalizer=ke,this.transitionFactories=[],this.states={},K.states.forEach(Dt=>{this.states[Dt.name]=new bt(Dt.style,Dt.options&&Dt.options.params||{},ke)}),_n(this.states,"true","1"),_n(this.states,"false","0"),K.transitions.forEach(Dt=>{this.transitionFactories.push(new me(Q,Dt,this.states))}),this.fallbackTransition=function mn(ft,Q,K){return new me(ft,{type:1,animation:{type:2,steps:[],options:null},matchers:[(on,an)=>!0],options:null,queryCount:0,depCount:0},Q)}(Q,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(Q,K,ke,Dt){return this.transitionFactories.find(on=>on.match(Q,K,ke,Dt))||null}matchStyles(Q,K,ke){return this.fallbackTransition.buildStyles(Q,K,ke)}}function _n(ft,Q,K){ft.hasOwnProperty(Q)?ft.hasOwnProperty(K)||(ft[K]=ft[Q]):ft.hasOwnProperty(K)&&(ft[Q]=ft[K])}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Mt=new En;class pn{constructor(Q,K,ke){this.bodyNode=Q,this._driver=K,this._normalizer=ke,this._animations={},this._playersById={},this.players=[]}register(Q,K){const ke=[],zt=ir(this._driver,K,ke,[]);if(ke.length)throw function Be(ft){return new a.vHH(3503,p)}();this._animations[Q]=zt}_buildPlayer(Q,K,ke){const Dt=Q.element,zt=de(0,this._normalizer,0,Q.keyframes,K,ke);return this._driver.animate(Dt,zt,Q.duration,Q.delay,Q.easing,[],!0)}create(Q,K,ke={}){const Dt=[],zt=this._animations[Q];let on;const an=new Map;if(zt?(on=at(this._driver,K,zt,An,Nn,{},{},ke,Mt,Dt),on.forEach(di=>{const Si=gt(an,di.element,{});di.postStyleProps.forEach(Ui=>Si[Ui]=null)})):(Dt.push(function Ee(){return new a.vHH(3300,p)}()),on=[]),Dt.length)throw function Ie(ft){return new a.vHH(3504,p)}();an.forEach((di,Si)=>{Object.keys(di).forEach(Ui=>{di[Ui]=this._driver.computeStyle(Si,Ui,d.l3)})});const Fn=et(on.map(di=>{const Si=an.get(di.element);return this._buildPlayer(di,{},Si)}));return this._playersById[Q]=Fn,Fn.onDestroy(()=>this.destroy(Q)),this.players.push(Fn),Fn}destroy(Q){const K=this._getPlayer(Q);K.destroy(),delete this._playersById[Q];const ke=this.players.indexOf(K);ke>=0&&this.players.splice(ke,1)}_getPlayer(Q){const K=this._playersById[Q];if(!K)throw function Re(ft){return new a.vHH(3301,p)}();return K}listen(Q,K,ke,Dt){const zt=Qt(K,"","","");return lt(this._getPlayer(Q),ke,zt,Dt),()=>{}}command(Q,K,ke,Dt){if("register"==ke)return void this.register(Q,Dt[0]);if("create"==ke)return void this.create(Q,K,Dt[0]||{});const zt=this._getPlayer(Q);switch(ke){case"play":zt.play();break;case"pause":zt.pause();break;case"reset":zt.reset();break;case"restart":zt.restart();break;case"finish":zt.finish();break;case"init":zt.init();break;case"setPosition":zt.setPosition(parseFloat(Dt[0]));break;case"destroy":this.destroy(Q)}}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const tn="ng-animate-queued",Jn="ng-animate-disabled",Ci=[],li={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$i={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gi="__ng_removed";class cr{constructor(Q,K=""){this.namespaceId=K;const ke=Q&&Q.hasOwnProperty("value");if(this.value=function Ns(ft){return null!=ft?ft:null}(ke?Q.value:Q),ke){const zt=Ze(Q);delete zt.value,this.options=zt}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(Q){const K=Q.params;if(K){const ke=this.options.params;Object.keys(K).forEach(Dt=>{null==ke[Dt]&&(ke[Dt]=K[Dt])})}}}const ar="void",ur=new cr(ar);class Pr{constructor(Q,K,ke){this.id=Q,this.hostElement=K,this._engine=ke,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+Q,xr(K,this._hostClassName)}listen(Q,K,ke,Dt){if(!this._triggers.hasOwnProperty(K))throw function Ge(ft,Q){return new a.vHH(3302,p)}();if(null==ke||0==ke.length)throw function it(ft){return new a.vHH(3303,p)}();if(!function Lr(ft){return"start"==ft||"done"==ft}(ke))throw function Se(ft,Q){return new a.vHH(3400,p)}();const zt=gt(this._elementListeners,Q,[]),on={name:K,phase:ke,callback:Dt};zt.push(on);const an=gt(this._engine.statesByElement,Q,{});return an.hasOwnProperty(K)||(xr(Q,In),xr(Q,In+"-"+K),an[K]=ur),()=>{this._engine.afterFlush(()=>{const Cn=zt.indexOf(on);Cn>=0&&zt.splice(Cn,1),this._triggers[K]||delete an[K]})}}register(Q,K){return!this._triggers[Q]&&(this._triggers[Q]=K,!0)}_getTrigger(Q){const K=this._triggers[Q];if(!K)throw function Z(ft){return new a.vHH(3401,p)}();return K}trigger(Q,K,ke,Dt=!0){const zt=this._getTrigger(K),on=new as(this.id,K,Q);let an=this._engine.statesByElement.get(Q);an||(xr(Q,In),xr(Q,In+"-"+K),this._engine.statesByElement.set(Q,an={}));let Cn=an[K];const Fn=new cr(ke,this.id);if(!(ke&&ke.hasOwnProperty("value"))&&Cn&&Fn.absorbOptions(Cn.options),an[K]=Fn,Cn||(Cn=ur),Fn.value!==ar&&Cn.value===Fn.value){if(!function vo(ft,Q){const K=Object.keys(ft),ke=Object.keys(Q);if(K.length!=ke.length)return!1;for(let Dt=0;Dt<K.length;Dt++){const zt=K[Dt];if(!Q.hasOwnProperty(zt)||ft[zt]!==Q[zt])return!1}return!0}(Cn.params,Fn.params)){const zi=[],Cr=zt.matchStyles(Cn.value,Cn.params,zi),Br=zt.matchStyles(Fn.value,Fn.params,zi);zi.length?this._engine.reportError(zi):this._engine.afterFlush(()=>{jt(Q,Cr),dn(Q,Br)})}return}const Ui=gt(this._engine.playersByElement,Q,[]);Ui.forEach(zi=>{zi.namespaceId==this.id&&zi.triggerName==K&&zi.queued&&zi.destroy()});let Qi=zt.matchTransition(Cn.value,Fn.value,Q,Fn.params),xi=!1;if(!Qi){if(!Dt)return;Qi=zt.fallbackTransition,xi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:Q,triggerName:K,transition:Qi,fromState:Cn,toState:Fn,player:on,isFallbackTransition:xi}),xi||(xr(Q,tn),on.onStart(()=>{jr(Q,tn)})),on.onDone(()=>{let zi=this.players.indexOf(on);zi>=0&&this.players.splice(zi,1);const Cr=this._engine.playersByElement.get(Q);if(Cr){let Br=Cr.indexOf(on);Br>=0&&Cr.splice(Br,1)}}),this.players.push(on),Ui.push(on),on}deregister(Q){delete this._triggers[Q],this._engine.statesByElement.forEach((K,ke)=>{delete K[Q]}),this._elementListeners.forEach((K,ke)=>{this._elementListeners.set(ke,K.filter(Dt=>Dt.name!=Q))})}clearElementCache(Q){this._engine.statesByElement.delete(Q),this._elementListeners.delete(Q);const K=this._engine.playersByElement.get(Q);K&&(K.forEach(ke=>ke.destroy()),this._engine.playersByElement.delete(Q))}_signalRemovalForInnerTriggers(Q,K){const ke=this._engine.driver.query(Q,wn,!0);ke.forEach(Dt=>{if(Dt[Gi])return;const zt=this._engine.fetchNamespacesByElement(Dt);zt.size?zt.forEach(on=>on.triggerLeaveAnimation(Dt,K,!1,!0)):this.clearElementCache(Dt)}),this._engine.afterFlushAnimationsDone(()=>ke.forEach(Dt=>this.clearElementCache(Dt)))}triggerLeaveAnimation(Q,K,ke,Dt){const zt=this._engine.statesByElement.get(Q),on=new Map;if(zt){const an=[];if(Object.keys(zt).forEach(Cn=>{if(on.set(Cn,zt[Cn].value),this._triggers[Cn]){const Fn=this.trigger(Q,Cn,ar,Dt);Fn&&an.push(Fn)}}),an.length)return this._engine.markElementAsRemoved(this.id,Q,!0,K,on),ke&&et(an).onDone(()=>this._engine.processLeaveNode(Q)),!0}return!1}prepareLeaveAnimationListeners(Q){const K=this._elementListeners.get(Q),ke=this._engine.statesByElement.get(Q);if(K&&ke){const Dt=new Set;K.forEach(zt=>{const on=zt.name;if(Dt.has(on))return;Dt.add(on);const Cn=this._triggers[on].fallbackTransition,Fn=ke[on]||ur,di=new cr(ar),Si=new as(this.id,on,Q);this._engine.totalQueuedPlayers++,this._queue.push({element:Q,triggerName:on,transition:Cn,fromState:Fn,toState:di,player:Si,isFallbackTransition:!0})})}}removeNode(Q,K){const ke=this._engine;if(Q.childElementCount&&this._signalRemovalForInnerTriggers(Q,K),this.triggerLeaveAnimation(Q,K,!0))return;let Dt=!1;if(ke.totalAnimations){const zt=ke.players.length?ke.playersByQueriedElement.get(Q):[];if(zt&&zt.length)Dt=!0;else{let on=Q;for(;on=on.parentNode;)if(ke.statesByElement.get(on)){Dt=!0;break}}}if(this.prepareLeaveAnimationListeners(Q),Dt)ke.markElementAsRemoved(this.id,Q,!1,K);else{const zt=Q[Gi];(!zt||zt===li)&&(ke.afterFlush(()=>this.clearElementCache(Q)),ke.destroyInnerAnimations(Q),ke._onRemovalComplete(Q,K))}}insertNode(Q,K){xr(Q,this._hostClassName)}drainQueuedTransitions(Q){const K=[];return this._queue.forEach(ke=>{const Dt=ke.player;if(Dt.destroyed)return;const zt=ke.element,on=this._elementListeners.get(zt);on&&on.forEach(an=>{if(an.name==ke.triggerName){const Cn=Qt(zt,ke.triggerName,ke.fromState.value,ke.toState.value);Cn._data=Q,lt(ke.player,an.phase,Cn,an.callback)}}),Dt.markedForDestroy?this._engine.afterFlush(()=>{Dt.destroy()}):K.push(ke)}),this._queue=[],K.sort((ke,Dt)=>{const zt=ke.transition.ast.depCount,on=Dt.transition.ast.depCount;return 0==zt||0==on?zt-on:this._engine.driver.containsElement(ke.element,Dt.element)?1:-1})}destroy(Q){this.players.forEach(K=>K.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,Q)}elementContainsData(Q){let K=!1;return this._elementListeners.has(Q)&&(K=!0),K=!!this._queue.find(ke=>ke.element===Q)||K,K}}class Ur{constructor(Q,K,ke){this.bodyNode=Q,this.driver=K,this._normalizer=ke,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=(Dt,zt)=>{}}_onRemovalComplete(Q,K){this.onRemovalComplete(Q,K)}get queuedPlayers(){const Q=[];return this._namespaceList.forEach(K=>{K.players.forEach(ke=>{ke.queued&&Q.push(ke)})}),Q}createNamespace(Q,K){const ke=new Pr(Q,K,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,K)?this._balanceNamespaceList(ke,K):(this.newHostElements.set(K,ke),this.collectEnterElement(K)),this._namespaceLookup[Q]=ke}_balanceNamespaceList(Q,K){const ke=this._namespaceList,Dt=this.namespacesByHostElement,zt=ke.length-1;if(zt>=0){let on=!1;if(void 0!==this.driver.getParentElement){let an=this.driver.getParentElement(K);for(;an;){const Cn=Dt.get(an);if(Cn){const Fn=ke.indexOf(Cn);ke.splice(Fn+1,0,Q),on=!0;break}an=this.driver.getParentElement(an)}}else for(let an=zt;an>=0;an--)if(this.driver.containsElement(ke[an].hostElement,K)){ke.splice(an+1,0,Q),on=!0;break}on||ke.unshift(Q)}else ke.push(Q);return Dt.set(K,Q),Q}register(Q,K){let ke=this._namespaceLookup[Q];return ke||(ke=this.createNamespace(Q,K)),ke}registerTrigger(Q,K,ke){let Dt=this._namespaceLookup[Q];Dt&&Dt.register(K,ke)&&this.totalAnimations++}destroy(Q,K){if(!Q)return;const ke=this._fetchNamespace(Q);this.afterFlush(()=>{this.namespacesByHostElement.delete(ke.hostElement),delete this._namespaceLookup[Q];const Dt=this._namespaceList.indexOf(ke);Dt>=0&&this._namespaceList.splice(Dt,1)}),this.afterFlushAnimationsDone(()=>ke.destroy(K))}_fetchNamespace(Q){return this._namespaceLookup[Q]}fetchNamespacesByElement(Q){const K=new Set,ke=this.statesByElement.get(Q);if(ke){const Dt=Object.keys(ke);for(let zt=0;zt<Dt.length;zt++){const on=ke[Dt[zt]].namespaceId;if(on){const an=this._fetchNamespace(on);an&&K.add(an)}}}return K}trigger(Q,K,ke,Dt){if(ls(K)){const zt=this._fetchNamespace(Q);if(zt)return zt.trigger(K,ke,Dt),!0}return!1}insertNode(Q,K,ke,Dt){if(!ls(K))return;const zt=K[Gi];if(zt&&zt.setForRemoval){zt.setForRemoval=!1,zt.setForMove=!0;const on=this.collectedLeaveElements.indexOf(K);on>=0&&this.collectedLeaveElements.splice(on,1)}if(Q){const on=this._fetchNamespace(Q);on&&on.insertNode(K,ke)}Dt&&this.collectEnterElement(K)}collectEnterElement(Q){this.collectedEnterElements.push(Q)}markElementAsDisabled(Q,K){K?this.disabledNodes.has(Q)||(this.disabledNodes.add(Q),xr(Q,Jn)):this.disabledNodes.has(Q)&&(this.disabledNodes.delete(Q),jr(Q,Jn))}removeNode(Q,K,ke,Dt){if(ls(K)){const zt=Q?this._fetchNamespace(Q):null;if(zt?zt.removeNode(K,Dt):this.markElementAsRemoved(Q,K,!1,Dt),ke){const on=this.namespacesByHostElement.get(K);on&&on.id!==Q&&on.removeNode(K,Dt)}}else this._onRemovalComplete(K,Dt)}markElementAsRemoved(Q,K,ke,Dt,zt){this.collectedLeaveElements.push(K),K[Gi]={namespaceId:Q,setForRemoval:Dt,hasAnimation:ke,removedBeforeQueried:!1,previousTriggersValues:zt}}listen(Q,K,ke,Dt,zt){return ls(K)?this._fetchNamespace(Q).listen(K,ke,Dt,zt):()=>{}}_buildInstruction(Q,K,ke,Dt,zt){return Q.transition.build(this.driver,Q.element,Q.fromState.value,Q.toState.value,ke,Dt,Q.fromState.options,Q.toState.options,K,zt)}destroyInnerAnimations(Q){let K=this.driver.query(Q,wn,!0);K.forEach(ke=>this.destroyActiveAnimationsForElement(ke)),0!=this.playersByQueriedElement.size&&(K=this.driver.query(Q,Bn,!0),K.forEach(ke=>this.finishActiveQueriedAnimationOnElement(ke)))}destroyActiveAnimationsForElement(Q){const K=this.playersByElement.get(Q);K&&K.forEach(ke=>{ke.queued?ke.markedForDestroy=!0:ke.destroy()})}finishActiveQueriedAnimationOnElement(Q){const K=this.playersByQueriedElement.get(Q);K&&K.forEach(ke=>ke.finish())}whenRenderingDone(){return new Promise(Q=>{if(this.players.length)return et(this.players).onDone(()=>Q());Q()})}processLeaveNode(Q){var K;const ke=Q[Gi];if(ke&&ke.setForRemoval){if(Q[Gi]=li,ke.namespaceId){this.destroyInnerAnimations(Q);const Dt=this._fetchNamespace(ke.namespaceId);Dt&&Dt.clearElementCache(Q)}this._onRemovalComplete(Q,ke.setForRemoval)}(null===(K=Q.classList)||void 0===K?void 0:K.contains(Jn))&&this.markElementAsDisabled(Q,!1),this.driver.query(Q,".ng-animate-disabled",!0).forEach(Dt=>{this.markElementAsDisabled(Dt,!1)})}flush(Q=-1){let K=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ke,Dt)=>this._balanceNamespaceList(ke,Dt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ke=0;ke<this.collectedEnterElements.length;ke++)xr(this.collectedEnterElements[ke],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const ke=[];try{K=this._flushAnimations(ke,Q)}finally{for(let Dt=0;Dt<ke.length;Dt++)ke[Dt]()}}else for(let ke=0;ke<this.collectedLeaveElements.length;ke++)this.processLeaveNode(this.collectedLeaveElements[ke]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(ke=>ke()),this._flushFns=[],this._whenQuietFns.length){const ke=this._whenQuietFns;this._whenQuietFns=[],K.length?et(K).onDone(()=>{ke.forEach(Dt=>Dt())}):ke.forEach(Dt=>Dt())}}reportError(Q){throw function V(ft){return new a.vHH(3402,p)}()}_flushAnimations(Q,K){const ke=new En,Dt=[],zt=new Map,on=[],an=new Map,Cn=new Map,Fn=new Map,di=new Set;this.disabledNodes.forEach(ui=>{di.add(ui);const Mi=this.driver.query(ui,".ng-animate-queued",!0);for(let wi=0;wi<Mi.length;wi++)di.add(Mi[wi])});const Si=this.bodyNode,Ui=Array.from(this.statesByElement.keys()),Qi=mr(Ui,this.collectedEnterElements),xi=new Map;let zi=0;Qi.forEach((ui,Mi)=>{const wi=An+zi++;xi.set(Mi,wi),ui.forEach(Hi=>xr(Hi,wi))});const Cr=[],Br=new Set,Or=new Set;for(let ui=0;ui<this.collectedLeaveElements.length;ui++){const Mi=this.collectedLeaveElements[ui],wi=Mi[Gi];wi&&wi.setForRemoval&&(Cr.push(Mi),Br.add(Mi),wi.hasAnimation?this.driver.query(Mi,".ng-star-inserted",!0).forEach(Hi=>Br.add(Hi)):Or.add(Mi))}const $r=new Map,rs=mr(Ui,Array.from(Br));rs.forEach((ui,Mi)=>{const wi=Nn+zi++;$r.set(Mi,wi),ui.forEach(Hi=>xr(Hi,wi))}),Q.push(()=>{Qi.forEach((ui,Mi)=>{const wi=xi.get(Mi);ui.forEach(Hi=>jr(Hi,wi))}),rs.forEach((ui,Mi)=>{const wi=$r.get(Mi);ui.forEach(Hi=>jr(Hi,wi))}),Cr.forEach(ui=>{this.processLeaveNode(ui)})});const Hr=[],qr=[];for(let ui=this._namespaceList.length-1;ui>=0;ui--)this._namespaceList[ui].drainQueuedTransitions(K).forEach(wi=>{const Hi=wi.player,ue=wi.element;if(Hr.push(Hi),this.collectedEnterElements.length){const ai=ue[Gi];if(ai&&ai.setForMove){if(ai.previousTriggersValues&&ai.previousTriggersValues.has(wi.triggerName)){const qi=ai.previousTriggersValues.get(wi.triggerName),rr=this.statesByElement.get(wi.element);rr&&rr[wi.triggerName]&&(rr[wi.triggerName].value=qi)}return void Hi.destroy()}}const nt=!Si||!this.driver.containsElement(Si,ue),Pe=$r.get(ue),xt=xi.get(ue),Kt=this._buildInstruction(wi,ke,xt,Pe,nt);if(Kt.errors&&Kt.errors.length)return void qr.push(Kt);if(nt)return Hi.onStart(()=>jt(ue,Kt.fromStyles)),Hi.onDestroy(()=>dn(ue,Kt.toStyles)),void Dt.push(Hi);if(wi.isFallbackTransition)return Hi.onStart(()=>jt(ue,Kt.fromStyles)),Hi.onDestroy(()=>dn(ue,Kt.toStyles)),void Dt.push(Hi);const Mn=[];Kt.timelines.forEach(ai=>{ai.stretchStartingKeyframe=!0,this.disabledNodes.has(ai.element)||Mn.push(ai)}),Kt.timelines=Mn,ke.append(ue,Kt.timelines),on.push({instruction:Kt,player:Hi,element:ue}),Kt.queriedElements.forEach(ai=>gt(an,ai,[]).push(Hi)),Kt.preStyleProps.forEach((ai,qi)=>{const rr=Object.keys(ai);if(rr.length){let tr=Cn.get(qi);tr||Cn.set(qi,tr=new Set),rr.forEach(sr=>tr.add(sr))}}),Kt.postStyleProps.forEach((ai,qi)=>{const rr=Object.keys(ai);let tr=Fn.get(qi);tr||Fn.set(qi,tr=new Set),rr.forEach(sr=>tr.add(sr))})});if(qr.length){const ui=[];qr.forEach(Mi=>{ui.push(function fe(ft,Q){return new a.vHH(3505,p)}())}),Hr.forEach(Mi=>Mi.destroy()),this.reportError(ui)}const Wi=new Map,ms=new Map;on.forEach(ui=>{const Mi=ui.element;ke.has(Mi)&&(ms.set(Mi,Mi),this._beforeAnimationBuild(ui.player.namespaceId,ui.instruction,Wi))}),Dt.forEach(ui=>{const Mi=ui.element;this._getPreviousPlayers(Mi,!1,ui.namespaceId,ui.triggerName,null).forEach(Hi=>{gt(Wi,Mi,[]).push(Hi),Hi.destroy()})});const ro=Cr.filter(ui=>to(ui,Cn,Fn)),Gs=new Map;go(Gs,this.driver,Or,Fn,d.l3).forEach(ui=>{to(ui,Cn,Fn)&&ro.push(ui)});const so=new Map;Qi.forEach((ui,Mi)=>{go(so,this.driver,new Set(ui),Cn,d.k1)}),ro.forEach(ui=>{const Mi=Gs.get(ui),wi=so.get(ui);Gs.set(ui,Object.assign(Object.assign({},Mi),wi))});const oo=[],_s=[],zs={};on.forEach(ui=>{const{element:Mi,player:wi,instruction:Hi}=ui;if(ke.has(Mi)){if(di.has(Mi))return wi.onDestroy(()=>dn(Mi,Hi.toStyles)),wi.disabled=!0,wi.overrideTotalTime(Hi.totalTime),void Dt.push(wi);let ue=zs;if(ms.size>1){let Pe=Mi;const xt=[];for(;Pe=Pe.parentNode;){const Kt=ms.get(Pe);if(Kt){ue=Kt;break}xt.push(Pe)}xt.forEach(Kt=>ms.set(Kt,ue))}const nt=this._buildAnimation(wi.namespaceId,Hi,Wi,zt,so,Gs);if(wi.setRealPlayer(nt),ue===zs)oo.push(wi);else{const Pe=this.playersByElement.get(ue);Pe&&Pe.length&&(wi.parentPlayer=et(Pe)),Dt.push(wi)}}else jt(Mi,Hi.fromStyles),wi.onDestroy(()=>dn(Mi,Hi.toStyles)),_s.push(wi),di.has(Mi)&&Dt.push(wi)}),_s.forEach(ui=>{const Mi=zt.get(ui.element);if(Mi&&Mi.length){const wi=et(Mi);ui.setRealPlayer(wi)}}),Dt.forEach(ui=>{ui.parentPlayer?ui.syncPlayerEvents(ui.parentPlayer):ui.destroy()});for(let ui=0;ui<Cr.length;ui++){const Mi=Cr[ui],wi=Mi[Gi];if(jr(Mi,Nn),wi&&wi.hasAnimation)continue;let Hi=[];if(an.size){let nt=an.get(Mi);nt&&nt.length&&Hi.push(...nt);let Pe=this.driver.query(Mi,Bn,!0);for(let xt=0;xt<Pe.length;xt++){let Kt=an.get(Pe[xt]);Kt&&Kt.length&&Hi.push(...Kt)}}const ue=Hi.filter(nt=>!nt.destroyed);ue.length?_o(this,Mi,ue):this.processLeaveNode(Mi)}return Cr.length=0,oo.forEach(ui=>{this.players.push(ui),ui.onDone(()=>{ui.destroy();const Mi=this.players.indexOf(ui);this.players.splice(Mi,1)}),ui.play()}),oo}elementContainsData(Q,K){let ke=!1;const Dt=K[Gi];return Dt&&Dt.setForRemoval&&(ke=!0),this.playersByElement.has(K)&&(ke=!0),this.playersByQueriedElement.has(K)&&(ke=!0),this.statesByElement.has(K)&&(ke=!0),this._fetchNamespace(Q).elementContainsData(K)||ke}afterFlush(Q){this._flushFns.push(Q)}afterFlushAnimationsDone(Q){this._whenQuietFns.push(Q)}_getPreviousPlayers(Q,K,ke,Dt,zt){let on=[];if(K){const an=this.playersByQueriedElement.get(Q);an&&(on=an)}else{const an=this.playersByElement.get(Q);if(an){const Cn=!zt||zt==ar;an.forEach(Fn=>{Fn.queued||!Cn&&Fn.triggerName!=Dt||on.push(Fn)})}}return(ke||Dt)&&(on=on.filter(an=>!(ke&&ke!=an.namespaceId||Dt&&Dt!=an.triggerName))),on}_beforeAnimationBuild(Q,K,ke){const zt=K.element,on=K.isRemovalTransition?void 0:Q,an=K.isRemovalTransition?void 0:K.triggerName;for(const Cn of K.timelines){const Fn=Cn.element,di=Fn!==zt,Si=gt(ke,Fn,[]);this._getPreviousPlayers(Fn,di,on,an,K.toState).forEach(Qi=>{const xi=Qi.getRealPlayer();xi.beforeDestroy&&xi.beforeDestroy(),Qi.destroy(),Si.push(Qi)})}jt(zt,K.fromStyles)}_buildAnimation(Q,K,ke,Dt,zt,on){const an=K.triggerName,Cn=K.element,Fn=[],di=new Set,Si=new Set,Ui=K.timelines.map(xi=>{const zi=xi.element;di.add(zi);const Cr=zi[Gi];if(Cr&&Cr.removedBeforeQueried)return new d.ZN(xi.duration,xi.delay);const Br=zi!==Cn,Or=function ds(ft){const Q=[];return Qr(ft,Q),Q}((ke.get(zi)||Ci).map(Wi=>Wi.getRealPlayer())).filter(Wi=>!!Wi.element&&Wi.element===zi),$r=zt.get(zi),rs=on.get(zi),Hr=de(0,this._normalizer,0,xi.keyframes,$r,rs),qr=this._buildPlayer(xi,Hr,Or);if(xi.subTimeline&&Dt&&Si.add(zi),Br){const Wi=new as(Q,an,zi);Wi.setRealPlayer(qr),Fn.push(Wi)}return qr});Fn.forEach(xi=>{gt(this.playersByQueriedElement,xi.element,[]).push(xi),xi.onDone(()=>function er(ft,Q,K){let ke;if(ft instanceof Map){if(ke=ft.get(Q),ke){if(ke.length){const Dt=ke.indexOf(K);ke.splice(Dt,1)}0==ke.length&&ft.delete(Q)}}else if(ke=ft[Q],ke){if(ke.length){const Dt=ke.indexOf(K);ke.splice(Dt,1)}0==ke.length&&delete ft[Q]}return ke}(this.playersByQueriedElement,xi.element,xi))}),di.forEach(xi=>xr(xi,Wn));const Qi=et(Ui);return Qi.onDestroy(()=>{di.forEach(xi=>jr(xi,Wn)),dn(Cn,K.toStyles)}),Si.forEach(xi=>{gt(Dt,xi,[]).push(Qi)}),Qi}_buildPlayer(Q,K,ke){return K.length>0?this.driver.animate(Q.element,K,Q.duration,Q.delay,Q.easing,ke):new d.ZN(Q.duration,Q.delay)}}class as{constructor(Q,K,ke){this.namespaceId=Q,this.triggerName=K,this.element=ke,this._player=new d.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(Q){this._containsRealPlayer||(this._player=Q,Object.keys(this._queuedCallbacks).forEach(K=>{this._queuedCallbacks[K].forEach(ke=>lt(Q,K,void 0,ke))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(Q.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(Q){this.totalTime=Q}syncPlayerEvents(Q){const K=this._player;K.triggerCallback&&Q.onStart(()=>K.triggerCallback("start")),Q.onDone(()=>this.finish()),Q.onDestroy(()=>this.destroy())}_queueEvent(Q,K){gt(this._queuedCallbacks,Q,[]).push(K)}onDone(Q){this.queued&&this._queueEvent("done",Q),this._player.onDone(Q)}onStart(Q){this.queued&&this._queueEvent("start",Q),this._player.onStart(Q)}onDestroy(Q){this.queued&&this._queueEvent("destroy",Q),this._player.onDestroy(Q)}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(Q){this.queued||this._player.setPosition(Q)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(Q){const K=this._player;K.triggerCallback&&K.triggerCallback(Q)}}function ls(ft){return ft&&1===ft.nodeType}function Hs(ft,Q){const K=ft.style.display;return ft.style.display=null!=Q?Q:"none",K}function go(ft,Q,K,ke,Dt){const zt=[];K.forEach(Cn=>zt.push(Hs(Cn)));const on=[];ke.forEach((Cn,Fn)=>{const di={};Cn.forEach(Si=>{const Ui=di[Si]=Q.computeStyle(Fn,Si,Dt);(!Ui||0==Ui.length)&&(Fn[Gi]=$i,on.push(Fn))}),ft.set(Fn,di)});let an=0;return K.forEach(Cn=>Hs(Cn,zt[an++])),on}function mr(ft,Q){const K=new Map;if(ft.forEach(an=>K.set(an,[])),0==Q.length)return K;const Dt=new Set(Q),zt=new Map;function on(an){if(!an)return 1;let Cn=zt.get(an);if(Cn)return Cn;const Fn=an.parentNode;return Cn=K.has(Fn)?Fn:Dt.has(Fn)?1:on(Fn),zt.set(an,Cn),Cn}return Q.forEach(an=>{const Cn=on(an);1!==Cn&&K.get(Cn).push(an)}),K}function xr(ft,Q){var K;null===(K=ft.classList)||void 0===K||K.add(Q)}function jr(ft,Q){var K;null===(K=ft.classList)||void 0===K||K.remove(Q)}function _o(ft,Q,K){et(K).onDone(()=>ft.processLeaveNode(Q))}function Qr(ft,Q){for(let K=0;K<ft.length;K++){const ke=ft[K];ke instanceof d.ZE?Qr(ke.players,Q):Q.push(ke)}}function to(ft,Q,K){const ke=K.get(ft);if(!ke)return!1;let Dt=Q.get(ft);return Dt?ke.forEach(zt=>Dt.add(zt)):Q.set(ft,ke),K.delete(ft),!0}class yo{constructor(Q,K,ke){this.bodyNode=Q,this._driver=K,this._normalizer=ke,this._triggerCache={},this.onRemovalComplete=(Dt,zt)=>{},this._transitionEngine=new Ur(Q,K,ke),this._timelineEngine=new pn(Q,K,ke),this._transitionEngine.onRemovalComplete=(Dt,zt)=>this.onRemovalComplete(Dt,zt)}registerTrigger(Q,K,ke,Dt,zt){const on=Q+"-"+Dt;let an=this._triggerCache[on];if(!an){const Cn=[],di=ir(this._driver,zt,Cn,[]);if(Cn.length)throw function Ve(ft,Q){return new a.vHH(3404,p)}();an=function It(ft,Q,K){return new qt(ft,Q,K)}(Dt,di,this._normalizer),this._triggerCache[on]=an}this._transitionEngine.registerTrigger(K,Dt,an)}register(Q,K){this._transitionEngine.register(Q,K)}destroy(Q,K){this._transitionEngine.destroy(Q,K)}onInsert(Q,K,ke,Dt){this._transitionEngine.insertNode(Q,K,ke,Dt)}onRemove(Q,K,ke,Dt){this._transitionEngine.removeNode(Q,K,Dt||!1,ke)}disableAnimations(Q,K){this._transitionEngine.markElementAsDisabled(Q,K)}process(Q,K,ke,Dt){if("@"==ke.charAt(0)){const[zt,on]=yt(ke);this._timelineEngine.command(zt,K,on,Dt)}else this._transitionEngine.trigger(Q,K,ke,Dt)}listen(Q,K,ke,Dt,zt){if("@"==ke.charAt(0)){const[on,an]=yt(ke);return this._timelineEngine.listen(on,K,an,zt)}return this._transitionEngine.listen(Q,K,ke,Dt,zt)}flush(Q=-1){this._transitionEngine.flush(Q)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let qe=(()=>{class ft{constructor(K,ke,Dt){this._element=K,this._startStyles=ke,this._endStyles=Dt,this._state=0;let zt=ft.initialStylesByElement.get(K);zt||ft.initialStylesByElement.set(K,zt={}),this._initialStyles=zt}start(){this._state<1&&(this._startStyles&&dn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dn(this._element,this._initialStyles),this._endStyles&&(dn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ft.initialStylesByElement.delete(this._element),this._startStyles&&(jt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jt(this._element,this._endStyles),this._endStyles=null),dn(this._element,this._initialStyles),this._state=3)}}return ft.initialStylesByElement=new WeakMap,ft})();function Le(ft){let Q=null;const K=Object.keys(ft);for(let ke=0;ke<K.length;ke++){const Dt=K[ke];De(Dt)&&(Q=Q||{},Q[Dt]=ft[Dt])}return Q}function De(ft){return"display"===ft||"position"===ft}class At{constructor(Q,K,ke,Dt){this.element=Q,this.keyframes=K,this.options=ke,this._specialStyles=Dt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=ke.duration,this._delay=ke.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(Q=>Q()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const Q=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,Q,this.options),this._finalKeyframe=Q.length?Q[Q.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(Q,K,ke){return Q.animate(K,ke)}onStart(Q){this._onStartFns.push(Q)}onDone(Q){this._onDoneFns.push(Q)}onDestroy(Q){this._onDestroyFns.push(Q)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(Q=>Q()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(Q=>Q()),this._onDestroyFns=[])}setPosition(Q){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=Q*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const Q={};if(this.hasStarted()){const K=this._finalKeyframe;Object.keys(K).forEach(ke=>{"offset"!=ke&&(Q[ke]=this._finished?K[ke]:ki(this.element,ke))})}this.currentSnapshot=Q}triggerCallback(Q){const K="start"==Q?this._onStartFns:this._onDoneFns;K.forEach(ke=>ke()),K.length=0}}class kn{validateStyleProperty(Q){return Y(Q)}matchesElement(Q,K){return!1}containsElement(Q,K){return Oe(Q,K)}getParentElement(Q){return X(Q)}query(Q,K,ke){return Ye(Q,K,ke)}computeStyle(Q,K,ke){return window.getComputedStyle(Q)[K]}animate(Q,K,ke,Dt,zt,on=[]){const Cn={duration:ke,delay:Dt,fill:0==Dt?"both":"forwards"};zt&&(Cn.easing=zt);const Fn={},di=on.filter(Ui=>Ui instanceof At);(function hi(ft,Q){return 0===ft||0===Q})(ke,Dt)&&di.forEach(Ui=>{let Qi=Ui.currentSnapshot;Object.keys(Qi).forEach(xi=>Fn[xi]=Qi[xi])}),K=function mi(ft,Q,K){const ke=Object.keys(K);if(ke.length&&Q.length){let zt=Q[0],on=[];if(ke.forEach(an=>{zt.hasOwnProperty(an)||on.push(an),zt[an]=K[an]}),on.length)for(var Dt=1;Dt<Q.length;Dt++){let an=Q[Dt];on.forEach(function(Cn){an[Cn]=ki(ft,Cn)})}}return Q}(Q,K=K.map(Ui=>st(Ui,!1)),Fn);const Si=function Bs(ft,Q){let K=null,ke=null;return Array.isArray(Q)&&Q.length?(K=Le(Q[0]),Q.length>1&&(ke=Le(Q[Q.length-1]))):Q&&(K=Le(Q)),K||ke?new qe(ft,K,ke):null}(Q,K);return new At(Q,K,Cn,Si)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */var pi=l(69808);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let kr=(()=>{class ft extends d._j{constructor(K,ke){super(),this._nextAnimationId=0,this._renderer=K.createRenderer(ke.body,{id:"0",encapsulation:a.ifc.None,styles:[],data:{animation:[]}})}build(K){const ke=this._nextAnimationId.toString();this._nextAnimationId++;const Dt=Array.isArray(K)?(0,d.vP)(K):K;return mt(this._renderer,null,ke,"register",[Dt]),new is(ke,this._renderer)}}return ft.\u0275fac=function(K){return new(K||ft)(a.LFG(a.FYo),a.LFG(pi.K0))},ft.\u0275prov=a.Yz7({token:ft,factory:ft.\u0275fac}),ft})();class is extends d.LC{constructor(Q,K){super(),this._id=Q,this._renderer=K}create(Q,K){return new no(this._id,Q,K||{},this._renderer)}}class no{constructor(Q,K,ke,Dt){this.id=Q,this.element=K,this._renderer=Dt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ke)}_listen(Q,K){return this._renderer.listen(this.element,`@@${this.id}:${Q}`,K)}_command(Q,...K){return mt(this._renderer,this.element,this.id,Q,K)}onDone(Q){this._listen("done",Q)}onStart(Q){this._listen("start",Q)}onDestroy(Q){this._listen("destroy",Q)}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(Q){this._command("setPosition",Q)}getPosition(){var Q,K;return null!==(K=null===(Q=this._renderer.engine.players[+this.id])||void 0===Q?void 0:Q.getPosition())&&void 0!==K?K:0}}function mt(ft,Q,K,ke,Dt){return ft.setProperty(Q,`@@${K}:${ke}`,Dt)}const Gt="@.disabled";let lr=(()=>{class ft{constructor(K,ke,Dt){this.delegate=K,this.engine=ke,this._zone=Dt,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),ke.onRemovalComplete=(zt,on)=>{const an=null==on?void 0:on.parentNode(zt);an&&on.removeChild(an,zt)}}createRenderer(K,ke){const zt=this.delegate.createRenderer(K,ke);if(!(K&&ke&&ke.data&&ke.data.animation)){let di=this._rendererCache.get(zt);return di||(di=new Qa("",zt,this.engine),this._rendererCache.set(zt,di)),di}const on=ke.id,an=ke.id+"-"+this._currentId;this._currentId++,this.engine.register(an,K);const Cn=di=>{Array.isArray(di)?di.forEach(Cn):this.engine.registerTrigger(on,an,K,di.name,di)};return ke.data.animation.forEach(Cn),new Kr(this,an,zt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(K,ke,Dt){K>=0&&K<this._microtaskId?this._zone.run(()=>ke(Dt)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(zt=>{const[on,an]=zt;on(an)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ke,Dt]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return ft.\u0275fac=function(K){return new(K||ft)(a.LFG(a.FYo),a.LFG(yo),a.LFG(a.R0b))},ft.\u0275prov=a.Yz7({token:ft,factory:ft.\u0275fac}),ft})();class Qa{constructor(Q,K,ke){this.namespaceId=Q,this.delegate=K,this.engine=ke,this.destroyNode=this.delegate.destroyNode?Dt=>K.destroyNode(Dt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(Q,K){return this.delegate.createElement(Q,K)}createComment(Q){return this.delegate.createComment(Q)}createText(Q){return this.delegate.createText(Q)}appendChild(Q,K){this.delegate.appendChild(Q,K),this.engine.onInsert(this.namespaceId,K,Q,!1)}insertBefore(Q,K,ke,Dt=!0){this.delegate.insertBefore(Q,K,ke),this.engine.onInsert(this.namespaceId,K,Q,Dt)}removeChild(Q,K,ke){this.engine.onRemove(this.namespaceId,K,this.delegate,ke)}selectRootElement(Q,K){return this.delegate.selectRootElement(Q,K)}parentNode(Q){return this.delegate.parentNode(Q)}nextSibling(Q){return this.delegate.nextSibling(Q)}setAttribute(Q,K,ke,Dt){this.delegate.setAttribute(Q,K,ke,Dt)}removeAttribute(Q,K,ke){this.delegate.removeAttribute(Q,K,ke)}addClass(Q,K){this.delegate.addClass(Q,K)}removeClass(Q,K){this.delegate.removeClass(Q,K)}setStyle(Q,K,ke,Dt){this.delegate.setStyle(Q,K,ke,Dt)}removeStyle(Q,K,ke){this.delegate.removeStyle(Q,K,ke)}setProperty(Q,K,ke){"@"==K.charAt(0)&&K==Gt?this.disableAnimations(Q,!!ke):this.delegate.setProperty(Q,K,ke)}setValue(Q,K){this.delegate.setValue(Q,K)}listen(Q,K,ke){return this.delegate.listen(Q,K,ke)}disableAnimations(Q,K){this.engine.disableAnimations(Q,K)}}class Kr extends Qa{constructor(Q,K,ke,Dt){super(K,ke,Dt),this.factory=Q,this.namespaceId=K}setProperty(Q,K,ke){"@"==K.charAt(0)?"."==K.charAt(1)&&K==Gt?this.disableAnimations(Q,ke=void 0===ke||!!ke):this.engine.process(this.namespaceId,Q,K.substr(1),ke):this.delegate.setProperty(Q,K,ke)}listen(Q,K,ke){if("@"==K.charAt(0)){const Dt=function bl(ft){switch(ft){case"body":return document.body;case"document":return document;case"window":return window;default:return ft}}(Q);let zt=K.substr(1),on="";return"@"!=zt.charAt(0)&&([zt,on]=function bo(ft){const Q=ft.indexOf(".");return[ft.substring(0,Q),ft.substr(Q+1)]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(zt)),this.engine.listen(this.namespaceId,Dt,zt,on,an=>{this.factory.scheduleListenerCallback(an._data||-1,ke,an)})}return this.delegate.listen(Q,K,ke)}}let fs=(()=>{class ft extends yo{constructor(K,ke,Dt){super(K.body,ke,Dt)}ngOnDestroy(){this.flush()}}return ft.\u0275fac=function(K){return new(K||ft)(a.LFG(pi.K0),a.LFG(Jt),a.LFG(_e))},ft.\u0275prov=a.Yz7({token:ft,factory:ft.\u0275fac}),ft})();const El=new a.OlP("AnimationModuleType"),Oa=[{provide:d._j,useClass:kr},{provide:_e,useFactory:function _a(){return new E}},{provide:yo,useClass:fs},{provide:a.FYo,useFactory:function va(ft,Q,K){return new lr(ft,Q,K)},deps:[i.se,yo,a.R0b]}],Jo=[{provide:Jt,useFactory:()=>new kn},{provide:El,useValue:"BrowserAnimations"},...Oa],Fo=[{provide:Jt,useClass:Vt},{provide:El,useValue:"NoopAnimations"},...Oa];
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let es=(()=>{class ft{static withConfig(K){return{ngModule:ft,providers:K.disableAnimations?Fo:Jo}}}return ft.\u0275fac=function(K){return new(K||ft)},ft.\u0275mod=a.oAB({type:ft}),ft.\u0275inj=a.cJS({providers:Jo,imports:[i.b2]}),ft})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */},22313:(ze,G,l)=>{"use strict";l.d(G,{Cb:()=>In,Cu:()=>Bn,Dx:()=>he,H7:()=>Ht,b2:()=>Je,hm:()=>_t,ki:()=>wn,ok:()=>be,q6:()=>gt,se:()=>Be,t6:()=>Ut});var a=l(69808),i=l(5e3);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class d extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class p extends d{static makeCurrent(){(0,a.HT)(new p)}onAndCancel(Qe,rt,Nt){return Qe.addEventListener(rt,Nt,!1),()=>{Qe.removeEventListener(rt,Nt,!1)}}dispatchEvent(Qe,rt){Qe.dispatchEvent(rt)}remove(Qe){Qe.parentNode&&Qe.parentNode.removeChild(Qe)}createElement(Qe,rt){return(rt=rt||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,rt){return"window"===rt?window:"document"===rt?Qe:"body"===rt?Qe.body:null}getBaseHref(Qe){const rt=function f(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}();return null==rt?null:function b(Ce){v=v||document.createElement("a"),v.setAttribute("href",Ce);const Qe=v.pathname;return"/"===Qe.charAt(0)?Qe:`/${Qe}`}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(rt)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(Qe){return(0,a.Mx)(document.cookie,Qe)}}let v,C=null;const m=new i.OlP("TRANSITION_ID"),L=[{provide:i.ip1,useFactory:function I(Ce,Qe,rt){return()=>{rt.get(i.CZH).donePromise.then(()=>{const Nt=(0,a.q)(),sn=Qe.querySelectorAll(`style[ng-transition="${Ce}"]`);for(let On=0;On<sn.length;On++)Nt.remove(sn[On])})}},deps:[m,a.K0,i.zs3],multi:!0}];
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class M{static init(){(0,i.VLi)(new M)}addToWindow(Qe){i.dqk.getAngularTestability=(Nt,sn=!0)=>{const On=Qe.findTestabilityInTree(Nt,sn);if(null==On)throw new Error("Could not find testability for element.");return On},i.dqk.getAllAngularTestabilities=()=>Qe.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>Qe.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(Nt=>{const sn=i.dqk.getAllAngularTestabilities();let On=sn.length,Ln=!1;const zn=function(hi){Ln=Ln||hi,On--,0==On&&Nt(Ln)};sn.forEach(function(hi){hi.whenStable(zn)})})}findTestabilityInTree(Qe,rt,Nt){if(null==rt)return null;const sn=Qe.getTestability(rt);return null!=sn?sn:Nt?(0,a.q)().isShadowRoot(rt)?this.findTestabilityInTree(Qe,rt.host,!0):this.findTestabilityInTree(Qe,rt.parentElement,!0):null}}let D=(()=>{class Ce{build(){return new XMLHttpRequest}}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const A=new i.OlP("EventManagerPlugins");let B=(()=>{class Ce{constructor(rt,Nt){this._zone=Nt,this._eventNameToPlugin=new Map,rt.forEach(sn=>sn.manager=this),this._plugins=rt.slice().reverse()}addEventListener(rt,Nt,sn){return this._findPluginFor(Nt).addEventListener(rt,Nt,sn)}addGlobalEventListener(rt,Nt,sn){return this._findPluginFor(Nt).addGlobalEventListener(rt,Nt,sn)}getZone(){return this._zone}_findPluginFor(rt){const Nt=this._eventNameToPlugin.get(rt);if(Nt)return Nt;const sn=this._plugins;for(let On=0;On<sn.length;On++){const Ln=sn[On];if(Ln.supports(rt))return this._eventNameToPlugin.set(rt,Ln),Ln}throw new Error(`No event manager plugin found for event ${rt}`)}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(A),i.LFG(i.R0b))},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class R{constructor(Qe){this._doc=Qe}addGlobalEventListener(Qe,rt,Nt){const sn=(0,a.q)().getGlobalEventTarget(this._doc,Qe);if(!sn)throw new Error(`Unsupported event target ${sn} for event ${rt}`);return this.addEventListener(sn,rt,Nt)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let x=(()=>{class Ce{constructor(){this._stylesSet=new Set}addStyles(rt){const Nt=new Set;rt.forEach(sn=>{this._stylesSet.has(sn)||(this._stylesSet.add(sn),Nt.add(sn))}),this.onStylesAdded(Nt)}onStylesAdded(rt){}getAllStyles(){return Array.from(this._stylesSet)}}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),w=(()=>{class Ce extends x{constructor(rt){super(),this._doc=rt,this._hostNodes=new Map,this._hostNodes.set(rt.head,[])}_addStylesToHost(rt,Nt,sn){rt.forEach(On=>{const Ln=this._doc.createElement("style");Ln.textContent=On,sn.push(Nt.appendChild(Ln))})}addHost(rt){const Nt=[];this._addStylesToHost(this._stylesSet,rt,Nt),this._hostNodes.set(rt,Nt)}removeHost(rt){const Nt=this._hostNodes.get(rt);Nt&&Nt.forEach(k),this._hostNodes.delete(rt)}onStylesAdded(rt){this._hostNodes.forEach((Nt,sn)=>{this._addStylesToHost(rt,sn,Nt)})}ngOnDestroy(){this._hostNodes.forEach(rt=>rt.forEach(k))}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(a.K0))},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();function k(Ce){(0,a.q)().remove(Ce)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const H={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},j=/%COMP%/g;function ge(Ce,Qe,rt){for(let Nt=0;Nt<Qe.length;Nt++){let sn=Qe[Nt];Array.isArray(sn)?ge(Ce,sn,rt):(sn=sn.replace(j,Ce),rt.push(sn))}return rt}function Ve(Ce){return Qe=>{if("__ngUnwrap__"===Qe)return Ce;!1===Ce(Qe)&&(Qe.preventDefault(),Qe.returnValue=!1)}}let Be=(()=>{class Ce{constructor(rt,Nt,sn){this.eventManager=rt,this.sharedStylesHost=Nt,this.appId=sn,this.rendererByCompId=new Map,this.defaultRenderer=new Ee(rt)}createRenderer(rt,Nt){if(!rt||!Nt)return this.defaultRenderer;switch(Nt.encapsulation){case i.ifc.Emulated:{let sn=this.rendererByCompId.get(Nt.id);return sn||(sn=new Ge(this.eventManager,this.sharedStylesHost,Nt,this.appId),this.rendererByCompId.set(Nt.id,sn)),sn.applyToHost(rt),sn}case 1:case i.ifc.ShadowDom:return new it(this.eventManager,this.sharedStylesHost,rt,Nt);default:if(!this.rendererByCompId.has(Nt.id)){const sn=ge(Nt.id,Nt.styles,[]);this.sharedStylesHost.addStyles(sn),this.rendererByCompId.set(Nt.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(B),i.LFG(w),i.LFG(i.AFp))},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();class Ee{constructor(Qe){this.eventManager=Qe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Qe,rt){return rt?document.createElementNS(H[rt]||rt,Qe):document.createElement(Qe)}createComment(Qe){return document.createComment(Qe)}createText(Qe){return document.createTextNode(Qe)}appendChild(Qe,rt){Qe.appendChild(rt)}insertBefore(Qe,rt,Nt){Qe&&Qe.insertBefore(rt,Nt)}removeChild(Qe,rt){Qe&&Qe.removeChild(rt)}selectRootElement(Qe,rt){let Nt="string"==typeof Qe?document.querySelector(Qe):Qe;if(!Nt)throw new Error(`The selector "${Qe}" did not match any elements`);return rt||(Nt.textContent=""),Nt}parentNode(Qe){return Qe.parentNode}nextSibling(Qe){return Qe.nextSibling}setAttribute(Qe,rt,Nt,sn){if(sn){rt=sn+":"+rt;const On=H[sn];On?Qe.setAttributeNS(On,rt,Nt):Qe.setAttribute(rt,Nt)}else Qe.setAttribute(rt,Nt)}removeAttribute(Qe,rt,Nt){if(Nt){const sn=H[Nt];sn?Qe.removeAttributeNS(sn,rt):Qe.removeAttribute(`${Nt}:${rt}`)}else Qe.removeAttribute(rt)}addClass(Qe,rt){Qe.classList.add(rt)}removeClass(Qe,rt){Qe.classList.remove(rt)}setStyle(Qe,rt,Nt,sn){sn&(i.JOm.DashCase|i.JOm.Important)?Qe.style.setProperty(rt,Nt,sn&i.JOm.Important?"important":""):Qe.style[rt]=Nt}removeStyle(Qe,rt,Nt){Nt&i.JOm.DashCase?Qe.style.removeProperty(rt):Qe.style[rt]=""}setProperty(Qe,rt,Nt){Qe[rt]=Nt}setValue(Qe,rt){Qe.nodeValue=rt}listen(Qe,rt,Nt){return"string"==typeof Qe?this.eventManager.addGlobalEventListener(Qe,rt,Ve(Nt)):this.eventManager.addEventListener(Qe,rt,Ve(Nt))}}class Ge extends Ee{constructor(Qe,rt,Nt,sn){super(Qe),this.component=Nt;const On=ge(sn+"-"+Nt.id,Nt.styles,[]);rt.addStyles(On),this.contentAttr=function y(Ce){return"_ngcontent-%COMP%".replace(j,Ce)}(sn+"-"+Nt.id),this.hostAttr=function ae(Ce){return"_nghost-%COMP%".replace(j,Ce)}(sn+"-"+Nt.id)}applyToHost(Qe){super.setAttribute(Qe,this.hostAttr,"")}createElement(Qe,rt){const Nt=super.createElement(Qe,rt);return super.setAttribute(Nt,this.contentAttr,""),Nt}}class it extends Ee{constructor(Qe,rt,Nt,sn){super(Qe),this.sharedStylesHost=rt,this.hostEl=Nt,this.shadowRoot=Nt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const On=ge(sn.id,sn.styles,[]);for(let Ln=0;Ln<On.length;Ln++){const zn=document.createElement("style");zn.textContent=On[Ln],this.shadowRoot.appendChild(zn)}}nodeOrShadowRoot(Qe){return Qe===this.hostEl?this.shadowRoot:Qe}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Qe,rt){return super.appendChild(this.nodeOrShadowRoot(Qe),rt)}insertBefore(Qe,rt,Nt){return super.insertBefore(this.nodeOrShadowRoot(Qe),rt,Nt)}removeChild(Qe,rt){return super.removeChild(this.nodeOrShadowRoot(Qe),rt)}parentNode(Qe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Qe)))}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Se=(()=>{class Ce extends R{constructor(rt){super(rt)}supports(rt){return!0}addEventListener(rt,Nt,sn){return rt.addEventListener(Nt,sn,!1),()=>this.removeEventListener(rt,Nt,sn)}removeEventListener(rt,Nt,sn){return rt.removeEventListener(Nt,sn)}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(a.K0))},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Z=["alt","control","meta","shift"],U={"\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"},fe={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},pe={alt:Ce=>Ce.altKey,control:Ce=>Ce.ctrlKey,meta:Ce=>Ce.metaKey,shift:Ce=>Ce.shiftKey};let He=(()=>{class Ce extends R{constructor(rt){super(rt)}supports(rt){return null!=Ce.parseEventName(rt)}addEventListener(rt,Nt,sn){const On=Ce.parseEventName(Nt),Ln=Ce.eventCallback(On.fullKey,sn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.q)().onAndCancel(rt,On.domEventName,Ln))}static parseEventName(rt){const Nt=rt.toLowerCase().split("."),sn=Nt.shift();if(0===Nt.length||"keydown"!==sn&&"keyup"!==sn)return null;const On=Ce._normalizeKey(Nt.pop());let Ln="";if(Z.forEach(hi=>{const mi=Nt.indexOf(hi);mi>-1&&(Nt.splice(mi,1),Ln+=hi+".")}),Ln+=On,0!=Nt.length||0===On.length)return null;const zn={};return zn.domEventName=sn,zn.fullKey=Ln,zn}static getEventFullKey(rt){let Nt="",sn=function et(Ce){let Qe=Ce.key;if(null==Qe){if(Qe=Ce.keyIdentifier,null==Qe)return"Unidentified";Qe.startsWith("U+")&&(Qe=String.fromCharCode(parseInt(Qe.substring(2),16)),3===Ce.location&&fe.hasOwnProperty(Qe)&&(Qe=fe[Qe]))}return U[Qe]||Qe}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(rt);return sn=sn.toLowerCase()," "===sn?sn="space":"."===sn&&(sn="dot"),Z.forEach(On=>{On!=sn&&pe[On](rt)&&(Nt+=On+".")}),Nt+=sn,Nt}static eventCallback(rt,Nt,sn){return On=>{Ce.getEventFullKey(On)===rt&&sn.runGuarded(()=>Nt(On))}}static _normalizeKey(rt){return"esc"===rt?"escape":rt}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(a.K0))},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();const gt=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:a.bD},{provide:i.g9A,useValue:function de(){p.makeCurrent(),M.init()},multi:!0},{provide:a.K0,useFactory:function St(){return(0,i.RDi)(document),document},deps:[]}]),yt=[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function lt(){return new i.qLn},deps:[]},{provide:A,useClass:Se,multi:!0,deps:[a.K0,i.R0b,i.Lbi]},{provide:A,useClass:He,multi:!0,deps:[a.K0]},{provide:Be,useClass:Be,deps:[B,w,i.AFp]},{provide:i.FYo,useExisting:Be},{provide:x,useExisting:w},{provide:w,useClass:w,deps:[a.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:B,useClass:B,deps:[A,i.R0b]},{provide:a.JF,useClass:D,deps:[]}];let Je=(()=>{class Ce{constructor(rt){if(rt)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(rt){return{ngModule:Ce,providers:[{provide:i.AFp,useValue:rt.appId},{provide:m,useExisting:i.AFp},L]}}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(Ce,12))},Ce.\u0275mod=i.oAB({type:Ce}),Ce.\u0275inj=i.cJS({providers:yt,imports:[a.ez,i.hGG]}),Ce})(),he=(()=>{class Ce{constructor(rt){this._doc=rt}getTitle(){return this._doc.title}setTitle(rt){this._doc.title=rt||""}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(a.K0))},Ce.\u0275prov=i.Yz7({token:Ce,factory:function(rt){let Nt=null;return Nt=rt?new rt:
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function xe(){return new he((0,i.LFG)(a.K0))}(),Nt},providedIn:"root"}),Ce})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function In(Ce){return Ce}"undefined"!=typeof window&&window;let wn=(()=>{class Ce{constructor(){this.store={},this.onSerializeCallbacks={}}static init(rt){const Nt=new Ce;return Nt.store=rt,Nt}get(rt,Nt){return void 0!==this.store[rt]?this.store[rt]:Nt}set(rt,Nt){this.store[rt]=Nt}remove(rt){delete this.store[rt]}hasKey(rt){return this.store.hasOwnProperty(rt)}onSerialize(rt,Nt){this.onSerializeCallbacks[rt]=Nt}toJson(){for(const rt in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(rt))try{this.store[rt]=this.onSerializeCallbacks[rt]()}catch(Nt){console.warn("Exception in onSerialize callback: ",Nt)}return JSON.stringify(this.store)}}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})();function Wn(Ce,Qe){const rt=Ce.getElementById(Qe+"-state");let Nt={};if(rt&&rt.textContent)try{Nt=JSON.parse(function Nn(Ce){const Qe={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Ce.replace(/&[^;]+;/g,rt=>Qe[rt])}(rt.textContent))}catch(sn){console.warn("Exception while restoring TransferState for app "+Qe,sn)}return wn.init(Nt)}let Bn=(()=>{class Ce{}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275mod=i.oAB({type:Ce}),Ce.\u0275inj=i.cJS({providers:[{provide:wn,useFactory:Wn,deps:[a.K0,i.AFp]}]}),Ce})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const ht={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},be=new i.OlP("HammerGestureConfig"),Ze=new i.OlP("HammerLoader");let _t=(()=>{class Ce{constructor(){this.events=[],this.overrides={}}buildHammer(rt){const Nt=new Hammer(rt,this.options);Nt.get("pinch").set({enable:!0}),Nt.get("rotate").set({enable:!0});for(const sn in this.overrides)Nt.get(sn).set(this.overrides[sn]);return Nt}}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),st=(()=>{class Ce extends R{constructor(rt,Nt,sn,On){super(rt),this._config=Nt,this.console=sn,this.loader=On,this._loaderPromise=null}supports(rt){return!(!ht.hasOwnProperty(rt.toLowerCase())&&!this.isCustomEvent(rt)||!window.Hammer&&!this.loader)}addEventListener(rt,Nt,sn){const On=this.manager.getZone();if(Nt=Nt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Ln=!1,zn=()=>{Ln=!0};return this._loaderPromise.then(()=>{window.Hammer?Ln||(zn=this.addEventListener(rt,Nt,sn)):zn=()=>{}}).catch(()=>{zn=()=>{}}),()=>{zn()}}return On.runOutsideAngular(()=>{const Ln=this._config.buildHammer(rt),zn=function(hi){On.runGuarded(function(){sn(hi)})};return Ln.on(Nt,zn),()=>{Ln.off(Nt,zn),"function"==typeof Ln.destroy&&Ln.destroy()}})}isCustomEvent(rt){return this._config.events.indexOf(rt)>-1}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(a.K0),i.LFG(be),i.LFG(i.c2e),i.LFG(Ze,8))},Ce.\u0275prov=i.Yz7({token:Ce,factory:Ce.\u0275fac}),Ce})(),Ut=(()=>{class Ce{}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275mod=i.oAB({type:Ce}),Ce.\u0275inj=i.cJS({providers:[{provide:A,useClass:st,multi:!0,deps:[a.K0,be,i.c2e,[new i.FiY,Ze]]},{provide:be,useClass:_t,deps:[]}]}),Ce})(),Ht=(()=>{class Ce{}return Ce.\u0275fac=function(rt){return new(rt||Ce)},Ce.\u0275prov=i.Yz7({token:Ce,factory:function(rt){let Nt=null;return Nt=rt?new(rt||Ce):i.LFG(jt),Nt},providedIn:"root"}),Ce})(),jt=(()=>{class Ce extends Ht{constructor(rt){super(),this._doc=rt}sanitize(rt,Nt){if(null==Nt)return null;switch(rt){case i.q3G.NONE:return Nt;case i.q3G.HTML:return(0,i.qzn)(Nt,"HTML")?(0,i.z3N)(Nt):(0,i.EiD)(this._doc,String(Nt)).toString();case i.q3G.STYLE:return(0,i.qzn)(Nt,"Style")?(0,i.z3N)(Nt):Nt;case i.q3G.SCRIPT:if((0,i.qzn)(Nt,"Script"))return(0,i.z3N)(Nt);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(Nt),(0,i.qzn)(Nt,"URL")?(0,i.z3N)(Nt):(0,i.mCW)(String(Nt));case i.q3G.RESOURCE_URL:if((0,i.qzn)(Nt,"ResourceURL"))return(0,i.z3N)(Nt);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${rt} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(rt){return(0,i.JVY)(rt)}bypassSecurityTrustStyle(rt){return(0,i.L6k)(rt)}bypassSecurityTrustScript(rt){return(0,i.eBb)(rt)}bypassSecurityTrustUrl(rt){return(0,i.LAX)(rt)}bypassSecurityTrustResourceUrl(rt){return(0,i.pB0)(rt)}}return Ce.\u0275fac=function(rt){return new(rt||Ce)(i.LFG(a.K0))},Ce.\u0275prov=i.Yz7({token:Ce,factory:function(rt){let Nt=null;return Nt=rt?new rt:function dn(Ce){return new jt(Ce.get(a.K0))}(i.LFG(i.zs3)),Nt},providedIn:"root"}),Ce})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,30325:(ze,G,l)=>{"use strict";l.d(G,{gz:()=>Ti,gk:()=>He,m2:()=>pe,Q3:()=>et,OD:()=>fe,Av:()=>gt,F0:()=>gs,Od:()=>Mi,yS:()=>zs,Bz:()=>rr,lC:()=>Di});var a=l(5e3),i=l(5254),d=l(21086),p=l(591),C=l(36053),f=l(61737),v=l(84450),b=l(61221),m=l(88514),I=l(32916),L=l(68896),M=l(71762),D=l(8929),A=l(24850),B=l(87545),R=l(72986),x=l(1059),w=l(43489);function k(Te,ie){let q=!1;return arguments.length>=2&&(q=!0),function(ot){return ot.lift(new H(Te,ie,q))}}class H{constructor(ie,q,Ue=!1){this.accumulator=ie,this.seed=q,this.hasSeed=Ue}call(ie,q){return q.subscribe(new j(ie,this.accumulator,this.seed,this.hasSeed))}}class j extends w.L{constructor(ie,q,Ue,ot){super(ie),this.accumulator=q,this._seed=Ue,this.hasSeed=ot,this.index=0}get seed(){return this._seed}set seed(ie){this.hasSeed=!0,this._seed=ie}_next(ie){if(this.hasSeed)return this._tryNext(ie);this.seed=ie,this.destination.next(ie)}_tryNext(ie){const q=this.index++;let Ue;try{Ue=this.accumulator(this.seed,ie,q)}catch(ot){this.destination.error(ot)}this.seed=Ue,this.destination.next(Ue)}}var z=l(92198),le=l(27221),oe=l(21406),$=l(94231);function y(Te){return function(q){return 0===Te?(0,L.c)():q.lift(new ae(Te))}}class ae{constructor(ie){if(this.total=ie,this.total<0)throw new $.W}call(ie,q){return q.subscribe(new ge(ie,this.total))}}class ge extends w.L{constructor(ie,q){super(ie),this.total=q,this.ring=new Array,this.count=0}_next(ie){const q=this.ring,Ue=this.total,ot=this.count++;q.length<Ue?q.push(ie):q[ot%Ue]=ie}_complete(){const ie=this.destination;let q=this.count;if(q>0){const Ue=this.count>=this.total?this.total:this.count,ot=this.ring;for(let kt=0;kt<Ue;kt++){const en=q++%Ue;ie.next(ot[en])}}ie.complete()}}var Ve=l(34907),$e=l(47314),Be=l(35379),Ie=l(87224),Re=l(61709),Ge=l(22868),it=l(74327),Se=l(40537),Z=l(89146),V=l(69808);
/**
       * @license Angular v13.4.0
       * (c) 2010-2022 Google LLC. https://angular.io/
       * License: MIT
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class U{constructor(ie,q){this.id=ie,this.url=q}}class fe extends U{constructor(ie,q,Ue="imperative",ot=null){super(ie,q),this.navigationTrigger=Ue,this.restoredState=ot}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class pe extends U{constructor(ie,q,Ue){super(ie,q),this.urlAfterRedirects=Ue}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class He extends U{constructor(ie,q,Ue){super(ie,q),this.reason=Ue}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class et extends U{constructor(ie,q,Ue){super(ie,q),this.error=Ue}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class de extends U{constructor(ie,q,Ue,ot){super(ie,q),this.urlAfterRedirects=Ue,this.state=ot}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lt extends U{constructor(ie,q,Ue,ot){super(ie,q),this.urlAfterRedirects=Ue,this.state=ot}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class St extends U{constructor(ie,q,Ue,ot,kt){super(ie,q),this.urlAfterRedirects=Ue,this.state=ot,this.shouldActivate=kt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qt extends U{constructor(ie,q,Ue,ot){super(ie,q),this.urlAfterRedirects=Ue,this.state=ot}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gt extends U{constructor(ie,q,Ue,ot){super(ie,q),this.urlAfterRedirects=Ue,this.state=ot}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class yt{constructor(ie){this.route=ie}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Je{constructor(ie){this.route=ie}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ct{constructor(ie){this.snapshot=ie}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xe{constructor(ie){this.snapshot=ie}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(ie){this.snapshot=ie}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xe{constructor(ie){this.snapshot=ie}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class he{constructor(ie,q,Ue){this.routerEvent=ie,this.position=q,this.anchor=Ue}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const N="primary";class F{constructor(ie){this.params=ie||{}}has(ie){return Object.prototype.hasOwnProperty.call(this.params,ie)}get(ie){if(this.has(ie)){const q=this.params[ie];return Array.isArray(q)?q[0]:q}return null}getAll(ie){if(this.has(ie)){const q=this.params[ie];return Array.isArray(q)?q:[q]}return[]}get keys(){return Object.keys(this.params)}}function Y(Te){return new F(Te)}const re="ngNavigationCancelingError";function Oe(Te){const ie=Error("NavigationCancelingError: "+Te);return ie[re]=!0,ie}function vt(Te,ie,q){const Ue=q.path.split("/");if(Ue.length>Te.length||"full"===q.pathMatch&&(ie.hasChildren()||Ue.length<Te.length))return null;const ot={};for(let kt=0;kt<Ue.length;kt++){const en=Ue[kt],fn=Te[kt];if(en.startsWith(":"))ot[en.substring(1)]=fn;else if(en!==fn.path)return null}return{consumed:Te.slice(0,Ue.length),posParams:ot}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Jt(Te,ie){const q=Te?Object.keys(Te):void 0,Ue=ie?Object.keys(ie):void 0;if(!q||!Ue||q.length!=Ue.length)return!1;let ot;for(let kt=0;kt<q.length;kt++)if(ot=q[kt],!hn(Te[ot],ie[ot]))return!1;return!0}function hn(Te,ie){if(Array.isArray(Te)&&Array.isArray(ie)){if(Te.length!==ie.length)return!1;const q=[...Te].sort(),Ue=[...ie].sort();return q.every((ot,kt)=>Ue[kt]===ot)}return Te===ie}function gn(Te){return Array.prototype.concat.apply([],Te)}function yn(Te){return Te.length>0?Te[Te.length-1]:null}function Nn(Te,ie){for(const q in Te)Te.hasOwnProperty(q)&&ie(Te[q],q)}function In(Te){return(0,a.CqO)(Te)?Te:(0,a.QGY)(Te)?(0,i.D)(Promise.resolve(Te)):(0,d.of)(Te)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Wn={exact:function ht(Te,ie,q){if(!ce(Te.segments,ie.segments)||!st(Te.segments,ie.segments,q)||Te.numberOfChildren!==ie.numberOfChildren)return!1;for(const Ue in ie.children)if(!Te.children[Ue]||!ht(Te.children[Ue],ie.children[Ue],q))return!1;return!0},subset:Ze},Bn={exact:function Pt(Te,ie){return Jt(Te,ie)},subset:function be(Te,ie){return Object.keys(ie).length<=Object.keys(Te).length&&Object.keys(ie).every(q=>hn(Te[q],ie[q]))},ignored:()=>!0};function Xt(Te,ie,q){return Wn[q.paths](Te.root,ie.root,q.matrixParams)&&Bn[q.queryParams](Te.queryParams,ie.queryParams)&&!("exact"===q.fragment&&Te.fragment!==ie.fragment)}function Ze(Te,ie,q){return _t(Te,ie,ie.segments,q)}function _t(Te,ie,q,Ue){if(Te.segments.length>q.length){const ot=Te.segments.slice(0,q.length);return!(!ce(ot,q)||ie.hasChildren()||!st(ot,q,Ue))}if(Te.segments.length===q.length){if(!ce(Te.segments,q)||!st(Te.segments,q,Ue))return!1;for(const ot in ie.children)if(!Te.children[ot]||!Ze(Te.children[ot],ie.children[ot],Ue))return!1;return!0}{const ot=q.slice(0,Te.segments.length),kt=q.slice(Te.segments.length);return!!(ce(Te.segments,ot)&&st(Te.segments,ot,Ue)&&Te.children[N])&&_t(Te.children[N],ie,kt,Ue)}}function st(Te,ie,q){return ie.every((Ue,ot)=>Bn[q](Te[ot].parameters,Ue.parameters))}class Ut{constructor(ie,q,Ue){this.root=ie,this.queryParams=q,this.fragment=Ue}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Y(this.queryParams)),this._queryParamMap}toString(){return Nt.serialize(this)}}class Ht{constructor(ie,q){this.segments=ie,this.children=q,this.parent=null,Nn(q,(Ue,ot)=>Ue.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return sn(this)}}class dn{constructor(ie,q){this.path=ie,this.parameters=q}get parameterMap(){return this._parameterMap||(this._parameterMap=Y(this.parameters)),this._parameterMap}toString(){return ji(this)}}function ce(Te,ie){return Te.length===ie.length&&Te.every((q,Ue)=>q.path===ie[Ue].path)}class Qe{}class rt{parse(ie){const q=new cn(ie);return new Ut(q.parseRootSegment(),q.parseQueryParams(),q.parseFragment())}serialize(ie){const q=`/${On(ie.root,!0)}`,Ue=function Ni(Te){const ie=Object.keys(Te).map(q=>{const Ue=Te[q];return Array.isArray(Ue)?Ue.map(ot=>`${zn(q)}=${zn(ot)}`).join("&"):`${zn(q)}=${zn(Ue)}`}).filter(q=>!!q);return ie.length?`?${ie.join("&")}`:""}(ie.queryParams);return`${q}${Ue}${"string"==typeof ie.fragment?`#${function hi(Te){return encodeURI(Te)}(ie.fragment)}`:""}`}}const Nt=new rt;function sn(Te){return Te.segments.map(ie=>ji(ie)).join("/")}function On(Te,ie){if(!Te.hasChildren())return sn(Te);if(ie){const q=Te.children[N]?On(Te.children[N],!1):"",Ue=[];return Nn(Te.children,(ot,kt)=>{kt!==N&&Ue.push(`${kt}:${On(ot,!1)}`)}),Ue.length>0?`${q}(${Ue.join("//")})`:q}{const q=function Ce(Te,ie){let q=[];return Nn(Te.children,(Ue,ot)=>{ot===N&&(q=q.concat(ie(Ue,ot)))}),Nn(Te.children,(Ue,ot)=>{ot!==N&&(q=q.concat(ie(Ue,ot)))}),q}(Te,(Ue,ot)=>ot===N?[On(Te.children[N],!1)]:[`${ot}:${On(Ue,!1)}`]);return 1===Object.keys(Te.children).length&&null!=Te.children[N]?`${sn(Te)}/${q[0]}`:`${sn(Te)}/(${q.join("//")})`}}function Ln(Te){return encodeURIComponent(Te).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function zn(Te){return Ln(Te).replace(/%3B/gi,";")}function mi(Te){return Ln(Te).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gi(Te){return decodeURIComponent(Te)}function ki(Te){return gi(Te.replace(/\+/g,"%20"))}function ji(Te){return`${mi(Te.path)}${function Ki(Te){return Object.keys(Te).map(ie=>`;${mi(ie)}=${mi(Te[ie])}`).join("")}(Te.parameters)}`}const Kn=/^[^\/()?;=#]+/;function vi(Te){const ie=Te.match(Kn);return ie?ie[0]:""}const Ai=/^[^=?&#]+/,Xi=/^[^&#]+/;class cn{constructor(ie){this.url=ie,this.remaining=ie}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ht([],{}):new Ht([],this.parseChildren())}parseQueryParams(){const ie={};if(this.consumeOptional("?"))do{this.parseQueryParam(ie)}while(this.consumeOptional("&"));return ie}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ie=[];for(this.peekStartsWith("(")||ie.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ie.push(this.parseSegment());let q={};this.peekStartsWith("/(")&&(this.capture("/"),q=this.parseParens(!0));let Ue={};return this.peekStartsWith("(")&&(Ue=this.parseParens(!1)),(ie.length>0||Object.keys(q).length>0)&&(Ue[N]=new Ht(ie,q)),Ue}parseSegment(){const ie=vi(this.remaining);if(""===ie&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(ie),new dn(gi(ie),this.parseMatrixParams())}parseMatrixParams(){const ie={};for(;this.consumeOptional(";");)this.parseParam(ie);return ie}parseParam(ie){const q=vi(this.remaining);if(!q)return;this.capture(q);let Ue="";if(this.consumeOptional("=")){const ot=vi(this.remaining);ot&&(Ue=ot,this.capture(Ue))}ie[gi(q)]=gi(Ue)}parseQueryParam(ie){const q=function Ji(Te){const ie=Te.match(Ai);return ie?ie[0]:""}(this.remaining);if(!q)return;this.capture(q);let Ue="";if(this.consumeOptional("=")){const en=function Li(Te){const ie=Te.match(Xi);return ie?ie[0]:""}(this.remaining);en&&(Ue=en,this.capture(Ue))}const ot=ki(q),kt=ki(Ue);if(ie.hasOwnProperty(ot)){let en=ie[ot];Array.isArray(en)||(en=[en],ie[ot]=en),en.push(kt)}else ie[ot]=kt}parseParens(ie){const q={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ue=vi(this.remaining),ot=this.remaining[Ue.length];if("/"!==ot&&")"!==ot&&";"!==ot)throw new Error(`Cannot parse url '${this.url}'`);let kt;Ue.indexOf(":")>-1?(kt=Ue.substr(0,Ue.indexOf(":")),this.capture(kt),this.capture(":")):ie&&(kt=N);const en=this.parseChildren();q[kt]=1===Object.keys(en).length?en[N]:new Ht([],en),this.consumeOptional("//")}return q}peekStartsWith(ie){return this.remaining.startsWith(ie)}consumeOptional(ie){return!!this.peekStartsWith(ie)&&(this.remaining=this.remaining.substring(ie.length),!0)}capture(ie){if(!this.consumeOptional(ie))throw new Error(`Expected "${ie}".`)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class qn{constructor(ie){this._root=ie}get root(){return this._root.value}parent(ie){const q=this.pathFromRoot(ie);return q.length>1?q[q.length-2]:null}children(ie){const q=Qn(ie,this._root);return q?q.children.map(Ue=>Ue.value):[]}firstChild(ie){const q=Qn(ie,this._root);return q&&q.children.length>0?q.children[0].value:null}siblings(ie){const q=fi(ie,this._root);return q.length<2?[]:q[q.length-2].children.map(ot=>ot.value).filter(ot=>ot!==ie)}pathFromRoot(ie){return fi(ie,this._root).map(q=>q.value)}}function Qn(Te,ie){if(Te===ie.value)return ie;for(const q of ie.children){const Ue=Qn(Te,q);if(Ue)return Ue}return null}function fi(Te,ie){if(Te===ie.value)return[ie];for(const q of ie.children){const Ue=fi(Te,q);if(Ue.length)return Ue.unshift(ie),Ue}return[]}class oi{constructor(ie,q){this.value=ie,this.children=q}toString(){return`TreeNode(${this.value})`}}function Xn(Te){const ie={};return Te&&Te.children.forEach(q=>ie[q.value.outlet]=q),ie
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}class Bi extends qn{constructor(ie,q){super(ie),this.snapshot=q,Ke(this,ie)}toString(){return this.snapshot.toString()}}function ir(Te,ie){const q=function Yi(Te,ie){const en=new Ct([],{},{},"",{},N,ie,null,Te.root,-1,{});return new Et("",new oi(en,[]))}(Te,ie),Ue=new p.X([new dn("",{})]),ot=new p.X({}),kt=new p.X({}),en=new p.X({}),fn=new p.X(""),jn=new Ti(Ue,ot,en,fn,kt,N,ie,q.root);return jn.snapshot=q.root,new Bi(new oi(jn,[]),q)}class Ti{constructor(ie,q,Ue,ot,kt,en,fn,jn){this.url=ie,this.params=q,this.queryParams=Ue,this.fragment=ot,this.data=kt,this.outlet=en,this.component=fn,this._futureSnapshot=jn}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,A.U)(ie=>Y(ie)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,A.U)(ie=>Y(ie)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function nn(Te,ie="emptyOnly"){const q=Te.pathFromRoot;let Ue=0;if("always"!==ie)for(Ue=q.length-1;Ue>=1;){const ot=q[Ue],kt=q[Ue-1];if(ot.routeConfig&&""===ot.routeConfig.path)Ue--;else{if(kt.component)break;Ue--}}return function Zt(Te){return Te.reduce((ie,q)=>({params:Object.assign(Object.assign({},ie.params),q.params),data:Object.assign(Object.assign({},ie.data),q.data),resolve:Object.assign(Object.assign({},ie.resolve),q._resolvedData)}),{params:{},data:{},resolve:{}})}(q.slice(Ue))}class Ct{constructor(ie,q,Ue,ot,kt,en,fn,jn,yi,hr,Pi){this.url=ie,this.params=q,this.queryParams=Ue,this.fragment=ot,this.data=kt,this.outlet=en,this.component=fn,this.routeConfig=jn,this._urlSegment=yi,this._lastPathIndex=hr,this._resolve=Pi}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=Y(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Y(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ue=>Ue.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Et extends qn{constructor(ie,q){super(q),this.url=ie,Ke(this,q)}toString(){return Lt(this._root)}}function Ke(Te,ie){ie.value._routerState=Te,ie.children.forEach(q=>Ke(Te,q))}function Lt(Te){const ie=Te.children.length>0?` { ${Te.children.map(Lt).join(", ")} } `:"";return`${Te.value}${ie}`}function ut(Te){if(Te.snapshot){const ie=Te.snapshot,q=Te._futureSnapshot;Te.snapshot=q,Jt(ie.queryParams,q.queryParams)||Te.queryParams.next(q.queryParams),ie.fragment!==q.fragment&&Te.fragment.next(q.fragment),Jt(ie.params,q.params)||Te.params.next(q.params),function Vt(Te,ie){if(Te.length!==ie.length)return!1;for(let q=0;q<Te.length;++q)if(!Jt(Te[q],ie[q]))return!1;return!0}(ie.url,q.url)||Te.url.next(q.url),Jt(ie.data,q.data)||Te.data.next(q.data)}else Te.snapshot=Te._futureSnapshot,Te.data.next(Te._futureSnapshot.data)}function Un(Te,ie){const q=Jt(Te.params,ie.params)&&function jt(Te,ie){return ce(Te,ie)&&Te.every((q,Ue)=>Jt(q.parameters,ie[Ue].parameters))}(Te.url,ie.url);return q&&!(!Te.parent!=!ie.parent)&&(!Te.parent||Un(Te.parent,ie.parent))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function En(Te,ie,q){if(q&&Te.shouldReuseRoute(ie.value,q.value.snapshot)){const Ue=q.value;Ue._futureSnapshot=ie.value;const ot=function ye(Te,ie,q){return ie.children.map(Ue=>{for(const ot of q.children)if(Te.shouldReuseRoute(Ue.value,ot.value.snapshot))return En(Te,Ue,ot);return En(Te,Ue)})}(Te,ie,q);return new oi(Ue,ot)}{if(Te.shouldAttach(ie.value)){const kt=Te.retrieve(ie.value);if(null!==kt){const en=kt.route;return en.value._futureSnapshot=ie.value,en.children=ie.children.map(fn=>En(Te,fn)),en}}const Ue=function Bt(Te){return new Ti(new p.X(Te.url),new p.X(Te.params),new p.X(Te.queryParams),new p.X(Te.fragment),new p.X(Te.data),Te.outlet,Te.component,Te)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(ie.value),ot=ie.children.map(kt=>En(Te,kt));return new oi(Ue,ot)}}function Ne(Te){return"object"==typeof Te&&null!=Te&&!Te.outlets&&!Te.segmentPath}function ve(Te){return"object"==typeof Te&&null!=Te&&Te.outlets}function at(Te,ie,q,Ue,ot){let kt={};if(Ue&&Nn(Ue,(fn,jn)=>{kt[jn]=Array.isArray(fn)?fn.map(yi=>`${yi}`):`${fn}`}),Te===ie)return new Ut(q,kt,ot);const en=Rt(Te,ie,q);return new Ut(en,kt,ot)}function Rt(Te,ie,q){const Ue={};return Nn(Te.children,(ot,kt)=>{Ue[kt]=ot===ie?q:Rt(ot,ie,q)}),new Ht(Te.segments,Ue)}class bn{constructor(ie,q,Ue){if(this.isAbsolute=ie,this.numberOfDoubleDots=q,this.commands=Ue,ie&&Ue.length>0&&Ne(Ue[0]))throw new Error("Root segment cannot have matrix parameters");const ot=Ue.find(ve);if(ot&&ot!==yn(Ue))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ne{constructor(ie,q,Ue){this.segmentGroup=ie,this.processChildren=q,this.index=Ue}}function Wt(Te,ie,q){if(Te||(Te=new Ht([],{})),0===Te.segments.length&&Te.hasChildren())return _e(Te,ie,q);const Ue=function je(Te,ie,q){let Ue=0,ot=ie;const kt={match:!1,pathIndex:0,commandIndex:0};for(;ot<Te.segments.length;){if(Ue>=q.length)return kt;const en=Te.segments[ot],fn=q[Ue];if(ve(fn))break;const jn=`${fn}`,yi=Ue<q.length-1?q[Ue+1]:null;if(ot>0&&void 0===jn)break;if(jn&&yi&&"object"==typeof yi&&void 0===yi.outlets){if(!T(jn,yi,en))return kt;Ue+=2}else{if(!T(jn,{},en))return kt;Ue++}ot++}return{match:!0,pathIndex:ot,commandIndex:Ue}}(Te,ie,q),ot=q.slice(Ue.commandIndex);if(Ue.match&&Ue.pathIndex<Te.segments.length){const kt=new Ht(Te.segments.slice(0,Ue.pathIndex),{});return kt.children[N]=new Ht(Te.segments.slice(Ue.pathIndex),Te.children),_e(kt,0,ot)}return Ue.match&&0===ot.length?new Ht(Te.segments,{}):Ue.match&&!Te.hasChildren()?E(Te,ie,q):Ue.match?_e(Te,0,ot):E(Te,ie,q)}function _e(Te,ie,q){if(0===q.length)return new Ht(Te.segments,{});{const Ue=function Tt(Te){return ve(Te[0])?Te[0].outlets:{[N]:Te}}(q),ot={};return Nn(Ue,(kt,en)=>{"string"==typeof kt&&(kt=[kt]),null!==kt&&(ot[en]=Wt(Te.children[en],ie,kt))}),Nn(Te.children,(kt,en)=>{void 0===Ue[en]&&(ot[en]=kt)}),new Ht(Te.segments,ot)}}function E(Te,ie,q){const Ue=Te.segments.slice(0,ie);let ot=0;for(;ot<q.length;){const kt=q[ot];if(ve(kt)){const jn=te(kt.outlets);return new Ht(Ue,jn)}if(0===ot&&Ne(q[0])){Ue.push(new dn(Te.segments[ie].path,O(q[0]))),ot++;continue}const en=ve(kt)?kt.outlets[N]:`${kt}`,fn=ot<q.length-1?q[ot+1]:null;en&&fn&&Ne(fn)?(Ue.push(new dn(en,O(fn))),ot+=2):(Ue.push(new dn(en,{})),ot++)}return new Ht(Ue,{})}function te(Te){const ie={};return Nn(Te,(q,Ue)=>{"string"==typeof q&&(q=[q]),null!==q&&(ie[Ue]=E(new Ht([],{}),0,q))}),ie}function O(Te){const ie={};return Nn(Te,(q,Ue)=>ie[Ue]=`${q}`),ie}function T(Te,ie,q){return Te==q.path&&Jt(ie,q.parameters)}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class me{constructor(ie,q,Ue,ot){this.routeReuseStrategy=ie,this.futureState=q,this.currState=Ue,this.forwardEvent=ot}activate(ie){const q=this.futureState._root,Ue=this.currState?this.currState._root:null;this.deactivateChildRoutes(q,Ue,ie),ut(this.futureState.root),this.activateChildRoutes(q,Ue,ie)}deactivateChildRoutes(ie,q,Ue){const ot=Xn(q);ie.children.forEach(kt=>{const en=kt.value.outlet;this.deactivateRoutes(kt,ot[en],Ue),delete ot[en]}),Nn(ot,(kt,en)=>{this.deactivateRouteAndItsChildren(kt,Ue)})}deactivateRoutes(ie,q,Ue){const ot=ie.value,kt=q?q.value:null;if(ot===kt)if(ot.component){const en=Ue.getContext(ot.outlet);en&&this.deactivateChildRoutes(ie,q,en.children)}else this.deactivateChildRoutes(ie,q,Ue);else kt&&this.deactivateRouteAndItsChildren(q,Ue)}deactivateRouteAndItsChildren(ie,q){ie.value.component&&this.routeReuseStrategy.shouldDetach(ie.value.snapshot)?this.detachAndStoreRouteSubtree(ie,q):this.deactivateRouteAndOutlet(ie,q)}detachAndStoreRouteSubtree(ie,q){const Ue=q.getContext(ie.value.outlet),ot=Ue&&ie.value.component?Ue.children:q,kt=Xn(ie);for(const en of Object.keys(kt))this.deactivateRouteAndItsChildren(kt[en],ot);if(Ue&&Ue.outlet){const en=Ue.outlet.detach(),fn=Ue.children.onOutletDeactivated();this.routeReuseStrategy.store(ie.value.snapshot,{componentRef:en,route:ie,contexts:fn})}}deactivateRouteAndOutlet(ie,q){const Ue=q.getContext(ie.value.outlet),ot=Ue&&ie.value.component?Ue.children:q,kt=Xn(ie);for(const en of Object.keys(kt))this.deactivateRouteAndItsChildren(kt[en],ot);Ue&&Ue.outlet&&(Ue.outlet.deactivate(),Ue.children.onOutletDeactivated(),Ue.attachRef=null,Ue.resolver=null,Ue.route=null)}activateChildRoutes(ie,q,Ue){const ot=Xn(q);ie.children.forEach(kt=>{this.activateRoutes(kt,ot[kt.value.outlet],Ue),this.forwardEvent(new xe(kt.value.snapshot))}),ie.children.length&&this.forwardEvent(new Xe(ie.value.snapshot))}activateRoutes(ie,q,Ue){const ot=ie.value,kt=q?q.value:null;if(ut(ot),ot===kt)if(ot.component){const en=Ue.getOrCreateContext(ot.outlet);this.activateChildRoutes(ie,q,en.children)}else this.activateChildRoutes(ie,q,Ue);else if(ot.component){const en=Ue.getOrCreateContext(ot.outlet);if(this.routeReuseStrategy.shouldAttach(ot.snapshot)){const fn=this.routeReuseStrategy.retrieve(ot.snapshot);this.routeReuseStrategy.store(ot.snapshot,null),en.children.onOutletReAttached(fn.contexts),en.attachRef=fn.componentRef,en.route=fn.route.value,en.outlet&&en.outlet.attach(fn.componentRef,fn.route.value),ut(fn.route.value),this.activateChildRoutes(ie,null,en.children)}else{const fn=function pt(Te){for(let ie=Te.parent;ie;ie=ie.parent){const q=ie.routeConfig;if(q&&q._loadedConfig)return q._loadedConfig;if(q&&q.component)return null}return null}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(ot.snapshot),jn=fn?fn.module.componentFactoryResolver:null;en.attachRef=null,en.route=ot,en.resolver=jn,en.outlet&&en.outlet.activateWith(ot,jn),this.activateChildRoutes(ie,null,en.children)}}else this.activateChildRoutes(ie,null,Ue)}}class bt{constructor(ie,q){this.routes=ie,this.module=q}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function It(Te){return"function"==typeof Te}function mn(Te){return Te instanceof Ut}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
const Vn=Symbol("INITIAL_VALUE");function Jn(){return(0,B.w)(Te=>(0,C.aj)(Te.map(ie=>ie.pipe((0,R.q)(1),(0,x.O)(Vn)))).pipe(k((ie,q)=>{let Ue=!1;return q.reduce((ot,kt,en)=>ot!==Vn?ot:(kt===Vn&&(Ue=!0),Ue||!1!==kt&&en!==q.length-1&&!mn(kt)?ot:kt),ie)},Vn),(0,z.h)(ie=>ie!==Vn),(0,A.U)(ie=>mn(ie)?ie:!0===ie),(0,R.q)(1)))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class ci{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ti,this.attachRef=null}}class ti{constructor(){this.contexts=new Map}onChildOutletCreated(ie,q){const Ue=this.getOrCreateContext(ie);Ue.outlet=q,this.contexts.set(ie,Ue)}onChildOutletDestroyed(ie){const q=this.getContext(ie);q&&(q.outlet=null,q.attachRef=null)}onOutletDeactivated(){const ie=this.contexts;return this.contexts=new Map,ie}onOutletReAttached(ie){this.contexts=ie}getOrCreateContext(ie){let q=this.getContext(ie);return q||(q=new ci,this.contexts.set(ie,q)),q}getContext(ie){return this.contexts.get(ie)||null}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Di=(()=>{class Te{constructor(q,Ue,ot,kt,en){this.parentContexts=q,this.location=Ue,this.resolver=ot,this.changeDetector=en,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.vpe,this.deactivateEvents=new a.vpe,this.attachEvents=new a.vpe,this.detachEvents=new a.vpe,this.name=kt||N,q.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const q=this.parentContexts.getContext(this.name);q&&q.route&&(q.attachRef?this.attach(q.attachRef,q.route):this.activateWith(q.route,q.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const q=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(q.instance),q}attach(q,Ue){this.activated=q,this._activatedRoute=Ue,this.location.insert(q.hostView),this.attachEvents.emit(q.instance)}deactivate(){if(this.activated){const q=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(q)}}activateWith(q,Ue){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=q;const en=(Ue=Ue||this.resolver).resolveComponentFactory(q._futureSnapshot.routeConfig.component),fn=this.parentContexts.getOrCreateContext(this.name).children,jn=new Ci(q,fn,this.location.injector);this.activated=this.location.createComponent(en,this.location.length,jn),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return Te.\u0275fac=function(q){return new(q||Te)(a.Y36(ti),a.Y36(a.s_b),a.Y36(a._Vd),a.$8M("name"),a.Y36(a.sBO))},Te.\u0275dir=a.lG2({type:Te,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),Te})();class Ci{constructor(ie,q,Ue){this.route=ie,this.childContexts=q,this.parent=Ue}get(ie,q){return ie===Ti?this.route:ie===ti?this.childContexts:this.parent.get(ie,q)}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let li=(()=>{class Te{}return Te.\u0275fac=function(q){return new(q||Te)},Te.\u0275cmp=a.Xpm({type:Te,selectors:[["ng-component"]],decls:1,vars:0,template:function(q,Ue){1&q&&a._UZ(0,"router-outlet")},directives:[Di],encapsulation:2}),Te})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function $i(Te,ie=""){for(let q=0;q<Te.length;q++){const Ue=Te[q];Gi(Ue,cr(ie,Ue))}}function Gi(Te,ie){Te.children&&$i(Te.children,ie)}function cr(Te,ie){return ie?Te||ie.path?Te&&!ie.path?`${Te}/`:!Te&&ie.path?ie.path:`${Te}/${ie.path}`:"":Te}function ar(Te){const ie=Te.children&&Te.children.map(ar),q=ie?Object.assign(Object.assign({},Te),{children:ie}):Object.assign({},Te);return!q.component&&(ie||q.loadChildren)&&q.outlet&&q.outlet!==N&&(q.component=li),q}function ur(Te){return Te.outlet||N}function Pr(Te,ie){const q=Te.filter(Ue=>ur(Ue)===ie);return q.push(...Te.filter(Ue=>ur(Ue)!==ie)),q
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */}const Ur={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function as(Te,ie,q){var Ue;if(""===ie.path)return"full"===ie.pathMatch&&(Te.hasChildren()||q.length>0)?Object.assign({},Ur):{matched:!0,consumedSegments:[],remainingSegments:q,parameters:{},positionalParamSegments:{}};const kt=(ie.matcher||vt)(q,Te,ie);if(!kt)return Object.assign({},Ur);const en={};Nn(kt.posParams,(jn,yi)=>{en[yi]=jn.path});const fn=kt.consumed.length>0?Object.assign(Object.assign({},en),kt.consumed[kt.consumed.length-1].parameters):en;return{matched:!0,consumedSegments:kt.consumed,remainingSegments:q.slice(kt.consumed.length),parameters:fn,positionalParamSegments:null!==(Ue=kt.posParams)&&void 0!==Ue?Ue:{}}}function er(Te,ie,q,Ue,ot="corrected"){if(q.length>0&&function Lr(Te,ie,q){return q.some(Ue=>go(Te,ie,Ue)&&ur(Ue)!==N)}(Te,q,Ue)){const en=new Ht(ie,function ls(Te,ie,q,Ue){const ot={};ot[N]=Ue,Ue._sourceSegment=Te,Ue._segmentIndexShift=ie.length;for(const kt of q)if(""===kt.path&&ur(kt)!==N){const en=new Ht([],{});en._sourceSegment=Te,en._segmentIndexShift=ie.length,ot[ur(kt)]=en}return ot}(Te,ie,Ue,new Ht(q,Te.children)));return en._sourceSegment=Te,en._segmentIndexShift=ie.length,{segmentGroup:en,slicedSegments:[]}}if(0===q.length&&function Hs(Te,ie,q){return q.some(Ue=>go(Te,ie,Ue))}(Te,q,Ue)){const en=new Ht(Te.segments,function Ns(Te,ie,q,Ue,ot,kt){const en={};for(const fn of Ue)if(go(Te,q,fn)&&!ot[ur(fn)]){const jn=new Ht([],{});jn._sourceSegment=Te,jn._segmentIndexShift="legacy"===kt?Te.segments.length:ie.length,en[ur(fn)]=jn}return Object.assign(Object.assign({},ot),en)}(Te,ie,q,Ue,Te.children,ot));return en._sourceSegment=Te,en._segmentIndexShift=ie.length,{segmentGroup:en,slicedSegments:q}}const kt=new Ht(Te.segments,Te.children);return kt._sourceSegment=Te,kt._segmentIndexShift=ie.length,{segmentGroup:kt,slicedSegments:q}}function go(Te,ie,q){return(!(Te.hasChildren()||ie.length>0)||"full"!==q.pathMatch)&&""===q.path}function mr(Te,ie,q,Ue){return!!(ur(Te)===Ue||Ue!==N&&go(ie,q,Te))&&("**"===Te.path||as(ie,Te,q).matched)}function xr(Te,ie,q){return 0===ie.length&&!Te.children[q]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class jr{constructor(ie){this.segmentGroup=ie||null}}class _o{constructor(ie){this.urlTree=ie}}function ds(Te){return(0,f._)(new jr(Te))}function Qr(Te){return(0,f._)(new _o(Te))}class Bs{constructor(ie,q,Ue,ot,kt){this.configLoader=q,this.urlSerializer=Ue,this.urlTree=ot,this.config=kt,this.allowRedirects=!0,this.ngModule=ie.get(a.h0i)}apply(){const ie=er(this.urlTree.root,[],[],this.config).segmentGroup,q=new Ht(ie.segments,ie.children);return this.expandSegmentGroup(this.ngModule,this.config,q,N).pipe((0,A.U)(kt=>this.createUrlTree(Le(kt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,le.K)(kt=>{if(kt instanceof _o)return this.allowRedirects=!1,this.match(kt.urlTree);throw kt instanceof jr?this.noMatchError(kt):kt}))}match(ie){return this.expandSegmentGroup(this.ngModule,this.config,ie.root,N).pipe((0,A.U)(ot=>this.createUrlTree(Le(ot),ie.queryParams,ie.fragment))).pipe((0,le.K)(ot=>{throw ot instanceof jr?this.noMatchError(ot):ot}))}noMatchError(ie){return new Error(`Cannot match any routes. URL Segment: '${ie.segmentGroup}'`)}createUrlTree(ie,q,Ue){const ot=ie.segments.length>0?new Ht([],{[N]:ie}):ie;return new Ut(ot,q,Ue)}expandSegmentGroup(ie,q,Ue,ot){return 0===Ue.segments.length&&Ue.hasChildren()?this.expandChildren(ie,q,Ue).pipe((0,A.U)(kt=>new Ht([],kt))):this.expandSegment(ie,Ue,q,Ue.segments,ot,!0)}expandChildren(ie,q,Ue){const ot=[];for(const kt of Object.keys(Ue.children))"primary"===kt?ot.unshift(kt):ot.push(kt);return(0,i.D)(ot).pipe((0,oe.b)(kt=>{const en=Ue.children[kt],fn=Pr(q,kt);return this.expandSegmentGroup(ie,fn,en,kt).pipe((0,A.U)(jn=>({segment:jn,outlet:kt})))}),k((kt,en)=>(kt[en.outlet]=en.segment,kt),{}),function Ee(Te,ie){const q=arguments.length>=2;return Ue=>Ue.pipe(Te?(0,z.h)((ot,kt)=>Te(ot,kt,Ue)):Be.y,y(1),q?(0,$e.d)(ie):(0,Ve.T)(()=>new v.K))}())}expandSegment(ie,q,Ue,ot,kt,en){return(0,i.D)(Ue).pipe((0,oe.b)(fn=>this.expandSegmentAgainstRoute(ie,q,Ue,fn,ot,kt,en).pipe((0,le.K)(yi=>{if(yi instanceof jr)return(0,d.of)(null);throw yi}))),(0,Ie.P)(fn=>!!fn),(0,le.K)((fn,jn)=>{if(fn instanceof v.K||"EmptyError"===fn.name)return xr(q,ot,kt)?(0,d.of)(new Ht([],{})):ds(q);throw fn}))}expandSegmentAgainstRoute(ie,q,Ue,ot,kt,en,fn){return mr(ot,q,kt,en)?void 0===ot.redirectTo?this.matchSegmentAgainstRoute(ie,q,ot,kt,en):fn&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(ie,q,Ue,ot,kt,en):ds(q):ds(q)}expandSegmentAgainstRouteUsingRedirect(ie,q,Ue,ot,kt,en){return"**"===ot.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(ie,Ue,ot,en):this.expandRegularSegmentAgainstRouteUsingRedirect(ie,q,Ue,ot,kt,en)}expandWildCardWithParamsAgainstRouteUsingRedirect(ie,q,Ue,ot){const kt=this.applyRedirectCommands([],Ue.redirectTo,{});return Ue.redirectTo.startsWith("/")?Qr(kt):this.lineralizeSegments(Ue,kt).pipe((0,Re.zg)(en=>{const fn=new Ht(en,{});return this.expandSegment(ie,fn,q,en,ot,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(ie,q,Ue,ot,kt,en){const{matched:fn,consumedSegments:jn,remainingSegments:yi,positionalParamSegments:hr}=as(q,ot,kt);if(!fn)return ds(q);const Pi=this.applyRedirectCommands(jn,ot.redirectTo,hr);return ot.redirectTo.startsWith("/")?Qr(Pi):this.lineralizeSegments(ot,Pi).pipe((0,Re.zg)(Mr=>this.expandSegment(ie,q,Ue,Mr.concat(yi),en,!1)))}matchSegmentAgainstRoute(ie,q,Ue,ot,kt){if("**"===Ue.path)return Ue.loadChildren?(Ue._loadedConfig?(0,d.of)(Ue._loadedConfig):this.configLoader.load(ie.injector,Ue)).pipe((0,A.U)(Pi=>(Ue._loadedConfig=Pi,new Ht(ot,{})))):(0,d.of)(new Ht(ot,{}));const{matched:en,consumedSegments:fn,remainingSegments:jn}=as(q,Ue,ot);return en?this.getChildConfig(ie,Ue,ot).pipe((0,Re.zg)(hr=>{const Pi=hr.module,Mr=hr.routes,{segmentGroup:wr,slicedSegments:Co}=er(q,fn,jn,Mr),So=new Ht(wr.segments,wr.children);if(0===Co.length&&So.hasChildren())return this.expandChildren(Pi,Mr,So).pipe((0,A.U)(_d=>new Ht(fn,_d)));if(0===Mr.length&&0===Co.length)return(0,d.of)(new Ht(fn,{}));const Ka=ur(Ue)===kt;return this.expandSegment(Pi,So,Mr,Co,Ka?N:kt,!0).pipe((0,A.U)(Cl=>new Ht(fn.concat(Cl.segments),Cl.children)))})):ds(q)}getChildConfig(ie,q,Ue){return q.children?(0,d.of)(new bt(q.children,ie)):q.loadChildren?void 0!==q._loadedConfig?(0,d.of)(q._loadedConfig):this.runCanLoadGuards(ie.injector,q,Ue).pipe((0,Re.zg)(ot=>ot?this.configLoader.load(ie.injector,q).pipe((0,A.U)(kt=>(q._loadedConfig=kt,kt))):function to(Te){return(0,f._)(Oe(`Cannot load children because the guard of the route "path: '${Te.path}'" returned false`))}(q))):(0,d.of)(new bt([],ie))}runCanLoadGuards(ie,q,Ue){const ot=q.canLoad;if(!ot||0===ot.length)return(0,d.of)(!0);const kt=ot.map(en=>{const fn=ie.get(en);let jn;if(function _n(Te){return Te&&It(Te.canLoad)}(fn))jn=fn.canLoad(q,Ue);else{if(!It(fn))throw new Error("Invalid CanLoad guard");jn=fn(q,Ue)}return In(jn)});return(0,d.of)(kt).pipe(Jn(),(0,Ge.b)(en=>{if(!mn(en))return;const fn=Oe(`Redirecting to "${this.urlSerializer.serialize(en)}"`);throw fn.url=en,fn}),(0,A.U)(en=>!0===en))}lineralizeSegments(ie,q){let Ue=[],ot=q.root;for(;;){if(Ue=Ue.concat(ot.segments),0===ot.numberOfChildren)return(0,d.of)(Ue);if(ot.numberOfChildren>1||!ot.children[N])return(0,f._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${ie.redirectTo}'`));ot=ot.children[N]}}applyRedirectCommands(ie,q,Ue){return this.applyRedirectCreatreUrlTree(q,this.urlSerializer.parse(q),ie,Ue)}applyRedirectCreatreUrlTree(ie,q,Ue,ot){const kt=this.createSegmentGroup(ie,q.root,Ue,ot);return new Ut(kt,this.createQueryParams(q.queryParams,this.urlTree.queryParams),q.fragment)}createQueryParams(ie,q){const Ue={};return Nn(ie,(ot,kt)=>{if("string"==typeof ot&&ot.startsWith(":")){const fn=ot.substring(1);Ue[kt]=q[fn]}else Ue[kt]=ot}),Ue}createSegmentGroup(ie,q,Ue,ot){const kt=this.createSegments(ie,q.segments,Ue,ot);let en={};return Nn(q.children,(fn,jn)=>{en[jn]=this.createSegmentGroup(ie,fn,Ue,ot)}),new Ht(kt,en)}createSegments(ie,q,Ue,ot){return q.map(kt=>kt.path.startsWith(":")?this.findPosParam(ie,kt,ot):this.findOrReturn(kt,Ue))}findPosParam(ie,q,Ue){const ot=Ue[q.path.substring(1)];if(!ot)throw new Error(`Cannot redirect to '${ie}'. Cannot find '${q.path}'.`);return ot}findOrReturn(ie,q){let Ue=0;for(const ot of q){if(ot.path===ie.path)return q.splice(Ue),ot;Ue++}return ie}}function Le(Te){const ie={};for(const Ue of Object.keys(Te.children)){const kt=Le(Te.children[Ue]);(kt.segments.length>0||kt.hasChildren())&&(ie[Ue]=kt)}return function qe(Te){if(1===Te.numberOfChildren&&Te.children[N]){const ie=Te.children[N];return new Ht(Te.segments.concat(ie.segments),ie.children)}return Te}(new Ht(Te.segments,ie))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class At{constructor(ie){this.path=ie,this.route=this.path[this.path.length-1]}}class kn{constructor(ie,q){this.component=ie,this.route=q}}function pi(Te,ie,q){const Ue=Te._root;return mt(Ue,ie?ie._root:null,q,[Ue.value])}function is(Te,ie,q){const Ue=function no(Te){if(!Te)return null;for(let ie=Te.parent;ie;ie=ie.parent){const q=ie.routeConfig;if(q&&q._loadedConfig)return q._loadedConfig}return null}(ie);return(Ue?Ue.module.injector:q).get(Te)}function mt(Te,ie,q,Ue,ot={canDeactivateChecks:[],canActivateChecks:[]}){const kt=Xn(ie);return Te.children.forEach(en=>{(function Hn(Te,ie,q,Ue,ot={canDeactivateChecks:[],canActivateChecks:[]}){const kt=Te.value,en=ie?ie.value:null,fn=q?q.getContext(Te.value.outlet):null;if(en&&kt.routeConfig===en.routeConfig){const jn=function Gt(Te,ie,q){if("function"==typeof q)return q(Te,ie);switch(q){case"pathParamsChange":return!ce(Te.url,ie.url);case"pathParamsOrQueryParamsChange":return!ce(Te.url,ie.url)||!Jt(Te.queryParams,ie.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Un(Te,ie)||!Jt(Te.queryParams,ie.queryParams);default:return!Un(Te,ie)}}(en,kt,kt.routeConfig.runGuardsAndResolvers);jn?ot.canActivateChecks.push(new At(Ue)):(kt.data=en.data,kt._resolvedData=en._resolvedData),mt(Te,ie,kt.component?fn?fn.children:null:q,Ue,ot),jn&&fn&&fn.outlet&&fn.outlet.isActivated&&ot.canDeactivateChecks.push(new kn(fn.outlet.component,en))}else en&&lr(ie,fn,ot),ot.canActivateChecks.push(new At(Ue)),mt(Te,null,kt.component?fn?fn.children:null:q,Ue,ot)})(en,kt[en.value.outlet],q,Ue.concat([en.value]),ot),delete kt[en.value.outlet]}),Nn(kt,(en,fn)=>lr(en,q.getContext(fn),ot)),ot}function lr(Te,ie,q){const Ue=Xn(Te),ot=Te.value;Nn(Ue,(kt,en)=>{lr(kt,ot.component?ie?ie.children.getContext(en):null:ie,q)}),q.canDeactivateChecks.push(new kn(ot.component&&ie&&ie.outlet&&ie.outlet.isActivated?ie.outlet.component:null,ot))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
class Oa{}function Jo(Te){return new I.y(ie=>ie.error(Te))}class es{constructor(ie,q,Ue,ot,kt,en){this.rootComponentType=ie,this.config=q,this.urlTree=Ue,this.url=ot,this.paramsInheritanceStrategy=kt,this.relativeLinkResolution=en}recognize(){const ie=er(this.urlTree.root,[],[],this.config.filter(en=>void 0===en.redirectTo),this.relativeLinkResolution).segmentGroup,q=this.processSegmentGroup(this.config,ie,N);if(null===q)return null;const Ue=new Ct([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},N,this.rootComponentType,null,this.urlTree.root,-1,{}),ot=new oi(Ue,q),kt=new Et(this.url,ot);return this.inheritParamsAndData(kt._root),kt}inheritParamsAndData(ie){const q=ie.value,Ue=nn(q,this.paramsInheritanceStrategy);q.params=Object.freeze(Ue.params),q.data=Object.freeze(Ue.data),ie.children.forEach(ot=>this.inheritParamsAndData(ot))}processSegmentGroup(ie,q,Ue){return 0===q.segments.length&&q.hasChildren()?this.processChildren(ie,q):this.processSegment(ie,q,q.segments,Ue)}processChildren(ie,q){const Ue=[];for(const kt of Object.keys(q.children)){const en=q.children[kt],fn=Pr(ie,kt),jn=this.processSegmentGroup(fn,en,kt);if(null===jn)return null;Ue.push(...jn)}const ot=K(Ue);return function io(Te){Te.sort((ie,q)=>ie.value.outlet===N?-1:q.value.outlet===N?1:ie.value.outlet.localeCompare(q.value.outlet))}(ot),ot}processSegment(ie,q,Ue,ot){for(const kt of ie){const en=this.processSegmentAgainstRoute(kt,q,Ue,ot);if(null!==en)return en}return xr(q,Ue,ot)?[]:null}processSegmentAgainstRoute(ie,q,Ue,ot){if(ie.redirectTo||!mr(ie,q,Ue,ot))return null;let kt,en=[],fn=[];if("**"===ie.path){const wr=Ue.length>0?yn(Ue).parameters:{};kt=new Ct(Ue,wr,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,on(ie),ur(ie),ie.component,ie,Dt(q),zt(q)+Ue.length,an(ie))}else{const wr=as(q,ie,Ue);if(!wr.matched)return null;en=wr.consumedSegments,fn=wr.remainingSegments,kt=new Ct(en,wr.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,on(ie),ur(ie),ie.component,ie,Dt(q),zt(q)+en.length,an(ie))}const jn=function ft(Te){return Te.children?Te.children:Te.loadChildren?Te._loadedConfig.routes:[]}(ie),{segmentGroup:yi,slicedSegments:hr}=er(q,en,fn,jn.filter(wr=>void 0===wr.redirectTo),this.relativeLinkResolution);if(0===hr.length&&yi.hasChildren()){const wr=this.processChildren(jn,yi);return null===wr?null:[new oi(kt,wr)]}if(0===jn.length&&0===hr.length)return[new oi(kt,[])];const Pi=ur(ie)===ot,Mr=this.processSegment(jn,yi,hr,Pi?N:ot);return null===Mr?null:[new oi(kt,Mr)]}}function Q(Te){const ie=Te.value.routeConfig;return ie&&""===ie.path&&void 0===ie.redirectTo}function K(Te){const ie=[],q=new Set;for(const Ue of Te){if(!Q(Ue)){ie.push(Ue);continue}const ot=ie.find(kt=>Ue.value.routeConfig===kt.value.routeConfig);void 0!==ot?(ot.children.push(...Ue.children),q.add(ot)):ie.push(Ue)}for(const Ue of q){const ot=K(Ue.children);ie.push(new oi(Ue.value,ot))}return ie.filter(Ue=>!q.has(Ue))}function Dt(Te){let ie=Te;for(;ie._sourceSegment;)ie=ie._sourceSegment;return ie}function zt(Te){let ie=Te,q=ie._segmentIndexShift?ie._segmentIndexShift:0;for(;ie._sourceSegment;)ie=ie._sourceSegment,q+=ie._segmentIndexShift?ie._segmentIndexShift:0;return q-1}function on(Te){return Te.data||{}}function an(Te){return Te.resolve||{}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */function Ui(Te){return[...Object.keys(Te),...Object.getOwnPropertySymbols(Te)]}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
function xi(Te){return(0,B.w)(ie=>{const q=Te(ie);return q?(0,i.D)(q).pipe((0,A.U)(()=>ie)):(0,d.of)(ie)})}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Br extends class Cr{shouldDetach(ie){return!1}store(ie,q){}shouldAttach(ie){return!1}retrieve(ie){return null}shouldReuseRoute(ie,q){return ie.routeConfig===q.routeConfig}}{}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Or=new a.OlP("ROUTES");class $r{constructor(ie,q,Ue,ot){this.injector=ie,this.compiler=q,this.onLoadStartListener=Ue,this.onLoadEndListener=ot}load(ie,q){if(q._loader$)return q._loader$;this.onLoadStartListener&&this.onLoadStartListener(q);const ot=this.loadModuleFactory(q.loadChildren).pipe((0,A.U)(kt=>{this.onLoadEndListener&&this.onLoadEndListener(q);const en=kt.create(ie);return new bt(gn(en.injector.get(Or,void 0,a.XFs.Self|a.XFs.Optional)).map(ar),en)}),(0,le.K)(kt=>{throw q._loader$=void 0,kt}));return q._loader$=new M.c(ot,()=>new D.xQ).pipe((0,it.x)()),q._loader$}loadModuleFactory(ie){return In(ie()).pipe((0,Re.zg)(q=>q instanceof a.YKP?(0,d.of)(q):(0,i.D)(this.compiler.compileModuleAsync(q))))}}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */class Hr{shouldProcessUrl(ie){return!0}extract(ie){return ie}merge(ie,q){return ie}}function qr(Te){throw Te}function Wi(Te,ie,q){return ie.parse("/")}function ms(Te,ie){return(0,d.of)(null)}const ro={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gs=(()=>{class Te{constructor(q,Ue,ot,kt,en,fn,jn){this.rootComponentType=q,this.urlSerializer=Ue,this.rootContexts=ot,this.location=kt,this.config=jn,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new D.xQ,this.errorHandler=qr,this.malformedUriErrorHandler=Wi,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ms,afterPreactivation:ms},this.urlHandlingStrategy=new Hr,this.routeReuseStrategy=new Br,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=en.get(a.h0i),this.console=en.get(a.c2e);const Pi=en.get(a.R0b);this.isNgZoneEnabled=Pi instanceof a.R0b&&a.R0b.isInAngularZone(),this.resetConfig(jn),this.currentUrlTree=function wn(){return new Ut(new Ht([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new $r(en,fn,Mr=>this.triggerEvent(new yt(Mr)),Mr=>this.triggerEvent(new Je(Mr))),this.routerState=ir(this.currentUrlTree,this.rootComponentType),this.transitions=new p.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var q;return null===(q=this.location.getState())||void 0===q?void 0:q.\u0275routerPageId}setupNavigations(q){const Ue=this.events;return q.pipe((0,z.h)(ot=>0!==ot.id),(0,A.U)(ot=>Object.assign(Object.assign({},ot),{extractedUrl:this.urlHandlingStrategy.extract(ot.rawUrl)})),(0,B.w)(ot=>{let kt=!1,en=!1;return(0,d.of)(ot).pipe((0,Ge.b)(fn=>{this.currentNavigation={id:fn.id,initialUrl:fn.currentRawUrl,extractedUrl:fn.extractedUrl,trigger:fn.source,extras:fn.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,B.w)(fn=>{const jn=this.browserUrlTree.toString(),yi=!this.navigated||fn.extractedUrl.toString()!==jn||jn!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||yi)&&this.urlHandlingStrategy.shouldProcessUrl(fn.rawUrl))return oo(fn.source)&&(this.browserUrlTree=fn.extractedUrl),(0,d.of)(fn).pipe((0,B.w)(Pi=>{const Mr=this.transitions.getValue();return Ue.next(new fe(Pi.id,this.serializeUrl(Pi.extractedUrl),Pi.source,Pi.restoredState)),Mr!==this.transitions.getValue()?L.E:Promise.resolve(Pi)}),function De(Te,ie,q,Ue){return(0,B.w)(ot=>function yo(Te,ie,q,Ue,ot){return new Bs(Te,ie,q,Ue,ot).apply()}(Te,ie,q,ot.extractedUrl,Ue).pipe((0,A.U)(kt=>Object.assign(Object.assign({},ot),{urlAfterRedirects:kt}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Ge.b)(Pi=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Pi.urlAfterRedirects})}),function Cn(Te,ie,q,Ue,ot){return(0,Re.zg)(kt=>function Fo(Te,ie,q,Ue,ot="emptyOnly",kt="legacy"){try{const en=new es(Te,ie,q,Ue,ot,kt).recognize();return null===en?Jo(new Oa):(0,d.of)(en)}catch(en){return Jo(en)}}(Te,ie,kt.urlAfterRedirects,q(kt.urlAfterRedirects),Ue,ot).pipe((0,A.U)(en=>Object.assign(Object.assign({},kt),{targetSnapshot:en}))))}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(this.rootComponentType,this.config,Pi=>this.serializeUrl(Pi),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Ge.b)(Pi=>{if("eager"===this.urlUpdateStrategy){if(!Pi.extras.skipLocationChange){const wr=this.urlHandlingStrategy.merge(Pi.urlAfterRedirects,Pi.rawUrl);this.setBrowserUrl(wr,Pi)}this.browserUrlTree=Pi.urlAfterRedirects}const Mr=new de(Pi.id,this.serializeUrl(Pi.extractedUrl),this.serializeUrl(Pi.urlAfterRedirects),Pi.targetSnapshot);Ue.next(Mr)}));if(yi&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Mr,extractedUrl:wr,source:Co,restoredState:So,extras:Ka}=fn,tu=new fe(Mr,this.serializeUrl(wr),Co,So);Ue.next(tu);const Cl=ir(wr,this.rootComponentType).snapshot;return(0,d.of)(Object.assign(Object.assign({},fn),{targetSnapshot:Cl,urlAfterRedirects:wr,extras:Object.assign(Object.assign({},Ka),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=fn.rawUrl,fn.resolve(null),L.E}),xi(fn=>{const{targetSnapshot:jn,id:yi,extractedUrl:hr,rawUrl:Pi,extras:{skipLocationChange:Mr,replaceUrl:wr}}=fn;return this.hooks.beforePreactivation(jn,{navigationId:yi,appliedUrlTree:hr,rawUrlTree:Pi,skipLocationChange:!!Mr,replaceUrl:!!wr})}),(0,Ge.b)(fn=>{const jn=new lt(fn.id,this.serializeUrl(fn.extractedUrl),this.serializeUrl(fn.urlAfterRedirects),fn.targetSnapshot);this.triggerEvent(jn)}),(0,A.U)(fn=>Object.assign(Object.assign({},fn),{guards:pi(fn.targetSnapshot,fn.currentSnapshot,this.rootContexts)})),function Qa(Te,ie){return(0,Re.zg)(q=>{const{targetSnapshot:Ue,currentSnapshot:ot,guards:{canActivateChecks:kt,canDeactivateChecks:en}}=q;return 0===en.length&&0===kt.length?(0,d.of)(Object.assign(Object.assign({},q),{guardsResult:!0})):function Kr(Te,ie,q,Ue){return(0,i.D)(Te).pipe((0,Re.zg)(ot=>function El(Te,ie,q,Ue,ot){const kt=ie&&ie.routeConfig?ie.routeConfig.canDeactivate:null;if(!kt||0===kt.length)return(0,d.of)(!0);const en=kt.map(fn=>{const jn=is(fn,ie,ot);let yi;if(function tn(Te){return Te&&It(Te.canDeactivate)}(jn))yi=In(jn.canDeactivate(Te,ie,q,Ue));else{if(!It(jn))throw new Error("Invalid CanDeactivate guard");yi=In(jn(Te,ie,q,Ue))}return yi.pipe((0,Ie.P)())});return(0,d.of)(en).pipe(Jn())}(ot.component,ot.route,q,ie,Ue)),(0,Ie.P)(ot=>!0!==ot,!0))}(en,Ue,ot,Te).pipe((0,Re.zg)(fn=>fn&&function qt(Te){return"boolean"==typeof Te}(fn)?function bl(Te,ie,q,Ue){return(0,i.D)(ie).pipe((0,oe.b)(ot=>(0,b.z)(function fs(Te,ie){return null!==Te&&ie&&ie(new ct(Te)),(0,d.of)(!0)}(ot.route.parent,Ue),function bo(Te,ie){return null!==Te&&ie&&ie(new X(Te)),(0,d.of)(!0)}(ot.route,Ue),function va(Te,ie,q){const Ue=ie[ie.length-1],kt=ie.slice(0,ie.length-1).reverse().map(en=>function kr(Te){const ie=Te.routeConfig?Te.routeConfig.canActivateChild:null;return ie&&0!==ie.length?{node:Te,guards:ie}:null}(en)).filter(en=>null!==en).map(en=>(0,m.P)(()=>{const fn=en.guards.map(jn=>{const yi=is(jn,en.node,q);let hr;if(function pn(Te){return Te&&It(Te.canActivateChild)}(yi))hr=In(yi.canActivateChild(Ue,Te));else{if(!It(yi))throw new Error("Invalid CanActivateChild guard");hr=In(yi(Ue,Te))}return hr.pipe((0,Ie.P)())});return(0,d.of)(fn).pipe(Jn())}));return(0,d.of)(kt).pipe(Jn())}(Te,ot.path,q),function _a(Te,ie,q){const Ue=ie.routeConfig?ie.routeConfig.canActivate:null;if(!Ue||0===Ue.length)return(0,d.of)(!0);const ot=Ue.map(kt=>(0,m.P)(()=>{const en=is(kt,ie,q);let fn;if(function Mt(Te){return Te&&It(Te.canActivate)}(en))fn=In(en.canActivate(ie,Te));else{if(!It(en))throw new Error("Invalid CanActivate guard");fn=In(en(ie,Te))}return fn.pipe((0,Ie.P)())}));return(0,d.of)(ot).pipe(Jn())}(Te,ot.route,q))),(0,Ie.P)(ot=>!0!==ot,!0))}(Ue,kt,Te,ie):(0,d.of)(fn)),(0,A.U)(fn=>Object.assign(Object.assign({},q),{guardsResult:fn})))})}(this.ngModule.injector,fn=>this.triggerEvent(fn)),(0,Ge.b)(fn=>{if(mn(fn.guardsResult)){const yi=Oe(`Redirecting to "${this.serializeUrl(fn.guardsResult)}"`);throw yi.url=fn.guardsResult,yi}const jn=new St(fn.id,this.serializeUrl(fn.extractedUrl),this.serializeUrl(fn.urlAfterRedirects),fn.targetSnapshot,!!fn.guardsResult);this.triggerEvent(jn)}),(0,z.h)(fn=>!!fn.guardsResult||(this.restoreHistory(fn),this.cancelNavigationTransition(fn,""),!1)),xi(fn=>{if(fn.guards.canActivateChecks.length)return(0,d.of)(fn).pipe((0,Ge.b)(jn=>{const yi=new Qt(jn.id,this.serializeUrl(jn.extractedUrl),this.serializeUrl(jn.urlAfterRedirects),jn.targetSnapshot);this.triggerEvent(yi)}),(0,B.w)(jn=>{let yi=!1;return(0,d.of)(jn).pipe(function Fn(Te,ie){return(0,Re.zg)(q=>{const{targetSnapshot:Ue,guards:{canActivateChecks:ot}}=q;if(!ot.length)return(0,d.of)(q);let kt=0;return(0,i.D)(ot).pipe((0,oe.b)(en=>function di(Te,ie,q,Ue){return function Si(Te,ie,q,Ue){const ot=Ui(Te);if(0===ot.length)return(0,d.of)({});const kt={};return(0,i.D)(ot).pipe((0,Re.zg)(en=>function Qi(Te,ie,q,Ue){const ot=is(Te,ie,Ue);return In(ot.resolve?ot.resolve(ie,q):ot(ie,q))}(Te[en],ie,q,Ue).pipe((0,Ge.b)(fn=>{kt[en]=fn}))),y(1),(0,Re.zg)(()=>Ui(kt).length===ot.length?(0,d.of)(kt):L.E))}(Te._resolve,Te,ie,Ue).pipe((0,A.U)(kt=>(Te._resolvedData=kt,Te.data=Object.assign(Object.assign({},Te.data),nn(Te,q).resolve),null)))}(en.route,Ue,Te,ie)),(0,Ge.b)(()=>kt++),y(1),(0,Re.zg)(en=>kt===ot.length?(0,d.of)(q):L.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Ge.b)({next:()=>yi=!0,complete:()=>{yi||(this.restoreHistory(jn),this.cancelNavigationTransition(jn,"At least one route resolver didn't emit any value."))}}))}),(0,Ge.b)(jn=>{const yi=new gt(jn.id,this.serializeUrl(jn.extractedUrl),this.serializeUrl(jn.urlAfterRedirects),jn.targetSnapshot);this.triggerEvent(yi)}))}),xi(fn=>{const{targetSnapshot:jn,id:yi,extractedUrl:hr,rawUrl:Pi,extras:{skipLocationChange:Mr,replaceUrl:wr}}=fn;return this.hooks.afterPreactivation(jn,{navigationId:yi,appliedUrlTree:hr,rawUrlTree:Pi,skipLocationChange:!!Mr,replaceUrl:!!wr})}),(0,A.U)(fn=>{const jn=function Ft(Te,ie,q){const Ue=En(Te,ie._root,q?q._root:void 0);return new Bi(Ue,ie)}(this.routeReuseStrategy,fn.targetSnapshot,fn.currentRouterState);return Object.assign(Object.assign({},fn),{targetRouterState:jn})}),(0,Ge.b)(fn=>{this.currentUrlTree=fn.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(fn.urlAfterRedirects,fn.rawUrl),this.routerState=fn.targetRouterState,"deferred"===this.urlUpdateStrategy&&(fn.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,fn),this.browserUrlTree=fn.urlAfterRedirects)}),((Te,ie,q)=>(0,A.U)(Ue=>(new me(ie,Ue.targetRouterState,Ue.currentRouterState,q).activate(Te),Ue)))(this.rootContexts,this.routeReuseStrategy,fn=>this.triggerEvent(fn)),(0,Ge.b)({next(){kt=!0},complete(){kt=!0}}),(0,Se.x)(()=>{var fn;kt||en||this.cancelNavigationTransition(ot,`Navigation ID ${ot.id} is not equal to the current navigation id ${this.navigationId}`),(null===(fn=this.currentNavigation)||void 0===fn?void 0:fn.id)===ot.id&&(this.currentNavigation=null)}),(0,le.K)(fn=>{if(en=!0,function Ye(Te){return Te&&Te[re]}(fn)){const jn=mn(fn.url);jn||(this.navigated=!0,this.restoreHistory(ot,!0));const yi=new He(ot.id,this.serializeUrl(ot.extractedUrl),fn.message);Ue.next(yi),jn?setTimeout(()=>{const hr=this.urlHandlingStrategy.merge(fn.url,this.rawUrlTree),Pi={skipLocationChange:ot.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||oo(ot.source)};this.scheduleNavigation(hr,"imperative",null,Pi,{resolve:ot.resolve,reject:ot.reject,promise:ot.promise})},0):ot.resolve(!1)}else{this.restoreHistory(ot,!0);const jn=new et(ot.id,this.serializeUrl(ot.extractedUrl),fn);Ue.next(jn);try{ot.resolve(this.errorHandler(fn))}catch(yi){ot.reject(yi)}}return L.E}))}))}resetRootComponentType(q){this.rootComponentType=q,this.routerState.root.component=this.rootComponentType}setTransition(q){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),q))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(q=>{const Ue="popstate"===q.type?"popstate":"hashchange";"popstate"===Ue&&setTimeout(()=>{var ot;const kt={replaceUrl:!0},en=(null===(ot=q.state)||void 0===ot?void 0:ot.navigationId)?q.state:null;if(en){const jn=Object.assign({},en);delete jn.navigationId,delete jn.\u0275routerPageId,0!==Object.keys(jn).length&&(kt.state=jn)}const fn=this.parseUrl(q.url);this.scheduleNavigation(fn,Ue,en,kt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(q){this.events.next(q)}resetConfig(q){$i(q),this.config=q.map(ar),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(q,Ue={}){const{relativeTo:ot,queryParams:kt,fragment:en,queryParamsHandling:fn,preserveFragment:jn}=Ue,yi=ot||this.routerState.root,hr=jn?this.currentUrlTree.fragment:en;let Pi=null;switch(fn){case"merge":Pi=Object.assign(Object.assign({},this.currentUrlTree.queryParams),kt);break;case"preserve":Pi=this.currentUrlTree.queryParams;break;default:Pi=kt||null}return null!==Pi&&(Pi=this.removeEmptyProps(Pi)),function vn(Te,ie,q,Ue,ot){if(0===q.length)return at(ie.root,ie.root,ie.root,Ue,ot);const kt=function Fe(Te){if("string"==typeof Te[0]&&1===Te.length&&"/"===Te[0])return new bn(!0,0,Te);let ie=0,q=!1;const Ue=Te.reduce((ot,kt,en)=>{if("object"==typeof kt&&null!=kt){if(kt.outlets){const fn={};return Nn(kt.outlets,(jn,yi)=>{fn[yi]="string"==typeof jn?jn.split("/"):jn}),[...ot,{outlets:fn}]}if(kt.segmentPath)return[...ot,kt.segmentPath]}return"string"!=typeof kt?[...ot,kt]:0===en?(kt.split("/").forEach((fn,jn)=>{0==jn&&"."===fn||(0==jn&&""===fn?q=!0:".."===fn?ie++:""!=fn&&ot.push(fn))}),ot):[...ot,kt]},[]);return new bn(q,ie,Ue)}(q);if(kt.toRoot())return at(ie.root,ie.root,new Ht([],{}),Ue,ot);const en=function Me(Te,ie,q){if(Te.isAbsolute)return new ne(ie.root,!0,0);if(-1===q.snapshot._lastPathIndex){const kt=q.snapshot._urlSegment;return new ne(kt,kt===ie.root,0)}const Ue=Ne(Te.commands[0])?0:1;return function We(Te,ie,q){let Ue=Te,ot=ie,kt=q;for(;kt>ot;){if(kt-=ot,Ue=Ue.parent,!Ue)throw new Error("Invalid number of '../'");ot=Ue.segments.length}return new ne(Ue,!1,ot-kt)}(q.snapshot._urlSegment,q.snapshot._lastPathIndex+Ue,Te.numberOfDoubleDots)}(kt,ie,Te),fn=en.processChildren?_e(en.segmentGroup,en.index,kt.commands):Wt(en.segmentGroup,en.index,kt.commands);return at(ie.root,en.segmentGroup,fn,Ue,ot)}(yi,this.currentUrlTree,q,Pi,null!=hr?hr:null)}navigateByUrl(q,Ue={skipLocationChange:!1}){const ot=mn(q)?q:this.parseUrl(q),kt=this.urlHandlingStrategy.merge(ot,this.rawUrlTree);return this.scheduleNavigation(kt,"imperative",null,Ue)}navigate(q,Ue={skipLocationChange:!1}){return function so(Te){for(let ie=0;ie<Te.length;ie++){const q=Te[ie];if(null==q)throw new Error(`The requested path contains ${q} segment at index ${ie}`)}}(q),this.navigateByUrl(this.createUrlTree(q,Ue),Ue)}serializeUrl(q){return this.urlSerializer.serialize(q)}parseUrl(q){let Ue;try{Ue=this.urlSerializer.parse(q)}catch(ot){Ue=this.malformedUriErrorHandler(ot,this.urlSerializer,q)}return Ue}isActive(q,Ue){let ot;if(ot=!0===Ue?Object.assign({},ro):!1===Ue?Object.assign({},Gs):Ue,mn(q))return Xt(this.currentUrlTree,q,ot);const kt=this.parseUrl(q);return Xt(this.currentUrlTree,kt,ot)}removeEmptyProps(q){return Object.keys(q).reduce((Ue,ot)=>{const kt=q[ot];return null!=kt&&(Ue[ot]=kt),Ue},{})}processNavigations(){this.navigations.subscribe(q=>{this.navigated=!0,this.lastSuccessfulId=q.id,this.currentPageId=q.targetPageId,this.events.next(new pe(q.id,this.serializeUrl(q.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,q.resolve(!0)},q=>{this.console.warn(`Unhandled Navigation Error: ${q}`)})}scheduleNavigation(q,Ue,ot,kt,en){var fn,jn;if(this.disposed)return Promise.resolve(!1);let yi,hr,Pi;en?(yi=en.resolve,hr=en.reject,Pi=en.promise):Pi=new Promise((Co,So)=>{yi=Co,hr=So});const Mr=++this.navigationId;let wr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(ot=this.location.getState()),wr=ot&&ot.\u0275routerPageId?ot.\u0275routerPageId:kt.replaceUrl||kt.skipLocationChange?null!==(fn=this.browserPageId)&&void 0!==fn?fn:0:(null!==(jn=this.browserPageId)&&void 0!==jn?jn:0)+1):wr=0,this.setTransition({id:Mr,targetPageId:wr,source:Ue,restoredState:ot,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:q,extras:kt,resolve:yi,reject:hr,promise:Pi,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Pi.catch(Co=>Promise.reject(Co))}setBrowserUrl(q,Ue){const ot=this.urlSerializer.serialize(q),kt=Object.assign(Object.assign({},Ue.extras.state),this.generateNgRouterState(Ue.id,Ue.targetPageId));this.location.isCurrentPathEqualTo(ot)||Ue.extras.replaceUrl?this.location.replaceState(ot,"",kt):this.location.go(ot,"",kt)}restoreHistory(q,Ue=!1){var ot,kt;if("computed"===this.canceledNavigationResolution){const en=this.currentPageId-q.targetPageId;"popstate"!==q.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(ot=this.currentNavigation)||void 0===ot?void 0:ot.finalUrl)||0===en?this.currentUrlTree===(null===(kt=this.currentNavigation)||void 0===kt?void 0:kt.finalUrl)&&0===en&&(this.resetState(q),this.browserUrlTree=q.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(en)}else"replace"===this.canceledNavigationResolution&&(Ue&&this.resetState(q),this.resetUrlToCurrentUrlTree())}resetState(q){this.routerState=q.currentRouterState,this.currentUrlTree=q.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,q.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(q,Ue){const ot=new He(q.id,this.serializeUrl(q.extractedUrl),Ue);this.triggerEvent(ot),q.resolve(!1)}generateNgRouterState(q,Ue){return"computed"===this.canceledNavigationResolution?{navigationId:q,\u0275routerPageId:Ue}:{navigationId:q}}}return Te.\u0275fac=function(q){a.$Z()},Te.\u0275prov=a.Yz7({token:Te,factory:Te.\u0275fac}),Te})();function oo(Te){return"imperative"!==Te}let _s=(()=>{class Te{constructor(q,Ue,ot,kt,en){this.router=q,this.route=Ue,this.tabIndexAttribute=ot,this.renderer=kt,this.el=en,this.commands=null,this.onChanges=new D.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(q){if(null!=this.tabIndexAttribute)return;const Ue=this.renderer,ot=this.el.nativeElement;null!==q?Ue.setAttribute(ot,"tabindex",q):Ue.removeAttribute(ot,"tabindex")}ngOnChanges(q){this.onChanges.next(this)}set routerLink(q){null!=q?(this.commands=Array.isArray(q)?q:[q],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const q={skipLocationChange:ui(this.skipLocationChange),replaceUrl:ui(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,q),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ui(this.preserveFragment)})}}return Te.\u0275fac=function(q){return new(q||Te)(a.Y36(gs),a.Y36(Ti),a.$8M("tabindex"),a.Y36(a.Qsj),a.Y36(a.SBq))},Te.\u0275dir=a.lG2({type:Te,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(q,Ue){1&q&&a.NdJ("click",function(){return Ue.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[a.TTD]}),Te})(),zs=(()=>{class Te{constructor(q,Ue,ot){this.router=q,this.route=Ue,this.locationStrategy=ot,this.commands=null,this.href=null,this.onChanges=new D.xQ,this.subscription=q.events.subscribe(kt=>{kt instanceof pe&&this.updateTargetUrlAndHref()})}set routerLink(q){this.commands=null!=q?Array.isArray(q)?q:[q]:null}ngOnChanges(q){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(q,Ue,ot,kt,en){if(0!==q||Ue||ot||kt||en||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const fn={skipLocationChange:ui(this.skipLocationChange),replaceUrl:ui(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,fn),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:ui(this.preserveFragment)})}}return Te.\u0275fac=function(q){return new(q||Te)(a.Y36(gs),a.Y36(Ti),a.Y36(V.S$))},Te.\u0275dir=a.lG2({type:Te,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(q,Ue){1&q&&a.NdJ("click",function(kt){return Ue.onClick(kt.button,kt.ctrlKey,kt.shiftKey,kt.altKey,kt.metaKey)}),2&q&&a.uIk("target",Ue.target)("href",Ue.href,a.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[a.TTD]}),Te})();function ui(Te){return""===Te||!!Te}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */let Mi=(()=>{class Te{constructor(q,Ue,ot,kt,en,fn){this.router=q,this.element=Ue,this.renderer=ot,this.cdr=kt,this.link=en,this.linkWithHref=fn,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new a.vpe,this.routerEventsSubscription=q.events.subscribe(jn=>{jn instanceof pe&&this.update()})}ngAfterContentInit(){(0,d.of)(this.links.changes,this.linksWithHrefs.changes,(0,d.of)(null)).pipe((0,Z.J)()).subscribe(q=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var q;null===(q=this.linkInputChangesSubscription)||void 0===q||q.unsubscribe();const Ue=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(ot=>!!ot).map(ot=>ot.onChanges);this.linkInputChangesSubscription=(0,i.D)(Ue).pipe((0,Z.J)()).subscribe(ot=>{this.isActive!==this.isLinkActive(this.router)(ot)&&this.update()})}set routerLinkActive(q){const Ue=Array.isArray(q)?q:q.split(" ");this.classes=Ue.filter(ot=>!!ot)}ngOnChanges(q){this.update()}ngOnDestroy(){var q;this.routerEventsSubscription.unsubscribe(),null===(q=this.linkInputChangesSubscription)||void 0===q||q.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const q=this.hasActiveLinks();this.isActive!==q&&(this.isActive=q,this.cdr.markForCheck(),this.classes.forEach(Ue=>{q?this.renderer.addClass(this.element.nativeElement,Ue):this.renderer.removeClass(this.element.nativeElement,Ue)}),this.isActiveChange.emit(q))})}isLinkActive(q){const Ue=function wi(Te){return!!Te.paths}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ot=>!!ot.urlTree&&q.isActive(ot.urlTree,Ue)}hasActiveLinks(){const q=this.isLinkActive(this.router);return this.link&&q(this.link)||this.linkWithHref&&q(this.linkWithHref)||this.links.some(q)||this.linksWithHrefs.some(q)}}return Te.\u0275fac=function(q){return new(q||Te)(a.Y36(gs),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(a.sBO),a.Y36(_s,8),a.Y36(zs,8))},Te.\u0275dir=a.lG2({type:Te,selectors:[["","routerLinkActive",""]],contentQueries:function(q,Ue,ot){if(1&q&&(a.Suo(ot,_s,5),a.Suo(ot,zs,5)),2&q){let kt;a.iGM(kt=a.CRH())&&(Ue.links=kt),a.iGM(kt=a.CRH())&&(Ue.linksWithHrefs=kt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[a.TTD]}),Te})();class Hi{}class nt{preload(ie,q){return(0,d.of)(null)}}let Pe=(()=>{class Te{constructor(q,Ue,ot,kt){this.router=q,this.injector=ot,this.preloadingStrategy=kt,this.loader=new $r(ot,Ue,jn=>q.triggerEvent(new yt(jn)),jn=>q.triggerEvent(new Je(jn)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,z.h)(q=>q instanceof pe),(0,oe.b)(()=>this.preload())).subscribe(()=>{})}preload(){const q=this.injector.get(a.h0i);return this.processRoutes(q,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(q,Ue){const ot=[];for(const kt of Ue)if(kt.loadChildren&&!kt.canLoad&&kt._loadedConfig){const en=kt._loadedConfig;ot.push(this.processRoutes(en.module,en.routes))}else kt.loadChildren&&!kt.canLoad?ot.push(this.preloadConfig(q,kt)):kt.children&&ot.push(this.processRoutes(q,kt.children));return(0,i.D)(ot).pipe((0,Z.J)(),(0,A.U)(kt=>{}))}preloadConfig(q,Ue){return this.preloadingStrategy.preload(Ue,()=>(Ue._loadedConfig?(0,d.of)(Ue._loadedConfig):this.loader.load(q.injector,Ue)).pipe((0,Re.zg)(kt=>(Ue._loadedConfig=kt,this.processRoutes(kt.module,kt.routes)))))}}return Te.\u0275fac=function(q){return new(q||Te)(a.LFG(gs),a.LFG(a.Sil),a.LFG(a.zs3),a.LFG(Hi))},Te.\u0275prov=a.Yz7({token:Te,factory:Te.\u0275fac}),Te})(),xt=(()=>{class Te{constructor(q,Ue,ot={}){this.router=q,this.viewportScroller=Ue,this.options=ot,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ot.scrollPositionRestoration=ot.scrollPositionRestoration||"disabled",ot.anchorScrolling=ot.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(q=>{q instanceof fe?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=q.navigationTrigger,this.restoredId=q.restoredState?q.restoredState.navigationId:0):q instanceof pe&&(this.lastId=q.id,this.scheduleScrollEvent(q,this.router.parseUrl(q.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(q=>{q instanceof he&&(q.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(q.position):q.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(q.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(q,Ue){this.router.triggerEvent(new he(q,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ue))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return Te.\u0275fac=function(q){a.$Z()},Te.\u0275prov=a.Yz7({token:Te,factory:Te.\u0275fac}),Te})();
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const Mn=new a.OlP("ROUTER_CONFIGURATION"),Gn=new a.OlP("ROUTER_FORROOT_GUARD"),ai=[V.Ye,{provide:Qe,useClass:rt},{provide:gs,useFactory:function ts(Te,ie,q,Ue,ot,kt,en={},fn,jn){const yi=new gs(null,Te,ie,q,Ue,ot,gn(kt));return fn&&(yi.urlHandlingStrategy=fn),jn&&(yi.routeReuseStrategy=jn),function Eo(Te,ie){Te.errorHandler&&(ie.errorHandler=Te.errorHandler),Te.malformedUriErrorHandler&&(ie.malformedUriErrorHandler=Te.malformedUriErrorHandler),Te.onSameUrlNavigation&&(ie.onSameUrlNavigation=Te.onSameUrlNavigation),Te.paramsInheritanceStrategy&&(ie.paramsInheritanceStrategy=Te.paramsInheritanceStrategy),Te.relativeLinkResolution&&(ie.relativeLinkResolution=Te.relativeLinkResolution),Te.urlUpdateStrategy&&(ie.urlUpdateStrategy=Te.urlUpdateStrategy),Te.canceledNavigationResolution&&(ie.canceledNavigationResolution=Te.canceledNavigationResolution)}(en,yi),en.enableTracing&&yi.events.subscribe(hr=>{var Pi,Mr;null===(Pi=console.group)||void 0===Pi||Pi.call(console,`Router Event: ${hr.constructor.name}`),console.log(hr.toString()),console.log(hr),null===(Mr=console.groupEnd)||void 0===Mr||Mr.call(console)}),yi},deps:[Qe,ti,V.Ye,a.zs3,a.Sil,Or,Mn,[class rs{},new a.FiY],[class zi{},new a.FiY]]},ti,{provide:Ti,useFactory:function vs(Te){return Te.routerState.root},deps:[gs]},Pe,nt,class ue{preload(ie,q){return q().pipe((0,le.K)(()=>(0,d.of)(null)))}},{provide:Mn,useValue:{enableTracing:!1}}];function qi(){return new a.PXZ("Router",gs)}let rr=(()=>{class Te{constructor(q,Ue){}static forRoot(q,Ue){return{ngModule:Te,providers:[ai,Dr(q),{provide:Gn,useFactory:Gr,deps:[[gs,new a.FiY,new a.tp0]]},{provide:Mn,useValue:Ue||{}},{provide:V.S$,useFactory:sr,deps:[V.lw,[new a.tBr(V.mr),new a.FiY],Mn]},{provide:xt,useFactory:tr,deps:[gs,V.EM,Mn]},{provide:Hi,useExisting:Ue&&Ue.preloadingStrategy?Ue.preloadingStrategy:nt},{provide:a.PXZ,multi:!0,useFactory:qi},[ss,{provide:a.ip1,multi:!0,useFactory:ws,deps:[ss]},{provide:Xo,useFactory:ya,deps:[ss]},{provide:a.tb,multi:!0,useExisting:Xo}]]}}static forChild(q){return{ngModule:Te,providers:[Dr(q)]}}}return Te.\u0275fac=function(q){return new(q||Te)(a.LFG(Gn,8),a.LFG(gs,8))},Te.\u0275mod=a.oAB({type:Te}),Te.\u0275inj=a.cJS({}),Te})();function tr(Te,ie,q){return q.scrollOffset&&ie.setOffset(q.scrollOffset),new xt(Te,ie,q)}function sr(Te,ie,q={}){return q.useHash?new V.Do(Te,ie):new V.b0(Te,ie)}function Gr(Te){return"guarded"}function Dr(Te){return[{provide:a.deG,multi:!0,useValue:Te},{provide:Or,multi:!0,useValue:Te}]}let ss=(()=>{class Te{constructor(q){this.injector=q,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new D.xQ}appInitializer(){return this.injector.get(V.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let Ue=null;const ot=new Promise(fn=>Ue=fn),kt=this.injector.get(gs),en=this.injector.get(Mn);return"disabled"===en.initialNavigation?(kt.setUpLocationChangeListener(),Ue(!0)):"enabled"===en.initialNavigation||"enabledBlocking"===en.initialNavigation?(kt.hooks.afterPreactivation=()=>this.initNavigation?(0,d.of)(null):(this.initNavigation=!0,Ue(!0),this.resultOfPreactivationDone),kt.initialNavigation()):Ue(!0),ot})}bootstrapListener(q){const Ue=this.injector.get(Mn),ot=this.injector.get(Pe),kt=this.injector.get(xt),en=this.injector.get(gs),fn=this.injector.get(a.z2F);q===fn.components[0]&&(("enabledNonBlocking"===Ue.initialNavigation||void 0===Ue.initialNavigation)&&en.initialNavigation(),ot.setUpPreloading(),kt.init(),en.resetRootComponentType(fn.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return Te.\u0275fac=function(q){return new(q||Te)(a.LFG(a.zs3))},Te.\u0275prov=a.Yz7({token:Te,factory:Te.\u0275fac}),Te})();function ws(Te){return Te.appInitializer.bind(Te)}function ya(Te){return Te.bootstrapListener.bind(Te)}const Xo=new a.OlP("Router Initializer")}
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */,56430:(ze,G,l)=>{"use strict";l.d(G,{QS:()=>v,_v:()=>f,ab:()=>i,li:()=>C});var a=l(85391),i=new a.g7,d=new WeakMap;function p(m){var I=d.get(m);return I||d.set(m,I={vars:new Set,dep:(0,a.dP)()}),I}function C(m){p(m).vars.forEach(function(I){return I.forgetCache(m)})}function f(m){p(m).vars.forEach(function(I){return I.attachCache(m)})}function v(m){var I=new Set,L=new Set,M=function(A){if(arguments.length>0){if(m!==A){m=A,I.forEach(function(x){p(x).dep.dirty(M),b(x)});var B=Array.from(L);L.clear(),B.forEach(function(x){return x(m)})}}else{var R=i.getValue();R&&(D(R),p(R).dep(M))}return m};M.onNextChange=function(A){return L.add(A),function(){L.delete(A)}};var D=M.attachCache=function(A){return I.add(A),p(A).vars.add(M),M};return M.forgetCache=function(A){return I.delete(A)},M}function b(m){m.broadcastWatches&&m.broadcastWatches()}},11371:(ze,G,l)=>{"use strict";l.d(G,{W:()=>v});var a=l(97582),i=l(53735),d=l(70591),p=l(89661),C=l(79722),f=l(97634);function v(L,M,D,A){var B=M.data,R=(0,a._T)(M,["data"]),x=D.data,w=(0,a._T)(D,["data"]);return(0,i.Z)(R,w)&&b((0,d.p$)(L).selectionSet,B,x,{fragmentMap:(0,p.F)((0,d.kU)(L)),variables:A})}function b(L,M,D,A){if(M===D)return!0;var B=new Set;return L.selections.every(function(R){if(B.has(R)||(B.add(R),!(0,C.LZ)(R,A.variables))||m(R))return!0;if((0,f.My)(R)){var x=(0,f.u2)(R),w=M&&M[x],k=D&&D[x],H=R.selectionSet;if(!H)return(0,i.Z)(w,k);var j=Array.isArray(w),z=Array.isArray(k);if(j!==z)return!1;if(j&&z){var le=w.length;if(k.length!==le)return!1;for(var oe=0;oe<le;++oe)if(!b(H,w[oe],k[oe],A))return!1;return!0}return b(H,w,k,A)}var $=(0,p.hi)(R,A.fragmentMap);return $?!!m($)||b($.selectionSet,M,D,A):void 0})}function m(L){return!!L.directives&&L.directives.some(I)}function I(L){return"nonreactive"===L.name.value}},40484:(ze,G,l)=>{"use strict";l.d(G,{i:()=>L});var a=l(89721),i=l(64302),d=l(97582),C=l(70591);function b(M,D){return D?D(M):i.y.of()}function m(M){return"function"==typeof M?new L(M):M}function I(M){return M.request.length<=1}var L=function(){function M(D){D&&(this.request=D)}return M.empty=function(){return new M(function(){return i.y.of()})},M.from=function(D){return 0===D.length?M.empty():D.map(m).reduce(function(A,B){return A.concat(B)})},M.split=function(D,A,B){var w,R=m(A),x=m(B||new M(b));return w=I(R)&&I(x)?new M(function(k){return D(k)?R.request(k)||i.y.of():x.request(k)||i.y.of()}):new M(function(k,H){return D(k)?R.request(k,H)||i.y.of():x.request(k,H)||i.y.of()}),Object.assign(w,{left:R,right:x})},M.execute=function(D,A){return D.request(function p(M,D){var A=(0,d.pi)({},M);return Object.defineProperty(D,"setContext",{enumerable:!1,value:function(x){A=(0,d.pi)((0,d.pi)({},A),"function"==typeof x?x(A):x)}}),Object.defineProperty(D,"getContext",{enumerable:!1,value:function(){return(0,d.pi)({},A)}}),D}(A.context,function f(M){var D={variables:M.variables||{},extensions:M.extensions||{},operationName:M.operationName,query:M.query};return D.operationName||(D.operationName="string"!=typeof D.query?(0,C.rY)(D.query)||void 0:""),D}(function v(M){for(var D=["query","operationName","variables","extensions","context"],A=0,B=Object.keys(M);A<B.length;A++){var R=B[A];if(D.indexOf(R)<0)throw(0,a._K)(44,R)}return M}(A))))||i.y.of()},M.concat=function(D,A){var B=m(D);if(I(B))return!1!==globalThis.__DEV__&&a.kG.warn(36,B),B;var x,R=m(A);return x=I(R)?new M(function(w){return B.request(w,function(k){return R.request(k)||i.y.of()})||i.y.of()}):new M(function(w,k){return B.request(w,function(H){return R.request(H,k)||i.y.of()})||i.y.of()}),Object.assign(x,{left:B,right:R})},M.prototype.split=function(D,A,B){return this.concat(M.split(D,A,B||new M(b)))},M.prototype.concat=function(D){return M.concat(this,D)},M.prototype.request=function(D,A){throw(0,a._K)(37)},M.prototype.onError=function(D,A){if(A&&A.error)return A.error(D),!1;throw D},M.prototype.setOnError=function(D){return this.onError=D,this},M}()},19162:(ze,G,l)=>{"use strict";l.d(G,{L:()=>f,s:()=>C});var a=l(5058),i=l(38678),d=new WeakSet;function p(v){v.size<=(v.max||-1)||d.has(v)||(d.add(v),setTimeout(function(){v.clean(),d.delete(v)},100))}var C=function(v,b){var m=new a.k(v,b);return m.set=function(I,L){var M=a.k.prototype.set.call(this,I,L);return p(this),M},m},f=function(v,b){var m=new i.e(v,b);return m.set=function(I,L){var M=i.e.prototype.set.call(this,I,L);return p(this),M},m}},72905:(ze,G,l)=>{"use strict";l.d(G,{Kb:()=>v,q4:()=>f,su:()=>C,zP:()=>p});var a=l(97582),i=l(64171),d={};function p(w,k){d[w]=k}var C=!1!==globalThis.__DEV__?function m(){var w,k,H,j,z;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(k){var H=k[0];return[H,i.Q[H]||k[1]]})),sizes:(0,a.pi)({print:null===(w=d.print)||void 0===w?void 0:w.call(d),parser:null===(k=d.parser)||void 0===k?void 0:k.call(d),canonicalStringify:null===(H=d.canonicalStringify)||void 0===H?void 0:H.call(d),links:x(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:B(this.queryManager.documentTransform)}},null===(z=(j=this.cache).getMemoryInternals)||void 0===z?void 0:z.call(j))}}:void 0,f=!1!==globalThis.__DEV__?function L(){var w=this.config.fragments;return(0,a.pi)((0,a.pi)({},I.apply(this)),{addTypenameDocumentTransform:B(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:D(this.storeReader.executeSelectionSet),executeSubSelectedArray:D(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:D(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:D(null==w?void 0:w.findFragmentSpreads),lookup:D(null==w?void 0:w.lookup),transform:D(null==w?void 0:w.transform)}})}:void 0,v=!1!==globalThis.__DEV__?I:void 0;function I(){return{cache:{fragmentQueryDocuments:D(this.getFragmentDoc)}}}function D(w){return function M(w){return!!w&&"dirtyKey"in w}(w)?w.size:void 0}function A(w){return null!=w}function B(w){return R(w).map(function(k){return{cache:k}})}function R(w){return w?(0,a.ev)((0,a.ev)([D(null==w?void 0:w.performWork)],R(null==w?void 0:w.left),!0),R(null==w?void 0:w.right),!0).filter(A):[]}function x(w){var k;return w?(0,a.ev)((0,a.ev)([null===(k=null==w?void 0:w.getMemoryInternals)||void 0===k?void 0:k.call(w)],x(null==w?void 0:w.left),!0),x(null==w?void 0:w.right),!0).filter(A):[]}},64171:(ze,G,l)=>{"use strict";l.d(G,{Q:()=>p});var a=l(97582),i=l(89721),d=Symbol.for("apollo.cacheSize"),p=(0,a.pi)({},i.CO[d])},65355:(ze,G,l)=>{"use strict";l.d(G,{O:()=>i,k:()=>a});var a=Array.isArray;function i(d){return Array.isArray(d)&&d.length>0}},29545:(ze,G,l)=>{"use strict";l.d(G,{DN:()=>f,aS:()=>C,mr:()=>d,sy:()=>p});var a=l(89721),i="ReactNative"==(0,a.wY)(function(){return navigator.product}),d="function"==typeof WeakMap&&!(i&&!global.HermesInternal),p="function"==typeof WeakSet,C="function"==typeof Symbol&&"function"==typeof Symbol.for,f=C&&Symbol.asyncIterator;(0,a.wY)(function(){return window.document.createElement}),(0,a.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},13395:(ze,G,l)=>{"use strict";l.d(G,{B:()=>p});var C,a=l(19162),i=l(64171),d=l(72905),p=Object.assign(function(m){return JSON.stringify(m,f)},{reset:function(){C=new a.L(i.Q.canonicalStringify||1e3)}});function f(b,m){if(m&&"object"==typeof m){var I=Object.getPrototypeOf(m);if(I===Object.prototype||null===I){var L=Object.keys(m);if(L.every(v))return m;var M=JSON.stringify(L),D=C.get(M);if(!D){L.sort();var A=JSON.stringify(L);D=C.get(A)||L,C.set(M,D),C.set(A,D)}var B=Object.create(I);return D.forEach(function(R){B[R]=m[R]}),B}}return m}function v(b,m,I){return 0===m||I[m-1]<=b}!1!==globalThis.__DEV__&&(0,d.zP)("canonicalStringify",function(){return C.size}),p.reset()},80396:(ze,G,l)=>{"use strict";l.d(G,{X:()=>i});var a=Object.prototype.toString;function i(p){return d(p)}function d(p,C){switch(a.call(p)){case"[object Array]":if((C=C||new Map).has(p))return C.get(p);var f=p.slice(0);return C.set(p,f),f.forEach(function(b,m){f[m]=d(b,C)}),f;case"[object Object]":if((C=C||new Map).has(p))return C.get(p);var v=Object.create(Object.getPrototypeOf(p));return C.set(p,v),Object.keys(p).forEach(function(b){v[b]=d(p[b],C)}),v;default:return p}}},93950:(ze,G,l)=>{"use strict";function a(){for(var i=[],d=0;d<arguments.length;d++)i[d]=arguments[d];var p=Object.create(null);return i.forEach(function(C){!C||Object.keys(C).forEach(function(f){var v=C[f];void 0!==v&&(p[f]=v)})}),p}l.d(G,{o:()=>a})},48561:(ze,G,l)=>{"use strict";l.d(G,{X:()=>i});var a=new Map;function i(d){var p=a.get(d)||1;return a.set(d,p+1),"".concat(d,":").concat(p,":").concat(Math.random().toString(36).slice(2))}},87773:(ze,G,l)=>{"use strict";l.d(G,{Ee:()=>p,bw:()=>C,w0:()=>v});var a=l(97582),i=l(27062),d=Object.prototype.hasOwnProperty;function p(){for(var b=[],m=0;m<arguments.length;m++)b[m]=arguments[m];return C(b)}function C(b){var m=b[0]||{},I=b.length;if(I>1)for(var L=new v,M=1;M<I;++M)m=L.merge(m,b[M]);return m}var f=function(b,m,I){return this.merge(b[I],m[I])},v=function(){function b(m){void 0===m&&(m=f),this.reconciler=m,this.isObject=i.s,this.pastCopies=new Set}return b.prototype.merge=function(m,I){for(var L=this,M=[],D=2;D<arguments.length;D++)M[D-2]=arguments[D];return(0,i.s)(I)&&(0,i.s)(m)?(Object.keys(I).forEach(function(A){if(d.call(m,A)){var B=m[A];if(I[A]!==B){var R=L.reconciler.apply(L,(0,a.ev)([m,I,A],M,!1));R!==B&&((m=L.shallowCopyForMerge(m))[A]=R)}}else(m=L.shallowCopyForMerge(m))[A]=I[A]}),m):I},b.prototype.shallowCopyForMerge=function(m){return(0,i.s)(m)&&(this.pastCopies.has(m)||(m=Array.isArray(m)?m.slice(0):(0,a.pi)({__proto__:Object.getPrototypeOf(m)},m),this.pastCopies.add(m))),m},b}()},27062:(ze,G,l)=>{"use strict";function a(d){return null!==d&&"object"==typeof d}l.d(G,{s:()=>a})},69753:(ze,G,l)=>{"use strict";l.d(G,{v:()=>i});var a=l(48561);function i(d,p){void 0===p&&(p=0);var C=(0,a.X)("stringifyForDisplay");return JSON.stringify(d,function(f,v){return void 0===v?C:v},p).split(JSON.stringify(C)).join("<undefined>")}},89721:(ze,G,l)=>{"use strict";l.d(G,{CO:()=>A,kG:()=>x,wY:()=>D,_K:()=>w});var a=l(97582),i="Invariant Violation",d=Object.setPrototypeOf,p=void 0===d?function(oe,$){return oe.__proto__=$,oe}:d,C=function(oe){function $(y){void 0===y&&(y=i);var ae=oe.call(this,"number"==typeof y?i+": "+y+" (see https://github.com/apollographql/invariant-packages)":y)||this;return ae.framesToPop=1,ae.name=i,p(ae,$.prototype),ae}return(0,a.ZT)($,oe),$}(Error);function f(oe,$){if(!oe)throw new C($)}var oe,v=["debug","log","warn","error","silent"],b=v.indexOf("log");function m(oe){return function(){if(v.indexOf(oe)>=b){var $=console[oe]||console.log;return $.apply(console,arguments)}}}(oe=f||(f={})).debug=m("debug"),oe.log=m("log"),oe.warn=m("warn"),oe.error=m("error");var M=l(56497);function D(oe){try{return oe()}catch($){}}const A=D(function(){return globalThis})||D(function(){return window})||D(function(){return self})||D(function(){return global})||D(function(){return D.constructor("return this")()});var B=l(69753);function R(oe){return function($){for(var y=[],ae=1;ae<arguments.length;ae++)y[ae-1]=arguments[ae];if("number"==typeof $){var ge=$;($=j(ge))||($=z(ge,y),y=[])}oe.apply(void 0,[$].concat(y))}}var x=Object.assign(function($,y){for(var ae=[],ge=2;ge<arguments.length;ge++)ae[ge-2]=arguments[ge];$||f($,j(y,ae)||z(y,ae))},{debug:R(f.debug),log:R(f.log),warn:R(f.warn),error:R(f.error)});function w(oe){for(var $=[],y=1;y<arguments.length;y++)$[y-1]=arguments[y];return new C(j(oe,$)||z(oe,$))}var k=Symbol.for("ApolloErrorMessageHandler_"+M.i);function H(oe){if("string"==typeof oe)return oe;try{return(0,B.v)(oe,2).slice(0,1e3)}catch($){return"<non-serializable>"}}function j(oe,$){if(void 0===$&&($=[]),oe)return A[k]&&A[k](oe,$.map(H))}function z(oe,$){if(void 0===$&&($=[]),oe)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:M.i,message:oe,args:$.map(H)})))}globalThis},72938:(ze,G,l)=>{"use strict";l.d(G,{A:()=>m});var a=l(95216),i=l(29545),d=l(70591),p=l(89721),C=l(5058),f=l(85391),v=l(64171);function b(I){return I}var m=function(){function I(L,M){void 0===M&&(M=Object.create(null)),this.resultCache=i.sy?new WeakSet:new Set,this.transform=L,M.getCacheKey&&(this.getCacheKey=M.getCacheKey),this.cached=!1!==M.cache,this.resetCache()}return I.prototype.getCacheKey=function(L){return[L]},I.identity=function(){return new I(b,{cache:!1})},I.split=function(L,M,D){return void 0===D&&(D=I.identity()),Object.assign(new I(function(A){return(L(A)?M:D).transformDocument(A)},{cache:!1}),{left:M,right:D})},I.prototype.resetCache=function(){var L=this;if(this.cached){var M=new a.B(i.mr);this.performWork=(0,f.re)(I.prototype.performWork.bind(this),{makeCacheKey:function(D){var A=L.getCacheKey(D);if(A)return(0,p.kG)(Array.isArray(A),69),M.lookupArray(A)},max:v.Q["documentTransform.cache"],cache:C.k})}},I.prototype.performWork=function(L){return(0,d.A$)(L),this.transform(L)},I.prototype.transformDocument=function(L){if(this.resultCache.has(L))return L;var M=this.performWork(L);return this.resultCache.add(M),M},I.prototype.concat=function(L){var M=this;return Object.assign(new I(function(D){return L.transformDocument(M.transformDocument(D))},{cache:!1}),{left:this,right:L})},I}()},79722:(ze,G,l)=>{"use strict";l.d(G,{FS:()=>v,LZ:()=>d,mj:()=>b});var a=l(89721),i=l(61335);function d(L,M){var D=L.directives;return!D||!D.length||function I(L){var M=[];return L&&L.length&&L.forEach(function(D){if(function m(L){var M=L.name.value;return"skip"===M||"include"===M}(D)){var A=D.arguments,B=D.name.value;(0,a.kG)(A&&1===A.length,71,B);var R=A[0];(0,a.kG)(R.name&&"if"===R.name.value,72,B);var x=R.value;(0,a.kG)(x&&("Variable"===x.kind||"BooleanValue"===x.kind),73,B),M.push({directive:D,ifArgument:R})}}),M}(D).every(function(A){var B=A.directive,R=A.ifArgument,x=!1;return"Variable"===R.value.kind?(0,a.kG)(void 0!==(x=M&&M[R.value.name.value]),70,B.name.value):x=R.value.value,"skip"===B.name.value?!x:x})}function v(L,M,D){var A=new Set(L),B=A.size;return(0,i.Vn)(M,{Directive:function(R){if(A.delete(R.name.value)&&(!D||!A.size))return i.$_}}),D?!A.size:A.size<B}function b(L){return L&&v(["client","export"],L,!0)}},89661:(ze,G,l)=>{"use strict";l.d(G,{F:()=>p,Yk:()=>d,hi:()=>C});var a=l(97582),i=l(89721);function d(f,v){var b=v,m=[];return f.definitions.forEach(function(L){if("OperationDefinition"===L.kind)throw(0,i._K)(74,L.operation,L.name?" named '".concat(L.name.value,"'"):"");"FragmentDefinition"===L.kind&&m.push(L)}),void 0===b&&((0,i.kG)(1===m.length,75,m.length),b=m[0].name.value),(0,a.pi)((0,a.pi)({},f),{definitions:(0,a.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:b}}]}}],f.definitions,!0)})}function p(f){void 0===f&&(f=[]);var v={};return f.forEach(function(b){v[b.name.value]=b}),v}function C(f,v){switch(f.kind){case"InlineFragment":return f;case"FragmentSpread":var b=f.name.value;if("function"==typeof v)return v(b);var m=v&&v[b];return(0,i.kG)(m,76,b),m||null;default:return null}}},70591:(ze,G,l)=>{"use strict";l.d(G,{$H:()=>p,A$:()=>d,O4:()=>I,iW:()=>v,kU:()=>f,p$:()=>m,pD:()=>b,rY:()=>C});var a=l(89721),i=l(97634);function d(L){(0,a.kG)(L&&"Document"===L.kind,77);var M=L.definitions.filter(function(D){return"FragmentDefinition"!==D.kind}).map(function(D){if("OperationDefinition"!==D.kind)throw(0,a._K)(78,D.kind);return D});return(0,a.kG)(M.length<=1,79,M.length),L}function p(L){return d(L),L.definitions.filter(function(M){return"OperationDefinition"===M.kind})[0]}function C(L){return L.definitions.filter(function(M){return"OperationDefinition"===M.kind&&!!M.name}).map(function(M){return M.name.value})[0]||null}function f(L){return L.definitions.filter(function(M){return"FragmentDefinition"===M.kind})}function v(L){var M=p(L);return(0,a.kG)(M&&"query"===M.operation,80),M}function b(L){(0,a.kG)("Document"===L.kind,81),(0,a.kG)(L.definitions.length<=1,82);var M=L.definitions[0];return(0,a.kG)("FragmentDefinition"===M.kind,83),M}function m(L){d(L);for(var M,D=0,A=L.definitions;D<A.length;D++){var B=A[D];if("OperationDefinition"===B.kind){var R=B.operation;if("query"===R||"mutation"===R||"subscription"===R)return B}"FragmentDefinition"===B.kind&&!M&&(M=B)}if(M)return M;throw(0,a._K)(84)}function I(L){var M=Object.create(null),D=L&&L.variableDefinitions;return D&&D.length&&D.forEach(function(A){A.defaultValue&&(0,i.vb)(M,A.variable.name,A.defaultValue)}),M}},2492:(ze,G,l)=>{"use strict";l.d(G,{S:()=>f});var C,a=l(94989),i=l(19162),d=l(64171),p=l(72905),f=Object.assign(function(v){var b=C.get(v);return b||(b=(0,a.S)(v),C.set(v,b)),b},{reset:function(){C=new i.s(d.Q.print||2e3)}});f.reset(),!1!==globalThis.__DEV__&&(0,p.zP)("print",function(){return C?C.size:0})},97634:(ze,G,l)=>{"use strict";l.d(G,{Ao:()=>y,JW:()=>v,My:()=>$,NC:()=>z,PT:()=>j,Yk:()=>f,kQ:()=>C,qw:()=>oe,u2:()=>le,vb:()=>x,vf:()=>w});var a=l(89721),i=l(27062),d=l(89661),p=l(13395);function C(ae){return{__ref:String(ae)}}function f(ae){return Boolean(ae&&"object"==typeof ae&&"string"==typeof ae.__ref)}function v(ae){return(0,i.s)(ae)&&"Document"===ae.kind&&Array.isArray(ae.definitions)}function x(ae,ge,Ve,$e){if(function I(ae){return"IntValue"===ae.kind}(Ve)||function L(ae){return"FloatValue"===ae.kind}(Ve))ae[ge.value]=Number(Ve.value);else if(function m(ae){return"BooleanValue"===ae.kind}(Ve)||function b(ae){return"StringValue"===ae.kind}(Ve))ae[ge.value]=Ve.value;else if(function D(ae){return"ObjectValue"===ae.kind}(Ve)){var Be={};Ve.fields.map(function(Ie){return x(Be,Ie.name,Ie.value,$e)}),ae[ge.value]=Be}else if(function M(ae){return"Variable"===ae.kind}(Ve))ae[ge.value]=($e||{})[Ve.name.value];else if(function A(ae){return"ListValue"===ae.kind}(Ve))ae[ge.value]=Ve.values.map(function(Ie){var Re={};return x(Re,ge,Ie,$e),Re[ge.value]});else if(function B(ae){return"EnumValue"===ae.kind}(Ve))ae[ge.value]=Ve.value;else{if(!function R(ae){return"NullValue"===ae.kind}(Ve))throw(0,a._K)(85,ge.value,Ve.kind);ae[ge.value]=null}}function w(ae,ge){var Ve=null;ae.directives&&(Ve={},ae.directives.forEach(function(Be){Ve[Be.name.value]={},Be.arguments&&Be.arguments.forEach(function(Ee){return x(Ve[Be.name.value],Ee.name,Ee.value,ge)})}));var $e=null;return ae.arguments&&ae.arguments.length&&($e={},ae.arguments.forEach(function(Be){return x($e,Be.name,Be.value,ge)})),j(ae.name.value,$e,Ve)}var k=["connection","include","skip","client","rest","export","nonreactive"],H=p.B,j=Object.assign(function(ae,ge,Ve){if(ge&&Ve&&Ve.connection&&Ve.connection.key){if(Ve.connection.filter&&Ve.connection.filter.length>0){var $e=Ve.connection.filter?Ve.connection.filter:[];$e.sort();var Be={};return $e.forEach(function(Re){Be[Re]=ge[Re]}),"".concat(Ve.connection.key,"(").concat(H(Be),")")}return Ve.connection.key}var Ee=ae;if(ge){var Ie=H(ge);Ee+="(".concat(Ie,")")}return Ve&&Object.keys(Ve).forEach(function(Re){-1===k.indexOf(Re)&&(Ve[Re]&&Object.keys(Ve[Re]).length?Ee+="@".concat(Re,"(").concat(H(Ve[Re]),")"):Ee+="@".concat(Re))}),Ee},{setStringify:function(ae){var ge=H;return H=ae,ge}});function z(ae,ge){if(ae.arguments&&ae.arguments.length){var Ve={};return ae.arguments.forEach(function($e){return x(Ve,$e.name,$e.value,ge)}),Ve}return null}function le(ae){return ae.alias?ae.alias.value:ae.name.value}function oe(ae,ge,Ve){for(var $e,Be=0,Ee=ge.selections;Be<Ee.length;Be++)if($(Ie=Ee[Be])){if("__typename"===Ie.name.value)return ae[le(Ie)]}else $e?$e.push(Ie):$e=[Ie];if("string"==typeof ae.__typename)return ae.__typename;if($e)for(var Re=0,Ge=$e;Re<Ge.length;Re++){var Ie,it=oe(ae,(0,d.hi)(Ie=Ge[Re],Ve).selectionSet,Ve);if("string"==typeof it)return it}}function $(ae){return"Field"===ae.kind}function y(ae){return"InlineFragment"===ae.kind}},43690:(ze,G,l)=>{"use strict";l.d(G,{Gw:()=>B,aL:()=>le,bi:()=>A,ob:()=>oe});var a=l(97582),i=l(89721),d=l(22289),p=l(61335),C=l(70591),f=l(97634),v=l(89661),b=l(65355),m={kind:d.h.FIELD,name:{kind:d.h.NAME,value:"__typename"}};function I($,y){return!$||$.selectionSet.selections.every(function(ae){return ae.kind===d.h.FRAGMENT_SPREAD&&I(y[ae.name.value],y)})}function L($){return I((0,C.$H)($)||(0,C.pD)($),(0,v.F)((0,C.kU)($)))?null:$}function D($){var y=new Map;return function(ge){void 0===ge&&(ge=$);var Ve=y.get(ge);return Ve||y.set(ge,Ve={variables:new Set,fragmentSpreads:new Set}),Ve}}function A($,y){(0,C.A$)(y);for(var ae=D(""),ge=D(""),Ve=function(pe){for(var He=0,et=void 0;He<pe.length&&(et=pe[He]);++He)if(!(0,b.k)(et)){if(et.kind===d.h.OPERATION_DEFINITION)return ae(et.name&&et.name.value);if(et.kind===d.h.FRAGMENT_DEFINITION)return ge(et.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(86),null},$e=0,Be=y.definitions.length-1;Be>=0;--Be)y.definitions[Be].kind===d.h.OPERATION_DEFINITION&&++$e;var Ee=function M($){var y=new Map,ae=new Map;return $.forEach(function(ge){ge&&(ge.name?y.set(ge.name,ge):ge.test&&ae.set(ge.test,ge))}),function(ge){var Ve=y.get(ge.name.value);return!Ve&&ae.size&&ae.forEach(function($e,Be){Be(ge)&&(Ve=$e)}),Ve}}($),Ie=function(pe){return(0,b.O)(pe)&&pe.map(Ee).some(function(He){return He&&He.remove})},Re=new Map,Ge=!1,it={enter:function(pe){if(Ie(pe.directives))return Ge=!0,null}},Se=(0,p.Vn)(y,{Field:it,InlineFragment:it,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(pe,He,et,de,lt){var St=Ve(lt);St&&St.variables.add(pe.name.value)}},FragmentSpread:{enter:function(pe,He,et,de,lt){if(Ie(pe.directives))return Ge=!0,null;var St=Ve(lt);St&&St.fragmentSpreads.add(pe.name.value)}},FragmentDefinition:{enter:function(pe,He,et,de){Re.set(JSON.stringify(de),pe)},leave:function(pe,He,et,de){return pe===Re.get(JSON.stringify(de))?pe:$e>0&&pe.selectionSet.selections.every(function(St){return St.kind===d.h.FIELD&&"__typename"===St.name.value})?(ge(pe.name.value).removed=!0,Ge=!0,null):void 0}},Directive:{leave:function(pe){if(Ee(pe))return Ge=!0,null}}});if(!Ge)return y;var Z=function(pe){return pe.transitiveVars||(pe.transitiveVars=new Set(pe.variables),pe.removed||pe.fragmentSpreads.forEach(function(He){Z(ge(He)).transitiveVars.forEach(function(et){pe.transitiveVars.add(et)})})),pe},V=new Set;Se.definitions.forEach(function(pe){pe.kind===d.h.OPERATION_DEFINITION?Z(ae(pe.name&&pe.name.value)).fragmentSpreads.forEach(function(He){V.add(He)}):pe.kind===d.h.FRAGMENT_DEFINITION&&0===$e&&!ge(pe.name.value).removed&&V.add(pe.name.value)}),V.forEach(function(pe){Z(ge(pe)).fragmentSpreads.forEach(function(He){V.add(He)})});var fe={enter:function(pe){if(function(pe){return!(V.has(pe)&&!ge(pe).removed)}(pe.name.value))return null}};return L((0,p.Vn)(Se,{FragmentSpread:fe,FragmentDefinition:fe,OperationDefinition:{leave:function(pe){if(pe.variableDefinitions){var He=Z(ae(pe.name&&pe.name.value)).transitiveVars;if(He.size<pe.variableDefinitions.length)return(0,a.pi)((0,a.pi)({},pe),{variableDefinitions:pe.variableDefinitions.filter(function(et){return He.has(et.variable.name.value)})})}}}}))}var B=Object.assign(function($){return(0,p.Vn)($,{SelectionSet:{enter:function(y,ae,ge){if(!ge||ge.kind!==d.h.OPERATION_DEFINITION){var Ve=y.selections;if(Ve&&!Ve.some(function(Ee){return(0,f.My)(Ee)&&("__typename"===Ee.name.value||0===Ee.name.value.lastIndexOf("__",0))})){var Be=ge;if(!((0,f.My)(Be)&&Be.directives&&Be.directives.some(function(Ee){return"export"===Ee.name.value})))return(0,a.pi)((0,a.pi)({},y),{selections:(0,a.ev)((0,a.ev)([],Ve,!0),[m],!1)})}}}}})},{added:function($){return $===m}});function le($){return"query"===(0,C.p$)($).operation?$:(0,p.Vn)($,{OperationDefinition:{enter:function(Ve){return(0,a.pi)((0,a.pi)({},Ve),{operation:"query"})}}})}function oe($){return(0,C.A$)($),A([{test:function(ae){return"client"===ae.name.value},remove:!0}],$)}},56497:(ze,G,l)=>{"use strict";l.d(G,{i:()=>a});var a="3.11.8"},50888:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>i});var a=l(5e3);
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */const i=new a.OlP("REQUEST");
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */
/**
       * @license
       * Copyright Google LLC All Rights Reserved.
       *
       * Use of this source code is governed by an MIT-style license that can be
       * found in the LICENSE file at https://angular.io/license
       */new a.OlP("RESPONSE")},38678:(ze,G,l)=>{"use strict";function a(){}l.d(G,{e:()=>i});class i{constructor(p=1/0,C=a){this.max=p,this.dispose=C,this.map=new Map,this.newest=null,this.oldest=null}has(p){return this.map.has(p)}get(p){const C=this.getNode(p);return C&&C.value}get size(){return this.map.size}getNode(p){const C=this.map.get(p);if(C&&C!==this.newest){const{older:f,newer:v}=C;v&&(v.older=f),f&&(f.newer=v),C.older=this.newest,C.older.newer=C,C.newer=null,this.newest=C,C===this.oldest&&(this.oldest=v)}return C}set(p,C){let f=this.getNode(p);return f?f.value=C:(f={key:p,value:C,newer:null,older:this.newest},this.newest&&(this.newest.newer=f),this.newest=f,this.oldest=this.oldest||f,this.map.set(p,f),f.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(p){const C=this.map.get(p);return!!C&&(C===this.newest&&(this.newest=C.older),C===this.oldest&&(this.oldest=C.newer),C.newer&&(C.newer.older=C.older),C.older&&(C.older.newer=C.newer),this.map.delete(p),this.dispose(C.value,p),!0)}}},5058:(ze,G,l)=>{"use strict";function a(){}l.d(G,{k:()=>v});const i=a,d="undefined"!=typeof WeakRef?WeakRef:function(b){return{deref:()=>b}},p="undefined"!=typeof WeakMap?WeakMap:Map,C="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:a,unregister:a}};class v{constructor(m=1/0,I=i){this.max=m,this.dispose=I,this.map=new p,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const L=this.unfinalizedNodes.values();for(let M=0;M<10024;M++){const D=L.next().value;if(!D)break;this.unfinalizedNodes.delete(D);const A=D.key;delete D.key,D.keyRef=new d(A),this.registry.register(A,D,D)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new C(this.deleteNode.bind(this))}has(m){return this.map.has(m)}get(m){const I=this.getNode(m);return I&&I.value}getNode(m){const I=this.map.get(m);if(I&&I!==this.newest){const{older:L,newer:M}=I;M&&(M.older=L),L&&(L.newer=M),I.older=this.newest,I.older.newer=I,I.newer=null,this.newest=I,I===this.oldest&&(this.oldest=M)}return I}set(m,I){let L=this.getNode(m);return L?L.value=I:(L={key:m,value:I,newer:null,older:this.newest},this.newest&&(this.newest.newer=L),this.newest=L,this.oldest=this.oldest||L,this.scheduleFinalization(L),this.map.set(m,L),this.size++,L.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(m){m===this.newest&&(this.newest=m.older),m===this.oldest&&(this.oldest=m.newer),m.newer&&(m.newer.older=m.older),m.older&&(m.older.newer=m.newer),this.size--;const I=m.key||m.keyRef&&m.keyRef.deref();this.dispose(m.value,I),m.keyRef?this.registry.unregister(m):this.unfinalizedNodes.delete(m),I&&this.map.delete(I)}delete(m){const I=this.map.get(m);return!!I&&(this.deleteNode(I),!0)}scheduleFinalization(m){this.unfinalizedNodes.add(m),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},53735:(ze,G,l)=>{"use strict";l.d(G,{D:()=>C,Z:()=>f});const{toString:a,hasOwnProperty:i}=Object.prototype,d=Function.prototype.toString,p=new Map;function C(D,A){try{return v(D,A)}finally{p.clear()}}const f=C;function v(D,A){if(D===A)return!0;const B=a.call(D);if(B!==a.call(A))return!1;switch(B){case"[object Array]":if(D.length!==A.length)return!1;case"[object Object]":{if(M(D,A))return!0;const x=b(D),w=b(A),k=x.length;if(k!==w.length)return!1;for(let H=0;H<k;++H)if(!i.call(A,x[H]))return!1;for(let H=0;H<k;++H){const j=x[H];if(!v(D[j],A[j]))return!1}return!0}case"[object Error]":return D.name===A.name&&D.message===A.message;case"[object Number]":if(D!=D)return A!=A;case"[object Boolean]":case"[object Date]":return+D==+A;case"[object RegExp]":case"[object String]":return D==`${A}`;case"[object Map]":case"[object Set]":{if(D.size!==A.size)return!1;if(M(D,A))return!0;const x=D.entries(),w="[object Map]"===B;for(;;){const k=x.next();if(k.done)break;const[H,j]=k.value;if(!A.has(H)||w&&!v(j,A.get(H)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":D=new Uint8Array(D),A=new Uint8Array(A);case"[object DataView]":{let x=D.byteLength;if(x===A.byteLength)for(;x--&&D[x]===A[x];);return-1===x}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const x=d.call(D);return x===d.call(A)&&!function L(D,A){const B=D.length-A.length;return B>=0&&D.indexOf(A,B)===B}(x,I)}}return!1}function b(D){return Object.keys(D).filter(m,D)}function m(D){return void 0!==this[D]}const I="{ [native code] }";function M(D,A){let B=p.get(D);if(B){if(B.has(A))return!0}else p.set(D,B=new Set);return B.add(A),!1}},95216:(ze,G,l)=>{"use strict";l.d(G,{B:()=>C});const a=()=>Object.create(null),{forEach:i,slice:d}=Array.prototype,{hasOwnProperty:p}=Object.prototype;class C{constructor(b=!0,m=a){this.weakness=b,this.makeData=m}lookup(){return this.lookupArray(arguments)}lookupArray(b){let m=this;return i.call(b,I=>m=m.getChildTrie(I)),p.call(m,"data")?m.data:m.data=this.makeData(d.call(b))}peek(){return this.peekArray(arguments)}peekArray(b){let m=this;for(let I=0,L=b.length;m&&I<L;++I){const M=m.mapFor(b[I],!1);m=M&&M.get(b[I])}return m&&m.data}remove(){return this.removeArray(arguments)}removeArray(b){let m;if(b.length){const I=b[0],L=this.mapFor(I,!1),M=L&&L.get(I);M&&(m=M.removeArray(d.call(b,1)),!M.data&&!M.weak&&(!M.strong||!M.strong.size)&&L.delete(I))}else m=this.data,delete this.data;return m}getChildTrie(b){const m=this.mapFor(b,!0);let I=m.get(b);return I||m.set(b,I=new C(this.weakness,this.makeData)),I}mapFor(b,m){return this.weakness&&function f(v){switch(typeof v){case"object":if(null===v)break;case"function":return!0}return!1}(b)?this.weak||(m?this.weak=new WeakMap:void 0):this.strong||(m?this.strong=new Map:void 0)}}},16426:(ze,G,l)=>{"use strict";function a(i,d,p,C,f,v,b){var m=new Date(0);return m.setUTCFullYear(i,d,p),m.setUTCHours(C,f,v,b),m}l.d(G,{Z:()=>a})},13154:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>L});var i={year:0,month:1,day:2,hour:3,minute:4,second:5},C={},v=l(16426),b=36e5,I={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function L(w,k,H){var j,z,le;if(!w||(j=I.timezoneZ.exec(w)))return 0;if(j=I.timezoneHH.exec(w))return B(le=parseInt(j[1],10))?-le*b:NaN;if(j=I.timezoneHHMM.exec(w)){le=parseInt(j[2],10);var oe=parseInt(j[3],10);return B(le,oe)?(z=Math.abs(le)*b+6e4*oe,"+"===j[1]?-z:z):NaN}if(function x(w){if(R[w])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:w}),R[w]=!0,!0}catch(k){return!1}}(w)){k=new Date(k||Date.now());var $=H?k:function M(w){return(0,v.Z)(w.getFullYear(),w.getMonth(),w.getDate(),w.getHours(),w.getMinutes(),w.getSeconds(),w.getMilliseconds())}(k),y=D($,w),ae=H?y:function A(w,k,H){var z=w.getTime()-k,le=D(new Date(z),H);if(k===le)return k;z-=le-k;var oe=D(new Date(z),H);return le===oe?le:Math.max(le,oe)}(k,y,w);return-ae}return NaN}function D(w,k){var H=function a(w,k){var H=function f(w){if(!C[w]){var k=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));C[w]="06/25/2014, 00:00:00"===k||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===k?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:w,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return C[w]}(k);return H.formatToParts?function d(w,k){try{for(var H=w.formatToParts(k),j=[],z=0;z<H.length;z++){var le=i[H[z].type];le>=0&&(j[le]=parseInt(H[z].value,10))}return j}catch(oe){if(oe instanceof RangeError)return[NaN];throw oe}}(H,w):function p(w,k){var H=w.format(k),j=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(H);return[j[3],j[1],j[2],j[4],j[5],j[6]]}(H,w)}(w,k),j=(0,v.Z)(H[0],H[1]-1,H[2],H[3]%24,H[4],H[5],0).getTime(),z=w.getTime(),le=z%1e3;return j-(z-(le>=0?le:1e3+le))}function B(w,k){return-23<=w&&w<=23&&(null==k||0<=k&&k<=59)}var R={}},86705:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>i});const i=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/},25315:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>x});var a=l(27868);function i(w,k,H){var j=function C(w,k,H){if(H&&!H.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(H?[H.code,"en-US"]:void 0,{timeZone:k,timeZoneName:w})}(w,H.timeZone,H.locale);return j.formatToParts?function d(w,k){for(var H=w.formatToParts(k),j=H.length-1;j>=0;--j)if("timeZoneName"===H[j].type)return H[j].value}(j,k):function p(w,k){var H=w.format(k).replace(/\u200E/g,""),j=/ [\w-+ ]+$/.exec(H);return j?j[0].substr(1):""}(j,k)}var f=l(13154);function m(w,k){var H=w?(0,f.Z)(w,k,!0)/6e4:k.getTimezoneOffset();if(Number.isNaN(H))throw new RangeError("Invalid time zone specified: "+w);return H}function I(w,k){for(var H=w<0?"-":"",j=Math.abs(w).toString();j.length<k;)j="0"+j;return H+j}function L(w,k){var H=k||"",j=w>0?"-":"+",z=Math.abs(w);return j+I(Math.floor(z/60),2)+H+I(Math.floor(z%60),2)}function M(w,k){return w%60==0?(w>0?"-":"+")+I(Math.abs(w)/60,2):L(w,k)}const A={X:function(w,k,H,j){var z=m(j.timeZone,w);if(0===z)return"Z";switch(k){case"X":return M(z);case"XXXX":case"XX":return L(z);default:return L(z,":")}},x:function(w,k,H,j){var z=m(j.timeZone,w);switch(k){case"x":return M(z);case"xxxx":case"xx":return L(z);default:return L(z,":")}},O:function(w,k,H,j){var z=m(j.timeZone,w);switch(k){case"O":case"OO":case"OOO":return"GMT"+function D(w,k){var H=w>0?"-":"+",j=Math.abs(w),z=Math.floor(j/60),le=j%60;if(0===le)return H+String(z);var oe=k||"";return H+String(z)+oe+I(le,2)}(z,":");default:return"GMT"+L(z,":")}},z:function(w,k,H,j){switch(k){case"z":case"zz":case"zzz":return i("short",w,j);default:return i("long",w,j)}}};var B=l(85847),R=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function x(w,k,H){var j=String(k),z=H||{},le=j.match(R);if(le){var oe=(0,B.Z)(z.originalDate||w,z);j=le.reduce(function($,y){if("'"===y[0])return $;var ae=$.indexOf(y),ge="'"===$[ae-1],Ve=$.replace(y,"'"+A[y[0]](oe,y,null,z)+"'");return ge?Ve.substring(0,ae-1)+Ve.substring(ae+1):Ve},j)}return a(w,j,z)}},85847:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>m});var a=l(6092),i=l(47664),d=l(13154),p=l(86705),C=36e5,b={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:p.Z};function m(z,le){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===z)return new Date(NaN);var oe=le||{},$=null==oe.additionalDigits?2:a(oe.additionalDigits);if(2!==$&&1!==$&&0!==$)throw new RangeError("additionalDigits must be 0, 1 or 2");if(z instanceof Date||"object"==typeof z&&"[object Date]"===Object.prototype.toString.call(z))return new Date(z.getTime());if("number"==typeof z||"[object Number]"===Object.prototype.toString.call(z))return new Date(z);if("string"!=typeof z&&"[object String]"!==Object.prototype.toString.call(z))return new Date(NaN);var y=I(z),ae=L(y.date,$),ge=ae.year,Ve=ae.restDateString,$e=M(Ve,ge);if(isNaN($e))return new Date(NaN);if($e){var Ie,Be=$e.getTime(),Ee=0;if(y.time&&(Ee=D(y.time),isNaN(Ee)))return new Date(NaN);if(y.timeZone||oe.timeZone){if(Ie=(0,d.Z)(y.timeZone||oe.timeZone,new Date(Be+Ee)),isNaN(Ie))return new Date(NaN)}else Ie=i(new Date(Be+Ee)),Ie=i(new Date(Be+Ee+Ie));return new Date(Be+Ee+Ie)}return new Date(NaN)}function I(z){var $,le={},oe=b.dateTimePattern.exec(z);if(oe?(le.date=oe[1],$=oe[3]):(oe=b.datePattern.exec(z))?(le.date=oe[1],$=oe[2]):(le.date=null,$=z),$){var y=b.timeZone.exec($);y?(le.time=$.replace(y[1],""),le.timeZone=y[1].trim()):le.time=$}return le}function L(z,le){var y,oe=b.YYY[le],$=b.YYYYY[le];if(y=b.YYYY.exec(z)||$.exec(z)){var ae=y[1];return{year:parseInt(ae,10),restDateString:z.slice(ae.length)}}if(y=b.YY.exec(z)||oe.exec(z)){var ge=y[1];return{year:100*parseInt(ge,10),restDateString:z.slice(ge.length)}}return{year:null}}function M(z,le){if(null===le)return null;var oe,$,y,ae;if(0===z.length)return($=new Date(0)).setUTCFullYear(le),$;if(oe=b.MM.exec(z))return $=new Date(0),w(le,y=parseInt(oe[1],10)-1)?($.setUTCFullYear(le,y),$):new Date(NaN);if(oe=b.DDD.exec(z)){$=new Date(0);var ge=parseInt(oe[1],10);return function k(z,le){if(le<1)return!1;var oe=x(z);return!(oe&&le>366||!oe&&le>365)}(le,ge)?($.setUTCFullYear(le,0,ge),$):new Date(NaN)}if(oe=b.MMDD.exec(z)){$=new Date(0),y=parseInt(oe[1],10)-1;var Ve=parseInt(oe[2],10);return w(le,y,Ve)?($.setUTCFullYear(le,y,Ve),$):new Date(NaN)}if(oe=b.Www.exec(z))return H(0,ae=parseInt(oe[1],10)-1)?A(le,ae):new Date(NaN);if(oe=b.WwwD.exec(z)){ae=parseInt(oe[1],10)-1;var $e=parseInt(oe[2],10)-1;return H(0,ae,$e)?A(le,ae,$e):new Date(NaN)}return null}function D(z){var le,oe,$;if(le=b.HH.exec(z))return j(oe=parseFloat(le[1].replace(",",".")))?oe%24*C:NaN;if(le=b.HHMM.exec(z))return j(oe=parseInt(le[1],10),$=parseFloat(le[2].replace(",",".")))?oe%24*C+6e4*$:NaN;if(le=b.HHMMSS.exec(z)){oe=parseInt(le[1],10),$=parseInt(le[2],10);var y=parseFloat(le[3].replace(",","."));return j(oe,$,y)?oe%24*C+6e4*$+1e3*y:NaN}return null}function A(z,le,oe){le=le||0,oe=oe||0;var $=new Date(0);$.setUTCFullYear(z,0,4);var ae=7*le+oe+1-($.getUTCDay()||7);return $.setUTCDate($.getUTCDate()+ae),$}var B=[31,28,31,30,31,30,31,31,30,31,30,31],R=[31,29,31,30,31,30,31,31,30,31,30,31];function x(z){return z%400==0||z%4==0&&z%100!=0}function w(z,le,oe){if(le<0||le>11)return!1;if(null!=oe){if(oe<1)return!1;var $=x(z);if($&&oe>R[le]||!$&&oe>B[le])return!1}return!0}function H(z,le,oe){return!(le<0||le>52||null!=oe&&(oe<0||oe>6))}function j(z,le,oe){return!(null!=z&&(z<0||z>=25)||null!=le&&(le<0||le>=60)||null!=oe&&(oe<0||oe>=60))}},46476:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>d});var a=l(13154),i=l(85847);function d(p,C,f){var v=(0,i.Z)(p,f),b=(0,a.Z)(C,v,!0),m=new Date(v.getTime()-b),I=new Date(0);return I.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),I.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),I}},89868:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>f});var a=l(42926),i=l(85847),d=l(86705),p=l(13154),C=l(16426);function f(v,b,m){if("string"==typeof v&&!v.match(d.Z)){var I=a(m);return I.timeZone=b,(0,i.Z)(v,I)}var L=(0,i.Z)(v,m),M=(0,C.Z)(L.getFullYear(),L.getMonth(),L.getDate(),L.getHours(),L.getMinutes(),L.getSeconds(),L.getMilliseconds()).getTime(),D=(0,p.Z)(b,new Date(M));return new Date(M+D)}},30744:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>C});var a=l(5202);function i(M){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(M)}function C(M){return f(M,[])}function f(M,D){switch(i(M)){case"string":return JSON.stringify(M);case"function":return M.name?"[function ".concat(M.name,"]"):"[function]";case"object":return null===M?"null":function v(M,D){if(-1!==D.indexOf(M))return"[Circular]";var A=[].concat(D,[M]),B=function I(M){var D=M[String(a.Z)];return"function"==typeof D?D:"function"==typeof M.inspect?M.inspect:void 0}(M);if(void 0!==B){var R=B.call(M);if(R!==M)return"string"==typeof R?R:f(R,A)}else if(Array.isArray(M))return function m(M,D){if(0===M.length)return"[]";if(D.length>2)return"[Array]";for(var A=Math.min(10,M.length),B=M.length-A,R=[],x=0;x<A;++x)R.push(f(M[x],D));return 1===B?R.push("... 1 more item"):B>1&&R.push("... ".concat(B," more items")),"["+R.join(", ")+"]"}(M,A);return function b(M,D){var A=Object.keys(M);if(0===A.length)return"{}";if(D.length>2)return"["+function L(M){var D=Object.prototype.toString.call(M).replace(/^\[object /,"").replace(/]$/,"");if("Object"===D&&"function"==typeof M.constructor){var A=M.constructor.name;if("string"==typeof A&&""!==A)return A}return D}(M)+"]";var B=A.map(function(R){return R+": "+f(M[R],D)});return"{ "+B.join(", ")+" }"}(M,A)}(M,D);default:return String(M)}}},5202:(ze,G,l)=>{"use strict";l.d(G,{Z:()=>i});const i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},30848:(ze,G,l)=>{"use strict";l.d(G,{Ye:()=>p,WU:()=>C,UG:()=>f});var i=l(5202);function d(v){var b=v.prototype.toJSON;"function"==typeof b||function a(v,b){if(!Boolean(v))throw new Error(null!=b?b:"Unexpected invariant triggered.")}(0),v.prototype.inspect=b,i.Z&&(v.prototype[i.Z]=b)}var p=function(){function v(m,I,L){this.start=m.start,this.end=I.end,this.startToken=m,this.endToken=I,this.source=L}return v.prototype.toJSON=function(){return{start:this.start,end:this.end}},v}();d(p);var C=function(){function v(m,I,L,M,D,A,B){this.kind=m,this.start=I,this.end=L,this.line=M,this.column=D,this.value=B,this.prev=A,this.next=null}return v.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},v}();function f(v){return null!=v&&"string"==typeof v.kind}d(C)},12032:(ze,G,l)=>{"use strict";function a(C){var f=C.split(/\r\n|[\n\r]/g),v=function d(C){for(var f,v=!0,b=!0,m=0,I=null,L=0;L<C.length;++L)switch(C.charCodeAt(L)){case 13:10===C.charCodeAt(L+1)&&++L;case 10:v=!1,b=!0,m=0;break;case 9:case 32:++m;break;default:b&&!v&&(null===I||m<I)&&(I=m),b=!1}return null!==(f=I)&&void 0!==f?f:0}(C);if(0!==v)for(var b=1;b<f.length;b++)f[b]=f[b].slice(v);for(var m=0;m<f.length&&i(f[m]);)++m;for(var I=f.length;I>m&&i(f[I-1]);)--I;return f.slice(m,I).join("\n")}function i(C){for(var f=0;f<C.length;++f)if(" "!==C[f]&&"\t"!==C[f])return!1;return!0}function p(C){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",v=arguments.length>2&&void 0!==arguments[2]&&arguments[2],b=-1===C.indexOf("\n"),m=" "===C[0]||"\t"===C[0],I='"'===C[C.length-1],L="\\"===C[C.length-1],M=!b||I||L||v,D="";return M&&!(b&&m)&&(D+="\n"+f),D+=f?C.replace(/\n/g,"\n"+f):C,M&&(D+="\n"),'"""'+D.replace(/"""/g,'\\"""')+'"""'}l.d(G,{LZ:()=>p,W7:()=>a})},22289:(ze,G,l)=>{"use strict";l.d(G,{h:()=>a});var a=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},94989:(ze,G,l)=>{"use strict";l.d(G,{S:()=>d});var a=l(61335),i=l(12032);function d(D){return(0,a.Vn)(D,{leave:C})}var C={Name:function(A){return A.value},Variable:function(A){return"$"+A.name},Document:function(A){return v(A.definitions,"\n\n")+"\n"},OperationDefinition:function(A){var B=A.operation,R=A.name,x=m("(",v(A.variableDefinitions,", "),")"),w=v(A.directives," "),k=A.selectionSet;return R||w||x||"query"!==B?v([B,v([R,x]),w,k]," "):k},VariableDefinition:function(A){var w=A.directives;return A.variable+": "+A.type+m(" = ",A.defaultValue)+m(" ",v(w," "))},SelectionSet:function(A){return b(A.selections)},Field:function(A){var R=A.name,x=A.arguments,w=A.directives,k=A.selectionSet,H=m("",A.alias,": ")+R,j=H+m("(",v(x,", "),")");return j.length>80&&(j=H+m("(\n",I(v(x,"\n")),"\n)")),v([j,v(w," "),k]," ")},Argument:function(A){return A.name+": "+A.value},FragmentSpread:function(A){return"..."+A.name+m(" ",v(A.directives," "))},InlineFragment:function(A){var R=A.directives,x=A.selectionSet;return v(["...",m("on ",A.typeCondition),v(R," "),x]," ")},FragmentDefinition:function(A){var R=A.typeCondition,x=A.variableDefinitions,w=A.directives,k=A.selectionSet;return"fragment ".concat(A.name).concat(m("(",v(x,", "),")")," ")+"on ".concat(R," ").concat(m("",v(w," ")," "))+k},IntValue:function(A){return A.value},FloatValue:function(A){return A.value},StringValue:function(A,B){var R=A.value;return A.block?(0,i.LZ)(R,"description"===B?"":"  "):JSON.stringify(R)},BooleanValue:function(A){return A.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(A){return A.value},ListValue:function(A){return"["+v(A.values,", ")+"]"},ObjectValue:function(A){return"{"+v(A.fields,", ")+"}"},ObjectField:function(A){return A.name+": "+A.value},Directive:function(A){return"@"+A.name+m("(",v(A.arguments,", "),")")},NamedType:function(A){return A.name},ListType:function(A){return"["+A.type+"]"},NonNullType:function(A){return A.type+"!"},SchemaDefinition:f(function(D){var B=D.operationTypes;return v(["schema",v(D.directives," "),b(B)]," ")}),OperationTypeDefinition:function(A){return A.operation+": "+A.type},ScalarTypeDefinition:f(function(D){return v(["scalar",D.name,v(D.directives," ")]," ")}),ObjectTypeDefinition:f(function(D){var R=D.directives,x=D.fields;return v(["type",D.name,m("implements ",v(D.interfaces," & ")),v(R," "),b(x)]," ")}),FieldDefinition:f(function(D){var B=D.arguments,R=D.type,x=D.directives;return D.name+(M(B)?m("(\n",I(v(B,"\n")),"\n)"):m("(",v(B,", "),")"))+": "+R+m(" ",v(x," "))}),InputValueDefinition:f(function(D){var x=D.directives;return v([D.name+": "+D.type,m("= ",D.defaultValue),v(x," ")]," ")}),InterfaceTypeDefinition:f(function(D){var R=D.directives,x=D.fields;return v(["interface",D.name,m("implements ",v(D.interfaces," & ")),v(R," "),b(x)]," ")}),UnionTypeDefinition:f(function(D){var R=D.types;return v(["union",D.name,v(D.directives," "),R&&0!==R.length?"= "+v(R," | "):""]," ")}),EnumTypeDefinition:f(function(D){var R=D.values;return v(["enum",D.name,v(D.directives," "),b(R)]," ")}),EnumValueDefinition:f(function(D){return v([D.name,v(D.directives," ")]," ")}),InputObjectTypeDefinition:f(function(D){var R=D.fields;return v(["input",D.name,v(D.directives," "),b(R)]," ")}),DirectiveDefinition:f(function(D){var B=D.arguments,R=D.repeatable,x=D.locations;return"directive @"+D.name+(M(B)?m("(\n",I(v(B,"\n")),"\n)"):m("(",v(B,", "),")"))+(R?" repeatable":"")+" on "+v(x," | ")}),SchemaExtension:function(A){var R=A.operationTypes;return v(["extend schema",v(A.directives," "),b(R)]," ")},ScalarTypeExtension:function(A){return v(["extend scalar",A.name,v(A.directives," ")]," ")},ObjectTypeExtension:function(A){var x=A.directives,w=A.fields;return v(["extend type",A.name,m("implements ",v(A.interfaces," & ")),v(x," "),b(w)]," ")},InterfaceTypeExtension:function(A){var x=A.directives,w=A.fields;return v(["extend interface",A.name,m("implements ",v(A.interfaces," & ")),v(x," "),b(w)]," ")},UnionTypeExtension:function(A){var x=A.types;return v(["extend union",A.name,v(A.directives," "),x&&0!==x.length?"= "+v(x," | "):""]," ")},EnumTypeExtension:function(A){var x=A.values;return v(["extend enum",A.name,v(A.directives," "),b(x)]," ")},InputObjectTypeExtension:function(A){var x=A.fields;return v(["extend input",A.name,v(A.directives," "),b(x)]," ")}};function f(D){return function(A){return v([A.description,D(A)],"\n")}}function v(D){var A,B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(A=null==D?void 0:D.filter(function(R){return R}).join(B))&&void 0!==A?A:""}function b(D){return m("{\n",I(v(D,"\n")),"\n}")}function m(D,A){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=A&&""!==A?D+A+B:""}function I(D){return m("  ",D.replace(/\n/g,"\n  "))}function L(D){return-1!==D.indexOf("\n")}function M(D){return null!=D&&D.some(L)}},61335:(ze,G,l)=>{"use strict";l.d(G,{$_:()=>p,Vn:()=>C});var a=l(30744),i=l(30848),d={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},p=Object.freeze({});function C(b,m){var I=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,L=void 0,M=Array.isArray(b),D=[b],A=-1,B=[],R=void 0,x=void 0,w=void 0,k=[],H=[],j=b;do{var z=++A===D.length,le=z&&0!==B.length;if(z){if(x=0===H.length?void 0:k[k.length-1],R=w,w=H.pop(),le){if(M)R=R.slice();else{for(var oe={},$=0,y=Object.keys(R);$<y.length;$++){var ae=y[$];oe[ae]=R[ae]}R=oe}for(var ge=0,Ve=0;Ve<B.length;Ve++){var $e=B[Ve][0],Be=B[Ve][1];M&&($e-=ge),M&&null===Be?(R.splice($e,1),ge++):R[$e]=Be}}A=L.index,D=L.keys,B=L.edits,M=L.inArray,L=L.prev}else{if(x=w?M?A:D[A]:void 0,null==(R=w?w[x]:j))continue;w&&k.push(x)}var Re,Ee=void 0;if(!Array.isArray(R)){if(!(0,i.UG)(R))throw new Error("Invalid AST Node: ".concat((0,a.Z)(R),"."));var Ie=v(m,R.kind,z);if(Ie){if((Ee=Ie.call(m,R,x,w,k,H))===p)break;if(!1===Ee){if(!z){k.pop();continue}}else if(void 0!==Ee&&(B.push([x,Ee]),!z)){if(!(0,i.UG)(Ee)){k.pop();continue}R=Ee}}}void 0===Ee&&le&&B.push([x,R]),z?k.pop():(L={inArray:M,index:A,keys:D,edits:B,prev:L},D=(M=Array.isArray(R))?R:null!==(Re=I[R.kind])&&void 0!==Re?Re:[],A=-1,B=[],w&&H.push(w),w=R)}while(void 0!==L);return 0!==B.length&&(j=B[B.length-1][1]),j}function v(b,m,I){var L=b[m];if(L){if(!I&&"function"==typeof L)return L;var M=I?L.leave:L.enter;if("function"==typeof M)return M}else{var D=I?b.leave:b.enter;if(D){if("function"==typeof D)return D;var A=D[m];if("function"==typeof A)return A}}}},85391:(ze,G,l)=>{"use strict";l.d(G,{g7:()=>R,dP:()=>Je,re:()=>xe});const a=()=>Object.create(null),{forEach:i,slice:d}=Array.prototype,{hasOwnProperty:p}=Object.prototype;class C{constructor(N=!0,F=a){this.weakness=N,this.makeData=F}lookup(...N){return this.lookupArray(N)}lookupArray(N){let F=this;return i.call(N,Y=>F=F.getChildTrie(Y)),p.call(F,"data")?F.data:F.data=this.makeData(d.call(N))}peek(...N){return this.peekArray(N)}peekArray(N){let F=this;for(let Y=0,re=N.length;F&&Y<re;++Y){const Oe=this.weakness&&f(N[Y])?F.weak:F.strong;F=Oe&&Oe.get(N[Y])}return F&&F.data}getChildTrie(N){const F=this.weakness&&f(N)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let Y=F.get(N);return Y||F.set(N,Y=new C(this.weakness,this.makeData)),Y}}function f(he){switch(typeof he){case"object":if(null===he)break;case"function":return!0}return!1}var v=l(38678);let b=null;const m={};let I=1;function M(he){try{return he()}catch(N){}}const D="@wry/context:Slot",B=M(()=>globalThis)||M(()=>global)||Object.create(null),R=B[D]||Array[D]||function(he){try{Object.defineProperty(B,D,{value:he,enumerable:!1,writable:!1,configurable:!0})}finally{return he}}(class{constructor(){this.id=["slot",I++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let N=b;N;N=N.parent)if(this.id in N.slots){const F=N.slots[this.id];if(F===m)break;return N!==b&&(b.slots[this.id]=F),!0}return b&&(b.slots[this.id]=m),!1}getValue(){if(this.hasValue())return b.slots[this.id]}withValue(N,F,Y,re){const Ye=b;b={parent:Ye,slots:{__proto__:null,[this.id]:N}};try{return F.apply(re,Y)}finally{b=Ye}}static bind(N){const F=b;return function(){const Y=b;try{return b=F,N.apply(this,arguments)}finally{b=Y}}}static noContext(N,F,Y){if(!b)return N.apply(Y,F);{const re=b;try{return b=null,N.apply(Y,F)}finally{b=re}}}}),oe=new R,{hasOwnProperty:y}=Object.prototype,ae=Array.from||function(he){const N=[];return he.forEach(F=>N.push(F)),N};function ge(he){const{unsubscribe:N}=he;"function"==typeof N&&(he.unsubscribe=void 0,N())}const Ve=[];function Be(he,N){if(!he)throw new Error(N||"assertion failure")}function Ee(he,N){const F=he.length;return F>0&&F===N.length&&he[F-1]===N[F-1]}function Ie(he){switch(he.length){case 0:throw new Error("unknown value");case 1:return he[0];case 2:throw he[1]}}function Re(he){return he.slice(0)}let Ge=(()=>{class he{constructor(F){this.fn=F,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++he.count}peek(){if(1===this.value.length&&!V(this))return it(this),this.value[0]}recompute(F){return Be(!this.recomputing,"already recomputing"),it(this),V(this)?function Se(he,N){return St(he),oe.withValue(he,Z,[he,N]),function gt(he,N){if("function"==typeof he.subscribe)try{ge(he),he.unsubscribe=he.subscribe.apply(null,N)}catch(F){return he.setDirty(),!1}return!0}(he,N)&&function U(he){he.dirty=!1,!V(he)&&pe(he)}(he),Ie(he.value)}(this,F):Ie(this.value)}setDirty(){this.dirty||(this.dirty=!0,fe(this),ge(this))}dispose(){this.setDirty(),St(this),He(this,(F,Y)=>{F.setDirty(),Qt(F,this)})}forget(){this.dispose()}dependOn(F){F.add(this),this.deps||(this.deps=Ve.pop()||new Set),this.deps.add(F)}forgetDeps(){this.deps&&(ae(this.deps).forEach(F=>F.delete(this)),this.deps.clear(),Ve.push(this.deps),this.deps=null)}}return he.count=0,he})();function it(he){const N=oe.getValue();if(N)return he.parents.add(N),N.childValues.has(he)||N.childValues.set(he,[]),V(he)?et(N,he):de(N,he),N}function Z(he,N){he.recomputing=!0;const{normalizeResult:F}=he;let Y;F&&1===he.value.length&&(Y=Re(he.value)),he.value.length=0;try{if(he.value[0]=he.fn.apply(null,N),F&&Y&&!Ee(Y,he.value))try{he.value[0]=F(he.value[0],Y[0])}catch(re){}}catch(re){he.value[1]=re}he.recomputing=!1}function V(he){return he.dirty||!(!he.dirtyChildren||!he.dirtyChildren.size)}function fe(he){He(he,et)}function pe(he){He(he,de)}function He(he,N){const F=he.parents.size;if(F){const Y=ae(he.parents);for(let re=0;re<F;++re)N(Y[re],he)}}function et(he,N){Be(he.childValues.has(N)),Be(V(N));const F=!V(he);if(he.dirtyChildren){if(he.dirtyChildren.has(N))return}else he.dirtyChildren=Ve.pop()||new Set;he.dirtyChildren.add(N),F&&fe(he)}function de(he,N){Be(he.childValues.has(N)),Be(!V(N));const F=he.childValues.get(N);0===F.length?he.childValues.set(N,Re(N.value)):Ee(F,N.value)||he.setDirty(),lt(he,N),!V(he)&&pe(he)}function lt(he,N){const F=he.dirtyChildren;F&&(F.delete(N),0===F.size&&(Ve.length<100&&Ve.push(F),he.dirtyChildren=null))}function St(he){he.childValues.size>0&&he.childValues.forEach((N,F)=>{Qt(he,F)}),he.forgetDeps(),Be(null===he.dirtyChildren)}function Qt(he,N){N.parents.delete(he),he.childValues.delete(N),lt(he,N)}const yt={setDirty:!0,dispose:!0,forget:!0};function Je(he){const N=new Map,F=he&&he.subscribe;function Y(re){const Oe=oe.getValue();if(Oe){let Ye=N.get(re);Ye||N.set(re,Ye=new Set),Oe.dependOn(Ye),"function"==typeof F&&(ge(Ye),Ye.unsubscribe=F(re))}}return Y.dirty=function(Oe,Ye){const vt=N.get(Oe);if(vt){const Vt=Ye&&y.call(yt,Ye)?Ye:"setDirty";ae(vt).forEach(Jt=>Jt[Vt]()),N.delete(Oe),ge(vt)}},Y}let ct;function Xe(...he){return(ct||(ct=new C("function"==typeof WeakMap))).lookupArray(he)}const X=new Set;function xe(he,{max:N=Math.pow(2,16),keyArgs:F,makeCacheKey:Y=Xe,normalizeResult:re,subscribe:Oe,cache:Ye=v.e}=Object.create(null)){const vt="function"==typeof Ye?new Ye(N,yn=>yn.dispose()):Ye,Vt=function(){const yn=Y.apply(null,F?F.apply(null,arguments):arguments);if(void 0===yn)return he.apply(null,arguments);let An=vt.get(yn);An||(vt.set(yn,An=new Ge(he)),An.normalizeResult=re,An.subscribe=Oe,An.forget=()=>vt.delete(yn));const Nn=An.recompute(Array.prototype.slice.call(arguments));return vt.set(yn,An),X.add(vt),oe.hasValue()||(X.forEach(In=>In.clean()),X.clear()),Nn};function Jt(yn){const An=yn&&vt.get(yn);An&&An.setDirty()}function hn(yn){const An=yn&&vt.get(yn);if(An)return An.peek()}function gn(yn){return!!yn&&vt.delete(yn)}return Object.defineProperty(Vt,"size",{get:()=>vt.size,configurable:!1,enumerable:!1}),Object.freeze(Vt.options={max:N,keyArgs:F,makeCacheKey:Y,normalizeResult:re,subscribe:Oe,cache:vt}),Vt.dirtyKey=Jt,Vt.dirty=function(){Jt(Y.apply(null,arguments))},Vt.peekKey=hn,Vt.peek=function(){return hn(Y.apply(null,arguments))},Vt.forgetKey=gn,Vt.forget=function(){return gn(Y.apply(null,arguments))},Vt.makeCacheKey=Y,Vt.getKey=F?function(){return Y.apply(null,F.apply(null,arguments))}:Y,Object.freeze(Vt)}},64302:(ze,G,l)=>{"use strict";function d($,y){(null==y||y>$.length)&&(y=$.length);for(var ae=0,ge=new Array(y);ae<y;ae++)ge[ae]=$[ae];return ge}function p($,y){for(var ae=0;ae<y.length;ae++){var ge=y[ae];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty($,ge.key,ge)}}function C($,y,ae){return y&&p($.prototype,y),ae&&p($,ae),Object.defineProperty($,"prototype",{writable:!1}),$}l.d(G,{y:()=>oe});var f=function(){return"function"==typeof Symbol},v=function($){return f()&&Boolean(Symbol[$])},b=function($){return v($)?Symbol[$]:"@@"+$};f()&&!v("observable")&&(Symbol.observable=Symbol("observable"));var m=b("iterator"),I=b("observable"),L=b("species");function M($,y){var ae=$[y];if(null!=ae){if("function"!=typeof ae)throw new TypeError(ae+" is not a function");return ae}}function D($){var y=$.constructor;return void 0!==y&&null===(y=y[L])&&(y=void 0),void 0!==y?y:oe}function B($){B.log?B.log($):setTimeout(function(){throw $})}function R($){Promise.resolve().then(function(){try{$()}catch(y){B(y)}})}function x($){var y=$._cleanup;if(void 0!==y&&($._cleanup=void 0,y))try{if("function"==typeof y)y();else{var ae=M(y,"unsubscribe");ae&&ae.call(y)}}catch(ge){B(ge)}}function w($){$._observer=void 0,$._queue=void 0,$._state="closed"}function H($,y,ae){$._state="running";var ge=$._observer;try{var Ve=M(ge,y);switch(y){case"next":Ve&&Ve.call(ge,ae);break;case"error":if(w($),!Ve)throw ae;Ve.call(ge,ae);break;case"complete":w($),Ve&&Ve.call(ge)}}catch($e){B($e)}"closed"===$._state?x($):"running"===$._state&&($._state="ready")}function j($,y,ae){if("closed"!==$._state){if("buffering"===$._state)return void $._queue.push({type:y,value:ae});if("ready"!==$._state)return $._state="buffering",$._queue=[{type:y,value:ae}],void R(function(){return function k($){var y=$._queue;if(y){$._queue=void 0,$._state="ready";for(var ae=0;ae<y.length&&(H($,y[ae].type,y[ae].value),"closed"!==$._state);++ae);}}($)});H($,y,ae)}}var z=function(){function $(ae,ge){this._cleanup=void 0,this._observer=ae,this._queue=void 0,this._state="initializing";var Ve=new le(this);try{this._cleanup=ge.call(void 0,Ve)}catch($e){Ve.error($e)}"initializing"===this._state&&(this._state="ready")}return $.prototype.unsubscribe=function(){"closed"!==this._state&&(w(this),x(this))},C($,[{key:"closed",get:function(){return"closed"===this._state}}]),$}(),le=function(){function $(ae){this._subscription=ae}var y=$.prototype;return y.next=function(ge){j(this._subscription,"next",ge)},y.error=function(ge){j(this._subscription,"error",ge)},y.complete=function(){j(this._subscription,"complete")},C($,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),$}(),oe=function(){function $(ae){if(!(this instanceof $))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof ae)throw new TypeError("Observable initializer must be a function");this._subscriber=ae}var y=$.prototype;return y.subscribe=function(ge){return("object"!=typeof ge||null===ge)&&(ge={next:ge,error:arguments[1],complete:arguments[2]}),new z(ge,this._subscriber)},y.forEach=function(ge){var Ve=this;return new Promise(function($e,Be){if("function"==typeof ge)var Ie=Ve.subscribe({next:function(Re){try{ge(Re,Ee)}catch(Ge){Be(Ge),Ie.unsubscribe()}},error:Be,complete:$e});else Be(new TypeError(ge+" is not a function"));function Ee(){Ie.unsubscribe(),$e()}})},y.map=function(ge){var Ve=this;if("function"!=typeof ge)throw new TypeError(ge+" is not a function");return new(D(this))(function(Be){return Ve.subscribe({next:function(Ee){try{Ee=ge(Ee)}catch(Ie){return Be.error(Ie)}Be.next(Ee)},error:function(Ee){Be.error(Ee)},complete:function(){Be.complete()}})})},y.filter=function(ge){var Ve=this;if("function"!=typeof ge)throw new TypeError(ge+" is not a function");return new(D(this))(function(Be){return Ve.subscribe({next:function(Ee){try{if(!ge(Ee))return}catch(Ie){return Be.error(Ie)}Be.next(Ee)},error:function(Ee){Be.error(Ee)},complete:function(){Be.complete()}})})},y.reduce=function(ge){var Ve=this;if("function"!=typeof ge)throw new TypeError(ge+" is not a function");var $e=D(this),Be=arguments.length>1,Ee=!1,Ie=arguments[1],Re=Ie;return new $e(function(Ge){return Ve.subscribe({next:function(it){var Se=!Ee;if(Ee=!0,!Se||Be)try{Re=ge(Re,it)}catch(Z){return Ge.error(Z)}else Re=it},error:function(it){Ge.error(it)},complete:function(){if(!Ee&&!Be)return Ge.error(new TypeError("Cannot reduce an empty sequence"));Ge.next(Re),Ge.complete()}})})},y.concat=function(){for(var ge=this,Ve=arguments.length,$e=new Array(Ve),Be=0;Be<Ve;Be++)$e[Be]=arguments[Be];var Ee=D(this);return new Ee(function(Ie){var Re,Ge=0;return function it(Se){Re=Se.subscribe({next:function(Z){Ie.next(Z)},error:function(Z){Ie.error(Z)},complete:function(){Ge===$e.length?(Re=void 0,Ie.complete()):it(Ee.from($e[Ge++]))}})}(ge),function(){Re&&(Re.unsubscribe(),Re=void 0)}})},y.flatMap=function(ge){var Ve=this;if("function"!=typeof ge)throw new TypeError(ge+" is not a function");var $e=D(this);return new $e(function(Be){var Ee=[],Ie=Ve.subscribe({next:function(Ge){if(ge)try{Ge=ge(Ge)}catch(Se){return Be.error(Se)}var it=$e.from(Ge).subscribe({next:function(Se){Be.next(Se)},error:function(Se){Be.error(Se)},complete:function(){var Se=Ee.indexOf(it);Se>=0&&Ee.splice(Se,1),Re()}});Ee.push(it)},error:function(Ge){Be.error(Ge)},complete:function(){Re()}});function Re(){Ie.closed&&0===Ee.length&&Be.complete()}return function(){Ee.forEach(function(Ge){return Ge.unsubscribe()}),Ie.unsubscribe()}})},y[I]=function(){return this},$.from=function(ge){var Ve="function"==typeof this?this:$;if(null==ge)throw new TypeError(ge+" is not an object");var $e=M(ge,I);if($e){var Be=$e.call(ge);if(Object(Be)!==Be)throw new TypeError(Be+" is not an object");return function A($){return $ instanceof oe}(Be)&&Be.constructor===Ve?Be:new Ve(function(Ee){return Be.subscribe(Ee)})}if(v("iterator")&&($e=M(ge,m)))return new Ve(function(Ee){R(function(){if(!Ee.closed){for(var Re,Ie=function a($,y){var ae="undefined"!=typeof Symbol&&$[Symbol.iterator]||$["@@iterator"];if(ae)return(ae=ae.call($)).next.bind(ae);if(Array.isArray($)||(ae=function i($,y){if($){if("string"==typeof $)return d($,y);var ae=Object.prototype.toString.call($).slice(8,-1);if("Object"===ae&&$.constructor&&(ae=$.constructor.name),"Map"===ae||"Set"===ae)return Array.from($);if("Arguments"===ae||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ae))return d($,y)}}($))||y&&$&&"number"==typeof $.length){ae&&($=ae);var ge=0;return function(){return ge>=$.length?{done:!0}:{done:!1,value:$[ge++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}($e.call(ge));!(Re=Ie()).done;)if(Ee.next(Re.value),Ee.closed)return;Ee.complete()}})});if(Array.isArray(ge))return new Ve(function(Ee){R(function(){if(!Ee.closed){for(var Ie=0;Ie<ge.length;++Ie)if(Ee.next(ge[Ie]),Ee.closed)return;Ee.complete()}})});throw new TypeError(ge+" is not observable")},$.of=function(){for(var ge=arguments.length,Ve=new Array(ge),$e=0;$e<ge;$e++)Ve[$e]=arguments[$e];var Be="function"==typeof this?this:$;return new Be(function(Ee){R(function(){if(!Ee.closed){for(var Ie=0;Ie<Ve.length;++Ie)if(Ee.next(Ve[Ie]),Ee.closed)return;Ee.complete()}})})},C($,null,[{key:L,get:function(){return this}}]),$}();f()&&Object.defineProperty(oe,Symbol("extensions"),{value:{symbol:I,hostReportError:B},configurable:!0})},86:(ze,G,l)=>{"use strict";function a(i){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(i)}l.d(G,{Z:()=>a})},97582:(ze,G,l)=>{"use strict";l.d(G,{Jh:()=>D,ZT:()=>i,_T:()=>p,ev:()=>H,mG:()=>M,pi:()=>d});var a=function(Se,Z){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(V,U){V.__proto__=U}||function(V,U){for(var fe in U)Object.prototype.hasOwnProperty.call(U,fe)&&(V[fe]=U[fe])})(Se,Z)};function i(Se,Z){if("function"!=typeof Z&&null!==Z)throw new TypeError("Class extends value "+String(Z)+" is not a constructor or null");function V(){this.constructor=Se}a(Se,Z),Se.prototype=null===Z?Object.create(Z):(V.prototype=Z.prototype,new V)}var d=function(){return d=Object.assign||function(Z){for(var V,U=1,fe=arguments.length;U<fe;U++)for(var pe in V=arguments[U])Object.prototype.hasOwnProperty.call(V,pe)&&(Z[pe]=V[pe]);return Z},d.apply(this,arguments)};function p(Se,Z){var V={};for(var U in Se)Object.prototype.hasOwnProperty.call(Se,U)&&Z.indexOf(U)<0&&(V[U]=Se[U]);if(null!=Se&&"function"==typeof Object.getOwnPropertySymbols){var fe=0;for(U=Object.getOwnPropertySymbols(Se);fe<U.length;fe++)Z.indexOf(U[fe])<0&&Object.prototype.propertyIsEnumerable.call(Se,U[fe])&&(V[U[fe]]=Se[U[fe]])}return V}function M(Se,Z,V,U){return new(V||(V=Promise))(function(pe,He){function et(St){try{lt(U.next(St))}catch(Qt){He(Qt)}}function de(St){try{lt(U.throw(St))}catch(Qt){He(Qt)}}function lt(St){St.done?pe(St.value):function fe(pe){return pe instanceof V?pe:new V(function(He){He(pe)})}(St.value).then(et,de)}lt((U=U.apply(Se,Z||[])).next())})}function D(Se,Z){var U,fe,pe,V={label:0,sent:function(){if(1&pe[0])throw pe[1];return pe[1]},trys:[],ops:[]},He=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return He.next=et(0),He.throw=et(1),He.return=et(2),"function"==typeof Symbol&&(He[Symbol.iterator]=function(){return this}),He;function et(lt){return function(St){return function de(lt){if(U)throw new TypeError("Generator is already executing.");for(;He&&(He=0,lt[0]&&(V=0)),V;)try{if(U=1,fe&&(pe=2&lt[0]?fe.return:lt[0]?fe.throw||((pe=fe.return)&&pe.call(fe),0):fe.next)&&!(pe=pe.call(fe,lt[1])).done)return pe;switch(fe=0,pe&&(lt=[2&lt[0],pe.value]),lt[0]){case 0:case 1:pe=lt;break;case 4:return V.label++,{value:lt[1],done:!1};case 5:V.label++,fe=lt[1],lt=[0];continue;case 7:lt=V.ops.pop(),V.trys.pop();continue;default:if(!(pe=(pe=V.trys).length>0&&pe[pe.length-1])&&(6===lt[0]||2===lt[0])){V=0;continue}if(3===lt[0]&&(!pe||lt[1]>pe[0]&&lt[1]<pe[3])){V.label=lt[1];break}if(6===lt[0]&&V.label<pe[1]){V.label=pe[1],pe=lt;break}if(pe&&V.label<pe[2]){V.label=pe[2],V.ops.push(lt);break}pe[2]&&V.ops.pop(),V.trys.pop();continue}lt=Z.call(Se,V)}catch(St){lt=[6,St],fe=0}finally{U=pe=0}if(5&lt[0])throw lt[1];return{value:lt[0]?lt[1]:void 0,done:!0}}([lt,St])}}}function H(Se,Z,V){if(V||2===arguments.length)for(var pe,U=0,fe=Z.length;U<fe;U++)(pe||!(U in Z))&&(pe||(pe=Array.prototype.slice.call(Z,0,U)),pe[U]=Z[U]);return Se.concat(pe||Array.prototype.slice.call(Z))}"function"==typeof SuppressedError&&SuppressedError}},ze=>{ze(ze.s=40963)}]);