1(self.webpackChunksite=self.webpackChunksite||[]).push([[792],{8952(tn,Ye,d){"use strict";d.d(Ye,{$:()=>Ea,A:()=>He,H:()=>Qe,L:()=>Lt,M:()=>$i,P:()=>Mu,Q:()=>Gs,R:()=>vc,V:()=>an,W:()=>wl,X:()=>ea,Y:()=>Os,Z:()=>pl,_:()=>ba,a0:()=>Mo,a1:()=>el,a2:()=>cl,a3:()=>gi,a4:()=>ct,a5:()=>Xr,a6:()=>qs,a7:()=>dc,a8:()=>nl,a9:()=>uc,aA:()=>Yi,aB:()=>xn,aC:()=>Ke,aD:()=>ae,aE:()=>fn,aF:()=>Er,aG:()=>Pt,aH:()=>Y,aI:()=>jl,aJ:()=>Zl,aK:()=>Cr,aO:()=>yl,aR:()=>Fo,aa:()=>da,ab:()=>ps,ac:()=>fc,ad:()=>gl,ae:()=>mc,af:()=>Ac,ag:()=>Ll,ah:()=>kc,ai:()=>Tl,al:()=>Pa,am:()=>$c,an:()=>cd,aq:()=>Gt,ar:()=>Oe,at:()=>Bl,au:()=>ro,av:()=>Ne,aw:()=>Bt,ax:()=>gt,ay:()=>Je,az:()=>Su,b:()=>cu,c:()=>Gc,d:()=>Dc,e:()=>J,f:()=>Po,g:()=>Qc,h:()=>Qu,i:()=>Ia,j:()=>Ku,k:()=>hm,l:()=>Fi,m:()=>Nf,n:()=>Vd,p:()=>eu,q:()=>B,r:()=>Fr,s:()=>At,u:()=>Ro});var h=d(467),y=d(1631),v=d(1871),T=d(5398),M=d(1635),k=d(8779);const B={FACEBOOK:"facebook.com",GITHUB:"github.com",GOOGLE:"google.com",PASSWORD:"password",PHONE:"phone",TWITTER:"twitter.com"},He={EMAIL_SIGNIN:"EMAIL_SIGNIN",PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:"REVERT_SECOND_FACTOR_ADDITION",VERIFY_AND_CHANGE_EMAIL:"VERIFY_AND_CHANGE_EMAIL",VERIFY_EMAIL:"VERIFY_EMAIL"};const Qe=function Mt
vendor: 12,062 bytes, line 1
1(){return{"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must always have a verified email.","email-already-in-use":"The email address is already in use by another account.","emulator-config-failed":'Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner.',"expired-action-code":"The action code has expired.","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal AuthError has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registered for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal AuthError has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-emulator-scheme":"Emulator URL must start with a valid scheme (http:// or https://).","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is incorrect, malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","login-blocked":"Login blocked by user-provided method: {$originalMessage}","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal AuthError has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-password":"A non-empty password must be provided","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal AuthError has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted. Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled.","already-initialized":"initializeAuth() has already been called with different options. To avoid this error, call initializeAuth() with the same options as when it was originally called, or call getAuth() to return the already initialized instance.","missing-recaptcha-token":"The reCAPTCHA token is missing when sending request to the backend.","invalid-recaptcha-token":"The reCAPTCHA token is invalid when sending request to the backend.","invalid-recaptcha-action":"The reCAPTCHA action is invalid when sending request to the backend.","recaptcha-not-enabled":"reCAPTCHA Enterprise integration is not enabled for this project.","missing-client-type":"The reCAPTCHA client type is missing when sending request to the backend.","missing-recaptcha-version":"The reCAPTCHA version is missing when sending request to the backend.","invalid-req-type":"Invalid request parameters.","invalid-recaptcha-version":"The reCAPTCHA version is invalid when sending request to the backend.","unsupported-password-policy-schema-version":"The password policy received from the backend uses a schema version that is not supported by this version of the Firebase SDK.","password-does-not-meet-requirements":"The password does not meet the requirements.","invalid-hosting-link-domain":"The provided Hosting link domain is not configured in Firebase Hosting or is not owned by the current project. This cannot be a default Hosting domain (`web.app` or `firebaseapp.com`)."}},
1Xe=function Ge(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},ze=new v.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),ge=new T.Vy("@firebase/auth");function kt(K,...C){ge.logLevel<=T.$b.ERROR&&ge.error(`Auth (${y.SDK_VERSION}): ${K}`,...C)}function Je(K,...C){throw de(K,...C)}function Ke(K,...C){return de(K,...C)}function $e(K,C,O){const ee=Object.assign(Object.assign({},Xe()),{[C]:O});return new v.FA("auth","Firebase",ee).create(C,{appName:K.name})}function lt(K){return $e(K,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function q(K,C,O){if(!(C instanceof O))throw O.name!==C.constructor.name&&Je(K,"argument-error"),$e(K,"argument-error",`Type of ${C.constructor.name} does not match expected instance.Did you pass a reference from a different Auth SDK?`)}function de(K,...C){if("string"!=typeof K){const O=C[0],ee=[...C.slice(1)];return ee[0]&&(ee[0].appName=K.name),K._errorFactory.create(O,...ee)}return ze.create(K,...C)}function ae(K,C,...O){if(!K)throw de(C,...O)}function he(K){const C="INTERNAL ASSERTION FAILED: "+K;throw kt(C),new Error(C)}function Ne(K,C){K||he(C)}function ve(){var K;return typeof self<"u"&&(null===(K=self.location)||void 0===K?void 0:K.href)||""}function at(){return"http:"===Ut()||"https:"===Ut()}function Ut(){var K;return typeof self<"u"&&(null===(K=self.location)||void 0===K?void 0:K.protocol)||null}class hn{constructor(C,O){this.shortDelay=C,this.longDelay=O,Ne(O>C,"Short delay should be less than long delay!"),this.isMobile=(0,v.jZ)()||(0,v.lV)()}get(){return function nt(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(at()||(0,v.sr)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function qt(K,C){Ne(K.emulator,"Emulator should always be set here");const{url:O}=K.emulator;return C?`${O}${C.startsWith("/")?C.slice(1):C}`:O}class Te{static initialize(C,O,ee){this.fetchImpl=C,O&&(this.headersImpl=O),ee&&(this.responseImpl=ee)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:typeof globalThis<"u"&&globalThis.fetch?globalThis.fetch:typeof fetch<"u"?fetch:void he("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:typeof globalThis<"u"&&globalThis.Headers?globalThis.Headers:typeof Headers<"u"?Headers:void he("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:typeof globalThis<"u"&&globalThis.Response?globalThis.Response:typeof Response<"u"?Response:void he("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const Pe={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-rec
1aptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},yt=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],wt=new hn(3e4,6e4);function Ie(K,C){return K.tenantId&&!C.tenantId?Object.assign(Object.assign({},C),{tenantId:K.tenantId}):C}function ie(K,C,O,ee){return je.apply(this,arguments)}function je(){return(je=(0,h.A)(function*(K,C,O,ee,pt={}){return rt(K,pt,(0,h.A)(function*(){let ln={},ni={};ee&&("GET"===C?ni=ee:ln={body:JSON.stringify(ee)});const yi=(0,v.Am)(Object.assign({key:K.config.apiKey},ni)).slice(1),ir=yield K._getAdditionalHeaders();ir["Content-Type"]="application/json",K.languageCode&&(ir["X-Firebase-Locale"]=K.languageCode);const sr=Object.assign({method:C,headers:ir},ln);return(0,v.c1)()||(sr.referrerPolicy="no-referrer"),K.emulatorConfig&&(0,v.zJ)(K.emulatorConfig.host)&&(sr.credentials="include"),Te.fetch()(yield Me(K,K.config.apiHost,O,yi),sr)}))})).apply(this,arguments)}function rt(K,C,O){return Ze.apply(this,arguments)}function Ze(){return(Ze=(0,h.A)(function*(K,C,O){K._canInitEmulator=!1;const ee=Object.assign(Object.assign({},Pe),C);try{const pt=new ti(K),ln=yield Promise.race([O(),pt.promise]);pt.clearNetworkTimeout();const ni=yield ln.json();if("needConfirmation"in ni)throw Wn(K,"account-exists-with-different-credential",ni);if(ln.ok&&!("errorMessage"in ni))return ni;{const yi=ln.ok?ni.errorMessage:ni.error.message,[ir,sr]=yi.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===ir)throw Wn(K,"credential-already-in-use",ni);if("EMAIL_EXISTS"===ir)throw Wn(K,"email-already-in-use",ni);if("USER_DISABLED"===ir)throw Wn(K,"user-disabled",ni);const qr=ee[ir]||ir.toLowerCase().replace(/[_\s]+/g,"-");if(sr)throw $e(K,qr,sr);Je(K,qr)}}catch(pt){if(pt instanceof v.g)throw pt;Je(K,"network-request-failed",{message:String(pt)})}})).apply(this,arguments)}function We(K,C,O,ee){return Ot.apply(this,arguments)}function Ot(){return(Ot=(0,h.A)(function*(K,C,O,ee,pt={}){const ln=yield ie(K,C,O,ee,pt);return"mfaPendingCredential"in ln&&Je(K,"multi-factor-auth-required",{_serverResponse:ln}),ln})).apply(this,arguments)}function Me(K,C,O,ee){return It.apply(this,arguments)}function It(){return(It=(0,h.A)(function*(K,C,O,ee){const pt=`${C}${O}?${ee}`,ln=K,ni=ln.config.emulator?qt(K.config,pt):`${K.config.apiScheme}://${pt}`;return yt.includes(O)&&(yield ln._persistenceManagerAvailable,"COOKIE"===ln._getPersistenceType())?ln._getPersistence()._getFinalTarget(ni).toString():ni})).apply(this,arguments)}function Zt(K){switch(K){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class ti{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(C){this.auth=C,this.timer=null,this.promise=new Promise((O,ee)=>{this.timer=setTimeout(()=>ee(Ke(this.auth,"network-request-failed")),wt.get())})}}function Wn(K,C,O){const ee={appName:K.name};O.email&&(ee.email=O.email),O.phoneNumber&&(ee.phoneNumber=O.phoneNumber);const pt=Ke(K,C,ee);return pt.customData._tokenResponse=O,pt}function mr(K){return void 0!==K&&void 0!==K.getResponse}function Bn(K){return void 0!==K&&void 0!==K.enterprise}class Oi{constructor(C){if(this.siteKey="",this.recaptchaEnforcementState=[],void 0===C.recaptchaKey)throw new Error("recaptchaKey undefined");this.siteKey=C.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=C.recaptchaEnforcementState}getProviderEnforcementState(C){if(!this.recaptchaEnforcementState||0===this.recaptchaEnforcementState.length)return null;for(const O of this.recaptchaEnforcementState)if(O.provider&&O.provider===C)return Zt(O.enforcementState);return null}isProviderEnabled(C){return"ENFORCE"===this.getProviderEnforcementState(C)||"AUDIT"===this.getProviderEnforcementState(C)}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PRO
1VIDER")}}function Tn(){return(Tn=(0,h.A)(function*(K){return(yield ie(K,"GET","/v1/recaptchaParams")).recaptchaSiteKey||""})).apply(this,arguments)}function Yn(K,C){return _.apply(this,arguments)}function _(){return(_=(0,h.A)(function*(K,C){return ie(K,"GET","/v2/recaptchaConfig",Ie(K,C))})).apply(this,arguments)}function di(){return(di=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:delete",C)})).apply(this,arguments)}function pi(){return(pi=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:update",C)})).apply(this,arguments)}function Vi(K,C){return ii.apply(this,arguments)}function ii(){return(ii=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:lookup",C)})).apply(this,arguments)}function rr(K){if(K)try{const C=new Date(Number(K));if(!isNaN(C.getTime()))return C.toUTCString()}catch{}}function Un(){return(Un=(0,h.A)(function*(K,C=!1){const O=(0,v.Ku)(K),ee=yield O.getIdToken(C),pt=Vt(ee);ae(pt&&pt.exp&&pt.auth_time&&pt.iat,O.auth,"internal-error");const ln="object"==typeof pt.firebase?pt.firebase:void 0,ni=ln?.sign_in_provider;return{claims:pt,token:ee,authTime:rr(fr(pt.auth_time)),issuedAtTime:rr(fr(pt.iat)),expirationTime:rr(fr(pt.exp)),signInProvider:ni||null,signInSecondFactor:ln?.sign_in_second_factor||null}})).apply(this,arguments)}function fr(K){return 1e3*Number(K)}function Vt(K){const[C,O,ee]=K.split(".");if(void 0===C||void 0===O||void 0===ee)return kt("JWT malformed, contained fewer than 3 sections"),null;try{const pt=(0,v.u)(O);return pt?JSON.parse(pt):(kt("Failed to decode base64 JWT payload"),null)}catch(pt){return kt("Caught error parsing JWT payload as JSON",pt?.toString()),null}}function un(K){const C=Vt(K);return ae(C,"internal-error"),ae(typeof C.exp<"u","internal-error"),ae(typeof C.iat<"u","internal-error"),Number(C.exp)-Number(C.iat)}function Ae(K,C){return xe.apply(this,arguments)}function xe(){return(xe=(0,h.A)(function*(K,C,O=!1){if(O)return C;try{return yield C}catch(ee){throw ee instanceof v.g&&function z({code:K}){return"auth/user-disabled"===K||"auth/user-token-expired"===K}(ee)&&K.auth.currentUser===K&&(yield K.auth.signOut()),ee}})).apply(this,arguments)}class Ee{constructor(C){this.user=C,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(C){var O;if(C){const ee=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),ee}{this.errorBackoff=3e4;const pt=(null!==(O=this.user.stsTokenManager.expirationTime)&&void 0!==O?O:0)-Date.now()-3e5;return Math.max(0,pt)}}schedule(C=!1){var O=this;if(!this.isRunning)return;const ee=this.getInterval(C);this.timerId=setTimeout((0,h.A)(function*(){yield O.iteration()}),ee)}iteration(){var C=this;return(0,h.A)(function*(){try{yield C.user.getIdToken(!0)}catch(O){return void("auth/network-request-failed"===O?.code&&C.schedule(!0))}C.schedule()})()}}class Ce{constructor(C,O){this.createdAt=C,this.lastLoginAt=O,this._initializeTime()}_initializeTime(){this.lastSignInTime=rr(this.lastLoginAt),this.creationTime=rr(this.createdAt)}_copy(C){this.createdAt=C.createdAt,this.lastLoginAt=C.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function Ue(K){return Tt.apply(this,arguments)}function Tt(){return(Tt=(0,h.A)(function*(K){var C;const O=K.auth,ee=yield K.getIdToken(),pt=yield Ae(K,Vi(O,{idToken:ee}));ae(pt?.users.length,O,"internal-error");const ln=pt.users[0];K._notifyReloadListener(ln);const ni=null!==(C=ln.providerUserInfo)&&void 0!==C&&C.length?L(ln.providerUserInfo):[],yi=function _e(K,C){return[...K.filter(ee=>!C.some(pt=>pt.providerId===ee.providerId)),...C]}(K.providerData,ni),qr=!!K.isAnonymous&&!(K.email&&ln.passwordHash||yi?.length),ns={uid:ln.localId,displayName:ln.displayName||null,photoURL:ln.photoUrl||null,email:ln.email||null,emailVerified:ln.emailVerified||!1,phoneNumber:ln.phoneNumber||null,tenantId:ln.tenantId||null,providerData:yi,metadata:new Ce(ln.createdAt,ln.lastLoginAt),isAnonymous:qr};Object.assign(K,ns)})).apply(this,arguments)}function we(){return(we=(0,h.A)(function*(K){const C=(0,v.Ku)(K);
1yield Ue(C),yield C.auth._persistUserIfCurrent(C),C.auth._notifyListenersIfCurrent(C)})).apply(this,arguments)}function L(K){return K.map(C=>{var{providerId:O}=C,ee=(0,M.Tt)(C,["providerId"]);return{providerId:O,uid:ee.rawId||"",displayName:ee.displayName||null,email:ee.email||null,phoneNumber:ee.phoneNumber||null,photoURL:ee.photoUrl||null}})}function X(){return(X=(0,h.A)(function*(K,C){const O=yield rt(K,{},(0,h.A)(function*(){const ee=(0,v.Am)({grant_type:"refresh_token",refresh_token:C}).slice(1),{tokenApiHost:pt,apiKey:ln}=K.config,ni=yield Me(K,pt,"/v1/token",`key=${ln}`),yi=yield K._getAdditionalHeaders();yi["Content-Type"]="application/x-www-form-urlencoded";const ir={method:"POST",headers:yi,body:ee};return K.emulatorConfig&&(0,v.zJ)(K.emulatorConfig.host)&&(ir.credentials="include"),Te.fetch()(ni,ir)}));return{accessToken:O.access_token,expiresIn:O.expires_in,refreshToken:O.refresh_token}})).apply(this,arguments)}function Yt(){return(Yt=(0,h.A)(function*(K,C){return ie(K,"POST","/v2/accounts:revokeToken",Ie(K,C))})).apply(this,arguments)}class On{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(C){ae(C.idToken,"internal-error"),ae(typeof C.idToken<"u","internal-error"),ae(typeof C.refreshToken<"u","internal-error");const O="expiresIn"in C&&typeof C.expiresIn<"u"?Number(C.expiresIn):un(C.idToken);this.updateTokensAndExpiration(C.idToken,C.refreshToken,O)}updateFromIdToken(C){ae(0!==C.length,"internal-error");const O=un(C);this.updateTokensAndExpiration(C,null,O)}getToken(C){var O=this;return(0,h.A)(function*(ee,pt=!1){return pt||!O.accessToken||O.isExpired?(ae(O.refreshToken,ee,"user-token-expired"),O.refreshToken?(yield O.refresh(ee,O.refreshToken),O.accessToken):null):O.accessToken}).apply(this,arguments)}clearRefreshToken(){this.refreshToken=null}refresh(C,O){var ee=this;return(0,h.A)(function*(){const{accessToken:pt,refreshToken:ln,expiresIn:ni}=yield function j(K,C){return X.apply(this,arguments)}(C,O);ee.updateTokensAndExpiration(pt,ln,Number(ni))})()}updateTokensAndExpiration(C,O,ee){this.refreshToken=O||null,this.accessToken=C||null,this.expirationTime=Date.now()+1e3*ee}static fromJSON(C,O){const{refreshToken:ee,accessToken:pt,expirationTime:ln}=O,ni=new On;return ee&&(ae("string"==typeof ee,"internal-error",{appName:C}),ni.refreshToken=ee),pt&&(ae("string"==typeof pt,"internal-error",{appName:C}),ni.accessToken=pt),ln&&(ae("number"==typeof ln,"internal-error",{appName:C}),ni.expirationTime=ln),ni}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(C){this.accessToken=C.accessToken,this.refreshToken=C.refreshToken,this.expirationTime=C.expirationTime}_clone(){return Object.assign(new On,this.toJSON())}_performRefresh(){return he("not implemented")}}function wi(K,C){ae("string"==typeof K||typeof K>"u","internal-error",{appName:C})}class Qi{constructor(C){var{uid:O,auth:ee,stsTokenManager:pt}=C,ln=(0,M.Tt)(C,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new Ee(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=O,this.auth=ee,this.stsTokenManager=pt,this.accessToken=pt.accessToken,this.displayName=ln.displayName||null,this.email=ln.email||null,this.emailVerified=ln.emailVerified||!1,this.phoneNumber=ln.phoneNumber||null,this.photoURL=ln.photoURL||null,this.isAnonymous=ln.isAnonymous||!1,this.tenantId=ln.tenantId||null,this.providerData=ln.providerData?[...ln.providerData]:[],this.metadata=new Ce(ln.createdAt||void 0,ln.lastLoginAt||void 0)}getIdToken(C){var O=this;return(0,h.A)(function*(){const ee=yield Ae(O,O.stsTokenManager.getToken(O.auth,C));return ae(ee,O.auth,"internal-error"),O.accessToken!==ee&&(O.accessToken=ee,yield O.auth._persistUserIfCurrent(O),O.auth._notifyListenersIfCurrent(O)),ee})()}getIdTokenResult(C){return function ci(K){return Un.apply(this,arguments)}(this,C)}reload(){return function fe(K){return we.apply(this,arguments)}(this)}_assign(C){this!==C&&(ae(this.uid===C.uid,this.auth,"internal-error"),this.displayName=C.displayName,this.photoURL=C.photoURL,this.email=C.email,this.emailVerified=C.emailVerified,this.phoneNumber=C.phoneNumber,this.isAnonymous=C.isAnonymous,this.tenantId=C.tenantId,this.providerData=C.providerData.map(O=>Object.assign({},O)),this.metadata._copy(C.metadata),this.stsTokenManager._assign(C.stsTokenManager))}_clone(C){const O=new Qi(Object.assign(Object.assign({},this),{auth:C,stsTokenManager:this.stsTokenManager._clone()}));return O.metadata._copy(this.metadata),O}_onReload(C){ae(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=C,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(C){this.reloadListener?this.reloadListener(C):this.reloadUserInfo=C}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(C){var O=this;return(0,h.A)(function*(ee,pt=!1){let ln=!1;ee.idToken&&ee.idToken!==O.stsTokenManager.accessToken&&(O.stsTokenManager.updateFromServerResponse(ee),ln=!0),pt&&(yield Ue(O)),yield O.auth._persistUserIfCurrent(O),ln&&O.auth._notifyListenersIfCurrent(O)}).apply(this,arguments)}delete(){var C=this;return(0,h.A)(function*(){if((0,y._isFirebaseServerApp)(C.auth.app))return Promise.reject(lt(C.auth));const O=yield C.getIdToken();return yield Ae(C,function Qn(K,C){return di.apply(this,arguments)}(C.auth,{idToken:O})),C.stsTokenManager.clearRefreshToken(),C.auth.signOut()})()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
1nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(C=>Object.assign({},C)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(C,O){var ee,pt,ln,ni,yi,ir,sr,qr;const ns=null!==(ee=O.displayName)&&void 0!==ee?ee:void 0,Ts=null!==(pt=O.email)&&void 0!==pt?pt:void 0,Xo=null!==(ln=O.phoneNumber)&&void 0!==ln?ln:void 0,qc=null!==(ni=O.photoURL)&&void 0!==ni?ni:void 0,_d=null!==(yi=O.tenantId)&&void 0!==yi?yi:void 0,Tc=null!==(ir=O._redirectEventId)&&void 0!==ir?ir:void 0,Hm=null!==(sr=O.createdAt)&&void 0!==sr?sr:void 0,Bf=null!==(qr=O.lastLoginAt)&&void 0!==qr?qr:void 0,{uid:bc,emailVerified:Ru,isAnonymous:of,providerData:Zu,stsTokenManager:Ym}=O;ae(bc&&Ym,C,"internal-error");const yh=On.fromJSON(this.name,Ym);ae("string"==typeof bc,C,"internal-error"),wi(ns,C.name),wi(Ts,C.name),ae("boolean"==typeof Ru,C,"internal-error"),ae("boolean"==typeof of,C,"internal-error"),wi(Xo,C.name),wi(qc,C.name),wi(_d,C.name),wi(Tc,C.name),wi(Hm,C.name),wi(Bf,C.name);const gd=new Qi({uid:bc,auth:C,email:Ts,emailVerified:Ru,displayName:ns,isAnonymous:of,photoURL:qc,phoneNumber:Xo,tenantId:_d,stsTokenManager:yh,createdAt:Hm,lastLoginAt:Bf});return Zu&&Array.isArray(Zu)&&(gd.providerData=Zu.map(Wa=>Object.assign({},Wa))),Tc&&(gd._redirectEventId=Tc),gd}static _fromIdTokenResponse(C,O){return(0,h.A)(function*(ee,pt,ln=!1){const ni=new On;ni.updateFromServerResponse(pt);const yi=new Qi({uid:pt.localId,auth:ee,stsTokenManager:ni,isAnonymous:ln});return yield Ue(yi),yi}).apply(this,arguments)}static _fromGetAccountInfoResponse(C,O,ee){return(0,h.A)(function*(){const pt=O.users[0];ae(void 0!==pt.localId,"internal-error");const ln=void 0!==pt.providerUserInfo?L(pt.providerUserInfo):[],ni=!(pt.email&&pt.passwordHash||ln?.length),yi=new On;yi.updateFromIdToken(ee);const ir=new Qi({uid:pt.localId,auth:C,stsTokenManager:yi,isAnonymous:ni}),sr={uid:pt.localId,displayName:pt.displayName||null,photoURL:pt.photoUrl||null,email:pt.email||null,emailVerified:pt.emailVerified||!1,phoneNumber:pt.phoneNumber||null,tenantId:pt.tenantId||null,providerData:ln,metadata:new Ce(pt.createdAt,pt.lastLoginAt),isAnonymous:!(pt.email&&pt.passwordHash||ln?.length)};return Object.assign(ir,sr),ir})()}}const Tr=new Map;function Er(K){Ne(K instanceof Function,"Expected a class definition");let C=Tr.get(K);return C?(Ne(C instanceof K,"Instance stored in cache mismatched with class"),C):(C=new K,Tr.set(K,C),C)}const an=(()=>{class K{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,h.A)(function*(){return!0})()}_set(O,ee){var pt=this;return(0,h.A)(function*(){pt.storage[O]=ee})()}_get(O){var ee=this;return(0,h.A)(function*(){const pt=ee.storage[O];return void 0===pt?null:pt})()}_remove(O){var ee=this;return(0,h.A)(function*(){delete ee.storage[O]})()}_addListener(O,ee){}_removeListener(O,ee){}}return K.type="NONE",K})();function Pt(K,C,O){return`firebase:${K}:${C}:${O}`}class ke{constructor(C,O,ee){this.persistence=C,this.auth=O,this.userKey=ee;const{config:pt,name:ln}=this.auth;this.fullUserKey=Pt(this.userKey,pt.apiKey,ln),this.fullPersistenceKey=Pt("persistence",pt.apiKey,ln),this.boundEventHandler=O._onStorageEvent.bind(O),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(C){return this.persistence._set(this.fullUserKey,C.toJSON())}getCurrentUser(){var C=this;return(0,h.A)(function*(){const O=yield C.persistence._get(C.fullUserKey);if(!O)return null;if("string"==typeof O){const ee=yield Vi(C.auth,{idToken:O}).catch(()=>{});return ee?Qi._fromGetAccountInfoResponse(C.auth,ee,O):null}return Qi._fromJSON(C.auth,O)})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(C){var O=this;return(0,h.A)(function*(){if(O.persistence===C)return;const ee=yield O.getCurrentUser();return yield O.removeCurrentUser(),O.persistence=C,ee?O.setCurrentUser(ee):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(C,O){return(0,h.A)(function*(ee,pt,ln="authUser"){if(!pt.length)return new ke(Er(an),ee,ln);const ni=(yield Promise.all(pt.map(function(){var ns=(0,h.A)(function*(Ts){if(yield Ts._isAvailable())return Ts});return function(Ts){return ns.apply(this,arguments)}}()))).filter(ns=>ns);let yi=ni[0]||Er(an);const ir=Pt(ln,ee.config.apiKey,ee.name);let sr=null;for(const ns of pt)try{const Ts=yield ns._get(ir);if(Ts){let Xo;if("string"==typeof Ts){const qc=yield Vi(ee,{idToken:Ts}).catch(()=>{});if(!qc)break;Xo=yield Qi._fromGetAccountInfoResponse(ee,qc,Ts)}else Xo=Qi._fromJSON(ee,Ts);ns!==yi&&(sr=Xo),yi=ns;break}}catch{}const qr=ni.filter(ns=>ns._shouldAllowMigration);return yi._shouldAllowMigration&&qr.length?(yi=qr[0],sr&&(yield yi._set(ir,sr.toJSON())),yield Promise.all(pt.map(function(){var ns=(0,h.A)(function*(Ts){if(Ts!==yi)try{yield Ts._remove(ir)}catch{}});return function(Ts){return ns.apply(this,arguments)}}())),new ke(yi,ee,ln)):new ke(yi,ee,ln)}).apply(this,arguments)}}function De(K){const C=K.toLowerCase();if(C.includes("opera/")||C.includes("opr/")||C.includes("opios/"))return"Opera";if(Zn(C))return"IEMobile";if(C.includes("msie")||C.includes("trident/"))return"IE";if(C.includes("edge/"))return"Edge";if(_t(C))return"Firefox";if(C.includes("silk/"))return"Silk";if(zn(C))return"Blackberry";if(ft(C))return"Webos";if(et(C))return"Safari";if((C.includes("chrome/")||Rn(C))&&!C.includes("edge/"))return"Chrome";if(gt(C))return"Android";{const ee=K.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===ee?.length)return ee[1]}return"Other"}function _t(K=(0,v.ZQ)()){return/firefox\//i.test(K)}function et(K=(0,v.ZQ)()){const C=K.toLowerCase();return C.includes("safari/")&&!C.includes("chrome/")&&!C.includes("crios/")&&!C.includes("android")}function Rn(K=(0,v.ZQ)()){return/crios\//i.test(K)}function Zn(K=(0,v.ZQ)()){return/iemobile/i.test(K)}function gt(K=(0,v.ZQ)()){return/android/i.test(K)}function zn(K=(0,v.ZQ)()){return/blackberry/i.test(K)}function ft(K=(0,v.ZQ)()){return/webos/i.test(K)}function Bt(K=(0,v.ZQ)()){return/iphone|ipad|ipod/i.test(K)||/macintosh/i.test(K)&&/mobile/i.test(K)}function xn(K=(0,v.ZQ)()){return/(iPad|iPhone|iPod).*OS 7_\d/i.test(K)||/(iPad|iPhone|iPod).*OS 8_\d/i.test(K)}function Mr(K=(0,v.ZQ)()){return Bt(K)||gt(K)||ft(K)||zn(K)||/windows phone/i.test(K)||Zn(K)}function $t(K,C=[]){let O;switch(K){case"Browser":O=De((0,v.ZQ)());break;case"Worker":O=`${De((0,v.ZQ)())}-${K}`;break;default:O=K}const ee=C.length?C.join(","):"FirebaseCore-web";return`${O}/JsCore/${y.SDK_VERSION}/${ee}`}class wn{constructor(C){this.auth=C,this.queue=[]}pushCallback(C,O){const ee=ln=>new Promise((ni,yi)=>{try{ni(C(ln))}catch(ir){yi(ir)}});ee.onAbort=O,this.queue.push(ee);const pt=this.queue.length-1;return()=>{this.queue[pt]=()=>Promise.resolve()}}runMiddleware(C){var O=this;return(0,h.A)(function*(){if(O.auth.currentUser===C)return;const ee=[];try{for(const pt of O.queue)yield pt(C),pt.onAbort&&ee.push(pt.onAbort)}catch(pt){ee.reverse();for(const ln of ee)try{ln()}catch{}throw O.auth._errorFactory.create("login-blocked",{originalMessage:pt?.message})}})()}}function Di(){return(Di=(0,h.A)(function*(K,C={}){return ie(K,"GET","/v2/passwordPolicy",Ie(K,C))})).apply(this,arguments)}class ki{constructor(C){var O,ee,pt,ln;const ni=C.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(O=ni.minPasswordLength)&&void 0!==O?O:6,ni.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=ni.maxPasswordLength),void 0!==ni.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=ni.containsLowercaseCharacter),void 0!==ni.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=ni.containsUppercaseCharacter),void 0!==ni.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=ni.containsNumericCharacter),void 0!==ni.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=ni.containsNonAlphanumericCharacter),this.enforcementState=C.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(pt=null===(ee=C.allowedNonAlphanumericCharacters)||void 0===ee?void 0:ee.join(""))&&void 0!==pt?pt:"",this.forceUpgradeOnSignin=null!==(ln=C.forceUpgradeOnSignin)&&void 0!==ln&&ln,this.schemaVersion=C.schemaVersion}validatePassword(C){var O,ee,pt,ln,ni,yi;const ir={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(C,ir),this.validatePasswordCharacterOptions(C,ir),ir.isValid&&
1(ir.isValid=null===(O=ir.meetsMinPasswordLength)||void 0===O||O),ir.isValid&&(ir.isValid=null===(ee=ir.meetsMaxPasswordLength)||void 0===ee||ee),ir.isValid&&(ir.isValid=null===(pt=ir.containsLowercaseLetter)||void 0===pt||pt),ir.isValid&&(ir.isValid=null===(ln=ir.containsUppercaseLetter)||void 0===ln||ln),ir.isValid&&(ir.isValid=null===(ni=ir.containsNumericCharacter)||void 0===ni||ni),ir.isValid&&(ir.isValid=null===(yi=ir.containsNonAlphanumericCharacter)||void 0===yi||yi),ir}validatePasswordLengthOptions(C,O){const ee=this.customStrengthOptions.minPasswordLength,pt=this.customStrengthOptions.maxPasswordLength;ee&&(O.meetsMinPasswordLength=C.length>=ee),pt&&(O.meetsMaxPasswordLength=C.length<=pt)}validatePasswordCharacterOptions(C,O){let ee;this.updatePasswordCharacterOptionsStatuses(O,!1,!1,!1,!1);for(let pt=0;pt<C.length;pt++)ee=C.charAt(pt),this.updatePasswordCharacterOptionsStatuses(O,ee>="a"&&ee<="z",ee>="A"&&ee<="Z",ee>="0"&&ee<="9",this.allowedNonAlphanumericCharacters.includes(ee))}updatePasswordCharacterOptionsStatuses(C,O,ee,pt,ln){this.customStrengthOptions.containsLowercaseLetter&&(C.containsLowercaseLetter||(C.containsLowercaseLetter=O)),this.customStrengthOptions.containsUppercaseLetter&&(C.containsUppercaseLetter||(C.containsUppercaseLetter=ee)),this.customStrengthOptions.containsNumericCharacter&&(C.containsNumericCharacter||(C.containsNumericCharacter=pt)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(C.containsNonAlphanumericCharacter||(C.containsNonAlphanumericCharacter=ln))}}class _r{constructor(C,O,ee,pt){this.app=C,this.heartbeatServiceProvider=O,this.appCheckServiceProvider=ee,this.config=pt,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new Hr(this),this.idTokenSubscription=new Hr(this),this.beforeStateQueue=new wn(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=ze,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=C.name,this.clientVersion=pt.sdkClientVersion,this._persistenceManagerAvailable=new Promise(ln=>this._resolvePersistenceManagerAvailable=ln)}_initializeWithPersistence(C,O){var ee=this;return O&&(this._popupRedirectResolver=Er(O)),this._initializationPromise=this.queue((0,h.A)(function*(){var pt,ln,ni;if(!ee._deleted&&(ee.persistenceManager=yield ke.create(ee,C),null===(pt=ee._resolvePersistenceManagerAvailable)||void 0===pt||pt.call(ee),!ee._deleted)){if(null!==(ln=ee._popupRedirectResolver)&&void 0!==ln&&ln._shouldInitProactively)try{yield ee._popupRedirectResolver._initialize(ee)}catch{}yield ee.initializeCurrentUser(O),ee.lastNotifiedUid=(null===(ni=ee.currentUser)||void 0===ni?void 0:ni.uid)||null,!ee._deleted&&(ee._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var C=this;return(0,h.A)(function*(){if(C._deleted)return;const O=yield C.assertedPersistence.getCurrentUser();if(C.currentUser||O){if(C.currentUser&&O&&C.currentUser.uid===O.uid)return C._currentUser._assign(O),void(yield C.currentUser.getIdToken());yield C._updateCurrentUser(O,!0)}})()}initializeCurrentUserFromIdToken(C){var O=this;return(0,h.A)(function*(){try{const ee=yield Vi(O,{idToken:C}),pt=yield Qi._fromGetAccountInfoResponse(O,ee,C);yield O.directlySetCurrentUser(pt)}catch(ee){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",ee),yield O.directlySetCurrentUser(null)}})()}initializeCurrentUser(C){var O=this;return(0,h.A)(function*(){var ee;if((0,y._isFirebaseServerApp)(O.app)){const yi=O.app.settings.authIdToken;return yi?new Promise(ir=>{setTimeout(()=>O.initializeCurrentUserFromIdToken(yi).then(ir,ir))}):O.directlySetCurrentUser(null)}const pt=yield O.assertedPersistence.getCurrentUser();let ln=pt,ni=!1;if(C&&O.config.authDomain){yield O.getOrInitRedirectPersistenceManager();const yi=null===(ee=O.redirectUser)||void 0===ee?void 0:ee._redirectEventId,ir=ln?._redirectEventId,sr=yield O.tryRedirectSignIn(C);(!yi||yi===ir)&&sr?.user&&(ln=sr.user,ni=!0)}if(!ln)return O.directlySetCurrentUser(null);
1if(!ln._redirectEventId){if(ni)try{yield O.beforeStateQueue.runMiddleware(ln)}catch(yi){ln=pt,O._popupRedirectResolver._overrideRedirectResult(O,()=>Promise.reject(yi))}return ln?O.reloadAndSetCurrentUserOrClear(ln):O.directlySetCurrentUser(null)}return ae(O._popupRedirectResolver,O,"argument-error"),yield O.getOrInitRedirectPersistenceManager(),O.redirectUser&&O.redirectUser._redirectEventId===ln._redirectEventId?O.directlySetCurrentUser(ln):O.reloadAndSetCurrentUserOrClear(ln)})()}tryRedirectSignIn(C){var O=this;return(0,h.A)(function*(){let ee=null;try{ee=yield O._popupRedirectResolver._completeRedirectFn(O,C,!0)}catch{yield O._setRedirectUser(null)}return ee})()}reloadAndSetCurrentUserOrClear(C){var O=this;return(0,h.A)(function*(){try{yield Ue(C)}catch(ee){if("auth/network-request-failed"!==ee?.code)return O.directlySetCurrentUser(null)}return O.directlySetCurrentUser(C)})()}useDeviceLanguage(){this.languageCode=function cn(){if(typeof navigator>"u")return null;const K=navigator;return K.languages&&K.languages[0]||K.language||null}()}_delete(){var C=this;return(0,h.A)(function*(){C._deleted=!0})()}updateCurrentUser(C){var O=this;return(0,h.A)(function*(){if((0,y._isFirebaseServerApp)(O.app))return Promise.reject(lt(O));const ee=C?(0,v.Ku)(C):null;return ee&&ae(ee.auth.config.apiKey===O.config.apiKey,O,"invalid-user-token"),O._updateCurrentUser(ee&&ee._clone(O))})()}_updateCurrentUser(C){var O=this;return(0,h.A)(function*(ee,pt=!1){if(!O._deleted)return ee&&ae(O.tenantId===ee.tenantId,O,"tenant-id-mismatch"),pt||(yield O.beforeStateQueue.runMiddleware(ee)),O.queue((0,h.A)(function*(){yield O.directlySetCurrentUser(ee),O.notifyAuthListeners()}))}).apply(this,arguments)}signOut(){var C=this;return(0,h.A)(function*(){return(0,y._isFirebaseServerApp)(C.app)?Promise.reject(lt(C)):(yield C.beforeStateQueue.runMiddleware(null),(C.redirectPersistenceManager||C._popupRedirectResolver)&&(yield C._setRedirectUser(null)),C._updateCurrentUser(null,!0))})()}setPersistence(C){var O=this;return(0,y._isFirebaseServerApp)(this.app)?Promise.reject(lt(this)):this.queue((0,h.A)(function*(){yield O.assertedPersistence.setPersistence(Er(C))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(C){var O=this;return(0,h.A)(function*(){O._getPasswordPolicyInternal()||(yield O._updatePasswordPolicy());const ee=O._getPasswordPolicyInternal();return ee.schemaVersion!==O.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(O._errorFactory.create("unsupported-password-policy-schema-version",{})):ee.validatePassword(C)})()}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){var C=this;return(0,h.A)(function*(){const O=yield function In(K){return Di.apply(this,arguments)}(C),ee=new ki(O);null===C.tenantId?C._projectPasswordPolicy=ee:C._tenantPasswordPolicies[C.tenantId]=ee})()}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(C){this._errorFactory=new v.FA("auth","Firebase",C())}onAuthStateChanged(C,O,ee){return this.registerStateListener(this.authStateSubscription,C,O,ee)}beforeAuthStateChanged(C,O){return this.beforeStateQueue.pushCallback(C,O)}onIdTokenChanged(C,O,ee){return this.registerStateListener(this.idTokenSubscription,C,O,ee)}authStateReady(){return new Promise((C,O)=>{if(this.currentUser)C();else{const ee=this.onAuthStateChanged(()=>{ee(),C()},O)}})}revokeAccessToken(C){var O=this;return(0,h.A)(function*(){if(O.currentUser){const ee=yield O.currentUser.getIdToken(),pt={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:C,idToken:ee};null!=O.tenantId&&(pt.tenantId=O.tenantId),yield function qe(K,C){return Yt.apply(this,arguments)}(O,pt)}})()}toJSON(){var C;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(C=this._currentUser)||void 0===C?void 0:C.toJSON()}}_setRedirectUser(C,O){var ee=this;return(0,h.A)(function*(){const pt=yield ee.getOrInitRedirectPersistenceManager(O);return null===C?pt.removeCurrentUser():pt.setCurrentUser(C)})()}getOrInitRedirectPersistenceManager(C){var O=this;return(0,h.A)(function*(){if(!O.redirectPersistenceManager){const ee=C&&Er(C)||O._popupRedirectResolver;ae(ee,O,"argument-error"),O.redirectPersistenceManager=yield ke.create(O,[Er(ee._redirectPersistence)],"redirectUser"),O.redirectUser=yield O.redirectPersistenceManager.getCurrentUser()}return O.redirectPersistenceManager})()}_redirectUserForId(C){var O=this;return(0,h.A)(function*(){var ee,pt;return O._isInitialized&&(yield O.queue((0,h.A)(function*(){}))),(null===(ee=O._currentUser)||void 0===ee?void 0:ee._redirectEventId)===C?O._currentUser:(null===(pt=O.redirectUser)||void 0===pt?void 0:pt._redirectEventId)===C?O.redirectUser:null})()}_persistUserIfCurrent(C){var O=this;return(0,h.A)(function*(){if(C===O.currentUser)return O.queue((0,h.A)(function*(){return O.directlySetCurrentUser(C)}))})()}_notifyListenersIfCurrent(C){C===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var C,O;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const ee=null!==(O=null===(C=this.currentUser)||void 0===C?void 0:C.uid)&&void 0!==O?O:null;this.lastNotifiedUid!==ee&&(this.lastNotifiedUid=ee,this.authStateSubscription.next(this.currentUser))}registerStateListener(C,O,ee,pt){if(this._deleted)return()=>{};const ln="function"==typeof O?O:O.next.bind(O);let ni=!1;const yi=this._isInitialized?Promise.resolve():this._initializationPromise;if(ae(yi,this,"internal-error"),yi.then(()=>{ni||ln(this.currentUser)}),"function"==typeof O){const ir=C.addObserver(O,ee,pt);return()=>{ni=!0,ir()}}{const ir=C.addObserver(O);return()=>{ni=!0,ir()}}}directlySetCurrentUser(C){var O=this;return(0,h.A)(function*(){O.currentUser&&O.currentUser!==C&&O._currentUser._stopProactiveRefresh(),C&&O.isProactiveRefreshEnabled&&C._startProactiveRefresh(),O.currentUser=C,C?yield O.assertedPersistence.setCurrentUser(C):yield O.assertedPersistence.removeCurrentUser()})()}queue(C){return this.operations=this.operations.then(C,C),this.operations}get assertedPersistence(){return ae(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(C){!C||this.frameworks.includes(C)||(this.frameworks.push(C),this.frameworks.sort(),this.clientVersion=$t(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var C=this;return(0,h.A)(function*(){var O;const ee={"X-Client-Version":C.clientVersion};C.app.options.appId&&(ee["X-Firebase-gmpid"]=C.app.options.appId);const pt=yield null===(O=C.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===O?void 0:O.getHeartbeatsHeader();pt&&(ee["X-Firebase-Client"]=pt);const ln=yield C._getAppCheckToken();return ln&&(ee["X-Firebase-AppCheck"]=ln),ee})()}_getAppCheckToken(){var C=this;return(0,h.A)(function*(){var O;if((0,y._isFirebaseServerApp)(C.app)&&C.app.settings.appCheckToken)return C.app.settings.appCheckToken;const ee=yield null===(O=C.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===O?void 0:O.getToken();return ee?.error&&function ue(K,...C){ge.logLevel<=T.$b.WARN&&ge.warn(`Auth (${y.SDK_VERSION}): ${K}`,...C)}(`Error while retrieving App Check token: ${ee.error}`),ee?.token})()}}function Cr(K){return(0,v.Ku)(K)}class Hr{constructor(C){this.auth=C,this.observer=null,this.addObserver=(0,v.tD)(O=>this.observer=O)}get next(){return ae(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let $r={loadJS:()=>(0,h.A)(function*(){throw new Error("Unable to load external scripts")})(),recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function Cs(K){return $r.loadJS(K)}function Ks(K){return`__${K}${Math.floor(1e6*Math.random())}`}const vi=1e12;class Ni{constructor(C){this.auth=C,this.counter=vi,this._widgets=new Map}render(C,O){const ee=this.counter;return this._widgets.set(ee,new Q(C,this.auth.name,O||{})),this.counter++,ee}reset(C){var O;const ee=C||vi;null===(O=this._widgets.get(ee))||void 0===O||O.delete(),this._widgets.delete(ee)}getResponse(C){var O;return(null===(O=this._widgets.get(C||vi))||void 0===O?void 0:O.getResponse())||""}execute(C){var O=this;return(0,h.A)(function*(){var ee;return null===(ee=O._widgets.get(C||vi))||void 0===ee||ee.execute(),""})()}}class Jt{constructor(){this.enterprise=new Ri}ready(C){C()}execute(C,O){return Promise.resolve("token")}render(C,O){return""}}class Ri{ready(C){C()}execute(C,O){return Promise.resolve("token")}render(C,O){return""}}class Q{constructor(C,O,ee){this.params=ee,this.timerId=null,this.deleted=!1,this.responseToken=null,this.clickHandler=()=>{this.execute()};const pt="string"==typeof C?document.getElementById(C):C;ae(pt,"argument-error",{appName:O}),this.container=pt,this.isVisible="invisible"!==this.params.size,this.isVisible?this.execute():this.container.addEventListener("click",this.clickHandler)}getResponse(){return this.checkIfDeleted(),this.responseToken}delete(){this.checkIfDeleted(),this.deleted=!0,this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.container.removeEventListener("click",this.clickHandler)}execute(){this.checkIfDeleted(),!this.timerId&&(this.timerId=window.setTimeout(()=>{this.responseToken=function st(K){const C=[],O="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let ee=0;ee<K;ee++)C.push(O.charAt(Math.floor(62*Math.random())));return C.join("")}(50);const{callback:C,"expired-callback":O}=this.params;if(C)try{C(this.responseToken)}catch{}this.timerId=window.setTimeout(()=>{if(this.timerId=null,this.responseToken=null,O)try{O()}catch{}this.isVisible&&this.execute()},6e4)},500))}checkIfDeleted(){if(this.deleted)throw new Error("reCAPTCHA mock was already deleted!")}}const bn="NO_RECAPTCHA";class _i{constructor(C){this.type="recaptcha-enterprise",this.auth=Cr(C)}verify(){var C=this;return(0,h.A)(function*(O="verify",ee=!1){function ln(){return ln=(0,h.A)(function*(yi){
1if(!ee){if(null==yi.tenantId&&null!=yi._agentRecaptchaConfig)return yi._agentRecaptchaConfig.siteKey;if(null!=yi.tenantId&&void 0!==yi._tenantRecaptchaConfigs[yi.tenantId])return yi._tenantRecaptchaConfigs[yi.tenantId].siteKey}return new Promise(function(){var ir=(0,h.A)(function*(sr,qr){Yn(yi,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(ns=>{if(void 0!==ns.recaptchaKey){const Ts=new Oi(ns);return null==yi.tenantId?yi._agentRecaptchaConfig=Ts:yi._tenantRecaptchaConfigs[yi.tenantId]=Ts,sr(Ts.siteKey)}qr(new Error("recaptcha Enterprise site key undefined"))}).catch(ns=>{qr(ns)})});return function(sr,qr){return ir.apply(this,arguments)}}())}),ln.apply(this,arguments)}function ni(yi,ir,sr){const qr=window.grecaptcha;Bn(qr)?qr.enterprise.ready(()=>{qr.enterprise.execute(yi,{action:O}).then(ns=>{ir(ns)}).catch(()=>{ir(bn)})}):sr(Error("No reCAPTCHA enterprise script loaded."))}return C.auth.settings.appVerificationDisabledForTesting?(new Jt).execute("siteKey",{action:"verify"}):new Promise((yi,ir)=>{(function pt(yi){return ln.apply(this,arguments)})(C.auth).then(sr=>{if(!ee&&Bn(window.grecaptcha))ni(sr,yi,ir);else{if(typeof window>"u")return void ir(new Error("RecaptchaVerifier is only supported in browser"));let qr=function Fs(){return $r.recaptchaEnterpriseScript}();0!==qr.length&&(qr+=sr),Cs(qr).then(()=>{ni(sr,yi,ir)}).catch(ns=>{ir(ns)})}}).catch(sr=>{ir(sr)})})}).apply(this,arguments)}}function Yr(K,C,O){return oo.apply(this,arguments)}function oo(){return(oo=(0,h.A)(function*(K,C,O,ee=!1,pt=!1){const ln=new _i(K);let ni;if(pt)ni=bn;else try{ni=yield ln.verify(O)}catch{ni=yield ln.verify(O,!0)}const yi=Object.assign({},C);return"mfaSmsEnrollment"===O||"mfaSmsSignIn"===O?("phoneEnrollmentInfo"in yi?Object.assign(yi,{phoneEnrollmentInfo:{phoneNumber:yi.phoneEnrollmentInfo.phoneNumber,recaptchaToken:yi.phoneEnrollmentInfo.recaptchaToken,captchaResponse:ni,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}}):"phoneSignInInfo"in yi&&Object.assign(yi,{phoneSignInInfo:{recaptchaToken:yi.phoneSignInInfo.recaptchaToken,captchaResponse:ni,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}}),yi):(Object.assign(yi,ee?{captchaResp:ni}:{captchaResponse:ni}),Object.assign(yi,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(yi,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),yi)})).apply(this,arguments)}function to(K,C,O,ee,pt){return Ho.apply(this,arguments)}function Ho(){return Ho=(0,h.A)(function*(K,C,O,ee,pt){var ln,ni;if("EMAIL_PASSWORD_PROVIDER"===pt){if(null!==(ln=K._getRecaptchaConfig())&&void 0!==ln&&ln.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const yi=yield Yr(K,C,O,"getOobCode"===O);return ee(K,yi)}return ee(K,C).catch(function(){var yi=(0,h.A)(function*(ir){if("auth/missing-recaptcha-token"===ir.code){console.log(`${O} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);const sr=yield Yr(K,C,O,"getOobCode"===O);return ee(K,sr)}return Promise.reject(ir)});return function(ir){return yi.apply(this,arguments)}}())}if("PHONE_PROVIDER"===pt){if(null!==(ni=K._getRecaptchaConfig())&&void 0!==ni&&ni.isProviderEnabled("PHONE_PROVIDER")){const yi=yield Yr(K,C,O);return ee(K,yi).catch(function(){var ir=(0,h.A)(function*(sr){var qr;if("AUDIT"===(null===(qr=K._getRecaptchaConfig())||void 0===qr?void 0:qr.getProviderEnforcementState("PHONE_PROVIDER"))&&("auth/missing-recaptcha-token"===sr.code||"auth/invalid-app-credential"===sr.code)){console.log(`Failed to verify with reCAPTCHA Enterprise. Automatically triggering the reCAPTCHA v2 flow to complete the ${O} flow.`);const ns=yield Yr(K,C,O,!1,!0);return ee(K,ns)}return Promise.reject(sr)}
1);return function(sr){return ir.apply(this,arguments)}}())}{const yi=yield Yr(K,C,O,!1,!0);return ee(K,yi)}}return Promise.reject(pt+" provider is not supported.")}),Ho.apply(this,arguments)}function Co(K){return ia.apply(this,arguments)}function ia(){return(ia=(0,h.A)(function*(K){const C=Cr(K),O=yield Yn(C,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}),ee=new Oi(O);null==C.tenantId?C._agentRecaptchaConfig=ee:C._tenantRecaptchaConfigs[C.tenantId]=ee,ee.isAnyProviderEnabled()&&new _i(C).verify()})).apply(this,arguments)}function Lt(K,C,O){const ee=Cr(K);ae(/^https?:\/\//.test(C),ee,"invalid-emulator-scheme");const pt=!!O?.disableWarnings,ln=sn(C),{host:ni,port:yi}=function dt(K){const C=sn(K),O=/(\/\/)?([^?#/]+)/.exec(K.substr(C.length));if(!O)return{host:"",port:null};const ee=O[2].split("@").pop()||"",pt=/^(\[[^\]]+\])(:|$)/.exec(ee);if(pt){const ln=pt[1];return{host:ln,port:qi(ee.substr(ln.length+1))}}{const[ln,ni]=ee.split(":");return{host:ln,port:qi(ni)}}}(C),ir=null===yi?"":`:${yi}`,sr={url:`${ln}//${ni}${ir}/`},qr=Object.freeze({host:ni,port:yi,protocol:ln.replace(":",""),options:Object.freeze({disableWarnings:pt})});if(!ee._canInitEmulator)return ae(ee.config.emulator&&ee.emulatorConfig,ee,"emulator-config-failed"),void ae((0,v.bD)(sr,ee.config.emulator)&&(0,v.bD)(qr,ee.emulatorConfig),ee,"emulator-config-failed");ee.config.emulator=sr,ee.emulatorConfig=qr,ee.settings.appVerificationDisabledForTesting=!0,(0,v.zJ)(ni)?((0,v.gE)(`${ln}//${ni}${ir}`),(0,v.P1)("Auth",!0)):pt||function br(){function K(){const C=document.createElement("p"),O=C.style;C.innerText="Running in emulator mode. Do not use with production credentials.",O.position="fixed",O.width="100%",O.backgroundColor="#ffffff",O.border=".1em solid #000000",O.color="#b50000",O.bottom="0px",O.left="0px",O.margin="0px",O.zIndex="10000",O.textAlign="center",C.classList.add("firebase-emulator-warning"),document.body.appendChild(C)}typeof console<"u"&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",K):K())}()}function sn(K){const C=K.indexOf(":");return C<0?"":K.substr(0,C+1)}function qi(K){if(!K)return null;const C=Number(K);return isNaN(C)?null:C}class $i{constructor(C,O){this.providerId=C,this.signInMethod=O}toJSON(){return he("not implemented")}_getIdTokenResponse(C){return he("not implemented")}_linkToIdToken(C,O){return he("not implemented")}_getReauthenticationResolver(C){return he("not implemented")}}function Es(K,C){return Mn.apply(this,arguments)}function Mn(){return(Mn=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:resetPassword",Ie(K,C))})).apply(this,arguments)}function Vn(){return(Vn=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:update",C)})).apply(this,arguments)}function Ii(K,C){return Ui.apply(this,arguments)}function Ui(){return(Ui=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:signUp",C)})).apply(this,arguments)}function fs(){return(fs=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:update",Ie(K,C))})).apply(this,arguments)}function Rs(K,C){return ls.apply(this,arguments)}function ls(){return(ls=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithPassword",Ie(K,C))})).apply(this,arguments)}function ds(K,C){return Jo.apply(this,arguments)}function Jo(){return(Jo=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:sendOobCode",Ie(K,C))})).apply(this,arguments)}function As(){return(As=(0,h.A)(function*(K,C){return ds(K,C)})).apply(this,arguments)}function kl(K,C){return Ct.apply(this,arguments)}function Ct(){return(Ct=(0,h.A)(function*(K,C){return ds(K,C)})).apply(this,arguments)}function xt(K,C){return kn.apply(this,arguments)}function kn(){return(kn=(0,h.A)(function*(K,C){return ds(K,C)})).apply(this,arguments)}function fi(){return(fi=(0,h.A)(function*(K,C){return ds(K,C)})).apply(this,arguments)}function ur(){return(ur=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithEmailLink",Ie(K,C))})).apply(this,arguments)}function Or(){return(Or=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithEmailLink",Ie(K,C))})).apply(this,arguments)}class is extends $i{constructor(C,O,ee,pt=null){super("password",ee),this._email=C,this._password=O,this._tenantId=pt}static _fromEmailAndPassword(C,O){return new is(C,O,"password")}static _fromEmailAndCode(C,O,ee=null){return new is(C,O,"emailLink",ee)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(C){const O="string"==typeof C?JSON.parse(C):C;if(O?.email&&O?.password){if("password"===O.signInMethod)return this._fromEmailAndPassword(O.email,O.password);if("emailLink"===O.signInMethod)return this._fromEmailAndCode(O.email,O.password,O.tenantId)}return null}_getIdTokenResponse(C){var O=this;return(0,h.A)(function*(){switch(O.signInMethod){case"password":return to(C,{returnSecureToken:!0,email:O._email,password:O._password,clientType:"CLIENT_TYPE_WEB"},"signInWithPassword",Rs,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return function Hi(K,C){return ur.apply(this,arguments)}(C,{email:O._email,oobCode:O._password});default:Je(C,"internal-error")}})()}_linkToIdToken(C,O){var ee=this;return(0,h.A)(function*(){switch(ee.signInMethod){case"password":return to(C,{idToken:O,returnSecureToken:!0,email:ee._email,password:ee._password,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",Ii,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return function Lr(K,C){return Or.apply(this,arguments)}(C,{idToken:O,email:ee._email,oobCode:ee._password});default:Je(C,"internal-error")}})()}_getReauthenticationResolver(C){return this._getIdTokenResponse(C)}}function Gr(K,C){return lo.apply(this,arguments)}function lo(){return(lo=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithIdp",Ie(K,C))})).apply(this,arguments)}class Gs extends $i{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(C){const O=new Gs(C.providerId,C.signInMethod);return C.idToken||C.accessToken?(C.idToken&&(O.idToken=C.idToken),C.accessToken&&(O.accessToken=C.accessToken),C.nonce&&!C.pendingToken&&
1(O.nonce=C.nonce),C.pendingToken&&(O.pendingToken=C.pendingToken)):C.oauthToken&&C.oauthTokenSecret?(O.accessToken=C.oauthToken,O.secret=C.oauthTokenSecret):Je("argument-error"),O}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(C){const O="string"==typeof C?JSON.parse(C):C,{providerId:ee,signInMethod:pt}=O,ln=(0,M.Tt)(O,["providerId","signInMethod"]);if(!ee||!pt)return null;const ni=new Gs(ee,pt);return ni.idToken=ln.idToken||void 0,ni.accessToken=ln.accessToken||void 0,ni.secret=ln.secret,ni.nonce=ln.nonce,ni.pendingToken=ln.pendingToken||null,ni}_getIdTokenResponse(C){return Gr(C,this.buildRequest())}_linkToIdToken(C,O){const ee=this.buildRequest();return ee.idToken=O,Gr(C,ee)}_getReauthenticationResolver(C){const O=this.buildRequest();return O.autoCreate=!1,Gr(C,O)}buildRequest(){const C={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)C.pendingToken=this.pendingToken;else{const O={};this.idToken&&(O.id_token=this.idToken),this.accessToken&&(O.access_token=this.accessToken),this.secret&&(O.oauth_token_secret=this.secret),O.providerId=this.providerId,this.nonce&&!this.pendingToken&&(O.nonce=this.nonce),C.postBody=(0,v.Am)(O)}return C}}function No(K,C){return Do.apply(this,arguments)}function Do(){return(Do=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:sendVerificationCode",Ie(K,C))})).apply(this,arguments)}function qo(){return(qo=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithPhoneNumber",Ie(K,C))})).apply(this,arguments)}function ko(){return(ko=(0,h.A)(function*(K,C){const O=yield We(K,"POST","/v1/accounts:signInWithPhoneNumber",Ie(K,C));if(O.temporaryProof)throw Wn(K,"account-exists-with-different-credential",O);return O})).apply(this,arguments)}const Uo={USER_NOT_FOUND:"user-not-found"};function la(){return(la=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithPhoneNumber",Ie(K,Object.assign(Object.assign({},C),{operation:"REAUTH"})),Uo)})).apply(this,arguments)}class Ka extends $i{constructor(C){super("phone","phone"),this.params=C}static _fromVerification(C,O){return new Ka({verificationId:C,verificationCode:O})}static _fromTokenResponse(C,O){return new Ka({phoneNumber:C,temporaryProof:O})}_getIdTokenResponse(C){return function Oo(K,C){return qo.apply(this,arguments)}(C,this._makeVerificationRequest())}_linkToIdToken(C,O){return function Js(K,C){return ko.apply(this,arguments)}(C,Object.assign({idToken:O},this._makeVerificationRequest()))}_getReauthenticationResolver(C){return function no(K,C){return la.apply(this,arguments)}(C,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:C,phoneNumber:O,verificationId:ee,verificationCode:pt}=this.params;return C&&O?{temporaryProof:C,phoneNumber:O}:{sessionInfo:ee,code:pt}}toJSON(){const C={providerId:this.providerId};return this.params.phoneNumber&&(C.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(C.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(C.verificationCode=this.params.verificationCode),this.params.verificationId&&(C.verificationId=this.params.verificationId),C}static fromJSON(C){"string"==typeof C&&(C=JSON.parse(C));const{verificationId:O,verificationCode:ee,phoneNumber:pt,temporaryProof:ln}=C;return ee||O||pt||ln?new Ka({verificationId:O,verificationCode:ee,phoneNumber:pt,temporaryProof:ln}):null}}class ll{constructor(C){var O,ee,pt,ln,ni,yi;const ir=(0,v.I9)((0,v.hp)(C)),sr=null!==(O=ir.apiKey)&&void 0!==O?O:null,qr=null!==(ee=ir.oobCode)&&void 0!==ee?ee:null,ns=function Qa(K){switch(K){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!==(pt=ir.mode)&&void 0!==pt?pt:null);ae(sr&&qr&&ns,"argument-error"),this.apiKey=sr,this.operation=ns,this.code=qr,this.continueUrl=null!==(ln=ir.continueUrl)&&void 0!==ln?ln:null,this.languageCode=null!==(ni=ir.lang)&&void 0!==ni?ni:null,this.tenantId=null!==(yi=ir.tenantId)&&void 0!==yi?yi:null}static parseLink(C){const O=function cs(K){const C=(0,v.I9)((0,v.hp)(K)).link,O=C?(0,v.I9)((0,v.hp)(C)).deep_link_id:null,ee=(0,v.I9)((0,v.hp)(K)).deep_link_id;return(ee?(0,v.I9)((0,v.hp)(ee)).link:null)||ee||O||C||K}(C);try{return new ll(O)}catch{return null}}}let wl=(()=>{class K{constructor(){this.providerId=K.PROVIDER_ID}static credential(O,ee){return is._fromEmailAndPassword(O,ee)}static credentialWithLink(O,ee){const pt=ll.parseLink(ee);return ae(pt,"argument-error"),is._fromEmailAndCode(O,pt.code,pt.tenantId)}}return K.PROVIDER_ID="password",K.EMAIL_PASSWORD_SIGN_IN_METHOD="password",K.EMAIL_LINK_SIGN_IN_METHOD="emailLink",K})();class Us{constructor(C){this.providerId=C,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(C){this.defaultLanguageCode=C}setCustomParameters(C){return this.customParameters=C,this}getCustomParameters(){return this.customParameters}}class Ps extends Us{constructor(){super(...arguments),this.scopes=[]}addScope(C){return this.scopes.includes(C)||this.scopes.push(C),this}getScopes(){return[...this.scopes]}}
1class ba extends Ps{static credentialFromJSON(C){const O="string"==typeof C?JSON.parse(C):C;return ae("providerId"in O&&"signInMethod"in O,"argument-error"),Gs._fromParams(O)}credential(C){return this._credential(Object.assign(Object.assign({},C),{nonce:C.rawNonce}))}_credential(C){return ae(C.idToken||C.accessToken,"argument-error"),Gs._fromParams(Object.assign(Object.assign({},C),{providerId:this.providerId,signInMethod:this.providerId}))}static credentialFromResult(C){return ba.oauthCredentialFromTaggedObject(C)}static credentialFromError(C){return ba.oauthCredentialFromTaggedObject(C.customData||{})}static oauthCredentialFromTaggedObject({_tokenResponse:C}){if(!C)return null;const{oauthIdToken:O,oauthAccessToken:ee,oauthTokenSecret:pt,pendingToken:ln,nonce:ni,providerId:yi}=C;if(!ee&&!pt&&!O&&!ln||!yi)return null;try{return new ba(yi)._credential({idToken:O,accessToken:ee,nonce:ni,pendingToken:ln})}catch{return null}}}let ea=(()=>{class K extends Ps{constructor(){super("facebook.com")}static credential(O){return Gs._fromParams({providerId:K.PROVIDER_ID,signInMethod:K.FACEBOOK_SIGN_IN_METHOD,accessToken:O})}static credentialFromResult(O){return K.credentialFromTaggedObject(O)}static credentialFromError(O){return K.credentialFromTaggedObject(O.customData||{})}static credentialFromTaggedObject({_tokenResponse:O}){if(!O||!("oauthAccessToken"in O)||!O.oauthAccessToken)return null;try{return K.credential(O.oauthAccessToken)}catch{return null}}}return K.FACEBOOK_SIGN_IN_METHOD="facebook.com",K.PROVIDER_ID="facebook.com",K})(),Os=(()=>{class K extends Ps{constructor(){super("google.com"),this.addScope("profile")}static credential(O,ee){return Gs._fromParams({providerId:K.PROVIDER_ID,signInMethod:K.GOOGLE_SIGN_IN_METHOD,idToken:O,accessToken:ee})}static credentialFromResult(O){return K.credentialFromTaggedObject(O)}static credentialFromError(O){return K.credentialFromTaggedObject(O.customData||{})}static credentialFromTaggedObject({_tokenResponse:O}){if(!O)return null;const{oauthIdToken:ee,oauthAccessToken:pt}=O;if(!ee&&!pt)return null;try{return K.credential(ee,pt)}catch{return null}}}return K.GOOGLE_SIGN_IN_METHOD="google.com",K.PROVIDER_ID="google.com",K})(),pl=(()=>{class K extends Ps{constructor(){super("github.com")}static credential(O){return Gs._fromParams({providerId:K.PROVIDER_ID,signInMethod:K.GITHUB_SIGN_IN_METHOD,accessToken:O})}static credentialFromResult(O){return K.credentialFromTaggedObject(O)}static credentialFromError(O){return K.credentialFromTaggedObject(O.customData||{})}static credentialFromTaggedObject({_tokenResponse:O}){if(!O||!("oauthAccessToken"in O)||!O.oauthAccessToken)return null;try{return K.credential(O.oauthAccessToken)}catch{return null}}}return K.GITHUB_SIGN_IN_METHOD="github.com",K.PROVIDER_ID="github.com",K})();class Fo extends $i{constructor(C,O){super(C,C),this.pendingToken=O}_getIdTokenResponse(C){return Gr(C,this.buildRequest())}_linkToIdToken(C,O){const ee=this.buildRequest();return ee.idToken=O,Gr(C,ee)}_getReauthenticationResolver(C){const O=this.buildRequest();return O.autoCreate=!1,Gr(C,O)}toJSON(){return{signInMethod:this.signInMethod,providerId:this.providerId,pendingToken:this.pendingToken}}static fromJSON(C){const O="string"==typeof C?JSON.parse(C):C,{providerId:ee,signInMethod:pt,pendingToken:ln}=O;return ee&&pt&&ln&&ee===pt?new Fo(ee,ln):null}static _create(C,O){return new Fo(C,O)}buildRequest(){return{requestUri:"http://localhost",returnSecureToken:!0,pendingToken:this.pendingToken}}}class Ea extends Us{constructor(C){ae(C.startsWith("saml."),"argument-error"),super(C)}static credentialFromResult(C){return Ea.samlCredentialFromTaggedObject(C)}static credentialFromError(C){return Ea.samlCredentialFromTaggedObject(C.customData||{})}static credentialFromJSON(C){const O=Fo.fromJSON(C);return ae(O,"argument-error"),O}static samlCredentialFromTaggedObject({_tokenResponse:C}){if(!C)return null;const{pendingToken:O,providerId:ee}=C;if(!O||!ee)return null;try{return Fo._create(ee,O)}catch{return null}}}let Mo=(()=>{class K extends Ps{constructor(){super("twitter.com")}static credential(O,ee){return Gs._fromParams({providerId:K.PROVIDER_ID,signInMethod:K.TWITTER_SIGN_IN_METHOD,oauthToken:O,oauthTokenSecret:ee})}static credentialFromResult(O){return K.credentialFromTaggedObject(O)}static credentialFromError(O){return K.credentialFromTaggedObject(O.customData||{})}
1static credentialFromTaggedObject({_tokenResponse:O}){if(!O)return null;const{oauthAccessToken:ee,oauthTokenSecret:pt}=O;if(!ee||!pt)return null;try{return K.credential(ee,pt)}catch{return null}}}return K.TWITTER_SIGN_IN_METHOD="twitter.com",K.PROVIDER_ID="twitter.com",K})();function pa(K,C){return xa.apply(this,arguments)}function xa(){return(xa=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signUp",Ie(K,C))})).apply(this,arguments)}class Kr{constructor(C){this.user=C.user,this.providerId=C.providerId,this._tokenResponse=C._tokenResponse,this.operationType=C.operationType}static _fromIdTokenResponse(C,O,ee){return(0,h.A)(function*(pt,ln,ni,yi=!1){const ir=yield Qi._fromIdTokenResponse(pt,ni,yi),sr=_l(ni);return new Kr({user:ir,providerId:sr,_tokenResponse:ni,operationType:ln})}).apply(this,arguments)}static _forOperation(C,O,ee){return(0,h.A)(function*(){yield C._updateTokensIfNecessary(ee,!0);const pt=_l(ee);return new Kr({user:C,providerId:pt,_tokenResponse:ee,operationType:O})})()}}function _l(K){return K.providerId?K.providerId:"phoneNumber"in K?"phone":null}function el(K){return tl.apply(this,arguments)}function tl(){return(tl=(0,h.A)(function*(K){var C;if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const O=Cr(K);if(yield O._initializationPromise,null!==(C=O.currentUser)&&void 0!==C&&C.isAnonymous)return new Kr({user:O.currentUser,providerId:null,operationType:"signIn"});const ee=yield pa(O,{returnSecureToken:!0}),pt=yield Kr._fromIdTokenResponse(O,"signIn",ee,!0);return yield O._updateCurrentUser(pt.user),pt})).apply(this,arguments)}class tt extends v.g{constructor(C,O,ee,pt){var ln;super(O.code,O.message),this.operationType=ee,this.user=pt,Object.setPrototypeOf(this,tt.prototype),this.customData={appName:C.name,tenantId:null!==(ln=C.tenantId)&&void 0!==ln?ln:void 0,_serverResponse:O.customData._serverResponse,operationType:ee}}static _fromErrorAndOperation(C,O,ee,pt){return new tt(C,O,ee,pt)}}function Et(K,C,O,ee){return("reauthenticate"===C?O._getReauthenticationResolver(K):O._getIdTokenResponse(K)).catch(ln=>{throw"auth/multi-factor-auth-required"===ln.code?tt._fromErrorAndOperation(K,ln,C,ee):ln})}function pe(K){return new Set(K.map(({providerId:C})=>C).filter(C=>!!C))}function Gt(K,C){return Ln.apply(this,arguments)}function Ln(){return Ln=(0,h.A)(function*(K,C){const O=(0,v.Ku)(K);
1yield _o(!0,O,C);const{providerUserInfo:ee}=yield function ai(K,C){return pi.apply(this,arguments)}(O.auth,{idToken:yield O.getIdToken(),deleteProvider:[C]}),pt=pe(ee||[]);return O.providerData=O.providerData.filter(ln=>pt.has(ln.providerId)),pt.has("phone")||(O.phoneNumber=null),yield O.auth._persistUserIfCurrent(O),O}),Ln.apply(this,arguments)}function Qr(K,C){return Ds.apply(this,arguments)}function Ds(){return(Ds=(0,h.A)(function*(K,C,O=!1){const ee=yield Ae(K,C._linkToIdToken(K.auth,yield K.getIdToken()),O);return Kr._forOperation(K,"link",ee)})).apply(this,arguments)}function _o(K,C,O){return Yo.apply(this,arguments)}function Yo(){return(Yo=(0,h.A)(function*(K,C,O){yield Ue(C);const pt=!1===K?"provider-already-linked":"no-such-provider";ae(pe(C.providerData).has(O)===K,C.auth,pt)})).apply(this,arguments)}function Da(K,C){return Ha.apply(this,arguments)}function Ha(){return(Ha=(0,h.A)(function*(K,C,O=!1){const{auth:ee}=K;if((0,y._isFirebaseServerApp)(ee.app))return Promise.reject(lt(ee));const pt="reauthenticate";try{const ln=yield Ae(K,Et(ee,pt,C,K),O);ae(ln.idToken,ee,"internal-error");const ni=Vt(ln.idToken);ae(ni,ee,"internal-error");const{sub:yi}=ni;return ae(K.uid===yi,ee,"user-mismatch"),Kr._forOperation(K,pt,ln)}catch(ln){throw"auth/user-not-found"===ln?.code&&Je(ee,"user-mismatch"),ln}})).apply(this,arguments)}function ja(K,C){return Ya.apply(this,arguments)}function Ya(){return(Ya=(0,h.A)(function*(K,C,O=!1){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const pt=yield Et(K,"signIn",C),ln=yield Kr._fromIdTokenResponse(K,"signIn",pt);return O||(yield K._updateCurrentUser(ln.user)),ln})).apply(this,arguments)}function cl(K,C){return Ra.apply(this,arguments)}function Ra(){return(Ra=(0,h.A)(function*(K,C){return ja(Cr(K),C)})).apply(this,arguments)}function gi(K,C){return gr.apply(this,arguments)}function gr(){return(gr=(0,h.A)(function*(K,C){const O=(0,v.Ku)(K);return yield _o(!1,O,C.providerId),Qr(O,C)})).apply(this,arguments)}function ct(K,C){return En.apply(this,arguments)}function En(){return(En=(0,h.A)(function*(K,C){return Da((0,v.Ku)(K),C)})).apply(this,arguments)}function yr(){return(yr=(0,h.A)(function*(K,C){return We(K,"POST","/v1/accounts:signInWithCustomToken",Ie(K,C))})).apply(this,arguments)}function Xr(K,C){return ho.apply(this,arguments)}function ho(){return ho=(0,h.A)(function*(K,C){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const O=Cr(K),ee=yield function oi(K,C){return yr.apply(this,arguments)}(O,{token:C,returnSecureToken:!0}),pt=yield Kr._fromIdTokenResponse(O,"signIn",ee);return yield O._updateCurrentUser(pt.user),pt}),ho.apply(this,arguments)}class ri{constructor(C,O){this.factorId=C,this.uid=O.mfaEnrollmentId,this.enrollmentTime=new Date(O.enrolledAt).toUTCString(),this.displayName=O.displayName}static _fromServerResponse(C,O){return"phoneInfo"in O?nr._fromServerResponse(C,O):"totpInfo"in O?Pi._fromServerResponse(C,O):Je(C,"internal-error")}}class nr extends ri{constructor(C){super("phone",C),this.phoneNumber=C.phoneInfo}static _fromServerResponse(C,O){return new nr(O)}}class Pi extends ri{constructor(C){super("totp",C)}static _fromServerResponse(C,O){return new Pi(O)}}function Nr(K,C,O){var ee;ae((null===(ee=O.url)||void 0===ee?void 0:ee.length)>0,K,"invalid-continue-uri"),ae(typeof O.dynamicLinkDomain>"u"||O.dynamicLinkDomain.length>0,K,"invalid-dynamic-link-domain"),ae(typeof O.linkDomain>"u"||O.linkDomain.length>0,K,"invalid-hosting-link-domain"),C.continueUrl=O.url,C.dynamicLinkDomain=O.dynamicLinkDomain,C.linkDomain=O.linkDomain,C.canHandleCodeInApp=O.handleCodeInApp,O.iOS&&(ae(O.iOS.bundleId.length>0,K,"missing-ios-bundle-id"),C.iOSBundleId=O.iOS.bundleId),O.android&&(ae(O.android.packageName.length>0,K,"missing-android-pkg-name"),C.androidInstallApp=O.android.installApp,C.androidMinimumVersionCode=O.android.minimumVersion,C.androidPackageName=O.android.packageName)}function Bs(K){return Qs.apply(this,arguments)}function Qs(){return(Qs=(0,h.A)(function*(K){const C=Cr(K);C._getPasswordPolicyInternal()&&(yield C._updatePasswordPolicy())})).apply(this,arguments)}function qs(K,C,O){return eo.apply(this,arguments)}function eo(){return(eo=(0,h.A)(function*(K,C,O){const ee=Cr(K),pt={requestType:"PASSWORD_RESET",email:C,clientType:"CLIENT_TYPE_WEB"};O&&Nr(ee,pt,O),yield to(ee,pt,"getOobCode",kl,"EMAIL_PASSWORD_PROVIDER")})).apply(this,arguments)}function dc(K,C,O){return Cc.apply(this,arguments)}function Cc(){return Cc=(0,h.A)(function*(K,C,O){yield Es((0,v.Ku)(K),{oobCode:C,newPassword:O}).catch(function(){var ee=(0,h.A)(function*(pt){throw"auth/password-does-not-meet-requirements"===pt.code&&Bs(K),pt});return function(pt){return ee.apply(this,arguments)}}())}),Cc.apply(this,arguments)}function nl(K,C){return Sl.apply(this,arguments)}function Sl(){return Sl=(0,h.A)(function*(K,C){yield function Rr(K,C){return fs.apply(this,arguments)}((0,v.Ku)(K),{oobCode:C})}),Sl.apply(this,arguments)}function uc(K,C){return il.apply(this,arguments)}function il(){return(il=(0,h.A)(function*(K,C){const O=(0,v.Ku)(K),ee=yield Es(O,{oobCode:C}),pt=ee.requestType;
1switch(ae(pt,O,"internal-error"),pt){case"EMAIL_SIGNIN":break;case"VERIFY_AND_CHANGE_EMAIL":ae(ee.newEmail,O,"internal-error");break;case"REVERT_SECOND_FACTOR_ADDITION":ae(ee.mfaInfo,O,"internal-error");default:ae(ee.email,O,"internal-error")}let ln=null;return ee.mfaInfo&&(ln=ri._fromServerResponse(Cr(O),ee.mfaInfo)),{data:{email:("VERIFY_AND_CHANGE_EMAIL"===ee.requestType?ee.newEmail:ee.email)||null,previousEmail:("VERIFY_AND_CHANGE_EMAIL"===ee.requestType?ee.email:ee.newEmail)||null,multiFactorInfo:ln},operation:pt}})).apply(this,arguments)}function da(K,C){return hc.apply(this,arguments)}function hc(){return(hc=(0,h.A)(function*(K,C){const{data:O}=yield uc((0,v.Ku)(K),C);return O.email})).apply(this,arguments)}function ps(K,C,O){return wa.apply(this,arguments)}function wa(){return(wa=(0,h.A)(function*(K,C,O){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const ee=Cr(K),ni=yield to(ee,{returnSecureToken:!0,email:C,password:O,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",pa,"EMAIL_PASSWORD_PROVIDER").catch(ir=>{throw"auth/password-does-not-meet-requirements"===ir.code&&Bs(K),ir}),yi=yield Kr._fromIdTokenResponse(ee,"signIn",ni);return yield ee._updateCurrentUser(yi.user),yi})).apply(this,arguments)}function fc(K,C,O){return(0,y._isFirebaseServerApp)(K.app)?Promise.reject(lt(K)):cl((0,v.Ku)(K),wl.credential(C,O)).catch(function(){var ee=(0,h.A)(function*(pt){throw"auth/password-does-not-meet-requirements"===pt.code&&Bs(K),pt});return function(pt){return ee.apply(this,arguments)}}())}function gl(K,C,O){return dl.apply(this,arguments)}function dl(){return(dl=(0,h.A)(function*(K,C,O){const ee=Cr(K),pt={requestType:"EMAIL_SIGNIN",email:C,clientType:"CLIENT_TYPE_WEB"};(function ln(ni,yi){ae(yi.handleCodeInApp,ee,"argument-error"),yi&&Nr(ee,ni,yi)})(pt,O),yield to(ee,pt,"getOobCode",xt,"EMAIL_PASSWORD_PROVIDER")})).apply(this,arguments)}function mc(K,C){const O=ll.parseLink(C);return"EMAIL_SIGNIN"===O?.operation}function Ac(K,C,O){return Ws.apply(this,arguments)}function Ws(){return(Ws=(0,h.A)(function*(K,C,O){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const ee=(0,v.Ku)(K),pt=wl.credentialWithLink(C,O||ve());return ae(pt._tenantId===(ee.tenantId||null),ee,"tenant-id-mismatch"),cl(ee,pt)})).apply(this,arguments)}function Fa(){return(Fa=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:createAuthUri",Ie(K,C))})).apply(this,arguments)}function Ll(K,C){return Go.apply(this,arguments)}function Go(){return Go=(0,h.A)(function*(K,C){const ee={identifier:C,continueUri:at()?ve():"http://localhost"},{signinMethods:pt}=yield function go(K,C){return Fa.apply(this,arguments)}((0,v.Ku)(K),ee);return pt||[]}),Go.apply(this,arguments)}function kc(K,C){return vl.apply(this,arguments)}function vl(){return vl=(0,h.A)(function*(K,C){const O=(0,v.Ku)(K),pt={requestType:"VERIFY_EMAIL",idToken:yield K.getIdToken()};C&&Nr(O.auth,pt,C);const{email:ln}=yield function Zo(K,C){return As.apply(this,arguments)}(O.auth,pt);ln!==K.email&&(yield K.reload())}),vl.apply(this,arguments)}function Tl(K,C,O){return Nl.apply(this,arguments)}function Nl(){return Nl=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K),ln={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:yield K.getIdToken(),newEmail:C};O&&Nr(ee.auth,ln,O);const{email:ni}=yield function Hn(K,C){return fi.apply(this,arguments)}(ee.auth,ln);ni!==K.email&&(yield K.reload())}),Nl.apply(this,arguments)}function ha(){return(ha=(0,h.A)(function*(K,C){return ie(K,"POST","/v1/accounts:update",C)})).apply(this,arguments)}function Pa(K,C){return ld.apply(this,arguments)}function ld(){return ld=(0,h.A)(function*(K,{displayName:C,photoURL:O}){if(void 0===C&&void 0===O)return;const ee=(0,v.Ku)(K),ln={idToken:yield ee.getIdToken(),displayName:C,photoUrl:O,returnSecureToken:!0},ni=yield Ae(ee,function vs(K,C){return ha.apply(this,arguments)}(ee.auth,ln));ee.displayName=ni.displayName||null,ee.photoURL=ni.photoUrl||null;const yi=ee.providerData.find(({providerId:ir})=>"password"===ir);yi&&(yi.displayName=ee.displayName,yi.photoURL=ee.photoURL),yield ee._updateTokensIfNecessary(ni)}),ld.apply(this,arguments)}function $c(K,C){const O=(0,v.Ku)(K);return(0,y._isFirebaseServerApp)(O.auth.app)?Promise.reject(lt(O.auth)):Sc(O,C,null)}function cd(K,C){return Sc((0,v.Ku)(K),null,C)}function Sc(K,C,O){return rc.apply(this,arguments)}function rc(){return rc=(0,h.A)(function*(K,C,O){const{auth:ee}=K,ln={idToken:yield K.getIdToken(),returnSecureToken:!0};C&&(ln.email=C),O&&(ln.password=O);const ni=yield Ae(K,function Fn(K,C){return Vn.apply(this,arguments)}(ee,ln));yield K._updateTokensIfNecessary(ni,!0)}),rc.apply(this,arguments)}class xl{constructor(C,O,ee={}){this.isNewUser=C,this.providerId=O,this.profile=ee}}class $l extends xl{constructor(C,O,ee,pt){super(C,O,ee),this.username=pt}}class Gl extends xl{constructor(C,O){super(C,"facebook.com",O)}}class Fl extends $l{constructor(C,O){super(C,"github.com",O,"string"==typeof O?.login?O?.login:null)}}class zo extends xl{constructor(C,O){super(C,"google.com",O)}}class ne extends $l{constructor(C,O,ee){super(C,"twitter.com",O,ee)}}function Oe(K){const{user:C,_tokenResponse:O}=K;return C.isAnonymous&&!O?{providerId:null,isNewUser:!1,profile:null}:function dd(K){var C,O;if(!K)return null;const{providerId:ee}=K,pt=K.rawUserInfo?JSON.parse(K.rawUserInfo):{},ln=K.isNewUser||"identitytoolkit#SignupNewUserResponse"===K.kind;if(!ee&&K?.idToken){const ni=null===(O=null===(C=Vt(K.idToken))||void 0===C?void 0:C.firebase)||void 0===O?void 0:O.sign_in_provider;if(ni)return new xl(ln,"anonymous"!==ni&&"custom"!==ni?ni:null)}if(!ee)return null;switch(ee){case"facebook.com":return new Gl(ln,pt);case"github.com":return new Fl(ln,pt);case"google.com":return new zo(ln,pt);case"twitter.com":return new ne(ln,pt,K.screenName||null);
1case"custom":case"anonymous":return new xl(ln,null);default:return new xl(ln,ee,pt)}}(O)}class io{constructor(C,O,ee){this.type=C,this.credential=O,this.user=ee}static _fromIdtoken(C,O){return new io("enroll",C,O)}static _fromMfaPendingCredential(C){return new io("signin",C)}toJSON(){return{multiFactorSession:{["enroll"===this.type?"idToken":"pendingCredential"]:this.credential}}}static fromJSON(C){var O,ee;if(C?.multiFactorSession){if(null!==(O=C.multiFactorSession)&&void 0!==O&&O.pendingCredential)return io._fromMfaPendingCredential(C.multiFactorSession.pendingCredential);if(null!==(ee=C.multiFactorSession)&&void 0!==ee&&ee.idToken)return io._fromIdtoken(C.multiFactorSession.idToken)}return null}}class So{constructor(C,O,ee){this.session=C,this.hints=O,this.signInResolver=ee}static _fromError(C,O){const ee=Cr(C),pt=O.customData._serverResponse,ln=(pt.mfaInfo||[]).map(yi=>ri._fromServerResponse(ee,yi));ae(pt.mfaPendingCredential,ee,"internal-error");const ni=io._fromMfaPendingCredential(pt.mfaPendingCredential);return new So(ni,ln,function(){var yi=(0,h.A)(function*(ir){const sr=yield ir._process(ee,ni);delete pt.mfaInfo,delete pt.mfaPendingCredential;const qr=Object.assign(Object.assign({},pt),{idToken:sr.idToken,refreshToken:sr.refreshToken});switch(O.operationType){case"signIn":const ns=yield Kr._fromIdTokenResponse(ee,O.operationType,qr);return yield ee._updateCurrentUser(ns.user),ns;case"reauthenticate":return ae(O.user,ee,"internal-error"),Kr._forOperation(O.user,O.operationType,qr);default:Je(ee,"internal-error")}});return function(ir){return yi.apply(this,arguments)}}())}resolveSignIn(C){var O=this;return(0,h.A)(function*(){return O.signInResolver(C)})()}}function Bl(K,C){var O;const ee=(0,v.Ku)(K),pt=C;return ae(C.customData.operationType,ee,"argument-error"),ae(null===(O=pt.customData._serverResponse)||void 0===O?void 0:O.mfaPendingCredential,ee,"argument-error"),So._fromError(ee,pt)}function xc(K,C){return ie(K,"POST","/v2/accounts/mfaEnrollment:start",Ie(K,C))}class ga{constructor(C){this.user=C,this.enrolledFactors=[],C._onReload(O=>{O.mfaInfo&&(this.enrolledFactors=O.mfaInfo.map(ee=>ri._fromServerResponse(C.auth,ee)))})}static _fromUser(C){return new ga(C)}getSession(){var C=this;return(0,h.A)(function*(){return io._fromIdtoken(yield C.user.getIdToken(),C.user)})()}enroll(C,O){var ee=this;return(0,h.A)(function*(){const pt=C,ln=yield ee.getSession(),ni=yield Ae(ee.user,pt._process(ee.user.auth,ln,O));return yield ee.user._updateTokensIfNecessary(ni),ee.user.reload()})()}unenroll(C){var O=this;return(0,h.A)(function*(){const ee="string"==typeof C?C:C.uid,pt=yield O.user.getIdToken();try{const ln=yield Ae(O.user,function Pc(K,C){return ie(K,"POST","/v2/accounts/mfaEnrollment:withdraw",Ie(K,C))}(O.user.auth,{idToken:pt,mfaEnrollmentId:ee}));O.enrolledFactors=O.enrolledFactors.filter(({uid:ni})=>ni!==ee),yield O.user._updateTokensIfNecessary(ln),yield O.user.reload()}catch(ln){throw ln}})()}}const Ba=new WeakMap;function ro(K){const C=(0,v.Ku)(K);return Ba.has(C)||Ba.set(C,ga._fromUser(C)),Ba.get(C)}const Kl="__sak";class Ml{constructor(C,O){this.storageRetriever=C,this.type=O}_isAvailable(){try{return this.storage?(this.storage.setItem(Kl,"1"),this.storage.removeItem(Kl),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(C,O){return this.storage.setItem(C,JSON.stringify(O)),Promise.resolve()}_get(C){const O=this.storage.getItem(C);return Promise.resolve(O?JSON.parse(O):null)}_remove(C){return this.storage.removeItem(C),Promise.resolve()}get storage(){return this.storageRetriever()}}const cu=(()=>{class K extends Ml{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(O,ee)=>this.onStorageEvent(O,ee),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=Mr(),this._shouldAllowMigration=!0}forAllChangedKeys(O){for(const ee of Object.keys(this.listeners)){const pt=this.storage.getItem(ee),ln=this.localCache[ee];pt!==ln&&O(ee,ln,pt)}}onStorageEvent(O,ee=!1){if(!O.key)return void this.forAllChangedKeys((yi,ir,sr)=>{this.notifyListeners(yi,sr)});const pt=O.key;ee?this.detachListener():this.stopPolling();const ln=()=>{const yi=this.storage.getItem(pt);!ee&&this.localCache[pt]===yi||this.notifyListeners(pt,yi)},ni=this.storage.getItem(pt);!function Gi(){return(0,v.lT)()&&10===document.documentMode}()||ni===O.newValue||O.newValue===O.oldValue?ln():setTimeout(ln,10)}notifyListeners(O,ee){this.localCache[O]=ee;const pt=this.listeners[O];if(pt)for(const ln of Array.from(pt))ln(ee&&JSON.parse(ee))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((O,ee,pt)=>{this.onStorageEvent(new StorageEvent("storage",{key:O,oldValue:ee,newValue:pt}),!0)})},1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(O,ee){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[O]||(this.listeners[O]=new Set,this.localCache[O]=this.storage.getItem(O)),this.listeners[O].add(ee)}_removeListener(O,ee){this.listeners[O]&&(this.listeners[O].delete(ee),0===this.listeners[O].size&&delete this.listeners[O]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}_set(O,ee){var pt=()=>super._set,ln=this;return(0,h.A)(function*(){yield pt().call(ln,O,ee),ln.localCache[O]=JSON.stringify(ee)})()}_get(O){var ee=()=>super._get,pt=this;return(0,h.A)(function*(){const ln=yield ee().call(pt,O);return pt.localCache[O]=JSON.stringify(ln),ln})()}_remove(O){var ee=()=>super._remove,pt=this;return(0,h.A)(function*(){yield ee().call(pt,O),delete pt.localCache[O]})()}}return K.type="LOCAL",K})(),Gc=(()=>{class K extends Ml{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(O,ee){}_removeListener(O,ee){}}return K.type="SESSION",K})();let Jl=(()=>{class K{constructor(O){this.eventTarget=O,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(O){const ee=this.receivers.find(ln=>ln.isListeningto(O));if(ee)return ee;const pt=new K(O);return this.receivers.push(pt),pt}isListeningto(O){return this.eventTarget===O}
1handleEvent(O){var ee=this;return(0,h.A)(function*(){const pt=O,{eventId:ln,eventType:ni,data:yi}=pt.data,ir=ee.handlersMap[ni];if(!ir?.size)return;pt.ports[0].postMessage({status:"ack",eventId:ln,eventType:ni});const sr=Array.from(ir).map(function(){var ns=(0,h.A)(function*(Ts){return Ts(pt.origin,yi)});return function(Ts){return ns.apply(this,arguments)}}()),qr=yield function Id(K){return Promise.all(K.map(function(){var C=(0,h.A)(function*(O){try{return{fulfilled:!0,value:yield O}}catch(ee){return{fulfilled:!1,reason:ee}}});return function(O){return C.apply(this,arguments)}}()))}(sr);pt.ports[0].postMessage({status:"done",eventId:ln,eventType:ni,response:qr})})()}_subscribe(O,ee){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[O]||(this.handlersMap[O]=new Set),this.handlersMap[O].add(ee)}_unsubscribe(O,ee){this.handlersMap[O]&&ee&&this.handlersMap[O].delete(ee),(!ee||0===this.handlersMap[O].size)&&delete this.handlersMap[O],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}return K.receivers=[],K})();function yl(K="",C=10){let O="";for(let ee=0;ee<C;ee++)O+=Math.floor(10*Math.random());return K+O}class Oc{constructor(C){this.target=C,this.handlers=new Set}removeMessageHandler(C){C.messageChannel&&(C.messageChannel.port1.removeEventListener("message",C.onMessage),C.messageChannel.port1.close()),this.handlers.delete(C)}_send(C,O){var ee=this;return(0,h.A)(function*(pt,ln,ni=50){const yi=typeof MessageChannel<"u"?new MessageChannel:null;if(!yi)throw new Error("connection_unavailable");let ir,sr;return new Promise((qr,ns)=>{const Ts=yl("",20);yi.port1.start();const Xo=setTimeout(()=>{ns(new Error("unsupported_event"))},ni);sr={messageChannel:yi,onMessage(qc){const _d=qc;if(_d.data.eventId===Ts)switch(_d.data.status){case"ack":clearTimeout(Xo),ir=setTimeout(()=>{ns(new Error("timeout"))},3e3);break;case"done":clearTimeout(ir),qr(_d.data.response);break;default:clearTimeout(Xo),clearTimeout(ir),ns(new Error("invalid_response"))}}},ee.handlers.add(sr),yi.port1.addEventListener("message",sr.onMessage),ee.target.postMessage({eventType:pt,eventId:Ts,data:ln},[yi.port2])}).finally(()=>{sr&&ee.removeMessageHandler(sr)})}).apply(this,arguments)}}function Ls(){return window}function Kt(){return typeof Ls().WorkerGlobalScope<"u"&&"function"==typeof Ls().importScripts}function jt(){return(jt=(0,h.A)(function*(){if(!navigator?.serviceWorker)return null;try{return(yield navigator.serviceWorker.ready).active}catch{return null}})).apply(this,arguments)}const Si="firebaseLocalStorageDb",or="firebaseLocalStorage",xr="fbase_key";class rs{constructor(C){this.request=C}toPromise(){return new Promise((C,O)=>{this.request.addEventListener("success",()=>{C(this.request.result)}),this.request.addEventListener("error",()=>{O(this.request.error)})})}}function co(K,C){return K.transaction([or],C?"readwrite":"readonly").objectStore(or)}function ta(){const K=indexedDB.open(Si,1);return new Promise((C,O)=>{K.addEventListener("error",()=>{O(K.error)}),K.addEventListener("upgradeneeded",()=>{const ee=K.result;try{ee.createObjectStore(or,{keyPath:xr})}catch(pt){O(pt)}}),K.addEventListener("success",(0,h.A)(function*(){const ee=K.result;ee.objectStoreNames.contains(or)?C(ee):(ee.close(),yield function Ss(){const K=indexedDB.deleteDatabase(Si);return new rs(K).toPromise()}(),C(yield ta()))}))})}function Ma(K,C,O){return La.apply(this,arguments)}function La(){return(La=(0,h.A)(function*(K,C,O){const ee=co(K,!0).put({[xr]:C,value:O});return new rs(ee).toPromise()})).apply(this,arguments)}function xo(){return(xo=(0,h.A)(function*(K,C){const O=co(K,!1).get(C),ee=yield new rs(O).toPromise();return void 0===ee?null:ee.value})).apply(this,arguments)}function es(K,C){const O=co(K,!0).delete(C);return new rs(O).toPromise()}const Ia=(()=>{class K{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}_openDb(){var O=this;return(0,h.A)(function*(){return O.db||(O.db=yield ta()),O.db})()}_withRetries(O){var ee=this;return(0,h.A)(function*(){let pt=0;for(;;)try{const ln=yield ee._openDb();return yield O(ln)}catch(ln){if(pt++>3)throw ln;ee.db&&(ee.db.close(),ee.db=void 0)}})()}initializeServiceWorkerMessaging(){var O=this;return(0,h.A)(function*(){return Kt()?O.initializeReceiver():O.initializeSender()})()}initializeReceiver(){var O=this;return(0,h.A)(function*(){O.receiver=Jl._getInstance(function Nn(){return Kt()?self:null}()),O.receiver._subscribe("keyChanged",function(){var ee=(0,h.A)(function*(pt,ln){return{keyProcessed:(yield O._poll()).includes(ln.key)}});return function(pt,ln){return ee.apply(this,arguments)}}()),O.receiver._subscribe("ping",function(){var ee=(0,h.A)(function*(pt,ln){return["keyChanged"]});return function(pt,ln){return ee.apply(this,arguments)}}())})()}initializeSender(){var O=this;return(0,h.A)(function*(){var ee,pt;if(O.activeServiceWorker=yield function ht(){return jt.apply(this,arguments)}(),!O.activeServiceWorker)return;O.sender=new Oc(O.activeServiceWorker);const ln=yield O.sender._send("ping",{},800);ln&&null!==(ee=ln[0])&&void 0!==ee&&ee.fulfilled&&null!==(pt=ln[0])&&void 0!==pt&&pt.value.includes("keyChanged")&&(O.serviceWorkerReceiverAvailable=!0)})()}notifyServiceWorker(O){var ee=this;return(0,h.A)(function*(){if(ee.sender&&ee.activeServiceWorker&&function en(){var K;return(null===(K=navigator?.serviceWorker)||void 0===K?void 0:K.controller)||null}()===ee.activeServiceWorker)try{yield ee.sender._send("keyChanged",{key:O},ee.serviceWorkerReceiverAvailable?800:50)}catch{}})()}_isAvailable(){return(0,h.A)(function*(){try{if(!indexedDB)return!1;const O=yield ta();return yield Ma(O,Kl,"1"),yield es(O,Kl),!0}catch{}return!1})()}_withPendingWrite(O){var ee=this;return(0,h.A)(function*(){ee.pendingWrites++;try{yield O()}finally{ee.pendingWrites--}})()}_set(O,ee){var pt=this;return(0,h.A)(function*(){return pt._withPendingWrite((0,h.A)(function*(){return yield pt._withRetries(ln=>Ma(ln,O,ee)),pt.localCache[O]=ee,pt.notifyServiceWorker(O)}))})()}_get(O){var ee=this;return(0,h.A)(function*(){const pt=yield ee._withRetries(ln=>function Il(K,C){return xo.apply(this,arguments)}(ln,O));return ee.localCache[O]=pt,pt})()}_remove(O){var ee=this;return(0,h.A)(function*(){return ee._withPendingWrite((0,h.A)(function*(){return yield ee._withRetries(pt=>es(pt,O)),delete ee.localCache[O],ee.notifyServiceWorker(O)}))})()}_poll(){var O=this;return(0,h.A)(function*(){const ee=yield O._withRetries(ni=>{const yi=co(ni,!1).getAll();return new rs(yi).toPromise()});if(!ee)return[];if(0!==O.pendingWrites)return[];const pt=[],ln=new Set;if(0!==ee.length)for(const{fbase_key:ni,value:yi}of ee)ln.add(ni),JSON.stringify(O.localCache[ni])!==JSON.stringify(yi)&&(O.notifyListeners(ni,yi),pt.push(ni));for(const ni of Object.keys(O.localCache))O.localCache[ni]&&!ln.has(ni)&&(O.notifyListeners(ni,null),pt.push(ni));return pt})()}notifyListeners(O,ee){this.localCache[O]=ee;const pt=this.listeners[O];if(pt)for(const ln of Array.from(pt))ln(ee)}startPolling(){var O=this;this.stopPolling(),this.pollTimer=setInterval((0,h.A)(function*(){return O._poll()}),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(O,ee){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[O]||(this.listeners[O]=new Set,this._get(O)),this.listeners[O].add(ee)}_removeListener(O,ee){this.listeners[O]&&(this.listeners[O].delete(ee),0===this.listeners[O].size&&delete this.listeners[O]),0===Object.keys(this.listeners).length&&this.stopPolling()}}return K.type="LOCAL",K})();function Ul(K,C){return ie(K,"POST","/v2/accounts/mfaSignIn:start",Ie(K,C))}const Gd=Ks("rcb"),_c=new hn(3e4,6e4);class gc{constructor(){var C;this.hostLanguage="",this.counter=0,this.librarySeparatelyLoaded=!(null===(C=Ls().grecaptcha)||void 0===C||!C.render)}load(C,O=""){return ae(function Ca(K){return K.length<=6&&/^\s*[a-zA-Z0-9\-]*\s*$/.test(K)}(O),C,"argument-error"),this.shouldResolveImmediately(O)&&mr(Ls().grecaptcha)?Promise.resolve(Ls().grecaptcha):new Promise((ee,pt)=>{const ln=Ls().setTimeout(()=>{pt(Ke(C,"network-request-failed"))},_c.get());Ls()[Gd]=()=>{Ls().clearTimeout(ln),delete Ls()[Gd];const yi=Ls().grecaptcha;if(!yi||!mr(yi))return void pt(Ke(C,"internal-error"));const ir=yi.render;yi.render=(sr,qr)=>{const ns=ir(sr,qr);return this.counter++,ns},this.hostLanguage=O,ee(yi)},Cs(`${function Xs(){return $r.recaptchaV2Script}()}?${(0,v.Am)({onload:Gd,render:"explicit",hl:O})}`).catch(()=>{clearTimeout(ln),pt(Ke(C,"internal-error"))})})}clearedOneInstance(){this.counter--}shouldResolveImmediately(C){var O;return!(null===(O=Ls().grecaptcha)||void 0===O||!O.render)&&(C===this.hostLanguage||this.counter>0||this.librarySeparatelyLoaded)}}class uo{load(C){return(0,h.A)(function*(){return new Ni(C)})()}clearedOneInstance(){}}const Kc="recaptcha",wu={theme:"light",type:"image"};class vc{constructor(C,O,ee=Object.assign({},wu)){this.parameters=ee,this.type=Kc,this.destroyed=!1,this.widgetId=null,this.tokenChangeListeners=new Set,this.renderPromise=null,this.recaptcha=null,this.auth=Cr(C),this.isInvisible="invisible"===this.parameters.size,ae(typeof document<"u",this.auth,"operation-not-supported-in-this-environment");const pt="string"==typeof O?document.getElementById(O):O;ae(pt,this.auth,"argument-error"),this.container=pt,this.parameters.callback=this.makeTokenCallback(this.parameters.callback),this._recaptchaLoader=this.auth.settings.appVerificationDisabledForTesting?new uo:new gc,this.validateStartingState()}verify(){var C=this;return(0,h.A)(function*(){C.assertNotDestroyed();const O=yield C.render(),ee=C.getAssertedRecaptcha();return ee.getResponse(O)||new Promise(ln=>{const ni=yi=>{yi&&(C.tokenChangeListeners.delete(ni),ln(yi))};C.tokenChangeListeners.add(ni),C.isInvisible&&ee.execute(O)})})()}render(){try{this.assertNotDestroyed()}catch(C){return Promise.reject(C)}return this.renderPromise||(this.renderPromise=this.makeRenderPromise().catch(C=>{throw this.renderPromise=null,C})),this.renderPromise}_reset(){this.assertNotDestroyed(),null!==this.widgetId&&this.getAssertedRecaptcha().reset(this.widgetId)}clear(){this.assertNotDestroyed(),this.destroyed=!0,this._recaptchaLoader.clearedOneInstance(),this.isInvisible||this.container.childNodes.forEac
1h(C=>{this.container.removeChild(C)})}validateStartingState(){ae(!this.parameters.sitekey,this.auth,"argument-error"),ae(this.isInvisible||!this.container.hasChildNodes(),this.auth,"argument-error"),ae(typeof document<"u",this.auth,"operation-not-supported-in-this-environment")}makeTokenCallback(C){return O=>{if(this.tokenChangeListeners.forEach(ee=>ee(O)),"function"==typeof C)C(O);else if("string"==typeof C){const ee=Ls()[C];"function"==typeof ee&&ee(O)}}}assertNotDestroyed(){ae(!this.destroyed,this.auth,"internal-error")}makeRenderPromise(){var C=this;return(0,h.A)(function*(){if(yield C.init(),!C.widgetId){let O=C.container;if(!C.isInvisible){const ee=document.createElement("div");O.appendChild(ee),O=ee}C.widgetId=C.getAssertedRecaptcha().render(O,C.parameters)}return C.widgetId})()}init(){var C=this;return(0,h.A)(function*(){ae(at()&&!Kt(),C.auth,"internal-error"),yield function Tu(){let K=null;return new Promise(C=>{"complete"!==document.readyState?(K=()=>C(),window.addEventListener("load",K)):C()}).catch(C=>{throw K&&window.removeEventListener("load",K),C})}(),C.recaptcha=yield C._recaptchaLoader.load(C.auth,C.auth.languageCode||void 0);const O=yield function dn(K){return Tn.apply(this,arguments)}(C.auth);ae(O,C.auth,"internal-error"),C.parameters.sitekey=O})()}getAssertedRecaptcha(){return ae(this.recaptcha,this.auth,"internal-error"),this.recaptcha}}class le{constructor(C,O){this.verificationId=C,this.onConfirmation=O}confirm(C){const O=Ka._fromVerification(this.verificationId,C);return this.onConfirmation(O)}}function At(K,C,O){return mn.apply(this,arguments)}function mn(){return(mn=(0,h.A)(function*(K,C,O){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const ee=Cr(K),pt=yield Bo(ee,C,(0,v.Ku)(O));return new le(pt,ln=>cl(ee,ln))})).apply(this,arguments)}function Fi(K,C,O){return er.apply(this,arguments)}function er(){return(er=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K);
1yield _o(!1,ee,"phone");const pt=yield Bo(ee.auth,C,(0,v.Ku)(O));return new le(pt,ln=>gi(ee,ln))})).apply(this,arguments)}function Fr(K,C,O){return vo.apply(this,arguments)}function vo(){return(vo=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K);if((0,y._isFirebaseServerApp)(ee.auth.app))return Promise.reject(lt(ee.auth));const pt=yield Bo(ee.auth,C,(0,v.Ku)(O));return new le(pt,ln=>ct(ee,ln))})).apply(this,arguments)}function Bo(K,C,O){return Va.apply(this,arguments)}function Va(){return Va=(0,h.A)(function*(K,C,O){var ee;if(!K._getRecaptchaConfig())try{yield Co(K)}catch{console.log("Failed to initialize reCAPTCHA Enterprise config. Triggering the reCAPTCHA v2 verification.")}try{let pt;if(pt="string"==typeof C?{phoneNumber:C}:C,"session"in pt){const ln=pt.session;if("phoneNumber"in pt){ae("enroll"===ln.type,K,"internal-error");const ni={idToken:ln.credential,phoneEnrollmentInfo:{phoneNumber:pt.phoneNumber,clientType:"CLIENT_TYPE_WEB"}};return(yield to(K,ni,"mfaSmsEnrollment",function(){var qr=(0,h.A)(function*(ns,Ts){return Ts.phoneEnrollmentInfo.captchaResponse===bn?(ae(O?.type===Kc,ns,"argument-error"),xc(ns,yield Nd(ns,Ts,O))):xc(ns,Ts)});return function(Ts,Xo){return qr.apply(this,arguments)}}(),"PHONE_PROVIDER").catch(qr=>Promise.reject(qr))).phoneSessionInfo.sessionInfo}{ae("signin"===ln.type,K,"internal-error");const ni=(null===(ee=pt.multiFactorHint)||void 0===ee?void 0:ee.uid)||pt.multiFactorUid;ae(ni,K,"missing-multi-factor-info");const yi={mfaPendingCredential:ln.credential,mfaEnrollmentId:ni,phoneSignInInfo:{clientType:"CLIENT_TYPE_WEB"}};return(yield to(K,yi,"mfaSmsSignIn",function(){var ns=(0,h.A)(function*(Ts,Xo){return Xo.phoneSignInInfo.captchaResponse===bn?(ae(O?.type===Kc,Ts,"argument-error"),Ul(Ts,yield Nd(Ts,Xo,O))):Ul(Ts,Xo)});return function(Xo,qc){return ns.apply(this,arguments)}}(),"PHONE_PROVIDER").catch(ns=>Promise.reject(ns))).phoneResponseInfo.sessionInfo}}{const ln={phoneNumber:pt.phoneNumber,clientType:"CLIENT_TYPE_WEB"};return(yield to(K,ln,"sendVerificationCode",function(){var sr=(0,h.A)(function*(qr,ns){return ns.captchaResponse===bn?(ae(O?.type===Kc,qr,"argument-error"),No(qr,yield Nd(qr,ns,O))):No(qr,ns)});return function(ns,Ts){return sr.apply(this,arguments)}}(),"PHONE_PROVIDER").catch(sr=>Promise.reject(sr))).sessionInfo}}finally{O?._reset()}}),Va.apply(this,arguments)}function Ro(K,C){return Ja.apply(this,arguments)}function Ja(){return(Ja=(0,h.A)(function*(K,C){const O=(0,v.Ku)(K);if((0,y._isFirebaseServerApp)(O.auth.app))return Promise.reject(lt(O.auth));yield Qr(O,C)})).apply(this,arguments)}function Nd(K,C,O){return Kd.apply(this,arguments)}function Kd(){return(Kd=(0,h.A)(function*(K,C,O){ae(O.type===Kc,K,"argument-error");const ee=yield O.verify();ae("string"==typeof ee,K,"argument-error");const pt=Object.assign({},C);return"phoneEnrollmentInfo"in pt?(Object.assign(pt,{phoneEnrollmentInfo:{phoneNumber:pt.phoneEnrollmentInfo.phoneNumber,recaptchaToken:ee,captchaResponse:pt.phoneEnrollmentInfo.captchaResponse,clientType:pt.phoneEnrollmentInfo.clientType,recaptchaVersion:pt.phoneEnrollmentInfo.recaptchaVersion}}),pt):"phoneSignInInfo"in pt?(Object.assign(pt,{phoneSignInInfo:{recaptchaToken:ee,captchaResponse:pt.phoneSignInInfo.captchaResponse,clientType:pt.phoneSignInInfo.clientType,recaptchaVersion:pt.phoneSignInInfo.recaptchaVersion}}),pt):(Object.assign(pt,{recaptchaToken:ee}),pt)})).apply(this,arguments)}let Mu=(()=>{class K{constructor(O){this.providerId=K.PROVIDER_ID,this.auth=Cr(O)}verifyPhoneNumber(O,ee){return Bo(this.auth,O,(0,v.Ku)(ee))}static credential(O,ee){return Ka._fromVerification(O,ee)}static credentialFromResult(O){return K.credentialFromTaggedObject(O)}static credentialFromError(O){return K.credentialFromTaggedObject(O.customData||{})}static credentialFromTaggedObject({_tokenResponse:O}){if(!O)return null;const{phoneNumber:ee,temporaryProof:pt}=O;return ee&&pt?Ka._fromTokenResponse(ee,pt):null}}return K.PROVIDER_ID="phone",K.PHONE_SIGN_IN_METHOD="phone",K})();function Ua(K,C){return C?Er(C):(ae(K._popupRedirectResolver,K,"argument-error"),K._popupRedirectResolver)}class Lc extends $i{constructor(C){super("custom","custom"),this.params=C}_getIdTokenResponse(C){return Gr(C,this._buildIdpRequest())}_linkToIdToken(C,O){return Gr(C,this._buildIdpRequest(O))}_getReauthenticationResolver(C){return Gr(C,this._buildIdpRequest())}_buildIdpRequest(C){const O={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return C&&(O.idToken=C),O}}function Qd(K){return ja(K.auth,new Lc(K),K.bypassAuthState)}function Fd(K){const{auth:C,user:O}=K;return ae(O,C,"internal-error"),Da(O,new Lc(K),K.bypassAuthState)}function hd(K){return fd.apply(this,arguments)}function fd(){return(fd=(0,h.A)(function*(K){const{auth:C,user:O}=K;return ae(O,C,"internal-error"),Qr(O,new Lc(K),K.bypassAuthState)})).apply(this,arguments)}class Nc{constructor(C,O,ee,pt,ln=!1){this.auth=C,this.resolver=ee,this.user=pt,this.bypassAuthState=ln,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(O)?O:[O]}execute(){var C=this;return new Promise(function(){var O=(0,h.A)(function*(ee,pt){C.pendingPromise={resolve:ee,reject:pt};try{C.eventManager=yield C.resolver._initialize(C.auth),yield C.onExecution(),C.eventManager.registerConsumer(C)}catch(ln){C.reject(ln)}});return function(ee,pt){return O.apply(this,arguments)}}())}onAuthEvent(C){var O=this;return(0,h.A)(function*(){const{urlResponse:ee,sessionId:pt,postBody:ln,tenantId:ni,error:yi,type:ir}=C;if(yi)return void O.reject(yi);const sr={auth:O.auth,requestUri:ee,sessionId:pt,tenantId:ni||void 0,postBody:ln||void 0,user:O.user,bypassAuthState:O.bypassAuthState};try{O.resolve(yield O.getIdpTask(ir)(sr))}catch(qr){O.reject(qr)}})()}onError(C){this.reject(C)}getIdpTask(C){switch(C){case"signInViaPopup":case"signInViaRedirect":return Qd;case"linkViaPopup":case"linkViaRedirect":return hd;case"reauthViaPopup":case"reauthViaRedirect":return Fd;default:Je(this.auth,"internal-error")}}resolve(C){Ne(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(C),this.unregisterAndCleanUp()}reject(C){Ne(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(C),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const va=new hn(2e3,1e4);function Dc(K,C,O){return wc.apply(this,arguments)}function wc(){return(wc=(0,h.A)(function*(K,C,O){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(Ke(K,"operation-not-supported-in-this-environment"));const ee=Cr(K);q(K,C,Us);const pt=Ua(ee,O);return new mt(ee,"signInViaPopup",C,pt).executeNotNull()})).apply(this,arguments)}function Po(K,C,O){return P.apply(this,arguments)}function P(){return(P=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K);if((0,y._isFirebaseServerApp)(ee.auth.app))return Promise.reject(Ke(ee.auth,"operation-not-supported-in-this-environment"));q(ee.auth,C,Us);const pt=Ua(ee.auth,O);return new mt(ee.auth,"reauthViaPopup",C,pt,ee).executeNotNull()})).apply(this,arguments)}function J(K,C,O){return Be.apply(this,arguments)}function Be(){return(Be=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K);q(ee.auth,C,Us);const pt=Ua(ee.auth,O);return new mt(ee.auth,"linkViaPopup",C,pt,ee).executeNotNull()})).apply(this,arguments)}let mt=(()=>{class K extends Nc{constructor(O,ee,pt,ln,ni){super(O,ee,ln,ni),this.provider=pt,this.authWindow=null,this.pollId=null,K.currentPopupAction&&K.currentPopupAction.cancel(),K.currentPopupAction=this}executeNotNull(){var O=this;return(0,h.A)(function*(){const ee=yield O.execute();return ae(ee,O.auth,"internal-error"),ee})()}onExecution(){var O=this;return(0,h.A)(function*(){Ne(1===O.filter.length,"Popup operations only handle one event");const ee=yl();O.authWindow=yield O.resolver._openPopup(O.auth,O.provider,O.filter[0],ee),O.authWindow.associatedEvent=ee,O.resolver._originValidation(O.auth).catch(pt=>{O.reject(pt)}),O.resolver._isIframeWebStorageSupported(O.auth,pt=>{pt||O.reject(Ke(O.auth,"web-storage-unsupported"))}),O.pollUserCancellation()})()}get eventId(){var O;return(null===(O=this.authWindow)||void 0===O?void 0:O.associatedEvent)||null}cancel(){this.reject(Ke(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,K.currentPopupAction=null}pollUserCancellation(){const O=()=>{var ee,pt;this.pollId=null!==(pt=null===(ee=this.authWindow)||void 0===ee?void 0:ee.window)&&void 0!==pt&&pt.closed?window.setTimeout(()=>{this.pollId=null,this.reject(Ke(this.auth,"popup-closed-by-user"))},8e3):window.setTimeout(O,va.get())};O()}}return K.currentPopupAction=null,K})();const qn=new Map;class Xi extends Nc{constructor(C,O,ee=!1){super(C,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],O,void 0,ee),this.eventId=null}execute(){var C=()=>super.execute,O=this;return(0,h.A)(function*(){let ee=qn.get(O.auth._key());if(!ee){try{const ln=(yield function Jr(K,C){return ws.apply(this,arguments)}(O.resolver,O.auth))?yield C().call(O):null;ee=()=>Promise.resolve(ln)}catch(pt){ee=()=>Promise.reject(pt)}qn.set(O.auth._key(),ee)}return O.bypassAuthState||qn.set(O.auth._key(),()=>Promise.resolve(null)),ee()})()}onAuthEvent(C){var O=()=>super.onAuthEvent,ee=this;return(0,h.A)(function*(){if("signInViaRedirect"===C.type)return O().call(ee,C);if("unknown"!==C.type){if(C.eventId){const pt=yield ee.auth._redirectUserForId(C.eventId);if(pt)return ee.user=pt,O().call(ee,C);ee.resolve(null)}}else ee.resolve(null)})()}onExecution(){return(0,h.A)(function*(){})()}cleanUp(){}}function ws(){return(ws=(0,h.A)(function*(K,C){const O=du(C),ee=Gu(K);if(!(yield ee._isAvailable()))return!1;const pt="true"===(yield ee._get(O));return yield ee._remove(O),pt})).apply(this,arguments)}function fo(K,C){return Na.apply(this,arguments)}function Na(){return(Na=(0,h.A)(function*(K,C){return Gu(K)._set(du(C),"true")})).apply(this,arguments)}function Zl(){qn.clear()}function jl(K,C){qn.set(K._key(),C)}function Gu(K){return Er(K._redirectPersistence)}function du(K){return Pt("pendingRedirect",K.config.apiKey,K.name)}function Qc(K,C,O){return function md(K,C,O){return Bd.apply(this,arguments)}(K,C,O)}function Bd(){return(Bd=(0,h.A)(function*(K,C,O){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const ee=Cr(K);q(K,C,Us),yield ee._initializationPromise;const pt=Ua(ee,O);return yield fo(pt,ee),pt._openRedirect(ee,C,"signInViaRedirect")})).apply(this,arguments)}function Ku(K,C,O){return function Fh(K,C,O){return Bh.apply(this,arguments)}(K,C,O)}function Bh(){return(Bh=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K);if(q(ee.auth,C,Us),(0,y._isFirebaseServerApp)(ee.auth.app))return Promise.reject(lt(ee.auth));yield ee.auth._initializationPromise;const pt=Ua(ee.auth,O);yield fo(pt,ee.auth);const ln=yield be(ee);return pt._openRedirect(ee.auth,C,"reauthViaRedirect",ln)})).apply(this,arguments)}function Qu(K,C,O){return function mo(K,C,O){return Xd.apply(this,arguments)}(K,C,O)}function Xd(){return(Xd=(0,h.A)(function*(K,C,O){const ee=(0,v.Ku)(K);q(ee.auth,C,Us),yield ee.auth._initializationPromise;const pt=Ua(ee.auth,O);yield _o(!1,ee,C.providerId),yield fo(pt,ee.auth);const ln=yield be(ee);return pt._openRedirect(ee.auth,C,"linkViaRedirect",ln)})).apply(this,arguments)}function hm(K,C){return Iu.apply(this,arguments)}function Iu(){return(Iu=(0,h.A)(function*(K,C){return yield Cr(K)._initializationPromise,Y(K,C,!1)})).apply(this,arguments)}function Y(K,C){return $.apply(this,arguments)}function $(){return($=(0,h.A)(function*(K,C,O=!1){if((0,y._isFirebaseServerApp)(K.app))return Promise.reject(lt(K));const ee=Cr(K),pt=Ua(ee,C),ni=yield new Xi(ee,pt,O).execute();return ni&&!O&&(delete ni.user._redirectEventId,yield ee._persistUserIfCurrent(ni.user),yield ee._setRedirectUser(null,C)),ni})).apply(this,arguments)}function be(K){return vt.apply(this,arguments)}function vt(){return(vt=(0,h.A)(function*(K){const C=yl(`${K.uid}:::`);return K._redirectEventId=C,yield K.auth._setRedirectUser(K),yield K.auth._persistUserIfCurrent(K),C})).apply(this,arguments)}class fn{constructor(C){this.auth=C,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=
1Date.now()}registerConsumer(C){this.consumers.add(C),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,C)&&(this.sendToConsumer(this.queuedRedirectEvent,C),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(C){this.consumers.delete(C)}onEvent(C){if(this.hasEventBeenHandled(C))return!1;let O=!1;return this.consumers.forEach(ee=>{this.isEventForConsumer(C,ee)&&(O=!0,this.sendToConsumer(C,ee),this.saveEventToCache(C))}),this.hasHandledPotentialRedirect||!function xi(K){switch(K.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return si(K);default:return!1}}(C)||(this.hasHandledPotentialRedirect=!0,O||(this.queuedRedirectEvent=C,O=!0)),O}sendToConsumer(C,O){var ee;if(C.error&&!si(C)){const pt=(null===(ee=C.error.code)||void 0===ee?void 0:ee.split("auth/")[1])||"internal-error";O.onError(Ke(this.auth,pt))}else O.onAuthEvent(C)}isEventForConsumer(C,O){const ee=null===O.eventId||!!C.eventId&&C.eventId===O.eventId;return O.filter.includes(C.type)&&ee}hasEventBeenHandled(C){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has($n(C))}saveEventToCache(C){this.cachedEventUids.add($n(C)),this.lastProcessedEventTime=Date.now()}}function $n(K){return[K.type,K.eventId,K.sessionId,K.tenantId].filter(C=>C).join("-")}function si({type:K,error:C}){return"unknown"===K&&"auth/no-auth-event"===C?.code}function Yi(K){return zi.apply(this,arguments)}function zi(){return(zi=(0,h.A)(function*(K,C={}){return ie(K,"GET","/v1/projects",C)})).apply(this,arguments)}const jr=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,ss=/^https?/;function xs(){return(xs=(0,h.A)(function*(K){if(K.config.emulator)return;const{authorizedDomains:C}=yield Yi(K);for(const O of C)try{if(os(O))return}catch{}Je(K,"unauthorized-domain")})).apply(this,arguments)}function os(K){const C=ve(),{protocol:O,hostname:ee}=new URL(C);if(K.startsWith("chrome-extension://")){const ni=new URL(K);return""===ni.hostname&&""===ee?"chrome-extension:"===O&&K.replace("chrome-extension://","")===C.replace("chrome-extension://",""):"chrome-extension:"===O&&ni.hostname===ee}if(!ss.test(O))return!1;if(jr.test(K))return ee===K;const pt=K.replace(/\./g,"\\.");return new RegExp("^(.+\\."+pt+"|"+pt+")$","i").test(ee)}const _s=new hn(3e4,6e4);function To(){const K=Ls().___jsl;if(K?.H)for(const C of Object.keys(K.H))if(K.H[C].r=K.H[C].r||[],K.H[C].L=K.H[C].L||[],K.H[C].r=[...K.H[C].L],K.CP)for(let O=0;O<K.CP.length;O++)K.CP[O]=null}let fa=null;const Za=new hn(5e3,15e3),Jd={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},rf=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function Lf(K){const C=K.config;ae(C.authDomain,K,"auth-domain-config-required");const O=C.emulator?qt(C,"emulator/auth/iframe"):`https://${K.config.authDomain}/__/auth/iframe`,ee={apiKey:C.apiKey,appName:K.name,v:y.SDK_VERSION},pt=rf.get(K.config.apiHost);pt&&(ee.eid=pt);const ln=K._getFrameworks();return ln.length&&(ee.fw=ln.join(",")),`${O}?${(0,v.Am)(ee).slice(1)}`}function Zd(){return Zd=(0,h.A)(function*(K){const C=yield function ql(K){return fa=fa||function Io(K){return new Promise((C,O)=>{var ee,pt,ln;function ni(){To(),gapi.load("gapi.iframes",{callback:()=>{C(gapi.iframes.getContext())},ontimeout:()=>{To(),O(Ke(K,"network-request-failed"))},timeout:_s.get()})}if(null!==(pt=null===(ee=Ls().gapi)||void 0===ee?void 0:ee.iframes)&&void 0!==pt&&pt.Iframe)C(gapi.iframes.getContext());else{if(null===(ln=Ls().gapi)||void 0===ln||!ln.load){const yi=Ks("iframefcb");return Ls()[yi]=()=>{gapi.load?ni():O(Ke(K,"network-request-failed"))},Cs(`${function po(){return $r.gapiScript}()}?onload=${yi}`).catch(ir=>O(ir))}ni()}}).catch(C=>{throw fa=null,C})}(K),fa}(K),O=Ls().gapi;return ae(O,K,"internal-error"),C.open({where:document.body,url:Lf(K),messageHandlersFilter:O.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:Jd,dontclear:!0},ee=>new Promise(function(){var pt=(0,h.A)(function*(ln,ni){yield ee.restyle({setHideOnLeave:!1});const yi=Ke(K,"network-request-failed"),ir=Ls().setTimeout(()=>{ni(yi)},Za.get());function sr(){Ls().clearTimeout(ir),ln(ee)}ee.ping(sr).then(sr,()=>{ni(yi)})});return function(ln,ni){return pt.apply(this,arguments)}}()))}),Zd.apply(this,arguments)}const qd={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class sc{constructor(C){this.window=C,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}const ku=encodeURIComponent("fac");function Su(K,C,O,ee,pt,ln){return Uh.apply(this,arguments)}function Uh(){return(Uh=(0,h.A)(function*(K,C,O,ee,pt,ln){ae(K.config.authDomain,K,"auth-domain-config-required"),ae(K.config.apiKey,K,"invalid-api-key");const ni={apiKey:K.config.apiKey,appName:K.name,authType:O,redirectUrl:ee,v:y.SDK_VERSION,eventId:pt};if(C instanceof Us){C.setDefaultLanguage(K.languageCode),ni.providerId=C.providerId||"",(0,v.Im)(C.getCustomParameters())||(ni.customParameters=JSON.stringify(C.getCustomParameters()));
1for(const[qr,ns]of Object.entries(ln||{}))ni[qr]=ns}if(C instanceof Ps){const qr=C.getScopes().filter(ns=>""!==ns);qr.length>0&&(ni.scopes=qr.join(","))}K.tenantId&&(ni.tid=K.tenantId);const yi=ni;for(const qr of Object.keys(yi))void 0===yi[qr]&&delete yi[qr];const ir=yield K._getAppCheckToken(),sr=ir?`#${ku}=${encodeURIComponent(ir)}`:"";return`${function xu({config:K}){return K.emulator?qt(K,"emulator/auth/handler"):`https://${K.authDomain}/__/auth/handler`}(K)}?${(0,v.Am)(yi).slice(1)}${sr}`})).apply(this,arguments)}const Zc="webStorageSupport",Nf=class ph{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=Gc,this._completeRedirectFn=Y,this._overrideRedirectResult=jl}_openPopup(C,O,ee,pt){var ln=this;return(0,h.A)(function*(){var ni;Ne(null===(ni=ln.eventManagers[C._key()])||void 0===ni?void 0:ni.manager,"_initialize() not called before _openPopup()");const yi=yield Su(C,O,ee,ve(),pt);return function Vh(K,C,O,ee=500,pt=600){const ln=Math.max((window.screen.availHeight-pt)/2,0).toString(),ni=Math.max((window.screen.availWidth-ee)/2,0).toString();let yi="";const ir=Object.assign(Object.assign({},qd),{width:ee.toString(),height:pt.toString(),top:ln,left:ni}),sr=(0,v.ZQ)().toLowerCase();O&&(yi=Rn(sr)?"_blank":O),_t(sr)&&(C=C||"http://localhost",ir.scrollbars="yes");const qr=Object.entries(ir).reduce((Ts,[Xo,qc])=>`${Ts}${Xo}=${qc},`,"");if(function Ti(K=(0,v.ZQ)()){var C;return Bt(K)&&!(null===(C=window.navigator)||void 0===C||!C.standalone)}(sr)&&"_self"!==yi)return function Xu(K,C){const O=document.createElement("a");O.href=K,O.target=C;const ee=document.createEvent("MouseEvent");ee.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),O.dispatchEvent(ee)}(C||"",yi),new sc(null);const ns=window.open(C||"",yi,qr);ae(ns,K,"popup-blocked");try{ns.focus()}catch{}return new sc(ns)}(C,yi,yl())})()}_openRedirect(C,O,ee,pt){var ln=this;return(0,h.A)(function*(){return yield ln._originValidation(C),function Vl(K){Ls().location.href=K}(yield Su(C,O,ee,ve(),pt)),new Promise(()=>{})})()}_initialize(C){const O=C._key();if(this.eventManagers[O]){const{manager:pt,promise:ln}=this.eventManagers[O];return pt?Promise.resolve(pt):(Ne(ln,"If manager is not set, promise should be"),ln)}const ee=this.initAndGetManager(C);return this.eventManagers[O]={promise:ee},ee.catch(()=>{delete this.eventManagers[O]}),ee}initAndGetManager(C){var O=this;return(0,h.A)(function*(){const ee=yield function sf(K){return Zd.apply(this,arguments)}(C),pt=new fn(C);return ee.register("authEvent",ln=>(ae(ln?.authEvent,C,"invalid-auth-event"),{status:pt.onEvent(ln.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),O.eventManagers[C._key()]={manager:pt},O.iframes[C._key()]=ee,pt})()}_isIframeWebStorageSupported(C,O){this.iframes[C._key()].send(Zc,{type:Zc},pt=>{var ln;const ni=null===(ln=pt?.[0])||void 0===ln?void 0:ln[Zc];void 0!==ni&&O(!!ni),Je(C,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(C){const O=C._key();return this.originValidationPromises[O]||(this.originValidationPromises[O]=function ys(K){return xs.apply(this,arguments)}(C)),this.originValidationPromises[O]}get _shouldInitProactively(){return Mr()||et()||Bt()}};class _h{constructor(C){this.factorId=C}_process(C,O,ee){switch(O.type){case"enroll":return this._finalizeEnroll(C,O.credential,ee);case"signin":return this._finalizeSignIn(C,O.credential);default:return he("unexpected MultiFactorSessionType")}}}class gh extends _h{constructor(C){super("phone"),this.credential=C}static _fromCredential(C){return new gh(C)}_finalizeEnroll(C,O,ee){return function ao(K,C){return ie(K,"POST","/v2/accounts/mfaEnrollment:finalize",Ie(K,C))}(C,{idToken:O,displayName:ee,phoneVerificationInfo:this.credential._makeVerificationRequest()})}_finalizeSignIn(C,O){return function hl(K,C){return ie(K,"POST","/v2/accounts/mfaSignIn:finalize",Ie(K,C))}(C,{mfaPendingCredential:O,phoneVerificationInfo:this.credential._makeVerificationRequest()})}}let Vd=(()=>{class K{constructor(){}static assertion(O){return gh._fromCredential(O)}}return K.FACTOR_ID="phone",K})();var Ff="@firebase/auth";class jh{constructor(C){this.auth=C,this.internalListeners=new Map}getUid(){var C;return this.assertAuthConfigured(),(null===(C=this.auth.currentUser)||void 0===C?void 0:C.uid)||null}getToken(C){var O=this;return(0,h.A)(function*(){return O.assertAuthConfigured(),yield O.auth._initializationPromise,O.auth.currentUser?{accessToken:yield O.auth.currentUser.getIdToken(C)}:null})()}
1addAuthTokenListener(C){if(this.assertAuthConfigured(),this.internalListeners.has(C))return;const O=this.auth.onIdTokenChanged(ee=>{C(ee?.stsTokenManager.accessToken||null)});this.internalListeners.set(C,O),this.updateProactiveRefresh()}removeAuthTokenListener(C){this.assertAuthConfigured();const O=this.internalListeners.get(C);O&&(this.internalListeners.delete(C),O(),this.updateProactiveRefresh())}assertAuthConfigured(){ae(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}const Ju=(0,v.XA)("authIdTokenMaxAge")||300;let fu=null;const oc=K=>function(){var C=(0,h.A)(function*(O){const ee=O&&(yield O.getIdTokenResult()),pt=ee&&((new Date).getTime()-Date.parse(ee.issuedAtTime))/1e3;if(pt&&pt>Ju)return;const ln=ee?.token;fu!==ln&&(fu=ln,yield fetch(K,{method:ln?"POST":"DELETE",headers:ln?{Authorization:`Bearer ${ln}`}:{}}))});return function(O){return C.apply(this,arguments)}}();function eu(K=(0,y.getApp)()){const C=(0,y._getProvider)(K,"auth");if(C.isInitialized())return C.getImmediate();const O=function Dt(K,C){const O=(0,y._getProvider)(K,"auth");if(O.isInitialized()){const pt=O.getImmediate(),ln=O.getOptions();if((0,v.bD)(ln,C??{}))return pt;Je(pt,"already-initialized")}return O.initialize({options:C})}(K,{popupRedirectResolver:Nf,persistence:[Ia,cu,Gc]}),ee=(0,v.XA)("authTokenSyncURL");if(ee&&"boolean"==typeof isSecureContext&&isSecureContext){const ln=new URL(ee,location.origin);if(location.origin===ln.origin){const ni=oc(ln.toString());(function mi(K,C,O){(0,v.Ku)(K).beforeAuthStateChanged(C,O)})(O,ni,()=>ni(O.currentUser)),function Cn(K,C,O,ee){(0,v.Ku)(K).onIdTokenChanged(C,O,ee)}(O,yi=>ni(yi))}}const pt=(0,v.Tj)("auth");return pt&&Lt(O,`http://${pt}`),O}(function Ns(K){$r=K})({loadJS:K=>new Promise((C,O)=>{const ee=document.createElement("script");ee.setAttribute("src",K),ee.onload=C,ee.onerror=pt=>{const ln=Ke("internal-error");ln.customData=pt,O(ln)},ee.type="text/javascript",ee.charset="UTF-8",function Hh(){var K,C;return null!==(C=null===(K=document.getElementsByTagName("head"))||void 0===K?void 0:K[0])&&void 0!==C?C:document}().appendChild(ee)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),function Wh(K){(0,y._registerComponent)(new k.uA("auth",(C,{options:O})=>{const ee=C.getProvider("app").getImmediate(),pt=C.getProvider("heartbeat"),ln=C.getProvider("app-check-internal"),{apiKey:ni,authDomain:yi}=ee.options;ae(ni&&!ni.includes(":"),"invalid-api-key",{appName:ee.name});const ir={apiKey:ni,authDomain:yi,clientPlatform:K,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:$t(K)},sr=new _r(ee,pt,ln,ir);return function An(K,C){const O=C?.persistence||[],ee=(Array.isArray(O)?O:[O]).map(Er);C?.errorMap&&K._updateErrorMap(C.errorMap),K._initializeWithPersistence(ee,C?.popupRedirectResolver)}(sr,O),sr},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((C,O,ee)=>{C.getProvider("auth-internal").initialize()})),(0,y._registerComponent)(new k.uA("auth-internal",C=>{const O=Cr(C.getProvider("auth").getImmediate());return new jh(O)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,y.registerVersion)(Ff,"1.10.8",function Hl(K){switch(K){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(K)),(0,y.registerVersion)(Ff,"1.10.8","esm2017")}("Browser")},1526(tn,Ye,d){"use strict";d.d(Ye,{fS:()=>Pl,Ix:()=>vu,H6:()=>Wy,T1:()=>ml,Wq:()=>ch,uY:()=>Af,W6:()=>je,Ci:()=>ru,YQ:()=>zv,NJ:()=>dh,Dc:()=>we,GA:()=>Kv,cm:()=>_o,K$:()=>ci,FA:()=>Sn,lo:()=>z,bI:()=>wt,qG:()=>Ea,qi:()=>hn,c8:()=>fr,gS:()=>l0,C3:()=>Xy,hq:()=>vD,me:()=>Vv,rJ:()=>up,Cs:()=>B_,vN:()=>F_,kd:()=>a0,CL:()=>g0,LA:()=>Pm,H9:()=>Qp,ol:()=>Hy,Q5:()=>Wg,Os:()=>Yy,FD:()=>bo,rf:()=>na,Ws:()=>Al,z6:()=>i_,x7:()=>$v,nY:()=>rD,_e:()=>o0,GG:()=>sD,kU:()=>oD,Rr:()=>Gv,aU:()=>Bv,GV:()=>v0,AB:()=>wr,$1:()=>ar,po:()=>W_,St:()=>Uv,aQ:()=>Qg,FC:()=>dD,My:()=>ui,P:()=>m,B:()=>Cf,yx:()=>Lv,c4:()=>_0,O5:()=>Qy,BN:()=>aD,He:()=>Ut,lN:()=>iD,HM:()=>us,EO:()=>ts,mZ:()=>lD,iB:()=>i0,_M:()=>G});var k,H,o=d(467),s=d(1631),h=d(8779),y=d(5398),v=d(1871),T=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},M={};(function(){var f;function c(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}function g(Ci,Xn,hi){hi||(hi=0);var Mi=Array(16);if("string"==typeof Xn)for(var Li=0;16>Li;++Li)Mi[Li]=Xn.charCodeAt(hi++)|Xn.charCodeAt(hi++)<<8|Xn.charCodeAt(hi++)<<16|Xn.charCodeAt(hi++)<<24;else for(Li=0;16>Li;++Li)Mi[Li]=Xn[hi++]|Xn[hi++]<<8|Xn[hi++]<<16|Xn[hi++]<<24;var Ji=Ci.g[3],li=(Xn=Ci.g[0])+(Ji^(hi=Ci.g[1])&((Li=Ci.g[2])^Ji))+Mi[0]+3614090360&4294967295;li=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=(hi=(Li=(Ji=(Xn=hi+(li<<7&4294967295|li>>>25))+((li=Ji+(Li^Xn&(hi^Li))+Mi[1]+3905402710&4294967295)<<12&4294967295|li>>>20))+((li=Li+(hi^Ji&(Xn^hi))+Mi[2]+606105819&4294967295)<<17&4294967295|li>>>15))+((li=hi+(Xn^Li&(Ji^Xn))+Mi[3]+3250441966&4294967295)<<22&4294967295|li>>>10))+((li=Xn+(Ji^hi&(Li^Ji))+Mi[4]+4118548399&4294967295)<<7&4294967295|li>>>25))+((li=Ji+(Li^Xn&(hi^Li))+Mi[5]+1200080426&4294967295)<<12&4294967295|li>>>20))+((li=Li+(hi^Ji&(Xn^hi))+Mi[6]+2821735955&4294967295)<<17&4294967295|li>>>15))+((li=hi+(Xn^Li&(Ji^Xn))+Mi[7]+4249261313&4294967295)<<22&4294967295|li>>>10))+((li=Xn+(Ji^hi&(Li^Ji))+Mi[8]+1770035416&4294967295)<<7&4294967295|li>>>25))+((li=Ji+(Li^Xn&(hi^Li))+Mi[9]+2336552879&4294967295)<<12&4294967295|li>>>20))+((li=Li+(hi^Ji&(Xn^hi))+Mi[10]+4294925233&4294967295)<<17&4294967295|li>>>15))+((li=hi+(Xn^Li&(Ji^Xn))+Mi[11]+2304563134&4294967295)<<22&4294967295|li>>>10))+((li=Xn+(Ji^hi&(Li^Ji))+Mi[12]+1804603682&4294967295)<<7&4294967295|li>>>25))+((li=Ji+(Li^Xn&(hi^Li))+Mi[13]+4254626195&4294967295)<<12&4294967295|li>>>20))+((li=Li+(hi^Ji&(Xn^hi))+Mi[14]+2792965006&4294967295)<<17&4294967295|li>>>15))+((li=hi+(Xn^Li&(Ji^Xn))+Mi[15]+1236535329&4294967295)<<22&4294967295|li>>>10))+((li=Xn+(Li^Ji&(hi^Li))+Mi[1]+4129170786&4294967295)<<5&4294967295|li>>>27))+((li=Ji+(hi^Li&(Xn^hi))+Mi[6]+3225465664&4294967295)<<9&4294967295|li>>>23))+((li=Li+(Xn^hi&(Ji^Xn))+Mi[11]+643717713&4294967295)<<14&4294967295|li>>>18))+((li=hi+(Ji^Xn&(Li^Ji))+Mi[0]+3921069994&4294967295)<<20&4294967295|li>>>12))+((li=Xn+(Li^Ji&(hi^Li))+Mi[5]+3593408605&4294967295)<<5&4294967295|li>>>27))+((li=Ji+(hi^Li&(Xn^hi))+Mi[10]+38016083&4294967295)<<9&4294967295|li>>>23))+((li=Li+(Xn^hi&(Ji^Xn))+Mi[15]+3634488961&4294967295)<<14&4294967295|li>>>18))+((li=hi+(Ji^Xn&(Li^Ji))+Mi[4]+3889429448&4294967295)<<20&4294967295|li>>>12))+((li=Xn+(Li^Ji&(hi^Li))+Mi[9]+568446438&4294967295)<<5&4294967295|li>>>27))+((li=Ji+(hi^Li&(Xn^hi))+Mi[14]+3275163606&4294967295)<<9&4294967295|li>>>23))+((li=Li+(Xn^hi&(Ji^Xn))+Mi[3]+4107603335&4294967295)<<14&4294967295|li>>>18))+((li=hi+(Ji^Xn&(Li^Ji))+Mi[8]+1163531501&4294967295)<<20&4294967295|li>>>12))+((li=Xn+(Li^Ji&(hi^Li))+Mi[13]+2850285829&4294967295)<<5&4294967295|li>>>27))+((li=Ji+(hi^Li&(Xn^hi))+Mi[2]+4243563512&4294967295)<<9&4294967295|li>>>23))+((li=Li+(Xn^hi&(Ji^Xn))+Mi[7]+1735328473&4294967295)<<14&4294967295|li>>>18))+((li=hi+(Ji^Xn&(Li^Ji))+Mi[12]+2368359562&4294967295)<<20&4294967295|li>>>12))+((li=Xn+(hi^Li^Ji)+Mi[5]+4294588738&4294967295)<<4&4294967295|li>>>28))+((li=Ji+(Xn^hi^Li)+Mi[8]+2272392833&4294967295)<<11&4294967295|li>>>21))+((li=Li+(Ji^Xn^hi)+Mi[11]+1839030562&4294967295)<<16&4294967295|li>>>16))+((li=hi+(Li^Ji^Xn)+Mi[14]+4259657740&4294967295)<<23&4294967295|li>>>9))+((li=Xn+(hi^Li^Ji)+Mi[1]+2763975236&4294967295)<<4&4294967295|li>>>28))+((li=Ji+(Xn^hi^Li)+Mi[4]+1272893353&4294967295)<<11&4294967295|li>>>21))+((li=Li+(Ji^Xn^hi)+Mi[7]+4139469664&4294967295)<<16&4294967295|li>>>16))+((li=hi+(Li^Ji^Xn)+Mi[10]+3200236656&4294967295)<<23&4294967295|li>>>9))+((li=Xn+(hi^Li^Ji)+Mi[13]+681279174&4294967295)<<4&4294967295|li>>>28))+((li=Ji+(Xn^hi^Li)+Mi[0]+3936430074&4294967295)<<11&4294967295|li>>>21))+((li=Li+(Ji^Xn^hi)+Mi[3]+3572445317&4294967295)<<16&4294967295|li>>>16))+((li=hi+(Li^Ji^Xn)+Mi[6]+76029189&4294967295)<<23&4294967295|li>>>9))+((li=Xn+(hi^Li^Ji)+Mi[9]+3654602809&4294967295)<<4&4294967295|li>>>28))+((li=Ji+(Xn^hi^Li)+Mi[12]+3873151461&4294967295)<<11&4294967295|li>>>21))+((li=Li+(Ji^Xn^hi)+Mi[15]+530742520&4294967295)<<16&4294967295|li>>>16))+((li=hi+(Li^Ji^Xn)+Mi[2]+3299628645&4294967295)<<23&4294967295|li>>>9))+((li=Xn+(Li^(hi|~Ji))+Mi[0]+4096336452&4294967295)<<6&4294967295|li>>>
126))+((li=Ji+(hi^(Xn|~Li))+Mi[7]+1126891415&4294967295)<<10&4294967295|li>>>22))+((li=Li+(Xn^(Ji|~hi))+Mi[14]+2878612391&4294967295)<<15&4294967295|li>>>17))+((li=hi+(Ji^(Li|~Xn))+Mi[5]+4237533241&4294967295)<<21&4294967295|li>>>11))+((li=Xn+(Li^(hi|~Ji))+Mi[12]+1700485571&4294967295)<<6&4294967295|li>>>26))+((li=Ji+(hi^(Xn|~Li))+Mi[3]+2399980690&4294967295)<<10&4294967295|li>>>22))+((li=Li+(Xn^(Ji|~hi))+Mi[10]+4293915773&4294967295)<<15&4294967295|li>>>17))+((li=hi+(Ji^(Li|~Xn))+Mi[1]+2240044497&4294967295)<<21&4294967295|li>>>11))+((li=Xn+(Li^(hi|~Ji))+Mi[8]+1873313359&4294967295)<<6&4294967295|li>>>26))+((li=Ji+(hi^(Xn|~Li))+Mi[15]+4264355552&4294967295)<<10&4294967295|li>>>22))+((li=Li+(Xn^(Ji|~hi))+Mi[6]+2734768916&4294967295)<<15&4294967295|li>>>17))+((li=hi+(Ji^(Li|~Xn))+Mi[13]+1309151649&4294967295)<<21&4294967295|li>>>11))+((Ji=(Xn=hi+((li=Xn+(Li^(hi|~Ji))+Mi[4]+4149444226&4294967295)<<6&4294967295|li>>>26))+((li=Ji+(hi^(Xn|~Li))+Mi[11]+3174756917&4294967295)<<10&4294967295|li>>>22))^((Li=Ji+((li=Li+(Xn^(Ji|~hi))+Mi[2]+718787259&4294967295)<<15&4294967295|li>>>17))|~Xn))+Mi[9]+3951481745&4294967295,Ci.g[0]=Ci.g[0]+Xn&4294967295,Ci.g[1]=Ci.g[1]+(Li+(li<<21&4294967295|li>>>11))&4294967295,Ci.g[2]=Ci.g[2]+Li&4294967295,Ci.g[3]=Ci.g[3]+Ji&4294967295}function U(Ci,Xn){this.h=Xn;for(var hi=[],Mi=!0,Li=Ci.length-1;0<=Li;Li--){var Ji=0|Ci[Li];Mi&&Ji==Xn||(hi[Li]=Ji,Mi=!1)}this.g=hi}(function e(Ci,Xn){function hi(){}hi.prototype=Xn.prototype,Ci.D=Xn.prototype,Ci.prototype=new hi,Ci.prototype.constructor=Ci,Ci.C=function(Mi,Li,Ji){for(var li=Array(arguments.length-2),Lh=2;Lh<arguments.length;Lh++)li[Lh-2]=arguments[Lh];return Xn.prototype[Li].apply(Mi,li)}})(c,function i(){this.blockSize=-1}),c.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0},c.prototype.u=function(Ci,Xn){void 0===Xn&&(Xn=Ci.length);for(var hi=Xn-this.blockSize,Mi=this.B,Li=this.h,Ji=0;Ji<Xn;){if(0==Li)for(;Ji<=hi;)g(this,Ci,Ji),Ji+=this.blockSize;if("string"==typeof Ci){for(;Ji<Xn;)if(Mi[Li++]=Ci.charCodeAt(Ji++),Li==this.blockSize){g(this,Mi),Li=0;break}}else for(;Ji<Xn;)if(Mi[Li++]=Ci[Ji++],Li==this.blockSize){g(this,Mi),Li=0;break}}this.h=Li,this.o+=Xn},c.prototype.v=function(){var Ci=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);Ci[0]=128;for(var Xn=1;Xn<Ci.length-8;++Xn)Ci[Xn]=0;var hi=8*this.o;for(Xn=Ci.length-8;Xn<Ci.length;++Xn)Ci[Xn]=255&hi,hi/=256;for(this.u(Ci),Ci=Array(16),Xn=hi=0;4>Xn;++Xn)for(var Mi=0;32>Mi;Mi+=8)Ci[hi++]=this.g[Xn]>>>Mi&255;return Ci};var se={};function Se(Ci){return-128<=Ci&&128>Ci?function A(Ci,Xn){var hi=se;return Object.prototype.hasOwnProperty.call(hi,Ci)?hi[Ci]:hi[Ci]=Xn(Ci)}(Ci,function(Xn){return new U([0|Xn],0>Xn?-1:0)}):new U([0|Ci],0>Ci?-1:0)}function ut(Ci){if(isNaN(Ci)||!isFinite(Ci))return vn;if(0>Ci)return Sr(ut(-Ci));for(var Xn=[],hi=1,Mi=0;Ci>=hi;Mi++)Xn[Mi]=Ci/hi|0,hi*=4294967296;return new U(Xn,0)}var vn=Se(0),Kn=Se(1),ji=Se(16777216);function hr(Ci){if(0!=Ci.h)return!1;for(var Xn=0;Xn<Ci.g.length;Xn++)if(0!=Ci.g[Xn])return!1;return!0}function kr(Ci){return-1==Ci.h}function Sr(Ci){for(var Xn=Ci.g.length,hi=[],Mi=0;Mi<Xn;Mi++)hi[Mi]=~Ci.g[Mi];return new U(hi,~Ci.h).add(Kn)}function hs(Ci,Xn){return Ci.add(Sr(Xn))}function zs(Ci,Xn){for(;(65535&Ci[Xn])!=Ci[Xn];)Ci[Xn+1]+=Ci[Xn]>>>16,Ci[Xn]&=65535,Xn++}function Vs(Ci,Xn){this.g=Ci,this.h=Xn}function $o(Ci,Xn){if(hr(Xn))throw Error("division by zero");if(hr(Ci))return new Vs(vn,vn);if(kr(Ci))return Xn=$o(Sr(Ci),Xn),new Vs(Sr(Xn.g),Sr(Xn.h));if(kr(Xn))return Xn=$o(Ci,Sr(Xn)),new Vs(Sr(Xn.g),Xn.h);if(30<Ci.g.length){if(kr(Ci)||kr(Xn))throw Error("slowDivide_ only works with positive integers.");for(var hi=Kn,Mi=Xn;0>=Mi.l(Ci);)hi=qa(hi),Mi=qa(Mi);var Li=aa(hi,1),Ji=aa(Mi,1);for(Mi=aa(Mi,2),hi=aa(hi,2);!hr(Mi);){var li=Ji.add(Mi);0>=li.l(Ci)&&(Li=Li.add(hi),Ji=li),Mi=aa(Mi,1),hi=aa(hi,1)}return Xn=hs(Ci,Li.j(Xn)),new Vs(Li,Xn)}for(Li=vn;0<=Ci.l(Xn);){for(hi=Math.max(1,Math.floor(Ci.m()/Xn.m())),Mi=48>=(Mi=Math.ceil(Math.log(hi)/Math.LN2))?1:Math.pow(2,Mi-48),li=(Ji=ut(hi)).j(Xn);kr(li)||0<li.l(Ci);)li=(Ji=ut(hi-=Mi)).j(Xn);
1hr(Ji)&&(Ji=Kn),Li=Li.add(Ji),Ci=hs(Ci,li)}return new Vs(Li,Ci)}function qa(Ci){for(var Xn=Ci.g.length+1,hi=[],Mi=0;Mi<Xn;Mi++)hi[Mi]=Ci.i(Mi)<<1|Ci.i(Mi-1)>>>31;return new U(hi,Ci.h)}function aa(Ci,Xn){var hi=Xn>>5;Xn%=32;for(var Mi=Ci.g.length-hi,Li=[],Ji=0;Ji<Mi;Ji++)Li[Ji]=0<Xn?Ci.i(Ji+hi)>>>Xn|Ci.i(Ji+hi+1)<<32-Xn:Ci.i(Ji+hi);return new U(Li,Ci.h)}(f=U.prototype).m=function(){if(kr(this))return-Sr(this).m();for(var Ci=0,Xn=1,hi=0;hi<this.g.length;hi++){var Mi=this.i(hi);Ci+=(0<=Mi?Mi:4294967296+Mi)*Xn,Xn*=4294967296}return Ci},f.toString=function(Ci){if(2>(Ci=Ci||10)||36<Ci)throw Error("radix out of range: "+Ci);if(hr(this))return"0";if(kr(this))return"-"+Sr(this).toString(Ci);for(var Xn=ut(Math.pow(Ci,6)),hi=this,Mi="";;){var Li=$o(hi,Xn).g,Ji=((0<(hi=hs(hi,Li.j(Xn))).g.length?hi.g[0]:hi.h)>>>0).toString(Ci);if(hr(hi=Li))return Ji+Mi;for(;6>Ji.length;)Ji="0"+Ji;Mi=Ji+Mi}},f.i=function(Ci){return 0>Ci?0:Ci<this.g.length?this.g[Ci]:this.h},f.l=function(Ci){return kr(Ci=hs(this,Ci))?-1:hr(Ci)?0:1},f.abs=function(){return kr(this)?Sr(this):this},f.add=function(Ci){for(var Xn=Math.max(this.g.length,Ci.g.length),hi=[],Mi=0,Li=0;Li<=Xn;Li++){var Ji=Mi+(65535&this.i(Li))+(65535&Ci.i(Li)),li=(Ji>>>16)+(this.i(Li)>>>16)+(Ci.i(Li)>>>16);Mi=li>>>16,hi[Li]=(li&=65535)<<16|(Ji&=65535)}return new U(hi,-2147483648&hi[hi.length-1]?-1:0)},f.j=function(Ci){if(hr(this)||hr(Ci))return vn;if(kr(this))return kr(Ci)?Sr(this).j(Sr(Ci)):Sr(Sr(this).j(Ci));if(kr(Ci))return Sr(this.j(Sr(Ci)));if(0>this.l(ji)&&0>Ci.l(ji))return ut(this.m()*Ci.m());for(var Xn=this.g.length+Ci.g.length,hi=[],Mi=0;Mi<2*Xn;Mi++)hi[Mi]=0;for(Mi=0;Mi<this.g.length;Mi++)for(var Li=0;Li<Ci.g.length;Li++){var Ji=this.i(Mi)>>>16,li=65535&this.i(Mi),Lh=Ci.i(Li)>>>16,X_=65535&Ci.i(Li);hi[2*Mi+2*Li]+=li*X_,zs(hi,2*Mi+2*Li),hi[2*Mi+2*Li+1]+=Ji*X_,zs(hi,2*Mi+2*Li+1),hi[2*Mi+2*Li+1]+=li*Lh,zs(hi,2*Mi+2*Li+1),hi[2*Mi+2*Li+2]+=Ji*Lh,zs(hi,2*Mi+2*Li+2)}for(Mi=0;Mi<Xn;Mi++)hi[Mi]=hi[2*Mi+1]<<16|hi[2*Mi];for(Mi=Xn;Mi<2*Xn;Mi++)hi[Mi]=0;return new U(hi,0)},f.A=function(Ci){return $o(this,Ci).h},f.and=function(Ci){for(var Xn=Math.max(this.g.length,Ci.g.length),hi=[],Mi=0;Mi<Xn;Mi++)hi[Mi]=this.i(Mi)&Ci.i(Mi);return new U(hi,this.h&Ci.h)},f.or=function(Ci){for(var Xn=Math.max(this.g.length,Ci.g.length),hi=[],Mi=0;Mi<Xn;Mi++)hi[Mi]=this.i(Mi)|Ci.i(Mi);return new U(hi,this.h|Ci.h)},f.xor=function(Ci){for(var Xn=Math.max(this.g.length,Ci.g.length),hi=[],Mi=0;Mi<Xn;Mi++)hi[Mi]=this.i(Mi)^Ci.i(Mi);return new U(hi,this.h^Ci.h)},c.prototype.digest=c.prototype.v,c.prototype.reset=c.prototype.s,c.prototype.update=c.prototype.u,H=M.Md5=c,U.prototype.add=U.prototype.add,U.prototype.multiply=U.prototype.j,U.prototype.modulo=U.prototype.A,U.prototype.compare=U.prototype.l,U.prototype.toNumber=U.prototype.m,U.prototype.toString=U.prototype.toString,U.prototype.getBits=U.prototype.i,U.fromNumber=ut,U.fromString=function Qt(Ci,Xn){if(0==Ci.length)throw Error("number format error: empty string");if(2>(Xn=Xn||10)||36<Xn)throw Error("radix out of range: "+Xn);if("-"==Ci.charAt(0))return Sr(Qt(Ci.substring(1),Xn));if(0<=Ci.indexOf("-"))throw Error('number format error: interior "-" character');for(var hi=ut(Math.pow(Xn,8)),Mi=vn,Li=0;Li<Ci.length;Li+=8){var Ji=Math.min(8,Ci.length-Li),li=parseInt(Ci.substring(Li,Li+Ji),Xn);8>Ji?(Ji=ut(Math.pow(Xn,Ji)),Mi=Mi.j(Ji).add(ut(li))):Mi=(Mi=Mi.j(hi)).add(ut(li))}return Mi},k=M.Integer=U}).apply(typeof T<"u"?T:typeof self<"u"?self:typeof window<"u"?window:{});var ye,Mt,Ge,Qe,Xe,ze,Le,ge,B=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x={};(function(){var f,e="function"==typeof Object.defineProperties?Object.defineProperty:function(F,Fe,St){return F==Array.prototype||F==Object.prototype||(F[Fe]=St.value),F},c=function i(F){F=["object"==typeof globalThis&&globalThis,F,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof B&&B];for(var Fe=0;Fe<F.length;++Fe){var St=F[Fe];if(St&&St.Math==Math)return St}throw Error("Cannot find global object")}(this);!function g(F,Fe){if(Fe)e:{var St=c;F=F.split(".");for(var yn=0;yn<F.length-1;yn++){var Wi=F[yn];if(!(Wi in St))break e;St=St[Wi]}(Fe=Fe(yn=St[F=F[F.length-1]]))!=yn&&null!=Fe&&e(St,F,{configurable:!0,writable:!0,value:Fe})}}("Array.prototype.values",function(F){return F||function(){return function A(F,Fe){F instanceof String&&(F+="");var St=0,yn=!1,Wi={next:function(){if(!yn&&St<F.length){var dr=St++;return{value:Fe(dr,F[dr]),done:!1}}return yn=!0,{done:!0,value:void 0}}};return Wi[Symbol.iterator]=function(){return Wi},Wi}(this,function(Fe,St){return St})}});var U=U||{},se=this||self;function Se(F){var Fe=typeof F;return"array"==(Fe="object"!=Fe?Fe:F?Array.isArray(F)?"array":Fe:"null")||"object"==Fe&&"number"==typeof F.length}function ut(F){var Fe=typeof F;return"object"==Fe&&null!=F||"function"==Fe}function Qt(F,Fe,St){return F.call.apply(F.bind,arguments)}function vn(F,Fe,St){if(!F)throw Error();if(2<arguments.length){var yn=Array.prototype.slice.call(arguments,2);return function(){var Wi=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(Wi,yn),F.apply(Fe,Wi)}}return function(){return F.apply(Fe,arguments)}}function Kn(F,Fe,St){return(Kn=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Qt:vn).apply(null,arguments)}
1function ji(F,Fe){var St=Array.prototype.slice.call(arguments,1);return function(){var yn=St.slice();return yn.push.apply(yn,arguments),F.apply(this,yn)}}function hr(F,Fe){function St(){}St.prototype=Fe.prototype,F.aa=Fe.prototype,F.prototype=new St,F.prototype.constructor=F,F.Qb=function(yn,Wi,dr){for(var Zr=Array(arguments.length-2),ic=2;ic<arguments.length;ic++)Zr[ic-2]=arguments[ic];return Fe.prototype[Wi].apply(yn,Zr)}}function kr(F){const Fe=F.length;if(0<Fe){const St=Array(Fe);for(let yn=0;yn<Fe;yn++)St[yn]=F[yn];return St}return[]}function Sr(F,Fe){for(let St=1;St<arguments.length;St++){const yn=arguments[St];if(Se(yn)){const Wi=F.length||0,dr=yn.length||0;F.length=Wi+dr;for(let Zr=0;Zr<dr;Zr++)F[Wi+Zr]=yn[Zr]}else F.push(yn)}}function zs(F){return/^[\s\xa0]*$/.test(F)}function Vs(){var F=se.navigator;return F&&(F=F.userAgent)?F:""}function $o(F){return $o[" "](F),F}$o[" "]=function(){};var qa=!(-1==Vs().indexOf("Gecko")||-1!=Vs().toLowerCase().indexOf("webkit")&&-1==Vs().indexOf("Edge")||-1!=Vs().indexOf("Trident")||-1!=Vs().indexOf("MSIE")||-1!=Vs().indexOf("Edge"));function aa(F,Fe,St){for(const yn in F)Fe.call(St,F[yn],yn,F)}function Xn(F){const Fe={};for(const St in F)Fe[St]=F[St];return Fe}const hi="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Mi(F,Fe){let St,yn;for(let Wi=1;Wi<arguments.length;Wi++){for(St in yn=arguments[Wi],yn)F[St]=yn[St];for(let dr=0;dr<hi.length;dr++)St=hi[dr],Object.prototype.hasOwnProperty.call(yn,St)&&(F[St]=yn[St])}}function Li(F){var Fe=1;F=F.split(":");const St=[];for(;0<Fe&&F.length;)St.push(F.shift()),Fe--;return F.length&&St.push(F.join(":")),St}function Ji(F){se.setTimeout(()=>{throw F},0)}function li(){var F=Z_;let Fe=null;return F.g&&(Fe=F.g,F.g=F.g.next,F.g||(F.h=null),Fe.next=null),Fe}var X_=new class hs{constructor(Fe,St){this.i=Fe,this.j=St,this.h=0,this.g=null}get(){let Fe;return 0<this.h?(this.h--,Fe=this.g,this.g=Fe.next,Fe.next=null):Fe=this.i(),Fe}}(()=>new E0,F=>F.reset());class E0{constructor(){this.next=this.g=this.h=null}set(Fe,St){this.h=Fe,this.g=St,this.next=null}reset(){this.next=this.g=this.h=null}}let pp,J_=!1,Z_=new class Lh{constructor(){this.h=this.g=null}add(Fe,St){const yn=X_.get();yn.set(Fe,St),this.h?this.h.next=yn:this.g=yn,this.h=yn}},eb=()=>{const F=se.Promise.resolve(void 0);pp=()=>{F.then(D0)}};var D0=()=>{for(var F;F=li();){try{F.h.call(F.g)}catch(St){Ji(St)}var Fe=X_;Fe.j(F),100>Fe.h&&(Fe.h++,F.next=Fe.g,Fe.g=F)}J_=!1};function Fm(){this.s=this.s,this.C=this.C}function Pd(F,Fe){this.type=F,this.g=this.target=Fe,this.defaultPrevented=!1}Fm.prototype.s=!1,Fm.prototype.ma=function(){this.s||(this.s=!0,this.N())},Fm.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},Pd.prototype.h=function(){this.defaultPrevented=!0};var tb=function(){if(!se.addEventListener||!Object.defineProperty)return!1;var F=!1,Fe=Object.defineProperty({},"passive",{get:function(){F=!0}});try{const St=()=>{};se.addEventListener("test",St,Fe),se.removeEventListener("test",St,Fe)}catch{}return F}();function q_(F,Fe){if(Pd.call(this,F?F.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,F){var St=this.type=F.type,yn=F.changedTouches&&F.changedTouches.length?F.changedTouches[0]:null;if(this.target=F.target||F.srcElement,this.g=Fe,Fe=F.relatedTarget){if(qa){e:{try{$o(Fe.nodeName);var Wi=!0;break e}catch{}Wi=!1}Wi||(Fe=null)}}else"mouseover"==St?Fe=F.fromElement:"mouseout"==St&&(Fe=F.toElement);this.relatedTarget=Fe,yn?(this.clientX=void 0!==yn.clientX?yn.clientX:yn.pageX,this.clientY=void 0!==yn.clientY?yn.clientY:yn.pageY,this.screenX=yn.screenX||0,this.screenY=yn.screenY||0):(this.clientX=void 0!==F.clientX?F.clientX:F.pageX,this.clientY=void 0!==F.clientY?F.clientY:F.pageY,this.screenX=F.screenX||0,this.screenY=F.screenY||0),this.button=F.button,this.key=F.key||"",this.ctrlKey=F.ctrlKey,this.altKey=F.altKey,this.shiftKey=F.shift
vendor: 4,124 bytes, line 1
1Key,this.metaKey=F.metaKey,this.pointerId=F.pointerId||0,this.pointerType="string"==typeof F.pointerType?F.pointerType:nb[F.pointerType]||"",this.state=F.state,this.i=F,F.defaultPrevented&&q_.aa.h.call(this)}}hr(q_,Pd);var nb={2:"touch",3:"pen",4:"mouse"};q_.prototype.h=function(){q_.aa.h.call(this);var F=this.i;F.preventDefault?F.preventDefault():F.returnValue=!1};var r_="closure_listenable_"+(1e6*Math.random()|0),ib=0;function w0(F,Fe,St,yn,Wi){this.listener=F,this.proxy=null,this.src=Fe,this.type=St,this.capture=!!yn,this.ha=Wi,this.key=++ib,this.da=this.fa=!1}function Zg(F){F.da=!0,F.listener=null,F.proxy=null,F.src=null,F.ha=null}function rb(F){this.src=F,this.g={},this.h=0}function Xv(F,Fe){var St=Fe.type;if(St in F.g){var dr,yn=F.g[St],Wi=Array.prototype.indexOf.call(yn,Fe,void 0);(dr=0<=Wi)&&Array.prototype.splice.call(yn,Wi,1),dr&&(Zg(Fe),0==F.g[St].length&&(delete F.g[St],F.h--))}}function Jv(F,Fe,St,yn){for(var Wi=0;Wi<F.length;++Wi){var dr=F[Wi];if(!dr.da&&dr.listener==Fe&&dr.capture==!!St&&dr.ha==yn)return Wi}return-1}rb.prototype.add=function(F,Fe,St,yn,Wi){var dr=F.toString();(F=this.g[dr])||(F=this.g[dr]=[],this.h++);var Zr=Jv(F,Fe,yn,Wi);return-1<Zr?(Fe=F[Zr],St||(Fe.fa=!1)):((Fe=new w0(Fe,this.src,dr,!!yn,Wi)).fa=St,F.push(Fe)),Fe};var sb="closure_lm_"+(1e6*Math.random()|0),Bm={};function Zv(F,Fe,St,yn,Wi){if(yn&&yn.once)return ob(F,Fe,St,yn,Wi);if(Array.isArray(Fe)){for(var dr=0;dr<Fe.length;dr++)Zv(F,Fe[dr],St,yn,Wi);return null}return St=_p(St),F&&F[r_]?F.K(Fe,St,ut(yn)?!!yn.capture:!!yn,Wi):qv(F,Fe,St,!1,yn,Wi)}function qv(F,Fe,St,yn,Wi,dr){if(!Fe)throw Error("Invalid event type");var Zr=ut(Wi)?!!Wi.capture:!!Wi,ic=ty(F);if(ic||(F[sb]=ic=new rb(F)),(St=ic.add(Fe,St,yn,Zr,dr)).proxy)return St;if(yn=function T0(){const Fe=ey;return function F(St){return Fe.call(F.src,F.listener,St)}}(),St.proxy=yn,yn.src=F,yn.listener=St,F.addEventListener)tb||(Wi=Zr),void 0===Wi&&(Wi=!1),F.addEventListener(Fe.toString(),yn,Wi);else if(F.attachEvent)F.attachEvent(Hc(Fe.toString()),yn);else{if(!F.addListener||!F.removeListener)throw Error("addEventListener and attachEvent are unavailable.");F.addListener(yn)}return St}function ob(F,Fe,St,yn,Wi){if(Array.isArray(Fe)){for(var dr=0;dr<Fe.length;dr++)ob(F,Fe[dr],St,yn,Wi);return null}return St=_p(St),F&&F[r_]?F.L(Fe,St,ut(yn)?!!yn.capture:!!yn,Wi):qv(F,Fe,St,!0,yn,Wi)}function M0(F,Fe,St,yn,Wi){if(Array.isArray(Fe))for(var dr=0;dr<Fe.length;dr++)M0(F,Fe[dr],St,yn,Wi);else yn=ut(yn)?!!yn.capture:!!yn,St=_p(St),F&&F[r_]?(F=F.i,(Fe=String(Fe).toString())in F.g&&-1<(St=Jv(dr=F.g[Fe],St,yn,Wi))&&(Zg(dr[St]),Array.prototype.splice.call(dr,St,1),0==dr.length&&(delete F.g[Fe],F.h--))):F&&(F=ty(F))&&(Fe=F.g[Fe.toString()],F=-1,Fe&&(F=Jv(Fe,St,yn,Wi)),(St=-1<F?Fe[F]:null)&&I0(St))}function I0(F){if("number"!=typeof F&&F&&!F.da){var Fe=F.src;if(Fe&&Fe[r_])Xv(Fe.i,F);else{var St=F.type,yn=F.proxy;Fe.removeEventListener?Fe.removeEventListener(St,yn,F.capture):Fe.detachEvent?Fe.detachEvent(Hc(St),yn):Fe.addListener&&Fe.removeListener&&Fe.removeListener(yn),(St=ty(Fe))?(Xv(St,F),0==St.h&&(St.src=null,Fe[sb]=null)):Zg(F)}}}function Hc(F){return F in Bm?Bm[F]:Bm[F]="on"+F}function ey(F,Fe){if(F.da)F=!0;else{Fe=new q_(Fe,this);var St=F.listener,yn=F.ha||F.src;F.fa&&I0(F),F=St.call(yn,Fe)}return F}function ty(F){return(F=F[sb])instanceof rb?F:null}var Dl="__closure_events_fn_"+(1e9*Math.random()>>>0);function _p(F){return"function"==typeof F?F:(F[Dl]||(F[Dl]=function(Fe){return F.handleEvent(Fe)}),F[Dl])}function rd(){Fm.call(this),this.i=new rb(this),this.M=this,this.F=null}function sd(F,Fe){var St,yn=F.F;if(yn)for(St=[];yn;yn=yn.F)St.push(yn);if(F=F.M,yn=Fe.type||Fe,"string"==typeof Fe)Fe=new Pd(Fe,F);else if(Fe instanceof Pd)Fe.target=Fe.target||F;else{var Wi=Fe;Mi(Fe=new Pd(yn,F),Wi)}if(Wi=!0,St)for(var dr=St.length-1;0<=dr;dr--){var Zr=Fe.g=St[dr];Wi=gp(Zr,yn,!0,Fe)&&Wi}if(Wi=gp(Zr=Fe.g=F,yn,!0,Fe)&&Wi,Wi=gp(Zr,yn,!1,Fe)&&Wi,St)for(dr=0;dr<St.length;dr++)Wi=gp(Zr=Fe.g=St[dr],yn,!1,Fe)&&Wi}function gp(F,Fe,St,yn){if(!(Fe=F.i.g[String(Fe)]))return!0;Fe=Fe.concat();for(var Wi=!0,dr=0;dr<Fe.length;++dr){var Zr=Fe[dr];
1if(Zr&&!Zr.da&&Zr.capture==St){var ic=Zr.listener,Dd=Zr.ha||Zr.src;Zr.fa&&Xv(F.i,Zr),Wi=!1!==ic.call(Dd,yn)&&Wi}}return Wi&&!yn.defaultPrevented}function qg(F,Fe,St){if("function"==typeof F)St&&(F=Kn(F,St));else{if(!F||"function"!=typeof F.handleEvent)throw Error("Invalid listener argument");F=Kn(F.handleEvent,F)}return 2147483647<Number(Fe)?-1:se.setTimeout(F,Fe||0)}function C0(F){F.g=qg(()=>{F.g=null,F.i&&(F.i=!1,C0(F))},F.l);const Fe=F.h;F.h=null,F.m.apply(null,Fe)}hr(rd,Fm),rd.prototype[r_]=!0,rd.prototype.removeEventListener=function(F,Fe,St,yn){M0(this,F,Fe,St,yn)},rd.prototype.N=function(){if(rd.aa.N.call(this),this.i){var Fe,F=this.i;for(Fe in F.g){for(var St=F.g[Fe],yn=0;yn<St.length;yn++)Zg(St[yn]);delete F.g[Fe],F.h--}}this.F=null},rd.prototype.K=function(F,Fe,St,yn){return this.i.add(String(F),Fe,!1,St,yn)},rd.prototype.L=function(F,Fe,St,yn){return this.i.add(String(F),Fe,!0,St,yn)};class TD extends Fm{constructor(Fe,St){super(),this.m=Fe,this.l=St,this.h=null,this.i=!1,this.g=null}j(Fe){this.h=arguments,this.g?this.i=!0:C0(this)}N(){super.N(),this.g&&(se.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function kf(F){Fm.call(this),this.h=F,this.g={}}hr(kf,Fm);var A0=[];function s_(F){aa(F.g,function(Fe,St){this.g.hasOwnProperty(St)&&I0(Fe)},F),F.g={}}kf.prototype.N=function(){kf.aa.N.call(this),s_(this)},kf.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var ab=se.JSON.stringify,k0=se.JSON.parse,ev=class{stringify(F){return se.JSON.stringify(F,void 0)}parse(F){return se.JSON.parse(F,void 0)}};function eg(){}function cb(){}eg.prototype.h=null;var Vm={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function bu(){Pd.call(this,"d")}function db(){Pd.call(this,"c")}hr(bu,Pd),hr(db,Pd);var Ic={},S0=null;function ny(){return S0=S0||new rd}function iy(F){Pd.call(this,Ic.La,F)}function tg(F){const Fe=ny();sd(Fe,new iy(Fe))}function ub(F,Fe){Pd.call(this,Ic.STAT_EVENT,F),this.stat=Fe}function ju(F){const Fe=ny();sd(Fe,new ub(Fe,F))}function MD(F,Fe){Pd.call(this,Ic.Ma,F),this.size=Fe}function ng(F,Fe){if("function"!=typeof F)throw Error("Fn must not be null and must be a function");return se.setTimeout(function(){F()},Fe)}function ry(){this.g=!0}function ig(F,Fe,St,yn){F.info(function(){return"XMLHTTP TEXT ("+Fe+"): "+function rg(F,Fe){if(!F.g)return Fe;if(!Fe)return null;try{var St=JSON.parse(Fe);if(St)for(F=0;F<St.length;F++)if(Array.isArray(St[F])){var yn=St[F];if(!(2>yn.length)){var Wi=yn[1];if(Array.isArray(Wi)&&!(1>Wi.length)){var dr=Wi[0];if("noop"!=dr&&"stop"!=dr&&"close"!=dr)for(var Zr=1;Zr<Wi.length;Zr++)Wi[Zr]=""}}}return ab(St)}catch{return Fe}}(F,St)+(yn?" "+yn:"")})}Ic.La="serverreachability",hr(iy,Pd),Ic.STAT_EVENT="statevent",hr(ub,Pd),Ic.Ma="timingevent",hr(MD,Pd),ry.prototype.xa=function(){this.g=!1},ry.prototype.info=function(){};var fb,o_={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},x0={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"};function sy(){}function Sf(F,Fe,St,yn){this.j=F,this.i=Fe,this.l=St,this.R=yn||1,this.U=new kf(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new mb}function mb(){this.i=null,this.g="",this.h=!1}hr(sy,eg),sy.prototype.g=function(){return new XMLHttpRequest},sy.prototype.i=function(){return{}},fb=new sy;var R0={},pb={};function P0(F,Fe,St){F.L=1,F.v=dy(ef(Fe)),F.m=St,F.P=!0,O0(F,null)}function O0(F,Fe){F.F=Date.now(),xf(F),F.A=ef(F.v);var St=F.A,yn=F.R;Array.isArray(yn)||(yn=[String(yn)]),z0(St.i,"t",yn),F.C=0,St=F.j.J,F.h=new mb,F.g=my(F.j,St?Fe:null,!F.m),0<F.O&&(F.M=new TD(Kn(F.Y,F,F.g),F.O)),Fe=F.U,St=F.g,yn=F.ca;var Wi="readystatechange";Array.isArray(Wi)||(Wi&&(A0[0]=Wi.toString()),Wi=A0);for(var dr=0;dr<Wi.length;dr++){var Zr=Zv(St,Wi[dr],yn||Fe.handleEvent,!1,Fe.h||Fe);if(!Zr)break;Fe.g[Zr.key]=Zr}Fe=F.H?Xn(F.H):{},F.m?(F.u||(F.u="POST"),Fe["Content-Type"]="application/x-www-form-urlencoded",F.g.ea(F.A,F.u,F.m,Fe)):(F.u="GET",F.g.ea(F.A,F.u,null,Fe)),tg(),function sT(F,Fe,St,yn,Wi,dr){F.info(function(){if(F.g)if(dr)for(var Zr="",ic=dr.split("&"),Dd=0;Dd<ic.length;Dd++){var $a=ic[Dd].split("=");if(1<$a.length){var ou=$a[0];$a=$a[1];var au=ou.split("_");Zr=2<=au.length&&"type"==au[1]?Zr+(ou+"=")+$a+"&":Zr+(ou+"=redacted&")}}else Zr=null;else Zr=dr;return"XMLHTTP REQ ("+yn+") [attempt "+Wi+"]: "+Fe+"\n"+St+"\n"+Zr})}(F.i,F.u,F.A,F.l,F.R,F.m)}function oy(F){return!!F.g&&"GET"==F.u&&2!=F.L&&F.j.Ca}function CD(F,Fe){var St=F.C,yn=Fe.indexOf("\n",St);return-1==yn?pb:(St=Number(Fe.substring(St,yn)),isNaN(St)?R0:(yn+=1)+St>Fe.length?pb:(Fe=Fe.slice(yn,yn+St),F.C=yn+St,Fe))}function xf(F){F.S=Date.now()+F.I,L0(F,F.I)}function L0(F,Fe){if(null!=F.B)throw Error("WatchDog timer not null");F.B=ng(Kn(F.ba,F),Fe)}function ay(F){F.B&&(se.clearTimeout(F.B),F.B=null)}function tv(F){0==F.j.G||F.J||Tb(F.j,F)}function vp(F){ay(F);var Fe=F.M;Fe&&"function"==typeof Fe.ma&&Fe.ma(),F.M=null,s_(F.U),F.g&&(Fe=F.g,F.g=null,Fe.abort(),Fe.ma())}function ly(F,Fe){try{var St=F.j;if(0!=St.G&&(St.g==F||og(St.h,F)))if(!F.K&&og(St.h,F)&&3==St.G){try{var yn=St.Da.g.parse(Fe)}catch{yn=null}if(Array.isArray(yn)&&3==yn.length){var Wi=yn;if(0==Wi[0]){e:if(!St.u){if(St.g){if(!(St.g.F+3e3<F.F))break e;cv(St),fy(St)}iE(St),ju(18)}}else St.za=Wi[1],0<St.za-St.T&&37500>Wi[2]&&St.F&&0==St.v&&!St.C&&(St.C=ng(Kn(St.Za,St),6e3));if(1>=N0(St.h)&&St.ca){try{St.ca()}catch{}St.ca=void 0}}else l_(St,11)}else if((F.K||St.g==F)&&cv(St),!zs(Fe))for(Wi=St.Da.g.parse(Fe),Fe=0;Fe<Wi.length;Fe++){let $a=Wi[Fe];if(St.T=$a[0],$a=$a[1],2==St.G)if("c"==$a[0]){St.K=$a[1],St.ia=$a[2];const ou=$a[3];null!=ou&&(St.la=ou,St.j.info("VER="+St.la));const au=$a[4];null!=au&&(St.Aa=au,St.j.info("SVER="+St.Aa));const d_=$a[5];null!=d_&&"number"==typeof d_&&0<d_&&(St.L=yn=1.5*d_,St.j.info("backChannelRequestTimeoutMs_="+yn)),yn=St;const Hu=F.g;if(Hu){const hg=Hu.g?Hu.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(hg){var dr=yn.h;dr.g||-1==hg.indexOf("spdy")&&-1==hg.indexOf("quic")&&-1==hg.indexOf("h2")||(dr.j=dr.l,dr.g=new Set,dr.h&&(F0(dr,dr.h),dr.h=null))}if(yn.D){const py=Hu.g?Hu.g.getResponseHeader("X-HTTP-Session-Id"):null;py&&(yn.ya=py,nc(yn.I,yn.D,py))}}
1St.G=3,St.l&&St.l.ua(),St.ba&&(St.R=Date.now()-F.F,St.j.info("Handshake RTT: "+St.R+"ms"));var Zr=F;if((yn=St).qa=rE(yn,yn.J?yn.ia:null,yn.W),Zr.K){AD(yn.h,Zr);var ic=Zr,Dd=yn.L;Dd&&(ic.I=Dd),ic.B&&(ay(ic),xf(ic)),yn.g=Zr}else Db(yn);0<St.i.length&&lv(St)}else"stop"!=$a[0]&&"close"!=$a[0]||l_(St,7);else 3==St.G&&("stop"==$a[0]||"close"==$a[0]?"stop"==$a[0]?l_(St,7):eE(St):"noop"!=$a[0]&&St.l&&St.l.ta($a),St.v=0)}tg()}catch{}}Sf.prototype.ca=function(F){F=F.target;const Fe=this.M;Fe&&3==dm(F)?Fe.j():this.Y(F)},Sf.prototype.Y=function(F){try{if(F==this.g)e:{const au=dm(this.g);var Fe=this.g.Ba();if(this.g.Z(),!(3>au)&&(3!=au||this.g&&(this.h.h||this.g.oa()||bb(this.g)))){this.J||4!=au||7==Fe||tg(),ay(this);var St=this.g.Z();this.X=St;t:if(oy(this)){var yn=bb(this.g);F="";var Wi=yn.length,dr=4==dm(this.g);if(!this.h.i){if(typeof TextDecoder>"u"){vp(this),tv(this);var Zr="";break t}this.h.i=new se.TextDecoder}for(Fe=0;Fe<Wi;Fe++)this.h.h=!0,F+=this.h.i.decode(yn[Fe],{stream:!(dr&&Fe==Wi-1)});yn.length=0,this.h.g+=F,this.C=0,Zr=this.h.g}else Zr=this.g.oa();if(this.o=200==St,function hb(F,Fe,St,yn,Wi,dr,Zr){F.info(function(){return"XMLHTTP RESP ("+yn+") [ attempt "+Wi+"]: "+Fe+"\n"+St+"\n"+dr+" "+Zr})}(this.i,this.u,this.A,this.l,this.R,au,St),this.o){if(this.T&&!this.K){t:{if(this.g){var ic,Dd=this.g;if((ic=Dd.g?Dd.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!zs(ic)){var $a=ic;break t}}$a=null}if(!(St=$a)){this.o=!1,this.s=3,ju(12),vp(this),tv(this);break e}ig(this.i,this.l,St,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,ly(this,St)}if(this.P){let Hu;for(St=!0;!this.J&&this.C<Zr.length;){if(Hu=CD(this,Zr),Hu==pb){4==au&&(this.s=4,ju(14),St=!1),ig(this.i,this.l,null,"[Incomplete Response]");break}if(Hu==R0){this.s=4,ju(15),ig(this.i,this.l,Zr,"[Invalid Chunk]"),St=!1;break}ig(this.i,this.l,Hu,null),ly(this,Hu)}if(oy(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=au||0!=Zr.length||this.h.h||(this.s=1,ju(16),St=!1),this.o=this.o&&St,St){if(0<Zr.length&&!this.W){this.W=!0;var ou=this.j;ou.g==this&&ou.ba&&!ou.M&&(ou.j.info("Great, no buffering proxy detected. Bytes received: "+Zr.length),wb(ou),ou.M=!0,ju(11))}}else ig(this.i,this.l,Zr,"[Invalid Chunked Response]"),vp(this),tv(this)}else ig(this.i,this.l,Zr,null),ly(this,Zr);4==au&&vp(this),this.o&&!this.J&&(4==au?Tb(this.j,this):(this.o=!1,xf(this)))}else(function q0(F){const Fe={};F=(F.g&&2<=dm(F)&&F.g.getAllResponseHeaders()||"").split("\r\n");for(let yn=0;yn<F.length;yn++){if(zs(F[yn]))continue;var St=Li(F[yn]);const Wi=St[0];if("string"!=typeof(St=St[1]))continue;St=St.trim();const dr=Fe[Wi]||[];Fe[Wi]=dr,dr.push(St)}!function Ci(F,Fe){for(const St in F)Fe.call(void 0,F[St],St,F)}(Fe,function(yn){return yn.join(", ")})})(this.g),400==St&&0<Zr.indexOf("Unknown SID")?(this.s=3,ju(12)):(this.s=0,ju(13)),vp(this),tv(this)}}}catch{}},Sf.prototype.cancel=function(){this.J=!0,vp(this)},Sf.prototype.ba=function(){this.B=null;const F=Date.now();0<=F-this.S?(function ID(F,Fe){F.info(function(){return"TIMEOUT: "+Fe})}(this.i,this.A),2!=this.L&&(tg(),ju(17)),vp(this),this.s=2,tv(this)):L0(this,this.S-F)};var sg=class{constructor(F,Fe){this.g=F,this.map=Fe}};function _b(F){this.l=F||10,F=se.PerformanceNavigationTiming?0<(F=se.performance.getEntriesByType("navigation")).length&&("hq"==F[0].nextHopProtocol||"h2"==F[0].nextHopProtocol):!!(se.chrome&&se.chrome.loadTimes&&se.chrome.loadTimes()&&se.chrome.loadTimes().wasFetchedViaSpdy),this.j=F?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function cy(F){return!!F.h||!!F.g&&F.g.size>=F.j}function N0(F){return F.h?1:F.g?F.g.size:0}function og(F,Fe){return F.h?F.h==Fe:!!F.g&&F.g.has(Fe)}function F0(F,Fe){F.g?F.g.add(Fe):F.h=Fe}function AD(F,Fe){F.h&&F.h==Fe?F.h=null:F.g&&F.g.has(Fe)&&F.g.delete(Fe)}function B0(F){if(null!=F.h)return F.i.concat(F.h.D);if(null!=F.g&&0!==F.g.size){let Fe=F.i;for(const St of F.g.values())Fe=Fe.concat(St.D);return Fe}return kr(F.i)}function cm(F,Fe){if(F.forEach&&"function"==typeof F.forEach)F.forEac
1h(Fe,void 0);else if(Se(F)||"string"==typeof F)Array.prototype.forEach.call(F,Fe,void 0);else for(var St=function kD(F){if(F.na&&"function"==typeof F.na)return F.na();if(!F.V||"function"!=typeof F.V){if(typeof Map<"u"&&F instanceof Map)return Array.from(F.keys());if(!(typeof Set<"u"&&F instanceof Set)){if(Se(F)||"string"==typeof F){var Fe=[];F=F.length;for(var St=0;St<F;St++)Fe.push(St);return Fe}Fe=[],St=0;for(const yn in F)Fe[St++]=yn;return Fe}}}(F),yn=function V0(F){if(F.V&&"function"==typeof F.V)return F.V();if(typeof Map<"u"&&F instanceof Map||typeof Set<"u"&&F instanceof Set)return Array.from(F.values());if("string"==typeof F)return F.split("");if(Se(F)){for(var Fe=[],St=F.length,yn=0;yn<St;yn++)Fe.push(F[yn]);return Fe}for(yn in Fe=[],St=0,F)Fe[St++]=F[yn];return Fe}(F),Wi=yn.length,dr=0;dr<Wi;dr++)Fe.call(void 0,yn[dr],St&&St[dr],F)}_b.prototype.cancel=function(){if(this.i=B0(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(const F of this.g.values())F.cancel();this.g.clear()}};var yp=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function a_(F){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,F instanceof a_){this.h=F.h,nv(this,F.j),this.o=F.o,this.g=F.g,iv(this,F.s),this.l=F.l;var Fe=F.i,St=new sv;St.i=Fe.i,Fe.g&&(St.g=new Map(Fe.g),St.h=Fe.h),gb(this,St),this.m=F.m}else F&&(Fe=String(F).match(yp))?(this.h=!1,nv(this,Fe[1]||"",!0),this.o=bp(Fe[2]||""),this.g=bp(Fe[3]||"",!0),iv(this,Fe[4]),this.l=bp(Fe[5]||"",!0),gb(this,Fe[6]||"",!0),this.m=bp(Fe[7]||"")):(this.h=!1,this.i=new sv(null,this.h))}function ef(F){return new a_(F)}function nv(F,Fe,St){F.j=St?bp(Fe,!0):Fe,F.j&&(F.j=F.j.replace(/:$/,""))}function iv(F,Fe){if(Fe){if(Fe=Number(Fe),isNaN(Fe)||0>Fe)throw Error("Bad port number "+Fe);F.s=Fe}else F.s=null}function gb(F,Fe,St){Fe instanceof sv?(F.i=Fe,function PD(F,Fe){Fe&&!F.j&&(Ep(F),F.i=null,F.g.forEach(function(St,yn){var Wi=yn.toLowerCase();yn!=Wi&&(H0(this,yn),z0(this,Wi,St))},F)),F.j=Fe}(F.i,F.h)):(St||(Fe=rv(Fe,W0)),F.i=new sv(Fe,F.h))}function nc(F,Fe,St){F.i.set(Fe,St)}function dy(F){return nc(F,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),F}function bp(F,Fe){return F?Fe?decodeURI(F.replace(/%25/g,"%2525")):decodeURIComponent(F):""}function rv(F,Fe,St){return"string"==typeof F?(F=encodeURI(F).replace(Fe,SD),St&&(F=F.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),F):null}function SD(F){return"%"+((F=F.charCodeAt(0))>>4&15).toString(16)+(15&F).toString(16)}a_.prototype.toString=function(){var F=[],Fe=this.j;Fe&&F.push(rv(Fe,j0,!0),":");var St=this.g;return(St||"file"==Fe)&&(F.push("//"),(Fe=this.o)&&F.push(rv(Fe,j0,!0),"@"),F.push(encodeURIComponent(String(St)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(St=this.s)&&F.push(":",String(St))),(St=this.l)&&(this.g&&"/"!=St.charAt(0)&&F.push("/"),F.push(rv(St,"/"==St.charAt(0)?xD:uy,!0))),(St=this.i.toString())&&F.push("?",St),(St=this.m)&&F.push("#",rv(St,RD)),F.join("")};var j0=/[#\/\?@]/g,uy=/[#\?:]/g,xD=/[#\?]/g,W0=/[#\?@]/g,RD=/#/g;function sv(F,Fe){this.h=this.g=null,this.i=F||null,this.j=!!Fe}function Ep(F){F.g||(F.g=new Map,F.h=0,F.i&&function U0(F,Fe){if(F){F=F.split("&");for(var St=0;St<F.length;St++){var yn=F[St].indexOf("="),Wi=null;if(0<=yn){var dr=F[St].substring(0,yn);Wi=F[St].substring(yn+1)}else dr=F[St];Fe(dr,Wi?decodeURIComponent(Wi.replace(/\+/g," ")):"")}}}(F.i,function(Fe,St){F.add(decodeURIComponent(Fe.replace(/\+/g," ")),St)}))}function H0(F,Fe){Ep(F),Fe=ag(F,Fe),F.g.has(Fe)&&(F.i=null,F.h-=F.g.get(Fe).length,F.g.delete(Fe))}function Y0(F,Fe){return Ep(F),Fe=ag(F,Fe),F.g.has(Fe)}function z0(F,Fe,St){H0(F,Fe),0<St.length&&(F.i=null,F.g.set(ag(F,Fe),kr(St)),F.h+=St.length)}function ag(F,Fe){return Fe=String(Fe),F.j&&(Fe=Fe.toLowerCase()),Fe}function Dp(F,Fe,St,yn,Wi){try{Wi&&(Wi.onload=null,Wi.onerror=null,Wi.onabort=null,Wi.ontimeout=null),yn(St)}catch{}}function ND(){this.g=new ev}function FD(F,Fe,St){const yn=St||"";try{cm(F,function(Wi,dr){let Zr=Wi;ut(Wi)&&(Zr=ab(Wi)),Fe.push(yn+dr+"="+encodeURIComponent(Zr))})}catch(Wi){throw Fe.push(yn+"type="+encodeURIComponent("_badmap")),Wi}}function lg(F){this.l=F.Ub||null,this.j=F.eb||!1}function cg(F,Fe){rd.call(this),this.D=F,this.o=Fe,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}function $0(F){F.j.read().then(F.Pa.bind(F)).catch(F.ga.bind(F))}function ov(F){F.readyState=4,F.l=null,F.j=null,F.v=null,av(F)}function av(F){F.onreadystatechange&&F.onreadystatechange.call(F)}function G0(F){let Fe="";return aa(F,function(St,yn){Fe+=yn,Fe+=":",Fe+=St,Fe+="\r\n"}),Fe}function vb(F,Fe,St){e:{for(yn in St){var yn=!1;break e}yn=!0}yn||(St=G0(St),"string"==typeof F?null!=St&&encodeURIComponent(String(St)):nc(F,Fe,St))}function Yc(F){rd.call(this),this.headers=new Map,this.o=F||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}(f=sv.prototype).add=function(F,Fe){Ep(this),this.i=null,F=ag(this,F);var St=this.g.get(F);return St||this.g.set(F,St=[]),St.push(Fe),this.h+=1,this},f.forEach=function(F,Fe){Ep(this),this.g.forEach(function(St,yn){St.forEach(function(Wi){F.call(Fe,Wi,yn,this)},this)},this)},f.na=function(){Ep(this);const F=Array.from(this.g.values()),Fe=Array.from(this.g.keys()),St=[];for(let yn=0;yn<Fe.length;yn++){const Wi=F[yn];for(let dr=0;dr<Wi.length;dr++)St.push(Fe[yn])}return St},f.V=function(F){Ep(this);let Fe=[];if("string"==typeof F)Y0(this,F)&&(Fe=Fe.concat(this.g.get(ag(this,F))));else{F=Array.from(this.g.values());for(let St=0;St<F.length;St++)Fe=Fe.concat(F[St])}return Fe},f.set=function(F,Fe){return Ep(this),this.i=null,Y0(this,F=ag(this,F))&&(this.h-=this.g.get(F).length),this.g.set(F,[Fe]),this.h+=1,this},f.get=function(F,Fe){return F&&0<(F=this.V(F)).length?String(F[0]):Fe},f.toString=function(){if(this.i)return this.i;if(!this.g)return"";const F=[],Fe=Array.from(this.g.keys());for(var St=0;St<Fe.length;St++){var yn=Fe[St];const dr=encodeURIComponent(String(yn)),Zr=this.V(yn);for(yn=0;yn<Zr.length;yn++){var Wi=dr;""!==Zr[yn]&&(Wi+="="+encodeURIComponent(String(Zr[yn]))),F.push(Wi)}}return this.i=F.join("&")},hr(lg,eg),lg.prototype.g=function(){return new cg(this.l,this.j)},lg.prototype.i=function(F){return function(){return F}}({}),hr(cg,rd),(f=cg.prototype).open=function(F,Fe){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.B=F,this.A=Fe,this.readyState=1,av(this)},f.send=function(F){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;const Fe={headers:this.u,method:this.B,credentials:this.m,cache:void 0};
1F&&(Fe.body=F),(this.D||se).fetch(new Request(this.A,Fe)).then(this.Sa.bind(this),this.ga.bind(this))},f.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,ov(this)),this.readyState=0},f.Sa=function(F){if(this.g&&(this.l=F,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=F.headers,this.readyState=2,av(this)),this.g&&(this.readyState=3,av(this),this.g)))if("arraybuffer"===this.responseType)F.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(typeof se.ReadableStream<"u"&&"body"in F){if(this.j=F.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;$0(this)}else F.text().then(this.Ra.bind(this),this.ga.bind(this))},f.Pa=function(F){if(this.g){if(this.o&&F.value)this.response.push(F.value);else if(!this.o){var Fe=F.value?F.value:new Uint8Array(0);(Fe=this.v.decode(Fe,{stream:!F.done}))&&(this.response=this.responseText+=Fe)}F.done?ov(this):av(this),3==this.readyState&&$0(this)}},f.Ra=function(F){this.g&&(this.response=this.responseText=F,ov(this))},f.Qa=function(F){this.g&&(this.response=F,ov(this))},f.ga=function(){this.g&&ov(this)},f.setRequestHeader=function(F,Fe){this.u.append(F,Fe)},f.getResponseHeader=function(F){return this.h&&this.h.get(F.toLowerCase())||""},f.getAllResponseHeaders=function(){if(!this.h)return"";const F=[],Fe=this.h.entries();for(var St=Fe.next();!St.done;)F.push((St=St.value)[0]+": "+St[1]),St=Fe.next();return F.join("\r\n")},Object.defineProperty(cg.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(F){this.m=F?"include":"same-origin"}}),hr(Yc,rd);var K0=/^https?$/i,Q0=["POST","PUT"];function X0(F,Fe){F.h=!1,F.g&&(F.j=!0,F.g.abort(),F.j=!1),F.l=Fe,F.m=5,J0(F),hy(F)}function J0(F){F.A||(F.A=!0,sd(F,"complete"),sd(F,"error"))}function yb(F){if(F.h&&typeof U<"u"&&(!F.v[1]||4!=dm(F)||2!=F.Z()))if(F.u&&4==dm(F))qg(F.Ea,0,F);else if(sd(F,"readystatechange"),4==dm(F)){F.h=!1;try{const Zr=F.Z();e:switch(Zr){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var Fe=!0;break e;default:Fe=!1}var St;if(!(St=Fe)){var yn;if(yn=0===Zr){var Wi=String(F.D).match(yp)[1]||null;!Wi&&se.self&&se.self.location&&(Wi=se.self.location.protocol.slice(0,-1)),yn=!K0.test(Wi?Wi.toLowerCase():"")}St=yn}if(St)sd(F,"complete"),sd(F,"success");else{F.m=6;try{var dr=2<dm(F)?F.g.statusText:""}catch{dr=""}F.l=dr+" ["+F.Z()+"]",J0(F)}}finally{hy(F)}}}function hy(F,Fe){if(F.g){Z0(F);const St=F.g,yn=F.v[0]?()=>{}:null;F.g=null,F.v=null,Fe||sd(F,"ready");try{St.onreadystatechange=yn}catch{}}}function Z0(F){F.I&&(se.clearTimeout(F.I),F.I=null)}function dm(F){return F.g?F.g.readyState:0}function bb(F){try{if(!F.g)return null;if("response"in F.g)return F.g.response;switch(F.H){case"":case"text":return F.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in F.g)return F.g.mozResponseArrayBuffer}return null}catch{return null}}function dg(F,Fe,St){return St&&St.internalChannelParams&&St.internalChannelParams[F]||Fe}function Wu(F){this.Aa=0,this.i=[],this.j=new ry,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=dg("failFast",!1,F),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=dg("baseRetryDelayMs",5e3,F),this.cb=dg("retryDelaySeedMs",1e4,F),this.Wa=dg("forwardChannelMaxRetries",2,F),this.wa=dg("forwardChannelRequestTimeoutMs",2e4,F),this.pa=F&&F.xmlHttpFactory||void 0,this.Xa=F&&F.Tb||void 0,this.Ca=F&&F.useFetchStreams||!1,this.L=void 0,this.J=F&&F.supportsCrossDomainXhr||!1,this.K="",this.h=new _b(F&&F.concurrentRequestLimit),this.Da=new ND,this.P=F&&F.fastHandshake||!1,this.O=F&&F.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=F&&F.Rb||!1,F&&F.xa&&this.j.xa(),F&&F.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&F&&F.detectBufferingProxy||!1,this.ja=void 0,F&&F.longPollingTimeout&&0<F.longPollingTimeout&&(this.ja=F.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}function eE(F){if(Eb(F),3==F.G){var Fe=F.U++,St=ef(F.I);if(nc(St,"SID",F.K),nc(St,"RID",Fe),nc(St,"TYPE","terminate"),ug(F,St),(Fe=new Sf(F,F.j,Fe)).L=2,Fe.v=dy(ef(St)),St=!1,se.n
1avigator&&se.navigator.sendBeacon)try{St=se.navigator.sendBeacon(Fe.v.toString(),"")}catch{}!St&&se.Image&&((new Image).src=Fe.v,St=!0),St||(Fe.g=my(Fe.j,null),Fe.g.ea(Fe.v)),Fe.F=Date.now(),xf(Fe)}Ib(F)}function fy(F){F.g&&(wb(F),F.g.cancel(),F.g=null)}function Eb(F){fy(F),F.u&&(se.clearTimeout(F.u),F.u=null),cv(F),F.h.cancel(),F.s&&("number"==typeof F.s&&se.clearTimeout(F.s),F.s=null)}function lv(F){if(!cy(F.h)&&!F.s){F.s=!0;var Fe=F.Ga;pp||eb(),J_||(pp(),J_=!0),Z_.add(Fe,F),F.B=0}}function tE(F,Fe){var St;St=Fe?Fe.l:F.U++;const yn=ef(F.I);nc(yn,"SID",F.K),nc(yn,"RID",St),nc(yn,"AID",F.T),ug(F,yn),F.m&&F.o&&vb(yn,F.m,F.o),St=new Sf(F,F.j,St,F.B+1),null===F.m&&(St.H=F.o),Fe&&(F.i=Fe.D.concat(F.i)),Fe=nE(F,St,1e3),St.I=Math.round(.5*F.wa)+Math.round(.5*F.wa*Math.random()),F0(F.h,St),P0(St,yn,Fe)}function ug(F,Fe){F.H&&aa(F.H,function(St,yn){nc(Fe,yn,St)}),F.l&&cm({},function(St,yn){nc(Fe,yn,St)})}function nE(F,Fe,St){St=Math.min(F.i.length,St);var yn=F.l?Kn(F.l.Na,F.l,F):null;e:{var Wi=F.i;let dr=-1;for(;;){const Zr=["count="+St];-1==dr?0<St?(dr=Wi[0].g,Zr.push("ofs="+dr)):dr=0:Zr.push("ofs="+dr);let ic=!0;for(let Dd=0;Dd<St;Dd++){let $a=Wi[Dd].g;const ou=Wi[Dd].map;if($a-=dr,0>$a)dr=Math.max(0,Wi[Dd].g-100),ic=!1;else try{FD(ou,Zr,"req"+$a+"_")}catch{yn&&yn(ou)}}if(ic){yn=Zr.join("&");break e}}}return F=F.i.splice(0,St),Fe.D=F,yn}function Db(F){if(!F.g&&!F.u){F.Y=1;var Fe=F.Fa;pp||eb(),J_||(pp(),J_=!0),Z_.add(Fe,F),F.v=0}}function iE(F){return!(F.g||F.u||3<=F.v||(F.Y++,F.u=ng(Kn(F.Fa,F),Mb(F,F.v)),F.v++,0))}function wb(F){null!=F.A&&(se.clearTimeout(F.A),F.A=null)}function VD(F){F.g=new Sf(F,F.j,"rpc",F.Y),null===F.m&&(F.g.H=F.o),F.g.O=0;var Fe=ef(F.qa);nc(Fe,"RID","rpc"),nc(Fe,"SID",F.K),nc(Fe,"AID",F.T),nc(Fe,"CI",F.F?"0":"1"),!F.F&&F.ja&&nc(Fe,"TO",F.ja),nc(Fe,"TYPE","xmlhttp"),ug(F,Fe),F.m&&F.o&&vb(Fe,F.m,F.o),F.L&&(F.g.I=F.L);var St=F.g;F=F.ia,St.L=1,St.v=dy(ef(Fe)),St.m=null,St.P=!0,O0(St,F)}function cv(F){null!=F.C&&(se.clearTimeout(F.C),F.C=null)}function Tb(F,Fe){var St=null;if(F.g==Fe){cv(F),wb(F),F.g=null;var yn=2}else{if(!og(F.h,Fe))return;St=Fe.D,AD(F.h,Fe),yn=1}if(0!=F.G)if(Fe.o)if(1==yn){St=Fe.m?Fe.m.length:0,Fe=Date.now()-Fe.F;var Wi=F.B;sd(yn=ny(),new MD(yn,St)),lv(F)}else Db(F);else if(3==(Wi=Fe.s)||0==Wi&&0<Fe.X||!(1==yn&&function BD(F,Fe){return!(N0(F.h)>=F.h.j-(F.s?1:0)||(F.s?(F.i=Fe.D.concat(F.i),0):1==F.G||2==F.G||F.B>=(F.Va?0:F.Wa)||(F.s=ng(Kn(F.Ga,F,Fe),Mb(F,F.B)),F.B++,0)))}(F,Fe)||2==yn&&iE(F)))switch(St&&0<St.length&&(Fe=F.h,Fe.i=Fe.i.concat(St)),Wi){case 1:l_(F,5);break;case 4:l_(F,10);break;case 3:l_(F,6);break;default:l_(F,2)}}function Mb(F,Fe){let St=F.Ta+Math.floor(Math.random()*F.cb);return F.isActive()||(St*=2),St*Fe}function l_(F,Fe){if(F.j.info("Error code "+Fe),2==Fe){var St=Kn(F.fb,F),yn=F.Xa;const Wi=!yn;yn=new a_(yn||"//www.google.com/images/cleardot.gif"),se.location&&"http"==se.location.protocol||nv(yn,"https"),dy(yn),Wi?function OD(F,Fe){const St=new ry;if(se.Image){const yn=new Image;yn.onload=ji(Dp,St,"TestLoadImage: loaded",!0,Fe,yn),yn.onerror=ji(Dp,St,"TestLoadImage: error",!1,Fe,yn),yn.onabort=ji(Dp,St,"TestLoadImage: abort",!1,Fe,yn),yn.ontimeout=ji(Dp,St,"TestLoadImage: timeout",!1,Fe,yn),se.setTimeout(function(){yn.ontimeout&&yn.ontimeout()},1e4),yn.src=F}else Fe(!1)}(yn.toString(),St):function LD(F,Fe){new ry;const yn=new AbortController,Wi=setTimeout(()=>{yn.abort(),Dp(0,0,!1,Fe)},1e4);fetch(F,{signal:yn.signal}).then(dr=>{clearTimeout(Wi),Dp(0,0,!!dr.ok,Fe)}).catch(()=>{clearTimeout(Wi),Dp(0,0,!1,Fe)})}(yn.toString(),St)}else ju(2);F.G=0,F.l&&F.l.sa(Fe),Ib(F),Eb(F)}function Ib(F){if(F.G=0,F.ka=[],F.l){const Fe=B0(F.h);(0!=Fe.length||0!=F.i.length)&&(Sr(F.ka,Fe),Sr(F.ka,F.i),F.h.i.length=0,kr(F.i),F.i.length=0),F.l.ra()}}function rE(F,Fe,St){var yn=St instanceof a_?ef(St):new a_(St);if(""!=yn.g)Fe&&(yn.g=Fe+"."+yn.g),iv(yn,yn.s);else{var Wi=se.location;yn=Wi.protocol,Fe=Fe?Fe+"."+Wi.hostname:Wi.hostname,Wi=+Wi.port;var dr=new a_(null);yn&&nv(dr,yn),Fe&&(dr.g=Fe),Wi&&iv(dr,Wi),St&&(dr.l=St),yn=dr}return Fe=F.ya,(St=F.D)&&Fe&&nc(yn,St,Fe),nc(yn,"VER",F.la),ug(F,yn),yn}function my(F,Fe,St){if(Fe&&!F.J)throw Error("Can't create secondary domain capable XhrIo object.");return(Fe=new Yc(F.Ca&&!F.pa?new lg({eb:St}):F.pa)).Ha(F.J),Fe}function Cb(){}function dv(){}function uh(F,Fe){rd.call(this),this.g=new Wu(Fe),this.l=F,this.h=Fe&&Fe.messageUrlParams||null,F=Fe&&Fe.messageHeaders||null,Fe&&Fe.clientProtocolHeaderRequired&&(F?F["X-Client-Protocol"]="webchannel":F={"X-Client-Protocol":"webchannel"}),this.g.o=F,F=Fe&&Fe.initMessageHeaders||null,Fe&&Fe.messageContentType&&(F?F["X-WebChannel-Content-Type"]=Fe.messageContentType:F={"X-WebChannel-Content-Type":Fe.messageContentType}),Fe&&Fe.va&&(F?F["X-WebChannel-Client-Profile"]=Fe.va:F={"X-WebChannel-Client-Profile":Fe.va}),this.g.S=F,(F=Fe&&Fe.Sb)&&!zs(F)&&(this.g.m=F),this.v=Fe&&Fe.supportsCrossDomainXhr||!1,this.u=Fe&&Fe.sendRawJson||!1,(Fe=Fe&&Fe.httpSessionIdParam)&&!zs(Fe)&&(this.g.D=Fe,null!==(F=this.h)&&Fe in F&&Fe in(F=this.h)&&delete F[Fe]),this.j=new c_(this)}
1function sE(F){bu.call(this),F.__headers__&&(this.headers=F.__headers__,this.statusCode=F.__status__,delete F.__headers__,delete F.__status__);var Fe=F.__sm__;if(Fe){e:{for(const St in Fe){F=St;break e}F=void 0}(this.i=F)&&(F=this.i,Fe=null!==Fe&&F in Fe?Fe[F]:void 0),this.data=Fe}else this.data=F}function Ab(){db.call(this),this.status=1}function c_(F){this.g=F}(f=Yc.prototype).Ha=function(F){this.J=F},f.ea=function(F,Fe,St,yn){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+F);Fe=Fe?Fe.toUpperCase():"GET",this.D=F,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():fb.g(),this.v=function lb(F){return F.h||(F.h=F.i())}(this.o?this.o:fb),this.g.onreadystatechange=Kn(this.Ea,this);try{this.B=!0,this.g.open(Fe,String(F),!0),this.B=!1}catch(dr){return void X0(this,dr)}if(F=St||"",St=new Map(this.headers),yn)if(Object.getPrototypeOf(yn)===Object.prototype)for(var Wi in yn)St.set(Wi,yn[Wi]);else{if("function"!=typeof yn.keys||"function"!=typeof yn.get)throw Error("Unknown input type for opt_headers: "+String(yn));for(const dr of yn.keys())St.set(dr,yn.get(dr))}yn=Array.from(St.keys()).find(dr=>"content-type"==dr.toLowerCase()),Wi=se.FormData&&F instanceof se.FormData,!(0<=Array.prototype.indexOf.call(Q0,Fe,void 0))||yn||Wi||St.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[dr,Zr]of St)this.g.setRequestHeader(dr,Zr);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{Z0(this),this.u=!0,this.g.send(F),this.u=!1}catch(dr){X0(this,dr)}},f.abort=function(F){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=F||7,sd(this,"complete"),sd(this,"abort"),hy(this))},f.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),hy(this,!0)),Yc.aa.N.call(this)},f.Ea=function(){this.s||(this.B||this.u||this.j?yb(this):this.bb())},f.bb=function(){yb(this)},f.isActive=function(){return!!this.g},f.Z=function(){try{return 2<dm(this)?this.g.status:-1}catch{return-1}},f.oa=function(){try{return this.g?this.g.responseText:""}catch{return""}},f.Oa=function(F){if(this.g){var Fe=this.g.responseText;return F&&0==Fe.indexOf(F)&&(Fe=Fe.substring(F.length)),k0(Fe)}},f.Ba=function(){return this.m},f.Ka=function(){return"string"==typeof this.l?this.l:String(this.l)},(f=Wu.prototype).la=8,f.G=1,f.connect=function(F,Fe,St,yn){ju(0),this.W=F,this.H=Fe||{},St&&void 0!==yn&&(this.H.OSID=St,this.H.OAID=yn),this.F=this.X,this.I=rE(this,null,this.W),lv(this)},f.Ga=function(F){if(this.s)if(this.s=null,1==this.G){if(!F){this.U=Math.floor(1e5*Math.random()),F=this.U++;const Wi=new Sf(this,this.j,F);let dr=this.o;if(this.S&&(dr?(dr=Xn(dr),Mi(dr,this.S)):dr=this.S),null!==this.m||this.O||(Wi.H=dr,dr=null),this.P)e:{for(var Fe=0,St=0;St<this.i.length;St++){var yn=this.i[St];if(void 0===(yn="__data__"in yn.map&&"string"==typeof(yn=yn.map.__data__)?yn.length:void 0))break;if(4096<(Fe+=yn)){Fe=St;break e}if(4096===Fe||St===this.i.length-1){Fe=St+1;break e}}Fe=1e3}else Fe=1e3;Fe=nE(this,Wi,Fe),nc(St=ef(this.I),"RID",F),nc(St,"CVER",22),this.D&&nc(St,"X-HTTP-Session-Id",this.D),ug(this,St),dr&&(this.O?Fe="headers="+encodeURIComponent(String(G0(dr)))+"&"+Fe:this.m&&vb(St,this.m,dr)),F0(this.h,Wi),this.Ua&&nc(St,"TYPE","init"),this.P?(nc(St,"$req",Fe),nc(St,"SID","null"),Wi.T=!0,P0(Wi,St,null)):P0(Wi,St,Fe),this.G=2}}else 3==this.G&&(F?tE(this,F):0==this.i.length||cy(this.h)||tE(this))},f.Fa=function(){if(this.u=null,VD(this),this.ba&&!(this.M||null==this.g||0>=this.R)){var F=2*this.R;this.j.info("BP detection timer enabled: "+F),this.A=ng(Kn(this.ab,this),F)}},f.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,ju(10),fy(this),VD(this))},f.Za=function(){null!=this.C&&(this.C=null,fy(this),iE(this),ju(19))},f.fb=function(F){F?(this.j.info("Successfully pinged google.com"),ju(2)):(this.j.info("Failed to ping google.com"),ju(1))},f.isActive=function(){return!!this.l&&this.l.isActive(this)},(f=Cb.prototype).ua=function(){},f.ta=function(){},f.sa=function(){},f.ra=function(){},f.isActive=function(){return!0},f.Na=function(){},dv.prototype.g=function(F,Fe){return new uh(F,Fe)},hr(uh,rd),uh.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},uh.prototype.close=function(){eE(this.g)},uh.prototype.o=function(F){var Fe=this.g;if("string"==typeof F){var St={};St.__data__=F,F=St}else this.u&&((St={}).__data__=ab(F),F=St);Fe.i.push(new sg(Fe.Ya++,F)),3==Fe.G&&lv(Fe)},uh.prototype.N=function(){this.g.l=null,delete this.j,eE(this.g),delete this.g,uh.aa.N.call(this)},hr(sE,bu),hr(Ab,db),hr(c_,Cb),c_.prototype.ua=function(){sd(this.g,"a")},c_.prototype.ta=function(F){sd(this.g,new sE(F))},c_.prototype.sa=function(F){sd(this.g,new Ab)},c_.prototype.ra=function(){sd(this.g,"b")},dv.prototype.createWebChannel=dv.prototype.g,uh.prototype.send=uh.prototype.o,uh.prototype.open=uh.prototype.m,uh.prototype.close=uh.prototype.close,ge=x.createWebChannelTransport=function(){return new dv},Le=x.getStatEventTarget=function(){return ny()},ze=x.Event=Ic,Xe=x.Stat={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},o_.NO_ERROR=0,o_.TIMEOUT=8,o_.HTTP_ERROR=6,Qe=x.ErrorCode=o_,x0.COMPLETE="complete",Ge=x.EventType=x0,cb.EventType=Vm,Vm.OPEN="a",Vm.CLOSE="b",Vm.ERROR="c",Vm.MESSAGE="d",rd.prototype.listen=rd.prototype.K,Mt=x.WebChannel=cb,x.FetchXmlHttpFactory=lg,Yc.prototype.listenOnce=Yc.prototype.L,Yc.prototype.getLastError=Yc.prototype.Ka,Yc.prototype.getLastErrorCode=Yc.prototype.Ba,Yc.prototype.getStatus=Yc.prototype.Z,Yc.prototype.getResponseJson=Yc.prototype.Oa,Yc.prototype.getResponseText=Yc.prototype.oa,Yc.prototype.send=Yc.prototype.ea,Yc.prototype.setWithCredentials=Yc.prototype.Ha,ye=x.XhrIo=Yc}).apply(typeof B<"u"?B:typeof self<"u"?self:typeof window<"u"?window:{});const de="@firebase/firestore";class he{constructor(e){this.uid=e}isAuthenticated(){return null!=this.uid}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(e){return e.uid===this.uid}}he.UNAUTHENTICATED=new he(null),he.GOOGLE_CREDENTIALS=new he("google-credentials-uid"),he.FIRST_PARTY=new he("first-party-uid"),he.MOCK_USER=new he("mock-user");let Ne="11.10.0";const ve=new y.Vy("@firebase/firestore");function at(){return ve.logLevel}function Ut(f){ve.setLogLevel(f)}function nt(f,...e){if(ve.logLevel<=y.$b.DEBUG){const i=e.map(qt);ve.debug(`Firestore (${Ne}): ${f}`,...i)}}function cn(f,...e){if(ve.logLevel<=y.$b.ERROR){const i=e.map(qt);ve.error(`Firestore (${Ne}): ${f}`,...i)}}function hn(f,...e){if(ve.logLevel<=y.$b.WARN){const i=e.map(qt);ve.warn(`Firestore (${Ne}): ${f}`,...i)}}function qt(f){if("string"==typeof f)return f;try{return JSON.stringify(f)}catch{return f}}function Te(f,e,i){let c="Unexpected state";"string"==typeof e?c=e:i=e,Pe(f,c,i)}function Pe(f,e,i){let c=`FIRESTORE (${Ne}) INTERNAL ASSERTION FAILED: ${e} (ID: ${f.toString(16)})`;if(void 0!==i)try{c+=" CONTEXT: "+JSON.stringify(i)}catch{c+=" CONTEXT: "+i}throw cn(c),new Error(c)}function yt(f,e,i,c){let g="Unexpected state";"string"==typeof i?g=i:c=i,f||Pe(e,g,c)}function wt(f,e){f||Te(57014,e)}function Ie(f,e){return f}const ie={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENT
1ED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class je extends v.g{constructor(e,i){super(e,i),this.code=e,this.message=i,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}class rt{constructor(){this.promise=new Promise((e,i)=>{this.resolve=e,this.reject=i})}}class Ze{constructor(e,i){this.user=i,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${e}`)}}class We{getToken(){return Promise.resolve(null)}invalidateToken(){}start(e,i){e.enqueueRetryable(()=>i(he.UNAUTHENTICATED))}shutdown(){}}class Ot{constructor(e){this.token=e,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(e,i){this.changeListener=i,e.enqueueRetryable(()=>i(this.token.user))}shutdown(){this.changeListener=null}}class Me{constructor(e){this.t=e,this.currentUser=he.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(e,i){var c=this;yt(void 0===this.o,42304);let g=this.i;const A=ut=>this.i!==g?(g=this.i,i(ut)):Promise.resolve();let U=new rt;this.o=()=>{this.i++,this.currentUser=this.u(),U.resolve(),U=new rt,e.enqueueRetryable(()=>A(this.currentUser))};const se=()=>{const ut=U;e.enqueueRetryable((0,o.A)(function*(){yield ut.promise,yield A(c.currentUser)}))},Se=ut=>{nt("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=ut,this.o&&(this.auth.addAuthTokenListener(this.o),se())};this.t.onInit(ut=>Se(ut)),setTimeout(()=>{if(!this.auth){const ut=this.t.getImmediate({optional:!0});ut?Se(ut):(nt("FirebaseAuthCredentialsProvider","Auth not yet detected"),U.resolve(),U=new rt)}},0),se()}getToken(){const e=this.i,i=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(i).then(c=>this.i!==e?(nt("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):c?(yt("string"==typeof c.accessToken,31837,{l:c}),new Ze(c.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const e=this.auth&&this.auth.getUid();return yt(null===e||"string"==typeof e,2055,{h:e}),new he(e)}}class It{constructor(e,i,c){this.P=e,this.T=i,this.I=c,this.type="FirstParty",this.user=he.FIRST_PARTY,this.A=new Map}R(){return this.I?this.I():null}get headers(){this.A.set("X-Goog-AuthUser",this.P);const e=this.R();return e&&this.A.set("Authorization",e),this.T&&this.A.set("X-Goog-Iam-Authorization-Token",this.T),this.A}}class Zt{constructor(e,i,c){this.P=e,this.T=i,this.I=c}getToken(){return Promise.resolve(new It(this.P,this.T,this.I))}start(e,i){e.enqueueRetryable(()=>i(he.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class ti{constructor(e){this.value=e,this.type="AppCheck",this.headers=new Map,e&&e.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class Wn{constructor(e,i){this.V=i,this.forceRefresh=!1,this.appCheck=null,this.m=null,this.p=null,(0,s._isFirebaseServerApp)(e)&&e.settings.appCheckToken&&(this.p=e.settings.appCheckToken)}start(e,i){yt(void 0===this.o,3512);const c=A=>{null!=A.error&&nt("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${A.error.message}`);const U=A.token!==this.m;return this.m=A.token,nt("FirebaseAppCheckTokenProvider",`Received ${U?"new":"existing"} token.`),U?i(A.token):Promise.resolve()};this.o=A=>{e.enqueueRetryable(()=>c(A))};const g=A=>{nt("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=A,this.o&&this.appCheck.addTokenListener(this.o)};this.V.onInit(A=>g(A)),setTimeout(()=>{if(!this.appCheck){const A=this.V.getImmediate({optional:!0});A?g(A):nt("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){if(this.p)return Promise.resolve(new ti(this.p));const e=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(e).then(i=>i?(yt("string"==typeof i.token,44558,{tokenResult:i}),this.m=i.token,new ti(i.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function Bn(f){const e=typeof self<"u"&&(self.crypto||self.msCrypto),i=new Uint8Array(f);if(e&&"function"==typeof e.getRandomValues)e.getRandomValues(i);else for(let c=0;c<f;
1c++)i[c]=Math.floor(256*Math.random());return i}function Oi(){return new TextEncoder}class dn{static newId(){const i=62*Math.floor(4.129032258064516);let c="";for(;c.length<20;){const g=Bn(40);for(let A=0;A<g.length;++A)c.length<20&&g[A]<i&&(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(g[A]%62))}return c}}function Tn(f,e){return f<e?-1:f>e?1:0}function Yn(f,e){let i=0;for(;i<f.length&&i<e.length;){const c=f.codePointAt(i),g=e.codePointAt(i);if(c!==g){if(c<128&&g<128)return Tn(c,g);{const A=Oi(),U=Qn(A.encode(_(f,i)),A.encode(_(e,i)));return 0!==U?U:Tn(c,g)}}i+=c>65535?2:1}return Tn(f.length,e.length)}function _(f,e){return f.codePointAt(e)>65535?f.substring(e,e+2):f.substring(e,e+1)}function Qn(f,e){for(let i=0;i<f.length&&i<e.length;++i)if(f[i]!==e[i])return Tn(f[i],e[i]);return Tn(f.length,e.length)}function di(f,e,i){return f.length===e.length&&f.every((c,g)=>i(c,e[g]))}function ai(f){return f+"\0"}const pi="__name__";class Vi{constructor(e,i,c){void 0===i?i=0:i>e.length&&Te(637,{offset:i,range:e.length}),void 0===c?c=e.length-i:c>e.length-i&&Te(1746,{length:c,range:e.length-i}),this.segments=e,this.offset=i,this.len=c}get length(){return this.len}isEqual(e){return 0===Vi.comparator(this,e)}child(e){const i=this.segments.slice(this.offset,this.limit());return e instanceof Vi?e.forEach(c=>{i.push(c)}):i.push(e),this.construct(i)}limit(){return this.offset+this.length}popFirst(e){return this.construct(this.segments,this.offset+(e=void 0===e?1:e),this.length-e)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(e){return this.segments[this.offset+e]}isEmpty(){return 0===this.length}isPrefixOf(e){if(e.length<this.length)return!1;for(let i=0;i<this.length;i++)if(this.get(i)!==e.get(i))return!1;return!0}isImmediateParentOf(e){if(this.length+1!==e.length)return!1;for(let i=0;i<this.length;i++)if(this.get(i)!==e.get(i))return!1;return!0}forEach(e){for(let i=this.offset,c=this.limit();i<c;i++)e(this.segments[i])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(e,i){const c=Math.min(e.length,i.length);for(let g=0;g<c;g++){const A=Vi.compareSegments(e.get(g),i.get(g));if(0!==A)return A}return Tn(e.length,i.length)}static compareSegments(e,i){const c=Vi.isNumericId(e),g=Vi.isNumericId(i);return c&&!g?-1:!c&&g?1:c&&g?Vi.extractNumericId(e).compare(Vi.extractNumericId(i)):Yn(e,i)}static isNumericId(e){return e.startsWith("__id")&&e.endsWith("__")}static extractNumericId(e){return k.fromString(e.substring(4,e.length-2))}}class ii extends Vi{construct(e,i,c){return new ii(e,i,c)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...e){const i=[];for(const c of e){if(c.indexOf("//")>=0)throw new je(ie.INVALID_ARGUMENT,`Invalid segment (${c}). Paths must not contain // in them.`);i.push(...c.split("/").filter(g=>g.length>0))}return new ii(i)}static emptyPath(){return new ii([])}}const rr=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class Sn extends Vi{construct(e,i,c){return new Sn(e,i,c)}static isValidIdentifier(e){return rr.test(e)}canonicalString(){return this.toArray().map(e=>(e=e.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),Sn.isValidIdentifier(e)||(e="`"+e+"`"),e)).join(".")}toString(){return this.canonicalString()}isKeyField(){return 1===this.length&&this.get(0)===pi}static keyField(){return new Sn([pi])}static fromServerFormat(e){const i=[];let c="",g=0;const A=()=>{if(0===c.length)throw new je(ie.INVALID_ARGUMENT,`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);i.push(c),c=""};let U=!1;for(;g<e.length;){const se=e[g];if("\\"===se){if(g+1===e.length)throw new je(ie.INVALID_ARGUMENT,"Path has trailing escape character: "+e);const Se=e[g+1];if("\\"!==Se&&"."!==Se&&"`"!==Se)throw new je(ie.INVALID_ARGUMENT,"Path has invalid escape sequence: "+e);c+=Se,g+=2}else"`"===se?(U=!U,g++):"."!==se||U?(c+=se,g++):(A(),g++)}if(A(),U)throw new je(ie.INVALID_ARGUMENT,"Unterminated ` in path: "+e);return new Sn(i)}static emptyPath(){return new Sn([])}}class ci{constructor(e){this.path=e}static fromPath(e){return new ci(ii.fromString(e))}static fromName(e){return new ci(ii.fromString(e).popFirst(5))}static empty(){return new ci(ii.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(e){return this.path.length>=2&&this.path.get(this.path.length-2)===e}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(e){return null!==e&&0===ii.comparator(this.path,e.path)}toString(){return this.path.toString()}static comparator(e,i){return ii.comparator(e.path,i.path)}static isDocumentKey(e){return e.length%2==0}static fromSegments(e){return new ci(new ii(e.slice()))}}function Un(f,e,i){if(!i)throw new je(ie.INVALID_ARGUMENT,`Function ${f}() cannot be called with an empty ${e}.`)}function fr(f,e,i,c){if(!0===e&&!0===c)throw new je(ie.INVALID_ARGUMENT,`${f} and ${i} cannot be used together.`)}function Vt(f){if(!ci.isDocumentKey(f))throw new je(ie.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${f} has ${f.length}.`)}function un(f){if(ci.isDocumentKey(f))throw new je(ie.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${f} has ${f.length}.`)}function Ae(f){return"object"==typeof f&&null!==f&&(Object.getPrototypeOf(f)===Object.prototype||null===Object.getPrototypeOf(f))}function xe(f){if(void 0===f)return"undefined";if(null===f)return"null";if("string"==typeof f)return f.length>20&&(f=`${f.substring(0,20)}...`),JSON.stringify(f);
1if("number"==typeof f||"boolean"==typeof f)return""+f;if("object"==typeof f){if(f instanceof Array)return"an array";{const e=(c=f).constructor?c.constructor.name:null;return e?`a custom ${e} object`:"an object"}}var c;return"function"==typeof f?"a function":Te(12329,{type:typeof f})}function z(f,e){if("_delegate"in f&&(f=f._delegate),!(f instanceof e)){if(e.name===f.constructor.name)throw new je(ie.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const i=xe(f);throw new je(ie.INVALID_ARGUMENT,`Expected type '${e.name}', but it was: ${i}`)}}return f}function Ee(f,e){if(e<=0)throw new je(ie.INVALID_ARGUMENT,`Function ${f}() requires a positive number, but it was: ${e}.`)}function Ce(f,e){const i={typeString:f};return e&&(i.value=e),i}function Ue(f,e){if(!Ae(f))throw new je(ie.INVALID_ARGUMENT,"JSON must be an object");let i;for(const c in e)if(e[c]){const g=e[c].typeString,A="value"in e[c]?{value:e[c].value}:void 0;if(!(c in f)){i=`JSON missing required field: '${c}'`;break}const U=f[c];if(g&&typeof U!==g){i=`JSON field '${c}' must be a ${g}.`;break}if(void 0!==A&&U!==A.value){i=`Expected '${c}' field to equal '${A.value}'`;break}}if(i)throw new je(ie.INVALID_ARGUMENT,i);return!0}const Tt=-62135596800;class we{static now(){return we.fromMillis(Date.now())}static fromDate(e){return we.fromMillis(e.getTime())}static fromMillis(e){const i=Math.floor(e/1e3),c=Math.floor(1e6*(e-1e3*i));return new we(i,c)}constructor(e,i){if(this.seconds=e,this.nanoseconds=i,i<0)throw new je(ie.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+i);if(i>=1e9)throw new je(ie.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+i);if(e<Tt)throw new je(ie.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e);if(e>=253402300800)throw new je(ie.INVALID_ARGUMENT,"Timestamp seconds out of range: "+e)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(e){return this.seconds===e.seconds?Tn(this.nanoseconds,e.nanoseconds):Tn(this.seconds,e.seconds)}isEqual(e){return e.seconds===this.seconds&&e.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{type:we._jsonSchemaVersion,seconds:this.seconds,nanoseconds:this.nanoseconds}}static fromJSON(e){if(Ue(e,we._jsonSchema))return new we(e.seconds,e.nanoseconds)}valueOf(){return String(this.seconds-Tt).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}we._jsonSchemaVersion="firestore/timestamp/1.0",we._jsonSchema={type:Ce("string",we._jsonSchemaVersion),seconds:Ce("number"),nanoseconds:Ce("number")};class _e{static fromTimestamp(e){return new _e(e)}static min(){return new _e(new we(0,0))}static max(){return new _e(new we(253402300799,999999999))}constructor(e){this.timestamp=e}compareTo(e){return this.timestamp._compareTo(e.timestamp)}isEqual(e){return this.timestamp.isEqual(e.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}const L=-1;class j{constructor(e,i,c,g){this.indexId=e,this.collectionGroup=i,this.fields=c,this.indexState=g}}function X(f){return f.fields.find(e=>2===e.kind)}function qe(f){return f.fields.filter(e=>2!==e.kind)}j.UNKNOWN_ID=-1;class On{constructor(e,i){this.fieldPath=e,this.kind=i}}class Qi{constructor(e,i){this.sequenceNumber=e,this.offset=i}static empty(){return new Qi(0,_n.min())}}function Tr(f,e){const i=f.toTimestamp().seconds,c=f.toTimestamp().nanoseconds+1,g=_e.fromTimestamp(1e9===c?new we(i+1,0):new we(i,c));return new _n(g,ci.empty(),e)}function Er(f){return new _n(f.readTime,f.key,L)}class _n{constructor(e,i,c){this.readTime=e,this.documentKey=i,this.largestBatchId=c}static min(){return new _n(_e.min(),ci.empty(),L)}static max(){return new _n(_e.max(),ci.empty(),L)}}function an(f,e){let i=f.readTime.compareTo(e.readTime);return 0!==i?i:(i=ci.comparator(f.documentKey,e.documentKey),0!==i?i:Tn(f.largestBatchId,e.largestBatchId))}const Pt="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class ke{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(e){this.onCommittedListeners.push(e)}
1raiseOnCommittedEvent(){this.onCommittedListeners.forEach(e=>e())}}function De(f){return _t.apply(this,arguments)}function _t(){return(_t=(0,o.A)(function*(f){if(f.code!==ie.FAILED_PRECONDITION||f.message!==Pt)throw f;nt("LocalStore","Unexpectedly lost primary lease")})).apply(this,arguments)}class et{constructor(e){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,e(i=>{this.isDone=!0,this.result=i,this.nextCallback&&this.nextCallback(i)},i=>{this.isDone=!0,this.error=i,this.catchCallback&&this.catchCallback(i)})}catch(e){return this.next(void 0,e)}next(e,i){return this.callbackAttached&&Te(59440),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(i,this.error):this.wrapSuccess(e,this.result):new et((c,g)=>{this.nextCallback=A=>{this.wrapSuccess(e,A).next(c,g)},this.catchCallback=A=>{this.wrapFailure(i,A).next(c,g)}})}toPromise(){return new Promise((e,i)=>{this.next(e,i)})}wrapUserFunction(e){try{const i=e();return i instanceof et?i:et.resolve(i)}catch(i){return et.reject(i)}}wrapSuccess(e,i){return e?this.wrapUserFunction(()=>e(i)):et.resolve(i)}wrapFailure(e,i){return e?this.wrapUserFunction(()=>e(i)):et.reject(i)}static resolve(e){return new et((i,c)=>{i(e)})}static reject(e){return new et((i,c)=>{c(e)})}static waitFor(e){return new et((i,c)=>{let g=0,A=0,U=!1;e.forEach(se=>{++g,se.next(()=>{++A,U&&A===g&&i()},Se=>c(Se))}),U=!0,A===g&&i()})}static or(e){let i=et.resolve(!1);for(const c of e)i=i.next(g=>g?et.resolve(g):c());return i}static forEach(e,i){const c=[];return e.forEach((g,A)=>{c.push(i.call(this,g,A))}),this.waitFor(c)}static mapArray(e,i){return new et((c,g)=>{const A=e.length,U=new Array(A);let se=0;for(let Se=0;Se<A;Se++){const ut=Se;i(e[ut]).next(Qt=>{U[ut]=Qt,++se,se===A&&c(U)},Qt=>g(Qt))}})}static doWhile(e,i){return new et((c,g)=>{const A=()=>{!0===e()?i().next(()=>{A()},g):c()};A()})}}const Rn="SimpleDb";class Zn{static open(e,i,c,g){try{return new Zn(i,e.transaction(g,c))}catch(A){throw new Bt(i,A)}}constructor(e,i){this.action=e,this.transaction=i,this.aborted=!1,this.S=new rt,this.transaction.oncomplete=()=>{this.S.resolve()},this.transaction.onabort=()=>{i.error?this.S.reject(new Bt(e,i.error)):this.S.resolve()},this.transaction.onerror=c=>{const g=$t(c.target.error);this.S.reject(new Bt(e,g))}}get D(){return this.S.promise}abort(e){e&&this.S.reject(e),this.aborted||(nt(Rn,"Aborting transaction:",e?e.message:"Client-initiated abort"),this.aborted=!0,this.transaction.abort())}v(){const e=this.transaction;this.aborted||"function"!=typeof e.commit||e.commit()}store(e){const i=this.transaction.objectStore(e);return new Ti(i)}}class gt{static delete(e){return nt(Rn,"Removing database:",e),Gi((0,v.mS)().indexedDB.deleteDatabase(e)).toPromise()}static C(){if(!(0,v.zW)())return!1;if(gt.F())return!0;const e=(0,v.ZQ)(),i=gt.M(e),c=0<i&&i<10,g=zn(e),A=0<g&&g<4.5;return!(e.indexOf("MSIE ")>0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0||c||A)}static F(){var e;return typeof process<"u"&&"YES"===(null===(e=process.__PRIVATE_env)||void 0===e?void 0:e.O)}static N(e,i){return e.store(i)}static M(e){const i=e.match(/i(?:phone|pad|pod) os ([\d_]+)/i),c=i?i[1].split("_").slice(0,2).join("."):"-1";return Number(c)}constructor(e,i,c){this.name=e,this.version=i,this.B=c,this.L=null,12.2===gt.M((0,v.ZQ)())&&cn("Firestore persistence suffers from a bug in iOS 12.2 Safari that may cause your app to stop working. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.")}k(e){var i=this;return(0,o.A)(function*(){return i.db||(nt(Rn,"Opening database:",i.name),i.db=yield new Promise((c,g)=>{const A=indexedDB.open(i.name,i.version);A.onsuccess=U=>{c(U.target.result)},A.onblocked=()=>{g(new Bt(e,"Cannot upgrade IndexedDB schema while another tab is open. Close all tabs that access Firestore and reload this page to proceed."))},A.onerror=U=>{const se=U.target.error;g("VersionError"===se.name?new je(ie.FAILED_PRECONDITION,"A newer version of the Firestore SDK was previously used and so the persisted data is not compatible with the version of the SDK you are now using. The SDK will operate with persistence disabled. If you need persistence, please re-upgrade to a newer version of the SDK or else clear the persisted IndexedDB data for your app to start fresh."):"InvalidStateError"===se.name?new je(ie.FAILED_PRECONDITION,"Unable to open an IndexedDB connection. This could be due to running in a private browsing session on a browser whose private browsing sessions do not support IndexedDB: "+se):new Bt(e,se))},A.onupgradeneeded=U=>{nt(Rn,'Database "'+i.name+'" requires upgrade from version:',U.oldVersion);const se=U.target.result;if(null!==i.L&&i.L!==U.oldVersion)throw new Error(`refusing to open IndexedDB database due to potential corruption of the IndexedDB database data; this corruption could be caused by clicking the "clear site data" button in a web browser; try reloading the web page to re-initialize the IndexedDB database: lastClosedDbVersion=${i.L}, event.oldVersion=${U.oldVersion}, event.newVersion=${U.newVersion}, db.version=${se.version}`);i.B.q(se,A.transaction,U.oldVersion,i.version).next(()=>
1{nt(Rn,"Database upgrade to version "+i.version+" complete")})}}),i.db.addEventListener("close",c=>{i.L=c.target.version},{passive:!0})),i.db.addEventListener("versionchange",c=>{var g;null===c.newVersion&&(hn('Received "versionchange" event with newVersion===null; notifying the registered DatabaseDeletedListener, if any'),null===(g=i.databaseDeletedListener)||void 0===g||g.call(i))},{passive:!0}),i.db})()}setDatabaseDeletedListener(e){if(this.databaseDeletedListener)throw new Error("setDatabaseDeletedListener() may only be called once, and it has already been called");this.databaseDeletedListener=e}runTransaction(e,i,c,g){var A=this;return(0,o.A)(function*(){const U="readonly"===i;let se=0;for(;;){++se;try{A.db=yield A.k(e);const Se=Zn.open(A.db,e,U?"readonly":"readwrite",c),ut=g(Se).next(Qt=>(Se.v(),Qt)).catch(Qt=>(Se.abort(Qt),et.reject(Qt))).toPromise();return ut.catch(()=>{}),yield Se.D,ut}catch(Se){const ut=Se,Qt="FirebaseError"!==ut.name&&se<3;if(nt(Rn,"Transaction failed with error:",ut.message,"Retrying:",Qt),A.close(),!Qt)return Promise.reject(ut)}}})()}close(){this.db&&this.db.close(),this.db=void 0}}function zn(f){const e=f.match(/Android ([\d.]+)/i),i=e?e[1].split(".").slice(0,2).join("."):"-1";return Number(i)}class ft{constructor(e){this.$=e,this.U=!1,this.K=null}get isDone(){return this.U}get W(){return this.K}set cursor(e){this.$=e}done(){this.U=!0}G(e){this.K=e}delete(){return Gi(this.$.delete())}}class Bt extends je{constructor(e,i){super(ie.UNAVAILABLE,`IndexedDB transaction '${e}' failed: ${i}`),this.name="IndexedDbTransactionError"}}function xn(f){return"IndexedDbTransactionError"===f.name}class Ti{constructor(e){this.store=e}put(e,i){let c;return void 0!==i?(nt(Rn,"PUT",this.store.name,e,i),c=this.store.put(i,e)):(nt(Rn,"PUT",this.store.name,"<auto-key>",e),c=this.store.put(e)),Gi(c)}add(e){return nt(Rn,"ADD",this.store.name,e,e),Gi(this.store.add(e))}get(e){return Gi(this.store.get(e)).next(i=>(void 0===i&&(i=null),nt(Rn,"GET",this.store.name,e,i),i))}delete(e){return nt(Rn,"DELETE",this.store.name,e),Gi(this.store.delete(e))}count(){return nt(Rn,"COUNT",this.store.name),Gi(this.store.count())}j(e,i){const c=this.options(e,i),g=c.index?this.store.index(c.index):this.store;if("function"==typeof g.getAll){const A=g.getAll(c.range);return new et((U,se)=>{A.onerror=Se=>{se(Se.target.error)},A.onsuccess=Se=>{U(Se.target.result)}})}{const A=this.cursor(c),U=[];return this.J(A,(se,Se)=>{U.push(Se)}).next(()=>U)}}H(e,i){const c=this.store.getAll(e,null===i?void 0:i);return new et((g,A)=>{c.onerror=U=>{A(U.target.error)},c.onsuccess=U=>{g(U.target.result)}})}Y(e,i){nt(Rn,"DELETE ALL",this.store.name);const c=this.options(e,i);c.Z=!1;const g=this.cursor(c);return this.J(g,(A,U,se)=>se.delete())}X(e,i){let c;i?c=e:(c={},i=e);const g=this.cursor(c);return this.J(g,i)}ee(e){const i=this.cursor({});return new et((c,g)=>{i.onerror=A=>{const U=$t(A.target.error);g(U)},i.onsuccess=A=>{const U=A.target.result;U?e(U.primaryKey,U.value).next(se=>{se?U.continue():c()}):c()}})}J(e,i){const c=[];return new et((g,A)=>{e.onerror=U=>{A(U.target.error)},e.onsuccess=U=>{const se=U.target.result;if(!se)return void g();const Se=new ft(se),ut=i(se.primaryKey,se.value,Se);if(ut instanceof et){const Qt=ut.catch(vn=>(Se.done(),et.reject(vn)));c.push(Qt)}Se.isDone?g():null===Se.W?se.continue():se.continue(Se.W)}}).next(()=>et.waitFor(c))}options(e,i){let c;return void 0!==e&&("string"==typeof e?c=e:i=e),{index:c,range:i}}cursor(e){let i="next";if(e.reverse&&(i="prev"),e.index){const c=this.store.index(e.index);return e.Z?c.openKeyCursor(e.range,i):c.openCursor(e.range,i)}return this.store.openCursor(e.range,i)}}function Gi(f){return new et((e,i)=>{f.onsuccess=c=>{e(c.target.result)},f.onerror=c=>{const g=$t(c.target.error);i(g)}})}let Mr=!1;function $t(f){const e=gt.M((0,v.ZQ)());if(e>=12.2&&e<13){const i="An internal error was encountered in the Indexed Database server";if(f.message.indexOf(i)>=0){const c=new je("internal",`IOS_INDEXEDDB_BUG1: IndexedDb has thrown '${i}'. This is likely due to an unavoidable bug in iOS. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.`);return Mr||(Mr=!0,setTimeout(()=>{throw c},0)),c}}return f}const wn="IndexBackfiller";class In{constructor(e,i){this.asyncQueue=e,this.te=i,this.task=null}start(){this.ne(15e3)}stop(){this.task&&(this.task.cancel(),this.task=null)}get started(){return null!==this.task}ne(e){var i=this;nt(wn,`Scheduled in ${e}ms`),this.task=this.asyncQueue.enqueueAfterDelay("index_backfill",e,(0,o.A)(function*(){i.task=null;try{const c=yield i.te.re();nt(wn,`Documents written: ${c}`)}catch(c){xn(c)?nt(wn,"Ignoring IndexedDB error during index backfill: ",c):yield De(c)}yield i.ne(6e4)}))}}class Di{constructor(e,i){this.localStore=e,this.persistence=i}re(){var e=this;return(0,o.A)(function*(i=50){return e.persistence.runTransaction("Backfill Indexes","readwrite-primary",c=>e.ie(c,i))}).apply(this,arguments)}ie(e,i){const c=new Set;let g=i,A=!0;return et.doWhile(()=>!0===A&&g>0,()=>this.localStore.indexManager.getNextCollectionGroupToUpdate(e).next(U=>{if(null!==U&&!c.has(U))return nt(wn,`Processing collection: ${U}`),this.se(e,U,g).next(se=>{g-=se,c.add(U)});A=!1})).next(()=>i-g)}se(e,i,c){return this.localStore.indexManager.getMinOffsetFromCollectionGroup(e,i).next(g=>this.localStore.localDocuments.getNextDocuments(e,i,g,c).next(A=>{const U=A.changes;return this.localStore.indexManager.updateIndexEntries(e,U).next(()=>this.oe(g,A)).next(se=>(nt(wn,`Updating offset: ${se}`),this.localStore.indexManager.updateCollectionGroup(e,i,se))).next(()=>U.size)}))}oe(e,i){let c=e;
vendor: 8,109 bytes, line 1
1return i.changes.forEach((g,A)=>{const U=Er(A);an(U,c)>0&&(c=U)}),new _n(c.readTime,c.documentKey,Math.max(i.batchId,e.largestBatchId))}}let Ai=(()=>{class f{constructor(i,c){this.previousValue=i,c&&(c.sequenceNumberHandler=g=>this._e(g),this.ae=g=>c.writeSequenceNumber(g))}_e(i){return this.previousValue=Math.max(i,this.previousValue),this.previousValue}next(){const i=++this.previousValue;return this.ae&&this.ae(i),i}}return f.ue=-1,f})();function _r(f){return null==f}function Cr(f){return 0===f&&1/f==-1/0}function Hr(f){return"number"==typeof f&&Number.isInteger(f)&&!Cr(f)&&f<=Number.MAX_SAFE_INTEGER&&f>=Number.MIN_SAFE_INTEGER}function Ns(f){let e="";for(let i=0;i<f.length;i++)e.length>0&&(e=Xs(e)),e=Cs(f.get(i),e);return Xs(e)}function Cs(f,e){let i=e;const c=f.length;for(let g=0;g<c;g++){const A=f.charAt(g);switch(A){case"\0":i+="\x01\x10";break;case"\x01":i+="\x01\x11";break;default:i+=A}}return i}function Xs(f){return f+"\x01\x01"}function Fs(f){const e=f.length;if(yt(e>=2,64408,{path:f}),2===e)return yt("\x01"===f.charAt(0)&&"\x01"===f.charAt(1),56145,{path:f}),ii.emptyPath();const i=e-2,c=[];let g="";for(let A=0;A<e;){const U=f.indexOf("\x01",A);switch((U<0||U>i)&&Te(50515,{path:f}),f.charAt(U+1)){case"\x01":const se=f.substring(A,U);let Se;0===g.length?Se=se:(g+=se,Se=g,g=""),c.push(Se);break;case"\x10":g+=f.substring(A,U),g+="\0";break;case"\x11":g+=f.substring(A,U+1);break;default:Te(61167,{path:f})}A=U+2}return new ii(c)}const po="remoteDocuments",Ks="owner",as="owner",Pn="mutationQueues",Ni="mutations",Jt="batchId",Ri="userMutationsIndex",Q=["userId","batchId"];function st(f,e){return[f,Ns(e)]}function ot(f,e,i){return[f,Ns(e),i]}const bn={},_i="documentMutations",Yr="remoteDocumentsV14",oo=["prefixPath","collectionGroup","readTime","documentId"],to="documentKeyIndex",Ho=["prefixPath","collectionGroup","documentId"],Co="collectionGroupIndex",ia=["collectionGroup","readTime","prefixPath","documentId"],Dt="remoteDocumentGlobal",An="remoteDocumentGlobalKey",Lt="targets",sn="queryTargetsIndex",dt=["canonicalId","targetId"],qi="targetDocuments",br=["targetId","path"],$i="documentTargetsIndex",Es=["path","targetId"],Mn="targetGlobalKey",Fn="targetGlobal",Vn="collectionParents",Ii=["collectionId","parent"],Ui="clientMetadata",fs="bundles",ls="namedQueries",Jo="indexConfiguration",As="collectionGroupIndex",Ct="indexState",xt=["indexId","uid"],kn="sequenceNumberIndex",Hn=["uid","sequenceNumber"],fi="indexEntries",Hi=["indexId","uid","arrayValue","directionalValue","orderedDocumentKey","documentKey"],ur="documentKeyIndex",Lr=["indexId","uid","orderedDocumentKey"],Or="documentOverlays",is=["userId","collectionPath","documentId"],Gr="collectionPathOverlayIndex",lo=["userId","collectionPath","largestBatchId"],ms="collectionGroupOverlayIndex",Gs=["userId","collectionGroup","largestBatchId"],No="globals",Oo=[Pn,Ni,_i,po,Lt,Ks,Fn,qi,Ui,Dt,Vn,fs,ls],qo=[...Oo,Or],Js=[Pn,Ni,_i,Yr,Lt,Ks,Fn,qi,Ui,Dt,Vn,fs,ls,Or],ko=Js,Uo=[...ko,Jo,Ct,fi],no=Uo,la=[...Uo,No],Ka=la;class Qa extends ke{constructor(e,i){super(),this.ce=e,this.currentSequenceNumber=i}}function cs(f,e){const i=Ie(f);return gt.N(i.ce,e)}function ll(f){let e=0;for(const i in f)Object.prototype.hasOwnProperty.call(f,i)&&e++;return e}function wo(f,e){for(const i in f)Object.prototype.hasOwnProperty.call(f,i)&&e(i,f[i])}function Us(f){for(const e in f)if(Object.prototype.hasOwnProperty.call(f,e))return!1;return!0}class Ps{constructor(e,i){this.comparator=e,this.root=i||ea.EMPTY}insert(e,i){return new Ps(this.comparator,this.root.insert(e,i,this.comparator).copy(null,null,ea.BLACK,null,null))}remove(e){return new Ps(this.comparator,this.root.remove(e,this.comparator).copy(null,null,ea.BLACK,null,null))}get(e){let i=this.root;for(;!i.isEmpty();){const c=this.comparator(e,i.key);if(0===c)return i.value;c<0?i=i.left:c>0&&(i=i.right)}return null}indexOf(e){let i=0,c=this.root;for(;!c.isEmpty();){const g=this.comparator(e,c.key);if(0===g)return i+c.left.size;g<0?c=c.left:(i+=c.left.size+1,c=c.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(e){return this.root.inorderTraversal(e)}forEach(e){this.inorderTraversal((i,c)=>(e(i,c),!1))}toString(){const e=[];return this.inorderTraversal((i,c)=>(e.push(`${i}:${c}`),!1)),`{${e.join(", ")}}`}reverseTraversal(e){return this.root.reverseTraversal(e)}getIterator(){return new ba(this.root,null,this.comparator,!1)}getIteratorFrom(e){return new ba(this.root,e,this.comparator,!1)}getReverseIterator(){return new ba(this.root,null,this.comparator,!0)}getReverseIteratorFrom(e){return new ba(this.root,e,this.comparator,!0)}}class ba{constructor(e,i,c,g){this.isReverse=g,this.nodeStack=[];let A=1;for(;!e.isEmpty();)if(A=i?c(e.key,i):1,i&&g&&(A*=-1),A<0)e=this.isReverse?e.left:e.right;else{if(0===A){this.nodeStack.push(e);break}this.nodeStack.push(e),e=this.isReverse?e.right:e.left}}getNext(){let e=this.nodeStack.pop();const i={key:e.key,value:e.value};if(this.isReverse)for(e=e.left;!e.isEmpty();)this.nodeStack.push(e),e=e.right;else for(e=e.right;!e.isEmpty();)this.nodeStack.push(e),e=e.left;return i}hasNext(){return this.nodeStack.length>0}peek(){if(0===this.nodeStack.length)return null;const e=this.nodeStack[this.nodeStack.length-1];return{key:e.key,value:e.value}}}class ea{constructor(e,i,c,g,A){this.key=e,this.value=i,this.color=c??ea.RED,this.left=g??ea.EMPTY,this.right=A??ea.EMPTY,this.size=this.left.size+1+this.right.size}copy(e,i,c,g,A){return new ea(e??this.key,i??this.value,c??this.color,g??this.left,A??this.right)}isEmpty(){return!1}inorderTraversal(e){return this.left.inorderTraversal(e)||e(this.key,this.value)||this.right.inorderTraversal(e)}reverseTraversal(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(e,i,c){let g=this;const A=c(e,g.key);return g=A<0?g.copy(null,null,null,g.left.insert(e,i,c),null):0===A?g.copy(null,i,null,null,null):g.copy(null,null,null,null,g.right.insert(e,i,c)),g.fixUp()}removeMin(){if(this.left.isEmpty())return ea.EMPTY;let e=this;return e.left.isRed()||e.left.left.isRed()||(e=e.moveRedLeft()),e=e.copy(null,null,null,e.left.removeMin(),null),e.fixUp()}remove(e,i){let c,g=this;if(i(e,g.key)<0)g.left.isEmpty()||g.left.isRed()||g.left.left.isRed()||(g=g.moveRedLeft()),g=g.copy(null,null,null,g.left.remove(e,i),null);else{if(g.left.isRed()&&(g=g.rotateRight()),g.right.isEmpty()||g.right.isRed()||g.right.left.isRed()||(g=g.moveRedRight()),0===i(e,g.key)){if(g.right.isEmpty())return ea.EMPTY;c=g.right.min(),g=g.copy(c.key,c.value,null,null,g.right.removeMin())}g=g.copy(null,null,null,null,g.right.remove(e,i))}return g.fixUp()}isRed(){return this.color}fixUp(){let e=this;return e.right.isRed()&&!e.left.isRed()&&(e=e.rotateLeft()),e.left.isRed()&&e.left.left.isRed()&&(e=e.rotateRight()),e.left.isRed()&&e.right.isRed()&&(e=e.colorFlip()),e}moveRedLeft(){let e=this.colorFlip();return e.right.left.isRed()&&(e=e.copy(null,null,null,null,e.right.rotateRight()),e=e.rotateLeft(),e=e.colorFlip()),e}moveRedRight(){let e=this.colorFlip();return e.left.left.isRed()&&(e=e.rotateRight(),e=e.colorFlip()),e}rotateLeft(){const e=this.copy(null,null,ea.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)}rotateRight(){const e=this.copy(null,null,ea.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)}colorFlip(){const e=this.left.copy(null,null,!this.left.color,null,null),i=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,i)}checkMaxDepth(){const e=this.check();return Math.pow(2,e)<=this.size+1}check(){if(this.isRed()&&this.left.isRed())throw Te(43730,{key:this.key,value:this.value});if(this.right.isRed())throw Te(14113,{key:this.key,value:this.value});const e=this.left.check();if(e!==this.right.check())throw Te(27949);return e+(this.isRed()?0:1)}}
1ea.EMPTY=null,ea.RED=!0,ea.BLACK=!1,ea.EMPTY=new class{constructor(){this.size=0}get key(){throw Te(57766)}get value(){throw Te(16141)}get color(){throw Te(16727)}get left(){throw Te(29726)}get right(){throw Te(36894)}copy(e,i,c,g,A){return this}insert(e,i,c){return new ea(e,i)}remove(e,i){return this}isEmpty(){return!0}inorderTraversal(e){return!1}reverseTraversal(e){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};class Os{constructor(e){this.comparator=e,this.data=new Ps(this.comparator)}has(e){return null!==this.data.get(e)}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(e){return this.data.indexOf(e)}forEach(e){this.data.inorderTraversal((i,c)=>(e(i),!1))}forEachInRange(e,i){const c=this.data.getIteratorFrom(e[0]);for(;c.hasNext();){const g=c.getNext();if(this.comparator(g.key,e[1])>=0)return;i(g.key)}}forEachWhile(e,i){let c;for(c=void 0!==i?this.data.getIteratorFrom(i):this.data.getIterator();c.hasNext();)if(!e(c.getNext().key))return}firstAfterOrEqual(e){const i=this.data.getIteratorFrom(e);return i.hasNext()?i.getNext().key:null}getIterator(){return new pl(this.data.getIterator())}getIteratorFrom(e){return new pl(this.data.getIteratorFrom(e))}add(e){return this.copy(this.data.remove(e).insert(e,!0))}delete(e){return this.has(e)?this.copy(this.data.remove(e)):this}isEmpty(){return this.data.isEmpty()}unionWith(e){let i=this;return i.size<e.size&&(i=e,e=this),e.forEach(c=>{i=i.add(c)}),i}isEqual(e){if(!(e instanceof Os)||this.size!==e.size)return!1;const i=this.data.getIterator(),c=e.data.getIterator();for(;i.hasNext();){const g=i.getNext().key,A=c.getNext().key;if(0!==this.comparator(g,A))return!1}return!0}toArray(){const e=[];return this.forEach(i=>{e.push(i)}),e}toString(){const e=[];return this.forEach(i=>e.push(i)),"SortedSet("+e.toString()+")"}copy(e){const i=new Os(this.comparator);return i.data=e,i}}class pl{constructor(e){this.iter=e}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}function Sa(f){return f.hasNext()?f.getNext():void 0}class Fo{constructor(e){this.fields=e,e.sort(Sn.comparator)}static empty(){return new Fo([])}unionWith(e){let i=new Os(Sn.comparator);for(const c of this.fields)i=i.add(c);for(const c of e)i=i.add(c);return new Fo(i.toArray())}covers(e){for(const i of this.fields)if(i.isPrefixOf(e))return!0;return!1}isEqual(e){return di(this.fields,e.fields,(i,c)=>i.isEqual(c))}}class ca extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}function Ea(){return typeof atob<"u"}class Mo{constructor(e){this.binaryString=e}static fromBase64String(e){const i=function(g){try{return atob(g)}catch(A){throw typeof DOMException<"u"&&A instanceof DOMException?new ca("Invalid base64 string: "+A):A}}(e);return new Mo(i)}static fromUint8Array(e){const i=function(g){let A="";for(let U=0;U<g.length;++U)A+=String.fromCharCode(g[U]);return A}(e);return new Mo(i)}[Symbol.iterator](){let e=0;return{next:()=>e<this.binaryString.length?{value:this.binaryString.charCodeAt(e++),done:!1}:{value:void 0,done:!0}}}toBase64(){return btoa(this.binaryString)}toUint8Array(){return function(i){const c=new Uint8Array(i.length);for(let g=0;g<i.length;g++)c[g]=i.charCodeAt(g);return c}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(e){return Tn(this.binaryString,e.binaryString)}isEqual(e){return this.binaryString===e.binaryString}}Mo.EMPTY_BYTE_STRING=new Mo("");const pa=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function xa(f){if(yt(!!f,39018),"string"==typeof f){let e=0;const i=pa.exec(f);
1if(yt(!!i,46558,{timestamp:f}),i[1]){let g=i[1];g=(g+"000000000").substr(0,9),e=Number(g)}const c=new Date(f);return{seconds:Math.floor(c.getTime()/1e3),nanos:e}}return{seconds:Kr(f.seconds),nanos:Kr(f.nanos)}}function Kr(f){return"number"==typeof f?f:"string"==typeof f?Number(f):0}function _l(f){return"string"==typeof f?Mo.fromBase64String(f):Mo.fromUint8Array(f)}const el="server_timestamp",tl="__type__",tt="__previous_value__",Et="__local_write_time__";function pe(f){var e,i;return(null===(i=((null===(e=f?.mapValue)||void 0===e?void 0:e.fields)||{})[tl])||void 0===i?void 0:i.stringValue)===el}function Gt(f){const e=f.mapValue.fields[tt];return pe(e)?Gt(e):e}function Ln(f){const e=xa(f.mapValue.fields[Et].timestampValue);return new we(e.seconds,e.nanos)}class Qr{constructor(e,i,c,g,A,U,se,Se,ut,Qt){this.databaseId=e,this.appId=i,this.persistenceKey=c,this.host=g,this.ssl=A,this.forceLongPolling=U,this.autoDetectLongPolling=se,this.longPollingOptions=Se,this.useFetchStreams=ut,this.isUsingEmulator=Qt}}const Ds="(default)";class _o{constructor(e,i){this.projectId=e,this.database=i||Ds}static empty(){return new _o("","")}get isDefaultDatabase(){return this.database===Ds}isEqual(e){return e instanceof _o&&e.projectId===this.projectId&&e.database===this.database}}const Yo="__type__",Da="__max__",Ha={mapValue:{fields:{__type__:{stringValue:Da}}}},ja="__vector__",Ya="value",cl={nullValue:"NULL_VALUE"};function Ra(f){return"nullValue"in f?0:"booleanValue"in f?1:"integerValue"in f||"doubleValue"in f?2:"timestampValue"in f?3:"stringValue"in f?5:"bytesValue"in f?6:"referenceValue"in f?7:"geoPointValue"in f?8:"arrayValue"in f?9:"mapValue"in f?pe(f)?4:dc(f)?9007199254740991:qs(f)?10:11:Te(28295,{value:f})}function gi(f,e){if(f===e)return!0;const i=Ra(f);if(i!==Ra(e))return!1;switch(i){case 0:case 9007199254740991:return!0;case 1:return f.booleanValue===e.booleanValue;case 4:return Ln(f).isEqual(Ln(e));case 3:return function(g,A){if("string"==typeof g.timestampValue&&"string"==typeof A.timestampValue&&g.timestampValue.length===A.timestampValue.length)return g.timestampValue===A.timestampValue;const U=xa(g.timestampValue),se=xa(A.timestampValue);return U.seconds===se.seconds&&U.nanos===se.nanos}(f,e);case 5:return f.stringValue===e.stringValue;case 6:return A=e,_l(f.bytesValue).isEqual(_l(A.bytesValue));case 7:return f.referenceValue===e.referenceValue;case 8:return function(g,A){return Kr(g.geoPointValue.latitude)===Kr(A.geoPointValue.latitude)&&Kr(g.geoPointValue.longitude)===Kr(A.geoPointValue.longitude)}(f,e);case 2:return function(g,A){if("integerValue"in g&&"integerValue"in A)return Kr(g.integerValue)===Kr(A.integerValue);if("doubleValue"in g&&"doubleValue"in A){const U=Kr(g.doubleValue),se=Kr(A.doubleValue);return U===se?Cr(U)===Cr(se):isNaN(U)&&isNaN(se)}return!1}(f,e);case 9:return di(f.arrayValue.values||[],e.arrayValue.values||[],gi);case 10:case 11:return function(g,A){const U=g.mapValue.fields||{},se=A.mapValue.fields||{};if(ll(U)!==ll(se))return!1;for(const Se in U)if(U.hasOwnProperty(Se)&&(void 0===se[Se]||!gi(U[Se],se[Se])))return!1;return!0}(f,e);default:return Te(52216,{left:f})}var A}function gr(f,e){return void 0!==(f.values||[]).find(i=>gi(i,e))}function ct(f,e){if(f===e)return 0;const i=Ra(f),c=Ra(e);if(i!==c)return Tn(i,c);switch(i){case 0:case 9007199254740991:return 0;case 1:return Tn(f.booleanValue,e.booleanValue);case 2:return function(A,U){const se=Kr(A.integerValue||A.doubleValue),Se=Kr(U.integerValue||U.doubleValue);return se<Se?-1:se>Se?1:se===Se?0:isNaN(se)?isNaN(Se)?0:-1:1}(f,e);case 3:return En(f.timestampValue,e.timestampValue);case 4:return En(Ln(f),Ln(e));case 5:return Yn(f.stringValue,e.stringValue);case 6:return function(A,U){const se=_l(A),Se=_l(U);return se.compareTo(Se)}(f.bytesValue,e.bytesValue);case 7:return function(A,U){const se=A.split("/"),Se=U.split("/");for(let ut=0;ut<se.length&&ut<Se.length;ut++){const Qt=Tn(se[ut],Se[ut]);if(0!==Qt)return Qt}return Tn(se.length,Se.length)}(f.referenceValue,e.referenceValue);case 8:return function(A,U){const se=Tn(Kr(A.latitude),Kr(U.latitude));return 0!==se?se:Tn(Kr(A.longitude),Kr(U.longitude))}(f.geoPointValue,e.geoPointValue);case 9:return oi(f.arrayValue,e.arrayValue);case 10:return function(A,U){var se,Se,ut,Qt;
1const ji=null===(se=(A.fields||{})[Ya])||void 0===se?void 0:se.arrayValue,hr=null===(Se=(U.fields||{})[Ya])||void 0===Se?void 0:Se.arrayValue,kr=Tn((null===(ut=ji?.values)||void 0===ut?void 0:ut.length)||0,(null===(Qt=hr?.values)||void 0===Qt?void 0:Qt.length)||0);return 0!==kr?kr:oi(ji,hr)}(f.mapValue,e.mapValue);case 11:return function(A,U){if(A===Ha.mapValue&&U===Ha.mapValue)return 0;if(A===Ha.mapValue)return 1;if(U===Ha.mapValue)return-1;const se=A.fields||{},Se=Object.keys(se),ut=U.fields||{},Qt=Object.keys(ut);Se.sort(),Qt.sort();for(let vn=0;vn<Se.length&&vn<Qt.length;++vn){const Kn=Yn(Se[vn],Qt[vn]);if(0!==Kn)return Kn;const ji=ct(se[Se[vn]],ut[Qt[vn]]);if(0!==ji)return ji}return Tn(Se.length,Qt.length)}(f.mapValue,e.mapValue);default:throw Te(23264,{le:i})}}function En(f,e){if("string"==typeof f&&"string"==typeof e&&f.length===e.length)return Tn(f,e);const i=xa(f),c=xa(e),g=Tn(i.seconds,c.seconds);return 0!==g?g:Tn(i.nanos,c.nanos)}function oi(f,e){const i=f.values||[],c=e.values||[];for(let g=0;g<i.length&&g<c.length;++g){const A=ct(i[g],c[g]);if(A)return A}return Tn(i.length,c.length)}function yr(f){return Xr(f)}function Xr(f){return"nullValue"in f?"null":"booleanValue"in f?""+f.booleanValue:"integerValue"in f?""+f.integerValue:"doubleValue"in f?""+f.doubleValue:"timestampValue"in f?function(i){const c=xa(i);return`time(${c.seconds},${c.nanos})`}(f.timestampValue):"stringValue"in f?f.stringValue:"bytesValue"in f?_l(f.bytesValue).toBase64():"referenceValue"in f?ci.fromName(f.referenceValue).toString():"geoPointValue"in f?function(i){return`geo(${i.latitude},${i.longitude})`}(f.geoPointValue):"arrayValue"in f?function(i){let c="[",g=!0;for(const A of i.values||[])g?g=!1:c+=",",c+=Xr(A);return c+"]"}(f.arrayValue):"mapValue"in f?function(i){const c=Object.keys(i.fields||{}).sort();let g="{",A=!0;for(const U of c)A?A=!1:g+=",",g+=`${U}:${Xr(i.fields[U])}`;return g+"}"}(f.mapValue):Te(61005,{value:f})}function ho(f){switch(Ra(f)){case 0:case 1:return 4;case 2:return 8;case 3:case 8:return 16;case 4:const e=Gt(f);return e?16+ho(e):16;case 5:return 2*f.stringValue.length;case 6:return _l(f.bytesValue).approximateByteSize();case 7:return f.referenceValue.length;case 9:return(f.arrayValue.values||[]).reduce((g,A)=>g+ho(A),0);case 10:case 11:return function(c){let g=0;return wo(c.fields,(A,U)=>{g+=A.length+ho(U)}),g}(f.mapValue);default:throw Te(13486,{value:f})}}function ri(f,e){return{referenceValue:`projects/${f.projectId}/databases/${f.database}/documents/${e.path.canonicalString()}`}}function nr(f){return!!f&&"integerValue"in f}function Pi(f){return!!f&&"arrayValue"in f}function Nr(f){return!!f&&"nullValue"in f}function Bs(f){return!!f&&"doubleValue"in f&&isNaN(Number(f.doubleValue))}function Qs(f){return!!f&&"mapValue"in f}function qs(f){var e,i;return(null===(i=((null===(e=f?.mapValue)||void 0===e?void 0:e.fields)||{})[Yo])||void 0===i?void 0:i.stringValue)===ja}function eo(f){if(f.geoPointValue)return{geoPointValue:Object.assign({},f.geoPointValue)};if(f.timestampValue&&"object"==typeof f.timestampValue)return{timestampValue:Object.assign({},f.timestampValue)};if(f.mapValue){const e={mapValue:{fields:{}}};return wo(f.mapValue.fields,(i,c)=>e.mapValue.fields[i]=eo(c)),e}if(f.arrayValue){const e={arrayValue:{values:[]}};for(let i=0;i<(f.arrayValue.values||[]).length;++i)e.arrayValue.values[i]=eo(f.arrayValue.values[i]);return e}return Object.assign({},f)}function dc(f){return(((f.mapValue||{}).fields||{}).__type__||{}).stringValue===Da}const Cc={mapValue:{fields:{[Yo]:{stringValue:ja},[Ya]:{arrayValue:{}}}}};function nl(f){return"nullValue"in f?cl:"booleanValue"in f?{booleanValue:!1}:"integerValue"in f||"doubleValue"in f?{doubleValue:NaN}:"timestampValue"in f?{timestampValue:{seconds:Number.MIN_SAFE_INTEGER}}:"stringValue"in f?{stringValue:""}:"bytesValue"in f?{bytesValue:""}:"referenceValue"in f?ri(_o.empty(),ci.empty()):"geoPointValue"in f?{geoPointValue:{latitude:-90,longitude:-180}}:"arrayValue"in f?{arrayValue:{}}:"mapValue"in f?qs(f)?Cc:{mapValue:{}}:Te(35942,{value:f})}function Sl(f){return"nullValue"in f?{booleanValue:!1}:"booleanValue"in f?{doubleValue:NaN}:"integerValue"in f||"doubleValue"in f?{timestampValue:{seconds:Number.MIN_SAFE_INTEGER}}:"timestampValue"in f?{stringValue:""}:"stringValue"in f?{bytesValue:""}
vendor: 4,921 bytes, line 1
1:"bytesValue"in f?ri(_o.empty(),ci.empty()):"referenceValue"in f?{geoPointValue:{latitude:-90,longitude:-180}}:"geoPointValue"in f?{arrayValue:{}}:"arrayValue"in f?Cc:"mapValue"in f?qs(f)?{mapValue:{}}:Ha:Te(61959,{value:f})}function uc(f,e){const i=ct(f.value,e.value);return 0!==i?i:f.inclusive&&!e.inclusive?-1:!f.inclusive&&e.inclusive?1:0}function il(f,e){const i=ct(f.value,e.value);return 0!==i?i:f.inclusive&&!e.inclusive?1:!f.inclusive&&e.inclusive?-1:0}class da{constructor(e){this.value=e}static empty(){return new da({mapValue:{}})}field(e){if(e.isEmpty())return this.value;{let i=this.value;for(let c=0;c<e.length-1;++c)if(i=(i.mapValue.fields||{})[e.get(c)],!Qs(i))return null;return i=(i.mapValue.fields||{})[e.lastSegment()],i||null}}set(e,i){this.getFieldsMap(e.popLast())[e.lastSegment()]=eo(i)}setAll(e){let i=Sn.emptyPath(),c={},g=[];e.forEach((U,se)=>{if(!i.isImmediateParentOf(se)){const Se=this.getFieldsMap(i);this.applyChanges(Se,c,g),c={},g=[],i=se.popLast()}U?c[se.lastSegment()]=eo(U):g.push(se.lastSegment())});const A=this.getFieldsMap(i);this.applyChanges(A,c,g)}delete(e){const i=this.field(e.popLast());Qs(i)&&i.mapValue.fields&&delete i.mapValue.fields[e.lastSegment()]}isEqual(e){return gi(this.value,e.value)}getFieldsMap(e){let i=this.value;i.mapValue.fields||(i.mapValue={fields:{}});for(let c=0;c<e.length;++c){let g=i.mapValue.fields[e.get(c)];Qs(g)&&g.mapValue.fields||(g={mapValue:{fields:{}}},i.mapValue.fields[e.get(c)]=g),i=g}return i.mapValue.fields}applyChanges(e,i,c){wo(i,(g,A)=>e[g]=A);for(const g of c)delete e[g]}clone(){return new da(eo(this.value))}}function hc(f){const e=[];return wo(f.fields,(i,c)=>{const g=new Sn([i]);if(Qs(c)){const A=hc(c.mapValue).fields;if(0===A.length)e.push(g);else for(const U of A)e.push(g.child(U))}else e.push(g)}),new Fo(e)}class ps{constructor(e,i,c,g,A,U,se){this.key=e,this.documentType=i,this.version=c,this.readTime=g,this.createTime=A,this.data=U,this.documentState=se}static newInvalidDocument(e){return new ps(e,0,_e.min(),_e.min(),_e.min(),da.empty(),0)}static newFoundDocument(e,i,c,g){return new ps(e,1,i,_e.min(),c,g,0)}static newNoDocument(e,i){return new ps(e,2,i,_e.min(),_e.min(),da.empty(),0)}static newUnknownDocument(e,i){return new ps(e,3,i,_e.min(),_e.min(),da.empty(),2)}convertToFoundDocument(e,i){return!this.createTime.isEqual(_e.min())||2!==this.documentType&&0!==this.documentType||(this.createTime=e),this.version=e,this.documentType=1,this.data=i,this.documentState=0,this}convertToNoDocument(e){return this.version=e,this.documentType=2,this.data=da.empty(),this.documentState=0,this}convertToUnknownDocument(e){return this.version=e,this.documentType=3,this.data=da.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=_e.min(),this}setReadTime(e){return this.readTime=e,this}get hasLocalMutations(){return 1===this.documentState}get hasCommittedMutations(){return 2===this.documentState}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return 0!==this.documentType}isFoundDocument(){return 1===this.documentType}isNoDocument(){return 2===this.documentType}isUnknownDocument(){return 3===this.documentType}isEqual(e){return e instanceof ps&&this.key.isEqual(e.key)&&this.version.isEqual(e.version)&&this.documentType===e.documentType&&this.documentState===e.documentState&&this.data.isEqual(e.data)}mutableCopy(){return new ps(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}class wa{constructor(e,i){this.position=e,this.inclusive=i}}function fc(f,e,i){let c=0;for(let g=0;g<f.position.length;g++){const A=e[g],U=f.position[g];if(c=A.field.isKeyField()?ci.comparator(ci.fromName(U.referenceValue),i.key):ct(U,i.data.field(A.field)),"desc"===A.dir&&(c*=-1),0!==c)break}return c}function gl(f,e){if(null===f)return null===e;if(null===e||f.inclusive!==e.inclusive||f.position.length!==e.position.length)return!1;for(let i=0;i<f.position.length;i++)if(!gi(f.position[i],e.position[i]))return!1;return!0}class dl{constructor(e,i="asc"){this.field=e,this.dir=i}}function mc(f,e){return f.dir===e.dir&&f.field.isEqual(e.field)}class Ac{}class Ws extends Ac{constructor(e,i,c){super(),this.field=e,this.op=i,this.value=c}static create(e,i,c){return e.isKeyField()?"in"===i||"not-in"===i?this.createKeyFieldInFilter(e,i,c):new ha(e,i,c):"array-contains"===i?new cd(e,c):"in"===i?new Sc(e,c):"not-in"===i?new rc(e,c):"array-contains-any"===i?new dd(e,c):new Ws(e,i,c)}static createKeyFieldInFilter(e,i,c){return"in"===i?new Pa(e,c):new ld(e,c)}matches(e){const i=e.data.field(this.field);
1return"!="===this.op?null!==i&&void 0===i.nullValue&&this.matchesComparison(ct(i,this.value)):null!==i&&Ra(this.value)===Ra(i)&&this.matchesComparison(ct(i,this.value))}matchesComparison(e){switch(this.op){case"<":return e<0;case"<=":return e<=0;case"==":return 0===e;case"!=":return 0!==e;case">":return e>0;case">=":return e>=0;default:return Te(47266,{operator:this.op})}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class go extends Ac{constructor(e,i){super(),this.filters=e,this.op=i,this.he=null}static create(e,i){return new go(e,i)}matches(e){return Fa(this)?void 0===this.filters.find(i=>!i.matches(e)):void 0!==this.filters.find(i=>i.matches(e))}getFlattenedFilters(){return null!==this.he||(this.he=this.filters.reduce((e,i)=>e.concat(i.getFlattenedFilters()),[])),this.he}getFilters(){return Object.assign([],this.filters)}}function Fa(f){return"and"===f.op}function Ll(f){return"or"===f.op}function Go(f){return kc(f)&&Fa(f)}function kc(f){for(const e of f.filters)if(e instanceof go)return!1;return!0}function vl(f){if(f instanceof Ws)return f.field.canonicalString()+f.op.toString()+yr(f.value);if(Go(f))return f.filters.map(e=>vl(e)).join(",");{const e=f.filters.map(i=>vl(i)).join(",");return`${f.op}(${e})`}}function Tl(f,e){return f instanceof Ws?(c=f,(g=e)instanceof Ws&&c.op===g.op&&c.field.isEqual(g.field)&&gi(c.value,g.value)):f instanceof go?function(c,g){return g instanceof go&&c.op===g.op&&c.filters.length===g.filters.length&&c.filters.reduce((A,U,se)=>A&&Tl(U,g.filters[se]),!0)}(f,e):void Te(19439);var c,g}function Nl(f,e){const i=f.filters.concat(e);return go.create(i,f.op)}function vs(f){return f instanceof Ws?`${(i=f).field.canonicalString()} ${i.op} ${yr(i.value)}`:f instanceof go?function(i){return i.op.toString()+" {"+i.getFilters().map(vs).join(" ,")+"}"}(f):"Filter";var i}class ha extends Ws{constructor(e,i,c){super(e,i,c),this.key=ci.fromN
1ame(c.referenceValue)}matches(e){const i=ci.comparator(e.key,this.key);return this.matchesComparison(i)}}class Pa extends Ws{constructor(e,i){super(e,"in",i),this.keys=$c(0,i)}matches(e){return this.keys.some(i=>i.isEqual(e.key))}}class ld extends Ws{constructor(e,i){super(e,"not-in",i),this.keys=$c(0,i)}matches(e){return!this.keys.some(i=>i.isEqual(e.key))}}function $c(f,e){var i;return((null===(i=e.arrayValue)||void 0===i?void 0:i.values)||[]).map(c=>ci.fromName(c.referenceValue))}class cd extends Ws{constructor(e,i){super(e,"array-contains",i)}matches(e){const i=e.data.field(this.field);return Pi(i)&&gr(i.arrayValue,this.value)}}class Sc extends Ws{constructor(e,i){super(e,"in",i)}matches(e){const i=e.data.field(this.field);return null!==i&&gr(this.value.arrayValue,i)}}class rc extends Ws{constructor(e,i){super(e,"not-in",i)}matches(e){if(gr(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const i=e.data.field(this.field);return null!==i&&void 0===i.nullValue&&!gr(this.value.arrayValue,i)}}class dd extends Ws{constructor(e,i){super(e,"array-contains-any",i)}matches(e){const i=e.data.field(this.field);return!(!Pi(i)||!i.arrayValue.values)&&i.arrayValue.values.some(c=>gr(this.value.arrayValue,c))}}class xl{constructor(e,i=null,c=[],g=[],A=null,U=null,se=null){this.path=e,this.collectionGroup=i,this.orderBy=c,this.filters=g,this.limit=A,this.startAt=U,this.endAt=se,this.Pe=null}}function $l(f,e=null,i=[],c=[],g=null,A=null,U=null){return new xl(f,e,i,c,g,A,U)}function Gl(f){const e=Ie(f);if(null===e.Pe){let i=e.path.canonicalString();null!==e.collectionGroup&&(i+="|cg:"+e.collectionGroup),i+="|f:",i+=e.filters.map(c=>vl(c)).join(","),i+="|ob:",i+=e.orderBy.map(c=>{return(A=c).field.canonicalString()+A.dir;var A}).join(","),_r(e.limit)||(i+="|l:",i+=e.limit),e.startAt&&(i+="|lb:",i+=e.startAt.inclusive?"b:":"a:",i+=e.startAt.position.map(c=>yr(c)).join(",")),e.endAt&&(i+="|ub:",i+=e.endAt.inclusive?"a:":"b:",i+=e.endAt.position.map(c=>yr(c)).join(",")),e.Pe=i}return e.Pe}function Fl(f,e){if(f.limit!==e.limit||f.orderBy.length!==e.orderBy.length)return!1;for(let i=0;i<f.orderBy.length;i++)if(!mc(f.orderBy[i],e.orderBy[i]))return!1;if(f.filters.length!==e.filters.length)return!1;for(let i=0;i<f.filters.length;i++)if(!Tl(f.filters[i],e.filters[i]))return!1;return f.collectionGroup===e.collectionGroup&&!!f.path.isEqual(e.path)&&!!gl(f.startAt,e.startAt)&&gl(f.endAt,e.endAt)}function zo(f){return ci.isDocumentKey(f.path)&&null===f.collectionGroup&&0===f.filters.length}function ne(f,e){return f.filters.filter(i=>i instanceof Ws&&i.field.isEqual(e))}function Oe(f,e,i){let c=cl,g=!0;for(const A of ne(f,e)){let U=cl,se=!0;switch(A.op){case"<":case"<=":U=nl(A.value);break;case"==":case"in":case">=":U=A.value;break;case">":U=A.value,se=!1;break;case"!=":case"not-in":U=cl}uc({value:c,inclusive:g},{value:U,inclusive:se})<0&&(c=U,g=se)}if(null!==i)for(let A=0;A<f.orderBy.length;++A)if(f.orderBy[A].field.isEqual(e)){const U=i.position[A];uc({value:c,inclusive:g},{value:U,inclusive:i.inclusive})<0&&(c=U,g=i.inclusive);break}return{value:c,inclusive:g}}function me(f,e,i){let c=Ha,g=!0;for(const A of ne(f,e)){let U=Ha,se=!0;switch(A.op){case">=":case">":U=Sl(A.value),se=!1;break;case"==":case"in":case"<=":U=A.value;break;case"<":U=A.value,se=!1;break;case"!=":case"not-in":U=Ha}il({value:c,inclusive:g},{value:U,inclusive:se})>0&&(c=U,g=se)}if(null!==i)for(let A=0;A<f.orderBy.length;++A)if(f.orderBy[A].field.isEqual(e)){const U=i.position[A];il({value:c,inclusive:g},{value:U,inclusive:i.inclusive})>0&&(c=U,g=i.inclusive);break}return{value:c,inclusive:g}}class Re{constructor(e,i=null,c=[],g=[],A=null,U="F",se=null,Se=null){this.path=e,this.collectionGroup=i,this.explicitOrderBy=c,this.filters=g,this.limit=A,this.limitType=U,this.startAt=se,this.endAt=Se,this.Te=null,this.Ie=null,this.de=null}}function Rt(f,e,i,c,g,A,U,se){return new Re(f,e,i,c,g,A,U,se)}function Xt(f){return new Re(f)}function Cn(f){return 0===f.filters.length&&null===f.limit&&null==f.startAt&&null==f.endAt&&(0===f.explicitOrderBy.length||1===f.explicitOrderBy.length&&f.explicitOrderBy[0].field.isKeyField())}function mi(f){return null!==f.collectionGroup}function Zi(f){const e=Ie(f);if(null===e.Te){e.Te=[];const i=new Set;for(const A of e.explicitOrderBy)e.Te.push(A),i.add(A.field.canonicalString());const c=e.explicitOrderBy.length>0?e.explicitOrderBy[e.explicitOrderBy.length-1].dir:"asc";(function(U){let se=new Os(Sn.comparator);
1return U.filters.forEach(Se=>{Se.getFlattenedFilters().forEach(ut=>{ut.isInequality()&&(se=se.add(ut.field))})}),se})(e).forEach(A=>{i.has(A.canonicalString())||A.isKeyField()||e.Te.push(new dl(A,c))}),i.has(Sn.keyField().canonicalString())||e.Te.push(new dl(Sn.keyField(),c))}return e.Te}function Ar(f){const e=Ie(f);return e.Ie||(e.Ie=function _a(f,e){if("F"===f.limitType)return $l(f.path,f.collectionGroup,e,f.filters,f.limit,f.startAt,f.endAt);{e=e.map(g=>new dl(g.field,"desc"===g.dir?"asc":"desc"));const i=f.endAt?new wa(f.endAt.position,f.endAt.inclusive):null,c=f.startAt?new wa(f.startAt.position,f.startAt.inclusive):null;return $l(f.path,f.collectionGroup,e,f.filters,f.limit,i,c)}}(e,Zi(f))),e.Ie}function Ta(f,e){const i=f.filters.concat([e]);return new Re(f.path,f.collectionGroup,f.explicitOrderBy.slice(),i,f.limit,f.limitType,f.startAt,f.endAt)}function Oa(f,e,i){return new Re(f.path,f.collectionGroup,f.explicitOrderBy.slice(),f.filters.slice(),e,i,f.startAt,f.endAt)}function pr(f,e){return Fl(Ar(f),Ar(e))&&f.limitType===e.limitType}function io(f){return`${Gl(Ar(f))}|lt:${f.limitType}`}function So(f){return`Query(target=${function(i){let c=i.path.canonicalString();return null!==i.collectionGroup&&(c+=" collectionGroup="+i.collectionGroup),i.filters.length>0&&(c+=`, filters: [${i.filters.map(g=>vs(g)).join(", ")}]`),_r(i.limit)||(c+=", limit: "+i.limit),i.orderBy.length>0&&(c+=`, orderBy: [${i.orderBy.map(g=>{return`${(U=g).field.canonicalString()} (${U.dir})`;var U}).join(", ")}]`),i.startAt&&(c+=", startAt: ",c+=i.startAt.inclusive?"b:":"a:",c+=i.startAt.position.map(g=>yr(g)).join(",")),i.endAt&&(c+=", endAt: ",c+=i.endAt.inclusive?"a:":"b:",c+=i.endAt.position.map(g=>yr(g)).join(",")),`Target(${c})`}(Ar(f))}; limitType=${f.limitType})`}function Bl(f,e){return e.isFoundDocument()&&function(c,g){const A=g.key.path;return null!==c.collectionGroup?g.key.hasCollectionId(c.collectionGroup)&&c.path.isPrefixOf(A):ci.isDocumentKey(c.path)?c.path.isEqual(A):c.path.isImmediateParentOf(A)}(f,e)&&function(c,g){for(const A of Zi(c))if(!A.field.isKeyField()&&null===g.data.field(A.field))return!1;return!0}(f,e)&&function(c,g){for(const A of c.filters)if(!A.matches(g))return!1;return!0}(f,e)&&(g=e,!((c=f).startAt&&!function(U,se,Se){const ut=fc(U,se,Se);return U.inclusive?ut<=0:ut<0}(c.startAt,Zi(c),g)||c.endAt&&!function(U,se,Se){const ut=fc(U,se,Se);return U.inclusive?ut>=0:ut>0}(c.endAt,Zi(c),g)));var c,g}function xc(f){return f.collectionGroup||(f.path.length%2==1?f.path.lastSegment():f.path.get(f.path.length-2))}function ao(f){return(e,i)=>{let c=!1;for(const g of Zi(f)){const A=Rc(g,e,i);if(0!==A)return A;c=c||g.field.isKeyField()}return 0}}function Rc(f,e,i){const c=f.field.isKeyField()?ci.comparator(e.key,i.key):function(A,U,se){const Se=U.data.field(A),ut=se.data.field(A);return null!==Se&&null!==ut?ct(Se,ut):Te(42886)}(f.field,e,i);switch(f.dir){case"asc":return c;
1case"desc":return-1*c;default:return Te(19790,{direction:f.dir})}}class rn{constructor(e,i){this.mapKeyFn=e,this.equalsFn=i,this.inner={},this.innerSize=0}get(e){const i=this.mapKeyFn(e),c=this.inner[i];if(void 0!==c)for(const[g,A]of c)if(this.equalsFn(g,e))return A}has(e){return void 0!==this.get(e)}set(e,i){const c=this.mapKeyFn(e),g=this.inner[c];if(void 0===g)return this.inner[c]=[[e,i]],void this.innerSize++;for(let A=0;A<g.length;A++)if(this.equalsFn(g[A][0],e))return void(g[A]=[e,i]);g.push([e,i]),this.innerSize++}delete(e){const i=this.mapKeyFn(e),c=this.inner[i];if(void 0===c)return!1;for(let g=0;g<c.length;g++)if(this.equalsFn(c[g][0],e))return 1===c.length?delete this.inner[i]:c.splice(g,1),this.innerSize--,!0;return!1}forEach(e){wo(this.inner,(i,c)=>{for(const[g,A]of c)e(g,A)})}isEmpty(){return Us(this.inner)}size(){return this.innerSize}}const Pc=new Ps(ci.comparator);function ga(){return Pc}const Ba=new Ps(ci.comparator);function ro(...f){let e=Ba;for(const i of f)e=e.insert(i.key,i);return e}function Kl(f){let e=Ba;return f.forEach((i,c)=>e=e.insert(i,c.overlayedDocument)),e}function Ml(){return Ql()}function rl(){return Ql()}function Ql(){return new rn(f=>f.toString(),(f,e)=>f.isEqual(e))}const mh=new Ps(ci.comparator),cu=new Os(ci.comparator);function Hs(...f){let e=cu;for(const i of f)e=e.add(i);return e}const zd=new Os(Tn);function ud(){return zd}function Xl(f,e){if(f.useProto3Json){if(isNaN(e))return{doubleValue:"NaN"};if(e===1/0)return{doubleValue:"Infinity"};if(e===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Cr(e)?"-0":e}}function Ld(f){return{integerValue:""+f}}function $d(f,e){return Hr(e)?Ld(e):Xl(f,e)}class Gc{constructor(){this._=void 0}}function Id(f,e,i){return f instanceof Oc?function(g,A){const U={fields:{[tl]:{stringValue:el},[Et]:{timestampValue:{seconds:g.seconds,nanos:g.nanoseconds}}}};return A&&pe(A)&&(A=Gt(A)),A&&(U.fields[tt]=A),{mapValue:U}}(i,e):f instanceof Ls?Vl(f,e):f instanceof Kt?ht(f,e):function(g,A){const U=yl(g,A),se=en(U)+en(g.Ee);return nr(U)&&nr(g.Ee)?Ld(se):Xl(g.serializer,se)}(f,e)}function Jl(f,e,i){return f instanceof Ls?Vl(f,e):f instanceof Kt?ht(f,e):i}function yl(f,e){return f instanceof jt?nr(c=e)||(A=c)&&"doubleValue"in A?e:{integerValue:0}:null;var c,A}class Oc extends Gc{}class Ls extends Gc{constructor(e){super(),this.elements=e}}function Vl(f,e){const i=Nn(e);for(const c of f.elements)i.some(g=>gi(g,c))||i.push(c);return{arrayValue:{values:i}}}class Kt extends Gc{constructor(e){super(),this.elements=e}}function ht(f,e){let i=Nn(e);for(const c of f.elements)i=i.filter(g=>!gi(g,c));return{arrayValue:{values:i}}}class jt extends Gc{constructor(e,i){super(),this.serializer=e,this.Ee=i}}function en(f){return Kr(f.integerValue||f.doubleValue)}function Nn(f){return Pi(f)&&f.arrayValue.values?f.arrayValue.values.slice():[]}class Si{constructor(e,i){this.field=e,this.transform=i}}class or{constructor(e,i){this.version=e,this.transformResults=i}}class xr{constructor(e,i){this.updateTime=e,this.exists=i}static none(){return new xr}static exists(e){return new xr(void 0,e)}static updateTime(e){return new xr(e)}get isNone(){return void 0===this.updateTime&&void 0===this.exists}isEqual(e){return this.exists===e.exists&&(this.updateTime?!!e.updateTime&&this.updateTime.isEqual(e.updateTime):!e.updateTime)}}function rs(f,e){return void 0!==f.updateTime?e.isFoundDocument()&&e.version.isEqual(f.updateTime):void 0===f.exists||f.exists===e.isFoundDocument()}class co{}function Ss(f,e){if(!f.hasLocalMutations||e&&0===e.fields.length)return null;if(null===e)return f.isNoDocument()?new Ia(f.key,xr.none()):new xo(f.key,f.data,xr.none());{const i=f.data,c=da.empty();let g=new Os(Sn.comparator);for(let A of e.fields)if(!g.has(A)){let U=i.field(A);null===U&&A.length>1&&(A=A.popLast(),U=i.field(A)),null===U?c.delete(A):c.set(A,U),g=g.add(A)}return new es(f.key,c,new Fo(g.toArray()),xr.none())}}function ta(f,e,i){f instanceof xo?function(g,A,U){const se=g.value.clone(),Se=ul(g.fieldTransforms,A,U.transformResults);se.setAll(Se),A.convertToFoundDocument(U.version,se).setHasCommittedMutations()}(f,e,i):f instanceof es?function(g,A,U){if(!rs(g.precondition,A))return void A.convertToUnknownDocument(U.version);const se=ul(g.fieldTransforms,A,U.transformResults),Se=A.data;Se.setAll(jo(g)),Se.setAll(se),A.convertToFoundDocument(U.version,Se).setHasCommittedMutations()}(f,e,i):e.convertToNoDocument(i.version).setHasCommittedMutations()}
1function Ma(f,e,i,c){return f instanceof xo?function(A,U,se,Se){if(!rs(A.precondition,U))return se;const ut=A.value.clone(),Qt=pc(A.fieldTransforms,Se,U);return ut.setAll(Qt),U.convertToFoundDocument(U.version,ut).setHasLocalMutations(),null}(f,e,i,c):f instanceof es?function(A,U,se,Se){if(!rs(A.precondition,U))return se;const ut=pc(A.fieldTransforms,Se,U),Qt=U.data;return Qt.setAll(jo(A)),Qt.setAll(ut),U.convertToFoundDocument(U.version,Qt).setHasLocalMutations(),null===se?null:se.unionWith(A.fieldMask.fields).unionWith(A.fieldTransforms.map(vn=>vn.field))}(f,e,i,c):(se=i,rs(f.precondition,U=e)?(U.convertToNoDocument(U.version).setHasLocalMutations(),null):se);var U,se}function La(f,e){let i=null;for(const c of f.fieldTransforms){const g=e.data.field(c.field),A=yl(c.transform,g||null);null!=A&&(null===i&&(i=da.empty()),i.set(c.field,A))}return i||null}function Il(f,e){return f.type===e.type&&!!f.key.isEqual(e.key)&&!!f.precondition.isEqual(e.precondition)&&(g=e.fieldTransforms,!!(void 0===(c=f.fieldTransforms)&&void 0===g||c&&g&&di(c,g,(A,U)=>function vr(f,e){return f.field.isEqual(e.field)&&(g=e.transform,(c=f.transform)instanceof Ls&&g instanceof Ls||c instanceof Kt&&g instanceof Kt?di(c.elements,g.elements,gi):c instanceof jt&&g instanceof jt?gi(c.Ee,g.Ee):c instanceof Oc&&g instanceof Oc);var c,g}(A,U))))&&(0===f.type?f.value.isEqual(e.value):1!==f.type||f.data.isEqual(e.data)&&f.fieldMask.isEqual(e.fieldMask));var c,g}class xo extends co{constructor(e,i,c,g=[]){super(),this.key=e,this.value=i,this.precondition=c,this.fieldTransforms=g,this.type=0}getFieldMask(){return null}}class es extends co{constructor(e,i,c,g,A=[]){super(),this.key=e,this.data=i,this.fieldMask=c,this.precondition=g,this.fieldTransforms=A,this.type=1}getFieldMask(){return this.fieldMask}}function jo(f){const e=new Map;return f.fieldMask.fields.forEach(i=>{if(!i.isEmpty()){const c=f.data.field(i);e.set(i,c)}}),e}function ul(f,e,i){const c=new Map;yt(f.length===i.length,32656,{Ae:i.length,Re:f.length});for(let g=0;g<i.length;g++){const A=f[g],U=A.transform,se=e.data.field(A.field);c.set(A.field,Jl(U,se,i[g]))}return c}function pc(f,e,i){const c=new Map;for(const g of f){const A=g.transform,U=i.data.field(g.field);c.set(g.field,Id(A,U,e))}return c}class Ia extends co{constructor(e,i){super(),this.key=e,this.precondition=i,this.type=2,this.fieldTransforms=[]}getFieldMask(){return null}}class Ul extends co{constructor(e,i){super(),this.key=e,this.precondition=i,this.type=3,this.fieldTransforms=[]}getFieldMask(){return null}}class hl{constructor(e,i,c,g){this.batchId=e,this.localWriteTime=i,this.baseMutations=c,this.mutations=g}applyToRemoteDocument(e,i){const c=i.mutationResults;for(let g=0;g<this.mutations.length;g++){const A=this.mutations[g];A.key.isEqual(e.key)&&ta(A,e,c[g])}}applyToLocalView(e,i){for(const c of this.baseMutations)c.key.isEqual(e.key)&&(i=Ma(c,e,i,this.localWriteTime));for(const c of this.mutations)c.key.isEqual(e.key)&&(i=Ma(c,e,i,this.localWriteTime));return i}applyToLocalDocumentSet(e,i){const c=rl();return this.mutations.forEach(g=>{const A=e.get(g.key),U=A.overlayedDocument;let se=this.applyToLocalView(U,A.mutatedFields);se=i.has(g.key)?null:se;const Se=Ss(U,se);null!==Se&&c.set(g.key,Se),U.isValidDocument()||U.convertToNoDocument(_e.min())}),c}keys(){return this.mutations.reduce((e,i)=>e.add(i.key),Hs())}isEqual(e){return this.batchId===e.batchId&&di(this.mutations,e.mutations,(i,c)=>Il(i,c))&&di(this.baseMutations,e.baseMutations,(i,c)=>Il(i,c))}}class Xa{constructor(e,i,c,g){this.batch=e,this.commitVersion=i,this.mutationResults=c,this.docVersions=g}static from(e,i,c){yt(e.mutations.length===c.length,58842,{Ve:e.mutations.length,me:c.length});let g=function(){return mh}();const A=e.mutations;for(let U=0;U<A.length;U++)g=g.insert(A[U].key,c[U].version);return new Xa(e,i,c,g)}}class Gd{constructor(e,i){this.largestBatchId=e,this.mutation=i}getKey(){return this.mutation.key}isEqual(e){return null!==e&&this.mutation===e.mutation}toString(){return`Overlay{\n largestBatchId: ${this.largestBatchId},\n mutation: ${this.mutation.toString()}\n }`}}class gc{constructor(e,i){this.count=e,this.unchangedNames=i}}var Ca,uo;function Kc(f){switch(f){case ie.OK:return Te(64938);case ie.CANCELLED:case ie.UNKNOWN:case ie.DEADLINE_EXCEEDED:case ie.RESOURCE_EXHAUSTED:case ie.INTERNAL:case ie.UNAVAILABLE:case ie.UNAUTHENTICATED:return!1;case ie.INVALID_ARGUMENT:case ie.NOT_FOUND:case ie.ALREADY_EXISTS:case ie.PERMISSION_DENIED:case ie.FAILED_PRECONDITION:case ie.ABORTED:case ie.OUT_OF_RANGE:case ie.UNIMPLEMENT
1ED:case ie.DATA_LOSS:return!0;default:return Te(15467,{code:f})}}function wu(f){if(void 0===f)return cn("GRPC error has no .code"),ie.UNKNOWN;switch(f){case Ca.OK:return ie.OK;case Ca.CANCELLED:return ie.CANCELLED;case Ca.UNKNOWN:return ie.UNKNOWN;case Ca.DEADLINE_EXCEEDED:return ie.DEADLINE_EXCEEDED;case Ca.RESOURCE_EXHAUSTED:return ie.RESOURCE_EXHAUSTED;case Ca.INTERNAL:return ie.INTERNAL;case Ca.UNAVAILABLE:return ie.UNAVAILABLE;case Ca.UNAUTHENTICATED:return ie.UNAUTHENTICATED;case Ca.INVALID_ARGUMENT:return ie.INVALID_ARGUMENT;case Ca.NOT_FOUND:return ie.NOT_FOUND;case Ca.ALREADY_EXISTS:return ie.ALREADY_EXISTS;case Ca.PERMISSION_DENIED:return ie.PERMISSION_DENIED;case Ca.FAILED_PRECONDITION:return ie.FAILED_PRECONDITION;case Ca.ABORTED:return ie.ABORTED;case Ca.OUT_OF_RANGE:return ie.OUT_OF_RANGE;case Ca.UNIMPLEMENTED:return ie.UNIMPLEMENTED;case Ca.DATA_LOSS:return ie.DATA_LOSS;default:return Te(39323,{code:f})}}(uo=Ca||(Ca={}))[uo.OK=0]="OK",uo[uo.CANCELLED=1]="CANCELLED",uo[uo.UNKNOWN=2]="UNKNOWN",uo[uo.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",uo[uo.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",uo[uo.NOT_FOUND=5]="NOT_FOUND",uo[uo.ALREADY_EXISTS=6]="ALREADY_EXISTS",uo[uo.PERMISSION_DENIED=7]="PERMISSION_DENIED",uo[uo.UNAUTHENTICATED=16]="UNAUTHENTICATED",uo[uo.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",uo[uo.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",uo[uo.ABORTED=10]="ABORTED",uo[uo.OUT_OF_RANGE=11]="OUT_OF_RANGE",uo[uo.UNI
1MPLEMENTED=12]="UNIMPLEMENTED",uo[uo.INTERNAL=13]="INTERNAL",uo[uo.UNAVAILABLE=14]="UNAVAILABLE",uo[uo.DATA_LOSS=15]="DATA_LOSS";const Tu=new k([4294967295,4294967295],0);function le(f){const e=Oi().encode(f),i=new H;return i.update(e),new Uint8Array(i.digest())}function At(f){const e=new DataView(f.buffer),i=e.getUint32(0,!0),c=e.getUint32(4,!0),g=e.getUint32(8,!0),A=e.getUint32(12,!0);return[new k([i,c],0),new k([g,A],0)]}class mn{constructor(e,i,c){if(this.bitmap=e,this.padding=i,this.hashCount=c,i<0||i>=8)throw new Fi(`Invalid padding: ${i}`);if(c<0)throw new Fi(`Invalid hash count: ${c}`);if(e.length>0&&0===this.hashCount)throw new Fi(`Invalid hash count: ${c}`);if(0===e.length&&0!==i)throw new Fi(`Invalid padding when bitmap length is 0: ${i}`);this.fe=8*e.length-i,this.ge=k.fromNumber(this.fe)}pe(e,i,c){let g=e.add(i.multiply(k.fromNumber(c)));return 1===g.compare(Tu)&&(g=new k([g.getBits(0),g.getBits(1)],0)),g.modulo(this.ge).toNumber()}ye(e){return!!(this.bitmap[Math.floor(e/8)]&1<<e%8)}mightContain(e){if(0===this.fe)return!1;const i=le(e),[c,g]=At(i);for(let A=0;A<this.hashCount;A++){const U=this.pe(c,g,A);if(!this.ye(U))return!1}return!0}static create(e,i,c){const g=e%8==0?0:8-e%8,A=new Uint8Array(Math.ceil(e/8)),U=new mn(A,g,i);return c.forEach(se=>U.insert(se)),U}insert(e){if(0===this.fe)return;const i=le(e),[c,g]=At(i);for(let A=0;A<this.hashCount;A++){const U=this.pe(c,g,A);this.we(U)}}we(e){const i=Math.floor(e/8);this.bitmap[i]|=1<<e%8}}class Fi extends Error{constructor(){super(...arguments),this.name="BloomFilterError"}}class er{constructor(e,i,c,g,A){this.snapshotVersion=e,this.targetChanges=i,this.targetMismatches=c,this.documentUpdates=g,this.resolvedLimboDocuments=A}static createSynthesizedRemoteEventForCurrentChange(e,i,c){const g=new Map;return g.set(e,Fr.createSynthesizedTargetChangeForCurrentChange(e,i,c)),new er(_e.min(),g,new Ps(Tn),ga(),Hs())}}class Fr{constructor(e,i,c,g,A){this.resumeToken=e,this.current=i,this.addedDocuments=c,this.modifiedDocuments=g,this.removedDocuments=A}static createSynthesizedTargetChangeForCurrentChange(e,i,c){return new Fr(c,i,Hs(),Hs(),Hs())}}class vo{constructor(e,i,c,g){this.Se=e,this.removedTargetIds=i,this.key=c,this.be=g}}class Bo{constructor(e,i){this.targetId=e,this.De=i}}class Va{constructor(e,i,c=Mo.EMPTY_BYTE_STRING,g=null){this.state=e,this.targetIds=i,this.resumeToken=c,this.cause=g}}class Ro{constructor(){this.ve=0,this.Ce=Kd(),this.Fe=Mo.EMPTY_BYTE_STRING,this.Me=!1,this.xe=!0}get current(){return this.Me}get resumeToken(){return this.Fe}get Oe(){return 0!==this.ve}get Ne(){return this.xe}Be(e){e.approximateByteSize()>0&&(this.xe=!0,this.Fe=e)}Le(){let e=Hs(),i=Hs(),c=Hs();return this.Ce.forEach((g,A)=>{switch(A){case 0:e=e.add(g);break;case 2:i=i.add(g);break;case 1:c=c.add(g);break;default:Te(38017,{changeType:A})}}),new Fr(this.Fe,this.Me,e,i,c)}ke(){this.xe=!1,this.Ce=Kd()}qe(e,i){this.xe=!0,this.Ce=this.Ce.insert(e,i)}Qe(e){this.xe=!0,this.Ce=this.Ce.remove(e)}$e(){this.ve+=1}Ue(){this.ve-=1,yt(this.ve>=0,3241,{ve:this.ve})}Ke(){this.xe=!0,this.Me=!0}}class Ja{constructor(e){this.We=e,this.Ge=new Map,this.ze=ga(),this.je=Nd(),this.Je=Nd(),this.He=new Ps(Tn)}Ye(e){for(const i of e.Se)e.be&&e.be.isFoundDocument()?this.Ze(i,e.be):this.Xe(i,e.key,e.be);for(const i of e.removedTargetIds)this.Xe(i,e.key,e.be)}et(e){this.forEachTarget(e,i=>{const c=this.tt(i);switch(e.state){case 0:this.nt(i)&&c.Be(e.resumeToken);break;case 1:c.Ue(),c.Oe||c.ke(),c.Be(e.resumeToken);break;case 2:c.Ue(),c.Oe||this.removeTarget(i);break;case 3:this.nt(i)&&(c.Ke(),c.Be(e.resumeToken));break;case 4:this.nt(i)&&(this.rt(i),c.Be(e.resumeToken));break;default:Te(56790,{state:e.state})}})}forEachTarget(e,i){e.targetIds.length>0?e.targetIds.forEach(i):this.Ge.forEach((c,g)=>{this.nt(g)&&i(g)})}it(e){const i=e.targetId,c=e.De.count,g=this.st(i);if(g){const A=g.target;if(zo(A))if(0===c){const U=new ci(A.path);this.Xe(i,U,ps.newNoDocument(U,_e.min()))}else yt(1===c,20013,{expectedCount:c});else{const U=this.ot(i);if(U!==c){const se=this._t(e),Se=se?this.ut(se,e,U):1;0!==Se&&(this.rt(i),this.He=this.He.insert(i,2===Se?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch"))}}}}_t(e){const i=e.De.unchangedNames;if(!i||!i.bits)return null;const{bits:{bitmap:c="",padding:g=0},hashCount:A=0}=i;let U,se;try{U=_l(c).toUint8Array()}catch(Se){if(Se instanceof ca)return hn("Decoding the base64 bloom filter in existence filter failed ("+Se.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw Se}try{se=new mn(U,g,A)}catch(Se){return hn(Se instanceof Fi?"BloomFilter error: ":"Applying bloom filter failed: ",Se),null}return 0===se.fe?null:se}ut(e,i,c){return i.De.count===c-this.ht(e,i.targetId)?0:2}ht(e,i){const c=this.We.getRemoteKeysForTarget(i);let g=0;
1return c.forEach(A=>{const U=this.We.lt(),se=`projects/${U.projectId}/databases/${U.database}/documents/${A.path.canonicalString()}`;e.mightContain(se)||(this.Xe(i,A,null),g++)}),g}Pt(e){const i=new Map;this.Ge.forEach((A,U)=>{const se=this.st(U);if(se){if(A.current&&zo(se.target)){const Se=new ci(se.target.path);this.Tt(Se).has(U)||this.It(U,Se)||this.Xe(U,Se,ps.newNoDocument(Se,e))}A.Ne&&(i.set(U,A.Le()),A.ke())}});let c=Hs();this.Je.forEach((A,U)=>{let se=!0;U.forEachWhile(Se=>{const ut=this.st(Se);return!ut||"TargetPurposeLimboResolution"===ut.purpose||(se=!1,!1)}),se&&(c=c.add(A))}),this.ze.forEach((A,U)=>U.setReadTime(e));const g=new er(e,i,this.He,this.ze,c);return this.ze=ga(),this.je=Nd(),this.Je=Nd(),this.He=new Ps(Tn),g}Ze(e,i){if(!this.nt(e))return;const c=this.It(e,i.key)?2:0;this.tt(e).qe(i.key,c),this.ze=this.ze.insert(i.key,i),this.je=this.je.insert(i.key,this.Tt(i.key).add(e)),this.Je=this.Je.insert(i.key,this.dt(i.key).add(e))}Xe(e,i,c){if(!this.nt(e))return;const g=this.tt(e);this.It(e,i)?g.qe(i,1):g.Qe(i),this.Je=this.Je.insert(i,this.dt(i).delete(e)),this.Je=this.Je.insert(i,this.dt(i).add(e)),c&&(this.ze=this.ze.insert(i,c))}removeTarget(e){this.Ge.delete(e)}ot(e){const i=this.tt(e).Le();return this.We.getRemoteKeysForTarget(e).size+i.addedDocuments.size-i.removedDocuments.size}$e(e){this.tt(e).$e()}tt(e){let i=this.Ge.get(e);return i||(i=new Ro,this.Ge.set(e,i)),i}dt(e){let i=this.Je.get(e);return i||(i=new Os(Tn),this.Je=this.Je.insert(e,i)),i}Tt(e){let i=this.je.get(e);return i||(i=new Os(Tn),this.je=this.je.insert(e,i)),i}nt(e){const i=null!==this.st(e);return i||nt("WatchChangeAggregator","Detected inactive target",e),i}st(e){const i=this.Ge.get(e);return i&&i.Oe?null:this.We.Et(e)}rt(e){this.Ge.set(e,new Ro),this.We.getRemoteKeysForTarget(e).forEach(i=>{this.Xe(e,i,null)})}It(e,i){return this.We.getRemoteKeysForTarget(e).has(i)}}function Nd(){return new Ps(ci.comparator)}function Kd(){return new Ps(ci.comparator)}const Mu={asc:"ASCENDING",desc:"DESCENDING"},Ua={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},Lc={and:"AND",or:"OR"};class Qd{constructor(e,i){this.databaseId=e,this.useProto3Json=i}}function Fd(f,e){return f.useProto3Json||_r(e)?e:{value:e}}function hd(f,e){return f.useProto3Json?`${new Date(1e3*e.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+e.nanoseconds).slice(-9)}Z`:{seconds:""+e.seconds,nanos:e.nanoseconds}}function fd(f,e){return f.useProto3Json?e.toBase64():e.toUint8Array()}function Nc(f,e){return hd(f,e.toTimestamp())}function va(f){return yt(!!f,49232),_e.fromTimestamp(function(i){const c=xa(i);return new we(c.seconds,c.nanos)}(f))}function Dc(f,e){return wc(f,e).canonicalString()}function wc(f,e){const i=(g=f,new ii(["projects",g.projectId,"databases",g.database])).child("documents");var g;return void 0===e?i:i.child(e)}function Po(f){const e=ii.fromString(f);return yt(Y(e),10190,{key:e.toString()}),e}function P(f,e){return Dc(f.databaseId,e.path)}function J(f,e){const i=Po(e);if(i.get(1)!==f.databaseId.projectId)throw new je(ie.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+i.get(1)+" vs "+f.databaseId.projectId);if(i.get(3)!==f.databaseId.database)throw new je(ie.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+i.get(3)+" vs "+f.databaseId.database);return new ci(qn(i))}function Be(f,e){return Dc(f.databaseId,e)}function mt(f){const e=Po(f);return 4===e.length?ii.emptyPath():qn(e)}function nn(f){return new ii(["projects",f.databaseId.projectId,"databases",f.databaseId.database]).canonicalString()}function qn(f){return yt(f.length>4&&"documents"===f.get(4),29091,{key:f.toString()}),f.popFirst(5)}function Xi(f,e,i){return{name:P(f,e),fields:i.value.mapValue.fields}}function Jr(f,e,i){const c=J(f,e.name),g=va(e.updateTime),A=e.createTime?va(e.createTime):_e.min(),U=new da({mapValue:{fields:e.fields}}),se=ps.newFoundDocument(c,g,A,U);return i&&se.setHasCommittedMutations(),i?se.setHasCommittedMutations():se}function Na(f,e){let i;if(e instanceof xo)i={update:Xi(f,e.key,e.value)};else if(e instanceof Ia)i={delete:P(f,e.key)};else if(e instanceof es)i={update:Xi(f,e.key,e.data),updateMask:Iu(e.fieldMask)};else{if(!(e instanceof Ul))return Te(16599,{Rt:e.type});i={verify:P(f,e.key)}}return e.fieldTransforms.length>0&&(i.updateTransforms=e.fieldTransforms.map(c=>function(A,U){const se=U.transform;if(se instanceof Oc)return{fieldPath:U.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(se instanceof Ls)return{fieldPath:U.field.canonicalString(),appendMissingElements:{values:se.elements}};if(se instanceof Kt)return{fieldPath:U.field.canonicalString(),removeAllFromArray:{values:se.elements}};if(se instanceof jt)return{fieldPath:U.field.canonicalString(),increment:se.Ee};throw Te(20930,{transform:U.transform})}(0,c))),e.precondition.isNone||(i.currentDocument=void 0!==(A=e.precondition).updateTime?{updateTime:Nc(f,A.updateTime)}:void 0!==A.exists?{exists:A.exists}:Te(27497)),i;var A}function Zl(f,e){const i=e.currentDocument?void 0!==(A=e.currentDocument).updateTime?xr.updateTime(va(A.updateTime)):void 0!==A.exists?xr.exists(A.exists):xr.none():xr.none(),c=e.updateTransforms?e.updateTransforms.map(g=>function(U,se){let Se=null;"setToServerValue"in se?(yt("REQUEST_TIME"===se.setToServerValue,16630,{proto:se}),Se=new Oc):"appendMissingElements"in se?Se=new Ls(se.appendMissingElements.values||[]):"removeAllFromArray"in se?Se=new Kt(se.removeAllFromArray.values||[]):"increment"in se?Se=new jt(U,se.increment):Te(16584,{proto:se});const ut=Sn.fromServerFormat(se.fieldPath);return new Si(ut,Se)}(f,g)):[];var A;if(e.update){const g=J(f,e.update.name),A=new da({mapValue:{fields:e.update.fields}});if(e.updateMask){const U=new Fo((e.updateMask.fieldPaths||[]).map(Qt=>Sn.fromServerFormat(Qt)));return new es(g,A,U,i,c)}return new xo(g,A,i,c)}if(e.delete){const g=J(f,e.delete);return new Ia(g,i)}if(e.verify){const g=J(f,e.verify);return new Ul(g,i)}return Te(1463,{proto:e})}function Gu(f,e){return{documents:[Be(f,e.path)]}}function du(f,e){const i={structuredQuery:{}},c=e.path;let g;null!==e.collectionGroup?(g=c,i.structuredQuery.from=[{collectionId:e.collectionGroup,allDescendants:!0}]):(g=c.popLast(),i.structuredQuery.from=[{collectionId:c.lastSegment()}]),i.parent=Be(f,g);const A=function(ut){if(0!==ut.length)return hm(go.create(ut,"and"))}(e.filters);A&&(i.structuredQuery.where=A);const U=function(ut){if(0!==ut.length)return ut.map(Qt=>{return{field:mo((Kn=Qt).field),direction:Fh(Kn.dir)};var Kn})}(e.orderBy);U&&(i.structuredQuery.orderBy=U);const se=Fd(f,e.limit);return null!==se&&(i.structuredQuery.limit=se),e.startAt&&(i.structuredQuery.startAt={before:(ut=e.startAt).inclusive,values:ut.position}),e.endAt&&(i.structuredQuery.endAt=function(ut){return{before:!ut.inclusive,values:ut.position}}(e.endAt)),{Vt:i,parent:g};var ut}function md(f){let e=mt(f.parent);const i=f.structuredQuery,c=i.from?i.from.length:0;let g=null;if(c>0){yt(1===c,65062);const Qt=i.from[0];Qt.allDescendants?g=Qt.collectionId:e=e.child(Qt.collectionId)}let A=[];i.where&&(A=function(vn){const Kn=Ku(vn);return Kn instanceof go&&Go(Kn)?Kn.getFilters():[Kn]}(i.where));let U=[];i.orderBy&&(U=i.orderBy.map(Kn=>{return new dl(Xd((hr=Kn).field),function(Sr){switch(Sr){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(hr.direction));var hr}));let se=null;i.limit&&(se=function(vn){let Kn;return Kn="object"==typeof vn?vn.value:vn,_r(Kn)?null:Kn}(i.limit));let Se=null;var vn;i.startAt&&(Se=new wa((vn=i.startAt).values||[],!!vn.before));let ut=null;return i.endAt&&(ut=function(vn){return new wa(vn.values||[],!vn.before)}
1(i.endAt)),Rt(e,g,U,A,se,"F",Se,ut)}function Ku(f){return void 0!==f.unaryFilter?function(i){switch(i.unaryFilter.op){case"IS_NAN":const c=Xd(i.unaryFilter.field);return Ws.create(c,"==",{doubleValue:NaN});case"IS_NULL":const g=Xd(i.unaryFilter.field);return Ws.create(g,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const A=Xd(i.unaryFilter.field);return Ws.create(A,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const U=Xd(i.unaryFilter.field);return Ws.create(U,"!=",{nullValue:"NULL_VALUE"});case"OPERATOR_UNSPECIFIED":return Te(61313);default:return Te(60726)}}(f):void 0!==f.fieldFilter?Ws.create(Xd((i=f).fieldFilter.field),function(g){switch(g){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";case"OPERATOR_UNSPECIFIED":return Te(58110);default:return Te(50506)}}(i.fieldFilter.op),i.fieldFilter.value):void 0!==f.compositeFilter?function(i){return go.create(i.compositeFilter.filters.map(c=>Ku(c)),function(g){switch(g){case"AND":return"and";case"OR":return"or";default:return Te(1026)}}(i.compositeFilter.op))}(f):Te(30097,{filter:f});var i}function Fh(f){return Mu[f]}function Bh(f){return Ua[f]}function Qu(f){return Lc[f]}function mo(f){return{fieldPath:f.canonicalString()}}function Xd(f){return Sn.fromServerFormat(f.fieldPath)}function hm(f){return f instanceof Ws?function(i){if("=="===i.op){if(Bs(i.value))return{unaryFilter:{field:mo(i.field),op:"IS_NAN"}};if(Nr(i.value))return{unaryFilter:{field:mo(i.field),op:"IS_NULL"}}}else if("!="===i.op){if(Bs(i.value))return{unaryFilter:{field:mo(i.field),op:"IS_NOT_NAN"}};if(Nr(i.value))return{unaryFilter:{field:mo(i.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:mo(i.field),op:Bh(i.op),value:i.value}}}(f):f instanceof go?function(i){const c=i.getFilters().map(g=>hm(g));return 1===c.length?c[0]:{compositeFilter:{op:Qu(i.op),filters:c}}}(f):Te(54877,{filter:f})}function Iu(f){const e=[];return f.fields.forEach(i=>e.push(i.canonicalString())),{fieldPaths:e}}function Y(f){return f.length>=4&&"projects"===f.get(0)&&"databases"===f.get(2)}class ${constructor(e,i,c,g,A=_e.min(),U=_e.min(),se=Mo.EMPTY_BYTE_STRING,Se=null){this.target=e,this.targetId=i,this.purpose=c,this.sequenceNumber=g,this.snapshotVersion=A,this.lastLimboFreeSnapshotVersion=U,this.resumeToken=se,this.expectedCount=Se}withSequenceNumber(e){return new $(this.target,this.targetId,this.purpose,e,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(e,i){return new $(this.target,this.targetId,this.purpose,this.sequenceNumber,i,this.lastLimboFreeSnapshotVersion,e,null)}withExpectedCount(e){return new $(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,e)}withLastLimboFreeSnapshotVersion(e){return new $(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,e,this.resumeToken,this.expectedCount)}}class be{constructor(e){this.gt=e}}function Wt(f,e){const i=e.key,c={prefixPath:i.getCollectionPath().popLast().toArray(),collectionGroup:i.collectionGroup,documentId:i.path.lastSegment(),readTime:fn(e.readTime),hasCommittedMutations:e.hasCommittedMutations};if(e.isFoundDocument())c.document={name:P(A=f.gt,(U=e).key),fields:U.data.value.mapValue.fields,updateTime:hd(A,U.version.toTimestamp()),createTime:hd(A,U.createTime.toTimestamp())};else if(e.isNoDocument())c.noDocument={path:i.path.toArray(),readTime:$n(e.version)};else{if(!e.isUnknownDocument())return Te(57904,{document:e});c.unknownDocument={path:i.path.toArray(),version:$n(e.version)}}var A,U;return c}function fn(f){const e=f.toTimestamp();return[e.seconds,e.nanoseconds]}function $n(f){const e=f.toTimestamp();return{seconds:e.seconds,nanoseconds:e.nanoseconds}}function si(f){const e=new we(f.seconds,f.nanoseconds);return _e.fromTimestamp(e)}function xi(f,e){const i=(e.baseMutations||[]).map(A=>Zl(f.gt,A));for(let A=0;A<e.mutations.length-1;++A)A+1<e.mutations.length&&void 0!==e.mutations[A+1].transform&&(e.mutations[A].updateTransforms=e.mutations[A+1].transform.fieldTransforms,e.mutations.splice(A+1,1),++A);const c=e.mutations.map(A=>Zl(f.gt,A)),g=we.fromMillis(e.localWriteTimeMs);return new hl(e.batchId,g,i,c)}function Yi(f){const e=si(f.readTime),i=void 0!==f.lastLimboFreeSnapshotVersion?si(f.lastLimboFreeSnapshotVersion):_e.min();let c;return c=void 0!==f.query.documents?function(A){const U=A.documents.length;return yt(1===U,1966,{count:U}),Ar(Xt(mt(A.documents[0])))}(f.query):Ar(md(f.query)),new $(c,f.targetId,"TargetPurposeListen",f.lastListenSequenceNumber,e,i,Mo.fromBase64String(f.resumeToken))}function zi(f,e){const i=$n(e.snapshotVersion),c=$n(e.lastLimboFreeSnapshotVersion);let g;g=zo(e.target)?Gu(f.gt,e.target):du(f.gt,e.target).Vt;const A=e.resumeToken.toBase64();return{targetId:e.targetId,canonicalId:Gl(e.target),readTime:i,resumeToken:A,lastListenSequenceNumber:e.sequenceNumber,lastLimboFreeSnapshotVersion:c,query:g}}function jr(f){const e=md({parent:f.parent,structuredQuery:f.structuredQuery});return"LAST"===f.limitType?Oa(e,e.limit,"L"):e}function ss(f,e){return new Gd(e.largestBatchId,Zl(f.gt,e.overlayMutation))}function ys(f,e){const i=e.path.lastSegment();return[f,Ns(e.path.popLast()),i]}function xs(f,e,i,c){return{indexId:f,uid:e,sequenceNumber:i,readTime:$n(c.readTime),documentKey:Ns(c.documentKey.path),largestBatchId:c.largestBatchId}}class os{getBundleMetadata(e,i){return _s(e).get(i).next(c=>{if(c)return{id:(A=c).bundleId,createTime:si(A.createTime),version:A.version};var A})}saveBundleMetadata(e,i){return _s(e).put({bundleId:(g=i).id,createTime:$n(va(g.createTime)),version:g.version});var g}getNamedQuery(e,i){return To(e).get(i).next(c=>{if(c)return{name:(A=c).name,query:jr(A.bundledQuery),readTime:si(A.readTime)};var A})}saveNamedQuery(e,i){return To(e).put({name:(g=i).name,readTime:$n(va(g.readTime)),bundledQuery:g.bundledQuery});var g}}function _s(f){return cs(f,fs)}function To(f){return cs(f,ls)}
1class Io{constructor(e,i){this.serializer=e,this.userId=i}static yt(e,i){return new Io(e,i.uid||"")}getOverlay(e,i){return fa(e).get(ys(this.userId,i)).next(c=>c?ss(this.serializer,c):null)}getOverlays(e,i){const c=Ml();return et.forEach(i,g=>this.getOverlay(e,g).next(A=>{null!==A&&c.set(g,A)})).next(()=>c)}saveOverlays(e,i,c){const g=[];return c.forEach((A,U)=>{const se=new Gd(i,U);g.push(this.wt(e,se))}),et.waitFor(g)}removeOverlaysForBatchId(e,i,c){const g=new Set;i.forEach(U=>g.add(Ns(U.getCollectionPath())));const A=[];return g.forEach(U=>{const se=IDBKeyRange.bound([this.userId,U,c],[this.userId,U,c+1],!1,!0);A.push(fa(e).Y(Gr,se))}),et.waitFor(A)}getOverlaysForCollection(e,i,c){const g=Ml(),A=Ns(i),U=IDBKeyRange.bound([this.userId,A,c],[this.userId,A,Number.POSITIVE_INFINITY],!0);return fa(e).j(Gr,U).next(se=>{for(const Se of se){const ut=ss(this.serializer,Se);g.set(ut.getKey(),ut)}return g})}getOverlaysForCollectionGroup(e,i,c,g){const A=Ml();let U;const se=IDBKeyRange.bound([this.userId,i,c],[this.userId,i,Number.POSITIVE_INFINITY],!0);return fa(e).X({index:ms,range:se},(Se,ut,Qt)=>{const vn=ss(this.serializer,ut);A.size()<g||vn.largestBatchId===U?(A.set(vn.getKey(),vn),U=vn.largestBatchId):Qt.done()}).next(()=>A)}wt(e,i){return fa(e).put(function(g,A,U){const[se,Se,ut]=ys(A,U.mutation.key);return{userId:A,collectionPath:Se,documentId:ut,collectionGroup:U.mutation.key.getCollectionGroup(),largestBatchId:U.largestBatchId,overlayMutation:Na(g.gt,U.mutation)}}(this.serializer,this.userId,i))}}function fa(f){return cs(f,Or)}class ql{St(e){return cs(e,No)}getSessionToken(e){return this.St(e).get("sessionToken").next(i=>{const c=i?.value;return c?Mo.fromUint8Array(c):Mo.EMPTY_BYTE_STRING})}setSessionToken(e,i){return this.St(e).put({name:"sessionToken",value:i.toUint8Array()})}}class Za{constructor(){}bt(e,i){this.Dt(e,i),i.vt()}Dt(e,i){if("nullValue"in e)this.Ct(i,5);else if("booleanValue"in e)this.Ct(i,10),i.Ft(e.booleanValue?1:0);else if("integerValue"in e)this.Ct(i,15),i.Ft(Kr(e.integerValue));else if("doubleValue"in e){const c=Kr(e.doubleValue);isNaN(c)?this.Ct(i,13):(this.Ct(i,15),Cr(c)?i.Ft(0):i.Ft(c))}else if("timestampValue"in e){let c=e.timestampValue;this.Ct(i,20),"string"==typeof c&&(c=xa(c)),i.Mt(`${c.seconds||""}`),i.Ft(c.nanos||0)}else if("stringValue"in e)this.xt(e.stringValue,i),this.Ot(i);else if("bytesValue"in e)this.Ct(i,30),i.Nt(_l(e.bytesValue)),this.Ot(i);else if("referenceValue"in e)this.Bt(e.referenceValue,i);else if("geoPointValue"in e){const c=e.geoPointValue;this.Ct(i,45),i.Ft(c.latitude||0),i.Ft(c.longitude||0)}else"mapValue"in e?dc(e)?this.Ct(i,Number.MAX_SAFE_INTEGER):qs(e)?this.Lt(e.mapValue,i):(this.kt(e.mapValue,i),this.Ot(i)):"arrayValue"in e?(this.qt(e.arrayValue,i),this.Ot(i)):Te(19022,{Qt:e})}xt(e,i){this.Ct(i,25),this.$t(e,i)}$t(e,i){i.Mt(e)}kt(e,i){const c=e.fields||{};this.Ct(i,55);for(const g of Object.keys(c))this.xt(g,i),this.Dt(c[g],i)}Lt(e,i){var c,g;const A=e.fields||{};this.Ct(i,53);const U=Ya,se=(null===(g=null===(c=A[U].arrayValue)||void 0===c?void 0:c.values)||void 0===g?void 0:g.length)||0;this.Ct(i,15),i.Ft(Kr(se)),this.xt(U,i),this.Dt(A[U],i)}qt(e,i){const c=e.values||[];this.Ct(i,50);for(const g of c)this.Dt(g,i)}Bt(e,i){this.Ct(i,37),ci.fromName(e).path.forEach(c=>{this.Ct(i,60),this.$t(c,i)})}Ct(e,i){e.Ft(i)}Ot(e){e.Ft(2)}}function Cu(f){if(0===f)return 8;let e=0;return f>>4||(e+=4,f<<=4),f>>6||(e+=2,f<<=2),f>>7||(e+=1),e}function Jd(f){const e=64-function(c){let g=0;for(let A=0;A<8;++A){const U=Cu(255&c[A]);if(g+=U,8!==U)break}return g}(f);return Math.ceil(e/8)}Za.Ut=new Za;class rf{constructor(){this.buffer=new Uint8Array(1024),this.position=0}Kt(e){const i=e[Symbol.iterator]();let c=i.next();for(;!c.done;)this.Wt(c.value),c=i.next();this.Gt()}zt(e){const i=e[Symbol.iterator]();let c=i.next();for(;!c.done;)this.jt(c.value),c=i.next();this.Jt()}Ht(e){for(const i of e){const c=i.charCodeAt(0);if(c<128)this.Wt(c);else if(c<2048)this.Wt(960|c>>>6),this.Wt(128|63&c);else if(i<"\ud800"||"\udbff"<i)this.Wt(480|c>>>12),this.Wt(128|63&c>>>6),this.Wt(128|63&c);else{const g=i.codePointAt(0);this.Wt(240|g>>>18),this.Wt(128|63&g>>>12),this.Wt(128|63&g>>>6),this.Wt(128|63&g)}}this.Gt()}Yt(e){for(const i of e){const c=i.charCodeAt(0);if(c<128)this.jt(c);else if(c<2048)this.jt(960|c>>>6),this.jt(128|63&c);else if(i<"\ud800"||"\udbff"<i)this.jt(480|c>>>12),this.jt(128|63&c>>>6),this.jt(128|63&c);else{const g=i.codePointAt(0);this.jt(240|g>>>18),this.jt(128|63&g>>>12),this.jt(128|63&g>>>6),this.jt(128|63&g)}}this.Jt()}
1Zt(e){const i=this.Xt(e),c=Jd(i);this.en(1+c),this.buffer[this.position++]=255&c;for(let g=i.length-c;g<i.length;++g)this.buffer[this.position++]=255&i[g]}tn(e){const i=this.Xt(e),c=Jd(i);this.en(1+c),this.buffer[this.position++]=~(255&c);for(let g=i.length-c;g<i.length;++g)this.buffer[this.position++]=~(255&i[g])}nn(){this.rn(255),this.rn(255)}sn(){this._n(255),this._n(255)}reset(){this.position=0}seed(e){this.en(e.length),this.buffer.set(e,this.position),this.position+=e.length}an(){return this.buffer.slice(0,this.position)}Xt(e){const i=function(A){const U=new DataView(new ArrayBuffer(8));return U.setFloat64(0,A,!1),new Uint8Array(U.buffer)}(e),c=!!(128&i[0]);i[0]^=c?255:128;for(let g=1;g<i.length;++g)i[g]^=c?255:0;return i}Wt(e){const i=255&e;0===i?(this.rn(0),this.rn(255)):255===i?(this.rn(255),this.rn(0)):this.rn(i)}jt(e){const i=255&e;0===i?(this._n(0),this._n(255)):255===i?(this._n(255),this._n(0)):this._n(e)}Gt(){this.rn(0),this.rn(1)}Jt(){this._n(0),this._n(1)}rn(e){this.en(1),this.buffer[this.position++]=e}_n(e){this.en(1),this.buffer[this.position++]=~e}en(e){const i=e+this.position;if(i<=this.buffer.length)return;let c=2*this.buffer.length;c<i&&(c=i);const g=new Uint8Array(c);g.set(this.buffer),this.buffer=g}}class Lf{constructor(e){this.un=e}Nt(e){this.un.Kt(e)}Mt(e){this.un.Ht(e)}Ft(e){this.un.Zt(e)}vt(){this.un.nn()}}class sf{constructor(e){this.un=e}Nt(e){this.un.zt(e)}Mt(e){this.un.Yt(e)}Ft(e){this.un.tn(e)}vt(){this.un.sn()}}class Zd{constructor(){this.un=new rf,this.cn=new Lf(this.un),this.ln=new sf(this.un)}seed(e){this.un.seed(e)}hn(e){return 0===e?this.cn:this.ln}an(){return this.un.an()}reset(){this.un.reset()}}class qd{constructor(e,i,c,g){this.Pn=e,this.Tn=i,this.In=c,this.dn=g}En(){const e=this.dn.length,i=0===e||255===this.dn[e-1]?e+1:e,c=new Uint8Array(i);return c.set(this.dn,0),i!==e?c.set([0],this.dn.length):++c[c.length-1],new qd(this.Pn,this.Tn,this.In,c)}An(e,i,c){return{indexId:this.Pn,uid:e,arrayValue:Fc(this.In),directionalValue:Fc(this.dn),orderedDocumentKey:Fc(i),documentKey:c.path.toArray()}}Rn(e,i,c){const g=this.An(e,i,c);return[g.indexId,g.uid,g.arrayValue,g.directionalValue,g.orderedDocumentKey,g.documentKey]}}function uu(f,e){let i=f.Pn-e.Pn;return 0!==i?i:(i=Au(f.In,e.In),0!==i?i:(i=Au(f.dn,e.dn),0!==i?i:ci.comparator(f.Tn,e.Tn)))}function Au(f,e){for(let i=0;i<f.length&&i<e.length;++i){const c=f[i]-e[i];if(0!==c)return c}return f.length-e.length}function Fc(f){return(0,v.Ov)()?function(i){let c="";for(let g=0;g<i.length;g++)c+=String.fromCharCode(i[g]);return c}(f):f}function Wl(f){return"string"!=typeof f?f:function(i){const c=new Uint8Array(i.length);for(let g=0;g<i.length;g++)c[g]=i.charCodeAt(g);return c}(f)}class sc{constructor(e){this.Vn=new Os((i,c)=>Sn.comparator(i.field,c.field)),this.collectionId=null!=e.collectionGroup?e.collectionGroup:e.path.lastSegment(),this.mn=e.orderBy,this.fn=[];for(const i of e.filters){const c=i;c.isInequality()?this.Vn=this.Vn.add(c):this.fn.push(c)}}get gn(){return this.Vn.size>1}pn(e){if(yt(e.collectionGroup===this.collectionId,49279),this.gn)return!1;const i=X(e);if(void 0!==i&&!this.yn(i))return!1;const c=qe(e);let g=new Set,A=0,U=0;for(;A<c.length&&this.yn(c[A]);++A)g=g.add(c[A].fieldPath.canonicalString());if(A===c.length)return!0;if(this.Vn.size>0){const se=this.Vn.getIterator().getNext();if(!g.has(se.field.canonicalString())){const Se=c[A];if(!this.wn(se,Se)||!this.Sn(this.mn[U++],Se))return!1}++A}for(;A<c.length;++A)if(U>=this.mn.length||!this.Sn(this.mn[U++],c[A]))return!1;return!0}bn(){if(this.gn)return null;let e=new Os(Sn.comparator);const i=[];for(const c of this.fn)if(!c.field.isKeyField())if("array-contains"===c.op||"array-contains-any"===c.op)i.push(new On(c.field,2));else{if(e.has(c.field))continue;e=e.add(c.field),i.push(new On(c.field,0))}for(const c of this.mn)c.field.isKeyField()||e.has(c.field)||(e=e.add(c.field),i.push(new On(c.field,"asc"===c.dir?0:1)));return new j(j.UNKNOWN_ID,this.collectionId,i,Qi.empty())}yn(e){for(const i of this.fn)if(this.wn(i,e))return!0;return!1}wn(e,i){return!(void 0===e||!e.field.isEqual(i.fieldPath))&&2===i.kind==("array-contains"===e.op||"array-contains-any"===e.op)}Sn(e,i){return!!e.field.isEqual(i.fieldPath)&&(0===i.kind&&"asc"===e.dir||1===i.kind&&"desc"===e.dir)}}function Vh(f){var e,i;if(yt(f instanceof Ws||f instanceof go,20012),f instanceof Ws){if(f instanceof Sc){const g=(null===(i=null===(e=f.value.arrayValue)||void 0===e?void 0:e.values)||void 0===i?void 0:i.map(A=>Ws.create(f.field,"==",A)))||[];return go.create(g,"or")}return f}const c=f.filters.map(g=>Vh(g));return go.create(c,f.op)}function Xu(f){if(0===f.getFilters().length)return[];const e=Su(Vh(f));return yt(ku(e),7391),Xc(e)||Jc(e)?[e]:e.getFilters()}function Xc(f){return f instanceof Ws}
1function Jc(f){return f instanceof go&&Go(f)}function ku(f){return Xc(f)||Jc(f)||function(i){if(i instanceof go&&Ll(i)){for(const c of i.getFilters())if(!Xc(c)&&!Jc(c))return!1;return!0}return!1}(f)}function Su(f){if(yt(f instanceof Ws||f instanceof go,34018),f instanceof Ws)return f;if(1===f.filters.length)return Su(f.filters[0]);const e=f.filters.map(c=>Su(c));let i=go.create(e,f.op);return i=Zc(i),ku(i)?i:(yt(i instanceof go,64498),yt(Fa(i),40251),yt(i.filters.length>1,57927),i.filters.reduce((c,g)=>Uh(c,g)))}function Uh(f,e){let i;return yt(f instanceof Ws||f instanceof go,38388),yt(e instanceof Ws||e instanceof go,25473),i=f instanceof Ws?e instanceof Ws?go.create([f,e],"and"):xu(f,e):e instanceof Ws?xu(e,f):function(g,A){if(yt(g.filters.length>0&&A.filters.length>0,48005),Fa(g)&&Fa(A))return Nl(g,A.getFilters());const U=Ll(g)?g:A,se=Ll(g)?A:g,Se=U.filters.map(ut=>Uh(ut,se));return go.create(Se,"or")}(f,e),Zc(i)}function xu(f,e){if(Fa(e))return Nl(e,f.getFilters());{const i=e.filters.map(c=>Uh(f,c));return go.create(i,"or")}}function Zc(f){if(yt(f instanceof Ws||f instanceof go,11850),f instanceof Ws)return f;const e=f.getFilters();if(1===e.length)return Zc(e[0]);if(kc(f))return f;const i=e.map(g=>Zc(g)),c=[];return i.forEach(g=>{g instanceof Ws?c.push(g):g instanceof go&&(g.op===f.op?c.push(...g.filters):c.push(g))}),1===c.length?c[0]:go.create(c,f.op)}class ph{constructor(){this.Dn=new Nf}addToCollectionParentIndex(e,i){return this.Dn.add(i),et.resolve()}getCollectionParents(e,i){return et.resolve(this.Dn.getEntries(i))}addFieldIndex(e,i){return et.resolve()}deleteFieldIndex(e,i){return et.resolve()}deleteAllFieldIndexes(e){return et.resolve()}createTargetIndexes(e,i){return et.resolve()}getDocumentsMatchingTarget(e,i){return et.resolve(null)}getIndexType(e,i){return et.resolve(0)}getFieldIndexes(e,i){return et.resolve([])}getNextCollectionGroupToUpdate(e){return et.resolve(null)}getMinOffset(e,i){return et.resolve(_n.min())}getMinOffsetFromCollectionGroup(e,i){return et.resolve(_n.min())}updateCollectionGroup(e,i,c){return et.resolve()}updateIndexEntries(e,i){return et.resolve()}}class Nf{constructor(){this.index={}}add(e){const i=e.lastSegment(),c=e.popLast(),g=this.index[i]||new Os(ii.comparator),A=!g.has(c);return this.index[i]=g.add(c),A}has(e){const i=e.lastSegment(),c=e.popLast(),g=this.index[i];return g&&g.has(c)}getEntries(e){return(this.index[e]||new Os(ii.comparator)).toArray()}}const _h="IndexedDbIndexManager",gh=new Uint8Array(0);class Vd{constructor(e,i){this.databaseId=i,this.vn=new Nf,this.Cn=new rn(c=>Gl(c),(c,g)=>Fl(c,g)),this.uid=e.uid||""}addToCollectionParentIndex(e,i){if(!this.vn.has(i)){const c=i.lastSegment(),g=i.popLast();e.addOnCommittedListener(()=>{this.vn.add(i)});const A={collectionId:c,parent:Ns(g)};return fm(e).put(A)}return et.resolve()}getCollectionParents(e,i){const c=[],g=IDBKeyRange.bound([i,""],[ai(i),""],!1,!0);return fm(e).j(g).next(A=>{for(const U of A){if(U.collectionId!==i)break;c.push(Fs(U.parent))}return c})}addFieldIndex(e,i){const c=hu(e),g={indexId:(se=i).indexId,collectionGroup:se.collectionGroup,fields:se.fields.map(Se=>[Se.fieldPath.canonicalString(),Se.kind])};var se;delete g.indexId;const A=c.add(g);if(i.indexState){const U=yc(e);return A.next(se=>{U.put(xs(se,this.uid,i.indexState.sequenceNumber,i.indexState.offset))})}return A.next()}deleteFieldIndex(e,i){const c=hu(e),g=yc(e),A=Cd(e);return c.delete(i.indexId).next(()=>g.delete(IDBKeyRange.bound([i.indexId],[i.indexId+1],!1,!0))).next(()=>A.delete(IDBKeyRange.bound([i.indexId],[i.indexId+1],!1,!0)))}deleteAllFieldIndexes(e){const i=hu(e),c=Cd(e),g=yc(e);return i.Y().next(()=>c.Y()).next(()=>g.Y())}createTargetIndexes(e,i){return et.forEach(this.Fn(i),c=>this.getIndexType(e,c).next(g=>{if(0===g||1===g){const A=new sc(c).bn();if(null!=A)return this.addFieldIndex(e,A)}}))}getDocumentsMatchingTarget(e,i){const c=Cd(e);let g=!0;const A=new Map;return et.forEach(this.Fn(i),U=>this.Mn(e,U).next(se=>{g&&(g=!!se),A.set(U,se)})).next(()=>{if(g){let U=Hs();const se=[];return et.forEach(A,(Se,ut)=>{var Vs;nt(_h,`Using index ${Vs=Se,`id=${Vs.indexId}|cg=${Vs.collectionGroup}|f=${Vs.fields.map($o=>`${$o.fieldPath}:${$o.kind}`).join(",")}`} to execute ${Gl(i)}`);const Qt=function(Vs,$o){const qa=X($o);if(void 0===qa)return null;for(const aa of ne(Vs,qa.fieldPath))switch(aa.op){case"array-contains-any":return aa.value.arrayValue.values||[];case"array-contains":return[aa.value]}return null}(ut,Se),vn=function(Vs,$o){const qa=new Map;for(const aa of qe($o))for(const Ci of ne(Vs,aa.fieldPath))switch(Ci.op){case"==":case"in":qa.set(a
1a.fieldPath.canonicalString(),Ci.value);break;case"not-in":case"!=":return qa.set(aa.fieldPath.canonicalString(),Ci.value),Array.from(qa.values())}return null}(ut,Se),Kn=function(Vs,$o){const qa=[];let aa=!0;for(const Ci of qe($o)){const Xn=0===Ci.kind?Oe(Vs,Ci.fieldPath,Vs.startAt):me(Vs,Ci.fieldPath,Vs.startAt);qa.push(Xn.value),aa&&(aa=Xn.inclusive)}return new wa(qa,aa)}(ut,Se),ji=function(Vs,$o){const qa=[];let aa=!0;for(const Ci of qe($o)){const Xn=0===Ci.kind?me(Vs,Ci.fieldPath,Vs.endAt):Oe(Vs,Ci.fieldPath,Vs.endAt);qa.push(Xn.value),aa&&(aa=Xn.inclusive)}return new wa(qa,aa)}(ut,Se),hr=this.xn(Se,ut,Kn),kr=this.xn(Se,ut,ji),Sr=this.On(Se,ut,vn),hs=this.Nn(Se.indexId,Qt,hr,Kn.inclusive,kr,ji.inclusive,Sr);return et.forEach(hs,zs=>c.H(zs,i.limit).next(Vs=>{Vs.forEach($o=>{const qa=ci.fromSegments($o.documentKey);U.has(qa)||(U=U.add(qa),se.push(qa))})}))}).next(()=>se)}return et.resolve(null)})}Fn(e){let i=this.Cn.get(e);return i||(i=0===e.filters.length?[e]:Xu(go.create(e.filters,"and")).map(c=>$l(e.path,e.collectionGroup,e.orderBy,c.getFilters(),e.limit,e.startAt,e.endAt)),this.Cn.set(e,i),i)}Nn(e,i,c,g,A,U,se){const Se=(null!=i?i.length:1)*Math.max(c.length,A.length),ut=Se/(null!=i?i.length:1),Qt=[];for(let vn=0;vn<Se;++vn){const Kn=i?this.Bn(i[vn/ut]):gh,ji=this.Ln(e,Kn,c[vn%ut],g),hr=this.kn(e,Kn,A[vn%ut],U),kr=se.map(Sr=>this.Ln(e,Kn,Sr,!0));Qt.push(...this.createRange(ji,hr,kr))}return Qt}Ln(e,i,c,g){const A=new qd(e,ci.empty(),i,c);return g?A:A.En()}kn(e,i,c,g){const A=new qd(e,ci.empty(),i,c);return g?A.En():A}Mn(e,i){const c=new sc(i),g=null!=i.collectionGroup?i.collectionGroup:i.path.lastSegment();return this.getFieldIndexes(e,g).next(A=>{let U=null;for(const se of A)c.pn(se)&&(!U||se.fields.length>U.fields.length)&&(U=se);return U})}getIndexType(e,i){let c=2;const g=this.Fn(i);return et.forEach(g,A=>this.Mn(e,A).next(U=>{U?0!==c&&U.fields.length<function(Se){let ut=new Os(Sn.comparator),Qt=!1;for(const vn of Se.filters)for(const Kn of vn.getFlattenedFilters())Kn.field.isKeyField()||("array-contains"===Kn.op||"array-contains-any"===Kn.op?Qt=!0:ut=ut.add(Kn.field));for(const vn of Se.orderBy)vn.field.isKeyField()||(ut=ut.add(vn.field));return ut.size+(Qt?1:0)}(A)&&(c=1):c=0})).next(()=>null!==i.limit&&g.length>1&&2===c?1:c)}qn(e,i){const c=new Zd;for(const g of qe(e)){const A=i.data.field(g.fieldPath);if(null==A)return null;const U=c.hn(g.kind);Za.Ut.bt(A,U)}return c.an()}Bn(e){const i=new Zd;return Za.Ut.bt(e,i.hn(0)),i.an()}Qn(e,i){const c=new Zd;return Za.Ut.bt(ri(this.databaseId,i),c.hn(function(A){const U=qe(A);return 0===U.length?0:U[U.length-1].kind}(e))),c.an()}On(e,i,c){if(null===c)return[];let g=[];g.push(new Zd);let A=0;for(const U of qe(e)){const se=c[A++];for(const Se of g)if(this.$n(i,U.fieldPath)&&Pi(se))g=this.Un(g,U,se);else{const ut=Se.hn(U.kind);Za.Ut.bt(se,ut)}}return this.Kn(g)}xn(e,i,c){return this.On(e,i,c.position)}Kn(e){const i=[];for(let c=0;c<e.length;++c)i[c]=e[c].an();return i}Un(e,i,c){const g=[...e],A=[];for(const U of c.arrayValue.values||[])for(const se of g){const Se=new Zd;Se.seed(se.an()),Za.Ut.bt(U,Se.hn(i.kind)),A.push(Se)}return A}$n(e,i){return!!e.filters.find(c=>c instanceof Ws&&c.field.isEqual(i)&&("in"===c.op||"not-in"===c.op))}getFieldIndexes(e,i){const c=hu(e),g=yc(e);return(i?c.j(As,IDBKeyRange.bound(i,i)):c.j()).next(A=>{const U=[];return et.forEach(A,se=>g.get([se.indexId,this.uid]).next(Se=>{U.push(function(Qt,vn){const Kn=vn?new Qi(vn.sequenceNumber,new _n(si(vn.readTime),new ci(Fs(vn.documentKey)),vn.largestBatchId)):Qi.empty(),ji=Qt.fields.map(([hr,kr])=>new On(Sn.fromServerFormat(hr),kr));return new j(Qt.indexId,Qt.collectionGroup,ji,Kn)}(se,Se))})).next(()=>U)})}getNextCollectionGroupToUpdate(e){return this.getFieldIndexes(e).next(i=>0===i.length?null:(i.sort((c,g)=>{const A=c.indexState.sequenceNumber-g.indexState.sequenceNumber;return 0!==A?A:Tn(c.collectionGroup,g.collectionGroup)}),i[0].collectionGroup))}updateCollectionGroup(e,i,c){const g=hu(e),A=yc(e);return this.Wn(e).next(U=>g.j(As,IDBKeyRange.bound(i,i)).next(se=>et.forEach(se,Se=>A.put(xs(Se.indexId,this.uid,U,c)))))}updateIndexEntries(e,i){const c=new Map;return et.forEach(i,(g,A)=>{const U=c.get(g.collectionGroup);return(U?et.resolve(U):this.getFieldIndexes(e,g.collectionGroup)).next(se=>(c.set(g.collectionGroup,se),et.forEach(se,Se=>this.Gn(e,g,Se).next(ut=>{const Qt=this.zn(A,Se);return ut.isEqual(Qt)?et.resolve():this.jn(e,A,Se,ut,Qt)}))))})}Jn(e,i,c,g){return Cd(e).put(g.An(this.uid,this.Qn(c,i.key),i.key))}Hn(e,i,c,g){return Cd(e).delete(g.Rn(this.uid,this.Qn(c,i.key),i.key))}Gn(e,i,c){const g=Cd(e);let A=new Os(uu);return g.X({index:ur,range:IDBKeyRange.only([c.indexId,this.uid,Fc(this.Qn(c,i))])},(U,se)=>{A=A.add(new qd(c.indexId,i,Wl(se.arrayValue),Wl(se.directionalValue)))}).next(()=>A)}zn(e,i){let c=new Os(uu);const g=this.qn(i,e);if(null==g)return c;const A=X(i);if(null!=A){const U=e.data.field(A.fieldPath);if(Pi(U))for(const se of U.arrayValue.values||[])c=c.add(new qd(i.indexId,e.key,this.Bn(se),g))}else c=c.add(new qd(i.indexId,e.key,gh,g));return c}jn(e,i,c,g,A){nt(_h,"Updating index entries for document '%s'",i.key);const U=[];return function(Se,ut,Qt,vn,Kn){const ji=Se.getIterator(),hr=ut.getIterator();let kr=Sa(ji),Sr=Sa(hr);for(;kr||Sr;){let hs=!1,zs=!1;if(kr&&Sr){const Vs=Qt(kr,Sr);Vs<0?zs=!0:Vs>0&&(hs=!0)}else null!=kr?zs=!0:hs=!0;hs?(vn(Sr),Sr=Sa(hr)):zs?(Kn(kr),kr=Sa(ji)):(kr=Sa(ji),Sr=Sa(hr))}}(g,A,uu,se=>{U.push(this.Jn(e,i,c,se))},se=>{U.push(this.Hn(e,i,c,se))}),et.waitFor(U)}Wn(e){let i=1;return yc(e).X({index:kn,reverse:!0,range:IDBKeyRange.upperBound([this.uid,Number.MAX_SAFE_INTEGER])},(c,g,A)=>{A.done(),i=g.sequenceNumber+1}
1).next(()=>i)}createRange(e,i,c){c=c.sort((U,se)=>uu(U,se)).filter((U,se,Se)=>!se||0!==uu(U,Se[se-1]));const g=[];g.push(e);for(const U of c){const se=uu(U,e),Se=uu(U,i);if(0===se)g[0]=e.En();else if(se>0&&Se<0)g.push(U),g.push(U.En());else if(Se>0)break}g.push(i);const A=[];for(let U=0;U<g.length;U+=2){if(this.Yn(g[U],g[U+1]))return[];const se=g[U].Rn(this.uid,gh,ci.empty()),Se=g[U+1].Rn(this.uid,gh,ci.empty());A.push(IDBKeyRange.bound(se,Se))}return A}Yn(e,i){return uu(e,i)>0}getMinOffsetFromCollectionGroup(e,i){return this.getFieldIndexes(e,i).next(Ff)}getMinOffset(e,i){return et.mapArray(this.Fn(i),c=>this.Mn(e,c).next(g=>g||Te(44426))).next(Ff)}}function fm(f){return cs(f,Vn)}function Cd(f){return cs(f,fi)}function hu(f){return cs(f,Jo)}function yc(f){return cs(f,Ct)}function Ff(f){yt(0!==f.length,28825);let e=f[0].indexState.offset,i=e.largestBatchId;for(let c=1;c<f.length;c++){const g=f[c].indexState.offset;an(g,e)<0&&(e=g),i<g.largestBatchId&&(i=g.largestBatchId)}return new _n(e.readTime,e.documentKey,i)}const vh={didRun:!1,sequenceNumbersCollected:0,targetsRemoved:0,documentsRemoved:0};class Hl{static withCacheSize(e){return new Hl(e,Hl.DEFAULT_COLLECTION_PERCENTILE,Hl.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT)}constructor(e,i,c){this.cacheSizeCollectionThreshold=e,this.percentileToCollect=i,this.maximumSequenceNumbersToCollect=c}}function Wh(f,e,i){const c=f.store(Ni),g=f.store(_i),A=[],U=IDBKeyRange.only(i.batchId);let se=0;const Se=c.X({range:U},(Qt,vn,Kn)=>(se++,Kn.delete()));A.push(Se.next(()=>{yt(1===se,47070,{batchId:i.batchId})}));const ut=[];for(const Qt of i.mutations){const vn=ot(e,Qt.key.path,i.batchId);A.push(g.delete(vn)),ut.push(Qt.key)}return et.waitFor(A).next(()=>ut)}function pd(f){if(!f)return 0;let e;if(f.document)e=f.document;else if(f.unknownDocument)e=f.unknownDocument;else{if(!f.noDocument)throw Te(14731);e=f.noDocument}return JSON.stringify(e).length}Hl.DEFAULT_COLLECTION_PERCENTILE=10,Hl.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT=1e3,Hl.DEFAULT=new Hl(41943040,Hl.DEFAULT_COLLECTION_PERCENTILE,Hl.DEFAULT_MAX_SEQUENCE_NUMBERS_TO_COLLECT),Hl.DISABLED=new Hl(-1,0,0);class Ju{constructor(e,i,c,g){this.userId=e,this.serializer=i,this.indexManager=c,this.referenceDelegate=g,this.Zn={}}static yt(e,i,c,g){yt(""!==e.uid,64387);const A=e.isAuthenticated()?e.uid:"";return new Ju(A,i,c,g)}checkEmpty(e){let i=!0;const c=IDBKeyRange.bound([this.userId,Number.NEGATIVE_INFINITY],[this.userId,Number.POSITIVE_INFINITY]);return oc(e).X({index:Ri,range:c},(g,A,U)=>{i=!1,U.done()}).next(()=>i)}addMutationBatch(e,i,c,g){const A=eu(e),U=oc(e);return U.add({}).next(se=>{yt("number"==typeof se,49019);const Se=new hl(se,i,c,g),ut=function(ji,hr,kr){const Sr=kr.baseMutations.map(zs=>Na(ji.gt,zs)),hs=kr.mutations.map(zs=>Na(ji.gt,zs));return{userId:hr,batchId:kr.batchId,localWriteTimeMs:kr.localWriteTime.toMillis(),baseMutations:Sr,mutations:hs}}(this.serializer,this.userId,Se),Qt=[];let vn=new Os((Kn,ji)=>Tn(Kn.canonicalString(),ji.canonicalString()));for(const Kn of g){const ji=ot(this.userId,Kn.key.path,se);vn=vn.add(Kn.key.path.popLast()),Qt.push(U.put(ut)),Qt.push(A.put(ji,bn))}return vn.forEach(Kn=>{Qt.push(this.indexManager.addToCollectionParentIndex(e,Kn))}),e.addOnCommittedListener(()=>{this.Zn[se]=Se.keys()}),et.waitFor(Qt).next(()=>Se)})}lookupMutationBatch(e,i){return oc(e).get(i).next(c=>c?(yt(c.userId===this.userId,48,"Unexpected user for mutation batch",{userId:c.userId,batchId:i}),xi(this.serializer,c)):null)}Xn(e,i){return this.Zn[i]?et.resolve(this.Zn[i]):this.lookupMutationBatch(e,i).next(c=>{if(c){const g=c.keys();return this.Zn[i]=g,g}return null})}getNextMutationBatchAfterBatchId(e,i){const c=i+1,g=IDBKeyRange.lowerBound([this.userId,c]);let A=null;return oc(e).X({index:Ri,range:g},(U,se,Se)=>{se.userId===this.userId&&(yt(se.batchId>=c,47524,{er:c}),A=xi(this.serializer,se)),Se.done()}).next(()=>A)}getHighestUnacknowledgedBatchId(e){const i=IDBKeyRange.upperBound([this.userId,Number.POSITIVE_INFINITY]);let c=-1;return oc(e).X({index:Ri,range:i,reverse:!0},(g,A,U)=>{c=A.batchId,U.done()}).next(()=>c)}getAllMutationBatches(e){const i=IDBKeyRange.bound([this.userId,-1],[this.userId,Number.POSITIVE_INFINITY]);return oc(e).j(Ri,i).next(c=>c.map(g=>xi(this.serializer,g)))}getAllMutationBatchesAffectingDocumentKey(e,i){const c=st(this.userId,i.path),g=IDBKeyRange.lowerBound(c),A=[];return eu(e).X({range:g},(U,se,Se)=>{const[ut,Qt,vn]=U,Kn=Fs(Qt);if(ut===this.userId&&i.path.isEqual(Kn))return oc(e).get(vn).next(ji=>{if(!ji)throw Te(61480,{tr:U,batchId:vn});yt(ji.userId===this.userId,10503,"Unexpected user for mutation batch",{userId:ji.userId,batchId:vn}),A.push(xi(this.serializer,ji))});Se.done()}).next(()=>A)}getAllMutationBatchesAffectingDocumentKeys(e,i){let c=new Os(Tn);const g=[];
1return i.forEach(A=>{const U=st(this.userId,A.path),se=IDBKeyRange.lowerBound(U),Se=eu(e).X({range:se},(ut,Qt,vn)=>{const[Kn,ji,hr]=ut,kr=Fs(ji);Kn===this.userId&&A.path.isEqual(kr)?c=c.add(hr):vn.done()});g.push(Se)}),et.waitFor(g).next(()=>this.nr(e,c))}getAllMutationBatchesAffectingQuery(e,i){const c=i.path,g=c.length+1,A=st(this.userId,c),U=IDBKeyRange.lowerBound(A);let se=new Os(Tn);return eu(e).X({range:U},(Se,ut,Qt)=>{const[vn,Kn,ji]=Se,hr=Fs(Kn);vn===this.userId&&c.isPrefixOf(hr)?hr.length===g&&(se=se.add(ji)):Qt.done()}).next(()=>this.nr(e,se))}nr(e,i){const c=[],g=[];return i.forEach(A=>{g.push(oc(e).get(A).next(U=>{if(null===U)throw Te(35274,{batchId:A});yt(U.userId===this.userId,9748,"Unexpected user for mutation batch",{userId:U.userId,batchId:A}),c.push(xi(this.serializer,U))}))}),et.waitFor(g).next(()=>c)}removeMutationBatch(e,i){return Wh(e.ce,this.userId,i).next(c=>(e.addOnCommittedListener(()=>{this.rr(i.batchId)}),et.forEach(c,g=>this.referenceDelegate.markPotentiallyOrphaned(e,g))))}rr(e){delete this.Zn[e]}performConsistencyCheck(e){return this.checkEmpty(e).next(i=>{if(!i)return et.resolve();const c=IDBKeyRange.lowerBound(function(U){return[U]}(this.userId)),g=[];return eu(e).X({range:c},(A,U,se)=>{if(A[0]===this.userId){const Se=Fs(A[1]);g.push(Se)}else se.done()}).next(()=>{yt(0===g.length,56720,{ir:g.map(A=>A.canonicalString())})})})}containsKey(e,i){return fu(e,this.userId,i)}sr(e){return Hh(e).get(this.userId).next(i=>i||{userId:this.userId,lastAcknowledgedBatchId:-1,lastStreamToken:""})}}function fu(f,e,i){const c=st(e,i.path),g=c[1],A=IDBKeyRange.lowerBound(c);let U=!1;return eu(f).X({range:A,Z:!0},(se,Se,ut)=>{const[Qt,vn,Kn]=se;Qt===e&&vn===g&&(U=!0),ut.done()}).next(()=>U)}function oc(f){return cs(f,Ni)}function eu(f){return cs(f,_i)}function Hh(f){return cs(f,Pn)}class K{constructor(e){this._r=e}next(){return this._r+=2,this._r}static ar(){return new K(0)}static ur(){return new K(-1)}}class C{constructor(e,i){this.referenceDelegate=e,this.serializer=i}allocateTargetId(e){return this.cr(e).next(i=>{const c=new K(i.highestTargetId);return i.highestTargetId=c.next(),this.lr(e,i).next(()=>i.highestTargetId)})}getLastRemoteSnapshotVersion(e){return this.cr(e).next(i=>_e.fromTimestamp(new we(i.lastRemoteSnapshotVersion.seconds,i.lastRemoteSnapshotVersion.nanoseconds)))}getHighestSequenceNumber(e){return this.cr(e).next(i=>i.highestListenSequenceNumber)}setTargetsMetadata(e,i,c){return this.cr(e).next(g=>(g.highestListenSequenceNumber=i,c&&(g.lastRemoteSnapshotVersion=c.toTimestamp()),i>g.highestListenSequenceNumber&&(g.highestListenSequenceNumber=i),this.lr(e,g)))}addTargetData(e,i){return this.hr(e,i).next(()=>this.cr(e).next(c=>(c.targetCount+=1,this.Pr(i,c),this.lr(e,c))))}updateTargetData(e,i){return this.hr(e,i)}removeTargetData(e,i){return this.removeMatchingKeysForTargetId(e,i.targetId).next(()=>O(e).delete(i.targetId)).next(()=>this.cr(e)).next(c=>(yt(c.targetCount>0,8065),c.targetCount-=1,this.lr(e,c)))}removeTargets(e,i,c){let g=0;const A=[];return O(e).X((U,se)=>{const Se=Yi(se);Se.sequenceNumber<=i&&null===c.get(Se.targetId)&&(g++,A.push(this.removeTargetData(e,Se)))}).next(()=>et.waitFor(A)).next(()=>g)}forEachTarget(e,i){return O(e).X((c,g)=>{const A=Yi(g);i(A)})}cr(e){return ee(e).get(Mn).next(i=>(yt(null!==i,2888),i))}lr(e,i){return ee(e).put(Mn,i)}hr(e,i){return O(e).put(zi(this.serializer,i))}Pr(e,i){let c=!1;return e.targetId>i.highestTargetId&&(i.highestTargetId=e.targetId,c=!0),e.sequenceNumber>i.highestListenSequenceNumber&&(i.highestListenSequenceNumber=e.sequenceNumber,c=!0),c}getTargetCount(e){return this.cr(e).next(i=>i.targetCount)}getTargetData(e,i){const c=Gl(i),g=IDBKeyRange.bound([c,Number.NEGATIVE_INFINITY],[c,Number.POSITIVE_INFINITY]);let A=null;return O(e).X({range:g,index:sn},(U,se,Se)=>{const ut=Yi(se);Fl(i,ut.target)&&(A=ut,Se.done())}).next(()=>A)}addMatchingKeys(e,i,c){const g=[],A=pt(e);return i.forEach(U=>{const se=Ns(U.path);g.push(A.put({targetId:c,path:se})),g.push(this.referenceDelegate.addReference(e,c,U))}),et.waitFor(g)}removeMatchingKeys(e,i,c){const g=pt(e);return et.forEach(i,A=>{const U=Ns(A.path);return et.waitFor([g.delete([c,U]),this.referenceDelegate.removeReference(e,c,A)])})}removeMatchingKeysForTargetId(e,i){const c=pt(e),g=IDBKeyRange.bound([i],[i+1],!1,!0);return c.delete(g)}getMatchingKeysForTargetId(e,i){const c=IDBKeyRange.bound([i],[i+1],!1,!0),g=pt(e);let A=Hs();return g.X({range:c,Z:!0},(U,se,Se)=>{const ut=Fs(U[1]),Qt=new ci(ut);A=A.add(Qt)}).next(()=>A)}containsKey(e,i){const c=Ns(i.path),g=IDBKeyRange.bound([c],[ai(c)],!1,!0);let A=0;return pt(e).X({index:$i,Z:!0,range:g},([U,se],Se,ut)=>{0!==U&&(A++,ut.done())}).next(()=>A>0)}Et(e,i){return O(e).get(i).next(c=>c?Yi(c):null)}}
1function O(f){return cs(f,Lt)}function ee(f){return cs(f,Fn)}function pt(f){return cs(f,qi)}const ln="LruGarbageCollector";function yi([f,e],[i,c]){const g=Tn(f,i);return 0===g?Tn(e,c):g}class ir{constructor(e){this.Tr=e,this.buffer=new Os(yi),this.Ir=0}dr(){return++this.Ir}Er(e){const i=[e,this.dr()];if(this.buffer.size<this.Tr)this.buffer=this.buffer.add(i);else{const c=this.buffer.last();yi(i,c)<0&&(this.buffer=this.buffer.delete(c).add(i))}}get maxValue(){return this.buffer.last()[0]}}class sr{constructor(e,i,c){this.garbageCollector=e,this.asyncQueue=i,this.localStore=c,this.Ar=null}start(){-1!==this.garbageCollector.params.cacheSizeCollectionThreshold&&this.Rr(6e4)}stop(){this.Ar&&(this.Ar.cancel(),this.Ar=null)}get started(){return null!==this.Ar}Rr(e){var i=this;nt(ln,`Garbage collection scheduled in ${e}ms`),this.Ar=this.asyncQueue.enqueueAfterDelay("lru_garbage_collection",e,(0,o.A)(function*(){i.Ar=null;try{yield i.localStore.collectGarbage(i.garbageCollector)}catch(c){xn(c)?nt(ln,"Ignoring IndexedDB error during garbage collection: ",c):yield De(c)}yield i.Rr(3e5)}))}}class qr{constructor(e,i){this.Vr=e,this.params=i}calculateTargetCount(e,i){return this.Vr.mr(e).next(c=>Math.floor(i/100*c))}nthSequenceNumber(e,i){if(0===i)return et.resolve(Ai.ue);const c=new ir(i);return this.Vr.forEachTarget(e,g=>c.Er(g.sequenceNumber)).next(()=>this.Vr.gr(e,g=>c.Er(g))).next(()=>c.maxValue)}removeTargets(e,i,c){return this.Vr.removeTargets(e,i,c)}removeOrphanedDocuments(e,i){return this.Vr.removeOrphanedDocuments(e,i)}collect(e,i){return-1===this.params.cacheSizeCollectionThreshold?(nt("LruGarbageCollector","Garbage collection skipped; disabled"),et.resolve(vh)):this.getCacheSize(e).next(c=>c<this.params.cacheSizeCollectionThreshold?(nt("LruGarbageCollector",`Garbage collection skipped; Cache size ${c} is lower than threshold ${this.params.cacheSizeCollectionThreshold}`),vh):this.pr(e,i))}getCacheSize(e){return this.Vr.getCacheSize(e)}pr(e,i){let c,g,A,U,se,Se,ut;const Qt=Date.now();return this.calculateTargetCount(e,this.params.percentileToCollect).next(vn=>(vn>this.params.maximumSequenceNumbersToCollect?(nt("LruGarbageCollector",`Capping sequence numbers to collect down to the maximum of ${this.params.maximumSequenceNumbersToCollect} from ${vn}`),g=this.params.maximumSequenceNumbersToCollect):g=vn,U=Date.now(),this.nthSequenceNumber(e,g))).next(vn=>(c=vn,se=Date.now(),this.removeTargets(e,c,i))).next(vn=>(A=vn,Se=Date.now(),this.removeOrphanedDocuments(e,c))).next(vn=>(ut=Date.now(),at()<=y.$b.DEBUG&&nt("LruGarbageCollector",`LRU Garbage Collection\n\tCounted targets in ${U-Qt}ms\n\tDetermined least recently used ${g} in `+(se-U)+`ms\n\tRemoved ${A} targets in `+(Se-se)+`ms\n\tRemoved ${vn} documents in `+(ut-Se)+`ms\nTotal Duration: ${ut-Qt}ms`),et.resolve({didRun:!0,sequenceNumbersCollected:g,targetsRemoved:A,documentsRemoved:vn})))}}function ns(f,e){return new qr(f,e)}class Ts{constructor(e,i){this.db=e,this.garbageCollector=ns(this,i)}mr(e){const i=this.yr(e);return this.db.getTargetCache().getTargetCount(e).next(c=>i.next(g=>c+g))}yr(e){let i=0;return this.gr(e,c=>{i++}).next(()=>i)}forEachTarget(e,i){return this.db.getTargetCache().forEachTarget(e,i)}gr(e,i){return this.wr(e,(c,g)=>i(g))}addReference(e,i,c){return Xo(e,c)}removeReference(e,i,c){return Xo(e,c)}removeTargets(e,i,c){return this.db.getTargetCache().removeTargets(e,i,c)}markPotentiallyOrphaned(e,i){return Xo(e,i)}Sr(e,i){return function(g,A){let U=!1;return Hh(g).ee(se=>fu(g,se,A).next(Se=>(Se&&(U=!0),et.resolve(!Se)))).next(()=>U)}(e,i)}removeOrphanedDocuments(e,i){const c=this.db.getRemoteDocumentCache().newChangeBuffer(),g=[];let A=0;return this.wr(e,(U,se)=>{if(se<=i){const Se=this.Sr(e,U).next(ut=>{if(!ut)return A++,c.getEntry(e,U).next(()=>(c.removeEntry(U,_e.min()),pt(e).delete([0,Ns(U.path)])))});g.push(Se)}}).next(()=>et.waitFor(g)).next(()=>c.apply(e)).next(()=>A)}removeTarget(e,i){const c=i.withSequenceNumber(e.currentSequenceNumber);return this.db.getTargetCache().updateTargetData(e,c)}updateLimboDocument(e,i){return Xo(e,i)}wr(e,i){const c=pt(e);let g,A=Ai.ue;return c.X({index:$i},([U,se],{path:Se,sequenceNumber:ut})=>{0===U?(A!==Ai.ue&&i(new ci(Fs(g)),A),A=ut,g=Se):A=Ai.ue}).next(()=>{A!==Ai.ue&&i(new ci(Fs(g)),A)})}getCacheSize(e){return this.db.getRemoteDocumentCache().getSize(e)}}function Xo(f,e){return pt(f).put((g=f.currentSequenceNumber,{targetId:0,path:Ns(e.path),sequenceNumber:g}));var g}class qc{constructor(){this.changes=new rn(e=>e.toString(),(e,i)=>e.isEqual(i)),this.changesApplied=!1}addEntry(e){this.assertNotApplied(),this.changes.set(e.key,e)}removeEntry(e,i){this.assertNotApplied(),this.changes.set(e,ps.newInvalidDocument(e).setReadTime(i))}getEntry(e,i){this.assertNotApplied();const c=this.changes.get(i);return void 0!==c?et.resolve(c):this.getFromCache(e,i)}getEntries(e,i){return this.getAllFromCache(e,i)}apply(e){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(e)}
1assertNotApplied(){}}class _d{constructor(e){this.serializer=e}setIndexManager(e){this.indexManager=e}addEntry(e,i,c){return bc(e).put(c)}removeEntry(e,i,c){return bc(e).delete(function(A,U){const se=A.path.toArray();return[se.slice(0,se.length-2),se[se.length-2],fn(U),se[se.length-1]]}(i,c))}updateMetadata(e,i){return this.getMetadata(e).next(c=>(c.byteSize+=i,this.br(e,c)))}getEntry(e,i){let c=ps.newInvalidDocument(i);return bc(e).X({index:to,range:IDBKeyRange.only(Ru(i))},(g,A)=>{c=this.Dr(i,A)}).next(()=>c)}vr(e,i){let c={size:0,document:ps.newInvalidDocument(i)};return bc(e).X({index:to,range:IDBKeyRange.only(Ru(i))},(g,A)=>{c={document:this.Dr(i,A),size:pd(A)}}).next(()=>c)}getEntries(e,i){let c=ga();return this.Cr(e,i,(g,A)=>{const U=this.Dr(g,A);c=c.insert(g,U)}).next(()=>c)}Fr(e,i){let c=ga(),g=new Ps(ci.comparator);return this.Cr(e,i,(A,U)=>{const se=this.Dr(A,U);c=c.insert(A,se),g=g.insert(A,pd(U))}).next(()=>({documents:c,Mr:g}))}Cr(e,i,c){if(i.isEmpty())return et.resolve();let g=new Os(Zu);i.forEach(Se=>g=g.add(Se));const A=IDBKeyRange.bound(Ru(g.first()),Ru(g.last())),U=g.getIterator();let se=U.getNext();return bc(e).X({index:to,range:A},(Se,ut,Qt)=>{const vn=ci.fromSegments([...ut.prefixPath,ut.collectionGroup,ut.documentId]);for(;se&&Zu(se,vn)<0;)c(se,null),se=U.getNext();se&&se.isEqual(vn)&&(c(se,ut),se=U.hasNext()?U.getNext():null),se?Qt.G(Ru(se)):Qt.done()}).next(()=>{for(;se;)c(se,null),se=U.hasNext()?U.getNext():null})}getDocumentsMatchingQuery(e,i,c,g,A){const U=i.path,se=[U.popLast().toArray(),U.lastSegment(),fn(c.readTime),c.documentKey.path.isEmpty()?"":c.documentKey.path.lastSegment()],Se=[U.popLast().toArray(),U.lastSegment(),[Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],""];return bc(e).j(IDBKeyRange.bound(se,Se,!0)).next(ut=>{A?.incrementDocumentReadCount(ut.length);let Qt=ga();for(const vn of ut){const Kn=this.Dr(ci.fromSegments(vn.prefixPath.concat(vn.collectionGroup,vn.documentId)),vn);Kn.isFoundDocument()&&(Bl(i,Kn)||g.has(Kn.key))&&(Qt=Qt.insert(Kn.key,Kn))}return Qt})}getAllFromCollectionGroup(e,i,c,g){let A=ga();const U=of(i,c),se=of(i,_n.max());return bc(e).X({index:Co,range:IDBKeyRange.bound(U,se,!0)},(Se,ut,Qt)=>{const vn=this.Dr(ci.fromSegments(ut.prefixPath.concat(ut.collectionGroup,ut.documentId)),ut);A=A.insert(vn.key,vn),A.size===g&&Qt.done()}).next(()=>A)}newChangeBuffer(e){return new Hm(this,!!e&&e.trackRemovals)}getSize(e){return this.getMetadata(e).next(i=>i.byteSize)}getMetadata(e){return Bf(e).get(An).next(i=>(yt(!!i,20021),i))}br(e,i){return Bf(e).put(An,i)}Dr(e,i){if(i){const c=function vt(f,e){let i;if(e.document)i=Jr(f.gt,e.document,!!e.hasCommittedMutations);else if(e.noDocument){const c=ci.fromSegments(e.noDocument.path),g=si(e.noDocument.readTime);i=ps.newNoDocument(c,g),e.hasCommittedMutations&&i.setHasCommittedMutations()}else{if(!e.unknownDocument)return Te(56709);{const c=ci.fromSegments(e.unknownDocument.path),g=si(e.unknownDocument.version);i=ps.newUnknownDocument(c,g)}}return e.readTime&&i.setReadTime(function(g){const A=new we(g[0],g[1]);return _e.fromTimestamp(A)}(e.readTime)),i}(this.serializer,i);if(!c.isNoDocument()||!c.version.isEqual(_e.min()))return c}return ps.newInvalidDocument(e)}}function Tc(f){return new _d(f)}class Hm extends qc{constructor(e,i){super(),this.Or=e,this.trackRemovals=i,this.Nr=new rn(c=>c.toString(),(c,g)=>c.isEqual(g))}applyChanges(e){const i=[];let c=0,g=new Os((A,U)=>Tn(A.canonicalString(),U.canonicalString()));
1return this.changes.forEach((A,U)=>{const se=this.Nr.get(A);if(i.push(this.Or.removeEntry(e,A,se.readTime)),U.isValidDocument()){const Se=Wt(this.Or.serializer,U);g=g.add(A.path.popLast());const ut=pd(Se);c+=ut-se.size,i.push(this.Or.addEntry(e,A,Se))}else if(c-=se.size,this.trackRemovals){const Se=Wt(this.Or.serializer,U.convertToNoDocument(_e.min()));i.push(this.Or.addEntry(e,A,Se))}}),g.forEach(A=>{i.push(this.Or.indexManager.addToCollectionParentIndex(e,A))}),i.push(this.Or.updateMetadata(e,c)),et.waitFor(i)}getFromCache(e,i){return this.Or.vr(e,i).next(c=>(this.Nr.set(i,{size:c.size,readTime:c.document.readTime}),c.document))}getAllFromCache(e,i){return this.Or.Fr(e,i).next(({documents:c,Mr:g})=>(g.forEach((A,U)=>{this.Nr.set(A,{size:U,readTime:c.get(A).readTime})}),c))}}function Bf(f){return cs(f,Dt)}function bc(f){return cs(f,Yr)}function Ru(f){const e=f.path.toArray();return[e.slice(0,e.length-2),e[e.length-2],e[e.length-1]]}function of(f,e){const i=e.documentKey.path.toArray();return[f,fn(e.readTime),i.slice(0,i.length-2),i.length>0?i[i.length-1]:""]}function Zu(f,e){const i=f.path.toArray(),c=e.path.toArray();let g=0;for(let A=0;A<i.length-2&&A<c.length-2;++A)if(g=Tn(i[A],c[A]),g)return g;return g=Tn(i.length,c.length),g||(g=Tn(i[i.length-2],c[c.length-2]),g||Tn(i[i.length-1],c[c.length-1]))}class Ym{constructor(e,i){this.overlayedDocument=e,this.mutatedFields=i}}class yh{constructor(e,i,c,g){this.remoteDocumentCache=e,this.mutationQueue=i,this.documentOverlayCache=c,this.indexManager=g}getDocument(e,i){let c=null;return this.documentOverlayCache.getOverlay(e,i).next(g=>(c=g,this.remoteDocumentCache.getEntry(e,i))).next(g=>(null!==c&&Ma(c.mutation,g,Fo.empty(),we.now()),g))}getDocuments(e,i){return this.remoteDocumentCache.getEntries(e,i).next(c=>this.getLocalViewOfDocuments(e,c,Hs()).next(()=>c))}getLocalViewOfDocuments(e,i,c=Hs()){const g=Ml();return this.populateOverlays(e,g,i).next(()=>this.computeViews(e,i,g,c).next(A=>{let U=ro();return A.forEach((se,Se)=>{U=U.insert(se,Se.overlayedDocument)}),U}))}getOverlayedDocuments(e,i){const c=Ml();return this.populateOverlays(e,c,i).next(()=>this.computeViews(e,i,c,Hs()))}populateOverlays(e,i,c){const g=[];return c.forEach(A=>{i.has(A)||g.push(A)}),this.documentOverlayCache.getOverlays(e,g).next(A=>{A.forEach((U,se)=>{i.set(U,se)})})}computeViews(e,i,c,g){let A=ga();const U=Ql(),se=Ql();return i.forEach((Se,ut)=>{const Qt=c.get(ut.key);g.has(ut.key)&&(void 0===Qt||Qt.mutation instanceof es)?A=A.insert(ut.key,ut):void 0!==Qt?(U.set(ut.key,Qt.mutation.getFieldMask()),Ma(Qt.mutation,ut,Qt.mutation.getFieldMask(),we.now())):U.set(ut.key,Fo.empty())}),this.recalculateAndSaveOverlays(e,A).next(Se=>(Se.forEach((ut,Qt)=>U.set(ut,Qt)),i.forEach((ut,Qt)=>{var vn;return se.set(ut,new Ym(Qt,null!==(vn=U.get(ut))&&void 0!==vn?vn:null))}),se))}recalculateAndSaveOverlays(e,i){const c=Ql();let g=new Ps((U,se)=>U-se),A=Hs();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(e,i).next(U=>{for(const se of U)se.keys().forEach(Se=>{const ut=i.get(Se);if(null===ut)return;let Qt=c.get(Se)||Fo.empty();Qt=se.applyToLocalView(ut,Qt),c.set(Se,Qt);const vn=(g.get(se.batchId)||Hs()).add(Se);g=g.insert(se.batchId,vn)})}).next(()=>{const U=[],se=g.getReverseIterator();for(;se.hasNext();){const Se=se.getNext(),ut=Se.key,Qt=Se.value,vn=rl();Qt.forEach(Kn=>{if(!A.has(Kn)){const ji=Ss(i.get(Kn),c.get(Kn));null!==ji&&vn.set(Kn,ji),A=A.add(Kn)}}),U.push(this.documentOverlayCache.saveOverlays(e,ut,vn))}return et.waitFor(U)}).next(()=>c)}recalculateAndSaveOverlaysForDocumentKeys(e,i){return this.remoteDocumentCache.getEntries(e,i).next(c=>this.recalculateAndSaveOverlays(e,c))}getDocumentsMatchingQuery(e,i,c,g){return ci.isDocumentKey((U=i).path)&&null===U.collectionGroup&&0===U.filters.length?this.getDocumentsMatchingDocumentQuery(e,i.path):mi(i)?this.getDocumentsMatchingCollectionGroupQuery(e,i,c,g):this.getDocumentsMatchingCollectionQuery(e,i,c,g);var U}getNextDocuments(e,i,c,g){return this.remoteDocumentCache.getAllFromCollectionGroup(e,i,c,g).next(A=>{const U=g-A.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(e,i,c.largestBatchId,g-A.size):et.resolve(Ml());let se=L,Se=A;return U.next(ut=>et.forEach(ut,(Qt,vn)=>(se<vn.largestBatchId&&(se=vn.largestBatchId),A.get(Qt)?et.resolve():this.remoteDocumentCache.getEntry(e,Qt).next(Kn=>{Se=Se.insert(Qt,Kn)}))).next(()=>this.populateOverlays(e,ut,A)).next(()=>this.computeViews(e,Se,ut,Hs())).next(Qt=>({batchId:se,changes:Kl(Qt)})))})}getDocumentsMatchingDocumentQuery(e,i){return this.getDocument(e,new ci(i)).next(c=>{let g=ro();
1return c.isFoundDocument()&&(g=g.insert(c.key,c)),g})}getDocumentsMatchingCollectionGroupQuery(e,i,c,g){const A=i.collectionGroup;let U=ro();return this.indexManager.getCollectionParents(e,A).next(se=>et.forEach(se,Se=>{const ut=(vn=i,Kn=Se.child(A),new Re(Kn,null,vn.explicitOrderBy.slice(),vn.filters.slice(),vn.limit,vn.limitType,vn.startAt,vn.endAt));var vn,Kn;return this.getDocumentsMatchingCollectionQuery(e,ut,c,g).next(Qt=>{Qt.forEach((vn,Kn)=>{U=U.insert(vn,Kn)})})}).next(()=>U))}getDocumentsMatchingCollectionQuery(e,i,c,g){let A;return this.documentOverlayCache.getOverlaysForCollection(e,i.path,c.largestBatchId).next(U=>(A=U,this.remoteDocumentCache.getDocumentsMatchingQuery(e,i,c,A,g))).next(U=>{A.forEach((Se,ut)=>{const Qt=ut.getKey();null===U.get(Qt)&&(U=U.insert(Qt,ps.newInvalidDocument(Qt)))});let se=ro();return U.forEach((Se,ut)=>{const Qt=A.get(Se);void 0!==Qt&&Ma(Qt.mutation,ut,Fo.empty(),we.now()),Bl(i,ut)&&(se=se.insert(Se,ut))}),se})}}class gd{constructor(e){this.serializer=e,this.Br=new Map,this.Lr=new Map}getBundleMetadata(e,i){return et.resolve(this.Br.get(i))}saveBundleMetadata(e,i){return this.Br.set(i.id,{id:(g=i).id,version:g.version,createTime:va(g.createTime)}),et.resolve();var g}getNamedQuery(e,i){return et.resolve(this.Lr.get(i))}saveNamedQuery(e,i){return this.Lr.set(i.name,{name:(g=i).name,query:jr(g.bundledQuery),readTime:va(g.readTime)}),et.resolve();var g}}class Wa{constructor(){this.overlays=new Ps(ci.comparator),this.kr=new Map}getOverlay(e,i){return et.resolve(this.overlays.get(i))}getOverlays(e,i){const c=Ml();return et.forEach(i,g=>this.getOverlay(e,g).next(A=>{null!==A&&c.set(g,A)})).next(()=>c)}saveOverlays(e,i,c){return c.forEach((g,A)=>{this.wt(e,i,A)}),et.resolve()}removeOverlaysForBatchId(e,i,c){const g=this.kr.get(c);return void 0!==g&&(g.forEach(A=>this.overlays=this.overlays.remove(A)),this.kr.delete(c)),et.resolve()}getOverlaysForCollection(e,i,c){const g=Ml(),A=i.length+1,U=new ci(i.child("")),se=this.overlays.getIteratorFrom(U);for(;se.hasNext();){const Se=se.getNext().value,ut=Se.getKey();if(!i.isPrefixOf(ut.path))break;ut.path.length===A&&Se.largestBatchId>c&&g.set(Se.getKey(),Se)}return et.resolve(g)}getOverlaysForCollectionGroup(e,i,c,g){let A=new Ps((ut,Qt)=>ut-Qt);const U=this.overlays.getIterator();for(;U.hasNext();){const ut=U.getNext().value;if(ut.getKey().getCollectionGroup()===i&&ut.largestBatchId>c){let Qt=A.get(ut.largestBatchId);null===Qt&&(Qt=Ml(),A=A.insert(ut.largestBatchId,Qt)),Qt.set(ut.getKey(),ut)}}const se=Ml(),Se=A.getIterator();for(;Se.hasNext()&&(Se.getNext().value.forEach((ut,Qt)=>se.set(ut,Qt)),!(se.size()>=g)););return et.resolve(se)}wt(e,i,c){const g=this.overlays.get(c.key);if(null!==g){const U=this.kr.get(g.largestBatchId).delete(c.key);this.kr.set(g.largestBatchId,U)}this.overlays=this.overlays.insert(c.key,new Gd(i,c));let A=this.kr.get(i);void 0===A&&(A=Hs(),this.kr.set(i,A)),this.kr.set(i,A.add(c.key))}}class Ad{constructor(){this.sessionToken=Mo.EMPTY_BYTE_STRING}getSessionToken(e){return et.resolve(this.sessionToken)}setSessionToken(e,i){return this.sessionToken=i,et.resolve()}}class wp{constructor(){this.qr=new Os(Rl.Qr),this.$r=new Os(Rl.Ur)}isEmpty(){return this.qr.isEmpty()}addReference(e,i){const c=new Rl(e,i);this.qr=this.qr.add(c),this.$r=this.$r.add(c)}Kr(e,i){e.forEach(c=>this.addReference(c,i))}removeReference(e,i){this.Wr(new Rl(e,i))}Gr(e,i){e.forEach(c=>this.removeReference(c,i))}zr(e){const i=new ci(new ii([])),c=new Rl(i,e),g=new Rl(i,e+1),A=[];return this.$r.forEachInRange([c,g],U=>{this.Wr(U),A.push(U.key)}),A}jr(){this.qr.forEach(e=>this.Wr(e))}Wr(e){this.qr=this.qr.delete(e),this.$r=this.$r.delete(e)}Jr(e){const i=new ci(new ii([])),c=new Rl(i,e),g=new Rl(i,e+1);let A=Hs();return this.$r.forEachInRange([c,g],U=>{A=A.add(U.key)}),A}containsKey(e){const i=new Rl(e,0),c=this.qr.firstAfterOrEqual(i);return null!==c&&e.isEqual(c.key)}}class Rl{constructor(e,i){this.key=e,this.Hr=i}static Qr(e,i){return ci.comparator(e.key,i.key)||Tn(e.Hr,i.Hr)}static Ur(e,i){return Tn(e.Hr,i.Hr)||ci.comparator(e.key,i.key)}}class mm{constructor(e,i){this.indexManager=e,this.referenceDelegate=i,this.mutation
1Queue=[],this.er=1,this.Yr=new Os(Rl.Qr)}checkEmpty(e){return et.resolve(0===this.mutationQueue.length)}addMutationBatch(e,i,c,g){const A=this.er;this.er++;const U=new hl(A,i,c,g);this.mutationQueue.push(U);for(const se of g)this.Yr=this.Yr.add(new Rl(se.key,A)),this.indexManager.addToCollectionParentIndex(e,se.key.path.popLast());return et.resolve(U)}lookupMutationBatch(e,i){return et.resolve(this.Zr(i))}getNextMutationBatchAfterBatchId(e,i){const g=this.Xr(i+1),A=g<0?0:g;return et.resolve(this.mutationQueue.length>A?this.mutationQueue[A]:null)}getHighestUnacknowledgedBatchId(){return et.resolve(0===this.mutationQueue.length?-1:this.er-1)}getAllMutationBatches(e){return et.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(e,i){const c=new Rl(i,0),g=new Rl(i,Number.POSITIVE_INFINITY),A=[];return this.Yr.forEachInRange([c,g],U=>{const se=this.Zr(U.Hr);A.push(se)}),et.resolve(A)}getAllMutationBatchesAffectingDocumentKeys(e,i){let c=new Os(Tn);return i.forEach(g=>{const A=new Rl(g,0),U=new Rl(g,Number.POSITIVE_INFINITY);this.Yr.forEachInRange([A,U],se=>{c=c.add(se.Hr)})}),et.resolve(this.ei(c))}getAllMutationBatchesAffectingQuery(e,i){const c=i.path,g=c.length+1;let A=c;ci.isDocumentKey(A)||(A=A.child(""));const U=new Rl(new ci(A),0);let se=new Os(Tn);return this.Yr.forEachWhile(Se=>{const ut=Se.key.path;return!!c.isPrefixOf(ut)&&(ut.length===g&&(se=se.add(Se.Hr)),!0)},U),et.resolve(this.ei(se))}ei(e){const i=[];return e.forEach(c=>{const g=this.Zr(c);null!==g&&i.push(g)}),i}removeMutationBatch(e,i){yt(0===this.ti(i.batchId,"removed"),55003),this.mutationQueue.shift();let c=this.Yr;return et.forEach(i.mutations,g=>{const A=new Rl(g.key,i.batchId);return c=c.delete(A),this.referenceDelegate.markPotentiallyOrphaned(e,g.key)}).next(()=>{this.Yr=c})}rr(e){}containsKey(e,i){const c=new Rl(i,0),g=this.Yr.firstAfterOrEqual(c);return et.resolve(i.isEqual(g&&g.key))}performConsistencyCheck(e){return et.resolve()}ti(e,i){return this.Xr(e)}Xr(e){return 0===this.mutationQueue.length?0:e-this.mutationQueue[0].batchId}Zr(e){const i=this.Xr(e);return i<0||i>=this.mutationQueue.length?null:this.mutationQueue[i]}}class zm{constructor(e){this.ni=e,this.docs=new Ps(ci.comparator),this.size=0}setIndexManager(e){this.indexManager=e}addEntry(e,i){const c=i.key,g=this.docs.get(c),A=g?g.size:0,U=this.ni(i);return this.docs=this.docs.insert(c,{document:i.mutableCopy(),size:U}),this.size+=U-A,this.indexManager.addToCollectionParentIndex(e,c.path.popLast())}removeEntry(e){const i=this.docs.get(e);i&&(this.docs=this.docs.remove(e),this.size-=i.size)}getEntry(e,i){const c=this.docs.get(i);return et.resolve(c?c.document.mutableCopy():ps.newInvalidDocument(i))}getEntries(e,i){let c=ga();return i.forEach(g=>{const A=this.docs.get(g);c=c.insert(g,A?A.document.mutableCopy():ps.newInvalidDocument(g))}),et.resolve(c)}getDocumentsMatchingQuery(e,i,c,g){let A=ga();const U=i.path,se=new ci(U.child("__id-9223372036854775808__")),Se=this.docs.getIteratorFrom(se);for(;Se.hasNext();){const{key:ut,value:{document:Qt}}=Se.getNext();if(!U.isPrefixOf(ut.path))break;ut.path.length>U.length+1||an(Er(Qt),c)<=0||(g.has(Qt.key)||Bl(i,Qt))&&(A=A.insert(Qt.key,Qt.mutableCopy()))}return et.resolve(A)}getAllFromCollectionGroup(e,i,c,g){Te(9500)}ri(e,i){return et.forEach(this.docs,c=>i(c))}newChangeBuffer(e){return new af(this)}getSize(e){return et.resolve(this.size)}}class af extends qc{constructor(e){super(),this.Or=e}applyChanges(e){const i=[];
vendor: 4,497 bytes, line 1
1return this.changes.forEach((c,g)=>{g.isValidDocument()?i.push(this.Or.addEntry(e,g)):this.Or.removeEntry(c)}),et.waitFor(i)}getFromCache(e,i){return this.Or.getEntry(e,i)}getAllFromCache(e,i){return this.Or.getEntries(e,i)}}class Tp{constructor(e){this.persistence=e,this.ii=new rn(i=>Gl(i),Fl),this.lastRemoteSnapshotVersion=_e.min(),this.highestTargetId=0,this.si=0,this.oi=new wp,this.targetCount=0,this._i=K.ar()}forEachTarget(e,i){return this.ii.forEach((c,g)=>i(g)),et.resolve()}getLastRemoteSnapshotVersion(e){return et.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(e){return et.resolve(this.si)}allocateTargetId(e){return this.highestTargetId=this._i.next(),et.resolve(this.highestTargetId)}setTargetsMetadata(e,i,c){return c&&(this.lastRemoteSnapshotVersion=c),i>this.si&&(this.si=i),et.resolve()}hr(e){this.ii.set(e.target,e);const i=e.targetId;i>this.highestTargetId&&(this._i=new K(i),this.highestTargetId=i),e.sequenceNumber>this.si&&(this.si=e.sequenceNumber)}addTargetData(e,i){return this.hr(i),this.targetCount+=1,et.resolve()}updateTargetData(e,i){return this.hr(i),et.resolve()}removeTargetData(e,i){return this.ii.delete(i.target),this.oi.zr(i.targetId),this.targetCount-=1,et.resolve()}removeTargets(e,i,c){let g=0;const A=[];return this.ii.forEach((U,se)=>{se.sequenceNumber<=i&&null===c.get(se.targetId)&&(this.ii.delete(U),A.push(this.removeMatchingKeysForTargetId(e,se.targetId)),g++)}),et.waitFor(A).next(()=>g)}getTargetCount(e){return et.resolve(this.targetCount)}getTargetData(e,i){const c=this.ii.get(i)||null;return et.resolve(c)}addMatchingKeys(e,i,c){return this.oi.Kr(i,c),et.resolve()}removeMatchingKeys(e,i,c){this.oi.Gr(i,c);const g=this.persistence.referenceDelegate,A=[];return g&&i.forEach(U=>{A.push(g.markPotentiallyOrphaned(e,U))}),et.waitFor(A)}removeMatchingKeysForTargetId(e,i){return this.oi.zr(i),et.resolve()}getMatchingKeysForTargetId(e,i){const c=this.oi.Jr(i);return et.resolve(c)}containsKey(e,i){return et.resolve(this.oi.containsKey(i))}}class Yh{constructor(e,i){this.ai={},this.overlays={},this.ui=new Ai(0),this.ci=!1,this.ci=!0,this.li=new Ad,this.referenceDelegate=e(this),this.hi=new Tp(this),this.indexManager=new ph,this.remoteDocumentCache=new zm(c=>this.referenceDelegate.Pi(c)),this.serializer=new be(i),this.Ti=new gd(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.ci=!1,Promise.resolve()}get started(){return this.ci}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(e){return this.indexManager}getDocumentOverlayCache(e){let i=this.overlays[e.toKey()];return i||(i=new Wa,this.overlays[e.toKey()]=i),i}getMutationQueue(e,i){let c=this.ai[e.toKey()];return c||(c=new mm(i,this.referenceDelegate),this.ai[e.toKey()]=c),c}getGlobalsCache(){return this.li}getTargetCache(){return this.hi}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.Ti}runTransaction(e,i,c){nt("MemoryPersistence","Starting transaction:",e);const g=new pm(this.ui.next());return this.referenceDelegate.Ii(),c(g).next(A=>this.referenceDelegate.di(g).next(()=>A)).toPromise().then(A=>(g.raiseOnCommittedEvent(),A))}Ei(e,i){return et.or(Object.values(this.ai).map(c=>()=>c.containsKey(e,i)))}}class pm extends ke{constructor(e){super(),this.currentSequenceNumber=e}}class lf{constructor(e){this.persistence=e,this.Ai=new wp,this.Ri=null}static Vi(e){return new lf(e)}get mi(){if(this.Ri)return this.Ri;throw Te(60996)}addReference(e,i,c){return this.Ai.addReference(c,i),this.mi.delete(c.toString()),et.resolve()}removeReference(e,i,c){return this.Ai.removeReference(c,i),this.mi.add(c.toString()),et.resolve()}markPotentiallyOrphaned(e,i){return this.mi.add(i.toString()),et.resolve()}removeTarget(e,i){this.Ai.zr(i.targetId).forEach(g=>this.mi.add(g.toString()));const c=this.persistence.getTargetCache();return c.getMatchingKeysForTargetId(e,i.targetId).next(g=>{g.forEach(A=>this.mi.add(A.toString()))}).next(()=>c.removeTargetData(e,i))}Ii(){this.Ri=new Set}di(e){const i=this.persistence.getRemoteDocumentCache().newChangeBuffer();return et.forEach(this.mi,c=>{const g=ci.fromPath(c);return this.fi(e,g).next(A=>{A||i.removeEntry(g,_e.min())})}).next(()=>(this.Ri=null,i.apply(e)))}updateLimboDocument(e,i){return this.fi(e,i).next(c=>{c?this.mi.delete(i.toString()):this.mi.add(i.toString())})}Pi(e){return 0}fi(e,i){return et.or([()=>et.resolve(this.Ai.containsKey(i)),()=>this.persistence.getTargetCache().containsKey(e,i),()=>this.persistence.Ei(e,i)])}}
1class qu{constructor(e,i){this.persistence=e,this.gi=new rn(c=>Ns(c.path),(c,g)=>c.isEqual(g)),this.garbageCollector=ns(this,i)}static Vi(e,i){return new qu(e,i)}Ii(){}di(e){return et.resolve()}forEachTarget(e,i){return this.persistence.getTargetCache().forEachTarget(e,i)}mr(e){const i=this.yr(e);return this.persistence.getTargetCache().getTargetCount(e).next(c=>i.next(g=>c+g))}yr(e){let i=0;return this.gr(e,c=>{i++}).next(()=>i)}gr(e,i){return et.forEach(this.gi,(c,g)=>this.Sr(e,c,g).next(A=>A?et.resolve():i(g)))}removeTargets(e,i,c){return this.persistence.getTargetCache().removeTargets(e,i,c)}removeOrphanedDocuments(e,i){let c=0;const g=this.persistence.getRemoteDocumentCache(),A=g.newChangeBuffer();return g.ri(e,U=>this.Sr(e,U,i).next(se=>{se||(c++,A.removeEntry(U,_e.min()))})).next(()=>A.apply(e)).next(()=>c)}markPotentiallyOrphaned(e,i){return this.gi.set(i,e.currentSequenceNumber),et.resolve()}removeTarget(e,i){const c=i.withSequenceNumber(e.currentSequenceNumber);return this.persistence.getTargetCache().updateTargetData(e,c)}addReference(e,i,c){return this.gi.set(c,e.currentSequenceNumber),et.resolve()}removeReference(e,i,c){return this.gi.set(c,e.currentSequenceNumber),et.resolve()}updateLimboDocument(e,i){return this.gi.set(i,e.currentSequenceNumber),et.resolve()}Pi(e){let i=e.key.toString().length;return e.isFoundDocument()&&(i+=ho(e.data.value)),i}Sr(e,i,c){return et.or([()=>this.persistence.Ei(e,i),()=>this.persistence.getTargetCache().containsKey(e,i),()=>{const g=this.gi.get(i);return et.resolve(void 0!==g&&g>c)}])}getCacheSize(e){return this.persistence.getRemoteDocumentCache().getSize(e)}}class ya{constructor(e){this.serializer=e}q(e,i,c,g){const A=new Zn("createOrUpgrade",i);var Se;c<1&&g>=1&&(e.createObjectStore(Ks),(Se=e).createObjectStore(Pn,{keyPath:"userId"}),Se.createObjectStore(Ni,{keyPath:Jt,autoIncrement:!0}).createIndex(Ri,Q,{unique:!0}),Se.createObjectStore(_i),eh(e),function(Se){Se.createObjectStore(po)}(e));let U=et.resolve();return c<3&&g>=3&&(0!==c&&(function(Se){Se.deleteObjectStore(qi),Se.deleteObjectStore(Lt),Se.deleteObjectStore(Fn)}(e),eh(e)),U=U.next(()=>function(Se){const ut=Se.store(Fn),Qt={highestTargetId:0,highestListenSequenceNumber:0,lastRemoteSnapshotVersion:_e.min().toTimestamp(),targetCount:0};return ut.put(Mn,Qt)}(A))),c<4&&g>=4&&(0!==c&&(U=U.next(()=>function(Se,ut){return ut.store(Ni).j().next(vn=>{Se.deleteObjectStore(Ni),Se.createObjectStore(Ni,{keyPath:Jt,autoIncrement:!0}).createIndex(Ri,Q,{unique:!0});const Kn=ut.store(Ni),ji=vn.map(hr=>Kn.put(hr));return et.waitFor(ji)})}(e,A))),U=U.next(()=>{!function(Se){Se.createObjectStore(Ui,{keyPath:"clientId"})}(e)})),c<5&&g>=5&&(U=U.next(()=>this.pi(A))),c<6&&g>=6&&(U=U.next(()=>(function(Se){Se.createObjectStore(Dt)}(e),this.yi(A)))),c<7&&g>=7&&(U=U.next(()=>this.wi(A))),c<8&&g>=8&&(U=U.next(()=>this.Si(e,A))),c<9&&g>=9&&(U=U.next(()=>{!function(Se){Se.objectStoreNames.contains("remoteDocumentChanges")&&Se.deleteObjectStore("remoteDocumentChanges")}(e)})),c<10&&g>=10&&(U=U.next(()=>this.bi(A))),c<11&&g>=11&&(U=U.next(()=>{(function(Se){Se.createObjectStore(fs,{keyPath:"bundleId"})})(e),function(Se){Se.createObjectStore(ls,{keyPath:"name"})}(e)})),c<12&&g>=12&&(U=U.next(()=>{!function(Se){const ut=Se.createObjectStore(Or,{keyPath:is});ut.createIndex(Gr,lo,{unique:!1}),ut.createIndex(ms,Gs,{unique:!1})}(e)})),c<13&&g>=13&&(U=U.next(()=>function(Se){const ut=Se.createObjectStore(Yr,{keyPath:oo});ut.createIndex(to,Ho),ut.createIndex(Co,ia)}(e)).next(()=>this.Di(e,A)).next(()=>e.deleteObjectStore(po))),c<14&&g>=14&&(U=U.next(()=>this.Ci(e,A))),c<15&&g>=15&&(U=U.next(()=>function(Se){Se.createObjectStore(Jo,{keyPath:"indexId",autoIncrement:!0}).createIndex(As,"collectionGroup",{unique:!1}),Se.createObjectStore(Ct,{keyPath:xt}).createIndex(kn,Hn,{unique:!1}),Se.createObjectStore(fi,{keyPath:Hi}).createIndex(ur,Lr,{unique:!1})}(e))),c<16&&g>=16&&(U=U.next(()=>{i.objectStore(Ct).clear()}).next(()=>{i.objectStore(fi).clear()})),c<17&&g>=17&&(U=U.next(()=>{!function(Se){Se.createObjectStore(No,{keyPath:"name"})}(e)})),c<18&&g>=18&&(0,v.Ov)()&&(U=U.next(()=>{i.objectStore(Ct).clear()}).next(()=>{i.objectStore(fi).clear()}
1)),U}yi(e){let i=0;return e.store(po).X((c,g)=>{i+=pd(g)}).next(()=>{const c={byteSize:i};return e.store(Dt).put(An,c)})}pi(e){const i=e.store(Pn),c=e.store(Ni);return i.j().next(g=>et.forEach(g,A=>{const U=IDBKeyRange.bound([A.userId,-1],[A.userId,A.lastAcknowledgedBatchId]);return c.j(Ri,U).next(se=>et.forEach(se,Se=>{yt(Se.userId===A.userId,18650,"Cannot process batch from unexpected user",{batchId:Se.batchId});const ut=xi(this.serializer,Se);return Wh(e,A.userId,ut).next(()=>{})}))}))}wi(e){const i=e.store(qi),c=e.store(po);return e.store(Fn).get(Mn).next(g=>{const A=[];return c.X((U,se)=>{const Se=new ii(U),ut=[0,Ns(Se)];A.push(i.get(ut).next(Qt=>Qt?et.resolve():i.put({targetId:0,path:Ns(Se),sequenceNumber:g.highestListenSequenceNumber})))}).next(()=>et.waitFor(A))})}Si(e,i){e.createObjectStore(Vn,{keyPath:Ii});const c=i.store(Vn),g=new Nf,A=U=>{if(g.add(U)){const se=U.lastSegment(),Se=U.popLast();return c.put({collectionId:se,parent:Ns(Se)})}};return i.store(po).X({Z:!0},(U,se)=>{const Se=new ii(U);return A(Se.popLast())}).next(()=>i.store(_i).X({Z:!0},([U,se,Se],ut)=>{const Qt=Fs(se);return A(Qt.popLast())}))}bi(e){const i=e.store(Lt);return i.X((c,g)=>{const A=Yi(g),U=zi(this.serializer,A);return i.put(U)})}Di(e,i){const c=i.store(po),g=[];return c.X((A,U)=>{const se=i.store(Yr),Se=(vn=U,vn.document?new ci(ii.fromString(vn.document.name).popFirst(5)):vn.noDocument?ci.fromSegments(vn.noDocument.path):vn.unknownDocument?ci.fromSegments(vn.unknownDocument.path):Te(36783)).path.toArray(),ut={prefixPath:Se.slice(0,Se.length-2),collectionGroup:Se[Se.length-2],documentId:Se[Se.length-1],readTime:U.readTime||[0,0],unknownDocument:U.unknownDocument,noDocument:U.noDocument,document:U.document,hasCommittedMutations:!!U.hasCommittedMutations};var vn;g.push(se.put(ut))}).next(()=>et.waitFor(g))}Ci(e,i){const c=i.store(Ni),g=Tc(this.serializer),A=new Yh(lf.Vi,this.serializer.gt);return c.j().next(U=>{const se=new Map;return U.forEach(Se=>{var ut;let Qt=null!==(ut=se.get(Se.userId))&&void 0!==ut?ut:Hs();xi(this.serializer,Se).keys().forEach(vn=>Qt=Qt.add(vn)),se.set(Se.userId,Qt)}),et.forEach(se,(Se,ut)=>{const Qt=new he(ut),vn=Io.yt(this.serializer,Qt),Kn=A.getIndexManager(Qt),ji=Ju.yt(Qt,this.serializer,Kn,A.referenceDelegate);return new yh(g,ji,vn,Kn).recalculateAndSaveOverlaysForDocumentKeys(new Qa(i,Ai.ue),Se).next()})})}}function eh(f){f.createObjectStore(qi,{keyPath:br}).createIndex($i,Es,{unique:!0}),f.createObjectStore(Lt,{keyPath:"targetId"}).createIndex(sn,dt,{unique:!0}),f.createObjectStore(Fn)}const mu="IndexedDbPersistence",Vf=18e5,cf="Failed to obtain exclusive access to the persistence layer. To allow shared access, multi-tab synchronization has to be enabled in all tabs. If you are using `experimentalForceOwningTab:true`, make sure that only one tab has persistence enabled at any given time.";class bh{constructor(e,i,c,g,A,U,se,Se,ut,Qt,vn=18){if(this.allowTabSynchronization=e,this.persistenceKey=i,this.clientId=c,this.Fi=A,this.window=U,this.document=se,this.Mi=ut,this.xi=Qt,this.Oi=vn,this.ui=null,this.ci=!1,this.isPrimary=!1,this.networkEnabled=!0,this.Ni=null,this.inForeground=!1,this.Bi=null,this.Li=null,this.ki=Number.NEGATIVE_INFINITY,this.qi=Kn=>Promise.resolve(),!bh.C())throw new je(ie.UNIMPLEMENTED,"This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");this.referenceDelegate=new Ts(this,g),this.Qi=i+"main",this.serializer=new be(Se),this.$i=new gt(this.Qi,this.Oi,new ya(this.serializer)),this.li=new ql,this.hi=new C(this.referenceDelegate,this.serializer),this.remoteDocumentCache=Tc(this.serializer),this.Ti=new os,this.window&&this.window.localStorage?this.Ui=this.window.localStorage:(this.Ui=null,!1===Qt&&cn(mu,"LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."))}start(){return this.Ki().then(()=>{if(!this.isPrimary&&!this.allowTabSynchronization)throw new je(ie.FAILED_PRECONDITION,cf);return this.Wi(),this.Gi(),this.zi(),this.runTransaction("getHighestListenSequenceNumber","readonly",e=>this.hi.getHighestSequenceNumber(e))}).then(e=>{this.ui=new Ai(e,this.Mi)}).then(()=>{this.ci=!0}).catch(e=>(this.$i&&this.$i.close(),Promise.reject(e)))}ji(e){var i=this;return this.qi=function(){var c=(0,o.A)(function*(g){if(i.started)return e(g)});return function(g){return c.apply(this,arguments)}}(),e(this.isPrimary)}setDatabaseDeletedListener(e){this.$i.setDatabaseDeletedListener(e)}setNetworkEnabled(e){var i=this;this.networkEnabled!==e&&(this.networkEnabled=e,this.Fi.enqueueAndForget((0,o.A)(function*(){i.started&&(yield i.Ki())})))}Ki(){return this.runTransaction("updateClientMetadataAndTryBecomePrimary","readwrite",e=>zh(e).put({clientId:this.clientId,updateTimeMs:Date.now(),networkEnabled:this.networkEnabled,inForeground:this.inForeground}).next(()=>{if(this.isPrimary)return this.Ji(e).next(i=>{i||(this.isPrimary=!1,this.Fi.enqueueRetryable(()=>this.qi(!1)))})}).next(()=>this.Hi(e)).next(i=>this.isPrimary&&!i?this.Yi(e).next(()=>!1):!!i&&this.Zi(e).next(()=>!0))).catch(e=>{if(xn(e))return nt(mu,"Failed to extend owner lease: ",e),this.isPrimary;if(!this.allowTabSynchronization)throw e;return nt(mu,"Releasing owner lease after error during lease refresh",e),!1}).then(e=>{this.isPrimary!==e&&this.Fi.enqueueRetryable(()=>this.qi(e)),this.isPrimary=e})}Ji(e){return th(e).get(as).next(i=>
1et.resolve(this.Xi(i)))}es(e){return zh(e).delete(this.clientId)}ts(){var e=this;return(0,o.A)(function*(){if(e.isPrimary&&!e.ns(e.ki,Vf)){e.ki=Date.now();const i=yield e.runTransaction("maybeGarbageCollectMultiClientState","readwrite-primary",c=>{const g=cs(c,Ui);return g.j().next(A=>{const U=e.rs(A,Vf),se=A.filter(Se=>-1===U.indexOf(Se));return et.forEach(se,Se=>g.delete(Se.clientId)).next(()=>se)})}).catch(()=>[]);if(e.Ui)for(const c of i)e.Ui.removeItem(e.ss(c.clientId))}})()}zi(){this.Li=this.Fi.enqueueAfterDelay("client_metadata_refresh",4e3,()=>this.Ki().then(()=>this.ts()).then(()=>this.zi()))}Xi(e){return!!e&&e.ownerId===this.clientId}Hi(e){return this.xi?et.resolve(!0):th(e).get(as).next(i=>{if(null!==i&&this.ns(i.leaseTimestampMs,5e3)&&!this._s(i.ownerId)){if(this.Xi(i)&&this.networkEnabled)return!0;if(!this.Xi(i)){if(!i.allowTabSynchronization)throw new je(ie.FAILED_PRECONDITION,cf);return!1}}return!(!this.networkEnabled||!this.inForeground)||zh(e).j().next(c=>void 0===this.rs(c,5e3).find(g=>!(this.clientId===g.clientId||!(!this.networkEnabled&&g.networkEnabled||!this.inForeground&&g.inForeground&&this.networkEnabled===g.networkEnabled))))}).next(i=>(this.isPrimary!==i&&nt(mu,`Client ${i?"is":"is not"} eligible for a primary lease.`),i))}shutdown(){var e=this;return(0,o.A)(function*(){e.ci=!1,e.us(),e.Li&&(e.Li.cancel(),e.Li=null),e.cs(),e.ls(),yield e.$i.runTransaction("shutdown","readwrite",[Ks,Ui],i=>{const c=new Qa(i,Ai.ue);return e.Yi(c).next(()=>e.es(c))}),e.$i.close(),e.hs()})()}rs(e,i){return e.filter(c=>this.ns(c.updateTimeMs,i)&&!this._s(c.clientId))}Ps(){return this.runTransaction("getActiveClients","readonly",e=>zh(e).j().next(i=>this.rs(i,Vf).map(c=>c.clientId)))}get started(){return this.ci}getGlobalsCache(){return this.li}getMutationQueue(e,i){return Ju.yt(e,this.serializer,i,this.referenceDelegate)}getTargetCache(){return this.hi}getRemoteDocumentCache(){return this.remoteDocumentCache}getIndexManager(e){return new Vd(e,this.serializer.gt.databaseId)}getDocumentOverlayCache(e){return Io.yt(this.serializer,e)}getBundleCache(){return this.Ti}runTransaction(e,i,c){nt(mu,"Starting transaction:",e);const g="readonly"===i?"readonly":"readwrite",A=18===(Se=this.Oi)?Ka:17===Se?la:16===Se?no:15===Se?Uo:14===Se?ko:13===Se?Js:12===Se?qo:11===Se?Oo:void Te(60245);var Se;let U;return this.$i.runTransaction(e,g,A,se=>(U=new Qa(se,this.ui?this.ui.next():Ai.ue),"readwrite-primary"===i?this.Ji(U).next(Se=>!!Se||this.Hi(U)).next(Se=>{if(!Se)throw cn(`Failed to obtain primary lease for action '${e}'.`),this.isPrimary=!1,this.Fi.enqueueRetryable(()=>this.qi(!1)),new je(ie.FAILED_PRECONDITION,Pt);return c(U)}).next(Se=>this.Zi(U).next(()=>Se)):this.Ts(U).next(()=>c(U)))).then(se=>(U.raiseOnCommittedEvent(),se))}Ts(e){return th(e).get(as).next(i=>{if(null!==i&&this.ns(i.leaseTimestampMs,5e3)&&!this._s(i.ownerId)&&!this.Xi(i)&&!(this.xi||this.allowTabSynchronization&&i.allowTabSynchronization))throw new je(ie.FAILED_PRECONDITION,cf)})}Zi(e){const i={ownerId:this.clientId,allowTabSynchronization:this.allowTabSynchronization,leaseTimestampMs:Date.now()};return th(e).put(as,i)}static C(){return gt.C()}Yi(e){const i=th(e);return i.get(as).next(c=>this.Xi(c)?(nt(mu,"Releasing primary lease."),i.delete(as)):et.resolve())}ns(e,i){const c=Date.now();return!(e<c-i||e>c&&(cn(`Detected an update time that is in the future: ${e} > ${c}`),1))}Wi(){null!==this.document&&"function"==typeof this.document.addEventListener&&(this.Bi=()=>{this.Fi.enqueueAndForget(()=>(this.inForeground="visible"===this.document.visibilityState,this.Ki()))},this.document.addEventListener("visibilitychange",this.Bi),this.inForeground="visible"===this.document.visibilityState)}cs(){this.Bi&&(this.document.removeEventListener("visibilitychange",this.Bi),this.Bi=null)}Gi(){var e;"function"==typeof(null===(e=this.window)||void 0===e?void 0:e.addEventListener)&&(this.Ni=()=>{this.us();const i=/(?:Version|Mobile)\/1[456]/;(0,v.nr)()&&(navigator.appVersion.match(i)||navigator.userAgent.match(i))&&this.Fi.enterRestrictedMode(!0),this.Fi.enqueueAndForget(()=>this.shutdown())},this.window.addEventListener("pagehide",this.Ni))}ls(){this.Ni&&(this.window.removeEventListener("pagehide",this.Ni),this.Ni=null)}_s(e){var i;try{const c=null!==(null===(i=this.Ui)||void 0===i?void 0:i.getItem(this.ss(e)));return nt(mu,`Client '${e}' ${c?"is":"is not"} zombied in LocalStorage`),c}catch(c){return cn(mu,"Failed to get zombied client id.",c),!1}}us(){if(this.Ui)try{this.Ui.setItem(this.ss(this.clientId),String(Date.now()))}catch(e){cn("Failed to set zombie client id.",e)}}hs(){if(this.Ui)try{this.Ui.removeItem(this.ss(this.clientId))}catch{}}ss(e){return`firestore_zombie_${this.persistenceKey}_${e}`}}function th(f){return cs(f,Ks)}function zh(f){return cs(f,Ui)}function nh(f,e){let i=f.projectId;return f.isDefaultDatabase||(i+="."+f.database),"firestore/"+e+"/"+i+"/"}class Eh{constructor(e,i,c,g){this.targetId=e,this.fromCache=i,this.Is=c,this.ds=g}static Es(e,i){let c=Hs(),g=Hs();for(const A of i.docChanges)switch(A.type){case 0:c=c.add(A.doc.key);break;case 1:g=g.add(A.doc.key)}return new Eh(e,i.fromCache,c,g)}}class Bc{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(e){this._documentReadCount+=e}}class pu{constructor(){this.As=!1,this.Rs=!1,this.Vs=100,this.fs=(0,v.nr)()?8:zn((0,v.ZQ)())>0?6:4}initialize(e,i){this.gs=e,this.indexManager=i,this.As=!0}getDocumentsMatchingQuery(e,i,c,g){const A={result:null};return this.ps(e,i).next(U=>{A.result=U}).next(()=>{if(!A.result)return this.ys(e,i,g,c).next(U=>{A.result=U})}).next(()=>{if(A.result)return;const U=new Bc;return this.ws(e,i,U).next(se=>{if(A.result=se,this.Rs)return this.Ss(e,i,U,se.size)})}).next(()=>A.result)}Ss(e,i,c,g){return c.documentReadCount<this.Vs?(at()<=y.$b.DEBUG&&nt("QueryEngine","SDK will not create cache indexes for query:",So(i),"since it only creates cache indexes for collection contains","more than or equal to",this.Vs,"documents"),et.resolve()):(at()<=y.$b.DEBUG&&nt("QueryEngine","Query:",So(i),"scans",c.documentReadCount,"local documents and returns",g,"documents as results."),c.documentReadCount>this.fs*g?(at()<=y.$b.DEBUG&&nt("QueryEngine","The SDK decides to create cache indexes for query:",So(i),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(e,Ar(i))):et.resolve())}ps(e,i){if(Cn(i))return et.resolve(null);let c=Ar(i);return this.indexManager.getIndexType(e,c).next(g=>0===g?null:(null!==i.limit&&1===g&&(i=Oa(i,null,"F"),c=Ar(i)),this.indexManager.getDocumentsMatchingTarget(e,c).next(A=>{const U=Hs(...A);return this.gs.getDocuments(e,U).next(se=>this.indexManager.getMinOffset(e,c).next(Se=>{const ut=this.bs(i,se);return this.Ds(i,ut,U,Se.readTime)?this.ps(e,Oa(i,null,"F")):this.vs(e,ut,i,Se)}))})))}ys(e,i,c,g){return Cn(i)||g.isEqual(_e.min())?et.resolve(null):this.gs.getDocuments(e,c).next(A=>{const U=this.bs(i,A);return this.Ds(i,U,c,g)?et.resolve(null):(at()<=y.$b.DEBUG&&nt("QueryEngine","Re-using previous result from %s to execute query: %s",g.toString(),So(i)),this.vs(e,U,i,Tr(g,L)).next(se=>se))})}bs(e,i){let c=new Os(ao(e));
1return i.forEach((g,A)=>{Bl(e,A)&&(c=c.add(A))}),c}Ds(e,i,c,g){if(null===e.limit)return!1;if(c.size!==i.size)return!0;const A="F"===e.limitType?i.last():i.first();return!!A&&(A.hasPendingWrites||A.version.compareTo(g)>0)}ws(e,i,c){return at()<=y.$b.DEBUG&&nt("QueryEngine","Using full collection scan to execute query:",So(i)),this.gs.getDocumentsMatchingQuery(e,i,_n.min(),c)}vs(e,i,c,g){return this.gs.getDocumentsMatchingQuery(e,c,g).next(A=>(i.forEach(U=>{A=A.insert(U.key,U)}),A))}}const Dh="LocalStore";class _m{constructor(e,i,c,g){this.persistence=e,this.Cs=i,this.serializer=g,this.Fs=new Ps(Tn),this.Ms=new rn(A=>Gl(A),Fl),this.xs=new Map,this.Os=e.getRemoteDocumentCache(),this.hi=e.getTargetCache(),this.Ti=e.getBundleCache(),this.Ns(c)}Ns(e){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(e),this.indexManager=this.persistence.getIndexManager(e),this.mutationQueue=this.persistence.getMutationQueue(e,this.indexManager),this.localDocuments=new yh(this.Os,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.Os.setIndexManager(this.indexManager),this.Cs.initialize(this.localDocuments,this.indexManager)}collectGarbage(e){return this.persistence.runTransaction("Collect garbage","readwrite-primary",i=>e.collect(i,this.Fs))}}function wh(f,e,i,c){return new _m(f,e,i,c)}function rh(f,e){return gm.apply(this,arguments)}function gm(){return(gm=(0,o.A)(function*(f,e){const i=Ie(f);return yield i.persistence.runTransaction("Handle user change","readonly",c=>{let g;
1return i.mutationQueue.getAllMutationBatches(c).next(A=>(g=A,i.Ns(e),i.mutationQueue.getAllMutationBatches(c))).next(A=>{const U=[],se=[];let Se=Hs();for(const ut of g){U.push(ut.batchId);for(const Qt of ut.mutations)Se=Se.add(Qt.key)}for(const ut of A){se.push(ut.batchId);for(const Qt of ut.mutations)Se=Se.add(Qt.key)}return i.localDocuments.getDocuments(c,Se).next(ut=>({Bs:ut,removedBatchIds:U,addedBatchIds:se}))})})})).apply(this,arguments)}function Mp(f){const e=Ie(f);return e.persistence.runTransaction("Get last remote snapshot version","readonly",i=>e.hi.getLastRemoteSnapshotVersion(i))}function Eg(f,e,i){let c=Hs(),g=Hs();return i.forEach(A=>c=c.add(A)),e.getEntries(f,c).next(A=>{let U=ga();return i.forEach((se,Se)=>{const ut=A.get(se);Se.isFoundDocument()!==ut.isFoundDocument()&&(g=g.add(se)),Se.isNoDocument()&&Se.version.isEqual(_e.min())?(e.removeEntry(se,Se.readTime),U=U.insert(se,Se)):!ut.isValidDocument()||Se.version.compareTo(ut.version)>0||0===Se.version.compareTo(ut.version)&&ut.hasPendingWrites?(e.addEntry(Se),U=U.insert(se,Se)):nt(Dh,"Ignoring outdated watch update for ",se,". Current version:",ut.version," Watch version:",Se.version)}),{Ls:U,ks:g}})}function $m(f,e){const i=Ie(f);return i.persistence.runTransaction("Get next mutation batch","readonly",c=>(void 0===e&&(e=-1),i.mutationQueue.getNextMutationBatchAfterBatchId(c,e)))}function bm(f,e){const i=Ie(f);return i.persistence.runTransaction("Allocate target","readwrite",c=>{let g;return i.hi.getTargetData(c,e).next(A=>A?(g=A,et.resolve(g)):i.hi.allocateTargetId(c).next(U=>(g=new $(e,U,"TargetPurposeListen",c.currentSequenceNumber),i.hi.addTargetData(c,g).next(()=>g))))}).then(c=>{const g=i.Fs.get(c.targetId);return(null===g||c.snapshotVersion.compareTo(g.snapshotVersion)>0)&&(i.Fs=i.Fs.insert(c.targetId,c),i.Ms.set(e,c.targetId)),c})}function Ud(f,e,i){return Uf.apply(this,arguments)}function Uf(){return(Uf=(0,o.A)(function*(f,e,i){const c=Ie(f),g=c.Fs.get(e),A=i?"readwrite":"readwrite-primary";try{i||(yield c.persistence.runTransaction("Release target",A,U=>c.persistence.referenceDelegate.removeTarget(U,g)))}catch(U){if(!xn(U))throw U;nt(Dh,`Failed to update sequence numbers for target ${e}: ${U}`)}c.Fs=c.Fs.remove(e),c.Ms.delete(g.target)})).apply(this,arguments)}function nu(f,e,i){const c=Ie(f);let g=_e.min(),A=Hs();return c.persistence.runTransaction("Execute query","readwrite",U=>function(Se,ut,Qt){const vn=Ie(Se),Kn=vn.Ms.get(Qt);return void 0!==Kn?et.resolve(vn.Fs.get(Kn)):vn.hi.getTargetData(ut,Qt)}(c,U,Ar(e)).next(se=>{if(se)return g=se.lastLimboFreeSnapshotVersion,c.hi.getMatchingKeysForTargetId(U,se.targetId).next(Se=>{A=Se})}).next(()=>c.Cs.getDocumentsMatchingQuery(U,e,i?g:_e.min(),i?A:Hs())).next(se=>(g_(c,xc(e),se),{documents:se,qs:A})))}function Ip(f,e){const i=Ie(f),c=Ie(i.hi),g=i.Fs.get(e);return g?Promise.resolve(g.target):i.persistence.runTransaction("Get target data","readonly",A=>c.Et(A,e).next(U=>U?U.target:null))}function Ec(f,e){const i=Ie(f),c=i.xs.get(e)||_e.min();return i.persistence.runTransaction("Get new document changes","readonly",g=>i.Os.getAllFromCollectionGroup(g,e,Tr(c,L),Number.MAX_SAFE_INTEGER)).then(g=>(g_(i,e,g),g))}function g_(f,e,i){let c=f.xs.get(e)||_e.min();i.forEach((g,A)=>{A.readTime.compareTo(c)>0&&(c=A.readTime)}),f.xs.set(e,c)}function Ou(){return(Ou=(0,o.A)(function*(f,e,i,c){const g=Ie(f);let A=Hs(),U=ga();for(const ut of i){const Qt=e.Qs(ut.metadata.name);ut.document&&(A=A.add(Qt));const vn=e.$s(ut);vn.setReadTime(e.Us(ut.metadata.readTime)),U=U.insert(Qt,vn)}const se=g.Os.newChangeBuffer({trackRemovals:!0}),Se=yield bm(g,(Qt=c,Ar(Xt(ii.fromString(`__bundle__/docs/${Qt}`)))));var Qt;return g.persistence.runTransaction("Apply bundle documents","readwrite",ut=>Eg(ut,se,U).next(Qt=>(se.apply(ut),Qt)).next(Qt=>g.hi.removeMatchingKeysForTargetId(ut,Se.targetId).next(()=>g.hi.addMatchingKeys(ut,A,Se.targetId)).next(()=>g.localDocuments.getLocalViewOfDocuments(ut,Qt.Ls,Qt.ks)).next(()=>Qt.Ls)))})).apply(this,arguments)}function Dg(f,e){return Th.apply(this,arguments)}
1function Th(){return(Th=(0,o.A)(function*(f,e,i=Hs()){const c=yield bm(f,Ar(jr(e.bundledQuery))),g=Ie(f);return g.persistence.runTransaction("Save named query","readwrite",A=>{const U=va(e.readTime);if(c.snapshotVersion.compareTo(U)>=0)return g.Ti.saveNamedQuery(A,e);const se=c.withResumeToken(Mo.EMPTY_BYTE_STRING,U);return g.Fs=g.Fs.insert(se.targetId,se),g.hi.updateTargetData(A,se).next(()=>g.hi.removeMatchingKeysForTargetId(A,c.targetId)).next(()=>g.hi.addMatchingKeys(A,i,c.targetId)).next(()=>g.Ti.saveNamedQuery(A,e))})})).apply(this,arguments)}const wg="firestore_clients";function Gm(f,e){return`${wg}_${f}_${e}`}const df="firestore_mutations";function v_(f,e,i){let c=`${df}_${f}_${i}`;return e.isAuthenticated()&&(c+=`_${e.uid}`),c}const Ko="firestore_targets";function y_(f,e){return`${Ko}_${f}_${e}`}const jd="SharedClientState";class Cp{constructor(e,i,c,g){this.user=e,this.batchId=i,this.state=c,this.error=g}static Ks(e,i,c){const g=JSON.parse(c);let A,U="object"==typeof g&&-1!==["pending","acknowledged","rejected"].indexOf(g.state)&&(void 0===g.error||"object"==typeof g.error);return U&&g.error&&(U="string"==typeof g.error.message&&"string"==typeof g.error.code,U&&(A=new je(g.error.code,g.error.message))),U?new Cp(e,i,g.state,A):(cn(jd,`Failed to parse mutation state for ID '${i}': ${c}`),null)}Ws(){const e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)}}class $h{constructor(e,i,c){this.targetId=e,this.state=i,this.error=c}static Ks(e,i){const c=JSON.parse(i);let g,A="object"==typeof c&&-1!==["not-current","current","rejected"].indexOf(c.state)&&(void 0===c.error||"object"==typeof c.error);return A&&c.error&&(A="string"==typeof c.error.message&&"string"==typeof c.error.code,A&&(g=new je(c.error.code,c.error.message))),A?new $h(e,c.state,g):(cn(jd,`Failed to parse target state for ID '${e}': ${i}`),null)}Ws(){const e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)}}class Dm{constructor(e,i){this.clientId=e,this.activeTargetIds=i}static Ks(e,i){const c=JSON.parse(i);let g="object"==typeof c&&c.activeTargetIds instanceof Array,A=ud();for(let U=0;g&&U<c.activeTargetIds.length;++U)g=Hr(c.activeTargetIds[U]),A=A.add(c.activeTargetIds[U]);return g?new Dm(e,A):(cn(jd,`Failed to parse client data for instance '${e}': ${i}`),null)}}class Gh{constructor(e,i){this.clientId=e,this.onlineState=i}static Ks(e){const i=JSON.parse(e);return"object"==typeof i&&-1!==["Unknown","Online","Offline"].indexOf(i.onlineState)&&"string"==typeof i.clientId?new Gh(i.clientId,i.onlineState):(cn(jd,`Failed to parse online state: ${e}`),null)}}class Km{constructor(){this.activeTargetIds=ud()}Gs(e){this.activeTargetIds=this.activeTargetIds.add(e)}zs(e){this.activeTargetIds=this.activeTargetIds.delete(e)}Ws(){const e={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(e)}}class uf{constructor(e,i,c,g,A){this.window=e,this.Fi=i,this.persistenceKey=c,this.js=g,this.syncEngine=null,this.onlineStateHandler=null,this.sequenceNumberHandler=null,this.Js=this.Hs.bind(this),this.Ys=new Ps(Tn),this.started=!1,this.Zs=[];const U=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");this.storage=this.window.localStorage,this.currentUser=A,this.Xs=Gm(this.persistenceKey,this.js),this.eo=`firestore_sequence_number_${this.persistenceKey}`,this.Ys=this.Ys.insert(this.js,new Km),this.no=new RegExp(`^${wg}_${U}_([^_]*)$`),this.ro=new RegExp(`^${df}_${U}_(\\d+)(?:_(.*))?$`),this.io=new RegExp(`^${Ko}_${U}_(\\d+)$`),this.so=`firestore_online_state_${this.persistenceKey}`,this.oo=function(Se){return`firestore_bundle_loaded_v2_${Se}`}(this.persistenceKey),this.window.addEventListener("storage",this.Js)}static C(e){return!(!e||!e.localStorage)}start(){var e=this;return(0,o.A)(function*(){const i=yield e.syncEngine.Ps();for(const g of i){if(g===e.js)continue;const A=e.getItem(Gm(e.persistenceKey,g));if(A){const U=Dm.Ks(g,A);U&&(e.Ys=e.Ys.insert(U.clientId,U))}}e._o();const c=e.storage.getItem(e.so);if(c){const g=e.ao(c);g&&e.uo(g)}for(const g of e.Zs)e.Hs(g);e.Zs=[],e.window.addEventListener("pagehide",()=>e.shutdown()),e.started=!0})()}writeSequenceNumber(e){this.setItem(this.eo,JSON.stringify(e))}getAllActiveQueryTargets(){return this.co(this.Ys)}isActiveQueryTarget(e){let i=!1;
1return this.Ys.forEach((c,g)=>{g.activeTargetIds.has(e)&&(i=!0)}),i}addPendingMutation(e){this.lo(e,"pending")}updateMutationState(e,i,c){this.lo(e,i,c),this.ho(e)}addLocalQueryTarget(e,i=!0){let c="not-current";if(this.isActiveQueryTarget(e)){const g=this.storage.getItem(y_(this.persistenceKey,e));if(g){const A=$h.Ks(e,g);A&&(c=A.state)}}return i&&this.Po.Gs(e),this._o(),c}removeLocalQueryTarget(e){this.Po.zs(e),this._o()}isLocalQueryTarget(e){return this.Po.activeTargetIds.has(e)}clearQueryState(e){this.removeItem(y_(this.persistenceKey,e))}updateQueryState(e,i,c){this.To(e,i,c)}handleUserChange(e,i,c){i.forEach(g=>{this.ho(g)}),this.currentUser=e,c.forEach(g=>{this.addPendingMutation(g)})}setOnlineState(e){this.Io(e)}notifyBundleLoaded(e){this.Eo(e)}shutdown(){this.started&&(this.window.removeEventListener("storage",this.Js),this.removeItem(this.Xs),this.started=!1)}getItem(e){const i=this.storage.getItem(e);return nt(jd,"READ",e,i),i}setItem(e,i){nt(jd,"SET",e,i),this.storage.setItem(e,i)}removeItem(e){nt(jd,"REMOVE",e),this.storage.removeItem(e)}Hs(e){var i=this;const c=e;if(c.storageArea===this.storage){if(nt(jd,"EVENT",c.key,c.newValue),c.key===this.Xs)return void cn("Received WebStorage notification for local change. Another client might have garbage-collected our state");this.Fi.enqueueRetryable((0,o.A)(function*(){if(i.started){if(null!==c.key)if(i.no.test(c.key)){if(null==c.newValue){const g=i.Ao(c.key);return i.Ro(g,null)}{const g=i.Vo(c.key,c.newValue);if(g)return i.Ro(g.clientId,g)}}else if(i.ro.test(c.key)){if(null!==c.newValue){const g=i.mo(c.key,c.newValue);if(g)return i.fo(g)}}else if(i.io.test(c.key)){if(null!==c.newValue){const g=i.po(c.key,c.newValue);if(g)return i.yo(g)}}else if(c.key===i.so){if(null!==c.newValue){const g=i.ao(c.newValue);if(g)return i.uo(g)}}else if(c.key===i.eo){const g=function(U){let se=Ai.ue;if(null!=U)try{const Se=JSON.parse(U);yt("number"==typeof Se,30636,{wo:U}),se=Se}catch(Se){cn(jd,"Failed to read sequence number from WebStorage",Se)}return se}(c.newValue);g!==Ai.ue&&i.sequenceNumberHandler(g)}else if(c.key===i.oo){const g=i.So(c.newValue);yield Promise.all(g.map(A=>i.syncEngine.bo(A)))}}else i.Zs.push(c)}))}}get Po(){return this.Ys.get(this.js)}_o(){this.setItem(this.Xs,this.Po.Ws())}lo(e,i,c){const g=new Cp(this.currentUser,e,i,c),A=v_(this.persistenceKey,this.currentUser,e);this.setItem(A,g.Ws())}ho(e){const i=v_(this.persistenceKey,this.currentUser,e);this.removeItem(i)}Io(e){this.storage.setItem(this.so,JSON.stringify({clientId:this.js,onlineState:e}))}To(e,i,c){const g=y_(this.persistenceKey,e),A=new $h(e,i,c);this.setItem(g,A.Ws())}Eo(e){const i=JSON.stringify(Array.from(e));this.setItem(this.oo,i)}Ao(e){const i=this.no.exec(e);return i?i[1]:null}Vo(e,i){const c=this.Ao(e);return Dm.Ks(c,i)}mo(e,i){const c=this.ro.exec(e),g=Number(c[1]);return Cp.Ks(new he(void 0!==c[2]?c[2]:null),g,i)}po(e,i){const c=this.io.exec(e),g=Number(c[1]);return $h.Ks(g,i)}ao(e){return Gh.Ks(e)}So(e){return JSON.parse(e)}fo(e){var i=this;return(0,o.A)(function*(){if(e.user.uid===i.currentUser.uid)return i.syncEngine.Do(e.batchId,e.state,e.error);nt(jd,`Ignoring mutation for non-active user ${e.user.uid}`)})()}yo(e){return this.syncEngine.vo(e.targetId,e.state,e.error)}Ro(e,i){const c=i?this.Ys.insert(e,i):this.Ys.remove(e),g=this.co(this.Ys),A=this.co(c),U=[],se=[];return A.forEach(Se=>{g.has(Se)||U.push(Se)}),g.forEach(Se=>{A.has(Se)||se.push(Se)}),this.syncEngine.Co(U,se).then(()=>{this.Ys=c})}uo(e){this.Ys.get(e.clientId)&&this.onlineStateHandler(e.onlineState)}co(e){let i=ud();return e.forEach((c,g)=>{i=i.unionWith(g.activeTargetIds)}),i}}class Ap{constructor(){this.Fo=new Km,this.Mo={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(e){}updateMutationState(e,i,c){}addLocalQueryTarget(e,i=!0){return i&&this.Fo.Gs(e),this.Mo[e]||"not-current"}updateQueryState(e,i,c){this.Mo[e]=i}removeLocalQueryTarget(e){this.Fo.zs(e)}isLocalQueryTarget(e){return this.Fo.activeTargetIds.has(e)}clearQueryState(e){delete this.Mo[e]}getAllActiveQueryTargets(){return this.Fo.activeTargetIds}isActiveQueryTarget(e){return this.Fo.activeTargetIds.has(e)}start(){return this.Fo=new Km,Promise.resolve()}handleUserChange(e,i,c){}setOnlineState(e){}shutdown(){}writeSequenceNumber(e){}notifyBundleLoaded(e){}}class kp{xo(e){}shutdown(){}}const Sp="ConnectivityMonitor";class Tg{constructor(){this.Oo=()=>this.No(),this.Bo=()=>this.Lo(),this.ko=[],this.qo()}xo(e){this.ko.push(e)}shutdown(){window.removeEventListener("online",this.Oo),window.removeEventListener("offline",this.Bo)}qo(){window.addEventListener("online",this.Oo),window.addEventListener("offline",this.Bo)}No(){nt(Sp,"Network connectivity changed: AVAILABLE");for(const e of this.ko)e(0)}Lo(){nt(Sp,"Network connectivity changed: UNAVAILABLE");for(const e of this.ko)e(1)}static C(){return typeof window<"u"&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}let hf=null;
1function jf(){return null===hf?hf=268435456+Math.round(2147483648*Math.random()):hf++,"0x"+hf.toString(16)}const Qm="RestConnection",Mh={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};class xp{get Qo(){return!1}constructor(e){this.databaseInfo=e,this.databaseId=e.databaseId;const i=e.ssl?"https":"http",c=encodeURIComponent(this.databaseId.projectId),g=encodeURIComponent(this.databaseId.database);this.$o=i+"://"+e.host,this.Uo=`projects/${c}/databases/${g}`,this.Ko=this.databaseId.database===Ds?`project_id=${c}`:`project_id=${c}&database_id=${g}`}Wo(e,i,c,g,A){const U=jf(),se=this.Go(e,i.toUriEncodedString());nt(Qm,`Sending RPC '${e}' ${U}:`,se,c);const Se={"google-cloud-resource-prefix":this.Uo,"x-goog-request-params":this.Ko};this.zo(Se,g,A);const{host:ut}=new URL(se),Qt=(0,v.zJ)(ut);return this.jo(e,se,Se,c,Qt).then(vn=>(nt(Qm,`Received RPC '${e}' ${U}: `,vn),vn),vn=>{throw hn(Qm,`RPC '${e}' ${U} failed with error: `,vn,"url: ",se,"request:",c),vn})}Jo(e,i,c,g,A,U){return this.Wo(e,i,c,g,A)}zo(e,i,c){e["X-Goog-Api-Client"]="gl-js/ fire/"+Ne,e["Content-Type"]="text/plain",this.databaseInfo.appId&&(e["X-Firebase-GMPID"]=this.databaseInfo.appId),i&&i.headers.forEach((g,A)=>e[A]=g),c&&c.headers.forEach((g,A)=>e[A]=g)}Go(e,i){return`${this.$o}/v1/${i}:${Mh[e]}`}terminate(){}}class Rp{constructor(e){this.Ho=e.Ho,this.Yo=e.Yo}Zo(e){this.Xo=e}e_(e){this.t_=e}n_(e){this.r_=e}onMessage(e){this.i_=e}close(){this.Yo()}send(e){this.Ho(e)}s_(){this.Xo()}o_(){this.t_()}__(e){this.r_(e)}a_(e){this.i_(e)}}const vd="WebChannelConnection";class b_ extends xp{constructor(e){super(e),this.u_=[],this.forceLongPolling=e.forceLongPolling,this.autoDetectLongPolling=e.autoDetectLongPolling,this.useFetchStreams=e.useFetchStreams,this.longPollingOptions=e.longPollingOptions}jo(e,i,c,g,A){const U=jf();return new Promise((se,Se)=>{const ut=new ye;ut.setWithCredentials(!0),ut.listenOnce(Ge.COMPLETE,()=>{try{switch(ut.getLastErrorCode()){case Qe.NO_ERROR:const vn=ut.getResponseJson();nt(vd,`XHR for RPC '${e}' ${U} received:`,JSON.stringify(vn)),se(vn);break;case Qe.TIMEOUT:nt(vd,`RPC '${e}' ${U} timed out`),Se(new je(ie.DEADLINE_EXCEEDED,"Request time out"));break;case Qe.HTTP_ERROR:const Kn=ut.getStatus();if(nt(vd,`RPC '${e}' ${U} failed with status:`,Kn,"response text:",ut.getResponseText()),Kn>0){let ji=ut.getResponseJson();Array.isArray(ji)&&(ji=ji[0]);const hr=ji?.error;if(hr&&hr.status&&hr.message){const kr=function(hs){const zs=hs.toLowerCase().replace(/_/g,"-");return Object.values(ie).indexOf(zs)>=0?zs:ie.UNKNOWN}(hr.status);Se(new je(kr,hr.message))}else Se(new je(ie.UNKNOWN,"Server responded with status "+ut.getStatus()))}else Se(new je(ie.UNAVAILABLE,"Connection failed."));break;default:Te(9055,{c_:e,streamId:U,l_:ut.getLastErrorCode(),h_:ut.getLastError()})}}finally{nt(vd,`RPC '${e}' ${U} completed.`)}});const Qt=JSON.stringify(g);nt(vd,`RPC '${e}' ${U} sending request:`,g),ut.send(i,"POST",Qt,c,15)})}P_(e,i,c){const g=jf(),A=[this.$o,"/","google.firestore.v1.Firestore","/",e,"/channel"],U=ge(),se=Le(),Se={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},ut=this.longPollingOptions.timeoutSeconds;void 0!==ut&&(Se.longPollingTimeout=Math.round(1e3*ut)),this.useFetchStreams&&(Se.useFetchStreams=!0),this.zo(Se.initMessageHeaders,i,c),Se.encodeInitMessageHeaders=!0;const Qt=A.join("");nt(vd,`Creating RPC '${e}' stream ${g}: ${Qt}`,Se);const vn=U.createWebChannel(Qt,Se);this.T_(vn);let Kn=!1,ji=!1;
1const hr=new Rp({Ho:Sr=>{ji?nt(vd,`Not sending because RPC '${e}' stream ${g} is closed:`,Sr):(Kn||(nt(vd,`Opening RPC '${e}' stream ${g} transport.`),vn.open(),Kn=!0),nt(vd,`RPC '${e}' stream ${g} sending:`,Sr),vn.send(Sr))},Yo:()=>vn.close()}),kr=(Sr,hs,zs)=>{Sr.listen(hs,Vs=>{try{zs(Vs)}catch($o){setTimeout(()=>{throw $o},0)}})};return kr(vn,Mt.EventType.OPEN,()=>{ji||(nt(vd,`RPC '${e}' stream ${g} transport opened.`),hr.s_())}),kr(vn,Mt.EventType.CLOSE,()=>{ji||(ji=!0,nt(vd,`RPC '${e}' stream ${g} transport closed`),hr.__(),this.I_(vn))}),kr(vn,Mt.EventType.ERROR,Sr=>{ji||(ji=!0,hn(vd,`RPC '${e}' stream ${g} transport errored. Name:`,Sr.name,"Message:",Sr.message),hr.__(new je(ie.UNAVAILABLE,"The operation could not be completed")))}),kr(vn,Mt.EventType.MESSAGE,Sr=>{var hs;if(!ji){const zs=Sr.data[0];yt(!!zs,16349);const Vs=zs,$o=Vs?.error||(null===(hs=Vs[0])||void 0===hs?void 0:hs.error);if($o){nt(vd,`RPC '${e}' stream ${g} received error:`,$o);const qa=$o.status;let aa=function(hi){const Mi=Ca[hi];if(void 0!==Mi)return wu(Mi)}(qa),Ci=$o.message;void 0===aa&&(aa=ie.INTERNAL,Ci="Unknown error status: "+qa+" with message "+$o.message),ji=!0,hr.__(new je(aa,Ci)),vn.close()}else nt(vd,`RPC '${e}' stream ${g} received:`,zs),hr.a_(zs)}}),kr(se,ze.STAT_EVENT,Sr=>{Sr.stat===Xe.PROXY?nt(vd,`RPC '${e}' stream ${g} detected buffering proxy`):Sr.stat===Xe.NOPROXY&&nt(vd,`RPC '${e}' stream ${g} detected no buffering proxy`)}),setTimeout(()=>{hr.o_()},0),hr}terminate(){this.u_.forEach(e=>e.close()),this.u_=[]}T_(e){this.u_.push(e)}I_(e){this.u_=this.u_.filter(i=>i===e)}}function E_(){return typeof window<"u"?window:null}function Kh(){return typeof document<"u"?document:null}function ff(f){return new Qd(f,!0)}class D_{constructor(e,i,c=1e3,g=1.5,A=6e4){this.Fi=e,this.timerId=i,this.d_=c,this.E_=g,this.A_=A,this.R_=0,this.V_=null,this.m_=Date.now(),this.reset()}reset(){this.R_=0}f_(){this.R_=this.A_}g_(e){this.cancel();const i=Math.floor(this.R_+this.p_()),c=Math.max(0,Date.now()-this.m_),g=Math.max(0,i-c);g>0&&nt("ExponentialBackoff",`Backing off for ${g} ms (base delay: ${this.R_} ms, delay with jitter: ${i} ms, last attempt: ${c} ms ago)`),this.V_=this.Fi.enqueueAfterDelay(this.timerId,g,()=>(this.m_=Date.now(),e())),this.R_*=this.E_,this.R_<this.d_&&(this.R_=this.d_),this.R_>this.A_&&(this.R_=this.A_)}y_(){null!==this.V_&&(this.V_.skipDelay(),this.V_=null)}cancel(){null!==this.V_&&(this.V_.cancel(),this.V_=null)}p_(){return(Math.random()-.5)*this.R_}}const Mg="PersistentStream";class mf{constructor(e,i,c,g,A,U,se,Se){this.Fi=e,this.w_=c,this.S_=g,this.connection=A,this.authCredentialsProvider=U,this.appCheckCredentialsProvider=se,this.listener=Se,this.state=0,this.b_=0,this.D_=null,this.v_=null,this.stream=null,this.C_=0,this.F_=new D_(e,i)}M_(){return 1===this.state||5===this.state||this.x_()}x_(){return 2===this.state||3===this.state}start(){this.C_=0,4!==this.state?this.auth():this.O_()}stop(){var e=this;return(0,o.A)(function*(){e.M_()&&(yield e.close(0))})()}N_(){this.state=0,this.F_.reset()}B_(){this.x_()&&null===this.D_&&(this.D_=this.Fi.enqueueAfterDelay(this.w_,6e4,()=>this.L_()))}k_(e){this.q_(),this.stream.send(e)}L_(){var e=this;return(0,o.A)(function*(){if(e.x_())return e.close(0)})()}q_(){this.D_&&(this.D_.cancel(),this.D_=null)}Q_(){this.v_&&(this.v_.cancel(),this.v_=null)}close(e,i){var c=this;return(0,o.A)(function*(){c.q_(),c.Q_(),c.F_.cancel(),c.b_++,4!==e?c.F_.reset():i&&i.code===ie.RESOURCE_EXHAUSTED?(cn(i.toString()),cn("Using maximum backoff delay to prevent overloading the backend."),c.F_.f_()):i&&i.code===ie.UNAUTHENTICATED&&3!==c.state&&(c.authCredentialsProvider.invalidateToken(),c.appCheckCredentialsProvider.invalidateToken()),null!==c.stream&&(c.U_(),c.stream.close(),c.stream=null),c.state=e,yield c.listener.n_(i)})()}U_(){}auth(){this.state=1;const e=this.K_(this.b_),i=this.b_;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then(([c,g])=>{this.b_===i&&this.W_(c,g)},c=>{e(()=>{const g=new je(ie.UNKNOWN,"Fetching auth token failed: "+c.message);return this.G_(g)})})}W_(e,i){const c=this.K_(this.b_);this.stream=this.z_(e,i),this.stream.Zo(()=>{c(()=>this.listener.Zo())}),this.stream.e_(()=>{c(()=>(this.state=2,this.v_=this.Fi.enqueueAfterDelay(this.S_,1e4,()=>(this.x_()&&(this.state=3),Promise.resolve())),this.listener.e_()))}),this.stream.n_(g=>{c(()=>this.G_(g))}),this.stream.onMessage(g=>{c(()=>1==++this.C_?this.j_(g):this.onNext(g))})}O_(){var e=this;this.state=5,this.F_.g_((0,o.A)(function*(){e.state=0,e.start()}))}G_(e){return nt(Mg,`close with error: ${e}`),this.stream=null,this.close(4,e)}K_(e){return i=>{this.Fi.enqueueAndForget(()=>this.b_===e?i():(nt(Mg,"stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve()))}}}class wm extends mf{constructor(e,i,c,g,A,U){super(e,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",i,c,g,U),this.serializer
1=A}z_(e,i){return this.connection.P_("Listen",e,i)}j_(e){return this.onNext(e)}onNext(e){this.F_.reset();const i=function fo(f,e){let i;if("targetChange"in e){const c="NO_CHANGE"===(ut=e.targetChange.targetChangeType||"NO_CHANGE")?0:"ADD"===ut?1:"REMOVE"===ut?2:"CURRENT"===ut?3:"RESET"===ut?4:Te(39313,{state:ut}),g=e.targetChange.targetIds||[],A=function(ut,Qt){return ut.useProto3Json?(yt(void 0===Qt||"string"==typeof Qt,58123),Mo.fromBase64String(Qt||"")):(yt(void 0===Qt||Qt instanceof Buffer||Qt instanceof Uint8Array,16193),Mo.fromUint8Array(Qt||new Uint8Array))}(f,e.targetChange.resumeToken),U=e.targetChange.cause,se=U&&function(ut){const Qt=void 0===ut.code?ie.UNKNOWN:wu(ut.code);return new je(Qt,ut.message||"")}(U);i=new Va(c,g,A,se||null)}else if("documentChange"in e){const c=e.documentChange,g=J(f,c.document.name),A=va(c.document.updateTime),U=c.document.createTime?va(c.document.createTime):_e.min(),se=new da({mapValue:{fields:c.document.fields}}),Se=ps.newFoundDocument(g,A,U,se);i=new vo(c.targetIds||[],c.removedTargetIds||[],Se.key,Se)}else if("documentDelete"in e){const c=e.documentDelete,g=J(f,c.document),A=c.readTime?va(c.readTime):_e.min(),U=ps.newNoDocument(g,A);i=new vo([],c.removedTargetIds||[],U.key,U)}else if("documentRemove"in e){const c=e.documentRemove,g=J(f,c.document);i=new vo([],c.removedTargetIds||[],g,null)}else{if(!("filter"in e))return Te(11601,{At:e});{const c=e.filter,{count:g=0,unchangedNames:A}=c,U=new gc(g,A);i=new Bo(c.targetId,U)}}var ut;return i}(this.serializer,e),c=function(A){if(!("targetChange"in A))return _e.min();const U=A.targetChange;return U.targetIds&&U.targetIds.length?_e.min():U.readTime?va(U.readTime):_e.min()}(e);return this.listener.J_(i,c)}H_(e){const i={};i.database=nn(this.serializer),i.addTarget=function(A,U){let se;const Se=U.target;if(se=zo(Se)?{documents:Gu(A,Se)}:{query:du(A,Se).Vt},se.targetId=U.targetId,U.resumeToken.approximateByteSize()>0){se.resumeToken=fd(A,U.resumeToken);const ut=Fd(A,U.expectedCount);null!==ut&&(se.expectedCount=ut)}else if(U.snapshotVersion.compareTo(_e.min())>0){se.readTime=hd(A,U.snapshotVersion.toTimestamp());const ut=Fd(A,U.expectedCount);null!==ut&&(se.expectedCount=ut)}return se}(this.serializer,e);const c=function Bd(f,e){const i=function(g){switch(g){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return Te(28987,{purpose:g})}}(e.purpose);return null==i?null:{"goog-listen-tags":i}}(0,e);c&&(i.labels=c),this.k_(i)}Y_(e){const i={};i.database=nn(this.serializer),i.removeTarget=e,this.k_(i)}}class w_ extends mf{constructor(e,i,c,g,A,U){super(e,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",i,c,g,U),this.serializer=A}get Z_(){return this.C_>0}start(){this.lastStreamToken=void 0,super.start()}U_(){this.Z_&&this.X_([])}z_(e,i){return this.connection.P_("Write",e,i)}j_(e){return yt(!!e.streamToken,31322),this.lastStreamToken=e.streamToken,yt(!e.writeResults||0===e.writeResults.length,55816),this.listener.ea()}onNext(e){yt(!!e.streamToken,12678),this.lastStreamToken=e.streamToken,this.F_.reset();const i=function jl(f,e){return f&&f.length>0?(yt(void 0!==e,14353),f.map(i=>function(g,A){let U=va(g.updateTime?g.updateTime:A);return U.isEqual(_e.min())&&(U=va(A)),new or(U,g.transformResults||[])}(i,e))):[]}(e.writeResults,e.commitTime),c=va(e.commitTime);return this.listener.ta(c,i)}na(){const e={};e.database=nn(this.serializer),this.k_(e)}X_(e){const i={streamToken:this.lastStreamToken,writes:e.map(c=>Na(this.serializer,c))};this.k_(i)}}class Wf{}class Pp extends Wf{constructor(e,i,c,g){super(),this.authCredentials=e,this.appCheckCredentials=i,this.connection=c,this.serializer=g,this.ra=!1}ia(){if(this.ra)throw new je(ie.FAILED_PRECONDITION,"The client has already been terminated.")}Wo(e,i,c,g){return this.ia(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([A,U])=>this.connection.Wo(e,wc(i,c),g,A,U)).catch(A=>{throw"FirebaseError"===A.name?(A.code===ie.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),A):new je(ie.UNKNOWN,A.toString())})}Jo(e,i,c,g,A){return this.ia(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([U,se])=>this.connection.Jo(e,wc(i,c),g,U,se,A)).catch(U=>{throw"FirebaseError"===U.name?(U.code===ie.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),U):new je(ie.UNKNOWN,U.toString())})}terminate(){this.ra=!0,this.connection.terminate()}}class Ig{constructor(e,i){this.asyncQueue=e,this.onlineStateHandler=i,this.state="Unknown",this.sa=0,this.oa=null,this._a=!0}aa(){0===this.sa&&(this.ua("Unknown"),this.oa=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,()=>(this.oa=null,this.ca("Backend didn't respond within 10 seconds."),this.ua("Offline"),Promise.resolve())))}la(e){"Online"===this.state?this.ua("Unknown"):(this.sa++,this.sa>=1&&(this.ha(),this.ca(`Connection failed 1 times. Most recent error: ${e.toString()}`),this.ua("Offline")))}set(e){this.ha(),this.sa=0,"Online"===e&&(this._a=!1),this.ua(e)}ua(e){e!==this.state&&(this.state=e,this.onlineStateHandler(e))}ca(e){const i=`Could not reach Cloud Firestore backend. ${e}\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this._a?(cn(i),this._a=!1):nt("OnlineStateTracker",i)}ha(){null!==this.oa&&(this.oa.cancel(),this.oa=null)}}const pf="RemoteStore";class wv{constructor(e,i,c,g,A){var U=this;this.localStore=e,this.datastore=i,this.asyncQueue=c,this.remoteSyncer={},this.Pa=[],this.Ta=new Map,this.Ia=new Set,this.da=[],this.Ea=A,this.Ea.xo(se=>{c.enqueueAndForget((0,o.A)(function*(){var Se;
1Lu(U)&&(nt(pf,"Restarting streams for network reachability change."),yield(Se=(0,o.A)(function*(Qt){const vn=Ie(Qt);vn.Ia.add(4),yield yd(vn),vn.Aa.set("Unknown"),vn.Ia.delete(4),yield Hf(vn)}),function ut(Qt){return Se.apply(this,arguments)})(U))}))}),this.Aa=new Ig(c,g)}}function Hf(f){return Ih.apply(this,arguments)}function Ih(){return(Ih=(0,o.A)(function*(f){if(Lu(f))for(const e of f.da)yield e(!0)})).apply(this,arguments)}function yd(f){return Yf.apply(this,arguments)}function Yf(){return(Yf=(0,o.A)(function*(f){for(const e of f.da)yield e(!1)})).apply(this,arguments)}function Op(f,e){const i=Ie(f);i.Ta.has(e.targetId)||(i.Ta.set(e.targetId,e),Xm(i)?_f(i):bl(i).x_()&&Tm(i,e))}function zf(f,e){const i=Ie(f),c=bl(i);i.Ta.delete(e),c.x_()&&Lp(i,e),0===i.Ta.size&&(c.x_()?c.B_():Lu(i)&&i.Aa.set("Unknown"))}function Tm(f,e){if(f.Ra.$e(e.targetId),e.resumeToken.approximateByteSize()>0||e.snapshotVersion.compareTo(_e.min())>0){const i=f.remoteSyncer.getRemoteKeysForTarget(e.targetId).size;e=e.withExpectedCount(i)}bl(f).H_(e)}function Lp(f,e){f.Ra.$e(e),bl(f).Y_(e)}function _f(f){f.Ra=new Ja({getRemoteKeysForTarget:e=>f.remoteSyncer.getRemoteKeysForTarget(e),Et:e=>f.Ta.get(e)||null,lt:()=>f.datastore.serializer.databaseId}),bl(f).start(),f.Aa.aa()}function Xm(f){return Lu(f)&&!bl(f).M_()&&f.Ta.size>0}function Lu(f){return 0===Ie(f).Ia.size}function gf(f){f.Ra=void 0}function Np(f){return $f.apply(this,arguments)}function $f(){return($f=(0,o.A)(function*(f){f.Aa.set("Online")})).apply(this,arguments)}function R(f){return S.apply(this,arguments)}function S(){return(S=(0,o.A)(function*(f){f.Ta.forEach((e,i)=>{Tm(f,e)})})).apply(this,arguments)}function ce(f,e){return I.apply(this,arguments)}function I(){return(I=(0,o.A)(function*(f,e){gf(f),Xm(f)?(f.Aa.la(e),_f(f)):f.Aa.set("Unknown")})).apply(this,arguments)}function N(f,e,i){return re.apply(this,arguments)}function re(){return re=(0,o.A)(function*(f,e,i){if(f.Aa.set("Online"),e instanceof Va&&2===e.state&&e.cause)try{yield(c=(0,o.A)(function*(A,U){const se=U.cause;for(const Se of U.targetIds)A.Ta.has(Se)&&(yield A.remoteSyncer.rejectListen(Se,se),A.Ta.delete(Se),A.Ra.removeTarget(Se))}),function g(A,U){return c.apply(this,arguments)})(f,e)}catch(c){nt(pf,"Failed to remove targets %s: %s ",e.targetIds.join(","),c),yield Ht(f,c)}else if(e instanceof vo?f.Ra.Ye(e):e instanceof Bo?f.Ra.it(e):f.Ra.et(e),!i.isEqual(_e.min()))try{const c=yield Mp(f.localStore);i.compareTo(c)>=0&&(yield function(A,U){const se=A.Ra.Pt(U);
1return se.targetChanges.forEach((Se,ut)=>{if(Se.resumeToken.approximateByteSize()>0){const Qt=A.Ta.get(ut);Qt&&A.Ta.set(ut,Qt.withResumeToken(Se.resumeToken,U))}}),se.targetMismatches.forEach((Se,ut)=>{const Qt=A.Ta.get(Se);if(!Qt)return;A.Ta.set(Se,Qt.withResumeToken(Mo.EMPTY_BYTE_STRING,Qt.snapshotVersion)),Lp(A,Se);const vn=new $(Qt.target,Se,ut,Qt.sequenceNumber);Tm(A,vn)}),A.remoteSyncer.applyRemoteEvent(se)}(f,i))}catch(c){nt(pf,"Failed to raise snapshot:",c),yield Ht(f,c)}var c}),re.apply(this,arguments)}function Ht(f,e,i){return on.apply(this,arguments)}function on(){return(on=(0,o.A)(function*(f,e,i){if(!xn(e))throw e;f.Ia.add(1),yield yd(f),f.Aa.set("Offline"),i||(i=()=>Mp(f.localStore)),f.asyncQueue.enqueueRetryable((0,o.A)(function*(){nt(pf,"Retrying IndexedDB access"),yield i(),f.Ia.delete(1),yield Hf(f)}))})).apply(this,arguments)}function bi(f,e){return e().catch(i=>Ht(f,i,e))}function Bi(f){return tr.apply(this,arguments)}function tr(){return(tr=(0,o.A)(function*(f){const e=Ie(f),i=Vc(e);let c=e.Pa.length>0?e.Pa[e.Pa.length-1].batchId:-1;for(;Dr(e);)try{const g=yield $m(e.localStore,c);if(null===g){0===e.Pa.length&&i.B_();break}c=g.batchId,zr(e,g)}catch(g){yield Ht(e,g)}Wr(e)&&Qo(e)})).apply(this,arguments)}function Dr(f){return Lu(f)&&f.Pa.length<10}function zr(f,e){f.Pa.push(e);const i=Vc(f);i.x_()&&i.Z_&&i.X_(e.mutations)}function Wr(f){return Lu(f)&&!Vc(f).M_()&&f.Pa.length>0}function Qo(f){Vc(f).start()}function Ys(f){return Ms.apply(this,arguments)}function Ms(){return(Ms=(0,o.A)(function*(f){Vc(f).na()})).apply(this,arguments)}function ra(f){return Wo.apply(this,arguments)}function Wo(){return(Wo=(0,o.A)(function*(f){const e=Vc(f);for(const i of f.Pa)e.X_(i.mutations)})).apply(this,arguments)}function sl(f,e,i){return Ao.apply(this,arguments)}function Ao(){return(Ao=(0,o.A)(function*(f,e,i){const c=f.Pa.shift(),g=Xa.from(c,e,i);yield bi(f,()=>f.remoteSyncer.applySuccessfulWrite(g)),yield Bi(f)})).apply(this,arguments)}function ma(f,e){return sa.apply(this,arguments)}function sa(){return sa=(0,o.A)(function*(f,e){var i;e&&Vc(f).Z_&&(yield(i=(0,o.A)(function*(g,A){if(Kc(se=A.code)&&se!==ie.ABORTED){const U=g.Pa.shift();Vc(g).N_(),yield bi(g,()=>g.remoteSyncer.rejectFailedWrite(U.batchId,A)),yield Bi(g)}var se}),function c(g,A){return i.apply(this,arguments)})(f,e)),Wr(f)&&Qo(f)}),sa.apply(this,arguments)}function ol(f,e){return za.apply(this,arguments)}function za(){return(za=(0,o.A)(function*(f,e){const i=Ie(f);i.asyncQueue.verifyOperationInProgress(),nt(pf,"RemoteStore received new credentials");const c=Lu(i);i.Ia.add(3),yield yd(i),c&&i.Aa.set("Unknown"),yield i.remoteSyncer.handleCredentialChange(e),i.Ia.delete(3),yield Hf(i)})).apply(this,arguments)}function ac(f,e){return lc.apply(this,arguments)}function lc(){return(lc=(0,o.A)(function*(f,e){const i=Ie(f);e?(i.Ia.delete(2),yield Hf(i)):e||(i.Ia.add(2),yield yd(i),i.Aa.set("Unknown"))})).apply(this,arguments)}function bl(f){return f.Va||(f.Va=function(i,c,g){const A=Ie(i);return A.ia(),new wm(c,A.connection,A.authCredentials,A.appCheckCredentials,A.serializer,g)}(f.datastore,f.asyncQueue,{Zo:Np.bind(null,f),e_:R.bind(null,f),n_:ce.bind(null,f),J_:N.bind(null,f)}),f.da.push(function(){var e=(0,o.A)(function*(i){i?(f.Va.N_(),Xm(f)?_f(f):f.Aa.set("Unknown")):(yield f.Va.stop(),gf(f))});return function(i){return e.apply(this,arguments)}}())),f.Va}function Vc(f){return f.ma||(f.ma=function(i,c,g){const A=Ie(i);return A.ia(),new w_(c,A.connection,A.authCredentials,A.appCheckCredentials,A.serializer,g)}(f.datastore,f.asyncQueue,{Zo:()=>Promise.resolve(),e_:Ys.bind(null,f),n_:ma.bind(null,f),ea:ra.bind(null,f),ta:sl.bind(null,f)}),f.da.push(function(){var e=(0,o.A)(function*(i){i?(f.ma.N_(),yield Bi(f)):(yield f.ma.stop(),f.Pa.length>0&&(nt(pf,`Stopping write stream with ${f.Pa.length} pending writes`),f.Pa=[]))});return function(i){return e.apply(this,arguments)}}())),f.ma}class El{constructor(e,i,c,g,A){this.asyncQueue=e,this.timerId=i,this.targetTimeMs=c,this.op=g,this.removalCallback=A,this.deferred=new rt,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(U=>{})}get promise(){return this.deferred.promise}static createAndSchedule(e,i,c,g,A){const U=Date.now()+c,se=new El(e,i,U,g,A);return se.start(c),se}start(e){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),e)}skipDelay(){return this.handleDelayElapsed()}cancel(e){null!==this.timerHandle&&(this.clearTimeout(),this.deferred.reject(new je(ie.CANCELLED,"Operation cancelled"+(e?": "+e:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>null!==this.timerHandle?(this.clearTimeout(),this.op().then(e=>this.deferred.resolve(e))):Promise.resolve())}clearTimeout(){null!==this.timerHandle&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function _u(f,e){if(cn("AsyncQueue",`${e}: ${f}`),xn(f))return new je(ie.UNAVAILABLE,`${e}: ${f}`);throw f}class ed{static emptySet(e){return new ed(e.comparator)}constructor(e){this.comparator=e?(i,c)=>e(i,c)||ci.comparator(i.key,c.key):(i,c)=>ci.comparator(i.key,c.key),this.keyedMap=ro(),this.sortedSet=new Ps(this.comparator)}has(e){return null!=this.keyedMap.get(e)}get(e){return this.keyedMap.get(e)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(e){const i=this.keyedMap.get(e);return i?this.sortedSet.indexOf(i):-1}get size(){return this.sortedSet.size}forEach(e){this.sortedSet.inorderTraversal((i,c)=>(e(i),!1))}add(e){const i=this.delete(e.key);return i.copy(i.keyedMap.insert(e.key,e),i.sortedSet.insert(e,null))}delete(e){const i=this.get(e);return i?this.copy(this.keyedMap.remove(e),this.sortedSet.remove(i)):this}isEqual(e){if(!(e instanceof ed)||this.size!==e.size)return!1;const i=this.sortedSet.getIterator(),c=e.sortedSet.getIterator();for(;i.hasNext();){const g=i.getNext().key,A=c.getNext().key;if(!g.isEqual(A))return!1}return!0}toString(){const e=[];return this.forEach(i=>
1{e.push(i.toString())}),0===e.length?"DocumentSet ()":"DocumentSet (\n "+e.join(" \n")+"\n)"}copy(e,i){const c=new ed;return c.comparator=this.comparator,c.keyedMap=e,c.sortedSet=i,c}}class Uc{constructor(){this.fa=new Ps(ci.comparator)}track(e){const i=e.doc.key,c=this.fa.get(i);c?0!==e.type&&3===c.type?this.fa=this.fa.insert(i,e):3===e.type&&1!==c.type?this.fa=this.fa.insert(i,{type:c.type,doc:e.doc}):2===e.type&&2===c.type?this.fa=this.fa.insert(i,{type:2,doc:e.doc}):2===e.type&&0===c.type?this.fa=this.fa.insert(i,{type:0,doc:e.doc}):1===e.type&&0===c.type?this.fa=this.fa.remove(i):1===e.type&&2===c.type?this.fa=this.fa.insert(i,{type:1,doc:c.doc}):0===e.type&&1===c.type?this.fa=this.fa.insert(i,{type:2,doc:e.doc}):Te(63341,{At:e,ga:c}):this.fa=this.fa.insert(i,e)}pa(){const e=[];return this.fa.inorderTraversal((i,c)=>{e.push(c)}),e}}class jc{constructor(e,i,c,g,A,U,se,Se,ut){this.query=e,this.docs=i,this.oldDocs=c,this.docChanges=g,this.mutatedKeys=A,this.fromCache=U,this.syncStateChanged=se,this.excludesMetadataChanges=Se,this.hasCachedResults=ut}static fromInitialDocuments(e,i,c,g,A){const U=[];return i.forEach(se=>{U.push({type:0,doc:se})}),new jc(e,i,ed.emptySet(i),U,c,g,!0,!1,A)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(e){if(!(this.fromCache===e.fromCache&&this.hasCachedResults===e.hasCachedResults&&this.syncStateChanged===e.syncStateChanged&&this.mutatedKeys.isEqual(e.mutatedKeys)&&pr(this.query,e.query)&&this.docs.isEqual(e.docs)&&this.oldDocs.isEqual(e.oldDocs)))return!1;const i=this.docChanges,c=e.docChanges;if(i.length!==c.length)return!1;for(let g=0;g<i.length;g++)if(i[g].type!==c[g].type||!i[g].doc.isEqual(c[g].doc))return!1;return!0}}class vf{constructor(){this.ya=void 0,this.wa=[]}Sa(){return this.wa.some(e=>e.ba())}}class Nu{constructor(){this.queries=sh(),this.onlineState="Unknown",this.Da=new Set}terminate(){!function(i,c){const g=Ie(i),A=g.queries;g.queries=sh(),A.forEach((U,se)=>{for(const Se of se.wa)Se.onError(c)})}(this,new je(ie.ABORTED,"Firestore shutting down"))}}function sh(){return new rn(f=>io(f),pr)}function yf(f,e){return Qh.apply(this,arguments)}function Qh(){return(Qh=(0,o.A)(function*(f,e){const i=Ie(f);let c=3;const g=e.query;let A=i.queries.get(g);A?!A.Sa()&&e.ba()&&(c=2):(A=new vf,c=e.ba()?0:1);try{switch(c){case 0:A.ya=yield i.onListen(g,!0);break;case 1:A.ya=yield i.onListen(g,!1);break;case 2:yield i.onFirstRemoteStoreListen(g)}}catch(U){const se=_u(U,`Initialization of query '${So(e.query)}' failed`);return void e.onError(se)}i.queries.set(g,A),A.wa.push(e),e.va(i.onlineState),A.ya&&e.Ca(A.ya)&&iu(i)})).apply(this,arguments)}function bf(f,e){return kd.apply(this,arguments)}function kd(){return(kd=(0,o.A)(function*(f,e){const i=Ie(f),c=e.query;let g=3;const A=i.queries.get(c);if(A){const U=A.wa.indexOf(e);U>=0&&(A.wa.splice(U,1),0===A.wa.length?g=e.ba()?0:1:!A.Sa()&&e.ba()&&(g=2))}switch(g){case 0:return i.queries.delete(c),i.onUnlisten(c,!0);case 1:return i.queries.delete(c),i.onUnlisten(c,!1);case 2:return i.onLastRemoteStoreUnlisten(c);default:return}})).apply(this,arguments)}function gu(f,e){const i=Ie(f);let c=!1;for(const g of e){const U=i.queries.get(g.query);if(U){for(const se of U.wa)se.Ca(g)&&(c=!0);U.ya=g}}c&&iu(i)}function Wd(f,e,i){const c=Ie(f),g=c.queries.get(e);if(g)for(const A of g.wa)A.onError(i);c.queries.delete(e)}function iu(f){f.Da.forEach(e=>{e.next()})}var Fu,Gf;(Gf=Fu||(Fu={})).Fa="default",Gf.Cache="cache";class Ch{constructor(e,i,c){this.query=e,this.Ma=i,this.xa=!1,this.Oa=null,this.onlineState="Unknown",this.options=c||{}}Ca(e){if(!this.options.includeMetadataChanges){const c=[];for(const g of e.docChanges)3!==g.type&&c.push(g);e=new jc(e.query,e.docs,e.oldDocs,c,e.mutatedKeys,e.fromCache,e.syncStateChanged,!0,e.hasCachedResults)}let i=!1;return this.xa?this.Na(e)&&(this.Ma.next(e),i=!0):this.Ba(e,this.onlineState)&&(this.La(e),i=!0),this.Oa=e,i}onError(e){this.Ma.error(e)}va(e){this.onlineState=e;let i=!1;return this.Oa&&!this.xa&&this.Ba(this.Oa,e)&&(this.La(this.Oa),i=!0),i}Ba(e,i){return!e.fromCache||!this.ba()||(!this.options.ka||!("Offline"!==i))&&(!e.docs.isEmpty()||e.hasCachedResults||"Offline"===i)}Na(e){return e.docChanges.length>0||!!(e.syncStateChanged||this.Oa&&this.Oa.hasPendingWrites!==e.hasPendingWrites)&&!0===this.options.includeMetadataChanges}La(e){e=jc.fromInitialDocuments(e.query,e.docs,e.mutatedKeys,e.fromCache,e.hasCachedResults),this.xa=!0,this.Ma.next(e)}ba(){return this.options.source!==Fu.Cache}}class Mm{constructor(e,i){this.qa=e,this.byteLength=i}Qa(){return"metadata"in this.qa}}
1class Jm{constructor(e){this.serializer=e}Qs(e){return J(this.serializer,e)}$s(e){return e.metadata.exists?Jr(this.serializer,e.document,!1):ps.newNoDocument(this.Qs(e.metadata.name),this.Us(e.metadata.readTime))}Us(e){return va(e)}}class Ef{constructor(e,i){this.$a=e,this.serializer=i,this.Ua=[],this.Ka=[],this.collectionGroups=new Set,this.progress=Fp(e)}get queries(){return this.Ua}get documents(){return this.Ka}Wa(e){this.progress.bytesLoaded+=e.byteLength;let i=this.progress.documentsLoaded;if(e.qa.namedQuery)this.Ua.push(e.qa.namedQuery);else if(e.qa.documentMetadata){this.Ka.push({metadata:e.qa.documentMetadata}),e.qa.documentMetadata.exists||++i;const c=ii.fromString(e.qa.documentMetadata.name);this.collectionGroups.add(c.get(c.length-2))}else e.qa.document&&(this.Ka[this.Ka.length-1].document=e.qa.document,++i);return i!==this.progress.documentsLoaded?(this.progress.documentsLoaded=i,Object.assign({},this.progress)):null}Ga(e){const i=new Map,c=new Jm(this.serializer);for(const g of e)if(g.metadata.queries){const A=c.Qs(g.metadata.name);for(const U of g.metadata.queries){const se=(i.get(U)||Hs()).add(A);i.set(U,se)}}return i}za(e){var i=this;return(0,o.A)(function*(){const c=yield function Em(f,e,i,c){return Ou.apply(this,arguments)}
1(e,new Jm(i.serializer),i.Ka,i.$a.id),g=i.Ga(i.documents);for(const A of i.Ua)yield Dg(e,A,g.get(A.name));return i.progress.taskState="Success",{progress:i.progress,ja:i.collectionGroups,Ja:c}})()}}function Fp(f){return{taskState:"Running",documentsLoaded:0,bytesLoaded:0,totalDocuments:f.totalDocuments,totalBytes:f.totalBytes}}class T_{constructor(e){this.key=e}}class Zm{constructor(e){this.key=e}}class Kf{constructor(e,i){this.query=e,this.Ha=i,this.Ya=null,this.hasCachedResults=!1,this.current=!1,this.Za=Hs(),this.mutatedKeys=Hs(),this.Xa=ao(e),this.eu=new ed(this.Xa)}get tu(){return this.Ha}nu(e,i){const c=i?i.ru:new Uc,g=i?i.eu:this.eu;let A=i?i.mutatedKeys:this.mutatedKeys,U=g,se=!1;const Se="F"===this.query.limitType&&g.size===this.query.limit?g.last():null,ut="L"===this.query.limitType&&g.size===this.query.limit?g.first():null;if(e.inorderTraversal((Qt,vn)=>{const Kn=g.get(Qt),ji=Bl(this.query,vn)?vn:null,hr=!!Kn&&this.mutatedKeys.has(Kn.key),kr=!!ji&&(ji.hasLocalMutations||this.mutatedKeys.has(ji.key)&&ji.hasCommittedMutations);let Sr=!1;Kn&&ji?Kn.data.isEqual(ji.data)?hr!==kr&&(c.track({type:3,doc:ji}),Sr=!0):this.iu(Kn,ji)||(c.track({type:2,doc:ji}),Sr=!0,(Se&&this.Xa(ji,Se)>0||ut&&this.Xa(ji,ut)<0)&&(se=!0)):!Kn&&ji?(c.track({type:0,doc:ji}),Sr=!0):Kn&&!ji&&(c.track({type:1,doc:Kn}),Sr=!0,(Se||ut)&&(se=!0)),Sr&&(ji?(U=U.add(ji),A=kr?A.add(Qt):A.delete(Qt)):(U=U.delete(Qt),A=A.delete(Qt)))}),null!==this.query.limit)for(;U.size>this.query.limit;){const Qt="F"===this.query.limitType?U.last():U.first();U=U.delete(Qt.key),A=A.delete(Qt.key),c.track({type:1,doc:Qt})}return{eu:U,ru:c,Ds:se,mutatedKeys:A}}iu(e,i){return e.hasLocalMutations&&i.hasCommittedMutations&&!i.hasLocalMutations}applyChanges(e,i,c,g){const A=this.eu;this.eu=e.eu,this.mutatedKeys=e.mutatedKeys;const U=e.ru.pa();U.sort((Qt,vn)=>function(ji,hr){const kr=Sr=>{switch(Sr){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return Te(20277,{At:Sr})}};return kr(ji)-kr(hr)}(Qt.type,vn.type)||this.Xa(Qt.doc,vn.doc)),this.su(c),g=null!=g&&g;const se=i&&!g?this.ou():[],Se=0===this.Za.size&&this.current&&!g?1:0,ut=Se!==this.Ya;return this.Ya=Se,0!==U.length||ut?{snapshot:new jc(this.query,e.eu,A,U,e.mutatedKeys,0===Se,ut,!1,!!c&&c.resumeToken.approximateByteSize()>0),_u:se}:{_u:se}}va(e){return this.current&&"Offline"===e?(this.current=!1,this.applyChanges({eu:this.eu,ru:new Uc,mutatedKeys:this.mutatedKeys,Ds:!1},!1)):{_u:[]}}au(e){return!this.Ha.has(e)&&!!this.eu.has(e)&&!this.eu.get(e).hasLocalMutations}su(e){e&&(e.addedDocuments.forEach(i=>this.Ha=this.Ha.add(i)),e.modifiedDocuments.forEach(i=>{}),e.removedDocuments.forEach(i=>this.Ha=this.Ha.delete(i)),this.current=e.current)}ou(){if(!this.current)return[];const e=this.Za;this.Za=Hs(),this.eu.forEach(c=>{this.au(c.key)&&(this.Za=this.Za.add(c.key))});const i=[];return e.forEach(c=>{this.Za.has(c)||i.push(new Zm(c))}
1),this.Za.forEach(c=>{e.has(c)||i.push(new T_(c))}),i}uu(e){this.Ha=e.qs,this.Za=Hs();const i=this.nu(e.documents);return this.applyChanges(i,!0)}cu(){return jc.fromInitialDocuments(this.query,this.eu,this.mutatedKeys,0===this.Ya,this.hasCachedResults)}}const Xh="SyncEngine";class qm{constructor(e,i,c){this.query=e,this.targetId=i,this.view=c}}class Jh{constructor(e){this.key=e,this.lu=!1}}class Qf{constructor(e,i,c,g,A,U){this.localStore=e,this.remoteStore=i,this.eventManager=c,this.sharedClientState=g,this.currentUser=A,this.maxConcurrentLimboResolutions=U,this.hu={},this.Pu=new rn(se=>io(se),pr),this.Tu=new Map,this.Iu=new Set,this.du=new Ps(ci.comparator),this.Eu=new Map,this.Au=new wp,this.Ru={},this.Vu=new Map,this.mu=K.ur(),this.onlineState="Unknown",this.fu=void 0}get isPrimaryClient(){return!0===this.fu}}function Bp(f,e){return td.apply(this,arguments)}function td(){return(td=(0,o.A)(function*(f,e,i=!0){const c=qf(f);let g;const A=c.Pu.get(e);return A?(c.sharedClientState.addLocalQueryTarget(A.targetId),g=A.view.cu()):g=yield Zh(c,e,i,!0),g})).apply(this,arguments)}function Ah(f,e){return Df.apply(this,arguments)}function Df(){return(Df=(0,o.A)(function*(f,e){const i=qf(f);yield Zh(i,e,!0,!1)})).apply(this,arguments)}function Zh(f,e,i,c){return yo.apply(this,arguments)}function yo(){return(yo=(0,o.A)(function*(f,e,i,c){const g=yield bm(f.localStore,Ar(e)),A=g.targetId,U=f.sharedClientState.addLocalQueryTarget(A,i);let se;return c&&(se=yield Im(f,e,A,"current"===U,g.resumeToken)),f.isPrimaryClient&&i&&Op(f.remoteStore,g),se})).apply(this,arguments)}function Im(f,e,i,c,g){return cc.apply(this,arguments)}function cc(){return cc=(0,o.A)(function*(f,e,i,c,g){f.gu=(vn,Kn,ji)=>{return(hr=(0,o.A)(function*(Sr,hs,zs,Vs){let $o=hs.view.nu(zs);$o.Ds&&($o=yield nu(Sr.localStore,hs.query,!1).then(({documents:Xn})=>hs.view.nu(Xn,$o)));const qa=Vs&&Vs.targetChanges.get(hs.targetId),aa=Vs&&null!=Vs.targetMismatches.get(hs.targetId),Ci=hs.view.applyChanges($o,Sr.isPrimaryClient,qa,aa);return Mv(Sr,hs.targetId,Ci._u),Ci.snapshot}),function kr(Sr,hs,zs,Vs){return hr.apply(this,arguments)})(f,vn,Kn,ji);var hr};const A=yield nu(f.localStore,e,!0),U=new Kf(e,A.qs),se=U.nu(A.documents),Se=Fr.createSynthesizedTargetChangeForCurrentChange(i,c&&"Offline"!==f.onlineState,g),ut=U.applyChanges(se,f.isPrimaryClient,Se);Mv(f,i,ut._u);const Qt=new qm(e,i,U);return f.Pu.set(e,Qt),f.Tu.has(i)?f.Tu.get(i).push(e):f.Tu.set(i,[e]),ut.snapshot}),cc.apply(this,arguments)}function ec(f,e,i){return Vp.apply(this,arguments)}function Vp(){return(Vp=(0,o.A)(function*(f,e,i){const c=Ie(f),g=c.Pu.get(e),A=c.Tu.get(g.targetId);if(A.length>1)return c.Tu.set(g.targetId,A.filter(U=>!pr(U,e))),void c.Pu.delete(e);c.isPrimaryClient?(c.sharedClientState.removeLocalQueryTarget(g.targetId),c.sharedClientState.isActiveQueryTarget(g.targetId)||(yield Ud(c.localStore,g.targetId,!1).then(()=>{c.sharedClientState.clearQueryState(g.targetId),i&&zf(c.remoteStore,g.targetId),Sh(c,g.targetId)}).catch(De))):(Sh(c,g.targetId),yield Ud(c.localStore,g.targetId,!0))})).apply(this,arguments)}function kh(f,e){return Up.apply(this,arguments)}function Up(){return(Up=(0,o.A)(function*(f,e){const i=Ie(f),c=i.Pu.get(e),g=i.Tu.get(c.targetId);i.isPrimaryClient&&1===g.length&&(i.sharedClientState.removeLocalQueryTarget(c.targetId),zf(i.remoteStore,c.targetId))})).apply(this,arguments)}function wf(){return(wf=(0,o.A)(function*(f,e,i){const c=Am(f);try{const g=yield function(U,se){const Se=Ie(U),ut=we.now(),Qt=se.reduce((ji,hr)=>ji.add(hr.key),Hs());let vn,Kn;return Se.persistence.runTransaction("Locally write mutations","readwrite",ji=>{let hr=ga(),kr=Hs();return Se.Os.getEntries(ji,Qt).next(Sr=>{hr=Sr,hr.forEach((hs,zs)=>{zs.isValidDocument()||(kr=kr.add(hs))})}).next(()=>Se.localDocuments.getOverlayedDocuments(ji,hr)).next(Sr=>{vn=Sr;const hs=[];for(const zs of se){const Vs=La(zs,vn.get(zs.key).overlayedDocument);null!=Vs&&hs.push(new es(zs.key,Vs,hc(Vs.value.mapValue),xr.exists(!0)))}return Se.mutationQueue.addMutationBatch(ji,ut,hs,se)}).next(Sr=>{Kn=Sr;const hs=Sr.applyToLocalDocumentSet(vn,kr);return Se.documentOverlayCache.saveOverlays(ji,Sr.batchId,hs)})}).then(()=>({batchId:Kn.batchId,changes:Kl(vn)}))}(c.localStore,e);
1c.sharedClientState.addPendingMutation(g.batchId),function(U,se,Se){let ut=U.Ru[U.currentUser.toKey()];ut||(ut=new Ps(Tn)),ut=ut.insert(se,Se),U.Ru[U.currentUser.toKey()]=ut}(c,g.batchId,i),yield Bu(c,g.changes),yield Bi(c.remoteStore)}catch(g){const A=_u(g,"Failed to persist write");i.reject(A)}})).apply(this,arguments)}function Cg(f,e){return I_.apply(this,arguments)}function I_(){return(I_=(0,o.A)(function*(f,e){const i=Ie(f);try{const c=yield function ym(f,e){const i=Ie(f),c=e.snapshotVersion;let g=i.Fs;return i.persistence.runTransaction("Apply remote event","readwrite-primary",A=>{const U=i.Os.newChangeBuffer({trackRemovals:!0});g=i.Fs;const se=[];e.targetChanges.forEach((Qt,vn)=>{const Kn=g.get(vn);if(!Kn)return;se.push(i.hi.removeMatchingKeys(A,Qt.removedDocuments,vn).next(()=>i.hi.addMatchingKeys(A,Qt.addedDocuments,vn)));let ji=Kn.withSequenceNumber(A.currentSequenceNumber);var kr,Sr,hs;null!==e.targetMismatches.get(vn)?ji=ji.withResumeToken(Mo.EMPTY_BYTE_STRING,_e.min()).withLastLimboFreeSnapshotVersion(_e.min()):Qt.resumeToken.approximateByteSize()>0&&(ji=ji.withResumeToken(Qt.resumeToken,c)),g=g.insert(vn,ji),Sr=ji,hs=Qt,(0===(kr=Kn).resumeToken.approximateByteSize()||Sr.snapshotVersion.toMicroseconds()-kr.snapshotVersion.toMicroseconds()>=3e8||hs.addedDocuments.size+hs.modifiedDocuments.size+hs.removedDocuments.size>0)&&se.push(i.hi.updateTargetData(A,ji))});let Se=ga(),ut=Hs();if(e.documentUpdates.forEach(Qt=>{e.resolvedLimboDocuments.has(Qt)&&se.push(i.persistence.referenceDelegate.updateLimboDocument(A,Qt))}),se.push(Eg(A,U,e.documentUpdates).next(Qt=>{Se=Qt.Ls,ut=Qt.ks})),!c.isEqual(_e.min())){const Qt=i.hi.getLastRemoteSnapshotVersion(A).next(vn=>i.hi.setTargetsMetadata(A,A.currentSequenceNumber,c));se.push(Qt)}return et.waitFor(se).next(()=>U.apply(A)).next(()=>i.localDocuments.getLocalViewOfDocuments(A,Se,ut)).next(()=>Se)}).then(A=>(i.Fs=g,A))}(i.localStore,e);
1e.targetChanges.forEach((g,A)=>{const U=i.Eu.get(A);U&&(yt(g.addedDocuments.size+g.modifiedDocuments.size+g.removedDocuments.size<=1,22616),g.addedDocuments.size>0?U.lu=!0:g.modifiedDocuments.size>0?yt(U.lu,14607):g.removedDocuments.size>0&&(yt(U.lu,42227),U.lu=!1))}),yield Bu(i,c,e)}catch(c){yield De(c)}})).apply(this,arguments)}function oh(f,e,i){const c=Ie(f);if(c.isPrimaryClient&&0===i||!c.isPrimaryClient&&1===i){const g=[];c.Pu.forEach((A,U)=>{const se=U.view.va(e);se.snapshot&&g.push(se.snapshot)}),function(U,se){const Se=Ie(U);Se.onlineState=se;let ut=!1;Se.queries.forEach((Qt,vn)=>{for(const Kn of vn.wa)Kn.va(se)&&(ut=!0)}),ut&&iu(Se)}(c.eventManager,e),g.length&&c.hu.J_(g),c.onlineState=e,c.isPrimaryClient&&c.sharedClientState.setOnlineState(e)}}function Ag(f,e,i){return bd.apply(this,arguments)}function bd(){return(bd=(0,o.A)(function*(f,e,i){const c=Ie(f);c.sharedClientState.updateQueryState(e,"rejected",i);const g=c.Eu.get(e),A=g&&g.key;if(A){let U=new Ps(ci.comparator);U=U.insert(A,ps.newNoDocument(A,_e.min()));const se=Hs().add(A),Se=new er(_e.min(),new Map,new Ps(Tn),U,se);yield Cg(c,Se),c.du=c.du.remove(A),c.Eu.delete(e),Mf(c)}else yield Ud(c.localStore,e,!1).then(()=>Sh(c,e,i)).catch(De)})).apply(this,arguments)}function Tv(f,e){return qh.apply(this,arguments)}function qh(){return(qh=(0,o.A)(function*(f,e){const i=Ie(f),c=e.batch.batchId;try{const g=yield function vm(f,e){const i=Ie(f);return i.persistence.runTransaction("Acknowledge batch","readwrite-primary",c=>{const g=e.batch.keys(),A=i.Os.newChangeBuffer({trackRemovals:!0});return function(se,Se,ut,Qt){const vn=ut.batch,Kn=vn.keys();let ji=et.resolve();return Kn.forEach(hr=>{ji=ji.next(()=>Qt.getEntry(Se,hr)).next(kr=>{const Sr=ut.docVersions.get(hr);yt(null!==Sr,48541),kr.version.compareTo(Sr)<0&&(vn.applyToRemoteDocument(kr,ut),kr.isValidDocument()&&(kr.setReadTime(ut.commitVersion),Qt.addEntry(kr)))})}),ji.next(()=>se.mutationQueue.removeMutationBatch(Se,vn))}(i,c,e,A).next(()=>A.apply(c)).next(()=>i.mutationQueue.performConsistencyCheck(c)).next(()=>i.documentOverlayCache.removeOverlaysForBatchId(c,g,e.batch.batchId)).next(()=>i.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(c,function(se){let Se=Hs();for(let ut=0;ut<se.mutationResults.length;++ut)se.mutationResults[ut].transformResults.length>0&&(Se=Se.add(se.batch.mutations[ut].key));return Se}(e))).next(()=>i.localDocuments.getDocuments(c,g))})}(i.localStore,e);Tf(i,c,null),C_(i,c),i.sharedClientState.updateMutationState(c,"acknowledged"),yield Bu(i,g)}catch(g){yield De(g)}})).apply(this,arguments)}function fl(f,e,i){return tc.apply(this,arguments)}function tc(){return(tc=(0,o.A)(function*(f,e,i){const c=Ie(f);try{const g=yield function(U,se){const Se=Ie(U);return Se.persistence.runTransaction("Reject batch","readwrite-primary",ut=>{let Qt;return Se.mutationQueue.lookupMutationBatch(ut,se).next(vn=>(yt(null!==vn,37113),Qt=vn.keys(),Se.mutationQueue.removeMutationBatch(ut,vn))).next(()=>Se.mutationQueue.performConsistencyCheck(ut)).next(()=>Se.documentOverlayCache.removeOverlaysForBatchId(ut,Qt,se)).next(()=>Se.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(ut,Qt)).next(()=>Se.localDocuments.getDocuments(ut,Qt))})}(c.localStore,e);Tf(c,e,i),C_(c,e),c.sharedClientState.updateMutationState(e,"rejected",i),yield Bu(c,g)}catch(g){yield De(g)}})).apply(this,arguments)}function Xf(){return(Xf=(0,o.A)(function*(f,e){const i=Ie(f);Lu(i.remoteStore)||nt(Xh,"The network is disabled. The task returned by 'awaitPendingWrites()' will not complete until the network is enabled.");try{const c=yield function(U){const se=Ie(U);return se.persistence.runTransaction("Get highest unacknowledged batch id","readonly",Se=>se.mutationQueue.getHighestUnacknowledgedBatchId(Se))}(i.localStore);if(-1===c)return void e.resolve();const g=i.Vu.get(c)||[];g.push(e),i.Vu.set(c,g)}catch(c){const g=_u(c,"Initialization of waitForPendingWrites() operation failed");e.reject(g)}})).apply(this,arguments)}function C_(f,e){(f.Vu.get(e)||[]).forEach(i=>{i.resolve()}),f.Vu.delete(e)}function Tf(f,e,i){const c=Ie(f);let g=c.Ru[c.currentUser.toKey()];if(g){const A=g.get(e);A&&(i?A.reject(i):A.resolve(),g=g.remove(e)),c.Ru[c.currentUser.toKey()]=g}}
1function Sh(f,e,i=null){f.sharedClientState.removeLocalQueryTarget(e);for(const c of f.Tu.get(e))f.Pu.delete(c),i&&f.hu.pu(c,i);f.Tu.delete(e),f.isPrimaryClient&&f.Au.zr(e).forEach(c=>{f.Au.containsKey(c)||jp(f,c)})}function jp(f,e){f.Iu.delete(e.path.canonicalString());const i=f.du.get(e);null!==i&&(zf(f.remoteStore,i),f.du=f.du.remove(e),f.Eu.delete(i),Mf(f))}function Mv(f,e,i){for(const c of i)c instanceof T_?(f.Au.addReference(c.key,e),Iv(f,c)):c instanceof Zm?(nt(Xh,"Document no longer in limbo: "+c.key),f.Au.removeReference(c.key,e),f.Au.containsKey(c.key)||jp(f,c.key)):Te(19791,{yu:c})}function Iv(f,e){const i=e.key,c=i.path.canonicalString();f.du.get(i)||f.Iu.has(c)||(nt(Xh,"New document in limbo: "+i),f.Iu.add(c),Mf(f))}function Mf(f){for(;f.Iu.size>0&&f.du.size<f.maxConcurrentLimboResolutions;){const e=f.Iu.values().next().value;f.Iu.delete(e);const i=new ci(ii.fromString(e)),c=f.mu.next();f.Eu.set(c,new Jh(i)),f.du=f.du.insert(i,c),Op(f.remoteStore,new $(Ar(Xt(i.path)),c,"TargetPurposeLimboResolution",Ai.ue))}}function Bu(f,e,i){return Cv.apply(this,arguments)}function Cv(){return Cv=(0,o.A)(function*(f,e,i){const c=Ie(f),g=[],A=[],U=[];var se;c.Pu.isEmpty()||(c.Pu.forEach((se,Se)=>{U.push(c.gu(Se,e,i).then(ut=>{var Qt;if((ut||i)&&c.isPrimaryClient){const vn=ut?!ut.fromCache:null===(Qt=i?.targetChanges.get(Se.targetId))||void 0===Qt?void 0:Qt.current;c.sharedClientState.updateQueryState(Se.targetId,vn?"current":"not-current")}if(ut){g.push(ut);const vn=Eh.Es(Se.targetId,ut);A.push(vn)}}))}),yield Promise.all(U),c.hu.J_(g),yield(se=(0,o.A)(function*(ut,Qt){const vn=Ie(ut);try{yield vn.persistence.runTransaction("notifyLocalViewChanges","readwrite",Kn=>et.forEach(Qt,ji=>et.forEach(ji.Is,hr=>vn.persistence.referenceDelegate.addReference(Kn,ji.targetId,hr)).next(()=>et.forEach(ji.ds,hr=>vn.persistence.referenceDelegate.removeReference(Kn,ji.targetId,hr)))))}catch(Kn){if(!xn(Kn))throw Kn;nt(Dh,"Failed to update sequence numbers: "+Kn)}for(const Kn of Qt){const ji=Kn.targetId;if(!Kn.fromCache){const hr=vn.Fs.get(ji),Sr=hr.withLastLimboFreeSnapshotVersion(hr.snapshotVersion);vn.Fs=vn.Fs.insert(ji,Sr)}}}),function Se(ut,Qt){return se.apply(this,arguments)})(c.localStore,A))}),Cv.apply(this,arguments)}function Av(f,e){return Jf.apply(this,arguments)}function Jf(){return(Jf=(0,o.A)(function*(f,e){const i=Ie(f);if(!i.currentUser.isEqual(e)){nt(Xh,"User change. New user:",e.toKey());const c=yield rh(i.localStore,e);i.currentUser=e,(A=i).Vu.forEach(se=>{se.forEach(Se=>{Se.reject(new je(ie.CANCELLED,"'waitForPendingWrites' promise is rejected due to a user change."))})}),A.Vu.clear(),i.sharedClientState.handleUserChange(e,c.removedBatchIds,c.addedBatchIds),yield Bu(i,c.Bs)}var A})).apply(this,arguments)}function Vu(f,e){const i=Ie(f),c=i.Eu.get(e);if(c&&c.lu)return Hs().add(c.key);{let g=Hs();const A=i.Tu.get(e);if(!A)return g;for(const U of A){const se=i.Pu.get(U);g=g.unionWith(se.view.tu)}return g}}function Cm(f,e){return tp.apply(this,arguments)}function tp(){return(tp=(0,o.A)(function*(f,e){const i=Ie(f),c=yield nu(i.localStore,e.query,!0),g=e.view.uu(c);return i.isPrimaryClient&&Mv(i,e.targetId,g._u),g})).apply(this,arguments)}function kg(f,e){return Zf.apply(this,arguments)}function Zf(){return(Zf=(0,o.A)(function*(f,e){const i=Ie(f);return Ec(i.localStore,e).then(c=>Bu(i,c))})).apply(this,arguments)}function np(f,e,i,c){return ip.apply(this,arguments)}function ip(){return(ip=(0,o.A)(function*(f,e,i,c){const g=Ie(f),A=yield function(se,Se){const ut=Ie(se),Qt=Ie(ut.mutationQueue);return ut.persistence.runTransaction("Lookup mutation documents","readonly",vn=>Qt.Xn(vn,Se).next(Kn=>Kn?ut.localDocuments.getDocuments(vn,Kn):et.resolve(null)))}(g.localStore,e);var Se;null!==A?("pending"===i?yield Bi(g.remoteStore):"acknowledged"===i||"rejected"===i?(Tf(g,e,c||null),C_(g,e),Se=e,Ie(Ie(g.localStore).mutationQueue).rr(Se)):Te(6720,"Unknown batchState",{wu:i}),yield Bu(g,A)):nt(Xh,"Cannot apply mutation batch with id: "+e)})).apply(this,arguments)}function Sd(){return(Sd=(0,o.A)(function*(f,e){const i=Ie(f);
1if(qf(i),Am(i),!0===e&&!0!==i.fu){const c=i.sharedClientState.getAllActiveQueryTargets(),g=yield Vo(i,c.toArray());i.fu=!0,yield ac(i.remoteStore,!0);for(const A of g)Op(i.remoteStore,A)}else if(!1===e&&!1!==i.fu){const c=[];let g=Promise.resolve();i.Tu.forEach((A,U)=>{i.sharedClientState.isLocalQueryTarget(U)?c.push(U):g=g.then(()=>(Sh(i,U),Ud(i.localStore,U,!0))),zf(i.remoteStore,U)}),yield g,yield Vo(i,c),function(U){const se=Ie(U);se.Eu.forEach((Se,ut)=>{zf(se.remoteStore,ut)}),se.Au.jr(),se.Eu=new Map,se.du=new Ps(ci.comparator)}(i),i.fu=!1,yield ac(i.remoteStore,!1)}})).apply(this,arguments)}function Vo(f,e,i){return sp.apply(this,arguments)}function sp(){return(sp=(0,o.A)(function*(f,e,i){const c=Ie(f),g=[],A=[];for(const U of e){let se;const Se=c.Tu.get(U);if(Se&&0!==Se.length){se=yield bm(c.localStore,Ar(Se[0]));for(const ut of Se){const Qt=c.Pu.get(ut),vn=yield Cm(c,Qt);vn.snapshot&&A.push(vn.snapshot)}}else{const ut=yield Ip(c.localStore,U);se=yield bm(c.localStore,ut),yield Im(c,Wc(ut),U,!1,se.resumeToken)}g.push(se)}return c.hu.J_(A),g})).apply(this,arguments)}function Wc(f){return Rt(f.path,f.collectionGroup,f.orderBy,f.filters,f.limit,"F",f.startAt,f.endAt)}function A_(f){return i=Ie(f).localStore,Ie(Ie(i).persistence).Ps();var i}function Sg(f,e,i,c){return oa.apply(this,arguments)}function oa(){return(oa=(0,o.A)(function*(f,e,i,c){const g=Ie(f);if(g.fu)return void nt(Xh,"Ignoring unexpected query state notification.");const A=g.Tu.get(e);if(A&&A.length>0)switch(i){case"current":case"not-current":{const U=yield Ec(g.localStore,xc(A[0])),se=er.createSynthesizedRemoteEventForCurrentChange(e,"current"===i,Mo.EMPTY_BYTE_STRING);yield Bu(g,U,se);break}case"rejected":yield Ud(g.localStore,e,!0),Sh(g,e,c);break;default:Te(64155,i)}})).apply(this,arguments)}function Wp(f,e,i){return Hp.apply(this,arguments)}function Hp(){return(Hp=(0,o.A)(function*(f,e,i){const c=qf(f);if(c.fu){for(const g of e){if(c.Tu.has(g)&&c.sharedClientState.isActiveQueryTarget(g)){nt(Xh,"Adding an already active target "+g);continue}const A=yield Ip(c.localStore,g),U=yield bm(c.localStore,A);yield Im(c,Wc(A),U.targetId,!1,U.resumeToken),Op(c.remoteStore,U)}for(const g of i)c.Tu.has(g)&&(yield Ud(c.localStore,g,!1).then(()=>{zf(c.remoteStore,g),Sh(c,g)}).catch(De))}})).apply(this,arguments)}function qf(f){const e=Ie(f);return e.remoteStore.remoteSyncer.applyRemoteEvent=Cg.bind(null,e),e.remoteStore.remoteSyncer.getRemoteKeysForTarget=Vu.bind(null,e),e.remoteStore.remoteSyncer.rejectListen=Ag.bind(null,e),e.hu.J_=gu.bind(null,e.eventManager),e.hu.pu=Wd.bind(null,e.eventManager),e}function Am(f){const e=Ie(f);return e.remoteStore.remoteSyncer.applySuccessfulWrite=Tv.bind(null,e),e.remoteStore.remoteSyncer.rejectFailedWrite=fl.bind(null,e),e}let Yp=(()=>{class f{constructor(){this.kind="memory",this.synchronizeTabs=!1}initialize(i){var c=this;return(0,o.A)(function*(){c.serializer=ff(i.databaseInfo.databaseId),c.sharedClientState=c.bu(i),c.persistence=c.Du(i),yield c.persistence.start(),c.localStore=c.vu(i),c.gcScheduler=c.Cu(i,c.localStore),c.indexBackfillerScheduler=c.Fu(i,c.localStore)})()}Cu(i,c){return null}Fu(i,c){return null}vu(i){return wh(this.persistence,new pu,i.initialUser,this.serializer)}Du(i){return new Yh(lf.Vi,this.serializer)}bu(i){return new Ap}terminate(){var i=this;return(0,o.A)(function*(){var c,g;null===(c=i.gcScheduler)||void 0===c||c.stop(),null===(g=i.indexBackfillerScheduler)||void 0===g||g.stop(),i.sharedClientState.shutdown(),yield i.persistence.shutdown()})()}}return f.provider={build:()=>new f},f})();class k_ extends Yp{constructor(e){super(),this.cacheSizeBytes=e}Cu(e,i){return yt(this.persistence.referenceDelegate instanceof qu,46915),new sr(this.persistence.referenceDelegate.garbageCollector,e.asyncQueue,i)}Du(e){const i=void 0!==this.cacheSizeBytes?Hl.withCacheSize(this.cacheSizeBytes):Hl.DEFAULT;return new Yh(c=>qu.Vi(c,i),this.serializer)}}class op extends Yp{constructor(e,i,c){super(),this.Mu=e,this.cacheSizeBytes=i,this.forceOwnership=c,this.kind="persistent",this.synchronizeTabs=!1}initialize(e){var i=()=>super.initialize,c=this;return(0,o.A)(function*(){yield i().call(c,e),yield c.Mu.initialize(c,e),yield Am(c.Mu.syncEngine),yield Bi(c.Mu.remoteStore),yield c.persistence.ji(()=>(c.gcScheduler&&!c.gcScheduler.started&&c.gcScheduler.start(),c.indexBackfillerScheduler&&!c.indexBackfillerScheduler.started&&c.indexBackfillerScheduler.start(),Promise.resolve()))})()}vu(e){return wh(this.persistence,new pu,e.initialUser,this.serializer)}Cu(e,i){return new sr(this.persistence.referenceDelegate.garbageCollector,e.asyncQueue,i)}Fu(e,i){const c=new Di(i,this.persistence);return new In(e.asyncQueue,c)}Du(e){const i=nh(e.databaseInfo.databaseId,e.databaseInfo.persistenceKey),c=void 0!==this.cacheSizeBytes?Hl.withCacheSize(this.cacheSizeBytes):Hl.DEFAULT;return new bh(this.synchronizeTabs,i,e.clientId,c,e.asyncQueue,E_(),Kh(),this.serializer,this.sharedCl
1ientState,!!this.forceOwnership)}bu(e){return new Ap}}class km extends op{constructor(e,i){super(e,i,!1),this.Mu=e,this.cacheSizeBytes=i,this.synchronizeTabs=!0}initialize(e){var i=()=>super.initialize,c=this;return(0,o.A)(function*(){yield i().call(c,e);const g=c.Mu.syncEngine;c.sharedClientState instanceof uf&&(c.sharedClientState.syncEngine={Do:np.bind(null,g),vo:Sg.bind(null,g),Co:Wp.bind(null,g),Ps:A_.bind(null,g),bo:kg.bind(null,g)},yield c.sharedClientState.start()),yield c.persistence.ji(function(){var A=(0,o.A)(function*(U){yield function rp(f,e){return Sd.apply(this,arguments)}(c.Mu.syncEngine,U),c.gcScheduler&&(U&&!c.gcScheduler.started?c.gcScheduler.start():U||c.gcScheduler.stop()),c.indexBackfillerScheduler&&(U&&!c.indexBackfillerScheduler.started?c.indexBackfillerScheduler.start():U||c.indexBackfillerScheduler.stop())});return function(U){return A.apply(this,arguments)}}())})()}bu(e){const i=E_();if(!uf.C(i))throw new je(ie.UNIMPLEMENTED,"IndexedDB persistence is only available on platforms that support LocalStorage.");const c=nh(e.databaseInfo.databaseId,e.databaseInfo.persistenceKey);return new uf(i,e.asyncQueue,c,e.clientId,e.initialUser)}}let Sm=(()=>{class f{initialize(i,c){var g=this;return(0,o.A)(function*(){g.localStore||(g.localStore=i.localStore,g.sharedCl
1ientState=i.sharedClientState,g.datastore=g.createDatastore(c),g.remoteStore=g.createRemoteStore(c),g.eventManager=g.createEventManager(c),g.syncEngine=g.createSyncEngine(c,!i.synchronizeTabs),g.sharedClientState.onlineStateHandler=A=>oh(g.syncEngine,A,1),g.remoteStore.remoteSyncer.handleCredentialChange=Av.bind(null,g.syncEngine),yield ac(g.remoteStore,g.syncEngine.isPrimaryClient))})()}createEventManager(i){return new Nu}createDatastore(i){const c=ff(i.databaseInfo.databaseId),g=new b_(i.databaseInfo);return new Pp(i.authCredentials,i.appCheckCredentials,g,c)}createRemoteStore(i){return g=this.localStore,A=this.datastore,U=i.asyncQueue,se=c=>oh(this.syncEngine,c,0),Se=Tg.C()?new Tg:new kp,new wv(g,A,U,se,Se);var g,A,U,se,Se}createSyncEngine(i,c){return function(A,U,se,Se,ut,Qt,vn){const Kn=new Qf(A,U,se,Se,ut,Qt);return vn&&(Kn.fu=!0),Kn}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,i.initialUser,i.maxConcurrentLimboResolutions,c)}terminate(){var i=this;return(0,o.A)(function*(){var c,g,A;yield(A=(0,o.A)(function*(se){const Se=Ie(se);nt(pf,"RemoteStore shutting down."),Se.Ia.add(5),yield yd(Se),Se.Ea.shutdown(),Se.Aa.set("Unknown")}),function U(se){return A.apply(this,arguments)})(i.remoteStore),null===(c=i.datastore)||void 0===c||c.terminate(),null===(g=i.eventManager)||void 0===g||g.terminate()})()}}return f.provider={build:()=>new f},f})();function S_(f,e=10240){let i=0;return{read:()=>(0,o.A)(function*(){if(i<f.byteLength){const c={value:f.slice(i,i+e),done:!1};return i+=e,c}return{done:!0}})(),cancel:()=>(0,o.A)(function*(){})(),releaseLock(){},closed:Promise.resolve()}}class zp{constructor(e){this.observer=e,this.muted=!1}next(e){this.muted||this.observer.next&&this.xu(this.observer.next,e)}error(e){this.muted||(this.observer.error?this.xu(this.observer.error,e):cn("Uncaught Error in snapshot listener:",e.toString()))}Ou(){this.muted=!0}xu(e,i){setTimeout(()=>{this.muted||e(i)},0)}}class em{constructor(e,i){this.Nu=e,this.serializer=i,this.metadata=new rt,this.buffer=new Uint8Array,this.Bu=new TextDecoder("utf-8"),this.Lu().then(c=>{c&&c.Qa()?this.metadata.resolve(c.qa.metadata):this.metadata.reject(new Error(`The first element of the bundle is not a metadata, it is\n ${JSON.stringify(c?.qa)}`))},c=>this.metadata.reject(c))}close(){return this.Nu.cancel()}getMetadata(){var e=this;return(0,o.A)(function*(){return e.metadata.promise})()}Su(){var e=this;return(0,o.A)(function*(){return yield e.getMetadata(),e.Lu()})()}Lu(){var e=this;return(0,o.A)(function*(){const i=yield e.ku();if(null===i)return null;const c=e.Bu.decode(i),g=Number(c);isNaN(g)&&e.qu(`length string (${c}) is not valid number`);const A=yield e.Qu(g);return new Mm(JSON.parse(A),i.length+g)})()}$u(){return this.buffer.findIndex(e=>123===e)}ku(){var e=this;return(0,o.A)(function*(){for(;e.$u()<0&&!(yield e.Uu()););if(0===e.buffer.length)return null;const i=e.$u();i<0&&e.qu("Reached the end of bundle when a length string is expected.");const c=e.buffer.slice(0,i);return e.buffer=e.buffer.slice(i),c})()}Qu(e){var i=this;return(0,o.A)(function*(){for(;i.buffer.length<e;)(yield i.Uu())&&i.qu("Reached the end of bundle when more is expected.");const c=i.Bu.decode(i.buffer.slice(0,e));return i.buffer=i.buffer.slice(e),c})()}qu(e){throw this.Nu.cancel(),new Error(`Invalid bundle format: ${e}`)}Uu(){var e=this;return(0,o.A)(function*(){const i=yield e.Nu.read();if(!i.done){const c=new Uint8Array(e.buffer.length+i.value.length);c.set(e.buffer),c.set(i.value,e.buffer.length),e.buffer=c}return i.done})()}}class Pg{constructor(e){this.datastore=e,this.readVersions=new Map,this.mutations=[],this.committed=!1,this.lastTransactionError=null,this.writtenDocs=new Set}lookup(e){var i=this;return(0,o.A)(function*(){if(i.ensureCommitNotCalled(),i.mutations.length>0)throw i.lastTransactionError=new je(ie.INVALID_ARGUMENT,"Firestore transactions require all reads to be executed before all writes."),i.lastTransactionError;const c=yield(g=(0,o.A)(function*(U,se){const Se=Ie(U),ut={documents:se.map(ji=>P(Se.serializer,ji))},Qt=yield Se.Jo("BatchGetDocuments",Se.serializer.databaseId,ii.emptyPath(),ut,se.length),vn=new Map;Qt.forEach(ji=>{const hr=function ws(f,e){return"found"in e?function(c,g){yt(!!g.found,43571);const A=J(c,g.found.name),U=va(g.found.updateTime),se=g.found.createTime?va(g.found.createTime):_e.min(),Se=new da({mapValue:{fields:g.found.fields}});return ps.newFoundDocument(A,U,se,Se)}(f,e):"missing"in e?function(c,g){yt(!!g.missing,3894),yt(!!g.readTime,22933);const A=J(c,g.missing),U=va(g.readTime);return ps.newNoDocument(A,U)}(f,e):Te(7234,{result:e})}(Se.serializer,ji);vn.set(hr.key.toString(),hr)});const Kn=[];return se.forEach(ji=>{const hr=vn.get(ji.toString());yt(!!hr,55234,{key:ji}),Kn.push(hr)}),Kn}),function A(U,se){return g.apply(this,arguments)})(i.datastore,e);var g;
1return c.forEach(g=>i.recordVersion(g)),c})()}set(e,i){this.write(i.toMutation(e,this.precondition(e))),this.writtenDocs.add(e.toString())}update(e,i){try{this.write(i.toMutation(e,this.preconditionForUpdate(e)))}catch(c){this.lastTransactionError=c}this.writtenDocs.add(e.toString())}delete(e){this.write(new Ia(e,this.precondition(e))),this.writtenDocs.add(e.toString())}commit(){var e=this;return(0,o.A)(function*(){if(e.ensureCommitNotCalled(),e.lastTransactionError)throw e.lastTransactionError;const i=e.readVersions;var c;e.mutations.forEach(c=>{i.delete(c.key.toString())}),i.forEach((c,g)=>{const A=ci.fromPath(g);e.mutations.push(new Ul(A,e.precondition(A)))}),yield(c=(0,o.A)(function*(A,U){const se=Ie(A),Se={writes:U.map(ut=>Na(se.serializer,ut))};yield se.Wo("Commit",se.serializer.databaseId,ii.emptyPath(),Se)}),function g(A,U){return c.apply(this,arguments)})(e.datastore,e.mutations),e.committed=!0})()}recordVersion(e){let i;if(e.isFoundDocument())i=e.version;else{if(!e.isNoDocument())throw Te(50498,{Wu:e.constructor.name});i=_e.min()}const c=this.readVersions.get(e.key.toString());if(c){if(!i.isEqual(c))throw new je(ie.ABORTED,"Document version changed between two reads.")}else this.readVersions.set(e.key.toString(),i)}precondition(e){const i=this.readVersions.get(e.toString());return!this.writtenDocs.has(e.toString())&&i?i.isEqual(_e.min())?xr.exists(!1):xr.updateTime(i):xr.none()}preconditionForUpdate(e){const i=this.readVersions.get(e.toString());if(!this.writtenDocs.has(e.toString())&&i){if(i.isEqual(_e.min()))throw new je(ie.INVALID_ARGUMENT,"Can't update a document that doesn't exist.");return xr.updateTime(i)}return xr.exists(!0)}write(e){this.ensureCommitNotCalled(),this.mutations.push(e)}ensureCommitNotCalled(){}}class Og{constructor(e,i,c,g,A){this.asyncQueue=e,this.datastore=i,this.options=c,this.updateFunction=g,this.deferred=A,this.Gu=c.maxAttempts,this.F_=new D_(this.asyncQueue,"transaction_retry")}zu(){this.Gu-=1,this.ju()}ju(){var e=this;this.F_.g_((0,o.A)(function*(){const i=new Pg(e.datastore),c=e.Ju(i);c&&c.then(g=>{e.asyncQueue.enqueueAndForget(()=>i.commit().then(()=>{e.deferred.resolve(g)}).catch(A=>{e.Hu(A)}))}).catch(g=>{e.Hu(g)})}))}Ju(e){try{const i=this.updateFunction(e);return!_r(i)&&i.catch&&i.then?i:(this.deferred.reject(Error("Transaction callback must return a Promise")),null)}catch(i){return this.deferred.reject(i),null}}Hu(e){this.Gu>0&&this.Yu(e)?(this.Gu-=1,this.asyncQueue.enqueueAndForget(()=>(this.ju(),Promise.resolve()))):this.deferred.reject(e)}Yu(e){if("FirebaseError"===e.name){const i=e.code;return"aborted"===i||"failed-precondition"===i||"already-exists"===i||!Kc(i)}return!1}}const xh="FirestoreClient";class Lg{constructor(e,i,c,g,A){var U=this;this.authCredentials=e,this.appCheckCredentials=i,this.asyncQueue=c,this.databaseInfo=g,this.user=he.UNAUTHENTICATED,this.clientId=dn.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this._uninitializedComponentsProvider=A,this.authCredentials.start(c,function(){var se=(0,o.A)(function*(Se){nt(xh,"Received user=",Se.uid),yield U.authCredentialListener(Se),U.user=Se});return function(Se){return se.apply(this,arguments)}}()),this.appCheckCredentials.start(c,se=>(nt(xh,"Received new app check token=",se),this.appCheckCredentialListener(se,this.user)))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(e){this.authCredentialListener=e}setAppCheckTokenChangeListener(e){this.appCheckCredentialListener=e}terminate(){var e=this;this.asyncQueue.enterRestrictedMode();const i=new rt;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted((0,o.A)(function*(){try{e._onlineComponents&&(yield e._onlineComponents.terminate()),e._offlineComponents&&(yield e._offlineComponents.terminate()),e.authCredentials.shutdown(),e.appCheckCredentials.shutdown(),i.resolve()}catch(c){const g=_u(c,"Failed to shutdown persistence");i.reject(g)}})),i.promise}}function tm(f,e){return xm.apply(this,arguments)}function xm(){return xm=(0,o.A)(function*(f,e){f.asyncQueue.verifyOperationInProgress(),nt(xh,"Initializing OfflineComponentProvider");const i=f.configuration;yield e.initialize(i);let c=i.initialUser;f.setCredentialChangeListener(function(){var g=(0,o.A)(function*(A){c.isEqual(A)||(yield rh(e.localStore,A),c=A)});return function(A){return g.apply(this,arguments)}}()),e.persistence.setDatabaseDeletedListener(()=>{hn("Terminating Firestore due to IndexedDb database deletion"),f.terminate().then(()=>{nt("Terminating Firestore due to IndexedDb database deletion completed successfully")}).catch(g=>{hn("Terminating Firestore due to IndexedDb database deletion failed",g)})}),f._offlineComponents=e}),xm.apply(this,arguments)}function Ng(f,e){return ap.apply(this,arguments)}function ap(){return(ap=(0,o.A)(function*(f,e){f.asyncQueue.verifyOperationInProgress();const i=yield Mc(f);nt(xh,"Initializing OnlineComponentProvider"),yield e.initialize(i,f.configuration),f.setCredentialChangeListener(c=>ol(e.remoteStore,c)),f.setAppCheckTokenChangeListener((c,g)=>ol(e.remoteStore,g)),f._onlineComponents=e})).apply(this,arguments)}function Mc(f){return xd.apply(this,arguments)}function xd(){return(xd=(0,o.A)(function*(f){if(!f._offlineComponents)if(f._uninitializedComponentsProvider){nt(xh,"Using user provided OfflineComponentProvider");try{yield tm(f,f._uninitializedComponentsProvider._offline)}catch(e){if(!("FirebaseError"===(g=e).name?g.code===ie.FAILED_PRECONDITION||g.code===ie.UNIMPLEMENT
1ED:!(typeof DOMException<"u"&&g instanceof DOMException)||22===g.code||20===g.code||11===g.code))throw e;hn("Error using user provided cache. Falling back to memory cache: "+e),yield tm(f,new Yp)}}else nt(xh,"Using default OfflineComponentProvider"),yield tm(f,new k_(void 0));var g;return f._offlineComponents})).apply(this,arguments)}function $p(f){return x_.apply(this,arguments)}function x_(){return(x_=(0,o.A)(function*(f){return f._onlineComponents||(f._uninitializedComponentsProvider?(nt(xh,"Using user provided OnlineComponentProvider"),yield Ng(f,f._uninitializedComponentsProvider._online)):(nt(xh,"Using default OnlineComponentProvider"),yield Ng(f,new Sm))),f._onlineComponents})).apply(this,arguments)}function Gp(f){return Mc(f).then(e=>e.persistence)}function If(f){return Mc(f).then(e=>e.localStore)}function R_(f){return $p(f).then(e=>e.remoteStore)}function Kp(f){return $p(f).then(e=>e.syncEngine)}function ah(f){return Rm.apply(this,arguments)}function Rm(){return(Rm=(0,o.A)(function*(f){const e=yield $p(f),i=e.eventManager;return i.onListen=Bp.bind(null,e.syncEngine),i.onUnlisten=ec.bind(null,e.syncEngine),i.onFirstRemoteStoreListen=Ah.bind(null,e.syncEngine),i.onLastRemoteStoreUnlisten=kh.bind(null,e.syncEngine),i})).apply(this,arguments)}function nm(f,e,i={}){const c=new rt;return f.asyncQueue.enqueueAndForget((0,o.A)(function*(){return function(A,U,se,Se,ut){const Qt=new zp({next:Kn=>{Qt.Ou(),U.enqueueAndForget(()=>bf(A,vn));const ji=Kn.docs.has(se);!ji&&Kn.fromCache?ut.reject(new je(ie.UNAVAILABLE,"Failed to get document because the client is offline.")):ji&&Kn.fromCache&&Se&&"server"===Se.source?ut.reject(new je(ie.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):ut.resolve(Kn)},error:Kn=>ut.reject(Kn)}),vn=new Ch(Xt(se.path),Qt,{includeMetadataChanges:!0,ka:!0});return yf(A,vn)}(yield ah(f),f.asyncQueue,e,i,c)})),c.promise}function L_(f,e,i={}){const c=new rt;return f.asyncQueue.enqueueAndForget((0,o.A)(function*(){return function(A,U,se,Se,ut){const Qt=new zp({next:Kn=>{Qt.Ou(),U.enqueueAndForget(()=>bf(A,vn)),Kn.fromCache&&"server"===Se.source?ut.reject(new je(ie.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):ut.resolve(Kn)},error:Kn=>ut.reject(Kn)}),vn=new Ch(se,Qt,{includeMetadataChanges:!0,ka:!0});return yf(A,vn)}(yield ah(f),f.asyncQueue,e,i,c)})),c.promise}function N_(f){const e={};return void 0!==f.timeoutSeconds&&(e.timeoutSeconds=f.timeoutSeconds),e}const Vg=new Map,Ov="firestore.googleapis.com";class jy{constructor(e){var i,c;if(void 0===e.host){if(void 0!==e.ssl)throw new je(ie.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host=Ov,this.ssl=!0}else this.host=e.host,this.ssl=null===(i=e.ssl)||void 0===i||i;if(this.isUsingEmulator=void 0!==e.emulatorOptions,this.credentials=e.credentials,this.ignoreUndefinedProperties=!!e.ignoreUndefinedProperties,this.localCache=e.localCache,void 0===e.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==e.cacheSizeBytes&&e.cacheSizeBytes<1048576)throw new je(ie.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=e.cacheSizeBytes}fr("experimentalForceLongPolling",e.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",e.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!e.experimentalForceLongPolling,this.experimentalAutoDetectLongPolling=!(this.experimentalForceLongPolling||void 0!==e.experimentalAutoDetectLongPolling&&!e.experimentalAutoDetectLongPolling),this.experimentalLongPollingOptions=N_(null!==(c=e.experimentalLongPollingOptions)&&void 0!==c?c:{}),function(A){if(void 0!==A.timeoutSeconds){if(isNaN(A.timeoutSeconds))throw new je(ie.INVALID_ARGUMENT,`invalid long polling timeout: ${A.timeoutSeconds} (must not be NaN)`);if(A.timeoutSeconds<5)throw new je(ie.INVALID_ARGUMENT,`invalid long polling timeout: ${A.timeoutSeconds} (minimum allowed value is 5)`);if(A.timeoutSeconds>30)throw new je(ie.INVALID_ARGUMENT,`invalid long polling timeout: ${A.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!e.useFetchStreams}isEqual(e){return this.host===e.host&&this.ssl===e.ssl&&this.credentials===e.credentials&&this.cacheSizeBytes===e.cacheSizeBytes&&this.experimentalForceLongPolling===e.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===e.experimentalAutoDetectLongPolling&&this.experimentalLongPollingOptions.timeoutSeconds===e.experimentalLongPollingOptions.timeoutSeconds&&this.ignoreUndefinedProperties===e.ignoreUndefinedProperties&&this.useFetchStreams===e.useFetchStreams}}class im{constructor(e,i,c,g){this._authCredentials=e,this._appCheckCredentials=i,this._databaseId=c,this._app=g,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new jy({}),this._settingsFrozen=!1,this._emulatorOptions={},this._terminateTask="notTerminated"}get app(){if(!this._app)throw new je(ie.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return"notTerminated"!==this._terminateTask}_setSettings(e){if(this._settingsFrozen)throw new je(ie.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new jy(e),this._emulatorOptions=e.emulatorOptions||{},void 0!==e.credentials&&(this._authCredentials=function(c){if(!c)return new We;switch(c.type){case"firstParty":return new Zt(c.sessionIndex||"0",c.iamToken||null,c.authTokenFactory||null);case"provider":return c.client;default:throw new je(ie.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invali
1d credential type")}}(e.credentials))}_getSettings(){return this._settings}_getEmulatorOptions(){return this._emulatorOptions}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return"notTerminated"===this._terminateTask&&(this._terminateTask=this._terminate()),this._terminateTask}_restart(){var e=this;return(0,o.A)(function*(){"notTerminated"===e._terminateTask?yield e._terminate():e._terminateTask="notTerminated"})()}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(i){const c=Vg.get(i);c&&(nt("ComponentProvider","Removing Datastore"),Vg.delete(i),c.terminate())}(this),Promise.resolve()}}function F_(f,e,i,c={}){var g;f=z(f,im);const A=(0,v.zJ)(e),U=f._getSettings(),se=Object.assign(Object.assign({},U),{emulatorOptions:f._getEmulatorOptions()}),Se=`${e}:${i}`;A&&((0,v.gE)(`https://${Se}`),(0,v.P1)("Firestore",!0)),U.host!==Ov&&U.host!==Se&&hn("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");const ut=Object.assign(Object.assign({},U),{host:Se,ssl:A,emulatorOptions:c});if(!(0,v.bD)(ut,se)&&(f._setSettings(ut),c.mockUserToken)){let Qt,vn;if("string"==typeof c.mockUserToken)Qt=c.mockUserToken,vn=he.MOCK_USER;else{Qt=(0,v.Fy)(c.mockUserToken,null===(g=f._app)||void 0===g?void 0:g.options.projectId);const Kn=c.mockUserToken.sub||c.mockUserToken.user_id;if(!Kn)throw new je(ie.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");vn=new he(Kn)}f._authCredentials=new Ot(new Ze(Qt,vn))}}class nd{constructor(e,i,c){this.converter=i,this._query=c,this.type="query",this.firestore=e}withConverter(e){return new nd(this.firestore,e,this._query)}}class ml{constructor(e,i,c){this.converter=i,this._key=c,this.type="document",this.firestore=e}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new Rd(this.firestore,this.converter,this._key.path.popLast())}withConverter(e){return new ml(this.firestore,e,this._key)}toJSON(){return{type:ml._jsonSchemaVersion,referencePath:this._key.toString()}}static fromJSON(e,i,c){if(Ue(i,ml._jsonSchema))return new ml(e,c||null,new ci(ii.fromString(i.referencePath)))}}ml._jsonSchemaVersion="firestore/documentReference/1.0",ml._jsonSchema={type:Ce("string",ml._jsonSchemaVersion),referencePath:Ce("string")};class Rd extends nd{constructor(e,i,c){super(e,i,Xt(c)),this._path=c,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const e=this._path.popLast();return e.isEmpty()?null:new ml(this.firestore,null,new ci(e))}withConverter(e){return new Rd(this.firestore,e,this._path)}}function up(f,e,...i){if(f=(0,v.Ku)(f),Un("collection","path",e),f instanceof im){const c=ii.fromString(e,...i);return un(c),new Rd(f,null,c)}{if(!(f instanceof ml||f instanceof Rd))throw new je(ie.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const c=f._path.child(ii.fromString(e,...i));return un(c),new Rd(f.firestore,null,c)}}function B_(f,e){if(f=z(f,im),Un("collectionGroup","collection id",e),e.indexOf("/")>=0)throw new je(ie.INVALID_ARGUMENT,`Invalid collection ID '${e}' passed to function collectionGroup(). Collection IDs must not contain '/'.`);return new nd(f,null,(c=e,new Re(ii.emptyPath(),c)));var c}function Qp(f,e,...i){if(f=(0,v.Ku)(f),1===arguments.length&&(e=dn.newId()),Un("doc","path",e),f instanceof im){const c=ii.fromString(e,...i);return Vt(c),new ml(f,null,new ci(c))}{if(!(f instanceof ml||f instanceof Rd))throw new je(ie.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const c=f._path.child(ii.fromString(e,...i));return Vt(c),new ml(f.firestore,f instanceof Rd?f.converter:null,new ci(c))}}function Lv(f,e){return f=(0,v.Ku)(f),e=(0,v.Ku)(e),(f instanceof ml||f instanceof Rd)&&(e instanceof ml||e instanceof Rd)&&f.firestore===e.firestore&&f.path===e.path&&f.converter===e.converter}function Cf(f,e){return f=(0,v.Ku)(f),e=(0,v.Ku)(e),f instanceof nd&&e instanceof nd&&f.firestore===e.firestore&&pr(f._query,e._query)&&f.converter===e.converter}const V_="AsyncQueue";class jg{constructor(e=Promise.resolve()){this.Zu=[],this.Xu=!1,this.ec=[],this.tc=null,this.nc=!1,this.rc=!1,this.sc=[],this.F_=new D_(this,"async_queue_retry"),this.oc=()=>{const c=Kh();c&&nt(V_,"Visibility state changed to "+c.visibilityState),this.F_.y_()},this._c=e;const i=Kh();i&&"function"==typeof i.addEventListener&&i.addEventListener("visibilitychange",this.oc)}get isShuttingDown(){return this.Xu}enqueueAndForget(e){this.enqueue(e)}enqueueAndForgetEvenWhileRestricted(e){this.ac(),this.uc(e)}enterRestrictedMode(e){if(!this.Xu){this.Xu=!0,this.rc=e||!1;const i=Kh();i&&"function"==typeof i.removeEventListener&&i.removeEventListener("visibilitychange",this.oc)}}enqueue(e){if(this.ac(),this.Xu)return new Promise(()=>{});const i=new rt;return this.uc(()=>this.Xu&&this.rc?Promise.resolve():(e().then(i.resolve,i.reject),i.promise)).then(()=>i.promise)}enqueueRetryable(e){this.enqueueAndForget(()=>(this.Zu.push(e),this.cc()))}cc(){var e=this;return(0,o.A)(function*(){if(0!==e.Zu.length){try{yield e.Zu[0](),e.Zu.shift(),e.F_.reset()}catch(i){if(!xn(i))throw i;nt(V_,"Operation failed with retryable error: "+i)}e.Zu.length>0&&e.F_.g_(()=>e.cc())}})()}uc(e){const i=this._c.then(()=>(this.nc=!0,e().catch(c=>{throw this.tc=c,this.nc=!1,cn("INTERNAL UNHANDLED ERROR: ",Nv(c)),c}).then(c=>(this.nc=!1,c))));return this._c=i,i}enqueueAfterDelay(e,i,c){this.ac(),this.sc.indexOf(e)>-1&&(i=0);const g=El.createAndSchedule(this,e,i,c,A=>this.lc(A));return this.ec.push(g),g}ac(){this.tc&&Te(47125,{hc:Nv(this.tc)})}verifyOperationInProgress(){}Pc(){var e=this;return(0,o.A)(function*(){let i;do{i=e._c,yield i}while(i!==e._c)})()}Tc(e){for(const i of this.ec)if(i.timerId===e)return!0;return!1}Ic(e){return this.Pc().then(()=>{this.ec.sort((i,c)=>i.targetTimeMs-c.targetTimeMs);for(const i of this.ec)if(i.skipDelay(),"all"!==e&&i.timerId===e)break;return this.Pc()})}dc(e){this.sc.push(e)}lc(e){const i=this.ec.indexOf(e);this.ec.splice(i,1)}}function Nv(f){let e=f.message||"";return f.stack&&(e=f.stack.includes(f.message)?f.stack:f.message+"\n"+f.stack),e}function hp(f){return function(i){if("object"!=typeof i||null===i)return!1;const g=i;for(const A of["next","error","complete"])if(A in g&&"function"==typeof g[A])return!0;return!1}(f)}class Fv{constructor(){this._progressObserver={},this._taskCompletionResolver=new rt,this._lastProgress={taskState:"Running",totalBytes:0,totalDocuments:0,bytesLoaded:0,documentsLoaded:0}}onProgress(e,i,c){this._progressObserver={next:e,error:i,complete:c}}catch(e){return this._taskCompletionResolver.promise.catch(e)}then(e,i){return this._taskCompletionResolver.promise.then(e,i)}_completeWith(e){this._updateProgress(e),this._progressObserver.complete&&this._progressObserver.complete(),this._taskCompletionResolver.resolve(e)}_failWith(e){this._lastProgress.taskState="Error",this._progressObserver.next&&this._progressObserver.next(this._lastProgress),this._progressObserver.error&&this._progressObserver.error(e),this._taskCompletionResolver.reject(e)}_updateProgress(e){this._lastProgress=e,this._progressObserver.next&&this._progressObserver.next(e)}}const Wy=-1;class al extends im{constructor(e,i,c,g){super(e,i,c,g),this.type="firestore",this._queue=new jg,this._persistenceKey=g?.name||"[DEFAULT]"}_terminate(){var e=this;return(0,o.A)(function*(){if(e._firestoreClient){const i=e._firestoreClient.terminate();e._queue=new jg(i),e._firestoreClient=void 0,yield i}})()}}function Bv(f,e){const i="object"==typeof f?f:(0,s.getApp)(),c="string"==typeof f?f:e||Ds,g=(0,s._getProvider)(i,"firestore").getImmediate({identifier:c});if(!g._initialized){const A=(0,v.yU)("firestore");A&&F_(g,...A)}return g}function Al(f){if(f._terminated)throw new je(ie.FAILED_PRECONDITION,"The client has already been terminated.");return f._firestoreClient||Xp(f),f._firestoreClient}function Xp(f){var e,i,c;const g=f._freezeSettings(),A=(Se=(null===(e=f._app)||void 0===e?void 0:e.options.appId)||"",new Qr(f._databaseId,Se,f._persistenceKey,(Qt=g).host,Qt.ssl,Qt.experimentalForceLongPolling,Qt.experimentalAutoDetectLongPolling,N_(Qt.experimentalLongPollingOptions),Qt.useFetchStreams,Qt.isUsingEmulator));var Se,Qt;f._componentsProvider||!(null===(i=g.localCache)||void 0===i)&&i._offlineComponentProvider&&!(null===(c=g.localCache)||void 0===c)&&c._onlineComponentProvider&&(f._componentsProvider={_offline:g.localCache._offlineComponentProvider,_online:g.localCache._onlineComponentProvider}),f._firestoreClient=new Lg(f._authCredentials,f._appCheckCredentials,f._queue,A,f._componentsProvider&&function(se){const Se=se?._online.build();return{_offline:se?._offline.build(Se),_online:Se}}(f._componentsProvider))}function Hy(f,e){hn("enableIndexedDbPersistence() will be deprecated
1in the future, you can use `FirestoreSettings.cache` instead.");const i=f._freezeSettings();return j_(f,Sm.provider,{build:c=>new op(c,i.cacheSizeBytes,e?.forceOwnership)}),Promise.resolve()}function Wg(f){return U_.apply(this,arguments)}function U_(){return(U_=(0,o.A)(function*(f){hn("enableMultiTabIndexedDbPersistence() will be deprecated in the future, you can use `FirestoreSettings.cache` instead.");const e=f._freezeSettings();j_(f,Sm.provider,{build:i=>new km(i,e.cacheSizeBytes)})})).apply(this,arguments)}function j_(f,e,i){if((f=z(f,al))._firestoreClient||f._terminated)throw new je(ie.FAILED_PRECONDITION,"Firestore has already been started and persistence can no longer be enabled. You can only enable persistence before calling any other methods on a Firestore object.");if(f._componentsProvider||f._getSettings().localCache)throw new je(ie.FAILED_PRECONDITION,"SDK cache is already specified.");f._componentsProvider={_online:e,_offline:i},Xp(f)}function Vv(f){if(f._initialized&&!f._terminated)throw new je(ie.FAILED_PRECONDITION,"Persistence can only be cleared before a Firestore instance is initialized or after it is terminated.");const e=new rt;return f._queue.enqueueAndForgetEvenWhileRestricted((0,o.A)(function*(){try{yield(i=(0,o.A)(function*(g){if(!gt.C())return Promise.resolve();const A=g+"main";yield gt.delete(A)}),function c(g){return i.apply(this,arguments)})(nh(f._databaseId,f._persistenceKey)),e.resolve()}catch(i){e.reject(i)}var i})),e.promise}function i0(f){return function(i){const c=new rt;return i.asyncQueue.enqueueAndForget((0,o.A)(function*(){return function ep(f,e){return Xf.apply(this,arguments)}(yield Kp(i),c)})),c.promise}(Al(f=z(f,al)))}function Yy(f){return function kv(f){return f.asyncQueue.enqueue((0,o.A)(function*(){const e=yield Gp(f),i=yield R_(f);return e.setNetworkEnabled(!0),function(g){const A=Ie(g);return A.Ia.delete(0),Hf(A)}(i)}))}(Al(f=z(f,al)))}function Pm(f){return function P_(f){return f.asyncQueue.enqueue((0,o.A)(function*(){const e=yield Gp(f),i=yield R_(f);return e.setNetworkEnabled(!1),(c=(0,o.A)(function*(A){const U=Ie(A);U.Ia.add(0),yield yd(U),U.Aa.set("Offline")}),function g(A){return c.apply(this,arguments)})(i);var c}))}(Al(f=z(f,al)))}function W_(f,e){const i=Al(f=z(f,al)),c=new Fv;return function lp(f,e,i,c){const g=function(U,se){let Se;return Se="string"==typeof U?Oi().encode(U):U,Qt=function(Qt){if(Qt instanceof Uint8Array)return S_(Qt,void 0);if(Qt instanceof ArrayBuffer)return S_(new Uint8Array(Qt),void 0);if(Qt instanceof ReadableStream)return Qt.getReader();throw new Error("Source of `toByteStreamReader` has to be a ArrayBuffer or ReadableStream")}(Se),new em(Qt,se);var Qt}(i,ff(e));f.asyncQueue.enqueueAndForget((0,o.A)(function*(){!function xg(f,e,i){const c=Ie(f);var g;(g=(0,o.A)(function*(U,se,Se){try{const ut=yield se.getMetadata();if(yield function(hr,kr){const Sr=Ie(hr),hs=va(kr.createTime);return Sr.persistence.runTransaction("hasNewerBundle","readonly",zs=>Sr.Ti.getBundleMetadata(zs,kr.id)).then(zs=>!!zs&&zs.createTime.compareTo(hs)>=0)}(U.localStore,ut))return yield se.close(),Se._completeWith({taskState:"Success",documentsLoaded:(hr=ut).totalDocuments,bytesLoaded:hr.totalBytes,totalDocuments:hr.totalDocuments,totalBytes:hr.totalBytes}),Promise.resolve(new Set);Se._updateProgress(Fp(ut));const Qt=new Ef(ut,se.serializer);let vn=yield se.Su();for(;vn;){const ji=yield Qt.Wa(vn);ji&&Se._updateProgress(ji),vn=yield se.Su()}const Kn=yield Qt.za(U.localStore);return yield Bu(U,Kn.Ja,void 0),yield function(hr,kr){const Sr=Ie(hr);return Sr.persistence.runTransaction("Save bundle","readwrite",hs=>Sr.Ti.saveBundleMetadata(hs,kr))}(U.localStore,ut),Se._completeWith(Kn.progress),Promise.resolve(Kn.ja)}catch(ut){return hn(Xh,`Loading bundle failed with ${ut}`),Se._failWith(ut),Promise.resolve(new Set)}var hr}),function A(U,se,Se){return g.apply(this,arguments)})(c,e,i).then(g=>{c.sharedClientState.notifyBundleLoaded(g)})}(yield Kp(f),g,c)}))}(i,f._databaseId,e,c),c}function Uv(f,e){return function Rv(f,e){return f.asyncQueue.enqueue((0,o.A)(function*(){return function(c,g){const A=Ie(c);return A.persistence.runTransaction("Get named query","readonly",U=>
1A.Ti.getNamedQuery(U,g))}(yield If(f),e)}))}(Al(f=z(f,al)),e).then(i=>i?new nd(f,null,i.query):null)}class vu{constructor(e){this._byteString=e}static fromBase64String(e){try{return new vu(Mo.fromBase64String(e))}catch(i){throw new je(ie.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+i)}}static fromUint8Array(e){return new vu(Mo.fromUint8Array(e))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(e){return this._byteString.isEqual(e._byteString)}toJSON(){return{type:vu._jsonSchemaVersion,bytes:this.toBase64()}}static fromJSON(e){if(Ue(e,vu._jsonSchema))return vu.fromBase64String(e.bytes)}}vu._jsonSchemaVersion="firestore/bytes/1.0",vu._jsonSchema={type:Ce("string",vu._jsonSchemaVersion),bytes:Ce("string")};class Af{constructor(...e){for(let i=0;i<e.length;++i)if(0===e[i].length)throw new je(ie.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new Sn(e)}isEqual(e){return this._internalPath.isEqual(e._internalPath)}}class Rh{constructor(e){this._methodName=e}}class ru{constructor(e,i){if(!isFinite(e)||e<-90||e>90)throw new je(ie.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+e);if(!isFinite(i)||i<-180||i>180)throw new je(ie.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+i);this._lat=e,this._long=i}get latitude(){return this._lat}get longitude(){return this._long}isEqual(e){return this._lat===e._lat&&this._long===e._long}_compareTo(e){return Tn(this._lat,e._lat)||Tn(this._long,e._long)}toJSON(){return{latitude:this._lat,longitude:this._long,type:ru._jsonSchemaVersion}}static fromJSON(e){if(Ue(e,ru._jsonSchema))return new ru(e.latitude,e.longitude)}}ru._jsonSchemaVersion="firestore/geoPoint/1.0",ru._jsonSchema={type:Ce("string",ru._jsonSchemaVersion),latitude:Ce("number"),longitude:Ce("number")};class Ph{constructor(e){this._values=(e||[]).map(i=>i)}toArray(){return this._values.map(e=>e)}isEqual(e){return function(c,g){if(c.length!==g.length)return!1;for(let A=0;A<c.length;++A)if(c[A]!==g[A])return!1;return!0}(this._values,e._values)}toJSON(){return{type:Ph._jsonSchemaVersion,vectorValues:this._values}}static fromJSON(e){if(Ue(e,Ph._jsonSchema)){if(Array.isArray(e.vectorValues)&&e.vectorValues.every(i=>"number"==typeof i))return new Ph(e.vectorValues);throw new je(ie.INVALID_ARGUMENT,"Expected 'vectorValues' field to be a number array")}}}Ph._jsonSchemaVersion="firestore/vectorValue/1.0",Ph._jsonSchema={type:Ce("string",Ph._jsonSchemaVersion),vectorValues:Ce("object")};const Hg=/^__.*__$/;class zy{constructor(e,i,c){this.data=e,this.fieldMask=i,this.fieldTransforms=c}toMutation(e,i){return null!==this.fieldMask?new es(e,this.data,this.fieldMask,i,this.fieldTransforms):new xo(e,this.data,i,this.fieldTransforms)}}class Y_{constructor(e,i,c){this.data=e,this.fieldMask=i,this.fieldTransforms=c}toMutation(e,i){return new es(e,this.data,this.fieldMask,i,this.fieldTransforms)}}function rm(f){switch(f){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw Te(40011,{Ec:f})}}class Om{constructor(e,i,c,g,A,U){this.settings=e,this.databaseId=i,this.serializer=c,this.ignoreUndefinedProperties=g,void 0===A&&this.Ac(),this.fieldTransforms=A||[],this.fieldMask=U||[]}get path(){return this.settings.path}get Ec(){return this.settings.Ec}Rc(e){return new Om(Object.assign(Object.assign({},this.settings),e),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}Vc(e){var i;const c=null===(i=this.path)||void 0===i?void 0:i.child(e),g=this.Rc({path:c,mc:!1});return g.fc(e),g}gc(e){var i;const c=null===(i=this.path)||void 0===i?void 0:i.child(e),g=this.Rc({path:c,mc:!1});return g.Ac(),g}yc(e){return this.Rc({path:void 0,mc:!0})}wc(e){return t_(e,this.settings.methodName,this.settings.Sc||!1,this.path,this.settings.bc)}contains(e){return void 0!==this.fieldMask.find(i=>e.isPrefixOf(i))||void 0!==this.fieldTransforms.find(i=>e.isPrefixOf(i.field))}Ac(){if(this.path)for(let e=0;e<this.path.length;e++)this.fc(this.path.get(e))}fc(e){if(0===e.length)throw this.wc("Document fields must not be empty");if(rm(this.Ec)&&Hg.test(e))throw this.wc('Document fields cannot begin and end with "__"')}}class Yg{constructor(e,i,c){this.databaseId=e,this.ignoreUndefinedProperties=i,this.serializer
1=c||ff(e)}Dc(e,i,c,g=!1){return new Om({Ec:e,methodName:i,bc:c,path:Sn.emptyPath(),mc:!1,Sc:g},this.databaseId,this.serializer,this.ignoreUndefinedProperties)}}function Oh(f){const e=f._freezeSettings(),i=ff(f._databaseId);return new Yg(f._databaseId,!!e.ignoreUndefinedProperties,i)}function z_(f,e,i,c,g,A={}){const U=f.Dc(A.merge||A.mergeFields?2:0,e,i,g);$g("Data must be an object, but it was:",U,c);const se=jv(c,U);let Se,ut;if(A.merge)Se=new Fo(U.fieldMask),ut=U.fieldTransforms;else if(A.mergeFields){const Qt=[];for(const vn of A.mergeFields){const Kn=qp(e,vn,i);if(!U.contains(Kn))throw new je(ie.INVALID_ARGUMENT,`Field '${Kn}' is specified in your field mask but missing from your input data.`);Gg(Qt,Kn)||Qt.push(Kn)}Se=new Fo(Qt),ut=U.fieldTransforms.filter(vn=>Se.covers(vn.field))}else Se=null,ut=U.fieldTransforms;return new zy(new da(se),Se,ut)}class Jp extends Rh{_toFieldTransform(e){if(2!==e.Ec)throw e.wc(1===e.Ec?`${this._methodName}() can only appear at the top level of your update data`:`${this._methodName}() cannot be used with set() unless you pass {merge:true}`);return e.fieldMask.push(e.path),null}isEqual(e){return e instanceof Jp}}function $_(f,e,i){return new Om({Ec:3,bc:e.settings.bc,methodName:f._methodName,mc:i},e.databaseId,e.serializer,e.ignoreUndefinedProperties)}class lh extends Rh{_toFieldTransform(e){return new Si(e.path,new Oc)}isEqual(e){return e instanceof lh}}class Lm extends Rh{constructor(e,i){super(e),this.vc=i}_toFieldTransform(e){const i=$_(this,e,!0),c=this.vc.map(A=>am(A,i)),g=new Ls(c);return new Si(e.path,g)}isEqual(e){return e instanceof Lm&&(0,v.bD)(this.vc,e.vc)}}class Zp extends Rh{constructor(e,i){super(e),this.vc=i}_toFieldTransform(e){const i=$_(this,e,!0),c=this.vc.map(A=>am(A,i)),g=new Kt(c);return new Si(e.path,g)}isEqual(e){return e instanceof Zp&&(0,v.bD)(this.vc,e.vc)}}class sm extends Rh{constructor(e,i){super(e),this.Cc=i}_toFieldTransform(e){const i=new jt(e.serializer,$d(e.serializer,this.Cc));return new Si(e.path,i)}isEqual(e){return e instanceof sm&&this.Cc===e.Cc}}function fp(f,e,i,c){const g=f.Dc(1,e,i);$g("Data must be an object, but it was:",g,c);const A=[],U=da.empty();wo(c,(Se,ut)=>{const Qt=e_(e,Se,i);ut=(0,v.Ku)(ut);const vn=g.gc(Qt);if(ut instanceof Jp)A.push(Qt);else{const Kn=am(ut,vn);null!=Kn&&(A.push(Qt),U.set(Qt,Kn))}});const se=new Fo(A);return new Y_(U,se,g.fieldTransforms)}function om(f,e,i,c,g,A){const U=f.Dc(1,e,i),se=[qp(e,c,i)],Se=[g];if(A.length%2!=0)throw new je(ie.INVALID_ARGUMENT,`Function ${e}() needs to be called with an even number of arguments that alternate between field names and values.`);for(let Kn=0;Kn<A.length;Kn+=2)se.push(qp(e,A[Kn])),Se.push(A[Kn+1]);const ut=[],Qt=da.empty();for(let Kn=se.length-1;Kn>=0;--Kn)if(!Gg(ut,se[Kn])){const ji=se[Kn];let hr=Se[Kn];hr=(0,v.Ku)(hr);const kr=U.gc(ji);if(hr instanceof Jp)ut.push(ji);else{const Sr=am(hr,kr);null!=Sr&&(ut.push(ji),Qt.set(ji,Sr))}}const vn=new Fo(ut);return new Y_(Qt,vn,U.fieldTransforms)}function zg(f,e,i,c=!1){return am(i,f.Dc(c?4:3,e))}function am(f,e){if(Wv(f=(0,v.Ku)(f)))return $g("Unsupported field value:",e,f),jv(f,e);if(f instanceof Rh)return function(c,g){if(!rm(g.Ec))throw g.wc(`${c._methodName}() can only be used with update() and set()`);if(!g.path)throw g.wc(`${c._methodName}() is not currently supported inside arrays`);const A=c._toFieldTransform(g);A&&g.fieldTransforms.push(A)}(f,e),null;if(void 0===f&&e.ignoreUndefinedProperties)return null;if(e.path&&e.fieldMask.push(e.path),f instanceof Array){if(e.settings.mc&&4!==e.Ec)throw e.wc("Nested arrays are not supported");return function(c,g){const A=[];let U=0;for(const se of c){let Se=am(se,g.yc(U));null==Se&&(Se={nullValue:"NULL_VALUE"}),A.push(Se),U++}return{arrayValue:{values:A}}}(f,e)}return function(c,g){if(null===(c=(0,v.Ku)(c)))return{nullValue:"NULL_VALUE"};if("number"==typeof c)return $d(g.serializer,c);if("boolean"==typeof c)return{booleanValue:c};if("string"==typeof c)return{stringValue:c};if(c instanceof Date){const A=we.fromDate(c);return{timestampValue:hd(g.serializer,A)}}if(c instanceof we){const A=new we(c.seconds,1e3*Math.floor(c.nanoseconds/1e3));return{timestampValue:hd(g.serializer,A)}}if(c instanceof ru)return{geoPointValue:{latitude:c.latitude,longitude:c.longitude}};if(c instanceof vu)return{bytesValue:fd(g.serializer,c._byteString)};if(c instanceof ml){const A=g.databaseId,U=c.firestore._databaseId;if(!U.isEqual(A))throw g.wc(`Document reference is for database ${U.projectId}/${U.database} but should be for database ${A.projectId}/${A.database}`);return{referenceValue:Dc(c.firestore._databaseId||g.databaseId,c._key.path)}}if(c instanceof Ph)return U=c,se=g,{mapValue:{fields:{[Yo]:{stringValue:ja},[Ya]:{arrayValue:{values:U.toArray().map(ut=>{if("number"!=typeof ut)throw se.wc("VectorValues must only contain numeric values.");return Xl(se.serializer,ut)})}}}}};var U,se;throw g.wc(`Unsupported field value: ${xe(c)}`)}(f,e)}function jv(f,e){const i={};return Us(f)?e.path&&e.path.length>0&&e.fieldMask.push(e.path):wo(f,(c,g)=>{const A=am(g,e.Vc(c));null!=A&&(i[c]=A)}),{mapValue:{fields:i}}}function Wv(f){return!("object"!=typeof f||null===f||f instanceof Array||f instanceof Date||f instanceof we||f instanceof ru||f instanceof vu||f instanceof ml||f instanceof Rh||f instanceof Ph)}function $g(f,e,i){if(!Wv(i)||!Ae(i)){const c=xe(i);throw e.wc("an object"===c?f+" a custom object":f+" "+c)}}
1function qp(f,e,i){if((e=(0,v.Ku)(e))instanceof Af)return e._internalPath;if("string"==typeof e)return e_(f,e);throw t_("Field path arguments must be of type string or ",f,!1,void 0,i)}const Hv=new RegExp("[~\\*/\\[\\]]");function e_(f,e,i){if(e.search(Hv)>=0)throw t_(`Invalid field path (${e}). Paths must not contain '~', '*', '/', '[', or ']'`,f,!1,void 0,i);try{return new Af(...e.split("."))._internalPath}catch{throw t_(`Invalid field path (${e}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,f,!1,void 0,i)}}function t_(f,e,i,c,g){const A=c&&!c.isEmpty(),U=void 0!==g;let se=`Function ${e}() called with invalid data`;i&&(se+=" (via `toFirestore()`)"),se+=". ";let Se="";return(A||U)&&(Se+=" (found",A&&(Se+=` in field ${c}`),U&&(Se+=` in document ${g}`),Se+=")"),new je(ie.INVALID_ARGUMENT,se+f+Se)}function Gg(f,e){return f.some(i=>i.isEqual(e))}class n_{constructor(e,i,c,g,A){this._firestore=e,this._userDataWriter=i,this._key=c,this._document=g,this._converter=A}get id(){return this._key.path.lastSegment()}get ref(){return new ml(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){const e=new $y(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(e)}return this._userDataWriter.convertValue(this._document.data.value)}}get(e){if(this._document){const i=this._document.data.field(G_("DocumentSnapshot.get",e));if(null!==i)return this._userDataWriter.convertValue(i)}}}class $y extends n_{data(){return super.data()}}function G_(f,e){return"string"==typeof e?e_(f,e):e instanceof Af?e._internalPath:e._delegate._internalPath}function Yv(f){if("L"===f.limitType&&0===f.explicitOrderBy.length)throw new je(ie.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class Kg{}class K_ extends Kg{}function m(f,e,...i){let c=[];e instanceof Kg&&c.push(e),c=c.concat(i),function(A){const U=A.filter(Se=>Se instanceof Ve).length,se=A.filter(Se=>Se instanceof D).length;if(U>1||U>0&&se>0)throw new je(ie.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(c);for(const g of c)f=g._apply(f);return f}class D extends K_{constructor(e,i,c){super(),this._field=e,this._op=i,this._value=c,this.type="where"}static _create(e,i,c){return new D(e,i,c)}_apply(e){const i=this._parse(e);return Hd(e._query,i),new nd(e.firestore,e.converter,Ta(e._query,i))}_parse(e){const i=Oh(e.firestore);return function(A,U,se,Se,ut,Qt,vn){let Kn;if(ut.isKeyField()){if("array-contains"===Qt||"array-contains-any"===Qt)throw new je(ie.INVALID_ARGUMENT,`Invalid Query. You can't perform '${Qt}' queries on documentId().`);if("in"===Qt||"not-in"===Qt){su(vn,Qt);const hr=[];for(const kr of vn)hr.push(Aa(Se,A,kr));Kn={arrayValue:{values:hr}}}else Kn=Aa(Se,A,vn)}else"in"!==Qt&&"not-in"!==Qt&&"array-contains-any"!==Qt||su(vn,Qt),Kn=zg(se,"where",vn,"in"===Qt||"not-in"===Qt);return Ws.create(ut,Qt,Kn)}(e._query,0,i,e.firestore._databaseId,this._field,this._op,this._value)}}function G(f,e,i){const c=e,g=G_("where",f);return D._create(g,c,i)}class Ve extends Kg{constructor(e,i){super(),this.type=e,this._queryConstraints=i}static _create(e,i){return new Ve(e,i)}_parse(e){const i=this._queryConstraints.map(c=>c._parse(e)).filter(c=>c.getFilters().length>0);return 1===i.length?i[0]:go.create(i,this._getOperator())}_apply(e){const i=this._parse(e);return 0===i.getFilters().length?e:(function(g,A){let U=g;const se=A.getFlattenedFilters();for(const Se of se)Hd(U,Se),U=Ta(U,Se)}(e._query,i),new nd(e.firestore,e.converter,Ta(e._query,i)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}class Gn extends K_{constructor(e,i){super(),this._field=e,this._direction=i,this.type="orderBy"}static _create(e,i){return new Gn(e,i)}_apply(e){const i=function(g,A,U){if(null!==g.startAt)throw new je(ie.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==g.endAt)throw new je(ie.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");return new dl(A,U)}(e._query,this._field,this._direction);return new nd(e.firestore,e.converter,function(g,A){const U=g.explicitOrderBy.concat([A]);return new Re(g.path,g.collectionGroup,U,g.filters.slice(),g.limit,g.limitType,g.startAt,g.endAt)}(e._query,i))}}function ui(f,e="asc"){const i=e,c=G_("orderBy",f);return Gn._create(c,i)}class Ei extends K_{constructor(e,i,c){super(),this.type=e,this._limit=i,this._limitType=c}static _create(e,i,c){return new Ei(e,i,c)}_apply(e){return new nd(e.firestore,e.converter,Oa(e._query,this._limit,this._limitType))}}function wr(f){return Ee("limit",f),Ei._create("limit",f,"F")}function ar(f){return Ee("limitToLast",f),Ei._create("limitToLast",f,"L")}class Ir extends K_{constructor(e,i,c){super(),this.type=e,this._docOrFields=i,this._inclusive=c}static _create(e,i,c){return new Ir(e,i,c)}_apply(e){const i=ua(e,this.type,this._docOrFields,this._inclusive);return new nd(e.firestore,e.converter,(A=i,new Re((g=e._query).path,g.collectionGroup,g.explicitOrderBy.slice(),g.filters.slice(),g.limit,g.limitType,A,g.endAt)));var g,A}}function ts(...f){return Ir._create("startAt",f,!0)}function us(...f){return Ir._create("startAfter",f,!1)}class Zs extends K_{constructor(e,i,c){super(),this.type=e,this._docOrFields=i,this._inclusive=c}static _create(e,i,c){return new Zs(e,i,c)}_apply(e){const i=ua(e,this.type,this._docOrFields,this._inclusive);return new nd(e.firestore,e.converter,(A=i,new Re((g=e._query).path,g.collectionGroup,g.explicitOrderBy.slice(),g.filters.slice(),g.limit,g.limitType,g.startAt,A)));var g,A}}function na(...f){return Zs._create("endBefore",f,!1)}function bo(...f){return Zs._create("endAt",f,!0)}function ua(f,e,i,c){if(i[0]=(0,v.Ku)(i[0]),i[0]instanceof n_)return function(A,U,se,Se,ut){if(!Se)throw new je(ie.NOT_FOUND,`Can't use a DocumentSnapshot that doesn't exist for ${se}().`);const Qt=[];for(const vn of Zi(A))if(vn.field.isKeyField())Qt.push(ri(U,Se.key));else{const Kn=Se.data.field(vn.field);if(pe(Kn))throw new je(ie.INVALID_ARGUMENT,'Invalid query. You are trying to start or end a query using a document for which the field "'+vn.field+'" is an uncommitted server timestamp. (Since the value of this field is unknown, you cannot start/end a query with it.)');if(null===Kn){const ji=vn.field.canonicalString();throw new je(ie.INVALID_ARGUMENT,`Invalid query. You are trying to start or end a query using a document for which the field '${ji}' (used as the orderBy) does not exist.`)}Qt.push(Kn)}return new wa(Qt,ut)}(f._query,f.firestore._databaseId,e,i[0]._document,c);
1{const g=Oh(f.firestore);return function(U,se,Se,ut,Qt,vn){const Kn=U.explicitOrderBy;if(Qt.length>Kn.length)throw new je(ie.INVALID_ARGUMENT,`Too many arguments provided to ${ut}(). The number of arguments must be less than or equal to the number of orderBy() clauses`);const ji=[];for(let hr=0;hr<Qt.length;hr++){const kr=Qt[hr];if(Kn[hr].field.isKeyField()){if("string"!=typeof kr)throw new je(ie.INVALID_ARGUMENT,`Invalid query. Expected a string for document ID in ${ut}(), but got a ${typeof kr}`);if(!mi(U)&&-1!==kr.indexOf("/"))throw new je(ie.INVALID_ARGUMENT,`Invalid query. When querying a collection and ordering by documentId(), the value passed to ${ut}() must be a plain document ID, but '${kr}' contains a slash.`);const Sr=U.path.child(ii.fromString(kr));if(!ci.isDocumentKey(Sr))throw new je(ie.INVALID_ARGUMENT,`Invalid query. When querying a collection group and ordering by documentId(), the value passed to ${ut}() must result in a valid document path, but '${Sr}' is not because it contains an odd number of segments.`);const hs=new ci(Sr);ji.push(ri(se,hs))}else{const Sr=zg(Se,ut,kr);ji.push(Sr)}}return new wa(ji,vn)}(f._query,f.firestore._databaseId,g,e,i,c)}}function Aa(f,e,i){if("string"==typeof(i=(0,v.Ku)(i))){if(""===i)throw new je(ie.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!mi(e)&&-1!==i.indexOf("/"))throw new je(ie.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${i}' contains a '/' character.`);const c=e.path.child(ii.fromString(i));if(!ci.isDocumentKey(c))throw new je(ie.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${c}' is not because it has an odd number of segments (${c.length}).`);return ri(f,new ci(c))}if(i instanceof ml)return ri(f,i._key);throw new je(ie.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${xe(i)}.`)}function su(f,e){if(!Array.isArray(f)||0===f.length)throw new je(ie.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${e.toString()}' filters.`)}function Hd(f,e){const i=function(g,A){for(const U of g)for(const se of U.getFlattenedFilters())if(A.indexOf(se.op)>=0)return se.op;return null}(f.filters,function(g){switch(g){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(e.op));if(null!==i)throw new je(ie.INVALID_ARGUMENT,i===e.op?`Invalid query. You cannot use more than one '${e.op.toString()}' filter.`:`Invalid query. You cannot use '${e.op.toString()}' filters with '${i.toString()}' filters.`)}class Pl{convertValue(e,i="none"){switch(Ra(e)){case 0:return null;case 1:return e.booleanValue;case 2:return Kr(e.integerValue||e.doubleValue);case 3:return this.convertTimestamp(e.timestampValue);case 4:return this.convertServerTimestamp(e,i);case 5:return e.stringValue;case 6:return this.convertBytes(_l(e.bytesValue));case 7:return this.convertReference(e.referenceValue);case 8:return this.convertGeoPoint(e.geoPointValue);case 9:return this.convertArray(e.arrayValue,i);case 11:return this.convertObject(e.mapValue,i);case 10:return this.convertVectorValue(e.mapValue);default:throw Te(62114,{value:e})}}convertObject(e,i){return this.convertObjectMap(e.fields,i)}convertObjectMap(e,i="none"){const c={};return wo(e,(g,A)=>{c[g]=this.convertValue(A,i)}),c}convertVectorValue(e){var i,c,g;const A=null===(g=null===(c=null===(i=e.fields)||void 0===i?void 0:i[Ya].arrayValue)||void 0===c?void 0:c.values)||void 0===g?void 0:g.map(U=>Kr(U.doubleValue));return new Ph(A)}convertGeoPoint(e){return new ru(Kr(e.latitude),Kr(e.longitude))}convertArray(e,i){return(e.values||[]).map(c=>this.convertValue(c,i))}convertServerTimestamp(e,i){switch(i){case"previous":const c=Gt(e);return null==c?null:this.convertValue(c,i);case"estimate":return this.convertTimestamp(Ln(e));default:return null}}convertTimestamp(e){const i=xa(e);return new we(i.seconds,i.nanos)}convertDocumentKey(e,i){const c=ii.fromString(e);yt(Y(c),9688,{name:e});const g=new _o(c.get(1),c.get(3)),A=new ci(c.popFirst(5));return g.isEqual(i)||cn(`Document ${A} contains a document reference within a different database (${g.projectId}/${g.database}) which is not supported. It will be treated as a reference in the current database (${i.projectId}/${i.database}) instead.`),A}}function Uu(f,e,i){let c;return c=f?i&&(i.merge||i.mergeFields)?f.toFirestore(e,i):f.toFirestore(e):e,c}class Ed extends Pl{constructor(e){super(),this.firestore=e}convertBytes(e){return new vu(e)}convertReference(e){const i=this.convertDocumentKey(e,this.firestore._databaseId);
1return new ml(this.firestore,null,i)}}class Nm{constructor(e,i){this.hasPendingWrites=e,this.fromCache=i}isEqual(e){return this.hasPendingWrites===e.hasPendingWrites&&this.fromCache===e.fromCache}}class ch extends n_{constructor(e,i,c,g,A,U){super(e,i,c,g,U),this._firestore=e,this._firestoreImpl=e,this.metadata=A}exists(){return super.exists()}data(e={}){if(this._document){if(this._converter){const i=new zv(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(i,e)}return this._userDataWriter.convertValue(this._document.data.value,e.serverTimestamps)}}get(e,i={}){if(this._document){const c=this._document.data.field(G_("DocumentSnapshot.get",e));if(null!==c)return this._userDataWriter.convertValue(c,i.serverTimestamps)}}toJSON(){if(this.metadata.hasPendingWrites)throw new je(ie.FAILED_PRECONDITION,"DocumentSnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");const e=this._document,i={};return i.type=ch._jsonSchemaVersion,i.bundle="",i.bundleSource="DocumentSnapshot",i.bundleName=this._key.toString(),e&&e.isValidDocument()&&e.isFoundDocument()?(this._userDataWriter.convertObjectMap(e.data.value.mapValue.fields,"previous"),i.bundle="NOT SUPPORTED",i):i}}ch._jsonSchemaVersion="firestore/documentSnapshot/1.0",ch._jsonSchema={type:Ce("string",ch._jsonSchemaVersion),bundleSource:Ce("string","DocumentSnapshot"),bundleName:Ce("string"),bundle:Ce("string")};class zv extends ch{data(e={}){return super.data(e)}}class dh{constructor(e,i,c,g){this._firestore=e,this._userDataWriter=i,this._snapshot=g,this.metadata=new Nm(g.hasPendingWrites,g.fromCache),this.query=c}get docs(){const e=[];return this.forEach(i=>e.push(i)),e}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(e,i){this._snapshot.docs.forEach(c=>{e.call(i,new zv(this._firestore,this._userDataWriter,c.key,c,new Nm(this._snapshot.mutatedKeys.has(c.key),this._snapshot.fromCache),this.query.converter))})}docChanges(e={}){const i=!!e.includeMetadataChanges;if(i&&this._snapshot.excludesMetadataChanges)throw new je(ie.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===i||(this._cachedChanges=function(g,A){if(g._snapshot.oldDocs.isEmpty()){let U=0;return g._snapshot.docChanges.map(se=>({type:"added",doc:new zv(g._firestore,g._userDataWriter,se.doc.key,se.doc,new Nm(g._snapshot.mutatedKeys.has(se.doc.key),g._snapshot.fromCache),g.query.converter),oldIndex:-1,newIndex:U++}))}{let U=g._snapshot.oldDocs;return g._snapshot.docChanges.filter(se=>A||3!==se.type).map(se=>{const Se=new zv(g._firestore,g._userDataWriter,se.doc.key,se.doc,new Nm(g._snapshot.mutatedKeys.has(se.doc.key),g._snapshot.fromCache),g.query.converter);let ut=-1,Qt=-1;return 0!==se.type&&(ut=U.indexOf(se.doc.key),U=U.delete(se.doc.key)),1!==se.type&&(U=U.add(se.doc),Qt=U.indexOf(se.doc.key)),{type:nD(se.type),doc:Se,oldIndex:ut,newIndex:Qt}})}}(this,i),this._cachedChangesIncludeMetadataChanges=i),this._cachedChanges}toJSON(){if(this.metadata.hasPendingWrites)throw new je(ie.FAILED_PRECONDITION,"QuerySnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");const e={};e.type=dh._jsonSchemaVersion,e.bundleSource="QuerySnapshot",e.bundleName=dn.newId();const i=[],c=[],g=[];return this.docs.forEach(A=>{null!==A._document&&(i.push(A._document),c.push(this._userDataWriter.convertObjectMap(A._document.data.value.mapValue.fields,"previous")),g.push(A.ref.path))}),e.bundle="NOT SUPPORTED",e}}function nD(f){switch(f){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return Te(61501,{type:f})}}function iD(f,e){return f instanceof ch&&e instanceof ch?f._firestore===e._firestore&&f._key.isEqual(e._key)&&(null===f._document?null===e._document:f._document.isEqual(e._document))&&f._converter===e._converter:f instanceof dh&&e instanceof dh&&f._firestore===e._firestore&&Cf(f.query,e.query)&&f.metadata.isEqual(e.metadata)&&f._snapshot.isEqual(e._snapshot)}function $v(f){f=z(f,ml);const e=z(f.firestore,al);return nm(Al(e),f._key).then(i=>Xg(e,f,i))}
1dh._jsonSchemaVersion="firestore/querySnapshot/1.0",dh._jsonSchema={type:Ce("string",dh._jsonSchemaVersion),bundleSource:Ce("string","QuerySnapshot"),bundleName:Ce("string"),bundle:Ce("string")};class mp extends Pl{constructor(e){super(),this.firestore=e}convertBytes(e){return new vu(e)}convertReference(e){const i=this.convertDocumentKey(e,this.firestore._databaseId);return new ml(this.firestore,null,i)}}function rD(f){f=z(f,ml);const e=z(f.firestore,al),i=Al(e),c=new mp(e);return function O_(f,e){const i=new rt;return f.asyncQueue.enqueueAndForget((0,o.A)(function*(){return(c=(0,o.A)(function*(A,U,se){try{const Se=yield function(Qt,vn){const Kn=Ie(Qt);return Kn.persistence.runTransaction("read document","readonly",ji=>Kn.localDocuments.getDocument(ji,vn))}(A,U);Se.isFoundDocument()?se.resolve(Se):Se.isNoDocument()?se.resolve(null):se.reject(new je(ie.UNAVAILABLE,"Failed to get document from cache. (However, this document may exist on the server. Run again without setting 'source' in the GetOptions to attempt to retrieve the document from the server.)"))}catch(Se){const ut=_u(Se,`Failed to get document '${U} from cache`);se.reject(ut)}}),function g(A,U,se){return c.apply(this,arguments)})(yield If(f),e,i);var c})),i.promise}(i,f._key).then(g=>new ch(e,c,f._key,g,new Nm(null!==g&&g.hasLocalMutations,!0),f.converter))}function o0(f){f=z(f,ml);const e=z(f.firestore,al);return nm(Al(e),f._key,{source:"server"}).then(i=>Xg(e,f,i))}function sD(f){f=z(f,nd);const e=z(f.firestore,al),i=Al(e),c=new mp(e);return Yv(f._query),L_(i,f._query).then(g=>new dh(e,c,f,g))}function oD(f){f=z(f,nd);const e=z(f.firestore,al),i=Al(e),c=new mp(e);return function Uy(f,e){const i=new rt;return f.asyncQueue.enqueueAndForget((0,o.A)(function*(){return(c=(0,o.A)(function*(A,U,se){try{const Se=yield nu(A,U,!0),ut=new Kf(U,Se.qs),Qt=ut.nu(Se.documents),vn=ut.applyChanges(Qt,!1);se.resolve(vn.snapshot)}catch(Se){const ut=_u(Se,`Failed to execute query '${U} against cache`);se.reject(ut)}}),function g(A,U,se){return c.apply(this,arguments)})(yield If(f),e,i);var c})),i.promise}(i,f._query).then(g=>new dh(e,c,f,g))}function Gv(f){f=z(f,nd);const e=z(f.firestore,al),i=Al(e),c=new mp(e);return L_(i,f._query,{source:"server"}).then(g=>new dh(e,c,f,g))}function aD(f,e,i){f=z(f,ml);const c=z(f.firestore,al),g=Uu(f.converter,e,i);return i_(c,[z_(Oh(c),"setDoc",f._key,g,null!==f.converter,i).toMutation(f._key,xr.none())])}function lD(f,e,i,...c){f=z(f,ml);const g=z(f.firestore,al),A=Oh(g);let U;return U="string"==typeof(e=(0,v.Ku)(e))||e instanceof Af?om(A,"updateDoc",f._key,e,i,c):fp(A,"updateDoc",f._key,e),i_(g,[U.toMutation(f._key,xr.exists(!0))])}function a0(f){return i_(z(f.firestore,al),[new Ia(f._key,xr.none())])}function l0(f,e){const i=z(f.firestore,al),c=Qp(f),g=Uu(f.converter,e);return i_(i,[z_(Oh(f.firestore),"addDoc",c._key,g,null!==f.converter,{}).toMutation(c._key,xr.exists(!1))]).then(()=>c)}function Qg(f,...e){var i,c,g;f=(0,v.Ku)(f);let A={includeMetadataChanges:!1,source:"default"},U=0;"object"!=typeof e[U]||hp(e[U])||(A=e[U++]);const se={includeMetadataChanges:A.includeMetadataChanges,source:A.source};if(hp(e[U])){const vn=e[U];e[U]=null===(i=vn.next)||void 0===i?void 0:i.bind(vn),e[U+1]=null===(c=vn.error)||void 0===c?void 0:c.bind(vn),e[U+2]=null===(g=vn.complete)||void 0===g?void 0:g.bind(vn)}let Se,ut,Qt;if(f instanceof ml)ut=z(f.firestore,al),Qt=Xt(f._key.path),Se={next:vn=>{e[U]&&e[U](Xg(ut,f,vn))},error:e[U+1],complete:e[U+2]};else{const vn=z(f,nd);ut=z(vn.firestore,al),Qt=vn._query;const Kn=new mp(ut);Se={next:ji=>{e[U]&&e[U](new dh(ut,Kn,vn,ji))},error:e[U+1],complete:e[U+2]},Yv(f._query)}return function(Kn,ji,hr,kr){const Sr=new zp(kr),hs=new Ch(ji,Sr,hr);return Kn.asyncQueue.enqueueAndForget((0,o.A)(function*(){return yf(yield ah(Kn),hs)})),()=>{Sr.Ou(),Kn.asyncQueue.enqueueAndForget((0,o.A)(function*(){return bf(yield ah(Kn),hs)}))}}(Al(ut),Qt,se,Se)}function dD(f,e){return function xv(f,e){const i=new zp(e);return f.asyncQueue.enqueueAndForget((0,o.A)(function*(){return g=yield ah(f),A=i,Ie(g).Da.add(A),void A.next();var g,A})),()=>{i.Ou(),f.asyncQueue.enqueueAndForget((0,o.A)(function*(){return g=yield ah(f),A=i,void Ie(g).Da.delete(A);var g,A}))}}(Al(f=z(f,al)),hp(e)?e:{next:e})}function i_(f,e){return function(c,g){const A=new rt;return c.asyncQueue.enqueueAndForget((0,o.A)(function*(){return function M_(f,e,i){return wf.apply(this,arguments)}(yield Kp(c),g,A)})),A.promise}(Al(f),e)}function Xg(f,e,i){const c=i.docs.get(e._key),g=new mp(f);return new ch(f,g,e._key,c,new Nm(i.hasPendingWrites,i.fromCache),e.converter)}const f0={maxAttempts:5};class Kv{constructor(e,i){this._firestore=e,this._commitHandler=i,this._mutations=[],this._committed=!1,this._dataReader=Oh(e)}set(e,i,c){this._verifyNotCommitted();const g=lm(e,this._firestore),A=Uu(g.converter,i,c),U=z_(this._dataReader,"WriteBatch.set",g._key,A,null!==g.converter,c);return this._mutations.push(U.toMutation(g._key,xr.none())),this}update(e,i,c,...g){this._verifyNotCommitted();const A=lm(e,this._firestore);let U;return U="string"==typeof(i=(0,v.Ku)(i))||i instanceof Af?om(this._dataReader,"WriteBatch.update",A._key,i,c,g):fp(this._dataReader,"WriteBatch.update",A._key,i),this._mutations.push(U.toMutation(A._key,xr.exists(!0))),this}delete(e){this._verifyNotCommitted();const i=lm(e,this._firestore);return this._mutations=this._mutations.concat(new Ia(i._key,xr.none())),this}commit(){return this._verifyNotCommitted(),this._committed=!0,this._mutations.length>0?this._commitHandler(this._mutations):Promise.resolve()}_verifyNotCommitted(){if(this._committed)throw new je(ie.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")}}function lm(f,e){if((f=(0,v.Ku)(f)).firestore!==e)throw new je(ie.INVALID_ARGUMENT,"Provided document reference is from a different Firestore instance.");return f}class m0{constructor(e,i){this._firestore=e,this._transaction=i,this._dataReader=Oh(e)}
1get(e){const i=lm(e,this._firestore),c=new Ed(this._firestore);return this._transaction.lookup([i._key]).then(g=>{if(!g||1!==g.length)return Te(24041);const A=g[0];if(A.isFoundDocument())return new n_(this._firestore,c,A.key,A,i.converter);if(A.isNoDocument())return new n_(this._firestore,c,i._key,null,i.converter);throw Te(18433,{doc:A})})}set(e,i,c){const g=lm(e,this._firestore),A=Uu(g.converter,i,c),U=z_(this._dataReader,"Transaction.set",g._key,A,null!==g.converter,c);return this._transaction.set(g._key,U),this}update(e,i,c,...g){const A=lm(e,this._firestore);let U;return U="string"==typeof(i=(0,v.Ku)(i))||i instanceof Af?om(this._dataReader,"Transaction.update",A._key,i,c,g):fp(this._dataReader,"Transaction.update",A._key,i),this._transaction.update(A._key,U),this}delete(e){const i=lm(e,this._firestore);return this._transaction.delete(i._key),this}}class p0 extends m0{constructor(e,i){super(e,i),this._firestore=e}get(e){const i=lm(e,this._firestore),c=new mp(this._firestore);return super.get(e).then(g=>new ch(this._firestore,c,i._key,g._document,new Nm(!1,!1),i.converter))}}function _0(f,e,i){f=z(f,al);const c=Object.assign(Object.assign({},f0),i);return function(A){if(A.maxAttempts<1)throw new je(ie.INVALID_ARGUMENT,"Max attempts must be at least 1")}(c),function(A,U,se){const Se=new rt;return A.asyncQueue.enqueueAndForget((0,o.A)(function*(){const ut=yield function Fg(f){return $p(f).then(e=>e.datastore)}(A);new Og(A.asyncQueue,ut,se,U,Se).zu()})),Se.promise}(Al(f),g=>e(new p0(f,g)),c)}function g0(){return new Jp("deleteField")}function Qy(){return new lh("serverTimestamp")}function vD(...f){return new Lm("arrayUnion",f)}function Xy(...f){return new Zp("arrayRemove",f)}function v0(f){return new sm("increment",f)}!function(e,i=!0){Ne=s.SDK_VERSION,(0,s._registerComponent)(new h.uA("firestore",(c,{instanceIdentifier:g,options:A})=>{const U=c.getProvider("app").getImmediate(),se=new al(new Me(c.getProvider("auth-internal")),new Wn(U,c.getProvider("app-check-internal")),function(ut,Qt){if(!Object.prototype.hasOwnProperty.apply(ut.options,["projectId"]))throw new je(ie.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new _o(ut.options.projectId,Qt)}(U,g),U);return A=Object.assign({useFetchStreams:i},A),se._setSettings(A),se},"PUBLIC").setMultipleInstances(!0)),(0,s.registerVersion)(de,"4.8.0",e),(0,s.registerVersion)(de,"4.8.0","esm2017")}()},1476(tn,Ye,d){"use strict";d.d(Ye,{Ad:()=>$t,D5:()=>Fn,KR:()=>fs,Mp:()=>Rs,Mx:()=>ci,TZ:()=>Ut,UC:()=>Xs,UY:()=>Ne,XR:()=>Rr,ZH:()=>Qn,_w:()=>Ii,bp:()=>Es,c7:()=>ls,nb:()=>ds,nw:()=>Yn,p_:()=>Vn,qk:()=>Ui,uj:()=>ae,xc:()=>Mr,yb:()=>Mn});var s=d(467),h=d(1631),y=d(1871),v=d(8779);const T="firebasestorage.googleapis.com",M="storageBucket";class x extends y.g{constructor(xt,kn,Hn=0){super(He(xt),`Firebase Storage: ${kn} (${He(xt)})`),this.status_=Hn,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,x.prototype)}get status(){return this.status_}set status(xt){this.status_=xt}_codeEquals(xt){return He(xt)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(xt){this.customData.serverResponse=xt,this.message=this.customData.serverResponse?`${this._baseMessage}\n${this.customData.serverResponse}`:this._baseMessage}}var ye=function(Ct){return Ct.UNKNOWN="unknown",Ct.OBJECT_NOT_FOUND="object-not-found",Ct.BUCKET_NOT_FOUND="bucket-not-found",Ct.PROJECT_NOT_FOUND="project-not-found",Ct.QUOTA_EXCEEDED="quota-exceeded",Ct.UNAUTHENTICATED="unauthenticated",Ct.UNAUTHORIZED="unauthorized",Ct.UNAUTHORIZED_APP="unauthorized-app",Ct.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",Ct.INVALID_CHECKSUM="invalid-checksum",Ct.CANCELED="canceled",Ct.INVALID_EVENT_NAME="invalid-event-name",Ct.INVALID_URL="invalid-url",Ct.INVALID_DEFAULT_BUCKET="invalid-default-bucket",Ct.NO_DEFAULT_BUCKET="no-default-bucket",Ct.CANNOT_SLICE_BLOB="cannot-slice-blob",Ct.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",Ct.NO_DOWNLOAD_URL="no-download-url",Ct.INVALID_ARGUMENT="invalid-argument",Ct.INVALID_ARGUMENT_COUNT="invalid-argument-count",Ct.APP_DELETED="app-deleted",Ct.INVALID_ROOT_OPERATION="invalid-root-operation",Ct.INVALID_FORMAT="invalid-format",Ct.INTERNAL_ERROR="internal-error",Ct.UNSUPPORTED_ENVIRONMENT="unsupported-environment",Ct}(ye||{});function He(Ct){return"storage/"+Ct}function Mt(){return new x(ye.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function ge(){return new x(ye.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function ue(){return new x(ye.CANCELED,"User canceled the upload/download.")}function $e(){return new x(ye.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}
1function ae(Ct){return new x(ye.INVALID_ARGUMENT,Ct)}function he(){return new x(ye.APP_DELETED,"The Firebase app was deleted.")}function Ne(Ct){return new x(ye.INVALID_ROOT_OPERATION,"The operation '"+Ct+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function ve(Ct,xt){return new x(ye.INVALID_FORMAT,"String does not match format '"+Ct+"': "+xt)}function at(Ct){throw new x(ye.INTERNAL_ERROR,"Internal error: "+Ct)}class Ut{constructor(xt,kn){this.bucket=xt,this.path_=kn}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const xt=encodeURIComponent;return"/b/"+xt(this.bucket)+"/o/"+xt(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(xt,kn){let Hn;try{Hn=Ut.makeFromUrl(xt,kn)}catch{return new Ut(xt,"")}if(""===Hn.path)return Hn;throw function Je(Ct){return new x(ye.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+Ct+"'.")}(xt)}static makeFromUrl(xt,kn){let Hn=null;const fi="([A-Za-z0-9.\\-_]+)",Lr=new RegExp("^gs://"+fi+"(/(.*))?$","i");function is(Uo){Uo.path_=decodeURIComponent(Uo.path)}const lo=kn.replace(/[.]/g,"\\."),ko=[{regex:Lr,indices:{bucket:1,path:3},postModify:function Hi(Uo){"/"===Uo.path.charAt(Uo.path.length-1)&&(Uo.path_=Uo.path_.slice(0,-1))}},{regex:new RegExp(`^https?://${lo}/v[A-Za-z0-9_]+/b/${fi}/o(/([^?#]*).*)?$`,"i"),indices:{bucket:1,path:3},postModify:is},{regex:new RegExp(`^https?://${kn===T?"(?:storage.googleapis.com|storage.cloud.google.com)":kn}/${fi}/([^?#]*)`,"i"),indices:{bucket:1,path:2},postModify:is}];for(let Uo=0;Uo<ko.length;Uo++){const no=ko[Uo],la=no.regex.exec(xt);if(la){let Qa=la[no.indices.path];Qa||(Qa=""),Hn=new Ut(la[no.indices.bucket],Qa),no.postModify(Hn);break}}if(null==Hn)throw function kt(Ct){return new x(ye.INVALID_URL,"Invalid URL '"+Ct+"'.")}(xt);return Hn}}class nt{constructor(xt){this.promise_=Promise.reject(xt)}getPromise(){return this.promise_}cancel(xt=!1){}}function yt(Ct){return"string"==typeof Ct||Ct instanceof String}function wt(Ct){return Ie()&&Ct instanceof Blob}function Ie(){return typeof Blob<"u"}function ie(Ct,xt,kn,Hn){if(Hn<xt)throw ae(`Invalid value for '${Ct}'. Expected ${xt} or greater.`);if(Hn>kn)throw ae(`Invalid value for '${Ct}'. Expected ${kn} or less.`)}function je(Ct,xt,kn){let Hn=xt;return null==kn&&(Hn=`https://${xt}`),`${kn}://${Hn}/v0${Ct}`}function rt(Ct){const xt=encodeURIComponent;let kn="?";for(const Hn in Ct)Ct.hasOwnProperty(Hn)&&(kn=kn+(xt(Hn)+"=")+xt(Ct[Hn])+"&");return kn=kn.slice(0,-1),kn}var Ze=function(Ct){return Ct[Ct.NO_ERROR=0]="NO_ERROR",Ct[Ct.NETWORK_ERROR=1]="NETWORK_ERROR",Ct[Ct.ABORT=2]="ABORT",Ct}(Ze||{});function We(Ct,xt){const kn=Ct>=500&&Ct<600,fi=-1!==[408,429].indexOf(Ct),Hi=-1!==xt.indexOf(Ct);return kn||fi||Hi}class Ot{constructor(xt,kn,Hn,fi,Hi,ur,Lr,Or,is,Gr,lo,ms=!0,Gs=!1){this.url_=xt,this.method_=kn,this.headers_=Hn,this.body_=fi,this.successCodes_=Hi,this.additionalRetryCodes_=ur,this.callback_=Lr,this.errorCallback_=Or,this.timeout_=is,this.progressCallback_=Gr,this.connectionFactory_=lo,this.retry=ms,this.isUsingEmulator=Gs,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((No,Do)=>{this.resolve_=No,this.reject_=Do,this.start_()})}start_(){const kn=(Hn,fi)=>{const Hi=this.resolve_,ur=this.reject_,Lr=fi.connection;if(fi.wasSuccessCode)try{const Or=this.callback_(Lr,Lr.getResponse());!function qt(Ct){return void 0!==Ct}(Or)?Hi():Hi(Or)}catch(Or){ur(Or)}else if(null!==Lr){const Or=Mt();Or.serverResponse=Lr.getErrorText(),ur(this.errorCallback_?this.errorCallback_(Lr,Or):Or)}else ur(fi.canceled?this.appDelete_?he():ue():ge())};this.canceled_?kn(0,new Me(!1,null,!0)):this.backoffId_=function cn(Ct,xt,kn){let Hn=1,fi=null,Hi=null,ur=!1,Lr=0;function Or(){return 2===Lr}let is=!1;function Gr(...Oo){is||(is=!0,xt.apply(null,Oo))}function lo(Oo){fi=setTimeout(()=>{fi=null,Ct(Gs,Or())},Oo)}function ms(){Hi&&clearTimeout(Hi)}function Gs(Oo,...qo){if(is)return void ms();if(Oo)return ms(),void Gr.call(null,Oo,...qo);if(Or()||ur)return ms(),void Gr.call(null,Oo,...qo);let ko;Hn<64&&(Hn*=2),1===Lr?(Lr=2,ko=0):ko=1e3*(Hn+Math.random()),lo(ko)}let No=!1;function Do(Oo){No||(No=!0,ms(),!is&&(null!==fi?(Oo||(Lr=2),clearTimeout(fi),lo(0)):Oo||(Lr=1))
1)}return lo(0),Hi=setTimeout(()=>{ur=!0,Do(!0)},kn),Do}((Hn,fi)=>{if(fi)return void Hn(!1,new Me(!1,null,!0));const Hi=this.connectionFactory_();this.pendingConnection_=Hi;const ur=Lr=>{null!==this.progressCallback_&&this.progressCallback_(Lr.loaded,Lr.lengthComputable?Lr.total:-1)};null!==this.progressCallback_&&Hi.addUploadProgressListener(ur),Hi.send(this.url_,this.method_,this.isUsingEmulator,this.body_,this.headers_).then(()=>{null!==this.progressCallback_&&Hi.removeUploadProgressListener(ur),this.pendingConnection_=null;const Lr=Hi.getErrorCode()===Ze.NO_ERROR,Or=Hi.getStatus();if(!Lr||We(Or,this.additionalRetryCodes_)&&this.retry){const Gr=Hi.getErrorCode()===Ze.ABORT;return void Hn(!1,new Me(!1,null,Gr))}const is=-1!==this.successCodes_.indexOf(Or);Hn(!0,new Me(is,Hi))})},kn,this.timeout_)}getPromise(){return this.promise_}cancel(xt){this.canceled_=!0,this.appDelete_=xt||!1,null!==this.backoffId_&&function hn(Ct){Ct(!1)}(this.backoffId_),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class Me{constructor(xt,kn,Hn){this.wasSuccessCode=xt,this.connection=kn,this.canceled=!!Hn}}function Oi(...Ct){const xt=function Bn(){return typeof BlobBuilder<"u"?BlobBuilder:typeof WebKitBlobBuilder<"u"?WebKitBlobBuilder:void 0}();if(void 0!==xt){const kn=new xt;for(let Hn=0;Hn<Ct.length;Hn++)kn.append(Ct[Hn]);return kn.getBlob()}if(Ie())return new Blob(Ct);throw new x(ye.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}const Yn={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};class _{constructor(xt,kn){this.data=xt,this.contentType=kn||null}}function Qn(Ct,xt){switch(Ct){case Yn.RAW:return new _(di(xt));case Yn.BASE64:case Yn.BASE64URL:return new _(pi(Ct,xt));case Yn.DATA_URL:return new _(function ii(Ct){const xt=new Vi(Ct);return xt.base64?pi(Yn.BASE64,xt.rest):function ai(Ct){let xt;try{xt=decodeURIComponent(Ct)}catch{throw ve(Yn.DATA_URL,"Malformed data URL.")}return di(xt)}(xt.rest)}(xt),function rr(Ct){return new Vi(Ct).contentType}(xt))}throw Mt()}function di(Ct){const xt=[];for(let kn=0;kn<Ct.length;kn++){let Hn=Ct.charCodeAt(kn);Hn<=127?xt.push(Hn):Hn<=2047?xt.push(192|Hn>>6,128|63&Hn):55296==(64512&Hn)?kn<Ct.length-1&&56320==(64512&Ct.charCodeAt(kn+1))?(Hn=65536|(1023&Hn)<<10|1023&Ct.charCodeAt(++kn),xt.push(240|Hn>>18,128|Hn>>12&63,128|Hn>>6&63,128|63&Hn)):xt.push(239,191,189):56320==(64512&Hn)?xt.push(239,191,189):xt.push(224|Hn>>12,128|Hn>>6&63,128|63&Hn)}return new Uint8Array(xt)}function pi(Ct,xt){switch(Ct){case Yn.BASE64:{const fi=-1!==xt.indexOf("-"),Hi=-1!==xt.indexOf("_");if(fi||Hi)throw ve(Ct,"Invalid character '"+(fi?"-":"_")+"' found: is it base64url encoded?");break}case Yn.BASE64URL:{const fi=-1!==xt.indexOf("+"),Hi=-1!==xt.indexOf("/");if(fi||Hi)throw ve(Ct,"Invalid character '"+(fi?"+":"/")+"' found: is it base64 encoded?");xt=xt.replace(/-/g,"+").replace(/_/g,"/");break}}let kn;try{kn=function Tn(Ct){if(typeof atob>"u")throw function de(Ct){return new x(ye.UNSUPPORTED_ENVIRONMENT,`${Ct} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`)}("base-64");return atob(Ct)}(xt)}catch(fi){throw fi.message.includes("polyfill")?fi:ve(Ct,"Invalid character found")}const Hn=new Uint8Array(kn.length);for(let fi=0;fi<kn.length;fi++)Hn[fi]=kn.charCodeAt(fi);return Hn}class Vi{constructor(xt){this.base64=!1,this.contentType=null;const kn=xt.match(/^data:([^,]+)?,/);if(null===kn)throw ve(Yn.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");const Hn=kn[1]||null;null!=Hn&&(this.base64=function Sn(Ct,xt){return Ct.length>=xt.length&&Ct.substring(Ct.length-xt.length)===xt}(Hn,";base64"),this.contentType=this.base64?Hn.substring(0,Hn.length-7):Hn),this.rest=xt.substring(xt.indexOf(",")+1)}}class ci{constructor(xt,kn){let Hn=0,fi="";wt(xt)?(this.data_=xt,Hn=xt.size,fi=xt.type):xt instanceof ArrayBuffer?(kn?this.data_=new Uint8Array(xt):(this.data_=new Uint8Array(xt.byteLength),this.data_.set(new Uint8Array(xt))),Hn=this.data_.length):xt instanceof Uint8Array&&(kn?this.data_=xt:(this.data_=new Uint8Array(xt.length),this.data_.set(xt)),Hn=xt.length),this.size_=Hn,this.type_=fi}size(){return this.size_}type(){return this.type_}slice(xt,kn){if(wt(this.data_)){const fi=function dn(Ct,xt,kn){return Ct.webkitSlice?Ct.webkitSlice(xt,kn):Ct.mozSlice?Ct.mozSlice(xt,kn):Ct.slice?Ct.slice(xt,kn):null}(this.data_,xt,kn);return null===fi?null:new ci(fi)}{const Hn=new Uint8Array(this.data_.buffer,xt,kn-xt);return new ci(Hn,!0)}}static getBlob(...xt){if(Ie()){const kn=xt.map(Hn=>Hn instanceof ci?Hn.data_:Hn);return new ci(Oi.apply(null,kn))}{const kn=xt.map(ur=>yt(ur)?Qn(Yn.RAW,ur).data:ur.data_);let Hn=0;kn.forEach(ur=>{Hn+=ur.byteLength});const fi=new Uint8Array(Hn);let Hi=0;return kn.forEach(ur=>{for(let Lr=0;Lr<ur.length;Lr++)fi[Hi++]=ur[Lr]}),new ci(fi,!0)}}uploadData(){return this.data_}}function Un(Ct){let xt;
1try{xt=JSON.parse(Ct)}catch{return null}return function Pe(Ct){return"object"==typeof Ct&&!Array.isArray(Ct)}(xt)?xt:null}function un(Ct){const xt=Ct.lastIndexOf("/",Ct.length-2);return-1===xt?Ct:Ct.slice(xt+1)}function Ae(Ct,xt){return xt}class xe{constructor(xt,kn,Hn,fi){this.server=xt,this.local=kn||xt,this.writable=!!Hn,this.xform=fi||Ae}}let z=null;function Ce(){if(z)return z;const Ct=[];Ct.push(new xe("bucket")),Ct.push(new xe("generation")),Ct.push(new xe("metageneration")),Ct.push(new xe("name","fullPath",!0));const kn=new xe("name");kn.xform=function xt(Hi,ur){return function Ee(Ct){return!yt(Ct)||Ct.length<2?Ct:un(Ct)}(ur)},Ct.push(kn);const fi=new xe("size");return fi.xform=function Hn(Hi,ur){return void 0!==ur?Number(ur):ur},Ct.push(fi),Ct.push(new xe("timeCreated")),Ct.push(new xe("updated")),Ct.push(new xe("md5Hash",null,!0)),Ct.push(new xe("cacheControl",null,!0)),Ct.push(new xe("contentDisposition",null,!0)),Ct.push(new xe("contentEncoding",null,!0)),Ct.push(new xe("contentLanguage",null,!0)),Ct.push(new xe("contentType",null,!0)),Ct.push(new xe("metadata","customMetadata",!0)),z=Ct,z}function fe(Ct,xt,kn){const Hn=Un(xt);return null===Hn?null:function Tt(Ct,xt,kn){const Hn={type:"file"},fi=kn.length;for(let Hi=0;Hi<fi;Hi++){const ur=kn[Hi];Hn[ur.local]=ur.xform(Hn,xt[ur.server])}return function Ue(Ct,xt){Object.defineProperty(Ct,"ref",{get:function kn(){const Hi=new Ut(Ct.bucket,Ct.fullPath);return xt._makeStorageReference(Hi)}})}(Hn,Ct),Hn}(Ct,Hn,kn)}function _e(Ct,xt){const kn={},Hn=xt.length;for(let fi=0;fi<Hn;fi++){const Hi=xt[fi];Hi.writable&&(kn[Hi.server]=Ct[Hi.local])}return JSON.stringify(kn)}const L="prefixes",j="items";
1class Yt{constructor(xt,kn,Hn,fi){this.url=xt,this.method=kn,this.handler=Hn,this.timeout=fi,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}function On(Ct){if(!Ct)throw Mt()}function wi(Ct,xt){return function kn(Hn,fi){const Hi=fe(Ct,fi,xt);return On(null!==Hi),Hi}}function Er(Ct){return function xt(kn,Hn){let fi;return fi=401===kn.getStatus()?kn.getErrorText().includes("Firebase App Check token is invalid")?function ze(){return new x(ye.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project.")}():function Xe(){return new x(ye.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again.")}():402===kn.getStatus()?function Qe(Ct){return new x(ye.QUOTA_EXCEEDED,"Quota for bucket '"+Ct+"' exceeded, please view quota on https://firebase.google.com/pricing/.")}(Ct.bucket):403===kn.getStatus()?function Le(Ct){return new x(ye.UNAUTHORIZED,"User does not have permission to access '"+Ct+"'.")}(Ct.path):Hn,fi.status=kn.getStatus(),fi.serverResponse=Hn.serverResponse,fi}}function _n(Ct){const xt=Er(Ct);return function kn(Hn,fi){let Hi=xt(Hn,fi);return 404===Hn.getStatus()&&(Hi=function Ge(Ct){return new x(ye.OBJECT_NOT_FOUND,"Object '"+Ct+"' does not exist.")}(Ct.path)),Hi.serverResponse=fi.serverResponse,Hi}}function an(Ct,xt,kn){const fi=je(xt.fullServerUrl(),Ct.host,Ct._protocol),ur=Ct.maxOperationRetryTime,Lr=new Yt(fi,"GET",wi(Ct,kn),ur);return Lr.errorHandler=_n(xt),Lr}function Pt(Ct,xt,kn,Hn,fi){const Hi={};Hi.prefix=xt.isRoot?"":xt.path+"/",kn&&kn.length>0&&(Hi.delimiter=kn),Hn&&(Hi.pageToken=Hn),fi&&(Hi.maxResults=fi);const Lr=je(xt.bucketOnlyServerUrl(),Ct.host,Ct._protocol),is=Ct.maxOperationRetryTime,Gr=new Yt(Lr,"GET",function Qi(Ct,xt){return function kn(Hn,fi){const Hi=function qe(Ct,xt,kn){const Hn=Un(kn);return null===Hn?null:function X(Ct,xt,kn){const Hn={prefixes:[],items:[],nextPageToken:kn.nextPageToken};if(kn[L])for(const fi of kn[L]){const Hi=fi.replace(/\/$/,""),ur=Ct._makeStorageReference(new Ut(xt,Hi));Hn.prefixes.push(ur)}if(kn[j])for(const fi of kn[j]){const Hi=Ct._makeStorageReference(new Ut(xt,fi.name));Hn.items.push(Hi)}return Hn}(Ct,xt,Hn)}(Ct,xt,fi);return On(null!==Hi),Hi}}(Ct,xt.bucket),is);return Gr.urlParams=Hi,Gr.errorHandler=Er(xt),Gr}function Zn(Ct,xt,kn){const Hn=Object.assign({},kn);return Hn.fullPath=Ct.path,Hn.size=xt.size(),Hn.contentType||(Hn.contentType=function Rn(Ct,xt){return Ct&&Ct.contentType||xt&&xt.type()||"application/octet-stream"}(null,xt)),Hn}class zn{constructor(xt,kn,Hn,fi){this.current=xt,this.total=kn,this.finalized=!!Hn,this.metadata=fi||null}}function ft(Ct,xt){let kn=null;try{kn=Ct.getResponseHeader("X-Goog-Upload-Status")}catch{On(!1)}return On(!!kn&&-1!==(xt||["active"]).indexOf(kn)),kn}const Mr={STATE_CHANGED:"state_changed"},$t={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function wn(Ct){switch(Ct){case"running":case"pausing":case"canceling":return $t.RUNNING;case"paused":return $t.PAUSED;case"success":return $t.SUCCESS;case"canceled":return $t.CANCELED;default:return $t.ERROR}}class In{constructor(xt,kn,Hn){if(function Te(Ct){return"function"==typeof Ct}(xt)||null!=kn||null!=Hn)this.next=xt,this.error=kn??void 0,this.complete=Hn??void 0;else{const Hi=xt;this.next=Hi.next,this.error=Hi.error,this.complete=Hi.complete}}}function Di(Ct){return(...xt)=>{Promise.resolve().then(()=>Ct(...xt))}}class ki{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=Ze.NO_ERROR,this.sendPromise_=new Promise(xt=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=Ze.ABORT,xt()}),this.xhr_.addEventListener("error",()=>{this.errorCode_=Ze.NETWORK_ERROR,xt()}),this.xhr_.addEventListener("load",()=>{xt()})})}send(xt,kn,Hn,fi,Hi){if(this.sent_)throw at("cannot .send() more than once");if((0,y.zJ)(xt)&&Hn&&(this.xhr_.withCredentials=!0),this.sent_=!0,this.xhr_.open(kn,xt,!0),void 0!==Hi)for(const ur in Hi)Hi.hasOwnProperty(ur)&&this.xhr_.setRequestHeader(ur,Hi[ur].toString());return void 0!==fi?this.xhr_.send(fi):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw at("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw at("cannot .getStatus() before sending");try{return this.xhr_.status}catch{return-1}}getResponse(){if(!this.sent_)throw at("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw at("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(xt){return this.xhr_.getResponseHeader(xt)}addUploadProgressListener(xt){null!=this.xhr_.upload&&this.xhr_.upload.addEventListener("progress",xt)}removeUploadProgressListener(xt){null!=this.xhr_.upload&&this.xhr_.upload.removeEventListener("progress",xt)}}class _r extends ki{initXhr(){this.xhr_.responseType="text"}}function Cr(){return new _r}class Xs{isExponentialBackoffExpired(){return this.sleepTime>this.maxSleepTime}constructor(xt,kn,Hn=null){this._transferred=0,this._needToFetchStatus=!1,this._needToFetchMetadata=!1,this._observers=[],this._error=void 0,this._uploadUrl=void 0,this._request=void 0,this._chunkMultiplier=1,this._resolve=void 0,this._reject=void 0,this._ref=xt,this._blob=kn,this._metadata=Hn,this._mappings=Ce(),this._resumable=this._shouldDoResumable(this._blob),this._state="running",this._errorHandler=fi=>
1{if(this._request=void 0,this._chunkMultiplier=1,fi._codeEquals(ye.CANCELED))this._needToFetchStatus=!0,this.completeTransitions_();else{const Hi=this.isExponentialBackoffExpired();if(We(fi.status,[])){if(!Hi)return this.sleepTime=Math.max(2*this.sleepTime,1e3),this._needToFetchStatus=!0,void this.completeTransitions_();fi=ge()}this._error=fi,this._transition("error")}},this._metadataErrorHandler=fi=>{this._request=void 0,fi._codeEquals(ye.CANCELED)?this.completeTransitions_():(this._error=fi,this._transition("error"))},this.sleepTime=0,this.maxSleepTime=this._ref.storage.maxUploadRetryTime,this._promise=new Promise((fi,Hi)=>{this._resolve=fi,this._reject=Hi,this._start()}),this._promise.then(null,()=>{})}_makeProgressCallback(){const xt=this._transferred;return kn=>this._updateProgress(xt+kn)}_shouldDoResumable(xt){return xt.size()>262144}_start(){"running"===this._state&&void 0===this._request&&(this._resumable?void 0===this._uploadUrl?this._createResumable():this._needToFetchStatus?this._fetchStatus():this._needToFetchMetadata?this._fetchMetadata():this.pendingTimeout=setTimeout(()=>{this.pendingTimeout=void 0,this._continueUpload()},this.sleepTime):this._oneShotUpload())}_resolveToken(xt){Promise.all([this._ref.storage._getAuthToken(),this._ref.storage._getAppCheckToken()]).then(([kn,Hn])=>{switch(this._state){case"running":xt(kn,Hn);break;case"canceling":this._transition("canceled");break;case"pausing":this._transition("paused")}})}_createResumable(){this._resolveToken((xt,kn)=>{const Hn=function Bt(Ct,xt,kn,Hn,fi){const Hi=xt.bucketOnlyServerUrl(),ur=Zn(xt,Hn,fi),Lr={name:ur.fullPath},Or=je(Hi,Ct.host,Ct._protocol),Gr={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":`${Hn.size()}`,"X-Goog-Upload-Header-Content-Type":ur.contentType,"Content-Type":"application/json; charset=utf-8"},lo=_e(ur,kn),No=new Yt(Or,"POST",function Gs(Do){let Oo;ft(Do);try{Oo=Do.getResponseHeader("X-Goog-Upload-URL")}catch{On(!1)}return On(yt(Oo)),Oo},Ct.maxUploadRetryTime);return No.urlParams=Lr,No.headers=Gr,No.body=lo,No.errorHandler=Er(xt),No}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),fi=this._ref.storage._makeRequest(Hn,Cr,xt,kn);this._request=fi,fi.getPromise().then(Hi=>{this._request=void 0,this._uploadUrl=Hi,this._needToFetchStatus=!1,this.completeTransitions_()},this._errorHandler)})}_fetchStatus(){const xt=this._uploadUrl;this._resolveToken((kn,Hn)=>{const fi=function xn(Ct,xt,kn,Hn){const Or=new Yt(kn,"POST",function Hi(is){const Gr=ft(is,["active","final"]);let lo=null;try{lo=is.getResponseHeader("X-Goog-Upload-Size-Received")}catch{On(!1)}lo||On(!1);const ms=Number(lo);return On(!isNaN(ms)),new zn(ms,Hn.size(),"final"===Gr)},Ct.maxUploadRetryTime);return Or.headers={"X-Goog-Upload-Command":"query"},Or.errorHandler=Er(xt),Or}(this._ref.storage,this._ref._location,xt,this._blob),Hi=this._ref.storage._makeRequest(fi,Cr,kn,Hn);this._request=Hi,Hi.getPromise().then(ur=>{this._request=void 0,this._updateProgress(ur.current),this._needToFetchStatus=!1,ur.finalized&&(this._needToFetchMetadata=!0),this.completeTransitions_()},this._errorHandler)})}_continueUpload(){const xt=262144*this._chunkMultiplier,kn=new zn(this._transferred,this._blob.size()),Hn=this._uploadUrl;this._resolveToken((fi,Hi)=>{let ur;try{ur=function Gi(Ct,xt,kn,Hn,fi,Hi,ur,Lr){const Or=new zn(0,0);if(ur?(Or.current=ur.current,Or.total=ur.total):(Or.current=0,Or.total=Hn.size()),Hn.size()!==Or.total)throw function lt(){return new x(ye.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.")}();const is=Or.total-Or.current;let Gr=is;fi>0&&(Gr=Math.min(Gr,fi));const lo=Or.current;let Gs="";Gs=0===Gr?"finalize":is===Gr?"upload, finalize":"upload";const No={"X-Goog-Upload-Command":Gs,"X-Goog-Upload-Offset":`${Or.current}`},Do=Hn.slice(lo,lo+Gr);if(null===Do)throw $e();const ko=new Yt(kn,"POST",function Oo(Uo,no){const la=ft(Uo,["active","final"]),Ka=Or.current+Gr,Qa=Hn.size();let cs;return cs="final"===la?wi(xt,Hi)(Uo,no):null,new zn(Ka,Qa,"final"===la,cs)},xt.maxUploadRetryTime);return ko.headers=No,ko.body=Do.uploadData(),ko.progressCallback=Lr||null,ko.errorHandler=Er(Ct),ko}(this._ref._location,this._ref.storage,Hn,this._blob,xt,this._mappings,kn,this._makeProgressCallback())}catch(Or){return this._error=Or,void this._transition("error")}
1const Lr=this._ref.storage._makeRequest(ur,Cr,fi,Hi,!1);this._request=Lr,Lr.getPromise().then(Or=>{this._increaseMultiplier(),this._request=void 0,this._updateProgress(Or.current),Or.finalized?(this._metadata=Or.metadata,this._transition("success")):this.completeTransitions_()},this._errorHandler)})}_increaseMultiplier(){262144*this._chunkMultiplier*2<33554432&&(this._chunkMultiplier*=2)}_fetchMetadata(){this._resolveToken((xt,kn)=>{const Hn=an(this._ref.storage,this._ref._location,this._mappings),fi=this._ref.storage._makeRequest(Hn,Cr,xt,kn);this._request=fi,fi.getPromise().then(Hi=>{this._request=void 0,this._metadata=Hi,this._transition("success")},this._metadataErrorHandler)})}_oneShotUpload(){this._resolveToken((xt,kn)=>{const Hn=function gt(Ct,xt,kn,Hn,fi){const Hi=xt.bucketOnlyServerUrl(),ur={"X-Goog-Upload-Protocol":"multipart"},Or=function Lr(){let ko="";for(let Uo=0;Uo<2;Uo++)ko+=Math.random().toString().slice(2);return ko}();ur["Content-Type"]="multipart/related; boundary="+Or;const is=Zn(xt,Hn,fi),Gr=_e(is,kn),Gs=ci.getBlob("--"+Or+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+Gr+"\r\n--"+Or+"\r\nContent-Type: "+is.contentType+"\r\n\r\n",Hn,"\r\n--"+Or+"--");if(null===Gs)throw $e();const No={name:is.fullPath},Do=je(Hi,Ct.host,Ct._protocol),qo=Ct.maxUploadRetryTime,Js=new Yt(Do,"POST",wi(Ct,kn),qo);return Js.urlParams=No,Js.headers=ur,Js.body=Gs.uploadData(),Js.errorHandler=Er(xt),Js}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),fi=this._ref.storage._makeRequest(Hn,Cr,xt,kn);this._request=fi,fi.getPromise().then(Hi=>{this._request=void 0,this._metadata=Hi,this._updateProgress(this._blob.size()),this._transition("success")},this._errorHandler)})}_updateProgress(xt){const kn=this._transferred;this._transferred=xt,this._transferred!==kn&&this._notifyObservers()}_transition(xt){if(this._state!==xt)switch(xt){case"canceling":case"pausing":this._state=xt,void 0!==this._request?this._request.cancel():this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=void 0,this.completeTransitions_());break;case"running":const kn="paused"===this._state;this._state=xt,kn&&(this._notifyObservers(),this._start());break;case"paused":case"error":case"success":this._state=xt,this._notifyObservers();break;case"canceled":this._error=ue(),this._state=xt,this._notifyObservers()}}completeTransitions_(){switch(this._state){case"pausing":this._transition("paused");break;case"canceling":this._transition("canceled");break;case"running":this._start()}}get snapshot(){const xt=wn(this._state);return{bytesTransferred:this._transferred,totalBytes:this._blob.size(),state:xt,metadata:this._metadata,task:this,ref:this._ref}}on(xt,kn,Hn,fi){const Hi=new In(kn||void 0,Hn||void 0,fi||void 0);return this._addObserver(Hi),()=>{this._removeObserver(Hi)}}then(xt,kn){return this._promise.then(xt,kn)}catch(xt){return this.then(null,xt)}_addObserver(xt){this._observers.push(xt),this._notifyObserver(xt)}_removeObserver(xt){const kn=this._observers.indexOf(xt);-1!==kn&&this._observers.splice(kn,1)}_notifyObservers(){this._finishPromise(),this._observers.slice().forEach(kn=>{this._notifyObserver(kn)})}_finishPromise(){if(void 0!==this._resolve){let xt=!0;switch(wn(this._state)){case $t.SUCCESS:Di(this._resolve.bind(null,this.snapshot))();break;case $t.CANCELED:case $t.ERROR:Di(this._reject.bind(null,this._error))();break;default:xt=!1}xt&&(this._resolve=void 0,this._reject=void 0)}}_notifyObserver(xt){switch(wn(this._state)){case $t.RUNNING:case $t.PAUSED:xt.next&&Di(xt.next.bind(xt,this.snapshot))();break;case $t.SUCCESS:xt.complete&&Di(xt.complete.bind(xt))();break;default:xt.error&&Di(xt.error.bind(xt,this._error))()}}resume(){const xt="paused"===this._state||"pausing"===this._state;return xt&&this._transition("running"),xt}pause(){const xt="running"===this._state;return xt&&this._transition("pausing"),xt}cancel(){const xt="running"===this._state||"pausing"===this._state;return xt&&this._transition("canceling"),xt}}class Fs{constructor(xt,kn){this._service=xt,this._location=kn instanceof Ut?kn:Ut.makeFromUrl(kn,xt.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(xt,kn){return new Fs(xt,kn)}get root(){const xt=new Ut(this._location.bucket,"");return this._newRef(this._service,xt)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return un(this._location.path)}get storage(){return this._service}get parent(){const xt=function fr(Ct){if(0===Ct.length)return null;const xt=Ct.lastIndexOf("/");return-1===xt?"":Ct.slice(0,xt)}(this._location.path);if(null===xt)return null;
1const kn=new Ut(this._location.bucket,xt);return new Fs(this._service,kn)}_throwIfRoot(xt){if(""===this._location.path)throw Ne(xt)}}function Jt(Ct,xt,kn){return Ri.apply(this,arguments)}function Ri(){return(Ri=(0,s.A)(function*(Ct,xt,kn){const fi=yield Q(Ct,{pageToken:kn});xt.prefixes.push(...fi.prefixes),xt.items.push(...fi.items),null!=fi.nextPageToken&&(yield Jt(Ct,xt,fi.nextPageToken))})).apply(this,arguments)}function Q(Ct,xt){null!=xt&&"number"==typeof xt.maxResults&&ie("options.maxResults",1,1e3,xt.maxResults);const kn=xt||{},Hn=Pt(Ct.storage,Ct._location,"/",kn.pageToken,kn.maxResults);return Ct.storage.makeRequestWithTokens(Hn,Cr)}function bn(Ct){Ct._throwIfRoot("getDownloadURL");const xt=function De(Ct,xt,kn){const fi=je(xt.fullServerUrl(),Ct.host,Ct._protocol),ur=Ct.maxOperationRetryTime,Lr=new Yt(fi,"GET",function Tr(Ct,xt){return function kn(Hn,fi){const Hi=fe(Ct,fi,xt);return On(null!==Hi),function we(Ct,xt,kn,Hn){const fi=Un(xt);if(null===fi||!yt(fi.downloadTokens))return null;const Hi=fi.downloadTokens;if(0===Hi.length)return null;const ur=encodeURIComponent;return Hi.split(",").map(is=>{const lo=Ct.fullPath;return je("/b/"+ur(Ct.bucket)+"/o/"+ur(lo),kn,Hn)+rt({alt:"media",token:is})})[0]}(Hi,fi,Ct.host,Ct._protocol)}}(Ct,kn),ur);return Lr.errorHandler=_n(xt),Lr}(Ct.storage,Ct._location,Ce());return Ct.storage.makeRequestWithTokens(xt,Cr).then(kn=>{if(null===kn)throw function q(){return new x(ye.NO_DOWNLOAD_URL,"The given file does not have any download URLs.")}();return kn})}function Yr(Ct,xt){const kn=function Vt(Ct,xt){const kn=xt.split("/").filter(Hn=>Hn.length>0).join("/");return 0===Ct.length?kn:Ct+"/"+kn}(Ct._location.path,xt),Hn=new Ut(Ct._location.bucket,kn);return new Fs(Ct.storage,Hn)}function Ho(Ct,xt){if(Ct instanceof An){const kn=Ct;if(null==kn._bucket)throw function Ke(){return new x(ye.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+M+"' property when initializing the app?")}();const Hn=new Fs(kn,kn._bucket);return null!=xt?Ho(Hn,xt):Hn}return void 0!==xt?Yr(Ct,xt):Ct}function Co(Ct,xt){if(xt&&function oo(Ct){return/^[A-Za-z]+:\/\//.test(Ct)}(xt)){if(Ct instanceof An)return function to(Ct,xt){return new Fs(Ct,xt)}(Ct,xt);throw ae("To use ref(service, url), the first argument must be a Storage instance.")}return Ho(Ct,xt)}function ia(Ct,xt){const kn=xt?.[M];return null==kn?null:Ut.makeFromBucketSpec(kn,Ct)}class An{constructor(xt,kn,Hn,fi,Hi,ur=!1){this.app=xt,this._authProvider=kn,this._appCheckProvider=Hn,this._url=fi,this._firebaseVersion=Hi,this._isUsingEmulator=ur,this._bucket=null,this._host=T,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=fi?Ut.makeFromBucketSpec(fi,this._host):ia(this._host,this.app.options)}get host(){return this._host}set host(xt){this._host=xt,this._bucket=null!=this._url?Ut.makeFromBucketSpec(this._url,xt):ia(xt,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(xt){ie("time",0,Number.POSITIVE_INFINITY,xt),this._maxUploadRetryTime=xt}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(xt){ie("time",0,Number.POSITIVE_INFINITY,xt),this._maxOperationRetryTime=xt}_getAuthToken(){var xt=this;return(0,s.A)(function*(){if(xt._overrideAuthToken)return xt._overrideAuthToken;const kn=xt._authProvider.getImmediate({optional:!0});if(kn){const Hn=yield kn.getToken();if(null!==Hn)return Hn.accessToken}return null})()}_getAppCheckToken(){var xt=this;return(0,s.A)(function*(){if((0,h._isFirebaseServerApp)(xt.app)&&xt.app.settings.appCheckToken)return xt.app.settings.appCheckToken;const kn=xt._appCheckProvider.getImmediate({optional:!0});return kn?(yield kn.getToken()).token:null})()}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEach(xt=>xt.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(xt){return new Fs(this,xt)}_makeRequest(xt,kn,Hn,fi,Hi=!0){if(this._deleted)return new nt(he());{const ur=function mr(Ct,xt,kn,Hn,fi,Hi,ur=!0,Lr=!1){const Or=rt(Ct.urlParam
1s),is=Ct.url+Or,Gr=Object.assign({},Ct.headers);return function ti(Ct,xt){xt&&(Ct["X-Firebase-GMPID"]=xt)}(Gr,xt),function It(Ct,xt){null!==xt&&xt.length>0&&(Ct.Authorization="Firebase "+xt)}(Gr,kn),function Zt(Ct,xt){Ct["X-Firebase-Storage-Version"]="webjs/"+(xt??"AppManager")}(Gr,Hi),function Wn(Ct,xt){null!==xt&&(Ct["X-Firebase-AppCheck"]=xt)}(Gr,Hn),new Ot(is,Ct.method,Gr,Ct.body,Ct.successCodes,Ct.additionalRetryCodes,Ct.handler,Ct.errorHandler,Ct.timeout,Ct.progressCallback,fi,ur,Lr)}(xt,this._appId,Hn,fi,kn,this._firebaseVersion,Hi,this._isUsingEmulator);return this._requests.add(ur),ur.getPromise().then(()=>this._requests.delete(ur),()=>this._requests.delete(ur)),ur}}makeRequestWithTokens(xt,kn){var Hn=this;return(0,s.A)(function*(){const[fi,Hi]=yield Promise.all([Hn._getAuthToken(),Hn._getAppCheckToken()]);return Hn._makeRequest(xt,kn,fi,Hi).getPromise()})()}}const Lt="@firebase/storage",sn="0.13.14",dt="storage";function Es(Ct,xt,kn){return function Pn(Ct,xt,kn){return Ct._throwIfRoot("uploadBytesResumable"),new Xs(Ct,new ci(xt),kn)}(Ct=(0,y.Ku)(Ct),xt,kn)}function Mn(Ct){return function st(Ct){Ct._throwIfRoot("getMetadata");const xt=an(Ct.storage,Ct._location,Ce());return Ct.storage.makeRequestWithTokens(xt,Cr)}(Ct=(0,y.Ku)(Ct))}function Fn(Ct,xt){return function ot(Ct,xt){Ct._throwIfRoot("updateMetadata");const kn=function _t(Ct,xt,kn,Hn){const Hi=je(xt.fullServerUrl(),Ct.host,Ct._protocol),Lr=_e(kn,Hn),is=Ct.maxOperationRetryTime,Gr=new Yt(Hi,"PATCH",wi(Ct,Hn),is);return Gr.headers={"Content-Type":"application/json; charset=utf-8"},Gr.body=Lr,Gr.errorHandler=_n(xt),Gr}(Ct.storage,Ct._location,xt,Ce());return Ct.storage.makeRequestWithTokens(kn,Cr)}(Ct=(0,y.Ku)(Ct),xt)}function Vn(Ct,xt){return Q(Ct=(0,y.Ku)(Ct),xt)}function Ii(Ct){return function Ni(Ct){const xt={prefixes:[],items:[]};return Jt(Ct,xt).then(()=>xt)}(Ct=(0,y.Ku)(Ct))}function Ui(Ct){return bn(Ct=(0,y.Ku)(Ct))}function Rr(Ct){return function _i(Ct){Ct._throwIfRoot("deleteObject");const xt=function et(Ct,xt){const Hn=je(xt.fullServerUrl(),Ct.host,Ct._protocol),Lr=new Yt(Hn,"DELETE",function ur(Or,is){},Ct.maxOperationRetryTime);return Lr.successCodes=[200,204],Lr.errorHandler=_n(xt),Lr}(Ct.storage,Ct._location);return Ct.storage.makeRequestWithTokens(xt,Cr)}(Ct=(0,y.Ku)(Ct))}function fs(Ct,xt){return Co(Ct=(0,y.Ku)(Ct),xt)}function Rs(Ct,xt){return Yr(Ct,xt)}function ls(Ct=(0,h.getApp)(),xt){Ct=(0,y.Ku)(Ct);const Hn=(0,h._getProvider)(Ct,dt).getImmediate({identifier:xt}),fi=(0,y.yU)("storage");return fi&&ds(Hn,...fi),Hn}function ds(Ct,xt,kn,Hn={}){!function Dt(Ct,xt,kn,Hn={}){Ct.host=`${xt}:${kn}`;const fi=(0,y.zJ)(xt);fi&&((0,y.gE)(`https://${Ct.host}/b`),(0,y.P1)("Storage",!0)),Ct._isUsingEmulator=!0,Ct._protocol=fi?"https":"http";const{mockUserToken:Hi}=Hn;Hi&&(Ct._overrideAuthToken="string"==typeof Hi?Hi:(0,y.Fy)(Hi,Ct.app.options.projectId))}(Ct,xt,kn,Hn)}function As(Ct,{instanceIdentifier:xt}){const kn=Ct.getProvider("app").getImmediate(),Hn=Ct.getProvider("auth-internal"),fi=Ct.getProvider("app-check-internal");return new An(kn,Hn,fi,xt,h.SDK_VERSION)}!function kl(){(0,h._registerComponent)(new v.uA(dt,As,"PUBLIC").setMultipleInstances(!0)),(0,h.registerVersion)(Lt,sn,""),(0,h.registerVersion)(Lt,sn,"esm2017")}()},1871(tn,Ye,d){"use strict";d.d(Ye,{cY:()=>$e,FA:()=>Wn,g:()=>ti,dM:()=>It,K3:()=>k,u:()=>ye,Uj:()=>x,p9:()=>wi,gR:()=>ai,Fy:()=>ae,tD:()=>Ae,bD:()=>rr,zw:()=>Mt,hp:()=>Vt,T9:()=>Je,Tj:()=>ue,yU:()=>kt,XA:()=>Ke,mS:()=>Qe,Ku:()=>Er,ZQ:()=>nt,Bd:()=>qt,sr:()=>yt,zJ:()=>lt,c1:()=>Pe,Im:()=>Vi,lT:()=>ie,zW:()=>Ot,jZ:()=>cn,Ll:()=>hn,lV:()=>wt,nr:()=>Ze,Ov:()=>We,p7:()=>Te,gE:()=>q,Am:()=>Un,I9:()=>fr,P1:()=>Ut,eX:()=>Me});var o=d(467);const T=function(_n){const an=[];let Pt=0;for(let ke=0;ke<_n.length;ke++){let De=_n.charCodeAt(ke);De<128?an[Pt++]=De:De<2048?(an[Pt++]=De>>6|192,an[Pt++]=63&De|128):55296==(64512&De)&&ke+1<_n.length&&56320==(64512&_n.charCodeAt(ke+1))?(De=65536+((1023&De)<<10)+(1023&_n.charCodeAt(++ke)),an[Pt++]=De>>18|240,an[Pt++]=De>>12&63|128,an[Pt++]=De>>6&63|128,an[Pt++]=63&De|128):(an[Pt++]=De>>12|224,an[Pt++]=De>>6&63|128,an[Pt++]=63&De|128)}return an},k={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(_n,an){if(!Array.isArray(_n))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Pt=an?this.byteToCharMapWebSafe_:this.byteToCharMap_,ke=[];for(let De=0;De<_n.length;De+=3){const _t=_n[De],et=De+1<_n.length,Rn=et?_n[De+1]:0,Zn=De+2<_n.length,gt=Zn?_n[De+2]:0;let Bt=(15&Rn)<<2|gt>>6,xn=63>Zn||(xn=64,et||(Bt=64)),ke.push(Pt[_t>>2],Pt[(3&_t)<<4|Rn>>4],Pt[Bt],Pt[xn])}return ke.join("")},encodeString(_n,an){return this.HAS_NATIVE_SUPPORT&&!an?btoa(_n):this.encodeByteArray(T(_n),an)},decodeString(_n,an){return this.HAS_NATIVE_SUPPORT&&!an?atob(_n):function(_n){const an=[];let Pt=0,ke=0;for(;Pt<_n.length;){const De=_n[Pt++];
1if(De<128)an[ke++]=String.fromCharCode(De);else if(De>191&&De<224){const _t=_n[Pt++];an[ke++]=String.fromCharCode((31&De)<<6|63&_t)}else if(De>239&&De<365){const Zn=((7&De)<<18|(63&_n[Pt++])<<12|(63&_n[Pt++])<<6|63&_n[Pt++])-65536;an[ke++]=String.fromCharCode(55296+(Zn>>10)),an[ke++]=String.fromCharCode(56320+(1023&Zn))}else{const _t=_n[Pt++],et=_n[Pt++];an[ke++]=String.fromCharCode((15&De)<<12|(63&_t)<<6|63&et)}}return an.join("")}(this.decodeStringToByteArray(_n,an))},decodeStringToByteArray(_n,an){this.init_();const Pt=an?this.charToByteMapWebSafe_:this.charToByteMap_,ke=[];for(let De=0;De<_n.length;){const _t=Pt[_n.charAt(De++)],Rn=De<_n.length?Pt[_n.charAt(De)]:0;++De;const gt=De<_n.length?Pt[_n.charAt(De)]:64;++De;const ft=De<_n.length?Pt[_n.charAt(De)]:64;if(++De,null==_t||null==Rn||null==gt||null==ft)throw new H;ke.push(_t<<2|Rn>>4),64!==gt&&(ke.push(Rn<<4&240|gt>>2),64!==ft&&ke.push(gt<<6&192|ft))}return ke},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let _n=0;_n<this.ENCODED_VALS.length;_n++)this.byteToCharMap_[_n]=this.ENCODED_VALS.charAt(_n),this.charToByteMap_[this.byteToCharMap_[_n]]=_n,this.byteToCharMapWebSafe_[_n]=this.ENCODED_VALS_WEBSAFE.charAt(_n),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[_n]]=_n,_n>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(_n)]=_n,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(_n)]=_n)}}};
1class H extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const x=function(_n){return function(_n){const an=T(_n);return k.encodeByteArray(an,!0)}(_n).replace(/\./g,"")},ye=function(_n){try{return k.decodeString(_n,!0)}catch(an){console.error("base64Decode failed: ",an)}return null};function Mt(_n,an){if(!(an instanceof Object))return an;switch(an.constructor){case Date:return new Date(an.getTime());case Object:void 0===_n&&(_n={});break;case Array:_n=[];break;default:return an}for(const Pt in an)!an.hasOwnProperty(Pt)||!Ge(Pt)||(_n[Pt]=Mt(_n[Pt],an[Pt]));return _n}function Ge(_n){return"__proto__"!==_n}function Qe(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}const ge=()=>{try{return Qe().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const _n=process.env.__FIREBASE_DEFAULTS__;return _n?JSON.parse(_n):void 0})()||(()=>{if(typeof document>"u")return;let _n;try{_n=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const an=_n&&ye(_n[1]);return an&&JSON.parse(an)})()}catch(_n){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${_n}`)}},ue=_n=>{var an,Pt;return null===(Pt=null===(an=ge())||void 0===an?void 0:an.emulatorHosts)||void 0===Pt?void 0:Pt[_n]},kt=_n=>{const an=ue(_n);if(!an)return;const Pt=an.lastIndexOf(":");if(Pt<=0||Pt+1===an.length)throw new Error(`Invalid host ${an} with no separate hostname and port!`);const ke=parseInt(an.substring(Pt+1),10);return"["===an[0]?[an.substring(1,Pt-1),ke]:[an.substring(0,Pt),ke]},Je=()=>{var _n;return null===(_n=ge())||void 0===_n?void 0:_n.config},Ke=_n=>{var an;return null===(an=ge())||void 0===an?void 0:an[`_${_n}`]};class $e{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((an,Pt)=>{this.resolve=an,this.reject=Pt})}wrapCallback(an){return(Pt,ke)=>{Pt?this.reject(Pt):this.resolve(ke),"function"==typeof an&&(this.promise.catch(()=>{}),1===an.length?an(Pt):an(Pt,ke))}}}function lt(_n){try{return(_n.startsWith("http://")||_n.startsWith("https://")?new URL(_n).hostname:_n).endsWith(".cloudworkstations.dev")}catch{return!1}}function q(_n){return de.apply(this,arguments)}function de(){return(de=(0,o.A)(function*(_n){return(yield fetch(_n,{credentials:"include"})).ok})).apply(this,arguments)}function ae(_n,an){if(_n.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const ke=an||"demo-project",De=_n.iat||0,_t=_n.sub||_n.user_id;if(!_t)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const et=Object.assign({iss:`https://securetoken.google.com/${ke}`,aud:ke,iat:De,exp:De+3600,auth_time:De,sub:_t,user_id:_t,firebase:{sign_in_provider:"custom",identities:{}}},_n);return[x(JSON.stringify({alg:"none",type:"JWT"})),x(JSON.stringify(et)),""].join(".")}const he={};let at=!1;function Ut(_n,an){if(typeof window>"u"||typeof document>"u"||!lt(window.location.host)||he[_n]===an||he[_n]||at)return;function Pt(Bt){return`__firebase__banner__${Bt}`}he[_n]=an;const ke="__firebase__banner",_t=function Ne(){const _n={prod:[],emulator:[]};for(const an of Object.keys(he))he[an]?_n.emulator.push(an):_n.prod.push(an);return _n}().prod.length>0;function ft(){const Bt=function ve(_n){let an=document.getElementById(_n),Pt=!1;return an||(an=document.createElement("div"),an.setAttribute("id",_n),Pt=!0),{created:Pt,element:an}}(ke),xn=Pt("text"),Ti=document.getElementById(xn)||document.createElement("span"),Gi=Pt("learnmore"),Mr=document.getElementById(Gi)||document.createElement("a"),$t=Pt("preprendIcon"),wn=document.getElementById($t)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(Bt.created){const In=Bt.element;(function Rn(Bt){Bt.style.display="flex",Bt.style.background="#7faaf0",Bt.style.position="fixed",Bt.style.bottom="5px",Bt.style.left="5px",Bt.style.padding=".5em",Bt.style.borderRadius="5px",Bt.style.alignItems="center"}
1)(In),function zn(Bt,xn){Bt.setAttribute("id",xn),Bt.innerText="Learn more",Bt.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",Bt.setAttribute("target","__blank"),Bt.style.paddingLeft="5px",Bt.style.textDecoration="underline"}(Mr,Gi);const Di=function gt(){const Bt=document.createElement("span");return Bt.style.cursor="pointer",Bt.style.marginLeft="16px",Bt.style.fontSize="24px",Bt.innerHTML=" ×",Bt.onclick=()=>{at=!0,function et(){const Bt=document.getElementById(ke);Bt&&Bt.remove()}()},Bt}();(function Zn(Bt,xn){Bt.setAttribute("width","24"),Bt.setAttribute("id",xn),Bt.setAttribute("height","24"),Bt.setAttribute("viewBox","0 0 24 24"),Bt.setAttribute("fill","none"),Bt.style.marginLeft="-6px"})(wn,$t),In.append(wn,Ti,Mr,Di),document.body.appendChild(In)}_t?(Ti.innerText="Preview backend disconnected.",wn.innerHTML='<g clip-path="url(#clip0_6013_33858)">\n<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>\n</g>\n<defs>\n<clipPath id="clip0_6013_33858">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>'):(wn.innerHTML='<g clip-path="url(#clip0_6083_34804)">\n<path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/>\n</g>\n<defs>\n<clipPath id="clip0_6083_34804">\n<rect width="24" height="24" fill="white"/>\n</clipPath>\n</defs>',Ti.innerText="Preview backend running in this workspace."),Ti.setAttribute("id",xn)}"loading"===document.readyState?window.addEventListener("DOMContentLoaded",ft):ft()}function nt(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function cn(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(nt())}function hn(){var _n;const an=null===(_n=ge())||void 0===_n?void 0:_n.forceEnvironment;if("node"===an)return!0;if("browser"===an)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function qt(){return typeof window<"u"||Te()}function Te(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function Pe(){return typeof navigator<"u"&&"Cloudflare-Workers"===navigator.userAgent}function yt(){const _n="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof _n&&void 0!==_n.id}function wt(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function ie(){const _n=nt();return _n.indexOf("MSIE ")>=0||_n.indexOf("Trident/")>=0}function Ze(){return!hn()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function We(){return!hn()&&!!navigator.userAgent&&(navigator.userAgent.includes("Safari")||navigator.userAgent.includes("WebKit"))&&!navigator.userAgent.includes("Chrome")}function Ot(){try{return"object"==typeof indexedDB}catch{return!1}}function Me(){return new Promise((_n,an)=>{try{let Pt=!0;const ke="validate-browser-context-for-indexeddb-analytics-module",De=self.indexedDB.open(ke);De.onsuccess=()=>{De.result.close(),Pt||self.indexedDB.deleteDatabase(ke),_n(!0)},De.onupgradeneeded=()=>{Pt=!1},De.onerror=()=>{var _t;an((null===(_t=De.error)||void 0===_t?void 0:_t.message)||"")}}catch(Pt){an(Pt)}})}function It(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}
1class ti extends Error{constructor(an,Pt,ke){super(Pt),this.code=an,this.customData=ke,this.name="FirebaseError",Object.setPrototypeOf(this,ti.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Wn.prototype.create)}}class Wn{constructor(an,Pt,ke){this.service=an,this.serviceName=Pt,this.errors=ke}create(an,...Pt){const ke=Pt[0]||{},De=`${this.service}/${an}`,_t=this.errors[an],et=_t?function mr(_n,an){return _n.replace(Bn,(Pt,ke)=>{const De=an[ke];return null!=De?String(De):`<${ke}?>`})}(_t,ke):"Error";return new ti(De,`${this.serviceName}: ${et} (${De}).`,ke)}}const Bn=/\{\$([^}]+)}/g;function ai(_n,an){return Object.prototype.hasOwnProperty.call(_n,an)}function Vi(_n){for(const an in _n)if(Object.prototype.hasOwnProperty.call(_n,an))return!1;return!0}function rr(_n,an){if(_n===an)return!0;const Pt=Object.keys(_n),ke=Object.keys(an);for(const De of Pt){if(!ke.includes(De))return!1;const _t=_n[De],et=an[De];if(Sn(_t)&&Sn(et)){if(!rr(_t,et))return!1}else if(_t!==et)return!1}for(const De of ke)if(!Pt.includes(De))return!1;return!0}function Sn(_n){return null!==_n&&"object"==typeof _n}function Un(_n){const an=[];for(const[Pt,ke]of Object.entries(_n))Array.isArray(ke)?ke.forEach(De=>{an.push(encodeURIComponent(Pt)+"="+encodeURIComponent(De))}):an.push(encodeURIComponent(Pt)+"="+encodeURIComponent(ke));return an.length?"&"+an.join("&"):""}function fr(_n){const an={};return _n.replace(/^\?/,"").split("&").forEach(ke=>{if(ke){const[De,_t]=ke.split("=");an[decodeURIComponent(De)]=decodeURIComponent(_t)}}),an}function Vt(_n){const an=_n.indexOf("?");if(!an)return"";const Pt=_n.indexOf("#",an);return _n.substring(an,Pt>0?Pt:void 0)}function Ae(_n,an){const Pt=new xe(_n,an);return Pt.subscribe.bind(Pt)}class xe{constructor(an,Pt){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Pt,this.task.then(()=>{an(this)}).catch(ke=>{this.error(ke)})}next(an){this.forEachObserver(Pt=>{Pt.next(an)})}error(an){this.forEachObserver(Pt=>{Pt.error(an)}),this.close(an)}complete(){this.forEachObserver(an=>{an.complete()}),this.close()}subscribe(an,Pt,ke){let De;if(void 0===an&&void 0===Pt&&void 0===ke)throw new Error("Missing Observer.");De=function Ee(_n,an){if("object"!=typeof _n||null===_n)return!1;for(const Pt of an)if(Pt in _n&&"function"==typeof _n[Pt])return!0;return!1}(an,["next","error","complete"])?an:{next:an,error:Pt,complete:ke},void 0===De.next&&(De.next=Ce),void 0===De.error&&(De.error=Ce),void 0===De.complete&&(De.complete=Ce);const _t=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?De.error(this.finalError):De.complete()}catch{}}),this.observers.push(De),_t}unsubscribeOne(an){void 0===this.observers||void 0===this.observers[an]||(delete this.observers[an],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(an){if(!this.finalized)for(let Pt=0;Pt<this.observers.length;Pt++)this.sendOne(Pt,an)}sendOne(an,Pt){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[an])try{Pt(this.observers[an])}catch(ke){typeof console<"u"&&console.error&&console.error(ke)}})}close(an){this.finalized||(this.finalized=!0,void 0!==an&&(this.finalError=an),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function Ce(){}function wi(_n,an=1e3,Pt=2){const ke=an*Math.pow(Pt,_n),De=Math.round(.5*ke*(Math.random()-.5)*2);return Math.min(144e5,ke+De)}function Er(_n){return _n&&_n._delegate?_n._delegate:_n}},1076(tn,Ye,d){"use strict";d.d(Ye,{Am:()=>Yn,Bd:()=>de,FA:()=>Ie,Ku:()=>_e,T9:()=>ue,Uj:()=>H,XA:()=>kt,ZQ:()=>$e,bD:()=>Oi,c1:()=>he,cY:()=>Je,eX:()=>Te,g:()=>wt,gR:()=>ti,jZ:()=>lt,lV:()=>ve,mS:()=>Mt,p7:()=>ae,sr:()=>Ne,tD:()=>ai,u:()=>B,zW:()=>qt,zw:()=>ye});const y=function(L){const j=[];let X=0;for(let qe=0;qe<L.length;qe++){let Yt=L.charCodeAt(qe);Yt<128?j[X++]=Yt:Yt<2048?(j[X++]=Yt>>6|192,j[X++]=63&Yt|128):55296==(64512&Yt)&&qe+1<L.length&&56320==(64512&L.charCodeAt(qe+1))?(Yt=65536+((1023&Yt)<<10)+(1023&L.charCo
1deAt(++qe)),j[X++]=Yt>>18|240,j[X++]=Yt>>12&63|128,j[X++]=Yt>>6&63|128,j[X++]=63&Yt|128):(j[X++]=Yt>>12|224,j[X++]=Yt>>6&63|128,j[X++]=63&Yt|128)}return j},T={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(L,j){if(!Array.isArray(L))throw Error("encodeByteArray takes an array as a parameter");this.init_();const X=j?this.byteToCharMapWebSafe_:this.byteToCharMap_,qe=[];for(let Yt=0;Yt<L.length;Yt+=3){const On=L[Yt],wi=Yt+1<L.length,Qi=wi?L[Yt+1]:0,Tr=Yt+2<L.length,Er=Tr?L[Yt+2]:0;let Pt=(15&Qi)<<2|Er>>6,ke=63&Er;Tr||(ke=64,wi||(Pt=64)),qe.push(X[On>>2],X[(3&On)<<4|Qi>>4],X[Pt],X[ke])}return qe.join("")},encodeString(L,j){return this.HAS_NATIVE_SUPPORT&&!j?btoa(L):this.encodeByteArray(y(L),j)},decodeString(L,j){return this.HAS_NATIVE_SUPPORT&&!j?atob(L):function(L){const j=[];let X=0,qe=0;for(;X<L.length;){const Yt=L[X++];if(Yt<128)j[qe++]=String.fromCharCode(Yt);else if(Yt>191&&Yt<224){const On=L[X++];j[qe++]=String.fromCharCode((31&Yt)<<6|63&On)}else if(Yt>239&&Yt<365){const Tr=((7&Yt)<<18|(63&L[X++])<<12|(63&L[X++])<<6|63&L[X++])-65536;j[qe++]=String.fromCharCode(55296+(Tr>>10)),j[qe++]=String.fromCharCode(56320+(1023&Tr))}else{const On=L[X++],wi=L[X++];j[qe++]=String.fromCharCode((15&Yt)<<12|(63&On)<<6|63&wi)}}return j.join("")}(this.decodeStringToByteArray(L,j))},decodeStringToByteArray(L,j){this.init_();const X=j?this.charToByteMapWebSafe_:this.charToByteMap_,qe=[];for(let Yt=0;Yt<L.length;){const On=X[L.charAt(Yt++)],Qi=Yt<L.length?X[L.charAt(Yt)]:0;++Yt;const Er=Yt<L.length?X[L.charAt(Yt)]:64;++Yt;const an=Yt<L.length?X[L.charAt(Yt)]:64;if(++Yt,null==On||null==Qi||null==Er||null==an)throw new M;qe.push(On<<2|Qi>>4),64!==Er&&(qe.push(Qi<<4&240|Er>>2),64!==an&&qe.push(Er<<6&192|an))}return qe},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let L=0;L<this.ENCODED_VALS.length;L++)this.byteToCharMap_[L]=this.ENCODED_VALS.charAt(L),this.charToByteMap_[this.byteToCharMap_[L]]=L,this.byteToCharMapWebSafe_[L]=this.ENCODED_VALS_WEBSAFE.charAt(L),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[L]]=L,L>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(L)]=L,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(L)]=L)}}};class M extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const H=function(L){return function(L){const j=y(L);return T.encodeByteArray(j,!0)}(L).replace(/\./g,"")},B=function(L){try{return T.decodeString(L,!0)}catch(j){console.error("base64Decode failed: ",j)}return null};function ye(L,j){if(!(j instanceof Object))return j;switch(j.constructor){case Date:return new Date(j.getTime());case Object:void 0===L&&(L={});break;case Array:L=[];break;default:return j}for(const X in j)!j.hasOwnProperty(X)||!He(X)||(L[X]=ye(L[X],j[X]));return L}function He(L){return"__proto__"!==L}function Mt(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}const ze=()=>{try{return Mt().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const L=process.env.__FIREBASE_DEFAULTS__;return L?JSON.parse(L):void 0})()||(()=>{if(typeof document>"u")return;let L;try{L=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const j=L&&B(L[1]);return j&&JSON.parse(j)})()}catch(L){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${L}`)}},ue=()=>{var L;return null===(L=ze())||void 0===L?void 0:L.config},kt=L=>{var j;return null===(j=ze())||void 0===j?void 0:j[`_${L}`]};class Je{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((j,X)=>{this.resolve=j,this.reject=X})}wrapCallback(j){return(X,qe)=>{X?this.reject(X):this.resolve(qe),"function"==typeof j&&(this.promise.catch(()=>{}),1===j.length?j(X):j(X,qe))}}}function $e(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function lt(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test($e())}function de(){return typeof window<"u"||ae()}function ae(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function he(){return typeof navigator<"u"&&"Cloudflare-Workers"===navigator.userAgent}function Ne(){const L="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof L&&void 0!==L.id}function ve(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function qt(){try{return"object"==typeof indexedDB}catch{return!1}}function Te(){return new Promise((L,j)=>{try{let X=!0;const qe="validate-browser-context-for-indexeddb-analytics-module",Yt=self.indexedDB.open(qe);Yt.onsuccess=()=>{Yt.result.close(),X||self.indexedDB.deleteDatabase(qe),L(!0)},Yt.onupgradeneeded=()=>{X=!1},Yt.onerror=()=>{var On;j((null===(On=Yt.error)||void 0===On?void 0:On.message)||"")}}catch(X){j(X)}})}
1class wt extends Error{constructor(j,X,qe){super(X),this.code=j,this.customData=qe,this.name="FirebaseError",Object.setPrototypeOf(this,wt.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Ie.prototype.create)}}class Ie{constructor(j,X,qe){this.service=j,this.serviceName=X,this.errors=qe}create(j,...X){const qe=X[0]||{},Yt=`${this.service}/${j}`,On=this.errors[j],wi=On?function ie(L,j){return L.replace(je,(X,qe)=>{const Yt=j[qe];return null!=Yt?String(Yt):`<${qe}?>`})}(On,qe):"Error";return new wt(Yt,`${this.serviceName}: ${wi} (${Yt}).`,qe)}}const je=/\{\$([^}]+)}/g;function ti(L,j){return Object.prototype.hasOwnProperty.call(L,j)}function Oi(L,j){if(L===j)return!0;const X=Object.keys(L),qe=Object.keys(j);for(const Yt of X){if(!qe.includes(Yt))return!1;const On=L[Yt],wi=j[Yt];if(dn(On)&&dn(wi)){if(!Oi(On,wi))return!1}else if(On!==wi)return!1}for(const Yt of qe)if(!X.includes(Yt))return!1;return!0}function dn(L){return null!==L&&"object"==typeof L}function Yn(L){const j=[];for(const[X,qe]of Object.entries(L))Array.isArray(qe)?qe.forEach(Yt=>{j.push(encodeURIComponent(X)+"="+encodeURIComponent(Yt))}):j.push(encodeURIComponent(X)+"="+encodeURIComponent(qe));return j.length?"&"+j.join("&"):""}function ai(L,j){const X=new pi(L,j);return X.subscribe.bind(X)}class pi{constructor(j,X){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=X,this.task.then(()=>{j(this)}).catch(qe=>{this.error(qe)})}next(j){this.forEachObserver(X=>{X.next(j)})}error(j){this.forEachObserver(X=>{X.error(j)}),this.close(j)}complete(){this.forEachObserver(j=>{j.complete()}),this.close()}subscribe(j,X,qe){let Yt;if(void 0===j&&void 0===X&&void 0===qe)throw new Error("Missing Observer.");Yt=function ii(L,j){if("object"!=typeof L||null===L)return!1;for(const X of j)if(X in L&&"function"==typeof L[X])return!0;return!1}(j,["next","error","complete"])?j:{next:j,error:X,complete:qe},void 0===Yt.next&&(Yt.next=rr),void 0===Yt.error&&(Yt.error=rr),void 0===Yt.complete&&(Yt.complete=rr);const On=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?Yt.error(this.finalError):Yt.complete()}catch{}}),this.observers.push(Yt),On}unsubscribeOne(j){void 0===this.observers||void 0===this.observers[j]||(delete this.observers[j],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(j){if(!this.finalized)for(let X=0;X<this.observers.length;X++)this.sendOne(X,j)}sendOne(j,X){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[j])try{X(this.observers[j])}catch(qe){typeof console<"u"&&console.error&&console.error(qe)}})}close(j){this.finalized||(this.finalized=!0,void 0!==j&&(this.finalError=j),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function rr(){}function _e(L){return L&&L._delegate?L._delegate:L}},5323(tn,Ye,d){"use strict";d.d(Ye,{G:()=>Ra});var o=d(3664),s=d(2615),h=d(2466);let ze=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({imports:[h.y]})}return gi})();var Le=d(7575),ge=d(6192),ue=d(8834),kt=d(5911),Je=d(2629),Ke=d(882),$e=d(3902),lt=d(9454),q=d(1228),de=d(3746),ae=d(2864),he=d(6471),Ne=d(5416),ve=d(7094);let Me=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({imports:[ve.Pd,h.y,h.y]})}return gi})();var It=d(6850),Zt=d(5951),ti=d(2529),Wn=d(6939),mr=d(4330),Bn=d(9327),Oi=d(1804),dn=d(9338),Tn=d(438),Yn=d(7336),_=d(1413),Qn=d(7786),di=d(5964),ai=d(6697);function pi(gi,gr){}const Vi="_mat-bottom-sheet-enter",ii="_mat-bottom-sheet-exit";let rr=(()=>{class gi extends ti.sU{_breakpointSubscription;_animationsDisabled=(0,Oi.Rc)();_animationState="void";_animationStateChanged=new o.bkB;_destroyed;constructor(){super();const ct=(0,s.WQX)(mr.Q);this._breakpointSubscription=ct.observe([Bn.Rp.Medium,Bn.Rp.Large,Bn.Rp.XLarge]).subscribe(()=>{const En=this._elementRef.nativeElement.classList;En.toggle("mat-bottom-sheet-container-medium",ct.isMatched(Bn.Rp.Medium)),En.toggle("mat-bottom-sheet-container-large",ct.isMatched(Bn.Rp.Large)),En.toggle("mat-bottom-sheet-container-xlarge",ct.isMatched(Bn.Rp.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._animationsDisabled&&this._simulateAnimation(Vi))}exit(){this._destroyed||(this._elementRef.nativeElement.setAttribute("mat-exit",""),this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._animationsDisabled&&this._simulateAnimation(ii))}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_simulateAnimation(ct){this._ngZone.run(()=>{this._handleAnimationEvent(!0,ct),setTimeout(()=>this._handleAnimationEvent(!1,ct))})}_trapFocus(){super._trapFocus({preventScroll:!0})}_handleAnimationEvent(ct,En){const oi=En===Vi;(oi||En===ii)&&this._animationStateChanged.emit({toState:oi?"visible":"hidden",phase:ct?"start":"done"})}static \u0275fac=function(En){return new(En||gi)};static \u0275cmp=o.VBU({type:gi,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:9,hostBindings:function(En,oi){1&En&&o.bIt("animationstart",function(Xr){return oi._handleAnimationEvent(!0,Xr.animationName)})("animationend",function(Xr){return oi._handleAnimationEvent(!1,Xr.animationName)})("animationcancel",function(Xr){return oi._handleAnimationEvent(!1,Xr.animationName)}),2&En&&(o.BMQ("role",oi._config.role)("aria-modal",oi._config.ariaModal)("aria-label",oi._config.ariaLabel),o.AVh("mat-bottom-sheet-container-animations-enabled",!oi._animationsDisabled)("mat-bottom-sheet-container-enter","visible"===oi._animationState)("mat-bottom-sheet-container-exit","hidden"===oi._animationState))},features:[o.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(En,oi){1&En&&o.DNE(0,pi,0,0,"ng-template",0)},dependencies:[Wn.I3],styles:["@keyframes _mat-bottom-sheet-enter{from{transform:translateY(100%)}to{transform:none}}@keyframes _mat-bottom-sheet-exit{from{transform:none}to{transform:translateY(100%)}}.mat-bottom-sheet-container{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;position:relative;background:var(--mat-bottom-sheet-container-background-color, var(--mat-sys-surface-container-low));color:var(--mat-bottom-sheet-container-text-color, var(--mat-sys-on-surface));font-family:var(--mat-bottom-sheet-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-bottom-sheet-container-text-size, var(--mat-sys-body-large-size));line-height:var(--mat-bottom-sheet-container-text-line-height, var(--mat-sys-body-large-line-height));font-weight:var(--mat-bottom-sheet-container-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-bottom-sheet-container-text-tracking, var(--mat-sys-body-large-tracking))}@media(forced-colors: active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-animations-enabled{transform:translateY(100%)}.mat-bottom-sheet-container-animations-enabled.mat-bottom-sheet-container-enter{animation:_mat-bottom-sheet-enter 195ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-bottom-sheet-container-animations-enabled.mat-bottom-sheet-container-exit{animation:_mat-bottom-sheet-exit 375ms cubic-bezier(0.4, 0, 1, 1) backwards}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape, 28px);border-top-right-radius:var(--mat-bottom-sheet-container-shape, 28px)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}\n"],encapsulation:2})}return gi})();const Sn=new s.nKC("MatBottomSheetData");class ci{viewContainerRef;panelClass;direction;data=null;hasBackdrop=!0;backdropClass;disableClose=!1;ariaLabel=null;ariaModal=!1;closeOnNavigation=!0;
1autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;height="";minHeight;maxHeight}class Un{_ref;get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}containerInstance;disableClose;_afterOpened=new _.B;_result;_closeFallbackTimeout;constructor(gr,ct,En){this._ref=gr,this.containerInstance=En,this.disableClose=ct.disableClose,En._animationStateChanged.pipe((0,di.p)(oi=>"done"===oi.phase&&"visible"===oi.toState),(0,ai.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),En._animationStateChanged.pipe((0,di.p)(oi=>"done"===oi.phase&&"hidden"===oi.toState),(0,ai.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),gr.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),(0,Qn.h)(this.backdropClick(),this.keydownEvents().pipe((0,di.p)(oi=>oi.keyCode===Tn._f))).subscribe(oi=>{!this.disableClose&&("keydown"!==oi.type||!(0,Yn.rp)(oi))&&(oi.preventDefault(),this.dismiss())})}dismiss(gr){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,di.p)(ct=>"start"===ct.phase),(0,ai.s)(1)).subscribe(()=>{this._closeFallbackTimeout=setTimeout(()=>this._ref.close(this._result),500),this._ref.overlayRef.detachBackdrop()}),this._result=gr,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const fr=new s.nKC("mat-bottom-sheet-default-options");let Vt=(()=>{class gi{_injector=(0,s.WQX)(s.zZn);_parentBottomSheet=(0,s.WQX)(gi,{optional:!0,skipSelf:!0});_animationsDisabled=(0,Oi.Rc)();_defaultOptions=(0,s.WQX)(fr,{optional:!0});_bottomSheetRefAtThisLevel=null;_dialog=(0,s.WQX)(ti.lG);get _openedBottomSheetRef(){const ct=this._parentBottomSheet;return ct?ct._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(ct){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=ct:this._bottomSheetRefAtThisLevel=ct}constructor(){}open(ct,En){const oi={...this._defaultOptions||new ci,...En};let yr;return this._dialog.open(ct,{...oi,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:rr,scrollStrategy:oi.scrollStrategy||(0,dn.gA)(this._injector),positionStrategy:(0,dn.uA)(this._injector).centerHorizontally().bottom("0"),disableAnimations:this._animationsDisabled,templateContext:()=>({bottomSheetRef:yr}),providers:(Xr,ho,ri)=>(yr=new Un(Xr,oi,ri),[{provide:Un,useValue:yr},{provide:Sn,useValue:oi.data}])}),yr.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===yr&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>yr.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):yr.containerInstance.enter(),this._openedBottomSheetRef=yr,yr}dismiss(ct){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(ct)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static \u0275fac=function(En){return new(En||gi)};static \u0275prov=s.jDH({token:gi,factory:gi.\u0275fac,providedIn:"root"})}return gi})(),un=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({providers:[Vt],imports:[ti.Ph,h.y,Wn.jc,h.y]})}return gi})();var xe=d(2765),z=d(5571),Ee=d(9115),Ce=d(450),Ue=d(6156),Tt=d(5596),_e=(d(3029),d(7705),d(5478)),_t=(d(4339),d(4522),d(8359),d(7673),d(9030),d(1985),d(1577),d(408),d(9417),d(6354),d(9172),d(5558),d(8141),d(1986),d(4727),d(146));const as={provide:new s.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const gi=(0,s.WQX)(s.zZn);return()=>(0,dn.RH)(gi)}}),deps:[],useFactory:function Ks(gi){const gr=(0,s.WQX)(s.zZn);return()=>(0,dn.RH)(gr)}};let vi=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({providers:[as],imports:[dn.z_,_t.S,h.y,_e.Gj,_t.S,h.y]})}return gi})();var Ni=d(6695),Jt=d(2042),Ri=d(6233),Q=d(5084),st=d(9945);const Yr=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,oo=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function to(gi,gr){const ct=Array(gi);for(let En=0;En<gi;En++)ct[En]=gr(En);return ct}let Ho=(()=>{class gi extends st.MJ{useUtcForDisplay=!1;_matDateLocale=(0,s.WQX)(st.Ju,{optional:!0});constructor(){super();const ct=(0,s.WQX)(st.Ju,{optional:!0});void 0!==ct&&(this._matDateLocale=ct),super.setLocale(this._matDateLocale)}getYear(ct){return ct.getFullYear()}getMonth(ct){return ct.getMonth()}getDate(ct){return ct.getDate()}getDayOfWeek(ct){return ct.getDay()}getMonthNames(ct){const En=new Intl.DateTimeFormat(this.locale,{month:ct,timeZone:"utc"});return to(12,oi=>this._format(En,new Date(2017,oi,1)))}getDateNames(){const ct=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return to(31,En=>this._format(ct,new Date(2017,0,En+1)))}getDayOfWeekNames(ct){const En=new Intl.DateTimeFormat(this.locale,{weekday:ct,timeZone:"utc"});return to(7,oi=>this._format(En,new Date(2017,0,oi+1)))}getYearName(ct){const En=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(En,ct)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){const ct=new Intl.Locale(this.locale),En=(ct.getWeekInfo?.()||ct.weekInfo)?.firstDay??0;return 7===En?0:En}return 0}getNumDaysInMonth(ct){return this.getDate(this._createDateWithOverflow(this.getYear(ct),this.getMonth(ct)+1,0))}clone(ct){return new Date(ct.getTime())}createDate(ct,En,oi){let yr=this._createDateWithOverflow(ct,En,oi);return yr.getMonth(),yr}today(){return new Date}parse(ct,En){return"number"==typeof ct?new Date(ct):ct?new Date(Date.parse(ct)):null}format(ct,En){if(!this.isValid(ct))throw Error("NativeDateAdapter: Cannot format invalid date.");const oi=new Intl.DateTimeFormat(this.locale,{...En,timeZone:"utc"});
1return this._format(oi,ct)}addCalendarYears(ct,En){return this.addCalendarMonths(ct,12*En)}addCalendarMonths(ct,En){let oi=this._createDateWithOverflow(this.getYear(ct),this.getMonth(ct)+En,this.getDate(ct));return this.getMonth(oi)!=((this.getMonth(ct)+En)%12+12)%12&&(oi=this._createDateWithOverflow(this.getYear(oi),this.getMonth(oi),0)),oi}addCalendarDays(ct,En){return this._createDateWithOverflow(this.getYear(ct),this.getMonth(ct),this.getDate(ct)+En)}toIso8601(ct){return[ct.getUTCFullYear(),this._2digit(ct.getUTCMonth()+1),this._2digit(ct.getUTCDate())].join("-")}deserialize(ct){if("string"==typeof ct){if(!ct)return null;if(Yr.test(ct)){let En=new Date(ct);if(this.isValid(En))return En}}return super.deserialize(ct)}isDateInstance(ct){return ct instanceof Date}isValid(ct){return!isNaN(ct.getTime())}invalid(){return new Date(NaN)}setTime(ct,En,oi,yr){const Xr=this.clone(ct);return Xr.setHours(En,oi,yr,0),Xr}getHours(ct){return ct.getHours()}getMinutes(ct){return ct.getMinutes()}getSeconds(ct){return ct.getSeconds()}parseTime(ct,En){if("string"!=typeof ct)return ct instanceof Date?new Date(ct.getTime()):null;const oi=ct.trim();if(0===oi.length)return null;let yr=this._parseTimeString(oi);if(null===yr){const Xr=oi.replace(/[^0-9:(AM|PM)]/gi,"").trim();Xr.length>0&&(yr=this._parseTimeString(Xr))}return yr||this.invalid()}addSeconds(ct,En){return new Date(ct.getTime()+1e3*En)}_createDateWithOverflow(ct,En,oi){const yr=new Date;return yr.setFullYear(ct,En,oi),yr.setHours(0,0,0,0),yr}_2digit(ct){return("00"+ct).slice(-2)}_format(ct,En){const oi=new Date;return oi.setUTCFullYear(En.getFullYear(),En.getMonth(),En.getDate()),oi.setUTCHours(En.getHours(),En.getMinutes(),En.getSeconds(),En.getMilliseconds()),ct.format(oi)}_parseTimeString(ct){const En=ct.toUpperCase().match(oo);if(En){let oi=parseInt(En[1]);const yr=parseInt(En[2]);let Xr=null==En[3]?void 0:parseInt(En[3]);const ho=En[4];if(12===oi?oi="AM"===ho?0:oi:"PM"===ho&&(oi+=12),Co(oi,0,23)&&Co(yr,0,59)&&(null==Xr||Co(Xr,0,59)))return this.setTime(this.today(),oi,yr,Xr||0)}return null}static \u0275fac=function(En){return new(En||gi)};static \u0275prov=s.jDH({token:gi,factory:gi.\u0275fac})}return gi})();function Co(gi,gr,ct){return!isNaN(gi)&&gi>=gr&&gi<=ct}const ia={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};let An=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({providers:[Lt()]})}return gi})();function Lt(gi=ia){return[{provide:st.MJ,useClass:Ho},{provide:st.de,useValue:gi}]}let Es=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({imports:[h.y,h.y]})}return gi})(),Gs=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({imports:[Es,h.y,Es,h.y]})}return gi})();var No=d(3391),Do=d(2591),Oo=d(1875),Js=(d(9842),d(6881));let cl=(()=>{class gi{static \u0275fac=function(En){return new(En||gi)};static \u0275mod=o.$C({type:gi});static \u0275inj=s.G2t({imports:[h.y,Js.p]})}return gi})(),Ra=(()=>{var gi;class gr{static#e=gi=()=>(this.\u0275fac=function(oi){return new(oi||gr)},this.\u0275mod=o.$C({type:gr}),this.\u0275inj=s.G2t({imports:[ue.Hl,kt.s5,Je.m_,Ke.vg,$e.Fg,lt.MY,q.R,de.fS,ae.Ve,he.YN,Ne._T,Me,It.RI,Zt.Wk,un,xe.g7,z.Vg,
1Ee.Cn,Ce.mV,Ue.u,Tt.Hu,vi,ge.tP,Ni.Ou,Jt.NQ,Ri.aP,Q.X6,An,Gs,Le.PO,ze,cl,Oo.ad,Do.hM,No.Ny,Wn.jc]}))}return gi(),gr})()},1098(tn,Ye,d){"use strict";d.d(Ye,{r:()=>Iu});var o=d(467),s=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},h_searchParams="URLSearchParams"in s,h_iterable="Symbol"in s&&"iterator"in Symbol,h_blob="FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),h_formData="FormData"in s,h_arrayBuffer="ArrayBuffer"in s;if(h_arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],T=ArrayBuffer.isView||function(Y){return Y&&v.indexOf(Object.prototype.toString.call(Y))>-1};function M(Y){if("string"!=typeof Y&&(Y=String(Y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(Y)||""===Y)throw new TypeError('Invalid character in header field name: "'+Y+'"');return Y.toLowerCase()}function k(Y){return"string"!=typeof Y&&(Y=String(Y)),Y}function H(Y){var $={next:function(){var be=Y.shift();return{done:void 0===be,value:be}}};return h_iterable&&($[Symbol.iterator]=function(){return $}),$}function B(Y){this.map={},Y instanceof B?Y.forEach(function($,be){this.append(be,$)},this):Array.isArray(Y)?Y.forEach(function($){if(2!=$.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+$.length);this.append($[0],$[1])},this):Y&&Object.getOwnPropertyNames(Y).forEach(function($){this.append($,Y[$])},this)}function x(Y){if(!Y._noBody){if(Y.bodyUsed)return Promise.reject(new TypeError("Already read"));Y.bodyUsed=!0}}function ye(Y){return new Promise(function($,be){Y.onload=function(){$(Y.result)},Y.onerror=function(){be(Y.error)}})}function He(Y){var $=new FileReader,be=ye($);return $.readAsArrayBuffer(Y),be}function Qe(Y){if(Y.slice)return Y.slice(0);var $=new Uint8Array(Y.byteLength);return $.set(new Uint8Array(Y)),$.buffer}function Xe(){return this.bodyUsed=!1,this._initBody=function(Y){this.bodyUsed=this.bodyUsed,this._bodyInit=Y,Y?"string"==typeof Y?this._bodyText=Y:h_blob&&Blob.prototype.isPrototypeOf(Y)?this._bodyBlob=Y:h_formData&&FormData.prototype.isPrototypeOf(Y)?this._bodyFormData=Y:h_searchParams&&URLSearchParams.prototype.isPrototypeOf(Y)?this._bodyText=Y.toString():h_arrayBuffer&&h_blob&&function y(Y){return Y&&DataView.prototype.isPrototypeOf(Y)}(Y)?(this._bodyArrayBuffer=Qe(Y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Y)||T(Y))?this._bodyArrayBuffer=Qe(Y):this._bodyText=Y=Object.prototype.toString.call(Y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof Y?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):h_searchParams&&URLSearchParams.prototype.isPrototypeOf(Y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},h_blob&&(this.blob=function(){var Y=x(this);if(Y)return Y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return x(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(h_blob)return this.blob().then(He);throw new Error("could not read as ArrayBuffer")},this.text=function(){var Y=x(this);if(Y)return Y;if(this._bodyBlob)return function Mt(Y){var $=new FileReader,be=ye($),vt=/charset=([A-Za-z0-9_-]+)/.exec(Y.type);return $.readAsText(Y,vt?vt[1]:"utf-8"),be}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function Ge(Y){for(var $=new Uint8Array(Y),be=new Array($.length),vt=0;vt<$.length;vt++)be[vt]=String.fromCharCode($[vt]);return be.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},h_formData&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}B.prototype.append=function(Y,$){Y=M(Y),$=k($);var be=this.map[Y];this.map[Y]=be?be+", "+$:$},B.prototype.delete=function(Y){delete this.map[M(Y)]},B.prototype.get=function(Y){return Y=M(Y),this.has(Y)?this.map[Y]:null},B.prototype.has=function(Y){return this.map.hasOwnProperty(M(Y))},B.prototype.set=function(Y,$){this.map[M(Y)]=k($)},B.prototype.forEach=function(Y,$){for(var be in this.map)this.map.hasOwnProperty(be)&&Y.call($,this.map[be],be,this)},B.prototype.keys=function(){var Y=[];return this.forEach(function($,be){Y.push(be)}),H(Y)},B.prototype.values=function(){var Y=[];return this.forEach(function($){Y.push($)}),H(Y)},B.prototype.entries=function(){var Y=[];return this.forEach(function($,be){Y.push([be,$])}),H(Y)},h_iterable&&(B.prototype[Symbol.iterator]=B.prototype.entries);var ze=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ge(Y,$){if(!(this instanceof ge))throw new TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var be=($=$||{}).body;if(Y instanceof ge){if(Y.bodyUsed)throw new TypeError("Already read");this.url=Y.url,this.credentials=Y.credentials,$.headers||(this.headers=new B(Y.headers)),this.method=Y.method,this.mode=Y.mode,this.signal=Y.signal,!be&&null!=Y._bodyInit&&(be=Y._bodyInit,Y.bodyUsed=!0)}else this.url=String(Y);if(this.credentials=$.credentials||this.credentials||"same-origin",($.headers||!this.headers)&&(this.headers=new B($.headers)),this.method=function Le(Y){var $=Y.toUpperCase();return ze.indexOf($)>-1?$:Y}($.method||this.method||"GET"),this.mode=$.mode||this.mode||null,this.signal=$.signal||this.signal||function(){if("AbortController"in s)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&be)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(be),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==$.cache&&"no-cache"!==$.cache)){var vt=/([?&])_=[^&]*/;vt.test(this.url)?this.url=this.url.replace(vt,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function ue(Y){var $=new FormData;return Y.trim().split("&").forEach(function(be){if(be){var vt=be.split("="),Wt=vt.shift().replace(/\+/g," "),fn=vt.join("=").replace(/\+/g," ");$.append(decodeURIComponent(Wt),decodeURIComponent(fn))}}),$}function kt(Y){var $=new B;return Y.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(vt){return 0===vt.indexOf("\n")?vt.substr(1,vt.length):vt}).forEach(function(vt){var Wt=vt.split(":"),fn=Wt.shift().trim();if(fn){var $n=Wt.join(":").trim();try{$.append(fn,$n)}catch(si){console.warn("Response "+si.message)}}}),$}function Je(Y,$){if(!(this instanceof Je))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if($||($={}),this.type="default",this.status=void 0===$.status?200:$.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===$.statusText?"":""+$.statusText,this.headers=new B($.headers),this.url=$.url||"",this._initBody(Y)}ge.prototype.clone=function(){return new ge(this,{body:this._bodyInit})},Xe.call(ge.prototype),Xe.call(Je.prototype),Je.prototype.clone=function(){return new Je(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new B(this.headers),url:this.url})},Je.error=function(){var Y=new Je(null,{status:200,statusText:""});return Y.ok=!1,Y.status=0,Y.type="error",Y};var Ke=[301,302,303,307,308];Je.redirect=function(Y,$){if(-1===Ke.indexOf($))throw new RangeError("Invalid status code");return new Je(null,{status:$,headers:{location:Y}})};var $e=s.DOMException;try{new $e}catch{($e=function($,be){this.message=$,this.name=be;var vt=Error($);this.stack=vt.stack}).prototype=Object.create(Error.prototype),$e.prototype.constructor=$e}function lt(Y,$){return new Promise(function(be,vt){var Wt=new ge(Y,$);if(Wt.signal&&Wt.signal.aborted)return vt(new $e("Aborted","AbortError"));var fn=new XMLHttpRequest;function $n(){fn.abort()}if(fn.onload=function(){var Yi={statusText:fn.statusText,headers:kt(fn.getAllResponseHeaders()||"")};Yi.status=0===Wt.url.indexOf("file://")&&(fn.status<200||fn.status>599)?200:fn.status,Yi.url="responseURL"in fn?fn.responseURL:Yi.headers.get("X-Request-URL");var zi="response"in fn?fn.response:fn.responseText;setTimeout(function(){be(new Je(zi,Yi))},0)},fn.onerror=function(){setTimeout(function(){vt(new TypeError("Network request failed"))},0)},fn.ontimeout=function(){setTimeout(function(){vt(new TypeError("Network request timed out"))},0)},fn.onabort=function(){setTimeout(function(){vt(new $e("Aborted","AbortError"))},0)},fn.open(Wt.method,function si(Yi){try{return""===Yi&&s.location.href?s.location.href:Yi}catch{return Yi}}(Wt.url),!0),"include"===Wt.credentials?fn.withCredentials=!0:"omit"===Wt.credentials&&(fn.withCredentials=!1),"responseType"in fn&&(h_blob?fn.responseType="blob":h_arrayBuffer&&(fn.responseType="arraybuffer")),$&&"object"==typeof $.headers&&!($.headers instanceof B||s.Headers&&$.headers instanceof s.Headers)){var xi=[];
1Object.getOwnPropertyNames($.headers).forEach(function(Yi){xi.push(M(Yi)),fn.setRequestHeader(Yi,k($.headers[Yi]))}),Wt.headers.forEach(function(Yi,zi){-1===xi.indexOf(zi)&&fn.setRequestHeader(zi,Yi)})}else Wt.headers.forEach(function(Yi,zi){fn.setRequestHeader(zi,Yi)});Wt.signal&&(Wt.signal.addEventListener("abort",$n),fn.onreadystatechange=function(){4===fn.readyState&&Wt.signal.removeEventListener("abort",$n)}),fn.send(typeof Wt._bodyInit>"u"?null:Wt._bodyInit)})}lt.polyfill=!0,s.fetch||(s.fetch=lt,s.Headers=B,s.Request=ge,s.Response=Je);var de,Y,q=d(1635);(Y=de||(de={}))[Y.DEBUG=1]="DEBUG",Y[Y.INFO=2]="INFO",Y[Y.WARN=3]="WARN",Y[Y.ERROR=4]="ERROR";var qt,ae=function(){function Y($){void 0===$&&($=de.INFO),this.logLevel=$,this._debug=console.debug,this._info=console.info,this._warn=console.warn,this._error=console.error}return Y.prototype.debug=function(){for(var $=[],be=0;be<arguments.length;be++)$[be]=arguments[be];this.logLevel<=de.DEBUG&&($.unshift("[DEBUG]"),this._debug.apply(this,(0,q.fX)([],(0,q.zs)($),!1)))},Y.prototype.info=function(){for(var $=[],be=0;be<arguments.length;be++)$[be]=arguments[be];this.logLevel<=de.INFO&&($.unshift("[INFO]"),this._info.apply(this,(0,q.fX)([],(0,q.zs)($),!1)))},Y.prototype.warn=function(){for(var $=[],be=0;be<arguments.length;be++)$[be]=arguments[be];this.logLevel<=de.WARN&&($.unshift("[WARN]"),this._warn.apply(this,(0,q.fX)([],(0,q.zs)($),!1)))},Y.prototype.error=function(){for(var $=[],be=0;be<arguments.length;be++)$[be]=arguments[be];this.logLevel<=de.ERROR&&($.unshift("[ERROR]"),this._error.apply(this,(0,q.fX)([],(0,q.zs)($),!1)))},Y}(),he=new ae(3),Ne=function(Y,$){this._driver=Y,this.liff=$,this.hooks=this._driver.hooks,this.internalHooks=this._driver.internalHooks},ve=function(Y,$){this._driver=Y,this.liff=$,this.hooks=this._driver.hooks},at=function(){function Y($,be){this.pluginCtx=new ve($,be),this.moduleCtx=new Ne($,be)}return Object.defineProperty(Y.prototype,"pluginContext",{get:function(){return this.pluginCtx},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"moduleContext",{get:function(){return this.moduleCtx},enumerable:!1,configurable:!0}),Y}(),Ut=function(){function Y(){this.modules=new Map,this.hooks={},this.internalHooks={}}return Y.prototype.addModule=function($,be){this.modules.set($,be),be.hooks&&(this.hooks[$]=Object.entries(be.hooks).reduce(function(vt,Wt){var fn,$n=(0,q.zs)(Wt,2),si=$n[0],xi=$n[1];return(0,q.Cl)((0,q.Cl)({},vt),((fn={})[si]=xi.on.bind(xi),fn))},{})),"internalHooks"in be&&be.internalHooks&&(this.internalHooks[$]=Object.entries(be.internalHooks).reduce(function(vt,Wt){var fn,$n=(0,q.zs)(Wt,2),si=$n[0],xi=$n[1];return(0,q.Cl)((0,q.Cl)({},vt),((fn={})[si]=xi.on.bind(xi),fn))},{}))},Y.prototype.hasModule=function($){return this.modules.has($)},Y}(),nt=function(){},cn=function(Y){return Y instanceof nt},hn=function(Y){function $(be,vt,Wt){var fn=Y.call(this)||this;return fn.driver=be,fn.contextHolder=vt,fn.option=Wt,fn}return(0,q.C6)($,Y),$.prototype.install=function(){return this.factory(this.driver,this.contextHolder)},Object.defineProperty($.prototype,"name",{get:function(){return"use"},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"defaultOption",{get:function(){return{namespacePrefix:"$"}},enumerable:!1,configurable:!0}),$.prototype.factory=function(be,vt){var Wt=Object.assign({},this.defaultOption,this.option).namespacePrefix;return function(fn,$n){if(!fn||"function"!=typeof fn.install||"string"!=typeof fn.name)return he.warn("To install the plugin, you need to define the `name` property and the `install` method."),this;var si=cn(fn)?fn.name:"".concat(Wt).concat(fn.name);if(be.hasModule(si))return this;var xi=cn(fn)?fn.install.call(fn,vt.moduleContext,$n):fn.install.call(fn,vt.pluginContext,$n);return this["".concat(si)]?(he.warn("There is a duplicate plugin name. `".concat(si,"` plugin namespace will be override.")),this["".concat(si)]=xi):void 0!==xi&&(this["".concat(si)]=xi),be.addModule(si,fn),this}},$}(nt),Te=new Promise(function(Y){qt=Y}),Pe="UNKNOWN",yt="UNAUTHORIZED",wt="INVALID_ARGUMENT",Ie="INIT_FAILED",ie="FORB
1IDDEN",je="INVALID_CONFIG",rt="INVALID_ID_TOKEN",We="CREATE_SUBWINDOW_FAILED",Ot="EXCEPTION_IN_SUBWINDOW",Me="liffEvent",It="LIFF_STORE",Zt="https://liff.".concat("line.me","/"),ti="https://miniapp.".concat("line.me","/"),Wn={ACCESS_TOKEN:"accessToken",ID_TOKEN:"IDToken",DECODED_ID_TOKEN:"decodedIDToken",FEATURE_TOKEN:"featureToken",LOGIN_TMP:"loginTmp",CONFIG:"config",CONTEXT:"context",EXPIRES:"expires",RAW_CONTEXT:"rawContext",CLIENT_ID:"clientId",IS_SUBSEQUENT_LIFF_APP:"isSubsequentLiffApp",MST_CHALLENGE:"mstChallenge",MSIT:"msit",MST:"mst",MST_VERIFIER:"mstVerifier",APP_DATA:"appData"},mr="isInClient",Bn=["context_token","feature_token","access_token","id_token","client_id","mst_verifier","mst_challenge","msit"],dn=["liff.ref.source","liff.ref.medium","liff.ref.campaign","liff.ref.term","liff.ref.content"],Yn={INIT:"init",SUBMIT:"submit",CANCEL:"cancel",CLOSE:"close",ERROR:"error"},di="liff.subwindow",ai="healthCheck",Vi=["profile","chat_message.write","openid","email"];function ii(Y){return window.atob(Y.replace(/-/g,"+").replace(/_/g,"/"))}var rr={decode:ii,encode:function(Y){return window.btoa(Y).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},decodeUnicode:function(Y){var $=ii(Y).split("").map(function(be){return"%"+("00"+be.charCodeAt(0).toString(16)).slice(-2)}).join("");return decodeURIComponent($)}};function Sn(Y,$){if(Y===$)return 0;for(var be=Y.split("."),vt=$.split("."),Wt=Math.max(be.length,vt.length),fn=0;fn<Wt;fn++){be[fn]||(be[fn]="0"),vt[fn]||(vt[fn]="0");var $n=parseInt(be[fn])-parseInt(vt[fn]);if(0!==$n)return $n>0?1:-1}return 0}function ci(Y){var $=Y.replace("#","").match(/.{2}/g)||[];if(4!==$.length)return he.warn("convertArgbToRgba: Received invalid ARGB color"),"";var si,be=(si=Un($[0]),Math.round(si/255*100)/100),vt=Un($[1]),Wt=Un($[2]),fn=Un($[3]);return"rgba(".concat(vt,", ").concat(Wt,", ").concat(fn,", ").concat(be,")")}function Un(Y){return parseInt(Y,16)}function fr(Y){var $=Y.replace("#","").match(/.{2}/g)||[];if(3!==$.length)return he.warn("convertArgbToRgba: Received invalid hex color"),"";var be=Un($[0]),vt=Un($[1]),Wt=Un($[2]);return"".concat(be,", ").concat(vt,", ").concat(Wt)}function Vt(Y){for(var $=Y.length,be=new ArrayBuffer($),vt=new Uint8Array(be),Wt=0;Wt<$;Wt++)vt[Wt]=Y.charCodeAt(Wt);return be}var Ae=new Set(["400","401","403","404","429","500"]),xe=function(Y){function $(be,vt,Wt){var fn=Y.call(this,vt,Wt)||this;return fn.code=be,fn}return(0,q.C6)($,Y),$}(Error);function z(Y,$,be){return be?.cause&&console.error("This is the cause of LiffError described below.",be.cause),new xe(Y,$||"",be||{})}function Ee(Y){var $=Y.match(/([^-]+)-[^-]+/);return $&&$[1]}var Tt,Ue=function(){function Y(){this.map={}}return Y.prototype.clear=function(){this.map={}},Y.prototype.getItem=function($){var be=this.map[$];return void 0===be?null:be},Y.prototype.setItem=function($,be){this.map[$]=be},Y.prototype.removeItem=function($){delete this.map[$]},Y.prototype.key=function($){var be=Object.keys(this.map)[$];return void 0===be?null:be},Object.defineProperty(Y.prototype,"length",{get:function(){return Object.keys(this.map).length},enumerable:!1,configurable:!0}),Y}(),fe_parse=function(Y){return Y.replace(/^\?/,"").replace(/^#\/?/,"").split(/&+/).filter(function($){return $.length>0}).reduce(function($,be){var vt=(0,q.zs)(be.split("=").map(decodeURIComponent),2),Wt=vt[0],fn=vt[1],$n=$[Wt];return Array.isArray($n)?$n.push(fn):$[Wt]=Object.prototype.hasOwnProperty.call($,Wt)?[$n,fn]:fn,$},{})},fe_stringify=function(Y){return Object.keys(Y).map(function($){var be=Y[$],vt=function(Wt){return void 0!==Wt?"".concat(encodeURIComponent($),"=").concat(encodeURIComponent(Wt)):encodeURIComponent($)};return Array.isArray(be)?be.map(function(Wt){return vt(Wt)}).join("&"):vt(be)}).join("&")};function _e(){return window.crypto.getRandomValues(new Uint32Array(1))[0]/4294967296}function L(Y){for(var $="",be=0;be<Y;be++)$+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[Math.floor(62*_e())];return $}function j(Y){var $=new URL(Y),be=$.hash.slice(1).split("&").filter(function(vt){return!Bn.some(function(Wt){return vt.startsWith("".concat(Wt,"="))})}).join("&");return $.hash=be,$.toString()}function Yt(Y,$){if(!Y)throw new Error("addParamsToUrl: invalid URL");var be=new URL(Y);return Object.entries($).forEach(function(vt){var Wt=(0,q.zs)(vt,2);be.searchParams.set(Wt[0],Wt[1])}),be.toString()}var On,wi=((Tt={})[Zt]=function(){var Y=Tr(Zt);return new RegExp("^".concat(Y,"(\\d+-\\w+)"))},Tt[ti]=function(){var Y=Tr(ti);return new RegExp("^".concat(Y,"((\\d+-\\w+)|(\\w+$))"))},Tt);function Qi(Y){for(var $ in wi){var be=Y.match(wi[$]());if(be)return be[1]}return null}function Tr(Y){return Y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function _n(Y){return Y.startsWith("line:")}function Pt(Y){return void 0===Y&&(Y=window.navigator.userAgent),/ipad/.test(Y.toLowerCase())}function ke(Y){return void 0===Y&&(Y=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+/.test(Y)}function De(Y){return void 0===Y&&(Y=window.navigator.userAgent),/Line\/\d+\.\d+\.\d+ LIFF/.test(Y)}var et=function(){return typeof window>"u"},Rn=null;function Zn(){return null===Rn&&(Rn=De()||ke()&&/[#|&]access_token=/.test(location.hash)||"1"===sessionStorage.getItem("".concat(It,":").concat(mr)),sessionStorage.setItem("".concat(It,":").concat(mr),Rn?"1":"0")),!!Rn}function ft(){var Y;return null!==(Y=window.__liffConfig)&&void 0!==Y?Y:{}}function Ti(Y){return function xn(Y,$){if(!$)throw z(je,"liffId is necessary for liff.init()");var be=(Zn()?sessionStorage:localStorage).getItem("".concat(It,":").concat($,":").concat(Y));try{return null===be?null:JSON.parse(be)}catch{return null}}(Y,ft().liffId)}function Gi(Y,$){var be=ft().liffId;if(!be)throw z(je,"liffId is necessary for liff.init()");(Zn()?sessionStorage:localStorage).setItem("".concat(It,":").concat(be,":").concat(Y),JSON.stringify($))}function Mr(){return Ti(Wn.CONTEXT)}function $t(Y){Gi(Wn.CONTEXT,Y)}function In(){return((Mr()||{}).d||{}).aId}function Ai(){return((Mr()||{}).d||{}).autoplay||!1}function _r(){return(Mr()||{}).profilePlus}function Cs(Y){Gi(Wn.APP_DATA,Y)}function as(){return Ti(Wn.MST)}function vi(){return Ti(Wn.MST_CHALLENGE)}function Ri(Y){Gi(Wn.CLIENT_ID,Y)}function st(){return Ti(Wn.FEATURE_TOKEN)}function ot(Y){Gi(Wn.FEATURE_TOKEN,Y)}function bn(){return Ti(Wn.ID_TOKEN)}function _i(Y){Gi(Wn.ID_TOKEN,Y)}function oo(){return Ti(Wn.ACCESS_TOKEN)}function to(Y){Gi(Wn.ACCESS_TOKEN,Y)}function Co(Y){var $=ft().liffId;if(!$)throw z(je,"liffId is necessary for liff.init()");(Zn()?sessionStorage:localStorage).removeItem("".concat(It,":").concat($,":").concat(Y))}function ia(){return Ti(Wn.LOGIN_TMP)}function An(){Co(Wn.LOGIN_TMP)}function Lt(Y){var $=ft();!function(Y,$,be){var vt=Y+"="+$;if(be)for(var Wt in be){var fn=be[Wt]?"=".concat(be[Wt]):"";vt+="; ".concat(Wt).concat(fn)}he.debug("set cookie",vt),document.cookie=vt}("".concat(It,":").concat(Wn.EXPIRES,":").concat($.liffId),Y.getTime(),{expires:Y.toUTCString(),path:"/",secure:null})}function qi(){return Ti(Wn.DECODED_ID_TOKEN)}function br(Y){Gi(Wn.DECODED_ID_TOKEN,Y)}
1function Es(){Object.keys(Wn).forEach(function(Y){Co(Wn[Y])}),function dt(){var Y=ft();!function(Y,$){var be="".concat(Y,"=; expires=Thu, 01 Jan 1970 00:00:00 GMT");if($)for(var vt in $)be+="; ".concat(vt,"=").concat($[vt]);document.cookie=be}("".concat(It,":").concat(Wn.EXPIRES,":").concat(Y.liffId),{path:"/"})}()}function Mn(){return!!oo()}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"isInClient"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Zn()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getContext"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Mr()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getAId"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return In()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getIsVideoAutoPlay"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Ai()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getProfilePlus"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return _r()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getIDToken"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return bn()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getAccessToken"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return oo()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getDecodedIDToken"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return qi()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"isLoggedIn"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Mn()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getVersion"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return"2.27.1"}}}(nt);var Zo,Ui=function(){function Y(){}return Y.prototype.invoke=function(){return function _t(Y){return void 0===Y&&(Y=window.navigator.userAgent),/LIFF\/SubWindow/.test(Y)}()},Y}(),Rr=function(){function Y($){this.storage=$}return Object.defineProperty(Y,"IN_SUB_WINDOW_KEY",{get:function(){return"inSubWindow"},enumerable:!1,configurable:!0}),Y.prototype.invoke=function(){return new URLSearchParams(window.location.search).has(di)&&this.setInSubWindow(!0),!(!this.getInSubWindow()&&!this.getSubWindowIdentifier())},Y.prototype.getInSubWindow=function(){var $=this.storage.getItem("".concat(It,":").concat(this.getLiffId(),":").concat(Y.IN_SUB_WINDOW_KEY));return null!==$&&JSON.parse($)},Y.prototype.getSubWindowIdentifier=function(){var $,be,vt="liff.subwindow.identifier",Wt=new URLSearchParams(window.location.search);return Wt.get(vt)||($=vt,(be=Wt.get("liff.state"))?new URLSearchParams(be).get($):null)||null},Y.prototype.setInSubWindow=function($){this.storage.setItem("".concat(It,":").concat(this.getLiffId(),":").concat(Y.IN_SUB_WINDOW_KEY),String($))},Y.prototype.getLiffId=function(){var $=ft().liffId;if(!$)throw z(je,"liffId is necessary for liff.init()");return $},Y}(),fs=function(Y){function $(){var be=Y.call(this)||this;return be.impl=et()?{invoke:function(){return!1}}:Zn()?new Ui:new Rr(window.sessionStorage),be}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"isSubWindow"}
1,enumerable:!1,configurable:!0}),$.prototype.install=function(){return this.impl.invoke.bind(this.impl)},$}(nt),Rs=new fs,ls=Rs.install();function ds(){var Y=navigator.userAgent.match(/Line\/\d+(\.\d+)*/i);return Y?Y[0].slice(5):null}function As(){if(!Zo){var Y=window.navigator.userAgent.toLowerCase();Zo=/iphone|ipad|ipod/.test(Y)?"ios":/android/.test(Y)?"android":"web"}return Zo}function xt(Y){var $,be=Mr();return null===($=be?.availability)||void 0===$?void 0:$[Y]}function kn(Y,$,be){var vt=xt(Y),Wt=be||Y;if(!vt)return{available:!1,error:{code:ie,message:"".concat(Wt," is not allowed in this LIFF app")}};var Yi,zi,jr,fn=vt.minVer,si=!fn||(Yi=fn,zi=vt.unsupportedFromVer,!!(jr=ds())&&!(zi&&Sn(jr,zi)>0)&&Sn(jr,Yi)>=0),xi=Zn();return xi&&!si?{available:!1,error:{code:ie,message:"".concat(Wt," is unavailable in this client version.")}}:vt.permission?xi&&si||$?{available:!0}:{available:!1,error:{code:ie,message:"".concat(Wt," is not allowed in external browser")}}:{available:!1,error:{code:ie,message:"".concat(Wt," is not allowed in this LIFF app")}}}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getLineVersion"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return ds()}}}(nt),function(Y){function $(){return Y.call(this)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getOS"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return As()}}}(nt);var Hn=function(){return Mn()?!De()&&ke()?{available:!1,error:{code:ie,message:"Subwindow is not supported in this browser"}}:ls()?{available:!1,error:{code:ie,message:"this api can be only called
1in parent window"}}:kn("subwindowOpen",!0):{available:!1,error:{code:yt,message:"Need access_token for api call, Please login first"}}},fi=["subwindowOpen","shareTargetPicker","multipleLiffTransition","scanCode","scanCodeV2","getAdvertisingId","addToHomeScreen","bluetoothLeFunction","skipChannelVerificationScreen","createShortcutOnHomeScreen","internalCreateShortcutOnHomeScreen","iap"],Hi={scanCode:function(){return kn("scanCode")},getAdvertisingId:function(){return kn("getAdvertisingId")},bluetoothLeFunction:function(){return kn("bluetoothLeFunction")},shareTargetPicker:function(){return ls()?{available:!1,error:{code:ie,message:"this api can be only called in parent window"}}:Mn()?kn("shareTargetPicker",!0):{available:!1,error:{code:yt,message:"Need access_token for api call, Please login first"}}},multipleLiffTransition:function(){var Y=xt("multipleLiffTransition");return Y&&Y.permission?Zn()?{available:!0}:{available:!1,error:{code:ie,message:"multipleLiffTransition is available only in the LINE App browser"}}:{available:!1,error:{code:ie,message:"multipleLiffTransition is not allowed in this LIFF app"}}},subwindowOpen:Hn,scanCodeV2:function(){if(!Mn())return{available:!1,error:{code:yt,message:"Need access_token for api call, Please login first"}};var Y=Hn();return Y.available?kn("scanCodeV2",!0):Y},addToHomeScreen:function(){return ls()?{available:!1,error:{code:ie,message:"this api can be only called
1in parent window"}}:kn("addToHomeScreen")},skipChannelVerificationScreen:function(){var Y=Mr();return Y?"square_chat"===Y.type?{available:!1,error:{code:ie,message:"skipChannelVerificationScreen is not allowed in OpenChat"}}:kn("skipChannelVerificationScreen"):{available:!1,error:{code:ie,message:"Context is not found"}}},createShortcutOnHomeScreen:function(){if(ls())return{available:!1,error:{code:ie,message:"this api can be only called in parent window"}};if(!Mn())return{available:!1,error:{code:yt,message:"Need access_token for api call, Please login first"}};var Y=As();return"android"!==Y&&"ios"!==Y?{available:!1,error:{code:ie,message:"this api can be only called in mobile device"}}:kn("addToHomeV2",!0,"createShortcutOnHomeScreen")},internalCreateShortcutOnHomeScreen:function(){if(ls())return{available:!1,error:{code:ie,message:"this api can be only called in parent window"}};if(!Mn())return{available:!1,error:{code:yt,message:"Need access_token for api call, Please login first"}};var Y=As();if("android"!==Y&&"ios"!==Y)return{available:!1,error:{code:ie,message:"this api can be only called
1in mobile device"}};var $=kn("addToHomeV2",!0,"internalCreateShortcutOnHomeScreen");return $.available?kn("addToHomeLineScheme",!0,"internalCreateShortcutOnHomeScreen"):$},iap:function(){return Zn()?Mn()?ls()?{available:!1,error:{code:ie,message:"this api can be only called in parent window"}}:kn("iap",!1,"In-App Purchase"):{available:!1,error:{code:yt,message:"Need access_token for api call, Please login first"}}:{available:!1,error:{code:ie,message:"In-App Purchase is not allowed in external browser"}}}},ur=function(Y){return function(){var $=Y();if(!$.available)throw z($.error.code,$.error.message)}},Lr={scanCode:ur(Hi.scanCode),getAdvertisingId:ur(Hi.getAdvertisingId),bluetoothLeFunction:ur(Hi.bluetoothLeFunction),shareTargetPicker:ur(Hi.shareTargetPicker),multipleLiffTransition:ur(Hi.multipleLiffTransition),subwindowOpen:ur(Hi.subwindowOpen),scanCodeV2:ur(Hi.scanCodeV2),addToHomeScreen:ur(Hi.addToHomeScreen),skipChannelVerificationScreen:ur(Hi.skipChannelVerificationScreen),createShortcutOnHomeScreen:ur(Hi.createShortcutOnHomeScreen),internalCreateShortcutOnHomeScreen:ur(Hi.internalCreateShortcutOnHomeScreen),iap:ur(Hi.iap)};function Or(Y){if(be=Y,!fi.some(function(vt){return vt===be}))throw z(wt,"Unexpected API name.");var be,$=Hi[Y];return!$||$().available}!function(Y){function $(){var be=Y.apply(this,(0,q.fX)([],(0,q.zs)(arguments),!1))||this;return be.hooks={},be}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"isApiAvailable"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(be){return Or(be)}}}(nt);var Gr=function(){function Y(){}return Y.prototype.invoke=function($){var be=Lr[$];return!!be&&(be(),!0)},Y}(),lo=function(){function Y($){this.liff=$}return Y.prototype.invoke=function($){return this.liff.checkFeature($)},Y}(),ms=function(){function Y($){this.impl=Sn("2.27.1",Y.SDK_VERSION_SUPPORTING_NEW)>=0?new Gr:new lo($)}return Object.defineProperty(Y,"SDK_VERSION_SUPPORTING_NEW",{get:function(){return"2.11.0"},enumerable:!1,configurable:!0}),Y.prototype.invoke=function($){return this.impl.invoke($)},Y}(),Gs=function(Y,$){return(Gs=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(be,vt){be.__proto__=vt}||function(be,vt){for(var Wt in vt)Object.prototype.hasOwnProperty.call(vt,Wt)&&(be[Wt]=vt[Wt])})(Y,$)},Oo=!1,Js=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return function(be,vt){if("function"!=typeof vt&&null!==vt)throw new TypeError("Class extends value "+String(vt)+" is not a constructor or null");function Wt(){this.constructor=be}Gs(be,vt),be.prototype=null===vt?Object.create(vt):(Wt.prototype=vt.prototype,new Wt)}($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"_legacyExtensionsEnabled"},enumerable:!1,configurable:!0}),$.prototype.install=function(){Oo=!0},$}(nt);function no(){Es()}function Ka(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:if(!Y.ok)return[3,4];Wt.label=1;case 1:return Wt.trys.push([1,3,,4]),[4,Y.json()];case 2:return[2,Wt.sent()];case 3:return Wt.sent(),[2,Y];case 4:return $=String(Y.status),be=Ae.has($)?$:Pe,[4,Y.json().catch(function(){throw z(be,Y.statusText)})];case 5:throw z((vt=Wt.sent()).error||be,vt.error_description||vt.message)}})})}function Qa(Y){var $=function(be){if(be)return be;var vt=oo();if(!vt)throw z(yt,"Need access_token for api call, Please login first");return{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(vt)}}(Y&&Y.headers);return(0,q.Cl)((0,q.Cl)({},Y),{headers:$})}function cs(Y,$){var be;try{be=Qa($)}catch(vt){return Promise.reject(vt)}return fetch(Y,be).then(Ka)}function ll(Y,$){var be;try{be=Qa($)}catch(vt){return Promise.reject(vt)}return fetch(Y,be)}function wo(Y){var $=Y.subdomain,vt=Y.pathname;return"https://".concat(void 0===$?"api":$,".").concat("line.me","/").concat(vt)}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"logout"}
1,enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return no()}}}(nt);var wl={token:wo({pathname:"oauth2/v2.1/token"}),certs:wo({pathname:"oauth2/v2.1/certs"}),"openid-configuration":wo({subdomain:"access",pathname:".well-known/openid-configuration"}),authorize:wo({subdomain:"access",pathname:"liff/v1/authorize"}),profile:wo({pathname:"v2/profile"}),message:wo({pathname:"message/v3/share"}),friendship:wo({pathname:"friendship/v1/status"}),shareTargetPicker:wo({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker"}),shareTargetPickerOtt:wo({pathname:"liff/v2/apps"}),shareTargetPickerResult:wo({subdomain:"access",pathname:"oauth2/v2.1/liff/shareTargetPicker/result"}),apps:wo({pathname:"liff/v2/apps"}),subWindowGetMSIT:wo({pathname:"liff/v2/sub/msit"}),subWindowGetMSTByMSIT:wo({pathname:"liff/v2/sub/mst"}),subWindowSubscribe:wo({subdomain:"liff",pathname:"liff/v2/sub/waitResult"}),subWindowPost:wo({pathname:"liff/v2/sub/result"}),subWindowGetAppData:wo({pathname:"liff/v2/sub/appData"}),subWindowGetOrigin:function(Y){return wo({pathname:"liff/v2/sub/".concat(Y,"/origin")})},accessTokenVerify:wo({pathname:"oauth2/v2.1/verify"}),unauthorizedPermissions:wo({subdomain:"liff",pathname:"liff/v2/incrementalAgreement/unauthorizedPermissions"}),permanentLink:wo({subdomain:"liff",pathname:"liff/v2/permanentLink"}),createShortcutOnHomeScreen:wo({subdomain:"liff-shortcut",pathname:"api/shortcut"})};function Us(Y){return wl[Y]}function Ps(Y){return cs("".concat(Us("accessTokenVerify"),"?access_token=").concat(encodeURIComponent(Y)),{headers:{"Content-Type":"application/json",Accept:"application/json"}})}var ba="liff.subwindow.identifier",ea="liff.subwindow.cryptokey",Os=(0,q.Cl)((0,q.Cl)({},Yn),{GET_DATA:"getData",SET_DATA:"setData",NOT_FOUND:"notFound",TEARDOWN:"teardown"}),Ea=function(Y){return(0,q.sH)(void 0,void 0,void 0,function(){var $;return(0,q.YH)(this,function(be){switch(be.label){case 0:return be.trys.push([0,2,,3]),[4,window.crypto.subtle.importKey("jwk",{kty:"oct",k:Y,alg:"A128GCM",ext:!0},{name:"AES-GCM"},!1,["encrypt","decrypt"])];case 1:return[2,be.sent()];case 2:throw $=be.sent(),z(Pe,$);case 3:return[2]}})})},Mo=function(Y,$,be){return(0,q.sH)(void 0,void 0,void 0,function(){var vt,Wt,fn,$n;return(0,q.YH)(this,function(si){switch(si.label){case 0:return si.trys.push([0,3,,4]),vt=(new TextEncoder).encode(Y),[4,Ea($)];case 1:return Wt=si.sent(),[4,window.crypto.subtle.encrypt({name:"AES-GCM",iv:vt},Wt,(new TextEncoder).encode(be))];case 2:return fn=si.sent(),[2,btoa(new Uint8Array(fn).reduce(function(xi,Yi){return xi+String.fromCharCode(Yi)},""))];case 3:throw $n=si.sent(),z(Pe,$n);case 4:return[2]}})})},pa=function(Y,$,be){return(0,q.sH)(void 0,void 0,void 0,function(){var vt,Wt,fn,$n,si,xi,Yi;return(0,q.YH)(this,function(zi){switch(zi.label){case 0:return zi.trys.push([0,3,,4]),vt=(new TextEncoder).encode(Y),[4,Ea($)];case 1:for(Wt=zi.sent(),fn=atob(be),$n=new Uint8Array(fn.length),si=0;si<fn.length;si++)$n[si]=fn.charCodeAt(si);return[4,window.crypto.subtle.decrypt({name:"AES-GCM",iv:vt},Wt,$n.buffer)];case 2:return xi=zi.sent(),[2,(new TextDecoder).decode(new Uint8Array(xi))];case 3:throw Yi=zi.sent(),z(Pe,Yi);case 4:return[2]}})})},Kr=function(Y){return"".concat(Y.identifier,"-").concat(Y.action,"-").concat(Y.timestamp)},_l=function(Y){return Object.keys(Yn).map(function($){return Yn[$]}).includes(Y)?"broadcast":"command"};function el(){var Y=document.createElement("form");Y.method="POST",Y.action="$MESSAGE_HANDLER_URL";var $=document.createElement("input");$.type="hidden",$.name="identifier",$.value="$IDENTIFIER",Y.appendChild($),document.body.appendChild(Y),Y.submit()}var tl=function(Y){void 0===Y&&(Y="main");var $=this;this.identification={identifier:"",cryptoKey:""},this.messageHandlerInstance=null,this.listeners=new Map,this.sentMessages=[],this.generateIdentification=function(){return(0,q.sH)($,void 0,void 0,function(){var be,vt,Wt,fn,$n;return(0,q.YH)(this,function(si){switch(si.label){case 0:return be=new URLSearchParams(window.location.search),vt=function(xi){var Yi=be.get("liff.state");return Yi?new URLSearchParams(Yi).get(xi):null},Wt=this,$n={identifier:"main"===this.windowType?L(12):be.get("liff.subwindow.identifier")||vt("liff.subwindow.identifier")||""},"main"!==this.windowType?[3,2]:[4,(0,q.sH)(void 0,void 0,void 0,function(){var xi,Yi,zi;return(0,q.YH)(this,function(jr){switch(jr.label){case 0:return jr.trys.push([0,3,,4]),[4,window.crypto.subtle.generateKey({name:"AES-GCM",length:128},!0,["encrypt","decrypt"])];
1case 1:return xi=jr.sent(),[4,window.crypto.subtle.exportKey("jwk",xi)];case 2:if(!(Yi=jr.sent())||!Yi.k)throw z(Pe,"failed to generate key");return[2,Yi.k];case 3:throw zi=jr.sent(),z(Pe,zi);case 4:return[2]}})})];case 1:return fn=si.sent(),[3,3];case 2:fn=be.get(ea)||vt(ea)||"",si.label=3;case 3:return Wt.identification=($n.cryptoKey=fn,$n),[2]}})})},this.hasIdentification=function(){var be=$.identification,vt=be.identifier,Wt=be.cryptoKey;return"string"==typeof vt&&"string"==typeof Wt&&vt.length>0&&Wt.length>0},this.isReady=function(){return $.hasIdentification()&&!!$.messageHandlerInstance},this.setup=function(){return(0,q.sH)($,void 0,void 0,function(){var be,Wt,fn,$n,si=this;return(0,q.YH)(this,function(xi){switch(xi.label){case 0:return this.messageHandlerInstance?[2]:[4,this.generateIdentification()];case 1:if(xi.sent(),!(be=this.identification.identifier))return[2];if(!be.match(/^[a-zA-Z0-9]+$/gm))throw z(Pe,"Invalid identifier");return(Wt=document.createElement("iframe")).style.display="none",Wt.src="about:blank",document.body.appendChild(Wt),null===($n=Wt?.contentWindow)||void 0===$n||$n.window.eval("(".concat(el.toString().replace("$MESSAGE_HANDLER_URL","".concat("https://liff-subwindow.line.me/liff/v2/sub/messageHandler")).replace("$IDENTIFIER",be.split("'")[0]),")()")),fn="iframe-".concat(be,"-ready"),[4,new Promise(function(Yi){var zi=function(jr){jr.data[fn]&&(si.messageHandlerInstance=Wt,window.addEventListener("message",si.proxyToListeners),Yi(),document.removeEventListener("message",zi))};window.addEventListener("message",zi)})];case 2:return[2,xi.sent()]}})})},this.teardown=function(){return(0,q.sH)($,void 0,void 0,function(){var be,vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return this.isReady()?[4,this.send({eventName:Os.TEARDOWN})]:[3,2];case 1:Wt.sent(),window.removeEventListener("message",this.proxyToListeners),this.listeners.clear(),null===(vt=null===(be=this.messageHandlerInstance)||void 0===be?void 0:be.parentNode)||void 0===vt||vt.removeChild(this.messageHandlerInstance),this.messageHandlerInstance=null,Wt.label=2;case 2:return[2]}})})},this.listen=function(be){$.listeners.set(be,be)},this.listenRepliedEvent=function(be,vt){var Wt=function(fn){fn.replyTarget&&function(Y,$){return Kr(Y)===Kr($)}(fn.replyTarget,be)&&(vt(fn),$.listeners.delete(Wt))};$.listeners.set(Wt,Wt)},this.send=function(be){return(0,q.sH)($,void 0,void 0,function(){var vt,Wt,fn,$n,si=this;return(0,q.YH)(this,function(xi){switch(xi.label){case 0:if(!this.isReady())throw z("message bus is not ready to send message");return Wt={action:_l(be.eventName),identifier:this.identification.identifier||"",timestamp:(new Date).getTime()},[4,this.getEncryptedContext(be)];case 1:return Wt.context=xi.sent(),vt=Wt,null===($n=null===(fn=this.messageHandlerInstance)||void 0===fn?void 0:fn.contentWindow)||void 0===$n||$n.postMessage({messageBusEvent:vt},"*"),this.sentMessages.push(Kr(vt)),[4,new Promise(function(Yi){si.listenRepliedEvent(vt,function(zi){Yi(zi.context)})})];case 2:return[2,xi.sent()]}})})},this.reply=function(be,vt){return(0,q.sH)($,void 0,void 0,function(){var Wt,fn,$n,si;return(0,q.YH)(this,function(xi){switch(xi.label){case 0:if(!this.isReady())throw z("message bus is not ready to send message");if(!be.identifier||!be.timestamp)throw z(Pe,"target message is not valid");return fn={action:"broadcast"},[4,this.getEncryptedContext(vt)];case 1:return fn.context=xi.sent(),fn.identifier=this.identification.identifier||"",fn.timestamp=(new Date).getTime(),fn.replyTarget={action:be.action,identifier:be.identifier,timestamp:be.timestamp},Wt=fn,null===(si=null===($n=this.messageHandlerInstance)||void 0===$n?void 0:$n.contentWindow)||void 0===si||si.postMessage({messageBusEvent:Wt},"*"),this.sentMessages.push(Kr(Wt)),[2]}})})},this.setData=function(be,vt){void 0===be&&(be="appData"),$.send({eventName:Os.SET_DATA,key:be,data:vt})},this.getData=function(){for(var be=[],vt=0;vt<arguments.length;vt++)be[vt]=arguments[vt];return(0,q.sH)($,(0,q.fX)([],(0,q.zs)(be),!1),void 0,function(Wt){return void 0===Wt&&(Wt="appData"),(0,q.YH)(this,function(fn){switch(fn.label){case 0:return[4,this.send({eventName:Os.GET_DATA,key:Wt})];case 1:return[2,fn.sent()]}})})},this.proxyToListeners=function(be){return(0,q.sH)($,void 0,void 0,function(){var vt,Wt=this;return(0,q.YH)(this,function(fn){return vt=be.data.messageBusEvent,"https://liff-subwindow.line.me"!==be.origin?[2]:vt?(this.sentMessages.includes(Kr(vt))||vt.identifier!==this.identification.identifier||"broadcast"!==vt.action&&!vt.replyTarget||this.listeners.forEac
1h(function($n){return(0,q.sH)(Wt,void 0,void 0,function(){var si,xi,Yi;return(0,q.YH)(this,function(zi){switch(zi.label){case 0:return si=$n,xi=[(0,q.Cl)({},vt)],Yi={},[4,this.getDecryptedContext(vt.context)];case 1:return si.apply(void 0,[q.Cl.apply(void 0,xi.concat([(Yi.context=zi.sent(),Yi)]))]),[2]}})})}),[2]):[2]})})},this.getEncryptedContext=function(be){return(0,q.sH)($,void 0,void 0,function(){var vt,Wt,fn,$n,si,xi,Yi;return(0,q.YH)(this,function(zi){switch(zi.label){case 0:return Wt=(vt=this.identification).identifier,fn=vt.cryptoKey,si=($n=JSON).stringify,Yi={eventName:be.eventName,key:be.key?be.key:void 0},be.data?[4,Mo(Wt,fn,JSON.stringify(be.data))]:[3,2];case 1:return xi=zi.sent(),[3,3];case 2:xi=void 0,zi.label=3;case 3:return[2,si.apply($n,[(Yi.data=xi,Yi)])]}})})},this.getDecryptedContext=function(be){return(0,q.sH)($,void 0,void 0,function(){var vt,Wt,fn,$n,si,xi,Yi,zi;return(0,q.YH)(this,function(jr){switch(jr.label){case 0:return Wt=(vt=this.identification).identifier,fn=vt.cryptoKey,($n=JSON.parse(be)).data&&"string"==typeof $n.data?(zi=(Yi=JSON).parse,[4,pa(Wt,fn,$n.data)]):[3,2];case 1:return xi=zi.apply(Yi,[jr.sent()]),[3,3];case 2:xi=void 0,jr.label=3;case 3:return si=xi,[2,(0,q.Cl)((0,q.Cl)({},$n),{data:si})]}})})},this.windowType=Y};!function(){if(typeof window<"u"&&"function"!=typeof window.CustomEvent){let Y=function($,be){var vt=be||{},Wt=vt.bubbles,fn=void 0!==Wt&&Wt,$n=vt.cancelable,si=void 0!==$n&&$n,xi=vt.detail,Yi=void 0===xi?void 0:xi,zi=document.createEvent("CustomEvent");return zi.initCustomEvent($,fn,si,Yi),zi};Y.prototype=Event.prototype,window.CustomEvent=Y}}();var Et={},pe=!1;function Gt(Y,$){pe||(pe=!0,window.addEventListener(Me,function(be){be&&be.detail&&be.detail.type&&Et[be.detail.type]&&Et[be.detail.type].forEach(function(vt){return vt(be)})})),Et[Y]?Et[Y].push($):Et[Y]=[$]}function Ln(Y,$){var be=Et[Y];if(be&&Array.isArray(be)){var vt=be.indexOf($);vt>=0&&be.splice(vt,1)}}function Ds(Y,$,be){void 0===$&&($={}),void 0===be&&(be="");var vt=st();if(!vt)throw z(ie,"Invalid featureToken for client features");if(!window._liff||!window._liff.postMessage)throw z(wt,"postMessage is not available from client");he.debug("[js postMessage to client]",Y,be,$),window._liff.postMessage(Y,vt,be,JSON.stringify($))}function _o(Y,$,be){return void 0===$&&($={}),void 0===be&&(be={once:!0}),st()?(be=(0,q.Cl)({callbackId:L(12),once:!0},be),new Promise(function(vt,Wt){var fn=function($n){$n&&$n.detail&&($n.detail.callbackId===be.callbackId||"string"!=typeof $n.detail.callbackId)&&(be.once&&Ln(Y,fn),he.debug("[callback detail]",$n.detail),$n.detail.error?Wt($n.detail.error):$n.detail.data?vt($n.detail.data):Wt($n.detail)),Wt()};Gt(Y,fn),Ds(Y,$,be.callbackId)})):Promise.reject(z(ie,"Invalid featureToken for client features"))}function Yo(){var Y=ds();null!==Y&&("ios"===As()&&Sn(Y,"9.19")>=0||"android"===As()&&Sn(Y,"11.6.0")>=0)?location.href="liff://close":window._liff&&window._liff.postMessage?null!==Y&&Sn(Y,"10.15.0")>=0?"ios"===As()?window._liff.postMessage("closeWindow",""):window._liff.postMessage("closeWindow","","",""):_o("closeWindow"):window.close()}function Ha(Y){return cs(Us("subWindowGetOrigin")(Y))}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"closeWindow"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Yo()}}}(nt);var ja={};function Ya(Y,$){Y&&ja[Y]&&ja[Y].forEach(function(be){be($)})}function cl(Y,$){ja[Y]||(ja[Y]=[]),ja[Y].push($)}function Ra(Y,$){if(ja[Y]){var be=ja[Y].indexOf($);be>=0&&ja[Y].splice(be,1)}}var gi,gr,ct,En,oi,yr=function(){function Y($){this.storage=$}return Y.prototype.getItem=function($){return this.storage.getItem("".concat(this.getKeyPrefix(),":").concat($))},Y.prototype.setItem=function($,be){this.storage.setItem("".concat(this.getKeyPrefix(),":").concat($),be)},Y.prototype.removeItem=function($){this.storage.removeItem("".concat(this.getKeyPrefix(),":").concat($))},Y.prototype.clear=function(){this.storage.clear()},Y.prototype.getKeyPrefix=function(){return"".concat(It,":").concat(this.getLiffId())},Y.prototype.getLiffId=function(){var $=ft().liffId;if(!$)throw z(je,"liffId is necessary for liff.init()");return $},Y}(),Xr=new yr(new Ue);function ho(){var Y=Xr.getItem("subWindowStatusUpdated");return null!==Y&&JSON.parse(Y)}function ri(Y){Xr.setItem("subWindowStatusUpdated",String(Y))}function nr(Y){gi=Y}function Pi(){return gi}function Nr(){return ct}function Bs(){return En}function Qs(){return(0,q.sH)(this,arguments,void 0,function(Y){return void 0===Y&&(Y="main"),(0,q.YH)(this,function($){switch($.label){case 0:return[4,(oi=new tl
1(Y)).setup()];case 1:return $.sent(),[2,oi]}})})}function qs(){return oi}var eo=new Ue,dc=new yr(et()?eo:window.sessionStorage);function nl(){return dc.getItem("mainWindowOrigin")}function Sl(Y){return(0,q.sH)(this,arguments,void 0,function($,be){var vt,Wt,fn,$n,si,xi,Yi,zi;return void 0===be&&(be={}),(0,q.YH)(this,function(jr){switch(jr.label){case 0:if(null!=(vt=qs())&&vt.isReady())return[3,5];if(Wt=JSON.stringify(be),fn=ft().liffId,$n=nl(),!window.opener||!$n||!fn)throw z(Ot);si=!1,jr.label=1;case 1:return jr.trys.push([1,3,,4]),[4,Ha(fn)];case 2:return xi=jr.sent(),si=xi.subwindowCommonModule,[3,4];case 3:throw Yi=jr.sent(),he.debug(Yi),z(Ot);case 4:return zi=si?$n:location.origin,[2,new Promise(function(ss){window.addEventListener("message",function ys(xs){(function uc(Y){return!(!Y.data||"string"!=typeof Y.data.type||![Yn.SUBMIT,Yn.CANCEL].includes(Y.data.type))})(xs)&&(window.removeEventListener("message",ys),ss({status:$,result:Wt}))}),window.opener.postMessage({status:$,result:Wt},zi)})];case 5:return vt.send({eventName:$,data:be}),[4,new Promise(function(ss){setTimeout(ss,500)})];case 6:return jr.sent(),[2,{status:$,result:JSON.stringify(be)}]}})})}function il(Y){var $,be=Bs();if(Y.origin===be){var vt=Y.data;if(vt){var Wt,fn=vt.status,$n=vt.result;try{Wt=JSON.parse($n||"{}")}catch{Wt={}}switch(fn){case ai:window.clearInterval(Nr()),wa();break;case Yn.CANCEL:case Yn.SUBMIT:ri(!0),window.clearInterval(Nr()),window.removeEventListener("message",il),Ya(fn,Wt),null===($=Pi())||void 0===$||$.postMessage({type:fn},Bs());break;default:he.debug("unexpected message")}}}}var da=function(Y){return(0,q.sH)(void 0,void 0,void 0,function(){var $,be,vt,Wt;return(0,q.YH)(this,function(fn){if(ho())return[2];switch(be=($=Y.context).eventName,vt=$.data,Wt=qs(),be){case Yn.INIT:ps(!vt.hasOpener);break;case Yn.CANCEL:case Yn.SUBMIT:ri(!0),Ya(be,vt),Wt?.reply(Y,{eventName:be});break;case Yn.CLOSE:!1===ho()&&(ri(!0),Ya(Yn.CLOSE,{})),wa()}return[2]})})};function hc(){window.clearInterval(gr),window.clearInterval(Nr()),window.removeEventListener("message",il)}function ps(Y){if(void 0===Y&&(Y=!1),hc(),ri(!1),Y){var $=Pi();$&&($.close(),nr(null))}}function wa(){return(0,q.sH)(this,void 0,void 0,function(){var Y;return(0,q.YH)(this,function($){switch($.label){case 0:return(Y=qs())?[4,Y.teardown()]:[3,2];case 1:$.sent(),$.label=2;case 2:return[2]}})})}var gl=null;function dl(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt,fn,$n,si,xi,Yi,zi,jr,ss,ys,xs,os=this;return(0,q.YH)(this,function(_s){switch(_s.label){case 0:if($=Y.msit,be=Y.mstChallenge,Wt=void 0===(vt=Y.reconnectCount)?0:vt,fn=function(){return(0,q.sH)(os,void 0,void 0,function(){return(0,q.YH)(this,function(To){switch(To.label){case 0:return[4,new Promise(function(fa){return setTimeout(fa,1e3)})];case 1:return To.sent(),[4,dl({msit:$,mstChallenge:be,onSuccess:Y.onSuccess,onError:Y.onError,reconnectCount:Wt+1})];case 2:return To.sent(),[2]}})})},$n=function(){for(var To=[],Io=0;Io<arguments.length;Io++)To[Io]=arguments[Io];gl=null,Y.onSuccess.apply(Y,(0,q.fX)([],(0,q.zs)(To),!1))},si=function(){for(var To=[],Io=0;Io<arguments.length;Io++)To[Io]=arguments[Io];gl=null,Y.onError.apply(Y,(0,q.fX)([],(0,q.zs)(To),!1))},xi=Date.now(),null===gl&&(gl=xi),Yi=xi-gl,Wt>=10||Yi>6e5)return si(z(Pe,"Failed to connect")),[2];_s.label=1;case 1:return _s.trys.push([1,3,,5]),[4,ll(Us("subWindowSubscribe"),{method:"POST",body:JSON.stringify({msit:$,mstChallenge:be})})];case 2:return zi=_s.sent(),[3,5];case 3:return _s.sent(),[4,fn()];case 4:return _s.sent(),[2];case 5:return zi.status>=500?[4,fn()]:[3,7];case 6:return _s.sent(),[3,17];case 7:return zi.status>=400&&500>zi.status?[4,mc(zi)]:[3,9];case 8:return ss=_s.sent(),jr=ss?z(wt,ss.errorDetail):z(Pe,"Some error happened in the server"),si(jr),[3,17];case 9:return 200!==zi.status?[3,16]:[4,mc(zi)];case 10:if(!(ss=_s.sent()))return si(z(Pe,"Some error happened in the server")),[2];switch(xs=ss.result,ys=ss.status){case Yn.ERROR:return[3,11];case Yn.CLOSE:case Yn.CANCEL:case Yn.SUBMIT:return[3,13]}return[3,14];case 11:return[4,fn()];case 12:return _s.sent(),[3,15];case 13:return $n(ys,xs),[3,15];case 14:si(z(Pe,"Some error happened in the server")),_s.label=15;case 15:return[3,17];case 16:si(z(Pe,"Some error happened in the server")),_s.label=17;case 17:return[2]}})})}function mc(Y){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function($){switch($.label){case 0:return $.trys.push([0,2,,3]),[4,Y.json()];case 1:return[2,$.sent()];case 2:return $.sent(),[2,null];case 3:return[2]}})})}function Ac(Y){var $={};return Object.keys(Y).forEach(function(be){$[be]="closeButtonColor"===be?"white"===Y[be]?"#ffffff"
1:"#000000":Y[be]}),$}var Ws={height:"full",closeButtonPosition:"right",closeButtonColor:"black",closeButtonLabel:""};function go(Y){var $=Y.appData,be=Y.native,vt=ft().liffId,Wt=vi(),fn=Qi(Y.url);if(!vt)return Promise.reject(z(yt,"liffId is invalid"));if(!Wt)return Promise.reject(z(yt,"mst_challenge is invalid"));if(!fn)return Promise.reject(z(wt,"params.url must be liff url or mini url"));var si,xi,Yi,zi,jr,ss,$n=Object.assign({},Ws,be);return(si={mainLiffId:vt,subLiffId:fn,mstChallenge:Wt,appData:$,view:Ac($n)},xi=si.mainLiffId,Yi=si.subLiffId,zi=si.mstChallenge,jr=si.appData,ss=si.view,xi&&zi?cs(Us("subWindowGetMSIT"),{method:"POST",body:JSON.stringify({mainLiffId:xi,subLiffId:Yi,mstChallenge:zi,appData:jr,view:ss})}):Promise.reject(z(wt,"no proper argument"))).then(function(si){var xi=si.msit;return dl({msit:xi,mstChallenge:Wt,onSuccess:function(Yi,zi){Ya(Yi,zi)},onError:function(Yi){Ya(Yn.ERROR,Yi)}}),xi}).then(function(si){return function(xi,Yi){return(0,q.sH)(this,void 0,void 0,function(){var zi,jr,ss;return(0,q.YH)(this,function(ys){switch(ys.label){case 0:return zi=xi.url,(jr=new URLSearchParams).set("msit",Yi),[4,null===(ss=xi.onBeforeTransition)||void 0===ss?void 0:ss.call(xi)];case 1:return ys.sent(),location.href="".concat("liff://subwindow","?url=").concat(encodeURIComponent(zi),"&").concat(jr.toString()),[2]}})})}(Y,si)})}function Fa(Y){return Lr.subwindowOpen(),Zn()?go(Y):function fc(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,vt,Wt,fn,$n,si,xi,Yi,zi,jr,ss;return(0,q.YH)(this,function(ys){switch(ys.label){case 0:return($=Qi(Y.url))?(ps(!0),[4,wa()]):[2,Promise.reject(z(wt,"params.url must be liff url or mini url"))];case 1:return ys.sent(),nr("ios"!==As()||Pt()?window.open("","liffsubwindow","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open()),vt=Y.appData,(Wt=new URL(Y.url)).searchParams.append(di,"true"),[4,Qs()];case 2:return fn=ys.sent(),Wt.searchParams.append(ba,fn.identification.identifier),Wt.searchParams.append(ea,fn.identification.cryptoKey),Wt.hostname=(To=(_s=(0,q.zs)(Wt.hostname.split(".")))[0],Io=_s.slice(1),(0,q.fX)(["".concat(To,"-ext")],(0,q.zs)(Io),!1).join(".")),$n=Wt.toString(),[4,Ha($)];case 3:if(si=ys.sent(),xi=si.origin,Yi=si.subwindowCommonModule,!(zi=Pi()))throw z(We);if(!Yi)return zi.close(),[2];En=xi,fn.listen(da),fn.setData("appData",vt),window.addEventListener("message",il),ys.label=4;case 4:return ys.trys.push([4,6,,7]),[4,null===(ss=Y.onBeforeTransition)||void 0===ss?void 0:ss.call(Y)];case 5:return ys.sent(),[3,7];case 6:throw jr=ys.sent(),zi.close(),jr;case 7:return zi.location.href=$n,xs=function(os,_s){var To=Pi(),Io={type:ai};return _s&&(Io.message=JSON.stringify(_s)),window.setInterval(function(){To?.postMessage(Io,os)},100)}(xi,vt),ct=xs,os=window.setInterval(function(){var os=Pi();os&&os.closed&&(hc(),nr(null),!1===ho()&&(ri(!0),Ya(Yn.CLOSE,{})))},100),gr=os,[2]}var os,_s,To,Io,xs})})}(Y)}function Ll(Y){if(!Y.mst||!Y.status)return Promise.reject(z(wt,"no proper argument"));var $=JSON.stringify(Y);return cs(Us("subWindowPost"),{method:"POST",body:$})}
1function Go(){if(!ls())throw z(yt,"this api can be only called in child window")}function kc(Y){return void 0===Y&&(Y={}),Go(),Zn()?function(){return(0,q.sH)(this,arguments,void 0,function($){var be,vt;return void 0===$&&($={}),(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return(be=as())?[4,Ll({mst:be,status:Yn.CANCEL,result:$})]:[2,Promise.reject(z(yt,"mst is invalid"))];case 1:return vt=Wt.sent(),ri(!0),[2,vt]}})})}(Y):(void 0===($=Y)&&($={}),Sl(Yn.CANCEL,$));var $}function vl(Y){return void 0===Y&&(Y={}),Go(),Zn()?function(){return(0,q.sH)(this,arguments,void 0,function($){var be,vt;return void 0===$&&($={}),(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return(be=as())?[4,Ll({mst:be,status:Yn.SUBMIT,result:$})]:[2,Promise.reject(z(yt,"mst is invalid"))];case 1:return vt=Wt.sent(),ri(!0),[2,vt]}})})}(Y):(void 0===($=Y)&&($={}),Sl(Yn.SUBMIT,$));var $}function Tl(){return Go(),Zn()?function(){return(0,q.sH)(this,void 0,void 0,function(){var Y;return(0,q.YH)(this,function($){switch($.label){case 0:return!1!==ho()?[3,2]:(Y=as())?[4,Ll({mst:Y,status:Yn.CLOSE,result:{}})]:[2,Promise.reject(z(yt,"mst is invalid"))];case 1:$.sent(),$.label=2;case 2:return Yo(),[2]}})})}():function(){return(0,q.sH)(this,void 0,void 0,function(){var Y;return(0,q.YH)(this,function($){return null!=(Y=qs())&&Y.isReady()?(Y.send({eventName:Yn.CLOSE}),[2,new Promise(function(be){setTimeout(function(){Yo(),be()},100)})]):(Yo(),[2,Promise.resolve()])})})}()}function Nl(){return Go(),function(){var Y,$=function Ns(){return Ti(Wn.APP_DATA)}();try{Y=$?JSON.parse($):{}}catch{Y={}}return Promise.resolve(Y)}()}function vs(Y){var $=Y.msit,be=Y.mstVerifier;return $&&be?cs(Us("subWindowGetMSTByMSIT"),{method:"POST",body:JSON.stringify({msit:$,mstVerifier:be})}):Promise.reject(z(wt,"no proper argument"))}function ha(Y){var $=Y.mst;return $?cs(Us("subWindowGetAppData"),{method:"POST",body:JSON.stringify({mst:$})}):Promise.reject(z(wt,"no proper argument"))}var me,Pa={on:cl,off:Ra,open:Fa,cancel:kc,submit:vl,close:Tl,getAppData:Nl},$c=(function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"subWindow"},enumerable:!1,configurable:!0}),$.prototype.install=function(){var be=this;return{on:cl.bind(this),off:Ra.bind(this),open:function(vt){return Fa.call(be,(0,q.Cl)((0,q.Cl)({},vt),{onBeforeTransition:void 0}))},cancel:kc.bind(this),submit:vl.bind(this),close:Tl.bind(this),getAppData:Nl.bind(this)}}}(nt),d(2442)),cd=d.n($c),Gl=function(){var Y=this;this.type="sync",this.fns=new Set,this.on=function($){Y.fns.add($)},this.call=function(){for(var $,be,vt=[],Wt=0;Wt<arguments.length;Wt++)vt[Wt]=arguments[Wt];try{for(var fn=(0,q.Ju)(Y.fns),$n=fn.next();!$n.done;$n=fn.next())$n.value.apply(void 0,(0,q.fX)([],(0,q.zs)(vt),!1))}catch(xi){$={error:xi}}finally{try{$n&&!$n.done&&(be=fn.return)&&be.call(fn)}finally{if($)throw $.error}}}},Fl=function(){var Y=this;this.type="async",this.fns=new Set,this.on=function($){Y.fns.add($)},this.call=function(){for(var $=[],be=0;be<arguments.length;be++)$[be]=arguments[be];return(0,q.sH)(Y,void 0,void 0,function(){var vt,Wt,fn,si,xi;return(0,q.YH)(this,function(Yi){switch(Yi.label){case 0:vt=[];try{for(Wt=(0,q.Ju)(this.fns),fn=Wt.next();!fn.done;fn=Wt.next())vt.push(fn.value.apply(void 0,(0,q.fX)([],(0,q.zs)($),!1)))}catch(zi){si={error:zi}}finally{try{fn&&!fn.done&&(xi=Wt.return)&&xi.call(Wt)}finally{if(si)throw si.error}}return[4,Promise.all(vt)];case 1:return Yi.sent(),[2]}})})}},ne=function(Y){var $,be=L(43),vt=function Ce(Y){var $="";return Y.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ").forEach(function(be){$+=String.fromCharCode(parseInt(be))}),window.btoa($)}(cd()(be)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),Wt=ft();if(!Wt||!Wt.liffId)throw z(je,"You need to define `liffId` for liff.login()");var fn={app_id:Wt.liffId,state:L(12),response_type:"code",code_challenge_method:"S256",code_challenge:vt,liff_sdk_version:"2.27.1"};Y&&Y.redirectUri&&(fn.redirect_uri=Y.redirectUri),ls()&&!Zn()&&(null!==($=qs())&&void 0!==$&&$.isReady()?fn.redirect_uri=window.location.href:fn.disable_auto_login="true"),function Dt(Y){Gi(Wn.LOGIN_TMP,Y)}({codeVerifier:be});var $n=Us("authorize")+"?"+fe_stringify(fn);he.debug("[Redirect] ".concat($n)),window.location.href=$n},Oe=function(Y){function $(){var be=Y.apply(this,(0,q.fX)([],(0,q.zs)(arguments),!1))||this;return be.hooks={before:new Gl},be}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"login"}
1,enumerable:!1,configurable:!0}),$.prototype.install=function(){return this._login.bind(this)},$.prototype._login=function(be){this.hooks.before.call(be),ne(be)},$}(nt),Re=typeof navigator>"u"?"en":null!==(me=navigator.language)&&void 0!==me?me:"en",Rt=null;function Xt(Y){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function($){switch($.label){case 0:return Re=Y,[4,Cn()];case 1:return $.sent(),[2]}})})}function Cn(){return(0,q.sH)(this,void 0,void 0,function(){var Y,$;return(0,q.YH)(this,function(be){switch(be.label){case 0:return[4,cs("".concat("https://liffsdk.line-scdn.net/xlt/manifest.json"),{method:"GET",headers:{Accept:"application/json"}})];case 1:return Y=be.sent(),$="".concat(Re),!Y.languages[$]&&Re.includes("-")&&($=Re.split("-")[0]),Y.languages[$]||($="en"),[4,cs("".concat("https://liffsdk.line-scdn.net/xlt","/").concat(Y.languages[$]),{method:"GET",headers:{Accept:"application/json"}})];case 2:return Rt=be.sent(),[2]}})})}function mi(Y){if(null===Rt)throw z(Ie,"please call xlt after liff.init");return Rt[Y]}var Zi=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"i18n"},enumerable:!1,configurable:!0}),$.prototype.install=function(be){return be.internalHooks.init.beforeFinished(this.beforeInitFinished.bind(this)),{setLang:Xt}},$.prototype.beforeInitFinished=function(){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function(be){switch(be.label){case 0:return[4,Cn()];case 1:return be.sent(),[2]}})})},$}(nt),Ar=new Zi,Ur={iconColor:"#111111",statusBarColor:"BLACK",titleTextColor:"#111111",titleSubtextColor:"#B7B7B7",titleButtonColor:"#111111",titleBackgroundColor:"#FFFFFF",progressBarColor:"#06C755",progressBackgroundColor:"#FFFFFF",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#FFFFFF",baseTextColor:"#000000",lightButtonBorderColor:"rgba(0, 0, 0, 0.15)"},_a={iconColor:"#FFFFFF",statusBarColor:"WHITE",titleTextColor:"#FFFFFF",titleSubtextColor:"#949494",titleButtonColor:"#FFFFFF",titleBackgroundColor:"#111111",progressBarColor:"#06C755",progressBackgroundColor:"#111111",titleButtonAreaBackgroundColor:"#1FFFFFFF",titleButtonAreaBorderColor:"#26000000",baseBackgroundColor:"#000000",baseTextColor:"#FFFFFF",lightButtonBorderColor:"rgba(255, 255, 255, 0.5)"};function Oa(Y){var $=Mr(),be=$?.menuColorSetting||{adaptableColorSchemes:["light"],lightModeColor:Ur,darkModeColor:_a},Wt=be.lightModeColor,fn=be.darkModeColor,$n=be.adaptableColorSchemes.includes("dark");!function pr(Y){var $=Y.iconColor,be=Y.statusBarColor,vt=Y.titleTextColor,Wt=Y.titleSubtextColor,fn=Y.titleButtonColor,$n=Y.titleBackgroundColor,si=Y.progressBarColor,xi=Y.progressBackgroundColor,Yi=Y.titleButtonAreaBackgroundColor,zi=Y.titleButtonAreaBorderColor,jr=Y.baseBackgroundColor,ss=Y.baseTextColor,ys=Y.lightButtonBorderColor;io("--liff-base-background-color",jr),io("--liff-base-text-color",ss),io("--liff-base-background-rgb-color",fr(jr)),io("--liff-base-text-rgb-color",fr(ss)),io("--liff-light-button-border-color",ys),io("--liff-title-text-color",vt),io("--liff-title-background-color",$n),io("--liff-title-button-color",fn),io("--liff-icon-color",$),io("--liff-status-bar-color",be),io("--liff-title-subtext-color",Wt),io("--liff-progress-bar-color",si),io("--liff-progress-background-color",xi),io("--liff-title-button-area-background-color",ci(Yi)),io("--liff-title-button-area-border-color",ci(zi))}(Y.matches&&$n?(0,q.Cl)((0,q.Cl)({},_a),fn):(0,q.Cl)((0,q.Cl)({},Ur),Wt))}function io(Y,$){document.documentElement.style.setProperty(Y,$)}var So={addToHomeScreen:function(Y){if(!new ms(Y).invoke("addToHomeScreen"))throw z(ie,"No permission for liff.addToHomeScreen()")},scanCode:function(Y){if(!new ms(Y).invoke("scanCode"))return Promise.reject(z(ie,"No permission for liff.scanCode()"))},getAdvertisingId:function(Y){if(!new ms(Y).invoke("getAdvertisingId"))return Promise.reject(z(ie,"No permission for liff.getAdvertisingId()"))},initPlugins:function(){}};function Bl(Y){return(0,q.sH)(this,void 0,void 0,function(){var $;return(0,q.YH)(this,function(be){switch(be.label){case 0:return[4,Oo?function(){return function No(Y,$,be,vt){return new(be||(be=Promise))(function(Wt,fn){function $n(Yi){try{xi(vt.next(Yi))}catch(zi){fn(zi)}}function si(Yi){try{xi(vt.throw(Yi))}catch(zi){fn(zi)}}
1function xi(Yi){var zi;Yi.done?Wt(Yi.value):(zi=Yi.value,zi instanceof be?zi:new be(function(jr){jr(zi)})).then($n,si)}xi((vt=vt.apply(Y,$||[])).next())})}(this,void 0,void 0,function(){return function Do(Y,$){var be,vt,Wt,fn,$n={label:0,sent:function(){if(1&Wt[0])throw Wt[1];return Wt[1]},trys:[],ops:[]};return fn={next:si(0),throw:si(1),return:si(2)},"function"==typeof Symbol&&(fn[Symbol.iterator]=function(){return this}),fn;function si(xi){return function(Yi){return function(zi){if(be)throw new TypeError("Generator is already executing.");for(;$n;)try{if(be=1,vt&&(Wt=2&zi[0]?vt.return:zi[0]?vt.throw||((Wt=vt.return)&&Wt.call(vt),0):vt.next)&&!(Wt=Wt.call(vt,zi[1])).done)return Wt;switch(vt=0,Wt&&(zi=[2&zi[0],Wt.value]),zi[0]){case 0:case 1:Wt=zi;break;case 4:return $n.label++,{value:zi[1],done:!1};case 5:$n.label++,vt=zi[1],zi=[0];continue;case 7:zi=$n.ops.pop(),$n.trys.pop();continue;default:if(!((Wt=(Wt=$n.trys).length>0&&Wt[Wt.length-1])||6!==zi[0]&&2!==zi[0])){$n=0;continue}if(3===zi[0]&&(!Wt||zi[1]>Wt[0]&&zi[1]<Wt[3])){$n.label=zi[1];break}if(6===zi[0]&&$n.label<Wt[1]){$n.label=Wt[1],Wt=zi;break}if(Wt&&$n.label<Wt[2]){$n.label=Wt[2],$n.ops.push(zi);break}Wt[2]&&$n.ops.pop(),$n.trys.pop();continue}zi=$.call(Y,$n)}catch(jr){zi=[6,jr],vt=0}finally{be=Wt=0}if(5&zi[0])throw zi[1];return{value:zi[0]?zi[1]:void 0,done:!0}}([xi,Yi])}}}(this,function(Y){switch(Y.label){case 0:return[3,2];case 1:return[2,Y.sent().default];case 2:return[2,new Promise(function($,be){var vt=document.createElement("script"),Wt=function ko(){var Y;return"ios"===As()?(Y=ds())&&Sn(Y,"9.19.0")<0?"https://static.line-scdn.net/liff/edge/2/ios-918-extensions_2_22_0.js":"https://static.line-scdn.net/liff/edge/2/ios-extensions_2_22_0.js":"https://static.line-scdn.net/liff/edge/2/non-ios-extensions_2_22_0.js"}();vt.onload=function(){var fn=window.liffClientExtension;fn?$(fn):be(z(Ie,"Unable to load client features. (Extension is empty)"))},vt.onerror=function(fn){be(z(Ie,"Unable to load client features.",{cause:fn}))},vt.src=Wt,vt.type="text/javascript",document.body.appendChild(vt)})]}})})}():Promise.resolve(void 0)];case 1:return($=be.sent())?($.install(Y,So),[2]):[2]}})})}function xc(){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function(Y){switch(Y.label){case 0:return[4,cs(Us("certs"))];case 1:return[2,Y.sent()]}})})}function ao(Y,$,be){return(0,q.sH)(this,void 0,void 0,function(){var vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return[4,crypto.subtle.importKey("jwk",Y,{name:"ECDSA",namedCurve:"P-256"},!1,["verify"])];case 1:return vt=Wt.sent(),[4,crypto.subtle.verify({name:"ECDSA",hash:{name:"SHA-256"}},vt,be,$)];case 2:return[2,Wt.sent()]}})})}function Rc(Y,$){return(0,q.sH)(this,void 0,void 0,function(){var be,vt,Wt,fn,$n,si,xi,Yi,zi,jr,ss,ys,xs,os,_s,To;return(0,q.YH)(this,function(Io){switch(Io.label){case 0:return be=Y.split("."),vt=(0,q.zs)(be,3),Wt=vt[0],fn=vt[1],$n=vt[2],si=JSON.parse(rr.decode(Wt)),xi=JSON.parse(rr.decodeUnicode(fn)),Yi=Vt(rr.decode($n)),zi=Vt("".concat(Wt,".").concat(fn)),[4,xc()];case 1:if(jr=Io.sent(),!(ss=jr.keys.find(function(fa){return fa.kid===si.kid})))return[3,6];if(delete ss.alg,"ES256"!==si.alg)throw z(rt,'Invalid "alg" value in ID_TOKEN');ys=void 0,Io.label=2;case 2:return Io.trys.push([2,4,,5]),[4,ao(ss,zi,Yi)];case 3:return ys=Io.sent(),[3,5];case 4:throw xs=Io.sent(),z(rt,"".concat("Failed to use Crypto API to verify ID_TOKEN",": ").concat(xs));case 5:if(ys){if(os=xi.iss!=="https://access.".concat("line.me"),_s=xi.aud!==$,To=1e3*xi.exp<Date.now(),os)throw z(rt,'Invalid "iss" value in ID_TOKEN');if(_s)throw z(rt,'Invalid "aud" value in ID_TOKEN');if(To)throw z(rt,'Invalid "exp" value in ID_TOKEN');return[2,xi]}throw z(rt,"Invalid signature in ID_TOKEN");case 6:throw z(rt,'Invalid "kid" value in ID_TOKEN');case 7:return[2]}})})}function rn(Y){var $=Y.split(".");if($[1])try{var be=$[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(window.atob(be))}catch{return null}return null}function Pc(Y){var $=Y.pathname,be=Y.query,vt=be?"?".concat(fe_stringify(be)):"",Wt="".concat("liff://").concat($).concat(vt);location.href=Wt}var ga=null;function ro(){return!!ga}function Kl(Y,$){return(0,q.sH)(this,void 0,void 0,function(){var be;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:return(be=as())?[2,be]:Y&&$?[4,vs({msit:Y,mstVerifier:$})]:[3,2];case 1:return[2,vt.sent().mst];case 2:return[2,null]}})})}function Ml(Y){return cs("".concat(Us("apps"),"/").concat(Y,"/featureToken"))}function rl(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt;return(0,q.YH)(this,function(fn){switch(fn.label){case 0:return $=fe_parse(window.location.hash),be=function($n){for(var si,xi,Yi=[],zi=1;zi<arguments.length;zi++)Yi[zi-1]=arguments[zi];var jr=function(xs){Object.keys(xs).filter(function(os){return null!=xs[os]}
1).forEach(function(os){$n[os]=xs[os]})};try{for(var ss=(0,q.Ju)(Yi),ys=ss.next();!ys.done;ys=ss.next())jr(ys.value)}catch(xs){si={error:xs}}finally{try{ys&&!ys.done&&(xi=ss.return)&&xi.call(ss)}finally{if(si)throw si.error}}return $n}({access_token:oo(),context_token:Ti(Wn.RAW_CONTEXT),feature_token:st(),id_token:bn(),client_id:Ti(Wn.CLIENT_ID),mst_challenge:vi(),mst_verifier:Ti(Wn.MST_VERIFIER),msit:Ti(Wn.MSIT)},$),ro()?Mn()?[4,Ml(Y)]:[3,2]:[3,3];case 1:vt=fn.sent().featureToken,be.feature_token||(be.feature_token=vt),fn.label=2;case 2:(Wt=Ee(Y))&&(be.client_id=Wt),fn.label=3;case 3:return[2,be]}})})}function Ql(Y){if(Y.persisted&&Or("multipleLiffTransition"))if("ios"===As())window.location.reload();else{var $=ft().liffId,be=st();if(!$)throw z(Ie,"Invalid LIFF ID.");if(!be)throw z(ie,"Invalid featureToken for client features");Pc({pathname:"app/".concat($),query:{feature_token:be}})}}function mh(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt,fn,$n,si,xi,Yi,zi,jr,ss,ys,xs,os,_s,To,Io,fa;return(0,q.YH)(this,function(ql){switch(ql.label){case 0:return[4,new Promise(function(Za){var Cl=ds();if(!Cl||Sn(Cl,"9.5.0")<0)Za();else if(window._liff&&window._liff.features)Za();else{he.debug("cannot find window._liff.features, listen to ready event");var Cu=function(){he.debug("ready event is fired"),Ln("ready",Cu),Za()};Gt("ready",Cu)}})];case 1:return ql.sent(),function Ba(){"boolean"==typeof ga&&he.warn("liff.init is not expected to be called more than once"),ga=!!function Hr(){return!!Ti(Wn.IS_SUBSEQUENT_LIFF_APP)}()||!(!Zn()||fe_parse(window.location.hash).feature_token||st())&&(function $r(Y){Gi(Wn.IS_SUBSEQUENT_LIFF_APP,Y)}(!0),!0)}(),[4,rl(Y.liffId)];case 2:if($=ql.sent(),be=$.access_token,Wt=$.feature_token,fn=$.id_token,$n=$.client_id,si=$.mst_verifier,xi=$.mst_challenge,Yi=$.msit,vt=$.context_token){if("string"!=typeof vt)throw z(Ie,"Cannot get context token, perhaps there is an incorrect parameter in permanent link");$t(rn(vt))}if(void 0!==(null===(Io=Mr())||void 0===Io?void 0:Io.liffId)&&(null===(fa=Mr())||void 0===fa?void 0:fa.liffId)!==Y.liffId)throw z(Ie,"Invalid LIFF ID");return!ls()&&Wt&&(Za=Y.liffId,Cl=Wt,Or("multipleLiffTransition")&&Pc({pathname:"app/".concat(Za),query:{feature_token:Cl}}),ro()&&ot(Wt)),xi&&function Ni(Y){Gi(Wn.MST_CHALLENGE,Y)}(xi),si&&function Fs(Y){Gi(Wn.MST_VERIFIER,Y)}(si),$n&&Ri($n),Yi&&function Ks(Y){Gi(Wn.MSIT,Y)}(Yi),window.addEventListener("pageshow",Ql),Mn()||Wt&&be?[3,5]:ro()?(zi=Yt(location.href,{"liff.hback":"2"}),ne({redirectUri:zi}),[4,new Promise(function(){})]):[3,4];case 3:ql.sent(),ql.label=4;case 4:throw ne(),z(Ie,"Failed to parse feature_token or access_token");case 5:return be&&Wt?[4,Ps(be)]:[3,7];case 6:if(jr=ql.sent(),ss=jr.client_id,ys=jr.expires_in,xs=Ee(Y.liffId),ss!==xs)throw ne(),z(Ie,"Failed to verify access_token");ot(Wt),Lt(new Date(Date.now()+1e3*ys)),to(be),ql.label=7;case 7:return[4,Kl(Yi,si)];case 8:return(os=ql.sent())?(function Pn(Y){Gi(Wn.MST,Y)}(os),[4,ha({mst:os})]):[3,10];case 9:(_s=ql.sent().data)&&Cs(JSON.stringify(_s)),ql.label=10;case 10:return fn&&!bn()&&_i(fn),fn&&$n&&!qi()?[4,Rc(fn,$n)]:[3,12];case 11:(To=ql.sent())&&br(To),ql.label=12;case 12:return[2]}var Za,Cl})})}function cu(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt,fn,$n,si;return(0,q.YH)(this,function(xi){switch(xi.label){case 0:return $=Us("apps"),be="".concat($,"/").concat(Y,"/contextToken"),vt=oo(),Wt={"Content-Type":"application/json",Accept:"application/json"},vt&&(Wt.Authorization="Bearer ".concat(vt)),[4,cs(be,{headers:Wt})];case 1:if(fn=xi.sent(),!($n=fn.contextToken))throw z(Ie,"Can not get context from server.");if(!(si=rn($n)))throw z(Ie,"Invalid context token.");return[2,si]}})})}function Hs(){return(0,q.sH)(this,void 0,void 0,function(){var Y;return(0,q.YH)(this,function(be){switch(be.label){case 0:if(!(Y=ft().liffId))throw z(Ie,"Invalid LIFF ID.");return[4,cu(Y)];case 1:return $t(be.sent()),[2]}})})}function zd(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt=this;return(0,q.YH)(this,function(fn){switch(fn.label){case 0:$=function(){return(0,q.sH)(Wt,void 0,void 0,function(){var $n,si,xi,Yi,zi,jr;return(0,q.YH)(this,function(ss){switch(ss.label){case 0:return[4,(ys=ft(),xs=fe_parse(window.location.search),os=ia(),_s={grant_type:"authorization_code",client_id:xs.liffClientId,appId:ys.liffId,code:xs.code,code_verifier:os.codeVerifier,redirect_uri:ys.redirectUri||xs.liffRedirectUri,id_token_key_type:"JWK"},To=fe_stringify(_s),cs(Us("token"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:To}))];case 1:return $n=ss.sent(),si=$n.access_token,xi=$n.id_token,Yi=$n.expires_in,Ri(Y),to(si),Lt
1(new Date(Date.now()+1e3*Yi)),An(),xi?(_i(xi),[4,Rc(xi,Y)]):[3,3];case 2:(zi=ss.sent())&&br(zi),ss.label=3;case 3:return(jr=fe_parse(location.hash).context_token)?($t(rn(jr)),[3,6]):[3,4];case 4:return[4,Hs()];case 5:ss.sent(),ss.label=6;case 6:return[2]}var ys,xs,os,_s,To})})},fn.label=1;case 1:return fn.trys.push([1,3,,4]),[4,$()];case 2:return fn.sent(),[3,4];case 3:throw be=fn.sent(),vt=be,An(),vt;case 4:return[2]}})})}function ud(){return(0,q.sH)(this,void 0,void 0,function(){var Y,$,be,vt,fn,$n=this;return(0,q.YH)(this,function(si){switch(si.label){case 0:return($=qs())?[3,2]:[4,Qs("sub")];case 1:$=si.sent(),si.label=2;case 2:return(Y=$).isReady()?(be=L(8),[4,Y.getData("appData")]):[3,8];case 3:return vt=si.sent(),fn=vt.data,vt.eventName!==Os.NOT_FOUND?[3,6]:[4,Y.teardown()];case 4:return si.sent(),[4,ud()];case 5:return[2,si.sent()];case 6:fn&&Cs(JSON.stringify(fn)),si.label=7;case 7:return Y.listen(function(xi){return(0,q.sH)($n,void 0,void 0,function(){var Yi,zi;return(0,q.YH)(this,function(jr){return zi=(Yi=xi.context).data,Yi.eventName===Yn.INIT&&zi?.subWindowId!==be&&Yo(),Yi.eventName!==Yn.CANCEL&&Yi.eventName!==Yn.SUBMIT||Y.teardown(),[2]})})}),Mn()&&Y.send({eventName:Yn.INIT,data:{subWindowId:be,hasOpener:!!window.opener}}),[3,10];case 8:return nl()?[3,10]:[4,new Promise(function(xi){window.addEventListener("message",function(Yi){return function zi(jr){var ss=jr.data,ys=jr.source,xs=jr.origin;if(ss){var _s=ss.message;ss.type===ai&&(window.removeEventListener("message",zi),_s&&Cs(_s),function Cc(Y){dc.setItem("mainWindowOrigin",Y)}(xs),ys&&ys.postMessage&&ys.postMessage({status:ai},xs),Yi())}}}(xi))})];case 9:return[2,si.sent()];case 10:return[2]}})})}var Xl=new(function(){function Y(){var $=this;this.getAndValidateContext=function(){var be=Mr();if(!be)throw z(Ie,"Could not get Context from server.");if(!be.endpointUrl)throw z(Ie,"Could not get endpointUrl from server.");if(!be.permanentLinkPattern)throw z(Ie,"Could not get permanentLinkPattern from server.");return be},this.decodeState=function(be){var vt=$.getAndValidateContext();be=be.replace(/\n/g,"%0D%0A");var Wt=$.hasTrailingSlash(vt.endpointUrl)||$.hasTrailingSlash(be),fn=new URL(vt.endpointUrl),$n=fn.origin,si=fn.pathname,xi=fn.search,Yi=new URL("".concat($n).concat($.attachSlashAtStart(be))),zi=Yi.pathname,jr=Yi.search,ss=Yi.hash,ys="".concat(xi).concat(xi?jr.replace(/\?/g,"&"):jr),xs="".concat(si).concat($.attachSlashAtStart(zi)).replace("//","/");return(xs=$.attachSlashAtStart("".concat(xs))).endsWith("/")&&!Wt&&(xs=xs.substring(0,xs.length-1)),"".concat($n).concat(xs).concat(ys).concat(ss).replace(/%0D%0A/g,"\n")}}return Y.prototype.attachSlashAtStart=function($){return"".concat($&&$.length>0&&!$.startsWith("/")?"/":"").concat($)},Y.prototype.hasTrailingSlash=function($){var Wt,be=$.indexOf("?"),vt=$.indexOf("#");return(Wt=-1===be&&-1===vt?$.length:-1===be?vt:-1===vt?be:Math.min(be,vt))>0&&"/"===$[Wt-1]},Y.prototype.invoke=function(){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt,fn;return(0,q.YH)(this,function($n){switch($n.label){case 0:if($=fe_parse(window.location.search),"string"!=typeof(be=$["liff.state"]))return[2];$n.label=1;case 1:return $n.trys.push([1,4,,5]),vt=location.href,(Wt=this.decodeState(be))===vt?[3,3]:($["liff.hback"]?location.replace(Yt(Wt,{"liff.hback":$["liff.hback"]})):location.replace(Wt),[4,new Promise(function(){})]);case 2:$n.sent(),$n.label=3;case 3:return[3,5];case 4:if((fn=$n.sent()).code===Ie)throw fn;return he.debug(fn),[3,5];case 5:return[2]}})})},Y}());function Ld(Y,$){return(0,q.sH)(this,void 0,void 0,function(){var be;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:if(!Y.liffId)throw z(je,"liffId is necessary for liff.init()");return function Bt(Y){window.__liffConfig=Y}(Y),!Zn()&&Mn()&&(function sn(){var Y=ft();return function(Y){var $=new RegExp("(?:(?:^|.*;\\s*)".concat(Y,"\\s*\\=\\s*([^;]*).*$)|^.*$"));return document.cookie.replace($,"$1")}("".concat(It,":").concat(Wn.EXPIRES,":").concat(Y.liffId))}()||no()),be=fe_parse(window.location.search),!ls()||Zn()?[3,2]:[4,ud()];case 1:vt.sent(),vt.label=2;case 2:if(be.error&&be.liffOAuth2Error)throw $n=be.error,xi=be.error_description.replace(/\+/g," "),Yi="".concat($n,": ").concat(xi),z(Ie,Yi);return Wt=be.code,fn=ia(),Wt&&!Mn()&&fn&&fn.codeVerifier?[4,zd(be.liffClientId)]:[3,4];case 3:vt.sent(),vt.label=4;case 4:return Zn()?[4,mh(Y)]:[3,6];case 5:return vt.sent(),[3,8];case 6:return Mn()?[3,8]:[4,Hs()];case 7:vt.sent(),vt.label=8;case 8:return[4,Xl.invoke()];case 9:return vt.sent(),[4,$()];case 10:return vt.sent(),function(Y){var $=j(Y);if($!==Y){var be=function X(Y){var $=new URL(Y);return $.toString().replace(new RegExp(String.raw(On||(On=(0,q.ue)(["^",""],["^",""])),$.origin)),"")}($);
1window.history.replaceState(history.state,"",be)}}(window.location.href),[2]}var Wt,fn,$n,xi,Yi})})}var $d=function(Y,$){return new Promise(function(be,vt){if(Y){var Wt=document.createElement("script");Wt.type="module",Wt.onload=function(){be()},Wt.src=Y,document.head.appendChild(Wt)}else vt(z(je,$))})},Gc=function(Y){var $="https://static.line-scdn.net/lui/edge/versions/1.13.0/lui-alert.js";return $&&Y&&($=$.replace(/\d{1,2}\.\d{1,2}\.\d{1,3}/,Y)),$d($,"LUI_ALERT_URL is not defined")},Id=function(){return(0,q.sH)(void 0,void 0,void 0,function(){var Y;return(0,q.YH)(this,function($){switch($.label){case 0:return(Y=function(){var vt,Wt=document.querySelector('script[src*="luivendor.js"]');if(Wt&&null!==(vt=Wt.src.match(/\d{1,2}\.\d{1,2}\.\d{1,3}/g))&&void 0!==vt&&vt.length)return Wt.src.match(/\d{1,2}\.\d{1,2}\.\d{1,3}/g)[0]}())?[3,2]:[4,$d("https://static.line-scdn.net/lui/edge/versions/1.13.0/luivendor.js","LUI_VENDOR_URL is not defined")];case 1:$.sent(),$.label=2;case 2:return[4,Gc(Y)];case 3:return $.sent(),[4,(be=L(6),new Promise(function(){var vt=document.createElement("div");vt.innerHTML='<lui-alert id="'.concat("liffAlert","-").concat(be,'" shown title="').concat(mi("alert.android.extBrowser.autoLoginWorkaround.title"),'" message="').concat(mi("alert.android.extBrowser.autoLoginWorkaround.desc"),'" button="').concat(mi("alert.android.extBrowser.autoLoginWorkaround.button.text"),'"></lui-alert>'),document.body.appendChild(vt);var Wt=document.getElementById("".concat("liffAlert","-").concat(be));Wt&&Wt.addEventListener("lui-button-click",function(){var fn=window.open(Yt(window.location.href,{liffIsEscapedFromApp:"true"}),"_blank");fn&&(fn.location.href=Yt(window.location.href,{liffIsEscapedFromApp:"true"}),window.close())})}))];case 4:return $.sent(),[2]}var be})})},Jl=function(Y){try{return new URL(Y).searchParams.get("lineAppVersion")}catch{return null}};function yl(){return(0,q.sH)(this,void 0,void 0,function(){var Y,$,be;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:return(Y=null!==(be=Jl(window.location.href))&&void 0!==be?be:Jl(window.document.referrer))&&Sn(Y,"13.10.0")>=0||Zn()||"android"!==As()||($=fe_parse(window.location.search))[ba]||$.liffIsEscapedFromApp?[2]:$.liffClientId&&document.referrer.includes("access.".concat("line.me"))?(window.location.href=Yt(window.location.href,{liffIsEscapedFromApp:"true"}),[2]):$.liffClientId&&document.referrer.includes("android-app://")?[4,Id()]:[3,2];case 1:vt.sent(),vt.label=2;case 2:return $.liffClientId&&""===document.referrer&&1===window.history.length?[4,Id()]:[3,4];case 3:vt.sent(),vt.label=4;case 4:return!document.referrer.includes("liffClientId")||document.referrer.includes("liffIsEscapedFromApp")?[3,6]:[4,Id()];case 5:vt.sent(),vt.label=6;case 6:return[2]}})})}var Oc=function(Y){function $(){var be=Y.apply(this,(0,q.fX)([],(0,q.zs)(arguments),!1))||this;return be.hooks={before:new Fl,after:new Fl},be.internalHooks={beforeFinished:new Fl,beforeSuccess:new Fl,error:new Fl},be}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"init"},enumerable:!1,configurable:!0}),$.prototype.install=function(be){return this.liffForWindow=be.liff,this.init.bind(this)},$.prototype.init=function(be,vt,Wt){return(0,q.sH)(this,void 0,void 0,function(){var fn;return(0,q.YH)(this,function($n){switch($n.label){case 0:return[4,this.hooks.before.call()];case 1:$n.sent(),window&&!window.liff&&(window.liff=this.liffForWindow),$n.label=2;case 2:return $n.trys.push([2,9,,11]),[4,Promise.all([Bl(this.liffForWindow),Ld(be,this.internalHooks.beforeFinished.call)])];case 3:return $n.sent(),function Ta(){var Y;io("color-scheme",((null==(Y=Mr())?void 0:Y.menuColorSetting)||{adaptableColorSchemes:["light"]}).adaptableColorSchemes.join(" "));var $=window.matchMedia("(prefers-color-scheme: dark)");Oa({matches:$?.matches,media:$?.media}),$.addEventListener?$.addEventListener("change",Oa):$.addListener&&$.addListener(Oa)}(),[4,this.internalHooks.beforeSuccess.call()];case 4:return $n.sent(),!be.withLoginOnExternalBrowser||Mn()?[3,6]:(ne(),[4,new Promise(function(){})]);case 5:$n.sent(),$n.label=6;case 6:return[4,yl()];case 7:return $n.sent(),[4,this.hooks.after.call()];case 8:return $n.sent(),"function"==typeof vt&&vt(),qt(),[3,11];case 9:return fn=$n.sent(),[4,this.internalHooks.error.call(fn)];case 10:throw $n.sent(),"function"==typeof Wt&&Wt(fn),fn;case 11:return[2]}})})},$}(nt);function Ls(){return{liffApp:"https://liff.".concat("line.me"),liffServer:"https://api.".concat("line.me"),miniApp:"https://miniapp.".concat("line.me")}}function Kt(){return navigator.language}function jt(){var Y=ds();if(!Y||!Zn()||"ios"!==As())return navigator.language;if(Sn(Y,"14.11.0")>=0){var $=window.prompt("LIFF:GET_APP_LANGUAGE");if($)return $}return navigator.language}function Nn(Y){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt,Wt,fn,$n,si;return(0,q.YH)(this,function(xi){switch(xi.label){case 0:return function(Yi){if(!Vi.includes(Yi))throw z(wt,"Unexpected permission name.");var zi=Mr();return!!zi?.scope.includes(Yi)}(Y)?($=oo())?[4,Ps($)]:[3,2]:[2,{state:"unavailable"}];case 1:be=xi.sent(),vt=unescape(be.scope).split(" ");try{for(Wt=(0,q.Ju)(vt),fn=Wt.next();!fn.done;fn=Wt.next())if(fn.value.includes(Y))return[2,{state:"granted"}]}catch(Yi){$n={error:Yi}}finally{try{fn&&!fn.done&&(si=Wt.return)&&si.call(Wt)}finally{if($n)throw $n.error}}return[2,{state:"prompt"}];case 2:throw z(yt,"Need access_token for api call, Please login first")}})})}function Si(){var Y,$,be=Mr();return!!be&&"square_chat"!==be.type&&(Or("skipChannelVerificationScreen")||!Zn()&&(null===($=null===(Y=be.availability)||void 0===Y?void 0:Y.skipChannelVerificationScreen)||void 0===$?void 0:$.permission))}function vr(){var Y=ft().liffId;if(Y)return cs("".concat(Us("unauthorizedPermissions"),"?liffId=").concat(Y),{headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(oo())}});throw z(yt,"liffId is required")}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getOrigins"}
1,enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Ls()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getLanguage"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return Kt()}}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getAppLanguage"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(){return jt()}}}(nt);var or,xr=Pa.on,rs=Pa.off,co=Pa.open,Ss=function(){function Y($,be){var vt=this;this.onSubmit=function(Wt){return(0,q.sH)(vt,[Wt],void 0,function(fn){var $n=fn.newAccessToken,si=fn.ICA_ERROR;return(0,q.YH)(this,function(xi){return $n?this.resolve({newAccessToken:$n}):si&&this.reject(z(Pe,si)),this.teardown(),[2]})})},this.onClose=function(){return(0,q.sH)(vt,void 0,void 0,function(){return(0,q.YH)(this,function(Wt){return this.reject(z(yt,"user didn't allow the agreement")),this.teardown(),[2]})})},this.onCancel=function(){return(0,q.sH)(vt,void 0,void 0,function(){return(0,q.YH)(this,function(Wt){return this.reject(z(yt,"user didn't allow the agreement")),this.teardown(),[2]})})},this.onError=function(Wt){return(0,q.sH)(vt,void 0,void 0,function(){return(0,q.YH)(this,function(fn){return this.reject(Wt),this.teardown(),[2]})})},this.resolve=$,this.reject=be,this.setup()}return Y.prototype.setup=function(){xr("submit",this.onSubmit),xr("close",this.onClose),xr("cancel",this.onCancel),xr("error",this.onError)},Y.prototype.teardown=function(){rs("submit",this.onSubmit),rs("close",this.onClose),rs("cancel",this.onCancel),rs("error",this.onError),or=void 0},Y.prototype.open=function($){var be=ft().liffId;be?co({url:"".concat("https://liff.line.me/1656032314-Xgrw5Pmk"),appData:{liffId:be,channelId:Ee(be),accessToken:oo()},onBeforeTransition:$}).catch(this.reject):this.reject(z(yt,"liffId is required"))},Y}();function ta(){return(0,q.sH)(this,void 0,void 0,function(){var Y,be=this;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:if(!Si())throw z(ie,"SkipChannelVerificationScreen is unavailable.");return or&&or.teardown(),Y=function(){return(0,q.sH)(be,void 0,void 0,function(){var Wt;return(0,q.YH)(this,function(fn){switch(fn.label){case 0:return[4,vr()];case 1:if(Wt=fn.sent(),(Zn()?Wt:Wt.filter(function($n){return"chat_message.write"!==$n})).length<=0)throw z(ie,"All permissions have already been approved.");return[2]}})})},[4,new Promise(function(Wt,fn){(or=new Ss(Wt,fn)).open(Y)})];case 1:return to(vt.sent().newAccessToken),[2]}})})}function Ma(){return(0,q.sH)(this,void 0,void 0,function(){var Y,$;return(0,q.YH)(this,function(be){switch(be.label){case 0:if(!(Y=oo()))throw z(yt,"Need access_token for api call, Please login first");return[4,Ps(Y)];case 1:return $=be.sent(),[2,decodeURIComponent($.scope).split(" ").filter(function(vt){return""!==vt})]}})})}function La(Y,$){var be=this;return function(){for(var vt=[],Wt=0;Wt<arguments.length;Wt++)vt[Wt]=arguments[Wt];return(0,q.sH)(be,void 0,void 0,function(){var fn,$n,si;return(0,q.YH)(this,function(xi){switch(xi.label){case 0:return $n=void 0!==(fn=(vt.length>0?vt[vt.length-1]:{}).ignorePermissionCheck)&&fn,[4,Nn($)];case 1:if("unavailable"!==(si=xi.sent().state))return[3,2];throw z(ie,"The permission is not in LIFF app scope.");case 2:return"prompt"!==si||!Si()||$n||!Zn()&&"chat_message.write"===$?[3,4]:[4,ta()];case 3:return xi.sent(),[3,5];case 4:$n&&vt.pop(),xi.label=5;case 5:return[4,Y.apply(void 0,(0,q.fX)([],(0,q.zs)(vt),!1))];case 6:return[2,xi.sent()]}})})}}var Il=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"permission"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return{query:Nn,requestAll:ta,getGrantedAll:Ma}},$}(nt),xo=new Il;function es(){return cs(Us("profile"))}function pc(Y){if(!function(fn){if(!fn||"object"!=typeof fn)return!1;var si=fn.url,Yi=(0,q.zs)([typeof si,typeof fn.external],2),jr=Yi[1];return"string"===Yi[0]&&""!==si&&("undefined"===jr||"boolean"===jr)}(Y))throw z(wt,"Invalid parameters for liff.openWindow()");var $=ds();if(Zn())if(null!==$&&"ios"===As()&&Sn($,"9.19")>=0||!window._liff.postMessage){var vt=Y.external;window.open(function(fn,$n){var si,xi,Yi,zi,jr,ss,ys,xs,os,To;-1!==(To=fn).indexOf("#")&&-1!==To.indexOf("?")&&To.indexOf("#")<To.indexOf("?")||function(To){return-1===To.indexOf("?")&&-1!==To.indexOf("#")}(fn)?(ys=(si=(0,q.zs)(fn.split("#"),2))[0],xs=(Yi=(0,q.zs)((void 0===(xi=si[1])?"":xi).split("?"),2))[0],os=Yi[1]):(ys=(zi=(0,q.zs)(fn.split("?"),2))[0],os=(ss=(0,q.zs)((void 0===(jr=zi[1])?"":jr).split("#"),2))[0],xs=ss[1]);var _s=function(Y,$){return Y?"&".concat(Y.split("&").filter(function(be){return-1===be.indexOf("is_liff_external_open_window")}).join("&").concat("".concat($?"#".concat($):""))):"".concat($?"#".concat($):"")}(os,xs);return"".concat(ys,"?").concat("is_liff_external_open_window","=").concat(!!$n).concat(_s)}(Y.url,void 0!==vt&&vt))}else _o("openWindow",Y);else window.open(Y.url,"_blank")}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getProfile"}
1,enumerable:!1,configurable:!0}),$.prototype.install=function(){return La(es,"profile")}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"openWindow"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(be){return pc(be)}}}(nt);var Ul=function(Y){return"object"==typeof Y&&null!==Y&&("string"==typeof($=Y.type)||$ instanceof String);var $};function hl(Y){return Promise.reject(z(wt,Y))}function Xa(Y){if(be=Y,!Array.isArray(be)||!be.every(Ul))return hl("Parameter 'messages' must be an array of { type, ... }");var be,$=Y.length;return $<1||$>5?hl("Number of messages should be in range 1 to ".concat(5,".")):cs(Us("message"),{method:"POST",body:JSON.stringify({messages:Y})}).catch(Gd)}var Gd=function(Y){if("403"===Y.code){var $="12.0.0"===ds(),be="ios"===As(),vt=Pt();$&&(be||vt)&&window.alert("LINE\u30a2\u30d7\u30ea\u3092LINE 12.0.1\u4ee5\u964d\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\nPlease update your LINE app to LINE 12.0.1 or later.")}throw Y};function gc(){return cs(Us("friendship"))}function uo(){return(0,q.sH)(this,void 0,void 0,function(){var Y,$;return(0,q.YH)(this,function(be){switch(be.label){case 0:if(!Mn())return[3,6];be.label=1;case 1:return be.trys.push([1,5,,6]),(Y=qi())&&Y.sub?[2,Y.sub]:[3,2];case 2:return[4,es()];case 3:if(($=be.sent())&&$.userId)return[2,$.userId];be.label=4;case 4:return[3,6];case 5:return be.sent(),he.debug("can't retrieve Mid/Uid because of something wrong"),[3,6];case 6:return[2]}})})}function Kc(){return(0,q.sH)(this,void 0,void 0,function(){var Y;return(0,q.YH)(this,function($){switch($.label){case 0:return[4,uo()];case 1:return(Y=$.sent())&&"u"===Y.substring(0,1)?[2,Y]:[2]}})})}!function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"sendMessages"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return La(Xa,"chat_message.write")}}(nt),function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"getFriendship"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return La(gc,"profile")}}(nt);var Ja,wu=function(Y){function $(){var be=Y.apply(this,(0,q.fX)([],(0,q.zs)(arguments),!1))||this;return be.utsExtra={isLiffSuccessful:!1,isLoggedIn:!1,id:"",version:""},be.injected=!1,be}return(0,q.C6)($,Y),Object.defineProperty($,"CUSTOMPLACEID_INIT",{get:function(){return"liff.init"},enumerable:!1,configurable:!0}),Object.defineProperty($,"CUSTOMTYPE",{get:function(){return"liffSdk"},enumerable:!1,configurable:!0}),Object.defineProperty($,"LiffUtsLoginStatus",{get:function(){return{isLoggedIn:1,isLiffSuccessful:2}},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"name",{get:function(){return"analytics"},enumerable:!1,configurable:!0}),$.prototype.install=function(be){var Wt=be.internalHooks;this.liffCore=be.liff,Wt.init.beforeFinished(this.beforeInitFinished.bind(this)),Wt.init.beforeSuccess(this.beforeInitSuccess.bind(this)),Wt.init.error(this.initError.bind(this))},$.prototype.changeRatioToUTSFormat=function(be){if(be&&Number.isFinite(be))return Math.round(100*be)},$.prototype.setExtra=function(){var be,vt=this.utsExtra;null===(be=this.uts)||void 0===be||be.setExtra("liff",{id:vt.id,loginStatus:(vt.isLoggedIn?$.LiffUtsLoginStatus.isLoggedIn:0)|(vt.isLiffSuccessful?$.LiffUtsLoginStatus.isLiffSuccessful:0),version:vt.version})},$.prototype.assignUtsExtra=function(be){Object.assign(this.utsExtra,be)},$.prototype.setVersion=function(be){this.assignUtsExtra({version:be}),he.debug("[LIFFUTS][SDK version] ".concat(be)),this.setExtra()},$.prototype.setLiffId=function(be){this.assignUtsExtra({id:be}),he.debug("[LIFFUTS][LIFFID] ".concat(be)),this.setExtra()},$.prototype.setIsLoggedIn=function(be){this.assignUtsExtra({isLoggedIn:be}),he.debug("[LIFFUTS][isLoggedIn] ".concat(be)),this.setExtra()},$.prototype.sendLiffInit=function(){var be;he.debug("[LIFFUTS][sendCustom] liff.init"),null===(be=this.uts)||void 0===be||be.sendCustom({type:$.CUSTOMTYPE,params:{placeId:$.CUSTOMPLACEID_INIT}})}
1,$.prototype.setIsLiffSuccessful=function(be){this.assignUtsExtra({isLiffSuccessful:be}),he.debug("[LIFFUTS][isLiffInitSuccessful] ".concat(be)),this.setExtra()},$.prototype.prepareReferrer=function(be){var vt={};Object.keys(be).forEach(function(Wt){if(dn.includes(Wt)){var fn=be[Wt];"string"==typeof fn&&fn&&(vt[Wt.replace(/^liff\.ref\./,"")]=fn)}}),Object.keys(vt).length>0&&(this.referrer=vt)},$.prototype.beforeInitFinished=function(){return(0,q.sH)(this,void 0,void 0,function(){var be,vt,Wt,fn,$n,si,xi,Yi,zi,jr,ss,ys;return(0,q.YH)(this,function(xs){switch(xs.label){case 0:if(be=fe_parse(window.location.search),this.prepareReferrer(be),vt=Mr(),!(Wt=vt?.utsTracking))return[2];if(fn=ft(),$n=fn.liffId,si=fn.analytics,"auto"!==Wt.mode||!si)return[3,6];he.debug("[LIFFUTS] ".concat((new Date).toUTCString())),xs.label=1;case 1:return xs.trys.push([1,3,,4]),xi=this,[4,new Promise(function(os,_s){var To=window.uts,Io=document.createElement("script");Io.type="text/javascript",Io.src="https://static.line-scdn.net/uts/edge/4.1.0/uts.js",Io.onload=function(){var fa=window.uts;os(fa),window.uts=To},Io.onerror=function(fa){_s(fa)},document.getElementsByTagName("head")[0].appendChild(Io)})];case 2:return xi.uts=xs.sent(),[3,4];case 3:return Yi=xs.sent(),he.debug("[LIFFUTS] cannot load UTS, reason: ".concat(Yi)),[2];case 4:return zi=(0,q.Cl)((0,q.Cl)({},si.context),{utsId:si.context.utsId,appName:si.context.appName,a
1ppEnv:si.context.appEnv||"release"}),jr=(0,q.Cl)((0,q.Cl)({endpoint:"https://uts-front.line-apps.com"},si.options),{sampleRate:this.changeRatioToUTSFormat(Wt.sendRatio),version:"current"}),this.uts.init(zi,jr),[4,Kc()];case 5:(ss=xs.sent())&&(he.debug("[LIFFUTS][mid] ".concat(ss)),this.uts.setMid(ss)),vt?.tid&&(he.debug("[LIFFUTS][tid] ".concat(vt.tid)),this.uts.setTid(vt.tid)),this.referrer&&(he.debug("liff.ref.referrer",this.referrer),this.uts.setSessionParams(this.referrer)),$n&&this.setLiffId($n),this.setIsLoggedIn(Mn()),this.setVersion("2.27.1"),ys=j(location.href),he.debug("[LIFFUTS][url] ".concat(ys)),this.uts.setUrl(ys),this.liffCore.analytics=this.uts,this.injected=!0,xs.label=6;case 6:return[2]}})})},$.prototype.beforeInitSuccess=function(){return this.injected&&(this.setIsLiffSuccessful(!0),this.sendLiffInit()),Promise.resolve()},$.prototype.initError=function(){return this.injected&&(this.setIsLiffSuccessful(!1),this.sendLiffInit()),Promise.resolve()},$}(nt),Tu=/([\x90\x9D\x81\x8D\x8F<"{|}>\\^`\u201c\u203a\u201e\u2022\u201a\u017d\u0160\u2026\u2019\u2014\u017e\u2013\u2018\u201d\u2021\u2122\u2030\u0152\u0161\u0178\u2039\u0153\u2020\xa5\xbf\xa9\xe1\xc4\xfd\xcd\xce\xf0\xf4]|\n|.*#.*#|%(?![0-9A-Fa-f]{2})[^%]{0,2})/,le=function(Y){if(Tu.test(Y))throw z(wt,"invalid URL.");var $=new URL(Y);return{username:$.username,password:$.password,pathname:$.pathname,hash:$.hash,origin:$.origin,search:$.search}},At=function(Y){return Y.substring(1).split("&").filter(function($){return!/^liff\./.test($)&&!!$})},mn=function(Y,$){var be=Y.substring($.length);return"/"===be?"":(be.length>0&&"/"!==be[0]&&(be="/"+be),be)},Fi=function(Y){return encodeURIComponent(Y).replace(/[!'()*]/g,function($){return"%"+$.charCodeAt(0).toString(16).toUpperCase()})},er=function(Y,$){var be=function(vt,Wt){for(var fn=(0,q.fX)([],(0,q.zs)(vt),!1),$n=0;$n<Wt.length;$n++){var xi=fn.indexOf(Wt[$n]);xi>-1&&fn.splice(xi,1)}return fn}(function(vt){var Wt,fn,$n=vt.replace(/\+/g,"%2B"),si=new URLSearchParams($n),xi=[];try{for(var Yi=(0,q.Ju)(si.entries()),zi=Yi.next();!zi.done;zi=Yi.next()){var jr=(0,q.zs)(zi.value,2),ys=jr[1];xi.push("".concat(Fi(jr[0]),"=").concat(Fi(ys)))}}catch(os){Wt={error:os}}finally{try{zi&&!zi.done&&(fn=Yi.return)&&fn.call(Yi)}finally{if(Wt)throw Wt.error}}if(0===xi.length)return[""];var xs=vt.split("&");return xi.map(function(os,_s){return os.endsWith("=")&&!xs[_s].endsWith("=")?os.slice(0,-1):os})}(At(Y).join("&")),At($)).join("&");return""!==be?"?".concat(be):""},Fr=function(Y){var $=new RegExp("^".concat(Bn.join("|"))),be=Y.substring(1).split("&").filter(function(vt){return!$.test(vt)&&!!vt}).join("&");return be?"#".concat(be):""},vo=function(Y,$){return 0===$.indexOf(Y)&&(Y.endsWith("/")&&(Y=Y.substring(0,Y.length-1)),void 0===$[Y.length]||"/"===$[Y.length])},Bo=function(Y,$){var be=le(Y),vt=new URL($);if(be.username!==vt.username||be.password!==vt.password||vt.origin!==be.origin||!vo(vt.pathname,be.pathname))throw z(wt,"invalid URL.")},Va=function(Y){function $(){var be=Y.apply(this,(0,q.fX)([],(0,q.zs)(arguments),!1))||this;return be.extraParams="",be.getAndValidateContext=function(){var vt=Mr();if(!vt)throw z(Ie,"Could not get Context from server.");if(!vt.endpointUrl)throw z(Ie,"Could not get endpointUrl from server.");if(!vt.permanentLinkPattern)throw z(Ie,"Could not get permanentLinkPattern from server.");return vt},be.createUrl=function(){var vt=be.getAndValidateContext(),Wt=window.location,fn=Wt.pathname,$n=Wt.search,si=Wt.hash,xi=Wt.origin,Yi=new URL(vt.endpointUrl);if(Yi.origin!==xi||!vo(Yi.pathname,fn))throw z(je,"Current page is not under entrypoint.");var zi=fn.substring(Yi.pathname.length);zi.length>0&&"/"!==zi[0]&&(zi="/"+zi);var jr=new RegExp("^".concat(Bn.join("|"))),ss=si.substring(1).split("&").filter(function(Cl){return!jr.test(Cl)&&!!Cl}).join("&"),ys=ss===Yi.hash.substring(1)?"":ss,xs=function(Cl){return Cl.substring(1).split("&").filter(function(Cu){return!/liff\.state/.test(Cu)&&!!Cu})},os=xs($n),_s=xs(Yi.search);be.extraParams&&os.push(be.extraParams);for(var To=0;To<_s.length;To++){var fa=os.indexOf(_s[To]);fa>-1&&os.splice(fa,1)}var ql=os.join("&"),Za="".concat(zi).concat(""!==ql?"?".concat(ql):"").concat(ys?"#".concat(ys):"");return"".concat(Zt).concat(ft().liffId).concat(Za)},be.createUrlBy=function(vt){return(0,q.sH)(be,void 0,void 0,function(){var Wt,fn,$n,si;return(0,q.YH)(this,function(zi){if(!(Wt=ft().liffId))throw z(Ie,"Should run after liff init.");return fn=this.getAndValidateContext(),Bo(vt,fn.endpointUrl),$n=le(vt),si=new URL(fn.endpointUrl),[2,(fn.miniDomainAllowed?ti:Zt).concat(fn.miniDomainAllowed&&fn.miniAppId?fn.miniAppId:Wt,mn($n.pathname,si.pathname),er($n.search,si.search),Fr($n.hash))]})})},be.setExtraQueryParam=function(vt){be.extraParams=vt},be.install=function(){return{createUrl:be.createUrl,createUrlBy:be.createUrlBy,setExtraQueryParam:be.setExtraQueryParam}},be}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"permanentLink"}
1,enumerable:!1,configurable:!0}),$}(nt),Ro=new Va,Nd=function(){function Y($,be){var vt=this;this.resolve=$,this.reject=be,this.onSubmit=function(Wt){vt.resolve({value:Wt.message}),vt.destroy()},this.onClose=function(){vt.resolve({value:null}),vt.destroy()},this.onCancel=function(){vt.resolve({value:null}),vt.destroy()},this.onError=function(Wt){vt.reject(Wt),vt.destroy()},this.start()}return Y.prototype.start=function(){Pa.on("submit",this.onSubmit),Pa.on("close",this.onClose),Pa.on("cancel",this.onCancel),Pa.on("error",this.onError)},Y.prototype.destroy=function(){Pa.off("submit",this.onSubmit),Pa.off("close",this.onClose),Pa.off("cancel",this.onCancel),Pa.off("error",this.onError),Ja=void 0},Y}();function Kd(){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function(Y){return Lr.scanCodeV2(),Ja&&Ja.destroy(),[2,new Promise(function($,be){Ja=new Nd($,be),Pa.open({url:"https://liff.line.me/1656359117-jxmx5e11"}).catch(function(vt){Ja?.destroy(),be(vt)})})]})})}var Mu=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"scanCodeV2"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return Kd},$}(nt),Ua=new Mu,Lc={};function Fd(Y,$){var be=function Qd(){return Lc}(),vt=(0,q.zs)($.split("."),1)[0],Wt=be[$];Wt&&Y.removeEventListener(vt,Wt),be[$]=null}var hd=!1,fd=!1;function va(Y,$,be,vt){if(void 0===be&&(be={}),"object"!=typeof Y||!Y.postMessage)throw z(wt,"target must be window object");if("string"!=typeof $)throw z(wt,"keyname must be string");if("object"!=typeof be)throw z(wt,"incorrect body format. It should be Object or Array comprised of Object");if(!vt)throw z(wt,"serverEndPointUrl isn't passed. please fill up with proper url");if("*"===vt)throw new Error("serverEndPointUrl doesn't allow to set '*'");Y.postMessage({name:$,body:be},vt)}var wc=function(){function Y(){this.payloadToShareTargetPicker=null,this.popupWindow=null,this.doesWaitForSubwindowResult=!1}return Y.getInstance=function(){return Y.instance?Y.instance.reset():Y.instance=new Y,Y.instance},Y.prototype.init=function($){return(0,q.sH)(this,void 0,void 0,function(){var be,vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return Wt.trys.push([0,5,,6]),this.liffId=$.referrer.liffId,this.doesWaitForSubwindowResult=!(!$.options||!$.options.waitForSubwindowResult),this.allowPostMessageOrigin=this.initAllowPostMessageOrigin(),this.payloadToShareTargetPicker=this.buildPayloadToShareTargetPicker($),window.AbortController&&(this.abortController=new window.AbortController),this.prepareAnotherWindow(),[4,this.initOtt()];case 1:return Wt.sent(),this.initListener(),this.openAnotherWindow(),this.doesWaitForSubwindowResult?[4,this.pollingShareResult()]:[3,3];case 2:return be=Wt.sent(),this.finalize(),[2,be];case 3:case 6:return[2];case 4:return[3,6];case 5:if(vt=Wt.sent(),this.finalize(),"AbortError"!==vt.name)throw vt;return[3,6]}})})},Y.prototype.resetAllVariables=function(){this.liffId="",this.allowPostMessageOrigin="",this.payloadToShareTargetPicker=null,this.ott="",this.popupWindow=null,this.timeoutIDForHealthCheck=null,this.abortController=null,this.internalError=null,this.doesWaitForSubwindowResult=!1},Y.prototype.reset=function(){this.finalize(),this.resetAllVariables()},Y.prototype.finalize=function(){var $,be;this.abortController&&this.abortController.abort(),Zn()||($=this.timeoutIDForHealthCheck,be=this.popupWindow,Fd(window,"message.receivedHealthcheck"),$&&clearTimeout($),be&&!be.closed&&be.close())},Y.prototype.buildPayloadToShareTargetPicker=function($){return{messages:$.messages,isMultiple:$.isMultiple,referrer:$.referrer}},Y.prototype.initAllowPostMessageOrigin=function($){return void 0===$&&($=Us("shareTargetPicker")),function Er(Y){var $=Y.match(/^(https?:\/\/.*?)\//);return $&&$[1]||""}($)},Y.prototype.initOtt=function(){return(0,q.sH)(this,void 0,void 0,function(){var $,be,vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return this.abortController&&($=this.abortController.signal),be="".concat(Us("shareTargetPickerOtt"),"/").concat(this.liffId,"/ott"),vt=this,[4,cs(be,{method:"GET",signal:$}).then(function(fn){return fn.ott})];case 1:return vt.ott=Wt.sent(),[2]}})})},Y.prototype.prepareAnotherWindow=function(){Zn()||(this.popupWindow="ios"!==As()||Pt()?window.open("","liffpopup","width=480, height=640, menubar=no, toolbar=no, scrollbars=yes"):window.open())},Y.prototype.openAnotherWindow=function(){if(Zn()&&this.payloadToShareTargetPicker)Wt={liffId:this.liffId,ott:this.ott,data:JSON.stringify(this.payloadToShareTargetPicker),closeModals:!1},location.href="".concat("line://picker","?").concat(fe_stringify(Wt));else{if(this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),!this.popupWindow)throw z(We);xi={liffId:this.liffId,ott:this.ott},this.popupWindow.location.href="".concat(Us("shareTargetPicker"),"?").concat(fe_stringify(xi))}var xi,Wt},Y.prototype.initListener=function(){var $;Zn()||($=this.onReceivedHealthcheck.bind(this),function Dc(Y,$,be,vt){!function Nc(Y,$,be,vt){hd||(fd=function(){var fn=!1;try{var $n=Object.defineProperty({},"passive",{get:function(){return fn=!0,!1}});window.addEventListener("test",$n,$n),window.removeEventListener("test",$n,$n)}catch{fn=!1}return fn}(),hd=!0);var Wt=(0,q.zs)($.split("."),1)[0];new Promise(function(fn){var $n=function(si){fn(si),be&&be(si),vt&&vt.once&&Fd(Y,$)};Lc[$]=$n,Y.addEventListener(Wt,$n,!!fd&&vt)})}(Y,"message.".concat($),function(Wt,fn,$n){return function(si){he.debug("messageReceive",si),si.origin===$n&&si.data.name===Wt&&fn(si)}}($,be,vt))}(window,"receivedHealthcheck",$,this.allowPostMessageOrigin))},Y.prototype.healthCheck=function(){return(0,q.sH)(this,void 0,void 0,function(){var $;return(0,q.YH)(this,function(be){switch(be.label){case 0:if(this.popupWindow&&!this.popupWindow.closed)return[3,7];if(!this.doesWaitForSubwindowResult)return[3,5];be.label=1;case 1:return be.trys.push([1,3,,4]),[4,this.onCanceled()];case 2:return be.sent(),[3,4];case 3:return $=be.sent(),this.internalError=$,[3,4];case 4:return[3,6];case 5:this.finalize(),be.label=6;case 6:return[3,8];case 7:va(this.popupWindow,"healthcheck",void 0,this.allowPostMessageOrigin),this.timeoutIDForHealthCheck=window.setTimeout(this.healthCheck.bind(this),1e3),be.label=8;case 8:return[2]}})})},Y.prototype.onReceivedHealthcheck=function(){if(!this.popupWindow||!this.payloadToShareTargetPicker)throw z(We);va(this.popupWindow,"ready",this.payloadToShareTargetPicker,this.allowPostMessageOrigin)},Y.prototype.onCanceled=function(){return(0,q.sH)(this,void 0,void 0,function(){var $,be;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:if(Zn()||!this.ott)throw new Error("need to call with ott in client");return this.abortController&&($=this.abortController.signal),be={liffId:this.liffId,ott:this.ott},[4,cs("".concat(Us("shareTargetPickerResult"),"?").concat(fe_stringify(be)),{method:"POST",signal:$,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},body:"result=CANCEL"})];case 1:return[2,"ok"===vt.sent().status]}})})},Y.prototype.getShareResult=function(){return(0,q.sH)(this,void 0,void 0,function(){var $,be;return(0,q.YH)(this,function(vt){if(!this.ott)throw new Error("need to call with ott in client");return this.abortController&&($=this.abortController.signal),be={liffId:this.liffId,ott:this.ott},he.debug("fetch: getShareResult"),[2,cs("".concat(Us("shareTargetPickerResult"),"?").concat(fe_stringify(be)),{method:"GET",headers:{Accept:"application/json"},signal:$})]})})},Y.isPollingTimeOut=function($,be){return(be-$)/6e4>=10},Y.prototype.pollingShareResult=function(){return(0,q.sH)(this,void 0,void 0,function(){var $,be;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:$=Date.now(),vt.label=1;case 1:if(Y.isPollingTimeOut($,Date.now()))return[3,4];if(this.internalError)throw this.internalError;
1return[4,this.getShareResult()];case 2:if((be=vt.sent())&&be.result)switch(be.result){case"SUCCESS":return[2,{status:"success"}];case"CANCEL":return[2];default:throw new Error(be.resultDescription)}return[4,new Promise(function(Wt){setTimeout(Wt,500)})];case 3:return vt.sent(),[3,1];case 4:throw new Error("Timeout: not finished within ".concat(10,"min"))}})})},Y}(),Po=function(Y){function $(){var be=Y.apply(this,(0,q.fX)([],(0,q.zs)(arguments),!1))||this;return be.shareTargetPicker=function(vt){for(var Wt=[],fn=1;fn<arguments.length;fn++)Wt[fn-1]=arguments[fn];return(0,q.sH)(be,(0,q.fX)([vt],(0,q.zs)(Wt),!1),void 0,function($n,si){var xi,Yi,zi,jr,ss,ys,xs;return void 0===si&&(si={}),(0,q.YH)(this,function(os){switch(os.label){case 0:if(Lr.shareTargetPicker(),!$n||!Array.isArray($n)||0===$n.length)throw z(wt,"no proper argument");if($n.length>5)throw z(wt,"exceed the limit of num of messages");if(!(xi=ft().liffId))throw z(je);window.liff&&(Yi=window.liff).analytics&&function(Y){he.debug("[LIFFUTS][sendCustom] liff.shareTargetPicker"),Y.sendCustom({type:"liffSdk",params:{placeId:"liff.shareTargetPicker"}})}(Yi.analytics),zi=void 0===si.isMultiple||si.isMultiple,os.label=1;case 1:return os.trys.push([1,3,,4]),jr=wc.getInstance(),ss=ds(),ys={waitForSubwindowResult:!0},Zn()&&ss&&Sn(ss,"10.11.0")<0&&(ys.waitForSubwindowResult=!1),[4,jr.init({messages:$n,isMultiple:zi,referrer:{liffId:xi,url:location.origin},options:ys})];case 2:return[2,os.sent()];case 3:throw(xs=os.sent())instanceof xe?xs:z(Ot,xs.message);case 4:return[2]}})})},be}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"shareTargetPicker"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return this.shareTargetPicker},$}(nt),P=new Po;function J(Y,$){return(0,q.sH)(this,void 0,void 0,function(){var be,vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return be=Us("createShortcutOnHomeScreen"),(vt=new URL(be)).searchParams.append("liffId",Y),vt.searchParams.append("url",$.url),$.description&&vt.searchParams.append("description",$.description),[4,cs(vt.toString())];case 1:return[2,Wt.sent().shortcutPageUrl]}})})}function Be(Y){if(_n(Y))throw z(wt,"LINE URL scheme are not supported in the current environment.")}function mt(Y,$){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function(vt){switch(vt.label){case 0:return Zn()?[2]:[4,new Promise(function(Wt){setTimeout(Wt,1e3)})];case 1:return vt.sent(),"hidden"===document.visibilityState?[2]:(Be($.url),[4,J(Y,$)]);case 2:return pc({url:vt.sent(),external:!0}),[2]}})})}function nn(Y,$){return(0,q.sH)(this,void 0,void 0,function(){var be,vt;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return be={liffId:Y,targetUrl:$.url,description:$.description},vt="".concat("line://shortcut/liff","?").concat(fe_stringify(be)),location.href=vt,[4,mt(Y,$)];case 1:return Wt.sent(),[2]}})})}function qn(Y,$){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function(vt){switch(vt.label){case 0:return Be($.url),[4,J(Y,$)];case 1:return pc({url:vt.sent(),external:!0}),[2]}})})}function Xi(Y){var $;if(null==Y.url||""===Y.url)throw z(wt,"no proper argument");var be=Mr();if(null===($=be?.availability.addToHomeLineScheme)||void 0===$||!$.permission){if(_n(Y.url))throw z(ie,"No permission to specify line schema in url.");if(Y.description)throw z(ie,"No permission to specify description.")}if(!_n(Y.url)){if(!be)throw z(ie,"Could not get Context from server.");be.liffId!==Qi(Y.url)&&Bo(Y.url,be.endpointUrl)}}function fo(Y){return(0,q.sH)(this,void 0,void 0,function(){var $;return(0,q.YH)(this,function(be){switch(be.label){case 0:if(!($=ft().liffId))throw z(Ie,"Invalid LIFF ID.");return"ios"===As()?[4,qn($,Y)]:[3,2];case 1:return be.sent(),[3,4];case 2:return[4,nn($,Y)];case 3:be.sent(),be.label=4;case 4:return[2]}})})}var Na=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"createShortcutOnHomeScreen"},enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(be){return function ws(Y){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function($){switch($.label){case 0:return Xi(Y),Lr.createShortcutOnHomeScreen(),[4,fo(Y)];case 1:return $.sent(),[2]}})})}(be)}},$}(nt),Zl=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"internalCreateShortcutOnHomeScreen"}
1,enumerable:!1,configurable:!0}),$.prototype.install=function(){return function(be){return function Jr(Y){return(0,q.sH)(this,void 0,void 0,function(){return(0,q.YH)(this,function($){switch($.label){case 0:return Xi(Y),Lr.internalCreateShortcutOnHomeScreen(),[4,fo(Y)];case 1:return $.sent(),[2]}})})}(be)}},$}(nt);function jl(Y){return(0,q.sH)(this,arguments,void 0,function($){var be=$.productIds;return(0,q.YH)(this,function(vt){switch(vt.label){case 0:return[4,_o("iap.getPlatformProducts",{productIds:be}).catch(function(Wt){throw Wt.code&&Wt.description?z(Wt.code,Wt.description):z(Pe,"Failed to get platform products",{cause:Wt})})];case 1:return[2,vt.sent().products]}})})}var Gu=function(Y){return(0,q.sH)(void 0,[Y],void 0,function($){var be=$.productId,vt=$.orderId;return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return[4,_o("iap.createPayment",{productId:be,orderId:vt}).catch(function(fn){throw fn.code&&fn.description?z(fn.code,fn.description):z(Pe,"Failed to get platform products",{cause:fn})})];case 1:return Wt.sent(),[2]}})})},du=function(Y){function $(){return null!==Y&&Y.apply(this,arguments)||this}return(0,q.C6)($,Y),Object.defineProperty($.prototype,"name",{get:function(){return"iap"},enumerable:!1,configurable:!0}),$.prototype.install=function(){var be=this;return{getPlatformProducts:function(){for(var vt=[],Wt=0;Wt<arguments.length;Wt++)vt[Wt]=arguments[Wt];return(0,q.sH)(be,void 0,void 0,function(){return(0,q.YH)(this,function(fn){return Lr.iap(),[2,jl.apply(void 0,(0,q.fX)([],(0,q.zs)(vt),!1))]})})},createPayment:function(){for(var vt=[],Wt=0;Wt<arguments.length;Wt++)vt[Wt]=arguments[Wt];return(0,q.sH)(be,void 0,void 0,function(){return(0,q.YH)(this,function(fn){return Lr.iap(),[2,Gu.apply(void 0,(0,q.fX)([],(0,q.zs)(vt),!1))]})})},requestConsentAgreement:function(){return(0,q.sH)(be,void 0,void 0,function(){return(0,q.YH)(this,function(vt){return Lr.iap(),[2,(0,q.sH)(void 0,void 0,void 0,function(){return(0,q.YH)(this,function(Wt){switch(Wt.label){case 0:return[4,_o("iap.requestConsentAgreement").catch(function(fn){throw fn.code&&fn.description?z(fn.code,fn.description):z(Pe,"Failed to request consent agreement",{cause:fn})})];case 1:return Wt.sent(),[2]}})})]})})}}},$}(nt),md=Object.defineProperties({},{getOS:{value:As,enumerable:!0,writable:!0},getVersion:{value:function Vn(){return"2.27.1"},enumerable:!0,writable:!0},getLanguage:{value:Kt,enumerable:!0,writable:!0},getAppLanguage:{value:jt,enumerable:!0,writable:!0},getOrigins:{value:Ls,enumerable:!0,writable:!0},isInClient:{value:Zn,enumerable:!0,writable:!0},isLoggedIn:{value:Mn,enumerable:!0,writable:!0},logout:{value:no,enumerable:!0,writable:!0},getAccessToken:{value:oo,enumerable:!0,writable:!0},getIDToken:{value:bn,enumerable:!0,writable:!0},getDecodedIDToken:{value:qi,enumerable:!0,writable:!0},getContext:{value:Mr,enumerable:!0,writable:!0},openWindow:{value:pc,enumerable:!0,writable:!0},closeWindow:{value:Yo,enumerable:!0,writable:!0},getFriendship:{value:La(gc,"profile"),enumerable:!0,writable:!0},getAId:{value:In,enumerable:!0,writable:!0},getProfilePlus:{value:_r,enumerable:!0,writable:!0},getIsVideoAutoPlay:{value:Ai,enumerable:!0,writable:!0},getLineVersion:{value:ds,enumerable:!0,writable:!0},isApiAvailable:{value:Or,enumerable:!0,writable:!0},getProfile:{value:La(es,"profile"),enumerable:!0,writable:!0},sendMessages:{value:La(Xa,"chat_message.write"),enumerable:!0,writable:!0},subWindow:{value:Pa,enumerable:!0,writable:!0},ready:{value:Te,enumerable:!0,writable:!0},id:{get:function(){return ft().liffId||null},enumerable:!0},_dispatchEvent:{value:function Qr(Y){var $={};try{$=JSON.parse(Y)}catch(vt){throw z(wt,vt.message)}var be=function tt(Y){return new CustomEvent(Me,{detail:Y})}($);he.debug("[client dispatchEvent to js]",{type:be.type,detail:be.detail}),window.dispatchEvent(be)},enumerable:!0,writable:!0},_call:{value:_o,enumerable:!0,writable:!0},_addListener:{value:Gt,enumerable:!0,writable:!0},_removeListener:{value:Ln,enumerable:!0,writable:!0},_postMessage:{value:Ds,enumerable:!0,writable:!0}}),Bd=new Ut,Ku=new at(Bd,md),Fh=new hn(Bd,Ku).install();[new hn(Bd,Ku),new Oe,new Oc,new wu,Ua,Ro,Rs,xo,P,Ar,new Js,new Na,new Zl,new du].forEach(function Bh(Y){Fh.call(md,Y)});var Qu=md,mo=d(3664),Xd=d(3694),hm=d(843);let Iu=(()=>{var Y;class ${constructor(vt,Wt){this.activeRoute=vt,this.siteService=Wt}
1ngOnInit(){var vt=this;return(0,o.A)(function*(){yield vt.liffinit()})()}liffinit(){return new Promise((vt,Wt)=>{console.log("liff.isInClien :>> ",Qu.isInClient());const fn=this.activeRoute.snapshot.queryParams.storeid,$n=this.activeRoute.snapshot.queryParams.storename,si=this.activeRoute.snapshot.queryParams.type;Qu.isInClient()?(fn&&$n&&"family"===si&&(location.href=this.siteService.LIFF_URL+"/checkout?storeid="+fn+"&storename="+$n+"&type="+si),vt(!0)):(location.href=this.siteService.webSiteUrl+"/cart?storeid="+fn+"&storename="+$n+"&type="+si,vt(!1))})}static#e=Y=()=>(this.\u0275fac=function(Wt){return new(Wt||$)(mo.rXU(Xd.nX),mo.rXU(hm.T))},this.\u0275cmp=mo.VBU({type:$,selectors:[["app-map-reply-url"]],standalone:!1,decls:0,vars:0,template:function(Wt,fn){},encapsulation:2}))}return Y(),$})()},7691(tn,Ye,d){"use strict";d.d(Ye,{Y:()=>v});var o=d(6192),s=d(9330),h=d(2615),y=d(7281);let v=(()=>{var T;class M{constructor(H){this.httpClient=H,this.columns=["name","edit","view"],this.dataSource=new o.I6([]),this.params=[],this.options={headers:new s.Lr({Authorization:"Bearer eyJhbGciOiJIUzM4NCIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwczovLzc1NTEudHciLCJjbGllbnRfaWQiOiJHb0JSVmdjYUVlMmV3dnVPOXpUNjV3PT0iLCJleHAiOjIwMjc0Njc4MTgsImlzcyI6Imh0dHBzOi8vNzU1MS50dyIsIm5iZiI6MTcxMjEwNzgxOCwicGFydHlfaWQiOiJxN0JET2tRelNaV2tIYnJOZ3JlQzlnPT0iLCJzY29wZSI6WyIvc3RvcmFnZSIsIi9hdXRoLkF1dGgvUGluZyIsIi9hdXRoLkF1dGgvQXV0aG9yaXphdGlvbiIsIi9jdXN0b21lci5DdXN0b21lci9QaW5nIiwiL2N1c3RvbWVyLkN1c3RvbWVyL1VwZGF0ZU5hbWUiLCIvY3VzdG9tZXIuQ3VzdG9tZXIvVXBkYXRlVGhpcmRQYXJ0eUNvbmZpZyIsIi9jdXN0b21lci5DdXN0b21lci9VcGRhdGVSZXN0cmljdGlvbkNvbmZpZyIsIi9jdXN0b21lci5DdXN0b21lci9VcGRhdGVJbmZvIiwiL2N1c3RvbWVyLkN1c3RvbWVyL0dldCIsIi9jdXN0b21lci5DdXN0b21lci9MaXN0IiwiL3VzZXIuVXNlci9QaW5nIiwiL3VzZXIuVXNlci9DcmVhdGUiLCIvdXNlci5Vc2VyL1VwZGF0ZUJhc2ljRGF0YSIsIi91c2VyLlVzZXIvQmluZGluZyIsIi91c2VyLlVzZXIvVW5iaW5kaW5nIiwiL3VzZXIuVXNlci9CbG9jayIsIi91c2VyLlVzZXIvVW5ibG9jayIsIi91c2VyLlVzZXIvR2V0IiwiL3VzZXIuVXNlci9HZXRXaXRoQ29uZGl0aW9uIiwiL3VzZXIuVXNlci9MaXN0IiwiL3VzZXIuVXNlci9CaW5kTGlzdCIsIi93YXJlaG91c2UuTWF0ZXJpYWwvUGluZyIsIi93YXJlaG91c2UuTWF0ZXJpYWwvQ3JlYXRlIiwiL3dhcmVob3VzZS5NYXRlcmlhbC9CYXRjaCIsIi93YXJlaG91c2UuTWF0ZXJpYWwvVXBkYXRlIiwiL3dhcmVob3VzZS5NYXRlcmlhbC9HZXQiLCIvd2FyZWhvdXNlLk1hdGVyaWFsL0xpc3QiLCIvd2FyZWhvdXNlLlBhY2thZ2UvUGluZyIsIi93YXJlaG91c2UuUGFja2FnZS9DcmVhdGUiLCIvd2FyZWhvdXNlLlBhY2thZ2UvVXBkYXRlIiwiL3dhcmVob3VzZS5QYWNrYWdlL1JlZk1hdGVyaWFsIiwiL3dhcmVob3VzZS5QYWNrYWdlL0FyY2hpdmUiLCIvd2FyZWhvdXNlLlBhY2thZ2UvR2V0IiwiL3dhcmVob3VzZS5QYWNrYWdlL0xpc3QiLCIvd2FyZWhvdXNlLkV2ZW50L1BpbmciLCIvd2FyZWhvdXNlLkV2ZW50L0NyZWF0ZSIsIi93YXJlaG91c2UuRXZlbnQvVXBkYXRlIiwiL3dhcmVob3VzZS5FdmVudC9SZWZQYWNrYWdlIiwiL3dhcmVob3VzZS5FdmVudC9BcmNoaXZlZFBhY2thZ2UiLCIvd2FyZWhvdXNlLkV2ZW50L0dldCIsIi93YXJlaG91c2UuRXZlbnQvTGlzdCIsIi9yZWJhdGUuUmViYXRlL1BpbmciLCIvcmViYXRlLlJlYmF0ZS9DcmVhdGUiLCIvcmViYXRlLlJlYmF0ZS9VcGRhdGUiLCIvcmViYXRlLlJlYmF0ZS9HaWZ0IiwiL3JlYmF0ZS5SZWJhdGUvVXNlZCIsIi9yZWJhdGUuUmViYXRlL0dldCIsIi9yZWJhdGUuUmViYXRlL0xpc3QiLCIvcmViYXRlLlJlYmF0ZS9Vc2VyTGlzdCIsIi9vcmRlci5PcmRlci9QaW5nIiwiL29yZGVyLk9yZGVyL0NyZWF0ZSIsIi9vcmRlci5PcmRlci9VcGRhdGVPcmRlclN0YXR1cyIsIi9vcmRlci5PcmRlci9MaXN0IiwiL29yZGVyLk9yZGVyL0dldCIsIi9vcmRlci5PcmRlci9VcGRhdGVPcmRlclJlbWFyayIsIi9vcmRlci5PcmRlci9VcGRhdGVPcmRlckRlbGl2ZXJ5IiwiL29yZGVyLkR1c3QvQ3JlYXRlSG9uZXN0IiwiL29yZGVyLk9yZGVyL0V4cG9ydCIsIi9vcmRlci5PcmRlci9FeHBvcnQiXSwic3ViIjoiR29vZ2xlIENhcnQgRGV2In0.DJOw7VfGZK_TP76I0jp7Rpao_vQZ57sskxPDt-QrkF_sqXPuUy3nCk6v0XSUtn6T"})},this.package={list:"",get:""};const B="https://bananas-gateway-nyd76tjjeq-de.a.run.app/package";this.package={list:B+"/list",get:B+"/get"}}List(H){const B=[];return Object.entries(H).forEach(([x,ye])=>{void 0!==ye&&B.push(x+"="+ye)}),this.params=B,new Promise((x,ye)=>{this.httpClient.get(this.package.list+"?"+this.params.join("&"),this.options).subscribe(He=>{x(He)},He=>{console.warn(He),console.warn("get package list error"),ye()})})}Get(H){return new Promise((B,x)=>{this.httpClient.get(this.package.get+"?packageId="+H+"&platform=6",this.options).subscribe(ye=>{B(ye)},ye=>{console.warn(ye),console.warn("get package error"),x()})})}static#e=T=()=>(this.\u0275fac=function(B){return new(B||M)(h.KVO(y.kl))},this.\u0275prov=h.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return T(),M})()},7281(tn,Ye,d){"use strict";d.d(Ye,{kl:()=>T});var o=d(2615),s=d(9330);class h{constructor(k,H){this.next=k,this.interceptor=H}handle(k){return this.interceptor.intercept(k,this.next)}}class y{constructor(k,H,B){this.backend=k,this.injector=H,this.interceptors=B,this.chain=null}handle(k){if(null===this.chain){const H=this.injector.get(this.interceptors,[]);this.chain=H.reduceRight((B,x)=>new h(B,x),this.backend)}return this.chain.handle(k)}}const v=new o.nKC("HTTP_INTERCEPTORS_STRAW");let T=(()=>{var M;class k extends s.Qq{constructor(B,x){super(new y(B,x,v)),this.injector=x}static#e=M=()=>(this.\u0275fac=function(x){return new(x||k)(o.KVO(s.JV),o.KVO(o.zZn))},this.\u0275prov=o.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}))}return M(),k})()},1547(tn,Ye,d){"use strict";d.d(Ye,{m:()=>k});var o=d(467),s=d(2615),h=d(843),y=d(6035),v=d(8178),T=d(9330),M=d(7691);let k=(()=>{var H;class B{constructor(ye,He,Mt,Ge,Qe){this.siteService=ye,this.commonService=He,this.db=Mt,this.http=Ge,this.packageService=Qe,this.cartsSize=0,this.emptyCarts={Normal:{payStatus:!1,products:[]},Frozen:{payStatus:!1,products:[]}},this.loaded=!1,this.frozenQuantity=0,this.normalQuantity=0}init(){var ye=this;return(0,o.A)(function*(){!1===ye.loaded&&(yield ye.loadCart(),ye.loaded=!0),ye.save()})()}loadCart(){if(!this.siteService.lineUser)return void console.warn("User not authenticated or UID not available");const ye=this.siteService.linebotId;let He=this.siteService.lineUser.userId;return new Promise((Mt,Ge)=>{this.db.firestore.firestore.collection(`linebots/${ye}/users/${He}/carts`).doc("web").get().then(Qe=>{Qe.exists?(this.carts=Qe.data(),console.log(this.carts)):(this.carts=this.emptyCarts,this.save()),Mt(!0)})})}add(ye,He,Mt){let Ge=!1;if("Normal"===Mt.shipping){this.carts.Normal.payStatus&&(this.carts.Normal.payStatus=!1,this.carts.Normal.products=[]);for(const Qe of this.carts.Normal.products)Qe.id===Mt.id&&(Ge=!0,Qe.quantity+=ye);!1===Ge&&this.carts.Normal.products.push(Mt)}if("Frozen"===Mt.shipping){this.carts.Frozen.payStatus&&(this.carts.Frozen.payStatus=!1,this.carts.Frozen.products=[]);for(const Qe of this.carts.Frozen.products)Qe.id===Mt.id&&(Ge=!0,Qe.quantity+=ye);!1===Ge&&this.carts.Frozen.products.push(Mt)}return this.save(),Ge}delete(ye){this.carts.Frozen.products=this.carts.Frozen.products.filter(He=>He.id!=ye),this.carts.Normal.products=this.carts.Normal.products.filter(He=>He.id!=ye),this.save()}save(){var ye=this;return(0,o.A)(function*(){ye.cartsSize=ye.carts.Frozen.products.length+ye.carts.Normal.products.length;const He=ye.siteService.linebotId,Mt=ye.siteService.loginUser.uid;yield ye.db.firestore.firestore.collection(`linebots/${He}/users/${Mt}/carts`).doc("web").set(ye.carts)})()}clear(){var ye=this;return(0,o.A)(function*(){const He=ye.siteService.linebotId,Mt=ye.siteService.loginUser.uid;yield ye.db.firestore.firestore.collection(`linebots/${He}/users/${Mt}/carts`).doc("web").update(ye.emptyCarts),ye.carts=ye.emptyCarts,ye.init()})()}emap(ye,He,Mt="post"){const Ge=document.createElement("form");Ge.method=Mt,Ge.action=ye,document.body.appendChild(Ge);for(const Qe in He){const Xe=document.createElement("input");Xe.type="hidden",Xe.name=Qe,Xe.value=He[Qe],Ge.appendChild(Xe)}Ge.submit()}cartsQuantity(){if(this.frozenQuantity=0,this.normalQuantity=0,console.log("nav\u4e0a\u7684\u8cfc\u7269\u8ec
1a\u7522\u54c1\u6578\u91cf :>> ",this.carts),this.carts?.Frozen.products.length>0)for(const ye of this.carts.Frozen.products)this.frozenQuantity=this.frozenQuantity+ye.quantity;if(this.carts?.Normal.products.length>0)for(const ye of this.carts.Normal.products)this.normalQuantity=this.normalQuantity+ye.quantity}checkPackage(ye,He,Mt,Ge){return new Promise((Qe,Xe)=>{this.packageService.Get(ye).then(ze=>{const Le=ze.materialItems.filter(ge=>ge.material.materialId===He);Mt>Le[0].material.quantity&&Le[0].material.quantity>=0&&(this.commonService.alert(Le[0].material.name+"\u5eab\u5b58\u4e0d\u8db3!"),Qe({result:!1,msg:"\u5eab\u5b58\u4e0d\u8db3!",quantity:Le[0].material.quantity})),"Publish"!==Le[0].material.webStatus&&(this.commonService.alert(Le[0].material.name+"\u5546\u54c1\u5df2\u4e0b\u67b6!"),Qe({result:!1,msg:"\u5546\u54c1\u5df2\u4e0b\u67b6"})),Le[0].material.price.web.special&&Le[0].material.price.web.special>0?Le[0].material.price.web.special!==Ge&&(this.commonService.alert("["+Le[0].material.name+"] \u91d1\u984d\u8abf\u6574\u70ba"+Le[0].material.price.web.special+" \u8acb\u91cd\u65b0\u52a0\u5165\u7269\u8eca"),Qe({result:!1,msg:"\u91d1\u984d\u5df2\u8abf\u6574",materialId:Le[0].material.materialId})):Le[0].material.price.web.price!==Ge&&(this.commonService.alert("["+Le[0].material.name+"] \u91d1\u984d\u8abf\u6574\u70ba"+Le[0].material.price.web.price+" \u8acb\u91cd\u65b0\u52a0\u5165\u7269\u8eca"),Qe({result:!1,msg:"\u91d1\u984d\u5df2\u8abf\u6574",materialId:Le[0].material.materialId})),Qe({result:!0,msg:"ok"})},ze=>{Qe({result:!1,msg:"\u67e5\u7121\u5546\u54c1"})})})}static#e=H=()=>(this.CARTNAME="carts",this.\u0275fac=function(He){return new(He||B)(s.KVO(h.T),s.KVO(y.h),s.KVO(v.B),s.KVO(T.Qq),s.KVO(M.Y))},this.\u0275prov=s.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}))}return H(),B})()},6035(tn,Ye,d){"use strict";d.d(Ye,{h:()=>_});var o=d(467),s=d(3207),h=d(2591),y=d(3664),v=d(2615),T=d(2200),M=d(8834);function k(Qn,di){if(1&Qn&&(y.j41(0,"h1",7),y.EFF(1),y.k0s()),2&Qn){const ai=y.XpG();y.R7$(),y.JRh(ai.dialogConfirm.title)}}function H(Qn,di){if(1&Qn){const ai=y.RV6();y.qex(0),y.j41(1,"button",8),y.bIt("click",function(){v.eBV(ai);const Vi=y.XpG();return v.Njj(Vi.action())}),y.EFF(2),y.k0s(),y.bVm()}if(2&Qn){const ai=y.XpG();y.R7$(2),y.JRh(ai.dialogConfirm.action)}}let B=(()=>{var Qn;class di{constructor(pi,Vi){this.dialogRef=pi,this.dialogConfirm=Vi}ngOnInit(){this.dialogConfirm.btnYes=this.dialogConfirm.btnYes?this.dialogConfirm.btnYes:"\u78ba\u5b9a",this.dialogConfirm.btnCanel=this.dialogConfirm.btnCanel?this.dialogConfirm.btnCanel:"\u53d6\u6d88"}onNoClick(){this.dialogRef.close(!1)}yes(){this.dialogRef.close(!0)}action(){this.dialogRef.close("action")}static#e=Qn=()=>(this.\u0275fac=function(Vi){return new(Vi||di)(y.rXU(h.CP),y.rXU(h.Vh))},this.\u0275cmp=y.VBU({type:di,selectors:[["app-dialog-confirm"]],standalone:!1,decls:9,vars:5,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],[3,"innerHTML"],["align","end"],["mat-button","",3,"click"],[4,"ngIf"],["mat-raised-button","",1,"float-right","btn-primary",3,"click"],["mat-dialog-title",""],["mat-raised-button","","color","accent",3,"click"]],template:function(Vi,ii){1&Vi&&(y.DNE(0,k,2,1,"h1",0),y.j41(1,"div",1),y.nrm(2,"div",2),y.k0s(),y.j41(3,"mat-dialog-actions",3)(4,"button",4),y.bIt("click",function(){return ii.onNoClick()}),y.EFF(5),y.k0s(),y.DNE(6,H,3,1,"ng-container",5),y.j41(7,"button",6),y.bIt("click",function(){return ii.yes()}),y.EFF(8),y.k0s()()),2&Vi&&(y.Y8G("ngIf",ii.dialogConfirm.title),y.R7$(2),y.Y8G("innerHTML",ii.dialogConfirm.content,y.npT),y.R7$(3),y.JRh(ii.dialogConfirm.btnCanel),y.R7$(),y.Y8G("ngIf",ii.dialogConfirm.action),y.R7$(2),y.JRh(ii.dialogConfirm.btnYes))},dependencies:[T.bT,M.$z,h.BI,h.E7,h.Yi],styles:["p[_ngcontent-%COMP%]{white-space:break-spaces}"]}))}return Qn(),di})();var x=d(3694);let ye=(()=>{var Qn;class di{constructor(pi,Vi,ii){this.dialogRef=pi,this.router=Vi,this.dialogInfo=ii}ngOnInit(){this.dialogInfo.btn=this.dialogInfo.btn?this.dialogInfo.btn:"\u78ba\u5b9a"}ok(){this.dialogRef.close({result:!0}),this.dialogInfo.redirect&&this.router.navigate("myAccount"===this.dialogInfo.redirect?["business","myAccount"]:[this.dialogInfo.redirect])}static#e=Qn=()=>(this.\u0275fac=function(Vi){return new(Vi||di)(y.rXU(h.CP),y.rXU(x.Ix),y.rXU(h.Vh))},this.\u0275cmp=y.VBU({type:di,selectors:[["app-dialog-info"]],standalone:!1,decls:6,vars:3,consts:[["mat-dialog-title",""],[3,"innerHTML"],["align","end"],["mat-button","","cdkFocusInitial","",3,"click"]],template:function(Vi,ii){1&Vi&&(y.j41(0,"h2",0),y.EFF(1),y.k0s(),y.nrm(2,"mat-dialog-content",1),y.j41(3,"mat-dialog-actions",2)(4,"button",3),y.bIt("click",function(){return ii.ok()}),y.EFF(5),y.k0s()()),2&Vi&&(y.R7$(),y.JRh(ii.dialogInfo.title),y.R7$(),y.Y8G("innerHTML",ii.dialogInfo.html,y.npT),y.R7$(3),y.JRh(ii.dialogInfo.btn))},dependencies:[M.$z,h.BI,h.E7,h.Yi],encapsulation:2}))}return Qn(),di})();var He=d(4844),Mt=d(7376),Ge=d(9079),Qe=d(5407),Xe=d(1985),ze=d(7673),Le=d(8455),ge=d(152),ue=d(6354),kt=d(941),Je=d(5558),Ke=d(6601),$e=d(9253),lt=d(9574),q=d(1476),de=d(8779);class ae{constructor(di,ai,pi){this._delegate=di,this.task=ai,this.ref=pi}get bytesTransferred(){return this._delegate.bytesTransferred}get metadata(){return this._delegate.metadata}get state(){return this._delegate.state}get totalBytes(){return this._delegate.totalBytes}}class he{constructor(di,ai){this._delegate=di,this._ref=ai,this.cancel=this._delegate.cancel.bind(this._delegate),this.catch=this._delegate.catch.bind(this._delegate),this.pause=this._delegate.pause.bind(this._delegate),this.resume=this._delegate.resume.bind(this._delegate)}get snapshot(){return new ae(this._delegate.snapshot,this,this._ref)}then(di,ai){return this._delegate.then(pi=>{if(di)return di(new ae(pi,this,this._ref))},ai)}on(di,ai,pi,Vi){let ii;return ai&&(ii="function"==typeof ai?rr=>ai(new ae(rr,this,this._ref)):{next:ai.next?rr=>ai.next(new ae(rr,this,this._ref)):void 0,complete:ai.complete||void 0,error:ai.error||void 0}),this._delegate.on(di,ii,pi||void 0,Vi||void 0)}}class Ne{constructor(di,ai){this._delegate=di,this._service=ai}get prefixes(){return this._delegate.prefixes.map(di=>new ve(di,this._service))}get items(){return this._delegate.items.map(di=>new ve(di,this._service))}get nextPageToken(){return this._delegate.nextPageToken||null}}class ve{constructor(di,ai){this._delegate=di,this.storage=ai}get name(){return this._delegate.name}get bucket(){return this._delegate.bucket}get fullPath(){return this._delegate.fullPath}toString(){return this._delegate.toString()}child(di){const ai=(0,q.Mp)(this._delegate,di);return new ve(ai,this.storage)}get root(){return new ve(this._delegate.root,this.storage)}get parent(){const di=this._delegate.parent;return null==di?null:new ve(di,this.storage)}put(di,ai){return this._throwIfRoot("put"),new he((0,q.bp)(this._delegate,di,ai),this)}putString(di,ai=q.nw.RAW,pi){this._throwIfRoot("putString");const Vi=(0,q.ZH)(ai,di),ii=Object.assign({},pi);return null==ii.contentType&&null!=Vi.contentType&&(ii.contentType=Vi.contentType),new he(new q.UC(this._delegate,new q.Mx(Vi.data,!0),ii),this)}listAll(){return(0,q._w)(this._delegate).then(di=>new Ne(di,this.storage))}list(di){return(0,q.p_)(this._delegate,di||void 0).then(ai=>new Ne(ai,this.storage))}getMetadata(){return(0,q.yb)(this._delegate)}updateMetadata(di){return(0,q.D5)(this._delegate,di)}getDownloadURL(){return(0,q.qk)(this._delegate)}delete(){return this._throwIfRoot("delete"),(0,q.XR)(this._delegate)}_throwIfRoot(di){if(""===this._delegate._location.path)throw(0,q.UY)(di)}}class at{constructor(di,ai){this.app=di,this._delegate=ai}get maxOperationRetryTime(){return this._delegate.maxOperationRetryTime}get maxUploadRetryTime(){return this._delegate.maxUploadRetryTime}ref(di){if(Ut(di))throw(0,q.uj)("ref() expected a child path but got a URL, use refFromURL instead.");return new ve((0,q.KR)(this._delegate,di),this)}refFromURL(di){if(!Ut(di))throw(0,q.uj)("refFromURL() expected a full URL but got a child path, use ref() instead.");try{q.TZ.makeFromUrl(di,this._delegate.host)}catch{throw(0,q.uj)("refFromUrl() expected a valid full URL but got an invali
1d one.")}return new ve((0,q.KR)(this._delegate,di),this)}setMaxUploadRetryTime(di){this._delegate.maxUploadRetryTime=di}setMaxOperationRetryTime(di){this._delegate.maxOperationRetryTime=di}useEmulator(di,ai,pi={}){(0,q.nb)(this._delegate,di,ai,pi)}}function Ut(Qn){return/^[A-Za-z]+:\/\//.test(Qn)}function qt(Qn,{instanceIdentifier:di}){const ai=Qn.getProvider("app-compat").getImmediate(),pi=Qn.getProvider("storage").getImmediate({identifier:di});return new at(ai,pi)}function Ot(Qn){const di=function We(Qn){return new Xe.c(di=>{const ai=rr=>di.next(rr);ai(Qn.snapshot);const ii=Qn.on("state_changed",ai);return Qn.then(rr=>{ai(rr),di.complete()},rr=>{ai(Qn.snapshot),(rr=>{di.error(rr)})(rr)}),function(){ii()}}).pipe((0,ge.B)(0))}(Qn);return{task:Qn,then:Qn.then.bind(Qn),catch:Qn.catch.bind(Qn),pause:Qn.pause.bind(Qn),cancel:Qn.cancel.bind(Qn),resume:Qn.resume.bind(Qn),snapshotChanges:()=>di,percentageChanges:()=>di.pipe((0,ue.T)(ai=>ai.bytesTransferred/ai.totalBytes*100))}}function Me(Qn,di){return{getDownloadURL:()=>(0,ze.of)(void 0).pipe((0,kt.Q)(di.get(Qe.u0).outsideAngular),(0,Je.n)(()=>Qn.getDownloadURL()),(0,Ge.YV)(di)),getMetadata:()=>(0,ze.of)(void 0).pipe((0,kt.Q)(di.get(Qe.u0).outsideAngular),(0,Je.n)(()=>Qn.getMetadata()),(0,Ge.YV)(di)),delete:()=>(0,Le.H)(Qn.delete()),child:ai=>Me(Qn.child(ai),di),updateMetadata:ai=>(0,Le.H)(Qn.updateMetadata(ai)),put:(ai,pi)=>Ot(Qn.put(ai,pi)),putString:(ai,pi,Vi)=>Ot(Qn.putString(ai,pi,Vi)),list:ai=>(0,Le.H)(Qn.list(ai)),listAll:()=>(0,Le.H)(Qn.listAll())}}!function Te(Qn){const di={TaskState:q.Ad,TaskEvent:q.xc,StringFormat:q.nw,Storage:at,Reference:ve};Qn.INTERNAL.registerComponent(new de.uA("storage-compat",qt,"PUBLIC").setServiceProps(di).setMultipleInstances(!0)),Qn.registerVersion("@firebase/storage-compat","0.3.24")}(lt.A),d(762);const It=new v.nKC("angularfire2.storageBucket"),Zt=new v.nKC("angularfire2.storage.maxUploadRetryTime"),ti=new v.nKC("angularfire2.storage.maxOperationRetryTime"),Wn=new v.nKC("angularfire2.storage.use-emulator");let mr=(()=>{class Qn{storage;injector=(0,v.WQX)(v.uvJ);constructor(ai,pi,Vi,ii,rr,Sn,ci,Un,fr,Vt){const un=(0,$e.iB)(ai,rr,pi);this.storage=(0,$e.BM)(`${un.name}.storage.${Vi}`,"AngularFireStorage",un.name,()=>{const Ae=rr.runOutsideAngular(()=>un.storage(Vi||void 0)),xe=fr;return xe&&Ae.useEmulator(...xe),ci&&Ae.setMaxUploadRetryTime(ci),Un&&Ae.setMaxOperationRetryTime(Un),Ae},[ci,Un])}ref(ai){return Me(this.storage.ref(ai),this.injector)}refFromURL(ai){return Me(this.storage.refFromURL(ai),this.injector)}upload(ai,pi,Vi){return Me(this.storage.ref(ai),this.injector).put(pi,Vi)}static \u0275fac=function(pi){return new(pi||Qn)(v.KVO($e.rx),v.KVO($e.uP,8),v.KVO(It,8),v.KVO(y.Agw),v.KVO(y.SKi),v.KVO(Qe.u0),v.KVO(Zt,8),v.KVO(ti,8),v.KVO(Wn,8),v.KVO(Ke.kR,8))};static \u0275prov=v.jDH({token:Qn,factory:Qn.\u0275fac,providedIn:"any"})}return Qn})();var Tn=d(5719),Yn=d(5416);let _=(()=>{var Qn;class di{constructor(pi,Vi,ii,rr){this.dialog=pi,this.storage=Vi,this.angularFireAuth=ii,this.snackBar=rr}getChatNotifyApiBaseUrl(){const pi="asia-east1",Vi=localStorage.getItem("project");if("localhost"===location.hostname){let rr="booking-8d1fc";return"s1"===Vi?rr="booking-s1":"test"===Vi&&(rr="booking-test-ed2be"),`http://localhost:5001/${rr}/${pi}/chatNotifyApp/api`}return`https://${pi}-${"booking-test-ed2be.web.app"===location.hostname?"booking-test-ed2be":"booking-8d1fc"}.cloudfunctions.net/chatNotifyApp/api`}postChatNotification(pi,Vi){var ii=this;return(0,o.A)(function*(){const rr=yield ii.angularFireAuth.currentUser;if(!rr)return void console.error(`chat notify skipped: no firebase user for ${pi}`);const Sn=yield rr.getIdToken(),ci=`${ii.getChatNotifyApiBaseUrl()}/${pi}`,Un=yield fetch(ci,{method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8",Authorization:`Bearer ${Sn}`},body:JSON.stringify({message:Vi})});if(!Un.ok)throw new Error(`chat notify failed: ${Un.status}`)})()}openSnackBar(pi,Vi="\u901a\u77e5",ii=3e3){return this.snackBar.open(pi,Vi,{duration:ii})}alert(pi,Vi){return this.dialogInfo({html:pi,redirect:Vi})}dialogInfo(pi){return this.dialog.open(ye,{width:"90%",maxWidth:500,data:pi})}dialogConfirm(pi){const Vi=this.dialog.open(B,{width:"90%",maxWidth:500,autoFocus:!1,data:pi});return(0,s.s)(Vi.afterClosed())}uploadSoruceFile(pi,Vi){var ii=this;return(0,o.A)(function*(){return(yield ii.storage.ref(Vi).put(pi)).ref.getDownloadURL()})()}uploadFile(pi,Vi){var ii=this;return(0,o.A)(function*(rr,Sn,ci=!0,Un=1e12){return new Promise(function(){var fr=(0,o.A)(function*(Vt,un){if
1(ci){const Ae=yield ii.imageResize(rr,Un);Vt((yield ii.storage.ref(Sn).putString(Ae,"data_url")).ref.getDownloadURL())}else{const Ae=yield ii.imageResize(rr,1e12);Vt((yield ii.storage.ref(Sn).putString(Ae,"data_url")).ref.getDownloadURL())}});return function(Vt,un){return fr.apply(this,arguments)}}())}).apply(this,arguments)}imageResize(pi,Vi=1e3){return new Promise((ii,rr)=>{const Sn=new FileReader;Sn.onload=ci=>{const Un=new Image;Un.onload=fr=>{const Vt=document.createElement("canvas");let un=Un.width,Ae=Un.height;un>Ae?un>Vi&&(Ae*=Vi/un,un=Vi):Ae>Vi&&(un*=Vi/Ae,Ae=Vi),Vt.width=un,Vt.height=Ae,Vt.getContext("2d").drawImage(Un,0,0,un,Ae);const z=Vt.toDataURL("image/png",1);ii(z)},Un.src=ci.target.result},Sn.readAsDataURL(pi)})}computeChecksumMd5(pi,Vi=!1){return new Promise((ii,rr)=>{const ci=new He.ArrayBuffer,Un=new FileReader;let fr=0;function Vt(un){const Ae=Math.min(pi.size,un+2097152);Un.readAsArrayBuffer(pi.slice(un,Ae))}Un.onerror=()=>{rr("MD5 computation failed - error reading the file")},Un.onload=un=>{ci.append(un.target.result),fr+=2097152,fr<pi.size?Vt(fr):ii(ci.end(Vi))},Vt(0)})}readImgPixel(pi){return new Promise((Vi,ii)=>{const rr=new FileReader;rr.onload=Sn=>{const ci=new Image;ci.src=Sn.target.result,ci.onload=Un=>{const fr=Un.currentTarget,Vt=fr.width,un=fr.height;console.log(Vt,un),Vi({width:Vt,height:un})}},rr.readAsDataURL(pi)})}isNum(pi){return!isNaN(pi)}clone(pi){return Mt.cloneDeep(pi)}chatGmbNotify(pi){this.postChatNotification("chat-gmb-notify",pi).catch(Vi=>{console.error("chatGmbNotify error:",Vi)})}deleteStorage(pi){return console.log("ref :>> ",pi),this.storage.ref(pi).delete()}removeDuplicatesByNestedKey(pi,Vi){const ii=(ci,Un)=>Un.split(".").reduce((fr,Vt)=>fr?.[Vt],ci),rr=new Set,Sn=[];for(const ci of pi){const Un=ii(ci,Vi);if(void 0!==Un){const fr="object"==typeof Un?JSON.stringify(Un):String(Un);rr.has(fr)||(rr.add(fr),Sn.push(ci))}else Sn.push(ci)}return Sn}static#e=Qn=()=>(this.\u0275fac=function(Vi){return new(Vi||di)(v.KVO(h.bZ),v.KVO(mr),v.KVO(Tn.DS),v.KVO(Yn.UG))},this.\u0275prov=v.jDH({token:di,factory:di.\u0275fac,providedIn:"root"}))}return Qn(),di})()},9923(tn,Ye,d){"use strict";d.d(Ye,{q:()=>T});var o=d(467),s=d(3207),h=d(1594),y=d(2615),v=d(5719);let T=(()=>{var M;class k{constructor(B){this.angularFireAuth=B}init(){var B=this;return(0,o.A)(function*(){return new Promise((x,ye)=>{B.angularFireAuth.user.subscribe(He=>{B.user=He,x(B.user)})})})()}getAuthHeaders(){var B=this;return(0,o.A)(function*(){return{headers:{"Content-Type":"application/json",Authorization:`Bearer ${yield(yield(0,s.s)(B.angularFireAuth.user.pipe((0,h.$)()))).getIdToken(!0)}`}}})()}static#e=M=()=>(this.\u0275fac=function(x){return new(x||k)(y.KVO(v.DS))},this.\u0275prov=y.jDH({token:k,factory:k.\u0275fac,providedIn:"root"}))}return M(),k})()},8178(tn,Ye,d){"use strict";d.d(Ye,{B:()=>Ue});var o=d(2615),s=d(177),h=d(3664),y=d(5407),v=d(6601),T=d(9253),M=d(5719),k=d(3236),H=d(1985),B=d(8455),x=d(7673),ye=d(9079),He=d(9172),Mt=d(3946),Ge=d(6354),Qe=d(2816),Xe=d(3294),ze=d(5964),ge=(d(5046),d(9574)),ue=d(1526),kt=d(1871),Je=d(8779);function lt(Tt,fe){if(void 0===fe)return{merge:!1};if(void 0!==fe.mergeFields&&void 0!==fe.merge)throw new ue.W6("invalid-argument",`Invalid options passed to function ${Tt}(): You cannot specify both "merge" and "mergeFields".`);return fe}function q(){if(typeof Uint8Array>"u")throw new ue.W6("unimplemented","Uint8Arrays are not available in this environment.")}function de(){if(!(0,ue.qG)())throw new ue.W6("unimplemented","Blobs are unavailable in Firestore in this environment.")}class ae{constructor(fe){this._delegate=fe}static fromBase64String(fe){return de(),new ae(ue.Ix.fromBase64String(fe))}static fromUint8Array(fe){return q(),new ae(ue.Ix.fromUint8Array(fe))}toBase64(){return de(),this._delegate.toBase64()}toUint8Array(){return q(),this._delegate.toUint8Array()}isEqual(fe){return this._delegate.isEqual(fe._delegate)}toString(){return"Blob(base64: "+this.toBase64()+")"}}function he(Tt){return function Ne(Tt,fe){if("object"!=typeof Tt||null===Tt)return!1;const we=Tt;for(const _e of fe)if(_e in we&&"function"==typeof we[_e])return!0;return!1}(Tt,["next","error","complete"])}class ve{enableIndexedDbPersistence(fe,we){return(0,ue.ol)(fe._delegate,{forceOwnership:we})}enableMultiTabIndexedDbPersistence(fe){return(0,ue.Q5)(fe._delegate)}clearIndexedDbPersistence(fe){return(0,ue.me)(fe._delegate)}}class at{constructor(fe,we,_e){this._delegate=we,this._persistenceProvider=_e,this.INTERNAL={delete:()=>this.terminate()},fe instanceof ue.cm||(this._appCompat=fe)}get _databaseId(){return this._delegate._databaseId}settings(fe){const we=this._delegate._getSettings();!fe.merge&&we.host!==fe.host&&(0,ue.qi)("You are overriding the original host. If you did not intend to override your settings, use {merge: true}."),fe.merge&&delete(fe=Object.assign(Object.assign({},we),fe)).merge,this._delegate._setSettings(fe)}useEmulator(fe,we,_e={}){(0,ue.vN)(this._delegate,fe,we,_e)}
1enableNetwork(){return(0,ue.Os)(this._delegate)}disableNetwork(){return(0,ue.LA)(this._delegate)}enablePersistence(fe){let we=!1,_e=!1;return fe&&(we=!!fe.synchronizeTabs,_e=!!fe.experimentalForceOwningTab,(0,ue.c8)("synchronizeTabs",we,"experimentalForceOwningTab",_e)),we?this._persistenceProvider.enableMultiTabIndexedDbPersistence(this):this._persistenceProvider.enableIndexedDbPersistence(this,_e)}clearPersistence(){return this._persistenceProvider.clearIndexedDbPersistence(this)}terminate(){return this._appCompat&&(this._appCompat._removeServiceInstance("firestore-compat"),this._appCompat._removeServiceInstance("firestore")),this._delegate._delete()}waitForPendingWrites(){return(0,ue.iB)(this._delegate)}onSnapshotsInSync(fe){return(0,ue.FC)(this._delegate,fe)}get app(){if(!this._appCompat)throw new ue.W6("failed-precondition","Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._appCompat}collection(fe){try{return new We(this,(0,ue.rJ)(this._delegate,fe))}catch(we){throw Pe(we,"collection()","Firestore.collection()")}}doc(fe){try{return new Te(this,(0,ue.H9)(this._delegate,fe))}catch(we){throw Pe(we,"doc()","Firestore.doc()")}}collectionGroup(fe){try{return new je(this,(0,ue.Cs)(this._delegate,fe))}catch(we){throw Pe(we,"collectionGroup()","Firestore.collectionGroup()")}}runTransaction(fe){return(0,ue.c4)(this._delegate,we=>fe(new cn(this,we)))}batch(){return(0,ue.Ws)(this._delegate),new hn(new ue.GA(this._delegate,fe=>(0,ue.z6)(this._delegate,fe)))}loadBundle(fe){return(0,ue.po)(this._delegate,fe)}namedQuery(fe){return(0,ue.St)(this._delegate,fe).then(we=>we?new je(this,we):null)}}class Ut extends ue.fS{constructor(fe){super(),this.firestore=fe}convertBytes(fe){return new ae(new ue.Ix(fe))}convertReference(fe){const we=this.convertDocumentKey(fe,this.firestore._databaseId);return Te.forKey(we,this.firestore,null)}}class cn{constructor(fe,we){this._firestore=fe,this._delegate=we,this._userDataWriter=new Ut(fe)}get(fe){const we=Ot(fe);return this._delegate.get(we).then(_e=>new Ie(this._firestore,new ue.Wq(this._firestore._delegate,this._userDataWriter,_e._key,_e._document,_e.metadata,we.converter)))}set(fe,we,_e){const L=Ot(fe);return _e?(lt("Transaction.set",_e),this._delegate.set(L,we,_e)):this._delegate.set(L,we),this}update(fe,we,_e,...L){const j=Ot(fe);return 2===arguments.length?this._delegate.update(j,we):this._delegate.update(j,we,_e,...L),this}delete(fe){const we=Ot(fe);return this._delegate.delete(we),this}}class hn{constructor(fe){this._delegate=fe}set(fe,we,_e){const L=Ot(fe);return _e?(lt("WriteBatch.set",_e),this._delegate.set(L,we,_e)):this._delegate.set(L,we),this}update(fe,we,_e,...L){const j=Ot(fe);return 2===arguments.length?this._delegate.update(j,we):this._delegate.update(j,we,_e,...L),this}delete(fe){const we=Ot(fe);return this._delegate.delete(we),this}commit(){return this._delegate.commit()}}class qt{constructor(fe,we,_e){this._firestore=fe,this._userDataWriter=we,this._delegate=_e}fromFirestore(fe,we){const _e=new ue.YQ(this._firestore._delegate,this._userDataWriter,fe._key,fe._document,fe.metadata,null);return this._delegate.fromFirestore(new ie(this._firestore,_e),we??{})}toFirestore(fe,we){return we?this._delegate.toFirestore(fe,we):this._delegate.toFirestore(fe)}static getInstance(fe,we){const _e=qt.INSTANCES;let L=_e.get(fe);L||(L=new WeakMap,_e.set(fe,L));let j=L.get(we);return j||(j=new qt(fe,new Ut(fe),we),L.set(we,j)),j}}qt.INSTANCES=new WeakMap;class Te{constructor(fe,we){this.firestore=fe,this._delegate=we,this._userDataWriter=new Ut(fe)}static forPath(fe,we,_e){if(fe.length%2!=0)throw new ue.W6("invalid-argument",`Invalid document reference. Document references must have an even number of segments, but ${fe.canonicalString()} has ${fe.length}`);return new Te(we,new ue.T1(we._delegate,_e,new ue.K$(fe)))}static forKey(fe,we,_e){return new Te(we,new ue.T1(we._delegate,_e,fe))}get id(){return this._delegate.id}get parent(){return new We(this.firestore,this._delegate.parent)}get path(){return this._delegate.path}collection(fe){try{return new We(this.firestore,(0,ue.rJ)(this._delegate,fe))}catch(we){throw Pe(we,"collection()","DocumentReference.collection()")}}isEqual(fe){return(fe=(0,kt.Ku)(fe))instanceof ue.T1&&(0,ue.yx)(this._delegate,fe)}set(fe,we){we=lt("DocumentReference.set",we);try{return we?(0,ue.BN)(this._delegate,fe,we):(0,ue.BN)(this._delegate,fe)}catch(_e){throw Pe(_e,"setDoc()","DocumentReference.set()")}}update(fe,we,..._e){try{return 1===arguments.length?(0,ue.mZ)(this._delegate,fe):(0,ue.mZ)(this._delegate,fe,we,..._e)}
1catch(L){throw Pe(L,"updateDoc()","DocumentReference.update()")}}delete(){return(0,ue.kd)(this._delegate)}onSnapshot(...fe){const we=yt(fe),_e=wt(fe,L=>new Ie(this.firestore,new ue.Wq(this.firestore._delegate,this._userDataWriter,L._key,L._document,L.metadata,this._delegate.converter)));return(0,ue.aQ)(this._delegate,we,_e)}get(fe){let we;return we="cache"===fe?.source?(0,ue.nY)(this._delegate):"server"===fe?.source?(0,ue._e)(this._delegate):(0,ue.x7)(this._delegate),we.then(_e=>new Ie(this.firestore,new ue.Wq(this.firestore._delegate,this._userDataWriter,_e._key,_e._document,_e.metadata,this._delegate.converter)))}withConverter(fe){return new Te(this.firestore,this._delegate.withConverter(fe?qt.getInstance(this.firestore,fe):null))}}function Pe(Tt,fe,we){return Tt.message=Tt.message.replace(fe,we),Tt}function yt(Tt){for(const fe of Tt)if("object"==typeof fe&&!he(fe))return fe;return{}}function wt(Tt,fe){var we,_e;let L;return L=he(Tt[0])?Tt[0]:he(Tt[1])?Tt[1]:"function"==typeof Tt[0]?{next:Tt[0],error:Tt[1],complete:Tt[2]}
1:{next:Tt[1],error:Tt[2],complete:Tt[3]},{next:j=>{L.next&&L.next(fe(j))},error:null===(we=L.error)||void 0===we?void 0:we.bind(L),complete:null===(_e=L.complete)||void 0===_e?void 0:_e.bind(L)}}class Ie{constructor(fe,we){this._firestore=fe,this._delegate=we}get ref(){return new Te(this._firestore,this._delegate.ref)}get id(){return this._delegate.id}get metadata(){return this._delegate.metadata}get exists(){return this._delegate.exists()}data(fe){return this._delegate.data(fe)}get(fe,we){return this._delegate.get(fe,we)}isEqual(fe){return(0,ue.lN)(this._delegate,fe._delegate)}}class ie extends Ie{data(fe){const we=this._delegate.data(fe);return this._delegate._converter||(0,ue.bI)(void 0!==we,"Document in a QueryDocumentSnapshot should exist"),we}}class je{constructor(fe,we){this.firestore=fe,this._delegate=we,this._userDataWriter=new Ut(fe)}where(fe,we,_e){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue._M)(fe,we,_e)))}catch(L){throw Pe(L,/(orderBy|where)\(\)/,"Query.$1()")}}orderBy(fe,we){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.My)(fe,we)))}catch(_e){throw Pe(_e,/(orderBy|where)\(\)/,"Query.$1()")}}limit(fe){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.AB)(fe)))}catch(we){throw Pe(we,"limit()","Query.limit()")}}limitToLast(fe){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.$1)(fe)))}catch(we){throw Pe(we,"limitToLast()","Query.limitToLast()")}}startAt(...fe){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.EO)(...fe)))}catch(we){throw Pe(we,"startAt()","Query.startAt()")}}startAfter(...fe){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.HM)(...fe)))}catch(we){throw Pe(we,"startAfter()","Query.startAfter()")}}endBefore(...fe){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.rf)(...fe)))}catch(we){throw Pe(we,"endBefore()","Query.endBefore()")}}endAt(...fe){try{return new je(this.firestore,(0,ue.P)(this._delegate,(0,ue.FD)(...fe)))}catch(we){throw Pe(we,"endAt()","Query.endAt()")}}isEqual(fe){return(0,ue.B)(this._delegate,fe._delegate)}get(fe){let we;return we="cache"===fe?.source?(0,ue.kU)(this._delegate):"server"===fe?.source?(0,ue.Rr)(this._delegate):(0,ue.GG)(this._delegate),we.then(_e=>new Ze(this.firestore,new ue.NJ(this.firestore._delegate,this._userDataWriter,this._delegate,_e._snapshot)))}onSnapshot(...fe){const we=yt(fe),_e=wt(fe,L=>new Ze(this.firestore,new ue.NJ(this.firestore._delegate,this._userDataWriter,this._delegate,L._snapshot)));return(0,ue.aQ)(this._delegate,we,_e)}withConverter(fe){return new je(this.firestore,this._delegate.withConverter(fe?qt.getInstance(this.firestore,fe):null))}}class rt{constructor(fe,we){this._firestore=fe,this._delegate=we}get type(){return this._delegate.type}get doc(){return new ie(this._firestore,this._delegate.doc)}get oldIndex(){return this._delegate.oldIndex}get newIndex(){return this._delegate.newIndex}}class Ze{constructor(fe,we){this._firestore=fe,this._delegate=we}get query(){return new je(this._firestore,this._delegate.query)}get metadata(){return this._delegate.metadata}get size(){return this._delegate.size}get empty(){return this._delegate.empty}get docs(){return this._delegate.docs.map(fe=>new ie(this._firestore,fe))}docChanges(fe){return this._delegate.docChanges(fe).map(we=>new rt(this._firestore,we))}forEach(fe,we){this._delegate.forEach(_e=>{fe.call(we,new ie(this._firestore,_e))})}isEqual(fe){return(0,ue.lN)(this._delegate,fe._delegate)}}class We extends je{constructor(fe,we){super(fe,we),this.firestore=fe,this._delegate=we}get id(){return this._delegate.id}get path(){return this._delegate.path}get parent(){const fe=this._delegate.parent;return fe?new Te(this.firestore,fe):null}doc(fe){try{return new Te(this.firestore,void 0===fe?(0,ue.H9)(this._delegate):(0,ue.H9)(this._delegate,fe))}catch(we){throw Pe(we,"doc()","CollectionReference.doc()")}}add(fe){return(0,ue.gS)(this._delegate,fe).then(we=>new Te(this.firestore,we))}isEqual(fe){return(0,ue.yx)(this._delegate,fe._delegate)}withConverter(fe){return new We(this.firestore,this._delegate.withConverter(fe?qt.getInstance(this.firestore,fe):null))}}function Ot(Tt){return(0,ue.lo)(Tt,ue.T1)}class Me{constructor(...fe){this._delegate=new ue.uY(...fe)}static documentId(){return new Me(ue.FA.keyField().canonicalString())}isEqual(fe){return(fe=(0,kt.Ku)(fe))instanceof ue.uY&&this._delegate._internalPath.isEqual(fe._internalPath)}}class It{static serverTimestamp(){const fe=(0,ue.O5)();return fe._methodName="FieldValue.serverTimestamp",new It(fe)}static delete(){const fe=(0,ue.CL)();return fe._methodName="FieldValue.delete",new It(fe)}static arrayUnion(...fe){const we=(0,ue.hq)(...fe);return we._methodName="FieldValue.arrayUnion",new It(we)}static arrayRemove(...fe){const we=(0,ue.C3)(...fe);return we._methodName="FieldValue.arrayRemove",new It(we)}static increment(fe){const we=(0,ue.GV)(fe);return we._methodName="FieldValue.increment",new It(we)}constructor(fe){this._delegate=fe}isEqual(fe){return this._delegate.isEqual(fe._delegate)}}const Zt={Firestore:at,GeoPoint:ue.Ci,Timestamp:ue.Dc,Blob:ae,Transaction:cn,WriteBatch:hn,DocumentReference:Te,DocumentSnapshot:Ie,Query:je,QueryDocumentSnapshot:ie,QuerySnapsh
1ot:Ze,CollectionReference:We,FieldPath:Me,FieldValue:It,setLogLevel:function nt(Tt){(0,ue.He)(Tt)},CACHE_SIZE_UNLIMITED:ue.H6};function Yn(Tt,fe){return function Tn(Tt,fe=k.E){return new H.c(we=>{let _e;return null!=fe?fe.schedule(()=>{_e=Tt.onSnapshot({includeMetadataChanges:!0},we)}):_e=Tt.onSnapshot({includeMetadataChanges:!0},we),()=>{_e?.()}})}(Tt,fe)}function Qn(Tt,fe){return Yn(Tt,fe).pipe((0,Ge.T)(we=>({payload:we,type:"query"})))}!function Wn(Tt){(function ti(Tt,fe){Tt.INTERNAL.registerComponent(new Je.uA("firestore-compat",we=>{const _e=we.getProvider("app-compat").getImmediate(),L=we.getProvider("firestore").getImmediate();return fe(_e,L)},"PUBLIC").setServiceProps(Object.assign({},Zt)))})(Tt,(fe,we)=>new at(fe,we,new ve)),Tt.registerVersion("@firebase/firestore-compat","0.3.53")}(ge.A),d(762);class di{ref;afs;injector=(0,o.WQX)(o.uvJ);constructor(fe,we){this.ref=fe,this.afs=we}set(fe,we){return this.ref.set(fe,we)}update(fe){return this.ref.update(fe)}delete(){return this.ref.delete()}collection(fe,we){const _e=this.ref.collection(fe),{ref:L,query:j}=xe(_e,we);return new ci(L,j,this.afs)}snapshotChanges(){return function _(Tt,fe){return Yn(Tt,fe).pipe((0,He.Z)(void 0),(0,Mt.J)(),(0,Ge.T)(we=>{const[_e,L]=we;return L.exists?_e?.exists?{payload:L,type:"modified"}:{payload:L,type:"added"}:{payload:L,type:"removed"}}))}(this.ref,this.afs.schedulers.outsideAngular).pipe((0,ye.YV)(this.injector))}valueChanges(fe={}){return this.snapshotChanges().pipe((0,Ge.T)(({payload:we})=>fe.idField?{...we.data(),[fe.idField]:we.id}:we.data()))}get(fe){return(0,B.H)(this.ref.get(fe)).pipe((0,ye.YV)(this.injector))}}function ai(Tt,fe){return Qn(Tt,fe).pipe((0,He.Z)(void 0),(0,Mt.J)(),(0,Ge.T)(we=>{const[_e,L]=we,j=L.payload.docChanges(),X=j.map(qe=>({type:qe.type,payload:qe}));return _e&&JSON.stringify(_e.payload.metadata)!==JSON.stringify(L.payload.metadata)&&L.payload.docs.forEach((qe,Yt)=>{const On=j.find(Qi=>Qi.doc.ref.isEqual(qe.ref)),wi=_e?.payload.docs.find(Qi=>Qi.ref.isEqual(qe.ref));On&&JSON.stringify(On.doc.metadata)===JSON.stringify(qe.metadata)||!On&&wi&&JSON.stringify(wi.metadata)===JSON.stringify(qe.metadata)||X.push({type:"modified",payload:{oldIndex:Yt,newIndex:Yt,type:"modified",doc:qe}})}),X}))}function pi(Tt,fe,we){return ai(Tt,we).pipe((0,Qe.S)((_e,L)=>function Vi(Tt,fe,we){return fe.forEach(_e=>{we.indexOf(_e.type)>-1&&(Tt=function rr(Tt,fe){switch(fe.type){case"added":if(!Tt[fe.newIndex]?.doc.ref.isEqual(fe.doc.ref))return ii(Tt,fe.newIndex,0,fe);break;case"modified":if(null==Tt[fe.oldIndex]||Tt[fe.oldIndex].doc.ref.isEqual(fe.doc.ref)){if(fe.oldIndex!==fe.newIndex){const we=Tt.slice();return we.splice(fe.oldIndex,1),we.splice(fe.newIndex,0,fe),we}return ii(Tt,fe.newIndex,1,fe)}break;case"removed":if(Tt[fe.oldIndex]?.doc.ref.isEqual(fe.doc.ref))return ii(Tt,fe.oldIndex,1)}return Tt}(Tt,_e))}),Tt}(_e,L.map(j=>j.payload),fe),[]),(0,Xe.F)(),(0,Ge.T)(_e=>_e.map(L=>({type:L.type,payload:L}))))}function ii(Tt,fe,we,..._e){const L=Tt.slice();return L.splice(fe,we,..._e),L}function Sn(Tt){return(!Tt||0===Tt.length)&&(Tt=["added","removed","modified"]),Tt}class ci{ref;query;afs;injector=(0,o.WQX)(o.uvJ);constructor(fe,we,_e){this.ref=fe,this.query=we,this.afs=_e}stateChanges(fe){let we=ai(this.query,this.afs.schedulers.outsideAngular);return fe&&fe.length>0&&(we=we.pipe((0,Ge.T)(_e=>_e.filter(L=>fe.indexOf(L.type)>-1)))),we.pipe((0,He.Z)(void 0),(0,Mt.J)(),(0,ze.p)(([_e,L])=>L.length>0||!_e),(0,Ge.T)(([,_e])=>_e),(0,ye.YV)(this.injector))}auditTrail(fe){return this.stateChanges(fe).pipe((0,Qe.S)((we,_e)=>[...we,..._e],[]))}snapshotChanges(fe){const we=Sn(fe);return pi(this.query,we,this.afs.schedulers.outsideAngular).pipe((0,ye.YV)(this.injector))}valueChanges(fe={}){return Qn(this.query,this.afs.schedulers.outsideAngular).pipe((0,Ge.T)(we=>we.payload.docs.map(_e=>fe.idField?{..._e.data(),[fe.idField]:_e.id}:_e.data())),(0,ye.YV)(this.injector))}get(fe){return(0,B.H)(this.query.get(fe)).pipe((0,ye.YV)(this.injector))}add(fe){return this.ref.add(fe)}doc(fe){return new di(this.ref.doc(fe),this.afs)}}class Un{query;afs;injector=(0,o.WQX)(o.uvJ);constructor(fe,we){this.query=fe,this.afs=we}stateChanges(fe){return fe&&0!==fe.length?ai(this.query,this.afs.schedulers.outsideAngular).pipe((0,Ge.T)(we=>we.filter(_e=>fe.indexOf(_e.type)>-1)),(0,ze.p)(we=>we.length>0),(0,ye.YV)(this.injector)):ai(this.query,this.afs.schedulers.outsideAngular).pipe((0,ye.YV)(this.injector))}auditTrail(fe){return this.stateChanges(fe).pipe((0,Qe.S)((we,_e)=>[...we,..._e],[]))}
1snapshotChanges(fe){const we=Sn(fe);return pi(this.query,we,this.afs.schedulers.outsideAngular).pipe((0,ye.YV)(this.injector))}valueChanges(fe={}){return Qn(this.query,this.afs.schedulers.outsideAngular).pipe((0,Ge.T)(_e=>_e.payload.docs.map(L=>fe.idField?{[fe.idField]:L.id,...L.data()}:L.data())),(0,ye.YV)(this.injector))}get(fe){return(0,B.H)(this.query.get(fe)).pipe((0,ye.YV)(this.injector))}}const fr=new o.nKC("angularfire2.enableFirestorePersistence"),Vt=new o.nKC("angularfire2.firestore.persistenceSettings"),un=new o.nKC("angularfire2.firestore.settings"),Ae=new o.nKC("angularfire2.firestore.use-emulator");function xe(Tt,fe=we=>we){return{query:fe(Tt),ref:Tt}}let z=(()=>{class Tt{schedulers;firestore;persistenceEnabled$;ngZone=(0,o.WQX)(h.SKi);constructor(we,_e,L,j,X,qe,Yt,On,wi,Qi,Tr,Er,_n,an,Pt,ke,De){this.schedulers=Yt;const _t=(0,T.iB)(we,qe,_e),et=wi;Qi&&(0,M.gF)(_t,qe,Tr,_n,an,Pt,Er,ke),[this.firestore,this.persistenceEnabled$]=(0,T.BM)(`${_t.name}.firestore`,"AngularFirestore",_t.name,()=>{const Rn=qe.runOutsideAngular(()=>_t.firestore());if(j&&Rn.settings(j),et&&Rn.useEmulator(...et),L&&!(0,s.Vy)(X)){const Zn=()=>{try{return(0,B.H)(Rn.enablePersistence(On||void 0).then(()=>!0,()=>!1))}catch(gt){return typeof console<"u"&&console.warn(gt),(0,x.of)(!1)}};return[Rn,qe.runOutsideAngular(Zn)]}return[Rn,(0,x.of)(!1)]},[j,et,L])}collection(we,_e){let L;L="string"==typeof we?this.firestore.collection(we):we;const{ref:j,query:X}=xe(L,_e),qe=this.ngZone.run(()=>j);return new ci(qe,X,this)}collectionGroup(we,_e){const L=_e||(X=>X),j=this.firestore.collectionGroup(we);return new Un(L(j),this)}doc(we){let _e;_e="string"==typeof we?this.firestore.doc(we):we;const L=this.ngZone.run(()=>_e);return new di(L,this)}createId(){return this.firestore.collection("_").doc().id}static \u0275fac=function(_e){return new(_e||Tt)(o.KVO(T.rx),o.KVO(T.uP,8),o.KVO(fr,8),o.KVO(un,8),o.KVO(h.Agw),o.KVO(h.SKi),o.KVO(y.u0),o.KVO(Vt,8),o.KVO(Ae,8),o.KVO(M.DS,8),o.KVO(M.CP,8),o.KVO(M.yy,8),o.KVO(M.ZP,8),o.KVO(M.$z,8),o.KVO(M.AU,8),o.KVO(M.UB,8),o.KVO(v.kR,8))};static \u0275prov=o.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"any"})}return Tt})();var Ce=d(5416);let Ue=(()=>{var Tt;class fe{constructor(_e,L){this.firestore=_e,this.snackBar=L,this.isLocal=!1,this.getCurrnetProject(),location.hostname.endsWith("beta.apiplus.tw")&&(console.log("FiresotreService set localhost"),_e.firestore.settings({host:"localhost:8080",ssl:!1}))}getCurrnetProject(){return localStorage.getItem("project")}static#e=Tt=()=>(this.\u0275fac=function(L){return new(L||fe)(o.KVO(z),o.KVO(Ce.UG))},this.\u0275prov=o.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"}))}return Tt(),fe})()},5177(tn,Ye,d){"use strict";d.d(Ye,{b:()=>h});var o=d(2615),s=d(4441);let h=(()=>{var y;class v{constructor(M){this.functions=M,this.urlWebhook="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/webhook",this.urlEmailService="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/emailService",this.microbee="https://us-central1-booking-8d1fc.cloudfunctions.net/microbee-http",this.orderService="https://us-central1-booking-8d1fc.cloudfunctions.net/orderService-http",this.adminApp="https://us-central1-booking-8d1fc.cloudfunctions.net/adminApp-http",this.linepush="https://us-central1-booking-8d1fc.cloudfunctions.net/linePush-api",this.linebotService="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/linebotService-http",this.locationV1App="https://us-central1-booking-8d1fc.cloudfunctions.net/locationV1App-http/gmb/v1",this.lafreshApp="https://us-central1-booking-8d1fc.cloudfunctions.net/lafreshApp-http",this.lineChannelApp="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/lineChannelApp-http",this.contractApp="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/contractApp-http",this.bananasApp="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/bananasApp-http",this.koinApp="https://asia-northeast1-booking-8d1fc.cloudfunctions.net/koinApp-http",this.bananasGmbio="https://mapsbooking.com/api/bananas",this.theoneUrl="https://mapsbooking.com/theone";const k=localStorage.getItem("project");("localhost"===location.hostname||location.hostname.endsWith("beta.apiplus.tw"))&&(M.useEmulator("localhost",5001),("local"===k||null==k)&&(this.urlWebhook="http://localhost:5001/booking-8d1fc/asia-northeast1/webhook",this.urlEmailService="http://localhost:5001/booking-8d1fc/asia-northeast1/emailService",this.microbee="http://localhost:5001/booking-8d1fc/us-central1/microbee-http",this.orderService="http://localhost:5001/booking-8d1fc/us-central1/orderService-http",this.adminApp="http://localhost:5001/booking-8d1fc/us-central1/adminApp-http",this.linepush="http://localhost:5001/booking-8d1fc/us-central1/linePush-api",this.linebotService="http://localhost:5001/booking-8d1fc/asia-northeast1/linebotService-http",this.locationV1App="http://localhost:5001/booking-8d1fc/us-central1/locationV1App-http/gmb/v1",this.lafreshApp="http://localhost:5001/booking-8d1fc/us-central1/lafreshApp-http",this.lineChannelApp="http://localhost:5001/booking-8d1fc/asia-northeast1/lineChannelApp-http",this.contractApp="http://localhost:5001/booking-8d1fc/asia-northeast1/contractApp-http",this.bananasApp="http://localhost:5001/booking-8d1fc/asia-northeast1/bananasApp-http",this.koinApp="http://localhost:5001/booking-8d1fc/asia-northeast1/koinApp-http",this.bananasGmbio="http://localhost:8090/api/bananas",this.theoneUrl="http://localhost:9091/theone"),"s1"===k&&(this.urlWebhook="http://localhost:5001/booking-s1/asia-northeast1/webhook",this.urlEmailService="http://localhost:5001/booking-s1/asia-northeast1/emailService",this.microbee="http://localhost:5001/booking-s1/us-central1/microbee-http",this.orderService="http://localhost:5001/booking-s1/us-central1/orderService-http",this.linebotService="http://localhost:5001/booking-s1/asia-northeast1/linebotService-http",this.locationV1App="http://localhost:5001/booking-8d1fc/us-central1/locationV1App-http/gmb/v1",this.lafreshApp="http://localhost:5001/booking-8d1fc/us-central1/lafreshApp-http",this.contractApp="http://localhost:5001/booking-8d1fc/us-central1/contractApp-http",this.bananasApp="http://localhost:5001/booking-8d1fc/us-central1/bananasApp-http"),"test"===k&&(this.urlWebhook="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/webhook",this.urlEmailService="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/emailService",this.microbee="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/microbee-http",this.orderService="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/orderService-http",this.adminApp="https://us-central1-booking-test-ed2be.cloudfunctions.net/adminApp-http",this.linepush="https://us-central1-booking-test-ed2be.cloudfunctions.net/linePush-api",this.linebotService="https://us-central1-booking-test-ed2be.cloudfunctions.net/linebotService-http",this.locationV1App="https://us-central1-booking-test-ed2be.cloudfunctions.net/locationV1App-http/gmb/v1",this.lineChannelApp="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/lineChannelApp-http",this.contractApp="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/contractApp-http",this.bananasApp="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/bananasApp-http")),"booking-test-ed2be.web.app"===location.hostname&&(this.urlWebhook="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/webhook",this.urlEmailService="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/emailService",this.microbee="https://us-central1-booking-test-ed2be.cloudfunctions.net/microbee-http",this.orderService="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/orderService-http",this.adminApp="https://us-central1-booking-test-ed2be.cloudfunctions.net/adminApp-http",this.linepush="https://us-central1-booking-test-ed2be.cloudfunctions.net/linePush-api",this.linebotService="https://us-central1-booking-test-ed2be.cloudfunctions.net/linebotService-http",this.locationV1App="https://us-central1-booking-test-ed2be.cloudfunctions.net/locationV1App-http/gmb/v1",this.lafreshApp="https://us-central1-booking-8d1fc.cloudfunctions.net/lafreshApp-http",this.lineChannelApp="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/lineChannelApp-http",this.contractApp="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/contractApp-http",this.bananasApp="https://asia-northeast1-booking-test-ed2be.cloudfunctions.net/bananasApp-http")}static#e=y=()=>(this.\u0275fac=function(k){return new(k||v)(o.KVO(s.s))},this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return y(),v})()},843(tn,Ye,d){"use strict";d.d(Ye,{T:()=>Ke});var o=d(467),s=d(4412),h=d(3207),y=d(1985),v=d(6354),T=d(5558),M=d(1547),k=d(7586),B=d(5312),x=d(2615),ye=d(9330),He=d(8178),Mt=d(51
177),Ge=d(9923),Qe=d(6035),Xe=d(6554),ze=d(345),Le=d(7673),ge=d(8455),ue=d(9437);const kt=$e=>(console.error("API Error:",$e),(0,Le.of)({result:!1,message:$e.message||"An error occurred",data:null}));let Je=(()=>{var $e;class lt{constructor(de,ae,he){this.http=de,this.functionService=ae,this.auth=he,this.theoneUrl=this.functionService.theoneUrl}getBananasUser(de,ae,he){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(Ne=>this.http.get(`${this.theoneUrl}/rpc/bananas/customer/userGet/${de}/${ae}/${he}`,{...Ne,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}createBananasUser(de,ae,he){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(Ne=>this.http.post(`${this.theoneUrl}/rpc/bananas/customer/userCreate/${de}/${ae}`,{bananasUser:he},{...Ne,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}getRebateList(de,ae){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(he=>this.http.post(`${this.theoneUrl}/rpc/bananas/rebateList`,{banans_customer_id:de,banans_customer_refresh_token:ae},{...he,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}giftRebate(de,ae,he,Ne){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(ve=>this.http.post(`${this.theoneUrl}/rpc/bananas/user/gift/rebate`,{user_id:de,rebate_id:ae,banans_customer_id:he,banans_customer_refresh_token:Ne},{...ve,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}usedRebate(de,ae,he,Ne){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(ve=>this.http.post(`${this.theoneUrl}/rpc/bananas/user/used/rebate`,{user_id:de,rebate_id:ae,banans_customer_id:he,banans_customer_refresh_token:Ne},{...ve,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}giftAccount(de){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(ae=>this.http.post(`${this.theoneUrl}/rpc/koin/account/gift`,de,{...ae,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}giftAccountConsume(de){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(ae=>this.http.post(`${this.theoneUrl}/rpc/koin/account/consume`,de,{...ae,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}giftAccountRemain(de){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(ae=>this.http.post(`${this.theoneUrl}/rpc/koin/account/remain`,de,{...ae,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))))}getUserRebateList(de,ae,he,Ne,ve){return(0,ge.H)(this.auth.getAuthHeaders()).pipe((0,T.n)(at=>{console.log("getUserRebateList linebotId:>> ",de);const Ut=`bananas/rebate/userList/${de}/${he}`,nt=new ye.Lr({"Content-Type":"application/json",...at.headers});return this.http.post(`${this.theoneUrl}/${Ut}`,{user_id:Ne,access_token:ae,apiUrl:ve},{headers:nt,observe:"body",responseType:"json"}).pipe((0,ue.W)(kt))}))}static#e=$e=()=>(this.\u0275fac=function(ae){return new(ae||lt)(x.KVO(ye.Qq),x.KVO(Mt.b),x.KVO(Ge.q))},this.\u0275prov=x.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"}))}return $e(),lt})(),Ke=(()=>{var $e;class lt{constructor(de,ae,he,Ne,ve,at,Ut,nt,cn){this.http=de,this.db=ae,this.functionService=he,this.auth=Ne,this.commonService=ve,this.spinner=at,this.functionsService=Ut,this.titleService=nt,this.theoneService=cn,this.title="Site",this.mode="prod",this.origin="https://customize-site.web.app",this.apiUrl="https://bananas-gateway-nyd76tjjeq-de.a.run.app",this.RootPath="/",this.lineChannelAppUrl=this.functionService.lineChannelApp,this.bananasAppUrl=this.functionService.bananasApp,this.koinAppUrl=this.functionService.koinApp,this.gmbioLineAPI="https://mapsbooking.com/api/line",this.gmbioSiteAPI="https://mapsbooking.com/api/site",this.line_accessUrl="https://access.line.me/oauth2/v2.1",this.line_oauth2Url="https://api.line.me/oauth2/v2.1",this.line_meUrl="https://api.line.me/v2",this.theoneUrl=this.functionService.theoneUrl,this.lineLogingUrl="https://cloudrun-54680679605.asia-east1.run.app/lineLogin/linebots",this.userInfo={phone:"",name:"",email:"",birthday:"",birthYear:0,birthMonth:0,isJoin:!1,address:{CityName:"",ZipCode:"",AreaName:"",AddressLine:""}},this.linebotId=B.c.lineBot.id,this.quantity=0,this.UsedQuantity=0,this.UsedUsed=0,this.coupons=[],("localhost"===location.hostname||location.hostname.endsWith("beta.apiplus.tw"))&&(this.gmbioLineAPI="http://localhost:8090/api/line",this.gmbioSiteAPI="http://localhost:8090/api/site",this.lineLogingUrl="http://localhost:8088/lineLogin/linebots"),this.title$=new s.t(this.title),this.title$.subscribe(hn=>{"Site"!==hn&&this.titleService.setTitle(hn)})}storageGet(de){return localStorage.getItem(`${this.linebotId}_${de}`)}storageSet(de,ae){localStorage.setItem(`${this.linebotId}_${de}`,ae)}storageRemove(de){localStorage.removeItem(`${this.linebotId}_${de}`)}memberLogout(){this.storageRemove("user"),this.storageRemove("bananas"),this.storageRemove(M.m.CARTNAME),this.lineUser=void 0,this.loginUser=void 0,window.location.href=this.lineBot.loginInfo.site_url}getLINEBot(de){var ae=this;return(0,o.A)(function*(){if(ae.lineBot)return ae.lineBot;try{const he=yield ae.db.firestore.firestore.collection("linebots").doc(de).get();if(ae.lineBot=he.data(),!ae.lineBot)return;if(!ae.lineBot.contractId||!ae.lineBot.brandId)return ae.lineBot;const ve=(yield ae.db.firestore.firestore.collection(`/contracts/${ae.lineBot.contractId}/brands`).doc(ae.lineBot.brandId).get()).data();return ae.banans_customer_access_token=ve.bananas.access_token,ae.banans_customer_id=ve.bananas.customer_id,ae.banans_customer_refresh_token=ve.bananas.refresh_token,ae.koin_customer_id=ve.koin.customer_id,ae.koin_refresh_token=ve.koin.refresh_token,ae.contractId=ae.lineBot.contractId,ae.lineBot}catch(he){return void console.error("Error in getLINEBot:",he)}})()}getContract(de){var ae=this;return(0,o.A)(function*(){const Ne=(yield ae.db.firestore.firestore.collection("/contracts/").doc(de).get()).data();return ae.contract=Ne,Ne})()}setLoginUser(de,ae){var he=this;return(0,o.A)(function*(){return new Promise(function(){var Ne=(0,o.A)(function*(ve,at){const Ut=he.db.firestore.firestore.collection(`/linebots/${de}/users`).doc(ae.userId),nt=yield Ut.get();if(nt.exists)he.loginUser=nt.data(),yield nt.ref.set({profile:ae},{merge:!0}),ve(he.loginUser);else{const cn={uid:ae.userId,profile:ae,tags:[],created_at:k().valueOf()};he.loginUser=cn,yield Ut.set(cn,{merge:!0}),ve(he.loginUser)}});return function(ve,at){return Ne.apply(this,arguments)}}())})()}LINEBotLoginUserSet(de,ae){var he=this;return(0,o.A)(function*(){if(he.loginUser=yield he.setLoginUser(de,ae),he.loginUser.bananas)he.SaveBananasInfo(he.loginUser.bananas),he.activityMapsBookingMemberGift(he.banans_customer_id,he.banans_customer_refresh_token,he.loginUser.bananas,he.registerBackUrl).then(Ne=>console.log("[activityMapsBookingMemberGift] ",Ne));else{const Ne=he.loginUser.uid,ve={platform_id:Ne,platform:3,name:he.loginUser.profile.displayName,phone:"",email:""};(yield he.createBananasUser(he.linebotId,Ne,ve)).subscribe(function(){var Ut=(0,o.A)(function*(nt){nt.result?(he.SaveBananasInfo(nt.data),he.activityMapsBookingMemberGift(he.banans_customer_id,he.banans_customer_refresh_token,nt.data,he.registerBackUrl)):console.log(nt)});return function(nt){return Ut.apply(this,arguments)}}())}})()}UserInfoSet(de,ae){var he=this;const Ne=JSON.parse(this.storageGet("user"));return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){const nt=yield he.db.firestore.firestore.collection(`/linebots/${de}/users`).doc(Ne.userId).get();nt.exists?(yield nt.ref.set({info:ae},{merge:!0}),at(!0)):at(!1)});return function(at,Ut){return ve.apply(this,arguments)}}())}memberCheckRegular(de,ae){var he=this;return new Promise(function(){var Ne=(0,o.A)(function*(ve){const at=JSON.parse(he.storageGet("user"));if(ae){const Ut=yield he.db.firestore.firestore.collection(`/linebots/${de}/earnestfarmUserImport`).doc(ae).get();if(Ut.exists){const cn=Ut.data();if(1===cn.check)he.commonService.alert("\u820a\u6703\u54e1\u78ba\u8a8d\u5df2\u5b8c\u6210");else{const hn={clientId:he.koin_customer_id,refresh_token:he.koin_refresh_token,specify_id:at.userId,quantity:Number(cn.bonus_total)};
1yield(0,h.s)(he.theoneService.giftAccount(hn)),yield Ut.ref.set({check:1},{merge:!0}),he.commonService.alert("\u820a\u6703\u54e1\u78ba\u8a8d\u5df2\u5b8c\u6210")}return void ve(!0)}const nt=yield he.db.firestore.firestore.collection(`/linebots/${de}/earnestfarmUserImport`).where("cell_phone","==",ae).get();if(0==nt.size)return he.commonService.alert("\u67e5\u7121\u820a\u6703\u54e1\u9ede\u6578\u8cc7\u6599"),void ve(!0);for(const cn of nt.docs){const hn=cn.data();if(1===hn.check)he.commonService.alert("\u820a\u6703\u54e1\u78ba\u8a8d\u5df2\u5b8c\u6210");else{yield cn.ref.set({check:1},{merge:!0});const qt={clientId:he.koin_customer_id,refresh_token:he.koin_refresh_token,specify_id:at.userId,quantity:Number(hn.bonus_total)};yield(0,h.s)(he.theoneService.giftAccount(qt))}}return void ve(!0)}he.commonService.alert("\u8acb\u8f38\u5165\u624b\u6a5f\u865f\u78bc\u6216Email"),ve(!0)});return function(ve){return Ne.apply(this,arguments)}}())}SaveBananasInfo(de){this.storageSet("bananas",JSON.stringify(de))}callback(de){var ae=this;return new Promise(function(){var he=(0,o.A)(function*(Ne,ve){ae.http.post(`${ae.lineLogingUrl}/${ae.linebotId}`,{code:de}).subscribe(at=>{Ne(at)})});return function(Ne,ve){return he.apply(this,arguments)}}())}getUserInfo(de){var ae=this;return(0,o.A)(function*(){const he=JSON.parse(ae.storageGet("user"));if(!he){const Ne=yield ae.getLINEBot(de);return void window.location.replace(Ne.loginInfo.site_url)}return new Promise(function(){var Ne=(0,o.A)(function*(ve,at){const Ut=yield ae.db.firestore.firestore.collection(`/linebots/${de}/users`).doc(he.userId).get();if(Ut.exists){const nt=Ut.data();if(void 0===nt.info)nt.info={address:{CityName:"",ZipCode:"",AreaName:"",AddressLine:""},isJoin:!1},ve(nt.info);else{void 0===nt.info.address&&(nt.info.address={CityName:"",ZipCode:"",AreaName:"",AddressLine:""});const cn=nt.info;nt.memberLevel&&(cn.memberLevel=nt.memberLevel),ve(cn)}}else ve(void 0)});return function(ve,at){return Ne.apply(this,arguments)}}())})()}createBananasUser(de,ae,he){var Ne=this;return(0,o.A)(function*(){return Ne.theoneService.createBananasUser(de,ae,he)})()}getBananasUser(de,ae,he){var Ne=this;return(0,o.A)(function*(){return Ne.theoneService.getBananasUser(de,ae,he)})()}getRebateList(de,ae){var he=this;return(0,o.A)(function*(){return he.theoneService.getRebateList(de,ae)})()}getUserRebateList(de,ae){var he=this;return(0,o.A)(function*(){const Ne=JSON.parse(he.storageGet("bananas")),ve=JSON.parse(he.storageGet("user"));return he.theoneService.getUserRebateList(de,ae,ve.userId,Ne.user_id,he.apiUrl)})()}signInFireAuth(de,ae){return new Promise((he,Ne)=>{this.http.post(`${this.gmbioLineAPI}/firebaseAuth`,{linebotId:ae,userId:de}).subscribe(ve=>{if(ve.result)try{this.auth.angularFireAuth.signInWithCustomToken(ve.token).then(at=>{console.log("userCredential :>> ",at),he(!0)})}catch(at){console.log("error :>> ",at),alert("SignIn Auth fail"),Ne(!0)}else alert("SignIn Auth fail"),Ne(!0)})})}loginSiteAdminFireAuth(de,ae,he,Ne){return new Promise((ve,at)=>{this.http.post(`${this.gmbioSiteAPI}/loginSiteAdminFireAuth`,{email:de,contractId:ae,brandId:he,url:Ne}).subscribe(Ut=>{if(console.log("resp :>> ",Ut),Ut.result)try{this.auth.angularFireAuth.signInWithCustomToken(Ut.token).then(nt=>{ve(!0)})}catch(nt){"auth/invalid-custom-token"===nt.code?alert("The token you provided is not valid."):console.error(nt),console.log("error :>> ",nt),alert("Site Auth fail"),ve(!1)}else alert(`Site Auth fail: (${Ut.error})`),ve(!1)})})}loadLoginUser(de=!1){return new Promise((ae,he)=>{if(this.loginUser&&!1===de)return void ae(this.loginUser);const Ne=this.storageGet("user");Ne?(this.lineUser=JSON.parse(Ne),this.db.firestore.firestore.collection(`/linebots/${this.linebotId}/users`).doc(this.lineUser.userId).get().then(ve=>{ve.exists&&(this.loginUser=ve.data(),this.loginUser.info&&(this.userInfo=this.loginUser.info)),ae(this.loginUser)})):ae(this.loginUser)})}watchLinebotUser(){return new y.c(de=>{const ae=this.db.firestore.firestore.collection(`/linebots/${this.linebotId}/users`).doc(this.lineUser.userId).onSnapshot(he=>{de.next(he.exists?{id:he.id,...he.data()}:void 0)},he=>de.error(he));return()=>ae()})}usedRebateRecord(de,ae){var he=this;return(0,o.A)(function*(){const Ne=k().valueOf(),ve=he.linebotId,at=he.loginUser.uid,Ut={year:k(Ne).format("YYYY"),month:k(Ne).format("MM"),used:1,used_time:Ne,rebates:[de],orderNumber:ae};(yield he.db.firestore.firestore.collection(`linebots/${ve}/users/${at}/usedRebateRecords`).doc(ae).get()).exists?console.log("object :>> ",at,ae,"\u5df2\u5b58\u5728"):yield he.db.firestore.firestore.collection(`linebots/${ve}/users/${at}/usedRebateRecords`).doc(ae).set(Ut)})()}giftRebateRecord(de){var ae=this;return(0,o.A)(function*(he,Ne=0){return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){console.log("giftRebateRecord RebateItem:>> ",he);const nt=k().valueOf(),cn=ae.linebotId,hn=ae.loginUser.uid,qt={year:k(nt).format("YYYY"),month:k(nt).format("MM"),used:0,created_at:nt,rebate:he,expiry_time:nt+Ne,orderNumber:""};console.log(qt),console.debug(qt),console.log(`linebots/${cn}/users/${hn}/giftRebateRecords`),yield ae.db.firestore.firestore.collection(`linebots/${cn}/users/${hn}/giftRebateRecords`).doc().set(qt).then(Te=>{console.log("setset :>> ",Te)}
1).catch(Te=>{console.log("eeeeeeee :>> ",Te)}),console.log("giftRebateRecord end :>> "),at(!0)});return function(at,Ut){return ve.apply(this,arguments)}}())}).apply(this,arguments)}getGiftRebateRecord(de){var ae=this;return(0,o.A)(function*(){return new Promise((he,Ne)=>{console.log("getGiftRebateRecord ",de),ae.db.firestore.firestore.collection(`linebots/${ae.linebotId}/users/${ae.loginUser.uid}/giftRebateRecords`).where("rebate","==",de).orderBy("created_at","desc").get().then(Ut=>{if(Ut.size>0){const nt=[];for(const cn of Ut.docs){const hn=cn.data();nt.push(hn)}he(nt)}else he(!1)})})})()}linebotsUsersCoupons(de){var ae=this;return(0,o.A)(function*(){return new Promise((he,Ne)=>{console.log("linebotsUsersCoupons ",de),ae.db.firestore.firestore.collection(`linebots/${ae.linebotId}/users/${ae.loginUser.uid}/coupons`).where("rebate_id","==",de).orderBy("used_time","desc").get().then(Ut=>{if(Ut.size>0){const nt=[];for(const cn of Ut.docs){const hn=cn.data();nt.push(hn)}he(nt)}else he(!1)})})})()}giftRebate(de,ae,he,Ne){return console.log("giftRebate :>> "),this.theoneService.giftRebate(de,ae,he,Ne)}usedRebate(de,ae,he,Ne){var ve=this;return(0,o.A)(function*(){return console.log("usedRebate :>> "),ve.theoneService.usedRebate(de,ae,he,Ne)})()}giftRebateCheck(de,ae){var he=this;return(0,o.A)(function*(){return new Promise(function(){var Ne=(0,o.A)(function*(ve,at){yield he.getUserRebateList(he.linebotId,he.banans_customer_access_token).then(Ut=>{Ut.subscribe(nt=>{const cn=nt.data;console.log("\u76ee\u524d\u624b\u4e0a\u6709\u7684 giftRebateCheck rebateList.rebate:>> ",cn.rebate);for(const hn of cn.rebate)console.log("rebaterebate :>> ",hn),console.log("rebate :>> ",hn.name),hn.rebateId===ae&&ve(!0);ve(!1)})})});return function(ve,at){return Ne.apply(this,arguments)}}())})()}getFreebieList(de,ae,he){return(0,o.A)(function*(){return new Promise(function(){var Ne=(0,o.A)(function*(ve){let at=[];for(const Ut of de)if(6===Ut.type){const nt=JSON.parse(Ut.conditions),cn=Date.now()/1e3,hn=Date.parse(nt.start.toString())/1e3,qt=Date.parse(nt.end.toString())/1e3+86400-1;if(ae>=nt.threshold){if(cn<hn||cn>qt)continue;console.log("conditions.deliveryType :>> ",nt.deliveryType),console.log("conditions.deliveryType step:>> ",he),1!==nt.deliveryType&&2==nt.deliveryType&&1==he?(console.log("deliveryType :>> ",1),at.push(Ut)):1===nt.deliveryType||3!=nt.deliveryType&&4!=nt.deliveryType||2!=he?1===nt.deliveryType&&(console.log("deliveryType :>> ",3),at.push(Ut)):(console.log("deliveryType :>> ",2),at.push(Ut))}}ve(at)});return function(ve){return Ne.apply(this,arguments)}}())})()}birthdayGift(de,ae,he){var Ne=this;return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){console.log("birthdayGift :>> ");const nt=yield Ne.getUserInfo(Ne.linebotId),cn=k().valueOf();k(cn).format("MM")===String(nt.birthMonth).padStart(2,"0")?(console.log("\u6aa2\u67e5\u662f\u5426\u5df2\u6709\u751f\u65e5\u5377 :>> ",he.user_id),yield Ne.getUserRebateList(Ne.linebotId,Ne.banans_customer_access_token).then(hn=>{hn.subscribe(function(){var qt=(0,o.A)(function*(Te){if(Ne.rebateList=Te.data,Ne.rebateList.rows>0){const Pe=Ne.rebateList.rebate.filter(yt=>yt.name="\u751f\u65e5\u79ae");console.log("birthdayGift :>> ",Pe),console.log("rebateList.rebate ===>> ",Ne.rebateList.rebate),yield Ne.addBirthdayGift(de,ae,he,Ne.rebateList).then(yt=>{at(yt)})}else yield Ne.addBirthdayGift(de,ae,he).then(Pe=>{at(Pe)})});return function(Te){return qt.apply(this,arguments)}}())})):(console.log("\u4e0d\u662f\u672c\u6708\u58fd\u661f :>> ",nt.birthMonth),at(!1))});return function(at,Ut){return ve.apply(this,arguments)}}())}addBirthdayGift(de,ae,he,Ne){var ve=this;return new Promise(function(){var at=(0,o.A)(function*(Ut,nt){ve.getRebateList(de,ae).then(cn=>{cn.subscribe(function(){var hn=(0,o.A)(function*(qt){if(qt.result){if(console.log(ve.rebateItemResponse=qt.data),ve.rebateItemResponse.count>0)for(const Te of ve.rebateItemResponse.rebate)if("\u751f\u65e5\u79ae"===Te.name){if(!(yield ve.couponTimeCheck(Te.rebate_id)))continue;if(Ne){const yt=Ne.rebate.filter(wt=>wt.rebateId===Te.rebate_id);(0===yt.length||Number(yt[0].receive)-Number(yt[0].used)===0)&&(yield(0,h.s)(ve.giftRebate(he.user_id,Te.rebate_id,de,ae).pipe((0,v.T)(function(){var wt=(0,o.A)(function*(Ie){return!0===Ie?.result&&(yield ve.giftRebateRecord(Te.rebate_id)),Ie});return function(Ie){return wt.apply(this,arguments)}}()))))}else yield(0,h.s)(ve.giftRebate(he.user_id,Te.rebate_id,de,ae).pipe((0,v.T)(function(){var yt=(0,o.A)(function*(wt){return!0===wt?.result&&(yield ve.giftRebateRecord(Te.rebate_id)),wt});return function(wt){return yt.apply(this,arguments)}}())))}Ut(ve.rebateItemResponse)}else ve.rebateItemResponse={rebate:[],count:0,rows:0},console.log(ve.rebateItemResponse),Ut(ve.rebateItemResponse)});return function(qt){return hn.apply(this,arguments)}}())})});
1return function(Ut,nt){return at.apply(this,arguments)}}())}firstGift(de,ae,he){var Ne=this;return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){console.log("firstGift :>> "),yield Ne.getUserInfo(Ne.linebotId),yield Ne.getUserRebateList(Ne.linebotId,Ne.banans_customer_access_token).then(cn=>{cn.subscribe(function(){var hn=(0,o.A)(function*(qt){if(Ne.rebateList=qt.data,Ne.rebateList.rows>0)for(const Te of Ne.rebateList.rebate){const Pe=Te;JSON.parse(Te.conditions),"\u9996\u8cfc\u79ae"!==Pe.name||2!==Pe.activity||(console.log("\u9996\u8cfc\u79ae\u7d66\u904e\u4e86 :>> ",Pe),at(!1))}else console.log("\u9996\u8cfc\u79ae\u5c31\u7d66\u4ed6\u4e00\u5f35\uff01 :>> "),Ne.getRebateList(de,ae).then(Te=>{Te.subscribe(function(){var Pe=(0,o.A)(function*(yt){if(yt.result){if(console.log(Ne.rebateItemResponse=yt.data),Ne.rebateItemResponse.count>0)for(const wt of Ne.rebateItemResponse.rebate)if("\u9996\u8cfc\u79ae"===wt.name&&2===wt.activity){if(JSON.parse(wt.setting),!(yield Ne.couponTimeCheck(wt.rebate_id)))continue;yield(0,h.s)(Ne.giftRebate(he.user_id,wt.rebate_id,de,ae).pipe((0,v.T)(function(){var je=(0,o.A)(function*(rt){return!0===rt?.result&&(yield Ne.giftRebateRecord(wt.rebate_id),console.log("\u5f97\u5230\u9996\u8cfc\u79ae :>> ")),rt});return function(rt){return je.apply(this,arguments)}}())))}at(Ne.rebateItemResponse)}else Ne.rebateItemResponse={rebate:[],count:0,rows:0},console.log(Ne.rebateItemResponse),at(Ne.rebateItemResponse)});return function(yt){return Pe.apply(this,arguments)}}())})});return function(qt){return hn.apply(this,arguments)}}())})});return function(at,Ut){return ve.apply(this,arguments)}}())}activityMapsBookingMemberGift(de,ae,he,Ne){var ve=this;return(0,o.A)(function*(){try{console.log("\u958b\u59cb\u8655\u7406\u6703\u54e1\u79ae\u767c\u653e...");const at=yield(0,h.s)(ve.theoneService.getRebateList(de,ae));if(console.log("\u53d6\u5f97\u5230\u7684\u512a\u60e0\u5238\u5217\u8868:",at),at?.result&&at.data?.count>0){const Ut=JSON.parse(ve.storageGet("user")||"{}");let nt=1;for(const cn of at.data.rebate){if(console.log("----------------------------------------"),console.log(`\u7b2c ${nt} \u500b\u512a\u60e0\u5238 ID: ${cn.rebate_id}`),console.log(`\u512a\u60e0\u5238\u540d\u7a31: ${cn.name}`),console.log(`\u6d3b\u52d5\u985e\u578b: ${cn.activity} (2 \u8868\u793a\u8a3b\u518a\u79ae)`),2===cn.activity){console.log(`[${cn.rebate_id}] \u8655\u7406\u8a3b\u518a\u79ae: ${cn.name}`);try{if(console.log(`[${cn.rebate_id}] \u6aa2\u67e5\u662f\u5426\u5df2\u9818\u53d6\u904e...`),yield ve.giftRebateCheck(he.user_id,cn.rebate_id)){console.log(`[${cn.rebate_id}] \u4f7f\u7528\u8005\u5df2\u9818\u53d6\u904e\u6b64\u79ae\u7269`);continue}if(console.log(`[${cn.rebate_id}] \u4f7f\u7528\u8005\u5c1a\u672a\u9818\u53d6\u904e\u6b64\u79ae\u7269`),console.log(`[${cn.rebate_id}] \u6aa2\u67e5\u6d3b\u52d5\u671f\u9593...`),!(yield ve.couponPeriodTimeCheck(cn.rebate_id))){console.log(`[${cn.rebate_id}] \u8a3b\u518a\u79ae\u6d3b\u52d5\u671f\u9593\u5df2\u904e\u671f`);continue}console.log(`[${cn.rebate_id}] \u6d3b\u52d5\u671f\u9593\u6aa2\u67e5\u901a\u904e`),console.log(`[${cn.rebate_id}] \u6e96\u5099\u767c\u9001\u79ae\u7269...`);const Te=yield(0,h.s)(ve.theoneService.giftRebate(he.user_id,cn.rebate_id,de,ae));if(console.log(`[${cn.rebate_id}] \u79ae\u7269\u767c\u9001\u56de\u61c9:`,Te),Te?.result){const Pe=JSON.parse(cn.setting);if(console.log(`[${cn.rebate_id}] \u79ae\u7269\u8a2d\u5b9a:`,Pe),"\u8d08\u9001\u5546\u5bb6\u9ede\u6578"===Pe?.rebate?.type){console.log(`[${cn.rebate_id}] \u6aa2\u6e2c\u5230\u9ede\u6578\u985e\u578b\u734e\u52f5\uff0c\u6e96\u5099\u767c\u9001\u9ede\u6578...`);const yt={clientId:ve.koin_customer_id,refresh_token:ve.koin_refresh_token,specify_id:Ut.userId,quantity:Pe.rebate.deductValue};console.log(`[${cn.rebate_id}] \u767c\u9001\u9ede\u6578\u8acb\u6c42:`,yt);const wt=yield(0,h.s)(ve.theoneService.giftAccount(yt));console.log(`[${cn.rebate_id}] \u9ede\u6578\u767c\u9001\u56de\u61c9:`,wt)}console.log(`[${cn.rebate_id}] \u8a18\u9304\u79ae\u7269\u5df2\u767c\u9001...`),yield ve.giftRebateRecord(cn.rebate_id),console.log(`[${cn.rebate_id}] \u6210\u529f\u767c\u9001\u8a3b\u518a\u79ae: ${cn.name}`)}else console.error(`[${cn.rebate_id}] \u767c\u9001\u79ae\u7269\u5931\u6557\uff0c\u56de\u61c9:`,Te)}catch(hn){console.error(`[${cn.rebate_id}] \u8655\u7406\u904e\u7a0b\u4e2d\u767c\u751f\u932f\u8aa4:`,hn)}}else console.log(`\u7b2c ${nt} \u500b\u512a\u60e0\u5238 ID: ${cn.rebate_id}
1`),console.log(`\u8df3\u904e\u975e\u8a3b\u518a\u79ae\u6d3b\u52d5 (\u985e\u578b: ${cn.activity})`);nt++}}return console.log("\u6703\u54e1\u79ae\u8655\u7406\u5b8c\u6210"),at?.data||{rebate:[],count:0,rows:0}}catch(at){return console.error("\u8655\u7406\u6703\u54e1\u79ae\u6642\u767c\u751f\u932f\u8aa4:",at),{rebate:[],count:0,rows:0}}})()}activityMapsBookingMemberGiftForLine(de,ae,he,Ne){var ve=this;return new Promise((at,Ut)=>{this.getRebateList(de,ae).then(nt=>{nt.subscribe(function(){var cn=(0,o.A)(function*(hn){if(hn.result){if(console.log(ve.rebateItemResponse=hn.data),ve.rebateItemResponse.count>0){for(const qt of ve.rebateItemResponse.rebate){const Te=JSON.parse(qt.setting);(yield ve.couponTimeCheck(qt.rebate_id))&&1===qt.activity&&ve.giftRebateCheck(he.user_id,qt.rebate_id).then(function(){var yt=(0,o.A)(function*(wt){if(!1===wt)yield(0,h.s)(ve.giftRebate(he.user_id,qt.rebate_id,de,ae).pipe((0,T.n)(function(){var Ie=(0,o.A)(function*(ie){if(!0===ie?.result){yield ve.giftRebateRecord(qt.rebate_id),console.log("\u5f97\u5230\u6703\u54e1\u79ae :>> ",qt.name);const je=JSON.parse(ve.storageGet("user"));if("\u8d08\u9001\u5546\u5bb6\u9ede\u6578"===Te.rebate.type){const rt={clientId:ve.koin_customer_id,refresh_token:ve.koin_refresh_token,specify_id:je.userId,quantity:Te.rebate.deductValue};yield(0,h.s)(ve.theoneService.giftAccount(rt))}}return ie});return function(ie){return Ie.apply(this,arguments)}}())));else{if(!Ne)return!0;ve.commonService.alert("\u5e33\u6236\u8cc7\u6599\u5df2\u66f4\u65b0 ",Ne)}});return function(wt){return yt.apply(this,arguments)}}())}if(!Ne)return!0;ve.commonService.alert("\u5e33\u6236\u8cc7\u6599\u8a3b\u518a\u6210\u529f",Ne)}at(ve.rebateItemResponse)}else ve.rebateItemResponse={rebate:[],count:0,rows:0},console.log(ve.rebateItemResponse),at(ve.rebateItemResponse)});return function(hn){return cn.apply(this,arguments)}}())})})}rebateCreateCode(de,ae,he,Ne){var ve=this;const at=JSON.parse(this.storageGet("bananas"));return new Promise(function(){var Ut=(0,o.A)(function*(nt,cn){yield ve.getRebateList(de,ae).then(hn=>{hn.subscribe(function(){var qt=(0,o.A)(function*(Te){if(Te.result){if(console.log(ve.rebateItemResponse=Te.data),ve.rebateItemResponse.count>0){ve.rebateItemResponse.rebate.find(Pe=>Pe.code==he)||nt({result:!1,msg:"\u67e5\u7121\u62b5\u7528\u5377"});for(const Pe of ve.rebateItemResponse.rebate)if(Pe.code===he){ve.giftRebateCheck(Ne.user_id,Pe.rebate_id).then(function(){var yt=(0,o.A)(function*(wt){console.log("giftRebateCheck :>> ",wt);const Ie=Pe.setting;if(Ie){const rt=JSON.parse(Ie),Ze=Date.now()/1e3;if(1!==rt.rebate.period){const We=Date.parse(rt.rebate.start.toString())/1e3,Ot=Date.parse(rt.rebate.end.toString())/1e3+86400-1;if(Ze<We)return console.log("\u62b5\u7528\u5238\u6d3b\u52d5\u5c1a\u672a\u958b\u59cb"),void nt({result:!1,msg:"\u62b5\u7528\u5238\u6d3b\u52d5\u5c1a\u672a\u958b\u59cb"});if(console.log("bananasRebate :>> ",rt),Ze>Ot)return console.log("\u62b5\u7528\u5238\u6d3b\u52d5\u671f\u9593\u5df2\u904e\u671f"),void nt({result:!1,msg:"\u62b5\u7528\u5238\u6d3b\u52d5\u671f\u9593\u5df2\u904e\u671f"})}}if(!(yield ve.couponPeriodTimeCheck(Pe.rebate_id)))return console.log("\u62b5\u7528\u5238\u6d3b\u52d5\u671f\u9593\u904e\u671f"),void nt({result:!1,msg:"\u62b5\u7528\u5238\u6d3b\u52d5\u671f\u9593\u904e\u671f"});const je=yield(0,h.s)(ve.giftRebate(at.user_id,Pe.rebate_id,de,ae).pipe((0,v.T)(function(){var rt=(0,o.A)(function*(Ze){return yield ve.giftRebateRecord(Pe.rebate_id,2592e6),Ze});return function(Ze){return rt.apply(this,arguments)}}())));nt(je)});return function(wt){return yt.apply(this,arguments)}}());break}}}else nt({result:!1})});return function(Te){return qt.apply(this,arguments)}}())})});return function(nt,cn){return Ut.apply(this,arguments)}}())}memberLevelRebatePermissionCheck(de,ae,he){var Ne=this;return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){const nt=yield Ne.db.firestore.firestore.collection(`/linebots/${Ne.linebotId}/users`).doc(he.userId).get();if(!nt.exists)return void at(!1);if(Ne.loginUser=nt.data(),!Ne.loginUser.memberLevel)return void at(!1);const cn=yield Ne.db.firestore.firestore.collection(`contracts/${ae.contractId}/memberLevels`).get();if(console.log("v.size :>> ",cn.size),cn.size>0)for(const hn of cn.docs){const qt=hn.data();console.log("memberLevelmemberLevelmemberLevel :>> ",qt);for(const Te of qt.coupons)if(Te.rebate_id===de&&hn.id===Ne.loginUser.memberLevel.id)return void at(!0)}at(!1)});return function(at,Ut){return ve.apply(this,arguments)}}())}setContractMemberLevelsGiftRebate(de,ae){var he=this;console.log("setContractMemberLevelsGiftRebate :>> ",ae);const Ne=this.lineUser;return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){console.log("setContractMemberLevelsGiftRebate lineBot.contractId :>> ",de.contractId);const nt=yield he.db.firestore.firestore.collection(`contracts/${de.contractId}/memberLevels`).orderBy("threshold","desc").get();if(console.log("vvv :>> ",nt),nt.size>0){for(const cn of nt.docs){const hn=cn.data();if(hn.threshold<=ae){const qt=yield he.db.firestore.firestore.collection(`/linebots/${he.linebotId}/users`).doc(Ne.userId).get();if(qt.exists){const Te=qt.data();if(Te.memberLevel&&Te.memberLevel.id!==cn.id)for(const Pe of hn.coupons)(yield he.couponTimeCheck(Pe.rebate_id))&&(yield(0,h.s)(he.giftRebate(Te.bananas.user_id,Pe.rebate_id,he.banans_customer_id,he.banans_customer_refresh_token).pipe((0,v.T)(function(){var wt=(0,o.A)(function*(Ie){return yield he.giftRebateRecord(Pe.rebate_id),console.log("SetContractMemberLevels giftRebateResp 1:>> ",Ie),Ie});return function(Ie){return wt.apply(this,arguments)}}()))));if(!Te.memberLevel)for(const Pe of hn.coupons)(yield he.couponTimeCheck(Pe.rebate_id))&&(yield(0,h.s)(he.giftRebate(Te.bananas.user_id,Pe.rebate_id,he.banans_customer_id,he.banans_customer_refresh_token).pipe((0,v.T)(function(){var wt=(0,o.A)(function*(Ie){return yield he.giftRebateRecord(Pe.rebate_id),console.log("SetContractMemberLevels giftRebateResp 2:>> ",Ie),Ie});return function(Ie){return wt.apply(this,arguments)}}()))));return yield qt.ref.set({memberLevel:{id:cn.id,name:hn.name}},{merge:!0}
1),void at(cn.id)}console.log("break :>> ");break}}at(!1)}else at(!1)});return function(at,Ut){return ve.apply(this,arguments)}}())}purchaseOverGift(de){var ae=this;console.log("purchaseOverGift :>> ",de);const he=JSON.parse(this.storageGet("user"));return new Promise(function(){var Ne=(0,o.A)(function*(ve,at){de?(yield ae.getRebateList(ae.banans_customer_id,ae.banans_customer_refresh_token).then(Ut=>{Ut.subscribe(function(){var nt=(0,o.A)(function*(cn){ae.rebateItemResponse=cn.data;for(const hn of ae.rebateItemResponse.rebate){const qt=JSON.parse(hn.setting);if(0!==qt.rebate.threshold&&qt.rebate.threshold<=de){if(!(yield ae.couponTimeCheck(hn.rebate_id)))continue;const Pe=yield ae.db.firestore.firestore.collection(`/linebots/${ae.linebotId}/users`).doc(he.userId).get();if(Pe.exists){const yt=Pe.data();"\u8d08\u9001\u5546\u5bb6\u9ede\u6578"===qt.rebate.type&&(yield(0,h.s)(ae.giftRebate(yt.bananas.user_id,hn.rebate_id,ae.banans_customer_id,ae.banans_customer_refresh_token).pipe((0,v.T)(function(){var Ie=(0,o.A)(function*(ie){return yield ae.giftRebateRecord(hn.rebate_id),ie});return function(ie){return Ie.apply(this,arguments)}}()))))}}else if(0===qt.rebate.threshold&&"\u81ea\u8a02\u6d3b\u52d5"===qt.rebate.activity){if(!(yield ae.couponTimeCheck(hn.rebate_id)))continue;const Pe=yield ae.db.firestore.firestore.collection(`/linebots/${ae.linebotId}/users`).doc(he.userId).get();if(Pe.exists){const yt=Pe.data();if("\u8d08\u9001\u5546\u5bb6\u9ede\u6578"===qt.rebate.type){const wt={clientId:ae.koin_customer_id,refresh_token:ae.koin_refresh_token,specify_id:he.userId,quantity:qt.rebate.deductValue};yield(0,h.s)(ae.theoneService.giftAccount(wt))}else yield(0,h.s)(ae.giftRebate(yt.bananas.user_id,hn.rebate_id,ae.banans_customer_id,ae.banans_customer_refresh_token).pipe((0,v.T)(function(){var wt=(0,o.A)(function*(Ie){return!0===Ie?.result&&(yield ae.giftRebateRecord(hn.rebate_id)),Ie});return function(Ie){return wt.apply(this,arguments)}}())))}}}});return function(cn){return nt.apply(this,arguments)}}())}),ve(!0)):ve(!1)});return function(ve,at){return Ne.apply(this,arguments)}}())}giftAccountRemain(de){var ae=this;return(0,o.A)(function*(){return ae.theoneService.giftAccountRemain(de)})()}giftAccountConsume(de){var ae=this;return(0,o.A)(function*(){return ae.theoneService.giftAccountConsume(de)})()}getMemberOrdersByStatu(de){var ae=this;let he=0;const Ne=this.lineUser;return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){Ne||at(0);const nt=yield ae.db.firestore.firestore.collection("memberOrders").where("uid","==",Ne.userId).get();for(const cn of nt.docs){const hn=cn.data();hn.statusPayment===de&&(he+=hn.total)}at(he)});return function(at,Ut){return ve.apply(this,arguments)}}())}getLinebot(de){var ae=this;let he=[];return new Promise(function(){var ve=(0,o.A)(function*(at,Ut){const nt=yield ae.db.firestore.firestore.collection("linebots").where("contractId","==",de).get();if(nt.size>0){for(const cn of nt.docs)he.push(cn.data());at(he[0])}else at(void 0)});return function(at,Ut){return ve.apply(this,arguments)}}())}getMemberOrdersById(de){var ae=this;return console.log("getMemberOrdersById :>> ",de),new Promise(function(){var he=(0,o.A)(function*(Ne,ve){Ne((yield ae.db.firestore.firestore.collection("/memberOrders").doc(de).get()).data())});return function(Ne,ve){return he.apply(this,arguments)}}())}lineLogin(de){var ae=this;return(0,o.A)(function*(){return console.log("lineLogin :>> ",de),de.client_id&&de.redirect_uri?void(yield ae.getLineLoginUrl(de).then(he=>{const Ne={url:he};console.log(Ne),window.location.replace(Ne.url)}).catch(he=>{console.log(he)})):void console.log({error:"client_id or redirect_uri is null"})})()}getLineLoginUrl(de){var ae=this;return console.log("functions getLoginUrl :>> ",de),new Promise(function(){var he=(0,o.A)(function*(Ne,ve){try{Ne(`${ae.line_accessUrl}/authorize?response_type=code&client_id=${de.client_id}&redirect_uri=${de.redirect_uri}&state=12345abcde&scope=profile%20openid`)}catch(at){console.log("error.response :>> ",at.response),ve(at)}});return function(Ne,ve){return he.apply(this,arguments)}}())}couponSelect(de){console.log("\u9078\u64c7coupons :>> "),this.storageSet("coupons",JSON.stringify(de))}couponRemoveItem(){this.storageRemove("coupons")}couponsStorage(){return JSON.parse(this.storageGet("coupons"))}couponLogic(de,ae){var he=this;return(0,o.A)(function*(){return new Promise(function(){var Ne=(0,o.A)(function*(ve,at){yield he.getRebateList(he.banans_customer_id,he.banans_customer_refresh_token).then(Ut=>{Ut.subscribe(function(){var nt=(0,o.A)(function*(cn){he.rebateItemResponse=cn.data;for(const hn of ae)if(!0===hn.selected){he.userRebateItem=he.rebateItemResponse.rebate.find(Te=>Te.rebate_id===hn.rebateId);const qt=JSON.parse(he.userRebateItem.setting);"\u8d08\u9001\u514d\u904b\u5238"===qt.rebate.type?(he.couponLogicResponse={rebate_id:hn.rebateId,shippingFee:!1,bananasRebateName:qt.rebate.name,discountAmount:de},ve(he.couponLogicResponse)):(he.couponLogicResponse={rebate_id:hn.rebateId,shippingFee:!0,bananasRebateName:qt.rebate.name,discountAmount:he.rebateToDiscountAmount(de,qt.rebate)},ve(he.couponLogicResponse))}});return function(cn){return nt.apply(this,arguments)}}())})});return function(ve,at){return Ne.apply(this,arguments)}}())})()}rebateToDiscountAmount(de,ae){let he=0;return he=ae.deductValue,"\u8d08\u9001\u6298\u6578\u62b5\u7528\u5238"===ae.type&&(he=Math.round(de*(.01*ae.deductValue))),"percent"===ae.amountOrPercent&&(he=de-Math.round(de*(.01*(100-ae.deductValue)))),he}getMemberOrderData(de){var ae=this;
1return new Promise(function(){var he=(0,o.A)(function*(Ne,ve){Ne((yield ae.db.firestore.firestore.collection("/memberOrders").doc(de).get()).data())});return function(Ne,ve){return he.apply(this,arguments)}}())}couponPeriodTimeCheck(de){var ae=this;return(0,o.A)(function*(){console.log("couponPeriodTimeCheck :>> ",de);try{const he=yield ae.getRebateList(ae.banans_customer_id,ae.banans_customer_refresh_token);return new Promise((Ne,ve)=>{he.subscribe({next:at=>{try{ae.rebateItemResponse=at.data;const Ut=ae.rebateItemResponse.rebate.find(Pe=>Pe.rebate_id===de)?.setting;if(!Ut)return console.log("couponPeriodTimeCheck: rebate not found"),void Ne(!1);const nt=JSON.parse(Ut),cn=Date.now()/1e3;if(1===nt.rebate.period)return console.log("couponPeriodTimeCheck: permanent activity"),void Ne(!0);const hn=Date.parse(nt.rebate.start.toString())/1e3,qt=Date.parse(nt.rebate.end.toString())/1e3+86400-1,Te=cn>=hn&&cn<=qt;console.log("couponPeriodTimeCheck:",{currentTime:new Date(1e3*cn).toISOString(),activityStart:new Date(1e3*hn).toISOString(),activityEnd:new Date(1e3*qt).toISOString(),isWithinPeriod:Te}),Ne(Te)}catch(Ut){console.error("couponPeriodTimeCheck parsing error:",Ut),Ne(!1)}},error:at=>{console.error("couponPeriodTimeCheck API error:",at),Ne(!1)}})})}catch(he){return console.error("couponPeriodTimeCheck error:",he),!1}})()}couponTimeCheck(de){var ae=this;return(0,o.A)(function*(){return console.log("couponTimeCheck :>> ",de),new Promise(function(){var he=(0,o.A)(function*(Ne,ve){yield ae.getRebateList(ae.banans_customer_id,ae.banans_customer_refresh_token).then(at=>{at.subscribe(Ut=>{ae.rebateItemResponse=Ut.data;const nt=ae.rebateItemResponse.rebate.find(cn=>cn.rebate_id===de)?.setting;if(nt){const cn=JSON.parse(nt),hn=Date.now()/1e3;if("\u8d08\u9001\u5546\u54c1"!==cn.rebate.type&&"\u8d08\u9001\u5546\u5bb6\u9ede\u6578"!==cn.rebate.type)if(1!==cn.rebate.couponTimePeriod){const qt=Date.parse(cn.rebate.couponTimePeriodStart.toString())/1e3,Te=Date.parse(cn.rebate.couponTimePeriodEnd.toString())/1e3+86400-1;Ne(!(hn<qt||hn>Te))}else Ne(!0);else if(1!==cn.rebate.period){const qt=Date.parse(cn.rebate.start.toString())/1e3,Te=Date.parse(cn.rebate.end.toString())/1e3+86400-1;Ne(!(hn<qt||hn>Te))}else Ne(!0)}else Ne(!1)})})});return function(Ne,ve){return he.apply(this,arguments)}}())})()}sendOrderNoticeEmail(de){return console.log("sendOrderNoticeEmail :>> ",de),console.log(" url:>> ",this.functionsService.urlEmailService+"/sendgrid/sendMemberOrdersEmail"),new Promise((ae,he)=>{fetch(this.functionsService.urlEmailService+"/sendgrid/sendMemberOrdersEmail",{method:"post",body:JSON.stringify({mail:de}),headers:{"content-type":"application/json"}}).then(Ne=>Ne.json()).then(Ne=>{console.log("sendOrderNoticeEmail :>> ",Ne.result),ae(Ne.result)})})}static#e=$e=()=>(this.\u0275fac=function(ae){return new(ae||lt)(x.KVO(ye.Qq),x.KVO(He.B),x.KVO(Mt.b),x.KVO(Ge.q),x.KVO(Qe.h),x.KVO(Xe.ex),x.KVO(Mt.b),x.KVO(ze.hE),x.KVO(Je))},this.\u0275prov=x.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"}))}return $e(),lt})()},1515(tn,Ye,d){"use strict";d.d(Ye,{v:()=>M});var o=d(467),s=d(5312),h=d(3664),y=d(843),v=d(1547),T=d(3694);let M=(()=>{var k;class H{constructor(x,ye,He,Mt){this.siteService=x,this.cartService=ye,this.router=He,this.route=Mt,this.bot=s.c.lineBot}ngOnInit(){var x=this;this.linebotsUserInfo=this.siteService.userInfo,this.route.queryParams.subscribe(function(){var ye=(0,o.A)(function*(He){x.lineCode=He.code,x.lineState=He.state,x.lineCode&&(console.log("LinecallbackComponent ------ this.bot :>> ",x.bot),x.siteService.storageGet("user")&&(window.location.href=x.bot.loginInfo.site_url),x.siteService.lineUser||x.siteService.callback(x.lineCode).then(function(){var Ge=(0,o.A)(function*(Qe){x.siteService.lineUser=Qe;const Xe=x.siteService.storageGet("loginback");if(console.log("loginback :>> ",Xe),console.log("callback :>> ",Qe),void 0===Qe)return alert("\u767b\u5165\u5931\u6557\uff0c\u8acb\u806f\u7d61\u7cfb\u7d71\u7ba1\u7406\u54e1"),void(window.location.href=Xe||x.bot.loginInfo.site_url);x.siteService.storageSet("user",JSON.stringify(Qe)),yield x.siteService.signInFireAuth(Qe.userId,x.siteService.linebotId),yield x.siteService.LINEBotLoginUserSet(x.siteService.linebotId,Qe);const ze=yield x.siteService.getUserInfo(x.siteService.linebotId);x.siteService.userInfo=ze,x.linebotsUserInfo=ze,console.log("this.siteService.loginUser :>> ",x.siteService.loginUser),x.siteService.registerBackUrl=x.siteService.storageGet("loginback"),x.cartService.init().then(Le=>{x.cartService.cartsQuantity()}),x.router.navigateByUrl(Xe?Xe.replace(s.c.lineBot.loginInfo.site_url,""):x.bot.loginInfo.site_url.replace(s.c.lineBot.loginInfo.site_url,""))});return function(Qe){return Ge.apply(this,arguments)}}()))});return function(He){return ye.apply(this,arguments)}}())}static#e=k=()=>(this.\u0275fac=function(ye){return new(ye||H)(h.rXU(y.T),h.rXU(v.m),h.rXU(T.Ix),h.rXU(T.nX))},this.\u0275cmp=h.VBU({type:H,selectors:[["app-linecallback"]],standalone:!1,decls:1,vars:0,consts:[[1,"loader"]],template:function(ye,He){1&ye&&h.nrm(0,"div",0)},encapsulation:2}))}return k(),H})()},5312(tn,Ye,d){"use strict";d.d(Ye,{c:()=>o});const o={firebase:{projectId:"booking-8d1fc",appId:"1:54680679605:web:b1a678c15bdd701f533afc",databaseURL:"https://booking-8d1fc.firebaseio.com",storageBucket:"booking-8d1fc.appspot.com",locationId:"asia-southeast2",apiKey:"AIzaSyAcDv1U9rtuZ2-dkJqVipJyP3jlesoDSbg",authDomain:"booking-8d1fc.firebaseapp.com",messagingSenderId:"54680679605",measurementId:"G-J906ZM9WFR"},production:!0,lineBot:{id:"1657077751",loginInfo:{callback_url:"https://shop.earnestfarm.com.tw/api/line/callback",site_url:"https://shop.earnestfarm.com.tw",secret:"",channel_id:"1657096889"}}
vendor: 12,265 bytes, line 1
1,customizeForm:{brand:"mroboss",adminEmail:"[email protected]",infoUserUrl:"https://cloudrun-4dtz5tfika-de.a.run.app/other/pets/customizeForm/infoUser",infoUserLocalUrl:"http://localhost:8088/other/pets/customizeForm/infoUser",lineBotId:"1657122772"}}},1866(tn,Ye,d){"use strict";var o=d(7303),s=d(2512),h=d(2615),y=d(177),v=d(2200),T=d(3664),M=d(7705);class k{_doc;constructor(a){this._doc=a}manager}let H=(()=>{class b extends k{constructor(u){super(u)}supports(u){return!0}addEventListener(u,E,W,te){return u.addEventListener(E,W,te),()=>this.removeEventListener(u,E,W,te)}removeEventListener(u,E,W,te){return u.removeEventListener(E,W,te)}static \u0275fac=function(E){return new(E||b)(h.KVO(h.qQL))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();const B=new h.nKC("");let x=(()=>{class b{_zone;_plugins;_eventNameToPlugin=new Map;constructor(u,E){this._zone=E,u.forEach(it=>{it.manager=this});const W=u.filter(it=>!(it instanceof H));this._plugins=W.slice().reverse();const te=u.find(it=>it instanceof H);te&&this._plugins.push(te)}addEventListener(u,E,W,te){return this._findPluginFor(E).addEventListener(u,E,W,te)}getZone(){return this._zone}_findPluginFor(u){let E=this._eventNameToPlugin.get(u);if(E)return E;if(E=this._plugins.find(te=>te.supports(u)),!E)throw new h.buA(5101,!1);return this._eventNameToPlugin.set(u,E),E}static \u0275fac=function(E){return new(E||b)(h.KVO(B),h.KVO(T.SKi))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();const ye="ng-app-id";function He(b){for(const a of b)a.remove()}function Mt(b,a){const u=a.createElement("style");return u.textContent=b,u}function Qe(b,a){const u=a.createElement("link");return u.setAttribute("rel","stylesheet"),u.setAttribute("href",b),u}let Xe=(()=>{class b{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(u,E,W,te={}){this.doc=u,this.appId=E,this.nonce=W,function Ge(b,a,u,E){const W=b.head?.querySelectorAll(`style[${ye}="${a}"],link[${ye}="${a}"]`);if(W)for(const te of W)te.removeAttribute(ye),te instanceof HTMLLinkElement?E.set(te.href.slice(te.href.lastIndexOf("/")+1),{usage:0,elements:[te]}):te.textContent&&u.set(te.textContent,{usage:0,elements:[te]})}(u,E,this.inline,this.external),this.hosts.add(u.head)}addStyles(u,E){for(const W of u)this.addUsage(W,this.inline,Mt);E?.forEach(W=>this.addUsage(W,this.external,Qe))}removeStyles(u,E){for(const W of u)this.removeUsage(W,this.inline);E?.forEach(W=>this.removeUsage(W,this.external))}addUsage(u,E,W){const te=E.get(u);te?te.usage++:E.set(u,{usage:1,elements:[...this.hosts].map(it=>this.addElement(it,W(u,this.doc)))})}removeUsage(u,E){const W=E.get(u);W&&(W.usage--,W.usage<=0&&(He(W.elements),E.delete(u)))}ngOnDestroy(){for(const[,{elements:u}]of[...this.inline,...this.external])He(u);this.hosts.clear()}addHost(u){this.hosts.add(u);for(const[E,{elements:W}]of this.inline)W.push(this.addElement(u,Mt(E,this.doc)));for(const[E,{elements:W}]of this.external)W.push(this.addElement(u,Qe(E,this.doc)))}removeHost(u){this.hosts.delete(u)}addElement(u,E){return this.nonce&&E.setAttribute("nonce",this.nonce),u.appendChild(E)}static \u0275fac=function(E){return new(E||b)(h.KVO(h.qQL),h.KVO(T.sZ2),h.KVO(T.BIS,8),h.KVO(T.Agw))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();const ze={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Le=/%COMP%/g,lt=new h.nKC("",{providedIn:"root",factory:()=>!0});function ae(b,a){return a.map(u=>u.replace(Le,b))}let Ne=(()=>{class b{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(u,E,W,te,it,Nt,pn=null,jn=null){this.eventManager=u,this.sharedStylesHost=E,this.appId=W,this.removeStylesOnCompDestroy=te,this.doc=it,this.ngZone=Nt,this.nonce=pn,this.tracingService=jn,this.platformIsServer=!1,this.defaultRenderer=new ve(u,it,Nt,this.platformIsServer,this.tracingService)}createRenderer(u,E){if(!u||!E)return this.defaultRenderer;const W=this.getOrCreateRenderer(u,E);return W instanceof qt?W.applyToHost(u):W instanceof hn&&W.applyStyles(),W}getOrCreateRenderer(u,E){const W=this.rendererByCompId;let te=W.get(E.id);if(!te){const it=this.doc,Nt=this.ngZone,pn=this.eventManager,jn=this.sharedStylesHost,Ki=this.removeStylesOnCompDestroy,lr=this.platformIsServer,Br=this.tracingService;switch(E.encapsulation){case T.gXe.Emulated:te=new qt(pn,jn,E,this.appId,Ki,it,Nt,lr,Br);break;case T.gXe.ShadowDom:return new cn(pn,jn,u,E,it,Nt,this.nonce,lr,Br);default:te=new hn(pn,jn,E,Ki,it,Nt,lr,Br)}W.set(E.id,te)}return te}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(u){this.rendererByCompId.delete(u)}static \u0275fac=function(E){return new(E||b)(h.KVO(x),h.KVO(Xe),h.KVO(T.sZ2),h.KVO(lt),h.KVO(h.qQL),h.KVO(T.SKi),h.KVO(T.BIS),h.KVO(T.a8H,8))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();class ve{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(a,u,E,W,te){this.eventManager=a,this.doc=u,this.ngZone=E,this.platformIsServer=W,this.tracingService=te}destroy(){}destroyNode=null;createElement(a,u){return u?this.doc.createElementNS(ze[u]||u,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,u){(nt(a)?a.content:a).appendChild(u)}insertBefore(a,u,E){a&&(nt(a)?a.content:a).insertBefore(u,E)}removeChild(a,u){u.remove()}selectRootElement(a,u){let E="string"==typeof a?this.doc.querySelector(a):a;if(!E)throw new h.buA(-5104,!1);return u||(E.textContent=""),E}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,u,E,W){if(W){u=W+":"+u;const te=ze[W];te?a.setAttributeNS(te,u,E):a.setAttribute(u,E)}else a.setAttribute(u,E)}removeAttribute(a,u,E){if(E){const W=ze[E];W?a.removeAttributeNS(W,u):a.removeAttribute(`${E}:${u}`)}else a.removeAttribute(u)}addClass(a,u){a.classList.add(u)}removeClass(a,u){a.classList.remove(u)}setStyle(a,u,E,W){W&(T.czy.DashCase|T.czy.Important)?a.style.setProperty(u,E,W&T.czy.Important?"important":""):a.style[u]=E}removeStyle(a,u,E){E&T.czy.DashCase?a.style.removeProperty(u):a.style[u]=""}setProperty(a,u,E){null!=a&&(a[u]=E)}setValue(a,u){a.nodeValue=u}listen(a,u,E,W){if("string"==typeof a&&!(a=(0,o.rb)().getGlobalEventTarget(this.doc,a)))throw new h.buA(5102,!1);let te=this.decoratePreventDefault(E);return this.tracingService?.wrapEventListener&&(te=this.tracingService.wrapEventListener(a,u,te)),this.eventManager.addEventListener(a,u,te,W)}decoratePreventDefault(a){return u=>{if("__ngUnwrap__"===u)return a;!1===a(u)&&u.preventDefault()}}}function nt(b){return"TEMPLATE"===b.tagName&&void 0!==b.content}class cn extends ve{sharedStylesHost;hostEl;shadowRoot;constructor(a,u,E,W,te,it,Nt,pn,jn){super(a,te,it,pn,jn),this.sharedStylesHost=u,this.hostEl=E,this.shadowRoot=E.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let Ki=W.styles;Ki=ae(W.id,Ki);for(const Br of Ki){const bs=document.createElement("style");Nt&&bs.setAttribute("nonce",Nt),bs.textContent=Br,this.shadowRoot.appendChild(bs)}const lr=W.getExternalStyles?.();if(lr)for(const Br of lr){const bs=Qe(Br,te);Nt&&bs.setAttribute("nonce",Nt),this.shadowRoot.appendChild(bs)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,u){return super.appendChild(this.nodeOrShadowRoot(a),u)}insertBefore(a,u,E){return super.insertBefore(this.nodeOrShadowRoot(a),u,E)}removeChild(a,u){return super.removeChild(null,u)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hn extends ve{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(a,u,E,W,te,it,Nt,pn,jn){super(a,te,it,Nt,pn),this.sharedStylesHost=u,this.removeStylesOnCompDestroy=W;let Ki=E.styles;this.styles=jn?ae(jn,Ki):Ki,this.styleUrls=E.getExternalStyles?.(jn)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===T.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class qt extends hn{contentAttr;hostAttr;constructor(a,u,E,W,te,it,Nt,pn,jn){const Ki=W+"-"+E.id;super(a,u,E,te,it,Nt,pn,jn,Ki),this.contentAttr=function q(b){return"_ngcontent-%COMP%".replace(Le,b)}(Ki),this.hostAttr=function de(b){return"_nghost-%COMP%".replace(Le,b)}(Ki)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,u){const E=super.createElement(a,u);return super.setAttribute(E,this.contentAttr,""),E}}class yt extends o.qj{supportsDOMEvents=!0;static makeCurrent(){(0,o.ig)(new yt)}onAndCancel(a,u,E,W){return a.addEventListener(u,E,W),()=>{a.removeEventListener(u,E,W)}}dispatchEvent(a,u){a.dispatchEvent(u)}remove(a){a.remove()}createElement(a,u){return(u=u||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,u){return"window"===u?window:"document"===u?a:"body"===u?a.body:null}getBaseHref(a){const u=function Ie(){return wt=wt||document.head.querySelector("base"),wt?wt.getAttribute("href"):null}();return null==u?null:function ie(b){return new URL(b,document.baseURI).pathname}(u)}resetBaseElement(){wt=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return(0,s.b)(document.cookie,a)}}let wt=null,rt=(()=>{class b{build(){return new XMLHttpRequest}static \u0275fac=function(E){return new(E||b)};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();const Ze=["alt","control","meta","shift"],We={"\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"},Ot={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let Me=(()=>{class b extends k{constructor(u){super(u)}supports(u){return null!=b.parseEventName(u)}addEventListener(u,E,W,te){const it=b.parseEventName(E),Nt=b.eventCallback(it.fullKey,W,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.rb)().onAndCancel(u,it.domEventName,Nt,te))}static parseEventName(u){const E=u.toLowerCase().split("."),W=E.shift();if(0===E.length||"keydown"!==W&&"keyup"!==W)return null;const te=b._normalizeKey(E.pop());let it="",Nt=E.indexOf("code");if(Nt>-1&&(E.splice(Nt,1),it="code."),Ze.forEach(jn=>{const Ki=E.indexOf(jn);Ki>-1&&(E.splice(Ki,1),it+=jn+".")}),it+=te,0!=E.length||0===te.length)return null;const pn={};return pn.domEventName=W,pn.fullKey=it,pn}static matchEventFullKeyCode(u,E){let W=We[u.key]||u.key,te="";return E.indexOf("code.")>-1&&(W=u.code,te="code."),!(null==W||!W)&&(W=W.toLowerCase()," "===W?W="space":"."===W&&(W="dot"),Ze.forEach(it=>{it!==W&&(0,Ot[it])(u)&&(te+=it+".")}),te+=W,te===E)}static eventCallback(u,E,W){return te=>{b.matchEventFullKeyCode(te,u)&&W.runGuarded(()=>E(te))}}static _normalizeKey(u){return"esc"===u?"escape":u}static \u0275fac=function(E){return new(E||b)(h.KVO(h.qQL))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();const Tn=(0,M.oH4)(M.fpN,"browser",[{provide:T.Agw,useValue:y.AJ},{provide:T.PLl,useValue:function mr(){yt.makeCurrent()},multi:!0},{provide:h.qQL,useFactory:function Oi(){return(0,T._9u)(document),document}}]),_=[{provide:T.$Ln,useClass:class je{addToWindow(a){h.laP.getAngularTestability=(E,W=!0)=>{const te=a.findTestabilityInTree(E,W);if(null==te)throw new h.buA(5103,!1);return te},h.laP.getAllAngularTestabilities=()=>a.getAllTestabilities(),h.laP.getAllAngularRootElements=()=>a.getAllRootElements(),h.laP.frameworkStabilizers||(h.laP.frameworkStabilizers=[]),h.laP.frameworkStabilizers.push(E=>{const W=h.laP.getAllAngularTestabilities();let te=W.length;const it=function(){te--,0==te&&E()};W.forEach(Nt=>{Nt.whenStable(it)})})}
1findTestabilityInTree(a,u,E){return null==u?null:a.getTestability(u)??(E?(0,o.rb)().isShadowRoot(u)?this.findTestabilityInTree(a,u.host,!0):this.findTestabilityInTree(a,u.parentElement,!0):null)}}},{provide:T.dOL,useClass:T.NYb,deps:[T.SKi,T.giA,T.$Ln]},{provide:T.NYb,useClass:T.NYb,deps:[T.SKi,T.giA,T.$Ln]}],Qn=[{provide:h.GBX,useValue:"root"},{provide:h.zcH,useFactory:function Bn(){return new h.zcH}},{provide:B,useClass:H,multi:!0,deps:[h.qQL]},{provide:B,useClass:Me,multi:!0,deps:[h.qQL]},Ne,Xe,x,{provide:T._9s,useExisting:Ne},{provide:s.N,useClass:rt},[]];let di=(()=>{class b{constructor(){}static \u0275fac=function(E){return new(E||b)};static \u0275mod=T.$C({type:b});static \u0275inj=h.G2t({providers:[...Qn,..._],imports:[v.MD,M.Hbi]})}return b})();var ai=d(5323),pi=d(9330),Vi=d(1098),ii=d(8132),rr=d(1515),Sn=d(467),ci=d(5312),Un=d(843),fr=d(1547);let Vt=(()=>{var b;class a{constructor(E,W){this.site=E,this.cart=W}canActivate(E,W){var te=this;return new Promise(function(){var it=(0,Sn.A)(function*(Nt){te.site.title="\u8001\u5be6\u8fb2\u5834",te.site.RootPath="/",te.site.linebotId="1657077751",te.site.apiUrl="https://bananas-gateway-nyd76tjjeq-de.a.run.app",te.site.webSiteUrl="https://shop.earnestfarm.com.tw",te.site.registerBackUrl="productCategory",te.cart.tcatCustomerId="5589636901",te.cart.tcatEmapServiceUrl="https://appservice.ezcat.com.tw/Map.aspx",te.cart.tcatApiUrl="https://api.suda.com.tw/api/Egs/",te.cart.tcatCustomerToken="buchr9mc",te.site.LIFF_URL="https://member-card--earnest-farm-01091500-bmoze5kt.web.app/%E8%80%81%E5%AF%A6%E8%BE%B2%E5%A0%B4",te.cart.ecbypassMapServiceUrl="https://www.ecbypass.com.tw/api/v1/COLD_MAP/index.php",te.cart.ecbypassApiKey="7337734276336B095B70AE",te.cart.ecbypassEshopId="0079","localhost"===location.hostname&&(te.site.RootPath="/earnest-farm"),location.hostname.endsWith("beta.apiplus.tw")&&(te.site.webSiteUrl="https://yoshin.beta.apiplus.tw/earnest-farm",te.site.linebotId=ci.c.lineBot.id,te.site.mode="dev",te.site.gmbioLineAPI="http://localhost:8090/api/line",te.cart.tcatApiUrl="http://apitestsuda.southeastasia.cloudapp.azure.com:8081/api/Egs/",te.cart.tcatEmapServiceUrl="http://ezcattest.cloudapp.net:12656/Map.aspx",te.cart.tcatCustomerToken="x0788uwa",te.cart.ecbypassMapServiceUrl="https://www.ecbypass.com.tw/api/v1/COLD_MAP/index.php",te.cart.ecbypassApiKey="7337734276336B095B70AE",te.cart.ecbypassEshopId="0079",console.log("[EarnestFarmGuard]this.site.linebotId :>> ",te.site.linebotId)),yield te.site.getLINEBot(te.site.linebotId),yield te.site.getContract(te.site.contractId),te.site.storageGet("user")&&(te.site.lineUser=JSON.parse(te.site.storageGet("user")),yield te.site.loadLoginUser(),yield te.cart.init()),Nt(!0)});return function(Nt){return it.apply(this,arguments)}}())}static#e=b=()=>(this.\u0275fac=function(W){return new(W||a)(h.KVO(Un.T),h.KVO(fr.m))},this.\u0275prov=h.jDH({token:a,factory:a.\u0275fac,providedIn:"root"}))}return b(),a})(),un=[{path:"admin",loadChildren:()=>Promise.all([d.e(206),d.e(723)]).then(d.bind(d,4723)).then(b=>b.AdminModulesModule)},{path:"earnest-farm",loadChildren:()=>Promise.all([d.e(206),d.e(347)]).then(d.bind(d,6347)).then(b=>b.EarnestFarmModule),canActivate:[Vt]},{path:"api/line/callback",component:rr.v}];["earnest-farm.web.app","shop.earnestfarm.com.tw","kevin.beta.apiplus.tw"].includes(location.hostname)&&(un=[{path:"",loadChildren:()=>Promise.all([d.e(206),d.e(347)]).then(d.bind(d,6347)).then(b=>b.EarnestFarmModule),canActivate:[Vt]},{path:"api/line/callback",component:rr.v},{path:"api/ecByPass/mapReplyURL",component:Vi.r}]);let xe=(()=>{var b;class a{static#e=b=()=>(this.\u0275fac=function(W){return new(W||a)},this.\u0275mod=T.$C({type:a}),this.\u0275inj=h.G2t({imports:[ii.iI.forRoot(un,{scrollPositionRestoration:"enabled"}),ii.iI]}))}return b(),a})();var z=d(3694),Ee=d(6554);let Ce=(()=>{var b;class a{constructor(){this.favIcon=document.querySelector("#appIcon"),this.pathnames=window.location.pathname.split("/")}ngOnInit(){("localhost"===location.hostname||location.hostname.endsWith("beta.apiplus.tw"))&&(this.favIcon.href="assets/"+this.pathnames[1]+"/images/favicon/16.png")}static#e=b=()=>(this.\u0275fac=function(W){return new(W||a)},this.\u0275cmp=T.VBU({type:a,selectors:[["app-root"]],standalone:!1,decls:4,vars:0,consts:[["bdColor","rgba(0, 0, 0, 0.7)","size","medium","color","#fff","type","timer"],[2,"color","white"]],template:function(W,te){1&W&&(T.nrm(0,"router-outlet"),T.j41(1,"ngx-spinner",0)(2,"p",1),T.
1EFF(3," \u8655\u7406\u4e2d... "),T.k0s()())},dependencies:[z.n3,Ee.et],encapsulation:2}))}return b(),a})();var Ue=d(7440),Tt=d(5407),fe=d(7673),we=d(5964),_e=d(5558),L=d(6354),j=d(1985),X=d(8750),qe=d(1413),Yt=d(9974),On=d(4360);var Qi=d(1397),Tr=d(3294),Er=d(9172),_n=d(3946),an=d(7037),Pt=d(345),ke=d(1631),De=d(5398),_t=d(1871),et=d(8779),Rn=d(6749);const ft="@firebase/installations",Bt="0.6.18",Ti=`w:${Bt}`,Ai=new _t.FA("installations","Installations",{"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."});function ki(b){return b instanceof _t.g&&b.code.includes("request-failed")}function _r({projectId:b}){return`https://firebaseinstallations.googleapis.com/v1/projects/${b}/installations`}function Cr(b){return{token:b.token,requestStatus:2,expiresIn:po(b.expiresIn),creationTime:Date.now()}}function Hr(b,a){return $r.apply(this,arguments)}function $r(){return($r=(0,Sn.A)(function*(b,a){const E=(yield a.json()).error;return Ai.create("request-failed",{requestName:b,serverCode:E.code,serverMessage:E.message,serverStatus:E.status})})).apply(this,arguments)}function Ns({apiKey:b}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":b})}function Xs(b){return Fs.apply(this,arguments)}function Fs(){return(Fs=(0,Sn.A)(function*(b){const a=yield b();return a.status>=500&&a.status<600?b():a})).apply(this,arguments)}function po(b){return Number(b.replace("s","000"))}function Pn(){return(Pn=(0,Sn.A)(function*({appConfig:b,heartbeatServiceProvider:a},{fid:u}){const E=_r(b),W=Ns(b),te=a.getImmediate({optional:!0});if(te){const jn=yield te.getHeartbeatsHeader();jn&&W.append("x-firebase-client",jn)}const Nt={method:"POST",headers:W,body:JSON.stringify({fid:u,authVersion:"FIS_v2",appId:b.appId,sdkVersion:Ti})},pn=yield Xs(()=>fetch(E,Nt));if(pn.ok){const jn=yield pn.json();return{fid:jn.fid||u,registrationStatus:2,refreshToken:jn.refreshToken,authToken:Cr(jn.authToken)}}throw yield Hr("Create Installation",pn)})).apply(this,arguments)}function vi(b){return new Promise(a=>{setTimeout(a,b)})}const Jt=/^[cdef][\w-]{21}$/;function Q(){try{const b=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(b),b[0]=112+b[0]%16;const u=function st(b){return function Ni(b){return btoa(String.fromCharCode(...b)).replace(/\+/g,"-").replace(/\//g,"_")}(b).substr(0,22)}(b);return Jt.test(u)?u:""}catch{return""}}function ot(b){return`${b.appName}!${b.appId}`}const bn=new Map;function _i(b,a){const u=ot(b);to(u,a),function Ho(b,a){const u=function ia(){return!Co&&"BroadcastChannel"in self&&(Co=new BroadcastChannel("[Firebase] FID Change"),Co.onmessage=b=>{to(b.data.key,b.data.fid)}),Co}();u&&u.postMessage({key:b,fid:a}),function Dt(){0===bn.size&&Co&&(Co.close(),Co=null)}()}(u,a)}function to(b,a){const u=bn.get(b);if(u)for(const E of u)E(a)}let Co=null;const sn="firebase-installations-store";let dt=null;function qi(){return dt||(dt=(0,Rn.P2)("firebase-installations-database",1,{upgrade:(b,a)=>{0===a&&b.createObjectStore(sn)}})),dt}function br(b,a){return $i.apply(this,arguments)}function $i(){return($i=(0,Sn.A)(function*(b,a){const u=ot(b),W=(yield qi()).transaction(sn,"readwrite"),te=W.objectStore(sn),it=yield te.get(u);return yield te.put(a,u),yield W.done,(!it||it.fid!==a.fid)&&_i(b,a.fid),a})).apply(this,arguments)}function Es(b){return Mn.apply(this,arguments)}function Mn(){return(Mn=(0,Sn.A)(function*(b){const a=ot(b),E=(yield qi()).transaction(sn,"readwrite");yield E.objectStore(sn).delete(a),yield E.done})).apply(this,arguments)}function Fn(b,a){return Vn.apply(this,arguments)}function Vn(){return(Vn=(0,Sn.A)(function*(b,a){const u=ot(b),W=(yield qi()).transaction(sn,"readwrite"),te=W.objectStore(sn),it=yield te.get(u),Nt=a(it);return void 0===Nt?yield te.delete(u):yield te.put(Nt,u),yield W.done,Nt&&(!it||it.fi
1d!==Nt.fid)&&_i(b,Nt.fid),Nt})).apply(this,arguments)}function Ii(b){return Ui.apply(this,arguments)}function Ui(){return Ui=(0,Sn.A)(function*(b){let a;const u=yield Fn(b.appConfig,E=>{const W=function Rr(b){return As(b||{fid:Q(),registrationStatus:0})}(E),te=function fs(b,a){if(0===a.registrationStatus){if(!navigator.onLine)return{installationEntry:a,registrationPromise:Promise.reject(Ai.create("app-offline"))};const u={fid:a.fid,registrationStatus:1,registrationTime:Date.now()},E=function Rs(b,a){return ls.apply(this,arguments)}(b,u);return{installationEntry:u,registrationPromise:E}}return 1===a.registrationStatus?{installationEntry:a,registrationPromise:ds(b)}:{installationEntry:a}}(b,W);return a=te.registrationPromise,te.installationEntry});return""===u.fid?{installationEntry:yield a}:{installationEntry:u,registrationPromise:a}}),Ui.apply(this,arguments)}function ls(){return ls=(0,Sn.A)(function*(b,a){try{const u=yield function as(b,a){return Pn.apply(this,arguments)}(b,a);return br(b.appConfig,u)}catch(u){throw ki(u)&&409===u.customData.serverCode?yield Es(b.appConfig):yield br(b.appConfig,{fid:a.fid,registrationStatus:0}),u}}),ls.apply(this,arguments)}function ds(b){return Jo.apply(this,arguments)}function Jo(){return(Jo=(0,Sn.A)(function*(b){let a=yield Zo(b.appConfig);for(;1===a.registrationStatus;)yield vi(100),a=yield Zo(b.appConfig);if(0===a.registrationStatus){const{installationEntry:u,registrationPromise:E}=yield Ii(b);return E||u}return a})).apply(this,arguments)}function Zo(b){return Fn(b,a=>{if(!a)throw Ai.create("installation-not-found");return As(a)})}function As(b){return function kl(b){return 1===b.registrationStatus&&b.registrationTime+1e4<Date.now()}(b)?{fid:b.fid,registrationStatus:0}:b}function xt(){return(xt=(0,Sn.A)(function*({appConfig:b,heartbeatServiceProvider:a},u){const E=function kn(b,{fid:a}){return`${_r(b)}/${a}/authTokens:generate`}(b,u),W=function Cs(b,{refreshToken:a}){const u=Ns(b);return u.append("Authorization",function Ks(b){return`FIS_v2 ${b}`}(a)),u}(b,u),te=a.getImmediate({optional:!0});if(te){const jn=yield te.getHeartbeatsHeader();jn&&W.append("x-firebase-client",jn)}const Nt={method:"POST",headers:W,body:JSON.stringify({installation:{sdkVersion:Ti,appId:b.appId}})},pn=yield Xs(()=>fetch(E,Nt));if(pn.ok)return Cr(yield pn.json());throw yield Hr("Generate Auth Token",pn)})).apply(this,arguments)}function Hn(b){return fi.apply(this,arguments)}function fi(){return fi=(0,Sn.A)(function*(b,a=!1){let u;const E=yield Fn(b.appConfig,te=>{if(!Gr(te))throw Ai.create("not-registered");const it=te.authToken;if(!a&&function lo(b){return 2===b.requestStatus&&!function ms(b){const a=Date.now();
1return a<b.creationTime||b.creationTime+b.expiresIn<a+36e5}(b)}(it))return te;if(1===it.requestStatus)return u=function Hi(b,a){return ur.apply(this,arguments)}(b,a),te;{if(!navigator.onLine)throw Ai.create("app-offline");const Nt=function Gs(b){const a={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},b),{authToken:a})}(te);return u=function Or(b,a){return is.apply(this,arguments)}(b,Nt),Nt}});return u?yield u:E.authToken}),fi.apply(this,arguments)}function ur(){return(ur=(0,Sn.A)(function*(b,a){let u=yield Lr(b.appConfig);for(;1===u.authToken.requestStatus;)yield vi(100),u=yield Lr(b.appConfig);const E=u.authToken;return 0===E.requestStatus?Hn(b,a):E})).apply(this,arguments)}function Lr(b){return Fn(b,a=>{if(!Gr(a))throw Ai.create("not-registered");return function No(b){return 1===b.requestStatus&&b.requestTime+1e4<Date.now()}(a.authToken)?Object.assign(Object.assign({},a),{authToken:{requestStatus:0}}):a})}function is(){return is=(0,Sn.A)(function*(b,a){try{const u=yield function Ct(b,a){return xt.apply(this,arguments)}(b,a),E=Object.assign(Object.assign({},a),{authToken:u});return yield br(b.appConfig,E),u}catch(u){if(!ki(u)||401!==u.customData.serverCode&&404!==u.customData.serverCode){const E=Object.assign(Object.assign({},a),{authToken:{requestStatus:0}});yield br(b.appConfig,E)}else yield Es(b.appConfig);throw u}}),is.apply(this,arguments)}function Gr(b){return void 0!==b&&2===b.registrationStatus}function Oo(){return(Oo=(0,Sn.A)(function*(b){const a=b,{installationEntry:u,registrationPromise:E}=yield Ii(a);return E?E.catch(console.error):Hn(a).catch(console.error),u.fid})).apply(this,arguments)}function Js(){return Js=(0,Sn.A)(function*(b,a=!1){const u=b;return yield function ko(b){return Uo.apply(this,arguments)}(u),(yield Hn(u,a)).token}),Js.apply(this,arguments)}function Uo(){return(Uo=(0,Sn.A)(function*(b){const{registrationPromise:a}=yield Ii(b);a&&(yield a)})).apply(this,arguments)}function Us(b){return Ai.create("missing-app-config-values",{valueName:b})}const Ps="installations",ea=b=>{const a=b.getProvider("app").getImmediate(),u=function wl(b){if(!b||!b.options)throw Us("App Configuration");if(!b.name)throw Us("App Name");const a=["projectId","apiKey","appId"];for(const u of a)if(!b.options[u])throw Us(u);return{appName:b.name,projectId:b.options.projectId,apiKey:b.options.apiKey,appId:b.options.appId}}(a);return{app:a,appConfig:u,heartbeatServiceProvider:(0,ke._getProvider)(a,"heartbeat"),_delete:()=>Promise.resolve()}},Os=b=>{const a=b.getProvider("app").getImmediate(),u=(0,ke._getProvider)(a,Ps).getImmediate();return{getId:()=>function Do(b){return Oo.apply(this,arguments)}(u),getToken:W=>function qo(b){return Js.apply(this,arguments)}(u,W)}};(function pl(){(0,ke._registerComponent)(new et.uA(Ps,ea,"PUBLIC")),(0,ke._registerComponent)(new et.uA("installations-internal",Os,"PRIVATE"))})(),(0,ke.registerVersion)(ft,Bt),(0,ke.registerVersion)(ft,Bt,"esm2017");const pa="analytics",tl="https://www.googletagmanager.com/gtag/js",tt=new De.Vy("@firebase/analytics"),pe=new _t.FA("analytics","Analytics",{"already-exists":"A Firebase Analytics instance with the appId {$id} already exists. Only one Firebase Analytics instance can be created for each appId.","already-initialized":"initializeAnalytics() cannot be called again with different options than those it was initially called with. It can be called again with the same options to return the existing instance, or getAnalytics() can be used to get a reference to the already-initialized instance.","already-initialized-settings":"Firebase Analytics has already been initialized.settings() must be called before initializing any Analytics instanceor it will have no effect.","interop-component-reg-failed":"Firebase Analytics Interop Component failed to instantiate: {$reason}","invalid-analytics-context":"Firebase Analytics is not supported in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","indexeddb-unavailable":"IndexedDB unavailable or restricted in this environment. Wrap initialization of analytics in analytics.isSupported() to prevent initialization in unsupported environments. Details: {$errorInfo}","fetch-throttle":"The config fetch request timed out while in an exponential backoff state. Unix timestamp in milliseconds when fetch request throttling ends: {$throttleEndTimeMillis}.","config-fetch-failed":"Dynamic config fetch failed: [{$httpStatus}] {$responseMessage}","no-api-key":'The "apiKey" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid API key.',"no-app-id":'The "appId" field is empty in the local Firebase config. Firebase Analytics requires this field tocontain a valid app ID.',"no-client-id":'The "client_id" field is empty.',"invali
1d-gtag-resource":"Trusted Types detected an invalid gtag resource: {$gtagURL}."});function Gt(b){if(!b.startsWith(tl)){const a=pe.create("invalid-gtag-resource",{gtagURL:b});return tt.warn(a.message),""}return b}function Ln(b){return Promise.all(b.map(a=>a.catch(u=>u)))}function Da(){return(Da=(0,Sn.A)(function*(b,a,u,E,W,te){const it=E[W];try{if(it)yield a[it];else{const pn=(yield Ln(u)).find(jn=>jn.measurementId===W);pn&&(yield a[pn.appId])}}catch(Nt){tt.error(Nt)}b("config",W,te)})).apply(this,arguments)}function ja(){return(ja=(0,Sn.A)(function*(b,a,u,E,W){try{let te=[];if(W&&W.send_to){let it=W.send_to;Array.isArray(it)||(it=[it]);const Nt=yield Ln(u);for(const pn of it){const jn=Nt.find(lr=>lr.measurementId===pn),Ki=jn&&a[jn.appId];if(!Ki){te=[];break}te.push(Ki)}}0===te.length&&(te=Object.values(a)),yield Promise.all(te),b("event",E,W||{})}catch(te){tt.error(te)}})).apply(this,arguments)}const En=new class ct{constructor(a={},u=1e3){this.throttleMetadata=a,this.intervalMillis=u}getThrottleMetadata(a){return this.throttleMetadata[a]}setThrottleMetadata(a,u){this.throttleMetadata[a]=u}deleteThrottleMetadata(a){delete this.throttleMetadata[a]}};function oi(b){return new Headers({Accept:"application/json","x-goog-api-key":b})}function Xr(){return(Xr=(0,Sn.A)(function*(b){var a;const{appId:u,apiKey:E}=b,W={method:"GET",headers:oi(E)},te="https://firebase.googleapis.com/v1alpha/projects/-/apps/{app-id}/webConfig".replace("{app-id}",u),it=yield fetch(te,W);if(200!==it.status&&304!==it.status){let Nt="";try{const pn=yield it.json();null!==(a=pn.error)&&void 0!==a&&a.message&&(Nt=pn.error.message)}catch{}throw pe.create("config-fetch-failed",{httpStatus:it.status,responseMessage:Nt})}return it.json()})).apply(this,arguments)}function ri(){return(ri=(0,Sn.A)(function*(b,a=En,u){const{appId:E,apiKey:W,measurementId:te}=b.options;if(!E)throw pe.create("no-app-id");if(!W){if(te)return{measurementId:te,appId:E};throw pe.create("no-api-key")}const it=a.getThrottleMetadata(E)||{backoffCount:0,throttleEndTimeMillis:Date.now()},Nt=new Qs;return setTimeout((0,Sn.A)(function*(){Nt.abort()}),void 0!==u?u:6e4),nr({appId:E,apiKey:W,measurementId:te},it,Nt,a)})).apply(this,arguments)}function nr(b,a,u){return Pi.apply(this,arguments)}function Pi(){return Pi=(0,Sn.A)(function*(b,{throttleEndTimeMillis:a,backoffCount:u},E,W=En){var te;const{appId:it,measurementId:Nt}=b;try{yield function Nr(b,a){return new Promise((u,E)=>{const W=Math.max(a-Date.now(),0),te=setTimeout(u,W);b.addEventListener(()=>{clearTimeout(te),E(pe.create("fetch-throttle",{throttleEndTimeMillis:a}))})})}(E,a)}catch(pn){if(Nt)return tt.warn(`Timed out fetching this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Nt} provided in the "measurementId" field in the local Firebase config. [${pn?.message}]`),{appId:it,measurementId:Nt};throw pn}try{const pn=yield function yr(b){return Xr.apply(this,arguments)}(b);return W.deleteThrottleMetadata(it),pn}catch(pn){const jn=pn;if(!function Bs(b){if(!(b instanceof _t.g&&b.customData))return!1;const a=Number(b.customData.httpStatus);return 429===a||500===a||503===a||504===a}(jn)){if(W.deleteThrottleMetadata(it),Nt)return tt.warn(`Failed to fetch this Firebase app's measurement ID from the server. Falling back to the measurement ID ${Nt} provided in the "measurementId" field in the local Firebase config. [${jn?.message}]`),{appId:it,measurementId:Nt};throw pn}const Ki=503===Number(null===(te=jn?.customData)||void 0===te?void 0:te.httpStatus)?(0,_t.p9)(u,W.intervalMillis,30):(0,_t.p9)(u,W.intervalMillis),lr={throttleEndTimeMillis:Date.now()+Ki,backoffCount:u+1};return W.setThrottleMetadata(it,lr),tt.debug(`Calling attemptFetch again in ${Ki} millis`),nr(b,lr,E,W)}}),Pi.apply(this,arguments)}class Qs{constructor(){this.listeners=[]}addEventListener(a){this.listeners.push(a)}abort(){this.listeners.forEach(a=>a())}}let qs,gl;function dc(){return(dc=(0,Sn.A)(function*(b,a,u,E,W){if(W&&W.global)b("event",u,E);else{const te=yield a;b("event",u,Object.assign(Object.assign({},E),{send_to:te}))}})).apply(this,arguments)}function uc(){return(uc=(0,Sn.A)(function*(b,a,u,E){if(E&&E.global)return b("set",{user_id:u}),Promise.resolve();b("config",yield a,{update:!0,user_id:u})})).apply(this,arguments)}function Ws(){return(Ws=(0,Sn.A)(function*(){if(!(0,_t.zW)())return tt.warn(pe.create("indexeddb-unavailable",{errorInfo:"IndexedDB is not available in this environment."}).message),!1;try{yield(0,_t.eX)()}catch(b){return tt.warn(pe.create("indexeddb-unavailable",{errorInfo:b?.toString()}).message),!1}return!0})).apply(this,arguments)}function Fa(){return Fa=(0,Sn.A)(function*(b,a,u,E,W,te,it){var Nt;
1const pn=function ho(b){return ri.apply(this,arguments)}(b);pn.then(bs=>{u[bs.measurementId]=bs.appId,b.options.measurementId&&bs.measurementId!==b.options.measurementId&&tt.warn(`The measurement ID in the local Firebase config (${b.options.measurementId}) does not match the measurement ID fetched from the server (${bs.measurementId}). To ensure analytics events are always sent to the correct Analytics property, update the measurement ID field in the local config or remove it from the local config.`)}).catch(bs=>tt.error(bs)),a.push(pn);const jn=function Ac(){return Ws.apply(this,arguments)}().then(bs=>{if(bs)return E.getId()}),[Ki,lr]=yield Promise.all([pn,jn]);(function Ra(b){const a=window.document.getElementsByTagName("script");for(const u of Object.values(a))if(u.src&&u.src.includes(tl)&&u.src.includes(b))return u;return null})(te)||function Ds(b,a){const u=function Qr(b,a){let u;return window.trustedTypes&&(u=window.trustedTypes.createPolicy(b,a)),u}("firebase-js-sdk-policy",{createScriptURL:Gt}),E=document.createElement("script"),W=`${tl}?l=${b}&id=${a}`;E.src=u?u?.createScriptURL(W):W,E.async=!0,document.head.appendChild(E)}(te,Ki.measurementId),gl&&(W("consent","default",gl),function dl(b){gl=b}(void 0)),W("js",new Date);const Br=null!==(Nt=it?.config)&&void 0!==Nt?Nt:{};return Br.origin="firebase",Br.update=!0,null!=lr&&(Br.firebase_id=lr),W("config",Ki.measurementId,Br),qs&&(W("set",qs),function mc(b){qs=b}(void 0)),Ki.measurementId}),Fa.apply(this,arguments)}class Ll{constructor(a){this.app=a}_delete(){return delete Go[this.app.options.appId],Promise.resolve()}}let Go={},kc=[];const vl={};let vs,ha,Tl="dataLayer",Pa=!1;function cd(b,a,u){!function $c(){const b=[];if((0,_t.sr)()&&b.push("This is a browser extension environment."),(0,_t.dM)()||b.push("Cookies are not available."),b.length>0){const a=b.map((E,W)=>`(${W+1}) ${E}`).join(" "),u=pe.create("invalid-analytics-context",{errorInfo:a});tt.warn(u.message)}}();const E=b.options.appId;if(!E)throw pe.create("no-app-id");if(!b.options.apiKey){if(!b.options.measurementId)throw pe.create("no-api-key");tt.warn(`The "apiKey" field is empty in the local Firebase config. This is needed to fetch the latest measurement ID for this Firebase app. Falling back to the measurement ID ${b.options.measurementId} provided in the "measurementId" field in the local Firebase config.`)}if(null!=Go[E])throw pe.create("already-exists",{id:E});if(!Pa){!function _o(b){let a=[];Array.isArray(window[b])?a=window[b]:window[b]=a}(Tl);const{wrappedGtag:te,gtagCore:it}=function cl(b,a,u,E,W){let te=function(...it){window[E].push(arguments)};return window[W]&&"function"==typeof window[W]&&(te=window[W]),window[W]=function Ya(b,a,u,E){function te(){return te=(0,Sn.A)(function*(it,...Nt){try{if("event"===it){const[pn,jn]=Nt;yield function Ha(b,a,u,E,W){return ja.apply(this,arguments)}(b,a,u,pn,jn)}else if("config"===it){const[pn,jn]=Nt;yield function Yo(b,a,u,E,W,te){return Da.apply(this,arguments)}(b,a,u,E,pn,jn)}else if("consent"===it){const[pn,jn]=Nt;b("consent",pn,jn)}else if("get"===it){const[pn,jn,Ki]=Nt;b("get",pn,jn,Ki)}else if("set"===it){const[pn]=Nt;b("set",pn)}else b(it,...Nt)}catch(pn){tt.error(pn)}}),te.apply(this,arguments)}return function W(it){return te.apply(this,arguments)}}(te,b,a,u),{gtagCore:te,wrappedGtag:window[W]}}(Go,kc,vl,Tl,"gtag");ha=te,vs=it,Pa=!0}return Go[E]=function go(b,a,u,E,W,te,it){return Fa.apply(this,arguments)}(b,kc,vl,a,vs,Tl,u),new Ll(b)}function dd(){return xl.apply(this,arguments)}function xl(){return(xl=(0,Sn.A)(function*(){if((0,_t.sr)()||!(0,_t.dM)()||!(0,_t.zW)())return!1;try{return yield(0,_t.eX)()}catch{return!1}})).apply(this,arguments)}function zo(b,a,u){b=(0,_t.Ku)(b),function Sl(b,a,u,E){return uc.apply(this,arguments)}(ha,Go[b.app.options.appId],a,u).catch(E=>tt.error(E))}function Re(b,a,u,E){b=(0,_t.Ku)(b),function eo(b,a,u,E,W){return dc.apply(this,arguments)}(ha,Go[b.app.options.appId],a,u,E).catch(W=>tt.error(W))}const Xt="@firebase/analytics",Cn="0.10.17";!function mi(){(0,ke._registerComponent)(new et.uA(pa,(a,{options:u})=>cd(a.getProvider("app").getImmediate(),a.getProvider("installations-internal").getImmediate(),u),"PUBLIC")),(0,ke._registerComponent)(new et.uA("analytics-internal",function b(a){try{const u=a.getProvider(pa).getImmediate();return{logEvent:(E,W,te)=>Re(u,E,W,te)}}catch(u){throw pe.create("interop-component-reg-failed",{reason:u})}},"PRIVATE")),(0,ke.registerVersion)(Xt,Cn),(0,ke.registerVersion)(Xt,Cn,"esm2017")}();var Zi=d(6601),Ar=d(8742),Ur=d(1076),_a=d(8041),Ta=d(1635),Oa=d(1362);const $d=function Xl(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},Gc=new Ur.FA("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),Jl=new _a.Vy("@firebase/auth");function Oc(b,...a){Jl.logLevel<=_a.$b.ERROR&&Jl.error(`Auth (${Ar.SDK_VERSION}): ${b}`,...a)}function Ls(b,...a){throw en(b,...a)}function Vl(b,...a){return en(b,...a)}function Kt(b,a,u){const E=Object.assign(Object.assign({},$d()),{[a]:u});return new Ur.FA("auth","Firebase",E).create(a,{appName:b.name})}function ht(b){return Kt(b,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function en(b,...a){if("string"!=typeof b){const u=a[0],E=[...a.slice(1)];return E[0]&&(E[0].appName=b.name),b._errorFactory.create(u,...E)}return Gc.create(b,...a)}function Nn(b,a,...u){if(!b)throw en(a,...u)}function Si(b){const a="INTERNAL ASSERTION FAILED: "+b;throw Oc(a),new Error(a)}function vr(b,a){b||Si(a)}function rs(){var b;return typeof self<"u"&&(null===(b=self.location)||void 0===b?void 0:b.protocol)||null}class ta{constructor(a,u){this.shortDelay=a,this.longDelay=u,vr(u>
1a,"Short delay should be less than long delay!"),this.isMobile=(0,Ur.jZ)()||(0,Ur.lV)()}get(){return function co(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(function xr(){return"http:"===rs()||"https:"===rs()}()||(0,Ur.sr)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}class La{static initialize(a,u,E){this.fetchImpl=a,u&&(this.headersImpl=u),E&&(this.responseImpl=E)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:typeof globalThis<"u"&&globalThis.fetch?globalThis.fetch:typeof fetch<"u"?fetch:void Si("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:typeof globalThis<"u"&&globalThis.Headers?globalThis.Headers:typeof Headers<"u"?Headers:void Si("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:typeof globalThis<"u"&&globalThis.Response?globalThis.Response:typeof Response<"u"?Response:void Si("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const Il={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},xo=new ta(3e4,6e4);function es(b,a){return b.tenantId&&!a.tenantId?Object.assign(Object.assign({},a),{tenantId:b.tenantId}):a}function jo(b,a,u,E){return ul.apply(this,arguments)}function ul(){return(ul=(0,Sn.A)(function*(b,a,u,E,W={}){return pc(b,W,(0,Sn.A)(function*(){let te={},it={};E&&("GET"===a?it=E:te={body:JSON.stringify(E)});const Nt=(0,Ur.Am)(Object.assign({key:b.config.apiKey},it)).slice(1),pn=yield b._getAdditionalHeaders();pn["Content-Type"]="application/json",b.languageCode&&(pn["X-Firebase-Locale"]=b.languageCode);const jn=Object.assign({method:a,headers:pn},te);return(0,Ur.c1)()||(jn.referrerPolicy="no-referrer"),La.fetch()(Xa(b,b.config.apiHost,u,Nt),jn)}))})).apply(this,arguments)}function pc(b,a,u){return Ia.apply(this,arguments)}function Ia(){return(Ia=(0,Sn.A)(function*(b,a,u){b._canInitEmulator=!1;const E=Object.assign(Object.assign({},Il),a);try{const W=new _c(b),te=yield Promise.race([u(),W.promise]);W.clearNetworkTimeout();const it=yield te.json();if("needConfirmation"in it)throw gc(b,"account-exists-with-different-credential",it);if(te.ok&&!("errorMessage"in it))return it;{const Nt=te.ok?it.errorMessage:it.error.message,[pn,jn]=Nt.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===pn)throw gc(b,"credential-already-in-use",it);if("EMAIL_EXISTS"===pn)throw gc(b,"email-already-in-use",it);if("USER_DISABLED"===pn)throw gc(b,"user-disabled",it);const Ki=E[pn]||pn.toLowerCase().replace(/[_\s]+/g,"-");if(jn)throw Kt(b,Ki,jn);Ls(b,Ki)}}catch(W){if(W instanceof Ur.g)throw W;Ls(b,"network-request-failed",{message:String(W)})}})).apply(this,arguments)}function Xa(b,a,u,E){const W=`${a}${u}?${E}`;return b.config.emulator?function Ma(b,a){vr(b.emulator,"Emulator should always be set here");const{url:u}=b.emulator;return a?`${u}${a.startsWith("/")?a.slice(1):a}`:u}(b.config,W):`${b.config.apiScheme}://${W}`}class _c{constructor(a){this.auth=a,this.timer=null,this.promise=new Promise((u,E)=>{this.timer=setTimeout(()=>E(Vl(this.auth,"network-request-failed")),xo.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function gc(b,a,u){const E={appName:b.name};u.email&&(E.email=u.email),u.phoneNumber&&(E.phoneNumber=u.phoneNumber);const W=Vl(b,a,E);return W.customData._tokenResponse=u,W}function mn(){return(mn=(0,Sn.A)(function*(b,a){return jo(b,"POST","/v1/accounts:delete",a)})).apply(this,arguments)}function Fr(b,a){return vo.apply(this,arguments)}function vo(){return(vo=(0,Sn.A)(function*(b,a){return jo(b,"POST","/v1/accounts:lookup",a)})).apply(this,arguments)}function Bo(b){if(b)try{const a=new Date(Number(b));if(!isNaN(a.getTime()))return a.toUTCString()}catch{}}function Ja(){return(Ja=(0,Sn.A)(function*(b,a=!1){const u=(0,Ur.Ku)(b),E=yield u.getIdToken(a),W=Kd(E);Nn(W&&W.exp&&W.auth_time&&W.iat,u.auth,"internal-error");const te="object"==typeof W.firebase?W.firebase:void 0,it=te?.sign_in_provider;return{claims:W,token:E,authTime:Bo(Nd(W.auth_time)),issuedAtTime:Bo(Nd(W.iat)),expirationTime:Bo(Nd(W.exp)),signInProvider:it||null,signInSecondFactor:te?.sign_in_second_factor||null}})).apply(this,arguments)}function Nd(b){return 1e3*Number(b)}
1function Kd(b){const[a,u,E]=b.split(".");if(void 0===a||void 0===u||void 0===E)return Oc("JWT malformed, contained fewer than 3 sections"),null;try{const W=(0,Ur.u)(u);return W?JSON.parse(W):(Oc("Failed to decode base64 JWT payload"),null)}catch(W){return Oc("Caught error parsing JWT payload as JSON",W?.toString()),null}}function Mu(b){const a=Kd(b);return Nn(a,"internal-error"),Nn(typeof a.exp<"u","internal-error"),Nn(typeof a.iat<"u","internal-error"),Number(a.exp)-Number(a.iat)}function Ua(b,a){return Lc.apply(this,arguments)}function Lc(){return(Lc=(0,Sn.A)(function*(b,a,u=!1){if(u)return a;try{return yield a}catch(E){throw E instanceof Ur.g&&function Qd({code:b}){return"auth/user-disabled"===b||"auth/user-token-expired"===b}(E)&&b.auth.currentUser===b&&(yield b.auth.signOut()),E}})).apply(this,arguments)}class Fd{constructor(a){this.user=a,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(a){var u;if(a){const E=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),E}{this.errorBackoff=3e4;const W=(null!==(u=this.user.stsTokenManager.expirationTime)&&void 0!==u?u:0)-Date.now()-3e5;return Math.max(0,W)}}schedule(a=!1){var u=this;if(!this.isRunning)return;const E=this.getInterval(a);this.timerId=setTimeout((0,Sn.A)(function*(){yield u.iteration()}),E)}iteration(){var a=this;return(0,Sn.A)(function*(){try{yield a.user.getIdToken(!0)}catch(u){return void("auth/network-request-failed"===u?.code&&a.schedule(!0))}a.schedule()})()}}class hd{constructor(a,u){this.createdAt=a,this.lastLoginAt=u,this._initializeTime()}_initializeTime(){this.lastSignInTime=Bo(this.lastLoginAt),this.creationTime=Bo(this.createdAt)}_copy(a){this.createdAt=a.createdAt,this.lastLoginAt=a.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function fd(b){return Nc.apply(this,arguments)}function Nc(){return(Nc=(0,Sn.A)(function*(b){var a;const u=b.auth,E=yield b.getIdToken(),W=yield Ua(b,Fr(u,{idToken:E}));Nn(W?.users.length,u,"internal-error");const te=W.users[0];b._notifyReloadListener(te);const it=null!==(a=te.providerUserInfo)&&void 0!==a&&a.length?Po(te.providerUserInfo):[],Nt=function wc(b,a){return[...b.filter(E=>!a.some(W=>W.providerId===E.providerId)),...a]}(b.providerData,it),Ki=!!b.isAnonymous&&!(b.email&&te.passwordHash||Nt?.length),lr={uid:te.localId,displayName:te.displayName||null,photoURL:te.photoUrl||null,email:te.email||null,emailVerified:te.emailVerified||!1,phoneNumber:te.phoneNumber||null,tenantId:te.tenantId||null,providerData:Nt,metadata:new hd(te.createdAt,te.lastLoginAt),isAnonymous:Ki};Object.assign(b,lr)})).apply(this,arguments)}function Dc(){return(Dc=(0,Sn.A)(function*(b){const a=(0,Ur.Ku)(b);yield fd(a),yield a.auth._persistUserIfCurrent(a),a.auth._notifyListenersIfCurrent(a)})).apply(this,arguments)}function Po(b){return b.map(a=>{var{providerId:u}=a,E=(0,Ta.Tt)(a,["providerId"]);return{providerId:u,uid:E.rawId||"",displayName:E.displayName||null,email:E.email||null,phoneNumber:E.phoneNumber||null,photoURL:E.photoUrl||null}})}function J(){return(J=(0,Sn.A)(function*(b,a){const u=yield pc(b,{},(0,Sn.A)(function*(){const E=(0,Ur.Am)({grant_type:"refresh_token",refresh_token:a}).slice(1),{tokenApiHost:W,apiKey:te}=b.config,it=Xa(b,W,"/v1/token",`key=${te}`),Nt=yield b._getAdditionalHeaders();return Nt["Content-Type"]="application/x-www-form-urlencoded",La.fetch()(it,{method:"POST",headers:Nt,body:E})}));return{accessToken:u.access_token,expiresIn:u.expires_in,refreshToken:u.refresh_token}})).apply(this,arguments)}function mt(){return(mt=(0,Sn.A)(function*(b,a){return jo(b,"POST","/v2/accounts:revokeToken",es(b,a))})).apply(this,arguments)}class nn{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(a){Nn(a.idToken,"internal-error"),Nn(typeof a.idToken<"u","internal-error"),Nn(typeof a.refreshToken<"u","internal-error");const u="expiresIn"in a&&typeof a.expiresIn<"u"?Number(a.expiresIn):Mu(a.idToken);this.updateTokensAndExpiration(a.idToken,a.refreshToken,u)}updateFromIdToken(a){Nn(0!==a.length,"internal-error");const u=Mu(a);this.updateTokensAndExpiration(a,null,u)}getToken(a){var u=this;return(0,Sn.A)(function*(E,W=!1){return W||!u.accessToken||u.isExpired?(Nn(u.refreshToken,E,"user-token-expired"),u.refreshToken?(yield u.refresh(E,u.refreshToken),u.accessToken):null):u.accessToken}).apply(this,arguments)}clearRefreshToken(){this.refreshToken=null}refresh(a,u){var E=this;return(0,Sn.A)(function*(){const{accessToken:W,refreshToken:te,expires
1In:it}=yield function P(b,a){return J.apply(this,arguments)}(a,u);E.updateTokensAndExpiration(W,te,Number(it))})()}updateTokensAndExpiration(a,u,E){this.refreshToken=u||null,this.accessToken=a||null,this.expirationTime=Date.now()+1e3*E}static fromJSON(a,u){const{refreshToken:E,accessToken:W,expirationTime:te}=u,it=new nn;return E&&(Nn("string"==typeof E,"internal-error",{appName:a}),it.refreshToken=E),W&&(Nn("string"==typeof W,"internal-error",{appName:a}),it.accessToken=W),te&&(Nn("number"==typeof te,"internal-error",{appName:a}),it.expirationTime=te),it}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(a){this.accessToken=a.accessToken,this.refreshToken=a.refreshToken,this.expirationTime=a.expirationTime}_clone(){return Object.assign(new nn,this.toJSON())}_performRefresh(){return Si("not implemented")}}function qn(b,a){Nn("string"==typeof b||typeof b>"u","internal-error",{appName:a})}class Xi{constructor(a){var{uid:u,auth:E,stsTokenManager:W}=a,te=(0,Ta.Tt)(a,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new Fd(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=u,this.auth=E,this.stsTokenManager=W,this.accessToken=W.accessToken,this.displayName=te.displayName||null,this.email=te.email||null,this.emailVerified=te.emailVerified||!1,this.phoneNumber=te.phoneNumber||null,this.photoURL=te.photoURL||null,this.isAnonymous=te.isAnonymous||!1,this.tenantId=te.tenantId||null,this.providerData=te.providerData?[...te.providerData]:[],this.metadata=new hd(te.createdAt||void 0,te.lastLoginAt||void 0)}getIdToken(a){var u=this;return(0,Sn.A)(function*(){const E=yield Ua(u,u.stsTokenManager.getToken(u.auth,a));return Nn(E,u.auth,"internal-error"),u.accessToken!==E&&(u.accessToken=E,yield u.auth._persistUserIfCurrent(u),u.auth._notifyListenersIfCurrent(u)),E})()}getIdTokenResult(a){return function Ro(b){return Ja.apply(this,arguments)}(this,a)}reload(){return function va(b){return Dc.apply(this,arguments)}(this)}_assign(a){this!==a&&(Nn(this.uid===a.uid,this.auth,"internal-error"),this.displayName=a.displayName,this.photoURL=a.photoURL,this.email=a.email,this.emailVerified=a.emailVerified,this.phoneNumber=a.phoneNumber,this.isAnonymous=a.isAnonymous,this.tenantId=a.tenantId,this.providerData=a.providerData.map(u=>Object.assign({},u)),this.metadata._copy(a.metadata),this.stsTokenManager._assign(a.stsTokenManager))}_clone(a){const u=new Xi(Object.assign(Object.assign({},this),{auth:a,stsTokenManager:this.stsTokenManager._clone()}));return u.metadata._copy(this.metadata),u}_onReload(a){Nn(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=a,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(a){this.reloadListener?this.reloadListener(a):this.reloadUserInfo=a}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(a){var u=this;return(0,Sn.A)(function*(E,W=!1){let te=!1;E.idToken&&E.idToken!==u.stsTokenManager.accessToken&&(u.stsTokenManager.updateFromServerResponse(E),te=!0),W&&(yield fd(u)),yield u.auth._persistUserIfCurrent(u),te&&u.auth._notifyListenersIfCurrent(u)}).apply(this,arguments)}delete(){var a=this;return(0,Sn.A)(function*(){if((0,Ar._isFirebaseServerApp)(a.auth.app))return Promise.reject(ht(a.auth));const u=yield a.getIdToken();return yield Ua(a,function At(b,a){return mn.apply(this,arguments)}(a.auth,{idToken:u})),a.stsTokenManager.clearRefreshToken(),a.auth.signOut()})()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(a=>Object.assign({},a)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(a,u){var E,W,te,it,Nt,pn,jn,Ki;const lr=null!==(E=u.displayName)&&void 0!==E?E:void 0,Br=null!==(W=u.email)&&void 0!==W?W:void 0,bs=null!==(te=u.phoneNumber)&&void 0!==te?te:void 0,gs=null!==(it=u.photoURL)&&void 0!==it?it:void 0,$s=null!==(Nt=u.tenantId)&&void 0!==Nt?Nt:void 0,ka=null!==(pn=u._redirectEventId)&&void 0!==pn?pn:void 0,Yl=null!==(jn=u.createdAt)&&void 0!==jn?jn:void 0,Ol=null!==(Ki=u.lastLoginAt)&&void 0!==Ki?Ki:void 0,{uid:Od,emailVerified:Td,isAnonymous:jm,providerData:$u,stsTokenManager:Md}=u;Nn(Od&&Md,a,"internal-error");const lu=nn.fromJSON(this.name,Md);Nn("string"==typeof Od,a,"internal-error"),qn(lr,a.name),qn(Br,a.name),Nn("boolean"==typeof Td,a,"internal-error"),Nn("boolean"==typeof jm,a,"internal-error"),qn(bs,a.name),qn(gs,a.name),qn($s,a.name),qn(ka,a.name),qn(Yl,a.name),qn(Ol,a.name);const tf=new Xi({uid:Od,auth:a,email:Br,emailVerified:Td,displayName:lr,isAnonymous:jm,photoURL:gs,phoneNumber:bs,tenantId:$s,stsTokenManager:lu,createdAt:Yl,lastLoginAt:Ol});return $u&&Array.isArray($u)&&(tf.providerData=$u.map(Wm=>Object.assign({},Wm))),ka&&(tf._redirectEventId=ka),tf}static _fromIdTokenResponse(a,u){return(0,Sn.A)(function*(E,W,te=!1){const it=new nn;it.updateFromServerResponse(W);
1const Nt=new Xi({uid:W.localId,auth:E,stsTokenManager:it,isAnonymous:te});return yield fd(Nt),Nt}).apply(this,arguments)}static _fromGetAccountInfoResponse(a,u,E){return(0,Sn.A)(function*(){const W=u.users[0];Nn(void 0!==W.localId,"internal-error");const te=void 0!==W.providerUserInfo?Po(W.providerUserInfo):[],it=!(W.email&&W.passwordHash||te?.length),Nt=new nn;Nt.updateFromIdToken(E);const pn=new Xi({uid:W.localId,auth:a,stsTokenManager:Nt,isAnonymous:it}),jn={uid:W.localId,displayName:W.displayName||null,photoURL:W.photoUrl||null,email:W.email||null,emailVerified:W.emailVerified||!1,phoneNumber:W.phoneNumber||null,tenantId:W.tenantId||null,providerData:te,metadata:new hd(W.createdAt,W.lastLoginAt),isAnonymous:!(W.email&&W.passwordHash||te?.length)};return Object.assign(pn,jn),pn})()}}const Jr=new Map;function ws(b){vr(b instanceof Function,"Expected a class definition");let a=Jr.get(b);return a?(vr(a instanceof b,"Instance stored in cache mismatched with class"),a):(a=new b,Jr.set(b,a),a)}const Na=(()=>{class b{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,Sn.A)(function*(){return!0})()}_set(u,E){var W=this;return(0,Sn.A)(function*(){W.storage[u]=E})()}_get(u){var E=this;return(0,Sn.A)(function*(){const W=E.storage[u];return void 0===W?null:W})()}_remove(u){var E=this;return(0,Sn.A)(function*(){delete E.storage[u]})()}_addListener(u,E){}_removeListener(u,E){}}return b.type="NONE",b})();function Zl(b,a,u){return`firebase:${b}:${a}:${u}`}class jl{constructor(a,u,E){this.persistence=a,this.auth=u,this.userKey=E;const{config:W,name:te}=this.auth;this.fullUserKey=Zl(this.userKey,W.apiKey,te),this.fullPersistenceKey=Zl("persistence",W.apiKey,te),this.boundEventHandler=u._onStorageEvent.bind(u),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(a){return this.persistence._set(this.fullUserKey,a.toJSON())}getCurrentUser(){var a=this;return(0,Sn.A)(function*(){const u=yield a.persistence._get(a.fullUserKey);return u?Xi._fromJSON(a.auth,u):null})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(a){var u=this;return(0,Sn.A)(function*(){if(u.persistence===a)return;const E=yield u.getCurrentUser();return yield u.removeCurrentUser(),u.persistence=a,E?u.setCurrentUser(E):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(a,u){return(0,Sn.A)(function*(E,W,te="authUser"){if(!W.length)return new jl(ws(Na),E,te);const it=(yield Promise.all(W.map(function(){var lr=(0,Sn.A)(function*(Br){if(yield Br._isAvailable())return Br});return function(Br){return lr.apply(this,arguments)}}()))).filter(lr=>lr);let Nt=it[0]||ws(Na);const pn=Zl(te,E.config.apiKey,E.name);let jn=null;for(const lr of W)try{const Br=yield lr._get(pn);if(Br){const bs=Xi._fromJSON(E,Br);lr!==Nt&&(jn=bs),Nt=lr;break}}catch{}const Ki=it.filter(lr=>lr._shouldAllowMigration);return Nt._shouldAllowMigration&&Ki.length?(Nt=Ki[0],jn&&(yield Nt._set(pn,jn.toJSON())),yield Promise.all(W.map(function(){var lr=(0,Sn.A)(function*(Br){if(Br!==Nt)try{yield Br._remove(pn)}catch{}});return function(Br){return lr.apply(this,arguments)}}())),new jl(Nt,E,te)):new jl(Nt,E,te)}).apply(this,arguments)}}function Gu(b){const a=b.toLowerCase();if(a.includes("opera/")||a.includes("opr/")||a.includes("opios/"))return"Opera";if(function Bd(b=(0,Ur.ZQ)()){return/iemobile/i.test(b)}(a))return"IEMobile";if(a.includes("msie")||a.includes("trident/"))return"IE";if(a.includes("edge/"))return"Edge";if(function du(b=(0,Ur.ZQ)()){return/firefox\//i.test(b)}(a))return"Firefox";if(a.includes("silk/"))return"Silk";if(function Fh(b=(0,Ur.ZQ)()){return/blackberry/i.test(b)}(a))return"Blackberry";if(function Bh(b=(0,Ur.ZQ)()){return/webos/i.test(b)}(a))return"Webos";if(function Qc(b=(0,Ur.ZQ)()){const a=b.toLowerCase();return a.includes("safari/")&&!a.includes("chrome/")&&!a.includes("crios/")&&!a.includes("android")}(a))return"Safari";if((a.includes("chrome/")||function md(b=(0,Ur.ZQ)()){return/crios\//i.test(b)}(a))&&!a.includes("edge/"))return"Chrome";if(function Ku(b=(0,Ur.ZQ)()){return/android/i.test(b)}(a))return"Android";{const E=b.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===E?.length)return E[1]}return"Other"}function Y(b,a=[]){let u;switch(b){case"Browser":u=Gu((0,Ur.ZQ)());break;case"Worker":u=`${Gu((0,Ur.ZQ)())}-${b}`;break;default:u=b}const E=a.length?a.join(","):"FirebaseCore-web";return`${u}/JsCore/${Ar.SDK_VERSION}/${E}`}class ${constructor(a){this.auth=a,this.queue=[]}pushCallback(a,u){const E=te=>new Promise((it,Nt)=>{try{it(a(te))}catch(pn){Nt(pn)}});E.onAbort=u,this.queue.push(E);const W=this.queue.length-1;return()=>{this.queue[W]=()=>Promise.resolve()}}runMiddleware(a){var u=this;return(0,Sn.A)(function*(){if(u.auth.currentUser===a)return;const E=[];try{for(const W of u.queue)yield W(a),W.onAbort&&E.push(W.onAbort)}catch(W){E.reverse();for(const te of E)try{te()}catch{}throw u.auth._errorFactory.create("login-blocked",{originalMessage:W?.message})}})()}}function vt(){return(vt=(0,Sn.A)(function*(b,a={}){return jo(b,"GET","/v2/passwordPolicy",es(b,a))})).apply(this,arguments)}class fn{constructor(a){var u,E,W,te;const it=a.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(u=it.minPasswordLength)&&void 0!==u?u:6,it.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=it.maxPasswordLength),void 0!==it.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=it.containsLowercaseCharacter),void 0!==it.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=it.containsUppercaseCharacter),void 0!==it.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=it.containsNumericCharacter),void 0!==it.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=it.containsNonAlphanumericCharacter),this.enforcementState=a.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(W=null===(E=a.allowedNonAlphanumericCharacters)||void 0===E?void 0:E.join(""))&&void 0!==W?W:"",this.forceUpgradeOnSignin=null!==(te=a.force
1UpgradeOnSignin)&&void 0!==te&&te,this.schemaVersion=a.schemaVersion}validatePassword(a){var u,E,W,te,it,Nt;const pn={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(a,pn),this.validatePasswordCharacterOptions(a,pn),pn.isValid&&(pn.isValid=null===(u=pn.meetsMinPasswordLength)||void 0===u||u),pn.isValid&&(pn.isValid=null===(E=pn.meetsMaxPasswordLength)||void 0===E||E),pn.isValid&&(pn.isValid=null===(W=pn.containsLowercaseLetter)||void 0===W||W),pn.isValid&&(pn.isValid=null===(te=pn.containsUppercaseLetter)||void 0===te||te),pn.isValid&&(pn.isValid=null===(it=pn.containsNumericCharacter)||void 0===it||it),pn.isValid&&(pn.isValid=null===(Nt=pn.containsNonAlphanumericCharacter)||void 0===Nt||Nt),pn}validatePasswordLengthOptions(a,u){const E=this.customStrengthOptions.minPasswordLength,W=this.customStrengthOptions.maxPasswordLength;E&&(u.meetsMinPasswordLength=a.length>=E),W&&(u.meetsMaxPasswordLength=a.length<=W)}validatePasswordCharacterOptions(a,u){let E;this.updatePasswordCharacterOptionsStatuses(u,!1,!1,!1,!1);for(let W=0;W<a.length;W++)E=a.charAt(W),this.updatePasswordCharacterOptionsStatuses(u,E>="a"&&E<="z",E>="A"&&E<="Z",E>="0"&&E<="9",this.allowedNonAlphanumericCharacters.includes(E))}updatePasswordCharacterOptionsStatuses(a,u,E,W,te){this.customStrengthOptions.containsLowercaseLetter&&(a.containsLowercaseLetter||(a.containsLowercaseLetter=u)),this.customStrengthOptions.containsUppercaseLetter&&(a.containsUppercaseLetter||(a.containsUppercaseLetter=E)),this.customStrengthOptions.containsNumericCharacter&&(a.containsNumericCharacter||(a.containsNumericCharacter=W)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(a.containsNonAlphanumericCharacter||(a.containsNonAlphanumericCharacter=te))}}class $n{constructor(a,u,E,W){this.app=a,this.heartbeatServiceProvider=u,this.appCheckServiceProvider=E,this.config=W,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new xi(this),this.idTokenSubscription=new xi(this),this.beforeStateQueue=new $(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=Gc,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=a.name,this.clientVersion=W.sdkClientVersion}_initializeWithPersistence(a,u){var E=this;return u&&(this._popupRedirectResolver=ws(u)),this._initializationPromise=this.queue((0,Sn.A)(function*(){var W,te;if(!E._deleted&&(E.persistenceManager=yield jl.create(E,a),!E._deleted)){if(null!==(W=E._popupRedirectResolver)&&void 0!==W&&W._shouldInitProactively)try{yield E._popupRedirectResolver._initialize(E)}catch{}yield E.initializeCurrentUser(u),E.lastNotifiedUid=(null===(te=E.currentUser)||void 0===te?void 0:te.uid)||null,!E._deleted&&(E._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var a=this;return(0,Sn.A)(function*(){if(a._deleted)return;const u=yield a.assertedPersistence.getCurrentUser();if(a.currentUser||u){if(a.currentUser&&u&&a.currentUser.uid===u.uid)return a._currentUser._assign(u),void(yield a.currentUser.getIdToken());yield a._updateCurrentUser(u,!0)}})()}initializeCurrentUserFromIdToken(a){var u=this;return(0,Sn.A)(function*(){try{const E=yield Fr(u,{idToken:a}),W=yield Xi._fromGetAccountInfoResponse(u,E,a);yield u.directlySetCurrentUser(W)}catch(E){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",E),yield u.directlySetCurrentUser(null)}})()}initializeCurrentUser(a){var u=this;return(0,Sn.A)(function*(){var E;if((0,Ar._isFirebaseServerApp)(u.app)){const Nt=u.app.settings.authIdToken;return Nt?new Promise(pn=>{setTimeout(()=>u.initializeCurrentUserFromIdToken(Nt).then(pn,pn))}):u.directlySetCurrentUser(null)}const W=yield u.assertedPersistence.getCurrentUser();let te=W,it=!1;if(a&&u.config.authDomain){yield u.getOrInitRedirectPersistenceManager();const Nt=null===(E=u.redirectUser)||void 0===E?void 0:E._redirectEventId,pn=te?._redirectEventId,jn=yield u.tryRedirectSignIn(a);(!Nt||Nt===pn)&&jn?.user&&(te=jn.user,it=!0)}if(!te)return u.directlySetCurrentUser(null);
1if(!te._redirectEventId){if(it)try{yield u.beforeStateQueue.runMiddleware(te)}catch(Nt){te=W,u._popupRedirectResolver._overrideRedirectResult(u,()=>Promise.reject(Nt))}return te?u.reloadAndSetCurrentUserOrClear(te):u.directlySetCurrentUser(null)}return Nn(u._popupRedirectResolver,u,"argument-error"),yield u.getOrInitRedirectPersistenceManager(),u.redirectUser&&u.redirectUser._redirectEventId===te._redirectEventId?u.directlySetCurrentUser(te):u.reloadAndSetCurrentUserOrClear(te)})()}tryRedirectSignIn(a){var u=this;return(0,Sn.A)(function*(){let E=null;try{E=yield u._popupRedirectResolver._completeRedirectFn(u,a,!0)}catch{yield u._setRedirectUser(null)}return E})()}reloadAndSetCurrentUserOrClear(a){var u=this;return(0,Sn.A)(function*(){try{yield fd(a)}catch(E){if("auth/network-request-failed"!==E?.code)return u.directlySetCurrentUser(null)}return u.directlySetCurrentUser(a)})()}useDeviceLanguage(){this.languageCode=function Ss(){if(typeof navigator>"u")return null;const b=navigator;return b.languages&&b.languages[0]||b.language||null}()}_delete(){var a=this;return(0,Sn.A)(function*(){a._deleted=!0})()}updateCurrentUser(a){var u=this;return(0,Sn.A)(function*(){if((0,Ar._isFirebaseServerApp)(u.app))return Promise.reject(ht(u));const E=a?(0,Ur.Ku)(a):null;return E&&Nn(E.auth.config.apiKey===u.config.apiKey,u,"invalid-user-token"),u._updateCurrentUser(E&&E._clone(u))})()}_updateCurrentUser(a){var u=this;return(0,Sn.A)(function*(E,W=!1){if(!u._deleted)return E&&Nn(u.tenantId===E.tenantId,u,"tenant-id-mismatch"),W||(yield u.beforeStateQueue.runMiddleware(E)),u.queue((0,Sn.A)(function*(){yield u.directlySetCurrentUser(E),u.notifyAuthListeners()}))}).apply(this,arguments)}signOut(){var a=this;return(0,Sn.A)(function*(){return(0,Ar._isFirebaseServerApp)(a.app)?Promise.reject(ht(a)):(yield a.beforeStateQueue.runMiddleware(null),(a.redirectPersistenceManager||a._popupRedirectResolver)&&(yield a._setRedirectUser(null)),a._updateCurrentUser(null,!0))})()}setPersistence(a){var u=this;return(0,Ar._isFirebaseServerApp)(this.app)?Promise.reject(ht(this)):this.queue((0,Sn.A)(function*(){yield u.assertedPersistence.setPersistence(ws(a))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(a){var u=this;return(0,Sn.A)(function*(){u._getPasswordPolicyInternal()||(yield u._updatePasswordPolicy());const E=u._getPasswordPolicyInternal();return E.schemaVersion!==u.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(u._errorFactory.create("unsupported-password-policy-schema-version",{})):E.validatePassword(a)})()}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){var a=this;return(0,Sn.A)(function*(){const u=yield function be(b){return vt.apply(this,arguments)}(a),E=new fn(u);null===a.tenantId?a._projectPasswordPolicy=E:a._tenantPasswordPolicies[a.tenantId]=E})()}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(a){this._errorFactory=new Ur.FA("auth","Firebase",a())}onAuthStateChanged(a,u,E){return this.registerStateListener(this.authStateSubscription,a,u,E)}beforeAuthStateChanged(a,u){return this.beforeStateQueue.pushCallback(a,u)}onIdTokenChanged(a,u,E){return this.registerStateListener(this.idTokenSubscription,a,u,E)}authStateReady(){return new Promise((a,u)=>{if(this.currentUser)a();else{const E=this.onAuthStateChanged(()=>{E(),a()},u)}})}revokeAccessToken(a){var u=this;return(0,Sn.A)(function*(){if(u.currentUser){const E=yield u.currentUser.getIdToken(),W={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:a,idToken:E};null!=u.tenantId&&(W.tenantId=u.tenantId),yield function Be(b,a){return mt.apply(this,arguments)}(u,W)}})()}toJSON(){var a;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(a=this._currentUser)||void 0===a?void 0:a.toJSON()}}_setRedirectUser(a,u){var E=this;return(0,Sn.A)(function*(){const W=yield E.getOrInitRedirectPersistenceManager(u);return null===a?W.removeCurrentUser():W.setCurrentUser(a)})()}getOrInitRedirectPersistenceManager(a){var u=this;return(0,Sn.A)(function*(){if(!u.redirectPersistenceManager){const E=a&&ws(a)||u._popupRedirectResolver;Nn(E,u,"argument-error"),u.redirectPersistenceManager=yield jl.create(u,[ws(E._redirectPersistence)],"redirectUser"),u.redirectUser=yield u.redirectPersistenceManager.getCurrentUser()}return u.redirectPersistenceManager})()}_redirectUserForId(a){var u=this;return(0,Sn.A)(function*(){var E,W;return u._isInitialized&&(yield u.queue((0,Sn.A)(function*(){}))),(null===(E=u._currentUser)||void 0===E?void 0:E._redirectEventId)===a?u._currentUser:(null===(W=u.redirectUser)||void 0===W?void 0:W._redirectEventId)===a?u.redirectUser:null})()}_persistUserIfCurrent(a){var u=this;return(0,Sn.A)(function*(){if(a===u.currentUser)return u.queue((0,Sn.A)(function*(){return u.directlySetCurrentUser(a)}))})()}_notifyListenersIfCurrent(a){a===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var a,u;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const E=null!==(u=null===(a=this.currentUser)||void 0===a?void 0:a.uid)&&void 0!==u?u:null;this.lastNotifiedUid!==E&&(this.lastNotifiedUid=E,this.authStateSubscription.next(this.currentUser))}registerStateListener(a,u,E,W){if(this._deleted)return()=>{};const te="function"==typeof u?u:u.next.bind(u);let it=!1;const Nt=this._isInitialized?Promise.resolve():this._initializationPromise;if(Nn(Nt,this,"internal-error"),Nt.then(()=>{it||te(this.currentUser)}),"function"==typeof u){const pn=a.addObserver(u,E,W);return()=>{it=!0,pn()}}{const pn=a.addObserver(u);return()=>{it=!0,pn()}}}directlySetCurrentUser(a){var u=this;return(0,Sn.A)(function*(){u.currentUser&&u.currentUser!==a&&u._currentUser._stopProactiveRefresh(),a&&u.isProactiveRefreshEnabled&&a._startProactiveRefresh(),u.currentUser=a,a?yield u.assertedPersistence.setCurrentUser(a):yield u.assertedPersistence.removeCurrentUser()})()}queue(a){return this.operations=this.operations.then(a,a),this.operations}get assertedPersistence(){return Nn(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(a){!a||this.frameworks.includes(a)||(this.frameworks.push(a),this.frameworks.sort(),this.clientVersion=Y(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var a=this;return(0,Sn.A)(function*(){var u;const E={"X-Client-Version":a.clientVersion};a.app.options.appId&&(E["X-Firebase-gmpid"]=a.app.options.appId);const W=yield null===(u=a.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===u?void 0:u.getHeartbeatsHeader();W&&(E["X-Firebase-Client"]=W);const te=yield a._getAppCheckToken();return te&&(E["X-Firebase-AppCheck"]=te),E})()}_getAppCheckToken(){var a=this;return(0,Sn.A)(function*(){var u;const E=yield null===(u=a.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===u?void 0:u.getToken();return E?.error&&function yl(b,...a){Jl.logLevel<=_a.$b.WARN&&Jl.warn(`Auth (${Ar.SDK_VERSION}): ${b}`,...a)}(`Error while retrieving App Check token: ${E.error}`),E?.token})()}}class xi{constructor(a){this.auth=a,this.observer=null,this.addObserver=(0,Ur.tD)(u=>this.observer=u)}get next(){return Nn(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let Yi={loadJS:()=>(0,Sn.A)(function*(){throw new Error("Unable to load external scripts")})(),recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};(function os(b){return`__${b}${Math.floor(1e6*Math.random())}`})("rcb"),new ta(3e4,6e4),new ta(2e3,1e4),new ta(3e4,6e4),new ta(5e3,15e3),encodeURIComponent("fac");var Bg="@firebase/auth";class Vg{constructor(a){this.auth=a,this.internalListeners=new Map}getUid(){var a;return this.assertAuthConfigured(),(null===(a=this.auth.currentUser)||void 0===a?void 0:a.uid)||null}getToken(a){var u=this;return(0,Sn.A)(function*(){return u.assertAuthConfigured(),yield u.auth._initializationPromise,u.auth.currentUser?{accessToken:yield u.auth.currentUser.getIdToken(a)}:null})()}addAuthTokenListener(a){if(this.assertAuthConfigured(),this.internalListeners.has(a))return;const u=this.auth.onIdTokenChanged(E=>{a(E?.stsTokenManager.accessToken||null)});this.internalListeners.set(a,u),this.updateProactiveRefresh()}removeAuthTokenListener(a){this.assertAuthConfigured();const u=this.internalListeners.get(a);u&&(this.internalListeners.delete(a),u(),this.updateProactiveRefresh())}assertAuthConfigured(){Nn(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}function jg(b){return new j.c(function(a){var u=function Wf(b,a,u,E){return(0,Ur.Ku)(b).onAuthStateChanged(a,u,E)}(b,a.next.bind(a),a.error.bind(a),a.complete.bind(a));return{unsubscribe:u}})}(0,Ur.XA)("authIdTokenMaxAge"),function zi(b){Yi=b}({loadJS:b=>new Promise((a,u)=>{const E=document.createElement("script");E.setAttribute("src",b),E.onload=a,E.onerror=W=>{const te=Vl("internal-error");te.customData=W,u(te)},E.type="text/javascript",E.charset="UTF-8",function Rd(){var b,a;return null!==(a=null===(b=document.getElementsByTagName("head"))||void 0===b?void 0:b[0])&&void 0!==a?a:document}().appendChild(E)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="}),function Ug(b){(0,Ar._registerComponent)(new Oa.uA("auth",(a,{options:u})=>{const E=a.getProvider("app").getImmediate(),W=a.getProvider("heartbeat"),te=a.getProvider("app-check-internal"),{apiKey:it,authDomain:Nt}=E.options;Nn(it&&!it.includes(":"),"invalid-api-key",{appName:E.name});const pn={apiKey:it,authDomain:Nt,clientPlatform:b,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:Y(b)},jn=new $n(E,W,te,pn);return function Lf(b,a){const u=a?.persistence||[],E=(Array.isArray(u)?u:[u]).map(ws);a?.errorMap&&b._updateErrorMap(a.errorMap),b._initializeWithPersistence(E,a?.popupRedirectResolver)}(jn,u),jn},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((a,u,E)=>{a.getProvider("auth-internal").initialize()})),(0,Ar._registerComponent)(new Oa.uA("auth-internal",a=>{const u=function si(b){return(0,Ur.Ku)(b)}(a.getProvider("auth").getImmediate());return new Vg(u)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,Ar.registerVersion)(Bg,"1.7.9",function Ov(b){switch(b){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(b)),(0,Ar.registerVersion)(Bg,"1.7.9","esm2017")}("Browser");var Fv=d(8952);class ui{constructor(a){return a}}class Ei{constructor(){return(0,Tt.CA)("auth")}}const ar=new h.nKC("angularfire2.auth-instances");function ts(b){return(a,u)=>{const E=a.runOutsideAngular(()=>b(u));return new ui(E)}}const us={provide:Ei,deps:[[new T.Xx1,ar]]},Zs={provide:ui,useFactory:function Ir(b,a){const u=(0,Tt.lR)("auth",b,a);return u&&new ui(u)},deps:[[new T.Xx1,ar],Ue.XU]};function bo(b,...a){return(0,an.KO)("angularfire",Tt.xv.full,"auth"),(0,h.EmA)([Zs,us,{provide:ar,useFactory:ts(b),multi:!0,deps:[T.SKi,h.zZn,Tt.u0,Ue.gL,[new T.Xx1,Zi.kR],...a]}])}const ua=(0,Tt.S3)(jg,!0),eD=(0,Tt.S3)(Fv.p,!0);class i{constructor(a){return a}}const ut=(0,Tt.S3)(dd,!1),Qt=(0,Tt.S3)(Re,!1,2),kr=(0,Tt.S3)(zo,!0,2);let zs=(()=>{class b{initialized;disposables=[];constructor(u,E,W){let te;(0,an.KO)("angularfire",Tt.xv.full,"user-tracking"),this.initialized=E.runOutsideAngular(()=>new Promise(it=>{te=it})),ut().then(()=>{const it=W.get(i);it?this.disposables=[ua(u).subscribe(Nt=>{kr(it,Nt?.uid),te()})]:te()})}
1ngOnDestroy(){this.disposables.forEach(u=>u.unsubscribe())}static \u0275fac=function(E){return new(E||b)(h.KVO(ui),h.KVO(T.SKi),h.KVO(h.zZn))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();const Vs="firebase_event_origin",$o="firebase_previous_class",qa="firebase_previous_id",aa="firebase_previous_screen",Ci="firebase_screen_class",Xn="firebase_screen_id",hi="firebase_screen",Mi="outlet",Li="page_path",li="screen_class",Lh="screen_name";let J_=Math.floor(Math.random()*(2**32-1))-2**31;const Z_={},eb=b=>{const a=[b[li],b[Mi]].join("#");if(Z_.hasOwnProperty(a))return Z_[a];{const u=J_++;return Z_[a]=u,u}};let Fm=(()=>{class b{disposable;constructor(u,E,W,te,it,Nt){(0,an.KO)("angularfire",Tt.xv.full,"screen-tracking"),ut().then(()=>{const pn=Nt.get(i);!u||!pn||te.runOutsideAngular(()=>{this.disposable=((b,a,u)=>b.events.pipe((0,we.p)(W=>W instanceof z._d)).pipe((0,_e.n)(W=>{const it=b.parseUrl(b.url.replace(/(?:\().+(?:\))/g,Br=>Br.replace("://",":///"))).root.children[W.snapshot.outlet]?.toString()||"",Nt=b.routerState.root.children.map(Br=>Br).find(Br=>Br.outlet===W.snapshot.outlet);if(!Nt)return(0,fe.of)(null);let pn=Nt;for(;pn.firstChild;)pn=pn.firstChild;const jn=pn.pathFromRoot.map(Br=>Br.routeConfig?.path).filter(Br=>Br).join("/")||"/",Ki={[Lh]:jn,[Li]:`/${it}`,[Vs]:"auto",[hi]:jn,[Mi]:W.snapshot.outlet};a&&(Ki.page_title=a.getTitle());let lr=Nt.component;if(lr){if(lr===z.we){let Br=W.snapshot;for(;Br.firstChild;)Br=Br.firstChild;lr=Br.component}}else lr=W.snapshot.component;if("string"==typeof lr)return(0,fe.of)({...Ki,[li]:lr});if(lr){const Br=u.resolveComponentFactory(lr);return(0,fe.of)({...Ki,[li]:Br.selector})}return(0,fe.of)(null)}),(0,we.p)(W=>!!W),(0,L.T)(W=>({[Ci]:W[li],[Xn]:eb(W),...W})),function wi(b,a,u,E){return(0,Yt.N)((W,te)=>{let it;a&&"function"!=typeof a?({duration:u,element:it,connector:E}=a):it=a;const Nt=new Map,pn=gs=>{Nt.forEach(gs),gs(te)},jn=gs=>pn($s=>$s.error(gs));let Ki=0,lr=!1;const Br=new On.H(te,gs=>{try{const $s=b(gs);let ka=Nt.get($s);if(!ka){Nt.set($s,ka=E?E():new qe.B);const Yl=function bs(gs,$s){const ka=new j.c(Yl=>{Ki++;const Ol=$s.subscribe(Yl);return()=>{Ol.unsubscribe(),0===--Ki&&lr&&Br.unsubscribe()}});return ka.key=gs,ka}($s,ka);if(te.next(Yl),u){const Ol=(0,On._)(ka,()=>{ka.complete(),Ol?.unsubscribe()},void 0,void 0,()=>Nt.delete($s));Br.add((0,X.Tg)(u(Yl)).subscribe(Ol))}}ka.next(it?it(gs):gs)}catch($s){jn($s)}},()=>pn(gs=>gs.complete()),jn,()=>Nt.clear(),()=>(lr=!0,0===Ki));W.subscribe(Br)})}(W=>W[Mi]),(0,Qi.Z)(W=>W.pipe((0,Tr.F)((te,it)=>JSON.stringify(te)===JSON.stringify(it)),(0,Er.Z)(void 0),(0,_n.J)(),(0,L.T)(([te,it])=>te?{[$o]:te[li],[aa]:te[Lh],[qa]:te[Xn],...it}:it)))))(u,E,W).pipe((0,_e.n)(function(){var jn=(0,Sn.A)(function*(Ki){return it&&(yield it.initialized),Qt(pn,"screen_view",Ki)});return function(Ki){return jn.apply(this,arguments)}}())).subscribe()})})}ngOnDestroy(){this.disposable&&this.disposable.unsubscribe()}static \u0275fac=function(E){return new(E||b)(h.KVO(z.Ix,8),h.KVO(Pt.hE,8),h.KVO(T.OM3),h.KVO(T.SKi),h.KVO(zs,8),h.KVO(h.zZn))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();var Zg=d(1526);class cm{constructor(a){return a}}const yp="firestore",ef=new h.nKC("angularfire2.firestore-instances");function iv(b){return(a,u)=>{const E=a.runOutsideAngular(()=>b(u));return new cm(E)}}const gb={provide:class U0{constructor(){return(0,Tt.CA)(yp)}},deps:[[new T.Xx1,ef]]},nc={provide:cm,useFactory:function nv(b,a){const u=(0,Tt.lR)(yp,b,a);return u&&new cm(u)},deps:[[new T.Xx1,ef],Ue.XU]};function bp(b,...a){return(0,an.KO)("angularfire",Tt.xv.full,"fst"),(0,h.EmA)([nc,gb,{provide:ef,useFactory:iv(b),multi:!0,deps:[T.SKi,h.zZn,Tt.u0,Ue.gL,[new T.Xx1,Ei],[new T.Xx1,Zi.kR],...a]}])}const fy=(0,Tt.S3)(Zg.aU,!0);var dr=d(9373);class kb{constructor(a){return a}}const Sb="functions",xb=new h.nKC("angularfire2.functions-instances");function lT(b){return(a,u)=>{const E=a.runOutsideAngular(()=>b(u));return new kb(E)}}const cT={provide:class oT{constructor(){return(0,Tt.CA)(Sb)}},deps:[[new T.Xx1,xb]]},oE={provide:kb,useFactory:function aT(b,a){const u=(0,Tt.lR)(Sb,b,a);return u&&new kb(u)},deps:[[new T.Xx1,xb],Ue.XU]};function od(b,...a){return(0,an.KO)("angularfire",Tt.xv.full,"fn"),(0,h.EmA)([oE,cT,{provide:xb,useFactory:lT(b),multi:!0,deps:[T.SKi,h.zZn,Tt.u0,Ue.gL,[new T.Xx1,Ei],[new T.Xx1,Zi.kR],...a]}])}const u_=(0,Tt.S3)(dr.Uz,!0);var uT=d(1476);class aE{constructor(a){return a}}const jD="storage",cE=new h.nKC("angularfire2.storage-instances");function mT(b){return(a,u)=>{const E=a.runOutsideAngular(()=>b(u));return new aE(E)}}const pT={provide:class lE{constructor(){return(0,Tt.CA)(jD)}},deps:[[new T.Xx1,cE]]},fg={provide:aE,useFactory:function fT(b,a){const u=(0,Tt.lR)(jD,b,a);return u&&new aE(u)},deps:[[new T.Xx1,cE],Ue.XU]};function qM(b,...a){return(0,an.KO)("angularfire",Tt.xv.full,"gcs"),(0,h.EmA)([fg,pT,{provide:cE,useFactory:mT(b),multi:!0,deps:[T.SKi,h.zZn,Tt.u0,Ue.gL,[new T.Xx1,Ei],[new T.Xx1,Zi.kR],...a]}])}const Rb=(0,Tt.S3)(uT.c7,!0);
1var fE=d(9253),mE=d(3391),so=d(1514);function zD(b){return new h.buA(3e3,!1)}function _E(b){return new h.buA(3002,!1)}function Um(b){switch(b.length){case 0:return new so.sf;case 1:return b[0];default:return new so.PZ(b)}}function Nb(b,a,u=new Map,E=new Map){const W=[],te=[];let it=-1,Nt=null;if(a.forEach(pn=>{const jn=pn.get("offset"),Ki=jn==it,lr=Ki&&Nt||new Map;pn.forEach((Br,bs)=>{let gs=bs,$s=Br;if("offset"!==bs)switch(gs=b.normalizePropertyName(gs,W),$s){case so.FX:$s=u.get(bs);break;case so.kp:$s=E.get(bs);break;default:$s=b.normalizeStyleValue(bs,gs,$s,W)}lr.set(gs,$s)}),Ki||te.push(lr),Nt=lr,it=jn}),W.length)throw function CT(){return new h.buA(3502,!1)}();return te}function pv(b,a,u,E){switch(a){case"start":b.onStart(()=>E(u&&_v(u,"start",b)));break;case"done":b.onDone(()=>E(u&&_v(u,"done",b)));break;case"destroy":b.onDestroy(()=>E(u&&_v(u,"destroy",b)))}}function _v(b,a,u){const te=yy(b.element,b.triggerName,b.fromState,b.toState,a||b.phaseName,u.totalTime??b.totalTime,!!u.disabled),it=b._data;return null!=it&&(te._data=it),te}function yy(b,a,u,E,W="",te=0,it){return{element:b,triggerName:a,fromState:u,toState:E,phaseName:W,totalTime:te,disabled:!!it}}function Yu(b,a,u){let E=b.get(a);return E||b.set(a,E=u),E}function by(b){const a=b.indexOf(":");return[b.substring(1,a),b.slice(a+1)]}const bE=typeof document>"u"?null:document.documentElement;function Ey(b){const a=b.parentNode||b.host||null;return a===bE?null:a}let gv=null,Dy=!1;function DE(b,a){for(;a;){if(a===b)return!0;a=Ey(a)}return!1}function Fb(b,a,u){if(u)return Array.from(b.querySelectorAll(a));const E=b.querySelector(a);return E?[E]:[]}const TE="ng-enter",Ty="ng-leave",My="ng-trigger",mg=".ng-trigger",nw="ng-animating",ME=".ng-animating";function Nh(b){if("number"==typeof b)return b;const a=b.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:iw(parseFloat(a[1]),a[2])}function iw(b,a){return"s"===a?1e3*b:b}function vv(b,a,u){return b.hasOwnProperty("duration")?b:function rw(b,a,u){let E,W=0,te="";if("string"==typeof b){const it=b.match(d1);if(null===it)return a.push(zD()),{duration:0,delay:0,easing:""};E=iw(parseFloat(it[1]),it[2]);const Nt=it[3];null!=Nt&&(W=iw(parseFloat(Nt),it[4]));const pn=it[5];pn&&(te=pn)}else E=b;if(!u){let it=!1,Nt=a.length;E<0&&(a.push(function Pb(){return new h.buA(3100,!1)}()),it=!0),W<0&&(a.push(function yT(){return new h.buA(3101,!1)}()),it=!0),it&&a.splice(Nt,0,zD())}return{duration:E,delay:W,easing:te}}(b,a,u)}const d1=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function hh(b,a,u){a.forEach((E,W)=>{const te=zu(W);u&&!u.has(W)&&u.set(W,b.style[te]),b.style[te]=E})}function pg(b,a){a.forEach((u,E)=>{const W=zu(E);b.style[W]=""})}function Iy(b){return Array.isArray(b)?1==b.length?b[0]:(0,so.K2)(b):b}const Cy=new RegExp("{{\\s*(.+?)\\s*}}","g");function ow(b){let a=[];if("string"==typeof b){let u;for(;u=Cy.exec(b);)a.push(u[1]);Cy.lastIndex=0}return a}function h_(b,a,u){const E=`${b}`,W=E.replace(Cy,(te,it)=>{let Nt=a[it];return null==Nt&&(u.push(function bT(){return new h.buA(3003,!1)}()),Nt=""),Nt.toString()});return W==E?b:W}const Bb=/-+([a-z0-9])/g;function zu(b){return b.replace(Bb,(...a)=>a[1].toUpperCase())}function Eu(b,a,u){switch(a.type){case so.If.Trigger:return b.visitTrigger(a,u);case so.If.State:return b.visitState(a,u);case so.If.Transition:return b.visitTransition(a,u);case so.If.Sequence:return b.visitSequence(a,u);case so.If.Group:return b.visitGroup(a,u);case so.If.Animate:return b.visitAnimate(a,u);case so.If.Keyframes:return b.visitKeyframes(a,u);case so.If.Style:return b.visitStyle(a,u);case so.If.Reference:return b.visitReference(a,u);case so.If.AnimateChild:return b.visitAnimateChild(a,u);case so.If.AnimateRef:return b.visitAnimateRef(a,u);case so.If.Query:return b.visitQuery(a,u);case so.If.Stagger:return b.visitStagger(a,u);default:throw function ET(){return new h.buA(3004,!1)}()}}function _g(b,a){return window.getComputedStyle(b)[a]}let cw=(()=>{class b{validateStyleProperty(u){return function wy(b){gv||(gv=function EE(){return typeof document<"u"?document.body:null}()||{},Dy=!!gv.style&&"WebkitAppearance"in gv.style);let a=!0;return gv.style&&!function PT(b){return"ebkit"==b.substring(1,6)}(b)&&(a=b in gv.style,!a&&Dy&&(a="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in gv.style)),a}(u)}containsElement(u,E){return DE(u,E)}getParentElement(u){return Ey(u)}query(u,E,W){return Fb(u,E,W)}computeStyle(u,E,W){return W||""}animate(u,E,W,te,it,Nt=[],pn){return new so.sf(W,te)}static \u0275fac=function(E){return new(E||b)};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})();class IE{static NOOP=new cw}class Vb{}const uw=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class hw extends Vb{normalizePropertyName(a,u){return zu(a)}normalizeStyleValue(a,u,E,W){let te="";const it=E.toString().trim();if(uw.has(u)&&0!==E&&"0"!==E)if("number"==typeof E)te="px";else{const Nt=E.match(/^[+-]?[\d\.]+([a-z]*)$/);Nt&&0==Nt[1].length&&W.push(function pE(){return new h.buA(3005,!1)}())}return it+te}}const Wb=new Set(["true","1"]),ky=new Set(["false","0"]);function yv(b,a){const u=Wb.has(b)||ky.has(b),E=Wb.has(a)||ky.has(a);return(W,te)=>{let it="*"==b||b==W,Nt="*"==a||a==te;return!it&&u&&"boolean"==typeof W&&(it=W?Wb.has(b):ky.has(b)),!Nt&&E&&"boolean"==typeof te&&(Nt=te?Wb.has(a):ky.has(a)),it&&Nt}}const jT=new RegExp("s*:selfs*,?","g");function AE(b,a,u,E){return new h1(b).build(a,u,E)}class h1{_driver;constructor(a){this._driver=a}build(a,u,E){const W=new HT(u);return this._resetContextStyleTimingState(W),Eu(this,Iy(a),W)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,u){let E=u.queryCount=0,W=u.depCount=0;const te=[],it=[];return"@"==a.name.charAt(0)&&u.errors.push(function DT(){return new h.buA(3006,!1)}()),a.definitions.forEach(Nt=>{if(this._resetContextStyleTimingState(u),Nt.type==so.If.State){const pn=Nt,
1jn=pn.name;jn.toString().split(/\s*,\s*/).forEach(Ki=>{pn.name=Ki,te.push(this.visitState(pn,u))}),pn.name=jn}else if(Nt.type==so.If.Transition){const pn=this.visitTransition(Nt,u);E+=pn.queryCount,W+=pn.depCount,it.push(pn)}else u.errors.push(function wT(){return new h.buA(3007,!1)}())}),{type:so.If.Trigger,name:a.name,states:te,transitions:it,queryCount:E,depCount:W,options:null}}visitState(a,u){const E=this.visitStyle(a.styles,u),W=a.options&&a.options.params||null;if(E.containsDynamicStyles){const te=new Set,it=W||{};E.styles.forEach(Nt=>{Nt instanceof Map&&Nt.forEach(pn=>{ow(pn).forEach(jn=>{it.hasOwnProperty(jn)||te.add(jn)})})}),te.size&&u.errors.push(function TT(){return new h.buA(3008,!1)}(0,te.values()))}return{type:so.If.State,name:a.name,style:E,options:W?{params:W}:null}}visitTransition(a,u){u.queryCount=0,u.depCount=0;const E=Eu(this,Iy(a.animation),u),W=function fw(b,a){const u=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(E=>function jb(b,a,u){if(":"==b[0]){const pn=function UT(b,a){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(u,E)=>parseFloat(E)>parseFloat(u);case":decrement":return(u,E)=>parseFloat(E)<parseFloat(u);default:return a.push(function XD(){return new h.buA(3016,!1)}()),"* => *"}}(b,u);if("function"==typeof pn)return void a.push(pn);b=pn}const E=b.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return u.push(function vE(){return new h.buA(3015,!1)}()),a;const W=E[1],te=E[2],it=E[3];a.push(yv(W,it)),"<"==te[0]&&("*"!=W||"*"!=it)&&a.push(yv(it,W))}(E,u,a)):u.push(b),u}(a.expr,u.errors);return{type:so.If.Transition,matchers:W,animation:E,queryCount:u.queryCount,depCount:u.depCount,options:gg(a.options)}}visitSequence(a,u){return{type:so.If.Sequence,steps:a.steps.map(E=>Eu(this,E,u)),options:gg(a.options)}}visitGroup(a,u){const E=u.currentTime;let W=0;const te=a.steps.map(it=>{u.currentTime=E;const Nt=Eu(this,it,u);return W=Math.max(W,u.currentTime),Nt});return u.currentTime=W,{type:so.If.Group,steps:te,options:gg(a.options)}}visitAnimate(a,u){const E=function Hb(b,a){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return Yb(vv(b,a).duration,0,"");const u=b;if(u.split(/\s+/).some(te=>"{"==te.charAt(0)&&"{"==te.charAt(1))){const te=Yb(0,0,"");return te.dynamic=!0,te.strValue=u,te}const W=vv(u,a);return Yb(W.duration,W.delay,W.easing)}(a.timings,u.errors);u.currentAnimateTimings=E;let W,te=a.styles?a.styles:(0,so.iF)({});if(te.type==so.If.Keyframes)W=this.visitKeyframes(te,u);else{let it=a.styles,Nt=!1;if(!it){Nt=!0;const jn={};E.easing&&(jn.easing=E.easing),it=(0,so.iF)(jn)}u.currentTime+=E.duration+E.delay;const pn=this.visitStyle(it,u);pn.isEmptyStep=Nt,W=pn}return u.currentAnimateTimings=null,{type:so.If.Animate,timings:E,style:W,options:null}}visitStyle(a,u){const E=this._makeStyleAst(a,u);return this._validateStyleAst(E,u),E}_makeStyleAst(a,u){const E=[],W=Array.isArray(a.styles)?a.styles:[a.styles];for(let Nt of W)"string"==typeof Nt?Nt===so.kp?E.push(Nt):u.errors.push(_E()):E.push(new Map(Object.entries(Nt)));let te=!1,it=null;return E.forEach(Nt=>{if(Nt instanceof Map&&(Nt.has("easing")&&(it=Nt.get("easing"),Nt.delete("easing")),!te))for(let pn of Nt.values())if(pn.toString().indexOf("{{")>=0){te=!0;break}}),{type:so.If.Style,styles:E,easing:it,offset:a.offset,containsDynamicStyles:te,options:null}}_validateStyleAst(a,u){const E=u.currentAnimateTimings;let W=u.currentTime,te=u.currentTime;E&&te>0&&(te-=E.duration+E.delay),a.styles.forEach(it=>{"string"!=typeof it&&it.forEach((Nt,pn)=>{const jn=u.collectedStyles.get(u.currentQuerySelector),Ki=jn.get(pn);let lr=!0;Ki&&(te!=W&&te>=Ki.startTime&&W<=Ki.endTime&&(u.errors.push(function s1(){return new h.buA(3010,!1)}()),lr=!1),te=Ki.startTime),lr&&jn.set(pn,{startTime:te,endTime:W}),u.options&&function OT(b,a,u){const E=a.params||{},W=ow(b);W.length&&W.forEach(te=>{E.hasOwnProperty(te)||u.push(function Ob(){return new h.buA(3001,!1)}())})}(Nt,u.options,u.errors)})})}visitKeyframes(a,u){const E={type:so.If.Keyframes,styles:[],options:null};if(!u.currentAnimateTimings)return u.errors.push(function MT(){return new h.buA(3011,!1)}()),E;let te=0;const it=[];let Nt=!1,pn=!1,jn=0;const Ki=a.steps.map(Yl=>{const Ol=this._makeStyleAst(Yl,u);let Od=null!=Ol.offset?Ol.offset:function YT(b){if("string"==typeof b)return null;let a=null;if(Array.isArray(b))b.forEach(u=>{if(u instanceof Map&&u.has("offset")){const E=u;a=parseFloat(E.get("offset")),E.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const u=b;a=parseFloat(u.get("offset")),u.delete("offset")}return a}(Ol.styles),Td=0;return null!=Od&&(te++,Td=Ol.offset=Od),pn=pn||Td<0||Td>1,Nt=Nt||Td<jn,jn=Td,it.push(Td),Ol});pn&&u.errors.push(function gE(){return new h.buA(3012,!1)}()),Nt&&u.errors.push(function $D(){return new h.buA(3200,!1)}());const lr=a.steps.length;let Br=0;te>0&&te<lr?u.errors.push(function GD(){return new h.buA(3202,!1)}()):0==te&&(Br=1/(lr-1));const bs=lr-1,gs=u.currentTime,$s=u.currentAnimateTimings,ka=$s.duration;return Ki.forEach((Yl,Ol)=>{const Od=Br>0?Ol==bs?1:Br*Ol:it[Ol],Td=Od*ka;
1u.currentTime=gs+$s.delay+Td,$s.duration=Td,this._validateStyleAst(Yl,u),Yl.offset=Od,E.styles.push(Yl)}),E}visitReference(a,u){return{type:so.If.Reference,animation:Eu(this,Iy(a.animation),u),options:gg(a.options)}}visitAnimateChild(a,u){return u.depCount++,{type:so.If.AnimateChild,options:gg(a.options)}}visitAnimateRef(a,u){return{type:so.If.AnimateRef,animation:this.visitReference(a.animation,u),options:gg(a.options)}}visitQuery(a,u){const E=u.currentQuerySelector,W=a.options||{};u.queryCount++,u.currentQuery=a;const[te,it]=function WT(b){const a=!!b.split(/\s*,\s*/).find(u=>":self"==u);return a&&(b=b.replace(jT,"")),b=b.replace(/@\*/g,mg).replace(/@\w+/g,u=>mg+"-"+u.slice(1)).replace(/:animating/g,ME),[b,a]}(a.selector);u.currentQuerySelector=E.length?E+" "+te:te,Yu(u.collectedStyles,u.currentQuerySelector,new Map);const Nt=Eu(this,Iy(a.animation),u);return u.currentQuery=null,u.currentQuerySelector=E,{type:so.If.Query,selector:te,limit:W.limit||0,optional:!!W.optional,includeSelf:it,animation:Nt,originalSelector:a.selector,options:gg(a.options)}}visitStagger(a,u){u.currentQuery||u.errors.push(function KD(){return new h.buA(3013,!1)}());const E="full"===a.timings?{duration:0,delay:0,easing:"full"}:vv(a.timings,u.errors,!0);return{type:so.If.Stagger,animation:Eu(this,Iy(a.animation),u),timings:E,options:null}}}class HT{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(a){this.errors=a}}function gg(b){return b?(b={...b}).params&&(b.params=function _w(b){return b?{...b}:null}(b.params)):b={},b}function Yb(b,a,u){return{duration:b,delay:a,easing:u}}function zb(b,a,u,E,W,te,it=null,Nt=!1){return{type:1,element:b,keyframes:a,preStyleProps:u,postStyleProps:E,duration:W,delay:te,totalTime:W+te,easing:it,subTimeline:Nt}}class $b{_map=new Map;get(a){return this._map.get(a)||[]}append(a,u){let E=this._map.get(a);E||this._map.set(a,E=[]),E.push(...u)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const kE=new RegExp(":enter","g"),vw=new RegExp(":leave","g");function Gb(b,a,u,E,W,te=new Map,it=new Map,Nt,pn,jn=[]){return(new GT).buildKeyframes(b,a,u,E,W,te,it,Nt,pn,jn)}class GT{buildKeyframes(a,u,E,W,te,it,Nt,pn,jn,Ki=[]){jn=jn||new $b;const lr=new SE(a,u,jn,W,te,Ki,[]);lr.options=pn;const Br=pn.delay?Nh(pn.delay):0;lr.currentTimeline.delayNextStep(Br),lr.currentTimeline.setStyles([it],null,lr.errors,pn),Eu(this,E,lr);const bs=lr.timelines.filter(gs=>gs.containsAnimation());if(bs.length&&Nt.size){let gs;for(let $s=bs.length-1;$s>=0;$s--){const ka=bs[$s];if(ka.element===u){gs=ka;break}}gs&&!gs.allowOnlyTimelineStyles()&&gs.setStyles([Nt],null,lr.errors,pn)}return bs.length?bs.map(gs=>gs.buildKeyframes()):[zb(u,[],[],[],0,Br,"",!1)]}visitTrigger(a,u){}visitState(a,u){}visitTransition(a,u){}visitAnimateChild(a,u){const E=u.subInstructions.get(u.element);if(E){const W=u.createSubContext(a.options),te=u.currentTimeline.currentTime,it=this._visitSubInstructions(E,W,W.options);te!=it&&u.transformIntoNewTimeline(it)}u.previousNode=a}visitAnimateRef(a,u){const E=u.createSubContext(a.options);E.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],u,E),this.visitReference(a.animation,E),u.transformIntoNewTimeline(E.currentTimeline.currentTime),u.previousNode=a}_applyAnimationRefDelays(a,u,E){for(const W of a){const te=W?.delay;if(te){const it="number"==typeof te?te:Nh(h_(te,W?.params??{},u.errors));E.delayNextStep(it)}}}_visitSubInstructions(a,u,E){let te=u.currentTimeline.currentTime;const it=null!=E.duration?Nh(E.duration):null,Nt=null!=E.delay?Nh(E.delay):null;return 0!==it&&a.forEach(pn=>{const jn=u.appendInstructionToTimeline(pn,it,Nt);te=Math.max(te,jn.duration+jn.delay)}),te}visitReference(a,u){u.updateOptions(a.options,!0),Eu(this,a.animation,u),u.previousNode=a}visitSequence(a,u){const E=u.subContextCount;let W=u;const te=a.options;if(te&&(te.params||te.delay)&&(W=u.createSubContext(te),W.transformIntoNewTimeline(),null!=te.delay)){W.previousNode.type==so.If.Style&&(W.currentTimeline.snapshotCurrentStyles(),W.previousNode=Kb);const it=Nh(te.delay);W.delayNextStep(it)}a.steps.length&&(a.steps.forEach(it=>Eu(this,it,W)),W.currentTimeline.applyStylesToKeyframe(),W.subContextCount>E&&W.transformIntoNewTimeline()),u.previousNode=a}visitGroup(a,u){const E=[];let W=u.currentTimeline.currentTime;const te=a.options&&a.options.delay?Nh(a.options.delay):0;a.steps.forEach(it=>{const Nt=u.createSubContext(a.options);te&&Nt.delayNextStep(te),Eu(this,it,Nt),W=Math.max(W,Nt.currentTimeline.currentTime),E.push(Nt.currentTimeline)}
vendor: 5,142 bytes, line 1
1),E.forEach(it=>u.currentTimeline.mergeTimelineCollectedStyles(it)),u.transformIntoNewTimeline(W),u.previousNode=a}_visitTiming(a,u){if(a.dynamic){const E=a.strValue;return vv(u.params?h_(E,u.params,u.errors):E,u.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,u){const E=u.currentAnimateTimings=this._visitTiming(a.timings,u),W=u.currentTimeline;E.delay&&(u.incrementTime(E.delay),W.snapshotCurrentStyles());const te=a.style;te.type==so.If.Keyframes?this.visitKeyframes(te,u):(u.incrementTime(E.duration),this.visitStyle(te,u),W.applyStylesToKeyframe()),u.currentAnimateTimings=null,u.previousNode=a}visitStyle(a,u){const E=u.currentTimeline,W=u.currentAnimateTimings;!W&&E.hasCurrentStyleProperties()&&E.forwardFrame();const te=W&&W.easing||a.easing;a.isEmptyStep?E.applyEmptyStep(te):E.setStyles(a.styles,te,u.errors,u.options),u.previousNode=a}visitKeyframes(a,u){const E=u.currentAnimateTimings,W=u.currentTimeline.duration,te=E.duration,Nt=u.createSubContext().currentTimeline;Nt.easing=E.easing,a.styles.forEach(pn=>{Nt.forwardTime((pn.offset||0)*te),Nt.setStyles(pn.styles,pn.easing,u.errors,u.options),Nt.applyStylesToKeyframe()}),u.currentTimeline.mergeTimelineCollectedStyles(Nt),u.transformIntoNewTimeline(W+te),u.previousNode=a}visitQuery(a,u){const E=u.currentTimeline.currentTime,W=a.options||{},te=W.delay?Nh(W.delay):0;te&&(u.previousNode.type===so.If.Style||0==E&&u.currentTimeline.hasCurrentStyleProperties())&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=Kb);let it=E;const Nt=u.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!W.optional,u.errors);u.currentQueryTotal=Nt.length;let pn=null;Nt.forEach((jn,Ki)=>{u.currentQueryIndex=Ki;const lr=u.createSubContext(a.options,jn);te&&lr.delayNextStep(te),jn===u.element&&(pn=lr.currentTimeline),Eu(this,a.animation,lr),lr.currentTimeline.applyStylesToKeyframe(),it=Math.max(it,lr.currentTimeline.currentTime)}),u.currentQueryIndex=0,u.currentQueryTotal=0,u.transformIntoNewTimeline(it),pn&&(u.currentTimeline.mergeTimelineCollectedStyles(pn),u.currentTimeline.snapshotCurrentStyles()),u.previousNode=a}visitStagger(a,u){const E=u.parentContext,W=u.currentTimeline,te=a.timings,it=Math.abs(te.duration),Nt=it*(u.currentQueryTotal-1);let pn=it*u.currentQueryIndex;switch(te.duration<0?"reverse":te.easing){case"reverse":pn=Nt-pn;break;case"full":pn=E.currentStaggerTime}const Ki=u.currentTimeline;pn&&Ki.delayNextStep(pn);const lr=Ki.currentTime;Eu(this,a.animation,u),u.previousNode=a,E.currentStaggerTime=W.currentTime-lr+(W.startTime-E.currentTimeline.startTime)}}const Kb={};class SE{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Kb;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(a,u,E,W,te,it,Nt,pn){this._driver=a,this.element=u,this.subInstructions=E,this._enterClassName=W,this._leaveClassName=te,this.errors=it,this.timelines=Nt,this.currentTimeline=pn||new bv(this._driver,u,0),Nt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,u){if(!a)return;const E=a;let W=this.options;null!=E.duration&&(W.duration=Nh(E.duration)),null!=E.delay&&(W.delay=Nh(E.delay));const te=E.params;if(te){let it=W.params;it||(it=this.options.params={}),Object.keys(te).forEach(Nt=>{(!u||!it.hasOwnProperty(Nt))&&(it[Nt]=h_(te[Nt],it,this.errors))})}}_copyOptions(){const a={};if(this.options){const u=this.options.params;if(u){const E=a.params={};Object.keys(u).forEach(W=>{E[W]=u[W]})}}return a}createSubContext(a=null,u,E){const W=u||this.element,te=new SE(this._driver,W,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(W,E||0));return te.previousNode=this.previousNode,te.currentAnimateTimings=this.currentAnimateTimings,te.options=this._copyOptions(),te.updateOptions(a),te.currentQueryIndex=this.currentQueryIndex,te.currentQueryTotal=this.currentQueryTotal,te.parentContext=this,this.subContextCount++,te}transformIntoNewTimeline(a){return this.previousNode=Kb,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,u,E){const W={duration:u??a.duration,delay:this.currentTimeline.currentTime+(E??0)+a.delay,easing:""},te=new yw(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,W,a.stretchStartingKeyframe);return this.timelines.push(te),W}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,u,E,W,te,it){let Nt=[];if(W&&Nt.push(this.element),a.length>0){a=(a=a.replace(kE,"."+this._enterClassName)).replace(vw,"."+this._leaveClassName);let jn=this._driver.query(this.element,a,1!=E);0!==E&&(jn=E<0?jn.slice(jn.length+E,jn.length):jn.slice(0,E)),Nt.push(...jn)}return!te&&0==Nt.length&&it.push(function QD(){return new h.buA(3014,!1)}()),Nt}}class bv{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;
1_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(a,u,E,W){this._driver=a,this.element=u,this.startTime=E,this._elementTimelineStylesLookup=W,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(u),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(u,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const u=1===this._keyframes.size&&this._pendingStyles.size;this.duration||u?(this.forwardTime(this.currentTime+a),u&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,u){return this.applyStylesToKeyframe(),new bv(this._driver,a,u||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,u){this._localTimelineStyles.set(a,u),this._globalTimelineStyles.set(a,u),this._styleSummary.set(a,{time:this.currentTime,value:u})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[u,E]of this._globalTimelineStyles)this._backFill.set(u,E||so.kp),this._currentKeyframe.set(u,so.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,u,E,W){u&&this._previousKeyframe.set("easing",u);const te=W&&W.params||{},it=function Ew(b,a){const u=new Map;let E;return b.forEach(W=>{if("*"===W){E??=a.keys();for(let te of E)u.set(te,so.kp)}else for(let[te,it]of W)u.set(te,it)}),u}(a,this._globalTimelineStyles);for(let[Nt,pn]of it){const jn=h_(pn,te,E);this._pendingStyles.set(Nt,jn),this._localTimelineStyles.has(Nt)||this._backFill.set(Nt,this._globalTimelineStyles.get(Nt)??so.kp),this._updateStyle(Nt,jn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,u)=>{this._currentKeyframe.set(u,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,u)=>{this._currentKeyframe.has(u)||this._currentKeyframe.set(u,a)}))}snapshotCurrentStyles(){for(let[a,u]of this._localTimelineStyles)this._pendingStyles.set(a,u),this._updateStyle(a,u)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let u in this._currentKeyframe)a.push(u);return a}
1mergeTimelineCollectedStyles(a){a._styleSummary.forEach((u,E)=>{const W=this._styleSummary.get(E);(!W||u.time>W.time)&&this._updateStyle(E,u.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,u=new Set,E=1===this._keyframes.size&&0===this.duration;let W=[];this._keyframes.forEach((Nt,pn)=>{const jn=new Map([...this._backFill,...Nt]);jn.forEach((Ki,lr)=>{Ki===so.FX?a.add(lr):Ki===so.kp&&u.add(lr)}),E||jn.set("offset",pn/this.duration),W.push(jn)});const te=[...a.values()],it=[...u.values()];if(E){const Nt=W[0],pn=new Map(Nt);Nt.set("offset",0),pn.set("offset",1),W=[Nt,pn]}return zb(this.element,W,te,it,this.duration,this.startTime,this.easing,!1)}}class yw extends bv{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(a,u,E,W,te,it,Nt=!1){super(a,u,it.delay),this.keyframes=E,this.preStyleProps=W,this.postStyleProps=te,this._stretchStartingKeyframe=Nt,this.timings={duration:it.duration,delay:it.delay,easing:it.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:u,duration:E,easing:W}=this.timings;if(this._stretchStartingKeyframe&&u){const te=[],it=E+u,Nt=u/it,pn=new Map(a[0]);pn.set("offset",0),te.push(pn);const jn=new Map(a[0]);jn.set("offset",bw(Nt)),te.push(jn);const Ki=a.length-1;for(let lr=1;lr<=Ki;lr++){let Br=new Map(a[lr]);const bs=Br.get("offset");Br.set("offset",bw((u+bs*E)/it)),te.push(Br)}E=it,u=0,W="",a=te}return zb(this.element,a,this.preStyleProps,this.postStyleProps,E,u,W,!0)}}function bw(b,a=3){const u=Math.pow(10,a-1);return Math.round(b*u)/u}function xE(b,a,u,E,W,te,it,Nt,pn,jn,Ki,lr,Br){return{type:0,element:b,triggerName:a,isRemovalTransition:W,fromState:u,fromStyles:te,toState:E,toStyles:it,timelines:Nt,queriedElements:pn,preStyleProps:jn,postStyleProps:Ki,totalTime:lr,errors:Br}}const RE={};class Dw{_triggerName;ast;_stateStyles;constructor(a,u,E){this._triggerName=a,this.ast=u,this._stateStyles=E}match(a,u,E,W){return function KT(b,a,u,E,W){return b.some(te=>te(a,u,E,W))}(this.ast.matchers,a,u,E,W)}buildStyles(a,u,E){let W=this._stateStyles.get("*");return void 0!==a&&(W=this._stateStyles.get(a?.toString())||W),W?W.buildStyles(u,E):new Map}build(a,u,E,W,te,it,Nt,pn,jn,Ki){const lr=[],Br=this.ast.options&&this.ast.options.params||RE,gs=this.buildStyles(E,Nt&&Nt.params||RE,lr),$s=pn&&pn.params||RE,ka=this.buildStyles(W,$s,lr),Yl=new Set,Ol=new Map,Od=new Map,Td="void"===W,jm={params:ww($s,Br),delay:this.ast.options?.delay},$u=Ki?[]:Gb(a,u,this.ast.animation,te,it,gs,ka,jm,jn,lr);let Md=0;return $u.forEach(lu=>{Md=Math.max(lu.duration+lu.delay,Md)}),lr.length?xE(u,this._triggerName,E,W,Td,gs,ka,[],[],Ol,Od,Md,lr):($u.forEach(lu=>{const tf=lu.element,Wm=Yu(Ol,tf,new Set);lu.preStyleProps.forEach(p_=>Wm.add(p_));const zE=Yu(Od,tf,new Set);lu.postStyleProps.forEach(p_=>zE.add(p_)),tf!==u&&Yl.add(tf)}),xE(u,this._triggerName,E,W,Td,gs,ka,$u,[...Yl.values()],Ol,Od,Md))}}function ww(b,a){const u={...a};return Object.entries(b).forEach(([E,W])=>{null!=W&&(u[E]=W)}),u}class QT{styles;defaultParams;normalizer;constructor(a,u,E){this.styles=a,this.defaultParams=u,this.normalizer=E}buildStyles(a,u){const E=new Map,W=ww(a,this.defaultParams);return this.styles.styles.forEach(te=>{"string"!=typeof te&&te.forEach((it,Nt)=>{it&&(it=h_(it,W,u));const pn=this.normalizer.normalizePropertyName(Nt,u);it=this.normalizer.normalizeStyleValue(Nt,pn,it,u),E.set(Nt,it)})}),E}}class JT{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(a,u,E){this.name=a,this.ast=u,this._normalizer=E,u.states.forEach(W=>{this.states.set(W.name,new QT(W.style,W.options&&W.options.params||{},E))}),PE(this.states,"true","1"),PE(this.states,"false","0"),u.transitions.forEach(W=>{this.transitionFactories.push(new Dw(a,W,this.states))}),this.fallbackTransition=function Tw(b,a){return new Dw(b,{type:so.If.Transition,animation:{type:so.If.Sequence,steps:[],options:null},matchers:[(it,Nt)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,u,E,W){return this.transitionFactories.find(it=>it.match(a,u,E,W))||null}matchStyles(a,u,E){return this.fallbackTransition.buildStyles(a,u,E)}}function PE(b,a,u){b.has(a)?b.has(u)||b.set(u,b.get(a)):b.has(u)&&b.set(a,b.get(u))}const Mw=new $b;class ZT{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(a,u,E){this.bodyNode=a,this._driver=u,this._normalizer=E}register(a,u){const E=[],te=AE(this._driver,u,E,[]);if(E.length)throw function ZD(){return new h.buA(3503,!1)}();this._animations.set(a,te)}_buildPlayer(a,u,E){const W=a.element,te=Nb(this._normalizer,a.keyframes,u,E);return this._driver.animate(W,te,a.duration,a.delay,a.easing,[],!0)}create(a,u,E={}){const W=[],te=this._animations.get(a);let it;
1const Nt=new Map;if(te?(it=Gb(this._driver,u,te,TE,Ty,new Map,new Map,E,Mw,W),it.forEach(Ki=>{const lr=Yu(Nt,Ki.element,new Map);Ki.postStyleProps.forEach(Br=>lr.set(Br,null))})):(W.push(function a1(){return new h.buA(3300,!1)}()),it=[]),W.length)throw function l1(){return new h.buA(3504,!1)}();Nt.forEach((Ki,lr)=>{Ki.forEach((Br,bs)=>{Ki.set(bs,this._driver.computeStyle(lr,bs,so.kp))})});const jn=Um(it.map(Ki=>{const lr=Nt.get(Ki.element);return this._buildPlayer(Ki,new Map,lr)}));return this._playersById.set(a,jn),jn.onDestroy(()=>this.destroy(a)),this.players.push(jn),jn}destroy(a){const u=this._getPlayer(a);u.destroy(),this._playersById.delete(a);const E=this.players.indexOf(u);E>=0&&this.players.splice(E,1)}_getPlayer(a){const u=this._playersById.get(a);if(!u)throw function AT(){return new h.buA(3301,!1)}();return u}listen(a,u,E,W){const te=yy(u,"","","");return pv(this._getPlayer(a),E,te,W),()=>{}}command(a,u,E,W){if("register"==E)return void this.register(a,W[0]);if("create"==E)return void this.create(a,u,W[0]||{});const te=this._getPlayer(a);switch(E){case"play":te.play();break;case"pause":te.pause();break;case"reset":te.reset();break;case"restart":te.restart();break;case"finish":te.finish();break;case"init":te.init();break;case"setPosition":te.setPosition(parseFloat(W[0]));break;case"destroy":this.destroy(a)}}}const OE="ng-animate-queued",LE="ng-animate-disabled",BE=[],VE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eM={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Rf="__ng_removed";class Qb{namespaceId;value;options;get params(){return this.options.params}constructor(a,u=""){this.namespaceId=u;const E=a&&a.hasOwnProperty("value");if(this.value=function Sw(b){return b??null}(E?a.value:a),E){const{value:te,...it}=a;this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const u=a.params;if(u){const E=this.options.params;Object.keys(u).forEach(W=>{null==E[W]&&(E[W]=u[W])})}}}const Sy="void",Xb=new Qb(Sy);class Cw{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(a,u,E){this.id=a,this.hostElement=u,this._engine=E,this._hostClassName="ng-tns-"
vendor: 18,570 bytes, line 1
1+a,Pf(u,this._hostClassName)}listen(a,u,E,W){if(!this._triggers.has(u))throw function qD(){return new h.buA(3302,!1)}();if(null==E||0==E.length)throw function Lb(){return new h.buA(3303,!1)}();if(!function xw(b){return"start"==b||"done"==b}(E))throw function kT(){return new h.buA(3400,!1)}();const te=Yu(this._elementListeners,a,[]),it={name:u,phase:E,callback:W};te.push(it);const Nt=Yu(this._engine.statesByElement,a,new Map);return Nt.has(u)||(Pf(a,My),Pf(a,My+"-"+u),Nt.set(u,Xb)),()=>{this._engine.afterFlush(()=>{const pn=te.indexOf(it);pn>=0&&te.splice(pn,1),this._triggers.has(u)||Nt.delete(u)})}}register(a,u){return!this._triggers.has(a)&&(this._triggers.set(a,u),!0)}_getTrigger(a){const u=this._triggers.get(a);if(!u)throw function ST(){return new h.buA(3401,!1)}();return u}trigger(a,u,E,W=!0){const te=this._getTrigger(u),it=new Jb(this.id,u,a);let Nt=this._engine.statesByElement.get(a);Nt||(Pf(a,My),Pf(a,My+"-"+u),this._engine.statesByElement.set(a,Nt=new Map));let pn=Nt.get(u);const jn=new Qb(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&pn&&jn.absorbOptions(pn.options),Nt.set(u,jn),pn||(pn=Xb),jn.value!==Sy&&pn.value===jn.value){if(!function jE(b,a){const u=Object.keys(b),E=Object.keys(a);if(u.length!=E.length)return!1;for(let W=0;W<u.length;W++){const te=u[W];if(!a.hasOwnProperty(te)||b[te]!==a[te])return!1}return!0}(pn.params,jn.params)){const $s=[],ka=te.matchStyles(pn.value,pn.params,$s),Yl=te.matchStyles(jn.value,jn.params,$s);$s.length?this._engine.reportError($s):this._engine.afterFlush(()=>{pg(a,ka),hh(a,Yl)})}return}const Br=Yu(this._engine.playersByElement,a,[]);Br.forEach($s=>{$s.namespaceId==this.id&&$s.triggerName==u&&$s.queued&&$s.destroy()});let bs=te.matchTransition(pn.value,jn.value,a,jn.params),gs=!1;if(!bs){if(!W)return;bs=te.fallbackTransition,gs=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:u,transition:bs,fromState:pn,toState:jn,player:it,isFallbackTransition:gs}),gs||(Pf(a,OE),it.onStart(()=>{m_(a,OE)})),it.onDone(()=>{let $s=this.players.indexOf(it);$s>=0&&this.players.splice($s,1);const ka=this._engine.playersByElement.get(a);if(ka){let Yl=ka.indexOf(it);Yl>=0&&ka.splice(Yl,1)}}),this.players.push(it),Br.push(it),it}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(u=>u.delete(a)),this._elementListeners.forEach((u,E)=>{this._elementListeners.set(E,u.filter(W=>W.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const u=this._engine.playersByElement.get(a);u&&(u.forEach(E=>E.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,u){const E=this._engine.driver.query(a,mg,!0);E.forEach(W=>{if(W[Rf])return;const te=this._engine.fetchNamespacesByElement(W);te.size?te.forEach(it=>it.triggerLeaveAnimation(W,u,!1,!0)):this.clearElementCache(W)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(W=>this.clearElementCache(W)))}triggerLeaveAnimation(a,u,E,W){const te=this._engine.statesByElement.get(a),it=new Map;if(te){const Nt=[];if(te.forEach((pn,jn)=>{if(it.set(jn,pn.value),this._triggers.has(jn)){const Ki=this.trigger(a,jn,Sy,W);Ki&&Nt.push(Ki)}}),Nt.length)return this._engine.markElementAsRemoved(this.id,a,!0,u,it),E&&Um(Nt).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const u=this._elementListeners.get(a),E=this._engine.statesByElement.get(a);if(u&&E){const W=new Set;u.forEach(te=>{const it=te.name;if(W.has(it))return;W.add(it);const pn=this._triggers.get(it).fallbackTransition,jn=E.get(it)||Xb,Ki=new Qb(Sy),lr=new Jb(this.id,it,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:it,transition:pn,fromState:jn,toState:Ki,player:lr,isFallbackTransition:!0})})}}removeNode(a,u){const E=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,u),this.triggerLeaveAnimation(a,u,!0))return;let W=!1;if(E.totalAnimations){const te=E.players.length?E.playersByQueriedElement.get(a):[];if(te&&te.length)W=!0;else{let it=a;for(;it=it.parentNode;)if(E.statesByElement.get(it)){W=!0;break}}}if(this.prepareLeaveAnimationListeners(a),W)E.markElementAsRemoved(this.id,a,!1,u);else{const te=a[Rf];(!te||te===VE)&&(E.afterFlush(()=>this.clearElementCache(a)),E.destroyInnerAnimations(a),E._onRemovalComplete(a,u))}}insertNode(a,u){Pf(a,this._hostClassName)}drainQueuedTransitions(a){const u=[];return this._queue.forEach(E=>{const W=E.player;if(W.destroyed)return;const te=E.element,it=this._elementListeners.get(te);it&&it.forEach(Nt=>{if(Nt.name==E.triggerName){const pn=yy(te,E.triggerName,E.fromState.value,E.toState.value);pn._data=a,pv(E.player,Nt.phase,pn,Nt.callback)}}),W.markedForDestroy?this._engine.afterFlush(()=>{W.destroy()}):u.push(E)}),this._queue=[],u.sort((E,W)=>{const te=E.transition.ast.depCount,it=W.transition.ast.depCount;return 0==te||0==it?te-it:this._engine.driver.containsElement(E.element,W.element)?1:-1})}destroy(a){this.players.forEach(u=>u.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class Aw{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(a,u)=>{};_onRemovalComplete(a,u){this.onRemovalComplete(a,u)}constructor(a,u,E){this.bodyNode=a,this.driver=u,this._normalizer=E}get queuedPlayers(){const a=[];return this._namespaceList.forEach(u=>{u.players.forEach(E=>{E.queued&&a.push(E)})}),a}createNamespace(a,u){const E=new Cw(a,u,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,u)?this._balanceNamespaceList(E,u):(this.newHostElements.set(u,E),this.collectEnterElement(u)),this._namespaceLookup[a]=E}_balanceNamespaceList(a,u){const E=this._namespaceList,W=this.namespacesByHostElement;if(E.length-1>=0){let it=!1,Nt=this.driver.getParentElement(u);for(;Nt;){const pn=W.get(Nt);if(pn){const jn=E.indexOf(pn);E.splice(jn+1,0,a),it=!0;break}Nt=this.driver.getParentElement(Nt)}it||E.unshift(a)}else E.push(a);return W.set(u,a),a}register(a,u){let E=this._namespaceLookup[a];return E||(E=this.createNamespace(a,u)),E}registerTrigger(a,u,E){let W=this._namespaceLookup[a];W&&W.register(u,E)&&this.totalAnimations++}destroy(a,u){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const E=this._fetchNamespace(a);this.namespacesByHostElement.delete(E.hostElement);const W=this._namespaceList.indexOf(E);W>=0&&this._namespaceList.splice(W,1),E.destroy(u),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const u=new Set,E=this.statesByElement.get(a);if(E)for(let W of E.values())if(W.namespaceId){const te=this._fetchNamespace(W.namespaceId);te&&u.add(te)}return u}trigger(a,u,E,W){if(xy(u)){const te=this._fetchNamespace(a);if(te)return te.trigger(u,E,W),!0}return!1}insertNode(a,u,E,W){if(!xy(u))return;const te=u[Rf];if(te&&te.setForRemoval){te.setForRemoval=!1,te.setForMove=!0;const it=this.collectedLeaveElements.indexOf(u);it>=0&&this.collectedLeaveElements.splice(it,1)}if(a){const it=this._fetchNamespace(a);it&&it.insertNode(u,E)}W&&this.collectEnterElement(u)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,u){u?this.disabledNodes.has(a)||(this.disabledNodes.add(a),Pf(a,LE)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),m_(a,LE))}removeNode(a,u,E){if(xy(u)){const W=a?this._fetchNamespace(a):null;W?W.removeNode(u,E):this.markElementAsRemoved(a,u,!1,E);const te=this.namespacesByHostElement.get(u);te&&te.id!==a&&te.removeNode(u,E)}else this._onRemovalComplete(u,E)}markElementAsRemoved(a,u,E,W,te){this.collectedLeaveElements.push(u),u[Rf]={namespaceId:a,setForRemoval:W,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:te}}listen(a,u,E,W,te){return xy(u)?this._fetchNamespace(a).listen(u,E,W,te):()=>{}}_buildInstruction(a,u,E,W,te){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,E,W,a.fromState.options,a.toState.options,u,te)}destroyInnerAnimations(a){let u=this.driver.query(a,mg,!0);u.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(u=this.driver.query(a,ME,!0),u.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(a){const u=this.playersByElement.get(a);u&&u.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(a){const u=this.playersByQueriedElement.get(a);u&&u.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Um(this.players).onDone(()=>a());a()})}processLeaveNode(a){const u=a[Rf];if(u&&u.setForRemoval){if(a[Rf]=VE,u.namespaceId){this.destroyInnerAnimations(a);const E=this._fetchNamespace(u.namespaceId);E&&E.clearElementCache(a)}this._onRemovalComplete(a,u.setForRemoval)}a.classList?.contains(LE)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(a=-1){let u=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,W)=>this._balanceNamespaceList(E,W)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;E<this.collectedEnterElements.length;E++)Pf(this.collectedEnterElements[E],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const E=[];try{u=this._flushAnimations(E,a)}finally{for(let W=0;W<E.length;W++)E[W]()}}else for(let E=0;E<this.collectedLeaveElements.length;E++)this.processLeaveNode(this.collectedLeaveElements[E]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(E=>E()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],u.length?Um(u).onDone(()=>{E.forEach(W=>W())}):E.forEach(W=>W())}}reportError(a){throw function xT(){return new h.buA(3402,!1)}()}_flushAnimations(a,u){const E=new $b,W=[],te=new Map,it=[],Nt=new Map,pn=new Map,jn=new Map,Ki=new Set;this.disabledNodes.forEach(Is=>{Ki.add(Is);const Eo=this.driver.query(Is,".ng-animate-queued",!0);for(let Lo=0;Lo<Eo.length;Lo++)Ki.add(Eo[Lo])});const lr=this.bodyNode,Br=Array.from(this.statesByElement.keys()),bs=Rw(Br,this.collectedEnterElements),gs=new Map;let $s=0;bs.forEach((Is,Eo)=>{const Lo=TE+$s++;gs.set(Eo,Lo),Is.forEach(Ga=>Pf(Ga,Lo))});const ka=[],Yl=new Set,Ol=new Set;for(let Is=0;Is<this.collectedLeaveElements.length;Is++){const Eo=this.collectedLeaveElements[Is],Lo=Eo[Rf];Lo&&Lo.setForRemoval&&(ka.push(Eo),Yl.add(Eo),Lo.hasAnimation?this.driver.query(Eo,".ng-star-inserted",!0).forEach(Ga=>Yl.add(Ga)):Ol.add(Eo))}const Od=new Map,Td=Rw(Br,Array.from(Yl));Td.forEach((Is,Eo)=>{const Lo=Ty+$s++;Od.set(Eo,Lo),Is.forEach(Ga=>Pf(Ga,Lo))}),a.push(()=>{bs.forEach((Is,Eo)=>{const Lo=gs.get(Eo);Is.forEach(Ga=>m_(Ga,Lo))}),Td.forEach((Is,Eo)=>{const Lo=Od.get(Eo);Is.forEach(Ga=>m_(Ga,Lo))}),ka.forEach(Is=>{this.processLeaveNode(Is)})});const jm=[],$u=[];for(let Is=this._namespaceList.length-1;Is>=0;Is--)this._namespaceList[Is].drainQueuedTransitions(u).forEach(Lo=>{const Ga=Lo.player,Yd=Lo.element;if(jm.push(Ga),this.collectedEnterElements.length){const Du=Yd[Rf];if(Du&&Du.setForMove){if(Du.previousTriggersValues&&Du.previousTriggersValues.has(Lo.triggerName)){const yg=Du.previousTriggersValues.get(Lo.triggerName),Of=this.statesByElement.get(Lo.element);if(Of&&Of.has(Lo.triggerName)){const e0=Of.get(Lo.triggerName);e0.value=yg,Of.set(Lo.triggerName,e0)}}return void Ga.destroy()}}const um=!lr||!this.driver.containsElement(lr,Yd),nf=Od.get(Yd),__=gs.get(Yd),zc=this._buildInstruction(Lo,E,__,nf,um);if(zc.errors&&zc.errors.length)return void $u.push(zc);if(um)return Ga.onStart(()=>pg(Yd,zc.fromStyles)),Ga.onDestroy(()=>hh(Yd,zc.toStyles)),void W.push(Ga);if(Lo.isFallbackTransition)return Ga.onStart(()=>pg(Yd,zc.fromStyles)),Ga.onDestroy(()=>hh(Yd,zc.toStyles)),void W.push(Ga);const KE=[];zc.timelines.forEach(Du=>{Du.stretchStartingKeyframe=!0,this.disabledNodes.has(Du.element)||KE.push(Du)}),zc.timelines=KE,E.append(Yd,zc.timelines),it.push({instruction:zc,player:Ga,element:Yd}),zc.queriedElements.forEach(Du=>Yu(Nt,Du,[]).push(Ga)),zc.preStyleProps.forEach((Du,yg)=>{if(Du.size){let Of=pn.get(yg);Of||pn.set(yg,Of=new Set),Du.forEach((e0,QE)=>Of.add(QE))}}),zc.postStyleProps.forEach((Du,yg)=>{let Of=jn.get(yg);Of||jn.set(yg,Of=new Set),Du.forEach((e0,QE)=>Of.add(QE))})});if($u.length){const Is=[];$u.forEach(Eo=>{Is.push(function RT(){return new h.buA(3505,!1)}())}),jm.forEach(Eo=>Eo.destroy()),this.reportError(Is)}const Md=new Map,lu=new Map;it.forEach(Is=>{const Eo=Is.element;E.has(Eo)&&(lu.set(Eo,Eo),this._beforeAnimationBuild(Is.player.namespaceId,Is.instruction,Md))}),W.forEach(Is=>{const Eo=Is.element;this._getPreviousPlayers(Eo,!1,Is.namespaceId,Is.triggerName,null).forEach(Ga=>{Yu(Md,Eo,[]).push(Ga),Ga.destroy()})});const tf=ka.filter(Is=>Ow(Is,pn,jn)),Wm=new Map;f_(Wm,this.driver,Ol,jn,so.kp).forEach(Is=>{Ow(Is,pn,jn)&&tf.push(Is)});const p_=new Map;bs.forEach((Is,Eo)=>{f_(p_,this.driver,new Set(Is),pn,so.FX)}),tf.forEach(Is=>{const Eo=Wm.get(Is),Lo=p_.get(Is);Wm.set(Is,new Map([...Eo?.entries()??[],...Lo?.entries()??[]]))});const qb=[],$E=[],GE={};it.forEach(Is=>{const{element:Eo,player:Lo,instruction:Ga}=Is;if(E.has(Eo)){if(Ki.has(Eo))return Lo.onDestroy(()=>hh(Eo,Ga.toStyles)),Lo.disabled=!0,Lo.overrideTotalTime(Ga.totalTime),void W.push(Lo);let Yd=GE;if(lu.size>1){let nf=Eo;const __=[];for(;nf=nf.parentNode;){const zc=lu.get(nf);if(zc){Yd=zc;break}__.push(nf)}__.forEach(zc=>lu.set(zc,Yd))}const um=this._buildAnimation(Lo.namespaceId,Ga,Md,te,p_,Wm);if(Lo.setRealPlayer(um),Yd===GE)qb.push(Lo);else{const nf=this.playersByElement.get(Yd);nf&&nf.length&&(Lo.parentPlayer=Um(nf)),W.push(Lo)}}else pg(Eo,Ga.fromStyles),Lo.onDestroy(()=>hh(Eo,Ga.toStyles)),$E.push(Lo),Ki.has(Eo)&&W.push(Lo)}),$E.forEach(Is=>{const Eo=te.get(Is.element);if(Eo&&Eo.length){const Lo=Um(Eo);Is.setRealPlayer(Lo)}}),W.forEach(Is=>{Is.parentPlayer?Is.syncPlayerEvents(Is.parentPlayer):Is.destroy()});for(let Is=0;Is<ka.length;Is++){const Eo=ka[Is],Lo=Eo[Rf];if(m_(Eo,Ty),Lo&&Lo.hasAnimation)continue;let Ga=[];if(Nt.size){let um=Nt.get(Eo);um&&um.length&&Ga.push(...um);let nf=this.driver.query(Eo,ME,!0);for(let __=0;__<nf.length;__++){let zc=Nt.get(nf[__]);zc&&zc.length&&Ga.push(...zc)}}const Yd=Ga.filter(um=>!um.destroyed);Yd.length?Ev(this,Eo,Yd):this.processLeaveNode(Eo)}return ka.length=0,qb.forEach(Is=>{this.players.push(Is),Is.onDone(()=>{Is.destroy();const Eo=this.players.indexOf(Is);this.players.splice(Eo,1)}),Is.play()}),qb}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,u,E,W,te){let it=[];if(u){const Nt=this.playersByQueriedElement.get(a);Nt&&(it=Nt)}else{const Nt=this.playersByElement.get(a);if(Nt){const pn=!te||te==Sy;Nt.forEach(jn=>{jn.queued||!pn&&jn.triggerName!=W||it.push(jn)})}}return(E||W)&&(it=it.filter(Nt=>!(E&&E!=Nt.namespaceId||W&&W!=Nt.triggerName))),it}_beforeAnimationBuild(a,u,E){const te=u.element,it=u.isRemovalTransition?void 0:a,Nt=u.isRemovalTransition?void 0:u.triggerName;for(const pn of u.timelines){const jn=pn.element,Ki=jn!==te,lr=Yu(E,jn,[]);this._getPreviousPlayers(jn,Ki,it,Nt,u.toState).forEach(bs=>{const gs=bs.getRealPlayer();gs.beforeDestroy&&gs.beforeDestroy(),bs.destroy(),lr.push(bs)})}pg(te,u.fromStyles)}_buildAnimation(a,u,E,W,te,it){const Nt=u.triggerName,pn=u.element,jn=[],Ki=new Set,lr=new Set,Br=u.timelines.map(gs=>{const $s=gs.element;Ki.add($s);const ka=$s[Rf];if(ka&&ka.removedBeforeQueried)return new so.sf(gs.duration,gs.delay);const Yl=$s!==pn,Ol=function UE(b){const a=[];return Pw(b,a),a}((E.get($s)||BE).map(Md=>Md.getRealPlayer())).filter(Md=>!!Md.element&&Md.element===$s),Od=te.get($s),Td=it.get($s),jm=Nb(this._normalizer,gs.keyframes,Od,Td),$u=this._buildPlayer(gs,jm,Ol);if(gs.subTimeline&&W&&lr.add($s),Yl){const Md=new Jb(a,Nt,$s);Md.setRealPlayer($u),jn.push(Md)}return $u});jn.forEach(gs=>{Yu(this.playersByQueriedElement,gs.element,[]).push(gs),gs.onDone(()=>function kw(b,a,u){let E=b.get(a);if(E){if(E.length){const W=E.indexOf(u);E.splice(W,1)}0==E.length&&b.delete(a)}return E}(this.playersByQueriedElement,gs.element,gs))}),Ki.forEach(gs=>Pf(gs,nw));const bs=Um(Br);return bs.onDestroy(()=>{Ki.forEach(gs=>m_(gs,nw)),hh(pn,u.toStyles)}),lr.forEach(gs=>{Yu(W,gs,[]).push(bs)}),bs}_buildPlayer(a,u,E){return u.length>0?this.driver.animate(a.element,u,a.duration,a.delay,a.easing,E):new so.sf(a.duration,a.delay)}}class Jb{namespaceId;triggerName;element;_player=new so.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(a,u,E){this.namespaceId=a,this.triggerName=u,this.element=E}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((u,E)=>{u.forEach(W=>pv(a,E,void 0,W))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const u=this._player;u.triggerCallback&&a.onStart(()=>u.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,u){Yu(this._queuedCallbacks,a,[]).push(u)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}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(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const u=this._player;u.triggerCallback&&u.triggerCallback(a)}}function xy(b){return b&&1===b.nodeType}function Ry(b,a){const u=b.style.display;return b.style.display=a??"none",u}function f_(b,a,u,E,W){const te=[];u.forEach(pn=>te.push(Ry(pn)));const it=[];
1E.forEach((pn,jn)=>{const Ki=new Map;pn.forEach(lr=>{const Br=a.computeStyle(jn,lr,W);Ki.set(lr,Br),(!Br||0==Br.length)&&(jn[Rf]=eM,it.push(jn))}),b.set(jn,Ki)});let Nt=0;return u.forEach(pn=>Ry(pn,te[Nt++])),it}function Rw(b,a){const u=new Map;if(b.forEach(Nt=>u.set(Nt,[])),0==a.length)return u;const W=new Set(a),te=new Map;function it(Nt){if(!Nt)return 1;let pn=te.get(Nt);if(pn)return pn;const jn=Nt.parentNode;return pn=u.has(jn)?jn:W.has(jn)?1:it(jn),te.set(Nt,pn),pn}return a.forEach(Nt=>{const pn=it(Nt);1!==pn&&u.get(pn).push(Nt)}),u}function Pf(b,a){b.classList?.add(a)}function m_(b,a){b.classList?.remove(a)}function Ev(b,a,u){Um(u).onDone(()=>b.processLeaveNode(a))}function Pw(b,a){for(let u=0;u<b.length;u++){const E=b[u];E instanceof so.PZ?Pw(E.players,a):a.push(E)}}function Ow(b,a,u){const E=u.get(b);if(!E)return!1;let W=a.get(b);return W?E.forEach(te=>W.add(te)):a.set(b,E),u.delete(b),!0}class Py{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(a,u)=>{};constructor(a,u,E){this._driver=u,this._normalizer=E,this._transitionEngine=new Aw(a.body,u,E),this._timelineEngine=new ZT(a.body,u,E),this._transitionEngine.onRemovalComplete=(W,te)=>this.onRemovalComplete(W,te)}registerTrigger(a,u,E,W,te){const it=a+"-"+W;let Nt=this._triggerCache[it];if(!Nt){const pn=[],Ki=AE(this._driver,te,pn,[]);if(pn.length)throw function JD(){return new h.buA(3404,!1)}();Nt=function XT(b,a,u){return new JT(b,a,u)}(W,Ki,this._normalizer),this._triggerCache[it]=Nt}this._transitionEngine.registerTrigger(u,W,Nt)}register(a,u){this._transitionEngine.register(a,u)}destroy(a,u){this._transitionEngine.destroy(a,u)}onInsert(a,u,E,W){this._transitionEngine.insertNode(a,u,E,W)}onRemove(a,u,E){this._transitionEngine.removeNode(a,u,E)}disableAnimations(a,u){this._transitionEngine.markElementAsDisabled(a,u)}process(a,u,E,W){if("@"==E.charAt(0)){const[te,it]=by(E);this._timelineEngine.command(te,u,it,W)}else this._transitionEngine.trigger(a,u,E,W)}listen(a,u,E,W,te){if("@"==E.charAt(0)){const[it,Nt]=by(E);return this._timelineEngine.listen(it,u,Nt,te)}return this._transitionEngine.listen(a,u,E,W,te)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let tM=(()=>{class b{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(u,E,W){this._element=u,this._startStyles=E,this._endStyles=W;let te=b.initialStylesByElement.get(u);te||b.initialStylesByElement.set(u,te=new Map),this._initialStyles=te}start(){this._state<1&&(this._startStyles&&hh(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hh(this._element,this._initialStyles),this._endStyles&&(hh(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(pg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(pg(this._element,this._endStyles),this._endStyles=null),hh(this._element,this._initialStyles),this._state=3)}}return b})();function wd(b){let a=null;return b.forEach((u,E)=>{(function Nw(b){return"display"===b||"position"===b})(E)&&(a=a||new Map,a.set(E,u))}),a}class Fw{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(a,u,E,W){this.element=a,this.keyframes=u,this.options=E,this._specialStyles=W,this._duration=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const a=this.keyframes,u=this._triggerWebAnimation(this.element,a,this.options);if(!u)return this._onFinish(),null;this.domPlayer=u,this._finalKeyframe=a.length?a[a.length-1]:new Map;const E=()=>this._onFinish();return u.addEventListener("finish",E),this.onDestroy(()=>{u.removeEventListener("finish",E)}),u}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(a){const u=[];return a.forEach(E=>{u.push(Object.fromEntries(E))}),u}_triggerWebAnimation(a,u,E){const W=this._convertKeyframesToObject(u);try{return a.animate(W,E)}catch{return null}}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){const a=this._buildPlayer();a&&(this.hasStarted()||(this._onStartFns.forEach(u=>u()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),a.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.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(a=>a()),this._onDestroyFns=[])}setPosition(a){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=a*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((E,W)=>{"offset"!==W&&a.set(W,this._finished?E:_g(this.element,W))}),this.currentSnapshot=a}triggerCallback(a){const u="start"===a?this._onStartFns:this._onDoneFns;u.forEach(E=>E()),u.length=0}}class Bw{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}containsElement(a,u){return DE(a,u)}getParentElement(a){return Ey(a)}query(a,u,E){return Fb(a,u,E)}computeStyle(a,u,E){return _g(a,u)}animate(a,u,E,W,te,it=[]){const pn={duration:E,delay:W,fill:0==W?"both":"forwards"};te&&(pn.easing=te);const jn=new Map,Ki=it.filter(bs=>bs instanceof Fw);(function NT(b,a){return 0===b||0===a})(E,W)&&Ki.forEach(bs=>{bs.currentSnapshot.forEach((gs,$s)=>jn.set($s,gs))});let lr=function sw(b){return b.length?b[0]instanceof Map?b:b.map(a=>new Map(Object.entries(a))):[]}(u).map(bs=>new Map(bs));lr=function FT(b,a,u){if(u.size&&a.length){let E=a[0],W=[];if(u.forEach((te,it)=>{E.has(it)||W.push(it),E.set(it,te)}),W.length)for(let te=1;te<a.length;te++){let it=a[te];W.forEach(Nt=>it.set(Nt,_g(b,Nt)))}}return a}(a,lr,jn);const Br=function Lw(b,a){let u=null,E=null;return Array.isArray(a)&&a.length?(u=wd(a[0]),a.length>1&&(E=wd(a[a.length-1]))):a instanceof Map&&(u=wd(a)),u||E?new tM(b,u,E):null}(a,lr);return new Fw(a,lr,pn,Br)}}const WE="@.disabled";class vg{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(a,u,E,W){this.namespaceId=a,this.delegate=u,this.engine=E,this._onDestroy=W}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,u){return this.delegate.createElement(a,u)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,u){this.delegate.appendChild(a,u),this.engine.onInsert(this.namespaceId,u,a,!1)}insertBefore(a,u,E,W=!0){this.delegate.insertBefore(a,u,E),this.engine.onInsert(this.namespaceId,u,a,W)}removeChild(a,u,E,W){W?this.delegate.removeChild(a,u,E,W):this.parentNode(u)&&this.engine.onRemove(this.namespaceId,u,this.delegate)}selectRootElement(a,u){return this.delegate.selectRootElement(a,u)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,u,E,W){this.delegate.setAttribute(a,u,E,W)}removeAttribute(a,u,E){this.delegate.removeAttribute(a,u,E)}addClass(a,u){this.delegate.addClass(a,u)}removeClass(a,u){this.delegate.removeClass(a,u)}setStyle(a,u,E,W){this.delegate.setStyle(a,u,E,W)}removeStyle(a,u,E){this.delegate.removeStyle(a,u,E)}setProperty(a,u,E){"@"==u.charAt(0)&&u==WE?this.disableAnimations(a,!!E):this.delegate.setProperty(a,u,E)}setValue(a,u){this.delegate.setValue(a,u)}listen(a,u,E,W){return this.delegate.listen(a,u,E,W)}disableAnimations(a,u){this.engine.disableAnimations(a,u)}}class iM extends vg{factory;constructor(a,u,E,W,te){super(u,E,W,te),this.factory=a,this.namespaceId=u}setProperty(a,u,E){"@"==u.charAt(0)?"."==u.charAt(1)&&u==WE?this.disableAnimations(a,E=void 0===E||!!E):this.engine.process(this.namespaceId,a,u.slice(1),E):this.delegate.setProperty(a,u,E)}listen(a,u,E,W){if("@"==u.charAt(0)){const te=function rM(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(a);let it=u.slice(1),Nt="";return"@"!=it.charAt(0)&&([it,Nt]=function Vw(b){const a=b.indexOf(".");return[b.substring(0,a),b.slice(a+1)]}(it)),this.engine.listen(this.namespaceId,te,it,Nt,pn=>{this.factory.scheduleListenerCallback(pn._data||-1,E,pn)})}return this.delegate.listen(a,u,E,W)}}class sM{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(a,u,E){this.delegate=a,this.engine=u,this._zone=E,u.onRemovalComplete=(W,te)=>{te?.removeChild(null,W)}}createRenderer(a,u){const W=this.delegate.createRenderer(a,u);if(!a||!u?.data?.animation){const jn=this._rendererCache;let Ki=jn.get(W);return Ki||(Ki=new vg("",W,this.engine,()=>jn.delete(W)),jn.set(W,Ki)),Ki}const te=u.id,it=u.id+"-"+this._currentId;this._currentId++,this.engine.register(it,a);const Nt=jn=>{Array.isArray(jn)?jn.forEach(Nt):this.engine.registerTrigger(te,it,a,jn.name,jn)};return u.data.animation.forEach(Nt),new iM(this,it,W,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(a,u,E){if(a>=0&&a<this._microtaskId)return void this._zone.run(()=>u(E));const W=this._animationCallbacksBuffer;0==W.length&&queueMicrotask(()=>{this._zone.run(()=>{W.forEach(te=>{const[it,Nt]=te;it(Nt)}),this._animationCallbacksBuffer=[]})}),W.push([u,E])}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()}componentReplaced(a){this.engine.flush(),this.delegate.componentReplaced?.(a)}}const YE=[{provide:Vb,useFactory:function jw(){return new hw}},{provide:Py,useClass:(()=>{class b extends Py{constructor(u,E,W){super(u,E,W)}ngOnDestroy(){this.flush()}static \u0275fac=function(E){return new(E||b)(h.KVO(h.qQL),h.KVO(IE),h.KVO(Vb))};static \u0275prov=h.jDH({token:b,factory:b.\u0275fac})}return b})()},{provide:T._9s,useFactory:function aM(b,a,u){return new sM(b,a,u)},deps:[Ne,Py,T.SKi]}],Ww=[{provide:IE,useClass:cw},{provide:T.bc$,useValue:"NoopAnimations"},...YE],Zb=[{provide:IE,useFactory:()=>new Bw},{provide:T.bc$,useFactory:()=>"BrowserAnimations"},...YE];let Hw=(()=>{class b{static withConfig(u){return{ngModule:b,providers:u.disableAnimations?Ww:Zb}}static \u0275fac=function(E){return new(E||b)};static \u0275mod=T.$C({type:b});static \u0275inj=h.G2t({providers:Zb,imports:[di]})}return b})();var dM=d(4441),uM=d(9945);let Ly=ci.c.firebase;"booking-test-ed2be.web.app"===location.hostname&&(Ly={apiKey:"AIzaSyD6ARNNWjcZfXi30Pi0lUt6Zx1rUk5Y_-g",authDomain:"booking-test-ed2be.firebaseapp.com",projectId:"booking-test-ed2be",storageBucket:"booking-test-ed2be.appspot.com",messagingSenderId:"681852939156",appId:"1:681852939156:web:8a32e0e1e129ca4b037d81",measurementId:"G-Z5473BBP3S"});const Ny=localStorage.getItem("project");null!=Ny&&("s1"===Ny?Ly={apiKey:"AIzaSyBK988ph69qJFvDHq9zlSouSnwBFNn6Z_Y",authDomain:"booking-s1.firebaseapp.com",projectId:"booking-s1",storageBucket:"booking-s1.appspot.com",messagingSenderId:"204888389840",appId:"1:204888389840:web:498d5558a6ec653a0a86d5",measurementId:"G-P9Y9QNP91E"}:"test"===Ny&&(Ly={databaseURL:"https://booking-test-ed2be.firebaseio.com",apiKey:"AIzaSyD6ARNNWjcZfXi30Pi0lUt6Zx1rUk5Y_-g",authDomain:"booking-test-ed2be.firebaseapp.com",projectId:"booking-test-ed2be",storageBucket:"booking-test-ed2be.appspot.com",messagingSenderId:"681852939156",appId:"1:681852939156:web:265e9c45798db72c037d81",measurementId:"G-Z5473BBP3S"}));let Fy=(()=>{var b;class a{static#e=b=()=>(this.\u0275fac=function(W){return new(W||a)},this.\u0275mod=T.$C({type:a,bootstrap:[Ce]}),this.\u0275inj=h.G2t({providers:[(0,Ue.MW)(()=>(0,Ue.Wp)(Ly)),bo(()=>eD()),bp(()=>fy()),od(()=>u_()),qM(()=>Rb()),Fm,zs,{provide:dM.Zg,useValue:"asia-northeast1"},{provide:uM.Ju,useValue:"zh-TW"},(0,pi.$R)((0,pi.Sx)())],imports:[di,xe,fE.bf.initializeApp(Ly),mE.UN,Ee.PO,ai.G,Hw]}))}return b(),a})();ci.c.production&&(0,M.SmG)(),Tn().bootstrapModule(Fy).catch(b=>console.error(b))},7376(tn,Ye,d){var o;tn=d.nmd(tn),function(){var s,T="Expected a function",k="__lodash_hash_undefined__",B="__lodash_placeholder__",at=1/0,Ut=9007199254740991,hn=4294967295,Pe=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],yt="[object Arguments]",wt="[object Array]",ie="[object Boolean]",je="[object Date]",Ze="[object Error]",We="[object Function]",Ot="[object GeneratorFunction]",Me="[object Map]",It="[object Number]",ti="[object Object]",Wn="[object Promise]",Bn="[object RegExp]",Oi="[object Set]",dn="[object String]",Tn="[object Symbol]",_="[object WeakMap]",di="[object ArrayBuffer]",ai="[object DataView]",pi="[object Float32Array]",Vi="[object Float64Array
vendor: 66,707 bytes, line 1
1]",ii="[object Int8Array]",rr="[object Int16Array]",Sn="[object Int32Array]",ci="[object Uint8Array]",Un="[object Uint8ClampedArray]",fr="[object Uint16Array]",Vt="[object Uint32Array]",un=/\b__p \+= '';/g,Ae=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,z=/&(?:amp|lt|gt|quot|#39);/g,Ee=/[&<>"']/g,Ce=RegExp(z.source),Ue=RegExp(Ee.source),Tt=/<%-([\s\S]+?)%>/g,fe=/<%([\s\S]+?)%>/g,we=/<%=([\s\S]+?)%>/g,_e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/,j=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,qe=RegExp(X.source),Yt=/^\s+/,On=/\s/,wi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qi=/\{\n\/\* \[wrapped with (.+)\] \*/,Tr=/,? & /,Er=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_n=/[()=,{}\[\]\/\s]/,an=/\\(\\)?/g,Pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ke=/\w*$/,De=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,et=/^\[object .+?Constructor\]$/,Rn=/^0o[0-7]+$/i,Zn=/^(?:0|[1-9]\d*)$/,gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zn=/($^)/,ft=/['\n\r\u2028\u2029\\]/g,Bt="\\ud800-\\udfff",Mr="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$t="\\u2700-\\u27bf",wn="a-z\\xdf-\\xf6\\xf8-\\xff",_r="A-Z\\xc0-\\xd6\\xd8-\\xde",Cr="\\ufe0e\\ufe0f",Hr="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ns="["+Bt+"]",Cs="["+Hr+"]",Xs="["+Mr+"]",Fs="\\d+",po="["+$t+"]",Ks="["+wn+"]",as="[^"+Bt+Hr+Fs+$t+wn+_r+"]",Pn="\\ud83c[\\udffb-\\udfff]",Ni="[^"+Bt+"]",Jt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ri="[\\ud800-\\udbff][\\udc00-\\udfff]",Q="["+_r+"]",ot="(?:"+Ks+"|"+as+")",bn="(?:"+Q+"|"+as+")",_i="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Yr="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",oo="(?:"+Xs+"|"+Pn+")?",to="["+Cr+"]?",Dt=to+oo+"(?:\\u200d(?:"+[Ni,Jt,Ri].join("|")+")"+to+oo+")*",An="(?:"+[po,Jt,Ri].join("|")+")"+Dt,Lt="(?:"+[Ni+Xs+"?",Xs,Jt,Ri,Ns].join("|")+")",sn=RegExp("['\u2019]","g"),dt=RegExp(Xs,"g"),qi=RegExp(Pn+"(?="+Pn+")|"+Lt+Dt,"g"),br=RegExp([Q+"?"+Ks+"+"+_i+"(?="+[Cs,Q,"$"].join("|")+")",bn+"+"+Yr+"(?="+[Cs,Q+ot,"$"].join("|")+")",Q+"?"+ot+"+"+_i,Q+"+"+Yr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fs,An].join("|"),"g"),$i=RegExp("[\\u200d"+Bt+Mr+Cr+"]"),Es=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Fn=-1,Vn={};Vn[pi]=Vn[Vi]=Vn[ii]=Vn[rr]=Vn[Sn]=Vn[ci]=Vn[Un]=Vn[fr]=Vn[Vt]=!0,Vn[yt]=Vn[wt]=Vn[di]=Vn[ie]=Vn[ai]=Vn[je]=Vn[Ze]=Vn[We]=Vn[Me]=Vn[It]=Vn[ti]=Vn[Bn]=Vn[Oi]=Vn[dn]=Vn[_]=!1;var Ii={};Ii[yt]=Ii[wt]=Ii[di]=Ii[ai]=Ii[ie]=Ii[je]=Ii[pi]=Ii[Vi]=Ii[ii]=Ii[rr]=Ii[Sn]=Ii[Me]=Ii[It]=Ii[ti]=Ii[Bn]=Ii[Oi]=Ii[dn]=Ii[Tn]=Ii[ci]=Ii[Un]=Ii[fr]=Ii[Vt]=!0,Ii[Ze]=Ii[We]=Ii[_]=!1;var Rs={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ls=parseFloat,ds=parseInt,Jo="object"==typeof global&&global&&global.Object===Object&&global,Zo="object"==typeof self&&self&&self.Object===Object&&self,As=Jo||Zo||Function("return this")(),kl=Ye&&!Ye.nodeType&&Ye,Ct=kl&&tn&&!tn.nodeType&&tn,xt=Ct&&Ct.exports===kl,kn=xt&&Jo.process,Hn=function(){try{return Ct&&Ct.require&&Ct.require("util").types||kn&&kn.binding&&kn.binding("util")}catch{}}(),fi=Hn&&Hn.isArrayBuffer,Hi=Hn&&Hn.isDate,ur=Hn&&Hn.isMap,Lr=Hn&&Hn.isRegExp,Or=Hn&&Hn.isSet,is=Hn&&Hn.isTypedArray;function Gr(ri,nr,Pi){switch(Pi.length){case 0:return ri.call(nr);case 1:return ri.call(nr,Pi[0]);case 2:return ri.call(nr,Pi[0],Pi[1]);case 3:return ri.call(nr,Pi[0],Pi[1],Pi[2])}return ri.apply(nr,Pi)}function lo(ri,nr,Pi,Nr){for(var Bs=-1,Qs=null==ri?0:ri.length;++Bs<Qs;){var qs=ri[Bs];nr(Nr,qs,Pi(qs),ri)}return Nr}function ms(ri,nr){for(var Pi=-1,Nr=null==ri?0:ri.length;++Pi<Nr&&!1!==nr(ri[Pi],Pi,ri););return ri}function Gs(ri,nr){for(var Pi=null==ri?0:ri.length;Pi--&&!1!==nr(ri[Pi],Pi,ri););return ri}function No(ri,nr){for(var Pi=-1,Nr=null==ri?0:ri.length;++Pi<Nr;)if(!nr(ri[Pi],Pi,ri))return!1;return!0}function Do(ri,nr){for(var Pi=-1,Nr=null==ri?0:ri.length,Bs=0,Qs=[];++Pi<Nr;){var qs=ri[Pi];nr(qs,Pi,ri)&&(Qs[Bs++]=qs)}return Qs}function Oo(ri,nr){return!(null==ri||!ri.length)&&wl(ri,nr,0)>-1}function qo(ri,nr,Pi){for(var Nr=-1,Bs=null==ri?0:ri.length;++Nr<Bs;)if(Pi(nr,ri[Nr]))return!0;return!1}function Js(ri,nr){for(var Pi=-1,Nr=null==ri?0:ri.length,Bs=Array(Nr);++Pi<Nr;)Bs[Pi]=nr(ri[Pi],Pi,ri);return Bs}function ko(ri,nr){for(var Pi=-1,Nr=nr.length,Bs=ri.length;++Pi<Nr;)ri[Bs+Pi]=nr[Pi];return ri}function Uo(ri,nr,Pi,Nr){var Bs=-1,Qs=null==ri?0:ri.length;for(Nr&&Qs&&(Pi=ri[++Bs]);++Bs<Qs;)Pi=nr(Pi,ri[Bs],Bs,ri);return Pi}function no(ri,nr,Pi,Nr){var Bs=null==ri?0:ri.length;for(Nr&&Bs&&(Pi=ri[--Bs]);Bs--;)Pi=nr(Pi,ri[Bs],Bs,ri);return Pi}function la(ri,nr){for(var Pi=-1,Nr=null==ri?0:ri.length;++Pi<Nr;)if(nr(ri[Pi],Pi,ri))return!0;return!1}var Ka=ea("length");function ll(ri,nr,Pi){var Nr;return Pi(ri,function(Bs,Qs,qs){if(nr(Bs,Qs,qs))return Nr=Qs,!1}),Nr}function wo(ri,nr,Pi,Nr){for(var Bs=ri.length,Qs=Pi+(Nr?1:-1);Nr?Qs--:++Qs<Bs;)if(nr(ri[Qs],Qs,ri))return Qs;return-1}function wl(ri,nr,Pi){return nr==nr?function Ya(ri,nr,Pi){for(var Nr=Pi-1,Bs=ri.length;++Nr<Bs;)if(ri[Nr]===nr)return Nr;return-1}(ri,nr,Pi):wo(ri,Ps,Pi)}function Us(ri,nr,Pi,Nr){for(var Bs=Pi-1,Qs=ri.length;++Bs<Qs;)if(Nr(ri[Bs],nr))return Bs;return-1}function Ps(ri){return ri!=ri}function ba(ri,nr){var Pi=null==ri?0:ri.length;return Pi?Fo(ri,nr)/Pi:NaN}function ea(ri){return function(nr){return null==nr?s:nr[ri]}}function Os(ri){return function(nr){return null==ri?s:ri[nr]}}function pl(ri,nr,Pi,Nr,Bs){return Bs(ri,function(Qs,qs,eo){Pi=Nr?(Nr=!1,Qs):nr(Pi,Qs,qs,eo)}),Pi}function Fo(ri,nr){for(var Pi,Nr=-1,Bs=ri.length;++Nr<Bs;){var Qs=nr(ri[Nr]);Qs!==s&&(Pi=Pi===s?Qs:Pi+Qs)}return Pi}function ca(ri,nr){for(var Pi=-1,Nr=Array(ri);++Pi<ri;)Nr[Pi]=nr(Pi);return Nr}function Mo(ri){return ri&&ri.slice(0,gr(ri)+1).replace(Yt,"")}function pa(ri){return function(nr){return ri(nr)}}function xa(ri,nr){return Js(nr,function(Pi){return ri[Pi]})}function Kr(ri,nr){return ri.has(nr)}function _l(ri,nr){for(var Pi=-1,Nr=ri.length;++Pi<Nr&&wl(nr,ri[Pi],0)>-1;);return Pi}function el(ri,nr){for(var Pi=ri.length;Pi--&&wl(nr,ri[Pi],0)>-1;);return Pi}var tt=Os({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),Et=Os({"&":"&","<":"<",">":">",'"':""","'":"'"});function pe(ri){return"\\"+Rs[ri]}function Ln(ri){return $i.test(ri)}function _o(ri){var nr=-1,Pi=Array(ri.size);return ri.forEach(function(Nr,Bs){Pi[++nr]=[Bs,Nr]}),Pi}function Yo(ri,nr){return function(Pi){return ri(nr(Pi))}}function Da(ri,nr){for(var Pi=-1,Nr=ri.length,Bs=0,Qs=[];++Pi<Nr;){var qs=ri[Pi];(qs===nr||qs===B)&&(ri[Pi]=B,Qs[Bs++]=Pi)}return Qs}function Ha(ri){var nr=-1,Pi=Array(ri.size);return ri.forEach(function(Nr){Pi[++nr]=Nr}),Pi}function Ra(ri){return Ln(ri)?function En(ri){for(var nr=qi.lastIndex=0;qi.test(ri);)++nr;return nr}(ri):Ka(ri)}function gi(ri){return Ln(ri)?function oi(ri){return ri.match(qi)||[]}(ri):function Qa(ri){return ri.split("")}(ri)}function gr(ri){for(var nr=ri.length;nr--&&On.test(ri.charAt(nr)););return nr}var ct=Os({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ho=function ri(nr){var m,Pi=(nr=null==nr?As:ho.defaults(As.Object(),nr,ho.pick(As,Mn))).Array,Nr=nr.Date,Bs=nr.Error,Qs=nr.Function,qs=nr.Math,eo=nr.Object,dc=nr.RegExp,Cc=nr.String,nl=nr.TypeError,Sl=Pi.prototype,il=eo.prototype,da=nr["__core-js_shared__"],hc=Qs.prototype.toString,ps=il.hasOwnProperty,wa=0,fc=(m=/[^.]+$/.exec(da&&da.keys&&da.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",gl=il.toString,dl=hc.call(eo),mc=As._,Ac=dc("^"+hc.call(ps).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ws=xt?nr.Buffer:s,go=nr.Symbol,Fa=nr.Uint8Array,Ll=Ws?Ws.allocUnsafe:s,Go=Yo(eo.getPrototypeOf,eo),kc=eo.create,vl=il.propertyIsEnumerable,Tl=Sl.splice,Nl=go?go.isConcatSpreadable:s,vs=go?go.iterator:s,ha=go?go.toStringTag:s,Pa=function(){try{var m=Ts(eo,"defineProperty");return m({},"",{}),m}catch{}}(),ld=nr.clearTimeout!==As.clearTimeout&&nr.clearTimeout,$c=Nr&&Nr.now!==As.Date.now&&Nr.now,cd=nr.setTimeout!==As.setTimeout&&nr.setTimeout,Sc=qs.ceil,rc=qs.floor,dd=eo.getOwnPropertySymbols,xl=Ws?Ws.isBuffer:s,$l=nr.isFinite,Gl=Sl.join,Fl=Yo(eo.keys,eo),zo=qs.max,ne=qs.min,Oe=Nr.now,me=nr.parseInt,Re=qs.random,Rt=Sl.reverse,Xt=Ts(nr,"DataView"),Cn=Ts(nr,"Map"),mi=Ts(nr,"Promise"),Zi=Ts(nr,"Set"),Ar=Ts(nr,"WeakMap"),Ur=Ts(eo,"create"),_a=Ar&&new Ar,Ta={},Oa=pu(Xt),pr=pu(Cn),io=pu(mi),So=pu(Zi),Bl=pu(Ar),xc=go?go.prototype:s,ao=xc?xc.valueOf:s,Rc=xc?xc.toString:s;function rn(m){if(tc(m)&&!yo(m)&&!(m instanceof ro)){if(m instanceof Ba)return m;if(ps.call(m,"__wrapped__"))return ih(m)}return new Ba(m)}var Pc=function(){function m(){}return function(D){if(!fl(D))return{};if(kc)return kc(D);m.prototype=D;var G=new m;return m.prototype=s,G}}();function ga(){}function Ba(m,D){this.__wrapped__=m,this.__actions__=[],this.__chain__=!!D,this.__index__=0,this.__values__=s}function ro(m){this.__wrapped__=m,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=hn,this.__views__=[]}function Ql(m){var D=-1,G=null==m?0:m.length;for(this.clear();++D<G;){var Ve=m[D];this.set(Ve[0],Ve[1])}}function Xl(m){var D=-1,G=null==m?0:m.length;for(this.clear();++D<G;){var Ve=m[D];this.set(Ve[0],Ve[1])}}function yl(m){var D=-1,G=null==m?0:m.length;for(this.clear();++D<G;){var Ve=m[D];this.set(Ve[0],Ve[1])}}function jt(m){var D=-1,G=null==m?0:m.length;for(this.__data__=new yl;++D<G;)this.add(m[D])}function Si(m){var D=this.__data__=new Xl(m);this.size=D.size}function Ss(m,D){var G=yo(m),Ve=!G&&Zh(m),zt=!G&&!Ve&&kh(m),Dn=!G&&!Ve&&!zt&&Cm(m),Gn=G||Ve||zt||Dn,ui=Gn?ca(m.length,Cc):[],Ei=ui.length;for(var wr in m)(D||ps.call(m,wr))&&(!Gn||!("length"==wr||zt&&("offset"==wr||"parent"==wr)||Dn&&("buffer"==wr||"byteLength"==wr||"byteOffset"==wr)||gd(wr,Ei)))&&ui.push(wr);return ui}function ta(m){var D=m.length;return D?m[Fh(0,D-1)]:s}function Ma(m,D){return nh(Wl(m),hl(D,0,m.length))}function La(m){return nh(Wl(m))}function Il(m,D,G){(G!==s&&!td(m[D],G)||G===s&&!(D in m))&&Ia(m,D,G)}function xo(m,D,G){var Ve=m[D];(!ps.call(m,D)||!td(Ve,G)||G===s&&!(D in m))&&Ia(m,D,G)}function es(m,D){for(var G=m.length;G--;)if(td(m[G][0],D))return G;return-1}function jo(m,D,G,Ve){return uo(m,function(zt,Dn,Gn){D(Ve,zt,G(zt),Gn)}),Ve}function ul(m,D){return m&&sc(D,Mc(D),m)}function Ia(m,D,G){"__proto__"==D&&Pa?Pa(m,D,{configurable:!0,enumerable:!0,value:G,writable:!0}):m[D]=G}function Ul(m,D){for(var G=-1,Ve=D.length,zt=Pi(Ve),Dn=null==m;++G<Ve;)zt[G]=Dn?s:xh(m,D[G]);return zt}function hl(m,D,G){return m==m&&(G!==s&&(m=m<=G?m:G),D!==s&&(m=m>=D?m:D)),m}function Xa(m,D,G,Ve,zt,Dn){var Gn,ui=1&D,Ei=2&D,wr=4&D;if(G&&(Gn=zt?G(m,Ve,zt,Dn):G(m)),Gn!==s)return Gn;if(!fl(m))return m;var ar=yo(m);if(ar){if(Gn=function Ru(m){var D=m.length,G=new m.constructor(D);return D&&"string"==typeof m[0]&&ps.call(m,"index")&&(G.index=m.index,G.input=m.input),G}(m),!ui)return Wl(m,Gn)}else{var Ir=Tc(m),ts=Ir==We||Ir==Ot;if(kh(m))return Cu(m,ui);if(Ir==ti||Ir==yt||ts&&!zt){if(Gn=Ei||ts?{}:of(m),!ui)return Ei?function Xu(m,D){return sc(m,_d(m),D)}(m,function pc(m,D){return m&&sc(D,xd(D),m)}(Gn,m)):function Vh(m,D){return sc(m,qc(m),D)}(m,ul(Gn,m))}else{if(!Ii[Ir])return zt?m:{};Gn=function Zu(m,D,G){var Ve=m.constructor;switch(D){case di:return Jd(m);case ie:case je:return new Ve(+m);case ai:return function rf(m,D){var G=D?Jd(m.buffer):m.buffer;return new m.constructor(G,m.byteOffset,m.byteLength)}(m,G);case pi:case Vi:case ii:case rr:case Sn:case ci:case Un:case fr:case Vt:return Zd(m,G);case Me:return new Ve;case It:case dn:return new Ve(m);case Bn:return function Lf(m){var D=new m.constructor(m.source,ke.exec(m));return D.lastIndex=m.lastIndex,D}(m);case Oi:return new Ve;case Tn:return function sf(m){return ao?eo(ao.call(m)):{}}(m)}}(m,Ir,ui)}}Dn||(Dn=new Si);var us=Dn.get(m);if(us)return us;Dn.set(m,Gn),Av(m)?m.forEach(function(bo){Gn.add(Xa(bo,D,G,bo,m,Dn))}):ep(m)&&m.forEach(function(bo,ua){Gn.set(ua,Xa(bo,D,G,ua,m,Dn))});var na=ar?s:(wr?Ei?ln:pt:Ei?xd:Mc)(m);return ms(na||m,function(bo,ua){na&&(bo=m[ua=bo]),xo(Gn,ua,Xa(bo,D,G,ua,m,Dn))}),Gn}function _c(m,D,G){var Ve=G.length;if(null==m)return!Ve;for(m=eo(m);Ve--;){var zt=G[Ve],Gn=m[zt];if(Gn===s&&!(zt in m)||!(0,D[zt])(Gn))return!1}return!0}function gc(m,D,G){if("function"!=typeof m)throw new nl(T);return tu(function(){m.apply(s,G)},D)}function Ca(m,D,G,Ve){var zt=-1,Dn=Oo,Gn=!0,ui=m.length,Ei=[],wr=D.length;if(!ui)return Ei;G&&(D=Js(D,pa(G))),Ve?(Dn=qo,Gn=!1):D.length>=200&&(Dn=Kr,Gn=!1,D=new jt(D));e:for(;++zt<ui;){var ar=m[zt],Ir=null==G?ar:G(ar);if(ar=Ve||0!==ar?ar:0,Gn&&Ir==Ir){for(var ts=wr;ts--;)if(D[ts]===Ir)continue e;Ei.push(ar)}else Dn(D,Ir,Ve)||Ei.push(ar)}return Ei}rn.templateSettings={escape:Tt,evaluate:fe,interpolate:we,variable:"",imports:{_:rn}},(rn.prototype=ga.prototype).constructor=rn,(Ba.prototype=Pc(ga.prototype)).constructor=Ba,(ro.prototype=Pc(ga.prototype)).constructor=ro,Ql.prototype.clear=function mh(){this.__data__=Ur?Ur(null):{},this.size=0},Ql.prototype.delete=function cu(m){var D=this.has(m)&&delete this.__data__[m];return this.size-=D?1:0,D},Ql.prototype.get=function Hs(m){var D=this.__data__;if(Ur){var G=D[m];return G===k?s:G}return ps.call(D,m)?D[m]:s},Ql.prototype.has=function zd(m){var D=this.__data__;return Ur?D[m]!==s:ps.call(D,m)},Ql.prototype.set=function ud(m,D){var G=this.__data__;return this.size+=this.has(m)?0:1,G[m]=Ur&&D===s?k:D,this},Xl.prototype.clear=function Ld(){this.__data__=[],this.size=0},Xl.prototype.delete=function $d(m){var D=this.__data__,G=es(D,m);return!(G<0||(G==D.length-1?D.pop():Tl.call(D,G,1),--this.size,0))},Xl.prototype.get=function Gc(m){var D=this.__data__,G=es(D,m);return G<0?s:D[G][1]},Xl.prototype.has=function Id(m){return es(this.__data__,m)>-1},Xl.prototype.set=function Jl(m,D){var G=this.__data__,Ve=es(G,m);return Ve<0?(++this.size,G.push([m,D])):G[Ve][1]=D,this},yl.prototype.clear=function Oc(){this.size=0,this.__data__={hash:new Ql,map:new(Cn||Xl),string:new Ql}},yl.prototype.delete=function Ls(m){var D=qr(this,m).delete(m);return this.size-=D?1:0,D},yl.prototype.get=function Vl(m){return qr(this,m).get(m)},yl.prototype.has=function Kt(m){return qr(this,m).has(m)},yl.prototype.set=function ht(m,D){var G=qr(this,m),Ve=G.size;return G.set(m,D),this.size+=G.size==Ve?0:1,this},jt.prototype.add=jt.prototype.push=function en(m){return this.__data__.set(m,k),this},jt.prototype.has=function Nn(m){return this.__data__.has(m)},Si.prototype.clear=function vr(){this.__data__=new Xl,this.size=0},Si.prototype.delete=function or(m){var D=this.__data__,G=D.delete(m);return this.size=D.size,G},Si.prototype.get=function xr(m){return this.__data__.get(m)},Si.prototype.has=function rs(m){return this.__data__.has(m)},Si.prototype.set=function co(m,D){var G=this.__data__;if(G instanceof Xl){var Ve=G.__data__;if(!Cn||Ve.length<199)return Ve.push([m,D]),this.size=++G.size,this;G=this.__data__=new yl(Ve)}return G.set(m,D),this.size=G.size,this};var uo=ku(er),Kc=ku(Fr,!0);function wu(m,D){var G=!0;return uo(m,function(Ve,zt,Dn){return G=!!D(Ve,zt,Dn)}),G}function vc(m,D,G){for(var Ve=-1,zt=m.length;++Ve<zt;){var Dn=m[Ve],Gn=D(Dn);if(null!=Gn&&(ui===s?Gn==Gn&&!Vu(Gn):G(Gn,ui)))var ui=Gn,Ei=Dn}return Ei}function le(m,D){var G=[];return uo(m,function(Ve,zt,Dn){D(Ve,zt,Dn)&&G.push(Ve)}),G}function At(m,D,G,Ve,zt){var Dn=-1,Gn=m.length;for(G||(G=yh),zt||(zt=[]);++Dn<Gn;){var ui=m[Dn];D>0&&G(ui)?D>1?At(ui,D-1,G,Ve,zt):ko(zt,ui):Ve||(zt[zt.length]=ui)}return zt}var mn=Su(),Fi=Su(!0);function er(m,D){return m&&mn(m,D,Mc)}function Fr(m,D){return m&&Fi(m,D,Mc)}function vo(m,D){return Do(D,function(G){return bd(m[G])})}function Bo(m,D){for(var G=0,Ve=(D=fa(D,m)).length;null!=m&&G<Ve;)m=m[Bc(D[G++])];return G&&G==Ve?m:s}function Va(m,D,G){var Ve=D(m);return yo(m)?Ve:ko(Ve,G(m))}function Ro(m){return null==m?m===s?"[object Undefined]":"[object Null]":ha&&ha in eo(m)?function Xo(m){var D=ps.call(m,ha),G=m[ha];try{m[ha]=s;var Ve=!0}catch{}var zt=gl.call(m);return Ve&&(D?m[ha]=G:delete m[ha]),zt}(m):function ya(m){return gl.call(m)}(m)}function Ja(m,D){return m>D}function Nd(m,D){return null!=m&&ps.call(m,D)}function Kd(m,D){return null!=m&&D in eo(m)}function Ua(m,D,G){for(var Ve=G?qo:Oo,zt=m[0].length,Dn=m.length,Gn=Dn,ui=Pi(Dn),Ei=1/0,wr=[];Gn--;){var ar=m[Gn];Gn&&D&&(ar=Js(ar,pa(D))),Ei=ne(ar.length,Ei),ui[Gn]=!G&&(D||zt>=120&&ar.length>=120)?new jt(Gn&&ar):s}ar=m[0];var Ir=-1,ts=ui[0];e:for(;++Ir<zt&&wr.length<Ei;){var us=ar[Ir],Zs=D?D(us):us;if(us=G||0!==us?us:0,!(ts?Kr(ts,Zs):Ve(wr,Zs,G))){for(Gn=Dn;--Gn;){var na=ui[Gn];if(!(na?Kr(na,Zs):Ve(m[Gn],Zs,G)))continue e}ts&&ts.push(Zs),wr.push(us)}}return wr}function Qd(m,D,G){var Ve=null==(m=mu(m,D=fa(D,m)))?m:m[Bc(Ko(D))];return null==Ve?s:Gr(Ve,m,G)}function Fd(m){return tc(m)&&Ro(m)==yt}function Nc(m,D,G,Ve,zt){return m===D||(null==m||null==D||!tc(m)&&!tc(D)?m!=m&&D!=D:function va(m,D,G,Ve,zt,Dn){var Gn=yo(m),ui=yo(D),Ei=Gn?wt:Tc(m),wr=ui?wt:Tc(D),ar=(Ei=Ei==yt?ti:Ei)==ti,Ir=(wr=wr==yt?ti:wr)==ti,ts=Ei==wr;if(ts&&kh(m)){if(!kh(D))return!1;Gn=!0,ar=!1}if(ts&&!ar)return Dn||(Dn=new Si),Gn||Cm(m)?K(m,D,G,Ve,zt,Dn):function C(m,D,G,Ve,zt,Dn,Gn){switch(G){case ai:if(m.byteLength!=D.byteLength||m.byteOffset!=D.byteOffset)return!1;m=m.buffer,D=D.buffer;case di:return!(m.byteLength!=D.byteLength||!Dn(new Fa(m),new Fa(D)));case ie:case je:case It:return td(+m,+D);case Ze:return m.name==D.name&&m.message==D.message;case Bn:case dn:return m==D+"";case Me:var ui=_o;case Oi:if(ui||(ui=Ha),m.size!=D.size&&!(1&Ve))return!1;var wr=Gn.get(m);if(wr)return wr==D;Ve|=2,Gn.set(m,D);var ar=K(ui(m),ui(D),Ve,zt,Dn,Gn);return Gn.delete(m),ar;case Tn:if(ao)return ao.call(m)==ao.call(D)}return!1}(m,D,Ei,G,Ve,zt,Dn);if(!(1&G)){var us=ar&&ps.call(m,"__wrapped__"),Zs=Ir&&ps.call(D,"__wrapped__");if(us||Zs){var na=us?m.value():m,bo=Zs?D.value():D;return Dn||(Dn=new Si),zt(na,bo,G,Ve,Dn)}}return!!ts&&(Dn||(Dn=new Si),function O(m,D,G,Ve,zt,Dn){var Gn=1&G,ui=pt(m),Ei=ui.length;if(Ei!=pt(D).length&&!Gn)return!1;for(var Ir=Ei;Ir--;){var ts=ui[Ir];if(!(Gn?ts in D:ps.call(D,ts)))return!1}var us=Dn.get(m),Zs=Dn.get(D);if(us&&Zs)return us==D&&Zs==m;var na=!0;Dn.set(m,D),Dn.set(D,m);for(var bo=Gn;++Ir<Ei;){var ua=m[ts=ui[Ir]],Aa=D[ts];if(Ve)var su=Gn?Ve(Aa,ua,ts,D,m,Dn):Ve(ua,Aa,ts,m,D,Dn);if(!(su===s?ua===Aa||zt(ua,Aa,G,Ve,Dn):su)){na=!1;break}bo||(bo="constructor"==ts)}if(na&&!bo){var Hd=m.constructor,yu=D.constructor;Hd!=yu&&"constructor"in m&&"constructor"in D&&!("function"==typeof Hd&&Hd instanceof Hd&&"function"==typeof yu&&yu instanceof yu)&&(na=!1)}return Dn.delete(m),Dn.delete(D),na}(m,D,G,Ve,zt,Dn))}(m,D,G,Ve,Nc,zt))}function wc(m,D,G,Ve){var zt=G.length,Dn=zt,Gn=!Ve;if(null==m)return!Dn;for(m=eo(m);zt--;){var ui=G[zt];if(Gn&&ui[2]?ui[1]!==m[ui[0]]:!(ui[0]in m))return!1}for(;++zt<Dn;){var Ei=(ui=G[zt])[0],wr=m[Ei],ar=ui[1];if(Gn&&ui[2]){if(wr===s&&!(Ei in m))return!1}else{var Ir=new Si;if(Ve)var ts=Ve(wr,ar,Ei,m,D,Ir);if(!(ts===s?Nc(ar,wr,3,Ve,Ir):ts))return!1}}return!0}function Po(m){return!(!fl(m)||function mm(m){return!!fc&&fc in m}(m))&&(bd(m)?Ac:et).test(pu(m))}function mt(m){return"function"==typeof m?m:null==m?id:"object"==typeof m?yo(m)?fo(m[0],m[1]):ws(m):Yg(m)}function nn(m){if(!af(m))return Fl(m);var D=[];for(var G in eo(m))ps.call(m,G)&&"constructor"!=G&&D.push(G);return D}function Xi(m,D){return m<D}function Jr(m,D){var G=-1,Ve=cc(m)?Pi(m.length):[];return uo(m,function(zt,Dn,Gn){Ve[++G]=D(zt,Dn,Gn)}),Ve}function ws(m){var D=ns(m);return 1==D.length&&D[0][2]?Yh(D[0][0],D[0][1]):function(G){return G===m||wc(G,m,D)}}function fo(m,D){return Ad(m)&&Tp(D)?Yh(Bc(m),D):function(G){var Ve=xh(G,m);return Ve===s&&Ve===D?tm(G,m):Nc(D,Ve,3)}}function Na(m,D,G,Ve,zt){m!==D&&mn(D,function(Dn,Gn){if(zt||(zt=new Si),fl(Dn))!function Zl(m,D,G,Ve,zt,Dn,Gn){var ui=Pu(m,G),Ei=Pu(D,G),wr=Gn.get(Ei);if(wr)Il(m,G,wr);else{var ar=Dn?Dn(ui,Ei,G+"",m,D,Gn):s,Ir=ar===s;if(Ir){var ts=yo(Ei),us=!ts&&kh(Ei),Zs=!ts&&!us&&Cm(Ei);ar=Ei,ts||us||Zs?yo(ui)?ar=ui:ec(ui)?ar=Wl(ui):us?(Ir=!1,ar=Cu(Ei,!0)):Zs?(Ir=!1,ar=Zd(Ei,!0)):ar=[]:Mf(Ei)||Zh(Ei)?(ar=ui,Zh(ui)?ar=A_(ui):(!fl(ui)||bd(ui))&&(ar=of(Ei))):Ir=!1}Ir&&(Gn.set(Ei,ar),zt(ar,Ei,Ve,Dn,Gn),Gn.delete(Ei)),Il(m,G,ar)}}(m,D,Gn,G,Na,Ve,zt);else{var ui=Ve?Ve(Pu(m,Gn),Dn,Gn+"",m,D,zt):s;ui===s&&(ui=Dn),Il(m,Gn,ui)}},xd)}function jl(m,D){var G=m.length;if(G)return gd(D+=D<0?G:0,G)?m[D]:s}function Gu(m,D,G){D=D.length?Js(D,function(Dn){return yo(Dn)?function(Gn){return Bo(Gn,1===Dn.length?Dn[0]:Dn)}:Dn}):[id];var Ve=-1;return D=Js(D,pa(sr())),function Sa(ri,nr){var Pi=ri.length;for(ri.sort(nr);Pi--;)ri[Pi]=ri[Pi].value;return ri}(Jr(m,function(Dn,Gn,ui){return{criteria:Js(D,function(wr){return wr(Dn)}),index:++Ve,value:Dn}}),function(Dn,Gn){return function uu(m,D,G){for(var Ve=-1,zt=m.criteria,Dn=D.criteria,Gn=zt.length,ui=G.length;++Ve<Gn;){var Ei=qd(zt[Ve],Dn[Ve]);if(Ei)return Ve>=ui?Ei:Ei*("desc"==G[Ve]?-1:1)}return m.index-D.index}(Dn,Gn,G)})}function Qc(m,D,G){for(var Ve=-1,zt=D.length,Dn={};++Ve<zt;){var Gn=D[Ve],ui=Bo(m,Gn);G(ui,Gn)&&Iu(Dn,fa(Gn,m),ui)}return Dn}function Bd(m,D,G,Ve){var zt=Ve?Us:wl,Dn=-1,Gn=D.length,ui=m;for(m===D&&(D=Wl(D)),G&&(ui=Js(m,pa(G)));++Dn<Gn;)for(var Ei=0,wr=D[Dn],ar=G?G(wr):wr;(Ei=zt(ui,ar,Ei,Ve))>-1;)ui!==m&&Tl.call(ui,Ei,1),Tl.call(m,Ei,1);return m}function Ku(m,D){for(var G=m?D.length:0,Ve=G-1;G--;){var zt=D[G];if(G==Ve||zt!==Dn){var Dn=zt;gd(zt)?Tl.call(m,zt,1):jr(m,zt)}}return m}function Fh(m,D){return m+rc(Re()*(D-m+1))}function Qu(m,D){var G="";if(!m||D<1||D>Ut)return G;do{D%2&&(G+=m),(D=rc(D/2))&&(m+=m)}while(D);return G}function mo(m,D){return bh(eh(m,D,id),m+"")}function Xd(m){return ta(lp(m))}function hm(m,D){var G=lp(m);return nh(G,hl(D,0,G.length))}function Iu(m,D,G,Ve){if(!fl(m))return m;for(var zt=-1,Dn=(D=fa(D,m)).length,Gn=Dn-1,ui=m;null!=ui&&++zt<Dn;){var Ei=Bc(D[zt]),wr=G;if("__proto__"===Ei||"constructor"===Ei||"prototype"===Ei)return m;if(zt!=Gn){var ar=ui[Ei];(wr=Ve?Ve(ar,Ei,ui):s)===s&&(wr=fl(ar)?ar:gd(D[zt+1])?[]:{})}xo(ui,Ei,wr),ui=ui[Ei]}return m}var Y=_a?function(m,D){return _a.set(m,D),m}:id,$=Pa?function(m,D){return Pa(m,"toString",{configurable:!0,enumerable:!1,value:Pm(D),writable:!0})}:id;function be(m){return nh(lp(m))}function vt(m,D,G){var Ve=-1,zt=m.length;D<0&&(D=-D>zt?0:zt+D),(G=G>zt?zt:G)<0&&(G+=zt),zt=D>G?0:G-D>>>0,D>>>=0;for(var Dn=Pi(zt);++Ve<zt;)Dn[Ve]=m[Ve+D];return Dn}function Wt(m,D){var G;return uo(m,function(Ve,zt,Dn){return!(G=D(Ve,zt,Dn))}),!!G}function fn(m,D,G){var Ve=0,zt=null==m?Ve:m.length;if("number"==typeof D&&D==D&&zt<=2147483647){for(;Ve<zt;){var Dn=Ve+zt>>>1,Gn=m[Dn];null!==Gn&&!Vu(Gn)&&(G?Gn<=D:Gn<D)?Ve=Dn+1:zt=Dn}return zt}return $n(m,D,id,G)}function $n(m,D,G,Ve){var zt=0,Dn=null==m?0:m.length;if(0===Dn)return 0;for(var Gn=(D=G(D))!=D,ui=null===D,Ei=Vu(D),wr=D===s;zt<Dn;){var ar=rc((zt+Dn)/2),Ir=G(m[ar]),ts=Ir!==s,us=null===Ir,Zs=Ir==Ir,na=Vu(Ir);if(Gn)var bo=Ve||Zs;else bo=wr?Zs&&(Ve||ts):ui?Zs&&ts&&(Ve||!us):Ei?Zs&&ts&&!us&&(Ve||!na):!us&&!na&&(Ve?Ir<=D:Ir<D);bo?zt=ar+1:Dn=ar}return ne(Dn,4294967294)}function si(m,D){for(var G=-1,Ve=m.length,zt=0,Dn=[];++G<Ve;){var Gn=m[G],ui=D?D(Gn):Gn;if(!G||!td(ui,Ei)){var Ei=ui;Dn[zt++]=0===Gn?0:Gn}}return Dn}function xi(m){return"number"==typeof m?m:Vu(m)?NaN:+m}function Yi(m){if("string"==typeof m)return m;if(yo(m))return Js(m,Yi)+"";if(Vu(m))return Rc?Rc.call(m):"";var D=m+"";return"0"==D&&1/m==-at?"-0":D}function zi(m,D,G){var Ve=-1,zt=Oo,Dn=m.length,Gn=!0,ui=[],Ei=ui;if(G)Gn=!1,zt=qo;else if(Dn>=200){var wr=D?null:pd(m);if(wr)return Ha(wr);Gn=!1,zt=Kr,Ei=new jt}else Ei=D?[]:ui;e:for(;++Ve<Dn;){var ar=m[Ve],Ir=D?D(ar):ar;if(ar=G||0!==ar?ar:0,Gn&&Ir==Ir){for(var ts=Ei.length;ts--;)if(Ei[ts]===Ir)continue e;D&&Ei.push(Ir),ui.push(ar)}else zt(Ei,Ir,G)||(Ei!==ui&&Ei.push(Ir),ui.push(ar))}return ui}function jr(m,D){return null==(m=mu(m,D=fa(D,m)))||delete m[Bc(Ko(D))]}function ss(m,D,G,Ve){return Iu(m,D,G(Bo(m,D)),Ve)}function ys(m,D,G,Ve){for(var zt=m.length,Dn=Ve?zt:-1;(Ve?Dn--:++Dn<zt)&&D(m[Dn],Dn,m););return G?vt(m,Ve?0:Dn,Ve?Dn+1:zt):vt(m,Ve?Dn+1:0,Ve?zt:Dn)}function xs(m,D){var G=m;return G instanceof ro&&(G=G.value()),Uo(D,function(Ve,zt){return zt.func.apply(zt.thisArg,ko([Ve],zt.args))},G)}function os(m,D,G){var Ve=m.length;if(Ve<2)return Ve?zi(m[0]):[];for(var zt=-1,Dn=Pi(Ve);++zt<Ve;)for(var Gn=m[zt],ui=-1;++ui<Ve;)ui!=zt&&(Dn[zt]=Ca(Dn[zt]||Gn,m[ui],D,G));return zi(At(Dn,1),D,G)}function _s(m,D,G){for(var Ve=-1,zt=m.length,Dn=D.length,Gn={};++Ve<zt;)G(Gn,m[Ve],Ve<Dn?D[Ve]:s);return Gn}function To(m){return ec(m)?m:[]}function Io(m){return"function"==typeof m?m:id}function fa(m,D){return yo(m)?m:Ad(m,D)?[m]:Eh(oa(m))}var ql=mo;function Za(m,D,G){var Ve=m.length;return G=G===s?Ve:G,!D&&G>=Ve?m:vt(m,D,G)}var Cl=ld||function(m){return As.clearTimeout(m)};function Cu(m,D){if(D)return m.slice();var G=m.length,Ve=Ll?Ll(G):new m.constructor(G);return m.copy(Ve),Ve}function Jd(m){var D=new m.constructor(m.byteLength);return new Fa(D).set(new Fa(m)),D}function Zd(m,D){var G=D?Jd(m.buffer):m.buffer;return new m.constructor(G,m.byteOffset,m.length)}function qd(m,D){if(m!==D){var G=m!==s,Ve=null===m,zt=m==m,Dn=Vu(m),Gn=D!==s,ui=null===D,Ei=D==D,wr=Vu(D);if(!ui&&!wr&&!Dn&&m>D||Dn&&Gn&&Ei&&!ui&&!wr||Ve&&Gn&&Ei||!G&&Ei||!zt)return 1;if(!Ve&&!Dn&&!wr&&m<D||wr&&G&&zt&&!Ve&&!Dn||ui&&G&&zt||!Gn&&zt||!Ei)return-1}return 0}function Au(m,D,G,Ve){for(var zt=-1,Dn=m.length,Gn=G.length,ui=-1,Ei=D.length,wr=zo(Dn-Gn,0),ar=Pi(Ei+wr),Ir=!Ve;++ui<Ei;)ar[ui]=D[ui];for(;++zt<Gn;)(Ir||zt<Dn)&&(ar[G[zt]]=m[zt]);for(;wr--;)ar[ui++]=m[zt++];return ar}function Fc(m,D,G,Ve){for(var zt=-1,Dn=m.length,Gn=-1,ui=G.length,Ei=-1,wr=D.length,ar=zo(Dn-ui,0),Ir=Pi(ar+wr),ts=!Ve;++zt<ar;)Ir[zt]=m[zt];for(var us=zt;++Ei<wr;)Ir[us+Ei]=D[Ei];for(;++Gn<ui;)(ts||zt<Dn)&&(Ir[us+G[Gn]]=m[zt++]);return Ir}function Wl(m,D){var G=-1,Ve=m.length;for(D||(D=Pi(Ve));++G<Ve;)D[G]=m[G];return D}function sc(m,D,G,Ve){var zt=!G;G||(G={});for(var Dn=-1,Gn=D.length;++Dn<Gn;){var ui=D[Dn],Ei=Ve?Ve(G[ui],m[ui],ui,G,m):s;Ei===s&&(Ei=m[ui]),zt?Ia(G,ui,Ei):xo(G,ui,Ei)}return G}function Xc(m,D){return function(G,Ve){var zt=yo(G)?lo:jo,Dn=D?D():{};return zt(G,m,sr(Ve,2),Dn)}}function Jc(m){return mo(function(D,G){var Ve=-1,zt=G.length,Dn=zt>1?G[zt-1]:s,Gn=zt>2?G[2]:s;for(Dn=m.length>3&&"function"==typeof Dn?(zt--,Dn):s,Gn&&Wa(G[0],G[1],Gn)&&(Dn=zt<3?s:Dn,zt=1),D=eo(D);++Ve<zt;){var ui=G[Ve];ui&&m(D,ui,Ve,Dn)}return D})}function ku(m,D){return function(G,Ve){if(null==G)return G;if(!cc(G))return m(G,Ve);for(var zt=G.length,Dn=D?zt:-1,Gn=eo(G);(D?Dn--:++Dn<zt)&&!1!==Ve(Gn[Dn],Dn,Gn););return G}}function Su(m){return function(D,G,Ve){for(var zt=-1,Dn=eo(D),Gn=Ve(D),ui=Gn.length;ui--;){var Ei=Gn[m?ui:++zt];if(!1===G(Dn[Ei],Ei,Dn))break}return D}}function xu(m){return function(D){var G=Ln(D=oa(D))?gi(D):s,Ve=G?G[0]:D.charAt(0),zt=G?Za(G,1).join(""):D.slice(1);return Ve[m]()+zt}}function Zc(m){return function(D){return Uo(U_(Vg(D).replace(sn,"")),m,"")}}function ph(m){return function(){var D=arguments;switch(D.length){case 0:return new m;case 1:return new m(D[0]);case 2:return new m(D[0],D[1]);case 3:return new m(D[0],D[1],D[2]);case 4:return new m(D[0],D[1],D[2],D[3]);case 5:return new m(D[0],D[1],D[2],D[3],D[4]);case 6:return new m(D[0],D[1],D[2],D[3],D[4],D[5]);case 7:return new m(D[0],D[1],D[2],D[3],D[4],D[5],D[6])}var G=Pc(m.prototype),Ve=m.apply(G,D);return fl(Ve)?Ve:G}}function _h(m){return function(D,G,Ve){var zt=eo(D);if(!cc(D)){var Dn=sr(G,3);D=Mc(D),G=function(ui){return Dn(zt[ui],ui,zt)}}var Gn=m(D,G,Ve);return Gn>-1?zt[Dn?D[Gn]:Gn]:s}}function gh(m){return ee(function(D){var G=D.length,Ve=G,zt=Ba.prototype.thru;for(m&&D.reverse();Ve--;){var Dn=D[Ve];if("function"!=typeof Dn)throw new nl(T);if(zt&&!Gn&&"wrapper"==yi(Dn))var Gn=new Ba([],!0)}for(Ve=Gn?Ve:G;++Ve<G;){var ui=yi(Dn=D[Ve]),Ei="wrapper"==ui?ni(Dn):s;Gn=Ei&&Rl(Ei[0])&&424==Ei[1]&&!Ei[4].length&&1==Ei[9]?Gn[yi(Ei[0])].apply(Gn,Ei[3]):1==Dn.length&&Rl(Dn)?Gn[ui]():Gn.thru(Dn)}return function(){var wr=arguments,ar=wr[0];if(Gn&&1==wr.length&&yo(ar))return Gn.plant(ar).value();for(var Ir=0,ts=G?D[Ir].apply(this,wr):ar;++Ir<G;)ts=D[Ir].call(this,ts);return ts}})}function Vd(m,D,G,Ve,zt,Dn,Gn,ui,Ei,wr){var ar=128&D,Ir=1&D,ts=2&D,us=24&D,Zs=512&D,na=ts?s:ph(m);return function bo(){for(var ua=arguments.length,Aa=Pi(ua),su=ua;su--;)Aa[su]=arguments[su];if(us)var Hd=ir(bo),yu=function tl(ri,nr){for(var Pi=ri.length,Nr=0;Pi--;)ri[Pi]===nr&&++Nr;return Nr}(Aa,Hd);if(Ve&&(Aa=Au(Aa,Ve,zt,us)),Dn&&(Aa=Fc(Aa,Dn,Gn,us)),ua-=yu,us&&ua<wr){var Pl=Da(Aa,Hd);return Hl(m,D,Vd,bo.placeholder,G,Aa,Pl,ui,Ei,wr-ua)}var Uu=Ir?G:this,Ed=ts?Uu[m]:m;return ua=Aa.length,ui?Aa=function Vf(m,D){for(var G=m.length,Ve=ne(D.length,G),zt=Wl(m);Ve--;){var Dn=D[Ve];m[Ve]=gd(Dn,G)?zt[Dn]:s}return m}(Aa,ui):Zs&&ua>1&&Aa.reverse(),ar&&Ei<ua&&(Aa.length=Ei),this&&this!==As&&this instanceof bo&&(Ed=na||ph(Ed)),Ed.apply(Uu,Aa)}}function fm(m,D){return function(G,Ve){return function Lc(m,D,G,Ve){return er(m,function(zt,Dn,Gn){D(Ve,G(zt),Dn,Gn)}),Ve}(G,m,D(Ve),{})}}function Cd(m,D){return function(G,Ve){var zt;if(G===s&&Ve===s)return D;if(G!==s&&(zt=G),Ve!==s){if(zt===s)return Ve;"string"==typeof G||"string"==typeof Ve?(G=Yi(G),Ve=Yi(Ve)):(G=xi(G),Ve=xi(Ve)),zt=m(G,Ve)}return zt}}function hu(m){return ee(function(D){return D=Js(D,pa(sr())),mo(function(G){var Ve=this;return m(D,function(zt){return Gr(zt,Ve,G)})})})}function yc(m,D){var G=(D=D===s?" ":Yi(D)).length;if(G<2)return G?Qu(D,m):D;var Ve=Qu(D,Sc(m/Ra(D)));return Ln(D)?Za(gi(Ve),0,m).join(""):Ve.slice(0,m)}function vh(m){return function(D,G,Ve){return Ve&&"number"!=typeof Ve&&Wa(D,G,Ve)&&(G=Ve=s),D=Sd(D),G===s?(G=D,D=0):G=Sd(G),function Bh(m,D,G,Ve){for(var zt=-1,Dn=zo(Sc((D-m)/(G||1)),0),Gn=Pi(Dn);Dn--;)Gn[Ve?Dn:++zt]=m,m+=G;return Gn}(D,G,Ve=Ve===s?D<G?1:-1:Sd(Ve),m)}}function jh(m){return function(D,G){return"string"==typeof D&&"string"==typeof G||(D=Wc(D),G=Wc(G)),m(D,G)}}function Hl(m,D,G,Ve,zt,Dn,Gn,ui,Ei,wr){var ar=8&D;D|=ar?32:64,4&(D&=~(ar?64:32))||(D&=-4);var na=[m,D,zt,ar?Dn:s,ar?Gn:s,ar?s:Dn,ar?s:Gn,ui,Ei,wr],bo=G.apply(s,na);return Rl(m)&&cf(bo,na),bo.placeholder=Ve,th(bo,m,D)}function Wh(m){var D=qs[m];return function(G,Ve){if(G=Wc(G),(Ve=null==Ve?0:ne(Vo(Ve),292))&&$l(G)){var zt=(oa(G)+"e").split("e");return+((zt=(oa(D(zt[0]+"e"+(+zt[1]+Ve)))+"e").split("e"))[0]+"e"+(+zt[1]-Ve))}return D(G)}}var pd=Zi&&1/Ha(new Zi([,-0]))[1]==at?function(m){return new Zi(m)}:Hg;function Ju(m){return function(D){var G=Tc(D);return G==Me?_o(D):G==Oi?function ja(ri){var nr=-1,Pi=Array(ri.size);return ri.forEach(function(Nr){Pi[++nr]=[Nr,Nr]}),Pi}(D):function Ea(ri,nr){return Js(nr,function(Pi){return[Pi,ri[Pi]]})}(D,m(D))}}function fu(m,D,G,Ve,zt,Dn,Gn,ui){var Ei=2&D;if(!Ei&&"function"!=typeof m)throw new nl(T);var wr=Ve?Ve.length:0;if(wr||(D&=-97,Ve=zt=s),Gn=Gn===s?Gn:zo(Vo(Gn),0),ui=ui===s?ui:Vo(ui),wr-=zt?zt.length:0,64&D){var ar=Ve,Ir=zt;Ve=zt=s}var ts=Ei?s:ni(m),us=[m,D,G,Ve,zt,ar,Ir,Dn,Gn,ui];if(ts&&function lf(m,D){var G=m[1],Ve=D[1],zt=G|Ve;if(!(zt<131)&&!(128==Ve&&8==G||128==Ve&&256==G&&m[7].length<=D[8]||384==Ve&&D[7].length<=D[8]&&8==G))return m;1&Ve&&(m[2]=D[2],zt|=1&G?0:4);var ui=D[3];if(ui){var Ei=m[3];m[3]=Ei?Au(Ei,ui,D[4]):ui,m[4]=Ei?Da(m[3],B):D[4]}(ui=D[5])&&(m[5]=(Ei=m[5])?Fc(Ei,ui,D[6]):ui,m[6]=Ei?Da(m[5],B):D[6]),(ui=D[7])&&(m[7]=ui),128&Ve&&(m[8]=null==m[8]?D[8]:ne(m[8],D[8])),null==m[9]&&(m[9]=D[9]),m[0]=D[0],m[1]=zt}(us,ts),m=us[0],D=us[1],G=us[2],Ve=us[3],zt=us[4],!(ui=us[9]=us[9]===s?Ei?0:m.length:zo(us[9]-wr,0))&&24&D&&(D&=-25),D&&1!=D)Zs=8==D||16==D?function Nf(m,D,G){var Ve=ph(m);return function zt(){for(var Dn=arguments.length,Gn=Pi(Dn),ui=Dn,Ei=ir(zt);ui--;)Gn[ui]=arguments[ui];var wr=Dn<3&&Gn[0]!==Ei&&Gn[Dn-1]!==Ei?[]:Da(Gn,Ei);return(Dn-=wr.length)<G?Hl(m,D,Vd,zt.placeholder,s,Gn,wr,s,s,G-Dn):Gr(this&&this!==As&&this instanceof zt?Ve:m,this,Gn)}}(m,D,ui):32!=D&&33!=D||zt.length?Vd.apply(s,us):function Ff(m,D,G,Ve){var zt=1&D,Dn=ph(m);return function Gn(){for(var ui=-1,Ei=arguments.length,wr=-1,ar=Ve.length,Ir=Pi(ar+Ei),ts=this&&this!==As&&this instanceof Gn?Dn:m;++wr<ar;)Ir[wr]=Ve[wr];for(;Ei--;)Ir[wr++]=arguments[++ui];return Gr(ts,zt?G:this,Ir)}}(m,D,G,Ve);else var Zs=function Uh(m,D,G){var Ve=1&D,zt=ph(m);return function Dn(){return(this&&this!==As&&this instanceof Dn?zt:m).apply(Ve?G:this,arguments)}}(m,D,G);return th((ts?Y:cf)(Zs,us),m,D)}function oc(m,D,G,Ve){return m===s||td(m,il[G])&&!ps.call(Ve,G)?D:m}function eu(m,D,G,Ve,zt,Dn){return fl(m)&&fl(D)&&(Dn.set(D,m),Na(m,D,s,eu,Dn),Dn.delete(D)),m}function Hh(m){return Mf(m)?s:m}function K(m,D,G,Ve,zt,Dn){var Gn=1&G,ui=m.length,Ei=D.length;if(ui!=Ei&&!(Gn&&Ei>ui))return!1;var wr=Dn.get(m),ar=Dn.get(D);if(wr&&ar)return wr==D&&ar==m;var Ir=-1,ts=!0,us=2&G?new jt:s;for(Dn.set(m,D),Dn.set(D,m);++Ir<ui;){var Zs=m[Ir],na=D[Ir];if(Ve)var bo=Gn?Ve(na,Zs,Ir,D,m,Dn):Ve(Zs,na,Ir,m,D,Dn);if(bo!==s){if(bo)continue;ts=!1;break}if(us){if(!la(D,function(ua,Aa){if(!Kr(us,Aa)&&(Zs===ua||zt(Zs,ua,G,Ve,Dn)))return us.push(Aa)})){ts=!1;break}}else if(Zs!==na&&!zt(Zs,na,G,Ve,Dn)){ts=!1;break}}return Dn.delete(m),Dn.delete(D),ts}function ee(m){return bh(eh(m,s,Ip),m+"")}function pt(m){return Va(m,Mc,qc)}function ln(m){return Va(m,xd,_d)}var ni=_a?function(m){return _a.get(m)}:Hg;function yi(m){for(var D=m.name+"",G=Ta[D],Ve=ps.call(Ta,D)?G.length:0;Ve--;){var zt=G[Ve],Dn=zt.func;if(null==Dn||Dn==m)return zt.name}return D}function ir(m){return(ps.call(rn,"placeholder")?rn:m).placeholder}function sr(){var m=rn.iteratee||H_;return m=m===H_?mt:m,arguments.length?m(arguments[0],arguments[1]):m}function qr(m,D){var G=m.__data__;return function wp(m){var D=typeof m;return"string"==D||"number"==D||"symbol"==D||"boolean"==D?"__proto__"!==m:null===m}(D)?G["string"==typeof D?"string":"hash"]:G.map}function ns(m){for(var D=Mc(m),G=D.length;G--;){var Ve=D[G],zt=m[Ve];D[G]=[Ve,zt,Tp(zt)]}return D}function Ts(m,D){var G=function Gt(ri,nr){return null==ri?s:ri[nr]}(m,D);return Po(G)?G:s}var qc=dd?function(m){return null==m?[]:(m=eo(m),Do(dd(m),function(D){return vl.call(m,D)}))}:$_,_d=dd?function(m){for(var D=[];m;)ko(D,qc(m)),m=Go(m);return D}:$_,Tc=Ro;function bc(m,D,G){for(var Ve=-1,zt=(D=fa(D,m)).length,Dn=!1;++Ve<zt;){var Gn=Bc(D[Ve]);if(!(Dn=null!=m&&G(m,Gn)))break;m=m[Gn]}return Dn||++Ve!=zt?Dn:!!(zt=null==m?0:m.length)&&qh(zt)&&gd(Gn,zt)&&(yo(m)||Zh(m))}function of(m){return"function"!=typeof m.constructor||af(m)?{}:Pc(Go(m))}function yh(m){return yo(m)||Zh(m)||!!(Nl&&m&&m[Nl])}function gd(m,D){var G=typeof m;return!!(D=D??Ut)&&("number"==G||"symbol"!=G&&Zn.test(m))&&m>-1&&m%1==0&&m<D}function Wa(m,D,G){if(!fl(G))return!1;var Ve=typeof D;return!!("number"==Ve?cc(G)&&gd(D,G.length):"string"==Ve&&D in G)&&td(G[D],m)}function Ad(m,D){if(yo(m))return!1;var G=typeof m;return!("number"!=G&&"symbol"!=G&&"boolean"!=G&&null!=m&&!Vu(m))||L.test(m)||!_e.test(m)||null!=D&&m in eo(D)}function Rl(m){var D=yi(m),G=rn[D];if("function"!=typeof G||!(D in ro.prototype))return!1;if(m===G)return!0;var Ve=ni(G);return!!Ve&&m===Ve[0]}(Xt&&Tc(new Xt(new ArrayBuffer(1)))!=ai||Cn&&Tc(new Cn)!=Me||mi&&Tc(mi.resolve())!=Wn||Zi&&Tc(new Zi)!=Oi||Ar&&Tc(new Ar)!=_)&&(Tc=function(m){var D=Ro(m),G=D==ti?m.constructor:s,Ve=G?pu(G):"";if(Ve)switch(Ve){case Oa:return ai;case pr:return Me;case io:return Wn;case So:return Oi;case Bl:return _}return D});var zm=da?bd:lh;function af(m){var D=m&&m.constructor;return m===("function"==typeof D&&D.prototype||il)}function Tp(m){return m==m&&!fl(m)}function Yh(m,D){return function(G){return null!=G&&G[m]===D&&(D!==s||m in eo(G))}}function eh(m,D,G){return D=zo(D===s?m.length-1:D,0),function(){for(var Ve=arguments,zt=-1,Dn=zo(Ve.length-D,0),Gn=Pi(Dn);++zt<Dn;)Gn[zt]=Ve[D+zt];zt=-1;for(var ui=Pi(D+1);++zt<D;)ui[zt]=Ve[zt];return ui[D]=G(Gn),Gr(m,this,ui)}}function mu(m,D){return D.length<2?m:Bo(m,vt(D,0,-1))}function Pu(m,D){if(("constructor"!==D||"function"!=typeof m[D])&&"__proto__"!=D)return m[D]}var cf=zh(Y),tu=cd||function(m,D){return As.setTimeout(m,D)},bh=zh($);function th(m,D,G){var Ve=D+"";return bh(m,function Ym(m,D){var G=D.length;if(!G)return m;var Ve=G-1;return D[Ve]=(G>1?"& ":"")+D[Ve],D=D.join(G>2?", ":" "),m.replace(wi,"{\n/* [wrapped with "+D+"] */\n")}(Ve,function Dh(m,D){return ms(Pe,function(G){var Ve="_."+G[0];D&G[1]&&!Oo(m,Ve)&&m.push(Ve)}),m.sort()}(function Bf(m){var D=m.match(Qi);return D?D[1].split(Tr):[]}(Ve),G)))}function zh(m){var D=0,G=0;return function(){var Ve=Oe(),zt=16-(Ve-G);if(G=Ve,zt>0){if(++D>=800)return arguments[0]}else D=0;return m.apply(s,arguments)}}function nh(m,D){var G=-1,Ve=m.length,zt=Ve-1;for(D=D===s?Ve:D;++G<D;){var Dn=Fh(G,zt),Gn=m[Dn];m[Dn]=m[G],m[G]=Gn}return m.length=D,m}var Eh=function pm(m){var D=gu(m,function(Ve){return 500===G.size&&G.clear(),Ve}),G=D.cache;return D}(function(m){var D=[];return 46===m.charCodeAt(0)&&D.push(""),m.replace(j,function(G,Ve,zt,Dn){D.push(zt?Dn.replace(an,"$1"):Ve||G)}),D});function Bc(m){if("string"==typeof m||Vu(m))return m;var D=m+"";return"0"==D&&1/m==-at?"-0":D}function pu(m){if(null!=m){try{return hc.call(m)}catch{}try{return m+""}catch{}}return""}function ih(m){if(m instanceof ro)return m.clone();var D=new Ba(m.__wrapped__,m.__chain__);return D.__actions__=Wl(m.__actions__),D.__index__=m.__index__,D.__values__=m.__values__,D}var gm=mo(function(m,D){return ec(m)?Ca(m,At(D,1,ec,!0)):[]}),vm=mo(function(m,D){var G=Ko(D);return ec(G)&&(G=s),ec(m)?Ca(m,At(D,1,ec,!0),sr(G,2)):[]}),Mp=mo(function(m,D){var G=Ko(D);return ec(G)&&(G=s),ec(m)?Ca(m,At(D,1,ec,!0),s,G):[]});function Uf(m,D,G){var Ve=null==m?0:m.length;if(!Ve)return-1;var zt=null==G?0:Vo(G);return zt<0&&(zt=zo(Ve+zt,0)),wo(m,sr(D,3),zt)}function nu(m,D,G){var Ve=null==m?0:m.length;if(!Ve)return-1;var zt=Ve-1;return G!==s&&(zt=Vo(G),zt=G<0?zo(Ve+zt,0):ne(zt,Ve-1)),wo(m,sr(D,3),zt,!0)}function Ip(m){return null!=m&&m.length?At(m,1):[]}function Ou(m){return m&&m.length?m[0]:s}var wg=mo(function(m){var D=Js(m,To);return D.length&&D[0]===m[0]?Ua(D):[]}),Gm=mo(function(m){var D=Ko(m),G=Js(m,To);return D===Ko(G)?D=s:G.pop(),G.length&&G[0]===m[0]?Ua(G,sr(D,2)):[]}),df=mo(function(m){var D=Ko(m),G=Js(m,To);return(D="function"==typeof D?D:s)&&G.pop(),G.length&&G[0]===m[0]?Ua(G,s,D):[]});function Ko(m){var D=null==m?0:m.length;return D?m[D-1]:s}var Cp=mo($h);function $h(m,D){return m&&m.length&&D&&D.length?Bd(m,D):m}var Km=ee(function(m,D){var G=null==m?0:m.length,Ve=Ul(m,D);return Ku(m,Js(D,function(zt){return gd(zt,G)?+zt:zt}).sort(qd)),Ve});function Ap(m){return null==m?m:Rt.call(m)}var D_=mo(function(m){return zi(At(m,1,ec,!0))}),Mg=mo(function(m){var D=Ko(m);return ec(D)&&(D=s),zi(At(m,1,ec,!0),sr(D,2))}),mf=mo(function(m){var D=Ko(m);return D="function"==typeof D?D:s,zi(At(m,1,ec,!0),s,D)});function Pp(m){if(!m||!m.length)return[];var D=0;return m=Do(m,function(G){if(ec(G))return D=zo(G.length,D),!0}),ca(D,function(G){return Js(m,ea(G))})}function Ig(m,D){if(!m||!m.length)return[];var G=Pp(m);return null==D?G:Js(G,function(Ve){return Gr(D,s,Ve)})}var pf=mo(function(m,D){return ec(m)?Ca(m,D):[]}),wv=mo(function(m){return os(Do(m,ec))}),Hf=mo(function(m){var D=Ko(m);return ec(D)&&(D=s),os(Do(m,ec),sr(D,2))}),Ih=mo(function(m){var D=Ko(m);return D="function"==typeof D?D:s,os(Do(m,ec),s,D)}),yd=mo(Pp),zf=mo(function(m){var D=m.length,G=D>1?m[D-1]:s;return G="function"==typeof G?(m.pop(),G):s,Ig(m,G)});function Tm(m){var D=rn(m);return D.__chain__=!0,D}function _f(m,D){return D(m)}var Xm=ee(function(m){var D=m.length,G=D?m[0]:0,Ve=this.__wrapped__,zt=function(Dn){return Ul(Dn,m)};return!(D>1||this.__actions__.length)&&Ve instanceof ro&&gd(G)?((Ve=Ve.slice(G,+G+(D?1:0))).__actions__.push({func:_f,args:[zt],thisArg:s}),new Ba(Ve,this.__chain__).thru(function(Dn){return D&&!Dn.length&&Dn.push(s),Dn})):this.thru(zt)}),I=Xc(function(m,D,G){ps.call(m,G)?++m[G]:Ia(m,G,1)}),Ht=_h(Uf),on=_h(nu);function Dr(m,D){return(yo(m)?ms:uo)(m,sr(D,3))}function zr(m,D){return(yo(m)?Gs:Kc)(m,sr(D,3))}var Wr=Xc(function(m,D,G){ps.call(m,G)?m[G].push(D):Ia(m,G,[D])}),Ys=mo(function(m,D,G){var Ve=-1,zt="function"==typeof D,Dn=cc(m)?Pi(m.length):[];return uo(m,function(Gn){Dn[++Ve]=zt?Gr(D,Gn,G):Qd(Gn,D,G)}),Dn}),Ms=Xc(function(m,D,G){Ia(m,G,D)});function ra(m,D){return(yo(m)?Js:Jr)(m,sr(D,3))}var sl=Xc(function(m,D,G){m[G?0:1].push(D)},function(){return[[],[]]}),Vc=mo(function(m,D){if(null==m)return[];var G=D.length;return G>1&&Wa(m,D[0],D[1])?D=[]:G>2&&Wa(D[0],D[1],D[2])&&(D=[D[0]]),Gu(m,At(D,1),[])}),El=$c||function(){return As.Date.now()};function ed(m,D,G){return D=G?s:D,fu(m,128,s,s,s,s,D=m&&null==D?m.length:D)}function Uc(m,D){var G;if("function"!=typeof D)throw new nl(T);return m=Vo(m),function(){return--m>0&&(G=D.apply(this,arguments)),m<=1&&(D=s),G}}var jc=mo(function(m,D,G){var Ve=1;if(G.length){var zt=Da(G,ir(jc));Ve|=32}return fu(m,Ve,D,G,zt)}),vf=mo(function(m,D,G){var Ve=3;if(G.length){var zt=Da(G,ir(vf));Ve|=32}return fu(D,Ve,m,G,zt)});function yf(m,D,G){var Ve,zt,Dn,Gn,ui,Ei,wr=0,ar=!1,Ir=!1,ts=!0;if("function"!=typeof m)throw new nl(T);function us(Pl){var Uu=Ve,Ed=zt;return Ve=zt=s,wr=Pl,Gn=m.apply(Ed,Uu)}function bo(Pl){var Uu=Pl-Ei;return Ei===s||Uu>=D||Uu<0||Ir&&Pl-wr>=Dn}function ua(){var Pl=El();if(bo(Pl))return Aa(Pl);ui=tu(ua,function na(Pl){var Gy=D-(Pl-Ei);return Ir?ne(Gy,Dn-(Pl-wr)):Gy}(Pl))}function Aa(Pl){return ui=s,ts&&Ve?us(Pl):(Ve=zt=s,Gn)}function yu(){var Pl=El(),Uu=bo(Pl);if(Ve=arguments,zt=this,Ei=Pl,Uu){if(ui===s)return function Zs(Pl){return wr=Pl,ui=tu(ua,D),ar?us(Pl):Gn}(Ei);if(Ir)return Cl(ui),ui=tu(ua,D),us(Ei)}return ui===s&&(ui=tu(ua,D)),Gn}return D=Wc(D)||0,fl(G)&&(ar=!!G.leading,Dn=(Ir="maxWait"in G)?zo(Wc(G.maxWait)||0,D):Dn,ts="trailing"in G?!!G.trailing:ts),yu.cancel=function su(){ui!==s&&Cl(ui),wr=0,Ve=Ei=zt=ui=s},yu.flush=function Hd(){return ui===s?Gn:Aa(El())},yu}var Qh=mo(function(m,D){return gc(m,1,D)}),bf=mo(function(m,D,G){return gc(m,Wc(D)||0,G)});function gu(m,D){if("function"!=typeof m||null!=D&&"function"!=typeof D)throw new nl(T);var G=function(){var Ve=arguments,zt=D?D.apply(this,Ve):Ve[0],Dn=G.cache;if(Dn.has(zt))return Dn.get(zt);var Gn=m.apply(this,Ve);return G.cache=Dn.set(zt,Gn)||Dn,Gn};return G.cache=new(gu.Cache||yl),G}function Wd(m){if("function"!=typeof m)throw new nl(T);return function(){var D=arguments;switch(D.length){case 0:return!m.call(this);case 1:return!m.call(this,D[0]);case 2:return!m.call(this,D[0],D[1]);case 3:return!m.call(this,D[0],D[1],D[2])}return!m.apply(this,D)}}gu.Cache=yl;var Fu=ql(function(m,D){var G=(D=1==D.length&&yo(D[0])?Js(D[0],pa(sr())):Js(At(D,1),pa(sr()))).length;return mo(function(Ve){for(var zt=-1,Dn=ne(Ve.length,G);++zt<Dn;)Ve[zt]=D[zt].call(this,Ve[zt]);return Gr(m,this,Ve)})}),Gf=mo(function(m,D){var G=Da(D,ir(Gf));return fu(m,32,s,D,G)}),Ch=mo(function(m,D){var G=Da(D,ir(Ch));return fu(m,64,s,D,G)}),Mm=ee(function(m,D){return fu(m,256,s,s,s,D)});function td(m,D){return m===D||m!=m&&D!=D}var Ah=jh(Ja),Df=jh(function(m,D){return m>=D}),Zh=Fd(function(){return arguments}())?Fd:function(m){return tc(m)&&ps.call(m,"callee")&&!vl.call(m,"callee")},yo=Pi.isArray,Im=fi?pa(fi):function hd(m){return tc(m)&&Ro(m)==di};function cc(m){return null!=m&&qh(m.length)&&!bd(m)}function ec(m){return tc(m)&&cc(m)}var kh=xl||lh,Up=Hi?pa(Hi):function fd(m){return tc(m)&&Ro(m)==je};function oh(m){if(!tc(m))return!1;var D=Ro(m);return D==Ze||"[object DOMException]"==D||"string"==typeof m.message&&"string"==typeof m.name&&!Mf(m)}function bd(m){if(!fl(m))return!1;var D=Ro(m);return D==We||D==Ot||"[object AsyncFunction]"==D||"[object Proxy]"==D}function Tv(m){return"number"==typeof m&&m==Vo(m)}function qh(m){return"number"==typeof m&&m>-1&&m%1==0&&m<=Ut}function fl(m){var D=typeof m;return null!=m&&("object"==D||"function"==D)}function tc(m){return null!=m&&"object"==typeof m}var ep=ur?pa(ur):function Dc(m){return tc(m)&&Tc(m)==Me};function Iv(m){return"number"==typeof m||tc(m)&&Ro(m)==It}function Mf(m){if(!tc(m)||Ro(m)!=ti)return!1;var D=Go(m);if(null===D)return!0;var G=ps.call(D,"constructor")&&D.constructor;return"function"==typeof G&&G instanceof G&&hc.call(G)==dl}var Bu=Lr?pa(Lr):function P(m){return tc(m)&&Ro(m)==Bn},Av=Or?pa(Or):function J(m){return tc(m)&&Tc(m)==Oi};function Jf(m){return"string"==typeof m||!yo(m)&&tc(m)&&Ro(m)==dn}function Vu(m){return"symbol"==typeof m||tc(m)&&Ro(m)==Tn}var Cm=is?pa(is):function Be(m){return tc(m)&&qh(m.length)&&!!Vn[Ro(m)]},np=jh(Xi),ip=jh(function(m,D){return m<=D});function rp(m){if(!m)return[];if(cc(m))return Jf(m)?gi(m):Wl(m);if(vs&&m[vs])return function Ds(ri){for(var nr,Pi=[];!(nr=ri.next()).done;)Pi.push(nr.value);return Pi}(m[vs]());var D=Tc(m);return(D==Me?_o:D==Oi?Ha:lp)(m)}function Sd(m){return m?(m=Wc(m))===at||m===-at?17976931348623157e292*(m<0?-1:1):m==m?m:0:0===m?m:0}function Vo(m){var D=Sd(m),G=D%1;return D==D?G?D-G:D:0}function sp(m){return m?hl(Vo(m),0,hn):0}function Wc(m){if("number"==typeof m)return m;if(Vu(m))return NaN;if(fl(m)){var D="function"==typeof m.valueOf?m.valueOf():m;m=fl(D)?D+"":D}if("string"!=typeof m)return 0===m?m:+m;m=Mo(m);var G=_t.test(m);return G||Rn.test(m)?ds(m.slice(2),G?2:8):De.test(m)?NaN:+m}function A_(m){return sc(m,xd(m))}function oa(m){return null==m?"":Yi(m)}var Wp=Jc(function(m,D){if(af(D)||cc(D))sc(D,Mc(D),m);else for(var G in D)ps.call(D,G)&&xo(m,G,D[G])}),Hp=Jc(function(m,D){sc(D,xd(D),m)}),qf=Jc(function(m,D,G,Ve){sc(D,xd(D),m,Ve)}),Am=Jc(function(m,D,G,Ve){sc(D,Mc(D),m,Ve)}),xg=ee(Ul),k_=mo(function(m,D){m=eo(m);var G=-1,Ve=D.length,zt=Ve>2?D[2]:s;for(zt&&Wa(D[0],D[1],zt)&&(Ve=1);++G<Ve;)for(var Dn=D[G],Gn=xd(Dn),ui=-1,Ei=Gn.length;++ui<Ei;){var wr=Gn[ui],ar=m[wr];(ar===s||td(ar,il[wr])&&!ps.call(m,wr))&&(m[wr]=Dn[wr])}return m}),op=mo(function(m){return m.push(s,eu),Gr(If,s,m)});function xh(m,D,G){var Ve=null==m?s:Bo(m,D);return Ve===s?G:Ve}function tm(m,D){return null!=m&&bc(m,D,Kd)}var xm=fm(function(m,D,G){null!=D&&"function"!=typeof D.toString&&(D=gl.call(D)),m[D]=G},Pm(id)),Ng=fm(function(m,D,G){null!=D&&"function"!=typeof D.toString&&(D=gl.call(D)),ps.call(m,D)?m[D].push(G):m[D]=[G]},sr),ap=mo(Qd);function Mc(m){return cc(m)?Ss(m):nn(m)}function xd(m){return cc(m)?Ss(m,!0):function qn(m){if(!fl(m))return function qu(m){var D=[];if(null!=m)for(var G in eo(m))D.push(G);return D}(m);var D=af(m),G=[];for(var Ve in m)"constructor"==Ve&&(D||!ps.call(m,Ve))||G.push(Ve);return G}(m)}var Gp=Jc(function(m,D,G){Na(m,D,G)}),If=Jc(function(m,D,G,Ve){Na(m,D,G,Ve)}),R_=ee(function(m,D){var G={};if(null==m)return G;var Ve=!1;D=Js(D,function(Dn){return Dn=fa(Dn,m),Ve||(Ve=Dn.length>1),Dn}),sc(m,ln(m),G),Ve&&(G=Xa(G,7,Hh));for(var zt=D.length;zt--;)jr(G,D[zt]);return G}),Fg=ee(function(m,D){return null==m?{}:function du(m,D){return Qc(m,D,function(G,Ve){return tm(m,Ve)})}(m,D)});function ah(m,D){if(null==m)return{};var G=Js(ln(m),function(Ve){return[Ve]});return D=sr(D),Qc(m,G,function(Ve,zt){return D(Ve,zt[0])})}var O_=Ju(Mc),nm=Ju(xd);function lp(m){return null==m?[]:xa(m,Mc(m))}var Bg=Zc(function(m,D,G){return D=D.toLowerCase(),m+(G?N_(D):D)});function N_(m){return Wg(oa(m).toLowerCase())}function Vg(m){return(m=oa(m))&&m.replace(gt,tt).replace(dt,"")}var im=Zc(function(m,D,G){return m+(G?"-":"")+D.toLowerCase()}),F_=Zc(function(m,D,G){return m+(G?" ":"")+D.toLowerCase()}),nd=xu("toLowerCase"),Cf=Zc(function(m,D,G){return m+(G?"_":"")+D.toLowerCase()}),jg=Zc(function(m,D,G){return m+(G?" ":"")+Wg(D)}),Hy=Zc(function(m,D,G){return m+(G?" ":"")+D.toUpperCase()}),Wg=xu("toUpperCase");function U_(m,D,G){return m=oa(m),(D=G?s:D)===s?function Qr(ri){return Es.test(ri)}(m)?function yr(ri){return ri.match(br)||[]}(m):function cs(ri){return ri.match(Er)||[]}(m):m.match(D)||[]}var j_=mo(function(m,D){try{return Gr(m,s,D)}catch(G){return oh(G)?G:new Bs(G)}}),Vv=ee(function(m,D){return ms(D,function(G){G=Bc(G),Ia(m,G,jc(m[G],m))}),m});function Pm(m){return function(){return m}}var W_=gh(),Uv=gh(!0);function id(m){return m}function H_(m){return mt("function"==typeof m?m:Xa(m,1))}var s0=mo(function(m,D){return function(G){return Qd(G,m,D)}}),Rh=mo(function(m,D){return function(G){return Qd(m,G,D)}});function ru(m,D,G){var Ve=Mc(D),zt=vo(D,Ve);null==G&&(!fl(D)||!zt.length&&Ve.length)&&(G=D,D=m,m=this,zt=vo(D,Mc(D)));var Dn=!(fl(G)&&"chain"in G&&!G.chain),Gn=bd(m);return ms(zt,function(ui){var Ei=D[ui];m[ui]=Ei,Gn&&(m.prototype[ui]=function(){var wr=this.__chain__;if(Dn||wr){var ar=m(this.__wrapped__);return(ar.__actions__=Wl(this.__actions__)).push({func:Ei,args:arguments,thisArg:m}),ar.__chain__=wr,ar}return Ei.apply(m,ko([this.value()],arguments))})}),m}function Hg(){}var Y_=hu(Js),rm=hu(No),Om=hu(la);function Yg(m){return Ad(m)?ea(Bc(m)):function md(m){return function(D){return Bo(D,m)}}(m)}var z_=vh(),Jp=vh(!0);function $_(){return[]}function lh(){return!1}var am=Cd(function(m,D){return m+D},0),jv=Wh("ceil"),Wv=Cd(function(m,D){return m/D},1),$g=Wh("floor"),$y=Cd(function(m,D){return m*D},1),G_=Wh("round"),Yv=Cd(function(m,D){return m-D},0);return rn.after=function _u(m,D){if("function"!=typeof D)throw new nl(T);return m=Vo(m),function(){if(--m<1)return D.apply(this,arguments)}},rn.ary=ed,rn.assign=Wp,rn.assignIn=Hp,rn.assignInWith=qf,rn.assignWith=Am,rn.at=xg,rn.before=Uc,rn.bind=jc,rn.bindAll=Vv,rn.bindKey=vf,rn.castArray=function Kf(){if(!arguments.length)return[];var m=arguments[0];return yo(m)?m:[m]},rn.chain=Tm,rn.chunk=function _m(m,D,G){D=(G?Wa(m,D,G):D===s)?1:zo(Vo(D),0);var Ve=null==m?0:m.length;if(!Ve||D<1)return[];for(var zt=0,Dn=0,Gn=Pi(Sc(Ve/D));zt<Ve;)Gn[Dn++]=vt(m,zt,zt+=D);return Gn},rn.compact=function wh(m){for(var D=-1,G=null==m?0:m.length,Ve=0,zt=[];++D<G;){var Dn=m[D];Dn&&(zt[Ve++]=Dn)}return zt},rn.concat=function rh(){var m=arguments.length;if(!m)return[];for(var D=Pi(m-1),G=arguments[0],Ve=m;Ve--;)D[Ve-1]=arguments[Ve];return ko(yo(G)?Wl(G):[G],At(D,1))},rn.cond=function i0(m){var D=null==m?0:m.length,G=sr();return m=D?Js(m,function(Ve){if("function"!=typeof Ve[1])throw new nl(T);return[G(Ve[0]),Ve[1]]}):[],mo(function(Ve){for(var zt=-1;++zt<D;){var Dn=m[zt];if(Gr(Dn[0],this,Ve))return Gr(Dn[1],this,Ve)}})},rn.conforms=function Yy(m){return function Gd(m){var D=Mc(m);return function(G){return _c(G,m,D)}}(Xa(m,1))},rn.constant=Pm,rn.countBy=I,rn.create=function Yp(m,D){var G=Pc(m);return null==D?G:ul(G,D)},rn.curry=function Nu(m,D,G){var Ve=fu(m,8,s,s,s,s,s,D=G?s:D);return Ve.placeholder=Nu.placeholder,Ve},rn.curryRight=function sh(m,D,G){var Ve=fu(m,16,s,s,s,s,s,D=G?s:D);return Ve.placeholder=sh.placeholder,Ve},rn.debounce=yf,rn.defaults=k_,rn.defaultsDeep=op,rn.defer=Qh,rn.delay=bf,rn.difference=gm,rn.differenceBy=vm,rn.differenceWith=Mp,rn.drop=function ym(m,D,G){var Ve=null==m?0:m.length;return Ve?vt(m,(D=G||D===s?1:Vo(D))<0?0:D,Ve):[]},rn.dropRight=function Eg(m,D,G){var Ve=null==m?0:m.length;return Ve?vt(m,0,(D=Ve-(D=G||D===s?1:Vo(D)))<0?0:D):[]},rn.dropRightWhile=function $m(m,D){return m&&m.length?ys(m,sr(D,3),!0,!0):[]},rn.dropWhile=function bm(m,D){return m&&m.length?ys(m,sr(D,3),!0):[]},rn.fill=function Ud(m,D,G,Ve){var zt=null==m?0:m.length;return zt?(G&&"number"!=typeof G&&Wa(m,D,G)&&(G=0,Ve=zt),function Tu(m,D,G,Ve){var zt=m.length;for((G=Vo(G))<0&&(G=-G>zt?0:zt+G),(Ve=Ve===s||Ve>zt?zt:Vo(Ve))<0&&(Ve+=zt),Ve=G>Ve?0:sp(Ve);G<Ve;)m[G++]=D;return m}(m,D,G,Ve)):[]},rn.filter=function re(m,D){return(yo(m)?Do:le)(m,sr(D,3))},rn.flatMap=function bi(m,D){return At(ra(m,D),1)},rn.flatMapDeep=function Bi(m,D){return At(ra(m,D),at)},rn.flatMapDepth=function tr(m,D,G){return G=G===s?1:Vo(G),At(ra(m,D),G)},rn.flatten=Ip,rn.flattenDeep=function Ec(m){return null!=m&&m.length?At(m,at):[]},rn.flattenDepth=function g_(m,D){return null!=m&&m.length?At(m,D=D===s?1:Vo(D)):[]},rn.flip=function kd(m){return fu(m,512)},rn.flow=W_,rn.flowRight=Uv,rn.fromPairs=function Em(m){for(var D=-1,G=null==m?0:m.length,Ve={};++D<G;){var zt=m[D];Ve[zt[0]]=zt[1]}return Ve},rn.functions=function Pg(m){return null==m?[]:vo(m,Mc(m))},rn.functionsIn=function Og(m){return null==m?[]:vo(m,xd(m))},rn.groupBy=Wr,rn.initial=function Th(m){return null!=m&&m.length?vt(m,0,-1):[]},rn.intersection=wg,rn.intersectionBy=Gm,rn.intersectionWith=df,rn.invert=xm,rn.invertBy=Ng,rn.invokeMap=Ys,rn.iteratee=H_,rn.keyBy=Ms,rn.keys=Mc,rn.keysIn=xd,rn.map=ra,rn.mapKeys=function $p(m,D){var G={};return D=sr(D,3),er(m,function(Ve,zt,Dn){Ia(G,D(Ve,zt,Dn),Ve)}),G},rn.mapValues=function x_(m,D){var G={};return D=sr(D,3),er(m,function(Ve,zt,Dn){Ia(G,zt,D(Ve,zt,Dn))}),G},rn.matches=function vu(m){return ws(Xa(m,1))},rn.matchesProperty=function Af(m,D){return fo(m,Xa(D,1))},rn.memoize=gu,rn.merge=Gp,rn.mergeWith=If,rn.method=s0,rn.methodOf=Rh,rn.mixin=ru,rn.negate=Wd,rn.nthArg=function zy(m){return m=Vo(m),mo(function(D){return jl(D,m)})},rn.omit=R_,rn.omitBy=function Kp(m,D){return ah(m,Wd(sr(D)))},rn.once=function iu(m){return Uc(2,m)},rn.orderBy=function Wo(m,D,G,Ve){return null==m?[]:(yo(D)||(D=null==D?[]:[D]),yo(G=Ve?s:G)||(G=null==G?[]:[G]),Gu(m,D,G))},rn.over=Y_,rn.overArgs=Fu,rn.overEvery=rm,rn.overSome=Om,rn.partial=Gf,rn.partialRight=Ch,rn.partition=sl,rn.pick=Fg,rn.pickBy=ah,rn.property=Yg,rn.propertyOf=function Oh(m){return function(D){return null==m?s:Bo(m,D)}},rn.pull=Cp,rn.pullAll=$h,rn.pullAllBy=function Dm(m,D,G){return m&&m.length&&D&&D.length?Bd(m,D,sr(G,2)):m},rn.pullAllWith=function Gh(m,D,G){return m&&m.length&&D&&D.length?Bd(m,D,s,G):m},rn.pullAt=Km,rn.range=z_,rn.rangeRight=Jp,rn.rearg=Mm,rn.reject=function sa(m,D){return(yo(m)?Do:le)(m,Wd(sr(D,3)))},rn.remove=function uf(m,D){var G=[];if(!m||!m.length)return G;var Ve=-1,zt=[],Dn=m.length;for(D=sr(D,3);++Ve<Dn;){var Gn=m[Ve];D(Gn,Ve,m)&&(G.push(Gn),zt.push(Ve))}return Ku(m,zt),G},rn.rest=function Jm(m,D){if("function"!=typeof m)throw new nl(T);return mo(m,D=D===s?D:Vo(D))},rn.reverse=Ap,rn.sampleSize=function za(m,D,G){return D=(G?Wa(m,D,G):D===s)?1:Vo(D),(yo(m)?Ma:hm)(m,D)},rn.set=function kv(m,D,G){return null==m?m:Iu(m,D,G)},rn.setWith=function P_(m,D,G,Ve){return Ve="function"==typeof Ve?Ve:s,null==m?m:Iu(m,D,G,Ve)},rn.shuffle=function ac(m){return(yo(m)?La:be)(m)},rn.slice=function kp(m,D,G){var Ve=null==m?0:m.length;return Ve?(G&&"number"!=typeof G&&Wa(m,D,G)?(D=0,G=Ve):(D=null==D?0:Vo(D),G=G===s?Ve:Vo(G)),vt(m,D,G)):[]},rn.sortBy=Vc,rn.sortedUniq=function xp(m){return m&&m.length?si(m):[]},rn.sortedUniqBy=function Rp(m,D){return m&&m.length?si(m,sr(D,2)):[]},rn.split=function V_(m,D,G){return G&&"number"!=typeof G&&Wa(m,D,G)&&(D=G=s),(G=G===s?hn:G>>>0)?(m=oa(m))&&("string"==typeof D||null!=D&&!Bu(D))&&!(D=Yi(D))&&Ln(m)?Za(gi(m),0,G):m.split(D,G):[]},rn.spread=function Ef(m,D){if("function"!=typeof m)throw new nl(T);return D=null==D?0:zo(Vo(D),0),mo(function(G){var Ve=G[D],zt=Za(G,0,D);return Ve&&ko(zt,Ve),Gr(m,this,zt)})},rn.tail=function vd(m){var D=null==m?0:m.length;return D?vt(m,1,D):[]},rn.take=function b_(m,D,G){return m&&m.length?vt(m,0,(D=G||D===s?1:Vo(D))<0?0:D):[]},rn.takeRight=function E_(m,D,G){var Ve=null==m?0:m.length;return Ve?vt(m,(D=Ve-(D=G||D===s?1:Vo(D)))<0?0:D,Ve):[]},rn.takeRightWhile=function Kh(m,D){return m&&m.length?ys(m,sr(D,3),!1,!0):[]},rn.takeWhile=function ff(m,D){return m&&m.length?ys(m,sr(D,3)):[]},rn.tap=function Lp(m,D){return D(m),m},rn.throttle=function Fp(m,D,G){var Ve=!0,zt=!0;if("function"!=typeof m)throw new nl(T);return fl(G)&&(Ve="leading"in G?!!G.leading:Ve,zt="trailing"in G?!!G.trailing:zt),yf(m,D,{leading:Ve,maxWait:D,trailing:zt})},rn.thru=_f,rn.toArray=rp,rn.toPairs=O_,rn.toPairsIn=nm,rn.toPath=function om(m){return yo(m)?Js(m,Bc):Vu(m)?[m]:Wl(Eh(oa(m)))},rn.toPlainObject=A_,rn.transform=function Uy(m,D,G){var Ve=yo(m),zt=Ve||kh(m)||Cm(m);if(D=sr(D,4),null==G){var Dn=m&&m.constructor;G=zt?Ve?new Dn:[]:fl(m)&&bd(Dn)?Pc(Go(m)):{}}return(zt?ms:er)(m,function(Gn,ui,Ei){return D(G,Gn,ui,Ei)}),G},rn.unary=function T_(m){return ed(m,1)},rn.union=D_,rn.unionBy=Mg,rn.unionWith=mf,rn.uniq=function wm(m){return m&&m.length?zi(m):[]},rn.uniqBy=function w_(m,D){return m&&m.length?zi(m,sr(D,2)):[]},rn.uniqWith=function Wf(m,D){return D="function"==typeof D?D:s,m&&m.length?zi(m,s,D):[]},rn.unset=function L_(m,D){return null==m||jr(m,D)},rn.unzip=Pp,rn.unzipWith=Ig,rn.update=function Sv(m,D,G){return null==m?m:ss(m,D,Io(G))},rn.updateWith=function xv(m,D,G,Ve){return Ve="function"==typeof Ve?Ve:s,null==m?m:ss(m,D,Io(G),Ve)},rn.values=lp,rn.valuesIn=function Rv(m){return null==m?[]:xa(m,xd(m))},rn.without=pf,rn.words=U_,rn.wrap=function Zm(m,D){return Gf(Io(D),m)},rn.xor=wv,rn.xorBy=Hf,rn.xorWith=Ih,rn.zip=yd,rn.zipObject=function Yf(m,D){return _s(m||[],D||[],xo)},rn.zipObjectDeep=function Op(m,D){return _s(m||[],D||[],Iu)},rn.zipWith=zf,rn.entries=O_,rn.entriesIn=nm,rn.extend=Hp,rn.extendWith=qf,ru(rn,rn),rn.add=am,rn.attempt=j_,rn.camelCase=Bg,rn.capitalize=N_,rn.ceil=jv,rn.clamp=function cp(m,D,G){return G===s&&(G=D,D=s),G!==s&&(G=(G=Wc(G))==G?G:0),D!==s&&(D=(D=Wc(D))==D?D:0),hl(Wc(m),D,G)},rn.clone=function Xh(m){return Xa(m,4)},rn.cloneDeep=function Jh(m){return Xa(m,5)},rn.cloneDeepWith=function Qf(m,D){return Xa(m,5,D="function"==typeof D?D:s)},rn.cloneWith=function qm(m,D){return Xa(m,4,D="function"==typeof D?D:s)},rn.conformsTo=function Bp(m,D){return null==D||_c(m,D,Mc(D))},rn.deburr=Vg,rn.defaultTo=function r0(m,D){return null==m||m!=m?D:m},rn.divide=Wv,rn.endsWith=function Ov(m,D,G){m=oa(m),D=Yi(D);var Ve=m.length,zt=G=G===s?Ve:hl(Vo(G),0,Ve);return(G-=D.length)>=0&&m.slice(G,zt)==D},rn.eq=td,rn.escape=function Ug(m){return(m=oa(m))&&Ue.test(m)?m.replace(Ee,Et):m},rn.escapeRegExp=function jy(m){return(m=oa(m))&&qe.test(m)?m.replace(X,"\\$&"):m},rn.every=function N(m,D,G){var Ve=yo(m)?No:wu;return G&&Wa(m,D,G)&&(D=s),Ve(m,sr(D,3))},rn.find=Ht,rn.findIndex=Uf,rn.findKey=function km(m,D){return ll(m,sr(D,3),er)},rn.findLast=on,rn.findLastIndex=nu,rn.findLastKey=function Sm(m,D){return ll(m,sr(D,3),Fr)},rn.floor=$g,rn.forEach=Dr,rn.forEachRight=zr,rn.forIn=function S_(m,D){return null==m?m:mn(m,sr(D,3),xd)},rn.forInRight=function zp(m,D){return null==m?m:Fi(m,sr(D,3),xd)},rn.forOwn=function em(m,D){return m&&er(m,sr(D,3))},rn.forOwnRight=function Rg(m,D){return m&&Fr(m,sr(D,3))},rn.get=xh,rn.gt=Ah,rn.gte=Df,rn.has=function Lg(m,D){return null!=m&&bc(m,D,Nd)},rn.hasIn=tm,rn.head=Ou,rn.identity=id,rn.includes=function Qo(m,D,G,Ve){m=cc(m)?m:lp(m),G=G&&!Ve?Vo(G):0;var zt=m.length;return G<0&&(G=zo(zt+G,0)),Jf(m)?G<=zt&&m.indexOf(D,G)>-1:!!zt&&wl(m,D,G)>-1},rn.indexOf=function Dg(m,D,G){var Ve=null==m?0:m.length;if(!Ve)return-1;var zt=null==G?0:Vo(G);return zt<0&&(zt=zo(Ve+zt,0)),wl(m,D,zt)},rn.inRange=function Pv(m,D,G){return D=Sd(D),G===s?(G=D,D=0):G=Sd(G),function Mu(m,D,G){return m>=ne(D,G)&&m<zo(D,G)}(m=Wc(m),D,G)},rn.invoke=ap,rn.isArguments=Zh,rn.isArray=yo,rn.isArrayBuffer=Im,rn.isArrayLike=cc,rn.isArrayLikeObject=ec,rn.isBoolean=function Vp(m){return!0===m||!1===m||tc(m)&&Ro(m)==ie},rn.isBuffer=kh,rn.isDate=Up,rn.isElement=function M_(m){return tc(m)&&1===m.nodeType&&!Mf(m)},rn.isEmpty=function wf(m){if(null==m)return!0;if(cc(m)&&(yo(m)||"string"==typeof m||"function"==typeof m.splice||kh(m)||Cm(m)||Zh(m)))return!m.length;var D=Tc(m);if(D==Me||D==Oi)return!m.size;if(af(m))return!nn(m).length;for(var G in m)if(ps.call(m,G))return!1;return!0},rn.isEqual=function Cg(m,D){return Nc(m,D)},rn.isEqualWith=function I_(m,D,G){var Ve=(G="function"==typeof G?G:s)?G(m,D):s;return Ve===s?Nc(m,D,s,G):!!Ve},rn.isError=oh,rn.isFinite=function Ag(m){return"number"==typeof m&&$l(m)},rn.isFunction=bd,rn.isInteger=Tv,rn.isLength=qh,rn.isMap=ep,rn.isMatch=function Xf(m,D){return m===D||wc(m,D,ns(D))},rn.isMatchWith=function C_(m,D,G){return G="function"==typeof G?G:s,wc(m,D,ns(D),G)},rn.isNaN=function Tf(m){return Iv(m)&&m!=+m},rn.isNative=function Sh(m){if(zm(m))throw new Bs("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Po(m)},rn.isNil=function Mv(m){return null==m},rn.isNull=function jp(m){return null===m},rn.isNumber=Iv,rn.isObject=fl,rn.isObjectLike=tc,rn.isPlainObject=Mf,rn.isRegExp=Bu,rn.isSafeInteger=function Cv(m){return Tv(m)&&m>=-Ut&&m<=Ut},rn.isSet=Av,rn.isString=Jf,rn.isSymbol=Vu,rn.isTypedArray=Cm,rn.isUndefined=function tp(m){return m===s},rn.isWeakMap=function kg(m){return tc(m)&&Tc(m)==_},rn.isWeakSet=function Zf(m){return tc(m)&&"[object WeakSet]"==Ro(m)},rn.join=function v_(m,D){return null==m?"":Gl.call(m,D)},rn.kebabCase=im,rn.last=Ko,rn.lastIndexOf=function y_(m,D,G){var Ve=null==m?0:m.length;if(!Ve)return-1;var zt=Ve;return G!==s&&(zt=(zt=Vo(G))<0?zo(Ve+zt,0):ne(zt,Ve-1)),D==D?function cl(ri,nr,Pi){for(var Nr=Pi+1;Nr--;)if(ri[Nr]===nr)return Nr;return Nr}(m,D,zt):wo(m,Ps,zt,!0)},rn.lowerCase=F_,rn.lowerFirst=nd,rn.lt=np,rn.lte=ip,rn.max=function qp(m){return m&&m.length?vc(m,id,Ja):s},rn.maxBy=function Hv(m,D){return m&&m.length?vc(m,sr(D,2),Ja):s},rn.mean=function e_(m){return ba(m,id)},rn.meanBy=function t_(m,D){return ba(m,sr(D,2))},rn.min=function Gg(m){return m&&m.length?vc(m,id,Xi):s},rn.minBy=function n_(m,D){return m&&m.length?vc(m,sr(D,2),Xi):s},rn.stubArray=$_,rn.stubFalse=lh,rn.stubObject=function Lm(){return{}},rn.stubString=function Zp(){return""},rn.stubTrue=function sm(){return!0},rn.multiply=$y,rn.nth=function jd(m,D){return m&&m.length?jl(m,Vo(D)):s},rn.noConflict=function Ph(){return As._===this&&(As._=mc),this},rn.noop=Hg,rn.now=El,rn.pad=function ml(m,D,G){m=oa(m);var Ve=(D=Vo(D))?Ra(m):0;if(!D||Ve>=D)return m;var zt=(D-Ve)/2;return yc(rc(zt),G)+m+yc(Sc(zt),G)},rn.padEnd=function Rd(m,D,G){m=oa(m);var Ve=(D=Vo(D))?Ra(m):0;return D&&Ve<D?m+yc(D-Ve,G):m},rn.padStart=function up(m,D,G){m=oa(m);var Ve=(D=Vo(D))?Ra(m):0;return D&&Ve<D?yc(D-Ve,G)+m:m},rn.parseInt=function B_(m,D,G){return G||null==D?D=0:D&&(D=+D),me(oa(m).replace(Yt,""),D||0)},rn.random=function dp(m,D,G){if(G&&"boolean"!=typeof G&&Wa(m,D,G)&&(D=G=s),G===s&&("boolean"==typeof D?(G=D,D=s):"boolean"==typeof m&&(G=m,m=s)),m===s&&D===s?(m=0,D=1):(m=Sd(m),D===s?(D=m,m=0):D=Sd(D)),m>D){var Ve=m;m=D,D=Ve}if(G||m%1||D%1){var zt=Re();return ne(m+zt*(D-m+ls("1e-"+((zt+"").length-1))),D)}return Fh(m,D)},rn.reduce=function Ao(m,D,G){var Ve=yo(m)?Uo:pl,zt=arguments.length<3;return Ve(m,sr(D,4),G,zt,uo)},rn.reduceRight=function ma(m,D,G){var Ve=yo(m)?no:pl,zt=arguments.length<3;return Ve(m,sr(D,4),G,zt,Kc)},rn.repeat=function Qp(m,D,G){return D=(G?Wa(m,D,G):D===s)?1:Vo(D),Qu(oa(m),D)},rn.replace=function Lv(){var m=arguments,D=oa(m[0]);return m.length<3?D:D.replace(m[1],m[2])},rn.result=function Rm(m,D,G){var Ve=-1,zt=(D=fa(D,m)).length;for(zt||(zt=1,m=s);++Ve<zt;){var Dn=null==m?s:m[Bc(D[Ve])];Dn===s&&(Ve=zt,Dn=G),m=bd(Dn)?Dn.call(m):Dn}return m},rn.round=G_,rn.runInContext=ri,rn.sample=function ol(m){return(yo(m)?ta:Xd)(m)},rn.size=function lc(m){if(null==m)return 0;if(cc(m))return Jf(m)?Ra(m):m.length;var D=Tc(m);return D==Me||D==Oi?m.size:nn(m).length},rn.snakeCase=Cf,rn.some=function bl(m,D,G){var Ve=yo(m)?la:Wt;return G&&Wa(m,D,G)&&(D=s),Ve(m,sr(D,3))},rn.sortedIndex=function Sp(m,D){return fn(m,D)},rn.sortedIndexBy=function Tg(m,D,G){return $n(m,D,sr(G,2))},rn.sortedIndexOf=function hf(m,D){var G=null==m?0:m.length;if(G){var Ve=fn(m,D);if(Ve<G&&td(m[Ve],D))return Ve}return-1},rn.sortedLastIndex=function jf(m,D){return fn(m,D,!0)},rn.sortedLastIndexBy=function Qm(m,D,G){return $n(m,D,sr(G,2),!0)},rn.sortedLastIndexOf=function Mh(m,D){if(null!=m&&m.length){var Ve=fn(m,D,!0)-1;if(td(m[Ve],D))return Ve}return-1},rn.startCase=jg,rn.startsWith=function Nv(m,D,G){return m=oa(m),G=null==G?0:hl(Vo(G),0,m.length),D=Yi(D),m.slice(G,G+D.length)==D},rn.subtract=Yv,rn.sum=function Kg(m){return m&&m.length?Fo(m,id):0},rn.sumBy=function K_(m,D){return m&&m.length?Fo(m,sr(D,2)):0},rn.template=function hp(m,D,G){var Ve=rn.templateSettings;G&&Wa(m,D,G)&&(D=s),m=oa(m),D=qf({},D,Ve,oc);var ui,Ei,zt=qf({},D.imports,Ve.imports,oc),Dn=Mc(zt),Gn=xa(zt,Dn),wr=0,ar=D.interpolate||zn,Ir="__p += '",ts=dc((D.escape||zn).source+"|"+ar.source+"|"+(ar===we?Pt:zn).source+"|"+(D.evaluate||zn).source+"|$","g"),us="//# sourceURL="+(ps.call(D,"sourceURL")?(D.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Fn+"]")+"\n";m.replace(ts,function(bo,ua,Aa,su,Hd,yu){return Aa||(Aa=su),Ir+=m.slice(wr,yu).replace(ft,pe),ua&&(ui=!0,Ir+="' +\n__e("+ua+") +\n'"),Hd&&(Ei=!0,Ir+="';\n"+Hd+";\n__p += '"),Aa&&(Ir+="' +\n((__t = ("+Aa+")) == null ? '' : __t) +\n'"),wr=yu+bo.length,bo}),Ir+="';\n";
vendor: 10,642 bytes, line 1
1var Zs=ps.call(D,"variable")&&D.variable;if(Zs){if(_n.test(Zs))throw new Bs("Invalid `variable` option passed into `_.template`")}else Ir="with (obj) {\n"+Ir+"\n}\n";Ir=(Ei?Ir.replace(un,""):Ir).replace(Ae,"$1").replace(xe,"$1;"),Ir="function("+(Zs||"obj")+") {\n"+(Zs?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ui?", __e = _.escape":"")+(Ei?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ir+"return __p\n}";var na=j_(function(){return Qs(Dn,us+"return "+Ir).apply(s,Gn)});if(na.source=Ir,oh(na))throw na;return na},rn.times=function fp(m,D){if((m=Vo(m))<1||m>Ut)return[];var G=hn,Ve=ne(m,hn);D=sr(D),m-=hn;for(var zt=ca(Ve,D);++G<m;)D(G);return zt},rn.toFinite=Sd,rn.toInteger=Vo,rn.toLength=sp,rn.toLower=function Fv(m){return oa(m).toLowerCase()},rn.toNumber=Wc,rn.toSafeInteger=function Sg(m){return m?hl(Vo(m),-Ut,Ut):0===m?m:0},rn.toString=oa,rn.toUpper=function Wy(m){return oa(m).toUpperCase()},rn.trim=function al(m,D,G){if((m=oa(m))&&(G||D===s))return Mo(m);if(!m||!(D=Yi(D)))return m;var Ve=gi(m),zt=gi(D);return Za(Ve,_l(Ve,zt),el(Ve,zt)+1).join("")},rn.trimEnd=function n0(m,D,G){if((m=oa(m))&&(G||D===s))return m.slice(0,gr(m)+1);if(!m||!(D=Yi(D)))return m;var Ve=gi(m);return Za(Ve,0,el(Ve,gi(D))+1).join("")},rn.trimStart=function Bv(m,D,G){if((m=oa(m))&&(G||D===s))return m.replace(Yt,"");if(!m||!(D=Yi(D)))return m;var Ve=gi(m);return Za(Ve,_l(Ve,gi(D))).join("")},rn.truncate=function Al(m,D){var G=30,Ve="...";if(fl(D)){var zt="separator"in D?D.separator:zt;G="length"in D?Vo(D.length):G,Ve="omission"in D?Yi(D.omission):Ve}var Dn=(m=oa(m)).length;if(Ln(m)){var Gn=gi(m);Dn=Gn.length}if(G>=Dn)return m;var ui=G-Ra(Ve);if(ui<1)return Ve;var Ei=Gn?Za(Gn,0,ui).join(""):m.slice(0,ui);if(zt===s)return Ei+Ve;if(Gn&&(ui+=Ei.length-ui),Bu(zt)){if(m.slice(ui).search(zt)){var wr,ar=Ei;for(zt.global||(zt=dc(zt.source,oa(ke.exec(zt))+"g")),zt.lastIndex=0;wr=zt.exec(ar);)var Ir=wr.index;Ei=Ei.slice(0,Ir===s?ui:Ir)}}else if(m.indexOf(Yi(zt),ui)!=ui){var ts=Ei.lastIndexOf(zt);ts>-1&&(Ei=Ei.slice(0,ts))}return Ei+Ve},rn.unescape=function Xp(m){return(m=oa(m))&&Ce.test(m)?m.replace(z,ct):m},rn.uniqueId=function zg(m){var D=++wa;return oa(m)+D},rn.upperCase=Hy,rn.upperFirst=Wg,rn.each=Dr,rn.eachRight=zr,rn.first=Ou,ru(rn,function(){var m={};return er(rn,function(D,G){ps.call(rn.prototype,G)||(m[G]=D)}),m}(),{chain:!1}),rn.VERSION="4.17.21",ms(["bind","bindKey","curry","curryRight","partial","partialRight"],function(m){rn[m].placeholder=rn}),ms(["drop","take"],function(m,D){ro.prototype[m]=function(G){G=G===s?1:zo(Vo(G),0);var Ve=this.__filtered__&&!D?new ro(this):this.clone();return Ve.__filtered__?Ve.__takeCount__=ne(G,Ve.__takeCount__):Ve.__views__.push({size:ne(G,hn),type:m+(Ve.__dir__<0?"Right":"")}),Ve},ro.prototype[m+"Right"]=function(G){return this.reverse()[m](G).reverse()}}),ms(["filter","map","takeWhile"],function(m,D){var G=D+1,Ve=1==G||3==G;ro.prototype[m]=function(zt){var Dn=this.clone();return Dn.__iteratees__.push({iteratee:sr(zt,3),type:G}),Dn.__filtered__=Dn.__filtered__||Ve,Dn}}),ms(["head","last"],function(m,D){var G="take"+(D?"Right":"");ro.prototype[m]=function(){return this[G](1).value()[0]}}),ms(["initial","tail"],function(m,D){var G="drop"+(D?"":"Right");ro.prototype[m]=function(){return this.__filtered__?new ro(this):this[G](1)}}),ro.prototype.compact=function(){return this.filter(id)},ro.prototype.find=function(m){return this.filter(m).head()},ro.prototype.findLast=function(m){return this.reverse().find(m)},ro.prototype.invokeMap=mo(function(m,D){return"function"==typeof m?new ro(this):this.map(function(G){return Qd(G,m,D)})}),ro.prototype.reject=function(m){return this.filter(Wd(sr(m)))},ro.prototype.slice=function(m,D){m=Vo(m);var G=this;return G.__filtered__&&(m>0||D<0)?new ro(G):(m<0?G=G.takeRight(-m):m&&(G=G.drop(m)),D!==s&&(G=(D=Vo(D))<0?G.dropRight(-D):G.take(D-m)),G)},ro.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},ro.prototype.toArray=function(){return this.take(hn)},er(ro.prototype,function(m,D){var G=/^(?:filter|find|map|reject)|While$/.test(D),Ve=/^(?:head|last)$/.test(D),zt=rn[Ve?"take"+("last"==D?"Right":""):D],Dn=Ve||/^find/.test(D);zt&&(rn.prototype[D]=function(){var Gn=this.__wrapped__,ui=Ve?[1]:arguments,Ei=Gn instanceof ro,wr=ui[0],ar=Ei||yo(Gn),Ir=function(ua){var Aa=zt.apply(rn,ko([ua],ui));return Ve&&ts?Aa[0]:Aa};ar&&G&&"function"==typeof wr&&1!=wr.length&&(Ei=ar=!1);var ts=this.__chain__,Zs=Dn&&!ts,na=Ei&&!this.__actions__.length;if(!Dn&&ar){Gn=na?Gn:new ro(this);var bo=m.apply(Gn,ui);return bo.__actions__.push({func:_f,args:[Ir],thisArg:s}),new Ba(bo,ts)}return Zs&&na?m.apply(this,ui):(bo=this.thru(Ir),Zs?Ve?bo.value()[0]:bo.value():bo)})}),ms(["pop","push","shift","sort","splice","unshift"],function(m){var D=Sl[m],G=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",Ve=/^(?:pop|shift)$/.test(m);rn.prototype[m]=function(){var zt=arguments;if(Ve&&!this.__chain__){var Dn=this.value();return D.apply(yo(Dn)?Dn:[],zt)}return this[G](function(Gn){return D.apply(yo(Gn)?Gn:[],zt)})}}),er(ro.prototype,function(m,D){var G=rn[D];if(G){var Ve=G.name+"";ps.call(Ta,Ve)||(Ta[Ve]=[]),Ta[Ve].push({name:D,func:G})}}),Ta[Vd(s,2).name]=[{name:"wrapper",func:s}],ro.prototype.clone=function Kl(){var m=new ro(this.__wrapped__);return m.__actions__=Wl(this.__actions__),m.__dir__=this.__dir__,m.__filtered__=this.__filtered__,m.__iteratees__=Wl(this.__iteratees__),m.__takeCount__=this.__takeCount__,m.__views__=Wl(this.__views__),m},ro.prototype.reverse=function Ml(){if(this.__filtered__){var m=new ro(this);m.__dir__=-1,m.__filtered__=!0}else(m=this.clone()).__dir__*=-1;return m},ro.prototype.value=function rl(){var m=this.__wrapped__.value(),D=this.__dir__,G=yo(m),Ve=D<0,zt=G?m.length:0,Dn=function Hm(m,D,G){for(var Ve=-1,zt=G.length;++Ve<zt;){var Dn=G[Ve],Gn=Dn.size;switch(Dn.type){case"drop":m+=Gn;break;case"dropRight":D-=Gn;break;case"take":D=ne(D,m+Gn);break;case"takeRight":m=zo(m,D-Gn)}}return{start:m,end:D}}(0,zt,this.__views__),Gn=Dn.start,ui=Dn.end,Ei=ui-Gn,wr=Ve?ui:Gn-1,ar=this.__iteratees__,Ir=ar.length,ts=0,us=ne(Ei,this.__takeCount__);if(!G||!Ve&&zt==Ei&&us==Ei)return xs(m,this.__actions__);var Zs=[];e:for(;Ei--&&ts<us;){for(var na=-1,bo=m[wr+=D];++na<Ir;){var ua=ar[na],su=ua.type,Hd=(0,ua.iteratee)(bo);if(2==su)bo=Hd;else if(!Hd){if(1==su)continue e;break e}}Zs[ts++]=bo}return Zs},rn.prototype.at=Xm,rn.prototype.chain=function Lu(){return Tm(this)},rn.prototype.commit=function gf(){return new Ba(this.value(),this.__chain__)},rn.prototype.next=function Np(){this.__values__===s&&(this.__values__=rp(this.value()));var m=this.__index__>=this.__values__.length;return{done:m,value:m?s:this.__values__[this.__index__++]}},rn.prototype.plant=function R(m){for(var D,G=this;G instanceof ga;){var Ve=ih(G);Ve.__index__=0,Ve.__values__=s,D?zt.__wrapped__=Ve:D=Ve;var zt=Ve;G=G.__wrapped__}return zt.__wrapped__=m,D},rn.prototype.reverse=function S(){var m=this.__wrapped__;if(m instanceof ro){var D=m;return this.__actions__.length&&(D=new ro(this)),(D=D.reverse()).__actions__.push({func:_f,args:[Ap],thisArg:s}),new Ba(D,this.__chain__)}return this.thru(Ap)},rn.prototype.toJSON=rn.prototype.valueOf=rn.prototype.value=function ce(){return xs(this.__wrapped__,this.__actions__)},rn.prototype.first=rn.prototype.head,vs&&(rn.prototype[vs]=function $f(){return this}),rn}();As._=ho,(o=function(){return ho}.call(Ye,d,Ye,tn))!==s&&(tn.exports=o)}.call(this)},1544(tn,Ye,d){!function(o){"use strict";o.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(h){return/^nm$/i.test(h)},meridiem:function(h,y,v){return h<12?v?"vm":"VM":v?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(d(7586))},2155(tn,Ye,d){!function(o){"use strict";var s=function(M){return 0===M?0:1===M?1:2===M?2:M%100>=3&&M%100<=10?3:M%100>=11?4:5},h={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},y=function(M){return function(k,H,B,x){var ye=s(k),He=h[M][s(k)];return 2===ye&&(He=He[H?0:1]),He.replace(/%d/i,k)}}
vendor: 25,403 bytes, line 1
1,v=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];o.defineLocale("ar-dz",{months:v,monthsShort:v,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(M){return"\u0645"===M},meridiem:function(M,k,H){return M<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:y("s"),ss:y("s"),m:y("m"),mm:y("m"),h:y("h"),hh:y("h"),d:y("d"),dd:y("d"),M:y("M"),MM:y("M"),y:y("y"),yy:y("y")},postformat:function(M){return M.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(d(7586))},3583(tn,Ye,d){!function(o){"use strict";o.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(d(7586))},1638(tn,Ye,d){!function(o){"use strict";var s={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},h=function(k){return 0===k?0:1===k?1:2===k?2:k%100>=3&&k%100<=10?3:k%100>=11?4:5},y={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},v=function(k){return function(H,B,x,ye){var He=h(H),Mt=y[k][h(H)];return 2===He&&(Mt=Mt[B?0:1]),Mt.replace(/%d/i,H)}},T=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];o.defineLocale("ar-ly",{months:T,monthsShort:T,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(k){return"\u0645"===k},meridiem:function(k,H,B){return k<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:v("s"),ss:v("s"),m:v("m"),mm:v("m"),h:v("h"),hh:v("h"),d:v("d"),dd:v("d"),M:v("M"),MM:v("M"),y:v("y"),yy:v("y")},preparse:function(k){return k.replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(H){return s[H]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(d(7586))},7823(tn,Ye,d){!function(o){"use strict";o.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(d(7586))},7712(tn,Ye,d){!function(o){"use strict";var s={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},h={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};o.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(v){return"\u0645"===v},meridiem:function(v,T,M){return v<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(v){return v.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(T){return h[T]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(T){return h[T]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(d(7586))},8261(tn,Ye,d){!function(o){"use strict";var s={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},h={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};o.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(v){return"\u0645"===v},meridiem:function(v,T,M){return v<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(T){return h[T]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(d(7586))},6703(tn,Ye,d){!function(o){"use strict";o.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(d(7586))},3108(tn,Ye,d){!function(o){"use strict";var s={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},h={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},y=function(H){return 0===H?0:1===H?1:2===H?2:H%100>=3&&H%100<=10?3:H%100>=11?4:5},v={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},T=function(H){return function(B,x,ye,He){var Mt=y(B),Ge=v[H][y(B)];return 2===Mt&&(Ge=Ge[x?0:1]),Ge.replace(/%d/i,B)}},M=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];o.defineLocale("ar",{months:M,monthsShort:M,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(H){return"\u0645"===H},meridiem:function(H,B,x){return H<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:T("s"),ss:T("s"),m:T("m"),mm:T("m"),h:T("h"),hh:T("h"),d:T("d"),dd:T("d"),M:T("M"),MM:T("M"),y:T("y"),yy:T("y")},preparse:function(H){return H.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(B){return h[B]}).replace(/\u060c/g,",")},postformat:function(H){return H.replace(/\d/g,function(B){return s[B]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(d(7586))},6508(tn,Ye,d){!function(o){"use strict";var s={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};o.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u
10259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(y){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(y)},meridiem:function(y,v,T){return y<4?"gec\u0259":y<12?"s\u0259h\u0259r":y<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(y){if(0===y)return y+"-\u0131nc\u0131";var v=y%10;return y+(s[v]||s[y%100-v]||s[y>=100?100:null])},week:{dow:1,doy:7}})}(d(7586))},6766(tn,Ye,d){!function(o){"use strict";function h(v,T,M){return"m"===M?T?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===M?T?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":v+" "+function s(v,T){var M=v.split("_");return T%10==1&&T%100!=11?M[0]:T%10>=2&&T%10<=4&&(T%100<10||T%100>=20)?M[1]:M[2]}({ss:T?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:T?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:T?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[M],+v)}o.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".
vendor: 7,406 bytes, line 1
1split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:h,mm:h,h,hh:h,d:"\u0434\u0437\u0435\u043d\u044c",dd:h,M:"\u043c\u0435\u0441\u044f\u0446",MM:h,y:"\u0433\u043e\u0434",yy:h},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(v){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(v)},meridiem:function(v,T,M){return v<4?"\u043d\u043e\u0447\u044b":v<12?"\u0440\u0430\u043d\u0456\u0446\u044b":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(v,T){switch(T){case"M":case"d":case"DDD":case"w":case"W":return v%10!=2&&v%10!=3||v%100==12||v%100==13?v+"-\u044b":v+"-\u0456";case"D":return v+"-\u0433\u0430";default:return v}},week:{dow:1,doy:7}})}(d(7586))},8564(tn,Ye,d){!function(o){"use strict";o.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(h){var y=h%10,v=h%100;return 0===h?h+"-\u0435\u0432":0===v?h+"-\u0435\u043d":v>10&&v<20?h+"-\u0442\u0438":1===y?h+"-\u0432\u0438":2===y?h+"-\u0440\u0438":7===y||8===y?h+"-\u043c\u0438":h+"-\u0442\u0438"},week:{dow:1,doy:7}})}(d(7586))},7462(tn,Ye,d){!function(o){"use strict";o.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(d(7586))},3438(tn,Ye,d){!function(o){"use strict";var s={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},h={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};o.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u
109ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===T?v<4?v:v+12:"\u09ad\u09cb\u09b0"===T||"\u09b8\u0995\u09be\u09b2"===T?v:"\u09a6\u09c1\u09aa\u09c1\u09b0"===T?v>=3?v:v+12:"\u09ac\u09bf\u0995\u09be\u09b2"===T||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===T?v+12:void 0},meridiem:function(v,T,M){return v<4?"\u09b0\u09be\u09a4":v<6?"\u09ad\u09cb\u09b0":v<12?"\u09b8\u0995\u09be\u09b2":v<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<18?"\u09ac\u09bf\u0995\u09be\u09b2":v<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(d(7586))},7107(tn,Ye,d){!function(o){"use strict";var s={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},h={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};o.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u
109ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(v){return v.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u09b0\u09be\u09a4"===T&&v>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===T&&v<5||"\u09ac\u09bf\u0995\u09be\u09b2"===T?v+12:v},meridiem:function(v,T,M){return v<4?"\u09b0\u09be\u09a4":v<10?"\u09b8\u0995\u09be\u09b2":v<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":v<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(d(7586))},9004(tn,Ye,d){!function(o){"use strict";var s={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},h={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};o.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u
10f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(v){return v.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===T&&v>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===T&&v<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===T?v+12:v},meridiem:function(v,T,M){return v<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":v<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":v<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":v<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(d(7586))},927(tn,Ye,d){!function(o){"use strict";function s(Ge,Qe,Xe){return Ge+" "+function v(Ge,Qe){return 2===Qe?function T(Ge){var Qe={m:"v",b:"v",d:"z"};return void 0===Qe[Ge.charAt(0)]?Ge:Qe[Ge.charAt(0)]+Ge.substring(1)}(Ge):Ge}({mm:"munutenn",MM:"miz",dd:"devezh"}[Xe],Ge)}function y(Ge){return Ge>9?y(Ge%10):Ge}var M=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],k=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,He=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];o.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:He,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:He,monthsRegex:k,monthsShortRegex:k,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:M,longMonthsParse:M,shortMonthsParse:M,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:s,h:"un eur",hh:"%d eur",d:"un devezh",dd:s,M:"ur miz",MM:s,y:"ur bloaz",yy:function h(Ge){switch(y(Ge)){case 1:case 3:case 4:case 5:case 9:return Ge+" bloaz";default:return Ge+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(Ge){return Ge+(1===Ge?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(Ge){return"g.m."===Ge},meridiem:function(Ge,Qe,Xe){return Ge<12?"a.m.":"g.m."}})}(d(7586))},7768(tn,Ye,d){!function(o){"use strict";function h(v,T,M){var k=v+" ";switch(M){case"ss":return k+(1===v?"sekunda":2===v||3===v||4===v?"sekunde":"sekundi");case"mm":return k+(1===v?"minuta":2===v||3===v||4===v?"minute":"minuta");case"h":return"jedan sat";case"hh":return k+(1===v?"sat":2===v||3===v||4===v?"sata":"sati");case"dd":return k+(1===v?"dan":"dana");case"MM":return k+(1===v?"mjesec":2===v||3===v||4===v?"mjeseca":"mjeseci");case"yy":return k+(1===v?"godina":2===v||3===v||4===v?"godine":"godina")}}o.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:h,m:function s(v,T,M,k){if("m"===M)return T?"jedna minuta":k?"jednu minutu":"jedne minute"},mm:h,h,hh:h,d:"dan",dd:h,M:"mjesec",MM:h,y:"godinu",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},6291(tn,Ye,d){!function(o){"use strict";o.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
1d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(h,y){var v=1===h?"r":2===h?"n":3===h?"r":4===h?"t":"\xe8";return("w"===y||"W"===y)&&(v="a"),h+v},week:{dow:1,doy:4}})}(d(7586))},5301(tn,Ye,d){!function(o){"use strict";var s={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},h="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),y=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],v=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function T(H){return H>1&&H<5&&1!=~~(H/10)}function M(H,B,x,ye){var He=H+" ";switch(x){case"s":return B||ye?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return B||ye?He+(T(H)?"sekundy":"sekund"):He+"sekundami";case"m":return B?"minuta":ye?"minutu":"minutou";case"mm":return B||ye?He+(T(H)?"minuty":"minut"):He+"minutami";case"h":return B?"hodina":ye?"hodinu":"hodinou";case"hh":return B||ye?He+(T(H)?"hodiny":"hodin"):He+"hodinami";case"d":return B||ye?"den":"dnem";case"dd":return B||ye?He+(T(H)?"dny":"dn\xed"):He+"dny";case"M":return B||ye?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return B||ye?He+(T(H)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):He+"m\u011bs\xedci";case"y":return B||ye?"rok":"rokem";case"yy":return B||ye?He+(T(H)?"roky":"let"):He+"lety"}}o.defineLocale("cs",{months:s,monthsShort:h,monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},6666(tn,Ye,d){!function(o){"use strict";o.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(h){return h+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(h)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(h)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(d(7586))},5163(tn,Ye,d){!function(o){"use strict";
vendor: 9,106 bytes, line 1
1o.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(h){var v="";return h>20?v=40===h||50===h||60===h||80===h||100===h?"fed":"ain":h>0&&(v=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][h]),h+v},week:{dow:1,doy:4}})}(d(7586))},7360(tn,Ye,d){!function(o){"use strict";o.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},3248(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[y+" Tage",y+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[y+" Monate",y+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[y+" Jahre",y+" Jahren"]};return v?k[T][0]:k[T][1]}o.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:s,mm:"%d Minuten",h:s,hh:"%d Stunden",d:s,dd:s,w:s,ww:"%d Wochen",M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},3222(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[y+" Tage",y+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[y+" Monate",y+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[y+" Jahre",y+" Jahren"]};return v?k[T][0]:k[T][1]}o.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:s,mm:"%d Minuten",h:s,hh:"%d Stunden",d:s,dd:s,w:s,ww:"%d Wochen",M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},5932(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[y+" Tage",y+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[y+" Monate",y+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[y+" Jahre",y+" Jahren"]};return v?k[T][0]:k[T][1]}o.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:s,mm:"%d Minuten",h:s,hh:"%d Stunden",d:s,dd:s,w:s,ww:"%d Wochen",M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},6405(tn,Ye,d){!function(o){"use strict";var s=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],h=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];o.defineLocale("dv",{months:s,monthsShort:s,weekdays:h,weekdaysShort:h,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(v){return"\u0789\u078a"===v},meridiem:function(v,T,M){return v<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(d(7586))},718(tn,Ye,d){!function(o){"use strict";
vendor: 4,721 bytes, line 1
1o.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(y,v){return y?"string"==typeof v&&/D/.test(v.substring(0,v.indexOf("MMMM")))?this._monthsGenitiveEl[y.month()]:this._monthsNominativeEl[y.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(y,v,T){return y>11?T?"\u03bc\u03bc":"\u039c\u039c":T?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(y){return"\u03bc"===(y+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(y,v){var T=this._calendarEl[y],M=v&&v.hours();return function s(y){return typeof Function<"u"&&y instanceof Function||"[object Function]"===Object.prototype.toString.call(y)}(T)&&(T=T.apply(v)),T.replace("{}",M%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(d(7586))},6319(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LT
vendor: 18,649 bytes, line 1
1S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:0,doy:4}})}(d(7586))},597(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")}})}(d(7586))},1800(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(d(7586))},807(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(d(7586))},5960(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")}})}(d(7586))},4418(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:0,doy:6}})}(d(7586))},6865(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(d(7586))},2647(tn,Ye,d){!function(o){"use strict";o.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(d(7586))},1931(tn,Ye,d){!function(o){"use strict";o.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(h){return"p"===h.charAt(0).toLowerCase()},meridiem:function(h,y,v){return h>11?v?"p.t.m.":"P.T.M.":v?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(d(7586))},1805(tn,Ye,d){!function(o){"use strict";var s="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),h="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;o.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(M,k){return M?/-MMM-/.test(k)?h[M.month()]:s[M.month()]:s},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},3445(tn,Ye,d){!function(o){"use strict";var s="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),h="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;o.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(M,k){return M?/-MMM-/.test(k)?h[M.month()]:s[M.month()]:s},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(d(7586))},1516(tn,Ye,d){!function(o){"use strict";var s="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),h="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;o.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(M,k){return M?/-MMM-/.test(k)?h[M.month()]:s[M.month()]:s},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(d(7586))},6679(tn,Ye,d){!function(o){"use strict";var s="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),h="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),y=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],v=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;o.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(M,k){return M?/-MMM-/.test(k)?h[M.month()]:s[M.month()]:s},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(d(7586))},8150(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[y+"sekundi",y+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[y+" minuti",y+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[y+" tunni",y+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[y+" kuu",y+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[y+" aasta",y+" aastat"]};return v?k[T][2]?k[T][2]:k[T][1]:M?k[T][0]:k[T][1]}
vendor: 28,904 bytes, line 1
1o.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:"%d p\xe4eva",M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},757(tn,Ye,d){!function(o){"use strict";o.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},5742(tn,Ye,d){!function(o){"use strict";var s={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},h={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};o.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(v){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(v)},meridiem:function(v,T,M){return v<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/[\u06f0-\u06f9]/g,function(T){return h[T]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(d(7586))},3958(tn,Ye,d){!function(o){"use strict";var s="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),h=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",s[7],s[8],s[9]];function y(M,k,H,B){var x="";switch(H){case"s":return B?"muutaman sekunnin":"muutama sekunti";case"ss":x=B?"sekunnin":"sekuntia";break;case"m":return B?"minuutin":"minuutti";case"mm":x=B?"minuutin":"minuuttia";break;case"h":return B?"tunnin":"tunti";case"hh":x=B?"tunnin":"tuntia";break;case"d":return B?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":x=B?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return B?"kuukauden":"kuukausi";case"MM":x=B?"kuukauden":"kuukautta";break;case"y":return B?"vuoden":"vuosi";case"yy":x=B?"vuoden":"vuotta"}return function v(M,k){return M<10?k?h[M]:s[M]:M}(M,B)+" "+x}o.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},6720(tn,Ye,d){!function(o){"use strict";o.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(h){return h},week:{dow:1,doy:4}})}(d(7586))},8352(tn,Ye,d){!function(o){"use strict";o.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},2096(tn,Ye,d){!function(o){"use strict";o.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(h,y){switch(y){default:case"M":case"Q":case"D":case"DDD":case"d":return h+(1===h?"er":"e");case"w":case"W":return h+(1===h?"re":"e")}}})}(d(7586))},5759(tn,Ye,d){!function(o){"use strict";o.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(h,y){switch(y){default:case"M":case"Q":case"D":case"DDD":case"d":return h+(1===h?"er":"e");case"w":case"W":return h+(1===h?"re":"e")}},week:{dow:1,doy:4}})}(d(7586))},4059(tn,Ye,d){!function(o){"use strict";var y=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,v=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];o.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:y,monthsShortRegex:y,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(M,k){switch(k){case"D":return M+(1===M?"er":"");default:case"M":case"Q":case"DDD":case"d":return M+(1===M?"er":"e");case"w":case"W":return M+(1===M?"re":"e")}},week:{dow:1,doy:4}})}(d(7586))},5958(tn,Ye,d){!function(o){"use strict";var s="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),h="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");o.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(v,T){return v?/-MMM-/.test(T)?h[v.month()]:s[v.month()]:s},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(d(7586))},4143(tn,Ye,d){!function(o){"use strict";o.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(k){return k+(1===k?"d":k%10==2?"na":"mh")},week:{dow:1,doy:4}})}(d(7586))},7028(tn,Ye,d){!function(o){"use strict";o.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(k){return k+(1===k?"d":k%10==2?"na":"mh")},week:{dow:1,doy:4}})}(d(7586))},428(tn,Ye,d){!function(o){"use strict";o.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(h){return 0===h.indexOf("un")?"n"+h:"en "+h},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},6861(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[y+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",y+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[y+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",y+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[y+" \u0935\u0930\u093e\u0902\u0928\u0940",y+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[y+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",y+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[y+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",y+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[y+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",y+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return M?k[T][0]:k[T][1]}o.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(y,v){return"D"===v?y+"\u0935\u0947\u0930":y},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(y,v){return 12===y&&(y=0),"\u0930\u093e\u0924\u0940"===v?y<4?y:y+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===v?y:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===v?y>12?y:y+12:"\u0938\u093e\u0902\u091c\u0947"===v?y+12:void 0},meridiem:function(y,v,T){return y<4?"\u0930\u093e\u0924\u0940":y<12?"\u0938\u0915\u093e\u0933\u0940\u0902":y<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":y<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(d(7586))},7718(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k={s:["thoddea sekondamni","thodde sekond"],ss:[y+" sekondamni",y+" sekond"],m:["eka mintan","ek minut"],mm:[y+" mintamni",y+" mintam"],h:["eka voran","ek vor"],hh:[y+" voramni",y+" voram"],d:["eka disan","ek dis"],dd:[y+" disamni",y+" dis"],M:["eka mhoinean","ek mhoino"],MM:[y+" mhoineamni",y+" mhoine"],y:["eka vorsan","ek voros"],yy:[y+" vorsamni",y+" vorsam"]};return M?k[T][0]:k[T][1]}o.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(y,v){return"D"===v?y+"er":y},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(y,v){return 12===y&&(y=0),"rati"===v?y<4?y:y+12:"sokallim"===v?y:"donparam"===v?y>12?y:y+12:"sanje"===v?y+12:void 0},meridiem:function(y,v,T){return y<4?"rati":y<12?"sokallim":y<16?"donparam":y<20?"sanje":"rati"}})}(d(7586))},6827(tn,Ye,d){!function(o){"use strict";var s={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},h={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};o.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%
1d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(v){return v.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u0ab0\u0abe\u0aa4"===T?v<4?v:v+12:"\u0ab8\u0ab5\u0abe\u0ab0"===T?v:"\u0aac\u0aaa\u0acb\u0ab0"===T?v>=10?v:v+12:"\u0ab8\u0abe\u0a82\u0a9c"===T?v+12:void 0},meridiem:function(v,T,M){return v<4?"\u0ab0\u0abe\u0aa4":v<10?"\u0ab8\u0ab5\u0abe\u0ab0":v<17?"\u0aac\u0aaa\u0acb\u0ab0":v<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(d(7586))},1936(tn,Ye,d){!function(o){"use strict";o.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u
105d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(h){return 2===h?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":h+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(h){return 2===h?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":h+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(h){return 2===h?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":h+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(h){return 2===h?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":h%10==0&&10!==h?h+" \u05e9\u05e0\u05d4":h+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(h){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(h)},meridiem:function(h,y,v){return h<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":h<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":h<12?v?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":h<18?v?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(d(7586))},1332(tn,Ye,d){!function(o){"use strict";var s={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},h={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},y=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];o.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u
10932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:y,longMonthsParse:y,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return h[k]})},postformat:function(M){return M.replace(/\d/g,function(k){return s[k]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(M,
vendor: 4,211 bytes, line 1
1k){return 12===M&&(M=0),"\u0930\u093e\u0924"===k?M<4?M:M+12:"\u0938\u0941\u092c\u0939"===k?M:"\u0926\u094b\u092a\u0939\u0930"===k?M>=10?M:M+12:"\u0936\u093e\u092e"===k?M+12:void 0},meridiem:function(M,k,H){return M<4?"\u0930\u093e\u0924":M<10?"\u0938\u0941\u092c\u0939":M<17?"\u0926\u094b\u092a\u0939\u0930":M<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(d(7586))},1957(tn,Ye,d){!function(o){"use strict";function s(y,v,T){var M=y+" ";switch(T){case"ss":return M+(1===y?"sekunda":2===y||3===y||4===y?"sekunde":"sekundi");case"m":return v?"jedna minuta":"jedne minute";case"mm":return M+(1===y?"minuta":2===y||3===y||4===y?"minute":"minuta");case"h":return v?"jedan sat":"jednog sata";case"hh":return M+(1===y?"sat":2===y||3===y||4===y?"sata":"sati");case"dd":return M+(1===y?"dan":"dana");case"MM":return M+(1===y?"mjesec":2===y||3===y||4===y?"mjeseca":"mjeseci");case"yy":return M+(1===y?"godina":2===y||3===y||4===y?"godine":"godina")}}o.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:s,m:s,mm:s,h:s,hh:s,d:"dan",dd:s,M:"mjesec",MM:s,y:"godinu",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},8928(tn,Ye,d){!function(o){"use strict";var s="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function h(T,M,k,H){var B=T;switch(k){case"s":return H||M?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return B+(H||M)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(H||M?" perc":" perce");case"mm":return B+(H||M?" perc":" perce");case"h":return"egy"+(H||M?" \xf3ra":" \xf3r\xe1ja");case"hh":return B+(H||M?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(H||M?" nap":" napja");case"dd":return B+(H||M?" nap":" napja");case"M":return"egy"+(H||M?" h\xf3nap":" h\xf3napja");case"MM":return B+(H||M?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(H||M?" \xe9v":" \xe9ve");case"yy":return B+(H||M?" \xe9v":" \xe9ve")}return""}function y(T){return(T?"":"[m\xfalt] ")+"["+s[this.day()]+"] LT[-kor]"}o.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(T){return"u"===T.charAt(1).toLowerCase()},meridiem:function(T,M,k){return T<12?!0===k?"de":"DE":!0===k?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return y.c
vendor: 9,816 bytes, line 1
1all(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return y.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},6215(tn,Ye,d){!function(o){"use strict";o.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(h){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(h)},meridiem:function(h){return h<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":h<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":h<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(h,y){switch(y){case"DDD":case"w":case"W":case"DDDo":return 1===h?h+"-\u056b\u0576":h+"-\u0580\u0564";default:return h}},week:{dow:1,doy:7}})}(d(7586))},586(tn,Ye,d){!function(o){"use strict";o.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(h,y){return 12===h&&(h=0),"pagi"===y?h:"siang"===y?h>=11?h:h+12:"sore"===y||"malam"===y?h+12:void 0},meridiem:function(h,y,v){return h<11?"pagi":h<15?"siang":h<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(d(7586))},211(tn,Ye,d){!function(o){"use strict";function s(v){return v%100==11||v%10!=1}function h(v,T,M,k){var H=v+" ";switch(M){case"s":return T||k?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return s(v)?H+(T||k?"sek\xfandur":"sek\xfandum"):H+"sek\xfanda";case"m":return T?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return s(v)?H+(T||k?"m\xedn\xfatur":"m\xedn\xfatum"):T?H+"m\xedn\xfata":H+"m\xedn\xfatu";case"hh":return s(v)?H+(T||k?"klukkustundir":"klukkustundum"):H+"klukkustund";case"d":return T?"dagur":k?"dag":"degi";case"dd":return s(v)?T?H+"dagar":H+(k?"daga":"d\xf6gum"):T?H+"dagur":H+(k?"dag":"degi");case"M":return T?"m\xe1nu\xf0ur":k?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return s(v)?T?H+"m\xe1nu\xf0ir":H+(k?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):T?H+"m\xe1nu\xf0ur":H+(k?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return T||k?"\xe1r":"\xe1ri";case"yy":return s(v)?H+(T||k?"\xe1r":"\xe1rum"):H+(T||k?"\xe1r":"\xe1ri")}}o.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:h,ss:h,m:h,mm:h,h:"klukkustund",hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},2340(tn,Ye,d){!function(o){"use strict";o.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(h){return(/^[0-9].+$/.test(h)?"tra":"in")+" "+h},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},170(tn,Ye,d){!function(o){"use strict";o.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
1d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},9770(tn,Ye,d){!function(o){"use strict";o.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(h,y){return"\u5143"===y[1]?1:parseInt(y[1]||h,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(h){return"\u5348\u5f8c"===h},meridiem:function(h,y,v){return h<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(h){return h.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(h){return this.week()!==h.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(h,y){switch(y){case"y":return 1===h?"\u5143\u5e74":h+"\u5e74";case"d":case"D":case"DDD":return h+"\u65e5";default:return h}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(d(7586))},3875(tn,Ye,d){!function(o){"use strict";o.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(h,y){return 12===h&&(h=0),"enjing"===y?h:"siyang"===y?h>=11?h:h+12:"sonten"===y||"ndalu"===y?h+12:void 0},meridiem:function(h,y,v){return h<11?"enjing":h<15?"siyang":h<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(d(7586))},9499(tn,Ye,d){!function(o){"use strict";o.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u
110d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(h){return h.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(y,v,T){return"\u10d8"===T?v+"\u10e8\u10d8":v+T+"\u10e8\u10d8"})},past:function(h){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(h)?h.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(h)?h.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):h},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(h){return 0===h?h:1===h?h+"-\u10da\u10d8":h<20||h<=100&&h%20==0||h%100==0?"\u10db\u10d4-"+h:h+"-\u10d4"},week:{dow:1,doy:7}})}(d(7586))},3573(tn,Ye,d){!function(o){"use strict";var s={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};o.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(y){return y+(s[y]||s[y%10]||s[y>=100?100:null])},week:{dow:1,doy:7}})}(d(7586))},8807(tn,Ye,d){!function(o){"use strict";var s={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},h={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};o.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u
117a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(v){return"\u179b\u17d2\u1784\u17b6\u1785"===v},meridiem:function(v,T,M){return v<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(v){return v.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},week:{dow:1,doy:4}})}(d(7586))},5082(tn,Ye,d){!function(o){"use strict";var s={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},h={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};o.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%
1d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(v){return v.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===T?v<4?v:v+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===T?v:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===T?v>=10?v:v+12:"\u0cb8\u0c82\u0c9c\u0cc6"===T?v+12:void 0},meridiem:function(v,T,M){return v<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":v<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":v<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":v<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(v){return v+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(d(7586))},137(tn,Ye,d){!function(o){"use strict";o.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(h,y){switch(y){case"d":case"D":case"DDD":return h+"\uc77c";case"M":return h+"\uc6d4";case"w":case"W":return h+"\uc8fc";default:return h}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(h){return"\uc624\ud6c4"===h},meridiem:function(h,y,v){return h<12?"\uc624\uc804":"\uc624\ud6c4"}})}(d(7586))},3744(tn,Ye,d){!function(o){"use strict";function s(v,T,M,k){var H={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[v+" san\xeeye",v+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[v+" deq\xeeqe",v+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[v+" saet",v+" saetan"],d:["rojek","rojek\xea"],dd:[v+" roj",v+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[v+" hefte",v+" hefteyan"],M:["mehek","mehek\xea"],MM:[v+" meh",v+" mehan"],y:["salek","salek\xea"],yy:[v+" sal",v+" salan"]};return T?H[M][0]:H[M][1]}o.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(v,T,M){return v<12?M?"bn":"BN":M?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"}
vendor: 11,495 bytes, line 1
1,relativeTime:{future:"di %s de",past:"ber\xee %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,w:s,ww:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(v,T){var M=T.toLowerCase();return M.includes("w")||M.includes("m")?v+".":v+function h(v){var T=(v=""+v).substring(v.length-1),M=v.length>1?v.substring(v.length-2):"";return 12==M||13==M||"2"!=T&&"3"!=T&&"50"!=M&&"70"!=T&&"80"!=T?"\xea":"y\xea"}(v)},week:{dow:1,doy:4}})}(d(7586))},111(tn,Ye,d){!function(o){"use strict";var s={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},h={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},y=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];o.defineLocale("ku",{months:y,monthsShort:y,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(T){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(T)},meridiem:function(T,M,k){return T<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(T){return T.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return h[M]}).replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(M){return s[M]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(d(7586))},9187(tn,Ye,d){!function(o){"use strict";var s={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};o.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(y){return y+(s[y]||s[y%10]||s[y>=100?100:null])},week:{dow:1,doy:7}})}(d(7586))},5969(tn,Ye,d){!function(o){"use strict";function s(M,k,H,B){var x={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return k?x[H][0]:x[H][1]}function v(M){if(M=parseInt(M,10),isNaN(M))return!1;if(M<0)return!0;if(M<10)return 4<=M&&M<=7;if(M<100){var k=M%10;return v(0===k?M/10:k)}if(M<1e4){for(;M>=10;)M/=10;return v(M)}return v(M/=1e3)}o.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function h(M){return v(M.substr(0,M.indexOf(" ")))?"a "+M:"an "+M},past:function y(M){return v(M.substr(0,M.indexOf(" ")))?"viru "+M:"virun "+M},s:"e puer Sekonnen",ss:"%d Sekonnen",m:s,mm:"%d Minutten",h:s,hh:"%d Stonnen",d:s,dd:"%d Deeg",M:s,MM:"%d M\xe9int",y:s,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},3526(tn,Ye,d){!function(o){"use strict";o.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(h){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===h},meridiem:function(h,y,v){return h<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%
1d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(h){return"\u0e97\u0eb5\u0ec8"+h}})}(d(7586))},411(tn,Ye,d){!function(o){"use strict";var s={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function y(H,B,x,ye){return B?T(x)[0]:ye?T(x)[1]:T(x)[2]}function v(H){return H%10==0||H>10&&H<20}function T(H){return s[H].split("_")}function M(H,B,x,ye){var He=H+" ";return 1===H?He+y(0,B,x[0],ye):B?He+(v(H)?T(x)[1]:T(x)[0]):ye?He+T(x)[1]:He+(v(H)?T(x)[1]:T(x)[2])}o.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function h(H,B,x,ye){return B?"kelios sekund\u0117s":ye?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:M,m:y,mm:M,h:y,hh:M,d:y,dd:M,M:y,MM:M,y,yy:M},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(H){return H+"-oji"},week:{dow:1,doy:4}})}(d(7586))},2621(tn,Ye,d){!function(o){"use strict";var s={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function h(k,H,B){return B?H%10==1&&H%100!=11?k[2]:k[3]:H%10==1&&H%100!=11?k[0]:k[1]}function y(k,H,B){return k+" "+h(s[B],k,H)}function v(k,H,B){return h(s[B],k,H)}o.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function T(k,H){return H?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:y,m:v,mm:y,h:v,hh:y,d:v,dd:y,M:v,MM:y,y:v,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},5869(tn,Ye,d){!function(o){"use strict";var s={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(y,v){return 1===y?v[0]:y>=2&&y<=4?v[1]:v[2]},translate:function(y,v,T){var M=s.words[T];return 1===T.length?v?M[0]:M[1]:y+" "+s.correctGrammaticalCase(y,M)}};o.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:s.translate,m:s.translate,mm:s.translate,h:s.translate,hh:s.translate,d:"dan",dd:s.translate,M:"mjesec",MM:s.translate,y:"godinu",yy:s.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},5881(tn,Ye,d){!function(o){"use strict";o.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%
1d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},2391(tn,Ye,d){!function(o){"use strict";o.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(h){var y=h%10,v=h%100;return 0===h?h+"-\u0435\u0432":0===v?h+"-\u0435\u043d":v>10&&v<20?h+"-\u0442\u0438":1===y?h+"-\u0432\u0438":2===y?h+"-\u0440\u0438":7===y||8===y?h+"-\u043c\u0438":h+"-\u0442\u0438"},week:{dow:1,doy:7}})}(d(7586))},1126(tn,Ye,d){!function(o){"use strict";o.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%
1d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(h,y){return 12===h&&(h=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===y&&h>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===y||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===y?h+12:h},meridiem:function(h,y,v){return h<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":h<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":h<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":h<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(d(7586))},4892(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){switch(T){case"s":return v?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return y+(v?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return y+(v?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return y+(v?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return y+(v?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return y+(v?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return y+(v?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return y}}o.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(y){return"\u04ae\u0425"===y}
vendor: 10,271 bytes, line 1
1,meridiem:function(y,v,T){return y<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(y,v){switch(v){case"d":case"D":case"DDD":return y+" \u04e9\u0434\u04e9\u0440";default:return y}}})}(d(7586))},9080(tn,Ye,d){!function(o){"use strict";var s={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},h={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function y(T,M,k,H){var B="";if(M)switch(k){case"s":B="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":B="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":B="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":B="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":B="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":B="%d \u0924\u093e\u0938";break;case"d":B="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":B="%d \u0926\u093f\u0935\u0938";break;case"M":B="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":B="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":B="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":B="%d \u0935\u0930\u094d\u0937\u0947"}else switch(k){case"s":B="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":B="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":B="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":B="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":B="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":B="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":B="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":B="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":B="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":B="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":B="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":B="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return B.replace(/%d/i,T)}o.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},preparse:function(T){return T.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return h[M]})},postformat:function(T){return T.replace(/\d/g,function(M){return s[M]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(T,M){return 12===T&&(T=0),"\u092a\u0939\u093e\u091f\u0947"===M||"\u0938\u0915\u093e\u0933\u0940"===M?T:"\u0926\u0941\u092a\u093e\u0930\u0940"===M||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===M||"\u0930\u093e\u0924\u094d\u0930\u0940"===M?T>=12?T:T+12:void 0},meridiem:function(T,M,k){return T>=0&&T<6?"\u092a\u0939\u093e\u091f\u0947":T<12?"\u0938\u0915\u093e\u0933\u0940":T<17?"\u0926\u0941\u092a\u093e\u0930\u0940":T<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(d(7586))},5950(tn,Ye,d){!function(o){"use strict";o.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(h,y){return 12===h&&(h=0),"pagi"===y?h:"tengahari"===y?h>=11?h:h+12:"petang"===y||"malam"===y?h+12:void 0},meridiem:function(h,y,v){return h<11?"pagi":h<15?"tengahari":h<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(d(7586))},399(tn,Ye,d){!function(o){"use strict";o.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(h,y){return 12===h&&(h=0),"pagi"===y?h:"tengahari"===y?h>=11?h:h+12:"petang"===y||"malam"===y?h+12:void 0},meridiem:function(h,y,v){return h<11?"pagi":h<15?"tengahari":h<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(d(7586))},9902(tn,Ye,d){!function(o){"use strict";o.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},2985(tn,Ye,d){!function(o){"use strict";var s={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},h={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};o.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u
11010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(v){return v.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},week:{dow:1,doy:4}})}(d(7586))},7859(tn,Ye,d){!function(o){"use strict";o.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},3642(tn,Ye,d){!function(o){"use strict";var s={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},h={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};o.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(v){return v.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u0930\u093e\u0924\u093f"===T?v<4?v:v+12:"\u092c\u093f\u0939\u093e\u0928"===T?v:"\u0926\u093f\u0909\u0901\u0938\u094b"===T?v>=10?v:v+12:"\u0938\u093e\u0901\u091d"===T?v+12:void 0},meridiem:function(v,T,M){return v<3?"\u0930\u093e\u0924\u093f":v<12?"\u092c\u093f\u0939\u093e\u0928":v<16?"\u0926\u093f\u0909\u0901\u0938\u094b":v<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(d(7586))},9875(tn,Ye,d){!function(o){"use strict";var s="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),h="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),y=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],v=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;o.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(M,
vendor: 5,464 bytes, line 1
1k){return M?/-MMM-/.test(k)?h[M.month()]:s[M.month()]:s},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(M){return M+(1===M||8===M||M>=20?"ste":"de")},week:{dow:1,doy:4}})}(d(7586))},5441(tn,Ye,d){!function(o){"use strict";var s="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),h="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),y=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],v=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;o.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(M,k){return M?/-MMM-/.test(k)?h[M.month()]:s[M.month()]:s},monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(M){return M+(1===M||8===M||M>=20?"ste":"de")},week:{dow:1,doy:4}})}(d(7586))},1311(tn,Ye,d){!function(o){"use strict";o.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},2567(tn,Ye,d){!function(o){"use strict";o.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%
1d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(h,y){var v=1===h?"r":2===h?"n":3===h?"r":4===h?"t":"\xe8";return("w"===y||"W"===y)&&(v="a"),h+v},week:{dow:1,doy:4}})}(d(7586))},6962(tn,Ye,d){!function(o){"use strict";var s={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},h={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};o.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(v){return v.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(v,T){return 12===v&&(v=0),"\u0a30\u0a3e\u0a24"===T?v<4?v:v+12:"\u0a38\u0a35\u0a47\u0a30"===T?v:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===T?v>=10?v:v+12:"\u0a38\u0a3c\u0a3e\u0a2e"===T?v+12:void 0}
vendor: 4,741 bytes, line 1
1,meridiem:function(v,T,M){return v<4?"\u0a30\u0a3e\u0a24":v<10?"\u0a38\u0a35\u0a47\u0a30":v<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":v<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(d(7586))},1063(tn,Ye,d){!function(o){"use strict";var s="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),h="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),y=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function v(k){return k%10<5&&k%10>1&&~~(k/10)%10!=1}function T(k,H,B){var x=k+" ";switch(B){case"ss":return x+(v(k)?"sekundy":"sekund");case"m":return H?"minuta":"minut\u0119";case"mm":return x+(v(k)?"minuty":"minut");case"h":return H?"godzina":"godzin\u0119";case"hh":return x+(v(k)?"godziny":"godzin");case"ww":return x+(v(k)?"tygodnie":"tygodni");case"MM":return x+(v(k)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return x+(v(k)?"lata":"lat")}}o.defineLocale("pl",{months:function(k,H){return k?/D MMMM/.test(H)?h[k.month()]:s[k.month()]:s},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:y,longMonthsParse:y,shortMonthsParse:y,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:T,m:T,mm:T,h:T,hh:T,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:T,M:"miesi\u0105c",MM:T,y:"rok",yy:T},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},7476(tn,Ye,d){!function(o){"use strict";o.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(d(7586))},8719(tn,Ye,d){!function(o){"use strict";o.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%
1d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(d(7586))},1004(tn,Ye,d){!function(o){"use strict";function s(y,v,T){var k=" ";return(y%100>=20||y>=100&&y%100==0)&&(k=" de "),y+k+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[T]}o.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:s,m:"un minut",mm:s,h:"o or\u0103",hh:s,d:"o zi",dd:s,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:s,M:"o lun\u0103",MM:s,y:"un an",yy:s},week:{dow:1,doy:7}})}(d(7586))},1326(tn,Ye,d){!function(o){"use strict";function h(T,M,k){return"m"===k?M?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":T+" "+function s(T,M){var k=T.split("_");return M%10==1&&M%100!=11?k[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?k[1]:k[2]}({ss:M?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:M?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[k],+T)}var y=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];o.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:y,longMonthsParse:y,shortMonthsParse:y,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u
vendor: 8,707 bytes, line 1
1043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(T){if(T.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(T){if(T.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:h,m:h,mm:h,h:"\u0447\u0430\u0441",hh:h,d:"\u0434\u0435\u043d\u044c",dd:h,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:h,M:"\u043c\u0435\u0441\u044f\u0446",MM:h,y:"\u0433\u043e\u0434",yy:h},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(T){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(T)},meridiem:function(T,M,k){return T<4?"\u043d\u043e\u0447\u0438":T<12?"\u0443\u0442\u0440\u0430":T<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(T,M){switch(M){case"M":case"d":case"DDD":return T+"-\u0439";case"D":return T+"-\u0433\u043e";case"w":case"W":return T+"-\u044f";default:return T}},week:{dow:1,doy:4}})}(d(7586))},2608(tn,Ye,d){!function(o){"use strict";var s=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],h=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];o.defineLocale("sd",{months:s,monthsShort:s,weekdays:h,weekdaysShort:h,weekdaysMin:h,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,T,M){return v<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(d(7586))},3911(tn,Ye,d){!function(o){"use strict";o.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},5147(tn,Ye,d){!function(o){"use strict";o.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(h){return h+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(h){return"\u0db4.\u0dc0."===h||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===h},meridiem:function(h,y,v){return h>
vendor: 13,348 bytes, line 1
111?v?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":v?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(d(7586))},3741(tn,Ye,d){!function(o){"use strict";var s="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),h="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function y(M){return M>1&&M<5}function v(M,k,H,B){var x=M+" ";switch(H){case"s":return k||B?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return k||B?x+(y(M)?"sekundy":"sek\xfand"):x+"sekundami";case"m":return k?"min\xfata":B?"min\xfatu":"min\xfatou";case"mm":return k||B?x+(y(M)?"min\xfaty":"min\xfat"):x+"min\xfatami";case"h":return k?"hodina":B?"hodinu":"hodinou";case"hh":return k||B?x+(y(M)?"hodiny":"hod\xedn"):x+"hodinami";case"d":return k||B?"de\u0148":"d\u0148om";case"dd":return k||B?x+(y(M)?"dni":"dn\xed"):x+"d\u0148ami";case"M":return k||B?"mesiac":"mesiacom";case"MM":return k||B?x+(y(M)?"mesiace":"mesiacov"):x+"mesiacmi";case"y":return k||B?"rok":"rokom";case"yy":return k||B?x+(y(M)?"roky":"rokov"):x+"rokmi"}}o.defineLocale("sk",{months:s,monthsShort:h,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},3e3(tn,Ye,d){!function(o){"use strict";function s(y,v,T,M){var k=y+" ";switch(T){case"s":return v||M?"nekaj sekund":"nekaj sekundami";case"ss":return k+(1===y?v?"sekundo":"sekundi":2===y?v||M?"sekundi":"sekundah":y<5?v||M?"sekunde":"sekundah":"sekund");case"m":return v?"ena minuta":"eno minuto";case"mm":return k+(1===y?v?"minuta":"minuto":2===y?v||M?"minuti":"minutama":y<5?v||M?"minute":"minutami":v||M?"minut":"minutami");case"h":return v?"ena ura":"eno uro";case"hh":return k+(1===y?v?"ura":"uro":2===y?v||M?"uri":"urama":y<5?v||M?"ure":"urami":v||M?"ur":"urami");case"d":return v||M?"en dan":"enim dnem";case"dd":return k+(1===y?v||M?"dan":"dnem":2===y?v||M?"dni":"dnevoma":v||M?"dni":"dnevi");case"M":return v||M?"en mesec":"enim mesecem";case"MM":return k+(1===y?v||M?"mesec":"mesecem":2===y?v||M?"meseca":"mesecema":y<5?v||M?"mesece":"meseci":v||M?"mesecev":"meseci");case"y":return v||M?"eno leto":"enim letom";case"yy":return k+(1===y?v||M?"leto":"letom":2===y?v||M?"leti":"letoma":y<5?v||M?"leta":"leti":v||M?"let":"leti")}}o.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},451(tn,Ye,d){!function(o){"use strict";o.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(h){return"M"===h.charAt(0)},meridiem:function(h,y,v){return h<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},905(tn,Ye,d){!function(o){"use strict";var s={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(y,v){return y%10>=1&&y%10<=4&&(y%100<10||y%100>=20)?y%10==1?v[0]:v[1]:v[2]},translate:function(y,v,T,M){var H,k=s.words[T];return 1===T.length?"y"===T&&v?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":M||v?k[0]:k[1]:(H=s.correctGrammaticalCase(y,k),"yy"===T&&v&&"\u0433\u043e\u0434\u0438\u043d\u0443"===H?y+" \u0433\u043e\u0434\u0438\u043d\u0430":y+" "+H)}};o.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:s.translate,m:s.translate,mm:s.translate,h:s.translate,hh:s.translate,d:s.translate,dd:s.translate,M:s.translate,MM:s.translate,y:s.translate,yy:s.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},2665(tn,Ye,d){!function(o){"use strict";var s={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(y,v){return y%10>=1&&y%10<=4&&(y%100<10||y%100>=20)?y%10==1?v[0]:v[1]:v[2]},translate:function(y,v,T,M){var H,k=s.words[T];return 1===T.length?"y"===T&&v?"jedna godina":M||v?k[0]:k[1]:(H=s.correctGrammaticalCase(y,k),"yy"===T&&v&&"godinu"===H?y+" godina":y+" "+H)}};o.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:s.translate,m:s.translate,mm:s.translate,h:s.translate,hh:s.translate,d:s.translate,dd:s.translate,M:s.translate,MM:s.translate,y:s.translate,yy:s.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(d(7586))},5765(tn,Ye,d){!function(o){"use strict";o.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LT
vendor: 6,541 bytes, line 1
1S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(h,y,v){return h<11?"ekuseni":h<15?"emini":h<19?"entsambama":"ebusuku"},meridiemHour:function(h,y){return 12===h&&(h=0),"ekuseni"===y?h:"emini"===y?h>=11?h:h+12:"entsambama"===y||"ebusuku"===y?0===h?0:h+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(d(7586))},9290(tn,Ye,d){!function(o){"use strict";o.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?":e":1===y||2===y?":a":":e")},week:{dow:1,doy:4}})}(d(7586))},3449(tn,Ye,d){!function(o){"use strict";o.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(d(7586))},2688(tn,Ye,d){!function(o){"use strict";var s={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},h={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};o.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}
vendor: 19,652 bytes, line 1
1\u0bb5\u0ba4\u0bc1/,ordinal:function(v){return v+"\u0bb5\u0ba4\u0bc1"},preparse:function(v){return v.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(T){return h[T]})},postformat:function(v){return v.replace(/\d/g,function(T){return s[T]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(v,T,M){return v<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":v<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":v<10?" \u0b95\u0bbe\u0bb2\u0bc8":v<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":v<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":v<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(v,T){return 12===v&&(v=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===T?v<2?v:v+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===T||"\u0b95\u0bbe\u0bb2\u0bc8"===T||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===T&&v>=10?v:v+12},week:{dow:0,doy:6}})}(d(7586))},2060(tn,Ye,d){!function(o){"use strict";o.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(h,y){return 12===h&&(h=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===y?h<4?h:h+12:"\u0c09\u0c26\u0c2f\u0c02"===y?h:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===y?h>=10?h:h+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===y?h+12:void 0},meridiem:function(h,y,v){return h<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":h<10?"\u0c09\u0c26\u0c2f\u0c02":h<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":h<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(d(7586))},3290(tn,Ye,d){!function(o){"use strict";o.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(d(7586))},8294(tn,Ye,d){!function(o){"use strict";var s={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};o.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(y,v){return 12===y&&(y=0),"\u0448\u0430\u0431"===v?y<4?y:y+12:"\u0441\u0443\u0431\u04b3"===v?y:"\u0440\u04ef\u0437"===v?y>=11?y:y+12:"\u0431\u0435\u0433\u043e\u04b3"===v?y+12:void 0},meridiem:function(y,v,T){return y<4?"\u0448\u0430\u0431":y<11?"\u0441\u0443\u0431\u04b3":y<16?"\u0440\u04ef\u0437":y<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(y){return y+(s[y]||s[y%10]||s[y>=100?100:null])},week:{dow:1,doy:7}})}(d(7586))},1231(tn,Ye,d){!function(o){"use strict";o.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(h){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===h},meridiem:function(h,y,v){return h<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(d(7586))},1365(tn,Ye,d){!function(o){"use strict";var s={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};o.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(y,v){switch(v){case"d":case"D":case"Do":case"DD":return y;default:if(0===y)return y+"'unjy";var T=y%10;return y+(s[T]||s[y%100-T]||s[y>=100?100:null])}},week:{dow:1,doy:7}})}(d(7586))},9040(tn,Ye,d){!function(o){"use strict";o.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(h){return h},week:{dow:1,doy:4}})}(d(7586))},7187(tn,Ye,d){!function(o){"use strict";var s="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function v(k,H,B,x){var ye=function T(k){var H=Math.floor(k%1e3/100),B=Math.floor(k%100/10),x=k%10,ye="";return H>0&&(ye+=s[H]+"vatlh"),B>0&&(ye+=(""!==ye?" ":"")+s[B]+"maH"),x>0&&(ye+=(""!==ye?" ":"")+s[x]),""===ye?"pagh":ye}(k);switch(B){case"ss":return ye+" lup";case"mm":return ye+" tup";case"hh":return ye+" rep";case"dd":return ye+" jaj";case"MM":return ye+" jar";case"yy":return ye+" DIS"}}o.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function h(k){var H=k;return-1!==k.indexOf("jaj")?H.slice(0,-3)+"leS":-1!==k.indexOf("jar")?H.slice(0,-3)+"waQ":-1!==k.indexOf("DIS")?H.slice(0,-3)+"nem":H+" pIq"},past:function y(k){var H=k;return-1!==k.indexOf("jaj")?H.slice(0,-3)+"Hu\u2019":-1!==k.indexOf("jar")?H.slice(0,-3)+"wen":-1!==k.indexOf("DIS")?H.slice(0,-3)+"ben":H+" ret"},s:"puS lup",ss:v,m:"wa\u2019 tup",mm:v,h:"wa\u2019 rep",hh:v,d:"wa\u2019 jaj",dd:v,M:"wa\u2019 jar",MM:v,y:"wa\u2019 DIS",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},153(tn,Ye,d){!function(o){"use strict";var s={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};o.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(y,v,T){return y<12?T?"\xf6\xf6":"\xd6\xd6":T?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(y){return"\xf6s"===y||"\xd6S"===y},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(y,v){switch(v){case"d":case"D":case"Do":case"DD":return y;default:if(0===y)return y+"'\u0131nc\u0131";var T=y%10;return y+(s[T]||s[y%100-T]||s[y>=100?100:null])}},week:{dow:1,doy:7}})}(d(7586))},8521(tn,Ye,d){!function(o){"use strict";function h(y,v,T,M){var k={s:["viensas secunds","'iensas secunds"],ss:[y+" secunds",y+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[y+" m\xeduts",y+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[y+" \xfeoras",y+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[y+" ziuas",y+" ziuas"],M:["'n mes","'iens mes"],MM:[y+" mesen",y+" mesen"],y:["'n ar","'iens ar"],yy:[y+" ars",y+" ars"]};return M||v?k[T][0]:k[T][1]}o.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4t
1s_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(y){return"d'o"===y.toLowerCase()},meridiem:function(y,v,T){return y>11?T?"d'o":"D'O":T?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(d(7586))},2234(tn,Ye,d){!function(o){"use strict";o.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4
1wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(d(7586))},5629(tn,Ye,d){!function(o){"use strict";o.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(d(7586))},3349(tn,Ye,d){!function(o){"use strict";o.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(h,y){return 12===h&&(h=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===y||"\u0633\u06d5\u06be\u06d5\u0631"===y||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===y?h:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===y||"\u0643\u06d5\u0686"===y?h+12:h>=11?h:h+12},meridiem:function(h,y,v){var T=100*h+y;return T<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":T<900?"\u0633\u06d5\u06be\u06d5\u0631":T<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":T<1230?"\u0686\u06c8\u0634":T<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%
1d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(h,y){switch(y){case"d":case"D":case"DDD":return h+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return h+"-\u06be\u06d5\u067e\u062a\u06d5";default:return h}},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(d(7586))},8479(tn,Ye,d){!function(o){"use strict";function h(M,k,H){return"m"===H?k?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===H?k?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":M+" "+function s(M,k){var H=M.split("_");return k%10==1&&k%100!=11?H[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?H[1]:H[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:k?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[H],+M)}function v(M){return function(){return M+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}o.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function y(M,k){var H={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===M?H.nominative.slice(1,7).concat(H.nominative.slice(0,1)):M?H[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(k)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(k)?"genitive":"nominative"][M.day()]:H.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:v("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:v("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:v("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:v("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case
vendor: 10,889 bytes, line 1
16:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return v("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:h,m:h,mm:h,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:h,d:"\u0434\u0435\u043d\u044c",dd:h,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:h,y:"\u0440\u0456\u043a",yy:h},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(M)},meridiem:function(M,k,H){return M<4?"\u043d\u043e\u0447\u0456":M<12?"\u0440\u0430\u043d\u043a\u0443":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(M,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return M+"-\u0439";case"D":return M+"-\u0433\u043e";default:return M}},week:{dow:1,doy:7}})}(d(7586))},3024(tn,Ye,d){!function(o){"use strict";var s=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],h=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];o.defineLocale("ur",{months:s,monthsShort:s,weekdays:h,weekdaysShort:h,weekdaysMin:h,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(v){return"\u0634\u0627\u0645"===v},meridiem:function(v,T,M){return v<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(d(7586))},2376(tn,Ye,d){!function(o){"use strict";o.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(d(7586))},9800(tn,Ye,d){!function(o){"use strict";o.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(d(7586))},9366(tn,Ye,d){!function(o){"use strict";o.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(h){return/^ch$/i.test(h)},meridiem:function(h,y,v){return h<12?v?"sa":"SA":v?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(h){return h},week:{dow:1,doy:4}})}(d(7586))},9702(tn,Ye,d){!function(o){"use strict";o.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(h){var y=h%10;return h+(1==~~(h%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")},week:{dow:1,doy:4}})}(d(7586))},2655(tn,Ye,d){!function(o){"use strict";o.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u
11eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(d(7586))},575(tn,Ye,d){!function(o){"use strict";o.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(h,y){return 12===h&&(h=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?h:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?h+12:h>=11?h:h+12},meridiem:function(h,y,v){var T=100*h+y;return T<600?"\u51cc\u6668":T<900?"\u65e9\u4e0a":T<1130?"\u4e0a\u5348":T<1230?"\u4e2d\u5348":T<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(h){return h.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(h){return this.week()!==h.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(h,y){switch(y){case"d":case"D":case"DDD":return h+"\u65e5";case"M":return h+"\u6708";case"w":case"W":return h+"\u5468";default:return h}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(d(7586))},8351(tn,Ye,d){!function(o){"use strict";o.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(h,y){return 12===h&&(h=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?h:"\u4e2d\u5348"===y?h>=11?h:h+12:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?h+12:void 0},meridiem:function(h,y,v){var T=100*h+y;return T<600?"\u51cc\u6668":T<900?"\u65e9\u4e0a":T<1200?"\u4e0a\u5348":1200===T?"\u4e2d\u5348":T<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(h,y){switch(y){case"d":case"D":case"DDD":return h+"\u65e5";case"M":return h+"\u6708";case"w":case"W":return h+"\u9031";default:return h}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(d(7586))},1626(tn,Ye,d){!function(o){"use strict";o.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(h,y){return 12===h&&(h=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?h:"\u4e2d\u5348"===y?h>=11?h:h+12:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?h+12:void 0},meridiem:function(h,y,v){var T=100*h+y;return T<600?"\u51cc\u6668":T<900?"\u65e9\u4e0a":T<1130?"\u4e0a\u5348":T<1230?"\u4e2d\u5348":T<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(h,y){switch(y){case"d":case"D":case"DDD":return h+"\u65e5";case"M":return h+"\u6708";case"w":case"W":return h+"\u9031";default:return h}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(d(7586))},8887(tn,Ye,d){!function(o){"use strict";o.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(h,y){return 12===h&&(h=0),"\u51cc\u6668"===y||"\u65e9\u4e0a"===y||"\u4e0a\u5348"===y?h:"\u4e2d\u5348"===y?h>=11?h:h+12:"\u4e0b\u5348"===y||"\u665a\u4e0a"===y?h+12:void 0},meridiem:function(h,y,v){var T=100*h+y;return T<600?"\u51cc\u6668":T<900?"\u65e9\u4e0a":T<1130?"\u4e0a\u5348":T<1230?"\u4e2d\u5348":T<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(h,y){switch(y){case"d":case"D":case"DDD":return h+"\u65e5";case"M":return h+"\u6708";case"w":case"W":return h+"\u9031";default:return h}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(d(7586))},7586(tn,Ye,d){(tn=d.nmd(tn)).exports=function(){"use strict";var o,Qe;function s(){return o.apply(null,arguments)}function y(P){return P instanceof Array||"[object Array]"===Object.prototype.toString.call(P)}
vendor: 41,929 bytes, line 1
1function v(P){return null!=P&&"[object Object]"===Object.prototype.toString.call(P)}function T(P,J){return Object.prototype.hasOwnProperty.call(P,J)}function M(P){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(P).length;var J;for(J in P)if(T(P,J))return!1;return!0}function k(P){return void 0===P}function H(P){return"number"==typeof P||"[object Number]"===Object.prototype.toString.call(P)}function B(P){return P instanceof Date||"[object Date]"===Object.prototype.toString.call(P)}function x(P,J){var mt,Be=[],nn=P.length;for(mt=0;mt<nn;++mt)Be.push(J(P[mt],mt));return Be}function ye(P,J){for(var Be in J)T(J,Be)&&(P[Be]=J[Be]);return T(J,"toString")&&(P.toString=J.toString),T(J,"valueOf")&&(P.valueOf=J.valueOf),P}function He(P,J,Be,mt){return xa(P,J,Be,mt,!0).utc()}function Ge(P){return null==P._pf&&(P._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),P._pf}function Xe(P){var J=null,Be=!1,mt=P._d&&!isNaN(P._d.getTime());return mt&&(J=Ge(P),Be=Qe.call(J.parsedDateParts,function(nn){return null!=nn}),mt=J.overflow<0&&!J.empty&&!J.invalidEra&&!J.invalidMonth&&!J.invalidWeekday&&!J.weekdayMismatch&&!J.nullInput&&!J.invalidFormat&&!J.userInvalidated&&(!J.meridiem||J.meridiem&&Be),P._strict&&(mt=mt&&0===J.charsLeftOver&&0===J.unusedTokens.length&&void 0===J.bigHour)),null!=Object.isFrozen&&Object.isFrozen(P)?mt:(P._isValid=mt,P._isValid)}function ze(P){var J=He(NaN);return null!=P?ye(Ge(J),P):Ge(J).userInvalidated=!0,J}Qe=Array.prototype.some?Array.prototype.some:function(P){var mt,J=Object(this),Be=J.length>>>0;for(mt=0;mt<Be;mt++)if(mt in J&&P.call(this,J[mt],mt,J))return!0;return!1};var Le=s.momentProperties=[],ge=!1;function ue(P,J){var Be,mt,nn,qn=Le.length;if(k(J._isAMomentObject)||(P._isAMomentObject=J._isAMomentObject),k(J._i)||(P._i=J._i),k(J._f)||(P._f=J._f),k(J._l)||(P._l=J._l),k(J._strict)||(P._strict=J._strict),k(J._tzm)||(P._tzm=J._tzm),k(J._isUTC)||(P._isUTC=J._isUTC),k(J._offset)||(P._offset=J._offset),k(J._pf)||(P._pf=Ge(J)),k(J._locale)||(P._locale=J._locale),qn>0)for(Be=0;Be<qn;Be++)k(nn=J[mt=Le[Be]])||(P[mt]=nn);return P}function kt(P){ue(this,P),this._d=new Date(null!=P._d?P._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ge&&(ge=!0,s.updateOffset(this),ge=!1)}function Je(P){return P instanceof kt||null!=P&&null!=P._isAMomentObject}function Ke(P){!1===s.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+P)}function $e(P,J){var Be=!0;return ye(function(){if(null!=s.deprecationHandler&&s.deprecationHandler(null,P),Be){var nn,qn,Xi,mt=[],Jr=arguments.length;for(qn=0;qn<Jr;qn++){if(nn="","object"==typeof arguments[qn]){for(Xi in nn+="\n["+qn+"] ",arguments[0])T(arguments[0],Xi)&&(nn+=Xi+": "+arguments[0][Xi]+", ");nn=nn.slice(0,-2)}else nn=arguments[qn];mt.push(nn)}Ke(P+"\nArguments: "+Array.prototype.slice.call(mt).join("")+"\n"+(new Error).stack),Be=!1}return J.apply(this,arguments)},J)}var ve,lt={};function q(P,J){null!=s.deprecationHandler&&s.deprecationHandler(P,J),lt[P]||(Ke(J),lt[P]=!0)}function de(P){return typeof Function<"u"&&P instanceof Function||"[object Function]"===Object.prototype.toString.call(P)}function he(P,J){var mt,Be=ye({},P);for(mt in J)T(J,mt)&&(v(P[mt])&&v(J[mt])?(Be[mt]={},ye(Be[mt],P[mt]),ye(Be[mt],J[mt])):null!=J[mt]?Be[mt]=J[mt]:delete Be[mt]);for(mt in P)T(P,mt)&&!T(J,mt)&&v(P[mt])&&(Be[mt]=ye({},Be[mt]));return Be}function Ne(P){null!=P&&this.set(P)}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,ve=Object.keys?Object.keys:function(P){var J,Be=[];for(J in P)T(P,J)&&Be.push(J);return Be};function nt(P,J,Be){var mt=""+Math.abs(P);return(P>=0?Be?"+":"":"-")+Math.pow(10,Math.max(0,J-mt.length)).toString().substr(1)+mt}var cn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,hn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qt={},Te={};function Pe(P,J,Be,mt){var nn=mt;"string"==typeof mt&&(nn=function(){return this[mt]()}),P&&(Te[P]=nn),J&&(Te[J[0]]=function(){return nt(nn.apply(this,arguments),J[1],J[2])}),Be&&(Te[Be]=function(){return this.localeData().ordinal(nn.apply(this,arguments),P)})}function yt(P){return P.match(/\[[\s\S]/)?P.replace(/^\[|\]$/g,""):P.replace(/\\/g,"")}function Ie(P,J){return P.isValid()?(J=ie(J,P.localeData()),qt[J]=qt[J]||function wt(P){var Be,mt,J=P.match(cn);for(Be=0,mt=J.length;Be<mt;Be++)J[Be]=Te[J[Be]]?Te[J[Be]]:yt(J[Be]);return function(nn){var Xi,qn="";for(Xi=0;Xi<mt;Xi++)qn+=de(J[Xi])?J[Xi].call(nn,P):J[Xi];return qn}}(J),qt[J](P)):P.localeData().invalidDate()}function ie(P,J){var Be=5;function mt(nn){return J.longDateFormat(nn)||nn}for(hn.lastIndex=0;Be>=0&&hn.test(P);)P=P.replace(hn,mt),hn.lastIndex=0,Be-=1;return P}var mr={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Bn(P){return"string"==typeof P?mr[P]||mr[P.toLowerCase()]:void 0}function Oi(P){var Be,mt,J={};for(mt in P)T(P,mt)&&(Be=Bn(mt))&&(J[Be]=P[mt]);return J}var dn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var Ce,Yn=/\d/,_=/\d\d/,Qn=/\d{3}/,di=/\d{4}/,ai=/[+-]?\d{6}/,pi=/\d\d?/,Vi=/\d\d\d\d?/,ii=/\d\d\d\d\d\d?/,rr=/\d{1,3}/,Sn=/\d{1,4}/,ci=/[+-]?\d{1,6}/,Un=/\d+/,fr=/[+-]?\d+/,Vt=/Z|[+-]\d\d:?\d\d/gi,un=/Z|[+-]\d\d(?::?\d\d)?/gi,xe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,z=/^[1-9]\d?/,Ee=/^([1-9]\d|\d)/;function Ue(P,J,Be){Ce[P]=de(J)?J:function(mt,nn){return mt&&Be?Be:J}}function Tt(P,J){return T(Ce,P)?Ce[P](J._strict,J._locale):new RegExp(function fe(P){return we(P.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(J,Be,mt,nn,qn){return Be||mt||nn||qn}))}(P))}function we(P){return P.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _e(P){return P<0?Math.ceil(P)||0:Math.floor(P)}function L(P){var J=+P,Be=0;return 0!==J&&isFinite(J)&&(Be=_e(J)),Be}Ce={};var j={};function X(P,J){var Be,nn,mt=J;for("string"==typeof P&&(P=[P]),H(J)&&(mt=function(qn,Xi){Xi[J]=L(qn)}),nn=P.length,Be=0;Be<nn;Be++)j[P[Be]]=mt}function qe(P,J){X(P,function(Be,mt,nn,qn){nn._w=nn._w||{},J(Be,nn._w,nn,qn)})}function Yt(P,J,Be){null!=J&&T(j,P)&&j[P](J,Be._a,Be,P)}function On(P){return P%4==0&&P%100!=0||P%400==0}var wi=0,Qi=1,Tr=2,Er=3,_n=4,an=5,Pt=6,ke=7,De=8;function _t(P){return On(P)?366:365}Pe("Y",0,0,function(){var P=this.year();return P<=9999?nt(P,4):"+"+P}),Pe(0,["YY",2],0,function(){return this.year()%100}),Pe(0,["YYYY",4],0,"year"),Pe(0,["YYYYY",5],0,"year"),Pe(0,["YYYYYY",6,!0],0,"year"),Ue("Y",fr),Ue("YY",pi,_),Ue("YYYY",Sn,di),Ue("YYYYY",ci,ai),Ue("YYYYYY",ci,ai),X(["YYYYY","YYYYYY"],wi),X("YYYY",function(P,J){J[wi]=2===P.length?s.parseTwoDigitYear(P):L(P)}),X("YY",function(P,J){J[wi]=s.parseTwoDigitYear(P)}),X("Y",function(P,J){J[wi]=parseInt(P,10)}),s.parseTwoDigitYear=function(P){return L(P)+(L(P)>68?1900:2e3)};var Ti,et=Zn("FullYear",!0);function Zn(P,J){return function(Be){return null!=Be?(zn(this,P,Be),s.updateOffset(this,J),this):gt(this,P)}}function gt(P,J){if(!P.isValid())return NaN;var Be=P._d,mt=P._isUTC;switch(J){case"Milliseconds":return mt?Be.getUTCMilliseconds():Be.getMilliseconds();case"Seconds":return mt?Be.getUTCSeconds():Be.getSeconds();case"Minutes":return mt?Be.getUTCMinutes():Be.getMinutes();case"Hours":return mt?Be.getUTCHours():Be.getHours();case"Date":return mt?Be.getUTCDate():Be.getDate();case"Day":return mt?Be.getUTCDay():Be.getDay();case"Month":return mt?Be.getUTCMonth():Be.getMonth();case"FullYear":return mt?Be.getUTCFullYear():Be.getFullYear();default:return NaN}}function zn(P,J,Be){var mt,nn,qn,Xi,Jr;if(P.isValid()&&!isNaN(Be)){switch(mt=P._d,nn=P._isUTC,J){case"Milliseconds":return void(nn?mt.setUTCMilliseconds(Be):mt.setMilliseconds(Be));case"Seconds":return void(nn?mt.setUTCSeconds(Be):mt.setSeconds(Be));case"Minutes":return void(nn?mt.setUTCMinutes(Be):mt.setMinutes(Be));case"Hours":return void(nn?mt.setUTCHours(Be):mt.setHours(Be));case"Date":return void(nn?mt.setUTCDate(Be):mt.setDate(Be));case"FullYear":break;default:return}qn=Be,Xi=P.month(),Jr=29!==(Jr=P.date())||1!==Xi||On(qn)?Jr:28,nn?mt.setUTCFullYear(qn,Xi,Jr):mt.setFullYear(qn,Xi,Jr)}}function Gi(P,J){if(isNaN(P)||isNaN(J))return NaN;var Be=function xn(P,J){return(P%J+J)%J}(J,12);return P+=(J-Be)/12,1===Be?On(P)?29:28:31-Be%7%2}Ti=Array.prototype.indexOf?Array.prototype.indexOf:function(P){var J;for(J=0;J<this.length;++J)if(this[J]===P)return J;return-1},Pe("M",["MM",2],"Mo",function(){return this.month()+1}),Pe("MMM",0,0,function(P){return this.localeData().monthsShort(this,P)}),Pe("MMMM",0,0,function(P){return this.localeData().months(this,P)}),Ue("M",pi,z),Ue("MM",pi,_),Ue("MMM",function(P,J){return J.monthsShortRegex(P)}),Ue("MMMM",function(P,J){return J.monthsRegex(P)}),X(["M","MM"],function(P,J){J[Qi]=L(P)-1}),X(["MMM","MMMM"],function(P,J,Be,mt){var nn=Be._locale.monthsParse(P,mt,Be._strict);null!=nn?J[Qi]=nn:Ge(Be).invalidMonth=P});var Mr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),$t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,In=xe,Di=xe;function _r(P,J,Be){var mt,nn,qn,Xi=P.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],mt=0;mt<12;++mt)qn=He([2e3,mt]),this._shortMonthsParse[mt]=this.monthsShort(qn,"").toLocaleLowerCase(),this._longMonthsParse[mt]=this.months(qn,"").toLocaleLowerCase();return Be?"MMM"===J?-1!==(nn=Ti.call(this._shortMonthsParse,Xi))?nn:null:-1!==(nn=Ti.call(this._longMonthsParse,Xi))?nn:null:"MMM"===J?-1!==(nn=Ti.call(this._shortMonthsParse,Xi))||-1!==(nn=Ti.call(this._longMonthsParse,Xi))?nn:null:-1!==(nn=Ti.call(this._longMonthsParse,Xi))||-1!==(nn=Ti.call(this._shortMonthsParse,Xi))?nn:null}function Hr(P,J){if(!P.isValid())return P;if("string"==typeof J)if(/^\d+$/.test(J))J=L(J);else if(!H(J=P.localeData().monthsParse(J)))return P;var Be=J,mt=P.date();return mt=mt<29?mt:Math.min(mt,Gi(P.year(),Be)),P._isUTC?P._d.setUTCMonth(Be,mt):P._d.setMonth(Be,mt),P}function $r(P){return null!=P?(Hr(this,P),s.updateOffset(this,!0),this):gt(this,"Month")}function Fs(){function P(ws,fo){return fo.length-ws.length}var nn,qn,Xi,Jr,J=[],Be=[],mt=[];for(nn=0;nn<12;nn++)qn=He([2e3,nn]),Xi=we(this.monthsShort(qn,"")),Jr=we(this.months(qn,"")),J.push(Xi),Be.push(Jr),mt.push(Jr),mt.push(Xi);J.sort(P),Be.sort(P),mt.sort(P),this._monthsRegex=new RegExp("^("+mt.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Be.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+J.join("|")+")","i")}function po(P,J,Be,mt,nn,qn,Xi){var Jr;return P<100&&P>=0?(Jr=new Date(P+400,J,Be,mt,nn,qn,Xi),isFinite(Jr.getFullYear())&&Jr.setFullYear(P)):Jr=new Date(P,J,Be,mt,nn,qn,Xi),Jr}function Ks(P){var J,Be;return P<100&&P>=0?((Be=Array.prototype.slice.call(arguments))[0]=P+400,J=new Date(Date.UTC.apply(null,Be)),isFinite(J.getUTCFullYear())&&J.setUTCFullYear(P)):J=new Date(Date.UTC.apply(null,arguments)),J}function as(P,J,Be){var mt=7+J-Be;return-(7+Ks(P,0,mt).getUTCDay()-J)%7+mt-1}function Pn(P,J,Be,mt,nn){var ws,fo,Jr=1+7*(J-1)+(7+Be-mt)%7+as(P,mt,nn);return Jr<=0?fo=_t(ws=P-1)+Jr:Jr>_t(P)?(ws=P+1,fo=Jr-_t(P)):(ws=P,fo=Jr),{year:ws,dayOfYear:fo}}function vi(P,J,Be){var qn,Xi,mt=as(P.year(),J,Be),nn=Math.floor((P.dayOfYear()-mt-1)/7)+1;return nn<1?qn=nn+Ni(Xi=P.year()-1,J,Be):nn>Ni(P.year(),J,Be)?(qn=nn-Ni(P.year(),J,Be),Xi=P.year()+1):(Xi=P.year(),qn=nn),{week:qn,year:Xi}}function Ni(P,J,Be){var mt=as(P,J,Be),nn=as(P+1,J,Be);return(_t(P)-mt+nn)/7}Pe("w",["ww",2],"wo","week"),Pe("W",["WW",2],"Wo","isoWeek"),Ue("w",pi,z),Ue("ww",pi,_),Ue("W",pi,z),Ue("WW",pi,_),qe(["w","ww","W","WW"],function(P,J,Be,mt){J[mt.substr(0,1)]=L(P)});function oo(P,J){return P.slice(J,7).concat(P.slice(0,J))}Pe("d",0,"do","day"),Pe("dd",0,0,function(P){return this.localeData().weekdaysMin(this,P)}),Pe("ddd",0,0,function(P){return this.localeData().weekdaysShort(this,P)}),Pe("dddd",0,0,function(P){return this.localeData().weekdays(this,P)}),Pe("e",0,0,"weekday"),Pe("E",0,0,"isoWeekday"),Ue("d",pi),Ue("e",pi),Ue("E",pi),Ue("dd",function(P,J){return J.weekdaysMinRegex(P)}),Ue("ddd",function(P,J){return J.weekdaysShortRegex(P)}),Ue("dddd",function(P,J){return J.weekdaysRegex(P)}),qe(["dd","ddd","dddd"],function(P,J,Be,mt){var nn=Be._locale.weekdaysParse(P,mt,Be._strict);null!=nn?J.d=nn:Ge(Be).invalidWeekday=P}),qe(["d","e","E"],function(P,J,Be,mt){J[mt]=L(P)});var to="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ho="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Co="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ia=xe,Dt=xe,An=xe;function qi(P,J,Be){var mt,nn,qn,Xi=P.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],mt=0;mt<7;++mt)qn=He([2e3,1]).day(mt),this._minWeekdaysParse[mt]=this.weekdaysMin(qn,"").toLocaleLowerCase(),this._shortWeekdaysParse[mt]=this.weekdaysShort(qn,"").toLocaleLowerCase(),this._weekdaysParse[mt]=this.weekdays(qn,"").toLocaleLowerCase();return Be?"dddd"===J?-1!==(nn=Ti.call(this._weekdaysParse,Xi))?nn:null:"ddd"===J?-1!==(nn=Ti.call(this._shortWeekdaysParse,Xi))?nn:null:-1!==(nn=Ti.call(this._minWeekdaysParse,Xi))?nn:null:"dddd"===J?-1!==(nn=Ti.call(this._weekdaysParse,Xi))||-1!==(nn=Ti.call(this._shortWeekdaysParse,Xi))||-1!==(nn=Ti.call(this._minWeekdaysParse,Xi))?nn:null:"ddd"===J?-1!==(nn=Ti.call(this._shortWeekdaysParse,Xi))||-1!==(nn=Ti.call(this._weekdaysParse,Xi))||-1!==(nn=Ti.call(this._minWeekdaysParse,Xi))?nn:null:-1!==(nn=Ti.call(this._minWeekdaysParse,Xi))||-1!==(nn=Ti.call(this._weekdaysParse,Xi))||-1!==(nn=Ti.call(this._shortWeekdaysParse,Xi))?nn:null}function Ui(){function P(Na,Zl){return Zl.length-Na.length}var qn,Xi,Jr,ws,fo,J=[],Be=[],mt=[],nn=[];for(qn=0;qn<7;qn++)Xi=He([2e3,1]).day(qn),Jr=we(this.weekdaysMin(Xi,"")),ws=we(this.weekdaysShort(Xi,"")),fo=we(this.weekdays(Xi,"")),J.push(Jr),Be.push(ws),mt.push(fo),nn.push(Jr),nn.push(ws),nn.push(fo);J.sort(P),Be.sort(P),mt.sort(P),nn.sort(P),this._weekdaysRegex=new RegExp("^("+nn.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+mt.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Be.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+J.join("|")+")","i")}function Rr(){return this.hours()%12||12}function Rs(P,J){Pe(P,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),J)})}function ls(P,J){return J._meridiemParse}Pe("H",["HH",2],0,"hour"),Pe("h",["hh",2],0,Rr),Pe("k",["kk",2],0,function fs(){return this.hours()||24}),Pe("hmm",0,0,function(){return""+Rr.apply(this)+nt(this.minutes(),2)}),Pe("hmmss",0,0,function(){return""+Rr.apply(this)+nt(this.minutes(),2)+nt(this.seconds(),2)}),Pe("Hmm",0,0,function(){return""+this.hours()+nt(this.minutes(),2)}),Pe("Hmmss",0,0,function(){return""+this.hours()+nt(this.minutes(),2)+nt(this.seconds(),2)}),Rs("a",!0),Rs("A",!1),Ue("a",ls),Ue("A",ls),Ue("H",pi,Ee),Ue("h",pi,z),Ue("k",pi,z),Ue("HH",pi,_),Ue("hh",pi,_),Ue("kk",pi,_),Ue("hmm",Vi),Ue("hmmss",ii),Ue("Hmm",Vi),Ue("Hmmss",ii),X(["H","HH"],Er),X(["k","kk"],function(P,J,Be){var mt=L(P);J[Er]=24===mt?0:mt}),X(["a","A"],function(P,J,Be){Be._isPm=Be._locale.isPM(P),Be._meridiem=P}),X(["h","hh"],function(P,J,Be){J[Er]=L(P),Ge(Be).bigHour=!0}),X("hmm",function(P,J,Be){var mt=P.length-2;J[Er]=L(P.substr(0,mt)),J[_n]=L(P.substr(mt)),Ge(Be).bigHour=!0}),X("hmmss",function(P,J,Be){var mt=P.length-4,nn=P.length-2;J[Er]=L(P.substr(0,mt)),J[_n]=L(P.substr(mt,2)),J[an]=L(P.substr(nn)),Ge(Be).bigHour=!0}),X("Hmm",function(P,J,Be){var mt=P.length-2;J[Er]=L(P.substr(0,mt)),J[_n]=L(P.substr(mt))}),X("Hmmss",function(P,J,Be){var mt=P.length-4,nn=P.length-2;J[Er]=L(P.substr(0,mt)),J[_n]=L(P.substr(mt,2)),J[an]=L(P.substr(nn))});var Zo=Zn("Hours",!0);var kn,kl={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Mr,monthsShort:$t,week:{dow:0,doy:6},weekdays:to,weekdaysMin:Co,weekdaysShort:Ho,meridiemParse:/[ap]\.?m?\.?/i},Ct={},xt={};function Hn(P,J){var Be,mt=Math.min(P.length,J.length);for(Be=0;Be<mt;Be+=1)if(P[Be]!==J[Be])return Be;return mt}function fi(P){return P&&P.toLowerCase().replace("_","-")}function Lr(P){var J=null;if(void 0===Ct[P]&&tn&&tn.exports&&function ur(P){return!(!P||!P.match("^[^/\\\\]*$"))}(P))try{J=kn._abbr,d(5358)("./"+P),Or(J)}catch{Ct[P]=null}return Ct[P]}function Or(P,J){var Be;return P&&((Be=k(J)?lo(P):is(P,J))?kn=Be:typeof console<"u"&&console.warn&&console.warn("Locale "+P+" not found. Did you forget to load it?")),kn._abbr}function is(P,J){if(null!==J){var Be,mt=kl;if(J.abbr=P,null!=Ct[P])q("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),mt=Ct[P]._config;else if(null!=J.parentLocale)if(null!=Ct[J.parentLocale])mt=Ct[J.parentLocale]._config;else{if(null==(Be=Lr(J.parentLocale)))return xt[J.parentLocale]||(xt[J.parentLocale]=[]),xt[J.parentLocale].push({name:P,config:J}),null;mt=Be._config}return Ct[P]=new Ne(he(mt,J)),xt[P]&&xt[P].forEach(function(nn){is(nn.name,nn.config)}),Or(P),Ct[P]}return delete Ct[P],null}function lo(P){var J;if(P&&P._locale&&P._locale._abbr&&(P=P._locale._abbr),!P)return kn;if(!y(P)){if(J=Lr(P))return J;P=[P]}return function Hi(P){for(var Be,mt,nn,qn,J=0;J<P.length;){for(Be=(qn=fi(P[J]).split("-")).length,mt=(mt=fi(P[J+1]))?mt.split("-"):null;Be>0;){if(nn=Lr(qn.slice(0,Be).join("-")))return nn;if(mt&&mt.length>=Be&&Hn(qn,mt)>=Be-1)break;Be--}J++}return kn}(P)}function Gs(P){var J,Be=P._a;return Be&&-2===Ge(P).overflow&&(J=Be[Qi]<0||Be[Qi]>11?Qi:Be[Tr]<1||Be[Tr]>Gi(Be[wi],Be[Qi])?Tr:Be[Er]<0||Be[Er]>24||24===Be[Er]&&(0!==Be[_n]||0!==Be[an]||0!==Be[Pt])?Er:Be[_n]<0||Be[_n]>59?_n:Be[an]<0||Be[an]>59?an:Be[Pt]<0||Be[Pt]>999?Pt:-1,Ge(P)._overflowDayOfYear&&(J<wi||J>Tr)&&(J=Tr),Ge(P)._overflowWeeks&&-1===J&&(J=ke),Ge(P)._overflowWeekday&&-1===J&&(J=De),Ge(P).overflow=J),P}var No=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Do=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oo=/Z|[+-]\d\d(?::?\d\d)?/,qo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Js=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ko=/^\/?Date\((-?\d+)/i,Uo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,no={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function la(P){var J,Be,qn,Xi,Jr,ws,mt=P._i,nn=No.exec(mt)||Do.exec(mt),fo=qo.length,Na=Js.length;if(nn){for(Ge(P).iso=!0,J=0,Be=fo;J<Be;J++)if(qo[J][1].exec(nn[1])){Xi=qo[J][0],qn=!1!==qo[J][2];break}if(null==Xi)return void(P._isValid=!1);if(nn[3]){for(J=0,Be=Na;J<Be;J++)if(Js[J][1].exec(nn[3])){Jr=(nn[2]||" ")+Js[J][0];break}if(null==Jr)return void(P._isValid=!1)}if(!qn&&null!=Jr)return void(P._isValid=!1);if(nn[4]){if(!Oo.exec(nn[4]))return void(P._isValid=!1);ws="Z"}P._f=Xi+(Jr||"")+(ws||""),pl(P)}else P._isValid=!1}function Qa(P){var J=parseInt(P,10);return J<=49?2e3+J:J<=999?1900+J:J}function wl(P){var Be,J=Uo.exec(function cs(P){return P.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(P._i));if(J){if(Be=function Ka(P,J,Be,mt,nn,qn){var Xi=[Qa(P),$t.indexOf(J),parseInt(Be,10),parseInt(mt,10),parseInt(nn,10)];return qn&&Xi.push(parseInt(qn,10)),Xi}(J[4],J[3],J[2],J[5],J[6],J[7]),!function ll(P,J,Be){return!P||Ho.indexOf(P)===new Date(J[0],J[1],J[2]).getDay()||(Ge(Be).weekdayMismatch=!0,Be._isValid=!1,!1)}(J[1],Be,P))return;P._a=Be,P._tzm=function wo(P,J,Be){if(P)return no[P];if(J)return 0;var mt=parseInt(Be,10),nn=mt%100;return(mt-nn)/100*60+nn}(J[8],J[9],J[10]),P._d=Ks.apply(null,P._a),P._d.setUTCMinutes(P._d.getUTCMinutes()-P._tzm),Ge(P).rfc2822=!0}else P._isValid=!1}function Ps(P,J,Be){return P??J??Be}function ea(P){var J,Be,nn,qn,Xi,mt=[];if(!P._d){for(nn=function ba(P){var J=new Date(s.now());return P._useUTC?[J.getUTCFullYear(),J.getUTCMonth(),J.getUTCDate()]:[J.getFullYear(),J.getMonth(),J.getDate()]}(P),P._w&&null==P._a[Tr]&&null==P._a[Qi]&&function Os(P){var J,Be,mt,nn,qn,Xi,Jr,ws,fo;null!=(J=P._w).GG||null!=J.W||null!=J.E?(qn=1,Xi=4,Be=Ps(J.GG,P._a[wi],vi(Kr(),1,4).year),mt=Ps(J.W,1),((nn=Ps(J.E,1))<1||nn>7)&&(ws=!0)):(qn=P._locale._week.dow,Xi=P._locale._week.doy,fo=vi(Kr(),qn,Xi),Be=Ps(J.gg,P._a[wi],fo.year),mt=Ps(J.w,fo.week),null!=J.d?((nn=J.d)<0||nn>6)&&(ws=!0):null!=J.e?(nn=J.e+qn,(J.e<0||J.e>6)&&(ws=!0)):nn=qn),mt<1||mt>Ni(Be,qn,Xi)?Ge(P)._overflowWeeks=!0:null!=ws?Ge(P)._overflowWeekday=!0:(Jr=Pn(Be,mt,nn,qn,Xi),P._a[wi]=Jr.year,P._dayOfYear=Jr.dayOfYear)}(P),null!=P._dayOfYear&&(Xi=Ps(P._a[wi],nn[wi]),(P._dayOfYear>_t(Xi)||0===P._dayOfYear)&&(Ge(P)._overflowDayOfYear=!0),Be=Ks(Xi,0,P._dayOfYear),P._a[Qi]=Be.getUTCMonth(),P._a[Tr]=Be.getUTCDate()),J=0;J<3&&null==P._a[J];++J)P._a[J]=mt[J]=nn[J];for(;J<7;J++)P._a[J]=mt[J]=null==P._a[J]?2===J?1:0:P._a[J];24===P._a[Er]&&0===P._a[_n]&&0===P._a[an]&&0===P._a[Pt]&&(P._nextDay=!0,P._a[Er]=0),P._d=(P._useUTC?Ks:po).apply(null,mt),qn=P._useUTC?P._d.getUTCDay():P._d.getDay(),null!=P._tzm&&P._d.setUTCMinutes(P._d.getUTCMinutes()-P._tzm),P._nextDay&&(P._a[Er]=24),P._w&&typeof P._w.d<"u"&&P._w.d!==qn&&(Ge(P).weekdayMismatch=!0)}}function pl(P){if(P._f!==s.ISO_8601)if(P._f!==s.RFC_2822){P._a=[],Ge(P).empty=!0;var Be,mt,nn,qn,Xi,fo,Na,J=""+P._i,Jr=J.length,ws=0;for(Na=(nn=ie(P._f,P._locale).match(cn)||[]).length,Be=0;Be<Na;Be++)(mt=(J.match(Tt(qn=nn[Be],P))||[])[0])&&((Xi=J.substr(0,J.indexOf(mt))).length>0&&Ge(P).unusedInput.push(Xi),J=J.slice(J.indexOf(mt)+mt.length),ws+=mt.length),Te[qn]?(mt?Ge(P).empty=!1:Ge(P).unusedTokens.push(qn),Yt(qn,mt,P)):P._strict&&!mt&&Ge(P).unusedTokens.push(qn);Ge(P).charsLeftOver=Jr-ws,J.length>0&&Ge(P).unusedInput.push(J),P._a[Er]<=12&&!0===Ge(P).bigHour&&P._a[Er]>0&&(Ge(P).bigHour=void 0),Ge(P).parsedDateParts=P._a.slice(0),Ge(P).meridiem=P._meridiem,P._a[Er]=function Sa(P,J,Be){var mt;return null==Be?J:null!=P.meridiemHour?P.meridiemHour(J,Be):(null!=P.isPM&&((mt=P.isPM(Be))&&J<12&&(J+=12),!mt&&12===J&&(J=0)),J)}(P._locale,P._a[Er],P._meridiem),null!==(fo=Ge(P).era)&&(P._a[wi]=P._locale.erasConvertYear(fo,P._a[wi])),ea(P),Gs(P)}else wl(P);else la(P)}function Mo(P){var J=P._i,Be=P._f;return P._locale=P._locale||lo(P._l),null===J||void 0===Be&&""===J?ze({nullInput:!0}):("string"==typeof J&&(P._i=J=P._locale.preparse(J)),Je(J)?new kt(Gs(J)):(B(J)?P._d=J:y(Be)?function Fo(P){var J,Be,mt,nn,qn,Xi,Jr=!1,ws=P._f.length;if(0===ws)return Ge(P).invalidFormat=!0,void(P._d=new Date(NaN));for(nn=0;nn<ws;nn++)qn=0,Xi=!1,J=ue({},P),null!=P._useUTC&&(J._useUTC=P._useUTC),J._f=P._f[nn],pl(J),Xe(J)&&(Xi=!0),qn+=Ge(J).charsLeftOver,qn+=10*Ge(J).unusedTokens.length,Ge(J).score=qn,Jr?qn<mt&&(mt=qn,Be=J):(null==mt||qn<mt||Xi)&&(mt=qn,Be=J,Xi&&(Jr=!0));ye(P,Be||J)}(P):Be?pl(P):function pa(P){var J=P._i;k(J)?P._d=new Date(s.now()):B(J)?P._d=new Date(J.valueOf()):"string"==typeof J?function Us(P){var J=ko.exec(P._i);null===J?(la(P),!1===P._isValid&&(delete P._isValid,wl(P),!1===P._isValid&&(delete P._isValid,P._strict?P._isValid=!1:s.createFromInputFallback(P)))):P._d=new Date(+J[1])}(P):y(J)?(P._a=x(J.slice(0),function(Be){return parseInt(Be,10)}),ea(P)):v(J)?function ca(P){if(!P._d){var J=Oi(P._i);P._a=x([J.year,J.month,void 0===J.day?J.date:J.day,J.hour,J.minute,J.second,J.millisecond],function(mt){return mt&&parseInt(mt,10)}),ea(P)}}(P):H(J)?P._d=new Date(J):s.createFromInputFallback(P)}(P),Xe(P)||(P._d=null),P))}function xa(P,J,Be,mt,nn){var qn={};return(!0===J||!1===J)&&(mt=J,J=void 0),(!0===Be||!1===Be)&&(mt=Be,Be=void 0),(v(P)&&M(P)||y(P)&&0===P.length)&&(P=void 0),qn._isAMomentObject=!0,qn._useUTC=qn._isUTC=nn,qn._l=Be,qn._i=P,qn._f=J,qn._strict=mt,function Ea(P){var J=new kt(Gs(Mo(P)));return J._nextDay&&(J.add(1,"d"),J._nextDay=void 0),J}(qn)}function Kr(P,J,Be,mt){return xa(P,J,Be,mt,!1)}s.createFromInputFallback=$e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(P){P._d=new Date(P._i+(P._useUTC?" UTC":""))}),s.ISO_8601=function(){},s.RFC_2822=function(){};var _l=$e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var P=Kr.apply(null,arguments);return this.isValid()&&P.isValid()?P<this?this:P:ze()}),el=$e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var P=Kr.apply(null,arguments);return this.isValid()&&P.isValid()?P>this?this:P:ze()});function tl(P,J){var Be,mt;if(1===J.length&&y(J[0])&&(J=J[0]),!J.length)return Kr();for(Be=J[0],mt=1;mt<J.length;++mt)(!J[mt].isValid()||J[mt][P](Be))&&(Be=J[mt]);return Be}var Gt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function _o(P){var J=Oi(P),Be=J.year||0,mt=J.quarter||0,nn=J.month||0,qn=J.week||J.isoWeek||0,Xi=J.day||0,Jr=J.hour||0,ws=J.minute||0,fo=J.second||0,Na=J.millisecond||0;this._isValid=function Ln(P){var J,mt,Be=!1,nn=Gt.length;for(J in P)if(T(P,J)&&(-1===Ti.call(Gt,J)||null!=P[J]&&isNaN(P[J])))return!1;for(mt=0;mt<nn;++mt)if(P[Gt[mt]]){if(Be)return!1;parseFloat(P[Gt[mt]])!==L(P[Gt[mt]])&&(Be=!0)}return!0}(J),this._milliseconds=+Na+1e3*fo+6e4*ws+1e3*Jr*60*60,this._days=+Xi+7*qn,this._months=+nn+3*mt+12*Be,this._data={},this._locale=lo(),this._bubble()}function Yo(P){return P instanceof _o}function Da(P){return P<0?-1*Math.round(-1*P):Math.round(P)}function ja(P,J){Pe(P,0,0,function(){var Be=this.utcOffset(),mt="+";return Be<0&&(Be=-Be,mt="-"),mt+nt(~~(Be/60),2)+J+nt(~~Be%60,2)})}ja("Z",":"),ja("ZZ",""),Ue("Z",un),Ue("ZZ",un),X(["Z","ZZ"],function(P,J,Be){Be._useUTC=!0,Be._tzm=cl(un,P)});var Ya=/([\+\-]|\d\d)/gi;function cl(P,J){var nn,qn,Be=(J||"").match(P);return null===Be?null:0===(qn=60*(nn=((Be[Be.length-1]||[])+"").match(Ya)||["-",0,0])[1]+L(nn[2]))?0:"+"===nn[0]?qn:-qn}function Ra(P,J){var Be,mt;return J._isUTC?(Be=J.clone(),mt=(Je(P)||B(P)?P.valueOf():Kr(P).valueOf())-Be.valueOf(),Be._d.setTime(Be._d.valueOf()+mt),s.updateOffset(Be,!1),Be):Kr(P).local()}function gi(P){return-Math.round(P._d.getTimezoneOffset())}function Nr(){return!!this.isValid()&&this._isUTC&&0===this._offset}s.updateOffset=function(){};var Bs=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Qs=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qs(P,J){var nn,qn,Xi,Be=P,mt=null;return Yo(P)?Be={ms:P._milliseconds,d:P._days,M:P._months}:H(P)||!isNaN(+P)?(Be={},J?Be[J]=+P:Be.milliseconds=+P):(mt=Bs.exec(P))?(nn="-"===mt[1]?-1:1,Be={y:0,d:L(mt[Tr])*nn,h:L(mt[Er])*nn,m:L(mt[_n])*nn,s:L(mt[an])*nn,ms:L(Da(1e3*mt[Pt]))*nn}):(mt=Qs.exec(P))?Be={y:eo(mt[2],nn="-"===mt[1]?-1:1),M:eo(mt[3],nn),w:eo(mt[4],nn),d:eo(mt[5],nn),h:eo(mt[6],nn),m:eo(mt[7],nn),s:eo(mt[8],nn)}:null==Be?Be={}:"object"==typeof Be&&("from"in Be||"to"in Be)&&(Xi=function Cc(P,J){var Be;return P.isValid()&&J.isValid()?(J=Ra(J,P),P.isBefore(J)?Be=dc(P,J):((Be=dc(J,P)).milliseconds=-Be.milliseconds,Be.months=-Be.months),Be):{milliseconds:0,months:0}}(Kr(Be.from),Kr(Be.to)),(Be={}).ms=Xi.milliseconds,Be.M=Xi.months),qn=new _o(Be),Yo(P)&&T(P,"_locale")&&(qn._locale=P._locale),Yo(P)&&T(P,"_isValid")&&(qn._isValid=P._isValid),qn}function eo(P,J){var Be=P&&parseFloat(P.replace(",","."));return(isNaN(Be)?0:Be)*J}function dc(P,J){var Be={};return Be.months=J.month()-P.month()+12*(J.year()-P.year()),P.clone().add(Be.months,"M").isAfter(J)&&--Be.months,Be.milliseconds=+J-+P.clone().add(Be.months,"M"),Be}function nl(P,J){return function(Be,mt){var qn;return null!==mt&&!isNaN(+mt)&&(q(J,"moment()."+J+"(period, number) is deprecated. Please use moment()."+J+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),qn=Be,Be=mt,mt=qn),Sl(this,qs(Be,mt),P),this}}function Sl(P,J,Be,mt){var nn=J._milliseconds,qn=Da(J._days),Xi=Da(J._months);P.isValid()&&(mt=mt??!0,Xi&&Hr(P,gt(P,"Month")+Xi*Be),qn&&zn(P,"Date",gt(P,"Date")+qn*Be),nn&&P._d.setTime(P._d.valueOf()+nn*Be),mt&&s.updateOffset(P,qn||Xi))}qs.fn=_o.prototype,qs.invalid=function Ds(){return qs(NaN)};var uc=nl(1,"add"),il=nl(-1,"subtract");function da(P){return"string"==typeof P||P instanceof String}function hc(P){return Je(P)||B(P)||da(P)||H(P)||function wa(P){var J=y(P),Be=!1;return J&&(Be=0===P.filter(function(mt){return!H(mt)&&da(P)}).length),J&&Be}(P)||function ps(P){var nn,J=v(P)&&!M(P),Be=!1,mt=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Xi=mt.length;for(nn=0;nn<Xi;nn+=1)Be=Be||T(P,mt[nn]);return J&&Be}(P)||null==P}function vl(P,J){if(P.date()<J.date())return-vl(J,P);var Be=12*(J.year()-P.year())+(J.month()-P.month()),mt=P.clone().add(Be,"months");return-(Be+(J-mt<0?(J-mt)/(mt-P.clone().add(Be-1,"months")):(J-mt)/(P.clone().add(Be+1,"months")-mt)))||0}function Sc(P){var J;return void 0===P?this._locale._abbr:(null!=(J=lo(P))&&(this._locale=J),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var rc=$e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(P){return void 0===P?this.localeData():this.locale(P)});function dd(){return this._locale}var $l=6e4,Gl=60*$l,Fl=3506328*Gl;function zo(P,J){return(P%J+J)%J}function ne(P,J,Be){return P<100&&P>=0?new Date(P+400,J,Be)-Fl:new Date(P,J,Be).valueOf()}function Oe(P,J,Be){return P<100&&P>=0?Date.UTC(P+400,J,Be)-Fl:Date.UTC(P,J,Be)}function Ba(P,J){return J.erasAbbrRegex(P)}function rl(){var nn,qn,Xi,Jr,ws,P=[],J=[],Be=[],mt=[],fo=this.eras();for(nn=0,qn=fo.length;nn<qn;++nn)Xi=we(fo[nn].name),Jr=we(fo[nn].abbr),ws=we(fo[nn].narrow),J.push(Xi),P.push(Jr),Be.push(ws),mt.push(Xi),mt.push(Jr),mt.push(ws);this._erasRegex=new RegExp("^("+mt.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+J.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+P.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Be.join("|")+")","i")}function Ql(P,J){Pe(0,[P,P.length],0,J)}function Ld(P,J,Be,mt,nn){var qn;return null==P?vi(this,mt,nn).year:(J>(qn=Ni(P,mt,nn))&&(J=qn),$d.call(this,P,J,Be,mt,nn))}function $d(P,J,Be,mt,nn){var qn=Pn(P,J,Be,mt,nn),Xi=Ks(qn.year,0,qn.dayOfYear);return this.year(Xi.getUTCFullYear()),this.month(Xi.getUTCMonth()),this.date(Xi.getUTCDate()),this}Pe("N",0,0,"eraAbbr"),Pe("NN",0,0,"eraAbbr"),Pe("NNN",0,0,"eraAbbr"),Pe("NNNN",0,0,"eraName"),Pe("NNNNN",0,0,"eraNarrow"),Pe("y",["y",1],"yo","eraYear"),Pe("y",["yy",2],0,"eraYear"),Pe("y",["yyy",3],0,"eraYear"),Pe("y",["yyyy",4],0,"eraYear"),Ue("N",Ba),Ue("NN",Ba),Ue("NNN",Ba),Ue("NNNN",function ro(P,J){return J.erasNameRegex(P)}),Ue("NNNNN",function Kl(P,J){return J.erasNarrowRegex(P)}),X(["N","NN","NNN","NNNN","NNNNN"],function(P,J,Be,mt){var nn=Be._locale.erasParse(P,mt,Be._strict);nn?Ge(Be).era=nn:Ge(Be).invalidEra=P}),Ue("y",Un),Ue("yy",Un),Ue("yyy",Un),Ue("yyyy",Un),Ue("yo",function Ml(P,J){return J._eraYearOrdinalRegex||Un}),X(["y","yy","yyy","yyyy"],wi),X(["yo"],function(P,J,Be,mt){var nn;Be._locale._eraYearOrdinalRegex&&(nn=P.match(Be._locale._eraYearOrdinalRegex)),J[wi]=Be._locale.eraYearOrdinalParse?Be._locale.eraYearOrdinalParse(P,nn):parseInt(P,10)}),Pe(0,["gg",2],0,function(){return this.weekYear()%100}),Pe(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ql("gggg","weekYear"),Ql("ggggg","weekYear"),Ql("GGGG","isoWeekYear"),Ql("GGGGG","isoWeekYear"),Ue("G",fr),Ue("g",fr),Ue("GG",pi,_),Ue("gg",pi,_),Ue("GGGG",Sn,di),Ue("gggg",Sn,di),Ue("GGGGG",ci,ai),Ue("ggggg",ci,ai),qe(["gggg","ggggg","GGGG","GGGGG"],function(P,J,Be,mt){J[mt.substr(0,2)]=L(P)}),qe(["gg","GG"],function(P,J,Be,mt){J[mt]=s.parseTwoDigitYear(P)}),Pe("Q",0,"Qo","quarter"),Ue("Q",Yn),X("Q",function(P,J){J[Qi]=3*(L(P)-1)}),Pe("D",["DD",2],"Do","date"),Ue("D",pi,z),Ue("DD",pi,_),Ue("Do",function(P,J){return P?J._dayOfMonthOrdinalParse||J._ordinalParse:J._dayOfMonthOrdinalParseLenient}),X(["D","DD"],Tr),X("Do",function(P,J){J[Tr]=L(P.match(pi)[0])});var Id=Zn("Date",!0);Pe("DDD",["DDDD",3],"DDDo","dayOfYear"),Ue("DDD",rr),Ue("DDDD",Qn),X(["DDD","DDDD"],function(P,J,Be){Be._dayOfYear=L(P)}),Pe("m",["mm",2],0,"minute"),Ue("m",pi,Ee),Ue("mm",pi,_),X(["m","mm"],_n);var yl=Zn("Minutes",!1);Pe("s",["ss",2],0,"second"),Ue("s",pi,Ee),Ue("ss",pi,_),X(["s","ss"],an);var Ls,Vl,Oc=Zn("Seconds",!1);for(Pe("S",0,0,function(){return~~(this.millisecond()/100)}),Pe(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Pe(0,["SSS",3],0,"millisecond"),Pe(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Pe(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Pe(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Pe(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Pe(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Pe(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Ue("S",rr,Yn),Ue("SS",rr,_),Ue("SSS",rr,Qn),Ls="SSSS";Ls.length<=9;Ls+="S")Ue(Ls,Un);function Kt(P,J){J[Pt]=L(1e3*("0."+P))}for(Ls="S";Ls.length<=9;Ls+="S")X(Ls,Kt);Vl=Zn("Milliseconds",!1),Pe("z",0,0,"zoneAbbr"),Pe("zz",0,0,"zoneName");var en=kt.prototype;function vr(P){return P}en.add=uc,en.calendar=function dl(P,J){1===arguments.length&&(arguments[0]?hc(arguments[0])?(P=arguments[0],J=void 0):function fc(P){var nn,J=v(P)&&!M(P),Be=!1,mt=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(nn=0;nn<mt.length;nn+=1)Be=Be||T(P,mt[nn]);return J&&Be}(arguments[0])&&(J=arguments[0],P=void 0):(P=void 0,J=void 0));var Be=P||Kr(),mt=Ra(Be,this).startOf("day"),nn=s.calendarFormat(this,mt)||"sameElse",qn=J&&(de(J[nn])?J[nn].call(this,Be):J[nn]);return this.format(qn||this.localeData().calendar(nn,this,Kr(Be)))},en.clone=function mc(){return new kt(this)},en.diff=function kc(P,J,Be){var mt,nn,qn;if(!this.isValid())return NaN;if(!(mt=Ra(P,this)).isValid())return NaN;switch(nn=6e4*(mt.utcOffset()-this.utcOffset()),J=Bn(J)){case"year":qn=vl(this,mt)/12;break;case"month":qn=vl(this,mt);break;case"quarter":qn=vl(this,mt)/3;break;case"second":qn=(this-mt)/1e3;break;case"minute":qn=(this-mt)/6e4;break;case"hour":qn=(this-mt)/36e5;break;case"day":qn=(this-mt-nn)/864e5;break;case"week":qn=(this-mt-nn)/6048e5;break;default:qn=this-mt}return Be?qn:_e(qn)},en.endOf=function Re(P){var J,Be;if(void 0===(P=Bn(P))||"millisecond"===P||!this.isValid())return this;switch(Be=this._isUTC?Oe:ne,P){case"year":J=Be(this.year()+1,0,1)-1;break;case"quarter":J=Be(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":J=Be(this.year(),this.month()+1,1)-1;break;case"week":J=Be(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":J=Be(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":J=Be(this.year(),this.month(),this.date()+1)-1;break;case"hour":J=this._d.valueOf(),J+=Gl-zo(J+(this._isUTC?0:this.utcOffset()*$l),Gl)-1;break;case"minute":J=this._d.valueOf(),J+=$l-zo(J,$l)-1;break;case"second":J=this._d.valueOf(),J+=1e3-zo(J,1e3)-1}return this._d.setTime(J),s.updateOffset(this,!0),this},en.format=function ha(P){P||(P=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var J=Ie(this,P);return this.localeData().postformat(J)},en.from=function Pa(P,J){return this.isValid()&&(Je(P)&&P.isValid()||Kr(P).isValid())?qs({to:this,from:P}).locale(this.locale()).humanize(!J):this.localeData().invalidDate()},en.fromNow=function ld(P){return this.from(Kr(),P)},en.to=function $c(P,J){return this.isValid()&&(Je(P)&&P.isValid()||Kr(P).isValid())?qs({from:this,to:P}).locale(this.locale()).humanize(!J):this.localeData().invalidDate()},en.toNow=function cd(P){return this.to(Kr(),P)},en.get=function ft(P){return de(this[P=Bn(P)])?this[P]():this},en.invalidAt=function Ta(){return Ge(this).overflow},en.isAfter=function Ac(P,J){var Be=Je(P)?P:Kr(P);return!(!this.isValid()||!Be.isValid())&&("millisecond"===(J=Bn(J)||"millisecond")?this.valueOf()>Be.valueOf():Be.valueOf()<this.clone().startOf(J).valueOf())},en.isBefore=function Ws(P,J){var Be=Je(P)?P:Kr(P);return!(!this.isValid()||!Be.isValid())&&("millisecond"===(J=Bn(J)||"millisecond")?this.valueOf()<Be.valueOf():this.clone().endOf(J).valueOf()<Be.valueOf())},en.isBetween=function go(P,J,Be,mt){var nn=Je(P)?P:Kr(P),qn=Je(J)?J:Kr(J);return!!(this.isValid()&&nn.isValid()&&qn.isValid())&&("("===(mt=mt||"()")[0]?this.isAfter(nn,Be):!this.isBefore(nn,Be))&&(")"===mt[1]?this.isBefore(qn,Be):!this.isAfter(qn,Be))},en.isSame=function Fa(P,J){var mt,Be=Je(P)?P:Kr(P);return!(!this.isValid()||!Be.isValid())&&("millisecond"===(J=Bn(J)||"millisecond")?this.valueOf()===Be.valueOf():(mt=Be.valueOf(),this.clone().startOf(J).valueOf()<=mt&&mt<=this.clone().endOf(J).valueOf()))},en.isSameOrAfter=function Ll(P,J){return this.isSame(P,J)||this.isAfter(P,J)},en.isSameOrBefore=function Go(P,J){return this.isSame(P,J)||this.isBefore(P,J)},en.isValid=function Ur(){return Xe(this)},en.lang=rc,en.locale=Sc,en.localeData=dd,en.max=el,en.min=_l,en.parsingFlags=function _a(){return ye({},Ge(this))},en.set=function Bt(P,J){if("object"==typeof P){var mt,Be=function Tn(P){var Be,J=[];for(Be in P)T(P,Be)&&J.push({unit:Be,priority:dn[Be]});return J.sort(function(mt,nn){return mt.priority-nn.priority}),J}(P=Oi(P)),nn=Be.length;for(mt=0;mt<nn;mt++)this[Be[mt].unit](P[Be[mt].unit])}else if(de(this[P=Bn(P)]))return this[P](J);return this},en.startOf=function me(P){var J,Be;if(void 0===(P=Bn(P))||"millisecond"===P||!this.isValid())return this;switch(Be=this._isUTC?Oe:ne,P){case"year":J=Be(this.year(),0,1);break;case"quarter":J=Be(this.year(),this.month()-this.month()%3,1);break;case"month":J=Be(this.year(),this.month(),1);break;case"week":J=Be(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":J=Be(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":J=Be(this.year(),this.month(),this.date());break;case"hour":J=this._d.valueOf(),J-=zo(J+(this._isUTC?0:this.utcOffset()*$l),Gl);break;case"minute":J=this._d.valueOf(),J-=zo(J,$l);break;case"second":J=this._d.valueOf(),J-=zo(J,1e3)}return this._d.setTime(J),s.updateOffset(this,!0),this},en.subtract=il,en.toArray=function mi(){var P=this;return[P.year(),P.month(),P.date(),P.hour(),P.minute(),P.second(),P.millisecond()]},en.toObject=function Zi(){var P=this;return{years:P.year(),months:P.month(),date:P.date(),hours:P.hours(),minutes:P.minutes(),seconds:P.seconds(),milliseconds:P.milliseconds()}},en.toDate=function Cn(){return new Date(this.valueOf())},en.toISOString=function Nl(P){if(!this.isValid())return null;var J=!0!==P,Be=J?this.clone().utc():this;return Be.year()<0||Be.year()>9999?Ie(Be,J?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):de(Date.prototype.toISOString)?J?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ie(Be,"Z")):Ie(Be,J?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},en.inspect=function vs(){if(!this.isValid())return"moment.invali
1d(/* "+this._i+" */)";var Be,mt,P="moment",J="";return this.isLocal()||(P=0===this.utcOffset()?"moment.utc":"moment.parseZone",J="Z"),Be="["+P+'("]',mt=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(Be+mt+"-MM-DD[T]HH:mm:ss.SSS"+J+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(en[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),en.toJSON=function Ar(){return this.isValid()?this.toISOString():null},en.toString=function Tl(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},en.unix=function Xt(){return Math.floor(this.valueOf()/1e3)},en.valueOf=function Rt(){return this._d.valueOf()-6e4*(this._offset||0)},en.creationData=function Oa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},en.eraName=function Bl(){var P,J,Be,mt=this.localeData().eras();for(P=0,J=mt.length;P<J;++P)if(Be=this.clone().startOf("day").valueOf(),mt[P].since<=Be&&Be<=mt[P].until||mt[P].until<=Be&&Be<=mt[P].since)return mt[P].name;return""},en.eraNarrow=function xc(){var P,J,Be,mt=this.localeData().eras();for(P=0,J=mt.length;P<J;++P)if(Be=this.clone().startOf("day").valueOf(),mt[P].since<=Be&&Be<=mt[P].until||mt[P].until<=Be&&Be<=mt[P].since)return mt[P].narrow;return""},en.eraAbbr=function ao(){var P,J,Be,mt=this.localeData().eras();for(P=0,J=mt.length;P<J;++P)if(Be=this.clone().startOf("day").valueOf(),mt[P].since<=Be&&Be<=mt[P].until||mt[P].until<=Be&&Be<=mt[P].since)return mt[P].abbr;return""},en.eraYear=function Rc(){var P,J,Be,mt,nn=this.localeData().eras();for(P=0,J=nn.length;P<J;++P)if(Be=nn[P].since<=nn[P].until?1:-1,mt=this.clone().startOf("day").valueOf(),nn[P].since<=mt&&mt<=nn[P].until||nn[P].until<=mt&&mt<=nn[P].since)return(this.year()-s(nn[P].since).year())*Be+nn[P].offset;return this.year()},en.year=et,en.isLeapYear=function Rn(){return On(this.year())},en.weekYear=function mh(P){return Ld.call(this,P,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},en.isoWeekYear=function cu(P){return Ld.call(this,P,this.isoWeek(),this.isoWeekday(),1,4)},en.quarter=en.quarters=function Gc(P){return null==P?Math.ceil((this.month()+1)/3):this.month(3*(P-1)+this.month()%3)},en.month=$r,en.daysInMonth=function Ns(){return Gi(this.year(),this.month())},en.week=en.weeks=function ot(P){var J=this.localeData().week(this);return null==P?J:this.add(7*(P-J),"d")},en.isoWeek=en.isoWeeks=function bn(P){var J=vi(this,1,4).week;return null==P?J:this.add(7*(P-J),"d")},en.weeksInYear=function ud(){var P=this.localeData()._week;return Ni(this.year(),P.dow,P.doy)},en.weeksInWeekYear=function Xl(){var P=this.localeData()._week;return Ni(this.weekYear(),P.dow,P.doy)},en.isoWeeksInYear=function Hs(){return Ni(this.year(),1,4)},en.isoWeeksInISOWeekYear=function zd(){return Ni(this.isoWeekYear(),1,4)},en.date=Id,en.day=en.days=function $i(P){if(!this.isValid())return null!=P?this:NaN;var J=gt(this,"Day");return null!=P?(P=function _i(P,J){return"string"!=typeof P?P:isNaN(P)?"number"==typeof(P=J.weekdaysParse(P))?P:null:parseInt(P,10)}(P,this.localeData()),this.add(P-J,"d")):J},en.weekday=function Es(P){if(!this.isValid())return null!=P?this:NaN;var J=(this.day()+7-this.localeData()._week.dow)%7;return null==P?J:this.add(P-J,"d")},en.isoWeekday=function Mn(P){if(!this.isValid())return null!=P?this:NaN;if(null!=P){var J=function Yr(P,J){return"string"==typeof P?J.weekdaysParse(P)%7||7:isNaN(P)?null:P}(P,this.localeData());return this.day(this.day()%7?J:J-7)}return this.day()||7},en.dayOfYear=function Jl(P){var J=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==P?J:this.add(P-J,"d")},en.hour=en.hours=Zo,en.minute=en.minutes=yl,en.second=en.seconds=Oc,en.millisecond=en.milliseconds=Vl,en.utcOffset=function gr(P,J,Be){var nn,mt=this._offset||0;if(!this.isValid())return null!=P?this:NaN;if(null!=P){if("string"==typeof P){if(null===(P=cl(un,P)))return this}else Math.abs(P)<16&&!Be&&(P*=60);return!this._isUTC&&J&&(nn=gi(this)),this._offset=P,this._isUTC=!0,null!=nn&&this.add(nn,"m"),mt!==P&&(!J||this._changeInProgress?Sl(this,qs(P-mt,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?mt:gi(this)},en.utc=function En(P){return this.utcOffset(0,P)},en.local=function oi(P){return this._isUTC&&(this.utcOffset(0,P),this._isUTC=!1,P&&this.subtract(gi(this),"m")),this},en.parseZone=function yr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var P=cl(Vt,this._i);null!=P?this.utcOffset(P):this.utcOffset(0,!0)}return this},en.hasAlignedHourOffset=function Xr(P){return!!this.isValid()&&(P=P?Kr(P).utcOffset():0,(this.utcOffset()-P)%60==0)},en.isDST=function ho(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},en.isLocal=function nr(){return!!this.isValid()&&!this._isUTC},en.isUtcOffset=function Pi(){return!!this.isValid()&&this._isUTC},en.isUtc=Nr,en.isUTC=Nr,en.zoneAbbr=function ht(){return this._isUTC?"UTC":""},en.zoneName=function jt(){return this._isUTC?"Coordinated Universal Time":""},en.dates=$e("dates accessor is deprecated. Use date instead.",Id),en.months=$e("months accessor is deprecated. Use month instead",$r),en.years=$e("years accessor is deprecated. Use year instead",et),en.zone=$e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ct(P,J){return null!=P?("string"!=typeof P&&(P=-P),this.utcOffset(P,J),this):-this.utcOffset()}),en.isDSTShifted=$e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function ri(){if(!k(this._isDSTShifted))return this._isDSTShifted;var J,P={};return ue(P,this),(P=Mo(P))._a?(J=P._isUTC?He(P._a):Kr(P._a),this._isDSTShifted=this.isValid()&&function Ha(P,J,Be){var Xi,mt=Math.min(P.length,J.length),nn=Math.abs(P.length-J.length),qn=0;for(Xi=0;Xi<mt;Xi++)(Be&&P[Xi]!==J[Xi]||!Be&&L(P[Xi])!==L(J[Xi]))&&qn++;return qn+nn}(P._a,J.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var or=Ne.prototype;function xr(P,J,Be,mt){var nn=lo(),qn=He().set(mt,J);return nn[Be](qn,P)}function rs(P,J,Be){if(H(P)&&(J=P,P=void 0),P=P||"",null!=J)return xr(P,J,Be,"month");var mt,nn=[];for(mt=0;mt<12;mt++)nn[mt]=xr(P,mt,Be,"month");return nn}function co(P,J,Be,mt){"boolean"==typeof P?(H(J)&&(Be=J,J=void 0),J=J||""):(Be=J=P,P=!1,H(J)&&(Be=J,J=void 0),J=J||"");var Xi,nn=lo(),qn=P?nn._week.dow:0,Jr=[];if(null!=Be)return xr(J,(Be+qn)%7,mt,"day");for(Xi=0;Xi<7;Xi++)Jr[Xi]=xr(J,(Xi+qn)%7,mt,"day");return Jr}or.calendar=function Ut(P,J,Be){var mt=this._calendar[P]||this._calendar.sameElse;return de(mt)?mt.call(J,Be):mt},or.longDateFormat=function rt(P){var J=this._longDateFormat[P],Be=this._longDateFormat[P.toUpperCase()];return J||!Be?J:(this._longDateFormat[P]=Be.match(cn).map(function(mt){return"MMMM"===mt||"MM"===mt||"DD"===mt||"dddd"===mt?mt.slice(1):mt}).join(""),this._longDateFormat[P])}
vendor: 9,759 bytes, line 1
1,or.invalidDate=function We(){return this._invalidDate},or.ordinal=function It(P){return this._ordinal.replace("%d",P)},or.preparse=vr,or.postformat=vr,or.relativeTime=function ti(P,J,Be,mt){var nn=this._relativeTime[Be];return de(nn)?nn(P,J,Be,mt):nn.replace(/%d/i,P)},or.pastFuture=function Wn(P,J){var Be=this._relativeTime[P>0?"future":"past"];return de(Be)?Be(J):Be.replace(/%s/i,J)},or.set=function ae(P){var J,Be;for(Be in P)T(P,Be)&&(de(J=P[Be])?this[Be]=J:this["_"+Be]=J);this._config=P,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},or.eras=function pr(P,J){var Be,mt,nn,qn=this._eras||lo("en")._eras;for(Be=0,mt=qn.length;Be<mt;++Be)switch("string"==typeof qn[Be].since&&(nn=s(qn[Be].since).startOf("day"),qn[Be].since=nn.valueOf()),typeof qn[Be].until){case"undefined":qn[Be].until=1/0;break;case"string":nn=s(qn[Be].until).startOf("day").valueOf(),qn[Be].until=nn.valueOf()}return qn},or.erasParse=function io(P,J,Be){var mt,nn,Xi,Jr,ws,qn=this.eras();for(P=P.toUpperCase(),mt=0,nn=qn.length;mt<nn;++mt)if(Xi=qn[mt].name.toUpperCase(),Jr=qn[mt].abbr.toUpperCase(),ws=qn[mt].narrow.toUpperCase(),Be)switch(J){case"N":case"NN":case"NNN":if(Jr===P)return qn[mt];break;case"NNNN":if(Xi===P)return qn[mt];break;case"NNNNN":if(ws===P)return qn[mt]}else if([Xi,Jr,ws].indexOf(P)>=0)return qn[mt]},or.erasConvertYear=function So(P,J){var Be=P.since<=P.until?1:-1;return void 0===J?s(P.since).year():s(P.since).year()+(J-P.offset)*Be},or.erasAbbrRegex=function Pc(P){return T(this,"_erasAbbrRegex")||rl.call(this),P?this._erasAbbrRegex:this._erasRegex},or.erasNameRegex=function rn(P){return T(this,"_erasNameRegex")||rl.call(this),P?this._erasNameRegex:this._erasRegex},or.erasNarrowRegex=function ga(P){return T(this,"_erasNarrowRegex")||rl.call(this),P?this._erasNarrowRegex:this._erasRegex},or.months=function Ai(P,J){return P?y(this._months)?this._months[P.month()]:this._months[(this._months.isFormat||wn).test(J)?"format":"standalone"][P.month()]:y(this._months)?this._months:this._months.standalone},or.monthsShort=function ki(P,J){return P?y(this._monthsShort)?this._monthsShort[P.month()]:this._monthsShort[wn.test(J)?"format":"standalone"][P.month()]:y(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},or.monthsParse=function Cr(P,J,Be){var mt,nn,qn;if(this._monthsParseExact)return _r.call(this,P,J,Be);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),mt=0;mt<12;mt++){if(nn=He([2e3,mt]),Be&&!this._longMonthsParse[mt]&&(this._longMonthsParse[mt]=new RegExp("^"+this.months(nn,"").replace(".","")+"$","i"),this._shortMonthsParse[mt]=new RegExp("^"+this.monthsShort(nn,"").replace(".","")+"$","i")),!Be&&!this._monthsParse[mt]&&(qn="^"+this.months(nn,"")+"|^"+this.monthsShort(nn,""),this._monthsParse[mt]=new RegExp(qn.replace(".",""),"i")),Be&&"MMMM"===J&&this._longMonthsParse[mt].test(P))return mt;if(Be&&"MMM"===J&&this._shortMonthsParse[mt].test(P))return mt;if(!Be&&this._monthsParse[mt].test(P))return mt}},or.monthsRegex=function Xs(P){return this._monthsParseExact?(T(this,"_monthsRegex")||Fs.call(this),P?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=Di),this._monthsStrictRegex&&P?this._monthsStrictRegex:this._monthsRegex)},or.monthsShortRegex=function Cs(P){return this._monthsParseExact?(T(this,"_monthsRegex")||Fs.call(this),P?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=In),this._monthsShortStrictRegex&&P?this._monthsShortStrictRegex:this._monthsShortRegex)},or.week=function Jt(P){return vi(P,this._week.dow,this._week.doy).week},or.firstDayOfYear=function st(){return this._week.doy},or.firstDayOfWeek=function Q(){return this._week.dow},or.weekdays=function Lt(P,J){var Be=y(this._weekdays)?this._weekdays:this._weekdays[P&&!0!==P&&this._weekdays.isFormat.test(J)?"format":"standalone"];return!0===P?oo(Be,this._week.dow):P?Be[P.day()]:Be},or.weekdaysMin=function dt(P){return!0===P?oo(this._weekdaysMin,this._week.dow):P?this._weekdaysMin[P.day()]:this._weekdaysMin},or.weekdaysShort=function sn(P){return!0===P?oo(this._weekdaysShort,this._week.dow):P?this._weekdaysShort[P.day()]:this._weekdaysShort},or.weekdaysParse=function br(P,J,Be){var mt,nn,qn;if(this._weekdaysParseExact)return qi.call(this,P,J,Be);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),mt=0;mt<7;mt++){if(nn=He([2e3,1]).day(mt),Be&&!this._fullWeekdaysParse[mt]&&(this._fullWeekdaysParse[mt]=new RegExp("^"+this.weekdays(nn,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[mt]=new RegExp("^"+this.weekdaysShort(nn,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[mt]=new RegExp("^"+this.weekdaysMin(nn,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[mt]||(qn="^"+this.weekdays(nn,"")+"|^"+this.weekdaysShort(nn,"")+"|^"+this.weekdaysMin(nn,""),this._weekdaysParse[mt]=new RegExp(qn.replace(".",""),"i")),Be&&"dddd"===J&&this._fullWeekdaysParse[mt].test(P))return mt;if(Be&&"ddd"===J&&this._shortWeekdaysParse[mt].test(P))return mt;if(Be&&"dd"===J&&this._minWeekdaysParse[mt].test(P))return mt;if(!Be&&this._weekdaysParse[mt].test(P))return mt}},or.weekdaysRegex=function Fn(P){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||Ui.call(this),P?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=ia),this._weekdaysStrictRegex&&P?this._weekdaysStrictRegex:this._weekdaysRegex)},or.weekdaysShortRegex=function Vn(P){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||Ui.call(this),P?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dt),this._weekdaysShortStrictRegex&&P?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},or.weekdaysMinRegex=function Ii(P){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||Ui.call(this),P?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=An),this._weekdaysMinStrictRegex&&P?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},or.isPM=function ds(P){return"p"===(P+"").toLowerCase().charAt(0)},or.meridiem=function As(P,J,Be){return P>11?Be?"pm":"PM":Be?"am":"AM"},Or("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(P){var J=P%10;return P+(1===L(P%100/10)?"th":1===J?"st":2===J?"nd":3===J?"rd":"th")}}),s.lang=$e("moment.lang is deprecated. Use moment.locale instead.",Or),s.langData=$e("moment.langData is deprecated. Use moment.localeData instead.",lo);var xo=Math.abs;function jo(P,J,Be,mt){var nn=qs(J,Be);return P._milliseconds+=mt*nn._milliseconds,P._days+=mt*nn._days,P._months+=mt*nn._months,P._bubble()}function Ia(P){return P<0?Math.floor(P):Math.ceil(P)}function hl(P){return 4800*P/146097}function Xa(P){return 146097*P/4800}function _c(P){return function(){return this.as(P)}}var gc=_c("ms"),Ca=_c("s"),uo=_c("m"),Kc=_c("h"),wu=_c("d"),vc=_c("w"),Tu=_c("M"),le=_c("Q"),At=_c("y"),mn=gc;function Fr(P){return function(){return this.isValid()?this._data[P]:NaN}}var vo=Fr("milliseconds"),Bo=Fr("seconds"),Va=Fr("minutes"),Ro=Fr("hours"),Ja=Fr("days"),Nd=Fr("months"),Kd=Fr("years");var Ua=Math.round,Lc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qd(P,J,Be,mt,nn){return nn.relativeTime(J||1,!!Be,P,mt)}var va=Math.abs;function Dc(P){return(P>0)-(P<0)||+P}function wc(){if(!this.isValid())return this.localeData().invalidDate();var mt,nn,qn,Xi,ws,fo,Na,Zl,P=va(this._milliseconds)/1e3,J=va(this._days),Be=va(this._months),Jr=this.asSeconds();return Jr?(mt=_e(P/60),nn=_e(mt/60),P%=60,mt%=60,qn=_e(Be/12),Be%=12,Xi=P?P.toFixed(3).replace(/\.?0+$/,""):"",ws=Jr<0?"-":"",fo=Dc(this._months)!==Dc(Jr)?"-":"",Na=Dc(this._days)!==Dc(Jr)?"-":"",Zl=Dc(this._milliseconds)!==Dc(Jr)?"-":"",ws+"P"+(qn?fo+qn+"Y":"")+(Be?fo+Be+"M":"")+(J?Na+J+"D":"")+(nn||mt||P?"T":"")+(nn?Zl+nn+"H":"")+(mt?Zl+mt+"M":"")+(P?Zl+Xi+"S":"")):"P0D"}var Po=_o.prototype;return Po.isValid=function Qr(){return this._isValid},Po.abs=function es(){var P=this._data;return this._milliseconds=xo(this._milliseconds),this._days=xo(this._days),this._months=xo(this._months),P.milliseconds=xo(P.milliseconds),P.seconds=xo(P.seconds),P.minutes=xo(P.minutes),P.hours=xo(P.hours),P.months=xo(P.months),P.years=xo(P.years),this},Po.add=function ul(P,J){return jo(this,P,J,1)},Po.subtract=function pc(P,J){return jo(this,P,J,-1)},Po.as=function Gd(P){if(!this.isValid())return NaN;var J,Be,mt=this._milliseconds;if("month"===(P=Bn(P))||"quarter"===P||"year"===P)switch(J=this._days+mt/864e5,Be=this._months+hl(J),P){case"month":return Be;case"quarter":return Be/3;case"year":return Be/12}else switch(J=this._days+Math.round(Xa(this._months)),P){case"week":return J/7+mt/6048e5;case"day":return J+mt/864e5;case"hour":return 24*J+mt/36e5;case"minute":return 1440*J+mt/6e4;case"second":return 86400*J+mt/1e3;case"millisecond":return Math.floor(864e5*J)+mt;default:throw new Error("Unknown unit "+P)}},Po.asMilliseconds=gc,Po.asSeconds=Ca,Po.asMinutes=uo,Po.asHours=Kc,Po.asDays=wu,Po.asWeeks=vc,Po.asMonths=Tu,Po.asQuarters=le,Po.asYears=At,Po.valueOf=mn,Po._bubble=function Ul(){var nn,qn,Xi,Jr,ws,P=this._milliseconds,J=this._days,Be=this._months,mt=this._data;return P>=0&&J>=0&&Be>=0||P<=0&&J<=0&&Be<=0||(P+=864e5*Ia(Xa(Be)+J),J=0,Be=0),mt.milliseconds=P%1e3,nn=_e(P/1e3),mt.seconds=nn%60,qn=_e(nn/60),mt.minutes=qn%60,Xi=_e(qn/60),mt.hours=Xi%24,J+=_e(Xi/24),Be+=ws=_e(hl(J)),J-=Ia(Xa(ws)),Jr
vendor: 5,640 bytes, line 1
1=_e(Be/12),Be%=12,mt.days=J,mt.months=Be,mt.years=Jr,this},Po.clone=function Fi(){return qs(this)},Po.get=function er(P){return P=Bn(P),this.isValid()?this[P+"s"]():NaN},Po.milliseconds=vo,Po.seconds=Bo,Po.minutes=Va,Po.hours=Ro,Po.days=Ja,Po.weeks=function Mu(){return _e(this.days()/7)},Po.months=Nd,Po.years=Kd,Po.humanize=function Nc(P,J){if(!this.isValid())return this.localeData().invalidDate();var nn,qn,Be=!1,mt=Lc;return"object"==typeof P&&(J=P,P=!1),"boolean"==typeof P&&(Be=P),"object"==typeof J&&(mt=Object.assign({},Lc,J),null!=J.s&&null==J.ss&&(mt.ss=J.s-1)),qn=function Fd(P,J,Be,mt){var nn=qs(P).abs(),qn=Ua(nn.as("s")),Xi=Ua(nn.as("m")),Jr=Ua(nn.as("h")),ws=Ua(nn.as("d")),fo=Ua(nn.as("M")),Na=Ua(nn.as("w")),Zl=Ua(nn.as("y")),jl=qn<=Be.ss&&["s",qn]||qn<Be.s&&["ss",qn]||Xi<=1&&["m"]||Xi<Be.m&&["mm",Xi]||Jr<=1&&["h"]||Jr<Be.h&&["hh",Jr]||ws<=1&&["d"]||ws<Be.d&&["dd",ws];return null!=Be.w&&(jl=jl||Na<=1&&["w"]||Na<Be.w&&["ww",Na]),(jl=jl||fo<=1&&["M"]||fo<Be.M&&["MM",fo]||Zl<=1&&["y"]||["yy",Zl])[2]=J,jl[3]=+P>0,jl[4]=mt,Qd.apply(null,jl)}(this,!Be,mt,nn=this.localeData()),Be&&(qn=nn.pastFuture(+this,qn)),nn.postformat(qn)},Po.toISOString=wc,Po.toString=wc,Po.toJSON=wc,Po.locale=Sc,Po.localeData=dd,Po.toIsoString=$e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wc),Po.lang=rc,Pe("X",0,0,"unix"),Pe("x",0,0,"valueOf"),Ue("x",fr),Ue("X",/[+-]?\d+(\.\d{1,3})?/),X("X",function(P,J,Be){Be._d=new Date(1e3*parseFloat(P))}),X("x",function(P,J,Be){Be._d=new Date(L(P))}),s.version="2.30.1",function h(P){o=P}(Kr),s.fn=en,s.min=function tt(){return tl("isBefore",[].slice.call(arguments,0))},s.max=function Et(){return tl("isAfter",[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=He,s.unix=function Nn(P){return Kr(1e3*P)},s.months=function Ss(P,J){return rs(P,J,"months")},s.isDate=B,s.locale=Or,s.invalid=ze,s.duration=qs,s.isMoment=Je,s.weekdays=function Ma(P,J,Be){return co(P,J,Be,"weekdays")},s.parseZone=function Si(){return Kr.apply(null,arguments).parseZone()},s.localeData=lo,s.isDuration=Yo,s.monthsShort=function ta(P,J){return rs(P,J,"monthsShort")},s.weekdaysMin=function Il(P,J,Be){return co(P,J,Be,"weekdaysMin")},s.defineLocale=is,s.updateLocale=function Gr(P,J){if(null!=J){var Be,mt,nn=kl;null!=Ct[P]&&null!=Ct[P].parentLocale?Ct[P].set(he(Ct[P]._config,J)):(null!=(mt=Lr(P))&&(nn=mt._config),J=he(nn,J),null==mt&&(J.abbr=P),(Be=new Ne(J)).parentLocale=Ct[P],Ct[P]=Be),Or(P)}else null!=Ct[P]&&(null!=Ct[P].parentLocale?(Ct[P]=Ct[P].parentLocale,P===Or()&&Or(P)):null!=Ct[P]&&delete Ct[P]);return Ct[P]},s.locales=function ms(){return ve(Ct)},s.weekdaysShort=function La(P,J,Be){return co(P,J,Be,"weekdaysShort")},s.normalizeUnits=Bn,s.relativeTimeRounding=function hd(P){return void 0===P?Ua:"function"==typeof P&&(Ua=P,!0)},s.relativeTimeThreshold=function fd(P,J){return void 0!==Lc[P]&&(void 0===J?Lc[P]:(Lc[P]=J,"s"===P&&(Lc.ss=J-1),!0))},s.calendarFormat=function gl(P,J){var Be=P.diff(J,"days",!0);return Be<-6?"sameElse":Be<-1?"lastWeek":Be<0?"lastDay":Be<1?"sameDay":Be<2?"nextDay":Be<7?"nextWeek":"sameElse"},s.prototype=en,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()},4412(tn,Ye,d){"use strict";d.d(Ye,{t:()=>s});var o=d(1413);class s extends o.B{constructor(y){super(),this._value=y}get value(){return this.getValue()}_subscribe(y){const v=super._subscribe(y);return!v.closed&&y.next(this._value),v}getValue(){const{hasError:y,thrownError:v,_value:T}=this;if(y)throw v;return this._throwIfClosed(),T}next(y){super.next(this._value=y)}}},1985(tn,Ye,d){"use strict";d.d(Ye,{c:()=>k});var o=d(7707),s=d(8359),h=d(3494),y=d(1203),v=d(1026),T=d(8071),M=d(9786);let k=(()=>{class ye{constructor(Mt){Mt&&(this._subscribe=Mt)}lift(Mt){const Ge=new ye;return Ge.source=this,Ge.operator=Mt,Ge}subscribe(Mt,Ge,Qe){const Xe=function x(ye){return ye&&ye instanceof o.vU||function B(ye){return ye&&(0,T.T)(ye.next)&&(0,T.T)(ye.error)&&(0,T.T)(ye.complete)}(ye)&&(0,s.Uv)(ye)}(Mt)?Mt:new o.Ms(Mt,Ge,Qe);return(0,M.Y)(()=>{const{operator:ze,source:Le}=this;Xe.add(ze?ze.call(Xe,Le):Le?this._subscribe(Xe):this._trySubscribe(Xe))}),Xe}_trySubscribe(Mt){try{return this._subscribe(Mt)}catch(Ge){Mt.error(Ge)}}forEach(Mt,Ge){return new(Ge=H(Ge))((Qe,Xe)=>{const ze=new o.Ms({next:Le=>{try{Mt(Le)}catch(ge){Xe(ge),ze.unsubscribe()}},error:Xe,complete:Qe});this.subscribe(ze)})}_subscribe(Mt){var Ge;return null===(Ge=this.source)||void 0===Ge?void 0:Ge.subscribe(Mt)}[h.s](){return this}pipe(...Mt){return(0,y.m)(Mt)(this)}toPromise(Mt){return new(Mt=H(Mt))((Ge,Qe)=>{let Xe;this.subscribe(ze=>Xe=ze,ze=>Qe(ze),()=>Ge(Xe))})}}return ye.create=He=>new ye(He),ye})();function H(ye){var He;return null!==(He=ye??v.$.Promise)&&void 0!==He?He:Promise}},2771(tn,Ye,d){"use strict";d.d(Ye,{m:()=>h});var o=d(1413),s=d(6129);class h extends o.B{constructor(v=1/0,T=1/0,M=s.U){super(),this._bufferSize=v,this._windowTime=T,this._timestampProvider=M,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=T===1/0,this._bufferSize=Math.max(1,v),this._windowTime=Math.max(1,T)}next(v){const{isStopped:T,_buffer:M,_infiniteTimeWindow:k,_timestampProvider:H,_windowTime:B}=this;T||(M.push(v),!k&&M.push(H.now()+B)),this._trimBuffer(),super.next(v)}_subscribe(v){this._throwIfClosed(),this._trimBuffer();const T=this._innerSubscribe(v),{_infiniteTimeWindow:M,_buffer:k}=this,H=k.slice();for(let B=0;B<H.length&&!v.closed;
vendor: 4,069 bytes, line 1
1B+=M?1:2)v.next(H[B]);return this._checkFinalizedStatuses(v),T}_trimBuffer(){const{_bufferSize:v,_timestampProvider:T,_buffer:M,_infiniteTimeWindow:k}=this,H=(k?1:2)*v;if(v<1/0&&H<M.length&&M.splice(0,M.length-H),!k){const B=T.now();let x=0;for(let ye=1;ye<M.length&&M[ye]<=B;ye+=2)x=ye;x&&M.splice(0,x+1)}}}},1413(tn,Ye,d){"use strict";d.d(Ye,{B:()=>M});var o=d(1985),s=d(8359);const y=(0,d(1853).L)(H=>function(){H(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var v=d(7908),T=d(9786);let M=(()=>{class H extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(x){const ye=new k(this,this);return ye.operator=x,ye}_throwIfClosed(){if(this.closed)throw new y}next(x){(0,T.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const ye of this.currentObservers)ye.next(x)}})}error(x){(0,T.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=x;const{observers:ye}=this;for(;ye.length;)ye.shift().error(x)}})}complete(){(0,T.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:x}=this;for(;x.length;)x.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var x;return(null===(x=this.observers)||void 0===x?void 0:x.length)>0}_trySubscribe(x){return this._throwIfClosed(),super._trySubscribe(x)}_subscribe(x){return this._throwIfClosed(),this._checkFinalizedStatuses(x),this._innerSubscribe(x)}_innerSubscribe(x){const{hasError:ye,isStopped:He,observers:Mt}=this;return ye||He?s.Kn:(this.currentObservers=null,Mt.push(x),new s.yU(()=>{this.currentObservers=null,(0,v.o)(Mt,x)}))}_checkFinalizedStatuses(x){const{hasError:ye,thrownError:He,isStopped:Mt}=this;ye?x.error(He):Mt&&x.complete()}asObservable(){const x=new o.c;return x.source=this,x}}return H.create=(B,x)=>new k(B,x),H})();class k extends M{constructor(B,x){super(),this.destination=B,this.source=x}next(B){var x,ye;null===(ye=null===(x=this.destination)||void 0===x?void 0:x.next)||void 0===ye||ye.call(x,B)}error(B){var x,ye;null===(ye=null===(x=this.destination)||void 0===x?void 0:x.error)||void 0===ye||ye.call(x,B)}complete(){var B,x;null===(x=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===x||x.call(B)}_subscribe(B){var x,ye;return null!==(ye=null===(x=this.source)||void 0===x?void 0:x.subscribe(B))&&void 0!==ye?ye:s.Kn}}},7707(tn,Ye,d){"use strict";d.d(Ye,{Ms:()=>Qe,vU:()=>ye});var o=d(8071),s=d(8359),h=d(1026),y=d(5334),v=d(5343);const T=H("C",void 0,void 0);function H(ue,kt,Je){return{kind:ue,value:kt,error:Je}}var B=d(9270),x=d(9786);class ye extends s.yU{constructor(kt){super(),this.isStopped=!1,kt?(this.destination=kt,(0,s.Uv)(kt)&&kt.add(this)):this.destination=ge}static create(kt,Je,Ke){return new Qe(kt,Je,Ke)}next(kt){this.isStopped?Le(function k(ue){return H("N",ue,void 0)}(kt),this):this._next(kt)}error(kt){this.isStopped?Le(function M(ue){return H("E",void 0,ue)}(kt),this):(this.isStopped=!0,this._error(kt))}complete(){this.isStopped?Le(T,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(kt){this.destination.next(kt)}_error(kt){try{this.destination.error(kt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const He=Function.prototype.bind;function Mt(ue,kt){return He.call(ue,kt)}class Ge{constructor(kt){this.partialObserver=kt}next(kt){const{partialObserver:Je}=this;if(Je.next)try{Je.next(kt)}catch(Ke){Xe(Ke)}}error(kt){const{partialObserver:Je}=this;if(Je.error)try{Je.error(kt)}catch(Ke){Xe(Ke)}else Xe(kt)}complete(){const{partialObserver:kt}=this;if(kt.complete)try{kt.complete()}catch(Je){Xe(Je)}}}class Qe extends ye{constructor(kt,Je,Ke){let $e;if(super(),(0,o.T)(kt)||!kt)$e={next:kt??void 0,error:Je??void 0,complete:Ke??void 0};else{let lt;
1this&&h.$.useDeprecatedNextContext?(lt=Object.create(kt),lt.unsubscribe=()=>this.unsubscribe(),$e={next:kt.next&&Mt(kt.next,lt),error:kt.error&&Mt(kt.error,lt),complete:kt.complete&&Mt(kt.complete,lt)}):$e=kt}this.destination=new Ge($e)}}function Xe(ue){h.$.useDeprecatedSynchronousErrorHandling?(0,x.l)(ue):(0,y.m)(ue)}function Le(ue,kt){const{onStoppedNotification:Je}=h.$;Je&&B.f.setTimeout(()=>Je(ue,kt))}const ge={closed:!0,next:v.l,error:function ze(ue){throw ue},complete:v.l}},8359(tn,Ye,d){"use strict";d.d(Ye,{Kn:()=>T,yU:()=>v,Uv:()=>M});var o=d(8071);const h=(0,d(1853).L)(H=>function(x){H(this),this.message=x?`${x.length} errors occurred during unsubscription:\n${x.map((ye,He)=>`${He+1}) ${ye.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=x});var y=d(7908);class v{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:x}=this;if(x)if(this._parentage=null,Array.isArray(x))for(const Mt of x)Mt.remove(this);else x.remove(this);const{initialTeardown:ye}=this;if((0,o.T)(ye))try{ye()}catch(Mt){B=Mt instanceof h?Mt.errors:[Mt]}const{_finalizers:He}=this;if(He){this._finalizers=null;for(const Mt of He)try{k(Mt)}catch(Ge){B=B??[],Ge instanceof h?B=[...B,...Ge.errors]:B.push(Ge)}}if(B)throw new h(B)}}add(B){var x;if(B&&B!==this)if(this.closed)k(B);else{if(B instanceof v){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(x=this._finalizers)&&void 0!==x?x:[]).push(B)}}_hasParent(B){const{_parentage:x}=this;return x===B||Array.isArray(x)&&x.includes(B)}_addParent(B){const{_parentage:x}=this;this._parentage=Array.isArray(x)?(x.push(B),x):x?[x,B]:B}_removeParent(B){const{_parentage:x}=this;x===B?this._parentage=null:Array.isArray(x)&&(0,y.o)(x,B)}remove(B){const{_finalizers:x}=this;x&&(0,y.o)(x,B),B instanceof v&&B._removeParent(this)}}v.EMPTY=(()=>{const H=new v;return H.closed=!0,H})();const T=v.EMPTY;function M(H){return H instanceof v||H&&"closed"in H&&(0,o.T)(H.remove)&&(0,o.T)(H.add)&&(0,o.T)(H.unsubscribe)}function k(H){(0,o.T)(H)?H():H.unsubscribe()}},1026(tn,Ye,d){"use strict";d.d(Ye,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3207(tn,Ye,d){"use strict";d.d(Ye,{s:()=>s});var o=d(9350);function s(h,y){const v="object"==typeof y;return new Promise((T,M)=>{let H,k=!1;h.subscribe({next:B=>{H=B,k=!0},error:M,complete:()=>{k?T(H):v?T(y.defaultValue):M(new o.G)}})})}},17(tn,Ye,d){"use strict";d.d(Ye,{G:()=>T});var o=d(1985),s=d(8359),h=d(9898),y=d(4360),v=d(9974);class T extends o.c{constructor(k,H){super(),this.source=k,this.subjectFactory=H,this._subject=null,this._refCount=0,this._connection=null,(0,v.S)(k)&&(this.lift=k.lift)}_subscribe(k){return this.getSubject().subscribe(k)}getSubject(){const k=this._subject;return(!k||k.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:k}=this;this._subject=this._connection=null,k?.unsubscribe()}connect(){let k=this._connection;if(!k){k=this._connection=new s.yU;const H=this.getSubject();k.add(this.source.subscribe((0,y._)(H,void 0,()=>{this._teardown(),H.complete()},B=>{this._teardown(),H.error(B)},()=>this._teardown()))),k.closed&&(this._connection=null,k=s.yU.EMPTY)}return k}refCount(){return(0,h.B)()(this)}}},4572(tn,Ye,d){"use strict";d.d(Ye,{z:()=>B});var o=d(1985),s=d(3073),h=d(8455),y=d(3669),v=d(6450),T=d(9326),M=d(8496),k=d(4360),H=d(5225);function B(...He){const Mt=(0,T.lI)(He),Ge=(0,T.ms)(He),{args:Qe,keys:Xe}=(0,s.D)(He);if(0===Qe.length)return(0,h.H)([],Mt);const ze=new o.c(function x(He,Mt,Ge=y.D){return Qe=>{ye(Mt,()=>{const{length:Xe}=He,ze=new Array(Xe);let Le=Xe,ge=Xe;for(let ue=0;ue<Xe;ue++)ye(Mt,()=>{const kt=(0,h.H)(He[ue],Mt);let Je=!1;kt.subscribe((0,k._)(Qe,Ke=>{ze[ue]=Ke,Je||(Je=!0,ge--),ge||Qe.next(Ge(ze.slice()))},()=>{--Le||Qe.complete()}))},Qe)},Qe)}}(Qe,Mt,Xe?Le=>(0,M.e)(Xe,Le):y.D));return Ge?ze.pipe((0,v.I)(Ge)):ze}function ye(He,Mt,Ge){He?(0,H.N)(Ge,He,Mt):Mt()}},8793(tn,Ye,d){"use strict";d.d(Ye,{x:()=>v});var o=d(6365),h=d(9326),y=d(8455);function v(...T){return function s(){return(0,o.U)(1)}()((0,y.H)(T,(0,h.lI)(T)))}},9030(tn,Ye,d){"use strict";d.d(Ye,{v:()=>h});var o=d(1985),s=d(8750);function h(y){return new o.c(v=>{(0,s.Tg)(y()).subscribe(v)})}},983(tn,Ye,d){"use strict";d.d(Ye,{w:()=>h});const h=new(d(1985).c)(T=>T.complete())},7468(tn,Ye,d){"use strict";d.d(Ye,{p:()=>k});var o=d(1985),s=d(3073),h=d(8750),y=d(9326),v=d(4360),T=d(6450),M=d(8496);
1function k(...H){const B=(0,y.ms)(H),{args:x,keys:ye}=(0,s.D)(H),He=new o.c(Mt=>{const{length:Ge}=x;if(!Ge)return void Mt.complete();const Qe=new Array(Ge);let Xe=Ge,ze=Ge;for(let Le=0;Le<Ge;Le++){let ge=!1;(0,h.Tg)(x[Le]).subscribe((0,v._)(Mt,ue=>{ge||(ge=!0,ze--),Qe[Le]=ue},()=>Xe--,void 0,()=>{(!Xe||!ge)&&(ze||Mt.next(ye?(0,M.e)(ye,Qe):Qe),Mt.complete())}))}});return B?He.pipe((0,T.I)(B)):He}},8455(tn,Ye,d){"use strict";d.d(Ye,{H:()=>kt});var o=d(8750),s=d(941),h=d(6745),T=d(1985),k=d(4761),H=d(8071),B=d(5225);function ye(Je,Ke){if(!Je)throw new Error("Iterable cannot be null");return new T.c($e=>{(0,B.N)($e,Ke,()=>{const lt=Je[Symbol.asyncIterator]();(0,B.N)($e,Ke,()=>{lt.next().then(q=>{q.done?$e.complete():$e.next(q.value)})},0,!0)})})}var He=d(5055),Mt=d(9858),Ge=d(7441),Qe=d(5397),Xe=d(7953),ze=d(591),Le=d(5196);function kt(Je,Ke){return Ke?function ue(Je,Ke){if(null!=Je){if((0,He.l)(Je))return function y(Je,Ke){return(0,o.Tg)(Je).pipe((0,h._)(Ke),(0,s.Q)(Ke))}(Je,Ke);if((0,Ge.X)(Je))return function M(Je,Ke){return new T.c($e=>{let lt=0;return Ke.schedule(function(){lt===Je.length?$e.complete():($e.next(Je[lt++]),$e.closed||this.schedule())})})}(Je,Ke);if((0,Mt.y)(Je))return function v(Je,Ke){return(0,o.Tg)(Je).pipe((0,h._)(Ke),(0,s.Q)(Ke))}(Je,Ke);if((0,Xe.T)(Je))return ye(Je,Ke);if((0,Qe.x)(Je))return function x(Je,Ke){return new T.c($e=>{let lt;return(0,B.N)($e,Ke,()=>{lt=Je[k.l](),(0,B.N)($e,Ke,()=>{let q,de;try{({value:q,done:de}=lt.next())}catch(ae){return void $e.error(ae)}de?$e.complete():$e.next(q)},0,!0)}),()=>(0,H.T)(lt?.return)&<.return()})}(Je,Ke);if((0,Le.U)(Je))return function ge(Je,Ke){return ye((0,Le.C)(Je),Ke)}(Je,Ke)}throw(0,ze.L)(Je)}(Je,Ke):(0,o.Tg)(Je)}},3726(tn,Ye,d){"use strict";d.d(Ye,{R:()=>B});var o=d(8750),s=d(1985),h=d(1397),y=d(7441),v=d(8071),T=d(6450);const M=["addListener","removeListener"],k=["addEventListener","removeEventListener"],H=["on","off"];function B(Ge,Qe,Xe,ze){if((0,v.T)(Xe)&&(ze=Xe,Xe=void 0),ze)return B(Ge,Qe,Xe).pipe((0,T.I)(ze));const[Le,ge]=function Mt(Ge){return(0,v.T)(Ge.addEventListener)&&(0,v.T)(Ge.removeEventListener)}(Ge)?k.map(ue=>kt=>Ge[ue](Qe,kt,Xe)):function ye(Ge){return(0,v.T)(Ge.addListener)&&(0,v.T)(Ge.removeListener)}(Ge)?M.map(x(Ge,Qe)):function He(Ge){return(0,v.T)(Ge.on)&&(0,v.T)(Ge.off)}(Ge)?H.map(x(Ge,Qe)):[];if(!Le&&(0,y.X)(Ge))return(0,h.Z)(ue=>B(ue,Qe,Xe))((0,o.Tg)(Ge));if(!Le)throw new TypeError("Invalid event target");return new s.c(ue=>{const kt=(...Je)=>ue.next(1<Je.length?Je:Je[0]);return Le(kt),()=>ge(kt)})}function x(Ge,Qe){return Xe=>ze=>Ge[Xe](Qe,ze)}},8750(tn,Ye,d){"use strict";d.d(Ye,{Tg:()=>He});var o=d(1635),s=d(7441),h=d(9858),y=d(1985),v=d(5055),T=d(7953),M=d(591),k=d(5397),H=d(5196),B=d(8071),x=d(5334),ye=d(3494);function He(ue){if(ue instanceof y.c)return ue;if(null!=ue){if((0,v.l)(ue))return function Mt(ue){return new y.c(kt=>{const Je=ue[ye.s]();if((0,B.T)(Je.subscribe))return Je.subscribe(kt);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,s.X)(ue))return function Ge(ue){return new y.c(kt=>{for(let Je=0;Je<ue.length&&!kt.closed;Je++)kt.next(ue[Je]);kt.complete()})}(ue);if((0,h.y)(ue))return function Qe(ue){return new y.c(kt=>{ue.then(Je=>{kt.closed||(kt.next(Je),kt.complete())},Je=>kt.error(Je)).then(null,x.m)})}(ue);if((0,T.T)(ue))return ze(ue);if((0,k.x)(ue))return function Xe(ue){return new y.c(kt=>{for(const Je of ue)if(kt.next(Je),kt.closed)return;kt.complete()})}(ue);if((0,H.U)(ue))return function Le(ue){return ze((0,H.C)(ue))}(ue)}throw(0,M.L)(ue)}function ze(ue){return new y.c(kt=>{(function ge(ue,kt){var Je,Ke,$e,lt;return(0,o.sH)(this,void 0,void 0,function*(){try{for(Je=(0,o.xN)(ue);!(Ke=yield Je.next()).done;)if(kt.next(Ke.value),kt.closed)return}catch(q){$e={error:q}}finally{try{Ke&&!Ke.done&&(lt=Je.return)&&(yield lt.call(Je))}finally{if($e)throw $e.error}}kt.complete()})})(ue,kt).catch(Je=>kt.error(Je))})}},7786(tn,Ye,d){"use strict";d.d(Ye,{h:()=>T});var o=d(6365),s=d(8750),h=d(983),y=d(9326),v=d(8455);function T(...M){const k=(0,y.lI)(M),H=(0,y.R0)(M,1/0),B=M;return B.length?1===B.length?(0,s.Tg)(B[0]):(0,o.U)(H)((0,v.H)(B,k)):h.w}},7673(tn,Ye,d){"use strict";d.d(Ye,{of:()=>h});var o=d(9326),s=d(8455);function h(...y){const v=(0,o.lI)(y);return(0,s.H)(y,v)}},8810(tn,Ye,d){"use strict";d.d(Ye,{$:()=>h});var o=d(1985),s=d(8071);function h(y,v){const T=(0,s.T)(y)?y:()=>y,M=k=>k.error(T());return new o.c(v?k=>v.schedule(M,0,k):M)}},1584(tn,Ye,d){"use strict";d.d(Ye,{O:()=>v});var o=d(1985),s=d(3236),h=d(9470);function v(T=0,M,k=s.b){let H=-1;return null!=M&&((0,h.m)(M)?k=M:H=M),new o.c(B=>{let x=function y(T){return T instanceof Date&&!isNaN(T)}(T)?+T-k.now():T;x<0&&(x=0);let ye=0;return k.schedule(function(){B.closed||(B.next(ye++),0<=H?this.schedule(void 0,H):B.complete())},x)})}},4360(tn,Ye,d){"use strict";d.d(Ye,{H:()=>h,_:()=>s});var o=d(7707);function s(y,v,T,M,k){return new h(y,v,T,M,k)}class h extends o.vU{constructor(v,T,M,k,H,B){super(v),this.onFinalize=H,this.shouldUnsubscribe=B,this._next=T?function(x){try{T(x)}catch(ye){v.error(ye)}}:super._next,this._error=k?function(x){try{k(x)}catch(ye){v.error(ye)}finally{this.unsubscribe()}}:super._error,this._complete=M?function(){try{M()}catch(x){v.error(x)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var v;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:T}=this;super.unsubscribe(),!T&&(null===(v=this.onFinalize)||void 0===v||v.call(this))}}}},3798(tn,Ye,d){"use strict";d.d(Ye,{Z:()=>M});var o=d(3236),s=d(9974),h=d(8750),y=d(4360),T=d(1584);function M(k,H=o.E){return function v(k){return(0,s.N)((H,B)=>{let x=!1,ye=null,He=null,Mt=!1;const Ge=()=>{if(He?.unsubscribe(),He=null,x){x=!1;const Xe=ye;ye=null,B.next(Xe)}Mt&&B.complete()},Qe=()=>{He=null,Mt&&B.complete()};H.subscribe((0,y._)(B,Xe=>{x=!0,ye=Xe,He||(0,h.Tg)(k(Xe)).subscribe(He=(0,y._)(B,Ge,Qe))},()=>{Mt=!0,(!x||!He||He.closed)&&B.complete()}
1))})}(()=>(0,T.O)(k,H))}},9437(tn,Ye,d){"use strict";d.d(Ye,{W:()=>y});var o=d(8750),s=d(4360),h=d(9974);function y(v){return(0,h.N)((T,M)=>{let B,k=null,H=!1;k=T.subscribe((0,s._)(M,void 0,void 0,x=>{B=(0,o.Tg)(v(x,y(v)(T))),k?(k.unsubscribe(),k=null,B.subscribe(M)):H=!0})),H&&(k.unsubscribe(),k=null,B.subscribe(M))})}},274(tn,Ye,d){"use strict";d.d(Ye,{H:()=>h});var o=d(1397),s=d(8071);function h(y,v){return(0,s.T)(v)?(0,o.Z)(y,v,1):(0,o.Z)(y,1)}},152(tn,Ye,d){"use strict";d.d(Ye,{B:()=>y});var o=d(3236),s=d(9974),h=d(4360);function y(v,T=o.E){return(0,s.N)((M,k)=>{let H=null,B=null,x=null;const ye=()=>{if(H){H.unsubscribe(),H=null;const Mt=B;B=null,k.next(Mt)}};function He(){const Mt=x+v,Ge=T.now();if(Ge<Mt)return H=this.schedule(void 0,Mt-Ge),void k.add(H);ye()}M.subscribe((0,h._)(k,Mt=>{B=Mt,x=T.now(),H||(H=T.schedule(He,v),k.add(H))},()=>{ye(),k.complete()},void 0,()=>{B=H=null}))})}},9901(tn,Ye,d){"use strict";d.d(Ye,{U:()=>h});var o=d(9974),s=d(4360);function h(y){return(0,o.N)((v,T)=>{let M=!1;v.subscribe((0,s._)(T,k=>{M=!0,T.next(k)},()=>{M||T.next(y),T.complete()}))})}},1986(tn,Ye,d){"use strict";d.d(Ye,{c:()=>He});var o=d(3236),s=d(8793),h=d(6697),y=d(9974),v=d(4360),T=d(5343),k=d(3703),H=d(1397),B=d(8750);function x(Mt,Ge){return Ge?Qe=>(0,s.x)(Ge.pipe((0,h.s)(1),function M(){return(0,y.N)((Mt,Ge)=>{Mt.subscribe((0,v._)(Ge,T.l))})}()),Qe.pipe(x(Mt))):(0,H.Z)((Qe,Xe)=>(0,B.Tg)(Mt(Qe,Xe)).pipe((0,h.s)(1),(0,k.u)(Qe)))}var ye=d(1584);function He(Mt,Ge=o.E){const Qe=(0,ye.O)(Mt,Ge);return x(()=>Qe)}},3294(tn,Ye,d){"use strict";d.d(Ye,{F:()=>y});var o=d(3669),s=d(9974),h=d(4360);function y(T,M=o.D){return T=T??v,(0,s.N)((k,H)=>{let B,x=!0;k.subscribe((0,h._)(H,ye=>{const He=M(ye);(x||!T(B,He))&&(x=!1,B=He,H.next(ye))}))})}function v(T,M){return T===M}},5964(tn,Ye,d){"use strict";d.d(Ye,{p:()=>h});var o=d(9974),s=d(4360);function h(y,v){return(0,o.N)((T,M)=>{let k=0;T.subscribe((0,s._)(M,H=>y.call(v,H,k++)&&M.next(H)))})}},980(tn,Ye,d){"use strict";d.d(Ye,{j:()=>s});var o=d(9974);function s(h){return(0,o.N)((y,v)=>{try{y.subscribe(v)}finally{v.add(h)}})}},1594(tn,Ye,d){"use strict";d.d(Ye,{$:()=>M});var o=d(9350),s=d(5964),h=d(6697),y=d(9901),v=d(3774),T=d(3669);function M(k,H){const B=arguments.length>=2;return x=>x.pipe(k?(0,s.p)((ye,He)=>k(ye,He,x)):T.D,(0,h.s)(1),B?(0,y.U)(H):(0,v.v)(()=>new o.G))}},6354(tn,Ye,d){"use strict";d.d(Ye,{T:()=>h});var o=d(9974),s=d(4360);function h(y,v){return(0,o.N)((T,M)=>{let k=0;T.subscribe((0,s._)(M,H=>{M.next(y.call(v,H,k++))}))})}},3703(tn,Ye,d){"use strict";d.d(Ye,{u:()=>s});var o=d(6354);function s(h){return(0,o.T)(()=>h)}},6365(tn,Ye,d){"use strict";d.d(Ye,{U:()=>h});var o=d(1397),s=d(3669);function h(y=1/0){return(0,o.Z)(s.D,y)}},1397(tn,Ye,d){"use strict";d.d(Ye,{Z:()=>k});var o=d(6354),s=d(8750),h=d(9974),y=d(5225),v=d(4360),M=d(8071);function k(H,B,x=1/0){return(0,M.T)(B)?k((ye,He)=>(0,o.T)((Mt,Ge)=>B(ye,Mt,He,Ge))((0,s.Tg)(H(ye,He))),x):("number"==typeof B&&(x=B),(0,h.N)((ye,He)=>function T(H,B,x,ye,He,Mt,Ge,Qe){const Xe=[];let ze=0,Le=0,ge=!1;const ue=()=>{ge&&!Xe.length&&!ze&&B.complete()},kt=Ke=>ze<ye?Je(Ke):Xe.push(Ke),Je=Ke=>{Mt&&B.next(Ke),ze++;let $e=!1;(0,s.Tg)(x(Ke,Le++)).subscribe((0,v._)(B,lt=>{He?.(lt),Mt?kt(lt):B.next(lt)},()=>{$e=!0},void 0,()=>{if($e)try{for(ze--;Xe.length&&ze<ye;){const lt=Xe.shift();Ge?(0,y.N)(B,Ge,()=>Je(lt)):Je(lt)}ue()}catch(lt){B.error(lt)}}))};return H.subscribe((0,v._)(B,kt,()=>{ge=!0,ue()})),()=>{Qe?.()}}(ye,He,H,x)))}},941(tn,Ye,d){"use strict";d.d(Ye,{Q:()=>y});var o=d(5225),s=d(9974),h=d(4360);function y(v,T=0){return(0,s.N)((M,k)=>{M.subscribe((0,h._)(k,H=>(0,o.N)(k,v,()=>k.next(H),T),()=>(0,o.N)(k,v,()=>k.complete(),T),H=>(0,o.N)(k,v,()=>k.error(H),T)))})}},3946(tn,Ye,d){"use strict";d.d(Ye,{J:()=>h});var o=d(9974),s=d(4360);function h(){return(0,o.N)((y,v)=>{let T,M=!1;y.subscribe((0,s._)(v,k=>{const H=T;T=k,M&&v.next([H,k]),M=!0}
1))})}},9898(tn,Ye,d){"use strict";d.d(Ye,{B:()=>h});var o=d(9974),s=d(4360);function h(){return(0,o.N)((y,v)=>{let T=null;y._refCount++;const M=(0,s._)(v,void 0,void 0,void 0,()=>{if(!y||y._refCount<=0||0<--y._refCount)return void(T=null);const k=y._connection,H=T;T=null,k&&(!H||k===H)&&k.unsubscribe(),v.unsubscribe()});y.subscribe(M),M.closed||(T=y.connect())})}},2816(tn,Ye,d){"use strict";d.d(Ye,{S:()=>y});var o=d(9974),s=d(4360);function y(v,T){return(0,o.N)(function h(v,T,M,k,H){return(B,x)=>{let ye=M,He=T,Mt=0;B.subscribe((0,s._)(x,Ge=>{const Qe=Mt++;He=ye?v(He,Ge,Qe):(ye=!0,Ge),k&&x.next(He)},H&&(()=>{ye&&x.next(He),x.complete()})))}}(v,T,arguments.length>=2,!0))}},7647(tn,Ye,d){"use strict";d.d(Ye,{u:()=>v});var o=d(8750),s=d(1413),h=d(7707),y=d(9974);function v(M={}){const{connector:k=()=>new s.B,resetOnError:H=!0,resetOnComplete:B=!0,resetOnRefCountZero:x=!0}=M;return ye=>{let He,Mt,Ge,Qe=0,Xe=!1,ze=!1;const Le=()=>{Mt?.unsubscribe(),Mt=void 0},ge=()=>{Le(),He=Ge=void 0,Xe=ze=!1},ue=()=>{const kt=He;ge(),kt?.unsubscribe()};return(0,y.N)((kt,Je)=>{Qe++,!ze&&!Xe&&Le();const Ke=Ge=Ge??k();Je.add(()=>{Qe--,0===Qe&&!ze&&!Xe&&(Mt=T(ue,x))}),Ke.subscribe(Je),!He&&Qe>0&&(He=new h.Ms({next:$e=>Ke.next($e),error:$e=>{ze=!0,Le(),Mt=T(ge,H,$e),Ke.error($e)},complete:()=>{Xe=!0,Le(),Mt=T(ge,B),Ke.complete()}}),(0,o.Tg)(kt).subscribe(He))})(ye)}}function T(M,k,...H){if(!0===k)return void M();if(!1===k)return;const B=new h.Ms({next:()=>{B.unsubscribe(),M()}});return(0,o.Tg)(k(...H)).subscribe(B)}},4668(tn,Ye,d){"use strict";d.d(Ye,{t:()=>h});var o=d(2771),s=d(7647);function h(y,v,T){let M,k=!1;return y&&"object"==typeof y?({bufferSize:M=1/0,windowTime:v=1/0,refCount:k=!1,scheduler:T}=y):M=y??1/0,(0,s.u)({connector:()=>new o.m(M,v,T),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:k})}},5245(tn,Ye,d){"use strict";d.d(Ye,{i:()=>s});var o=d(5964);function s(h){return(0,o.p)((y,v)=>h<=v)}},9172(tn,Ye,d){"use strict";d.d(Ye,{Z:()=>y});var o=d(8793),s=d(9326),h=d(9974);function y(...v){const T=(0,s.lI)(v);return(0,h.N)((M,k)=>{(T?(0,o.x)(v,M,T):(0,o.x)(v,M)).subscribe(k)})}},6745(tn,Ye,d){"use strict";d.d(Ye,{_:()=>s});var o=d(9974);function s(h,y=0){return(0,o.N)((v,T)=>{T.add(h.schedule(()=>v.subscribe(T),y))})}},5558(tn,Ye,d){"use strict";d.d(Ye,{n:()=>y});var o=d(8750),s=d(9974),h=d(4360);function y(v,T){return(0,s.N)((M,k)=>{let H=null,B=0,x=!1;const ye=()=>x&&!H&&k.complete();M.subscribe((0,h._)(k,He=>{H?.unsubscribe();let Mt=0;const Ge=B++;(0,o.Tg)(v(He,Ge)).subscribe(H=(0,h._)(k,Qe=>k.next(T?T(He,Qe,Ge,Mt++):Qe),()=>{H=null,ye()}))},()=>{x=!0,ye()}))})}},6697(tn,Ye,d){"use strict";d.d(Ye,{s:()=>y});var o=d(983),s=d(9974),h=d(4360);function y(v){return v<=0?()=>o.w:(0,s.N)((T,M)=>{let k=0;T.subscribe((0,h._)(M,H=>{++k<=v&&(M.next(H),v<=k&&M.complete())}))})}},6977(tn,Ye,d){"use strict";d.d(Ye,{Q:()=>v});var o=d(9974),s=d(4360),h=d(8750),y=d(5343);function v(T){return(0,o.N)((M,k)=>{(0,h.Tg)(T).subscribe((0,s._)(k,()=>k.complete(),y.l)),!k.closed&&M.subscribe(k)})}},8141(tn,Ye,d){"use strict";d.d(Ye,{M:()=>v});var o=d(8071),s=d(9974),h=d(4360),y=d(3669);function v(T,M,k){const H=(0,o.T)(T)||M||k?{next:T,error:M,complete:k}:T;return H?(0,s.N)((B,x)=>{var ye;null===(ye=H.subscribe)||void 0===ye||ye.call(H);let He=!0;B.subscribe((0,h._)(x,Mt=>{var Ge;null===(Ge=H.next)||void 0===Ge||Ge.call(H,Mt),x.next(Mt)},()=>{var Mt;He=!1,null===(Mt=H.complete)||void 0===Mt||Mt.call(H),x.complete()},Mt=>{var Ge;He=!1,null===(Ge=H.error)||void 0===Ge||Ge.call(H,Mt),x.error(Mt)},()=>{var Mt,Ge;He&&(null===(Mt=H.unsubscribe)||void 0===Mt||Mt.call(H)),null===(Ge=H.finalize)||void 0===Ge||Ge.call(H)}))}):y.D}},3774(tn,Ye,d){"use strict";d.d(Ye,{v:()=>y});var o=d(9350),s=d(9974),h=d(4360);function y(T=v){return(0,s.N)((M,k)=>{let H=!1;M.subscribe((0,h._)(k,B=>{H=!0,k.next(B)},()=>H?k.complete():k.error(T())))})}function v(){return new o.G}},6780(tn,Ye,d){"use strict";d.d(Ye,{R:()=>v});var o=d(8359);class s extends o.yU{constructor(M,k){super()}schedule(M,k=0){return this}}const h={setInterval(T,M,...k){const{delegate:H}=h;return H?.setInterval?H.setInterval(T,M,...k):setInterval(T,M,...k)},clearInterval(T){const{delegate:M}=h;return(M?.clearInterval||clearInterval)(T)},delegate:void 0};var y=d(7908);
vendor: 4,775 bytes, line 1
1class v extends s{constructor(M,k){super(M,k),this.scheduler=M,this.work=k,this.pending=!1}schedule(M,k=0){var H;if(this.closed)return this;this.state=M;const B=this.id,x=this.scheduler;return null!=B&&(this.id=this.recycleAsyncId(x,B,k)),this.pending=!0,this.delay=k,this.id=null!==(H=this.id)&&void 0!==H?H:this.requestAsyncId(x,this.id,k),this}requestAsyncId(M,k,H=0){return h.setInterval(M.flush.bind(M,this),H)}recycleAsyncId(M,k,H=0){if(null!=H&&this.delay===H&&!1===this.pending)return k;null!=k&&h.clearInterval(k)}execute(M,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const H=this._execute(M,k);if(H)return H;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(M,k){let B,H=!1;try{this.work(M)}catch(x){H=!0,B=x||new Error("Scheduled action threw falsy error")}if(H)return this.unsubscribe(),B}unsubscribe(){if(!this.closed){const{id:M,scheduler:k}=this,{actions:H}=k;this.work=this.state=this.scheduler=null,this.pending=!1,(0,y.o)(H,this),null!=M&&(this.id=this.recycleAsyncId(k,M,null)),this.delay=null,super.unsubscribe()}}}},9687(tn,Ye,d){"use strict";d.d(Ye,{q:()=>h});var o=d(6129);class s{constructor(v,T=s.now){this.schedulerActionCtor=v,this.now=T}schedule(v,T=0,M){return new this.schedulerActionCtor(this,v).schedule(M,T)}}s.now=o.U.now;class h extends s{constructor(v,T=s.now){super(v,T),this.actions=[],this._active=!1}flush(v){const{actions:T}=this;if(this._active)return void T.push(v);let M;this._active=!0;do{if(M=v.execute(v.state,v.delay))break}while(v=T.shift());if(this._active=!1,M){for(;v=T.shift();)v.unsubscribe();throw M}}}},536(tn,Ye,d){"use strict";d.d(Ye,{X:()=>M});var o=d(6780),s=d(8359);const h={schedule(H){let B=requestAnimationFrame,x=cancelAnimationFrame;const{delegate:ye}=h;ye&&(B=ye.requestAnimationFrame,x=ye.cancelAnimationFrame);const He=B(Mt=>{x=void 0,H(Mt)});return new s.yU(()=>x?.(He))},requestAnimationFrame(...H){const{delegate:B}=h;return(B?.requestAnimationFrame||requestAnimationFrame)(...H)},cancelAnimationFrame(...H){const{delegate:B}=h;return(B?.cancelAnimationFrame||cancelAnimationFrame)(...H)},delegate:void 0};var v=d(9687);const M=new class T extends v.q{flush(B){let x;this._active=!0,B?x=B.id:(x=this._scheduled,this._scheduled=void 0);const{actions:ye}=this;let He;B=B||ye.shift();do{if(He=B.execute(B.state,B.delay))break}while((B=ye[0])&&B.id===x&&ye.shift());if(this._active=!1,He){for(;(B=ye[0])&&B.id===x&&ye.shift();)B.unsubscribe();throw He}}}(class y extends o.R{constructor(B,x){super(B,x),this.scheduler=B,this.work=x}requestAsyncId(B,x,ye=0){return null!==ye&&ye>0?super.requestAsyncId(B,x,ye):(B.actions.push(this),B._scheduled||(B._scheduled=h.requestAnimationFrame(()=>B.flush(void 0))))}recycleAsyncId(B,x,ye=0){var He;if(null!=ye?ye>0:this.delay>0)return super.recycleAsyncId(B,x,ye);const{actions:Mt}=B;null!=x&&x===B._scheduled&&(null===(He=Mt[Mt.length-1])||void 0===He?void 0:He.id)!==x&&(h.cancelAnimationFrame(x),B._scheduled=void 0)}})},5007(tn,Ye,d){"use strict";d.d(Ye,{$:()=>Mt});var o=d(6780);let h,s=1;const y={};function v(Qe){return Qe in y&&(delete y[Qe],!0)}const T={setImmediate(Qe){const Xe=s++;return y[Xe]=!0,h||(h=Promise.resolve()),h.then(()=>v(Xe)&&Qe()),Xe},clearImmediate(Qe){v(Qe)}},{setImmediate:k,clearImmediate:H}=T,B={setImmediate(...Qe){const{delegate:Xe}=B;return(Xe?.setImmediate||k)(...Qe)},clearImmediate(Qe){const{delegate:Xe}=B;return(Xe?.clearImmediate||H)(Qe)},delegate:void 0};var ye=d(9687);const Mt=new class He extends ye.q{flush(Xe){this._active=!0;const ze=this._scheduled;this._scheduled=void 0;const{actions:Le}=this;let ge;Xe=Xe||Le.shift();do{if(ge=Xe.execute(Xe.state,Xe.delay))break}while((Xe=Le[0])&&Xe.id===ze&&Le.shift());if(this._active=!1,ge){for(;(Xe=Le[0])&&Xe.id===ze&&Le.shift();)Xe.unsubscribe();throw ge}}}(class x extends o.R{constructor(Xe,ze){super(Xe,ze),this.scheduler=Xe,this.work=ze}requestAsyncId(Xe,ze,Le=0){return null!==Le&&Le>0?super.requestAsyncId(Xe,ze,Le):(Xe.actions.push(this),Xe._scheduled||(Xe._scheduled=B.setImmediate(Xe.flush.bind(Xe,void 0))))}recycleAsyncId(Xe,ze,Le=0){var ge;if(null!=Le?Le>0:this.delay>0)return super.recycleAsyncId(Xe,ze,Le);const{actions:ue}=Xe;null!=ze&&(null===(ge=ue[ue.length-1])||void 0===ge?void 0:ge.id)!==ze&&(B.clearImmediate(ze),Xe._scheduled===ze&&(Xe._scheduled=void 0))}})},3236(tn,Ye,d){"use strict";d.d(Ye,{E:()=>h,b:()=>y});var o=d(6780);const h=new(d(9687).q)(o.R),y=h},6129(tn,Ye,d){"use strict";d.d(Ye,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},9270(tn,Ye,d){"use strict";d.d(Ye,{f:()=>o});const o={setTimeout(s,h,...y){const{delegate:v}=o;return v?.setTimeout?v.setTimeout(s,h,...y):setTimeout(s,h,...y)},clearTimeout(s){const{delegate:h}=o;
1return(h?.clearTimeout||clearTimeout)(s)},delegate:void 0}},4761(tn,Ye,d){"use strict";d.d(Ye,{l:()=>s});const s=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(tn,Ye,d){"use strict";d.d(Ye,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(tn,Ye,d){"use strict";d.d(Ye,{G:()=>s});const s=(0,d(1853).L)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(tn,Ye,d){"use strict";d.d(Ye,{R0:()=>T,lI:()=>v,ms:()=>y});var o=d(8071),s=d(9470);function h(M){return M[M.length-1]}function y(M){return(0,o.T)(h(M))?M.pop():void 0}function v(M){return(0,s.m)(h(M))?M.pop():void 0}function T(M,k){return"number"==typeof h(M)?M.pop():k}},3073(tn,Ye,d){"use strict";d.d(Ye,{D:()=>v});const{isArray:o}=Array,{getPrototypeOf:s,prototype:h,keys:y}=Object;function v(M){if(1===M.length){const k=M[0];if(o(k))return{args:k,keys:null};if(function T(M){return M&&"object"==typeof M&&s(M)===h}(k)){const H=y(k);return{args:H.map(B=>k[B]),keys:H}}}return{args:M,keys:null}}},7908(tn,Ye,d){"use strict";function o(s,h){if(s){const y=s.indexOf(h);0<=y&&s.splice(y,1)}}d.d(Ye,{o:()=>o})},1853(tn,Ye,d){"use strict";function o(s){const y=s(v=>{Error.call(v),v.stack=(new Error).stack});return y.prototype=Object.create(Error.prototype),y.prototype.constructor=y,y}d.d(Ye,{L:()=>o})},8496(tn,Ye,d){"use strict";function o(s,h){return s.reduce((y,v,T)=>(y[v]=h[T],y),{})}d.d(Ye,{e:()=>o})},9786(tn,Ye,d){"use strict";d.d(Ye,{Y:()=>h,l:()=>y});var o=d(1026);let s=null;function h(v){if(o.$.useDeprecatedSynchronousErrorHandling){const T=!s;if(T&&(s={errorThrown:!1,error:null}),v(),T){const{errorThrown:M,error:k}=s;if(s=null,M)throw k}}else v()}function y(v){o.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=v)}},5225(tn,Ye,d){"use strict";function o(s,h,y,v=0,T=!1){const M=h.schedule(function(){y(),T?s.add(this.schedule(null,v)):this.unsubscribe()},v);if(s.add(M),!T)return M}d.d(Ye,{N:()=>o})},3669(tn,Ye,d){"use strict";function o(s){return s}d.d(Ye,{D:()=>o})},7441(tn,Ye,d){"use strict";d.d(Ye,{X:()=>o});const o=s=>s&&"number"==typeof s.length&&"function"!=typeof s},7953(tn,Ye,d){"use strict";d.d(Ye,{T:()=>s});var o=d(8071);function s(h){return Symbol.asyncIterator&&(0,o.T)(h?.[Symbol.asyncIterator])}},8071(tn,Ye,d){"use strict";function o(s){return"function"==typeof s}d.d(Ye,{T:()=>o})},5055(tn,Ye,d){"use strict";d.d(Ye,{l:()=>h});var o=d(3494),s=d(8071);function h(y){return(0,s.T)(y[o.s])}},5397(tn,Ye,d){"use strict";d.d(Ye,{x:()=>h});var o=d(4761),s=d(8071);function h(y){return(0,s.T)(y?.[o.l])}},4402(tn,Ye,d){"use strict";d.d(Ye,{A:()=>h});var o=d(1985),s=d(8071);function h(y){return!!y&&(y instanceof o.c||(0,s.T)(y.lift)&&(0,s.T)(y.subscribe))}},9858(tn,Ye,d){"use strict";d.d(Ye,{y:()=>s});var o=d(8071);function s(h){return(0,o.T)(h?.then)}},5196(tn,Ye,d){"use strict";d.d(Ye,{C:()=>h,U:()=>y});var o=d(1635),s=d(8071);function h(v){return(0,o.AQ)(this,arguments,function*(){const M=v.getReader();try{for(;;){const{value:k,done:H}=yield(0,o.N3)(M.read());if(H)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(k)}}finally{M.releaseLock()}})}function y(v){return(0,s.T)(v?.getReader)}},9470(tn,Ye,d){"use strict";d.d(Ye,{m:()=>s});var o=d(8071);function s(h){return h&&(0,o.T)(h.schedule)}},9974(tn,Ye,d){"use strict";d.d(Ye,{N:()=>h,S:()=>s});var o=d(8071);function s(y){return(0,o.T)(y?.lift)}function h(y){return v=>{if(s(v))return v.lift(function(T){try{return y(T,this)}catch(M){this.error(M)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(tn,Ye,d){"use strict";d.d(Ye,{I:()=>y});var o=d(6354);const{isArray:s}=Array;function y(v){return(0,o.T)(T=>function h(v,T){return s(T)?v(...T):v(T)}(v,T))}},5343(tn,Ye,d){"use strict";function o(){}d.d(Ye,{l:()=>o})},1203(tn,Ye,d){"use strict";d.d(Ye,{F:()=>s,m:()=>h});var o=d(3669);function s(...y){return h(y)}function h(y){return 0===y.length?o.D:1===y.length?y[0]:function(T){return y.reduce((M,k)=>k(M),T)}}},5334(tn,Ye,d){"use strict";d.d(Ye,{m:()=>h});var o=d(1026),s=d(9270);function h(y){s.f.setTimeout(()=>{const{onUnhandledError:v}=o.$;if(!v)throw y;v(y)})}},591(tn,Ye,d){"use strict";function o(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invali
1d object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}d.d(Ye,{L:()=>o})},4844(tn){tn.exports=function(){"use strict";var o=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function h(Qe,Xe){var ze=Qe[0],Le=Qe[1],ge=Qe[2],ue=Qe[3];Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ge|~Le&ue)+Xe[0]-680876936|0)<<7|ze>>>25)+Le|0)&Le|~ze&ge)+Xe[1]-389564586|0)<<12|ue>>>20)+ze|0)&ze|~ue&Le)+Xe[2]+606105819|0)<<17|ge>>>15)+ue|0)&ue|~ge&ze)+Xe[3]-1044525330|0)<<22|Le>>>10)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ge|~Le&ue)+Xe[4]-176418897|0)<<7|ze>>>25)+Le|0)&Le|~ze&ge)+Xe[5]+1200080426|0)<<12|ue>>>20)+ze|0)&ze|~ue&Le)+Xe[6]-1473231341|0)<<17|ge>>>15)+ue|0)&ue|~ge&ze)+Xe[7]-45705983|0)<<22|Le>>>10)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ge|~Le&ue)+Xe[8]+1770035416|0)<<7|ze>>>25)+Le|0)&Le|~ze&ge)+Xe[9]-1958414417|0)<<12|ue>>>20)+ze|0)&ze|~ue&Le)+Xe[10]-42063|0)<<17|ge>>>15)+ue|0)&ue|~ge&ze)+Xe[11]-1990404162|0)<<22|Le>>>10)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ge|~Le&ue)+Xe[12]+1804603682|0)<<7|ze>>>25)+Le|0)&Le|~ze&ge)+Xe[13]-40341101|0)<<12|ue>>>20)+ze|0)&ze|~ue&Le)+Xe[14]-1502002290|0)<<17|ge>>>15)+ue|0)&ue|~ge&ze)+Xe[15]+1236535329|0)<<22|Le>>>10)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ue|ge&~ue)+Xe[1]-165796510|0)<<5|ze>>>27)+Le|0)&ge|Le&~ge)+Xe[6]-1069501632|0)<<9|ue>>>23)+ze|0)&Le|ze&~Le)+Xe[11]+643717713|0)<<14|ge>>>18)+ue|0)&ze|ue&~ze)+Xe[0]-373897302|0)<<20|Le>>>12)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ue|ge&~ue)+Xe[5]-701558691|0)<<5|ze>>>27)+Le|0)&ge|Le&~ge)+Xe[10]+38016083|0)<<9|ue>>>23)+ze|0)&Le|ze&~Le)+Xe[15]-660478335|0)<<14|ge>>>18)+ue|0)&ze|ue&~ze)+Xe[4]-405537848|0)<<20|Le>>>12)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ue|ge&~ue)+Xe[9]+568446438|0)<<5|ze>>>27)+Le|0)&ge|Le&~ge)+Xe[14]-1019803690|0)<<9|ue>>>23)+ze|0)&Le|ze&~Le)+Xe[3]-187363961|0)<<14|ge>>>18)+ue|0)&ze|ue&~ze)+Xe[8]+1163531501|0)<<20|Le>>>12)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le&ue|ge&~ue)+Xe[13]-1444681467|0)<<5|ze>>>27)+Le|0)&ge|Le&~ge)+Xe[2]-51403784|0)<<9|ue>>>23)+ze|0)&Le|ze&~Le)+Xe[7]+1735328473|0)<<14|ge>>>18)+ue|0)&ze|ue&~ze)+Xe[12]-1926607734|0)<<20|Le>>>12)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le^ge^ue)+Xe[5]-378558|0)<<4|ze>>>28)+Le|0)^Le^ge)+Xe[8]-2022574463|0)<<11|ue>>>21)+ze|0)^ze^Le)+Xe[11]+1839030562|0)<<16|ge>>>16)+ue|0)^ue^ze)+Xe[14]-35309556|0)<<23|Le>>>9)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le^ge^ue)+Xe[1]-1530992060|0)<<4|ze>>>28)+Le|0)^Le^ge)+Xe[4]+1272893353|0)<<11|ue>>>21)+ze|0)^ze^Le)+Xe[7]-155497632|0)<<16|ge>>>16)+ue|0)^ue^ze)+Xe[10]-1094730640|0)<<23|Le>>>9)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le^ge^ue)+Xe[13]+681279174|0)<<4|ze>>>28)+Le|0)^Le^ge)+Xe[0]-358537222|0)<<11|ue>>>21)+ze|0)^ze^Le)+Xe[3]-722521979|0)<<16|ge>>>16)+ue|0)^ue^ze)+Xe[6]+76029189|0)<<23|Le>>>9)+ge|0,Le=((Le+=((ge=((ge+=((ue=((ue+=((ze=((ze+=(Le^ge^ue)+Xe[9]-640364487|0)<<4|ze>>>28)+Le|0)^Le^ge)+Xe[12]-421815835|0)<<11|ue>>>21)+ze|0)^ze^Le)+Xe[15]+530742520|0)<<16|ge>>>16)+ue|0)^ue^ze)+Xe[2]-995338651|0)<<23|Le>>>9)+ge|0,Le=((Le+=((ue=((ue+=(Le^((ze=((ze+=(ge^(Le|~ue))+Xe[0]-198630844|0)<<6|ze>>>26)+Le|0)|~ge))+Xe[7]+1126891415|0)<<10|ue>>>22)+ze|0)^((ge=((ge+=(ze^(ue|~Le))+Xe[14]-1416354905|0)<<15|ge>>>17)+ue|0)|~ze))+Xe[5]-57434055|0)<<21|Le>>>11)+ge|0,Le=((Le+=((ue=((ue+=(Le^((ze=((ze+=(ge^(Le|~ue))+Xe[12]+1700485571|0)<<6|ze>>>26)+Le|0)|~ge))+Xe[3]-1894986606|0)<<10|ue>>>22)+ze|0)^((ge=((ge+=(ze^(ue|~Le))+Xe[10]-1051523|0)<<15|ge>>>17)+ue|0)|~ze))+Xe[1]-2054922799|0)<<21|Le>>>11)+ge|0,Le=((Le+=((ue=((ue+=(Le^((ze=((ze+=(ge^(Le|~ue))+Xe[8]+1873313359|0)<<6|ze>>>26)+Le|0)|~ge))+Xe[15]-30611744|0)<<10|ue>>>22)+ze|0)^((ge=((ge+=(ze^(ue|~Le))+Xe[6]-1560198380|0)<<15|ge>>>17)+ue|0)|~ze))+Xe[13]+1309151649|0)<<21|Le>>>11)+ge|0,Le=((Le+=((ue=((ue+=(Le^((ze=((ze+=(ge^(Le|~ue))+Xe[4]-145523070|0)<<6|ze>>>26)+Le|0)|~ge))+Xe[11]-1120210379|0)<<10|ue>>>22)+ze|0)^((ge=((ge+=(ze^(ue|~Le))+Xe[2]+718787259|0)<<15|ge>>>17)+ue|0)|~ze))+Xe[9]-343485551|0)<<21|Le>>>11)+ge|0,Qe[0]=ze+Qe[0]|0,Qe[1]=Le+Qe[1]|0,Qe[2]=ge+Qe[2]|0,Qe[3]=ue+Qe[3]|0}function y(Qe){var ze,Xe=[];for(ze=0;ze<64;ze+=4)Xe[ze>>2]=Qe.charCodeAt(ze)+(Qe.charCodeAt(ze+1)<<8)+(Qe.charCodeAt(ze+2)<<16)+(Qe.charCodeAt(ze+3)<<24);return Xe}function v(Qe){var ze,Xe=[];for(ze=0;ze<64;ze+=4)Xe[ze>>2]=Qe[ze]+(Qe[ze+1]<<8)+(Qe[ze+2]<<16)+(Qe[ze+3]<<24);return Xe}function T(Qe){var Le,ge,ue,kt,Je,Ke,Xe=Qe.length,ze=[1732584193,-271733879,-1732584194,271733878];for(Le=64;Le<=Xe;Le+=64)h(ze,y(Qe.substring(Le-64,Le)));for(ge=(Qe=Qe.substring(Le-64)).length,ue=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Le=0;Le<ge;Le+=1)ue[Le>>2]|=Qe.charCodeAt(Le)<<(Le%4<<3);if(ue[Le>>2]|=128<<(Le%4<<3),Le>55)for(h(ze,ue),Le=0;Le<16;Le+=1)ue[Le]=0;return kt=(kt=8*Xe).toString(16).match(/(.*?)(.{0,8})$/),Je=parseInt(kt[2],16),Ke=parseInt(kt[1],16)||0,ue[14]=Je,ue[15]=Ke,h(ze,ue),ze}function k(Qe){var ze,Xe="";for(ze=0;ze<4;ze+=1)Xe+=o[Qe>>8*ze+4&15]+o[Qe>>8*ze&15];return Xe}function H(Qe){var Xe;for(Xe=0;Xe<Qe.length;Xe+=1)Qe[Xe]=k(Qe[Xe]);return Qe.join("")}function B(Qe){return/[\u0080-\uFFFF]/.test(Qe)&&(Qe=unescape(encodeURIComponent(Qe))),Qe}function Mt(Qe){var Le,Xe=[],ze=Qe.length;for(Le=0;Le<ze-1;Le+=2)Xe.push(parseInt(Qe.substr(Le,2),16));return String.fromCharCode.apply(String,Xe)}function Ge(){this.reset()}return H(T("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function Qe(Xe,ze){return(Xe=0|Xe||0
1)<0?Math.max(Xe+ze,0):Math.min(Xe,ze)}ArrayBuffer.prototype.slice=function(Xe,ze){var kt,Je,Ke,$e,Le=this.byteLength,ge=Qe(Xe,Le),ue=Le;return undefined!==ze&&(ue=Qe(ze,Le)),ge>ue?new ArrayBuffer(0):(kt=ue-ge,Je=new ArrayBuffer(kt),Ke=new Uint8Array(Je),$e=new Uint8Array(this,ge,kt),Ke.set($e),Je)}}(),Ge.prototype.append=function(Qe){return this.appendBinary(B(Qe)),this},Ge.prototype.appendBinary=function(Qe){this._buff+=Qe,this._length+=Qe.length;var ze,Xe=this._buff.length;for(ze=64;ze<=Xe;ze+=64)h(this._hash,y(this._buff.substring(ze-64,ze)));return this._buff=this._buff.substring(ze-64),this},Ge.prototype.end=function(Qe){var Le,ue,Xe=this._buff,ze=Xe.length,ge=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(Le=0;Le<ze;Le+=1)ge[Le>>2]|=Xe.charCodeAt(Le)<<(Le%4<<3);return this._finish(ge,ze),ue=H(this._hash),Qe&&(ue=Mt(ue)),this.reset(),ue},Ge.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ge.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},Ge.prototype.setState=function(Qe){return this._buff=Qe.buff,this._length=Qe.length,this._hash=Qe.hash,this},Ge.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},Ge.prototype._finish=function(Qe,Xe){var Le,ge,ue,ze=Xe;if(Qe[ze>>2]|=128<<(ze%4<<3),ze>55)for(h(this._hash,Qe),ze=0;ze<16;ze+=1)Qe[ze]=0;Le=(Le=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),ge=parseInt(Le[2],16),ue=parseInt(Le[1],16)||0,Qe[14]=ge,Qe[15]=ue,h(this._hash,Qe)},Ge.hash=function(Qe,Xe){return Ge.hashBinary(B(Qe),Xe)},Ge.hashBinary=function(Qe,Xe){var Le=H(T(Qe));return Xe?Mt(Le):Le},(Ge.ArrayBuffer=function(){this.reset()}).prototype.append=function(Qe){var Le,Xe=function He(Qe,Xe,ze){var Le=new Uint8Array(Qe.byteLength+Xe.byteLength);return Le.set(new Uint8Array(Qe)),Le.set(new Uint8Array(Xe),Qe.byteLength),ze?Le:Le.buffer}(this._buff.buffer,Qe,!0),ze=Xe.length;for(this._length+=Qe.byteLength,Le=64;Le<=ze;Le+=64)h(this._hash,v(Xe.subarray(Le-64,Le)));return this._buff=Le-64<ze?new Uint8Array(Xe.buffer.slice(Le-64)):new Uint8Array(0),this},Ge.ArrayBuffer.prototype.end=function(Qe){var ge,ue,Xe=this._buff,ze=Xe.length,Le=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ge=0;ge<ze;ge+=1)Le[ge>>2]|=Xe[ge]<<(ge%4<<3);return this._finish(Le,ze),ue=H(this._hash),Qe&&(ue=Mt(ue)),this.reset(),ue},Ge.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},Ge.ArrayBuffer.prototype.getState=function(){var Qe=Ge.prototype.getState.call(this);return Qe.buff=function ye(Qe){return String.fromCharCode.apply(null,new Uint8Array(Qe))}(Qe.buff),Qe},Ge.ArrayBuffer.prototype.setState=function(Qe){return Qe.buff=function x(Qe,Xe){var ue,ze=Qe.length,Le=new ArrayBuffer(ze),ge=new Uint8Array(Le);for(ue=0;ue<ze;ue+=1)ge[ue]=Qe.charCodeAt(ue);return Xe?ge:Le}(Qe.buff,!0),Ge.prototype.setState.call(this,Qe)},Ge.ArrayBuffer.prototype.destroy=Ge.prototype.destroy,Ge.ArrayBuffer.prototype._finish=Ge.prototype._finish,Ge.ArrayBuffer.hash=function(Qe,Xe){var Le=H(function M(Qe){var Le,ge,ue,kt,Je,Ke,Xe=Qe.length,ze=[1732584193,-271733879,-1732584194,271733878];for(Le=64;Le<=Xe;Le+=64)h(ze,v(Qe.subarray(Le-64,Le)));for(ge=(Qe=Le-64<Xe?Qe.subarray(Le-64):new Uint8Array(0)).length,ue=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Le=0;Le<ge;Le+=1)ue[Le>>2]|=Qe[Le]<<(Le%4<<3);if(ue[Le>>2]|=128<<(Le%4<<3),Le>55)for(h(ze,ue),Le=0;Le<16;Le+=1)ue[Le]=0;return kt=(kt=8*Xe).toString(16).match(/(.*?)(.{0,8})$/),Je=parseInt(kt[2],16),Ke=parseInt(kt[1],16)||0,ue[14]=Je,ue[15]=Ke,h(ze,ue),ze}(new Uint8Array(Qe)));return Xe?Mt(Le):Le},Ge}()},2442(tn,Ye){var d,s;void 0!==(s="function"==typeof(d=function(){var h=function y(v){function T(he,Ne){return he>>>Ne|he<<32-Ne}for(var B,x,M=Math.pow,k=M(2,32),H="length",ye="",He=[],Mt=8*v[H],Ge=y.h=y.h||[],Qe=y.k=y.k||[],Xe=Qe[H],ze={},Le=2;Xe<64;Le++)if(!ze[Le]){for(B=0;B<313;B+=Le)ze[B]=Le;Ge[Xe]=M(Le,.5)*k|0,Qe[Xe++]=M(Le,.3333333333333333)*k|0}for(v+="\x80";v[H]%64-56;)v+="\0";for(B=0;B<v[H];B++){if((x=v.charCodeAt(B))>>8)return;He[B>>2]|=x<<(3-B)%4*8}for(He[He[H]]=Mt/k|0,He[He[H]]=Mt,x=0;x<He[H];){var ge=He.slice(x,x+=16),ue=Ge;for(Ge=Ge.slice(0,8),B=0;B<64;B++){var Je=ge[B-15],Ke=ge[B-2],$e=Ge[0],lt=Ge[4],q=Ge[7]+(T(lt,6)^T(lt,11)^T(lt,25))+(lt&Ge[5]^~lt&Ge[6])+Qe[B]+(ge[B]=B<16?ge[B]:ge[B-16]+(T(Je,7)^T(Je,18)^Je>>>3)+ge[B-7]+(T(Ke,17)^T(Ke,19)^Ke>>>10)|0);(Ge=[q+((T($e,2)^T($e,13)^T($e,22))+($e&Ge[1]^$e&Ge[2]^Ge[1]&Ge[2]))|0].concat(Ge))[4]=Ge[4]+q|0}for(B=0;B<8;B++)Ge[B]=Ge[B]+ue[B]|0}for(B=0;B<8;B++)for(x=3;x+1;x--){var ae=Ge[B]>>8*x&255;ye+=(ae<16?0:"")+ae.toString(16)}return ye};return h.code='var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math.pow,g=f(2,32),h="length",i="",j=[],k=8*b[h],l=a.h=a.h||[],m=a.k=a.k||[],n=m[h],o={},p=2;64>n;p++)if(!o[p]){for(d=0;313>d;d+=p)o[d]=p;l[n]=f(p,.5)*g|0,m[n++]=f(p,1/3)*g|0}for(b+="\\x80";b[h]%64-56;)b+="\\x00";for(d=0;d<b[h];d++){if(e=b.charCodeAt(d),e>>8)return;j[d>>2]|=e<<(3-d)%4*8}for(j[j[h]]=k/g|0,j[j[h]]=k,e=0;e<j[h];){var q=j.slice(e,e+=16),r=l;for(l=l.slice(0,8),d=0;64>d;d++){var s=q[d-15],t=q[d-2],u=l[0],v=l[4],w=l[7]+(c(v,6)^c(v,11)^c(v,25))+(v&l[5]^~v&l[6])+m[d]+(q[d]=16>d?q[d]:q[d-16]+(c(s,7)^c(s,18)^s>>>3)+q[d-7]+(c(t,17)^c(t,19)^t>>>10)|0),x=(c(u,2)^c(u,13)^c(u,22))+(u&l[1]^u&l[2]^l[1]&l[2]);l=[w+x|0].concat(l),l[4]=l[4]+w|0}for(d=0;8>d;d++)l[d]=l[d]+r[d]|0}for(d=0;8>d;d++)for(e=3;e+1;e--){var y=l[d]>>8*e&255;i+=(16>y?0:"")+y.toString(16)}return i};',h})?d.apply(Ye,[]):d)&&(tn.exports=s)},5358(tn,Ye,d){var o={"./af":1544,"./af.js":1544,"./ar":3108,"./ar-dz":2155,"./ar-dz.js":2155,"./ar-kw":3583,"./ar-kw.js":3583,"./ar-ly":1638,"./ar-ly.js":1638,"./ar-ma":7823,"./ar-ma.js":7823,"./ar-ps":7712,"./ar-ps.js":7712,"./ar-sa":8261,"./ar-sa.js":8261,"./ar-tn":6703,"./ar-tn.js":6703,"./ar.js":3108,"./az":6508,"./az.js":6508,"./be":6766,"./be.js":6766,"./bg":8564,"./bg.js":8564,"./bm":7462,"./bm.js":7462,"./bn":7107,"./bn-bd":3438,"./bn-bd.js":3438,"./bn.js":7107,"./bo":9004,"./bo.js":9004,"./br":927,"./br.js":927,"./bs":7768,"./bs.js":7768,"./ca":6291,"./ca.js":6291,"./cs":5301,"./cs.js":5301,"./cv":6666,"./cv.js":6666,"./cy":5163,"./cy.js":5163,"./da":7360,"./da.js":7360,"./de":5932,"./de-at":3248,"./de-at.js":3248,"./de-ch":3222,"./de-ch.js":3222,"./de.js":5932,"./dv":6405,"./dv.js":6405,"./el":718,"./el.js":718,"./en-au":6319,"./en-au.js":6319,"./en-ca":597,"./en-ca.js":597,"./en-gb":1800,"./en-gb.js":1800,"./en-ie":807,"./en-ie.js":807,"./en-il":5960,"./en-il.js":5960,"./en-in":4418,"./en-in.js":4418,"./en-nz":6865,"./en-nz.js":6865,"./en-sg":2647,"./en-sg.js":2647,"./eo":1931,"./eo.js":1931,"./es":6679,"./es-do":1805,"./es-do.js":1805,"./es-mx":3445,"./es-mx.js":3445,"./es-us":1516,"./es-us.js":1516,"./es.js":6679,"./et":8150,"./et.js":8150,"./eu":757,"./eu.js":757,"./fa":5742,"./fa.js":5742,"./fi":3958,"./fi.js":3958,"./fil":672
10,"./fil.js":6720,"./fo":8352,"./fo.js":8352,"./fr":4059,"./fr-ca":2096,"./fr-ca.js":2096,"./fr-ch":5759,"./fr-ch.js":5759,"./fr.js":4059,"./fy":5958,"./fy.js":5958,"./ga":4143,"./ga.js":4143,"./gd":7028,"./gd.js":7028,"./gl":428,"./gl.js":428,"./gom-deva":6861,"./gom-deva.js":6861,"./gom-latn":7718,"./gom-latn.js":7718,"./gu":6827,"./gu.js":6827,"./he":1936,"./he.js":1936,"./hi":1332,"./hi.js":1332,"./hr":1957,"./hr.js":1957,"./hu":8928,"./hu.js":8928,"./hy-am":6215,"./hy-am.js":6215,"./id":586,"./id.js":586,"./is":211,"./is.js":211,"./it":170,"./it-ch":2340,"./it-ch.js":2340,"./it.js":170,"./ja":9770,"./ja.js":9770,"./jv":3875,"./jv.js":3875,"./ka":9499,"./ka.js":9499,"./kk":3573,"./kk.js":3573,"./km":8807,"./km.js":8807,"./kn":5082,"./kn.js":5082,"./ko":137,"./ko.js":137,"./ku":111,"./ku-kmr":3744,"./ku-kmr.js":3744,"./ku.js":111,"./ky":9187,"./ky.js":9187,"./lb":5969,"./lb.js":5969,"./lo":3526,"./lo.js":3526,"./lt":411,"./lt.js":411,"./lv":2621,"./lv.js":2621,"./me":5869,"./me.js":5869,"./mi":5881,"./mi.js":5881,"./mk":2391,"./mk.js":2391,"./ml":1126,"./ml.js":1126,"./mn":4892,"./mn.js":4892,"./mr":9080,"./mr.js":9080,"./ms":399,"./ms-my":5950,"./ms-my.js":5950,"./ms.js":399,"./mt":9902,"./mt.js":9902,"./my":2985,"./my.js":2985,"./nb":7859,"./nb.js":7859,"./ne":3642,"./ne.js":3642,"./nl":5441,"./nl-be":9875,"./nl-be.js":9875,"./nl.js":5441,"./nn":1311,"./nn.js":1311,"./oc-lnc":2567,"./oc-lnc.js":2567,"./pa-in":6962,"./pa-in.js":6962,"./pl":1063,"./pl.js":1063,"./pt":8719,"./pt-br":7476,"./pt-br.js":7476,"./pt.js":8719,"./ro":1004,"./ro.js":1004,"./ru":1326,"./ru.js":1326,"./sd":2608,"./sd.js":2608,"./se":3911,"./se.js":3911,"./si":5147,"./si.js":5147,"./sk":3741,"./sk.js":3741,"./sl":3e3,"./sl.js":3e3,"./sq":451,"./sq.js":451,"./sr":2665,"./sr-cyrl":905,"./sr-cyrl.js":905,"./sr.js":2665,"./ss":5765,"./ss.js":5765,"./sv":9290,"./sv.js":9290,"./sw":3449,"./sw.js":3449,"./ta":2688,"./ta.js":2688,"./te":2060,"./te.js":2060,"./tet":3290,"./tet.js":3290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":1365,"./tk.js":1365,"./tl-ph":9040,"./tl-ph.js":9040,"./tlh":7187,"./tlh.js":7187,"./tr":153,"./tr.js":153,"./tzl":8521,"./tzl.js":8521,"./tzm":5629,"./tzm-latn":2234,"./tzm-latn.js":2234,"./tzm.js":5629,"./ug-cn":3349,"./ug-cn.js":3349,"./uk":8479,"./uk.js":8479,"./ur":3024,"./ur.js":3024,"./uz":9800,"./uz-latn":2376,"./uz-latn.js":2376,"./uz.js":9800,"./vi":9366,"./vi.js":9366,"./x-pseudo":9702,"./x-pseudo.js":9702,"./yo":2655,"./yo.js":2655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":8351,"./zh-hk.js":8351,"./zh-mo":1626,"./zh-mo.js":1626,"./zh-tw":8887,"./zh-tw.js":8887};function s(y){var v=h(y);return d(v)}function h(y){if(!d.o(o,y)){var v=new Error("Cannot find module '"+y+"'");throw v.code="MODULE_NOT_FOUND",v}return o[y]}s.keys=function(){return Object.keys(o)},s.resolve=h,tn.exports=s,s.id=5358},1514(tn,Ye,d){"use strict";d.d(Ye,{FX:()=>ze,If:()=>o,K2:()=>T,PZ:()=>Xe,hZ:()=>h,i0:()=>y,iF:()=>M,kY:()=>B,kp:()=>s,sf:()=>Qe,wk:()=>k});var o=function(Le){return Le[Le.State=0]="State",Le[Le.Transition=1]="Transition",Le[Le.Sequence=2]="Sequence",Le[Le.Group=3]="Group",Le[Le.Animate=4]="Animate",Le[Le.Keyframes=5]="Keyframes",Le[Le.Style=6]="Style",Le[Le.Trigger=7]="Trigger",Le[Le.Reference=8]="Reference",Le[Le.AnimateChild=9]="AnimateChild",Le[Le.AnimateRef=10]="AnimateRef",Le[Le.Query=11]="Query",Le[Le.Stagger=12]="Stagger",Le}(o||{});const s="*";function h(Le,ge){return{type:o.Trigger,name:Le,definitions:ge,options:{}}}function y(Le,ge=null){return{type:o.Animate,styles:ge,timings:Le}}function T(Le,ge=null){return{type:o.Sequence,steps:Le,options:ge}}function M(Le){return{type:o.Style,styles:Le,offset:null}}function k(Le,ge,ue){return{type:o.State,name:Le,styles:ge,options:ue}}function B(Le,ge,ue=null){return{type:o.Transition,expr:Le,animation:ge,options:ue}}class Qe{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(ge=0,ue=0){this.totalTime=ge+ue}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}onStart(ge){this._originalOnStartFns.push(ge),this._onStartFns.push(ge)}onDone(ge){this._originalOnDoneFns.push(ge),this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ge=>ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const ue="start"==ge?this._onStartFns:this._onDoneFns;ue.forEach(kt=>kt()),ue.length=0}}class Xe{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(ge){this.players=ge;let ue=0,kt=0,Je=0;const Ke=this.players.length;0==Ke?queueMicrotask(()=>
1this._onFinish()):this.players.forEach($e=>{$e.onDone(()=>{++ue==Ke&&this._onFinish()}),$e.onDestroy(()=>{++kt==Ke&&this._onDestroy()}),$e.onStart(()=>{++Je==Ke&&this._onStart()})}),this.totalTime=this.players.reduce(($e,lt)=>Math.max($e,lt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}init(){this.players.forEach(ge=>ge.init())}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ge=>ge()),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ge=>ge.play())}pause(){this.players.forEach(ge=>ge.pause())}restart(){this.players.forEach(ge=>ge.restart())}finish(){this._onFinish(),this.players.forEach(ge=>ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ge=>ge.destroy()),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this.players.forEach(ge=>ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const ue=ge*this.totalTime;this.players.forEach(kt=>{const Je=kt.totalTime?Math.min(1,ue/kt.totalTime):1;kt.setPosition(Je)})}getPosition(){const ge=this.players.reduce((ue,kt)=>null===ue||kt.totalTime>ue.totalTime?kt:ue,null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach(ge=>{ge.beforeDestroy&&ge.beforeDestroy()})}triggerCallback(ge){const ue="start"==ge?this._onStartFns:this._onDoneFns;ue.forEach(kt=>kt()),ue.length=0}}const ze="!"},7094(tn,Ye,d){"use strict";d.d(Ye,{Ai:()=>qt,GX:()=>ve,Pd:()=>je,Q_:()=>ie,Z7:()=>ze,kB:()=>at,sp:()=>Ne});var k=d(2615),H=d(3664),B=d(7705),x=d(9842),ye=d(4522),He=d(8968),Mt=d(9046),Ge=d(4330),Qe=d(2318);let ze=(()=>{class rt{_platform=(0,k.WQX)(x.O);constructor(){}isDisabled(We){return We.hasAttribute("disabled")}isVisible(We){return function ge(rt){return!!(rt.offsetWidth||rt.offsetHeight||"function"==typeof rt.getClientRects&&rt.getClientRects().length)}(We)&&"visible"===getComputedStyle(We).visibility}isTabbable(We){if(!this._platform.isBrowser)return!1;const Ot=function Le(rt){try{return rt.frameElement}catch{return null}}(function he(rt){return rt.ownerDocument&&rt.ownerDocument.defaultView||window}(We));if(Ot&&(-1===q(Ot)||!this.isVisible(Ot)))return!1;let Me=We.nodeName.toLowerCase(),It=q(We);return We.hasAttribute("contenteditable")?-1!==It:!("iframe"===Me||"object"===Me||this._platform.WEBKIT&&this._platform.IOS&&!function de(rt){let Ze=rt.nodeName.toLowerCase(),We="input"===Ze&&rt.type;return"text"===We||"password"===We||"select"===Ze||"textarea"===Ze}(We))&&("audio"===Me?!!We.hasAttribute("controls")&&-1!==It:"video"===Me?-1!==It&&(null!==It||this._platform.FIREFOX||We.hasAttribute("controls")):We.tabIndex>=0)}isFocusable(We,Ot){return function ae(rt){return!function kt(rt){return function Ke(rt){return"input"==rt.nodeName.toLowerCase()}(rt)&&"hidden"==rt.type}(rt)&&(function ue(rt){let Ze=rt.nodeName.toLowerCase();return"input"===Ze||"select"===Ze||"button"===Ze||"textarea"===Ze}(rt)||function Je(rt){return function $e(rt){return"a"==rt.nodeName.toLowerCase()}(rt)&&rt.hasAttribute("href")}(rt)||rt.hasAttribute("contenteditable")||lt(rt))}(We)&&!this.isDisabled(We)&&(Ot?.ignoreVisibility||this.isVisible(We))}static \u0275fac=function(Ot){return new(Ot||rt)};static \u0275prov=k.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();function lt(rt){if(!rt.hasAttribute("tabindex")||void 0===rt.tabIndex)return!1;let Ze=rt.getAttribute("tabindex");return!(!Ze||isNaN(parseInt(Ze,10)))}function q(rt){if(!lt(rt))return null;const Ze=parseInt(rt.getAttribute("tabindex")||"",10);return isNaN(Ze)?-1:Ze}class Ne{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(Ze){this._enabled=Ze,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ze,this._startAnchor),this._toggleAnchorTabIndex(Ze,this._endAnchor))}_enabled=!0;constructor(Ze,We,Ot,Me,It=!1,Zt){this._element=Ze,this._checker=We,this._ngZone=Ot,this._document=Me,this._injector=Zt,It||this.attachAnchors()}destroy(){const Ze=this._startAnchor,We=this._endAnchor;Ze&&(Ze.removeEventListener("focus",this.startAnchorListener),Ze.remove()),We&&(We.removeEventListener("focus",this.endAnchorListener),We.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(Ze){return new Promise(We=>{this._executeOnStable(()=>We(this.focusInitialElement(Ze)))})}focusFirstTabbableElementWhenReady(Ze){return new Promise(We=>{this._executeOnStable(()=>We(this.focusFirstTabbableElement(Ze)))})}focusLastTabbableElementWhenReady(Ze){return new Promise(We=>{this._executeOnStable(()=>We(this.focusLastTabbableElement(Ze)))})}_getRegionBoundary(Ze){const We=this._element.querySelectorAll(`[cdk-focus-region-${Ze}], [cdkFocusRegion${Ze}], [cdk-focus-${Ze}]`);return"start"==Ze?We.length?We[0]:this._getFirstTabbableElement(this._element):We.length?We[We.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ze){const We=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(We){if(!this._checker.isFocusable(We)){const Ot=this._getFirstTabbableElement(We);return Ot?.focus(Ze),!!Ot}return We.focus(Ze),!0}return this.focusFirstTabbableElement(Ze)}focusFirstTabbableElement(Ze){const We=this._getRegionBoundary("start");return We&&We.focus(Ze),!!We}focusLastTabbableElement(Ze){const We=this._getRegionBoundary("end");return We&&We.focus(Ze),!!We}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ze){if(this._checker.isFocusable(Ze)&&this._checker.isTabbable(Ze))return Ze;const We=Ze.children;for(let Ot=0;Ot<We.length;Ot++){const Me=We[Ot].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(We[Ot]):null;if(Me)return Me}return null}_getLastTabbableElement(Ze){if(this._checker.isFocusable(Ze)&&this._checker.isTabbable(Ze))return Ze;const We=Ze.children;for(let Ot=We.length-1;Ot>=0;Ot--){const Me=We[Ot].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(We[Ot]):null;if(Me)return Me}return null}_createAnchor(){const Ze=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ze),Ze.classList.add("cdk-visually-hidden"),Ze.classList.add("cdk-focus-trap-anchor"),Ze.setAttribute("aria-hidden","true"),Ze}_toggleAnchorTabIndex(Ze,We){Ze?We.setAttribute("tabindex","0"):We.removeAttribute("tabindex")}toggleAnchors(Ze){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ze,this._startAnchor),this._toggleAnchorTabIndex(Ze,this._endAnchor))}_executeOnStable(Ze){this._injector?(0,H.mal)(Ze,{injector:this._injector}):setTimeout(Ze)}}let ve=(()=>{class rt{_checker=(0,k.WQX)(ze);_ngZone=(0,k.WQX)(H.SKi);_document=(0,k.WQX)(k.qQL);_injector=(0,k.WQX)(k.zZn);constructor(){(0,k.WQX)(He.l).load(Mt.Y)}create(We,Ot=!1){return new Ne(We,this._checker,this._ngZone,this._document,Ot,this._injector)}static \u0275fac=function(Ot){return new(Ot||rt)};static \u0275prov=k.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),at=(()=>{class rt{_elementRef=(0,k.WQX)(H.aKT);_focusTrapFactory=(0,k.WQX)(ve);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(We){this.focusTrap&&(this.focusTrap.enabled=We)}autoCapture;constructor(){(0,k.WQX)(x.O).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(We){const Ot=We.autoCapture;Ot&&!Ot.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,ye.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(Ot){return new(Ot||rt)};static \u0275dir=H.FsC({type:rt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",B.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",B.L39]},exportAs:["cdkTrapFocus"],features:[H.OA$]})}return rt})();
1const Ut=new k.nKC("liveAnnouncerElement",{providedIn:"root",factory:function nt(){return null}}),cn=new k.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let hn=0,qt=(()=>{class rt{_ngZone=(0,k.WQX)(H.SKi);_defaultOptions=(0,k.WQX)(cn,{optional:!0});_liveElement;_document=(0,k.WQX)(k.qQL);_previousTimeout;_currentPromise;_currentResolve;constructor(){const We=(0,k.WQX)(Ut,{optional:!0});this._liveElement=We||this._createLiveElement()}announce(We,...Ot){const Me=this._defaultOptions;let It,Zt;return 1===Ot.length&&"number"==typeof Ot[0]?Zt=Ot[0]:[It,Zt]=Ot,this.clear(),clearTimeout(this._previousTimeout),It||(It=Me&&Me.politeness?Me.politeness:"polite"),null==Zt&&Me&&(Zt=Me.duration),this._liveElement.setAttribute("aria-live",It),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ti=>this._currentResolve=ti)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=We,"number"==typeof Zt&&(this._previousTimeout=setTimeout(()=>this.clear(),Zt)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const We="cdk-live-announcer-element",Ot=this._document.getElementsByClassName(We),Me=this._document.createElement("div");for(let It=0;It<Ot.length;It++)Ot[It].remove();return Me.classList.add(We),Me.classList.add("cdk-visually-hidden"),Me.setAttribute("aria-atomic","true"),Me.setAttribute("aria-live","polite"),Me.id="cdk-live-announcer-"+hn++,this._document.body.appendChild(Me),Me}_exposeAnnouncerToModals(We){const Ot=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Me=0;Me<Ot.length;Me++){const It=Ot[Me],Zt=It.getAttribute("aria-owns");Zt?-1===Zt.indexOf(We)&&It.setAttribute("aria-owns",Zt+" "+We):It.setAttribute("aria-owns",We)}}static \u0275fac=function(Ot){return new(Ot||rt)};static \u0275prov=k.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();var Pe=function(rt){return rt[rt.NONE=0]="NONE",rt[rt.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",rt[rt.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",rt}(Pe||{});const yt="cdk-high-contrast-black-on-white",wt="cdk-high-contrast-white-on-black",Ie="cdk-high-contrast-active";let ie=(()=>{class rt{_platform=(0,k.WQX)(x.O);_hasCheckedHighContrastMode;_document=(0,k.WQX)(k.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,k.WQX)(Ge.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Pe.NONE;const We=this._document.createElement("div");We.style.backgroundColor="rgb(1,2,3)",We.style.position="absolute",this._document.body.appendChild(We);const Ot=this._document.defaultView||window,Me=Ot&&Ot.getComputedStyle?Ot.getComputedStyle(We):null,It=(Me&&Me.backgroundColor||"").replace(/ /g,"");switch(We.remove(),It){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Pe.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Pe.BLACK_ON_WHITE}return Pe.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const We=this._document.body.classList;We.remove(Ie,yt,wt),this._hasCheckedHighContrastMode=!0;const Ot=this.getHighContrastMode();Ot===Pe.BLACK_ON_WHITE?We.add(Ie,yt):Ot===Pe.WHITE_ON_BLACK&&We.add(Ie,wt)}}static \u0275fac=function(Ot){return new(Ot||rt)};static \u0275prov=k.jDH({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),je=(()=>{class rt{constructor(){(0,k.WQX)(ie)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(Ot){return new(Ot||rt)};static \u0275mod=H.$C({type:rt});static \u0275inj=k.G2t({imports:[Qe.w5]})}return rt})()},4339(tn,Ye,d){"use strict";d.d(Ye,{vr:()=>ve,px:()=>$e,Ae:()=>lt}),d(7094);var s=d(2615),h=d(3664),y=d(9842),v=d(8968),T=d(9046);function $e(Ie,ie,je){const rt=q(Ie,ie);je=je.trim(),!rt.some(Ze=>Ze.trim()===je)&&(rt.push(je),Ie.setAttribute(ie,rt.join(" ")))}function lt(Ie,ie,je){const rt=q(Ie,ie);je=je.trim();const Ze=rt.filter(We=>We!==je);Ze.length?Ie.setAttribute(ie,Ze.join(" ")):Ie.removeAttribute(ie)}function q(Ie,ie){return Ie.getAttribute(ie)?.match(/\S+/g)??[]}d(1413),d(8359),d(4402),d(7673),d(6697),d(9096);const ae="cdk-describedby-message",he="cdk-describedby-host";let Ne=0,ve=(()=>{class Ie{_platform=(0,s.WQX)(y.O);_document=(0,s.WQX)(s.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+Ne++;constructor(){(0,s.WQX)(v.l).load(T.Y),this._id=(0,s.WQX)(h.sZ2)+"-"+Ne++}describe(je,rt,Ze){if(!this._canBeDescribed(je,rt))return;const We=at(rt,Ze);"string"!=typeof rt?(Ut(rt,this._id),this._messageRegistry.set(We,{messageElement:rt,referenceCount:0})):this._messageRegistry.has(We)||this._createMessageElement(rt,Ze),this._isElementDescribedByMessage(je,We)||this._addMessageReference(je,We)}removeDescription(je,rt,Ze){if(!rt||!this._isElementNode(je))return;const We=at(rt,Ze);if(this._isElementDescribedByMessage(je,We)&&this._removeMessageReference(je,We),"string"==typeof rt){const Ot=this._messageRegistry.get(We);Ot&&0===Ot.referenceCount&&this._deleteMessageElement(We)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const je=this._document.querySelectorAll(`[${he}="${this._id}"]`);for(let rt=0;rt<je.length;rt++)this._removeCdkDescribedByReferenceIds(je[rt]),je[rt].removeAttribute(he);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(je,rt){const Ze=this._document.createElement("div");Ut(Ze,this._id),Ze.textContent=je,rt&&Ze.setAttribute("role",rt),this._createMessagesContainer(),this._messagesContainer.appendChild(Ze),this._messageRegistry.set(at(je,rt),{messageElement:Ze,referenceCount:0})}_deleteMessageElement(je){this._messageRegistry.get(je)?.messageElement?.remove(),this._messageRegistry.delete(je)}_createMessagesContainer(){if(this._messagesContainer)return;const je="cdk-describedby-message-container",rt=this._document.querySelectorAll(`.${je}[platform="server"]`);for(let We=0;We<rt.length;We++)rt[We].remove();const Ze=this._document.createElement("div");Ze.style.visibility="hidden",Ze.classList.add(je),Ze.classList.add("cdk-visually-hidden"),this._platform.isBrowser||Ze.setAttribute("platform","server"),this._document.body.appendChild(Ze),this._messagesContainer=Ze}_removeCdkDescribedByReferenceIds(je){const rt=q(je,"aria-describedby").filter(Ze=>0!=Ze.indexOf(ae));je.setAttribute("aria-describedby",rt.join(" "))}_addMessageReference(je,rt){const Ze=this._messageRegistry.get(rt);$e(je,"aria-describedby",Ze.messageElement.id),je.setAttribute(he,this._id),Ze.referenceCount++}_removeMessageReference(je,rt){const Ze=this._messageRegistry.get(rt);Ze.referenceCount--,lt(je,"aria-describedby",Ze.messageElement.id),je.removeAttribute(he)}_isElementDescribedByMessage(je,rt){const Ze=q(je,"aria-describedby"),We=this._messageRegistry.get(rt),Ot=We&&We.messageElement.id;return!!Ot&&-1!=Ze.indexOf(Ot)}_canBeDescribed(je,rt){if(!this._isElementNode(je))return!1;if(rt&&"object"==typeof rt)return!0;const Ze=null==rt?"":`${rt}`.trim(),We=je.getAttribute("aria-label");return!(!Ze||We&&We.trim()===Ze)}_isElementNode(je){return je.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(rt){return new(rt||Ie)};static \u0275prov=s.jDH({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}return Ie})();function at(Ie,ie){return"string"==typeof Ie?`${ie||""}/${Ie}`:Ie}function Ut(Ie,ie){Ie.id||(Ie.id=`${ae}-${ie}-${Ne++}`)}},408(tn,Ye,d){"use strict";function o(s){return Array.isArray(s)?s:[s]}d.d(Ye,{F:()=>o})},8203(tn,Ye,d){"use strict";d.d(Ye,{jI:()=>H});var T=d(2615),M=d(3664);let H=(()=>{class B{static \u0275fac=function(He){return new(He||B)};static \u0275mod=M.$C({type:B});static \u0275inj=T.G2t({})}return B})()},4330(tn,Ye,d){"use strict";d.d(Ye,{D:()=>Xe,Q:()=>ge});var o=d(2615),s=d(3664),h=d(1985),y=d(1413),v=d(4572),T=d(8793),M=d(152),k=d(6354),H=d(5245),B=d(9172),x=d(6697),ye=d(6977),He=d(9842),Mt=d(408);const Ge=new Set;let Qe,Xe=(()=>{class kt{_platform=(0,o.WQX)(He.O);_nonce=(0,o.WQX)(s.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Le}matchMedia(Ke){return(this._platform.WEBKIT||this._platform.BLINK)&&function ze(kt,Je){if(!Ge.has(kt))try{Qe||(Qe=document.createElement("style"),Je&&Qe.setAttribute("nonce",Je),Qe.setAttribute("type","text/css"),document.head.appendChild(Qe)),Qe.sheet&&(Qe.sheet.insertRule(`@media ${kt} {body{ }}`,0),Ge.add(kt))}catch(Ke){console.error(Ke)}}(Ke,this._nonce),this._matchMedia(Ke)}static \u0275fac=function($e){return new($e||kt)};static \u0275prov=o.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();function Le(kt){return{matches:"all"===kt||""===kt,media:kt,addListener:()=>{},removeListener:()=>{}}}let ge=(()=>{class kt{_mediaMatcher=(0,o.WQX)(Xe);_zone=(0,o.WQX)(s.SKi);_queries=new Map;
1_destroySubject=new y.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(Ke){return ue((0,Mt.F)(Ke)).some(lt=>this._registerQuery(lt).mql.matches)}observe(Ke){const lt=ue((0,Mt.F)(Ke)).map(de=>this._registerQuery(de).observable);let q=(0,v.z)(lt);return q=(0,T.x)(q.pipe((0,x.s)(1)),q.pipe((0,H.i)(1),(0,M.B)(0))),q.pipe((0,k.T)(de=>{const ae={matches:!1,breakpoints:{}};return de.forEach(({matches:he,query:Ne})=>{ae.matches=ae.matches||he,ae.breakpoints[Ne]=he}),ae}))}_registerQuery(Ke){if(this._queries.has(Ke))return this._queries.get(Ke);const $e=this._mediaMatcher.matchMedia(Ke),q={observable:new h.c(de=>{const ae=he=>this._zone.run(()=>de.next(he));return $e.addListener(ae),()=>{$e.removeListener(ae)}}).pipe((0,B.Z)($e),(0,k.T)(({matches:de})=>({query:Ke,matches:de})),(0,ye.Q)(this._destroySubject)),mql:$e};return this._queries.set(Ke,q),q}static \u0275fac=function($e){return new($e||kt)};static \u0275prov=o.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"})}return kt})();function ue(kt){return kt.map(Je=>Je.split(",")).reduce((Je,Ke)=>Je.concat(Ke)).map(Je=>Je.trim())}},4085(tn,Ye,d){"use strict";function o(h){return null!=h&&"false"!=`${h}`}function s(h,y=/\s+/){const v=[];if(null!=h){const T=Array.isArray(h)?h:`${h}`.split(y);for(const M of T){const k=`${M}`.trim();k&&v.push(k)}}return v}d.d(Ye,{cc:()=>s,he:()=>o})},2529(tn,Ye,d){"use strict";d.d(Ye,{Pe:()=>Le,Ph:()=>ae,lG:()=>q,sU:()=>ue});var o=d(2615),s=d(3664),h=d(7705),y=d(1413),v=d(9030),T=d(6939),M=d(7094),k=d(6838),H=d(9842),B=d(4522),x=d(438),ye=d(7336),He=d(9172),Mt=d(6697),Ge=d(9338),Qe=d(9726),Xe=d(1577);function ze(he,Ne){}class Le{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let ue=(()=>{class he extends T.lb{_elementRef=(0,o.WQX)(s.aKT);_focusTrapFactory=(0,o.WQX)(M.GX);_config;_interactivityChecker=(0,o.WQX)(M.Z7);_ngZone=(0,o.WQX)(s.SKi);_focusMonitor=(0,o.WQX)(k.FN);_renderer=(0,o.WQX)(s.sFG);_changeDetectorRef=(0,o.WQX)(h.gRc);_injector=(0,o.WQX)(o.zZn);_platform=(0,o.WQX)(H.O);_document=(0,o.WQX)(o.qQL);_portalOutlet;_focusTrapped=new y.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,o.WQX)(Le,{optional:!0})||new Le,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(ve){this._ariaLabelledByQueue.push(ve),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(ve){const at=this._ariaLabelledByQueue.indexOf(ve);at>-1&&(this._ariaLabelledByQueue.splice(at,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(ve){this._portalOutlet.hasAttached();const at=this._portalOutlet.attachComponentPortal(ve);return this._contentAttached(),at}attachTemplatePortal(ve){this._portalOutlet.hasAttached();const at=this._portalOutlet.attachTemplatePortal(ve);return this._contentAttached(),at}attachDomPortal=ve=>{this._portalOutlet.hasAttached();const at=this._portalOutlet.attachDomPortal(ve);return this._contentAttached(),at};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ve,at){this._interactivityChecker.isFocusable(ve)||(ve.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ut=()=>{nt(),cn(),ve.removeAttribute("tabindex")},nt=this._renderer.listen(ve,"blur",Ut),cn=this._renderer.listen(ve,"mousedown",Ut)})),ve.focus(at)}_focusByCssSelector(ve,at){let Ut=this._elementRef.nativeElement.querySelector(ve);Ut&&this._forceFocus(Ut,at)}_trapFocus(ve){this._isDestroyed||(0,s.mal)(()=>{const at=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||at.focus(ve);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(ve)||this._focusDialogContainer(ve);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',ve);break;default:this._focusByCssSelector(this._config.autoFocus,ve)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const ve=this._config.restoreFocus;let at=null;if("string"==typeof ve?at=this._document.querySelector(ve):"boolean"==typeof ve?at=ve?this._elementFocusedBeforeDialogWasOpened:null:ve&&(at=ve),this._config.restoreFocus&&at&&"function"==typeof at.focus){const Ut=(0,B.vc)(),nt=this._elementRef.nativeElement;(!Ut||Ut===this._document.body||Ut===nt||nt.contains(Ut))&&(this._focusMonitor?(this._focusMonitor.focusVia(at,this._closeInteractionType),this._closeInteractionType=null):at.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(ve){this._elementRef.nativeElement.focus?.(ve)}_containsFocus(){const ve=this._elementRef.nativeElement,at=(0,B.vc)();return ve===at||ve.contains(at)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,B.vc)()))}static \u0275fac=function(at){return new(at||he)};static \u0275cmp=s.VBU({type:he,selectors:[["cdk-dialog-container"]],viewQuery:function(at,Ut){if(1&at&&s.GBs(T.I3,7),2&at){let nt;s.mGM(nt=s.lsd())&&(Ut._portalOutlet=nt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(at,Ut){2&at&&s.BMQ("id",Ut._config.id||null)("role",Ut._config.role)("aria-modal",Ut._config.ariaModal)("aria-labelledby",Ut._config.ariaLabel?null:Ut._ariaLabelledByQueue[0])("aria-label",Ut._config.ariaLabel)("aria-describedby",Ut._config.ariaDescribedBy||null)},features:[s.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(at,Ut){1&at&&s.DNE(0,ze,0,0,"ng-template",0)},dependencies:[T.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return he})();class kt{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new y.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(Ne,ve){this.overlayRef=Ne,this.config=ve,this.disableClose=ve.disableClose,this.backdropClick=Ne.backdropClick(),this.keydownEvents=Ne.keydownEvents(),this.outsidePointerEvents=Ne.outsidePointerEvents(),this.id=ve.id,this.keydownEvents.subscribe(at=>{at.keyCode===x._f&&!this.disableClose&&!(0,ye.rp)(at)&&(at.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=Ne.detachments().subscribe(()=>{!1!==ve.closeOnOverlayDetachments&&this.close()})}close(Ne,ve){if(this._canClose(Ne)){const at=this.closed;this.containerInstance._closeInteractionType=ve?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),at.next(Ne),at.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ne="",ve=""){return this.overlayRef.updateSize({width:Ne,height:ve}),this}addPanelClass(Ne){return this.overlayRef.addPanelClass(Ne),this}removePanelClass(Ne){return this.overlayRef.removePanelClass(Ne),this}_canClose(Ne){const ve=this.config;return!!this.containerInstance&&(!ve.closePredicate||ve.closePredicate(Ne,ve,this.componentInstance))}}const Je=new o.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const he=(0,o.WQX)(o.zZn);return()=>(0,Ge.gA)(he)}}),Ke=new o.nKC("DialogData"),$e=new o.nKC("DefaultDialogConfig");function lt(he){const Ne=(0,o.vPA)(he),ve=new s.bkB;return{valueSignal:Ne,get value(){return Ne()},change:ve,ngOnDestroy(){ve.complete()}}}let q=(()=>{class he{_injector=(0,o.WQX)(o.zZn);_defaultOptions=(0,o.WQX)($e,{optional:!0});_parentDialog=(0,o.WQX)(he,{optional:!0,skipSelf:!0});_overlayContainer=(0,o.WQX)(Ge.Sf);_idGenerator=(0,o.WQX)(Qe.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new y.B;_afterOpenedAtThisLevel=new y.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,o.WQX)(Je);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,v.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,He.Z)(void 0)));constructor(){}open(ve,at){(at={...this._defaultOptions||new Le,...at}).id=at.id||this._idGenerator.getId("cdk-dialog-"),at.id&&this.getDialogById(at.id);const nt=this._getOverlayConfig(at),cn=(0,Ge.Y$)(this._injector,nt),hn=new kt(cn,at),qt=this._attachContainer(cn,hn,at);if(hn.containerInstance=qt,!this.openDialogs.length){const Te=this._overlayContainer.getContainerElement();qt._focusTrapped?qt._focusTrapped.pipe((0,Mt.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(Te)}):this._hideNonDialogContentFromAssistiveTechnology(Te)}return this._attachDialogContent(ve,hn,qt,at),this.openDialogs.push(hn),hn.closed.subscribe(()=>this._removeOpenDialog(hn,!0)),this.afterOpened.next(hn),hn}closeAll(){de(this.openDialogs,ve=>ve.close())}getDialogById(ve){return this.openDialogs.find(at=>at.id===ve)}ngOnDestroy(){de(this._openDialogsAtThisLevel,ve=>{!1===ve.config.closeOnDestroy&&this._removeOpenDialog(ve,!1)}),de(this._openDialogsAtThisLevel,ve=>ve.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ve){const at=new Ge.rR({positionStrategy:ve.positionStrategy||(0,Ge.uA)().centerHorizontally().centerVertically(),scrollStrategy:ve.scrollStrategy||this._scrollStrategy(),panelClass:ve.panelClass,hasBackdrop:ve.hasBackdrop,direction:ve.direction,minWidth:ve.minWidth,minHeight:ve.minHeight,maxWidth:ve.maxWidth,maxHeight:ve.maxHeight,width:ve.width,height:ve.height,disposeOnNavigation:ve.closeOnNavigation,disableAnimations:ve.disableAnimations});return ve.backdropClass&&(at.backdropClass=ve.backdropClass),at}
1_attachContainer(ve,at,Ut){const nt=Ut.injector||Ut.viewContainerRef?.injector,cn=[{provide:Le,useValue:Ut},{provide:kt,useValue:at},{provide:Ge.yY,useValue:ve}];let hn;Ut.container?"function"==typeof Ut.container?hn=Ut.container:(hn=Ut.container.type,cn.push(...Ut.container.providers(Ut))):hn=ue;const qt=new T.A8(hn,Ut.viewContainerRef,o.zZn.create({parent:nt||this._injector,providers:cn}));return ve.attach(qt).instance}_attachDialogContent(ve,at,Ut,nt){if(ve instanceof s.C4Q){const cn=this._createInjector(nt,at,Ut,void 0);let hn={$implicit:nt.data,dialogRef:at};nt.templateContext&&(hn={...hn,..."function"==typeof nt.templateContext?nt.templateContext():nt.templateContext}),Ut.attachTemplatePortal(new T.VA(ve,null,hn,cn))}else{const cn=this._createInjector(nt,at,Ut,this._injector),hn=Ut.attachComponentPortal(new T.A8(ve,nt.viewContainerRef,cn));at.componentRef=hn,at.componentInstance=hn.instance}}_createInjector(ve,at,Ut,nt){const cn=ve.injector||ve.viewContainerRef?.injector,hn=[{provide:Ke,useValue:ve.data},{provide:kt,useValue:at}];return ve.providers&&("function"==typeof ve.providers?hn.push(...ve.providers(at,ve,Ut)):hn.push(...ve.providers)),ve.direction&&(!cn||!cn.get(Xe.dS,null,{optional:!0}))&&hn.push({provide:Xe.dS,useValue:lt(ve.direction)}),o.zZn.create({parent:cn||nt,providers:hn})}_removeOpenDialog(ve,at){const Ut=this.openDialogs.indexOf(ve);Ut>-1&&(this.openDialogs.splice(Ut,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((nt,cn)=>{nt?cn.setAttribute("aria-hidden",nt):cn.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),at&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(ve){if(ve.parentElement){const at=ve.parentElement.children;for(let Ut=at.length-1;Ut>-1;Ut--){const nt=at[Ut];nt!==ve&&"SCRIPT"!==nt.nodeName&&"STYLE"!==nt.nodeName&&!nt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(nt,nt.getAttribute("aria-hidden")),nt.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ve=this._parentDialog;return ve?ve._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(at){return new(at||he)};static \u0275prov=o.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})();function de(he,Ne){let ve=he.length;for(;ve--;)Ne(he[ve])}let ae=(()=>{class he{static \u0275fac=function(at){return new(at||he)};static \u0275mod=s.$C({type:he});static \u0275inj=o.G2t({providers:[q],imports:[Ge.z_,T.jc,M.Pd,T.jc]})}return he})()},1577(tn,Ye,d){"use strict";d.d(Ye,{dS:()=>M});var o=d(2615),s=d(3664);const h=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function y(){return(0,o.WQX)(o.qQL)}}),v=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let M=(()=>{class k{get value(){return this.valueSignal()}valueSignal=(0,o.vPA)("ltr");change=new s.bkB;constructor(){const B=(0,o.WQX)(h,{optional:!0});B&&this.valueSignal.set(function T(k){const H=k?.toLowerCase()||"";return"auto"===H&&typeof navigator<"u"&&navigator?.language?v.test(navigator.language)?"rtl":"ltr":"rtl"===H?"rtl":"ltr"}((B.body?B.body.dir:null)||(B.documentElement?B.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(x){return new(x||k)};static \u0275prov=o.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},1875(tn,Ye,d){"use strict";d.d(Ye,{T1:()=>X,EM:()=>Er,O7:()=>On,ad:()=>an,HD:()=>_});var o=d(3664),s=d(2615),h=d(7705),y=d(1413),v=d(8359),T=d(3236),M=d(1584),H=d(536),B=d(1985),x=d(7786),ye=d(4412),He=d(4522),Mt=d(5735),Ge=d(7847),Qe=d(6977),Xe=d(6354),ze=d(6697),Le=d(8141),ge=d(5558),ue=d(9172),kt=d(8968),Je=d(5478),Ke=d(1577),$e=d(9726),lt=d(408);function q(Pt){const ke=Pt.cloneNode(!0),De=ke.querySelectorAll("[id]"),_t=Pt.nodeName.toLowerCase();ke.removeAttribute("id");for(let et=0;et<De.length;et++)De[et].removeAttribute("id");return"canvas"===_t?Ne(Pt,ke):("input"===_t||"select"===_t||"textarea"===_t)&&he(Pt,ke),de("canvas",Pt,ke,Ne),de("input, textarea, select",Pt,ke,he),ke}function de(Pt,ke,De,_t){const et=ke.querySelectorAll(Pt);if(et.length){const Rn=De.querySelectorAll(Pt);for(let Zn=0;Zn<et.length;Zn++)_t(et[Zn],Rn[Zn])}}let ae=0;function he(Pt,ke){"file"!==ke.type&&(ke.value=Pt.value),"radio"===ke.type&&ke.name&&(ke.name=`mat-clone-${ke.name}-${ae++}`)}function Ne(Pt,ke){const De=ke.getContext("2d");if(De)try{De.drawImage(Pt,0,0)}catch{}}function ve(Pt){const ke=Pt.getBoundingClientRect();return{top:ke.top,right:ke.right,bottom:ke.bottom,left:ke.left,width:ke.width,height:ke.height,x:ke.x,y:ke.y}}function at(Pt,ke,De){const{top:_t,bottom:et,left:Rn,right:Zn}=Pt;return De>=_t&&De<=et&&ke>=Rn&&ke<=Zn}function nt(Pt,ke,De){Pt.top+=ke,Pt.bottom=Pt.top+Pt.height,Pt.left+=De,Pt.right=Pt.left+Pt.width}function cn(Pt,ke,De,_t){const{top:et,right:Rn,bottom:Zn,left:gt,width:zn,height:ft}=Pt,Bt=zn*ke,xn=ft*ke;return _t>et-xn&&_t<Zn+xn&&De>gt-Bt&&De<Rn+Bt}class hn{_document;positions=new Map;constructor(ke){this._document=ke}clear(){this.positions.clear()}cache(ke){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),ke.forEach(De=>{this.positions.set(De,{scrollPosition:{top:De.scrollTop,left:De.scrollLeft},clientRect:ve(De)})})}handleScroll(ke){const De=(0,He.Fb)(ke),_t=this.positions.get(De);
1if(!_t)return null;const et=_t.scrollPosition;let Rn,Zn;if(De===this._document){const ft=this.getViewportScrollPosition();Rn=ft.top,Zn=ft.left}else Rn=De.scrollTop,Zn=De.scrollLeft;const gt=et.top-Rn,zn=et.left-Zn;return this.positions.forEach((ft,Bt)=>{ft.clientRect&&De!==Bt&&De.contains(Bt)&&nt(ft.clientRect,gt,zn)}),et.top=Rn,et.left=Zn,{top:gt,left:zn}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function qt(Pt,ke){const De=Pt.rootNodes;if(1===De.length&&De[0].nodeType===ke.ELEMENT_NODE)return De[0];const _t=ke.createElement("div");return De.forEach(et=>_t.appendChild(et)),_t}function Te(Pt,ke,De){for(let _t in ke)if(ke.hasOwnProperty(_t)){const et=ke[_t];et?Pt.setProperty(_t,et,De?.has(_t)?"important":""):Pt.removeProperty(_t)}return Pt}function Pe(Pt,ke){const De=ke?"":"none";Te(Pt.style,{"touch-action":ke?"":"none","-webkit-user-drag":ke?"":"none","-webkit-tap-highlight-color":ke?"":"transparent","user-select":De,"-ms-user-select":De,"-webkit-user-select":De,"-moz-user-select":De})}function yt(Pt,ke,De){Te(Pt.style,{position:ke?"":"fixed",top:ke?"":"0",opacity:ke?"":"0",left:ke?"":"-999em"},De)}function wt(Pt,ke){return ke&&"none"!=ke?Pt+" "+ke:Pt}function Ie(Pt,ke){Pt.style.width=`${ke.width}px`,Pt.style.height=`${ke.height}px`,Pt.style.transform=ie(ke.left,ke.top)}function ie(Pt,ke){return`translate3d(${Math.round(Pt)}px, ${Math.round(ke)}px, 0)`}function je(Pt){const ke=Pt.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(Pt)*ke}function Ze(Pt,ke){return Pt.getPropertyValue(ke).split(",").map(_t=>_t.trim())}const We=new Set(["position"]);class Ot{_document;_rootElement;_direction;_initialDomRect;_previewTemplate;_previewClass;_pickupPositionOnPage;_initialTransform;_zIndex;_renderer;_previewEmbeddedView;_preview;get element(){return this._preview}constructor(ke,De,_t,et,Rn,Zn,gt,zn,ft,Bt){this._document=ke,this._rootElement=De,this._direction=_t,this._initialDomRect=et,this._previewTemplate=Rn,this._previewClass=Zn,this._pickupPositionOnPage=gt,this._initialTransform=zn,this._zIndex=ft,this._renderer=Bt}attach(ke){this._preview=this._createPreview(),ke.appendChild(this._preview),Me(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(ke){this._preview.style.transform=ke}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(ke){this._preview.classList.add(ke)}getTransitionDuration(){return function rt(Pt){const ke=getComputedStyle(Pt),De=Ze(ke,"transition-property"),_t=De.find(gt=>"transform"===gt||"all"===gt);if(!_t)return 0;const et=De.indexOf(_t),Rn=Ze(ke,"transition-duration"),Zn=Ze(ke,"transition-delay");return je(Rn[et])+je(Zn[et])}(this._preview)}addEventListener(ke,De){return this._renderer.listen(this._preview,ke,De)}_createPreview(){const ke=this._previewTemplate,De=this._previewClass,_t=ke?ke.template:null;let et;if(_t&&ke){const Rn=ke.matchSize?this._initialDomRect:null,Zn=ke.viewContainer.createEmbeddedView(_t,ke.context);Zn.detectChanges(),et=qt(Zn,this._document),this._previewEmbeddedView=Zn,ke.matchSize?Ie(et,Rn):et.style.transform=ie(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else et=q(this._rootElement),Ie(et,this._initialDomRect),this._initialTransform&&(et.style.transform=this._initialTransform);return Te(et.style,{"pointer-events":"none",margin:Me(et)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},We),Pe(et,!1),et.classList.add("cdk-drag-preview"),et.setAttribute("popover","manual"),et.setAttribute("dir",this._direction),De&&(Array.isArray(De)?De.forEach(Rn=>et.classList.add(Rn)):et.classList.add(De)),et}}function Me(Pt){return"showPopover"in Pt}const It={passive:!0},Zt={passive:!1},ti={passive:!1,capture:!0},mr="cdk-drag-placeholder",Bn=new Set(["position"]);class Oi{_config;_document;_ngZone;_viewportRuler;_dragDropRegistry;_renderer;_rootElementCleanups;_cleanupShadowRootSelectStart;_preview;_previewContainer;_placeholderRef;_placeholder;_pickupPositionInElement;_pickupPositionOnPage;_marker;_anchor=null;_passiveTransform={x:0,y:0};_activeTransform={x:0,y:0};_initialTransform;_hasStartedDragging=(0,s.vPA)(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new y.B;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=v.yU.EMPTY;_pointerUpSubscription=v.yU.EMPTY;_scrollSubscription=v.yU.EMPTY;_resizeSubscription=v.yU.EMPTY;_lastTouchEventTime;_dragStartTime;_boundaryElement=null;_nativeInteractionsEnabled=!0;_initialDomRect;_previewRect;_boundaryRect;_previewTemplate;_placeholderTemplate;_handles=[];_disabledHandles=new Set;_dropContainer;_direction="ltr";_parentDragRef;_cachedShadowRoot;lockAxis=null;dragStartDelay=0;previewClass;scale=1;get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(ke){ke!==this._disabled&&(this._disabled=ke,this._toggleNativeDragInteractions(),this._handles.forEac
1h(De=>Pe(De,ke)))}_disabled=!1;beforeStarted=new y.B;started=new y.B;released=new y.B;ended=new y.B;entered=new y.B;exited=new y.B;dropped=new y.B;moved=this._moveEvents;data;constrainPosition;constructor(ke,De,_t,et,Rn,Zn,gt){this._config=De,this._document=_t,this._ngZone=et,this._viewportRuler=Rn,this._dragDropRegistry=Zn,this._renderer=gt,this.withRootElement(ke).withParent(De.parentDragRef||null),this._parentPositions=new hn(_t),Zn.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(ke){this._handles=ke.map(_t=>(0,Ge.i8)(_t)),this._handles.forEach(_t=>Pe(_t,this.disabled)),this._toggleNativeDragInteractions();const De=new Set;return this._disabledHandles.forEach(_t=>{this._handles.indexOf(_t)>-1&&De.add(_t)}),this._disabledHandles=De,this}withPreviewTemplate(ke){return this._previewTemplate=ke,this}withPlaceholderTemplate(ke){return this._placeholderTemplate=ke,this}withRootElement(ke){const De=(0,Ge.i8)(ke);if(De!==this._rootElement){this._removeRootElementListeners();const _t=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[_t.listen(De,"mousedown",this._pointerDown,Zt),_t.listen(De,"touchstart",this._pointerDown,It),_t.listen(De,"dragstart",this._nativeDragStart,Zt)]),this._initialTransform=void 0,this._rootElement=De}return typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(ke){return this._boundaryElement=ke?(0,Ge.i8)(ke):null,this._resizeSubscription.unsubscribe(),ke&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(ke){return this._parentDragRef=ke,this}dispose(){this._removeRootElementListeners(),this.isDragging()&&this._rootElement?.remove(),this._marker?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._marker=this._parentDragRef=null}isDragging(){return this._hasStartedDragging()&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}resetToBoundary(){if(this._boundaryElement&&this._rootElement&&function Ut(Pt,ke){return ke.left<Pt.left||ke.left+ke.width>Pt.right||ke.top<Pt.top||ke.top+ke.height>Pt.bottom}(this._boundaryElement.getBoundingClientRect(),this._rootElement.getBoundingClientRect())){const ke=this._boundaryElement.getBoundingClientRect(),De=this._rootElement.getBoundingClientRect();let _t=0,et=0;De.left<ke.left?_t=ke.left-De.left:De.right>ke.right&&(_t=ke.right-De.right),De.top<ke.top?et=ke.top-De.top:De.bottom>ke.bottom&&(et=ke.bottom-De.bottom);let gt=this._activeTransform.x+_t,zn=this._activeTransform.y+et;this._rootElement.style.transform=ie(gt,zn),this._activeTransform={x:gt,y:zn},this._passiveTransform={x:gt,y:zn}}}disableHandle(ke){!this._disabledHandles.has(ke)&&this._handles.indexOf(ke)>-1&&(this._disabledHandles.add(ke),Pe(ke,!0))}enableHandle(ke){this._disabledHandles.has(ke)&&(this._disabledHandles.delete(ke),Pe(ke,this.disabled))}withDirection(ke){return this._direction=ke,this}_withDropContainer(ke){this._dropContainer=ke}getFreeDragPosition(){const ke=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:ke.x,y:ke.y}}setFreeDragPosition(ke){return this._activeTransform={x:0,y:0},this._passiveTransform.x=ke.x,this._passiveTransform.y=ke.y,this._dropContainer||this._applyRootElementTransform(ke.x,ke.y),this}withPreviewContainer(ke){return this._previewContainer=ke,this}_sortFromLastPointerPosition(){const ke=this._lastKnownPointerPosition;ke&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(ke),ke)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._cleanupShadowRootSelectStart?.(),this._cleanupShadowRootSelectStart=void 0}_destroyPreview(){this._preview?.destroy(),this._preview=null}
1_destroyPlaceholder(){this._anchor?.remove(),this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._anchor=this._placeholderRef=null}_pointerDown=ke=>{if(this.beforeStarted.next(),this._handles.length){const De=this._getTargetHandle(ke);De&&!this._disabledHandles.has(De)&&!this.disabled&&this._initializeDragSequence(De,ke)}else this.disabled||this._initializeDragSequence(this._rootElement,ke)};_pointerMove=ke=>{const De=this._getPointerPositionOnPage(ke);if(!this._hasStartedDragging()){if(Math.abs(De.x-this._pickupPositionOnPage.x)+Math.abs(De.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const gt=Date.now()>=this._dragStartTime+this._getDragStartDelay(ke),zn=this._dropContainer;if(!gt)return void this._endDragSequence(ke);(!zn||!zn.isDragging()&&!zn.isReceiving())&&(ke.cancelable&&ke.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(ke)))}return}ke.cancelable&&ke.preventDefault();const _t=this._getConstrainedPointerPosition(De);if(this._hasMoved=!0,this._lastKnownPointerPosition=De,this._updatePointerDirectionDelta(_t),this._dropContainer)this._updateActiveDropContainer(_t,De);else{const et=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,Rn=this._activeTransform;Rn.x=_t.x-et.x+this._passiveTransform.x,Rn.y=_t.y-et.y+this._passiveTransform.y,this._applyRootElementTransform(Rn.x,Rn.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:_t,event:ke,distance:this._getDragDistance(_t),delta:this._pointerDirectionDelta})})};_pointerUp=ke=>{this._endDragSequence(ke)};_endDragSequence(ke){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging()))if(this.released.next({source:this,event:ke}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(ke),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const De=this._getPointerPositionOnPage(ke);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(De),dropPoint:De,event:ke})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(ke){Tn(ke)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const De=this._getShadowRoot(),_t=this._dropContainer;if(De&&this._ngZone.runOutsideAngular(()=>{this._cleanupShadowRootSelectStart=this._renderer.listen(De,"selectstart",Yn,ti)}),_t){const et=this._rootElement,Rn=et.parentNode,Zn=this._placeholder=this._createPlaceholderElement(),gt=this._marker=this._marker||this._document.createComment("");Rn.insertBefore(gt,et),this._initialTransform=et.style.transform||"",this._preview=new Ot(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3,this._renderer),this._preview.attach(this._getPreviewInsertionPoint(Rn,De)),yt(et,!1,Bn),this._document.body.appendChild(Rn.replaceChild(Zn,et)),this.started.next({source:this,event:ke}),_t.start(),this._initialContainer=_t,this._initialIndex=_t.getItemIndex(this)}else this.started.next({source:this,event:ke}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(_t?_t.getScrollableParents():[])}_initializeDragSequence(ke,De){this._parentDragRef&&De.stopPropagation();const _t=this.isDragging(),et=Tn(De),Rn=!et&&0!==De.button,Zn=this._rootElement,gt=(0,He.Fb)(De),zn=!et&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),ft=et?(0,Mt.w)(De):(0,Mt._)(De);if(gt&>.draggable&&"mousedown"===De.type&&De.preventDefault(),_t||Rn||zn||ft)return;if(this._handles.length){const Ti=Zn.style;this._rootElementTapHighlight=Ti.webkitTapHighlightColor||"",Ti.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Ti=>this._updateOnScroll(Ti)),this._boundaryElement&&(this._boundaryRect=ve(this._boundaryElement));const Bt=this._previewTemplate;this._pickupPositionInElement=Bt&&Bt.template&&!Bt.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,ke,De);const xn=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(De);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:xn.x,y:xn.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,De)}_cleanupDragArtifacts(ke){yt(this._rootElement,!0,Bn),this._marker.parentNode.replaceChild(this._rootElement,this._marker),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const De=this._dropContainer,_t=De.getItemIndex(this),et=this._getPointerPositionOnPage(ke),Rn=this._getDragDistance(et),Zn=De._isOverContainer(et.x,et.y);this.ended.next({source:this,distance:Rn,dropPoint:et,event:ke}),this.dropped.next({item:this,currentIndex:_t,previousIndex:this._initialIndex,container:De,previousContainer:this._initialContainer,isPointerOverContainer:Zn,distance:Rn,dropPoint:et,event:ke}),De.drop(this,_t,this._initialIndex,this._initialContainer,Zn,Rn,et,ke),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:ke,y:De},{x:_t,y:et}){let Rn=this._initialContainer._getSiblingContainerFromPosition(this,ke,De);!Rn&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(ke,De)&&(Rn=this._initialContainer),Rn&&Rn!==this._dropContainer&&this._ngZone.run(()=>{const Zn=this._dropContainer.getItemIndex(this),gt=this._dropContainer.getItemAtIndex(Zn+1)?.getVisibleElement()||null;this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._conditionallyInsertAnchor(Rn,this._dropContainer,gt),this._dropContainer=Rn,this._dropContainer.enter(this,ke,De,Rn===this._initialContainer&&Rn.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:Rn,currentIndex:Rn.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(_t,et),this._dropContainer._sortItem(this,ke,De,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(ke,De):this._applyPreviewTransform(ke-this._pickupPositionInElement.x,De-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const ke=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(ke.left,ke.top);const De=this._preview.getTransitionDuration();return 0===De?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(_t=>{const et=gt=>{(!gt||this._preview&&(0,He.Fb)(gt)===this._preview.element&&"transform"===gt.propertyName)&&(Zn(),_t(),clearTimeout(Rn))},Rn=setTimeout(et,1.5*De),Zn=this._preview.addEventListener("transitionend",et)}))}_createPlaceholderElement(){const ke=this._placeholderTemplate,De=ke?ke.template:null;let _t;return De?(this._placeholderRef=ke.viewContainer.createEmbeddedView(De,ke.context),this._placeholderRef.detectChanges(),_t=qt(this._placeholderRef,this._document)):_t=q(this._rootElement),_t.style.pointerEvents="none",_t.classList.add(mr),_t}_getPointerPositionInElement(ke,De,_t){const et=De===this._rootElement?null:De,Rn=et?et.getBoundingClientRect():ke,Zn=Tn(_t)?_t.targetTouches[0]:_t,gt=this._getViewportScrollPosition();return{x:Rn.left-ke.left+(Zn.pageX-Rn.left-gt.left),y:Rn.top-ke.top+(Zn.pageY-Rn.top-gt.top)}}_getPointerPositionOnPage(ke){const De=this._getViewportScrollPosition(),_t=Tn(ke)?ke.touches[0]||ke.changedTouches[0]||{pageX:0,pageY:0}:ke,et=_t.pageX-De.left,Rn=_t.pageY-De.top;if(this._ownerSVGElement){const Zn=this._ownerSVGElement.getScreenCTM();if(Zn){const gt=this._ownerSVGElement.createSVGPoint();return gt.x=et,gt.y=Rn,gt.matrixTransform(Zn.inverse())}}return{x:et,y:Rn}}_getConstrainedPointerPosition(ke){const De=this._dropContainer?this._dropContainer.lockAxis:null;let{x:_t,y:et}=this.constrainPosition?this.constrainPosition(ke,this,this._initialDomRect,this._pickupPositionInElement):ke;if("x"===this.lockAxis||"x"===De?et=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===De)&&(_t=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:Rn,y:Zn}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,gt=this._boundaryRect,{width:zn,height:ft}=this._getPreviewRect(),Bt=gt.top+Zn,xn=gt.bottom-(ft-Zn);_t=dn(_t,gt.left+Rn,gt.right-(zn-Rn)),et=dn(et,Bt,xn)}return{x:_t,y:et}}_updatePointerDirectionDelta(ke){const{x:De,y:_t}=ke,et=this._pointerDirectionDelta,Rn=this._pointerPositionAtLastDirectionChange,Zn=Math.abs(De-Rn.x),gt=Math.abs(_t-Rn.y);return Zn>this._config.pointerDirectionChangeThreshold&&(et.x=De>Rn.x?1:-1,Rn.x=De),gt>this._config.pointerDirectionChangeThreshold&&(et.y=_t>Rn.y?1:-1,Rn.y=_t),et}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const ke=this._handles.length>0||!this.isDragging();ke!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=ke,Pe
1(this._rootElement,ke))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(ke=>ke()),this._rootElementCleanups=void 0}_applyRootElementTransform(ke,De){const _t=1/this.scale,et=ie(ke*_t,De*_t),Rn=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=Rn.transform&&"none"!=Rn.transform?Rn.transform:""),Rn.transform=wt(et,this._initialTransform)}_applyPreviewTransform(ke,De){const _t=this._previewTemplate?.template?void 0:this._initialTransform,et=ie(ke,De);this._preview.setTransform(wt(et,_t))}_getDragDistance(ke){const De=this._pickupPositionOnPage;return De?{x:ke.x-De.x,y:ke.y-De.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:ke,y:De}=this._passiveTransform;if(0===ke&&0===De||this.isDragging()||!this._boundaryElement)return;const _t=this._rootElement.getBoundingClientRect(),et=this._boundaryElement.getBoundingClientRect();if(0===et.width&&0===et.height||0===_t.width&&0===_t.height)return;const Rn=et.left-_t.left,Zn=_t.right-et.right,gt=et.top-_t.top,zn=_t.bottom-et.bottom;et.width>_t.width?(Rn>0&&(ke+=Rn),Zn>0&&(ke-=Zn)):ke=0,et.height>_t.height?(gt>0&&(De+=gt),zn>0&&(De-=zn)):De=0,(ke!==this._passiveTransform.x||De!==this._passiveTransform.y)&&this.setFreeDragPosition({y:De,x:ke})}_getDragStartDelay(ke){const De=this.dragStartDelay;return"number"==typeof De?De:Tn(ke)?De.touch:De?De.mouse:0}_updateOnScroll(ke){const De=this._parentPositions.handleScroll(ke);if(De){const _t=(0,He.Fb)(ke);this._boundaryRect&&_t!==this._boundaryElement&&_t.contains(this._boundaryElement)&&nt(this._boundaryRect,De.top,De.left),this._pickupPositionOnPage.x+=De.left,this._pickupPositionOnPage.y+=De.top,this._dropContainer||(this._activeTransform.x-=De.left,this._activeTransform.y-=De.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,He.KT)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(ke,De){const _t=this._previewContainer||"global";if("parent"===_t)return ke;if("global"===_t){const et=this._document;return De||et.fullscreenElement||et.webkitFullscreenElement||et.mozFullScreenElement||et.msFullscreenElement||et.body}return(0,Ge.i8)(_t)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_nativeDragStart=ke=>{if(this._handles.length){const De=this._getTargetHandle(ke);De&&!this._disabledHandles.has(De)&&!this.disabled&&ke.preventDefault()}else this.disabled||ke.preventDefault()};_getTargetHandle(ke){return this._handles.find(De=>ke.target&&(ke.target===De||De.contains(ke.target)))}_conditionallyInsertAnchor(ke,De,_t){if(ke===this._initialContainer)this._anchor?.remove(),this._anchor=null;else if(De===this._initialContainer&&De.hasAnchor){const et=this._anchor??=q(this._placeholder);et.classList.remove(mr),et.classList.add("cdk-drag-anchor"),et.style.transform="",_t?_t.before(et):(0,Ge.i8)(De.element).appendChild(et)}}}function dn(Pt,ke,De){return Math.max(ke,Math.min(De,Pt))}function Tn(Pt){return"t"===Pt.type[0]}function Yn(Pt){Pt.preventDefault()}function _(Pt,ke,De){const _t=ai(ke,Pt.length-1),et=ai(De,Pt.length-1);if(_t===et)return;const Rn=Pt[_t],Zn=et<_t?-1:1;for(let gt=_t;gt!==et;gt+=Zn)Pt[gt]=Pt[gt+Zn];Pt[et]=Rn}function ai(Pt,ke){return Math.max(0,Math.min(ke,Pt))}class pi{_dragDropRegistry;_element;_sortPredicate;_itemPositions=[];_activeDraggables;orientation="vertical";direction;constructor(ke){this._dragDropRegistry=ke}_previousSwap={drag:null,delta:0,overlaps:!1};start(ke){this.withItems(ke)}sort(ke,De,_t,et){const Rn=this._itemPositions,Zn=this._getItemIndexFromPointerPosition(ke,De,_t,et);if(-1===Zn&&Rn.length>0)return null;const gt="horizontal"===this.orientation,zn=Rn.findIndex(wn=>wn.drag===ke),ft=Rn[Zn],xn=ft.clientRect,Ti=zn>Zn?1:-1,Gi=this._getItemOffsetPx(Rn[zn].clientRect,xn,Ti),Mr=this._getSiblingOffsetPx(zn,Rn,Ti),$t=Rn.slice();
1return _(Rn,zn,Zn),Rn.forEach((wn,In)=>{if($t[In]===wn)return;const Di=wn.drag===ke,Ai=Di?Gi:Mr,ki=Di?ke.getPlaceholderElement():wn.drag.getRootElement();wn.offset+=Ai;const _r=Math.round(wn.offset*(1/wn.drag.scale));gt?(ki.style.transform=wt(`translate3d(${_r}px, 0, 0)`,wn.initialTransform),nt(wn.clientRect,0,Ai)):(ki.style.transform=wt(`translate3d(0, ${_r}px, 0)`,wn.initialTransform),nt(wn.clientRect,Ai,0))}),this._previousSwap.overlaps=at(xn,De,_t),this._previousSwap.drag=ft.drag,this._previousSwap.delta=gt?et.x:et.y,{previousIndex:zn,currentIndex:Zn}}enter(ke,De,_t,et){const Rn=null==et||et<0?this._getItemIndexFromPointerPosition(ke,De,_t):et,Zn=this._activeDraggables,gt=Zn.indexOf(ke),zn=ke.getPlaceholderElement();let ft=Zn[Rn];if(ft===ke&&(ft=Zn[Rn+1]),!ft&&(null==Rn||-1===Rn||Rn<Zn.length-1)&&this._shouldEnterAsFirstChild(De,_t)&&(ft=Zn[0]),gt>-1&&Zn.splice(gt,1),ft&&!this._dragDropRegistry.isDragging(ft)){const Bt=ft.getRootElement();Bt.parentElement.insertBefore(zn,Bt),Zn.splice(Rn,0,ke)}else this._element.appendChild(zn),Zn.push(ke);zn.style.transform="",this._cacheItemPositions()}withItems(ke){this._activeDraggables=ke.slice(),this._cacheItemPositions()}withSortPredicate(ke){this._sortPredicate=ke}reset(){this._activeDraggables?.forEach(ke=>{const De=ke.getRootElement();if(De){const _t=this._itemPositions.find(et=>et.drag===ke)?.initialTransform;De.style.transform=_t||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(ke){return this._getVisualItemPositions().findIndex(De=>De.drag===ke)}getItemAtIndex(ke){return this._getVisualItemPositions()[ke]?.drag||null}updateOnScroll(ke,De){this._itemPositions.forEach(({clientRect:_t})=>{nt(_t,ke,De)}),this._itemPositions.forEach(({drag:_t})=>{this._dragDropRegistry.isDragging(_t)&&_t._sortFromLastPointerPosition()})}withElementContainer(ke){this._element=ke}_cacheItemPositions(){const ke="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(De=>{const _t=De.getVisibleElement();return{drag:De,offset:0,initialTransform:_t.style.transform||"",clientRect:ve(_t)}}).sort((De,_t)=>ke?De.clientRect.left-_t.clientRect.left:De.clientRect.top-_t.clientRect.top)}_getVisualItemPositions(){return"horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions}_getItemOffsetPx(ke,De,_t){const et="horizontal"===this.orientation;let Rn=et?De.left-ke.left:De.top-ke.top;return-1===_t&&(Rn+=et?De.width-ke.width:De.height-ke.height),Rn}_getSiblingOffsetPx(ke,De,_t){const et="horizontal"===this.orientation,Rn=De[ke].clientRect,Zn=De[ke+-1*_t];let gt=Rn[et?"width":"height"]*_t;if(Zn){const zn=et?"left":"top",ft=et?"right":"bottom";-1===_t?gt-=Zn.clientRect[zn]-Rn[ft]:gt+=Rn[zn]-Zn.clientRect[ft]}return gt}_shouldEnterAsFirstChild(ke,De){if(!this._activeDraggables.length)return!1;const _t=this._itemPositions,et="horizontal"===this.orientation;if(_t[0].drag!==this._activeDraggables[0]){const Zn=_t[_t.length-1].clientRect;return et?ke>=Zn.right:De>=Zn.bottom}{const Zn=_t[0].clientRect;return et?ke<=Zn.left:De<=Zn.top}}_getItemIndexFromPointerPosition(ke,De,_t,et){const Rn="horizontal"===this.orientation,Zn=this._itemPositions.findIndex(({drag:gt,clientRect:zn})=>gt!==ke&&((!et||gt!==this._previousSwap.drag||!this._previousSwap.overlaps||(Rn?et.x:et.y)!==this._previousSwap.delta)&&(Rn?De>=Math.floor(zn.left)&&De<Math.floor(zn.right):_t>=Math.floor(zn.top)&&_t<Math.floor(zn.bottom))));return-1!==Zn&&this._sortPredicate(Zn,ke)?Zn:-1}}class Vi{_document;_dragDropRegistry;_element;_sortPredicate;_rootNode;_activeItems;_previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};_relatedNodes=[];constructor(ke,De){this._document=ke,this._dragDropRegistry=De}start(ke){const De=this._element.childNodes;this._relatedNodes=[];for(let _t=0;_t<De.length;_t++){const et=De[_t];this._relatedNodes.push([et,et.nextSibling])}this.withItems(ke)}sort(ke,De,_t,et){const Rn=this._getItemIndexFromPointerPosition(ke,De,_t),Zn=this._previousSwap;if(-1===Rn||this._activeItems[Rn]===ke)return null;const gt=this._activeItems[Rn];if(Zn.drag===gt&&Zn.overlaps&&Zn.deltaX===et.x&&Zn.deltaY===et.y)return null;const zn=this.getItemIndex(ke),ft=ke.getPlaceholderElement(),Bt=gt.getRootElement();Rn>zn?Bt.after(ft):Bt.before(ft),_(this._activeItems,zn,Rn);const xn=this._getRootNode().elementFromPoint(De,_t);return Zn.deltaX=et.x,Zn.deltaY=et.y,Zn.drag=gt,Zn.overlaps=Bt===xn||Bt.contains(xn),{previousIndex:zn,currentIndex:Rn}}enter(ke,De,_t,et){const Rn=this._activeItems.indexOf(ke);Rn>-1&&this._activeItems.splice(Rn,1);let Zn=null==et||et<0?this._getItemIndexFromPointerPosition(ke,De,_t):et;-1===Zn&&(Zn=this._getClosestItemIndexToPointer(ke,De,_t));const gt=this._activeItems[Zn];gt&&!this._dragDropRegistry.isDragging(gt)?(this._activeItems.splice(Zn,0,ke),gt.getRootElement().before(ke.getPlaceholderElement())):(this._activeItems.push(ke),this._element.appendChild(ke.getPlaceholderElement()))}withItems(ke){this._activeItems=ke.slice()}withSortPredicate(ke){this._sortPredicate=ke}reset(){const ke=this._element,De=this._previousSwap;for(let _t=this._relatedNodes.length-1;_t>-1;_t--){const[et,Rn]=this._relatedNodes[_t];et.parentNode===ke&&et.nextSibling!==Rn&&(null===Rn?ke.appendChild(et):Rn.parentNode===ke&&ke.insertBefore(et,Rn))}this._relatedNodes=[],this._activeItems=[],De.drag=null,De.deltaX=De.deltaY=0,De.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(ke){return this._activeItems.indexOf(ke)}getItemAtIndex(ke){return this._activeItems[ke]||null}
1updateOnScroll(){this._activeItems.forEach(ke=>{this._dragDropRegistry.isDragging(ke)&&ke._sortFromLastPointerPosition()})}withElementContainer(ke){ke!==this._element&&(this._element=ke,this._rootNode=void 0)}_getItemIndexFromPointerPosition(ke,De,_t){const et=this._getRootNode().elementFromPoint(Math.floor(De),Math.floor(_t)),Rn=et?this._activeItems.findIndex(Zn=>{const gt=Zn.getRootElement();return et===gt||gt.contains(et)}):-1;return-1!==Rn&&this._sortPredicate(Rn,ke)?Rn:-1}_getRootNode(){return this._rootNode||(this._rootNode=(0,He.KT)(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(ke,De,_t){if(0===this._activeItems.length)return-1;if(1===this._activeItems.length)return 0;let et=1/0,Rn=-1;for(let Zn=0;Zn<this._activeItems.length;Zn++){const gt=this._activeItems[Zn];if(gt!==ke){const{x:zn,y:ft}=gt.getRootElement().getBoundingClientRect(),Bt=Math.hypot(De-zn,_t-ft);Bt<et&&(et=Bt,Rn=Zn)}}return Rn}}var Sn=function(Pt){return Pt[Pt.NONE=0]="NONE",Pt[Pt.UP=1]="UP",Pt[Pt.DOWN=2]="DOWN",Pt}(Sn||{}),ci=function(Pt){return Pt[Pt.NONE=0]="NONE",Pt[Pt.LEFT=1]="LEFT",Pt[Pt.RIGHT=2]="RIGHT",Pt}(ci||{});class Un{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis=null;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new y.B;entered=new y.B;exited=new y.B;dropped=new y.B;sorted=new y.B;receivingStarted=new y.B;receivingStopped=new y.B;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=v.yU.EMPTY;_verticalScrollDirection=Sn.NONE;_horizontalScrollDirection=ci.NONE;_scrollNode;_stopScrollTimers=new y.B;_cachedShadowRoot=null;_document;_scrollableElements=[];_initialScrollSnap;_direction="ltr";constructor(ke,De,_t,et,Rn){this._dragDropRegistry=De,this._ngZone=et,this._viewportRuler=Rn;const Zn=this.element=(0,Ge.i8)(ke);this._document=_t,this.withOrientation("vertical").withElementContainer(Zn),De.registerDropContainer(this),this._parentPositions=new hn(_t)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(ke,De,_t,et){this._draggingStarted(),null==et&&this.sortingDisabled&&(et=this._draggables.indexOf(ke)),this._sortStrategy.enter(ke,De,_t,et),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:ke,container:this,currentIndex:this.getItemIndex(ke)})}exit(ke){this._reset(),this.exited.next({item:ke,container:this})}drop(ke,De,_t,et,Rn,Zn,gt,zn={}){this._reset(),this.dropped.next({item:ke,currentIndex:De,previousIndex:_t,container:this,previousContainer:et,isPointerOverContainer:Rn,distance:Zn,dropPoint:gt,event:zn})}withItems(ke){const De=this._draggables;return this._draggables=ke,ke.forEach(_t=>_t._withDropContainer(this)),this.isDragging()&&(De.filter(et=>et.isDragging()).every(et=>-1===ke.indexOf(et))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(ke){return this._direction=ke,this._sortStrategy instanceof pi&&(this._sortStrategy.direction=ke),this}connectedTo(ke){return this._siblings=ke.slice(),this}withOrientation(ke){if("mixed"===ke)this._sortStrategy=new Vi(this._document,this._dragDropRegistry);else{const De=new pi(this._dragDropRegistry);De.direction=this._direction,De.orientation=ke,this._sortStrategy=De}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((De,_t)=>this.sortPredicate(De,_t,this)),this}withScrollableParents(ke){const De=this._container;return this._scrollableElements=-1===ke.indexOf(De)?[De,...ke]:ke.slice(),this}withElementContainer(ke){if(ke===this._container)return this;(0,Ge.i8)(this.element);const _t=this._scrollableElements.indexOf(this._container),et=this._scrollableElements.indexOf(ke);return _t>-1&&this._scrollableElements.splice(_t,1),et>-1&&this._scrollableElements.splice(et,1),this._sortStrategy&&this._sortStrategy.withElementContainer(ke),this._cachedShadowRoot=null,this._scrollableElements.unshift(ke),this._container=ke,this}getScrollableParents(){return this._scrollableElements}getItemIndex(ke){return this._isDragging?this._sortStrategy.getItemIndex(ke):this._draggables.indexOf(ke)}getItemAtIndex(ke){return this._isDragging?this._sortStrategy.getItemAtIndex(ke):this._draggables[ke]||null}isReceiving(){return this._activeSiblings.size>0}_sortItem(ke,De,_t,et){if(this.sortingDisabled||!this._domRect||!cn(this._domRect,.05,De,_t))return;const Rn=this._sortStrategy.sort(ke,De,_t,et);Rn&&this.sorted.next({previousIndex:Rn.previousIndex,currentIndex:Rn.currentIndex,container:this,item:ke})}_startScrollingIfNecessary(ke,De){if(this.autoScrollDisabled)return;let _t,et=Sn.NONE,Rn=ci.NONE;if(this._parentPositions.positions.forEach((Zn,gt)=>{gt===this._document||!Zn.clientRect||_t||cn(Zn.clientRect,.05,ke,De)&&([et,Rn]=function un(Pt,ke,De,_t,et){const Rn=fr(ke,et),Zn=Vt(ke,_t);let gt=Sn.NONE,zn=ci.NONE;
1if(Rn){const ft=Pt.scrollTop;Rn===Sn.UP?ft>0&&(gt=Sn.UP):Pt.scrollHeight-ft>Pt.clientHeight&&(gt=Sn.DOWN)}if(Zn){const ft=Pt.scrollLeft;"rtl"===De?Zn===ci.RIGHT?ft<0&&(zn=ci.RIGHT):Pt.scrollWidth+ft>Pt.clientWidth&&(zn=ci.LEFT):Zn===ci.LEFT?ft>0&&(zn=ci.LEFT):Pt.scrollWidth-ft>Pt.clientWidth&&(zn=ci.RIGHT)}return[gt,zn]}(gt,Zn.clientRect,this._direction,ke,De),(et||Rn)&&(_t=gt))}),!et&&!Rn){const{width:Zn,height:gt}=this._viewportRuler.getViewportSize(),zn={width:Zn,height:gt,top:0,right:Zn,bottom:gt,left:0};et=fr(zn,De),Rn=Vt(zn,ke),_t=window}_t&&(et!==this._verticalScrollDirection||Rn!==this._horizontalScrollDirection||_t!==this._scrollNode)&&(this._verticalScrollDirection=et,this._horizontalScrollDirection=Rn,this._scrollNode=_t,(et||Rn)&&_t?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const ke=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=ke.msScrollSnapType||ke.scrollSnapType||"",ke.scrollSnapType=ke.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;const ke=this._container.style;ke.scrollSnapType=ke.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(De=>De._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_startScrollInterval=()=>{this._stopScrolling(),function k(Pt=0,ke=T.E){return Pt<0&&(Pt=0),(0,M.O)(Pt,Pt,ke)}(0,H.X).pipe((0,Qe.Q)(this._stopScrollTimers)).subscribe(()=>{const ke=this._scrollNode,De=this.autoScrollStep;this._verticalScrollDirection===Sn.UP?ke.scrollBy(0,-De):this._verticalScrollDirection===Sn.DOWN&&ke.scrollBy(0,De),this._horizontalScrollDirection===ci.LEFT?ke.scrollBy(-De,0):this._horizontalScrollDirection===ci.RIGHT&&ke.scrollBy(De,0)})};_isOverContainer(ke,De){return null!=this._domRect&&at(this._domRect,ke,De)}_getSiblingContainerFromPosition(ke,De,_t){return this._siblings.find(et=>et._canReceive(ke,De,_t))}_canReceive(ke,De,_t){if(!this._domRect||!at(this._domRect,De,_t)||!this.enterPredicate(ke,this))return!1;const et=this._getShadowRoot().elementFromPoint(De,_t);return!!et&&(et===this._container||this._container.contains(et))}_startReceiving(ke,De){const _t=this._activeSiblings;!_t.has(ke)&&De.every(et=>this.enterPredicate(et,this)||this._draggables.indexOf(et)>-1)&&(_t.add(ke),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:ke,receiver:this,items:De}))}_stopReceiving(ke){this._activeSiblings.delete(ke),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:ke,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(ke=>{if(this.isDragging()){const De=this._parentPositions.handleScroll(ke);De&&this._sortStrategy.updateOnScroll(De.top,De.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const ke=(0,He.KT)(this._container);this._cachedShadowRoot=ke||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const ke=this._sortStrategy.getActiveItemsSnapshot().filter(De=>De.isDragging());this._siblings.forEach(De=>De._startReceiving(this,ke))}}function fr(Pt,ke){const{top:De,bottom:_t,height:et}=Pt,Rn=.05*et;return ke>=De-Rn&&ke<=De+Rn?Sn.UP:ke>=_t-Rn&&ke<=_t+Rn?Sn.DOWN:Sn.NONE}function Vt(Pt,ke){const{left:De,right:_t,width:et}=Pt,Rn=.05*et;return ke>=De-Rn&&ke<=De+Rn?ci.LEFT:ke>=_t-Rn&&ke<=_t+Rn?ci.RIGHT:ci.NONE}const Ae={capture:!0},xe={passive:!1,capture:!0};let z=(()=>{class Pt{static \u0275fac=function(_t){return new(_t||Pt)};static \u0275cmp=o.VBU({type:Pt,selectors:[["ng-component"]],hostAttrs:["cdk-drag-reset
1s-container",""],decls:0,vars:0,template:function(_t,et){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"],encapsulation:2,changeDetection:0})}return Pt})(),Ee=(()=>{class Pt{_ngZone=(0,s.WQX)(o.SKi);_document=(0,s.WQX)(s.qQL);_styleLoader=(0,s.WQX)(kt.l);_renderer=(0,s.WQX)(o._9s).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new y.B;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=(0,s.vPA)([]);_globalListeners;_draggingPredicate=De=>De.isDragging();_domNodesToDirectives=null;pointerMove=new y.B;pointerUp=new y.B;constructor(){}registerDropContainer(De){this._dropInstances.has(De)||this._dropInstances.add(De)}registerDragItem(De){this._dragInstances.add(De),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._cleanupDocumentTouchmove?.(),this._cleanupDocumentTouchmove=this._renderer.listen(this._document,"touchmove",this._persistentTouchmoveListener,xe)})}removeDropContainer(De){this._dropInstances.delete(De)}removeDragItem(De){this._dragInstances.delete(De),this.stopDragging(De),0===this._dragInstances.size&&this._cleanupDocumentTouchmove?.()}startDragging(De,_t){if(!(this._activeDragInstances().indexOf(De)>-1)&&(this._styleLoader.load(z),this._activeDragInstances.update(et=>[...et,De]),1===this._activeDragInstances().length)){const et=_t.type.startsWith("touch"),Rn=gt=>this.pointerUp.next(gt),Zn=[["scroll",gt=>this._scroll.next(gt),Ae],["selectstart",this._preventDefaultWhileDragging,xe]];et?Zn.push(["touchend",Rn,Ae],["touchcancel",Rn,Ae]):Zn.push(["mouseup",Rn,Ae]),et||Zn.push(["mousemove",gt=>this.pointerMove.next(gt),xe]),this._ngZone.runOutsideAngular(()=>{this._globalListeners=Zn.map(([gt,zn,ft])=>this._renderer.listen(this._document,gt,zn,ft))})}}stopDragging(De){this._activeDragInstances.update(_t=>{const et=_t.indexOf(De);return et>-1?(_t.splice(et,1),[..._t]):_t}),0===this._activeDragInstances().length&&this._clearGlobalListeners()}isDragging(De){return this._activeDragInstances().indexOf(De)>-1}scrolled(De){const _t=[this._scroll];return De&&De!==this._document&&_t.push(new B.c(et=>this._ngZone.runOutsideAngular(()=>{const Rn=this._renderer.listen(De,"scroll",Zn=>{this._activeDragInstances().length&&et.next(Zn)},Ae);return()=>{Rn()}}))),(0,x.h)(..._t)}registerDirectiveNode(De,_t){this._domNodesToDirectives??=new WeakMap,this._domNodesToDirectives.set(De,_t)}removeDirectiveNode(De){this._domNodesToDirectives?.delete(De)}getDragDirectiveForNode(De){return this._domNodesToDirectives?.get(De)||null}ngOnDestroy(){this._dragInstances.forEach(De=>this.removeDragItem(De)),this._dropInstances.forEach(De=>this.removeDropContainer(De)),this._domNodesToDirectives=null,this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_preventDefaultWhileDragging=De=>{this._activeDragInstances().length>0&&De.preventDefault()};_persistentTouchmoveListener=De=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&De.preventDefault(),this.pointerMove.next(De))};_clearGlobalListeners(){this._globalListeners?.forEach(De=>De()),this._globalListeners=void 0}static \u0275fac=function(_t){return new(_t||Pt)};static \u0275prov=s.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const Ce={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Ue=(()=>{class Pt{_document=(0,s.WQX)(s.qQL);_ngZone=(0,s.WQX)(o.SKi);_viewportRuler=(0,s.WQX)(Je.Xj);_dragDropRegistry=(0,s.WQX)(Ee);_renderer=(0,s.WQX)(o._9s).createRenderer(null,null);constructor(){}createDrag(De,_t=Ce){return new Oi(De,_t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(De){return new Un(De,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(_t){return new(_t||Pt)};static \u0275prov=s.jDH({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const Tt=new s.nKC("CDK_DRAG_PARENT"),we=new s.nKC("CdkDragHandle"),L=new s.nKC("CDK_DRAG_CONFIG"),j=new s.nKC("CdkDropList");let X=(()=>{class Pt{element=(0,s.WQX)(o.aKT);dropContainer=(0,s.WQX)(j,{optional:!0,skipSelf:!0});_ngZone=(0,s.WQX)(o.SKi);
1_viewContainerRef=(0,s.WQX)(o.c1b);_dir=(0,s.WQX)(Ke.dS,{optional:!0});_changeDetectorRef=(0,s.WQX)(h.gRc);_selfHandle=(0,s.WQX)(we,{optional:!0,self:!0});_parentDrag=(0,s.WQX)(Tt,{optional:!0,skipSelf:!0});_dragDropRegistry=(0,s.WQX)(Ee);_destroyed=new y.B;_handles=new ye.t([]);_previewTemplate;_placeholderTemplate;_dragRef;data;lockAxis=null;rootElementSelector;boundaryElement;dragStartDelay;freeDragPosition;get disabled(){return this._disabled||!(!this.dropContainer||!this.dropContainer.disabled)}set disabled(De){this._disabled=De,this._dragRef.disabled=this._disabled}_disabled;constrainPosition;previewClass;previewContainer;scale=1;started=new o.bkB;released=new o.bkB;ended=new o.bkB;entered=new o.bkB;exited=new o.bkB;dropped=new o.bkB;moved=new B.c(De=>{const _t=this._dragRef.moved.pipe((0,Xe.T)(et=>({source:this,pointerPosition:et.pointerPosition,event:et.event,delta:et.delta,distance:et.distance}))).subscribe(De);return()=>{_t.unsubscribe()}});_injector=(0,s.WQX)(s.zZn);constructor(){const De=this.dropContainer,_t=(0,s.WQX)(L,{optional:!0}),et=(0,s.WQX)(Ue);this._dragRef=et.createDrag(this.element,{dragStartThreshold:_t&&null!=_t.dragStartThreshold?_t.dragStartThreshold:5,pointerDirectionChangeThreshold:_t&&null!=_t.pointerDirectionChangeThreshold?_t.pointerDirectionChangeThreshold:5,zIndex:_t?.zIndex}),this._dragRef.data=this,this._dragDropRegistry.registerDirectiveNode(this.element.nativeElement,this),_t&&this._assignDefaults(_t),De&&(De.addItem(this),De._dropListRef.beforeStarted.pipe((0,Qe.Q)(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}resetToBoundary(){this._dragRef.resetToBoundary()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(De){this._dragRef.setFreeDragPosition(De)}ngAfterViewInit(){(0,o.mal)(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(De){const _t=De.rootElementSelector,et=De.freeDragPosition;_t&&!_t.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,et&&!et.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._dragDropRegistry.removeDirectiveNode(this.element.nativeElement),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(De){const _t=this._handles.getValue();_t.push(De),this._handles.next(_t)}_removeHandle(De){const _t=this._handles.getValue(),et=_t.indexOf(De);et>-1&&(_t.splice(et,1),this._handles.next(_t))}_setPreviewTemplate(De){this._previewTemplate=De}_resetPreviewTemplate(De){De===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(De){this._placeholderTemplate=De}_resetPlaceholderTemplate(De){De===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const De=this.element.nativeElement;let _t=De;this.rootElementSelector&&(_t=void 0!==De.closest?De.closest(this.rootElementSelector):De.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(_t||De)}_getBoundaryElement(){const De=this.boundaryElement;return De?"string"==typeof De?this.element.nativeElement.closest(De):(0,Ge.i8)(De):null}_syncInputs(De){De.beforeStarted.subscribe(()=>{if(!De.isDragging()){const _t=this._dir,et=this.dragStartDelay,Rn=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,Zn=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;De.disabled=this.disabled,De.lockAxis=this.lockAxis,De.scale=this.scale,De.dragStartDelay="object"==typeof et&&et?et:(0,Ge.OE)(et),De.constrainPosition=this.constrainPosition,De.previewClass=this.previewClass,De.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(Rn).withPreviewTemplate(Zn).withPreviewContainer(this.previewContainer||"global"),_t&&De.withDirection(_t.value)}}),De.beforeStarted.pipe((0,ze.s)(1)).subscribe(()=>{if(this._parentDrag)return void De.withParent(this._parentDrag._dragRef);let _t=this.element.nativeElement.parentElement;for(;_t;){const et=this._dragDropRegistry.getDragDirectiveForNode(_t);if(et){De.withParent(et._dragRef);break}_t=_t.parentElement}})}_handleEvents(De){De.started.subscribe(_t=>{this.started.emit({source:this,event:_t.event}),this._changeDetectorRef.markForCheck()}),De.released.subscribe(_t=>
1{this.released.emit({source:this,event:_t.event})}),De.ended.subscribe(_t=>{this.ended.emit({source:this,distance:_t.distance,dropPoint:_t.dropPoint,event:_t.event}),this._changeDetectorRef.markForCheck()}),De.entered.subscribe(_t=>{this.entered.emit({container:_t.container.data,item:this,currentIndex:_t.currentIndex})}),De.exited.subscribe(_t=>{this.exited.emit({container:_t.container.data,item:this})}),De.dropped.subscribe(_t=>{this.dropped.emit({previousIndex:_t.previousIndex,currentIndex:_t.currentIndex,previousContainer:_t.previousContainer.data,container:_t.container.data,isPointerOverContainer:_t.isPointerOverContainer,item:this,distance:_t.distance,dropPoint:_t.dropPoint,event:_t.event})})}_assignDefaults(De){const{lockAxis:_t,dragStartDelay:et,constrainPosition:Rn,previewClass:Zn,boundaryElement:gt,draggingDisabled:zn,rootElementSelector:ft,previewContainer:Bt}=De;this.disabled=zn??!1,this.dragStartDelay=et||0,this.lockAxis=_t||null,Rn&&(this.constrainPosition=Rn),Zn&&(this.previewClass=Zn),gt&&(this.boundaryElement=gt),ft&&(this.rootElementSelector=ft),Bt&&(this.previewContainer=Bt)}_setupHandlesListener(){this._handles.pipe((0,Le.M)(De=>{const _t=De.map(et=>et.element);this._selfHandle&&this.rootElementSelector&&_t.push(this.element),this._dragRef.withHandles(_t)}),(0,ge.n)(De=>(0,x.h)(...De.map(_t=>_t._stateChanges.pipe((0,ue.Z)(_t))))),(0,Qe.Q)(this._destroyed)).subscribe(De=>{const _t=this._dragRef,et=De.element.nativeElement;De.disabled?_t.disableHandle(et):_t.enableHandle(et)})}static \u0275fac=function(_t){return new(_t||Pt)};static \u0275dir=o.FsC({type:Pt,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(_t,et){2&_t&&o.AVh("cdk-drag-disabled",et.disabled)("cdk-drag-dragging",et._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",h.L39],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",h.Udg]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[o.Jv_([{provide:Tt,useExisting:Pt}]),o.OA$]})}return Pt})();const qe=new s.nKC("CdkDropListGroup");let On=(()=>{class Pt{element=(0,s.WQX)(o.aKT);_changeDetectorRef=(0,s.WQX)(h.gRc);_scrollDispatcher=(0,s.WQX)(Je.R);_dir=(0,s.WQX)(Ke.dS,{optional:!0});_group=(0,s.WQX)(qe,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new y.B;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=(0,s.WQX)($e.g).getId("cdk-drop-list-");lockAxis=null;get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(De){this._dropListRef.disabled=this._disabled=De}_disabled;sortingDisabled;enterPredicate=()=>!0;sortPredicate=()=>!0;autoScrollDisabled;autoScrollStep;elementContainerSelector;hasAnchor;dropped=new o.bkB;entered=new o.bkB;exited=new o.bkB;sorted=new o.bkB;_unsortedItems=new Set;constructor(){const De=(0,s.WQX)(Ue),_t=(0,s.WQX)(L,{optional:!0});this._dropListRef=De.createDropList(this.element),this._dropListRef.data=this,_t&&this._assignDefaults(_t),this._dropListRef.enterPredicate=(et,Rn)=>this.enterPredicate(et.data,Rn.data),this._dropListRef.sortPredicate=(et,Rn,Zn)=>this.sortPredicate(et,Rn.data,Zn.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Pt._dropLists.push(this),this._group&&this._group._items.add(this)}addItem(De){this._unsortedItems.add(De),De._dragRef._withDropContainer(this._dropListRef),this._dropListRef.isDragging()&&this._syncItemsWithRef(this.getSortedItems().map(_t=>_t._dragRef))}removeItem(De){if(this._unsortedItems.delete(De),this._latestSortedRefs){const _t=this._latestSortedRefs.indexOf(De._dragRef);_t>-1&&(this._latestSortedRefs.splice(_t,1),this._syncItemsWithRef(this._latestSortedRefs))}}getSortedItems(){return Array.from(this._unsortedItems).sort((De,_t)=>De._dragRef.getVisibleElement().compareDocumentPosition(_t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const De=Pt._dropLists.indexOf(this);De>-1&&Pt._dropLists.splice(De,1),this._group&&this._group._items.delete(this),this._latestSortedRefs=void 0,this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(De){this._dir&&this._dir.change.pipe((0,ue.Z)(this._dir.value),(0,Qe.Q)(this._destroyed)).subscribe(_t=>De.withDirection(_t)),De.beforeStarted.subscribe(()=>{const _t=(0,lt.F)(this.connectedTo).map(et=>"string"==typeof et?Pt._dropLists.find(Zn=>Zn.id===et):et);
1if(this._group&&this._group._items.forEach(et=>{-1===_t.indexOf(et)&&_t.push(et)}),!this._scrollableParentsResolved){const et=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(Rn=>Rn.getElementRef().nativeElement);this._dropListRef.withScrollableParents(et),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){const et=this.element.nativeElement.querySelector(this.elementContainerSelector);De.withElementContainer(et)}De.disabled=this.disabled,De.lockAxis=this.lockAxis,De.sortingDisabled=this.sortingDisabled,De.autoScrollDisabled=this.autoScrollDisabled,De.autoScrollStep=(0,Ge.OE)(this.autoScrollStep,2),De.hasAnchor=this.hasAnchor,De.connectedTo(_t.filter(et=>et&&et!==this).map(et=>et._dropListRef)).withOrientation(this.orientation)})}_handleEvents(De){De.beforeStarted.subscribe(()=>{this._syncItemsWithRef(this.getSortedItems().map(_t=>_t._dragRef)),this._changeDetectorRef.markForCheck()}),De.entered.subscribe(_t=>{this.entered.emit({container:this,item:_t.item.data,currentIndex:_t.currentIndex})}),De.exited.subscribe(_t=>{this.exited.emit({container:this,item:_t.item.data}),this._changeDetectorRef.markForCheck()}),De.sorted.subscribe(_t=>{this.sorted.emit({previousIndex:_t.previousIndex,currentIndex:_t.currentIndex,container:this,item:_t.item.data})}),De.dropped.subscribe(_t=>{this.dropped.emit({previousIndex:_t.previousIndex,currentIndex:_t.currentIndex,previousContainer:_t.previousContainer.data,container:_t.container.data,item:_t.item.data,isPointerOverContainer:_t.isPointerOverContainer,distance:_t.distance,dropPoint:_t.dropPoint,event:_t.event}),this._changeDetectorRef.markForCheck()}),(0,x.h)(De.receivingStarted,De.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(De){const{lockAxis:_t,draggingDisabled:et,sortingDisabled:Rn,listAutoScrollDisabled:Zn,listOrientation:gt}=De;this.disabled=et??!1,this.sortingDisabled=Rn??!1,this.autoScrollDisabled=Zn??!1,this.orientation=gt||"vertical",this.lockAxis=_t||null}_syncItemsWithRef(De){this._latestSortedRefs=De,this._dropListRef.withItems(De)}static \u0275fac=function(_t){return new(_t||Pt)};static \u0275dir=o.FsC({type:Pt,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(_t,et){2&_t&&(o.BMQ("id",et.id),o.AVh("cdk-drop-list-disabled",et.disabled)("cdk-drop-list-dragging",et._dropListRef.isDragging())("cdk-drop-list-receiving",et._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",h.L39],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",h.L39],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",h.L39],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",h.L39]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[o.Jv_([{provide:qe,useValue:void 0},{provide:j,useExisting:Pt}])]})}return Pt})();const Tr=new s.nKC("CdkDragPlaceholder");let Er=(()=>{class Pt{templateRef=(0,s.WQX)(o.C4Q);_drag=(0,s.WQX)(Tt,{optional:!0});data;constructor(){this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static \u0275fac=function(_t){return new(_t||Pt)};static \u0275dir=o.FsC({type:Pt,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[o.Jv_([{provide:Tr,useExisting:Pt}])]})}return Pt})(),an=(()=>{class Pt{static \u0275fac=function(_t){return new(_t||Pt)};static \u0275mod=o.$C({type:Pt});static \u0275inj=s.G2t({providers:[Ue],imports:[Je.Gj]})}return Pt})()},7847(tn,Ye,d){"use strict";d.d(Ye,{OE:()=>s,i8:()=>y,o1:()=>h});var o=d(3664);function s(v,T=0){return h(v)?Number(v):2===arguments.length?T:0}function h(v){return!isNaN(parseFloat(v))&&!isNaN(Number(v))}function y(v){return v instanceof o.aKT?v.nativeElement:v}},5735(tn,Ye,d){"use strict";function o(h){return 0===h.buttons||0===h.detail}function s(h){const y=h.touches&&h.touches[0]||h.changedTouches&&h.
1changedTouches[0];return!(!y||-1!==y.identifier||null!=y.radiusX&&1!==y.radiusX||null!=y.radiusY&&1!==y.radiusY)}d.d(Ye,{_:()=>o,w:()=>s})},4123(tn,Ye,d){"use strict";d.d(Ye,{B:()=>s});var o=d(2593);class s extends o.l{_origin="program";setFocusOrigin(y){return this._origin=y,this}setActiveItem(y){super.setActiveItem(y),this.activeItem&&this.activeItem.focus(this._origin)}}},6838(tn,Ye,d){"use strict";d.d(Ye,{FN:()=>Je,vR:()=>Ke});var o=d(2615),s=d(3664),h=d(1413),y=d(4412),v=d(7673),T=d(3294),M=d(5245),k=d(6977),H=d(5735),B=d(438),x=d(4522),ye=d(9842),He=d(3300),Mt=d(7847);const Ge=new o.nKC("cdk-input-modality-detector-options"),Qe={ignoreKeys:[B.A$,B.W3,B.eg,B.Ge,B.FX]},ze={passive:!0,capture:!0};let Le=(()=>{class $e{_platform=(0,o.WQX)(ye.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new y.t(null);_options;_lastTouchMs=0;_onKeydown=q=>{this._options?.ignoreKeys?.some(de=>de===q.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,x.Fb)(q))};_onMousedown=q=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,H._)(q)?"keyboard":"mouse"),this._mostRecentTarget=(0,x.Fb)(q))};_onTouchstart=q=>{(0,H.w)(q)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,x.Fb)(q))};constructor(){const q=(0,o.WQX)(s.SKi),de=(0,o.WQX)(o.qQL),ae=(0,o.WQX)(Ge,{optional:!0});if(this._options={...Qe,...ae},this.modalityDetected=this._modality.pipe((0,M.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,T.F)()),this._platform.isBrowser){const he=(0,o.WQX)(s._9s).createRenderer(null,null);this._listenerCleanups=q.runOutsideAngular(()=>[he.listen(de,"keydown",this._onKeydown,ze),he.listen(de,"mousedown",this._onMousedown,ze),he.listen(de,"touchstart",this._onTouchstart,ze)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(q=>q())}static \u0275fac=function(de){return new(de||$e)};static \u0275prov=o.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})();var ge=function($e){return $e[$e.IMMEDIATE=0]="IMMEDIATE",$e[$e.EVENTUAL=1]="EVENTUAL",$e}(ge||{});const ue=new o.nKC("cdk-focus-monitor-default-options"),kt=(0,He.B)({passive:!0,capture:!0});let Je=(()=>{class $e{_ngZone=(0,o.WQX)(s.SKi);_platform=(0,o.WQX)(ye.O);_inputModalityDetector=(0,o.WQX)(Le);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,o.WQX)(o.qQL);_stopInputModalityDetector=new h.B;constructor(){const q=(0,o.WQX)(ue,{optional:!0});this._detectionMode=q?.detectionMode||ge.IMMEDIATE}_rootNodeFocusAndBlurListener=q=>{for(let ae=(0,x.Fb)(q);ae;ae=ae.parentElement)"focus"===q.type?this._onFocus(q,ae):this._onBlur(q,ae)};monitor(q,de=!1){const ae=(0,Mt.i8)(q);if(!this._platform.isBrowser||1!==ae.nodeType)return(0,v.of)();const he=(0,x.KT)(ae)||this._document,Ne=this._elementInfo.get(ae);if(Ne)return de&&(Ne.checkChildren=!0),Ne.subject;const ve={checkChildren:de,subject:new h.B,rootNode:he};return this._elementInfo.set(ae,ve),this._registerGlobalListeners(ve),ve.subject}stopMonitoring(q){const de=(0,Mt.i8)(q),ae=this._elementInfo.get(de);ae&&(ae.subject.complete(),this._setClasses(de),this._elementInfo.delete(de),this._removeGlobalListeners(ae))}focusVia(q,de,ae){const he=(0,Mt.i8)(q);he===this._document.activeElement?this._getClosestElementsInfo(he).forEach(([ve,at])=>this._originChanged(ve,de,at)):(this._setOrigin(de),"function"==typeof he.focus&&he.focus(ae))}ngOnDestroy(){this._elementInfo.forEach((q,de)=>this.stopMonitoring(de))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(q){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(q)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:q&&this._isLastInteractionFromInputLabel(q)?"mouse":"program"}_shouldBeAttributedToTouch(q){return this._detectionMode===ge.EVENTUAL||!!q?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(q,de){q.classList.toggle("cdk-focused",!!de),q.classList.toggle("cdk-touch-focused","touch"===de),q.classList.toggle("cdk-keyboard-focused","keyboard"===de),q.classList.toggle("cdk-mouse-focused","mouse"===de),q.classList.toggle("cdk-program-focused","program"===de)}_setOrigin(q,de=!1){this._ngZone.runOutsideAngular(()=>{this._origin=q,this._originFromTouchInteraction="touch"===q&&de,this._detectionMode===ge.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(q,de){const ae=this._elementInfo.get(de),he=(0,x.Fb)(q);!ae||!ae.checkChildren&&de!==he||this._originChanged(de,this._getFocusOrigin(he),ae)}_onBlur(q,de){const ae=this._elementInfo.get(de);!ae||ae.checkChildren&&q.relatedTarget instanceof Node&&de.contains(q.relatedTarget)||(this._setClasses(de),this._emitOrigin(ae,null))}_emitOrigin(q,de){q.subject.observers.length&&this._ngZone.run(()=>q.subject.next(de))}_registerGlobalListeners(q){if(!this._platform.isBrowser)return;const de=q.rootNode,ae=this._rootNodeFocusListenerCount.get(de)||0;ae||this._ngZone.runOutsideAngular(()=>{de.addEventListener("focus",this._rootNodeFocusAndBlurListener,kt),de.addEventListener("blur",this._rootNodeFocusAndBlurListener,kt)}),this._rootNodeFocusListenerCount.set(de,ae+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,k.Q)(this._stopInputModalityDetector)).subscribe(he=>{this._setOrigin(he,!0)}))}_removeGlobalListeners(q){const de=q.rootNode;if(this._rootNodeFocusListenerCount.has(de)){const ae=this._rootNodeFocusListenerCount.get(de);ae>1?this._rootNodeFocusListenerCount.set(de,ae-1):(de.removeEventListener("focus",this._rootNodeFocusAndBlurListener,kt),de.removeEventListener("blur",this._rootNodeFocusAndBlurListener,kt),this._rootNodeFocusListenerCount.delete(de))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(q,de,ae){this._setClasses(q,de),this._emitOrigin(ae,de),this._lastFocusOrigin=de}_getClosestElementsInfo(q){const de=[];return this._elementInfo.forEach((ae,he)=>{(he===q||ae.checkChildren&&he.contains(q))&&de.push([he,ae])}),de}_isLastInteractionFromInputLabel(q){const{_mostRecentTarget:de,mostRecentModality:ae}=this._inputModalityDetector;if("mouse"!==ae||!de||de===q||"INPUT"!==q.nodeName&&"TEXTAREA"!==q.nodeName||q.disabled)return!1;const he=q.labels;if(he)for(let Ne=0;Ne<he.length;Ne++)if(he[Ne].contains(de))return!0;return!1}static \u0275fac=function(de){return new(de||$e)};static \u0275prov=o.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"})}return $e})(),Ke=(()=>{class $e{_elementRef=(0,o.WQX)(s.aKT);_focusMonitor=(0,o.WQX)(Je);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new s.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const q=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(q,1===q.nodeType&&q.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(de=>{this._focusOrigin=de,this.cdkFocusChange.emit(de)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(de){return new(de||$e)};static \u0275dir=s.FsC({type:$e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return $e})()},9726(tn,Ye,d){"use strict";d.d(Ye,{g:()=>y});var o=d(2615),s=d(3664);const h={};let y=(()=>{class v{_appId=(0,o.WQX)(s.sZ2);getId(M){return"ng"!==this._appId&&(M+=this._appId),h.hasOwnProperty(M)||(h[M]=0),`${M}${h[M]++}`}static \u0275fac=function(k){return new(k||v)};static \u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},7336(tn,Ye,d){"use strict";function o(s,...h){return h.length?h.some(y=>s[y]):s.altKey||s.shiftKey||s.ctrlKey||s.metaKey}d.d(Ye,{rp:()=>o})},438(tn,Ye,d){"use strict";d.d(Ye,{A:()=>Te,A$:()=>k,FX:()=>T,Fm:()=>v,G_:()=>s,Ge:()=>pi,KE:()=>Ti,Kp:()=>Ge,LE:()=>Le,SJ:()=>Ke,UQ:()=>Xe,W3:()=>M,Z:()=>ai,_f:()=>x,bn:()=>Ut,dB:()=>Mt,eg:()=>Cr,f2:()=>$e,i7:()=>ze,n6:()=>ge,t6:()=>ye,w_:()=>He,wn:()=>h,yZ:()=>Qe});const s=8,h=9,v=13,T=16,M=17,k=18,x=27,ye=32,He=33,Mt=34,Ge=35,Qe=36,Xe=37,ze=38,Le=39,ge=40,Ke=46,$e=48,Ut=57,Te=65,ai=90,pi=91,Ti=188,Cr=224},9327(tn,Ye,d){"use strict";d.d(Ye,{Rp:()=>h});const h={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)"}},2593(tn,Ye,d){"use strict";d.d(Ye,{l:()=>H});var o=d(2615),s=d(3664),h=d(9295),y=d(1413),v=d(8359),T=d(9096),M=d(7336),k=d(438);class H{_items;_activeItemIndex=(0,o.vPA)(-1);_activeItem=(0,o.vPA)(null);_wrap=!1;
1_typeaheadSubscription=v.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=x=>x.disabled;constructor(x,ye){this._items=x,x instanceof s.rOR?this._itemChangesSubscription=x.changes.subscribe(He=>this._itemsChanged(He.toArray())):(0,o.Hps)(x)&&(this._effectRef=(0,h.QZ)(()=>this._itemsChanged(x()),{injector:ye}))}tabOut=new y.B;change=new y.B;skipPredicate(x){return this._skipPredicateFn=x,this}withWrap(x=!0){return this._wrap=x,this}withVerticalOrientation(x=!0){return this._vertical=x,this}withHorizontalOrientation(x){return this._horizontal=x,this}withAllowedModifierKeys(x){return this._allowedModifierKeys=x,this}withTypeAhead(x=200){this._typeaheadSubscription.unsubscribe();const ye=this._getItemsArray();return this._typeahead=new T.i(ye,{debounceInterval:"number"==typeof x?x:void 0,skipPredicate:He=>this._skipPredicateFn(He)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(He=>{this.setActiveItem(He)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(x=!0){return this._homeAndEnd=x,this}withPageUpDown(x=!0,ye=10){return this._pageUpAndDown={enabled:x,delta:ye},this}setActiveItem(x){const ye=this._activeItem();this.updateActiveItem(x),this._activeItem()!==ye&&this.change.next(this._activeItemIndex())}onKeydown(x){const ye=x.keyCode,Mt=["altKey","ctrlKey","metaKey","shiftKey"].every(Ge=>!x[Ge]||this._allowedModifierKeys.indexOf(Ge)>-1);switch(ye){case k.wn:return void this.tabOut.next();case k.n6:if(this._vertical&&Mt){this.setNextItemActive();break}return;case k.i7:if(this._vertical&&Mt){this.setPreviousItemActive();break}return;case k.LE:if(this._horizontal&&Mt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case k.UQ:if(this._horizontal&&Mt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case k.yZ:if(this._homeAndEnd&&Mt){this.setFirstItemActive();break}return;case k.Kp:if(this._homeAndEnd&&Mt){this.setLastItemActive();break}return;case k.w_:if(this._pageUpAndDown.enabled&&Mt){const Ge=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(Ge>0?Ge:0,1);break}return;case k.dB:if(this._pageUpAndDown.enabled&&Mt){const Ge=this._activeItemIndex()+this._pageUpAndDown.delta,Qe=this._getItemsArray().length;this._setActiveItemByIndex(Ge<Qe?Ge:Qe-1,-1);break}return;default:return void((Mt||(0,M.rp)(x,"shiftKey"))&&this._typeahead?.handleKey(x))}this._typeahead?.reset(),x.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(x){const ye=this._getItemsArray(),He="number"==typeof x?x:ye.indexOf(x);this._activeItem.set(ye[He]??null),this._activeItemIndex.set(He),this._typeahead?.setCurrentSelectedItemIndex(He)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(x){this._wrap?this._setActiveInWrapMode(x):this._setActiveInDefaultMode(x)}_setActiveInWrapMode(x){const ye=this._getItemsArray();for(let He=1;He<=ye.length;He++){const Mt=(this._activeItemIndex()+x*He+ye.length)%ye.length;if(!this._skipPredicateFn(ye[Mt]))return void this.setActiveItem(Mt)}}_setActiveInDefaultMode(x){this._setActiveItemByIndex(this._activeItemIndex()+x,x)}_setActiveItemByIndex(x,ye){const He=this._getItemsArray();if(He[x]){for(;this._skipPredicateFn(He[x]);)if(!He[x+=ye])return;this.setActiveItem(x)}}_getItemsArray(){return(0,o.Hps)(this._items)?this._items():this._items instanceof s.rOR?this._items.toArray():this._items}_itemsChanged(x){this._typeahead?.setItems(x);const ye=this._activeItem();if(ye){const He=x.indexOf(ye);He>-1&&He!==this._activeItemIndex()&&(this._activeItemIndex.set(He),this._typeahead?.setCurrentSelectedItemIndex(He))}}}},2318(tn,Ye,d){"use strict";d.d(Ye,{Wv:()=>He,w5:()=>Mt});var o=d(2615),s=d(3664),h=d(7705),y=d(1985),v=d(1413),T=d(152),M=d(5964),k=d(6354),H=d(7847);let x=(()=>{class Ge{create(Xe){return typeof MutationObserver>"u"?null:new MutationObserver(Xe)}static \u0275fac=function(ze){return new(ze||Ge)};static \u0275prov=o.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}return Ge})(),ye=(()=>{class Ge{_mutationObserverFactory=(0,o.WQX)(x);_observedElements=new Map;_ngZone=(0,o.WQX)(s.SKi);constructor(){}
1ngOnDestroy(){this._observedElements.forEach((Xe,ze)=>this._cleanupObserver(ze))}observe(Xe){const ze=(0,H.i8)(Xe);return new y.c(Le=>{const ue=this._observeElement(ze).pipe((0,k.T)(kt=>kt.filter(Je=>!function B(Ge){if("characterData"===Ge.type&&Ge.target instanceof Comment)return!0;if("childList"===Ge.type){for(let Qe=0;Qe<Ge.addedNodes.length;Qe++)if(!(Ge.addedNodes[Qe]instanceof Comment))return!1;for(let Qe=0;Qe<Ge.removedNodes.length;Qe++)if(!(Ge.removedNodes[Qe]instanceof Comment))return!1;return!0}return!1}(Je))),(0,M.p)(kt=>!!kt.length)).subscribe(kt=>{this._ngZone.run(()=>{Le.next(kt)})});return()=>{ue.unsubscribe(),this._unobserveElement(ze)}})}_observeElement(Xe){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(Xe))this._observedElements.get(Xe).count++;else{const ze=new v.B,Le=this._mutationObserverFactory.create(ge=>ze.next(ge));Le&&Le.observe(Xe,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Xe,{observer:Le,stream:ze,count:1})}return this._observedElements.get(Xe).stream})}_unobserveElement(Xe){this._observedElements.has(Xe)&&(this._observedElements.get(Xe).count--,this._observedElements.get(Xe).count||this._cleanupObserver(Xe))}_cleanupObserver(Xe){if(this._observedElements.has(Xe)){const{observer:ze,stream:Le}=this._observedElements.get(Xe);ze&&ze.disconnect(),Le.complete(),this._observedElements.delete(Xe)}}static \u0275fac=function(ze){return new(ze||Ge)};static \u0275prov=o.jDH({token:Ge,factory:Ge.\u0275fac,providedIn:"root"})}return Ge})(),He=(()=>{class Ge{_contentObserver=(0,o.WQX)(ye);_elementRef=(0,o.WQX)(s.aKT);event=new s.bkB;get disabled(){return this._disabled}set disabled(Xe){this._disabled=Xe,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(Xe){this._debounce=(0,H.OE)(Xe),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Xe=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?Xe.pipe((0,T.B)(this.debounce)):Xe).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(ze){return new(ze||Ge)};static \u0275dir=s.FsC({type:Ge,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",h.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return Ge})(),Mt=(()=>{class Ge{static \u0275fac=function(ze){return new(ze||Ge)};static \u0275mod=s.$C({type:Ge});static \u0275inj=o.G2t({providers:[x]})}return Ge})()},8170(tn,Ye,d){"use strict";d.d(Ye,{a:()=>B});var o=d(2615),s=d(3664),h=d(1985),y=d(1413),v=d(5964),T=d(4668),M=d(6977);class H{_box;_destroyed=new y.B;_resizeSubject=new y.B;_resizeObserver;_elementObservables=new Map;constructor(ye){this._box=ye,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(He=>this._resizeSubject.next(He)))}observe(ye){return this._elementObservables.has(ye)||this._elementObservables.set(ye,new h.c(He=>{const Mt=this._resizeSubject.subscribe(He);return this._resizeObserver?.observe(ye,{box:this._box}),()=>{this._resizeObserver?.unobserve(ye),Mt.unsubscribe(),this._elementObservables.delete(ye)}}).pipe((0,v.p)(He=>He.some(Mt=>Mt.target===ye)),(0,T.t)({bufferSize:1,refCount:!0}),(0,M.Q)(this._destroyed))),this._elementObservables.get(ye)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let B=(()=>{class x{_cleanupErrorListener;_observers=new Map;_ngZone=(0,o.WQX)(s.SKi);constructor(){}ngOnDestroy(){for(const[,He]of this._observers)He.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(He,Mt){const Ge=Mt?.box||"content-box";return this._observers.has(Ge)||this._observers.set(Ge,new H(Ge)),this._observers.get(Ge).observe(He)}static \u0275fac=function(Mt){return new(Mt||x)};static \u0275prov=o.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},9338(tn,Ye,d){"use strict";d.d(Ye,{WB:()=>Un,$Q:()=>ci,rW:()=>mr,rR:()=>qt,Sf:()=>Ot,z_:()=>un,yY:()=>It,gA:()=>lt,$M:()=>Wn,uA:()=>di,Y$:()=>Vi,RH:()=>nt});var o=d(2615),s=d(3664),h=d(7705),y=d(7303),v=d(9842),T=d(4522);function M(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Moc
1ha}var k=d(8968),H=d(1413),B=d(8359);function x(Ae){return null==Ae?"":"string"==typeof Ae?Ae:`${Ae}px`}var ye=d(408),He=d(5478),Mt=d(6939),Ge=d(7860),Qe=d(5964),Xe=d(9974),ze=d(4360),ge=d(9726),ue=d(1577),kt=d(438),Je=d(7336),Ke=d(8203);const $e=(0,Ge.CZ)();function lt(Ae){return new q(Ae.get(He.Xj),Ae.get(o.qQL))}class q{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(xe,z){this._viewportRuler=xe,this._document=z}attach(){}enable(){if(this._canBeEnabled()){const xe=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=xe.style.left||"",this._previousHTMLStyles.top=xe.style.top||"",xe.style.left=x(-this._previousScrollPosition.left),xe.style.top=x(-this._previousScrollPosition.top),xe.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const xe=this._document.documentElement,Ee=xe.style,Ce=this._document.body.style,Ue=Ee.scrollBehavior||"",Tt=Ce.scrollBehavior||"";this._isEnabled=!1,Ee.left=this._previousHTMLStyles.left,Ee.top=this._previousHTMLStyles.top,xe.classList.remove("cdk-global-scrollblock"),$e&&(Ee.scrollBehavior=Ce.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$e&&(Ee.scrollBehavior=Ue,Ce.scrollBehavior=Tt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const z=this._document.documentElement,Ee=this._viewportRuler.getViewportSize();return z.scrollHeight>Ee.height||z.scrollWidth>Ee.width}}class he{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(xe,z,Ee,Ce){this._scrollDispatcher=xe,this._ngZone=z,this._viewportRuler=Ee,this._config=Ce}attach(xe){this._overlayRef=xe}enable(){if(this._scrollSubscription)return;const xe=this._scrollDispatcher.scrolled(0).pipe((0,Qe.p)(z=>!z||!this._overlayRef.overlayElement.contains(z.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=xe.subscribe(()=>{const z=this._viewportRuler.getViewportScrollPosition().top;Math.abs(z-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=xe.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class ve{enable(){}disable(){}attach(){}}function at(Ae,xe){return xe.some(z=>Ae.bottom<z.top||Ae.top>z.bottom||Ae.right<z.left||Ae.left>z.right)}function Ut(Ae,xe){return xe.some(z=>Ae.top<z.top||Ae.bottom>z.bottom||Ae.left<z.left||Ae.right>z.right)}function nt(Ae,xe){return new cn(Ae.get(He.R),Ae.get(He.Xj),Ae.get(s.SKi),xe)}class cn{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(xe,z,Ee,Ce){this._scrollDispatcher=xe,this._viewportRuler=z,this._ngZone=Ee,this._config=Ce}attach(xe){this._overlayRef=xe}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 z=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ee,height:Ce}=this._viewportRuler.getViewportSize();at(z,[{width:Ee,height:Ce,bottom:Ce,right:Ee,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 hn=(()=>{class Ae{_injector=(0,o.WQX)(o.zZn);constructor(){}noop=()=>new ve;close=z=>function ae(Ae,xe){return new he(Ae.get(He.R),Ae.get(s.SKi),Ae.get(He.Xj),xe)}(this._injector,z);block=()=>lt(this._injector);reposition=z=>nt(this._injector,z);static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();class qt{positionStrategy;scrollStrategy=new ve;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(xe){if(xe){const z=Object.keys(xe);for(const Ee of z)void 0!==xe[Ee]&&(this[Ee]=xe[Ee])}}}class yt{connectionPair;scrollableViewProperties;constructor(xe,z){this.connectionPair=xe,this.scrollableViewProperties=z}}let ie=(()=>{class Ae{_attachedOverlays=[];_document=(0,o.WQX)(o.qQL);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(z){this.remove(z),this._attachedOverlays.push(z)}remove(z){const Ee=this._attachedOverlays.indexOf(z);Ee>-1&&this._attachedOverlays.splice(Ee,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})(),je=(()=>{class Ae extends ie{_ngZone=(0,o.WQX)(s.SKi);_renderer=(0,o.WQX)(s._9s).createRenderer(null,null);_cleanupKeydown;add(z){super.add(z),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._key
1downListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=z=>{const Ee=this._attachedOverlays;for(let Ce=Ee.length-1;Ce>-1;Ce--)if(Ee[Ce]._keydownEvents.observers.length>0){this._ngZone.run(()=>Ee[Ce]._keydownEvents.next(z));break}};static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=s.xGo(Ae)))(Ce||Ae)}})();static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})(),rt=(()=>{class Ae extends ie{_platform=(0,o.WQX)(v.O);_ngZone=(0,o.WQX)(s.SKi);_renderer=(0,o.WQX)(s._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(z){if(super.add(z),!this._isAttached){const Ee=this._document.body,Ce={capture:!0},Ue=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Ue.listen(Ee,"pointerdown",this._pointerDownListener,Ce),Ue.listen(Ee,"click",this._clickListener,Ce),Ue.listen(Ee,"auxclick",this._clickListener,Ce),Ue.listen(Ee,"contextmenu",this._clickListener,Ce)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ee.style.cursor,Ee.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(z=>z()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=z=>{this._pointerDownEventTarget=(0,T.Fb)(z)};_clickListener=z=>{const Ee=(0,T.Fb)(z),Ce="click"===z.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ee;this._pointerDownEventTarget=null;const Ue=this._attachedOverlays.slice();for(let Tt=Ue.length-1;Tt>-1;Tt--){const fe=Ue[Tt];if(fe._outsidePointerEvents.observers.length<1||!fe.hasAttached())continue;if(Ze(fe.overlayElement,Ee)||Ze(fe.overlayElement,Ce))break;const we=fe._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>we.next(z)):we.next(z)}};static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=s.xGo(Ae)))(Ce||Ae)}})();static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();function Ze(Ae,xe){const z=typeof ShadowRoot<"u"&&ShadowRoot;let Ee=xe;for(;Ee;){if(Ee===Ae)return!0;Ee=z&&Ee instanceof ShadowRoot?Ee.host:Ee.parentNode}return!1}let We=(()=>{class Ae{static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275cmp=s.VBU({type:Ae,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Ee,Ce){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return Ae})(),Ot=(()=>{class Ae{_platform=(0,o.WQX)(v.O);_containerElement;_document=(0,o.WQX)(o.qQL);_styleLoader=(0,o.WQX)(k.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const z="cdk-overlay-container";if(this._platform.isBrowser||M()){const Ce=this._document.querySelectorAll(`.${z}[platform="server"], .${z}[platform="test"]`);for(let Ue=0;Ue<Ce.length;Ue++)Ce[Ue].remove()}const Ee=this._document.createElement("div");Ee.classList.add(z),M()?Ee.setAttribute("platform","test"):this._platform.isBrowser||Ee.setAttribute("platform","server"),this._document.body.appendChild(Ee),this._containerElement=Ee}_loadStyles(){this._styleLoader.load(We)}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();class Me{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(xe,z,Ee,Ce){this._renderer=z,this._ngZone=Ee,this.element=xe.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=z.listen(this.element,"click",Ce)}detach(){this._ngZone.runOutsideAngular(()=>{const xe=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(xe,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),xe.style.pointerEvents="none",xe.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class It{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new H.B;_attachments=new H.B;_detachments=new H.B;_positionStrategy;_scrollStrategy;_locationChanges=B.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new H.B;_outsidePointerEvents=new H.B;_afterNextRenderRef;constructor(xe,z,Ee,Ce,Ue,Tt,fe,we,_e,L=!1,j,X){this._portalOutlet=xe,this._host=z,this._pane=Ee,this._config=Ce,this._ngZone=Ue,this._keyboardDispatcher=Tt,this._document=fe,this._location=we,this._outsideClickDispatcher=_e,this._animationsDisabled=L,this._injector=j,this._renderer=X,Ce.scrollStrategy&&(this._scrollStrategy=Ce.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ce.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(xe){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const z=this._portalOutlet.attach(xe);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,s.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof z?.onDestroy&&z.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),z}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const xe=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),xe}dispose(){const xe=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
vendor: 4,769 bytes, line 1
1pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,xe&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}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(xe){xe!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=xe,this.hasAttached()&&(xe.attach(this),this.updatePosition()))}updateSize(xe){this._config={...this._config,...xe},this._updateElementSize()}setDirection(xe){this._config={...this._config,direction:xe},this._updateElementDirection()}addPanelClass(xe){this._pane&&this._toggleClasses(this._pane,xe,!0)}removePanelClass(xe){this._pane&&this._toggleClasses(this._pane,xe,!1)}getDirection(){const xe=this._config.direction;return xe?"string"==typeof xe?xe:xe.value:"ltr"}updateScrollStrategy(xe){xe!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=xe,this.hasAttached()&&(xe.attach(this),xe.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const xe=this._pane.style;xe.width=x(this._config.width),xe.height=x(this._config.height),xe.minWidth=x(this._config.minWidth),xe.minHeight=x(this._config.minHeight),xe.maxWidth=x(this._config.maxWidth),xe.maxHeight=x(this._config.maxHeight)}_togglePointerEvents(xe){this._pane.style.pointerEvents=xe?"":"none"}_attachBackdrop(){const xe="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Me(this._document,this._renderer,this._ngZone,z=>{this._backdropClick.next(z)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(xe))}):this._backdropRef.element.classList.add(xe)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(xe,z,Ee){const Ce=(0,ye.F)(z||[]).filter(Ue=>!!Ue);Ce.length&&(Ee?xe.classList.add(...Ce):xe.classList.remove(...Ce))}_detachContentWhenEmpty(){let xe=!1;try{this._detachContentAfterRenderRef=(0,s.mal)(()=>{xe=!0,this._detachContent()},{injector:this._injector})}catch(z){if(xe)throw z;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const xe=this._scrollStrategy;xe?.disable(),xe?.detach?.()}}const Zt="cdk-overlay-connected-position-bounding-box",ti=/([A-Za-z%]+)$/;function Wn(Ae,xe){return new mr(xe,Ae.get(He.Xj),Ae.get(o.qQL),Ae.get(v.O),Ae.get(Ot))}class mr{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new H.B;_resizeSubscription=B.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
vendor: 5,442 bytes, line 1
1constructor(xe,z,Ee,Ce,Ue){this._viewportRuler=z,this._document=Ee,this._platform=Ce,this._overlayContainer=Ue,this.setOrigin(xe)}attach(xe){this._validatePositions(),xe.hostElement.classList.add(Zt),this._overlayRef=xe,this._boundingBox=xe.hostElement,this._pane=xe.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 xe=this._originRect,z=this._overlayRect,Ee=this._viewportRect,Ce=this._containerRect,Ue=[];let Tt;for(let fe of this._preferredPositions){let we=this._getOriginPoint(xe,Ce,fe),_e=this._getOverlayPoint(we,z,fe),L=this._getOverlayFit(_e,z,Ee,fe);if(L.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(fe,we);this._canFitWithFlexibleDimensions(L,_e,Ee)?Ue.push({position:fe,origin:we,overlayRect:z,boundingBoxRect:this._calculateBoundingBoxRect(we,fe)}):(!Tt||Tt.overlayFit.visibleArea<L.visibleArea)&&(Tt={overlayFit:L,overlayPoint:_e,originPoint:we,position:fe,overlayRect:z})}if(Ue.length){let fe=null,we=-1;for(const _e of Ue){const L=_e.boundingBoxRect.width*_e.boundingBoxRect.height*(_e.position.weight||1);L>we&&(we=L,fe=_e)}return this._isPushed=!1,void this._applyPosition(fe.position,fe.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Tt.position,Tt.originPoint);this._applyPosition(Tt.position,Tt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Bn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Zt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const xe=this._lastPosition;if(xe){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const z=this._getOriginPoint(this._originRect,this._containerRect,xe);this._applyPosition(xe,z)}else this.apply()}withScrollableContainers(xe){return this._scrollables=xe,this}withPositions(xe){return this._preferredPositions=xe,-1===xe.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(xe){return this._viewportMargin=xe,this}withFlexibleDimensions(xe=!0){return this._hasFlexibleDimensions=xe,this}withGrowAfterOpen(xe=!0){return this._growAfterOpen=xe,this}withPush(xe=!0){return this._canPush=xe,this}withLockedPosition(xe=!0){return this._positionLocked=xe,this}setOrigin(xe){return this._origin=xe,this}withDefaultOffsetX(xe){return this._offsetX=xe,this}withDefaultOffsetY(xe){return this._offsetY=xe,this}withTransformOriginOn(xe){return this._transformOriginSelector=xe,this}_getOriginPoint(xe,z,Ee){let Ce,Ue;if("center"==Ee.originX)Ce=xe.left+xe.width/2;else{const Tt=this._isRtl()?xe.right:xe.left,fe=this._isRtl()?xe.left:xe.right;Ce="start"==Ee.originX?Tt:fe}return z.left<0&&(Ce-=z.left),Ue="center"==Ee.originY?xe.top+xe.height/2:"top"==Ee.originY?xe.top:xe.bottom,z.top<0&&(Ue-=z.top),{x:Ce,y:Ue}}_getOverlayPoint(xe,z,Ee){let Ce,Ue;return Ce="center"==Ee.overlayX?-z.width/2:"start"===Ee.overlayX?this._isRtl()?-z.width:0:this._isRtl()?0:-z.width,Ue="center"==Ee.overlayY?-z.height/2:"top"==Ee.overlayY?0:-z.height,{x:xe.x+Ce,y:xe.y+Ue}}_getOverlayFit(xe,z,Ee,Ce){const Ue=dn(z);let{x:Tt,y:fe}=xe,we=this._getOffset(Ce,"x"),_e=this._getOffset(Ce,"y");we&&(Tt+=we),_e&&(fe+=_e);let X=0-fe,qe=fe+Ue.height-Ee.height,Yt=this._subtractOverflows(Ue.width,0-Tt,Tt+Ue.width-Ee.width),On=this._subtractOverflows(Ue.height,X,qe),wi=Yt*On;return{visibleArea:wi,isCompletelyWithinViewport:Ue.width*Ue.height===wi,fitsInViewportVertically:On===Ue.height,fitsInViewportHorizontally:Yt==Ue.width}}_canFitWithFlexibleDimensions(xe,z,Ee){if(this._hasFlexibleDimensions){const Ce=Ee.bottom-z.y,Ue=Ee.right-z.x,Tt=Oi(this._overlayRef.getConfig().minHeight),fe=Oi(this._overlayRef.getConfig().minWidth);return(xe.fitsInViewportVertically||null!=Tt&&Tt<=Ce)&&(xe.fitsInViewportHorizontally||null!=fe&&fe<=Ue)}return!1}_pushOverlayOnScreen(xe,z,Ee){if(this._previousPushAmount&&this._positionLocked)return{x:xe.x+this._previousPushAmount.x,y:xe.y+this._previousPushAmount.y};const Ce=dn(z),Ue=this._viewportRect,Tt=Math.max(xe.x+Ce.width-Ue.width,0),fe=Math.max(xe.y+Ce.height-Ue.height,0),we=Math.max(Ue.top-Ee.top-xe.y,0),_e=Math.max(Ue.left-Ee.left-xe.x,0);let L=0,j=0;return L=Ce.width<=Ue.width?_e||-Tt:xe.x<this._viewportMargin?Ue.left-Ee.left-xe.x:0,j=Ce.he
1ight<=Ue.height?we||-fe:xe.y<this._viewportMargin?Ue.top-Ee.top-xe.y:0,this._previousPushAmount={x:L,y:j},{x:xe.x+L,y:xe.y+j}}_applyPosition(xe,z){if(this._setTransformOrigin(xe),this._setOverlayElementStyles(z,xe),this._setBoundingBoxStyles(z,xe),xe.panelClass&&this._addPanelClasses(xe.panelClass),this._positionChanges.observers.length){const Ee=this._getScrollVisibility();if(xe!==this._lastPosition||!this._lastScrollVisibility||!function Tn(Ae,xe){return Ae===xe||Ae.isOriginClipped===xe.isOriginClipped&&Ae.isOriginOutsideView===xe.isOriginOutsideView&&Ae.isOverlayClipped===xe.isOverlayClipped&&Ae.isOverlayOutsideView===xe.isOverlayOutsideView}(this._lastScrollVisibility,Ee)){const Ce=new yt(xe,Ee);this._positionChanges.next(Ce)}this._lastScrollVisibility=Ee}this._lastPosition=xe,this._isInitialRender=!1}_setTransformOrigin(xe){if(!this._transformOriginSelector)return;const z=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ee,Ce=xe.overlayY;Ee="center"===xe.overlayX?"center":this._isRtl()?"start"===xe.overlayX?"right":"left":"start"===xe.overlayX?"left":"right";for(let Ue=0;Ue<z.length;Ue++)z[Ue].style.transformOrigin=`${Ee} ${Ce}`}_calculateBoundingBoxRect(xe,z){const Ee=this._viewportRect,Ce=this._isRtl();let Ue,Tt,fe,L,j,X;if("top"===z.overlayY)Tt=xe.y,Ue=Ee.height-Tt+this._viewportMargin;else if("bottom"===z.overlayY)fe=Ee.height-xe.y+2*this._viewportMargin,Ue=Ee.height-fe+this._viewportMargin;else{const qe=Math.min(Ee.bottom-xe.y+Ee.top,xe.y),Yt=this._lastBoundingBoxSize.height;Ue=2*qe,Tt=xe.y-qe,Ue>Yt&&!this._isInitialRender&&!this._growAfterOpen&&(Tt=xe.y-Yt/2)}if("end"===z.overlayX&&!Ce||"start"===z.overlayX&&Ce)X=Ee.width-xe.x+2*this._viewportMargin,L=xe.x-this._viewportMargin;else if("start"===z.overlayX&&!Ce||"end"===z.overlayX&&Ce)j=xe.x,L=Ee.right-xe.x;else{const qe=Math.min(Ee.right-xe.x+Ee.left,xe.x),Yt=this._lastBoundingBoxSize.width;L=2*qe,j=xe.x-qe,L>Yt&&!this._isInitialRender&&!this._growAfterOpen&&(j=xe.x-Yt/2)}return{top:Tt,left:j,bottom:fe,right:X,width:L,height:Ue}}_setBoundingBoxStyles(xe,z){const Ee=this._calculateBoundingBoxRect(xe,z);!this._isInitialRender&&!this._growAfterOpen&&(Ee.height=Math.min(Ee.height,this._lastBoundingBoxSize.height),Ee.width=Math.min(Ee.width,this._lastBoundingBoxSize.width));const Ce={};if(this._hasExactPosition())Ce.top=Ce.left="0",Ce.bottom=Ce.right=Ce.maxHeight=Ce.maxWidth="",Ce.width=Ce.height="100%";else{const Ue=this._overlayRef.getConfig().maxHeight,Tt=this._overlayRef.getConfig().maxWidth;Ce.height=x(Ee.height),Ce.top=x(Ee.top),Ce.bottom=x(Ee.bottom),Ce.width=x(Ee.width),Ce.left=x(Ee.left),Ce.right=x(Ee.right),Ce.alignItems="center"===z.overlayX?"center":"end"===z.overlayX?"flex-end":"flex-start",Ce.justifyContent="center"===z.overlayY?"center":"bottom"===z.overlayY?"flex-end":"flex-start",Ue&&(Ce.maxHeight=x(Ue)),Tt&&(Ce.maxWidth=x(Tt))}this._lastBoundingBoxSize=Ee,Bn(this._boundingBox.style,Ce)}_resetBoundingBoxStyles(){Bn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Bn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(xe,z){const Ee={},Ce=this._hasExactPosition(),Ue=this._hasFlexibleDimensions,Tt=this._overlayRef.getConfig();if(Ce){const L=this._viewportRuler.getViewportScrollPosition();Bn(Ee,this._getExactOverlayY(z,xe,L)),Bn(Ee,this._getExactOverlayX(z,xe,L))}else Ee.position="static";let fe="",we=this._getOffset(z,"x"),_e=this._getOffset(z,"y");we&&(fe+=`translateX(${we}px) `),_e&&(fe+=`translateY(${_e}px)`),Ee.transform=fe.trim(),Tt.maxHeight&&(Ce?Ee.maxHeight=x(Tt.maxHeight):Ue&&(Ee.maxHeight="")),Tt.maxWidth&&(Ce?Ee.maxWidth=x(Tt.maxWidth):Ue&&(Ee.maxWidth="")),Bn(this._pane.style,Ee)}_getExactOverlayY(xe,z,Ee){let Ce={top:"",bottom:""},Ue=this._getOverlayPoint(z,this._overlayRect,xe);return this._isPushed&&(Ue=this._pushOverlayOnScreen(Ue,this._overlayRect,Ee)),"bottom"===xe.overlayY?Ce.bottom=this._document.documentElement.clientHeight-(Ue.y+this._overlayRect.height)+"px":Ce.top=x(Ue.y),Ce}_getExactOverlayX(xe,z,Ee){let Tt,Ce={left:"",right:""},Ue=this._getOverlayPoint(z,this._overlayRect,xe);return this._isPushed&&(Ue=this._pushOverlayOnScreen(Ue,this._overlayRect,Ee)),Tt=this._isRtl()?"end"===xe.overlayX?"left":"right":"end"===xe.overlayX?"right":"left","right"===Tt?Ce.right=this._document.documentElement.clientWidth-(Ue.x+this._overlayRect.width)+"px":Ce.left=x(Ue.x),Ce}_getScrollVisibility(){const xe=this._getOriginRect(),z=this._pane.getBoundingClientRect(),Ee=this._scrollables.map(Ce=>Ce.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ut(xe,Ee),isOriginOutsideView:at(xe,Ee),isOverlayClipped:Ut(z,Ee),isOverlayOutsideView:at(z,Ee)}}_subtractOverflows(xe,...z){return z.reduce((Ee,Ce)=>Ee-Math.max(Ce,0),xe)}_getNarrowedViewportRect(){const xe=this._document.documentElement.clientWidth,z=this._document.documentElement.clientHeight,Ee=this._viewportRuler.getViewportScrollPosition();return{top:Ee.top+this._viewportMargin,left:Ee.left+this._viewportMargin,right:Ee.left+xe-this._viewportMargin,bottom:Ee.top+z-this._viewportMargin,width:xe-2*this._viewportMargin,height:z-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(xe,z){return"x"===z?null==xe.offsetX?this._offsetX:xe.offsetX:null==xe.offsetY?this._offsetY:xe.offsetY}_validatePositions(){}_addPanelClasses(xe){this._pane&&(0,ye.F)(xe).forEach(z=>{""!==z&&-1===this._appliedPanelClasses.indexOf(z)&&(this._appliedPanelClasses.push(z),this._pane.classList.add(z))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(xe=>{this._pane.classList.remove(xe)}),this._appliedPanelClasses=[])}_getOriginRect(){const xe=this._origin;if(xe instanceof s.aKT)return xe.nativeElement.getBoundingClientRect();if(xe instanceof Element)return xe.getBoundingClientRect();const z=xe.width||0,Ee=xe.height||0;return{top:xe.y,bottom:xe.y+Ee,left:xe.x,right:xe.x+z,height:Ee,width:z}}}function Bn(Ae,xe){for(let z in xe)xe.hasOwnProperty(z)&&(Ae[z]=xe[z]);return Ae}function Oi(Ae){if("number"!=typeof Ae&&null!=Ae){const[xe,z]=Ae.split(ti);return z&&"px"!==z?null:parseFloat(xe)}return Ae||null}function dn(Ae){return{top:Math.floor(Ae.top),right:Math.floor(Ae.right),bottom:Math.floor(Ae.bottom),left:Math.floor(Ae.left),width:Math.floor(Ae.width),height:Math.floor(Ae.height)}}const Qn="cdk-global-overlay-wrapper";function di(Ae){return new ai}class ai{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(xe){const z=xe.getConfig();this._overlayRef=xe,this._width&&!z.width&&xe.updateSize({width:this._width}),this._height&&!z.height&&xe.updateSize({height:this._height}),xe.hostElement.classList.add(Qn),this._isDisposed=!1}top(xe=""){return this._bottomOffset="",this._topOffset=xe,this._alignItems="flex-start",this}left(xe=""){return this._xOffset=xe,this._xPosition="left",this}bottom(xe=""){return this._topOffset="",this._bottomOffset=xe,this._alignItems="flex-end",this}right(xe=""){return this._xOffset=xe,this._xPosition="right",this}start(xe=""){return this._xOffset=xe,this._xPosition="start",this}end(xe=""){return this._xOffset=xe,this._xPosition="end",this}width(xe=""){return this._overlayRef?this._overlayRef.updateSize({width:xe}):this._width=xe,this}height(xe=""){return this._overlayRef?this._overlayRef.updateSize({height:xe}):this._height=xe,this}
1centerHorizontally(xe=""){return this.left(xe),this._xPosition="center",this}centerVertically(xe=""){return this.top(xe),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const xe=this._overlayRef.overlayElement.style,z=this._overlayRef.hostElement.style,Ee=this._overlayRef.getConfig(),{width:Ce,height:Ue,maxWidth:Tt,maxHeight:fe}=Ee,we=!("100%"!==Ce&&"100vw"!==Ce||Tt&&"100%"!==Tt&&"100vw"!==Tt),_e=!("100%"!==Ue&&"100vh"!==Ue||fe&&"100%"!==fe&&"100vh"!==fe),L=this._xPosition,j=this._xOffset,X="rtl"===this._overlayRef.getConfig().direction;let qe="",Yt="",On="";we?On="flex-start":"center"===L?(On="center",X?Yt=j:qe=j):X?"left"===L||"end"===L?(On="flex-end",qe=j):("right"===L||"start"===L)&&(On="flex-start",Yt=j):"left"===L||"start"===L?(On="flex-start",qe=j):("right"===L||"end"===L)&&(On="flex-end",Yt=j),xe.position=this._cssPosition,xe.marginLeft=we?"0":qe,xe.marginTop=_e?"0":this._topOffset,xe.marginBottom=this._bottomOffset,xe.marginRight=we?"0":Yt,z.justifyContent=On,z.alignItems=_e?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const xe=this._overlayRef.overlayElement.style,z=this._overlayRef.hostElement,Ee=z.style;z.classList.remove(Qn),Ee.justifyContent=Ee.alignItems=xe.marginTop=xe.marginBottom=xe.marginLeft=xe.marginRight=xe.position="",this._overlayRef=null,this._isDisposed=!0}}let pi=(()=>{class Ae{_injector=(0,o.WQX)(o.zZn);constructor(){}global(){return di()}flexibleConnectedTo(z){return Wn(this._injector,z)}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();function Vi(Ae,xe){Ae.get(k.l).load(We);const z=Ae.get(Ot),Ee=Ae.get(o.qQL),Ce=Ae.get(ge.g),Ue=Ae.get(s.o8S),Tt=Ae.get(ue.dS),fe=Ee.createElement("div"),we=Ee.createElement("div");we.id=Ce.getId("cdk-overlay-"),we.classList.add("cdk-overlay-pane"),fe.appendChild(we),z.getContainerElement().appendChild(fe);const _e=new Mt.aI(we,Ue,Ae),L=new qt(xe),j=Ae.get(s.sFG,null,{optional:!0})||Ae.get(s._9s).createRenderer(null,null);return L.direction=L.direction||Tt.value,new It(_e,fe,we,L,Ae.get(s.SKi),Ae.get(je),Ee,Ae.get(y.aZ),Ae.get(rt),xe?.disableAnimations??"NoopAnimations"===Ae.get(s.bc$,null,{optional:!0}),Ae.get(o.uvJ),j)}let ii=(()=>{class Ae{scrollStrategies=(0,o.WQX)(hn);_positionBuilder=(0,o.WQX)(pi);_injector=(0,o.WQX)(o.zZn);constructor(){}create(z){return Vi(this._injector,z)}position(){return this._positionBuilder}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=o.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})();const rr=[{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"}],Sn=new o.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const Ae=(0,o.WQX)(o.zZn);return()=>nt(Ae)}});let ci=(()=>{class Ae{elementRef=(0,o.WQX)(s.aKT);constructor(){}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=s.FsC({type:Ae,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return Ae})(),Un=(()=>{class Ae{_dir=(0,o.WQX)(ue.dS,{optional:!0});_injector=(0,o.WQX)(o.zZn);_overlayRef;_templatePortal;_backdropSubscription=B.yU.EMPTY;_attachSubscription=B.yU.EMPTY;_detachSubscription=B.yU.EMPTY;_positionSubscription=B.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,o.WQX)(Sn);_disposeOnNavigation=!1;_ngZone=(0,o.WQX)(s.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(z){this._offsetX=z,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(z){this._offsetY=z,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(z){this._disposeOnNavigation=z}backdropClick=new s.bkB;positionChange=new s.bkB;attach=new s.bkB;detach=new s.bkB;overlayKeydown=new s.bkB;overlayOutsideClick=new s.bkB;constructor(){const z=(0,o.WQX)(s.C4Q),Ee=(0,o.WQX)(s.c1b);this._templatePortal=new Mt.VA(z,Ee),this.scrollStrategy=this._scrollStrategyFactory()}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?.dispose()}ngOnChanges(z){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),z.origin&&this.open&&this._position.apply()),z.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=rr);const z=this._overlayRef=Vi(this._injector,this._buildConfig());this._attachSubscription=z.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=z.detachments().subscribe(()=>this.detach.emit()),z.keydownEvents().subscribe(Ee=>{this.overlayKeydown.next(Ee),Ee.keyCode===kt._f&&!this.disableClose&&!(0,Je.rp)(Ee)&&(Ee.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ee=>{const Ce=this._getOriginElement(),Ue=(0,T.Fb)(Ee);(!Ce||Ce!==Ue&&!Ce.contains(Ue))&&this.overlayOutsideClick.next(Ee)})}_buildConfig(){const z=this._position=this.positionStrategy||this._createPositionStrategy(),Ee=new qt({direction:this._dir||"ltr",positionStrategy:z,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(Ee.width=this.width),(this.height||0===this.height)&&(Ee.height=this.height),(this.minWidth||0===this.minWidth)&&(Ee.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ee.minHeight=this.minHeight),this.backdropClass&&(Ee.backdropClass=this.backdropClass),this.panelClass&&(Ee.panelClass=this.panelClass),Ee}_updatePositionStrategy(z){const Ee=this.positions.map(Ce=>({originX:Ce.originX,originY:Ce.originY,overlayX:Ce.overlayX,overlayY:Ce.overlayY,offsetX:Ce.offsetX||this.offsetX,offsetY:Ce.offsetY||this.offsetY,panelClass:Ce.panelClass||void 0}));return z.setOrigin(this._getOrigin()).withPositions(Ee).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const z=Wn(this._injector,this._getOrigin());return this._updatePositionStrategy(z),z}
1_getOrigin(){return this.origin instanceof ci?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ci?this.origin.elementRef.nativeElement:this.origin instanceof s.aKT?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}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(z=>{this.backdropClick.emit(z)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Le(Ae,xe=!1){return(0,Xe.N)((z,Ee)=>{let Ce=0;z.subscribe((0,ze._)(Ee,Ue=>{const Tt=Ae(Ue,Ce++);(Tt||xe)&&Ee.next(Ue),!Tt&&Ee.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(z=>{this._ngZone.run(()=>this.positionChange.emit(z)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=s.FsC({type:Ae,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",h.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",h.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",h.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",h.L39],push:[2,"cdkConnectedOverlayPush","push",h.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",h.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[s.OA$]})}return Ae})();const Vt={provide:Sn,useFactory:function fr(Ae){const xe=(0,o.WQX)(o.zZn);return()=>nt(xe)}};let un=(()=>{class Ae{static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275mod=s.$C({type:Ae});static \u0275inj=o.G2t({providers:[ii,Vt],imports:[Ke.jI,Mt.jc,He.E9,He.E9]})}return Ae})()},3300(tn,Ye,d){"use strict";let o;function h(y){return function s(){if(null==o&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>o=!0}))}finally{o=o||!1}return o}()?y:!!y.capture}d.d(Ye,{B:()=>h})},9842(tn,Ye,d){"use strict";d.d(Ye,{O:()=>v});var o=d(2615),s=d(3664),h=d(177);let y;try{y=typeof Intl<"u"&&Intl.v8BreakIterator}catch{y=!1}let v=(()=>{class T{_platformId=(0,o.WQX)(s.Agw);isBrowser=this._platformId?(0,h.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!y)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;
1WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(H){return new(H||T)};static \u0275prov=o.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},6939(tn,Ye,d){"use strict";d.d(Ye,{A8:()=>ye,I3:()=>Le,VA:()=>He,aI:()=>Qe,bV:()=>Xe,jc:()=>ue,lb:()=>Ge});var s=d(2615),h=d(3664),y=d(7705);class x{_attachedHost;attach(Je){return this._attachedHost=Je,Je.attach(this)}detach(){let Je=this._attachedHost;null!=Je&&(this._attachedHost=null,Je.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Je){this._attachedHost=Je}}class ye extends x{component;viewContainerRef;injector;projectableNodes;constructor(Je,Ke,$e,lt){super(),this.component=Je,this.viewContainerRef=Ke,this.injector=$e,this.projectableNodes=lt}}class He extends x{templateRef;viewContainerRef;context;injector;constructor(Je,Ke,$e,lt){super(),this.templateRef=Je,this.viewContainerRef=Ke,this.context=$e,this.injector=lt}get origin(){return this.templateRef.elementRef}attach(Je,Ke=this.context){return this.context=Ke,super.attach(Je)}detach(){return this.context=void 0,super.detach()}}class Mt extends x{element;constructor(Je){super(),this.element=Je instanceof h.aKT?Je.nativeElement:Je}}class Ge{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(Je){return Je instanceof ye?(this._attachedPortal=Je,this.attachComponentPortal(Je)):Je instanceof He?(this._attachedPortal=Je,this.attachTemplatePortal(Je)):this.attachDomPortal&&Je instanceof Mt?(this._attachedPortal=Je,this.attachDomPortal(Je)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Je){this._disposeFn=Je}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Qe extends Ge{outletElement;_appRef;_defaultInjector;constructor(Je,Ke,$e){super(),this.outletElement=Je,this._appRef=Ke,this._defaultInjector=$e}attachComponentPortal(Je){let Ke;if(Je.viewContainerRef){const $e=Je.injector||Je.viewContainerRef.injector,lt=$e.get(h.Ab1,null,{optional:!0})||void 0;Ke=Je.viewContainerRef.createComponent(Je.component,{index:Je.viewContainerRef.length,injector:$e,ngModuleRef:lt,projectableNodes:Je.projectableNodes||void 0}),this.setDisposeFn(()=>Ke.destroy())}else{const $e=this._appRef,lt=Je.injector||this._defaultInjector||s.zZn.NULL,q=lt.get(s.uvJ,$e.injector);Ke=(0,y.a0P)(Je.component,{elementInjector:lt,environmentInjector:q,projectableNodes:Je.projectableNodes||void 0}),$e.attachView(Ke.hostView),this.setDisposeFn(()=>{$e.viewCount>0&&$e.detachView(Ke.hostView),Ke.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(Ke)),this._attachedPortal=Je,Ke}attachTemplatePortal(Je){let Ke=Je.viewContainerRef,$e=Ke.createEmbeddedView(Je.templateRef,Je.context,{injector:Je.injector});return $e.rootNodes.forEach(lt=>this.outletElement.appendChild(lt)),$e.detectChanges(),this.setDisposeFn(()=>{let lt=Ke.indexOf($e);-1!==lt&&Ke.remove(lt)}),this._attachedPortal=Je,$e}attachDomPortal=Je=>{const Ke=Je.element,$e=this.outletElement.ownerDocument.createComment("dom-portal");Ke.parentNode.insertBefore($e,Ke),this.outletElement.appendChild(Ke),this._attachedPortal=Je,super.setDisposeFn(()=>{$e.parentNode&&$e.parentNode.replaceChild(Ke,$e)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Je){return Je.hostView.rootNodes[0]}}let Xe=(()=>{class kt extends He{constructor(){super((0,s.WQX)(h.C4Q),(0,s.WQX)(h.c1b))}static \u0275fac=function($e){return new($e||kt)};static \u0275dir=h.FsC({type:kt,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[h.Vt3]})}return kt})(),Le=(()=>{class kt extends Ge{_moduleRef=(0,s.WQX)(h.Ab1,{optional:!0});_document=(0,s.WQX)(s.qQL);
1_viewContainerRef=(0,s.WQX)(h.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(Ke){this.hasAttached()&&!Ke&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ke&&super.attach(Ke),this._attachedPortal=Ke||null)}attached=new h.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ke){Ke.setAttachedHost(this);const $e=null!=Ke.viewContainerRef?Ke.viewContainerRef:this._viewContainerRef,lt=$e.createComponent(Ke.component,{index:$e.length,injector:Ke.injector||$e.injector,projectableNodes:Ke.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return $e!==this._viewContainerRef&&this._getRootNode().appendChild(lt.hostView.rootNodes[0]),super.setDisposeFn(()=>lt.destroy()),this._attachedPortal=Ke,this._attachedRef=lt,this.attached.emit(lt),lt}attachTemplatePortal(Ke){Ke.setAttachedHost(this);const $e=this._viewContainerRef.createEmbeddedView(Ke.templateRef,Ke.context,{injector:Ke.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ke,this._attachedRef=$e,this.attached.emit($e),$e}attachDomPortal=Ke=>{const $e=Ke.element,lt=this._document.createComment("dom-portal");Ke.setAttachedHost(this),$e.parentNode.insertBefore(lt,$e),this._getRootNode().appendChild($e),this._attachedPortal=Ke,super.setDisposeFn(()=>{lt.parentNode&<.parentNode.replaceChild($e,lt)})};_getRootNode(){const Ke=this._viewContainerRef.element.nativeElement;return Ke.nodeType===Ke.ELEMENT_NODE?Ke:Ke.parentNode}static \u0275fac=function($e){return new($e||kt)};static \u0275dir=h.FsC({type:kt,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[h.Vt3]})}return kt})(),ue=(()=>{class kt{static \u0275fac=function($e){return new($e||kt)};static \u0275mod=h.$C({type:kt});static \u0275inj=s.G2t({})}return kt})()},9046(tn,Ye,d){"use strict";d.d(Ye,{Y:()=>s});var o=d(3664);let s=(()=>{class h{static \u0275fac=function(T){return new(T||h)};static \u0275cmp=o.VBU({type:h,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(T,M){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return h})()},5478(tn,Ye,d){"use strict";d.d(Ye,{E9:()=>un,Gj:()=>Vt,R:()=>Yn,Xj:()=>di,uv:()=>_});var Te=d(2615),Pe=d(3664),yt=d(1985),wt=d(1413),je=(d(5007),d(536),d(7673)),rt=d(3798),Ze=d(5964),We=d(7847),Ot=d(9842),Me=d(1577),It=d(7860),Zt=d(8203);let Yn=(()=>{class Ae{_ngZone=(0,Te.WQX)(Pe.SKi);_platform=(0,Te.WQX)(Ot.O);_renderer=(0,Te.WQX)(Pe._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new wt.B;_scrolledCount=0;scrollContainers=new Map;register(z){this.scrollContainers.has(z)||this.scrollContainers.set(z,z.elementScrolled().subscribe(()=>this._scrolled.next(z)))}deregister(z){const Ee=this.scrollContainers.get(z);Ee&&(Ee.unsubscribe(),this.scrollContainers.delete(z))}scrolled(z=20){return this._platform.isBrowser?new yt.c(Ee=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const Ce=z>0?this._scrolled.pipe((0,rt.Z)(z)).subscribe(Ee):this._scrolled.subscribe(Ee);return this._scrolledCount++,()=>{Ce.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,je.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((z,Ee)=>this.deregister(Ee)),this._scrolled.complete()}ancestorScrolled(z,Ee){const Ce=this.getAncestorScrollContainers(z);return this.scrolled(Ee).pipe((0,Ze.p)(Ue=>!Ue||Ce.indexOf(Ue)>-1))}getAncestorScrollContainers(z){const Ee=[];
1return this.scrollContainers.forEach((Ce,Ue)=>{this._scrollableContainsElement(Ue,z)&&Ee.push(Ue)}),Ee}_scrollableContainsElement(z,Ee){let Ce=(0,We.i8)(Ee),Ue=z.getElementRef().nativeElement;do{if(Ce==Ue)return!0}while(Ce=Ce.parentElement);return!1}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=Te.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})(),_=(()=>{class Ae{elementRef=(0,Te.WQX)(Pe.aKT);scrollDispatcher=(0,Te.WQX)(Yn);ngZone=(0,Te.WQX)(Pe.SKi);dir=(0,Te.WQX)(Me.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new wt.B;_renderer=(0,Te.WQX)(Pe.sFG);_cleanupScroll;_elementScrolled=new wt.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",z=>this._elementScrolled.next(z))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(z){const Ee=this.elementRef.nativeElement,Ce=this.dir&&"rtl"==this.dir.value;null==z.left&&(z.left=Ce?z.end:z.start),null==z.right&&(z.right=Ce?z.start:z.end),null!=z.bottom&&(z.top=Ee.scrollHeight-Ee.clientHeight-z.bottom),Ce&&(0,It.BD)()!=It.r5.NORMAL?(null!=z.left&&(z.right=Ee.scrollWidth-Ee.clientWidth-z.left),(0,It.BD)()==It.r5.INVERTED?z.left=z.right:(0,It.BD)()==It.r5.NEGATED&&(z.left=z.right?-z.right:z.right)):null!=z.right&&(z.left=Ee.scrollWidth-Ee.clientWidth-z.right),this._applyScrollToOptions(z)}_applyScrollToOptions(z){const Ee=this.elementRef.nativeElement;(0,It.CZ)()?Ee.scrollTo(z):(null!=z.top&&(Ee.scrollTop=z.top),null!=z.left&&(Ee.scrollLeft=z.left))}measureScrollOffset(z){const Ee="left",Ue=this.elementRef.nativeElement;if("top"==z)return Ue.scrollTop;if("bottom"==z)return Ue.scrollHeight-Ue.clientHeight-Ue.scrollTop;const Tt=this.dir&&"rtl"==this.dir.value;return"start"==z?z=Tt?"right":Ee:"end"==z&&(z=Tt?Ee:"right"),Tt&&(0,It.BD)()==It.r5.INVERTED?z==Ee?Ue.scrollWidth-Ue.clientWidth-Ue.scrollLeft:Ue.scrollLeft:Tt&&(0,It.BD)()==It.r5.NEGATED?z==Ee?Ue.scrollLeft+Ue.scrollWidth-Ue.clientWidth:-Ue.scrollLeft:z==Ee?Ue.scrollLeft:Ue.scrollWidth-Ue.clientWidth-Ue.scrollLeft}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=Pe.FsC({type:Ae,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return Ae})(),di=(()=>{class Ae{_platform=(0,Te.WQX)(Ot.O);_listeners;_viewportSize;_change=new wt.B;_document=(0,Te.WQX)(Te.qQL);constructor(){const z=(0,Te.WQX)(Pe.SKi),Ee=(0,Te.WQX)(Pe._9s).createRenderer(null,null);z.runOutsideAngular(()=>{if(this._platform.isBrowser){const Ce=Ue=>this._change.next(Ue);this._listeners=[Ee.listen("window","resize",Ce),Ee.listen("window","orientationchange",Ce)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(z=>z()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const z={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),z}getViewportRect(){const z=this.getViewportScrollPosition(),{width:Ee,height:Ce}=this.getViewportSize();return{top:z.top,left:z.left,bottom:z.top+Ce,right:z.left+Ee,height:Ce,width:Ee}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const z=this._document,Ee=this._getWindow(),Ce=z.documentElement,Ue=Ce.getBoundingClientRect();return{top:-Ue.top||z.body.scrollTop||Ee.scrollY||Ce.scrollTop||0,left:-Ue.left||z.body.scrollLeft||Ee.scrollX||Ce.scrollLeft||0}}change(z=20){return z>0?this._change.pipe((0,rt.Z)(z)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const z=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:z.innerWidth,height:z.innerHeight}:{width:0,height:0}}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275prov=Te.jDH({token:Ae,factory:Ae.\u0275fac,providedIn:"root"})}return Ae})(),Vt=(()=>{class Ae{static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275mod=Pe.$C({type:Ae});static \u0275inj=Te.G2t({})}return Ae})(),un=(()=>{class Ae{static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275mod=Pe.$C({type:Ae});
1static \u0275inj=Te.G2t({imports:[Zt.jI,Vt,Zt.jI,Vt]})}return Ae})()},7860(tn,Ye,d){"use strict";d.d(Ye,{BD:()=>v,CZ:()=>y,r5:()=>o});var o=function(T){return T[T.NORMAL=0]="NORMAL",T[T.NEGATED=1]="NEGATED",T[T.INVERTED=2]="INVERTED",T}(o||{});let s,h;function y(){if(null==h){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return h=!1,h;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)h=!0;else{const T=Element.prototype.scrollTo;h=!!T&&!/\{\s*\[native code\]\s*\}/.test(T.toString())}}return h}function v(){if("object"!=typeof document||!document)return o.NORMAL;if(null==s){const T=document.createElement("div"),M=T.style;T.dir="rtl",M.width="1px",M.overflow="auto",M.visibility="hidden",M.pointerEvents="none",M.position="absolute";const k=document.createElement("div"),H=k.style;H.width="2px",H.height="1px",T.appendChild(k),document.body.appendChild(T),s=o.NORMAL,0===T.scrollLeft&&(T.scrollLeft=1,s=0===T.scrollLeft?o.NEGATED:o.INVERTED),T.remove()}return s}},3869(tn,Ye,d){"use strict";d.d(Ye,{C:()=>s});var o=d(1413);class s{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new o.B;constructor(v=!1,T,M=!0,k){this._multiple=v,this._emitChanges=M,this.compareWith=k,T&&T.length&&(v?T.forEach(H=>this._markSelected(H)):this._markSelected(T[0]),this._selectedToEmit.length=0)}select(...v){this._verifyValueAssignment(v),v.forEach(M=>this._markSelected(M));const T=this._hasQueuedChanges();return this._emitChangeEvent(),T}deselect(...v){this._verifyValueAssignment(v),v.forEach(M=>this._unmarkSelected(M));const T=this._hasQueuedChanges();return this._emitChangeEvent(),T}setSelection(...v){this._verifyValueAssignment(v);const T=this.selected,M=new Set(v.map(H=>this._getConcreteValue(H)));v.forEach(H=>this._markSelected(H)),T.filter(H=>!M.has(this._getConcreteValue(H,M))).forEach(H=>this._unmarkSelected(H));const k=this._hasQueuedChanges();return this._emitChangeEvent(),k}toggle(v){return this.isSelected(v)?this.deselect(v):this.select(v)}clear(v=!0){this._unmarkAll();const T=this._hasQueuedChanges();return v&&this._emitChangeEvent(),T}isSelected(v){return this._selection.has(this._getConcreteValue(v))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(v){this._multiple&&this.selected&&this._selected.sort(v)}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(v){v=this._getConcreteValue(v),this.isSelected(v)||(this._multiple||this._unmarkAll(),this.isSelected(v)||this._selection.add(v),this._emitChanges&&this._selectedToEmit.push(v))}_unmarkSelected(v){v=this._getConcreteValue(v),this.isSelected(v)&&(this._selection.delete(v),this._emitChanges&&this._deselectedToEmit.push(v))}_unmarkAll(){this.isEmpty()||this._selection.forEach(v=>this._unmarkSelected(v))}_verifyValueAssignment(v){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(v,T){if(this.compareWith){T=T??this._selection;for(let M of T)if(this.compareWith(v,M))return M;return v}return v}}},4522(tn,Ye,d){"use strict";let o;function h(T){if(function s(){if(null==o){const T=typeof document<"u"?document.head:null;o=!(!T||!T.createShadowRoot&&!T.attachShadow)}return o}()){const M=T.getRootNode?T.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&M instanceof ShadowRoot)return M}return null}function y(){let T=typeof document<"u"&&document?document.activeElement:null;for(;T&&T.shadowRoot;){const M=T.shadowRoot.activeElement;if(M===T)break;T=M}return T}function v(T){return T.composedPath?T.composedPath()[0]:T.target}d.d(Ye,{Fb:()=>v,KT:()=>h,vc:()=>y})},8968(tn,Ye,d){"use strict";d.d(Ye,{l:()=>v});var o=d(2615),s=d(7705),h=d(3664);const y=new WeakMap;let v=(()=>{class T{_appRef;_injector=(0,o.WQX)(o.zZn);_environmentInjector=(0,o.WQX)(o.uvJ);load(k){const H=this._appRef=this._appRef||this._injector.get(h.o8S);let B=y.get(H);B||(B={loaders:new Set,refs:[]},y.set(H,B),H.onDestroy(()=>
1{y.get(H)?.refs.forEach(x=>x.destroy()),y.delete(H)})),B.loaders.has(k)||(B.loaders.add(k),B.refs.push((0,s.a0P)(k,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(H){return new(H||T)};static \u0275prov=o.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}return T})()},9096(tn,Ye,d){"use strict";d.d(Ye,{i:()=>k});var o=d(1413),s=d(152),h=d(5964),y=d(6354),v=d(8141),T=d(438);class k{_letterKeyStream=new o.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new o.B;selectedItem=this._selectedItem;constructor(B,x){const ye="number"==typeof x?.debounceInterval?x.debounceInterval:200;x?.skipPredicate&&(this._skipPredicateFn=x.skipPredicate),this.setItems(B),this._setupKeyHandler(ye)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(B){this._selectedItemIndex=B}setItems(B){this._items=B}handleKey(B){const x=B.keyCode;B.key&&1===B.key.length?this._letterKeyStream.next(B.key.toLocaleUpperCase()):(x>=T.A&&x<=T.Z||x>=T.f2&&x<=T.bn)&&this._letterKeyStream.next(String.fromCharCode(x))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(B){this._letterKeyStream.pipe((0,v.M)(x=>this._pressedLetters.push(x)),(0,s.B)(B),(0,h.p)(()=>this._pressedLetters.length>0),(0,y.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(x=>{for(let ye=1;ye<this._items.length+1;ye++){const Mt=this._items[(this._selectedItemIndex+ye)%this._items.length];if(!this._skipPredicateFn?.(Mt)&&0===Mt.getLabel?.().toLocaleUpperCase().trim().indexOf(x)){this._selectedItem.next(Mt);break}}this._pressedLetters=[]})}}},8689(tn,Ye,d){"use strict";d.d(Ye,{z:()=>s});var o=d(2615);let s=(()=>{class h{_listeners=[];notify(v,T){for(let M of this._listeners)M(v,T)}listen(v){return this._listeners.push(v),()=>{this._listeners=this._listeners.filter(T=>v!==T)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(T){return new(T||h)};static \u0275prov=o.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},177(tn,Ye,d){"use strict";d.d(Ye,{AJ:()=>Je,UE:()=>$e,Vy:()=>lt,Xr:()=>de});var ue=d(2615);const Je="browser";function $e(Pn){return Pn===Je}function lt(Pn){return"server"===Pn}let de=(()=>{class Pn{static \u0275prov=(0,ue.jDH)({token:Pn,providedIn:"root",factory:()=>new ae((0,ue.WQX)(ue.qQL),window)})}return Pn})();class ae{document;window;offset=()=>[0,0];constructor(vi,Ni){this.document=vi,this.window=Ni}setOffset(vi){this.offset=Array.isArray(vi)?()=>vi:vi}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(vi,Ni){this.window.scrollTo({...Ni,left:vi[0],top:vi[1]})}scrollToAnchor(vi,Ni){const Jt=function he(Pn,vi){const Ni=Pn.getElementById(vi)||Pn.getElementsByName(vi)[0];if(Ni)return Ni;if("function"==typeof Pn.createTreeWalker&&Pn.body&&"function"==typeof Pn.body.attachShadow){const Jt=Pn.createTreeWalker(Pn.body,NodeFilter.SHOW_ELEMENT);let Ri=Jt.currentNode;for(;Ri;){const Q=Ri.shadowRoot;if(Q){const st=Q.getElementById(vi)||Q.querySelector(`[name="${vi}"]`);if(st)return st}Ri=Jt.nextNode()}}return null}(this.document,vi);Jt&&(this.scrollToElement(Jt,Ni),Jt.focus())}setHistoryScrollRestoration(vi){try{this.window.history.scrollRestoration=vi}catch{console.warn((0,ue.OsK)(2400,!1))}}scrollToElement(vi,Ni){const Jt=vi.getBoundingClientRect(),Ri=Jt.left+this.window.pageXOffset,Q=Jt.top+this.window.pageYOffset,st=this.offset();this.window.scrollTo({...Ni,left:Ri-st[0],top:Q-st[1]})}}},2200(tn,Ye,d){"use strict";d.d(Ye,{B3:()=>wn,Jj:()=>$r,MD:()=>ia,Sq:()=>_t,T3:()=>In,TG:()=>Ri,YU:()=>an,Yq:()=>Ze,bT:()=>Zn,fw:()=>H,oe:()=>Yr,vh:()=>Pn});var y=d(7705),v=d(2615),T=d(3664),M=d(9295),k=d(7303);let H=(()=>{class Dt extends k.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Lt,sn){super(),this._platformLocation=Lt,null!=sn&&(this._baseHref=sn)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Lt){this._removeListenerFns.push(this._platformLocation.onPopState(Lt),this._platformLocation.on
1HashChange(Lt))}getBaseHref(){return this._baseHref}path(Lt=!1){const sn=this._platformLocation.hash??"#";return sn.length>0?sn.substring(1):sn}prepareExternalUrl(Lt){const sn=(0,k.om)(this._baseHref,Lt);return sn.length>0?"#"+sn:sn}pushState(Lt,sn,dt,qi){const br=this.prepareExternalUrl(dt+(0,k.Q)(qi))||this._platformLocation.pathname;this._platformLocation.pushState(Lt,sn,br)}replaceState(Lt,sn,dt,qi){const br=this.prepareExternalUrl(dt+(0,k.Q)(qi))||this._platformLocation.pathname;this._platformLocation.replaceState(Lt,sn,br)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Lt=0){this._platformLocation.historyGo?.(Lt)}static \u0275fac=function(sn){return new(sn||Dt)(v.KVO(k.Vw),v.KVO(k.kB,8))};static \u0275prov=v.jDH({token:Dt,factory:Dt.\u0275fac})}return Dt})();const B={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var x=function(Dt){return Dt[Dt.Decimal=0]="Decimal",Dt[Dt.Percent=1]="Percent",Dt[Dt.Currency=2]="Currency",Dt[Dt.Scientific=3]="Scientific",Dt}(x||{}),He=function(Dt){return Dt[Dt.Format=0]="Format",Dt[Dt.Standalone=1]="Standalone",Dt}(He||{}),Mt=function(Dt){return Dt[Dt.Narrow=0]="Narrow",Dt[Dt.Abbreviated=1]="Abbreviated",Dt[Dt.Wide=2]="Wide",Dt[Dt.Short=3]="Short",Dt}(Mt||{}),Ge=function(Dt){return Dt[Dt.Short=0]="Short",Dt[Dt.Medium=1]="Medium",Dt[Dt.Long=2]="Long",Dt[Dt.Full=3]="Full",Dt}(Ge||{});function $e(Dt,An){return Te((0,T.kBR)(Dt)[T.NSC.DateFormat],An)}function lt(Dt,An){return Te((0,T.kBR)(Dt)[T.NSC.TimeFormat],An)}function q(Dt,An){return Te((0,T.kBR)(Dt)[T.NSC.DateTimeFormat],An)}function de(Dt,An){const Lt=(0,T.kBR)(Dt),sn=Lt[T.NSC.NumberSymbols][An];if(typeof sn>"u"){if(12===An)return Lt[T.NSC.NumberSymbols][0];if(13===An)return Lt[T.NSC.NumberSymbols][1]}return sn}function nt(Dt){if(!Dt[T.NSC.ExtraData])throw new v.buA(2303,!1)}function Te(Dt,An){for(let Lt=An;Lt>-1;Lt--)if(typeof Dt[Lt]<"u")return Dt[Lt];throw new v.buA(2304,!1)}function Pe(Dt){const[An,Lt]=Dt.split(":");return{hours:+An,minutes:+Lt}}const ie=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,je={},rt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Ze(Dt,An,Lt,sn){let dt=function ci(Dt){if(fr(Dt))return Dt;if("number"==typeof Dt&&!isNaN(Dt))return new Date(Dt);if("string"==typeof Dt){if(Dt=Dt.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Dt)){const[dt,qi=1,br=1]=Dt.split("-").map($i=>+$i);return Ot(dt,qi-1,br)}const Lt=parseFloat(Dt);if(!isNaN(Dt-Lt))return new Date(Lt);let sn;if(sn=Dt.match(ie))return function Un(Dt){const An=new Date(0);let Lt=0,sn=0;const dt=Dt[8]?An.setUTCFullYear:An.setFullYear,qi=Dt[8]?An.setUTCHours:An.setHours;
1Dt[9]&&(Lt=Number(Dt[9]+Dt[10]),sn=Number(Dt[9]+Dt[11])),dt.call(An,Number(Dt[1]),Number(Dt[2])-1,Number(Dt[3]));const br=Number(Dt[4]||0)-Lt,$i=Number(Dt[5]||0)-sn,Es=Number(Dt[6]||0),Mn=Math.floor(1e3*parseFloat("0."+(Dt[7]||0)));return qi.call(An,br,$i,Es,Mn),An}(sn)}const An=new Date(Dt);if(!fr(An))throw new v.buA(2311,!1);return An}(Dt);An=Me(Lt,An)||An;let $i,br=[];for(;An;){if($i=rt.exec(An),!$i){br.push(An);break}{br=br.concat($i.slice(1));const Fn=br.pop();if(!Fn)break;An=Fn}}let Es=dt.getTimezoneOffset();sn&&(Es=ii(sn,Es),dt=function Sn(Dt,An){const dt=Dt.getTimezoneOffset();return function rr(Dt,An){return(Dt=new Date(Dt.getTime())).setMinutes(Dt.getMinutes()+An),Dt}(Dt,-1*(ii(An,dt)-dt))}(dt,sn));let Mn="";return br.forEach(Fn=>{const Vn=function Vi(Dt){if(pi[Dt])return pi[Dt];let An;switch(Dt){case"G":case"GG":case"GGG":An=Bn(3,Mt.Abbreviated);break;case"GGGG":An=Bn(3,Mt.Wide);break;case"GGGGG":An=Bn(3,Mt.Narrow);break;case"y":An=Wn(0,1,0,!1,!0);break;case"yy":An=Wn(0,2,0,!0,!0);break;case"yyy":An=Wn(0,3,0,!1,!0);break;case"yyyy":An=Wn(0,4,0,!1,!0);break;case"Y":An=ai(1);break;case"YY":An=ai(2,!0);break;case"YYY":An=ai(3);break;case"YYYY":An=ai(4);break;case"M":case"L":An=Wn(1,1,1);break;case"MM":case"LL":An=Wn(1,2,1);break;case"MMM":An=Bn(2,Mt.Abbreviated);break;case"MMMM":An=Bn(2,Mt.Wide);break;case"MMMMM":An=Bn(2,Mt.Narrow);break;case"LLL":An=Bn(2,Mt.Abbreviated,He.Standalone);break;case"LLLL":An=Bn(2,Mt.Wide,He.Standalone);break;case"LLLLL":An=Bn(2,Mt.Narrow,He.Standalone);break;case"w":An=di(1);break;case"ww":An=di(2);break;case"W":An=di(1,!0);break;case"d":An=Wn(2,1);break;case"dd":An=Wn(2,2);break;case"c":case"cc":An=Wn(7,1);break;case"ccc":An=Bn(1,Mt.Abbreviated,He.Standalone);break;case"cccc":An=Bn(1,Mt.Wide,He.Standalone);break;case"ccccc":An=Bn(1,Mt.Narrow,He.Standalone);break;case"cccccc":An=Bn(1,Mt.Short,He.Standalone);break;case"E":case"EE":case"EEE":An=Bn(1,Mt.Abbreviated);break;case"EEEE":An=Bn(1,Mt.Wide);break;case"EEEEE":An=Bn(1,Mt.Narrow);break;case"EEEEEE":An=Bn(1,Mt.Short);break;case"a":case"aa":case"aaa":An=Bn(0,Mt.Abbreviated);break;case"aaaa":An=Bn(0,Mt.Wide);break;case"aaaaa":An=Bn(0,Mt.Narrow);break;case"b":case"bb":case"bbb":An=Bn(0,Mt.Abbreviated,He.Standalone,!0);break;case"bbbb":An=Bn(0,Mt.Wide,He.Standalone,!0);break;case"bbbbb":An=Bn(0,Mt.Narrow,He.Standalone,!0);break;case"B":case"BB":case"BBB":An=Bn(0,Mt.Abbreviated,He.Format,!0);break;case"BBBB":An=Bn(0,Mt.Wide,He.Format,!0);break;case"BBBBB":An=Bn(0,Mt.Narrow,He.Format,!0);break;case"h":An=Wn(3,1,-12);break;case"hh":An=Wn(3,2,-12);break;case"H":An=Wn(3,1);break;case"HH":An=Wn(3,2);break;case"m":An=Wn(4,1);break;case"mm":An=Wn(4,2);break;case"s":An=Wn(5,1);break;case"ss":An=Wn(5,2);break;case"S":An=Wn(6,1);break;case"SS":An=Wn(6,2);break;case"SSS":An=Wn(6,3);break;case"Z":case"ZZ":case"ZZZ":An=dn(0);break;case"ZZZZZ":An=dn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":An=dn(1);break;case"OOOO":case"ZZZZ":case"zzzz":An=dn(2);break;default:return null}return pi[Dt]=An,An}(Fn);Mn+=Vn?Vn(dt,Lt,Es):"''"===Fn?"'":Fn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Mn}function Ot(Dt,An,Lt){const sn=new Date(0);return sn.setFullYear(Dt,An,Lt),sn.setHours(0,0,0),sn}function Me(Dt,An){const Lt=function ze(Dt){return(0,T.kBR)(Dt)[T.NSC.LocaleId]}(Dt);if(je[Lt]??={},je[Lt][An])return je[Lt][An];let sn="";switch(An){case"shortDate":sn=$e(Dt,Ge.Short);break;case"mediumDate":sn=$e(Dt,Ge.Medium);break;case"longDate":sn=$e(Dt,Ge.Long);break;case"fullDate":sn=$e(Dt,Ge.Full);break;case"shortTime":sn=lt(Dt,Ge.Short);break;case"mediumTime":sn=lt(Dt,Ge.Medium);break;case"longTime":sn=lt(Dt,Ge.Long);break;case"fullTime":sn=lt(Dt,Ge.Full);break;case"short":const dt=Me(Dt,"shortTime"),qi=Me(Dt,"shortDate");sn=It(q(Dt,Ge.Short),[dt,qi]);break;case"medium":const br=Me(Dt,"mediumTime"),$i=Me(Dt,"mediumDate");sn=It(q(Dt,Ge.Medium),[br,$i]);break;case"long":const Es=Me(Dt,"longTime"),Mn=Me(Dt,"longDate");sn=It(q(Dt,Ge.Long),[Es,Mn]);break;case"full":const Fn=Me(Dt,"fullTime"),Vn=Me(Dt,"fullDate");sn=It(q(Dt,Ge.Full),[Fn,Vn])}return sn&&(je[Lt][An]=sn),sn}function It(Dt,An){return An&&(Dt=Dt.replace(/\{([^}]+)}/g,function(Lt,sn){return null!=An&&sn in An?An[sn]:Lt})),Dt}function Zt(Dt,An,Lt="-",sn,dt){let qi="";(Dt<0||dt&&Dt<=0)&&(dt?Dt=1-Dt:(Dt=-Dt,qi=Lt));let br=String(Dt);for(;br.length<An;)br="0"+br;return sn&&(br=br.slice(br.length-An)),qi+br}function Wn(Dt,An,Lt=0,sn=!1,dt=!1){return function(qi,br){let $i=function mr(Dt,An){switch(Dt){case 0:return An.getFullYear();case 1:return An.getMonth();case 2:return An.getDate();case 3:return An.getHours();case 4:return An.getMinutes();case 5:return An.getSeconds();case 6:return An.getMilliseconds();case 7:return An.getDay();default:throw new v.buA(2301,!1)}}(Dt,qi);if((Lt>0||$i>-Lt)&&($i+=Lt),3===Dt)0===$i&&-12===Lt&&($i=12);else if(6===Dt)return function ti(Dt,An){return Zt(Dt,3).substring(0,An)}($i,An);const Es=de(br,5);return Zt($i,An,Es,sn,dt)}}function Bn(Dt,An,Lt=He.Format,sn=!1){return function(dt,qi){return function Oi(Dt,An,Lt,sn,dt,qi){switch(Lt){case 2:return function ue(Dt,An,Lt){const sn=(0,T.kBR)(Dt),qi=Te([sn[T.NSC.MonthsFormat],sn[T.NSC.MonthsStandalone]],An);return Te(qi,Lt)}(An,dt,sn)[Dt.getMonth()];case 1:return function ge(Dt,An,Lt){const sn=(0,T.kBR)(Dt),qi=Te([sn[T.NSC.DaysFormat],sn[T.NSC.DaysStandalone]],An);return Te(qi,Lt)}(An,dt,sn)[Dt.getDay()];case 0:const br=Dt.getHours(),$i=Dt.getMinutes();if(qi){const Mn=function cn(Dt){const An=(0,T.kBR)(Dt);return nt(An),(An[T.NSC.ExtraData][2]||[]).map(sn=>"string"==typeof sn?Pe(sn):[Pe(sn[0]),Pe(sn[1])])}(An),Fn=function hn(Dt,An,Lt){const sn=(0,T.kBR)(Dt);nt(sn);const qi=Te([sn[T.NSC.ExtraData][0],sn[T.NSC.ExtraData][1]],An)||[];return Te(qi,Lt)||[]}(An,dt,sn),Vn=Mn.findIndex(Ii=>
1{if(Array.isArray(Ii)){const[Ui,Rr]=Ii,fs=br>=Ui.hours&&$i>=Ui.minutes,Rs=br<Rr.hours||br===Rr.hours&&$i<Rr.minutes;if(Ui.hours<Rr.hours){if(fs&&Rs)return!0}else if(fs||Rs)return!0}else if(Ii.hours===br&&Ii.minutes===$i)return!0;return!1});if(-1!==Vn)return Fn[Vn]}return function Le(Dt,An,Lt){const sn=(0,T.kBR)(Dt),qi=Te([sn[T.NSC.DayPeriodsFormat],sn[T.NSC.DayPeriodsStandalone]],An);return Te(qi,Lt)}(An,dt,sn)[br<12?0:1];case 3:return function kt(Dt,An){return Te((0,T.kBR)(Dt)[T.NSC.Eras],An)}(An,sn)[Dt.getFullYear()<=0?0:1];default:throw new v.buA(2302,!1)}}(dt,qi,Dt,An,Lt,sn)}}function dn(Dt){return function(An,Lt,sn){const dt=-1*sn,qi=de(Lt,5),br=dt>0?Math.floor(dt/60):Math.ceil(dt/60);switch(Dt){case 0:return(dt>=0?"+":"")+Zt(br,2,qi)+Zt(Math.abs(dt%60),2,qi);case 1:return"GMT"+(dt>=0?"+":"")+Zt(br,1,qi);case 2:return"GMT"+(dt>=0?"+":"")+Zt(br,2,qi)+":"+Zt(Math.abs(dt%60),2,qi);case 3:return 0===sn?"Z":(dt>=0?"+":"")+Zt(br,2,qi)+":"+Zt(Math.abs(dt%60),2,qi);default:throw new v.buA(2310,!1)}}}function Qn(Dt){const An=Dt.getDay(),Lt=0===An?-3:4-An;return Ot(Dt.getFullYear(),Dt.getMonth(),Dt.getDate()+Lt)}function di(Dt,An=!1){return function(Lt,sn){let dt;if(An){const qi=new Date(Lt.getFullYear(),Lt.getMonth(),1).getDay()-1,br=Lt.getDate();dt=1+Math.floor((br+qi)/7)}else{const qi=Qn(Lt),br=function _(Dt){const An=Ot(Dt,0,1).getDay();return Ot(Dt,0,1+(An<=4?4:11)-An)}(qi.getFullYear()),$i=qi.getTime()-br.getTime();dt=1+Math.round($i/6048e5)}return Zt(dt,Dt,de(sn,5))}}function ai(Dt,An=!1){return function(Lt,sn){return Zt(Qn(Lt).getFullYear(),Dt,de(sn,5),An)}}const pi={};function ii(Dt,An){Dt=Dt.replace(/:/g,"");const Lt=Date.parse("Jan 01, 1970 00:00:00 "+Dt)/6e4;return isNaN(Lt)?An:Lt}function fr(Dt){return Dt instanceof Date&&!isNaN(Dt.valueOf())}const Vt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function we(Dt,An,Lt,sn,dt){const br=function j(Dt,An="-"){const Lt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},sn=Dt.split(";"),dt=sn[0],qi=sn[1],br=-1!==dt.indexOf(".")?dt.split("."):[dt.substring(0,dt.lastIndexOf("0")+1),dt.substring(dt.lastIndexOf("0")+1)],$i=br[0],Es=br[1]||"";Lt.posPre=$i.substring(0,$i.indexOf("#"));for(let Fn=0;Fn<Es.length;Fn++){const Vn=Es.charAt(Fn);"0"===Vn?Lt.minFrac=Lt.maxFrac=Fn+1:"#"===Vn?Lt.maxFrac=Fn+1:Lt.posSuf+=Vn}const Mn=$i.split(",");if(Lt.gSize=Mn[1]?Mn[1].length:0,Lt.lgSize=Mn[2]||Mn[1]?(Mn[2]||Mn[1]).length:0,qi){const Fn=dt.length-Lt.posPre.length-Lt.posSuf.length,Vn=qi.indexOf("#");Lt.negPre=qi.substring(0,Vn).replace(/'/g,""),Lt.negSuf=qi.slice(Vn+Fn).replace(/'/g,"")}else Lt.negPre=An+Lt.posPre,Lt.negSuf=Lt.posSuf;return Lt}(function ae(Dt,An){return(0,T.kBR)(Dt)[T.NSC.NumberFormats][An]}(An,x.Currency),de(An,5));return br.minFrac=function Ie(Dt){let An;const Lt=B[Dt];return Lt&&(An=Lt[2]),"number"==typeof An?An:2}(sn),br.maxFrac=br.minFrac,function fe(Dt,An,Lt,sn,dt,qi,br=!1){let $i="",Es=!1;if(isFinite(Dt)){let Mn=function qe(Dt){let sn,dt,qi,br,$i,An=Math.abs(Dt)+"",Lt=0;for((dt=An.indexOf("."))>-1&&(An=An.replace(".","")),(qi=An.search(/e/i))>
10?(dt<0&&(dt=qi),dt+=+An.slice(qi+1),An=An.substring(0,qi)):dt<0&&(dt=An.length),qi=0;"0"===An.charAt(qi);qi++);if(qi===($i=An.length))sn=[0],dt=1;else{for($i--;"0"===An.charAt($i);)$i--;for(dt-=qi,sn=[],br=0;qi<=$i;qi++,br++)sn[br]=Number(An.charAt(qi))}return dt>22&&(sn=sn.splice(0,21),Lt=dt-1,dt=1),{digits:sn,exponent:Lt,integerLen:dt}}(Dt);br&&(Mn=function X(Dt){if(0===Dt.digits[0])return Dt;const An=Dt.digits.length-Dt.integerLen;return Dt.exponent?Dt.exponent+=2:(0===An?Dt.digits.push(0,0):1===An&&Dt.digits.push(0),Dt.integerLen+=2),Dt}(Mn));let Fn=An.minInt,Vn=An.minFrac,Ii=An.maxFrac;if(qi){const ds=qi.match(Vt);if(null===ds)throw new v.buA(2306,!1);const Jo=ds[1],Zo=ds[3],As=ds[5];null!=Jo&&(Fn=On(Jo)),null!=Zo&&(Vn=On(Zo)),null!=As?Ii=On(As):null!=Zo&&Vn>Ii&&(Ii=Vn)}!function Yt(Dt,An,Lt){if(An>Lt)throw new v.buA(2307,!1);let sn=Dt.digits,dt=sn.length-Dt.integerLen;const qi=Math.min(Math.max(An,dt),Lt);let br=qi+Dt.integerLen,$i=sn[br];if(br>0){sn.splice(Math.max(Dt.integerLen,br));for(let Vn=br;Vn<sn.length;Vn++)sn[Vn]=0}else{dt=Math.max(0,dt),Dt.integerLen=1,sn.length=Math.max(1,br=qi+1),sn[0]=0;for(let Vn=1;Vn<br;Vn++)sn[Vn]=0}if($i>=5)if(br-1<0){for(let Vn=0;Vn>br;Vn--)sn.unshift(0),Dt.integerLen++;sn.unshift(1),Dt.integerLen++}else sn[br-1]++;for(;dt<Math.max(0,qi);dt++)sn.push(0);let Es=0!==qi;const Mn=An+Dt.integerLen,Fn=sn.reduceRight(function(Vn,Ii,Ui,Rr){return Rr[Ui]=(Ii+=Vn)<10?Ii:Ii-10,Es&&(0===Rr[Ui]&&Ui>=Mn?Rr.pop():Es=!1),Ii>=10?1:0},0);Fn&&(sn.unshift(Fn),Dt.integerLen++)}(Mn,Vn,Ii);let Ui=Mn.digits,Rr=Mn.integerLen;const fs=Mn.exponent;let Rs=[];for(Es=Ui.every(ds=>!ds);Rr<Fn;Rr++)Ui.unshift(0);for(;Rr<0;Rr++)Ui.unshift(0);Rr>0?Rs=Ui.splice(Rr,Ui.length):(Rs=Ui,Ui=[0]);const ls=[];for(Ui.length>=An.lgSize&&ls.unshift(Ui.splice(-An.lgSize,Ui.length).join(""));Ui.length>An.gSize;)ls.unshift(Ui.splice(-An.gSize,Ui.length).join(""));Ui.length&&ls.unshift(Ui.join("")),$i=ls.join(de(Lt,sn)),Rs.length&&($i+=de(Lt,dt)+Rs.join("")),fs&&($i+=de(Lt,6)+"+"+fs)}else $i=de(Lt,9);return $i=Dt<0&&!Es?An.negPre+$i+An.negSuf:An.posPre+$i+An.posSuf,$i}(Dt,br,An,13,12,dt).replace("\xa4",Lt).replace("\xa4","").trim()}function On(Dt){const An=parseInt(Dt);if(isNaN(An))throw new v.buA(2305,!1);return An}const Er=/\s+/,_n=[];let an=(()=>{class Dt{_ngEl;_renderer;initialClasses=_n;rawClass;stateMap=new Map;constructor(Lt,sn){this._ngEl=Lt,this._renderer=sn}set klass(Lt){this.initialClasses=null!=Lt?Lt.trim().split(Er):_n}set ngClass(Lt){this.rawClass="string"==typeof Lt?Lt.trim().split(Er):Lt}ngDoCheck(){for(const sn of this.initialClasses)this._updateState(sn,!0);const Lt=this.rawClass;if(Array.isArray(Lt)||Lt instanceof Set)for(const sn of Lt)this._updateState(sn,!0);else if(null!=Lt)for(const sn of Object.keys(Lt))this._updateState(sn,!!Lt[sn]);this._applyStateDiff()}_updateState(Lt,sn){const dt=this.stateMap.get(Lt);void 0!==dt?(dt.enabled!==sn&&(dt.changed=!0,dt.enabled=sn),dt.touched=!0):this.stateMap.set(Lt,{enabled:sn,changed:!0,touched:!0})}_applyStateDiff(){for(const Lt of this.stateMap){const sn=Lt[0],dt=Lt[1];dt.changed?(this._toggleClass(sn,dt.enabled),dt.changed=!1):dt.touched||(dt.enabled&&this._toggleClass(sn,!1),this.stateMap.delete(sn)),dt.touched=!1}}_toggleClass(Lt,sn){(Lt=Lt.trim()).length>0&&Lt.split(Er).forEach(dt=>{sn?this._renderer.addClass(this._ngEl.nativeElement,dt):this._renderer.removeClass(this._ngEl.nativeElement,dt)})}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.aKT),T.rXU(T.sFG))};static \u0275dir=T.FsC({type:Dt,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return Dt})();class De{$implicit;ngForOf;index;count;constructor(An,Lt,sn,dt){this.$implicit=An,this.ngForOf=Lt,this.index=sn,this.count=dt}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 _t=(()=>{class Dt{_viewContainer;_template;_differs;set ngForOf(Lt){this._ngForOf=Lt,this._ngForOfDirty=!0}set ngForTrackBy(Lt){this._trackByFn=Lt}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(Lt,sn,dt){this._viewContainer=Lt,this._template=sn,this._differs=dt}set ngForTemplate(Lt){Lt&&(this._template=Lt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Lt=this._ngForOf;!this._differ&&Lt&&(this._differ=this._differs.find(Lt).create(this.ngForTrackBy))}if(this._differ){const Lt=this._differ.diff(this._ngForOf);Lt&&this._applyChanges(Lt)}}_applyChanges(Lt){const sn=this._viewContainer;Lt.forEachOperation((dt,qi,br)=>{if(null==dt.previousIndex)sn.createEmbeddedView(this._template,new De(dt.item,this._ngForOf,-1,-1),null===br?void 0:br);else if(null==br)sn.remove(null===qi?void 0:qi);else if(null!==qi){const $i=sn.get(qi);sn.move($i,br),et($i,dt)}});for(let dt=0,qi=sn.length;dt<qi;dt++){const $i=sn.get(dt).context;$i.index=dt,$i.count=qi,$i.ngForOf=this._ngForOf}Lt.forEachIdentityChange(dt=>{et(sn.get(dt.currentIndex),dt)})}static ngTemplateContextGuard(Lt,sn){return!0}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.c1b),T.rXU(T.C4Q),T.rXU(y._q3))};static \u0275dir=T.FsC({type:Dt,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return Dt})();
1function et(Dt,An){Dt.context.$implicit=An.item}let Zn=(()=>{class Dt{_viewContainer;_context=new gt;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(Lt,sn){this._viewContainer=Lt,this._thenTemplateRef=sn}set ngIf(Lt){this._context.$implicit=this._context.ngIf=Lt,this._updateView()}set ngIfThen(Lt){zn(Lt),this._thenTemplateRef=Lt,this._thenViewRef=null,this._updateView()}set ngIfElse(Lt){zn(Lt),this._elseTemplateRef=Lt,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(Lt,sn){return!0}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.c1b),T.rXU(T.C4Q))};static \u0275dir=T.FsC({type:Dt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return Dt})();class gt{$implicit=null;ngIf=null}
1function zn(Dt,An){if(Dt&&!Dt.createEmbeddedView)throw new v.buA(2020,!1)}let wn=(()=>{class Dt{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Lt,sn,dt){this._ngEl=Lt,this._differs=sn,this._renderer=dt}set ngStyle(Lt){this._ngStyle=Lt,!this._differ&&Lt&&(this._differ=this._differs.find(Lt).create())}ngDoCheck(){if(this._differ){const Lt=this._differ.diff(this._ngStyle);Lt&&this._applyChanges(Lt)}}_setStyle(Lt,sn){const[dt,qi]=Lt.split("."),br=-1===dt.indexOf("-")?void 0:T.czy.DashCase;null!=sn?this._renderer.setStyle(this._ngEl.nativeElement,dt,qi?`${sn}${qi}`:sn,br):this._renderer.removeStyle(this._ngEl.nativeElement,dt,br)}_applyChanges(Lt){Lt.forEachRemovedItem(sn=>this._setStyle(sn.key,null)),Lt.forEachAddedItem(sn=>this._setStyle(sn.key,sn.currentValue)),Lt.forEachChangedItem(sn=>this._setStyle(sn.key,sn.currentValue))}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.aKT),T.rXU(y.MKu),T.rXU(T.sFG))};static \u0275dir=T.FsC({type:Dt,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return Dt})(),In=(()=>{class Dt{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(Lt){this._viewContainerRef=Lt}ngOnChanges(Lt){if(this._shouldRecreateView(Lt)){const sn=this._viewContainerRef;if(this._viewRef&&sn.remove(sn.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const dt=this._createContextForwardProxy();this._viewRef=sn.createEmbeddedView(this.ngTemplateOutlet,dt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Lt){return!!Lt.ngTemplateOutlet||!!Lt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Lt,sn,dt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,sn,dt),get:(Lt,sn,dt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,sn,dt)}})}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.c1b))};static \u0275dir=T.FsC({type:Dt,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[T.OA$]})}return Dt})();function Ai(Dt,An){return new v.buA(2100,!1)}class ki{createSubscription(An,Lt,sn){return(0,M.O8)(()=>An.subscribe({next:Lt,error:sn}))}dispose(An){(0,M.O8)(()=>An.unsubscribe())}}class _r{createSubscription(An,Lt,sn){return An.then(dt=>Lt?.(dt),dt=>sn?.(dt)),{unsubscribe:()=>{Lt=null,sn=null}}}dispose(An){An.unsubscribe()}}const Cr=new _r,Hr=new ki;let $r=(()=>{class Dt{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,v.WQX)(v.ZTf);constructor(Lt){this._ref=Lt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Lt){if(!this._obj){if(Lt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Lt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Lt!==this._obj?(this._dispose(),this.transform(Lt)):this._latestValue}_subscribe(Lt){this._obj=Lt,this._strategy=this._selectStrategy(Lt),this._subscription=this._strategy.createSubscription(Lt,sn=>this._updateLatestValue(Lt,sn),sn=>this.applicationErrorHandler(sn))}_selectStrategy(Lt){if((0,T.yLl)(Lt))return Cr;if((0,T.cdK)(Lt))return Hr;throw Ai()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Lt,sn){Lt===this._obj&&(this._latestValue=sn,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(y.gRc,16))};static \u0275pipe=T.EJ8({name:"async",type:Dt,pure:!1})}return Dt})();const Ks=new v.nKC(""),as=new v.nKC("");let Pn=(()=>{class Dt{locale;defaultTimezone;defaultOptions;constructor(Lt,sn,dt){this.locale=Lt,this.defaultTimezone=sn,this.defaultOptions=dt}transform(Lt,sn,dt,qi){if(null==Lt||""===Lt||Lt!=Lt)return null;try{return Ze(Lt,sn??this.defaultOptions?.dateFormat??"mediumDate",qi||this.locale,dt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(br){throw Ai()}}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.xe9,16),T.rXU(Ks,24),T.rXU(as,24))};static \u0275pipe=T.EJ8({name:"date",type:Dt,pure:!0})}return Dt})(),Ri=(()=>{class Dt{transform(Lt){return JSON.stringify(Lt,null,2)}static \u0275fac=function(sn){return new(sn||Dt)};static \u0275pipe=T.EJ8({name:"json",type:Dt,pure:!1})}return Dt})(),Yr=(()=>{class Dt{_locale;_defaultCurrencyCode;constructor(Lt,sn="USD"){this._locale=Lt,this._defaultCurrencyCode=sn}transform(Lt,sn=this._defaultCurrencyCode,dt="symbol",qi,br){if(!function oo(Dt){return!(null==Dt||""===Dt||Dt!=Dt)}(Lt))return null;br||=this._locale,"boolean"==typeof dt&&(dt=dt?"symbol":"code");let $i=sn||this._defaultCurrencyCode;"code"!==dt&&($i="symbol"===dt||"symbol-narrow"===dt?function yt(Dt,An,Lt="en"){const sn=function at(Dt){return(0,T.kBR)(Dt)[T.NSC.Currencies]}(Lt)[Dt]||B[Dt]||[],dt=sn[1];return"narrow"===An&&"string"==typeof dt?dt:sn[0]||Dt}($i,"symbol"===dt?"wide":"narrow",br):dt);try{return we(function to(Dt){if("string"==typeof Dt&&!isNaN(Number(Dt)-parseFloat(Dt)))return Number(Dt);if("number"!=typeof Dt)throw new v.buA(2309,!1);return Dt}(Lt),br,$i,sn,qi)}catch(Es){throw Ai()}}static \u0275fac=function(sn){return new(sn||Dt)(T.rXU(T.xe9,16),T.rXU(T.Ocv,16))};static \u0275pipe=T.EJ8({name:"currency",type:Dt,pure:!0})}return Dt})();let ia=(()=>{class Dt{static \u0275fac=function(sn){return new(sn||Dt)};static \u0275mod=T.$C({type:Dt});static \u0275inj=v.G2t({})}return Dt})()},7303(tn,Ye,d){"use strict";d.d(Ye,{Q:()=>ye,Sm:()=>Ge,Vw:()=>M,aZ:()=>Qe,hb:()=>He,hj:()=>k,ig:()=>v,kB:()=>Mt,om:()=>B,qj:()=>T,rb:()=>y});var o=d(2615),s=d(1413);let h=null;function y(){return h}function v(ue){h??=ue}class T{}let M=(()=>{class ue{historyGo(Je){throw new Error("")}static \u0275fac=function(Ke){return new(Ke||ue)};static \u0275prov=o.jDH({token:ue,factory:()=>(0,o.WQX)(H),providedIn:"platform"})}return ue})();const k=new o.nKC("");let H=(()=>{class ue extends M{_location;_history;_doc=(0,o.WQX)(o.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(Je){const Ke=y().getGlobalEventTarget(this._doc,"window");return Ke.addEventListener("popstate",Je,!1),()=>Ke.removeEventListener("popstate",Je)}onHashChange(Je){const Ke=y().getGlobalEventTarget(this._doc,"window");return Ke.addEventListener("hashchange",Je,!1),()=>Ke.removeEventListener("hashchange",Je)}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(Je){this._location.pathname=Je}pushState(Je,Ke,$e){this._history.pushState(Je,Ke,$e)}replaceState(Je,Ke,$e){this._history.replaceState(Je,Ke,$e)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Je=0){this._history.go(Je)}getState(){return this._history.state}static \u0275fac=function(Ke){return new(Ke||ue)};static \u0275prov=o.jDH({token:ue,factory:()=>new ue,providedIn:"platform"})}return ue})();
1function B(ue,kt){return ue?kt?ue.endsWith("/")?kt.startsWith("/")?ue+kt.slice(1):ue+kt:kt.startsWith("/")?ue+kt:`${ue}/${kt}`:ue:kt}function x(ue){const kt=ue.search(/#|\?|$/);return"/"===ue[kt-1]?ue.slice(0,kt-1)+ue.slice(kt):ue}function ye(ue){return ue&&"?"!==ue[0]?`?${ue}`:ue}let He=(()=>{class ue{historyGo(Je){throw new Error("")}static \u0275fac=function(Ke){return new(Ke||ue)};static \u0275prov=o.jDH({token:ue,factory:()=>(0,o.WQX)(Ge),providedIn:"root"})}return ue})();const Mt=new o.nKC("");let Ge=(()=>{class ue extends He{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Je,Ke){super(),this._platformLocation=Je,this._baseHref=Ke??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(o.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Je){this._removeListenerFns.push(this._platformLocation.onPopState(Je),this._platformLocation.onHashChange(Je))}getBaseHref(){return this._baseHref}prepareExternalUrl(Je){return B(this._baseHref,Je)}path(Je=!1){const Ke=this._platformLocation.pathname+ye(this._platformLocation.search),$e=this._platformLocation.hash;return $e&&Je?`${Ke}${$e}`:Ke}pushState(Je,Ke,$e,lt){const q=this.prepareExternalUrl($e+ye(lt));this._platformLocation.pushState(Je,Ke,q)}replaceState(Je,Ke,$e,lt){const q=this.prepareExternalUrl($e+ye(lt));this._platformLocation.replaceState(Je,Ke,q)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Je=0){this._platformLocation.historyGo?.(Je)}static \u0275fac=function(Ke){return new(Ke||ue)(o.KVO(M),o.KVO(Mt,8))};static \u0275prov=o.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})(),Qe=(()=>{class ue{_subject=new s.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Je){this._locationStrategy=Je;const Ke=this._locationStrategy.getBaseHref();this._basePath=function ge(ue){if(new RegExp("^(https?:)?//").test(ue)){const[,Je]=ue.split(/\/\/[^\/]+/);return Je}return ue}(x(Le(Ke))),this._locationStrategy.onPopState($e=>{this._subject.next({url:this.path(!0),pop:!0,state:$e.state,type:$e.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Je=!1){return this.normalize(this._locationStrategy.path(Je))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Je,Ke=""){return this.path()==this.normalize(Je+ye(Ke))}normalize(Je){return ue.stripTrailingSlash(function ze(ue,kt){if(!ue||!kt.startsWith(ue))return kt;const Je=kt.substring(ue.length);return""===Je||["/",";","?","#"].includes(Je[0])?Je:kt}(this._basePath,Le(Je)))}prepareExternalUrl(Je){return Je&&"/"!==Je[0]&&(Je="/"+Je),this._locationStrategy.prepareExternalUrl(Je)}go(Je,Ke="",$e=null){this._locationStrategy.pushState($e,"",Je,Ke),this._notifyUrlChangeListeners(this.prepareExternalUrl(Je+ye(Ke)),$e)}replaceState(Je,Ke="",$e=null){this._locationStrategy.replaceState($e,"",Je,Ke),this._notifyUrlChangeListeners(this.prepareExternalUrl(Je+ye(Ke)),$e)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Je=0){this._locationStrategy.historyGo?.(Je)}onUrlChange(Je){return this._urlChangeListeners.push(Je),this._urlChangeSubscription??=this.subscribe(Ke=>{this._notifyUrlChangeListeners(Ke.url,Ke.state)}),()=>{const Ke=this._urlChangeListeners.indexOf(Je);this._urlChangeListeners.splice(Ke,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Je="",Ke){this._urlChangeListeners.forEach($e=>$e(Je,Ke))}subscribe(Je,Ke,$e){return this._subject.subscribe({next:Je,error:Ke??void 0,complete:$e??void 0})}static normalizeQueryParams=ye;static joinWithSlash=B;static stripTrailingSlash=x;static \u0275fac=function(Ke){return new(Ke||ue)(o.KVO(He))};static \u0275prov=o.jDH({token:ue,factory:()=>function Xe(){return new Qe((0,o.KVO)(He))}(),providedIn:"root"})}return ue})();function Le(ue){return ue.replace(/\/index.html$/,"")}},9330(tn,Ye,d){"use strict";d.d(Ye,{$R:()=>_t,JV:()=>ge,Lr:()=>ue,Nl:()=>ae,Qq:()=>ti,Sx:()=>Zn}),d(467);var k=d(2615),B=(d(3664),d(274)),x=d(5964),ye=d(980),He=d(6354),Mt=d(5558),Ge=d(1985),Xe=(d(8455),d(7673)),ze=d(2512);class Le{}class ge{}class ue{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(wn){wn?"string"==typeof wn?this.lazyInit=()=>{this.headers=new Map,wn.split("\n").forEach(In=>{const Di=In.indexOf(":");if(Di>0){const Ai=In.slice(0,Di),ki=In.slice(Di+1).trim();this.addHeaderEntry(Ai,ki)}})}:typeof Headers<"u"&&wn instanceof Headers?(this.headers=new Map,wn.forEach((In,Di)=>{this.addHeaderEntry(Di,In)})):this.lazyInit=()=>
vendor: 4,287 bytes, line 1
1{this.headers=new Map,Object.entries(wn).forEach(([In,Di])=>{this.setHeaderEntries(In,Di)})}:this.headers=new Map}has(wn){return this.init(),this.headers.has(wn.toLowerCase())}get(wn){this.init();const In=this.headers.get(wn.toLowerCase());return In&&In.length>0?In[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(wn){return this.init(),this.headers.get(wn.toLowerCase())||null}append(wn,In){return this.clone({name:wn,value:In,op:"a"})}set(wn,In){return this.clone({name:wn,value:In,op:"s"})}delete(wn,In){return this.clone({name:wn,value:In,op:"d"})}maybeSetNormalizedName(wn,In){this.normalizedNames.has(In)||this.normalizedNames.set(In,wn)}init(){this.lazyInit&&(this.lazyInit instanceof ue?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(wn=>this.applyUpdate(wn)),this.lazyUpdate=null))}copyFrom(wn){wn.init(),Array.from(wn.headers.keys()).forEach(In=>{this.headers.set(In,wn.headers.get(In)),this.normalizedNames.set(In,wn.normalizedNames.get(In))})}clone(wn){const In=new ue;return In.lazyInit=this.lazyInit&&this.lazyInit instanceof ue?this.lazyInit:this,In.lazyUpdate=(this.lazyUpdate||[]).concat([wn]),In}applyUpdate(wn){const In=wn.name.toLowerCase();switch(wn.op){case"a":case"s":let Di=wn.value;if("string"==typeof Di&&(Di=[Di]),0===Di.length)return;this.maybeSetNormalizedName(wn.name,In);const Ai=("a"===wn.op?this.headers.get(In):void 0)||[];Ai.push(...Di),this.headers.set(In,Ai);break;case"d":const ki=wn.value;if(ki){let _r=this.headers.get(In);if(!_r)return;_r=_r.filter(Cr=>-1===ki.indexOf(Cr)),0===_r.length?(this.headers.delete(In),this.normalizedNames.delete(In)):this.headers.set(In,_r)}else this.headers.delete(In),this.normalizedNames.delete(In)}}addHeaderEntry(wn,In){const Di=wn.toLowerCase();this.maybeSetNormalizedName(wn,Di),this.headers.has(Di)?this.headers.get(Di).push(In):this.headers.set(Di,[In])}setHeaderEntries(wn,In){const Di=(Array.isArray(In)?In:[In]).map(ki=>ki.toString()),Ai=wn.toLowerCase();this.headers.set(Ai,Di),this.maybeSetNormalizedName(wn,Ai)}forEach(wn){this.init(),Array.from(this.normalizedNames.keys()).forEach(In=>wn(this.normalizedNames.get(In),this.headers.get(In)))}}class Je{encodeKey(wn){return q(wn)}encodeValue(wn){return q(wn)}decodeKey(wn){return decodeURIComponent(wn)}decodeValue(wn){return decodeURIComponent(wn)}}const $e=/%(\d[a-f0-9])/gi,lt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function q($t){return encodeURIComponent($t).replace($e,(wn,In)=>lt[In]??wn)}function de($t){return`${$t}`}class ae{map;encoder;updates=null;cloneFrom=null;constructor(wn={}){if(this.encoder=wn.encoder||new Je,wn.fromString){if(wn.fromObject)throw new k.buA(2805,!1);this.map=function Ke($t,wn){const In=new Map;return $t.length>0&&$t.replace(/^\?/,"").split("&").forEach(Ai=>{const ki=Ai.indexOf("="),[_r,Cr]=-1==ki?[wn.decodeKey(Ai),""]:[wn.decodeKey(Ai.slice(0,ki)),wn.decodeValue(Ai.slice(ki+1))],Hr=In.get(_r)||[];Hr.push(Cr),In.set(_r,Hr)}),In}(wn.fromString,this.encoder)}else wn.fromObject?(this.map=new Map,Object.keys(wn.fromObject).forEach(In=>{const Di=wn.fromObject[In],Ai=Array.isArray(Di)?Di.map(de):[de(Di)];this.map.set(In,Ai)})):this.map=null}has(wn){return this.init(),this.map.has(wn)}get(wn){this.init();const In=this.map.get(wn);return In?In[0]:null}getAll(wn){return this.init(),this.map.get(wn)||null}keys(){return this.init(),Array.from(this.map.keys())}append(wn,In){return this.clone({param:wn,value:In,op:"a"})}appendAll(wn){const In=[];return Object.keys(wn).forEach(Di=>{const Ai=wn[Di];Array.isArray(Ai)?Ai.forEach(ki=>{In.push({param:Di,value:ki,op:"a"})}):In.push({param:Di,value:Ai,op:"a"})}),this.clone(In)}set(wn,In){return this.clone({param:wn,value:In,op:"s"})}delete(wn,In){return this.clone({param:wn,value:In,op:"d"})}toString(){return this.init(),this.keys().map(wn=>{const In=this.encoder.encodeKey(wn);return this.map.get(wn).map(Di=>In+"="+this.encoder.encodeValue(Di)).join("&")}).filter(wn=>""!==wn).join("&")}clone(wn){const In=new ae({encoder:this.encoder});return In.cloneFrom=this.cloneFrom||this,In.updates=(this.updates||[]).concat(wn),In}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEac
1h(wn=>this.map.set(wn,this.cloneFrom.map.get(wn))),this.updates.forEach(wn=>{switch(wn.op){case"a":case"s":const In=("a"===wn.op?this.map.get(wn.param):void 0)||[];In.push(de(wn.value)),this.map.set(wn.param,In);break;case"d":if(void 0===wn.value){this.map.delete(wn.param);break}{let Di=this.map.get(wn.param)||[];const Ai=Di.indexOf(de(wn.value));-1!==Ai&&Di.splice(Ai,1),Di.length>0?this.map.set(wn.param,Di):this.map.delete(wn.param)}}}),this.cloneFrom=this.updates=null)}}class Ne{map=new Map;set(wn,In){return this.map.set(wn,In),this}get(wn){return this.map.has(wn)||this.map.set(wn,wn.defaultValue()),this.map.get(wn)}delete(wn){return this.map.delete(wn),this}has(wn){return this.map.has(wn)}keys(){return this.map.keys()}}function at($t){return typeof ArrayBuffer<"u"&&$t instanceof ArrayBuffer}function Ut($t){return typeof Blob<"u"&&$t instanceof Blob}function nt($t){return typeof FormData<"u"&&$t instanceof FormData}const hn="Content-Type",Te="X-Request-URL",Pe="text/plain",yt="application/json",wt=`${yt}, ${Pe}, */*`;class Ie{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(wn,In,Di,Ai){let ki;if(this.url=In,this.method=wn.toUpperCase(),function ve($t){switch($t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ai?(this.body=void 0!==Di?Di:null,ki=Ai):ki=Di,ki){if(this.reportProgress=!!ki.reportProgress,this.withCredentials=!!ki.withCredentials,this.keepalive=!!ki.keepalive,ki.responseType&&(this.responseType=ki.responseType),ki.headers&&(this.headers=ki.headers),ki.context&&(this.context=ki.context),ki.params&&(this.params=ki.params),ki.priority&&(this.priority=ki.priority),ki.cache&&(this.cache=ki.cache),ki.credentials&&(this.credentials=ki.credentials),"number"==typeof ki.timeout){if(ki.timeout<1||!Number.isInteger(ki.timeout))throw new k.buA(2822,"");this.timeout=ki.timeout}ki.mode&&(this.mode=ki.mode),ki.redirect&&(this.redirect=ki.redirect),ki.integrity&&(this.integrity=ki.integrity),ki.referrer&&(this.referrer=ki.referrer),this.transferCache=ki.transferCache}if(this.headers??=new ue,this.context??=new Ne,this.params){const _r=this.params.toString();if(0===_r.length)this.urlWithParams=In;else{const Cr=In.indexOf("?");this.urlWithParams=In+(-1===Cr?"?":Cr<In.length-1?"&":"")+_r}}else this.params=new ae,this.urlWithParams=In}serializeBody(){return null===this.body?null:"string"==typeof this.body||at(this.body)||Ut(this.body)||nt(this.body)||function cn($t){return typeof URLSearchParams<"u"&&$t instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ae?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||nt(this.body)?null:Ut(this.body)?this.body.type||null:at(this.body)?null:"string"==typeof this.body?Pe:this.body instanceof ae?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?yt:null}clone(wn={}){const In=wn.method||this.method,Di=wn.url||this.url,Ai=wn.responseType||this.responseType,ki=wn.keepalive??this.keepalive,_r=wn.priority||this.priority,Cr=wn.cache||this.cache,Hr=wn.mode||this.mode,$r=wn.redirect||this.redirect,Ns=wn.credentials||this.credentials,Cs=wn.referrer||this.referrer,Xs=wn.integrity||this.integrity,Fs=wn.transferCache??this.transferCache,po=wn.timeout??this.timeout,Ks=void 0!==wn.body?wn.body:this.body,as=wn.withCredentials??this.withCredentials,Pn=wn.reportProgress??this.reportProgress;let vi=wn.headers||this.headers,Ni=wn.params||this.params;const Jt=wn.context??this.context;return void 0!==wn.setHeaders&&(vi=Object.keys(wn.setHeaders).reduce((Ri,Q)=>Ri.set(Q,wn.setHeaders[Q]),vi)),wn.setParams&&(Ni=Object.keys(wn.setParams).reduce((Ri,Q)=>Ri.set(Q,wn.setParams[Q]),Ni)),new Ie(In,Di,Ks,{params:Ni,headers:vi,context:Jt,reportProgress:Pn,responseType:Ai,withCredentials:as,transferCache:Fs,keepalive:ki,cache:Cr,priority:_r,timeout:po,mode:Hr,redirect:$r,credentials:Ns,referrer:Cs,integrity:Xs})}}var ie=function($t){return $t[$t.Sent=0]="Sent",$t[$t.UploadProgress=1]="UploadProgress",$t[$t.ResponseHeader=2]="ResponseHeader",$t[$t.DownloadProgress=3]="DownloadProgress",$t[$t.Response=4]="Response",$t[$t.User=5]="User",$t}(ie||{});
1class je{headers;status;statusText;url;ok;type;redirected;constructor(wn,In=200,Di="OK"){this.headers=wn.headers||new ue,this.status=void 0!==wn.status?wn.status:In,this.statusText=wn.statusText||Di,this.url=wn.url||null,this.redirected=wn.redirected,this.ok=this.status>=200&&this.status<300}}class rt extends je{constructor(wn={}){super(wn)}type=ie.ResponseHeader;clone(wn={}){return new rt({headers:wn.headers||this.headers,status:void 0!==wn.status?wn.status:this.status,statusText:wn.statusText||this.statusText,url:wn.url||this.url||void 0})}}class Ze extends je{body;constructor(wn={}){super(wn),this.body=void 0!==wn.body?wn.body:null}type=ie.Response;clone(wn={}){return new Ze({body:void 0!==wn.body?wn.body:this.body,headers:wn.headers||this.headers,status:void 0!==wn.status?wn.status:this.status,statusText:wn.statusText||this.statusText,url:wn.url||this.url||void 0,redirected:wn.redirected??this.redirected})}}class We extends je{name="HttpErrorResponse";message;error;ok=!1;constructor(wn){super(wn,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${wn.url||"(unknown url)"}`:`Http failure response for ${wn.url||"(unknown url)"}: ${wn.status} ${wn.statusText}`,this.error=wn.error||null}}function Zt($t,wn){return{body:wn,headers:$t.headers,context:$t.context,observe:$t.observe,params:$t.params,reportProgress:$t.reportProgress,responseType:$t.responseType,withCredentials:$t.withCredentials,credentials:$t.credentials,transferCache:$t.transferCache,timeout:$t.timeout,keepalive:$t.keepalive,priority:$t.priority,cache:$t.cache,mode:$t.mode,redirect:$t.redirect,integrity:$t.integrity,referrer:$t.referrer}}let ti=(()=>{class $t{handler;constructor(In){this.handler=In}request(In,Di,Ai={}){let ki;if(In instanceof Ie)ki=In;else{let Hr,$r;Hr=Ai.headers instanceof ue?Ai.headers:new ue(Ai.headers),Ai.params&&($r=Ai.params instanceof ae?Ai.params:new ae({fromObject:Ai.params})),ki=new Ie(In,Di,void 0!==Ai.body?Ai.body:null,{headers:Hr,context:Ai.context,params:$r,reportProgress:Ai.reportProgress,responseType:Ai.responseType||"json",withCredentials:Ai.withCredentials,transferCache:Ai.transferCache,keepalive:Ai.keepalive,priority:Ai.priority,cache:Ai.cache,mode:Ai.mode,redirect:Ai.redirect,credentials:Ai.credentials,referrer:Ai.referrer,integrity:Ai.integrity,timeout:Ai.timeout})}const _r=(0,Xe.of)(ki).pipe((0,B.H)(Hr=>this.handler.handle(Hr)));if(In instanceof Ie||"events"===Ai.observe)return _r;const Cr=_r.pipe((0,x.p)(Hr=>Hr instanceof Ze));switch(Ai.observe||"body"){case"body":switch(ki.responseType){case"arraybuffer":return Cr.pipe((0,He.T)(Hr=>{if(null!==Hr.body&&!(Hr.body instanceof ArrayBuffer))throw new k.buA(2806,!1);return Hr.body}));case"blob":return Cr.pipe((0,He.T)(Hr=>{if(null!==Hr.body&&!(Hr.body instanceof Blob))throw new k.buA(2807,!1);return Hr.body}));case"text":return Cr.pipe((0,He.T)(Hr=>{if(null!==Hr.body&&"string"!=typeof Hr.body)throw new k.buA(2808,!1);return Hr.body}));default:return Cr.pipe((0,He.T)(Hr=>Hr.body))}case"response":return Cr;default:throw new k.buA(2809,!1)}}delete(In,Di={}){return this.request("DELETE",In,Di)}get(In,Di={}){return this.request("GET",In,Di)}head(In,Di={}){return this.request("HEAD",In,Di)}jsonp(In,Di){return this.request("JSONP",In,{params:(new ae).append(Di,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(In,Di={}){return this.request("OPTIONS",In,Di)}patch(In,Di,Ai={}){return this.request("PATCH",In,Zt(Ai,Di))}post(In,Di,Ai={}){return this.request("POST",In,Zt(Ai,Di))}put(In,Di,Ai={}){return this.request("PUT",In,Zt(Ai,Di))}static \u0275fac=function(Di){return new(Di||$t)(k.KVO(Le))};static \u0275prov=k.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const Bn=new k.nKC("");function Qn($t,wn){return wn($t)}function di($t,wn){return(In,Di)=>wn.intercept(In,{handle:Ai=>$t(Ai,Di)})}const pi=new k.nKC(""),Vi=new k.nKC(""),ii=new k.nKC(""),rr=new k.nKC("",{providedIn:"root",factory:()=>!0});function Sn(){let $t=null;return(wn,In)=>{null===$t&&($t=((0,k.WQX)(pi,{optional:!0})??[]).reduceRight(di,Qn));const Di=(0,k.WQX)(k.u5s);if((0,k.WQX)(rr)){const ki=Di.add();return $t(wn,In).pipe((0,ye.j)(ki))}return $t(wn,In)}}let Un=(()=>{class $t extends Le{backend;injector;chain=null;pendingTasks=(0,k.WQX)(k.u5s);contributeToStability=(0,k.WQX)(rr);constructor(In,Di){super(),this.backend=In,this.injector=Di}handle(In){if(null===this.chain){const Di=Array.from(new Set([...this.injector.get(Vi),...this.injector.get(ii,[])]));this.chain=Di.reduceRight((Ai,ki)=>function ai($t,wn,In){return(Di,Ai)=>(0,k.N4e)(In,()=>wn(Di,ki=>$t(ki,Ai)))}(Ai,ki,this.injector),Qn)}if(this.contributeToStability){const Di=this.pendingTasks.add();return this.chain(In,Ai=>this.backend.handle(Ai)).pipe((0,ye.j)(Di))}return this.chain(In,Di=>this.backend.handle(Di))}static \u0275fac=function(Di){return new(Di||$t)(k.KVO(ge),k.KVO(k.uvJ))};static \u0275prov=k.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const we=/^\)\]\}',?\n/,_e=RegExp(`^${Te}:`,"m");let X=(()=>{class $t{xhrFactory;constructor(In){this.xhrFactory=In}handle(In){if("JSONP"===In.method)throw new k.buA(-2800,!1);const Di=this.xhrFactory;return(0,Xe.of)(null).pipe((0,Mt.n)(()=>new Ge.c(ki=>{const _r=Di.build();if(_r.open(In.method,In.urlWithParams),In.withCredentials&&(_r.withCredentials=!0),In.headers.forEac
1h((as,Pn)=>_r.setRequestHeader(as,Pn.join(","))),In.headers.has("Accept")||_r.setRequestHeader("Accept",wt),!In.headers.has(hn)){const as=In.detectContentTypeHeader();null!==as&&_r.setRequestHeader(hn,as)}if(In.timeout&&(_r.timeout=In.timeout),In.responseType){const as=In.responseType.toLowerCase();_r.responseType="json"!==as?as:"text"}const Cr=In.serializeBody();let Hr=null;const $r=()=>{if(null!==Hr)return Hr;const as=_r.statusText||"OK",Pn=new ue(_r.getAllResponseHeaders()),vi=function L($t){return"responseURL"in $t&&$t.responseURL?$t.responseURL:_e.test($t.getAllResponseHeaders())?$t.getResponseHeader(Te):null}(_r)||In.url;return Hr=new rt({headers:Pn,status:_r.status,statusText:as,url:vi}),Hr},Ns=()=>{let{headers:as,status:Pn,statusText:vi,url:Ni}=$r(),Jt=null;204!==Pn&&(Jt=typeof _r.response>"u"?_r.responseText:_r.response),0===Pn&&(Pn=Jt?200:0);let Ri=Pn>=200&&Pn<300;if("json"===In.responseType&&"string"==typeof Jt){const Q=Jt;Jt=Jt.replace(we,"");try{Jt=""!==Jt?JSON.parse(Jt):null}catch(st){Jt=Q,Ri&&(Ri=!1,Jt={error:st,text:Jt})}}Ri?(ki.next(new Ze({body:Jt,headers:as,status:Pn,statusText:vi,url:Ni||void 0})),ki.complete()):ki.error(new We({error:Jt,headers:as,status:Pn,statusText:vi,url:Ni||void 0}))},Cs=as=>{const{url:Pn}=$r(),vi=new We({error:as,status:_r.status||0,statusText:_r.statusText||"Unknown Error",url:Pn||void 0});ki.error(vi)};let Xs=Cs;In.timeout&&(Xs=as=>{const{url:Pn}=$r(),vi=new We({error:new DOMException("Request timed out","TimeoutError"),status:_r.status||0,statusText:_r.statusText||"Request timeout",url:Pn||void 0});ki.error(vi)});let Fs=!1;const po=as=>{Fs||(ki.next($r()),Fs=!0);let Pn={type:ie.DownloadProgress,loaded:as.loaded};as.lengthComputable&&(Pn.total=as.total),"text"===In.responseType&&_r.responseText&&(Pn.partialText=_r.responseText),ki.next(Pn)},Ks=as=>{let Pn={type:ie.UploadProgress,loaded:as.loaded};as.lengthComputable&&(Pn.total=as.total),ki.next(Pn)};return _r.addEventListener("load",Ns),_r.addEventListener("error",Cs),_r.addEventListener("timeout",Xs),_r.addEventListener("abort",Cs),In.reportProgress&&(_r.addEventListener("progress",po),null!==Cr&&_r.upload&&_r.upload.addEventListener("progress",Ks)),_r.send(Cr),ki.next({type:ie.Sent}),()=>{_r.removeEventListener("error",Cs),_r.removeEventListener("abort",Cs),_r.removeEventListener("load",Ns),_r.removeEventListener("timeout",Xs),In.reportProgress&&(_r.removeEventListener("progress",po),null!==Cr&&_r.upload&&_r.upload.removeEventListener("progress",Ks)),_r.readyState!==_r.DONE&&_r.abort()}})))}static \u0275fac=function(Di){return new(Di||$t)(k.KVO(ze.N))};static \u0275prov=k.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const qe=new k.nKC(""),On=new k.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Qi=new k.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Tr{}let Er=(()=>{class $t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(In,Di){this.doc=In,this.cookieName=Di}getToken(){const In=this.doc.cookie||"";return In!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ze.b)(In,this.cookieName),this.lastCookieString=In),this.lastToken}static \u0275fac=function(Di){return new(Di||$t)(k.KVO(k.qQL),k.KVO(On))};static \u0275prov=k.jDH({token:$t,factory:$t.\u0275fac})}return $t})();const _n=/^(?:https?:)?\/\//i;function an($t,wn){if(!(0,k.WQX)(qe)||"GET"===$t.method||"HEAD"===$t.method||_n.test($t.url))return wn($t);const In=(0,k.WQX)(Tr).getToken(),Di=(0,k.WQX)(Qi);return null!=In&&!$t.headers.has(Di)&&($t=$t.clone({headers:$t.headers.set(Di,In)})),wn($t)}var ke=function($t){return $t[$t.Interceptors=0]="Interceptors",$t[$t.LegacyInterceptors=1]="LegacyInterceptors",$t[$t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",$t[$t.NoXsrfProtection=3]="NoXsrfProtection",$t[$t.JsonpSupport=4]="JsonpSupport",$t[$t.RequestsMadeViaParent=5]="RequestsMadeViaParent",$t[$t.Fetch=6]="Fetch",$t}(ke||{});function _t(...$t){const wn=[ti,X,Un,{provide:Le,useExisting:Un},{provide:ge,useFactory:()=>(0,k.WQX)(Bn,{optional:!0})??(0,k.WQX)(X)},{provide:Vi,useValue:an,multi:!0},{provide:qe,useValue:!0},{provide:Tr,useClass:Er}];for(const In of $t)wn.push(...In.\u0275providers);return(0,k.EmA)(wn)}const Rn=new k.nKC("");function Zn(){return function De($t,wn){return{\u0275kind:$t,\u0275providers:wn}}(ke.LegacyInterceptors,[{provide:Rn,useFactory:Sn},{provide:Vi,useExisting:Rn,multi:!0}])}},2512(tn,Ye,d){"use strict";function o(h,y){y=encodeURIComponent(y);for(const v of h.split(";")){const T=v.indexOf("="),[M,k]=-1==T?[v,""]:[v.slice(0,T),v.slice(T+1)];if(M.trim()===y)return decodeURIComponent(k)}return null}d.d(Ye,{N:()=>s,b:()=>o});class s{}},7705(tn,Ye,d){"use strict";d.d(Ye,{ES_:()=>ls,HJs:()=>Jl,Hbi:()=>Cc,L39:()=>Ur,MKu:()=>Nr,SmG:()=>Gt,Udg:()=>_a,_q3:()=>ri,a0P:()=>Id,cCO:()=>ds,ebz:()=>Hn,fpN:()=>dc,gRc:()=>_o,hFB:()=>Ct,naY:()=>pe,oH4:()=>Ea,sbv:()=>Lr,uEv:()=>Ld});var $i=d(2615),Es=d(8440),Mn=d(3664);const Fn=Symbol("InputSignalNode#UNSET"),Vn={...Es.s0,transformFn:void 0,applyValueToInputSignal(Kt,ht){(0,Es.j2)(Kt,ht)}};function Ui(Kt,ht){const jt=Object.create(Vn);function en(){if((0,Es.mK)(jt),jt.value===Fn)throw new $i.buA(-950,null);return jt.value}return jt.value=Kt,jt.transformFn=ht?.transform,en[Es.bh]=jt,en}class ls{attributeName;constructor(ht){this.attributeName=ht}__NG_ELEMENT_ID__=()=>(0,Mn.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const ds=new $i.nKC("");function As(Kt,ht){return Ui(Kt,ht)}ds.__NG_ELEMENT_ID__=Kt=>{const ht=(0,$i.Mx4)();if(null===ht)throw new $i.buA(204,!1);if(2&ht.type)return ht.value;if(8&Kt)return null;throw new $i.buA(204,!1)};
1const Ct=(As.required=function kl(Kt){return Ui(Fn,Kt)},As);function xt(Kt,ht){return(0,Mn.mU9)(ht)}const Hn=(xt.required=function kn(Kt,ht){return(0,Mn.hnC)(ht)},xt);function Hi(Kt,ht){return(0,Mn.mU9)(ht)}const Lr=(Hi.required=function ur(Kt,ht){return(0,Mn.hnC)(ht)},Hi),wo=new $i.nKC(""),wl=new $i.nKC("");function Us(Kt){return!Kt.moduleRef}let ba;function ea(){ba=Os}function Os(Kt,ht){const jt=Kt.injector.get(Mn.o8S);if(Kt._bootstrapComponents.length>0)Kt._bootstrapComponents.forEach(en=>jt.bootstrap(en));else{if(!Kt.instance.ngDoBootstrap)throw new $i.buA(-403,!1);Kt.instance.ngDoBootstrap(jt)}ht.push(Kt)}let Sa=(()=>{class Kt{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(jt){this._injector=jt}bootstrapModuleFactory(jt,en){const Nn=en?.scheduleInRootZone,vr=en?.ignoreChangesOutsideZone,or=[(0,Mn.SdI)({ngZoneFactory:()=>(0,Mn.G5x)(en?.ngZone,{...(0,Mn.cZr)({eventCoalescing:en?.ngZoneEventCoalescing,runCoalescing:en?.ngZoneRunCoalescing}),scheduleInRootZone:Nn}),ignoreChangesOutsideZone:vr}),{provide:$i.hk6,useExisting:Mn.Ts$},$i.gv8],xr=(0,Mn.VzW)(jt.moduleType,this.injector,or);return ea(),function Ps(Kt){const ht=Us(Kt)?Kt.r3Injector:Kt.moduleRef.injector,jt=ht.get(Mn.SKi);return jt.run(()=>{Us(Kt)?Kt.r3Injector.resolveInjectorInitializers():Kt.moduleRef.resolveInjectorInitializers();const en=ht.get($i.ZTf);let Nn;if(jt.runOutsideAngular(()=>{Nn=jt.onError.subscribe({next:en})}),Us(Kt)){const Si=()=>ht.destroy(),vr=Kt.platformInjector.get(wo);vr.add(Si),ht.onDestroy(()=>{Nn.unsubscribe(),vr.delete(Si)})}else{const Si=()=>Kt.moduleRef.destroy(),vr=Kt.platformInjector.get(wo);vr.add(Si),Kt.moduleRef.onDestroy(()=>{(0,Mn.TFI)(Kt.allPlatformModules,Kt.moduleRef),Nn.unsubscribe(),vr.delete(Si)})}return function pl(Kt,ht,jt){try{const en=jt();return(0,Mn.yLl)(en)?en.catch(Nn=>{throw ht.runOutsideAngular(()=>Kt(Nn)),Nn}):en}catch(en){throw ht.runOutsideAngular(()=>Kt(en)),en}}(en,jt,()=>{const Si=ht.get($i.rev),vr=Si.add(),or=ht.get(Mn.H1s);return or.runInitializers(),or.donePromise.then(()=>{const xr=ht.get(Mn.xe9,Mn.DkB);if((0,Mn.e6s)(xr||Mn.DkB),!ht.get(wl,!0))return Us(Kt)?ht.get(Mn.o8S):(Kt.allPlatformModules.push(Kt.moduleRef),Kt.moduleRef);if(Us(Kt)){const co=ht.get(Mn.o8S);return void 0!==Kt.rootComponent&&co.bootstrap(Kt.rootComponent),co}return ba?.(Kt.moduleRef,Kt.allPlatformModules),Kt.moduleRef}).finally(()=>{Si.remove(vr)})})})}({moduleRef:xr,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(jt,en=[]){const Nn=(0,Mn.lJT)({},en);return ea(),function Uo(Kt,ht,jt){const en=new Mn.Co$(jt);return Promise.resolve(en)}(0,0,jt).then(Si=>this.bootstrapModuleFactory(Si,Nn))}onDestroy(jt){this._destroyListeners.push(jt)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new $i.buA(404,!1);this._modules.slice().forEach(en=>en.destroy()),this._destroyListeners.forEach(en=>en());const jt=this._injector.get(wo,null);jt&&(jt.forEach(en=>en()),jt.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(en){return new(en||Kt)((0,$i.KVO)($i.zZn))};static \u0275prov=(0,$i.jDH)({token:Kt,factory:Kt.\u0275fac,providedIn:"platform"})}return Kt})(),Fo=null;function Ea(Kt,ht,jt=[]){const en=`Platform: ${ht}`,Nn=new $i.nKC(en);return(Si=[])=>{let vr=xa();if(!vr){const or=[...jt,...Si,{provide:Nn,useValue:!0}];vr=Kt?.(or)??function ca(Kt){if(xa())throw new $i.buA(400,!1);(0,Mn.pl0)(),(0,Mn.ypd)(),Fo=Kt;const ht=Kt.get(Sa);return function tl(Kt){const ht=Kt.get(Mn.PLl,null);(0,$i.N4e)(Kt,()=>{ht?.forEach(jt=>jt())})}(Kt),ht}(function Mo(Kt=[],ht){return $i.zZn.create({name:ht,providers:[{provide:$i.GBX,useValue:"platform"},{provide:wo,useValue:new Set([()=>Fo=null])},...Kt]})}(or,en))}return function pa(){const ht=xa();if(!ht)throw new $i.buA(-401,!1);return ht}()}}function xa(){return Fo?.get(Sa)??null}function pe(){return!1}function Gt(){}let _o=(()=>class Kt{static __NG_ELEMENT_ID__=Yo})();function Yo(Kt){return function Da(Kt,ht,jt){if((0,$i.Qs1)(Kt)&&!jt){const en=(0,$i.KdJ)(Kt.index,ht);return new Mn.NCX(en,en)}
vendor: 8,134 bytes, line 1
1return 175&Kt.type?new Mn.NCX(ht[$i.b5C],ht):null}((0,$i.Mx4)(),(0,$i.OAn)(),!(16&~Kt))}class Ya{constructor(){}supports(ht){return(0,Mn.ozJ)(ht)}create(ht){return new Ra(ht)}}const cl=(Kt,ht)=>ht;class Ra{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(ht){this._trackByFn=ht||cl}forEachItem(ht){let jt;for(jt=this._itHead;null!==jt;jt=jt._next)ht(jt)}forEachOperation(ht){let jt=this._itHead,en=this._removalsHead,Nn=0,Si=null;for(;jt||en;){const vr=!en||jt&&jt.currentIndex<En(en,Nn,Si)?jt:en,or=En(vr,Nn,Si),xr=vr.currentIndex;if(vr===en)Nn--,en=en._nextRemoved;else if(jt=jt._next,null==vr.previousIndex)Nn++;else{Si||(Si=[]);const rs=or-Nn,co=xr-Nn;if(rs!=co){for(let ta=0;ta<rs;ta++){const Ma=ta<Si.length?Si[ta]:Si[ta]=0,La=Ma+ta;co<=La&&La<rs&&(Si[ta]=Ma+1)}Si[vr.previousIndex]=co-rs}}or!==xr&&ht(vr,or,xr)}}forEachPreviousItem(ht){let jt;for(jt=this._previousItHead;null!==jt;jt=jt._nextPrevious)ht(jt)}forEachAddedItem(ht){let jt;for(jt=this._additionsHead;null!==jt;jt=jt._nextAdded)ht(jt)}forEachMovedItem(ht){let jt;for(jt=this._movesHead;null!==jt;jt=jt._nextMoved)ht(jt)}forEachRemovedItem(ht){let jt;for(jt=this._removalsHead;null!==jt;jt=jt._nextRemoved)ht(jt)}forEachIdentityChange(ht){let jt;for(jt=this._identityChangesHead;null!==jt;jt=jt._nextIdentityChange)ht(jt)}diff(ht){if(null==ht&&(ht=[]),!(0,Mn.ozJ)(ht))throw new $i.buA(900,!1);return this.check(ht)?this:null}onDestroy(){}check(ht){this._reset();let Nn,Si,vr,jt=this._itHead,en=!1;if(Array.isArray(ht)){this.length=ht.length;for(let or=0;or<this.length;or++)Si=ht[or],vr=this._trackByFn(or,Si),null!==jt&&Object.is(jt.trackById,vr)?(en&&(jt=this._verifyReinsertion(jt,Si,vr,or)),Object.is(jt.item,Si)||this._addIdentityChange(jt,Si)):(jt=this._mismatch(jt,Si,vr,or),en=!0),jt=jt._next}else Nn=0,(0,Mn.utN)(ht,or=>{vr=this._trackByFn(Nn,or),null!==jt&&Object.is(jt.trackById,vr)?(en&&(jt=this._verifyReinsertion(jt,or,vr,Nn)),Object.is(jt.item,or)||this._addIdentityChange(jt,or)):(jt=this._mismatch(jt,or,vr,Nn),en=!0),jt=jt._next,Nn++}),this.length=Nn;return this._truncate(jt),this.collection=ht,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let ht;for(ht=this._previousItHead=this._itHead;null!==ht;ht=ht._next)ht._nextPrevious=ht._next;for(ht=this._additionsHead;null!==ht;ht=ht._nextAdded)ht.previousIndex=ht.currentIndex;for(this._additionsHead=this._additionsTail=null,ht=this._movesHead;null!==ht;ht=ht._nextMoved)ht.previousIndex=ht.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(ht,jt,en,Nn){let Si;return null===ht?Si=this._itTail:(Si=ht._prev,this._remove(ht)),null!==(ht=null===this._unlinkedRecords?null:this._unlinkedRecords.get(en,null))?(Object.is(ht.item,jt)||this._addIdentityChange(ht,jt),this._reinsertAfter(ht,Si,Nn)):null!==(ht=null===this._linkedRecords?null:this._linkedRecords.get(en,Nn))?(Object.is(ht.item,jt)||this._addIdentityChange(ht,jt),this._moveAfter(ht,Si,Nn)):ht=this._addAfter(new gi(jt,en),Si,Nn),ht}_verifyReinsertion(ht,jt,en,Nn){let Si=null===this._unlinkedRecords?null:this._unlinkedRecords.get(en,null);return null!==Si?ht=this._reinsertAfter(Si,ht._prev,Nn):ht.currentIndex!=Nn&&(ht.currentIndex=Nn,this._addToMoves(ht,Nn)),ht}_truncate(ht){for(;null!==ht;){const jt=ht._next;this._addToRemovals(this._unlink(ht)),ht=jt}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(ht,jt,en){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(ht);const Nn=ht._prevRemoved,Si=ht._nextRemoved;return null===Nn?this._removalsHead=Si:Nn._nextRemoved=Si,null===Si?this._removalsTail=Nn:Si._prevRemoved=Nn,this._insertAfter(ht,jt,en),this._addToMoves(ht,en),ht}_moveAfter(ht,jt,en){return this._unlink(ht),this._insertAfter(ht,jt,en),this._addToMoves(ht,en),ht}_addAfter(ht,jt,en){return this._insertAfter(ht,jt,en),this._additionsTail=null===this._additionsTail?this._additionsHead=ht:this._additionsTail._nextAdded=ht,ht}_insertAfter(ht,jt,en){const Nn=null===jt?this._itHead:jt._next;return ht._next=Nn,ht._prev=jt,null===Nn?this._itTail=ht:Nn._prev=ht,null===jt?this._itHead=ht:jt._next=ht,null===this._linkedRecords&&(this._linkedRecords=new ct),this._linkedRecords.put(ht),ht.currentIndex=en,ht}_remove(ht){return this._addToRemovals(this._unlink(ht))}_unlink(ht){null!==this._linkedRecords&&this._linkedRecords.remove(ht);const jt=ht._prev,en=ht._next;return null===jt?this._itHead=en:jt._next=en,null===en?this._itTail=jt:en._prev=jt,ht}_addToMoves(ht,jt){return ht.previousIndex===jt||(this._movesTail=null===this._movesTail?this._movesHead=ht:this._movesTail._nextMoved=ht),ht}_addToRemovals(ht){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ct),this._unlinkedRecords.put(ht),ht.currentIndex=null,ht._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=ht,ht._prevRemoved=null):(ht._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=ht),ht}_addIdentityChange(ht,jt){return ht.item=jt,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=ht:this._identityChangesTail._nextIdentityChange=ht,ht}}class gi{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(ht,jt){this.item=ht,this.trackById=jt}}class gr{_head=null;_tail=null;add(ht){null===this._head?(this._head=this._tail=ht,ht._nextDup=null,ht._prevDup=null):(this._tail._nextDup=ht,ht._prevDup=this._tail,ht._nextDup=null,this._tail=ht)}get(ht,jt){let en;for(en=this._head;null!==en;en=en._nextDup)if((null===jt||jt<=en.currentIndex)&&Object.is(en.trackById,ht))return en;return null}remove(ht){const jt=ht._prevDup,en=ht._nextDup;return null===jt?this._head=en:jt._nextDup=en,null===en?this._tail=jt:en._prevDup=jt,null===this._head}}class ct{map=new Map;put(ht){const jt=ht.trackById;let en=this.map.get(jt);en||(en=new gr,this.map.set(jt,en)),en.add(ht)}get(ht,jt){const Nn=this.map.get(ht);return Nn?Nn.get(ht,jt):null}remove(ht){const jt=ht.trackById;return this.map.get(jt).remove(ht)&&this.map.delete(jt),ht}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function En(Kt,ht,jt){const en=Kt.previousIndex;if(null===en)return en;let Nn=0;return jt&&en<jt.length&&(Nn=jt[en]),en+ht+Nn}class oi{constructor(){}supports(ht){return ht instanceof Map||(0,Mn.vDg)(ht)}create(){return new yr}}class yr{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(ht){let jt;for(jt=this._mapHead;null!==jt;jt=jt._next)ht(jt)}forEachPreviousItem(ht){let jt;for(jt=this._previousMapHead;null!==jt;jt=jt._nextPrevious)ht(jt)}forEachChangedItem(ht){let jt;for(jt=this._changesHead;null!==jt;jt=jt._nextChanged)ht(jt)}forEachAddedItem(ht){let jt;for(jt=this._additionsHead;null!==jt;jt=jt._nextAdded)ht(jt)}forEachRemovedItem(ht){let jt;for(jt=this._removalsHead;null!==jt;jt=jt._nextRemoved)ht(jt)}diff(ht){if(ht){if(!(ht instanceof Map||(0,Mn.vDg)(ht)))throw new $i.buA(900,!1)}else ht=new Map;return this.check(ht)?this:null}onDestroy(){}check(ht){this._reset();let jt=this._mapHead;
1if(this._appendAfter=null,this._forEach(ht,(en,Nn)=>{if(jt&&jt.key===Nn)this._maybeAddToChanges(jt,en),this._appendAfter=jt,jt=jt._next;else{const Si=this._getOrCreateRecordForKey(Nn,en);jt=this._insertBeforeOrAppend(jt,Si)}}),jt){jt._prev&&(jt._prev._next=null),this._removalsHead=jt;for(let en=jt;null!==en;en=en._nextRemoved)en===this._mapHead&&(this._mapHead=null),this._records.delete(en.key),en._nextRemoved=en._next,en.previousValue=en.currentValue,en.currentValue=null,en._prev=null,en._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(ht,jt){if(ht){const en=ht._prev;return jt._next=ht,jt._prev=en,ht._prev=jt,en&&(en._next=jt),ht===this._mapHead&&(this._mapHead=jt),this._appendAfter=ht,ht}return this._appendAfter?(this._appendAfter._next=jt,jt._prev=this._appendAfter):this._mapHead=jt,this._appendAfter=jt,null}_getOrCreateRecordForKey(ht,jt){if(this._records.has(ht)){const Nn=this._records.get(ht);this._maybeAddToChanges(Nn,jt);const Si=Nn._prev,vr=Nn._next;return Si&&(Si._next=vr),vr&&(vr._prev=Si),Nn._next=null,Nn._prev=null,Nn}const en=new Xr(ht);return this._records.set(ht,en),en.currentValue=jt,this._addToAdditions(en),en}_reset(){if(this.isDirty){let ht;for(this._previousMapHead=this._mapHead,ht=this._previousMapHead;null!==ht;ht=ht._next)ht._nextPrevious=ht._next;for(ht=this._changesHead;null!==ht;ht=ht._nextChanged)ht.previousValue=ht.currentValue;for(ht=this._additionsHead;null!=ht;ht=ht._nextAdded)ht.previousValue=ht.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(ht,jt){Object.is(jt,ht.currentValue)||(ht.previousValue=ht.currentValue,ht.currentValue=jt,this._addToChanges(ht))}_addToAdditions(ht){null===this._additionsHead?this._additionsHead=this._additionsTail=ht:(this._additionsTail._nextAdded=ht,this._additionsTail=ht)}_addToChanges(ht){null===this._changesHead?this._changesHead=this._changesTail=ht:(this._changesTail._nextChanged=ht,this._changesTail=ht)}_forEach(ht,jt){ht instanceof Map?ht.forEach(jt):Object.keys(ht).forEach(en=>jt(ht[en],en))}}class Xr{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(ht){this.key=ht}}function ho(){return new ri([new Ya])}let ri=(()=>{class Kt{factories;static \u0275prov=(0,$i.jDH)({token:Kt,providedIn:"root",factory:ho});constructor(jt){this.factories=jt}static create(jt,en){if(null!=en){const Nn=en.factories.slice();jt=jt.concat(Nn)}return new Kt(jt)}static extend(jt){return{provide:Kt,useFactory:()=>{const en=(0,$i.WQX)(Kt,{optional:!0,skipSelf:!0});return Kt.create(jt,en||ho())}}}find(jt){const en=this.factories.find(Nn=>Nn.supports(jt));if(null!=en)return en;throw new $i.buA(901,!1)}}return Kt})();function Pi(){return new Nr([new oi])}let Nr=(()=>{class Kt{static \u0275prov=(0,$i.jDH)({token:Kt,providedIn:"root",factory:Pi});factories;constructor(jt){this.factories=jt}static create(jt,en){if(en){const Nn=en.factories.slice();jt=jt.concat(Nn)}return new Kt(jt)}static extend(jt){return{provide:Kt,useFactory:()=>{const en=(0,$i.WQX)(Kt,{optional:!0,skipSelf:!0});return Kt.create(jt,en||Pi())}}}find(jt){const en=this.factories.find(Nn=>Nn.supports(jt));if(en)return en;throw new $i.buA(901,!1)}}return Kt})();const dc=Ea(null,"core",[]);let Cc=(()=>{class Kt{constructor(jt){}static \u0275fac=function(en){return new(en||Kt)((0,$i.KVO)(Mn.o8S))};static \u0275mod=(0,Mn.$C)({type:Kt});static \u0275inj=(0,$i.G2t)({})}return Kt})();function Ur(Kt){return"boolean"==typeof Kt?Kt:null!=Kt&&"false"!==Kt}function _a(Kt,ht=NaN){return isNaN(parseFloat(Kt))||isNaN(Number(Kt))?ht:Number(Kt)}const Hs=Symbol("NOT_SET"),zd=new Set,ud={...Es.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Hs,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(Kt){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Hs&&!(0,Es.si)(this))return this.signal;try{for(const Nn of this.cleanup??zd)Nn()}finally{this.cleanup?.clear()}const ht=[];void 0!==Kt&&ht.push(Kt),ht.push(this.registerCleanupFn);const jt=(0,Es.Bg)(this);let en;try{en=this.userFn.apply(null,ht)}finally{(0,Es.Wu)(this,jt)}return(this.value===Hs||!this.equal(this.value,en))&&(this.value=en,this.version++),this.signal}};class Xl extends Mn._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(ht,jt,en,Nn,Si,vr=null){super(ht,[void 0,void 0,void 0,void 0],en,!1,Si.get($i.abz),vr),this.scheduler
vendor: 6,177 bytes, line 1
1=Nn;for(const or of Mn.zoo){const xr=jt[or];if(void 0===xr)continue;const rs=Object.create(ud);rs.sequence=this,rs.phase=or,rs.userFn=xr,rs.dirty=!0,rs.signal=()=>((0,Es.mK)(rs),rs.value),rs.signal[Es.bh]=rs,rs.registerCleanupFn=co=>(rs.cleanup??=new Set).add(co),this.nodes[or]=rs,this.hooks[or]=co=>rs.phaseFn(co)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const ht of this.nodes)if(ht)try{for(const jt of ht.cleanup??zd)jt()}finally{(0,Es.XR)(ht)}}}function Ld(Kt,ht){const jt=ht?.injector??(0,$i.WQX)($i.zZn),en=jt.get($i.hk6),Nn=jt.get(Mn.cf$),Si=jt.get(Mn.a8H,null,{optional:!0});Nn.impl??=jt.get(Mn.ziy);let vr=Kt;"function"==typeof vr&&(vr={mixedReadWrite:Kt});const or=jt.get($i.r4V,null,{optional:!0}),xr=new Xl(Nn.impl,[vr.earlyRead,vr.write,vr.mixedReadWrite,vr.read],or?.view,en,jt,Si?.snapshot(null));return Nn.impl.register(xr),xr}function Id(Kt,ht){const jt=(0,$i.xUg)(Kt),en=ht.elementInjector||(0,$i.WB9)();return new Mn.eHC(jt).create(en,ht.projectableNodes,ht.hostElement,ht.environmentInjector,ht.directives,ht.bindings)}function Jl(Kt){const ht=(0,$i.xUg)(Kt);if(!ht)return null;const jt=new Mn.eHC(ht);return{get selector(){return jt.selector},get type(){return jt.componentType},get inputs(){return jt.inputs},get outputs(){return jt.outputs},get ngContentSelectors(){return jt.ngContentSelectors},get isStandalone(){return ht.standalone},get isSignal(){return ht.signals}}}},3664(tn,Ye,d){"use strict";d.d(Ye,{$C:()=>Vs,$Ln:()=>Mb,AQ1:()=>Fb,AVh:()=>HE,Ab1:()=>se,Aen:()=>jw,Agw:()=>Cc,Avn:()=>Ty,B1s:()=>Qu,B4B:()=>hu,BIS:()=>uc,BMQ:()=>WD,C4Q:()=>Xf,C5r:()=>L1,C6U:()=>kw,C7A:()=>V0,Co$:()=>Kn,DH7:()=>Lo,DNE:()=>Zv,DUP:()=>Ud,DkB:()=>Cy,Dyx:()=>qD,E5c:()=>tf,EFF:()=>jn,EJ8:()=>Ci,FsC:()=>aa,FuF:()=>Jy,G5x:()=>Tg,GBs:()=>Cw,H1s:()=>Ab,HbH:()=>YE,Hgh:()=>bE,JRh:()=>$u,Jt5:()=>rw,Jv_:()=>v1,KED:()=>jI,LHq:()=>Wm,Lme:()=>lu,NAR:()=>Rf,NCX:()=>fl,NOj:()=>_d,NSC:()=>hh,NYb:()=>l_,NyB:()=>xy,OA$:()=>Tr,OM3:()=>Rh,OR8:()=>rm,Ocv:()=>hC,Ol2:()=>kr,PLl:()=>dc,PYC:()=>Ku,PYt:()=>Se,PeT:()=>qv,QTQ:()=>zg,Ql9:()=>aC,R50:()=>Eo,R7$:()=>zh,RPW:()=>mo,RV6:()=>TE,SKi:()=>Ko,SdG:()=>Qb,SdI:()=>eI,SpI:()=>Md,TFI:()=>Dd,Ts$:()=>iI,UQu:()=>sC,V5L:()=>q1,VBU:()=>hs,VeQ:()=>da,VkB:()=>Yw,Vm6:()=>IT,Vt3:()=>Lh,VwU:()=>FE,VzW:()=>ji,WPN:()=>Vd,WeM:()=>xp,XpG:()=>VE,Xx1:()=>Ae,Y8G:()=>Um,YEm:()=>Qs,Z7z:()=>ZD,Zhj:()=>ED,_9s:()=>ru,_9u:()=>Bs,_jY:()=>Ec,_qm:()=>Gr,_ys:()=>Mh,a8H:()=>nu,aCM:()=>Qc,aKT:()=>Gs,ai1:()=>Du,bIt:()=>NE,bMT:()=>R1,bVm:()=>wy,bc$:()=>Sl,bkB:()=>Ou,c1b:()=>Gv,cDI:()=>B0,cZr:()=>bM,cdK:()=>dv,cf$:()=>hf,czy:()=>pu,d80:()=>lC,dOL:()=>Tb,e6s:()=>NT,eHC:()=>$v,eq3:()=>D1,eu8:()=>ew,eux:()=>by,f$h:()=>yc,fX1:()=>JD,gXe:()=>Bo,giA:()=>Ib,gil:()=>be,hnC:()=>iT,i5U:()=>P1,iLQ:()=>c_,iWE:()=>md,ii3:()=>O1,j41:()=>pv,jOp:()=>lE,k0s:()=>_v,kBR:()=>vv,kS0:()=>Jo,kdw:()=>z,lJ4:()=>E1,lJT:()=>dr,l_i:()=>w1,lsd:()=>Jb,mGM:()=>Aw,mNQ:()=>KE,mU9:()=>yD,mal:()=>Rp,mxI:()=>Ga,n$t:()=>Ju,nI1:()=>x1,nI4:()=>E_,nM4:()=>tb,nVh:()=>QD,npT:()=>fm,nrm:()=>yy,o8S:()=>Zr,ozJ:()=>Ve,p2i:()=>Bh,pXf:()=>Mw,phd:()=>sE,pl0:()=>F,qex:()=>Dy,rAh:()=>Fh,rOR:()=>Oo,rXU:()=>om,rj2:()=>Yu,sFG:()=>Ph,sMw:()=>T1,sZ2:()=>qs,sdS:()=>xw,sgu:()=>qy,tvf:()=>Fl,uiO:()=>Ce,utN:()=>Dn,vDg:()=>Gn,vxM:()=>XD,w6W:()=>ut,wEZ:()=>Sw,wXG:()=>jh,wjB:()=>y1,wni:()=>Xb,wr$:()=>Zd,xGo:()=>fs,xc7:()=>Uw,xe9:()=>rI,yLl:()=>Cb,ypd:()=>Fe,ziG:()=>M1,ziy:()=>Qm,zoo:()=>jf});var Yn=d(467),_=d(2615),Qn=d(8440),di=d(1413),ai=d(8359),pi=d(6354);function Vi(t){return{toString:t}.toString()}const ii="__annotations__",rr="__parameters__",Sn="__prop__metadata__";function ci(t,n,r,l,p){return Vi(()=>{const w=Un(n);function V(...Z){if(this instanceof V)return w.call(this,...Z),this;const oe=new V(...Z);return function(Ft){return p&&p(Ft,...Z),(Ft.hasOwnProperty(ii)?Ft[ii]:Object.defineProperty(Ft,ii,{value:[]})[ii]).push(oe),Ft}}return r&&(V.prototype=Object.create(r.prototype)),V.prototype.ngMetadataName=t,V.annotationCls=V,V})}function Un(t){return function(...r){if(t){const l=t(...r);for(const p in l)this[p]=l[p]}}}function fr(t,n,r){return Vi(()=>{const l=Un(n);function p(...w){if(this instanceof p)return l.apply(this,w),this;const V=new p(...w);return Z.annotation=V,Z;function Z(oe,bt,Ft){const gn=oe.hasOwnProperty(rr)?oe[rr]:Object.defineProperty(oe,rr,{value:[]})[rr];for(;gn.length<=Ft;)gn.push(null);return(gn[Ft]=gn[Ft]||[]).push(V),oe}}return p.prototype.ngMetadataName=t,p.annotationCls=p,p})}const un=(0,_.z6V)(fr("Inject",t=>({token:t})),-1),Ae=(0,_.z6V)(fr("Optional"),8),xe=(0,_.z6V)(fr("Self"),2),z=(0,_.z6V)(fr("SkipSelf"),4),Ee=(0,_.z6V)(fr("Host"),1);function Ce(t){const n=_.laP.ng;if(n&&n.\u0275compilerFacade)return n.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Ue={\u0275\u0275defineInjectable:_.jDH,\u0275\u0275defineInjector:_.G2t,\u0275\u0275inject:_.KVO,\u0275\u0275invalidFactoryDep:_.dmw,resolveForwardRef:_.nl4},Tt=Function;function fe(t){return"function"==typeof t}const we=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,_e=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,L=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,j=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class qe{_reflect;constructor(n){this._reflect=n||_.laP.Reflect}factory(n){return(...r)=>new n(...r)}_zipTypesAndAnnotations(n,r){let l;l=(0,_.WfI)(typeof n>"u"?r.length:n.length);for(let p=0;p<l.length;p++)l[p]=typeof n>"u"?[]:n[p]&&n[p]!=Object?[n[p]]:[],r&&null!=r[p]&&(l[p]=l[p].concat(r[p]));return l}_ownParameters(n,r){if(function X(t){return we.test(t)||j.test(t)||_e.test(t)&&!L.test(t)}(n.toString()))return null;if(n.parameters&&n.parameters!==r.parameters)return n.parameters;const p=n.ctorParameters;if(p&&p!==r.ctorParameters){const Z="function"==typeof p?p():p,oe=Z.map(Ft=>Ft&&Ft.type),bt=Z.map(Ft=>Ft&&Yt(Ft.decorators));return this._zipTypesAndAnnotations(oe,bt)}const w=n.hasOwnProperty(rr)&&n[rr],V=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return V||w?this._zipTypesAndAnnotations(V,w):(0,_.WfI)(n.length)}
vendor: 7,050 bytes, line 1
1parameters(n){if(!fe(n))return[];const r=On(n);let l=this._ownParameters(n,r);return!l&&r!==Object&&(l=this.parameters(r)),l||[]}_ownAnnotations(n,r){if(n.annotations&&n.annotations!==r.annotations){let l=n.annotations;return"function"==typeof l&&l.annotations&&(l=l.annotations),l}return n.decorators&&n.decorators!==r.decorators?Yt(n.decorators):n.hasOwnProperty(ii)?n[ii]:null}annotations(n){if(!fe(n))return[];const r=On(n),l=this._ownAnnotations(n,r)||[];return(r!==Object?this.annotations(r):[]).concat(l)}_ownPropMetadata(n,r){if(n.propMetadata&&n.propMetadata!==r.propMetadata){let l=n.propMetadata;return"function"==typeof l&&l.propMetadata&&(l=l.propMetadata),l}if(n.propDecorators&&n.propDecorators!==r.propDecorators){const l=n.propDecorators,p={};return Object.keys(l).forEach(w=>{p[w]=Yt(l[w])}),p}return n.hasOwnProperty(Sn)?n[Sn]:null}propMetadata(n){if(!fe(n))return{};const r=On(n),l={};if(r!==Object){const w=this.propMetadata(r);Object.keys(w).forEach(V=>{l[V]=w[V]})}const p=this._ownPropMetadata(n,r);return p&&Object.keys(p).forEach(w=>{const V=[];l.hasOwnProperty(w)&&V.push(...l[w]),V.push(...p[w]),l[w]=V}),l}ownPropMetadata(n){return fe(n)&&this._ownPropMetadata(n,On(n))||{}}hasLifecycleHook(n,r){return n instanceof Tt&&r in n.prototype}}function Yt(t){return t?t.map(n=>new(0,n.type.annotationCls)(...n.args?n.args:[])):[]}function On(t){const n=t.prototype?Object.getPrototypeOf(t.prototype):null;return(n?n.constructor:null)||Object}class wi{previousValue;currentValue;firstChange;constructor(n,r,l){this.previousValue=n,this.currentValue=r,this.firstChange=l}isFirstChange(){return this.firstChange}}function Qi(t,n,r,l){null!==n?n.applyValueToInputSignal(n,l):t[r]=l}const Tr=(()=>{const t=()=>Er;return t.ngInherit=!0,t})();function Er(t){return t.type.prototype.ngOnChanges&&(t.setInput=an),_n}function _n(){const t=ke(this),n=t?.current;if(n){const r=t.previous;if(r===_.MZA)t.previous=n;else for(let l in n)r[l]=n[l];t.current=null,this.ngOnChanges(n)}}function an(t,n,r,l,p){const w=this.declaredInputs[l],V=ke(t)||function De(t,n){return t[Pt]=n}(t,{previous:_.MZA,current:null}),Z=V.current||(V.current={}),oe=V.previous,bt=oe[w];Z[w]=new wi(bt&&bt.currentValue,r,oe===_.MZA),Qi(t,n,p,r)}const Pt="__ngSimpleChanges__";function ke(t){return t[Pt]||null}const _t=[],gt=function(t,n=null,r){for(let l=0;l<_t.length;l++)(0,_t[l])(t,n,r)};function ft(t,n){for(let r=n.directiveStart,l=n.directiveEnd;r<l;r++){const w=t.data[r].type.prototype,{ngAfterContentInit:V,ngAfterContentChecked:Z,ngAfterViewInit:oe,ngAfterViewChecked:bt,ngOnDestroy:Ft}=w;V&&(t.contentHooks??=[]).push(-r,V),Z&&((t.contentHooks??=[]).push(r,Z),(t.contentCheckHooks??=[]).push(r,Z)),oe&&(t.viewHooks??=[]).push(-r,oe),bt&&((t.viewHooks??=[]).push(r,bt),(t.viewCheckHooks??=[]).push(r,bt)),null!=Ft&&(t.destroyHooks??=[]).push(r,Ft)}}function Bt(t,n,r){Gi(t,n,3,r)}function xn(t,n,r,l){(3&t[_.Wg1])===r&&Gi(t,n,r,l)}function Ti(t,n){let r=t[_.Wg1];(3&r)===n&&(r&=16383,r+=1,t[_.Wg1]=r)}function Gi(t,n,r,l){const w=l??-1,V=n.length-1;let Z=0;for(let oe=void 0!==l?65535&t[_.wVl]:0;oe<V;oe++)if("number"==typeof n[oe+1]){if(Z=n[oe],null!=l&&Z>=l)break}else n[oe]<0&&(t[_.wVl]+=65536),(Z<w||-1==w)&&($t(t,r,n,oe),t[_.wVl]=(4294901760&t[_.wVl])+oe+2),oe++}function Mr(t,n){gt(4,t,n);const r=(0,Qn.Ht)(null);try{n.call(t)}finally{(0,Qn.Ht)(r),gt(5,t,n)}}function $t(t,n,r,l){const p=r[l]<0,w=r[l+1],Z=t[p?-r[l]:r[l]];p?t[_.Wg1]>>14<t[_.wVl]>>16&&(3&t[_.Wg1])===n&&(t[_.Wg1]+=16384,Mr(Z,w)):Mr(Z,w)}class In{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,r,l,p){this.factory=n,this.name=p,this.canSeeViewProviders=r,this.injectImpl=l}}function Ai(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function Cs(t){return 3===t||4===t||6===t}function Xs(t){return 64===t.charCodeAt(0)}function Fs(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let r=-1;for(let l=0;l<n.length;l++){const p=n[l];"number"==typeof p?r=p:0===r||po(t,r,p,0,-1===r||2===r?n[++l]:null)}}return t}function po(t,n,r,l,p){let w=0,V=t.length;if(-1===n)V=-1;else for(;w<t.length;){const Z=t[w++];if("number"==typeof Z){if(Z===n){V=-1;break}if(Z>n){V=w-1;break}}}for(;w<t.length;){const Z=t[w];if("number"==typeof Z)break;if(Z===r)return void(null!==p&&(t[w+1]=p));w++,null!==p&&w++}-1!==V&&(t.splice(V,0,n),w=V+1),t.splice(w++,0,r),null!==p&&t.splice(w++,0,p)}function Ks(t){return-1!==t}function as(t){return 32767&t}function vi(t,n){let r=function Pn(t){return t>>16}(t),l=n;for(;r>0;)l=l[_.X5O],r--;return l}let Ni=!0;function Jt(t){const n=Ni;return Ni=t,n}let ot=0;const bn={};function Yr(t,n){const r=to(t,n);if(-1!==r)return r;const l=n[_.eDl];l.firstCreatePass&&(t.injectorIndex=n.length,oo(l.data,t),oo(n,null),oo(l.blueprint,null));const p=Ho(t,n),w=t.injectorIndex;if(Ks(p)){const V=as(p),Z=vi(p,n),oe=Z[_.eDl].data;for(let bt=0;bt<8;bt++)n[w+bt]=Z[V+bt]|oe[V+bt]}return n[w+8]=p,w}function oo(t,n){t.push(0,0,0,0,0,0,0,0,n)}function to(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Ho(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let r=0,l=null,p=n;for(;null!==p;){if(l=ds(p),null===l)return-1;if(r++,p=p[_.X5O],-1!==l.injectorIndex)return l.injectorIndex|r<<16}return-1}function Co(t,n,r){!function _i(t,n,r){let l;"string"==typeof r?l=r.charCodeAt(0)||0:r.hasOwnProperty(_.p9y)&&(l=r[_.p9y]),null==l&&(l=r[_.p9y]=ot++);const p=255&l;n.data[t+(p>>5)]|=1<<p}(t,n,r)}function Dt(t,n,r){if(8&r||void 0!==t)return t;(0,_.$Hz)(n,"NodeInjector")}function An(t,n,r,l){if(8&r&&void 0===l&&(l=null),!(3&r)){const p=t[_.YEL],w=(0,_.a2B)(void 0);try{return p?p.get(n,l,8&r):(0,_.MzJ)(n,l,8&r)}finally{(0,_.a2B)(w)}}return Dt(l,n,r)}function Lt(t,n,r,l=0,p){if(null!==t){if(2048&n[_.Wg1]&&!(2&l)){const V=function ls(t,n,r,l,p){let w=t,V=n;for(;null!==w&&null!==V&&2048&V[_.Wg1]&&!(0,_.EFk)(V);){const Z=sn(w,V,r,2|l,bn);if(Z!==bn)return Z;let oe=w.parent;if(!oe){const bt=V[_.oMQ];if(bt){const Ft=bt.get(r,bn,l);if(Ft!==bn)return Ft}oe=ds(V),V=V[_.X5O]}w=oe}return p}(t,n,r,l,bn);if(V!==bn)return V}const w=sn(t,n,r,l,bn);if(w!==bn)return w}return An(n,r,l,p)}function sn(t,n,r,l,p){const w=function Es(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(_.p9y)?t[_.p9y]:void 0;return"number"==typeof n?n>=0?255&n:Rr:n}(r);if("function"==typeof w){if(!(0,_.ihb)(n,t,l))return 1&l?Dt(p,r,l):An(n,r,l,p);try{let V;if(V=w(l),null!=V||8&l)return V;(0,_.$Hz)(r)}finally{(0,_.niQ)()}}else if("number"==typeof w){let V=null,Z=to(t,n),oe=-1,bt=1&l?n[_.b5C][_.qlT]:null;for((-1===Z||4&l)&&(oe=-1===Z?Ho(t,n):n[Z+8],-1!==oe&&Fn(l,!1)?(V=n[_.eDl],Z=as(oe),n=vi(oe,n)):Z=-1);-1!==Z;){const Ft=n[_.eDl];if(Mn(w,Z,Ft.data)){const gn=dt(Z,n,r,V,l,bt);if(gn!==bn)return gn}oe=n[Z+8],-1!==oe&&Fn(l,n[_.eDl].data[Z+8]===bt)&&Mn(w,Z,n)?(V=Ft,Z=as(oe),n=v
vendor: 4,871 bytes, line 1
1i(oe,n)):Z=-1}}return p}function dt(t,n,r,l,p,w){const V=n[_.eDl],Z=V.data[t+8],Ft=qi(Z,V,r,null==l?(0,_.Qs1)(Z)&&Ni:l!=V&&!!(3&Z.type),1&p&&w===Z);return null!==Ft?$i(n,V,Ft,Z,p):bn}function qi(t,n,r,l,p){const w=t.providerIndexes,V=n.data,Z=1048575&w,oe=t.directiveStart,Ft=w>>20,Jn=p?Z+Ft:t.directiveEnd;for(let ei=l?Z:Z+Ft;ei<Jn;ei++){const cr=V[ei];if(ei<oe&&r===cr||ei>=oe&&cr.type===r)return ei}if(p){const ei=V[oe];if(ei&&(0,_.JlV)(ei)&&ei.type===r)return oe}return null}function $i(t,n,r,l,p){let w=t[r];const V=n.data;if(w instanceof In){const Z=w;if(Z.resolving){const ei=(0,_.PP7)(V[r]);throw(0,_.PQT)(ei)}const oe=Jt(Z.canSeeViewProviders);Z.resolving=!0;const gn=Z.injectImpl?(0,_.a2B)(Z.injectImpl):null;(0,_.ihb)(t,l,0);try{w=t[r]=Z.factory(void 0,p,V,t,l),n.firstCreatePass&&r>=l.directiveStart&&function zn(t,n,r){const{ngOnChanges:l,ngOnInit:p,ngDoCheck:w}=n.type.prototype;if(l){const V=Er(n);(r.preOrderHooks??=[]).push(t,V),(r.preOrderCheckHooks??=[]).push(t,V)}p&&(r.preOrderHooks??=[]).push(0-t,p),w&&((r.preOrderHooks??=[]).push(t,w),(r.preOrderCheckHooks??=[]).push(t,w))}(r,V[r],n)}finally{null!==gn&&(0,_.a2B)(gn),Jt(oe),Z.resolving=!1,(0,_.niQ)()}}return w}function Mn(t,n,r){return!!(r[n+(t>>5)]&1<<t)}function Fn(t,n){return!(2&t||1&t&&n)}class Ui{_tNode;_lView;constructor(n,r){this._tNode=n,this._lView=r}get(n,r,l){return Lt(this._tNode,this._lView,n,(0,_.hjC)(l),r)}}function Rr(){return new Ui((0,_.Mx4)(),(0,_.OAn)())}function fs(t){return Vi(()=>{const n=t.prototype.constructor,r=n[_.zSs]||Rs(n),l=Object.prototype;let p=Object.getPrototypeOf(t.prototype).constructor;for(;p&&p!==l;){const w=p[_.zSs]||Rs(p);if(w&&w!==r)return w;p=Object.getPrototypeOf(p)}return w=>new w})}function Rs(t){return(0,_.Jzi)(t)?()=>{const n=Rs((0,_.nl4)(t));return n&&n()}:(0,_.wGu)(t)}function ds(t){const n=t[_.eDl],r=n.type;return 2===r?n.declTNode:1===r?t[_.qlT]:null}function Jo(t){return function ia(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const r=t.attrs;if(r){const l=r.length;let p=0;for(;p<l;){const w=r[p];if(Cs(w))break;if(0===w)p+=2;else if("number"==typeof w)for(p++;p<l&&"string"==typeof r[p];)p++;else{if(w===n)return r[p+1];p+=2}}}return null}((0,_.Mx4)(),t)}const Zo=fr("Attribute",t=>({attributeName:t,__NG_ELEMENT_ID__:()=>Jo(t)}));let As=null;function Ct(t){return xt(function kl(){return As=As||new qe}().parameters(t))}function xt(t){return t.map(n=>function kn(t){const n={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let r=0;r<t.length;r++){const l=t[r];if(void 0===l)continue;const p=Object.getPrototypeOf(l);if(l instanceof Ae||"Optional"===p.ngMetadataName)n.optional=!0;else if(l instanceof z||"SkipSelf"===p.ngMetadataName)n.skipSelf=!0;else if(l instanceof xe||"Self"===p.ngMetadataName)n.self=!0;else if(l instanceof Ee||"Host"===p.ngMetadataName)n.host=!0;else if(l instanceof un)n.token=l.token;else if(l instanceof Zo){if(void 0===l.attributeName)throw new _.buA(204,!1);n.attribute=l.attributeName}else n.token=l}else n.token=void 0===t||Array.isArray(t)&&0===t.length?null:t;return n}(n))}const fi=(0,_.kLh)({provide:String,useValue:_.kLh});function Hi(t){return void 0!==t.useClass}function Lr(t){return void 0!==t.useFactory}const Gr=ci("Injectable",void 0,void 0,0,(t,n)=>function Hn(t,n){let r=null,l=null;t.hasOwnProperty(_.yAH)||Object.defineProperty(t,_.yAH,{get:()=>(null===r&&(r=Ce().compileInjectable(Ue,`ng:///${t.name}/\u0275prov.js`,function is(t,n){const r=n||{providedIn:null},l={name:t.name,type:t,typeArgumentCount:0,providedIn:r.providedIn};return(Hi(r)||Lr(r))&&void 0!==r.deps&&(l.deps=xt(r.deps)),Hi(r)?l.useClass=r.useClass:function ur(t){return fi in t}(r)?l.useValue=r.useValue:Lr(r)?l.useFactory=r.useFactory:function Or(t){return void 0!==t.useExisting}(r)&&(l.useExisting=r.useExisting),l}(t,n))),r)}),t.hasOwnProperty(_.zSs)||Object.defineProperty(t,_.zSs,{get:()=>{if(null===l){const p=Ce();l=p.compileFactory(Ue,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:Ct(t),target:p.FactoryTarget.Injectable})}return l},configurable:!0})}(t,n));function lo(){return ms((0,_.Mx4)(),(0,_.OAn)())}function ms(t,n){return new Gs((0,_.d31)(t,n))}let Gs=(()=>class t{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=lo})();function No(t){return t instanceof Gs?t.nativeElement:t}function Do(){return this._results[Symbol.iterator]()}class Oo{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new di.B}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,r){return this._results.reduce(n,r)}
vendor: 5,220 bytes, line 1
1forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,r){this.dirty=!1;const l=(0,_.Bqz)(n);(this._changesDetected=!(0,_.ng7)(this._results,l,r))&&(this._results=l,this.length=l.length,this.last=l[this.length-1],this.first=l[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Do}function no(t){return!(128&~t.flags)}var Qa=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Qa||{});const cs=new Map;let ll=0;function Ps(t){cs.delete(t[_.ID])}const Fo="__ngContext__";function ca(t,n){(0,_.q$2)(n)?(t[Fo]=n[_.ID],function wl(t){cs.set(t[_.ID],t)}(n)):t[Fo]=n}function Qr(t){return _o(t[_.EJG])}function Ds(t){return _o(t[_.K29])}function _o(t){for(;null!==t&&!(0,_.A0l)(t);)t=t[_.K29];return t}let Nr;function Bs(t){Nr=t}function Qs(){if(void 0!==Nr)return Nr;if(typeof document<"u")return document;throw new _.buA(210,!1)}const qs=new _.nKC("",{providedIn:"root",factory:()=>eo}),eo="ng",dc=new _.nKC(""),Cc=new _.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Sl=new _.nKC(""),uc=new _.nKC("",{providedIn:"root",factory:()=>Qs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),il={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},da=new _.nKC("",{providedIn:"root",factory:()=>il});function ps(){const t=new wa;return t.store=function fc(t,n){const r=t.getElementById(n+"-state");if(r?.textContent)try{return JSON.parse(r.textContent)}catch(l){console.warn("Exception while restoring TransferState for app "+n,l)}return{}}(Qs(),(0,_.WQX)(qs)),t}let wa=(()=>{class t{static \u0275prov=(0,_.jDH)({token:t,providedIn:"root",factory:ps});store={};onSerializeCallbacks={};get(r,l){return void 0!==this.store[r]?this.store[r]:l}set(r,l){this.store[r]=l}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(r,l){this.onSerializeCallbacks[r]=l}toJson(){for(const r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(l){console.warn("Exception in onSerialize callback: ",l)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return t})();const Sc=new _.nKC("",{providedIn:"root",factory:()=>!1}),$l=new _.nKC(""),Fl=new _.nKC(""),zo={passive:!0,capture:!0},ne=new WeakMap,Oe=new WeakMap,me=new WeakMap,Re=["click","keydown"],Rt=["mouseenter","mouseover","focusin"];let Xt=null,Cn=0;class mi{callbacks=new Set;listener=()=>{for(const n of this.callbacks)n()}}function Zi(t,n){let r=Oe.get(t);if(!r){r=new mi,Oe.set(t,r);for(const l of Re)t.addEventListener(l,r.listener,zo)}return r.callbacks.add(n),()=>{const{callbacks:l,listener:p}=r;if(l.delete(n),0===l.size){Oe.delete(t);for(const w of Re)t.removeEventListener(w,p,zo)}}}function Ar(t,n){let r=ne.get(t);if(!r){r=new mi,ne.set(t,r);for(const l of Rt)t.addEventListener(l,r.listener,zo)}return r.callbacks.add(n),()=>{const{callbacks:l,listener:p}=r;if(l.delete(n),0===l.size){for(const w of Rt)t.removeEventListener(w,p,zo);ne.delete(t)}}}const Kl=new _.nKC("");function rl(t){return!(32&~t.flags)}function Jl(t){let n=t._lView;return 2===n[_.eDl].type?null:((0,_.EFk)(n)&&(n=n[_.Yw1]),n)}function rs(t){return t.get($l,!1,{optional:!0})}function er(t,n){const r=t.contentQueries;if(null!==r){const l=(0,Qn.Ht)(null);try{for(let p=0;p<r.length;p+=2){const V=r[p+1];if(-1!==V){const Z=t.data[V];(0,_.GA0)(r[p]),Z.contentQueries(2,n[V],V)}}}finally{(0,Qn.Ht)(l)}}}function Fr(t,n,r){(0,_.GA0)(0);const l=(0,Qn.Ht)(null);try{n(t,r)}finally{(0,Qn.Ht)(l)}}function vo(t,n,r){if((0,_.srX)(n)){const l=(0,Qn.Ht)(null);try{const w=n.directiveEnd;for(let V=n.directiveStart;V<w;V++){const Z=t.data[V];Z.contentQueries&&Z.contentQueries(1,r[V],V)}}finally{(0,Qn.Ht)(l)}}}var Bo=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Bo||{});let P,nn;function J(){if(void 0===P&&(P=null,_.laP.trustedTypes))try{P=_.laP.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return P}function Be(t){return J()?.createHTML(t)||t}function qn(){if(void 0===nn&&(nn=null,_.laP.trustedTypes))try{nn=_.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return nn}function Xi(t){return qn()?.createHTML(t)||t}function Jr(t){return qn()?.createScript(t)||t}function ws(t){return qn()?.createScriptURL(t)||t}class fo{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_.ok8})`}}class Na extends fo{getTypeName(){return"HTML"}}class Zl extends fo{getTypeName(){return"Style"}}
vendor: 6,011 bytes, line 1
1class jl extends fo{getTypeName(){return"Script"}}class Gu extends fo{getTypeName(){return"URL"}}class du extends fo{getTypeName(){return"ResourceURL"}}function Qc(t){return t instanceof fo?t.changingThisBreaksApplicationSecurity:t}function md(t,n){const r=function Bd(t){return t instanceof fo&&t.getTypeName()||null}(t);if(null!=r&&r!==n){if("ResourceURL"===r&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${r} (see ${_.ok8})`)}return r===n}function Ku(t){return new Na(t)}function Fh(t){return new Zl(t)}function Bh(t){return new jl(t)}function Qu(t){return new Gu(t)}function mo(t){return new du(t)}function Xd(t){const n=new Iu(t);return function Y(){try{return!!(new window.DOMParser).parseFromString(Be(""),"text/html")}catch{return!1}}()?new hm(n):n}class hm{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const r=(new window.DOMParser).parseFromString(Be(n),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(n):(r.firstChild?.remove(),r)}catch{return null}}}class Iu{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const r=this.inertDocument.createElement("template");return r.innerHTML=Be(n),r}}const $=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function be(t){return(t=String(t)).match($)?t:"unsafe:"+t}function vt(t){const n={};for(const r of t.split(","))n[r]=!0;return n}function Wt(...t){const n={};for(const r of t)for(const l in r)r.hasOwnProperty(l)&&(n[l]=!0);return n}const fn=vt("area,br,col,hr,img,wbr"),$n=vt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),si=vt("rp,rt"),jr=Wt(fn,Wt($n,vt("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")),Wt(si,vt("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")),Wt(si,$n)),ss=vt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),os=Wt(ss,vt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vt("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")),_s=vt("script,style,template"),To=Wt(ss,vt("action,formaction,data,codebase"));class Io{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let r=n.firstChild,l=!0,p=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?l=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,l&&r.firstChild)p.push(r),r=Za(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let w=ql(r);if(w){r=w;break}r=p.pop()}return this.buf.join("")}startElement(n){const r=Cl(n).toLowerCase();if(!jr.hasOwnProperty(r))return this.sanitizedSomething=!0,!_s.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const l=n.attributes;for(let p=0;p<l.length;p++){const w=l.item(p),V=w.name,Z=V.toLowerCase();if(!os.hasOwnProperty(Z)){this.sanitizedSomething=!0;continue}let oe=w.value;ss[Z]&&(oe=be(oe)),this.buf.push(" ",V,'="',Lf(oe),'"')}return this.buf.push(">"),!0}endElement(n){const r=Cl(n).toLowerCase();jr.hasOwnProperty(r)&&!fn.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(n){this.buf.push(Lf(n))}}function ql(t){const n=t.nextSibling;if(n&&t!==n.previousSibling)throw Cu(n);return n}function Za(t){const n=t.firstChild;if(n&&function fa(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,n))throw Cu(n);return n}function Cl(t){const n=t.nodeName;return"string"==typeof n?n:"FORM"}function Cu(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const Jd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rf=/([^\#-~ |!])/g;function Lf(t){return t.replace(/&/g,"&").replace(Jd,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(rf,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let sf;function Zd(t,n){let r=null;try{sf=sf||Xd(t);let l=n?String(n):"";r=sf.getInertBodyElement(l);let p=5,w=l;do{if(0===p)throw new Error("Failed to sanitize html because the input is unstable");p--,l=w,w=r.innerHTML,r=sf.getInertBodyElement(l)}while(l!==w);return Be((new Io).sanitizeChildren(qd(r)||r))}finally{if(r){const l=qd(r)||r;for(;l.firstChild;)l.firstChild.remove()}}}function qd(t){return"content"in t&&function uu(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const Au=/^>|^->|<!--|-->|--!>|<!-$/g,Fc=/(<|>)/g;function Vh(t,n){return t.createText(n)}function Xu(t,n,r){t.setValue(n,r)}function Xc(t,n){return t.createComment(function sc(t){return t.replace(Au,n=>n.replace(Fc,"\u200b$1\u200b"))}(n))}
1function Jc(t,n,r){return t.createElement(n,r)}function ku(t,n,r,l,p){t.insertBefore(n,r,l,p)}function Su(t,n,r){t.appendChild(n,r)}function Uh(t,n,r,l,p){null!==l?ku(t,n,r,l,p):Su(t,n,r)}function xu(t,n,r,l){t.removeChild(null,n,r,l)}function _h(t,n,r){const{mergedAttrs:l,classes:p,styles:w}=r;null!==l&&function Ns(t,n,r){let l=0;for(;l<r.length;){const p=r[l];if("number"==typeof p){if(0!==p)break;l++;const w=r[l++],V=r[l++],Z=r[l++];t.setAttribute(n,V,Z,w)}else{const w=p,V=r[++l];Xs(w)?t.setProperty(n,w,V):t.setAttribute(n,w,V),l++}}}(t,n,l),null!==p&&function Nf(t,n,r){""===r?t.removeAttribute(n,"class"):t.setAttribute(n,"class",r)}(t,n,p),null!==w&&function ph(t,n,r){t.setAttribute(n,"style",r)}(t,n,w)}var Vd=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Vd||{});function fm(t){const n=oc();return n?Xi(n.sanitize(Vd.HTML,t)||""):md(t,"HTML")?Xi(Qc(t)):Zd(Qs(),(0,_.eFE)(t))}function hu(t){const n=oc();return n?n.sanitize(Vd.URL,t)||"":md(t,"URL")?Qc(t):be((0,_.eFE)(t))}function yc(t){const n=oc();if(n)return ws(n.sanitize(Vd.RESOURCE_URL,t)||"");if(md(t,"ResourceURL"))return ws(Qc(t));throw new _.buA(904,!1)}function jh(t){return function mt(t){return J()?.createScriptURL(t)||t}(t[0])}const Hl=new Set(["embed","frame","iframe","media","script"]),Wh=new Set(["base","link","script"]);function Ju(t,n,r){return function pd(t,n){return"src"===n&&Hl.has(t)||"href"===n&&Wh.has(t)||"xlink:href"===n&&"script"===t?yc:hu}(n,r)(t)}function oc(){const t=(0,_.OAn)();return t&&t[_.M0L].sanitizer}const eu=new Set(["attributename"]),Hh={iframe:new Set(["sandbox","allow","allowfullscreen","referrerpolicy","csp","fetchpriority"]),animate:eu,set:eu,animatemotion:eu,animatetransform:eu};function K(t,n,r){const l=n.toLowerCase(),p=r.toLowerCase();if(!Hh[l]?.has(p))return t;const w=(0,_.CpD)();if(2!==w.type)return t;const V=(0,_.OAn)();throw"iframe"===l&&function gh(t){const n=(0,_.OAn)();t.src="",t.srcdoc=Be(""),xu(n[_.GpT],t)}((0,_.d31)(w,V)),new _.buA(-910,!1)}function Ts(t){return t instanceof Function?t():t}function _d(t){if(!(0,_.xUg)(t))throw new _.buA(906,`The ${(0,_.PP7)(t)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function of(t,n,r){let l=t.length;for(;;){const p=t.indexOf(n,r);if(-1===p)return p;if(0===p||t.charCodeAt(p-1)<=32){const w=n.length;if(p+w===l||t.charCodeAt(p+w)<=32)return p}r=p+1}}const Zu="ng-template";function Ym(t,n,r,l){let p=0;if(l){for(;p<n.length&&"string"==typeof n[p];p+=2)if("class"===n[p]&&-1!==of(n[p+1].toLowerCase(),r,0))return!0}else if(yh(t))return!1;if(p=n.indexOf(1,p),p>-1){let w;for(;++p<n.length&&"string"==typeof(w=n[p]);)if(w.toLowerCase()===r)return!0}return!1}function yh(t){return 4===t.type&&t.value!==Zu}function gd(t,n,r){return n===(4!==t.type||r?t.value:Zu)}function Wa(t,n,r){let l=4;const p=t.attrs,w=null!==p?function zm(t){for(let n=0;n<t.length;n++)if(Cs(t[n]))return n;return t.length}(p):0;let V=!1;for(let Z=0;Z<n.length;Z++){const oe=n[Z];if("number"!=typeof oe){if(!V)if(4&l){if(l=2|1&l,""!==oe&&!gd(t,oe,r)||""===oe&&1===n.length){if(Ad(l))return!1;V=!0}}else if(8&l){if(null===p||!Ym(t,p,oe,r)){if(Ad(l))return!1;V=!0}}else{const bt=n[++Z],Ft=wp(oe,p,yh(t),r);if(-1===Ft){if(Ad(l))return!1;V=!0;continue}if(""!==bt){let gn;if(gn=Ft>w?"":p[Ft+1].toLowerCase(),2&l&&bt!==gn){if(Ad(l))return!1;V=!0}}}}else{if(!V&&!Ad(l)&&!Ad(oe))return!1;if(V&&Ad(oe))continue;V=!1,l=oe|1&l}}return Ad(l)||V}function Ad(t){return!(1&t)}function wp(t,n,r,l){if(null===n)return-1;let p=0;if(l||!r){let w=!1;for(;p<n.length;){const V=n[p];if(V===t)return p;if(3===V||6===V)w=!0;else{if(1===V||2===V){let Z=n[++p];for(;"string"==typeof Z;)Z=n[++p];continue}if(4===V)break;if(0===V){p+=4;continue}}p+=w?1:2}return-1}return function af(t,n){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){const l=t[r];if("number"==typeof l)return-1;if(l===n)return r;r++}return-1}(n,t)}function Rl(t,n,r=!1){for(let l=0;l<n.length;l++)if(Wa(t,n[l],r))return!0;return!1}function Tp(t,n){e:for(let r=0;r<n.length;r++){const l=n[r];if(t.length===l.length){for(let p=0;p<t.length;p++)if(t[p]!==l[p])continue e;return!0}}return!1}function Yh(t,n){return t?":not("+n.trim()+")":n}function pm(t){let n=t[0],r=1,l=2,p="",w=!1;for(;r<t.length;){let V=t[r];if("string"==typeof V)if(2&l){const Z=t[++r];p+="["+V+(Z.length>0?'="'+Z+'"':"")+"]"}else 8&l?p+="."+V:4&l&&(p+=" "+V);else""!==p&&!Ad(V)&&(n+=Yh(w,p),p=""),l=V,w=w||!Ad(l);r++}
vendor: 4,733 bytes, line 1
1return""!==p&&(n+=Yh(w,p)),n}const ya={};function eh(t,n,r,l,p,w,V,Z,oe,bt,Ft){const gn=_.Yw1+l,Jn=gn+p,ei=function mu(t,n){const r=[];for(let l=0;l<n;l++)r.push(l<t?null:ya);return r}(gn,Jn),cr="function"==typeof bt?bt():bt;return ei[_.eDl]={type:t,blueprint:ei,template:r,queries:null,viewQuery:Z,declTNode:n,data:ei.slice().fill(null,gn),bindingStartIndex:gn,expandoStartIndex:Jn,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 w?w():w,pipeRegistry:"function"==typeof V?V():V,firstChild:null,schemas:oe,consts:cr,incompleteFirstPass:!1,ssrId:Ft}}function Vf(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=eh(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Pu(t,n,r,l,p,w,V,Z,oe,bt,Ft){const gn=n.blueprint.slice();return gn[_.jgP]=p,gn[_.Wg1]=1228|l,(null!==bt||t&&2048&t[_.Wg1])&&(gn[_.Wg1]|=2048),(0,_.HUe)(gn),gn[_.f7T]=gn[_.X5O]=t,gn[_.SKP]=r,gn[_.M0L]=V||t&&t[_.M0L],gn[_.GpT]=Z||t&&t[_.GpT],gn[_.YEL]=oe||t&&t[_.YEL]||null,gn[_.qlT]=w,gn[_.ID]=function wo(){return ll++}(),gn[_.tcA]=Ft,gn[_.oMQ]=bt,gn[_.b5C]=2==n.type?t[_.b5C]:gn,gn}function tu(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function bh(t,n,r,l){if(0===r)return-1;const p=n.length;for(let w=0;w<r;w++)n.push(l),t.blueprint.push(l),t.data.push(null);return p}function th(t,n){return t[_.EJG]?t[_.Yrj][_.K29]=n:t[_.EJG]=n,t[_.Yrj]=n,n}function zh(t=1){nh((0,_.klJ)(),(0,_.OAn)(),(0,_._px)()+t,!1)}function nh(t,n,r,l){if(!l)if(3&~n[_.Wg1]){const w=t.preOrderHooks;null!==w&&xn(n,w,0,r)}else{const w=t.preOrderCheckHooks;null!==w&&Bt(n,w,r)}(0,_.ypq)(r)}var Eh=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(Eh||{});function Bc(t,n,r,l){const p=(0,Qn.Ht)(null);try{const[w,V,Z]=t.inputs[r];let oe=null;0!==(V&Eh.SignalBased)&&(oe=n[w][Qn.bh]),null!==oe&&void 0!==oe.transformFn?l=oe.transformFn(l):null!==Z&&(l=Z.call(n,l)),null!==t.setInput?t.setInput(n,oe,l,r,w):Qi(n,oe,w,l)}finally{(0,Qn.Ht)(p)}}var pu=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(pu||{});let Dh;function ih(t,n){return Dh(t,n)}function wh(t){if(!t)return 0;const n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function rh(t,n){return t.getPropertyValue(n).split(",").map(l=>l.trim())}function Mp(t,n){return void 0!==t&&t.duration>n.duration}function ym(t){return(null!=t.animationName||null!=t.propertyName)&&t.duration>0}function $m(t,n,r){if(!r)return;const l=t.getAnimations();return 0===l.length?function Eg(t,n){const r=getComputedStyle(t),l=function vm(t){const n=rh(t,"animation-name"),r=rh(t,"animation-delay"),l=rh(t,"animation-duration"),p={animationName:"",propertyName:void 0,duration:0};for(let w=0;w<n.length;w++){const V=wh(r[w])+wh(l[w]);V>p.duration&&(p.animationName=n[w],p.duration=V)}return p}(r),p=function gm(t){const n=rh(t,"transition-property"),r=rh(t,"transition-duration"),l=rh(t,"transition-delay"),p={propertyName:"",duration:0,animationName:void 0};for(let w=0;w<n.length;w++){const V=wh(l[w])+wh(r[w]);V>p.duration&&(p.propertyName=n[w],p.duration=V)}return p}(r),w=l.duration>p.duration?l:p;Mp(n.get(t),w)||ym(w)&&n.set(t,w)}(t,n):function bm(t,n,r){let l={animationName:void 0,propertyName:void 0,duration:0};for(const p of r){const w=p.effect?.getTiming(),V="number"==typeof w?.duration?w.duration:0;let oe,bt,Z=(w?.delay??0)+V;p.animationName?bt=p.animationName:oe=p.transitionProperty,Z>=l.duration&&(l={animationName:bt,propertyName:oe,duration:Z})}Mp(n.get(t),l)||ym(l)&&n.set(t,l)}(t,n,l)}const Ud=new Set;var Uf=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Uf||{});const nu=new _.nKC(""),Ip=new Set;function Ec(t){Ip.has(t)||(Ip.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}const g_=!1,Ou=class Em extends di.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,(0,_.M6u)()&&(this.destroyRef=(0,_.WQX)(_.abz,{optional:!0})??void 0,this.pendingTasks=(0,_.WQX)(_.rev,{optional:!0})??void 0)}emit(n){const r=(0,Qn.Ht)(null);try{super.next(n)}finally{(0,Qn.Ht)(r)}}subscribe(n,r,l){let p=n,w=r||(()=>null),V=l;if(n&&"object"==typeof n){const oe=n;p=oe.next?.bind(oe),w=oe.error?.bind(oe),V=oe.complete?.bind(oe)}this.__isAsync&&(w=this.wrapInTimeout(w),p&&(p=this.wrapInTimeout(p)),V&&(V=this.wrapInTimeout(V))
vendor: 7,126 bytes, line 1
1);const Z=super.subscribe({next:p,error:w,complete:V});return n instanceof ai.yU&&n.add(Z),Z}wrapInTimeout(n){return r=>{const l=this.pendingTasks?.add();setTimeout(()=>{try{n(r)}finally{void 0!==l&&this.pendingTasks?.remove(l)}})}}};function Dg(t){let n,r;function l(){t=_.lQ1;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),l()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{t(),l()})),()=>l()}function Th(t){return queueMicrotask(()=>t()),()=>{t=_.lQ1}}const Gm="isAngularZone",df=Gm+"_ID";let v_=0;class Ko{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ou(!1);onMicrotaskEmpty=new Ou(!1);onStable=new Ou(!1);onError=new Ou(!1);constructor(n){const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:l=!1,shouldCoalesceRunChangeDetection:p=!1,scheduleInRootZone:w=g_}=n;if(typeof Zone>"u")throw new _.buA(908,!1);Zone.assertZonePatched();const V=this;V._nesting=0,V._outer=V._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(V._inner=V._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(V._inner=V._inner.fork(Zone.longStackTraceZoneSpec)),V.shouldCoalesceEventChangeDetection=!p&&l,V.shouldCoalesceRunChangeDetection=p,V.callbackScheduled=!1,V.scheduleInRootZone=w,function $h(t){const n=()=>{!function Cp(t){function n(){Dg(()=>{t.callbackScheduled=!1,Dm(t),t.isCheckStableRunning=!0,jd(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Dm(t))}(t)},r=v_++;t._inner=t._inner.fork({name:"angular",properties:{[Gm]:!0,[df]:r,[df+r]:!0},onInvokeTask:(l,p,w,V,Z,oe)=>{if(function Ap(t){return Sp(t,"__ignore_ng_zone__")}(oe))return l.invokeTask(w,V,Z,oe);try{return Gh(t),l.invokeTask(w,V,Z,oe)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===V.type||t.shouldCoalesceRunChangeDetection)&&n(),Km(t)}},onInvoke:(l,p,w,V,Z,oe,bt)=>{try{return Gh(t),l.invoke(w,V,Z,oe,bt)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function kp(t){return Sp(t,"__scheduler_tick__")}(oe)&&n(),Km(t)}},onHasTask:(l,p,w,V)=>{l.hasTask(w,V),p===w&&("microTask"==V.change?(t._hasPendingMicrotasks=V.microTask,Dm(t),jd(t)):"macroTask"==V.change&&(t.hasPendingMacrotasks=V.macroTask))},onHandleError:(l,p,w,V)=>(l.handleError(w,V),t.runOutsideAngular(()=>t.onError.emit(V)),!1)})}(V)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Gm)}static assertInAngularZone(){if(!Ko.isInAngularZone())throw new _.buA(909,!1)}static assertNotInAngularZone(){if(Ko.isInAngularZone())throw new _.buA(909,!1)}run(n,r,l){return this._inner.run(n,r,l)}runTask(n,r,l,p){const w=this._inner,V=w.scheduleEventTask("NgZoneEvent: "+p,n,y_,_.lQ1,_.lQ1);try{return w.runTask(V,r,l)}finally{w.cancelTask(V)}}runGuarded(n,r,l){return this._inner.runGuarded(n,r,l)}runOutsideAngular(n){return this._outer.run(n)}}const y_={};function jd(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Dm(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function Gh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Km(t){t._nesting--,jd(t)}class uf{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ou;onMicrotaskEmpty=new Ou;onStable=new Ou;onError=new Ou;run(n,r,l){return n.apply(r,l)}runGuarded(n,r,l){return n.apply(r,l)}runOutsideAngular(n){return n()}runTask(n,r,l,p){return n.apply(r,l)}}function Sp(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}function Tg(t="zone.js",n){return"noop"===t?new uf:"zone.js"===t?new Ko(n):t}let hf=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,_.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();const jf=[0,1,2,3];let Qm=(()=>{class t{ngZone=(0,_.WQX)(Ko);scheduler=(0,_.WQX)(_.hk6);errorHandler=(0,_.WQX)(_.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,_.WQX)(nu,{optional:!0})}execute(){const r=this.sequences.size>0;r&>(16),this.executing=!0;for(const l of jf)for(const p of this.sequences)if(!p.erroredOrDestroyed&&p.hooks[l])try{p.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,p.hooks[l])(p.pipelinedValue),p.snapshot))}catch(w){p.erroredOrDestroyed=!0,this.errorHandler?.handleError(w)}this.executing=!1;for(const l of this.sequences)l.afterRun(),l.once&&(this.sequences.delete(l),l.destroy());for(const l of this.deferredRegistrations)this.sequences.add(l);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),r&>(17)}register(r){const{view:l}=r;void 0!==l?((l[_.JEi]??=[]).push(r),(0,_.blu)(l),l[_.Wg1]|=8192):this.executing?this.deferredRegistrations.add(r):this.addSequence(r)}addSequence(r){this.sequences.add(r),this.scheduler.notify(7)}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}maybeTrace(r,l){return l?l.run(Uf.AFTER_NEXT_RENDER,r):r()}static \u0275prov=(0,_.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();class Mh{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,r,l,p,w,V=null){this.impl=n,this.hooks=r,this.view=l,this.once=p,this.snapshot=V,this.unregisterOnDestroy=w?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[_.JEi];n&&(this.view[_.JEi]=n.filter(r=>r!==this))}}function xp(t,n){const r=n?.injector??(0,_.WQX)(_.zZn);return Ec("NgAfterRender"),b_(t,r,n,!1)}function Rp(t,n){const r=n?.injector??(0,_.WQX)(_.zZn);return Ec("NgAfterNextRender"),b_(t,r,n,!0)}function b_(t,n,r,l){const p=n.get(hf);p.impl??=n.get(Qm);const w=n.get(nu,null,{optional:!0}),V=!0!==r?.manualCleanup?n.get(_.abz):null,Z=n.get(_.r4V,null,{optional:!0}),oe=new Mh(p.impl,function vd(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t),Z?.view,l,V,w?.snapshot(null));return p.impl.register(oe),oe}const E_={destroy(){}},Kh=new _.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ff(t,n,r){const l=t.get(Kh);if(Array.isArray(n))for(const p of n)l.queue.add(p),r?.detachedLeaveAnimationFns?.push(p);else l.queue.add(n),r?.detachedLeaveAnimationFns?.push(n);l.scheduler&&l.scheduler(t)}function Mg(t){const n=t.get(Kh);n.isScheduled||(Rp(()=>{n.isScheduled=!1;for(let r of n.queue)r();n.queue.clear()},{injector:t}),n.isScheduled=!0)}function mf(t){const n=t.get(Kh);
vendor: 19,250 bytes, line 1
1n.scheduler=Mg,n.scheduler(t)}function wm(t,n){for(const[r,l]of n)ff(t,l.animateFns)}function w_(t,n,r,l){const p=t?.[_.Isx]?.enter;null!==n&&p&&p.has(r.index)&&wm(l,p)}function Wf(t,n,r,l,p,w,V,Z){if(null!=p){let oe,bt=!1;(0,_.A0l)(p)?oe=p:(0,_.q$2)(p)&&(bt=!0,p=p[_.jgP]);const Ft=(0,_.IvY)(p);0===t&&null!==l?(w_(Z,l,w,r),null==V?Su(n,l,Ft):ku(n,l,Ft,V||null,!0)):1===t&&null!==l?(w_(Z,l,w,r),ku(n,l,Ft,V||null,!0)):2===t?Yf(Z,w,r,gn=>{xu(n,Ft,bt,gn)}):3===t&&Yf(Z,w,r,()=>{n.destroyNode(Ft)}),null!=oe&&function bi(t,n,r,l,p,w,V){const Z=l[_.s6P];Z!==(0,_.IvY)(l)&&Wf(n,t,r,w,Z,p,V);for(let bt=_.Y20;bt<l.length;bt++){const Ft=l[bt];re(Ft[_.eDl],Ft,t,n,w,Z)}}(n,t,r,oe,w,l,V)}}function Pp(t,n){pf(t,n),n[_.jgP]=null,n[_.qlT]=null}function pf(t,n){n[_.M0L].changeDetectionScheduler?.notify(9),re(t,n,n[_.GpT],2,null,null)}function Hf(t,n){const r=t[_.nfM],l=r.indexOf(n);r.splice(l,1)}function Ih(t,n){if((0,_.EPY)(n))return;const r=n[_.GpT];r.destroyNode&&re(t,n,r,3,null,null),function wv(t){let n=t[_.EJG];if(!n)return yd(t[_.eDl],t);for(;n;){let r=null;if((0,_.q$2)(n))r=n[_.EJG];else{const l=n[_.Y20];l&&(r=l)}if(!r){for(;n&&!n[_.K29]&&n!==t;)(0,_.q$2)(n)&&yd(n[_.eDl],n),n=n[_.f7T];null===n&&(n=t),(0,_.q$2)(n)&&yd(n[_.eDl],n),r=n&&n[_.K29]}n=r}}(n)}function yd(t,n){if((0,_.EPY)(n))return;const r=(0,Qn.Ht)(null);try{n[_.Wg1]&=-129,n[_.Wg1]|=256,n[_.Iaj]&&(0,Qn.XR)(n[_.Iaj]),function Tm(t,n){let r;if(null!=t&&null!=(r=t.destroyHooks))for(let l=0;l<r.length;l+=2){const p=n[r[l]];if(!(p instanceof In)){const w=r[l+1];if(Array.isArray(w))for(let V=0;V<w.length;V+=2){const Z=p[w[V]],oe=w[V+1];gt(4,Z,oe);try{oe.call(Z)}finally{gt(5,Z,oe)}}else{gt(4,p,w);try{w.call(p)}finally{gt(5,p,w)}}}}}(t,n),function zf(t,n){const r=t.cleanup,l=n[_.VVG];if(null!==r)for(let V=0;V<r.length-1;V+=2)if("string"==typeof r[V]){const Z=r[V+3];Z>=0?l[Z]():l[-Z].unsubscribe(),V+=2}else r[V].call(l[r[V+1]]);null!==l&&(n[_.VVG]=null);const p=n[_.Czx];if(null!==p){n[_.Czx]=null;for(let V=0;V<p.length;V++)(0,p[V])()}const w=n[_.tQN];if(null!==w){n[_.tQN]=null;for(const V of w)V.destroy()}}(t,n),1===n[_.eDl].type&&n[_.GpT].destroy();const l=n[_.rQE];if(null!==l&&(0,_.A0l)(n[_.f7T])){l!==n[_.f7T]&&Hf(l,n);const p=n[_.Ds7];null!==p&&p.detachView(t)}Ps(n)}finally{(0,Qn.Ht)(r)}}function Yf(t,n,r,l){const p=t?.[_.Isx];if(null==p||null==p.leave||!p.leave.has(n.index))return l(!1);t&&Ud.add(t),ff(r,()=>{if(p.leave&&p.leave.has(n.index)){const V=p.leave.get(n.index),Z=[];if(V){for(let oe=0;oe<V.animateFns.length;oe++){const bt=V.animateFns[oe],{promise:Ft}=bt();Z.push(Ft)}p.detachedLeaveAnimationFns=void 0}p.running=Promise.allSettled(Z),function Op(t,n){const r=t[_.Isx]?.running;r?r.then(()=>{t[_.Isx].running=void 0,Ud.delete(t),n(!0)}):n(!1)}(t,l)}else t&&Ud.delete(t),l(!1)},p)}function Lp(t,n,r){return _f(t,n.parent,r)}function _f(t,n,r){let l=n;for(;null!==l&&168&l.type;)l=(n=l).parent;if(null===l)return r[_.jgP];if((0,_.Qs1)(l)){const{encapsulation:p}=t.data[l.directiveStart+l.componentOffset];if(p===Bo.None||p===Bo.Emulated)return null}return(0,_.d31)(l,r)}function Xm(t,n,r){return gf(t,n,r)}function Lu(t,n,r){return 40&t.type?(0,_.d31)(t,r):null}let Np,gf=Lu;function $f(t,n){gf=t,Np=n}function R(t,n,r,l){const p=Lp(t,l,n),w=n[_.GpT],Z=Xm(l.parent||n[_.qlT],l,n);if(null!=p)if(Array.isArray(r))for(let oe=0;oe<r.length;oe++)Uh(w,p,r[oe],Z,!1);else Uh(w,p,r,Z,!1);void 0!==Np&&Np(w,l,n,r,p)}function S(t,n){if(null!==n){const r=n.type;if(3&r)return(0,_.d31)(n,t);if(4&r)return I(-1,t[n.index]);if(8&r){const l=n.child;if(null!==l)return S(t,l);{const p=t[n.index];return(0,_.A0l)(p)?I(-1,p):(0,_.IvY)(p)}}if(128&r)return S(t,n.next);if(32&r)return ih(n,t)()||(0,_.IvY)(t[n.index]);{const l=ce(t,n);return null!==l?Array.isArray(l)?l[0]:S((0,_._0$)(t[_.b5C]),l):S(t,n.next)}}return null}function ce(t,n){return null!==n?t[_.b5C][_.qlT].projection[n.projection]:null}function I(t,n){const r=_.Y20+t+1;if(r<n.length){const l=n[r],p=l[_.eDl].firstChild;if(null!==p)return S(l,p)}return n[_.s6P]}function N(t,n,r,l,p,w,V){for(;null!=r;){const Z=l[_.YEL];if(128===r.type){r=r.next;continue}const oe=l[r.index],bt=r.type;if(V&&0===n&&(oe&&ca((0,_.IvY)(oe),l),r.flags|=2),!rl(r))if(8&bt)N(t,n,r.child,l,p,w,!1),Wf(n,t,Z,p,oe,r,w,l);else if(32&bt){const Ft=ih(r,l);let gn;for(;gn=Ft();)Wf(n,t,Z,p,gn,r,w,l);Wf(n,t,Z,p,oe,r,w,l)}else 16&bt?on(t,n,l,r,p,w):Wf(n,t,Z,p,oe,r,w,l);r=V?r.projectionNext:r.next}}function re(t,n,r,l,p,w){N(r,l,t.firstChild,n,p,w,!1)}function on(t,n,r,l,p,w){const V=r[_.b5C],oe=V[_.qlT].projection[l.projection];if(Array.isArray(oe))for(let bt=0;bt<oe.length;bt++)Wf(n,t,r[_.YEL],p,oe[bt],l,w,r);else{let bt=oe;const Ft=V[_.f7T];no(l)&&(bt.flags|=128),N(t,n,bt,Ft,p,w,!0)}}function tr(t,n,r,l,p){const w=(0,_._px)(),V=2&l;try{(0,_.ypq)(-1),V&&n.length>_.Yw1&&nh(t,n,_.Yw1,!1),gt(V?2:0,p,r),r(l,p)}finally{(0,_.ypq)(w),gt(V?3:1,p,r)}}function Dr(t,n,r){(function za(t,n,r){const l=r.directiveStart,p=r.directiveEnd;(0,_.Qs1)(r)&&function cf(t,n,r){const l=(0,_.d31)(n,t),p=Vf(r),w=t[_.M0L].rendererFactory,V=th(t,Pu(t,p,null,tu(r),l,n,null,w.createRenderer(l,r),null,null,null));t[n.index]=V}(n,r,t.data[l+r.componentOffset]),t.firstCreatePass||Yr(r,n);const w=r.initialInputs;for(let V=l;V<p;V++){const Z=t.data[V],oe=$i(n,t,V,r);ca(oe,n),null!==w&&_u(0,V-l,oe,Z,0,w),(0,_.JlV)(Z)&&((0,_.KdJ)(r.index,n)[_.SKP]=$i(n,t,V,r))}})(t,n,r),!(64&~r.flags)&&function ac(t,n,r){const l=r.directiveStart,p=r.directiveEnd,w=r.index,V=(0,_.Z9v)();try{(0,_.ypq)(w);for(let Z=l;Z<p;Z++){const oe=t.data[Z],bt=n[Z];(0,_.RZ9)(Z),(null!==oe.hostBindings||0!==oe.hostVars||null!==oe.hostAttrs)&&lc(oe,bt)}}finally{(0,_.ypq)(-1),(0,_.RZ9)(V)}}(t,n,r)}function zr(t,n,r=_.d31){const l=n.localNames;if(null!==l){let p=n.index+1;for(let w=0;w<l.length;w+=2){const V=l[w+1],Z=-1===V?r(n,t):t[V];t[p++]=Z}}}let Ys=()=>null;function sl(t,n,r,l,p,w){sh(t,n[_.eDl],n,r,l)?(0,_.Qs1)(t)&&ma(n,t.index):(3&t.type&&(r=function Wo(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r)),Ao(t,n,r,l,p,w))}function Ao(t,n,r,l,p,w){if(3&t.type){const V=(0,_.d31)(t,n);l=null!=w?w(l,t.value||"",r):l,p.setProperty(V,r,l)}}function ma(t,n){const r=(0,_.KdJ)(n,t);16&r[_.Wg1]||(r[_.Wg1]|=64)}function lc(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function bl(t,n){const r=t.directiveRegistry;let l=null;if(r)for(let p=0;p<r.length;p++){const w=r[p];Rl(n,w.selectors,!1)&&(l??=[],(0,_.JlV)(w)?l.unshift(w):l.push(w))}return l}function El(t,n,r,l,p,w,V){if(null==w)t.removeAttribute(n,p,r);else{const Z=null==V?(0,_.eFE)(w):V(w,l||"",p);t.setAttribute(n,p,Z,r)}}function _u(t,n,r,l,p,w){const V=w[n];if(null!==V)for(let Z=0;Z<V.length;Z+=2)Bc(l,r,V[Z],V[Z+1])}function ed(t,n,r,l,p){const w=_.Yw1+r,V=n[_.eDl],Z=p(V,n,t,l,r);n[w]=Z,(0,_.iMd)(t,!0);const oe=2===t.type;return oe?(_h(n[_.GpT],Z,t),(0===(0,_.znI)()||(0,_.yoD)(t))&&ca(Z,n),(0,_.Fje)()):ca(Z,n),(0,_.SX7)()&&(!oe||!rl(t))&&R(V,n,Z,t),t}function Uc(t){let n=t;return(0,_.YWB)()?(0,_.Pfq)():(n=n.parent,(0,_.iMd)(n,!1)),n}function vf(t,n,r){return(null===t||(0,_.JlV)(t))&&(r=(0,_.zAe)(r[n.index])),r[_.GpT]}function Nu(t,n){const r=t[_.YEL];if(!r)return;let l;try{l=r.get(_.ZTf,null)}catch{l=null}l?.(n)}function sh(t,n,r,l,p){const w=t.inputs?.[l],V=t.hostDirectiveInputs?.[l];let Z=!1;if(V)for(let oe=0;oe<V.length;oe+=2){const bt=V[oe];Bc(n.data[bt],r[bt],V[oe+1],p),Z=!0}if(w)for(const oe of w)Bc(n.data[oe],r[oe],l,p),Z=!0;return Z}function Qh(t,n){const r=(0,_.KdJ)(n,t),l=r[_.eDl];!function bf(t,n){for(let r=n.length;r<t.blueprint.length;r++)n.push(t.blueprint[r])}(l,r);const p=r[_.jgP];null!==p&&null===r[_.tcA]&&(r[_.tcA]=null),gt(18),kd(l,r,r[_.SKP]),gt(19,r[_.SKP])}function kd(t,n,r){(0,_.ID8)(n);try{const l=t.viewQuery;null!==l&&Fr(1,l,r);const p=t.template;null!==p&&tr(t,n,p,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),n[_.Ds7]?.finishViewCreation(t),t.staticContentQueries&&er(t,n),t.staticViewQueries&&Fr(2,t.viewQuery,r);const w=t.components;null!==w&&function gu(t,n){for(let r=0;r<n.length;r++)Qh(t,n[r])}(n,w)}catch(l){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),l}finally{n[_.Wg1]&=-5,(0,_.bll)()}}function Wd(t,n,r,l){const p=(0,Qn.Ht)(null);try{const w=n.tView,oe=Pu(t,w,r,4096&t[_.Wg1]?4096:16,null,n,null,null,l?.injector??null,l?.embeddedViewInjector??null,l?.dehydratedView??null);oe[_.rQE]=t[n.index];const Ft=t[_.Ds7];return null!==Ft&&(oe[_.Ds7]=Ft.createEmbeddedView(w)),kd(w,oe,r),oe}finally{(0,Qn.Ht)(p)}}function iu(t,n){return!n||null===n.firstChild||no(t)}function Ch(t,n,r,l,p=!1){for(;null!==r;){if(128===r.type){r=p?r.projectionNext:r.next;continue}const w=n[r.index];null!==w&&l.push((0,_.IvY)(w)),(0,_.A0l)(w)&&Mm(w,l);const V=r.type;if(8&V)Ch(t,n,r.child,l);else if(32&V){const Z=ih(r,n);let oe;for(;oe=Z();)l.push(oe)}else if(16&V){const Z=ce(n,r);if(Array.isArray(Z))l.push(...Z);else{const oe=(0,_._0$)(n[_.b5C]);Ch(oe[_.eDl],oe,Z,l,!0)}}r=p?r.projectionNext:r.next}return l}function Mm(t,n){for(let r=_.Y20;r<t.length;r++){const l=t[r],p=l[_.eDl].firstChild;null!==p&&Ch(l[_.eDl],l,p,n)}t[_.s6P]!==t[_.jgP]&&n.push(t[_.s6P])}function Jm(t){if(null!==t[_.JEi]){for(const n of t[_.JEi])n.impl.addSequence(n);t[_.JEi].length=0}}let Ef=[];const Kf={...Qn.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{(0,_.blu)(t.lView)},consumerOnSignalRead(){this.lView[_.Iaj]=this}},qm={...Qn.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=(0,_._0$)(t.lView);for(;n&&!Jh(n[_.eDl]);)n=(0,_._0$)(n);n&&(0,_.HAh)(n)},consumerOnSignalRead(){this.lView[_.Iaj]=this}};function Jh(t){return 2!==t.type}function Bp(t){if(null===t[_.tQN])return;let n=!0;for(;n;){let r=!1;for(const l of t[_.tQN])l.dirty&&(r=!0,null===l.zone||Zone.current===l.zone?l.run():l.zone.run(()=>l.run()));n=r&&!!(8192&t[_.Wg1])}}function Ah(t,n=0){const l=t[_.M0L].rendererFactory;l.begin?.();try{!function Df(t,n){const r=(0,_.yP_)();try{(0,_.cBl)(!0),kh(t,n);let l=0;for(;(0,_.dMS)(t);){if(100===l)throw new _.buA(103,!1);l++,kh(t,1)}}finally{(0,_.cBl)(r)}}(t,n)}finally{l.end?.()}}function yo(t,n,r,l){if((0,_.EPY)(n))return;const p=n[_.Wg1];(0,_.ID8)(n);let Z=!0,oe=null,bt=null;Jh(t)?(bt=function Fp(t){return t[_.Iaj]??function T_(t){const n=Ef.pop()??Object.create(Kf);return n.lView=t,n}(t)}(n),oe=(0,Qn.Bg)(bt)):null===(0,Qn.nR)()?(Z=!1,bt=function Xh(t){const n=t[_.Iaj]??Object.create(qm);return n.lView=t,n}(n),oe=(0,Qn.Bg)(bt)):n[_.Iaj]&&((0,Qn.XR)(n[_.Iaj]),n[_.Iaj]=null);try{(0,_.HUe)(n),(0,_.Kw3)(t.bindingStartIndex),null!==r&&tr(t,n,r,2,l);const Ft=!(3&~p);if(Ft){const ei=t.preOrderCheckHooks;null!==ei&&Bt(n,ei,null)}else{const ei=t.preOrderHooks;null!==ei&&xn(n,ei,0,null),Ti(n,0)}if(function cc(t){for(let n=Qr(t);null!==n;n=Ds(n)){if(!(2&n[_.Wg1]))continue;const r=n[_.nfM];for(let l=0;l<r.length;l++)(0,_.HAh)(r[l])}}(n),Bp(n),Im(n,0),null!==t.contentQueries&&er(t,n),Ft){const ei=t.contentCheckHooks;null!==ei&&Bt(n,ei)}else{const ei=t.contentHooks;null!==ei&&xn(n,ei,1),Ti(n,1)}!function M_(t,n){const r=t.hostBindingOpCodes;if(null!==r)try{for(let l=0;l<r.length;l++){const p=r[l];if(p<0)(0,_.ypq)(~p);else{const w=p,V=r[++l],Z=r[++l];(0,_.vQI)(V,w);const oe=n[w];gt(24,oe),Z(2,oe),gt(25,oe)}}}finally{(0,_.ypq)(-1)}}(t,n);const gn=t.components;null!==gn&&Up(n,gn,0);const Jn=t.viewQuery;if(null!==Jn&&Fr(2,Jn,l),Ft){const ei=t.viewCheckHooks;null!==ei&&Bt(n,ei)}else{const ei=t.viewHooks;null!==ei&&xn(n,ei,2),Ti(n,2)}if(!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[_.pcR]){for(const ei of n[_.pcR])ei();n[_.pcR]=null}Jm(n),n[_.Wg1]&=-73}catch(Ft){throw(0,_.blu)(n),Ft}finally{null!==bt&&((0,Qn.Wu)(bt,oe),Z&&function Zm(t){t.lView[_.Iaj]!==t&&(t.lView=null,Ef.push(t))}(bt)),(0,_.bll)()}}function Im(t,n){for(let r=Qr(t);null!==r;r=Ds(r))for(let l=_.Y20;l<r.length;l++)Vp(r[l],n)}function ec(t,n,r){gt(18);const l=(0,_.KdJ)(n,t);Vp(l,r),gt(19,l[_.SKP])}function Vp(t,n){(0,_.F1c)(t)&&kh(t,n)}function kh(t,n){const l=t[_.eDl],p=t[_.Wg1],w=t[_.Iaj];let V=!!(0===n&&16&p);if(V||=!!(64&p&&0===n),V||=!!(1024&p),V||=!(!w?.dirty||!(0,Qn.si)(w)),V||=!1,w&&(w.dirty=!1),t[_.Wg1]&=-9217,V)yo(l,t,l.template,t[_.SKP]);else if(8192&p){const Z=(0,Qn.Ht)(null);try{Bp(t),Im(t,1);const oe=l.components;null!==oe&&Up(t,oe,1),Jm(t)}finally{(0,Qn.Ht)(Z)}}}function Up(t,n,r){for(let l=0;l<n.length;l++)ec(t,n[l],r)}function wf(t,n){const r=(0,_.yP_)()?64:1088;for(t[_.M0L].changeDetectionScheduler?.notify(n);t;){t[_.Wg1]|=r;const l=(0,_._0$)(t);if((0,_.EFk)(t)&&!l)return t;t=l}return null}function Cg(t,n,r,l){return[t,!0,0,n,null,l,null,r,null,null]}function I_(t,n){const r=_.Y20+n;if(r<t.length)return t[r]}function oh(t,n,r,l=!0){const p=n[_.eDl];if(function Tv(t,n,r,l){const p=_.Y20+l,w=r.length;l>0&&(r[p-1][_.K29]=n),l<w-_.Y20?(n[_.K29]=r[p],(0,_.EYC)(r,_.Y20+l,n)):(r.push(n),n[_.K29]=null),n[_.f7T]=r;const V=n[_.rQE];null!==V&&r!==V&&qh(V,n);const Z=n[_.Ds7];null!==Z&&Z.insertView(t),(0,_._gW)(n),n[_.Wg1]|=128}(p,n,t,r),l){const V=I(r,t),Z=n[_.GpT],oe=Z.parentNode(t[_.s6P]);null!==oe&&function Ig(t,n,r,l,p,w){l[_.jgP]=p,l[_.qlT]=n,re(t,l,r,1,p,w)}(p,t[_.qlT],Z,n,oe,V)}const w=n[_.tcA];null!==w&&null!==w.firstChild&&(w.firstChild=null)}function Ag(t,n){const r=bd(t,n);return void 0!==r&&Ih(r[_.eDl],r),r}function bd(t,n){if(t.length<=_.Y20)return;const r=_.Y20+n,l=t[r];if(l){const p=l[_.rQE];null!==p&&p!==t&&Hf(p,l),n>0&&(t[r-1][_.K29]=l[_.K29]);const w=(0,_.E6O)(t,_.Y20+n);Pp(l[_.eDl],l);const V=w[_.Ds7];null!==V&&V.detachView(w[_.eDl]),l[_.f7T]=null,l[_.K29]=null,l[_.Wg1]&=-129}return l}function qh(t,n){const r=t[_.nfM],l=n[_.f7T];((0,_.q$2)(l)||n[_.b5C]!==l[_.f7T][_.b5C])&&(t[_.Wg1]|=2),null===r?t[_.nfM]=[n]:r.push(n)}class fl{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,r=n[_.eDl];return Ch(r,n,r.firstChild,[])}constructor(n,r){this._lView=n,this._cdRefInjectingView=r}get context(){return this._lView[_.SKP]}set context(n){this._lView[_.SKP]=n}get destroyed(){return(0,_.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[_.f7T];if((0,_.A0l)(n)){const r=n[_.bm_],l=r?r.indexOf(this):-1;l>-1&&(bd(n,l),(0,_.E6O)(r,l))}this._attachedToViewContainer=!1}Ih(this._lView[_.eDl],this._lView)}onDestroy(n){(0,_.ik5)(this._lView,n)}markForCheck(){wf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_.Wg1]&=-129}reattach(){(0,_._gW)(this._lView),this._lView[_.Wg1]|=128}detectChanges(){this._lView[_.Wg1]|=1024,Ah(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=(0,_.EFk)(this._lView),r=this._lView[_.rQE];null!==r&&!n&&Hf(r,this._lView),pf(this._lView[_.eDl],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _.buA(902,!1);this._appRef=n;const r=(0,_.EFk)(this._lView),l=this._lView[_.rQE];null!==l&&!r&&qh(l,this._lView),(0,_._gW)(this._lView)}}let Xf=(()=>class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=C_;constructor(r,l,p){this._declarationLView=r,this._declarationTContainer=l,this.elementRef=p}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,l){return this.createEmbeddedViewImpl(r,l)}createEmbeddedViewImpl(r,l,p){const w=Wd(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:l,dehydratedView:p});return new fl(w)}})();function C_(){return Tf((0,_.Mx4)(),(0,_.OAn)())}function Tf(t,n){return 4&t.type?new Xf(n,t,ms(t,n)):null}function A_(t,n,r){const l=n.insertBeforeIndex,p=Array.isArray(l)?l[0]:l;return null===p?Lu(t,0,r):(0,_.IvY)(r[p])}function Sg(t,n,r,l,p){const w=n.insertBeforeIndex;if(Array.isArray(w)){let V=l,Z=null;if(3&n.type||(Z=V,V=p),null!==V&&-1===n.componentOffset)for(let oe=1;oe<w.length;oe++)ku(t,V,r[w[oe]],Z,!1)}}function oa(t,n,r,l,p){let w=t.data[n];if(null===w)w=Wp(t,n,r,l,p),(0,_.JjR)()&&(w.flags|=32);else if(64&w.type){w.type=r,w.value=l,w.attrs=p;const V=(0,_.Ab)();w.injectorIndex=null===V?-1:V.injectorIndex}return(0,_.iMd)(w,!0),w}function Wp(t,n,r,l,p){const w=(0,_.veI)(),V=(0,_.YWB)(),oe=t.data[n]=function qf(t,n,r,l,p,w){let V=n?n.injectorIndex:-1,Z=0;return(0,_.KtD)()&&(Z|=128),{type:r,index:l,insertBeforeIndex:null,injectorIndex:V,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:Z,providerIndexes:0,value:p,attrs:w,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,V?w:w&&w.parent,r,n,l,p);return function Hp(t,n,r,l){null===t.firstChild&&(t.firstChild=n),null!==r&&(l?null==r.child&&null!==n.parent&&(r.child=n):null===r.next&&(r.next=n,n.prev=r))}(t,oe,w,V),oe}function Am(t,n){if(t.push(n),t.length>1)for(let r=t.length-2;r>=0;r--){const l=t[r];xg(l)||Yp(l,n)&&null===k_(l)&&op(l,n.index)}}function xg(t){return!(64&t.type)}function Yp(t,n){return xg(n)||t.index>n.index}function k_(t){const n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function op(t,n){const r=t.insertBeforeIndex;Array.isArray(r)?r[0]=n:($f(A_,Sg),t.insertBeforeIndex=n)}function km(t,n){const r=t.data[n];return null===r||"string"==typeof r?null:r.hasOwnProperty("currentCaseLViewIndex")?r:r.value}function zp(t,n,r){const l=Wp(t,r,64,null,null);return Am(n,l),l}function em(t,n){const r=n[t.currentCaseLViewIndex];return null===r?r:r<0?~r:r}function Rg(t){return t>>>17}function Pg(t){return(131070&t)>>>1}function tm(t,n,r){t.index=0;const l=em(n,r);t.removes=null!==l?n.remove[l]:_.Mlv}function xm(t){if(t.index<t.removes.length){const n=t.removes[t.index++];return n>0?t.lView[n]:(t.stack.push(t.index,t.removes),tm(t,t.lView[_.eDl].data[~n],t.lView),xm(t))}return 0===t.stack.length?(t.lView=void 0,null):(t.removes=t.stack.pop(),t.index=t.stack.pop(),xm(t))}function Ng(){const t={stack:[],index:-1};return function n(r,l){for(t.lView=l;t.stack.length;)t.stack.pop();return tm(t,r.value,l),xm.bind(null,t)}}function Wy(t,n,r){for(const l of r.node.cases[r.case]){const p=n.get(l.index-_.Yw1);p&&xu(t,p,!1)}}function al(t){const n=t[_.qFA]??[],l=t[_.f7T][_.GpT],p=[];for(const w of n)void 0!==w.data.di?p.push(w):Bv(w,l);t[_.qFA]=p}function n0(t){const{lContainer:n}=t,r=n[_.qFA];if(null===r)return;const p=n[_.f7T][_.GpT];for(const w of r)Bv(w,p)}function Bv(t,n){let r=0,l=t.firstChild;if(l){const p=t.data.r;for(;r<p;){const w=l.nextSibling;xu(n,l,!1),l=w,r++}}}function Al(t){al(t);const n=t[_.jgP];(0,_.q$2)(n)&&Xp(n);for(let r=_.Y20;r<t.length;r++)Xp(t[r])}function Xp(t){!function Fv(t){const n=t[_.tcA];if(n){const{i18nNodes:r,dehydratedIcuData:l}=n;if(r&&l){const p=t[_.GpT];for(const w of l.values())Wy(p,r,w)}n.i18nNodes=void 0,n.dehydratedIcuData=void 0}}(t);const n=t[_.eDl];for(let r=_.Yw1;r<n.bindingStartIndex;r++)(0,_.A0l)(t[r])?Al(t[r]):(0,_.q$2)(t[r])&&Xp(t[r])}let vu=class{},Af=class{};
vendor: 4,910 bytes, line 1
1class s0{resolveComponentFactory(n){throw new _.buA(917,!1)}}let Rh=class{static NULL=new s0};class ru{}let Ph=(()=>class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Hg(){const t=(0,_.OAn)(),n=(0,_.Mx4)(),r=(0,_.KdJ)(n.index,t);return((0,_.q$2)(r)?r:t)[_.GpT]}()})(),zy=(()=>{class t{static \u0275prov=(0,_.jDH)({token:t,providedIn:"root",factory:()=>null})}return t})();function Y_(t){return void 0!==t.ngModule}function rm(t){return!!(0,_.phH)(t)}function Om(t){return!!(0,_.oyA)(t)}function Yg(t){return!!(0,_.HaV)(t)}function Oh(t){return!!(0,_.xUg)(t)}function Jp(t,n){if((0,_.Jzi)(t)&&!(t=(0,_.nl4)(t)))throw new Error(`Expected forwardRef function, imported from "${(0,_.PP7)(n)}", to return a standalone entity or NgModule but got "${(0,_.PP7)(t)||t}".`);if(null==(0,_.phH)(t)){const r=(0,_.xUg)(t)||(0,_.HaV)(t)||(0,_.oyA)(t);if(null==r)throw Y_(t)?new Error(`A module with providers was imported from "${(0,_.PP7)(n)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,_.PP7)(t)}" type, imported from "${(0,_.PP7)(n)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!r.standalone)throw new Error(`The "${(0,_.PP7)(t)}" ${function z_(t){return(0,_.xUg)(t)?"component":(0,_.HaV)(t)?"directive":(0,_.oyA)(t)?"pipe":"type"}(t)}, imported from "${(0,_.PP7)(n)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class $_{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const n of this.ngModulesWithSomeUnresolvedDecls){const r=(0,_.phH)(n);if(r?.declarations)for(const l of Ts(r.declarations))Oh(l)&&this.ownerNgModule.set(l,n)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(n,r){this.resolveNgModulesDecls();const l=(0,_.xUg)(n);if(null===l)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${n}`);if(l.standalone){const p=this.getStandaloneComponentScope(n,r);return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes,...p.compilation.ngModules]}}{if(!this.ownerNgModule.has(n))return{dependencies:[]};const p=this.getNgModuleScope(this.ownerNgModule.get(n));return p.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...p.compilation.directives,...p.compilation.pipes]}}}registerNgModule(n,r){if(!rm(n))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${n}`);this.ngModulesWithSomeUnresolvedDecls.add(n)}clearScopeCacheFor(n){this.ngModulesScopeCache.delete(n),this.standaloneComponentsScopeCache.delete(n)}getNgModuleScope(n){if(this.ngModulesScopeCache.has(n))return this.ngModulesScopeCache.get(n);const r=this.computeNgModuleScope(n);return this.ngModulesScopeCache.set(n,r),r}computeNgModuleScope(n){const r=(0,_.WbQ)(n),l={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const p of Ts(r.imports))if(rm(p)){const w=this.getNgModuleScope(p);lh(w.exported.directives,l.compilation.directives),lh(w.exported.pipes,l.compilation.pipes)}else{if(!(0,_.QuC)(p)){l.compilation.isPoisoned=!0;break}if(Yg(p)||Oh(p))l.compilation.directives.add(p);else{if(!Om(p))throw new _.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");l.compilation.pipes.add(p)}}if(!l.compilation.isPoisoned)for(const p of Ts(r.declarations)){if(rm(p)||(0,_.QuC)(p)){l.compilation.isPoisoned=!0;break}Om(p)?l.compilation.pipes.add(p):l.compilation.directives.add(p)}for(const p of Ts(r.exports))if(rm(p)){const w=this.getNgModuleScope(p);lh(w.exported.directives,l.exported.directives),lh(w.exported.pipes,l.exported.pipes),lh(w.exported.directives,l.compilation.directives),lh(w.exported.pipes,l.compilation.pipes)}else Om(p)?l.exported.pipes.add(p):l.exported.directives.add(p);return l}getStandaloneComponentScope(n,r){if(this.standaloneComponentsScopeCache.has(n))return this.standaloneComponentsScopeCache.get(n);const l=this.computeStandaloneComponentScope(n,r);return this.standaloneComponentsScopeCache.set(n,l),l}computeStandaloneComponentScope(n,r){const l={compilation:{directives:new Set([n]),pipes:new Set,ngModules:new Set}};for(const p of(0,_.Bqz)(r??[])){const w=(0,_.nl4)(p);try{Jp(w,n)}catch{return l.compilation.isPoisoned=!0,l}if(rm(w)){l.compilation.ngModules.add(w);const V=this.getNgModuleScope(w);if(V.exported.isPoisoned)return l.compilation.isPoisoned=!0,l;lh(V.exported.directives,l.compilation.directives),lh(V.exported.pipes,l.compilation.pipes)}else if(Om(w))l.compilation.pipes.add(w);else{if(!Yg(w)&&!Oh(w))return l.compilation.isPoisoned=!0,l;l.compilation.directives.add(w)}}return l}
vendor: 16,785 bytes, line 1
1isOrphanComponent(n){const r=(0,_.xUg)(n);return!(!r||r.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(n)))}}function lh(t,n){for(const r of t)n.add(r)}const Lm=new $_,Zp={};class sm{injector;parentInjector;constructor(n,r){this.injector=n,this.parentInjector=r}get(n,r,l){const p=this.injector.get(n,Zp,l);return p!==Zp||r===Zp?p:this.parentInjector.get(n,r,l)}}function fp(t,n,r){let l=r?t.styles:null,p=r?t.classes:null,w=0;if(null!==n)for(let V=0;V<n.length;V++){const Z=n[V];if("number"==typeof Z)w=Z;else if(1==w)p=(0,_.n$e)(p,Z);else if(2==w){const bt=n[++V];l=(0,_.n$e)(l,Z+": "+bt+";")}}r?t.styles=l:t.stylesWithoutHost=l,r?t.classes=p:t.classesWithoutHost=p}function om(t,n=0){const r=(0,_.OAn)();return null===r?(0,_.KVO)(t,n):Lt((0,_.Mx4)(),r,(0,_.nl4)(t),n)}function zg(){throw new Error("invalid")}function am(t,n,r,l,p){const w=null===l?null:{"":-1},V=p(t,r);if(null!==V){let Z=V,oe=null,bt=null;for(const Ft of V)if(null!==Ft.resolveHostDirectives){[Z,oe,bt]=Ft.resolveHostDirectives(V);break}!function $g(t,n,r,l,p,w,V){const Z=l.length;let oe=!1;for(let Jn=0;Jn<Z;Jn++){const ei=l[Jn];!oe&&(0,_.JlV)(ei)&&(oe=!0,Wv(t,r,Jn)),Co(Yr(r,n),t,ei.type)}!function Kg(t,n,r){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+r,t.providerIndexes=n}(r,t.data.length,Z);for(let Jn=0;Jn<Z;Jn++){const ei=l[Jn];ei.providersResolver&&ei.providersResolver(ei)}let bt=!1,Ft=!1,gn=bh(t,n,Z,null);Z>0&&(r.directiveToIndex=new Map);for(let Jn=0;Jn<Z;Jn++){const ei=l[Jn];if(r.mergedAttrs=Fs(r.mergedAttrs,ei.hostAttrs),n_(t,r,n,gn,ei),Yv(gn,ei,p),null!==V&&V.has(ei)){const[Pr,ks]=V.get(ei);r.directiveToIndex.set(ei.type,[gn,Pr+r.directiveStart,ks+r.directiveStart])}else(null===w||!w.has(ei))&&r.directiveToIndex.set(ei.type,gn);null!==ei.contentQueries&&(r.flags|=4),(null!==ei.hostBindings||null!==ei.hostAttrs||0!==ei.hostVars)&&(r.flags|=64);const cr=ei.type.prototype;!bt&&(cr.ngOnChanges||cr.ngOnInit||cr.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),bt=!0),!Ft&&(cr.ngOnChanges||cr.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),Ft=!0),gn++}!function qp(t,n,r){for(let l=n.directiveStart;l<n.directiveEnd;l++){const p=t.data[l];if(null!==r&&r.has(p)){const w=r.get(p);e_(0,n,w,l),e_(1,n,w,l),Gg(n,l,!0)}else Hv(0,n,p,l),Hv(1,n,p,l),Gg(n,l,!1)}}(t,r,w)}(t,n,r,Z,w,oe,bt)}null!==w&&null!==l&&function jv(t,n,r){const l=t.localNames=[];for(let p=0;p<n.length;p+=2){const w=r[n[p+1]];if(null==w)throw new _.buA(-301,!1);l.push(n[p],w)}}(r,l,w)}function Wv(t,n,r){n.componentOffset=r,(t.components??=[]).push(n.index)}function Hv(t,n,r,l){const p=0===t?r.inputs:r.outputs;for(const w in p)if(p.hasOwnProperty(w)){let V;V=0===t?n.inputs??={}:n.outputs??={},V[w]??=[],V[w].push(l),t_(n,w)}}function e_(t,n,r,l){const p=0===t?r.inputs:r.outputs;for(const w in p)if(p.hasOwnProperty(w)){const V=p[w];let Z;Z=0===t?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},Z[V]??=[],Z[V].push(l,w),t_(n,V)}}function t_(t,n){"class"===n?t.flags|=8:"style"===n&&(t.flags|=16)}function Gg(t,n,r){const{attrs:l,inputs:p,hostDirectiveInputs:w}=t;if(null===l||!r&&null===p||r&&null===w||yh(t))return t.initialInputs??=[],void t.initialInputs.push(null);let V=null,Z=0;for(;Z<l.length;){const oe=l[Z];if(0!==oe)if(5!==oe){if("number"==typeof oe)break;if(!r&&p.hasOwnProperty(oe)){const bt=p[oe];for(const Ft of bt)if(Ft===n){V??=[],V.push(oe,l[Z+1]);break}}else if(r&&w.hasOwnProperty(oe)){const bt=w[oe];for(let Ft=0;Ft<bt.length;Ft+=2)if(bt[Ft]===n){V??=[],V.push(bt[Ft+1],l[Z+1]);break}}Z+=2}else Z+=2;else Z+=4}t.initialInputs??=[],t.initialInputs.push(V)}function n_(t,n,r,l,p){t.data[l]=p;const w=p.factory||(p.factory=(0,_.wGu)(p.type,!0)),V=new In(w,(0,_.JlV)(p),om,null);t.blueprint[l]=V,r[l]=V,function $y(t,n,r,l,p){const w=p.hostBindings;if(w){let V=t.hostBindingOpCodes;null===V&&(V=t.hostBindingOpCodes=[]);const Z=~n.index;(function G_(t){let n=t.length;for(;n>0;){const r=t[--n];if("number"==typeof r&&r<0)return r}return 0})(V)!=Z&&V.push(Z),V.push(r,l,w)}}(t,n,l,bh(t,r,p.hostVars,ya),p)}function Yv(t,n,r){if(r){if(n.exportAs)for(let l=0;l<n.exportAs.length;l++)r[n.exportAs[l]]=t;(0,_.JlV)(n)&&(r[""]=t)}}function m(t,n,r,l,p,w,V,Z){const oe=n[_.eDl],bt=oe.consts,gn=oa(oe,t,r,l,(0,_.db4)(bt,V));return w&&am(oe,n,gn,(0,_.db4)(bt,Z),p),gn.mergedAttrs=Fs(gn.mergedAttrs,gn.attrs),null!==gn.attrs&&fp(gn,gn.attrs,!1),null!==gn.mergedAttrs&&fp(gn,gn.mergedAttrs,!0),null!==oe.queries&&oe.queries.elementStart(oe,gn),gn}function D(t,n){ft(t,n),(0,_.srX)(n)&&t.queries.elementEnd(n)}function G(t,n,r,l,p,w){const V=n.consts,oe=oa(n,t,r,l,(0,_.db4)(V,p));if(oe.mergedAttrs=Fs(oe.mergedAttrs,oe.attrs),null!=w){const bt=(0,_.db4)(V,w);oe.localNames=[];for(let Ft=0;Ft<bt.length;Ft+=2)oe.localNames.push(bt[Ft],-1)}return null!==oe.attrs&&fp(oe,oe.attrs,!1),null!==oe.mergedAttrs&&fp(oe,oe.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,oe),oe}function Ve(t){return!!Gn(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Dn(t,n){if(Array.isArray(t))for(let r=0;r<t.length;r++)n(t[r]);else{const r=t[Symbol.iterator]();let l;for(;!(l=r.next()).done;)n(l.value)}}function Gn(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ei(t,n,r){return t[n]=r}function wr(t,n){return t[n]}function ar(t,n,r){return r!==ya&&(!Object.is(t[n],r)&&(t[n]=r,!0))}function Ir(t,n,r,l){const p=ar(t,n,r);return ar(t,n+1,l)||p}function ts(t,n,r,l,p){const w=Ir(t,n,r,l);return ar(t,n+2,p)||w}function us(t,n,r,l,p,w){const V=Ir(t,n,r,l);return Ir(t,n+2,p,w)||V}function Zs(t,n,r){return function l(p){wf((0,_.Qs1)(t)?(0,_.KdJ)(t.index,n):n,5);const V=n[_.SKP];let Z=na(n,V,r,p),oe=l.__ngNextListenerFn__;for(;oe;)Z=na(n,V,oe,p)&&Z,oe=oe.__ngNextListenerFn__;return Z}}function na(t,n,r,l){const p=(0,Qn.Ht)(null);try{return gt(6,n,r),!1!==r(l)}catch(w){return Nu(t,w),!1}finally{gt(7,n,r),(0,Qn.Ht)(p)}}function bo(t,n,r,l,p,w,V,Z){const oe=(0,_.yoD)(t);let bt=!1,Ft=null;if(!l&&oe&&(Ft=function Aa(t,n,r,l){const p=t.cleanup;if(null!=p)for(let w=0;w<p.length-1;w+=2){const V=p[w];if(V===r&&p[w+1]===l){const Z=n[_.VVG],oe=p[w+2];return Z&&Z.length>oe?Z[oe]:null}"string"==typeof V&&(w+=2)}return null}(n,r,w,t.index)),null!==Ft)(Ft.__ngLastListenerFn__||Ft).__ngNextListenerFn__=V,Ft.__ngLastListenerFn__=V,bt=!0;else{const gn=(0,_.d31)(t,r),Jn=l?l(gn):gn,ei=p.listen(Jn,w,Z);(function ua(t){return t.startsWith("animation")||t.startsWith("transition")})(w)||su(l?Pr=>l((0,_.IvY)(Pr[t.index])):t.index,n,r,w,Z,ei,!1)}return bt}function su(t,n,r,l,p,w,V){const Z=n.firstCreatePass?(0,_.vNG)(n):null,oe=(0,_.d_l)(r),bt=oe.length;oe.push(p,w),Z&&Z.push(l,t,bt,(bt+1)*(V?-1:1))}function Pl(t,n,r,l,p,w){const Z=n[_.eDl],gn=n[r][Z.data[r].outputs[l]].subscribe(w);su(t.index,Z,n,p,w,gn,!0)}const Ed=Symbol("BINDING");class Nm extends Rh{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const r=(0,_.xUg)(n);return new $v(r,this.ngModule)}}class $v extends Af{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function ch(t){return Object.keys(t).map(n=>{const[r,l,p]=t[n],w={propName:r,templateName:n,isSignal:0!==(l&Eh.SignalBased)};return p&&(w.transform=p),w})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function qw(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,r){super(),this.componentDef=n,this.ngModule=r,this.componentType=n.type,this.selector=function lf(t){return t.map(pm).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!r}create(n,r,l,p,w,V){gt(22);const Z=(0,Qn.Ht)(null);try{const oe=this.componentDef,bt=function mp(t,n,r,l){const p=t?["ng-version","20.3.21"]:function qu(t){const n=[],r=[];let l=1,p=2;for(;l<t.length;){let w=t[l];if("string"==typeof w)2===p?""!==w&&n.push(w,t[++l]):8===p&&r.push(w);else{if(!Ad(p))break;p=w}l++}return r.length&&n.push(1,...r),n}(n.selectors[0]);let w=null,V=null,Z=0;if(r)for(const Ft of r)Z+=Ft[Ed].requiredVars,Ft.create&&(Ft.targetIdx=0,(w??=[]).push(Ft)),Ft.update&&(Ft.targetIdx=0,(V??=[]).push(Ft));if(l)for(let Ft=0;Ft<l.length;Ft++){const gn=l[Ft];if("function"!=typeof gn)for(const Jn of gn.bindings){Z+=Jn[Ed].requiredVars;const ei=Ft+1;Jn.create&&(Jn.targetIdx=ei,(w??=[]).push(Jn)),Jn.update&&(Jn.targetIdx=ei,(V??=[]).push(Jn))}}const oe=[n];if(l)for(const Ft of l){const Jn=(0,_.HaV)("function"==typeof Ft?Ft:Ft.type);oe.push(Jn)}return eh(0,null,function rD(t,n){return t||n?r=>{if(1&r&&t)for(const l of t)l.create();if(2&r&&n)for(const l of n)l.update()}:null}(w,V),1,Z,oe,null,null,null,[p],null)}(l,oe,V,w),Ft=function dh(t,n,r){let l=n instanceof _.uvJ?n:n?.injector;return l&&null!==t.getStandaloneInjector&&(l=t.getStandaloneInjector(l)||l),l?new sm(r,l):r}(oe,p||this.ngModule,n),gn=function eT(t){const n=t.get(ru,null);if(null===n)throw new _.buA(407,!1);return{rendererFactory:n,sanitizer:t.get(zy,null),changeDetectionScheduler:t.get(_.hk6,null),ngReflect:!1}}(Ft),Jn=gn.rendererFactory.createRenderer(null,oe),ei=l?function Wr(t,n,r,l){const w=l.get(Sc,!1)||r===Bo.ShadowDom,V=t.selectRootElement(n,w);return function Qo(t){Ys(t)}(V),V}(Jn,l,oe.encapsulation,Ft):function nD(t,n){const r=function iD(t){return(t.selectors[0][0]||"div").toLowerCase()}(t);return Jc(n,r,"svg"===r?_.jNX:"math"===r?_.rJ1:null)}(oe,Jn),cr=V?.some(o0)||w?.some(js=>"function"!=typeof js&&js.bindings.some(o0)),Pr=Pu(null,bt,null,512|tu(oe),null,null,gn,Jn,Ft,null,null);Pr[_.Yw1]=ei,(0,_.ID8)(Pr);let ks=null;try{const js=m(_.Yw1,Pr,2,"#host",()=>bt.directiveRegistry,!0,0);_h(Jn,ei,js),ca(ei,Pr),Dr(bt,Pr,js),vo(bt,js,Pr),D(bt,js),void 0!==r&&function oD(t,n,r){const l=t.projection=[];for(let p=0;p<n.length;p++){const w=r[p];l.push(null!=w&&w.length?Array.from(w):null)}}(js,this.ngContentSelectors,r),ks=(0,_.KdJ)(js.index,Pr),Pr[_.SKP]=ks[_.SKP],kd(bt,Pr,null)}catch(js){throw null!==ks&&Ps(ks),Ps(Pr),js}finally{gt(23),(0,_.bll)()}return new sD(this.componentType,Pr,!!cr)}finally{(0,Qn.Ht)(Z)}}}function o0(t){const n=t[Ed].kind;return"input"===n||"twoWay"===n}class sD extends vu{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,r,l){super(),this._rootLView=r,this._hasInputBindings=l,this._tNode=(0,_.XRZ)(r[_.eDl],_.Yw1),this.location=ms(this._tNode,r),this.instance=(0,_.KdJ)(this._tNode.index,r)[_.SKP],this.hostView=this.changeDetectorRef=new fl(r,void 0),this.componentType=n}setInput(n,r){const l=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),r))return;const p=this._rootLView;sh(l,p[_.eDl],p,n,r),this.previousInputValues.set(n,r),wf((0,_.KdJ)(l.index,p),1)}get injector(){return new Ui(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let Gv=(()=>class t{static __NG_ELEMENT_ID__=aD})();function aD(){return cD((0,_.Mx4)(),(0,_.OAn)())}const lD=Gv,a0=class extends lD{_lContainer;_hostTNode;_hostLView;constructor(n,r,l){super(),this._lContainer=n,this._hostTNode=r,this._hostLView=l}get element(){return ms(this._hostTNode,this._hostLView)}get injector(){return new Ui(this._hostTNode,this._hostLView)}get parentInjector(){const n=Ho(this._hostTNode,this._hostLView);if(Ks(n)){const r=vi(n,this._hostLView),l=as(n);return new Ui(r[_.eDl].data[l+8],r)}return new Ui(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const r=l0(this._lContainer);return null!==r&&r[n]||null}get length(){return this._lContainer.length-_.Y20}createEmbeddedView(n,r,l){let p,w;"number"==typeof l?p=l:null!=l&&(p=l.index,w=l.injector);const Z=n.createEmbeddedViewImpl(r||{},w,null);return this.insertImpl(Z,p,iu(this._hostTNode,null)),Z}createComponent(n,r,l,p,w,V,Z){const oe=n&&!fe(n);let bt;if(oe)bt=r;else{const ks=r||{};bt=ks.index,l=ks.injector,p=ks.projectableNodes,w=ks.environmentInjector||ks.ngModuleRef,V=ks.directives,Z=ks.bindings}const Ft=oe?n:new $v((0,_.xUg)(n)),gn=l||this.parentInjector;if(!w&&null==Ft.ngModule){const js=(oe?gn:this.parentInjector).get(_.uvJ,null);js&&(w=js)}(0,_.xUg)(Ft.componentType??{});const Pr=Ft.create(gn,p,null,w,V,Z);return this.insertImpl(Pr.hostView,bt,iu(this._hostTNode,null)),Pr}insert(n,r){return this.insertImpl(n,r,!0)}insertImpl(n,r,l){const p=n._lView;if((0,_.ITl)(p)){const Z=this.indexOf(n);if(-1!==Z)this.detach(Z);else{const oe=p[_.f7T],bt=new a0(oe,oe[_.qlT],oe[_.f7T]);bt.detach(bt.indexOf(n))}}const w=this._adjustIndex(r),V=this._lContainer;return oh(V,p,w,l),n.attachToViewContainerRef(),(0,_.EYC)(Qg(V),w,n),n}move(n,r){return this.insert(n,r)}indexOf(n){const r=l0(this._lContainer);return null!==r?r.indexOf(n):-1}remove(n){const r=this._adjustIndex(n,-1),l=bd(this._lContainer,r);l&&((0,_.E6O)(Qg(this._lContainer),r),Ih(l[_.eDl],l))}detach(n){const r=this._adjustIndex(n,-1),l=bd(this._lContainer,r);return l&&null!=(0,_.E6O)(Qg(this._lContainer),r)?new fl(l):null}_adjustIndex(n,r=0){return n??this.length+r}};function l0(t){return t[_.bm_]}function Qg(t){return t[_.bm_]||(t[_.bm_]=[])}function cD(t,n){let r;const l=n[t.index];return(0,_.A0l)(l)?r=l:(r=Cg(l,n,null,t),n[t.index]=r,th(n,r)),i_(r,n,t,l),new a0(r,t,n)}let i_=function c0(t,n,r,l){if(t[_.s6P])return;let p;p=8&r.type?(0,_.IvY)(l):function dD(t,n){const r=t[_.GpT],l=r.createComment(""),p=(0,_.d31)(n,t),w=r.parentNode(p);return ku(r,w,l,r.nextSibling(p),!1),l}(n,r),t[_.s6P]=p};class Ky{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new Ky(this.queryList)}setDirty(){this.queryList.setDirty()}}class d0{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const r=n.queries;if(null!==r){const l=null!==n.contentQueries?n.contentQueries[0]:r.length,p=[];for(let w=0;w<l;w++){const V=r.getByIndex(w);p.push(this.queries[V.indexInDeclarationView].clone())}return new d0(p)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let r=0;r<this.queries.length;r++)null!==Xy(n,r).matches&&this.queries[r].setDirty()}}class mD{flags;read;predicate;constructor(n,r,l=null){this.flags=r,this.read=l,this.predicate="string"==typeof n?function g0(t){return t.split(",").map(n=>n.trim())}(n):n}}class u0{queries;constructor(n=[]){this.queries=n}elementStart(n,r){for(let l=0;l<this.queries.length;l++)this.queries[l].elementStart(n,r)}elementEnd(n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(n)}embeddedTView(n){let r=null;for(let l=0;l<this.length;l++){const p=null!==r?r.length:0,w=this.getByIndex(l).embeddedTView(n,p);w&&(w.indexInDeclarationView=l,null!==r?r.push(w):r=[w])}return null!==r?new u0(r):null}template(n,r){for(let l=0;l<this.queries.length;l++)this.queries[l].template(n,r)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class h0{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,r=-1){this.metadata=n,this._declarationNodeIndex=r}elementStart(n,r){this.isApplyingToNode(r)&&this.matchTNode(n,r)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,r){this.elementStart(n,r)}embeddedTView(n,r){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,r),new h0(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const r=this._declarationNodeIndex;let l=n.parent;for(;null!==l&&8&l.type&&l.index!==r;)l=l.parent;return r===(null!==l?l.index:-1)}return this._appliesToNextNode}matchTNode(n,r){const l=this.metadata.predicate;if(Array.isArray(l))for(let p=0;p<l.length;p++){const w=l[p];this.matchTNodeWithReadOption(n,r,pD(r,w)),this.matchTNodeWithReadOption(n,r,qi(r,n,w,!1,!1))}else l===Xf?4&r.type&&this.matchTNodeWithReadOption(n,r,-1):this.matchTNodeWithReadOption(n,r,qi(r,n,l,!1,!1))}matchTNodeWithReadOption(n,r,l){if(null!==l){const p=this.metadata.read;if(null!==p)if(p===Gs||p===Gv||p===Xf&&4&r.type)this.addMatch(r.index,-2);else{const w=qi(r,n,p,!1,!1);null!==w&&this.addMatch(r.index,w)}else this.addMatch(r.index,l)}}addMatch(n,r){null===this.matches?this.matches=[n,r]:this.matches.push(n,r)}}function pD(t,n){const r=t.localNames;if(null!==r)for(let l=0;l<r.length;l+=2)if(r[l]===n)return r[l+1];return null}function gD(t,n,r,l){return-1===r?function _D(t,n){return 11&t.type?ms(t,n):4&t.type?Tf(t,n):null}(n,t):-2===r?function nT(t,n,r){return r===Gs?ms(n,t):r===Xf?Tf(n,t):r===Gv?cD(n,t):void 0}(t,n,l):$i(t,t[_.eDl],r,n)}
1function f0(t,n,r,l){const p=n[_.Ds7].queries[l];if(null===p.matches){const w=t.data,V=r.matches,Z=[];for(let oe=0;null!==V&&oe<V.length;oe+=2){const bt=V[oe];Z.push(bt<0?null:gD(n,w[bt],V[oe+1],r.metadata.read))}p.matches=Z}return p.matches}function Kv(t,n,r,l){const p=t.queries.getByIndex(r),w=p.matches;if(null!==w){const V=f0(t,n,p,r);for(let Z=0;Z<w.length;Z+=2){const oe=w[Z];if(oe>0)l.push(V[Z/2]);else{const bt=w[Z+1],Ft=n[-oe];for(let gn=_.Y20;gn<Ft.length;gn++){const Jn=Ft[gn];Jn[_.rQE]===Jn[_.f7T]&&Kv(Jn[_.eDl],Jn,bt,l)}if(null!==Ft[_.nfM]){const gn=Ft[_.nfM];for(let Jn=0;Jn<gn.length;Jn++){const ei=gn[Jn];Kv(ei[_.eDl],ei,bt,l)}}}}}return l}function lm(t,n){return t[_.Ds7].queries[n].queryList}function m0(t,n,r){const l=new Oo(!(4&~r));return(0,_.B22)(t,n,l,l.destroy),(n[_.Ds7]??=new d0).queries.push(new Ky(l))-1}function p0(t,n,r){const l=(0,_.klJ)();return l.firstCreatePass&&(Qy(l,new mD(t,n,r),-1),!(2&~n)&&(l.staticViewQueries=!0)),m0(l,(0,_.OAn)(),n)}function _0(t,n,r,l){const p=(0,_.klJ)();if(p.firstCreatePass){const w=(0,_.Mx4)();Qy(p,new mD(n,r,l),w.index),function vD(t,n){const r=t.contentQueries||(t.contentQueries=[]);n!==(r.length?r[r.length-1]:-1)&&r.push(t.queries.length-1,n)}(p,t),!(2&~r)&&(p.staticContentQueries=!0)}return m0(p,(0,_.OAn)(),r)}function Qy(t,n,r){null===t.queries&&(t.queries=new u0),t.queries.track(new h0(n,r))}function Xy(t,n){return t.queries.getByIndex(n)}function v0(t,n){const r=t[_.eDl],l=Xy(r,n);return l.crossesNgTemplate?Kv(r,t,n,[]):f0(r,t,l,n)}function y0(t,n,r){let l;const p=(0,Qn.KZ)(()=>{l._dirtyCounter();const w=function bD(t,n){const r=t._lView,l=t._queryIndex;if(void 0===r||void 0===l||4&r[_.Wg1])return n?void 0:_.Mlv;const p=lm(r,l),w=v0(r,l);return p.reset(w,No),n?p.first:p._changesDetected||void 0===t._flatValue?t._flatValue=p.toArray():t._flatValue}(l,t);if(n&&void 0===w)throw new _.buA(-951,!1);return w});return l=p[Qn.bh],l._dirtyCounter=(0,_.vPA)(0),l._flatValue=void 0,p}function yD(t){return y0(!0,!1)}function iT(t){return y0(!0,!0)}function Jy(t){return y0(!1,!1)}function Zy(t,n){const r=t[Qn.bh];r._lView=(0,_.OAn)(),r._queryIndex=n,r._queryList=lm(r._lView,n),r._queryList.onDirty(()=>r._dirtyCounter.update(l=>l+1))}function ED(t){const n=[],r=new Map;function l(p){let w=r.get(p);if(!w){const V=t(p);r.set(p,w=V.then(Z=>function Qv(t,n){return"string"==typeof n?n:void 0!==n.status&&200!==n.status?Promise.reject(new _.buA(918,!1)):n.text()}(0,Z)))}return w}return Q_.forEach((p,w)=>{const V=[];p.templateUrl&&V.push(l(p.templateUrl).then(bt=>{p.template=bt}));const Z="string"==typeof p.styles?[p.styles]:p.styles||[];if(p.styles=Z,p.styleUrl&&p.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(p.styleUrls?.length){const bt=p.styles.length,Ft=p.styleUrls;p.styleUrls.forEach((gn,Jn)=>{Z.push(""),V.push(l(gn).then(ei=>{Z[bt+Jn]=ei,Ft.splice(Ft.indexOf(gn),1),0==Ft.length&&(p.styleUrls=void 0)}))})}else p.styleUrl&&V.push(l(p.styleUrl).then(bt=>{Z.push(bt),p.styleUrl=void 0}));const oe=Promise.all(V).then(()=>function f(t){Jg.delete(t)}(w));n.push(oe)}),function rT(){const t=Q_;Q_=new Map}(),Promise.all(n).then(()=>{})}let Q_=new Map;const Jg=new Set;function qy(){return 0===Q_.size}const e=new Map;function g(t,n){(function c(t,n,r){if(n&&n!==r)throw new Error(`Duplicate module registered for ${t} - ${(0,_.AsM)(n)} vs ${(0,_.AsM)(n.name)}`)})(n,e.get(n)||null,t),e.set(n,t)}let se=class{},Se=class{};function ut(t,n){return new vn(t,n??null,[])}class vn extends se{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Nm(this);constructor(n,r,l,p=!0){super(),this.ngModuleType=n,this._parent=r;const w=(0,_.phH)(n);this._bootstrapComponents=Ts(w.bootstrap),this._r3Injector=(0,_.Pz9)(n,r,[{provide:se,useValue:this},{provide:Rh,useValue:this.componentFactoryResolver},...l],(0,_.AsM)(n),new Set(["environment"])),p&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializer
vendor: 4,394 bytes, line 1
1s(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Kn extends Se{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new vn(this.moduleType,n,[])}}function ji(t,n,r){return new vn(t,n,r,!1)}class hr extends se{injector;componentFactoryResolver=new Nm(this);instance=null;constructor(n){super();const r=new _.e5P([...n.providers,{provide:se,useValue:this},{provide:Rh,useValue:this.componentFactoryResolver}],n.parent||(0,_.WB9)(),n.debugName,new Set(["environment"]));this.injector=r,n.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kr(t,n,r=null){return new hr({providers:t,parent:n,debugName:r,runEnvironmentInitializers:!0}).injector}let Sr=(()=>{class t{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const l=(0,_.jXY)(!1,r.type),p=l.length>0?kr([l],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,p)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,_.jDH)({token:t,providedIn:"environment",factory:()=>new t((0,_.KVO)(_.uvJ))})}return t})();function hs(t){return Vi(()=>{const n=Xn(t),r={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Qa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?p=>p.get(Sr).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Bo.Emulated,styles:t.styles||_.Mlv,_:null,schemas:t.schemas||null,tView:null,id:""};n.standalone&&Ec("NgStandalone"),hi(r);const l=t.dependencies;return r.directiveDefs=Mi(l,zs),r.pipeDefs=Mi(l,_.oyA),r.id=function Ji(t){let n=0;const l=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,"function"==typeof t.consts?"":t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(const w of l.join("|"))n=Math.imul(31,n)+w.charCodeAt(0)|0;return n+=2147483648,"c"+n}(r),r})}function zs(t){return(0,_.xUg)(t)||(0,_.HaV)(t)}function Vs(t){return Vi(()=>({type:t.type,bootstrap:t.bootstrap||_.Mlv,declarations:t.declarations||_.Mlv,imports:t.imports||_.Mlv,exports:t.exports||_.Mlv,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function $o(t,n){if(null==t)return _.MZA;const r={};for(const l in t)if(t.hasOwnProperty(l)){const p=t[l];let w,V,Z,oe;Array.isArray(p)?(Z=p[0],w=p[1],V=p[2]??w,oe=p[3]||null):(w=p,V=p,Z=Eh.None,oe=null),r[w]=[l,Z,oe],n[w]=V}return r}function qa(t){if(null==t)return _.MZA;const n={};for(const r in t)t.hasOwnProperty(r)&&(n[t[r]]=r);return n}function aa(t){return Vi(()=>{const n=Xn(t);return hi(n),n})}function Ci(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Xn(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||_.MZA,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:!0===t.signals,selectors:t.selectors||_.Mlv,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:$o(t.inputs,n),outputs:qa(t.outputs),debugInfo:null}}function hi(t){t.features?.forEach(n=>n(t))}function Mi(t,n){return t?()=>{const r="function"==typeof t?t():t,l=[];for(const p of r){const w=n(p);null!==w&&l.push(w)}return l}:null}function li(t){return Object.getPrototypeOf(t.prototype).constructor}function Lh(t){let n=li(t.type),r=!0;const l=[t];for(;n;){let p;if((0,_.JlV)(t))p=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new _.buA(903,!1);p=n.\u0275dir}
vendor: 4,084 bytes, line 1
1if(p){if(r){l.push(p);const V=t;V.inputs=pp(t.inputs),V.declaredInputs=pp(t.declaredInputs),V.outputs=pp(t.outputs);const Z=p.hostBindings;Z&&eb(t,Z);const oe=p.viewQuery,bt=p.contentQueries;if(oe&&J_(t,oe),bt&&Z_(t,bt),X_(t,p),(0,_.dwj)(t.outputs,p.outputs),(0,_.JlV)(p)&&p.data.animation){const Ft=t.data;Ft.animation=(Ft.animation||[]).concat(p.data.animation)}}const w=p.features;if(w)for(let V=0;V<w.length;V++){const Z=w[V];Z&&Z.ngInherit&&Z(t),Z===Lh&&(r=!1)}}n=Object.getPrototypeOf(n)}!function E0(t){let n=0,r=null;for(let l=t.length-1;l>=0;l--){const p=t[l];p.hostVars=n+=p.hostVars,p.hostAttrs=Fs(p.hostAttrs,r=Fs(r,p.hostAttrs))}}(l)}function X_(t,n){for(const r in n.inputs){if(!n.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;const l=n.inputs[r];void 0!==l&&(t.inputs[r]=l,t.declaredInputs[r]=n.declaredInputs[r])}}function pp(t){return t===_.MZA?{}:t===_.Mlv?[]:t}function J_(t,n){const r=t.viewQuery;t.viewQuery=r?(l,p)=>{n(l,p),r(l,p)}:n}function Z_(t,n){const r=t.contentQueries;t.contentQueries=r?(l,p,w)=>{n(l,p,w),r(l,p,w)}:n}function eb(t,n){const r=t.hostBindings;t.hostBindings=r?(l,p)=>{n(l,p),r(l,p)}:n}const D0=["providersResolver"],Fm=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function tb(t){const n=r=>{const l=Array.isArray(t);null===r.hostDirectives?(r.resolveHostDirectives=q_,r.hostDirectives=l?t.map(ib):[t]):l?r.hostDirectives.unshift(...t.map(ib)):r.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function q_(t){const n=[];let r=!1,l=null,p=null;for(let w=0;w<t.length;w++){const V=t[w];if(null!==V.hostDirectives){const Z=n.length;l??=new Map,p??=new Map,nb(V,n,l),p.set(V,[Z,n.length-1])}0===w&&(0,_.JlV)(V)&&(r=!0,n.push(V))}for(let w=r?1:0;w<t.length;w++)n.push(t[w]);return[n,l,p]}function nb(t,n,r){if(null!==t.hostDirectives)for(const l of t.hostDirectives)if("function"==typeof l){const p=l();for(const w of p)r_(ib(w),n,r)}else r_(l,n,r)}function r_(t,n,r){const l=(0,_.HaV)(t.directive);(function Zg(t,n){for(const r in n)n.hasOwnProperty(r)&&(t[n[r]]=t[r])})(l.declaredInputs,t.inputs),nb(l,n,r),r.set(l,t),n.push(l)}function ib(t){return"function"==typeof t?{directive:(0,_.nl4)(t),inputs:_.MZA,outputs:_.MZA}:{directive:(0,_.nl4)(t.directive),inputs:w0(t.inputs),outputs:w0(t.outputs)}}function w0(t){if(void 0===t||0===t.length)return _.MZA;const n={};for(let r=0;r<t.length;r+=2)n[t[r]]=t[r+1];return n}function Jv(t,n,r,l,p,w,V,Z){if(r.firstCreatePass){t.mergedAttrs=Fs(t.mergedAttrs,t.attrs);const Ft=t.tView=eh(2,t,p,w,V,r.directiveRegistry,r.pipeRegistry,null,r.schemas,r.consts,null);null!==r.queries&&(r.queries.template(r,t),Ft.queries=r.queries.embeddedTView(t))}Z&&(t.flags|=Z),(0,_.iMd)(t,!1);const oe=T0(r,n,t,l);(0,_.SX7)()&&R(r,n,oe,t),ca(oe,n);const bt=Cg(oe,n,oe,t);n[l+_.Yw1]=bt,th(n,bt)}function Bm(t,n,r,l,p,w,V,Z,oe,bt,Ft){const gn=r+_.Yw1;let Jn;if(n.firstCreatePass){if(Jn=oa(n,gn,4,V||null,Z||null),null!=bt){const ei=(0,_.db4)(n.consts,bt);Jn.localNames=[];for(let cr=0;cr<ei.length;cr+=2)Jn.localNames.push(ei[cr],-1)}}else Jn=n.data[gn];return Jv(Jn,t,n,r,l,p,w,oe),null!=bt&&zr(t,Jn,Ft),Jn}function Zv(t,n,r,l,p,w,V,Z){const oe=(0,_.OAn)(),bt=(0,_.klJ)();return function sb(t,n,r,l,p,w,V,Z,oe,bt,Ft){const gn=r+_.Yw1;let Jn;n.firstCreatePass?(Jn=oa(n,gn,4,V||null,Z||null),(0,_.ckz)()&&am(n,t,Jn,(0,_.db4)(n.consts,bt),bl),ft(n,Jn)):Jn=n.data[gn],Jv(Jn,t,n,r,l,p,w,oe),(0,_.yoD)(Jn)&&Dr(n,t,Jn),null!=bt&&zr(t,Jn,Ft)}(oe,bt,t,n,r,l,p,(0,_.db4)(bt.consts,w),void 0,V,Z),Zv}function qv(t,n,r,l,p,w,V,Z){const oe=(0,_.OAn)(),bt=(0,_.klJ)();return Bm(oe,bt,t,n,r,l,p,(0,_.db4)(bt.consts,w),void 0,V,Z),qv}let T0=function ob(t,n,r,l){return(0,_.m7n)(!0),n[_.GpT].createComment("")};var Hc=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Hc||{}),Dl=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Dl||{}),_p=function(t){return t[t.Initial=-1]="Initial",t}(_p||{}
vendor: 27,288 bytes, line 1
1),k0=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(k0||{});function ev(t,n,r){const l=cb(t);null===n[l]&&(n[l]=[]),n[l].push(r)}function eg(t,n){const r=cb(t),l=n[r];if(null!==l){for(const p of l)p();n[r]=null}}function lb(t){eg(1,t),eg(0,t),eg(2,t)}function cb(t){let n=4;return 1===t?n=5:2===t&&(n=9),n}function Vm(t){return t+1}function bu(t,n){return t[Vm(n.index)]}function Ic(t,n){const r=Vm(n.index);return t.data[r]}function iy(t,n){return n===Dl.Placeholder?t.placeholderBlockConfig?.[0]??null:n===Dl.Loading?t.loadingBlockConfig?.[0]??null:null}function tg(t){return t.loadingBlockConfig?.[1]??null}function ub(t,n){if(!t||0===t.length)return n;const r=new Set(t);for(const l of n)r.add(l);return t.length===r.size?t:Array.from(r)}function hb(t,n,r){const l=r.get(Ko);return function _a(t,n,r){let l=me.get(t);return Xt=Xt||r(),l||(l=new mi,Xt.observe(t),me.set(t,l),Cn++),l.callbacks.add(n),()=>{me.has(t)&&(l.callbacks.delete(n),0===l.callbacks.size&&(Xt?.unobserve(t),me.delete(t),Cn--),0===Cn&&(Xt?.disconnect(),Xt=null))}}(t,()=>l.run(n),()=>l.runOutsideAngular(()=>function Ur(){return new IntersectionObserver(t=>{for(const n of t)n.isIntersecting&&me.has(n.target)&&me.get(n.target).listener()})}()))}function rg(t,n,r,l,p,w,V){const Z=t[_.YEL],oe=Z.get(Ko);let bt;bt=xp({read:function Ft(){if((0,_.EPY)(t))return void bt.destroy();const gn=bu(t,n),Jn=gn[1];if(Jn!==_p.Initial&&Jn!==Dl.Placeholder)return void bt.destroy();const ei=function ig(t,n,r){return null==r?t:r>=0?(0,_.jRZ)(r,t):t[n.index][_.Y20]??null}(t,n,l);if(!ei||(bt.destroy(),(0,_.EPY)(ei)))return;const cr=function ID(t,n){return(0,_.vaC)(_.Yw1+n,t)}(ei,r),Pr=p(cr,()=>{oe.run(()=>{t!==ei&&(0,_.DyX)(ei,Pr),w()})},Z);t!==ei&&(0,_.ik5)(ei,Pr),ev(V,gn,Pr)}},{injector:Z})}function o_(t,n){const r=n.get(sy);return r.add(t),()=>r.remove(t)}let sy=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,_.WQX)(Ko);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(r){(this.executingCallbacks?this.deferred:this.current).add(r),null===this.idleId&&this.scheduleIdleCallback()}remove(r){const{current:l,deferred:p}=this;l.delete(r),p.delete(r),0===l.size&&0===p.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const r=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const l of this.current)l();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const l of this.deferred)this.current.add(l);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(r))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,_.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})();function Sf(t){return(n,r)=>mb(t,n,r)}function mb(t,n,r){const l=r.get(R0),p=r.get(Ko);return l.add(t,n,p),()=>l.remove(n)}let R0=(()=>{class t{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(r,l,p){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+r,l),this.scheduleTimer(p)}remove(r){const{current:l,deferred:p}=this;-1===this.removeFromQueue(l,r)&&this.removeFromQueue(p,r),0===l.length&&0===p.length&&this.clearTimeout()}addToQueue(r,l,p){let w=r.length;for(let V=0;V<r.length;V+=2)if(r[V]>l){w=V;break}(0,_.llW)(r,w,l,p)}removeFromQueue(r,l){let p=-1;for(let w=0;w<r.length;w+=2)if(r[w+1]===l){p=w;break}return p>-1&&(0,_.gsJ)(r,p,2),p}scheduleTimer(r){const l=()=>{this.clearTimeout(),this.executingCallbacks=!0;const w=[...this.current],V=Date.now();for(let oe=0;oe<w.length;oe+=2){const Ft=w[oe+1];if(!(w[oe]<=V))break;Ft()}let Z=-1;for(let oe=0;oe<this.current.length&&this.current[oe]<=V;oe+=2)Z=oe+1;if(Z>=0&&(0,_.gsJ)(this.current,0,Z+1),this.executingCallbacks=!1,this.deferred.length>0){for(let oe=0;oe<this.deferred.length;oe+=2)this.addToQueue(this.current,this.deferred[oe],this.deferred[oe+1]);this.deferred.length=0}this.scheduleTimer(r)};if(this.current.length>0){const w=Date.now(),V=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-V>16){this.clearTimeout();const Z=Math.max(V-w,16);this.invokeTimerAt=V,this.timeoutId=r.runOutsideAngular(()=>setTimeout(()=>r.run(l),Z))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,_.jDH)({token:t,providedIn:"root",factory:()=>new t})}return t})(),pb=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(r,l,p,w){if(!this.cachedInjectors.has(r)){const V=p.length>0?kr(p,l,w):null;this.cachedInjectors.set(r,V)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,_.jDH)({token:t,providedIn:"environment",factory:()=>new t})}return t})();const O0=new _.nKC("");function oy(t,n,r){return t.get(pb).getOrCreateInjector(n,t,r,"")}function xf(t,n,r,l=!1){const p=r[_.f7T],w=p[_.eDl];if((0,_.EPY)(p))return;const V=bu(p,n),oe=V[7];if(!(null!==oe&&t<oe)&&ly(V[1],t)&&ly(V[0]??-1,t)){const bt=Ic(w,n),gn=l||null===tg(bt)&&null===iy(bt,Dl.Loading)&&!iy(bt,Dl.Placeholder)?ay:cy;try{gn(t,V,r,n,p)}catch(Jn){Nu(p,Jn)}}}function ay(t,n,r,l,p){gt(20);const w=function ny(t,n,r){const p=Ic(n[_.eDl],r);switch(t){case Dl.Complete:return p.primaryTmplIndex;case Dl.Loading:return p.loadingTmplIndex;case Dl.Error:return p.errorTmplIndex;case Dl.Placeholder:return p.placeholderTmplIndex;default:return null}}(t,p,l);if(null!==w){n[1]=t;const V=p[_.eDl],oe=(0,_.XRZ)(V,w+_.Yw1),bt=0;let Ft;if(Ag(r,bt),t===Dl.Complete){const cr=Ic(V,l),Pr=cr.providers;Pr&&Pr.length>0&&(Ft=function CD(t,n,r){if(t instanceof sm){const p=t.injector,V=oy(t.parentInjector,n,r);return new sm(p,V)}const l=t.get(_.uvJ);if(l!==t){const p=oy(l,n,r);return new sm(t,p)}return oy(t,n,r)}(p[_.YEL],cr,Pr))}const{dehydratedView:gn,dehydratedViewIx:Jn}=function L0(t,n){const r=t[_.qFA]?.findIndex(p=>p.data.s===n[1])??-1;return{dehydratedView:r>-1?t[_.qFA][r]:null,dehydratedViewIx:r}}(r,n),ei=Wd(p,oe,null,{injector:Ft,dehydratedView:gn});if(oh(r,ei,bt,iu(oe,gn)),wf(ei,2),Jn>-1&&r[_.qFA]?.splice(Jn,1),(t===Dl.Complete||t===Dl.Error)&&Array.isArray(n[8])){for(const cr of n[8])cr();n[8]=null}}gt(21)}function tv(t,n,r,l,p){const w=Date.now(),Z=Ic(p[_.eDl],l);if(null===n[2]||n[2]<=w){n[2]=null;const oe=tg(Z),bt=null!==n[3];if(t!==Dl.Loading||null===oe||bt){t>Dl.Loading&&bt&&(n[3](),n[3]=null,n[0]=null),ay(t,n,r,l,p);const Ft=iy(Z,t);null!==Ft&&(n[2]=w+Ft,vp(Ft,n,l,r,p))}else{n[0]=t;const Ft=vp(oe,n,l,r,p);n[3]=Ft}}else n[0]=t}function vp(t,n,r,l,p){return mb(t,()=>{const V=n[0];n[2]=null,n[0]=null,null!==V&&xf(V,r,l)},p[_.YEL])}function ly(t,n){return t<n}function sg(t,n){xf(Dl.Placeholder,n,t[n.index])}function _b(t,n,r){t.loadingPromise.then(()=>{t.loadingState===Hc.COMPLETE?xf(Dl.Complete,n,r):t.loadingState===Hc.FAILED&&xf(Dl.Error,n,r)})}let cy=null;function B0(t,n,r,l){return Vi(()=>{const p=t;null!==n&&(p.hasOwnProperty("decorators")&&void 0!==p.decorators?p.decorators.push(...n):p.decorators=n),null!==r&&(p.ctorParameters=r),null!==l&&(p.propDecorators=p.hasOwnProperty("propDecorators")&&void 0!==p.propDecorators?{...p.propDecorators,...l}:l)})}let V0=(()=>{class t{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const Tb=new _.nKC(""),Mb=new _.nKC("");let my,l_=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(r,l,p){this._ngZone=r,this.registry=l,(0,_.M6u)()&&(this._destroyRef=(0,_.WQX)(_.abz,{optional:!0})??void 0),my||(function rE(t){my=t}(p),p.addToWindow(l)),this._watchAngularEvents(),r.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const r=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),l=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Ko.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{r.unsubscribe(),l.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(r)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,l,p){let w=-1;l&&l>0&&(w=setTimeout(()=>{this._callbacks=this._callbacks.filter(V=>V.timeoutId!==w),r()},l)),this._callbacks.push({doneCb:r,timeoutId:w,updateCb:p})}whenStable(r,l,p){if(p&&!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(r,l,p),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,l,p){return[]}static \u0275fac=function(l){return new(l||t)((0,_.KVO)(Ko),(0,_.KVO)(Ib),(0,_.KVO)(Mb))};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac})}return t})(),Ib=(()=>{class t{_applications=new Map;registerApplication(r,l){this._applications.set(r,l)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,l=!0){return my?.findTestabilityInTree(this,r,l)??null}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function Cb(t){return!!t&&"function"==typeof t.then}function dv(t){return!!t&&"function"==typeof t.subscribe}const uh=new _.nKC("");function sE(t){return(0,_.EmA)([{provide:uh,multi:!0,useValue:t}])}let Ab=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,l)=>{this.resolve=r,this.reject=l});appInits=(0,_.WQX)(uh,{optional:!0})??[];injector=(0,_.WQX)(_.zZn);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const p of this.appInits){const w=(0,_.N4e)(this.injector,p);if(Cb(w))r.push(w);else if(dv(w)){const V=new Promise((Z,oe)=>{w.subscribe({complete:Z,error:oe})});r.push(V)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{l()}).catch(p=>{this.reject(p)}),0===r.length&&l(),this.initialized=!0}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const c_=new _.nKC("");function F(){}function Fe(){(0,Qn.KO)(()=>{throw new _.buA(600,"")})}function dr(t,n){return Array.isArray(n)?n.reduce(dr,t):{...t,...n}}let Zr=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,_.WQX)(_.ZTf);afterRenderManager=(0,_.WQX)(hf);zonelessEnabled=(0,_.WQX)(_.Evm);rootEffectScheduler=(0,_.WQX)(_.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new di.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,_.WQX)(_.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,pi.T)(r=>!r))}constructor(){(0,_.WQX)(nu,{optional:!0})}whenStable(){let r;return new Promise(l=>{r=this.isStable.subscribe({next:p=>{p&&l()}})}).finally(()=>{r.unsubscribe()})}_injector=(0,_.WQX)(_.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(r,l){return this.bootstrapImpl(r,l)}bootstrapImpl(r,l,p=_.zZn.NULL){return this._injector.get(Ko).run(()=>{gt(10);const V=r instanceof Af;if(!this._injector.get(Ab).done)throw new _.buA(405,"");let oe;oe=V?r:this._injector.get(Rh).resolveComponentFactory(r),this.componentTypes.push(oe.componentType);const bt=function St(t){return t.isBoundToModule}(oe)?void 0:this._injector.get(se),gn=oe.create(p,[],l||oe.selector,bt),Jn=gn.location.nativeElement,ei=gn.injector.get(Tb,null);return ei?.registerApplication(Jn),gn.onDestroy(()=>{this.detachView(gn.hostView),Dd(this.components,gn),ei?.unregisterApplication(Jn)}),this._loadComponent(gn),gt(11,gn),gn})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){gt(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(Uf.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new _.buA(101,!1);const r=(0,Qn.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,Qn.Ht)(r),this.afterTick.next(),gt(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ru,null,{optional:!0}));let r=0;for(;0!==this.dirtyFlags&&r++<10;)gt(14),this.synchronizeOnce(),gt(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let r=!1;if(7&this.dirtyFlags){const l=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:p}of this.allViews)(l||(0,_.dMS)(p))&&(Ah(p,l&&!this.zonelessEnabled?0:1),r=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}r||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>(0,_.dMS)(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const l=r;this._views.push(l),l.attachToAppRef(this)}detachView(r){const l=r;Dd(this._views,l),l.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView);try{this.tick()}catch(p){this.internalErrorHandler(p)}this.components.push(r),this._injector.get(c_,[]).forEach(p=>p(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>Dd(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new _.buA(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Dd(t,n){const r=t.indexOf(n);r>-1&&t.splice(r,1)}function $a(){let t,n;return{promise:new Promise((l,p)=>{t=l,n=p}),resolve:t,reject:n}}function ou(t){const n=(0,_.OAn)(),r=(0,_.Mx4)();if(sg(n,r),!py(0,n))return;const l=n[_.YEL];ev(0,bu(n,r),t(()=>uv(0,n,r),l))}function au(t){const n=(0,_.OAn)(),r=n[_.YEL],l=(0,_.Mx4)(),w=Ic(n[_.eDl],l);w.loadingState===Hc.NOT_STARTED&&ev(1,bu(n,l),t(()=>Hu(w,n,l),r))}function d_(t,n,r){const l=n[_.YEL],p=bu(n,r),w=p[6];ev(2,p,t(()=>hv(l,w),l))}function Hu(t,n,r){hg(t,n,r)}function hg(t,n,r){const l=n[_.YEL],p=n[_.eDl];if(t.loadingState!==Hc.NOT_STARTED)return t.loadingPromise??Promise.resolve();const w=bu(n,r),V=function ju(t,n){return(0,_.XRZ)(t,n.primaryTmplIndex+_.Yw1)}(p,t);t.loadingState=Hc.IN_PROGRESS,eg(1,w);let Z=t.dependencyResolverFn;const oe=l.get(_.u5s).add();return Z?(t.loadingPromise=Promise.allSettled(Z()).then(bt=>{let Ft=!1;const gn=[],Jn=[];for(const ei of bt){if("fulfilled"!==ei.status){Ft=!0;break}{const cr=ei.value,Pr=(0,_.xUg)(cr)||(0,_.HaV)(cr);if(Pr)gn.push(Pr);else{const ks=(0,_.oyA)(cr);ks&&Jn.push(ks)}}}if(Ft){if(t.loadingState=Hc.FAILED,null===t.errorTmplIndex){const cr=new _.buA(-750,!1);Nu(n,cr)}}else{t.loadingState=Hc.COMPLETE;const ei=V.tView;if(gn.length>0){ei.directiveRegistry=ub(ei.directiveRegistry,gn);const cr=gn.map(ks=>ks.type),Pr=(0,_.jXY)(!1,...cr);t.providers=Pr}Jn.length>0&&(ei.pipeRegistry=ub(ei.pipeRegistry,Jn))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,oe()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Hc.COMPLETE,oe()}),t.loadingPromise)}function py(t,n){return n[_.YEL].get(O0,null,{optional:!0})?.behavior!==k0.Manual}function uv(t,n,r){const l=n[_.eDl],p=n[r.index];if(!py(0,n))return;const w=bu(n,r),V=Ic(l,r);switch(lb(w),V.loadingState){case Hc.NOT_STARTED:xf(Dl.Loading,r,p),hg(V,n,r),V.loadingState===Hc.IN_PROGRESS&&_b(V,r,p);break;case Hc.IN_PROGRESS:xf(Dl.Loading,r,p),_b(V,r,p);break;case Hc.COMPLETE:xf(Dl.Complete,r,p);break;case Hc.FAILED:xf(Dl.Error,r,p)}}function hv(t,n,r){return UD.apply(this,arguments)}function UD(){return(UD=(0,Yn.A)(function*(t,n,r){const l=t.get(Kl);if(l.hydrating.has(n))return;const{parentBlockPromise:w,hydrationQueue:V}=function hl(t,n){const r=n.get(Kl),p=n.get(wa).get("__nghDeferData__",{});let w=!1,V=t,Z=null;const oe=[];for(;!w&&V;){w=r.has(V);const bt=r.hydrating.get(V);if(null===Z&&null!=bt){Z=bt.promise;break}oe.unshift(V),V=p[V].p}return{parentBlockPromise:Z,hydrationQueue:oe}}(n,t);if(0===V.length)return;null!==w&&V.shift(),function aT(t,n){for(let r of n)t.hydrating.set(r,$a())}(l,V),null!==w&&(yield w);const Z=V[0];l.has(Z)?yield kb(t,V,r):l.awaitParentBlock(Z,(0,Yn.A)(function*(){return yield kb(t,V,r)}))})).apply(this,arguments)}function kb(t,n,r){return Sb.apply(this,arguments)}function Sb(){return(Sb=(0,Yn.A)(function*(t,n,r){const l=t.get(Kl),p=l.hydrating,w=t.get(_.rev),V=w.add();for(let oe=0;oe<n.length;oe++){const bt=n[oe],Ft=l.get(bt);if(null==Ft){IM(oe,n,l),xb(n.slice(oe),l);break}if(yield cT(Ft),yield lT(t),oT(Ft)){n0(Ft),xb(n.slice(oe),l);break}p.get(bt).resolve()}const Z=n[n.length-1];yield p.get(Z)?.promise,w.remove(V),r&&r(n),function Wg(t,n,r,l){null!==t&&(r.cleanup(n),Al(t.lContainer),function Hy(t){const n=t._views;for(const r of n){const l=Jl(r);null!==l&&null!==l[_.jgP]&&((0,_.q$2)(l)?Xp(l):Al(l))}}(l))}(l.get(Z),n,l,t.get(Zr))})).apply(this,arguments)}function oT(t){return bu(t.lView,t.tNode)[1]===Dl.Error}function IM(t,n,r){const l=t-1,p=l>-1?r.get(n[l]):null;p&&Al(p.lContainer)}function xb(t,n){const r=n.hydrating;for(const l in t)r.get(l)?.reject();n.cleanup(t)}function lT(t){return new Promise(n=>Rp(n,{injector:t}))}function cT(t){return oE.apply(this,arguments)}function oE(){return(oE=(0,Yn.A)(function*(t){const{tNode:n,lView:r}=t,l=bu(r,n);return new Promise(p=>{(function CM(t,n){Array.isArray(t[8])||(t[8]=[]),t[8].push(n)})(l,p),uv(0,r,n)})})).apply(this,arguments)}function od(t,n,r){return 0===t?dT(n,r):2!==t||!dT(n,r)}function dT(t,n){const r=t[_.YEL],l=Ic(t[_.eDl],n),p=rs(r),w=function AM(t){return null!=t&&!(1&~t)}(l.flags),Z=null!==bu(t,n)[6];return!(w&&Z&&p)}function u_(t,n){const r=Ic(t,n);return r.hydrateTriggers??=new Map}function lE(t,n){const r=(0,_.OAn)();if(ar(r,(0,_.xbp)(),n)){const p=(0,_.klJ)(),w=(0,_.CpD)();if(sh(w,p,r,t,n))(0,_.Qs1)(w)&&ma(r,w.index);else{const Z=(0,_.d31)(w,r);El(r[_.GpT],Z,null,w.value,t,n,null)}}return lE}function WD(t,n,r,l){const p=(0,_.OAn)();return ar(p,(0,_.xbp)(),n)&&((0,_.klJ)(),function Vc(t,n,r,l,p,w){const V=(0,_.d31)(t,n);El(n[_.GpT],V,w,t.value,r,l,p)}((0,_.CpD)(),p,t,n,r,l)),WD}const cE=new _.nKC("",{providedIn:"root",factory:()=>!1}),fT=new _.nKC("",{providedIn:"root",factory:()=>mT}),mT=4e3,fg=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function dE(t){return t[_.YEL].get(cE,!1)}function HD(t){const n=_y.get(t);if(n){for(const r of n.cleanupFns)r();_y.delete(t)}fv.delete(t)}const t1=()=>{},_y=new WeakMap,fv=new WeakMap,gy=new WeakMap;function YD(t,n){const r=gy.get(t);if(r&&r.length>0){const l=r.findIndex(p=>p===n);l>-1&&r.splice(l,1)}0===r?.length&&gy.delete(t)}function Rb(t,n){const r=gy.get(t)?.shift(),l=n[_.rQE];if(l){const w=I(t.index,l)?.previousSibling;r&&w&&r===w&&r.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function _T(t,n){gy.has(t)?gy.get(t)?.push(n):gy.set(t,[n])}function uE(t){const n=t[_.Isx]??={};return n.enter??=new Map}function mv(t){const n=t[_.Isx]??={};return n.leave??=new Map}function gT(t){const n="function"==typeof t?t():t;let r=Array.isArray(n)?n:null;return"string"==typeof n&&(r=n.trim().split(/\s+/).filter(l=>l)),r}function vT(t,n){const r=fv.get(n);return void 0===r||n===t.target&&(void 0!==r.animationName&&t.animationName===r.animationName||void 0!==r.propertyName&&t.propertyName===r.propertyName)}function hE(t,n,r){const l=t.get(n.index)??{animateFns:[]};l.animateFns.push(r),t.set(n.index,l)}function fE(t,n){if(t)for(const r of t)r();for(const r of n)r()}function mE(t,n){const r=mv(t).get(n.index);r&&(r.resolvers=void 0)}function so(t,n,r,l,p){YD(n,r),fE(l,p),mE(t,n)}class TT{destroy(n){}updateValue(n,r){}swap(n,r){const l=Math.min(n,r),p=Math.max(n,r),w=this.detach(p);if(p-l>1){const V=this.detach(l);this.attach(l,w),this.attach(p,V)}else this.attach(l,w)}move(n,r){this.attach(r,this.detach(n))}}function _E(t,n,r,l,p){return t===r&&Object.is(n,l)?1:Object.is(p(t,n),p(r,l))?-1:0}function gE(t,n,r,l){return!(void 0===n||!n.has(l)||(t.attach(r,n.get(l)),n.delete(l),0))}function $D(t,n,r,l,p){if(gE(t,n,l,r(l,p)))t.updateValue(l,p);else{const w=t.create(l,p);t.attach(l,w)}}function GD(t,n,r,l){const p=new Set;for(let w=n;w<=r;w++)p.add(l(w,t.at(w)));return p}class KD{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;const r=this.kvMap.get(n);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(n,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,r){if(this.kvMap.has(n)){let l=this.kvMap.get(n);void 0===this._vMap&&(this._vMap=new Map);const p=this._vMap;for(;p.has(l);)l=p.get(l);p.set(l,r)}else this.kvMap.set(n,r)}forEach(n){for(let[r,l]of this.kvMap)if(n(l,r),void 0!==this._vMap){const p=this._vMap;for(;p.has(l);)l=p.get(l),n(l,r)}}}function QD(t,n,r,l,p,w,V,Z){Ec("NgControlFlow");const oe=(0,_.OAn)(),bt=(0,_.klJ)();return Bm(oe,bt,t,n,r,l,p,(0,_.db4)(bt.consts,w),256,V,Z),vE}function vE(t,n,r,l,p,w,V,Z){Ec("NgControlFlow");const oe=(0,_.OAn)(),bt=(0,_.klJ)();return Bm(oe,bt,t,n,r,l,p,(0,_.db4)(bt.consts,w),512,V,Z),vE}function XD(t,n){Ec("NgControlFlow");const r=(0,_.OAn)(),l=(0,_.xbp)(),p=r[l]!==ya?r[l]:-1,w=-1!==p?Lb(r,_.Yw1+p):void 0;if(ar(r,l,t)){const Z=(0,Qn.Ht)(null);try{if(void 0!==w&&Ag(w,0),-1!==t){const oe=_.Yw1+t,bt=Lb(r,oe),Ft=yE(r[_.eDl],oe),gn=null;oh(bt,Wd(r,Ft,n,{dehydratedView:gn}),0,iu(Ft,gn))}}finally{(0,Qn.Ht)(Z)}}else if(void 0!==w){const Z=I_(w,0);void 0!==Z&&(Z[_.SKP]=n)}}class o1{lContainer;$implicit;$index;constructor(n,r,l){this.lContainer=n,this.$implicit=r,this.$index=l}get $count(){return this.lContainer.length-_.Y20}}function IT(t){return t}function JD(t,n){return n}class CT{hasEmptyBlock;trackByFn;liveCollection;constructor(n,r,l){this.hasEmptyBlock=n,this.trackByFn=r,this.liveCollection=l}}function ZD(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn){Ec("NgControlFlow");const ei=(0,_.OAn)(),cr=(0,_.klJ)(),Pr=void 0!==oe,ks=(0,_.OAn)(),js=Z?V.bind(ks[_.b5C][_.SKP]):V,Vr=new CT(Pr,js);ks[_.Yw1+t]=Vr,Bm(ei,cr,t+1,n,r,l,p,(0,_.db4)(cr.consts,w),256),Pr&&Bm(ei,cr,t+2,oe,bt,Ft,gn,(0,_.db4)(cr.consts,Jn),512)}class AT extends TT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,r,l){super(),this.lContainer=n,this.hostLView=r,this.templateTNode=l}get length(){return this.lContainer.length-_.Y20}at(n){return this.getLView(n)[_.SKP].$implicit}attach(n,r){const l=r[_.tcA];this.needsIndexUpdate||=n!==this.length,oh(this.lContainer,r,n,iu(this.templateTNode,l)),function kT(t,n){if(t.length<=_.Y20)return;const l=t[_.Y20+n],p=l?l[_.Isx]:void 0;l&&p&&p.detachedLeaveAnimationFns&&p.detachedLeaveAnimationFns.length>0&&(function D_(t,n){const r=t.get(Kh);if(n.detachedLeaveAnimationFns){for(const l of n.detachedLeaveAnimationFns)r.queue.delete(l);n.detachedLeaveAnimationFns=void 0}}(l[_.YEL],p),Ud.delete(l),p.detachedLeaveAnimationFns=void 0)}(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,function ST(t,n){if(t.length<=_.Y20)return;const l=t[_.Y20+n],p=l?l[_.Isx]:void 0;p&&p.leave&&p.leave.size>0&&(p.detachedLeaveAnimationFns=[])}(this.lContainer,n),function xT(t,n){return bd(t,n)}(this.lContainer,n)}create(n,r){const p=Wd(this.hostLView,this.templateTNode,new o1(this.lContainer,r,n),{dehydratedView:null});return this.operationsCounter?.recordCreate(),p}destroy(n){Ih(n[_.eDl],n),this.operationsCounter?.recordDestroy()}updateValue(n,r){this.getLView(n)[_.SKP].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[_.SKP].$index=n}getLView(n){return function RT(t,n){return I_(t,n)}(this.lContainer,n)}}function qD(t){const n=(0,Qn.Ht)(null),r=(0,_._px)();try{const l=(0,_.OAn)(),p=l[_.eDl],w=l[r],V=r+1,Z=Lb(l,V);if(void 0===w.liveCollection){const bt=yE(p,V);w.liveCollection=new AT(Z,l,bt)}else w.liveCollection.reset();const oe=w.liveCollection;if(function MT(t,n,r){let l,p,w=0,V=t.length-1;if(Array.isArray(n)){let oe=n.length-1;for(;w<=V&&w<=oe;){const bt=t.at(w),Ft=n[w],gn=_E(w,bt,w,Ft,r);if(0!==gn){gn<0&&t.updateValue(w,Ft),w++;continue}const Jn=t.at(V),ei=n[oe],cr=_E(V,Jn,oe,ei,r);if(0!==cr){cr<0&&t.updateValue(V,ei),V--,oe--;continue}const Pr=r(w,bt),ks=r(V,Jn),js=r(w,Ft);if(Object.is(js,ks)){const Vr=r(oe,ei);Object.is(Vr,Pr)?(t.swap(w,V),t.updateValue(V,ei),oe--,V--):t.move(V,w),t.updateValue(w,Ft),w++;continue}if(l??=new KD,p??=GD(t,w,V,r),gE(t,l,w,js))t.updateValue(w,Ft),w++,V++;else if(p.has(js))l.set(Pr,t.detach(w)),V--;else{const Vr=t.create(w,n[w]);t.attach(w,Vr),w++,V++}}for(;w<=oe;)$D(t,l,r,w,n[w]),w++}else if(null!=n){const oe=n[Symbol.iterator]();let bt=oe.next();for(;!bt.done&&w<=V;){const Ft=t.at(w),gn=bt.value,Jn=_E(w,Ft,w,gn,r);if(0!==Jn)Jn<0&&t.updateValue(w,gn),w++,bt=oe.next();else{l??=new KD,p??=GD(t,w,V,r);const ei=r(w,gn);if(gE(t,l,w,ei))t.updateValue(w,gn),w++,V++,bt=oe.next();else if(p.has(ei)){const cr=r(w,Ft);l.set(cr,t.detach(w)),V--}else t.attach(w,t.create(w,gn)),w++,V++,bt=oe.next()}}for(;!bt.done;)$D(t,l,r,t.length,bt.value),bt=oe.next()}for(;w<=V;)t.destroy(t.detach(V--));l?.forEach(oe=>{t.destroy(oe)})}(oe,t,w.trackByFn),oe.updateIndexes(),w.hasEmptyBlock){const bt=(0,_.xbp)(),Ft=0===oe.length;if(ar(l,bt,Ft)){const gn=r+2,Jn=Lb(l,gn);if(Ft){const ei=yE(p,gn),cr=null;oh(Jn,Wd(l,ei,void 0,{dehydratedView:cr}),0,iu(ei,cr))}else p.firstUpdatePass&&al(Jn),Ag(Jn,0)}}}finally{(0,Qn.Ht)(n)}}
vendor: 5,122 bytes, line 1
1function Lb(t,n){return t[n]}function yE(t,n){return(0,_.XRZ)(t,n)}function Um(t,n,r){const l=(0,_.OAn)();return ar(l,(0,_.xbp)(),n)&&((0,_.klJ)(),sl((0,_.CpD)(),l,t,n,l[_.GpT],r)),Um}function Nb(t,n,r,l,p){sh(n,t,r,p?"class":"style",l)}function pv(t,n,r,l){const p=(0,_.OAn)(),w=p[_.eDl],V=t+_.Yw1,Z=w.firstCreatePass?m(V,p,2,n,bl,(0,_.ckz)(),r,l):w.data[V];if(ed(Z,p,t,n,Ey),(0,_.yoD)(Z)){const oe=p[_.eDl];Dr(oe,p,Z),vo(oe,Z,p)}return null!=l&&zr(p,Z),pv}function _v(){const t=(0,_.klJ)(),r=Uc((0,_.Mx4)());return t.firstCreatePass&&D(t,r),(0,_.UhH)(r)&&(0,_.krE)(),(0,_.N79)(),null!=r.classesWithoutHost&&function _r(t){return!!(8&t.flags)}(r)&&Nb(t,r,(0,_.OAn)(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function Cr(t){return!!(16&t.flags)}(r)&&Nb(t,r,(0,_.OAn)(),r.stylesWithoutHost,!1),_v}function yy(t,n,r,l){return pv(t,n,r,l),_v(),yy}function Yu(t,n,r,l){const p=(0,_.OAn)(),w=p[_.eDl],V=t+_.Yw1,Z=w.firstCreatePass?G(V,w,2,n,r,l):w.data[V];return ed(Z,p,t,n,Ey),null!=l&&zr(p,Z),Yu}function by(){const n=Uc((0,_.Mx4)());return(0,_.UhH)(n)&&(0,_.krE)(),(0,_.N79)(),by}function bE(t,n,r,l){return Yu(t,n,r,l),by(),bE}let Ey=(t,n,r,l,p)=>((0,_.m7n)(!0),Jc(n[_.GpT],l,(0,_.UaU)()));function Dy(t,n,r){const l=(0,_.OAn)(),p=l[_.eDl],w=t+_.Yw1,V=p.firstCreatePass?m(w,l,8,"ng-container",bl,(0,_.ckz)(),n,r):p.data[w];if(ed(V,l,t,"ng-container",wE),(0,_.yoD)(V)){const Z=l[_.eDl];Dr(Z,l,V),vo(Z,V,l)}return null!=r&&zr(l,V),Dy}function wy(){const t=(0,_.klJ)(),r=Uc((0,_.Mx4)());return t.firstCreatePass&&D(t,r),wy}function ew(t,n,r){return Dy(t,n,r),wy(),ew}function EE(t,n,r){const l=(0,_.OAn)(),p=l[_.eDl],w=t+_.Yw1,V=p.firstCreatePass?G(w,p,8,"ng-container",n,r):p.data[w];return ed(V,l,t,"ng-container",wE),null!=r&&zr(l,V),EE}function DE(){return Uc((0,_.Mx4)()),wy}function Fb(t,n,r){return EE(t,n,r),DE(),Fb}let wE=(t,n,r,l,p)=>((0,_.m7n)(!0),Xc(n[_.GpT],""));function TE(){return(0,_.OAn)()}function Ty(t,n,r){const l=(0,_.OAn)();return ar(l,(0,_.xbp)(),n)&&((0,_.klJ)(),Ao((0,_.CpD)(),l,t,n,l[_.GpT],r)),Ty}const mg=void 0;var ME=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],mg,[["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"]],mg,[["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}",mg,"{1} 'at' {0}",mg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function nw(t){const n=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Nh={};function vv(t){const n=function pg(t){return t.toLowerCase().replace(/_/g,"-")}(t);let r=sw(n);if(r)return r;const l=n.split("-")[0];if(r=sw(l),r)return r;if("en"===l)return ME;throw new _.buA(701,!1)}function rw(t){return vv(t)[hh.PluralCase]}function sw(t){return t in Nh||(Nh[t]=_.laP.ng&&_.laP.ng.common&&_.laP.ng.common.locales&&_.laP.ng.common.locales[t]),Nh[t]}var hh=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(hh||{});const Iy=["zero","one","two","few","many"],Cy="en-US",h_={marker:"element"},Bb={marker:"ICU"};var zu=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(zu||{});let LT=Cy;function NT(t){"string"==typeof t&&(LT=t.toLowerCase().replace(/_/g,"-"))}let Eu=0,_g=0;let Ay=(t,n,r,l)=>((0,_.m7n)(!0),function lw(t,n,r){const l=t[_.GpT];switch(r){case Node.COMMENT_NODE:return Xc(l,n);case Node.TEXT_NODE:return Vh(l,n);case Node.ELEMENT_NODE:return Jc(l,n,null)}}(t,r,l));function Vb(t,n,r,l){const p=r[_.GpT];let V,w=null;for(let Z=0;Z<n.length;Z++){const oe=n[Z];if("string"==typeof oe){const bt=n[++Z];null===r[bt]&&(r[bt]=Ay(r,0,oe,Node.TEXT_NODE))}else if("number"==typeof oe)switch(1&oe){case 0:const bt=Rg(oe);let Ft,gn;if(null===w&&(w=bt,V=p.parentNode(l)),bt===w?(Ft=l,gn=V):(Ft=null,gn=(0,_.IvY)(r[bt])),null!==gn){const Pr=Pg(oe);ku(p,gn,r[Pr],Ft,!1);const js=km(t,Pr);
vendor: 4,989 bytes, line 1
1if(null!==js&&"object"==typeof js){const Vr=em(js,r);null!==Vr&&Vb(t,js.create[Vr],r,r[js.anchorIdx])}}break;case 1:const ei=n[++Z],cr=n[++Z];El(p,(0,_.vaC)(oe>>>1,r),null,null,ei,cr,null)}else switch(oe){case Bb:const bt=n[++Z],Ft=n[++Z];null===r[Ft]&&ca(r[Ft]=Ay(r,0,bt,Node.COMMENT_NODE),r);break;case h_:const gn=n[++Z],Jn=n[++Z];null===r[Jn]&&ca(r[Jn]=Ay(r,0,gn,Node.ELEMENT_NODE),r)}}}function dw(t,n,r,l,p){for(let w=0;w<r.length;w++){const V=r[w],Z=r[++w];if(V&p){let oe="";for(let bt=w+1;bt<=w+Z;bt++){const Ft=r[bt];if("string"==typeof Ft)oe+=Ft;else if("number"==typeof Ft)if(Ft<0)oe+=(0,_.eFE)(n[l-Ft]);else{const gn=Ft>>>2;switch(3&Ft){case 1:const Jn=r[++bt],ei=r[++bt],cr=t.data[gn];"string"==typeof cr?El(n[_.GpT],n[gn],null,cr,Jn,oe,ei):sl(cr,n,Jn,oe,n[_.GpT],ei);break;case 0:const Pr=n[gn];null!==Pr&&Xu(n[_.GpT],Pr,oe);break;case 2:hw(t,km(t,gn),n,oe);break;case 3:uw(t,km(t,gn),l,n)}}}}else{const oe=r[w+1];if(oe>0&&!(3&~oe)){const Ft=km(t,oe>>>2);n[Ft.currentCaseLViewIndex]<0&&uw(t,Ft,l,n)}}w+=Z}}function uw(t,n,r,l){let p=l[n.currentCaseLViewIndex];if(null!==p){let w=Eu;p<0&&(p=l[n.currentCaseLViewIndex]=~p,w=-1),dw(t,l,n.update[p],r,w)}}function hw(t,n,r,l){const p=function u1(t,n){let r=t.cases.indexOf(n);if(-1===r)switch(t.type){case 1:{const l=function OT(t,n){const r=rw(n)(parseInt(t,10)),l=Iy[r];return void 0!==l?l:"other"}(n,function FT(){return LT}());r=t.cases.indexOf(l),-1===r&&"other"!==l&&(r=t.cases.indexOf("other"));break}case 0:r=t.cases.indexOf("other")}return-1===r?null:r}(n,l);if(em(n,r)!==p&&(Ub(t,n,r),r[n.currentCaseLViewIndex]=null===p?null:~p,null!==p)){const V=r[n.anchorIdx];V&&Vb(t,n.create[p],r,V)}}function Ub(t,n,r){let l=em(n,r);if(null!==l){const p=n.remove[l];for(let w=0;w<p.length;w++){const V=p[w];if(V>0){const Z=(0,_.vaC)(V,r);null!==Z&&xu(r[_.GpT],Z)}else Ub(t,km(t,~V),r)}}}const jb=/\ufffd(\d+):?\d*\ufffd/gi,UT=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Wb=/\ufffd(\d+)\ufffd/,ky=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,mw=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,jT=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,AE=/\uE500/g;function _w(t,n,r,l,p,w,V){const Z=bh(t,l,1,null);let oe=Z<<zu.SHIFT,bt=(0,_.Ab)();n===bt&&(bt=null),null===bt&&(oe|=zu.APPEND_EAGERLY),V&&(oe|=zu.COMMENT,function _m(t){void 0===Dh&&(Dh=t())}(Ng)),p.push(oe,null===w?"":w);const Ft=Wp(t,Z,V?32:1,null===w?"":w,null);Am(r,Ft);const gn=Ft.index;return(0,_.iMd)(Ft,!1),null!==bt&&n!==bt&&function S_(t,n){let r=t.insertBeforeIndex;null===r?($f(A_,Sg),r=t.insertBeforeIndex=[null,n]):((0,_.Xln)(Array.isArray(r),!0,"Expecting array here"),r.push(n))}(bt,gn),Ft}function HT(t,n,r,l,p,w,V,Z){const oe=Z.match(jb),Ft=_w(n,r,l,V,p,oe?null:Z,!1).index;oe&&Hb(w,Z,Ft,null,0,null),t.push({kind:0,index:Ft})}function Hb(t,n,r,l,p,w){const V=t.length,Z=V+1;t.push(null,null);const oe=V+2,bt=n.split(jb);let Ft=0;for(let gn=0;gn<bt.length;gn++){const Jn=bt[gn];if(1&gn){const ei=p+parseInt(Jn,10);t.push(-1-ei),Ft|=Yb(ei)}else""!==Jn&&t.push(Jn)}return t.push(r<<2|(l?1:0)),l&&t.push(l,w),t[V]=Ft,t[Z]=t.length-oe,Ft}function gg(t){let n=0;for(let r=0;r<t.length;r++){const l=t[r];"number"==typeof l&&l<0&&n++}return n}function Yb(t){return 1<<Math.min(t,31)}function zb(t){let n,w,r="",l=0,p=!1;for(;null!==(n=mw.exec(t));)p?n[0]===`\ufffd/*${w}\ufffd`&&(l=n.index,p=!1):(r+=t.substring(l,n.index+n[0].length),w=n[1],p=!0);return r+=t.slice(l),r}function gw(t,n,r,l,p,w,V){let Z=0;const oe={type:w.type,currentCaseLViewIndex:bh(n,r,1,null),anchorIdx:V,cases:[],create:[],remove:[],update:[]};(function Kb(t,n,r){t.push(Yb(n.mainBinding),2,-1-n.mainBinding,r<<2|2)})(l,w,V),function Sm(t,n,r){const l=t.data[n];null===l?t.data[n]=r:l.value=r}(n,V,oe);const bt=w.values,Ft=[];for(let gn=0;gn<bt.length;gn++){const Jn=bt[gn],ei=[];for(let Pr=0;Pr<Jn.length;Pr++){const ks=Jn[Pr];if("string"!=typeof ks){const js=ei.push(ks)-1;Jn[Pr]=`\x3c!--\ufffd${js}\ufffd--\x3e`}}const cr=[];Ft.push(cr),Z=$T(cr,n,oe,r,l,p,w.cases[gn],Jn.join(""),ei)|Z}Z&&function SE(t,n,r){t.push(n,1,r<<2|3)}(l,Z,V),t.push({kind:3,index:V,cases:Ft,currentCaseLViewIndex:oe.currentCaseLViewIndex})}function zT(t){const n=[],r=[];let l=1,p=0;const w=kE(t=t.replace(ky,function(V,Z,oe){return l="select"===oe?0:1,p=parseInt(Z.slice(1),10),""}));for(let V=0;V<w.length;){let Z=w[V++].trim();1===l&&(Z=Z.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Z.length&&n.push(Z);const oe=kE(w[V++]);n.length>r.length&&r.push(oe)}return{type:l,mainBinding:p,cases:n,values:r}}function kE(t){if(!t)return[];let n=0;const r=[],l=[],p=/[{}]/g;let w;for(p.lastIndex=0;w=p.exec(t);){const Z=w.index;if("}"==w[0]){if(r.pop(),0==r.length){const oe=t.substring(n,Z);ky.test(oe)?l.push(zT(oe)):l.push(oe),n=Z+1}}else{if(0==r.length){const oe=t.substring(n,Z);l.push(oe),n=Z+1}r.push("{")}}const V=t.substring(n);return l.push(V),l}function $T(t,n,r,l,p,w,V,Z,oe){const bt=[],Ft=[],gn=[];r.cases.push(V),r.create.push(bt),r.remove.push(Ft),r.update.push(gn);const ei=Xd(Qs()).getInertBodyElement(Z),cr=qd(ei)||ei;
1return cr?vw(t,n,r,l,p,bt,Ft,gn,cr,w,oe,0):0}function vw(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn){let Jn=0,ei=oe.firstChild;for(;ei;){const cr=bh(n,l,1,null);switch(ei.nodeType){case Node.ELEMENT_NODE:const Pr=ei,ks=Pr.tagName.toLowerCase();if(jr.hasOwnProperty(ks)){bv(w,h_,ks,bt,cr),n.data[cr]=ks;const fh=Pr.attributes;for(let bg=0;bg<fh.length;bg++){const Vy=fh.item(bg),Xw=Vy.name.toLowerCase();Vy.value.match(jb)?os.hasOwnProperty(Xw)&&Hb(Z,Vy.value,cr,Vy.name,0,Ew(Xw)):os[Xw]&&yw(w,cr,Vy.name,To[Xw]?"unsafe:blocked":Vy.value)}const ad={kind:1,index:cr,children:[]};t.push(ad),Jn=vw(ad.children,n,r,l,p,w,V,Z,ei,cr,Ft,gn+1)|Jn,Gb(V,cr,gn)}break;case Node.TEXT_NODE:const js=ei.textContent||"",Vr=js.match(jb);bv(w,null,Vr?"":js,bt,cr),Gb(V,cr,gn),Vr&&(Jn=Hb(Z,js,cr,null,0,null)|Jn),t.push({kind:0,index:cr});break;case Node.COMMENT_NODE:const zl=Wb.exec(ei.textContent||"");if(zl){const ad=Ft[parseInt(zl[1],10)];bv(w,Bb,"",bt,cr),gw(t,n,l,p,bt,ad,cr),GT(V,cr,gn)}}ei=ei.nextSibling}return Jn}function Gb(t,n,r){0===r&&t.push(n)}function GT(t,n,r){0===r&&(t.push(~n),t.push(n))}function bv(t,n,r,l,p){null!==n&&t.push(n),t.push(r,p,function xh(t,n,r){return t|n<<17|r<<1}(0,l,p))}function yw(t,n,r,l){t.push(n<<1|1,r,l)}const bw=new Set(Object.values(Hh).flatMap(t=>t?[...t.keys()]:[]));function Ew(t){const n=t.toLowerCase();return To[n]?be:bw.has(n)?K:null}const RE=/\[(\ufffd.+?\ufffd?)\]/,Dw=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,f1=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,KT=/{([A-Z0-9_]+)}/g,ww=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,QT=/\/\*/,XT=/\d+\:(\d+)/;function Tw(t,n,r=-1){const l=(0,_.klJ)(),p=(0,_.OAn)(),w=_.Yw1+t,V=(0,_.db4)(l.consts,n),Z=(0,_.Ab)();l.firstCreatePass&&function WT(t,n,r,l,p,w){const V=(0,_.Ab)(),Z=[],oe=[],bt=[[]],Ft=[[]];p=function $b(t,n){if(function Lg(t){return-1===t}(n))return zb(t);{const r=t.indexOf(`:${n}\ufffd`)+2+n.toString().length,l=t.search(new RegExp(`\ufffd\\/\\*\\d+:${n}\ufffd`));return zb(t.substring(r,l))}}(p,w);const gn=function pw(t){return t.replace(AE," ")}(p).split(jT);for(let Jn=0;Jn<gn.length;Jn++){let ei=gn[Jn];
vendor: 21,149 bytes, line 1
1if(1&Jn){const cr=47===ei.charCodeAt(0),Pr=ei.charCodeAt(cr?1:0),ks=_.Yw1+Number.parseInt(ei.substring(cr?2:1));if(cr)bt.shift(),Ft.shift(),(0,_.iMd)((0,_.Ab)(),!1);else{const js=zp(t,bt[0],ks);bt.unshift([]),(0,_.iMd)(js,!0);const Vr={kind:2,index:ks,children:[],type:35===Pr?0:1};Ft[0].push(Vr),Ft.unshift(Vr.children)}}else{const cr=kE(ei);for(let Pr=0;Pr<cr.length;Pr++){let ks=cr[Pr];if(1&Pr){const js=ks;if("object"!=typeof js)throw new Error(`Unable to parse ICU expression in "${p}" message.`);const zl=_w(t,V,bt[0],r,Z,"",!0).index;gw(Ft[0],t,r,oe,n,js,zl)}else""!==ks&&HT(Ft[0],t,V,bt[0],Z,oe,r,ks)}}}t.data[l]={create:Z,update:oe,ast:Ft[0],parentTNodeIndex:n}}(l,null===Z?0:Z.index,p,w,V,r),2===l.type?p[_.b5C][_.Wg1]|=32:p[_.Wg1]|=32;const oe=l.data[w],Ft=_f(l,Z===p[_.qlT]?null:Z,p);(function IE(t,n,r,l){const p=t[_.GpT];for(let w=0;w<n.length;w++){const V=n[w++],bt=(V&zu.APPEND_EAGERLY)===zu.APPEND_EAGERLY,Ft=V>>>zu.SHIFT;let gn=t[Ft],Jn=!1;null===gn&&(gn=t[Ft]=Ay(t,0,n[w],(V&zu.COMMENT)===zu.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Jn=(0,_.SX7)()),bt&&null!==r&&Jn&&ku(p,r,gn,l,!1)}})(p,oe.create,Ft,Z&&8&Z.type?p[Z.index]:null),(0,_.xyx)(!0)}function PE(){(0,_.xyx)(!1)}function Mw(t,n,r){Tw(t,n,r),PE()}function NE(t,n,r){const l=(0,_.OAn)(),p=(0,_.klJ)(),w=(0,_.Mx4)();return BE(p,l,l[_.GpT],w,t,n,r),NE}function FE(t,n,r){const l=(0,_.OAn)(),p=(0,_.klJ)(),w=(0,_.Mx4)();return(3&w.type||r)&&bo(w,p,l,r,l[_.GpT],t,n,Zs(w,l,n)),FE}function BE(t,n,r,l,p,w,V){let Z=!0,oe=null;if((3&l.type||V)&&(oe??=Zs(l,n,w),bo(l,t,n,V,r,p,w,oe)&&(Z=!1)),Z){const bt=l.outputs?.[p],Ft=l.hostDirectiveOutputs?.[p];if(Ft&&Ft.length)for(let gn=0;gn<Ft.length;gn+=2){const Jn=Ft[gn],ei=Ft[gn+1];oe??=Zs(l,n,w),Pl(l,n,Jn,ei,p,oe)}if(bt&&bt.length)for(const gn of bt)oe??=Zs(l,n,w),Pl(l,n,gn,p,p,oe)}}function VE(t=1){return(0,_.jvu)(t)}function eM(t,n){let r=null;const l=function mm(t){const n=t.attrs;if(null!=n){const r=n.indexOf(5);if(!(1&r))return n[r+1]}return null}(t);for(let p=0;p<n.length;p++){const w=n[p];if("*"!==w){if(null===l?Rl(t,w,!0):Tp(l,w))return p}else r=p}return r}function Rf(t){const n=(0,_.OAn)()[_.b5C][_.qlT];if(!n.projection){const l=n.projection=(0,_.WfI)(t?t.length:1,null),p=l.slice();let w=n.child;for(;null!==w;){if(128!==w.type){const V=t?eM(w,t):0;null!==V&&(p[V]?p[V].projectionNext=w:l[V]=w,p[V]=w)}w=w.next}}}function Qb(t,n=0,r,l,p,w){const V=(0,_.OAn)(),Z=(0,_.klJ)(),oe=l?t+1:null;null!==oe&&Bm(V,Z,oe,l,p,w,null,r);const bt=oa(Z,_.Yw1+t,16,null,r||null);null===bt.projection&&(bt.projection=n),(0,_.Pfq)();const gn=!V[_.tcA]||(0,_.KtD)();null===V[_.b5C][_.qlT].projection[bt.projection]&&null!==oe?function Sy(t,n,r){const l=_.Yw1+r,p=n.data[l],w=t[l];oh(w,Wd(t,p,void 0,{dehydratedView:null}),0,iu(p,null))}(V,Z,oe):gn&&!rl(bt)&&function Ht(t,n,r){on(n[_.GpT],0,n,r,Lp(t,r,n),Xm(r.parent||n[_.qlT],r,n))}(Z,V,bt)}function Xb(t,n,r,l){_0(t,n,r,l)}function Cw(t,n,r){p0(t,n,r)}function Aw(t){const n=(0,_.OAn)(),r=(0,_.klJ)(),l=(0,_.w7Z)();(0,_.GA0)(l+1);const p=Xy(r,l);if(t.dirty&&(0,_.vOT)(n)===!(2&~p.metadata.flags)){if(null===p.matches)t.reset([]);else{const w=v0(n,l);t.reset(w,No),t.notifyOnChanges()}return!0}return!1}function Jb(){return lm((0,_.OAn)(),(0,_.w7Z)())}function kw(t,n,r,l,p){Zy(n,_0(t,r,l,p))}function Sw(t,n,r,l){Zy(t,p0(n,r,l))}function xy(t=1){(0,_.GA0)((0,_.w7Z)()+t)}function xw(t){const n=(0,_.VPL)();return(0,_.Hh6)(n,_.Yw1+t)}function Ry(t,n){return t<<17|n<<2}function f_(t){return t>>17&32767}function m_(t){return 2|t}function Ev(t){return(131068&t)>>2}function UE(t,n){return-131069&t|n<<2}function jE(t){return 1|t}function Lw(t,n,r,l){const p=t[r+1],w=null===n;let V=l?f_(p):Ev(p),Z=!1;for(;0!==V&&(!1===Z||w);){const bt=t[V+1];tM(t[V],n)&&(Z=!0,t[V+1]=l?jE(bt):m_(bt)),V=l?f_(bt):Ev(bt)}Z&&(t[r+1]=l?m_(p):jE(p))}function tM(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&(0,_.FRF)(t,n)>=0}const wd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nw(t){return t.substring(wd.key,wd.keyEnd)}function Fw(t){return t.substring(wd.value,wd.valueEnd)}function nM(t,n){const r=wd.textEnd;return r===n?-1:(n=wd.keyEnd=function iM(t,n,r){for(;n<r&&t.charCodeAt(n)>32;)n++;return n}(t,wd.key=n,r),vg(t,n,r))}function Oy(t,n){const r=wd.textEnd;let l=wd.key=vg(t,n,r);return r===l?-1:(l=wd.keyEnd=function rM(t,n,r){let l;for(;n<r&&(45===(l=t.charCodeAt(n))||95===l||(-33&l)>=65&&(-33&l)<=90||l>=48&&l<=57);)n++;return n}(t,l,r),l=Vw(t,l,r),l=wd.value=vg(t,l,r),l=wd.valueEnd=function sM(t,n,r){let l=-1,p=-1,w=-1,V=n,Z=V;for(;V<r;){const oe=t.charCodeAt(V++);if(59===oe)return Z;34===oe||39===oe?Z=V=oM(t,oe,V,r):n===V-4&&85===w&&82===p&&76===l&&40===oe?Z=V=oM(t,41,V,r):oe>32&&(Z=V),w=p,p=l,l=-33&oe}return Z}(t,l,r),Vw(t,l,r))}function WE(t){wd.key=0,wd.keyEnd=0,wd.value=0,wd.valueEnd=0,wd.textEnd=t.length}function vg(t,n,r){for(;n<r&&t.charCodeAt(n)<=32;)n++;return n}function Vw(t,n,r,l){return(n=vg(t,n,r))<r&&n++,n}function oM(t,n,r,l){let p=-1,w=r;for(;w<l;){const V=t.charCodeAt(w++);if(V==n&&92!==p)return w;p=92==V&&92===p?0:V}throw new Error}function Uw(t,n,r){return Zb(t,n,r,!1),Uw}function HE(t,n){return Zb(t,n,null,!0),HE}function jw(t){Hw(a,aM,t,!1)}function aM(t,n){for(let r=function m1(t){return WE(t),Oy(t,vg(t,0,wd.textEnd))}(n);r>=0;r=Oy(n,r))a(t,Nw(n),Fw(n))}function YE(t){Hw(u,Ww,t,!0)}function Ww(t,n){for(let r=function Bw(t){return WE(t),nM(t,vg(t,0,wd.textEnd))}(n);r>=0;r=nM(n,r))(0,_.ezK)(t,Nw(n),!0)}function Zb(t,n,r,l){const p=(0,_.OAn)(),w=(0,_.klJ)(),V=(0,_.b$O)(2);w.firstUpdatePass&&cM(w,t,V,l),n!==ya&&ar(p,V,n)&&W(w,w.data[(0,_._px)()],p,p[_.GpT],t,p[V+1]=function Nt(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=(0,_.AsM)(Qc(t)))),t}(n,r),l,V)}function Hw(t,n,r,l){const p=(0,_.klJ)(),w=(0,_.b$O)(2);p.firstUpdatePass&&cM(p,null,w,l);const V=(0,_.OAn)();if(r!==ya&&ar(V,w,r)){const Z=p.data[(0,_._px)()];if(pn(Z,l)&&!lM(p,w)){let oe=l?Z.classesWithoutHost:Z.stylesWithoutHost;null!==oe&&(r=(0,_.n$e)(oe,r||"")),Nb(p,Z,V,r,l)}else!function E(t,n,r,l,p,w,V,Z){p===ya&&(p=_.Mlv);let oe=0,bt=0,Ft=0<p.length?p[0]:null,gn=0<w.length?w[0]:null;for(;null!==Ft||null!==gn;){const Jn=oe<p.length?p[oe+1]:void 0,ei=bt<w.length?w[bt+1]:void 0;let Pr,cr=null;Ft===gn?(oe+=2,bt+=2,Jn!==ei&&(cr=gn,Pr=ei)):null===gn||null!==Ft&&Ft<gn?(oe+=2,cr=Ft):(bt+=2,cr=gn,Pr=ei),null!==cr&&W(t,n,r,l,cr,Pr,V,Z),Ft=oe<p.length?p[oe]:null,gn=bt<w.length?w[bt]:null}}(p,Z,V,V[_.GpT],V[w+1],V[w+1]=function b(t,n,r){if(null==r||""===r)return _.Mlv;const l=[],p=Qc(r);if(Array.isArray(p))for(let w=0;w<p.length;w++)t(l,p[w],!0);else if("object"==typeof p)for(const w in p)p.hasOwnProperty(w)&&t(l,w,p[w]);else"string"==typeof p&&n(l,p);return l}(t,n,r),l,w)}}function lM(t,n){return n>=t.expandoStartIndex}function cM(t,n,r,l){const p=t.data;if(null===p[r+1]){const w=p[(0,_._px)()],V=lM(t,r);pn(w,l)&&null===n&&!V&&(n=!1),n=function _1(t,n,r,l){const p=(0,_.MT)(t);let w=l?n.residualClasses:n.residualStyles;if(null===p)0===(l?n.classBindings:n.styleBindings)&&(r=Fy(r=Ny(null,t,n,r,l),n.attrs,l),w=null);else{const V=n.directiveStylingLast;if(-1===V||t[V]!==p)if(r=Ny(p,t,n,r,l),null===w){let oe=function dM(t,n,r){const l=r?n.classBindings:n.styleBindings;if(0!==Ev(l))return t[f_(l)]}(t,n,l);void 0!==oe&&Array.isArray(oe)&&(oe=Ny(null,t,n,oe[1],l),oe=Fy(oe,n.attrs,l),function uM(t,n,r,l){t[f_(r?n.classBindings:n.styleBindings)]=l}(t,n,l,oe))}else w=function Ly(t,n,r){let l;const p=n.directiveEnd;for(let w=1+n.directiveStylingLast;w<p;w++)l=Fy(l,t[w].hostAttrs,r);return Fy(l,n.attrs,r)}(t,n,l)}return void 0!==w&&(l?n.residualClasses=w:n.residualStyles=w),r}(p,w,n,l),function Ow(t,n,r,l,p,w){let V=w?n.classBindings:n.styleBindings,Z=f_(V),oe=Ev(V);t[l]=r;let Ft,bt=!1;if(Array.isArray(r)?(Ft=r[1],(null===Ft||(0,_.FRF)(r,Ft)>0)&&(bt=!0)):Ft=r,p)if(0!==oe){const Jn=f_(t[Z+1]);t[l+1]=Ry(Jn,Z),0!==Jn&&(t[Jn+1]=UE(t[Jn+1],l)),t[Z+1]=function Pf(t,n){return 131071&t|n<<17}(t[Z+1],l)}else t[l+1]=Ry(Z,0),0!==Z&&(t[Z+1]=UE(t[Z+1],l)),Z=l;else t[l+1]=Ry(oe,0),0===Z?Z=l:t[oe+1]=UE(t[oe+1],l),oe=l;bt&&(t[l+1]=m_(t[l+1])),Lw(t,Ft,l,!0),Lw(t,Ft,l,!1),function Py(t,n,r,l,p){const w=p?t.residualClasses:t.residualStyles;null!=w&&"string"==typeof n&&(0,_.FRF)(w,n)>=0&&(r[l+1]=jE(r[l+1]))}(n,Ft,t,l,w),V=Ry(Z,oe),w?n.classBindings=V:n.styleBindings=V}(p,w,n,r,V,l)}}function Ny(t,n,r,l,p){let w=null;const V=r.directiveEnd;let Z=r.directiveStylingLast;for(-1===Z?Z=r.directiveStart:Z++;Z<V&&(w=n[Z],l=Fy(l,w.hostAttrs,p),w!==t);)Z++;return null!==t&&(r.directiveStylingLast=Z),l}function Fy(t,n,r){const l=r?1:2;let p=-1;if(null!==n)for(let w=0;w<n.length;w++){const V=n[w];"number"==typeof V?p=V:p===l&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),(0,_.ezK)(t,V,!!r||n[++w]))}return void 0===t?null:t}function a(t,n,r){(0,_.ezK)(t,n,Qc(r))}function u(t,n,r){const l=String(n);""!==l&&!l.includes(" ")&&(0,_.ezK)(t,l,r)}function W(t,n,r,l,p,w,V,Z){if(!(3&n.type))return;const oe=t.data,bt=oe[Z+1],Ft=function Pw(t){return!(1&~t)}(bt)?te(oe,n,r,p,Ev(bt),V):void 0;it(Ft)||(it(w)||function Rw(t){return!(2&~t)}(bt)&&(w=te(oe,null,r,p,Z,V)),function Bi(t,n,r,l,p){if(n)p?t.addClass(r,l):t.removeClass(r,l);else{let w=-1===l.indexOf("-")?void 0:pu.DashCase;null==p?t.removeStyle(r,l,w):("string"==typeof p&&p.endsWith("!important")&&(p=p.slice(0,-10),w|=pu.Important),t.setStyle(r,l,p,w))}}(l,V,(0,_.vaC)((0,_._px)(),r),p,w))}function te(t,n,r,l,p,w){const V=null===n;let Z;for(;p>0;){const oe=t[p],bt=Array.isArray(oe),Ft=bt?oe[1]:oe,gn=null===Ft;let Jn=r[p+1];Jn===ya&&(Jn=gn?_.Mlv:void 0);let ei=gn?(0,_.K7h)(Jn,l):Ft===l?Jn:void 0;if(bt&&!it(ei)&&(ei=(0,_.K7h)(oe,l)),it(ei)&&(Z=ei,V))return Z;const cr=t[p+1];p=V?f_(cr):Ev(cr)}if(null!==n){let oe=w?n.residualClasses:n.residualStyles;null!=oe&&(Z=(0,_.K7h)(oe,l))}return Z}function it(t){return void 0!==t}function pn(t,n){return!!(t.flags&(n?8:16))}function jn(t,n=""){const r=(0,_.OAn)(),l=(0,_.klJ)(),p=t+_.Yw1,w=l.firstCreatePass?oa(l,p,1,n,null):l.data[p],V=Ki(l,r,w,n,t);r[p]=V,(0,_.SX7)()&&R(l,r,V,w),(0,_.iMd)(w,!1)}let Ki=(t,n,r,l,p)=>((0,_.m7n)(!0),Vh(n[_.GpT],l));function bs(t,n){let r=!1,l=(0,_.c$7)();for(let w=1;w<n.length;w+=2)r=ar(t,l++,n[w])||r;if((0,_.Kw3)(l),!r)return ya;let p=n[0];for(let w=1;w<n.length;w+=2)p+=(0,_.eFE)(n[w])+(w+1!==n.length?n[w+1]:"");return p}function gs(t,n,r,l=""){return ar(t,(0,_.xbp)(),r)?n+(0,_.eFE)(r)+l:ya}function $s(t,n,r,l,p,w=""){const Z=Ir(t,(0,_.c$7)(),r,p);return(0,_.b$O)(2),Z?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w:ya}function ka(t,n,r,l,p,w,V,Z=""){const bt=ts(t,(0,_.c$7)(),r,p,V);return(0,_.b$O)(3),bt?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w+(0,_.eFE)(V)+Z:ya}function Yl(t,n,r,l,p,w,V,Z,oe,bt=""){const gn=us(t,(0,_.c$7)(),r,p,V,oe);return(0,_.b$O)(4),gn?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w+(0,_.eFE)(V)+Z+(0,_.eFE)(oe)+bt:ya}function Ol(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn=""){const Jn=(0,_.c$7)();let ei=us(t,Jn,r,p,V,oe);return ei=ar(t,Jn+4,Ft)||ei,(0,_.b$O)(5),ei?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w+(0,_.eFE)(V)+Z+(0,_.eFE)(oe)+bt+(0,_.eFE)(Ft)+gn:ya}function Od(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei=""){const cr=(0,_.c$7)();let Pr=us(t,cr,r,p,V,oe);return Pr=Ir(t,cr+4,Ft,Jn)||Pr,(0,_.b$O)(6),Pr?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w+(0,_.eFE)(V)+Z+(0,_.eFE)(oe)+bt+(0,_.eFE)(Ft)+gn+(0,_.eFE)(Jn)+ei:ya}function Td(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr,Pr=""){const ks=(0,_.c$7)();let js=us(t,ks,r,p,V,oe);return js=ts(t,ks+4,Ft,Jn,cr)||js,(0,_.b$O)(7),js?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w+(0,_.eFE)(V)+Z+(0,_.eFE)(oe)+bt+(0,_.eFE)(Ft)+gn+(0,_.eFE)(Jn)+ei+(0,_.eFE)(cr)+Pr:ya}function jm(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr,Pr,ks,js=""){const Vr=(0,_.c$7)();let zl=us(t,Vr,r,p,V,oe);return zl=us(t,Vr+4,Ft,Jn,cr,ks)||zl,(0,_.b$O)(8),zl?n+(0,_.eFE)(r)+l+(0,_.eFE)(p)+w+(0,_.eFE)(V)+Z+(0,_.eFE)(oe)+bt+(0,_.eFE)(Ft)+gn+(0,_.eFE)(Jn)+ei+(0,_.eFE)(cr)+Pr+(0,_.eFE)(ks)+js:ya}function $u(t){return Md("",t),$u}function Md(t,n,r){const l=(0,_.OAn)(),p=gs(l,t,n,r);return p!==ya&&Is(l,(0,_._px)(),p),Md}function lu(t,n,r,l,p){const w=(0,_.OAn)(),V=$s(w,t,n,r,l,p);return V!==ya&&Is(w,(0,_._px)(),V),lu}function tf(t,n,r,l,p,w,V){const Z=(0,_.OAn)(),oe=ka(Z,t,n,r,l,p,w,V);return oe!==ya&&Is(Z,(0,_._px)(),oe),tf}function Wm(t,n,r,l,p,w,V,Z,oe){const bt=(0,_.OAn)(),Ft=Yl(bt,t,n,r,l,p,w,V,Z,oe);return Ft!==ya&&Is(bt,(0,_._px)(),Ft),Wm}function Is(t,n,r){const l=(0,_.vaC)(n,t);Xu(t[_.GpT],l,r)}function Eo(t,n,r){(0,_.n$r)(n)&&(n=n());const l=(0,_.OAn)();return ar(l,(0,_.xbp)(),n)&&((0,_.klJ)(),sl((0,_.CpD)(),l,t,n,l[_.GpT],r)),Eo}function Lo(t,n){const r=(0,_.n$r)(t);return r&&t.set(n),r}function Ga(t,n){const r=(0,_.OAn)(),l=(0,_.klJ)(),p=(0,_.Mx4)();return BE(l,r,r[_.GpT],p,t,n),Ga}const Yd={};function KE(t){return ar((0,_.OAn)(),(0,_.xbp)(),t)?(0,_.eFE)(t):ya}function Yw(t,n,r=""){return gs((0,_.OAn)(),t,n,r)}function Du(t,n,r,l,p=""){return $s((0,_.OAn)(),t,n,r,l,p)}function hM(t,n,r,l,p){if(t=(0,_.nl4)(t),Array.isArray(t))for(let w=0;w<t.length;w++)hM(t[w],n,r,l,p);else{const w=(0,_.klJ)(),V=(0,_.OAn)(),Z=(0,_.Mx4)();let oe=(0,_.Y3W)(t)?t:(0,_.nl4)(t.provide);const bt=(0,_.Rc9)(t),Ft=1048575&Z.providerIndexes,gn=Z.directiveStart,Jn=Z.providerIndexes>>20;if((0,_.Y3W)(t)||!t.multi){const ei=new In(bt,p,om,null),cr=mM(oe,n,p?Ft:Ft+Jn,gn);-1===cr?(Co(Yr(Z,V),w,oe),fM(w,t,n.length),n.push(oe),Z.directiveStart++,Z.directiveEnd++,p&&(Z.providerIndexes+=1048576),r.push(ei),V.push(ei)):(r[cr]=ei,V[cr]=ei)}else{const ei=mM(oe,n,Ft+Jn,gn),cr=mM(oe,n,Ft,Ft+Jn),ks=cr>=0&&r[cr];if(p&&!ks||!p&&!(ei>=0&&r[ei])){Co(Yr(Z,V),w,oe);const js=function EI(t,n,r,l,p){const V=new In(t,r,om,null);return V.multi=[],V.index=n,V.componentProviders=0,g1(V,p,l&&!r),V}(p?bI:yI,r.length,p,l,bt);!p&&ks&&(r[cr].providerFactory=js),fM(w,t,n.length,0),n.push(oe),Z.directiveStart++,Z.directiveEnd++,p&&(Z.providerIndexes+=1048576),r.push(js),V.push(js)}else fM(w,t,ei>-1?ei:cr,g1(r[p?cr:ei],bt,!p&&l));!p&&l&&ks&&r[cr].componentProviders++}}}function fM(t,n,r,l){const p=(0,_.Y3W)(n),w=(0,_.MME)(n);if(p||w){const oe=(w?(0,_.nl4)(n.useClass):n).prototype.ngOnDestroy;if(oe){const bt=t.destroyHooks||(t.destroyHooks=[]);if(!p&&n.multi){const Ft=bt.indexOf(r);-1===Ft?bt.push(r,[l,oe]):bt[Ft+1].push(l,oe)}else bt.push(r,oe)}}}function g1(t,n,r){return r&&t.componentProviders++,t.multi.push(n)-1}function mM(t,n,r,l){for(let p=r;p<l;p++)if(n[p]===t)return p;return-1}function yI(t,n,r,l,p){return pM(this.multi,[])}function bI(t,n,r,l,p){const w=this.multi;let V;if(this.providerFactory){const Z=this.providerFactory.componentProviders,oe=$i(l,l[_.eDl],this.providerFactory.index,p);V=oe.slice(0,Z),pM(w,V);for(let bt=Z;bt<oe.length;bt++)V.push(oe[bt])}else V=[],pM(w,V);return V}function pM(t,n){for(let r=0;r<t.length;r++)n.push((0,t[r])());return n}function v1(t,n=[]){return r=>{r.providersResolver=(l,p)=>function vI(t,n,r){const l=(0,_.klJ)();if(l.firstCreatePass){const p=(0,_.JlV)(t);hM(r,l.data,l.blueprint,p,!0),hM(n,l.data,l.blueprint,p,!1)}}(l,p?p(t):t,n)}}function y1(t,n,r){const l=t.\u0275cmp;l.directiveDefs=Mi(n,zs),l.pipeDefs=Mi(r,_.oyA)}function zw(t){if("function"==typeof t)return t;const n=(0,_.Bqz)(t);return n.some(_.Jzi)?()=>n.map(_.nl4).map(b1):n.map(b1)}function b1(t){return Y_(t)?t.ngModule:t}function E1(t,n,r){const l=(0,_.gxQ)()+t,p=(0,_.OAn)();return p[l]===ya?Ei(p,l,r?n.call(r):n()):wr(p,l)}function D1(t,n,r,l){return I1((0,_.OAn)(),(0,_.gxQ)(),t,n,r,l)}function w1(t,n,r,l,p){return C1((0,_.OAn)(),(0,_.gxQ)(),t,n,r,l,p)}function T1(t,n,r,l,p,w){return A1((0,_.OAn)(),(0,_.gxQ)(),t,n,r,l,p,w)}function M1(t,n,r,l,p,w,V){return k1((0,_.OAn)(),(0,_.gxQ)(),t,n,r,l,p,w,V)}function XE(t,n){const r=t[n];return r===ya?void 0:r}function I1(t,n,r,l,p,w){const V=n+r;return ar(t,V,p)?Ei(t,V+1,w?l.call(w,p):l(p)):XE(t,V+1)}function C1(t,n,r,l,p,w,V){const Z=n+r;return Ir(t,Z,p,w)?Ei(t,Z+2,V?l.call(V,p,w):l(p,w)):XE(t,Z+2)}function A1(t,n,r,l,p,w,V,Z){const oe=n+r;return ts(t,oe,p,w,V)?Ei(t,oe+3,Z?l.call(Z,p,w,V):l(p,w,V)):XE(t,oe+3)}function k1(t,n,r,l,p,w,V,Z,oe){const bt=n+r;return us(t,bt,p,w,V,Z)?Ei(t,bt+4,oe?l.call(oe,p,w,V,Z):l(p,w,V,Z)):XE(t,bt+4)}function S1(t,n,r,l,p,w){let V=n+r,Z=!1;for(let oe=0;oe<p.length;oe++)ar(t,V++,p[oe])&&(Z=!0);return Z?Ei(t,V,l.apply(w,p)):XE(t,V)}function x1(t,n){const r=(0,_.klJ)();let l;const p=t+_.Yw1;r.firstCreatePass?(l=function kI(t,n){if(n)for(let r=n.length-1;r>=0;r--){const l=n[r];if(t===l.name)return l}}(n,r.pipeRegistry),r.data[p]=l,l.onDestroy&&(r.destroyHooks??=[]).push(p,l.onDestroy)):l=r.data[p];const w=l.factory||(l.factory=(0,_.wGu)(l.type,!0)),Z=(0,_.a2B)(om);try{const oe=Jt(!1),bt=w();return Jt(oe),(0,_.M_e)(r,(0,_.OAn)(),p,bt),bt}finally{(0,_.a2B)(Z)}}function R1(t,n,r){const l=t+_.Yw1,p=(0,_.OAn)(),w=(0,_.Hh6)(p,l);return JE(p,l)?I1(p,(0,_.gxQ)(),n,w.transform,r,w):w.transform(r)}function P1(t,n,r,l){const p=t+_.Yw1,w=(0,_.OAn)(),V=(0,_.Hh6)(w,p);return JE(w,p)?C1(w,(0,_.gxQ)(),n,V.transform,r,l,V):V.transform(r,l)}function O1(t,n,r,l,p,w){const V=t+_.Yw1,Z=(0,_.OAn)(),oe=(0,_.Hh6)(Z,V);return JE(Z,V)?k1(Z,(0,_.gxQ)(),n,oe.transform,r,l,p,w,oe):oe.transform(r,l,p,w)}function JE(t,n){return t[_.eDl].data[n].pure}function L1(t,n){return Tf(t,n)}function $w(t,n,r,l,p){const w=p[_.eDl];if(w!==l.tView)for(let V=_.Yw1;V<w.bindingStartIndex;V++){const Z=p[V];if((0,_.A0l)(Z)){(0,_.q$2)(Z[_.jgP])&&$w(t,n,r,l,Z[_.jgP]);for(let oe=_.Y20;oe<Z.length;oe++)$w(t,n,r,l,Z[oe])}else(0,_.q$2)(Z)&&$w(t,n,r,l,Z)}else!function BI(t,n,r,l,p){const w=p[_.SKP];let V=p[_.jgP];const Z=p[_.f7T],oe=p[_.qlT],bt=p[_.YEL].get(Ko,null),Ft=()=>{if(l.encapsulation===Bo.ShadowDom){const cr=V.cloneNode(!1);V.replaceWith(cr),V=cr}const gn=Vf(r),Jn=Pu(Z,gn,w,tu(r),V,oe,null,null,null,null,null);(function VI(t,n,r,l){for(let p=_.Yw1;p<t[_.eDl].bindingStartIndex;p++){const w=t[p];if(((0,_.q$2)(w)||(0,_.A0l)(w))&&w[_.K29]===n){w[_.K29]=r;break}}t[_.EJG]===n&&(t[_.EJG]=r),t[_.Yrj]===n&&(t[_.Yrj]=r),r[_.K29]=n[_.K29],n[_.K29]=null,t[l]=r})(Z,p,Jn,oe.index),Ih(p[_.eDl],p);const ei=p[_.M0L].rendererFactory;(function FI(t,n){t.componentReplaced?.(n.id)})(ei,l),Jn[_.GpT]=ei.createRenderer(V,r),Pp(p[_.eDl],p),function UI(t){if(null!==t.projection){for(const n of t.projection)Ai(n)&&(n.projectionNext=null,n.flags&=-3);t.projection=null}}(oe),kd(gn,Jn,w),yo(gn,Jn,gn.template,w)};null===bt?N1(t,n,Ft):bt.run(()=>N1(t,n,Ft))}(t,n,r,l,p)}function N1(t,n,r){try{r()}catch(l){if(null!==n&&l.message){const w=l.message+(l.stack?"\n"+l.stack:"");t?.hot?.send?.("angular:invalidate",{id:n,message:w,error:!0})}throw l}}const Dv={\u0275\u0275animateEnter:function vy(t){if(Ec("NgAnimateEnter"),!fg)return vy;const n=(0,_.OAn)();if(dE(n))return vy;const r=(0,_.Mx4)();return Rb(r,n),hE(uE(n),r,()=>function r1(t,n,r){const l=(0,_.d31)(n,t),p=t[_.GpT],w=t[_.YEL].get(Ko),V=gT(r),Z=[],oe=Ft=>{if(Ft.target!==l)return;const gn=Ft instanceof AnimationEvent?"animationend":"transitionend";w.runOutsideAngular(()=>{p.listen(l,gn,bt)})},bt=Ft=>{Ft.target===l&&function zD(t,n,r){const l=_y.get(n);if(t.target===n&&l&&vT(t,n)){t.stopImmediatePropagation();for(const p of l.classList)r.removeClass(n,p);HD(n)}}(Ft,l,p)};if(V&&V.length>0){w.runOutsideAngular(()=>{Z.push(p.listen(l,"animationstart",oe)),Z.push(p.listen(l,"transitionstart",oe))}),function e1(t,n,r){const l=_y.get(t);if(l){for(const p of n)l.classList.push(p);for(const p of r)l.cleanupFns.push(p)}else _y.set(t,{classList:n,cleanupFns:r})}(l,V,Z);for(const Ft of V)p.addClass(l,Ft);w.runOutsideAngular(()=>{requestAnimationFrame(()=>{if($m(l,fv,fg),!fv.has(l)){for(const Ft of V)p.removeClass(l,Ft);HD(l)}})})}}(n,r,t)),mf(n[_.YEL]),wm(n[_.YEL],uE(n)),vy},\u0275\u0275animateEnterListener:function Pb(t){if(Ec("NgAnimateEnter"),!fg)return Pb;const n=(0,_.OAn)();if(dE(n))return Pb;const r=(0,_.Mx4)();return Rb(r,n),hE(uE(n),r,()=>function yT(t,n,r){const l=(0,_.d31)(n,t);r.call(t[_.SKP],{target:l,animationComplete:t1})}(n,r,t)),mf(n[_.YEL]),wm(n[_.YEL],uE(n)),Pb},\u0275\u0275animateLeave:function Ob(t){if(Ec("NgAnimateLeave"),!fg)return Ob;const n=(0,_.OAn)();if(dE(n))return Ob;const l=(0,_.Mx4)();return Rb(l,n),hE(mv(n),l,()=>function bT(t,n,r){const{promise:l,resolve:p}=$a(),w=(0,_.d31)(n,t),V=t[_.GpT],Z=t[_.YEL].get(Ko);Ud.add(t),(mv(t).get(n.index).resolvers??=[]).push(p);const oe=gT(r);return oe&&oe.length>0?function ET(t,n,r,l,p,w){!function n1(t,n){if(!fg)return;const r=_y.get(t);if(r&&r.classList.length>0&&function i1(t,n){for(const r of n)if(t.classList.contains(r))return!0;return!1}(t,r.classList))for(const l of r.classList)n.removeClass(t,l);HD(t)}(t,p);const V=[],Z=mv(r).get(n.index)?.resolvers,oe=bt=>{if(bt.target===t&&(bt instanceof CustomEvent||vT(bt,t))){if(bt.stopImmediatePropagation(),fv.delete(t),YD(n,t),Array.isArray(n.projection))for(const Ft of l)p.removeClass(t,Ft);fE(Z,V),mE(r,n)}};w.runOutsideAngular(()=>{V.push(p.listen(t,"animationend",oe)),V.push(p.listen(t,"transitionend",oe))}),_T(n,t);for(const bt of l)p.addClass(t,bt);w.runOutsideAngular(()=>{requestAnimationFrame(()=>{$m(t,fv,fg),fv.has(t)||(YD(n,t),fE(Z,V),mE(r,n))})})}(w,n,t,oe,V,Z):p(),{promise:l,resolve:p}}(n,l,t)),mf(n[_.YEL]),Ob},\u0275\u0275animateLeaveListener:function pE(t){if(Ec("NgAnimateLeave"),!fg)return pE;const n=(0,_.OAn)(),r=(0,_.Mx4)();
vendor: 15,622 bytes, line 1
1return Rb(r,n),Ud.add(n),hE(mv(n),r,()=>function DT(t,n,r){const{promise:l,resolve:p}=$a(),w=(0,_.d31)(n,t),V=[],Z=t[_.GpT],oe=dE(t),bt=t[_.YEL].get(Ko),Ft=t[_.YEL].get(fT);(mv(t).get(n.index).resolvers??=[]).push(p);const gn=mv(t).get(n.index)?.resolvers;if(oe)so(t,n,w,gn,V);else{const Jn=setTimeout(()=>so(t,n,w,gn,V),Ft),ei={target:w,animationComplete:()=>{so(t,n,w,gn,V),clearTimeout(Jn)}};_T(n,w),bt.runOutsideAngular(()=>{V.push(Z.listen(w,"animationend",()=>{so(t,n,w,gn,V),clearTimeout(Jn)},{once:!0}))}),r.call(t[_.SKP],ei)}return{promise:l,resolve:p}}(n,r,t)),mf(n[_.YEL]),pE},\u0275\u0275attribute:WD,\u0275\u0275defineComponent:hs,\u0275\u0275defineDirective:aa,\u0275\u0275defineInjectable:_.jDH,\u0275\u0275defineInjector:_.G2t,\u0275\u0275defineNgModule:Vs,\u0275\u0275definePipe:Ci,\u0275\u0275directiveInject:om,\u0275\u0275getInheritedFactory:fs,\u0275\u0275inject:_.KVO,\u0275\u0275injectAttribute:Jo,\u0275\u0275invalidFactory:zg,\u0275\u0275invalidFactoryDep:_.dmw,\u0275\u0275templateRefExtractor:L1,\u0275\u0275resetView:_.Njj,\u0275\u0275HostDirectivesFeature:tb,\u0275\u0275NgOnChangesFeature:Tr,\u0275\u0275ProvidersFeature:v1,\u0275\u0275CopyDefinitionFeature:function Pd(t){let r,n=li(t.type);r=(0,_.JlV)(t)?n.\u0275cmp:n.\u0275dir;const l=t;for(const p of D0)l[p]=r[p];if((0,_.JlV)(r))for(const p of Fm)l[p]=r[p]},\u0275\u0275InheritDefinitionFeature:Lh,\u0275\u0275ExternalStylesFeature:function DI(t){return n=>{t.length<1||(n.getExternalStyles=r=>t.map(p=>p+"?ngcomp"+(r?"="+encodeURIComponent(r):"")+"&e="+n.encapsulation))}},\u0275\u0275nextContext:VE,\u0275\u0275namespaceHTML:_.joV,\u0275\u0275namespaceMathML:_.By9,\u0275\u0275namespaceSVG:_.qSk,\u0275\u0275enableBindings:_.cSN,\u0275\u0275disableBindings:_.fuf,\u0275\u0275elementStart:pv,\u0275\u0275elementEnd:_v,\u0275\u0275element:yy,\u0275\u0275elementContainerStart:Dy,\u0275\u0275elementContainerEnd:wy,\u0275\u0275domElement:bE,\u0275\u0275domElementStart:Yu,\u0275\u0275domElementEnd:by,\u0275\u0275domElementContainer:Fb,\u0275\u0275domElementContainerStart:EE,\u0275\u0275domElementContainerEnd:DE,\u0275\u0275domTemplate:qv,\u0275\u0275domListener:FE,\u0275\u0275elementContainer:ew,\u0275\u0275pureFunction0:E1,\u0275\u0275pureFunction1:D1,\u0275\u0275pureFunction2:w1,\u0275\u0275pureFunction3:T1,\u0275\u0275pureFunction4:M1,\u0275\u0275pureFunction5:function TI(t,n,r,l,p,w,V,Z){const oe=(0,_.gxQ)()+t,bt=(0,_.OAn)(),Ft=us(bt,oe,r,l,p,w);return ar(bt,oe+4,V)||Ft?Ei(bt,oe+5,Z?n.call(Z,r,l,p,w,V):n(r,l,p,w,V)):wr(bt,oe+5)},\u0275\u0275pureFunction6:function MI(t,n,r,l,p,w,V,Z,oe){const bt=(0,_.gxQ)()+t,Ft=(0,_.OAn)(),gn=us(Ft,bt,r,l,p,w);return Ir(Ft,bt+4,V,Z)||gn?Ei(Ft,bt+6,oe?n.call(oe,r,l,p,w,V,Z):n(r,l,p,w,V,Z)):wr(Ft,bt+6)},\u0275\u0275pureFunction7:function II(t,n,r,l,p,w,V,Z,oe,bt){const Ft=(0,_.gxQ)()+t,gn=(0,_.OAn)();let Jn=us(gn,Ft,r,l,p,w);return ts(gn,Ft+4,V,Z,oe)||Jn?Ei(gn,Ft+7,bt?n.call(bt,r,l,p,w,V,Z,oe):n(r,l,p,w,V,Z,oe)):wr(gn,Ft+7)},\u0275\u0275pureFunction8:function CI(t,n,r,l,p,w,V,Z,oe,bt,Ft){const gn=(0,_.gxQ)()+t,Jn=(0,_.OAn)(),ei=us(Jn,gn,r,l,p,w);return us(Jn,gn+4,V,Z,oe,bt)||ei?Ei(Jn,gn+8,Ft?n.call(Ft,r,l,p,w,V,Z,oe,bt):n(r,l,p,w,V,Z,oe,bt)):wr(Jn,gn+8)},\u0275\u0275pureFunctionV:function AI(t,n,r,l){return S1((0,_.OAn)(),(0,_.gxQ)(),t,n,r,l)},\u0275\u0275getCurrentView:TE,\u0275\u0275restoreView:_.eBV,\u0275\u0275listener:NE,\u0275\u0275projection:Qb,\u0275\u0275syntheticHostProperty:function My(t,n,r){const l=(0,_.OAn)();if(ar(l,(0,_.xbp)(),n)){const w=(0,_.klJ)(),V=(0,_.CpD)();Ao(V,l,t,n,vf((0,_.MT)(w.data),V,l),r)}return My},\u0275\u0275syntheticHostListener:function Iw(t,n){const r=(0,_.Mx4)(),l=(0,_.OAn)(),p=(0,_.klJ)();return BE(p,l,vf((0,_.MT)(p.data),r,l),r,t,n),Iw},\u0275\u0275pipeBind1:R1,\u0275\u0275pipeBind2:P1,\u0275\u0275pipeBind3:function SI(t,n,r,l,p){const w=t+_.Yw1,V=(0,_.OAn)(),Z=(0,_.Hh6)(V,w);return JE(V,w)?A1(V,(0,_.gxQ)(),n,Z.transform,r,l,p,Z):Z.transform(r,l,p)},\u0275\u0275pipeBind4:O1,\u0275\u0275pipeBindV:function xI(t,n,r){const l=t+_.Yw1,p=(0,_.OAn)(),w=(0,_.Hh6)(p,l);return JE(p,l)?S1(p,(0,_.gxQ)(),n,w.transform,r,w):w.transform.apply(w,r)},\u0275\u0275projectionDef:Rf,\u0275\u0275domProperty:Ty,\u0275\u0275ariaProperty:lE,\u0275\u0275property:Um,\u0275\u0275pipe:x1,\u0275\u0275queryRefresh:Aw,\u0275\u0275queryAdvance:xy,\u0275\u0275viewQuery:Cw,\u0275\u0275viewQuerySignal:Sw,\u0275\u0275loadQuery:Jb,\u0275\u0275contentQuery:Xb,\u0275\u0275contentQuerySignal:kw,\u0275\u0275reference:xw,\u0275\u0275classMap:YE,\u0275\u0275styleMap:jw,\u0275\u0275styleProp:Uw,\u0275\u0275classProp:HE,\u0275\u0275advance:zh,\u0275\u0275template:Zv,\u0275\u0275conditional:XD,\u0275\u0275conditionalCreate:QD,\u0275\u0275conditionalBranchCreate:vE,\u0275\u0275defer:function RM(t,n,r,l,p,w,V,Z,oe,bt){const Ft=(0,_.OAn)(),gn=(0,_.klJ)(),Jn=t+_.Yw1,ei=Bm(Ft,gn,t,null,0,0),cr=Ft[_.YEL],Pr=rs(cr);if(gn.firstCreatePass){Ec("NgDefer");const bg={primaryTmplIndex:n,loadingTmplIndex:l??null,placeholderTmplIndex:p??null,errorTmplIndex:w??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:r??null,loadingState:Hc.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:bt??0};oe?.(gn,bg,Z,V),function S0(t,n,r){const l=Vm(n);t.data[l]=r}(gn,Jn,bg)}const ks=Ft[Jn];let js=null,Vr=null;if(ks[_.qFA]?.length>0){const bg=ks[_.qFA][0].data;Vr=bg.di??null,js=bg.s}const zl=[null,_p.Initial,null,null,null,null,Vr,js,null,null];!function db(t,n,r){t[Vm(n)]=r}(Ft,Jn,zl);let fh=null;null!==Vr&&Pr&&(fh=cr.get(Kl),fh.add(Vr,{lView:Ft,tNode:ei,lContainer:ks}));const ad=()=>{lb(zl),null!==Vr&&fh?.cleanup([Vr])};ev(0,zl,()=>(0,_.DyX)(Ft,ad)),(0,_.ik5)(Ft,ad)},\u0275\u0275deferWhen:function PM(t){const n=(0,_.OAn)(),r=(0,_.CpD)();if(od(0,n,r)&&ar(n,(0,_.xbp)(),t)){const p=(0,Qn.Ht)(null);try{const w=!!t,Z=bu(n,r)[1];!1===w&&Z===_p.Initial?sg(n,r):!0===w&&(Z===_p.Initial||Z===Dl.Placeholder)&&uv(0,n,r)}finally{(0,Qn.Ht)(p)}}},\u0275\u0275deferOnIdle:function FM(){od(0,(0,_.OAn)(),(0,_.Mx4)())&&ou(o_)},\u0275\u0275deferOnImmediate:function UM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(0,t,n)&&(null===Ic(t[_.eDl],n).loadingTmplIndex&&sg(t,n),uv(0,t,n))},\u0275\u0275deferOnTimer:function HM(t){od(0,(0,_.OAn)(),(0,_.Mx4)())&&ou(Sf(t))},\u0275\u0275deferOnHover:function $M(t,n){const r=(0,_.OAn)(),l=(0,_.Mx4)();od(0,r,l)&&(sg(r,l),rg(r,l,t,n,Ar,()=>uv(0,r,l),0))},\u0275\u0275deferOnInteraction:function QM(t,n){const r=(0,_.OAn)(),l=(0,_.Mx4)();od(0,r,l)&&(sg(r,l),rg(r,l,t,n,Zi,()=>uv(0,r,l),0))},\u0275\u0275deferOnViewport:function ZM(t,n){const r=(0,_.OAn)(),l=(0,_.Mx4)();od(0,r,l)&&(sg(r,l),rg(r,l,t,n,hb,()=>uv(0,r,l),0))},\u0275\u0275deferPrefetchWhen:function OM(t){const n=(0,_.OAn)(),r=(0,_.CpD)();if(od(1,n,r)&&ar(n,(0,_.xbp)(),t)){const p=(0,Qn.Ht)(null);try{const w=!!t,Z=Ic(n[_.eDl],r);!0===w&&Z.loadingState===Hc.NOT_STARTED&&Hu(Z,n,r)}finally{(0,Qn.Ht)(p)}}},\u0275\u0275deferPrefetchOnIdle:function BM(){od(1,(0,_.OAn)(),(0,_.Mx4)())&&au(o_)},\u0275\u0275deferPrefetchOnImmediate:function jM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();if(!od(1,t,n))return;const l=Ic(t[_.eDl],n);l.loadingState===Hc.NOT_STARTED&&hg(l,t,n)},\u0275\u0275deferPrefetchOnTimer:function YM(t){od(1,(0,_.OAn)(),(0,_.Mx4)())&&au(Sf(t))},\u0275\u0275deferPrefetchOnHover:function GM(t,n){const r=(0,_.OAn)(),l=(0,_.Mx4)();if(!od(1,r,l))return;const w=Ic(r[_.eDl],l);w.loadingState===Hc.NOT_STARTED&&rg(r,l,t,n,Ar,()=>Hu(w,r,l),1)},\u0275\u0275deferPrefetchOnInteraction:function XM(t,n){const r=(0,_.OAn)(),l=(0,_.Mx4)();if(!od(1,r,l))return;const w=Ic(r[_.eDl],l);w.loadingState===Hc.NOT_STARTED&&rg(r,l,t,n,Zi,()=>Hu(w,r,l),1)},\u0275\u0275deferPrefetchOnViewport:function aE(t,n){const r=(0,_.OAn)(),l=(0,_.Mx4)();if(!od(1,r,l))return;const w=Ic(r[_.eDl],l);w.loadingState===Hc.NOT_STARTED&&rg(r,l,t,n,hb,()=>Hu(w,r,l),1)},\u0275\u0275deferHydrateWhen:function LM(t){const n=(0,_.OAn)(),r=(0,_.CpD)();if(!od(2,n,r))return;const l=(0,_.xbp)();if(u_((0,_.klJ)(),r).set(6,null),ar(n,l,t)){const V=n[_.YEL],Z=(0,Qn.Ht)(null);try{1==!!t&&hv(V,bu(n,r)[6])}finally{(0,Qn.Ht)(Z)}}},\u0275\u0275deferHydrateNever:function NM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(2,t,n)&&u_((0,_.klJ)(),n).set(7,null)},\u0275\u0275deferHydrateOnIdle:function VM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(2,t,n)&&(u_((0,_.klJ)(),n).set(0,null),d_(o_,t,n))},\u0275\u0275deferHydrateOnImmediate:function WM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(2,t,n)&&(u_((0,_.klJ)(),n).set(1,null),hv(t[_.YEL],bu(t,n)[6]))},\u0275\u0275deferHydrateOnTimer:function zM(t){const n=(0,_.OAn)(),r=(0,_.Mx4)();od(2,n,r)&&(u_((0,_.klJ)(),r).set(5,{delay:t}),d_(Sf(t),n,r))},\u0275\u0275deferHydrateOnHover:function KM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(2,t,n)&&u_((0,_.klJ)(),n).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function JM(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(2,t,n)&&u_((0,_.klJ)(),n).set(3,null)},\u0275\u0275deferHydrateOnViewport:function jD(){const t=(0,_.OAn)(),n=(0,_.Mx4)();od(2,t,n)&&u_((0,_.klJ)(),n).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function N0(t,n,r,l){const p=t.consts;null!=r&&(n.placeholderBlockConfig=(0,_.db4)(p,r)),null!=l&&(n.loadingBlockConfig=(0,_.db4)(p,l)),null===cy&&(cy=tv)},\u0275\u0275repeater:qD,\u0275\u0275repeaterCreate:ZD,\u0275\u0275repeaterTrackByIndex:IT,\u0275\u0275repeaterTrackByIdentity:JD,\u0275\u0275componentInstance:function wT(){return(0,_.OAn)()[_.b5C][_.SKP]},\u0275\u0275text:jn,\u0275\u0275textInterpolate:$u,\u0275\u0275textInterpolate1:Md,\u0275\u0275textInterpolate2:lu,\u0275\u0275textInterpolate3:tf,\u0275\u0275textInterpolate4:Wm,\u0275\u0275textInterpolate5:function zE(t,n,r,l,p,w,V,Z,oe,bt,Ft){const gn=(0,_.OAn)(),Jn=Ol(gn,t,n,r,l,p,w,V,Z,oe,bt,Ft);return Jn!==ya&&Is(gn,(0,_._px)(),Jn),zE},\u0275\u0275textInterpolate6:function p_(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn){const ei=(0,_.OAn)(),cr=Od(ei,t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn);return cr!==ya&&Is(ei,(0,_._px)(),cr),p_},\u0275\u0275textInterpolate7:function qb(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr){const Pr=(0,_.OAn)(),ks=Td(Pr,t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr);return ks!==ya&&Is(Pr,(0,_._px)(),ks),qb},\u0275\u0275textInterpolate8:function $E(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr,Pr,ks){const js=(0,_.OAn)(),Vr=jm(js,t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr,Pr,ks);return Vr!==ya&&Is(js,(0,_._px)(),Vr),$E},\u0275\u0275textInterpolateV:function GE(t){const n=(0,_.OAn)(),r=bs(n,t);return r!==ya&&Is(n,(0,_._px)(),r),GE},\u0275\u0275i18n:Mw,\u0275\u0275i18nAttributes:function ZT(t,n){const r=(0,_.klJ)(),l=(0,_.db4)(r.consts,n);!function YT(t,n,r){const p=(0,_.Mx4)().index,w=[];if(t.firstCreatePass&&null===t.data[n]){for(let V=0;V<r.length;V+=2){const Z=r[V],oe=r[V+1];if(""!==oe){if(UT.test(oe))throw new Error(`ICU expressions are not supported in attributes. Message: "${oe}".`);Hb(w,oe,p,Z,gg(w),Ew(Z))}}t.data[n]=w}}(r,t+_.Yw1,l)},\u0275\u0275i18nExp:function OE(t){return function BT(t){t&&(Eu|=1<<Math.min(_g,31)),_g++}(ar((0,_.OAn)(),(0,_.xbp)(),t)),OE},\u0275\u0275i18nStart:Tw,\u0275\u0275i18nEnd:PE,\u0275\u0275i18nApply:function qT(t){!function aw(t,n,r){if(_g>0){const l=t.data[r];dw(t,n,Array.isArray(l)?l:l.update,(0,_.c$7)()-_g-1,Eu)}Eu=0,_g=0}((0,_.klJ)(),(0,_.OAn)(),t+_.Yw1)},\u0275\u0275i18nPostprocess:function LE(t,n={}){return function JT(t,n={}){let r=t;if(RE.test(t)){const l={},p=[0];r=r.replace(Dw,(w,V,Z)=>{const oe=V||Z,bt=l[oe]||[];if(bt.length||(oe.split("|").forEach(Pr=>{const ks=Pr.match(XT),js=ks?parseInt(ks[1],10):0,Vr=QT.test(Pr);bt.push([js,Vr,Pr])}),l[oe]=bt),!bt.length)throw new Error(`i18n postprocess: unmatched placeholder - ${oe}`);const Ft=p[p.length-1];let gn=0;for(let Pr=0;Pr<bt.length;Pr++)if(bt[Pr][0]===Ft){gn=Pr;break}const[Jn,ei,cr]=bt[gn];return ei?p.pop():Ft!==Jn&&p.push(Jn),bt.splice(gn,1),cr})}return Object.keys(n).length&&(r=r.replace(f1,(l,p,w,V,Z,oe)=>n.hasOwnProperty(w)?`${p}${n[w]}${oe}`:l),r=r.replace(KT,(l,p)=>n.hasOwnProperty(p)?n[p]:l),r=r.replace(ww,(l,p)=>{if(n.hasOwnProperty(p)){const w=n[p];if(!w.length)throw new Error(`i18n postprocess: unmatched ICU - ${l} with key: ${p}`);return w.shift()}return l})),r}(t,n)},\u0275\u0275resolveWindow:function ir(t){return t.ownerDocument.defaultView},\u0275\u0275resolveDocument:function sr(t){return t.ownerDocument},\u0275\u0275resolveBody:function qr(t){return t.ownerDocument.body},\u0275\u0275setComponentScope:y1,\u0275\u0275setNgModuleScope:function wI(t,n){return Vi(()=>{const r=(0,_.WbQ)(t);r.declarations=zw(n.declarations||_.Mlv),r.imports=zw(n.imports||_.Mlv),r.exports=zw(n.exports||_.Mlv),n.bootstrap&&(r.bootstrap=zw(n.bootstrap)),Lm.registerNgModule(t,n)})},\u0275\u0275registerNgModuleType:g,\u0275\u0275getComponentDepsFactory:function RI(t,n){return()=>{try{return Lm.getComponentDependencies(t,n).dependencies}catch(r){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,r),r}}},\u0275setClassDebugInfo:function PI(t,n){const r=(0,_.xUg)(t);null!==r&&(r.debugInfo=n)},\u0275\u0275declareLet:function um(t){const n=(0,_.klJ)(),r=(0,_.OAn)(),l=t+_.Yw1,p=oa(n,l,128,null,null);return(0,_.iMd)(p,!1),(0,_.M_e)(n,r,l,Yd),um},\u0275\u0275storeLet:function nf(t){Ec("NgLet");const n=(0,_.klJ)(),r=(0,_.OAn)(),l=(0,_._px)();return(0,_.M_e)(n,r,l,t),t},\u0275\u0275readContextLet:function __(t){const n=(0,_.VPL)(),r=(0,_.Hh6)(n,_.Yw1+t);if(r===Yd)throw new _.buA(314,!1);return r},\u0275\u0275attachSourceLocations:function zc(t,n){const r=(0,_.klJ)(),l=(0,_.OAn)(),p=l[_.GpT],w="data-ng-source-location";for(const[V,Z,oe,bt]of n){(0,_.XRZ)(r,V+_.Yw1);const gn=(0,_.vaC)(V+_.Yw1,l);gn.hasAttribute(w)||p.setAttribute(gn,w,`${t}@o:${Z},l:${oe},c:${bt}`)}},\u0275\u0275interpolate:KE,\u0275\u0275interpolate1:Yw,\u0275\u0275interpolate2:Du,\u0275\u0275interpolate3:function yg(t,n,r,l,p,w,V=""){return ka((0,_.OAn)(),t,n,r,l,p,w,V)},\u0275\u0275interpolate4:function Of(t,n,r,l,p,w,V,Z,oe=""){return Yl((0,_.OAn)(),t,n,r,l,p,w,V,Z,oe)},\u0275\u0275interpolate5:function e0(t,n,r,l,p,w,V,Z,oe,bt,Ft=""){return Ol((0,_.OAn)(),t,n,r,l,p,w,V,Z,oe,bt,Ft)},\u0275\u0275interpolate6:function QE(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn=""){return Od((0,_.OAn)(),t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn)},\u0275\u0275interpolate7:function pI(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr=""){return Td((0,_.OAn)(),t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr)},\u0275\u0275interpolate8:function _I(t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr,Pr,ks=""){return jm((0,_.OAn)(),t,n,r,l,p,w,V,Z,oe,bt,Ft,gn,Jn,ei,cr,Pr,ks)},\u0275\u0275interpolateV:function gI(t){return bs((0,_.OAn)(),t)},\u0275\u0275sanitizeHtml:fm,\u0275\u0275sanitizeStyle:function Cd(t){const n=oc();return n?n.sanitize(Vd.STYLE,t)||"":md(t,"Style")?Qc(t):(0,_.eFE)(t)},\u0275\u0275sanitizeResourceUrl:yc,\u0275\u0275sanitizeScript:function Ff(t){const n=oc();if(n)return Jr(n.sanitize(Vd.SCRIPT,t)||"");if(md(t,"Script"))return Jr(Qc(t));throw new _.buA(905,!1)},\u0275\u0275validateAttribute:K,\u0275\u0275sanitizeUrl:hu,\u0275\u0275sanitizeUrlOrResourceUrl:Ju,\u0275\u0275trustConstantHtml:function vh(t){return Be(t[0])},\u0275\u0275trustConstantResourceUrl:jh,forwardRef:_.Rfq,resolveForwardRef:_.nl4,\u0275\u0275twoWayProperty:Eo,\u0275\u0275twoWayBindingSet:Lo,\u0275\u0275twoWayListener:Ga,\u0275\u0275replaceMetadata:function LI(t,n,r,l,p=null,w=null){const V=(0,_.xUg)(t);n.apply(null,[t,r,...l]);const{newDef:Z,oldDef:oe}=function NI(t,n){const r={...t};return{newDef:Object.assign(t,n,{directiveDefs:r.directiveDefs,pipeDefs:r.pipeDefs,setInput:r.setInput,type:r.type}),oldDef:r}}(V,(0,_.xUg)(t));if(t[_.CQl]=Z,oe.tView){const bt=function ba(){return cs}().values();
1for(const Ft of bt)(0,_.EFk)(Ft)&&null===Ft[_.f7T]&&$w(p,w,Z,oe,Ft)}},\u0275\u0275getReplaceMetadataURL:function OI(t,n,r){const l=`./@ng/component?c=${t}&t=${encodeURIComponent(n)}`;return new URL(l,r).href}};let t0=null;function jI(t){null!==t0&&(t.defaultEncapsulation!==t0.defaultEncapsulation||t.preserveWhitespaces!==t0.preserveWhitespaces)||(t0=t)}const ZE=[];function W1(t){return Y_(t)?t.ngModule:t}const sC=ci("NgModule",t=>t,void 0,0,(t,n)=>function zI(t,n={}){(function $I(t,n){const l=(0,_.Bqz)(n.declarations||_.Mlv);let p=null;Object.defineProperty(t,_.hmW,{configurable:!0,get:()=>(null===p&&(p=Ce().compileNgModule(Dv,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:(0,_.Bqz)(n.bootstrap||_.Mlv).map(_.nl4),declarations:l.map(_.nl4),imports:(0,_.Bqz)(n.imports||_.Mlv).map(_.nl4).map(W1),exports:(0,_.Bqz)(n.exports||_.Mlv).map(_.nl4).map(W1),schemas:n.schemas?(0,_.Bqz)(n.schemas):null,id:n.id||null}),p.schemas||(p.schemas=[])),p)});let w=null;Object.defineProperty(t,_.zSs,{get:()=>{if(null===w){const Z=Ce();w=Z.compileFactory(Dv,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:Ct(t),target:Z.FactoryTarget.NgModule,typeArgumentCount:0})}return w},configurable:!1});let V=null;Object.defineProperty(t,_.ONQ,{get:()=>{if(null===V){const Z={name:t.name,type:t,providers:n.providers||_.Mlv,imports:[(n.imports||_.Mlv).map(_.nl4),(n.exports||_.Mlv).map(_.nl4)]};V=Ce().compileInjector(Dv,`ng:///${t.name}/\u0275inj.js`,Z)}return V},configurable:!1})})(t,n),void 0!==n.id&&g(t,n.id),function HI(t,n){ZE.push({moduleType:t,ngModule:n})}(t,n)}(t,n));class oC{ngModuleFactory;componentFactories;constructor(n,r){this.ngModuleFactory=n,this.componentFactories=r}}let aC=(()=>{class t{compileModuleSync(r){return new Kn(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const l=this.compileModuleSync(r),w=Ts((0,_.phH)(r).declarations).reduce((V,Z)=>{const oe=(0,_.xUg)(Z);return oe&&V.push(new $v(oe)),V},[]);return new oC(l,w)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const lC=new _.nKC("");let cC=(()=>{class t{zone=(0,_.WQX)(Ko);changeDetectionScheduler=(0,_.WQX)(_.hk6);applicationRef=(0,_.WQX)(Zr);applicationErrorHandler=(0,_.WQX)(_.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(r){this.applicationErrorHandler(r)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const q1=new _.nKC("",{factory:()=>!1});function eI({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:r}){return t??=()=>new Ko({...bM(),scheduleInRootZone:r}),[{provide:Ko,useFactory:t},{provide:_.Z63,multi:!0,useFactory:()=>{const l=(0,_.WQX)(cC,{optional:!0});return()=>l.initialize()}},{provide:_.Z63,multi:!0,useFactory:()=>{const l=(0,_.WQX)(dC);return()=>{l.initialize()}}},!0===n?{provide:_.Jy$,useValue:!0}:[],{provide:_.AQb,useValue:r??g_},{provide:_.ZTf,useFactory:()=>{const l=(0,_.WQX)(Ko),p=(0,_.WQX)(_.uvJ);let w;return V=>{l.runOutsideAngular(()=>{p.destroyed&&!w?setTimeout(()=>{throw V}):(w??=p.get(_.zcH),w.handleError(V))})}}}]}function bM(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let dC=(()=>{class t{subscription=new ai.yU;initialized=!1;zone=(0,_.WQX)(Ko);pendingTasks=(0,_.WQX)(_.rev);initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ko.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}
1))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ko.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iI=(()=>{class t{applicationErrorHandler=(0,_.WQX)(_.ZTf);appRef=(0,_.WQX)(Zr);taskService=(0,_.WQX)(_.rev);ngZone=(0,_.WQX)(Ko);zonelessEnabled=(0,_.WQX)(_.Evm);tracing=(0,_.WQX)(nu,{optional:!0});disableScheduling=(0,_.WQX)(_.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ai.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(df):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,_.WQX)(_.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof uf||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&5===r)return;let l=!1;switch(r){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,l=!0;break;case 12:this.appRef.dirtyFlags|=16,l=!0;break;case 11:l=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(l))return;const p=this.useMicrotaskScheduler?Th:Dg;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>p(()=>this.tick())):this.ngZone.runOutsideAngular(()=>p(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(df+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(l){this.taskService.remove(r),this.applicationErrorHandler(l)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Th(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(l){return new(l||t)};static \u0275prov=(0,_.jDH)({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const rI=new _.nKC("",{providedIn:"root",factory:()=>(0,_.WQX)(rI,{optional:!0,skipSelf:!0})||function uC(){return typeof $localize<"u"&&$localize.locale||Cy}()}),hC=new _.nKC("",{providedIn:"root",factory:()=>"USD"})},9295(tn,Ye,d){"use strict";d.d(Ye,{EW:()=>Ke,QZ:()=>lt,O8:()=>Je}),d(467);var s=d(2615),h=d(8440);const H={...h.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function Je(Ze){return function k(Ze){const We=(0,h.Ht)(null);try{return Ze()}finally{(0,h.Ht)(We)}}(Ze)}function Ke(Ze,We){return(0,h.KZ)(Ze,We?.equal)}class $e{[h.bh];constructor(We){this[h.bh]=We}destroy(){this[h.bh].destroy()}}function lt(Ze,We){const Ot=We?.injector??(0,s.WQX)(s.zZn);let It,Me=!0!==We?.manualCleanup?Ot.get(s.abz):null;const Zt=Ot.get(s.r4V,null,{optional:!0}),ti=Ot.get(s.hk6);return null!==Zt?(It=function he(Ze,We,Ot){const Me=Object.create(ae);return Me.view=Ze,Me.zone=typeof Zone<"u"?Zone.current:null,Me.notifier=We,Me.fn=ve(Me,Ot),Ze[s.tQN]??=new Set,Ze[s.tQN].add(Me),Me.consumerMarkedDirty(Me),Me}(Zt.view,ti,Ze),Me instanceof s.KXn&&Me._lView===Zt.view&&(Me=null)):It=function Ne(Ze,We,Ot){const Me=Object.create(de);
1return Me.fn=ve(Me,Ze),Me.scheduler=We,Me.notifier=Ot,Me.zone=typeof Zone<"u"?Zone.current:null,Me.scheduler.add(Me),Me.notifier.notify(12),Me}(Ze,Ot.get(s.VML),ti),It.injector=Ot,null!==Me&&(It.onDestroyFn=Me.onDestroy(()=>It.destroy())),new $e(It)}const q={...H,cleanupFns:void 0,zone:null,onDestroyFn:s.lQ1,run(){const Ze=(0,s.cBl)(!1);try{!function B(Ze){if(Ze.dirty=!1,Ze.version>0&&!(0,h.si)(Ze))return;Ze.version++;const We=(0,h.Bg)(Ze);try{Ze.cleanup(),Ze.fn()}finally{(0,h.Wu)(Ze,We)}}(this)}finally{(0,s.cBl)(Ze)}},cleanup(){if(!this.cleanupFns?.length)return;const Ze=(0,h.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,h.Ht)(Ze)}}},de={...q,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,h.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},ae={...q,consumerMarkedDirty(){this.view[s.Wg1]|=8192,(0,s.blu)(this.view),this.notifier.notify(13)},destroy(){(0,h.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[s.tQN]?.delete(this)}};function ve(Ze,We){return()=>{We(Ot=>(Ze.cleanupFns??=[]).push(Ot))}}Error,Error},2615(tn,Ye,d){"use strict";let o;function s(){return o}function h(le){const At=o;return o=le,At}d.d(Ye,{JEi:()=>Sa,Isx:()=>Fo,EJG:()=>la,Yrj:()=>Ka,VVG:()=>qo,Y20:()=>_l,SKP:()=>Js,hk6:()=>Xa,eVN:()=>ha,b5C:()=>cs,rQE:()=>ll,X5O:()=>Qa,qFA:()=>Mo,qQL:()=>or,abz:()=>xr,tQN:()=>Os,pcR:()=>ea,oMQ:()=>Ps,Mlv:()=>Jt,MZA:()=>Ni,M0L:()=>Uo,Z63:()=>Ri,VML:()=>vc,uvJ:()=>ds,zcH:()=>Ss,Wg1:()=>ms,Yw1:()=>ca,jgP:()=>Gr,tcA:()=>Oo,ID:()=>Us,YEL:()=>ko,B9r:()=>st,GBX:()=>Ui,ZTf:()=>ta,nKC:()=>Yn,zZn:()=>vr,rJ1:()=>qs,nfM:()=>Kr,s6P:()=>pa,K29:()=>No,CQl:()=>xe,p9y:()=>Tt,zSs:()=>Ue,ONQ:()=>Tn,hmW:()=>Ce,yAH:()=>dn,KXn:()=>rs,oTH:()=>ot,Czx:()=>ba,f7T:()=>Gs,wVl:()=>wo,GYQ:()=>_c,u5s:()=>Kc,rev:()=>uo,Ds7:()=>wl,e5P:()=>Jo,Iaj:()=>pl,GpT:()=>no,buA:()=>Ge,AQb:()=>Ca,jNX:()=>Qs,eDl:()=>lo,qlT:()=>Do,xvI:()=>ye,bm_:()=>xa,RxE:()=>x,r4V:()=>Ul,ok8:()=>Mt,Evm:()=>Gd,Jy$:()=>gc,laP:()=>ze,EYC:()=>Ns,ng7:()=>Cr,llW:()=>po,gsJ:()=>Fs,GZS:()=>cl,iYM:()=>Ie,PEr:()=>Xr,z7f:()=>je,LZP:()=>rt,Xln:()=>Ut,yzR:()=>oi,TWe:()=>yr,LIA:()=>at,GWr:()=>Pe,pbo:()=>yt,bBq:()=>gi,Af3:()=>is,zQk:()=>ho,oZy:()=>ri,tF7:()=>Ze,ZFY:()=>gt,cP4:()=>gr,MdC:()=>En,XvL:()=>qt,KET:()=>Ra,Tkx:()=>Bs,iw4:()=>nt,tdH:()=>Ia,pr_:()=>Ot,IAh:()=>hn,U45:()=>he,WrV:()=>Ne,kNT:()=>We,MI:()=>Nr,biv:()=>Pi,ZQF:()=>cn,Cv0:()=>ve,W0r:()=>Ya,R2n:()=>ja,O8q:()=>Da,VKj:()=>Yo,Rom:()=>Ha,z6V:()=>Ai,n$e:()=>Ke,hjC:()=>wn,Pz9:()=>Si,PQT:()=>On,VX4:()=>wi,_Z$:()=>L,N79:()=>Sc,xLP:()=>$r,zuh:()=>Vt,BI7:()=>fr,U7d:()=>ci,uXy:()=>Un,nZS:()=>Sn,ihb:()=>mh,ID8:()=>cu,gv8:()=>Ma,dwj:()=>kt,Bqz:()=>Hr,OsK:()=>Xe,Rfq:()=>q,c$7:()=>Bl,gxQ:()=>So,ckz:()=>rc,kLh:()=>ue,xUg:()=>Yr,KdJ:()=>hc,db4:()=>gl,VPL:()=>Ur,MT:()=>Kl,Z9v:()=>Ba,Ab:()=>Cn,w7Z:()=>Ml,Mx4:()=>Rt,veI:()=>Xt,HaV:()=>to,Agf:()=>oo,znI:()=>$c,wGu:()=>_r,ebl:()=>Oi,OAn:()=>ne,_0$:()=>kc,UaU:()=>Kt,vaC:()=>Cc,d31:()=>nl,ZRn:()=>Sl,phH:()=>bn,WbQ:()=>_i,WB9:()=>ls,d_l:()=>vl,vNG:()=>Tl,oyA:()=>Ho,_px:()=>Gc,CpD:()=>Jl,XRZ:()=>uc,klJ:()=>Oe,Fje:()=>cd,b$O:()=>Rc,SMZ:()=>ge,WQX:()=>$t,MzJ:()=>Zn,jXY:()=>Lt,MME:()=>Ii,JlV:()=>Gt,Qs1:()=>Et,srX:()=>tt,vOT:()=>ps,YWB:()=>Zi,EPY:()=>_o,yoD:()=>pe,P3H:()=>Ta,Jzi:()=>ae,rFz:()=>_a,JjR:()=>rn,M6u:()=>Or,KtD:()=>dd,muV:()=>Wn,A0l:()=>tl,q$2:()=>el,yP_:()=>pr,EFk:()=>Ln,Hps:()=>xo,UhH:()=>xl,QuC:()=>Co,Y3W:()=>Vn,n$r:()=>pc,K7h:()=>as,FRF:()=>Pn,ezK:()=>Ks,m7n:()=>en,niQ:()=>Xl,krE:()=>zo,bll:()=>Ld,Hh6:()=>il,EmA:()=>ia,blu:()=>Fa,HAh:()=>mc,WfI:()=>Xs,xbp:()=>ao,jvu:()=>$d,lQ1:()=>wu,Rc9:()=>Ct,E6O:()=>Cs,DyX:()=>Go,eFE:()=>we,dMS:()=>Ws,HUe:()=>dl,nl4:()=>de,N4e:()=>Lr,XaM:()=>un,Kw3:()=>xc,vQI:()=>ga,RZ9:()=>ro,GA0:()=>rl,iMd:()=>mi,Pfq:()=>Ar,xyx:()=>Pc,a2B:()=>Rn,kcM:()=>ii,DFp:()=>di,P2g:()=>Oa,cBl:()=>io,ypq:()=>Id,vPA:()=>jo,HO5:()=>ul,M_e:()=>da,B22:()=>Nl,ik5:()=>Ll,AsM:()=>Je,PP7:()=>_e,$8:()=>ie,$Hz:()=>Er,zAe:()=>dc,IvY:()=>eo,_gW:()=>go,F1c:()=>wa,ITl:()=>fc,brz:()=>dt,jRZ:()=>Ac,SX7:()=>jt,jDH:()=>Me,G2t:()=>Zt,fuf:()=>Fl,cSN:()=>$l,KVO:()=>Gi,dmw:()=>Mr,joV:()=>Ls,By9:()=>Oc,qSk:()=>yl,Njj:()=>Re,eBV:()=>me});const v=Symbol("NotFound");function M(le){return le===v||"\u0275NotFound"===le?.name}Error;var k=d(8440),H=d(4412),B=d(1985);class x{full;major;minor;patch;constructor(At){this.full=At;const mn=At.split(".");this.major=mn[0],this.minor=mn[1],this.patch=mn.slice(2).join(".")}}const ye=new x("20.3.21"),Mt="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";
vendor: 4,151 bytes, line 1
1class Ge extends Error{code;constructor(At,mn){super(Xe(At,mn)),this.code=At}}function Xe(le,At){return`${function Qe(le){return`NG0${Math.abs(le)}`}(le)}${At?": "+At:""}`}const ze=globalThis;function ge(){return!1}function ue(le){for(let At in le)if(le[At]===ue)return At;throw Error("")}function kt(le,At){for(const mn in At)At.hasOwnProperty(mn)&&!le.hasOwnProperty(mn)&&(le[mn]=At[mn])}function Je(le){if("string"==typeof le)return le;if(Array.isArray(le))return`[${le.map(Je).join(", ")}]`;if(null==le)return""+le;const At=le.overriddenName||le.name;if(At)return`${At}`;const mn=le.toString();if(null==mn)return""+mn;const Fi=mn.indexOf("\n");return Fi>=0?mn.slice(0,Fi):mn}function Ke(le,At){return le?At?`${le} ${At}`:le:At||""}const lt=ue({__forward_ref__:ue});function q(le){return le.__forward_ref__=q,le.toString=function(){return Je(this())},le}function de(le){return ae(le)?le():le}function ae(le){return"function"==typeof le&&le.hasOwnProperty(lt)&&le.__forward_ref__===q}function he(le,At){"number"!=typeof le&&ie(At,typeof le,"number","===")}function Ne(le,At,mn){he(le,"Expected a number"),function Te(le,At,mn){le<=At||ie(mn,le,At,"<=")}(le,mn,"Expected number to be less than or equal to"),yt(le,At,"Expected number to be greater than or equal to")}function ve(le,At){"string"!=typeof le&&ie(At,null===le?"null":typeof le,"string","===")}function at(le,At){"function"!=typeof le&&ie(At,null===le?"null":typeof le,"function","===")}function Ut(le,At,mn){le!=At&&ie(mn,le,At,"==")}function nt(le,At,mn){le==At&&ie(mn,le,At,"!=")}function cn(le,At,mn){le!==At&&ie(mn,le,At,"===")}function hn(le,At,mn){le===At&&ie(mn,le,At,"!==")}function qt(le,At,mn){le<At||ie(mn,le,At,"<")}function Pe(le,At,mn){le>At||ie(mn,le,At,">")}function yt(le,At,mn){le>=At||ie(mn,le,At,">=")}function Ie(le,At){null==le&&ie(At,le,null,"!=")}function ie(le,At,mn,Fi){throw new Error(`ASSERTION ERROR: ${le}`+(null==Fi?"":` [Expected=> ${mn} ${Fi} ${At} <=Actual]`))}function je(le){le instanceof Node||ie(`The provided value must be an instance of a DOM Node but got ${Je(le)}`)}function rt(le){le instanceof Element||ie(`The provided value must be an element but got ${Je(le)}`)}function Ze(le,At){Ie(le,"Array must be defined.");const mn=le.length;(At<0||At>=mn)&&ie(`Index expected to be less than ${mn} but got ${At}`)}function We(le,...At){if(-1!==At.indexOf(le))return!0;ie(`Expected value to be one of ${JSON.stringify(At)} but was ${JSON.stringify(le)}.`)}function Ot(le){null!==(0,k.nR)()&&ie(`${le}() should never be called in a reactive context.`)}function Me(le){return{token:le.token,providedIn:le.providedIn||null,factory:le.factory,value:void 0}}function Zt(le){return{providers:le.providers||[],imports:le.imports||[]}}function ti(le){return function mr(le,At){return le.hasOwnProperty(At)&&le[At]||null}(le,dn)}function Wn(le){return null!==ti(le)}function Oi(le){return le&&le.hasOwnProperty(Tn)?le[Tn]:null}const dn=ue({\u0275prov:ue}),Tn=ue({\u0275inj:ue});class Yn{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(At,mn){this._desc=At,this.\u0275prov=void 0,"number"==typeof mn?this.__NG_ELEMENT_ID__=mn:void 0!==mn&&(this.\u0275prov=Me({token:this,providedIn:mn.providedIn||"root",factory:mn.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let _;function Qn(){return ie("getInjectorProfilerContext should never be called in production mode"),_}function di(le){ie("setInjectorProfilerContext should never be called in production mode");const At=_;return _=le,At}const ai=[],pi=()=>{};function ii(le){return ie("setInjectorProfiler should never be called in production mode"),null!==le?(ai.includes(le)||ai.push(le),()=>function Vi(le){const At=ai.indexOf(le);-1!==At&&ai.splice(At,1)}(le)):(ai.length=0,pi)}function rr(le){ie("Injector profiler should never be called in production mode");for(let At=0;At<ai.length;At++)(0,ai[At])(le)}function Sn(le,At=!1){let mn;ie("Injector profiler should never be called in production mode"),mn="function"==typeof le||le instanceof Yn?le:de(le.provide);let Fi=le;le instanceof Yn&&(Fi=le.\u0275prov||le),rr({type:2,context:Qn(),providerRecord:{token:m
vendor: 18,493 bytes, line 1
1n,provider:Fi,isViewProvider:At}})}function ci(le){ie("Injector profiler should never be called in production mode"),rr({type:4,context:Qn(),token:le})}function Un(le){ie("Injector profiler should never be called in production mode"),rr({type:1,context:Qn(),instance:{value:le}})}function fr(le,At,mn){ie("Injector profiler should never be called in production mode"),rr({type:0,context:Qn(),service:{token:le,value:At,flags:mn}})}function Vt(le){ie("Injector profiler should never be called in production mode"),rr({type:3,context:Qn(),effect:le})}function un(le,At,mn){ie("runInInjectorProfilerContext should never be called in production mode");const Fi=di({injector:le,token:At});try{mn()}finally{di(Fi)}}function Ae(le){return le&&!!le.\u0275providers}const xe=ue({\u0275cmp:ue}),z=ue({\u0275dir:ue}),Ee=ue({\u0275pipe:ue}),Ce=ue({\u0275mod:ue}),Ue=ue({\u0275fac:ue}),Tt=ue({__NG_ELEMENT_ID__:ue}),fe=ue({__NG_ENV_ID__:ue});function we(le){return"string"==typeof le?le:null==le?"":String(le)}function _e(le){return"function"==typeof le?le.name||le.toString():"object"==typeof le&&null!=le&&"function"==typeof le.type?le.type.name||le.type.toString():we(le)}function L(le){let At=le[xe]||null;return null!==At&&At.debugInfo?function j(le){return le.filePath&&le.lineNumber?`${le.className} (at ${le.filePath}:${le.lineNumber})`:le.className}(At.debugInfo):_e(le)}const X=ue({ngErrorCode:ue}),qe=ue({ngErrorMessage:ue}),Yt=ue({ngTokenPath:ue});function On(le,At){return Pt("",-200,At)}function wi(le,At){return function an(le,At){return le.message=function De(le,At,mn=[],Fi=null){let er="";mn&&mn.length>1&&(er=` Path: ${mn.join(" -> ")}.`);return Xe(At,`${le}${Fi?` Source: ${Fi}.`:""}${er}`)}(le[qe]||le.message,le[X],le[Yt],At),le}(On(0,At),null)}function Er(le,At){throw new Ge(-201,!1)}function Pt(le,At,mn){const Fi=new Ge(At,le);return Fi[X]=At,Fi[qe]=le,mn&&(Fi[Yt]=mn),Fi}let _t;function et(){return _t}function Rn(le){const At=_t;return _t=le,At}function Zn(le,At,mn){const Fi=ti(le);return Fi&&"root"==Fi.providedIn?void 0===Fi.value?Fi.value=Fi.factory():Fi.value:8&mn?null:void 0!==At?At:void Er()}function gt(le){}const ft={},Bt="__NG_DI_FLAG__";class xn{injector;constructor(At){this.injector=At}retrieve(At,mn){const Fi=wn(mn)||0;try{return this.injector.get(At,8&Fi?null:ft,Fi)}catch(er){if(M(er))return er;throw er}}}function Ti(le,At=0){const mn=s();if(void 0===mn)throw new Ge(-203,!1);if(null===mn)return Zn(le,void 0,At);{const Fi=function In(le){return{optional:!!(8&le),host:!!(1&le),self:!!(2&le),skipSelf:!!(4&le)}}(At),er=mn.retrieve(le,Fi);if(M(er)){if(Fi.optional)return null;throw er}return er}}function Gi(le,At=0){return(et()||Ti)(de(le),At)}function Mr(le){throw new Ge(202,!1)}function $t(le,At){return Gi(le,wn(At))}function wn(le){return typeof le>"u"||"number"==typeof le?le:0|(le.optional&&8)|(le.host&&1)|(le.self&&2)|(le.skipSelf&&4)}function Di(le){const At=[];for(let mn=0;mn<le.length;mn++){const Fi=de(le[mn]);if(Array.isArray(Fi)){if(0===Fi.length)throw new Ge(900,!1);let er,Fr=0;for(let vo=0;vo<Fi.length;vo++){const Bo=Fi[vo],Va=ki(Bo);"number"==typeof Va?-1===Va?er=Bo.token:Fr|=Va:er=Bo}At.push(Gi(er,Fr))}else At.push(Gi(Fi))}return At}function Ai(le,At){return le[Bt]=At,le.prototype[Bt]=At,le}function ki(le){return le[Bt]}function _r(le,At){return le.hasOwnProperty(Ue)?le[Ue]:null}function Cr(le,At,mn){if(le.length!==At.length)return!1;for(let Fi=0;Fi<le.length;Fi++){let er=le[Fi],Fr=At[Fi];if(mn&&(er=mn(er),Fr=mn(Fr)),Fr!==er)return!1}return!0}function Hr(le){return le.flat(Number.POSITIVE_INFINITY)}function $r(le,At){le.forEach(mn=>Array.isArray(mn)?$r(mn,At):At(mn))}function Ns(le,At,mn){At>=le.length?le.push(mn):le.splice(At,0,mn)}function Cs(le,At){return At>=le.length-1?le.pop():le.splice(At,1)[0]}function Xs(le,At){const mn=[];for(let Fi=0;Fi<le;Fi++)mn.push(At);return mn}function Fs(le,At,mn){const Fi=le.length-mn;for(;At<Fi;)le[At]=le[At+mn],At++;for(;mn--;)le.pop()}function po(le,At,mn,Fi){let er=le.length;if(er==At)le.push(mn,Fi);else if(1===er)le.push(Fi,le[0]),le[0]=mn;else{for(er--,le.push(le[er-1],le[er]);er>At;)le[er]=le[er-2],er--;le[At]=mn,le[At+1]=Fi}}function Ks(le,At,mn){let Fi=Pn(le,At);return Fi>=0?le[1|Fi]=mn:(Fi=~Fi,po(le,Fi,At,mn)),Fi}function as(le,At){const mn=Pn(le,At);if(mn>=0)return le[1|mn]}function Pn(le,At){return function vi(le,At,mn){let Fi=0,er=le.length>>mn;for(;er!==Fi;){const Fr=Fi+(er-Fi>>1),vo=le[Fr<<mn];if(At===vo)return Fr<<mn;vo>At?er=Fr:Fi=Fr+1}return~(er<<mn)}(le,At,1)}const Ni={},Jt=[],Ri=new Yn(""),Q=new Yn("",-1),st=new Yn("");class ot{get(At,mn=ft){if(mn===ft){const er=Pt("",-201);throw er.name="\u0275NotFound",er}return mn}}function bn(le){return le[Ce]||null}function _i(le){const At=bn(le);if(!At)throw new Ge(915,!1);return At}function Yr(le){return le[xe]||null}function oo(le){const At=to(le);if(!At)throw new Ge(916,!1);return At}function to(le){return le[z]||null}function Ho(le){return le[Ee]||null}function Co(le){const At=Yr(le)||to(le)||Ho(le);return null!==At&&At.standalone}function ia(le){return{\u0275providers:le}}function An(...le){return{\u0275providers:Lt(0,le),\u0275fromNgModule:!0}}function Lt(le,...At){const mn=[],Fi=new Set;let er;const Fr=vo=>{mn.push(vo)};return $r(At,vo=>{const Bo=vo;dt(Bo,Fr,[],Fi)&&(er||=[],er.push(Bo))}),void 0!==er&&sn(er,Fr),mn}function sn(le,At){for(let mn=0;mn<le.length;mn++){const{ngModule:Fi,providers:er}=le[mn];br(er,Fr=>{At(Fr,Fi)})}}function dt(le,At,mn,Fi){if(!(le=de(le)))return!1;let er=null,Fr=Oi(le);const vo=!Fr&&Yr(le);if(Fr||vo){if(vo&&!vo.standalone)return!1;er=le}else{const Va=le.ngModule;if(Fr=Oi(Va),!Fr)return!1;er=Va}const Bo=Fi.has(er);if(vo){if(Bo)return!1;if(Fi.add(er),vo.dependencies){const Va="function"==typeof vo.dependencies?vo.dependencies():vo.dependencies;for(const Ro of Va)dt(Ro,At,mn,Fi)}}else{if(!Fr)return!1;{if(null!=Fr.imports&&!Bo){let Ro;Fi.add(er),$r(Fr.imports,Ja=>{dt(Ja,At,mn,Fi)&&(Ro||=[],Ro.push(Ja))}),void 0!==Ro&&sn(Ro,At)}if(!Bo){const Ro=_r(er)||(()=>new er);At({provide:er,useFactory:Ro,deps:Jt},er),At({provide:st,useValue:er,multi:!0},er),At({provide:Ri,useValue:()=>Gi(er),multi:!0},er)}const Va=Fr.providers;if(null!=Va&&!Bo){const Ro=le;br(Va,Ja=>{At(Ja,Ro)})}}}return er!==le&&void 0!==le.providers}function br(le,At){for(let mn of le)Ae(mn)&&(mn=mn.\u0275providers),Array.isArray(mn)?br(mn,At):At(mn)}const $i=ue({provide:String,useValue:ue});function Es(le){return null!==le&&"object"==typeof le&&$i in le}function Vn(le){return"function"==typeof le}function Ii(le){return!!le.useClass}const Ui=new Yn(""),Rr={},fs={};let Rs;function ls(){return void 0===Rs&&(Rs=new ot),Rs}class ds{}class Jo extends ds{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(At,mn,Fi,er){super(),this.parent=mn,this.source=Fi,this.scopes=er,ur(At,vo=>this.processProvider(vo)),this.records.set(Q,kn(void 0,this)),er.has("environment")&&this.records.set(ds,kn(void 0,this));const Fr=this.records.get(Ui);null!=Fr&&"string"==typeof Fr.value&&this.scopes.add(Fr.value),this.injectorDefTypes=new Set(this.get(st,Jt,{self:!0}))}retrieve(At,mn){const Fi=wn(mn)||0;try{return this.get(At,ft,Fi)}catch(er){if(M(er))return er;throw er}}destroy(){xt(this),this._destroyed=!0;const At=(0,k.Ht)(null);try{for(const Fi of this._ngOnDestroyHooks)Fi.ngOnDestroy();const mn=this._onDestroyHooks;this._onDestroyHooks=[];for(const Fi of mn)Fi()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,k.Ht)(At)}}onDestroy(At){return xt(this),this._onDestroyHooks.push(At),()=>this.removeOnDestroy(At)}runInContext(At){xt(this);const mn=h(this),Fi=Rn(void 0);try{return At()}finally{h(mn),Rn(Fi)}}get(At,mn=ft,Fi){if(xt(this),At.hasOwnProperty(fe))return At[fe](this);const er=wn(Fi),vo=h(this),Bo=Rn(void 0);try{if(!(4&er)){let Ro=this.records.get(At);if(void 0===Ro){const Ja=function Hi(le){return"function"==typeof le||"object"==typeof le&&"InjectionToken"===le.ngMetadataName}(At)&&ti(At);Ro=Ja&&this.injectableDefInScope(Ja)?kn(Zo(At),Rr):null,this.records.set(At,Ro)}if(null!=Ro)return this.hydrate(At,Ro,er)}return(2&er?ls():this.parent).get(At,mn=8&er&&mn===ft?null:mn)}catch(Va){const Ro=function ke(le){return le[X]}(Va);throw-200===Ro||-201===Ro?new Ge(Ro,null):Va}finally{Rn(Bo),h(vo)}}resolveInjectorInitializers(){const At=(0,k.Ht)(null),mn=h(this),Fi=Rn(void 0);try{const Fr=this.get(Ri,Jt,{self:!0});for(const vo of Fr)vo()}finally{h(mn),Rn(Fi),(0,k.Ht)(At)}}toString(){const At=[],mn=this.records;for(const Fi of mn.keys())At.push(Je(Fi));return`R3Injector[${At.join(", ")}]`}processProvider(At){let mn=Vn(At=de(At))?At:de(At&&At.provide);const Fi=function kl(le){return Es(le)?kn(void 0,le.useValue):kn(Ct(le),Rr)}(At);if(!Vn(At)&&!0===At.multi){let er=this.records.get(mn);er||(er=kn(void 0,Rr,!0),er.factory=()=>Di(er.multi),this.records.set(mn,er)),mn=At,er.multi.push(At)}this.records.set(mn,Fi)}hydrate(At,mn,Fi){const er=(0,k.Ht)(null);try{if(mn.value===fs)throw On(Je(At));return mn.value===Rr&&(mn.value=fs,mn.value=mn.factory(void 0,Fi)),"object"==typeof mn.value&&mn.value&&function fi(le){return null!==le&&"object"==typeof le&&"function"==typeof le.ngOnDestroy}(mn.value)&&this._ngOnDestroyHooks.add(mn.value),mn.value}finally{(0,k.Ht)(er)}}injectableDefInScope(At){if(!At.providedIn)return!1;const mn=de(At.providedIn);return"string"==typeof mn?"any"===mn||this.scopes.has(mn):this.injectorDefTypes.has(mn)}removeOnDestroy(At){const mn=this._onDestroyHooks.indexOf(At);-1!==mn&&this._onDestroyHooks.splice(mn,1)}}function Zo(le){const At=ti(le),mn=null!==At?At.factory:_r(le);if(null!==mn)return mn;if(le instanceof Yn)throw new Ge(204,!1);if(le instanceof Function)return function As(le){if(le.length>0)throw new Ge(204,!1);const mn=function Bn(le){return(le?.[dn]??null)||null}(le);return null!==mn?()=>mn.factory(le):()=>new le}(le);throw new Ge(204,!1)}function Ct(le,At,mn){let Fi;if(Vn(le)){const er=de(le);return _r(er)||Zo(er)}if(Es(le))Fi=()=>de(le.useValue);else if(function Fn(le){return!(!le||!le.useFactory)}(le))Fi=()=>le.useFactory(...Di(le.deps||[]));else if(function Mn(le){return!(!le||!le.useExisting)}(le))Fi=(er,Fr)=>Gi(de(le.useExisting),void 0!==Fr&&8&Fr?8:void 0);else{const er=de(le&&(le.useClass||le.provide));if(!function Hn(le){return!!le.deps}(le))return _r(er)||Zo(er);Fi=()=>new er(...Di(le.deps))}return Fi}function xt(le){if(le.destroyed)throw new Ge(205,!1)}function kn(le,At,mn=!1){return{factory:le,value:At,multi:mn?[]:void 0}}function ur(le,At){for(const mn of le)Array.isArray(mn)?ur(mn,At):mn&&Ae(mn)?ur(mn.\u0275providers,At):At(mn)}function Lr(le,At){let mn;le instanceof Jo?(xt(le),mn=le):mn=new xn(le);const er=h(mn),Fr=Rn(void 0);try{return At()}finally{h(er),Rn(Fr)}}function Or(){return void 0!==et()||null!=s()}function is(le){if(!Or())throw new Ge(-203,!1)}const Gr=0,lo=1,ms=2,Gs=3,No=4,Do=5,Oo=6,qo=7,Js=8,ko=9,Uo=10,no=11,la=12,Ka=13,Qa=14,cs=15,ll=16,wo=17,wl=18,Us=19,Ps=20,ba=21,ea=22,Os=23,pl=24,Sa=25,Fo=26,ca=27,Mo=6,pa=7,xa=8,Kr=9,_l=10;function el(le){return Array.isArray(le)&&"object"==typeof le[1]}function tl(le){return Array.isArray(le)&&!0===le[1]}function tt(le){return!!(4&le.flags)}function Et(le){return le.componentOffset>-1}function pe(le){return!(1&~le.flags)}function Gt(le){return!!le.template}function Ln(le){return!!(512&le[ms])}function _o(le){return!(256&~le[ms])}function Yo(le,At){Ha(le,At[lo])}function Da(le,At){const mn=At+ca;Ze(le,mn),qt(mn,le[lo].bindingStartIndex,"TNodes should be created before any bindings")}function Ha(le,At){ja(le);const mn=At.data;for(let Fi=ca;Fi<mn.length;Fi++)if(mn[Fi]===le)return;ie("This TNode does not belong to this TView.")}function ja(le){Ie(le,"TNode must be defined"),le&&"object"==typeof le&&le.hasOwnProperty("directiveStylingLast")||ie("Not of type TNode, got: "+le)}function Ya(le){Ie(le,"Expected TIcu to be defined"),"number"!=typeof le.currentCaseLViewIndex&&ie("Object is not of TIcu type.")}function cl(le,At="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){Yr(le)||ie(At)}function Ra(le,At="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){bn(le)||ie(At)}function gi(le){Ie(le,"currentTNode should exist!"),Ie(le.parent,"currentTNode should have a parent")}function gr(le){Ie(le,"LContainer must be defined"),Ut(tl(le),!0,"Expecting LContainer")}function En(le){Ie(le,"LView must be defined"),Ut(el(le),!0,"Expecting LView")}function oi(le,At){Ut(le.firstCreatePass,!0,At||"Should only be called in first create pass.")}function yr(le,At){Ut(le.firstUpdatePass,!0,"Should only be called in first update pass.")}function Xr(le){(void 0===le.type||null==le.selectors||void 0===le.inputs)&&ie("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function ho(le,At){nr(ca,le.bindingStartIndex,At)}function ri(le,At){nr(le[1].expandoStartIndex,le.length,At)}function nr(le,At,mn){le<=mn&&mn<At||ie(`Index out of range (expecting ${le} <= ${mn} < ${At})`)}function Pi(le,At){Ie(le[cs],"Component views should exist."),Ie(le[cs][Do].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Nr(le,At){Ie(le,"Component views should always have a parent view (component's host view)")}function Bs(le,At){ri(le,At),ri(le,At+8),he(le[At+0],"injectorIndex should point to a bloom filter"),he(le[At+1],"injectorIndex should point to a bloom filter"),he(le[At+2],"injectorIndex should point to a bloom filter"),he(le[At+3],"injectorIndex should point to a bloom filter"),he(le[At+4],"injectorIndex should point to a bloom filter"),he(le[At+5],"injectorIndex should point to a bloom filter"),he(le[At+6],"injectorIndex should point to a bloom filter"),he(le[At+7],"injectorIndex should point to a bloom filter"),he(le[At+8],"injectorIndex should point to parent injector")}const Qs="svg",qs="math";function eo(le){for(;Array.isArray(le);)le=le[Gr];return le}function dc(le){for(;Array.isArray(le);){if("object"==typeof le[1])return le;le=le[Gr]}return null}function Cc(le,At){return eo(At[le])}function nl(le,At){return eo(At[le.index])}function Sl(le,At){const mn=null===le?-1:le.index;return-1!==mn?eo(At[mn]):null}function uc(le,At){return le.data[At]}function il(le,At){return le[At]}function da(le,At,mn,Fi){mn>=le.data.length&&(le.data[mn]=null,le.blueprint[mn]=null),At[mn]=Fi}function hc(le,At){const mn=At[le];return el(mn)?mn:mn[Gr]}function ps(le){return!(4&~le[ms])}function wa(le){return!(128&~le[ms])}function fc(le){return tl(le[Gs])}function gl(le,At){return null==At?null:le[At]}function dl(le){le[wo]=0}function mc(le){1024&le[ms]||(le[ms]|=1024,wa(le)&&Fa(le))}function Ac(le,At){for(;le>0;)At=At[Qa],le--;return At}function Ws(le){return!!(9216&le[ms]||le[pl]?.dirty)}function go(le){le[Uo].changeDetectionScheduler?.notify(8),64&le[ms]&&(le[ms]|=1024),Ws(le)&&Fa(le)}function Fa(le){le[Uo].changeDetectionScheduler?.notify(0);let At=kc(le);for(;null!==At&&!(8192&At[ms])&&(At[ms]|=8192,wa(At));)At=kc(At)}function Ll(le,At){if(_o(le))throw new Ge(911,!1);null===le[ba]&&(le[ba]=[]),le[ba].push(At)}function Go(le,At){if(null===le[ba])return;const mn=le[ba].indexOf(At);-1!==mn&&le[ba].splice(mn,1)}function kc(le){const At=le[Gs];return tl(At)?At[Gs]:At}function vl(le){return le[qo]??=[]}function Tl(le){return le.cleanup??=[]}function Nl(le,At,mn,Fi){const er=vl(At);er.push(mn),le.firstCreatePass&&Tl(le).push(Fi,er.length-1)}const vs={lFrame:zd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ha=function(le){return le[le.Off=0]="Off",le[le.Exhaustive=1]="Exhaustive",le[le.OnlyDirtyViews=2]="OnlyDirtyViews",le}(ha||{});let Pa=0,ld=!1;function $c(){return vs.lFrame.elementDepthCount}function cd(){vs.lFrame.elementDepthCount++}function Sc(){vs.lFrame.elementDepthCount--}function rc(){return vs.bindingsEnabled}function dd(){return null!==vs.skipHydrationRootTNode}function xl(le){return vs.skipHydrationRootTNode===le}function $l(){vs.bindingsEnabled=!0}function Fl(){vs.bindingsEnabled=!1}function zo(){vs.skipHydrationRootTNode=null}function ne(){return vs.lFrame.lView}function Oe(){return vs.lFrame.tView}function me(le){return vs.lFrame.contextLView=le,le[Js]}function Re(le){return vs.lFrame.contextLView=null,le}function Rt(){let le=Xt();for(;null!==le&&64===le.type;)le=le.parent;return le}function Xt(){return vs.lFrame.currentTNode}function Cn(){const le=vs.lFrame,At=le.currentTNode;return le.isParent?At:At.parent}function mi(le,At){const mn=vs.lFrame;mn.currentTNode=le,mn.isParent=At}function Zi(){return vs.lFrame.isParent}function Ar(){vs.lFrame.isParent=!1}function Ur(){return vs.lFrame.contextLView}function _a(){return ie("Must never be called in production mode"),Pa!==ha.Off}function Ta(){return ie("Must never be called in production mode"),Pa===ha.Exhaustive}function Oa(le){ie("Must never be called in production mode"),Pa=le}function pr(){return ld}function io(le){const At=ld;return ld=le,At}function So(){const le=vs.lFrame;let At=le.bindingRootIndex;return-1===At&&(At=le.bindingRootIndex=le.tView.bindingStartIndex),At}function Bl(){return vs.lFrame.bindingIndex}function xc(le){return vs.lFrame.bindingIndex=le}function ao(){return vs.lFrame.bindingIndex++}function Rc(le){const At=vs.lFrame,mn=At.bindingIndex;return At.bindingIndex=At.bindingIndex+le,mn}function rn(){return vs.lFrame.inI18n}function Pc(le){vs.lFrame.inI18n=le}function ga(le,At){const mn=vs.lFrame;mn.bindingIndex=mn.bindingRootIndex=le,ro(At)}function Ba(){return vs.lFrame.currentDirectiveIndex}function ro(le){vs.lFrame.currentDirectiveIndex=le}function Kl(le){const At=vs.lFrame.currentDirectiveIndex;return-1===At?null:le[At]}function Ml(){return vs.lFrame.currentQueryIndex}function rl(le){vs.lFrame.currentQueryIndex=le}function Ql(le){const At=le[lo];return 2===At.type?At.declTNode:1===At.type?le[Do]:null}function mh(le,At,mn){if(4&mn){let er=At,Fr=le;for(;!(er=er.parent,null!==er||1&mn||(er=Ql(Fr),null===er||(Fr=Fr[Qa],10&er.type))););if(null===er)return!1;At=er,le=Fr}const Fi=vs.lFrame=Hs();return Fi.currentTNode=At,Fi.lView=le,!0}function cu(le){const At=Hs(),mn=le[lo];vs.lFrame=At,At.currentTNode=mn.firstChild,At.lView=le,At.tView=mn,At.contextLView=le,At.bindingIndex=mn.bindingStartIndex,At.inI18n=!1}function Hs(){const le=vs.lFrame,At=null===le?null:le.child;return null===At?zd(le):At}function zd(le){const At={currentTNode:null,isParent:!0,lView:null,tView:null,
1selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:le,child:null,inI18n:!1};return null!==le&&(le.child=At),At}function ud(){const le=vs.lFrame;return vs.lFrame=le.parent,le.currentTNode=null,le.lView=null,le}const Xl=ud;function Ld(){const le=ud();le.isParent=!0,le.tView=null,le.selectedIndex=-1,le.contextLView=null,le.elementDepthCount=0,le.currentDirectiveIndex=-1,le.currentNamespace=null,le.bindingRootIndex=-1,le.bindingIndex=-1,le.currentQueryIndex=0}function $d(le){return(vs.lFrame.contextLView=Ac(le,vs.lFrame.contextLView))[Js]}function Gc(){return vs.lFrame.selectedIndex}function Id(le){vs.lFrame.selectedIndex=le}function Jl(){const le=vs.lFrame;return uc(le.tView,le.selectedIndex)}function yl(){vs.lFrame.currentNamespace=Qs}function Oc(){vs.lFrame.currentNamespace=qs}function Ls(){!function Vl(){vs.lFrame.currentNamespace=null}()}function Kt(){return vs.lFrame.currentNamespace}let ht=!0;function jt(){return ht}function en(le){ht=le}function Nn(le,At=null,mn=null,Fi){const er=Si(le,At,mn,Fi);return er.resolveInjectorInitializers(),er}function Si(le,At=null,mn=null,Fi,er=new Set){const Fr=[mn||Jt,An(le)];return Fi=Fi||("object"==typeof le?void 0:Je(le)),new Jo(Fr,At||ls(),Fi||null,er)}class vr{static THROW_IF_NOT_FOUND=ft;static NULL=new ot;static create(At,mn){if(Array.isArray(At))return Nn({name:""},mn,At,"");{const Fi=At.name??"";return Nn({name:Fi},At.parent,At.providers,Fi)}}static \u0275prov=Me({token:vr,providedIn:"any",factory:()=>Gi(Q)});static __NG_ELEMENT_ID__=-1}const or=new Yn("");let xr=(()=>class le{static __NG_ELEMENT_ID__=co;static __NG_ENV_ID__=mn=>mn})();class rs extends xr{_lView;constructor(At){super(),this._lView=At}get destroyed(){return _o(this._lView)}onDestroy(At){const mn=this._lView;return Ll(mn,At),()=>Go(mn,At)}}function co(){return new rs(ne())}class Ss{_console=console;handleError(At){this._console.error("ERROR",At)}}const ta=new Yn("",{providedIn:"root",factory:()=>{const le=$t(ds);let At;return mn=>{le.destroyed&&!At?setTimeout(()=>{throw mn}):(At??=le.get(Ss),At.handleError(mn))}}}),Ma={provide:Ri,useValue:()=>{$t(Ss)},multi:!0};function xo(le){return"function"==typeof le&&void 0!==le[k.bh]}function jo(le,At){const[mn,Fi,er]=(0,k.n5)(le,At?.equal),Fr=mn;return Fr.set=Fi,Fr.update=er,Fr.asReadonly=ul.bind(Fr),Fr}function ul(){const le=this[k.bh];if(void 0===le.readonlyFn){const At=()=>this();At[k.bh]=le,le.readonlyFn=At}return le.readonlyFn}function pc(le){return xo(le)&&"function"==typeof le.set}function Ia(le,At){if(null!==(0,k.nR)())throw new Ge(-602,!1)}let Ul=(()=>class le{view;node;constructor(mn,Fi){this.view=mn,this.node=Fi}static __NG_ELEMENT_ID__=hl})();function hl(){return new Ul(ne(),Rt())}class Xa{}const Gd=new Yn("",{providedIn:"root",factory:()=>!1}),_c=new Yn("",{providedIn:"root",factory:()=>!1}),gc=new Yn(""),Ca=new Yn("");let uo=(()=>{class le{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new H.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new B.c(mn=>{mn.next(!1),mn.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const mn=this.taskId++;return this.pendingTasks.add(mn),mn}has(mn){return this.pendingTasks.has(mn)}remove(mn){this.pendingTasks.delete(mn),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=Me({token:le,providedIn:"root",factory:()=>new le})}return le})(),Kc=(()=>{class le{internalPendingTasks=$t(uo);scheduler=$t(Xa);errorHandler=$t(ta);add(){const mn=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(mn)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(mn))}}run(mn){const Fi=this.add();mn().catch(this.errorHandler).finally(Fi)}static \u0275prov=Me({token:le,providedIn:"root",factory:()=>new le})}return le})();function wu(...le){}let vc=(()=>{class le{static \u0275prov=Me({token:le,providedIn:"root",factory:()=>new Tu})}return le})();class Tu{dirtyEffectCount=0;queues=new Map;add(At){this.enqueue(At),this.schedule(At)}schedule(At){At.dirty&&this.dirtyEffectCount++}remove(At){const Fi=this.queues.get(At.zone);Fi.has(At)&&(Fi.delete(At),At.dirty&&this.dirtyEffectCount--)}enqueue(At){const mn=At.zone;this.queues.has(mn)||this.queues.set(mn,new Set);const Fi=this.queues.get(mn);Fi.has(At)||Fi.add(At)}flush(){for(;this.dirtyEffectCount>0;){let At=!1;for(const[mn,Fi]of this.queues)At||=null===mn?this.flushQueue(Fi):mn.run(()=>this.flushQueue(Fi));At||(this.dirtyEffectCount=0)}}flushQueue(At){let mn=!1;for(const Fi of At)Fi.dirty&&(this.dirtyEffectCount--,mn=!0,Fi.run());return mn}}},9079(tn,Ye,d){"use strict";d.d(Ye,{YV:()=>lt,pQ:()=>Le});var Qe=d(1985),Xe=d(6977),ze=d(2615);function Le(de){de||(de=(0,ze.WQX)(ze.abz));const ae=new Qe.c(he=>{if(!de.destroyed)return de.onDestroy(he.next.bind(he));he.next()});return he=>he.pipe((0,Xe.Q)(ae))}function lt(de){void 0===de&&(de=(0,ze.WQX)(ze.zZn));const ae=de.get(ze.u5s);return he=>new Qe.c(Ne=>{const ve=ae.add();let at=!1;function Ut(){at||(ve(),at=!0)}const nt=he.subscribe({next:cn=>{Ne.next(cn),Ut()},complete:()=>{Ne.complete(),Ut()},error:cn=>{Ne.error(cn),Ut()}});return nt.add(()=>{Ne.unsubscribe(),Ut()}),nt})}},8440(tn,Ye,d){"use strict";d.d(Ye,{Ag:()=>ve,Bg:()=>ze,EF:()=>Ut,H8:()=>he,Ht:()=>T,JC:()=>He,KE:()=>k,KO:()=>Te,KZ:()=>Ne,Ny:()=>at,TO:()=>Xe,Wu:()=>ge,XR:()=>Je,a7:()=>q,bh:()=>v,j2:()=>ie,mC:()=>je,mK:()=>x,n5:()=>yt,nR:()=>M,pL:()=>B,s0:()=>Ze,si:()=>kt});let o=null,s=!1,h=1;const v=Symbol("SIGNAL");function T(Ot){const Me=o;return o=Ot,Me}function M(){return o}function k(){return s}const B={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function x(Ot){if(s)throw new Error("");
1if(null===o)return;o.consumerOnSignalRead(Ot);const Me=o.producersTail;if(void 0!==Me&&Me.producer===Ot)return;let It;const Zt=o.recomputing;if(Zt&&(It=void 0!==Me?Me.nextProducer:o.producers,void 0!==It&&It.producer===Ot))return o.producersTail=It,void(It.lastReadVersion=Ot.version);const ti=Ot.consumersTail;if(void 0!==ti&&ti.consumer===o&&(!Zt||function ae(Ot,Me){const It=Me.producersTail;if(void 0!==It){let Zt=Me.producers;do{if(Zt===Ot)return!0;if(Zt===It)break;Zt=Zt.nextProducer}while(void 0!==Zt)}return!1}(ti,o)))return;const Wn=lt(o),mr={producer:Ot,consumer:o,nextProducer:It,prevConsumer:ti,lastReadVersion:Ot.version,nextConsumer:void 0};o.producersTail=mr,void 0!==Me?Me.nextProducer=mr:o.producers=mr,Wn&&Ke(Ot,mr)}function He(Ot){if((!lt(Ot)||Ot.dirty)&&(Ot.dirty||Ot.lastCleanEpoch!==h)){if(!Ot.producerMustRecompute(Ot)&&!kt(Ot))return void Xe(Ot);Ot.producerRecomputeValue(Ot),Xe(Ot)}}function Mt(Ot){if(void 0===Ot.consumers)return;const Me=s;s=!0;try{for(let It=Ot.consumers;void 0!==It;It=It.nextConsumer){const Zt=It.consumer;Zt.dirty||Qe(Zt)}}finally{s=Me}}function Ge(){return!1!==o?.consumerAllowSignalWrites}function Qe(Ot){Ot.dirty=!0,Mt(Ot),Ot.consumerMarkedDirty?.(Ot)}function Xe(Ot){Ot.dirty=!1,Ot.lastCleanEpoch=h}function ze(Ot){return Ot&&function Le(Ot){Ot.producersTail=void 0,Ot.recomputing=!0}(Ot),T(Ot)}function ge(Ot,Me){T(Me),Ot&&function ue(Ot){Ot.recomputing=!1;const Me=Ot.producersTail;let It=void 0!==Me?Me.nextProducer:Ot.producers;if(void 0!==It){if(lt(Ot))do{It=$e(It)}while(void 0!==It);void 0!==Me?Me.nextProducer=void 0:Ot.producers=void 0}}(Ot)}function kt(Ot){for(let Me=Ot.producers;void 0!==Me;Me=Me.nextProducer){const It=Me.producer,Zt=Me.lastReadVersion;if(Zt!==It.version||(He(It),Zt!==It.version))return!0}return!1}function Je(Ot){if(lt(Ot)){let Me=Ot.producers;for(;void 0!==Me;)Me=$e(Me)}Ot.producers=void 0,Ot.producersTail=void 0,Ot.consumers=void 0,Ot.consumersTail=void 0}function Ke(Ot,Me){const It=Ot.consumersTail,Zt=lt(Ot);if(void 0!==It?(Me.nextConsumer=It.nextConsumer,It.nextConsumer=Me):(Me.nextConsumer=void 0,Ot.consumers=Me),Me.prevConsumer=It,Ot.consumersTail=Me,!Zt)for(let ti=Ot.producers;void 0!==ti;ti=ti.nextProducer)Ke(ti.producer,ti)}function $e(Ot){const Me=Ot.producer,It=Ot.nextProducer,Zt=Ot.nextConsumer,ti=Ot.prevConsumer;if(Ot.nextConsumer=void 0,Ot.prevConsumer=void 0,void 0!==Zt?Zt.prevConsumer=ti:Me.consumersTail=ti,void 0!==ti)ti.nextConsumer=Zt;else if(Me.consumers=Zt,!lt(Me)){let Wn=Me.producers;for(;void 0!==Wn;)Wn=$e(Wn)}return It}function lt(Ot){return Ot.consumerIsAlwaysLive||void 0!==Ot.consumers}function q(Ot){}function he(Ot,Me){return Object.is(Ot,Me)}function Ne(Ot,Me){const It=Object.create(nt);It.computation=Ot,void 0!==Me&&(It.equal=Me);const Zt=()=>{if(He(It),x(It),It.value===Ut)throw It.error;return It.value};return Zt[v]=It,Zt}const ve=Symbol("UNSET"),at=Symbol("COMPUTING"),Ut=Symbol("ERRORED"),nt={...B,value:ve,dirty:!0,error:null,equal:he,kind:"computed",producerMustRecompute:Ot=>Ot.value===ve||Ot.value===at,producerRecomputeValue(Ot){if(Ot.value===at)throw new Error("");const Me=Ot.value;Ot.value=at;const It=ze(Ot);let Zt,ti=!1;try{Zt=Ot.computation(),T(null),ti=Me!==ve&&Me!==Ut&&Zt!==Ut&&Ot.equal(Me,Zt)}catch(Wn){Zt=Ut,Ot.error=Wn}finally{ge(Ot,It)}ti?Ot.value=Me:(Ot.value=Zt,Ot.version++)}};let hn=function cn(){throw new Error};function qt(Ot){hn(Ot)}function Te(Ot){hn=Ot}function yt(Ot,Me){const It=Object.create(Ze);It.value=Ot,void 0!==Me&&(It.equal=Me);const Zt=()=>function Ie(Ot){return x(Ot),Ot.value}(It);return Zt[v]=It,[Zt,mr=>ie(It,mr),mr=>je(It,mr)]}function ie(Ot,Me){Ge()||qt(Ot),Ot.equal(Ot.value,Me)||(Ot.value=Me,function We(Ot){Ot.version++,function ye(){h++}(),Mt(Ot)}(Ot))}function je(Ot,Me){Ge()||qt(Ot),ie(Ot,Me(Ot.value))}const Ze={...B,equal:he,value:void 0,kind:"signal"}},6601(tn,Ye,d){"use strict";d.d(Ye,{kR:()=>_i});var o=d(5407),T=(d(2615),d(3664),d(7440),d(7037),d(467)),M=d(1631),k=d(8779),H=d(1871),B=d(5398);const ge=new Map,ue={activated:!1,tokenObservers:[]},kt={initialized:!1,enabled:!1};function Je(Mn){return ge.get(Mn)||Object.assign({},ue)}function $e(){return kt}class ve{constructor(Fn,Vn,Ii,Ui,Rr){if(this.operation=Fn,this.retryPolicy=Vn,this.getWaitDuration=Ii,this.lowerBound=Ui,this.upperBound=Rr,this.pending=null,this.nextErrorWaitInterval=Ui,Ui>Rr)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(Fn){var Vn=this;return(0,T.A)(function*(){Vn.stop();try{Vn.pending=new H.cY,Vn.pending.promise.catch(Ii=>{}),yield function at(Mn){return new Promise(Fn=>{setTimeout(Fn,Mn)})}(Vn.getNextRun(Fn)),Vn.pending.resolve(),yield Vn.pending.promise,Vn.pending=new H.cY,Vn.pending.promise.catch(Ii=>{}),yield Vn.operation(),Vn.pending.resolve(),yield Vn.pending.promise,Vn.process(!0).catch(()=>{})}catch(Ii){Vn.retryPolicy(Ii)?Vn.process(!1).catch(()=>{}):Vn.stop()}})()}getNextRun(Fn){if(Fn)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{const Vn=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),Vn}}}const nt=new H.FA("appCheck","AppCheck",{"already-initialized":"You have already called
1initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"});function hn(Mn){if(!Je(Mn).activated)throw nt.create("use-before-activation",{appName:Mn.name})}function Pe(Mn,Fn){return yt.apply(this,arguments)}function yt(){return(yt=(0,T.A)(function*({url:Mn,body:Fn},Vn){const Ii={"Content-Type":"application/json"},Ui=Vn.getImmediate({optional:!0});if(Ui){const Zo=yield Ui.getHeartbeatsHeader();Zo&&(Ii["X-Firebase-Client"]=Zo)}const Rr={method:"POST",body:JSON.stringify(Fn),headers:Ii};let fs,Rs;try{fs=yield fetch(Mn,Rr)}catch(Zo){throw nt.create("fetch-network-error",{originalErrorMessage:Zo?.message})}if(200!==fs.status)throw nt.create("fetch-status-error",{httpStatus:fs.status});try{Rs=yield fs.json()}catch(Zo){throw nt.create("fetch-parse-error",{originalErrorMessage:Zo?.message})}const ls=Rs.ttl.match(/^([\d.]+)(s)$/);if(!ls||!ls[2]||isNaN(Number(ls[1])))throw nt.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${Rs.ttl}`});const ds=1e3*Number(ls[1]),Jo=Date.now();return{token:Rs.token,expireTimeMillis:Jo+ds,issuedAtTimeMillis:Jo}})).apply(this,arguments)}function ie(Mn,Fn){const{projectId:Vn,appId:Ii,apiKey:Ui}=Mn.options;return{url:`https://content-firebaseappcheck.googleapis.com/v1/projects/${Vn}/apps/${Ii}:exchangeDebugToken?key=${Ui}`,body:{debug_token:Fn}}}const Ze="firebase-app-check-store";let Ot=null;function mr(Mn,Fn){return Bn.apply(this,arguments)}function Bn(){return(Bn=(0,T.A)(function*(Mn,Fn){const Ii=(yield function Me(){return Ot||(Ot=new Promise((Mn,Fn)=>{try{const Vn=indexedDB.open("firebase-app-check-database",1);Vn.onsuccess=Ii=>{Mn(Ii.target.result)},Vn.onerror=Ii=>{var Ui;Fn(nt.create("storage-open",{originalErrorMessage:null===(Ui=Ii.target.error)||void 0===Ui?void 0:Ui.message}))},Vn.onupgradeneeded=Ii=>{0===Ii.oldVersion&&Ii.target.result.createObjectStore(Ze,{keyPath:"compositeKey"})}}catch(Vn){Fn(nt.create("storage-open",{originalErrorMessage:Vn?.message}))}}),Ot)}()).transaction(Ze,"readwrite"),Rr=Ii.objectStore(Ze).put({compositeKey:Mn,value:Fn});return new Promise((fs,Rs)=>{Rr.onsuccess=ls=>{fs()},Ii.onerror=ls=>{var ds;Rs(nt.create("storage-set",{originalErrorMessage:null===(ds=ls.target.error)||void 0===ds?void 0:ds.message}))}})})).apply(this,arguments)}const Yn=new B.Vy("@firebase/app-check");function di(Mn,Fn){return(0,H.zW)()?function Zt(Mn,Fn){return mr(function Tn(Mn){return`${Mn.options.appId}-${Mn.name}`}(Mn),Fn)}(Mn,Fn).catch(Vn=>{Yn.warn(`Failed to write token to IndexedDB. Error: ${Vn}`)}):Promise.resolve()}function Vi(){return $e().enabled}function ii(){return rr.apply(this,arguments)}function rr(){return(rr=(0,T.A)(function*(){const Mn=$e();if(Mn.enabled&&Mn.token)return Mn.token.promise;throw Error("\n Can't get debug token in production mode.\n ")})).apply(this,arguments)}const ci={error:"UNKNOWN_ERROR"};function Un(Mn){return H.K3.encodeString(JSON.stringify(Mn),!1)}function fr(Mn){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,T.A)(function*(Mn,Fn=!1,Vn=!1){const Ii=Mn.app;hn(Ii);const Ui=Je(Ii);let fs,Rr=Ui.token;if(Rr&&!Tt(Rr)&&(Ui.token=void 0,Rr=void 0),!Rr){const ds=yield Ui.cachedTokenPromise;ds&&(Tt(ds)?Rr=ds:yield di(Ii,void 0))}if(!Fn&&Rr&&Tt(Rr))return{token:Rr.token};let ls,Rs=!1;if(Vi())try{Ui.exchangeTokenPromise||(Ui.exchangeTokenPromise=Pe(ie(Ii,yield ii()),Mn.heartbeatServiceProvider).finally(()=>{Ui.exchangeTokenPromise=void 0}),Rs=!0);const ds=yield Ui.exchangeTokenPromise;return yield di(Ii,ds),Ui.token=ds,{token:ds.token}}catch(ds){return"appCheck/throttled"===ds.code||"appCheck/initial-throttle"===ds.code?Yn.warn(ds.message):Vn&&Yn.error(ds),fe(ds)}try{Ui.exchangeTokenPromise||(Ui.exchangeTokenPromise=Ui.provider.getToken().finally(()=>{Ui.exchangeTokenPromise=void 0}
1),Rs=!0),Rr=yield Je(Ii).exchangeTokenPromise}catch(ds){"appCheck/throttled"===ds.code||"appCheck/initial-throttle"===ds.code?Yn.warn(ds.message):Vn&&Yn.error(ds),fs=ds}return Rr?fs?ls=Tt(Rr)?{token:Rr.token,internalError:fs}:fe(fs):(ls={token:Rr.token},Ui.token=Rr,yield di(Ii,Rr)):ls=fe(fs),Rs&&function Ue(Mn,Fn){const Vn=Je(Mn).tokenObservers;for(const Ii of Vn)try{"EXTERNAL"===Ii.type&&null!=Fn.error?Ii.error(Fn.error):Ii.next(Fn)}catch{}}(Ii,ls),ls})).apply(this,arguments)}function un(Mn){return Ae.apply(this,arguments)}function Ae(){return(Ae=(0,T.A)(function*(Mn){const Fn=Mn.app;hn(Fn);const{provider:Vn}=Je(Fn);if(Vi()){const Ii=yield ii(),{token:Ui}=yield Pe(ie(Fn,Ii),Mn.heartbeatServiceProvider);return{token:Ui}}{const{token:Ii}=yield Vn.getToken();return{token:Ii}}})).apply(this,arguments)}function z(Mn,Fn){const Vn=Je(Mn),Ii=Vn.tokenObservers.filter(Ui=>Ui.next!==Fn);0===Ii.length&&Vn.tokenRefresher&&Vn.tokenRefresher.isRunning()&&Vn.tokenRefresher.stop(),Vn.tokenObservers=Ii}function Ee(Mn){const{app:Fn}=Mn,Vn=Je(Fn);let Ii=Vn.tokenRefresher;Ii||(Ii=function Ce(Mn){const{app:Fn}=Mn;return new ve((0,T.A)(function*(){let Ii;if(Ii=Je(Fn).token?yield fr(Mn,!0):yield fr(Mn),Ii.error)throw Ii.error;if(Ii.internalError)throw Ii.internalError}),()=>!0,()=>{const Vn=Je(Fn);if(Vn.token){let Ii=Vn.token.issuedAtTimeMillis+.5*(Vn.token.expireTimeMillis-Vn.token.issuedAtTimeMillis)+3e5;return Ii=Math.min(Ii,Vn.token.expireTimeMillis-3e5),Math.max(0,Ii-Date.now())}return 0},3e4,96e4)}(Mn),Vn.tokenRefresher=Ii),!Ii.isRunning()&&Vn.isTokenAutoRefreshEnabled&&Ii.start()}function Tt(Mn){return Mn.expireTimeMillis-Date.now()>0}function fe(Mn){return{token:Un(ci),error:Mn}}class we{constructor(Fn,Vn){this.app=Fn,this.heartbeatServiceProvider=Vn}_delete(){const{tokenObservers:Fn}=Je(this.app);for(const Vn of Fn)z(this.app,Vn.next);return Promise.resolve()}}const $t="app-check-internal";!function wn(){(0,M._registerComponent)(new k.uA("app-check",Mn=>function _e(Mn,Fn){return new we(Mn,Fn)}(Mn.getProvider("app").getImmediate(),Mn.getProvider("heartbeat")),"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((Mn,Fn,Vn)=>{Mn.getProvider($t).initialize()})),(0,M._registerComponent)(new k.uA($t,Mn=>function L(Mn){return{getToken:Fn=>fr(Mn,Fn),getLimitedUseToken:()=>un(Mn),addTokenListener:Fn=>function xe(Mn,Fn,Vn,Ii){const{app:Ui}=Mn,Rr=Je(Ui);if(Rr.tokenObservers=[...Rr.tokenObservers,{next:Vn,error:Ii,type:Fn}],Rr.token&&Tt(Rr.token)){const Rs=Rr.token;Promise.resolve().then(()=>{Vn({token:Rs.token}),Ee(Mn)}).catch(()=>{})}Rr.cachedTokenPromise.then(()=>Ee(Mn))}(Mn,"INTERNAL",Fn),removeTokenListener:Fn=>z(Mn.app,Fn)}}(Mn.getProvider("app-check").getImmediate()),"PUBLIC").setInstantiationMode("EXPLICIT")),(0,M.registerVersion)("@firebase/app-check","0.10.1")}();class _i{constructor(){return(0,o.CA)("app-check")}}typeof window<"u"&&window},7440(tn,Ye,d){"use strict";d.d(Ye,{MW:()=>he,Wp:()=>Ut,XU:()=>ue,gL:()=>kt});var Xe=d(7037),ze=d(2615),Le=d(3664),ge=d(5407);class ue{constructor(Pe){return Pe}}class kt{constructor(){return(0,Xe.Dk)()}}const $e=new ze.nKC("angularfire2._apps"),lt={provide:ue,useFactory:function Ke(Te){return Te&&1===Te.length?Te[0]:new ue((0,Xe.Sx)())},deps:[[new Le.Xx1,$e]]},q={provide:kt,deps:[[new Le.Xx1,$e]]};function de(Te){return(Pe,yt)=>{const wt=yt.get(Le.Agw);(0,Xe.KO)("angularfire",ge.xv.full,"core"),(0,Xe.KO)("angularfire",ge.xv.full,"app"),(0,Xe.KO)("angular",ze.xvI.full,wt.toString());const Ie=Pe.runOutsideAngular(()=>Te(yt));return new ue(Ie)}}function he(Te,...Pe){return(0,ze.EmA)([lt,q,{provide:$e,useFactory:de(Te),multi:!0,deps:[Le.SKi,ze.zZn,ge.u0,...Pe]}])}const Ut=(0,ge.S3)(Xe.Wp,!0)},5719(tn,Ye,d){"use strict";d.d(Ye,{DS:()=>nt,$z:()=>Ne,UB:()=>at,yy:()=>ae,ZP:()=>he,AU:()=>ve,CP:()=>de,gF:()=>Ut}),d(5046);var s=d(177),h=d(2615),y=d(3664),v=d(9079),T=d(5407),M=d(6601),k=d(9253),H=d(1413),B=d(7673),x=d(1985),ye=d(8455),He=d(7786),Mt=d(941),Ge=d(5558),Qe=d(6354),Xe=d(4668),ze=d(1594),Le=d(8071);function ge(hn,qt){return(0,Le.T)(qt)?(0,Ge.n)(()=>hn,qt):(0,Ge.n)(()=>hn)}var ue=d(6745),kt=d(5964);d(762);const de=new h.nKC("angularfire2.auth.use-emulator"),ae=new h.nKC("angularfire2.auth.settings"),he=new h.nKC("angularfire2.auth.tenant-id"),Ne=new h.nKC("angularfire2.auth.langugage-code"),ve=new h.nKC("angularfire2.auth.use-device-language"),at=new h.nKC("angularfire.auth.persistence"),Ut=(hn,qt,Te,Pe,yt,wt,Ie,ie)=>(0,k.BM)(`${hn.name}.auth`,"AngularFireAuth",hn.name,()=>{const je=qt.runOutsideAngular(()=>hn.auth());if(Te&&je.useEmulator(...Te),Pe&&(je.tenantId=Pe),je.languageCode=yt,wt&&je.useDeviceLanguage(),Ie)for(const[rt,Ze]of Object.entries(Ie))je.settings[rt]=Ze;return ie&&je.setPersistence(ie),je},[Te,Pe,yt,wt,Ie,ie]);let nt=(()=>{class hn{injector=(0,h.WQX)(h.uvJ);authState;idToken;user;idTokenResult;credential;constructor(Te,Pe,yt,wt,Ie,ie,je,rt,Ze,We,Ot,Me){const It=new H.B,Zt=(0,B.of)(void 0).pipe((0,Mt.Q)(Ie.outsideAngular),(0,Ge.n)(()=>wt.runOutsideAngular(()=>Promise.resolve().then(d.bind(d,5046)))),(0,Qe.T)(()=>(0,k.iB)(Te,wt,Pe)),(0,Qe.T)(ti=>Ut(ti,wt,ie,rt,Ze,We,je,Ot)),(0,Xe.t)({bufferSize:1,refCount:!1}));if((0,s.Vy)(yt))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=(0,B.of)(null);else{Zt.pipe((0,ze.$)()).subscribe();const ti=Zt.pipe((0,Ge.n)(Bn=>Bn.getRedirectResult().then(Oi=>Oi,()=>null)),(0,v.YV)(this.injector),(0,Xe.t)({bufferSize:1,refCount:!1})),Wn=Zt.pipe((0,Ge.n)(Bn=>new x.c(Oi=>({unsubscribe:wt.runOutsideAngular(()=>Bn.onAuthStateChanged(dn=>Oi.next(dn),dn=>Oi.error(dn),()=>Oi.complete()))})))),mr=Zt.pipe((0,Ge.n)(Bn=>new x.c(Oi=>({unsubscribe:wt.runOutsideAngular(()=>Bn.onIdTokenChanged(dn=>Oi.next(dn),dn=>Oi.error(dn),()=>Oi.complete()))}))));this.authState=ti.pipe(ge(Wn),(0,ue._)(Ie.outsideAngular),(0,Mt.Q)(Ie.insideAngular)),this.user=ti.pipe(ge(mr),(0,ue._)(Ie.outsideAngular),(0,Mt.Q)(Ie.insideAngular)),this.idToken=this.user.pipe((0,Ge.n)(Bn=>Bn?(0,ye.H)(Bn.getIdToken()):(0,B.of)(null))),this.idTokenResult=this.user.pipe((0,Ge.n)(Bn=>Bn?(0,ye.H)(Bn.getIdTokenResult()):(0,B.of)(null))),this.credential=(0,He.h)(ti,It,this.authState.pipe((0,kt.p)(Bn=>!Bn))).pipe((0,Qe.T)(Bn=>Bn?.user?Bn:null),(0,ue._)(Ie.outsideAngular),(0,Mt.Q)(Ie.insideAngular))}return(0,k.Gt)(this,Zt,wt,{spy:{apply:(ti,Wn,mr)=>{(ti.startsWith("signIn")||ti.startsWith("createUser"))&&mr.then(Bn=>It.next(Bn))}}})}static \u0275fac=function(Pe){return new(Pe||hn)(h.KVO(k.rx),h.KVO(k.uP,8),h.KVO(y.Agw),h.KVO(y.SKi),h.KVO(T.u0),h.KVO(de,8),h.KVO(ae,8),h.KVO(he,8),h.KVO(Ne,8),h.KVO(ve,8),h.KVO(at,8),h.KVO(M.kR,8))};static \u0275prov=h.jDH({token:hn,factory:hn.\u0275fac,providedIn:"any"})}return hn})()},4441(tn,Ye,d){"use strict";d.d(Ye,{Zg:()=>Le,s:()=>ue}),d(4737);var v=d(2615),T=d(3664),M=d(5407),k=d(6601),H=d(9253),B=d(8455),x=d(7673),ye=d(6354),He=d(941),Mt=d(4668),Ge=d(5558);d(762);const ze=new v.nKC("angularfire2.functions.origin"),Le=new v.nKC("angularfire2.functions.region"),ge=new v.nKC("angularfire2.functions.use-emulator");let ue=(()=>{class Je{httpsCallable;constructor($e,lt,q,de,ae,he,Ne,ve){const at=Ne,Ut=(0,x.of)(void 0).pipe((0,He.Q)(de.outsideAngular),(0,Ge.n)(()=>Promise.resolve().then(d.bind(d,4737))),(0,ye.T)(()=>(0,H.iB)($e,q,lt)),(0,ye.T)(nt=>(0,H.BM)(`${nt.name}.functions.${ae||he}`,"AngularFireFunctions",nt.name,()=>{let cn;if(ae&&he)throw new Error("REGION and ORIGIN can't be used at the same time.");return cn=nt.functions(ae||he||void 0),at&&cn.useEmulator(...at),cn},[ae,he,at])),(0,Mt.t)({bufferSize:1,refCount:!1}));return this.httpsCallable=(nt,cn)=>hn=>(0,B.H)(Ut).pipe((0,He.Q)(de.insideAngular),(0,Ge.n)(qt=>qt.httpsCallable(nt,cn)(hn)),(0,ye.T)(qt=>qt.data)),(0,H.Gt)(this,Ut,q)}static \u0275fac=function(lt){return new(lt||Je)(v.KVO(H.rx),v.KVO(H.uP,8),v.KVO(T.SKi),v.KVO(M.u0),v.KVO(Le,8),v.KVO(ze,8),v.KVO(ge,8),v.KVO(k.kR,8))};static \u0275prov=v.jDH({token:Je,factory:Je.\u0275fac,providedIn:"any"})}return Je})()},9253(tn,Ye,d){"use strict";d.d(Ye,{BM:()=>Qe,Gt:()=>M,bf:()=>Ge,e7:()=>k,iB:()=>ye,rx:()=>B,uP:()=>x});var o=d(2615),s=d(3664),h=d(7705),y=d(5407),v=d(762);const T=["ngOnDestroy"],M=(ge,ue,kt,Je={})=>new Proxy(ge,{get:(Ke,$e)=>kt.runOutsideAngular(()=>{if(ge[$e])return Je?.spy?.get&&Je.spy.get($e,ge[$e]),ge[$e];if(T.indexOf($e)>-1)return()=>{};const lt=ue.toPromise().then(q=>{const de=q?.[$e];return"function"==typeof de?de.bind(q):de?.then?de.then(ae=>kt.run(()=>ae)):kt.run(()=>de)});return new Proxy(()=>{},{get:(q,de)=>lt[de],apply:(q,de,ae)=>
1lt.then(he=>{const Ne=he?.(...ae);return Je?.spy?.apply&&Je.spy.apply($e,ae,Ne),Ne})})})}),k=(ge,ue)=>{ue.forEach(kt=>{Object.getOwnPropertyNames(kt.prototype||kt).forEach(Je=>{Object.defineProperty(ge.prototype,Je,Object.getOwnPropertyDescriptor(kt.prototype||kt,Je))})})};class H{constructor(ue){return ue}}const B=new o.nKC("angularfire2.app.options"),x=new o.nKC("angularfire2.app.name");function ye(ge,ue,kt){const Ke="object"==typeof kt&&kt||{};Ke.name=Ke.name||"string"==typeof kt&&kt||"[DEFAULT]";const lt=v.A.apps.filter(q=>q&&q.name===Ke.name)[0]||ue.runOutsideAngular(()=>v.A.initializeApp(ge,Ke));try{if(JSON.stringify(ge)!==JSON.stringify(lt.options)){const q=!!module.hot;He("error",`${lt.name} Firebase App already initialized with different options${q?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new H(lt)}const He=(ge,...ue)=>{(0,h.naY)()&&typeof console<"u"&&console[ge](...ue)},Mt={provide:H,useFactory:ye,deps:[B,s.SKi,[new s.Xx1,x]]};let Ge=(()=>{class ge{static initializeApp(kt,Je){return{ngModule:ge,providers:[{provide:B,useValue:kt},{provide:x,useValue:Je}]}}constructor(kt){v.A.registerVersion("angularfire",y.xv.full,"core"),v.A.registerVersion("angularfire",y.xv.full,"app-compat"),v.A.registerVersion("angular",o.xvI.full,kt.toString())}static \u0275fac=function(Je){return new(Je||ge)(o.KVO(s.Agw))};static \u0275mod=s.$C({type:ge});static \u0275inj=o.G2t({providers:[Mt]})}return ge})();function Qe(ge,ue,kt,Je,Ke){const[,$e,lt]=globalThis.\u0275AngularfireInstanceCache.find(q=>q[0]===ge)||[];if($e)return function Xe(ge,ue){try{return ge.toString()===ue.toString()}catch{return ge===ue}}(Ke,lt)||(Le("error",`${ue} was already initialized on the ${kt} Firebase App with different settings.${ze?" You may need to reload as Firebase is not HMR aware.":""}`),Le("warn",{is:Ke,was:lt})),$e;{const q=Je();return globalThis.\u0275AngularfireInstanceCache.push([ge,q,Ke]),q}}const ze=typeof module<"u"&&!!module.hot,Le=(ge,...ue)=>{(0,h.naY)()&&typeof console<"u"&&console[ge](...ue)};globalThis.\u0275AngularfireInstanceCache||=[]},5407(tn,Ye,d){"use strict";d.d(Ye,{xv:()=>Qe,u0:()=>Ke,CA:()=>Le,lR:()=>ze,S3:()=>he});var o=d(2615),s=d(7705),h=d(3664),y=d(7037),v=d(9079),T=d(6780),k=d(9687);const B=new class H extends k.q{}(class M extends T.R{constructor(ve,at){super(ve,at),this.scheduler=ve,this.work=at}schedule(ve,at=0){return at>0?super.schedule(ve,at):(this.delay=at,this.state=ve,this.scheduler.flush(this),this)}execute(ve,at){return at>0||this.closed?super.execute(ve,at):this._execute(ve,at)}requestAsyncId(ve,at,Ut=0){return null!=Ut&&Ut>0||null==Ut&&this.delay>0?super.requestAsyncId(ve,at,Ut):(ve.flush(this),0)}});var ye=d(3236),He=d(1985),Mt=d(6745),Ge=d(941);const Qe=new o.RxE("ANGULARFIRE2_VERSION");function ze(Ne,ve,at){if(ve){if(1===ve.length)return ve[0];const cn=ve.filter(hn=>hn.app===at);if(1===cn.length)return cn[0]}return at.container.getProvider(Ne).getImmediate({optional:!0})}const Le=(Ne,ve)=>{const at=ve?[ve]:(0,y.Dk)(),Ut=[];return at.forEach(nt=>{nt.container.getProvider(Ne).instances.forEach(hn=>{Ut.includes(hn)||Ut.push(hn)})}),Ut};var ge=function(Ne){return Ne[Ne.SILENT=0]="SILENT",Ne[Ne.WARN=1]="WARN",Ne[Ne.VERBOSE=2]="VERBOSE",Ne}(ge||{}),ue=(0,s.naY)()&&typeof Zone<"u"?ge.WARN:ge.SILENT;class Je{zone;delegate;constructor(ve,at=B){this.zone=ve,this.delegate=at}now(){return this.delegate.now()}schedule(ve,at,Ut){const nt=this.zone;return this.delegate.schedule(function(hn){nt?nt.runGuarded(()=>{ve.apply(this,[hn])}):ve.apply(this,[hn])},at,Ut)}}let Ke=(()=>{class Ne{outsideAngular;insideAngular;constructor(){const at=(0,o.WQX)(h.SKi);this.outsideAngular=at.runOutsideAngular(()=>new Je(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=at.run(()=>new Je(typeof Zone>"u"?void 0:Zone.current,ye.E))}static \u0275fac=function(Ut){return new(Ut||Ne)};static \u0275prov=o.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();var $e=!1;function de(Ne){const ve=(0,o.WQX)(h.SKi,{optional:!0});return ve?ve.run(()=>Ne()):Ne()}const ae=(Ne,ve,at)=>(...Ut)=>(ve&&setTimeout(ve,0),(0,o.N4e)(at,()=>de(()=>Ne.apply(void 0,Ut)))),he=(Ne,ve,at)=>(at||=ve?ge.WARN:ge.VERBOSE,function(){let Ut;const nt=arguments;let cn,hn,qt;try{cn=(0,o.WQX)(Ke),hn=(0,o.WQX)(o.u5s),qt=(0,o.WQX)(o.uvJ)}catch{return function lt(Ne,ve){!$e&&(ue>ge.SILENT||(0,s.naY)())&&($e=!0,console.warn("Calling Firebase APIs outside of an Injection context may destabilize your application leading to subtle change-detection and hydration bugs. Find more at https://github.com/angular/angularfire/blob/main/docs/zones.md")),ue>=ve&&console.warn(`Firebase API called outside injection context: ${Ne.n
1ame}`)}(Ne,at),Ne.apply(this,nt)}for(let Pe=0;Pe<arguments.length;Pe++)"function"==typeof nt[Pe]&&(ve&&(Ut||=de(()=>hn.add())),nt[Pe]=ae(nt[Pe],Ut,qt));const Te=function q(Ne){const ve=(0,o.WQX)(h.SKi,{optional:!0});return ve?ve.runOutsideAngular(()=>Ne()):Ne()}(()=>Ne.apply(this,nt));return ve?Te instanceof He.c?Te.pipe((0,Mt._)(cn.outsideAngular),(0,Ge.Q)(cn.insideAngular),(0,v.YV)(qt)):Te instanceof Promise?de(()=>{const Pe=hn.add();return new Promise((yt,wt)=>{Te.then(Ie=>(0,o.N4e)(qt,()=>de(()=>yt(Ie))),Ie=>(0,o.N4e)(qt,()=>de(()=>wt(Ie)))).finally(Pe)})}):"function"==typeof Te&&Ut?function(){return setTimeout(Ut,0),Te.apply(this,arguments)}:de(()=>Te):Te instanceof He.c?Te.pipe((0,Mt._)(cn.outsideAngular),(0,Ge.Q)(cn.insideAngular)):de(()=>Te)})},9574(tn,Ye,d){"use strict";d.d(Ye,{A:()=>Ge});var o=d(1871),s=d(8779),h=d(1631),y=d(5398);class v{constructor(Xe,ze){this._delegate=Xe,this.firebase=ze,(0,h._addComponent)(Xe,new s.uA("app-compat",()=>this,"PUBLIC")),this.container=Xe.container}get automaticDataCollectionEnabled(){return this._delegate.automaticDataCollectionEnabled}set automaticDataCollectionEnabled(Xe){this._delegate.automaticDataCollectionEnabled=Xe}get name(){return this._delegate.name}get options(){return this._delegate.options}delete(){return new Promise(Xe=>{this._delegate.checkDestroyed(),Xe()}).then(()=>(this.firebase.INTERNAL.removeApp(this.name),(0,h.deleteApp)(this._delegate)))}_getService(Xe,ze=h._DEFAULT_ENTRY_NAME){var Le;this._delegate.checkDestroyed();const ge=this._delegate.container.getProvider(Xe);return!ge.isInitialized()&&"EXPLICIT"===(null===(Le=ge.getComponent())||void 0===Le?void 0:Le.instantiationMode)&&ge.initialize(),ge.getImmediate({identifier:ze})}_removeServiceInstance(Xe,ze=h._DEFAULT_ENTRY_NAME){this._delegate.container.getProvider(Xe).clearInstance(ze)}_addComponent(Xe){(0,h._addComponent)(this._delegate,Xe)}_addOrOverwriteComponent(Xe){(0,h._addOrOverwriteComponent)(this._delegate,Xe)}toJSON(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}}}const M=new o.FA("app-compat","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance."}),B=function H(){const Qe=function k(Qe){const Xe={},ze={__esModule:!0,initializeApp:function ue($e,lt={}){const q=h.initializeApp($e,lt);if((0,o.gR)(Xe,q.name))return Xe[q.name];const de=new Qe(q,ze);return Xe[q.name]=de,de},app:ge,registerVersion:h.registerVersion,setLogLevel:h.setLogLevel,onLog:h.onLog,apps:null,SDK_VERSION:h.SDK_VERSION,INTERNAL:{registerComponent:function Je($e){const lt=$e.name,q=lt.replace("-compat","");if(h._registerComponent($e)&&"PUBLIC"===$e.type){const de=(ae=ge())=>{if("function"!=typeof ae[q])throw M.create("invalid-app-argument",{appName:lt});return ae[q]()};void 0!==$e.serviceProps&&(0,o.zw)(de,$e.serviceProps),ze[q]=de,Qe.prototype[q]=function(...ae){return this._getService.bind(this,lt).apply(this,$e.multipleInstances?ae:[])}}return"PUBLIC"===$e.type?ze[q]:null},removeApp:function Le($e){delete Xe[$e]},useAsService:function Ke($e,lt){return"serverAuth"===lt?null:lt},modularAPIs:h}};function ge($e){if(!(0,o.gR)(Xe,$e=$e||h._DEFAULT_ENTRY_NAME))throw M.create("no-app",{appName:$e});return Xe[$e]}return ze.default=ze,Object.defineProperty(ze,"apps",{get:function kt(){return Object.keys(Xe).map($e=>Xe[$e])}}),ge.App=Qe,ze}(v);return Qe.INTERNAL=Object.assign(Object.assign({},Qe.INTERNAL),{createFirebaseNamespace:H,extendNamespace:function Xe(ze){(0,o.zw)(Qe,ze)},createSubscribe:o.tD,ErrorFactory:o.FA,deepExtend:o.zw}),Qe}(),x=new y.Vy("@firebase/app-compat");try{const Qe=(0,o.mS)();if(void 0!==Qe.firebase){x.warn("\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n ");const Xe=Qe.firebase.SDK_VERSION;Xe&&Xe.indexOf("LITE")>=0&&x.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}}catch{}const Ge=B;!function Mt(Qe){(0,h.registerVersion)("@firebase/app-compat","0.4.2",Qe)}()},1631(tn,Ye,d){"use strict";d.r(Ye),d.d(Ye,{FirebaseError:()=>y.g,SDK_VERSION:()=>Bn,_DEFAULT_ENTRY_NAME:()=>qt,_addComponent:()=>Ie,_addOrOverwriteComponent:()=>ie,_apps:()=>Pe,_clearComponents:()=>Me,_components:()=>wt,_getProvider:()=>rt,_isFirebaseApp:()=>We,_isFirebaseServerApp:()=>Ot,_registerComponent:()=>je,_removeServiceInstance:()=>Ze,_serverApps:()=>yt,deleteApp:()=>_,getApp:()=>Tn,getApps:()=>Yn,initializeApp:()=>Oi,initializeServerApp:()=>dn,onLog:()=>ai,registerVersion:()=>di,setLogLevel:()=>pi});var o=d(467),s=d(8779),h=d(5398),y=d(1871),v=d(6749);class T{constructor(j){this.container=j}getPlatformInfoString(){return this.container.getProviders().map(X=>{if(function M(L){const j=L.getComponent();return"VERSION"===j?.type}(X)){const qe=X.getImmediate();return`${qe.library}/${qe.version}`}return null}).filter(X=>X).join(" ")}}const k="@firebase/app",H="0.13.2",B=new h.Vy("@firebase/app"),x="@firebase/app-compat",ye="@firebase/analytics-compat",He="@firebase/analytics",Mt="@firebase/app-check-compat",Ge="@firebase/app-check",Qe="@firebase/auth",Xe="@firebase/auth-compat",ze="@firebase/database",Le="@firebase/data-connect",ge="@firebase/database-compat",ue="@firebase/functions",kt="@firebase/functions-compat",Je="@firebase/installations",Ke="@firebase/installations-compat",$e="@firebase/messaging",lt="@firebase/messaging-compat",q="@firebase/performance",de="@firebase/performance-compat",ae="@firebase/remote-config",he="@firebase/remote-config-compat",Ne="@firebase/storage",ve="@firebase/storage-compat",at="@firebase/firestore",Ut="@firebase/ai",nt="@firebase/firestore-compat",cn="firebase",qt="[DEFAULT]",Te={[k]:"fire-core",[x]:"fire-core-compat",[He]:"fire-analytics",[ye]:"fire-analytics-compat",[Ge]:"fire-app-check",[Mt]:"fire-app-check-compat",[Qe]:"fire-auth",[Xe]:"fire-auth-compat",[ze]:"fire-rtdb",[Le]:"fire-data-connect",[ge]:"fire-rtdb-compat",[ue]:"fire-fn",[kt]:"fire-fn-compat",[Je]:"fire-iid",[Ke]:"fire-iid-compat",[$e]:"fire-fcm",[lt]:"fire-fcm-compat",[q]:"fire-perf",[de]:"fire-perf-compat",[ae]:"fire-rc",[he]:"fire-rc-compat",[Ne]:"fire-g
1cs",[ve]:"fire-gcs-compat",[at]:"fire-fst",[nt]:"fire-fst-compat",[Ut]:"fire-vertex","fire-js":"fire-js",[cn]:"fire-js-all"},Pe=new Map,yt=new Map,wt=new Map;function Ie(L,j){try{L.container.addComponent(j)}catch(X){B.debug(`Component ${j.name} failed to register with FirebaseApp ${L.name}`,X)}}function ie(L,j){L.container.addOrOverwriteComponent(j)}function je(L){const j=L.name;if(wt.has(j))return B.debug(`There were multiple attempts to register component ${j}.`),!1;wt.set(j,L);for(const X of Pe.values())Ie(X,L);for(const X of yt.values())Ie(X,L);return!0}function rt(L,j){const X=L.container.getProvider("heartbeat").getImmediate({optional:!0});return X&&X.triggerHeartbeat(),L.container.getProvider(j)}function Ze(L,j,X=qt){rt(L,j).clearInstance(X)}function We(L){return void 0!==L.options}function Ot(L){return null!=L&&void 0!==L.settings}function Me(){wt.clear()}const Zt=new y.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class ti{constructor(j,X,qe){this._isDeleted=!1,this._options=Object.assign({},j),this._config=Object.assign({},X),this._name=X.name,this._automaticDataCollectionEnabled=X.automaticDataCollectionEnabled,this._container=qe,this.container.addComponent(new s.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(j){this.checkDestroyed(),this._automaticDataCollectionEnabled=j}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(j){this._isDeleted=j}checkDestroyed(){if(this.isDeleted)throw Zt.create("app-deleted",{appName:this._name})}}function Wn(L,j){const X=(0,y.u)(L.split(".")[1]);null!==X?void 0!==JSON.parse(X).exp?1e3*JSON.parse(X).exp-(new Date).getTime()<=0&&console.error(`FirebaseServerApp ${j}
1 is invalid: the token has expired.`):console.error(`FirebaseServerApp ${j} is invalid: expiration claim could not be parsed`):console.error(`FirebaseServerApp ${j} is invalid: second part could not be parsed.`)}class mr extends ti{constructor(j,X,qe,Yt){const On=void 0===X.automaticDataCollectionEnabled||X.automaticDataCollectionEnabled,wi={name:qe,automaticDataCollectionEnabled:On};super(void 0!==j.apiKey?j:j.options,wi,Yt),this._serverConfig=Object.assign({automaticDataCollectionEnabled:On},X),this._serverConfig.authIdToken&&Wn(this._serverConfig.authIdToken,"authIdToken"),this._serverConfig.appCheckToken&&Wn(this._serverConfig.appCheckToken,"appCheckToken"),this._finalizationRegistry=null,typeof FinalizationRegistry<"u"&&(this._finalizationRegistry=new FinalizationRegistry(()=>{this.automaticCleanup()})),this._refCount=0,this.incRefCount(this._serverConfig.releaseOnDeref),this._serverConfig.releaseOnDeref=void 0,X.releaseOnDeref=void 0,di(k,H,"serverapp")}toJSON(){}get refCount(){return this._refCount}incRefCount(j){this.isDeleted||(this._refCount++,void 0!==j&&null!==this._finalizationRegistry&&this._finalizationRegistry.register(j,this))}decRefCount(){return this.isDeleted?0:--this._refCount}automaticCleanup(){_(this)}get settings(){return this.checkDestroyed(),this._serverConfig}checkDestroyed(){if(this.isDeleted)throw Zt.create("server-app-deleted")}}const Bn="11.10.0";function Oi(L,j={}){let X=L;"object"!=typeof j&&(j={name:j});const qe=Object.assign({name:qt,automaticDataCollectionEnabled:!0},j),Yt=qe.name;if("string"!=typeof Yt||!Yt)throw Zt.create("bad-app-name",{appName:String(Yt)});if(X||(X=(0,y.T9)()),!X)throw Zt.create("no-options");const On=Pe.get(Yt);if(On){if((0,y.bD)(X,On.options)&&(0,y.bD)(qe,On.config))return On;throw Zt.create("duplicate-app",{appName:Yt})}const wi=new s.h1(Yt);for(const Tr of wt.values())wi.addComponent(Tr);const Qi=new ti(X,qe,wi);return Pe.set(Yt,Qi),Qi}function dn(L,j){if((0,y.Bd)()&&!(0,y.p7)())throw Zt.create("invalid-server-app-environment");let X;void 0===j.automaticDataCollectionEnabled&&(j.automaticDataCollectionEnabled=!0),X=We(L)?L.options:L;const qe=Object.assign(Object.assign({},j),X);if(void 0!==qe.releaseOnDeref&&delete qe.releaseOnDeref,void 0!==j.releaseOnDeref&&typeof FinalizationRegistry>"u")throw Zt.create("finalization-registry-not-supported",{});const On=""+(Er=JSON.stringify(qe),[...Er].reduce((_n,an)=>Math.imul(31,_n)+an.charCodeAt(0)|0,0)),wi=yt.get(On);var Er;if(wi)return wi.incRefCount(j.releaseOnDeref),wi;const Qi=new s.h1(On);for(const Er of wt.values())Qi.addComponent(Er);const Tr=new mr(X,j,On,Qi);return yt.set(On,Tr),Tr}function Tn(L=qt){const j=Pe.get(L);if(!j&&L===qt&&(0,y.T9)())return Oi();if(!j)throw Zt.create("no-app",{appName:L});return j}function Yn(){return Array.from(Pe.values())}function _(L){return Qn.apply(this,arguments)}function Qn(){return(Qn=(0,o.A)(function*(L){let j=!1;const X=L.name;Pe.has(X)?(j=!0,Pe.delete(X)):yt.has(X)&&L.decRefCount()<=0&&(yt.delete(X),j=!0),j&&(yield Promise.all(L.container.getProviders().map(qe=>qe.delete())),L.isDeleted=!0)})).apply(this,arguments)}function di(L,j,X){var qe;let Yt=null!==(qe=Te[L])&&void 0!==qe?qe:L;X&&(Yt+=`-${X}`);const On=Yt.match(/\s|\//),wi=j.match(/\s|\//);if(On||wi){const Qi=[`Unable to register library "${Yt}" with version "${j}":`];return On&&Qi.push(`library name "${Yt}" contains illegal characters (whitespace or "/")`),On&&wi&&Qi.push("and"),wi&&Qi.push(`version name "${j}" contains illegal characters (whitespace or "/")`),void B.warn(Qi.join(" "))}je(new s.uA(`${Yt}-version`,()=>({library:Yt,version:j}),"VERSION"))}function ai(L,j){if(null!==L&&"function"!=typeof L)throw Zt.create("invalid-log-argument");(0,h.Ey)(L,j)}function pi(L){(0,h.He)(L)}const rr="firebase-heartbeat-store";let Sn=null;function ci(){return Sn||(Sn=(0,v.P2)("firebase-heartbeat-database",1,{upgrade:(L,j)=>{if(0===j)try{L.createObjectStore(rr)}catch(X){console.warn(X)}}}).catch(L=>{throw Zt.create("idb-open",{originalErrorMessage:L.message})})),Sn}function fr(){return(fr=(0,o.A)(function*(L){try{const X=(yield ci()).transaction(rr),qe=yield X.objectStore(rr).get(Ae(L));return yield X.done,qe}catch(j){if(j instanceof y.g)B.warn(j.message);else{const X=Zt.create("idb-get",{originalErrorMessage:j?.message});B.warn(X.message)}}})).apply(this,arguments)}function Vt(L,j){return un.apply(this,arguments)}function un(){return(un=(0,o.A)(function*(L,j){try{const qe=(yield ci()).transaction(rr,"readwrite");yield qe.objectStore(rr).put(j,Ae(L)),yield qe.done}catch(X){if(X instanceof y.g)B.warn(X.message);else{const qe=Zt.create("idb-set",{originalErrorMessage:X?.message});B.warn(qe.message)}}})).apply(this,arguments)}function Ae(L){return`${L.name}!${L.options.appId}`}class Ee{constructor(j){this.container=j,this._heartbeatsCache=null;const X=this.container.getProvider("app").getImmediate();this._storage=new Tt(X),this._heartbeatsCachePromise=this._storage.read().then(qe=>(this._heartbeatsCache=qe,qe))}triggerHeartbeat(){var j=this;return(0,o.A)(function*(){var X,qe;try{const On=j.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),wi=Ce();if(null==(null===(X=j._heartbeatsCache)||void 0===X?void 0:X.heartbeats)&&(j._heartbeatsCache=yield j._heartbeatsCachePromise,null==(null===(qe=j._heartbeatsCache)||void 0===qe?void 0:qe.heartbeats))||j._heartbeatsCache.lastSentHeartbeatDate===wi||j._heartbeatsCache.heartbeats.some(Qi=>Qi.date===wi))return;if(j._heartbeatsCache.heartbeats.push({date:wi,agent:On}),j._heartbeatsCache.heartbeats.length>30){const Qi=function we(L){if(0===L.length)return-1;let j=0,X=L[0].date;for(let qe=1;qe<L.length;qe++)L[qe].date<X&&(X=L[qe].date,j=qe);return j}(j._heartbeatsCache.heartbeats);j._heartbeatsCache.heartbeats.splice(Qi,1)}return j._storage.overwrite(j._heartbeatsCache)}catch(Yt){B.warn(Yt)}})()}getHeartbeatsHeader(){var j=this;return(0,o.A)(function*(){var X;try{if(null===j._heartbeatsCache&&(yield j._heartbeatsCachePromise),null==(null===(X=j._heartbeatsCache)||void 0===X?void 0:X.heartbeats)||0===j._heartbeatsCache.heartbeats.length)return"";const qe=Ce(),{heartbeatsToSend:Yt,unsentEntries:On}=function Ue(L,j=1024){const X=[];let qe=L.slice();for(const Yt of L){const On=X.find(wi=>wi.agent===Yt.agent);if(On){if(On.dates.push(Yt.date),fe(X)>j){On.dates.pop();break}}else if(X.push({agent:Yt.agent,dates:[Yt.date]}),fe(X)>j){X.pop();break}qe=qe.slice(1)}return{heartbeatsToSend:X,unsentEntries:qe}}(j._heartbeatsCache.heartbeats),wi=(0,y.Uj)(JSON.stringify({version:2,heartbeats:Yt}));return j._heartbeatsCache.lastSentHeartbeatDate=qe,On.length>0?(j._heartbeatsCache.heartbeats=On,yield j._storage.overwrite(j._heartbeatsCache)):(j._heartbeatsCache.heartbeats=[],j._storage.overwrite(j._heartbeatsCache)),wi}catch(qe){return B.warn(qe),""}})()}}function Ce(){return(new Date).toISOString().substring(0,10)}class Tt{constructor(j){this.app=j,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,o.A)(function*(){return!!(0,y.zW)()&&(0,y.eX)().then(()=>!0).catch(()=>!1)})()}read(){var j=this;return(0,o.A)(function*(){if(yield j._canUseIndexedDBPromise){const qe=yield function Un(L){return fr.apply(this,arguments)}(j.app);return qe?.heartbeats?qe:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(j){var X=this;return(0,o.A)(function*(){var qe;if(yield X._canUseIndexedDBPromise){const On=yield X.read();return Vt(X.app,{lastSentHeartbeatDate:null!==(qe=j.lastSentHeartbeatDate)&&void 0!==qe?qe:On.lastSentHeartbeatDate,heartbeats:j.heartbeats})}})()}add(j){var X=this;return(0,o.A)(function*(){var qe;if(yield X._canUseIndexedDBPromise){const On=yield X.read();return Vt(X.app,{lastSentHeartbeatDate:null!==(qe=j.lastSentHeartbeatDate)&&void 0!==qe?qe:On.lastSentHeartbeatDate,heartbeats:[...On.heartbeats,...j.heartbeats]})}})()}}function fe(L){return(0,y.Uj)(JSON.stringify({version:2,heartbeats:L})).length}!function _e(L){je(new s.uA("platform-logger",j=>new T(j),"PRIVATE")),je(new s.uA("heartbeat",j=>new Ee(j),"PRIVATE")),di(k,H,L),di(k,H,"esm2017"),di("fire-js","")}("")},8779(tn,Ye,d){"use strict";d.d(Ye,{h1:()=>k,uA:()=>h});var o=d(467),s=d(1871);class h{constructor(B,x,ye){this.name=B,this.instanceFactory=x,this.type=ye,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(B){return this.instantiationMode=B,this}setMultipleInstances(B){return this.multipleInstances=B,this}setServiceProps(B){return this.serviceProps=B,this}setInstanceCreatedCallback(B){return this.onInstanceCreated=B,this}}const y="[DEFAULT]";class v{constructor(B,x){this.name=B,this.container=x,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(B){const x=this.normalizeInstanceIdentifier(B);if(!this.instancesDeferred.has(x)){const ye=new s.cY;if(this.instancesDeferred.set(x,ye),this.isInitialized(x)||this.shouldAutoInitialize())try{const He=this.getOrInitializeService({instanceIdentifier:x});He&&ye.resolve(He)}catch{}}return this.instancesDeferred.get(x).promise}getImmediate(B){var x;const ye=this.normalizeInstanceIdentifier(B?.identifier),He=null!==(x=B?.optional)&&void 0!==x&&x;if(!this.isInitialized(ye)&&!this.shouldAutoInitialize()){if(He)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ye})}catch(Mt){if(He)return null;throw Mt}}getComponent(){return this.component}setComponent(B){if(B.name!==this.name)throw Error(`Mismatching Component ${B.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=B,this.shouldAutoInitialize()){if(function M(H){return"EAGER"===H.instantiationMode}(B))try{this.getOrInitializeService({instanceIdentifier:y})}catch{}for(const[x,ye]of this.instancesDeferred.entries()){const He=this.normalizeInstanceIdentifier(x);try{const Mt=this.getOrInitializeService({instanceIdentifier:He});ye.resolve(Mt)}catch{}}}}clearInstance(B=y){this.instancesDeferred.delete(B),this.instancesOptions.delete(B),this.instances.delete(B)}delete(){var B=this;return(0,o.A)(function*(){const x=Array.from(B.instances.values());yield Promise.all([...x.filter(ye=>"INTERNAL"in ye).map(ye=>ye.INTERNAL.delete()),...x.filter(ye=>"_delete"in ye).map(ye=>ye._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(B=y){return this.instances.has(B)}getOptions(B=y){return this.instancesOptions.get(B)||{}}initialize(B={}){const{options:x={}}
1=B,ye=this.normalizeInstanceIdentifier(B.instanceIdentifier);if(this.isInitialized(ye))throw Error(`${this.name}(${ye}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const He=this.getOrInitializeService({instanceIdentifier:ye,options:x});for(const[Mt,Ge]of this.instancesDeferred.entries())ye===this.normalizeInstanceIdentifier(Mt)&&Ge.resolve(He);return He}onInit(B,x){var ye;const He=this.normalizeInstanceIdentifier(x),Mt=null!==(ye=this.onInitCallbacks.get(He))&&void 0!==ye?ye:new Set;Mt.add(B),this.onInitCallbacks.set(He,Mt);const Ge=this.instances.get(He);return Ge&&B(Ge,He),()=>{Mt.delete(B)}}invokeOnInitCallbacks(B,x){const ye=this.onInitCallbacks.get(x);if(ye)for(const He of ye)try{He(B,x)}catch{}}getOrInitializeService({instanceIdentifier:B,options:x={}}){let ye=this.instances.get(B);if(!ye&&this.component&&(ye=this.component.instanceFactory(this.container,{instanceIdentifier:(H=B,H===y?void 0:H),options:x}),this.instances.set(B,ye),this.instancesOptions.set(B,x),this.invokeOnInitCallbacks(ye,B),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,B,ye)}catch{}var H;return ye||null}normalizeInstanceIdentifier(B=y){return this.component?this.component.multipleInstances?B:y:B}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class k{constructor(B){this.name=B,this.providers=new Map}addComponent(B){const x=this.getProvider(B.name);if(x.isComponentSet())throw new Error(`Component ${B.name} has already been registered with ${this.name}`);x.setComponent(B)}addOrOverwriteComponent(B){this.getProvider(B.name).isComponentSet()&&this.providers.delete(B.name),this.addComponent(B)}getProvider(B){if(this.providers.has(B))return this.providers.get(B);const x=new v(B,this);return this.providers.set(B,x),x}getProviders(){return Array.from(this.providers.values())}}},9373(tn,Ye,d){"use strict";d.d(Ye,{Qg:()=>wt,RB:()=>Ie,Uz:()=>Pe,f5:()=>yt});var o=d(467),s=d(1631),h=d(1871),y=d(8779);function M(ie,je){const rt={};for(const Ze in ie)ie.hasOwnProperty(Ze)&&(rt[Ze]=je(ie[Ze]));return rt}function k(ie){if(null==ie)return null;if(ie instanceof Number&&(ie=ie.valueOf()),"number"==typeof ie&&isFinite(ie)||!0===ie||!1===ie||"[object String]"===Object.prototype.toString.call(ie))return ie;if(ie instanceof Date)return ie.toISOString();if(Array.isArray(ie))return ie.map(je=>k(je));if("function"==typeof ie||"object"==typeof ie)return M(ie,je=>k(je));throw new Error("Data cannot be encoded in JSON: "+ie)}function H(ie){if(null==ie)return ie;if(ie["@type"])switch(ie["@type"]){case"type.googleapis.com/google.protobuf.Int64Value":case"type.googleapis.com/google.protobuf.UInt64Value":{const je=Number(ie.value);if(isNaN(je))throw new Error("Data cannot be decoded from JSON: "+ie);return je}default:throw new Error("Data cannot be decoded from JSON: "+ie)}return Array.isArray(ie)?ie.map(je=>H(je)):"function"==typeof ie||"object"==typeof ie?M(ie,je=>H(je)):ie}const B="functions",x={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class ye extends h.g{constructor(je,rt,Ze){super(`${B}/${je}`,rt||""),this.details=Ze,Object.setPrototypeOf(this,ye.prototype)}}function Mt(ie,je){let We,rt=function He(ie){if(ie>=200&&ie<300)return"ok";switch(ie){case 0:case 500:return"internal";case 400:return"invalid-argument";case 401:return"unauthenticated";case 403:return"permission-denied";case 404:return"not-found";case 409:return"aborted";case 429:return"resource-exhausted";case 499:return"cancelled";case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline-exceeded"}return"unknown"}(ie),Ze=rt;try{const Ot=je&&je.error;if(Ot){const Me=Ot.status;if("string"==typeof Me){if(!x[Me])return new ye("internal","internal");rt=x[Me],Ze=Me}const It=Ot.message;"string"==typeof It&&(Ze=It),We=Ot.details,void 0!==We&&(We=H(We))}}catch{}return"ok"===rt?null:new ye(rt,Ze,We)}class Ge{constructor(je,rt,Ze,We){this.app=je,this.auth=null,this.messaging=null,this.appCheck=null,this.serverAppAppCheckToken=null,(0,s._isFirebaseServerApp)(je)&&je.settings.appCheckToken&&(this.serverAppAppCheckToken=je.settings.appCheckToken),this.auth=rt.getImmediate({optional:!0}),this.messaging=Ze.getImmediate({optional:!0}),this.auth||rt.get().then(Ot=>this.auth=Ot,()=>{}),this.messaging||Ze.get().then(Ot=>this.messaging=Ot,()=>{}),this.appCheck||We?.get().then(Ot=>this.appCheck=Ot,()=>{})}getAuthToken(){var je=this;return(0,o.A)(function*(){if(je.auth)try{const rt=yield je.auth.getToken();return rt?.accessToken}catch{return}})()}getMessagingToken(){var je=this;return(0,o.A)(function*(){if(je.messaging&&"Notification"in self&&"granted"===Notification.permission)try{return yield je.messaging.getToken()}catch{return}})()}getAppCheckToken(je){var rt=this;return(0,o.A)(function*(){if(rt.serverAppAppCheckToken)return rt.serverAppAppCheckToken;if(rt.appCheck){const Ze=je?yield rt.appCheck.getLimitedUseToken():yield rt.appCheck.getToken();return Ze.error?null:Ze.token}return null})()}getContext(je){var rt=this;return(0,o.A)(function*(){return{authToken:yield rt.getAuthToken(),messagingToken:yield rt.getMessagingToken(),appCheckToken:yield rt.getAppCheckToken(je)}})()}}const Qe="us-central1",Xe=/^data: (.*?)(?:\n|$)/;class Le{constructor(je,rt,Ze,We,Ot=Qe,Me=(...It)=>fetch(...It)){this.app=je,this.fetchImpl=Me,this.emulatorOrigin=null,this.contextProvider=new Ge(je,rt,Ze,We),this.cancelAllRequests=new Promise(It=>{this.deleteService=()=>Promise.resolve(It())});try{const It=new URL(Ot);this.customDomain=It.origin+("/"===It.pathname?"":It.pathname),this.region=Qe}catch{this.customDomain=null,this.region=Ot}}_delete(){return this.deleteService()}_url(je){const rt=this.app.options.projectId;return null!==this.emulatorOrigin?`${this.emulatorOrigin}/${rt}/${this.region}/${je}`:null!==this.customDomain?`${this.customDomain}/${je}`:`https://${this.region}-${rt}.cloudfunctions.net/${je}`}}function Je(ie,je,rt,Ze){return Ke.apply(this,arguments)}function Ke(){return(Ke=(0,o.A)(function*(ie,je,rt,Ze){let We;rt["Content-Type"]="application/json";try{We=yield Ze(ie,{method:"POST",body:JSON.stringify(je),headers:rt})}catch{return{status:0,json:null}}let Ot=null;try{Ot=yield We.json()}catch{}return{status:We.status,json:Ot}})).apply(this,arguments)}function $e(ie,je){return lt.apply(this,arguments)}function lt(){return(lt=(0,o.A)(function*(ie,je){const rt={},Ze=yield ie.contextProvider.getContext(je.limitedUseAppCheckTokens);return Ze.authToken&&(rt.Authorization="Bearer "+Ze.authToken),Ze.messagingToken&&
1(rt["Firebase-Instance-ID-Token"]=Ze.messagingToken),null!==Ze.appCheckToken&&(rt["X-Firebase-AppCheck"]=Ze.appCheckToken),rt})).apply(this,arguments)}function de(ie,je,rt,Ze){return ae.apply(this,arguments)}function ae(){return(ae=(0,o.A)(function*(ie,je,rt,Ze){const We={data:rt=k(rt)},Ot=yield $e(ie,Ze),It=function ze(ie){let je=null;return{promise:new Promise((rt,Ze)=>{je=setTimeout(()=>{Ze(new ye("deadline-exceeded","deadline-exceeded"))},ie)}),cancel:()=>{je&&clearTimeout(je)}}}(Ze.timeout||7e4),Zt=yield Promise.race([Je(je,We,Ot,ie.fetchImpl),It.promise,ie.cancelAllRequests]);if(It.cancel(),!Zt)throw new ye("cancelled","Firebase Functions instance was deleted.");const ti=Mt(Zt.status,Zt.json);if(ti)throw ti;if(!Zt.json)throw new ye("internal","Response is not valid JSON object.");let Wn=Zt.json.data;if(typeof Wn>"u"&&(Wn=Zt.json.result),typeof Wn>"u")throw new ye("internal","Response is missing data field.");return{data:H(Wn)}})).apply(this,arguments)}function Ne(ie,je,rt,Ze){return ve.apply(this,arguments)}function ve(){return ve=(0,o.A)(function*(ie,je,rt,Ze){var We;const Ot={data:rt=k(rt)},Me=yield $e(ie,Ze);let It,Zt,ti;Me["Content-Type"]="application/json",Me.Accept="text/event-stream";try{It=yield ie.fetchImpl(je,{method:"POST",body:JSON.stringify(Ot),headers:Me,signal:Ze?.signal})}catch(Oi){if(Oi instanceof Error&&"AbortError"===Oi.name){const Tn=new ye("cancelled","Request was cancelled.");return{data:Promise.reject(Tn),stream:{[Symbol.asyncIterator]:()=>({next:()=>Promise.reject(Tn)})}}}const dn=Mt(0,null);return{data:Promise.reject(dn),stream:{[Symbol.asyncIterator]:()=>({next:()=>Promise.reject(dn)})}}}const Wn=new Promise((Oi,dn)=>{Zt=Oi,ti=dn});null===(We=Ze?.signal)||void 0===We||We.addEventListener("abort",()=>{const Oi=new ye("cancelled","Request was cancelled.");ti(Oi)});const Bn=function at(ie,je,rt,Ze){const We=(Me,It)=>{const Zt=Me.match(Xe);if(!Zt)return;const ti=Zt[1];try{const Wn=JSON.parse(ti);if("result"in Wn)return void je(H(Wn.result));if("message"in Wn)return void It.enqueue(H(Wn.message));if("error"in Wn){const mr=Mt(0,Wn);return It.error(mr),void rt(mr)}}catch(Wn){if(Wn instanceof ye)return It.error(Wn),void rt(Wn)}},Ot=new TextDecoder;return new ReadableStream({start(Me){let It="";return Zt();function Zt(){return ti.apply(this,arguments)}function ti(){return ti=(0,o.A)(function*(){if(Ze?.aborted){const Wn=new ye("cancelled","Request was cancelled");return Me.error(Wn),rt(Wn),Promise.resolve()}try{const{value:Wn,done:mr}=yield ie.read();if(mr)return It.trim()&&We(It.trim(),Me),void Me.close();if(Ze?.aborted){const Oi=new ye("cancelled","Request was cancelled");return Me.error(Oi),rt(Oi),void(yield ie.cancel())}It+=Ot.decode(Wn,{stream:!0});const Bn=It.split("\n");It=Bn.pop()||"";for(const Oi of Bn)Oi.trim()&&We(Oi.trim(),Me);return Zt()}catch(Wn){const mr=Wn instanceof ye?Wn:Mt(0,null);Me.error(mr),rt(mr)}}),ti.apply(this,arguments)}},cancel:()=>ie.cancel()})}(It.body.getReader(),Zt,ti,Ze?.signal);return{stream:{[Symbol.asyncIterator](){const Oi=Bn.getReader();return{next:()=>(0,o.A)(function*(){const{value:dn,done:Tn}=yield Oi.read();return{value:dn,done:Tn}})(),return:()=>(0,o.A)(function*(){return yield Oi.cancel(),{done:!0,value:void 0}})()}}},data:Wn}}),ve.apply(this,arguments)}const Ut="@firebase/functions";function Pe(ie=(0,s.getApp)(),je=Qe){const Ze=(0,s._getProvider)((0,h.Ku)(ie),B).getImmediate({identifier:je}),We=(0,h.yU)("functions");return We&&yt(Ze,...We),Ze}function yt(ie,je,rt){!function ge(ie,je,rt){const Ze=(0,h.zJ)(je);ie.emulatorOrigin=`http${Ze?"s":""}://${je}:${rt}`,Ze&&((0,h.gE)(ie.emulatorOrigin),(0,h.P1)("Functions",!0))}((0,h.Ku)(ie),je,rt)}function wt(ie,je,rt){return function ue(ie,je,rt){const Ze=We=>function q(ie,je,rt,Ze){const We=ie._url(je);return de(ie,We,rt,Ze)}(ie,je,We,rt||{});return Ze.stream=(We,Ot)=>function he(ie,je,rt,Ze){const We=ie._url(je);return Ne(ie,We,rt,Ze||{})}(ie,je,We,Ot),Ze}((0,h.Ku)(ie),je,rt)}function Ie(ie,je,rt){return function kt(ie,je,rt){const Ze=We=>de(ie,je,We,rt||{});return Ze.stream=(We,Ot)=>Ne(ie,je,We,Ot||{}),Ze}((0,h.Ku)(ie),je,rt)}!function Te(ie){(0,s._registerComponent)(new y.uA(B,(rt,{instanceIdentifier:Ze})=>{const We=rt.getProvider("app").getImmediate(),Ot=rt.getProvider("auth-internal"),Me=rt.getProvider("messaging-internal"),It=rt.getProvider("app-check-internal");return new Le(We,Ot,Me,It,Ze)},"PUBLIC").setMultipleInstances(!0)),(0,s.registerVersion)(Ut,"0.12.9",ie),(0,s.registerVersion)(Ut,"0.12.9","esm2017")}()},5398(tn,Ye,d){"use strict";d.d(Ye,{$b:()=>s,Ey:()=>H,He:()=>k,Vy:()=>M});const o=[];var s=function(B){return B[B.DEBUG=0]="DEBUG",B[B.VERBOSE=1]="VERBOSE",B[B.INFO=2]="INFO",B[B.WARN=3]="WARN",B[B.ERROR=4]="ERROR",B[B.SILENT=5]="SILENT",B}(s||{});
1const h={debug:s.DEBUG,verbose:s.VERBOSE,info:s.INFO,warn:s.WARN,error:s.ERROR,silent:s.SILENT},y=s.INFO,v={[s.DEBUG]:"log",[s.VERBOSE]:"log",[s.INFO]:"info",[s.WARN]:"warn",[s.ERROR]:"error"},T=(B,x,...ye)=>{if(x<B.logLevel)return;const He=(new Date).toISOString(),Mt=v[x];if(!Mt)throw new Error(`Attempted to log a message with an invalid logType (value: ${x})`);console[Mt](`[${He}] ${B.name}:`,...ye)};class M{constructor(x){this.name=x,this._logLevel=y,this._logHandler=T,this._userLogHandler=null,o.push(this)}get logLevel(){return this._logLevel}set logLevel(x){if(!(x in s))throw new TypeError(`Invalid value "${x}" assigned to \`logLevel\``);this._logLevel=x}setLogLevel(x){this._logLevel="string"==typeof x?h[x]:x}get logHandler(){return this._logHandler}set logHandler(x){if("function"!=typeof x)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=x}get userLogHandler(){return this._userLogHandler}set userLogHandler(x){this._userLogHandler=x}debug(...x){this._userLogHandler&&this._userLogHandler(this,s.DEBUG,...x),this._logHandler(this,s.DEBUG,...x)}log(...x){this._userLogHandler&&this._userLogHandler(this,s.VERBOSE,...x),this._logHandler(this,s.VERBOSE,...x)}info(...x){this._userLogHandler&&this._userLogHandler(this,s.INFO,...x),this._logHandler(this,s.INFO,...x)}warn(...x){this._userLogHandler&&this._userLogHandler(this,s.WARN,...x),this._logHandler(this,s.WARN,...x)}error(...x){this._userLogHandler&&this._userLogHandler(this,s.ERROR,...x),this._logHandler(this,s.ERROR,...x)}}function k(B){o.forEach(x=>{x.setLogLevel(B)})}function H(B,x){for(const ye of o){let He=null;x&&x.level&&(He=h[x.level]),ye.userLogHandler=null===B?null:(Mt,Ge,...Qe)=>{const Xe=Qe.map(ze=>{if(null==ze)return null;if("string"==typeof ze)return ze;if("number"==typeof ze||"boolean"==typeof ze)return ze.toString();if(ze instanceof Error)return ze.message;try{return JSON.stringify(ze)}catch{return null}}).filter(ze=>ze).join(" ");Ge>=(He??Mt.logLevel)&&B({level:s[Ge].toLowerCase(),message:Xe,args:Qe,type:Mt.name})}}}},7037(tn,Ye,d){"use strict";d.d(Ye,{Dk:()=>o.getApps,KO:()=>o.registerVersion,Sx:()=>o.getApp,Wp:()=>o.initializeApp});var o=d(1631);(0,o.registerVersion)("firebase","11.10.0","app")},762(tn,Ye,d){"use strict";d.d(Ye,{A:()=>o.A});var o=d(9574);o.A.registerVersion("firebase","11.10.0","app-compat")},5046(tn,Ye,d){"use strict";var o=d(467),s=d(9574),h=d(8952),y=d(1871),M=(d(1631),d(5398),d(8779));function k(){return window}function x(){return x=(0,o.A)(function*(L,j,X){var qe;const{BuildInfo:Yt}=k();(0,h.av)(j.sessionId,"AuthEvent did not contain a session ID");const On=yield function ze(L){return Le.apply(this,arguments)}(j.sessionId),wi={};return(0,h.aw)()?wi.ibi=Yt.packageName:(0,h.ax)()?wi.apn=Yt.packageName:(0,h.ay)(L,"operation-not-supported-in-this-environment"),Yt.displayName&&(wi.appDisplayName=Yt.displayName),wi.sessionId=On,(0,h.az)(L,X,j.type,void 0,null!==(qe=j.eventId)&&void 0!==qe?qe:void 0,wi)}),x.apply(this,arguments)}function He(){return(He=(0,o.A)(function*(L){const{BuildInfo:j}=k(),X={};(0,h.aw)()?X.iosBundleId=j.packageName:(0,h.ax)()?X.androidPackageName=j.packageName:(0,h.ay)(L,"operation-not-supported-in-this-environment"),yield(0,h.aA)(L,X)})).apply(this,arguments)}function Qe(){return(Qe=(0,o.A)(function*(L,j,X){const{cordova:qe}=k();let Yt=()=>{};try{yield new Promise((On,wi)=>{let Qi=null;function Tr(){var an;On();const Pt=null===(an=qe.plugins.browsertab)||void 0===an?void 0:an.close;"function"==typeof Pt&&Pt(),"function"==typeof X?.close&&X.close()}function Er(){Qi||(Qi=window.setTimeout(()=>{wi((0,h.aC)(L,"redirect-cancelled-by-user"))},2e3))}function _n(){"visible"===document?.visibilityState&&Er()}j.addPassiveListener(Tr),document.addEventListener("resume",Er,!1),(0,h.ax)()&&document.addEventListener("visibilitychange",_n,!1),Yt=()=>{j.removePassiveListener(Tr),document.removeEventListener("resume",Er,!1),document.removeEventListener("visibilitychange",_n,!1),Qi&&window.clearTimeout(Qi)}})}finally{Yt()}})).apply(this,arguments)}function Le(){return(Le=(0,o.A)(function*(L){const j=function ge(L){if((0,h.av)(/[0-9a-zA-Z]+/.test(L),"Can only convert alpha-numeric strings"),typeof TextEncoder<"u")return(new TextEncoder).encode(L);const j=new ArrayBuffer(L.length),X=new Uint8Array(j);for(let qe=0;qe<L.length;qe++)X[qe]=L.charCodeAt(qe);return X}
1(L),X=yield crypto.subtle.digest("SHA-256",j);return Array.from(new Uint8Array(X)).map(Yt=>Yt.toString(16).padStart(2,"0")).join("")})).apply(this,arguments)}class kt extends h.aE{constructor(){super(...arguments),this.passiveListeners=new Set,this.initPromise=new Promise(j=>{this.resolveInitialized=j})}addPassiveListener(j){this.passiveListeners.add(j)}removePassiveListener(j){this.passiveListeners.delete(j)}resetRedirect(){this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1}onEvent(j){return this.resolveInitialized(),this.passiveListeners.forEach(X=>X(j)),super.onEvent(j)}initialized(){var j=this;return(0,o.A)(function*(){yield j.initPromise})()}}function $e(L){return lt.apply(this,arguments)}function lt(){return(lt=(0,o.A)(function*(L){const j=yield ae()._get(he(L));return j&&(yield ae()._remove(he(L))),j})).apply(this,arguments)}function de(){const L=[];for(let X=0;X<20;X++){const qe=Math.floor(62*Math.random());L.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(qe))}return L.join("")}function ae(){return(0,h.aF)(h.b)}function he(L){return(0,h.aG)("authEvent",L.config.apiKey,L.name)}function at(L){if(!L?.includes("?"))return{};const[j,...X]=L.split("?");return(0,y.I9)(X.join("?"))}const cn=class nt{constructor(){this._redirectPersistence=h.c,this._shouldInitProactively=!0,this.eventManagers=new Map,this.originValidationPromises={},this._completeRedirectFn=h.aH,this._overrideRedirectResult=h.aI}_initialize(j){var X=this;return(0,o.A)(function*(){const qe=j._key();let Yt=X.eventManagers.get(qe);return Yt||(Yt=new kt(j),X.eventManagers.set(qe,Yt),X.attachCallbackListeners(j,Yt)),Yt})()}_openPopup(j){(0,h.ay)(j,"operation-not-supported-in-this-environment")}_openRedirect(j,X,qe,Yt){var On=this;return(0,o.A)(function*(){!function Xe(L){var j,X,qe,Yt,On,wi,Qi,Tr,Er,_n;const an=k();(0,h.aD)("function"==typeof(null===(j=an?.universalLinks)||void 0===j?void 0:j.subscribe),L,"invalid-cordova-configuration",{missingPlugin:"cordova-universal-links-plugin-fix"}),(0,h.aD)(typeof(null===(X=an?.BuildInfo)||void 0===X?void 0:X.packageName)<"u",L,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-buildInfo"}),(0,h.aD)("function"==typeof(null===(On=null===(Yt=null===(qe=an?.cordova)||void 0===qe?void 0:qe.plugins)||void 0===Yt?void 0:Yt.browsertab)||void 0===On?void 0:On.openUrl),L,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-browsertab"}),(0,h.aD)("function"==typeof(null===(Tr=null===(Qi=null===(wi=an?.cordova)||void 0===wi?void 0:wi.plugins)||void 0===Qi?void 0:Qi.browsertab)||void 0===Tr?void 0:Tr.isAvailable),L,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-browsertab"}),(0,h.aD)("function"==typeof(null===(_n=null===(Er=an?.cordova)||void 0===Er?void 0:Er.InAppBrowser)||void 0===_n?void 0:_n.open),L,"invalid-cordova-configuration",{missingPlugin:"cordova-plugin-inappbrowser"})}(j);const wi=yield On._initialize(j);yield wi.initialized(),wi.resetRedirect(),(0,h.aJ)(),yield On._originValidation(j);const Qi=function Je(L,j,X=null){return{type:j,eventId:X,urlResponse:null,sessionId:de(),postBody:null,tenantId:L.tenantId,error:(0,h.aC)(L,"no-auth-event")}}(j,qe,Yt);yield function Ke(L,j){return ae()._set(he(L),j)}(j,Qi);const Tr=yield function B(L,j,X){return x.apply(this,arguments)}(j,Qi,X),Er=yield function Mt(L){const{cordova:j}=k();return new Promise(X=>{j.plugins.browsertab.isAvailable(qe=>{let Yt=null;qe?j.plugins.browsertab.openUrl(L):Yt=j.InAppBrowser.open(L,(0,h.aB)()?"_blank":"_system","location=yes"),X(Yt)})})}(Tr);return function Ge(L,j,X){return Qe.apply(this,arguments)}(j,wi,Er)})()}_isIframeWebStorageSupported(j,X){throw new Error("Method not implemented.")}_originValidation(j){const X=j._key();return this.originValidationPromises[X]||(this.originValidationPromises[X]=function ye(L){return He.apply(this,arguments)}(j)),this.originValidationPromises[X]}attachCallbackListeners(j,X){const{universalLinks:qe,handleOpenURL:Yt,BuildInfo:On}=k(),wi=setTimeout((0,o.A)(function*(){yield $e(j),X.onEvent(hn())}),500),Qi=function(){var _n=(0,o.A)(function*(an){clearTimeout(wi);const Pt=yield $e(j);let ke=null;Pt&&an?.url&&(ke=function q(L,j){var X,qe;
1const Yt=function ve(L){const j=at(L),X=j.link?decodeURIComponent(j.link):void 0,qe=at(X).link,Yt=j.deep_link_id?decodeURIComponent(j.deep_link_id):void 0;return at(Yt).link||Yt||qe||X||L}(j);if(Yt.includes("/__/auth/callback")){const On=at(Yt),wi=On.firebaseError?function Ne(L){try{return JSON.parse(L)}catch{return null}}(decodeURIComponent(On.firebaseError)):null,Qi=null===(qe=null===(X=wi?.code)||void 0===X?void 0:X.split("auth/"))||void 0===qe?void 0:qe[1],Tr=Qi?(0,h.aC)(Qi):null;return Tr?{type:L.type,eventId:L.eventId,tenantId:L.tenantId,error:Tr,urlResponse:null,sessionId:null,postBody:null}:{type:L.type,eventId:L.eventId,tenantId:L.tenantId,sessionId:L.sessionId,urlResponse:Yt,postBody:null}}return null}(Pt,an.url)),X.onEvent(ke||hn())});return function(Pt){return _n.apply(this,arguments)}}();typeof qe<"u"&&"function"==typeof qe.subscribe&&qe.subscribe(null,Qi);const Tr=Yt,Er=`${On.packageName.toLowerCase()}://`;k().handleOpenURL=function(){var _n=(0,o.A)(function*(an){if(an.toLowerCase().startsWith(Er)&&Qi({url:an}),"function"==typeof Tr)try{Tr(an)}catch(Pt){console.error(Pt)}});return function(an){return _n.apply(this,arguments)}}()}};function hn(){return{type:"unknown",eventId:null,sessionId:null,urlResponse:null,postBody:null,tenantId:null,error:(0,h.aC)("no-auth-event")}}function wt(){var L;return(null===(L=self?.location)||void 0===L?void 0:L.protocol)||null}function ie(L=(0,y.ZQ)()){return!("file:"!==wt()&&"ionic:"!==wt()&&"capacitor:"!==wt()||!L.toLowerCase().match(/iphone|ipad|ipod|android/))}function Ot(){try{const L=self.localStorage,j=h.aO();if(L)return L.setItem(j,"1"),L.removeItem(j),!function We(L=(0,y.ZQ)()){return function rt(){return(0,y.lT)()&&11===document?.documentMode}()||function Ze(L=(0,y.ZQ)()){return/Edge\/\d+/.test(L)}(L)}()||(0,y.zW)()}catch{return Me()&&(0,y.zW)()}return!1}function Me(){return typeof global<"u"&&"WorkerGlobalScope"in global&&"importScripts"in global}function It(){return(function Ie(){return"http:"===wt()||"https:"===wt()}()||(0,y.sr)()||ie())&&!function je(){return(0,y.lV)()||(0,y.Ll)()}()&&Ot()&&!Me()}function Zt(){return ie()&&typeof document<"u"}function Wn(){return(Wn=(0,o.A)(function*(){return!!Zt()&&new Promise(L=>{const j=setTimeout(()=>{L(!1)},1e3);document.addEventListener("deviceready",()=>{clearTimeout(j),L(!0)})})})).apply(this,arguments)}const Bn={LOCAL:"local",NONE:"none",SESSION:"session"},Oi=h.aD,dn="persistence";function Yn(L){return _.apply(this,arguments)}function _(){return(_=(0,o.A)(function*(L){yield L._initializationPromise;const j=di(),X=h.aG(dn,L.config.apiKey,L.name);j&&j.setItem(X,L._getPersistenceType())})).apply(this,arguments)}function di(){var L;try{return(null===(L=function mr(){return typeof window<"u"?window:null}())||void 0===L?void 0:L.sessionStorage)||null}catch{return null}}const ai=h.aD;class pi{constructor(){this.browserResolver=h.aF(h.m),this.cordovaResolver=h.aF(cn),this.underlyingResolver=null,this._redirectPersistence=h.c,this._completeRedirectFn=h.aH,this._overrideRedirectResult=h.aI}_initialize(j){var X=this;return(0,o.A)(function*(){return yield X.selectUnderlyingResolver(),X.assertedUnderlyingResolver._initialize(j)})()}_openPopup(j,X,qe,Yt){var On=this;return(0,o.A)(function*(){return yield On.selectUnderlyingResolver(),On.assertedUnderlyingResolver._openPopup(j,X,qe,Yt)})()}_openRedirect(j,X,qe,Yt){var On=this;return(0,o.A)(function*(){return yield On.selectUnderlyingResolver(),On.assertedUnderlyingResolver._openRedirect(j,X,qe,Yt)})()}_isIframeWebStorageSupported(j,X){this.assertedUnderlyingResolver._isIframeWebStorageSupported(j,X)}_originValidation(j){return this.assertedUnderlyingResolver._originValidation(j)}get _shouldInitProactively(){return Zt()||this.browserResolver._shouldInitProactively}get assertedUnderlyingResolver(){return ai(this.underlyingResolver,"internal-error"),this.underlyingResolver}selectUnderlyingResolver(){var j=this;return(0,o.A)(function*(){if(j.underlyingResolver)return;const X=yield function ti(){return Wn.apply(this,arguments)}();j.underlyingResolver=X?j.cordovaResolver:j.browserResolver})()}}function Vi(L){return L.unwrap()}function rr(L){return ci(L)}function ci(L){const{_tokenResponse:j}=L instanceof y.g?L.customData:L;if(!j)return null;if(!(L instanceof y.g)&&"temporaryProof"in j&&"phoneNumber"in j)return h.P.credentialFromResult(L);const X=j.providerId;if(!X||X===h.q.PASSWORD)return null;let qe;switch(X){case h.q.GOOGLE:qe=h.Y;break;case h.q.FACEBOOK:qe=h.X;break;case h.q.GITHUB:qe=h.Z;break;case h.q.TWITTER:qe=h.a0;break;default:const{oauthIdToken:Yt,oauthAccessToken:On,oauthTokenSecret:wi,pendingToken:Qi,nonce:Tr}=j;return On||wi||Yt||Qi?Qi?X.startsWith("saml.")?h.aR._create(X,Qi):h.Q._fromParams({providerId:X,signInMethod:X,pendingToken:Qi,idToken:Yt,accessToken:On}):new h._(X).credential({idToken:Yt,accessToken:On,rawNonce:Tr}):null}return L instanceof y.g?qe.credentialFromError(L):qe.credentialFromResult(L)}function Un(L,j){return j.catch(X=>{throw X instanceof y.g&&function Sn(L,j){var X;const qe=null===(X=j.customData)||void 0===X?void 0:X._tokenResponse;if("auth/multi-factor-auth-required"===j?.code)j.resolver=new un(L,h.at(L,j));else if(qe){const Yt=ci(j),On=j;Yt&&(On.credential=Yt,On.tenantId=qe.tenantId||void 0,On.email=qe.email||void 0,On.phoneNumber=qe.phoneNumber||void 0)}}(L,X),X}).then(X=>{const Yt=X.user;return{operationType:X.operationType,credential:rr(X),additionalUserInfo:h.ar(X),user:Ae.getOrCreate(Yt)}})}function fr(L,j){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,o.A)(function*(L,j){const X=yield j;return{verificationId:X.verificationId,confirm:qe=>Un(L,X.confirm(qe))}})).apply(this,arguments)}class un{constructor(j,X){this.resolver=X,this.auth=function ii(L){return L.wrapped()}(j)}get session(){return this.resolver.session}get hints(){return this.resolver.hints}resolveSignIn(j){return Un(Vi(this.auth),this.resolver.resolveSignIn(j))}}class Ae{constructor(j){this._delegate=j,this.multiFactor=h.au(j)}static getOrCreate(j){return Ae.USER_MAP.has(j)||Ae.USER_MAP.set(j,new Ae(j)),Ae.USER_MAP.get(j)}delete(){return this._delegate.delete()}reload(){return this._delegate.reload()}toJSON(){return this._delegate.toJSON()}getIdTokenResult(j){return this._delegate.getIdTokenResult(j)}getIdToken(j){return this._delegate.getIdToken(j)}linkAndRetrieveDataWithCredential(j){return this.linkWithCredential(j)}linkWithCredential(j){var X=this;return(0,o.A)(function*(){return Un(X.auth,h.a3(X._delegate,j))})()}linkWithPhoneNumber(j,X){var qe=this;return(0,o.A)(function*(){return fr(qe.auth,h.l(qe._delegate,j,X))})()}linkWithPopup(j){var X=this;return(0,o.A)(function*(){return Un(X.auth,h.e(X._delegate,j,pi))})()}linkWithRedirect(j){var X=this;return(0,o.A)(function*(){return yield Yn(h.aK(X.auth)),h.h(X._delegate,j,pi)})()}reauthenticateAndRetrieveDataWithCredential(j){return this.reauthenticateWithCredential(j)}reauthenticateWithCredential(j){var X=this;return(0,o.A)(function*(){return Un(X.auth,h.a4(X._delegate,j))})()}reauthenticateWithPhoneNumber(j,X){return fr(this.auth,h.r(this._delegate,j,X))}reauthenticateWithPopup(j){return Un(this.auth,h.f(this._delegate,j,pi))}reauthenticateWithRedirect(j){var X=this;return(0,o.A)(function*(){return yield Yn(h.aK(X.auth)),h.j(X._delegate,j,pi)})()}sendEmailVerification(j){return h.ah(this._delegate,j)}unlink(j){var X=this;return(0,o.A)(function*(){return yield h.aq(X._delegate,j),X})()}updateEmail(j){return h.am(this._delegate,j)}updatePassword(j){return h.an(this._delegate,j)}updatePhoneNumber(j){return h.u(this._delegate,j)}updateProfile(j){return h.al(this._delegate,j)}verifyBeforeUpdateEmail(j,X){return h.ai(this._delegate,j,X)}get emailVerified(){return this._delegate.emailVerified}get isAnonymous(){return this._delegate.isAnonymous}get metadata(){return this._delegate.metadata}get phoneNumber(){return this._delegate.phoneNumber}get providerData(){return this._delegate.providerData}get refreshToken(){return this._delegate.refreshToken}get tenantId(){return this._delegate.tenantId}get displayName(){return this._delegate.displayName}get email(){return this._delegate.email}get photoURL(){return this._delegate.photoURL}get providerId(){return this._delegate.providerId}get uid(){return this._delegate.uid}get auth(){return this._delegate.auth}}Ae.USER_MAP=new WeakMap;const xe=h.aD;let z=(()=>{class L{constructor(X,qe){if(this.app=X,qe.isInitialized())return this._delegate=qe.getImmediate(),void this.linkUnderlyingAuth();const{apiKey:Yt}=X.options;
1xe(Yt,"invalid-api-key",{appName:X.name}),xe(Yt,"invalid-api-key",{appName:X.name});const On=typeof window<"u"?pi:void 0;this._delegate=qe.initialize({options:{persistence:Ce(Yt,X.name),popupRedirectResolver:On}}),this._delegate._updateErrorMap(h.H),this.linkUnderlyingAuth()}get emulatorConfig(){return this._delegate.emulatorConfig}get currentUser(){return this._delegate.currentUser?Ae.getOrCreate(this._delegate.currentUser):null}get languageCode(){return this._delegate.languageCode}set languageCode(X){this._delegate.languageCode=X}get settings(){return this._delegate.settings}get tenantId(){return this._delegate.tenantId}set tenantId(X){this._delegate.tenantId=X}useDeviceLanguage(){this._delegate.useDeviceLanguage()}signOut(){return this._delegate.signOut()}useEmulator(X,qe){h.L(this._delegate,X,qe)}applyActionCode(X){return h.a8(this._delegate,X)}checkActionCode(X){return h.a9(this._delegate,X)}confirmPasswordReset(X,qe){return h.a7(this._delegate,X,qe)}createUserWithEmailAndPassword(X,qe){var Yt=this;return(0,o.A)(function*(){return Un(Yt._delegate,h.ab(Yt._delegate,X,qe))})()}fetchProvidersForEmail(X){return this.fetchSignInMethodsForEmail(X)}fetchSignInMethodsForEmail(X){return h.ag(this._delegate,X)}isSignInWithEmailLink(X){return h.ae(this._delegate,X)}getRedirectResult(){var X=this;return(0,o.A)(function*(){xe(It(),X._delegate,"operation-not-supported-in-this-environment");const qe=yield h.k(X._delegate,pi);return qe?Un(X._delegate,Promise.resolve(qe)):{credential:null,user:null}})()}addFrameworkForLogging(X){!function qt(L,j){(0,h.aK)(L)._logFramework(j)}(this._delegate,X)}onAuthStateChanged(X,qe,Yt){const{next:On,error:wi,complete:Qi}=Ee(X,qe,Yt);return this._delegate.onAuthStateChanged(On,wi,Qi)}onIdTokenChanged(X,qe,Yt){const{next:On,error:wi,complete:Qi}=Ee(X,qe,Yt);return this._delegate.onIdTokenChanged(On,wi,Qi)}sendSignInLinkToEmail(X,qe){return h.ad(this._delegate,X,qe)}sendPasswordResetEmail(X,qe){return h.a6(this._delegate,X,qe||void 0)}setPersistence(X){var qe=this;return(0,o.A)(function*(){let Yt;switch(function Tn(L,j){Oi(Object.values(Bn).includes(j),L,"invalid-persistence-type"),(0,y.lV)()?Oi(j!==Bn.SESSION,L,"unsupported-persistence-type"):(0,y.Ll)()?Oi(j===Bn.NONE,L,"unsupported-persistence-type"):Me()?Oi(j===Bn.NONE||j===Bn.LOCAL&&(0,y.zW)(),L,"unsupported-persistence-type"):Oi(j===Bn.NONE||Ot(),L,"unsupported-persistence-type")}(qe._delegate,X),X){case Bn.SESSION:Yt=h.c;break;case Bn.LOCAL:Yt=(yield h.aF(h.i)._isAvailable())?h.i:h.b;break;case Bn.NONE:Yt=h.V;break;default:return h.ay("argument-error",{appName:qe._delegate.name})}return qe._delegate.setPersistence(Yt)})()}signInAndRetrieveDataWithCredential(X){return this.signInWithCredential(X)}signInAnonymously(){return Un(this._delegate,h.a1(this._delegate))}signInWithCredential(X){return Un(this._delegate,h.a2(this._delegate,X))}signInWithCustomToken(X){return Un(this._delegate,h.a5(this._delegate,X))}signInWithEmailAndPassword(X,qe){return Un(this._delegate,h.ac(this._delegate,X,qe))}signInWithEmailLink(X,qe){return Un(this._delegate,h.af(this._delegate,X,qe))}signInWithPhoneNumber(X,qe){return fr(this._delegate,h.s(this._delegate,X,qe))}signInWithPopup(X){var qe=this;return(0,o.A)(function*(){return xe(It(),qe._delegate,"operation-not-supported-in-this-environment"),Un(qe._delegate,h.d(qe._delegate,X,pi))})()}signInWithRedirect(X){var qe=this;return(0,o.A)(function*(){return xe(It(),qe._delegate,"operation-not-supported-in-this-environment"),yield Yn(qe._delegate),h.g(qe._delegate,X,pi)})()}updateCurrentUser(X){return this._delegate.updateCurrentUser(X)}verifyPasswordResetCode(X){return h.aa(this._delegate,X)}unwrap(){return this._delegate}_delete(){return this._delegate._delete()}linkUnderlyingAuth(){this._delegate.wrapped=()=>this}}return L.Persistence=Bn,L})();function Ee(L,j,X){let qe=L;"function"!=typeof L&&({next:qe,error:j,complete:X}=L);const Yt=qe;return{next:wi=>Yt(wi&&Ae.getOrCreate(wi)),error:j,complete:X}}function Ce(L,j){const X=function Qn(L,j){const X=di();if(!X)return[];const qe=h.aG(dn,L,j);switch(X.getItem(qe)){case Bn.NONE:return[h.V];case Bn.LOCAL:return[h.i,h.c];case Bn.SESSION:return[h.c];default:return[]}}(L,j);if(typeof self<"u"&&!X.includes(h.i)&&X.push(h.i),typeof window<"u")for(const qe of[h.b,h.c])X.includes(qe)||X.push(qe);return X.includes(h.V)||X.push(h.V),X}class Ue{static credential(j,X){return h.P.credential(j,X)}constructor(){this.providerId="phone",this._delegate=new h.P(Vi(s.A.auth()))}verifyPhoneNumber(j,X){return this._delegate.verifyPhoneNumber(j,X)}unwrap(){return this._delegate}}Ue.PHONE_SIGN_IN_METHOD=h.P.PHONE_SIGN_IN_METHOD,Ue.PROVIDER_ID=h.P.PROVIDER_ID;const Tt=h.aD;class fe{constructor(j,X,qe=s.A.app()){var Yt;Tt(null===(Yt=qe.options)||void 0===Yt?void 0:Yt.apiKey,"invalid-api-key",{appName:qe.name}),this._delegate=new h.R(qe.auth(),j,X),this.type=this._delegate.type}clear(){this._delegate.clear()}render(){return this._delegate.render()}verify(){return this._delegate.verify()}}!function _e(L){L.INTERNAL.registerComponent(new M.uA("auth-compat",j=>{const X=j.getProvider("app-compat").getImmediate(),qe=j.getProvider("auth");return new z(X,qe)},"PUBLIC").setServiceProps({ActionCodeInfo:{Operation:{EMAIL_SIGNIN:h.A.EMAIL_SIGNIN,PASSWORD_RESET:h.A.PASSWORD_RESET,RECOVER_EMAIL:h.A.RECOVER_EMAIL,REVERT_SECOND_FACTOR_ADDITION:h.A.REVERT_SECOND_FACTOR_ADDITION,VERIFY_AND_CHANGE_EMAIL:h.A.VERIFY_AND_CHANGE_EMAIL,VERIFY_EMAIL:h.A.VERIFY_EMAIL}},EmailAuthProvider:h.W,FacebookAuthProvider:h.X,GithubAuthProvider:h.Z,GoogleAuthProvider:h.Y,OAuthProvider:h._,SAMLAuthProvider:h.$,PhoneAuthProvider:Ue,PhoneMultiFactorGenerator:h.n,RecaptchaVerifier:fe,TwitterAuthProvider:h.a0,Auth:z,AuthCredential:h.M,Error:y.g}).setInstantiationMode("LAZY").setMultipleInstances(!1)),L.registerVersion("@firebase/auth-compat","0.5.28")}(s.A)},4737(tn,Ye,d){"use strict";var o=d(9574),s=d(9373),h=d(1871),y=d(8779);class M{constructor(ye,He){this.app=ye,this._delegate=He,this._region=this._delegate.regi
1on,this._customDomain=this._delegate.customDomain}httpsCallable(ye,He){return(0,s.Qg)(this._delegate,ye,He)}httpsCallableFromURL(ye,He){return(0,s.RB)(this._delegate,ye,He)}useFunctionsEmulator(ye){const He=ye.match("[a-zA-Z]+://([a-zA-Z0-9.-]+)(?::([0-9]+))?");if(null==He)throw new h.g("functions","No origin provided to useFunctionsEmulator()");if(null==He[2])throw new h.g("functions","Port missing in origin provided to useFunctionsEmulator()");return(0,s.f5)(this._delegate,He[1],Number(He[2]))}useEmulator(ye,He){return(0,s.f5)(this._delegate,ye,He)}}const H=(x,{instanceIdentifier:ye})=>{const He=x.getProvider("app-compat").getImmediate(),Mt=x.getProvider("functions").getImmediate({identifier:ye??"us-central1"});return new M(He,Mt)};(function B(){const x={Functions:M};o.A.INTERNAL.registerComponent(new y.uA("functions-compat",H,"PUBLIC").setServiceProps(x).setMultipleInstances(!0))})(),o.A.registerVersion("@firebase/functions-compat","0.3.26")},9417(tn,Ye,d){"use strict";d.d(Ye,{BC:()=>Tn,Dg:()=>cs,Fm:()=>Fn,JD:()=>xt,MJ:()=>st,Q0:()=>br,R_:()=>ba,VZ:()=>ko,X1:()=>tl,YN:()=>el,YS:()=>la,ZU:()=>Wn,Zm:()=>Qe,cV:()=>Jt,cb:()=>Yn,cz:()=>Je,gE:()=>ke,hs:()=>ot,j4:()=>ls,k0:()=>lt,kq:()=>Mt,me:()=>ge,qT:()=>dt,tU:()=>Us,vO:()=>mr,vS:()=>Lt,wz:()=>ur,xH:()=>Lr,y7:()=>ms,zX:()=>qo,ze:()=>Kr});var h=d(2615),y=d(3664),v=d(7705),T=d(9295),M=d(7303),k=d(1413),H=d(7468),B=d(8455),x=d(6354);let ye=(()=>{class tt{_renderer;_elementRef;onChange=pe=>{};onTouched=()=>{};constructor(pe,Gt){this._renderer=pe,this._elementRef=Gt}setProperty(pe,Gt){this._renderer.setProperty(this._elementRef.nativeElement,pe,Gt)}registerOnTouched(pe){this.onTouched=pe}registerOnChange(pe){this.onChange=pe}setDisabledState(pe){this.setProperty("disabled",pe)}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(y.sFG),y.rXU(y.aKT))};static \u0275dir=y.FsC({type:tt})}return tt})(),He=(()=>{class tt extends ye{static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,features:[y.Vt3]})}return tt})();const Mt=new h.nKC(""),Ge={provide:Mt,useExisting:(0,h.Rfq)(()=>Qe),multi:!0};let Qe=(()=>{class tt extends He{writeValue(pe){this.setProperty("checked",pe)}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("change",function(Ds){return Ln.onChange(Ds.target.checked)})("blur",function(){return Ln.onTouched()})},standalone:!1,features:[y.Jv_([Ge]),y.Vt3]})}return tt})();const Xe={provide:Mt,useExisting:(0,h.Rfq)(()=>ge),multi:!0},Le=new h.nKC("");let ge=(()=>{class tt extends ye{_compositionMode;_composing=!1;constructor(pe,Gt,Ln){super(pe,Gt),this._compositionMode=Ln,null==this._compositionMode&&(this._compositionMode=!function ze(){const tt=(0,M.rb)()?(0,M.rb)().getUserAgent():"";return/android (\d+)/.test(tt.toLowerCase())}())}writeValue(pe){this.setProperty("value",pe??"")}_handleInput(pe){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(pe)}_compositionStart(){this._composing=!0}_compositionEnd(pe){this._composing=!1,this._compositionMode&&this.onChange(pe)}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(y.sFG),y.rXU(y.aKT),y.rXU(Le,8))};static \u0275dir=y.FsC({type:tt,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(Gt,Ln){1&Gt&&y.bIt("input",function(Ds){return Ln._handleInput(Ds.target.value)})("blur",function(){return Ln.onTouched()})("compositionstart",function(){return Ln._compositionStart()})("compositionend",function(Ds){return Ln._compositionEnd(Ds.target.value)})},standalone:!1,features:[y.Jv_([Xe]),y.Vt3]})}return tt})();function ue(tt){return null==tt||0===kt(tt)}function kt(tt){return null==tt?null:Array.isArray(tt)||"string"==typeof tt?tt.length:tt instanceof Set?tt.size:null}const Je=new h.nKC(""),Ke=new h.nKC(""),$e=/^(?=.{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 lt{static min(Et){return q(Et)}static max(Et){return de(Et)}static required(Et){return ae(Et)}static requiredTrue(Et){return function he(tt){return!0===tt.value?null:{required:!0}}(Et)}static email(Et){return Ne(Et)}static minLength(Et){return function ve(tt){return Et=>{const pe=Et.value?.length??kt(Et.value);return null===pe||0===pe?null:pe<tt?{minlength:{requiredLength:tt,actualLength:pe}}:null}}(Et)}static maxLength(Et){return at(Et)}static pattern(Et){return Ut(Et)}static nullValidator(Et){return null}static compose(Et){return wt(Et)}static composeAsync(Et){return ie(Et)}}function q(tt){return Et=>{if(null==Et.value||null==tt)return null;const pe=parseFloat(Et.value);return!isNaN(pe)&&pe<tt?{min:{min:tt,actual:Et.value}}:null}}function de(tt){return Et=>{if(null==Et.value||null==tt)return null;const pe=parseFloat(Et.value);return!isNaN(pe)&&pe>tt?{max:{max:tt,actual:Et.value}}:null}}function ae(tt){return ue(tt.value)?{required:!0}:null}function Ne(tt){return ue(tt.value)||$e.test(tt.value)?null:{email:!0}}function at(tt){return Et=>{const pe=Et.value?.length??kt(Et.value);return null!==pe&&pe>tt?{maxlength:{requiredLength:tt,actualLength:pe}}:null}}function Ut(tt){if(!tt)return nt;let Et,pe;return"string"==typeof tt?(pe="","^"!==tt.charAt(0)&&(pe+="^"),pe+=tt,"$"!==tt.charAt(tt.length-1)&&(pe+="$"),Et=ne
1w RegExp(pe)):(pe=tt.toString(),Et=tt),Gt=>{if(ue(Gt.value))return null;const Ln=Gt.value;return Et.test(Ln)?null:{pattern:{requiredPattern:pe,actualValue:Ln}}}}function nt(tt){return null}function cn(tt){return null!=tt}function hn(tt){return(0,y.yLl)(tt)?(0,B.H)(tt):tt}function qt(tt){let Et={};return tt.forEach(pe=>{Et=null!=pe?{...Et,...pe}:Et}),0===Object.keys(Et).length?null:Et}function Te(tt,Et){return Et.map(pe=>pe(tt))}function yt(tt){return tt.map(Et=>function Pe(tt){return!tt.validate}(Et)?Et:pe=>Et.validate(pe))}function wt(tt){if(!tt)return null;const Et=tt.filter(cn);return 0==Et.length?null:function(pe){return qt(Te(pe,Et))}}function Ie(tt){return null!=tt?wt(yt(tt)):null}function ie(tt){if(!tt)return null;const Et=tt.filter(cn);return 0==Et.length?null:function(pe){const Gt=Te(pe,Et).map(hn);return(0,H.p)(Gt).pipe((0,x.T)(qt))}}function je(tt){return null!=tt?ie(yt(tt)):null}function rt(tt,Et){return null===tt?[Et]:Array.isArray(tt)?[...tt,Et]:[tt,Et]}function Ze(tt){return tt._rawValidators}function We(tt){return tt._rawAsyncValidators}function Ot(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function Me(tt,Et){return Array.isArray(tt)?tt.includes(Et):tt===Et}function It(tt,Et){const pe=Ot(Et);return Ot(tt).forEach(Ln=>{Me(pe,Ln)||pe.push(Ln)}),pe}function Zt(tt,Et){return Ot(Et).filter(pe=>!Me(tt,pe))}class ti{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(Et){this._rawValidators=Et||[],this._composedValidatorFn=Ie(this._rawValidators)}_setAsyncValidators(Et){this._rawAsyncValidators=Et||[],this._composedAsyncValidatorFn=je(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(Et){this._onDestroyCallbacks.push(Et)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Et=>Et()),this._onDestroyCallbacks=[]}reset(Et=void 0){this.control&&this.control.reset(Et)}hasError(Et,pe){return!!this.control&&this.control.hasError(Et,pe)}getError(Et,pe){return this.control?this.control.getError(Et,pe):null}}class Wn extends ti{name;get formDirective(){return null}get path(){return null}}class mr extends ti{_parent=null;name=null;valueAccessor=null}class Bn{_cd;constructor(Et){this._cd=Et}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Tn=(()=>{class tt extends Bn{constructor(pe){super(pe)}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(mr,2))};static \u0275dir=y.FsC({type:tt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Gt,Ln){2&Gt&&y.AVh("ng-untouched",Ln.isUntouched)("ng-touched",Ln.isTouched)("ng-pristine",Ln.isPristine)("ng-dirty",Ln.isDirty)("ng-valid",Ln.isValid)("ng-invalid",Ln.isInvalid)("ng-pending",Ln.isPending)},standalone:!1,features:[y.Vt3]})}return tt})(),Yn=(()=>{class tt extends Bn{constructor(pe){super(pe)}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(Wn,10))};static \u0275dir=y.FsC({type:tt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Gt,Ln){2&Gt&&y.AVh("ng-untouched",Ln.isUntouched)("ng-touched",Ln.isTouched)("ng-pristine",Ln.isPristine)("ng-dirty",Ln.isDirty)("ng-valid",Ln.isValid)("ng-invalid",Ln.isInvalid)("ng-pending",Ln.isPending)("ng-submitted",Ln.isSubmitted)},standalone:!1,features:[y.Vt3]})}return tt})();const Ce="VALID",Ue="INVALID",Tt="PENDING",fe="DISABLED";class we{}class _e extends we{value;source;constructor(Et,pe){super(),this.value=Et,this.source=pe}}class L extends we{pristine;source;constructor(Et,pe){super(),this.pristine=Et,this.source=pe}}class j extends we{touched;source;constructor(Et,pe){super(),this.touched=Et,this.source=pe}}class X extends we{status;source;constructor(Et,pe){super(),this.status=Et,this.source=pe}}class qe extends we{source;constructor(Et){super(),this.source=Et}}class Yt extends we{source;constructor(Et){super(),this.source=Et}}function On(tt){return(Er(tt)?tt.validators:tt)||null}function Qi(tt,Et){return(Er(Et)?Et.asyncValidators:tt)||null}function Er(tt){return null!=tt&&!Array.isArray(tt)&&"object"==typeof tt}function _n(tt,Et,pe){const Gt=tt.controls;if(!(Et?Object.keys(Gt):Gt).length)throw new h.buA(1e3,"");if(!Gt[pe])throw new h.buA(1001,"")}function an(tt,Et,pe){tt._forEachChild((Gt,Ln)=>
1{if(void 0===pe[Ln])throw new h.buA(1002,"")})}class Pt{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(Et,pe){this._assignValidators(Et),this._assignAsyncValidators(pe)}get validator(){return this._composedValidatorFn}set validator(Et){this._rawValidators=this._composedValidatorFn=Et}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Et){this._rawAsyncValidators=this._composedAsyncValidatorFn=Et}get parent(){return this._parent}get status(){return(0,T.O8)(this.statusReactive)}set status(Et){(0,T.O8)(()=>this.statusReactive.set(Et))}_status=(0,T.EW)(()=>this.statusReactive());statusReactive=(0,h.vPA)(void 0);get valid(){return this.status===Ce}get invalid(){return this.status===Ue}get pending(){return this.status==Tt}get disabled(){return this.status===fe}get enabled(){return this.status!==fe}errors;get pristine(){return(0,T.O8)(this.pristineReactive)}set pristine(Et){(0,T.O8)(()=>this.pristineReactive.set(Et))}_pristine=(0,T.EW)(()=>this.pristineReactive());pristineReactive=(0,h.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,T.O8)(this.touchedReactive)}set touched(Et){(0,T.O8)(()=>this.touchedReactive.set(Et))}_touched=(0,T.EW)(()=>this.touchedReactive());touchedReactive=(0,h.vPA)(!1);get untouched(){return!this.touched}_events=new k.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Et){this._assignValidators(Et)}setAsyncValidators(Et){this._assignAsyncValidators(Et)}addValidators(Et){this.setValidators(It(Et,this._rawValidators))}addAsyncValidators(Et){this.setAsyncValidators(It(Et,this._rawAsyncValidators))}removeValidators(Et){this.setValidators(Zt(Et,this._rawValidators))}removeAsyncValidators(Et){this.setAsyncValidators(Zt(Et,this._rawAsyncValidators))}hasValidator(Et){return Me(this._rawValidators,Et)}hasAsyncValidator(Et){return Me(this._rawAsyncValidators,Et)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Et={}){const pe=!1===this.touched;this.touched=!0;const Gt=Et.sourceControl??this;this._parent&&!Et.onlySelf&&this._parent.markAsTouched({...Et,sourceControl:Gt}),pe&&!1!==Et.emitEvent&&this._events.next(new j(!0,Gt))}markAllAsDirty(Et={}){this.markAsDirty({onlySelf:!0,emitEvent:Et.emitEvent,sourceControl:this}),this._forEachChild(pe=>pe.markAllAsDirty(Et))}markAllAsTouched(Et={}){this.markAsTouched({onlySelf:!0,emitEvent:Et.emitEvent,sourceControl:this}),this._forEachChild(pe=>pe.markAllAsTouched(Et))}markAsUntouched(Et={}){const pe=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Gt=Et.sourceControl??this;this._forEachChild(Ln=>{Ln.markAsUntouched({onlySelf:!0,emitEvent:Et.emitEvent,sourceControl:Gt})}),this._parent&&!Et.onlySelf&&this._parent._updateTouched(Et,Gt),pe&&!1!==Et.emitEvent&&this._events.next(new j(!1,Gt))}markAsDirty(Et={}){const pe=!0===this.pristine;this.pristine=!1;const Gt=Et.sourceControl??this;this._parent&&!Et.onlySelf&&this._parent.markAsDirty({...Et,sourceControl:Gt}),pe&&!1!==Et.emitEvent&&this._events.next(new L(!1,Gt))}markAsPristine(Et={}){const pe=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Gt=Et.sourceControl??this;this._forEachChild(Ln=>{Ln.markAsPristine({onlySelf:!0,emitEvent:Et.emitEvent})}),this._parent&&!Et.onlySelf&&this._parent._updatePristine(Et,Gt),pe&&!1!==Et.emitEvent&&this._events.next(new L(!0,Gt))}markAsPending(Et={}){this.status=Tt;const pe=Et.sourceControl??this;!1!==Et.emitEvent&&(this._events.next(new X(this.status,pe)),this.statusChanges.emit(this.status)),this._parent&&!Et.onlySelf&&this._parent.markAsPending({...Et,sourceControl:pe})}disable(Et={}){const pe=this._parentMarkedDirty(Et.onlySelf);this.status=fe,this.errors=null,this._forEachChild(Ln=>{Ln.disable({...Et,onlySelf:!0})}),this._updateValue();const Gt=Et.sourceControl??this;!1!==Et.emitEvent&&(this._events.next(new _e(this.value,Gt)),this._events.next(new X(this.status,Gt)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Et,skipPristineCheck:pe},this),this._onDisabledChange.forEach(Ln=>Ln(!0))}enable(Et={}){const pe=this._parentMarkedDirty(Et.onlySelf);
1this.status=Ce,this._forEachChild(Gt=>{Gt.enable({...Et,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Et.emitEvent}),this._updateAncestors({...Et,skipPristineCheck:pe},this),this._onDisabledChange.forEach(Gt=>Gt(!1))}_updateAncestors(Et,pe){this._parent&&!Et.onlySelf&&(this._parent.updateValueAndValidity(Et),Et.skipPristineCheck||this._parent._updatePristine({},pe),this._parent._updateTouched({},pe))}setParent(Et){this._parent=Et}getRawValue(){return this.value}updateValueAndValidity(Et={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Gt=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ce||this.status===Tt)&&this._runAsyncValidator(Gt,Et.emitEvent)}const pe=Et.sourceControl??this;!1!==Et.emitEvent&&(this._events.next(new _e(this.value,pe)),this._events.next(new X(this.status,pe)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Et.onlySelf&&this._parent.updateValueAndValidity({...Et,sourceControl:pe})}_updateTreeValidity(Et={emitEvent:!0}){this._forEachChild(pe=>pe._updateTreeValidity(Et)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Et.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fe:Ce}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Et,pe){if(this.asyncValidator){this.status=Tt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==pe,shouldHaveEmitted:!1!==Et};const Gt=hn(this.asyncValidator(this));this._asyncValidationSubscription=Gt.subscribe(Ln=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ln,{emitEvent:pe,shouldHaveEmitted:Et})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const Et=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,Et}return!1}setErrors(Et,pe={}){this.errors=Et,this._updateControlsErrors(!1!==pe.emitEvent,this,pe.shouldHaveEmitted)}get(Et){let pe=Et;return null==pe||(Array.isArray(pe)||(pe=pe.split(".")),0===pe.length)?null:pe.reduce((Gt,Ln)=>Gt&&Gt._find(Ln),this)}getError(Et,pe){const Gt=pe?this.get(pe):this;return Gt&&Gt.errors?Gt.errors[Et]:null}hasError(Et,pe){return!!this.getError(Et,pe)}get root(){let Et=this;for(;Et._parent;)Et=Et._parent;return Et}_updateControlsErrors(Et,pe,Gt){this.status=this._calculateStatus(),Et&&this.statusChanges.emit(this.status),(Et||Gt)&&this._events.next(new X(this.status,pe)),this._parent&&this._parent._updateControlsErrors(Et,pe,Gt)}_initObservables(){this.valueChanges=new y.bkB,this.statusChanges=new y.bkB}_calculateStatus(){return this._allControlsDisabled()?fe:this.errors?Ue:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tt)?Tt:this._anyControlsHaveStatus(Ue)?Ue:Ce}_anyControlsHaveStatus(Et){return this._anyControls(pe=>pe.status===Et)}_anyControlsDirty(){return this._anyControls(Et=>Et.dirty)}_anyControlsTouched(){return this._anyControls(Et=>Et.touched)}_updatePristine(Et,pe){const Gt=!this._anyControlsDirty(),Ln=this.pristine!==Gt;this.pristine=Gt,this._parent&&!Et.onlySelf&&this._parent._updatePristine(Et,pe),Ln&&this._events.next(new L(this.pristine,pe))}_updateTouched(Et={},pe){this.touched=this._anyControlsTouched(),this._events.next(new j(this.touched,pe)),this._parent&&!Et.onlySelf&&this._parent._updateTouched(Et,pe)}_onDisabledChange=[];_registerOnCollectionChange(Et){this._onCollectionChange=Et}_setUpdateStrategy(Et){Er(Et)&&null!=Et.updateOn&&(this._updateOn=Et.updateOn)}_parentMarkedDirty(Et){return!Et&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Et){return null}_assignValidators(Et){this._rawValidators=Array.isArray(Et)?Et.slice():Et,this._composedValidatorFn=function wi(tt){return Array.isArray(tt)?Ie(tt):tt||null}(this._rawValidators)}_assignAsyncValidators(Et){this._rawAsyncValidators=Array.isArray(Et)?Et.slice():Et,this._composedAsyncValidatorFn=function Tr(tt){return Array.isArray(tt)?je(tt):tt||null}(this._rawAsyncValidators)}}class ke extends Pt{constructor(Et,pe,Gt){super(On(pe),Qi(Gt,pe)),this.controls=Et,this._initOb
vendor: 5,474 bytes, line 1
1servables(),this._setUpdateStrategy(pe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(Et,pe){return this.controls[Et]?this.controls[Et]:(this.controls[Et]=pe,pe.setParent(this),pe._registerOnCollectionChange(this._onCollectionChange),pe)}addControl(Et,pe,Gt={}){this.registerControl(Et,pe),this.updateValueAndValidity({emitEvent:Gt.emitEvent}),this._onCollectionChange()}removeControl(Et,pe={}){this.controls[Et]&&this.controls[Et]._registerOnCollectionChange(()=>{}),delete this.controls[Et],this.updateValueAndValidity({emitEvent:pe.emitEvent}),this._onCollectionChange()}setControl(Et,pe,Gt={}){this.controls[Et]&&this.controls[Et]._registerOnCollectionChange(()=>{}),delete this.controls[Et],pe&&this.registerControl(Et,pe),this.updateValueAndValidity({emitEvent:Gt.emitEvent}),this._onCollectionChange()}contains(Et){return this.controls.hasOwnProperty(Et)&&this.controls[Et].enabled}setValue(Et,pe={}){an(this,0,Et),Object.keys(Et).forEach(Gt=>{_n(this,!0,Gt),this.controls[Gt].setValue(Et[Gt],{onlySelf:!0,emitEvent:pe.emitEvent})}),this.updateValueAndValidity(pe)}patchValue(Et,pe={}){null!=Et&&(Object.keys(Et).forEach(Gt=>{const Ln=this.controls[Gt];Ln&&Ln.patchValue(Et[Gt],{onlySelf:!0,emitEvent:pe.emitEvent})}),this.updateValueAndValidity(pe))}reset(Et={},pe={}){this._forEachChild((Gt,Ln)=>{Gt.reset(Et?Et[Ln]:null,{onlySelf:!0,emitEvent:pe.emitEvent})}),this._updatePristine(pe,this),this._updateTouched(pe,this),this.updateValueAndValidity(pe),!1!==pe?.emitEvent&&this._events.next(new Yt(this))}getRawValue(){return this._reduceChildren({},(Et,pe,Gt)=>(Et[Gt]=pe.getRawValue(),Et))}_syncPendingControls(){let Et=this._reduceChildren(!1,(pe,Gt)=>!!Gt._syncPendingControls()||pe);return Et&&this.updateValueAndValidity({onlySelf:!0}),Et}_forEachChild(Et){Object.keys(this.controls).forEach(pe=>{const Gt=this.controls[pe];Gt&&Et(Gt,pe)})}_setUpControls(){this._forEachChild(Et=>{Et.setParent(this),Et._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Et){for(const[pe,Gt]of Object.entries(this.controls))if(this.contains(pe)&&Et(Gt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(pe,Gt,Ln)=>((Gt.enabled||this.disabled)&&(pe[Ln]=Gt.value),pe))}_reduceChildren(Et,pe){let Gt=Et;return this._forEachChild((Ln,Qr)=>{Gt=pe(Gt,Ln,Qr)}),Gt}_allControlsDisabled(){for(const Et of Object.keys(this.controls))if(this.controls[Et].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Et){return this.controls.hasOwnProperty(Et)?this.controls[Et]:null}}class Rn extends ke{}const gt=new h.nKC("",{providedIn:"root",factory:()=>zn}),zn="always";function ft(tt,Et){return[...Et.path,tt]}function Bt(tt,Et,pe=zn){Mr(tt,Et),Et.valueAccessor.writeValue(tt.value),(tt.disabled||"always"===pe)&&Et.valueAccessor.setDisabledState?.(tt.disabled),function wn(tt,Et){Et.valueAccessor.registerOnChange(pe=>{tt._pendingValue=pe,tt._pendingChange=!0,tt._pendingDirty=!0,"change"===tt.updateOn&&Di(tt,Et)})}(tt,Et),function Ai(tt,Et){const pe=(Gt,Ln)=>{Et.valueAccessor.writeValue(Gt),Ln&&Et.viewToModelUpdate(Gt)};tt.registerOnChange(pe),Et._registerOnDestroy(()=>{tt._unregisterOnChange(pe)})}(tt,Et),function In(tt,Et){Et.valueAccessor.registerOnTouched(()=>{tt._pendingTouched=!0,"blur"===tt.updateOn&&tt._pendingChange&&Di(tt,Et),"submit"!==tt.updateOn&&tt.markAsTouched()})}(tt,Et),function Gi(tt,Et){if(Et.valueAccessor.setDisabledState){const pe=Gt=>{Et.valueAccessor.setDisabledState(Gt)};tt.registerOnDisabledChange(pe),Et._registerOnDestroy(()=>{tt._unregisterOnDisabledChange(pe)})}}(tt,Et)}function xn(tt,Et,pe=!0){const Gt=()=>{};Et.valueAccessor&&(Et.valueAccessor.registerOnChange(Gt),Et.valueAccessor.registerOnTouched(Gt)),$t(tt,Et),tt&&(Et._invokeOnDestroyCallbacks(),tt._registerOnCollectionChange(()=>{}))}function Ti(tt,Et){tt.forEach(pe=>{pe.registerOnValidatorChange&&pe.registerOnValidatorChange(Et)})}function Mr(tt,Et){const pe=Ze(tt);null!==Et.validator?tt.setValidators(rt(pe,Et.validator)):"function"==typeof pe&&tt.setValidators([pe]);const Gt=We(tt);null!==Et.asyncValidator?tt.setAsyncValidators(rt(Gt,Et.asyncValidator)):"function"==typeof Gt&&tt.setAsyncValidators([Gt]);const Ln=()=>tt.updateValueAndValidity();Ti(Et._rawValidators,Ln),Ti(Et._rawAsyncValidators,Ln)}function $t(tt,Et){let pe=!1;if(null!==tt){if(null!==Et.validator){const Ln=Ze(tt);if(Array.isArray(Ln)&&Ln.length>0){const Qr=Ln.filter(Ds=>Ds!==Et.validator);Qr.length!==Ln.length&&(pe=!0,tt.setValidators(Qr))}}if(null!==Et.asyncValidator){const Ln=We(tt);if(Array.isArray(Ln)&&Ln.length>0){const Qr=Ln.filter(Ds=>Ds!==Et.asyncValidator);Qr.length!==Ln.length&&(pe=!0,tt.setAsyncValidators(Qr))}}}const Gt=()=>{};return Ti(Et._rawValidators,Gt),Ti(Et._rawAsyncValidators,Gt),pe}function Di(tt,Et){tt._pendingDirty&&tt.markAsDirty(),tt.setValue(tt._pendingValue,{emitModelToViewChange:!1}),Et.viewToModelUpdate(tt._pendingValue),tt._pendingChange=!1}function ki(tt,Et){Mr(tt,Et)}function Xs(tt,Et){if(!tt.hasOwnProperty("model"))return!1;const pe=tt.model;return!!pe.isFirstChange()||!Object.is(Et,pe.currentValue)}function po(tt,Et){tt._syncPendingControls(),Et.forEach(pe=>{const Gt=pe.control;"submit"===Gt.updateOn&&Gt._pendingChange&&(pe.viewToModelUpdate(Gt._pendingValue),Gt._pendingChange=!1)})}function Ks(tt,Et){if(!Et)return null;let pe,Gt,Ln;return Array.isArray(Et),Et.forEach(Qr=>
1{Qr.constructor===ge?pe=Qr:function Fs(tt){return Object.getPrototypeOf(tt.constructor)===He}(Qr)?Gt=Qr:Ln=Qr}),Ln||Gt||pe||null}const vi={provide:Wn,useExisting:(0,h.Rfq)(()=>Jt)},Ni=Promise.resolve();let Jt=(()=>{class tt extends Wn{callSetDisabledState;get submitted(){return(0,T.O8)(this.submittedReactive)}_submitted=(0,T.EW)(()=>this.submittedReactive());submittedReactive=(0,h.vPA)(!1);_directives=new Set;form;ngSubmit=new y.bkB;options;constructor(pe,Gt,Ln){super(),this.callSetDisabledState=Ln,this.form=new ke({},Ie(pe),je(Gt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(pe){Ni.then(()=>{const Gt=this._findContainer(pe.path);pe.control=Gt.registerControl(pe.name,pe.control),Bt(pe.control,pe,this.callSetDisabledState),pe.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(pe)})}getControl(pe){return this.form.get(pe.path)}removeControl(pe){Ni.then(()=>{const Gt=this._findContainer(pe.path);Gt&&Gt.removeControl(pe.name),this._directives.delete(pe)})}addFormGroup(pe){Ni.then(()=>{const Gt=this._findContainer(pe.path),Ln=new ke({});ki(Ln,pe),Gt.registerControl(pe.name,Ln),Ln.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(pe){Ni.then(()=>{const Gt=this._findContainer(pe.path);Gt&&Gt.removeControl(pe.name)})}getFormGroup(pe){return this.form.get(pe.path)}updateModel(pe,Gt){Ni.then(()=>{this.form.get(pe.path).setValue(Gt)})}setValue(pe){this.control.setValue(pe)}onSubmit(pe){return this.submittedReactive.set(!0),po(this.form,this._directives),this.ngSubmit.emit(pe),this.form._events.next(new qe(this.control)),"dialog"===pe?.target?.method}onReset(){this.resetForm()}resetForm(pe=void 0){this.form.reset(pe),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(pe){return pe.pop(),pe.length?this.form.get(pe):this.form}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(Je,10),y.rXU(Ke,10),y.rXU(gt,8))};static \u0275dir=y.FsC({type:tt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("submit",function(Ds){return Ln.onSubmit(Ds)})("reset",function(){return Ln.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[y.Jv_([vi]),y.Vt3]})}return tt})();function Ri(tt,Et){const pe=tt.indexOf(Et);pe>-1&&tt.splice(pe,1)}function Q(tt){return"object"==typeof tt&&null!==tt&&2===Object.keys(tt).length&&"value"in tt&&"disabled"in tt}const st=class extends Pt{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(Et=null,pe,Gt){super(On(pe),Qi(Gt,pe)),this._applyFormState(Et),this._setUpdateStrategy(pe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Er(pe)&&(pe.nonNullable||pe.initialValueIsDefault)&&(this.defaultValue=Q(Et)?Et.value:Et)}setValue(Et,pe={}){this.value=this._pendingValue=Et,this._onChange.length&&!1!==pe.emitModelToViewChange&&this._onChange.forEach(Gt=>Gt(this.value,!1!==pe.emitViewToModelChange)),this.updateValueAndValidity(pe)}patchValue(Et,pe={}){this.setValue(Et,pe)}reset(Et=this.defaultValue,pe={}){this._applyFormState(Et),this.markAsPristine(pe),this.markAsUntouched(pe),this.setValue(this.value,pe),this._pendingChange=!1,!1!==pe?.emitEvent&&this._events.next(new Yt(this))}_updateValue(){}_anyControls(Et){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Et){this._onChange.push(Et)}_unregisterOnChange(Et){Ri(this._onChange,Et)}registerOnDisabledChange(Et){this._onDisabledChange.push(Et)}_unregisterOnDisabledChange(Et){Ri(this._onDisabledChange,Et)}_forEachChild(Et){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}
1_applyFormState(Et){Q(Et)?(this.value=this._pendingValue=Et.value,Et.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Et}},ot=st,Dt={provide:mr,useExisting:(0,h.Rfq)(()=>Lt)},An=Promise.resolve();let Lt=(()=>{class tt extends mr{_changeDetectorRef;callSetDisabledState;control=new st;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new y.bkB;constructor(pe,Gt,Ln,Qr,Ds,_o){super(),this._changeDetectorRef=Ds,this.callSetDisabledState=_o,this._parent=pe,this._setValidators(Gt),this._setAsyncValidators(Ln),this.valueAccessor=Ks(0,Qr)}ngOnChanges(pe){if(this._checkForErrors(),!this._registered||"name"in pe){if(this._registered&&(this._checkName(),this.formDirective)){const Gt=pe.name.previousValue;this.formDirective.removeControl({name:Gt,path:this._getPath(Gt)})}this._setUpControl()}"isDisabled"in pe&&this._updateDisabled(pe),Xs(pe,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(pe){this.viewModel=pe,this.update.emit(pe)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Bt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(pe){An.then(()=>{this.control.setValue(pe,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(pe){const Gt=pe.isDisabled.currentValue,Ln=0!==Gt&&(0,v.L39)(Gt);An.then(()=>{Ln&&!this.control.disabled?this.control.disable():!Ln&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(pe){return this._parent?ft(pe,this._parent):[pe]}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(Wn,9),y.rXU(Je,10),y.rXU(Ke,10),y.rXU(Mt,10),y.rXU(v.gRc,8),y.rXU(gt,8))};static \u0275dir=y.FsC({type:tt,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[y.Jv_([Dt]),y.Vt3,y.OA$]})}return tt})(),dt=(()=>{class tt{static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275dir=y.FsC({type:tt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return tt})();const qi={provide:Mt,useExisting:(0,h.Rfq)(()=>br),multi:!0};let br=(()=>{class tt extends He{writeValue(pe){this.setProperty("value",pe??"")}registerOnChange(pe){this.onChange=Gt=>{pe(""==Gt?null:parseFloat(Gt))}}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("input",function(Ds){return Ln.onChange(Ds.target.value)})("blur",function(){return Ln.onTouched()})},standalone:!1,features:[y.Jv_([qi]),y.Vt3]})}return tt})();const $i={provide:Mt,useExisting:(0,h.Rfq)(()=>Fn),multi:!0};let Mn=(()=>{class tt{_accessors=[];add(pe,Gt){this._accessors.push([pe,Gt])}remove(pe){for(let Gt=this._accessors.length-1;Gt>=0;--Gt)if(this._accessors[Gt][1]===pe)return void this._accessors.splice(Gt,1)}select(pe){this._accessors.forEach(Gt=>{this._isSameGroup(Gt,pe)&&Gt[1]!==pe&&Gt[1].fireUncheck(pe.value)})}_isSameGroup(pe,Gt){return!!pe[0].control&&pe[0]._parent===Gt._control._parent&&pe[1].name===Gt.name}static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275prov=h.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),Fn=(()=>{class tt extends He{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,h.WQX)(gt,{optional:!0})??zn;constructor(pe,Gt,Ln,Qr){super(pe,Gt),this._registry=Ln,this._injector=Qr}ngOnInit(){this._control=this._injector.get(mr),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(pe){this._state=pe===this.value,this.setProperty("checked",this._state)}registerOnChange(pe){this._fn=pe,this.onChange=()=>{pe(this.value),this._registry.select(this)}}setDisabledState(pe){(this.setDisabledStateFired||pe||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",pe),this.setDisabledStateFired=!0}fireUncheck(pe){this.writeValue(pe)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(y.sFG),y.rXU(y.aKT),y.rXU(Mn),y.rXU(h.zZn))};static \u0275dir=y.FsC({type:tt,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("change",function(){return Ln.onChange()})("blur",function(){return Ln.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[y.Jv_([$i]),y.Vt3]})}return tt})();const Ui=new h.nKC(""),Rs={provide:Wn,useExisting:(0,h.Rfq)(()=>ls)};let ls=(()=>{class tt extends Wn{callSetDisabledState;get submitted(){return(0,T.O8)(this._submittedReactive)}set submitted(pe){this._submittedReactive.set(pe)}_submitted=(0,T.EW)(()=>this._submittedReactive());_submittedReactive=(0,h.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new y.bkB;constructor(pe,Gt,Ln){super(),this.callSetDisabledState=Ln,this._setValidators(pe),this._setAsyncValidators(Gt)}
1ngOnChanges(pe){pe.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&($t(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(pe){const Gt=this.form.get(pe.path);return Bt(Gt,pe,this.callSetDisabledState),Gt.updateValueAndValidity({emitEvent:!1}),this.directives.push(pe),Gt}getControl(pe){return this.form.get(pe.path)}removeControl(pe){xn(pe.control||null,pe,!1),function as(tt,Et){const pe=tt.indexOf(Et);pe>-1&&tt.splice(pe,1)}(this.directives,pe)}addFormGroup(pe){this._setUpFormContainer(pe)}removeFormGroup(pe){this._cleanUpFormContainer(pe)}getFormGroup(pe){return this.form.get(pe.path)}addFormArray(pe){this._setUpFormContainer(pe)}removeFormArray(pe){this._cleanUpFormContainer(pe)}getFormArray(pe){return this.form.get(pe.path)}updateModel(pe,Gt){this.form.get(pe.path).setValue(Gt)}onSubmit(pe){return this._submittedReactive.set(!0),po(this.form,this.directives),this.ngSubmit.emit(pe),this.form._events.next(new qe(this.control)),"dialog"===pe?.target?.method}onReset(){this.resetForm()}resetForm(pe=void 0,Gt={}){this.form.reset(pe,Gt),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(pe=>{const Gt=pe.control,Ln=this.form.get(pe.path);Gt!==Ln&&(xn(Gt||null,pe),(tt=>tt instanceof st)(Ln)&&(Bt(Ln,pe,this.callSetDisabledState),pe.control=Ln))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(pe){const Gt=this.form.get(pe.path);ki(Gt,pe),Gt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(pe){if(this.form){const Gt=this.form.get(pe.path);Gt&&function _r(tt,Et){return $t(tt,Et)}(Gt,pe)&&Gt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mr(this.form,this),this._oldForm&&$t(this._oldForm,this)}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(Je,10),y.rXU(Ke,10),y.rXU(gt,8))};static \u0275dir=y.FsC({type:tt,selectors:[["","formGroup",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("submit",function(Ds){return Ln.onSubmit(Ds)})("reset",function(){return Ln.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[y.Jv_([Rs]),y.Vt3,y.OA$]})}return tt})();const Ct={provide:mr,useExisting:(0,h.Rfq)(()=>xt)};let xt=(()=>{class tt extends mr{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(pe){}model;update=new y.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(pe,Gt,Ln,Qr,Ds){super(),this._ngModelWarningConfig=Ds,this._parent=pe,this._setValidators(Gt),this._setAsyncValidators(Ln),this.valueAccessor=Ks(0,Qr)}ngOnChanges(pe){this._added||this._setUpControl(),Xs(pe,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(pe){this.viewModel=pe,this.update.emit(pe)}get path(){return ft(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(Wn,13),y.rXU(Je,10),y.rXU(Ke,10),y.rXU(Mt,10),y.rXU(Ui,8))};static \u0275dir=y.FsC({type:tt,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[y.Jv_([Ct]),y.Vt3,y.OA$]})}return tt})();const Hn={provide:Mt,useExisting:(0,h.Rfq)(()=>ur),multi:!0};function fi(tt,Et){return null==tt?`${Et}`:(Et&&"object"==typeof Et&&(Et="Object"),`${tt}: ${Et}`.slice(0,50))}let ur=(()=>{class tt extends He{value;_optionMap=new Map;_idCounter=0;set compareWith(pe){this._compareWith=pe}_compareWith=Object.is;appRefInjector=(0,h.WQX)(y.o8S).injector;destroyRef=(0,h.WQX)(h.abz);cdr=(0,h.WQX)(v.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.de
1stroyed||(this._queuedWrite=!0,(0,y.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(pe){this.cdr.markForCheck(),this.value=pe;const Ln=fi(this._getOptionId(pe),pe);this.setProperty("value",Ln)}registerOnChange(pe){this.onChange=Gt=>{this.value=this._getOptionValue(Gt),pe(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(pe){for(const Gt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Gt),pe))return Gt;return null}_getOptionValue(pe){const Gt=function Hi(tt){return tt.split(":")[0]}(pe);return this._optionMap.has(Gt)?this._optionMap.get(Gt):pe}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("change",function(Ds){return Ln.onChange(Ds.target.value)})("blur",function(){return Ln.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[y.Jv_([Hn]),y.Vt3]})}return tt})(),Lr=(()=>{class tt{_element;_renderer;_select;id;constructor(pe,Gt,Ln){this._element=pe,this._renderer=Gt,this._select=Ln,this._select&&(this.id=this._select._registerOption())}set ngValue(pe){null!=this._select&&(this._select._optionMap.set(this.id,pe),this._setElementValue(fi(this.id,pe)),this._select._writeValueAfterRender())}set value(pe){this._setElementValue(pe),this._select&&this._select._writeValueAfterRender()}_setElementValue(pe){this._renderer.setProperty(this._element.nativeElement,"value",pe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(y.aKT),y.rXU(y.sFG),y.rXU(ur,9))};static \u0275dir=y.FsC({type:tt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return tt})();const Or={provide:Mt,useExisting:(0,h.Rfq)(()=>lo),multi:!0};function is(tt,Et){return null==tt?`${Et}`:("string"==typeof Et&&(Et=`'${Et}'`),Et&&"object"==typeof Et&&(Et="Object"),`${tt}: ${Et}`.slice(0,50))}let lo=(()=>{class tt extends He{value;_optionMap=new Map;_idCounter=0;set compareWith(pe){this._compareWith=pe}_compareWith=Object.is;writeValue(pe){let Gt;if(this.value=pe,Array.isArray(pe)){const Ln=pe.map(Qr=>this._getOptionId(Qr));Gt=(Qr,Ds)=>{Qr._setSelected(Ln.indexOf(Ds.toString())>-1)}}else Gt=(Ln,Qr)=>{Ln._setSelected(!1)};this._optionMap.forEach(Gt)}registerOnChange(pe){this.onChange=Gt=>{const Ln=[],Qr=Gt.selectedOptions;if(void 0!==Qr){const Ds=Qr;for(let _o=0;_o<Ds.length;_o++){const Da=this._getOptionValue(Ds[_o].value);Ln.push(Da)}}else{const Ds=Gt.options;for(let _o=0;_o<Ds.length;_o++){const Yo=Ds[_o];if(Yo.selected){const Da=this._getOptionValue(Yo.value);Ln.push(Da)}}}this.value=Ln,pe(Ln)}}_registerOption(pe){const Gt=(this._idCounter++).toString();return this._optionMap.set(Gt,pe),Gt}_getOptionId(pe){for(const Gt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Gt)._value,pe))return Gt;return null}_getOptionValue(pe){const Gt=function Gr(tt){return tt.split(":")[0]}(pe);return this._optionMap.has(Gt)?this._optionMap.get(Gt)._value:pe}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Gt,Ln){1&Gt&&y.bIt("change",function(Ds){return Ln.onChange(Ds.target)})("blur",function(){return Ln.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[y.Jv_([Or]),y.Vt3]})}return tt})(),ms=(()=>{class tt{_element;_renderer;_select;id;_value;constructor(pe,Gt,Ln){this._element=pe,this._renderer=Gt,this._select=Ln,this._select&&(this.id=this._select._registerOption(this))}set ngValue(pe){null!=this._select&&(this._value=pe,this._setElementValue(is(this.id,pe)),this._select.writeValue(this._select.value))}set value(pe){this._select?(this._value=pe,this._setElementValue(is(this.id,pe)),this._select.writeValue(this._select.value)):this._setElementValue(pe)}_setElementValue(pe){this._renderer.setProperty(this._element.nativeElement,"value",pe)}_setSelected(pe){this._renderer.setProperty(this._element.nativeElement,"selected",pe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static \u0275fac=function(Gt){return new(Gt||tt)(y.rXU(y.aKT),y.rXU(y.sFG),y.rXU(lo,9))};static \u0275dir=y.FsC({type:tt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return tt})();function No(tt){return"number"==typeof tt?tt:parseFloat(tt)}let Do=(()=>{class tt{_validator=nt;_onChange;_enabled;ngOnChanges(pe){if(this.inputName in pe){const Gt=this.normalizeInput(pe[this.inputName].currentValue);this._enabled=this.enabled(Gt),this._validator=this._enabled?this.createValidator(Gt):nt,this._onChange&&this._onChange()}}validate(pe){return this._validator(pe)}registerOnValidatorChange(pe){this._onChange=pe}enabled(pe){return null!=pe}static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275dir=y.FsC({type:tt,features:[y.OA$]})}return tt})();const Oo={provide:Je,useExisting:(0,h.Rfq)(()=>qo),multi:!0};let qo=(()=>{class tt extends Do{max;inputName="max";normalizeInput=pe=>No(pe);createValidator=pe=>de(pe);static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Gt,Ln){2&Gt&&y.BMQ("max",Ln._enabled?Ln.max:null)},inputs:{max:"max"},standalone:!1,features:[y.Jv_([Oo]),y.Vt3]})}return tt})();const Js={provide:Je,useExisting:(0,h.Rfq)(()=>ko),multi:!0};let ko=(()=>{class tt extends Do{min;inputName="min";normalizeInput=pe=>No(pe);createValidator=pe=>q(pe);static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Gt,Ln){2&Gt&&y.BMQ("min",Ln._enabled?Ln.min:null)},inputs:{min:"min"},standalone:!1,features:[y.Jv_([Js]),y.Vt3]})}return tt})();const Uo={provide:Je,useExisting:(0,h.Rfq)(()=>la),multi:!0};let la=(()=>{class tt extends Do{required;inputName="required";normalizeInput=v.L39;createValidator=pe=>ae;enabled(pe){return pe}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Gt,Ln){2&Gt&&y.BMQ("required",Ln._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[y.Jv_([Uo]),y.Vt3]})}return tt})();const Qa={provide:Je,useExisting:(0,h.Rfq)(()=>cs),multi:!0};let cs=(()=>{class tt extends Do{email;inputName="email";normalizeInput=v.L39;createValidator=pe=>Ne;enabled(pe){return pe}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[y.Jv_([Qa]),y.Vt3]})}return tt})();const wl={provide:Je,useExisting:(0,h.Rfq)(()=>Us),multi:!0};let Us=(()=>{class tt extends Do{maxlength;inputName="maxlength";normalizeInput=pe=>function Gs(tt){return"number"==typeof tt?tt:parseInt(tt,10)}(pe);createValidator=pe=>at(pe);static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Gt,Ln){2&Gt&&y.BMQ("maxlength",Ln._enabled?Ln.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[y.Jv_([wl]),y.Vt3]})}return tt})();const Ps={provide:Je,useExisting:(0,h.Rfq)(()=>ba),multi:!0};let ba=(()=>{class tt extends Do{pattern;inputName="pattern";normalizeInput=pe=>pe;createValidator=pe=>Ut(pe);static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275dir=y.FsC({type:tt,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Gt,Ln){2&Gt&&y.BMQ("pattern",Ln._enabled?Ln.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[y.Jv_([Ps]),y.Vt3]})}return tt})(),Sa=(()=>{class tt{static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275mod=y.$C({type:tt});static \u0275inj=h.G2t({})}return tt})();class Fo extends Pt{constructor(Et,pe,Gt){super(On(pe),Qi(Gt,pe)),this.controls=Et,this._initOb
1servables(),this._setUpdateStrategy(pe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(Et){return this.controls[this._adjustIndex(Et)]}push(Et,pe={}){Array.isArray(Et)?Et.forEach(Gt=>{this.controls.push(Gt),this._registerControl(Gt)}):(this.controls.push(Et),this._registerControl(Et)),this.updateValueAndValidity({emitEvent:pe.emitEvent}),this._onCollectionChange()}insert(Et,pe,Gt={}){this.controls.splice(Et,0,pe),this._registerControl(pe),this.updateValueAndValidity({emitEvent:Gt.emitEvent})}removeAt(Et,pe={}){let Gt=this._adjustIndex(Et);Gt<0&&(Gt=0),this.controls[Gt]&&this.controls[Gt]._registerOnCollectionChange(()=>{}),this.controls.splice(Gt,1),this.updateValueAndValidity({emitEvent:pe.emitEvent})}setControl(Et,pe,Gt={}){let Ln=this._adjustIndex(Et);Ln<0&&(Ln=0),this.controls[Ln]&&this.controls[Ln]._registerOnCollectionChange(()=>{}),this.controls.splice(Ln,1),pe&&(this.controls.splice(Ln,0,pe),this._registerControl(pe)),this.updateValueAndValidity({emitEvent:Gt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Et,pe={}){an(this,0,Et),Et.forEach((Gt,Ln)=>{_n(this,!1,Ln),this.at(Ln).setValue(Gt,{onlySelf:!0,emitEvent:pe.emitEvent})}),this.updateValueAndValidity(pe)}patchValue(Et,pe={}){null!=Et&&(Et.forEach((Gt,Ln)=>{this.at(Ln)&&this.at(Ln).patchValue(Gt,{onlySelf:!0,emitEvent:pe.emitEvent})}),this.updateValueAndValidity(pe))}reset(Et=[],pe={}){this._forEachChild((Gt,Ln)=>{Gt.reset(Et[Ln],{onlySelf:!0,emitEvent:pe.emitEvent})}),this._updatePristine(pe,this),this._updateTouched(pe,this),this.updateValueAndValidity(pe),!1!==pe?.emitEvent&&this._events.next(new Yt(this))}getRawValue(){return this.controls.map(Et=>Et.getRawValue())}clear(Et={}){this.controls.length<1||(this._forEachChild(pe=>pe._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Et.emitEvent}))}_adjustIndex(Et){return Et<0?Et+this.length:Et}_syncPendingControls(){let Et=this.controls.reduce((pe,Gt)=>!!Gt._syncPendingControls()||pe,!1);return Et&&this.updateValueAndValidity({onlySelf:!0}),Et}_forEachChild(Et){this.controls.forEach((pe,Gt)=>{Et(pe,Gt)})}_updateValue(){this.value=this.controls.filter(Et=>Et.enabled||this.disabled).map(Et=>Et.value)}_anyControls(Et){return this.controls.some(pe=>pe.enabled&&Et(pe))}_setUpControls(){this._forEachChild(Et=>this._registerControl(Et))}_allControlsDisabled(){for(const Et of this.controls)if(Et.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Et){Et.setParent(this),Et._registerOnCollectionChange(this._onCollectionChange)}_find(Et){return this.at(Et)??null}}function Mo(tt){return!!tt&&(void 0!==tt.asyncValidators||void 0!==tt.validators||void 0!==tt.updateOn)}let pa=(()=>{class tt{useNonNullable=!1;get nonNullable(){const pe=new tt;return pe.useNonNullable=!0,pe}group(pe,Gt=null){const Ln=this._reduceControls(pe);let Qr={};return Mo(Gt)?Qr=Gt:null!==Gt&&(Qr.validators=Gt.validator,Qr.asyncValidators=Gt.asyncValidator),new ke(Ln,Qr)}record(pe,Gt=null){const Ln=this._reduceControls(pe);return new Rn(Ln,Gt)}control(pe,Gt,Ln){let Qr={};return this.useNonNullable?(Mo(Gt)?Qr=Gt:(Qr.validators=Gt,Qr.asyncValidators=Ln),new st(pe,{...Qr,nonNullable:!0})):new st(pe,Gt,Ln)}array(pe,Gt,Ln){const Qr=pe.map(Ds=>this._createControl(Ds));return new Fo(Qr,Gt,Ln)}_reduceControls(pe){const Gt={};return Object.keys(pe).forEach(Ln=>{Gt[Ln]=this._createControl(pe[Ln])}),Gt}_createControl(pe){return pe instanceof st||pe instanceof Pt?pe:Array.isArray(pe)?this.control(pe[0],pe.length>1?pe[1]:null,pe.length>2?pe[2]:null):this.control(pe)}static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275prov=h.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),Kr=(()=>{class tt extends pa{group(pe,Gt=null){return super.group(pe,Gt)}control(pe,Gt,Ln){return super.control(pe,Gt,Ln)}array(pe,Gt,Ln){return super.array(pe,Gt,Ln)}static \u0275fac=(()=>{let pe;return function(Ln){return(pe||(pe=y.xGo(tt)))(Ln||tt)}})();static \u0275prov=h.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"})}return tt})(),el=(()=>{class tt{static withConfig(pe){return{ngModule:tt,providers:[{provide:gt,useValue:pe.callSetDisabledState??zn}]}}static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275mod=y.$C({type:tt});static \u0275inj=h.G2t({imports:[Sa]})}return tt})(),tl=(()=>{class tt{static withConfig(pe){return{ngModule:tt,providers:[{provide:Ui,useValue:pe.warnOnNgModelWithFormControl??"always"},{provide:gt,useValue:pe.callSetDisabledState??zn}]}}static \u0275fac=function(Gt){return new(Gt||tt)};static \u0275mod=y.$C({type:tt});static \u0275inj=h.G2t({imports:[Sa]})}return tt})()},1804(tn,Ye,d){"use strict";d.d(Ye,{Rc:()=>H,_J:()=>k});var o=d(4330),s=d(2615),h=d(3664);const y=new s.nKC("MATERIAL_ANIMATIONS");let M=null;function k(){return(0,s.WQX)(y,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,s.WQX)(h.bc$,{optional:!0})?"di-disabled":(M??=(0,s.WQX)(o.D).matchMedia("(prefers-reduced-motion)").matches,M?"reduced-motion":"enabled")}function H(){return"enabled"!==k()}},5571(tn,Ye,d){"use strict";d.d(Ye,{Vg:()=>de,ec:()=>lt,pc:()=>q});var o=d(6838),s=d(9726),h=d(1577),y=d(3869),v=d(7336),T=d(438),M=d(8968),k=d(2615),H=d(3664),B=d(7705),x=d(9417),ye=d(2496),He=d(3386),Mt=d(1804),Ge=d(2046),Qe=d(2466),Xe=d(6881);const ze=["button"],Le=["*"];function ge(ae,he){if(1&ae&&(H.j41(0,"div",2),H.nrm(1,"mat-pseudo-checkbox",6),H.k0s()),2&ae){const Ne=H.XpG();H.R7$(),H.Y8G("disabled",Ne.disabled)}}const ue=new k.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function kt(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}}
1),Je=new k.nKC("MatButtonToggleGroup"),Ke={provide:x.kq,useExisting:(0,k.Rfq)(()=>lt),multi:!0};class $e{source;value;constructor(he,Ne){this.source=he,this.value=Ne}}let lt=(()=>{class ae{_changeDetector=(0,k.WQX)(B.gRc);_dir=(0,k.WQX)(h.dS,{optional:!0});_multiple=!1;_disabled=!1;_disabledInteractive=!1;_selectionModel;_rawValue;_controlValueAccessorChangeFn=()=>{};_onTouched=()=>{};_buttonToggles;appearance;get name(){return this._name}set name(Ne){this._name=Ne,this._markButtonsForCheck()}_name=(0,k.WQX)(s.g).getId("mat-button-toggle-group-");vertical;get value(){const Ne=this._selectionModel?this._selectionModel.selected:[];return this.multiple?Ne.map(ve=>ve.value):Ne[0]?Ne[0].value:void 0}set value(Ne){this._setSelectionByValue(Ne),this.valueChange.emit(this.value)}valueChange=new H.bkB;get selected(){const Ne=this._selectionModel?this._selectionModel.selected:[];return this.multiple?Ne:Ne[0]||null}get multiple(){return this._multiple}set multiple(Ne){this._multiple=Ne,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(Ne){this._disabled=Ne,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(Ne){this._disabledInteractive=Ne,this._markButtonsForCheck()}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}change=new H.bkB;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Ne){this._hideSingleSelectionIndicator=Ne,this._markButtonsForCheck()}_hideSingleSelectionIndicator;get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(Ne){this._hideMultipleSelectionIndicator=Ne,this._markButtonsForCheck()}_hideMultipleSelectionIndicator;constructor(){const Ne=(0,k.WQX)(ue,{optional:!0});this.appearance=Ne&&Ne.appearance?Ne.appearance:"standard",this.hideSingleSelectionIndicator=Ne?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=Ne?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new y.C(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(Ne=>Ne.checked)),this.multiple||this._initializeTabIndex()}writeValue(Ne){this.value=Ne,this._changeDetector.markForCheck()}registerOnChange(Ne){this._controlValueAccessorChangeFn=Ne}registerOnTouched(Ne){this._onTouched=Ne}setDisabledState(Ne){this.disabled=Ne}_keydown(Ne){if(this.multiple||this.disabled||(0,v.rp)(Ne))return;const at=Ne.target.id,Ut=this._buttonToggles.toArray().findIndex(cn=>cn.buttonId===at);let nt=null;switch(Ne.keyCode){case T.t6:case T.Fm:nt=this._buttonToggles.get(Ut)||null;break;case T.i7:nt=this._getNextButton(Ut,-1);break;case T.UQ:nt=this._getNextButton(Ut,"ltr"===this.dir?-1:1);break;case T.n6:nt=this._getNextButton(Ut,1);break;case T.LE:nt=this._getNextButton(Ut,"ltr"===this.dir?1:-1);break;default:return}nt&&(Ne.preventDefault(),nt._onButtonClick(),nt.focus())}_emitChangeEvent(Ne){const ve=new $e(Ne,this.value);this._rawValue=ve.value,this._controlValueAccessorChangeFn(ve.value),this.change.emit(ve)}_syncButtonToggle(Ne,ve,at=!1,Ut=!1){!this.multiple&&this.selected&&!Ne.checked&&(this.selected.checked=!1),this._selectionModel?ve?this._selectionModel.select(Ne):this._selectionModel.deselect(Ne):Ut=!0,Ut?Promise.resolve().then(()=>this._updateModelValue(Ne,at)):this._updateModelValue(Ne,at)}_isSelected(Ne){return this._selectionModel&&this._selectionModel.isSelected(Ne)}_isPrechecked(Ne){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(ve=>null!=Ne.value&&ve===Ne.value):Ne.value===this._rawValue)}_initializeTabIndex(){if(this._buttonToggles.forEach(Ne=>{Ne.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let Ne=0;Ne<this._buttonToggles.length;Ne++){const ve=this._buttonToggles.get(Ne);if(!ve.disabled){ve.tabIndex=0;break}}}_getNextButton(Ne,ve){const at=this._buttonToggles;for(let Ut=1;Ut<=at.length;Ut++){const cn=at.get((Ne+ve*Ut+at.length)%at.length);if(cn&&!cn.disabled)return cn}return null}_setSelectionByValue(Ne){if(this._rawValue=Ne,!this._buttonToggles)return;const ve=this._buttonToggles.toArray();if(this.multiple&&Ne?(Array.isArray(Ne),this._clearSelection(),Ne.forEach(at=>this._selectValue(at,ve))):(this._clearSelection(),this._selectValue(Ne,ve)),!this.multiple&&ve.every(at=>-1===at.tabIndex))for(const at of ve)if(!at.disabled){at.tabIndex=0;break}}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEac
1h(Ne=>{Ne.checked=!1,this.multiple||(Ne.tabIndex=-1)})}_selectValue(Ne,ve){for(const at of ve)if(at.value===Ne){at.checked=!0,this._selectionModel.select(at),this.multiple||(at.tabIndex=0);break}}_updateModelValue(Ne,ve){ve&&this._emitChangeEvent(Ne),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(Ne=>Ne._markForCheck())}static \u0275fac=function(ve){return new(ve||ae)};static \u0275dir=H.FsC({type:ae,selectors:[["mat-button-toggle-group"]],contentQueries:function(ve,at,Ut){if(1&ve&&H.wni(Ut,q,5),2&ve){let nt;H.mGM(nt=H.lsd())&&(at._buttonToggles=nt)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(ve,at){1&ve&&H.bIt("keydown",function(nt){return at._keydown(nt)}),2&ve&&(H.BMQ("role",at.multiple?"group":"radiogroup")("aria-disabled",at.disabled),H.AVh("mat-button-toggle-vertical",at.vertical)("mat-button-toggle-group-appearance-standard","standard"===at.appearance))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",B.L39],value:"value",multiple:[2,"multiple","multiple",B.L39],disabled:[2,"disabled","disabled",B.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B.L39],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B.L39],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",B.L39]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[H.Jv_([Ke,{provide:Je,useExisting:ae}])]})}return ae})(),q=(()=>{class ae{_changeDetectorRef=(0,k.WQX)(B.gRc);_elementRef=(0,k.WQX)(H.aKT);_focusMonitor=(0,k.WQX)(o.FN);_idGenerator=(0,k.WQX)(s.g);_animationDisabled=(0,Mt.Rc)();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(Ne){this._tabIndex.set(Ne)}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(Ne){this._appearance=Ne}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(Ne){Ne!==this._checked&&(this._checked=Ne,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(Ne){this._disabled=Ne}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||null!==this.buttonToggleGroup&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(Ne){this._disabledInteractive=Ne}_disabledInteractive;change=new H.bkB;constructor(){(0,k.WQX)(M.l).load(Ge.A);const Ne=(0,k.WQX)(Je,{optional:!0}),ve=(0,k.WQX)(new B.ES_("tabindex"),{optional:!0})||"",at=(0,k.WQX)(ue,{optional:!0});this._tabIndex=(0,k.vPA)(parseInt(ve)||0),this.buttonToggleGroup=Ne,this.appearance=at&&at.appearance?at.appearance:"standard",this.disabledInteractive=at?.disabledInteractive??!1}ngOnInit(){const Ne=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),Ne&&(Ne._isPrechecked(this)?this.checked=!0:Ne._isSelected(this)!==this._checked&&Ne._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const Ne=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),Ne&&Ne._isSelected(this)&&Ne._syncButtonToggle(this,!1,!1,!0)}focus(Ne){this._buttonElement.nativeElement.focus(Ne)}_onButtonClick(){if(this.disabled)return;const Ne=!!this.isSingleSelector()||!this._checked;if(Ne!==this._checked&&(this._checked=Ne,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){const ve=this.buttonToggleGroup._buttonToggles.find(at=>0===at.tabIndex);ve&&(ve.tabIndex=-1),this.tabIndex=0}this.change.emit(new $e(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static \u0275fac=function(ve){return new(ve||ae)};static \u0275cmp=H.VBU({type:ae,selectors:[["mat-button-toggle"]],viewQuery:function(ve,at){if(1&ve&&H.GBs(ze,5),2&ve){let Ut;H.mGM(Ut=H.lsd())&&(at._buttonElement=Ut.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(ve,at){1&ve&&H.bIt("focus",function(){return at.focus()}),2&ve&&(H.BMQ("aria-label",null)("aria-labelledby",null)("id",at.id)("name",null),H.AVh("mat-button-toggle-standalone",!at.buttonToggleGroup)("mat-button-toggle-checked",at.checked)("mat-button-toggle-disabled",at.disabled)("mat-button-toggle-disabled-interactive",at.disabledInteractive)("mat-button-toggle-appearance-standard","standard"===at.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",B.L39],appearance:"appearance",checked:[2,"checked","checked",B.L39],disabled:[2,"disabled","disabled",B.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",B.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:Le,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(ve,at){if(1&ve){const Ut=H.RV6();H.NAR(),H.j41(0,"button",1,0),H.bIt("click",function(){return k.eBV(Ut),k.Njj(at._onButtonClick())}),H.nVh(2,ge,2,1,"div",2),H.j41(3,"span",3),H.SdG(4),H.k0s()(),H.nrm(5,"span",4)(6,"span",5)}if(2&ve){const Ut=H.sdS(1);H.Y8G("id",at.buttonId)("disabled",at.disabled&&!at.disabledInteractive||null),H.BMQ("role",at.isSingleSelector()?"radio":"button")("tabindex",at.disabled&&!at.disabledInteractive?-1:at.tabIndex)("aria-pressed",at.isSingleSelector()?null:at.checked)("aria-checked",at.isSingleSelector()?at.checked:null)("name",at._getButtonName())("aria-label",at.ariaLabel)("aria-labelledby",at.ariaLabelledby)("aria-disabled",at.disabled&&at.disabledInteractive?"true":null),H.R7$(2),H.vxM(at.buttonToggleGroup&&(!at.buttonToggleGroup.multiple&&!at.buttonToggleGroup.hideSingleSelectionIndicator||at.buttonToggleGroup.multiple&&!at.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),H.R7$(4),H.Y8G("matRippleTrigger",Ut)("matRippleDisabled",at.disableRipple||at.disabled)}},dependencies:[ye.r6,He.w],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mat-button-toggle-legacy-shape);transform:translateZ(0)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}@media(forced-colors: active){.mat-button-toggle-standalone,.mat-button-toggle-group{outline:solid 1px}}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.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;color:var(--mat-button-toggle-legacy-text-color);font-family:var(--mat-button-toggle-legacy-label-text-font);font-size:var(--mat-button-toggle-legacy-label-text-size);line-height:var(--mat-button-toggle-legacy-label-text-line-height);font-weight:var(--mat-button-toggle-legacy-label-text-weight);letter-spacing:var(--mat-button-toggle-legacy-label-text-tracking);--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-legacy-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}
1[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-button-toggle-legacy-selected-state-text-color);background-color:var(--mat-button-toggle-legacy-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-button-toggle-legacy-disabled-state-text-color);background-color:var(--mat-button-toggle-legacy-disabled-state-background-color);--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-button-toggle-legacy-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-button-toggle-background-color, transparent);font-family:var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-button-toggle-legacy-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-button-toggle-height, 40px)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-button-toggle-legacy-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.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-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}
1.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}\n"],encapsulation:2,changeDetection:0})}return ae})(),de=(()=>{class ae{static \u0275fac=function(ve){return new(ve||ae)};static \u0275mod=H.$C({type:ae});static \u0275inj=k.G2t({imports:[Qe.y,Xe.p,q,Qe.y]})}return ae})()},8834(tn,Ye,d){"use strict";d.d(Ye,{$0:()=>Ke,$z:()=>Xe,Hl:()=>q});var v=d(2598),T=d(2615),M=d(3664),k=d(6881),H=d(2466);const B=["matButton",""],x=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ye=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Mt=["mat-mini-fab",""],Qe=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let Xe=(()=>{class de extends v.iM{get appearance(){return this._appearance}set appearance(he){this.setAppearance(he||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const he=function ze(de){return de.hasAttribute("mat-raised-button")?"elevated":de.hasAttribute("mat-stroked-button")?"outlined":de.hasAttribute("mat-flat-button")?"filled":de.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);he&&this.setAppearance(he)}setAppearance(he){if(he===this._appearance)return;const Ne=this._elementRef.nativeElement.classList,ve=this._appearance?Qe.get(this._appearance):null,at=Qe.get(he);ve&&Ne.remove(...ve),Ne.add(...at),this._appearance=he}static \u0275fac=function(Ne){return new(Ne||de)};static \u0275cmp=M.VBU({type:de,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]}
vendor: 4,361 bytes, line 1
1,exportAs:["matButton","matAnchor"],features:[M.Vt3],attrs:B,ngContentSelectors:ye,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ne,ve){1&Ne&&(M.NAR(x),M.Hgh(0,"span",0),M.SdG(1),M.rj2(2,"span",1),M.SdG(3,1),M.eux(),M.SdG(4,2),M.Hgh(5,"span",2)(6,"span",3)),2&Ne&&M.AVh("mdc-button__ripple",!ve._isFab)("mdc-fab__ripple",ve._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}
1.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}
1.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return de})();const ge=new T.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:ue});function ue(){return{color:"accent"}}const kt=ue();let Ke=(()=>{class de extends v.iM{_options=(0,T.WQX)(ge,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||kt,this.color=this._options.color||kt.color}static \u0275fac=function(Ne){return new(Ne||de)};static \u0275cmp=M.VBU({type:de,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[M.Vt3],attrs:Mt,ngContentSelectors:ye,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Ne,ve){1&Ne&&(M.NAR(x),M.Hgh(0,"span",0),M.SdG(1),M.rj2(2,"span",1),M.SdG(3,1),M.eux(),M.SdG(4,2),M.Hgh(5,"span",2)(6,"span",3)),2&Ne&&M.AVh("mdc-button__ripple",!ve._isFab)("mdc-fab__ripple",ve._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\n'],encapsulation:2,changeDetection:0})}return de})(),q=(()=>{class de{static \u0275fac=function(Ne){return new(Ne||de)};static \u0275mod=M.$C({type:de});static \u0275inj=T.G2t({imports:[H.y,k.p,H.y]})}return de})()},5596(tn,Ye,d){"use strict";d.d(Ye,{Hu:()=>$e,Lc:()=>Mt,MM:()=>Qe,RN:()=>B,YY:()=>Ge,dh:()=>x,m2:()=>He});var o=d(2615),s=d(3664),h=d(2466);const y=["*"],M=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],k=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],H=new o.nKC("MAT_CARD_CONFIG");let B=(()=>{class lt{appearance;constructor(){const de=(0,o.WQX)(H,{optional:!0});this.appearance=de?.appearance||"raised"}static \u0275fac=function(ae){return new(ae||lt)};static \u0275cmp=s.VBU({type:lt,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(ae,he){2&ae&&s.AVh("mat-mdc-card-outlined","outlined"===he.appearance)("mdc-card--outlined","outlined"===he.appearance)("mat-mdc-card-filled","filled"===he.appearance)("mdc-card--filled","filled"===he.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:y,decls:1,vars:0,template:function(ae,he){1&ae&&(s.NAR(),s.SdG(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}
1.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}\n'],encapsulation:2,changeDetection:0})}return lt})(),x=(()=>{class lt{static \u0275fac=function(ae){return new(ae||lt)};static \u0275dir=s.FsC({type:lt,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return lt})(),He=(()=>{class lt{static \u0275fac=function(ae){return new(ae||lt)};static \u0275dir=s.FsC({type:lt,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return lt})(),Mt=(()=>{class lt{static \u0275fac=function(ae){return new(ae||lt)};static \u0275dir=s.FsC({type:lt,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return lt})(),Ge=(()=>{class lt{align="start";static \u0275fac=function(ae){return new(ae||lt)};static \u0275dir=s.FsC({type:lt,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(ae,he){2&ae&&s.AVh("mat-mdc-card-actions-align-end","end"===he.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return lt})(),Qe=(()=>{class lt{static \u0275fac=function(ae){return new(ae||lt)};static \u0275cmp=s.VBU({type:lt,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:k,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(ae,he){1&ae&&(s.NAR(M),s.SdG(0),s.rj2(1,"div",0),s.SdG(2,1),s.eux(),s.SdG(3,2))},encapsulation:2,changeDetection:0})}return lt})(),$e=(()=>{class lt{static \u0275fac=function(ae){return new(ae||lt)};static \u0275mod=s.$C({type:lt});static \u0275inj=o.G2t({imports:[h.y,h.y]})}return lt})()},2765(tn,Ye,d){"use strict";d.d(Ye,{So:()=>ge,g7:()=>ue});var o=d(9726),s=d(2615),h=d(3664),y=d(7705),v=d(9417),T=d(8968),M=d(3155),k=d(1804),H=d(2046),B=d(2496),x=d(2466);const ye=["input"],He=["label"],Mt=["*"],Ge=new s.nKC("mat-checkbox-default-options",{providedIn:"root",factory:Qe});function Qe(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var Xe=function(kt){return kt[kt.Init=0]="Init",kt[kt.Checked=1]="Checked",kt[kt.Unchecked=2]="Unchecked",kt[kt.Indeterminate=3]="Indeterminate",kt}(Xe||{});class ze{source;checked}const Le=Qe();let ge=(()=>{class kt{_elementRef=(0,s.WQX)(h.aKT);_changeDetectorRef=(0,s.WQX)(y.gRc);_ngZone=(0,s.WQX)(h.SKi);_animationsDisabled=(0,k.Rc)();_options=(0,s.WQX)(Ge,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(Ke){const $e=new ze;return $e.source=this,$e.checked=Ke,$e}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new h.bkB;indeterminateChange=new h.bkB;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=Xe.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){(0,s.WQX)(T.l).load(H.A);const Ke=(0,s.WQX)(new y.ES_("tabindex"),{optional:!0});this._options=this._options||Le,this.color=this._options.color||Le.color,this.tabIndex=null==Ke?0:parseInt(Ke)||0,this.id=this._uniqueId=(0,s.WQX)(o.g).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}
1ngOnChanges(Ke){Ke.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(Ke){Ke!=this.checked&&(this._checked=Ke,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(Ke){Ke!==this.disabled&&(this._disabled=Ke,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(Ke){const $e=Ke!=this._indeterminate();this._indeterminate.set(Ke),$e&&(this._transitionCheckState(Ke?Xe.Indeterminate:this.checked?Xe.Checked:Xe.Unchecked),this.indeterminateChange.emit(Ke)),this._syncIndeterminate(Ke)}_indeterminate=(0,s.vPA)(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(Ke){this.checked=!!Ke}registerOnChange(Ke){this._controlValueAccessorChangeFn=Ke}registerOnTouched(Ke){this._onTouched=Ke}setDisabledState(Ke){this.disabled=Ke}validate(Ke){return this.required&&!0!==Ke.value?{required:!0}:null}registerOnValidatorChange(Ke){this._validatorChangeFn=Ke}_transitionCheckState(Ke){let $e=this._currentCheckState,lt=this._getAnimationTargetElement();if($e!==Ke&<&&(this._currentAnimationClass&<.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition($e,Ke),this._currentCheckState=Ke,this._currentAnimationClass.length>0)){lt.classList.add(this._currentAnimationClass);const q=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{lt.classList.remove(q)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const Ke=this._options?.clickAction;this.disabled||"noop"===Ke?(this.disabled&&this.disabledInteractive||!this.disabled&&"noop"===Ke)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Ke&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Xe.Checked:Xe.Unchecked),this._emitChangeEvent())}_onInteractionEvent(Ke){Ke.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(Ke,$e){if(this._animationsDisabled)return"";switch(Ke){case Xe.Init:if($e===Xe.Checked)return this._animationClasses.uncheckedToChecked;if($e==Xe.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Xe.Unchecked:return $e===Xe.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Xe.Checked:return $e===Xe.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Xe.Indeterminate:return $e===Xe.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(Ke){const $e=this._inputElement;$e&&($e.nativeElement.indeterminate=Ke)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(Ke){Ke.target&&this._labelElement.nativeElement.contains(Ke.target)&&Ke.stopPropagation()}static \u0275fac=function($e){return new($e||kt)};static \u0275cmp=h.VBU({type:kt,selectors:[["mat-checkbox"]],viewQuery:function($e,lt){if(1&$e&&(h.GBs(ye,5),h.GBs(He,5)),2&$e){let q;h.mGM(q=h.lsd())&&(lt._inputElement=q.first),h.mGM(q=h.lsd())&&(lt._labelElement=q.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function($e,lt){2&$e&&(h.Avn("id",lt.id),h.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),h.HbH(lt.color?"mat-"+lt.color:"mat-accent"),h.AVh("_mat-animation-noopable",lt._animationsDisabled)("mdc-checkbox--disabled",lt.disabled)("mat-mdc-checkbox-disabled",lt.disabled)("mat-mdc-checkbox-checked",lt.checked)("mat-mdc-checkbox-disabled-interactive",lt.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",y.L39],ariaControl
1s:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",y.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",y.L39],tabIndex:[2,"tabIndex","tabIndex",Ke=>null==Ke?void 0:(0,y.Udg)(Ke)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",y.L39],checked:[2,"checked","checked",y.L39],disabled:[2,"disabled","disabled",y.L39],indeterminate:[2,"indeterminate","indeterminate",y.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[h.Jv_([{provide:v.kq,useExisting:(0,s.Rfq)(()=>kt),multi:!0},{provide:v.cz,useExisting:kt,multi:!0}]),h.OA$],ngContentSelectors:Mt,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function($e,lt){if(1&$e){const q=h.RV6();h.NAR(),h.j41(0,"div",3),h.bIt("click",function(ae){return s.eBV(q),s.Njj(lt._preventBubblingFromLabel(ae))}),h.j41(1,"div",4,0)(3,"div",5),h.bIt("click",function(){return s.eBV(q),s.Njj(lt._onTouchTargetClick())}),h.k0s(),h.j41(4,"input",6,1),h.bIt("blur",function(){return s.eBV(q),s.Njj(lt._onBlur())})("click",function(){return s.eBV(q),s.Njj(lt._onInputClick())})("change",function(ae){return s.eBV(q),s.Njj(lt._onInteractionEvent(ae))}),h.k0s(),h.nrm(6,"div",7),h.j41(7,"div",8),s.qSk(),h.j41(8,"svg",9),h.nrm(9,"path",10),h.k0s(),s.joV(),h.nrm(10,"div",11),h.k0s(),h.nrm(11,"div",12),h.k0s(),h.j41(12,"label",13,2),h.SdG(14),h.k0s()()}if(2&$e){const q=h.sdS(2);h.Y8G("labelPosition",lt.labelPosition),h.R7$(4),h.AVh("mdc-checkbox--selected",lt.checked),h.Y8G("checked",lt.checked)("indeterminate",lt.indeterminate)("disabled",lt.disabled&&!lt.disabledInteractive)("id",lt.inputId)("required",lt.required)("tabIndex",lt.disabled&&!lt.disabledInteractive?-1:lt.tabIndex),h.BMQ("aria-label",lt.ariaLabel||null)("aria-labelledby",lt.ariaLabelledby)("aria-describedby",lt.ariaDescribedby)("aria-checked",lt.indeterminate?"mixed":null)("aria-controls",lt.ariaControls)("aria-disabled",!(!lt.disabled||!lt.disabledInteractive)||null)("aria-expanded",lt.ariaExpanded)("aria-owns",lt.ariaOwns)("name",lt.name)("value",lt.value),h.R7$(7),h.Y8G("matRippleTrigger",q)("matRippleDisabled",lt.disableRipple||lt.disabled)("matRippleCentered",!0),h.R7$(),h.Y8G("for",lt.inputId)}},dependencies:[B.r6,M.t],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;
1transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}
1}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return kt})(),ue=(()=>{class kt{static \u0275fac=function($e){return new($e||kt)};static \u0275mod=h.$C({type:kt});static \u0275inj=s.G2t({imports:[ge,x.y,x.y]})}return kt})()},6471(tn,Ye,d){"use strict";d.d(Ye,{D7:()=>rr,HW:()=>ii,Jl:()=>Oi,Jo:()=>Qn,YN:()=>ci,Zv:()=>Bn,gq:()=>Tn,jH:()=>_,uI:()=>pi});var o=d(6838),s=d(9726),h=d(4123),y=d(7336),v=d(438),T=d(9046),M=d(8968),k=d(2615),H=d(3664),B=d(7705),x=d(1413),ye=d(7786),He=d(2046),Mt=d(2496),Ge=d(1804),Qe=d(1048),Xe=d(9172),ze=d(5558),Le=d(6977),ge=d(1577),ue=d(9417),kt=d(2709),Je=d(9336),Ke=d(4727),$e=d(2466),lt=d(6881);const q=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],de=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function ae(Un,fr){1&Un&&(H.j41(0,"span",3),H.SdG(1,1),H.k0s())}function he(Un,fr){1&Un&&(H.j41(0,"span",6),H.SdG(1,2),H.k0s())}function Ne(Un,fr){1&Un&&(H.j41(0,"span",3),H.SdG(1,1),H.j41(2,"span",7),k.qSk(),H.j41(3,"svg",8),H.nrm(4,"path",9),H.k0s()()())}function ve(Un,fr){1&Un&&(H.j41(0,"span",6),H.SdG(1,2),H.k0s())}const at='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{dis
1play:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}
1.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}\n',Ut=[[["","matChipEdit",""]],[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],nt=["[matChipEdit]","mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function cn(Un,fr){1&Un&&H.nrm(0,"span",0)}function hn(Un,fr){1&Un&&(H.j41(0,"span",1),H.SdG(1),H.k0s())}function qt(Un,fr){1&Un&&(H.j41(0,"span",3),H.SdG(1,1),H.k0s())}function Te(Un,fr){1&Un&&H.SdG(0,2)}function Pe(Un,fr){1&Un&&H.nrm(0,"span",7)}function yt(Un,fr){if(1&Un&&H.nVh(0,Te,1,0)(1,Pe,1,0,"span",7),2&Un){const Vt=H.XpG();H.vxM(Vt.contentEditInput?0:1)}}function wt(Un,fr){1&Un&&H.SdG(0,3)}function Ie(Un,fr){1&Un&&(H.j41(0,"span",6),H.SdG(1,4),H.k0s())}const ie=["*"],je=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}
1.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}\n",rt=new k.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[v.Fm]})}),Ze=new k.nKC("MatChipAvatar"),We=new k.nKC("MatChipTrailingIcon"),Ot=new k.nKC("MatChipEdit"),Me=new k.nKC("MatChipRemove"),It=new k.nKC("MatChip");let Zt=(()=>{class Un{_elementRef=(0,k.WQX)(H.aKT);_parentChip=(0,k.WQX)(It);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(Vt){this._disabled=Vt}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){(0,k.WQX)(M.l).load(He.A),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(Vt){!this.disabled&&this.isInteractive&&this._isPrimary&&(Vt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Vt){(Vt.keyCode===v.Fm||Vt.keyCode===v.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(Vt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(un){return new(un||Un)};static \u0275dir=H.FsC({type:Un,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(un,Ae){1&un&&H.bIt("click",function(z){return Ae._handleClick(z)})("keydown",function(z){return Ae._handleKeydown(z)}),2&un&&(H.BMQ("tabindex",Ae._getTabindex())("disabled",Ae._getDisabledAttribute())("aria-disabled",Ae.disabled),H.AVh("mdc-evolution-chip__action--primary",Ae._isPrimary)("mdc-evolution-chip__action--presentational",!Ae.isInteractive)("mdc-evolution-chip__action--secondary",!Ae._isPrimary)("mdc-evolution-chip__action--trailing",!Ae._isPrimary&&!Ae._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",B.L39],tabIndex:[2,"tabIndex","tabIndex",Vt=>null==Vt?-1:(0,B.Udg)(Vt)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return Un})(),Bn=(()=>{class Un extends Zt{_isPrimary=!1;_handleClick(Vt){this.disabled||(Vt.stopPropagation(),Vt.preventDefault(),this._parentChip.remove())}_handleKeydown(Vt){(Vt.keyCode===v.Fm||Vt.keyCode===v.t6)&&!this.disabled&&(Vt.stopPropagation(),Vt.preventDefault(),this._parentChip.remove())}static \u0275fac=(()=>{let Vt;return function(Ae){return(Vt||(Vt=H.xGo(Un)))(Ae||Un)}})();static \u0275dir=H.FsC({type:Un,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(un,Ae){2&un&&H.BMQ("aria-hidden",null)},features:[H.Jv_([{provide:Me,useExisting:Un}]),H.Vt3]})}return Un})(),Oi=(()=>{class Un{_changeDetectorRef=(0,k.WQX)(B.gRc);_elementRef=(0,k.WQX)(H.aKT);_tagName=(0,k.WQX)(B.cCO);_ngZone=(0,k.WQX)(H.SKi);_focusMonitor=(0,k.WQX)(o.FN);_globalRippleOptions=(0,k.WQX)(Mt.$E,{optional:!0});_document=(0,k.WQX)(k.qQL);_onFocus=new x.B;_onBlur=new x.B;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=(0,Ge.Rc)();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=(0,k.WQX)(s.g).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Vt){this._value=Vt}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(Vt){this._disabled=Vt}_disabled=!1;removed=new H.bkB;destroyed=new H.bkB;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=(0,k.WQX)(Qe.E);_injector=(0,k.WQX)(k.zZn);constructor(){const Vt=(0,k.WQX)(M.l);Vt.load(He.A),Vt.load(T.Y),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pe
1ndingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,ye.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(Vt){(Vt.keyCode===v.G_&&!Vt.repeat||Vt.keyCode===v.SJ)&&(Vt.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Vt){return this._getActions().find(un=>{const Ae=un._elementRef.nativeElement;return Ae===Vt||Ae.contains(Vt)})}_getActions(){const Vt=[];return this.editIcon&&Vt.push(this.editIcon),this.primaryAction&&Vt.push(this.primaryAction),this.removeIcon&&Vt.push(this.removeIcon),this.trailingIcon&&Vt.push(this.trailingIcon),Vt}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(Vt=>Vt.isInteractive)}_edit(Vt){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Vt=>{const un=null!==Vt;un!==this._hasFocusInternal&&(this._hasFocusInternal=un,un?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(un){return new(un||Un)};static \u0275cmp=H.VBU({type:Un,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(un,Ae,xe){if(1&un&&(H.wni(xe,Ze,5),H.wni(xe,Ot,5),H.wni(xe,We,5),H.wni(xe,Me,5),H.wni(xe,Ze,5),H.wni(xe,We,5),H.wni(xe,Ot,5),H.wni(xe,Me,5)),2&un){let z;H.mGM(z=H.lsd())&&(Ae.leadingIcon=z.first),H.mGM(z=H.lsd())&&(Ae.editIcon=z.first),H.mGM(z=H.lsd())&&(Ae.trailingIcon=z.first),H.mGM(z=H.lsd())&&(Ae.removeIcon=z.first),H.mGM(z=H.lsd())&&(Ae._allLeadingIcons=z),H.mGM(z=H.lsd())&&(Ae._allTrailingIcons=z),H.mGM(z=H.lsd())&&(Ae._allEditIcons=z),H.mGM(z=H.lsd())&&(Ae._allRemoveIcons=z)}},viewQuery:function(un,Ae){if(1&un&&H.GBs(Zt,5),2&un){let xe;H.mGM(xe=H.lsd())&&(Ae.primaryAction=xe.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(un,Ae){1&un&&H.bIt("keydown",function(z){return Ae._handleKeydown(z)}),2&un&&(H.Avn("id",Ae.id),H.BMQ("role",Ae.role)("aria-label",Ae.ariaLabel),H.HbH("mat-"+(Ae.color||"primary")),H.AVh("mdc-evolution-chip",!Ae._isBasicChip)("mdc-evolution-chip--disabled",Ae.disabled)("mdc-evolution-chip--with-trailing-action",Ae._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ae.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ae.leadingIcon)("mdc-evolution-chip--with-avatar",Ae.leadingIcon)("mat-mdc-chip-with-avatar",Ae.leadingIcon)("mat-mdc-chip-highlighted",Ae.highlighted)("mat-mdc-chip-disabled",Ae.disabled)("mat-mdc-basic-chip",Ae._isBasicChip)("mat-mdc-standard-chip",!Ae._isBasicChip)("mat-mdc-chip-with-trailing-icon",Ae._hasTrailingIcon())("_mat-animation-noopable",Ae._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",B.L39],highlighted:[2,"highlighted","highlighted",B.L39],disableRipple:[2,"disableRipple","disableRipple",B.L39],disabled:[2,"disabled","disabled",B.L39]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[H.Jv_([{provide:It,useExisting:Un}])],ngContentSelectors:de,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(un,Ae){1&un&&(H.NAR(q),H.nrm(0,"span",0),H.j41(1,"span",1)(2,"span",2),H.nVh(3,ae,2,0,"span",3),H.j41(4,"span",4),H.SdG(5),H.nrm(6,"span",5),H.k0s()()(),H.nVh(7,he,2,0,"span",6)
1),2&un&&(H.R7$(2),H.Y8G("isInteractive",!1),H.R7$(),H.vxM(Ae.leadingIcon?3:-1),H.R7$(4),H.vxM(Ae._hasTrailingIcon()?7:-1))},dependencies:[Zt],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}
1.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mat-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}\n'],encapsulation:2,changeDetection:0})}return Un})(),Tn=(()=>{class Un extends Oi{_defaultOptions=(0,k.WQX)(rt,{optional:!0});chipListSelectable=!0;_chipListMultiple=!1;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hide
1SingleSelectionIndicator??!1;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(Vt){this._selectable=Vt,this._changeDetectorRef.markForCheck()}_selectable=!0;get selected(){return this._selected}set selected(Vt){this._setSelectedState(Vt,!1,!0)}_selected=!1;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new H.bkB;ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(Vt=!1){return this._setSelectedState(!this.selected,Vt,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(Vt,un,Ae){Vt!==this.selected&&(this._selected=Vt,Ae&&this.selectionChange.emit({source:this,isUserInput:un,selected:this.selected}),this._changeDetectorRef.markForCheck())}static \u0275fac=(()=>{let Vt;return function(Ae){return(Vt||(Vt=H.xGo(Un)))(Ae||Un)}})();static \u0275cmp=H.VBU({type:Un,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(un,Ae){2&un&&(H.Avn("id",Ae.id),H.BMQ("tabindex",null)("aria-label",null)("aria-description",null)("role",Ae.role),H.AVh("mdc-evolution-chip",!Ae._isBasicChip)("mdc-evolution-chip--filter",!Ae._isBasicChip)("mdc-evolution-chip--selectable",!Ae._isBasicChip)("mat-mdc-chip-selected",Ae.selected)("mat-mdc-chip-multiple",Ae._chipListMultiple)("mat-mdc-chip-disabled",Ae.disabled)("mat-mdc-chip-with-avatar",Ae.leadingIcon)("mdc-evolution-chip--disabled",Ae.disabled)("mdc-evolution-chip--selected",Ae.selected)("mdc-evolution-chip--selecting",!Ae._animationsDisabled)("mdc-evolution-chip--with-trailing-action",Ae._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",Ae.leadingIcon)("mdc-evolution-chip--with-primary-graphic",Ae._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",Ae.leadingIcon)("mat-mdc-chip-highlighted",Ae.highlighted)("mat-mdc-chip-with-trailing-icon",Ae._hasTrailingIcon()))},inputs:{selectable:[2,"selectable","selectable",B.L39],selected:[2,"selected","selected",B.L39]},outputs:{selectionChange:"selectionChange"},features:[H.Jv_([{provide:Oi,useExisting:Un},{provide:It,useExisting:Un}]),H.Vt3],ngContentSelectors:de,decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(un,Ae){1&un&&(H.NAR(q),H.nrm(0,"span",0),H.j41(1,"span",1)(2,"button",2),H.nVh(3,Ne,5,0,"span",3),H.j41(4,"span",4),H.SdG(5),H.nrm(6,"span",5),H.k0s()()(),H.nVh(7,ve,2,0,"span",6)),2&un&&(H.R7$(2),H.Y8G("_allowFocusWhenDisabled",!0),H.BMQ("aria-description",Ae.ariaDescription)("aria-label",Ae.ariaLabel)("aria-selected",Ae.ariaSelected),H.R7$(),H.vxM(Ae._hasLeadingGraphic()?3:-1),H.R7$(4),H.vxM(Ae._hasTrailingIcon()?7:-1))},dependencies:[Zt],styles:[at],encapsulation:2,changeDetection:0})}return Un})(),Yn=(()=>{class Un{_elementRef=(0,k.WQX)(H.aKT);_document=(0,k.WQX)(k.qQL);constructor(){}initialize(Vt){this.getNativeElement().focus(),this.setValue(Vt)}getNativeElement(){return this._elementRef.nativeElement}setValue(Vt){this.getNativeElement().textContent=Vt,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const Vt=this._document.createRange();Vt.selectNodeContents(this.getNativeElement()),Vt.collapse(!1);const un=window.getSelection();un.removeAllRanges(),un.addRange(Vt)}static \u0275fac=function(un){return new(un||Un)};static \u0275dir=H.FsC({type:Un,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return Un})(),_=(()=>{class Un extends Oi{basicChipAttrName="mat-basic-chip-row";_editStartPending=!1;editable=!1;edited=new H.bkB;defaultEditInput;contentEditInput;_alreadyFocused=!1;_isEditing=!1;constructor(){super(),this.role="row",this._onBlur.pipe((0,Le.Q)(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish(),this._alreadyFocused=!1})}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("mousedown",()=>this._alreadyFocused=this._hasFocus())})}_hasLeadingActionIcon(){return!this._isEditing&&!!this.editIcon}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(Vt){Vt.keyCode!==v.Fm||this.disabled?this._isEditing?Vt.stopPropagation():super._handleKeydown(Vt):this._isEditing?(Vt.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(Vt)}_handleClick(Vt){!this.disabled&&this.editable&&!this._isEditing&&this._alreadyFocused&&(Vt.preventDefault(),Vt.stopPropagation(),this._startEditing(Vt))}_handleDoubleclick(Vt){!this.disabled&&this.editable&&this._startEditing(Vt)}_edit(){this._changeDetectorRef.markForCheck(),this._startEditing()}_startEditing(Vt){if(!this.primaryAction||this.removeIcon&&Vt&&this._getSourceAction(Vt.target)===this.removeIcon)return;const un=this.value;this._isEditing=this._editStartPending=!0,(0,H.mal)(()=>{this._getEditInput().initialize(un),setTimeout(()=>this._ngZone.run(()=>this._editStartPending=!1))},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static \u0275fac=function(un){return new(un||Un)};static \u0275cmp=H.VBU({type:Un,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(un,Ae,xe){if(1&un&&H.wni(xe,Yn,5),2&un){let z;H.mGM(z=H.lsd())&&(Ae.contentEditInput=z.first)}},viewQuery:function(un,Ae){if(1&un&&H.GBs(Yn,5),2&un){let xe;H.mGM(xe=H.lsd())&&(Ae.defaultEditInput=xe.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:29,hostBindings:function(un,Ae){1&un&&H.bIt("focus",function(){return Ae._handleFocus()})("click",function(z){return Ae._handleClick(z)})("dblclick",function(z){return Ae._handleDoubleclick(z)}),2&un&&(H.Avn("id",Ae.id),H.BMQ("tabindex",Ae.disabled?null:-1)("aria-label",null)("aria-description",null)("role",Ae.role),H.AVh("mat-mdc-chip-with-avatar",Ae.leadingIcon)("mat-mdc-chip-disabled",Ae.disabled)("mat-mdc-chip-editing",Ae._isEditing)("mat-mdc-chip-editable",Ae.editable)("mdc-evolution-chip--disabled",Ae.disabled)("mdc-evolution-chip--with-leading-action",Ae._hasLeadingActionIcon())("mdc-evolution-chip--with-trailing-action",Ae._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ae.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ae.leadingIcon)("mdc-evolution-chip--with-avatar",Ae.leadingIcon)("mat-mdc-chip-highlighted",Ae.highlighted)("mat-mdc-chip-with-trailing-icon",Ae._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},features:[H.Jv_([{provide:Oi,useExisting:Un},{provide:It,useExisting:Un}]),H.Vt3],ngContentSelectors:nt,decls:9,vars:8,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--leading"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],["matChipEditInput",""]],template:function(un,Ae){1&un&&(H.NAR(Ut),H.nVh(0,cn,1,0,"span",0),H.nVh(1,hn,2,0,"span",1),H.j41(2,"span",2),H.nVh(3,qt,2,0,"span",3),H.j41(4,"span",4),H.nVh(5,yt,2,1)(6,wt,1,0),H.nrm(7,"span",5),H.k0s()(),H.nVh(8,Ie,2,0,"span",6)
1),2&un&&(H.vxM(Ae._isEditing?-1:0),H.R7$(),H.vxM(Ae._hasLeadingActionIcon()?1:-1),H.R7$(),H.Y8G("disabled",Ae.disabled),H.BMQ("aria-description",Ae.ariaDescription)("aria-label",Ae.ariaLabel),H.R7$(),H.vxM(Ae.leadingIcon?3:-1),H.R7$(2),H.vxM(Ae._isEditing?5:6),H.R7$(3),H.vxM(Ae._hasTrailingIcon()?8:-1))},dependencies:[Zt,Yn],styles:[at],encapsulation:2,changeDetection:0})}return Un})(),Qn=(()=>{class Un{_elementRef=(0,k.WQX)(H.aKT);_changeDetectorRef=(0,k.WQX)(B.gRc);_dir=(0,k.WQX)(ge.dS,{optional:!0});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new x.B;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(Vt=>Vt._onFocus)}get chipDestroyedChanges(){return this._getChipStream(Vt=>Vt.destroyed)}get chipRemovedChanges(){return this._getChipStream(Vt=>Vt.removed)}get disabled(){return this._disabled}set disabled(Vt){this._disabled=Vt,this._syncChipsState()}_disabled=!1;get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(Vt){this._explicitRole=Vt}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new H.rOR;constructor(){}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(Vt=>Vt._hasFocus())}_syncChipsState(){this._chips?.forEach(Vt=>{Vt._chipListDisabled=this._disabled,Vt._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(Vt){this._originatesFromChip(Vt)&&this._keyManager.onKeydown(Vt)}_isValidIndex(Vt){return Vt>=0&&Vt<this._chips.length}_allowFocusEscape(){const Vt=this._elementRef.nativeElement.tabIndex;-1!==Vt&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=Vt))}_getChipStream(Vt){return this._chips.changes.pipe((0,Xe.Z)(null),(0,ze.n)(()=>(0,ye.h)(...this._chips.map(Vt))))}_originatesFromChip(Vt){let un=Vt.target;for(;un&&un!==this._elementRef.nativeElement;){if(un.classList.contains("mat-mdc-chip"))return!0;un=un.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,Xe.Z)(this._chips)).subscribe(Vt=>{const un=[];Vt.forEach(Ae=>Ae._getActions().forEach(xe=>un.push(xe))),this._chipActions.reset(un),this._chipActions.notifyOnChanges()}),this._keyManager=new h.B(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(Vt=>this._skipPredicate(Vt)),this.chipFocusChanges.pipe((0,Le.Q)(this._destroyed)).subscribe(({chip:Vt})=>{const un=Vt._getSourceAction(document.activeElement);un&&this._keyManager.updateActiveItem(un)}),this._dir?.change.pipe((0,Le.Q)(this._destroyed)).subscribe(Vt=>this._keyManager.withHorizontalOrientation(Vt))}_skipPredicate(Vt){return!Vt.isInteractive||Vt.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,Xe.Z)(null),(0,Le.Q)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,Le.Q)(this._destroyed)).subscribe(Vt=>{const Ae=this._chips.toArray().indexOf(Vt.chip),xe=Vt.chip._hasFocus(),z=Vt.chip._hadFocusOnRemove&&this._keyManager.activeItem&&Vt.chip._getActions().includes(this._keyManager.activeItem),Ee=xe||z;this._isValidIndex(Ae)&&Ee&&(this._lastDestroyedFocusedChipIndex=Ae)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const Vt=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),un=this._chips.toArray()[Vt];un.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():un.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static \u0275fac=function(un){return new(un||Un)};static \u0275cmp=H.VBU({type:Un,selectors:[["mat-chip-set"]],contentQueries:function(un,Ae,xe){if(1&un&&H.wni(xe,Oi,5),2&un){let z;H.mGM(z=H.lsd())&&(Ae._chips=z)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(un,Ae){1&un&&H.bIt("keydown",function(z){return Ae._handleKeydown(z)}),2&un&&H.BMQ("role",Ae.role)},inputs:{disabled:[2,"disabled","disabled",B.L39],role:"role",tabIndex:[2,"tabIndex","tabIndex",Vt=>null==Vt?0:(0,B.Udg)(Vt)]},ngContentSelectors:ie,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(un,Ae){1&un&&(H.NAR(),H.rj2(0,"div",0),H.SdG(1),H.eux())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}
1.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder{opacity:1}.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder{opacity:1}.mat-mdc-chip-set+input.mat-mdc-chip-input{margin-left:0;margin-right:0}\n"],encapsulation:2,changeDetection:0})}return Un})();class di{source;value;constructor(fr,Vt){this.source=fr,this.value=Vt}}const ai={provide:ue.kq,useExisting:(0,k.Rfq)(()=>pi),multi:!0};let pi=(()=>{class Un extends Qn{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=(0,k.WQX)(rt,{optional:!0});get multiple(){return this._multiple}set multiple(Vt){this._multiple=Vt,this._syncListboxProperties()}_multiple=!1;get selected(){const Vt=this._chips.toArray().filter(un=>un.selected);return this.multiple?Vt:Vt[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(Vt){this._selectable=Vt,this._syncListboxProperties()}_selectable=!0;compareWith=(Vt,un)=>Vt===un;required=!1;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Vt){this._hideSingleSelectionIndicator=Vt,this._syncListboxProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get chipSelectionChanges(){return this._getChipStream(Vt=>Vt.selectionChange)}get chipBlurChanges(){return this._getChipStream(Vt=>Vt._onBlur)}get value(){return this._value}set value(Vt){this._chips&&this._chips.length&&this._setSelectionByValue(Vt,!1),this._value=Vt}_value;change=new H.bkB;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe((0,Xe.Z)(null),(0,Le.Q)(this._destroyed)).subscribe(()=>{void 0!==this.value&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,!1)}),this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,Le.Q)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,Le.Q)(this._destroyed)).subscribe(Vt=>{this.multiple||this._chips.forEach(un=>{un!==Vt.source&&un._setSelectedState(!1,!1,!1)}),Vt.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const Vt=this._getFirstSelectedChip();Vt&&!Vt.disabled?Vt.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(Vt){this.value=null!=Vt?Vt:void 0}registerOnChange(Vt){this._onChange=Vt}registerOnTouched(Vt){this._onTouched=Vt}setDisabledState(Vt){this.disabled=Vt}_setSelectionByValue(Vt,un=!0){this._clearSelection(),Array.isArray(Vt)?Vt.forEach(Ae=>this._selectValue(Ae,un)):this._selectValue(Vt,un)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(Vt){Vt.keyCode===v.wn&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let Vt=null;Vt=Array.isArray(this.selected)?this.selected.map(un=>un.value):this.selected?this.selected.value:void 0,this._value=Vt,this.change.emit(new di(this,Vt)),this._onChange(Vt),this._changeDetectorRef.markForCheck()}_clearSelection(Vt){this._chips.forEach(un=>{un!==Vt&&un.deselect()})}_selectValue(Vt,un){const Ae=this._chips.find(xe=>null!=xe.value&&this.compareWith(xe.value,Vt));return Ae&&(un?Ae.selectViaInteraction():Ae.select()),Ae}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(Vt=>{Vt._chipListMultiple=this.multiple,Vt.chipListSelectable=this._selectable,Vt._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,Vt._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(Vt){return!Vt.isInteractive}static \u0275fac=(()=>{let Vt;return function(Ae){return(Vt||(Vt=H.xGo(Un)))(Ae||Un)}})();static \u0275cmp=H.VBU({type:Un,selectors:[["mat-chip-listbox"]],contentQueries:function(un,Ae,xe){if(1&un&&H.wni(xe,Tn,5),2&un){let z;H.mGM(z=H.lsd())&&(Ae._chips=z)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(un,Ae){1&un&&H.bIt("focus",function(){return Ae.focus()})("blur",function(){return Ae._blur()})("keydown",function(z){return Ae._keydown(z)}),2&un&&(H.Avn("tabIndex",Ae.disabled||Ae.empty?-1:Ae.tabIndex),H.BMQ("role",Ae.role)("aria-required",Ae.role?Ae.required:null)("aria-disabled",Ae.disabled.toString())("aria-multiselectable",Ae.multiple)("aria-orientation",Ae.ariaOrientation),H.AVh("mat-mdc-chip-list-disabled",Ae.disabled)("mat-mdc-chip-list-required",Ae.required))},inputs:{multiple:[2,"multiple","multiple",B.L39],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",B.L39],compareWith:"compareWith",required:[2,"required","required",B.L39],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",B.L39],value:"value"},outputs:{change:"change"},features:[H.Jv_([ai]),H.Vt3],ngContentSelectors:ie,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(un,Ae){1&un&&(H.NAR(),H.rj2(0,"div",0),H.SdG(1),H.eux())},styles:[je],encapsulation:2,changeDetection:0})}return Un})();class Vi{source;value;constructor(fr,Vt){this.source=fr,this.value=Vt}}let ii=(()=>{class Un extends Qn{ngControl=(0,k.WQX)(ue.vO,{optional:!0,self:!0});controlType="mat-chip-grid";_chipInput;_defaultRole="grid";_errorStateTracker;_ariaDescribedbyIds=[];_onTouched=()=>{};_onChange=()=>{};get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(Vt){this._disabled=Vt,this._syncChipsState(),this.stateChanges.next()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(Vt){this._placeholder=Vt,this.stateChanges.next()}_placeholder;get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(ue.k0.required)??!1}set required(Vt){this._required=Vt,this.stateChanges.next()}_required;get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(Vt){this._value=Vt}_value=[];get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Vt){this._errorStateTracker.matcher=Vt}get chipBlurChanges(){return this._getChipStream(Vt=>Vt._onBlur)}change=new H.bkB;valueChange=new H.bkB;_chips=void 0;stateChanges=new x.B;get errorState(){return this._errorStateTracker.errorState}set errorState(Vt){this._errorStateTracker.errorState=Vt}constructor(){super();const Vt=(0,k.WQX)(ue.cV,{optional:!0}),un=(0,k.WQX)(ue.j4,{optional:!0}),Ae=(0,k.WQX)(kt.e);this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new Je.X(Ae,this.ngControl,un,Vt,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe((0,Le.Q)(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),(0,ye.h)(this.chipFocusChanges,this._chips.changes).pipe((0,Le.Q)(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(Vt){this._chipInput=Vt,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(Vt){!this.disabled&&!this._originatesFromChip(Vt)&&this.focus()}focus(){if(!this.disabled&&!this._chipInput.focused){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{const Vt=this._keyManager.activeItem;Vt?Vt.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}get describedByIds(){return this._chipInput?.describedByIds||[]}setDescribedByIds(Vt){this._ariaDescribedbyIds=Vt,this._chipInput?.setDescribedByIds(Vt)}writeValue(Vt){this._value=Vt}registerOnChange(Vt){this._onChange=Vt}registerOnTouched(Vt){this._onTouched=Vt}setDisabledState(Vt){this.disabled=Vt,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(Vt){const un=Vt.keyCode,Ae=this._keyManager.activeItem;if(un===v.wn)this._chipInput.focused&&(0,y.rp)(Vt,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(Vt.preventDefault(),Ae?this._keyManager.setActiveItem(Ae):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if(un!==v.i7&&un!==v.n6||!Ae)super._handleKeydown(Vt);else{const xe=this._chipActions.filter(Ce=>Ce._isPrimary===Ae._isPrimary&&!this._skipPredicate(Ce)),z=xe.indexOf(Ae),Ee=Vt.keyCode===v.i7?-1:1;Vt.preventDefault(),z>-1&&this._isValidIndex(z+Ee)&&this._keyManager.setActiveItem(xe[z+Ee])}this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const Vt=this._chips.length?this._chips.toArray().map(un=>un.value):[];this._value=Vt,this.change.emit(new Vi(this,Vt)),this.valueChange.emit(Vt),this._onChange(Vt),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static \u0275fac=function(un){return new(un||Un)};static \u0275cmp=H.VBU({type:Un,selectors:[["mat-chip-grid"]],contentQueries:function(un,Ae,xe){if(1&un&&H.wni(xe,_,5),2&un){let z;H.mGM(z=H.lsd())&&(Ae._chips=z)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(un,Ae){1&un&&H.bIt("focus",function(){return Ae.focus()})("blur",function(){return Ae._blur()}),2&un&&(H.BMQ("role",Ae.role)("tabindex",Ae.disabled||Ae._chips&&0===Ae._chips.length?-1:Ae.tabIndex)("aria-disabled",Ae.disabled.toString())("aria-invalid",Ae.errorState),H.AVh("mat-mdc-chip-list-disabled",Ae.disabled)("mat-mdc-chip-list-invalid",Ae.errorState)("mat-mdc-chip-list-required",Ae.required))},inputs:{disabled:[2,"disabled","disabled",B.L39],placeholder:"placeholder",required:[2,"required","required",B.L39],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[H.Jv_([{provide:Ke.qT,useExisting:Un}]),H.Vt3],ngContentSelectors:ie,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(un,Ae){1&un&&(H.NAR(),H.rj2(0,"div",0),H.SdG(1),H.eux())},styles:[je],encapsulation:2,changeDetection:0})}return Un})(),rr=(()=>{class Un{_elementRef=(0,k.WQX)(H.aKT);focused=!1;get chipGrid(){return this._chipGrid}set chipGrid(Vt){Vt&&(this._chipGrid=Vt,this._chipGrid.registerInput(this))}_chipGrid;addOnBlur=!1;separatorKeyCodes;chipEnd=new H.bkB;placeholder="";id=(0,k.WQX)(s.g).getId("mat-mdc-chip-list-input-");get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(Vt){this._disabled=Vt}_disabled=!1;readonly=!1;disabledInteractive;get empty(){return!this.inputElement.value}inputElement;constructor(){const Vt=(0,k.WQX)(rt),un=(0,k.WQX)(Ke.xb,{optional:!0});this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=Vt.separatorKeyCodes,this.disabledInteractive=Vt.inputDisabledInteractive??!1,un&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(Vt){this.empty&&Vt.keyCode===v.G_?(Vt.repeat||this._chipGrid._focusLastChip(),Vt.preventDefault()):this._emitChipEnd(Vt)}
1_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(Vt){(!Vt||this._isSeparatorKey(Vt)&&!Vt.repeat)&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),Vt?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(Vt){const un=this._elementRef.nativeElement;Vt.length?un.setAttribute("aria-describedby",Vt.join(" ")):un.removeAttribute("aria-describedby")}_isSeparatorKey(Vt){return!(0,y.rp)(Vt)&&new Set(this.separatorKeyCodes).has(Vt.keyCode)}_getReadonlyAttribute(){return this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(un){return new(un||Un)};static \u0275dir=H.FsC({type:Un,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:8,hostBindings:function(un,Ae){1&un&&H.bIt("keydown",function(z){return Ae._keydown(z)})("blur",function(){return Ae._blur()})("focus",function(){return Ae._focus()})("input",function(){return Ae._onInput()}),2&un&&(H.Avn("id",Ae.id),H.BMQ("disabled",Ae.disabled&&!Ae.disabledInteractive?"":null)("placeholder",Ae.placeholder||null)("aria-invalid",Ae._chipGrid&&Ae._chipGrid.ngControl?Ae._chipGrid.ngControl.invalid:null)("aria-required",Ae._chipGrid&&Ae._chipGrid.required||null)("aria-disabled",Ae.disabled&&Ae.disabledInteractive?"true":null)("readonly",Ae._getReadonlyAttribute())("required",Ae._chipGrid&&Ae._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",B.L39],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",B.L39],readonly:[2,"readonly","readonly",B.L39],disabledInteractive:[2,"matChipInputDisabledInteractive","disabledInteractive",B.L39]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[H.OA$]})}return Un})(),ci=(()=>{class Un{static \u0275fac=function(un){return new(un||Un)};static \u0275mod=H.$C({type:Un});static \u0275inj=k.G2t({providers:[kt.e,{provide:rt,useValue:{separatorKeyCodes:[v.Fm]}}],imports:[$e.y,lt.p,$e.y]})}return Un})()},2466(tn,Ye,d){"use strict";d.d(Ye,{y:()=>T});var o=d(7094),s=d(8203),h=d(2615),y=d(3664);let T=(()=>{class M{constructor(){(0,h.WQX)(o.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(B){return new(B||M)};static \u0275mod=y.$C({type:M});static \u0275inj=h.G2t({imports:[s.jI,s.jI]})}return M})()},9945(tn,Ye,d){"use strict";d.d(Ye,{Ju:()=>y,MJ:()=>M,de:()=>k});var o=d(2615),s=d(3664),h=d(1413);const y=new o.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,o.WQX)(s.xe9)}}),T="Method not implemented";class M{locale;_localeChanges=new h.B;localeChanges=this._localeChanges;setTime(B,x,ye,He){throw new Error(T)}getHours(B){throw new Error(T)}getMinutes(B){throw new Error(T)}getSeconds(B){throw new Error(T)}parseTime(B,x){throw new Error(T)}addSeconds(B,x){throw new Error(T)}getValidDateOrNull(B){return this.isDateInstance(B)&&this.isValid(B)?B:null}deserialize(B){return null==B||this.isDateInstance(B)&&this.isValid(B)?B:this.invalid()}setLocale(B){this.locale=B,this._localeChanges.next()}compareDate(B,x){return this.getYear(B)-this.getYear(x)||this.getMonth(B)-this.getMonth(x)||this.getDate(B)-this.getDate(x)}compareTime(B,x){return this.getHours(B)-this.getHours(x)||this.getMinutes(B)-this.getMinutes(x)||this.getSeconds(B)-this.getSeconds(x)}sameDate(B,x){if(B&&x){let ye=this.isValid(B),He=this.isValid(x);return ye&&He?!this.compareDate(B,x):ye==He}return B==x}sameTime(B,x){if(B&&x){const ye=this.isValid(B),He=this.isValid(x);return ye&&He?!this.compareTime(B,x):ye==He}return B==x}clampDate(B,x,ye){return x&&this.compareDate(B,x)<0?x:ye&&this.compareDate(B,ye)>0?ye:B}}const k=new o.nKC("mat-date-formats")},5084(tn,Ye,d){"use strict";d.d(Ye,{IG:()=>Fs,SG:()=>po,Vh:()=>xn,X6:()=>vi,bU:()=>Ai,bZ:()=>In,el:()=>ki,xR:()=>Xs});var T=d(2615),M=d(3664),k=d(7705),H=d(1413),B=d(8359),x=d(7786),ye=d(7673),He=d(9945),Mt=d(6838),Ge=d(7094),Qe=d(9726),Xe=d(1577),ze=d(4085),Le=d(7336),ge=d(438),ue=d(9338),kt=d(9842),Je=d(4522),Ke=d(6939),$e=d(5964),lt=d(9172),q=d(6697),de=d(2200),ae=d(9046),he=d(8968),Ne=d(2046),ve=d(8834),at=d(2598),Ut=d(455),nt=d(1804),cn=d(9417),hn=d(8010),qt=d(4727),Te=d(2709),Pe=d(9336),yt=d(5478),wt=d(2466);const Ie=["mat-calendar-body",""];function ie(Jt,Ri){return this._trackRow(Ri)}const je=(Jt,Ri)=>Ri.id;function rt(Jt,Ri){if(1&Jt&&(M.j41(0,"tr",0)(1,"td",3),M.EFF(2),M.k0s()()),2&Jt){const Q=M.XpG();M.R7$(),M.xc7("padding-top",Q._cellPadding)("padding-bottom",Q._cellPadding),M.BMQ("colspan",Q.numCols),M.R7$(),M.SpI(" ",Q.label," ")}}function Ze(Jt,Ri){if(1&Jt&&(M.j41(0,"td",3),M.EFF(1),M.k0s()),2&Jt){const Q=M.XpG(2);M.xc7("padding-top",Q._cellPadding)("padding-bottom",Q._cellPadding),M.BMQ("colspan",Q._firstRowOffset),M.R7$(),M.SpI(" ",Q._firstRowOffset>=Q.labelMinRequiredCells?Q.label:""," ")}}function We(Jt,Ri){if(1&Jt){const Q=M.RV6();M.j41(0,"td",6)(1,"button",7),M.bIt("click",function(ot){const bn=T.eBV(Q).$implicit,_i=M.XpG(2);return T.Njj(_i._cellClicked(bn,ot))})("focus",function(ot){const bn=T.eBV(Q).$implicit,_i=M.XpG(2);return T.Njj(_i._emitActiveDateChange(bn,ot))}),M.j41(2,"span",8),M.EFF(3),M.k0s(),M.nrm(4,"span",9),M.k0s()()}if(2&Jt){const Q=Ri.$implicit,st=Ri.$index,ot=M.XpG().$index,bn=M.XpG();M.xc7("width",bn._cellWidth)("padding-top",bn._cellPadding)("padding-bottom",bn._cellPadding),M.BMQ("data-mat-row",ot)("data-mat-col",st),M.R7$(),M.AVh("mat-calendar-body-disabled",!Q.enabled)("mat-calendar-body-active",bn._isActiveCell(ot,st))("mat-calendar-body-range-start",bn._isRangeStart(Q.compareValue))("mat-calendar-body-range-end",bn._isRangeEnd(Q.compareValue))("mat-calendar-body-in-range",bn._isInRange(Q.compareValue))("mat-calendar-body-comparison-bridge-start",bn._isComparisonBridgeStart(Q.compareValue,ot,st))("mat-calendar-body-comparison-bridge-end",bn._isComparisonBridgeEnd(Q.compareValue,ot,st))("mat-calendar-body-comparison-start",bn._isComparisonStart(Q.compareValue))("mat-calendar-body-comparison-e
1nd",bn._isComparisonEnd(Q.compareValue))("mat-calendar-body-in-comparison-range",bn._isInComparisonRange(Q.compareValue))("mat-calendar-body-preview-start",bn._isPreviewStart(Q.compareValue))("mat-calendar-body-preview-end",bn._isPreviewEnd(Q.compareValue))("mat-calendar-body-in-preview",bn._isInPreview(Q.compareValue)),M.Y8G("ngClass",Q.cssClasses)("tabindex",bn._isActiveCell(ot,st)?0:-1),M.BMQ("aria-label",Q.ariaLabel)("aria-disabled",!Q.enabled||null)("aria-pressed",bn._isSelected(Q.compareValue))("aria-current",bn.todayValue===Q.compareValue?"date":null)("aria-describedby",bn._getDescribedby(Q.compareValue)),M.R7$(),M.AVh("mat-calendar-body-selected",bn._isSelected(Q.compareValue))("mat-calendar-body-comparison-identical",bn._isComparisonIdentical(Q.compareValue))("mat-calendar-body-today",bn.todayValue===Q.compareValue),M.R7$(),M.SpI(" ",Q.displayValue," ")}}function Ot(Jt,Ri){if(1&Jt&&(M.j41(0,"tr",1),M.nVh(1,Ze,2,6,"td",4),M.Z7z(2,We,5,48,"td",5,je),M.k0s()),2&Jt){const Q=Ri.$implicit,st=Ri.$index,ot=M.XpG();M.R7$(),M.vxM(0===st&&ot._firstRowOffset?1:-1),M.R7$(),M.Dyx(Q)}}function Me(Jt,Ri){if(1&Jt&&(M.j41(0,"th",2)(1,"span",6),M.EFF(2),M.k0s(),M.j41(3,"span",3),M.EFF(4),M.k0s()()),2&Jt){const Q=Ri.$implicit;M.R7$(2),M.JRh(Q.long),M.R7$(2),M.JRh(Q.narrow)}}const It=["*"];function Zt(Jt,Ri){}function ti(Jt,Ri){if(1&Jt){const Q=M.RV6();M.j41(0,"mat-month-view",4),M.mxI("activeDateChange",function(ot){T.eBV(Q);const bn=M.XpG();return M.DH7(bn.activeDate,ot)||(bn.activeDate=ot),T.Njj(ot)}),M.bIt("_userSelection",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._dateSelected(ot))})("dragStarted",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._dragStarted(ot))})("dragEnded",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._dragEnded(ot))}),M.k0s()}if(2&Jt){const Q=M.XpG();M.R50("activeDate",Q.activeDate),M.Y8G("selected",Q.selected)("dateFilter",Q.dateFilter)("maxDate",Q.maxDate)("minDate",Q.minDate)("dateClass",Q.dateClass)("comparisonStart",Q.comparisonStart)("comparisonEnd",Q.comparisonEnd)("startDateAccessibleName",Q.startDateAccessibleName)("endDateAccessibleName",Q.endDateAccessibleName)("activeDrag",Q._activeDrag)}}function Wn(Jt,Ri){if(1&Jt){const Q=M.RV6();M.j41(0,"mat-year-view",5),M.mxI("activeDateChange",function(ot){T.eBV(Q);const bn=M.XpG();return M.DH7(bn.activeDate,ot)||(bn.activeDate=ot),T.Njj(ot)}),M.bIt("monthSelected",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._monthSelectedInYearView(ot))})("selectedChange",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._goToDateInView(ot,"month"))}),M.k0s()}if(2&Jt){const Q=M.XpG();M.R50("activeDate",Q.activeDate),M.Y8G("selected",Q.selected)("dateFilter",Q.dateFilter)("maxDate",Q.maxDate)("minDate",Q.minDate)("dateClass",Q.dateClass)}}function mr(Jt,Ri){if(1&Jt){const Q=M.RV6();M.j41(0,"mat-multi-year-view",6),M.mxI("activeDateChange",function(ot){T.eBV(Q);const bn=M.XpG();return M.DH7(bn.activeDate,ot)||(bn.activeDate=ot),T.Njj(ot)}),M.bIt("yearSelected",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._yearSelectedInMultiYearView(ot))})("selectedChange",function(ot){T.eBV(Q);const bn=M.XpG();return T.Njj(bn._goToDateInView(ot,"year"))}),M.k0s()}if(2&Jt){const Q=M.XpG();M.R50("activeDate",Q.activeDate),M.Y8G("selected",Q.selected)("dateFilter",Q.dateFilter)("maxDate",Q.maxDate)("minDate",Q.minDate)("dateClass",Q.dateClass)}}function Bn(Jt,Ri){}const Oi=["button"],dn=[[["","matDatepickerToggleIcon",""]]],Tn=["[matDatepickerToggleIcon]"];function Yn(Jt,Ri){1&Jt&&(T.qSk(),M.j41(0,"svg",2),M.nrm(1,"path",3),M.k0s())}const _=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Qn=["input[matStartDate]","input[matEndDate]"];let pi=(()=>{class Jt{changes=new H.B;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(Q,st){return`${Q} \u2013 ${st}`}formatYearRangeLabel(Q,st){return`${Q} to ${st}`}static \u0275fac=function(st){return new(st||Jt)};static \u0275prov=T.jDH({token:Jt,factory:Jt.\u0275fac,providedIn:"root"})}return Jt})(),Vi=0;class ii{value;displayValue;ariaLabel;enabled;
1cssClasses;compareValue;rawValue;id=Vi++;constructor(Ri,Q,st,ot,bn={},_i=Ri,Yr){this.value=Ri,this.displayValue=Q,this.ariaLabel=st,this.enabled=ot,this.cssClasses=bn,this.compareValue=_i,this.rawValue=Yr}}const rr={passive:!1,capture:!0},Sn={passive:!0,capture:!0},ci={passive:!0};let Un=(()=>{class Jt{_elementRef=(0,T.WQX)(M.aKT);_ngZone=(0,T.WQX)(M.SKi);_platform=(0,T.WQX)(kt.O);_intl=(0,T.WQX)(pi);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new M.bkB;previewChange=new M.bkB;activeDateChange=new M.bkB;dragStarted=new M.bkB;dragEnded=new M.bkB;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=(0,T.WQX)(T.zZn);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=Q=>Q;constructor(){const Q=(0,T.WQX)(M.sFG),st=(0,T.WQX)(Qe.g);this._startDateLabelId=st.getId("mat-calendar-body-start-"),this._endDateLabelId=st.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=st.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=st.getId("mat-calendar-body-comparison-end-"),(0,T.WQX)(he.l).load(Ne.A),this._ngZone.runOutsideAngular(()=>{const ot=this._elementRef.nativeElement,bn=[Q.listen(ot,"touchmove",this._touchmoveHandler,rr),Q.listen(ot,"mouseenter",this._enterHandler,Sn),Q.listen(ot,"focus",this._enterHandler,Sn),Q.listen(ot,"mouseleave",this._leaveHandler,Sn),Q.listen(ot,"blur",this._leaveHandler,Sn),Q.listen(ot,"mousedown",this._mousedownHandler,ci),Q.listen(ot,"touchstart",this._mousedownHandler,ci)];this._platform.isBrowser&&bn.push(Q.listen("window","mouseup",this._mouseupHandler),Q.listen("window","touchend",this._touchendHandler)),this._eventCleanups=bn})}_cellClicked(Q,st){this._didDragSinceMouseDown||Q.enabled&&this.selectedValueChange.emit({value:Q.value,event:st})}_emitActiveDateChange(Q,st){Q.enabled&&this.activeDateChange.emit({value:Q.value,event:st})}_isSelected(Q){return this.startValue===Q||this.endValue===Q}ngOnChanges(Q){const st=Q.numCols,{rows:ot,numCols:bn}=this;(Q.rows||st)&&(this._firstRowOffset=ot&&ot.length&&ot[0].length?bn-ot[0].length:0),(Q.cellAspectRatio||st||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/bn+"%"),(st||!this._cellWidth)&&(this._cellWidth=100/bn+"%")}ngOnDestroy(){this._eventCleanups.forEach(Q=>Q())}_isActiveCell(Q,st){let ot=Q*this.numCols+st;return Q&&(ot-=this._firstRowOffset),ot==this.activeCell}_focusActiveCell(Q=!0){(0,M.mal)(()=>{setTimeout(()=>{const st=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");st&&(Q||(this._skipNextFocus=!0),st.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Q){return un(Q,this.startValue,this.endValue)}_isRangeEnd(Q){return Ae(Q,this.startValue,this.endValue)}_isInRange(Q){return xe(Q,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Q){return un(Q,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Q,st,ot){if(!this._isComparisonStart(Q)||this._isRangeStart(Q)||!this._isInRange(Q))return!1;let bn=this.rows[st][ot-1];if(!bn){const _i=this.rows[st-1];bn=_i&&_i[_i.length-1]}return bn&&!this._isRangeEnd(bn.compareValue)}_isComparisonBridgeEnd(Q,st,ot){if(!this._isComparisonEnd(Q)||this._isRangeEnd(Q)||!this._isInRange(Q))return!1;let bn=this.rows[st][ot+1];if(!bn){const _i=this.rows[st+1];bn=_i&&_i[0]}return bn&&!this._isRangeStart(bn.compareValue)}_isComparisonEnd(Q){return Ae(Q,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Q){return xe(Q,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Q){return this.comparisonStart===this.comparisonEnd&&Q===this.comparisonStart}_isPreviewStart(Q){return un(Q,this.previewStart,this.previewEnd)}_isPreviewEnd(Q){return Ae(Q,this.previewStart,this.previewEnd)}_isInPreview(Q){return xe(Q,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Q){if(!this.isRange)return null;if(this.startValue===Q&&this.endValue===Q)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===Q)return this._startDateLabelId;if(this.endValue===Q)return this._endDateLabelId;if(null!==this.comparisonStart&&null!==this.comparisonEnd){if(Q===this.comparisonStart&&Q===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(Q===this.comparisonStart)return this._comparisonStartDateLabelId;if(Q===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=Q=>{if(this._skipNextFocus&&"focus"===Q.type)this._skipNextFocus=!1;else if(Q.target&&this.isRange){const st=this._getCellFromElement(Q.target);st&&this._ngZone.run(()=>this.previewChange.emit({value:st.enabled?st:null,event:Q}))}};_touchmoveHandler=Q=>{if(!this.isRange)return;const st=z(Q),ot=st?this._getCellFromElement(st):null;st!==Q.target&&(this._didDragSinceMouseDown=!0),Vt(Q.target)&&Q.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ot?.enabled?ot:null,event:Q}))};_leaveHandler=Q=>{null!==this.previewEnd&&this.isRange&&("blur"!==Q.type&&(this._didDragSinceMouseDown=!0),Q.target&&this._getCellFromElement(Q.target)&&(!Q.relatedTarget||!this._getCellFromElement(Q.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Q})))};_mousedownHandler=Q=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const st=Q.target&&this._getCellFromElement(Q.target);!st||!this._isInRange(st.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:st.rawValue,event:Q})})};_mouseupHandler=Q=>{if(!this.isRange)return;const st=Vt(Q.target);st?st.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ot=this._getCellFromElement(st);this.dragEnded.emit({value:ot?.rawValue??null,event:Q})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Q})})};_touchendHandler=Q=>{const st=z(Q);st&&this._mouseupHandler({target:st})};_getCellFromElement(Q){const st=Vt(Q);if(st){const ot=st.getAttribute("data-mat-row"),bn=st.getAttribute("data-mat-col");if(ot&&bn)return this.rows[parseInt(ot)]?.[parseInt(bn)]||null}return null}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numC
1ols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[M.OA$],attrs:Ie,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(st,ot){1&st&&(M.nVh(0,rt,3,6,"tr",0),M.Z7z(1,Ot,4,1,"tr",1,ie,!0),M.j41(3,"span",2),M.EFF(4),M.k0s(),M.j41(5,"span",2),M.EFF(6),M.k0s(),M.j41(7,"span",2),M.EFF(8),M.k0s(),M.j41(9,"span",2),M.EFF(10),M.k0s()),2&st&&(M.vxM(ot._firstRowOffset<ot.labelMinRequiredCells?0:-1),M.R7$(),M.Dyx(ot.rows),M.R7$(2),M.Y8G("id",ot._startDateLabelId),M.R7$(),M.SpI(" ",ot.startDateAccessibleName,"\n"),M.R7$(),M.Y8G("id",ot._endDateLabelId),M.R7$(),M.SpI(" ",ot.endDateAccessibleName,"\n"),M.R7$(),M.Y8G("id",ot._comparisonStartDateLabelId),M.R7$(),M.Lme(" ",ot.comparisonDateAccessibleName," ",ot.startDateAccessibleName,"\n"),M.R7$(),M.Y8G("id",ot._comparisonEndDateLabelId),M.R7$(),M.Lme(" ",ot.comparisonDateAccessibleName," ",ot.endDateAccessibleName,"\n"))},dependencies:[de.YU],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}
1.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;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;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}
1.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],encapsulation:2,changeDetection:0})}return Jt})();function fr(Jt){return"TD"===Jt?.nodeName}function Vt(Jt){let Ri;return fr(Jt)?Ri=Jt:fr(Jt.parentNode)?Ri=Jt.parentNode:fr(Jt.parentNode?.parentNode)&&(Ri=Jt.parentNode.parentNode),null!=Ri?.getAttribute("data-mat-row")?Ri:null}function un(Jt,Ri,Q){return null!==Q&&Ri!==Q&&Jt<Q&&Jt===Ri}function Ae(Jt,Ri,Q){return null!==Ri&&Ri!==Q&&Jt>=Ri&&Jt===Q}function xe(Jt,Ri,Q,st){return st&&null!==Ri&&null!==Q&&Ri!==Q&&Jt>=Ri&&Jt<=Q}function z(Jt){const Ri=Jt.changedTouches[0];return document.elementFromPoint(Ri.clientX,Ri.clientY)}class Ee{start;end;_disableStructuralEquivalency;constructor(Ri,Q){this.start=Ri,this.end=Q}}let Ce=(()=>{class Jt{selection;_adapter;_selectionChanged=new H.B;selectionChanged=this._selectionChanged;constructor(Q,st){this.selection=Q,this._adapter=st,this.selection=Q}updateSelection(Q,st){const ot=this.selection;this.selection=Q,this._selectionChanged.next({selection:Q,source:st,oldValue:ot})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Q){return this._adapter.isDateInstance(Q)&&this._adapter.isValid(Q)}static \u0275fac=function(st){M.QTQ()};static \u0275prov=T.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})(),Ue=(()=>{class Jt extends Ce{constructor(Q){super(null,Q)}add(Q){super.updateSelection(Q,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Q=new Jt(this._adapter);return Q.updateSelection(this.selection,this),Q}static \u0275fac=function(st){return new(st||Jt)(T.KVO(He.MJ))};static \u0275prov=T.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})(),Tt=(()=>{class Jt extends Ce{constructor(Q){super(new Ee(null,null),Q)}add(Q){let{start:st,end:ot}=this.selection;null==st?st=Q:null==ot?ot=Q:(st=Q,ot=null),super.updateSelection(new Ee(st,ot),this)}isValid(){const{start:Q,end:st}=this.selection;return null==Q&&null==st||(null!=Q&&null!=st?this._isValidDateInstance(Q)&&this._isValidDateInstance(st)&&this._adapter.compareDate(Q,st)<=0:(null==Q||this._isValidDateInstance(Q))&&(null==st||this._isValidDateInstance(st)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const Q=new Jt(this._adapter);return Q.updateSelection(this.selection,this),Q}static \u0275fac=function(st){return new(st||Jt)(T.KVO(He.MJ))};static \u0275prov=T.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const we={provide:Ce,deps:[[new M.Xx1,new M.kdw,Ce],He.MJ],useFactory:function fe(Jt,Ri){return Jt||new Ue(Ri)}},L={provide:Ce,deps:[[new M.Xx1,new M.kdw,Ce],He.MJ],useFactory:function _e(Jt,Ri){return Jt||new Tt(Ri)}},j=new T.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let X=(()=>{class Jt{_dateAdapter;constructor(Q){this._dateAdapter=Q}selectionFinished(Q,st){let{start:ot,end:bn}=st;return null==ot?ot=Q:null==bn&&Q&&this._dateAdapter.compareDate(Q,ot)>=0?bn=Q:(ot=Q,bn=null),new Ee(ot,bn)}createPreview(Q,st){let ot=null,bn=null;return st.start&&!st.end&&Q&&(ot=st.start,bn=Q),new Ee(ot,bn)}createDrag(Q,st,ot){let bn=st.start,_i=st.end;if(!bn||!_i)return null;const Yr=this._dateAdapter,oo=0!==Yr.compareDate(bn,_i),to=Yr.getYear(ot)-Yr.getYear(Q),Ho=Yr.getMonth(ot)-Yr.getMonth(Q),Co=Yr.getDate(ot)-Yr.getDate(Q);return oo&&Yr.sameDate(Q,st.start)?(bn=ot,Yr.compareDate(ot,_i)>0&&(_i=Yr.addCalendarYears(_i,to),_i=Yr.addCalendarMonths(_i,Ho),_i=Yr.addCalendarDays(_i,Co))):oo&&Yr.sameDate(Q,st.end)?(_i=ot,Yr.compareDate(ot,bn)<0&&(bn=Yr.addCalendarYears(bn,to),bn=Yr.addCalendarMonths(bn,Ho),bn=Yr.addCalendarDays(bn,Co))):(bn=Yr.addCalendarYears(bn,to),bn=Yr.addCalendarMonths(bn,Ho),bn=Yr.addCalendarDays(bn,Co),_i=Yr.addCalendarYears(_i,to),_i=Yr.addCalendarMonths(_i,Ho),_i=Yr.addCalendarDays(_i,Co)),new Ee(bn,_i)}static \u0275fac=function(st){return new(st||Jt)(T.KVO(He.MJ))};static \u0275prov=T.jDH({token:Jt,factory:Jt.\u0275fac})}return Jt})();const Yt={provide:j,deps:[[new M.Xx1,new M.kdw,j],He.MJ],useFactory:function qe(Jt,Ri){return Jt||new X(Ri)}};let wi=0,Qi=(()=>{class Jt{_changeDetectorRef=(0,T.WQX)(k.gRc);_dateFormats=(0,T.WQX)(He.de,{optional:!0});_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dir=(0,T.WQX)(Xe.dS,{optional:!0});_rangeStrategy=(0,T.WQX)(j,{optional:!0});_rerenderSubscription=B.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(Q){const st=this._activeDate,ot=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ot,this.minDate,this.maxDate),this._hasSameMonthAndYear(st,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Ee?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q)),this._setRanges(this._selected)}_selected;
1get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_minDate;get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new M.bkB;_userSelection=new M.bkB;dragStarted=new M.bkB;dragEnded=new M.bkB;activeDateChange=new M.bkB;_matCalendarBody;_monthLabel=(0,T.vPA)("");_weeks=(0,T.vPA)([]);_firstWeekOffset=(0,T.vPA)(0);_rangeStart=(0,T.vPA)(null);_rangeEnd=(0,T.vPA)(null);_comparisonRangeStart=(0,T.vPA)(null);_comparisonRangeEnd=(0,T.vPA)(null);_previewStart=(0,T.vPA)(null);_previewEnd=(0,T.vPA)(null);_isRange=(0,T.vPA)(!1);_todayDate=(0,T.vPA)(null);_weekdays=(0,T.vPA)([]);constructor(){(0,T.WQX)(he.l).load(ae.Y),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,lt.Z)(null)).subscribe(()=>this._init())}ngOnChanges(Q){const st=Q.comparisonStart||Q.comparisonEnd;st&&!st.firstChange&&this._setRanges(this.selected),Q.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Q){const st=Q.value,ot=this._getDateFromDayOfMonth(st);let bn,_i;this._selected instanceof Ee?(bn=this._getDateInCurrentMonth(this._selected.start),_i=this._getDateInCurrentMonth(this._selected.end)):bn=_i=this._getDateInCurrentMonth(this._selected),(bn!==st||_i!==st)&&this.selectedChange.emit(ot),this._userSelection.emit({value:ot,event:Q.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Q){const ot=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Q.value),this._dateAdapter.compareDate(ot,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Q){const st=this._activeDate,ot=this._isRtl();switch(Q.keyCode){case ge.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ot?1:-1);break;case ge.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ot?-1:1);break;case ge.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case ge.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case ge.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case ge.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case ge.w_:this.activeDate=Q.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case ge.dB:this.activeDate=Q.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case ge.Fm:case ge.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Q.preventDefault());case ge._f:return void(null!=this._previewEnd()&&!(0,Le.rp)(Q)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Q}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Q})),Q.preventDefault(),Q.stopPropagation()));default:return}this._dateAdapter.compareDate(st,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Q.preventDefault()}_handleCalendarBodyKeyup(Q){(Q.keyCode===ge.t6||Q.keyCode===ge.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Q}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let Q=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((7+this._dateAdapter.getDayOfWeek(Q)-this._dateAdapter.getFirstDayOfWeek())%7),this._initWeek
1days(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Q){this._matCalendarBody._focusActiveCell(Q)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Q,value:st}){if(this._rangeStrategy){const ot=st?st.rawValue:null,bn=this._rangeStrategy.createPreview(ot,this.selected,Q);if(this._previewStart.set(this._getCellCompareValue(bn.start)),this._previewEnd.set(this._getCellCompareValue(bn.end)),this.activeDrag&&ot){const _i=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,ot,Q);_i&&(this._previewStart.set(this._getCellCompareValue(_i.start)),this._previewEnd.set(this._getCellCompareValue(_i.end)))}}}_dragEnded(Q){if(this.activeDrag)if(Q.value){const st=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Q.value,Q.event);this.dragEnded.emit({value:st??null,event:Q.event})}else this.dragEnded.emit({value:null,event:Q.event})}_getDateFromDayOfMonth(Q){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Q)}_initWeekdays(){const Q=this._dateAdapter.getFirstDayOfWeek(),st=this._dateAdapter.getDayOfWeekNames("narrow"),bn=this._dateAdapter.getDayOfWeekNames("long").map((_i,Yr)=>({long:_i,narrow:st[Yr],id:wi++}));this._weekdays.set(bn.slice(Q).concat(bn.slice(0,Q)))}_createWeekCells(){const Q=this._dateAdapter.getNumDaysInMonth(this.activeDate),st=this._dateAdapter.getDateNames(),ot=[[]];for(let bn=0,_i=this._firstWeekOffset();bn<Q;bn++,_i++){7==_i&&(ot.push([]),_i=0);const Yr=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),bn+1),oo=this._shouldEnableDate(Yr),to=this._dateAdapter.format(Yr,this._dateFormats.display.dateA11yLabel),Ho=this.dateClass?this.dateClass(Yr,"month"):void 0;ot[ot.length-1].push(new ii(bn+1,st[bn],to,oo,Ho,this._getCellCompareValue(Yr),Yr))}this._weeks.set(ot)}_shouldEnableDate(Q){return!!Q&&(!this.minDate||this._dateAdapter.compareDate(Q,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(Q,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Q))}_getDateInCurrentMonth(Q){return Q&&this._hasSameMonthAndYear(Q,this.activeDate)?this._dateAdapter.getDate(Q):null}_hasSameMonthAndYear(Q,st){return!(!Q||!st||this._dateAdapter.getMonth(Q)!=this._dateAdapter.getMonth(st)||this._dateAdapter.getYear(Q)!=this._dateAdapter.getYear(st))}_getCellCompareValue(Q){if(Q){const st=this._dateAdapter.getYear(Q),ot=this._dateAdapter.getMonth(Q),bn=this._dateAdapter.getDate(Q);return new Date(st,ot,bn).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Q){Q instanceof Ee?(this._rangeStart.set(this._getCellCompareValue(Q.start)),this._rangeEnd.set(this._getCellCompareValue(Q.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(Q)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(Q){return!this.dateFilter||this.dateFilter(Q)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-month-view"]],viewQuery:function(st,ot){if(1&st&&M.GBs(Un,5),2&st){let bn;M.mGM(bn=M.lsd())&&(ot._matCalendarBody=bn.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[M.OA$],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(st,ot){1&st&&(M.j41(0,"table",0)(1,"thead",1)(2,"tr"),M.Z7z(3,Me,5,2,"th",2,je),M.k0s(),M.j41(5,"tr",3),M.nrm(6,"th",4),M.k0s()(),M.j41(7,"tbody",5),M.bIt("selectedValueChange",function(_i){return ot._dateSelected(_i)})("activeDateChange",function(_i){return ot._updateActiveDate(_i)})("previewChange",function(_i){return ot._previewChanged(_i)})("dragStarted",function(_i){return ot.dragStarted.emit(_i)})("dragEnded",function(_i){return ot._dragEnded(_i)})("keyup",function(_i){return ot._handleCalendarBodyKeyup(_i)})("keydown",function(_i){return ot._handleCalendarBodyKeydown(_i)}),M.k0s()()),2&st&&(M.R7$(3),M.Dyx(ot._weekdays()),M.R7$(4),M.Y8G("label",ot._monthLabel())("rows",ot._weeks())("todayValue",ot._todayDate(
1))("startValue",ot._rangeStart())("endValue",ot._rangeEnd())("comparisonStart",ot._comparisonRangeStart())("comparisonEnd",ot._comparisonRangeEnd())("previewStart",ot._previewStart())("previewEnd",ot._previewEnd())("isRange",ot._isRange())("labelMinRequiredCells",3)("activeCell",ot._dateAdapter.getDate(ot.activeDate)-1)("startDateAccessibleName",ot.startDateAccessibleName)("endDateAccessibleName",ot.endDateAccessibleName))},dependencies:[Un],encapsulation:2,changeDetection:0})}return Jt})(),_n=(()=>{class Jt{_changeDetectorRef=(0,T.WQX)(k.gRc);_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dir=(0,T.WQX)(Xe.dS,{optional:!0});_rerenderSubscription=B.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(Q){let st=this._activeDate;const ot=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ot,this.minDate,this.maxDate),an(this._dateAdapter,st,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Ee?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q)),this._setSelectedYear(Q)}_selected;get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_minDate;get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_maxDate;dateFilter;dateClass;selectedChange=new M.bkB;yearSelected=new M.bkB;activeDateChange=new M.bkB;_matCalendarBody;_years=(0,T.vPA)([]);_todayYear=(0,T.vPA)(0);_selectedYear=(0,T.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,lt.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));const st=this._dateAdapter.getYear(this._activeDate)-Pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),ot=[];for(let bn=0,_i=[];bn<24;bn++)_i.push(st+bn),4==_i.length&&(ot.push(_i.map(Yr=>this._createCellForYear(Yr))),_i=[]);this._years.set(ot),this._changeDetectorRef.markForCheck()}_yearSelected(Q){const st=Q.value,ot=this._dateAdapter.createDate(st,0,1),bn=this._getDateFromYear(st);this.yearSelected.emit(ot),this.selectedChange.emit(bn)}_updateActiveDate(Q){const ot=this._activeDate;this.activeDate=this._getDateFromYear(Q.value),this._dateAdapter.compareDate(ot,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Q){const st=this._activeDate,ot=this._isRtl();switch(Q.keyCode){case ge.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ot?1:-1);break;case ge.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ot?-1:1);break;case ge.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case ge.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case ge.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case ge.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case ge.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?-240:-24);break;case ge.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?240:24);break;case ge.Fm:case ge.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(st,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Q.preventDefault()}_handleCalendarBodyKeyup(Q){(Q.keyCode===ge.t6||Q.keyCode===ge.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Q}),this._selectionKeyPressed=!1)}_getActiveCell(){return Pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Q){const st=this._dateAdapter.getMonth(this.activeDate),ot=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Q,st,1)
1);return this._dateAdapter.createDate(Q,st,Math.min(this._dateAdapter.getDate(this.activeDate),ot))}_createCellForYear(Q){const st=this._dateAdapter.createDate(Q,0,1),ot=this._dateAdapter.getYearName(st),bn=this.dateClass?this.dateClass(st,"multi-year"):void 0;return new ii(Q,ot,ot,this._shouldEnableYear(Q),bn)}_shouldEnableYear(Q){if(null==Q||this.maxDate&&Q>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Q<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let ot=this._dateAdapter.createDate(Q,0,1);this._dateAdapter.getYear(ot)==Q;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(Q){if(this._selectedYear.set(null),Q instanceof Ee){const st=Q.start||Q.end;st&&this._selectedYear.set(this._dateAdapter.getYear(st))}else Q&&this._selectedYear.set(this._dateAdapter.getYear(Q))}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-multi-year-view"]],viewQuery:function(st,ot){if(1&st&&M.GBs(Un,5),2&st){let bn;M.mGM(bn=M.lsd())&&(ot._matCalendarBody=bn.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(st,ot){1&st&&(M.j41(0,"table",0)(1,"thead",1)(2,"tr"),M.nrm(3,"th",2),M.k0s()(),M.j41(4,"tbody",3),M.bIt("selectedValueChange",function(_i){return ot._yearSelected(_i)})("activeDateChange",function(_i){return ot._updateActiveDate(_i)})("keyup",function(_i){return ot._handleCalendarBodyKeyup(_i)})("keydown",function(_i){return ot._handleCalendarBodyKeydown(_i)}),M.k0s()()),2&st&&(M.R7$(4),M.Y8G("rows",ot._years())("todayValue",ot._todayYear())("startValue",ot._selectedYear())("endValue",ot._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",ot._getActiveCell()))},dependencies:[Un],encapsulation:2,changeDetection:0})}return Jt})();function an(Jt,Ri,Q,st,ot){const bn=Jt.getYear(Ri),_i=Jt.getYear(Q),Yr=ke(Jt,st,ot);return Math.floor((bn-Yr)/24)===Math.floor((_i-Yr)/24)}function Pt(Jt,Ri,Q,st){return function De(Jt,Ri){return(Jt%Ri+Ri)%Ri}(Jt.getYear(Ri)-ke(Jt,Q,st),24)}function ke(Jt,Ri,Q){let st=0;return Q?st=Jt.getYear(Q)-24+1:Ri&&(st=Jt.getYear(Ri)),st}let _t=(()=>{class Jt{_changeDetectorRef=(0,T.WQX)(k.gRc);_dateFormats=(0,T.WQX)(He.de,{optional:!0});_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dir=(0,T.WQX)(Xe.dS,{optional:!0});_rerenderSubscription=B.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(Q){let st=this._activeDate;const ot=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ot,this.minDate,this.maxDate),this._dateAdapter.getYear(st)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Ee?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q)),this._setSelectedMonth(Q)}_selected;get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_minDate;get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_maxDate;dateFilter;dateClass;selectedChange=new M.bkB;monthSelected=new M.bkB;activeDateChange=new M.bkB;_matCalendarBody;_months=(0,T.vPA)([]);_yearLabel=(0,T.vPA)("");_todayMonth=(0,T.vPA)(null);_selectedMonth=(0,T.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,lt.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Q){const st=Q.value,ot=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),st,1);this.monthSelected.emit(ot);const bn=this._getDateFromMonth(st);this.selectedChange.emit(bn)}_updateActiveDate(Q){const ot=this._activeDate;this.activeDate=this._getDateFromMonth(Q.value),this._dateAdapter.compareDate(ot,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Q){const st=this._activeDate,ot=this._isRtl();switch(Q.keyCode){case ge.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ot?1:-1);break;case ge.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ot?-1:1);break;case ge.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case ge.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case ge.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case ge.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case ge.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?-10:-1);break;case ge.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Q.altKey?10:1);break;case ge.Fm:case ge.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(st,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Q.preventDefault()}_handleCalendarBodyKeyup(Q){(Q.keyCode===ge.t6||Q.keyCode===ge.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Q}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let Q=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(st=>st.map(ot=>this._createCellForMonth(ot,Q[ot])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Q){return Q&&this._dateAdapter.getYear(Q)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Q):null}_getDateFromMonth(Q){const st=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Q,1),ot=this._dateAdapter.getNumDaysInMonth(st);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Q,Math.min(this._dateAdapter.getDate(this.activeDate),ot))}_createCellForMonth(Q,st){const ot=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Q,1),bn=this._dateAdapter.format(ot,this._dateFormats.display.monthYearA11yLabel),_i=this.dateClass?this.dateClass(ot,"year"):void 0;return new ii(Q,st.toLocaleUpperCase(),bn,this._shouldEnableMonth(Q),_i)}_shouldEnableMonth(Q){const st=this._dateAdapter.getYear(this.activeDate);if(null==Q||this._isYearAndMonthAfterMaxDate(st,Q)||this._isYearAndMonthBeforeMinDate(st,Q))return!1;if(!this.dateFilter)return!0;for(let bn=this._dateAdapter.createDate(st,Q,1);this._dateAdapter.getMonth(bn)==Q;bn=this._dateAdapter.addCalendarDays(bn,1))if(this.dateFilter(bn))return!0;return!1}_isYearAndMonthAfterMaxDate(Q,st){if(this.maxDate){const ot=this._dateAdapter.getYear(this.maxDate),bn=this._dateAdapter.getMonth(this.maxDate);return Q>ot||Q===ot&&st>bn}return!1}_isYearAndMonthBeforeMinDate(Q,st){if(this.minDate){const ot=this._dateAdapter.getYear(this.minDate),bn=this._dateAdapter.getMonth(this.minDate);return Q<ot||Q===ot&&st<bn}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(Q){this._selectedMonth.set(Q instanceof Ee?this._getMonthInCurrentYear(Q.start)||this._getMonthInCurrentYear(Q.end):this._getMonthInCurrentYear(Q))}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-year-view"]],viewQuery:function(st,ot){if(1&st&&M.GBs(Un,5),2&st){let bn;M.mGM(bn=M.lsd())&&(ot._matCalendarBody=bn.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(st,ot){1&st&&(M.j41(0,"table",0)(1,"thead",1)(2,"tr"),M.nrm(3,"th",2),M.k0s()(),M.j41(4,"tbody",3),M.bIt("selectedValueChange",function(_i){return ot._monthSelected(_i)})("activeDateChange",function(_i){return ot._updateActiveDate(_i)})("keyup",function(_i){return ot._handleCalendarBodyKeyup(_i)})("keydown",function(_i){return ot._handleCalendarBodyKeydown(_i)}),M.k0s()()),2&st&&(M.R7$(4),M.Y8G("label",ot._yearLabel())("rows",ot._months())("todayValue",ot._todayMonth())("startValue",ot._selectedMonth())("endValue",ot._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",ot._dateAdapter.getMonth(ot.activeDate)))},dependencies:[Un],encapsulation:2,changeDetection:0})}return Jt})(),et=(()=>{class Jt{_intl=(0,T.WQX)(pi);calendar=(0,T.WQX)(Rn);_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dateFormats=(0,T.WQX)(He.de,{optional:!0});_periodButtonText;_periodButtonDescription;
1_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){(0,T.WQX)(he.l).load(ae.Y);const Q=(0,T.WQX)(k.gRc);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),Q.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(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.nextEnabled()&&(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)}_updateLabels(){const Q=this.calendar,st=this._intl,ot=this._dateAdapter;"month"===Q.currentView?(this._periodButtonText=ot.format(Q.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=ot.format(Q.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=st.switchToMultiYearViewLabel,this._prevButtonLabel=st.prevMonthLabel,this._nextButtonLabel=st.nextMonthLabel):"year"===Q.currentView?(this._periodButtonText=ot.getYearName(Q.activeDate),this._periodButtonDescription=ot.getYearName(Q.activeDate),this._periodButtonLabel=st.switchToMonthViewLabel,this._prevButtonLabel=st.prevYearLabel,this._nextButtonLabel=st.nextYearLabel):(this._periodButtonText=st.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=st.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=st.switchToMonthViewLabel,this._prevButtonLabel=st.prevMultiYearLabel,this._nextButtonLabel=st.nextMultiYearLabel)}_isSameView(Q,st){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Q)==this._dateAdapter.getYear(st)&&this._dateAdapter.getMonth(Q)==this._dateAdapter.getMonth(st):"year"==this.calendar.currentView?this._dateAdapter.getYear(Q)==this._dateAdapter.getYear(st):an(this._dateAdapter,Q,st,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const st=this._dateAdapter.getYear(this.calendar.activeDate)-Pt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ot=st+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(st,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ot,0,1))]}_periodButtonLabelId=(0,T.WQX)(Qe.g).getId("mat-calendar-period-label-");static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:It,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(st,ot){1&st&&(M.NAR(),M.j41(0,"div",0)(1,"div",1)(2,"span",2),M.EFF(3),M.k0s(),M.j41(4,"button",3),M.bIt("click",function(){return ot.currentPeriodClicked()}),M.j41(5,"span",4),M.EFF(6),M.k0s(),T.qSk(),M.j41(7,"svg",5),M.nrm(8,"polygon",6),M.k0s()(),T.joV(),M.nrm(9,"div",7),M.SdG(10),M.j41(11,"button",8),M.bIt("click",function(){return ot.previousClicked()}),T.qSk(),M.j41(12,"svg",9),M.nrm(13,"path",10),M.k0s()(),T.joV(),M.j41(14,"button",11),M.bIt("click",function(){return ot.nextClicked()}),T.qSk(),M.j41(15,"svg",9),M.nrm(16,"path",12),M.k0s()()()()),2&st&&(M.R7$(2),M.Y8G("id",ot._peri
1odButtonLabelId),M.R7$(),M.JRh(ot.periodButtonDescription),M.R7$(),M.BMQ("aria-label",ot.periodButtonLabel)("aria-describedby",ot._periodButtonLabelId),M.R7$(2),M.JRh(ot.periodButtonText),M.R7$(),M.AVh("mat-calendar-invert","month"!==ot.calendar.currentView),M.R7$(4),M.Y8G("disabled",!ot.previousEnabled())("matTooltip",ot.prevButtonLabel),M.BMQ("aria-label",ot.prevButtonLabel),M.R7$(3),M.Y8G("disabled",!ot.nextEnabled())("matTooltip",ot.nextButtonLabel),M.BMQ("aria-label",ot.nextButtonLabel))},dependencies:[ve.$z,at.iY,Ut.oV],encapsulation:2,changeDetection:0})}return Jt})(),Rn=(()=>{class Jt{_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dateFormats=(0,T.WQX)(He.de,{optional:!0});_changeDetectorRef=(0,T.WQX)(k.gRc);_elementRef=(0,T.WQX)(M.aKT);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(Q){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_startAt;startView="month";get selected(){return this._selected}set selected(Q){this._selected=Q instanceof Ee?Q:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_selected;get minDate(){return this._minDate}set minDate(Q){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_minDate;get maxDate(){return this._maxDate}set maxDate(Q){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new M.bkB;yearSelected=new M.bkB;monthSelected=new M.bkB;viewChanged=new M.bkB(!0);_userSelection=new M.bkB;_userDragDrop=new M.bkB;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(Q){this._clampedActiveDate=this._dateAdapter.clampDate(Q,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(Q){const st=this._currentView!==Q?Q:null;this._currentView=Q,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),st&&(this.stateChanges.next(),this.viewChanged.emit(st))}_currentView;_activeDrag=null;stateChanges=new H.B;constructor(){this._intlChanges=(0,T.WQX)(pi).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Ke.A8(this.headerComponent||et),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(Q){const st=Q.minDate&&!this._dateAdapter.sameDate(Q.minDate.previousValue,Q.minDate.currentValue)?Q.minDate:void 0,ot=Q.maxDate&&!this._dateAdapter.sameDate(Q.maxDate.previousValue,Q.maxDate.currentValue)?Q.maxDate:void 0,bn=st||ot||Q.dateFilter;if(bn&&!bn.firstChange){const _i=this._getCurrentViewComponent();_i&&(this._elementRef.nativeElement.contains((0,Je.vc)())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),_i._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Q){const st=Q.value;(this.selected instanceof Ee||st&&!this._dateAdapter.sameDate(st,this.selected))&&this.selectedChange.emit(st),this._userSelection.emit(Q)}_yearSelectedInMultiYearView(Q){this.yearSelected.emit(Q)}_monthSelectedInYearView(Q){this.monthSelected.emit(Q)}_goToDateInView(Q,st){this.activeDate=Q,this.currentView=st}_dragStarted(Q){this._activeDrag=Q}_dragEnded(Q){this._activeDrag&&(Q.value&&this._userDragDrop.emit(Q),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-calendar"]],viewQuery:function(st,ot){if(1&st&&(M.GBs(Qi,5),M.GBs(_t,5),M.GBs(_n,5)),2&st){let bn;M.mGM(bn=M.lsd())&&(ot.monthView=bn.first),M.mGM(bn=M.lsd())&&(ot.yearView=bn.first),M.mGM(bn=M.lsd())&&(ot.multiYearView=bn.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[M.Jv_([we]),M.OA$],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(st,ot){if(1&st&&(M.DNE(0,Zt,0,0,"ng-template",0),M.j41(1,"div",1),M.nVh(2,ti,1,11,"mat-month-view",2)(3,Wn,1,6,"mat-year-view",3)(4,mr,1,6,"mat-multi-year-view",3),M.k0s()),2&st){let bn;M.Y8G("cdkPortalOutlet",ot._calendarHeaderPortal),M.R7$(2),M.vxM("month"===(bn=ot.currentView)?2:"year"===bn?3:"multi-year"===bn?4:-1)}},dependencies:[Ke.I3,Mt.vR,Qi,_t,_n],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}
1.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.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;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return Jt})();const Zn=new T.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const Jt=(0,T.WQX)(T.zZn);return()=>(0,ue.RH)(Jt)}}),zn={provide:Zn,deps:[],useFactory:function gt(Jt){const Ri=(0,T.WQX)(T.zZn);return()=>(0,ue.RH)(Ri)}};let ft=(()=>{class Jt{_elementRef=(0,T.WQX)(M.aKT);_animationsDisabled=(0,nt.Rc)();_changeDetectorRef=(0,T.WQX)(k.gRc);_globalModel=(0,T.WQX)(Ce);_dateAdapter=(0,T.WQX)(He.MJ);_ngZone=(0,T.WQX)(M.SKi);_rangeSelectionStrategy=(0,T.WQX)(j,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new H.B;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if((0,T.WQX)(he.l).load(ae.Y),this._closeButtonText=(0,T.WQX)(pi).closeCalendarLabel,!this._animationsDisabled){const Q=this._elementRef.nativeElement,st=(0,T.WQX)(M.sFG);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[st.listen(Q,"animationstart",this._handleAnimationEvent),st.listen(Q,"animationend",this._handleAnimationEvent),st.listen(Q,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(Q=>Q()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Q){const st=this._model.selection,ot=Q.value,bn=st instanceof Ee;if(bn&&this._rangeSelectionStrategy){const _i=this._rangeSelectionStrategy.selectionFinished(ot,st,Q.event);this._model.updateSelection(_i,this)}else ot&&(bn||!this._dateAdapter.sameDate(ot,st))&&this._model.add(ot);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Q){this._model.updateSelection(Q.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=Q=>{const st=this._elementRef.nativeElement;Q.target!==st||!Q.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating="animationstart"===Q.type,st.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};
1_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Q,st){this._model=Q?this._globalModel.clone():this._globalModel,this._actionsPortal=Q,st&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-datepicker-content"]],viewQuery:function(st,ot){if(1&st&&M.GBs(Rn,5),2&st){let bn;M.mGM(bn=M.lsd())&&(ot._calendar=bn.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(st,ot){2&st&&(M.HbH(ot.color?"mat-"+ot.color:""),M.AVh("mat-datepicker-content-touch",ot.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!ot._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(st,ot){1&st&&(M.j41(0,"div",0)(1,"mat-calendar",1),M.bIt("yearSelected",function(_i){return ot.datepicker._selectYear(_i)})("monthSelected",function(_i){return ot.datepicker._selectMonth(_i)})("viewChanged",function(_i){return ot.datepicker._viewChanged(_i)})("_userSelection",function(_i){return ot._handleUserSelection(_i)})("_userDragDrop",function(_i){return ot._handleUserDragDrop(_i)}),M.k0s(),M.DNE(2,Bn,0,0,"ng-template",2),M.j41(3,"button",3),M.bIt("focus",function(){return ot._closeButtonFocused=!0})("blur",function(){return ot._closeButtonFocused=!1})("click",function(){return ot.datepicker.close()}),M.EFF(4),M.k0s()()),2&st&&(M.AVh("mat-datepicker-content-container-with-custom-header",ot.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ot._actionsPortal),M.BMQ("aria-modal",!0)("aria-labelledby",ot._dialogLabelId??void 0),M.R7$(),M.HbH(ot.datepicker.panelClass),M.Y8G("id",ot.datepicker.id)("startAt",ot.datepicker.startAt)("startView",ot.datepicker.startView)("minDate",ot.datepicker._getMinDate())("maxDate",ot.datepicker._getMaxDate())("dateFilter",ot.datepicker._getDateFilter())("headerComponent",ot.datepicker.calendarHeaderComponent)("selected",ot._getSelected())("dateClass",ot.datepicker.dateClass)("comparisonStart",ot.comparisonStart)("comparisonEnd",ot.comparisonEnd)("startDateAccessibleName",ot.startDateAccessibleName)("endDateAccessibleName",ot.endDateAccessibleName),M.R7$(),M.Y8G("cdkPortalOutlet",ot._actionsPortal),M.R7$(),M.AVh("cdk-visually-hidden",!ot._closeButtonFocused),M.Y8G("color",ot.color||"primary"),M.R7$(),M.JRh(ot._closeButtonText))},dependencies:[Ge.kB,Rn,Ke.I3,ve.$z],styles:["@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,changeDetection:0})}return Jt})(),Bt=(()=>{class Jt{_injector=(0,T.WQX)(T.zZn);
1_viewContainerRef=(0,T.WQX)(M.c1b);_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dir=(0,T.WQX)(Xe.dS,{optional:!0});_model=(0,T.WQX)(Ce);_animationsDisabled=(0,nt.Rc)();_scrollStrategy=(0,T.WQX)(Zn);_inputStateChanges=B.yU.EMPTY;_document=(0,T.WQX)(T.qQL);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Q){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Q){this._color=Q}_color;touchUi=!1;get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Q){Q!==this._disabled&&(this._disabled=Q,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new M.bkB;monthSelected=new M.bkB;viewChanged=new M.bkB(!0);dateClass;openedStream=new M.bkB;closedStream=new M.bkB;get panelClass(){return this._panelClass}set panelClass(Q){this._panelClass=(0,ze.cc)(Q)}_panelClass;get opened(){return this._opened}set opened(Q){Q?this.open():this.close()}_opened=!1;id=(0,T.WQX)(Qe.g).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new H.B;_changeDetectorRef=(0,T.WQX)(k.gRc);constructor(){this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(Q){const st=Q.xPosition||Q.yPosition;if(st&&!st.firstChange&&this._overlayRef){const ot=this._overlayRef.getConfig().positionStrategy;ot instanceof ue.rW&&(this._setConnectedPositions(ot),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Q){this._model.add(Q)}_selectYear(Q){this.yearSelected.emit(Q)}_selectMonth(Q){this.monthSelected.emit(Q)}_viewChanged(Q){this.viewChanged.emit(Q)}registerInput(Q){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Q,this._inputStateChanges=Q.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Q){this._actionsPortal=Q,this._componentRef?.instance._assignActions(Q,!0)}removeActions(Q){Q===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,Je.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Q=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,st=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ot,location:bn}=this._componentRef;ot._animationDone.pipe((0,q.s)(1)).subscribe(()=>{const _i=this._document.activeElement;Q&&(!_i||_i===this._document.activeElement||bn.nativeElement.contains(_i))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),ot._startExitAnimation()}Q?setTimeout(st):st()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Q){Q.datepicker=this,Q.color=this.color,Q._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Q._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Q=this.touchUi,st=new Ke.A8(ft,this._viewContainerRef),ot=this._overlayRef=(0,ue.Y$)(this._injector,new ue.rR({positionStrategy:Q?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Q?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:Q?(0,ue.gA)(this._injector):this._scrollStrategy(),panelClass:"mat-datepicker-"+(Q?"dialog":"popup"),disableAnimations:this._animationsDisabled}));this._getCloseStream(ot).subscribe(bn=>{bn&&bn.preventDefault(),this.close()}),ot.keydownEvents().subscribe(bn=>{const _i=bn.keyCode;(_i===ge.i7||_i===ge.n6||_i===ge.UQ||_i===ge.LE||_i===ge.w_||_i===ge.dB)&&bn.preventDefault()}),this._componentRef=ot.attach(st),this._forwardContentValues(this._componentRef.instance),Q||(0,M.mal)(()=>{ot.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return(0,ue.uA)(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){const Q=(0,ue.$M)(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Q)}_setConnectedPositions(Q){const st="end"===this.xPosition?"end":"start",ot="start"===st?"end":"start",bn="above"===this.yPosition?"bottom":"top",_i="top"===bn?"bottom":"top";return Q.withPositions([{originX:st,originY:_i,overlayX:st,overlayY:bn},{originX:st,originY:bn,overlayX:st,overlayY:_i},{originX:ot,originY:_i,overlayX:ot,overlayY:bn},{originX:ot,originY:bn,overlayX:ot,overlayY:_i}])}_getCloseStream(Q){const st=["ctrlKey","shiftKey","metaKey"];return(0,x.h)(Q.backdropClick(),Q.detachments(),Q.keydownEvents().pipe((0,$e.p)(ot=>ot.keyCode===ge._f&&!(0,Le.rp)(ot)||this.datepickerInput&&(0,Le.rp)(ot,"altKey")&&ot.keyCode===ge.i7&&st.every(bn=>!(0,Le.rp)(ot,bn)))))}static \u0275fac=function(st){return new(st||Jt)};
1static \u0275dir=M.FsC({type:Jt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",k.L39],disabled:[2,"disabled","disabled",k.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",k.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",k.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[M.OA$]})}return Jt})(),xn=(()=>{class Jt extends Bt{static \u0275fac=(()=>{let Q;return function(ot){return(Q||(Q=M.xGo(Jt)))(ot||Jt)}})();static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[M.Jv_([we,{provide:Bt,useExisting:Jt}]),M.Vt3],decls:0,vars:0,template:function(st,ot){},encapsulation:2,changeDetection:0})}return Jt})();class Ti{target;targetElement;value;constructor(Ri,Q){this.target=Ri,this.targetElement=Q,this.value=this.target.value}}let Gi=(()=>{class Jt{_elementRef=(0,T.WQX)(M.aKT);_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_dateFormats=(0,T.WQX)(He.de,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Q){this._assignValueProgrammatically(Q)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Q){const st=Q,ot=this._elementRef.nativeElement;this._disabled!==st&&(this._disabled=st,this.stateChanges.next(void 0)),st&&this._isInitialized&&ot.blur&&ot.blur()}_disabled;dateChange=new M.bkB;dateInput=new M.bkB;stateChanges=new H.B;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=B.yU.EMPTY;_localeSubscription=B.yU.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=Q=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q.value));return!st||this._matchesFilter(st)?null:{matDatepickerFilter:!0}};_minValidator=Q=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q.value)),ot=this._getMinDate();return!ot||!st||this._dateAdapter.compareDate(ot,st)<=0?null:{matDatepickerMin:{min:ot,actual:st}}};_maxValidator=Q=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q.value)),ot=this._getMaxDate();return!ot||!st||this._dateAdapter.compareDate(ot,st)>=0?null:{matDatepickerMax:{max:ot,actual:st}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Q){this._model=Q,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(st=>{if(this._shouldHandleChangeEvent(st)){const ot=this._getValueFromModel(st.selection);this._lastValueValid=this._isValidValue(ot),this._cvaOnChange(ot),this._onTouched(),this._formatValue(ot),this.dateInput.emit(new Ti(this,this._elementRef.nativeElement)),this.dateChange.emit(new Ti(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Q){Mr(Q,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Q){this._validatorOnChange=Q}validate(Q){return this._validator?this._validator(Q):null}writeValue(Q){this._assignValueProgrammatically(Q)}registerOnChange(Q){this._cvaOnChange=Q}registerOnTouched(Q){this._onTouched=Q}setDisabledState(Q){this.disabled=Q}_onKeydown(Q){(0,Le.rp)(Q,"altKey")&&Q.keyCode===ge.n6&&["ctrlKey","shiftKey","metaKey"].every(bn=>!(0,Le.rp)(Q,bn))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Q.preventDefault())}_onInput(Q){const st=Q.target.value,ot=this._lastValueValid;let bn=this._dateAdapter.parse(st,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(bn),bn=this._dateAdapter.getValidDateOrNull(bn);const _i=!this._dateAdapter.sameDate(bn,this.value);!bn||_i?this._cvaOnChange(bn):(st&&!this.value&&this._cvaOnChange(bn),ot!==this._lastValueValid&&this._val
1idatorOnChange()),_i&&(this._assignValue(bn),this.dateInput.emit(new Ti(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Ti(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Q){this._elementRef.nativeElement.value=null!=Q?this._dateAdapter.format(Q,this._dateFormats.display.dateInput):""}_assignValue(Q){this._model?(this._assignValueToModel(Q),this._pendingValue=null):this._pendingValue=Q}_isValidValue(Q){return!Q||this._dateAdapter.isValid(Q)}_parentDisabled(){return!1}_assignValueProgrammatically(Q){Q=this._dateAdapter.deserialize(Q),this._lastValueValid=this._isValidValue(Q),Q=this._dateAdapter.getValidDateOrNull(Q),this._assignValue(Q),this._formatValue(Q)}_matchesFilter(Q){const st=this._getDateFilter();return!st||st(Q)}static \u0275fac=function(st){return new(st||Jt)};static \u0275dir=M.FsC({type:Jt,inputs:{value:"value",disabled:[2,"disabled","disabled",k.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[M.OA$]})}return Jt})();function Mr(Jt,Ri){const Q=Object.keys(Jt);for(let st of Q){const{previousValue:ot,currentValue:bn}=Jt[st];if(!Ri.isDateInstance(ot)||!Ri.isDateInstance(bn))return!0;if(!Ri.sameDate(ot,bn))return!0}return!1}const $t={provide:cn.kq,useExisting:(0,T.Rfq)(()=>In),multi:!0},wn={provide:cn.cz,useExisting:(0,T.Rfq)(()=>In),multi:!0};let In=(()=>{class Jt extends Gi{_formField=(0,T.WQX)(qt.xb,{optional:!0});_closedSubscription=B.yU.EMPTY;_openedSubscription=B.yU.EMPTY;set matDatepicker(Q){Q&&(this._datepicker=Q,this._ariaOwns.set(Q.opened?Q.id:null),this._closedSubscription=Q.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=Q.openedStream.subscribe(()=>{this._ariaOwns.set(Q.id)}),this._registerModel(Q.registerInput(this)))}_datepicker;_ariaOwns=(0,T.vPA)(null);get min(){return this._min}set min(Q){const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q));this._dateAdapter.sameDate(st,this._min)||(this._min=st,this._validatorOnChange())}_min;get max(){return this._max}set max(Q){const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q));this._dateAdapter.sameDate(st,this._max)||(this._max=st,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(Q){const st=this._matchesFilter(this.value);this._dateFilter=Q,this._matchesFilter(this.value)!==st&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=cn.k0.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Q){return Q}_assignValueToModel(Q){this._model&&this._model.updateSelection(Q,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Q){return Q.source!==this}static \u0275fac=function(st){return new(st||Jt)};static \u0275dir=M.FsC({type:Jt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(st,ot){1&st&&M.bIt("input",function(_i){return ot._onInput(_i)})("change",function(){return ot._onChange()})("blur",function(){return ot._onBlur()})("keydown",function(_i){return ot._onKeydown(_i)}),2&st&&(M.Avn("disabled",ot.disabled),M.BMQ("aria-haspopup",ot._datepicker?"dialog":null)("aria-owns",ot._ariaOwns())("min",ot.min?ot._dateAdapter.toIso8601(ot.min):null)("max",ot.max?ot._dateAdapter.toIso8601(ot.max):null)("data-mat-calendar",ot._datepicker?ot._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[M.Jv_([$t,wn,{provide:hn.O,useExisting:Jt}]),M.Vt3]})}return Jt})(),Di=(()=>{class Jt{static \u0275fac=function(st){return new(st||Jt)};static \u0275dir=M.FsC({type:Jt,selectors:[["","matDatepickerToggleIcon",""]]})}return Jt})(),Ai=(()=>{class Jt{_intl=(0,T.WQX)(pi);_changeDetectorRef=(0,T.WQX)(k.gRc);_stateChanges=B.yU.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Q){this._disabled=Q}_disabled;disableRipple;_customIcon;_button;constructor(){const Q=(0,T.WQX)(new k.ES_("tabindex"),{optional:!0}),st=Number(Q);this.tabIndex=st||0===st?st:null}ngOnChanges(Q){Q.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Q){this.datepicker&&!this.disabled&&(this.datepicker.open(),Q.stopPropagation())}_watchStateChanges(){const Q=this.datepicker?this.datepicker.stateChanges:(0,ye.of)(),st=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,ye.of)(),ot=this.datepicker?(0,x.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,ye.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,x.h)(this._intl.changes,Q,st,ot).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-datepicker-toggle"]],c
1ontentQueries:function(st,ot,bn){if(1&st&&M.wni(bn,Di,5),2&st){let _i;M.mGM(_i=M.lsd())&&(ot._customIcon=_i.first)}},viewQuery:function(st,ot){if(1&st&&M.GBs(Oi,5),2&st){let bn;M.mGM(bn=M.lsd())&&(ot._button=bn.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(st,ot){1&st&&M.bIt("click",function(_i){return ot._open(_i)}),2&st&&(M.BMQ("tabindex",null)("data-mat-calendar",ot.datepicker?ot.datepicker.id:null),M.AVh("mat-datepicker-toggle-active",ot.datepicker&&ot.datepicker.opened)("mat-accent",ot.datepicker&&"accent"===ot.datepicker.color)("mat-warn",ot.datepicker&&"warn"===ot.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",k.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[M.OA$],ngContentSelectors:Tn,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(st,ot){1&st&&(M.NAR(dn),M.j41(0,"button",1,0),M.nVh(2,Yn,2,0,":svg:svg",2),M.SdG(3),M.k0s()),2&st&&(M.Y8G("tabIndex",ot.disabled?-1:ot.tabIndex)("disabled",ot.disabled)("disableRipple",ot.disableRipple),M.BMQ("aria-haspopup",ot.datepicker?"dialog":null)("aria-label",ot.ariaLabel||ot._intl.openCalendarLabel)("aria-expanded",ot.datepicker?ot.datepicker.opened:null),M.R7$(2),M.vxM(ot._customIcon?-1:2))},dependencies:[at.iY],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],encapsulation:2,changeDetection:0})}return Jt})(),ki=(()=>{class Jt{_changeDetectorRef=(0,T.WQX)(k.gRc);_elementRef=(0,T.WQX)(M.aKT);_dateAdapter=(0,T.WQX)(He.MJ,{optional:!0});_formField=(0,T.WQX)(qt.xb,{optional:!0});_closedSubscription=B.yU.EMPTY;_openedSubscription=B.yU.EMPTY;_startInput;_endInput;get value(){return this._model?this._model.selection:null}id=(0,T.WQX)(Qe.g).getId("mat-date-range-input-");focused=!1;get shouldLabelFloat(){return this.focused||!this.empty}controlType="mat-date-range-input";get placeholder(){const Q=this._startInput?._getPlaceholder()||"",st=this._endInput?._getPlaceholder()||"";return Q||st?`${Q} ${this.separator} ${st}`:""}get rangePicker(){return this._rangePicker}set rangePicker(Q){Q&&(this._model=Q.registerInput(this),this._rangePicker=Q,this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this._ariaOwns.set(this.rangePicker.opened?Q.id:null),this._closedSubscription=Q.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=Q.openedStream.subscribe(()=>{this._ariaOwns.set(Q.id)}),this._registerModel(this._model))}_rangePicker;_ariaOwns=(0,T.vPA)(null);get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(Q){this._required=Q}_required;get dateFilter(){return this._dateFilter}set dateFilter(Q){const st=this._startInput,ot=this._endInput,bn=st&&st._matchesFilter(st.value),_i=ot&&ot._matchesFilter(st.value);this._dateFilter=Q,st&&st._matchesFilter(st.value)!==bn&&st._validatorOnChange(),ot&&ot._matchesFilter(ot.value)!==_i&&ot._validatorOnChange()}_dateFilter;get min(){return this._min}set min(Q){const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q));this._dateAdapter.sameDate(st,this._min)||(this._min=st,this._revalidate())}_min;get max(){return this._max}set max(Q){const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q));this._dateAdapter.sameDate(st,this._max)||(this._max=st,this._revalidate())}_max;get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(Q){Q!==this._groupDisabled&&(this._groupDisabled=Q,this.stateChanges.next(void 0))}_groupDisabled=!1;get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const Q=!!this._startInput&&this._startInput.isEmpty(),st=!!this._endInput&&this._endInput.isEmpty();return Q&&st}_ariaDescribedBy=null;_model;separator="\u2013";comparisonStart=null;comparisonEnd=null;ngControl;stateChanges=new H.B;disableAutomaticLabeling=!0;constructor(){this._formField?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&this._elementRef.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=(0,T.WQX)(cn.ZU,{optional:!0,self:!0})}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(Q){this._ariaDescribedBy=Q.length?Q.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,x.h)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(Q){Mr(Q,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}
1getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(Q){const st="start"===Q?this._startInput:this._endInput;return st?st.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const Q=this._formField;return Q&&Q._hasFloatingLabel()?Q._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(Q){this.focused=null!==Q,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(Q){this._startInput&&this._startInput._registerModel(Q),this._endInput&&this._endInput._registerModel(Q)}_isTargetRequired(Q){return Q?.ngControl?.control?.hasValidator(cn.k0.required)}static \u0275fac=function(st){return new(st||Jt)};static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-date-range-input"]],hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(st,ot){2&st&&(M.BMQ("id",ot.id)("aria-labelledby",ot._getAriaLabelledby())("aria-describedby",ot._ariaDescribedBy)("data-mat-calendar",ot.rangePicker?ot.rangePicker.id:null),M.AVh("mat-date-range-input-hide-placeholders",ot._shouldHidePlaceholders())("mat-date-range-input-required",ot.required))},inputs:{rangePicker:"rangePicker",required:[2,"required","required",k.L39],dateFilter:"dateFilter",min:"min",max:"max",disabled:[2,"disabled","disabled",k.L39],separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[M.Jv_([{provide:qt.qT,useExisting:Jt}]),M.OA$],ngContentSelectors:Qn,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(st,ot){1&st&&(M.NAR(_),M.j41(0,"div",0),M.bIt("cdkFocusChange",function(_i){return ot._updateFocus(_i)}),M.j41(1,"div",1),M.SdG(2),M.j41(3,"span",2),M.EFF(4),M.k0s()(),M.j41(5,"span",3),M.EFF(6),M.k0s(),M.j41(7,"div",4),M.SdG(8,1),M.j41(9,"span",2),M.EFF(10),M.k0s()()()),2&st&&(M.R7$(4),M.JRh(ot._getInputMirrorValue("start")),M.R7$(),M.AVh("mat-date-range-input-separator-hidden",ot._shouldHideSeparator()),M.R7$(),M.JRh(ot.separator),M.R7$(4),M.JRh(ot._getInputMirrorValue("end")))},dependencies:[Mt.vR],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color, var(--mat-sys-on-surface))}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}
1}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}@media(forced-colors: active){.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0})}return Jt})();function _r(Jt){return Ns(Jt,!0)}function Cr(Jt){return Jt.nodeType===Node.ELEMENT_NODE}function Ns(Jt,Ri){if(Cr(Jt)&&Ri){const st=(Jt.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((ot,bn)=>{const _i=document.getElementById(bn);return _i&&ot.push(_i),ot},[]);if(st.length)return st.map(ot=>Ns(ot,!1)).join(" ")}if(Cr(Jt)){const Q=Jt.getAttribute("aria-label")?.trim();if(Q)return Q}if(function Hr(Jt){return"INPUT"===Jt.nodeName}(Jt)||function $r(Jt){return"TEXTAREA"===Jt.nodeName}(Jt)){if(Jt.labels?.length)return Array.from(Jt.labels).map(ot=>Ns(ot,!1)).join(" ");const Q=Jt.getAttribute("placeholder")?.trim();if(Q)return Q;const st=Jt.getAttribute("title")?.trim();if(st)return st}return(Jt.textContent||"").replace(/\s+/g," ").trim()}let Cs=(()=>{class Jt extends Gi{_rangeInput=(0,T.WQX)(ki);_elementRef=(0,T.WQX)(M.aKT);_defaultErrorStateMatcher=(0,T.WQX)(Te.e);_injector=(0,T.WQX)(T.zZn);_rawValue=(0,T.vPA)("");_parentForm=(0,T.WQX)(cn.cV,{optional:!0});_parentFormGroup=(0,T.WQX)(cn.j4,{optional:!0});ngControl;_dir=(0,T.WQX)(Xe.dS,{optional:!0});_errorStateTracker;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Q){this._errorStateTracker.matcher=Q}get errorState(){return this._errorStateTracker.errorState}set errorState(Q){this._errorStateTracker.errorState=Q}constructor(){super(),this._errorStateTracker=new Pe.X(this._defaultErrorStateMatcher,null,this._parentFormGroup,this._parentForm,this.stateChanges)}ngOnInit(){const Q=this._injector.get(cn.vO,null,{optional:!0,self:!0});Q&&(this.ngControl=Q,this._errorStateTracker.ngControl=Q)}ngAfterContentInit(){this._register()}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._rawValue.set(this._elementRef.nativeElement.value)}isEmpty(){return 0===this._rawValue().length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const Q=this._rawValue();return Q.length>0?Q:this._getPlaceholder()}updateErrorState(){this._errorStateTracker.updateErrorState()}_onInput(Q){super._onInput(Q),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:Q}){return Q!==this._rangeInput._startInput&&Q!==this._rangeInput._endInput}_assignValueProgrammatically(Q){super._assignValueProgrammatically(Q),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange(),this._rawValue.set(this._elementRef.nativeElement.value)}_formatValue(Q){super._formatValue(Q),this._rangeInput._handleChildValueChange()}_getAccessibleName(){return _r(this._elementRef.nativeElement)}static \u0275fac=function(st){return new(st||Jt)};
1static \u0275dir=M.FsC({type:Jt,inputs:{errorStateMatcher:"errorStateMatcher"},features:[M.Vt3]})}return Jt})(),Xs=(()=>{class Jt extends Cs{_startValidator=Q=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q.value)),ot=this._model?this._model.selection.end:null;return!st||!ot||this._dateAdapter.compareDate(st,ot)<=0?null:{matStartDateInvalid:{end:ot,actual:st}}};_validator=cn.k0.compose([...super._getValidators(),this._startValidator]);_register(){this._rangeInput._startInput=this}_getValueFromModel(Q){return Q.start}_shouldHandleChangeEvent(Q){return!(!super._shouldHandleChangeEvent(Q)||(Q.oldValue?.start?Q.selection.start&&!this._dateAdapter.compareDate(Q.oldValue.start,Q.selection.start):!Q.selection.start))}_assignValueToModel(Q){if(this._model){const st=new Ee(Q,this._model.selection.end);this._model.updateSelection(st,this),this._rangeInput._handleChildValueChange()}}_onKeydown(Q){const st=this._rangeInput._endInput,ot=this._elementRef.nativeElement,bn="rtl"!==this._dir?.value;(Q.keyCode===ge.LE&&bn||Q.keyCode===ge.UQ&&!bn)&&ot.selectionStart===ot.value.length&&ot.selectionEnd===ot.value.length?(Q.preventDefault(),st._elementRef.nativeElement.setSelectionRange(0,0),st.focus()):super._onKeydown(Q)}static \u0275fac=(()=>{let Q;return function(ot){return(Q||(Q=M.xGo(Jt)))(ot||Jt)}})();static \u0275dir=M.FsC({type:Jt,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(st,ot){1&st&&M.bIt("input",function(_i){return ot._onInput(_i)})("change",function(){return ot._onChange()})("keydown",function(_i){return ot._onKeydown(_i)})("blur",function(){return ot._onBlur()}),2&st&&(M.Avn("disabled",ot.disabled),M.BMQ("aria-haspopup",ot._rangeInput.rangePicker?"dialog":null)("aria-owns",ot._rangeInput._ariaOwns()||null)("min",ot._getMinDate()?ot._dateAdapter.toIso8601(ot._getMinDate()):null)("max",ot._getMaxDate()?ot._dateAdapter.toIso8601(ot._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[M.Jv_([{provide:cn.kq,useExisting:Jt,multi:!0},{provide:cn.cz,useExisting:Jt,multi:!0}]),M.Vt3]})}return Jt})(),Fs=(()=>{class Jt extends Cs{_endValidator=Q=>{const st=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Q.value)),ot=this._model?this._model.selection.start:null;return!st||!ot||this._dateAdapter.compareDate(st,ot)>=0?null:{matEndDateInvalid:{start:ot,actual:st}}};_register(){this._rangeInput._endInput=this}_validator=cn.k0.compose([...super._getValidators(),this._endValidator]);_getValueFromModel(Q){return Q.end}_shouldHandleChangeEvent(Q){return!(!super._shouldHandleChangeEvent(Q)||(Q.oldValue?.end?Q.selection.end&&!this._dateAdapter.compareDate(Q.oldValue.end,Q.selection.end):!Q.selection.end))}_assignValueToModel(Q){if(this._model){const st=new Ee(this._model.selection.start,Q);this._model.updateSelection(st,this)}}_moveCaretToEndOfStartInput(){const Q=this._rangeInput._startInput._elementRef.nativeElement,st=Q.value;st.length>0&&Q.setSelectionRange(st.length,st.length),Q.focus()}_onKeydown(Q){const st=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;Q.keyCode!==ge.G_||st.value?(Q.keyCode===ge.UQ&&ot||Q.keyCode===ge.LE&&!ot)&&0===st.selectionStart&&0===st.selectionEnd?(Q.preventDefault(),this._moveCaretToEndOfStartInput()):super._onKeydown(Q):this._moveCaretToEndOfStartInput()}static \u0275fac=(()=>{let Q;return function(ot){return(Q||(Q=M.xGo(Jt)))(ot||Jt)}})();static \u0275dir=M.FsC({type:Jt,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(st,ot){1&st&&M.bIt("input",function(_i){return ot._onInput(_i)})("change",function(){return ot._onChange()})("keydown",function(_i){return ot._onKeydown(_i)})("blur",function(){return ot._onBlur()}),2&st&&(M.Avn("disabled",ot.disabled),M.BMQ("aria-haspopup",ot._rangeInput.rangePicker?"dialog":null)("aria-owns",ot._rangeInput._ariaOwns()||null)("min",ot._getMinDate()?ot._dateAdapter.toIso8601(ot._getMinDate()):null)("max",ot._getMaxDate()?ot._dateAdapter.toIso8601(ot._getMaxDate()):null))},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[M.Jv_([{provide:cn.kq,useExisting:Jt,multi:!0},{provide:cn.cz,useExisting:Jt,multi:!0}]),M.Vt3]})}return Jt})(),po=(()=>{class Jt extends Bt{_forwardContentValues(Q){super._forwardContentValues(Q);const st=this.datepickerInput;st&&(Q.comparisonStart=st.comparisonStart,Q.comparisonEnd=st.comparisonEnd,Q.startDateAccessibleName=st._getStartDateAccessibleName(),Q.endDateAccessibleName=st._getEndDateAccessibleName())}static \u0275fac=(()=>{let Q;
1return function(ot){return(Q||(Q=M.xGo(Jt)))(ot||Jt)}})();static \u0275cmp=M.VBU({type:Jt,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[M.Jv_([L,Yt,{provide:Bt,useExisting:Jt}]),M.Vt3],decls:0,vars:0,template:function(st,ot){},encapsulation:2,changeDetection:0})}return Jt})(),vi=(()=>{class Jt{static \u0275fac=function(st){return new(st||Jt)};static \u0275mod=M.$C({type:Jt});static \u0275inj=T.G2t({providers:[pi,zn],imports:[ve.Hl,ue.z_,Ge.Pd,Ke.jc,wt.y,ft,Ai,et,yt.Gj]})}return Jt})()},2591(tn,Ye,d){"use strict";d.d(Ye,{BI:()=>qt,CP:()=>he,E7:()=>Pe,Vh:()=>ve,Yi:()=>Te,bZ:()=>nt,hM:()=>Ie,tx:()=>cn});var o=d(2529),s=d(9338),h=d(6939),y=d(2615),v=d(3664),T=d(7847),M=d(1804),k=d(1413),H=d(9030),B=d(7786),x=d(5964),ye=d(9172),He=d(6697),Mt=d(7336),Ge=d(438),Qe=d(9726),Xe=d(5478),ze=d(2466);function Le(ie,je){}class ge{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const ue="mdc-dialog--open",kt="mdc-dialog--opening",Je="mdc-dialog--closing";let lt=(()=>{class ie extends o.sU{_animationStateChanged=new v.bkB;_animationsEnabled=!(0,M.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?de(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?de(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(q,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(kt,ue)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(ue),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(ue),this._animationsEnabled?(this._hostElement.style.setProperty(q,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Je)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(rt){this._actionSectionCount+=rt,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(kt,Je)}_waitForAnimationToComplete(rt,Ze){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Ze,rt)}_requestAnimationFrame(rt){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(rt):rt()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(rt){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:rt})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(rt){const Ze=super.attachComponentPortal(rt);return Ze.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),Ze}static \u0275fac=(()=>{let rt;return function(We){return(rt||(rt=v.xGo(ie)))(We||ie)}})();static \u0275cmp=v.VBU({type:ie,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(Ze,We){2&Ze&&(v.Avn("id",We._config.id),v.BMQ("aria-modal",We._config.ariaModal)("role",We._config.role)("aria-labelledby",We._config.ariaLabel?null:We._ariaLabelledByQueue[0])("aria-label",We._config.ariaLabel)("aria-describedby",We._config.ariaDescribedBy||null),v.AVh("_mat-animation-noopable",!We._animationsEnabled)("mat-mdc-dialog-container-with-actions",We._actionSectionCount>0))},features:[v.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(Ze,We){1&Ze&&(v.j41(0,"div",0)(1,"div",1),v.DNE(2,Le,0,0,"ng-template",2),v.k0s()())},dependencies:[h.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
1.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return ie})();const q="--mat-dialog-transition-duration";function de(ie){return null==ie?null:"number"==typeof ie?ie:ie.endsWith("ms")?(0,T.OE)(ie.substring(0,ie.length-2)):ie.endsWith("s")?1e3*(0,T.OE)(ie.substring(0,ie.length-1)):"0"===ie?0:null}var ae=function(ie){return ie[ie.OPEN=0]="OPEN",ie[ie.CLOSING=1]="CLOSING",ie[ie.CLOSED=2]="CLOSED",ie}(ae||{});class he{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new k.B;_beforeClosed=new k.B;_result;_closeFallbackTimeout;_state=ae.OPEN;_closeInteractionType;constructor(je,rt,Ze){this._ref=je,this._config=rt,this._containerInstance=Ze,this.disableClose=rt.disableClose,this.id=je.id,je.addPanelClass("mat-mdc-dialog-panel"),Ze._animationStateChanged.pipe((0,x.p)(We=>"opened"===We.state),(0,He.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ze._animationStateChanged.pipe((0,x.p)(We=>"closed"===We.state),(0,He.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),je.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,B.h)(this.backdropClick(),this.keydownEvents().pipe((0,x.p)(We=>We.keyCode===Ge._f&&!this.disableClose&&!(0,Mt.rp)(We)))).subscribe(We=>{this.disableClose||(We.preventDefault(),Ne(this,"keydown"===We.type?"keyboard":"mouse"))})}close(je){const rt=this._config.closePredicate;rt&&!rt(je,this._config,this.componentInstance)||(this._result=je,this._containerInstance._animationStateChanged.pipe((0,x.p)(Ze=>"closing"===Ze.state),(0,He.s)(1)).subscribe(Ze=>{this._beforeClosed.next(je),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ze.totalTime+100)}),this._state=ae.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(je){let rt=this._ref.config.positionStrategy;return je&&(je.left||je.right)?je.left?rt.left(je.left):rt.right(je.right):rt.centerHorizontally(),je&&(je.top||je.bottom)?je.top?rt.top(je.top):rt.bottom(je.bottom):rt.centerVertically(),this._ref.updatePosition(),this}updateSize(je="",rt=""){return this._ref.updateSize(je,rt),this}addPanelClass(je){return this._ref.addPanelClass(je),this}removePanelClass(je){return this._ref.removePanelClass(je),this}getState(){return this._state}_finishDialogClose(){this._state=ae.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ne(ie,je,rt){return ie._closeInteractionType=je,ie.close(rt)}const ve=new y.nKC("MatMdcDialogData"),at=new y.nKC("mat-mdc-dialog-default-options"),Ut=new y.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const ie=(0,y.WQX)(y.zZn);return()=>(0,s.gA)(ie)}});let nt=(()=>{class ie{_defaultOptions=(0,y.WQX)(at,{optional:!0});_scrollStrategy=(0,y.WQX)(Ut);_parentDialog=(0,y.WQX)(ie,{optional:!0,skipSelf:!0});_idGenerator=(0,y.WQX)(Qe.g);_injector=(0,y.WQX)(y.zZn);_dialog=(0,y.WQX)(o.lG);_animationsDisabled=(0,M.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new k.B;_afterOpenedAtThisLevel=new k.B;dialogConfigClass=ge;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const rt=this._parentDialog;return rt?rt._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,H.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,ye.Z)(void 0)));constructor(){this._dialogRefConstructor=he,this._dialogContainerType=lt,this._dialogDataToken=ve}open(rt,Ze){let We;(Ze={...this._defaultOptions||new ge,...Ze}).id=Ze.id||this._idGenerator.getId("mat-mdc-dialog-"),Ze.scrollStrategy=Ze.scrollStrategy||this._scrollStrategy();const Ot=this._dialog.open(rt,{...Ze,positionStrategy:(0,s.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===Ze.enterAnimationDuration?.toLocaleStr
1ing()||"0"===Ze.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Ze},{provide:o.Pe,useValue:Ze}]},templateContext:()=>({dialogRef:We}),providers:(Me,It,Zt)=>(We=new this._dialogRefConstructor(Me,Ze,Zt),We.updatePosition(Ze?.position),[{provide:this._dialogContainerType,useValue:Zt},{provide:this._dialogDataToken,useValue:It.data},{provide:this._dialogRefConstructor,useValue:We}])});return We.componentRef=Ot.componentRef,We.componentInstance=Ot.componentInstance,this.openDialogs.push(We),this.afterOpened.next(We),We.afterClosed().subscribe(()=>{const Me=this.openDialogs.indexOf(We);Me>-1&&(this.openDialogs.splice(Me,1),this.openDialogs.length||this._getAfterAllClosed().next())}),We}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(rt){return this.openDialogs.find(Ze=>Ze.id===rt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(rt){let Ze=rt.length;for(;Ze--;)rt[Ze].close()}static \u0275fac=function(Ze){return new(Ze||ie)};static \u0275prov=y.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})(),cn=(()=>{class ie{dialogRef=(0,y.WQX)(he,{optional:!0});_elementRef=(0,y.WQX)(v.aKT);_dialog=(0,y.WQX)(nt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=yt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(rt){const Ze=rt._matDialogClose||rt._matDialogCloseResult;Ze&&(this.dialogResult=Ze.currentValue)}_onButtonClick(rt){Ne(this.dialogRef,0===rt.screenX&&0===rt.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(Ze){return new(Ze||ie)};static \u0275dir=v.FsC({type:ie,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Ze,We){1&Ze&&v.bIt("click",function(Me){return We._onButtonClick(Me)}),2&Ze&&v.BMQ("aria-label",We.ariaLabel||null)("type",We.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[v.OA$]})}return ie})(),hn=(()=>{class ie{_dialogRef=(0,y.WQX)(he,{optional:!0});_elementRef=(0,y.WQX)(v.aKT);_dialog=(0,y.WQX)(nt);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=yt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(Ze){return new(Ze||ie)};static \u0275dir=v.FsC({type:ie})}return ie})(),qt=(()=>{class ie extends hn{id=(0,y.WQX)(Qe.g).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let rt;return function(We){return(rt||(rt=v.xGo(ie)))(We||ie)}})();static \u0275dir=v.FsC({type:ie,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(Ze,We){2&Ze&&v.Avn("id",We.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[v.Vt3]})}return ie})(),Te=(()=>{class ie{static \u0275fac=function(Ze){return new(Ze||ie)};static \u0275dir=v.FsC({type:ie,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[v.nM4([Xe.uv])]})}return ie})(),Pe=(()=>{class ie extends hn{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let rt;return function(We){return(rt||(rt=v.xGo(ie)))(We||ie)}})();static \u0275dir=v.FsC({type:ie,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(Ze,We){2&Ze&&v.AVh("mat-mdc-dialog-actions-align-start","start"===We.align)("mat-mdc-dialog-actions-align-center","center"===We.align)("mat-mdc-dialog-actions-align-en
1d","end"===We.align)},inputs:{align:"align"},features:[v.Vt3]})}return ie})();function yt(ie,je){let rt=ie.nativeElement.parentElement;for(;rt&&!rt.classList.contains("mat-mdc-dialog-container");)rt=rt.parentElement;return rt?je.find(Ze=>Ze.id===rt.id):null}let Ie=(()=>{class ie{static \u0275fac=function(Ze){return new(Ze||ie)};static \u0275mod=v.$C({type:ie});static \u0275inj=y.G2t({providers:[nt],imports:[o.Ph,s.z_,h.jc,ze.y,ze.y]})}return ie})()},1997(tn,Ye,d){"use strict";d.d(Ye,{q:()=>v,w:()=>T});var o=d(2615),s=d(3664),h=d(4085),y=d(2466);let v=(()=>{class M{get vertical(){return this._vertical}set vertical(H){this._vertical=(0,h.he)(H)}_vertical=!1;get inset(){return this._inset}set inset(H){this._inset=(0,h.he)(H)}_inset=!1;static \u0275fac=function(B){return new(B||M)};static \u0275cmp=s.VBU({type:M,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(B,x){2&B&&(s.BMQ("aria-orientation",x.vertical?"vertical":"horizontal"),s.AVh("mat-divider-vertical",x.vertical)("mat-divider-horizontal",!x.vertical)("mat-divider-inset",x.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(B,x){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.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})}return M})(),T=(()=>{class M{static \u0275fac=function(B){return new(B||M)};static \u0275mod=s.$C({type:M});static \u0275inj=o.G2t({imports:[y.y,y.y]})}return M})()},2709(tn,Ye,d){"use strict";d.d(Ye,{e:()=>y});var s=d(2615);let y=(()=>{class v{isErrorState(M,k){return!!(M&&M.invalid&&(M.touched||k&&k.submitted))}static \u0275fac=function(k){return new(k||v)};static \u0275prov=s.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},9336(tn,Ye,d){"use strict";d.d(Ye,{X:()=>o});class o{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(h,y,v,T,M){this._defaultMatcher=h,this.ngControl=y,this._parentFormGroup=v,this._parentForm=T,this._stateChanges=M}updateErrorState(){const h=this.errorState,y=this._parentFormGroup||this._parentForm,v=this.matcher||this._defaultMatcher,T=this.ngControl?this.ngControl.control:null,M=v?.isErrorState(T,y)??!1;M!==h&&(this.errorState=M,this._stateChanges.next())}}},9454(tn,Ye,d){"use strict";d.d(Ye,{BS:()=>ie,MY:()=>je,GK:()=>Te,LR:()=>hn,Q6:()=>wt,Z2:()=>yt,WN:()=>Ie});var o=d(3664),s=d(2615),h=d(7705),y=d(1413),v=d(8359),T=d(9726),M=d(8689);const k=new s.nKC("CdkAccordion");let H=(()=>{class We{_stateChanges=new y.B;_openCloseAllActions=new y.B;id=(0,s.WQX)(T.g).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Me){this._stateChanges.next(Me)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(It){return new(It||We)};static \u0275dir=o.FsC({type:We,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",h.L39]},exportAs:["cdkAccordion"],features:[o.Jv_([{provide:k,useExisting:We}]),o.OA$]})}return We})(),B=(()=>{class We{accordion=(0,s.WQX)(k,{optional:!0,skipSelf:!0});_changeDetectorRef=(0,s.WQX)(h.gRc);_expansionDispatcher=(0,s.WQX)(M.z);_openCloseAllSubscription=v.yU.EMPTY;closed=new o.bkB;opened=new o.bkB;destroyed=new o.bkB;expandedChange=new o.bkB;id=(0,s.WQX)(T.g).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(Me){this._expanded!==Me&&(this._expanded=Me,this.expandedChange.emit(Me),Me?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit
1(),this._changeDetectorRef.markForCheck())}_expanded=!1;get disabled(){return this._disabled()}set disabled(Me){this._disabled.set(Me)}_disabled=(0,s.vPA)(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((Me,It)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===It&&this.id!==Me&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Me=>{this.disabled||(this.expanded=Me)})}static \u0275fac=function(It){return new(It||We)};static \u0275dir=o.FsC({type:We,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",h.L39],disabled:[2,"disabled","disabled",h.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o.Jv_([{provide:k,useValue:void 0}])]})}return We})(),x=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275mod=o.$C({type:We});static \u0275inj=s.G2t({})}return We})();var ye=d(6939),He=d(6838),Mt=d(4123),Ge=d(9172),Qe=d(5964),Xe=d(6697),ze=d(438),Le=d(7336),ge=d(983),ue=d(7786),kt=d(1804),Je=d(8968),Ke=d(2046),$e=d(2466);const q=["body"],de=["bodyWrapper"],ae=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],he=["mat-expansion-panel-header","*","mat-action-row"];function Ne(We,Ot){}const ve=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],at=["mat-panel-title","mat-panel-description","*"];function Ut(We,Ot){1&We&&(o.rj2(0,"span",1),s.qSk(),o.rj2(1,"svg",2),o.Hgh(2,"path",3),o.eux()())}const nt=new s.nKC("MAT_ACCORDION"),cn=new s.nKC("MAT_EXPANSION_PANEL");let hn=(()=>{class We{_template=(0,s.WQX)(o.C4Q);_expansionPanel=(0,s.WQX)(cn,{optional:!0});constructor(){}static \u0275fac=function(It){return new(It||We)};static \u0275dir=o.FsC({type:We,selectors:[["ng-template","matExpansionPanelContent",""]]})}return We})();const qt=new s.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let Te=(()=>{class We extends B{_viewContainerRef=(0,s.WQX)(o.c1b);_animationsDisabled=(0,kt.Rc)();_document=(0,s.WQX)(s.qQL);_ngZone=(0,s.WQX)(o.SKi);_elementRef=(0,s.WQX)(o.aKT);_renderer=(0,s.WQX)(o.sFG);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Me){this._hideToggle=Me}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Me){this._togglePosition=Me}_togglePosition;afterExpand=new o.bkB;afterCollapse=new o.bkB;_inputChanges=new y.B;accordion=(0,s.WQX)(nt,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=(0,s.WQX)(T.g).getId("mat-expansion-panel-header-");constructor(){super();const Me=(0,s.WQX)(qt,{optional:!0});this._expansionDispatcher=(0,s.WQX)(M.z),Me&&(this.hideToggle=Me.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Ge.Z)(null),(0,Qe.p)(()=>this.expanded&&!this._portal),(0,Xe.s)(1)).subscribe(()=>{this._portal=new ye.VA(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(Me){this._inputChanges.next(Me)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Me=this._document.activeElement,It=this._body.nativeElement;return Me===It||It.contains(Me)}return!1}_transitionEndListener=({target:Me,propertyName:It})=>{Me===this._bodyWrapper?.nativeElement&&"grid-template-rows"===It&&this._ngZone.run(()=>
1{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{const Me=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(Me,"transitionend",this._transitionEndListener),Me.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(It){return new(It||We)};static \u0275cmp=o.VBU({type:We,selectors:[["mat-expansion-panel"]],contentQueries:function(It,Zt,ti){if(1&It&&o.wni(ti,hn,5),2&It){let Wn;o.mGM(Wn=o.lsd())&&(Zt._lazyContent=Wn.first)}},viewQuery:function(It,Zt){if(1&It&&(o.GBs(q,5),o.GBs(de,5)),2&It){let ti;o.mGM(ti=o.lsd())&&(Zt._body=ti.first),o.mGM(ti=o.lsd())&&(Zt._bodyWrapper=ti.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(It,Zt){2&It&&o.AVh("mat-expanded",Zt.expanded)("mat-expansion-panel-spacing",Zt._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",h.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o.Jv_([{provide:nt,useValue:void 0},{provide:cn,useExisting:We}]),o.Vt3,o.OA$],ngContentSelectors:he,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(It,Zt){1&It&&(o.NAR(ae),o.SdG(0),o.j41(1,"div",2,0)(3,"div",3,1)(5,"div",4),o.SdG(6,1),o.DNE(7,Ne,0,0,"ng-template",5),o.k0s(),o.SdG(8,2),o.k0s()()),2&It&&(o.R7$(),o.BMQ("inert",Zt.expanded?null:""),o.R7$(2),o.Y8G("id",Zt.id),o.BMQ("aria-labelledby",Zt._headerId),o.R7$(4),o.Y8G("cdkPortalOutlet",Zt._portal))},dependencies:[ye.I3],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-sys-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,changeDetection:0})}return We})(),yt=(()=>{class We{panel=(0,s.WQX)(Te,{host:!0});_element=(0,s.WQX)(o.aKT);_focusMonitor=(0,s.WQX)(He.FN);_changeDetectorRef=(0,s.WQX)(h.gRc);_parentChangeSubscription=v.yU.EMPTY;constructor(){(0,s.WQX)(Je.l).load(Ke.A);const Me=this.panel,It=(0,s.WQX)(qt,{optional:!0}),Zt=(0,s.WQX)(new h.ES_("tabindex"),{optional:!0}),ti=Me.accordion?Me.accordion._stateChanges.pipe((0,Qe.p)(Wn=>!(!Wn.hideToggle&&!Wn.togglePosition))):ge.w;this.tabIndex=parseInt(Zt||"")||0,this._parentChangeSubscription=(0,ue.h)(Me.opened,Me.closed,ti,Me._inputChanges.pipe((0,Qe.p)(Wn=>!!(Wn.hideToggle||Wn.disabled||Wn.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Me.closed.pipe((0,Qe.p)(()=>Me._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),It&&(this.expandedHeight=It.expandedHeight,this.collapsedHeight=It.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;get disabled(){return this.panel.disabled}
1_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Me=this._isExpanded();return Me&&this.expandedHeight?this.expandedHeight:!Me&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Me){switch(Me.keyCode){case ze.t6:case ze.Fm:(0,Le.rp)(Me)||(Me.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Me))}}focus(Me,It){Me?this._focusMonitor.focusVia(this._element,Me,It):this._element.nativeElement.focus(It)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Me=>{Me&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(It){return new(It||We)};static \u0275cmp=o.VBU({type:We,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(It,Zt){1&It&&o.bIt("click",function(){return Zt._toggle()})("keydown",function(Wn){return Zt._keydown(Wn)}),2&It&&(o.BMQ("id",Zt.panel._headerId)("tabindex",Zt.disabled?-1:Zt.tabIndex)("aria-controls",Zt._getPanelId())("aria-expanded",Zt._isExpanded())("aria-disabled",Zt.panel.disabled),o.xc7("height",Zt._getHeaderHeight()),o.AVh("mat-expanded",Zt._isExpanded())("mat-expansion-toggle-indicator-after","after"===Zt._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Zt._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",Me=>null==Me?0:(0,h.Udg)(Me)]},ngContentSelectors:at,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(It,Zt){1&It&&(o.NAR(ve),o.rj2(0,"span",0),o.SdG(1),o.SdG(2,1),o.SdG(3,2),o.eux(),o.nVh(4,Ut,3,0,"span",1)),2&It&&(o.AVh("mat-content-hide-toggle",!Zt._showToggle()),o.R7$(4),o.vxM(Zt._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-sys-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-sys-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{dis
1play:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],encapsulation:2,changeDetection:0})}return We})(),wt=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275dir=o.FsC({type:We,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return We})(),Ie=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275dir=o.FsC({type:We,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return We})(),ie=(()=>{class We extends H{_keyManager;_ownHeaders=new o.rOR;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe((0,Ge.Z)(this._headers)).subscribe(Me=>{this._ownHeaders.reset(Me.filter(It=>It.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Mt.B(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Me){this._keyManager.onKeydown(Me)}_handleHeaderFocus(Me){this._keyManager.updateActiveItem(Me)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let Me;return function(Zt){return(Me||(Me=o.xGo(We)))(Zt||We)}})();static \u0275dir=o.FsC({type:We,selectors:[["mat-accordion"]],contentQueries:function(It,Zt,ti){if(1&It&&o.wni(ti,yt,5),2&It){let Wn;o.mGM(Wn=o.lsd())&&(Zt._headers=Wn)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(It,Zt){2&It&&o.AVh("mat-accordion-multi",Zt.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",h.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o.Jv_([{provide:nt,useExisting:We}]),o.Vt3]})}return We})(),je=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275mod=o.$C({type:We});static \u0275inj=s.G2t({imports:[$e.y,x,ye.jc]})}return We})()},1228(tn,Ye,d){"use strict";d.d(Ye,{R:()=>T});var o=d(2318),s=d(2615),h=d(3664),y=d(4727),v=d(2466);let T=(()=>{class M{static \u0275fac=function(B){return new(B||M)};static \u0275mod=h.$C({type:M});static \u0275inj=s.G2t({imports:[v.y,o.w5,y.rl,v.y]})}return M})()},4727(tn,Ye,d){"use strict";d.d(Ye,{MV:()=>It,TL:()=>Me,nJ:()=>We,qT:()=>di,rl:()=>Vt,xb:()=>ii,yw:()=>mr});var s=d(9726),h=d(1577),y=d(4085),v=d(9842),T=d(2200),M=d(2615),k=d(3664),H=d(7705),B=d(9295),x=d(1413),ye=d(8359),He=d(7786),Mt=d(5964),Ge=d(6354),Qe=d(3946),Xe=d(9172),ze=d(6977),Le=d(8170),ge=d(1804);const ue=["notch"],kt=["matFormFieldNotchedOutline",""],Je=["*"],Ke=["iconPrefixContainer"],$e=["textPrefixContainer"],lt=["iconSuffixContainer"],q=["textSuffixContainer"],de=["textField"],ae=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],he
vendor: 9,288 bytes, line 1
1=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Ne(un,Ae){1&un&&k.nrm(0,"span",21)}function ve(un,Ae){if(1&un&&(k.j41(0,"label",20),k.SdG(1,1),k.nVh(2,Ne,1,0,"span",21),k.k0s()),2&un){const xe=k.XpG(2);k.Y8G("floating",xe._shouldLabelFloat())("monitorResize",xe._hasOutline())("id",xe._labelId),k.BMQ("for",xe._control.disableAutomaticLabeling?null:xe._control.id),k.R7$(2),k.vxM(!xe.hideRequiredMarker&&xe._control.required?2:-1)}}function at(un,Ae){if(1&un&&k.nVh(0,ve,3,5,"label",20),2&un){const xe=k.XpG();k.vxM(xe._hasFloatingLabel()?0:-1)}}function Ut(un,Ae){1&un&&k.nrm(0,"div",7)}function nt(un,Ae){}function cn(un,Ae){if(1&un&&k.DNE(0,nt,0,0,"ng-template",13),2&un){k.XpG(2);const xe=k.sdS(1);k.Y8G("ngTemplateOutlet",xe)}}function hn(un,Ae){if(1&un&&(k.j41(0,"div",9),k.nVh(1,cn,1,1,null,13),k.k0s()),2&un){const xe=k.XpG();k.Y8G("matFormFieldNotchedOutlineOpen",xe._shouldLabelFloat()),k.R7$(),k.vxM(xe._forceDisplayInfixLabel()?-1:1)}}function qt(un,Ae){1&un&&(k.j41(0,"div",10,2),k.SdG(2,2),k.k0s())}function Te(un,Ae){1&un&&(k.j41(0,"div",11,3),k.SdG(2,3),k.k0s())}function Pe(un,Ae){}function yt(un,Ae){if(1&un&&k.DNE(0,Pe,0,0,"ng-template",13),2&un){k.XpG();const xe=k.sdS(1);k.Y8G("ngTemplateOutlet",xe)}}function wt(un,Ae){1&un&&(k.j41(0,"div",14,4),k.SdG(2,4),k.k0s())}function Ie(un,Ae){1&un&&(k.j41(0,"div",15,5),k.SdG(2,5),k.k0s())}function ie(un,Ae){1&un&&k.nrm(0,"div",16)}function je(un,Ae){1&un&&(k.j41(0,"div",18),k.SdG(1,6),k.k0s())}function rt(un,Ae){if(1&un&&(k.j41(0,"mat-hint",22),k.EFF(1),k.k0s()),2&un){const xe=k.XpG(2);k.Y8G("id",xe._hintLabelId),k.R7$(),k.JRh(xe.hintLabel)}}function Ze(un,Ae){if(1&un&&(k.j41(0,"div",19),k.nVh(1,rt,2,2,"mat-hint",22),k.SdG(2,7),k.nrm(3,"div",23),k.SdG(4,8),k.k0s()),2&un){const xe=k.XpG();k.R7$(),k.vxM(xe.hintLabel?1:-1)}}let We=(()=>{class un{static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un,selectors:[["mat-label"]]})}return un})();const Ot=new M.nKC("MatError");let Me=(()=>{class un{id=(0,M.WQX)(s.g).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(z,Ee){2&z&&k.Avn("id",Ee.id)},inputs:{id:"id"},features:[k.Jv_([{provide:Ot,useExisting:un}])]})}return un})(),It=(()=>{class un{align="start";id=(0,M.WQX)(s.g).getId("mat-mdc-hint-");static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(z,Ee){2&z&&(k.Avn("id",Ee.id),k.BMQ("align",null),k.AVh("mat-mdc-form-field-hint-end","end"===Ee.align))},inputs:{align:"align",id:"id"}})}return un})();const Zt=new M.nKC("MatPrefix"),Wn=new M.nKC("MatSuffix");let mr=(()=>{class un{set _isTextSelector(xe){this._isText=!0}_isText=!1;static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[k.Jv_([{provide:Wn,useExisting:un}])]})}return un})();const Bn=new M.nKC("FloatingLabelParent");let Oi=(()=>{class un{_elementRef=(0,M.WQX)(k.aKT);get floating(){return this._floating}set floating(xe){this._floating=xe,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(xe){this._monitorResize=xe,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,M.WQX)(Le.a);_ngZone=(0,M.WQX)(k.SKi);_parent=(0,M.WQX)(Bn);_resizeSubscription=new ye.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function dn(un){if(null!==un.offsetParent)return un.scrollWidth;const xe=un.cloneNode(!0);xe.style.setProperty("position","absolute"),xe.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(xe);const z=xe.scrollWidth;return xe.remove(),z}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(z,Ee){2&z&&k.AVh("mdc-floating-label--float-above",Ee.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return un})();const Tn="mdc-line-ripple--active",Yn="mdc-line-ripple--deactivating";let _=(()=>{class un{_elementRef=(0,M.WQX)(k.aKT);_cleanupTransitionEnd;constructor(){const xe=(0,M.WQX)(k.SKi),z=(0,M.WQX)(k.sFG);xe.runOutsideAngular(()=>{this._cleanupTransitionEnd=z.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const xe=this._elementRef.nativeElement.classList;xe.remove(Yn),xe.add(Tn)}deactivate(){this._elementRef.nativeElement.classList.add(Yn)}_handleTransitionEnd=xe=>{const z=this._elementRef.nativeElement.classList,Ee=z.contains(Yn);"opacity"===xe.propertyName&&Ee&&z.remove(Tn,Yn)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return un})(),Qn=(()=>{class un{_elementRef=(0,M.WQX)(k.aKT);_ngZone=(0,M.WQX)(k.SKi);open=!1;_notch;ngAfterViewInit(){const xe=this._elementRef.nativeElement,z=xe.querySelector(".mdc-floating-label");z?(xe.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(z.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>z.style.transitionDuration="")}))):xe.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(xe){this._notch.nativeElement.style.width=this.open&&xe?`calc(${xe}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(xe){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${xe}px)`)}static \u0275fac=function(z){return new(z||un)};static \u0275cmp=k.VBU({type:un,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(z,Ee){if(1&z&&k.GBs(ue,5),2&z){let Ce;k.mGM(Ce=k.lsd())&&(Ee._notch=Ce.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(z,Ee){2&z&&k.AVh("mdc-notched-outline--notched",Ee.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:kt,ngContentSelectors:Je,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(z,Ee){1&z&&(k.NAR(),k.Hgh(0,"div",1),k.rj2(1,"div",2,0),k.SdG(3),k.eux(),k.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return un})(),di=(()=>{class un{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(z){return new(z||un)};static \u0275dir=k.FsC({type:un})}return un})();const ii=new M.nKC("MatFormField"),rr=new M.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Vt=(()=>{class un{_elementRef=(0,M.WQX)(k.aKT);_changeDetectorRef=(0,M.WQX)(H.gRc);_platform=(0,M.WQX)(v.O);_idGenerator=(0,M.WQX)(s.g);_ngZone=(0,M.WQX)(k.SKi);_defaults=(0,M.WQX)(rr,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,H.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,H.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,H.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,H.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,B.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(xe=>xe?.nativeElement).filter(xe=>void 0!==xe));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,H.sbv)(We);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(xe){this._hideRequiredMarker=(0,y.he)(xe)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(xe){xe!==this._floatLabel&&(this._floatLabel=xe,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(xe){this._appearanceSignal.set(xe||this._defaults?.appearance||"fill")}_appearanceSignal=(0,M.vPA)("fill");
1get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(xe){this._subscriptSizing=xe||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(xe){this._hintLabel=xe,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(xe){this._explicitFormFieldControl=xe}_destroyed=new x.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,ge.Rc)();constructor(){const xe=this._defaults,z=(0,M.WQX)(h.dS);xe&&(xe.appearance&&(this.appearance=xe.appearance),this._hideRequiredMarker=!!xe?.hideRequiredMarker,xe.color&&(this.color=xe.color)),(0,B.QZ)(()=>this._currentDirection=z.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,B.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(xe){const z=this._control,Ee="mat-mdc-form-field-type-";xe&&this._elementRef.nativeElement.classList.remove(Ee+xe.controlType),z.controlType&&this._elementRef.nativeElement.classList.add(Ee+z.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=z.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=z.stateChanges.pipe((0,Xe.Z)([void 0,void 0]),(0,Ge.T)(()=>[z.errorState,z.userAriaDescribedBy]),(0,Qe.J)(),(0,Mt.p)(([[Ce,Ue],[Tt,fe]])=>Ce!==Tt||Ue!==fe)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),z.ngControl&&z.ngControl.valueChanges&&(this._valueChanges=z.ngControl.valueChanges.pipe((0,ze.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(xe=>!xe._isText),this._hasTextPrefix=!!this._prefixChildren.find(xe=>xe._isText),this._hasIconSuffix=!!this._suffixChildren.find(xe=>!xe._isText),this._hasTextSuffix=!!this._suffixChildren.find(xe=>xe._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,He.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){const xe=this._control.focused;xe&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!xe&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",xe),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",xe)}_syncOutlineLabelOffset(){(0,H.uEv)({earlyRead:()=>
vendor: 8,949 bytes, line 1
1{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const xe of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(xe,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:xe=>this._writeOutlinedLabelStyles(xe())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,B.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(xe){const z=this._control?this._control.ngControl:null;return z&&z[xe]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let xe=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&xe.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const Ce=this._hintChildren?this._hintChildren.find(Tt=>"start"===Tt.align):null,Ue=this._hintChildren?this._hintChildren.find(Tt=>"end"===Tt.align):null;Ce?xe.push(Ce.id):this._hintLabel&&xe.push(this._hintLabelId),Ue&&xe.push(Ue.id)}else this._errorChildren&&xe.push(...this._errorChildren.map(Ce=>Ce.id));const z=this._control.describedByIds;let Ee;if(z){const Ce=this._describedByIds||xe;Ee=xe.concat(z.filter(Ue=>Ue&&!Ce.includes(Ue)))}else Ee=xe;this._control.setDescribedByIds(Ee),this._describedByIds=xe}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const xe=this._iconPrefixContainer?.nativeElement,z=this._textPrefixContainer?.nativeElement,Ee=this._iconSuffixContainer?.nativeElement,Ce=this._textSuffixContainer?.nativeElement,Ue=xe?.getBoundingClientRect().width??0,Tt=z?.getBoundingClientRect().width??0,fe=Ee?.getBoundingClientRect().width??0,we=Ce?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${Ue+Tt}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,Ue+Tt+fe+we]}_writeOutlinedLabelStyles(xe){if(null!==xe){const[z,Ee]=xe;this._floatingLabel&&(this._floatingLabel.element.style.transform=z),null!==Ee&&this._notchedOutline?._setMaxWidth(Ee)}}_isAttachedToDom(){const xe=this._elementRef.nativeElement;if(xe.getRootNode){const z=xe.getRootNode();return z&&z!==xe}return document.documentElement.contains(xe)}static \u0275fac=function(z){return new(z||un)};static \u0275cmp=k.VBU({type:un,selectors:[["mat-form-field"]],contentQueries:function(z,Ee,Ce){if(1&z&&(k.C6U(Ce,Ee._labelChild,We,5),k.wni(Ce,di,5),k.wni(Ce,Zt,5),k.wni(Ce,Wn,5),k.wni(Ce,Ot,5),k.wni(Ce,It,5)),2&z){let Ue;k.NyB(),k.mGM(Ue=k.lsd())&&(Ee._formFieldControl=Ue.first),k.mGM(Ue=k.lsd())&&(Ee._prefixChildren=Ue),k.mGM(Ue=k.lsd())&&(Ee._suffixChildren=Ue),k.mGM(Ue=k.lsd())&&(Ee._errorChildren=Ue),k.mGM(Ue=k.lsd())&&(Ee._hintChildren=Ue)}},viewQuery:function(z,Ee){if(1&z&&(k.wEZ(Ee._iconPrefixContainerSignal,Ke,5),k.wEZ(Ee._textPrefixContainerSignal,$e,5),k.wEZ(Ee._iconSuffixContainerSignal,lt,5),k.wEZ(Ee._textSuffixContainerSignal,q,5),k.GBs(de,5),k.GBs(Ke,5),k.GBs($e,5),k.GBs(lt,5),k.GBs(q,5),k.GBs(Oi,5),k.GBs(Qn,5),k.GBs(_,5)),2&z){let Ce;k.NyB(4),k.mGM(Ce=k.lsd())&&(Ee._textField=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._iconPrefixContainer=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._textPrefixContainer=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._iconSuffixContainer=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._textSuffixContainer=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._floatingLabel=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._notchedOutline=Ce.first),k.mGM(Ce=k.lsd())&&(Ee._lineRipple=Ce.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(z,Ee){2&z&&k.AVh("mat-mdc-form-field-label-always-float",Ee._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ee._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ee._hasIconSuffix)("mat-form-field-invalid",Ee._control.errorState)("mat-form-field-disabled",Ee._control.disabled)("mat-form-field-autofilled",Ee._control.autofilled)("mat-form-field-appearance-fill","fill"==Ee.appearance)("mat-form-field-appearance-outline","outline"==Ee.appearance)("mat-form-field-hide-placeholder",Ee._hasFloatingLabel()&&!Ee._shouldLabelFloat())("mat-primary","accent"!==Ee.color&&"warn"!==Ee.color)("mat-accent","accent"===Ee.color)("mat-warn","warn"===Ee.color)("ng-untouched",Ee._shouldForward("untouched"))("ng-touched",Ee._shouldForward("touched"))("ng-pristine",Ee._shouldForward("pristine"))("ng-dirty",Ee._shouldForward("dirty"))("ng-valid",Ee._shouldForward("valid"))("ng-invalid",Ee._shouldForward("invalid"))("ng-pending",Ee._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[k.Jv_([{provide:ii,useExisting:un},{provide:Bn,useExisting:un}])],ngContentSelectors:he,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(z,Ee){if(1&z){const Ce=k.RV6();k.NAR(ae),k.DNE(0,at,1,1,"ng-template",null,0,k.C5r),k.j41(2,"div",6,1),k.bIt("click",function(Tt){return M.eBV(Ce),M.Njj(Ee._control.onContainerClick(Tt))}),k.nVh(4,Ut,1,0,"div",7),k.j41(5,"div",8),k.nVh(6,hn,2,2,"div",9),k.nVh(7,qt,3,0,"div",10),k.nVh(8,Te,3,0,"div",11),k.j41(9,"div",12),k.nVh(10,yt,1,1,null,13),k.SdG(11),k.k0s(),k.nVh(12,wt,3,0,"div",14),k.nVh(13,Ie,3,0,"div",15),k.k0s(),k.nVh(14,ie,1,0,"div",16),k.k0s(),k.j41(15,"div",17),k.nVh(16,je,2,0,"div",18)(17,Ze,5,1,"div",19),k.k0s()}if(2&z){let Ce;k.R7$(2),k.AVh("mdc-text-field--filled",!Ee._hasOutline())("mdc-text-field--outlined",Ee._hasOutline())("mdc-text-field--no-label",!Ee._hasFloatingLabel())("mdc-text-field--disabled",Ee._control.disabled)("mdc-text-field--invalid",Ee._control.errorState),k.R7$(2),k.vxM(Ee._hasOutline()||Ee._control.disabled?-1:4),k.R7$(2),k.vxM(Ee._hasOutline()?6:-1),k.R7$(),k.vxM(Ee._hasIconPrefix?7:-1),k.R7$(),k.vxM(Ee._hasTextPrefix?8:-1),k.R7$(2),k.vxM(!Ee._hasOutline()||Ee._forceDisplayInfixLabel()?10:-1),k.R7$(2),k.vxM(Ee._hasTextSuffix?12:-1),k.R7$(),k.vxM(Ee._hasIconSuffix?13:-1),k.R7$(),k.vxM(Ee._hasOutline()?-1:14),k.R7$(),k.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ee.subscriptSizing);const Ue=Ee._getSubscriptMessageType();k.R7$(),k.vxM("error"===(Ce=Ue)?16:"hint"===Ce?17:-1)}},dependencies:[Oi,Qn,T.T3,_,It],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}
1.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}
1.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;
1left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1over .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1over .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-en
1abled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return un})()},2598(tn,Ye,d){"use strict";d.d(Ye,{iM:()=>He,iY:()=>Mt});var o=d(3664),s=d(7705),h=d(2615),y=d(6838),v=d(8968),T=d(1048),M=d(2046),k=d(1804);const H=["mat-icon-button",""],B=["*"],x=new h.nKC("MAT_BUTTON_CONFIG");function ye(Qe){return null==Qe?void 0:(0,s.Udg)(Qe)}let He=(()=>{class Qe{_elementRef=(0,h.WQX)(o.aKT);_ngZone=(0,h.WQX)(o.SKi);_animationsDisabled=(0,k.Rc)();_config=(0,h.WQX)(x,{optional:!0});_focusMonitor=(0,h.WQX)(y.FN);_cleanupClick;_renderer=(0,h.WQX)(o.sFG);_rippleLoader=(0,h.WQX)(T.E);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(ze){this._disableRipple=ze,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(ze){this._disabled=ze,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(ze){this.tabIndex=ze}constructor(){(0,h.WQX)(v.l).load(M.A);const ze=this._elementRef.nativeElement;this._isAnchor="A"===ze.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(ze,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(ze="program",Le){ze?this._focusMonitor.focusVia(this._elementRef.nativeElement,ze,Le):this._elementRef.nativeElement.focus(Le)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",ze=>{this.disabled&&(ze.preventDefault(),ze.stopImmediatePropagation())}))}static \u0275fac=function(Le){return new(Le||Qe)};static \u0275dir=o.FsC({type:Qe,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(Le,ge){2&Le&&(o.BMQ("disabled",ge._getDisabledAttribute())("aria-disabled",ge._getAriaDisabled())("tabindex",ge._getTabIndex()),o.HbH(ge.color?"mat-"+ge.color:""),o.AVh("mat-mdc-button-disabled",ge.disabled)("mat-mdc-button-disabled-interactive",ge.disabledInteractive)("mat-unthemed",!ge.color)("_mat-animation-noopable",ge._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",s.L39],disabled:[2,"disabled","disabled",s.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",s.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",s.L39],tabIndex:[2,"tabIndex","tabIndex",ye],_tabindex:[2,"tabindex","_tabindex",ye]}})}return Qe})(),Mt=(()=>{class Qe extends He{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(Le){return new(Le||Qe)};static \u0275cmp=o.VBU({type:Qe,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[o.Vt3],attrs:H,ngContentSelectors:B,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Le,ge){1&Le&&(o.NAR(),o.Hgh(0,"span",0),o.SdG(1),o.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
1.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return Qe})()},2629(tn,Ye,d){"use strict";d.d(Ye,{An:()=>qt,m_:()=>Te});var o=d(3664),s=d(2615),h=d(7705),y=d(8359),v=d(6697),T=d(9330),M=d(345),k=d(7673),H=d(8810),B=d(7468),x=d(8141),ye=d(6354),He=d(9437),Mt=d(980),Ge=d(7647);let Qe;
1function ze(Pe){return function Xe(){if(void 0===Qe&&(Qe=null,typeof window<"u")){const Pe=window;void 0!==Pe.trustedTypes&&(Qe=Pe.trustedTypes.createPolicy("angular#components",{createHTML:yt=>yt}))}return Qe}()?.createHTML(Pe)||Pe}function Le(Pe){return Error(`Unable to find icon with the name "${Pe}"`)}function ue(Pe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Pe}".`)}function kt(Pe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Pe}".`)}class Je{url;svgText;options;svgElement;constructor(yt,wt,Ie){this.url=yt,this.svgText=wt,this.options=Ie}}let Ke=(()=>{class Pe{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(wt,Ie,ie,je){this._httpClient=wt,this._sanitizer=Ie,this._errorHandler=je,this._document=ie}addSvgIcon(wt,Ie,ie){return this.addSvgIconInNamespace("",wt,Ie,ie)}addSvgIconLiteral(wt,Ie,ie){return this.addSvgIconLiteralInNamespace("",wt,Ie,ie)}addSvgIconInNamespace(wt,Ie,ie,je){return this._addSvgIconConfig(wt,Ie,new Je(ie,null,je))}addSvgIconResolver(wt){return this._resolvers.push(wt),this}addSvgIconLiteralInNamespace(wt,Ie,ie,je){const rt=this._sanitizer.sanitize(o.WPN.HTML,ie);if(!rt)throw kt(ie);const Ze=ze(rt);return this._addSvgIconConfig(wt,Ie,new Je("",Ze,je))}addSvgIconSet(wt,Ie){return this.addSvgIconSetInNamespace("",wt,Ie)}addSvgIconSetLiteral(wt,Ie){return this.addSvgIconSetLiteralInNamespace("",wt,Ie)}addSvgIconSetInNamespace(wt,Ie,ie){return this._addSvgIconSetConfig(wt,new Je(Ie,null,ie))}addSvgIconSetLiteralInNamespace(wt,Ie,ie){const je=this._sanitizer.sanitize(o.WPN.HTML,Ie);if(!je)throw kt(Ie);const rt=ze(je);return this._addSvgIconSetConfig(wt,new Je("",rt,ie))}registerFontClassAlias(wt,Ie=wt){return this._fontCssClassesByAlias.set(wt,Ie),this}classNameForFontAlias(wt){return this._fontCssClassesByAlias.get(wt)||wt}setDefaultFontSetClass(...wt){return this._defaultFontSetClass=wt,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(wt){const Ie=this._sanitizer.sanitize(o.WPN.RESOURCE_URL,wt);if(!Ie)throw ue(wt);const ie=this._cachedIconsByUrl.get(Ie);return ie?(0,k.of)(q(ie)):this._loadSvgIconFromConfig(new Je(wt,null)).pipe((0,x.M)(je=>this._cachedIconsByUrl.set(Ie,je)),(0,ye.T)(je=>q(je)))}getNamedSvgIcon(wt,Ie=""){const ie=de(Ie,wt);let je=this._svgIconConfigs.get(ie);if(je)return this._getSvgFromConfig(je);if(je=this._getIconConfigFromResolvers(Ie,wt),je)return this._svgIconConfigs.set(ie,je),this._getSvgFromConfig(je);const rt=this._iconSetConfigs.get(Ie);return rt?this._getSvgFromIconSetConfigs(wt,rt):(0,H.$)(Le(ie))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(wt){return wt.svgText?(0,k.of)(q(this._svgElementFromConfig(wt))):this._loadSvgIconFromConfig(wt).pipe((0,ye.T)(Ie=>q(Ie)))}_getSvgFromIconSetConfigs(wt,Ie){const ie=this._extractIconWithNameFromAnySet(wt,Ie);if(ie)return(0,k.of)(ie);const je=Ie.filter(rt=>!rt.svgText).map(rt=>this._loadSvgIconSetFromConfig(rt).pipe((0,He.W)(Ze=>{const Ot=`Loading icon set URL: ${this._sanitizer.sanitize(o.WPN.RESOURCE_URL,rt.url)} failed: ${Ze.message}`;return this._errorHandler.handleError(new Error(Ot)),(0,k.of)(null)})));return(0,B.p)(je).pipe((0,ye.T)(()=>{const rt=this._extractIconWithNameFromAnySet(wt,Ie);if(!rt)throw Le(wt);return rt}))}_extractIconWithNameFromAnySet(wt,Ie){for(let ie=Ie.length-1;ie>=0;ie--){const je=Ie[ie];if(je.svgText&&je.svgText.toString().indexOf(wt)>-1){const rt=this._svgElementFromConfig(je),Ze=this._extractSvgIconFromSet(rt,wt,je.options);if(Ze)return Ze}}return null}_loadSvgIconFromConfig(wt){return this._fetchIcon(wt).pipe((0,x.M)(Ie=>wt.svgText=Ie),(0,ye.T)(()=>this._svgElementFromConfig(wt)))}_loadSvgIconSetFromConfig(wt){return wt.svgText?(0,k.of)(null):this._fetchIcon(wt).pipe((0,x.M)(Ie=>wt.svgText=Ie))}_extractSvgIconFromSet(wt,Ie,ie){const je=wt.querySelector(`[id="${Ie}"]`);if(!je)return null;const rt=je.cloneNode(!0);if(rt.removeAttribute("id"),"svg"===rt.nodeName.toLowerCase())return this._setSvgAttributes(rt,ie);if("symbol"===rt.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(rt),ie);const Ze=this._svgElementFromString(ze("<svg></svg>"));return Ze.appendChild(rt),this._setSvgAttributes(Ze,ie)}_svgElementFromString(wt){const Ie=this._document.createElement("DIV");Ie.innerHTML=wt;const ie=Ie.querySelector("svg");if(!ie)throw Error("<svg> tag not found");return ie}_toSvgElement(wt){const Ie=this._svgElementFromString(ze("<svg></svg>")),ie=wt.attributes;for(let je=0;je<ie.length;je++){const{name:rt,value:Ze}=ie[je];"id"!==rt&&Ie.setAttribute(rt,Ze)}for(let je=0;je<wt.childNodes.length;je++)wt.childNodes[je].nodeType===this._document.ELEMENT_NODE&&Ie.appendChild(wt.childNodes[je].cloneNode(!0));return Ie}_setSvgAttributes(wt,Ie){return wt.setAttribute("fit",""),wt.setAttribute("height","100%"),wt.setAttribute("width","100%"),wt.setAttribute("preserveAspectRatio","xMidYMid meet"),wt.setAttribute("focusable","false"),Ie&&Ie.viewBox&&wt.setAttribute("viewBox",Ie.viewBox),wt}_fetchIcon(wt){const{url:Ie,options:ie}=wt,je=ie?.withCredentials??!1;if(!this._httpClient)throw function ge(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==Ie)throw Error(`Cannot fetch icon from URL "${Ie}".`);const rt=this._sanitizer.sanitize(o.WPN.RESOURCE_URL,Ie);if(!rt)throw ue(Ie);const Ze=this._inProgressUrlFetches.get(rt);
1if(Ze)return Ze;const We=this._httpClient.get(rt,{responseType:"text",withCredentials:je}).pipe((0,ye.T)(Ot=>ze(Ot)),(0,Mt.j)(()=>this._inProgressUrlFetches.delete(rt)),(0,Ge.u)());return this._inProgressUrlFetches.set(rt,We),We}_addSvgIconConfig(wt,Ie,ie){return this._svgIconConfigs.set(de(wt,Ie),ie),this}_addSvgIconSetConfig(wt,Ie){const ie=this._iconSetConfigs.get(wt);return ie?ie.push(Ie):this._iconSetConfigs.set(wt,[Ie]),this}_svgElementFromConfig(wt){if(!wt.svgElement){const Ie=this._svgElementFromString(wt.svgText);this._setSvgAttributes(Ie,wt.options),wt.svgElement=Ie}return wt.svgElement}_getIconConfigFromResolvers(wt,Ie){for(let ie=0;ie<this._resolvers.length;ie++){const je=this._resolvers[ie](Ie,wt);if(je)return ae(je)?new Je(je.url,null,je.options):new Je(je,null)}}static \u0275fac=function(Ie){return new(Ie||Pe)(s.KVO(T.Qq,8),s.KVO(M.up),s.KVO(s.qQL,8),s.KVO(s.zcH))};static \u0275prov=s.jDH({token:Pe,factory:Pe.\u0275fac,providedIn:"root"})}return Pe})();function q(Pe){return Pe.cloneNode(!0)}function de(Pe,yt){return Pe+":"+yt}function ae(Pe){return!(!Pe.url||!Pe.options)}var he=d(2466);const Ne=["*"],ve=new s.nKC("MAT_ICON_DEFAULT_OPTIONS"),at=new s.nKC("mat-icon-location",{providedIn:"root",factory:function Ut(){const Pe=(0,s.WQX)(s.qQL),yt=Pe?Pe.location:null;return{getPathname:()=>yt?yt.pathname+yt.search:""}}}),nt=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],cn=nt.map(Pe=>`[${Pe}]`).join(", "),hn=/^url\(['"]?#(.*?)['"]?\)$/;let qt=(()=>{class Pe{_elementRef=(0,s.WQX)(o.aKT);_iconRegistry=(0,s.WQX)(Ke);_location=(0,s.WQX)(at);_errorHandler=(0,s.WQX)(s.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(wt){this._color=wt}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(wt){wt!==this._svgIcon&&(wt?this._updateSvgIcon(wt):this._svgIcon&&this._clearSvgElement(),this._svgIcon=wt)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(wt){const Ie=this._cleanupFontValue(wt);Ie!==this._fontSet&&(this._fontSet=Ie,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(wt){const Ie=this._cleanupFontValue(wt);Ie!==this._fontIcon&&(this._fontIcon=Ie,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=y.yU.EMPTY;constructor(){const wt=(0,s.WQX)(new h.ES_("aria-hidden"),{optional:!0}),Ie=(0,s.WQX)(ve,{optional:!0});Ie&&(Ie.color&&(this.color=this._defaultColor=Ie.color),Ie.fontSet&&(this.fontSet=Ie.fontSet)),wt||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(wt){if(!wt)return["",""];const Ie=wt.split(":");switch(Ie.length){case 1:return["",Ie[0]];case 2:return Ie;default:throw Error(`Invalid icon name: "${wt}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const wt=this._elementsWithExternalReferences;if(wt&&wt.size){const Ie=this._location.getPathname();Ie!==this._previousPath&&(this._previousPath=Ie,this._prependPathToReferences(Ie))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(wt){this._clearSvgElement();const Ie=this._location.getPathname();this._previousPath=Ie,this._cacheChildrenWithExternalReferences(wt),this._prependPathToReferences(Ie),this._elementRef.nativeElement.appendChild(wt)}_clearSvgElement(){const wt=this._elementRef.nativeElement;let Ie=wt.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Ie--;){const ie=wt.childNodes[Ie];(1!==ie.nodeType||"svg"===ie.nodeName.toLowerCase())&&ie.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const wt=this._elementRef.nativeElement,Ie=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ie=>ie.length>0);this._previousFontSetClass.forEach(ie=>wt.classList.remove(ie)),Ie.forEach(ie=>wt.classList.add(ie)),this._previousFontSetClass=Ie,this.fontIcon!==this._previousFontIconClass&&!Ie.includes("mat-ligature-font")&&(this._previousFontIconClass&&wt.classList.remove(this._previousFontIconClass),this.fontIcon&&wt.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(wt){return"string"==typeof wt?wt.trim().split(" ")[0]:wt}
1_prependPathToReferences(wt){const Ie=this._elementsWithExternalReferences;Ie&&Ie.forEach((ie,je)=>{ie.forEach(rt=>{je.setAttribute(rt.name,`url('${wt}#${rt.value}')`)})})}_cacheChildrenWithExternalReferences(wt){const Ie=wt.querySelectorAll(cn),ie=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let je=0;je<Ie.length;je++)nt.forEach(rt=>{const Ze=Ie[je],We=Ze.getAttribute(rt),Ot=We?We.match(hn):null;if(Ot){let Me=ie.get(Ze);Me||(Me=[],ie.set(Ze,Me)),Me.push({name:rt,value:Ot[1]})}})}_updateSvgIcon(wt){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),wt){const[Ie,ie]=this._splitIconName(wt);Ie&&(this._svgNamespace=Ie),ie&&(this._svgName=ie),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ie,Ie).pipe((0,v.s)(1)).subscribe(je=>this._setSvgElement(je),je=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Ie}:${ie}! ${je.message}`))})}}static \u0275fac=function(Ie){return new(Ie||Pe)};static \u0275cmp=o.VBU({type:Pe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(Ie,ie){2&Ie&&(o.BMQ("data-mat-icon-type",ie._usingFontIcon()?"font":"svg")("data-mat-icon-name",ie._svgName||ie.fontIcon)("data-mat-icon-namespace",ie._svgNamespace||ie.fontSet)("fontIcon",ie._usingFontIcon()?ie.fontIcon:null),o.HbH(ie.color?"mat-"+ie.color:""),o.AVh("mat-icon-inline",ie.inline)("mat-icon-no-color","primary"!==ie.color&&"accent"!==ie.color&&"warn"!==ie.color))},inputs:{color:"color",inline:[2,"inline","inline",h.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Ne,decls:1,vars:0,template:function(Ie,ie){1&Ie&&(o.NAR(),o.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return Pe})(),Te=(()=>{class Pe{static \u0275fac=function(Ie){return new(Ie||Pe)};static \u0275mod=o.$C({type:Pe});static \u0275inj=s.G2t({imports:[he.y,he.y]})}return Pe})()},8010(tn,Ye,d){"use strict";d.d(Ye,{O:()=>s});const s=new(d(2615).nKC)("MAT_INPUT_VALUE_ACCESSOR")},3746(tn,Ye,d){"use strict";d.d(Ye,{fg:()=>rt,fS:()=>Ze});var o=d(4085),s=d(9842);let v;const T=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function M(){if(v)return v;if("object"!=typeof document||!document)return v=new Set(T),v;let We=document.createElement("input");return v=new Set(T.filter(Ot=>(We.setAttribute("type",Ot),We.type===Ot))),v}var k=d(3664),H=d(2615),B=d(983),x=d(1413),ye=d(8968),He=d(7847);let q=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275cmp=k.VBU({type:We,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(It,Zt){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start
10s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return We})();const de={passive:!0};let ae=(()=>{class We{_platform=(0,H.WQX)(s.O);_ngZone=(0,H.WQX)(k.SKi);_renderer=(0,H.WQX)(k._9s).createRenderer(null,null);_styleLoader=(0,H.WQX)(ye.l);_monitoredElements=new Map;constructor(){}monitor(Me){if(!this._platform.isBrowser)return B.w;this._styleLoader.load(q);const It=(0,He.i8)(Me),Zt=this._monitoredElements.get(It);if(Zt)return Zt.subject;const ti=new x.B,Wn="cdk-text-field-autofilled",mr=Oi=>{"cdk-text-field-autofill-start"!==Oi.animationName||It.classList.contains(Wn)?"cdk-text-field-autofill-end"===Oi.animationName&&It.classList.contains(Wn)&&(It.classList.remove(Wn),this._ngZone.run(()=>ti.next({target:Oi.target,isAutofilled:!1}))):(It.classList.add(Wn),this._ngZone.run(()=>ti.next({target:Oi.target,isAutofilled:!0})))},Bn=this._ngZone.runOutsideAngular(()=>(It.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(It,"animationstart",mr,de)));return this._monitoredElements.set(It,{subject:ti,unlisten:Bn}),ti}stopMonitoring(Me){const It=(0,He.i8)(Me),Zt=this._monitoredElements.get(It);Zt&&(Zt.unlisten(),Zt.subject.complete(),It.classList.remove("cdk-text-field-autofill-monitored"),It.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(It))}ngOnDestroy(){this._monitoredElements.forEach((Me,It)=>this.stopMonitoring(It))}static \u0275fac=function(It){return new(It||We)};static \u0275prov=H.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})(),ve=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275mod=k.$C({type:We});static \u0275inj=H.G2t({})}return We})();var at=d(9295),Ut=d(7705),nt=d(9726),cn=d(9417),hn=d(8010),qt=d(4727),Te=d(2709),Pe=d(9336),yt=d(1228),wt=d(2466);const ie=["button","checkbox","file","hidden","image","radio","range","reset","submit"],je=new H.nKC("MAT_INPUT_CONFIG");let rt=(()=>{class We{_elementRef=(0,H.WQX)(k.aKT);_platform=(0,H.WQX)(s.O);ngControl=(0,H.WQX)(cn.vO,{optional:!0,self:!0});_autofillMonitor=(0,H.WQX)(ae);_ngZone=(0,H.WQX)(k.SKi);_formField=(0,H.WQX)(qt.xb,{optional:!0});_renderer=(0,H.WQX)(k.sFG);_uid=(0,H.WQX)(nt.g).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,H.WQX)(je,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new x.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,o.he)(Me),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(Me){this._id=Me||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(cn.k0.required)??!1}set required(Me){this._required=(0,o.he)(Me)}_required;get type(){return this._type}set type(Me){this._type=Me||"text",this._validateType(),!this._isTextarea&&M().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Me){this._errorStateTracker.matcher=Me}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(Me){Me!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(Me):this._inputValueAccessor.value=Me,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(Me){this._readonly=(0,o.he)(Me)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(Me){this._errorStateTracker.errorState=Me}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Me=>M().has(Me));constructor(){const Me=(0,H.WQX)(cn.cV,{optional:!0}),It=(0,H.WQX)(cn.j4,{optional:!0}),Zt=(0,H.WQX)(Te.e),ti=(0,H.WQX)(hn.O,{optional:!0,self:!0}),Wn=this._elementRef.nativeElement,mr=Wn.nodeName.toLowerCase();ti?(0,H.Hps)(ti.value)?this._signalBasedValueAccessor=ti:this._inputValueAccessor=ti:this._inputValueAccessor=Wn,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(Wn,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Pe.X(Zt,this.ngControl,It,Me,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===mr,this._isTextarea="textarea"===mr,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=Wn.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,at.QZ)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(Me=>{this.autofilled=Me.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(Me){this._elementRef.nativeElement.focus(Me)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(Me){if(Me!==this.focused){if(!this._isNativeSelect&&Me&&this.disabled&&this.disabledInteractive){const It=this._elementRef.nativeElement;"number"===It.type?(It.type="text",It.setSelectionRange(0,0),It.type="number"):It.setSelectionRange(0,0)}this.focused=Me,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const Me=this._elementRef.nativeElement.value;this._previousNativeValue!==Me&&(this._previousNativeValue=Me,this.stateChanges.next())}_dirtyCheckPlaceholder(){const Me=this._getPlaceholder();if(Me!==this._previousPlaceholder){const It=this._elementRef.nativeElement;this._previousPlaceholder=Me,Me?It.setAttribute("placeholder",Me):It.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ie.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let Me=this._elementRef.nativeElement.validity;return Me&&Me.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const Me=this._elementRef.nativeElement,It=Me.options[0];return this.focused||Me.multiple||!this.empty||!!(Me.selectedIndex>-1&&It&&It.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(Me){const It=this._elementRef.nativeElement;
1Me.length?It.setAttribute("aria-describedby",Me.join(" ")):It.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const Me=this._elementRef.nativeElement;return this._isNativeSelect&&(Me.multiple||Me.size>1)}_iOSKeyupListener=Me=>{const It=Me.target;!It.value&&0===It.selectionStart&&0===It.selectionEnd&&(It.setSelectionRange(1,1),It.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(It){return new(It||We)};static \u0275dir=k.FsC({type:We,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(It,Zt){1&It&&k.bIt("focus",function(){return Zt._focusChanged(!0)})("blur",function(){return Zt._focusChanged(!1)})("input",function(){return Zt._onInput()}),2&It&&(k.Avn("id",Zt.id)("disabled",Zt.disabled&&!Zt.disabledInteractive)("required",Zt.required),k.BMQ("name",Zt.name||null)("readonly",Zt._getReadonlyAttribute())("aria-disabled",Zt.disabled&&Zt.disabledInteractive?"true":null)("aria-invalid",Zt.empty&&Zt.required?null:Zt.errorState)("aria-required",Zt.required)("id",Zt.id),k.AVh("mat-input-server",Zt._isServer)("mat-mdc-form-field-textarea-control",Zt._isInFormField&&Zt._isTextarea)("mat-mdc-form-field-input-control",Zt._isInFormField)("mat-mdc-input-disabled-interactive",Zt.disabledInteractive)("mdc-text-field__input",Zt._isInFormField)("mat-mdc-native-select-inline",Zt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ut.L39]},exportAs:["matInput"],features:[k.Jv_([{provide:qt.qT,useExisting:We}]),k.OA$]})}return We})(),Ze=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275mod=k.$C({type:We});static \u0275inj=H.G2t({imports:[wt.y,yt.R,yt.R,ve,wt.y]})}return We})()},3155(tn,Ye,d){"use strict";d.d(Ye,{t:()=>y});var o=d(3664);const s=["mat-internal-form-field",""],h=["*"];let y=(()=>{class v{labelPosition;static \u0275fac=function(k){return new(k||v)};static \u0275cmp=o.VBU({type:v,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(k,H){2&k&&o.AVh("mdc-form-field--align-end","before"===H.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:s,ngContentSelectors:h,decls:1,vars:0,template:function(k,H){1&k&&(o.NAR(),o.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,changeDetection:0})}return v})()},3902(tn,Ye,d){"use strict";d.d(Ye,{Fg:()=>un,YE:()=>pi,fS:()=>Qn,jt:()=>ai});var s=d(4085),h=d(7847),y=d(2615),v=d(3664),M=(d(7705),d(9842)),H=(d(4522),d(8968)),x=(d(1413),d(8359)),ye=d(7786),He=d(2496),Mt=d(1804),Ge=d(2046),Xe=(d(2200),d(2318)),ze=d(1997),$e=(d(4123),d(3869),d(7336),d(438),d(9417),d(6977),d(483)),lt=d(2466),q=d(6881);const de=["*"],he=["unscopedContent"],Ne=["text"],ve=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],at=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],It=new y.nKC("ListOption");let Zt=(()=>{class Ae{_elementRef=(0,y.WQX)(v.aKT);constructor(){}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=v.FsC({type:Ae,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return Ae})(),ti=(()=>{class Ae{_elementRef=(0,y.WQX)(v.aKT);constructor(){}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=v.FsC({type:Ae,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return Ae})(),Wn=(()=>{class Ae{static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=v.FsC({type:Ae,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return Ae})(),mr=(()=>{class Ae{_listOption=(0,y.WQX)(It,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=v.FsC({type:Ae,hostVars:4,hostBindings:function(Ee,Ce){2&Ee&&v.AVh("mdc-list-item__start",Ce._isAlignedAtStart())("mdc-list-item__end",!Ce._isAlignedAtStart())}})}return Ae})(),Bn=(()=>{class Ae extends mr{static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=v.xGo(Ae)))(Ce||Ae)}})();static \u0275dir=v.FsC({type:Ae,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[v.Vt3]})}return Ae})(),Oi=(()=>{class Ae extends mr{static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=v.xGo(Ae)))(Ce||Ae)}})();static \u0275dir=v.FsC({type:Ae,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[v.Vt3]})}return Ae})();const dn=new y.nKC("MAT_LIST_CONFIG");let Tn=(()=>{class Ae{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,s.he)(z)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(z){this._disabled.set((0,s.he)(z))}_disabled=(0,y.vPA)(!1);_defaultOptions=(0,y.WQX)(dn,{optional:!0});static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=v.FsC({type:Ae,hostVars:1,hostBindings:function(Ee,Ce){2&Ee&&v.BMQ("aria-disabled",Ce.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return Ae})(),Yn=(()=>{class Ae{_elementRef=(0,y.WQX)(v.aKT);_ngZone=(0,y.WQX)(v.SKi);_listBase=(0,y.WQX)(Tn,{optional:!0});_platform=(0,y.WQX)(M.O);_hostElement;_isButtonElement;_noopAnimations=(0,Mt.Rc)();_avatars;_icons;set lines(z){this._explicitLines=(0,h.OE)(z,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(z){this._disableRipple=(0,s.he)(z)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(z){this._disabled.set((0,s.he)(z))}_disabled=(0,y.vPA)(!1);_subscriptions=new x.yU;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){(0,y.WQX)(H.l).load(Ge.A);const z=(0,y.WQX)(He.$E,{optional:!0});this.rippleConfig=z||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._listBase&&!this._listBase._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new He.ug(this,this._ngZone,this._hostElement,this._platform,(0,y.WQX)(y.zZn)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,ye.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}
1_updateItemLines(z){if(!this._lines||!this._titles||!this._unscopedContent)return;z&&this._checkDomForUnscopedTextContent();const Ee=this._explicitLines??this._inferLinesFromContent(),Ce=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",Ee<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",Ee<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===Ee),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===Ee),this._hasUnscopedTextContent){const Ue=0===this._titles.length&&1===Ee;Ce.classList.toggle("mdc-list-item__primary-text",Ue),Ce.classList.toggle("mdc-list-item__secondary-text",!Ue)}else Ce.classList.remove("mdc-list-item__primary-text"),Ce.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let z=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(z+=1),z}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(z=>z.nodeType!==z.COMMENT_NODE).some(z=>!(!z.textContent||!z.textContent.trim()))}static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275dir=v.FsC({type:Ae,contentQueries:function(Ee,Ce,Ue){if(1&Ee&&(v.wni(Ue,Bn,4),v.wni(Ue,Oi,4)),2&Ee){let Tt;v.mGM(Tt=v.lsd())&&(Ce._avatars=Tt),v.mGM(Tt=v.lsd())&&(Ce._icons=Tt)}},hostVars:4,hostBindings:function(Ee,Ce){2&Ee&&(v.BMQ("aria-disabled",Ce.disabled)("disabled",Ce._isButtonElement&&Ce.disabled||null),v.AVh("mdc-list-item--disabled",Ce.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return Ae})(),Qn=(()=>{class Ae extends Tn{_isNonInteractive=!1;static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=v.xGo(Ae)))(Ce||Ae)}})();static \u0275cmp=v.VBU({type:Ae,selectors:[["mat-action-list"]],hostAttrs:["role","group",1,"mat-mdc-action-list","mat-mdc-list-base","mdc-list"],exportAs:["matActionList"],features:[v.Jv_([{provide:Tn,useExisting:Ae}]),v.Vt3],ngContentSelectors:de,decls:1,vars:0,template:function(Ee,Ce){1&Ee&&(v.NAR(),v.SdG(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-li
1st-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],encapsulation:2,changeDetection:0})}return Ae})(),ai=(()=>{class Ae extends Tn{static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=v.xGo(Ae)))(Ce||Ae)}})();static \u0275cmp=v.VBU({type:Ae,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[v.Jv_([{provide:Tn,useExisting:Ae}]),v.Vt3],ngContentSelectors:de,decls:1,vars:0,template:function(Ee,Ce){1&Ee&&(v.NAR(),v.SdG(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;
1cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{o
1pacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: active){a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],encapsulation:2,changeDetection:0})}return Ae})(),pi=(()=>{class Ae extends Yn{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(z){this._activated=(0,s.he)(z)}_activated=!1;_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return 0!==this._meta.length&&(0!==this._avatars.length||0!==this._icons.length)}static \u0275fac=(()=>{let z;return function(Ce){return(z||(z=v.xGo(Ae)))(Ce||Ae)}})();static \u0275cmp=v.VBU({type:Ae,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Ee,Ce,Ue){if(1&Ee&&(v.wni(Ue,ti,5),v.wni(Ue,Zt,5),v.wni(Ue,Wn,5)),2&Ee){let Tt;v.mGM(Tt=v.lsd())&&(Ce._lines=Tt),v.mGM(Tt=v.lsd())&&(Ce._titles=Tt),v.mGM(Tt=v.lsd())&&(Ce._meta=Tt)}},viewQuery:function(Ee,Ce){if(1&Ee&&(v.GBs(he,5),v.GBs(Ne,5)),2&Ee){let Ue;v.mGM(Ue=v.lsd())&&(Ce._unscopedContent=Ue.first),v.mGM(Ue=v.lsd())&&(Ce._itemText=Ue.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(Ee,Ce){2&Ee&&(v.BMQ("aria-current",Ce._getAriaCurrent()),v.AVh("mdc-list-item--activated",Ce.activated)("mdc-list-item--with-leading-avatar",0!==Ce._avatars.length)("mdc-list-item--with-leading-icon",0!==Ce._icons.length)("mdc-list-item--with-trailing-meta",0!==Ce._meta.length)("mat-mdc-list-item-both-leading-and-trailing",Ce._hasBothLeadingAndTrailing())("_mat-animation-noopable",Ce._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[v.Vt3],ngContentSelectors:at,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(Ee,Ce){if(1&Ee){const Ue=v.RV6();v.NAR(ve),v.SdG(0),v.j41(1,"span",1),v.SdG(2,1),v.SdG(3,2),v.j41(4,"span",2,0),v.bIt("cdkObserveContent",function(){return y.eBV(Ue),y.Njj(Ce._updateItemLines(!0))}),v.SdG(6,3),v.k0s()(),v.SdG(7,4),v.SdG(8,5),v.nrm(9,"div",3)}},dependencies:[Xe.Wv],encapsulation:2,changeDetection:0})}return Ae})(),un=(()=>{class Ae{static \u0275fac=function(Ee){return new(Ee||Ae)};static \u0275mod=v.$C({type:Ae});static \u0275inj=y.G2t({imports:[Xe.w5,lt.y,q.p,$e.O,ze.w]})}return Ae})()},9115(tn,Ye,d){"use strict";d.d(Ye,{Cn:()=>Vt,Cp:()=>Un,fb:()=>Wn,kk:()=>ai});var Le=d(2615),ge=d(3664),ue=d(7705),kt=d(6838),Je=d(9726),Ke=d(4123),$e=d(5735),lt=d(7336),q=d(438),de=
1d(1413),ae=d(8359),he=d(7786),Ne=d(7673),ve=d(5964),at=d(9172),Ut=d(5558),nt=d(6697),cn=d(6977),hn=d(8968),qt=d(2046),Te=d(2496),Pe=d(6939),yt=d(1804),wt=d(1577),Ie=d(9338),ie=d(5478),je=d(6881),rt=d(2466);const Ze=["mat-menu-item",""],We=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ot=["mat-icon, [matMenuItemIcon]","*"];function Me(z,Ee){1&z&&(Le.qSk(),ge.j41(0,"svg",2),ge.nrm(1,"polygon",3),ge.k0s())}const It=["*"];function Zt(z,Ee){if(1&z){const Ce=ge.RV6();ge.rj2(0,"div",0),ge.VwU("click",function(){Le.eBV(Ce);const Tt=ge.XpG();return Le.Njj(Tt.closed.emit("click"))})("animationstart",function(Tt){Le.eBV(Ce);const fe=ge.XpG();return Le.Njj(fe._onAnimationStart(Tt.animationName))})("animationend",function(Tt){Le.eBV(Ce);const fe=ge.XpG();return Le.Njj(fe._onAnimationDone(Tt.animationName))})("animationcancel",function(Tt){Le.eBV(Ce);const fe=ge.XpG();return Le.Njj(fe._onAnimationDone(Tt.animationName))}),ge.rj2(1,"div",1),ge.SdG(2),ge.eux()()}if(2&z){const Ce=ge.XpG();ge.HbH(Ce._classList),ge.AVh("mat-menu-panel-animations-disabled",Ce._animationsDisabled)("mat-menu-panel-exit-animation","void"===Ce._panelAnimationState)("mat-menu-panel-animating",Ce._isAnimating()),ge.Avn("id",Ce.panelId),ge.BMQ("aria-label",Ce.ariaLabel||null)("aria-labelledby",Ce.ariaLabelledby||null)("aria-describedby",Ce.ariaDescribedby||null)}}const ti=new Le.nKC("MAT_MENU_PANEL");let Wn=(()=>{class z{_elementRef=(0,Le.WQX)(ge.aKT);_document=(0,Le.WQX)(Le.qQL);_focusMonitor=(0,Le.WQX)(kt.FN);_parentMenu=(0,Le.WQX)(ti,{optional:!0});_changeDetectorRef=(0,Le.WQX)(ue.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new de.B;_focused=new de.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,Le.WQX)(hn.l).load(qt.A),this._parentMenu?.addItem?.(this)}focus(Ce,Ue){this._focusMonitor&&Ce?this._focusMonitor.focusVia(this._getHostElement(),Ce,Ue):this._getHostElement().focus(Ue),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(Ce){this.disabled&&(Ce.preventDefault(),Ce.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ce=this._elementRef.nativeElement.cloneNode(!0),Ue=Ce.querySelectorAll("mat-icon, .material-icons");for(let Tt=0;Tt<Ue.length;Tt++)Ue[Tt].remove();return Ce.textContent?.trim()||""}_setHighlighted(Ce){this._highlighted=Ce,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(Ce){this._triggersSubmenu=Ce,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(Ue){return new(Ue||z)};static \u0275cmp=ge.VBU({type:z,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(Ue,Tt){1&Ue&&ge.bIt("click",function(we){return Tt._checkDisabled(we)})("mouseenter",function(){return Tt._handleMouseEnter()}),2&Ue&&(ge.BMQ("role",Tt.role)("tabindex",Tt._getTabIndex())("aria-disabled",Tt.disabled)("disabled",Tt.disabled||null),ge.AVh("mat-mdc-menu-item-highlighted",Tt._highlighted)("mat-mdc-menu-item-submenu-trigger",Tt._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",ue.L39],disableRipple:[2,"disableRipple","disableRipple",ue.L39]},exportAs:["matMenuItem"],attrs:Ze,ngContentSelectors:Ot,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(Ue,Tt){1&Ue&&(ge.NAR(We),ge.SdG(0),ge.j41(1,"span",0),ge.SdG(2,1),ge.k0s(),ge.nrm(3,"div",1),ge.nVh(4,Me,2,0,":svg:svg",2)),2&Ue&&(ge.R7$(3),ge.Y8G("matRippleDisabled",Tt.disableRipple||Tt.disabled)("matRippleTrigger",Tt._getHostElement()),ge.R7$(),ge.vxM(Tt._triggersSubmenu?4:-1))},dependencies:[Te.r6],encapsulation:2,changeDetection:0})}return z})();const dn=new Le.nKC("MatMenuContent"),Yn=new Le.nKC("mat-menu-default-options",{providedIn:"root",factory:function _(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),Qn="_mat-menu-enter",di="_mat-menu-exit";let ai=(()=>{class z{_elementRef=(0,Le.WQX)(ge.aKT);_changeDetectorRef=(0,Le.WQX)(ue.gRc);_injector=(0,Le.WQX)(Le.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,yt.Rc)();_allItems;_directDescendantItems=new ge.rOR;_classList={};_panelAnimationState="void";_animationDone=new de.B;_isAnimating=(0,Le.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(Ce){this._xPosition=Ce,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ce){this._yPosition=Ce,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(Ce){const Ue=this._previousPanelClass,Tt={...this._classList};Ue&&Ue.length&&Ue.split(" ").forEach(fe=>{Tt[fe]=!1}),this._previousPanelClass=Ce,Ce&&Ce.length&&(Ce.split(" ").forEach(fe=>{Tt[fe]=!0}),this._elementRef.nativeElement.className=""),this._classList=Tt}_previousPanelClass;get classList(){return this.panelClass}set classList(Ce){this.panelClass=Ce}closed=new ge.bkB;close=this.closed;panelId=(0,Le.WQX)(Je.g).getId("mat-menu-panel-");constructor(){const Ce=(0,Le.WQX)(Yn);this.overlayPanelClass=Ce.overlayPanelClass||"",this._xPosition=Ce.xPosition,this._yPosition=Ce.yPosition,this.backdropClass=Ce.backdropClass,this.overlapTrigger=Ce.overlapTrigger,this.hasBackdrop=Ce.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Ke.B(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>
1this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,at.Z)(this._directDescendantItems),(0,Ut.n)(Ce=>(0,he.h)(...Ce.map(Ue=>Ue._focused)))).subscribe(Ce=>this._keyManager.updateActiveItem(Ce)),this._directDescendantItems.changes.subscribe(Ce=>{const Ue=this._keyManager;if("enter"===this._panelAnimationState&&Ue.activeItem?._hasFocus()){const Tt=Ce.toArray(),fe=Math.max(0,Math.min(Tt.length-1,Ue.activeItemIndex||0));Tt[fe]&&!Tt[fe].disabled?Ue.setActiveItem(fe):Ue.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,at.Z)(this._directDescendantItems),(0,Ut.n)(Ue=>(0,he.h)(...Ue.map(Tt=>Tt._hovered))))}addItem(Ce){}removeItem(Ce){}_handleKeydown(Ce){const Ue=Ce.keyCode,Tt=this._keyManager;switch(Ue){case q._f:(0,lt.rp)(Ce)||(Ce.preventDefault(),this.closed.emit("keydown"));break;case q.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case q.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(Ue===q.i7||Ue===q.n6)&&Tt.setFocusOrigin("keyboard"),void Tt.onKeydown(Ce)}}focusFirstItem(Ce="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,ge.mal)(()=>{const Ue=this._resolvePanel();if(!Ue||!Ue.contains(document.activeElement)){const Tt=this._keyManager;Tt.setFocusOrigin(Ce).setFirstItemActive(),!Tt.activeItem&&Ue&&Ue.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ce){}setPositionClasses(Ce=this.xPosition,Ue=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ce,"mat-menu-after":"after"===Ce,"mat-menu-above":"above"===Ue,"mat-menu-below":"below"===Ue},this._changeDetectorRef.markForCheck()}_onAnimationDone(Ce){const Ue=Ce===di;(Ue||Ce===Qn)&&(Ue&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(Ue?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(Ce){(Ce===Qn||Ce===di)&&this._isAnimating.set(!0)}_setIsOpen(Ce){if(this._panelAnimationState=Ce?"enter":"void",Ce){if(0===this._keyManager.activeItemIndex){const Ue=this._resolvePanel();Ue&&(Ue.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(di),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(Ce?Qn:di)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,at.Z)(this._allItems)).subscribe(Ce=>{this._directDescendantItems.reset(Ce.filter(Ue=>Ue._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let Ce=null;return this._directDescendantItems.length&&(Ce=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),Ce}static \u0275fac=function(Ue){return new(Ue||z)};static \u0275cmp=ge.VBU({type:z,selectors:[["mat-menu"]],contentQueries:function(Ue,Tt,fe){if(1&Ue&&(ge.wni(fe,dn,5),ge.wni(fe,Wn,5),ge.wni(fe,Wn,4)),2&Ue){let we;ge.mGM(we=ge.lsd())&&(Tt.lazyContent=we.first),ge.mGM(we=ge.lsd())&&(Tt._allItems=we),ge.mGM(we=ge.lsd())&&(Tt.items=we)}},viewQuery:function(Ue,Tt){if(1&Ue&&ge.GBs(ge.C4Q,5),2&Ue){let fe;ge.mGM(fe=ge.lsd())&&(Tt.templateRef=fe.first)}},hostVars:3,hostBindings:function(Ue,Tt){2&Ue&&ge.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",ue.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ce=>null==Ce?null:(0,ue.L39)(Ce)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[ge.Jv_([{provide:ti,useExisting:z}])],ngContentSelectors:It,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(Ue,Tt){1&Ue&&(ge.NAR(),ge.PeT(0,Zt,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}
1}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: active){.mat-mdc-menu-submenu-icon{fill:CanvasText}}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,changeDetection:0})}return z})();const pi=new Le.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const z=(0,Le.WQX)(Le.zZn);return()=>(0,Ie.RH)(z)}}),ii={provide:pi,deps:[],useFactory:function Vi(z){const Ee=(0,Le.WQX)(Le.zZn);return()=>(0,Ie.RH)(Ee)}},Sn=new WeakMap;let ci=(()=>{class z{_canHaveBackdrop;_element=(0,Le.WQX)(ge.aKT);
1_viewContainerRef=(0,Le.WQX)(ge.c1b);_menuItemInstance=(0,Le.WQX)(Wn,{optional:!0,self:!0});_dir=(0,Le.WQX)(wt.dS,{optional:!0});_focusMonitor=(0,Le.WQX)(kt.FN);_ngZone=(0,Le.WQX)(ge.SKi);_injector=(0,Le.WQX)(Le.zZn);_scrollStrategy=(0,Le.WQX)(pi);_changeDetectorRef=(0,Le.WQX)(ue.gRc);_animationsDisabled=(0,yt.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=ae.yU.EMPTY;_menuCloseSubscription=ae.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(Ce){Ce!==this._menuInternal&&(this._menuInternal=Ce,this._menuCloseSubscription.unsubscribe(),Ce&&(this._menuCloseSubscription=Ce.close.subscribe(Ue=>{this._destroyMenu(Ue),("click"===Ue||"tab"===Ue)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(Ue)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(Ce){this._canHaveBackdrop=Ce;const Ue=(0,Le.WQX)(ti,{optional:!0});this._parentMaterialMenu=Ue instanceof ai?Ue:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Sn.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(Ce){const Ue=this._menu;if(this._menuOpen||!Ue)return;this._pendingRemoval?.unsubscribe();const Tt=Sn.get(Ue);Sn.set(Ue,this),Tt&&Tt!==this&&Tt._closeMenu();const fe=this._createOverlay(Ue),we=fe.getConfig(),_e=we.positionStrategy;this._setPosition(Ue,_e),we.hasBackdrop=!!this._canHaveBackdrop&&(null==Ue.hasBackdrop?!this._triggersSubmenu():Ue.hasBackdrop),fe.hasAttached()||(fe.attach(this._getPortal(Ue)),Ue.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),Ue.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,Ue.direction=this.dir,Ce&&Ue.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),Ue instanceof ai&&(Ue._setIsOpen(!0),Ue._directDescendantItems.changes.pipe((0,cn.Q)(Ue.close)).subscribe(()=>{_e.withLockedPosition(!1).reapplyLastPosition(),_e.withLockedPosition(!0)}))}focus(Ce,Ue){this._focusMonitor&&Ce?this._focusMonitor.focusVia(this._element,Ce,Ue):this._element.nativeElement.focus(Ue)}_destroyMenu(Ce){const Ue=this._overlayRef,Tt=this._menu;!Ue||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),Tt instanceof ai&&this._ownsMenu(Tt)?(this._pe
1ndingRemoval=Tt._animationDone.pipe((0,nt.s)(1)).subscribe(()=>{Ue.detach(),Sn.has(Tt)||Tt.lazyContent?.detach()}),Tt._setIsOpen(!1)):(Ue.detach(),Tt?.lazyContent?.detach()),Tt&&this._ownsMenu(Tt)&&Sn.delete(Tt),this.restoreFocus&&("keydown"===Ce||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(Ce){Ce!==this._menuOpen&&(this._menuOpen=Ce,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ce),this._changeDetectorRef.markForCheck())}_createOverlay(Ce){if(!this._overlayRef){const Ue=this._getOverlayConfig(Ce);this._subscribeToPositions(Ce,Ue.positionStrategy),this._overlayRef=(0,Ie.Y$)(this._injector,Ue),this._overlayRef.keydownEvents().subscribe(Tt=>{this._menu instanceof ai&&this._menu._handleKeydown(Tt)})}return this._overlayRef}_getOverlayConfig(Ce){return new Ie.rR({positionStrategy:(0,Ie.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ce.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ce.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(Ce,Ue){Ce.setPositionClasses&&Ue.positionChanges.subscribe(Tt=>{this._ngZone.run(()=>{Ce.setPositionClasses("start"===Tt.connectionPair.overlayX?"after":"before","top"===Tt.connectionPair.overlayY?"below":"above")})})}_setPosition(Ce,Ue){let[Tt,fe]="before"===Ce.xPosition?["end","start"]:["start","end"],[we,_e]="above"===Ce.yPosition?["bottom","top"]:["top","bottom"],[L,j]=[we,_e],[X,qe]=[Tt,fe],Yt=0;if(this._triggersSubmenu()){if(qe=Tt="before"===Ce.xPosition?"start":"end",fe=X="end"===Tt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const On=this._parentMaterialMenu.items.first;this._parentInnerPadding=On?On._getHostElement().offsetTop:0}Yt="bottom"===we?this._parentInnerPadding:-this._parentInnerPadding}}else Ce.overlapTrigger||(L="top"===we?"bottom":"top",j="top"===_e?"bottom":"top");Ue.withPositions([{originX:Tt,originY:L,overlayX:X,overlayY:we,offsetY:Yt},{originX:fe,originY:L,overlayX:qe,overlayY:we,offsetY:Yt},{originX:Tt,originY:j,overlayX:X,overlayY:_e,offsetY:-Yt},{originX:fe,originY:j,overlayX:qe,overlayY:_e,offsetY:-Yt}])}_menuClosingActions(){const Ce=this._getOutsideClickStream(this._overlayRef),Ue=this._overlayRef.detachments(),Tt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Ne.of)(),fe=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,ve.p)(we=>this._menuOpen&&we!==this._menuItemInstance)):(0,Ne.of)();return(0,he.h)(Ce,Tt,fe,Ue)}_getPortal(Ce){return(!this._portal||this._portal.templateRef!==Ce.templateRef)&&(this._portal=new Pe.VA(Ce.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(Ce){return Sn.get(Ce)===this}static \u0275fac=function(Ue){ge.QTQ()};static \u0275dir=ge.FsC({type:z})}return z})(),Un=(()=>{class z extends ci{_cleanupTouchstart;_hoverSubscription=ae.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ce){this.menu=Ce}get menu(){return this._menu}set menu(Ce){this._menu=Ce}menuData;restoreFocus=!0;menuOpened=new ge.bkB;onMenuOpen=this.menuOpened;menuClosed=new ge.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const Ce=(0,Le.WQX)(ge.sFG);this._cleanupTouchstart=Ce.listen(this._element.nativeElement,"touchstart",Ue=>{(0,$e.w)(Ue)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(Ce){return Ce.backdropClick()}_handleMousedown(Ce){(0,$e._)(Ce)||(this._openedBy=0===Ce.button?"mouse":void 0,this.triggersSubmenu()&&Ce.preventDefault())}_handleKeydown(Ce){const Ue=Ce.keyCode;(Ue===q.Fm||Ue===q.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(Ue===q.LE&&"ltr"===this.dir||Ue===q.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ce){this.triggersSubmenu()?(Ce.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(Ce=>{Ce===this._menuItemInstance&&!Ce.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(Ue){return new(Ue||z)};static \u0275dir=ge.FsC({type:z,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(Ue,Tt){1&Ue&&ge.bIt("click",function(we){return Tt._handleClick(we)})("mousedown",function(we){return Tt._handleMousedown(we)})("keydown",function(we){return Tt._handleKeydown(we)}),2&Ue&&ge.BMQ("aria-haspopup",Tt.menu?"menu":null)("aria-expanded",Tt.menuOpen)("aria-controls",Tt.menuOpen?null==Tt.menu?null:Tt.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],features:[ge.Vt3]})}return z})(),Vt=(()=>{class z{static \u0275fac=function(Ue){return new(Ue||z)};static \u0275mod=ge.$C({type:z});static \u0275inj=Le.G2t({providers:[ii],imports:[je.p,rt.y,Ie.z_,ie.Gj,rt.y]})}return z})()},146(tn,Ye,d){"use strict";d.d(Ye,{S:()=>M});var o=d(2615),s=d(3664),h=d(6881),y=d(483),v=d(2466),T=d(3029);let M=(()=>{class k{static \u0275fac=function(x){return new(x||k)};static \u0275mod=s.$C({type:k});static \u0275inj=o.G2t({imports:[h.p,v.y,y.O,T.wT]})}return k})()},3029(tn,Ye,d){"use strict";d.d(Ye,{MI:()=>de,QC:()=>lt,TL:()=>Ne,is:()=>$e,jb:()=>he,wT:()=>ae});var v=d(9726),T=d(7336),M=d(438),k=d(3664),H=d(7705),B=d(2615),x=d(1413),ye=d(2496),He=d(3386),Mt=d(2046),Ge=d(9046),Qe=d(8968);const Le=["text"],ge=[[["mat-icon"]],"*"],ue=["mat-icon","*"];function kt(ve,at){if(1&ve&&k.nrm(0,"mat-pseudo-checkbox",1),2&ve){const Ut=k.XpG();k.Y8G("disabled",Ut.disabled)("state",Ut.selected?"checked":"unchecked")}}function Je(ve,at){if(1&ve&&k.nrm(0,"mat-pseudo-checkbox",3),2&ve){const Ut=k.XpG();k.Y8G("disabled",Ut.disabled)}}function Ke(ve,at){if(1&ve&&(k.j41(0,"span",4),k.EFF(1),k.k0s()),2&ve){const Ut=k.XpG();k.R7$(),k.SpI("(",Ut.group.label,")")}}const $e=new B.nKC("MAT_OPTION_PARENT_COMPONENT"),lt=new B.nKC("MatOptgroup");class de{source;isUserInput;constructor(at,Ut=!1){this.source=at,this.isUserInput=Ut}}let ae=(()=>{class ve{_element=(0,B.WQX)(k.aKT);_changeDetectorRef=(0,B.WQX)(H.gRc);_parent=(0,B.WQX)($e,{optional:!0});group=(0,B.WQX)(lt,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,B.WQX)(v.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(Ut){this._disabled.set(Ut)}_disabled=(0,B.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new k.bkB;_text;_stateChanges=new x.B;constructor(){const Ut=(0,B.WQX)(Qe.l);Ut.load(Mt.A),Ut.load(Ge.Y),this._signalDisableRipple=!!this._parent&&(0,B.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Ut=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Ut&&this._emitSelectionChangeEvent())}deselect(Ut=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Ut&&this._emitSelectionChangeEvent())}focus(Ut,nt){const cn=this._getHostElement();"function"==typeof cn.focus&&cn.focus(nt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Ut){(Ut.keyCode===M.Fm||Ut.keyCode===M.t6)&&!(0,T.rp)(Ut)&&(this._selectViaInteraction(),Ut.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Ut=this.viewValue;Ut!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Ut)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Ut=!1){this.onSelectionChange.emit(new de(this,Ut))}static \u0275fac=function(nt){return new(nt||ve)};static \u0275cmp=k.VBU({type:ve,selectors:[["mat-option"]],viewQuery:function(nt,cn){if(1&nt&&k.GBs(Le,7),2&nt){let hn;k.mGM(hn=k.lsd())&&(cn._text=hn.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(nt,cn){1&nt&&k.bIt("click",function(){return cn._selectViaInteraction()})("keydown",function(qt){return cn._handleKeydown(qt)}),2&nt&&(k.Avn("id",cn.id),k.BMQ("aria-selected",cn.selected)("aria-disabled",cn.disabled.toString()),k.AVh("mdc-list-item--selected",cn.selected)("mat-mdc-option-multiple",cn.multiple)("mat-mdc-option-active",cn.active)("mdc-list-item--disabled",cn.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",H.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:ue,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(nt,cn){1&nt&&(k.NAR(ge),k.nVh(0,kt,1,2,"mat-pseudo-checkbox",1),k.SdG(1),k.j41(2,"span",2,0),k.SdG(4,1),k.k0s(),k.nVh(5,Je,1,1,"mat-pseudo-checkbox",3),k.nVh(6,Ke,2,1,"span",4),k.nrm(7,"div",5)),2&nt&&(k.vxM(cn.multiple?0:-1),k.R7$(5),k.vxM(cn.multiple||!cn.selected||cn.hideSingleSelectionIndicator?-1:5),k.R7$(),k.vxM(cn.group&&cn.group._inert?6:-1),k.R7$(),k.Y8G("matRippleTrigger",cn._getHostElement())("matRippleDisabled",cn.disabled||cn.disableRipple))},dependencies:[He.w,ye.r6],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return ve})();function he(ve,at,Ut){if(Ut.length){let nt=at.toArray(),cn=Ut.toArray(),hn=0;for(let qt=0;qt<ve+1;qt++)nt[qt].group&&nt[qt].group===cn[hn]&&hn++;return hn}return 0}function Ne(ve,at,Ut,nt){return ve<Ut?ve:ve+at>Ut+nt?Math.max(0,ve-nt+at):Ut}},6695(tn,Ye,d){"use strict";d.d(Ye,{Ou:()=>q,iy:()=>lt});var o=d(2615),s=d(3664),h=d(7705),y=d(1413),v=d(2771),T=d(9726),M=d(4727),k=d(2864),H=d(3029),B=d(2598),x=d(455),ye=d(6156),He=d(8834);function Mt(de,ae){if(1&de&&(s.j41(0,"mat-option",17),s.EFF(1),s.k0s()),2&de){const he=ae.$implicit;
1s.Y8G("value",he),s.R7$(),s.SpI(" ",he," ")}}function Ge(de,ae){if(1&de){const he=s.RV6();s.j41(0,"mat-form-field",14)(1,"mat-select",16,0),s.bIt("selectionChange",function(ve){o.eBV(he);const at=s.XpG(2);return o.Njj(at._changePageSize(ve.value))}),s.Z7z(3,Mt,2,2,"mat-option",17,s.fX1),s.k0s(),s.j41(5,"div",18),s.bIt("click",function(){o.eBV(he);const ve=s.sdS(2);return o.Njj(ve.open())}),s.k0s()()}if(2&de){const he=s.XpG(2);s.Y8G("appearance",he._formFieldAppearance)("color",he.color),s.R7$(),s.Y8G("value",he.pageSize)("disabled",he.disabled),s.jOp("aria-labelledby",he._pageSizeLabelId),s.Y8G("panelClass",he.selectConfig.panelClass||"")("disableOptionCentering",he.selectConfig.disableOptionCentering),s.R7$(2),s.Dyx(he._displayedPageSizeOptions)}}function Qe(de,ae){if(1&de&&(s.j41(0,"div",15),s.EFF(1),s.k0s()),2&de){const he=s.XpG(2);s.R7$(),s.JRh(he.pageSize)}}function Xe(de,ae){if(1&de&&(s.j41(0,"div",3)(1,"div",13),s.EFF(2),s.k0s(),s.nVh(3,Ge,6,7,"mat-form-field",14),s.nVh(4,Qe,2,1,"div",15),s.k0s()),2&de){const he=s.XpG();s.R7$(),s.BMQ("id",he._pageSizeLabelId),s.R7$(),s.SpI(" ",he._intl.itemsPerPageLabel," "),s.R7$(),s.vxM(he._displayedPageSizeOptions.length>1?3:-1),s.R7$(),s.vxM(he._displayedPageSizeOptions.length<=1?4:-1)}}function ze(de,ae){if(1&de){const he=s.RV6();s.j41(0,"button",19),s.bIt("click",function(){o.eBV(he);const ve=s.XpG();return o.Njj(ve._buttonClicked(0,ve._previousButtonsDisabled()))}),o.qSk(),s.j41(1,"svg",8),s.nrm(2,"path",20),s.k0s()()}if(2&de){const he=s.XpG();s.Y8G("matTooltip",he._intl.firstPageLabel)("matTooltipDisabled",he._previousButtonsDisabled())("disabled",he._previousButtonsDisabled())("tabindex",he._previousButtonsDisabled()?-1:null),s.BMQ("aria-label",he._intl.firstPageLabel)}}function Le(de,ae){if(1&de){const he=s.RV6();s.j41(0,"button",21),s.bIt("click",function(){o.eBV(he);const ve=s.XpG();return o.Njj(ve._buttonClicked(ve.getNumberOfPages()-1,ve._nextButtonsDisabled()))}),o.qSk(),s.j41(1,"svg",8),s.nrm(2,"path",22),s.k0s()()}if(2&de){const he=s.XpG();s.Y8G("matTooltip",he._intl.lastPageLabel)("matTooltipDisabled",he._nextButtonsDisabled())("disabled",he._nextButtonsDisabled())("tabindex",he._nextButtonsDisabled()?-1:null),s.BMQ("aria-label",he._intl.lastPageLabel)}}let ge=(()=>{class de{changes=new y.B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(he,Ne,ve)=>{if(0==ve||0==Ne)return`0 of ${ve}`;const at=he*Ne;return`${at+1} \u2013 ${at<(ve=Math.max(ve,0))?Math.min(at+Ne,ve):at+Ne} of ${ve}`};static \u0275fac=function(Ne){return new(Ne||de)};static \u0275prov=o.jDH({token:de,factory:de.\u0275fac,providedIn:"root"})}return de})();const kt={provide:ge,deps:[[new s.Xx1,new s.kdw,ge]],useFactory:function ue(de){return de||new ge}},$e=new o.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let lt=(()=>{class de{_intl=(0,o.WQX)(ge);_changeDetectorRef=(0,o.WQX)(h.gRc);_formFieldAppearance;_pageSizeLabelId=(0,o.WQX)(T.g).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new v.m(1);color;get pageIndex(){return this._pageIndex}set pageIndex(he){this._pageIndex=Math.max(he||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(he){this._length=he||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(he){this._pageSize=Math.max(he||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(he){this._pageSizeOptions=(he||[]).map(Ne=>(0,h.Udg)(Ne,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new s.bkB;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){const he=this._intl,Ne=(0,o.WQX)($e,{optional:!0});if(this._intlChanges=he.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Ne){const{pageSize:ve,pageSizeOptions:at,hidePageSize:Ut,showFirstLastButtons:nt}=Ne;null!=ve&&(this._pageSize=ve),null!=at&&(this._pageSizeOptions=at),null!=Ut&&(this.hidePageSize=Ut),null!=nt&&(this.show
1FirstLastButtons=nt)}this._formFieldAppearance=Ne?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const he=this.getNumberOfPages()-1;return this.pageIndex<he&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(he){const ve=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/he)||0,this.pageSize=he,this._emitPageEvent(ve)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((he,Ne)=>he-Ne),this._changeDetectorRef.markForCheck())}_emitPageEvent(he){this.page.emit({previousPageIndex:he,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(he){const Ne=this.pageIndex;he!==Ne&&(this.pageIndex=he,this._emitPageEvent(Ne))}_buttonClicked(he,Ne){Ne||this._navigate(he)}static \u0275fac=function(Ne){return new(Ne||de)};static \u0275cmp=s.VBU({type:de,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",h.Udg],length:[2,"length","length",h.Udg],pageSize:[2,"pageSize","pageSize",h.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",h.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",h.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",h.L39]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(Ne,ve){1&Ne&&(s.j41(0,"div",1)(1,"div",2),s.nVh(2,Xe,5,4,"div",3),s.j41(3,"div",4)(4,"div",5),s.EFF(5),s.k0s(),s.nVh(6,ze,3,5,"button",6),s.j41(7,"button",7),s.bIt("click",function(){return ve._buttonClicked(ve.pageIndex-1,ve._previousButtonsDisabled())}),o.qSk(),s.j41(8,"svg",8),s.nrm(9,"path",9),s.k0s()(),o.joV(),s.j41(10,"button",10),s.bIt("click",function(){return ve._buttonClicked(ve.pageIndex+1,ve._nextButtonsDisabled())}),o.qSk(),s.j41(11,"svg",8),s.nrm(12,"path",11),s.k0s()(),s.nVh(13,Le,3,5,"button",12),s.k0s()()()),2&Ne&&(s.R7$(2),s.vxM(ve.hidePageSize?-1:2),s.R7$(3),s.SpI(" ",ve._intl.getRangeLabel(ve.pageIndex,ve.pageSize,ve.length)," "),s.R7$(),s.vxM(ve.showFirstLastButtons?6:-1),s.R7$(),s.Y8G("matTooltip",ve._intl.previousPageLabel)("matTooltipDisabled",ve._previousButtonsDisabled())("disabled",ve._previousButtonsDisabled())("tabindex",ve._previousButtonsDisabled()?-1:null),s.BMQ("aria-label",ve._intl.previousPageLabel),s.R7$(3),s.Y8G("matTooltip",ve._intl.nextPageLabel)("matTooltipDisabled",ve._nextButtonsDisabled())("disabled",ve._nextButtonsDisabled())("tabindex",ve._nextButtonsDisabled()?-1:null),s.BMQ("aria-label",ve._intl.nextPageLabel),s.R7$(3),s.vxM(ve.showFirstLastButtons?13:-1))},dependencies:[M.rl,k.VO,H.wT,B.iY,x.oV],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;
1fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],encapsulation:2,changeDetection:0})}return de})(),q=(()=>{class de{static \u0275fac=function(Ne){return new(Ne||de)};static \u0275mod=s.$C({type:de});static \u0275inj=o.G2t({providers:[kt],imports:[He.Hl,k.Ve,ye.u,lt]})}return de})()},7575(tn,Ye,d){"use strict";d.d(Ye,{HM:()=>B,PO:()=>ye});var o=d(2615),s=d(3664),h=d(7705),y=d(1804),v=d(2466);function T(He,Mt){1&He&&s.Hgh(0,"div",2)}const M=new o.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let B=(()=>{class He{_elementRef=(0,o.WQX)(s.aKT);_ngZone=(0,o.WQX)(s.SKi);_changeDetectorRef=(0,o.WQX)(h.gRc);_renderer=(0,o.WQX)(s.sFG);_cleanupTransitionEnd;constructor(){const Ge=(0,y._J)(),Qe=(0,o.WQX)(M,{optional:!0});this._isNoopAnimation="di-disabled"===Ge,"reduced-motion"===Ge&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),Qe&&(Qe.color&&(this.color=this._defaultColor=Qe.color),this.mode=Qe.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(Ge){this._color=Ge}_color;_defaultColor="primary";get value(){return this._value}set value(Ge){this._value=x(Ge||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(Ge){this._bufferValue=x(Ge||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new s.bkB;get mode(){return this._mode}set mode(Ge){this._mode=Ge,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}_transitionendHandler=Ge=>{0===this.animationEnd.observers.length||!Ge.target||!Ge.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(Qe){return new(Qe||He)};static \u0275cmp=s.VBU({type:He,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(Qe,Xe){2&Qe&&(s.BMQ("aria-valuenow",Xe._isIndeterminate()?null:Xe.value)("mode",Xe.mode),s.HbH("mat-"+Xe.color),s.AVh("_mat-animation-noopable",Xe._isNoopAnimation)("mdc-linear-progress--animation-ready",!Xe._isNoopAnimation)("mdc-linear-progress--indeterminate",Xe._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",h.Udg],bufferValue:[2,"bufferValue","bufferValue",h.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(Qe,Xe){1&Qe&&(s.rj2(0,"div",0),s.Hgh(1,"div",1),s.nVh(2,T,1,0,"div",2),s.eux(),s.r
1j2(3,"div",3),s.Hgh(4,"span",4),s.eux(),s.rj2(5,"div",5),s.Hgh(6,"span",4),s.eux()),2&Qe&&(s.R7$(),s.xc7("flex-basis",Xe._getBufferBarFlexBasis()),s.R7$(),s.vxM("buffer"===Xe.mode?2:-1),s.R7$(),s.xc7("transform",Xe._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@keyframes mdc-linear-progress-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 mdc-linear-progress-primary-indeterminate-scale{0%{transform:scale
1X(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 mdc-linear-progress-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 mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{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 mdc-linear-progress-secondary-indeterminate-translate-reverse{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 mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],encapsulation:2,changeDetection:0})}return He})();function x(He,Mt=0,Ge=100){return Math.max(Mt,Math.min(Ge,He))}let ye=(()=>{class He{static \u0275fac=function(Qe){return new(Qe||He)};static \u0275mod=s.$C({type:He});static \u0275inj=o.G2t({imports:[v.y]})}return He})()},483(tn,Ye,d){"use strict";d.d(Ye,{O:()=>y});var o=d(2615),s=d(3664),h=d(2466);let y=(()=>{class v{static \u0275fac=function(k){return new(k||v)};static \u0275mod=s.$C({type:v});static \u0275inj=o.G2t({imports:[h.y]})}return v})()},3386(tn,Ye,d){"use strict";d.d(Ye,{w:()=>h});var o=d(3664),s=d(1804);let h=(()=>{class y{_animationsDisabled=(0,s.Rc)();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(M){return new(M||y)};static \u0275cmp=o.VBU({type:y,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(M,k){2&M&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===k.state)("mat-pseudo-checkbox-checked","checked"===k.state)("mat-pseudo-checkbox-disabled",k.disabled)("mat-pseudo-checkbox-minimal","minimal"===k.appearance)("mat-pseudo-checkbox-full","full"===k.appearance)("_mat-animation-noopable",k._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(M,k){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;
1height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}return y})()},5951(tn,Ye,d){"use strict";d.d(Ye,{VT:()=>Je,Wk:()=>$e,_g:()=>Ke});var o=d(6838),s=d(9726),h=d(8689),y=d(2615),v=d(3664),T=d(7705),M=d(9417),k=d(8968),H=d(1804),B=d(2046),x=d(2496),ye=d(3155),He=d(2466),Mt=d(6881);const Ge=["input"],Qe=["formField"],Xe=["*"];class ze{source;value;constructor(q,de){this.source=q,this.value=de}}const Le={provide:M.kq,useExisting:(0,y.Rfq)(()=>Je),multi:!0},ge=new y.nKC("MatRadioGroup"),ue=new y.nKC("mat-radio-default-options",{providedIn:"root",factory:function kt(){return{color:"accent",disabledInteractive:!1}}});let Je=(()=>{class lt{_changeDetector=(0,y.WQX)(T.gRc);_value=null;_name=(0,y.WQX)(s.g).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new v.bkB;_radios;color;get name(){return this._name}set name(de){this._name=de,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(de){this._labelPosition="before"===de?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(de){this._value!==de&&(this._value=de,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(de){this._selected=de,this.value=de?de.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(de){this._disabled=de,this._markRadiosForCheck()}get required(){return this._required}set required(de){this._required=de,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(de){this._disabledInteractive=de,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(de=>de===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(de=>{de.name=this.name,de._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(ae=>{ae.checked=this.value===ae.value,ae.checked&&(this._selected=ae)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new ze(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(de=>de._markForCheck())}writeValue(de){this.value=de,this._changeDetector.markForCheck()}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de,this._changeDetector.markForCheck()}static \u0275fac=function(ae){return new(ae||lt)};static \u0275dir=v.FsC({type:lt,selectors:[["mat-radio-group"]],contentQueries:function(ae,he,Ne){if(1&ae&&v.wni(Ne,Ke,5),2&ae){let ve;v.mGM(ve=v.lsd())&&(he._radios=ve)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",T.L39],required:[2,"required","required",T.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",T.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[v.Jv_([Le,{provide:ge,useExisting:lt}])]})}return lt})(),Ke=(()=>{class lt{_elementRef=(0,y.WQX)(v.aKT);_changeDetector=(0,y.WQX)(T.gRc);_focusMonitor=(0,y.WQX)(o.FN);
1_radioDispatcher=(0,y.WQX)(h.z);_defaultOptions=(0,y.WQX)(ue,{optional:!0});_ngZone=(0,y.WQX)(v.SKi);_renderer=(0,y.WQX)(v.sFG);_uniqueId=(0,y.WQX)(s.g).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(de){this._checked!==de&&(this._checked=de,de&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!de&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),de&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(de){this._value!==de&&(this._value=de,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===de),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(de){this._labelPosition=de}_labelPosition;get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(de){this._setDisabled(de)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(de){de!==this._required&&this._changeDetector.markForCheck(),this._required=de}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(de){this._color=de}_color;get disabledInteractive(){return this._disabledInteractive||null!==this.radioGroup&&this.radioGroup.disabledInteractive}set disabledInteractive(de){this._disabledInteractive=de}_disabledInteractive;change=new v.bkB;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=(0,H.Rc)();_injector=(0,y.WQX)(y.zZn);constructor(){(0,y.WQX)(k.l).load(B.A);const de=(0,y.WQX)(ge,{optional:!0}),ae=(0,y.WQX)(new T.ES_("tabindex"),{optional:!0});this.radioGroup=de,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,ae&&(this.tabIndex=(0,T.Udg)(ae,0))}focus(de,ae){ae?this._focusMonitor.focusVia(this._inputElement,ae,de):this._inputElement.nativeElement.focus(de)}_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),this._removeUniqueSelectionListener=this._radioDispatcher.listen((de,ae)=>{de!==this.id&&ae===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{!de&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new ze(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(de){if(de.stopPropagation(),!this.checked&&!this.disabled){const ae=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),ae&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(de){this._onInputInteraction(de),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(de){this._disabled!==de&&(this._disabled=de,this._changeDetector.markForCheck())}_onInputClick=de=>{this.disabled&&this.disabledInteractive&&de.preventDefault()};_updateTabIndex(){const de=this.radioGroup;let ae;if(ae=de&&de.selected&&!this.disabled?de.selected===this?this.tabIndex:-1:this.tabIndex,ae!==this._previousTabIndex){const he=this._inputElement?.nativeElement;he&&(he.setAttribute("tabindex",ae+""),this._previousTabIndex=ae,(0,v.mal)(()=>{queueMicrotask(()=>{de&&de.selected&&de.selected!==this&&document.activeElement===he&&(de.selected?._inputElement.nativeElement.focus(),document.activeElement===he&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(ae){return new(ae||lt)};static \u0275cmp=v.VBU({type:lt,selectors:[["mat-radio-button"]],viewQuery:function(ae,he){if(1&ae&&(v.GBs(Ge,5),v.GBs(Qe,7,v.aKT)),2&ae){let Ne;v.mGM(Ne=v.lsd())&&(he._inputElement=Ne.first),v.mGM(Ne=v.lsd())&&(he._rippleTrigger=Ne.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(ae,he){1&ae&&v.bIt("focus",function(){return he._inputElement.nativeElement.focus()}),2&ae&&(v.BMQ("id",he.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),v.AVh("mat-primary","primary"===he.color)("mat-accent","accent"===he.color)("mat-warn","warn"===he.color)("mat-mdc-radio-checked",he.checked)("mat-mdc-radio-disabled",he.disabled)("mat-mdc-radio-disabled-interactive",he.disabledInteractive)("_mat-animation-noopable",he._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",T.L39],tabIndex:[2,"tabIndex","tabIndex",de=>null==de?0:(0,T.Udg)(de)],checked:[2,"checked","checked",T.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",T.L39],required:[2,"required","required",T.L39],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",T.L39]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:Xe,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner
1-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(ae,he){if(1&ae){const Ne=v.RV6();v.NAR(),v.j41(0,"div",2,0)(2,"div",3)(3,"div",4),v.bIt("click",function(at){return y.eBV(Ne),y.Njj(he._onTouchTargetClick(at))}),v.k0s(),v.j41(4,"input",5,1),v.bIt("change",function(at){return y.eBV(Ne),y.Njj(he._onInputInteraction(at))}),v.k0s(),v.j41(6,"div",6),v.nrm(7,"div",7)(8,"div",8),v.k0s(),v.j41(9,"div",9),v.nrm(10,"div",10),v.k0s()(),v.j41(11,"label",11),v.SdG(12),v.k0s()()}2&ae&&(v.Y8G("labelPosition",he.labelPosition),v.R7$(2),v.AVh("mdc-radio--disabled",he.disabled),v.R7$(2),v.Y8G("id",he.inputId)("checked",he.checked)("disabled",he.disabled&&!he.disabledInteractive)("required",he.required),v.BMQ("name",he.name)("value",he.value)("aria-label",he.ariaLabel)("aria-labelledby",he.ariaLabelledby)("aria-describedby",he.ariaDescribedby)("aria-disabled",he.disabled&&he.disabledInteractive?"true":null),v.R7$(5),v.Y8G("matRippleTrigger",he._rippleTrigger.nativeElement)("matRippleDisabled",he._isRippleDisabled())("matRippleCentered",!0),v.R7$(2),v.Y8G("for",he.inputId))},dependencies:[x.r6,ye.t],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner
1-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>
1.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return lt})(),$e=(()=>{class lt{static \u0275fac=function(ae){return new(ae||lt)};static \u0275mod=v.$C({type:lt});static \u0275inj=y.G2t({imports:[He.y,Mt.p,Ke,He.y]})}return lt})()},1048(tn,Ye,d){"use strict";d.d(Ye,{E:()=>He});var o=d(2615),s=d(3664),h=d(9842),y=d(4522),v=d(1804),T=d(2496);const M={capture:!0},k=["focus","mousedown","mouseenter","touchstart"],H="mat-ripple-loader-uninitialized",B="mat-ripple-loader-class-name",x="mat-ripple-loader-centered",ye="mat-ripple-loader-disabled";let He=(()=>{class Mt{_document=(0,o.WQX)(o.qQL);_animationsDisabled=(0,v.Rc)();_globalRippleOptions=(0,o.WQX)(T.$E,{optional:!0});_platform=(0,o.WQX)(h.O);_ngZone=(0,o.WQX)(s.SKi);_injector=(0,o.WQX)(o.zZn);_eventCleanups;_hosts=new Map;constructor(){const Qe=(0,o.WQX)(s._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>k.map(Xe=>Qe.listen(this._document,Xe,this._onInteraction,M)))}ngOnDestroy(){const Qe=this._hosts.keys();for(const Xe of Qe)this.destroyRipple(Xe);this._eventCleanups.forEach(Xe=>
vendor: 6,422 bytes, line 1
1Xe())}configureRipple(Qe,Xe){Qe.setAttribute(H,this._globalRippleOptions?.namespace??""),(Xe.className||!Qe.hasAttribute(B))&&Qe.setAttribute(B,Xe.className||""),Xe.centered&&Qe.setAttribute(x,""),Xe.disabled&&Qe.setAttribute(ye,"")}setDisabled(Qe,Xe){const ze=this._hosts.get(Qe);ze?(ze.target.rippleDisabled=Xe,!Xe&&!ze.hasSetUpEvents&&(ze.hasSetUpEvents=!0,ze.renderer.setupTriggerEvents(Qe))):Xe?Qe.setAttribute(ye,""):Qe.removeAttribute(ye)}_onInteraction=Qe=>{const Xe=(0,y.Fb)(Qe);if(Xe instanceof HTMLElement){const ze=Xe.closest(`[${H}="${this._globalRippleOptions?.namespace??""}"]`);ze&&this._createRipple(ze)}};_createRipple(Qe){if(!this._document||this._hosts.has(Qe))return;Qe.querySelector(".mat-ripple")?.remove();const Xe=this._document.createElement("span");Xe.classList.add("mat-ripple",Qe.getAttribute(B)),Qe.append(Xe);const ze=this._globalRippleOptions,Le=this._animationsDisabled?0:ze?.animation?.enterDuration??T.EX.enterDuration,ge=this._animationsDisabled?0:ze?.animation?.exitDuration??T.EX.exitDuration,ue={rippleDisabled:this._animationsDisabled||ze?.disabled||Qe.hasAttribute(ye),rippleConfig:{centered:Qe.hasAttribute(x),terminateOnPointerUp:ze?.terminateOnPointerUp,animation:{enterDuration:Le,exitDuration:ge}}},kt=new T.ug(ue,this._ngZone,Xe,this._platform,this._injector),Je=!ue.rippleDisabled;Je&&kt.setupTriggerEvents(Qe),this._hosts.set(Qe,{target:ue,renderer:kt,hasSetUpEvents:Je}),Qe.removeAttribute(H)}destroyRipple(Qe){const Xe=this._hosts.get(Qe);Xe&&(Xe.renderer._removeTriggerEvents(),this._hosts.delete(Qe))}static \u0275fac=function(Xe){return new(Xe||Mt)};static \u0275prov=o.jDH({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})()},6881(tn,Ye,d){"use strict";d.d(Ye,{p:()=>y});var o=d(2615),s=d(3664),h=d(2466);let y=(()=>{class v{static \u0275fac=function(k){return new(k||v)};static \u0275mod=s.$C({type:v});static \u0275inj=o.G2t({imports:[h.y,h.y]})}return v})()},2496(tn,Ye,d){"use strict";d.d(Ye,{$E:()=>kt,EX:()=>Mt,r6:()=>Je,ug:()=>ge});var o=d(9842),s=d(3300),h=d(4522),y=d(3664),v=d(2615),T=d(5735),M=d(7847),k=d(8968),H=d(1804),B=function(Ke){return Ke[Ke.FADING_IN=0]="FADING_IN",Ke[Ke.VISIBLE=1]="VISIBLE",Ke[Ke.FADING_OUT=2]="FADING_OUT",Ke[Ke.HIDDEN=3]="HIDDEN",Ke}(B||{});class x{_renderer;element;config;_animationForciblyDisabledThroughCss;state=B.HIDDEN;constructor($e,lt,q,de=!1){this._renderer=$e,this.element=lt,this.config=q,this._animationForciblyDisabledThroughCss=de}fadeOut(){this._renderer.fadeOutRipple(this)}}const ye=(0,s.B)({passive:!0,capture:!0});class He{_events=new Map;addHandler($e,lt,q,de){const ae=this._events.get(lt);if(ae){const he=ae.get(q);he?he.add(de):ae.set(q,new Set([de]))}else this._events.set(lt,new Map([[q,new Set([de])]])),$e.runOutsideAngular(()=>{document.addEventListener(lt,this._delegateEventHandler,ye)})}removeHandler($e,lt,q){const de=this._events.get($e);if(!de)return;const ae=de.get(lt);ae&&(ae.delete(q),0===ae.size&&de.delete(lt),0===de.size&&(this._events.delete($e),document.removeEventListener($e,this._delegateEventHandler,ye)))}_delegateEventHandler=$e=>{const lt=(0,h.Fb)($e);lt&&this._events.get($e.type)?.forEach((q,de)=>{(de===lt||de.contains(lt))&&q.forEach(ae=>ae.handleEvent($e))})}}const Mt={enterDuration:225,exitDuration:150},Qe=(0,s.B)({passive:!0,capture:!0}),Xe=["mousedown","touchstart"],ze=["mouseup","mouseleave","touchend","touchcancel"];let Le=(()=>{class Ke{static \u0275fac=function(q){return new(q||Ke)};static \u0275cmp=y.VBU({type:Ke,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(q,de){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return Ke})();class ge{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new He;constructor($e,lt,q,de,ae){this._target=$e,this._ngZone=lt,this._platform=de,de.isBrowser&&(this._containerElement=(0,M.i8)(q)),ae&&ae.get(k.l).load(Le)}fadeInRipple($e,lt,q={}){const de=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ae={...Mt,...q.animation};q.centered&&($e=de.left+de.width/2,lt=de.top+de.height/2);const he=q.radius||function ue(Ke,$e,lt){const q=Math.max(Math.abs(Ke-lt.left),Math.abs(Ke-lt.right)),de=Math.max(Math.abs($e-lt.top),Math.abs($e-lt.bottom));return Math.sqrt(q*q+de*de)}($e,lt,de),Ne=$e-de.left,ve=lt-de.top,at=ae.enterDuration,Ut=document.createElement("div");Ut.classList.add("mat-ripple-element"),Ut.style.left=Ne-he+"px",Ut.style.top=ve-he+"px",Ut.style.height=2*he+"px",Ut.style.width=2*he+"px",null!=q.color&&(Ut.style.backgroundColor=q.color),Ut.style.transitionDuration=`${at}ms`,this._containerElement.appendChild(Ut);const nt=window.getComputedStyle(Ut),hn=nt.transitionDuration,qt="none"===nt.transitionProperty||"0s"===hn||"0s, 0s"===hn||0===de.width&&0===de.height,Te=new x(this,Ut,q,qt);Ut.style.transform="scale3d(1, 1, 1)",Te.state=B.FADING_IN,q.persistent||(this._mostRecentTransientRipple=Te);let Pe=null;return!qt&&(at||ae.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const yt=()=>{Pe&&(Pe.fallbackTimer=null),clearTimeout(Ie),this._finishRippleTransition(Te)},wt=()=>this._destroyRipple(Te),Ie=setTimeout(wt,at+100);Ut.addEventListener("transitionend",yt),Ut.addEventListener("transitioncancel",wt),Pe={onTransitionEnd:yt,onTransitionCancel:wt,fallbackTimer:Ie}}),this._activeRipples.set(Te,Pe),(qt||!at)&&this._finishRippleTransition(Te),Te}fadeOutRipple($e){if($e.state===B.FADING_OUT||$e.state===B.HIDDEN)return;const lt=$e.element,q={...Mt,...$e.config.animation};lt.style.transitionDuration=`${q.exitDuration}ms`,lt.style.opacity="0",$e.state=B.FADING_OUT,($e._animationForciblyDisabledThroughCss||!q.exitDuration)&&this._finishRippleTransition($e)}
1fadeOutAll(){this._getActiveRipples().forEach($e=>$e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach($e=>{$e.config.persistent||$e.fadeOut()})}setupTriggerEvents($e){const lt=(0,M.i8)($e);!this._platform.isBrowser||!lt||lt===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=lt,Xe.forEach(q=>{ge._eventManager.addHandler(this._ngZone,q,lt,this)}))}handleEvent($e){"mousedown"===$e.type?this._onMousedown($e):"touchstart"===$e.type?this._onTouchStart($e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ze.forEach(lt=>{this._triggerElement.addEventListener(lt,this,Qe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition($e){$e.state===B.FADING_IN?this._startFadeOutTransition($e):$e.state===B.FADING_OUT&&this._destroyRipple($e)}_startFadeOutTransition($e){const lt=$e===this._mostRecentTransientRipple,{persistent:q}=$e.config;$e.state=B.VISIBLE,!q&&(!lt||!this._isPointerDown)&&$e.fadeOut()}_destroyRipple($e){const lt=this._activeRipples.get($e)??null;this._activeRipples.delete($e),this._activeRipples.size||(this._containerRect=null),$e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),$e.state=B.HIDDEN,null!==lt&&($e.element.removeEventListener("transitionend",lt.onTransitionEnd),$e.element.removeEventListener("transitioncancel",lt.onTransitionCancel),null!==lt.fallbackTimer&&clearTimeout(lt.fallbackTimer)),$e.element.remove()}_onMousedown($e){const lt=(0,T._)($e),q=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!lt&&!q&&(this._isPointerDown=!0,this.fadeInRipple($e.clientX,$e.clientY,this._target.rippleConfig))}_onTouchStart($e){if(!this._target.rippleDisabled&&!(0,T.w)($e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const lt=$e.changedTouches;if(lt)for(let q=0;q<lt.length;q++)this.fadeInRipple(lt[q].clientX,lt[q].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach($e=>{!$e.config.persistent&&($e.state===B.VISIBLE||$e.config.terminateOnPointerUp&&$e.state===B.FADING_IN)&&$e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const $e=this._triggerElement;$e&&(Xe.forEach(lt=>ge._eventManager.removeHandler(lt,$e,this)),this._pointerUpEventsRegistered&&(ze.forEach(lt=>$e.removeEventListener(lt,this,Qe)),this._pointerUpEventsRegistered=!1))}}const kt=new v.nKC("mat-ripple-global-options");let Je=(()=>{class Ke{_elementRef=(0,v.WQX)(y.aKT);_animationsDisabled=(0,H.Rc)();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(lt){lt&&this.fadeOutAllNonPersistent(),this._disabled=lt,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(lt){this._trigger=lt,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const lt=(0,v.WQX)(y.SKi),q=(0,v.WQX)(o.O),de=(0,v.WQX)(kt,{optional:!0}),ae=(0,v.WQX)(v.zZn);this._globalOptions=de||{},this._rippleRenderer=new ge(this,lt,this._elementRef,q,ae)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{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(lt,q=0,de){return"number"==typeof lt?this._rippleRenderer.fadeInRipple(lt,q,{...this.rippleConfig,...de}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...lt})}static \u0275fac=function(q){return new(q||Ke)};static \u0275dir=y.FsC({type:Ke,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(q,de){2&q&&y.AVh("mat-ripple-unbounded",de.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return Ke})()},2864(tn,Ye,d){"use strict";d.d(Ye,{VO:()=>ti,Ve:()=>mr});var o=d(9338),s=d(3664),h=d(2615),y=d(7705),v=d(5478),T=d(9726),M=d(7094),k=d(4339),H=d(2593);class B extends H.l{setActiveItem(Oi){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Oi),this.activeItem&&this.activeItem.setActiveStyles()}}var x=d(1577),ye=d(3869),He=d(438),Mt=d(7336),Ge=d(9417),Qe=d(1413),Xe=d(9030),ze=d(7786),Le=d(9172),ge=d(5558),ue=d(5964),kt=d(6354),Je=d(6977),Ke=d(6697),$e=d(2200),lt=d(4727),q=d(1804),de=
1d(3029),ae=d(2709),he=d(9336),Ne=d(146),ve=d(2466),at=d(1228);const nt=["trigger"],cn=["panel"],hn=[[["mat-select-trigger"]],"*"],qt=["mat-select-trigger","*"];function Te(Bn,Oi){if(1&Bn&&(s.j41(0,"span",4),s.EFF(1),s.k0s()),2&Bn){const dn=s.XpG();s.R7$(),s.JRh(dn.placeholder)}}function Pe(Bn,Oi){1&Bn&&s.SdG(0)}function yt(Bn,Oi){if(1&Bn&&(s.j41(0,"span",11),s.EFF(1),s.k0s()),2&Bn){const dn=s.XpG(2);s.R7$(),s.JRh(dn.triggerValue)}}function wt(Bn,Oi){if(1&Bn&&(s.j41(0,"span",5),s.nVh(1,Pe,1,0)(2,yt,2,1,"span",11),s.k0s()),2&Bn){const dn=s.XpG();s.R7$(),s.vxM(dn.customTrigger?1:2)}}function Ie(Bn,Oi){if(1&Bn){const dn=s.RV6();s.j41(0,"div",12,1),s.bIt("keydown",function(Yn){h.eBV(dn);const _=s.XpG();return h.Njj(_._handleKeydown(Yn))}),s.SdG(2,1),s.k0s()}if(2&Bn){const dn=s.XpG();s.HbH(s.VkB("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",dn._getPanelTheme())),s.AVh("mat-select-panel-animations-enabled",!dn._animationsDisabled),s.Y8G("ngClass",dn.panelClass),s.BMQ("id",dn.id+"-panel")("aria-multiselectable",dn.multiple)("aria-label",dn.ariaLabel||null)("aria-labelledby",dn._getPanelAriaLabelledby())}}const Ze=new h.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const Bn=(0,h.WQX)(h.zZn);return()=>(0,o.RH)(Bn)}}),Ot=new h.nKC("MAT_SELECT_CONFIG"),Me={provide:Ze,deps:[],useFactory:function We(Bn){const Oi=(0,h.WQX)(h.zZn);return()=>(0,o.RH)(Oi)}},It=new h.nKC("MatSelectTrigger");class Zt{source;value;constructor(Oi,dn){this.source=Oi,this.value=dn}}let ti=(()=>{class Bn{_viewportRuler=(0,h.WQX)(v.Xj);_changeDetectorRef=(0,h.WQX)(y.gRc);_elementRef=(0,h.WQX)(s.aKT);_dir=(0,h.WQX)(x.dS,{optional:!0});_idGenerator=(0,h.WQX)(T.g);_renderer=(0,h.WQX)(s.sFG);_parentFormField=(0,h.WQX)(lt.xb,{optional:!0});ngControl=(0,h.WQX)(Ge.vO,{self:!0,optional:!0});_liveAnnouncer=(0,h.WQX)(M.Ai);_defaultOptions=(0,h.WQX)(Ot,{optional:!0});_animationsDisabled=(0,q.Rc)();_initialized=new Qe.B;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(dn){const Tn=this.options.toArray()[dn];if(Tn){const Yn=this.panel.nativeElement,_=(0,de.jb)(dn,this.options,this.optionGroups),Qn=Tn._getHostElement();Yn.scrollTop=0===dn&&1===_?0:(0,de.TL)(Qn.offsetTop,Qn.offsetHeight,Yn.scrollTop,Yn.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(dn){return new Zt(this,dn)}_scrollStrategyFactory=(0,h.WQX)(Ze);_panelOpen=!1;_compareWith=(dn,Tn)=>dn===Tn;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new Qe.B;_errorStateTracker;stateChanges=new Qe.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(dn){this._disableRipple.set(dn)}_disableRipple=(0,h.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(dn){this._hideSingleSelectionIndicator=dn,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(dn){this._placeholder=dn,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Ge.k0.required)??!1}set required(dn){this._required=dn,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(dn){this._multiple=dn}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(dn){this._compareWith=dn,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(dn){this._assignValue(dn)&&this._onChange(dn)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(dn){this._errorStateTracker.matcher=dn}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(dn){this._id=dn||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(dn){this._errorStateTracker.errorState=dn}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,Xe.v)(()=>{const dn=this.options;return dn?dn.changes.pipe((0,Le.Z)(dn),(0,ge.n)(()=>(0,ze.h)(...dn.map(Tn=>Tn.onSelectionChange)))):this._initialized.pipe((0,ge.n)(()=>this.optionSelectionChanges))});openedChange=new s.bkB;
1_openedStream=this.openedChange.pipe((0,ue.p)(dn=>dn),(0,kt.T)(()=>{}));_closedStream=this.openedChange.pipe((0,ue.p)(dn=>!dn),(0,kt.T)(()=>{}));selectionChange=new s.bkB;valueChange=new s.bkB;constructor(){const dn=(0,h.WQX)(ae.e),Tn=(0,h.WQX)(Ge.cV,{optional:!0}),Yn=(0,h.WQX)(Ge.j4,{optional:!0}),_=(0,h.WQX)(new y.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new he.X(dn,this.ngControl,Yn,Tn,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==_?0:parseInt(_)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ye.C(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,Je.Q)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe((0,Je.Q)(this._destroy)).subscribe(dn=>{dn.added.forEach(Tn=>Tn.select()),dn.removed.forEach(Tn=>Tn.deselect())}),this.options.changes.pipe((0,Le.Z)(null),(0,Je.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const dn=this._getTriggerAriaLabelledby(),Tn=this.ngControl;if(dn!==this._triggerAriaLabelledBy){const Yn=this._elementRef.nativeElement;this._triggerAriaLabelledBy=dn,dn?Yn.setAttribute("aria-labelledby",dn):Yn.removeAttribute("aria-labelledby")}Tn&&(this._previousControl!==Tn.control&&(void 0!==this._previousControl&&null!==Tn.disabled&&Tn.disabled!==this.disabled&&(this.disabled=Tn.disabled),this._previousControl=Tn.control),this.updateErrorState())}ngOnChanges(dn){(dn.disabled||dn.userAriaDescribedBy)&&this.stateChanges.next(),dn.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,Ke.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const dn=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!dn)return;const Tn=`${this.id}-panel`;this._trackedModal&&(0,k.Ae)(this._trackedModal,"aria-owns",Tn),(0,k.px)(dn,"aria-owns",Tn),this._trackedModal=dn}_clearFromModal(){this._trackedModal&&((0,k.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{Tn(),clearTimeout(Yn),this._cleanupDetach=void 0};const dn=this.panel.nativeElement,Tn=this._renderer.listen(dn,"animationend",_=>{"_mat-select-exit"===_.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),Yn=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);dn.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(dn){this._assignValue(dn)}registerOnChange(dn){this._onChange=dn}registerOnTouched(dn){this._onTouched=dn}setDisabledState(dn){this.disabled=dn,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const dn=this._selectionModel.selected.map(Tn=>Tn.viewValue);return this._isRtl()&&dn.reverse(),dn.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(dn){this.disabled||(this.panelOpen?this._handleOpenKeydown(dn):this._handleClosedKeydown(dn))}_handleClosedKeydown(dn){const Tn=dn.keyCode,Yn=Tn===He.n6||Tn===He.i7||Tn===He.UQ||Tn===He.LE,_=Tn===He.Fm||Tn===He.t6,Qn=this._keyManager;if(!Qn.isTyping()&&_&&!(0,Mt.rp)(dn)||(this.multiple||dn.altKey)&&Yn)dn.preventDefault(),this.open();else if(!this.multiple){const di=this.selected;Qn.onKeydown(dn);const ai=this.selected;ai&&di!==ai&&this._liveAnnouncer.announce(ai.viewValue,1e4)}}_handleOpenKeydown(dn){const Tn=this._keyManager,Yn=dn.keyCode,_=Yn===He.n6||Yn===He.i7,Qn=Tn.isTyping();if(_&&dn.altKey)dn.preventDefault(),this.close();else if(Qn||Yn!==He.Fm&&Yn!==He.t6||!Tn.activeItem||(0,Mt.rp)(dn))if(!Qn&&this._multiple&&Yn===He.A&&dn.ctrlKey){dn.preventDefault();const di=this.options.some(ai=>!ai.disabled&&!ai.selected);this.options.forEach(ai=>{ai.disabled||(di?ai.select():ai.deselect())})}else{const di=Tn.activeItemIndex;Tn.onKeydown(dn),this._multiple&&_&&dn.shiftKey&&Tn.activeItem&&Tn.activeItemIndex!==di&&Tn.activeItem._selectViaInteraction()}else dn.preventDefault(),Tn.activeItem._selectViaInteraction()}_handleOverlayKeydown(dn){dn.keyCode===He._f&&!(0,Mt.rp)(dn)&&(dn.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}
1_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(dn){if(this.options.forEach(Tn=>Tn.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&dn)Array.isArray(dn),dn.forEach(Tn=>this._selectOptionByValue(Tn)),this._sortValues();else{const Tn=this._selectOptionByValue(dn);Tn?this._keyManager.updateActiveItem(Tn):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(dn){const Tn=this.options.find(Yn=>{if(this._selectionModel.isSelected(Yn))return!1;try{return(null!=Yn.value||this.canSelectNullableOptions)&&this._compareWith(Yn.value,dn)}catch{return!1}});return Tn&&this._selectionModel.select(Tn),Tn}_assignValue(dn){return!!(dn!==this._value||this._multiple&&Array.isArray(dn))&&(this.options&&this._setSelectionByValue(dn),this._value=dn,!0)}_skipPredicate=dn=>!this.panelOpen&&dn.disabled;_getOverlayWidth(dn){return"auto"===this.panelWidth?(dn instanceof o.$Q?dn.elementRef:dn||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const dn of this.options)dn._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new B(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const dn=(0,ze.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Je.Q)(dn)).subscribe(Tn=>{this._onSelect(Tn.source,Tn.isUserInput),Tn.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,ze.h)(...this.options.map(Tn=>Tn._stateChanges)).pipe((0,Je.Q)(dn)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(dn,Tn){const Yn=this._selectionModel.isSelected(dn);this.canSelectNullableOptions||null!=dn.value||this._multiple?(Yn!==dn.selected&&(dn.selected?this._selectionModel.select(dn):this._selectionModel.deselect(dn)),Tn&&this._keyManager.setActiveItem(dn),this.multiple&&(this._sortValues(),Tn&&this.focus())):(dn.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(dn.value)),Yn!==this._selectionModel.isSelected(dn)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const dn=this.options.toArray();this._selectionModel.sort((Tn,Yn)=>this.sortComparator?this.sortComparator(Tn,Yn,dn):dn.indexOf(Tn)-dn.indexOf(Yn)),this.stateChanges.next()}}_propagateChanges(dn){let Tn;Tn=this.multiple?this.selected.map(Yn=>Yn.value):this.selected?this.selected.value:dn,this._value=Tn,this.valueChange.emit(Tn),this._onChange(Tn),this.selectionChange.emit(this._getChangeEvent(Tn)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let dn=-1;for(let Tn=0;Tn<this.options.length;Tn++)if(!this.options.get(Tn).disabled){dn=Tn;break}this._keyManager.setActiveItem(dn)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(dn){this._elementRef.nativeElement.focus(dn)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const dn=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(dn?dn+" ":"")+this.ariaLabelledby:dn}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let dn=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(dn+=" "+this.ariaLabelledby),dn||(dn=this._valueId),dn}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(dn){dn.length?this._elementRef.nativeElement.setAttribute("aria-describedby",dn.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(Tn){return new(Tn||Bn)};static \u0275cmp=s.VBU({type:Bn,selectors:[["mat-select"]],contentQueries:function(Tn,Yn,_){if(1&Tn&&(s.wni(_,It,5),s.wni(_,de.wT,5),s.wni(_,de.QC,5)),2&Tn){let Qn;s.mGM(Qn=s.lsd())&&(Yn.customTrigger=Qn.first),s.mGM(Qn=s.lsd())&&(Yn.options=Qn),s.mGM(Qn=s.lsd())&&(Yn.optionGroups=Qn)}},viewQuery:function(Tn,Yn){if(1&Tn&&(s.GBs(nt,5),s.GBs(cn,5),s.GBs(o.WB,5)),2&Tn){let _;s.mGM(_=s.lsd())&&(Yn.trigger=_.first),s.mGM(_=s.lsd())&&(Yn.panel=_.first),s.mGM(_=s.lsd())&&(Yn._overlayDir=_.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(Tn,Yn){1&Tn&&s.bIt("keydown",function(Qn){return Yn._handleKeydown(Qn)})("focus",function(){return Yn._onFocus()})("blur",function(){return Yn._onBlur()}),2&Tn&&(s.BMQ("id",Yn.id)("tabindex",Yn.disabled?-1:Yn.tabIndex)("aria-controls",Yn.panelOpen?Yn.id+"-panel":null)("aria-expanded",Yn.panelOpen)("aria-label",Yn.ariaLabel||null)("aria-required",Yn.required.toString())("aria-disabled",Yn.disabled.toString())("aria-invalid",Yn.errorState)("aria-activedescendant",Yn._getAriaActiveDescendant()),s.AVh("mat-mdc-select-disabled",Yn.disabled)("mat-mdc-select-invalid",Yn.errorState)("mat-mdc-select-required",Yn.required)("mat-mdc-select-empty",Yn.empty)("mat-mdc-select-multiple",Yn.multiple)("mat-select-open",Yn.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",y.L39],disableRipple:[2,"disableRipple","disableRipple",y.L39],tabIndex:[2,"tabIndex","tabIndex",dn=>null==dn?0:(0,y.Udg)(dn)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",y.L39],placeholder:"placeholder",required:[2,"required","required",y.L39],multiple:[2,"multiple","multiple",y.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",y.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",y.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",y.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[s.Jv_([{provide:lt.qT,useExisting:Bn},{provide:de.is,useExisting:Bn}]),s.OA$],ngContentSelectors:qt,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(Tn,Yn){if(1&Tn){const _=s.RV6();s.NAR(hn),s.j41(0,"div",2,0),s.bIt("click",function(){return h.eBV(_),h.Njj(Yn.open())}),s.j41(3,"div",3),s.nVh(4,Te,2,1,"span",4)(5,wt,3,1,"span",5),s.k0s(),s.j41(6,"div",6)(7,"div",7),h.qSk(),s.j41(8,"svg",8),s.nrm(9,"path",9),s.k0s()()()(),s.DNE(10,Ie,3,10,"ng-template",10),s.bIt("detach",function(){return h.eBV(_),h.Njj(Yn.close())})("backdropClick",function(){return h.eBV(_),h.Njj(Yn.close())})("overlayKeydown",function(di){return h.eBV(_),h.Njj(Yn._handleOverlayKeydown(di))})}if(2&Tn){const _=s.sdS(1);s.R7$(3),s.BMQ("id",Yn._valueId),s.R7$(),s.vxM(Yn.empty?4:5),s.R7$(6),s.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",Yn._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Yn._scrollStrategy)("cdkConnectedOverlayOrigin",Yn._preferredOverlayOrigin||_)("cdkConnectedOverlayPositions",Yn._positions)("cdkConnectedOverlayWidth",Yn._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[o.$Q,o.WB,$e.YU],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}
1}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return Bn})(),mr=(()=>{class Bn{static \u0275fac=function(Tn){return new(Tn||Bn)};static \u0275mod=s.$C({type:Bn});static \u0275inj=h.G2t({providers:[Me],imports:[o.z_,Ne.S,ve.y,v.Gj,at.R,Ne.S,ve.y]})}return Bn})()},882(tn,Ye,d){"use strict";d.d(Ye,{El:()=>Ie,LG:()=>ie,US:()=>je,vg:()=>rt});var o=d(6838),s=d(7094),h=d(1577),y=d(4085),v=d(7847),T=d(7336),M=d(438),k=d(9842),H=d(5478),B=d(2615),x=d(3664),ye=d(7705),He=d(1413),Mt=d(3726),Ge=d(7786),Qe=d(152),Xe=d(5964),ze=d(6354),Le=d(3703),ge=d(9172),ue=d(6697),kt=d(6977),Je=d(1804),Ke=d(2466);const $e=["*"],lt=["content"],q=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],de=["mat-drawer","mat-drawer-content","*"];function ae(We,Ot){if(1&We){const Me=x.RV6();x.j41(0,"div",1),x.bIt("click",function(){B.eBV(Me);const Zt=x.XpG();return B.Njj(Zt._onBackdropClicked())}),x.k0s()}if(2&We){const Me=x.XpG();x.AVh("mat-drawer-shown",Me._isShowingBackdrop())}}function he(We,Ot){1&We&&(x.j41(0,"mat-drawer-content"),x.SdG(1,2),x.k0s())}const Ne=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],ve=["mat-sidenav","mat-sidenav-content","*"];function at(We,Ot){if(1&We){const Me=x.RV6();x.j41(0,"div",1),x.bIt("click",function(){B.eBV(Me);const Zt=x.XpG();return B.Njj(Zt._onBackdropClicked())}),x.k0s()}if(2&We){const Me=x.XpG();x.AVh("mat-drawer-shown",Me._isShowingBackdrop())}}function Ut(We,Ot){1&We&&(x.j41(0,"mat-sidenav-content"),x.SdG(1,2),x.k0s())}const hn=new B.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Te(){return!1}}),qt=new B.nKC("MAT_DRAWER_CONTAINER");let Pe=(()=>{class We extends H.uv{_platform=(0,B.WQX)(k.O);_changeDetectorRef=(0,B.WQX)(ye.gRc);_container=(0,B.WQX)(wt);constructor(){super((0,B.WQX)(x.aKT),(0,B.WQX)(H.R),(0,B.WQX)(x.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:Me,end:It}=this._container;return null!=Me&&"over"!==Me.mode&&Me.opened||null!=It&&"over"!==It.mode&&It.opened}static \u0275fac=function(It){return new(It||We)};static \u0275cmp=x.VBU({type:We,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(It,Zt){2&It&&(x.xc7("margin-left",Zt._container._contentMargins.left,"px")("margin-right",Zt._container._contentMargins.right,"px"),x.AVh("mat-drawer-content-hidden",Zt._shouldBeHidden()))},features:[x.Jv_([{provide:H.uv,useExisting:We}]),x.Vt3],ngContentSelectors:$e,decls:1,vars:0,template:function(It,Zt){1&It&&(x.NAR(),x.SdG(0))},encapsulation:2,changeDetection:0})}return We})(),yt=(()=>{class We{_elementRef=(0,B.WQX)(x.aKT);_focusTrapFactory=(0,B.WQX)(s.GX);_focusMonitor=(0,B.WQX)(o.FN);_platform=(0,B.WQX)(k.O);_ngZone=(0,B.WQX)(x.SKi);_renderer=(0,B.WQX)(x.sFG);_interactivityChecker=(0,B.WQX)(s.Z7);_doc=(0,B.WQX)(B.qQL);_container=(0,B.WQX)(qt,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(Me){(Me="end"===Me?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Me),this._position=Me,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(Me){this._mode=Me,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(Me){this._disableClose=(0,y.he)(Me)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Me){("true"===Me||"false"===Me||null==Me)&&(Me=(0,y.he)(Me)),this._autoFocus=Me}
1_autoFocus;get opened(){return this._opened()}set opened(Me){this.toggle((0,y.he)(Me))}_opened=(0,B.vPA)(!1);_openedVia;_animationStarted=new He.B;_animationEnd=new He.B;openedChange=new x.bkB(!0);_openedStream=this.openedChange.pipe((0,Xe.p)(Me=>Me),(0,ze.T)(()=>{}));openedStart=this._animationStarted.pipe((0,Xe.p)(()=>this.opened),(0,Le.u)(void 0));_closedStream=this.openedChange.pipe((0,Xe.p)(Me=>!Me),(0,ze.T)(()=>{}));closedStart=this._animationStarted.pipe((0,Xe.p)(()=>!this.opened),(0,Le.u)(void 0));_destroyed=new He.B;onPositionChanged=new x.bkB;_content;_modeChanged=new He.B;_injector=(0,B.WQX)(B.zZn);_changeDetectorRef=(0,B.WQX)(ye.gRc);constructor(){this.openedChange.pipe((0,kt.Q)(this._destroyed)).subscribe(Me=>{Me?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{const Me=this._elementRef.nativeElement;(0,Mt.R)(Me,"keydown").pipe((0,Xe.p)(It=>It.keyCode===M._f&&!this.disableClose&&!(0,T.rp)(It)),(0,kt.Q)(this._destroyed)).subscribe(It=>this._ngZone.run(()=>{this.close(),It.stopPropagation(),It.preventDefault()})),this._eventCleanups=[this._renderer.listen(Me,"transitionrun",this._handleTransitionEvent),this._renderer.listen(Me,"transitionend",this._handleTransitionEvent),this._renderer.listen(Me,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(Me,It){this._interactivityChecker.isFocusable(Me)||(Me.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Zt=()=>{ti(),Wn(),Me.removeAttribute("tabindex")},ti=this._renderer.listen(Me,"blur",Zt),Wn=this._renderer.listen(Me,"mousedown",Zt)})),Me.focus(It)}_focusByCssSelector(Me,It){let Zt=this._elementRef.nativeElement.querySelector(Me);Zt&&this._forceFocus(Zt,It)}_takeFocus(){if(!this._focusTrap)return;const Me=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,x.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof Me.focus&&Me.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(Me){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Me):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Me=this._doc.activeElement;return!!Me&&this._elementRef.nativeElement.contains(Me)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(Me=>Me()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(Me){return this.toggle(!0,Me)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Me=!this.opened,It){Me&&It&&(this._openedVia=It);const Zt=this._setOpen(Me,!Me&&this._isFocusWithinDrawer(),this._openedVia||"program");return Me||(this._openedVia=null),Zt}_setOpen(Me,It,Zt){return Me===this.opened?Promise.resolve(Me?"open":"close"):(this._opened.set(Me),this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",Me),!Me&&It&&this._restoreFocus(Zt),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(ti=>{this.openedChange.pipe((0,ue.s)(1)).subscribe(Wn=>ti(Wn?"open":"close"))}))}_setIsAnimating(Me){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",Me)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(Me){if(!this._platform.isBrowser)return;const It=this._elementRef.nativeElement,Zt=It.parentNode;"end"===Me?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Zt.insertBefore(this._anchor,It)),Zt.appendChild(It)):this._anchor&&this._anchor.parentNode.insertBefore(It,this._anchor)}_handleTransitionEvent=Me=>{Me.target===this._elementRef.nativeElement&&this._ngZone.run(()=>{"transitionrun"===Me.type?this._animationStarted.next(Me):("transitionend"===Me.type&&this._setIsAnimating(!1),this._animationEnd.next(Me))})};static \u0275fac=function(It){return new(It||We)};static \u0275cmp=x.VBU({type:We,selectors:[["mat-drawer"]],viewQuery:function(It,Zt){if(1&It&&x.GBs(lt,5),2&It){let ti;x.mGM(ti=x.lsd())&&(Zt._content=ti.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(It,Zt){2&It&&(x.BMQ("align",null)("tabIndex","side"!==Zt.mode?"-1":null),x.xc7("visibility",Zt._container||Zt.opened?null:"hidden"),x.AVh("mat-drawer-end","end"===Zt.position)("mat-drawer-over","over"===Zt.mode)("mat-drawer-push","push"===Zt.mode)("mat-drawer-side","side"===Zt.mode))},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:$e,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(It,Zt){1&It&&(x.NAR(),x.j41(0,"div",1,0),x.SdG(2),x.k0s())},dependencies:[H.uv],encapsulation:2,changeDetection:0})}return We})(),wt=(()=>{class We{_dir=(0,B.WQX)(h.dS,{optional:!0});_element=(0,B.WQX)(x.aKT);_ngZone=(0,B.WQX)(x.SKi);_changeDetectorRef=(0,B.WQX)(ye.gRc);_animationDisabled=(0,Je.Rc)();_transitionsEnabled=!1;_allDrawers;_drawers=new x.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Me){this._autosize=(0,y.he)(Me)}_autosize=(0,B.WQX)(hn);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(Me){this._backdropOverride=null==Me?null:(0,y.he)(Me)}_backdropOverride;backdropClick=new x.bkB;_start;_end;_left;_right;_destroyed=new He.B;
1_doCheckSubject=new He.B;_contentMargins={left:null,right:null};_contentMarginChanges=new He.B;get scrollable(){return this._userContent||this._content}_injector=(0,B.WQX)(B.zZn);constructor(){const Me=(0,B.WQX)(k.O),It=(0,B.WQX)(H.Xj);this._dir?.change.pipe((0,kt.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),It.change().pipe((0,kt.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&Me.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ge.Z)(this._allDrawers),(0,kt.Q)(this._destroyed)).subscribe(Me=>{this._drawers.reset(Me.filter(It=>!It._container||It._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ge.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Me=>{this._watchDrawerToggle(Me),this._watchDrawerPosition(Me),this._watchDrawerMode(Me)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Qe.B)(10),(0,kt.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(Me=>Me.open())}close(){this._drawers.forEach(Me=>Me.close())}updateContentMargins(){let Me=0,It=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Me+=this._left._getWidth();else if("push"==this._left.mode){const Zt=this._left._getWidth();Me+=Zt,It-=Zt}if(this._right&&this._right.opened)if("side"==this._right.mode)It+=this._right._getWidth();else if("push"==this._right.mode){const Zt=this._right._getWidth();It+=Zt,Me-=Zt}Me=Me||null,It=It||null,(Me!==this._contentMargins.left||It!==this._contentMargins.right)&&(this._contentMargins={left:Me,right:It},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Me){Me._animationStarted.pipe((0,kt.Q)(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Me.mode&&Me.openedChange.pipe((0,kt.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Me.opened))}_watchDrawerPosition(Me){Me.onPositionChanged.pipe((0,kt.Q)(this._drawers.changes)).subscribe(()=>{(0,x.mal)({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(Me){Me._modeChanged.pipe((0,kt.Q)((0,Ge.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Me){const It=this._element.nativeElement.classList,Zt="mat-drawer-container-has-open";Me?It.add(Zt):It.remove(Zt)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Me=>{"end"==Me.position?this._end=Me:this._start=Me}),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(Me=>Me&&!Me.disableClose&&this._drawerHasBackdrop(Me)).forEach(Me=>Me._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(Me){return null!=Me&&Me.opened}_drawerHasBackdrop(Me){return null==this._backdropOverride?!!Me&&"side"!==Me.mode:this._backdropOverride}static \u0275fac=function(It){return new(It||We)};static \u0275cmp=x.VBU({type:We,selectors:[["mat-drawer-container"]],contentQueries:function(It,Zt,ti){if(1&It&&(x.wni(ti,Pe,5),x.wni(ti,yt,5)),2&It){let Wn;x.mGM(Wn=x.lsd())&&(Zt._content=Wn.first),x.mGM(Wn=x.lsd())&&(Zt._allDrawers=Wn)}},viewQuery:function(It,Zt){if(1&It&&x.GBs(Pe,5),2&It){let ti;x.mGM(ti=x.lsd())&&(Zt._userContent=ti.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(It,Zt){2&It&&x.AVh("mat-drawer-container-explicit-backdrop",Zt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[x.Jv_([{provide:qt,useExisting:We}])],ngContentSelectors:de,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(It,Zt){1&It&&(x.NAR(q),x.nVh(0,ae,1,2,"div",0),x.SdG(1),x.SdG(2,1),x.nVh(3,he,2,0,"mat-drawer-content")),2&It&&(x.vxM(Zt.hasBackdrop?0:-1),x.R7$(3),x.vxM(Zt._content?-1:3))},dependencies:[Pe],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.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}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}
1.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);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)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return We})(),Ie=(()=>{class We extends Pe{static \u0275fac=(()=>{let Me;return function(Zt){return(Me||(Me=x.xGo(We)))(Zt||We)}})();static \u0275cmp=x.VBU({type:We,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[x.Jv_([{provide:H.uv,useExisting:We}]),x.Vt3],ngContentSelectors:$e,decls:1,vars:0,template:function(It,Zt){1&It&&(x.NAR(),x.SdG(0))},encapsulation:2,changeDetection:0})}return We})(),ie=(()=>{class We extends yt{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(Me){this._fixedInViewport=(0,y.he)(Me)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(Me){this._fixedTopGap=(0,v.OE)(Me)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(Me){this._fixedBottomGap=(0,v.OE)(Me)}_fixedBottomGap=0;static \u0275fac=(()=>{let Me;return function(Zt){return(Me||(Me=x.xGo(We)))(Zt||We)}})();static \u0275cmp=x.VBU({type:We,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(It,Zt){2&It&&(x.BMQ("tabIndex","side"!==Zt.mode?"-1":null)("align",null),x.xc7("top",Zt.fixedInViewport?Zt.fixedTopGap:null,"px")("bottom",Zt.fixedInViewport?Zt.fixedBottomGap:null,"px"),x.AVh("mat-drawer-end","end"===Zt.position)("mat-drawer-over","over"===Zt.mode)("mat-drawer-push","push"===Zt.mode)("mat-drawer-side","side"===Zt.mode)("mat-sidenav-fixed",Zt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[x.Jv_([{provide:yt,useExisting:We}]),x.Vt3],ngContentSelectors:$e,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(It,Zt){1&It&&(x.NAR(),x.j41(0,"div",1,0),x.SdG(2),x.k0s())},dependencies:[H.uv],encapsulation:2,changeDetection:0})}return We})(),je=(()=>{class We extends wt{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let Me;return function(Zt){return(Me||(Me=x.xGo(We)))(Zt||We)}})();static \u0275cmp=x.VBU({type:We,selectors:[["mat-sidenav-container"]],contentQueries:function(It,Zt,ti){if(1&It&&(x.wni(ti,Ie,5),x.wni(ti,ie,5)),2&It){let Wn;x.mGM(Wn=x.lsd())&&(Zt._content=Wn.first),x.mGM(Wn=x.lsd())&&(Zt._allDrawers=Wn)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(It,Zt){2&It&&x.AVh("mat-drawer-container-explicit-backdrop",Zt._backdropOverride)},exportAs:["matSidenavContainer"],features:[x.Jv_([{provide:qt,useExisting:We},{provide:wt,useExisting:We}]),x.Vt3],ngContentSelectors:ve,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(It,Zt){1&It&&(x.NAR(Ne),x.nVh(0,at,1,2,"div",0),x.SdG(1),x.SdG(2,1),x.nVh(3,Ut,2,0,"mat-sidenav-content")),2&It&&(x.vxM(Zt.hasBackdrop?0:-1),x.R7$(3),x.vxM(Zt._content?-1:3))},dependencies:[Ie],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.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}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}
1.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);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)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return We})(),rt=(()=>{class We{static \u0275fac=function(It){return new(It||We)};static \u0275mod=x.$C({type:We});static \u0275inj=B.G2t({imports:[Ke.y,H.Gj,H.Gj,Ke.y]})}return We})()},450(tn,Ye,d){"use strict";d.d(Ye,{mV:()=>Le,sG:()=>ze});var o=d(2615),s=d(3664),h=d(7705),y=d(9417),v=d(6838),T=d(9726),M=d(8968),k=d(1804),H=d(2046),B=d(2496),x=d(3155),ye=d(2466);const He=["switch"],Mt=["*"];function Ge(ge,ue){1&ge&&(s.j41(0,"span",11),o.qSk(),s.j41(1,"svg",13),s.nrm(2,"path",14),s.k0s(),s.j41(3,"svg",15),s.nrm(4,"path",16),s.k0s()())}const Qe=new o.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})});class Xe{source;checked;constructor(ue,kt){this.source=ue,this.checked=kt}}let ze=(()=>{class ge{_elementRef=(0,o.WQX)(s.aKT);_focusMonitor=(0,o.WQX)(v.FN);_changeDetectorRef=(0,o.WQX)(h.gRc);defaults=(0,o.WQX)(Qe);_onChange=kt=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(kt){return new Xe(this,kt)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=(0,k.Rc)();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(kt){this._checked=kt,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new s.bkB;toggleChange=new s.bkB;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){(0,o.WQX)(M.l).load(H.A);const kt=(0,o.WQX)(new h.ES_("tabindex"),{optional:!0}),Je=this.defaults;this.tabIndex=null==kt?0:parseInt(kt)||0,this.color=Je.color||"accent",this.id=this._uniqueId=(0,o.WQX)(T.g).getId("mat-mdc-slide-toggle-"),this.hideIcon=Je.hideIcon??!1,this.disabledInteractive=Je.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(kt=>{"keyboard"===kt||"program"===kt?(this._focused=!0,this._changeDetectorRef.markForCheck()):kt||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}
1ngOnChanges(kt){kt.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(kt){this.checked=!!kt}registerOnChange(kt){this._onChange=kt}registerOnTouched(kt){this._onTouched=kt}validate(kt){return this.required&&!0!==kt.value?{required:!0}:null}registerOnValidatorChange(kt){this._validatorOnChange=kt}setDisabledState(kt){this.disabled=kt,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Xe(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(Je){return new(Je||ge)};static \u0275cmp=s.VBU({type:ge,selectors:[["mat-slide-toggle"]],viewQuery:function(Je,Ke){if(1&Je&&s.GBs(He,5),2&Je){let $e;s.mGM($e=s.lsd())&&(Ke._switchElement=$e.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(Je,Ke){2&Je&&(s.Avn("id",Ke.id),s.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),s.HbH(Ke.color?"mat-"+Ke.color:""),s.AVh("mat-mdc-slide-toggle-focused",Ke._focused)("mat-mdc-slide-toggle-checked",Ke.checked)("_mat-animation-noopable",Ke._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",h.L39],color:"color",disabled:[2,"disabled","disabled",h.L39],disableRipple:[2,"disableRipple","disableRipple",h.L39],tabIndex:[2,"tabIndex","tabIndex",kt=>null==kt?0:(0,h.Udg)(kt)],checked:[2,"checked","checked",h.L39],hideIcon:[2,"hideIcon","hideIcon",h.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",h.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[s.Jv_([{provide:y.kq,useExisting:(0,o.Rfq)(()=>ge),multi:!0},{provide:y.cz,useExisting:ge,multi:!0}]),s.OA$],ngContentSelectors:Mt,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(Je,Ke){if(1&Je){const $e=s.RV6();s.NAR(),s.j41(0,"div",1)(1,"button",2,0),s.bIt("click",function(){return o.eBV($e),o.Njj(Ke._handleClick())}),s.nrm(3,"div",3)(4,"span",4),s.j41(5,"span",5)(6,"span",6)(7,"span",7),s.nrm(8,"span",8),s.k0s(),s.j41(9,"span",9),s.nrm(10,"span",10),s.k0s(),s.nVh(11,Ge,5,0,"span",11),s.k0s()()(),s.j41(12,"label",12),s.bIt("click",function(q){return o.eBV($e),o.Njj(q.stopPropagation())}),s.SdG(13),s.k0s()()}if(2&Je){const $e=s.sdS(2);s.Y8G("labelPosition",Ke.labelPosition),s.R7$(),s.AVh("mdc-switch--selected",Ke.checked)("mdc-switch--unselected",!Ke.checked)("mdc-switch--checked",Ke.checked)("mdc-switch--disabled",Ke.disabled)("mat-mdc-slide-toggle-disabled-interactive",Ke.disabledInteractive),s.Y8G("tabIndex",Ke.disabled&&!Ke.disabledInteractive?-1:Ke.tabIndex)("disabled",Ke.disabled&&!Ke.disabledInteractive),s.BMQ("id",Ke.buttonId)("name",Ke.name)("aria-label",Ke.ariaLabel)("aria-labelledby",Ke._getAriaLabelledBy())("aria-describedby",Ke.ariaDescribedby)("aria-required",Ke.required||null)("aria-checked",Ke.checked)("aria-disabled",Ke.disabled&&Ke.disabledInteractive?"true":null),s.R7$(9),s.Y8G("matRippleTrigger",$e)("matRippleDisabled",Ke.disableRipple||Ke.disabled)("matRippleCentered",!0),s.R7$(),s.vxM(Ke.hideIcon?-1:11),s.R7$(),s.Y8G("for",Ke.buttonId),s.BMQ("id",Ke._labelId)}},dependencies:[B.r6,x.t],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;
1width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-sl
1ide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-sl
1ide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-sl
1ide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);
1fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return ge})(),Le=(()=>{class ge{static \u0275fac=function(Je){return new(Je||ge)};static \u0275mod=s.$C({type:ge});static \u0275inj=o.G2t({imports:[ze,ye.y,ye.y]})}return ge})()},5416(tn,Ye,d){"use strict";d.d(Ye,{UG:()=>at,_T:()=>nt});var o=d(2615),s=d(3664),h=d(7705),y=d(1413),v=d(7673),T=d(8834),M=d(7094),k=d(9726),H=d(9842),B=d(6939),x=d(1804),ye=d(9327),He=d(4330),Mt=d(9338),Ge=d(6977),Qe=d(2466);function Xe(hn,qt){if(1&hn){const Te=s.RV6();s.j41(0,"div",1)(1,"button",2),s.bIt("click",function(){o.eBV(Te);const yt=s.XpG();return o.Njj(yt.action())}),s.EFF(2),s.k0s()()}if(2&hn){const Te=s.XpG();s.R7$(2),s.SpI(" ",Te.data.action," ")}}const ze=["label"];function Le(hn,qt){}const ge=Math.pow(2,31)-1;class ue{_overlayRef;instance;containerInstance;_afterDismissed=new y.B;_afterOpened=new y.B;_onAction=new y.B;_durationTimeoutId;_dismissedByAction=!1;constructor(qt,Te){this._overlayRef=Te,this.containerInstance=qt,qt._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(qt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(qt,ge))}_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}}const kt=new o.nKC("MatSnackBarData");class Je{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let Ke=(()=>{class hn{static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275dir=s.FsC({type:hn,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return hn})(),$e=(()=>{class hn{static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275dir=s.FsC({type:hn,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return hn})(),lt=(()=>{class hn{static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275dir=s.FsC({type:hn,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return hn})(),q=(()=>{class hn{snackBarRef=(0,o.WQX)(ue);data=(0,o.WQX)(kt);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275cmp=s.VBU({type:hn,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(Pe,yt){1&Pe&&(s.j41(0,"div",0),s.EFF(1),s.k0s(),s.nVh(2,Xe,3,1,"div",1)),2&Pe&&(s.R7$(),s.Sp
1I(" ",yt.data.message,"\n"),s.R7$(),s.vxM(yt.hasAction?2:-1))},dependencies:[T.$z,Ke,$e,lt],styles:[".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}\n"],encapsulation:2,changeDetection:0})}return hn})();const de="_mat-snack-bar-enter",ae="_mat-snack-bar-exit";let he=(()=>{class hn extends B.lb{_ngZone=(0,o.WQX)(s.SKi);_elementRef=(0,o.WQX)(s.aKT);_changeDetectorRef=(0,o.WQX)(h.gRc);_platform=(0,o.WQX)(H.O);_animationsDisabled=(0,x.Rc)();snackBarConfig=(0,o.WQX)(Je);_document=(0,o.WQX)(o.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,o.WQX)(o.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new y.B;_onExit=new y.B;_onEnter=new y.B;_animationState="void";_live;_label;_role;_liveElementId=(0,o.WQX)(k.g).getId("mat-snack-bar-container-live-");constructor(){super();const Te=this.snackBarConfig;this._live="assertive"!==Te.politeness||Te.announcementMessage?"off"===Te.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Te){this._assertNotAttached();const Pe=this._portalOutlet.attachComponentPortal(Te);return this._afterPortalAttached(),Pe}attachTemplatePortal(Te){this._assertNotAttached();const Pe=this._portalOutlet.attachTemplatePortal(Te);return this._afterPortalAttached(),Pe}attachDomPortal=Te=>{this._assertNotAttached();const Pe=this._portalOutlet.attachDomPortal(Te);return this._afterPortalAttached(),Pe};onAnimationEnd(Te){Te===ae?this._completeExit():Te===de&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,s.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(de)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(de)},200)))}exit(){return this._destroyed?(0,v.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,s.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(ae)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(ae),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const Te=this._elementRef.nativeElement,Pe=this.snackBarConfig.panelClass;Pe&&(Array.isArray(Pe)?Pe.forEach(Ie=>Te.classList.add(Ie)):Te.classList.add(Pe)),this._exposeToModals();const yt=this._label.nativeElement,wt="mdc-snackbar__label";yt.classList.toggle(wt,!yt.querySelector(`.${wt}`))}_exposeToModals(){const Te=this._liveElementId,Pe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let yt=0;yt<Pe.length;yt++){const wt=Pe[yt],Ie=wt.getAttribute("aria-owns");this._trackedModals.add(wt),Ie?-1===Ie.indexOf(Te)&&wt.setAttribute("aria-owns",Ie+" "+Te):wt.setAttribute("aria-owns",Te)}}_clearFromModals(){this._trackedModals.forEach(Te=>{const Pe=Te.getAttribute("aria-owns");if(Pe){const yt=Pe.replace(this._liveElementId,"").trim();yt.length>0?Te.setAttribute("aria-owns",yt):Te.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const Te=this._elementRef.nativeElement,Pe=Te.querySelector("[aria-hidden]"),yt=Te.querySelector("[aria-live]");
1if(Pe&&yt){let wt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&Pe.contains(document.activeElement)&&(wt=document.activeElement),Pe.removeAttribute("aria-hidden"),yt.appendChild(Pe),wt?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275cmp=s.VBU({type:hn,selectors:[["mat-snack-bar-container"]],viewQuery:function(Pe,yt){if(1&Pe&&(s.GBs(B.I3,7),s.GBs(ze,7)),2&Pe){let wt;s.mGM(wt=s.lsd())&&(yt._portalOutlet=wt.first),s.mGM(wt=s.lsd())&&(yt._label=wt.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(Pe,yt){1&Pe&&s.bIt("animationend",function(Ie){return yt.onAnimationEnd(Ie.animationName)})("animationcancel",function(Ie){return yt.onAnimationEnd(Ie.animationName)}),2&Pe&&s.AVh("mat-snack-bar-container-enter","visible"===yt._animationState)("mat-snack-bar-container-exit","hidden"===yt._animationState)("mat-snack-bar-container-animations-enabled",!yt._animationsDisabled)},features:[s.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Pe,yt){1&Pe&&(s.j41(0,"div",1)(1,"div",2,0)(3,"div",3),s.DNE(4,Le,0,0,"ng-template",4),s.k0s(),s.nrm(5,"div"),s.k0s()()),2&Pe&&(s.R7$(5),s.BMQ("aria-live",yt._live)("role",yt._role)("id",yt._liveElementId))},dependencies:[B.I3],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],encapsulation:2})}return hn})();const ve=new o.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Ne(){return new Je}});let at=(()=>{class hn{_live=(0,o.WQX)(M.Ai);_injector=(0,o.WQX)(o.zZn);_breakpointObserver=(0,o.WQX)(He.Q);_parentSnackBar=(0,o.WQX)(hn,{optional:!0,skipSelf:!0});_defaultConfig=(0,o.WQX)(ve);_animationsDisabled=(0,x.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=q;snackBarContainerComponent=he;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const Te=this._parentSnackBar;return Te?Te._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(Te){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=Te:this._snackBarRefAtThisLevel=Te}constructor(){}openFromComponent(Te,Pe){return this._attach(Te,Pe)}openFromTemplate(Te,Pe){return this._attach(Te,Pe)}open(Te,Pe="",yt){const wt={...this._defaultConfig,...yt};return wt.data={message:Te,action:Pe},wt.announcementMessage===Te&&(wt.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,wt)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(Te,Pe){const wt=o.zZn.create({parent:Pe&&Pe.viewContainerRef&&Pe.viewContainerRef.injector||this._injector,providers:[{provide:Je,useValue:Pe}]}),Ie=new B.A8(this.snackBarContainerComponent,Pe.viewContainerRef,wt),ie=Te.attach(Ie);return ie.instance.snackBarConfig=Pe,ie.instance}_attach(Te,Pe){const yt={...new Je,...this._defaultConfig,...Pe},wt=this._createOverlay(yt),Ie=this._attachSnackBarContainer(wt,yt),ie=new ue(Ie,wt);if(Te instanceof s.C4Q){const je=new B.VA(Te,null,{$implicit:yt.data,snackBarRef:ie});ie.instance=Ie.attachTemplatePortal(je)}else{const je=this._createInjector(yt,ie),rt=new B.A8(Te,void 0,je),Ze=Ie.attachComponentPortal(rt);ie.instance=Ze.instance}return this._breakpointObserver.observe(ye.Rp.HandsetPortrait).pipe((0,Ge.Q)(wt.detachments())).subscribe(je=>{wt.overlayElement.classList.toggle(this.handsetCssClass,je.matches)}),yt.announcementMessage&&Ie._onAnnounce.subscribe(()=>{this._live.announce(yt.announcementMessage,yt.politeness)}),this._animateSnackBar(ie,yt),this._openedSnackBarRef=ie,this._openedSnackBarRef}_animateSnackBar(Te,Pe){Te.afterDismissed().subscribe(()=>{this._openedSnackBarRef==Te&&(this._openedSnackBarRef=null),Pe.announcementMessage&&this._live.clear()}),Pe.duration&&Pe.duration>0&&Te.afterOpened().subscribe(()=>Te._dismissAfter(Pe.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{Te.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):Te.containerInstance.enter()}_createOverlay(Te){const Pe=new Mt.rR;Pe.direction=Te.direction;const yt=(0,Mt.uA)(this._injector),wt="rtl"===Te.direction,Ie="left"===Te.horizontalPosition||"start"===Te.horizontalPosition&&!wt||"end"===Te.horizontalPosition&&wt,ie=!Ie&&"center"!==Te.horizontalPosition;return Ie?yt.left("0"):ie?yt.right("0"):yt.centerHorizontally(),"top"===Te.verticalPosition?yt.top("0"):yt.bottom("0"),Pe.positionStrategy=yt,Pe.disableAnimations=this._animationsDisabled,(0,Mt.Y$)(this._injector,Pe)}_createInjector(Te,Pe){return o.zZn.create({parent:Te&&Te.viewContainerRef&&Te.viewContainerRef.injector||this._injector,providers:[{provide:ue,useValue:Pe},{provide:kt,useValue:Te.data}]})}static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275prov=o.jDH({token:hn,factory:hn.\u0275fac,providedIn:"root"})}return hn})(),nt=(()=>{class hn{static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275mod=s.$C({type:hn});static \u0275inj=o.G2t({providers:[at],imports:[Mt.z_,B.jc,T.Hl,Qe.y,q,Qe.y]})}return hn})()},2042(tn,Ye,d){"use strict";d.d(Ye,{B4:()=>kt,NQ:()=>de,aE:()=>q});var o=d(2615),s=d(3664),h=d(7705),y=d(4339),v=d(6838),T=d(438),M=d(1413),k=d(2771),H=d(7786),B=d(8968),x=d(1804),ye=d(2046),He=d(2466);const Mt=["mat-sort-header",""],Ge=["*"];function Qe(he,Ne){1&he&&(s.rj2(0,"div",2),o.qSk(),s.rj2(1,"svg",3),s.Hgh(2,"path",4),s.eux()())}const ue=new o.nKC("MAT_SORT_DEFAULT_OPTIONS");let kt=(()=>{class he{_defaultOptions;_initializedStream=new k.m(1);sortables=new Map;_stateChanges=new M.B;active;start="asc";get direction(){return this._direction}set direction(ve){this._direction=ve}_direction="";disableClear;disabled=!1;sortChange=new s.bkB;initialized=this._initializedStream;constructor(ve){this._defaultOptions=ve}register(ve){this.sortables.set(ve.id,ve)}deregister(ve){this.sortables.delete(ve.id)}sort(ve){this.active!=ve.id?(this.active=ve.id,this.direction=ve.start?ve.start:this.start):this.direction=this.getNextSortDirection(ve),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(ve){if(!ve)return"";let Ut=function Je(he,Ne){let ve=["asc","desc"];return"desc"==he&&ve.reverse(),Ne||ve.push(""),ve}(ve.start||this.start,ve?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),nt=Ut.indexOf(this.direction)+1;return nt>=Ut.length&&(nt=0),Ut[nt]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(at){return new(at||he)(s.rXU(ue,8))};static \u0275dir=s.FsC({type:he,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",h.L39],disabled:[2,"matSortDisabled","disabled",h.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s.OA$]})}return he})(),Ke=(()=>{class he{changes=new M.B;static \u0275fac=function(at){return new(at||he)};static \u0275prov=o.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})();const lt={provide:Ke,deps:[[new s.Xx1,new s.kdw,Ke]],useFactory:function $e(he){return he||new Ke}};let q=(()=>{class he{_intl=(0,o.WQX)(Ke);_sort=(0,o.WQX)(kt,{optional:!0});_columnDef=(0,o.WQX)("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=(0,o.WQX)(h.gRc);_focusMonitor=(0,o.WQX)(v.FN);_elementRef=(0,o.WQX)(s.aKT);_ariaDescriber=(0,o.WQX)(y.vr,{optional:!0});_renderChanges;_animationsDisabled=(0,x.Rc)();_recentlyCleared=(0,o.vPA)(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(ve){this._updateSortActionDescription(ve)}_sortActionDescription="Sort";disableClear;constructor(){(0,o.WQX)(B.l).load(ye.A);const ve=(0,o.WQX)(ue,{optional:!0});ve?.arrowPosition&&(this.arrowPosition=ve?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=(0,H.h)(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){const ve=this._isSorted(),at=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(ve&&!this._isSorted()?at:null)}}_handleKeydown(ve){(ve.keyCode===T.t6||ve.keyCode===T.Fm)&&(ve.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(ve){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,ve)),this._sortActionDescription=ve}static \u0275fac=function(at){return new(at||he)};static \u0275cmp=s.VBU({type:he,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(at,Ut){1&at&&s.bIt("click",function(){return Ut._toggleOnInteraction()})("keydown",function(cn){return Ut._handleKeydown(cn)})("mouseleave",function(){return Ut._recentlyCleared.set(null)}),2&at&&(s.BMQ("aria-sort",Ut._getAriaSortAttribute()),s.AVh("mat-sort-header-disabled",Ut._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",h.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",h.L39]},exportAs:["matSortHeader"],attrs:Mt,ngContentSelectors:Ge,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(at,Ut){1&at&&(s.NAR(),s.rj2(0,"div",0)(1,"div",1),s.SdG(2),s.eux(),s.nVh(3,Qe,3,0,"div",2),s.eux()),2&at&&(s.AVh("mat-sort-header-sorted",Ut._isSorted())("mat-sort-header-position-before","before"===Ut.arrowPosition)("mat-sort-header-descending","desc"===Ut._sort.direction)("mat-sort-header-ascending","asc"===Ut._sort.direction)("mat-sort-header-recently-cleared-ascending","asc"===Ut._recentlyCleared())("mat-sort-header-recently-cleared-descending","desc"===Ut._recentlyCleared())("mat-sort-header-animations-disabled",Ut._animationsDisabled),s.BMQ("tabindex",Ut._isDisabled()?null:0)("role",Ut._isDisabled()?null:"button"),s.R7$(3),s.vxM(Ut._renderArrow()?3:-1))},styles:[".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}
1}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"],encapsulation:2,changeDetection:0})}return he})(),de=(()=>{class he{static \u0275fac=function(at){return new(at||he)};static \u0275mod=s.$C({type:he});static \u0275inj=o.G2t({providers:[lt],imports:[He.y]})}return he})()},6233(tn,Ye,d){"use strict";d.d(Ye,{V5:()=>xe,Ti:()=>Sn,M6:()=>z,aP:()=>Ue,F7:()=>Ee,FR:()=>Ce});var o=d(6939),s=d(3664),h=d(2615),y=d(9295),v=d(7705),T=d(9417),M=d(1413),k=d(7673),H=d(9172),B=d(6977),x=d(1577),ye=d(9726),He=d(4123),Mt=d(7336),Ge=d(438),Qe=d(4522),Xe=d(8203);const ze=["*"];function Le(fe,we){1&fe&&s.SdG(0)}let ge=(()=>{class fe{_elementRef=(0,h.WQX)(s.aKT);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return fe})(),ue=(()=>{class fe{template=(0,h.WQX)(s.C4Q);constructor(){}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["","cdkStepLabel",""]]})}return fe})();const Ke=new h.nKC("STEPPER_GLOBAL_OPTIONS");let $e=(()=>{class fe{_stepperOptions;_stepper=(0,h.WQX)(lt);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(_e){this._interacted.set(_e)}_interacted=(0,h.vPA)(!1);interactedStream=new s.bkB;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(_e){this._state.set(_e)}_state=(0,h.vPA)(void 0);get editable(){return this._editable()}set editable(_e){this._editable.set(_e)}_editable=(0,h.vPA)(!0);optional=!1;get completed(){const _e=this._completedOverride(),L=this._interacted();return _e??(L&&(!this.stepControl||this.stepControl.valid))}set completed(_e){this._completedOverride.set(_e)}_completedOverride=(0,h.vPA)(null);index=(0,h.vPA)(-1);isSelected=(0,y.EW)(()=>this._stepper.selectedIndex===this.index());indicatorType=(0,y.EW)(()=>{const _e=this.isSelected(),L=this.completed,j=this._state()??"number",X=this._editable();return this._showError()&&this.hasError&&!_e?"error":this._displayDefaultIndicatorType?!L||_e?"number":X?"edit":"done":L&&!_e?"done":L&&_e?j:X&&_e?"edit":j});isNavigable=(0,y.EW)(()=>{const _e=this.isSelected();return this.completed||_e||!this._stepper.linear});get hasError(){return this._customError()??this._getDefaultError()}set hasError(_e){this._customError.set(_e)}_customError=(0,h.vPA)(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invali
1d}constructor(){const _e=(0,h.WQX)(Ke,{optional:!0});this._stepperOptions=_e||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),null!=this._completedOverride()&&this._completedOverride.set(!1),null!=this._customError()&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(_e=>_e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError()}static \u0275fac=function(L){return new(L||fe)};static \u0275cmp=s.VBU({type:fe,selectors:[["cdk-step"]],contentQueries:function(L,j,X){if(1&L&&(s.wni(X,ue,5),s.wni(X,T.ZU,5)),2&L){let qe;s.mGM(qe=s.lsd())&&(j.stepLabel=qe.first),s.mGM(qe=s.lsd())&&(j._childForms=qe)}},viewQuery:function(L,j){if(1&L&&s.GBs(s.C4Q,7),2&L){let X;s.mGM(X=s.lsd())&&(j.content=X.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",v.L39],optional:[2,"optional","optional",v.L39],completed:[2,"completed","completed",v.L39],hasError:[2,"hasError","hasError",v.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[s.OA$],ngContentSelectors:ze,decls:1,vars:0,template:function(L,j){1&L&&(s.NAR(),s.PeT(0,Le,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return fe})(),lt=(()=>{class fe{_dir=(0,h.WQX)(x.dS,{optional:!0});_changeDetectorRef=(0,h.WQX)(v.gRc);_elementRef=(0,h.WQX)(s.aKT);_destroyed=new M.B;_keyManager;_steps;steps=new s.rOR;_stepHeader;_sortedHeaders=new s.rOR;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(_e){this._steps?(this._isValidIndex(_e),this.selectedIndex!==_e&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(_e)&&(_e>=this.selectedIndex||this.steps.toArray()[_e].editable)&&this._updateSelectedItemIndex(_e))):this._selectedIndex.set(_e)}_selectedIndex=(0,h.vPA)(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(_e){this.selectedIndex=_e&&this.steps?this.steps.toArray().indexOf(_e):-1}selectionChange=new s.bkB;selectedIndexChange=new s.bkB;_groupId=(0,h.WQX)(ye.g).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(_e){this._orientation=_e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===_e)}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe((0,H.Z)(this._steps),(0,B.Q)(this._destroyed)).subscribe(_e=>{this.steps.reset(_e.filter(L=>L._stepper===this)),this.steps.forEach((L,j)=>L.index.set(j)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe((0,H.Z)(this._stepHeader),(0,B.Q)(this._destroyed)).subscribe(_e=>{this._sortedHeaders.reset(_e.toArray().sort((L,j)=>L._elementRef.nativeElement.compareDocumentPosition(j._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new He.B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:(0,k.of)()).pipe((0,H.Z)(this._layoutDirection()),(0,B.Q)(this._destroyed)).subscribe(_e=>this._keyManager?.withHorizontalOrientation(_e)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){const _e=this.steps.toArray().slice(0,this._selectedIndex());for(const L of _e)L._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(_e=>_e.reset()),this._stateChanged()}_getStepLabelId(_e){return`${this._groupId}-label-${_e}`}_getStepContentId(_e){return`${this._groupId}-content-${_e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(_e){const L=_e-this._selectedIndex();return L<0?"rtl"===this._layoutDirection()?"next":"previous":L>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(_e){const L=this.steps.toArray(),j=this._selectedIndex();this.selectionChange.emit({selectedIndex:_e,previouslySelectedIndex:j,selectedStep:L[_e],previouslySelectedStep:L[j]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(_e):this._keyManager.updateActiveItem(_e)),this._selectedIndex.set(_e),this.selectedIndexChange.emit(_e),this._stateChanged()}_onKeydown(_e){const L=(0,Mt.rp)(_e),j=_e.keyCode,X=this._keyManager;null==X?.activeItemIndex||L||j!==Ge.t6&&j!==Ge.Fm?X?.setFocusOrigin("keyboard").onKeydown(_e):(this.selectedIndex=X.activeItemIndex,_e.preventDefault())}_anyControlsInvalidOrPending(_e){return!!(this.linear&&_e>=0)&&this.steps.toArray().slice(0,_e).some(L=>{const j=L.stepControl;return(j?j.invalid||j.pending||!L.interacted:!L.completed)&&!L.optional&&!L._completedOverride()})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const _e=this._elementRef.nativeElement,L=(0,Qe.vc)();return _e===L||_e.contains(L)}_isValidIndex(_e){return _e>-1&&(!this.steps||_e<this.steps.length)}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["","cdkStepper",""]],contentQueries:function(L,j,X){if(1&L&&(s.wni(X,$e,5),s.wni(X,ge,5)),2&L){let qe;s.mGM(qe=s.lsd())&&(j._steps=qe),s.mGM(qe=s.lsd())&&(j._stepHeader=qe)}},inputs:{linear:[2,"linear","linear",v.L39],selectedIndex:[2,"selectedIndex","selectedIndex",v.Udg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return fe})(),q=(()=>{class fe{_stepper=(0,h.WQX)(lt);type="submit";constructor(){}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(L,j){1&L&&s.bIt("click",function(){return j._stepper.next()}),2&L&&s.Avn("type",j.type)},inputs:{type:"type"}})}return fe})(),de=(()=>{class fe{_stepper=(0,h.WQX)(lt);type="button";constructor(){}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(L,j){1&L&&s.bIt("click",function(){return j._stepper.previous()}),2&L&&s.Avn("type",j.type)},inputs:{type:"type"}})}return fe})(),ae=(()=>{class fe{static \u0275fac=function(L){return new(L||fe)};static \u0275mod=s.$C({type:fe});static \u0275inj=h.G2t({imports:[Xe.jI]})}return fe})();var he=d(6838),Ne=d(8359),ve=d(2200),at=d(8968),Ut=d(9046),nt=d(2629),cn=d(2046),hn=d(2496),qt=d(9842),Te=d(5558),Pe=d(6354),yt=d(2709),wt=d(1804),Ie=d(2466),ie=d(6881);const je=(fe,we,_e)=>({index:fe,active:we,optional:_e});function rt(fe,we){if(1&fe&&s.eu8(0,2),2&fe){const _e=s.XpG();s.Y8G("ngTemplateOutlet",_e.iconOverrides[_e.state])("ngTemplateOutletContext",s.sMw(2,je,_e.index,_e.active,_e.optional))}}function Ze(fe,we){if(1&fe&&(s.j41(0,"span",7),s.EFF(1),s.k0s()),2&fe){const _e=s.XpG(2);s.R7$(),s.JRh(_e._getDefaultTextForState(_e.state))}}function We(fe,we){if(1&fe&&(s.j41(0,"span",8),s.EFF(1),s.k0s()),2&fe){const _e=s.XpG(3);s.R7$(),s.JRh(_e._intl.completedLabel)}}function Ot(fe,we){if(1&fe&&(s.j41(0,"span",8),s.EFF(1),s.k0s()),2&fe){const _e=s.XpG(3);s.R7$(),s.JRh(_e._intl.editableLabel)}}function Me(fe,we){if(1&fe&&(s.nVh(0,We,2,1,"span",8)(1,Ot,2,1,"span",8),s.j41(2,"mat-icon",7),s.EFF(3),s.k0s()),2&fe){const _e=s.XpG(2);s.vxM("done"===_e.state?0:"edit"===_e.state?1:-1),s.R7$(3),s.JRh(_e._getDefaultTextForState(_e.state))}}function It(fe,we){if(1&fe&&s.nVh(0,Ze,2,1,"span",7)(1,Me,4,2),2&fe){let _e;const L=s.XpG();s.vxM("number"===(_e=L.state)?0:1)}}function Zt(fe,we){1&fe&&(s.j41(0,"div",4),s.eu8(1,9),s.k0s()),2&fe&&(s.R7$(),s.Y8G("ngTemplateOutlet",we.template))}function ti(fe,we){if(1&fe&&(s.j41(0,"div",4),s.EFF(1),s.k0s()),2&fe){const _e=s.XpG();s.R7$(),s.JRh(_e.label)}}function Wn(fe,we){if(1&fe&&(s.j41(0,"div",5),s.EFF(1),s.k0s()),2&fe){const _e=s.XpG();s.R7$(),s.JRh(_e._intl.optionalLabel)}}function mr(fe,we){if(1&fe&&(s.j41(0,"div",6),s.EFF(1),s.k0s()),2&fe){const _e=s.XpG();s.R7$(),s.JRh(_e.errorMessage)}}const Bn=["*"];function Oi(fe,we){}function dn(fe,we){if(1&fe&&(s.SdG(0),s.DNE(1,Oi,0,0,"ng-template",0)),2&fe){const _e=s.XpG();s.R7$(),s.Y8G("cdkPortalOutlet",_e._portal)}}const Tn=["animatedContainer"],Yn=fe=>({step:fe});function _(fe,we){1&fe&&s.SdG(0)}function Qn(fe,we){1&fe&&s.nrm(0,"div",7)}function di(fe,we){if(1&fe&&(s.eu8(0,6),s.nVh(1,Qn,1,0,"div",7)),2&fe){const _e=we.$implicit,L=we.$index,j=we.$count;s.XpG(2);const X=s.sdS(4);s.Y8G("ngTemplateOutlet",X)("ngTemplateOutletContext",s.eq3(3,Yn,_e)),s.R7$(),s.vxM(L!==j-1?1:-1)}}function ai(fe,we){if(1&fe&&(s.j41(0,"div",8,1),s.eu8(2,9),s.k0s()),2&fe){const _e=we.$implicit,L=we.$index,j=s.XpG(2);s.HbH("mat-horizontal-stepper-content-"+j._getAnimationDirection(L)),s.Y8G("id",j._getStepContentId(L)),s.BMQ("aria-labelledby",j._getStepLabelId(L))("inert",j.selectedIndex===L?null:""),s.R7$(2),s.Y8G("ngTemplateOutlet",_e.content)}}function pi(fe,we){if(1&fe&&(s.j41(0,"div",2)(1,"div",3),s.Z7z(2,di,2,5,null,
1null,s.fX1),s.k0s(),s.j41(4,"div",4),s.Z7z(5,ai,3,6,"div",5,s.fX1),s.k0s()()),2&fe){const _e=s.XpG();s.R7$(2),s.Dyx(_e.steps),s.R7$(3),s.Dyx(_e.steps)}}function Vi(fe,we){if(1&fe&&(s.j41(0,"div",10),s.eu8(1,6),s.j41(2,"div",11,1)(4,"div",12)(5,"div",13),s.eu8(6,9),s.k0s()()()()),2&fe){const _e=we.$implicit,L=we.$index,j=we.$index,X=we.$count,qe=s.XpG(2),Yt=s.sdS(4);s.R7$(),s.Y8G("ngTemplateOutlet",Yt)("ngTemplateOutletContext",s.eq3(10,Yn,_e)),s.R7$(),s.AVh("mat-stepper-vertical-line",j!==X-1)("mat-vertical-content-container-active",qe.selectedIndex===L),s.BMQ("inert",qe.selectedIndex===L?null:""),s.R7$(2),s.Y8G("id",qe._getStepContentId(L)),s.BMQ("aria-labelledby",qe._getStepLabelId(L)),s.R7$(2),s.Y8G("ngTemplateOutlet",_e.content)}}function ii(fe,we){if(1&fe&&s.Z7z(0,Vi,7,12,"div",10,s.fX1),2&fe){const _e=s.XpG();s.Dyx(_e.steps)}}function rr(fe,we){if(1&fe){const _e=s.RV6();s.j41(0,"mat-step-header",14),s.bIt("click",function(){const j=h.eBV(_e).step;return h.Njj(j.select())})("keydown",function(j){h.eBV(_e);const X=s.XpG();return h.Njj(X._onKeydown(j))}),s.k0s()}if(2&fe){const _e=we.step,L=s.XpG();s.AVh("mat-horizontal-stepper-header","horizontal"===L.orientation)("mat-vertical-stepper-header","vertical"===L.orientation),s.Y8G("tabIndex",L._getFocusIndex()===_e.index()?0:-1)("id",L._getStepLabelId(_e.index()))("index",_e.index())("state",_e.indicatorType())("label",_e.stepLabel||_e.label)("selected",_e.isSelected())("active",_e.isNavigable())("optional",_e.optional)("errorMessage",_e.errorMessage)("iconOverrides",L._iconOverrides)("disableRipple",L.disableRipple||!_e.isNavigable())("color",_e.color||L.color),s.BMQ("aria-posinset",_e.index()+1)("aria-setsize",L.steps.length)("aria-controls",L._getStepContentId(_e.index()))("aria-selected",_e.isSelected())("aria-label",_e.ariaLabel||null)("aria-labelledby",!_e.ariaLabel&&_e.ariaLabelledby?_e.ariaLabelledby:null)("aria-disabled",!_e.isNavigable()||null)}}let Sn=(()=>{class fe extends ue{static \u0275fac=(()=>{let _e;return function(j){return(_e||(_e=s.xGo(fe)))(j||fe)}})();static \u0275dir=s.FsC({type:fe,selectors:[["","matStepLabel",""]],features:[s.Vt3]})}return fe})(),ci=(()=>{class fe{changes=new M.B;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(L){return new(L||fe)};static \u0275prov=h.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}return fe})();const fr={provide:ci,deps:[[new s.Xx1,new s.kdw,ci]],useFactory:function Un(fe){return fe||new ci}};let Vt=(()=>{class fe extends ge{_intl=(0,h.WQX)(ci);_focusMonitor=(0,h.WQX)(he.FN);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();const _e=(0,h.WQX)(at.l);_e.load(cn.A),_e.load(Ut.Y);const L=(0,h.WQX)(v.gRc);this._intlSubscription=this._intl.changes.subscribe(()=>L.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(_e,L){_e?this._focusMonitor.focusVia(this._elementRef,_e,L):this._elementRef.nativeElement.focus(L)}_stringLabel(){return this.label instanceof Sn?null:this.label}_templateLabel(){return this.label instanceof Sn?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(_e){return"number"==_e?`${this.index+1}`:"edit"==_e?"create":"error"==_e?"warning":_e}_hasEmptyLabel(){return!(this._stringLabel()||this._templateLabel()||this._hasOptionalLabel()||this._hasErrorLabel())}_hasOptionalLabel(){return this.optional&&"error"!==this.state}_hasErrorLabel(){return"error"===this.state}static \u0275fac=function(L){return new(L||fe)};static \u0275cmp=s.VBU({type:fe,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:4,hostBindings:function(L,j){2&L&&(s.HbH("mat-"+(j.color||"primary")),s.AVh("mat-step-header-empty-label",j._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[s.Vt3],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(L,j){if(1&L&&(s.nrm(0,"div",0),s.j41(1,"div")(2,"div",1),s.nVh(3,rt,1,6,"ng-container",2)(4,It,2,1),s.k0s()(),s.j41(5,"div",3),s.nVh(6,Zt,2,1,"div",4)(7,ti,2,1,"div",4),s.nVh(8,Wn,2,1,"div",5),s.nVh(9,mr,2,1,"div",6),s.k0s()),2&L){let X;s.Y8G("matRippleTrigger",j._getHostElement())("matRippleDisabled",j.disableRipple),s.R7$(),s.HbH(s.VkB("mat-step-icon-state-",j.state," mat-step-icon")),s.AVh("mat-step-icon-selected",j.selected),s.R7$(2),s.vxM(j.iconOverrides&&j.iconOverrides[j.state]?3:4),s.R7$(2),s.AVh("mat-step-label-active",j.active)("mat-step-label-selected",j.selected)("mat-step-label-error","error"==j.state),s.R7$(),s.vxM((X=j._templateLabel())?6:j._stringLabel()?7:-1,X),s.R7$(2),s.vxM(j._hasOptionalLabel()?8:-1),s.R7$(),s.vxM(j._hasErrorLabel()?9:-1)}},dependencies:[hn.r6,ve.T3,nt.An],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}
1.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],encapsulation:2,changeDetection:0})}return fe})(),un=(()=>{class fe{templateRef=(0,h.WQX)(s.C4Q);name;constructor(){}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return fe})(),Ae=(()=>{class fe{_template=(0,h.WQX)(s.C4Q);constructor(){}static \u0275fac=function(L){return new(L||fe)};static \u0275dir=s.FsC({type:fe,selectors:[["ng-template","matStepContent",""]]})}return fe})(),xe=(()=>{class fe extends $e{_errorStateMatcher=(0,h.WQX)(yt.e,{skipSelf:!0});
1_viewContainerRef=(0,h.WQX)(s.c1b);_isSelected=Ne.yU.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Te.n)(()=>this._stepper.selectionChange.pipe((0,Pe.T)(_e=>_e.selectedStep===this),(0,H.Z)(this._stepper.selected===this)))).subscribe(_e=>{_e&&this._lazyContent&&!this._portal&&(this._portal=new o.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(_e,L){return this._errorStateMatcher.isErrorState(_e,L)||!!(_e&&_e.invalid&&this.interacted)}static \u0275fac=(()=>{let _e;return function(j){return(_e||(_e=s.xGo(fe)))(j||fe)}})();static \u0275cmp=s.VBU({type:fe,selectors:[["mat-step"]],contentQueries:function(L,j,X){if(1&L&&(s.wni(X,Sn,5),s.wni(X,Ae,5)),2&L){let qe;s.mGM(qe=s.lsd())&&(j.stepLabel=qe.first),s.mGM(qe=s.lsd())&&(j._lazyContent=qe.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[s.Jv_([{provide:yt.e,useExisting:fe},{provide:$e,useExisting:fe}]),s.Vt3],ngContentSelectors:Bn,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(L,j){1&L&&(s.NAR(),s.DNE(0,dn,2,1,"ng-template"))},dependencies:[o.I3],encapsulation:2,changeDetection:0})}return fe})(),z=(()=>{class fe extends lt{_ngZone=(0,h.WQX)(s.SKi);_renderer=(0,h.WQX)(s.sFG);_animationsDisabled=(0,wt.Rc)();_cleanupTransition;_isAnimating=(0,h.vPA)(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new s.rOR;_icons;animationDone=new s.bkB;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(_e){this._animationDuration=/^\d+$/.test(_e)?_e+"ms":_e}_animationDuration="";_isServer=!(0,h.WQX)(qt.O).isBrowser;constructor(){super();const L=(0,h.WQX)(s.aKT).nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===L?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:_e,templateRef:L})=>this._iconOverrides[_e]=L),this.steps.changes.pipe((0,B.Q)(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe((0,B.Q)(this._destroyed)).subscribe(()=>{const _e=this._getAnimationDuration();"0ms"===_e||"0s"===_e?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),"function"==typeof queueMicrotask){let _e=!1;this._animatedContainers.changes.pipe((0,H.Z)(null),(0,B.Q)(this._destroyed)).subscribe(()=>queueMicrotask(()=>{_e||(_e=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}_handleTransitionend=_e=>{const L=_e.target;if(!L)return;const j="horizontal"===this.orientation&&"transform"===_e.propertyName&&L.classList.contains("mat-horizontal-stepper-content-current"),X="vertical"===this.orientation&&"grid-template-rows"===_e.propertyName&&L.classList.contains("mat-vertical-content-container-active");(j||X)&&this._animatedContainers.find(Yt=>Yt.nativeElement===L)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(L){return new(L||fe)};static \u0275cmp=s.VBU({type:fe,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(L,j,X){if(1&L&&(s.wni(X,xe,5),s.wni(X,un,5)),2&L){let qe;s.mGM(qe=s.lsd())&&(j._steps=qe),s.mGM(qe=s.lsd())&&(j._icons=qe)}},viewQuery:function(L,j){if(1&L&&(s.GBs(Vt,5),s.GBs(Tn,5)),2&L){let X;s.mGM(X=s.lsd())&&(j._stepHeader=X),s.mGM(X=s.lsd())&&(j._animatedContainers=X)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(L,j){2&L&&(s.BMQ("aria-orientation",j.orientation),s.xc7("--mat-stepper-animation-duration",j._getAnimationDuration()),s.AVh("mat-stepper-horizontal","horizontal"===j.orientation)("mat-stepper-vertical","vertical"===j.orientation)("mat-stepper-label-position-end","horizontal"===j.orientation&&"end"==j.labelPosition)("mat-stepper-label-position-bottom","horizontal"===j.orientation&&"bottom"==j.labelPosition)("mat-stepper-header-position-bottom","bottom"===j.headerPosition)("mat-stepper-animating",j._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[s.Jv_([{provide:lt,useExisting:fe}]),s.Vt3],ngContentSelectors:Bn,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(L,j){if(1&L&&(s.NAR(),s.nVh(0,_,1,0
1),s.nVh(1,pi,7,0,"div",2)(2,ii,2,0),s.DNE(3,rr,1,23,"ng-template",null,0,s.C5r)),2&L){let X;s.vxM(j._isServer?0:-1),s.R7$(),s.vxM("horizontal"===(X=j.orientation)?1:"vertical"===X?2:-1)}},dependencies:[ve.T3,Vt],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;
1left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}\n'],encapsulation:2,changeDetection:0})}return fe})(),Ee=(()=>{class fe extends q{static \u0275fac=(()=>{let _e;return function(j){return(_e||(_e=s.xGo(fe)))(j||fe)}})();static \u0275dir=s.FsC({type:fe,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(L,j){2&L&&s.Avn("type",j.type)},features:[s.Vt3]})}return fe})(),Ce=(()=>{class fe extends de{static \u0275fac=(()=>{let _e;return function(j){return(_e||(_e=s.xGo(fe)))(j||fe)}})();static \u0275dir=s.FsC({type:fe,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(L,j){2&L&&s.Avn("type",j.type)},features:[s.Vt3]})}return fe})(),Ue=(()=>{class fe{static \u0275fac=function(L){return new(L||fe)};static \u0275mod=s.$C({type:fe});static \u0275inj=h.G2t({providers:[fr,yt.e],imports:[Ie.y,o.jc,ae,nt.m_,ie.p,z,Vt,Ie.y]})}return fe})()},2046(tn,Ye,d){"use strict";d.d(Ye,{A:()=>s});var o=d(3664);let s=(()=>{class h{static \u0275fac=function(T){return new(T||h)};static \u0275cmp=o.VBU({type:h,selectors:[["structural-styles"]],decls:0,vars:0,template:function(T,M){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return h})()},6192(tn,Ye,d){"use strict";d.d(Ye,{$R:()=>On,YV:()=>_e,cC:()=>X,KS:()=>qe,tL:()=>L,YZ:()=>_n,ji:()=>Qi,NB:()=>Pt,iL:()=>Er,Zl:()=>we,I6:()=>Zn,tP:()=>et});var o=d(3664),s=d(2615),h=d(7705),y=d(17);class v{}function T(gt){return gt&&"function"==typeof gt.connect&&!(gt instanceof y.G)}var M=d(1413),k=d(4412),H=d(4402),B=d(7673),x=d(6977),He=function(gt){return gt[gt.REPLACED=0]="REPLACED",gt[gt.INSERTED=1]="INSERTED",gt[gt.MOVED=2]="MOVED",gt[gt.REMOVED=3]="REMOVED",gt}(He||{});const Mt=new s.nKC("_ViewRepeater");class Qe{applyChanges(zn,ft,Bt,xn,Ti){zn.forEachOperation((Gi,Mr,$t)=>{let wn,In;
1if(null==Gi.previousIndex){const Di=Bt(Gi,Mr,$t);wn=ft.createEmbeddedView(Di.templateRef,Di.context,Di.index),In=He.INSERTED}else null==$t?(ft.remove(Mr),In=He.REMOVED):(wn=ft.get(Mr),ft.move(wn,$t),In=He.MOVED);Ti&&Ti({context:wn?.context,operation:In,record:Gi})})}detach(){}}var Xe=d(1577),ze=d(9842),Le=d(5478);const ge=[[["caption"]],[["colgroup"],["col"]],"*"],ue=["caption","colgroup, col","*"];function kt(gt,zn){1>&&o.SdG(0,2)}function Je(gt,zn){1>&&(o.j41(0,"thead",0),o.eu8(1,1),o.k0s(),o.j41(2,"tbody",0),o.eu8(3,2)(4,3),o.k0s(),o.j41(5,"tfoot",0),o.eu8(6,4),o.k0s())}function Ke(gt,zn){1>&&o.eu8(0,1)(1,2)(2,3)(3,4)}const q=new s.nKC("CDK_TABLE");let ae=(()=>{class gt{template=(0,s.WQX)(o.C4Q);constructor(){}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkCellDef",""]]})}return gt})(),he=(()=>{class gt{template=(0,s.WQX)(o.C4Q);constructor(){}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkHeaderCellDef",""]]})}return gt})(),Ne=(()=>{class gt{template=(0,s.WQX)(o.C4Q);constructor(){}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkFooterCellDef",""]]})}return gt})(),ve=(()=>{class gt{_table=(0,s.WQX)(q,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(ft){this._setNameInput(ft)}_name;get sticky(){return this._sticky}set sticky(ft){ft!==this._sticky&&(this._sticky=ft,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(ft){ft!==this._stickyEnd&&(this._stickyEnd=ft,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){const ft=this._hasStickyChanged;return this.resetStickyChanged(),ft}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ft){ft&&(this._name=ft,this.cssClassFriendlyName=ft.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkColumnDef",""]],contentQueries:function(Bt,xn,Ti){if(1&Bt&&(o.wni(Ti,ae,5),o.wni(Ti,he,5),o.wni(Ti,Ne,5)),2&Bt){let Gi;o.mGM(Gi=o.lsd())&&(xn.cell=Gi.first),o.mGM(Gi=o.lsd())&&(xn.headerCell=Gi.first),o.mGM(Gi=o.lsd())&&(xn.footerCell=Gi.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",h.L39],stickyEnd:[2,"stickyEnd","stickyEnd",h.L39]},features:[o.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:gt}])]})}return gt})();class at{constructor(zn,ft){ft.nativeElement.classList.add(...zn._columnCssClassName)}}let Ut=(()=>{class gt extends at{constructor(){super((0,s.WQX)(ve),(0,s.WQX)(o.aKT))}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.Vt3]})}return gt})(),cn=(()=>{class gt extends at{constructor(){const ft=(0,s.WQX)(ve),Bt=(0,s.WQX)(o.aKT);super(ft,Bt);const xn=ft._table?._getCellRole();xn&&Bt.nativeElement.setAttribute("role",xn)}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[o.Vt3]})}return gt})(),qt=(()=>{class gt{template=(0,s.WQX)(o.C4Q);_differs=(0,s.WQX)(h._q3);columns;_columnsDiffer;constructor(){}ngOnChanges(ft){if(!this._columnsDiffer){const Bt=ft.columns&&ft.columns.currentValue||[];this._columnsDiffer=this._differs.find(Bt).create(),this._columnsDiffer.diff(Bt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ft){return this instanceof Te?ft.headerCell.template:this instanceof Pe?ft.footerCell.template:ft.cell.template}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,features:[o.OA$]})}return gt})(),Te=(()=>{class gt extends qt{_table=(0,s.WQX)(q,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(ft){ft!==this._sticky&&(this._sticky=ft,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,s.WQX)(o.C4Q),(0,s.WQX)(h._q3))}ngOnChanges(ft){super.ngOnChanges(ft)}
1hasStickyChanged(){const ft=this._hasStickyChanged;return this.resetStickyChanged(),ft}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",h.L39]},features:[o.Vt3,o.OA$]})}return gt})(),Pe=(()=>{class gt extends qt{_table=(0,s.WQX)(q,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(ft){ft!==this._sticky&&(this._sticky=ft,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,s.WQX)(o.C4Q),(0,s.WQX)(h._q3))}ngOnChanges(ft){super.ngOnChanges(ft)}hasStickyChanged(){const ft=this._hasStickyChanged;return this.resetStickyChanged(),ft}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",h.L39]},features:[o.Vt3,o.OA$]})}return gt})(),yt=(()=>{class gt extends qt{_table=(0,s.WQX)(q,{optional:!0});when;constructor(){super((0,s.WQX)(o.C4Q),(0,s.WQX)(h._q3))}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[o.Vt3]})}return gt})(),wt=(()=>{class gt{_viewContainer=(0,s.WQX)(o.c1b);cells;context;static mostRecentCellOutlet=null;constructor(){gt.mostRecentCellOutlet=this}ngOnDestroy(){gt.mostRecentCellOutlet===this&&(gt.mostRecentCellOutlet=null)}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","cdkCellOutlet",""]]})}return gt})(),Ie=(()=>{class gt{static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275cmp=o.VBU({type:gt,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Bt,xn){1&Bt&&o.eu8(0,0)},dependencies:[wt],encapsulation:2})}return gt})(),je=(()=>{class gt{static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275cmp=o.VBU({type:gt,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Bt,xn){1&Bt&&o.eu8(0,0)},dependencies:[wt],encapsulation:2})}return gt})(),rt=(()=>{class gt{templateRef=(0,s.WQX)(o.C4Q);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["ng-template","cdkNoDataRow",""]]})}return gt})();const Ze=["top","bottom","left","right"];class We{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(zn=>this._updateCachedSizes(zn)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(zn,ft,Bt=!0,xn=!0,Ti,Gi,Mr){this._isNativeHtmlTable=zn,this._stickCellCss=ft,this._isBrowser=Bt,this._needsPositionStickyOnElement=xn,this.direction=Ti,this._positionListener=Gi,this._tableInjector=Mr,this._borderCellCss={top:`${ft}-border-elem-top`,bottom:`${ft}-border-elem-bottom`,left:`${ft}-border-elem-left`,right:`${ft}-border-elem-right`}}clearStickyPositioning(zn,ft){(ft.includes("left")||ft.includes("right"))&&this._removeFromStickyColumnReplayQueue(zn);const Bt=[];for(const xn of zn)xn.nodeType===xn.ELEMENT_NODE&&Bt.push(xn,...Array.from(xn.children));(0,o.mal)({write:()=>{for(const xn of Bt)this._removeStickyStyle(xn,ft)}},{injector:this._tableInjector})}updateStickyColumns(zn,ft,Bt,xn=!0,Ti=!0){if(!zn.length||!this._isBrowser||!ft.some(Hr=>Hr)&&!Bt.some(Hr=>Hr))return this._positionListener?.stickyColumnsUpdated({sizes:[]}),void this._positionListener?.stickyEndColumnsUpdated({sizes:[]});const Gi=zn[0],Mr=Gi.children.length,$t="rtl"===this.direction,wn=$t?"right":"left",In=$t?"left"
1:"right",Di=ft.lastIndexOf(!0),Ai=Bt.indexOf(!0);let ki,_r,Cr;Ti&&this._updateStickyColumnReplayQueue({rows:[...zn],stickyStartStates:[...ft],stickyEndStates:[...Bt]}),(0,o.mal)({earlyRead:()=>{ki=this._getCellWidths(Gi,xn),_r=this._getStickyStartColumnPositions(ki,ft),Cr=this._getStickyEndColumnPositions(ki,Bt)},write:()=>{for(const Hr of zn)for(let $r=0;$r<Mr;$r++){const Ns=Hr.children[$r];ft[$r]&&this._addStickyStyle(Ns,wn,_r[$r],$r===Di),Bt[$r]&&this._addStickyStyle(Ns,In,Cr[$r],$r===Ai)}this._positionListener&&ki.some(Hr=>!!Hr)&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Di?[]:ki.slice(0,Di+1).map((Hr,$r)=>ft[$r]?Hr:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ai?[]:ki.slice(Ai).map((Hr,$r)=>Bt[$r+Ai]?Hr:null).reverse()}))}},{injector:this._tableInjector})}stickRows(zn,ft,Bt){if(!this._isBrowser)return;const xn="bottom"===Bt?zn.slice().reverse():zn,Ti="bottom"===Bt?ft.slice().reverse():ft,Gi=[],Mr=[],$t=[];(0,o.mal)({earlyRead:()=>{for(let wn=0,In=0;wn<xn.length;wn++){if(!Ti[wn])continue;Gi[wn]=In;const Di=xn[wn];$t[wn]=this._isNativeHtmlTable?Array.from(Di.children):[Di];const Ai=this._retrieveElementSize(Di).height;In+=Ai,Mr[wn]=Ai}},write:()=>{const wn=Ti.lastIndexOf(!0);for(let In=0;In<xn.length;In++){if(!Ti[In])continue;const Di=Gi[In],Ai=In===wn;for(const ki of $t[In])this._addStickyStyle(ki,Bt,Di,Ai)}"top"===Bt?this._positionListener?.stickyHeaderRowsUpdated({sizes:Mr,offsets:Gi,elements:$t}):this._positionListener?.stickyFooterRowsUpdated({sizes:Mr,offsets:Gi,elements:$t})}},{injector:this._tableInjector})}updateStickyFooterContainer(zn,ft){this._isNativeHtmlTable&&(0,o.mal)({write:()=>{const Bt=zn.querySelector("tfoot");Bt&&(ft.some(xn=>!xn)?this._removeStickyStyle(Bt,["bottom"]):this._addStickyStyle(Bt,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(zn,ft){if(zn.classList.contains(this._stickCellCss)){for(const xn of ft)zn.style[xn]="",zn.classList.remove(this._borderCellCss[xn]);Ze.some(xn=>-1===ft.indexOf(xn)&&zn.style[xn])?zn.style.zIndex=this._getCalculatedZIndex(zn):(zn.style.zIndex="",this._needsPositionStickyOnElement&&(zn.style.position=""),zn.classList.remove(this._stickCellCss))}}_addStickyStyle(zn,ft,Bt,xn){zn.classList.add(this._stickCellCss),xn&&zn.classList.add(this._borderCellCss[ft]),zn.style[ft]=`${Bt}px`,zn.style.zIndex=this._getCalculatedZIndex(zn),this._needsPositionStickyOnElement&&(zn.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(zn){const ft={top:100,bottom:10,left:1,right:1};let Bt=0;for(const xn of Ze)zn.style[xn]&&(Bt+=ft[xn]);return Bt?`${Bt}`:""}_getCellWidths(zn,ft=!0){if(!ft&&this._cachedCellWidths.length)return this._cachedCellWidths;const Bt=[],xn=zn.children;for(let Ti=0;Ti<xn.length;Ti++)Bt.push(this._retrieveElementSize(xn[Ti]).width);return this._cachedCellWidths=Bt,Bt}_getStickyStartColumnPositions(zn,ft){const Bt=[];let xn=0;for(let Ti=0;Ti<zn.length;Ti++)ft[Ti]&&(Bt[Ti]=xn,xn+=zn[Ti]);return Bt}_getStickyEndColumnPositions(zn,ft){const Bt=[];let xn=0;for(let Ti=zn.length;Ti>0;Ti--)ft[Ti]&&(Bt[Ti]=xn,xn+=zn[Ti]);return Bt}_retrieveElementSize(zn){const ft=this._elemSizeCache.get(zn);if(ft)return ft;const Bt=zn.getBoundingClientRect(),xn={width:Bt.width,height:Bt.height};return this._resizeObserver&&(this._elemSizeCache.set(zn,xn),this._resizeObserver.observe(zn,{box:"border-box"})),xn}_updateStickyColumnReplayQueue(zn){this._removeFromStickyColumnReplayQueue(zn.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(zn)}_removeFromStickyColumnReplayQueue(zn){const ft=new Set(zn);for(const Bt of this._updatedStickyColumnsParamsToReplay)Bt.rows=Bt.rows.filter(xn=>!ft.has(xn));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(Bt=>!!Bt.rows.length)}_updateCachedSizes(zn){let ft=!1;for(const Bt of zn){const xn=Bt.borderBoxSize?.length?{width:Bt.borderBoxSize[0].inlineSize,height:Bt.borderBoxSize[0].blockSize}:{width:Bt.contentRect.width,height:Bt.contentRect.height};xn.width!==this._elemSizeCache.get(Bt.target)?.width&&Ot(Bt.target)&&(ft=!0),this._elemSizeCache.set(Bt.target,xn)}ft&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(const Bt of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(Bt.rows,Bt.stickyStart
1States,Bt.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}}function Ot(gt){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(zn=>gt.classList.contains(zn))}const dn=new s.nKC("CDK_SPL");let Yn=(()=>{class gt{viewContainer=(0,s.WQX)(o.c1b);elementRef=(0,s.WQX)(o.aKT);constructor(){const ft=(0,s.WQX)(q);ft._rowOutlet=this,ft._outletAssigned()}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","rowOutlet",""]]})}return gt})(),_=(()=>{class gt{viewContainer=(0,s.WQX)(o.c1b);elementRef=(0,s.WQX)(o.aKT);constructor(){const ft=(0,s.WQX)(q);ft._headerRowOutlet=this,ft._outletAssigned()}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","headerRowOutlet",""]]})}return gt})(),Qn=(()=>{class gt{viewContainer=(0,s.WQX)(o.c1b);elementRef=(0,s.WQX)(o.aKT);constructor(){const ft=(0,s.WQX)(q);ft._footerRowOutlet=this,ft._outletAssigned()}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","footerRowOutlet",""]]})}return gt})(),di=(()=>{class gt{viewContainer=(0,s.WQX)(o.c1b);elementRef=(0,s.WQX)(o.aKT);constructor(){const ft=(0,s.WQX)(q);ft._noDataRowOutlet=this,ft._outletAssigned()}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275dir=o.FsC({type:gt,selectors:[["","noDataRowOutlet",""]]})}return gt})(),ai=(()=>{class gt{_differs=(0,s.WQX)(h._q3);_changeDetectorRef=(0,s.WQX)(h.gRc);_elementRef=(0,s.WQX)(o.aKT);_dir=(0,s.WQX)(Xe.dS,{optional:!0});_platform=(0,s.WQX)(ze.O);_viewRepeater=(0,s.WQX)(Mt);_viewportRuler=(0,s.WQX)(Le.Xj);_stickyPositioningListener=(0,s.WQX)(dn,{optional:!0,skipSelf:!0});_document=(0,s.WQX)(s.qQL);_data;_onDestroy=new M.B;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(void 0===this._cellRoleInternal){const ft=this._elementRef.nativeElement.getAttribute("role");return"grid"===ft||"treegrid"===ft?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(ft){this._trackByFn=ft}_trackByFn;get dataSource(){return this._dataSource}set dataSource(ft){this._dataSource!==ft&&this._switchDataSource(ft)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ft){this._multiTemplateDataRows=ft,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(ft){this._fixedLayout=ft,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new o.bkB;viewChange=new k.t({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=(0,s.WQX)(s.zZn);constructor(){(0,s.WQX)(new h.ES_("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName,this._dataDiffer=this._differs.find([]).create((Bt,xn)=>this.trackBy?this.trackBy(xn.dataIndex,xn.data):xn)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe((0,x.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ft=>{ft?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),T(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();
1const ft=this._dataDiffer.diff(this._renderRows);if(!ft)return this._updateNoDataRow(),void this.contentChanged.next();const Bt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ft,Bt,(xn,Ti,Gi)=>this._getEmbeddedViewArgs(xn.item,Gi),xn=>xn.item.data,xn=>{xn.operation===He.INSERTED&&xn.context&&this._renderCellTemplateForItem(xn.record.item.rowDef,xn.context)}),this._updateRowIndexContext(),ft.forEachIdentityChange(xn=>{Bt.get(xn.currentIndex).context.$implicit=xn.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(ft){this._customColumnDefs.add(ft)}removeColumnDef(ft){this._customColumnDefs.delete(ft)}addRowDef(ft){this._customRowDefs.add(ft)}removeRowDef(ft){this._customRowDefs.delete(ft)}addHeaderRowDef(ft){this._customHeaderRowDefs.add(ft),this._headerRowDefChanged=!0}removeHeaderRowDef(ft){this._customHeaderRowDefs.delete(ft),this._headerRowDefChanged=!0}addFooterRowDef(ft){this._customFooterRowDefs.add(ft),this._footerRowDefChanged=!0}removeFooterRowDef(ft){this._customFooterRowDefs.delete(ft),this._footerRowDefChanged=!0}setNoDataRow(ft){this._customNoDataRow=ft}updateStickyHeaderRowStyles(){const ft=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const xn=Vi(this._headerRowOutlet,"thead");xn&&(xn.style.display=ft.length?"":"none")}const Bt=this._headerRowDefs.map(xn=>xn.sticky);this._stickyStyler.clearStickyPositioning(ft,["top"]),this._stickyStyler.stickRows(ft,Bt,"top"),this._headerRowDefs.forEach(xn=>xn.resetStickyChanged())}updateStickyFooterRowStyles(){const ft=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const xn=Vi(this._footerRowOutlet,"tfoot");xn&&(xn.style.display=ft.length?"":"none")}const Bt=this._footerRowDefs.map(xn=>xn.sticky);this._stickyStyler.clearStickyPositioning(ft,["bottom"]),this._stickyStyler.stickRows(ft,Bt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Bt),this._footerRowDefs.forEach(xn=>xn.resetStickyChanged())}updateStickyColumnStyles(){const ft=this._getRenderedRows(this._headerRowOutlet),Bt=this._getRenderedRows(this._rowOutlet),xn=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ft,...Bt,...xn],["left","right"]),this._stickyColumnStylesNeedReset=!1),ft.forEach((Ti,Gi)=>{this._addStickyColumnStyles([Ti],this._headerRowDefs[Gi])}),this._rowDefs.forEach(Ti=>{const Gi=[];for(let Mr=0;Mr<Bt.length;Mr++)this._renderRows[Mr].rowDef===Ti&&Gi.push(Bt[Mr]);this._addStickyColumnStyles(Gi,Ti)}),xn.forEach((Ti,Gi)=>{this._addStickyColumnStyles([Ti],this._footerRowDefs[Gi])}),Array.from(this._columnDefsByName.values()).forEach(Ti=>Ti.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const Bt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Bt,this._forceRecalculateCellWidths=Bt,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const ft=[],Bt=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return ft;for(let xn=0;xn<this._data.length;xn++){let Ti=this._data[xn];const Gi=this._getRenderRowsForData(Ti,xn,Bt.get(Ti));this._cachedRenderRowsMap.has(Ti)||this._cachedRenderRowsMap.set(Ti,new WeakMap);for(let Mr=0;Mr<Gi.length;Mr++){let $t=Gi[Mr];const wn=this._cachedRenderRowsMap.get($t.data);wn.has($t.rowDef)?wn.get($t.rowDef).push($t):wn.set($t.rowDef,[$t]),ft.push($t)}}return ft}_getRenderRowsForData(ft,Bt,xn){return this._getRowDefs(ft,Bt).map(Gi=>{const Mr=xn&&xn.has(Gi)?xn.get(Gi):[];if(Mr.length){const $t=Mr.shift();return $t.dataIndex=Bt,$t}return{data:ft,rowDef:Gi,dataIndex:Bt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),pi(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEac
1h(Bt=>{this._columnDefsByName.has(Bt.name),this._columnDefsByName.set(Bt.name,Bt)})}_cacheRowDefs(){this._headerRowDefs=pi(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=pi(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=pi(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ft=this._rowDefs.filter(Bt=>!Bt.when);this._defaultRowDef=ft[0]}_renderUpdatedColumns(){const ft=(Gi,Mr)=>{const $t=!!Mr.getColumnsDiff();return Gi||$t},Bt=this._rowDefs.reduce(ft,!1);Bt&&this._forceRenderDataRows();const xn=this._headerRowDefs.reduce(ft,!1);xn&&this._forceRenderHeaderRows();const Ti=this._footerRowDefs.reduce(ft,!1);return Ti&&this._forceRenderFooterRows(),Bt||xn||Ti}_switchDataSource(ft){this._data=[],T(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ft||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=ft}_observeRenderChanges(){if(!this.dataSource)return;let ft;T(this.dataSource)?ft=this.dataSource.connect(this):(0,H.A)(this.dataSource)?ft=this.dataSource:Array.isArray(this.dataSource)&&(ft=(0,B.of)(this.dataSource)),this._renderChangeSubscription=ft.pipe((0,x.Q)(this._onDestroy)).subscribe(Bt=>{this._data=Bt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ft,Bt)=>this._renderRow(this._headerRowOutlet,ft,Bt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ft,Bt)=>this._renderRow(this._footerRowOutlet,ft,Bt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ft,Bt){const xn=Array.from(Bt?.columns||[]).map(Mr=>this._columnDefsByName.get(Mr)),Ti=xn.map(Mr=>Mr.sticky),Gi=xn.map(Mr=>Mr.stickyEnd);this._stickyStyler.updateStickyColumns(ft,Ti,Gi,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ft){const Bt=[];for(let xn=0;xn<ft.viewContainer.length;xn++){const Ti=ft.viewContainer.get(xn);Bt.push(Ti.rootNodes[0])}return Bt}_getRowDefs(ft,Bt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let xn=[];if(this.multiTemplateDataRows)xn=this._rowDefs.filter(Ti=>!Ti.when||Ti.when(Bt,ft));else{let Ti=this._rowDefs.find(Gi=>Gi.when&&Gi.when(Bt,ft))||this._defaultRowDef;Ti&&xn.push(Ti)}return xn}_getEmbeddedViewArgs(ft,Bt){return{templateRef:ft.rowDef.template,context:{$implicit:ft.data},index:Bt}}_renderRow(ft,Bt,xn,Ti={}){const Gi=ft.viewContainer.createEmbeddedView(Bt.template,Ti,xn);return this._renderCellTemplateForItem(Bt,Ti),Gi}_renderCellTemplateForItem(ft,Bt){for(let xn of this._getCellTemplates(ft))wt.mostRecentCellOutlet&&wt.mostRecentCellOutlet._viewContainer.createEmbeddedView(xn,Bt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ft=this._rowOutlet.viewContainer;for(let Bt=0,xn=ft.length;Bt<xn;Bt++){const Gi=ft.get(Bt).context;Gi.count=xn,Gi.first=0===Bt,Gi.last=Bt===xn-1,Gi.even=Bt%2==0,Gi.odd=!Gi.even,this.multiTemplateDataRows?(Gi.dataIndex=this._renderRows[Bt].dataIndex,Gi.renderIndex=Bt):Gi.index=this._renderRows[Bt].dataIndex}}_getCellTemplates(ft){return ft&&ft.columns?Array.from(ft.columns,Bt=>{const xn=this._columnDefsByName.get(Bt);return ft.extractCellTemplate(xn)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ft=(Bt,xn)=>Bt||xn.hasStickyChanged();this._headerRowDefs.reduce(ft,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ft,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ft,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new We(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,this._dir?this._dir.value:"ltr",this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:(0,B.of)()).pipe((0,x.Q)(this._onDestroy)).subscribe(Bt=>{this._stickyStyler.direction=Bt,this.updateStickyColumnStyles()})}_getOwnDefs(ft){return ft.filter(Bt=>!Bt._table||Bt._table===this)}
1_updateNoDataRow(){const ft=this._customNoDataRow||this._noDataRow;if(!ft)return;const Bt=0===this._rowOutlet.viewContainer.length;if(Bt===this._isShowingNoDataRow)return;const xn=this._noDataRowOutlet.viewContainer;if(Bt){const Ti=xn.createEmbeddedView(ft.templateRef),Gi=Ti.rootNodes[0];if(1===Ti.rootNodes.length&&Gi?.nodeType===this._document.ELEMENT_NODE){Gi.setAttribute("role","row"),Gi.classList.add(...ft._contentClassNames);const Mr=Gi.querySelectorAll(ft._cellSelector);for(let $t=0;$t<Mr.length;$t++)Mr[$t].classList.add(...ft._cellClassNames)}}else xn.clear();this._isShowingNoDataRow=Bt,this._changeDetectorRef.markForCheck()}static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275cmp=o.VBU({type:gt,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Bt,xn,Ti){if(1&Bt&&(o.wni(Ti,rt,5),o.wni(Ti,ve,5),o.wni(Ti,yt,5),o.wni(Ti,Te,5),o.wni(Ti,Pe,5)),2&Bt){let Gi;o.mGM(Gi=o.lsd())&&(xn._noDataRow=Gi.first),o.mGM(Gi=o.lsd())&&(xn._contentColumnDefs=Gi),o.mGM(Gi=o.lsd())&&(xn._contentRowDefs=Gi),o.mGM(Gi=o.lsd())&&(xn._contentHeaderRowDefs=Gi),o.mGM(Gi=o.lsd())&&(xn._contentFooterRowDefs=Gi)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Bt,xn){2&Bt&&o.AVh("cdk-table-fixed-layout",xn.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",h.L39],fixedLayout:[2,"fixedLayout","fixedLayout",h.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[o.Jv_([{provide:q,useExisting:gt},{provide:Mt,useClass:Qe},{provide:dn,useValue:null}])],ngContentSelectors:ue,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Bt,xn){1&Bt&&(o.NAR(ge),o.SdG(0),o.SdG(1,1),o.nVh(2,kt,1,0),o.nVh(3,Je,7,0)(4,Ke,4,0)),2&Bt&&(o.R7$(2),o.vxM(xn._isServer?2:-1),o.R7$(),o.vxM(xn._isNativeHtmlTable?3:4))},dependencies:[_,Yn,di,Qn],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2})}return gt})();function pi(gt,zn){return gt.concat(Array.from(zn))}function Vi(gt,zn){const ft=zn.toUpperCase();let Bt=gt.viewContainer.element.nativeElement;for(;Bt;){const xn=1===Bt.nodeType?Bt.nodeName:null;if(xn===ft)return Bt;if("TABLE"===xn)break;Bt=Bt.parentNode}return null}let Sn=(()=>{class gt{static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275mod=o.$C({type:gt});static \u0275inj=s.G2t({imports:[Le.E9]})}return gt})();var ci=d(2466),Un=d(7786),fr=d(4572),Vt=d(7847),un=d(6354);const Ae=[[["caption"]],[["colgroup"],["col"]],"*"],xe=["caption","colgroup, col","*"];function z(gt,zn){1>&&o.SdG(0,2)}function Ee(gt,zn){1>&&(o.j41(0,"thead",0),o.eu8(1,1),o.k0s(),o.j41(2,"tbody",2),o.eu8(3,3)(4,4),o.k0s(),o.j41(5,"tfoot",0),o.eu8(6,5),o.k0s())}function Ce(gt,zn){1>&&o.eu8(0,1)(1,3)(2,4)(3,5)}let we=(()=>{class gt extends ai{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275cmp=o.VBU({type:gt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Bt,xn){2&Bt&&o.AVh("mdc-table-fixed-layout",xn.fixedLayout)},exportAs:["matTable"],features:[o.Jv_([{provide:ai,useExisting:gt},{provide:q,useExisting:gt},{provide:Mt,useClass:Qe},{provide:dn,useValue:null}]),o.Vt3],ngContentSelectors:xe,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Bt,xn){1&Bt&&(o.NAR(Ae),o.SdG(0),o.SdG(1,1),o.nVh(2,z,1,0),o.nVh(3,Ee,7,0)(4,Ce,4,0)),2&Bt&&(o.R7$(2),o.vxM(xn._isServer?2:-1),o.R7$(),o.vxM(xn._isNativeHtmlTable?3:4))},dependencies:[_,Yn,di,Qn],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}
1.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child>.mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],encapsulation:2})}return gt})(),_e=(()=>{class gt extends ae{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["","matCellDef",""]],features:[o.Jv_([{provide:ae,useExisting:gt}]),o.Vt3]})}return gt})(),L=(()=>{class gt extends he{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["","matHeaderCellDef",""]],features:[o.Jv_([{provide:he,useExisting:gt}]),o.Vt3]})}return gt})(),X=(()=>{class gt extends ve{get name(){return this._name}set name(ft){this._setNameInput(ft)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[o.Jv_([{provide:ve,useExisting:gt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:gt}]),o.Vt3]})}return gt})(),qe=(()=>{class gt extends Ut{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[o.Vt3]})}return gt})(),On=(()=>{class gt extends cn{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[o.Vt3]})}return gt})(),Qi=(()=>{class gt extends Te{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",h.L39]},features:[o.Jv_([{provide:Te,useExisting:gt}]),o.Vt3]})}return gt})(),Er=(()=>{class gt extends yt{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275dir=o.FsC({type:gt,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[o.Jv_([{provide:yt,useExisting:gt}]),o.Vt3]})}return gt})(),_n=(()=>{class gt extends Ie{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275cmp=o.VBU({type:gt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[o.Jv_([{provide:Ie,useExisting:gt}]),o.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Bt,xn){1&Bt&&o.eu8(0,0)},dependencies:[wt],encapsulation:2})}return gt})(),Pt=(()=>{class gt extends je{static \u0275fac=(()=>{let ft;return function(xn){return(ft||(ft=o.xGo(gt)))(xn||gt)}})();static \u0275cmp=o.VBU({type:gt,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[o.Jv_([{provide:je,useExisting:gt}]),o.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Bt,xn){1&Bt&&o.eu8(0,0)},dependencies:[wt],encapsulation:2})}return gt})(),et=(()=>{class gt{static \u0275fac=function(Bt){return new(Bt||gt)};static \u0275mod=o.$C({type:gt});static \u0275inj=s.G2t({imports:[ci.y,Sn,ci.y]})}return gt})();class Zn extends v{_data;_renderData=new k.t([]);_filter=new k.t("");_internalPageChanges=new M.B;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(zn){zn=Array.isArray(zn)?zn:[],this._data.next(zn),this._renderChangesSubscription||this._filterData(zn)}get filter(){return this._filter.value}set filter(zn){this._filter.next(zn),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(zn){this._sort=zn,this._updateChangeSubscription()}_sort;get paginator(){return this._paginator}set paginator(zn){this._paginator=zn,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(zn,ft)=>{const Bt=zn[ft];if((0,Vt.o1)(Bt)){const xn=Number(Bt);return xn<9007199254740991?xn:Bt}return Bt};sortData=(zn,ft)=>{const Bt=ft.active,xn=ft.direction;return Bt&&""!=xn?zn.sort((Ti,Gi)=>{let Mr=this.sortingDataAccessor(Ti,Bt),$t=this.sortingDataAccessor(Gi,Bt);const wn=typeof Mr,In=typeof $t;wn!==In&&("number"===wn&&(Mr+=""),"number"===In&&($t+=""));let Di=0;return null!=Mr&&null!=$t?Mr>$t?Di=1:Mr<$t&&(Di=-1):null!=Mr?Di=1:null!=$t&&(Di=-1),Di*("asc"==xn?1:-1)}):zn};filterPredicate=(zn,ft)=>{const Bt=ft.trim().toLowerCase();return Object.values(zn).some(xn=>`${xn}`.toLowerCase().includes(Bt))};constructor(zn=[]){super(),this._data=new k.t(zn),this._updateChangeSubscription()}_updateChangeSubscription(){const zn=this._sort?(0,Un.h)(this._sort.sortChange,this._sort.initialized):(0,B.of)(null),ft=this._paginator?(0,Un.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,B.of)(null),xn=(0,fr.z)([this._data,this._filter]).pipe((0,un.T)(([Mr])=>this._filterData(Mr))),Ti=(0,fr.z)([xn,zn]).pipe((0,un.T)(([Mr])=>this._orderData(Mr))),Gi=(0,fr.z)([Ti,ft]).pipe((0,un.T)(([Mr])=>this._pageData(Mr)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Gi.subscribe(Mr=>this._renderData.next(Mr))}_filterData(zn){return this.filteredData=null==this.filter||""===this.filter?zn:zn.filter(ft=>this.filterPredicate(ft,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(zn){return this.sort?this.sortData(zn.slice(),this.sort):zn}_pageData(zn){if(!this.paginator)return zn;
1const ft=this.paginator.pageIndex*this.paginator.pageSize;return zn.slice(ft,ft+this.paginator.pageSize)}_updatePaginator(zn){Promise.resolve().then(()=>{const ft=this.paginator;if(ft&&(ft.length=zn,ft.pageIndex>0)){const Bt=Math.ceil(ft.length/ft.pageSize)-1||0,xn=Math.min(ft.pageIndex,Bt);xn!==ft.pageIndex&&(ft.pageIndex=xn,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},6850(tn,Ye,d){"use strict";d.d(Ye,{$L:()=>mr,Bu:()=>Ee,Ql:()=>Ce,RI:()=>Tt,T8:()=>xe,hQ:()=>Ue,mq:()=>Yn});var o=d(6838),s=d(9726),h=d(4123),y=d(1577),v=d(7336),T=d(438),M=d(8170),k=d(9842),H=d(5478),B=d(2615),x=d(3664),ye=d(7705),He=d(9295),Mt=d(1985),Ge=d(1413),Qe=d(4412),Xe=d(8359),ze=d(7786),Le=d(7673),ge=d(1584),ue=d(983),kt=d(152),Je=d(5964),Ke=d(5245),$e=d(9172),lt=d(5558),q=d(6977),de=d(1804),ae=d(6939),he=d(8968),Ne=d(2046),ve=d(2318),at=d(2496),Ut=d(2466);const nt=["*"];function cn(we,_e){1&we&&x.SdG(0)}const hn=["tabListContainer"],qt=["tabList"],Te=["tabListInner"],Pe=["nextPaginator"],yt=["previousPaginator"],wt=["content"];function Ie(we,_e){}const ie=["tabBodyWrapper"],je=["tabHeader"];function rt(we,_e){}function Ze(we,_e){if(1&we&&x.DNE(0,rt,0,0,"ng-template",12),2&we){const L=x.XpG().$implicit;x.Y8G("cdkPortalOutlet",L.templateLabel)}}function We(we,_e){if(1&we&&x.EFF(0),2&we){const L=x.XpG().$implicit;x.JRh(L.textLabel)}}function Ot(we,_e){if(1&we){const L=x.RV6();x.j41(0,"div",7,2),x.bIt("click",function(){const X=B.eBV(L),qe=X.$implicit,Yt=X.$index,On=x.XpG(),wi=x.sdS(1);return B.Njj(On._handleClick(qe,wi,Yt))})("cdkFocusChange",function(X){const qe=B.eBV(L).$index,Yt=x.XpG();return B.Njj(Yt._tabFocusChanged(X,qe))}),x.nrm(2,"span",8)(3,"div",9),x.j41(4,"span",10)(5,"span",11),x.nVh(6,Ze,1,1,null,12)(7,We,1,1),x.k0s()()()}if(2&we){const L=_e.$implicit,j=_e.$index,X=x.sdS(1),qe=x.XpG();x.HbH(L.labelClass),x.AVh("mdc-tab--active",qe.selectedIndex===j),x.Y8G("id",qe._getTabLabelId(L,j))("disabled",L.disabled)("fitInkBarToContent",qe.fitInkBarToContent),x.BMQ("tabIndex",qe._getTabIndex(j))("aria-posinset",j+1)("aria-setsize",qe._tabs.length)("aria-controls",qe._getTabContentId(j))("aria-selected",qe.selectedIndex===j)("aria-label",L.ariaLabel||null)("aria-labelledby",!L.ariaLabel&&L.ariaLabelledby?L.ariaLabelledby:null),x.R7$(3),x.Y8G("matRippleTrigger",X)("matRippleDisabled",L.disabled||qe.disableRipple),x.R7$(3),x.vxM(L.templateLabel?6:7
1)}}function Me(we,_e){1&we&&x.SdG(0)}function It(we,_e){if(1&we){const L=x.RV6();x.j41(0,"mat-tab-body",13),x.bIt("_onCentered",function(){B.eBV(L);const X=x.XpG();return B.Njj(X._removeTabBodyWrapperHeight())})("_onCentering",function(X){B.eBV(L);const qe=x.XpG();return B.Njj(qe._setTabBodyWrapperHeight(X))})("_beforeCentering",function(X){B.eBV(L);const qe=x.XpG();return B.Njj(qe._bodyCentered(X))}),x.k0s()}if(2&we){const L=_e.$implicit,j=_e.$index,X=x.XpG();x.HbH(L.bodyClass),x.Y8G("id",X._getTabContentId(j))("content",L.content)("position",L.position)("animationDuration",X.animationDuration)("preserveContent",X.preserveContent),x.BMQ("tabindex",null!=X.contentTabIndex&&X.selectedIndex===j?X.contentTabIndex:null)("aria-labelledby",X._getTabLabelId(L,j))("aria-hidden",X.selectedIndex!==j)}}const Zt=["mat-tab-nav-bar",""],ti=["mat-tab-link",""],Wn=new B.nKC("MatTabContent");let mr=(()=>{class we{template=(0,B.WQX)(x.C4Q);constructor(){}static \u0275fac=function(j){return new(j||we)};static \u0275dir=x.FsC({type:we,selectors:[["","matTabContent",""]],features:[x.Jv_([{provide:Wn,useExisting:we}])]})}return we})();const Bn=new B.nKC("MatTabLabel"),Oi=new B.nKC("MAT_TAB");let dn=(()=>{class we extends ae.bV{_closestTab=(0,B.WQX)(Oi,{optional:!0});static \u0275fac=(()=>{let L;return function(X){return(L||(L=x.xGo(we)))(X||we)}})();static \u0275dir=x.FsC({type:we,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[x.Jv_([{provide:Bn,useExisting:we}]),x.Vt3]})}return we})();const Tn=new B.nKC("MAT_TAB_GROUP");let Yn=(()=>{class we{_viewContainerRef=(0,B.WQX)(x.c1b);_closestTabGroup=(0,B.WQX)(Tn,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(L){this._setTemplateLabelInput(L)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new Ge.B;position=null;origin=null;isActive=!1;constructor(){(0,B.WQX)(he.l).load(Ne.A)}ngOnChanges(L){(L.hasOwnProperty("textLabel")||L.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new ae.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(L){L&&L._closestTab===this&&(this._templateLabel=L)}static \u0275fac=function(j){return new(j||we)};static \u0275cmp=x.VBU({type:we,selectors:[["mat-tab"]],contentQueries:function(j,X,qe){if(1&j&&(x.wni(qe,dn,5),x.wni(qe,mr,7,x.C4Q)),2&j){let Yt;x.mGM(Yt=x.lsd())&&(X.templateLabel=Yt.first),x.mGM(Yt=x.lsd())&&(X._explicitContent=Yt.first)}},viewQuery:function(j,X){if(1&j&&x.GBs(x.C4Q,7),2&j){let qe;x.mGM(qe=x.lsd())&&(X._implicitContent=qe.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(j,X){2&j&&x.BMQ("id",null)},inputs:{disabled:[2,"disabled","disabled",ye.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[x.Jv_([{provide:Oi,useExisting:we}]),x.OA$],ngContentSelectors:nt,decls:1,vars:0,template:function(j,X){1&j&&(x.NAR(),x.PeT(0,cn,1,0,"ng-template"))},encapsulation:2})}return we})();const _="mdc-tab-indicator--active",Qn="mdc-tab-indicator--no-transition";class di{_items;_currentItem;constructor(_e){this._items=_e}hide(){this._items.forEach(_e=>_e.deactivateInkBar()),this._currentItem=void 0}alignToElement(_e){const L=this._items.find(X=>X.elementRef.nativeElement===_e),j=this._currentItem;if(L!==j&&(j?.deactivateInkBar(),L)){const X=j?.elementRef.nativeElement.getBoundingClientRect?.();L.activateInkBar(X),this._currentItem=L}}}let ai=(()=>{class we{_elementRef=(0,B.WQX)(x.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(L){this._fitToContent!==L&&(this._fitToContent=L,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(L){const j=this._elementRef.nativeElement;if(!L||!j.getBoundingClientRect||!this._inkBarContentElement)return void j.classList.add(_);const X=j.getBoundingClientRect(),qe=L.width/X.width,Yt=L.left-X.left;j.classList.add(Qn),this._inkBarContentElement.style.setProperty("transform",`translateX(${Yt}px) scaleX(${qe})`),j.getBoundingClientRect(),j.classList.remove(Qn),j.classList.add(_),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(_)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const L=this._elementRef.nativeElement.ownerDocument||document,j=this._inkBarElement=L.createElement("span"),X=this._inkBarContentElement=L.createElement("span");j.className="mdc-tab-indicator",X.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",j.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(j){return new(j||we)};
1static \u0275dir=x.FsC({type:we,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",ye.L39]}})}return we})(),ii=(()=>{class we extends ai{elementRef=(0,B.WQX)(x.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let L;return function(X){return(L||(L=x.xGo(we)))(X||we)}})();static \u0275dir=x.FsC({type:we,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(j,X){2&j&&(x.BMQ("aria-disabled",!!X.disabled),x.AVh("mat-mdc-tab-disabled",X.disabled))},inputs:{disabled:[2,"disabled","disabled",ye.L39]},features:[x.Vt3]})}return we})();const rr={passive:!0};let Un=(()=>{class we{_elementRef=(0,B.WQX)(x.aKT);_changeDetectorRef=(0,B.WQX)(ye.gRc);_viewportRuler=(0,B.WQX)(H.Xj);_dir=(0,B.WQX)(y.dS,{optional:!0});_ngZone=(0,B.WQX)(x.SKi);_platform=(0,B.WQX)(k.O);_sharedResizeObserver=(0,B.WQX)(M.a);_injector=(0,B.WQX)(B.zZn);_renderer=(0,B.WQX)(x.sFG);_animationsDisabled=(0,de.Rc)();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new Ge.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new Ge.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(L){const j=isNaN(L)?0:L;this._selectedIndex!=j&&(this._selectedIndexChanged=!0,this._selectedIndex=j,this._keyManager&&this._keyManager.updateActiveItem(j))}_selectedIndex=0;selectFocusedIndex=new x.bkB;indexFocused=new x.bkB;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),rr),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),rr))}ngAfterContentInit(){const L=this._dir?this._dir.change:(0,Le.of)("ltr"),j=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe((0,kt.B)(32),(0,q.Q)(this._destroyed)),X=this._viewportRuler.change(150).pipe((0,q.Q)(this._destroyed)),qe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new h.B(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),(0,x.mal)(qe,{injector:this._injector}),(0,ze.h)(L,X,j,this._items.changes,this._itemsResized()).pipe((0,q.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),qe()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(Yt=>{this.indexFocused.emit(Yt),this._setTabFocus(Yt)})}_itemsResized(){return"function"!=typeof ResizeObserver?ue.w:this._items.changes.pipe((0,$e.Z)(this._items),(0,lt.n)(L=>new Mt.c(j=>this._ngZone.runOutsideAngular(()=>{const X=new ResizeObserver(qe=>j.next(qe));return L.forEach(qe=>X.observe(qe.elementRef.nativeElement)),()=>{X.disconnect()}}))),(0,Ke.i)(1),(0,Je.p)(L=>L.some(j=>j.contentRect.width>0&&j.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(L=>L()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(L){if(!(0,v.rp)(L))switch(L.keyCode){case T.Fm:case T.t6:if(this.focusIndex!==this.selectedIndex){const j=this._items.get(this.focusIndex);
1j&&!j.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(L))}break;default:this._keyManager?.onKeydown(L)}}_onContentChanges(){const L=this._elementRef.nativeElement.textContent;L!==this._currentTextContent&&(this._currentTextContent=L||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(L){!this._isValidIndex(L)||this.focusIndex===L||!this._keyManager||this._keyManager.setActiveItem(L)}_isValidIndex(L){return!this._items||!!this._items.toArray()[L]}_setTabFocus(L){if(this._showPaginationControls&&this._scrollToLabel(L),this._items&&this._items.length){this._items.toArray()[L].focus();const j=this._tabListContainer.nativeElement;j.scrollLeft="ltr"==this._getLayoutDirection()?0:j.scrollWidth-j.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const L=this.scrollDistance,j="ltr"===this._getLayoutDirection()?-L:L;this._tabList.nativeElement.style.transform=`translateX(${Math.round(j)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(L){this._scrollTo(L)}_scrollHeader(L){return this._scrollTo(this._scrollDistance+("before"==L?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(L){this._stopInterval(),this._scrollHeader(L)}_scrollToLabel(L){if(this.disablePagination)return;const j=this._items?this._items.toArray()[L]:null;if(!j)return;const X=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:qe,offsetWidth:Yt}=j.elementRef.nativeElement;let On,wi;"ltr"==this._getLayoutDirection()?(On=qe,wi=On+Yt):(wi=this._tabListInner.nativeElement.offsetWidth-qe,On=wi-Yt);const Qi=this.scrollDistance,Tr=this.scrollDistance+X;On<Qi?this.scrollDistance-=Qi-On:wi>Tr&&(this.scrollDistance+=Math.min(wi-Tr,On-Qi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const X=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;X||(this.scrollDistance=0),X!==this._showPaginationControls&&(this._showPaginationControls=X,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const L=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,j=L?L.elementRef.nativeElement:null;j?this._inkBar.alignToElement(j):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(L,j){j&&null!=j.button&&0!==j.button||(this._stopInterval(),(0,ge.O)(650,100).pipe((0,q.Q)((0,ze.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:X,distance:qe}=this._scrollHeader(L);(0===qe||qe>=X)&&this._stopInterval()}))}_scrollTo(L){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const j=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(j,L)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:j,distance:this._scrollDistance}}static \u0275fac=function(j){return new(j||we)};static \u0275dir=x.FsC({type:we,inputs:{disablePagination:[2,"disablePagination","disablePagination",ye.L39],selectedIndex:[2,"selectedIndex","selectedIndex",ye.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return we})(),fr=(()=>{class we extends Un{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new di(this._items),super.ngAfterContentInit()}_itemSelected(L){L.preventDefault()}static \u0275fac=(()=>{let L;return function(X){return(L||(L=x.xGo(we)))(X||we)}})();static \u0275cmp=x.VBU({type:we,selectors:[["mat-tab-header"]],contentQueries:function(j,X,qe){if(1&j&&x.wni(qe,ii,4),2&j){let Yt;x.mGM(Yt=x.lsd())&&(X._items=Yt)}},viewQuery:function(j,X){if(1&j&&(x.GBs(hn,7),x.GBs(qt,7),x.GBs(Te,7),x.GBs(Pe,5),x.GBs(yt,5)),2&j){let qe;x.mGM(qe=x.lsd())&&(X._tabListContainer=qe.first),x.mGM(qe=x.lsd())&&(X._tabList=qe.first),x.mGM(qe=x.lsd())&&(X._tabListInner=qe.first),x.mGM(qe=x.lsd())&&(X._nextPaginator=qe.first),x.mGM(qe=x.lsd())&&(X._previousPaginator=qe.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(j,X){2&j&&x.AVh("mat-mdc-tab-header-pagination-controls-enabled",X._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==X._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",ye.L39]},features:[x.Vt3],ngContentSelectors:nt,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(j,X){if(1&j){const qe=x.RV6();x.NAR(),x.j41(0,"div",5,0),x.bIt("click",function(){return B.eBV(qe),B.Njj(X._handlePaginatorClick("before"))})("mousedown",function(On){return B.eBV(qe),B.Njj(X._handlePaginatorPress("before",On))})("touchend",function(){return B.eBV(qe),B.Njj(X._stopInterval())}),x.nrm(2,"div",6),x.k0s(),x.j41(3,"div",7,1),x.bIt("keydown",function(On){return B.eBV(qe),B.Njj(X._handleKeydown(On))}),x.j41(5,"div",8,2),x.bIt("cdkObserveContent",function(){return B.eBV(qe),B.Njj(X._onContentChanges())}),x.j41(7,"div",9,3),x.SdG(9),x.k0s()()(),x.j41(10,"div",10,4),x.bIt("mousedown",function(On){return B.eBV(qe),B.Njj(X._handlePaginatorPress("after",On))})("click",function(){return B.eBV(qe),B.Njj(X._handlePaginatorClick("after"))})("touchend",function(){return B.eBV(qe),B.Njj(X._stopInterval())}),x.nrm(12,"div",6),x.k0s()}2&j&&(x.AVh("mat-mdc-tab-header-pagination-disabled",X._disableScrollBefore),x.Y8G("matRippleDisabled",X._disableScrollBefore||X.disableRipple),x.R7$(3),x.AVh("_mat-animation-noopable",X._animationsDisabled),x.R7$(2),x.BMQ("aria-label",X.ariaLabel||null)("aria-labelledby",X.ariaLabelledby||null),x.R7$(5),x.AVh("mat-mdc-tab-header-pagination-disabled",X._disableScrollAfter),x.Y8G("matRippleDisabled",X._disableScrollAfter||X.disableRipple))},dependencies:[at.r6,ve.Wv],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;
1cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],encapsulation:2})}return we})();const Vt=new B.nKC("MAT_TABS_CONFIG");let un=(()=>{class we extends ae.I3{_host=(0,B.WQX)(Ae);_ngZone=(0,B.WQX)(x.SKi);_centeringSub=Xe.yU.EMPTY;_leavingSub=Xe.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,$e.Z)(this._host._isCenterPosition())).subscribe(L=>{this._host._content&&L&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(j){return new(j||we)};static \u0275dir=x.FsC({type:we,selectors:[["","matTabBodyHost",""]],features:[x.Vt3]})}return we})(),Ae=(()=>{class we{_elementRef=(0,B.WQX)(x.aKT);_dir=(0,B.WQX)(y.dS,{optional:!0});_ngZone=(0,B.WQX)(x.SKi);_injector=(0,B.WQX)(B.zZn);_renderer=(0,B.WQX)(x.sFG);_diAnimationsDisabled=(0,de.Rc)();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=Xe.yU.EMPTY;_position;_previousPosition;_onCentering=new x.bkB;_beforeCentering=new x.bkB;_afterLeavingCenter=new x.bkB;_onCentered=new x.bkB(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(L){this._positionIndex=L,this._computePositionAnimationState()}constructor(){if(this._dir){const L=(0,B.WQX)(ye.gRc);this._dirChangeSubscription=this._dir.change.subscribe(j=>{this._computePositionAnimationState(j),L.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),"center"===this._position&&(this._setActiveClass(!0),(0,x.mal)(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(L=>L()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{const L=this._elementRef.nativeElement,j=X=>{X.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),"transitionend"===X.type&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(L,"transitionstart",X=>{X.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(L,"transitionend",j),this._renderer.listen(L,"transitioncancel",j)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);const L="center"===this._position;this._beforeCentering.emit(L),L&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){"center"===this._position?this._onCentered.emit():"center"===this._previousPosition&&this._afterLeavingCenter.emit()}_setActiveClass(L){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",L)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(){return 0===this._positionIndex}_computePositionAnimationState(L=this._getLayoutDirection()){this._previousPosition=this._position,this._position=this._positionIndex<0?"ltr"==L?"left":"right":this._positionIndex>0?"ltr"==L?"right":"left":"center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&("center"===this._position||"center"===this._previousPosition)&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),(0,x.mal)(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||"0ms"===this.animationDuration||"0s"===this.animationDuration}static \u0275fac=function(j){return new(j||we)};static \u0275cmp=x.VBU({type:we,selectors:[["mat-tab-body"]],viewQuery:function(j,X){if(1&j&&(x.GBs(un,5),x.GBs(wt,5)),2&j){let qe;x.mGM(qe=x.lsd())&&(X._portalHost=qe.first),x.mGM(qe=x.lsd())&&(X._contentElement=qe.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(j,X){2&j&&x.BMQ("inert","center"===X._position?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(j,X){1&j&&(x.j41(0,"div",1,0),x.DNE(2,Ie,0,0,"ng-template",2),x.k0s()),2&j&&x.AVh("mat-tab-body-content-left","left"===X._position)("mat-tab-body-content-right","right"===X._position)("mat-tab-body-content-can-animate","center"===X._position||"center"===X._previousPosition)},dependencies:[un,H.uv],styles:[".mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}\n"],encapsulation:2})}return we})(),xe=(()=>{class we{_elementRef=(0,B.WQX)(x.aKT);_changeDetectorRef=(0,B.WQX)(ye.gRc);_ngZone=(0,B.WQX)(x.SKi);_tabsSubscription=Xe.yU.EMPTY;_tabLabelSubscription=Xe.yU.EMPTY;_tabBodySubscription=Xe.yU.EMPTY;_diAnimationsDisabled=(0,de.Rc)();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new x.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(L){this._fitInkBarToContent=L,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(L){this._indexToSelect=isNaN(L)?null:L}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(L){const j=L+"";this._animationDuration=/^\d+$/.test(j)?L+"ms":j}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(L){this._contentTabIndex=isNaN(L)?null:L}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(L){const j=this._elementRef.nativeElement.classList;j.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),L&&j.add("mat-tabs-with-background",`mat-background-${L}`),this._backgroundColor=L}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new x.bkB;focusChange=new x.bkB;animationDone=new x.bkB;selectedTabChange=new x.bkB(!0);_groupId;_isServer=!(0,B.WQX)(k.O).isBrowser;constructor(){const L=(0,B.WQX)(Vt,{optional:!0});this._groupId=(0,B.WQX)(s.g).getId("mat-tab-group-"),this.animationDuration=L&&L.animationDuration?L.animationDuration:"500ms",this.disablePagination=!(!L||null==L.disablePagination)&&L.disablePagination,this.dynamicHeight=!(!L||null==L.dynamicHeight)&&L.dynamicHeight,null!=L?.contentTabIndex&&(this.contentTabIndex=L.contentTabIndex),this.preserveContent=!!L?.preserveContent,this.fitInkBarToContent=!(!L||null==L.fitInkBarToContent)&&L.fitInkBarToContent,this.stretchTabs=!L||null==L.stretchTabs||L.stretchTabs,this.alignTabs=L&&null!=L.alignTabs?L.al
1ignTabs:null}ngAfterContentChecked(){const L=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=L){const j=null==this._selectedIndex;if(!j){this.selectedTabChange.emit(this._createChangeEvent(L));const X=this._tabBodyWrapper.nativeElement;X.style.minHeight=X.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((X,qe)=>X.isActive=qe===L),j||(this.selectedIndexChange.emit(L),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((j,X)=>{j.position=X-L,null!=this._selectedIndex&&0==j.position&&!j.origin&&(j.origin=L-this._selectedIndex)}),this._selectedIndex!==L&&(this._selectedIndex=L,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const L=this._clampTabIndex(this._indexToSelect);if(L===this._selectedIndex){const j=this._tabs.toArray();let X;for(let qe=0;qe<j.length;qe++)if(j[qe].isActive){this._indexToSelect=this._selectedIndex=qe,this._lastFocusedTabIndex=null,X=j[qe];break}!X&&j[L]&&Promise.resolve().then(()=>{j[L].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(L))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,$e.Z)(this._allTabs)).subscribe(L=>{this._tabs.reset(L.filter(j=>j._closestTabGroup===this||!j._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(L){const j=this._tabHeader;j&&(j.focusIndex=L)}_focusChanged(L){this._lastFocusedTabIndex=L,this.focusChange.emit(this._createChangeEvent(L))}_createChangeEvent(L){const j=new z;return j.index=L,this._tabs&&this._tabs.length&&(j.tab=this._tabs.toArray()[L]),j}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,ze.h)(...this._tabs.map(L=>L._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(L){return Math.min(this._tabs.length-1,Math.max(L||0,0))}_getTabLabelId(L,j){return L.id||`${this._groupId}-label-${j}`}_getTabContentId(L){return`${this._groupId}-content-${L}`}_setTabBodyWrapperHeight(L){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return void(this._tabBodyWrapperHeight=L);const j=this._tabBodyWrapper.nativeElement;j.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(j.style.height=L+"px")}_removeTabBodyWrapperHeight(){const L=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=L.clientHeight,L.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(L,j,X){j.focusIndex=X,L.disabled||(this.selectedIndex=X)}_getTabIndex(L){return L===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(L,j){L&&"mouse"!==L&&"touch"!==L&&(this._tabHeader.focusIndex=j)}_bodyCentered(L){L&&this._tabBodies?.forEach((j,X)=>j._setActiveClass(X===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||"0"===this.animationDuration||"0ms"===this.animationDuration}static \u0275fac=function(j){return new(j||we)};static \u0275cmp=x.VBU({type:we,selectors:[["mat-tab-group"]],contentQueries:function(j,X,qe){if(1&j&&x.wni(qe,Yn,5),2&j){let Yt;x.mGM(Yt=x.lsd())&&(X._allTabs=Yt)}},viewQuery:function(j,X){if(1&j&&(x.GBs(ie,5),x.GBs(je,5),x.GBs(Ae,5)),2&j){let qe;x.mGM(qe=x.lsd())&&(X._tabBodyWrapper=qe.first),x.mGM(qe=x.lsd())&&(X._tabHeader=qe.first),x.mGM(qe=x.lsd())&&(X._tabBodies=qe)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(j,X){2&j&&(x.BMQ("mat-align-tabs",X.alignTabs),x.HbH("mat-"+(X.color||"primary")),x.xc7("--mat-tab-animation-duration",X.animationDuration),x.AVh("mat-mdc-tab-group-dynamic-height",X.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===X.headerPosition)("mat-mdc-tab-group-stretch-tabs",X.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",ye.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",ye.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",ye.L39],selectedIndex:[2,"selectedIndex","selectedIndex",ye.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",ye.Udg],disablePagination:[2,"disablePagination","disablePagination",ye.L39],disableRipple:[2,"disableRipple","disableRipple",ye.L39],preserveContent:[2,"preserveContent","preserveContent",ye.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[x.Jv_([{provide:Tn,useExisting:we}])],ngContentSelectors:nt,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(j,X){if(1&j){const qe=x.RV6();x.NAR(),x.j41(0,"mat-tab-header",3,0),x.bIt("indexFocused",function(On){return B.eBV(qe),B.Njj(X._focusChanged(On))})("selectFocusedIndex",function(On){return B.eBV(qe),B.Njj(X.selectedIndex=On)}),x.Z7z(2,Ot,8,17,"div",4,x.fX1),x.k0s(),x.nVh(4,Me,1,0),x.j41(5,"div",5,1),x.Z7z(7,It,1,10,"mat-tab-body",6,x.fX1),x.k0s()}2&j&&(x.Y8G("selectedIndex",X.selectedIndex||0)("disableRipple",X.disableRipple)("disablePagination",X.disablePagination),x.jOp("aria-label",X.ariaLabel)("aria-labelledby",X.ariaLabelledby),x.R7$(2),x.Dyx(X._tabs),x.R7$(2),x.vxM(X._isServer?4:-1),x.R7$(),x.AVh("_mat-animation-noopable",X._animationsDisabled()),x.R7$(2),x.Dyx(X._tabs))},dependencies:[fr,ii,o.vR,at.r6,ae.I3,Ae],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}
1.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}
1.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{al
1ign-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}\n'],encapsulation:2})}return we})();class z{index;tab}let Ee=(()=>{class we extends Un{_focusedItem=(0,B.vPA)(null);get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(L){this._fitInkBarToContent.next(L),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new Qe.t(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(L){const j=L+"";this._animationDuration=/^\d+$/.test(j)?L+"ms":j}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(L){const j=this._elementRef.nativeElement.classList;j.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),L&&j.add("mat-tabs-with-background",`mat-background-${L}`),this._backgroundColor=L}_backgroundColor;get disableRipple(){return this._disableRipple()}set disableRipple(L){this._disableRipple.set(L)}_disableRipple=(0,B.vPA)(!1);color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){const L=(0,B.WQX)(Vt,{optional:!0});super(),this.disablePagination=!(!L||null==L.disablePagination)&&L.disablePagination,this.fitInkBarToContent=!(!L||null==L.fitInkBarToContent)&&L.fitInkBarToContent,this.stretchTabs=!L||null==L.stretchTabs||L.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new di(this._items),this._items.changes.pipe((0,$e.Z)(null),(0,q.Q)(this._destroyed)).subscribe(()=>this.updateActiveLink()),super.ngAfterContentInit(),this._keyManager.change.pipe((0,$e.Z)(null),(0,q.Q)(this._destroyed)).subscribe(()=>this._focusedItem.set(this._keyManager?.activeItem||null))}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const L=this._items.toArray();for(let j=0;j<L.length;j++)if(L[j].active)return this.selectedIndex=j,this.tabPanel&&(this.tabPanel._activeTabId=L[j].id),this._focusedItem.set(L[j]),void this._changeDetectorRef.markForCheck();this.selectedIndex=-1}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}_hasFocus(L){return this._keyManager?.activeItem===L}static \u0275fac=function(j){return new(j||we)};static \u0275cmp=x.VBU({type:we,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(j,X,qe){if(1&j&&x.wni(qe,Ce,5),2&j){let Yt;x.mGM(Yt=x.lsd())&&(X._items=Yt)}},viewQuery:function(j,X){if(1&j&&(x.GBs(hn,7),x.GBs(qt,7),x.GBs(Te,7),x.GBs(Pe,5),x.GBs(yt,5)),2&j){let qe;x.mGM(qe=x.lsd())&&(X._tabListContainer=qe.first),x.mGM(qe=x.lsd())&&(X._tabList=qe.first),x.mGM(qe=x.lsd())&&(X._tabListInner=qe.first),x.mGM(qe=x.lsd())&&(X._nextPaginator=qe.first),x.mGM(qe=x.lsd())&&(X._previousPaginator=qe.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(j,X){2&j&&(x.BMQ("role",X._getRole()),x.xc7("--mat-tab-animation-duration",X.animationDuration),x.AVh("mat-mdc-tab-header-pagination-controls-enabled",X._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==X._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",X.stretchTabs)("mat-primary","warn"!==X.color&&"accent"!==X.color)("mat-accent","accent"===X.color)("mat-warn","warn"===X.color)("_mat-animation-noopable",X._animationsDisabled))},inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",ye.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",ye.L39],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",ye.L39],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[x.Vt3],attrs:Zt,ngContentSelectors:nt,decls:13,vars:6,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(j,X){if(1&j){const qe=x.RV6();x.NAR(),x.j41(0,"div",5,0),x.bIt("click",function(){return B.eBV(qe),B.Njj(X._handlePaginatorClick("before"))})("mousedown",function(On){return B.eBV(qe),B.Njj(X._handlePaginatorPress("before",On))})("touchend",function(){return B.eBV(qe),B.Njj(X._stopInterval())}),x.nrm(2,"div",6),x.k0s(),x.j41(3,"div",7,1),x.bIt("keydown",function(On){return B.eBV(qe),B.Njj(X._handleKeydown(On))}),x.j41(5,"div",8,2),x.bIt("cdkObserveContent",function(){return B.eBV(qe),B.Njj(X._onContentChanges())}),x.j41(7,"div",9,3),x.SdG(9),x.k0s()()(),x.j41(10,"div",10,4),x.bIt("mousedown",function(On){return B.eBV(qe),B.Njj(X._handlePaginatorPress("after",On))})("click",function(){return B.eBV(qe),B.Njj(X._handlePaginatorClick("after"))})("touchend",function(){return B.eBV(qe),B.Njj(X._stopInterval())}),x.nrm(12,"div",6),x.k0s()}2&j&&(x.AVh("mat-mdc-tab-header-pagination-disabled",X._disableScrollBefore),x.Y8G("matRippleDisabled",X._disableScrollBefore||X.disableRipple),x.R7$(10),x.AVh("mat-mdc-tab-header-pagination-disabled",X._disableScrollAfter),x.Y8G("matRippleDisabled",X._disableScrollAfter||X.disableRipple))},dependencies:[at.r6,ve.Wv],styles:[".mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}
1.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-foreground-color)}\n"],encapsulation:2})}return we})(),Ce=(()=>{class we extends ai{_tabNavBar=(0,B.WQX)(Ee);elementRef=(0,B.WQX)(x.aKT);_focusMonitor=(0,B.WQX)(o.FN);_destroyed=new Ge.B;_isActive=!1;_tabIndex=(0,He.EW)(()=>this._tabNavBar._focusedItem()===this?this.tabIndex:-1);get active(){return this._isActive}set active(L){L!==this._isActive&&(this._isActive=L,this._tabNavBar.updateActiveLink())}disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(L){this._disableRipple.set(L)}_disableRipple=(0,B.vPA)(!1);tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}id=(0,B.WQX)(s.g).getId("mat-tab-link-");constructor(){super(),(0,B.WQX)(he.l).load(Ne.A);const L=(0,B.WQX)(at.$E,{optional:!0}),j=(0,B.WQX)(new ye.ES_("tabindex"),{optional:!0});this.rippleConfig=L||{},this.tabIndex=null==j?0:parseInt(j)||0,(0,de.Rc)()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe((0,q.Q)(this._destroyed)).subscribe(X=>{this.fitInkBarToContent=X})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(L){(L.keyCode===T.t6||L.keyCode===T.Fm)&&(this.disabled?L.preventDefault():this._tabNavBar.tabPanel&&(L.keyCode===T.t6&&L.preventDefault(),this.elementRef.nativeElement.click()))}
1_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}static \u0275fac=function(j){return new(j||we)};static \u0275cmp=x.VBU({type:we,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(j,X){1&j&&x.bIt("focus",function(){return X._handleFocus()})("keydown",function(Yt){return X._handleKeydown(Yt)}),2&j&&(x.BMQ("aria-controls",X._getAriaControls())("aria-current",X._getAriaCurrent())("aria-disabled",X.disabled)("aria-selected",X._getAriaSelected())("id",X.id)("tabIndex",X._tabIndex())("role",X._getRole()),x.AVh("mat-mdc-tab-disabled",X.disabled)("mdc-tab--active",X.active))},inputs:{active:[2,"active","active",ye.L39],disabled:[2,"disabled","disabled",ye.L39],disableRipple:[2,"disableRipple","disableRipple",ye.L39],tabIndex:[2,"tabIndex","tabIndex",L=>null==L?0:(0,ye.Udg)(L)],id:"id"},exportAs:["matTabLink"],features:[x.Vt3],attrs:ti,ngContentSelectors:nt,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(j,X){1&j&&(x.NAR(),x.nrm(0,"span",0)(1,"div",1),x.j41(2,"span",2)(3,"span",3),x.SdG(4),x.k0s()()),2&j&&(x.R7$(),x.Y8G("matRippleTrigger",X.elementRef.nativeElement)("matRippleDisabled",X.rippleDisabled))},dependencies:[at.r6],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}\n'],encapsulation:2,changeDetection:0})}return we})(),Ue=(()=>{class we{id=(0,B.WQX)(s.g).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(j){return new(j||we)};static \u0275cmp=x.VBU({type:we,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(j,X){2&j&&x.BMQ("aria-labelledby",X._activeTabId)("id",X.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:nt,decls:1,vars:0,template:function(j,X){1&j&&(x.NAR(),x.SdG(0))},encapsulation:2,changeDetection:0})}return we})(),Tt=(()=>{class we{static \u0275fac=function(j){return new(j||we)};static \u0275mod=x.$C({type:we});static \u0275inj=B.G2t({imports:[Ut.y,Ut.y]})}return we})()},5911(tn,Ye,d){"use strict";d.d(Ye,{KQ:()=>k,s5:()=>B});var o=d(2615),s=d(3664),h=d(9842),y=d(2466);const v=["*",[["mat-toolbar-row"]]],T=["*","mat-toolbar-row"];let M=(()=>{class x{static \u0275fac=function(Mt){return new(Mt||x)};static \u0275dir=s.FsC({type:x,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return x}
1)(),k=(()=>{class x{_elementRef=(0,o.WQX)(s.aKT);_platform=(0,o.WQX)(h.O);_document=(0,o.WQX)(o.qQL);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static \u0275fac=function(Mt){return new(Mt||x)};static \u0275cmp=s.VBU({type:x,selectors:[["mat-toolbar"]],contentQueries:function(Mt,Ge,Qe){if(1&Mt&&s.wni(Qe,M,5),2&Mt){let Xe;s.mGM(Xe=s.lsd())&&(Ge._toolbarRows=Xe)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(Mt,Ge){2&Mt&&(s.HbH(Ge.color?"mat-"+Ge.color:""),s.AVh("mat-toolbar-multiple-rows",Ge._toolbarRows.length>0)("mat-toolbar-single-row",0===Ge._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:T,decls:2,vars:0,template:function(Mt,Ge){1&Mt&&(s.NAR(v),s.SdG(0),s.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: active){.mat-toolbar{outline:solid 1px}}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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;height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}\n"],encapsulation:2,changeDetection:0})}return x})(),B=(()=>{class x{static \u0275fac=function(Mt){return new(Mt||x)};static \u0275mod=s.$C({type:x});static \u0275inj=o.G2t({imports:[y.y,y.y]})}return x})()},6156(tn,Ye,d){"use strict";d.d(Ye,{u:()=>k});var o=d(2615),s=d(3664),h=d(7094),y=d(9338),v=d(5478),T=d(455),M=d(2466);let k=(()=>{class H{static \u0275fac=function(ye){return new(ye||H)};static \u0275mod=s.$C({type:H});static \u0275inj=o.G2t({providers:[T.YZ],imports:[h.Pd,y.z_,M.y,M.y,v.Gj]})}return H})()},455(tn,Ye,d){"use strict";d.d(Ye,{YZ:()=>$e,oV:()=>nt});var o=d(6977),s=d(4085),h=d(7847),y=d(7336),v=d(438),T=d(2615),M=d(3664),k=d(7705),H=d(2200),B=d(9842),x=d(3300),ye=d(4339),He=d(6838),Mt=d(1577),Ge=d(9338),Qe=d(5478),Xe=d(6939),ze=d(1413),Le=d(1804);const ge=["tooltip"],Je=new T.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const hn=(0,T.WQX)(T.zZn);return()=>(0,Ge.RH)(hn,{scrollThrottle:20})}}),$e={provide:Je,deps:[],useFactory:function Ke(hn){const qt=(0,T.WQX)(T.zZn);return()=>(0,Ge.RH)(qt,{scrollThrottle:20})}},q=new T.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function lt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ae="tooltip-panel",he=(0,x.B)({passive:!0});let nt=(()=>{class hn{_elementRef=(0,T.WQX)(M.aKT);_ngZone=(0,T.WQX)(M.SKi);_platform=(0,T.WQX)(B.O);_ariaDescriber=(0,T.WQX)(ye.vr);_focusMonitor=(0,T.WQX)(He.FN);_dir=(0,T.WQX)(Mt.dS);_injector=(0,T.WQX)(T.zZn);
1_viewContainerRef=(0,T.WQX)(M.c1b);_animationsDisabled=(0,Le.Rc)();_defaultOptions=(0,T.WQX)(q,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=cn;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(Te){Te!==this._position&&(this._position=Te,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Te){this._positionAtOrigin=(0,s.he)(Te),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Te){const Pe=(0,s.he)(Te);this._disabled!==Pe&&(this._disabled=Pe,Pe?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(Te){this._showDelay=(0,h.OE)(Te)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(Te){this._hideDelay=(0,h.OE)(Te),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(Te){const Pe=this._message;this._message=null!=Te?String(Te).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(Pe)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(Te){this._tooltipClass=Te,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new ze.B;_isDestroyed=!1;constructor(){const Te=this._defaultOptions;Te&&(this._showDelay=Te.showDelay,this._hideDelay=Te.hideDelay,Te.position&&(this.position=Te.position),Te.positionAtOrigin&&(this.positionAtOrigin=Te.positionAtOrigin),Te.touchGestures&&(this.touchGestures=Te.touchGestures),Te.tooltipClass&&(this.tooltipClass=Te.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,o.Q)(this._destroyed)).subscribe(Te=>{Te?"keyboard"===Te&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Te=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Pe,yt])=>{Te.removeEventListener(Pe,yt,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(Te,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Te)}show(Te=this.showDelay,Pe){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const yt=this._createOverlay(Pe);this._detach(),this._portal=this._portal||new Xe.A8(this._tooltipComponent,this._viewContainerRef);const wt=this._tooltipInstance=yt.attach(this._portal).instance;wt._triggerElement=this._elementRef.nativeElement,wt._mouseLeaveHideDelay=this._hideDelay,wt.afterHidden().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),wt.show(Te)}hide(Te=this.hideDelay){const Pe=this._tooltipInstance;Pe&&(Pe.isVisible()?Pe.hide(Te):(Pe._cancelPendingAnimations(),this._detach()))}toggle(Te){this._isTooltipVisible()?this.hide():this.show(void 0,Te)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Te){if(this._overlayRef){const Ie=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Te)&&Ie._origin instanceof M.aKT)return this._overlayRef;this._detach()}const Pe=this._injector.get(Qe.R).getAncestorScrollContainers(this._elementRef),yt=`${this._cssClassPrefix}-${ae}`,wt=(0,Ge.$M)(this._injector,this.positionAtOrigin&&Te||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Pe);return wt.positionChanges.pipe((0,o.Q)(this._destroyed)).subscribe(Ie=>{this._updateCurrentPositionClass(Ie.connectionPair),this._tooltipInstance&&Ie.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,Ge.Y$)(this._injector,{direction:this._dir,positionStrategy:wt,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,yt]:yt,scrollStrategy:this._injector.get(Je)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,o.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,o.Q)(this._destroyed)).subscribe(Ie=>{this._isTooltipVisible()&&Ie.keyCode===v._f&&!(0,y.rp)(Ie)&&(Ie.preventDefault(),Ie.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,o.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Te){const Pe=Te.getConfig().positionStrategy,yt=this._getOrigin(),wt=this._getOverlayPosition();Pe.withPositions([this._addOffset({...yt.main,...wt.main}),this._addOffset({...yt.fallback,...wt.fallback})])}_addOffset(Te){const yt=!this._dir||"ltr"==this._dir.value;return"top"===Te.originY?Te.offsetY=-8:"bottom"===Te.originY?Te.offsetY=8:"start"===Te.originX?Te.offsetX=yt?-8:8:"end"===Te.originX&&(Te.offsetX=yt?8:-8),Te}_getOrigin(){const Te=!this._dir||"ltr"==this._dir.value,Pe=this.position;let yt;"above"==Pe||"below"==Pe?yt={originX:"center",originY:"above"==Pe?"top":"bottom"}:"before"==Pe||"left"==Pe&&Te||"right"==Pe&&!Te?yt={originX:"start",originY:"center"}:("after"==Pe||"right"==Pe&&Te||"left"==Pe&&!Te)&&(yt={originX:"end",originY:"center"});const{x:wt,y:Ie}=this._invertPosition(yt.originX,yt.originY);return{main:yt,fallback:{originX:wt,originY:Ie}}}_getOverlayPosition(){const Te=!this._dir||"ltr"==this._dir.value,Pe=this.position;let yt;"above"==Pe?yt={overlayX:"center",overlayY:"bottom"}:"below"==Pe?yt={overlayX:"center",overlayY:"top"}:"before"==Pe||"left"==Pe&&Te||"right"==Pe&&!Te?yt={overlayX:"end",overlayY:"center"}:("after"==Pe||"right"==Pe&&Te||"left"==Pe&&!Te)&&(yt={overlayX:"start",overlayY:"center"});const{x:wt,y:Ie}=this._invertPosition(yt.overlayX,yt.overlayY);return{main:yt,fallback:{overlayX:wt,overlayY:Ie}}
1}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,M.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(Te){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Te,this._tooltipInstance._markForCheck())}_invertPosition(Te,Pe){return"above"===this.position||"below"===this.position?"top"===Pe?Pe="bottom":"bottom"===Pe&&(Pe="top"):"end"===Te?Te="start":"start"===Te&&(Te="end"),{x:Te,y:Pe}}_updateCurrentPositionClass(Te){const{overlayY:Pe,originX:yt,originY:wt}=Te;let Ie;if(Ie="center"===Pe?this._dir&&"rtl"===this._dir.value?"end"===yt?"left":"right":"start"===yt?"left":"right":"bottom"===Pe&&"top"===wt?"above":"below",Ie!==this._currentPosition){const ie=this._overlayRef;if(ie){const je=`${this._cssClassPrefix}-${ae}-`;ie.removePanelClass(je+this._currentPosition),ie.addPanelClass(je+Ie)}this._currentPosition=Ie}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Te=>{let Pe;this._setupPointerExitEventsIfNeeded(),void 0!==Te.x&&void 0!==Te.y&&(Pe=Te),this.show(void 0,Pe)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Te=>{const Pe=Te.targetTouches?.[0],yt=Pe?{x:Pe.clientX,y:Pe.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,yt)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Te=[];if(this._platformSupportsMouseEvents())Te.push(["mouseleave",Pe=>{const yt=Pe.relatedTarget;(!yt||!this._overlayRef?.overlayElement.contains(yt))&&this.hide()}],["wheel",Pe=>this._wheelListener(Pe)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Pe=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};Te.push(["touchend",Pe],["touchcancel",Pe])}this._addListeners(Te),this._passiveListeners.push(...Te)}_addListeners(Te){Te.forEach(([Pe,yt])=>{this._elementRef.nativeElement.addEventListener(Pe,yt,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Te){if(this._isTooltipVisible()){const Pe=this._injector.get(T.qQL).elementFromPoint(Te.clientX,Te.clientY),yt=this._elementRef.nativeElement;Pe!==yt&&!yt.contains(Pe)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Te=this.touchGestures;if("off"!==Te){const Pe=this._elementRef.nativeElement,yt=Pe.style;("on"===Te||"INPUT"!==Pe.nodeName&&"TEXTAREA"!==Pe.nodeName)&&(yt.userSelect=yt.msUserSelect=yt.webkitUserSelect=yt.MozUserSelect="none"),("on"===Te||!Pe.draggable)&&(yt.webkitUserDrag="none"),yt.touchAction="none",yt.webkitTapHighlightColor="transparent"}}_syncAriaDescription(Te){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,Te,"tooltip"),this._isDestroyed||(0,M.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275dir=M.FsC({type:hn,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(Pe,yt){2&Pe&&M.AVh("mat-mdc-tooltip-disabled",yt.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return hn})(),cn=(()=>{class hn{_changeDetectorRef=(0,T.WQX)(k.gRc);_elementRef=(0,T.WQX)(M.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,Le.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new ze.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(Te){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Te)}hide(Te){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Te)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:Te}){(!Te||!this._triggerElement.contains(Te))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Te=this._elementRef.nativeElement.getBoundingClientRect();return Te.height>24&&Te.width>=200}_handleAnimationEnd({animationName:Te}){(Te===this._showAnimation||Te===this._hideAnimation)&&this._finalizeAnimation(Te===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Te){Te?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Te){const Pe=this._tooltip.nativeElement,yt=this._showAnimation,wt=this._hideAnimation;if(Pe.classList.remove(Te?wt:yt),Pe.classList.add(Te?yt:wt),this._isVisible!==Te&&(this._isVisible=Te,this._changeDetectorRef.markForCheck()),Te&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ie=getComputedStyle(Pe);("0s"===Ie.getPropertyValue("animation-duration")||"none"===Ie.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Te&&this._onShow(),this._animationsDisabled&&(Pe.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Te))}static \u0275fac=function(Pe){return new(Pe||hn)};static \u0275cmp=M.VBU({type:hn,selectors:[["mat-tooltip-component"]],viewQuery:function(Pe,yt){if(1&Pe&&M.GBs(ge,7),2&Pe){let wt;M.mGM(wt=M.lsd())&&(yt._tooltip=wt.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(Pe,yt){1&Pe&&M.bIt("mouseleave",function(Ie){return yt._handleMouseLeave(Ie)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(Pe,yt){if(1&Pe){const wt=M.RV6();M.j41(0,"div",1,0),M.bIt("animationend",function(ie){return T.eBV(wt),T.Njj(yt._handleAnimationEnd(ie))}),M.j41(2,"div",2),M.EFF(3),M.k0s()()}2&Pe&&(M.AVh("mdc-tooltip--multiline",yt._isMultiline),M.Y8G("ngClass",yt.tooltipClass),M.R7$(3),M.JRh(yt.message))},dependencies:[H.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;
1max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],encapsulation:2,changeDetection:0})}return hn})()},345(tn,Ye,d){"use strict";d.d(Ye,{hE:()=>de,up:()=>Ie});var Ke=d(2615),$e=d(3664);let de=(()=>{class Bn{_doc;constructor(dn){this._doc=dn}getTitle(){return this._doc.title}setTitle(dn){this._doc.title=dn||""}static \u0275fac=function(Tn){return new(Tn||Bn)(Ke.KVO(Ke.qQL))};static \u0275prov=Ke.jDH({token:Bn,factory:Bn.\u0275fac,providedIn:"root"})}return Bn})(),Ie=(()=>{class Bn{static \u0275fac=function(Tn){return new(Tn||Bn)};static \u0275prov=Ke.jDH({token:Bn,factory:function(Tn){let Yn=null;return Yn=Tn?new(Tn||Bn):Ke.KVO(ie),Yn},providedIn:"root"})}return Bn})(),ie=(()=>{class Bn extends Ie{_doc;constructor(dn){super(),this._doc=dn}sanitize(dn,Tn){if(null==Tn)return null;switch(dn){case $e.WPN.NONE:return Tn;case $e.WPN.HTML:return(0,$e.iWE)(Tn,"HTML")?(0,$e.aCM)(Tn):(0,$e.wr$)(this._doc,String(Tn)).toString();case $e.WPN.STYLE:return(0,$e.iWE)(Tn,"Style")?(0,$e.aCM)(Tn):Tn;case $e.WPN.SCRIPT:if((0,$e.iWE)(Tn,"Script"))return(0,$e.aCM)(Tn);throw new Ke.buA(5200,!1);case $e.WPN.URL:return(0,$e.iWE)(Tn,"URL")?(0,$e.aCM)(Tn):(0,$e.gil)(String(Tn));case $e.WPN.RESOURCE_URL:if((0,$e.iWE)(Tn,"ResourceURL"))return(0,$e.aCM)(Tn);throw new Ke.buA(5201,!1);default:throw new Ke.buA(5202,!1)}}bypassSecurityTrustHtml(dn){return(0,$e.PYC)(dn)}bypassSecurityTrustStyle(dn){return(0,$e.rAh)(dn)}bypassSecurityTrustScript(dn){return(0,$e.p2i)(dn)}bypassSecurityTrustUrl(dn){return(0,$e.B1s)(dn)}bypassSecurityTrustResourceUrl(dn){return(0,$e.RPW)(dn)}static \u0275fac=function(Tn){return new(Tn||Bn)(Ke.KVO(Ke.qQL))};static \u0275prov=Ke.jDH({token:Bn,factory:Bn.\u0275fac,providedIn:"root"})}return Bn})()},3694(tn,Ye,d){"use strict";d.d(Ye,{nX:()=>fs,_d:()=>ot,Pu:()=>vl,Zp:()=>br,nU:()=>ci,wU:()=>Ai,c1:()=>fi,XR:()=>ha,wF:()=>Hr,lW:()=>Xs,mo:()=>Ns,Z:()=>Cr,J2:()=>Pa,J_:()=>dl,bw:()=>mc,tD:()=>Hi,Ix:()=>Fl,D$:()=>Ac,n3:()=>kn,OY:()=>bn,Sd:()=>Sn,bK:()=>Tl,gk:()=>xl,Lg:()=>Nl,wO:()=>_n,Us:()=>to,we:()=>ur});var o=d(2615),s=d(7303),h=d(3664),y=d(7705),v=d(9295),T=d(4402),M=d(8455),k=d(7673),H=d(4412),B=d(4572),x=d(9350),ye=d(8793),He=d(9030),Mt=d(1203),Ge=d(8810),Qe=d(983),Xe=d(17),ze=d(1413),Le=d(1985),ge=d(8359),ue=d(6354),kt=d(5558),Je=d(6697),Ke=d(9172),$e=d(5964),lt=d(1397),q=d(1594),de=d(274),ae=d(8141),he=d(9437),Ne=d(2816),ve=d(9901),at=d(9974),Ut=d(4360);function nt(ne){return ne<=0?()=>Qe.w:(0,at.N)((Oe,me)=>{let Re=[];Oe.subscribe((0,Ut._)(me,Rt=>{Re.push(Rt),ne<Re.length&&Re.shift()},()=>{for(const Rt of Re)me.next(Rt);me.complete()},void 0,()=>{Re=null}))})}var cn=d(3774),hn=d(3669),Te=d(980),Pe=d(9898),yt=d(6977),wt=d(345);const Ie="primary",ie=Symbol("RouteTitle");class je{params;constructor(Oe){this.params=Oe||{}}has(Oe){return Object.prototype.hasOwnProperty.call(this.params,Oe)}get(Oe){if(this.has(Oe)){const me=this.params[Oe];return Array.isArray(me)?me[0]:me}return null}getAll(Oe){if(this.has(Oe)){const me=this.params[Oe];return Array.isArray(me)?me:[me]}return[]}get keys(){return Object.keys(this.params)}}function rt(ne){return new je(ne)}function Ze(ne,Oe,me){const Re=me.path.split("/");if(Re.length>ne.length||"full"===me.pathMatch&&(Oe.hasChildren()||Re.length<ne.length))return null;const Rt={};for(let Xt=0;Xt<Re.length;Xt++){const Cn=Re[Xt],mi=ne[Xt];if(":"===Cn[0])Rt[Cn.substring(1)]=mi;else if(Cn!==mi.path)return null}return{consumed:ne.slice(0,Re.length),posParams:Rt}}function Ot(ne,Oe){const me=ne?Me(ne):void 0,Re=Oe?Me(Oe):void 0;if(!me||!Re||me.length!=Re.length)return!1;let Rt;
1for(let Xt=0;Xt<me.length;Xt++)if(Rt=me[Xt],!It(ne[Rt],Oe[Rt]))return!1;return!0}function Me(ne){return[...Object.keys(ne),...Object.getOwnPropertySymbols(ne)]}function It(ne,Oe){if(Array.isArray(ne)&&Array.isArray(Oe)){if(ne.length!==Oe.length)return!1;const me=[...ne].sort(),Re=[...Oe].sort();return me.every((Rt,Xt)=>Re[Xt]===Rt)}return ne===Oe}function Zt(ne){return ne.length>0?ne[ne.length-1]:null}function ti(ne){return(0,T.A)(ne)?ne:(0,h.yLl)(ne)?(0,M.H)(Promise.resolve(ne)):(0,k.of)(ne)}const Wn={exact:function dn(ne,Oe,me){if(!ii(ne.segments,Oe.segments)||!Qn(ne.segments,Oe.segments,me)||ne.numberOfChildren!==Oe.numberOfChildren)return!1;for(const Re in Oe.children)if(!ne.children[Re]||!dn(ne.children[Re],Oe.children[Re],me))return!1;return!0},subset:Yn},mr={exact:function Oi(ne,Oe){return Ot(ne,Oe)},subset:function Tn(ne,Oe){return Object.keys(Oe).length<=Object.keys(ne).length&&Object.keys(Oe).every(me=>It(ne[me],Oe[me]))},ignored:()=>!0};function Bn(ne,Oe,me){return Wn[me.paths](ne.root,Oe.root,me.matrixParams)&&mr[me.queryParams](ne.queryParams,Oe.queryParams)&&!("exact"===me.fragment&&ne.fragment!==Oe.fragment)}function Yn(ne,Oe,me){return _(ne,Oe,Oe.segments,me)}function _(ne,Oe,me,Re){if(ne.segments.length>me.length){const Rt=ne.segments.slice(0,me.length);return!(!ii(Rt,me)||Oe.hasChildren()||!Qn(Rt,me,Re))}if(ne.segments.length===me.length){if(!ii(ne.segments,me)||!Qn(ne.segments,me,Re))return!1;for(const Rt in Oe.children)if(!ne.children[Rt]||!Yn(ne.children[Rt],Oe.children[Rt],Re))return!1;return!0}{const Rt=me.slice(0,ne.segments.length),Xt=me.slice(ne.segments.length);return!!(ii(ne.segments,Rt)&&Qn(ne.segments,Rt,Re)&&ne.children[Ie])&&_(ne.children[Ie],Oe,Xt,Re)}}function Qn(ne,Oe,me){return Oe.every((Re,Rt)=>mr[me](ne[Rt].parameters,Re.parameters))}class di{root;queryParams;fragment;_queryParamMap;constructor(Oe=new ai([],{}),me={},Re=null){this.root=Oe,this.queryParams=me,this.fragment=Re}get queryParamMap(){return this._queryParamMap??=rt(this.queryParams),this._queryParamMap}toString(){return Un.serialize(this)}}class ai{segments;children;parent=null;constructor(Oe,me){this.segments=Oe,this.children=me,Object.values(me).forEach(Re=>Re.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class pi{path;parameters;_parameterMap;constructor(Oe,me){this.path=Oe,this.parameters=me}get parameterMap(){return this._parameterMap??=rt(this.parameters),this._parameterMap}toString(){return Ue(this)}}function ii(ne,Oe){return ne.length===Oe.length&&ne.every((me,Re)=>me.path===Oe[Re].path)}let Sn=(()=>{class ne{static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:()=>new ci,providedIn:"root"})}return ne})();class ci{parse(Oe){const me=new wi(Oe);return new di(me.parseRootSegment(),me.parseQueryParams(),me.parseFragment())}serialize(Oe){const me=`/${Vt(Oe.root,!0)}`,Re=function fe(ne){const Oe=Object.entries(ne).map(([me,Re])=>Array.isArray(Re)?Re.map(Rt=>`${Ae(me)}=${Ae(Rt)}`).join("&"):`${Ae(me)}=${Ae(Re)}`).filter(me=>me);return Oe.length?`?${Oe.join("&")}`:""}(Oe.queryParams);return`${me}${Re}${"string"==typeof Oe.fragment?`#${function xe(ne){return encodeURI(ne)}(Oe.fragment)}`:""}`}}const Un=new ci;function fr(ne){return ne.segments.map(Oe=>Ue(Oe)).join("/")}function Vt(ne,Oe){if(!ne.hasChildren())return fr(ne);if(Oe){const me=ne.children[Ie]?Vt(ne.children[Ie],!1):"",Re=[];return Object.entries(ne.children).forEach(([Rt,Xt])=>{Rt!==Ie&&Re.push(`${Rt}:${Vt(Xt,!1)}`)}),Re.length>0?`${me}(${Re.join("//")})`:me}{const me=function rr(ne,Oe){let me=[];return Object.entries(ne.children).forEach(([Re,Rt])=>{Re===Ie&&(me=me.concat(Oe(Rt,Re)))}),Object.entries(ne.children).forEach(([Re,Rt])=>{Re!==Ie&&(me=me.concat(Oe(Rt,Re)))}),me}(ne,(Re,Rt)=>Rt===Ie?[Vt(ne.children[Ie],!1)]:[`${Rt}:${Vt(Re,!1)}`]);return 1===Object.keys(ne.children).length&&null!=ne.children[Ie]?`${fr(ne)}/${me[0]}`:`${fr(ne)}/(${me.join("//")})`}}function un(ne){return encodeURIComponent(ne).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ae(ne){return un(ne).replace(/%3B/gi,";")}function z(ne){return un(ne).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ee(ne){return decodeURIComponent(ne)}function Ce(ne){return Ee(ne.replace(/\+/g,"%20"))}function Ue(ne){return`${z(ne.path)}${function Tt(ne){return Object.entries(ne).map(([Oe,me])=>`;${z(Oe)}=${z(me)}`).join("")}(ne.parameters)}`}const we=/^[^\/()?;#]+/;function _e(ne){const Oe=ne.match(we);return Oe?Oe[0]:""}const L=/^[^\/()?;=#]+/,X=/^[^=?&#]+/,Yt=/^[^&#]+/;class wi{url;remaining;constructor(Oe){this.url=Oe,this.remaining=Oe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ai([],{}):new ai([],this.parseChildren())}parseQueryParams(){const Oe={};if(this.consumeOptional("?"))do{this.parseQueryParam(Oe)}while(this.consumeOptional("&"));return Oe}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Oe=[];for(this.peekStartsWith("(")||Oe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Oe.push(this.parseSegment());let me={};this.peekStartsWith("/(")&&(this.capture("/"),me=this.parseParens(!0));let Re={};return this.peekStartsWith("(")&&(Re=this.parseParens(!1)),(Oe.length>0||Object.keys(me).length>0)&&(Re[Ie]=new ai(Oe,me)),Re}parseSegment(){const Oe=_e(this.remaining);if(""===Oe&&this.peekStartsWith(";"))throw new o.buA(4009,!1);return this.capture(Oe),new pi(Ee(Oe),this.parseMatrixParams())}parseMatrixParams(){const Oe={};for(;this.consumeOptional(";");)this.parseParam(Oe);return Oe}parseParam(Oe){const me=function j(ne){const Oe=ne.match(L);return Oe?Oe[0]:""}(this.remaining);if(!me)return;this.capture(me);let Re="";if(this.consumeOptional("=")){const Rt=_e(this.remaining);Rt&&(Re=Rt,this.capture(Re))}Oe[Ee(me)]=Ee(Re)}parseQueryParam(Oe){const me=function qe(ne){const Oe=ne.match(X);return Oe?Oe[0]:""}(this.remaining);if(!me)return;this.capture(me);let Re="";if(this.consumeOptional("=")){const Cn=function On(ne){const Oe=ne.match(Yt);return Oe?Oe[0]:""}(this.remaining);Cn&&(Re=Cn,this.capture(Re))}const Rt=Ce(me),Xt=Ce(Re);if(Oe.hasOwnProperty(Rt)){let Cn=Oe[Rt];Array.isArray(Cn)||(Cn=[Cn],Oe[Rt]=Cn),Cn.push(Xt)}else Oe[Rt]=Xt}parseParens(Oe){const me={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Re=_e(this.remaining),Rt=this.remaining[Re.length];if("/"!==Rt&&")"!==Rt&&";"!==Rt)throw new o.buA(4010,!1);let Xt;Re.indexOf(":")>-1?(Xt=Re.slice(0,Re.indexOf(":")),this.capture(Xt),this.capture(":")):Oe&&(Xt=Ie);const Cn=this.parseChildren();me[Xt??Ie]=1===Object.keys(Cn).length&&Cn[Ie]?Cn[Ie]:new ai([],Cn),this.consumeOptional("//")}return me}peekStartsWith(Oe){return this.remaining.startsWith(Oe)}consumeOptional(Oe){return!!this.peekStartsWith(Oe)&&(this.remaining=this.remaining.substring(Oe.length),!0)}capture(Oe){if(!this.consumeOptional(Oe))throw new o.buA(4011,!1)}}function Qi(ne){return ne.segments.length>0?new ai([],{[Ie]:ne}):ne}function Tr(ne){const Oe={};for(const[Re,Rt]of Object.entries(ne.children)){const Xt=Tr(Rt);if(Re===Ie&&0===Xt.segments.length&&Xt.hasChildren())for(const[Cn,mi]of Object.entries(Xt.children))Oe[Cn]=mi;else(Xt.segments.length>0||Xt.hasChildren())&&(Oe[Re]=Xt)}return function Er(ne){if(1===ne.numberOfChildren&&ne.children[Ie]){const Oe=ne.children[Ie];return new ai(ne.segments.concat(Oe.segments),Oe.children)}return ne}(new ai(ne.segments,Oe))}function _n(ne){return ne instanceof di}function Pt(ne){let Oe;const Rt=Qi(function me(Xt){const Cn={};for(const Zi of Xt.children){const Ar=me(Zi);Cn[Zi.outlet]=Ar}const mi=new ai(Xt.url,Cn);return Xt===ne&&(Oe=mi),mi}(ne.root));return Oe??Rt}function ke(ne,Oe,me,Re){let Rt=ne;for(;Rt.parent;)Rt=Rt.parent;if(0===Oe.length)return et(Rt,Rt,Rt,me,Re);const Xt=function gt(ne){if("string"==typeof ne[0]&&1===ne.length&&"/"===ne[0])return new Zn(!0,0,ne);let Oe=0,me=!1;const Re=ne.reduce((Rt,Xt,Cn)=>{if("object"==typeof Xt&&null!=Xt){if(Xt.outlets){const mi={};return Object.entries(Xt.outlets).forEach(([Zi,Ar])=>{mi[Zi]="string"==typeof Ar?Ar.split("/"):Ar}),[...Rt,{outlets:mi}]}if(Xt.segmentPath)return[...Rt,Xt.segmentPath]}return"string"!=typeof Xt?[...Rt,Xt]:0===Cn?(Xt.split("/").forEach((mi,Zi)=>{0==Zi&&"."===mi||(0==Zi&&""===mi?me=!0:".."===mi?Oe++:""!=mi&&Rt.push(mi))}),Rt):[...Rt,Xt]},[]);return new Zn(me,Oe,Re)}(Oe);if(Xt.toRoot())return et(Rt,Rt,new ai([],{}),me,Re);const Cn=function ft(ne,Oe,me){if(ne.isAbsolute)return new zn(Oe,!0,0);if(!me)return new zn(Oe,!1,NaN);if(null===me.parent)return new zn(me,!0,0);const Re=De(ne.commands[0])?0:1;return function Bt(ne,Oe,me){let Re=ne,Rt=Oe,Xt=me;for(;Xt>Rt;){if(Xt-=Rt,Re=Re.parent,!Re)throw new o.buA(4005,!1);Rt=Re.segments.length}return new zn(Re,!1,Rt-Xt)}(me,me.segments.length-1+Re,ne.numberOfDoubleDots)}(Xt,Rt,ne),mi=Cn.processChildren?Gi(Cn.segmentGroup,Cn.index,Xt.commands):Ti(Cn.segmentGroup,Cn.index,Xt.commands);return et(Rt,Cn.segmentGroup,mi,me,Re)}function De(ne){return"object"==typeof ne&&null!=ne&&!ne.outlets&&!ne.segmentPath}function _t(ne){return"object"==typeof ne&&null!=ne&&ne.outlets}function et(ne,Oe,me,Re,Rt){let Cn,Xt={};Re&&Object.entries(Re).forEach(([Zi,Ar])=>{Xt[Zi]=Array.isArray(Ar)?Ar.map(Ur=>`${Ur}`):`${Ar}`}),Cn=ne===Oe?me:Rn(ne,Oe,me);const mi=Qi(Tr(Cn));return new di(mi,Xt,Rt)}function Rn(ne,Oe,me){const Re={};
1return Object.entries(ne.children).forEach(([Rt,Xt])=>{Re[Rt]=Xt===Oe?me:Rn(Xt,Oe,me)}),new ai(ne.segments,Re)}class Zn{isAbsolute;numberOfDoubleDots;commands;constructor(Oe,me,Re){if(this.isAbsolute=Oe,this.numberOfDoubleDots=me,this.commands=Re,Oe&&Re.length>0&&De(Re[0]))throw new o.buA(4003,!1);const Rt=Re.find(_t);if(Rt&&Rt!==Zt(Re))throw new o.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class zn{segmentGroup;processChildren;index;constructor(Oe,me,Re){this.segmentGroup=Oe,this.processChildren=me,this.index=Re}}function Ti(ne,Oe,me){if(ne??=new ai([],{}),0===ne.segments.length&&ne.hasChildren())return Gi(ne,Oe,me);const Re=function Mr(ne,Oe,me){let Re=0,Rt=Oe;const Xt={match:!1,pathIndex:0,commandIndex:0};for(;Rt<ne.segments.length;){if(Re>=me.length)return Xt;const Cn=ne.segments[Rt],mi=me[Re];if(_t(mi))break;const Zi=`${mi}`,Ar=Re<me.length-1?me[Re+1]:null;if(Rt>0&&void 0===Zi)break;if(Zi&&Ar&&"object"==typeof Ar&&void 0===Ar.outlets){if(!Di(Zi,Ar,Cn))return Xt;Re+=2}else{if(!Di(Zi,{},Cn))return Xt;Re++}Rt++}return{match:!0,pathIndex:Rt,commandIndex:Re}}(ne,Oe,me),Rt=me.slice(Re.commandIndex);if(Re.match&&Re.pathIndex<ne.segments.length){const Xt=new ai(ne.segments.slice(0,Re.pathIndex),{});return Xt.children[Ie]=new ai(ne.segments.slice(Re.pathIndex),ne.children),Gi(Xt,0,Rt)}return Re.match&&0===Rt.length?new ai(ne.segments,{}):Re.match&&!ne.hasChildren()?$t(ne,Oe,me):Re.match?Gi(ne,0,Rt):$t(ne,Oe,me)}function Gi(ne,Oe,me){if(0===me.length)return new ai(ne.segments,{});{const Re=function xn(ne){return _t(ne[0])?ne[0].outlets:{[Ie]:ne}}(me),Rt={};if(Object.keys(Re).some(Xt=>Xt!==Ie)&&ne.children[Ie]&&1===ne.numberOfChildren&&0===ne.children[Ie].segments.length){const Xt=Gi(ne.children[Ie],Oe,me);return new ai(ne.segments,Xt.children)}return Object.entries(Re).forEach(([Xt,Cn])=>{"string"==typeof Cn&&(Cn=[Cn]),null!==Cn&&(Rt[Xt]=Ti(ne.children[Xt],Oe,Cn))}),Object.entries(ne.children).forEach(([Xt,Cn])=>{void 0===Re[Xt]&&(Rt[Xt]=Cn)}),new ai(ne.segments,Rt)}}function $t(ne,Oe,me){const Re=ne.segments.slice(0,Oe);let Rt=0;for(;Rt<me.length;){const Xt=me[Rt];if(_t(Xt)){const Zi=wn(Xt.outlets);return new ai(Re,Zi)}if(0===Rt&&De(me[0])){Re.push(new pi(ne.segments[Oe].path,In(me[0]))),Rt++;continue}const Cn=_t(Xt)?Xt.outlets[Ie]:`${Xt}`,mi=Rt<me.length-1?me[Rt+1]:null;Cn&&mi&&De(mi)?(Re.push(new pi(Cn,In(mi))),Rt+=2):(Re.push(new pi(Cn,{})),Rt++)}return new ai(Re,{})}function wn(ne){const Oe={};return Object.entries(ne).forEach(([me,Re])=>{"string"==typeof Re&&(Re=[Re]),null!==Re&&(Oe[me]=$t(new ai([],{}),0,Re))}),Oe}function In(ne){const Oe={};return Object.entries(ne).forEach(([me,Re])=>Oe[me]=`${Re}`),Oe}function Di(ne,Oe,me){return ne==me.path&&Ot(Oe,me.parameters)}const Ai="imperative";var ki=function(ne){return ne[ne.NavigationStart=0]="NavigationStart",ne[ne.NavigationEnd=1]="NavigationEnd",ne[ne.NavigationCancel=2]="NavigationCancel",ne[ne.NavigationError=3]="NavigationError",ne[ne.RoutesRecognized=4]="RoutesRecognized",ne[ne.ResolveStart=5]="ResolveStart",ne[ne.ResolveEnd=6]="ResolveEnd",ne[ne.GuardsCheckStart=7]="GuardsCheckStart",ne[ne.GuardsCheckEnd=8]="GuardsCheckEnd",ne[ne.RouteConfigLoadStart=9]="RouteConfigLoadStart",ne[ne.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",ne[ne.ChildActivationStart=11]="ChildActivationStart",ne[ne.ChildActivationEnd=12]="ChildActivationEnd",ne[ne.ActivationStart=13]="ActivationStart",ne[ne.ActivationEnd=14]="ActivationEnd",ne[ne.Scroll=15]="Scroll",ne[ne.NavigationSkipped=16]="NavigationSkipped",ne}(ki||{});class _r{id;url;constructor(Oe,me){this.id=Oe,this.url=me}}class Cr extends _r{type=ki.NavigationStart;navigationTrigger;restoredState;constructor(Oe,me,Re="imperative",Rt=null){super(Oe,me),this.navigationTrigger=Re,this.restoredState=Rt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Hr extends _r{urlAfterRedirects;type=ki.NavigationEnd;constructor(Oe,me,Re){super(Oe,me),this.urlAfterRedirects=Re}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}
1var $r=function(ne){return ne[ne.Redirect=0]="Redirect",ne[ne.SupersededByNewNavigation=1]="SupersededByNewNavigation",ne[ne.NoDataFromResolver=2]="NoDataFromResolver",ne[ne.GuardRejected=3]="GuardRejected",ne[ne.Aborted=4]="Aborted",ne}($r||{}),Ns=function(ne){return ne[ne.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ne[ne.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ne}(Ns||{});class Cs extends _r{reason;code;type=ki.NavigationCancel;constructor(Oe,me,Re,Rt){super(Oe,me),this.reason=Re,this.code=Rt}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xs extends _r{reason;code;type=ki.NavigationSkipped;constructor(Oe,me,Re,Rt){super(Oe,me),this.reason=Re,this.code=Rt}}class Fs extends _r{error;target;type=ki.NavigationError;constructor(Oe,me,Re,Rt){super(Oe,me),this.error=Re,this.target=Rt}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class po extends _r{urlAfterRedirects;state;type=ki.RoutesRecognized;constructor(Oe,me,Re,Rt){super(Oe,me),this.urlAfterRedirects=Re,this.state=Rt}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ks extends _r{urlAfterRedirects;state;type=ki.GuardsCheckStart;constructor(Oe,me,Re,Rt){super(Oe,me),this.urlAfterRedirects=Re,this.state=Rt}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class as extends _r{urlAfterRedirects;state;shouldActivate;type=ki.GuardsCheckEnd;constructor(Oe,me,Re,Rt,Xt){super(Oe,me),this.urlAfterRedirects=Re,this.state=Rt,this.shouldActivate=Xt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Pn extends _r{urlAfterRedirects;state;type=ki.ResolveStart;constructor(Oe,me,Re,Rt){super(Oe,me),this.urlAfterRedirects=Re,this.state=Rt}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vi extends _r{urlAfterRedirects;state;type=ki.ResolveEnd;constructor(Oe,me,Re,Rt){super(Oe,me),this.urlAfterRedirects=Re,this.state=Rt}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ni{route;type=ki.RouteConfigLoadStart;constructor(Oe){this.route=Oe}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jt{route;type=ki.RouteConfigLoadEnd;constructor(Oe){this.route=Oe}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ri{snapshot;type=ki.ChildActivationStart;constructor(Oe){this.snapshot=Oe}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q{snapshot;type=ki.ChildActivationEnd;constructor(Oe){this.snapshot=Oe}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class st{snapshot;type=ki.ActivationStart;constructor(Oe){this.snapshot=Oe}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ot{snapshot;type=ki.ActivationEnd;constructor(Oe){this.snapshot=Oe}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bn{routerEvent;position;anchor;type=ki.Scroll;constructor(Oe,me,Re){this.routerEvent=Oe,this.position=me,this.anchor=Re}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _i{}class Yr{url;navigationBehaviorOptions;constructor(Oe,me){this.url=Oe,this.navigationBehaviorOptions=me}}function to(ne){switch(ne.type){case ki.ActivationEnd:return`ActivationEnd(path: '${ne.snapshot.routeConfig?.path||""}')`;case ki.ActivationStart:return`ActivationStart(path: '${ne.snapshot.routeConfig?.path||""}')`;case ki.ChildActivationEnd:return`ChildActivationEnd(path: '${ne.snapshot.routeConfig?.path||""}')`;case ki.ChildActivationStart:return`ChildActivationStart(path: '${ne.snapshot.routeConfig?.path||""}')`;case ki.GuardsCheckEnd:return`GuardsCheckEnd(id: ${ne.id}, url: '${ne.url}', urlAfterRedirects: '${ne.urlAfterRedirects}', state: ${ne.state}, shouldActivate: ${ne.shouldActivate})`;case ki.GuardsCheckStart:return`GuardsCheckStart(id: ${ne.id}, url: '${ne.url}', urlAfterRedirects: '${ne.urlAfterRedirects}', state: ${ne.state})`;case ki.NavigationCancel:return`NavigationCancel(id: ${ne.id}, url: '${ne.url}')`;case ki.NavigationSkipped:return`NavigationSkipped(id: ${ne.id}, url: '${ne.url}')`;case ki.NavigationEnd:return`NavigationEnd(id: ${ne.id}, url: '${ne.url}', urlAfterRedirects: '${ne.urlAfterRedirects}')`;case ki.NavigationError:return`NavigationError(id: ${ne.id}, url: '${ne.url}', error: ${ne.error})`;case ki.NavigationStart:return`NavigationStart(id: ${ne.id}, url: '${ne.url}')`;case ki.ResolveEnd:return`ResolveEnd(id: ${ne.id}, url: '${ne.url}', urlAfterRedirects: '${ne.urlAfterRedirects}', state: ${ne.state})`;case ki.ResolveStart:return`ResolveStart(id: ${ne.id}, url: '${ne.url}', urlAfterRedirects: '${ne.urlAfterRedirects}', state: ${ne.state})`;case ki.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${ne.route.path})`;case ki.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${ne.route.path})`;case ki.RoutesRecognized:return`RoutesRecognized(id: ${ne.id}, url: '${ne.url}', urlAfterRedirects: '${ne.urlAfterRedirects}', state: ${ne.state})`;case ki.Scroll:return`Scroll(anchor: '${ne.anchor}', position: '${ne.position?`${ne.position[0]}, ${ne.position[1]}`:null}')`}}function Lt(ne){return ne.outlet||Ie}function dt(ne){if(!ne)return null;if(ne.routeConfig?._injector)return ne.routeConfig._injector;for(let Oe=ne.parent;Oe;Oe=Oe.parent){const me=Oe.routeConfig;if(me?._loadedInjector)return me._loadedInjector;if(me?._injector)return me._injector}return null}class qi{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return dt(this.route?.snapshot)??this.rootInjector}constructor(Oe){this.rootInjector=Oe,this.children=new br(this.rootInjector)}}let br=(()=>{class ne{rootInjector;contexts=new Map;constructor(me){this.rootInjector=me}onChildOutletCreated(me,Re){const Rt=this.getOrCreateContext(me);Rt.outlet=Re,this.contexts.set(me,Rt)}onChildOutletDestroyed(me){const Re=this.getContext(me);Re&&(Re.outlet=null,Re.attachRef=null)}onOutletDeactivated(){const me=this.contexts;return this.contexts=new Map,me}onOutletReAttached(me){this.contexts=me}getOrCreateContext(me){let Re=this.getContext(me);return Re||(Re=new qi(this.rootInjector),this.contexts.set(me,Re)),Re}getContext(me){return this.contexts.get(me)||null}static \u0275fac=function(Re){return new(Re||ne)(o.KVO(o.uvJ))};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();class $i{_root;constructor(Oe){this._root=Oe}get root(){return this._root.value}
1parent(Oe){const me=this.pathFromRoot(Oe);return me.length>1?me[me.length-2]:null}children(Oe){const me=Es(Oe,this._root);return me?me.children.map(Re=>Re.value):[]}firstChild(Oe){const me=Es(Oe,this._root);return me&&me.children.length>0?me.children[0].value:null}siblings(Oe){const me=Mn(Oe,this._root);return me.length<2?[]:me[me.length-2].children.map(Rt=>Rt.value).filter(Rt=>Rt!==Oe)}pathFromRoot(Oe){return Mn(Oe,this._root).map(me=>me.value)}}function Es(ne,Oe){if(ne===Oe.value)return Oe;for(const me of Oe.children){const Re=Es(ne,me);if(Re)return Re}return null}function Mn(ne,Oe){if(ne===Oe.value)return[Oe];for(const me of Oe.children){const Re=Mn(ne,me);if(Re.length)return Re.unshift(Oe),Re}return[]}class Fn{value;children;constructor(Oe,me){this.value=Oe,this.children=me}toString(){return`TreeNode(${this.value})`}}function Vn(ne){const Oe={};return ne&&ne.children.forEach(me=>Oe[me.value.outlet]=me),Oe}class Ii extends $i{snapshot;constructor(Oe,me){super(Oe),this.snapshot=me,Jo(this,Oe)}toString(){return this.snapshot.toString()}}function Ui(ne){const Oe=function Rr(ne){const Xt=new ls([],{},{},"",{},Ie,ne,null,{});return new ds("",new Fn(Xt,[]))}(ne),me=new H.t([new pi("",{})]),Re=new H.t({}),Rt=new H.t({}),Xt=new H.t({}),Cn=new H.t(""),mi=new fs(me,Re,Xt,Cn,Rt,Ie,ne,Oe.root);return mi.snapshot=Oe.root,new Ii(new Fn(mi,[]),Oe)}class fs{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(Oe,me,Re,Rt,Xt,Cn,mi,Zi){this.urlSubject=Oe,this.paramsSubject=me,this.queryParamsSubject=Re,this.fragmentSubject=Rt,this.dataSubject=Xt,this.outlet=Cn,this.component=mi,this._futureSnapshot=Zi,this.title=this.dataSubject?.pipe((0,ue.T)(Ar=>Ar[ie]))??(0,k.of)(void 0),this.url=Oe,this.params=me,this.queryParams=Re,this.fragment=Rt,this.data=Xt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,ue.T)(Oe=>rt(Oe))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ue.T)(Oe=>rt(Oe))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Rs(ne,Oe,me="emptyOnly"){let Re;const{routeConfig:Rt}=ne;return Re=null===Oe||"always"!==me&&""!==Rt?.path&&(Oe.component||Oe.routeConfig?.loadComponent)?{params:{...ne.params},data:{...ne.data},resolve:{...ne.data,...ne._resolvedData??{}}}:{params:{...Oe.params,...ne.params},data:{...Oe.data,...ne.data},resolve:{...ne.data,...Oe.data,...Rt?.data,...ne._resolvedData}},Rt&&Ct(Rt)&&(Re.resolve[ie]=Rt.title),Re}class ls{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ie]}constructor(Oe,me,Re,Rt,Xt,Cn,mi,Zi,Ar){this.url=Oe,this.params=me,this.queryParams=Re,this.fragment=Rt,this.data=Xt,this.outlet=Cn,this.component=mi,this.routeConfig=Zi,this._resolve=Ar}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??=rt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=rt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Re=>Re.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ds extends $i{url;constructor(Oe,me){super(me),this.url=Oe,Jo(this,me)}toString(){return Zo(this._root)}}function Jo(ne,Oe){Oe.value._routerState=ne,Oe.children.forEach(me=>Jo(ne,me))}function Zo(ne){const Oe=ne.children.length>0?` { ${ne.children.map(Zo).join(", ")} } `:"";return`${ne.value}${Oe}`}function As(ne){if(ne.snapshot){const Oe=ne.snapshot,me=ne._futureSnapshot;ne.snapshot=me,Ot(Oe.queryParams,me.queryParams)||ne.queryParamsSubject.next(me.queryParams),Oe.fragment!==me.fragment&&ne.fragmentSubject.next(me.fragment),Ot(Oe.params,me.params)||ne.paramsSubject.next(me.params),function We(ne,Oe){if(ne.length!==Oe.length)return!1;for(let me=0;me<ne.length;++me)if(!Ot(ne[me],Oe[me]))return!1;return!0}(Oe.url,me.url)||ne.urlSubject.next(me.url),Ot(Oe.data,me.data)||ne.dataSubject.next(me.data)}else ne.snapshot=ne._futureSnapshot,ne.dataSubject.next(ne._futureSnapshot.data)}function kl(ne,Oe){const me=Ot(ne.params,Oe.params)&&function Vi(ne,Oe){return ii(ne,Oe)&&ne.every((me,Re)=>Ot(me.parameters,Oe[Re].parameters))}(ne.url,Oe.url);return me&&!(!ne.parent!=!Oe.parent)&&(!ne.parent||kl(ne.parent,Oe.parent))}function Ct(ne){return"string"==typeof ne.title||null===ne.title}const xt=new o.nKC("");let kn=(()=>{class ne{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Ie;activateEvents=new h.bkB;deactivateEvents=new h.bkB;attachEvents=new h.bkB;detachEvents=new h.bkB;routerOutletData=(0,y.hFB)();parentContexts=(0,o.WQX)(br);location=(0,o.WQX)(h.c1b);changeDetector=(0,o.WQX)(y.gRc);inputBinder=(0,o.WQX)(fi,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(me){if(me.name){const{firstChange:Re,previousValue:Rt}=me.name;if(Re)return;this.isTrackedInParentContexts(Rt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Rt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(me){return this.parentContexts.getContext(me)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const me=this.parentContexts.getContext(this.name);me?.route&&(me.attachRef?this.attach(me.attachRef,me.route):this.activateWith(me.route,me.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.buA(4012,!1);this.location.detach();const me=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(me.instance),me}attach(me,Re){this.activated=me,this._activatedRoute=Re,this.location.insert(me.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(me.instance)}deactivate(){if(this.activated){const me=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(me)}
1}activateWith(me,Re){if(this.isActivated)throw new o.buA(4013,!1);this._activatedRoute=me;const Rt=this.location,Cn=me.snapshot.component,mi=this.parentContexts.getOrCreateContext(this.name).children,Zi=new Hn(me,mi,Rt.injector,this.routerOutletData);this.activated=Rt.createComponent(Cn,{index:Rt.length,injector:Zi,environmentInjector:Re}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(Re){return new(Re||ne)};static \u0275dir=h.FsC({type:ne,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[h.OA$]})}return ne})();class Hn{route;childContexts;parent;outletData;constructor(Oe,me,Re,Rt){this.route=Oe,this.childContexts=me,this.parent=Re,this.outletData=Rt}get(Oe,me){return Oe===fs?this.route:Oe===br?this.childContexts:Oe===xt?this.outletData:this.parent.get(Oe,me)}}const fi=new o.nKC("");let Hi=(()=>{class ne{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(me){this.unsubscribeFromRouteData(me),this.subscribeToRouteData(me)}unsubscribeFromRouteData(me){this.outletDataSubscriptions.get(me)?.unsubscribe(),this.outletDataSubscriptions.delete(me)}subscribeToRouteData(me){const{activatedRoute:Re}=me,Rt=(0,B.z)([Re.queryParams,Re.params,Re.data]).pipe((0,kt.n)(([Xt,Cn,mi],Zi)=>(mi={...Xt,...Cn,...mi},0===Zi?(0,k.of)(mi):Promise.resolve(mi)))).subscribe(Xt=>{if(!me.isActivated||!me.activatedComponentRef||me.activatedRoute!==Re||null===Re.component)return void this.unsubscribeFromRouteData(me);const Cn=(0,y.HJs)(Re.component);if(Cn)for(const{templateName:mi}of Cn.inputs)me.activatedComponentRef.setInput(mi,Xt[mi]);else this.unsubscribeFromRouteData(me)});this.outletDataSubscriptions.set(me,Rt)}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac})}return ne})(),ur=(()=>{class ne{static \u0275fac=function(Re){return new(Re||ne)};static \u0275cmp=h.VBU({type:ne,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(Re,Rt){1&Re&&h.nrm(0,"router-outlet")},dependencies:[kn],encapsulation:2})}return ne})();function Lr(ne){const Oe=ne.children&&ne.children.map(Lr),me=Oe?{...ne,children:Oe}:{...ne};return!me.component&&!me.loadComponent&&(Oe||me.loadChildren)&&me.outlet&&me.outlet!==Ie&&(me.component=ur),me}function is(ne,Oe,me){if(me&&ne.shouldReuseRoute(Oe.value,me.value.snapshot)){const Re=me.value;Re._futureSnapshot=Oe.value;const Rt=function Gr(ne,Oe,me){return Oe.children.map(Re=>{for(const Rt of me.children)if(ne.shouldReuseRoute(Re.value,Rt.value.snapshot))return is(ne,Re,Rt);return is(ne,Re)})}(ne,Oe,me);return new Fn(Re,Rt)}{if(ne.shouldAttach(Oe.value)){const Xt=ne.retrieve(Oe.value);if(null!==Xt){const Cn=Xt.route;return Cn.value._futureSnapshot=Oe.value,Cn.children=Oe.children.map(mi=>is(ne,mi)),Cn}}const Re=function lo(ne){return new fs(new H.t(ne.url),new H.t(ne.params),new H.t(ne.queryParams),new H.t(ne.fragment),new H.t(ne.data),ne.outlet,ne.component,ne)}(Oe.value),Rt=Oe.children.map(Xt=>is(ne,Xt));return new Fn(Re,Rt)}}class ms{redirectTo;navigationBehaviorOptions;constructor(Oe,me){this.redirectTo=Oe,this.navigationBehaviorOptions=me}}const Gs="ngNavigationCancelingError";function No(ne,Oe){const{redirectTo:me,navigationBehaviorOptions:Re}=_n(Oe)?{redirectTo:Oe,navigationBehaviorOptions:void 0}:Oe,Rt=Do(!1,$r.Redirect);return Rt.url=me,Rt.navigationBehaviorOptions=Re,Rt}function Do(ne,Oe){const me=new Error(`NavigationCancelingError: ${ne||""}`);return me[Gs]=!0,me.cancellationCode=Oe,me}function qo(ne){return!!ne&&ne[Gs]}class Uo{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(Oe,me,Re,Rt,Xt){this.routeReuseStrategy=Oe,this.futureState=me,this.currState=Re,this.forwardEvent=Rt,this.inputBindingEnabled=Xt}activate(Oe){const me=this.futureState._root,Re=this.currState?this.currState._root:null;this.deactivateChildRoutes(me,Re,Oe),As(this.futureState.root),this.activateChildRoutes(me,Re,Oe)}deactivateChildRoutes(Oe,me,Re){const Rt=Vn(me);
1Oe.children.forEach(Xt=>{const Cn=Xt.value.outlet;this.deactivateRoutes(Xt,Rt[Cn],Re),delete Rt[Cn]}),Object.values(Rt).forEach(Xt=>{this.deactivateRouteAndItsChildren(Xt,Re)})}deactivateRoutes(Oe,me,Re){const Rt=Oe.value,Xt=me?me.value:null;if(Rt===Xt)if(Rt.component){const Cn=Re.getContext(Rt.outlet);Cn&&this.deactivateChildRoutes(Oe,me,Cn.children)}else this.deactivateChildRoutes(Oe,me,Re);else Xt&&this.deactivateRouteAndItsChildren(me,Re)}deactivateRouteAndItsChildren(Oe,me){Oe.value.component&&this.routeReuseStrategy.shouldDetach(Oe.value.snapshot)?this.detachAndStoreRouteSubtree(Oe,me):this.deactivateRouteAndOutlet(Oe,me)}detachAndStoreRouteSubtree(Oe,me){const Re=me.getContext(Oe.value.outlet),Rt=Re&&Oe.value.component?Re.children:me,Xt=Vn(Oe);for(const Cn of Object.values(Xt))this.deactivateRouteAndItsChildren(Cn,Rt);if(Re&&Re.outlet){const Cn=Re.outlet.detach(),mi=Re.children.onOutletDeactivated();this.routeReuseStrategy.store(Oe.value.snapshot,{componentRef:Cn,route:Oe,contexts:mi})}}deactivateRouteAndOutlet(Oe,me){const Re=me.getContext(Oe.value.outlet),Rt=Re&&Oe.value.component?Re.children:me,Xt=Vn(Oe);for(const Cn of Object.values(Xt))this.deactivateRouteAndItsChildren(Cn,Rt);Re&&(Re.outlet&&(Re.outlet.deactivate(),Re.children.onOutletDeactivated()),Re.attachRef=null,Re.route=null)}activateChildRoutes(Oe,me,Re){const Rt=Vn(me);Oe.children.forEach(Xt=>{this.activateRoutes(Xt,Rt[Xt.value.outlet],Re),this.forwardEvent(new ot(Xt.value.snapshot))}),Oe.children.length&&this.forwardEvent(new Q(Oe.value.snapshot))}activateRoutes(Oe,me,Re){const Rt=Oe.value,Xt=me?me.value:null;if(As(Rt),Rt===Xt)if(Rt.component){const Cn=Re.getOrCreateContext(Rt.outlet);this.activateChildRoutes(Oe,me,Cn.children)}else this.activateChildRoutes(Oe,me,Re);else if(Rt.component){const Cn=Re.getOrCreateContext(Rt.outlet);if(this.routeReuseStrategy.shouldAttach(Rt.snapshot)){const mi=this.routeReuseStrategy.retrieve(Rt.snapshot);this.routeReuseStrategy.store(Rt.snapshot,null),Cn.children.onOutletReAttached(mi.contexts),Cn.attachRef=mi.componentRef,Cn.route=mi.route.value,Cn.outlet&&Cn.outlet.attach(mi.componentRef,mi.route.value),As(mi.route.value),this.activateChildRoutes(Oe,null,Cn.children)}else Cn.attachRef=null,Cn.route=Rt,Cn.outlet&&Cn.outlet.activateWith(Rt,Cn.injector),this.activateChildRoutes(Oe,null,Cn.children)}else this.activateChildRoutes(Oe,null,Re)}}class no{path;route;constructor(Oe){this.path=Oe,this.route=this.path[this.path.length-1]}}class la{component;route;constructor(Oe,me){this.component=Oe,this.route=me}}function Ka(ne,Oe,me){const Re=ne._root;return ll(Re,Oe?Oe._root:null,me,[Re.value])}function cs(ne,Oe){const me=Symbol(),Re=Oe.get(ne,me);return Re===me?"function"!=typeof ne||(0,o.muV)(ne)?Oe.get(ne):ne:Re}function ll(ne,Oe,me,Re,Rt={canDeactivateChecks:[],canActivateChecks:[]}){const Xt=Vn(Oe);return ne.children.forEach(Cn=>{(function wo(ne,Oe,me,Re,Rt={canDeactivateChecks:[],canActivateChecks:[]}){const Xt=ne.value,Cn=Oe?Oe.value:null,mi=me?me.getContext(ne.value.outlet):null;if(Cn&&Xt.routeConfig===Cn.routeConfig){const Zi=function wl(ne,Oe,me){if("function"==typeof me)return me(ne,Oe);switch(me){case"pathParamsChange":return!ii(ne.url,Oe.url);case"pathParamsOrQueryParamsChange":return!ii(ne.url,Oe.url)||!Ot(ne.queryParams,Oe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!kl(ne,Oe)||!Ot(ne.queryParams,Oe.queryParams);default:return!kl(ne,Oe)}}(Cn,Xt,Xt.routeConfig.runGuardsAndResolvers);Zi?Rt.canActivateChecks.push(new no(Re)):(Xt.data=Cn.data,Xt._resolvedData=Cn._resolvedData),ll(ne,Oe,Xt.component?mi?mi.children:null:me,Re,Rt),Zi&&mi&&mi.outlet&&mi.outlet.isActivated&&Rt.canDeactivateChecks.push(new la(mi.outlet.component,Cn))}else Cn&&Us(Oe,mi,Rt),Rt.canActivateChecks.push(new no(Re)),ll(ne,null,Xt.component?mi?mi.children:null:me,Re,Rt)})(Cn,Xt[Cn.value.outlet],me,Re.concat([Cn.value]),Rt),delete Xt[Cn.value.outlet]}),Object.entries(Xt).forEach(([Cn,mi])=>Us(mi,me.getContext(Cn),Rt)),Rt}function Us(ne,Oe,me){const Re=Vn(ne),Rt=ne.value;Object.entries(Re).forEach(([Xt,Cn])=>{Us(Cn,Rt.component?Oe?Oe.children.getContext(Xt):null:Oe,me)}),me.canDeactivateChecks.push(new la(Rt.component&&Oe&&Oe.outlet&&Oe.outlet.isActivated?Oe.outlet.component:null,Rt))}function Ps(ne){return"function"==typeof ne}function ca(ne){return ne instanceof x.G||"EmptyError"===ne?.name}const Ea=Symbol("INITIAL_VALUE");function Mo(){return(0,kt.n)(ne=>(0,B.z)(ne.map(Oe=>Oe.pipe((0,Je.s)(1),(0,Ke.Z)(Ea)))).pipe((0,ue.T)(Oe=>{for(const me of Oe)if(!0!==me){if(me===Ea)return Ea;if(!1===me||pa(me))return me}return!0}),(0,$e.p)(Oe=>Oe!==Ea),(0,Je.s)(1)))}function pa(ne){return _n(ne)||ne instanceof ms}function Ln(ne){return(0,Mt.F)((0,ae.M)(Oe=>{if("boolean"!=typeof Oe)throw No(0,Oe)}),(0,ue.T)(Oe=>!0===Oe))}class Ds{segmentGroup;constructor(Oe){this.segmentGroup=Oe||null}}
1class _o extends Error{urlTree;constructor(Oe){super(),this.urlTree=Oe}}function Yo(ne){return(0,Ge.$)(new Ds(ne))}function Da(ne){return(0,Ge.$)(new o.buA(4e3,!1))}class ja{urlSerializer;urlTree;constructor(Oe,me){this.urlSerializer=Oe,this.urlTree=me}lineralizeSegments(Oe,me){let Re=[],Rt=me.root;for(;;){if(Re=Re.concat(Rt.segments),0===Rt.numberOfChildren)return(0,k.of)(Re);if(Rt.numberOfChildren>1||!Rt.children[Ie])return Da();Rt=Rt.children[Ie]}}applyRedirectCommands(Oe,me,Re,Rt,Xt){return function Ya(ne,Oe,me){if("string"==typeof ne)return(0,k.of)(ne);const Re=ne,{queryParams:Rt,fragment:Xt,routeConfig:Cn,url:mi,outlet:Zi,params:Ar,data:Ur,title:_a}=Oe;return ti((0,o.N4e)(me,()=>Re({params:Ar,data:Ur,queryParams:Rt,fragment:Xt,routeConfig:Cn,url:mi,outlet:Zi,title:_a})))}(me,Rt,Xt).pipe((0,ue.T)(Cn=>{if(Cn instanceof di)throw new _o(Cn);const mi=this.applyRedirectCreateUrlTree(Cn,this.urlSerializer.parse(Cn),Oe,Re);if("/"===Cn[0])throw new _o(mi);return mi}))}applyRedirectCreateUrlTree(Oe,me,Re,Rt){const Xt=this.createSegmentGroup(Oe,me.root,Re,Rt);return new di(Xt,this.createQueryParams(me.queryParams,this.urlTree.queryParams),me.fragment)}createQueryParams(Oe,me){const Re={};return Object.entries(Oe).forEach(([Rt,Xt])=>{if("string"==typeof Xt&&":"===Xt[0]){const mi=Xt.substring(1);Re[Rt]=me[mi]}else Re[Rt]=Xt}),Re}createSegmentGroup(Oe,me,Re,Rt){const Xt=this.createSegments(Oe,me.segments,Re,Rt);let Cn={};return Object.entries(me.children).forEach(([mi,Zi])=>{Cn[mi]=this.createSegmentGroup(Oe,Zi,Re,Rt)}),new ai(Xt,Cn)}createSegments(Oe,me,Re,Rt){return me.map(Xt=>":"===Xt.path[0]?this.findPosParam(Oe,Xt,Rt):this.findOrReturn(Xt,Re))}findPosParam(Oe,me,Re){const Rt=Re[me.path.substring(1)];if(!Rt)throw new o.buA(4001,!1);return Rt}findOrReturn(Oe,me){let Re=0;for(const Rt of me){if(Rt.path===Oe.path)return me.splice(Re),Rt;Re++}return Oe}}const cl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ra(ne,Oe,me,Re,Rt){const Xt=gi(ne,Oe,me);return Xt.matched?(Re=function Ho(ne,Oe){return ne.providers&&!ne._injector&&(ne._injector=(0,h.Ol2)(ne.providers,Oe,`Route: ${ne.path}`)),ne._injector??Oe}(Oe,Re),function Qr(ne,Oe,me,Re){const Rt=Oe.canMatch;if(!Rt||0===Rt.length)return(0,k.of)(!0);const Xt=Rt.map(Cn=>{const mi=cs(Cn,ne);return ti(function Fo(ne){return ne&&Ps(ne.canMatch)}(mi)?mi.canMatch(Oe,me):(0,o.N4e)(ne,()=>mi(Oe,me)))});return(0,k.of)(Xt).pipe(Mo(),Ln())}(Re,Oe,me).pipe((0,ue.T)(Cn=>!0===Cn?Xt:{...cl}))):(0,k.of)(Xt)}function gi(ne,Oe,me){if("**"===Oe.path)return function gr(ne){return{matched:!0,parameters:ne.length>0?Zt(ne).parameters:{},consumedSegments:ne,remainingSegments:[],positionalParamSegments:{}}}(me);if(""===Oe.path)return"full"===Oe.pathMatch&&(ne.hasChildren()||me.length>0)?{...cl}:{matched:!0,consumedSegments:[],remainingSegments:me,parameters:{},positionalParamSegments:{}};const Rt=(Oe.matcher||Ze)(me,ne,Oe);if(!Rt)return{...cl};const Xt={};Object.entries(Rt.posParams??{}).forEach(([mi,Zi])=>{Xt[mi]=Zi.path});const Cn=Rt.consumed.length>0?{...Xt,...Rt.consumed[Rt.consumed.length-1].parameters}:Xt;return{matched:!0,consumedSegments:Rt.consumed,remainingSegments:me.slice(Rt.consumed.length),parameters:Cn,positionalParamSegments:Rt.posParams??{}}}function ct(ne,Oe,me,Re){return me.length>0&&function yr(ne,Oe,me){return me.some(Re=>ho(ne,Oe,Re)&&Lt(Re)!==Ie)}(ne,me,Re)?{segmentGroup:new ai(Oe,oi(Re,new ai(me,ne.children))),slicedSegments:[]}:0===me.length&&function Xr(ne,Oe,me){return me.some(Re=>ho(ne,Oe,Re))}(ne,me,Re)?{segmentGroup:new ai(ne.segments,En(ne,me,Re,ne.children)),slicedSegments:me}:{segmentGroup:new ai(ne.segments,ne.children),slicedSegments:me}}function En(ne,Oe,me,Re){const Rt={};for(const Xt of me)if(ho(ne,Oe,Xt)&&!Re[Lt(Xt)]){const Cn=new ai([],{});Rt[Lt(Xt)]=Cn}return{...Re,...Rt}}function oi(ne,Oe){const me={};me[Ie]=Oe;for(const Re of ne)if(""===Re.path&&Lt(Re)!==Ie){const Rt=new ai([],{});me[Lt(Re)]=Rt}return me}function ho(ne,Oe,me){return(!(ne.hasChildren()||Oe.length>0)||"full"!==me.pathMatch)&&""===me.path}class nr{}class Bs{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(Oe,me,Re,Rt,Xt,Cn,mi){this.injector=Oe,this.configLoader=me,this.rootComponentType=Re,this.config=Rt,this.urlTree=Xt,this.paramsInheritanceStrategy=Cn,this.urlSerializer
1=mi,this.applyRedirects=new ja(this.urlSerializer,this.urlTree)}noMatchError(Oe){return new o.buA(4002,`'${Oe.segmentGroup}'`)}recognize(){const Oe=ct(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Oe).pipe((0,ue.T)(({children:me,rootSnapshot:Re})=>{const Rt=new Fn(Re,me),Xt=new ds("",Rt),Cn=function an(ne,Oe,me=null,Re=null){return ke(Pt(ne),Oe,me,Re)}(Re,[],this.urlTree.queryParams,this.urlTree.fragment);return Cn.queryParams=this.urlTree.queryParams,Xt.url=this.urlSerializer.serialize(Cn),{state:Xt,tree:Cn}}))}match(Oe){const me=new ls([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Ie,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,Oe,Ie,me).pipe((0,ue.T)(Re=>({children:Re,rootSnapshot:me})),(0,he.W)(Re=>{if(Re instanceof _o)return this.urlTree=Re.urlTree,this.match(Re.urlTree.root);throw Re instanceof Ds?this.noMatchError(Re):Re}))}processSegmentGroup(Oe,me,Re,Rt,Xt){return 0===Re.segments.length&&Re.hasChildren()?this.processChildren(Oe,me,Re,Xt):this.processSegment(Oe,me,Re,Re.segments,Rt,!0,Xt).pipe((0,ue.T)(Cn=>Cn instanceof Fn?[Cn]:[]))}processChildren(Oe,me,Re,Rt){const Xt=[];for(const Cn of Object.keys(Re.children))"primary"===Cn?Xt.unshift(Cn):Xt.push(Cn);return(0,M.H)(Xt).pipe((0,de.H)(Cn=>{const mi=Re.children[Cn],Zi=function sn(ne,Oe){const me=ne.filter(Re=>Lt(Re)===Oe);return me.push(...ne.filter(Re=>Lt(Re)!==Oe)),me}(me,Cn);return this.processSegmentGroup(Oe,Zi,mi,Cn,Rt)}),(0,Ne.S)((Cn,mi)=>(Cn.push(...mi),Cn)),(0,ve.U)(null),function qt(ne,Oe){const me=arguments.length>=2;return Re=>Re.pipe(ne?(0,$e.p)((Rt,Xt)=>ne(Rt,Xt,Re)):hn.D,nt(1),me?(0,ve.U)(Oe):(0,cn.v)(()=>new x.G))}(),(0,lt.Z)(Cn=>{if(null===Cn)return Yo(Re);const mi=eo(Cn);return function Qs(ne){ne.sort((Oe,me)=>Oe.value.outlet===Ie?-1:me.value.outlet===Ie?1:Oe.value.outlet.localeCompare(me.value.outlet))}(mi),(0,k.of)(mi)}))}processSegment(Oe,me,Re,Rt,Xt,Cn,mi){return(0,M.H)(me).pipe((0,de.H)(Zi=>this.processSegmentAgainstRoute(Zi._injector??Oe,me,Zi,Re,Rt,Xt,Cn,mi).pipe((0,he.W)(Ar=>{if(Ar instanceof Ds)return(0,k.of)(null);throw Ar}))),(0,q.$)(Zi=>!!Zi),(0,he.W)(Zi=>{if(ca(Zi))return function ri(ne,Oe,me){return 0===Oe.length&&!ne.children[me]}(Re,Rt,Xt)?(0,k.of)(new nr):Yo(Re);throw Zi}))}processSegmentAgainstRoute(Oe,me,Re,Rt,Xt,Cn,mi,Zi){return Lt(Re)===Cn||Cn!==Ie&&ho(Rt,Xt,Re)?void 0===Re.redirectTo?this.matchSegmentAgainstRoute(Oe,Rt,Re,Xt,Cn,Zi):this.allowRedirects&&mi?this.expandSegmentAgainstRouteUsingRedirect(Oe,Rt,me,Re,Xt,Cn,Zi):Yo(Rt):Yo(Rt)}expandSegmentAgainstRouteUsingRedirect(Oe,me,Re,Rt,Xt,Cn,mi){const{matched:Zi,parameters:Ar,consumedSegments:Ur,positionalParamSegments:_a,remainingSegments:Ta}=gi(me,Rt,Xt);if(!Zi)return Yo(me);"string"==typeof Rt.redirectTo&&"/"===Rt.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Oa=new ls(Xt,Ar,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cc(Rt),Lt(Rt),Rt.component??Rt._loadedComponent??null,Rt,nl(Rt)),pr=Rs(Oa,mi,this.paramsInheritanceStrategy);return Oa.params=Object.freeze(pr.params),Oa.data=Object.freeze(pr.data),this.applyRedirects.applyRedirectCommands(Ur,Rt.redirectTo,_a,Oa,Oe).pipe((0,kt.n)(So=>this.applyRedirects.lineralizeSegments(Rt,So)),(0,lt.Z)(So=>this.processSegment(Oe,Re,me,So.concat(Ta),Cn,!1,mi)))}matchSegmentAgainstRoute(Oe,me,Re,Rt,Xt,Cn){const mi=Ra(me,Re,Rt,Oe);return"**"===Re.path&&(me.children={}),mi.pipe((0,kt.n)(Zi=>Zi.matched?this.getChildConfig(Oe=Re._injector??Oe,Re,Rt).pipe((0,kt.n)(({routes:Ar})=>{const Ur=Re._loadedInjector??Oe,{parameters:_a,consumedSegments:Ta,remainingSegments:Oa}=Zi,pr=new ls(Ta,_a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cc(Re),Lt(Re),Re.component??Re._loadedComponent??null,Re,nl(Re)),io=Rs(pr,Cn,this.paramsInheritanceStrategy);pr.params=Object.freeze(io.params),pr.data=Object.freeze(io.data);const{segmentGroup:So,slicedSegments:Bl}=ct(me,Ta,Oa,Ar);if(0===Bl.length&&So.hasChildren())return this.processChildren(Ur,Ar,So,pr).pipe((0,ue.T)(ao=>new Fn(pr,ao)));if(0===Ar.length&&0===Bl.length)return(0,k.of)(new Fn(pr,[]));const xc=Lt(Re)===Xt;return this.processSegment(Ur,Ar,So,Bl,xc?Ie:Xt,!0,pr).pipe((0,ue.T)(ao=>new Fn(pr,ao instanceof Fn?[ao]:[])))})):Yo(me)))}getChildConfig(Oe,me,Re){return me.children?(0,k.of)({routes:me.children,injector:Oe}):me.loadChildren?void 0!==me._loadedRoutes?(0,k.of)({routes:me._loadedRoutes,injector:me._loadedInjector}):function Gt(ne,Oe,me,Re){const Rt=Oe.canLoad;if(void 0===Rt||0===Rt.length)return(0,k.of)(!0);const Xt=Rt.map(Cn=>{const mi=cs(Cn,ne);return ti(function ea(ne){return ne&&Ps(ne.canLoad)}(mi)?mi.canLoad(Oe,me):(0,o.N4e)(ne,()=>mi(Oe,me)))});return(0,k.of)(Xt).pipe(Mo(),Ln())}(Oe,me,Re).pipe((0,lt.Z)(Rt=>Rt?this.configLoader.loadChildren(Oe,me).pipe((0,ae.M)(Xt=>{me._loadedRoutes=Xt.routes,me._loadedInjector=Xt.injector})):function Ha(){return(0,Ge.$)(Do(!1,$r.GuardRejected))}
1())):(0,k.of)({routes:[],injector:Oe})}}function qs(ne){const Oe=ne.value.routeConfig;return Oe&&""===Oe.path}function eo(ne){const Oe=[],me=new Set;for(const Re of ne){if(!qs(Re)){Oe.push(Re);continue}const Rt=Oe.find(Xt=>Re.value.routeConfig===Xt.value.routeConfig);void 0!==Rt?(Rt.children.push(...Re.children),me.add(Rt)):Oe.push(Re)}for(const Re of me){const Rt=eo(Re.children);Oe.push(new Fn(Re.value,Rt))}return Oe.filter(Re=>!me.has(Re))}function Cc(ne){return ne.data||{}}function nl(ne){return ne.resolve||{}}function il(ne){const Oe=ne.children.map(me=>il(me)).flat();return[ne,...Oe]}function wa(ne){return(0,kt.n)(Oe=>{const me=ne(Oe);return me?(0,M.H)(me).pipe((0,ue.T)(()=>Oe)):(0,k.of)(Oe)})}let fc=(()=>{class ne{buildTitle(me){let Re,Rt=me.root;for(;void 0!==Rt;)Re=this.getResolvedTitleForRoute(Rt)??Re,Rt=Rt.children.find(Xt=>Xt.outlet===Ie);return Re}getResolvedTitleForRoute(me){return me.data[ie]}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:()=>(0,o.WQX)(gl),providedIn:"root"})}return ne})(),gl=(()=>{class ne extends fc{title;constructor(me){super(),this.title=me}updateTitle(me){const Re=this.buildTitle(me);void 0!==Re&&this.title.setTitle(Re)}static \u0275fac=function(Re){return new(Re||ne)(o.KVO(wt.hE))};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();const dl=new o.nKC("",{providedIn:"root",factory:()=>({})}),mc=new o.nKC("");let Ac=(()=>{class ne{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,o.WQX)(h.Ql9);loadComponent(me,Re){if(this.componentLoaders.get(Re))return this.componentLoaders.get(Re);if(Re._loadedComponent)return(0,k.of)(Re._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Re);const Rt=ti((0,o.N4e)(me,()=>Re.loadComponent())).pipe((0,ue.T)(Fa),(0,kt.n)(Ll),(0,ae.M)(Cn=>{this.onLoadEndListener&&this.onLoadEndListener(Re),Re._loadedComponent=Cn}),(0,Te.j)(()=>{this.componentLoaders.delete(Re)})),Xt=new Xe.G(Rt,()=>new ze.B).pipe((0,Pe.B)());return this.componentLoaders.set(Re,Xt),Xt}loadChildren(me,Re){if(this.childrenLoaders.get(Re))return this.childrenLoaders.get(Re);if(Re._loadedRoutes)return(0,k.of)({routes:Re._loadedRoutes,injector:Re._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Re);const Xt=function Ws(ne,Oe,me,Re){return ti((0,o.N4e)(me,()=>ne.loadChildren())).pipe((0,ue.T)(Fa),(0,kt.n)(Ll),(0,lt.Z)(Rt=>Rt instanceof h.PYt||Array.isArray(Rt)?(0,k.of)(Rt):(0,M.H)(Oe.compileModuleAsync(Rt))),(0,ue.T)(Rt=>{Re&&Re(ne);let Xt,Cn,mi=!1;return Array.isArray(Rt)?(Cn=Rt,!0):(Xt=Rt.create(me).injector,Cn=Xt.get(mc,[],{optional:!0,self:!0}).flat()),{routes:Cn.map(Lr),injector:Xt}}))}(Re,this.compiler,me,this.onLoadEndListener).pipe((0,Te.j)(()=>{this.childrenLoaders.delete(Re)})),Cn=new Xe.G(Xt,()=>new ze.B).pipe((0,Pe.B)());return this.childrenLoaders.set(Re,Cn),Cn}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();function Fa(ne){return function go(ne){return ne&&"object"==typeof ne&&"default"in ne}(ne)?ne.default:ne}function Ll(ne){return(0,k.of)(ne)}let Go=(()=>{class ne{static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:()=>(0,o.WQX)(kc),providedIn:"root"})}return ne})(),kc=(()=>{class ne{shouldProcessUrl(me){return!0}extract(me){return me}merge(me,Re){return me}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();const vl=new o.nKC(""),Tl=new o.nKC("");function Nl(ne,Oe,me){const Re=ne.get(Tl),Rt=ne.get(o.qQL);if(!Rt.startViewTransition||Re.skipNextTransition)return Re.skipNextTransition=!1,new Promise(Ar=>setTimeout(Ar));let Xt;const Cn=new Promise(Ar=>{Xt=Ar}),mi=Rt.startViewTransition(()=>(Xt(),function vs(ne){return new Promise(Oe=>{(0,h.mal)({read:()=>setTimeout(Oe)},{injector:ne})})}(ne)));mi.ready.catch(Ar=>{});const{onViewTransitionCreated:Zi}=Re;return Zi&&(0,o.N4e)(ne,()=>Zi({transition:mi,from:Oe,to:me})),Cn}const ha=new o.nKC("");let Pa=(()=>{class ne{currentNavigation=(0,o.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ze.B;
1transitionAbortWithErrorSubject=new ze.B;configLoader=(0,o.WQX)(Ac);environmentInjector=(0,o.WQX)(o.uvJ);destroyRef=(0,o.WQX)(o.abz);urlSerializer=(0,o.WQX)(Sn);rootContexts=(0,o.WQX)(br);location=(0,o.WQX)(s.aZ);inputBindingEnabled=null!==(0,o.WQX)(fi,{optional:!0});titleStrategy=(0,o.WQX)(fc);options=(0,o.WQX)(dl,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,o.WQX)(Go);createViewTransition=(0,o.WQX)(vl,{optional:!0});navigationErrorHandler=(0,o.WQX)(ha,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,k.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=Rt=>this.events.next(new Jt(Rt)),this.configLoader.onLoadStartListener=Rt=>this.events.next(new Ni(Rt)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(me){const Re=++this.navigationId;(0,v.O8)(()=>{this.transitions?.next({...me,extractedUrl:this.urlHandlingStrategy.extract(me.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:Re})})}setupNavigations(me){return this.transitions=new H.t(null),this.transitions.pipe((0,$e.p)(Re=>null!==Re),(0,kt.n)(Re=>{let Rt=!1;return(0,k.of)(Re).pipe((0,kt.n)(Xt=>{if(this.navigationId>Re.id)return this.cancelNavigationTransition(Re,"",$r.SupersededByNewNavigation),Qe.w;this.currentTransition=Re,this.currentNavigation.set({id:Xt.id,initialUrl:Xt.rawUrl,extractedUrl:Xt.extractedUrl,targetBrowserUrl:"string"==typeof Xt.extras.browserUrl?this.urlSerializer.parse(Xt.extras.browserUrl):Xt.extras.browserUrl,trigger:Xt.source,extras:Xt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>Xt.abortController.abort()});const Cn=!me.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Cn&&"reload"!==(Xt.extras.onSameUrlNavigation??me.onSameUrlNavigation))return this.events.next(new Xs(Xt.id,this.urlSerializer.serialize(Xt.rawUrl),"",Ns.IgnoredSameUrlNavigation)),Xt.resolve(!1),Qe.w;if(this.urlHandlingStrategy.shouldProcessUrl(Xt.rawUrl))return(0,k.of)(Xt).pipe((0,kt.n)(Zi=>(this.events.next(new Cr(Zi.id,this.urlSerializer.serialize(Zi.extractedUrl),Zi.source,Zi.restoredState)),Zi.id!==this.navigationId?Qe.w:Promise.resolve(Zi))),function Sl(ne,Oe,me,Re,Rt,Xt){return(0,lt.Z)(Cn=>function Pi(ne,Oe,me,Re,Rt,Xt,Cn="emptyOnly"){return new Bs(ne,Oe,me,Re,Rt,Cn,Xt).recognize()}(ne,Oe,me,Re,Cn.extractedUrl,Rt,Xt).pipe((0,ue.T)(({state:mi,tree:Zi})=>({...Cn,targetSnapshot:mi,urlAfterRedirects:Zi}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,me.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ae.M)(Zi=>{Re.targetSnapshot=Zi.targetSnapshot,Re.urlAfterRedirects=Zi.urlAfterRedirects,this.currentNavigation.update(Ur=>(Ur.finalUrl=Zi.urlAfterRedirects,Ur));const Ar=new po(Zi.id,this.urlSerializer.serialize(Zi.extractedUrl),this.urlSerializer.serialize(Zi.urlAfterRedirects),Zi.targetSnapshot);this.events.next(Ar)}));if(Cn&&this.urlHandlingStrategy.shouldProcessUrl(Xt.currentRawUrl)){const{id:Zi,extractedUrl:Ar,source:Ur,restoredState:_a,extras:Ta}=Xt,Oa=new Cr(Zi,this.urlSerializer.serialize(Ar),Ur,_a);this.events.next(Oa);const pr=Ui(this.rootComponentType).snapshot;return this.currentTransition=Re={...Xt,targetSnapshot:pr,urlAfterRedirects:Ar,extras:{...Ta,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(io=>(io.finalUrl=Ar,io)),(0,k.of)(Re)}return this.events.next(new Xs(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),"",Ns.IgnoredByUrlHandlingStrategy)),Xt.resolve(!1),Qe.w}),(0,ae.M)(Xt=>{const Cn=new Ks(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot);this.events.next(Cn)}),(0,ue.T)(Xt=>(this.currentTransition=Re={...Xt,guards:Ka(Xt.targetSnapshot,Xt.currentSnapshot,this.rootContexts)},Re)),function xa(ne,Oe){return(0,lt.Z)(me=>{const{targetSnapshot:Re,currentSnapshot:Rt,guards:{canActivateChecks:Xt,canDeactivateChecks:Cn}}=me;return 0===Cn.length&&0===Xt.length?(0,k.of)({...me,guardsResult:!0}):function Kr(ne,Oe,me,Re){return(0,M.H)(ne).pipe((0,lt.Z)(Rt=>function pe(ne,Oe,me,Re,Rt){const Xt=Oe&&Oe.routeConfig?Oe.routeConfig.canDeactivate:null;if(!Xt||0===Xt.length)return(0,k.of)(!0);
1const Cn=Xt.map(mi=>{const Zi=dt(Oe)??Rt,Ar=cs(mi,Zi);return ti(function Sa(ne){return ne&&Ps(ne.canDeactivate)}(Ar)?Ar.canDeactivate(ne,Oe,me,Re):(0,o.N4e)(Zi,()=>Ar(ne,Oe,me,Re))).pipe((0,q.$)())});return(0,k.of)(Cn).pipe(Mo())}(Rt.component,Rt.route,me,Oe,Re)),(0,q.$)(Rt=>!0!==Rt,!0))}(Cn,Re,Rt,ne).pipe((0,lt.Z)(mi=>mi&&function ba(ne){return"boolean"==typeof ne}(mi)?function _l(ne,Oe,me,Re){return(0,M.H)(Oe).pipe((0,de.H)(Rt=>(0,ye.x)(function tl(ne,Oe){return null!==ne&&Oe&&Oe(new Ri(ne)),(0,k.of)(!0)}(Rt.route.parent,Re),function el(ne,Oe){return null!==ne&&Oe&&Oe(new st(ne)),(0,k.of)(!0)}(Rt.route,Re),function Et(ne,Oe,me){const Re=Oe[Oe.length-1],Xt=Oe.slice(0,Oe.length-1).reverse().map(Cn=>function Qa(ne){const Oe=ne.routeConfig?ne.routeConfig.canActivateChild:null;return Oe&&0!==Oe.length?{node:ne,guards:Oe}:null}(Cn)).filter(Cn=>null!==Cn).map(Cn=>(0,He.v)(()=>{const mi=Cn.guards.map(Zi=>{const Ar=dt(Cn.node)??me,Ur=cs(Zi,Ar);return ti(function pl(ne){return ne&&Ps(ne.canActivateChild)}(Ur)?Ur.canActivateChild(Re,ne):(0,o.N4e)(Ar,()=>Ur(Re,ne))).pipe((0,q.$)())});return(0,k.of)(mi).pipe(Mo())}));return(0,k.of)(Xt).pipe(Mo())}(ne,Rt.path,me),function tt(ne,Oe,me){const Re=Oe.routeConfig?Oe.routeConfig.canActivate:null;if(!Re||0===Re.length)return(0,k.of)(!0);const Rt=Re.map(Xt=>(0,He.v)(()=>{const Cn=dt(Oe)??me,mi=cs(Xt,Cn);return ti(function Os(ne){return ne&&Ps(ne.canActivate)}(mi)?mi.canActivate(Oe,ne):(0,o.N4e)(Cn,()=>mi(Oe,ne))).pipe((0,q.$)())}));return(0,k.of)(Rt).pipe(Mo())}(ne,Rt.route,me))),(0,q.$)(Rt=>!0!==Rt,!0))}(Re,Xt,ne,Oe):(0,k.of)(mi)),(0,ue.T)(mi=>({...me,guardsResult:mi})))})}(this.environmentInjector,Xt=>this.events.next(Xt)),(0,ae.M)(Xt=>{if(Re.guardsResult=Xt.guardsResult,Xt.guardsResult&&"boolean"!=typeof Xt.guardsResult)throw No(0,Xt.guardsResult);const Cn=new as(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects),Xt.targetSnapshot,!!Xt.guardsResult);this.events.next(Cn)}),(0,$e.p)(Xt=>!!Xt.guardsResult||(this.cancelNavigationTransition(Xt,"",$r.GuardRejected),!1)),wa(Xt=>{if(0!==Xt.guards.canActivateChecks.length)return(0,k.of)(Xt).pipe((0,ae.M)(Cn=>{const mi=new Pn(Cn.id,this.urlSerializer.serialize(Cn.extractedUrl),this.urlSerializer.serialize(Cn.urlAfterRedirects),Cn.targetSnapshot);this.events.next(mi)}),(0,kt.n)(Cn=>{let mi=!1;return(0,k.of)(Cn).pipe(function uc(ne,Oe){return(0,lt.Z)(me=>{const{targetSnapshot:Re,guards:{canActivateChecks:Rt}}=me;if(!Rt.length)return(0,k.of)(me);const Xt=new Set(Rt.map(Zi=>Zi.route)),Cn=new Set;for(const Zi of Xt)if(!Cn.has(Zi))for(const Ar of il(Zi))Cn.add(Ar);let mi=0;return(0,M.H)(Cn).pipe((0,de.H)(Zi=>Xt.has(Zi)?function da(ne,Oe,me,Re){const Rt=ne.routeConfig,Xt=ne._resolve;return void 0!==Rt?.title&&!Ct(Rt)&&(Xt[ie]=Rt.title),(0,He.v)(()=>(ne.data=Rs(ne,ne.parent,me).resolve,function hc(ne,Oe,me,Re){const Rt=Me(ne);if(0===Rt.length)return(0,k.of)({});const Xt={};return(0,M.H)(Rt).pipe((0,lt.Z)(Cn=>function ps(ne,Oe,me,Re){const Rt=dt(Oe)??Re,Xt=cs(ne,Rt);return ti(Xt.resolve?Xt.resolve(Oe,me):(0,o.N4e)(Rt,()=>Xt(Oe,me)))}(ne[Cn],Oe,me,Re).pipe((0,q.$)(),(0,ae.M)(mi=>{if(mi instanceof ms)throw No(new ci,mi);Xt[Cn]=mi}
1))),nt(1),(0,ue.T)(()=>Xt),(0,he.W)(Cn=>ca(Cn)?Qe.w:(0,Ge.$)(Cn)))}(Xt,ne,Oe,Re).pipe((0,ue.T)(Cn=>(ne._resolvedData=Cn,ne.data={...ne.data,...Cn},null)))))}(Zi,Re,ne,Oe):(Zi.data=Rs(Zi,Zi.parent,ne).resolve,(0,k.of)(void 0))),(0,ae.M)(()=>mi++),nt(1),(0,lt.Z)(Zi=>mi===Cn.size?(0,k.of)(me):Qe.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,ae.M)({next:()=>mi=!0,complete:()=>{mi||this.cancelNavigationTransition(Cn,"",$r.NoDataFromResolver)}}))}),(0,ae.M)(Cn=>{const mi=new vi(Cn.id,this.urlSerializer.serialize(Cn.extractedUrl),this.urlSerializer.serialize(Cn.urlAfterRedirects),Cn.targetSnapshot);this.events.next(mi)}))}),wa(Xt=>{const Cn=mi=>{const Zi=[];if(mi.routeConfig?.loadComponent){const Ar=dt(mi)??this.environmentInjector;Zi.push(this.configLoader.loadComponent(Ar,mi.routeConfig).pipe((0,ae.M)(Ur=>{mi.component=Ur}),(0,ue.T)(()=>{})))}for(const Ar of mi.children)Zi.push(...Cn(Ar));return Zi};return(0,B.z)(Cn(Xt.targetSnapshot.root)).pipe((0,ve.U)(null),(0,Je.s)(1))}),wa(()=>this.afterPreactivation()),(0,kt.n)(()=>{const{currentSnapshot:Xt,targetSnapshot:Cn}=Re,mi=this.createViewTransition?.(this.environmentInjector,Xt.root,Cn.root);return mi?(0,M.H)(mi).pipe((0,ue.T)(()=>Re)):(0,k.of)(Re)}),(0,ue.T)(Xt=>{const Cn=function Or(ne,Oe,me){const Re=is(ne,Oe._root,me?me._root:void 0);return new Ii(Re,Oe)}(me.routeReuseStrategy,Xt.targetSnapshot,Xt.currentRouterState);return this.currentTransition=Re={...Xt,targetRouterState:Cn},this.currentNavigation.update(mi=>(mi.targetRouterState=Cn,mi)),Re}),(0,ae.M)(()=>{this.events.next(new _i)}),((ne,Oe,me,Re)=>(0,ue.T)(Rt=>(new Uo(Oe,Rt.targetRouterState,Rt.currentRouterState,me,Re).activate(ne),Rt)))(this.rootContexts,me.routeReuseStrategy,Xt=>this.events.next(Xt),this.inputBindingEnabled),(0,Je.s)(1),(0,yt.Q)(new Le.c(Xt=>{const Cn=Re.abortController.signal,mi=()=>Xt.next();return Cn.addEventListener("abort",mi),()=>Cn.removeEventListener("abort",mi)}).pipe((0,$e.p)(()=>!Rt&&!Re.targetRouterState),(0,ae.M)(()=>{this.cancelNavigationTransition(Re,Re.abortController.signal.reason+"",$r.Aborted)}))),(0,ae.M)({next:Xt=>{Rt=!0,this.lastSuccessfulNavigation=(0,v.O8)(this.currentNavigation),this.events.next(new Hr(Xt.id,this.urlSerializer.serialize(Xt.extractedUrl),this.urlSerializer.serialize(Xt.urlAfterRedirects))),this.titleStrategy?.updateTitle(Xt.targetRouterState.snapshot),Xt.resolve(!0)},complete:()=>{Rt=!0}}),(0,yt.Q)(this.transitionAbortWithErrorSubject.pipe((0,ae.M)(Xt=>{throw Xt}))),(0,Te.j)(()=>{Rt||this.cancelNavigationTransition(Re,"",$r.SupersededByNewNavigation),this.currentTransition?.id===Re.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,he.W)(Xt=>{if(this.destroyed)return Re.resolve(!1),Qe.w;if(Rt=!0,qo(Xt))this.events.next(new Cs(Re.id,this.urlSerializer.serialize(Re.extractedUrl),Xt.message,Xt.cancellationCode)),function Oo(ne){return qo(ne)&&_n(ne.url)}(Xt)?this.events.next(new Yr(Xt.url,Xt.navigationBehaviorOptions)):Re.resolve(!1);else{const Cn=new Fs(Re.id,this.urlSerializer.serialize(Re.extractedUrl),Xt,Re.targetSnapshot??void 0);try{const mi=(0,o.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Cn));if(!(mi instanceof ms))throw this.events.next(Cn),Xt;{const{message:Zi,cancellationCode:Ar}=No(0,mi);this.events.next(new Cs(Re.id,this.urlSerializer.serialize(Re.extractedUrl),Zi,Ar)),this.events.next(new Yr(mi.redirectTo,mi.navigationBehaviorOptions))}}catch(mi){this.options.resolveNavigationPromiseOnError?Re.resolve(!1):Re.reject(mi)}}return Qe.w}))}))}cancelNavigationTransition(me,Re,Rt){const Xt=new Cs(me.id,this.urlSerializer.serialize(me.extractedUrl),Re,Rt);this.events.next(Xt),me.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const me=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Re=(0,v.O8)(this.currentNavigation),Rt=Re?.targetBrowserUrl??Re?.extractedUrl;return me.toString()!==Rt?.toString()&&!Re?.extras.skipLocationChange}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();function ld(ne){return ne!==Ai}let $c=(()=>{class ne{static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:()=>(0,o.WQX)(Sc),providedIn:"root"})}return ne})();class cd{shouldDetach(Oe){return!1}store(Oe,me){}shouldAttach(Oe){return!1}retrieve(Oe){return null}shouldReuseRoute(Oe,me){return Oe.routeConfig===me.routeConfig}}let Sc=(()=>{class ne extends cd{static \u0275fac=(()=>{let me;return function(Rt){return(me||(me=h.xGo(ne)))(Rt||ne)}})();static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})(),rc=(()=>
1{class ne{urlSerializer=(0,o.WQX)(Sn);options=(0,o.WQX)(dl,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,o.WQX)(s.aZ);urlHandlingStrategy=(0,o.WQX)(Go);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new di;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:me,initialUrl:Re,targetBrowserUrl:Rt}){const Xt=void 0!==me?this.urlHandlingStrategy.merge(me,Re):Re,Cn=Rt??Xt;return Cn instanceof di?this.urlSerializer.serialize(Cn):Cn}commitTransition({targetRouterState:me,finalUrl:Re,initialUrl:Rt}){Re&&me?(this.currentUrlTree=Re,this.rawUrlTree=this.urlHandlingStrategy.merge(Re,Rt),this.routerState=me):this.rawUrlTree=Rt}routerState=Ui(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:me}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,me??this.rawUrlTree)}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:()=>(0,o.WQX)(dd),providedIn:"root"})}return ne})(),dd=(()=>{class ne extends rc{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(me){return this.location.subscribe(Re=>{"popstate"===Re.type&&setTimeout(()=>{me(Re.url,Re.state,"popstate")})})}handleRouterEvent(me,Re){me instanceof Cr?this.updateStateMemento():me instanceof Xs?this.commitTransition(Re):me instanceof po?"eager"===this.urlUpdateStrategy&&(Re.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(Re),Re)):me instanceof _i?(this.commitTransition(Re),"deferred"===this.urlUpdateStrategy&&!Re.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(Re),Re)):me instanceof Cs&&me.code!==$r.SupersededByNewNavigation&&me.code!==$r.Redirect?this.restoreHistory(Re):me instanceof Fs?this.restoreHistory(Re,!0):me instanceof Hr&&(this.lastSuccessfulId=me.id,this.currentPageId=this.browserPageId)}setBrowserUrl(me,{extras:Re,id:Rt}){const{replaceUrl:Xt,state:Cn}=Re;if(this.location.isCurrentPathEqualTo(me)||Xt){const mi=this.browserPageId,Zi={...Cn,...this.generateNgRouterState(Rt,mi)};this.location.replaceState(me,"",Zi)}else{const mi={...Cn,...this.generateNgRouterState(Rt,this.browserPageId+1)};this.location.go(me,"",mi)}}restoreHistory(me,Re=!1){if("computed"===this.canceledNavigationResolution){const Xt=this.currentPageId-this.browserPageId;0!==Xt?this.location.historyGo(Xt):this.getCurrentUrlTree()===me.finalUrl&&0===Xt&&(this.resetInternalState(me),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Re&&this.resetInternalState(me),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(me,Re){return"computed"===this.canceledNavigationResolution?{navigationId:me,\u0275routerPageId:Re}:{navigationId:me}}static \u0275fac=(()=>{let me;return function(Rt){return(me||(me=h.xGo(ne)))(Rt||ne)}})();static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})();function xl(ne,Oe){ne.events.pipe((0,$e.p)(me=>me instanceof Hr||me instanceof Cs||me instanceof Fs||me instanceof Xs),(0,ue.T)(me=>me instanceof Hr||me instanceof Xs?0:me instanceof Cs&&(me.code===$r.Redirect||me.code===$r.SupersededByNewNavigation)?2:1),(0,$e.p)(me=>2!==me),(0,Je.s)(1)).subscribe(()=>{Oe()})}const $l={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fl=(()=>{class ne{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,o.WQX)(h.C7A);stateManager=(0,o.WQX)(rc);options=(0,o.WQX)(dl,{optional:!0})||{};pendingTasks=(0,o.WQX)(o.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,o.WQX)(Pa);
1urlSerializer=(0,o.WQX)(Sn);location=(0,o.WQX)(s.aZ);urlHandlingStrategy=(0,o.WQX)(Go);injector=(0,o.WQX)(o.uvJ);_events=new ze.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,o.WQX)($c);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,o.WQX)(mc,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,o.WQX)(fi,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:me=>{this.console.warn(me)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ge.yU;subscribeToNavigationEvents(){const me=this.navigationTransitions.events.subscribe(Re=>{try{const Rt=this.navigationTransitions.currentTransition,Xt=(0,v.O8)(this.navigationTransitions.currentNavigation);if(null!==Rt&&null!==Xt)if(this.stateManager.handleRouterEvent(Re,Xt),Re instanceof Cs&&Re.code!==$r.Redirect&&Re.code!==$r.SupersededByNewNavigation)this.navigated=!0;else if(Re instanceof Hr)this.navigated=!0;else if(Re instanceof Yr){const Cn=Re.navigationBehaviorOptions,mi=this.urlHandlingStrategy.merge(Re.url,Rt.currentRawUrl),Zi={browserUrl:Rt.extras.browserUrl,info:Rt.extras.info,skipLocationChange:Rt.extras.skipLocationChange,replaceUrl:Rt.extras.replaceUrl||"eager"===this.urlUpdateStrategy||ld(Rt.source),...Cn};this.scheduleNavigation(mi,Ai,null,Zi,{resolve:Rt.resolve,reject:Rt.reject,promise:Rt.promise})}(function oo(ne){return!(ne instanceof _i||ne instanceof Yr)})(Re)&&this._events.next(Re)}catch(Rt){this.navigationTransitions.transitionAbortWithErrorSubject.next(Rt)}});this.eventsSubscription.add(me)}resetRootComponentType(me){this.routerState.root.component=me,this.navigationTransitions.rootComponentType=me}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ai,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((me,Re,Rt)=>{this.navigateToSyncWithBrowser(me,Rt,Re)})}navigateToSyncWithBrowser(me,Re,Rt){const Xt={replaceUrl:!0},Cn=Rt?.navigationId?Rt:null;if(Rt){const Zi={...Rt};delete Zi.navigationId,delete Zi.\u0275routerPageId,0!==Object.keys(Zi).length&&(Xt.state=Zi)}const mi=this.parseUrl(me);this.scheduleNavigation(mi,Re,Cn,Xt).catch(Zi=>{this.disposed||this.injector.get(o.ZTf)(Zi)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,v.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(me){this.config=me.map(Lr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(me,Re={}){const{relativeTo:Rt,queryParams:Xt,fragment:Cn,queryParamsHandling:mi,preserveFragment:Zi}=Re,Ar=Zi?this.currentUrlTree.fragment:Cn;let _a,Ur=null;switch(mi??this.options.defaultQueryParamsHandling){case"merge":Ur={...this.currentUrlTree.queryParams,...Xt};break;case"preserve":Ur=this.currentUrlTree.queryParams;break;default:Ur=Xt||null}null!==Ur&&(Ur=this.removeEmptyProps(Ur));try{_a=Pt(Rt?Rt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof me[0]||"/"!==me[0][0])&&(me=[]),_a=this.currentUrlTree.root}return ke(_a,me,Ur,Ar??null)}navigateByUrl(me,Re={skipLocationChange:!1}){const Rt=_n(me)?me:this.parseUrl(me),Xt=this.urlHandlingStrategy.merge(Rt,this.rawUrlTree);return this.scheduleNavigation(Xt,Ai,null,Re)}navigate(me,Re={skipLocationChange:!1}){return function zo(ne){for(let Oe=0;Oe<ne.length;Oe++)if(null==ne[Oe])throw new o.buA(4008,!1)}(me),this.navigateByUrl(this.createUrlTree(me,Re),Re)}serializeUrl(me){return this.urlSerializer.serialize(me)}parseUrl(me){try{return this.urlSerializer.parse(me)}catch{return this.console.warn((0,o.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(me,Re){let Rt;if(Rt=!0===Re?{...$l}:!1===Re?{...Gl}:Re,_n(me))return Bn(this.currentUrlTree,me,Rt);const Xt=this.parseUrl(me);return Bn(this.currentUrlTree,Xt,Rt)}removeEmptyProps(me){return Object.entries(me).reduce((Re,[Rt,Xt])=>(null!=Xt&&(Re[Rt]=Xt),Re),{})}scheduleNavigation(me,Re,Rt,Xt,Cn){if(this.disposed)return Promise.resolve(!1);let mi,Zi,Ar;Cn?(mi=Cn.resolve,Zi=Cn.reject,Ar=Cn.promise):Ar=new Promise((_a,Ta)=>{mi=_a,Zi=Ta});const Ur=this.pendingTasks.add();return xl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ur))}),this.navigationTransitions.handleNavigationRequest({source:Re,restoredState:Rt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:me,extras:Xt,resolve:mi,reject:Zi,promise:Ar,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ar.catch(_a=>Promise.reject(_a))}static \u0275fac=function(Re){return new(Re||ne)};static \u0275prov=o.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"})}return ne})()},8132(tn,Ye,d){"use strict";d.d(Ye,{Wk:()=>nt,iI:()=>ci,wQ:()=>cn});var Le=d(467),ge=d(7303),ue=d(177),kt=d(2200),Je=d(7705),Ke=d(2615),$e=d(3664),lt=d(9295),q=d(3694),de=d(1413),ae=d(8455),he=d(7673),Ne=d(274),ve=d(5964),at=d(6365),Ut=d(1397);let nt=(()=>{class Ee{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,Ke.vPA)(null);get href(){return(0,lt.O8)(this.reactiveHref)}set href(Ue){this.reactiveHref.set(Ue)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;
1isAnchorElement;subscription;onChanges=new de.B;applicationErrorHandler=(0,Ke.WQX)(Ke.ZTf);options=(0,Ke.WQX)(q.J_,{optional:!0});constructor(Ue,Tt,fe,we,_e,L){this.router=Ue,this.route=Tt,this.tabIndexAttribute=fe,this.renderer=we,this.el=_e,this.locationStrategy=L,this.reactiveHref.set((0,Ke.WQX)(new Je.ES_("href"),{optional:!0}));const j=_e.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===j||"area"===j||!("object"!=typeof customElements||!customElements.get(j)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let Ue=this.preserveFragment;const Tt=fe=>"merge"===fe||"preserve"===fe;Ue||=Tt(this.queryParamsHandling),Ue||=!this.queryParamsHandling&&!Tt(this.options?.defaultQueryParamsHandling),Ue&&(this.subscription=this.router.events.subscribe(fe=>{fe instanceof q.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(Ue){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Ue)}ngOnChanges(Ue){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(Ue){null==Ue?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,q.wO)(Ue)||Array.isArray(Ue)?Ue:[Ue],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Ue,Tt,fe,we,_e){const L=this.urlTree;if(null===L||this.isAnchorElement&&(0!==Ue||Tt||fe||we||_e||"string"==typeof this.target&&"_self"!=this.target))return!0;const j={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(L,j)?.catch(X=>{this.applicationErrorHandler(X)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Ue=this.urlTree;this.reactiveHref.set(null!==Ue&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Ue))??"":null)}applyAttributeValue(Ue,Tt){const fe=this.renderer,we=this.el.nativeElement;null!==Tt?fe.setAttribute(we,Ue,Tt):fe.removeAttribute(we,Ue)}get urlTree(){return null===this.routerLinkInput?null:(0,q.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(Tt){return new(Tt||Ee)($e.rXU(q.Ix),$e.rXU(q.nX),$e.kS0("tabindex"),$e.rXU($e.sFG),$e.rXU($e.aKT),$e.rXU(ge.hb))};static \u0275dir=$e.FsC({type:Ee,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Tt,fe){1&Tt&&$e.bIt("click",function(_e){return fe.onClick(_e.button,_e.ctrlKey,_e.shiftKey,_e.altKey,_e.metaKey)}),2&Tt&&$e.BMQ("href",fe.reactiveHref(),$e.n$t)("target",fe.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Je.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Je.L39],replaceUrl:[2,"replaceUrl","replaceUrl",Je.L39],routerLink:"routerLink"},features:[$e.OA$]})}return Ee})(),cn=(()=>{class Ee{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new $e.bkB;constructor(Ue,Tt,fe,we,_e){this.router=Ue,this.element=Tt,this.renderer=fe,this.cdr=we,this.link=_e,this.routerEventsSubscription=Ue.events.subscribe(L=>{L instanceof q.wF&&this.update()})}ngAfterContentInit(){(0,he.of)(this.links.changes,(0,he.of)(null)).pipe((0,at.U)()).subscribe(Ue=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Ue=[...this.links.toArray(),this.link].filter(Tt=>!!Tt).map(Tt=>Tt.onChanges);this.linkInputChangesSubscription=(0,ae.H)(Ue).pipe((0,at.U)()).subscribe(Tt=>{this._isActive!==this.isLinkActive(this.router)(Tt)&&this.update()})}set routerLinkActive(Ue){const Tt=Array.isArray(Ue)?Ue:Ue.split(" ");this.classes=Tt.filter(fe=>!!fe)}ngOnChanges(Ue){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Ue=this.hasActiveLinks();
1this.classes.forEach(Tt=>{Ue?this.renderer.addClass(this.element.nativeElement,Tt):this.renderer.removeClass(this.element.nativeElement,Tt)}),Ue&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==Ue&&(this._isActive=Ue,this.cdr.markForCheck(),this.isActiveChange.emit(Ue))})}isLinkActive(Ue){const Tt=function hn(Ee){return!!Ee.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return fe=>{const we=fe.urlTree;return!!we&&Ue.isActive(we,Tt)}}hasActiveLinks(){const Ue=this.isLinkActive(this.router);return this.link&&Ue(this.link)||this.links.some(Ue)}static \u0275fac=function(Tt){return new(Tt||Ee)($e.rXU(q.Ix),$e.rXU($e.aKT),$e.rXU($e.sFG),$e.rXU(Je.gRc),$e.rXU(nt,8))};static \u0275dir=$e.FsC({type:Ee,selectors:[["","routerLinkActive",""]],contentQueries:function(Tt,fe,we){if(1&Tt&&$e.wni(we,nt,5),2&Tt){let _e;$e.mGM(_e=$e.lsd())&&(fe.links=_e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[$e.OA$]})}return Ee})();class qt{}let yt=(()=>{class Ee{router;injector;preloadingStrategy;loader;subscription;constructor(Ue,Tt,fe,we){this.router=Ue,this.injector=Tt,this.preloadingStrategy=fe,this.loader=we}setUpPreloading(){this.subscription=this.router.events.pipe((0,ve.p)(Ue=>Ue instanceof q.wF),(0,Ne.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Ue,Tt){const fe=[];for(const we of Tt){we.providers&&!we._injector&&(we._injector=(0,$e.Ol2)(we.providers,Ue,`Route: ${we.path}`));const _e=we._injector??Ue,L=we._loadedInjector??_e;(we.loadChildren&&!we._loadedRoutes&&void 0===we.canLoad||we.loadComponent&&!we._loadedComponent)&&fe.push(this.preloadConfig(_e,we)),(we.children||we._loadedRoutes)&&fe.push(this.processRoutes(L,we.children??we._loadedRoutes))}return(0,ae.H)(fe).pipe((0,at.U)())}preloadConfig(Ue,Tt){return this.preloadingStrategy.preload(Tt,()=>{let fe;fe=Tt.loadChildren&&void 0===Tt.canLoad?this.loader.loadChildren(Ue,Tt):(0,he.of)(null);const we=fe.pipe((0,Ut.Z)(_e=>null===_e?(0,he.of)(void 0):(Tt._loadedRoutes=_e.routes,Tt._loadedInjector=_e.injector,this.processRoutes(_e.injector??Ue,_e.routes))));if(Tt.loadComponent&&!Tt._loadedComponent){const _e=this.loader.loadComponent(Ue,Tt);return(0,ae.H)([we,_e]).pipe((0,at.U)())}return we})}static \u0275fac=function(Tt){return new(Tt||Ee)(Ke.KVO(q.Ix),Ke.KVO(Ke.uvJ),Ke.KVO(qt),Ke.KVO(q.D$))};static \u0275prov=Ke.jDH({token:Ee,factory:Ee.\u0275fac,providedIn:"root"})}return Ee})();const wt=new Ke.nKC("");let Ie=(()=>{class Ee{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=q.wU;restoredId=0;store={};constructor(Ue,Tt,fe,we,_e={}){this.urlSerializer=Ue,this.transitions=Tt,this.viewportScroller=fe,this.zone=we,this.options=_e,_e.scrollPositionRestoration||="disabled",_e.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Ue=>{Ue instanceof q.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Ue.navigationTrigger,this.restoredId=Ue.restoredState?Ue.restoredState.navigationId:0):Ue instanceof q.wF?(this.lastId=Ue.id,this.scheduleScrollEvent(Ue,this.urlSerializer.parse(Ue.urlAfterRedirects).fragment)):Ue instanceof q.lW&&Ue.code===q.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Ue,this.urlSerializer.parse(Ue.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Ue=>{if(!(Ue instanceof q.OY))return;const Tt={behavior:"instant"};Ue.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Tt):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Ue.position,Tt):Ue.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Ue.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Ue,Tt){var fe=this;this.zone.runOutsideAngular((0,Le.A)(function*(){yield new Promise(we=>{setTimeout(we),typeof requestAnimationFrame<"u"&&requestAnimationFrame(we)}),fe.zone.run(()=>{fe.transitions.events.next(new q.OY(Ue,"popstate"===fe.lastSource?fe.store[fe.restoredId]:null,Tt))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Tt){$e.QTQ()};static \u0275prov=Ke.jDH({token:Ee,factory:Ee.\u0275fac})}return Ee})();function Ot(Ee,Ce){return{\u0275kind:Ee,\u0275providers:Ce}}function Wn(){const Ee=(0,Ke.WQX)(Ke.zZn);return Ce=>{const Ue=Ee.get($e.o8S);if(Ce!==Ue.components[0])return;const Tt=Ee.get(q.Ix),fe=Ee.get(mr);1===Ee.get(Bn)&&Tt.initialNavigation(),Ee.get(Yn,null,{optional:!0})?.setUpPreloading(),Ee.get(wt,null,{optional:!0})?.init(),Tt.resetRootComponentType(Ue.componentTypes[0]),fe.closed||(fe.next(),fe.complete(),fe.unsubscribe())}}const mr=new Ke.nKC("",{factory:()=>new de.B}),Bn=new Ke.nKC("",{providedIn:"root",factory:()=>1}),Yn=new Ke.nKC("");function _(Ee){return Ot(0,[{provide:Yn,useExisting:yt},{provide:qt,useExisting:Ee}])}function Vi(Ee){return(0,$e._jY)("NgRouterViewTransitions"),Ot(9,[{provide:q.Pu,useValue:q.Lg},{provide:q.bK,useValue:{skipNextTransition:!!Ee?.skipInitialTransition,...Ee}}])}const Sn=[ge.aZ,{provide:q.Sd,useClass:q.nU},q.Ix,q.Zp,{provide:q.nX,useFactory:function We(Ee){return Ee.routerState.root},deps:[q.Ix]},q.D$,[]];let ci=(()=>{class Ee{constructor(){}static forRoot(Ue,Tt){return{ngModule:Ee,providers:[Sn,[],{provide:q.bw,multi:!0,useValue:Ue},[],Tt?.errorHandler?{provide:q.XR,useValue:Tt.errorHandler}:[],{provide:q.J_,useValue:Tt||{}},Tt?.useHash?{provide:ge.hb,useClass:kt.fw}:{provide:ge.hb,useClass:ge.Sm},{provide:wt,useFactory:()=>{const Ee=(0,Ke.WQX)(ue.Xr),Ce=(0,Ke.WQX)($e.SKi),Ue=(0,Ke.WQX)(q.J_),Tt=(0,Ke.WQX)(q.J2),fe=(0,Ke.WQX)(q.Sd);return Ue.scrollOffset&&Ee.setOffset(Ue.scrollOffset),new Ie(fe,Tt,Ee,Ce,Ue)}},Tt?.preloadingStrategy?_(Tt.preloadingStrategy).\u0275providers:[],Tt?.initialNavigation?Ae(Tt):[],Tt?.bindToComponentInputs?Ot(8,[q.tD,{provide:q.c1,useExisting:q.tD}]).\u0275providers:[],Tt?.enableViewTransitions?Vi().\u0275providers:[],[{provide:xe,useFactory:Wn},{provide:$e.iLQ,multi:!0,useExisting:xe}]]}}static forChild(Ue){return{ngModule:Ee,providers:[{provide:q.bw,multi:!0,useValue:Ue}]}}static \u0275fac=function(Tt){return new(Tt||Ee)};static \u0275mod=$e.$C({type:Ee});static \u0275inj=Ke.G2t({})}return Ee})();function Ae(Ee){return["disabled"===Ee.initialNavigation?Ot(3,[(0,$e.phd)(()=>{(0,Ke.WQX)(q.Ix).setUpLocationChangeListener()}),{provide:Bn,useValue:2}]).\u0275providers:[],"enabledBlocking"===Ee.initialNavigation?Ot(2,[{provide:$e.tvf,useValue:!0},{provide:Bn,useValue:0},(0,$e.phd)(()=>{const Ce=(0,Ke.WQX)(Ke.zZn);return Ce.get(ge.hj,Promise.resolve()).then(()=>new Promise(Tt=>{const fe=Ce.get(q.Ix),we=Ce.get(mr);(0,q.gk)(fe,()=>{Tt(!0)}),Ce.get(q.J2).afterPreactivation=()=>(Tt(!0),we.closed?(0,he.of)(void 0):we),fe.initialNavigation()}))})]).\u0275providers:[]]}const xe=new Ke.nKC("")},8742(tn,Ye,d){"use strict";d.r(Ye),d.d(Ye,{FirebaseError:()=>y.g,SDK_VERSION:()=>mr,_DEFAULT_ENTRY_NAME:()=>qt,_addComponent:()=>Ie,_addOrOverwriteComponent:()=>ie,_apps:()=>Pe,_clearComponents:()=>Me,_components:()=>wt,_getProvider:()=>rt,_isFirebaseApp:()=>We,_isFirebaseServerApp:()=>Ot,_registerComponent:()=>je,_removeServiceInstance:()=>Ze,_serverApps:()=>yt,deleteApp:()=>Yn,getApp:()=>dn,getApps:()=>Tn,initializeApp:()=>Bn,initializeServerApp:()=>Oi,onLog:()=>di,registerVersion:()=>Qn,setLogLevel:()=>ai});var o=d(467),s=d(1362),h=d(8041),y=d(1076),v=d(6749);class T{constructor(_e){this.container=_e}getPlatformInfoString(){return this.container.getProviders().map(L=>{if(function M(we){const _e=we.getComponent();return"VERSION"===_e?.type}(L)){const j=L.getImmediate();return`${j.library}/${j.version}`}return null}).filter(L=>L).join(" ")}}const k="@firebase/app",H="0.10.13",B=new h.Vy("@firebase/app"),x="@firebase/app-compat",ye="@firebase/analytics-compat",He="@firebase/analytics",Mt="@firebase/app-check-compat",Ge="@firebase/app-check",Qe="@firebase/auth",Xe="@firebase/auth-compat",ze="@firebase/database",Le="@firebase/data-connect",ge="@firebase/database-compat",ue="@firebase/functions",kt="@firebase/functions-compat",Je="@firebase/installations",Ke="@firebase/installations-compat",$e="@firebase/messaging",lt="@firebase/messaging-compat",q="@firebase/performance",de="@firebase/performance-compat",ae="@firebase/remote-config",he="@firebase/remote-config-compat",Ne="@firebase/storage",ve="@firebase/storage-compat",at="@firebase/firestore",Ut="@firebase/vertexai-preview",nt="@firebase/firestore-compat",cn="firebase",qt="[DEFAULT]",Te={[k]:"fire-core",[x]:"fire-core-compat",[He]:"fire-analytics",[ye]:"fire-analytics-compat",[Ge]:"fire-app-check",[Mt]:"fire-app-check-compat",[Qe]:"fire-auth",[Xe]:"fire-auth-compat",[ze]:"fire-rtdb",[Le]:"fire-data-connect",[ge]:"fire-rtdb-compat",[ue]:"fire-fn",[kt]:"fire-fn-compat",[Je]:"fire-iid",[Ke]:"fire-iid-compat",[$e]:"fire-fcm",[lt]:"fire-fcm-compat",[q]:"fire-perf",[de]:"fire-perf-compat",[ae]:"fire-rc",[he]:"fire-rc-compat",[Ne]:"fire-g
1cs",[ve]:"fire-gcs-compat",[at]:"fire-fst",[nt]:"fire-fst-compat",[Ut]:"fire-vertex","fire-js":"fire-js",[cn]:"fire-js-all"},Pe=new Map,yt=new Map,wt=new Map;function Ie(we,_e){try{we.container.addComponent(_e)}catch(L){B.debug(`Component ${_e.name} failed to register with FirebaseApp ${we.name}`,L)}}function ie(we,_e){we.container.addOrOverwriteComponent(_e)}function je(we){const _e=we.name;if(wt.has(_e))return B.debug(`There were multiple attempts to register component ${_e}.`),!1;wt.set(_e,we);for(const L of Pe.values())Ie(L,we);for(const L of yt.values())Ie(L,we);return!0}function rt(we,_e){const L=we.container.getProvider("heartbeat").getImmediate({optional:!0});return L&&L.triggerHeartbeat(),we.container.getProvider(_e)}function Ze(we,_e,L=qt){rt(we,_e).clearInstance(L)}function We(we){return void 0!==we.options}function Ot(we){return void 0!==we.settings}function Me(){wt.clear()}const Zt=new y.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class ti{constructor(_e,L,j){this._isDeleted=!1,this._options=Object.assign({},_e),this._config=Object.assign({},L),this._name=L.name,this._automaticDataCollectionEnabled=L.automaticDataCollectionEnabled,this._container=j,this.container.addComponent(new s.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(_e){this.checkDestroyed(),this._automaticDataCollectionEnabled=_e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(_e){this._isDeleted=_e}checkDestroyed(){if(this.isDeleted)throw Zt.create("app-deleted",{appName:this._name})}}class Wn extends ti{constructor(_e,L,j,X){const qe=void 0!==L.automaticDataCollectionEnabled&&L.automaticDataCollectionEnabled,Yt={name:j,automaticDataCollectionEnabled:qe};super(void 0!==_e.apiKey?_e:_e.options,Yt,X),this._serverConfig=Object.assign({automaticDataCollectionEnabled:qe},L),this._finalizationRegistry=null,typeof FinalizationRegistry<"u"&&(this._finalizationRegistry=new FinalizationRegistry(()=>{this.automaticCleanup()})),this._refCount=0,this.incRefCount(this._serverConfig.releaseOnDeref),this._serverConfig.releaseOnDeref=void 0,L.releaseOnDeref=void 0,Qn(k,H,"serverapp")}toJSON(){}get refCount(){return this._refCount}incRefCount(_e){this.isDeleted||(this._refCount++,void 0!==_e&&null!==this._finalizationRegistry&&this._finalizationRegistry.register(_e,this))}decRefCount(){return this.isDeleted?0:--this._refCount}automaticCleanup(){Yn(this)}get settings(){return this.checkDestroyed(),this._serverConfig}checkDestroyed(){if(this.isDeleted)throw Zt.create("server-app-deleted")}}const mr="10.14.1";function Bn(we,_e={}){let L=we;"object"!=typeof _e&&(_e={name:_e});const j=Object.assign({name:qt,automaticDataCollectionEnabled:!1},_e),X=j.name;if("string"!=typeof X||!X)throw Zt.create("bad-app-name",{appName:String(X)});if(L||(L=(0,y.T9)()),!L)throw Zt.create("no-options");const qe=Pe.get(X);if(qe){if((0,y.bD)(L,qe.options)&&(0,y.bD)(j,qe.config))return qe;throw Zt.create("duplicate-app",{appName:X})}const Yt=new s.h1(X);for(const wi of wt.values())Yt.addComponent(wi);const On=new ti(L,j,Yt);return Pe.set(X,On),On}function Oi(we,_e){if((0,y.Bd)()&&!(0,y.p7)())throw Zt.create("invalid-server-app-environment");let L;void 0===_e.automaticDataCollectionEnabled&&(_e.automaticDataCollectionEnabled=!1),L=We(we)?we.options:we;const j=Object.assign(Object.assign({},_e),L);if(void 0!==j.releaseOnDeref&&delete j.releaseOnDeref,void 0!==_e.releaseOnDeref&&typeof FinalizationRegistry>"u")throw Zt.create("finalization-registry-not-supported",{});const qe=""+(Qi=JSON.stringify(j),[...Qi].reduce((Tr,Er)=>Math.imul(31,Tr)+Er.charCodeAt(0)|0,0)),Yt=yt.get(qe);var Qi;if(Yt)return Yt.incRefCount(_e.releaseOnDeref),Yt;const On=new s.h1(qe);for(const Qi of wt.values())On.addComponent(Qi);const wi=new Wn(L,_e,qe,On);return yt.set(qe,wi),wi}function dn(we=qt){const _e=Pe.get(we);if(!_e&&we===qt&&(0,y.T9)())return Bn();if(!_e)throw Zt.create("no-app",{appName:we});return _e}function Tn(){return Array.from(Pe.values())}function Yn(we){return _.apply(this,arguments)}function _(){return(_=(0,o.A)(function*(we){let _e=!1;const L=we.name;Pe.has(L)?(_e=!0,Pe.delete(L)):yt.has(L)&&we.decRefCount()<=0&&(yt.delete(L),_e=!0),_e&&(yield Promise.all(we.container.getProviders().map(j=>j.delete())),we.isDeleted=!0)})).apply(this,arguments)}function Qn(we,_e,L){var j;let X=null!==(j=Te[we])&&void 0!==j?j:we;L&&(X+=`-${L}`);const qe=X.match(/\s|\//),Yt=_e.match(/\s|\//);if(qe||Yt){const On=[`Unable to register library "${X}" with version "${_e}":`];return qe&&On.push(`library name "${X}" contains illegal characters (whitespace or "/")`),qe&&Yt&&On.push("and"),Yt&&On.push(`version name "${_e}" contains illegal characters (whitespace or "/")`),void B.warn(On.join(" "))}je(new s.uA(`${X}-version`,()=>({library:X,version:_e}),"VERSION"))}function di(we,_e){if(null!==we&&"function"!=typeof we)throw Zt.create("invalid-log-argument");(0,h.Ey)(we,_e)}function ai(we){(0,h.He)(we)}const ii="firebase-heartbeat-store";let rr=null;function Sn(){return rr||(rr=(0,v.P2)("firebase-heartbeat-database",1,{upgrade:(we,_e)=>{if(0===_e)try{we.createObjectStore(ii)}catch(L){console.warn(L)}}}).catch(we=>{throw Zt.create("idb-open",{originalErrorMessage:we.message})})),rr}function Un(){return(Un=(0,o.A)(function*(we){try{const L=(yield Sn()).transaction(ii),j=yield L.objectStore(ii).get(un(we));return yield L.done,j}catch(_e){if(_e instanceof y.g)B.warn(_e.message);else{const L=Zt.create("idb-get",{originalErrorMessage:_e?.message});B.warn(L.message)}}})).apply(this,arguments)}function fr(we,_e){return Vt.apply(this,arguments)}function Vt(){return(Vt=(0,o.A)(function*(we,_e){try{const j=(yield Sn()).transaction(ii,"readwrite");yield j.objectStore(ii).put(_e,un(we)),yield j.done}catch(L){if(L instanceof y.g)B.warn(L.message);else{const j=Zt.create("idb-set",{originalErrorMessage:L?.message});B.warn(j.message)}}})).apply(this,arguments)}function un(we){return`${we.name}!${we.options.appId}`}class z{constructor(_e){this.container=_e,this._heartbeatsCache=null;const L=this.container.getProvider("app").getImmediate();this._storage=new Ue(L),this._heartbeatsCachePromise=this._storage.read().then(j=>(this._heartbeatsCache=j,j))}triggerHeartbeat(){var _e=this;return(0,o.A)(function*(){var L,j;try{const qe=_e.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),Yt=Ee();return null==(null===(L=_e._heartbeatsCache)||void 0===L?void 0:L.heartbeats)&&(_e._heartbeatsCache=yield _e._heartbeatsCachePromise,null==(null===(j=_e._heartbeatsCache)||void 0===j?void 0:j.heartbeats))||_e._heartbeatsCache.lastSentHeartbeatDate===Yt||_e._heartbeatsCache.heartbeats.some(On=>On.date===Yt)?void 0:(_e._heartbeatsCache.heartbeats.push({date:Yt,agent:qe}),_e._heartbeatsCache.heartbeats=_e._heartbeatsCache.heartbeats.filter(On=>{const wi=new Date(On.date).valueOf();return Date.now()-wi<=2592e6}),_e._storage.overwrite(_e._heartbeatsCache))}catch(X){B.warn(X)}})()}getHeartbeatsHeader(){var _e=this;return(0,o.A)(function*(){var L;try{if(null===_e._heartbeatsCache&&(yield _e._heartbeatsCachePromise),null==(null===(L=_e._heartbeatsCache)||void 0===L?void 0:L.heartbeats)||0===_e._heartbeatsCache.heartbeats.length)return"";const j=Ee(),{heartbeatsToSend:X,unsentEntries:qe}=function Ce(we,_e=1024){const L=[];let j=we.slice();for(const X of we){const qe=L.find(Yt=>Yt.agent===X.agent);if(qe){if(qe.dates.push(X.date),Tt(L)>_e){qe.dates.pop();break}}else if(L.push({agent:X.agent,dates:[X.date]}),Tt(L)>_e){L.pop();break}j=j.slice(1)}return{heartbeatsToSend:L,unsentEntries:j}}(_e._heartbeatsCache.heartbeats),Yt=(0,y.Uj)(JSON.stringify({version:2,heartbeats:X}));return _e._heartbeatsCache.lastSentHeartbeatDate=j,qe.length>0?(_e._heartbeatsCache.heartbeats=qe,yield _e._storage.overwrite(_e._heartbeatsCache)):(_e._heartbeatsCache.heartbeats=[],_e._storage.overwrite(_e._heartbeatsCache)),Yt}catch(j){return B.warn(j),""}})()}}function Ee(){return(new Date).toISOString().substring(0,10)}
1class Ue{constructor(_e){this.app=_e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}runIndexedDBEnvironmentCheck(){return(0,o.A)(function*(){return!!(0,y.zW)()&&(0,y.eX)().then(()=>!0).catch(()=>!1)})()}read(){var _e=this;return(0,o.A)(function*(){if(yield _e._canUseIndexedDBPromise){const j=yield function ci(we){return Un.apply(this,arguments)}(_e.app);return j?.heartbeats?j:{heartbeats:[]}}return{heartbeats:[]}})()}overwrite(_e){var L=this;return(0,o.A)(function*(){var j;if(yield L._canUseIndexedDBPromise){const qe=yield L.read();return fr(L.app,{lastSentHeartbeatDate:null!==(j=_e.lastSentHeartbeatDate)&&void 0!==j?j:qe.lastSentHeartbeatDate,heartbeats:_e.heartbeats})}})()}add(_e){var L=this;return(0,o.A)(function*(){var j;if(yield L._canUseIndexedDBPromise){const qe=yield L.read();return fr(L.app,{lastSentHeartbeatDate:null!==(j=_e.lastSentHeartbeatDate)&&void 0!==j?j:qe.lastSentHeartbeatDate,heartbeats:[...qe.heartbeats,..._e.heartbeats]})}})()}}function Tt(we){return(0,y.Uj)(JSON.stringify({version:2,heartbeats:we})).length}!function fe(we){je(new s.uA("platform-logger",_e=>new T(_e),"PRIVATE")),je(new s.uA("heartbeat",_e=>new z(_e),"PRIVATE")),Qn(k,H,we),Qn(k,H,"esm2017"),Qn("fire-js","")}("")},1362(tn,Ye,d){"use strict";d.d(Ye,{h1:()=>k,uA:()=>h});var o=d(467),s=d(1076);class h{constructor(B,x,ye){this.name=B,this.instanceFactory=x,this.type=ye,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(B){return this.instantiationMode=B,this}setMultipleInstances(B){return this.multipleInstances=B,this}setServiceProps(B){return this.serviceProps=B,this}setInstanceCreatedCallback(B){return this.onInstanceCreated=B,this}}const y="[DEFAULT]";class v{constructor(B,x){this.name=B,this.container=x,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(B){const x=this.normalizeInstanceIdentifier(B);if(!this.instancesDeferred.has(x)){const ye=new s.cY;if(this.instancesDeferred.set(x,ye),this.isInitialized(x)||this.shouldAutoInitialize())try{const He=this.getOrInitializeService({instanceIdentifier:x});He&&ye.resolve(He)}catch{}}return this.instancesDeferred.get(x).promise}getImmediate(B){var x;const ye=this.normalizeInstanceIdentifier(B?.identifier),He=null!==(x=B?.optional)&&void 0!==x&&x;if(!this.isInitialized(ye)&&!this.shouldAutoInitialize()){if(He)return null;throw Error(`Service ${this.name} is not available`)}try{return this.getOrInitializeService({instanceIdentifier:ye})}catch(Mt){if(He)return null;throw Mt}}getComponent(){return this.component}setComponent(B){if(B.name!==this.name)throw Error(`Mismatching Component ${B.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=B,this.shouldAutoInitialize()){if(function M(H){return"EAGER"===H.instantiationMode}(B))try{this.getOrInitializeService({instanceIdentifier:y})}catch{}for(const[x,ye]of this.instancesDeferred.entries()){const He=this.normalizeInstanceIdentifier(x);try{const Mt=this.getOrInitializeService({instanceIdentifier:He});ye.resolve(Mt)}catch{}}}}clearInstance(B=y){this.instancesDeferred.delete(B),this.instancesOptions.delete(B),this.instances.delete(B)}delete(){var B=this;return(0,o.A)(function*(){const x=Array.from(B.instances.values());yield Promise.all([...x.filter(ye=>"INTERNAL"in ye).map(ye=>ye.INTERNAL.delete()),...x.filter(ye=>"_delete"in ye).map(ye=>ye._delete())])})()}isComponentSet(){return null!=this.component}isInitialized(B=y){return this.instances.has(B)}getOptions(B=y){return this.instancesOptions.get(B)||{}}initialize(B={}){const{options:x={}}=B,ye=this.normalizeInstanceIdentifier(B.instanceIdentifier);if(this.isInitialized(ye))throw Error(`${this.name}(${ye}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const He=this.getOrInitializeService({instanceIdentifier:ye,options:x});for(const[Mt,Ge]of this.instancesDeferred.entries())ye===this.normalizeInstanceIdentifier(Mt)&&Ge.resolve(He);return He}onInit(B,x){var ye;const He=this.normalizeInstanceIdentifier(x),Mt=null!==(ye=this.onInitCallbacks.get(He))&&void 0!==ye?ye:new Set;Mt.add(B),this.onInitCallbacks.set(He,Mt);const Ge=this.instances.get(He);return Ge&&B(Ge,He),()=>{Mt.delete(B)}}invokeOnInitCallbacks(B,x){const ye=this.onInitCallbacks.get(x);if(ye)for(const He of ye)try{He(B,x)}catch{}}getOrInitializeService({instanceIdentifier:B,options:x={}}
1){let ye=this.instances.get(B);if(!ye&&this.component&&(ye=this.component.instanceFactory(this.container,{instanceIdentifier:(H=B,H===y?void 0:H),options:x}),this.instances.set(B,ye),this.instancesOptions.set(B,x),this.invokeOnInitCallbacks(ye,B),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,B,ye)}catch{}var H;return ye||null}normalizeInstanceIdentifier(B=y){return this.component?this.component.multipleInstances?B:y:B}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class k{constructor(B){this.name=B,this.providers=new Map}addComponent(B){const x=this.getProvider(B.name);if(x.isComponentSet())throw new Error(`Component ${B.name} has already been registered with ${this.name}`);x.setComponent(B)}addOrOverwriteComponent(B){this.getProvider(B.name).isComponentSet()&&this.providers.delete(B.name),this.addComponent(B)}getProvider(B){if(this.providers.has(B))return this.providers.get(B);const x=new v(B,this);return this.providers.set(B,x),x}getProviders(){return Array.from(this.providers.values())}}},8041(tn,Ye,d){"use strict";d.d(Ye,{$b:()=>s,Ey:()=>H,He:()=>k,Vy:()=>M});const o=[];var s=function(B){return B[B.DEBUG=0]="DEBUG",B[B.VERBOSE=1]="VERBOSE",B[B.INFO=2]="INFO",B[B.WARN=3]="WARN",B[B.ERROR=4]="ERROR",B[B.SILENT=5]="SILENT",B}(s||{});const h={debug:s.DEBUG,verbose:s.VERBOSE,info:s.INFO,warn:s.WARN,error:s.ERROR,silent:s.SILENT},y=s.INFO,v={[s.DEBUG]:"log",[s.VERBOSE]:"log",[s.INFO]:"info",[s.WARN]:"warn",[s.ERROR]:"error"},T=(B,x,...ye)=>{if(x<B.logLevel)return;const He=(new Date).toISOString(),Mt=v[x];if(!Mt)throw new Error(`Attempted to log a message with an invalid logType (value: ${x})`);console[Mt](`[${He}] ${B.name}:`,...ye)};class M{constructor(x){this.name=x,this._logLevel=y,this._logHandler=T,this._userLogHandler=null,o.push(this)}get logLevel(){return this._logLevel}set logLevel(x){if(!(x in s))throw new TypeError(`Invalid value "${x}" assigned to \`logLevel\``);this._logLevel=x}setLogLevel(x){this._logLevel="string"==typeof x?h[x]:x}get logHandler(){return this._logHandler}set logHandler(x){if("function"!=typeof x)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=x}get userLogHandler(){return this._userLogHandler}set userLogHandler(x){this._userLogHandler=x}debug(...x){this._userLogHandler&&this._userLogHandler(this,s.DEBUG,...x),this._logHandler(this,s.DEBUG,...x)}log(...x){this._userLogHandler&&this._userLogHandler(this,s.VERBOSE,...x),this._logHandler(this,s.VERBOSE,...x)}info(...x){this._userLogHandler&&this._userLogHandler(this,s.INFO,...x),this._logHandler(this,s.INFO,...x)}warn(...x){this._userLogHandler&&this._userLogHandler(this,s.WARN,...x),this._logHandler(this,s.WARN,...x)}error(...x){this._userLogHandler&&this._userLogHandler(this,s.ERROR,...x),this._logHandler(this,s.ERROR,...x)}}function k(B){o.forEach(x=>{x.setLogLevel(B)})}function H(B,x){for(const ye of o){let He=null;x&&x.level&&(He=h[x.level]),ye.userLogHandler=null===B?null:(Mt,Ge,...Qe)=>{const Xe=Qe.map(ze=>{if(null==ze)return null;if("string"==typeof ze)return ze;if("number"==typeof ze||"boolean"==typeof ze)return ze.toString();if(ze instanceof Error)return ze.message;try{return JSON.stringify(ze)}catch{return null}}).filter(ze=>ze).join(" ");Ge>=(He??Mt.logLevel)&&B({level:s[Ge].toLowerCase(),message:Xe,args:Qe,type:Mt.name})}}}},3391(tn,Ye,d){"use strict";d.d(Ye,{UN:()=>$f,Ny:()=>Th});var o=d(3664),s=d(2615),h=d(7705),v=(d(9079),d(1985)),T=d(983),M=d(7673),k=d(1413),H=d(3726),B=d(1584),x=d(8750);const{isArray:ye}=Array;function He(R){return 1===R.length&&ye(R[0])?R[0]:R}var Mt=d(4360);d(7786);var ze=d(9326);function Le(...R){const S=(0,ze.ms)(R),ce=He(R);return ce.length?new v.c(I=>{let N=ce.map(()=>[]),re=ce.map(()=>!1);I.add(()=>{N=re=null});for(let Ht=0;!I.closed&&Ht<ce.length;Ht++)(0,x.Tg)(ce[Ht]).subscribe((0,Mt._)(I,on=>{if(N[Ht].push(on),N.every(bi=>bi.length)){const bi=N.map(Bi=>Bi.shift());I.next(S?S(...bi):bi),N.some((Bi,tr)=>!Bi.length&&re[tr])&&I.complete()}},()=>{re[Ht]=!0,!N[Ht].length&&I.complete()}
1));return()=>{N=re=null}}):T.w}var ge=d(8793),kt=d(6977),Je=d(5964),Ke=d(8141),$e=d(6354),lt=d(9974),q=d(3669),de=d(5343);function ae(...R){const S=(0,ze.ms)(R);return(0,lt.N)((ce,I)=>{const N=R.length,re=new Array(N);let Ht=R.map(()=>!1),on=!1;for(let bi=0;bi<N;bi++)(0,x.Tg)(R[bi]).subscribe((0,Mt._)(I,Bi=>{re[bi]=Bi,!on&&!Ht[bi]&&(Ht[bi]=!0,(on=Ht.every(q.D))&&(Ht=null))},de.l));ce.subscribe((0,Mt._)(I,bi=>{if(on){const Bi=[bi,...re];I.next(S?S(...Bi):Bi)}}))})}d(1986);var Ne=d(6697),ve=d(5558);d(9172),d(3294),d(5245),d(2200),d(9417),Math,Math,Math;const ll=["*"],ct=["dialog"],Cn={animation:!0,transitionTimerDelayMs:5};let mi=(()=>{var R;class S{constructor(){this.animation=Cn.animation}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return R(),S})();function Oa(R){return"string"==typeof R}function So(R){return null!=R}function rn(R){return(R||document.body).getBoundingClientRect()}const ro=()=>{},{transitionTimerDelayMs:Kl}=Cn,Ml=new Map,rl=(R,S,ce,I)=>{let N=I.context||{};const re=Ml.get(S);if(re)switch(I.runningTransition){case"continue":return T.w;case"stop":R.run(()=>re.transition$.complete()),N=Object.assign(re.context,N),Ml.delete(S)}const Ht=ce(S,I.animation,N)||ro;if(!I.animation||"none"===window.getComputedStyle(S).transitionProperty)return R.run(()=>Ht()),(0,M.of)(void 0).pipe(function Pc(R){return S=>new v.c(ce=>S.subscribe({next:Ht=>R.run(()=>ce.next(Ht)),error:Ht=>R.run(()=>ce.error(Ht)),complete:()=>R.run(()=>ce.complete())}))}(R));const on=new k.B,bi=new k.B,Bi=on.pipe(function ue(...R){return S=>(0,ge.x)(S,(0,M.of)(...R))}(!0));Ml.set(S,{transition$:on,complete:()=>{bi.next(),bi.complete()},context:N});const tr=function Ar(R){const{transitionDelay:S,transitionDuration:ce}=window.getComputedStyle(R);return 1e3*(parseFloat(S)+parseFloat(ce))}(S);return R.runOutsideAngular(()=>{const Dr=(0,H.R)(S,"transitionend").pipe((0,kt.Q)(Bi),(0,Je.p)(({target:Wr})=>Wr===S));(function Ge(...R){return 1===(R=He(R)).length?(0,x.Tg)(R[0]):new v.c(function Qe(R){return S=>{let ce=[];for(let I=0;ce&&!S.closed&&I<R.length;I++)ce.push((0,x.Tg)(R[I]).subscribe((0,Mt._)(S,N=>{if(ce){for(let re=0;re<ce.length;re++)re!==I&&ce[re].unsubscribe();ce=null}S.next(N)})))}}(R))})((0,B.O)(tr+Kl).pipe((0,kt.Q)(Bi)),Dr,bi).pipe((0,kt.Q)(Bi)).subscribe(()=>{Ml.delete(S),R.run(()=>{Ht(),on.next(),on.complete()})})}),on.asObservable()};let Ls=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),jt=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Il=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),xo=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})();typeof navigator<"u"&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const Dc=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function wc(R){const S=Array.from(R.querySelectorAll(Dc)).filter(ce=>-1!==ce.tabIndex);return[S[0],S[S.length-1]]}new Date(1882,10,12),new Date(2174,10,25);let ir=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Hm=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Bf=(()=>{var R;class S{constructor(){this._ngbConfig=(0,s.WQX)(mi),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(I){this._animation=I}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return R(),S})();class bc{constructor(S,ce,I){this.nodes=S,this.viewRef=ce,this.componentRef=I}}let of=(()=>{var R;class S{constructor(){this._document=(0,s.WQX)(s.qQL)}hide(){const I=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),N=this._document.body,re=N.style,{overflow:Ht,paddingRight:on}=re;if(I>0){const bi=parseFloat(window.getComputedStyle(N).paddingRight);re.paddingRight=`${bi+I}px`}return re.overflow="hidden",()=>{I>0&&(re.paddingRight=on),re.overflow=Ht}}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return R(),S})();const Zu=["animation","backdropClass"];let Ym=(()=>{var R;class S{constructor(){this._nativeElement=(0,s.WQX)(o.aKT).nativeElement,this._zone=(0,s.WQX)(o.SKi),this._injector=(0,s.WQX)(s.zZn),this._cdRef=(0,s.WQX)(h.gRc)}ngOnInit(){(0,o.mal)({mixedReadWrite:()=>rl(this._zone,this._nativeElement,(I,N)=>{N&&rn(I),I.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return rl(this._zone,this._nativeElement,({classList:I})=>I.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(I){Zu.forEach(N=>{So(I[N])&&(this[N]=I[N])}),this._cdRef.markForCheck()}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275cmp=o.VBU({type:S,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(N,re){2&N&&(o.HbH("modal-backdrop"+(re.backdropClass?" "+re.backdropClass:"")),o.AVh("show",!re.animation)("fade",re.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(N,re){},encapsulation:2}))}return R(),S})();class yh{update(S){}close(S){}dismiss(S){}}class gd{update(S){this._windowCmptRef.instance.updateOptions(S),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(S)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,kt.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,kt.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(S,ce,I,N){this._windowCmptRef=S,this._contentRef=ce,this._backdropCmptRef=I,this._beforeDismiss=N,this._closed=new k.B,this._dismissed=new k.B,this._hidden=new k.B,S.instance.dismissEvent.subscribe(re=>{this.dismiss(re)}),this.result=new Promise((re,Ht)=>{this._resolve=re,this._reject=Ht}),this.result.then(null,()=>{})}close(S){this._windowCmptRef&&(this._closed.next(S),this._resolve(S),this._removeModalElements())}_dismiss(S){this._dismissed.next(S),this._reject(S),this._removeModalElements()}dismiss(S){if(this._windowCmptRef)if(this._beforeDismiss){const ce=this._beforeDismiss();!function Bl(R){return R&&R.then}(ce)?!1!==ce&&this._dismiss(S):ce.then(I=>{!1!==I&&this._dismiss(S)},()=>{})}else this._dismiss(S)}_removeModalElements(){const S=this._windowCmptRef.instance.hide(),ce=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,M.of)(void 0);S.subscribe(()=>{const{nativeElement:I}=this._windowCmptRef.location;I.parentNode.removeChild(I),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),ce.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:I}=this._backdropCmptRef.location;I.parentNode.removeChild(I),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Le(S,ce).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Wa=function(R){return R[R.BACKDROP_CLICK=0]="BACKDROP_CLICK",R[R.ESC=1]="ESC",R}(Wa||{});const Ad=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"];let wp=(()=>{var R;class S{constructor(){this._document=(0,s.WQX)(s.qQL),this._elRef=(0,s.WQX)(o.aKT),this._zone=(0,s.WQX)(o.SKi),this._injector=(0,s.WQX)(s.zZn),this._cdRef=(0,s.WQX)(h.gRc),this._closed$=new k.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new o.bkB,this.shown=new k.B,this.hidden=new k.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Oa(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(I){this.dismissEvent.emit(I)}ngOnInit(){this._elWithFocus=this._document.activeElement,(0,o.mal)({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:I}
1=this._elRef,N={animation:this.animation,runningTransition:"stop"},on=Le(rl(this._zone,I,()=>I.classList.remove("show"),N),rl(this._zone,this._dialogEl.nativeElement,()=>{},N));return on.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),on}updateOptions(I){Ad.forEach(N=>{So(I[N])&&(this[N]=I[N])}),this._cdRef.markForCheck()}_show(){const I={animation:this.animation,runningTransition:"continue"};Le(rl(this._zone,this._elRef.nativeElement,(Ht,on)=>{on&&rn(Ht),Ht.classList.add("show")},I),rl(this._zone,this._dialogEl.nativeElement,()=>{},I)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:I}=this._elRef;this._zone.runOutsideAngular(()=>{(0,H.R)(I,"keydown").pipe((0,kt.Q)(this._closed$),(0,Je.p)(re=>"Escape"===re.key)).subscribe(re=>{this.keyboard?requestAnimationFrame(()=>{re.defaultPrevented||this._zone.run(()=>this.dismiss(Wa.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let N=!1;(0,H.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,kt.Q)(this._closed$),(0,Ke.M)(()=>N=!1),(0,ve.n)(()=>(0,H.R)(I,"mouseup").pipe((0,kt.Q)(this._closed$),(0,Ne.s)(1))),(0,Je.p)(({target:re})=>I===re)).subscribe(()=>{N=!0}),(0,H.R)(I,"click").pipe((0,kt.Q)(this._closed$)).subscribe(({target:re})=>{I===re&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!N&&this._zone.run(()=>this.dismiss(Wa.BACKDROP_CLICK))),N=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:I}=this._elRef;if(!I.contains(document.activeElement)){const N=I.querySelector("[ngbAutofocus]"),re=wc(I)[0];(N||re||I).focus()}}_restoreFocus(){const I=this._document.body,N=this._elWithFocus;let re;re=N&&N.focus&&I.contains(N)?N:I,this._zone.runOutsideAngular(()=>{setTimeout(()=>re.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&rl(this._zone,this._elRef.nativeElement,({classList:I})=>(I.add("modal-static"),()=>I.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275cmp=o.VBU({type:S,selectors:[["ngb-modal-window"]],viewQuery:function(N,re){if(1&N&&o.GBs(ct,7),2&N){let Ht;o.mGM(Ht=o.lsd())&&(re._dialogEl=Ht.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(N,re){2&N&&(o.BMQ("aria-modal",!0)("aria-labelledby",re.ariaLabelledBy)("aria-describedby",re.ariaDescribedBy)("role",re.role),o.HbH("modal d-block"+(re.windowClass?" "+re.windowClass:"")),o.AVh("fade",re.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:ll,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(N,re){1&N&&(o.NAR(),o.rj2(0,"div",1,0)(2,"div",2),o.SdG(3),o.eux()()),2&N&&o.HbH("modal-dialog"+(re.size?" modal-"+re.size:"")+(re.centered?" modal-dialog-centered":"")+re.fullscreenClass+(re.scrollable?" modal-dialog-scrollable":"")+(re.modalDialogClass?" "+re.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}))}return R(),S})(),Rl=(()=>{var R;class S{constructor(){this._applicationRef=(0,s.WQX)(o.o8S),this._injector=(0,s.WQX)(s.zZn),this._environmentInjector=(0,s.WQX)(s.uvJ),this._document=(0,s.WQX)(s.qQL),this._scrollBar=(0,s.WQX)(of),this._activeWindowCmptHasChanged=new k.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new o.bkB;const I=(0,s.WQX)(o.SKi);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const N=this._windowCmpts[this._windowCmpts.length-1];((R,S,ce,I=!1)=>{R.runOutsideAngular(()=>{const N=(0,H.R)(S,"focusin").pipe((0,kt.Q)(ce),(0,$e.T)(re=>re.target));(0,H.R)(S,"keydown").pipe((0,kt.Q)(ce),(0,Je.p)(re=>"Tab"===re.key),ae(N)).subscribe(([re,Ht])=>{const[on,bi]=wc(S);(Ht===on||Ht===S)&&re.shiftKey&&(bi.focus(),re.preventDefault()),Ht===bi&&!re.shiftKey&&(on.focus(),re.preventDefault())}),I&&(0,H.R)(S,"click").pipe((0,kt.Q)(ce),ae(N),(0,$e.T)(re=>re[1])).subscribe(re=>re.focus())})})(I,N.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(N.location.nativeElement)}})}_restoreScrollBar(){const I=this._scrollBarRestoreFn;I&&(this._scrollBarRestoreFn=null,I())}
1_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(I,N,re){const Ht=re.container instanceof HTMLElement?re.container:So(re.container)?this._document.querySelector(re.container):this._document.body;if(!Ht)throw new Error(`The specified modal container "${re.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const on=new yh,bi=(I=re.injector||I).get(s.uvJ,null)||this._environmentInjector,Bi=this._getContentRef(I,bi,N,on,re);let tr=!1!==re.backdrop?this._attachBackdrop(Ht):void 0,Dr=this._attachWindowComponent(Ht,Bi.nodes),zr=new gd(Dr,Bi,tr,re.beforeDismiss);return this._registerModalRef(zr),this._registerWindowCmpt(Dr),zr.hidden.pipe((0,Ne.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),on.close=Wr=>{zr.close(Wr)},on.dismiss=Wr=>{zr.dismiss(Wr)},on.update=Wr=>{zr.update(Wr)},zr.update(re),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),tr&&tr.instance&&tr.changeDetectorRef.detectChanges(),Dr.changeDetectorRef.detectChanges(),zr}get activeInstances(){return this._activeInstances}dismissAll(I){this._modalRefs.forEach(N=>N.dismiss(I))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(I){let N=(0,h.a0P)(Ym,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(N.hostView),I.appendChild(N.location.nativeElement),N}_attachWindowComponent(I,N){let re=(0,h.a0P)(wp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:N});return this._applicationRef.attachView(re.hostView),I.appendChild(re.location.nativeElement),re}_getContentRef(I,N,re,Ht,on){return re?re instanceof o.C4Q?this._createFromTemplateRef(re,Ht):Oa(re)?this._createFromString(re):this._createFromComponent(I,N,re,Ht,on):new bc([])}_createFromTemplateRef(I,N){const Ht=I.createEmbeddedView({$implicit:N,close(on){N.close(on)},dismiss(on){N.dismiss(on)}});return this._applicationRef.attachView(Ht),new bc([Ht.rootNodes],Ht)}_createFromString(I){const N=this._document.createTextNode(`${I}`);return new bc([[N]])}_createFromComponent(I,N,re,Ht,on){const bi=s.zZn.create({providers:[{provide:yh,useValue:Ht}],parent:I}),Bi=(0,h.a0P)(re,{environmentInjector:N,elementInjector:bi}),tr=Bi.location.nativeElement;return on.scrollable&&tr.classList.add("component-host-scrollable"),this._applicationRef.attachView(Bi.hostView),new bc([[tr]],Bi.hostView,Bi)}_setAriaHidden(I){const N=I.parentElement;N&&I!==this._document.body&&(Array.from(N.children).forEach(re=>{re!==I&&"SCRIPT"!==re.nodeName&&(this._ariaHiddenValues.set(re,re.getAttribute("aria-hidden")),re.setAttribute("aria-hidden","true"))}),this._setAriaHidden(N))}_revertAriaHidden(){this._ariaHiddenValues.forEach((I,N)=>{I?N.setAttribute("aria-hidden",I):N.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(I){const N=()=>{const re=this._modalRefs.indexOf(I);re>-1&&(this._modalRefs.splice(re,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(I),this._activeInstances.emit(this._modalRefs),I.result.then(N,N)}_registerWindowCmpt(I){this._windowCmpts.push(I),this._activeWindowCmptHasChanged.next(),I.onDestroy(()=>{const N=this._windowCmpts.indexOf(I);N>-1&&(this._windowCmpts.splice(N,1),this._activeWindowCmptHasChanged.next())})}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return R(),S})(),mm=(()=>{var R;class S{constructor(){this._injector=(0,s.WQX)(s.zZn),this._modalStack=(0,s.WQX)(Rl),this._config=(0,s.WQX)(Bf)}open(I,N={}){const re={...this._config,animation:this._config.animation,...N};return this._modalStack.open(this._injector,I,re)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(I){this._modalStack.dismissAll(I)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275prov=s.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return R(),S})(),zm=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({providers:[mm]}))}return R(),S})(),zh=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),vm=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),nu=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Em=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Th=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Gh=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Mh=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),Kh=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),wm=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),yd=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})(),gf=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({}))}return R(),S})();const Np=[Ls,jt,Il,xo,ir,Hm,zm,zh,gf,vm,nu,Em,Th,Gh,Mh,Kh,wm,yd];let $f=(()=>{var R;class S{static#e=R=()=>(this.\u0275fac=function(N){return new(N||S)},this.\u0275mod=o.$C({type:S}),this.\u0275inj=s.G2t({imports:[Np,Ls,jt,Il,xo,ir,Hm,zm,zh,gf,vm,nu,Em,Th,Gh,Mh,Kh,wm,yd]}))}return R(),S})()},6749(tn,Ye,d){"use strict";d.d(Ye,{P2:()=>ue});var o=d(467);let h,y;const M=new WeakMap,k=new WeakMap,H=new WeakMap,B=new WeakMap,x=new WeakMap;let Mt={get(q,de,ae){if(q instanceof IDBTransaction){if("done"===de)return k.get(q);if("objectStoreNames"===de)return q.objectStoreNames||H.get(q);if("store"===de)return ae.objectStoreNames[1]?void 0:ae.objectStore(ae.objectStoreNames[0])}return ze(q[de])},set:(q,de,ae)=>
1(q[de]=ae,!0),has:(q,de)=>q instanceof IDBTransaction&&("done"===de||"store"===de)||de in q};function Xe(q){return"function"==typeof q?function Qe(q){return q!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?function T(){return y||(y=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}().includes(q)?function(...de){return q.apply(Le(this),de),ze(M.get(this))}:function(...de){return ze(q.apply(Le(this),de))}:function(de,...ae){const he=q.call(Le(this),de,...ae);return H.set(he,de.sort?de.sort():[de]),ze(he)}}(q):(q instanceof IDBTransaction&&function He(q){if(k.has(q))return;const de=new Promise((ae,he)=>{const Ne=()=>{q.removeEventListener("complete",ve),q.removeEventListener("error",at),q.removeEventListener("abort",at)},ve=()=>{ae(),Ne()},at=()=>{he(q.error||new DOMException("AbortError","AbortError")),Ne()};q.addEventListener("complete",ve),q.addEventListener("error",at),q.addEventListener("abort",at)});k.set(q,de)}(q),((q,de)=>de.some(ae=>q instanceof ae))(q,function v(){return h||(h=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}())?new Proxy(q,Mt):q)}function ze(q){if(q instanceof IDBRequest)return function ye(q){const de=new Promise((ae,he)=>{const Ne=()=>{q.removeEventListener("success",ve),q.removeEventListener("error",at)},ve=()=>{ae(ze(q.result)),Ne()},at=()=>{he(q.error),Ne()};q.addEventListener("success",ve),q.addEventListener("error",at)});return de.then(ae=>{ae instanceof IDBCursor&&M.set(ae,q)}).catch(()=>{}),x.set(de,q),de}(q);if(B.has(q))return B.get(q);const de=Xe(q);return de!==q&&(B.set(q,de),x.set(de,q)),de}const Le=q=>x.get(q);function ue(q,de,{blocked:ae,upgrade:he,blocking:Ne,terminated:ve}={}){const at=indexedDB.open(q,de),Ut=ze(at);return he&&at.addEventListener("upgradeneeded",nt=>{he(ze(at.result),nt.oldVersion,nt.newVersion,ze(at.transaction),nt)}),ae&&at.addEventListener("blocked",nt=>ae(nt.oldVersion,nt.newVersion,nt)),Ut.then(nt=>{ve&&nt.addEventListener("close",()=>ve()),Ne&&nt.addEventListener("versionchange",cn=>Ne(cn.oldVersion,cn.newVersion,cn))}).catch(()=>{}),Ut}const Je=["get","getKey","getAll","getAllKeys","count"],Ke=["put","add","delete","clear"],$e=new Map;function lt(q,de){if(!(q instanceof IDBDatabase)||de in q||"string"!=typeof de)return;if($e.get(de))return $e.get(de);const ae=de.replace(/FromIndex$/,""),he=de!==ae,Ne=Ke.includes(ae);if(!(ae in(he?IDBIndex:IDBObjectStore).prototype)||!Ne&&!Je.includes(ae))return;const ve=function(){var at=(0,o.A)(function*(Ut,...nt){const cn=this.transaction(Ut,Ne?"readwrite":"readonly");let hn=cn.store;return he&&(hn=hn.index(nt.shift())),(yield Promise.all([hn[ae](...nt),Ne&&cn.done]))[0]});
1return function(nt){return at.apply(this,arguments)}}();return $e.set(de,ve),ve}!function Ge(q){Mt=q(Mt)}(q=>({...q,get:(de,ae,he)=>lt(de,ae)||q.get(de,ae,he),has:(de,ae)=>!!lt(de,ae)||q.has(de,ae)}))},6554(tn,Ye,d){"use strict";d.d(Ye,{PO:()=>$e,et:()=>Ke,ex:()=>ue});var o=d(7705),s=d(2615),h=d(3664),y=d(1413),v=d(4412),T=d(5964),M=d(6977),k=d(1514),H=d(2200),B=d(345);const x=["overlay"],ye=["*"];function He(lt,q){1<&&h.nrm(0,"div")}function Mt(lt,q){if(1<&&(h.j41(0,"div"),h.DNE(1,He,1,0,"div",6),h.k0s()),2<){const de=h.XpG(2);h.HbH(de.spinner.class),h.xc7("color",de.spinner.color),h.R7$(),h.Y8G("ngForOf",de.spinner.divArray)}}function Ge(lt,q){if(1<&&(h.nrm(0,"div",7),h.nI1(1,"safeHtml")),2<){const de=h.XpG(2);h.Y8G("innerHTML",h.bMT(1,1,de.template),h.npT)}}function Qe(lt,q){if(1<&&(h.j41(0,"div",2,0),h.DNE(2,Mt,2,5,"div",3)(3,Ge,2,3,"div",4),h.j41(4,"div",5),h.SdG(5),h.k0s()()),2<){const de=h.XpG();h.xc7("background-color",de.spinner.bdColor)("z-index",de.spinner.zIndex)("position",de.spinner.fullScreen?"fixed":"absolute"),h.Y8G("@.disabled",de.disableAnimation)("@fadeIn","in"),h.R7$(2),h.Y8G("ngIf",!de.template),h.R7$(),h.Y8G("ngIf",de.template),h.R7$(),h.xc7("z-index",de.spinner.zIndex)}}const Xe={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1},Le="primary";class ge{constructor(q){Object.assign(this,q)}static create(q){return!q?.template&&!q?.type&&console.warn('[ngx-spinner]: Property "type" is missed. Please, provide animation type to <ngx-spinner> component\n and ensure css is added to angular.json file'),new ge(q)}}let ue=(()=>{var lt;class q{constructor(){this.spinnerObservable=new v.t(null)}getSpinner(ae){return this.spinnerObservable.asObservable().pipe((0,T.p)(he=>he&&he.name===ae))}show(ae=Le,he){return new Promise((Ne,ve)=>{setTimeout(()=>{he&&Object.keys(he).length?(he.name=ae,this.spinnerObservable.next(new ge({...he,show:!0})),Ne(!0)):(this.spinnerObservable.next(new ge({name:ae,show:!0})),Ne(!0))},10)})}hide(ae=Le,he=10){return new Promise((Ne,ve)=>{setTimeout(()=>{this.spinnerObservable.next(new ge({name:ae,show:!1})),Ne(!0)},he)})}static#e=lt=()=>(this.\u0275fac=function(he){return new(he||q)},this.\u0275prov=s.jDH({token:q,factory:q.\u0275fac,providedIn:"root"}))}return lt(),q})();const kt=new s.nKC("NGX_SPINNER_CONFIG");let Je=(()=>{var lt;class q{constructor(ae){this._sanitizer=ae}transform(ae){if(ae)return this._sanitizer.bypassSecurityTrustHtml(ae)}static#e=lt=()=>(this.\u0275fac=function(he){return new(he||q)(h.rXU(B.up,16))},this.\u0275pipe=h.EJ8({name:"safeHtml",type:q,pure:!0,standalone:!1}))}return lt(),q})(),Ke=(()=>{var lt;class q{constructor(ae,he,Ne,ve){this.spinnerService=ae,this.changeDetector=he,this.elementRef=Ne,this.globalConfig=ve,this.disableAnimation=!1,this.spinner=new ge,this.ngUnsubscribe=new y.B,this.setDefaultOptions=()=>{const{type:at}=this.globalConfig??{};this.spinner=ge.create({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type??at,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template,showSpinner:this.showSpinner})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.size="large",this.fullScreen=!0,this.name=Le,this.template=null,this.showSpinner=!1,this.divArray=[],this.divCount=0,this.show=!1}initObservable(){this.spinnerService.getSpinner(this.name).pipe((0,M.Q)(this.ngUnsubscribe)).subscribe(ae=>{this.setDefaultOptions(),Object.assign(this.spinner,ae),ae.show&&this.onInputChange(),this.changeDetector.detectChanges()})}ngOnInit(){this.setDefaultOptions(),this.initObservable()}isSpinnerZone(ae){return ae===this.elementRef.nativeElement.parentElement||ae.parentNode&&this.isSpinnerZone(ae.parentNode)}ngOnChanges(ae){for(const he in ae)if(he){const Ne=ae[he];if(Ne.isFirstChange())return;typeof Ne.currentValue<"u"&&Ne.currentValue!==Ne.previousValue&&""!==Ne.currentValue&&(this.spinner[he]=Ne.currentValue,"showSpinner"===he&&(Ne.currentValue?this.spinnerService.show(this.spinner.name,this.spinner):this.spinnerService.hide(this.spinner.name)),"name"===he&&this.initObservable())}}getClass(ae,he){this.spinner.divCount=Xe[ae],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((ve,at)=>at);let Ne="";switch(he.toLowerCase()){case"small":Ne="la-sm";break;case"medium":Ne="la-2x";break;case"large":Ne="la-3x"}return"la-"+ae+" "+Ne}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}static#e=lt=()=>(this.\u0275fac=function(he){return new(he||q)(h.rXU(ue),h.rXU(o.gRc),h.rXU(h.aKT),h.rXU(kt,8))},this.\u0275cmp=h.VBU({type:q,selectors:[["ngx-spinner"]],viewQuery:function(he,Ne){if(1&he&&h.GBs(x,5),2&he){let ve;h.mGM(ve=h.lsd())&&(Ne.spinnerDOM=ve.first)}},inputs:{bdColor:"bdColor",size:"size",color:"color",type:"type",fullScreen:"fullScreen",name:"name",zIndex:"zIndex",template:"template",showSpinner:"showSpinner",disableAnimation:"disableAnimation"},standalone:!1,features:[h.OA$],ngContentSelectors:ye,decls:1,vars:1,consts:[["overlay",""],["class","ngx-spinner-overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"ngx-spinner-overlay"],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(he,Ne){1&he&&(h.NAR(),h.DNE(0,Qe,6,12,"div",1)),2&he&&h.Y8G("ngIf",Ne.spinner.show)},dependencies:[H.Sq,H.bT,Je],styles:[".ngx-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.ngx-spinner-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}"],data:{animation:[(0,k.hZ)("fadeIn",[(0,k.wk)("in",(0,k.iF)({opacity:1})),(0,k.kY)(":enter",[(0,k.iF)({opacity:0}
1),(0,k.i0)(300)]),(0,k.kY)(":leave",(0,k.i0)(200,(0,k.iF)({opacity:0})))])]},changeDetection:0}))}return lt(),q})(),$e=(()=>{var lt;class q{static forRoot(ae){return{ngModule:q,providers:[{provide:kt,useValue:ae}]}}static#e=lt=()=>(this.\u0275fac=function(he){return new(he||q)},this.\u0275mod=h.$C({type:q}),this.\u0275inj=s.G2t({imports:[H.MD]}))}return lt(),q})()},467(tn,Ye,d){"use strict";function o(h,y,v,T,M,k,H){try{var B=h[k](H),x=B.value}catch(ye){return void v(ye)}B.done?y(x):Promise.resolve(x).then(T,M)}function s(h){return function(){var y=this,v=arguments;return new Promise(function(T,M){var k=h.apply(y,v);function H(x){o(k,T,M,H,B,"next",x)}function B(x){o(k,T,M,H,B,"throw",x)}H(void 0)})}}d.d(Ye,{A:()=>s})},1635(tn,Ye,d){"use strict";d.d(Ye,{AQ:()=>kt,C6:()=>s,Cl:()=>h,Ju:()=>Qe,N3:()=>ue,Tt:()=>y,YH:()=>He,fX:()=>ge,sH:()=>ye,ue:()=>$e,xN:()=>Ke,zs:()=>Xe});var o=function(qt,Te){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Pe,yt){Pe.__proto__=yt}||function(Pe,yt){for(var wt in yt)Object.prototype.hasOwnProperty.call(yt,wt)&&(Pe[wt]=yt[wt])})(qt,Te)};function s(qt,Te){if("function"!=typeof Te&&null!==Te)throw new TypeError("Class extends value "+String(Te)+" is not a constructor or null");function Pe(){this.constructor=qt}o(qt,Te),qt.prototype=null===Te?Object.create(Te):(Pe.prototype=Te.prototype,new Pe)}var h=function(){return h=Object.assign||function(Te){for(var Pe,yt=1,wt=arguments.length;yt<wt;yt++)for(var Ie in Pe=arguments[yt])Object.prototype.hasOwnProperty.call(Pe,Ie)&&(Te[Ie]=Pe[Ie]);return Te},h.apply(this,arguments)};function y(qt,Te){var Pe={};for(var yt in qt)Object.prototype.hasOwnProperty.call(qt,yt)&&Te.indexOf(yt)<0&&(Pe[yt]=qt[yt]);if(null!=qt&&"function"==typeof Object.getOwnPropertySymbols){var wt=0;for(yt=Object.getOwnPropertySymbols(qt);wt<yt.length;wt++)Te.indexOf(yt[wt])<0&&Object.prototype.propertyIsEnumerable.call(qt,yt[wt])&&(Pe[yt[wt]]=qt[yt[wt]])}return Pe}function ye(qt,Te,Pe,yt){return new(Pe||(Pe=Promise))(function(Ie,ie){function je(We){try{Ze(yt.next(We))}catch(Ot){ie(Ot)}}function rt(We){try{Ze(yt.throw(We))}catch(Ot){ie(Ot)}}function Ze(We){We.done?Ie(We.value):function wt(Ie){return Ie instanceof Pe?Ie:new Pe(function(ie){ie(Ie)})}(We.value).then(je,rt)}Ze((yt=yt.apply(qt,Te||[])).next())})}function He(qt,Te){var yt,wt,Ie,Pe={label:0,sent:function(){if(1&Ie[0])throw Ie[1];return Ie[1]},trys:[],ops:[]},ie=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return ie.next=je(0),ie.throw=je(1),ie.return=je(2),"function"==typeof Symbol&&(ie[Symbol.iterator]=function(){return this}),ie;function je(Ze){return function(We){return function rt(Ze){if(yt)throw new TypeError("Generator is already executing.");for(;ie&&(ie=0,Ze[0]&&(Pe=0)),Pe;)try{if(yt=1,wt&&(Ie=2&Ze[0]?wt.return:Ze[0]?wt.throw||((Ie=wt.return)&&Ie.call(wt),0):wt.next)&&!(Ie=Ie.call(wt,Ze[1])).done)return Ie;switch(wt=0,Ie&&(Ze=[2&Ze[0],Ie.value]),Ze[0]){case 0:case 1:Ie=Ze;break;case 4:return Pe.label++,{value:Ze[1],done:!1};case 5:Pe.label++,wt=Ze[1],Ze=[0];continue;case 7:Ze=Pe.ops.pop(),Pe.trys.pop();continue;default:if(!(Ie=(Ie=Pe.trys).length>0&&Ie[Ie.length-1])&&(6===Ze[0]||2===Ze[0])){Pe=0;continue}if(3===Ze[0]&&(!Ie||Ze[1]>Ie[0]&&Ze[1]<Ie[3])){Pe.label=Ze[1];break}if(6===Ze[0]&&Pe.label<Ie[1]){Pe.label=Ie[1],Ie=Ze;break}if(Ie&&Pe.label<Ie[2]){Pe.label=Ie[2],Pe.ops.push(Ze);break}Ie[2]&&Pe.ops.pop(),Pe.trys.pop();continue}Ze=Te.call(qt,Pe)}catch(We){Ze=[6,We],wt=0}finally{yt=Ie=0}if(5&Ze[0])throw Ze[1];return{value:Ze[0]?Ze[1]:void 0,done:!0}}([Ze,We])}}}function Qe(qt){var Te="function"==typeof Symbol&&Symbol.iterator,Pe=Te&&qt[Te],yt=0;if(Pe)return Pe.call(qt);if(qt&&"number"==typeof qt.length)return{next:function(){return qt&&yt>=qt.length&&(qt=void 0),{value:qt&&qt[yt++],done:!qt}}};throw new TypeError(Te?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xe(qt,Te){var Pe="function"==typeof Symbol&&qt[Symbol.iterator];if(!Pe)return qt;var wt,ie,yt=Pe.call(qt),Ie=[];try{for(;(void 0===Te||Te-- >0)&&!(wt=yt.next()).done;)Ie.push(wt.value)}catch(je){ie={error:je}}finally{try{wt&&!wt.done&&(Pe=yt.return)&&Pe.call(yt)}finally{if(ie)throw ie.error}}return Ie}function ge(qt,Te,Pe){if(Pe||2===arguments.length)for(var Ie,yt=0,wt=Te.length;yt<wt;yt++)(Ie||!(yt in Te))&&(Ie||(Ie=Array.prototype.slice.call(Te,0,yt)),Ie[yt]=Te[yt]);return qt.concat(Ie||Array.prototype.slice.call(Te))}function ue(qt){return this instanceof ue?(this.v=qt,this):new ue(qt)}function kt(qt,Te,Pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var wt,yt=Pe.apply(qt,Te||[]),Ie=[];return wt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),je("next"),je("throw"),je("return",function ie(It){return function(Zt){return Promise.resolve(Zt).then(It,Ot)}}),wt[Symbol.asyncIterator]=function(){return this},wt;function je(It,Zt){yt[It]&&(wt[It]=function(ti){return new Promise(function(Wn,mr){Ie.push([It,ti,Wn,mr])>1||rt(It,ti)})},Zt&&(wt[It]=Zt(wt[It])))}function rt(It,Zt){try{!function Ze(It){It.value instanceof ue?Promise.resolve(It.value.v).then(We,Ot):Me(Ie[0][2],It)}(yt[It](Zt))}catch(ti){Me(Ie[0][3],ti)}}function We(It){rt("next",It)}function Ot(It){rt("throw",It)}function Me(It,Zt){It(Zt),Ie.shift(),Ie.length&&rt(Ie[0][0],Ie[0][1])}}function Ke(qt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Pe,Te=qt[Symbol.asyncIterator];return Te?Te.call(qt):(qt=Qe(qt),Pe={}
1,yt("next"),yt("throw"),yt("return"),Pe[Symbol.asyncIterator]=function(){return this},Pe);function yt(Ie){Pe[Ie]=qt[Ie]&&function(ie){return new Promise(function(je,rt){!function wt(Ie,ie,je,rt){Promise.resolve(rt).then(function(Ze){Ie({value:Ze,done:je})},ie)}(je,rt,(ie=qt[Ie](ie)).done,ie.value)})}}}function $e(qt,Te){return Object.defineProperty?Object.defineProperty(qt,"raw",{value:Te}):qt.raw=Te,qt}"function"==typeof SuppressedError&&SuppressedError}},tn=>{tn(tn.s=1866)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.