PageSourceSearch

https://blocksurvey.io/main.a2b23fc4155890ba.js

js blocksurvey.io collected 2026-09-24 21:17:09 UTC 844,114 bytes, 1 lines download raw bytes

1(self.webpackChunkblocksurvey=self.webpackChunkblocksurvey||[]).push([[414,7044,8792,9248],{95095(wt,Ce,a){"use strict";a.d(Ce,{Y:()=>J});var I=a(45312),D=a(2899);const J={PRODUCTION:I.c.production,DOMAIN_URL:I.c.production?typeof window<"u"&&window.location&&window.location.hostname?"https://"+window.location.hostname:"https://blocksurvey.io":"http://localhost:4200",API_SVC_URL:I.c.API_SVC_URL,CMS_SVC_URL:I.c.CMS_SVC_URL,AI_AGENT_API_SVC_URL:I.c.AI_AGENT_API_SVC_URL,AI_DATA_ANALYSIS_API_SVC_URL:I.c.AI_DATA_ANALYSIS_API_SVC_URL,AI_SURVEY_CREATION_API_SVC_URL:I.c.AI_SURVEY_CREATION_API_SVC_URL,SOCIAL_OAUTH_API_SVC_URL:I.c.SOCIAL_OAUTH_API_SVC_URL,TEAM_SVC_URL:I.c.TEAM_SVC_URL,BLOCKLIST_SVC_URL:I.c.LOOKUP_SVC_URL,PLAN_LIMIT_SVC_URL:I.c.PLAN_LIMIT_SVC_URL,STATIC_SVC_URL:I.c.STATIC_SVC_URL,STATIC_FILES_SVC_URL:I.c.STATIC_FILES_SVC_URL,BRAND_ASSETS_SVC_URL:I.c.BRAND_ASSETS_SVC_URL,SAMPLE_BRAND_DOMAIN:"blocksurvey.io",YJS_WEBSOCKET_URL:I.c.YJS_WEBSOCKET_URL,SURVEY_TAKING_URL:I.c.SURVEY_TAKING_URL,SURVEY_SUBMISSION_FALLBACK_URL:I.c.SURVEY_SUBMISSION_FALLBACK_URL,SURVEY_SUBMISSION_FALLBACK_URL_WITH_DIFFERENT_DOMAIN:I.c.SURVEY_SUBMISSION_FALLBACK_URL_WITH_DIFFERENT_DOMAIN,SUPERTOKENS_SVC_URL:I.c.SUPERTOKENS_SVC_URL,MCP_SVC_URL:I.c.MCP_SVC_URL,TEMPLATES_SVC_URL:I.c.TEMPLATES_SVC_URL,SURVEYS_SVC_URL:I.c.SURVEYS_SVC_URL,CUSTOMLINK_API_URL:I.c.CUSTOMLINK_API_URL,FB_PROJECT_ID:I.c.FB_PROJECT_ID,SAVE_ANSWER:"/api/blocksurvey/answer",SAVE_ANSWER_SYNC:"/bs-offline-sync/answer",INFURA_KEY:I.c.INFURA_KEY,FORTMATIC_KEY:I.c.FORTMATIC_KEY,SUBSCRIBE_EMAIL_NOTIFICATION:"/email/blocksurvey/subscribe",SUBSCRIBE_EMAIL_INFORMATION:"/email/blocksurvey/info",SUBSCRIBE_SMS_NOTIFICATION:"/sms-notification/blocksurvey/subscribe",SMS_NOTIFICATION_INFO:"/sms-notification/blocksurvey/info",EMAIL:"/email",WEBHOOK:"/webhook/blocksurvey/trigger",ACCOUNT_SUBSCRIPTION:"/account",CNAME:"/cname",EMAIL_CONFIG:"/emailConfig",AI_SURVEY_GENERATION:"/openai",STORAGE_DELETE_SVC:"/storage/blocksurvey/delete",TYPESENSE_URL:I.c.TYPESENSE_URL,TYPESENSE_SEARCH:"Zs8WQNG0pirQGDIMziPh8VX1br0QYBqm",RESPONSES:"/responses",RESPONSE_ADD_ON_PLANS:I.c.RESPONSE_ADD_ON_PLANS,CONTACT:"/contact",AUDIT_LOG:"/audit-log",VERSION_HISTORY:"/version-history",GAIA_HUB_PREFIX:"https://gaia.hiro.so/hub/",BLOCKSURVEY_GAIA_STORAGE_URL:"https://ga.blocksurvey.io/",STACKS_MAINNET_API_URL:I.c.STACKS_MAINNET_API_URL,STACKS_TESTNET_API_URL:I.c.STACKS_TESTNET_API_URL,STACKS_HIRO_API_URL:I.c.STACKS_HIRO_API_URL,CLOUD_STORAGE_URL:I.c.CLOUD_STORAGE_URL,FULL_WALLET_DELEGATED_ACCESS_CONTRACT_ADDRESS:"0x0000000000000000000000000000000000000000",EXPERIENCE_TYPES:{nps:"NPS",csat:"CSAT",ces:"CES"},DISABLED_TYPES_FOR_RECALL:{statement:!0,payment:!0,questiongroup:!0,signature:!0,contactform:!0,maxDiff:!0,vanWestendorp:!0,bipolar:!0,gaborGranger:!0,conjoint:!0},DEFAULT_VARIABLES:[{id:"v",label:"View",description:"This variable captures the BlockSurvey's current display view: One question at a time, classic, or conversational.",isHidden:!0},{id:"language",label:"Language",description:"Use this variable in the share screen to customize the link for the translated language.",isHidden:!0},{id:"9065a96f-a514-4aa3-800c-a03dd5048057",label:"Distribution Code",description:"Use this variable to get the distributed code."},{id:"isCampaign",label:"Campaign",description:"Automatically set to 'true' when the survey is opened via a campaign link. Use this in display or skip logic to show or hide questions for campaign respondents only."}],DEFAULT_VARIABLES_MODIFIABLE:["ref","source","medium","result","responseID"],ADDRESS_VARIABLES:["solAddress","ethAddress","stxAddress","btcAddress","btcName","email"],DEFAULT_EXPRESSIONS:[{id:"score",label:"Score",description:"Sum of all questions"},{id:"total_cart_amount",label:"Total Cart Amount",description:"Sum of total amount(all carts)"},{id:"discount",label:"Discount",description:"Discount amount on payment amount"}],DEFAULT_EXPRESSIONS_MODIFIABLE:[{id:"price",label:"Price",description:"Price calculation"}],DEFAULT_HIDDEN_EXPRESSIONS:[{id:"payment_amount",label:"Final Payment Amount",description:"Final payable amount"}],PAYMENT_CURRENCIES:["EUR","GBP","USD","AUD","CAD","CHF","NOK","SEK","DKK","MXN","NZD","BRL","SGD"],STRIPE_LIVE_PK:I.c.STRIPE_LIVE_PK,STRIPE_TEST_PK:I.c.STRIPE_TEST_PK,PLAN_FREE_RESULTS_LIMIT:50,PLAN_FREE_SURVEYS_LIMIT:3,FONT_SIZES:{oneQuestionAtATime:{desktop:{welcome:{title:32,description:18,buttonText:20},thankyou:{title:32,description:18,buttonText:20},questions:{question:20,description:16,answerInputText:18,nextButtonText:18,submitButtonText:18,answerOptions:16,matrixColText:14,matrixRowText:14,topSpacing:120,bottomSpacing:184}},mobile:{welcome:{title:24,description:16,buttonText:18},thankyou:{title:24,description:16,buttonText:18},questions:{question:18,description:14,answerInputText:16,nextButtonText:16,submitButtonText:16,answerOptions:16,matrixRowText:14,topSpacing:64,bottomSpacing:112}}},classic:{desktop:{header:{title:24,description:18},welcome:{title:32,description:18,buttonText:20},thankyou:{title:32,description:18,buttonText:20},questions:{question:20,description:16,answerInputText:18,submitButtonText:18,answerOptions:16,matrixColText:14,matrixRowText:14}},mobile:{header:{title:20,description:16},welcome:{title:24,description:16,buttonText:18},thankyou:{title:24,description:16,buttonText:18},questions:{question:18,description:14,answerInputText:16,submitButtonText:16,answerOptions:16,matrixRowText:14}}}},STAR_HEX_CODES:{1:"\u2605",2:"\u2605 \u2605",3:"\u2605 \u2605 \u2605",4:"\u2605 \u2605 \u2605 \u2605",5:"\u2605 \u2605 \u2605 \u2605 \u2605",6:"\u2605 \u2605 \u2605 \u2605 \u2605 \u2605",7:"\u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605",8:"\u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605",9:"\u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605",10:"\u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605 \u2605"},PAYMENT_GATEWAYS:{stripe:"Stripe"},TURNSTILE_SITE_KEY:I.c.TURNSTILE_SITE_KEY,TURNSTILE_SITE_KEY_FOR_SURVEY:I.c.TURNSTILE_SITE_KEY_FOR_SURVEY,DEFAULT_CHART_COLORS:["#0073E6","#FF6B35","#00A86B","#F
1FB81C","#8B4789","#E94B3C","#4ECDC4","#95A5A6","#2C3E50","#F39C12"],DEFAULT_CHART_COLORS_OBJ:[{value:"#0073E6"},{value:"#FF6B35"},{value:"#00A86B"},{value:"#FFB81C"},{value:"#8B4789"},{value:"#E94B3C"},{value:"#4ECDC4"},{value:"#95A5A6"},{value:"#2C3E50"},{value:"#F39C12"}],USER_AVATAR_COLORS:["#1E88E5","#E91E63","#00897B","#FB8C00","#8E24AA","#43A047","#F4511E","#00ACC1","#D81B60","#6D4C41","#5E35B1","#1976D2","#7CB342","#FDD835","#C0CA33","#00796B","#F06292","#9C27B0","#FF5722","#26A69A"],SCALE_COLOR_PALETTES:{2:{colors:[{value:"#FF6B6B"},{value:"#4ECDC4"}],description:"Perfect for binary comparisons and yes/no questions"},3:{colors:[{value:"#FF6B6B"},{value:"#FFD93D"},{value:"#4ECDC4"}],description:"Ideal for 3-point scales like low/medium/high ratings"},4:{colors:[{value:"#FF6B6B"},{value:"#FF9F6B"},{value:"#A8E6CF"},{value:"#4ECDC4"}],description:"Great for quarterly data and 4-option multiple choice"},5:{colors:[{value:"#FF6B6B"},{value:"#FF9F6B"},{value:"#FFD93D"},{value:"#A8E6CF"},{value:"#4ECDC4"}],description:"Best for Likert scales and 5-star rating questions"},7:{colors:[{value:"#FF4D4D"},{value:"#FF6B6B"},{value:"#FF9F6B"},{value:"#FFD93D"},{value:"#C7EA46"},{value:"#A8E6CF"},{value:"#4ECDC4"}],description:"Perfect for 7-point scales and weekly data visualization"},10:{colors:[{value:"#FF4D4D"},{value:"#FF6363"},{value:"#FF7979"},{value:"#FF9F6B"},{value:"#FFB86B"},{value:"#FFD93D"},{value:"#C7EA46"},{value:"#A8E6CF"},{value:"#6FD6C8"},{value:"#4ECDC4"}],description:"Excellent for NPS scores and 10-point rating scales"}},POSTHOG_API_KEY:I.c.POSTHOG_API_KEY,POSTHOG_HOST:I.c.POSTHOG_HOST,PLANS_CREDITS_DETAILS:{free:{survey:{monthly:"3",yearly:"3"},credits:{monthly:1e4.toLocaleString("en-US"),yearly:1e4.toLocaleString("en-US")}},standard:{survey:{monthly:7..toLocaleString("en-US"),yearly:50..toLocaleString("en-US")},credits:{monthly:25e3.toLocaleString("en-US"),yearly:3e5.toLocaleString("en-US")}},premium:{survey:{monthly:15..toLocaleString("en-US"),yearly:100..toLocaleString("en-US")},credits:{monthly:5e4.toLocaleString("en-US"),yearly:6e5.toLocaleString("en-US")}},team:{survey:{monthly:25..toLocaleString("en-US"),yearly:250..toLocaleString("en-US")},credits:{monthly:1e5.toLocaleString("en-US"),yearly:12e5.toLocaleString("en-US")}}},BLOCKSURVEY_TWEETNACL_PUBLIC_KEY:I.c.BLOCKSURVEY_TWEETNACL_PUBLIC_KEY,SIGNUP_POPUP_ENABLED:!1,...D.q}},43021(wt,Ce,a){"use strict";a.d(Ce,{A:()=>B,k:()=>J});var I=a(91413);const D=/does not exist|not exists|not found|Error 404/i;function _(S){const k=S.error,R="string"==typeof k?k:k?.message;return"string"==typeof R?R:""}function J(S){return S instanceof I.yz&&(404===S.status||D.test(_(S)))}function B(S){return S instanceof I.yz&&(404===S.status||S.status>0&&S.status<500&&D.test(_(S)))}},2899(wt,Ce,a){"use strict";a.d(Ce,{q:()=>I});const I={LOGIC_IS:{id:"LOGIC_IS",value:"is"},LOGIC_IS_NOT:{id:"LOGIC_IS_NOT",value:"is not"},LOGIC_IS_EQUAL_TO:{id:"LOGIC_IS_EQUAL_TO",value:"is equal to"},LOGIC_IS_NOT_EQUAL_TO:{id:"LOGIC_IS_NOT_EQUAL_TO",value:"is not equal to"},LOGIC_BEGINS_WITH:{id:"LOGIC_BEGINS_WITH",value:"begins with"},LOGIC_ENDS_WITH:{id:"LOGIC_ENDS_WITH",value:"ends with"},LOGIC_CONTAINS:{id:"LOGIC_CONTAINS",value:"contains"},LOGIC_DOES_NOT_CONTAIN:{id:"LOGIC_DOES_NOT_CONTAIN",value:"does not contain"},LOGIC_IS_EMPTY:{id:"LOGIC_IS_EMPTY",value:"is empty"},LOGIC_IS_NOT_EMPTY:{id:"LOGIC_IS_NOT_EMPTY",value:"is not empty"},LOGIC_IN:{id:"LOGIC_IN",value:"in"},LOGIC_NOT_IN:{id:"LOGIC_NOT_IN",value:"not in"},LOGIC_IS_LOWER_THAN:{id:"LOGIC_IS_LOWER_THAN",value:"is lower than"},LOGIC_LOWER_THAN_OR_EQUAL_TO:{id:"LOGIC_LOWER_THAN_OR_EQUAL_TO",value:"lower than or equal to"},LOGIC_IS_GREATER_THAN:{id:"LOGIC_IS_GREATER_THAN",value:"is greater than"},LOGIC_GREATER_THAN_OR_EQUAL_TO:{id:"LOGIC_GREATER_THAN_OR_EQUAL_TO",value:"greater than or equal to"},LOGIC_IS_ON:{id:"LOGIC_IS",value:"is on"},LOGIC_IS_NOT_ON:{id:"LOGIC_IS_NOT_ON",value:"is not on"},LOGIC_IS_BEFORE:{id:"LOGIC_IS_BEFORE",value:"is before"},LOGIC_IS_BEFORE_OR_ON:{id:"LOGIC_IS_BEFORE_OR_ON",value:"is before or on"},LOGIC_IS_AFTER:{id:"LOGIC_IS_AFTER",value:"is after"},LOGIC_IS_AFTER_OR_ON:{id:"LOGIC_IS_AFTER_OR_ON",value:"is after or on"},LOGIC_IS_NOT_BEFORE:{id:"LOGIC_IS_NOT_BEFORE",value:"is not before"},LOGIC_IS_NOT_AFTER:{id:"LOGIC_IS_NOT_AFTER",value:"is not after"},LOGIC_SELECTED_COUNT_IS:{id:"LOGIC_SELECTED_COUNT_IS",value:"selected count is"},LOGIC_SELECTED_COUNT_IS_NOT:{id:"LOGIC_SELECTED_COUNT_IS_NOT",value:"selected count is not"},MULTIPLE_NUMBER_TOTAL_TARGET:{id:"BS::multiplenumber::total",value:"Total of all boxes"},MULTIPLE_NUMBER_ANY_TARGET:{id:"BS::multiplenumber::any",value:"Any box"}}},83948(wt,Ce,a){"use strict";a.d(Ce,{s:()=>D});var I=a(60414);let D=(()=>{class _{static{this.PRODUCTION_ORIGIN="https://blocksurvey.io"}constructor(B){this._document=B}setCanonicalURL(B){const k=this.normalizeURL(B??this._document.location.href);let R=this._document.querySelector('link[rel="canonical"]');R||(R=this._document.createElement("link"),R.setAttribute("rel","canonical"),this._document.head.appendChild(R)),R.setAttribute("href",k)}normalizeURL(B){try{const S=new URL(B),k=new URL(_.PRODUCTION_ORIGIN);return S.protocol=k.protocol,S.hostname=k.hostname,S.port=k.port,S.search="",S.hash="",S.pathname.length>1&&S.pathname.endsWith("/")&&(S.pathname=S.pathname.replace(/\/+$/,"")),S.toString()}catch{return B.startsWith("http://")?B.replace("http://","https://"):B}}static{this.\u0275fac=function(S){return new(S||_)(I.KVO(I.qQL))}}static{this.\u0275prov=I.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},92686(wt,Ce,a){"use strict";a.d(Ce,{X:()=>k}
1);var I=a(60177),D=a(35547),_=a(84412),J=a(95095),B=a(60414),S=a(45224);let k=(()=>{class R{constructor(ae,V){this.platformId=ae,this.restService=V,this.emailVerifiedSubject=new _.t(!0),this.blockUnverifiedForAccount=!1}get emailVerified$(){return this.emailVerifiedSubject.asObservable()}get isEmailVerified(){return this.emailVerifiedSubject.getValue()}setFromAccountInformation(ae){const V=ae?.otplessSignup;this.blockUnverifiedForAccount=!0===V?.blockUnverified,this.emailVerifiedSubject.next(!1!==V?.emailVerified)}setVerified(ae){this.emailVerifiedSubject.next(ae)}get isAccountLockedOut(){return!this.isEmailVerified&&this.blockUnverifiedForAccount}refreshVerificationStatus(){return new Promise(ae=>{(0,I.UE)(this.platformId)?this.restService.postWithHeader(J.Y.SUPERTOKENS_SVC_URL+"/account/verification-status",{},{withCredentials:!0}).subscribe({next:V=>{const G=!0===V?.otplessSignup?.emailVerified;this.setVerified(G),ae(G)},error:()=>ae(this.isEmailVerified)}):ae(this.isEmailVerified)})}sendVerificationCode(ae=""){return new Promise(V=>{this.restService.postWithHeader(J.Y.SUPERTOKENS_SVC_URL+"/account/signup-direct/resend-verification",{turnstileToken:ae},{withCredentials:!0}).subscribe({next:G=>{G?.alreadyVerified&&this.setVerified(!0),V({sent:!0,alreadyVerified:!0===G?.alreadyVerified})},error:G=>V({sent:!1,code:G?.error?.code,retryAfterSeconds:G?.error?.retryAfterSeconds,message:G?.error?.message})})})}verifyCode(ae,V=""){return new Promise(G=>{this.restService.postWithHeader(J.Y.SUPERTOKENS_SVC_URL+"/account/signup-direct/verify-otp",{otp:ae,turnstileToken:V},{withCredentials:!0}).subscribe({next:re=>{re?.verified&&this.setVerified(!0),G({ok:!0===re?.verified})},error:re=>G({ok:!1,code:re?.error?.code,attemptsLeft:re?.error?.attemptsLeft,message:re?.error?.message||"That code is not right. Check the email and try again."})})})}resendVerificationEmail(){return this.sendVerificationCode().then(ae=>ae.sent)}static{this.\u0275fac=function(V){return new(V||R)(B.KVO(D.Agw),B.KVO(S.G))}}static{this.\u0275prov=B.jDH({token:R,factory:R.\u0275fac,providedIn:"root"})}}return R})()},61941(wt,Ce,a){"use strict";a.d(Ce,{l:()=>_});var I=a(60414),D=a(37044).hp;let _=(()=>{class J{constructor(){this.isIntercomLoading=!1,this.isMessengerAutoOpened=!1,this.isMessengerOpenedOnce=!1,this.hideLauncherForNoEmail=!1}ngOnDestroy(){const S=window.Intercom;"function"==typeof S&&S("shutdown")}renderIntercom(S){const k=document.location.hostname,R=S.split("/");if(S&&(S.startsWith("/preview/")||S.startsWith("/survey/")||S.startsWith("/public/")||S.startsWith("/create/")||S.startsWith("/create?")||"/create"==S||S.startsWith("/choose-plan")||2===R.length&&"blocksurvey.io"!==k&&"/signin"!==S&&"/signup"!==S&&"/trial-expired"!==S||2===R.length&&this.isSurveyUrl(R[1]))){const H=window.Intercom;H&&"function"==typeof H?H("update",{hide_default_launcher:!0}):(S.startsWith("/create/")||S.startsWith("/create?")||"/create"==S||S.startsWith("/choose-plan"))&&this.loadIntercom(S)}else if(this.hideLauncherForNoEmail){const H=window.Intercom;H&&"function"==typeof H&&H("update",{hide_default_launcher:!0})}else{const H=window.Intercom;H&&"function"==typeof H?H("update",{hide_default_launcher:!1}):this.loadIntercom(S)}}loadIntercom(S){if(!window.Intercom&&0==this.isIntercomLoading){this.isIntercomLoading=!0;const k=document.body,R=document.createElement("script");R.type="text/javascript",R.async=!0,R.src="https://widget.intercom.io/widget/flx4qqrb",R.onload=()=>{const H=window.Intercom;"function"==typeof H&&(H("boot",{app_id:"flx4qqrb"}),H("onShow",()=>{this.isMessengerOpenedOnce=!0}),(this.hideLauncherForNoEmail||S.startsWith("/create/")||S.startsWith("/create?")||"/create"==S||S.startsWith("/choose-plan"))&&H("update",{hide_default_launcher:!0}))},k.appendChild(R)}}isSurveyUrl(S){if(!S)return!1;let R,k=(S=S.split("?")[0]).split("-");if(k.length>1){if(S.endsWith("-o")||S.endsWith("-c")||S.endsWith("-l"))return!0;R=k?.[k?.length-1]}else R=S;if(R){const H=R.replace(/\./g,"+").replace(/_/g,"/").padEnd(24,"=");let V=D.from(H,"base64").toString("hex");if(V=`${V.substring(0,8)}-${V.substring(8,12)}-${V.substring(12,16)}-${V.substring(16,20)}-${V.substring(20)}`,V&&/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i.test(V))return!0}return!1}
1openIntercomToSendMessage(S){const k=window.Intercom;k&&"function"==typeof k?k("showNewMessage",S):console.error("Intercom is not loaded")}openIntercom(S){const k=window.Intercom;k&&"function"==typeof k?(this.autoOpenTimeout&&clearTimeout(this.autoOpenTimeout),S?this.autoOpenTimeout=setTimeout(()=>{this.isMessengerOpenedOnce||((0,window.Intercom)("show"),this.isMessengerAutoOpened=!0,clearInterval(this.autoOpenTimeout))},S):k("show")):console.error("Intercom is not loaded")}autoOpenIntercom(S){if(!S||this.isMessengerAutoOpened||this.isMessengerOpenedOnce)return;const k=S.split("/");!S||k&&2==k?.length&&this.isSurveyUrl(k[1])||S.startsWith("/survey/")||S.startsWith("/public/")||"/dashboard"==S||S.startsWith("/dashboard/")||"/folder"==S||S.startsWith("/folder/")||"/brandkit"==S||S.startsWith("/brandkit/")||"/template"==S||S.startsWith("/template/")||"/referral"==S||S.startsWith("/referral/")||"/setting"==S||S.startsWith("/setting/")||"/analytics"==S||S.startsWith("/analytics/")||S.startsWith("/create/")||S.startsWith("/preview/")||S.startsWith("/share/")||S.startsWith("/integrate/")||S.startsWith("/results/")||S.startsWith("/team/")||S.startsWith("/my-responses/")||S.startsWith("/signin")||S.startsWith("/signup")||S.startsWith("/trial-expired")?this.autoOpenTimeout&&clearTimeout(this.autoOpenTimeout):this.openIntercom(1e4)}openHelpSpace(){const S=window.Intercom;S&&"function"==typeof S?S("showSpace","help"):console.error("Intercom is not loaded")}showArticleById(S){const k=window.Intercom;if(k&&"function"==typeof k)S?k("showArticle",S):this.openHelpSpace();else if(console.error("Intercom is not loaded"),!window.Intercom){this.loadIntercom(window.location.pathname);const R=setInterval(()=>{window.Intercom&&(clearInterval(R),this.showArticleById(S))},1e3)}}sendCustomAttributes(S){const k=window.Intercom;k&&"function"==typeof k?k("update",S):console.error("Intercom is not loaded")}updateWhenReady(S,k=3e4){if(typeof window>"u"||typeof document>"u")return;const R=()=>{const V=window.Intercom;return"function"==typeof V&&(V("update",S),!0)};if(R())return;try{const V=typeof window<"u"&&window.location?window.location.pathname:"/";this.loadIntercom(V)}catch(V){console.error(V)}const H=Date.now(),ae=setInterval(()=>{(R()||Date.now()-H>k)&&clearInterval(ae)},1e3)}sendEvent(S,k={}){const R=window.Intercom;R&&"function"==typeof R?R("trackEvent",S,k):console.error("Intercom is not loaded")}openSendUsAMessage(){const S=window.Intercom;if(S&&"function"==typeof S)S("showNewMessage");else if(console.error("Intercom is not loaded"),!window.Intercom){this.loadIntercom(window.location.pathname);const k=setInterval(()=>{window.Intercom&&(clearInterval(k),this.openSendUsAMessage())},1e3)}}hideIntercom(){const S=window.Intercom;S&&"function"==typeof S?S("update",{hide_default_launcher:!0}):console.error("Intercom is not loaded")}showIntercom(){if(this.hideLauncherForNoEmail)return;const S=window.Intercom;S&&"function"==typeof S?S("update",{hide_default_launcher:!1}):console.error("Intercom is not loaded")}setLauncherHiddenForNoEmail(S){this.hideLauncherForNoEmail=S,S&&this.hideIntercom()}openSurveyCreationInquiry(){const k=window.Intercom;if(k&&"function"==typeof k)k("showNewMessage","Hi! I'd like to create a survey.\n\n1. Name:\n\n2. Email:\n\n3. What kind of Survey do you want?\n\n4. Who is the survey for?\n\n5. How do you want people to feel while answering it? \n\n");else if(console.error("Intercom is not loaded"),!window.Intercom){this.loadIntercom(window.location.pathname);const R=setInterval(()=>{window.Intercom&&(clearInterval(R),this.openSurveyCreationInquiry())},1e3)}}openTextCampaignInquiry(){const k=window.Intercom;if(k&&"function"==typeof k)k("showNewMessage","Hi! I'm interested in Text Campaigns for SMS outreach.");else if(console.error("Intercom is not loaded"),!window.Intercom){this.loadIntercom(window.location.pathname);const R=setInterval(()=>{window.Intercom&&(clearInterval(R),this.openTextCampaignInquiry())},1e3)}}openSaveErrorSupport(S,k){const H=window.Intercom;if(H&&"function"==typeof H)H("showNewMessage",`Hi! I'm experiencing an issue while saving my survey.\n\nError: ${S||"Unknown error occurred"}\n${k?`Survey ID: ${k}`:""}\n\nPlease help me resolve this issue.`);else if(console.error("Intercom is not loaded"),!window.Intercom){this.loadIntercom(window.location.pathname);const ae=setInterval(()=>{window.Intercom&&(clearInterval(ae),this.openSaveErrorSupport(S,k))},1e3)}}openRequestADesignInquiry(){const k=window.Intercom;if(k&&"function"==typeof k)k("showNewMessage","Hi! I'd like to request a survey design.\n\n1. Your Full Name:\n\n2. Your Email:\n\n3. Briefly explain the topic, the primary purpose, the intended audie
1nce, the number of questions, and any design requirements:\n\n4. How many people do you want to survey?\n\n5. How often do you intend to run this survey?\n\n6. Are you a paid customer of BlockSurvey?\n\n");else if(console.error("Intercom is not loaded"),!window.Intercom){this.loadIntercom(window.location.pathname);const R=setInterval(()=>{window.Intercom&&(clearInterval(R),this.openRequestADesignInquiry())},1e3)}}static{this.\u0275fac=function(k){return new(k||J)}}static{this.\u0275prov=I.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})()},34214(wt,Ce,a){"use strict";a.d(Ce,{z:()=>D});var I=a(60414);let D=(()=>{class _{constructor(){this.isCalendlyLoading=!1,this.loadedCssFiles=[]}loadBlockSurveyWidgetScript(){if(!window.blocksurvey){let S=document.body,k=document.createElement("script");k.innerHTML="",k.src="/assets/js/blocksurvey-widget.js",k.async=!0,k.defer=!0,k.onload=R=>{window.blocksurvey={loaded:!0}},S.appendChild(k)}}loadCalendlyScript(){if(!window.Calendly){this.isCalendlyLoading=!0;const B=document.createElement("link");B.setAttribute("rel","stylesheet"),B.setAttribute("href","https://assets.calendly.com/assets/external/widget.css");let S=document.body,k=document.createElement("script");k.innerHTML="",k.src="https://assets.calendly.com/assets/external/widget.js",k.async=!0,k.defer=!0,k.onload=R=>{window?.Calendly&&this.openCalendly()},S.appendChild(k),document.head.appendChild(B)}}openCalendly(B){if(B&&(B?.stopPropagation(),B?.preventDefault()),window?.Calendly)return this.sendEventToFathomAnalytics("P4RM4VLV"),window?.Calendly.initPopupWidget({url:"https://calendly.com/blocksurvey/demo?hide_event_type_details=1&hide_gdpr_banner=1&text_color=171717&primary_color=7f95d1"}),!1;this.loadCalendlyScript()}sendEventToFathomAnalytics(B){if(window){let S=window;if(S&&S.fathom)S.fathom.trackGoal(B,0);else{let k="https://fa.blocksurvey.io/script.js",R=document.body,H=document.createElement("script");H.innerHTML="",H.src=k,H.async=!0,H.defer=!0,H.setAttribute("data-auto","false"),H.setAttribute("data-site","LCHBPENA"),H.setAttribute("data-included-domains","blocksurvey.io"),H.onload=ae=>{S.fathom.trackGoal(B,0)},R.appendChild(H)}}}loadLink(B){if(B&&!this.loadedCssFiles.includes(B)){const S=document.createElement("link");S.rel="stylesheet",S.href=B,document.head.appendChild(S),this.loadedCssFiles.push(B)}}static{this.\u0275fac=function(S){return new(S||_)}}static{this.\u0275prov=I.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},16409(wt,Ce,a){"use strict";a.d(Ce,{_:()=>J,t:()=>B});const D=new(a(92771).m)(1);let _=!1;function J(){_||(_=!0,D.next())}function B(){return D.asObservable()}},12016(wt,Ce,a){"use strict";a.d(Ce,{P:()=>S});var I=a(60177),D=a(35547),_=a(60414);const J="bs-payment-mode",B="upgrade";let S=(()=>{class k{constructor(H){this.platformId=H}captureFromQueryParams(H){H&&H.mode===B&&this.setUpgradeMode()}captureFromUrl(H){if((0,I.UE)(this.platformId)&&H)try{new URL(H).searchParams.get("mode")===B&&this.setUpgradeMode()}catch(ae){console.error(ae)}}setUpgradeMode(){if((0,I.UE)(this.platformId))try{localStorage.setItem(J,B)}catch(H){console.error(H)}}isUpgradeMode(){if(!(0,I.UE)(this.platformId))return!1;try{return localStorage.getItem(J)===B}catch{return!1}}clear(){if((0,I.UE)(this.platformId))try{localStorage.removeItem(J)}catch(H){console.error(H)}}static{this.\u0275fac=function(ae){return new(ae||k)(_.KVO(D.Agw))}}static{this.\u0275prov=_.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},34142(wt,Ce,a){"use strict";a.d(Ce,{s:()=>R});var I=a(60177),D=a(35547),_=a(60414),J=a(99829),B=a(5964),S=a(45312),k=a(95095);let R=(()=>{class H{constructor(){this.platformId=(0,_.WQX)(D.Agw),this.router=(0,_.WQX)(J.Ix),this.posthog=null,this.loaded=!1,this.forcedForCancellation=!1,this.cancellationFlowEngagedThisLoad=!1,this.lastKnownOrg=null,this.pendingEvents=[],this.publicPageMode=!1,this.publicPageNavigationSubscription=null,this.appNavigationSubscription=null,this.pendingIdentity=null,this.replayStoppedForPrivacy=!1}static{this.MAX_PENDING_EVENTS=50}initPosthog(V,G){if(this.loaded&&this.publicPageMode)return void this.takeOverFromPublicPageSession(V,G);if(this.loaded||!(0,I.UE)(this.platformId)||!S.c.production)return;const re=document?.location?.hostname;"blocksurvey.io"!==re&&"np.blocksurvey.io"!==re||null!=V&&!this.isTrackablePlan(V)||(this.lastKnownOrg=V,this.loaded=!0,this.loadScript(G))}initPublicPageAnalytics(){if(this.loaded||!(0,I.UE)(this.platformId)||!S.c.production)return;const V=document?.location?.hostname;"blocksurvey.io"!==V&&"np.blocksurvey.io"!==V||this.hasUserAlreadySignedUp()||(this.publicPageMode=!0,this.loaded=!0,this.loadScript(""))}hasUserAlreadySignedUp(){try{const V=localStorage.getItem("blockstack-session");if(V){const G=JSON.parse(V);if(G.userData&&G.userData.appPrivateKey)return!0}}catch(V){console.error(V)}return!1}takeOverFromPublicPageSession(V,G){this.publicPageMode=!1,this.lastKnownOrg=V,this.publicPageNavigationSubscription?.unsubscribe(),this.publicPageNavigationSubscription=null,this.registerAppTags(),this.posthog?null==V||this.isTrackablePlan(V)?(G&&this.updatePlanStatusProperty(V,G),this.posthog.capture("$pageview"),this.trackAppNavigations()):this.posthog.opt_out_capturing():this.pendingIdentity=G||null}stopCapturingForPaidPlan(V){this.posthog&&(this.forcedForCancellation||this.isTrackablePlan(V)||(this.updatePlanStatusProperty(V),this.posthog.opt_out_capturing(),this.appNavigationSubscription?.unsubscribe(),this.appNavigationSubscription=null))}enableForCancellationFlow(V,G){if(!(0,I.UE)(this.platformId)||!S.c.production)return;const re=document?.location?.hostname;if("blocksurvey.io"===re||"np.blocksurvey.io"===re){if(this.forcedForCancellation=!0,this.cancellationFlowEngagedThisLoad=!0,this.posthog)return this.posthog.opt_in_capturing(),void(G&&this.posthog.identify(G));this.lastKnownOrg=V,!this.loaded&&(this.loaded=!0,this.loadScript(G))}}disableForCancellationFlow(V){this.forcedForCancellation=!1,this.stopCapturingForPaidPlan(V)}isTrackablePlan(V){return this.isFreePlan(V)||this.isActiveFreeTrial(V)}isFreePlan(V){return!!V&&"plan_free"===V?.plan?.id}isActiveFreeTrial(V){const G=V?.plan;if(!G||!G.isFreeTrial||!G.currentPeriodEnd)return!1;const re=new Date(G.currentPeriodEnd).getTime();return!isNaN(re)&&re>Date.now()}isLoaded(){return!!this.posthog}trackEvent(V,G={}){this.posthog?this.posthog.capture(V,G):this.loaded&&this.pendingEvents.length<H.MAX_PENDING_EVENTS&&this.pendingEvents.push({event:V,properties:G})}trackEventBeforeRedirect(V,G={}){this.posthog?this.posthog.capture(V,G,{transport:"sendBeacon"}):this.loaded&&this.pendingEvents.length<H.MAX_PENDING_EVENTS&&this.pendingEvents.push({event:V,properties:G})}identifyUser(V,G={}){this.posthog&&this.posthog.identify(V,G)}updatePlanStatusProperty(V,G){if(!this.posthog)return;const re=G||this.posthog.get_distinct_id?.();if(!re)return;const $=null==V,we={plan_status:this.isActiveFreeTrial(V)?"trial":$||this.isFreePlan(V)?"free":"paid"};V?.plan?.id&&(we.plan_id=V.plan.id),this.posthog.identify(re,we)}trackPublicPageNavigations(){this.publicPageNavigationSubscription||(this.publicPageNavigationSubscription=this.router.events.pipe((0,B.p)(V=>V instanceof J.wF)).subscribe(()=>{this.posthog&&this.publicPageMode&&"function"==typeof this.posthog.register&&(this.posthog.register({bs_surface:"marketing",bs_page_type:this.resolvePublicPageType()}),this.posthog.capture("$pageview"))}))}trackAppNavigations(){this.appNavigationSubscription||(this.applyReplayPrivacy(this.router.url),this.appNavigationSubscription=this.router.events.pipe((0,B.p)(V=>V instanceof J.wF)).subscribe(()=>{this.applyReplayPrivacy(this.router.url),this.posthog&&!this.publicPageMode&&(this.registerAppTags(),this.posthog.capture("$pageview"))}))}isPrivateReplayRoute(V){if(!V)return!1;const G=V.split("?")[0].split("#")[0].toLowerCase();return"/results"===G||G.startsWith("/results/")}applyReplayPrivacy(V){if(!this.posthog)return;const G=this.isPrivateReplayRoute(V);!G||this.replayStoppedForPrivacy?!G&&this.replayStoppedForPrivacy&&("function"==typeof this.posthog.startSessionRecording&&this.posthog.startSessionRecording(),this.replayStoppedForPrivacy=!1):"function"==typeof this.posthog.stopSessionRecording&&(this.posthog.stopSessionRecording(),this.replayStoppedForPrivacy=!0)}registerAppTags(V){const G=V||this.posthog;!G||"function"!=typeof G.register||G.register({bs_surface:"app",bs_page_type:this.resolveAppPageType()})}resolveAppPageType(){const V=(this.router.url||"/").split("?")[0].split("#")[0].toLowerCase();return"/create"===V||V.startsWith("/create/")?"builder":"/results"===V||V.startsWith("/results/")?"results":"/dashboard"===V||V.startsWith("/dashboard/")?"dashboard":"/signup"===V||V.startsWith("/signup/")?"signup":"/verify-email"===V||V.startsWith("/verify-email")?"verify-email":"/onboard"===V||V.startsWith("/onboard/")?"onboarding":"/share"===V||V.startsWith("/share/")?"share":"/integrate"===V||V.startsWith("/integrate/")?"integrate":"app"}resolvePublicPageType(){const V=(this.router.url||"/").split("?")[0].split("#")[0];return"/templates"===V||V.startsWith("/templates/")?"templates":"/blog"===V||V.startsWith("/blog/")?"blog":"/academy"===V||V.startsWith("/academy/")?"academy":"/"===V?"home":"landing"}loadScript(V){const G=document.createElement("script");G.src="https://eu-assets.i.posthog.com/static/array.js",G.async=!0,G.onload=()=>this.onScriptLoaded(V),G.onerror=()=>{this.loaded=!1},document.body.appendChild(G)}onScriptLoaded(V){const G=window;if(!G.posthog)return;const re=()=>{this.posthog=G.posthog,this.posthog.init(k.Y.POSTHOG_API_KEY,{api_host:k.Y.POSTHOG_HOST,autocapture:!1,capture_pageview:!1,bootstrap:V?{distinctId:V}:void 0,persistence:"localStorage",session_idle_timeout_seconds:900,opt_out_capturing_by_default:!0,session_recording:this.publicPageMode?{recordHeaders:!1,recordBody:!1,maskAllInputs:!0}:void 0,loaded:$=>{$.opt_in_capturing(),this.posthog=$,this.applyReplayPrivacy(this.router.url),V&&(this.publicPageMode?$.identify(V):this.updatePlanStatusProperty(this.lastKnownOrg,V)),this.publicPageMode&&"function"==typeof $.register?$.register({bs_surface:"marketing",bs_page_type:this.resolvePublicPageType()}):this.registerAppTags($),$.capture("$pageview"),this.posthog=$;const we=this.pendingEvents;this.pendingEvents=[],we.forEach(({event:ve,properties:be})=>$.capture(ve,be)),this.publicPageMode?this.trackPublicPageNavigations():(this.pendingIdentity&&($.identify(this.pendingIdentity),this.pendingIdentity=null),this.cancellationFlowEngagedThisLoad||null==this.lastKnownOrg||this.isTrackablePlan(this.lastKnownOrg)?this.trackAppNavigations():$.opt_out_capturing())}})};"function"==typeof window.requestIdleCallback?window.requestIdleCallback(re,{timeout:3e3}):setTimeout(re,0)}static{this.\u0275fac=function(G){return new(G||H)}}static{this.\u0275prov=_.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})()},45224(wt,Ce,a){"use strict";a.d(Ce,{G:()=>ae});var I=a(60177),D=a(35547),_=a(21413),J=a(7673),B=a(96354),S=a(56977),k=a(88141),R=a(60414),H=a(91413);let ae=(()=>{class V{constructor(re,$,we){this.http=re,this.transferState=$,this.platformId=we,this.destroy$=new _.B}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}post(re,$){return this.http.post(re,$).pipe((0,S.Q)(this.destroy$))}
1postWithHeader(re,$,we){return this.http.post(re,$,we).pipe((0,S.Q)(this.destroy$))}put(re,$){return this.http.put(re,$).pipe((0,S.Q)(this.destroy$))}getContentLength(re){return this.http.head(re,{observe:"response",headers:{"Accept-Encoding":"identity"}}).pipe((0,S.Q)(this.destroy$),(0,B.T)($=>Number($.headers.get("content-length"))||0))}get(re){const $=(0,D.zw6)("bs-http-get:"+re);if(this.transferState.hasKey($)){const me=this.transferState.get($,null);return this.transferState.remove($),(0,J.of)(me)}const we=this.http.get(re).pipe((0,S.Q)(this.destroy$));return(0,I.Vy)(this.platformId)?we.pipe((0,k.M)(me=>this.transferState.set($,me))):we}getWithHeader(re,$){return this.http.get(re,$).pipe((0,S.Q)(this.destroy$))}getAsText(re){return this.http.get(re,{responseType:"text"}).pipe((0,S.Q)(this.destroy$))}getAsArrayBuffer(re){return this.http.get(re,{responseType:"arraybuffer"}).pipe((0,S.Q)(this.destroy$))}deleteWithHeader(re,$){return this.http.delete(re,$).pipe((0,S.Q)(this.destroy$))}static{this.\u0275fac=function($){return new($||V)(R.KVO(H.Qq),R.KVO(D.pJN),R.KVO(D.Agw))}}static{this.\u0275prov=R.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})()},28999(wt,Ce,a){"use strict";a.d(Ce,{I:()=>re});var I=a(99829),D=a(60414),_=a(27843),J=a(29748),B=a(45312);let S=(()=>{class ${constructor(){this.isSentryInitialized=!1,this.commonOptions={ignoreErrors:["top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage","Script error.","_avast_submit"],denyUrls:[/pagead\/js/i,/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i]}}isQaHost(){return typeof document<"u"&&!!document.location&&"qa.blocksurvey.io"===document.location.hostname}initSentry(){this.isSentryInitialized||(this.isQaHost()?(0,_.Ts)({dsn:"https://8b20e47b1ac12f615f0133851907fc11@o4504621336166400.ingest.us.sentry.io/4511625934864384",environment:"qa",...this.commonOptions,tracesSampleRate:.1,enabled:!0}):(0,_.Ts)(B.c.production?{dsn:"https://cadccc6ef303425084a2fb0f62ab6ee6@o4504621336166400.ingest.sentry.io/4504621359431680",environment:"production",...this.commonOptions,tracesSampleRate:.1,enabled:!0}:{dsn:"https://bbd028a991f14dcfb15273dc9583deb5@o4504621336166400.ingest.sentry.io/4504628470087680",environment:"development",...this.commonOptions,enabled:!1}),this.isSentryInitialized=!0)}stopSentry(){this.isSentryInitialized&&((0,J.VN)(),this.isSentryInitialized=!1)}static{this.\u0275fac=function(ve){return new(ve||$)}}static{this.\u0275prov=D.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),k=(()=>{class ${constructor(){this.gtmId="GTM-NPDGQ66"}loadGtm(){try{const me=localStorage.getItem("blockstack-session");if(me){const ve=JSON.parse(me);if(ve.userData&&ve.userData.appPrivateKey)return}}catch(me){console.error(me)}if(!document.getElementById("gtm-script")){const me=document.createElement("script");me.id="gtm-script",me.innerHTML=`\n            (function(w, d, s, l, i) {\n              w[l] = w[l] || [];\n              w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });\n              var f = d.getElementsByTagName(s)[0],\n                  j = d.createElement(s),\n                  dl = l != 'dataLayer' ? '&l=' + l : '';\n              j.async = true;\n              j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\n              f.parentNode.insertBefore(j, f);\n            })(window, document, 'script', 'dataLayer', '${this.gtmId}');\n          `,document.head.appendChild(me)}}removeGtm(){const me=document.getElementById("gtm-script");me&&me.parentNode.removeChild(me);const ve=document.getElementById("gtm-noscript");ve&&ve.parentNode.removeChild(ve)}sendEvent(me,ve,be,K){window.dataLayer?window.dataLayer.push({event:me,event_category:ve,event_label:be,value:K}):console.warn("GTM dataLayer is not available")}static{this.\u0275fac=function(ve){return new(ve||$)}}static{this.\u0275prov=D.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var R=a(10467);let H=(()=>{class ${constructor(){}loadGoogleScript(){return new Promise((me,ve)=>{if(window.google)return void me();try{const K=localStorage.getItem("blockstack-session");if(K){const de=JSON.parse(K);if(de.userData&&de.userData.appPrivateKey)return void me()}}catch(K){console.error(K)}if(window.location.pathname.startsWith("/signup")||window.location.pathname.startsWith("/signin"))return void me();const be=document.createElement("script");be.id="google-auth-client-script",be.src="https://accounts.google.com/gsi/client",be.async=!0,be.defer=!0,be.onload=()=>{this.renderGoogleSignInButton(),me()},be.onerror=K=>{ve(new Error(`Google script failed to load: ${K}`))},document.body.appendChild(be)})}renderGoogleSignInButton(){window&&window.google&&window.google.accounts&&window.google.accounts.id&&(google.accounts.id.initialize({client_id:B.c.GOOGLE_CLIENT_ID,scope:"email profile",callback:me=>this.handleCredentialResponse(me)}),google.accounts.id.renderButton(document.getElementById("googleSignInDiv"),{theme:"outline",size:"large"}),google.accounts.id.prompt())}handleCredentialResponse(me){return(0,R.A)(function*(){window.location.href=`/signup?googleCode=${me.credential}`})()}removeGoogleScript(){const me=document.getElementById("google-auth-client-script");me&&me.parentNode.removeChild(me)}static{this.\u0275fac=function(ve){return new(ve||$)}}static{this.\u0275prov=D.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var ae=a(61941);let V=(()=>{class ${constructor(){}loadReb2bScript(me){return new Promise((ve,be)=>{if(window.reb2b||!this.isPageRequiredForReb2b(me)||this.hasUserAlreadySignedUp())ve(window.reb2b);else{let K=document.body,de=document.createElement("script");de.innerHTML="",de.src="/assets/js/rb2b.js",de.async=!0,de.defer=!0,de.id="rb2b-script",de.onload=()=>ve(window.reb2b),de.onerror=fe=>be(fe),K.appendChild(de)}})}removeReb2bScript(){const me=document.getElementById("rb2b-script");me&&(me.remove(),delete window.reb2b)}isPageRequiredForReb2b(me){if("/"===me)return!0;const be=me.split("?")[0];return!!["/ai-surveys","/ai-survey-analysis","/ai-qualitative-thematic-analysis","/ai-qualitative-sentiment-analysis","/ai-adaptive-questioning","/ai-sample-response-generator","/ai-survey-migration","/generate-question-options-with-ai","/rephrase-questions-with-ai","/ai-survey-data-encoding","/ai-survey-optimization","/features","/features/","/solution/","/market-research-survey-software","/web3","/online-assessment-platform","/online-survey-software","/online-form-builder","/create-online-personality-test","/online-quiz-maker","/hipaa-compliant-survey-software","/gdpr-compliant-survey-software","/iso27001-certified-survey-software","/soc2-compliance-survey-software","/zero-knowledge-survey-software","/pricing","/customers","/customers","/about-us","/manifesto","/contact-us","/how-it-works","/customers","/why-blocksurvey","/privacy-policy","/ai-policy","/security-policy","/accessibility-statement","/terms-conditions","/surveymonkey-vs-blocksurvey","/qualtrics-vs-blocksurvey","/alchemer-vs-blocksurvey","/questionpro-vs-blocksurvey","/surveysparrow-vs-blocksurvey","/limesurvey-vs-blocksurvey","/forsta-vs-blocksurvey","/pollfish-vs-blocksurvey","/conjointly-vs-blocksurvey","/jotform-vs-blocksurvey","/typeform-vs-blocksurvey","/blocksurvey-vs-alternatives","/integrations","/integrations/","/ai-survey-agents","/faq","/request-a-demo","/hipaa-compliant-survey-software","/gdpr-compliant-survey-software","/industry","/industry/"].some(de=>de.endsWith("/")?be.startsWith(de):be===de)}hasUserAlreadySignedUp(){try{const me=localStorage.getItem("blockstack-session");if(me){const ve=JSON.parse(me);if(ve.userData&&ve.userData.appPrivateKey)return!0}}catch(me){console.error(me)}
1return!1}static{this.\u0275fac=function(ve){return new(ve||$)}}static{this.\u0275prov=D.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})();var G=a(37044).hp;let re=(()=>{class ${constructor(me,ve,be,K,de,fe){this.router=me,this.sentryService=ve,this.googleTagManagerService=be,this.googleAuthService=K,this.intercomService=de,this.rb2bService=fe,this.initialTrackingScheduled=!1,this.router.events.subscribe(Z=>{if(Z instanceof I.Z&&("/"==this.router.url?this.previousRoute=null:Z.url.startsWith("/create")||Z.url.startsWith("/preview")||Z.url.startsWith("/share")||Z.url.startsWith("/integrate")||Z.url.startsWith("/results")?!this.router.url.startsWith("/create")&&!this.router.url.startsWith("/preview")&&!this.router.url.startsWith("/share")&&!this.router.url.startsWith("/integrate")&&!this.router.url.startsWith("/results")&&!this.router.url.startsWith("/setting")&&(this.previousRoute=this.router.url):this.previousRoute=null),Z instanceof I.wF){const Ke=Z.urlAfterRedirects;this.loadSentry(Ke),this.initialTrackingScheduled?(this.loadPageAnalytics(Ke),this.intercomService.renderIntercom(Ke)):(this.initialTrackingScheduled=!0,this.runWhenIdleOrInteraction(()=>{this.loadPageAnalytics(Ke),this.intercomService.renderIntercom(Ke)}))}})}runWhenIdleOrInteraction(me){if(typeof window>"u"||typeof document>"u")return void me();let be,ve=!1;const K=["pointerdown","keydown","scroll","touchstart"],de=()=>{ve||(ve=!0,K.forEach(fe=>window.removeEventListener(fe,de)),be&&clearTimeout(be),me())};K.forEach(fe=>window.addEventListener(fe,de,{once:!0,passive:!0})),"function"==typeof window.requestIdleCallback?window.requestIdleCallback(de,{timeout:3500}):be=setTimeout(de,3500),be||(be=setTimeout(de,5e3))}loadPageAnalytics(me){if(!(document&&document.location&&document.location.hostname&&document.location.hostname.endsWith(".blocksurvey.io"))&&document&&document.location&&document.location.hostname&&document.location.hostname.endsWith("blocksurvey.io")){let ve;me&&(ve=me.split("/")),!me||ve&&2==ve?.length&&this.isSurveyUrl(ve[1])||me.startsWith("/survey/")||me.startsWith("/public/")||"/dashboard"==me||me.startsWith("/dashboard/")||"/folder"==me||me.startsWith("/folder/")||"/brandkit"==me||me.startsWith("/brandkit/")||"/template"==me||me.startsWith("/template/")||"/referral"==me||me.startsWith("/referral/")||"/setting"==me||me.startsWith("/setting/")||"/analytics"==me||me.startsWith("/analytics/")||me.startsWith("/create/")||me.startsWith("/preview/")||me.startsWith("/share/")||me.startsWith("/integrate/")||me.startsWith("/results/")||me.startsWith("/team/")||me.startsWith("/my-responses/")?(this.googleTagManagerService.removeGtm(),this.rb2bService.removeReb2bScript()):(this.googleTagManagerService.loadGtm(),this.rb2bService.loadReb2bScript(me).then(()=>{}).catch(be=>{console.error(be)}))}}loadFathomScript(me){if(me&&!window.fathom){let ve=document.body,be=document.createElement("script");be.innerHTML="",be.src=me,be.async=!0,be.defer=!0,be.setAttribute("data-auto","false"),be.setAttribute("data-site","LCHBPENA"),be.setAttribute("data-included-domains","blocksurvey.io"),be.onload=K=>{window?.fathom?.trackPageview&&window.fathom.trackPageview()},ve.appendChild(be)}else window?.fathom?.trackPageview&&window.fathom.trackPageview()}loadSentry(me){me&&(me.startsWith("/dashboard/")||me.startsWith("/create/")||me.startsWith("/preview/")||me.startsWith("/share/")||me.startsWith("/integrate/")||me.startsWith("/results/"))?this.sentryService.initSentry():this.sentryService.stopSentry()}isSurveyUrl(me){if(!me)return!1;let be,ve=(me=me.split("?")[0]).split("-");if(ve.length>1){if(me.endsWith("-o")||me.endsWith("-c")||me.endsWith("-l"))return!0;be=ve?.[ve?.length-1]}else be=me;if(be){const K=be.replace(/\./g,"+").replace(/_/g,"/").padEnd(24,"=");let fe=G.from(K,"base64").toString("hex");if(fe=`${fe.substring(0,8)}-${fe.substring(8,12)}-${fe.substring(12,16)}-${fe.substring(16,20)}-${fe.substring(20)}`,fe&&/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i.test(fe))return!0}return!1}static{this.\u0275fac=function(ve){return new(ve||$)(D.KVO(I.Ix),D.KVO(S),D.KVO(k),D.KVO(H),D.KVO(ae.l),D.KVO(V))}}static{this.\u0275prov=D.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})()},50783(wt,Ce,a){"use strict";a.d(Ce,{m:()=>D});var I=a(60414);let D=(()=>{class _{canDeactivate(B){return!(B&&B.hasUnpublishedChanges&&B.hasUnpublishedChanges())||B.showUnpublishedChangesPopup()}static{this.\u0275fac=function(S){return new(S||_)}}static{this.\u0275prov=I.jDH({token:_,factory:_.\u0275fac})}}return _})()},15415(wt,Ce,a){"use strict";a.r(Ce),a.d(Ce,{VerifyEmailPopupComponent:()=>K});var I=a(10467),D=a(35547),_=a(60414),J=a(36458),B=a(92686),S=a(34142),k=a(3169),R=a(96870);function H(de,fe){1&de&&(D.j41(0,"div"),D.EFF(1," Confirm your email address to unlock everything included in your plan. We will send a six-digit code to the address you signed up with, and you can enter it here. "),D.k0s())}function ae(de,fe){if(1&de){const Z=D.RV6();D.j41(0,"div")(1,"div"),D.EFF(2,"We sent a six-digit code to your email address. Enter it below to confirm your account."),D.k0s(),D.j41(3,"div",9)(4,"label",10),D.EFF(5,"Verification code"),D.k0s(),D.j41(6,"input",11),D.bIt("input",function(ft){_.eBV(Z);const At=D.XpG(2);return _.Njj(At.onOtpInput(ft.target))}),D.k0s()()()}if(2&de){const Z=D.XpG(2);D.R7$(6),D.Y8G("value",Z.otp)("disabled",Z.isVerifying)}}function V(de,fe){if(1&de&&(D.j41(0,"div",5),D.EFF(1),D.k0s()),2&de){const Z=D.XpG(2);D.R7$(),D.JRh(Z.statusMessage)}}function G(de,fe){if(1&de&&(D.j41(0,"div",6),D.EFF(1),D.k0s()),2&de){const Z=D.XpG(2);D.R7$(),D.JRh(Z.errorMessage)}}function re(de,fe){1&de&&D.nrm(0,"span",13)}function $(de,fe){if(1&de){const Z=D.RV6();D.j41(0,"button",12),D.bIt("click",function(){_.eBV(Z);
1const ft=D.XpG(2);return _.Njj(ft.sendCode())}),D.nVh(1,re,1,0,"span",13),D.EFF(2),D.k0s()}if(2&de){const Z=D.XpG(2);D.Y8G("disabled",Z.isSending),D.R7$(),D.vxM(Z.isSending?1:-1),D.R7$(),D.SpI(" ",Z.isSending?"Sending...":"Send verification code"," ")}}function we(de,fe){1&de&&D.nrm(0,"span",13)}function me(de,fe){if(1&de){const Z=D.RV6();D.j41(0,"button",12),D.bIt("click",function(){_.eBV(Z);const ft=D.XpG(2);return _.Njj(ft.verify())}),D.nVh(1,we,1,0,"span",13),D.EFF(2),D.k0s(),D.j41(3,"button",14),D.bIt("click",function(){_.eBV(Z);const ft=D.XpG(2);return _.Njj(ft.sendCode())}),D.EFF(4),D.k0s()}if(2&de){const Z=D.XpG(2);D.Y8G("disabled",6!==Z.otp.length||Z.isVerifying),D.R7$(),D.vxM(Z.isVerifying?1:-1),D.R7$(),D.SpI(" ",Z.isVerifying?"Verifying...":"Verify"," "),D.R7$(),D.Y8G("disabled",Z.isSending||Z.resendCountdown>0),D.R7$(),D.SpI(" ",Z.resendCountdown>0?"Resend in "+Z.resendCountdown+"s":Z.isSending?"Sending...":"Resend code"," ")}}function ve(de,fe){if(1&de){const Z=D.RV6();D.j41(0,"div")(1,"div",0)(2,"h4",1),D.EFF(3),D.k0s(),D.j41(4,"button",2),D.bIt("click",function(){_.eBV(Z);const ft=D.XpG();return _.Njj(ft.activeModal.dismiss("Cross click"))}),D.nrm(5,"img",3),D.k0s()(),D.j41(6,"div",4),D.nVh(7,H,2,0,"div"),D.nVh(8,ae,7,2,"div"),D.nVh(9,V,2,1,"div",5),D.nVh(10,G,2,1,"div",6),D.nrm(11,"app-turnstile"),D.k0s(),D.j41(12,"div",7),D.nVh(13,$,3,3,"button",8),D.nVh(14,me,5,5),D.k0s()()}if(2&de){const Z=D.XpG();D.R7$(3),D.SpI("Verify your email to ",Z.featureLabel),D.R7$(4),D.vxM(Z.hasRequestedCode?-1:7),D.R7$(),D.vxM(Z.hasRequestedCode?8:-1),D.R7$(),D.vxM(Z.statusMessage?9:-1),D.R7$(),D.vxM(Z.errorMessage?10:-1),D.R7$(3),D.vxM(Z.hasRequestedCode?-1:13),D.R7$(),D.vxM(Z.hasRequestedCode?14:-1)}}function be(de,fe){if(1&de){const Z=D.RV6();D.j41(0,"div")(1,"div",0)(2,"h4",1),D.EFF(3,"You're verified"),D.k0s(),D.j41(4,"button",2),D.bIt("click",function(){_.eBV(Z);const ft=D.XpG();return _.Njj(ft.activeModal.close("verified"))}),D.nrm(5,"img",3),D.k0s()(),D.j41(6,"div",4)(7,"div"),D.EFF(8,"Your account is confirmed. You can now use every feature included in your plan."),D.k0s()(),D.j41(9,"div",7)(10,"button",15),D.bIt("click",function(){_.eBV(Z);const ft=D.XpG();return _.Njj(ft.activeModal.close("verified"))}),D.EFF(11," Continue "),D.k0s()()()}}let K=(()=>{class de{constructor(Z,Ke,ft,At){this.activeModal=Z,this.emailVerificationService=Ke,this.posthogService=ft,this.turnstileService=At,this.feature="",this.otp="",this.hasRequestedCode=!1,this.isSending=!1,this.isVerifying=!1,this.statusMessage="",this.errorMessage="",this.isVerifiedNow=!1,this.resendCountdown=0,this.countdownTimer=null}ngOnInit(){}ngOnDestroy(){this.clearCountdown()}get featureLabel(){switch(this.feature){case"invite":return"invite teammates";case"email-campaign":return"send email campaigns";case"sms-campaign":return"send SMS campaigns";default:return"use this feature"}}onOtpInput(Z){this.otp=(Z.value||"").replace(/\D/g,"").slice(0,6),Z.value!==this.otp&&(Z.value=this.otp),this.errorMessage=""}sendCode(){var Z=this;return(0,I.A)(function*(Ke=!1){Z.isSending=!0,Z.errorMessage="",Z.statusMessage="";const ft=yield Z.emailVerificationService.sendVerificationCode(yield Z.humanToken());if(Z.isSending=!1,!ft.alreadyVerified)return ft.sent?(Z.hasRequestedCode=!0,Z.focusCodeInput(),Z.statusMessage="We sent a six-digit code to your email address.",Z.startCountdown(30),void Z.posthogService.trackEvent(Ke?"email_verification_sent":"email_verification_resent",{source:"gate_popup",feature:Z.feature})):"RESEND_TOO_SOON"===ft.code?(Z.hasRequestedCode=!0,Z.focusCodeInput(),Z.startCountdown(ft.retryAfterSeconds||30),void(Z.statusMessage=ft.message||"A code was just sent. Check your inbox.")):void(Z.errorMessage=ft.message||"We could not send the code just now. Please try again in a moment.");Z.isVerifiedNow=!0}).apply(this,arguments)}verify(){var Z=this;return(0,I.A)(function*(){if(6!==Z.otp.length||Z.isVerifying)return;Z.isVerifying=!0,Z.errorMessage="";const Ke=yield Z.emailVerificationService.verifyCode(Z.otp,yield Z.humanToken());if(Z.isVerifying=!1,Ke.ok)return Z.isVerifiedNow=!0,Z.statusMessage="",void Z.posthogService.trackEvent("email_verification_completed",{source:"gate_popup",feature:Z.feature});Z.otp="",Z.errorMessage=Ke.message})()}startCountdown(Z){this.clearCountdown(),this.resendCountdown=Z,this.countdownTimer=setInterval(()=>{this.resendCountdown=this.resendCountdown-1,this.resendCountdown<=0&&this.clearCountdown()},1e3)}clearCountdown(){this.countdownTimer&&(clearInterval(this.countdownTimer),this.countdownTimer=null),this.resendCountdown=0}focusCodeInput(){setTimeout(()=>{const Z=document.getElementById("verify_email_otp");Z&&Z.focus()})}humanToken(){var Z=this;return(0,I.A)(function*(){try{return yield Z.turnstileService.getTokenAnd
1RefreshAsync()}catch{return""}})()}static{this.\u0275fac=function(Ke){return new(Ke||de)(D.rXU(J.Lw),D.rXU(B.X),D.rXU(S.s),D.rXU(k.s))}}static{this.\u0275cmp=D.VBU({type:de,selectors:[["app-verify-email-popup"]],inputs:{feature:"feature"},standalone:!1,decls:2,vars:2,consts:[[1,"modal-header"],[1,"modal-title",2,"font-size","20px"],[1,"bs_popup_close_btn",3,"click"],["src","/assets/images/bs-close-black.svg",2,"width","14px"],[1,"modal-body"],[2,"margin-top","15px","font-size","14px"],[2,"margin-top","15px","font-size","14px","color","#ff2d17"],[1,"modal-footer","justify-content-start"],["type","button",1,"btn","blocksurvey_primary_btn_black",3,"disabled"],[2,"margin-top","20px"],["for","verify_email_otp",1,"form-label",2,"font-size","14px"],["id","verify_email_otp","type","text","inputmode","numeric","autocomplete","one-time-code","placeholder","000000","ngbAutofocus","",1,"form-control",2,"letter-spacing","6px","font-size","20px","max-width","220px",3,"input","value","disabled"],["type","button",1,"btn","blocksurvey_primary_btn_black",3,"click","disabled"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm","me-2"],["type","button",1,"btn","blocksurvey_secondary_btn_black",3,"click","disabled"],["type","button",1,"btn","blocksurvey_primary_btn_black",3,"click"]],template:function(Ke,ft){1&Ke&&(D.nVh(0,ve,15,7,"div"),D.nVh(1,be,12,0,"div")),2&Ke&&(D.vxM(ft.isVerifiedNow?-1:0),D.R7$(),D.vxM(ft.isVerifiedNow?1:-1))},dependencies:[R.y],encapsulation:2})}}return de})()},98695(wt,Ce,a){"use strict";a.d(Ce,{N:()=>S});var I=a(15415),D=a(60414),_=a(36458),J=a(92686),B=a(34142);let S=(()=>{class k{constructor(H,ae,V){this.modalService=H,this.emailVerificationService=ae,this.posthogService=V,this.openModalRef=null}ensureVerified(H){return!!this.emailVerificationService.isEmailVerified||(this.posthogService.trackEvent("gated_action_blocked",{feature:H}),this.open(H),!1)}open(H){if(this.openModalRef)return this.openModalRef;const ae=this.modalService.open(I.VerifyEmailPopupComponent,{centered:!0,size:"md",backdrop:"static"});return ae.componentInstance.feature=H,this.openModalRef=ae,ae.result.then(()=>this.openModalRef=null,()=>this.openModalRef=null),ae}static{this.\u0275fac=function(ae){return new(ae||k)(D.KVO(_.Bq),D.KVO(J.X),D.KVO(B.s))}}static{this.\u0275prov=D.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},96870(wt,Ce,a){"use strict";a.d(Ce,{y:()=>S});var I=a(35547),D=a(60177),_=a(95095),J=a(60414),B=a(3169);let S=(()=>{class k{constructor(H,ae,V){this.turnstileService=H,this.zone=ae,this.platformId=V}ngOnInit(){(0,D.UE)(this.platformId)&&(window.onloadTurnstileCallback=this.onloadTurnstileCallback.bind(this),this.loadScript("https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback"))}onloadTurnstileCallback(){this.zone.run(()=>{const H=window;H.turnstile&&(this.turnstileService.isChallenging=!0,H.turnstile.render("#cf-turnstile",{sitekey:this.turnstileSiteKey||_.Y.TURNSTILE_SITE_KEY,callback:ae=>{this.turnstileService.token=ae,this.turnstileService.isChallenging=!1},"error-callback":ae=>{this.turnstileService.token="",this.turnstileService.isChallenging=!1},"unsupported-callback":()=>{this.turnstileService.isTurnstileSupported=!1}}))})}loadScript(H){if(!(0,D.UE)(this.platformId))return;const ae=document.body;let V=document.createElement("script");V.src=H,V.async=!1,V.defer=!1,ae.appendChild(V)}static{this.\u0275fac=function(ae){return new(ae||k)(I.rXU(B.s),I.rXU(J.SKi),I.rXU(I.Agw))}}static{this.\u0275cmp=I.VBU({type:k,selectors:[["app-turnstile"]],inputs:{turnstileSiteKey:"turnstileSiteKey"},standalone:!1,decls:1,vars:0,consts:[["id","cf-turnstile"]],template:function(ae,V){1&ae&&I.nrm(0,"div",0)},encapsulation:2})}}return k})()},3169(wt,Ce,a){"use strict";a.d(Ce,{s:()=>_});var I=a(10467),D=a(60414);let _=(()=>{class J{constructor(){this.isChallenging=!0,this.isTurnstileSupported=!0}
1refreshToken(){const S=window;if(S.turnstile){this.token="",this.isChallenging=!0;try{S.turnstile.reset("#cf-turnstile")}catch{S.turnstile.reset(".cf-turnstile")}}}getTokenAndRefresh(){const S=this.token;return this.refreshToken(),S}waitForToken(S=1e4){return new Promise((k,R)=>{if(this.token)return void k(this.token);const H=setInterval(()=>{this.token&&(clearInterval(H),k(this.token))},200);setTimeout(()=>{clearInterval(H),this.token?k(this.token):R(new Error("Turnstile token not available"))},S)})}getTokenAndRefreshAsync(){var S=this;return(0,I.A)(function*(){const k=yield S.waitForToken();return S.refreshToken(),k})()}static{this.\u0275fac=function(k){return new(k||J)}}static{this.\u0275prov=D.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})()},24725(wt,Ce,a){"use strict";a.d(Ce,{F:()=>I});const I={"survey-admin.brave.com":{DOMAIN:"survey.brave.com",NAME:"brave",ACTUAL_NAME:"Brave"},"blockchain.orgvitals.com":{NAME:"orgvitals",ACTUAL_NAME:"OrgVitals"},"forms.dexlab.space":{NAME:"dexlab",ACTUAL_NAME:"Dexlab"},"survey-admin.columbiasc.gov":{DOMAIN:"survey.columbiasc.gov",NAME:"columbiasc",ACTUAL_NAME:"City Of Columbia"}}},45312(wt,Ce,a){"use strict";a.d(Ce,{c:()=>I});const I={production:!0,DOMAIN_URL:"https://blocksurvey.io",STRIPE_LIVE_PK:"pk_live_51Hx9W4IYedFWDsHY4BK3x0LBtR34a3iN9y7dULeSsqFYCNfRi48KXcioITott7IhccfO39tUMXQHyXoiMOS8pekY00O6S3WiaQ",STRIPE_TEST_PK:"pk_test_51Hx9W4IYedFWDsHYahHcnLgfeS1F5dtj9N3ZfrHdhGg0iWxSSfPQ73msH0NPzvmRavKTSSAOiEwf4JVWAxUcQNPu009J1RaX3s",TEAM_SVC_URL:"https://webservice.blocksurvey.io",YJS_WEBSOCKET_URL:"wss://websocket.blocksurvey.io",GLOBAL_LIST_SYNC_DRY_RUN:!1,SURVEY_TAKING_URL:"https://api2.blocksurvey.io",SURVEY_SUBMISSION_FALLBACK_URL:"https://survey-submission.blocksurvey.io",SURVEY_SUBMISSION_FALLBACK_URL_WITH_DIFFERENT_DOMAIN:"https://api.addping.com",API_SVC_URL:"https://webservice.blocksurvey.io",CMS_SVC_URL:"https://blocksurvey-cms.blocksurveyblog.workers.dev",AI_AGENT_API_SVC_URL:"https://ai-agent.blocksurvey.io",AI_DATA_ANALYSIS_API_SVC_URL:"https://ai-data-analysis-api.blocksurvey.io",AI_SURVEY_CREATION_API_SVC_URL:"https://ai-survey-api.blocksurvey.io",SOCIAL_OAUTH_API_SVC_URL:"https://social-oauth.blocksurvey.io",TYPESENSE_URL:"https://search.blocksurvey.io",LOOKUP_SVC_URL:"https://blocklist.blocksurvey.io",PLAN_LIMIT_SVC_URL:"https://planlimit.blocksurvey.io",STATIC_SVC_URL:"https://static.blocksurvey.io",STATIC_FILES_SVC_URL:"https://static-files.blocksurvey.io",BRAND_ASSETS_SVC_URL:"https://company-logo.blocksurvey.io",SUPERTOKENS_SVC_URL:"https://authservice.blocksurvey.io",MCP_SVC_URL:"https://mcp.blocksurvey.io",TEMPLATES_SVC_URL:"https://templates.blocksurvey.io",SURVEYS_SVC_URL:"https://edgesurveys.blocksurvey.io",CUSTOMLINK_API_URL:"https://customlink.blocksurvey.io",CLOUD_STORAGE_URL:"https://storage.googleapis.com/blocksurvey-6eb60.appspot.com/fileupload/",INFURA_KEY:"a5d9fd197cfb4269b30be3cb94428456",FORTMATIC_KEY:"pk_live_C29588E98457D075",RESPONSE_ADD_ON_PLANS:{USD:{1:{id:"price_1SKRcZIYedFWDsHYcWq5X0uu",price:"40",responses:"500",title:"1 x 500 responses"},2:{id:"price_1SKRcnIYedFWDsHY0zvuTUY5",price:"60",responses:"1,000",title:"1 x 1K responses"},3:{id:"price_1SKRcwIYedFWDsHY1VxxZfzr",price:"120",responses:"5,000",title:"1 x 5K responses"},4:{id:"price_1SKRd3IYedFWDsHYk8hjy27R",price:"200",responses:"10,000",title:"1 x 10K responses"},5:{id:"price_1SKRdDIYedFWDsHYadBoeEXr",price:"300",responses:"25,000",title:"1 x 25K responses"},6:{id:"price_1SKRdNIYedFWDsHYzwb2dlzL",price:"400",responses:"50,000",title:"1 x 50K responses"}}},TURNSTILE_SITE_KEY:"0x4AAAAAAABs14b7dibGhM-1",TURNSTILE_SITE_KEY_FOR_SURVEY:"0x4AAAAAAAObRRpvA8Igm8Kl",STACKS_MAINNET_API_URL:"https://api.mainnet.hiro.so",STACKS_TESTNET_API_URL:"https://api.testnet.hiro.so",STACKS_HIRO_API_URL:"https://api.hiro.so",POSTHOG_API_KEY:"phc_F2gdluEulcQB37UYi1vdcfZet4dRd0H8YKHS67SA8DY",POSTHOG_HOST:"https://eu.i.posthog.com",FB_PROJECT_ID:"blocksurvey-6eb60",GOOGLE_CLIENT_ID:"164925582017-4uqvf5m1erlfhkqcio1f06a5g3us2dfi.apps.googleusercontent.com",GOOGLE_PICKER_API_KEY:"AIzaSyAtgC20ERvbg3_xRrYBZRbM2Yj3s6MyI-Y",GOOGLE_PICKER_APP_ID:"164925582017",EMAIL_CAMPAIGN_SENDERS:{id:"campaigns.blocksurvey.io",configurationSetName:"campaigns-blocksurvey-io-configuration-set",mailFromDomain:"survey.campaigns.blocksurvey.io",DKIMStatus:!0,mailFromStatus:!0,dmarcStatus:!0,isDefault:!0,senders:[{id:"38f3740343b302dde96ca810fec8987256a100136c9bd66dff51a8db836c79e9",email:"[email protected]",configurationSetName:"campaigns-blocksurvey-io-configuration-set",name:"BlockSurvey",emailStatus:!1,createdBy:"compressstudio1.id.blockstack"}]},BLOCKSURVEY_TWEETNACL_PUBLIC_KEY:"VMfP/8zUcGzvUzX4uZAEiNx+JTtsaJTy5Uwmy3EIk1E="}},55614(wt,Ce,a){"use strict";var I=a(46494),D=a(73117),_=a(60414),J=a(60177),B=a(49769),S=a(35547),k=a(17705),R=a(52896);class G extends I.qj{supportsDOMEvents=!0;static makeCurrent(){(0,I.ig)(new G)}onAndCancel(d,l,y,U){return d.addEventListener(l,y,U),()=>{d.removeEventListener(l,y,U)}}dispatchEvent(d,l){d.dispatchEvent(l)}remove(d){d.remove()}createElement(d,l){return(l=l||this.getDefaultDocument()).createElement(d)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(d){return d.nodeType===Node.ELEMENT_NODE}isShadowRoot(d){return d instanceof DocumentFragment}getGlobalEventTarget(d,l){return"window"===l?window:"document"===l?d:"body"===l?d.body:null}getBaseHref(d){const l=function $(){return re=re||document.head.querySelector("base"),re?re.getAttribute("href"):null}();return null==l?null:function we(b){return new URL(b,document.baseURI).pathname}(l)}resetBaseElement(){re=null}getUserAgent(){return window.navigator.userAgent}getCookie(d){return(0,D.b)(document.cookie,d)}}let re=null,ve=(()=>{class b{build(){return new XMLHttpRequest}static \u0275fac=function(y){return new(y||b)};static \u0275prov=_.jDH({token:b,factory:b.\u0275fac})}return b})();const be=["alt","control","meta","shift"],K={"\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"},de={alt:b=>b.altKey,control:b=>b.ctrlKey,meta:b=>b.metaKey,shift:b=>b.shiftKey};let fe=(()=>{class b extends R.Hl{constructor(l){super(l)}supports(l){return null!=b.parseEventName(l)}addEventListener(l,y,U,ce){const Te=b.parseEventName(y),He=b.eventCallback(Te.fullKey,U,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,I.rb)().onAndCancel(l,Te.domEventName,He,ce))}static parseEventName(l){const y=l.toLowerCase().split("."),U=y.shift();if(0===y.length||"keydown"!==U&&"keyup"!==U)return null;const ce=b._normalizeKey(y.pop());let Te="",He=y.indexOf("code");if(He>-1&&(y.splice(He,1),Te="code."),be.forEach(It=>{const dn=y.indexOf(It);dn>-1&&(y.splice(dn,1),Te+=It+".")}),Te+=ce,0!=y.length||0===ce.length)return null;const gt={};return gt.domEventName=U,gt.fullKey=Te,gt}static matchEventFullKeyCode(l,y){let U=K[l.key]||l.key,ce="";return y.indexOf("code.")>-1&&(U=l.code,ce="code."),!(null==U||!U)&&(U=U.toLowerCase()," "===U?U="space":"."===U&&(U="dot"),be.forEach(Te=>{Te!==U&&(0,de[Te])(l)&&(ce+=Te+".")}),ce+=U,ce===y)}static eventCallback(l,y,U){return ce=>{b.matchEventFullKeyCode(ce,l)&&U.runGuarded(()=>y(ce))}}static _normalizeKey(l){return"esc"===l?"escape":l}static \u0275fac=function(y){return new(y||b)(_.KVO(_.qQL))};static \u0275prov=_.jDH({token:b,factory:b.\u0275fac})}return b})();const tt=(0,k.oH4)(k.fpN,"browser",[{provide:S.Agw,useValue:J.AJ},{provide:S.PLl,useValue:function Pe(){G.makeCurrent()},multi:!0},{provide:_.qQL,useFactory:function Je(){return(0,S._9u)(document),document}}]),$e=[{provide:S.$Ln,useClass:class me{addToWindow(d){_.laP.getAngularTestability=(y,U=!0)=>{const ce=d.findTestabilityInTree(y,U);if(null==ce)throw new _.buA(5103,!1);return ce},_.laP.getAllAngularTestabilities=()=>d.getAllTestabilities(),_.laP.getAllAngularRootElements=()=>d.getAllRootElements(),_.laP.frameworkStabilizers||(_.laP.frameworkStabilizers=[]),_.laP.frameworkStabilizers.push(y=>{const U=_.laP.getAllAngularTestabilities();let ce=U.length;const Te=function(){ce--,0==ce&&y()};
1U.forEach(He=>{He.whenStable(Te)})})}findTestabilityInTree(d,l,y){return null==l?null:d.getTestability(l)??(y?(0,I.rb)().isShadowRoot(l)?this.findTestabilityInTree(d,l.host,!0):this.findTestabilityInTree(d,l.parentElement,!0):null)}}},{provide:S.dOL,useClass:S.NYb},{provide:S.NYb,useClass:S.NYb}],Me=[{provide:_.GBX,useValue:"root"},{provide:_.zcH,useFactory:function xe(){return new _.zcH}},{provide:R.Q5,useClass:R.jd,multi:!0},{provide:R.Q5,useClass:fe,multi:!0},R.mE,R.CI,R.EU,{provide:S._9s,useExisting:R.mE},{provide:D.N,useClass:ve},[]];let X=(()=>{class b{constructor(){}static \u0275fac=function(y){return new(y||b)};static \u0275mod=S.$C({type:b});static \u0275inj=_.G2t({providers:[...Me,...$e],imports:[B.MD,k.Hbi]})}return b})();var De=a(91413),Re=a(89417),Fe=a(81230),Xe=a(68173);function Dt(b){return new _.buA(3e3,!1)}function w(b){return new _.buA(3002,!1)}function Vr(b){switch(b.length){case 0:return new Xe.sf;case 1:return b[0];default:return new Xe.PZ(b)}}function rt(b,d,l=new Map,y=new Map){const U=[],ce=[];let Te=-1,He=null;if(d.forEach(gt=>{const It=gt.get("offset"),dn=It==Te,_n=dn&&He||new Map;gt.forEach((Ar,hr)=>{let $n=hr,rr=Ar;if("offset"!==hr)switch($n=b.normalizePropertyName($n,U),rr){case Xe.FX:rr=l.get(hr);break;case Xe.kp:rr=y.get(hr);break;default:rr=b.normalizeStyleValue(hr,$n,rr,U)}_n.set($n,rr)}),dn||ce.push(_n),He=_n,Te=It}),U.length)throw function xr(){return new _.buA(3502,!1)}();return ce}function Ye(b,d,l,y){switch(d){case"start":b.onStart(()=>y(l&&Et(l,"start",b)));break;case"done":b.onDone(()=>y(l&&Et(l,"done",b)));break;case"destroy":b.onDestroy(()=>y(l&&Et(l,"destroy",b)))}}function Et(b,d,l){const ce=Xt(b.element,b.triggerName,b.fromState,b.toState,d||b.phaseName,l.totalTime??b.totalTime,!!l.disabled),Te=b._data;return null!=Te&&(ce._data=Te),ce}function Xt(b,d,l,y,U="",ce=0,Te){return{element:b,triggerName:d,fromState:l,toState:y,phaseName:U,totalTime:ce,disabled:!!Te}}function en(b,d,l){let y=b.get(d);return y||b.set(d,y=l),y}function er(b){const d=b.indexOf(":");return[b.substring(1,d),b.slice(d+1)]}const Er=typeof document>"u"?null:document.documentElement;function Dr(b){const d=b.parentNode||b.host||null;return d===Er?null:d}let Ir=null,Xr=!1;function Ze(b,d){for(;d;){if(d===b)return!0;d=Dr(d)}return!1}function qe(b,d,l){if(l)return Array.from(b.querySelectorAll(d));const y=b.querySelector(d);return y?[y]:[]}const Mn="ng-enter",Vn="ng-leave",gr="ng-trigger",Cr=".ng-trigger",Ft="ng-animating",wn=".ng-animating";function it(b){if("number"==typeof b)return b;const d=b.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:Rt(parseFloat(d[1]),d[2])}function Rt(b,d){return"s"===d?1e3*b:b}function ln(b,d,l){return b.hasOwnProperty("duration")?b:function Nn(b,d,l){let y,U=0,ce="";if("string"==typeof b){const Te=b.match(qt);if(null===Te)return d.push(Dt()),{duration:0,delay:0,easing:""};y=Rt(parseFloat(Te[1]),Te[2]);const He=Te[3];null!=He&&(U=Rt(parseFloat(He),Te[4]));const gt=Te[5];gt&&(ce=gt)}else y=b;if(!l){let Te=!1,He=d.length;y<0&&(d.push(function yt(){return new _.buA(3100,!1)}()),Te=!0),U<0&&(d.push(function Ut(){return new _.buA(3101,!1)}()),Te=!0),Te&&d.splice(He,0,Dt())}return{duration:y,delay:U,easing:ce}}(b,d,l)}const qt=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function pe(b,d,l){d.forEach((y,U)=>{const ce=An(U);l&&!l.has(U)&&l.set(U,b.style[ce]),b.style[ce]=y})}function Be(b,d){d.forEach((l,y)=>{const U=An(y);b.style[U]=""})}function Se(b){return Array.isArray(b)?1==b.length?b[0]:(0,Xe.K2)(b):b}const ke=new RegExp("{{\\s*(.+?)\\s*}}","g");function xt(b){let d=[];if("string"==typeof b){let l;for(;l=ke.exec(b);)d.push(l[1]);ke.lastIndex=0}return d}function Ct(b,d,l){const y=`${b}`,U=y.replace(ke,(ce,Te)=>{let He=d[Te];return null==He&&(l.push(function Dn(){return new _.buA(3003,!1)}()),He=""),He.toString()});return U==y?b:U}const sn=/-+([a-z0-9])/g;function An(b){return b.replace(sn,(...d)=>d[1].toUpperCase())}function or(b,d,l){switch(d.type){case Xe.If.Trigger:return b.visitTrigger(d,l);case Xe.If.State:return b.visitState(d,l);case Xe.If.Transition:return b.visitTransition(d,l);case Xe.If.Sequence:return b.visitSequence(d,l);case Xe.If.Group:return b.visitGroup(d,l);case Xe.If.Animate:return b.visitAnimate(d,l);case Xe.If.Keyframes:return b.visitKeyframes(d,l);case Xe.If.Style:return b.visitStyle(d,l);case Xe.If.Reference:return b.visitReference(d,l);case Xe.If.AnimateChild:return b.visitAnimateChild(d,l);case Xe.If.AnimateRef:return b.visitAnimateRef(d,l);case Xe.If.Query:return b.visitQuery(d,l);case Xe.If.Stagger:return b.visitStagger(d,l);default:throw function fn(){return new _.buA(3004,!1)}()}}function $r(b,d){return window.getComputedStyle(b)[d]}let kr=(()=>{class b{validateStyleProperty(l){return function Mo(b){Ir||(Ir=function Gt(){return typeof document<"u"?document.body:null}()||{},Xr=!!Ir.style&&"WebkitAppearance"in Ir.style);let d=!0;return Ir.style&&!function Or(b){return"ebkit"==b.substring(1,6)}
1(b)&&(d=b in Ir.style,!d&&Xr&&(d="Webkit"+b.charAt(0).toUpperCase()+b.slice(1)in Ir.style)),d}(l)}containsElement(l,y){return Ze(l,y)}getParentElement(l){return Dr(l)}query(l,y,U){return qe(l,y,U)}computeStyle(l,y,U){return U||""}animate(l,y,U,ce,Te,He=[],gt){return new Xe.sf(U,ce)}static \u0275fac=function(y){return new(y||b)};static \u0275prov=_.jDH({token:b,factory:b.\u0275fac})}return b})();class Mr{static NOOP=new kr}class Wr{}const We=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 ct extends Wr{normalizePropertyName(d,l){return An(d)}normalizeStyleValue(d,l,y,U){let ce="";const Te=y.toString().trim();if(We.has(l)&&0!==y&&"0"!==y)if("number"==typeof y)ce="px";else{const He=y.match(/^[+-]?[\d\.]+([a-z]*)$/);He&&0==He[1].length&&U.push(function o(){return new _.buA(3005,!1)}())}return Te+ce}}const Jr=new Set(["true","1"]),To=new Set(["false","0"]);function Zr(b,d){const l=Jr.has(b)||To.has(b),y=Jr.has(d)||To.has(d);return(U,ce)=>{let Te="*"==b||b==U,He="*"==d||d==ce;return!Te&&l&&"boolean"==typeof U&&(Te=U?Jr.has(b):To.has(b)),!He&&y&&"boolean"==typeof ce&&(He=ce?Jr.has(d):To.has(d)),Te&&He}}const x=":self",Ee=new RegExp(`s*${x}s*,?`,"g");function q(b,d,l,y){return new et(b).build(d,l,y)}class et{_driver;constructor(d){this._driver=d}build(d,l,y){const U=new mn(l);return this._resetContextStyleTimingState(U),or(this,Se(d),U)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,l){let y=l.queryCount=0,U=l.depCount=0;const ce=[],Te=[];return"@"==d.name.charAt(0)&&l.errors.push(function mt(){return new _.buA(3006,!1)}()),d.definitions.forEach(He=>{if(this._resetContextStyleTimingState(l),He.type==Xe.If.State){const gt=He,It=gt.name;It.toString().split(/\s*,\s*/).forEach(dn=>{gt.name=dn,ce.push(this.visitState(gt,l))}),gt.name=It}else if(He.type==Xe.If.Transition){const gt=this.visitTransition(He,l);y+=gt.queryCount,U+=gt.depCount,Te.push(gt)}else l.errors.push(function ne(){return new _.buA(3007,!1)}())}),{type:Xe.If.Trigger,name:d.name,states:ce,transitions:Te,queryCount:y,depCount:U,options:null}}visitState(d,l){const y=this.visitStyle(d.styles,l),U=d.options&&d.options.params||null;if(y.containsDynamicStyles){const ce=new Set,Te=U||{};y.styles.forEach(He=>{He instanceof Map&&He.forEach(gt=>{xt(gt).forEach(It=>{Te.hasOwnProperty(It)||ce.add(It)})})}),ce.size&&l.errors.push(function A(){return new _.buA(3008,!1)}(0,ce.values()))}return{type:Xe.If.State,name:d.name,style:y,options:U?{params:U}:null}}visitTransition(d,l){l.queryCount=0,l.depCount=0;const y=or(this,Se(d.animation),l),U=function po(b,d){const l=[];return"string"==typeof b?b.split(/\s*,\s*/).forEach(y=>function Oo(b,d,l){if(":"==b[0]){const gt=function zo(b,d){switch(b){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,y)=>parseFloat(y)>parseFloat(l);case":decrement":return(l,y)=>parseFloat(y)<parseFloat(l);default:return d.push(function yn(){return new _.buA(3016,!1)}()),"* => *"}}(b,l);if("function"==typeof gt)return void d.push(gt);b=gt}const y=b.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==y||y.length<4)return l.push(function vn(){return new _.buA(3015,!1)}()),d;const U=y[1],ce=y[2],Te=y[3];d.push(Zr(U,Te)),"<"==ce[0]&&("*"!=U||"*"!=Te)&&d.push(Zr(Te,U))}(y,l,d)):l.push(b),l}(d.expr,l.errors);return{type:Xe.If.Transition,matchers:U,animation:y,queryCount:l.queryCount,depCount:l.depCount,options:nr(d.options)}}visitSequence(d,l){return{type:Xe.If.Sequence,steps:d.steps.map(y=>or(this,y,l)),options:nr(d.options)}}visitGroup(d,l){const y=l.currentTime;let U=0;const ce=d.steps.map(Te=>{l.currentTime=y;const He=or(this,Te,l);return U=Math.max(U,l.currentTime),He});return l.currentTime=U,{type:Xe.If.Group,steps:ce,options:nr(d.options)}}visitAnimate(d,l){const y=function fr(b,d){if(b.hasOwnProperty("duration"))return b;if("number"==typeof b)return zn(ln(b,d).duration,0,"");const l=b;if(l.split(/\s+/).some(ce=>"{"==ce.charAt(0)&&"{"==ce.charAt(1))){const ce=zn(0,0,"");return ce.dynamic=!0,ce.strValue=l,ce}const U=ln(l,d);return zn(U.duration,U.delay,U.easing)}(d.timings,l.errors);l.currentAnimateTimings=y;let U,ce=d.styles?d.styles:(0,Xe.iF)({});if(ce.type==Xe.If.Keyframes)U=this.visitKeyframes(ce,l);else{let Te=d.styles,He=!1;if(!Te){He=!0;const It={};y.easing&&(It.easing=y.easing),Te=(0,Xe.iF)(It)}l.currentTime+=y.duration+y.delay;const gt=this.visitStyle(Te,l);gt.isEmptyStep=He,U=gt}return l.currentAnimateTimings=null,{type:Xe.If.Animate,timings:y,style:U,options:null}}visitStyle(d,l){const y=this._makeStyleAst(d,l);
1return this._validateStyleAst(y,l),y}_makeStyleAst(d,l){const y=[],U=Array.isArray(d.styles)?d.styles:[d.styles];for(let He of U)"string"==typeof He?He===Xe.kp?y.push(He):l.errors.push(w()):y.push(new Map(Object.entries(He)));let ce=!1,Te=null;return y.forEach(He=>{if(He instanceof Map&&(He.has("easing")&&(Te=He.get("easing"),He.delete("easing")),!ce))for(let gt of He.values())if(gt.toString().indexOf("{{")>=0){ce=!0;break}}),{type:Xe.If.Style,styles:y,easing:Te,offset:d.offset,containsDynamicStyles:ce,options:null}}_validateStyleAst(d,l){const y=l.currentAnimateTimings;let U=l.currentTime,ce=l.currentTime;y&&ce>0&&(ce-=y.duration+y.delay),d.styles.forEach(Te=>{"string"!=typeof Te&&Te.forEach((He,gt)=>{const It=l.collectedStyles.get(l.currentQuerySelector),dn=It.get(gt);let _n=!0;dn&&(ce!=U&&ce>=dn.startTime&&U<=dn.endTime&&(l.errors.push(function ye(){return new _.buA(3010,!1)}()),_n=!1),ce=dn.startTime),_n&&It.set(gt,{startTime:ce,endTime:U}),l.options&&function Le(b,d,l){const y=d.params||{},U=xt(b);U.length&&U.forEach(ce=>{y.hasOwnProperty(ce)||l.push(function Ht(){return new _.buA(3001,!1)}())})}(He,l.options,l.errors)})})}visitKeyframes(d,l){const y={type:Xe.If.Keyframes,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Ge(){return new _.buA(3011,!1)}()),y;let ce=0;const Te=[];let He=!1,gt=!1,It=0;const dn=d.steps.map(Do=>{const qr=this._makeStyleAst(Do,l);let Zo=null!=qr.offset?qr.offset:function dr(b){if("string"==typeof b)return null;let d=null;if(Array.isArray(b))b.forEach(l=>{if(l instanceof Map&&l.has("offset")){const y=l;d=parseFloat(y.get("offset")),y.delete("offset")}});else if(b instanceof Map&&b.has("offset")){const l=b;d=parseFloat(l.get("offset")),l.delete("offset")}return d}(qr.styles),qo=0;return null!=Zo&&(ce++,qo=qr.offset=Zo),gt=gt||qo<0||qo>1,He=He||qo<It,It=qo,Te.push(qo),qr});gt&&l.errors.push(function Nt(){return new _.buA(3012,!1)}()),He&&l.errors.push(function Oe(){return new _.buA(3200,!1)}());const _n=d.steps.length;let Ar=0;ce>0&&ce<_n?l.errors.push(function Pt(){return new _.buA(3202,!1)}()):0==ce&&(Ar=1/(_n-1));const hr=_n-1,$n=l.currentTime,rr=l.currentAnimateTimings,ao=rr.duration;return dn.forEach((Do,qr)=>{const Zo=Ar>0?qr==hr?1:Ar*qr:Te[qr],qo=Zo*ao;l.currentTime=$n+rr.delay+qo,rr.duration=qo,this._validateStyleAst(Do,l),Do.offset=Zo,y.styles.push(Do)}),y}visitReference(d,l){return{type:Xe.If.Reference,animation:or(this,Se(d.animation),l),options:nr(d.options)}}visitAnimateChild(d,l){return l.depCount++,{type:Xe.If.AnimateChild,options:nr(d.options)}}visitAnimateRef(d,l){return{type:Xe.If.AnimateRef,animation:this.visitReference(d.animation,l),options:nr(d.options)}}visitQuery(d,l){const y=l.currentQuerySelector,U=d.options||{};l.queryCount++,l.currentQuery=d;const[ce,Te]=function Bt(b){const d=!!b.split(/\s*,\s*/).find(l=>l==x);return d&&(b=b.replace(Ee,"")),b=b.replace(/@\*/g,Cr).replace(/@\w+/g,l=>Cr+"-"+l.slice(1)).replace(/:animating/g,wn),[b,d]}(d.selector);l.currentQuerySelector=y.length?y+" "+ce:ce,en(l.collectedStyles,l.currentQuerySelector,new Map);const He=or(this,Se(d.animation),l);return l.currentQuery=null,l.currentQuerySelector=y,{type:Xe.If.Query,selector:ce,limit:U.limit||0,optional:!!U.optional,includeSelf:Te,animation:He,originalSelector:d.selector,options:nr(d.options)}}visitStagger(d,l){l.currentQuery||l.errors.push(function nn(){return new _.buA(3013,!1)}());const y="full"===d.timings?{duration:0,delay:0,easing:"full"}:ln(d.timings,l.errors,!0);return{type:Xe.If.Stagger,animation:or(this,Se(d.animation),l),timings:y,options:null}}}class mn{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(d){this.errors=d}}function nr(b){return b?(b={...b}).params&&(b.params=function Jt(b){return b?{...b}:null}(b.params)):b={},b}function zn(b,d,l){return{duration:b,delay:d,easing:l}}function br(b,d,l,y,U,ce,Te=null,He=!1){return{type:1,element:b,keyframes:d,preStyleProps:l,postStyleProps:y,duration:U,delay:ce,totalTime:U+ce,easing:Te,subTimeline:He}}class pr{_map=new Map;get(d){return this._map.get(d)||[]}append(d,l){let y=this._map.get(d);y||this._map.set(d,y=[]),y.push(...l)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Fo=new RegExp(":enter","g"),io=new RegExp(":leave","g");function oi(b,d,l,y,U,ce=new Map,Te=new Map,He,gt,It=[]){return(new Go).buildKeyframes(b,d,l,y,U,ce,Te,He,gt,It)}class Go{buildKeyframes(d,l,y,U,ce,Te,He,gt,It,dn=[]){It=It||new pr;const _n=new _o(d,l,It,U,ce,dn,[]);_n.options=gt;const Ar=gt.delay?it(gt.delay):0;_n.currentTimeline.delayNextStep(Ar),_n.currentTimeline.setStyles([Te],null,_n.errors,gt),or(this,y,_n);const hr=_n.timelines.filter($n=>$n.containsAnimation());if(hr.length&&He.size){let $n;for(let rr=hr.length-1;rr>=0;rr--){const ao=hr[rr];if(ao.element===l){$n=ao;break}}$n&&!$n.allowOnlyTimelineStyles()&&$n.setStyles([He],null,_n.errors,gt)}return hr.length?hr.map($n=>$n.buildKeyframes()):[br(l,[],[],[],0,Ar,"",!1)]}visitTrigger(d,l){}visitState(d,l){}visitTransition(d,l){}
1visitAnimateChild(d,l){const y=l.subInstructions.get(l.element);if(y){const U=l.createSubContext(d.options),ce=l.currentTimeline.currentTime,Te=this._visitSubInstructions(y,U,U.options);ce!=Te&&l.transformIntoNewTimeline(Te)}l.previousNode=d}visitAnimateRef(d,l){const y=l.createSubContext(d.options);y.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],l,y),this.visitReference(d.animation,y),l.transformIntoNewTimeline(y.currentTimeline.currentTime),l.previousNode=d}_applyAnimationRefDelays(d,l,y){for(const U of d){const ce=U?.delay;if(ce){const Te="number"==typeof ce?ce:it(Ct(ce,U?.params??{},l.errors));y.delayNextStep(Te)}}}_visitSubInstructions(d,l,y){let ce=l.currentTimeline.currentTime;const Te=null!=y.duration?it(y.duration):null,He=null!=y.delay?it(y.delay):null;return 0!==Te&&d.forEach(gt=>{const It=l.appendInstructionToTimeline(gt,Te,He);ce=Math.max(ce,It.duration+It.delay)}),ce}visitReference(d,l){l.updateOptions(d.options,!0),or(this,d.animation,l),l.previousNode=d}visitSequence(d,l){const y=l.subContextCount;let U=l;const ce=d.options;if(ce&&(ce.params||ce.delay)&&(U=l.createSubContext(ce),U.transformIntoNewTimeline(),null!=ce.delay)){U.previousNode.type==Xe.If.Style&&(U.currentTimeline.snapshotCurrentStyles(),U.previousNode=mo);const Te=it(ce.delay);U.delayNextStep(Te)}d.steps.length&&(d.steps.forEach(Te=>or(this,Te,U)),U.currentTimeline.applyStylesToKeyframe(),U.subContextCount>y&&U.transformIntoNewTimeline()),l.previousNode=d}visitGroup(d,l){const y=[];let U=l.currentTimeline.currentTime;const ce=d.options&&d.options.delay?it(d.options.delay):0;d.steps.forEach(Te=>{const He=l.createSubContext(d.options);ce&&He.delayNextStep(ce),or(this,Te,He),U=Math.max(U,He.currentTimeline.currentTime),y.push(He.currentTimeline)}),y.forEach(Te=>l.currentTimeline.mergeTimelineCollectedStyles(Te)),l.transformIntoNewTimeline(U),l.previousNode=d}_visitTiming(d,l){if(d.dynamic){const y=d.strValue;return ln(l.params?Ct(y,l.params,l.errors):y,l.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,l){const y=l.currentAnimateTimings=this._visitTiming(d.timings,l),U=l.currentTimeline;y.delay&&(l.incrementTime(y.delay),U.snapshotCurrentStyles());const ce=d.style;ce.type==Xe.If.Keyframes?this.visitKeyframes(ce,l):(l.incrementTime(y.duration),this.visitStyle(ce,l),U.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=d}visitStyle(d,l){const y=l.currentTimeline,U=l.currentAnimateTimings;!U&&y.hasCurrentStyleProperties()&&y.forwardFrame();const ce=U&&U.easing||d.easing;d.isEmptyStep?y.applyEmptyStep(ce):y.setStyles(d.styles,ce,l.errors,l.options),l.previousNode=d}visitKeyframes(d,l){const y=l.currentAnimateTimings,U=l.currentTimeline.duration,ce=y.duration,He=l.createSubContext().currentTimeline;He.easing=y.easing,d.styles.forEach(gt=>{He.forwardTime((gt.offset||0)*ce),He.setStyles(gt.styles,gt.easing,l.errors,l.options),He.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(He),l.transformIntoNewTimeline(U+ce),l.previousNode=d}visitQuery(d,l){const y=l.currentTimeline.currentTime,U=d.options||{},ce=U.delay?it(U.delay):0;ce&&(l.previousNode.type===Xe.If.Style||0==y&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=mo);let Te=y;const He=l.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!U.optional,l.errors);l.currentQueryTotal=He.length;let gt=null;He.forEach((It,dn)=>{l.currentQueryIndex=dn;const _n=l.createSubContext(d.options,It);ce&&_n.delayNextStep(ce),It===l.element&&(gt=_n.currentTimeline),or(this,d.animation,_n),_n.currentTimeline.applyStylesToKeyframe(),Te=Math.max(Te,_n.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(Te),gt&&(l.currentTimeline.mergeTimelineCollectedStyles(gt),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=d}visitStagger(d,l){const y=l.parentContext,U=l.currentTimeline,ce=d.timings,Te=Math.abs(ce.duration),He=Te*(l.currentQueryTotal-1);let gt=Te*l.currentQueryIndex;switch(ce.duration<0?"reverse":ce.easing){case"reverse":gt=He-gt;break;case"full":gt=y.currentStaggerTime}const dn=l.currentTimeline;gt&&dn.delayNextStep(gt);const _n=dn.currentTime;or(this,d.animation,l),l.previousNode=d,y.currentStaggerTime=U.currentTime-_n+(U.startTime-y.currentTimeline.startTime)}}const mo={};class _o{_driver;element;
1subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=mo;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(d,l,y,U,ce,Te,He,gt){this._driver=d,this.element=l,this.subInstructions=y,this._enterClassName=U,this._leaveClassName=ce,this.errors=Te,this.timelines=He,this.currentTimeline=gt||new So(this._driver,l,0),He.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,l){if(!d)return;const y=d;let U=this.options;null!=y.duration&&(U.duration=it(y.duration)),null!=y.delay&&(U.delay=it(y.delay));const ce=y.params;if(ce){let Te=U.params;Te||(Te=this.options.params={}),Object.keys(ce).forEach(He=>{(!l||!Te.hasOwnProperty(He))&&(Te[He]=Ct(ce[He],Te,this.errors))})}}_copyOptions(){const d={};if(this.options){const l=this.options.params;if(l){const y=d.params={};Object.keys(l).forEach(U=>{y[U]=l[U]})}}return d}createSubContext(d=null,l,y){const U=l||this.element,ce=new _o(this._driver,U,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(U,y||0));return ce.previousNode=this.previousNode,ce.currentAnimateTimings=this.currentAnimateTimings,ce.options=this._copyOptions(),ce.updateOptions(d),ce.currentQueryIndex=this.currentQueryIndex,ce.currentQueryTotal=this.currentQueryTotal,ce.parentContext=this,this.subContextCount++,ce}transformIntoNewTimeline(d){return this.previousNode=mo,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,l,y){const U={duration:l??d.duration,delay:this.currentTimeline.currentTime+(y??0)+d.delay,easing:""},ce=new Qi(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,U,d.stretchStartingKeyframe);return this.timelines.push(ce),U}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,l,y,U,ce,Te){let He=[];if(U&&He.push(this.element),d.length>0){d=(d=d.replace(Fo,"."+this._enterClassName)).replace(io,"."+this._leaveClassName);let It=this._driver.query(this.element,d,1!=y);0!==y&&(It=y<0?It.slice(It.length+y,It.length):It.slice(0,y)),He.push(...It)}return!ce&&0==He.length&&Te.push(function gn(){return new _.buA(3014,!1)}()),He}}class So{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_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(d,l,y,U){this._driver=d,this.element=l,this.startTime=y,this._elementTimelineStylesLookup=U,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,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(d){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+d),l&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,l){return this.applyStylesToKeyframe(),new So(this._driver,d,l||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(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,l){this._localTimelineStyles.set(d,l),this._globalTimelineStyles.set(d,l),this._styleSummary.set(d,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[l,y]of this._globalTimelineStyles)this._backFill.set(l,y||Xe.kp),this._currentKeyframe.set(l,Xe.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,l,y,U){l&&this._previousKeyframe.set("easing",l);const ce=U&&U.params||{},Te=function Mi(b,d){const l=new Map;let y;return b.forEach(U=>{if("*"===U){y??=d.keys();for(let ce of y)l.set(ce,Xe.kp)}else for(let[ce,Te]of U)l.set(ce,Te)}),l}(d,this._globalTimelineStyles);for(let[He,gt]of Te){const It=Ct(gt,ce,y);this._pendingStyles.set(He,It),this._localTimelineStyles.has(He)||this._backFill.set(He,this._globalTimelineStyles.get(He)??Xe.kp),this._updateStyle(He,It)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,l)=>{this._currentKeyframe.set(l,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,d)}))}snapshotCurrentStyles(){for(let[d,l]of this._localTimelineStyles)this._pendingStyles.set(d,l),this._updateStyle(d,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let l in this._currentKeyframe)d.push(l);return d}
1mergeTimelineCollectedStyles(d){d._styleSummary.forEach((l,y)=>{const U=this._styleSummary.get(y);(!U||l.time>U.time)&&this._updateStyle(y,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,l=new Set,y=1===this._keyframes.size&&0===this.duration;let U=[];this._keyframes.forEach((He,gt)=>{const It=new Map([...this._backFill,...He]);It.forEach((dn,_n)=>{dn===Xe.FX?d.add(_n):dn===Xe.kp&&l.add(_n)}),y||It.set("offset",gt/this.duration),U.push(It)});const ce=[...d.values()],Te=[...l.values()];if(y){const He=U[0],gt=new Map(He);He.set("offset",0),gt.set("offset",1),U=[He,gt]}return br(this.element,U,ce,Te,this.duration,this.startTime,this.easing,!1)}}class Qi extends So{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(d,l,y,U,ce,Te,He=!1){super(d,l,Te.delay),this.keyframes=y,this.preStyleProps=U,this.postStyleProps=ce,this._stretchStartingKeyframe=He,this.timings={duration:Te.duration,delay:Te.delay,easing:Te.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:l,duration:y,easing:U}=this.timings;if(this._stretchStartingKeyframe&&l){const ce=[],Te=y+l,He=l/Te,gt=new Map(d[0]);gt.set("offset",0),ce.push(gt);const It=new Map(d[0]);It.set("offset",ds(He)),ce.push(It);const dn=d.length-1;for(let _n=1;_n<=dn;_n++){let Ar=new Map(d[_n]);const hr=Ar.get("offset");Ar.set("offset",ds((l+hr*y)/Te)),ce.push(Ar)}y=Te,l=0,U="",d=ce}return br(this.element,d,this.preStyleProps,this.postStyleProps,y,l,U,!0)}}function ds(b,d=3){const l=Math.pow(10,d-1);return Math.round(b*l)/l}function $o(b,d,l,y,U,ce,Te,He,gt,It,dn,_n,Ar){return{type:0,element:b,triggerName:d,isRemovalTransition:U,fromState:l,fromStyles:ce,toState:y,toStyles:Te,timelines:He,queriedElements:gt,preStyleProps:It,postStyleProps:dn,totalTime:_n,errors:Ar}}const Pr={};class _i{_triggerName;ast;_stateStyles;constructor(d,l,y){this._triggerName=d,this.ast=l,this._stateStyles=y}match(d,l,y,U){return function ii(b,d,l,y,U){return b.some(ce=>ce(d,l,y,U))}(this.ast.matchers,d,l,y,U)}buildStyles(d,l,y){let U=this._stateStyles.get("*");return void 0!==d&&(U=this._stateStyles.get(d?.toString())||U),U?U.buildStyles(l,y):new Map}build(d,l,y,U,ce,Te,He,gt,It,dn){const _n=[],Ar=this.ast.options&&this.ast.options.params||Pr,$n=this.buildStyles(y,He&&He.params||Pr,_n),rr=gt&&gt.params||Pr,ao=this.buildStyles(U,rr,_n),Do=new Set,qr=new Map,Zo=new Map,qo="void"===U,Ys={params:Ui(rr,Ar),delay:this.ast.options?.delay},Ts=dn?[]:oi(d,l,this.ast.animation,ce,Te,$n,ao,Ys,It,_n);let gi=0;return Ts.forEach(Wo=>{gi=Math.max(Wo.duration+Wo.delay,gi)}),_n.length?$o(l,this._triggerName,y,U,qo,$n,ao,[],[],qr,Zo,gi,_n):(Ts.forEach(Wo=>{const _s=Wo.element,vs=en(qr,_s,new Set);Wo.preStyleProps.forEach(Ss=>vs.add(Ss));const Ea=en(Zo,_s,new Set);Wo.postStyleProps.forEach(Ss=>Ea.add(Ss)),_s!==l&&Do.add(_s)}),$o(l,this._triggerName,y,U,qo,$n,ao,Ts,[...Do.values()],qr,Zo,gi))}}function Ui(b,d){const l={...d};return Object.entries(b).forEach(([y,U])=>{null!=U&&(l[y]=U)}),l}class vi{styles;defaultParams;normalizer;constructor(d,l,y){this.styles=d,this.defaultParams=l,this.normalizer=y}buildStyles(d,l){const y=new Map,U=Ui(d,this.defaultParams);return this.styles.styles.forEach(ce=>{"string"!=typeof ce&&ce.forEach((Te,He)=>{Te&&(Te=Ct(Te,U,l));const gt=this.normalizer.normalizePropertyName(He,l);Te=this.normalizer.normalizeStyleValue(He,gt,Te,l),y.set(He,Te)})}),y}}class Yo{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(d,l,y){this.name=d,this.ast=l,this._normalizer=y,l.states.forEach(U=>{this.states.set(U.name,new vi(U.style,U.options&&U.options.params||{},y))}),Bi(this.states,"true","1"),Bi(this.states,"false","0"),l.transitions.forEach(U=>{this.transitionFactories.push(new _i(d,U,this.states))}),this.fallbackTransition=function es(b,d){return new _i(b,{type:Xe.If.Transition,animation:{type:Xe.If.Sequence,steps:[],options:null},matchers:[(Te,He)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,l,y,U){return this.transitionFactories.find(Te=>Te.match(d,l,y,U))||null}matchStyles(d,l,y){return this.fallbackTransition.buildStyles(d,l,y)}}function Bi(b,d,l){b.has(d)?b.has(l)||b.set(l,b.get(d)):b.has(l)&&b.set(d,b.get(l))}const si=new pr;class Uo{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(d,l,y){this.bodyNode=d,this._driver=l,this._normalizer=y}register(d,l){const y=[],ce=q(this._driver,l,y,[]);if(y.length)throw function No(){return new _.buA(3503,!1)}();this._animations.set(d,ce)}_buildPlayer(d,l,y){const U=d.element,ce=rt(this._normalizer,d.keyframes,l,y);return this._driver.animate(U,ce,d.duration,d.delay,d.easing,[],!0)}create(d,l,y={}){const U=[],ce=this._animations.get(d);let Te;const He=new Map;if(ce?(Te=oi(this._driver,l,ce,Mn,Vn,new Map,new Map,y,si,U),Te.forEach(dn=>{const _n=en(He,dn.element,new Map);dn.postStyleProps.forEach(Ar=>_n.set(Ar,null))})):(U.push(function Lr(){return new _.buA(3300,!1)}()),Te=[]),U.length)throw function Kr(){return new _.buA(3504,!1)}();He.forEach((dn,_n)=>{dn.forEach((Ar,hr)=>{dn.set(hr,this._driver.computeStyle(_n,hr,Xe.kp))})});const It=Vr(Te.map(dn=>{const _n=He.get(dn.element);return this._buildPlayer(dn,new Map,_n)}));return this._playersById.set(d,It),It.onDestroy(()=>this.destroy(d)),this.players.push(It),It}destroy(d){const l=this._getPlayer(d);
1l.destroy(),this._playersById.delete(d);const y=this.players.indexOf(l);y>=0&&this.players.splice(y,1)}_getPlayer(d){const l=this._playersById.get(d);if(!l)throw function jr(){return new _.buA(3301,!1)}();return l}listen(d,l,y,U){const ce=Xt(l,"","","");return Ye(this._getPlayer(d),y,ce,U),()=>{}}command(d,l,y,U){if("register"==y)return void this.register(d,U[0]);if("create"==y)return void this.create(d,l,U[0]||{});const ce=this._getPlayer(d);switch(y){case"play":ce.play();break;case"pause":ce.pause();break;case"reset":ce.reset();break;case"restart":ce.restart();break;case"finish":ce.finish();break;case"init":ce.init();break;case"setPosition":ce.setPosition(parseFloat(U[0]));break;case"destroy":this.destroy(d)}}}const Si="ng-animate-queued",Qo="ng-animate-disabled",Ri=[],Fr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ji={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},vo="__ng_removed";class ee{namespaceId;value;options;get params(){return this.options.params}constructor(d,l=""){this.namespaceId=l;const y=d&&d.hasOwnProperty("value");if(this.value=function zt(b){return b??null}(y?d.value:d),y){const{value:ce,...Te}=d;this.options=Te}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const l=d.params;if(l){const y=this.options.params;Object.keys(l).forEach(U=>{null==y[U]&&(y[U]=l[U])})}}}const oe="void",_e=new ee(oe);class ot{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(d,l,y){this.id=d,this.hostElement=l,this._engine=y,this._hostClassName="ng-tns-"
1+d,En(l,this._hostClassName)}listen(d,l,y,U){if(!this._triggers.has(l))throw function On(){return new _.buA(3302,!1)}();if(null==y||0==y.length)throw function eo(){return new _.buA(3303,!1)}();if(!function hn(b){return"start"==b||"done"==b}(y))throw function go(){return new _.buA(3400,!1)}();const ce=en(this._elementListeners,d,[]),Te={name:l,phase:y,callback:U};ce.push(Te);const He=en(this._engine.statesByElement,d,new Map);return He.has(l)||(En(d,gr),En(d,gr+"-"+l),He.set(l,_e)),()=>{this._engine.afterFlush(()=>{const gt=ce.indexOf(Te);gt>=0&&ce.splice(gt,1),this._triggers.has(l)||He.delete(l)})}}register(d,l){return!this._triggers.has(d)&&(this._triggers.set(d,l),!0)}_getTrigger(d){const l=this._triggers.get(d);if(!l)throw function bo(){return new _.buA(3401,!1)}();return l}trigger(d,l,y,U=!0){const ce=this._getTrigger(l),Te=new bt(this.id,l,d);let He=this._engine.statesByElement.get(d);He||(En(d,gr),En(d,gr+"-"+l),this._engine.statesByElement.set(d,He=new Map));let gt=He.get(l);const It=new ee(y,this.id);if(!(y&&y.hasOwnProperty("value"))&&gt&&It.absorbOptions(gt.options),He.set(l,It),gt||(gt=_e),It.value!==oe&&gt.value===It.value){if(!function C(b,d){const l=Object.keys(b),y=Object.keys(d);if(l.length!=y.length)return!1;for(let U=0;U<l.length;U++){const ce=l[U];if(!d.hasOwnProperty(ce)||b[ce]!==d[ce])return!1}return!0}(gt.params,It.params)){const rr=[],ao=ce.matchStyles(gt.value,gt.params,rr),Do=ce.matchStyles(It.value,It.params,rr);rr.length?this._engine.reportError(rr):this._engine.afterFlush(()=>{Be(d,ao),pe(d,Do)})}return}const Ar=en(this._engine.playersByElement,d,[]);Ar.forEach(rr=>{rr.namespaceId==this.id&&rr.triggerName==l&&rr.queued&&rr.destroy()});let hr=ce.matchTransition(gt.value,It.value,d,It.params),$n=!1;if(!hr){if(!U)return;hr=ce.fallbackTransition,$n=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:l,transition:hr,fromState:gt,toState:It,player:Te,isFallbackTransition:$n}),$n||(En(d,Si),Te.onStart(()=>{lr(d,Si)})),Te.onDone(()=>{let rr=this.players.indexOf(Te);rr>=0&&this.players.splice(rr,1);const ao=this._engine.playersByElement.get(d);if(ao){let Do=ao.indexOf(Te);Do>=0&&ao.splice(Do,1)}}),this.players.push(Te),Ar.push(Te),Te}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(l=>l.delete(d)),this._elementListeners.forEach((l,y)=>{this._elementListeners.set(y,l.filter(U=>U.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const l=this._engine.playersByElement.get(d);l&&(l.forEach(y=>y.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,l){const y=this._engine.driver.query(d,Cr,!0);y.forEach(U=>{if(U[vo])return;const ce=this._engine.fetchNamespacesByElement(U);ce.size?ce.forEach(Te=>Te.triggerLeaveAnimation(U,l,!1,!0)):this.clearElementCache(U)}),this._engine.afterFlushAnimationsDone(()=>y.forEach(U=>this.clearElementCache(U)))}triggerLeaveAnimation(d,l,y,U){const ce=this._engine.statesByElement.get(d),Te=new Map;if(ce){const He=[];if(ce.forEach((gt,It)=>{if(Te.set(It,gt.value),this._triggers.has(It)){const dn=this.trigger(d,It,oe,U);dn&&He.push(dn)}}),He.length)return this._engine.markElementAsRemoved(this.id,d,!0,l,Te),y&&Vr(He).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const l=this._elementListeners.get(d),y=this._engine.statesByElement.get(d);if(l&&y){const U=new Set;l.forEach(ce=>{const Te=ce.name;if(U.has(Te))return;U.add(Te);const gt=this._triggers.get(Te).fallbackTransition,It=y.get(Te)||_e,dn=new ee(oe),_n=new bt(this.id,Te,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:Te,transition:gt,fromState:It,toState:dn,player:_n,isFallbackTransition:!0})})}}removeNode(d,l){const y=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,l),this.triggerLeaveAnimation(d,l,!0))return;let U=!1;if(y.totalAnimations){const ce=y.players.length?y.playersByQueriedElement.get(d):[];if(ce&&ce.length)U=!0;else{let Te=d;for(;Te=Te.parentNode;)if(y.statesByElement.get(Te)){U=!0;break}}}if(this.prepareLeaveAnimationListeners(d),U)y.markElementAsRemoved(this.id,d,!1,l);else{const ce=d[vo];(!ce||ce===Fr)&&(y.afterFlush(()=>this.clearElementCache(d)),y.destroyInnerAnimations(d),y._onRemovalComplete(d,l))}}insertNode(d,l){En(d,this._hostClassName)}drainQueuedTransitions(d){const l=[];return this._queue.forEach(y=>{const U=y.player;if(U.destroyed)return;const ce=y.element,Te=this._elementListeners.get(ce);Te&&Te.forEach(He=>{if(He.name==y.triggerName){const gt=Xt(ce,y.triggerName,y.fromState.value,y.toState.value);gt._data=d,Ye(y.player,He.phase,gt,He.callback)}}),U.markedForDestroy?this._engine.afterFlush(()=>{U.destroy()}):l.push(y)}),this._queue=[],l.sort((y,U)=>{const ce=y.transition.ast.depCount,Te=U.transition.ast.depCount;return 0==ce||0==Te?ce-Te:this._engine.driver.containsElement(y.element,U.element)?1:-1})}
1destroy(d){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class ut{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=(d,l)=>{};_onRemovalComplete(d,l){this.onRemovalComplete(d,l)}constructor(d,l,y){this.bodyNode=d,this.driver=l,this._normalizer=y}get queuedPlayers(){const d=[];return this._namespaceList.forEach(l=>{l.players.forEach(y=>{y.queued&&d.push(y)})}),d}createNamespace(d,l){const y=new ot(d,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(y,l):(this.newHostElements.set(l,y),this.collectEnterElement(l)),this._namespaceLookup[d]=y}_balanceNamespaceList(d,l){const y=this._namespaceList,U=this.namespacesByHostElement;if(y.length-1>=0){let Te=!1,He=this.driver.getParentElement(l);for(;He;){const gt=U.get(He);if(gt){const It=y.indexOf(gt);y.splice(It+1,0,d),Te=!0;break}He=this.driver.getParentElement(He)}Te||y.unshift(d)}else y.push(d);return U.set(l,d),d}register(d,l){let y=this._namespaceLookup[d];return y||(y=this.createNamespace(d,l)),y}registerTrigger(d,l,y){let U=this._namespaceLookup[d];U&&U.register(l,y)&&this.totalAnimations++}destroy(d,l){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const y=this._fetchNamespace(d);this.namespacesByHostElement.delete(y.hostElement);const U=this._namespaceList.indexOf(y);U>=0&&this._namespaceList.splice(U,1),y.destroy(l),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const l=new Set,y=this.statesByElement.get(d);if(y)for(let U of y.values())if(U.namespaceId){const ce=this._fetchNamespace(U.namespaceId);ce&&l.add(ce)}return l}trigger(d,l,y,U){if(Yt(l)){const ce=this._fetchNamespace(d);if(ce)return ce.trigger(l,y,U),!0}return!1}insertNode(d,l,y,U){if(!Yt(l))return;const ce=l[vo];if(ce&&ce.setForRemoval){ce.setForRemoval=!1,ce.setForMove=!0;const Te=this.collectedLeaveElements.indexOf(l);Te>=0&&this.collectedLeaveElements.splice(Te,1)}if(d){const Te=this._fetchNamespace(d);Te&&Te.insertNode(l,y)}U&&this.collectEnterElement(l)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,l){l?this.disabledNodes.has(d)||(this.disabledNodes.add(d),En(d,Qo)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),lr(d,Qo))}removeNode(d,l,y){if(Yt(l)){const U=d?this._fetchNamespace(d):null;U?U.removeNode(l,y):this.markElementAsRemoved(d,l,!1,y);const ce=this.namespacesByHostElement.get(l);ce&&ce.id!==d&&ce.removeNode(l,y)}else this._onRemovalComplete(l,y)}markElementAsRemoved(d,l,y,U,ce){this.collectedLeaveElements.push(l),l[vo]={namespaceId:d,setForRemoval:U,hasAnimation:y,removedBeforeQueried:!1,previousTriggersValues:ce}}listen(d,l,y,U,ce){return Yt(l)?this._fetchNamespace(d).listen(l,y,U,ce):()=>{}}_buildInstruction(d,l,y,U,ce){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,y,U,d.fromState.options,d.toState.options,l,ce)}destroyInnerAnimations(d){let l=this.driver.query(d,Cr,!0);l.forEach(y=>this.destroyActiveAnimationsForElement(y)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(d,wn,!0),l.forEach(y=>this.finishActiveQueriedAnimationOnElement(y)))}destroyActiveAnimationsForElement(d){const l=this.playersByElement.get(d);l&&l.forEach(y=>{y.queued?y.markedForDestroy=!0:y.destroy()})}finishActiveQueriedAnimationOnElement(d){const l=this.playersByQueriedElement.get(d);l&&l.forEach(y=>y.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return Vr(this.players).onDone(()=>d());d()})}processLeaveNode(d){const l=d[vo];if(l&&l.setForRemoval){if(d[vo]=Fr,l.namespaceId){this.destroyInnerAnimations(d);const y=this._fetchNamespace(l.namespaceId);y&&y.clearElementCache(d)}this._onRemovalComplete(d,l.setForRemoval)}d.classList?.contains(Qo)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEac
1h(y=>{this.markElementAsDisabled(y,!1)})}flush(d=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((y,U)=>this._balanceNamespaceList(y,U)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let y=0;y<this.collectedEnterElements.length;y++)En(this.collectedEnterElements[y],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const y=[];try{l=this._flushAnimations(y,d)}finally{for(let U=0;U<y.length;U++)y[U]()}}else for(let y=0;y<this.collectedLeaveElements.length;y++)this.processLeaveNode(this.collectedLeaveElements[y]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(y=>y()),this._flushFns=[],this._whenQuietFns.length){const y=this._whenQuietFns;this._whenQuietFns=[],l.length?Vr(l).onDone(()=>{y.forEach(U=>U())}):y.forEach(U=>U())}}reportError(d){throw function Lo(){return new _.buA(3402,!1)}()}_flushAnimations(d,l){const y=new pr,U=[],ce=new Map,Te=[],He=new Map,gt=new Map,It=new Map,dn=new Set;this.disabledNodes.forEach(bn=>{dn.add(bn);const Yn=this.driver.query(bn,".ng-animate-queued",!0);for(let qn=0;qn<Yn.length;qn++)dn.add(Yn[qn])});const _n=this.bodyNode,Ar=Array.from(this.statesByElement.keys()),hr=Wn(Ar,this.collectedEnterElements),$n=new Map;let rr=0;hr.forEach((bn,Yn)=>{const qn=Mn+rr++;$n.set(Yn,qn),bn.forEach(Ur=>En(Ur,qn))});const ao=[],Do=new Set,qr=new Set;for(let bn=0;bn<this.collectedLeaveElements.length;bn++){const Yn=this.collectedLeaveElements[bn],qn=Yn[vo];
1qn&&qn.setForRemoval&&(ao.push(Yn),Do.add(Yn),qn.hasAnimation?this.driver.query(Yn,".ng-star-inserted",!0).forEach(Ur=>Do.add(Ur)):qr.add(Yn))}const Zo=new Map,qo=Wn(Ar,Array.from(Do));qo.forEach((bn,Yn)=>{const qn=Vn+rr++;Zo.set(Yn,qn),bn.forEach(Ur=>En(Ur,qn))}),d.push(()=>{hr.forEach((bn,Yn)=>{const qn=$n.get(Yn);bn.forEach(Ur=>lr(Ur,qn))}),qo.forEach((bn,Yn)=>{const qn=Zo.get(Yn);bn.forEach(Ur=>lr(Ur,qn))}),ao.forEach(bn=>{this.processLeaveNode(bn)})});const Ys=[],Ts=[];for(let bn=this._namespaceList.length-1;bn>=0;bn--)this._namespaceList[bn].drainQueuedTransitions(l).forEach(qn=>{const Ur=qn.player,mi=qn.element;if(Ys.push(Ur),this.collectedEnterElements.length){const Di=mi[vo];if(Di&&Di.setForMove){if(Di.previousTriggersValues&&Di.previousTriggersValues.has(qn.triggerName)){const Qs=Di.previousTriggersValues.get(qn.triggerName),qi=this.statesByElement.get(qn.element);if(qi&&qi.has(qn.triggerName)){const Xs=qi.get(qn.triggerName);Xs.value=Qs,qi.set(qn.triggerName,Xs)}}return void Ur.destroy()}}const xi=!_n||!this.driver.containsElement(_n,mi),ei=Zo.get(mi),ki=$n.get(mi),Br=this._buildInstruction(qn,y,ki,ei,xi);if(Br.errors&&Br.errors.length)return void Ts.push(Br);if(xi)return Ur.onStart(()=>Be(mi,Br.fromStyles)),Ur.onDestroy(()=>pe(mi,Br.toStyles)),void U.push(Ur);if(qn.isFallbackTransition)return Ur.onStart(()=>Be(mi,Br.fromStyles)),Ur.onDestroy(()=>pe(mi,Br.toStyles)),void U.push(Ur);const Ca=[];Br.timelines.forEach(Di=>{Di.stretchStartingKeyframe=!0,this.disabledNodes.has(Di.element)||C
1a.push(Di)}),Br.timelines=Ca,y.append(mi,Br.timelines),Te.push({instruction:Br,player:Ur,element:mi}),Br.queriedElements.forEach(Di=>en(He,Di,[]).push(Ur)),Br.preStyleProps.forEach((Di,Qs)=>{if(Di.size){let qi=gt.get(Qs);qi||gt.set(Qs,qi=new Set),Di.forEach((Xs,oa)=>qi.add(oa))}}),Br.postStyleProps.forEach((Di,Qs)=>{let qi=It.get(Qs);qi||It.set(Qs,qi=new Set),Di.forEach((Xs,oa)=>qi.add(oa))})});if(Ts.length){const bn=[];Ts.forEach(Yn=>{bn.push(function xo(){return new _.buA(3505,!1)}())}),Ys.forEach(Yn=>Yn.destroy()),this.reportError(bn)}const gi=new Map,Wo=new Map;Te.forEach(bn=>{const Yn=bn.element;y.has(Yn)&&(Wo.set(Yn,Yn),this._beforeAnimationBuild(bn.player.namespaceId,bn.instruction,gi))}),U.forEach(bn=>{const Yn=bn.element;this._getPreviousPlayers(Yn,!1,bn.namespaceId,bn.triggerName,null).forEach(Ur=>{en(gi,Yn,[]).push(Ur),Ur.destroy()})});const _s=ao.filter(bn=>te(bn,gt,It)),vs=new Map;ir(vs,this.driver,qr,It,Xe.kp).forEach(bn=>{te(bn,gt,It)&&_s.push(bn)});const Ss=new Map;hr.forEach((bn,Yn)=>{ir(Ss,this.driver,new Set(bn),gt,Xe.FX)}
1),_s.forEach(bn=>{const Yn=vs.get(bn),qn=Ss.get(bn);vs.set(bn,new Map([...Yn?.entries()??[],...qn?.entries()??[]]))});const ca=[],Da=[],ta={};Te.forEach(bn=>{const{element:Yn,player:qn,instruction:Ur}=bn;if(y.has(Yn)){if(dn.has(Yn))return qn.onDestroy(()=>pe(Yn,Ur.toStyles)),qn.disabled=!0,qn.overrideTotalTime(Ur.totalTime),void U.push(qn);let mi=ta;if(Wo.size>1){let ei=Yn;const ki=[];for(;ei=ei.parentNode;){const Br=Wo.get(ei);if(Br){mi=Br;break}ki.push(ei)}ki.forEach(Br=>Wo.set(Br,mi))}const xi=this._buildAnimation(qn.namespaceId,Ur,gi,ce,Ss,vs);if(qn.setRealPlayer(xi),mi===ta)ca.push(qn);else{const ei=this.playersByElement.get(mi);ei&&ei.length&&(qn.parentPlayer=Vr(ei)),U.push(qn)}}else Be(Yn,Ur.fromStyles),qn.onDestroy(()=>pe(Yn,Ur.toStyles)),Da.push(qn),dn.has(Yn)&&U.push(qn)}),Da.forEach(bn=>{const Yn=ce.get(bn.element);if(Yn&&Yn.length){const qn=Vr(Yn);bn.setRealPlayer(qn)}}),U.forEach(bn=>{bn.parentPlayer?bn.syncPlayerEvents(bn.parentPlayer):bn.destroy()});for(let bn=0;bn<ao.length;bn++){const Yn=ao[bn],qn=Yn[vo];if(lr(Yn,Vn),qn&&qn.hasAnimation)continue;let Ur=[];if(He.size){let xi=He.get(Yn);xi&&xi.length&&Ur.push(...xi);let ei=this.driver.query(Yn,wn,!0);for(let ki=0;ki<ei.length;ki++){let Br=He.get(ei[ki]);Br&&Br.length&&Ur.push(...Br)}}const mi=Ur.filter(xi=>!xi.destroyed);mi.length?Hn(this,Yn,mi):this.processLeaveNode(Yn)}return ao.length=0,ca.forEach(bn=>{this.players.push(bn),bn.onDone(()=>{bn.destroy();const Yn=this.players.indexOf(bn);this.players.splice(Yn,1)}),bn.play()}),ca}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,l,y,U,ce){let Te=[];if(l){const He=this.playersByQueriedElement.get(d);He&&(Te=He)}else{const He=this.playersByElement.get(d);if(He){const gt=!ce||ce==oe;He.forEach(It=>{It.queued||!gt&&It.triggerName!=U||Te.push(It)})}}return(y||U)&&(Te=Te.filter(He=>!(y&&y!=He.namespaceId||U&&U!=He.triggerName))),Te}_beforeAnimationBuild(d,l,y){const ce=l.element,Te=l.isRemovalTransition?void 0:d,He=l.isRemovalTransition?void 0:l.triggerName;for(const gt of l.timelines){const It=gt.element,dn=It!==ce,_n=en(y,It,[]);this._getPreviousPlayers(It,dn,Te,He,l.toState).forEach(hr=>{const $n=hr.getRealPlayer();$n.beforeDestroy&&$n.beforeDestroy(),hr.destroy(),_n.push(hr)})}Be(ce,l.fromStyles)}_buildAnimation(d,l,y,U,ce,Te){const He=l.triggerName,gt=l.element,It=[],dn=new Set,_n=new Set,Ar=l.timelines.map($n=>{const rr=$n.element;dn.add(rr);const ao=rr[vo];if(ao&&ao.removedBeforeQueried)return new Xe.sf($n.duration,$n.delay);const Do=rr!==gt,qr=function O(b){const d=[];return N(b,d),d}((y.get(rr)||Ri).map(gi=>gi.getRealPlayer())).filter(gi=>!!gi.element&&gi.element===rr),Zo=ce.get(rr),qo=Te.get(rr),Ys=rt(this._normalizer,$n.keyframes,Zo,qo),Ts=this._buildPlayer($n,Ys,qr);if($n.subTimeline&&U&&_n.add(rr),Do){const gi=new bt(d,He,rr);gi.setRealPlayer(Ts),It.push(gi)}return Ts});It.forEach($n=>{en(this.playersByQueriedElement,$n.element,[]).push($n),$n.onDone(()=>function Kt(b,d,l){let y=b.get(d);if(y){if(y.length){const U=y.indexOf(l);y.splice(U,1)}0==y.length&&b.delete(d)}return y}(this.playersByQueriedElement,$n.element,$n))}),dn.forEach($n=>En($n,Ft));const hr=Vr(Ar);return hr.onDestroy(()=>{dn.forEach($n=>lr($n,Ft)),pe(gt,l.toStyles)}
1),_n.forEach($n=>{en(U,$n,[]).push(hr)}),hr}_buildPlayer(d,l,y){return l.length>0?this.driver.animate(d.element,l,d.duration,d.delay,d.easing,y):new Xe.sf(d.duration,d.delay)}}class bt{namespaceId;triggerName;element;_player=new Xe.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(d,l,y){this.namespaceId=d,this.triggerName=l,this.element=y}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((l,y)=>{l.forEach(U=>Ye(d,y,void 0,U))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const l=this._player;l.triggerCallback&&d.onStart(()=>l.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,l){en(this._queuedCallbacks,d,[]).push(l)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}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(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const l=this._player;l.triggerCallback&&l.triggerCallback(d)}}function Yt(b){return b&&1===b.nodeType}function rn(b,d){const l=b.style.display;return b.style.display=d??"none",l}function ir(b,d,l,y,U){const ce=[];l.forEach(gt=>ce.push(rn(gt)));const Te=[];y.forEach((gt,It)=>{const dn=new Map;gt.forEach(_n=>{const Ar=d.computeStyle(It,_n,U);dn.set(_n,Ar),(!Ar||0==Ar.length)&&(It[vo]=ji,Te.push(It))}),b.set(It,dn)});let He=0;return l.forEach(gt=>rn(gt,ce[He++])),Te}function Wn(b,d){const l=new Map;if(b.forEach(He=>l.set(He,[])),0==d.length)return l;const U=new Set(d),ce=new Map;function Te(He){if(!He)return 1;let gt=ce.get(He);if(gt)return gt;const It=He.parentNode;return gt=l.has(It)?It:U.has(It)?1:Te(It),ce.set(He,gt),gt}return d.forEach(He=>{const gt=Te(He);1!==gt&&l.get(gt).push(He)}),l}function En(b,d){b.classList?.add(d)}function lr(b,d){b.classList?.remove(d)}function Hn(b,d,l){Vr(l).onDone(()=>b.processLeaveNode(d))}function N(b,d){for(let l=0;l<b.length;l++){const y=b[l];y instanceof Xe.PZ?N(y.players,d):d.push(y)}}function te(b,d,l){const y=l.get(b);if(!y)return!1;let U=d.get(b);return U?y.forEach(ce=>U.add(ce)):d.set(b,y),l.delete(b),!0}class Ne{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(d,l)=>{};constructor(d,l,y){this._driver=l,this._normalizer=y,this._transitionEngine=new ut(d.body,l,y),this._timelineEngine=new Uo(d.body,l,y),this._transitionEngine.onRemovalComplete=(U,ce)=>this.onRemovalComplete(U,ce)}registerTrigger(d,l,y,U,ce){const Te=d+"-"+U;let He=this._triggerCache[Te];if(!He){const gt=[],dn=q(this._driver,ce,gt,[]);if(gt.length)throw function Tr(){return new _.buA(3404,!1)}();He=function Ti(b,d,l){return new Yo(b,d,l)}(U,dn,this._normalizer),this._triggerCache[Te]=He}this._transitionEngine.registerTrigger(l,U,He)}register(d,l){this._transitionEngine.register(d,l)}destroy(d,l){this._transitionEngine.destroy(d,l)}onInsert(d,l,y,U){this._transitionEngine.insertNode(d,l,y,U)}onRemove(d,l,y){this._transitionEngine.removeNode(d,l,y)}disableAnimations(d,l){this._transitionEngine.markElementAsDisabled(d,l)}process(d,l,y,U){if("@"==y.charAt(0)){const[ce,Te]=er(y);this._timelineEngine.command(ce,l,Te,U)}else this._transitionEngine.trigger(d,l,y,U)}listen(d,l,y,U,ce){if("@"==y.charAt(0)){const[Te,He]=er(y);return this._timelineEngine.listen(Te,l,He,ce)}return this._transitionEngine.listen(d,l,y,U,ce)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}let Cn=(()=>{class b{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(l,y,U){this._element=l,this._startStyles=y,this._endStyles=U;let ce=b.initialStylesByElement.get(l);ce||b.initialStylesByElement.set(l,ce=new Map),this._initialStyles=ce}start(){this._state<1&&(this._startStyles&&pe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pe(this._element,this._initialStyles),this._endStyles&&(pe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(b.initialStylesByElement.delete(this._element),this._startStyles&&(Be(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Be(this._element,this._endStyles),this._endStyles=null),pe(this._element,this._initialStyles),this._state=3)}}return b})();function _r(b){let d=null;return b.forEach((l,y)=>{(function vr(b){return"display"===b||"position"===b})(y)&&(d=d||new Map,d.set(y,l))}),d}class so{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(d,l,y,U){this.element=d,this.keyframes=l,this.options=y,this._specialStyles=U,this._duration=y.duration,this._delay=y.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const d=this.keyframes,l=this._triggerWebAnimation(this.element,d,this.options);if(!l)return this._onFinish(),null;this.domPlayer=l,this._finalKeyframe=d.length?d[d.length-1]:new Map;const y=()=>this._onFinish();return l.addEventListener("finish",y),this.onDestroy(()=>{l.removeEventListener("finish",y)}),l}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(d){const l=[];return d.forEach(y=>{l.push(Object.fromEntries(y))}),l}_triggerWebAnimation(d,l,y){const U=this._convertKeyframesToObject(l);try{return d.animate(U,y)}catch{return null}}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){const d=this._buildPlayer();d&&(this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),d.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(d=>d()),this._onDestroyFns=[])}setPosition(d){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=d*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 d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((y,U)=>{"offset"!==U&&d.set(U,this._finished?y:$r(this.element,U))}),this.currentSnapshot=d}triggerCallback(d){const l="start"===d?this._onStartFns:this._onDoneFns;l.forEach(y=>y()),l.length=0}}class fo{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}containsElement(d,l){return Ze(d,l)}getParentElement(d){return Dr(d)}query(d,l,y){return qe(d,l,y)}computeStyle(d,l,y){return $r(d,l)}animate(d,l,y,U,ce,Te=[]){const gt={duration:y,delay:U,fill:0==U?"both":"forwards"};ce&&(gt.easing=ce);const It=new Map,dn=Te.filter(hr=>hr instanceof so);(function cr(b,d){return 0===b||0===d})(y,U)&&dn.forEach(hr=>{hr.currentSnapshot.forEach(($n,rr)=>It.set(rr,$n))});let _n=function tr(b){return b.length?b[0]instanceof Map?b:b.map(d=>new Map(Object.entries(d))):[]}(l).map(hr=>new Map(hr));_n=function Sr(b,d,l){if(l.size&&d.length){let y=d[0],U=[];if(l.forEach((ce,Te)=>{y.has(Te)||U.push(Te),y.set(Te,ce)}),U.length)for(let ce=1;ce<d.length;ce++){let Te=d[ce];
1U.forEach(He=>Te.set(He,$r(b,He)))}}return d}(d,_n,It);const Ar=function an(b,d){let l=null,y=null;return Array.isArray(d)&&d.length?(l=_r(d[0]),d.length>1&&(y=_r(d[d.length-1]))):d instanceof Map&&(l=_r(d)),l||y?new Cn(b,l,y):null}(d,_n);return new so(d,_n,gt,Ar)}}const ci="@.disabled";class ui{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(d,l,y,U){this.namespaceId=d,this.delegate=l,this.engine=y,this._onDestroy=U}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,l){return this.delegate.createElement(d,l)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,l){this.delegate.appendChild(d,l),this.engine.onInsert(this.namespaceId,l,d,!1)}insertBefore(d,l,y,U=!0){this.delegate.insertBefore(d,l,y),this.engine.onInsert(this.namespaceId,l,d,U)}removeChild(d,l,y,U){U?this.delegate.removeChild(d,l,y,U):this.parentNode(l)&&this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(d,l){return this.delegate.selectRootElement(d,l)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,l,y,U){this.delegate.setAttribute(d,l,y,U)}removeAttribute(d,l,y){this.delegate.removeAttribute(d,l,y)}addClass(d,l){this.delegate.addClass(d,l)}removeClass(d,l){this.delegate.removeClass(d,l)}setStyle(d,l,y,U){this.delegate.setStyle(d,l,y,U)}removeStyle(d,l,y){this.delegate.removeStyle(d,l,y)}setProperty(d,l,y){"@"==l.charAt(0)&&l==ci?this.disableAnimations(d,!!y):this.delegate.setProperty(d,l,y)}setValue(d,l){this.delegate.setValue(d,l)}listen(d,l,y,U){return this.delegate.listen(d,l,y,U)}disableAnimations(d,l){this.engine.disableAnimations(d,l)}}class Bo extends ui{factory;constructor(d,l,y,U,ce){super(l,y,U,ce),this.factory=d,this.namespaceId=l}setProperty(d,l,y){"@"==l.charAt(0)?"."==l.charAt(1)&&l==ci?this.disableAnimations(d,y=void 0===y||!!y):this.engine.process(this.namespaceId,d,l.slice(1),y):this.delegate.setProperty(d,l,y)}listen(d,l,y,U){if("@"==l.charAt(0)){const ce=function Ro(b){switch(b){case"body":return document.body;case"document":return document;case"window":return window;default:return b}}(d);let Te=l.slice(1),He="";return"@"!=Te.charAt(0)&&([Te,He]=function li(b){const d=b.indexOf(".");return[b.substring(0,d),b.slice(d+1)]}(Te)),this.engine.listen(this.namespaceId,ce,Te,He,gt=>{this.factory.scheduleListenerCallback(gt._data||-1,y,gt)})}return this.delegate.listen(d,l,y,U)}}class Ii{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(d,l,y){this.delegate=d,this.engine=l,this._zone=y,l.onRemovalComplete=(U,ce)=>{ce?.removeChild(null,U)}}createRenderer(d,l){const U=this.delegate.createRenderer(d,l);if(!d||!l?.data?.animation){const It=this._rendererCache;let dn=It.get(U);return dn||(dn=new ui("",U,this.engine,()=>It.delete(U)),It.set(U,dn)),dn}const ce=l.id,Te=l.id+"-"+this._currentId;this._currentId++,this.engine.register(Te,d);const He=It=>{Array.isArray(It)?It.forEach(He):this.engine.registerTrigger(ce,Te,d,It.name,It)};return l.data.animation.forEach(He),new Bo(this,Te,U,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,l,y){if(d>=0&&d<this._microtaskId)return void this._zone.run(()=>l(y));const U=this._animationCallbacksBuffer;0==U.length&&queueMicrotask(()=>{this._zone.run(()=>{U.forEach(ce=>{const[Te,He]=ce;Te(He)}),this._animationCallbacksBuffer=[]})}),U.push([l,y])}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(d){this.engine.flush(),this.delegate.componentReplaced?.(d)}}const bi=[{provide:Wr,useFactory:function Ai(){return new ct}},{provide:Ne,useClass:(()=>{class b extends Ne{constructor(l,y,U){super(l,y,U)}ngOnDestroy(){this.flush()}static \u0275fac=function(y){return new(y||b)(_.KVO(_.qQL),_.KVO(Mr),_.KVO(Wr))};static \u0275prov=_.jDH({token:b,factory:b.\u0275fac})}return b})()},{provide:S._9s,useFactory:function di(){return new Ii((0,_.WQX)(R.mE),(0,_.WQX)(Ne),(0,_.WQX)(_.SKi))}}],Hi=[{provide:Mr,useClass:kr},{provide:S.bc$,useValue:"NoopAnimations"},...bi],jo=[{provide:Mr,useFactory:()=>new fo},{provide:S.bc$,useFactory:()=>"BrowserAnimations"},...bi];let fs=(()=>{class b{static withConfig(l){return{ngModule:b,providers:l.disableAnimations?Hi:jo}}static \u0275fac=function(y){return new(y||b)};static \u0275mod=S.$C({type:b});static \u0275inj=_.G2t({providers:jo,imports:[X]})}return b})();var Vo=a(99829),Cs=a(93049),Os=a(24725),yi=a(7673);let hs=(()=>{class b{constructor(l){this.activatedRoute=l}preload(l,y){return l.data&&l.data.preload&&this.activatedRoute&&this.activatedRoute.root&&this.activatedRoute.root.firstChild&&this.activatedRoute.root.firstChild.snapshot&&this.activatedRoute.root.firstChild.snapshot.data&&this.activatedRoute.root.firstChild.snapshot.data.preload?y():(0,yi.of)(null)}static{this.\u0275fac=function(y){return new(y||b)(_.KVO(Vo.nX))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac})}}return b})(),Eo=(()=>{class b{constructor(l){this.router=l}canActivate(l,y){try{const U=localStorage.getItem("blockstack-session");if(U){const ce=JSON.parse(U);if(ce.userData&&ce.userData.appPrivateKey)return!0}}catch(U){console.error(U)}if(document&&document.location&&document.location.hostname){let U=document.location.hostname.split(".");if(3==U.length&&U[0])return this.router.navigate(["/enterprise/login"]),!1}return this.router.navigate(["/login"]),!1}static{this.\u0275fac=function(y){return new(y||b)(_.KVO(Vo.Ix))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac})}}return b})(),ws=(()=>{class b{constructor(l){this.document=l}getDomain(){return this.document.location.hostname}getPathname(){return this.document.location.pathname}static{this.\u0275fac=function(y){return new(y||b)(_.KVO(_.qQL))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var fi=a(95095);let Pi=(()=>{class b{constructor(l){this.router=l}canActivate(l,y){try{const U=localStorage.getItem("blockstack-session");if(U){const ce=JSON.parse(U);if(ce.userData&&ce.userData.appPrivateKey){if(l.queryParams.redirectTo&&l.queryParams.redirectTo.includes("inviteId"))if(l.queryParams.redirectTo.includes("inviteKey"))window.location.href=fi.Y.DOMAIN_URL+"/dashboard/personal/items?redirectTo="+encodeURIComponent(l.queryParams.redirectTo);else{let Te;l.queryParams.inviteKey&&(Te=l.queryParams.inviteKey),window.location.href=fi.Y.DOMAIN_URL+"/dashboard/personal/items?redirectTo="+encodeURIComponent(l.queryParams.redirectTo+(Te?"&inviteKey="+Te:""))}else l.queryParams.inviteId?window.location.href=fi.Y.DOMAIN_URL+"/onboard?inviteId="+l.queryParams.inviteId+(l.queryParams.inviteKey?"&inviteKey="+l.queryParams.inviteKey:""):window.location=fi.Y.DOMAIN_URL+"/dashboard";return!1}}}catch(U){console.error(U)}return!0}static{this.\u0275fac=function(y){return new(y||b)(_.KVO(Vo.Ix))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac})}}return b})();var rs=a(37044).hp;const Xo=[{path:"bs-grid-demo",loadChildren:()=>Promise.all([a.e(1193),a.e(2967)]).then(a.bind(a,2967)).then(b=>b.BsGridDemoModule)},{path:"dashboard",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(3188),a.e(9400),a.e(717),a.e(3362),a.e(3168),a.e(1471),a.e(1636),a.e(6485),a.e(970),a.e(6264),a.e(5695),a.e(8492),a.e(4255),a.e(8025),a.e(5879),a.e(9396),a.e(2076),a.e(7860)]).then(a.bind(a,60701)).then(b=>b.DashboardModule),canActivate:[Eo],data:{preload:!0}},{path:"create",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(3188),a.e(9400),a.e(2214),a.e(717),a.e(3362),a.e(3168),a.e(1471),a.e(1636),a.e(8745),a.e(6485),a.e(970),a.e(6264),a.e(6978),a.e(2212),a.e(5695),a.e(8492),a.e(262),a.e(4255),a.e(5671),a.e(9543),a.e(3695),a.e(9107),a.e(5879),a.e(5139),a.e(9340),a.e(2076),a.e(7243)]).then(a.bind(a,37243)).then(b=>
1b.CreateModule),canActivate:[Eo],data:{preload:!0}},{path:"preview",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(8451)]).then(a.bind(a,90832)).then(b=>b.PreviewModule),canActivate:[Eo],data:{preload:!0}},{path:"share",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(9400),a.e(2214),a.e(717),a.e(3362),a.e(3168),a.e(8745),a.e(6264),a.e(6978),a.e(5398),a.e(5671),a.e(6694),a.e(4865),a.e(2076),a.e(683)]).then(a.bind(a,60683)).then(b=>b.ShareModule),canActivate:[Eo],data:{preload:!0}},{path:"integrate",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(3188),a.e(9400),a.e(8501),a.e(2214),a.e(717),a.e(3362),a.e(3168),a.e(8745),a.e(6978),a.e(5695),a.e(8025),a.e(9543),a.e(2076),a.e(5247)]).then(a.bind(a,55247)).then(b=>b.IntegrateModule),canActivate:[Eo],data:{preload:!0}},{path:"results",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(9400),a.e(8501),a.e(2214),a.e(717),a.e(3362),a.e(3168),a.e(1636),a.e(8745),a.e(1193),a.e(970),a.e(5569),a.e(6978),a.e(2931),a.e(7247),a.e(2212),a.e(262),a.e(9861),a.e(8025),a.e(9543),a.e(6694),a.e(3695),a.e(3890),a.e(4099),a.e(901),a.e(5139),a.e(9396),a.e(2076),a.e(5258)]).then(a.bind(a,5258)).then(b=>b.ResultsModule),canActivate:[Eo],data:{preload:!0}},{path:"onboard",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(3188),a.e(1471),a.e(6485),a.e(4885)]).then(a.bind(a,24049)).then(b=>b.OnboardModule),canActivate:[Eo],data:{preload:!0}},{path:"trial-expired",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(3188),a.e(9400),a.e(717),a.e(3168),a.e(1471),a.e(1636),a.e(6485),a.e(970),a.e(5695),a.e(8492),a.e(4255),a.e(3398)]).then(a.bind(a,23398)).then(b=>b.TrialExpiredModule),canActivate:[Eo],data:{preload:!0}},{path:"choose-plan",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(541),a.e(9420)]).then(a.bind(a,99420)).then(b=>b.ForceUpgradeModule),canActivate:[Eo],data:{preload:!0}},{path:"mcp/consent",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(9772),a.e(4832),a.e(1765),a.e(3316)]).then(a.bind(a,23316)).then(b=>b.McpConsentModule)},{path:"login",redirectTo:"signin"},{path:"signin",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(4779),a.e(261),a.e(3188),a.e(9400),a.e(1471),a.e(6485),a.e(8492),a.e(1571),a.e(2076),a.e(4634)]).then(a.bind(a,574)).then(b=>b.LoginModule),canActivate:[Pi]},{path:"signup",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(4779),a.e(261),a.e(3188),a.e(9400),a.e(1471),a.e(6485),a.e(8492),a.e(1571),a.e(2076),a.e(4634)]).then(a.bind(a,574)).then(b=>b.LoginModule),canActivate:[Pi]},{path:"enterprise",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(4779),a.e(261),a.e(3188),a.e(9400),a.e(1471),a.e(6485),a.e(8492),a.e(1571),a.e(2076),a.e(4634)]).then(a.bind(a,574)).then(b=>b.LoginModule),canActivate:[Pi]},{path:"verify-email",loadChildren:()=>Promise.all([a.e(9797),a.e(9772),a.e(551)]).then(a.bind(a,80551)).then(b=>b.VerifyEmailModule)},{path:"unsubscribe",loadChildren:()=>Promise.all([a.e(9797),a.e(4779),a.e(1863)]).then(a.bind(a,41863)).then(b=>b.UnSubscribeModule)},{path:"survey",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(9400),a.e(8501),a.e(2214),a.e(6264),a.e(5569),a.e(2212),a.e(5398),a.e(3695),a.e(2076),a.e(7272)]).then(a.bind(a,17272)).then(b=>b.SurveyModule)},{path:"public",loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(4779),a.e(261),a.e(5152),a.e(8501),a.e(2214),a.e(717),a.e(3362),a.e(1636),a.e(1193),a.e(970),a.e(5569),a.e(2931),a.e(7247),a.e(9861),a.e(6694),a.e(3890),a.e(4099),a.e(7239),a.e(8691)]).then(a.bind(a,68691)).then(b=>b.PublicModule)},{path:"templates",loadChildren:()=>Promise.all([a.e(1825),a.e(9797),a.e(4507),a.e(7655),a.e(7470),a.e(943),a.e(4763),a.e(9816),a.e(2076),a.e(8416)]).then(a.bind(a,78416)).then(b=>
1b.TemplatesModule)},{path:"crypto",loadChildren:()=>Promise.all([a.e(9797),a.e(4507),a.e(781),a.e(7470),a.e(4763),a.e(6368)]).then(a.bind(a,6368)).then(b=>b.CryptoModule)},{path:"privacy-tools",loadChildren:()=>Promise.all([a.e(9797),a.e(4507),a.e(7470),a.e(943),a.e(1930)]).then(a.bind(a,1930)).then(b=>b.PrivacyToolsModule)},{path:"hipaa-tools",loadChildren:()=>Promise.all([a.e(9797),a.e(4507),a.e(7470),a.e(943),a.e(2076),a.e(8186)]).then(a.bind(a,58186)).then(b=>b.HipaaToolsModule)},{path:"ai-tools",loadChildren:()=>Promise.all([a.e(9797),a.e(4507),a.e(7470),a.e(943),a.e(2076),a.e(6350)]).then(a.bind(a,26350)).then(b=>b.AiToolsModule)},{path:"privacy-tools-black-friday-deals",loadChildren:()=>Promise.all([a.e(9797),a.e(4507),a.e(781),a.e(7470),a.e(6168)]).then(a.bind(a,56168)).then(b=>b.PrivacyToolsBlackFridayDealsModule)}],Jo=[{path:"",loadChildren:()=>Promise.all([a.e(1825),a.e(9797),a.e(4507),a.e(7470),a.e(8501),a.e(943),a.e(4763),a.e(9088),a.e(9816),a.e(2076),a.e(868)]).then(a.bind(a,80868)).then(b=>b.HomeModule)},{path:"",redirectTo:"",pathMatch:"full"},{path:"**",loadChildren:()=>Promise.all([a.e(9797),a.e(4507),a.e(781),a.e(7470),a.e(9088),a.e(2076),a.e(9095)]).then(a.bind(a,81633)).then(b=>b.NotfoundModule)}];let $i=(()=>{class b{static{this.\u0275fac=function(y){return new(y||b)}}static{this.\u0275mod=S.$C({type:b})}static{this.\u0275inj=_.G2t({providers:[{provide:Vo.bw,useFactory:l=>{const y=l.getDomain();let U=!1;try{let Te=l.getPathname();if(Te&&Te.length>0&&Te.split("/").length-1==1){let gt,He=Te.split("-");if(He&&He.length>0&&He[0].startsWith("/")&&(He[0]=He[0].slice(1)),gt=He.length>1?Te.endsWith("-o")||Te.endsWith("-c")||Te.endsWith("-l")?He?.[He?.length-2]:He?.[He?.length-1]:He?.[0],gt){let It=gt.replace(/\./g,"+").replace(/_/g,"/").padEnd(24,"="),_n=rs.from(It,"base64").toString("hex");_n=`${_n.substring(0,8)}-${_n.substring(8,12)}-${_n.substring(12,16)}-${_n.substring(16,20)}-${_n.substring(20)}`,_n&&/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i.test(_n)&&(U=!0)}}}catch(Te){console.error(Te),U=!1}return[{matcher:Te=>1!==Te.length||"localhost"===y||"blocksurvey.io"===y||"np.blocksurvey.io"===y||"qa.blocksurvey.io"===y||Os.F[y]||y.endsWith(".blocksurvey.io")||"signin"===Te[0].path||"signup"===Te[0].path||"login"===Te[0].path||"verify-email"===Te[0].path?U?{consumed:[]}:null:{consumed:[]},loadChildren:()=>Promise.all([a.e(9797),a.e(6590),a.e(4507),a.e(9772),a.e(4832),a.e(1765),a.e(8560),a.e(9400),a.e(8501),a.e(2214),a.e(6264),a.e(5569),a.e(2212),a.e(5398),a.e(3695),a.e(2076),a.e(7272)]).then(a.bind(a,17272)).then(Te=>Te.SurveyModule)},...Xo,...Jo]},deps:[ws],multi:!0}],imports:[Cs.iI.forRoot([],{preloadingStrategy:hs,scrollPositionRestoration:"enabled",anchorScrolling:"enabled"}),Cs.iI]})}}return b})();var hi=a(5964),Ei=a(10467);const Ni="meta",os="outbox";let ps=!1;function is(){if(ps||typeof window>"u"||typeof indexedDB>"u")return;ps=!0;const b=()=>{(function zi(){gs.apply(this,arguments)})(),setTimeout(()=>{window.__bsResponseSyncActive||function Rs(){Ji.apply(this,arguments)}()},5e3)};window.addEventListener("online",b),b()}function Ji(){return(Ji=(0,Ei.A)(function*(){if(typeof navigator<"u"&&!1===navigator.onLine)return;const b=yield xs();if(b)try{const d=(yield function Vs(b){return new Promise(d=>{try{if(!b.objectStoreNames.contains(os))return void d([]);const l=b.transaction(os,"readonly").objectStore(os).getAll();l.onsuccess=()=>d(l.result||[]),l.onerror=()=>d([])}catch{d([])}})}(b)).filter(l=>l&&"undeliverable"!==l.status).sort((l,y)=>(l.queuedAt||0)-(y.queuedAt||0));for(const l of d){if(window.__bsResponseSyncActive)return;try{for(const y of l.files||[])yield Ls(l.uploadUrl,y);yield Ps(l),yield ks(b,l.clientResponseId)}catch{return}}}finally{try{b.close()}catch{}}})).apply(this,arguments)}function Ps(b){return Ns.apply(this,arguments)}function Ns(){return(Ns=(0,Ei.A)(function*(b){const d=b.submitUrls&&b.submitUrls.length?b.submitUrls:[b.submitUrl],l=JSON.stringify({...b.payload,isOfflineBackgroundSync:!0});let y=new Error("No submit URL available");for(const U of d)if(U)try{const ce=yield fetch(U,{method:"POST",headers:{"Content-Type":"application/json"},body:l});if(ce.ok)return;y=new Error("HTTP "+ce.status)}catch(ce){y=ce}throw y})).apply(this,arguments)}function Ls(b,d){return pi.apply(this,arguments)}
1function pi(){return(pi=(0,Ei.A)(function*(b,d){if(!b)throw new Error("Missing upload URL for queued file");const l=new FormData;l.append("file",new Blob([d.bytes],{type:d.mimeType})),l.append("fileLocation",d.fileLocation),l.append("isFilePublic",String(!!d.isFilePublic));const y=yield fetch(b,{method:"POST",body:l});if(!y.ok)throw new Error("Upload HTTP "+y.status)})).apply(this,arguments)}function gs(){return(gs=(0,Ei.A)(function*(){if(typeof navigator<"u"&&!1===navigator.onLine)return;const b=yield xs();if(b)try{const l=(yield function ss(b){return new Promise(d=>{try{if(!b.objectStoreNames.contains(Ni))return void d([]);const l=b.transaction(Ni,"readonly").objectStore(Ni).getAll();l.onsuccess=()=>d(l.result||[]),l.onerror=()=>d([])}catch{d([])}})}(b)).filter(y=>y&&"string"==typeof y.key&&0===y.key.indexOf("partial:")&&y.value&&y.value.payload&&y.value.submitUrl);for(const y of l)try{const U=yield fetch(y.value.submitUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(y.value.payload)});(U.ok||U.status>=400&&U.status<500&&408!==U.status&&429!==U.status)&&(yield Ks(b,y.key))}catch{}}finally{try{b.close()}catch{}}})).apply(this,arguments)}function xs(){return new Promise(b=>{try{const d=indexedDB.open("blocksurvey-offline");d.onupgradeneeded=()=>{try{d.transaction?.abort()}catch{}b(null)},d.onsuccess=()=>{const l=d.result;if(!l.objectStoreNames.contains(Ni)&&!l.objectStoreNames.contains(os))return l.close(),void b(null);b(l)},d.onerror=()=>b(null),d.onblocked=()=>b(null)}catch{b(null)}})}function ks(b,d){return new Promise(l=>{try{const y=b.transaction(os,"readwrite");y.objectStore(os).delete(d),y.oncomplete=()=>l(),y.onerror=()=>l(),y.onabort=()=>l()}catch{l()}})}function Ks(b,d){return new Promise(l=>{try{const y=b.transaction(Ni,"readwrite");y.objectStore(Ni).delete(d),y.oncomplete=()=>l(),y.onerror=()=>l(),y.onabort=()=>l()}catch{l()}})}var zs=a(28999),Ws=a(34214),Fs=a(83948),aa=a(12016),Hs=a(71985),Gs=a(21413),Li=a(35060),as=a(25558),ms=a(96697),p=a(96354);const v="Service workers are disabled or not supported by this browser";class T{serviceWorker;worker;registration;events;constructor(d,l){if(this.serviceWorker=d,d){let y=null;const U=new Gs.B;this.worker=new Hs.c(It=>(null!==y&&It.next(y),U.subscribe(dn=>It.next(dn))));const ce=()=>{const{controller:It}=d;null!==It&&(y=It,U.next(y))};d.addEventListener("controllerchange",ce),ce(),this.registration=this.worker.pipe((0,as.n)(()=>d.getRegistration().then(It=>{if(!It)throw new _.buA(5601,!1);return It})));const Te=new Gs.B;this.events=Te.asObservable();const He=It=>{const{data:dn}=It;dn?.type&&Te.next(dn)};d.addEventListener("message",He),l?.get(S.o8S,null,{optional:!0})?.onDestroy(()=>{d.removeEventListener("controllerchange",ce),d.removeEventListener("message",He)})}else this.worker=this.events=this.registration=new Hs.c(y=>y.error(new _.buA(5601,!1)))}postMessage(d,l){return new Promise(y=>{this.worker.pipe((0,ms.s)(1)).subscribe(U=>{U.postMessage({action:d,...l}),y()})})}postMessageWithOperation(d,l,y){const U=this.waitForOperationCompleted(y),ce=this.postMessage(d,l);return Promise.all([ce,U]).then(([,Te])=>Te)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(d){let l;return l="string"==typeof d?y=>y.type===d:y=>d.includes(y.type),this.events.pipe((0,hi.p)(l))}nextEventOfType(d){return this.eventsOfType(d).pipe((0,ms.s)(1))}waitForOperationCompleted(d){return new Promise((l,y)=>{this.eventsOfType("OPERATION_COMPLETED").pipe((0,hi.p)(U=>U.nonce===d),(0,ms.s)(1),(0,p.T)(U=>{if(void 0!==U.result)return U.result;throw new Error(U.error)})).subscribe({next:l,error:y})})}get isEnabled(){return!!this.serviceWorker}}let W=(()=>{class b{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new Gs.B;constructor(l){if(this.sw=l,!l.isEnabled)return this.messages=Li.t,this.notificationClicks=Li.t,this.notificationCloses=Li.t,this.pushSubscriptionChanges=Li.t,void(this.subscription=Li.t);this.messages=this.sw.eventsOfType("PUSH").pipe((0,p.T)(U=>U.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,p.T)(U=>U.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe((0,p.T)(U=>U.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe((0,p.T)(U=>U.data)),this.pushManager=this.sw.registration.pipe((0,p.T)(U=>U.pushManager));const y=this.pushManager.pipe((0,as.n)(U=>U.getSubscription()));this.subscription=new Hs.c(U=>{const ce=y.subscribe(U),Te=this.subscriptionChanges.subscribe(U);return()=>{ce.unsubscribe(),Te.unsubscribe()}})}requestSubscription(l){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(v));const y={userVisibleOnly:!0};let U=this.decodeBase64(l.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),ce=new Uint8Array(new ArrayBuffer(U.length));for(let Te=0;Te<U.length;Te++)ce[Te]=U.charCodeAt(Te);return y.applicationServerKey=ce,new Promise((Te,He)=>{this.pushManager.pipe((0,as.n)(gt=>gt.subscribe(y)),(0,ms.s)(1)).subscribe({next:gt=>{this.subscriptionChanges.next(gt),Te(gt)},error:He})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(v));const l=y=>{if(null===y)throw new _.buA(5602,!1);return y.unsubscribe().then(U=>{if(!U)throw new _.buA(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((y,U)=>{this.subscription.pipe((0,ms.s)(1),(0,as.n)(l)).subscribe({next:y,error:U})})}decodeBase64(l){return atob(l)}static \u0275fac=function(y){return new(y||b)(_.KVO(T))};static \u0275prov=_.jDH({token:b,factory:b.\u0275fac})}return b})(),ge=(()=>{class b{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(l){if(this.sw=l,!l.isEnabled)return this.versionUpdates=Li.t,void(this.unrecoverable=Li.t);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(v));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;const l=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:l},l).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new _.buA(5601,!1));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:l},l)}static \u0275fac=function(y){return new(y||b)(_.KVO(T))};static \u0275prov=_.jDH({token:b,factory:b.\u0275fac})}return b})();const je=new _.nKC("");function Ie(){const b=(0,_.WQX)(Pn);
1if(!("serviceWorker"in navigator)||!1===b.enabled)return;const d=(0,_.WQX)(je),l=(0,_.WQX)(_.SKi),y=(0,_.WQX)(S.o8S);l.runOutsideAngular(()=>{const U=navigator.serviceWorker,ce=()=>U.controller?.postMessage({action:"INITIALIZE"});U.addEventListener("controllerchange",ce),y.onDestroy(()=>{U.removeEventListener("controllerchange",ce)})}),l.runOutsideAngular(()=>{let U;const{registrationStrategy:ce}=b;if("function"==typeof ce)U=new Promise(Te=>ce().subscribe(()=>Te()));else{const[Te,...He]=(ce||"registerWhenStable:30000").split(":");switch(Te){case"registerImmediately":U=Promise.resolve();break;case"registerWithDelay":U=Lt(+He[0]||0);break;case"registerWhenStable":U=Promise.race([y.whenStable(),Lt(+He[0])]);break;default:throw new _.buA(5600,!1)}}U.then(()=>{y.destroyed||navigator.serviceWorker.register(d,{scope:b.scope,updateViaCache:b.updateViaCache,type:b.type}).catch(Te=>console.error((0,_.OsK)(5604,!1)))})})}function Lt(b){return new Promise(d=>setTimeout(d,b))}function Vt(){const b=(0,_.WQX)(Pn),d=(0,_.WQX)(_.zZn);return new T(!1!==b.enabled?navigator.serviceWorker:void 0,d)}class Pn{enabled;updateViaCache;type;scope;registrationStrategy}function sr(b,d={}){return(0,_.EmA)([W,ge,{provide:je,useValue:b},{provide:Pn,useValue:d},{provide:T,useFactory:Vt},(0,S.phd)(Ie)])}let F=(()=>{class b{constructor(){this.platformId=(0,_.WQX)(S.Agw),this.swUpdate=(0,_.WQX)(ge),this.started=!1}static{this.RECOVERY_KEY="bs-sw-recovery-attempted"}static{this.CHECK_INTERVAL_MS=36e5}start(){this.started||(0,J.UE)(this.platformId)&&this.swUpdate.isEnabled&&(this.started=!0,this.swUpdate.unrecoverable.subscribe(()=>this.recover()),this.checkForUpdate(),setInterval(()=>this.checkForUpdate(),b.CHECK_INTERVAL_MS))}checkForUpdate(){this.swUpdate.checkForUpdate().catch(()=>{})}recover(){return(0,Ei.A)(function*(){try{if(sessionStorage.getItem(b.RECOVERY_KEY))return;sessionStorage.setItem(b.RECOVERY_KEY,"true")}catch{}try{if("serviceWorker"in navigator){const l=yield navigator.serviceWorker.getRegistrations();yield Promise.all(l.map(y=>y.unregister()))}if(typeof caches<"u"){const l=yield caches.keys();yield Promise.all(l.map(y=>caches.delete(y)))}}catch(l){console.error("Service worker recovery failed:",l)}window.location.reload()})()}static{this.\u0275fac=function(y){return new(y||b)}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Q=a(36458);let Ae=(()=>{class b{constructor(l,y,U,ce,Te,He,gt){this.routerTrackService=l,this.loadScriptService=y,this.canonicalService=U,this.router=ce,this.paymentModeService=Te,this.serviceWorkerUpdateService=He,this.modalService=gt,this.routerModalSubscription=null,this.canonicalSubscription=null,this.scrollSubscription=null,this.navScrollSubscription=null,this.scrollPositions=new Map,this.lastNavId=0,this.restoredNavId=0,this.navTrigger="imperative",this.routerScrolledId=0,this.captureUserEntryInformation(),this.paymentModeService.captureFromUrl(window?.location?.href)}ngOnInit(){is(),this.serviceWorkerUpdateService.start(),this.canonicalService.setCanonicalURL(),this.canonicalSubscription=this.router.events.pipe((0,hi.p)(l=>l instanceof Vo.wF)).subscribe(()=>{this.canonicalService.setCanonicalURL()}),this.routerModalSubscription=this.router.events.pipe((0,hi.p)(l=>l instanceof Vo.Z)).subscribe(()=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()}),this.scrollSubscription=this.router.events.pipe((0,hi.p)(l=>l instanceof Vo.OY)).subscribe(l=>{this.routerScrolledId=l.routerEvent?.id??0,setTimeout(()=>this.applyScroll(l))}),this.navScrollSubscription=this.router.events.pipe((0,hi.p)(l=>l instanceof Vo.Z||l instanceof Vo.wF)).subscribe(l=>{if(l instanceof Vo.Z)return this.scrollPositions.size>40&&this.scrollPositions.delete(this.scrollPositions.keys().next().value),this.scrollPositions.set(this.lastNavId,[window.scrollX,window.scrollY]),this.navTrigger=l.navigationTrigger,void(this.restoredNavId=l.restoredState?l.restoredState.navigationId:0);const y=l;this.lastNavId=y.id,setTimeout(()=>{requestAnimationFrame(()=>{this.routerScrolledId!==y.id&&this.applyScroll(this.buildScrollFor(y))})})})}buildScrollFor(l){const y="popstate"===this.navTrigger?this.scrollPositions.get(this.restoredNavId):null,U=this.router.parseUrl(l.urlAfterRedirects).fragment;return new Vo.OY(l,y||null,U||null)}applyScroll(l){const y={behavior:"instant"};
1if(l.position)window.scrollTo({...y,left:l.position[0],top:l.position[1]});else{if(l.anchor){const U=document.getElementById(l.anchor)||document.getElementsByName(l.anchor)[0];if(U)return void U.scrollIntoView(y)}window.scrollTo({...y,left:0,top:0})}}ngOnDestroy(){this.routerModalSubscription?.unsubscribe(),this.canonicalSubscription?.unsubscribe(),this.scrollSubscription?.unsubscribe(),this.navScrollSubscription?.unsubscribe()}captureUserEntryInformation(){try{let l=localStorage.getItem("blocksurvey-entry-information");if(l){let y=JSON.parse(l);this.updateRefValue(y)}else localStorage.setItem("blocksurvey-entry-information",JSON.stringify(this.getEntryInformation()))}catch(l){console.error(l)}}getEntryInformation(){let l,y={};return window&&window.location&&window.location.href&&(y.landedPage=window.location.href,l=new URL(window.location.href),l.searchParams.get("ref")&&(y.ref=l.searchParams.get("ref"))),y}updateRefValue(l){if(window&&window.location&&window.location.href){let y;y=new URL(window.location.href),y.searchParams.get("ref")&&(l.ref=y.searchParams.get("ref"),localStorage.setItem("blocksurvey-entry-information",JSON.stringify(l)))}}static{this.\u0275fac=function(y){return new(y||b)(S.rXU(zs.I),S.rXU(Ws.z),S.rXU(Fs.s),S.rXU(Vo.Ix),S.rXU(aa.P),S.rXU(F),S.rXU(Q.Bq))}}static{this.\u0275cmp=S.VBU({type:b,selectors:[["app-root"]],standalone:!1,decls:1,vars:0,template:function(y,U){1&y&&S.nrm(0,"router-outlet")},dependencies:[Vo.n3],styles:[".help_btn[_ngcontent-%COMP%]{position:fixed;bottom:20px;right:20px;font-size:14px;font-weight:700;padding:6px 12px;border-radius:17px;background-color:#7f95d1;width:fit-content}.help_btn[_ngcontent-%COMP%]:hover{filter:brightness(1.1)}.help_btn_inner[_ngcontent-%COMP%]{color:#fafafa;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}@media print{.dont_print[_ngcontent-%COMP%]{display:none!important}}"]})}}return b})();var lt=a(50783),Ot=a(27843),Qt=a(43021);let pn=(()=>{class b{constructor(){}ngOnInit(){}reloadPage(){window.location.href=window.location.href}static{this.\u0275fac=function(y){return new(y||b)}}static{this.\u0275cmp=S.VBU({type:b,selectors:[["app-product-update-popup"]],standalone:!1,decls:9,vars:0,consts:[[1,"modal-header"],[1,"modal-title","fs-5"],[1,"modal-body"],[1,"mb-0","text-muted"],[1,"modal-footer","justify-content-start"],["type","button",1,"btn","btn-dark",3,"click"]],template:function(y,U){1&y&&(S.j41(0,"div",0)(1,"div",1),S.EFF(2,"Update Available"),S.k0s()(),S.j41(3,"div",2)(4,"p",3),S.EFF(5," A new version of this application is available! Click 'Update Now' to refresh and access the latest features and improvements. "),S.k0s()(),S.j41(6,"div",4)(7,"button",5),S.bIt("click",function(){return U.reloadPage()}),S.EFF(8," Update Now "),S.k0s()())},encapsulation:2})}}return b})(),Fn=(()=>{class b{constructor(l,y){this.environmentInjector=l,this.platformId=y,this.sentryErrorHandler=(0,Ot.JF)({}),this.RELOAD_ATTEMPT_KEY="chunk_error_reload_attempt",this.MAX_RELOAD_ATTEMPTS=2}handleError(l){const y=l?.rejection??l;(0,Qt.A)(y)?console.warn(`[http] ${y.status} (expected) ${y.url??"unknown url"}`):this.isChunkLoadError(l)&&(0,J.UE)(this.platformId)?this.handleChunkLoadError():(0,J.UE)(this.platformId)?this.sentryErrorHandler.handleError(l):console.error("[ssr] unhandled error:",y?.stack??y)}isChunkLoadError(l){return this.matchesChunkError(l)||this.matchesChunkError(l?.rejection)}matchesChunkError(l){if(!l)return!1;const y=l?.message??("string"==typeof l?l:"");return"ChunkLoadError"===l?.name||y.includes("ChunkLoadError")||y.includes("Loading chunk")||y.includes("Loading CSS chunk")||y.includes("Failed to fetch dynamically imported module")||y.includes("error loading dynamically imported module")||y.includes("Importing a module script failed")}handleChunkLoadError(){this.getReloadAttempts()<this.MAX_RELOAD_ATTEMPTS?(this.incrementReloadAttempts(),this.clearCacheAndReload()):(this.resetReloadAttempts(),this.showUpdateNotification())}getReloadAttempts(){const l=sessionStorage.getItem(this.RELOAD_ATTEMPT_KEY),y=sessionStorage.getItem(`${this.RELOAD_ATTEMPT_KEY}_timestamp`);return y&&Date.now()-parseInt(y,10)>3e5?(this.resetReloadAttempts(),0):l?parseInt(l,10):0}incrementReloadAttempts(){const l=this.getReloadAttempts();sessionStorage.setItem(this.RELOAD_ATTEMPT_KEY,(l+1).toString()),sessionStorage.setItem(`${this.RELOAD_ATTEMPT_KEY}_timestamp`,Date.now().toString())}resetReloadAttempts(){sessionStorage.removeItem(this.RELOAD_ATTEMPT_KEY),sessionStorage.removeItem(`${this.RELOAD_ATTEMPT_KEY}_timestamp`)}
1clearCacheAndReload(){"serviceWorker"in navigator&&navigator.serviceWorker.controller?this.environmentInjector.get(F).recover():setTimeout(()=>{window.location.reload()},100)}showUpdateNotification(){try{this.showPopupAlert()}catch{confirm("A new version of BlockSurvey is available. Please refresh the page to update.")&&(this.resetReloadAttempts(),window.location.reload())}}showPopupAlert(){this.environmentInjector.get(Q.Bq).open(pn,{centered:!0,backdrop:"static",keyboard:!1})}static{this.\u0275fac=function(y){return new(y||b)(_.KVO(_.uvJ),_.KVO(S.Agw))}}static{this.\u0275prov=_.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})();var Qn=a(45312),Nr=a(16409),Zn=a(99437),Io=a(18810),Ao=a(98695),ko=a(92686);const Oi=(b,d)=>{const l=(0,_.WQX)(ko.X),y=(0,_.WQX)(Ao.N);return d(b).pipe((0,Zn.W)(U=>(403===U.status&&"EMAIL_NOT_VERIFIED"===U.error?.code&&(l.setVerified(!1),y.open("api")),(0,Io.$)(()=>U))))};let Zi=(()=>{class b{static{this.\u0275fac=function(y){return new(y||b)}}static{this.\u0275mod=S.$C({type:b,bootstrap:[Ae]})}static{this.\u0275inj=_.G2t({providers:[(0,k.Jn2)(),(0,Fe.$x)((0,Fe.rQ)()),(0,De.$R)((0,De.b$)([Oi])),Eo,Pi,lt.m,hs,{provide:_.zcH,useClass:Fn},sr("sw-blocksurvey.js",{enabled:Qn.c.production,registrationStrategy:()=>(0,Nr.t)()})],imports:[X,Re.YN,$i,fs]})}}return b})();function Gi(){tt().bootstrapModule(Zi).catch(b=>console.error(b))}Qn.c.production&&((0,k.SmG)(),window&&(window.console.log=function(){})),"complete"===document.readyState?Gi():document.addEventListener("DOMContentLoaded",Gi)},13981(wt,Ce){"use strict";Ce.byteLength=function k(re){var $=S(re),me=$[1];return 3*($[0]+me)/4-me},Ce.toByteArray=function H(re){var $,fe,we=S(re),me=we[0],ve=we[1],be=new D(function R(re,$,we){return 3*($+we)/4-we}(0,me,ve)),K=0,de=ve>0?me-4:me;for(fe=0;fe<de;fe+=4)$=I[re.charCodeAt(fe)]<<18|I[re.charCodeAt(fe+1)]<<12|I[re.charCodeAt(fe+2)]<<6|I[re.charCodeAt(fe+3)],be[K++]=$>>16&255,be[K++]=$>>8&255,be[K++]=255&$;return 2===ve&&($=I[re.charCodeAt(fe)]<<2|I[re.charCodeAt(fe+1)]>>4,be[K++]=255&$),1===ve&&($=I[re.charCodeAt(fe)]<<10|I[re.charCodeAt(fe+1)]<<4|I[re.charCodeAt(fe+2)]>>2,be[K++]=$>>8&255,be[K++]=255&$),be},Ce.fromByteArray=function G(re){for(var $,we=re.length,me=we%3,ve=[],K=0,de=we-me;K<de;K+=16383)ve.push(V(re,K,K+16383>de?de:K+16383));return 1===me?ve.push(a[($=re[we-1])>>2]+a[$<<4&63]+"=="):2===me&&ve.push(a[($=(re[we-2]<<8)+re[we-1])>>10]+a[$>>4&63]+a[$<<2&63]+"="),ve.join("")};for(var a=[],I=[],D=typeof Uint8Array<"u"?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",J=0;J<64;++J)a[J]=_[J],I[_.charCodeAt(J)]=J;function S(re){var $=re.length;if($%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var we=re.indexOf("=");return-1===we&&(we=$),[we,we===$?0:4-we%4]}function ae(re){return a[re>>18&63]+a[re>>12&63]+a[re>>6&63]+a[63&re]}function V(re,$,we){for(var ve=[],be=$;be<we;be+=3)ve.push(ae((re[be]<<16&16711680)+(re[be+1]<<8&65280)+(255&re[be+2])));return ve.join("")}I[45]=62,I[95]=63},22020(wt,Ce){Ce.read=function(a,I,D,_,J){var B,S,k=8*J-_-1,R=(1<<k)-1,H=R>>1,ae=-7,V=D?J-1:0,G=D?-1:1,re=a[I+V];for(V+=G,B=re&(1<<-ae)-1,re>>=-ae,ae+=k;ae>0;B=256*B+a[I+V],V+=G,ae-=8);for(S=B&(1<<-ae)-1,B>>=-ae,ae+=_;ae>0;S=256*S+a[I+V],V+=G,ae-=8);if(0===B)B=1-H;else{if(B===R)return S?NaN:1/0*(re?-1:1);S+=Math.pow(2,_),B-=H}return(re?-1:1)*S*Math.pow(2,B-_)},Ce.write=function(a,I,D,_,J,B){var S,k,R,H=8*B-J-1,ae=(1<<H)-1,V=ae>>1,G=23===J?Math.pow(2,-24)-Math.pow(2,-77):0,re=_?0:B-1,$=_?1:-1,we=I<0||0===I&&1/I<0?1:0;for(I=Math.abs(I),isNaN(I)||I===1/0?(k=isNaN(I)?1:0,S=ae):(S=Math.floor(Math.log(I)/Math.LN2),I*(R=Math.pow(2,-S))<1&&(S--,R*=2),(I+=S+V>=1?G/R:G*Math.pow(2,1-V))*R>=2&&(S++,R/=2),S+V>=ae?(k=0,S=ae):S+V>=1?(k=(I*R-1)*Math.pow(2,J),S+=V):(k=I*Math.pow(2,V-1)*Math.pow(2,J),S=0));J>=8;a[D+re]=255&k,re+=$,k/=256,J-=8);for(S=S<<J|k,H+=J;H>0;a[D+re]=255&S,re+=$,S/=256,H-=8);a[D+re-$]|=128*we}},37044(wt,Ce,a){"use strict";var D=a(13981),_=a(22020),J="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Ce.hp=R,Ce.IS=50;var B=2147483647;function k(ne){if(ne>
vendor: 4,821 bytes, line 1
1B)throw new RangeError('The value "'+ne+'" is invalid for option "size"');var A=new Uint8Array(ne);return Object.setPrototypeOf(A,R.prototype),A}function R(ne,A,w){if("number"==typeof ne){if("string"==typeof A)throw new TypeError('The "string" argument must be of type string. Received type number');return G(ne)}return H(ne,A,w)}function H(ne,A,w){if("string"==typeof ne)return function re(ne,A){if(("string"!=typeof A||""===A)&&(A="utf8"),!R.isEncoding(A))throw new TypeError("Unknown encoding: "+A);var w=0|de(ne,A),ye=k(w),Ge=ye.write(ne,A);return Ge!==w&&(ye=ye.slice(0,Ge)),ye}(ne,A);if(ArrayBuffer.isView(ne))return function we(ne){if(fn(ne,Uint8Array)){var A=new Uint8Array(ne);return me(A.buffer,A.byteOffset,A.byteLength)}return $(ne)}(ne);if(null==ne)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ne);if(fn(ne,ArrayBuffer)||ne&&fn(ne.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(fn(ne,SharedArrayBuffer)||ne&&fn(ne.buffer,SharedArrayBuffer)))return me(ne,A,w);if("number"==typeof ne)throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=ne.valueOf&&ne.valueOf();if(null!=ye&&ye!==ne)return R.from(ye,A,w);var Ge=function ve(ne){if(R.isBuffer(ne)){var A=0|be(ne.length),w=k(A);return 0===w.length||ne.copy(w,0,0,A),w}return void 0!==ne.length?"number"!=typeof ne.length||o(ne.length)?k(0):$(ne):"Buffer"===ne.type&&Array.isArray(ne.data)?$(ne.data):void 0}(ne);if(Ge)return Ge;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof ne[Symbol.toPrimitive])return R.from(ne[Symbol.toPrimitive]("string"),A,w);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ne)}function ae(ne){if("number"!=typeof ne)throw new TypeError('"size" argument must be of type number');if(ne<0)throw new RangeError('The value "'+ne+'" is invalid for option "size"')}function G(ne){return ae(ne),k(ne<0?0:0|be(ne))}function $(ne){for(var A=ne.length<0?0:0|be(ne.length),w=k(A),ye=0;ye<A;ye+=1)w[ye]=255&ne[ye];return w}function me(ne,A,w){if(A<0||ne.byteLength<A)throw new RangeError('"offset" is outside of buffer bounds');if(ne.byteLength<A+(w||0))throw new RangeError('"length" is outside of buffer bounds');var ye;return ye=void 0===A&&void 0===w?new Uint8Array(ne):void 0===w?new Uint8Array(ne,A):new Uint8Array(ne,A,w),Object.setPrototypeOf(ye,R.prototype),ye}function be(ne){if(ne>=B)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+B.toString(16)+" bytes");return 0|ne}function de(ne,A){if(R.isBuffer(ne))return ne.length;if(ArrayBuffer.isView(ne)||fn(ne,ArrayBuffer))return ne.byteLength;if("string"!=typeof ne)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ne);var w=ne.length,ye=arguments.length>2&&!0===arguments[2];if(!ye&&0===w)return 0;for(var Ge=!1;;)switch(A){case"ascii":case"latin1":case"binary":return w;case"utf8":case"utf-8":return Dt(ne).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*w;case"hex":return w>>>1;case"base64":return Ht(ne).length;default:if(Ge)return ye?-1:Dt(ne).length;A=(""+A).toLowerCase(),Ge=!0}}function fe(ne,A,w){var ye=!1;if((void 0===A||A<0)&&(A=0),A>this.length||((void 0===w||w>this.length)&&(w=this.length),w<=0)||(w>>>=0)<=(A>>>=0))return"";for(ne||(ne="utf8");;)switch(ne){case"hex":return $e(this,A,w);case"utf8":case"utf-8":return xe(this,A,w);case"ascii":return tt(this,A,w);case"latin1":case"binary":return nt(this,A,w);case"base64":return Pe(this,A,w);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Me(this,A,w);default:if(ye)throw new TypeError("Unknown encoding: "+ne);ne=(ne+"").toLowerCase(),ye=!0}}function Z(ne,A,w){var ye=ne[A];ne[A]=ne[w],ne[w]=ye}function Ke(ne,A,w,ye,Ge){if(0===ne.length)return-1;if("string"==typeof w?(ye=w,w=0):w>2147483647?w=2147483647:w<-2147483648&&(w=-2147483648),o(w=+w)&&(w=Ge?0:ne.length-1),w<0&&(w=ne.length+w),w>=ne.length){if(Ge)return-1;w=ne.length-1}else if(w<0){if(!Ge)return-1;w=0}if("string"==typeof A&&(A=R.from(A,ye)),R.isBuffer(A))return 0===A.length?-1:ft(ne,A,w,ye,Ge);if("number"==typeof A)return A&=255,"function"==typeof Uint8Array.prototype.indexOf?Ge?Uint8Array.prototype.indexOf.call(ne,A,w):Uint8Array.prototype.lastIndexOf.call(ne,A,w):ft(ne,[A],w,ye,Ge);throw new TypeError("val must be string, number or Buffer")}function ft(ne,A,w,ye,Ge){var gn,Nt=1,Oe=ne.length,Pt=A.length;if(void 0!==ye&&("ucs2"===(ye=String(ye).toLowerCase())||"ucs-2"===ye||"utf16le"===ye||"utf-16le"===ye)){if(ne.length<2||A.length<2)return-1;Nt=2,Oe/=2,Pt/=2,w/=2}function nn(yr,Tr){return 1===Nt?yr[Tr]:yr.readUInt16BE(Tr*Nt)}if(Ge){var vn=-1;for(gn=w;gn<Oe;
1gn++)if(nn(ne,gn)===nn(A,-1===vn?0:gn-vn)){if(-1===vn&&(vn=gn),gn-vn+1===Pt)return vn*Nt}else-1!==vn&&(gn-=gn-vn),vn=-1}else for(w+Pt>Oe&&(w=Oe-Pt),gn=w;gn>=0;gn--){for(var yn=!0,Rn=0;Rn<Pt;Rn++)if(nn(ne,gn+Rn)!==nn(A,Rn)){yn=!1;break}if(yn)return gn}return-1}function At(ne,A,w,ye){w=Number(w)||0;var Ge=ne.length-w;ye?(ye=Number(ye))>Ge&&(ye=Ge):ye=Ge;var Nt=A.length;ye>Nt/2&&(ye=Nt/2);for(var Oe=0;Oe<ye;++Oe){var Pt=parseInt(A.substr(2*Oe,2),16);if(o(Pt))return Oe;ne[w+Oe]=Pt}return Oe}function jt(ne,A,w,ye){return Dn(Dt(A,ne.length-w),ne,w,ye)}function Zt(ne,A,w,ye){return Dn(function yt(ne){for(var A=[],w=0;w<ne.length;++w)A.push(255&ne.charCodeAt(w));return A}(A),ne,w,ye)}function vt(ne,A,w,ye){return Dn(Ht(A),ne,w,ye)}function pt(ne,A,w,ye){return Dn(function Ut(ne,A){for(var w,ye,Nt=[],Oe=0;Oe<ne.length&&!((A-=2)<0);++Oe)ye=(w=ne.charCodeAt(Oe))>>8,Nt.push(w%256),Nt.push(ye);return Nt}(A,ne.length-w),ne,w,ye)}function Pe(ne,A,w){return D.fromByteArray(0===A&&w===ne.length?ne:ne.slice(A,w))}function xe(ne,A,w){w=Math.min(ne.length,w);for(var ye=[],Ge=A;Ge<w;){var nn,gn,vn,yn,Nt=ne[Ge],Oe=null,Pt=Nt>239?4:Nt>223?3:Nt>191?2:1;if(Ge+Pt<=w)switch(Pt){case 1:Nt<128&&(Oe=Nt);break;case 2:128==(192&(nn=ne[Ge+1]))&&(yn=(31&Nt)<<6|63&nn)>127&&(Oe=yn);break;case 3:gn=ne[Ge+2],128==(192&(nn=ne[Ge+1]))&&128==(192&gn)&&(yn=(15&Nt)<<12|(63&nn)<<6|63&gn)>2047&&(yn<55296||yn>57343)&&(Oe=yn);break;case 4:gn=ne[Ge+2],vn=ne[Ge+3],128==(192&(nn=ne[Ge+1]))&&128==(192&gn)&&128==(192&vn)&&(yn=(15&Nt)<<18|(63&nn)<<12|(63&gn)<<6|63&vn)>65535&&yn<1114112&&(Oe=yn)}null===Oe?(Oe=65533,Pt=1):Oe>65535&&(ye.push((Oe-=65536)>>>10&1023|55296),Oe=56320|1023&Oe),ye.push(Oe),Ge+=Pt}return function st(ne){var A=ne.length;if(A<=4096)return String.fromCharCode.apply(String,ne);for(var w="",ye=0;ye<A;)w+=String.fromCharCode.apply(String,ne.slice(ye,ye+=4096));return w}(ye)}function tt(ne,A,w){var ye="";w=Math.min(ne.length,w);for(var Ge=A;Ge<w;++Ge)ye+=String.fromCharCode(127&ne[Ge]);return ye}function nt(ne,A,w){var ye="";w=Math.min(ne.length,w);for(var Ge=A;Ge<w;++Ge)ye+=String.fromCharCode(ne[Ge]);return ye}function $e(ne,A,w){var ye=ne.length;(!A||A<0)&&(A=0),(!w||w<0||w>ye)&&(w=ye);for(var Ge="",Nt=A;Nt<w;++Nt)Ge+=mt[ne[Nt]];return Ge}function Me(ne,A,w){for(var ye=ne.slice(A,w),Ge="",Nt=0;Nt<ye.length-1;Nt+=2)Ge+=String.fromCharCode(ye[Nt]+256*ye[Nt+1]);return Ge}function X(ne,A,w){if(ne%1!=0||ne<0)throw new RangeError("offset is not uint");if(ne+A>w)throw new RangeError("Trying to access beyond buffer length")}function De(ne,A,w,ye,Ge,Nt){if(!R.isBuffer(ne))throw new TypeError('"buffer" argument must be a Buffer instance');if(A>Ge||A<Nt)throw new RangeError('"value" argument is out of bounds');if(w+ye>ne.length)throw new RangeError("Index out of range")}function Re(ne,A,w,ye,Ge,Nt){if(w+ye>ne.length)throw new RangeError("Index out of range");if(w<0)throw new RangeError("Index out of range")}function Fe(ne,A,w,ye,Ge){return A=+A,w>>>=0,Ge||Re(ne,0,w,4),_.write(ne,A,w,ye,23,4),w+4}function Xe(ne,A,w,ye,Ge){return A=+A,w>>>=0,Ge||Re(ne,0,w,8),_.write(ne,A,w,ye,52,8),w+8}!(R.TYPED_ARRAY_SUPPORT=function S(){try{var ne=new Uint8Array(1),A={foo:function(){return 42}};return Object.setPrototypeOf(A,Uint8Array.prototype),Object.setPrototypeOf(ne,A),42===ne.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(R.prototype,"parent",{enumerable:!0,get:function(){if(R.isBuffer(this))return this.buffer}}),Object.defineProperty(R.prototype,"offset",{enumerable:!0,get:function(){if(R.isBuffer(this))return this.byteOffset}}),R.poolSize=8192,R.from=function(ne,A,w){return H(ne,A,w)},Object.setPrototypeOf(R.prototype,Uint8Array.prototype),Object.setPrototypeOf(R,Uint8Array),R.alloc=function(ne,A,w){return function V(ne,A,w){return ae(ne),ne<=0?k(ne):void 0!==A?"string"==typeof w?k(ne).fill(A,w):k(ne).fill(A):k(ne)}(ne,A,w)},R.allocUnsafe=function(ne){return G(ne)},R.allocUnsafeSlow=function(ne){return G(ne)},R.isBuffer=function(A){return null!=A&&!0===A._isBuffer&&A!==R.prototype},R.compare=function(A,w){if(fn(A,Uint8Array)&&(A=R.from(A,A.offset,A.byteLength)),fn(w,Uint8Array)&&(w=R.from(w,w.offset,w.b
vendor: 8,337 bytes, line 1
1yteLength)),!R.isBuffer(A)||!R.isBuffer(w))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(A===w)return 0;for(var ye=A.length,Ge=w.length,Nt=0,Oe=Math.min(ye,Ge);Nt<Oe;++Nt)if(A[Nt]!==w[Nt]){ye=A[Nt],Ge=w[Nt];break}return ye<Ge?-1:Ge<ye?1:0},R.isEncoding=function(A){switch(String(A).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},R.concat=function(A,w){if(!Array.isArray(A))throw new TypeError('"list" argument must be an Array of Buffers');if(0===A.length)return R.alloc(0);var ye;if(void 0===w)for(w=0,ye=0;ye<A.length;++ye)w+=A[ye].length;var Ge=R.allocUnsafe(w),Nt=0;for(ye=0;ye<A.length;++ye){var Oe=A[ye];if(fn(Oe,Uint8Array))Nt+Oe.length>Ge.length?R.from(Oe).copy(Ge,Nt):Uint8Array.prototype.set.call(Ge,Oe,Nt);else{if(!R.isBuffer(Oe))throw new TypeError('"list" argument must be an Array of Buffers');Oe.copy(Ge,Nt)}Nt+=Oe.length}return Ge},R.byteLength=de,R.prototype._isBuffer=!0,R.prototype.swap16=function(){var A=this.length;if(A%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var w=0;w<A;w+=2)Z(this,w,w+1);return this},R.prototype.swap32=function(){var A=this.length;if(A%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var w=0;w<A;w+=4)Z(this,w,w+3),Z(this,w+1,w+2);return this},R.prototype.swap64=function(){var A=this.length;if(A%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var w=0;w<A;w+=8)Z(this,w,w+7),Z(this,w+1,w+6),Z(this,w+2,w+5),Z(this,w+3,w+4);return this},R.prototype.toString=function(){var A=this.length;return 0===A?"":0===arguments.length?xe(this,0,A):fe.apply(this,arguments)},R.prototype.toLocaleString=R.prototype.toString,R.prototype.equals=function(A){if(!R.isBuffer(A))throw new TypeError("Argument must be a Buffer");return this===A||0===R.compare(this,A)},R.prototype.inspect=function(){var A="",w=Ce.IS;return A=this.toString("hex",0,w).replace(/(.{2})/g,"$1 ").trim(),this.length>w&&(A+=" ... "),"<Buffer "+A+">"},J&&(R.prototype[J]=R.prototype.inspect),R.prototype.compare=function(A,w,ye,Ge,Nt){if(fn(A,Uint8Array)&&(A=R.from(A,A.offset,A.byteLength)),!R.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(void 0===w&&(w=0),void 0===ye&&(ye=A?A.length:0),void 0===Ge&&(Ge=0),void 0===Nt&&(Nt=this.length),w<0||ye>A.length||Ge<0||Nt>this.length)throw new RangeError("out of range index");if(Ge>=Nt&&w>=ye)return 0;if(Ge>=Nt)return-1;if(w>=ye)return 1;if(this===A)return 0;for(var Oe=(Nt>>>=0)-(Ge>>>=0),Pt=(ye>>>=0)-(w>>>=0),nn=Math.min(Oe,Pt),gn=this.slice(Ge,Nt),vn=A.slice(w,ye),yn=0;yn<nn;++yn)if(gn[yn]!==vn[yn]){Oe=gn[yn],Pt=vn[yn];break}return Oe<Pt?-1:Pt<Oe?1:0},R.prototype.includes=function(A,w,ye){return-1!==this.indexOf(A,w,ye)},R.prototype.indexOf=function(A,w,ye){return Ke(this,A,w,ye,!0)},R.prototype.lastIndexOf=function(A,w,ye){return Ke(this,A,w,ye,!1)},R.prototype.write=function(A,w,ye,Ge){if(void 0===w)Ge="utf8",ye=this.length,w=0;else if(void 0===ye&&"string"==typeof w)Ge=w,ye=this.length,w=0;else{if(!isFinite(w))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");w>>>=0,isFinite(ye)?(ye>>>=0,void 0===Ge&&(Ge="utf8")):(Ge=ye,ye=void 0)}var Nt=this.length-w;if((void 0===ye||ye>Nt)&&(ye=Nt),A.length>0&&(ye<0||w<0)||w>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ge||(Ge="utf8");for(var Oe=!1;;)switch(Ge){case"hex":return At(this,A,w,ye);case"utf8":case"utf-8":return jt(this,A,w,ye);case"ascii":case"latin1":case"binary":return Zt(this,A,w,ye);case"base64":return vt(this,A,w,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,A,w,ye);default:if(Oe)throw new TypeError("Unknown encoding: "+Ge);Ge=(""+Ge).toLowerCase(),Oe=!0}},R.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},R.prototype.slice=function(A,w){var ye=this.length;(A=~~A)<0?(A+=ye)<0&&(A=0):A>ye&&(A=ye),(w=void 0===w?ye:~~w)<0?(w+=ye)<0&&(w=0):w>ye&&(w=ye),w<A&&(w=A);var Ge=this.subarray(A,w);return Object.setPrototypeOf(Ge,R.prototype),Ge},R.prototype.readUintLE=R.prototype.readUIntLE=function(A,w,ye){A>>>=0,w>>>=0,ye||X(A,w,this.length);for(var Ge=this[A],Nt=1,Oe=0;++Oe<w&&(Nt*=256);)Ge+=this[A+Oe]*Nt;return Ge},R.prototype.readUintBE=R.prototype.readUIntBE=function(A,w,ye){A>>>=0,w>>>=0,ye||X(A,w,this.length);for(var Ge=this[A+--w],Nt=1;w>0&&(Nt*=256);)Ge+=this[A+--w]*Nt;return Ge},R.prototype.readUint8=R.prototype.readUInt8=function(A,w){return A>>>=0,w||X(A,1,this.length),this[A]},R.prototype.readUint16LE=R.prototype.readUInt16LE=function(A,w){return A>>>=0,w||X(A,2,this.length),this[A]|this[A+1]<<8},R.prototype.readUint16BE=R.prototype.readUInt16BE=function(A,w){return A>>>=0,w||X(A,2,this.length),this[A]<<8|this[A+1]},R.prototype.readUint32LE=R.prototype.readUInt32LE=function(A,w){return A>>>=0,w||X(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},R.prototype.readUint32BE=R.prototype.readUInt32BE=function(A,w){return A>>>=0,w||X(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},R.prototype.readIntLE=function(A,w,ye){A>>>=0,w>>>=0,ye||X(A,w,this.length);for(var Ge=this[A],Nt=1,Oe=0;++Oe<w&&(Nt*=256);)Ge+=this[A+Oe]*Nt;return Ge>=(Nt*=128)&&(Ge-=Math.pow(2,8*w)),Ge},R.prototype.readIntBE=function(A,w,ye){A>>>=0,w>>>=0,ye||X(A,w,this.length);for(var Ge=w,Nt=1,Oe=this[A+--Ge];Ge>0&&(Nt*=256);)Oe+=this[A+--Ge]*Nt;return Oe>=(Nt*=128)&&(Oe-=Math.pow(2,8*w)),Oe},R.prototype.readInt8=function(A,w){return A>>>=0,w||X(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},R.prototype.readInt16LE=function(A,w){A>>>=0,w||X(A,2,this.length);var ye=this[A]|this[A+1]<<8;return 32768&ye?4294901760|ye:ye},R.prototype.readInt16BE=function(A,w){A>>>=0,w||X(A,2,this.length);var ye=this[A+1]|this[A]<<8;return 32768&ye?4294901760|ye:ye},R.prototype.readInt32LE=function(A,w){return A>>>=0,w||X(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},R.prototype.readInt32BE=function(A,w){return A>>>=0,w||X(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},R.prototype.readFloatLE=function(A,w){return A>>>=0,w||X(A,4,this.length),_.read(this,A,!0,23,4)},R.prototype.readFloatBE=function(A,w){return A>>>=0,w||X(A,4,this.length),_.read(this,A,!1,23,4)},R.prototype.readDoubleLE=function(A,w){return A>>>=0,w||X(A,8,this.length),_.read(this,A,!0,52,8)},R.prototype.readDoubleBE=function(A,w){return A>>>=0,w||X(A,8,this.length),_.read(this,A,!1,52,8)},R.prototype.writeUintLE=R.prototype.writeUIntLE=function(A,w,ye,Ge){A=+A,w>>>=0,ye>>>=0,Ge||De(this,A,w,ye,Math.pow(2,8*ye)-1,0);var Oe=1,Pt=0;for(this[w]=255&A;++Pt<ye&&(Oe*=256);)this[w+Pt]=A/Oe&255;return w+ye},R.prototype.writeUintBE=R.prototype.writeUIntBE=function(A,w,ye,Ge){A=+A,w>>>=0,ye>>>=0,Ge||De(this,A,w,ye,Math.pow(2,8*ye)-1,0);var Oe=ye-1,Pt=1;for(this[w+Oe]=255&A;--Oe>=0&&(Pt*=256);)this[w+Oe]=A/Pt&255;return w+ye},R.prototype.writeUint8=R.prototype.writeUInt8=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,1,255,0),this[w]=255&A,w+1},R.prototype.writeUint16LE=R.prototype.writeUInt16LE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,2,65535,0),this[w]=255&A,this[w+1]=A>>>8,w+2},R.prototype.writeUint16BE=R.prototype.writeUInt16BE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,2,65535,0),this[w]=A>>>8,this[w+1]=255&A,w+2},R.prototype.writeUint32LE=R.prototype.writeUInt32LE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,4,4294967295,0),this[w+3]=A>>>24,this[w+2]=A>>>16,this[w+1]=A>>>8,this[w]=255&A,w+4},R.prototype.writeUint32BE=R.prototype.writeUInt32BE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,4,4294967295,0),this[w]=A>>>24,this[w+1]=A>>>16,this[w+2]=A>>>8,this[w+3]=255&A,w+4},R.prototype.writeIntLE=function(A,w,ye,Ge){if(A=+A,w>>>=0,!Ge){var Nt=Math.pow(2,8*ye-1);De(this,A,w,ye,Nt-1,-Nt)}var Oe=0,Pt=1,nn=0;for(this[w]=255&A;++Oe<ye&&(Pt*=256);)A<0&&0===nn&&0!==this[w+Oe-1]&&(nn=1),this[w+Oe]=(A/Pt|0)-nn&255;return w+ye},R.prototype.writeIntBE=function(A,w,ye,Ge){if(A=+A,w>>>=0,!Ge){var Nt=Math.pow(2,8*ye-1);De(this,A,w,ye,Nt-1,-Nt)}var Oe=ye-1,Pt=1,nn=0;for(this[w+Oe]=255&A;--Oe>=0&&(Pt*=256);
1)A<0&&0===nn&&0!==this[w+Oe+1]&&(nn=1),this[w+Oe]=(A/Pt|0)-nn&255;return w+ye},R.prototype.writeInt8=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,1,127,-128),A<0&&(A=255+A+1),this[w]=255&A,w+1},R.prototype.writeInt16LE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,2,32767,-32768),this[w]=255&A,this[w+1]=A>>>8,w+2},R.prototype.writeInt16BE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,2,32767,-32768),this[w]=A>>>8,this[w+1]=255&A,w+2},R.prototype.writeInt32LE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,4,2147483647,-2147483648),this[w]=255&A,this[w+1]=A>>>8,this[w+2]=A>>>16,this[w+3]=A>>>24,w+4},R.prototype.writeInt32BE=function(A,w,ye){return A=+A,w>>>=0,ye||De(this,A,w,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[w]=A>>>24,this[w+1]=A>>>16,this[w+2]=A>>>8,this[w+3]=255&A,w+4},R.prototype.writeFloatLE=function(A,w,ye){return Fe(this,A,w,!0,ye)},R.prototype.writeFloatBE=function(A,w,ye){return Fe(this,A,w,!1,ye)},R.prototype.writeDoubleLE=function(A,w,ye){return Xe(this,A,w,!0,ye)},R.prototype.writeDoubleBE=function(A,w,ye){return Xe(this,A,w,!1,ye)},R.prototype.copy=function(A,w,ye,Ge){if(!R.isBuffer(A))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!Ge&&0!==Ge&&(Ge=this.length),w>=A.length&&(w=A.length),w||(w=0),Ge>0&&Ge<ye&&(Ge=ye),Ge===ye||0===A.length||0===this.length)return 0;if(w<0)throw new RangeError("targetStart out of bounds");if(ye<0||ye>=this.length)throw new RangeError("Index out of range");if(Ge<0)throw new RangeError("sourceEnd out of bounds");Ge>this.length&&(Ge=this.length),A.length-w<Ge-ye&&(Ge=A.length-w+ye);var Nt=Ge-ye;return this===A&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(w,ye,Ge):Uint8Array.prototype.set.call(A,this.subarray(ye,Ge),w),Nt},R.prototype.fill=function(A,w,ye,Ge){if("string"==typeof A){if("string"==typeof w?(Ge=w,w=0,ye=this.length):"string"==typeof ye&&(Ge=ye,ye=this.length),void 0!==Ge&&"string"!=typeof Ge)throw new TypeError("encoding must be a string");if("string"==typeof Ge&&!R.isEncoding(Ge))throw new TypeError("Unknown encoding: "+Ge);if(1===A.length){var Nt=A.charCodeAt(0);("utf8"===Ge&&Nt<128||"latin1"===Ge)&&(A=Nt)}}else"number"==typeof A?A&=255:"boolean"==typeof A&&(A=Number(A));if(w<0||this.length<w||this.length<ye)throw new RangeError("Out of range index");if(ye<=w)return this;var Oe;if(w>>>=0,ye=void 0===ye?this.length:ye>>>0,A||(A=0),"number"==typeof A)for(Oe=w;Oe<ye;++Oe)this[Oe]=A;else{var Pt=R.isBuffer(A)?A:R.from(A,Ge),nn=Pt.length;if(0===nn)throw new TypeError('The value "'+A+'" is invalid for argument "value"');for(Oe=0;Oe<ye-w;++Oe)this[Oe+w]=Pt[Oe%nn]}return this};var dt=/[^+/0-9A-Za-z-_]/g;function Dt(ne,A){A=A||1/0;for(var w,ye=ne.length,Ge=null,Nt=[],Oe=0;Oe<ye;++Oe){if((w=ne.charCodeAt(Oe))>55295&&w<57344){if(!Ge){if(w>56319){(A-=3)>-1&&Nt.push(239,191,189);continue}if(Oe+1===ye){(A-=3)>-1&&Nt.push(239,191,189);continue}Ge=w;continue}if(w<56320){(A-=3)>-1&&Nt.push(239,191,189),Ge=w;continue}w=65536+(Ge-55296<<10|w-56320)}else Ge&&(A-=3)>-1&&Nt.push(239,191,189);if(Ge=null,w<128){if((A-=1)<0)break;Nt.push(w)}else if(w<2048){if((A-=2)<0)break;Nt.push(w>>6|192,63&w|128)}else if(w<65536){if((A-=3)<0)break;Nt.push(w>>12|224,w>>6&63|128,63&w|128)}else{if(!(w<1114112))throw new Error("Invalid code point");if((A-=4)<0)break;Nt.push(w>>18|240,w>>12&63|128,w>>6&63|128,63&w|128)}}return Nt}function Ht(ne){return D.toByteArray(function ht(ne){if((ne=(ne=ne.split("=")[0]).trim().replace(dt,"")).length<2)return"";for(;ne.length%4!=0;)ne+="=";return ne}(ne))}function Dn(ne,A,w,ye){for(var Ge=0;Ge<ye&&!(Ge+w>=A.length||Ge>=ne.length);++Ge)A[Ge+w]=ne[Ge];return Ge}function fn(ne,A){return ne instanceof A||null!=ne&&null!=ne.constructor&&null!=ne.constructor.name&&ne.constructor.name===A.name}function o(ne){return ne!=ne}var mt=function(){for(var ne="0123456789abcdef",A=new Array(256),w=0;w<16;++w)for(var ye=16*w,Ge=0;Ge<16;++Ge)A[ye+Ge]=ne[w]+ne[Ge];return A}()},84412(wt,Ce,a){"use strict";a.d(Ce,{t:()=>D});var I=a(21413);class D extends I.B{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const B=super._subscribe(J);return!B.closed&&J.next(this._value),B}getValue(){const{hasError:J,thrownError:B,_value:S}=this;if(J)throw B;return this._throwIfClosed(),S}next(J){super.next(this._value=J)}}},71985(wt,Ce,a){"use strict";a.d(Ce,{c:()=>R});var I=a(47707),D=a(18359),_=a(3494),J=a(71203),B=a(41026),S=a(98071),k=a(49786);let R=(()=>{class G{constructor($){$&&(this._subscribe=$)}lift($){const we=new G;return we.source=this,we.operator=$,we}subscribe($,we,me){const ve=function V(G){return G&&G instanceof I.vU||function ae(G){return G&&(0,S.T)(G.next)&&(0,S.T)(G.error)&&(0,S.T)(G.complete)}(G)&&(0,D.Uv)(G)}($)?$:new I.Ms($,we,me);return(0,k.Y)(()=>{const{operator:be,source:K}=this;ve.add(be?be.call(ve,K):K?this._subscribe(ve):this._trySubscribe(ve))}),ve}_trySubscribe($){try{return this._subscribe($)}catch(we){$.error(we)}}forEach($,we){return new(we=H(we))((me,ve)=>{const be=new I.Ms({next:K=>{try{$(K)}catch(de){ve(de),be.unsubscribe()}},error:ve,complete:me});this.subscribe(be)})}_subscribe($){var we;return null===(we=this.source)||void 0===we?void 0:we.subscribe($)}[_.s](){return this}pipe(...$){return(0,J.m)($)(this)}toPromise($){return new($=H($))((we,me)=>{let ve;this.subscribe(be=>ve=be,be=>me(be),()=>we(ve))})}}return G.create=re=>new G(re),G})();function H(G){var re;return null!==(re=G??B.$.Promise)&&void 0!==re?re:Promise}},92771(wt,Ce,a){"use strict";a.d(Ce,{m:()=>_});var I=a(21413),D=a(86129);class _ extends I.B{constructor(B=1/0,S=1/0,k=D.U){super(),this._bufferSize=B,this._windowTime=S,this._timestampProvider=k,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=S===1/0,this._bufferSize=Math.max(1,B),this._windowTime=Math.max(1,S)}next(B){const{isStopped:S,_buffer:k,_infiniteTimeWindow:R,_timestampProvider:H,_windowTime:ae}=this;S||(k.push(B),!R&&k.push(H.now()+ae)),this._trimBuffer(),super.next(B)}_subscribe(B){this._throwIfClosed(),this._trimBuffer();const S=this._innerSubscribe(B),{_infiniteTimeWindow:k,_buffer:R}=this,H=R.slice();for(let ae=0;ae<H.length&&!B.closed;ae+=k?1:2)B.next(H[ae]);return this._checkFinalizedStatuses(B),S}_trimBuffer(){const{_bufferSize:B,_timestampProvider:S,_buffer:k,_infiniteTimeWindow:R}=this,H=(R?1:2)*B;if(B<1/0&&H<k.length&&k.splice(0,k.length-H),!R){const ae=S.now();let V=0;for(let G=1;G<k.length&&k[G]<=ae;G+=2)V=G;V&&k.splice(0,V+1)}}}},21413(wt,Ce,a){"use strict";a.d(Ce,{B:()=>k});var I=a(71985),D=a(18359);const J=(0,a(81853).L)(H=>function(){H(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var B=a(57908),S=a(49786);let k=(()=>{class H extends I.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(V){const G=new R(this,this);return G.operator=V,G}_throwIfClosed(){if(this.closed)throw new J}next(V){(0,S.Y)(()=>
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const G of this.currentObservers)G.next(V)}})}error(V){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=V;const{observers:G}=this;for(;G.length;)G.shift().error(V)}})}complete(){(0,S.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:V}=this;for(;V.length;)V.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var V;return(null===(V=this.observers)||void 0===V?void 0:V.length)>0}_trySubscribe(V){return this._throwIfClosed(),super._trySubscribe(V)}_subscribe(V){return this._throwIfClosed(),this._checkFinalizedStatuses(V),this._innerSubscribe(V)}_innerSubscribe(V){const{hasError:G,isStopped:re,observers:$}=this;return G||re?D.Kn:(this.currentObservers=null,$.push(V),new D.yU(()=>{this.currentObservers=null,(0,B.o)($,V)}))}_checkFinalizedStatuses(V){const{hasError:G,thrownError:re,isStopped:$}=this;G?V.error(re):$&&V.complete()}asObservable(){const V=new I.c;return V.source=this,V}}return H.create=(ae,V)=>new R(ae,V),H})();class R extends k{constructor(ae,V){super(),this.destination=ae,this.source=V}next(ae){var V,G;null===(G=null===(V=this.destination)||void 0===V?void 0:V.next)||void 0===G||G.call(V,ae)}error(ae){var V,G;null===(G=null===(V=this.destination)||void 0===V?void 0:V.error)||void 0===G||G.call(V,ae)}complete(){var ae,V;null===(V=null===(ae=this.destination)||void 0===ae?void 0:ae.complete)||void 0===V||V.call(ae)}_subscribe(ae){var V,G;return null!==(G=null===(V=this.source)||void 0===V?void 0:V.subscribe(ae))&&void 0!==G?G:D.Kn}}},47707(wt,Ce,a){"use strict";a.d(Ce,{Ms:()=>me,vU:()=>G});var I=a(98071),D=a(18359),_=a(41026),J=a(45334),B=a(85343);const S=H("C",void 0,void 0);function H(fe,Z,Ke){return{kind:fe,value:Z,error:Ke}}var ae=a(19270),V=a(49786);class G extends D.yU{constructor(Z){super(),this.isStopped=!1,Z?(this.destination=Z,(0,D.Uv)(Z)&&Z.add(this)):this.destination=de}static create(Z,Ke,ft){return new me(Z,Ke,ft)}next(Z){this.isStopped?K(function R(fe){return H("N",fe,void 0)}(Z),this):this._next(Z)}error(Z){this.isStopped?K(function k(fe){return H("E",void 0,fe)}(Z),this):(this.isStopped=!0,this._error(Z))}complete(){this.isStopped?K(S,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Z){this.destination.next(Z)}_error(Z){try{this.destination.error(Z)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const re=Function.prototype.bind;function $(fe,Z){return re.call(fe,Z)}class we{constructor(Z){this.partialObserver=Z}next(Z){const{partialObserver:Ke}=this;if(Ke.next)try{Ke.next(Z)}catch(ft){ve(ft)}}error(Z){const{partialObserver:Ke}=this;if(Ke.error)try{Ke.error(Z)}catch(ft){ve(ft)}else ve(Z)}complete(){const{partialObserver:Z}=this;if(Z.complete)try{Z.complete()}catch(Ke){ve(Ke)}}}class me extends G{constructor(Z,Ke,ft){let At;if(super(),(0,I.T)(Z)||!Z)At={next:Z??void 0,error:Ke??void 0,complete:ft??void 0};else{let jt;this&&_.$.useDeprecatedNextContext?(jt=Object.create(Z),jt.unsubscribe=()=>this.unsubscribe(),At={next:Z.next&&$(Z.next,jt),error:Z.error&&$(Z.error,jt),complete:Z.complete&&$(Z.complete,jt)}):At=Z}this.destination=new we(At)}}function ve(fe){_.$.useDeprecatedSynchronousErrorHandling?(0,V.l)(fe):(0,J.m)(fe)}function K(fe,Z){const{onStoppedNotification:Ke}=_.$;Ke&&ae.f.setTimeout(()=>Ke(fe,Z))}const de={closed:!0,next:B.l,error:function be(fe){throw fe},complete:B.l}},18359(wt,Ce,a){"use strict";a.d(Ce,{Kn:()=>S,yU:()=>B,Uv:()=>k});var I=a(98071);const _=(0,a(81853).L)(H=>function(V){H(this),this.message=V?`${V.length} errors occurred during unsubscription:\n${V.map((G,re)=>`${re+1}) ${G.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=V});var J=a(57908);class B{constructor(ae){this.initialTeardown=ae,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let ae;if(!this.closed){this.closed=!0;const{_parentage:V}=this;if(V)if(this._parentage=null,Array.isArray(V))for(const $ of V)$.remove(this);else V.remove(this);const{initialTeardown:G}=this;if((0,I.T)(G))try{G()}catch($){ae=$ instanceof _?$.errors:[$]}const{_finalizers:re}=this;if(re){this._finalizers=null;for(const $ of re)try{R($)}catch(we){ae=ae??[],we instanceof _?ae=[...ae,...we.errors]:ae.push(we)}}if(ae)throw new _(ae)}}add(ae){var V;if(ae&&ae!==this)if(this.closed)R(ae);else{if(ae instanceof B){if(ae.closed||ae._hasParent(this))return;ae._addParent(this)}(this._finalizers=null!==(V=this._finalizers)&&void 0!==V?V:[]).push(ae)}}_hasParent(ae){const{_parentage:V}=this;return V===ae||Array.isArray(V)&&V.includes(ae)}_addParent(ae){const{_parentage:V}=this;this._parentage=Array.isArray(V)?(V.push(ae),V):V?[V,ae]:ae}_removeParent(ae){const{_parentage:V}=this;V===ae?this._parentage=null:Array.isArray(V)&&(0,J.o)(V,ae)}remove(ae){const{_finalizers:V}=this;V&&(0,J.o)(V,ae),ae instanceof B&&ae._removeParent(this)}}B.EMPTY=(()=>{const H=new B;return H.closed=!0,H})();const S=B.EMPTY;function k(H){return H instanceof B||H&&"closed"in H&&(0,I.T)(H.remove)&&(0,I.T)(H.add)&&(0,I.T)(H.unsubscribe)}function R(H){(0,I.T)(H)?H():H.unsubscribe()}},41026(wt,Ce,a){"use strict";a.d(Ce,{$:()=>I});const I={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},84572(wt,Ce,a){"use strict";a.d(Ce,{z:()=>ae});var I=a(71985),D=a(93073),_=a(86648),J=a(33669),B=a(6450),S=a(9326),k=a(58496),R=a(54360),H=a(45225);function ae(...re){const $=(0,S.lI)(re),we=(0,S.ms)(re),{args:me,keys:ve}=(0,D.D)(re);if(0===me.length)return(0,_.H)([],$);const be=new I.c(function V(re,$,we=J.D){return me=>{G($,()=>{const{length:ve}=re,be=new Array(ve);let K=ve,de=ve;for(let fe=0;fe<ve;fe++)G($,()=>{const Z=(0,_.H)(re[fe],$);let Ke=!1;Z.subscribe((0,R._)(me,ft=>{be[fe]=ft,Ke||(Ke=!0,de--),de||me.next(we(be.slice()))},()=>{--K||me.complete()}))},me)},me)}}(me,$,ve?K=>(0,k.e)(ve,K):J.D));return we?be.pipe((0,B.I)(we)):be}function G(re,$,we){re?(0,H.N)(we,re,$):$()}},28793(wt,Ce,a){"use strict";a.d(Ce,{x:()=>B});var I=a(26365),_=a(9326),J=a(86648);function B(...S){return function D(){return(0,I.U)(1)}()((0,J.H)(S,(0,_.lI)(S)))}},59030(wt,Ce,a){"use strict";a.d(Ce,{v:()=>_});var I=a(71985),D=a(58750);function _(J){return new I.c(B=>
1{(0,D.Tg)(J()).subscribe(B)})}},983(wt,Ce,a){"use strict";a.d(Ce,{w:()=>_});const _=new(a(71985).c)(S=>S.complete())},27468(wt,Ce,a){"use strict";a.d(Ce,{p:()=>R});var I=a(71985),D=a(93073),_=a(58750),J=a(9326),B=a(54360),S=a(6450),k=a(58496);function R(...H){const ae=(0,J.ms)(H),{args:V,keys:G}=(0,D.D)(H),re=new I.c($=>{const{length:we}=V;if(!we)return void $.complete();const me=new Array(we);let ve=we,be=we;for(let K=0;K<we;K++){let de=!1;(0,_.Tg)(V[K]).subscribe((0,B._)($,fe=>{de||(de=!0,be--),me[K]=fe},()=>ve--,void 0,()=>{(!ve||!de)&&(be||$.next(G?(0,k.e)(G,me):me),$.complete())}))}});return ae?re.pipe((0,S.I)(ae)):re}},86648(wt,Ce,a){"use strict";a.d(Ce,{H:()=>ft});var I=a(58750),D=a(45225),_=a(39974),J=a(54360);function B(At,jt=0){return(0,_.N)((Zt,vt)=>{Zt.subscribe((0,J._)(vt,pt=>(0,D.N)(vt,At,()=>vt.next(pt),jt),()=>(0,D.N)(vt,At,()=>vt.complete(),jt),pt=>(0,D.N)(vt,At,()=>vt.error(pt),jt)))})}function S(At,jt=0){return(0,_.N)((Zt,vt)=>{vt.add(At.schedule(()=>Zt.subscribe(vt),jt))})}var H=a(71985),V=a(4761),G=a(98071);function $(At,jt){if(!At)throw new Error("Iterable cannot be null");return new H.c(Zt=>{(0,D.N)(Zt,jt,()=>{const vt=At[Symbol.asyncIterator]();(0,D.N)(Zt,jt,()=>{vt.next().then(pt=>{pt.done?Zt.complete():Zt.next(pt.value)})},0,!0)})})}var we=a(55055),me=a(59858),ve=a(47441),be=a(85397),K=a(37953),de=a(50591),fe=a(15196);function ft(At,jt){return jt?function Ke(At,jt){if(null!=At){if((0,we.l)(At))return function k(At,jt){return(0,I.Tg)(At).pipe(S(jt),B(jt))}(At,jt);if((0,ve.X)(At))return function ae(At,jt){return new H.c(Zt=>{let vt=0;return jt.schedule(function(){vt===At.length?Zt.complete():(Zt.next(At[vt++]),Zt.closed||this.schedule())})})}(At,jt);if((0,me.y)(At))return function R(At,jt){return(0,I.Tg)(At).pipe(S(jt),B(jt))}(At,jt);if((0,K.T)(At))return $(At,jt);if((0,be.x)(At))return function re(At,jt){return new H.c(Zt=>{let vt;return(0,D.N)(Zt,jt,()=>{vt=At[V.l](),(0,D.N)(Zt,jt,()=>{let pt,Pe;try{({value:pt,done:Pe}=vt.next())}catch(xe){return void Zt.error(xe)}Pe?Zt.complete():Zt.next(pt)},0,!0)}),()=>(0,G.T)(vt?.return)&&vt.return()})}(At,jt);if((0,fe.U)(At))return function Z(At,jt){return $((0,fe.C)(At),jt)}(At,jt)}throw(0,de.L)(At)}(At,jt):(0,I.Tg)(At)}},33726(wt,Ce,a){"use strict";a.d(Ce,{R:()=>ae});var I=a(58750),D=a(71985),_=a(31397),J=a(47441),B=a(98071),S=a(6450);const k=["addListener","removeListener"],R=["addEventListener","removeEventListener"],H=["on","off"];function ae(we,me,ve,be){if((0,B.T)(ve)&&(be=ve,ve=void 0),be)return ae(we,me,ve).pipe((0,S.I)(be));const[K,de]=function $(we){return(0,B.T)(we.addEventListener)&&(0,B.T)(we.removeEventListener)}(we)?R.map(fe=>Z=>we[fe](me,Z,ve)):function G(we){return(0,B.T)(we.addListener)&&(0,B.T)(we.removeListener)}(we)?k.map(V(we,me)):function re(we){return(0,B.T)(we.on)&&(0,B.T)(we.off)}(we)?H.map(V(we,me)):[];if(!K&&(0,J.X)(we))return(0,_.Z)(fe=>ae(fe,me,ve))((0,I.Tg)(we));if(!K)throw new TypeError("Invalid event target");return new D.c(fe=>{const Z=(...Ke)=>fe.next(1<Ke.length?Ke:Ke[0]);return K(Z),()=>de(Z)})}function V(we,me){return ve=>be=>we[ve](me,be)}},58750(wt,Ce,a){"use strict";a.d(Ce,{Tg:()=>re});var I=a(31635),D=a(47441),_=a(59858),J=a(71985),B=a(55055),S=a(37953),k=a(50591),R=a(85397),H=a(15196),ae=a(98071),V=a(45334),G=a(3494);function re(fe){if(fe instanceof J.c)return fe;if(null!=fe){if((0,B.l)(fe))return function $(fe){return new J.c(Z=>{const Ke=fe[G.s]();if((0,ae.T)(Ke.subscribe))return Ke.subscribe(Z);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(fe);if((0,D.X)(fe))return function we(fe){return new J.c(Z=>{for(let Ke=0;Ke<fe.length&&!Z.closed;Ke++)Z.next(fe[Ke]);Z.complete()})}(fe);if((0,_.y)(fe))return function me(fe){return new J.c(Z=>{fe.then(Ke=>{Z.closed||(Z.next(Ke),Z.complete())},Ke=>Z.error(Ke)).then(null,V.m)})}(fe);if((0,S.T)(fe))return be(fe);if((0,R.x)(fe))return function ve(fe){return new J.c(Z=>{for(const Ke of fe)if(Z.next(Ke),Z.closed)return;Z.complete()})}(fe);if((0,H.U)(fe))return function K(fe){return be((0,H.C)(fe))}(fe)}throw(0,k.L)(fe)}function be(fe){return new J.c(Z=>{(function de(fe,Z){var Ke,ft,At,jt;return(0,I.sH)(this,void 0,void 0,function*(){try{for(Ke=(0,I.xN)(fe);!(ft=yield Ke.next()).done;)if(Z.next(ft.value),Z.closed)return}catch(Zt){At={error:Zt}}finally{try{ft&&!ft.done&&(jt=Ke.return)&&(yield jt.call(Ke))}finally{if(At)throw At.error}}Z.complete()})})(fe,Z).catch(Ke=>Z.error(Ke))})}},35060(wt,Ce,a){"use strict";a.d(Ce,{t:()=>_});var I=a(71985),D=a(85343);const _=new I.c(D.l)},7673(wt,Ce,a){"use strict";a.d(Ce,{of:()=>_});var I=a(9326),D=a(86648);function _(...J){const B=(0,I.lI)(J);return(0,D.H)(J,B)}},18810(wt,Ce,a){"use strict";a.d(Ce,{$:()=>_});var I=a(71985),D=a(98071);function _(J,B){const S=(0,D.T)(J)?J:()=>J,k=R=>R.error(S());return new I.c(B?R=>B.schedule(k,0,R):k)}},1807(wt,Ce,a){"use strict";a.d(Ce,{O:()=>B});var I=a(71985),D=a(43236),_=a(79470),J=a(28211);function B(S=0,k,R=D.b){let H=-1;return null!=k&&((0,_.m)(k)?R=k:H=k),new I.c(ae=>{let V=(0,J.v)(S)?+S-R.now():S;V<0&&(V=0);let G=0;return R.schedule(function(){ae.closed||(ae.next(G++),0<=H?this.schedule(void 0,H):ae.complete())},V)})}},44437(wt,Ce,a){"use strict";a.d(Ce,{y:()=>k}
1);var I=a(71985),D=a(58750),_=a(42326),J=a(983),B=a(54360),S=a(9326);function k(...R){const H=(0,S.ms)(R),ae=(0,_.K)(R);return ae.length?new I.c(V=>{let G=ae.map(()=>[]),re=ae.map(()=>!1);V.add(()=>{G=re=null});for(let $=0;!V.closed&&$<ae.length;$++)(0,D.Tg)(ae[$]).subscribe((0,B._)(V,we=>{if(G[$].push(we),G.every(me=>me.length)){const me=G.map(ve=>ve.shift());V.next(H?H(...me):me),G.some((ve,be)=>!ve.length&&re[be])&&V.complete()}},()=>{re[$]=!0,!G[$].length&&V.complete()}));return()=>{G=re=null}}):J.w}},54360(wt,Ce,a){"use strict";a.d(Ce,{_:()=>D});var I=a(47707);function D(J,B,S,k,R){return new _(J,B,S,k,R)}class _ extends I.vU{constructor(B,S,k,R,H,ae){super(B),this.onFinalize=H,this.shouldUnsubscribe=ae,this._next=S?function(V){try{S(V)}catch(G){B.error(G)}}:super._next,this._error=R?function(V){try{R(V)}catch(G){B.error(G)}finally{this.unsubscribe()}}:super._error,this._complete=k?function(){try{k()}catch(V){B.error(V)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var B;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:S}=this;super.unsubscribe(),!S&&(null===(B=this.onFinalize)||void 0===B||B.call(this))}}}},99437(wt,Ce,a){"use strict";a.d(Ce,{W:()=>J});var I=a(58750),D=a(54360),_=a(39974);function J(B){return(0,_.N)((S,k)=>{let ae,R=null,H=!1;R=S.subscribe((0,D._)(k,void 0,void 0,V=>{ae=(0,I.Tg)(B(V,J(B)(S))),R?(R.unsubscribe(),R=null,ae.subscribe(k)):H=!0})),H&&(R.unsubscribe(),R=null,ae.subscribe(k))})}},70274(wt,Ce,a){"use strict";a.d(Ce,{H:()=>_});var I=a(31397),D=a(98071);function _(J,B){return(0,D.T)(B)?(0,I.Z)(J,B,1):(0,I.Z)(J,1)}},5964(wt,Ce,a){"use strict";a.d(Ce,{p:()=>_});var I=a(39974),D=a(54360);function _(J,B){return(0,I.N)((S,k)=>{let R=0;S.subscribe((0,D._)(k,H=>J.call(B,H,R++)&&k.next(H)))})}},70980(wt,Ce,a){"use strict";a.d(Ce,{j:()=>D});var I=a(39974);function D(_){return(0,I.N)((J,B)=>{try{J.subscribe(B)}finally{B.add(_)}})}},52906(wt,Ce,a){"use strict";a.d(Ce,{$:()=>ae});var I=a(9350),D=a(5964),_=a(96697),J=a(39974),B=a(54360);function k(V=R){return(0,J.N)((G,re)=>{let $=!1;G.subscribe((0,B._)(re,we=>{$=!0,re.next(we)},()=>$?re.complete():re.error(V())))})}function R(){return new I.G}var H=a(33669);function ae(V,G){const re=arguments.length>=2;return $=>$.pipe(V?(0,D.p)((we,me)=>V(we,me,$)):H.D,(0,_.s)(1),re?function S(V){return(0,J.N)((G,re)=>{let $=!1;G.subscribe((0,B._)(re,we=>{$=!0,re.next(we)},()=>{$||re.next(V),re.complete()}))})}(G):k(()=>new I.G))}},96354(wt,Ce,a){"use strict";a.d(Ce,{T:()=>_});var I=a(39974),D=a(54360);function _(J,B){return(0,I.N)((S,k)=>{let R=0;S.subscribe((0,D._)(k,H=>{k.next(J.call(B,H,R++))}))})}},26365(wt,Ce,a){"use strict";a.d(Ce,{U:()=>_});var I=a(31397),D=a(33669);function _(J=1/0){return(0,I.Z)(D.D,J)}},31397(wt,Ce,a){"use strict";a.d(Ce,{Z:()=>R});var I=a(96354),D=a(58750),_=a(39974),J=a(45225),B=a(54360),k=a(98071);function R(H,ae,V=1/0){return(0,k.T)(ae)?R((G,re)=>(0,I.T)(($,we)=>ae(G,$,re,we))((0,D.Tg)(H(G,re))),V):("number"==typeof ae&&(V=ae),(0,_.N)((G,re)=>function S(H,ae,V,G,re,$,we,me){const ve=[];let be=0,K=0,de=!1;const fe=()=>{de&&!ve.length&&!be&&ae.complete()},Z=ft=>be<G?Ke(ft):ve.push(ft),Ke=ft=>{$&&ae.next(ft),be++;let At=!1;(0,D.Tg)(V(ft,K++)).subscribe((0,B._)(ae,jt=>{re?.(jt),$?Z(jt):ae.next(jt)},()=>{At=!0},void 0,()=>{if(At)try{for(be--;ve.length&&be<G;){const jt=ve.shift();we?(0,J.N)(ae,we,()=>Ke(jt)):Ke(jt)}fe()}catch(jt){ae.error(jt)}}))};return H.subscribe((0,B._)(ae,Z,()=>{de=!0,fe()})),()=>{me?.()}}(G,re,H,V)))}},99172(wt,Ce,a){"use strict";a.d(Ce,{Z:()=>J});var I=a(28793),D=a(9326),_=a(39974);function J(...B){const S=(0,D.lI)(B);return(0,_.N)((k,R)=>{(S?(0,I.x)(B,k,S):(0,I.x)(B,k)).subscribe(R)})}},25558(wt,Ce,a){"use strict";a.d(Ce,{n:()=>J});var I=a(58750),D=a(39974),_=a(54360);function J(B,S){return(0,D.N)((k,R)=>{let H=null,ae=0,V=!1;const G=()=>V&&!H&&R.complete();k.subscribe((0,_._)(R,re=>{H?.unsubscribe();let $=0;const we=ae++;(0,I.Tg)(B(re,we)).subscribe(H=(0,_._)(R,me=>R.next(S?S(re,me,we,$++):me),()=>{H=null,G()}))},()=>{V=!0,G()}))})}},96697(wt,Ce,a){"use strict";a.d(Ce,{s:()=>J});var I=a(983),D=a(39974),_=a(54360);function J(B){return B<=0?()=>I.w:(0,D.N)((S,k)=>{let R=0;S.subscribe((0,_._)(k,H=>{++R<=B&&(k.next(H),B<=R&&k.complete())}))})}},56977(wt,Ce,a){"use strict";a.d(Ce,{Q:()=>B});var I=a(39974),D=a(54360),_=a(58750),J=a(85343);function B(S){return(0,I.N)((k,R)=>{(0,_.Tg)(S).subscribe((0,D._)(R,()=>R.complete(),J.l)),!R.closed&&k.subscribe(R)})}},88141(wt,Ce,a){"use strict";a.d(Ce,{M:()=>B});var I=a(98071),D=a(39974),_=a(54360),J=a(33669);function B(S,k,R){const H=(0,I.T)(S)||k||R?{next:S,error:k,complete:R}:S;return H?(0,D.N)((ae,V)=>{var G;null===(G=H.subscribe)||void 0===G||G.call(H);let re=!0;ae.subscribe((0,_._)(V,$=>{var we;null===(we=H.next)||void 0===we||we.call(H,$),V.next($)},()=>{var $;re=!1,null===($=H.complete)||void 0===$||$.call(H),V.complete()},$=>{var we;re=!1,null===(we=H.error)||void 0===we||we.call(H,$),V.error($)},()=>{var $,we;re&&(null===($=H.unsubscribe)||void 0===$||$.call(H)),null===(we=H.finalize)||void 0===we||we.call(H)}))}):J.D}},96780(wt,Ce,a){"use strict";a.d(Ce,{R:()=>B});var I=a(18359);class D extends I.yU{constructor(k,R){super()}schedule(k,R=0){return this}}const _={setInterval(S,k,...R){const{delegate:H}=_;return H?.setInterval?H.setInterval(S,k,...R):setInterval(S,k,...R)},clearInterval(S){const{delegate:k}=_;return(k?.clearInterval||clearInterval)(S)},delegate:void 0};var J=a(57908);
1class B extends D{constructor(k,R){super(k,R),this.scheduler=k,this.work=R,this.pending=!1}schedule(k,R=0){var H;if(this.closed)return this;this.state=k;const ae=this.id,V=this.scheduler;return null!=ae&&(this.id=this.recycleAsyncId(V,ae,R)),this.pending=!0,this.delay=R,this.id=null!==(H=this.id)&&void 0!==H?H:this.requestAsyncId(V,this.id,R),this}requestAsyncId(k,R,H=0){return _.setInterval(k.flush.bind(k,this),H)}recycleAsyncId(k,R,H=0){if(null!=H&&this.delay===H&&!1===this.pending)return R;null!=R&&_.clearInterval(R)}execute(k,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const H=this._execute(k,R);if(H)return H;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(k,R){let ae,H=!1;try{this.work(k)}catch(V){H=!0,ae=V||new Error("Scheduled action threw falsy error")}if(H)return this.unsubscribe(),ae}unsubscribe(){if(!this.closed){const{id:k,scheduler:R}=this,{actions:H}=R;this.work=this.state=this.scheduler=null,this.pending=!1,(0,J.o)(H,this),null!=k&&(this.id=this.recycleAsyncId(R,k,null)),this.delay=null,super.unsubscribe()}}}},39687(wt,Ce,a){"use strict";a.d(Ce,{q:()=>_});var I=a(86129);class D{constructor(B,S=D.now){this.schedulerActionCtor=B,this.now=S}schedule(B,S=0,k){return new this.schedulerActionCtor(this,B).schedule(k,S)}}D.now=I.U.now;class _ extends D{constructor(B,S=D.now){super(B,S),this.actions=[],this._active=!1}flush(B){const{actions:S}=this;if(this._active)return void S.push(B);let k;this._active=!0;do{if(k=B.execute(B.state,B.delay))break}while(B=S.shift());if(this._active=!1,k){for(;B=S.shift();)B.unsubscribe();throw k}}}},43236(wt,Ce,a){"use strict";a.d(Ce,{E:()=>_,b:()=>J});var I=a(96780);const _=new(a(39687).q)(I.R),J=_},86129(wt,Ce,a){"use strict";a.d(Ce,{U:()=>I});const I={now:()=>(I.delegate||Date).now(),delegate:void 0}},19270(wt,Ce,a){"use strict";a.d(Ce,{f:()=>I});const I={setTimeout(D,_,...J){const{delegate:B}=I;return B?.setTimeout?B.setTimeout(D,_,...J):setTimeout(D,_,...J)},clearTimeout(D){const{delegate:_}=I;return(_?.clearTimeout||clearTimeout)(D)},delegate:void 0}},4761(wt,Ce,a){"use strict";a.d(Ce,{l:()=>D});const D=function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494(wt,Ce,a){"use strict";a.d(Ce,{s:()=>I});const I="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350(wt,Ce,a){"use strict";a.d(Ce,{G:()=>D});const D=(0,a(81853).L)(_=>function(){_(this),this.name="EmptyError",this.message="no elements in sequence"})},9326(wt,Ce,a){"use strict";a.d(Ce,{R0:()=>S,lI:()=>B,ms:()=>J});var I=a(98071),D=a(79470);function _(k){return k[k.length-1]}function J(k){return(0,I.T)(_(k))?k.pop():void 0}function B(k){return(0,D.m)(_(k))?k.pop():void 0}function S(k,R){return"number"==typeof _(k)?k.pop():R}},93073(wt,Ce,a){"use strict";a.d(Ce,{D:()=>B});const{isArray:I}=Array,{getPrototypeOf:D,prototype:_,keys:J}=Object;function B(k){if(1===k.length){const R=k[0];if(I(R))return{args:R,keys:null};if(function S(k){return k&&"object"==typeof k&&D(k)===_}(R)){const H=J(R);return{args:H.map(ae=>R[ae]),keys:H}}}return{args:k,keys:null}}},42326(wt,Ce,a){"use strict";a.d(Ce,{K:()=>D});const{isArray:I}=Array;function D(_){return 1===_.length&&I(_[0])?_[0]:_}},57908(wt,Ce,a){"use strict";function I(D,_){if(D){const J=D.indexOf(_);0<=J&&D.splice(J,1)}}a.d(Ce,{o:()=>I})},81853(wt,Ce,a){"use strict";function I(D){const J=D(B=>{Error.call(B),B.stack=(new Error).stack});return J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J}a.d(Ce,{L:()=>I})},58496(wt,Ce,a){"use strict";function I(D,_){return D.reduce((J,B,S)=>(J[B]=_[S],J),{})}a.d(Ce,{e:()=>I})},49786(wt,Ce,a){"use strict";a.d(Ce,{Y:()=>_,l:()=>J});var I=a(41026);let D=null;function _(B){if(I.$.useDeprecatedSynchronousErrorHandling){const S=!D;if(S&&(D={errorThrown:!1,error:null}),B(),S){const{errorThrown:k,error:R}=D;if(D=null,k)throw R}}else B()}function J(B){I.$.useDeprecatedSynchronousErrorHandling&&D&&(D.errorThrown=!0,D.error=B)}},45225(wt,Ce,a){"use strict";function I(D,_,J,B=0,S=!1){const k=_.schedule(function(){J(),S?D.add(this.schedule(null,B)):this.unsubscribe()},B);if(D.add(k),!S)return k}a.d(Ce,{N:()=>I})},33669(wt,Ce,a){"use strict";function I(D){return D}a.d(Ce,{D:()=>I})},47441(wt,Ce,a){"use strict";a.d(Ce,{X:()=>I});const I=D=>D&&"number"==typeof D.length&&"function"!=typeof D},37953(wt,Ce,a){"use strict";a.d(Ce,{T:()=>D});var I=a(98071);function D(_){return Symbol.asyncIterator&&(0,I.T)(_?.[Symbol.asyncIterator])}},28211(wt,Ce,a){"use strict";function I(D){return D instanceof Date&&!isNaN(D)}a.d(Ce,{v:()=>I})},98071(wt,Ce,a){"use strict";function I(D){return"function"==typeof D}a.d(Ce,{T:()=>I})},55055(wt,Ce,a){"use strict";a.d(Ce,{l:()=>_});var I=a(3494),D=a(98071);function _(J){return(0,D.T)(J[I.s])}},85397(wt,Ce,a){"use strict";a.d(Ce,{x:()=>_});var I=a(4761),D=a(98071);function _(J){return(0,D.T)(J?.[I.l])}},59858(wt,Ce,a){"use strict";a.d(Ce,{y:()=>D});var I=a(98071);function D(_){return(0,I.T)(_?.then)}},15196(wt,Ce,a){"use strict";a.d(Ce,{C:()=>_,U:()=>J});var I=a(31635),D=a(98071);function _(B){return(0,I.AQ)(this,arguments,function*(){const k=B.getReader();try{for(;;){const{value:R,done:H}=yield(0,I.N3)(k.read());if(H)return yield(0,I.N3)(void 0);yield yield(0,I.N3)(R)}}finally{k.releaseLock()}})}function J(B){return(0,D.T)(B?.getReader)}},79470(wt,Ce,a){"use strict";a.d(Ce,{m:()=>D});var I=a(98071);function D(_){return _&&(0,I.T)(_.schedule)}},39974(wt,Ce,a){"use strict";a.d(Ce,{N:()=>_});var I=a(98071);function _(J){return B=>{if(function D(J){return(0,I.T)(J?.lift)}(B))return B.lift(function(S){try{return J(S,this)}catch(k){this.error(k)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450(wt,Ce,a){"use strict";a.d(Ce,{I:()=>J});var I=a(96354);const{isArray:D}=Array;function J(B){return(0,I.T)(S=>function _(B,S){return D(S)?B(...S):B(S)}(B,S))}},85343(wt,Ce,a){"use strict";function I(){}a.d(Ce,{l:()=>I})},71203(wt,Ce,a){"use strict";a.d(Ce,{F:()=>D,m:()=>_});var I=a(33669);function D(...J){return _(J)}function _(J){return 0===J.length?I.D:1===J.length?J[0]:function(S){return J.reduce((k,R)=>R(k),S)}}},45334(wt,Ce,a){"use strict";a.d(Ce,{m:()=>_});var I=a(41026),D=a(19270);function _(J){D.f.setTimeout(()=>{const{onUnhandledError:B}=I.$;if(!B)throw J;B(J)})}},50591(wt,Ce,a){"use strict";function I(D){return new TypeError(`You provided ${null!==D&&"object"==typeof D?"an invali
1d object":`'${D}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(Ce,{L:()=>I})},68173(wt,Ce,a){"use strict";a.d(Ce,{FX:()=>be,If:()=>I,K2:()=>S,PZ:()=>ve,hZ:()=>_,i0:()=>J,iF:()=>k,kY:()=>ae,kp:()=>D,sf:()=>me});var I=function(K){return K[K.State=0]="State",K[K.Transition=1]="Transition",K[K.Sequence=2]="Sequence",K[K.Group=3]="Group",K[K.Animate=4]="Animate",K[K.Keyframes=5]="Keyframes",K[K.Style=6]="Style",K[K.Trigger=7]="Trigger",K[K.Reference=8]="Reference",K[K.AnimateChild=9]="AnimateChild",K[K.AnimateRef=10]="AnimateRef",K[K.Query=11]="Query",K[K.Stagger=12]="Stagger",K}(I||{});const D="*";function _(K,de){return{type:I.Trigger,name:K,definitions:de,options:{}}}function J(K,de=null){return{type:I.Animate,styles:de,timings:K}}function S(K,de=null){return{type:I.Sequence,steps:K,options:de}}function k(K){return{type:I.Style,styles:K,offset:null}}function ae(K,de,fe=null){return{type:I.Transition,expr:K,animation:de,options:fe}}class me{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(de=0,fe=0){this.totalTime=de+fe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(de=>de()),this._onDoneFns=[])}onStart(de){this._originalOnStartFns.push(de),this._onStartFns.push(de)}onDone(de){this._originalOnDoneFns.push(de),this._onDoneFns.push(de)}onDestroy(de){this._onDestroyFns.push(de)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(de=>de()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(de=>de()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(de){this._position=this.totalTime?de*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(de){const fe="start"==de?this._onStartFns:this._onDoneFns;fe.forEach(Z=>Z()),fe.length=0}}class ve{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(de){this.players=de;let fe=0,Z=0,Ke=0;const ft=this.players.length;0==ft?queueMicrotask(()=>this._onFinish()):this.players.forEach(At=>{At.onDone(()=>{++fe==ft&&this._onFinish()}),At.onDestroy(()=>{++Z==ft&&this._onDestroy()}),At.onStart(()=>{++Ke==ft&&this._onStart()})}),this.totalTime=this.players.reduce((At,jt)=>Math.max(At,jt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(de=>de()),this._onDoneFns=[])}init(){this.players.forEach(de=>de.init())}onStart(de){this._onStartFns.push(de)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(de=>de()),this._onStartFns=[])}onDone(de){this._onDoneFns.push(de)}onDestroy(de){this._onDestroyFns.push(de)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(de=>de.play())}pause(){this.players.forEach(de=>de.pause())}restart(){this.players.forEach(de=>de.restart())}finish(){this._onFinish(),this.players.forEach(de=>de.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(de=>de.destroy()),this._onDestroyFns.forEach(de=>de()),this._onDestroyFns=[])}reset(){this.players.forEach(de=>de.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(de){const fe=de*this.totalTime;this.players.forEach(Z=>{const Ke=Z.totalTime?Math.min(1,fe/Z.totalTime):1;Z.setPosition(Ke)})}getPosition(){const de=this.players.reduce((fe,Z)=>null===fe||Z.totalTime>fe.totalTime?Z:fe,null);return null!=de?de.getPosition():0}beforeDestroy(){this.players.forEach(de=>{de.beforeDestroy&&de.beforeDestroy()})}triggerCallback(de){const fe="start"==de?this._onStartFns:this._onDoneFns;fe.forEach(Z=>Z()),fe.length=0}}const be="!"},49769(wt,Ce,a){"use strict";a.d(Ce,{B3:()=>Le,Jj:()=>or,MD:()=>Zr,P9:()=>Jr,PV:()=>ro,Pc:()=>xn,QX:()=>mr,Sq:()=>Cr,T3:()=>ke,TG:()=>St,YU:()=>kn,Yq:()=>Dn,bT:()=>it,e1:()=>tr,fG:()=>Kn,fw:()=>ae,lG:()=>Sn,m1:()=>zr,oe:()=>po,ux:()=>Nn,vh:()=>Wr});var J=a(17705),B=a(35547),S=a(60414),k=a(76307),R=a(45984),H=a(46494);let ae=(()=>{class x extends R.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(q,he){super(),this._platformLocation=q,null!=he&&(this._baseHref=he)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(q){this._removeListenerFns.push(this._platformLocation.onPopState(q),this._platformLocation.on
1HashChange(q))}getBaseHref(){return this._baseHref}path(q=!1){const he=this._platformLocation.hash??"#";return he.length>0?he.substring(1):he}prepareExternalUrl(q){const he=(0,R.om)(this._baseHref,q);return he.length>0?"#"+he:he}pushState(q,he,et,Bt){const Jt=this.prepareExternalUrl(et+(0,R.Q)(Bt))||this._platformLocation.pathname;this._platformLocation.pushState(q,he,Jt)}replaceState(q,he,et,Bt){const Jt=this.prepareExternalUrl(et+(0,R.Q)(Bt))||this._platformLocation.pathname;this._platformLocation.replaceState(q,he,Jt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(q=0){this._platformLocation.historyGo?.(q)}static \u0275fac=function(he){return new(he||x)(S.KVO(H.Vw),S.KVO(R.kB,8))};static \u0275prov=S.jDH({token:x,factory:x.\u0275fac})}return x})();const V={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],KGS:[void 0,"\u20c0"],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$","$"],XCG:["Cg."],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 G=function(x){return x[x.Decimal=0]="Decimal",x[x.Percent=1]="Percent",x[x.Currency=2]="Currency",x[x.Scientific=3]="Scientific",x}(G||{}),$=function(x){return x[x.Format=0]="Format",x[x.Standalone=1]="Standalone",x}($||{}),we=function(x){return x[x.Narrow=0]="Narrow",x[x.Abbreviated=1]="Abbreviated",x[x.Wide=2]="Wide",x[x.Short=3]="Short",x}(we||{}),me=function(x){return x[x.Short=0]="Short",x[x.Medium=1]="Medium",x[x.Long=2]="Long",x[x.Full=3]="Full",x}(me||{});function jt(x,Ee){return Re((0,B.kBR)(x)[B.NSC.DateFormat],Ee)}function Zt(x,Ee){return Re((0,B.kBR)(x)[B.NSC.TimeFormat],Ee)}function vt(x,Ee){return Re((0,B.kBR)(x)[B.NSC.DateTimeFormat],Ee)}function pt(x,Ee){const q=(0,B.kBR)(x),he=q[B.NSC.NumberSymbols][Ee];if(typeof he>"u"){if(12===Ee)return q[B.NSC.NumberSymbols][0];if(13===Ee)return q[B.NSC.NumberSymbols][1]}return he}function Pe(x,Ee){return(0,B.kBR)(x)[B.NSC.NumberFormats][Ee]}function $e(x){if(!x[B.NSC.ExtraData])throw new S.buA(2303,!1)}function Re(x,Ee){for(let q=Ee;q>-1;q--)if(typeof x[q]<"u")return x[q];throw new S.buA(2304,!1)}function Fe(x){const[Ee,q]=x.split(":");return{hours:+Ee,minutes:+q}}const Dt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,yt={},Ut=/((?:[^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 Dn(x,Ee,q,he){let et=function On(x){if(go(x))return x;if("number"==typeof x&&!isNaN(x))return new Date(x);if("string"==typeof x){if(x=x.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(x)){const[et,Bt=1,Jt=1]=x.split("-").map(mn=>+mn);return mt(et,Bt-1,Jt)}const q=parseFloat(x);if(!isNaN(x-q))return new Date(q);let he;if(he=x.match(Dt))return function eo(x){const Ee=new Date(0);let q=0,he=0;const et=x[8]?Ee.setUTCFullYear:Ee.setFullYear,Bt=x[8]?Ee.setUTCHours:Ee.setHours;x[9]&&(q=Number(x[9]+x[10]),he=Number(x[9]+x[11])),et.call(Ee,Number(x[1]),Number(x[2])-1,Number(x[3]));const Jt=Number(x[4]||0)-q,mn=Number(x[5]||0)-he,dr=Number(x[6]||0),fr=Math.floor(1e3*parseFloat("0."+(x[7]||0)));return Bt.call(Ee,Jt,mn,dr,fr),Ee}(he)}const Ee=new Date(x);if(!go(Ee))throw new S.buA(2311,!1);return Ee}(x);(function fn(x){if(x.length>256)throw new S.buA(2300,!1)})(Ee),Ee=ne(q,Ee)||Ee;let mn,Jt=[];for(;Ee;){if(mn=Ut.exec(Ee),!mn){Jt.push(Ee);break}{Jt=Jt.concat(mn.slice(1));const nr=Jt.pop();if(!nr)break;Ee=nr}}let dr=et.getTimezoneOffset();he&&(dr=Lr(he,dr),et=function jr(x,Ee){const et=x.getTimezoneOffset();return function Kr(x,Ee){return(x=new Date(x.getTime())).setMinutes(x.getMinutes()+Ee),x}(x,-1*(Lr(Ee,et)-et))}(et,he));let fr="";return Jt.forEach(nr=>{const zn=function No(x){if(xr[x])return xr[x];let Ee;switch(x){case"G":case"GG":case"GGG":Ee=Oe(3,we.Abbreviated);break;case"GGGG":Ee=Oe(3,we.Wide);break;case"GGGGG":Ee=Oe(3,we.Narrow);break;case"y":Ee=Ge(0,1,0,!1,!0);break;case"yy":Ee=Ge(0,2,0,!0,!0);break;case"yyy":Ee=Ge(0,3,0,!1,!0);break;case"yyyy":Ee=Ge(0,4,0,!1,!0);break;case"Y":Ee=Tr(1);break;case"YY":Ee=Tr(2,!0);break;case"YYY":Ee=Tr(3);break;case"YYYY":Ee=Tr(4);break;case"M":case"L":Ee=Ge(1,1,1);break;case"MM":case"LL":Ee=Ge(1,2,1);break;case"MMM":Ee=Oe(2,we.Abbreviated);break;case"MMMM":Ee=Oe(2,we.Wide);break;case"MMMMM":Ee=Oe(2,we.Narrow);break;case"LLL":Ee=Oe(2,we.Abbreviated,$.Standalone);break;case"LLLL":Ee=Oe(2,we.Wide,$.Standalone);break;case"LLLLL":Ee=Oe(2,we.Narrow,$.Standalone);break;case"w":Ee=yr(1);break;case"ww":Ee=yr(2);break;case"W":Ee=yr(1,!0);break;case"d":Ee=Ge(2,1);break;case"dd":Ee=Ge(2,2);break;case"c":case"cc":Ee=Ge(7,1);break;case"ccc":Ee=Oe(1,we.Abbreviated,$.Standalone);break;case"cccc":Ee=Oe(1,we.Wide,$.Standalone);break;case"ccccc":Ee=Oe(1,we.Narrow,$.Standalone);break;case"cccccc":Ee=Oe(1,we.Short,$.Standalone);break;case"E":case"EE":case"EEE":Ee=Oe(1,we.Abbreviated);break;case"EEEE":Ee=Oe(1,we.Wide);break;case"EEEEE":Ee=Oe(1,we.Narrow);break;case"EEEEEE":Ee=Oe(1,we.Short);break;case"a":case"aa":case"aaa":Ee=Oe(0,we.Abbreviated);break;case"aaaa":Ee=Oe(0,we.Wide);break;case"aaaaa":Ee=Oe(0,we.Narrow);break;
1case"b":case"bb":case"bbb":Ee=Oe(0,we.Abbreviated,$.Standalone,!0);break;case"bbbb":Ee=Oe(0,we.Wide,$.Standalone,!0);break;case"bbbbb":Ee=Oe(0,we.Narrow,$.Standalone,!0);break;case"B":case"BB":case"BBB":Ee=Oe(0,we.Abbreviated,$.Format,!0);break;case"BBBB":Ee=Oe(0,we.Wide,$.Format,!0);break;case"BBBBB":Ee=Oe(0,we.Narrow,$.Format,!0);break;case"h":Ee=Ge(3,1,-12);break;case"hh":Ee=Ge(3,2,-12);break;case"H":Ee=Ge(3,1);break;case"HH":Ee=Ge(3,2);break;case"m":Ee=Ge(4,1);break;case"mm":Ee=Ge(4,2);break;case"s":Ee=Ge(5,1);break;case"ss":Ee=Ge(5,2);break;case"S":Ee=Ge(6,1);break;case"SS":Ee=Ge(6,2);break;case"SSS":Ee=Ge(6,3);break;case"Z":case"ZZ":case"ZZZ":Ee=nn(0);break;case"ZZZZZ":Ee=nn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ee=nn(1);break;case"OOOO":case"ZZZZ":case"zzzz":Ee=nn(2);break;default:return null}return xr[x]=Ee,Ee}(nr);fr+=zn?zn(et,q,dr):"''"===nr?"'":nr.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),fr}function mt(x,Ee,q){const he=new Date(0);return he.setFullYear(x,Ee,q),he.setHours(0,0,0),he}function ne(x,Ee){const q=function K(x){return(0,B.kBR)(x)[B.NSC.LocaleId]}(x);if(yt[q]??={},yt[q][Ee])return yt[q][Ee];let he="";switch(Ee){case"shortDate":he=jt(x,me.Short);break;case"mediumDate":he=jt(x,me.Medium);break;case"longDate":he=jt(x,me.Long);break;case"fullDate":he=jt(x,me.Full);break;case"shortTime":he=Zt(x,me.Short);break;case"mediumTime":he=Zt(x,me.Medium);break;case"longTime":he=Zt(x,me.Long);break;case"fullTime":he=Zt(x,me.Full);break;case"short":const et=ne(x,"shortTime"),Bt=ne(x,"shortDate");he=A(vt(x,me.Short),[et,Bt]);break;case"medium":const Jt=ne(x,"mediumTime"),mn=ne(x,"mediumDate");he=A(vt(x,me.Medium),[Jt,mn]);break;case"long":const dr=ne(x,"longTime"),fr=ne(x,"longDate");he=A(vt(x,me.Long),[dr,fr]);break;case"full":const nr=ne(x,"fullTime"),zn=ne(x,"fullDate");he=A(vt(x,me.Full),[nr,zn])}return he&&(yt[q][Ee]=he),he}function A(x,Ee){return Ee&&(x=x.replace(/\{([^}]+)}/g,function(q,he){return null!=Ee&&he in Ee?Ee[he]:q})),x}function w(x,Ee,q="-",he,et){let Bt="";(x<0||et&&x<=0)&&(et?x=1-x:(x=-x,Bt=q));let Jt=String(x);for(;Jt.length<Ee;)Jt="0"+Jt;return he&&(Jt=Jt.slice(Jt.length-Ee)),Bt+Jt}function Ge(x,Ee,q=0,he=!1,et=!1){return function(Bt,Jt){let mn=function Nt(x,Ee){switch(x){case 0:return Ee.getFullYear();case 1:return Ee.getMonth();case 2:return Ee.getDate();case 3:return Ee.getHours();case 4:return Ee.getMinutes();case 5:return Ee.getSeconds();case 6:return Ee.getMilliseconds();case 7:return Ee.getDay();default:throw new S.buA(2301,!1)}}(x,Bt);if((q>0||mn>-q)&&(mn+=q),3===x)0===mn&&-12===q&&(mn=12);else if(6===x)return function ye(x,Ee){return w(x,3).substring(0,Ee)}(mn,Ee);const dr=pt(Jt,5);return w(mn,Ee,dr,he,et)}}function Oe(x,Ee,q=$.Format,he=!1){return function(et,Bt){return function Pt(x,Ee,q,he,et,Bt){switch(q){case 2:return function Z(x,Ee,q){const he=(0,B.kBR)(x),Bt=Re([he[B.NSC.MonthsFormat],he[B.NSC.MonthsStandalone]],Ee);return Re(Bt,q)}(Ee,et,he)[x.getMonth()];case 1:return function fe(x,Ee,q){const he=(0,B.kBR)(x),Bt=Re([he[B.NSC.DaysFormat],he[B.NSC.DaysStandalone]],Ee);return Re(Bt,q)}(Ee,et,he)[x.getDay()];case 0:const Jt=x.getHours(),mn=x.getMinutes();if(Bt){const fr=function Me(x){const Ee=(0,B.kBR)(x);return $e(Ee),(Ee[B.NSC.ExtraData][2]||[]).map(he=>"string"==typeof he?Fe(he):[Fe(he[0]),Fe(he[1])])}(Ee),nr=function X(x,Ee,q){const he=(0,B.kBR)(x);$e(he);const Bt=Re([he[B.NSC.ExtraData][0],he[B.NSC.ExtraData][1]],Ee)||[];return Re(Bt,q)||[]}(Ee,et,he),zn=fr.findIndex(br=>{if(Array.isArray(br)){const[pr,oo]=br,ri=Jt>=pr.hours&&mn>=pr.minutes,Fo=Jt<oo.hours||Jt===oo.hours&&mn<oo.minutes;if(pr.hours<oo.hours){if(ri&&Fo)return!0}else if(ri||Fo)return!0}else if(br.hours===Jt&&br.minutes===mn)return!0;return!1});if(-1!==zn)return nr[zn]}return function de(x,Ee,q){const he=(0,B.kBR)(x),Bt=Re([he[B.NSC.DayPeriodsFormat],he[B.NSC.DayPeriodsStandalone]],Ee);return Re(Bt,q)}(Ee,et,he)[Jt<12?0:1];case 3:return function Ke(x,Ee){return Re((0,B.kBR)(x)[B.NSC.Eras],Ee)}(Ee,he)[x.getFullYear()<=0?0:1];default:throw new S.buA(2302,!1)}}(et,Bt,x,Ee,q,he)}}
1function nn(x){return function(Ee,q,he){const et=-1*he,Bt=pt(q,5),Jt=et>0?Math.floor(et/60):Math.ceil(et/60);switch(x){case 0:return(et>=0?"+":"")+w(Jt,2,Bt)+w(Math.abs(et%60),2,Bt);case 1:return"GMT"+(et>=0?"+":"")+w(Jt,1,Bt);case 2:return"GMT"+(et>=0?"+":"")+w(Jt,2,Bt)+":"+w(Math.abs(et%60),2,Bt);case 3:return 0===he?"Z":(et>=0?"+":"")+w(Jt,2,Bt)+":"+w(Math.abs(et%60),2,Bt);default:throw new S.buA(2310,!1)}}}function Rn(x){const Ee=x.getDay(),q=0===Ee?-3:4-Ee;return mt(x.getFullYear(),x.getMonth(),x.getDate()+q)}function yr(x,Ee=!1){return function(q,he){let et;if(Ee){const Bt=new Date(q.getFullYear(),q.getMonth(),1).getDay()-1,Jt=q.getDate();et=1+Math.floor((Jt+Bt)/7)}else{const Bt=Rn(q),Jt=function yn(x){const Ee=mt(x,0,1).getDay();return mt(x,0,1+(Ee<=4?4:11)-Ee)}(Bt.getFullYear()),mn=Bt.getTime()-Jt.getTime();et=1+Math.round(mn/6048e5)}return w(et,x,pt(he,5))}}function Tr(x,Ee=!1){return function(q,he){return w(Rn(q).getFullYear(),x,pt(he,5),Ee)}}const xr={};function Lr(x,Ee){x=x.replace(/:/g,"");const q=Date.parse("Jan 01, 1970 00:00:00 "+x)/6e4;return isNaN(q)?Ee:q}function go(x){return x instanceof Date&&!isNaN(x.valueOf())}const bo=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function en(x,Ee,q,he,et,Bt,Jt=!1){let mn="",dr=!1;if(isFinite(x)){let fr=function Xr(x){let he,et,Bt,Jt,mn,Ee=Math.abs(x)+"",q=0;for((et=Ee.indexOf("."))>-1&&(Ee=Ee.replace(".","")),(Bt=Ee.search(/e/i))>0?(et<0&&(et=Bt),et+=+Ee.slice(Bt+1),Ee=Ee.substring(0,Bt)):et<0&&(et=Ee.length),Bt=0;"0"===Ee.charAt(Bt);Bt++);if(Bt===(mn=Ee.length))he=[0],et=1;else{for(mn--;"0"===Ee.charAt(mn);)mn--;for(et-=Bt,he=[],Jt=0;Bt<=mn;Bt++,Jt++)he[Jt]=Number(Ee.charAt(Bt))}return et>22&&(he=he.splice(0,21),q=et-1,et=1),{digits:he,exponent:q,integerLen:et}}(x);Jt&&(fr=function Ir(x){if(0===x.digits[0])return x;const Ee=x.digits.length-x.integerLen;return x.exponent?x.exponent+=2:(0===Ee?x.digits.push(0,0):1===Ee&&x.digits.push(0),x.integerLen+=2),x}(fr));let nr=Ee.minInt,zn=Ee.minFrac,br=Ee.maxFrac;if(Bt){const io=Bt.match(bo);if(null===io)throw new S.buA(2306,!1);const oi=io[1],Go=io[3],mo=io[5];null!=oi&&(nr=Tt(oi)),null!=Go&&(zn=Tt(Go)),null!=mo?br=Tt(mo):null!=Go&&zn>br&&(br=zn);const _o=100;if(nr>_o||zn>_o||br>_o)throw new S.buA(2306,!1)}!function Mo(x,Ee,q){if(Ee>q)throw new S.buA(2307,!1);let he=x.digits,et=he.length-x.integerLen;const Bt=Math.min(Math.max(Ee,et),q);let Jt=Bt+x.integerLen,mn=he[Jt];if(Jt>0){he.splice(Math.max(x.integerLen,Jt));for(let zn=Jt;zn<he.length;zn++)he[zn]=0}else{et=Math.max(0,et),x.integerLen=1,he.length=Math.max(1,Jt=Bt+1),he[0]=0;for(let zn=1;zn<Jt;zn++)he[zn]=0}if(mn>=5)if(Jt-1<0){for(let zn=0;zn>Jt;zn--)he.unshift(0),x.integerLen++;he.unshift(1),x.integerLen++}else he[Jt-1]++;for(;et<Math.max(0,Bt);et++)he.push(0);let dr=0!==Bt;const fr=Ee+x.integerLen,nr=he.reduceRight(function(zn,br,pr,oo){return oo[pr]=(br+=zn)<10?br:br-10,dr&&(0===oo[pr]&&pr>=fr?oo.pop():dr=!1),br>=10?1:0},0);nr&&(he.unshift(nr),x.integerLen++)}(fr,zn,br);let pr=fr.digits,oo=fr.integerLen;const ri=fr.exponent;let Fo=[];for(dr=pr.every(io=>!io);oo<nr;oo++)pr.unshift(0);for(;oo<0;oo++)pr.unshift(0);oo>0?Fo=pr.splice(oo,pr.length):(Fo=pr,pr=[0]);const Ho=[];for(pr.length>=Ee.lgSize&&Ho.unshift(pr.splice(-Ee.lgSize,pr.length).join(""));pr.length>Ee.gSize;)Ho.unshift(pr.splice(-Ee.gSize,pr.length).join(""));pr.length&&Ho.unshift(pr.join("")),mn=Ho.join(pt(q,he)),Fo.length&&(mn+=pt(q,et)+Fo.join("")),ri&&(mn+=pt(q,6)+"+"+ri)}else mn=pt(q,9);return mn=x<0&&!dr?Ee.negPre+mn+Ee.negSuf:Ee.posPre+mn+Ee.posSuf,mn}function Or(x,Ee="-"){const q={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},he=x.split(";"),et=he[0],Bt=he[1],Jt=-1!==et.indexOf(".")?et.split("."):[et.substring(0,et.lastIndexOf("0")+1),et.substring(et.lastIndexOf("0")+1)],mn=Jt[0],dr=Jt[1]||"";q.posPre=mn.substring(0,mn.indexOf("#"));for(let nr=0;nr<dr.length;nr++){const zn=dr.charAt(nr);"0"===zn?q.minFrac=q.maxFrac=nr+1:"#"===zn?q.maxFrac=nr+1:q.posSuf+=zn}const fr=mn.split(",");if(q.gSize=fr[1]?fr[1].length:0,q.lgSize=fr[2]||fr[1]?(fr[2]||fr[1]).length:0,Bt){const nr=et.length-q.posPre.length-q.posSuf.length,zn=Bt.indexOf("#");q.negPre=Bt.substring(0,zn).replace(/'/g,""),q.negSuf=Bt.slice(zn+nr).replace(/'/g,"")}else q.negPre=Ee+q.posPre,q.negSuf=q.posSuf;return q}function Tt(x){const Ee=parseInt(x);if(isNaN(Ee))throw new S.buA(2305,!1);return Ee}const un=/\s+/,Ln=[];let kn=(()=>{class x{_ngEl;_renderer;initialClasses=Ln;rawClass;stateMap=new Map;constructor(q,he){this._ngEl=q,this._renderer=he}set klass(q){this.initialClasses=null!=q?q.trim().split(un):Ln}set ngClass(q){this.rawClass="string"==typeof q?q.trim().split(un):q}ngDoCheck(){for(const he of this.initialClasses)this._updateState(he,!0);const q=this.rawClass;if(Array.isArray(q)||q instanceof Set)for(const he of q)this._updateState(he,!0);else if(null!=q)for(const he of Object.keys(q))this._updateState(he,!!q[he]);this._applyStateDiff()}_updateState(q,he){const et=this.stateMap.get(q);void 0!==et?(et.enabled!==he&&(et.changed=!0,et.enabled=he),et.touched=!0):this.stateMap.set(q,{enabled:he,changed:!0,touched:!0})}_applyStateDiff(){for(const q of this.stateMap){const he=q[0],et=q[1];et.changed?(this._toggleClass(he,et.enabled),et.changed=!1):et.touched||(et.enabled&&this._toggleClass(he,!1),this.stateMap.delete(he)),et.touched=!1}}_toggleClass(q,he){(q=q.trim()).length>
10&&q.split(un).forEach(et=>{he?this._renderer.addClass(this._ngEl.nativeElement,et):this._renderer.removeClass(this._ngEl.nativeElement,et)})}static \u0275fac=function(he){return new(he||x)(B.rXU(B.aKT),B.rXU(B.sFG))};static \u0275dir=B.FsC({type:x,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return x})();class gr{$implicit;ngForOf;index;count;constructor(Ee,q,he,et){this.$implicit=Ee,this.ngForOf=q,this.index=he,this.count=et}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 Cr=(()=>{class x{_viewContainer;_template;_differs;set ngForOf(q){this._ngForOf=q,this._ngForOfDirty=!0}set ngForTrackBy(q){this._trackByFn=q}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(q,he,et){this._viewContainer=q,this._template=he,this._differs=et}set ngForTemplate(q){q&&(this._template=q)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const q=this._ngForOf;!this._differ&&q&&(this._differ=this._differs.find(q).create(this.ngForTrackBy))}if(this._differ){const q=this._differ.diff(this._ngForOf);q&&this._applyChanges(q)}}_applyChanges(q){const he=this._viewContainer;q.forEachOperation((et,Bt,Jt)=>{if(null==et.previousIndex)he.createEmbeddedView(this._template,new gr(et.item,this._ngForOf,-1,-1),null===Jt?void 0:Jt);else if(null==Jt)he.remove(null===Bt?void 0:Bt);else if(null!==Bt){const mn=he.get(Bt);he.move(mn,Jt),Ft(mn,et)}});for(let et=0,Bt=he.length;et<Bt;et++){const mn=he.get(et).context;mn.index=et,mn.count=Bt,mn.ngForOf=this._ngForOf}q.forEachIdentityChange(et=>{Ft(he.get(et.currentIndex),et)})}static ngTemplateContextGuard(q,he){return!0}static \u0275fac=function(he){return new(he||x)(B.rXU(B.c1b),B.rXU(B.C4Q),B.rXU(J._q3))};static \u0275dir=B.FsC({type:x,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return x})();function Ft(x,Ee){x.context.$implicit=Ee.item}let it=(()=>{class x{_viewContainer;_context=new Rt;_thenTemplateRef=null;_elseTemplateRef=null;
1_thenViewRef=null;_elseViewRef=null;constructor(q,he){this._viewContainer=q,this._thenTemplateRef=he}set ngIf(q){this._context.$implicit=this._context.ngIf=q,this._updateView()}set ngIfThen(q){ln(q),this._thenTemplateRef=q,this._thenViewRef=null,this._updateView()}set ngIfElse(q){ln(q),this._elseTemplateRef=q,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(q,he){return!0}static \u0275fac=function(he){return new(he||x)(B.rXU(B.c1b),B.rXU(B.C4Q))};static \u0275dir=B.FsC({type:x,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return x})();class Rt{$implicit=null;ngIf=null}function ln(x,Ee){if(x&&!x.createEmbeddedView)throw new S.buA(2020,!1)}class qt{_viewContainerRef;_templateRef;_created=!1;constructor(Ee,q){this._viewContainerRef=Ee,this._templateRef=q}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ee){Ee&&!this._created?this.create():!Ee&&this._created&&this.destroy()}}let Nn=(()=>{class x{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(q){this._ngSwitch=q,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(q){this._defaultViews.push(q)}_matchCase(q){const he=q===this._ngSwitch;return this._lastCasesMatched||=he,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),he}_updateDefaultCases(q){if(this._defaultViews.length>0&&q!==this._defaultUsed){this._defaultUsed=q;for(const he of this._defaultViews)he.enforceState(q)}}static \u0275fac=function(he){return new(he||x)};static \u0275dir=B.FsC({type:x,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return x})(),tr=(()=>{class x{ngSwitch;_view;ngSwitchCase;constructor(q,he,et){this.ngSwitch=et,et._addCase(),this._view=new qt(q,he)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(he){return new(he||x)(B.rXU(B.c1b),B.rXU(B.C4Q),B.rXU(Nn,9))};static \u0275dir=B.FsC({type:x,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return x})(),Kn=(()=>{class x{constructor(q,he,et){et._addDefault(new qt(q,he))}static \u0275fac=function(he){return new(he||x)(B.rXU(B.c1b),B.rXU(B.C4Q),B.rXU(Nn,9))};static \u0275dir=B.FsC({type:x,selectors:[["","ngSwitchDefault",""]]})}return x})(),Le=(()=>{class x{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(q,he,et){this._ngEl=q,this._differs=he,this._renderer=et}set ngStyle(q){this._ngStyle=q,!this._differ&&q&&(this._differ=this._differs.find(q).create())}ngDoCheck(){if(this._differ){const q=this._differ.diff(this._ngStyle);q&&this._applyChanges(q)}}_setStyle(q,he){const[et,Bt]=q.split("."),Jt=-1===et.indexOf("-")?void 0:B.czy.DashCase;null!=he?this._renderer.setStyle(this._ngEl.nativeElement,et,Bt?`${he}${Bt}`:he,Jt):this._renderer.removeStyle(this._ngEl.nativeElement,et,Jt)}_applyChanges(q){q.forEachRemovedItem(he=>this._setStyle(he.key,null)),q.forEachAddedItem(he=>this._setStyle(he.key,he.currentValue)),q.forEachChangedItem(he=>this._setStyle(he.key,he.currentValue))}static \u0275fac=function(he){return new(he||x)(B.rXU(B.aKT),B.rXU(J.MKu),B.rXU(B.sFG))};static \u0275dir=B.FsC({type:x,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return x})(),ke=(()=>{class x{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=(0,S.WQX)(S.zZn);
1constructor(q){this._viewContainerRef=q}ngOnChanges(q){if(this._shouldRecreateView(q)){const he=this._viewContainerRef;if(this._viewRef&&he.remove(he.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const et=this._createContextForwardProxy();this._viewRef=he.createEmbeddedView(this.ngTemplateOutlet,et,{injector:this._getInjector()})}}_getInjector(){return"outlet"===this.ngTemplateOutletInjector?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(q){return!!q.ngTemplateOutlet||!!q.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(q,he,et)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,he,et),get:(q,he,et)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,he,et)}})}static \u0275fac=function(he){return new(he||x)(B.rXU(B.c1b))};static \u0275dir=B.FsC({type:x,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[B.OA$]})}return x})();function Ct(x,Ee){return new S.buA(2100,!1)}class An{createSubscription(Ee,q,he){return(0,k.O8)(()=>Ee.subscribe({next:q,error:he}))}dispose(Ee){(0,k.O8)(()=>Ee.unsubscribe())}}class Gn{createSubscription(Ee,q,he){return Ee.then(et=>q?.(et),et=>he?.(et)),{unsubscribe:()=>{q=null,he=null}}}dispose(Ee){Ee.unsubscribe()}}const cr=new Gn,Sr=new An;let or=(()=>{class x{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,S.WQX)(S.ZTf);constructor(q){this._ref=q}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(q){if(!this._obj){if(q)try{this.markForCheckOnValueUpdate=!1,this._subscribe(q)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return q!==this._obj?(this._dispose(),this.transform(q)):this._latestValue}_subscribe(q){this._obj=q,this._strategy=this._selectStrategy(q),this._subscription=this._strategy.createSubscription(q,he=>this._updateLatestValue(q,he),he=>this.applicationErrorHandler(he))}_selectStrategy(q){if((0,B.yLl)(q))return cr;if((0,B.cdK)(q))return Sr;throw Ct()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(q,he){q===this._obj&&(this._latestValue=he,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(he){return new(he||x)(B.rXU(J.gRc,16))};static \u0275pipe=B.EJ8({name:"async",type:x,pure:!1})}return x})();const wr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ro=(()=>{class x{transform(q){return null==q?null:(ur(0,q),q.replace(wr,he=>he[0].toUpperCase()+he.slice(1).toLowerCase()))}static \u0275fac=function(he){return new(he||x)};static \u0275pipe=B.EJ8({name:"titlecase",type:x,pure:!0})}return x})(),xn=(()=>{class x{transform(q){return null==q?null:(ur(0,q),q.toUpperCase())}static \u0275fac=function(he){return new(he||x)};static \u0275pipe=B.EJ8({name:"uppercase",type:x,pure:!0})}return x})();function ur(x,Ee){if("string"!=typeof Ee)throw Ct()}const kr=new S.nKC(""),Mr=new S.nKC("");let Wr=(()=>{class x{locale;defaultTimezone;defaultOptions;constructor(q,he,et){this.locale=q,this.defaultTimezone=he,this.defaultOptions=et}transform(q,he,et,Bt){if(null==q||""===q||q!=q)return null;try{return Dn(q,he??this.defaultOptions?.dateFormat??"mediumDate",Bt||this.locale,et??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Jt){throw Ct()}}static \u0275fac=function(he){return new(he||x)(B.rXU(B.xe9,16),B.rXU(kr,24),B.rXU(Mr,24))};static \u0275pipe=B.EJ8({name:"date",type:x,pure:!0})}return x})(),St=(()=>{class x{transform(q){return JSON.stringify(q,null,2)}static \u0275fac=function(he){return new(he||x)};static \u0275pipe=B.EJ8({name:"json",type:x,pure:!1})}return x})(),Sn=(()=>{class x{differs;constructor(q){this.differs=q}differ;keyValues=[];compareFn=ar;transform(q,he=ar){if(!q||!(q instanceof Map)&&"object"!=typeof q)return null;this.differ??=this.differs.find(q).create();const et=this.differ.diff(q),Bt=he!==this.compareFn;return et&&(this.keyValues=[],et.forEachItem(Jt=>{this.keyValues.push(function $t(x,Ee){return{key:x,value:Ee}}(Jt.key,Jt.currentValue))})),(et||Bt)&&(he&&this.keyValues.sort(he),this.compareFn=he),this.keyValues}static \u0275fac=function(he){return new(he||x)(B.rXU(J.MKu,16))};static \u0275pipe=B.EJ8({name:"keyvalue",type:x,pure:!1})}return x})();function ar(x,Ee){const q=x.key,he=Ee.key;if(q===he)return 0;if(null==q)return 1;if(null==he)return-1;if("string"==typeof q&&"string"==typeof he)return q<he?-1:1;if("number"==typeof q&&"number"==typeof he)return q-he;if("boolean"==typeof q&&"boolean"==typeof he)return q<he?-1:1;const et=String(q),Bt=String(he);return et==Bt?0:et<Bt?-1:1}let mr=(()=>{class x{_locale;constructor(q){this._locale=q}transform(q,he,et){if(!Oo(q))return null;et||=this._locale;try{return function Dr(x,Ee,q){return en(x,Or(Pe(Ee,G.Decimal),pt(Ee,5)),Ee,1,0,q)}(zo(q),et,he)}catch(Bt){throw Ct()}}static \u0275fac=function(he){return new(he||x)(B.rXU(B.xe9,16))};static \u0275pipe=B.EJ8({name:"number",type:x,pure:!0})}return x})(),zr=(()=>{class x{_locale;constructor(q){this._locale=q}transform(q,he,et){if(!Oo(q))return null;et||=this._locale;try{return function Er(x,Ee,q){return en(x,Or(Pe(Ee,G.Percent),pt(Ee,5)),Ee,1,0,q,!0).replace(new RegExp("%","g"),pt(Ee,3))}(zo(q),et,he)}catch(Bt){throw Ct()}}static \u0275fac=function(he){return new(he||x)(B.rXU(B.xe9,16))};static \u0275pipe=B.EJ8({name:"percent",type:x,pure:!0})}return x})(),po=(()=>{class x{_locale;_defaultCurrencyCode;constructor(q,he="USD"){this._locale=q,this._defaultCurrencyCode=he}transform(q,he=this._defaultCurrencyCode,et="symbol",Bt,Jt){if(!Oo(q))return null;Jt||=this._locale,"boolean"==typeof et&&(et=et?"symbol":"code");let mn=he||this._defaultCurrencyCode;"code"!==et&&(mn="symbol"===et||"symbol-narrow"===et?function Xe(x,Ee,q="en"){const he=function tt(x){return(0,B.kBR)(x)[B.NSC.Currencies]}(q)[x]||V[x]||[],et=he[1];return"narrow"===Ee&&"string"==typeof et?et:he[0]||x}(mn,"symbol"===et?"wide":"narrow",Jt):et);try{return function er(x,Ee,q,he,et){const Jt=Or(Pe(Ee,G.Currency),pt(Ee,5));return Jt.minFrac=function ht(x){let Ee;const q=V[x];return q&&(Ee=q[2]),"number"==typeof Ee?Ee:2}(he),Jt.maxFrac=Jt.minFrac,en(x,Jt,Ee,13,12,et).replace("\xa4",q).replace("\xa4","").trim()}(zo(q),Jt,mn,he,Bt)}catch(dr){throw Ct()}}static \u0275fac=function(he){return new(he||x)(B.rXU(B.xe9,16),B.rXU(B.Ocv,16))};static \u0275pipe=B.EJ8({name:"currency",type:x,pure:!0})}return x})();function Oo(x){return!(null==x||""===x||x!=x)}function zo(x){if("string"==typeof x&&!isNaN(Number(x)-parseFloat(x)))return Number(x);if("number"!=typeof x)throw new S.buA(2309,!1);return x}let Jr=(()=>{class x{transform(q,he,et){if(null==q)return null;if("string"!=typeof q&&!Array.isArray(q))throw Ct();return q.slice(he,et)}static \u0275fac=function(he){return new(he||x)};static \u0275pipe=B.EJ8({name:"slice",type:x,pure:!1})}return x})(),Zr=(()=>{class x{static \u0275fac=function(he){return new(he||x)};static \u0275mod=B.$C({type:x});static \u0275inj=S.G2t({})}return x})()},45984(wt,Ce,a){"use strict";a.d(Ce,{Q:()=>k,Sm:()=>ae,aZ:()=>$,hb:()=>R,kB:()=>H,om:()=>B});var D=a(60414),_=a(21413),J=a(46494);function B(K,de){return K?de?K.endsWith("/")?de.startsWith("/")?K+de.slice(1):K+de:de.startsWith("/")?K+de:`${K}/${de}`:K:de}function S(K){const de=K.search(/#|\?|$/);return"/"===K[de-1]?K.slice(0,de-1)+K.slice(de):K}function k(K){return K&&"?"!==K[0]?`?${K}`:K}let R=(()=>{class K{historyGo(fe){throw new Error("")}static \u0275fac=function(Z){return new(Z||K)};static \u0275prov=D.jDH({token:K,factory:()=>(0,D.WQX)(ae),providedIn:"root"})}return K})();const H=new D.nKC("");let ae=(()=>{class K extends R{_platformLocation;_baseHref;_removeListenerFns=[];constructor(fe,Z){super(),this._platformLocation=fe,this._baseHref=Z??this._platformLocation.getBaseHrefFromDOM()??(0,D.WQX)(D.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(fe){this._removeListenerFns.push(this._platformLocation.onPopState(fe),this._platformLocation.on
1HashChange(fe))}getBaseHref(){return this._baseHref}prepareExternalUrl(fe){return B(this._baseHref,fe)}path(fe=!1){const Z=this._platformLocation.pathname+k(this._platformLocation.search),Ke=this._platformLocation.hash;return Ke&&fe?`${Z}${Ke}`:Z}pushState(fe,Z,Ke,ft){const At=this.prepareExternalUrl(Ke+k(ft));this._platformLocation.pushState(fe,Z,At)}replaceState(fe,Z,Ke,ft){const At=this.prepareExternalUrl(Ke+k(ft));this._platformLocation.replaceState(fe,Z,At)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(fe=0){this._platformLocation.historyGo?.(fe)}static \u0275fac=function(Z){return new(Z||K)(D.KVO(J.Vw),D.KVO(H,8))};static \u0275prov=D.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})(),$=(()=>{class K{_subject=new _.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(fe){this._locationStrategy=fe;const Z=this._locationStrategy.getBaseHref();this._basePath=function be(K){if(new RegExp("^(https?:)?//").test(K)){const[,fe]=K.split(/\/\/[^\/]+/);return fe}return K}(S(ve(Z))),this._locationStrategy.onPopState(Ke=>{this._subject.next({url:this.path(!0),pop:!0,state:Ke.state,type:Ke.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(fe=!1){return this.normalize(this._locationStrategy.path(fe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(fe,Z=""){return this.path()==this.normalize(fe+k(Z))}normalize(fe){return K.stripTrailingSlash(function me(K,de){if(!K||!de.startsWith(K))return de;const fe=de.substring(K.length);return""===fe||["/",";","?","#"].includes(fe[0])?fe:de}(this._basePath,ve(fe)))}prepareExternalUrl(fe){return fe&&"/"!==fe[0]&&(fe="/"+fe),this._locationStrategy.prepareExternalUrl(fe)}go(fe,Z="",Ke=null){this._locationStrategy.pushState(Ke,"",fe,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(fe+k(Z)),Ke)}replaceState(fe,Z="",Ke=null){this._locationStrategy.replaceState(Ke,"",fe,Z),this._notifyUrlChangeListeners(this.prepareExternalUrl(fe+k(Z)),Ke)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(fe=0){this._locationStrategy.historyGo?.(fe)}onUrlChange(fe){return this._urlChangeListeners.push(fe),this._urlChangeSubscription??=this.subscribe(Z=>{this._notifyUrlChangeListeners(Z.url,Z.state)}),()=>{const Z=this._urlChangeListeners.indexOf(fe);this._urlChangeListeners.splice(Z,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(fe="",Z){this._urlChangeListeners.forEach(Ke=>Ke(fe,Z))}subscribe(fe,Z,Ke){return this._subject.subscribe({next:fe,error:Z??void 0,complete:Ke??void 0})}static normalizeQueryParams=k;static joinWithSlash=B;static stripTrailingSlash=S;static \u0275fac=function(Z){return new(Z||K)(D.KVO(R))};static \u0275prov=D.jDH({token:K,factory:()=>function we(){return new $((0,D.KVO)(R))}(),providedIn:"root"})}return K})();function ve(K){return K.replace(/\/index\.html$/,"")}},91413(wt,Ce,a){"use strict";a.d(Ce,{$R:()=>Vn,Lr:()=>ft,Ml:()=>No,Qq:()=>Lo,b$:()=>gr,cS:()=>Dn,hv:()=>yt,yz:()=>fn}),a(10467);var G=a(60414),re=a(35547),$=a(70274),we=a(5964),me=a(70980),ve=a(96354),be=a(25558),K=a(71985),fe=(a(86648),a(7673)),Z=a(73117),Ke=a(46494);class ft{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Be){Be?"string"==typeof Be?this.lazyInit=()=>{this.headers=new Map,Be.split("\n").forEach(Se=>{const Le=Se.indexOf(":");if(Le>0){const ke=Se.slice(0,Le),xt=Se.slice(Le+1).trim();this.addHeaderEntry(ke,xt)}})}:typeof Headers<"u"&&Be instanceof Headers?(this.headers=new Map,Be.forEach((Se,Le)=>{this.addHeaderEntry(Le,Se)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Be).forEach(([Se,Le])=>{this.setHeaderEntries(Se,Le)})}:this.headers=new Map}has(Be){return this.init(),this.headers.has(Be.toLowerCase())}get(Be){this.init();const Se=this.headers.get(Be.toLowerCase());return Se&&Se.length>0?Se[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Be){return this.init(),this.headers.get(Be.toLowerCase())||null}append(Be,Se){return this.clone({name:Be,value:Se,op:"a"})}set(Be,Se){return this.clone({name:Be,value:Se,op:"s"})}delete(Be,Se){return this.clone({name:Be,value:Se,op:"d"})}maybeSetNormalizedName(Be,Se){this.normalizedNames.has(Se)||this.normalizedNames.set(Se,Be)}init(){this.lazyInit&&(this.lazyInit instanceof ft?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Be=>this.applyUpdate(Be)),this.lazyUpdate=null))}
1copyFrom(Be){Be.init(),Array.from(Be.headers.keys()).forEach(Se=>{this.headers.set(Se,Be.headers.get(Se)),this.normalizedNames.set(Se,Be.normalizedNames.get(Se))})}clone(Be){const Se=new ft;return Se.lazyInit=this.lazyInit&&this.lazyInit instanceof ft?this.lazyInit:this,Se.lazyUpdate=(this.lazyUpdate||[]).concat([Be]),Se}applyUpdate(Be){const Se=Be.name.toLowerCase();switch(Be.op){case"a":case"s":let Le=Be.value;if("string"==typeof Le&&(Le=[Le]),0===Le.length)return;this.maybeSetNormalizedName(Be.name,Se);const ke=("a"===Be.op?this.headers.get(Se):void 0)||[];ke.push(...Le),this.headers.set(Se,ke);break;case"d":const xt=Be.value;if(xt){let Ct=this.headers.get(Se);if(!Ct)return;Ct=Ct.filter(sn=>-1===xt.indexOf(sn)),0===Ct.length?(this.headers.delete(Se),this.normalizedNames.delete(Se)):this.headers.set(Se,Ct)}else this.headers.delete(Se),this.normalizedNames.delete(Se)}}addHeaderEntry(Be,Se){const Le=Be.toLowerCase();this.maybeSetNormalizedName(Be,Le),this.headers.has(Le)?this.headers.get(Le).push(Se):this.headers.set(Le,[Se])}setHeaderEntries(Be,Se){const Le=(Array.isArray(Se)?Se:[Se]).map(xt=>xt.toString()),ke=Be.toLowerCase();this.headers.set(ke,Le),this.maybeSetNormalizedName(Be,ke)}forEach(Be){this.init(),Array.from(this.normalizedNames.keys()).forEach(Se=>Be(this.normalizedNames.get(Se),this.headers.get(Se)))}}class Zt{map=new Map;set(Be,Se){return this.map.set(Be,Se),this}get(Be){return this.map.has(Be)||this.map.set(Be,Be.defaultValue()),this.map.get(Be)}delete(Be){return this.map.delete(Be),this}has(Be){return this.map.has(Be)}keys(){return this.map.keys()}}class vt{encodeKey(Be){return Je(Be)}encodeValue(Be){return Je(Be)}decodeKey(Be){return decodeURIComponent(Be)}decodeValue(Be){return decodeURIComponent(Be)}}const Pe=/%(\d[a-f0-9])/gi,xe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Je(pe){return encodeURIComponent(pe).replace(Pe,(Be,Se)=>xe[Se]??Be)}function st(pe){return`${pe}`}class tt{map;encoder;updates=null;cloneFrom=null;constructor(Be={}){if(this.encoder=Be.encoder||new vt,Be.fromString){if(Be.fromObject)throw new G.buA(2805,!1);this.map=function pt(pe,Be){const Se=new Map;return pe.length>0&&pe.replace(/^\?/,"").split("&").forEach(ke=>{const xt=ke.indexOf("="),[Ct,sn]=-1==xt?[Be.decodeKey(ke),""]:[Be.decodeKey(ke.slice(0,xt)),Be.decodeValue(ke.slice(xt+1))],An=Se.get(Ct)||[];An.push(sn),Se.set(Ct,An)}),Se}(Be.fromString,this.encoder)}else Be.fromObject?(this.map=new Map,Object.keys(Be.fromObject).forEach(Se=>{const Le=Be.fromObject[Se],ke=Array.isArray(Le)?Le.map(st):[st(Le)];this.map.set(Se,ke)})):this.map=null}has(Be){return this.init(),this.map.has(Be)}get(Be){this.init();const Se=this.map.get(Be);return Se?Se[0]:null}getAll(Be){return this.init(),this.map.get(Be)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Be,Se){return this.clone({param:Be,value:Se,op:"a"})}appendAll(Be){const Se=[];return Object.keys(Be).forEach(Le=>{const ke=Be[Le];Array.isArray(ke)?ke.forEach(xt=>{Se.push({param:Le,value:xt,op:"a"})}):Se.push({param:Le,value:ke,op:"a"})}),this.clone(Se)}set(Be,Se){return this.clone({param:Be,value:Se,op:"s"})}delete(Be,Se){return this.clone({param:Be,value:Se,op:"d"})}toString(){return this.init(),this.keys().map(Be=>{const Se=this.encoder.encodeKey(Be);return this.map.get(Be).map(Le=>Se+"="+this.encoder.encodeValue(Le)).join("&")}).filter(Be=>""!==Be).join("&")}clone(Be){const Se=new tt({encoder:this.encoder});return Se.cloneFrom=this.cloneFrom||this,Se.updates=(this.updates||[]).concat(Be),Se}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Be=>this.map.set(Be,this.cloneFrom.map.get(Be))),this.updates.forEach(Be=>{switch(Be.op){case"a":case"s":const Se=("a"===Be.op?this.map.get(Be.param):void 0)||[];Se.push(st(Be.value)),this.map.set(Be.param,Se);break;case"d":if(void 0===Be.value){this.map.delete(Be.param);break}{let Le=this.map.get(Be.param)||[];const ke=Le.indexOf(st(Be.value));-1!==ke&&Le.splice(ke,1),Le.length>0?this.map.set(Be.param,Le):this.map.delete(Be.param)}}}),this.cloneFrom=this.updates=null)}}function $e(pe){return typeof ArrayBuffer<"u"&&pe instanceof ArrayBuffer}function Me(pe){return typeof Blob<"u"&&pe instanceof Blob}function X(pe){return typeof FormData<"u"&&pe instanceof FormData}const Re="Content-Type",Xe="text/plain",dt="application/json",ht=`${dt}, ${Xe}, */*`;class Dt{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Be,Se,Le,ke){let xt;if(this.url=Se,this.method=Be.toUpperCase(),function nt(pe){switch(pe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==Le?Le:null,xt=ke):xt=Le,xt){if(this.reportProgress=!!xt.reportProgress,this.withCredentials=!!xt.withCredentials,this.keepalive=!!xt.keepalive,xt.responseType&&(this.responseType=xt.responseType),xt.headers&&(this.headers=xt.headers),xt.context&&(this.context=xt.context),xt.params&&(this.params=xt.params),xt.priority&&(this.priority=xt.priority),xt.cache&&(this.cache=xt.cache),xt.credentials&&(this.credentials=xt.credentials),"number"==typeof xt.timeout){if(xt.timeout<1||!Number.isInteger(xt.timeout))throw new G.buA(2822,"");this.timeout=xt.timeout}xt.mode&&(this.mode=xt.mode),xt.redirect&&(this.redirect=xt.redirect),xt.integrity&&(this.integrity=xt.integrity),void 0!==xt.referrer&&(this.referrer=xt.referrer),xt.referrerPolicy&&(this.referrerPolicy=xt.referrerPolicy),this.transferCache=xt.transferCache}if(this.headers??=new ft,this.context??=new Zt,this.params){const Ct=this.params.toString();if(0===Ct.length)this.urlWithParams=Se;else{const sn=Se.indexOf("?");this.urlWithParams=Se+(-1===sn?"?":sn<Se.length-1?"&":"")+Ct}}else this.params=new tt,this.urlWithParams=Se}serializeBody(){return null===this.body?null:"string"==typeof this.body||$e(this.body)||Me(this.body)||X(this.body)||function De(pe){return typeof URLSearchParams<"u"&&pe instanceof URLSearchParams}(this.body)?this.body:this.body instanceof tt?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||X(this.body)?null:Me(this.body)?this.body.type||null:$e(this.body)?null:"string"==typeof this.body?Xe:this.body instanceof tt?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?dt:null}clone(Be={}){const Se=Be.method||this.method,Le=Be.url||this.url,ke=Be.responseType||this.responseType,xt=Be.keepalive??this.keepalive,Ct=Be.priority||this.priority,sn=Be.cache||this.cache,An=Be.mode||this.mode,Gn=Be.redirect||this.redirect,cr=Be.credentials||this.credentials,Sr=Be.referrer??this.referrer,or=Be.integrity||this.integrity,$r=Be.referrerPolicy||this.referrerPolicy,wr=Be.transferCache??this.transferCache,ro=Be.timeout??this.timeout,xn=void 0!==Be.body?Be.body:this.body,ur=Be.withCredentials??this.withCredentials,Rr=Be.reportProgress??this.reportProgress;let kr=Be.headers||this.headers,Mr=Be.params||this.params;const Wr=Be.context??this.context;return void 0!==Be.setHeaders&&(kr=Object.keys(Be.setHeaders).reduce((lo,We)=>lo.set(We,Be.setHeaders[We]),kr)),Be.setParams&&(Mr=Object.keys(Be.setParams).reduce((lo,We)=>lo.set(We,Be.setParams[We]),Mr)),new Dt(Se,Le,xn,{params:Mr,headers:kr,context:Wr,reportProgress:Rr,responseType:ke,withCredentials:ur,transferCache:wr,keepalive:xt,cache:sn,priority:Ct,timeout:ro,mode:An,redirect:Gn,credentials:cr,referrer:Sr,integrity:or,referrerPolicy:$r})}}var yt=function(pe){return pe[pe.Sent=0]="Sent",pe[pe.UploadProgress=1]="UploadProgress",pe[pe.ResponseHeader=2]="ResponseHeader",pe[pe.DownloadProgress=3]="DownloadProgress",pe[pe.Response=4]="Response",pe[pe.User=5]="User",pe}(yt||{});class Ut{headers;status;statusText;url;ok;type;redirected;responseType;constructor(Be,Se=200,Le="OK"){this.headers=Be.headers||new ft,this.status=void 0!==Be.status?Be.status:Se,this.statusText=Be.statusText||Le,this.url=Be.url||null,this.redirected=Be.redirected,this.responseType=Be.responseType,this.ok=this.status>=200&&this.status<300}}class Ht extends Ut{constructor(Be={}){super(Be)}type=yt.ResponseHeader;clone(Be={}){return new Ht({headers:Be.headers||this.headers,status:void 0!==Be.status?Be.status:this.status,statusText:Be.statusText||this.statusText,url:Be.url||this.url||void 0})}}class Dn extends Ut{body;constructor(Be={}){super(Be),this.body=void 0!==Be.body?Be.body:null}type=yt.Response;clone(Be={}){return new Dn({body:void 0!==Be.body?Be.body:this.body,headers:Be.headers||this.headers,status:void 0!==Be.status?Be.status:this.status,statusText:Be.statusText||this.statusText,url:Be.url||this.url||void 0,redirected:Be.redirected??this.redirected,responseType:Be.responseType??this.responseType})}}class fn extends Ut{name="HttpErrorResponse";message;error;ok=!1;constructor(Be){super(Be,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Be.url||"(unknown url)"}`:`Http failure response for ${Be.url||"(unknown url)"}: ${Be.status} ${Be.statusText}`,this.error=Be.error||null}}const w=new G.nKC(""),nn=/^\)\]\}',?\n/;let vn=(()=>{class pe{xhrFactory;tracingService=(0,G.WQX)(re.a8H,{optional:!0});constructor(Se){this.xhrFactory=Se}maybePropagateTrace(Se){return this.tracingService?.propagate?this.tracingService.propagate(Se):Se}handle(Se){if("JSONP"===Se.method)throw new G.buA(-2800,!1);const Le=this.xhrFactory;return(0,fe.of)(null).pipe((0,be.n)(()=>new K.c(xt=>{const Ct=Le.build();if(Ct.open(Se.method,Se.urlWithParams),Se.withCredentials&&(Ct.withCredentials=!0),Se.headers.forEac
1h((xn,ur)=>Ct.setRequestHeader(xn,ur.join(","))),Se.headers.has("Accept")||Ct.setRequestHeader("Accept",ht),!Se.headers.has(Re)){const xn=Se.detectContentTypeHeader();null!==xn&&Ct.setRequestHeader(Re,xn)}if(Se.timeout&&(Ct.timeout=Se.timeout),Se.responseType){const xn=Se.responseType.toLowerCase();Ct.responseType="json"!==xn?xn:"text"}const sn=Se.serializeBody();let An=null;const Gn=()=>{if(null!==An)return An;const xn=Ct.statusText||"OK",ur=new ft(Ct.getAllResponseHeaders());return An=new Ht({headers:ur,status:Ct.status,statusText:xn,url:Ct.responseURL||Se.url}),An},cr=this.maybePropagateTrace(()=>{let{headers:xn,status:ur,statusText:Rr,url:kr}=Gn(),Mr=null;204!==ur&&(Mr=typeof Ct.response>"u"?Ct.responseText:Ct.response),0===ur&&(ur=Mr?200:0);let Wr=ur>=200&&ur<300;if("json"===Se.responseType&&"string"==typeof Mr){const lo=Mr;Mr=Mr.replace(nn,"");try{Mr=""!==Mr?JSON.parse(Mr):null}catch(We){Mr=lo,Wr&&(Wr=!1,Mr={error:We,text:Mr})}}Wr?(xt.next(new Dn({body:Mr,headers:xn,status:ur,statusText:Rr,url:kr||void 0})),xt.complete()):xt.error(new fn({error:Mr,headers:xn,status:ur,statusText:Rr,url:kr||void 0}))}),Sr=this.maybePropagateTrace(xn=>{const{url:ur}=Gn(),Rr=new fn({error:xn,status:Ct.status||0,statusText:Ct.statusText||"Unknown Error",url:ur||void 0});xt.error(Rr)});let or=Sr;Se.timeout&&(or=this.maybePropagateTrace(xn=>{const{url:ur}=Gn(),Rr=new fn({error:new DOMException("Request timed out","TimeoutError"),status:Ct.status||0,statusText:Ct.statusText||"Request timeout",url:ur||void 0});xt.error(Rr)}));let $r=!1;const wr=this.maybePropagateTrace(xn=>{$r||(xt.next(Gn()),$r=!0);let ur={type:yt.DownloadProgress,loaded:xn.loaded};xn.lengthComputable&&(ur.total=xn.total),"text"===Se.responseType&&Ct.responseText&&(ur.partialText=Ct.responseText),xt.next(ur)}),ro=this.maybePropagateTrace(xn=>{let ur={type:yt.UploadProgress,loaded:xn.loaded};xn.lengthComputable&&(ur.total=xn.total),xt.next(ur)});return Ct.addEventListener("load",cr),Ct.addEventListener("error",Sr),Ct.addEventListener("timeout",or),Ct.addEventListener("abort",Sr),Se.reportProgress&&(Ct.addEventListener("progress",wr),null!==sn&&Ct.upload&&Ct.upload.addEventListener("progress",ro)),Ct.send(sn),xt.next({type:yt.Sent}),()=>{Ct.removeEventListener("error",Sr),Ct.removeEventListener("abort",Sr),Ct.removeEventListener("load",cr),Ct.removeEventListener("timeout",or),Se.reportProgress&&(Ct.removeEventListener("progress",wr),null!==sn&&Ct.upload&&Ct.upload.removeEventListener("progress",ro)),Ct.readyState!==Ct.DONE&&Ct.abort()}})))}static \u0275fac=function(Le){return new(Le||pe)(G.KVO(Z.N))};static \u0275prov=G.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();function yn(pe,Be){return Be(pe)}const xr=new G.nKC("",{factory:()=>[]}),No=new G.nKC(""),Lr=new G.nKC("",{factory:()=>!0});let jr=(()=>{class pe{static \u0275fac=function(Le){return new(Le||pe)};static \u0275prov=G.jDH({token:pe,factory:function(Le){let ke=null;return ke=Le?new(Le||pe):G.KVO(vn),ke},providedIn:"root"})}return pe})(),eo=(()=>{class pe{backend;injector;chain=null;pendingTasks=(0,G.WQX)(G.u5s);contributeToStability=(0,G.WQX)(Lr);constructor(Se,Le){this.backend=Se,this.injector=Le}handle(Se){if(null===this.chain){const Le=Array.from(new Set([...this.injector.get(xr),...this.injector.get(No,[])]));this.chain=Le.reduceRight((ke,xt)=>function yr(pe,Be,Se){return(Le,ke)=>(0,G.N4e)(Se,()=>Be(Le,xt=>pe(xt,ke)))}(ke,xt,this.injector),yn)}if(this.contributeToStability){const Le=this.pendingTasks.add();return this.chain(Se,ke=>this.backend.handle(ke)).pipe((0,me.j)(Le))}return this.chain(Se,Le=>this.backend.handle(Le))}static \u0275fac=function(Le){return new(Le||pe)(G.KVO(jr),G.KVO(G.uvJ))};static \u0275prov=G.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),go=(()=>{class pe{static \u0275fac=function(Le){return new(Le||pe)};static \u0275prov=G.jDH({token:pe,factory:function(Le){let ke=null;return ke=Le?new(Le||pe):G.KVO(eo),ke},providedIn:"root"})}return pe})();function bo(pe,Be){return{body:Be,headers:pe.headers,context:pe.context,observe:pe.observe,params:pe.params,reportProgress:pe.reportProgress,responseType:pe.responseType,withCredentials:pe.withCredentials,credentials:pe.credentials,transferCache:pe.transferCache,timeout:pe.timeout,keepalive:pe.keepalive,priority:pe.priority,cache:pe.cache,mode:pe.mode,redirect:pe.redirect,integrity:pe.integrity,referrer:pe.referrer,referrerPolicy:pe.referrerPolicy}}let Lo=(()=>{class pe{handler;constructor(Se){this.handler=Se}request(Se,Le,ke={}){let xt;if(Se instanceof Dt)xt=Se;else{let An,Gn;An=ke.headers instanceof ft?ke.headers:new ft(ke.headers),ke.params&&(Gn=ke.params instanceof tt?ke.params:new tt({fromObject:ke.params})),xt=new Dt(Se,Le,void 0!==ke.body?ke.body:null,{headers:An,context:ke.context,params:Gn,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials,transferCache:ke.transferCache,keepalive:ke.keepalive,priority:ke.priority,cache:ke.cache,mode:ke.mode,redirect:ke.redirect,credentials:ke.credentials,referrer:ke.referrer,referrerPolicy:ke.referrerPolicy,integrity:ke.integrity,timeout:ke.timeout})}const Ct=(0,fe.of)(xt).pipe((0,$.H)(An=>this.handler.handle(An)));if(Se instanceof Dt||"events"===ke.observe)return Ct;const sn=Ct.pipe((0,we.p)(An=>An instanceof Dn));switch(ke.observe||"body"){case"body":switch(xt.responseType){case"arraybuffer":return sn.pipe((0,ve.T)(An=>{if(null!==An.body&&!(An.body instanceof ArrayBuffer))throw new G.buA(2806,!1);return An.body}));case"blob":return sn.pipe((0,ve.T)(An=>{if(null!==An.body&&!(An.body instanceof Blob))throw new G.buA(2807,!1);return An.body}));case"text":return sn.pipe((0,ve.T)(An=>{if(null!==An.body&&"string"!=typeof An.body)throw new G.buA(2808,!1);return An.body}));default:return sn.pipe((0,ve.T)(An=>An.body))}case"response":return sn;default:throw new G.buA(2809,!1)}}delete(Se,Le={}){return this.request("DELETE",Se,Le)}get(Se,Le={}){return this.request("GET",Se,Le)}head(Se,Le={}){return this.request("HEAD",Se,Le)}jsonp(Se,Le){return this.request("JSONP",Se,{params:(new tt).append(Le,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Se,Le={}){return this.request("OPTIONS",Se,Le)}patch(Se,Le,ke={}){return this.request("PATCH",Se,bo(ke,Le))}post(Se,Le,ke={}){return this.request("POST",Se,bo(ke,Le))}put(Se,Le,ke={}){return this.request("PUT",Se,bo(ke,Le))}static \u0275fac=function(Le){return new(Le||pe)(G.KVO(go))};static \u0275prov=G.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})();const Ir=new G.nKC("",{factory:()=>!0}),Mo=new G.nKC("",{factory:()=>"XSRF-TOKEN"}),Gt=new G.nKC("",{factory:()=>"X-XSRF-TOKEN"});let Ze=(()=>{class pe{cookieName=(0,G.WQX)(Mo);doc=(0,G.WQX)(G.qQL);
1lastCookieString="";lastToken=null;parseCount=0;getToken(){const Se=this.doc.cookie||"";return Se!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,Z.b)(Se,this.cookieName),this.lastCookieString=Se),this.lastToken}static \u0275fac=function(Le){return new(Le||pe)};static \u0275prov=G.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}return pe})(),qe=(()=>{class pe{static \u0275fac=function(Le){return new(Le||pe)};static \u0275prov=G.jDH({token:pe,factory:function(Le){let ke=null;return ke=Le?new(Le||pe):G.KVO(Ze),ke},providedIn:"root"})}return pe})();function un(pe,Be){if(!(0,G.WQX)(Ir)||"GET"===pe.method||"HEAD"===pe.method)return Be(pe);try{const ke=(0,G.WQX)(Ke.Vw).href,{origin:xt}=new URL(ke),{origin:Ct}=new URL(pe.url,xt);if(xt!==Ct)return Be(pe)}catch{return Be(pe)}const Se=(0,G.WQX)(qe).getToken(),Le=(0,G.WQX)(Gt);return null!=Se&&!pe.headers.has(Le)&&(pe=pe.clone({headers:pe.headers.set(Le,Se)})),Be(pe)}var kn=function(pe){return pe[pe.Interceptors=0]="Interceptors",pe[pe.LegacyInterceptors=1]="LegacyInterceptors",pe[pe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",pe[pe.NoXsrfProtection=3]="NoXsrfProtection",pe[pe.JsonpSupport=4]="JsonpSupport",pe[pe.RequestsMadeViaParent=5]="RequestsMadeViaParent",pe[pe.Fetch=6]="Fetch",pe}(kn||{});function Vn(...pe){const Be=[Lo,eo,{provide:go,useExisting:eo},{provide:jr,useFactory:()=>(0,G.WQX)(w,{optional:!0})??(0,G.WQX)(vn)},{provide:xr,useValue:un,multi:!0}];for(const Se of pe)Be.push(...Se.\u0275providers);return(0,G.EmA)(Be)}function gr(pe){return function Mn(pe,Be){return{\u0275kind:pe,\u0275providers:Be}}(kn.Interceptors,pe.map(Be=>({provide:xr,useValue:Be,multi:!0})))}},46494(wt,Ce,a){"use strict";a.d(Ce,{Vw:()=>S,hj:()=>k,ig:()=>J,qj:()=>B,rb:()=>_});var I=a(60414);let D=null;function _(){return D}function J(H){D??=H}class B{}let S=(()=>{class H{historyGo(V){throw new Error("")}static \u0275fac=function(G){return new(G||H)};static \u0275prov=I.jDH({token:H,factory:()=>(0,I.WQX)(R),providedIn:"platform"})}return H})();const k=new I.nKC("");let R=(()=>{class H extends S{_location;_history;_doc=(0,I.WQX)(I.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _().getBaseHref(this._doc)}onPopState(V){const G=_().getGlobalEventTarget(this._doc,"window");return G.addEventListener("popstate",V,!1),()=>G.removeEventListener("popstate",V)}onHashChange(V){const G=_().getGlobalEventTarget(this._doc,"window");return G.addEventListener("hashchange",V,!1),()=>G.removeEventListener("hashchange",V)}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(V){this._location.pathname=V}pushState(V,G,re){this._history.pushState(V,G,re)}replaceState(V,G,re){this._history.replaceState(V,G,re)}forward(){this._history.forward()}back(){this._history.back()}historyGo(V=0){this._history.go(V)}getState(){return this._history.state}static \u0275fac=function(G){return new(G||H)};static \u0275prov=I.jDH({token:H,factory:()=>new H,providedIn:"platform"})}return H})()},73117(wt,Ce,a){"use strict";function I(_,J){J=encodeURIComponent(J);for(const B of _.split(";")){const S=B.indexOf("="),[k,R]=-1==S?[B,""]:[B.slice(0,S),B.slice(S+1)];if(k.trim()===J)return decodeURIComponent(R)}return null}a.d(Ce,{N:()=>D,b:()=>I});class D{}},60177(wt,Ce,a){"use strict";a.d(Ce,{AJ:()=>vt,UE:()=>Pe,Vy:()=>xe,Xr:()=>st});var At=a(60414);const vt="browser";function Pe(We){return We===vt}function xe(We){return"server"===We}let st=(()=>{class We{static \u0275prov=(0,At.jDH)({token:We,providedIn:"root",factory:()=>new tt((0,At.WQX)(At.qQL),window)})}return We})();class tt{document;window;offset=()=>[0,0];constructor(ct,St){this.document=ct,this.window=St}setOffset(ct){this.offset=Array.isArray(ct)?()=>ct:ct}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(ct,St){this.window.scrollTo({...St,left:ct[0],top:ct[1]})}scrollToAnchor(ct,St){const $t=function nt(We,ct){const St=We.getElementById(ct)||We.getElementsByName(ct)[0];if(St)return St;if("function"==typeof We.createTreeWalker&&We.body&&"function"==typeof We.body.attachShadow){const $t=We.createTreeWalker(We.body,NodeFilter.SHOW_ELEMENT);let Sn=$t.currentNode;for(;Sn;){const ar=Sn.shadowRoot;if(ar){const mr=ar.getElementById(ct)||ar.querySelector(`[name="${ct}"]`);if(mr)return mr}Sn=$t.nextNode()}}return null}(this.document,ct);$t&&(this.scrollToElement($t,St),$t.focus({preventScroll:!0}))}setHistoryScrollRestoration(ct){try{this.window.history.scrollRestoration=ct}catch{console.warn((0,At.OsK)(2400,!1))}}scrollToElement(ct,St){const $t=ct.getBoundingClientRect(),Sn=$t.left+this.window.pageXOffset,ar=$t.top+this.window.pageYOffset,mr=this.offset();this.window.scrollTo({...St,left:Sn-mr[0],top:ar-mr[1]})}}},84529(wt,Ce,a){"use strict";a.d(Ce,{n:()=>I});const I={JSACTION:"jsaction"}},35547(wt,Ce,a){"use strict";a.d(Ce,{$C:()=>Lm,$KE:()=>Lt,$Ln:()=>M_,$dS:()=>au,$o8:()=>Ds,$qc:()=>Yn,$ul:()=>ps,ATY:()=>He,AVh:()=>ip,Ab1:()=>qa,Aen:()=>Vv,Agw:()=>Vi,Avn:()=>Vh,B1s:()=>qu,B4B:()=>_c,BIS:()=>Ai,BMQ:()=>Ah,BUC:()=>H_,C4Q:()=>Du,C5r:()=>zy,C6U:()=>qh,C7A:()=>i_,Co$:()=>Rm,DH7:()=>hy,DNE:()=>lh,DQ1:()=>Pa,DUP:()=>Ka,DkB:()=>Hh,Dyx:()=>Z_,E5c:()=>up,EBC:()=>Dc,EFF:()=>Jv,EJ8:()=>km,FsC:()=>xm,FuF:()=>uC,GBs:()=>Zh,H1s:()=>A_,HbH:()=>Wv,Hgh:()=>kh,Hps:()=>_h,JRh:()=>ap,JeD:()=>Hs,Jt5:()=>ov,Jv_:()=>My,KED:()=>RI,Kzh:()=>Jn,L8h:()=>eC,LHq:()=>lp,LN$:()=>Vg,Lme:()=>cp,N1r:()=>Ms,NAR:()=>bv,NCX:()=>Ol,NOj:()=>Gd,NSC:()=>$c,NYb:()=>WM,NyB:()=>Pv,NyN:()=>vs,OA$:()=>Xt,OR8:()=>Xa,Ocv:()=>tA,Ol2:()=>sh,PLl:()=>ts,PYC:()=>Xu,PYt:()=>wm,PeT:()=>dh,QTQ:()=>Qg,Qdn:()=>$T,Ql9:()=>JI,R50:()=>dp,R7$:()=>af,RPW:()=>Ed,RV6:()=>nv,Ryq:()=>Vt,SML:()=>oI,SVM:()=>ms,SdG:()=>Ov,SpI:()=>fd,T$4:()=>o_,TFI:()=>Jl,TMN:()=>F,UJm:()=>HE,UQZ:()=>as,UQu:()=>QI,VBU:()=>Pm,VFN:()=>yy,VeQ:()=>bi,VkB:()=>_y,Vm6:()=>Q_,Vt3:()=>ch,VwU:()=>Qh,VzW:()=>_C,WPN:()=>ti,WeM:()=>zp,XSi:()=>kC,XSp:()=>W_,XcC:()=>Pn,XpG:()=>Av,Y8G:()=>Nh,YEm:()=>Ro,Z7z:()=>J_,Zhj:()=>dC,_9s:()=>Ff,_9u:()=>Bo,_jY:()=>cs,_qm:()=>Go,_ys:()=>Kp,a8H:()=>Ic,aCM:()=>Qr,aKT:()=>So,ai1:()=>vy,bIt:()=>Yh,bMT:()=>Vy,bRx:()=>mi,bVm:()=>Bu,bc$:()=>Wi,brH:()=>Hy,c0O:()=>v,c1b:()=>Wl,cDI:()=>nM,cTO:()=>W,cdK:()=>S_,cnB:()=>rT,czy:()=>hu,d48:()=>gi,d80:()=>ZI,dOL:()=>C_,e6s:()=>JT,eHC:()=>Vl,eq3:()=>Ay,eu8:()=>Uh,eux:()=>od,f$h:()=>vc,fX1:()=>X_,g25:()=>B_,gXe:()=>Br,gil:()=>fc,hkx:()=>WT,hnC:()=>cC,i5U:()=>Wy,iBR:()=>Gs,iJd:()=>Ky,iLQ:()=>b_,iWE:()=>ys,ii3:()=>$y,j41:()=>Uu,jOp:()=>Ih,jW3:()=>j_,k0s:()=>nd,kBR:()=>Wh,kS0:()=>Jt,l4e:()=>Py,lJ4:()=>Iy,lJT:()=>O_,l_i:()=>by,lsd:()=>Rv,mGM:()=>wv,mNQ:()=>my,mU9:()=>aC,mal:()=>ff,mu_:()=>Rs,mxI:()=>fp,n$e:()=>Fs,n$t:()=>dl,nI1:()=>jy,nVh:()=>G_,njN:()=>is,nnv:()=>Sv,npT:()=>su,nrm:()=>xh,nv$:()=>U_,o8S:()=>Eh,ozJ:()=>Wf,p2i:()=>Zu,pDL:()=>$0,pJN:()=>jo,pXf:()=>Tv,phd:()=>KM,pl0:()=>zM,qBF:()=>Ei,qex:()=>id,qhs:()=>V_,rAh:()=>Ju,rXU:()=>Lc,rj2:()=>rd,rpG:()=>fE,s1E:()=>Ry,sFG:()=>lD,sGs:()=>Ny,sMw:()=>Oy,sZ2:()=>li,sdS:()=>Nv,sgu:()=>hC,tDU:()=>l,tSv:()=>uu,tvf:()=>Ji,uP7:()=>Gh,uiO:()=>Lr,utN:()=>ID,uzI:()=>Ni,vDg:()=>nm,vxM:()=>Y_,w6W:()=>mC,wEZ:()=>ep,wXG:()=>ll,wjB:()=>Ty,wni:()=>Jh,wr$:()=>sl,xGo:()=>q,xc7:()=>op,xe9:()=>hE,xtN:()=>oD,yJU:()=>Qn,yLl:()=>T_,ylm:()=>W0,ypd:()=>GM,zJS:()=>Ly,ziG:()=>wy,zoo:()=>$p,zw6:()=>Hi});var fn=a(10467),o=a(60414),mt=a(15824),ne=a(21413),A=a(18359),w=a(96354),ye=a(84529);function Ge(e){return{toString:e}.toString()}const Nt="__annotations__",Oe="__parameters__",Pt="__prop__metadata__";function nn(e,t,n,r,i){return Ge(()=>{const s=gn(t);function c(...f){if(this instanceof c)return s.call(this,...f),this;const m=new c(...f);return function(z){return i&&i(z,...f),(z.hasOwnProperty(Nt)?z[Nt]:Object.defineProperty(z,Nt,{value:[]})[Nt]).push(m),z}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function gn(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}
1function vn(e,t,n){return Ge(()=>{const r=gn(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const c=new i(...s);return f.annotation=c,f;function f(m,L,z){const ue=m.hasOwnProperty(Oe)?m[Oe]:Object.defineProperty(m,Oe,{value:[]})[Oe];for(;ue.length<=z;)ue.push(null);return(ue[z]=ue[z]||[]).push(c),m}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const Rn=(0,o.z6V)(vn("Inject",e=>({token:e})),-1),yr=(0,o.z6V)(vn("Optional"),8),Tr=(0,o.z6V)(vn("Self"),2),xr=(0,o.z6V)(vn("SkipSelf"),4),No=(0,o.z6V)(vn("Host"),1);function Lr(e){const t=o.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Kr={\u0275\u0275defineInjectable:o.jDH,\u0275\u0275defineInjector:o.G2t,\u0275\u0275inject:o.KVO,\u0275\u0275invalidFactoryDep:o.dmw,resolveForwardRef:o.nl4},jr=Function;function On(e){return"function"==typeof e}const eo=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,go=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,bo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Lo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Hr{_reflect;constructor(t){this._reflect=t||o.laP.Reflect}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=(0,o.WfI)(typeof t>"u"?n.length:t.length);for(let i=0;i<r.length;i++)r[i]=typeof t>"u"?[]:t[i]&&t[i]!=Object?[t[i]]:[],n&&null!=n[i]&&(r[i]=r[i].concat(n[i]));return r}_ownParameters(t,n){if(function xo(e){return eo.test(e)||Lo.test(e)||go.test(e)&&!bo.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const i=t.ctorParameters;if(i&&i!==n.ctorParameters){const f="function"==typeof i?i():i,m=f.map(z=>z&&z.type),L=f.map(z=>z&&Vr(z.decorators));return this._zipTypesAndAnnotations(m,L)}const s=t.hasOwnProperty(Oe)&&t[Oe],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return c||s?this._zipTypesAndAnnotations(c,s):(0,o.WfI)(t.length)}parameters(t){if(!On(t))return[];const n=rt(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?Vr(t.decorators):t.hasOwnProperty(Nt)?t[Nt]:null}annotations(t){if(!On(t))return[];const n=rt(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,i={};return Object.keys(r).forEach(s=>{i[s]=Vr(r[s])}),i}return t.hasOwnProperty(Pt)?t[Pt]:null}propMetadata(t){if(!On(t))return{};const n=rt(t),r={};if(n!==Object){const s=this.propMetadata(n);Object.keys(s).forEach(c=>{r[c]=s[c]})}const i=this._ownPropMetadata(t,n);
1return i&&Object.keys(i).forEach(s=>{const c=[];r.hasOwnProperty(s)&&c.push(...r[s]),c.push(...i[s]),r[s]=c}),r}ownPropMetadata(t){return On(t)&&this._ownPropMetadata(t,rt(t))||{}}hasLifecycleHook(t,n){return t instanceof jr&&n in t.prototype}}function Vr(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function rt(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}function Ye(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class Et{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}const Xt=(()=>{const e=()=>en;return e.ngInherit=!0,e})();function en(e){return e.type.prototype.ngOnChanges&&(e.setInput=Er),er}function er(){const e=Or(this),t=e?.current;if(t){const n=e.previous;if(n===o.MZA)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Er(e,t,n,r,i){const s=this.declaredInputs[r],c=Or(e)||function Ir(e,t){return e[Dr]=t}(e,{previous:o.MZA,current:null}),f=c.current||(c.current={}),m=c.previous,L=m[s];f[s]=new Et(L&&L.currentValue,n,m===o.MZA),Ye(e,t,i,n)}const Dr="__ngSimpleChanges__";function Or(e){return e[Dr]||null}const Xr=[],Ze=function(e,t=null,n){for(let r=0;r<Xr.length;r++)(0,Xr[r])(e,t,n)};var qe=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(qe||{});function Ln(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:c,ngAfterContentChecked:f,ngAfterViewInit:m,ngAfterViewChecked:L,ngOnDestroy:z}=s;c&&(e.contentHooks??=[]).push(-n,c),f&&((e.contentHooks??=[]).push(n,f),(e.contentCheckHooks??=[]).push(n,f)),m&&(e.viewHooks??=[]).push(-n,m),L&&((e.viewHooks??=[]).push(n,L),(e.viewCheckHooks??=[]).push(n,L)),null!=z&&(e.destroyHooks??=[]).push(n,z)}}function kn(e,t,n){gr(e,t,3,n)}function Mn(e,t,n,r){(3&e[o.Wg1])===n&&gr(e,t,n,r)}function Vn(e,t){let n=e[o.Wg1];(3&n)===t&&(n&=16383,n+=1,e[o.Wg1]=n)}function gr(e,t,n,r){const s=r??-1,c=t.length-1;let f=0;for(let m=void 0!==r?65535&e[o.wVl]:0;m<c;m++)if("number"==typeof t[m+1]){if(f=t[m],null!=r&&f>=r)break}else t[m]<0&&(e[o.wVl]+=65536),(f<s||-1==s)&&(Ft(e,n,t,m),e[o.wVl]=(4294901760&e[o.wVl])+m+2),m++}function Cr(e,t){Ze(qe.LifecycleHookStart,e,t);const n=(0,mt.Ht)(null);try{t.call(e)}finally{(0,mt.Ht)(n),Ze(qe.LifecycleHookEnd,e,t)}}function Ft(e,t,n,r){const i=n[r]<0,s=n[r+1],f=e[i?-n[r]:n[r]];i?e[o.Wg1]>>14<e[o.wVl]>>16&&(3&e[o.Wg1])===t&&(e[o.Wg1]+=16384,Cr(f,s)):Cr(f,s)}class it{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r}}function ln(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function Se(e){return 3===e||4===e||6===e}function Le(e){return 64===e.charCodeAt(0)}function ke(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||xt(e,n,i,0,-1===n||2===n?t[++r]:null)}}return e}function xt(e,t,n,r,i){let s=0,c=e.length;if(-1===t)c=-1;else for(;s<e.length;){const f=e[s++];if("number"==typeof f){if(f===t){c=-1;break}if(f>t){c=s-1;break}}}for(;s<e.length;){const f=e[s];if("number"==typeof f)break;if(f===n)return void(null!==i&&(e[s+1]=i));s++,null!==i&&s++}
1-1!==c&&(e.splice(c,0,t),s=c+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i)}function Ct(e){return-1!==e}function sn(e){return 32767&e}function Gn(e,t){let n=function An(e){return e>>16}(e),r=t;for(;n>0;)r=r[o.X5O],n--;return r}let cr=!0;function Sr(e){const t=cr;return cr=e,t}let ro=0;const xn={};function Rr(e,t){const n=Mr(e,t);if(-1!==n)return n;const r=t[o.eDl];r.firstCreatePass&&(e.injectorIndex=t.length,kr(r.data,e),kr(t,null),kr(r.blueprint,null));const i=Wr(e,t),s=e.injectorIndex;if(Ct(i)){const c=sn(i),f=Gn(i,t),m=f[o.eDl].data;for(let L=0;L<8;L++)t[s+L]=f[c+L]|m[c+L]}return t[s+8]=i,s}function kr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=Bt(i),null===r)return-1;if(n++,i=i[o.X5O],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function lo(e,t,n){!function ur(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(o.p9y)&&(r=n[o.p9y]),null==r&&(r=n[o.p9y]=ro++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ct(e,t,n){if(8&n||void 0!==e)return e;(0,o.$Hz)(t,"NodeInjector")}function St(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=e[o.YEL],s=(0,o.a2B)(void 0);try{return i?i.get(t,r,8&n):(0,o.MzJ)(t,r,8&n)}finally{(0,o.a2B)(s)}}return ct(r,t,n)}function $t(e,t,n,r=0,i){if(null!==e){if(2048&t[o.Wg1]&&!(2&r)){const c=function et(e,t,n,r,i){let s=e,c=t;for(;null!==s&&null!==c&&2048&c[o.Wg1]&&!(0,o.EFk)(c);){const f=Sn(s,c,n,2|r,xn);if(f!==xn)return f;let m=s.parent;if(!m){const L=c[o.oMQ];if(L){const z=L.get(n,xn,-5&r);if(z!==xn)return z}m=Bt(c),c=c[o.X5O]}s=m}return i}(e,t,n,r,xn);if(c!==xn)return c}const s=Sn(e,t,n,r,xn);if(s!==xn)return s}return St(t,n,r,i)}function Sn(e,t,n,r,i){const s=function Oo(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(o.p9y)?e[o.p9y]:void 0;return"number"==typeof t?t>=0?255&t:Ee:t}(n);if("function"==typeof s){if(!(0,o.ihb)(t,e,r))return 1&r?ct(i,n,r):St(t,n,r,i);try{let c;if(c=s(r),null!=c||8&r)return c;(0,o.$Hz)(n)}finally{(0,o.niQ)()}}else if("number"==typeof s){let c=null,f=Mr(e,t),m=-1,L=1&r?t[o.b5C][o.qlT]:null;for((-1===f||4&r)&&(m=-1===f?Wr(e,t):t[f+8],-1!==m&&Jr(r,!1)?(c=t[o.eDl],f=sn(m),t=Gn(m,t)):f=-1);-1!==f;){const z=t[o.eDl];if(zo(s,f,z.data)){const ue=ar(f,t,n,c,r,L);if(ue!==xn)return ue}m=t[f+8],-1!==m&&Jr(r,t[o.eDl].data[f+8]===L)&&zo(s,f,t)?(c=z,f=sn(m),t=Gn(m,t)):f=-1}}return i}function ar(e,t,n,r,i,s){const c=t[o.eDl],f=c.data[e+8],z=mr(f,c,n,null==r?(0,o.Qs1)(f)&&cr:r!=c&&!!(3&f.type),1&i&&s===f);return null!==z?po(t,c,z,f,i):xn}function mr(e,t,n,r,i){const s=e.providerIndexes,c=t.data,f=1048575&s,m=e.directiveStart,z=s>>20,Ue=i?f+z:e.directiveEnd;for(let ze=r?f:f+z;ze<Ue;ze++){const _t=c[ze];if(ze<m&&n===_t||ze>=m&&_t.type===n)return ze}if(i){const ze=c[m];if(ze&&(0,o.JlV)(ze)&&ze.type===n)return m}return null}function po(e,t,n,r,i){let s=e[n];const c=t.data;if(s instanceof it){const f=s;if(f.resolving)throw(0,o.PQT)("");const m=Sr(f.canSeeViewProviders);f.resolving=!0;const ue=f.injectImpl?(0,o.a2B)(f.injectImpl):null;(0,o.ihb)(e,r,0);try{s=e[n]=f.factory(void 0,i,c,e,r),t.firstCreatePass&&n>=r.directiveStart&&function un(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const c=en(t);(n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c)}i&&(n.preOrderHooks??=[]).push(0-e,i),s&&((n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s))}(n,c[n],t)}finally{null!==ue&&(0,o.a2B)(ue),Sr(m),f.resolving=!1,(0,o.niQ)()}}return s}function zo(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Jr(e,t){return!(2&e||1&e&&t)}class x{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $t(this._tNode,this._lView,t,(0,o.hjC)(r),n)}}function Ee(){return new x((0,o.Mx4)(),(0,o.OAn)())}function q(e){return Ge(()=>{const t=e.prototype.constructor,n=t[o.zSs]||he(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[o.zSs]||he(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function he(e){return(0,o.Jzi)(e)?()=>{const t=he((0,o.nl4)(e));return t&&t()}:(0,o.wGu)(e)}function Bt(e){const t=e[o.eDl],n=t.type;return 2===n?t.declTNode:1===n?e[o.qlT]:null}function Jt(e){return function We(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(Se(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}((0,o.Mx4)(),e)}const mn=vn("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Jt(e)}));let dr=null;function nr(e){return zn(function fr(){return dr=dr||new Hr}().parameters(e))}function zn(e){return e.map(t=>function br(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof yr||"Optional"===i.ngMetadataName)t.optional=!0;else if(r instanceof xr||"SkipSelf"===i.ngMetadataName)t.skipSelf=!0;else if(r instanceof Tr||"Self"===i.ngMetadataName)t.self=!0;else if(r instanceof No||"Host"===i.ngMetadataName)t.host=!0;else if(r instanceof Rn)t.token=r.token;else if(r instanceof mn){if(void 0===r.attributeName)throw new o.buA(-204,!1);t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const oo=(0,o.kLh)({provide:String,useValue:o.kLh});function ri(e){return void 0!==e.useClass}function Ho(e){return void 0!==e.useFactory}const Go=nn("Injectable",void 0,void 0,0,(e,t)=>function pr(e,t){let n=null,r=null;e.hasOwnProperty(o.yAH)||Object.defineProperty(e,o.yAH,{get:()=>(null===n&&(n=Lr().compileInjectable(Kr,`ng:///${e.name}/\u0275prov.js`,function oi(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(ri(n)||Ho(n))&&void 0!==n.deps&&(r.deps=zn(n.deps)),ri(n)?r.useClass=n.useClass:function Fo(e){return oo in e}(n)?r.useValue=n.useValue:Ho(n)?r.useFactory=n.useFactory:function io(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(o.zSs)||Object.defineProperty(e,o.zSs,{get:()=>{if(null===r){const i=Lr();r=i.compileFactory(Kr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:nr(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function mo(){return _o((0,o.Mx4)(),(0,o.OAn)())}function _o(e,t){return new So((0,o.d31)(e,t))}let So=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=mo}
1)();function Qi(e){return e instanceof So?e.nativeElement:e}function ds(){return this._results[Symbol.iterator]()}class Mi{_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 ne.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=(0,o.Bqz)(t);(this._changesDetected=!(0,o.ng7)(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ds}function _i(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const r=t[n];if("number"==typeof r)return!1;if("string"==typeof r&&"ngskiphydration"===r.toLowerCase())return!0}return!1}function Fi(e){return e.hasAttribute("ngSkipHydration")}function ii(e){return!(128&~e.flags)}var Ti=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(Ti||{});const Yo=new Map;let es=0;function Si(e){Yo.delete(e[o.ID])}const Ri="__ngContext__";function Fr(e,t){(0,o.q$2)(t)?(e[Ri]=t[o.ID],function si(e){Yo.set(e[o.ID],e)}(t)):e[Ri]=t}function ir(e){return En(e[o.EJG])}function Wn(e){return En(e[o.K29])}function En(e){for(;null!==e&&!(0,o.A0l)(e);)e=e[o.K29];return e}let ui;function Bo(e){ui=e}function Ro(){if(void 0!==ui)return ui;if(typeof document<"u")return document;throw new o.buA(210,!1)}const li=new o.nKC("",{factory:()=>Ii}),Ii="ng",Ds={provide:o.Z63,multi:!0,useValue:()=>{const e=(0,o.WQX)(li);if(!/^[a-zA-Z0-9\-_]+$/.test(e))throw new o.buA(211,`APP_ID value "${e}" is not alphanumeric. The APP_ID must be a string of alphanumeric characters. (a-zA-Z0-9), hyphens (-) and underscores (_) are allowed.`)}},ts=new o.nKC(""),Vi=new o.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Wi=new o.nKC(""),Ai=new o.nKC("",{factory:()=>(0,o.WQX)(o.qQL).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),di={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},bi=new o.nKC("",{factory:()=>di});function Hi(e){return e}let jo=(()=>{class e{static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>{const n=new e;return n.store=function fs(e,t){const n=e.getElementById(t+"-state");if("SCRIPT"===n?.tagName&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}((0,o.WQX)(o.qQL),(0,o.WQX)(li)),n}});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();const Ei=new o.nKC(""),Ni=new o.nKC("",{factory:()=>!1}),Jn=new o.nKC(""),Ms=!1,ps=new o.nKC("",{factory:()=>[]}),is=new o.nKC(""),Rs=new o.nKC("",{factory:()=>new Map}),Ji=new o.nKC(""),Ps={passive:!0,capture:!0},Ns=new WeakMap,Ls=new WeakMap,pi=new WeakMap,zi=["click","keydown"],gs=["mouseenter","mouseover","focusin"],xs=new Map;class ss{callbacks=new Set;listener=()=>
1{for(const t of this.callbacks)t()}}function Vs(e,t){let n=Ls.get(e);if(!n){n=new ss,Ls.set(e,n);for(const r of zi)e.addEventListener(r,n.listener,Ps)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:i}=n;if(r.delete(t),0===r.size){Ls.delete(e);for(const s of zi)e.removeEventListener(s,i,Ps)}}}function ks(e,t){let n=Ns.get(e);if(!n){n=new ss,Ns.set(e,n);for(const r of gs)e.addEventListener(r,n.listener,Ps)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:i}=n;if(r.delete(t),0===r.size){for(const s of gs)e.removeEventListener(s,i,Ps);Ns.delete(e)}}}function Ws(e){return e?`${e.rootMargin}/${"number"==typeof e.threshold?e.threshold:e.threshold?.join("\n")}`:""}const Fs="ngb",Hs=(e,t,n)=>{const r=e,i=r.__jsaction_fns??new Map,s=i.get(t)??[];s.push(n),i.set(t,s),r.__jsaction_fns=i},Gs=(e,t)=>{const n=e;let r=n.getAttribute(Fs)??"";const i=t.get(r)??new Set;i.has(n)||i.add(n),t.set(r,i)},as=e=>{e.removeAttribute(ye.n.JSACTION),e.removeAttribute(Fs),e.__jsaction_fns=void 0},ms=new o.nKC("",{factory:()=>({})}),p=new WeakMap;function v(e,t){const n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected&&(!t||!p.get(e)?.has(t)))for(const r of n)r(e)}const T=new Map;function W(e,t){return T.set(e,t),()=>T.delete(e)}let ge=!1,je=(e,t,n,r)=>{};function Lt(){ge||(je=(e,t,n,r)=>{const i=e[o.YEL].get(li);T.get(i)?.(t,n,r)},ge=!0)}const Vt=new o.nKC("");let Pn=(()=>{class e{registry=new Map;cleanupFns=new Map;jsActionMap=(0,o.WQX)(Rs);contract=(0,o.WQX)(ms);add(n,r){if(this.registry.set(n,r),this.awaitingCallbacks.has(n)){const i=this.awaitingCallbacks.get(n);for(const s of i)s()}}get(n){return this.registry.get(n)??null}has(n){return this.registry.has(n)}cleanup(n){!function Li(e,t){if(e.length>0){let n=[];for(let i of e)t.has(i)&&(n=[...n,...t.get(i)]);new Set(n).forEach(as)}}(n,this.jsActionMap);for(let r of n)this.registry.delete(r),this.jsActionMap.delete(r),this.invokeTriggerCleanupFns(r),this.hydrating.delete(r),this.awaitingCallbacks.delete(r);0===this.size&&this.contract.instance?.cleanUp()}get size(){return this.registry.size}addCleanupFn(n,r){let i=[];this.cleanupFns.has(n)&&(i=this.cleanupFns.get(n)),i.push(r),this.cleanupFns.set(n,i)}invokeTriggerCleanupFns(n){const r=this.cleanupFns.get(n)??[];for(let i of r)i();this.cleanupFns.delete(n)}hydrating=new Map;awaitingCallbacks=new Map;awaitParentBlock(n,r){const i=this.awaitingCallbacks.get(n)??[];i.push(r),this.awaitingCallbacks.set(n,i)}static \u0275prov=(0,o.jDH)({token:e,providedIn:null,factory:()=>new e})}return e})();function sr(e){return!(32&~e.flags)}const F="__nghData__",Ae="__nghDeferData__";let pn=()=>null;function Fn(e,t,n=!1){let r=e.getAttribute("ngh");if(null==r)return null;const[i,s]=r.split("|");if(r=n?s:i,!r)return null;const f=n?i:s?`|${s}`:"";let m={};if(""!==r){const z=t.get(jo,null,{optional:!0});null!==z&&(m=z.get(F,[])[Number(r)])}const L={data:m,firstChild:e.firstChild??null};return n&&(L.firstChild=e,ce(L,0,e.nextSibling)),f?e.setAttribute("ngh",f):e.removeAttribute("ngh"),L}function Qn(){pn=Fn}function Nr(e,t,n=!1){return pn(e,t,n)}function Zn(e){let t=e._lView;return 2===t[o.eDl].type?null:((0,o.EFk)(t)&&(t=t[o.Yw1]),t)}function l(e){e.get(jo).get(Ae,{})}function ce(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Te(e,t){return e.segmentHeads?.[t]??null}function He(e){return e.get(is,!1,{optional:!0})}function $n(e,t){return e.data.c?.[t]??null}function rr(e,t){const n=$n(e,t)??[];let r=0;for(let i of n)r+=i.r*(i.x??1);return r}function Do(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data.d;e.disconnectedNodes=n?new Set(n):null}return!!function ao(e){if(typeof e.disconnectedNodes>"u"){const t=e.data.d;e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}function qr(e,t){const n=e[o.tcA];return null!==n&&!(0,o.KtD)()&&!sr(t)&&!Do(n,t.index-o.Yw1)}function gi(e,t){const n=function Ts(e){const t=e.body.querySelectorAll("[jsaction]"),n=new Set,r=[gs.join(":;"),zi.join(":;")].join("|");for(let i of t){const s=i.getAttribute("jsaction"),c=i.getAttribute("ngb");s?.match(r)&&null!==c&&n.add(i)}return n}(e),r=t.get(Rs);for(let i of n)Gs(i,r)}let Wo=()=>({});function _s(e){const t=e.get(jo,null,{optional:!0});return null!==t?t.get(Ae,{}):{}}function vs(){Wo=_s}function ca(e){return e.t?.find(n=>function Ss(e){return"object"==typeof e&&5===e.trigger}(n))?.delay??null}function Da(e){const t=e.t;if(t)for(const n of t){if(2===n)return!0;
1if("object"==typeof n&&2===n.trigger)return n.intersectionObserverOptions||!0}return null}function ta(e,t){return e.t?.includes(t)??!1}function bn(e){return{data:e,hydrate:{idle:ta(e,0),immediate:ta(e,1),timer:ca(e),viewport:Da(e)}}}function Yn(e){const t=function Ea(e){return Wo(e)}(e);let n=new Map;for(let r in t)n.set(r,bn(t[r]));return n}function qn(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&"nghm"===e.textContent?.trim()}function Ur(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function mi(e){for(const r of e.body.childNodes)if(qn(r))return;if(!qn(Ur(e.body.previousSibling))&&!qn(Ur(e.head.lastChild)))throw new o.buA(-507,!1)}function xi(e,t){const n=e.contentQueries;if(null!==n){const r=(0,mt.Ht)(null);try{for(let i=0;i<n.length;i+=2){const c=n[i+1];if(-1!==c){const f=e.data[c];(0,o.GA0)(n[i]),f.contentQueries(2,t[c],c)}}}finally{(0,mt.Ht)(r)}}}function ei(e,t,n){(0,o.GA0)(0);const r=(0,mt.Ht)(null);try{t(e,n)}finally{(0,mt.Ht)(r)}}function ki(e,t,n){if((0,o.srX)(t)){const r=(0,mt.Ht)(null);try{const s=t.directiveEnd;for(let c=t.directiveStart;c<s;c++){const f=e.data[c];f.contentQueries&&f.contentQueries(1,n[c],c)}}finally{(0,mt.Ht)(r)}}}var Br=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(Br||{});let la,da;function dc(){if(void 0===la&&(la=null,o.laP.trustedTypes))try{la=o.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return la}function ia(e){return dc()?.createHTML(e)||e}function fa(){if(void 0===da&&(da=null,o.laP.trustedTypes))try{da=o.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return da}function g(e){return fa()?.createHTML(e)||e}function j(e){return fa()?.createScript(e)||e}function le(e){return fa()?.createScriptURL(e)||e}class Qe{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${o.ok8})`}}class Mt extends Qe{getTypeName(){return"HTML"}}class cn extends Qe{getTypeName(){return"Style"}}class In extends Qe{getTypeName(){return"Script"}}class Co extends Qe{getTypeName(){return"URL"}}class Yr extends Qe{getTypeName(){return"ResourceURL"}}function Qr(e){return e instanceof Qe?e.changingThisBreaksApplicationSecurity:e}function ys(e,t){const n=function yd(e){return e instanceof Qe&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${o.ok8})`)}return n===t}function Xu(e){return new Mt(e)}function Ju(e){return new cn(e)}function Zu(e){return new In(e)}function qu(e){return new Co(e)}function Ed(e){return new Yr(e)}function xa(e){const t=new el(e);return function tl(){try{return!!(new window.DOMParser).parseFromString(ia(""),"text/html")}catch{return!1}}()?new Jc(t):t}class Jc{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ia(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class el{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ia(t),n}}const nl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fc(e){return(e=String(e)).match(nl)?e:"unsafe:"+e}function Js(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ka(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const rl=Js("area,br,col,hr,img,wbr"),hc=Js("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zc=Js("rp,rt"),pc=ka(rl,ka(hc,Js("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")),ka(Zc,Js("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")),ka(
1Zc,hc)),qc=Js("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eu=ka(qc,Js("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"),Js("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")),Md=Js("script,style,template");class Td{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=Ip(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=Id(n);if(s){n=s;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=ol(t).toLowerCase();if(!pc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Md.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),c=s.name,f=c.toLowerCase();if(!eu.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let m=s.value;qc[f]&&(m=fc(m)),this.buf.push(" ",c,'="',il(m),'"')}return this.buf.push(">"),!0}endElement(t){const n=ol(t).toLowerCase();pc.hasOwnProperty(n)&&!rl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(il(t))}}function Id(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw tu(t);return t}function Ip(e){const t=e.firstChild;if(t&&function Sd(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw tu(t);return t}function ol(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function tu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const Ad=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bd=/([^\#-~ |!])/g;function il(e){return e.replace(/&/g,"&amp;").replace(Ad,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(bd,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let gc;function sl(e,t){let n=null;try{gc=gc||xa(e);let r=t?String(t):"";n=gc.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=gc.getInertBodyElement(r)}while(r!==s);return ia((new Td).sanitizeChildren(nu(n)||n))}finally{if(n){const r=nu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function nu(e){return"content"in e&&function Od(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const wd=/^>|^->|<!--|-->|--!>|<!-$/g,Rd=/(<|>)/g;function ru(e,t){return e.createText(t)}function al(e,t,n){e.setValue(t,n)}function ou(e,t){return e.createComment(function ha(e){return e.replace(wd,t=>t.replace(Rd,"\u200b$1\u200b"))}(t))}function mc(e,t,n){return e.createElement(t,n)}function Ia(e,t,n,r,i){e.insertBefore(t,n,r,i)}function cl(e,t,n){e.appendChild(t,n)}function ul(e,t,n,r,i){null!==r?Ia(e,t,n,r,i):cl(e,t,n)}function Fa(e,t,n,r){e.removeChild(null,t,n,r)}function Nd(e){e.textContent=""}function kd(e,t,n){const{mergedAttrs:r,classes:i,styles:s}=n;null!==r&&function Be(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const s=n[r++],c=n[r++],f=n[r++];e.setAttribute(t,c,f,s)}else{const s=i,c=n[++r];Le(s)?e.setProperty(t,s,c):e.setAttribute(t,s,c),r++}}}
1(e,t,r),null!==i&&function xd(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==s&&function Ld(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}var ti=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e}(ti||{});let iu;function pa(e,t,n){for(const[r,i]of n){let s=t&&"*"!==r&&"unknown"!==r?`:${t}:${r}`:r;s=s.toLowerCase();for(const c of i)iu[`${s}|${c.toLowerCase()}`]=e}}function su(e){const t=Ba();return t?g(t.sanitize(ti.HTML,e)||""):ys(e,"HTML")?g(Qr(e)):sl(Ro(),(0,o.eFE)(e))}function au(e){const t=Ba();return t?t.sanitize(ti.STYLE,e)||"":ys(e,"Style")?Qr(e):(0,o.eFE)(e)}function _c(e){const t=Ba();return t?t.sanitize(ti.URL,e)||"":ys(e,"URL")?Qr(e):fc((0,o.eFE)(e))}function vc(e){const t=Ba();if(t)return le(t.sanitize(ti.RESOURCE_URL,e)||"");if(ys(e,"ResourceURL"))return le(Qr(e));throw new o.buA(904,!1)}function Ua(e){const t=Ba();if(t)return j(t.sanitize(ti.SCRIPT,e)||"");if(ys(e,"Script"))return j(Qr(e));throw new o.buA(905,!1)}function ll(e){return function Xc(e){return dc()?.createScriptURL(e)||e}(e[0])}const Op={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function dl(e,t,n){return function wp(e,t){return!0===Op[e.toLowerCase()]?.[t.toLowerCase()]?vc:_c}(t,n)(e)}function Ba(){const e=(0,o.OAn)();return e&&e[o.M0L].sanitizer}const yc=new Set(["href","xlink:href"]),Bd=["attributeName","attributename"],jd={iframe:{sandbox:!0,allow:!0,allowfullscreen:!0,referrerpolicy:!0,csp:!0,fetchpriority:!0},":svg:animate":{attributename:!0,to:yc,values:yc,from:yc},":svg:set":{attributename:!0,to:yc},":svg:animatemotion":{attributename:!0},":svg:animatetransform":{attributename:!0}};function fl(e,t,n){const r=t.toLowerCase(),i=n.toLowerCase(),c=-1===(0,o._px)()?null:(0,o.CpD)();if(c&&2!==c.type)return e;const f=":"!==r[0]&&c?.namespace?`:${c.namespace}:${r}`:r,m=jd[f]?.[i];if(!m)return e;const L=(0,o.OAn)();if(c&&"iframe"===r&&function Ap(e){const t=(0,o.OAn)();e.src="",e.srcdoc=ia(""),Fa(t[o.GpT],e)}((0,o.d31)(c,L)),":"===t[0]&&t.split(":").pop(),"boolean"!=typeof m){if(!c)throw new o.buA(-910,!1);if(function Vd(e,t){for(const n of Bd){const r=e.getAttribute(n);if(null!==r&&t.has(r.toLowerCase()))return r}return null}((0,o.d31)(c,L),m))throw new o.buA(-910,!1);return e}throw new o.buA(-910,!1)}function uu(e){return e.ownerDocument.defaultView}function Dc(e){return e.ownerDocument}function $d(e){return e.ownerDocument.body}function Zs(e){return e instanceof Function?e():e}function Gd(e){if(!(0,o.xUg)(e))throw new o.buA(906,`The ${(0,o.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}
1function Lp(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Qd="ng-template";function xp(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==Lp(t[i+1].toLowerCase(),n,0))return!0}else if(gl(e))return!1;if(i=t.indexOf(1,i),i>-1){let s;for(;++i<t.length&&"string"==typeof(s=t[i]);)if(s.toLowerCase()===n)return!0}return!1}function gl(e){return 4===e.type&&e.value!==Qd}function kp(e,t,n){return t===(4!==e.type||n?e.value:Qd)}function Fp(e,t,n){let r=4;const i=e.attrs,s=null!==i?function Zd(e){for(let t=0;t<e.length;t++)if(Se(e[t]))return t;return e.length}(i):0;let c=!1;for(let f=0;f<t.length;f++){const m=t[f];if("number"!=typeof m){if(!c)if(4&r){if(r=2|1&r,""!==m&&!kp(e,m,n)||""===m&&1===t.length){if(qs(r))return!1;c=!0}}else if(8&r){if(null===i||!xp(e,i,m,n)){if(qs(r))return!1;c=!0}}else{const L=t[++f],z=Up(m,i,gl(e),n);if(-1===z){if(qs(r))return!1;c=!0;continue}if(""!==L){let ue;if(ue=z>s?"":i[z+1].toLowerCase(),2&r&&L!==ue){if(qs(r))return!1;c=!0}}}}else{if(!c&&!qs(r)&&!qs(m))return!1;if(c&&qs(m))continue;c=!1,r=m|1&r}}
1return qs(r)||c}function qs(e){return!(1&e)}function Up(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const c=t[i];if(c===e)return i;if(3===c||6===c)s=!0;else{if(1===c||2===c){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===c)break;if(0===c){i+=4;continue}}i+=s?1:2}return-1}return function qd(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Xd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Fp(e,t[r],n))return!0;return!1}function ef(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function ml(e,t){return e?":not("+t.trim()+")":t}function Aa(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let c=e[n];if("string"==typeof c)if(2&r){const f=e[++n];i+="["+c+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+c:4&r&&(i+=" "+c);else""!==i&&!qs(c)&&(t+=ml(s,i),i=""),r=c,s=s||!qs(r);n++}return""!==i&&(t+=ml(s,i)),t}const co={};function lu(e,t,n,r,i,s,c,f,m,L,z){const ue=o.Yw1+r,Ue=ue+i,ze=function rf(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:co);return n}(ue,Ue),_t="function"==typeof L?L():L;return ze[o.eDl]={type:e,blueprint:ze,template:n,queries:null,viewQuery:f,declTNode:t,data:ze.slice().fill(null,ue),bindingStartIndex:ue,expandoStartIndex:Ue,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof c?c():c,firstChild:null,schemas:m,consts:_t,incompleteFirstPass:!1,ssrId:z}}function of(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=lu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Cc(e,t,n,r,i,s,c,f,m,L,z){const ue=t.blueprint.slice();return ue[o.jgP]=i,ue[o.Wg1]=1228|r,(null!==L||e&&2048&e[o.Wg1])&&(ue[o.Wg1]|=2048),(0,o.HUe)(ue),ue[o.f7T]=ue[o.X5O]=e,ue[o.SKP]=n,ue[o.M0L]=c||e&&e[o.M0L],ue[o.GpT]=f||e&&e[o.GpT],ue[o.YEL]=m||e&&e[o.YEL]||null,ue[o.qlT]=s,ue[o.ID]=function Bi(){return es++}(),ue[o.tcA]=z,ue[o.oMQ]=L,ue[o.b5C]=2==t.type?e[o.b5C]:ue,ue}function du(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Mc(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function _l(e,t){return e[o.EJG]?e[o.Yrj][o.K29]=t:e[o.EJG]=t,e[o.Yrj]=t,t}function af(e=1){cf((0,o.klJ)(),(0,o.OAn)(),(0,o._px)()+e,!1)}function cf(e,t,n,r){if(!r)if(3&~t[o.Wg1]){const s=e.preOrderHooks;null!==s&&Mn(t,s,0,n)}else{const s=e.preOrderCheckHooks;null!==s&&kn(t,s,n)}(0,o.ypq)(n)}var fu=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(fu||{});function ga(e,t,n,r){const i=(0,mt.Ht)(null);try{const[s,c,f]=e.inputs[n];let m=null;0!==(c&fu.SignalBased)&&(m=t[s][mt.bh]),null!==m&&void 0!==m.transformFn?r=m.transformFn(r):null!==f&&(r=f.call(t,r)),null!==e.setInput?e.setInput(t,m,r,n,s):Ye(t,m,s,r)}finally{(0,mt.Ht)(i)}}var hu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(hu||{});let vl;function u(e,t){return vl(e,t)}const E=new o.nKC("",{factory:()=>!1}),P=new o.nKC("",{factory:()=>ie}),ie=4e3,Ve=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function at(e){return e[o.YEL].get(E,!1)}function Un(e){const t=jn.get(e);if(t){for(const n of t.cleanupFns)n();jn.delete(e)}uo.delete(e)}const ho=()=>{},jn=new WeakMap,uo=new WeakMap,Is=new WeakMap,$s=new WeakSet;function sa(e,t){const n=Is.get(e);if(n&&n.length>0){const r=n.findIndex(i=>i===t);r>-1&&n.splice(r,1)}0===n?.length&&Is.delete(e)}function pu(e,t){const n=Is.get(e);n?n.includes(t)||n.push(t):Is.set(e,[t])}function ba(e){const t=e[o.Isx]??={};return t.enter??=new Map}function na(e){const t=e[o.Isx]??={};return t.leave??=new Map}function gu(e){const t="function"==typeof e?e():e;let n=Array.isArray(t)?t:null;return"string"==typeof t&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function Wa(e){return e.composedPath?e.composedPath()[0]:e.target}function Tc(e,t){const n=uo.get(t);return void 0===n||t===Wa(e)&&(void 0!==n.animationName&&e.animationName===n.animationName||void 0!==n.propertyName&&("all"===n.propertyName||e.propertyName===n.propertyName))}
1function Ha(e,t,n){const r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}function mu(e,t){if(e)for(const n of e)n();for(const n of t)n()}function _u(e,t){const n=na(e).get(t.index);n&&(n.resolvers=void 0)}function $a(e,t,n,r,i){sa(t,n),mu(r,i),_u(e,t)}function Sc(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function ma(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function Bp(e,t){return void 0!==e&&e.duration>t.duration}function jp(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function Vp(e,t,n){if(!n)return;const r=e.getAnimations();return 0===r.length?function IE(e,t){const n=getComputedStyle(e),r=function SE(e){const t=ma(e,"animation-name"),n=ma(e,"animation-delay"),r=ma(e,"animation-duration"),i=ma(e,"animation-iteration-count"),s={animationName:"",propertyName:void 0,duration:0};for(let c=0;c<t.length;c++){const f=Sc(n[c])+Sc(r[c]);f>s.duration&&"infinite"!==i[c]&&(s.animationName=t[c],s.duration=f)}return s}(n),i=function TE(e){const t=ma(e,"transition-property"),n=ma(e,"transition-duration"),r=ma(e,"transition-delay"),i={propertyName:"",duration:0,animationName:void 0};for(let s=0;s<t.length;s++){const c=Sc(r[s])+Sc(n[s]);c>i.duration&&(i.propertyName=t[s],i.duration=c)}return i}(n),s=r.duration>i.duration?r:i;Bp(t.get(e),s)||jp(s)&&t.set(e,s)}(e,t):function AE(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(const i of n){const s=i.effect?.getTiming();if(s?.iterations===1/0)continue;const c="number"==typeof s?.duration?s.duration:0;let f=(s?.delay??0)+c;const m=i.playbackRate;let L,z;void 0!==m&&0!==m&&1!==m&&(f/=Math.abs(m)),i.animationName?z=i.animationName:L=i.transitionProperty,f>=r.duration&&(r={animationName:z,propertyName:L,duration:f})}Bp(t.get(e),r)||jp(r)&&t.set(e,r)}(e,t,r)}const Ka=new Set;var df=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(df||{});const Ic=new o.nKC(""),Wp=new Set;function cs(e){Wp.has(e)||(Wp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Hp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const $p=[0,1,2,3];let bE=(()=>{class e{ngZone=(0,o.WQX)(o.SKi);scheduler=(0,o.WQX)(o.hk6);errorHandler=(0,o.WQX)(o.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,o.WQX)(Ic,{optional:!0})}execute(){const n=this.sequences.size>0;n&&Ze(qe.AfterRenderHooksStart),this.executing=!0;for(const r of $p)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[r])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,i.hooks[r])(i.pipelinedValue),i.snapshot))}catch(s){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(s)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&Ze(qe.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[o.JEi]??=[]).push(n),(0,o.blu)(r),r[o.Wg1]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(df.AFTER_NEXT_RENDER,n):n()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class Kp{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,s,c=null){this.impl=t,this.hooks=n,this.view=r,this.once=i,this.snapshot=c,this.unregisterOnDestroy=s?.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 t=this.view?.[o.JEi];t&&(this.view[o.JEi]=t.filter(n=>n!==this))}}function zp(e,t){const n=t?.injector??(0,o.WQX)(o.zZn);return cs("NgAfterRender"),Gp(e,n,t,!1)}function ff(e,t){const n=t?.injector??(0,o.WQX)(o.zZn);return cs("NgAfterNextRender"),Gp(e,n,t,!0)}function Gp(e,t,n,r){const i=t.get(Hp);i.impl??=t.get(bE);const s=t.get(Ic,null,{optional:!0}),c=!0!==n?.manualCleanup?t.get(o.abz):null,f=t.get(o.r4V,null,{optional:!0}),m=new Kp(i.impl,function OE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),f?.view,r,c,s?.snapshot(null));return i.impl.register(m),m}const yl=new o.nKC("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:(0,o.WQX)(o.uvJ)})});function Yp(e,t,n){const r=e.get(yl);if(Array.isArray(t))for(const i of t)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function RE(e){const t=e.get(yl);t.isScheduled||(ff(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function El(e){const t=e.get(yl);
1t.scheduler=RE,t.scheduler(e)}function hf(e,t){for(const[n,r]of t)Yp(e,r.animateFns)}function Qp(e,t,n,r){const i=e?.[o.Isx]?.enter;null!==t&&i&&i.has(n.index)&&hf(r,i)}function Ac(e,t,n,r,i,s,c,f){if(null!=i){let m,L=!1;(0,o.A0l)(i)?m=i:(0,o.q$2)(i)&&(L=!0,i=i[o.jgP]);const z=(0,o.IvY)(i);0===e&&null!==r?(Qp(f,r,s,n),null==c?cl(t,r,z):Ia(t,r,z,c||null,!0)):1===e&&null!==r?(Qp(f,r,s,n),Ia(t,r,z,c||null,!0),function Va(e,t){const n=Is.get(e);if(!n||0===n.length)return;const r=t.parentNode,i=t.previousSibling;for(let s=n.length-1;s>=0;s--){const c=n[s],f=c.parentNode;c===t?(n.splice(s,1),$s.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(i&&c===i||f&&r&&f!==r)&&(n.splice(s,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}(s,z)):2===e?(f?.[o.Isx]?.leave?.has(s.index)&&pu(s,z),$s.delete(z),Zp(f,s,n,ue=>{$s.has(z)?$s.delete(z):Fa(t,z,L,ue)})):3===e&&($s.delete(z),Zp(f,s,n,()=>{t.destroyNode(z)})),null!=m&&function UE(e,t,n,r,i,s,c){const f=r[o.s6P];f!==(0,o.IvY)(r)&&Ac(t,e,n,s,f,i,c);for(let L=o.Y20;L<r.length;L++){const z=r[L];Dl(z[o.eDl],z,e,t,s,f)}}(t,e,n,m,s,r,c)}}function Xp(e,t){Jp(e,t),t[o.jgP]=null,t[o.qlT]=null}function Jp(e,t){t[o.M0L].changeDetectionScheduler?.notify(9),Dl(e,t,t[o.GpT],2,null,null)}function pf(e,t){const n=e[o.nfM],r=n.indexOf(t);n.splice(r,1)}function vu(e,t){if((0,o.EPY)(t))return;const n=t[o.GpT];n.destroyNode&&Dl(e,t,n,3,null,null),function NE(e){let t=e[o.EJG];if(!t)return gf(e[o.eDl],e);for(;t;){let n=null;if((0,o.q$2)(t))n=t[o.EJG];else{const r=t[o.Y20];r&&(n=r)}if(!n){for(;t&&!t[o.K29]&&t!==e;)(0,o.q$2)(t)&&gf(t[o.eDl],t),t=t[o.f7T];null===t&&(t=e),(0,o.q$2)(t)&&gf(t[o.eDl],t),n=t&&t[o.K29]}t=n}}(t)}function gf(e,t){if((0,o.EPY)(t))return;const n=(0,mt.Ht)(null);try{t[o.Wg1]&=-129,t[o.Wg1]|=256,t[o.Iaj]&&(0,mt.XR)(t[o.Iaj]),function kE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof it)){const s=n[r+1];if(Array.isArray(s))for(let c=0;c<s.length;c+=2){const f=i[s[c]],m=s[c+1];Ze(qe.LifecycleHookStart,f,m);try{m.call(f)}finally{Ze(qe.LifecycleHookEnd,f,m)}}else{Ze(qe.LifecycleHookStart,i,s);try{s.call(i)}finally{Ze(qe.LifecycleHookEnd,i,s)}}}}}(e,t),function xE(e,t){const n=e.cleanup,r=t[o.VVG];if(null!==n)for(let c=0;c<n.length-1;c+=2)if("string"==typeof n[c]){const f=n[c+3];f>=0?r[f]():r[-f].unsubscribe(),c+=2}else n[c].call(r[n[c+1]]);null!==r&&(t[o.VVG]=null);const i=t[o.Czx];if(null!==i){t[o.Czx]=null;for(let c=0;c<i.length;c++)(0,i[c])()}const s=t[o.tQN];if(null!==s){t[o.tQN]=null;for(const c of s)c.destroy()}}(e,t),1===t[o.eDl].type&&t[o.GpT].destroy();const r=t[o.rQE];if(null!==r&&(0,o.A0l)(t[o.f7T])){r!==t[o.f7T]&&pf(r,t);const i=t[o.Ds7];null!==i&&i.detachView(e)}Si(t)}finally{(0,mt.Ht)(n)}}function Zp(e,t,n,r){const i=e?.[o.Isx];if(null==i||null==i.leave||!i.leave.has(t.index))return r(!1);e&&Ka.add(e[o.ID]),Yp(n,()=>{if(i.leave&&i.leave.has(t.index)){const c=i.leave.get(t.index),f=[];if(c){for(let m=0;m<c.animateFns.length;m++){const L=c.animateFns[m],{promise:z}=L();f.push(z)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(f),function LE(e,t){const n=e[o.Isx]?.running;n?n.then(()=>{e[o.Isx].running=void 0,Ka.delete(e[o.ID]),t(!0)}):t(!1)}(e,r)}else e&&Ka.delete(e[o.ID]),r(!1)},i)}function mf(e,t,n){return qp(e,t.parent,n)}function qp(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[o.jgP];if((0,o.Qs1)(r)){const{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Br.None||i===Br.Emulated)return null}return(0,o.d31)(r,n)}function eg(e,t,n){return ng(e,t,n)}function tg(e,t,n){return 40&e.type?(0,o.d31)(e,n):null}let _f,ng=tg;function rg(e,t){ng=e,_f=t}function vf(e,t,n,r){const i=mf(e,r,t),s=t[o.GpT],f=eg(r.parent||t[o.qlT],r,t);if(null!=i)if(Array.isArray(n))for(let m=0;m<n.length;m++)ul(s,i,n[m],f,!1);else ul(s,i,n,f,!1);void 0!==_f&&_f(s,r,t,n,i)}function za(e,t){if(null!==t){const n=t.type;if(3&n)return(0,o.d31)(t,e);if(4&n)return yf(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return za(e,r);{const i=e[t.index];return(0,o.A0l)(i)?yf(-1,i):(0,o.IvY)(i)}}if(128&n)return za(e,t.next);if(32&n)return u(t,e)()||(0,o.IvY)(e[t.index]);{const r=og(e,t);return null!==r?Array.isArray(r)?r[0]:za((0,o._0$)(e[o.b5C]),r):za(e,t.next)}}return null}function og(e,t){return null!==t?e[o.b5C][o.qlT].projection[t.projection]:null}function yf(e,t){const n=o.Y20+e+1;
1if(n<t.length){const r=t[n],i=r[o.eDl].firstChild;if(null!==i)return za(r,i)}return t[o.s6P]}function Ef(e,t,n,r,i,s,c){for(;null!=n;){const f=r[o.YEL];if(128===n.type){n=n.next;continue}const m=r[n.index],L=n.type;if(c&&0===t&&(m&&Fr((0,o.IvY)(m),r),n.flags|=2),!sr(n))if(8&L)Ef(e,t,n.child,r,i,s,!1),Ac(t,e,f,i,m,n,s,r);else if(32&L){const z=u(n,r);let ue;for(;ue=z();)Ac(t,e,f,i,ue,n,s,r);Ac(t,e,f,i,m,n,s,r)}else 16&L?ig(e,t,r,n,i,s):Ac(t,e,f,i,m,n,s,r);n=c?n.projectionNext:n.next}}function Dl(e,t,n,r,i,s){Ef(n,r,e.firstChild,t,i,s,!1)}function ig(e,t,n,r,i,s){const c=n[o.b5C],m=c[o.qlT].projection[r.projection];if(Array.isArray(m))for(let L=0;L<m.length;L++)Ac(t,e,n[o.YEL],i,m[L],r,s,n);else{let L=m;const z=c[o.f7T];ii(r)&&(L.flags|=128),Ef(e,t,L,z,i,s,!0)}}function sg(e,t,n,r,i){const s=(0,o._px)(),c=2&r;try{(0,o.ypq)(-1),c&&t.length>o.Yw1&&cf(e,t,o.Yw1,!1),Ze(c?qe.TemplateUpdateStart:qe.TemplateCreateStart,i,n),n(r,i)}finally{(0,o.ypq)(s),Ze(c?qe.TemplateUpdateEnd:qe.TemplateCreateEnd,i,n)}}function Cl(e,t,n){(function KE(e,t,n){const r=n.directiveStart,i=n.directiveEnd;(0,o.Qs1)(n)&&function sf(e,t,n){const r=(0,o.d31)(t,e),i=of(n),s=e[o.M0L].rendererFactory,c=_l(e,Cc(e,i,null,du(n),r,t,null,s.createRenderer(r,n),null,null,null));e[t.index]=c}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Rr(n,t);const s=n.initialInputs;for(let c=r;c<i;c++){const f=e.data[c],m=po(t,e,c,n);Fr(m,t),null!==s&&QE(0,c-r,m,f,0,s),(0,o.JlV)(f)&&((0,o.KdJ)(n.index,t)[o.SKP]=po(t,e,c,n))}})(e,t,n),!(64&~n.flags)&&function zE(e,t,n){const r=n.directiveStart,i=n.directiveEnd,s=n.index,c=(0,o.Z9v)();try{(0,o.ypq)(s);for(let f=r;f<i;f++){const m=e.data[f],L=t[f];(0,o.RZ9)(f),(null!==m.hostBindings||0!==m.hostVars||null!==m.hostAttrs)&&GE(m,L)}}finally{(0,o.ypq)(-1),(0,o.RZ9)(c)}}(e,t,n)}function bc(e,t,n=o.d31){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const c=r[s+1],f=-1===c?n(t,e):e[c];e[i++]=f}}}let ag=()=>null;function WE(e){Fi(e)?Nd(e):function Ao(e){const t=Ro(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(s){const c=function Io(e){return e.textContent?.replace(/\s/gm,"")}(s);return"ngetn"===c||"ngtns"===c?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const i=[];for(;r=n.nextNode();)i.push(r);for(const s of i)"ngetn"===s.textContent?s.replaceWith(t.createTextNode("")):s.remove()}(e)}function HE(){ag=WE}function Df(e,t,n,r,i,s){Il(e,t[o.eDl],t,n,r)?(0,o.Qs1)(e)&&cg(t,e.index):(3&e.type&&(n=function $E(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),Cf(e,t,n,r,i,s))}function Cf(e,t,n,r,i,s){if(3&e.type){const c=(0,o.d31)(e,t);r=null!=s?s(r,e.value||"",n):r,i.setProperty(c,n,r)}}function cg(e,t){const n=(0,o.KdJ)(t,e);16&n[o.Wg1]||(n[o.Wg1]|=64)}function GE(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mf(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let i=0;i<n.length;i++){const s=n[i];Xd(t,s.selectors,!1)&&(r??=[],(0,o.JlV)(s)?r.unshift(s):r.push(s))}return r}function Ml(e,t,n,r,i,s,c){if(null==s)e.removeAttribute(t,i,n);else{const f=null==c?(0,o.eFE)(s):c(s,r||"",i);e.setAttribute(t,i,f,n)}}function QE(e,t,n,r,i,s){const c=s[t];if(null!==c)for(let f=0;f<c.length;f+=2)ga(r,n,c[f],c[f+1])}function Tl(e,t,n,r,i){const s=o.Yw1+n,c=t[o.eDl],f=i(c,t,e,r,n);t[s]=f,(0,o.iMd)(e,!0);const m=2===e.type;return m?(kd(t[o.GpT],f,e),(0===(0,o.znI)()||(0,o.yoD)(e))&&Fr(f,t),(0,o.Fje)()):Fr(f,t),(0,o.SX7)()&&(!m||!sr(e))&&vf(c,t,f,e),e}function Sl(e){let t=e;return(0,o.YWB)()?(0,o.Pfq)():(t=t.parent,(0,o.iMd)(t,!1)),t}function lg(e,t,n){return(null===e||(0,o.JlV)(e))&&(n=(0,o.zAe)(n[t.index])),n[o.GpT]}function Tf(e,t){const n=e[o.YEL];if(!n)return;let r;try{r=n.get(o.ZTf,null)}catch{r=null}r?.(t)}function Il(e,t,n,r,i){const s=e.inputs?.[r],c=e.hostDirectiveInputs?.[r];let f=!1;if(c)for(let m=0;m<c.length;m+=2){const L=c[m];ga(t.data[L],n[L],c[m+1],i),f=!0}if(s)for(const m of s)ga(t.data[m],n[m],r,i),f=!0;return f}function JE(e,t){const n=(0,o.KdJ)(t,e),r=n[o.eDl];!function ZE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[o.jgP];null!==i&&null===n[o.tcA]&&(n[o.tcA]=Nr(i,n[o.YEL])),Ze(qe.ComponentStart);try{Al(r,n,n[o.SKP])}finally{Ze(qe.ComponentEnd,n[o.SKP])}}function Al(e,t,n){(0,o.ID8)(t);try{const r=e.viewQuery;null!==r&&ei(1,r,n);const i=e.template;null!==i&&sg(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[o.Ds7]?.finishViewCreation(e),e.staticContentQueries&&xi(e,t),e.staticViewQueries&&ei(2,e.viewQuery,n);const s=e.components;null!==s&&function qE(e,t){for(let n=0;n<t.length;n++)JE(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[o.Wg1]&=-5,(0,o.bll)()}}function Oc(e,t,n,r){const i=(0,mt.Ht)(null);try{const s=t.tView,m=Cc(e,s,n,4096&e[o.Wg1]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);m[o.rQE]=e[t.index];const z=e[o.Ds7];return null!==z&&(m[o.Ds7]=z.createEmbeddedView(s)),Al(s,m,n),m}finally{(0,mt.Ht)(i)}}function Ga(e,t){return!t||null===t.firstChild||ii(e)}function yu(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const s=t[n.index];null!==s&&r.push((0,o.IvY)(s)),(0,o.A0l)(s)&&e0(s,r);const c=n.type;if(8&c)yu(e,t,n.child,r);else if(32&c){const f=u(n,t);let m;
1for(;m=f();)r.push(m)}else if(16&c){const f=og(t,n);if(Array.isArray(f))r.push(...f);else{const m=(0,o._0$)(t[o.b5C]);yu(m[o.eDl],m,f,r,!0)}}n=i?n.projectionNext:n.next}return r}function e0(e,t){for(let n=o.Y20;n<e.length;n++){const r=e[n],i=r[o.eDl].firstChild;null!==i&&yu(r[o.eDl],r,i,t)}e[o.s6P]!==e[o.jgP]&&t.push(e[o.s6P])}function dg(e){if(null!==e[o.JEi]){for(const t of e[o.JEi])t.impl.addSequence(t);e[o.JEi].length=0}}let fg=[];const o0={...mt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,o.blu)(e.lView)},consumerOnSignalRead(){this.lView[o.Iaj]=this}},s0={...mt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,o._0$)(e.lView);for(;t&&!hg(t[o.eDl]);)t=(0,o._0$)(t);t&&(0,o.HAh)(t)},consumerOnSignalRead(){this.lView[o.Iaj]=this}};function hg(e){return 2!==e.type}function pg(e){if(null===e[o.tQN])return;let t=!0;for(;t;){let n=!1;for(const r of e[o.tQN])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[o.Wg1])}}function bl(e,t=0){const r=e[o.M0L].rendererFactory;r.begin?.();try{!function c0(e,t){const n=(0,o.yP_)();try{(0,o.cBl)(!0),Sf(e,t);let r=0;for(;(0,o.dMS)(e);){if(100===r)throw new o.buA(103,!1);r++,Sf(e,1)}}finally{(0,o.cBl)(n)}}(e,t)}finally{r.end?.()}}function gg(e,t,n,r){if((0,o.EPY)(t))return;const i=t[o.Wg1];(0,o.ID8)(t);let f=!0,m=null,L=null;hg(e)?(L=function t0(e){return e[o.Iaj]??function n0(e){const t=fg.pop()??Object.create(o0);return t.lView=e,t}(e)}(t),m=(0,mt.Bg)(L)):null===(0,mt.nR)()?(f=!1,L=function i0(e){const t=e[o.Iaj]??Object.create(s0);return t.lView=e,t}(t),m=(0,mt.Bg)(L)):t[o.Iaj]&&((0,mt.XR)(t[o.Iaj]),t[o.Iaj]=null);try{(0,o.HUe)(t),(0,o.Kw3)(e.bindingStartIndex),null!==n&&sg(e,t,n,2,r);const z=!(3&~i);if(z){const ze=e.preOrderCheckHooks;null!==ze&&kn(t,ze,null)}else{const ze=e.preOrderHooks;null!==ze&&Mn(t,ze,0,null),Vn(t,0)}if(function u0(e){for(let t=ir(e);null!==t;t=Wn(t)){if(!(2&t[o.Wg1]))continue;const n=t[o.nfM];for(let r=0;r<n.length;r++)(0,o.HAh)(n[r])}}(t),pg(t),mg(t,0),null!==e.contentQueries&&xi(e,t),z){const ze=e.contentCheckHooks;null!==ze&&kn(t,ze)}else{const ze=e.contentHooks;null!==ze&&Mn(t,ze,1),Vn(t,1)}!function d0(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)(0,o.ypq)(~i);else{const s=i,c=n[++r],f=n[++r];(0,o.vQI)(c,s);const m=t[s];Ze(qe.HostBindingsUpdateStart,m);try{f(2,m)}finally{Ze(qe.HostBindingsUpdateEnd,m)}}}}finally{(0,o.ypq)(-1)}}(e,t);const ue=e.components;null!==ue&&vg(t,ue,0);const Ue=e.viewQuery;if(null!==Ue&&ei(2,Ue,r),z){const ze=e.viewCheckHooks;null!==ze&&kn(t,ze)}else{const ze=e.viewHooks;null!==ze&&Mn(t,ze,2),Vn(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[o.pcR]){for(const ze of t[o.pcR])ze();t[o.pcR]=null}dg(t),t[o.Wg1]&=-73}catch(z){throw(0,o.blu)(t),z}finally{null!==L&&((0,mt.Wu)(L,m),f&&function r0(e){e.lView[o.Iaj]!==e&&(e.lView=null,fg.push(e))}(L)),(0,o.bll)()}}function mg(e,t){for(let n=ir(e);null!==n;n=Wn(n))for(let r=o.Y20;r<n.length;r++)_g(n[r],t)}function l0(e,t,n){Ze(qe.ComponentStart);const r=(0,o.KdJ)(t,e);try{_g(r,n)}finally{Ze(qe.ComponentEnd,r[o.SKP])}}function _g(e,t){(0,o.F1c)(e)&&Sf(e,t)}function Sf(e,t){const r=e[o.eDl],i=e[o.Wg1],s=e[o.Iaj];let c=!!(0===t&&16&i);if(c||=!!(64&i&&0===t),c||=!!(1024&i),c||=!(!s?.dirty||!(0,mt.si)(s)),c||=!1,s&&(s.dirty=!1),e[o.Wg1]&=-9217,c)gg(r,e,r.template,e[o.SKP]);else if(8192&i){const f=(0,mt.Ht)(null);try{pg(e),mg(e,1);const m=r.components;null!==m&&vg(e,m,1),dg(e)}finally{(0,mt.Ht)(f)}}}function vg(e,t,n){for(let r=0;r<t.length;r++)l0(e,t[r],n)}function wc(e,t){const n=(0,o.yP_)()?64:1088;for(e[o.M0L].changeDetectionScheduler?.notify(t);e;){e[o.Wg1]|=n;const r=(0,o._0$)(e);if((0,o.EFk)(e)&&!r)return e;e=r}return null}function yg(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Eg(e,t){const n=o.Y20+t;if(n<e.length)return e[n]}function Rc(e,t,n,r=!0){const i=t[o.eDl];if(function f0(e,t,n,r){const i=o.Y20+r,s=n.length;r>0&&(n[i-1][o.K29]=t),r<s-o.Y20?(t[o.K29]=n[i],(0,o.EYC)(n,o.Y20+r,t)):(n.push(t),t[o.K29]=null),t[o.f7T]=n;const c=t[o.rQE];null!==c&&n!==c&&Dg(c,t);const f=t[o.Ds7];null!==f&&f.insertView(e),(0,o._gW)(t),t[o.Wg1]|=128}(i,t,e,n),r){const c=yf(n,e),f=t[o.GpT],m=f.parentNode(e[o.s6P]);null!==m&&function PE(e,t,n,r,i,s){r[o.jgP]=i,r[o.qlT]=t,Dl(e,r,n,1,i,s)}(i,e[o.qlT],f,t,m,c)}const s=t[o.tcA];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function If(e,t){const n=Eu(e,t);return void 0!==n&&vu(n[o.eDl],n),n}function Eu(e,t){if(e.length<=o.Y20)return;const n=o.Y20+t,r=e[n];if(r){const i=r[o.rQE];null!==i&&i!==e&&pf(i,r),t>0&&(e[n-1][o.K29]=r[o.K29]);const s=(0,o.E6O)(e,o.Y20+t);Xp(r[o.eDl],r);const c=s[o.Ds7];null!==c&&c.detachView(s[o.eDl]),r[o.f7T]=null,r[o.K29]=null,r[o.Wg1]&=-129}return r}function Dg(e,t){const n=e[o.nfM],r=t[o.f7T];((0,o.q$2)(r)||t[o.b5C]!==r[o.f7T][o.b5C])&&(e[o.Wg1]|=2),null===n?e[o.nfM]=[t]:n.push(t)}class Ol{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[o.eDl];return yu(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[o.SKP]}set context(t){this._lView[o.SKP]=t}get destroyed(){return(0,o.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[o.f7T];if((0,o.A0l)(t)){const n=t[o.bm_],r=n?n.indexOf(this):-1;r>-1&&(Eu(t,r),(0,o.E6O)(n,r))}this._attachedToViewContainer=!1}vu(this._lView[o.eDl],this._lView)}onDestroy(t){(0,o.ik5)(this._lView,t)}markForCheck(){wc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[o.Wg1]&=-129}reattach(){(0,o._gW)(this._lView),this._lView[o.Wg1]|=128}detectChanges(){this._lView[o.Wg1]|=1024,bl(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new o.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,o.EFk)(this._lView),n=this._lView[o.rQE];null!==n&&!t&&pf(n,this._lView),Jp(this._lView[o.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new o.buA(902,!1);this._appRef=t;const n=(0,o.EFk)(this._lView),r=this._lView[o.rQE];null!==r&&!n&&Dg(r,this._lView),(0,o._gW)(this._lView)}}let Du=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=h0;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){const s=Oc(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new Ol(s)}})();function h0(){return wl((0,o.Mx4)(),(0,o.OAn)())}function wl(e,t){return 4&e.type?new Du(t,e,_o(e,t)):null}function Tg(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?tg(e,0,n):(0,o.IvY)(n[i])}function Sg(e,t,n,r,i){const s=t.insertBeforeIndex;if(Array.isArray(s)){let c=r,f=null;
1if(3&t.type||(f=c,c=i),null!==c&&-1===t.componentOffset)for(let m=1;m<s.length;m++)Ia(e,c,n[s[m]],f,!1)}}function Ya(e,t,n,r,i){let s=e.data[t];if(null===s)s=wf(e,t,n,r,i),(0,o.JjR)()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const c=(0,o.Ab)();s.injectorIndex=null===c?-1:c.injectorIndex}return(0,o.iMd)(s,!0),s}function wf(e,t,n,r,i){const s=(0,o.veI)(),c=(0,o.YWB)(),m=e.data[t]=function T0(e,t,n,r,i,s){let c=t?t.injectorIndex:-1,f=0;return(0,o.KtD)()&&(f|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:c,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:f,providerIndexes:0,value:i,namespace:(0,o.UaU)(),attrs:s,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,c?s:s&&s.parent,n,t,r,i);return function M0(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,m,s,c),m}function Ig(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Ag(r)||S0(r,t)&&null===I0(r)&&A0(r,t.index)}}function Ag(e){return!(64&e.type)}function S0(e,t){return Ag(t)||e.index>t.index}function I0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function A0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(rg(Tg,Sg),e.insertBeforeIndex=t)}function Su(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function w0(e,t,n){const r=wf(e,n,64,null,null);return Ig(t,r),r}function Pl(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function bg(e){return e>>>17}function Og(e){return(131070&e)>>>1}function Rf(e,t,n){e.index=0;const r=Pl(t,n);e.removes=null!==r?t.remove[r]:o.Mlv}function Nl(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),Rf(e,e.lView[o.eDl].data[~t],e.lView),Nl(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),Nl(e))}function P0(){const e={stack:[],index:-1};return function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Rf(e,n.value,r),Nl.bind(null,e)}}const L0=new RegExp("^(\\d+)*(b|h)*(.*)");function Pf(e){return e.index-o.Yw1}function Iu(e,t,n,r){const i=Pf(r);let s=function Ng(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,i);if(void 0===s){const c=e.data.n;if(c?.[i])s=function Lg(e,t){const[n,...r]=function k0(e){const t=e.match(L0),[n,r,i,s]=t,c=r?parseInt(r,10):i,f=[];for(const[m,L,z]of s.matchAll(/(f|n)(\d*)/g)){const ue=parseInt(z,10)||1;f.push(L,ue)}return[c,...f]}(e);let i;if("h"===n)i=t[o.b5C][o.jgP];else if("b"===n)i=$d(t[o.b5C][o.jgP]);else{const s=Number(n);i=(0,o.IvY)(t[s+o.Yw1])}return function j0(e,t){let n=e;for(let r=0;r<t.length;r+=2){const i=t[r],s=t[r+1];for(let c=0;c<s;c++)switch(i){case"f":n=n.firstChild;break;case"n":n=n.nextSibling}}return n}(i,r)}(c[i],n);else if(t.firstChild===r)s=e.firstChild;else{const f=null===r.prev,m=r.prev??r.parent;if(function F0(e){return!e.prev&&8===e.parent?.type}(r))s=Te(e,Pf(r.parent));else{let L=(0,o.d31)(m,n);if(f)s=L.firstChild;else{const z=Pf(m),ue=Te(e,z);s=2===m.type&&ue?Ll(rr(e,z)+1,ue):L.nextSibling}}}}return s}function Ll(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function W0(e,t){const n=e.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode:H0});let r;const i=new Map;for(;r=n.nextNode();){const s="ngh=",c=r?.textContent,f=c?.indexOf(s)??-1;if(f>-1){const m=c.substring(f+s.length).trim();i.set(m,r)}}return i}function H0(e){return e.textContent?.trimStart().startsWith("ngh=")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}let kg=!1;function $0(e){kg=e}function eD(e,t,n){for(const r of n.node.cases[n.case]){const i=t.get(r.index-o.Yw1);i&&Fa(e,i,!1)}}function xl(e){const t=e[o.qFA]??[],r=e[o.f7T][o.GpT],i=[];for(const s of t)void 0!==s.data.di?i.push(s):jg(s,r);e[o.qFA]=i}function tD(e){const{lContainer:t}=e,n=t[o.qFA];if(null===n)return;const i=t[o.f7T][o.GpT];for(const s of n)jg(s,i)}function jg(e,t){let n=0,r=e.firstChild;if(r){const i=e.data.r;for(;n<i;){const s=r.nextSibling;Fa(t,r,!1),r=s,n++}}}function kl(e){xl(e);const t=e[o.jgP];(0,o.q$2)(t)&&bu(t);for(let n=o.Y20;n<e.length;n++)bu(e[n])}function bu(e){!function q0(e){const t=e[o.tcA];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const i=e[o.GpT];for(const s of r.values())eD(i,n,s)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[o.eDl];for(let n=o.Yw1;n<t.bindingStartIndex;n++)(0,o.A0l)(e[n])?kl(e[n]):(0,o.q$2)(e[n])&&bu(e[n])}function Vg(e){const t=e._views;for(const n of t){const r=Zn(n);null!==r&&null!==r[o.jgP]&&((0,o.q$2)(r)?bu(r):kl(r))}}let Wg=()=>null,Hg=()=>null;function oD(){Wg=iD,Hg=sD}function iD(e,t){return Kg(e,t)?e[o.qFA].shift():(xl(e),null)}function Ou(e,t){return Wg(e,t)}function sD(e,t,n){if(null===t.tView.ssrId)return null;
1const r=Ou(e,t.tView.ssrId);return n[o.eDl].firstUpdatePass&&null===r&&function aD(e,t){let n=t;for(;n;){if(zg(e,n))return;if(!(256&~n.flags))break;n=n.prev}for(n=t.next;n&&!(512&~n.flags);){if(zg(e,n))return;n=n.next}}(n,t),r}function $g(e,t,n){return Hg(e,t,n)}function Kg(e,t){const n=e[o.qFA];return!(!t||null===n||0===n.length)&&n[0].data.i===t}function zg(e,t){const n=t.tView?.ssrId;if(null==n)return!1;const r=e[t.index];return!(!(0,o.A0l)(r)||!Kg(r,n)||(xl(r),0))}let cD=class{},Gg=class{};class uD{resolveComponentFactory(t){throw new o.buA(917,!1)}}let Fl=class{static NULL=new uD};class Ff{}let lD=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function dD(){const e=(0,o.OAn)(),t=(0,o.Mx4)(),n=(0,o.KdJ)(t.index,e);return((0,o.q$2)(n)?n:e)[o.GpT]}()})(),fD=(()=>{class e{static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function Uf(e){return void 0!==e.ngModule}function Xa(e){return!!(0,o.phH)(e)}function Ul(e){return!!(0,o.oyA)(e)}function Yg(e){return!!(0,o.HaV)(e)}function wu(e){return!!(0,o.xUg)(e)}function pD(e,t){if((0,o.Jzi)(e)&&!(e=(0,o.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,o.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,o.PP7)(e)||e}".`);if(null==(0,o.phH)(e)){const n=(0,o.xUg)(e)||(0,o.HaV)(e)||(0,o.oyA)(e);if(null==n)throw Uf(e)?new Error(`A module with providers was imported from "${(0,o.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,o.PP7)(e)}" type, imported from "${(0,o.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!n.standalone){const r=function hD(e){return(0,o.xUg)(e)?"component":(0,o.HaV)(e)?"directive":(0,o.oyA)(e)?"pipe":"type"}(e);throw new Error(`The "${(0,o.PP7)(e)}" ${r}, imported from "${(0,o.PP7)(t)}", is not standalone. Does the ${r} have the standalone: false flag?`)}}}class gD{ownerNgModule=new WeakMap;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new WeakMap;standaloneComponentsScopeCache=new WeakMap;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const n=(0,o.phH)(t);if(n?.declarations)for(const r of Zs(n.declarations))wu(r)&&this.ownerNgModule.set(r,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,n){this.resolveNgModulesDecls();const r=(0,o.xUg)(t);if(null===r)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(r.standalone){const i=this.getStandaloneComponentScope(t,n);return i.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...i.compilation.directives,...i.compilation.pipes,...i.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const i=this.getNgModuleScope(this.ownerNgModule.get(t));return i.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...i.compilation.directives,...i.compilation.pipes]}}}registerNgModule(t,n){if(!Xa(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const n=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,n),n}computeNgModuleScope(t){const n=(0,o.WbQ)(t),r={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const i of Zs(n.imports))if(Xa(i)){const s=this.getNgModuleScope(i);Oa(s.exported.directives,r.compilation.directives),Oa(s.exported.pipes,r.compilation.pipes)}else{if(!(0,o.QuC)(i)){r.compilation.isPoisoned=!0;break}if(Yg(i)||wu(i))r.compilation.directives.add(i);else{if(!Ul(i))throw new o.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");r.compilation.pipes.add(i)}}if(!r.compilation.isPoisoned)for(const i of Zs(n.declarations)){if(Xa(i)||(0,o.QuC)(i)){r.compilation.isPoisoned=!0;break}Ul(i)?r.compilation.pipes.add(i):r.compilation.directives.add(i)}
1for(const i of Zs(n.exports))if(Xa(i)){const s=this.getNgModuleScope(i);Oa(s.exported.directives,r.exported.directives),Oa(s.exported.pipes,r.exported.pipes),Oa(s.exported.directives,r.compilation.directives),Oa(s.exported.pipes,r.compilation.pipes)}else Ul(i)?r.exported.pipes.add(i):r.exported.directives.add(i);return r}getStandaloneComponentScope(t,n){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const r=this.computeStandaloneComponentScope(t,n);return this.standaloneComponentsScopeCache.set(t,r),r}computeStandaloneComponentScope(t,n){const r={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const i of(0,o.Bqz)(n??[])){const s=(0,o.nl4)(i);try{pD(s,t)}catch{return r.compilation.isPoisoned=!0,r}if(Xa(s)){r.compilation.ngModules.add(s);const c=this.getNgModuleScope(s);if(c.exported.isPoisoned)return r.compilation.isPoisoned=!0,r;Oa(c.exported.directives,r.compilation.directives),Oa(c.exported.pipes,r.compilation.pipes)}else if(Ul(s))r.compilation.pipes.add(s);else{if(!Yg(s)&&!wu(s))return r.compilation.isPoisoned=!0,r;r.compilation.directives.add(s)}}return r}isOrphanComponent(t){const n=(0,o.xUg)(t);return!(!n||n.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Oa(e,t){for(const n of e)t.add(n)}const Ru=new gD,Bf={};class Nc{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,Bf,r);return i!==Bf||n===Bf?i:this.parentInjector.get(t,n,r)}}function Bl(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let c=0;c<t.length;c++){const f=t[c];if("number"==typeof f)s=f;else if(1==s)i=(0,o.n$e)(i,f);else if(2==s){const L=t[++c];r=(0,o.n$e)(r,f+": "+L+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function Lc(e,t=0){const n=(0,o.OAn)();return null===n?(0,o.KVO)(e,t):$t((0,o.Mx4)(),n,(0,o.nl4)(e),t)}function Qg(){throw new Error("invalid")}function Xg(e,t,n,r,i){const s=null===r?null:{"":-1},c=i(e,n);if(null!==c){let f=c,m=null,L=null;for(const z of c)if(null!==z.resolveHostDirectives){[f,m,L]=z.resolveHostDirectives(c);break}!function vD(e,t,n,r,i,s,c){const f=r.length;let m=null;for(let Ue=0;Ue<f;Ue++){const ze=r[Ue];null===m&&(0,o.JlV)(ze)&&(m=ze,_D(e,n,Ue)),lo(Rr(n,t),e,ze.type)}(function TD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,f),m?.viewProvidersResolver&&m.viewProvidersResolver(m);for(let Ue=0;Ue<f;Ue++){const ze=r[Ue];ze.providersResolver&&ze.providersResolver(ze)}let L=!1,z=!1,ue=Mc(e,t,f,null);f>0&&(n.directiveToIndex=new Map);for(let Ue=0;Ue<f;Ue++){const ze=r[Ue];if(n.mergedAttrs=ke(n.mergedAttrs,ze.hostAttrs),ED(e,n,t,ue,ze),MD(ue,ze,i),null!==c&&c.has(ze)){const[on,Tn]=c.get(ze);n.directiveToIndex.set(ze.type,[ue,on+n.directiveStart,Tn+n.directiveStart])}else(null===s||!s.has(ze))&&n.directiveToIndex.set(ze.type,ue);null!==ze.contentQueries&&(n.flags|=4),(null!==ze.hostBindings||null!==ze.hostAttrs||0!==ze.hostVars)&&(n.flags|=64);const _t=ze.type.prototype;!L&&(_t.ngOnChanges||_t.ngOnInit||_t.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),L=!0),!z&&(_t.ngOnChanges||_t.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),z=!0),ue++}!function yD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const i=e.data[r];if(null!==n&&n.has(i)){const s=n.get(i);Zg(0,t,s,r),Zg(1,t,s,r),em(t,r,!0)}else Jg(0,t,i,r),Jg(1,t,i,r),em(t,r,!1)}}(e,n,s)}(e,t,n,f,s,m,L)}null!==s&&null!==r&&function mD(e,t,n){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new o.buA(-301,!1);r.push(t[i],s)}}(n,r,s)}function _D(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Jg(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const s in i)if(i.hasOwnProperty(s)){let c;c=0===e?t.inputs??={}:t.outputs??={},c[s]??=[],c[s].push(r),qg(t,s)}}function Zg(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const s in i)if(i.hasOwnProperty(s)){const c=i[s];let f;f=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},f[c]??=[],f[c].push(r,s),qg(t,c)}}function qg(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function em(e,t,n){const{attrs:r,inputs:i,hostDirectiveInputs:s}=e;if(null===r||!n&&null===i||n&&null===s||gl(e))return e.initialInputs??=[],void e.initialInputs.push(null);let c=null,f=0;for(;f<r.length;){const m=r[f];if(0!==m)if(5!==m){if("number"==typeof m)break;
1if(!n&&i.hasOwnProperty(m)){const L=i[m];for(const z of L)if(z===t){c??=[],c.push(m,r[f+1]);break}}else if(n&&s.hasOwnProperty(m)){const L=s[m];for(let z=0;z<L.length;z+=2)if(L[z]===t){c??=[],c.push(L[z+1],r[f+1]);break}}f+=2}else f+=2;else f+=4}e.initialInputs??=[],e.initialInputs.push(c)}function ED(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=(0,o.wGu)(i.type,!0)),c=new it(s,(0,o.JlV)(i),Lc,null);e.blueprint[r]=c,n[r]=c,function DD(e,t,n,r,i){const s=i.hostBindings;if(s){let c=e.hostBindingOpCodes;null===c&&(c=e.hostBindingOpCodes=[]);const f=~t.index;(function CD(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(c)!=f&&c.push(f),c.push(n,r,s)}}(e,t,r,Mc(e,n,i.hostVars,co),i)}function MD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;(0,o.JlV)(t)&&(n[""]=e)}}function jf(e,t,n,r,i,s,c,f){const m=t[o.eDl],L=m.consts,ue=Ya(m,e,n,r,(0,o.db4)(L,c));return s&&Xg(m,t,ue,(0,o.db4)(L,f),i),ue.mergedAttrs=ke(ue.mergedAttrs,ue.attrs),null!==ue.attrs&&Bl(ue,ue.attrs,!1),null!==ue.mergedAttrs&&Bl(ue,ue.mergedAttrs,!0),null!==m.queries&&m.queries.elementStart(m,ue),ue}function Vf(e,t){Ln(e,t),(0,o.srX)(t)&&e.queries.elementEnd(t)}function tm(e,t,n,r,i,s){const c=t.consts,m=Ya(t,e,n,r,(0,o.db4)(c,i));if(m.mergedAttrs=ke(m.mergedAttrs,m.attrs),null!=s){const L=(0,o.db4)(c,s);m.localNames=[];for(let z=0;z<L.length;z+=2)m.localNames.push(L[z],-1)}return null!==m.attrs&&Bl(m,m.attrs,!1),null!==m.mergedAttrs&&Bl(m,m.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,m),m}function Wf(e){return!!nm(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ID(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}function nm(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ra(e,t,n){return e[t]=n}function xc(e,t){return e[t]}function Ko(e,t,n){return n!==co&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function Ja(e,t,n,r){const i=Ko(e,t,n);return Ko(e,t+1,r)||i}function jl(e,t,n,r,i){const s=Ja(e,t,n,r);return Ko(e,t+2,i)||s}function ea(e,t,n,r,i,s){const c=Ja(e,t,n,r);return Ja(e,t+2,i,s)||c}function wa(e,t,n){return function r(i){const s=r.__ngNativeEl__;void 0!==s&&function M(e,t){if(null==e||"object"!=typeof e)return;let n=p.get(e);n||(n=new WeakSet,p.set(e,n)),n.add(t)}(i,s),wc((0,o.Qs1)(e)?(0,o.KdJ)(e.index,t):t,5);const f=t[o.SKP];let m=rm(t,f,n,i),L=r.__ngNextListenerFn__;for(;L;)m=rm(t,f,L,i)&&m,L=L.__ngNextListenerFn__;return m}}function rm(e,t,n,r){const i=(0,mt.Ht)(null);try{return Ze(qe.OutputStart,t,n),!1!==n(r)}catch(s){return Tf(e,s),!1}finally{Ze(qe.OutputEnd,t,n),(0,mt.Ht)(i)}}function Hf(e,t,n,r,i,s,c,f){const m=(0,o.yoD)(e);let L=!1,z=null;if(!r&&m&&(z=function OD(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const c=i[s];if(c===n&&i[s+1]===r){const f=t[o.VVG],m=i[s+2];return f&&f.length>m?f[m]:null}"string"==typeof c&&(s+=2)}return null}(t,n,s,e.index)),null!==z)(z.__ngLastListenerFn__||z).__ngNextListenerFn__=c,z.__ngLastListenerFn__=c,L=!0;else{const ue=(0,o.d31)(e,n),Ue=r?r(ue):ue;(function Ie(e,t,n,r){je(e,t,n,r)})(n,Ue,s,f),r||(f.__ngNativeEl__=ue);const ze=i.listen(Ue,s,f);(function bD(e){return e.startsWith("animation")||e.startsWith("transition")})(s)||om(r?on=>r((0,o.IvY)(on[e.index])):e.index,t,n,s,f,ze,!1)}return L}function om(e,t,n,r,i,s,c){const f=t.firstCreatePass?(0,o.vNG)(t):null,m=(0,o.d_l)(n),L=m.length;m.push(i,s),f&&f.push(r,e,L,(L+1)*(c?-1:1))}function kc(e,t,n,r,i,s){const f=t[o.eDl],ue=t[n][f.data[n].outputs[r]].subscribe(s);om(e.index,f,t,i,s,ue,!0)}class am{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(4096&r.flags)}get customControl(){return-1!==this.tNode.customControlIndex?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){um(this.tView.data[this.tNode.customControlIndex],t)&&kc(this.tNode,this.lView,this.tNode.customControlIndex,t,t,wa(this.tNode,this.lView,n))}listenToCustomControlModel(t){const n=1024&this.tNode.flags?"valueChange":"checkedChange";kc(this.tNode,this.lView,this.tNode.customControlIndex,n,n,wa(this.tNode,this.lView,t))}listenToDom(t,n){Hf(this.tNode,this.tView,this.lView,void 0,this.lView[o.GpT],t,n,wa(this.tNode,this.lView,n))}
1setInputOnDirectives(t,n){const r=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!r&&!i)return!1;if(r)for(const s of r)ga(this.tView.data[s],this.lView[s],t,n);if(i)for(let s=0;s<i.length;s+=2){const c=i[s];ga(this.tView.data[c],this.lView[c],i[s+1],n)}return!0}setCustomControlModelInput(t){ga(this.tView.data[this.tNode.customControlIndex],this.lView[this.tNode.customControlIndex],1024&this.tNode.flags?"value":"checked",t)}customControlHasInput(t){return-1!==this.tNode.customControlIndex&&null!=this.tView.data[this.tNode.customControlIndex].inputs[t]}}function cm(e,t){return function kD(e,t){return t in e.inputs}(e,t)&&um(e,t+"Change")}function um(e,t){return t in e.outputs}const _a=Symbol("BINDING");function $f(e){return e.debugInfo?.className||e.type.name||null}class fm extends Fl{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=(0,o.xUg)(t);return new Vl(n,this.ngModule)}}class Vl extends Gg{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function jD(e){return Object.keys(e).map(t=>{const[n,r,i]=e[t],s={propName:n,templateName:t,isSignal:0!==(r&fu.SignalBased)};return i&&(s.transform=i),s})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function VD(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function tf(e){return e.map(Aa).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i,s,c){Ze(qe.DynamicComponentStart);const f=(0,mt.Ht)(null);try{const m=this.componentDef,L=function WD(e,t,n){let r=t instanceof o.uvJ?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Nc(n,r):n}(m,i||this.ngModule,t),z=function HD(e){const t=e.get(Ff,null);if(null===t)throw new o.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(fD,null),changeDetectionScheduler:e.get(o.hk6,null),ngReflect:!1,tracingService:e.get(Ic,null,{optional:!0})}}(L),ue=z.tracingService;return ue&&ue.componentCreate?ue.componentCreate($f(m),()=>this.createComponentRef(z,L,n,r,s,c)):this.createComponentRef(z,L,n,r,s,c)}finally{(0,mt.Ht)(f)}}createComponentRef(t,n,r,i,s,c){const f=this.componentDef,m=function zD(e,t,n,r){const i=e?["ng-version","21.2.17"]:function nf(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!qs(i))break;i=s}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let s=null,c=null,f=0;if(n)for(const z of n)f+=z[_a].requiredVars,z.create&&(z.targetIdx=0,(s??=[]).push(z)),z.update&&(z.targetIdx=0,(c??=[]).push(z));if(r)for(let z=0;z<r.length;z++){const ue=r[z];if("function"!=typeof ue)for(const Ue of ue.bindings){f+=Ue[_a].requiredVars;const ze=z+1;Ue.create&&(Ue.targetIdx=ze,(s??=[]).push(Ue)),Ue.update&&(Ue.targetIdx=ze,(c??=[]).push(Ue))}}const m=[t];if(r)for(const z of r){const Ue=(0,o.HaV)("function"==typeof z?z:z.type);m.push(Ue)}return lu(0,null,function GD(e,t){return e||t?n=>
1{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(s,c),1,f,m,null,null,null,[i],null)}(i,f,c,s),L=t.rendererFactory.createRenderer(null,f),z=i?function jE(e,t,n,r){const s=r.get(Ni,!1)||n===Br.ShadowDom||n===Br.ExperimentalIsolatedShadowDom,c=e.selectRootElement(t,s);if("script"===c.tagName.toLowerCase())throw new o.buA(905,!1);return function VE(e){ag(e)}(c),c}(L,i,f.encapsulation,n):function $D(e,t){const n=function KD(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return mc(t,n,"svg"===n?o.jNX:"math"===n?o.rJ1:null)}(f,L),ue=c?.some(hm)||s?.some(_t=>"function"!=typeof _t&&_t.bindings.some(hm)),Ue=Cc(null,m,null,512|du(f),null,null,t,L,n,null,Nr(z,n,!0));Ue[o.Yw1]=z,(0,o.ID8)(Ue);let ze=null;try{const _t=jf(o.Yw1,Ue,2,"#host",()=>m.directiveRegistry,!0,0);kd(L,z,_t),Fr(z,Ue),Cl(m,Ue,_t),ki(m,_t,Ue),Vf(m,_t),void 0!==r&&function QD(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const s=n[i];r.push(null!=s&&s.length?Array.from(s):null)}}(_t,this.ngContentSelectors,r),ze=(0,o.KdJ)(_t.index,Ue),Ue[o.SKP]=ze[o.SKP],Al(m,Ue,null)}catch(_t){throw null!==ze&&Si(ze),Si(Ue),_t}finally{Ze(qe.DynamicComponentEnd),(0,o.bll)()}return new YD(this.componentType,Ue,!!ue)}}function hm(e){const t=e[_a].kind;return"input"===t||"twoWay"===t}class YD extends cD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=(0,o.XRZ)(n[o.eDl],o.Yw1),this.location=_o(this._tNode,n),this.instance=(0,o.KdJ)(this._tNode.index,n)[o.SKP],this.hostView=this.changeDetectorRef=new Ol(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Il(r,i[o.eDl],i,t,n),this.previousInputValues.set(t,n),wc((0,o.KdJ)(r.index,i),1)}get injector(){return new x(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Wl=(()=>class e{static __NG_ELEMENT_ID__=XD})();function XD(){return gm((0,o.Mx4)(),(0,o.OAn)())}class Kf extends Wl{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return _o(this._hostTNode,this._hostLView)}get injector(){return new x(this._hostTNode,this._hostLView)}get parentInjector(){const t=Wr(this._hostTNode,this._hostLView);if(Ct(t)){const n=Gn(t,this._hostLView),r=sn(t);return new x(n[o.eDl].data[r+8],n)}return new x(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=pm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-o.Y20}createEmbeddedView(t,n,r){let i,s;"number"==typeof r?i=r:null!=r&&(i=r.index,s=r.injector);const c=Ou(this._lContainer,t.ssrId),f=t.createEmbeddedViewImpl(n||{},s,c);return this.insertImpl(f,i,Ga(this._hostTNode,c)),f}createComponent(t,n,r,i,s,c,f){const m=t&&!On(t);let L;if(m)L=n;else{const Tn=n||{};L=Tn.index,r=Tn.injector,i=Tn.projectableNodes,s=Tn.environmentInjector||Tn.ngModuleRef,c=Tn.directives,f=Tn.bindings}const z=m?t:new Vl((0,o.xUg)(t)),ue=r||this.parentInjector;if(!s&&null==z.ngModule){const Xn=(m?ue:this.parentInjector).get(o.uvJ,null);Xn&&(s=Xn)}const Ue=(0,o.xUg)(z.componentType??{}),ze=Ou(this._lContainer,Ue?.id??null),on=z.create(ue,i,ze?.firstChild??null,s,c,f);return this.insertImpl(on.hostView,L,Ga(this._hostTNode,ze)),on}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if((0,o.ITl)(i)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const m=i[o.f7T],L=new Kf(m,m[o.qlT],m[o.f7T]);L.detach(L.indexOf(t))}}const s=this._adjustIndex(n),c=this._lContainer;return Rc(c,i,s,r),t.attachToViewContainerRef(),(0,o.EYC)(zf(c),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=pm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Eu(this._lContainer,n);r&&((0,o.E6O)(zf(this._lContainer),n),vu(r[o.eDl],r))}detach(t){const n=this._adjustIndex(t,-1),r=Eu(this._lContainer,n);return r&&null!=(0,o.E6O)(zf(this._lContainer),n)?new Ol(r):null}_adjustIndex(t,n=0){return t??this.length+n}}function pm(e){return e[o.bm_]}function zf(e){return e[o.bm_]||(e[o.bm_]=[])}function gm(e,t){let n;const r=t[e.index];return(0,o.A0l)(r)?n=r:(n=yg(r,t,null,e),t[e.index]=n,_l(t,n)),mm(n,t,e,r),new Kf(n,e,t)}let mm=vm,Gf=()=>!1;function _m(e,t,n){return Gf(e,t,n)}function vm(e,t,n,r){if(e[o.s6P])return;let i;i=8&n.type?(0,o.IvY)(r):function JD(e,t){const n=e[o.GpT],r=n.createComment(""),i=(0,o.d31)(t,e),s=n.parentNode(i);return Ia(n,s,r,n.nextSibling(i),!1),r}(t,n),e[o.s6P]=i}
1function ZD(e,t,n){if(e[o.s6P]&&e[o.qFA])return!0;const r=n[o.tcA],i=t.index-o.Yw1;if(!r||function Ui(e){if(ii(e))return!0;let t=e.parent;for(;t;){if(ii(e)||_i(t))return!0;t=t.parent}return!1}(t)||Do(r,i))return!1;const c=Te(r,i),f=r.data.c?.[i];if(void 0===f)return!1;const[m,L]=function rD(e,t){const n=[];for(const r of t)for(let i=0;i<(r.x??1);i++){const s={data:r,firstChild:null};r.r>0&&(s.firstChild=e,e=Ll(r.r,e)),n.push(s)}return[e,n]}(c,f);return e[o.s6P]=m,e[o.qFA]=L,!0}function qD(e,t,n,r){Gf(e,n,t)||vm(e,t,n,r)}function eC(){mm=qD,Gf=ZD}class Yf{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Yf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qf{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const c=n.getByIndex(s);i.push(this.queries[c.indexInDeclarationView].clone())}return new Qf(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==eh(t,n).matches&&this.queries[n].setDirty()}}class ym{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function iC(e){return e.split(",").map(t=>t.trim())}(t):t}}class Xf{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new Xf(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Jf{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Jf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,tC(n,s)),this.matchTNodeWithReadOption(t,n,mr(n,t,s,!1,!1))}else r===Du?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,mr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===So||i===Wl||i===Du&&4&n.type)this.addMatch(n.index,-2);else{const s=mr(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function tC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function rC(e,t,n,r){return-1===n?function nC(e,t){return 11&e.type?_o(e,t):4&e.type?wl(e,t):null}(t,e):-2===n?function oC(e,t,n){return n===So?_o(t,e):n===Du?wl(t,e):n===Wl?gm(t,e):void 0}(e,t,r):po(e,e[o.eDl],n,t)}function Em(e,t,n,r){const i=t[o.Ds7].queries[r];if(null===i.matches){const s=e.data,c=n.matches,f=[];for(let m=0;null!==c&&m<c.length;m+=2){const L=c[m];f.push(L<0?null:rC(t,s[L],c[m+1],n.metadata.read))}i.matches=f}return i.matches}function Zf(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const c=Em(e,t,i,n);for(let f=0;f<s.length;f+=2){const m=s[f];if(m>0)r.push(c[f/2]);else{const L=s[f+1],z=t[-m];for(let ue=o.Y20;ue<z.length;ue++){const Ue=z[ue];Ue[o.rQE]===Ue[o.f7T]&&Zf(Ue[o.eDl],Ue,L,r)}if(null!==z[o.nfM]){const ue=z[o.nfM];for(let Ue=0;Ue<ue.length;Ue++){const ze=ue[Ue];Zf(ze[o.eDl],ze,L,r)}}}}}return r}function qf(e,t){return e[o.Ds7].queries[t].queryList}function Dm(e,t,n){const r=new Mi(!(4&~n));return(0,o.B22)(e,t,r,r.destroy),(t[o.Ds7]??=new Qf).queries.push(new Yf(r))-1}function Cm(e,t,n){const r=(0,o.klJ)();return r.firstCreatePass&&(Tm(r,new ym(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),Dm(r,(0,o.OAn)(),t)}function Mm(e,t,n,r){const i=(0,o.klJ)();if(i.firstCreatePass){const s=(0,o.Mx4)();Tm(i,new ym(t,n,r),s.index),function sC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}
1(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return Dm(i,(0,o.OAn)(),n)}function Tm(e,t,n){null===e.queries&&(e.queries=new Xf),e.queries.track(new Jf(t,n))}function eh(e,t){return e.queries.getByIndex(t)}function Sm(e,t){const n=e[o.eDl],r=eh(n,t);return r.crossesNgTemplate?Zf(n,e,t,[]):Em(n,e,r,t)}function th(e,t,n){let r;const i=(0,mt.KZ)(()=>{r._dirtyCounter();const s=function lC(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[o.Wg1])return t?void 0:o.Mlv;const i=qf(n,r),s=Sm(n,r);return i.reset(s,Qi),t?i.first:i._changesDetected||void 0===e._flatValue?e._flatValue=i.toArray():e._flatValue}(r,e);if(t&&void 0===s)throw new o.buA(-951,!1);return s});return r=i[mt.bh],r._dirtyCounter=(0,o.vPA)(0),r._flatValue=void 0,i}function aC(e){return th(!0,!1)}function cC(e){return th(!0,!0)}function uC(e){return th(!1,!1)}function Im(e,t){const n=e[mt.bh];n._lView=(0,o.OAn)(),n._queryIndex=t,n._queryList=qf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}let Za=new Map;const Pu=new Set;function dC(e){return nh.apply(this,arguments)}function nh(){return nh=(0,fn.A)(function*(e){const t=Za;Za=new Map;const n=new Map;function r(s){const c=n.get(s);if(c)return c;const f=e(s).then(m=>function pC(e,t){return rh.apply(this,arguments)}(s,m));return n.set(s,f),f}const i=Array.from(t).map(function(){var s=(0,fn.A)(function*([c,f]){if(f.styleUrl&&f.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");const m=[];f.templateUrl&&m.push(r(f.templateUrl).then(Ue=>{f.template=Ue}));const L="string"==typeof f.styles?[f.styles]:f.styles??[];f.styles=L;let{styleUrl:z,styleUrls:ue}=f;if(z&&(ue=[z],f.styleUrl=void 0),ue?.length){const Ue=Promise.all(ue.map(ze=>r(ze))).then(ze=>{L.push(...ze),f.styleUrls=void 0});m.push(Ue)}yield Promise.all(m),Pu.delete(c)});return function(c){return s.apply(this,arguments)}}());yield Promise.all(i)}),nh.apply(this,arguments)}function hC(){return 0===Za.size}function rh(){return(rh=(0,fn.A)(function*(e,t){if("string"==typeof t)return t;if(void 0!==t.status&&200!==t.status)throw new o.buA(918,!1);return t.text()})).apply(this,arguments)}const oh=new Map;function Om(e,t){(function gC(e,t,n){if(t&&t!==n)throw new o.buA(921,!1)})(0,oh.get(t)||null,e),oh.set(t,e)}let qa=class{},wm=class{};function mC(e,t){return new ih(e,t??null,[])}class ih extends qa{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fm(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const s=(0,o.phH)(t);this._bootstrapComponents=Zs(s.bootstrap),this._r3Injector=(0,o.Pz9)(t,n,[{provide:qa,useValue:this},{provide:Fl,useValue:this.componentFactoryResolver},...r],(0,o.AsM)(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Rm extends wm{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ih(this.moduleType,t,[])}}function _C(e,t,n){return new ih(e,t,n,!1)}class vC extends qa{injector;componentFactoryResolver=new fm(this);instance=null;constructor(t){super();const n=new o.e5P([...t.providers,{provide:qa,useValue:this},{provide:Fl,useValue:this.componentFactoryResolver}],t.parent||(0,o.WB9)(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function sh(e,t,n=null){return new vC({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let yC=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=(0,o.jXY)(!1,n.type),i=r.length>0?sh([r],this._injector,""):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,o.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,o.KVO)(o.uvJ))})}return e})();function Pm(e){return Ge(()=>{const t=Fm(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ti.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(yC).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Br.Emulated,styles:e.styles||o.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&cs("NgStandalone"),Um(n);
1const r=e.dependencies;return n.directiveDefs=Hl(r,Nm),n.pipeDefs=Hl(r,o.oyA),n.id=function MC(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const s of r.join("|"))t=Math.imul(31,t)+s.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Nm(e){return(0,o.xUg)(e)||(0,o.HaV)(e)}function Lm(e){return Ge(()=>({type:e.type,bootstrap:e.bootstrap||o.Mlv,declarations:e.declarations||o.Mlv,imports:e.imports||o.Mlv,exports:e.exports||o.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function EC(e,t){if(null==e)return o.MZA;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let s,c,f,m;Array.isArray(i)?(f=i[0],s=i[1],c=i[2]??s,m=i[3]||null):(s=i,c=i,f=fu.None,m=null),n[s]=[r,f,m],t[s]=c}return n}function DC(e){if(null==e)return o.MZA;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function xm(e){return Ge(()=>{const t=Fm(e);return Um(t),t})}function km(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Fm(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||o.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||o.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:EC(e.inputs,t),outputs:DC(e.outputs),debugInfo:null}}function Um(e){e.features?.forEach(t=>t(e))}function Hl(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const i of n){const s=t(i);null!==s&&r.push(s)}return r}:null}function IC(e){const t=[];let n=!1,r=null,i=null;for(let s=0;s<e.length;s++){const c=e[s];if(null!==c.hostDirectives){const f=t.length;r??=new Map,i??=new Map,Bm(c,t,r),i.set(c,[f,t.length-1])}0===s&&(0,o.JlV)(c)&&(n=!0,t.push(c))}for(let s=n?1:0;s<e.length;s++)t.push(e[s]);return[t,r,i]}function Bm(e,t,n){if(null!==e.hostDirectives)for(const r of e.hostDirectives)if("function"==typeof r){const i=r();for(const s of i)jm(ah(s),t,n)}else jm(r,t,n)}function jm(e,t,n){const r=(0,o.HaV)(e.directive);(function AC(e,t){for(const n in t)t.hasOwnProperty(n)&&(e[t[n]]=e[n])})(r.declaredInputs,e.inputs),Bm(r,t,n),n.set(r,e),t.push(r)}function ah(e){return"function"==typeof e?{directive:(0,o.nl4)(e),inputs:o.MZA,outputs:o.MZA}:{directive:(0,o.nl4)(e.directive),inputs:Vm(e.inputs),outputs:Vm(e.outputs)}}function Vm(e){if(void 0===e||0===e.length)return o.MZA;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function ch(e){let t=function bC(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let i;const s=Object.hasOwn(t,o.CQl)?t[o.CQl]:void 0,c=Object.hasOwn(t,o.CZt)?t[o.CZt]:void 0;if((0,o.JlV)(e))i=s??c;else{if(s)throw new o.buA(903,!1);i=c}if(i){if(n){r.push(i);const m=e;m.inputs=uh(e.inputs),m.declaredInputs=uh(e.declaredInputs),m.outputs=uh(e.outputs);const L=i.hostBindings;L&&NC(e,L);const z=i.viewQuery,ue=i.contentQueries;if(z&&RC(e,z),ue&&PC(e,ue),OC(e,i),(0,o.dwj)(e.outputs,i.outputs),(0,o.JlV)(i)&&i.data.animation){const Ue=e.data;Ue.animation=(Ue.animation||[]).concat(i.data.animation)}}const f=i.features;if(f)for(let m=0;m<f.length;m++){const L=f[m];L&&L.ngInherit&&L(e),L===ch&&(n=!1)}}t=Object.getPrototypeOf(t)}!function wC(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=ke(i.hostAttrs,n=ke(n,i.hostAttrs))}}(r)}function OC(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];
1void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function uh(e){return e===o.MZA?{}:e===o.Mlv?[]:e}function RC(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function PC(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function NC(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Hm(e,t,n,r,i,s,c,f){if(n.firstCreatePass){e.mergedAttrs=ke(e.mergedAttrs,e.attrs);const z=e.tView=lu(2,e,i,s,c,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),z.queries=n.queries.embeddedTView(e))}f&&(e.flags|=f),(0,o.iMd)(e,!1);const m=$m(n,t,e,r);(0,o.SX7)()&&vf(n,t,m,e),Fr(m,t);const L=yg(m,t,m,e);t[r+o.Yw1]=L,_l(t,L),_m(L,e,t)}function ec(e,t,n,r,i,s,c,f,m,L,z){const ue=n+o.Yw1;let Ue;if(t.firstCreatePass){if(Ue=Ya(t,ue,4,c||null,f||null),null!=L){const ze=(0,o.db4)(t.consts,L);Ue.localNames=[];for(let _t=0;_t<ze.length;_t+=2)Ue.localNames.push(ze[_t],-1)}}else Ue=t.data[ue];return Hm(Ue,e,t,n,r,i,s,m),null!=L&&bc(e,Ue,z),Ue}function lh(e,t,n,r,i,s,c,f){const m=(0,o.OAn)(),L=(0,o.klJ)();return function LC(e,t,n,r,i,s,c,f,m,L,z){const ue=n+o.Yw1;let Ue;t.firstCreatePass?(Ue=Ya(t,ue,4,c||null,f||null),(0,o.ckz)()&&Xg(t,e,Ue,(0,o.db4)(t.consts,L),Mf),Ln(t,Ue)):Ue=t.data[ue],Hm(Ue,e,t,n,r,i,s,m),(0,o.yoD)(Ue)&&Cl(t,e,Ue),null!=L&&bc(e,Ue,z)}(m,L,e,t,n,r,i,(0,o.db4)(L.consts,s),void 0,c,f),lh}function dh(e,t,n,r,i,s,c,f){const m=(0,o.OAn)(),L=(0,o.klJ)();return ec(m,L,e,t,n,r,i,(0,o.db4)(L.consts,s),void 0,c,f),dh}let $m=Km;function Km(e,t,n,r){return(0,o.m7n)(!0),t[o.GpT].createComment("")}function xC(e,t,n,r){const i=!qr(t,n);(0,o.m7n)(i);const s=t[o.tcA]?.data.t?.[r]??null;if(null!==s&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=s),i)return Km(0,t);const c=t[o.tcA],f=Iu(c,e,t,n);return ce(c,r,f),Ll(rr(c,r),f)}function kC(){$m=xC}var wi=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(wi||{}),Po=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Po||{}),Fc=function(e){return e[e.Initial=-1]="Initial",e}(Fc||{}),Gm=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Gm||{});function Lu(e,t,n){const r=Qm(e);null===t[r]&&(t[r]=[]),t[r].push(n)}function zl(e,t){const n=Qm(e),r=t[n];if(null!==r){for(const i of r)i();t[n]=null}}function Ym(e){zl(1,e),zl(0,e),zl(2,e)}function Qm(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function xu(e){return e+1}function Us(e,t){return e[xu(t.index)]}function us(e,t){const n=xu(t.index);return e.data[n]}function fh(e,t){return t===Po.Placeholder?e.placeholderBlockConfig?.[0]??null:t===Po.Loading?e.loadingBlockConfig?.[0]??null:null}function Xm(e){return e.loadingBlockConfig?.[1]??null}function Jm(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function hh(e,t,n,r){const i=n.get(o.SKi);return function zs(e,t,n,r){const i=Ws(r);let s=pi.get(e)?.get(i);xs.has(i)||xs.set(i,{observer:n(r),count:0});const c=xs.get(i);if(!s){s=new ss,c.observer.observe(e);let f=pi.get(e);f?f.set(i,s):(f=new Map,pi.set(e,f)),f.set(i,s),c.count++}return s.callbacks.add(t),()=>{if(pi.get(e)?.has(i)){if(s.callbacks.delete(t),0===s.callbacks.size){c.observer.unobserve(e),c.count--;const f=pi.get(e);f&&(f.delete(i),0===f.size&&pi.delete(e))}0===c.count&&(c.observer.disconnect(),xs.delete(i))}}}(e,()=>i.run(t),s=>i.runOutsideAngular(()=>function Ks(e){const t=Ws(e);return new IntersectionObserver(n=>{for(const r of n)r.isIntersecting&&pi.has(r.target)&&pi.get(r.target)?.get(t)?.listener()},e)}(s)),r)}function jc(e,t,n,r,i,s,c,f){const m=e[o.YEL],L=m.get(o.SKi);let z;z=zp({read:function ue(){if((0,o.EPY)(e))return void z.destroy();const Ue=Us(e,t),ze=Ue[1];if(ze!==Fc.Initial&&ze!==Po.Placeholder)return void z.destroy();const _t=function KC(e,t,n){return null==n?e:n>=0?(0,o.jRZ)(n,e):e[t.index][o.Y20]??null}(e,t,r);if(!_t||(z.destroy(),(0,o.EPY)(_t)))return;const on=function zC(e,t){return(0,o.vaC)(o.Yw1+t,e)}(_t,n),Tn=i(on,()=>{L.run(()=>{e!==_t&&(0,o.DyX)(_t,Tn),s()})},m,f);e!==_t&&(0,o.ik5)(_t,Tn),Lu(c,Ue,Tn)}},{injector:m})}function Gl(e,t){const n=t.get(QC);return n.add(e),()=>n.remove(e)}let QC=(()=>{class e{executingCallbacks=!1;idleId=null;
1current=new Set;deferred=new Set;ngZone=(0,o.WQX)(o.SKi);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:i}=this;r.delete(n),i.delete(n),0===r.size&&0===i.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function Yl(e){return(t,n)=>qm(e,t,n)}function qm(e,t,n){const r=n.get(XC),i=n.get(o.SKi);return r.add(e,t,i),()=>r.remove(t)}let XC=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(n,r,i){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+n,r),this.scheduleTimer(i)}remove(n){const{current:r,deferred:i}=this;-1===this.removeFromQueue(r,n)&&this.removeFromQueue(i,n),0===r.length&&0===i.length&&this.clearTimeout()}addToQueue(n,r,i){let s=n.length;for(let c=0;c<n.length;c+=2)if(n[c]>r){s=c;break}(0,o.llW)(n,s,r,i)}removeFromQueue(n,r){let i=-1;for(let s=0;s<n.length;s+=2)if(n[s+1]===r){i=s;break}return i>-1&&(0,o.gsJ)(n,i,2),i}scheduleTimer(n){const r=()=>{this.clearTimeout(),this.executingCallbacks=!0;const s=[...this.current],c=Date.now();for(let m=0;m<s.length;m+=2){const z=s[m+1];if(!(s[m]<=c))break;z()}let f=-1;for(let m=0;m<this.current.length&&this.current[m]<=c;m+=2)f=m+1;if(f>=0&&(0,o.gsJ)(this.current,0,f+1),this.executingCallbacks=!1,this.deferred.length>0){for(let m=0;m<this.deferred.length;m+=2)this.addToQueue(this.current,this.deferred[m],this.deferred[m+1]);this.deferred.length=0}this.scheduleTimer(n)};if(this.current.length>0){const s=Date.now(),c=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-c>16){this.clearTimeout();const f=Math.max(c-s,16);this.invokeTimerAt=c,this.timeoutId=n.runOutsideAngular(()=>setTimeout(()=>n.run(r),f))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,o.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),JC=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,i,s){if(!this.cachedInjectors.has(n)){const c=i.length>0?sh(i,r,s):null;this.cachedInjectors.set(n,c)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,o.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const ZC=new o.nKC("");function ph(e,t,n){return e.get(JC).getOrCreateInjector(t,e,n,"")}function Ra(e,t,n,r=!1){const i=n[o.f7T],s=i[o.eDl];if((0,o.EPY)(i))return;const c=Us(i,t),m=c[7];if(!(null!==m&&e<m)&&n_(c[1],e)&&n_(c[0]??-1,e)){const L=us(s,t),ue=r||null===Xm(L)&&null===fh(L,Po.Loading)&&!fh(L,Po.Placeholder)?e_:gh;try{ue(e,c,n,t,i)}catch(Ue){Tf(i,Ue)}}}function e_(e,t,n,r,i){Ze(qe.DeferBlockStateStart);const s=function HC(e,t,n){const i=us(t[o.eDl],n);switch(e){case Po.Complete:return i.primaryTmplIndex;case Po.Loading:return i.loadingTmplIndex;case Po.Error:return i.errorTmplIndex;case Po.Placeholder:return i.placeholderTmplIndex;default:return null}}(e,i,r);if(null!==s){t[1]=e;const c=i[o.eDl],m=(0,o.XRZ)(c,s+o.Yw1),L=0;let z;if(If(n,L),e===Po.Complete){const _t=us(c,r),on=_t.providers;on&&on.length>0&&(z=function qC(e,t,n){if(e instanceof Nc){const i=e.injector,c=ph(e.parentInjector,t,n);return new Nc(i,c)}const r=e.get(o.uvJ);if(r!==e){const i=ph(r,t,n);return new Nc(e,i)}return ph(e,t,n)}(i[o.YEL],_t,on))}const{dehydratedView:ue,dehydratedViewIx:Ue}=function eM(e,t){const n=e[o.qFA]?.findIndex(i=>i.data.s===t[1])??-1;return{dehydratedView:n>-1?e[o.qFA][n]:null,dehydratedViewIx:n}}(n,t),ze=Oc(i,m,null,{injector:z,dehydratedView:ue});if(Rc(n,ze,L,Ga(m,ue)),wc(ze,2),Ue>-1&&n[o.qFA]?.splice(Ue,1),(e===Po.Complete||e===Po.Error)&&Array.isArray(t[8])){for(const _t of t[8])_t();t[8]=null}}Ze(qe.DeferBlockStateEnd)}function tM(e,t,n,r,i){const s=Date.now(),f=us(i[o.eDl],r);if(null===t[2]||t[2]<=s){t[2]=null;const m=Xm(f),L=null!==t[3];if(e!==Po.Loading||null===m||L){e>Po.Loading&&L&&(t[3](),t[3]=null,t[0]=null),e_(e,t,n,r,i);const z=fh(f,e);
1null!==z&&(t[2]=s+z,t_(z,t,r,n,i))}else{t[0]=e;const z=t_(m,t,r,n,i);t[3]=z}}else t[0]=e}function t_(e,t,n,r,i){return qm(e,()=>{const c=t[0];t[2]=null,t[0]=null,null!==c&&Ra(c,n,r)},i[o.YEL])}function n_(e,t){return e<t}function Vc(e,t){Ra(Po.Placeholder,t,e[t.index])}function r_(e,t,n){e.loadingPromise.then(()=>{e.loadingState===wi.COMPLETE?Ra(Po.Complete,t,n):e.loadingState===wi.FAILED&&Ra(Po.Error,t,n)})}let gh=null;function o_(e,t,n,r){const i=e.consts;null!=n&&(t.placeholderBlockConfig=(0,o.db4)(i,n)),null!=r&&(t.loadingBlockConfig=(0,o.db4)(i,r)),null===gh&&(gh=tM)}function nM(e,t,n,r){return Ge(()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.propDecorators=i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?{...i.propDecorators,...r}:r)})}let i_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function _h(e){return"function"==typeof e&&void 0!==e[mt.bh]}function a_(e){return _h(e)&&"function"==typeof e.set}const C_=new o.nKC(""),M_=new o.nKC("");let yh,WM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,i){this._ngZone=n,this.registry=r,(0,o.M6u)()&&(this._destroyRef=(0,o.WQX)(o.abz,{optional:!0})??void 0),yh||(function $M(e){yh=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{o.SKi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(c=>c.timeoutId!==s),n()},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)((0,o.KVO)(o.SKi),(0,o.KVO)(HM),(0,o.KVO)(M_))};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac})}return e})(),HM=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yh?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function T_(e){return!!e&&"function"==typeof e.then}function S_(e){return!!e&&"function"==typeof e.subscribe}const I_=new o.nKC("");function KM(e){return(0,o.EmA)([{provide:I_,multi:!0,useValue:e}])}let A_=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=(0,o.WQX)(I_,{optional:!0})??[];injector=(0,o.WQX)(o.zZn);constructor(){}
1runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const s=(0,o.N4e)(this.injector,i);if(T_(s))n.push(s);else if(S_(s)){const c=new Promise((f,m)=>{s.subscribe({complete:f,error:m})});n.push(c)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const b_=new o.nKC("");function zM(){}function GM(){(0,mt.KO)(()=>{throw new o.buA(600,"")})}function O_(e,t){return Array.isArray(t)?t.reduce(O_,e):{...e,...t}}let Eh=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,o.WQX)(o.ZTf);afterRenderManager=(0,o.WQX)(Hp);zonelessEnabled=(0,o.WQX)(o.Evm);rootEffectScheduler=(0,o.WQX)(o.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ne.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,o.WQX)(o.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,w.T)(n=>!n))}constructor(){(0,o.WQX)(Ic,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=(0,o.WQX)(o.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=o.zZn.NULL){return this._injector.get(o.SKi).run(()=>{Ze(qe.BootstrapComponentStart);const c=n instanceof Gg;if(!this._injector.get(A_).done)throw new o.buA(405,"");let m;m=c?n:this._injector.get(Fl).resolveComponentFactory(n),this.componentTypes.push(m.componentType);const L=function YM(e){return e.isBoundToModule}(m)?void 0:this._injector.get(qa),ue=m.create(i,[],r||m.selector,L),Ue=ue.location.nativeElement,ze=ue.injector.get(C_,null);return ze?.registerApplication(Ue),ue.onDestroy(()=>{this.detachView(ue.hostView),Jl(this.components,ue),ze?.unregisterApplication(Ue)}),this._loadComponent(ue),Ze(qe.BootstrapComponentEnd,ue),ue})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ze(qe.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(df.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Ze(qe.ChangeDetectionEnd),new o.buA(101,!1);const n=(0,mt.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,mt.Ht)(n),this.afterTick.next(),Ze(qe.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ff,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){Ze(qe.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Ze(qe.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews)(r||(0,o.dMS)(i))&&(bl(i,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>(0,o.dMS)(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(n),this._injector.get(b_,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>
1n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Jl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new o.buA(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Dh(){let e,t;return{promise:new Promise((r,i)=>{e=r,t=i}),resolve:e,reject:t}}function w_(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();if(Vc(t,n),!N_(0,t))return;const r=t[o.YEL];Lu(0,Us(t,n),e(()=>rc(0,t,n),r))}function R_(e){const t=(0,o.OAn)(),n=t[o.YEL],r=(0,o.Mx4)(),s=us(t[o.eDl],r);s.loadingState===wi.NOT_STARTED&&Lu(1,Us(t,r),e(()=>Fu(s,t,r),n))}function P_(e,t,n){const r=t[o.YEL],i=Us(t,n),s=i[6];Lu(2,i,e(()=>Pa(r,s),r))}function Fu(e,t,n){Ch(e,t,n)}function Ch(e,t,n){const r=t[o.YEL],i=t[o.eDl];if(e.loadingState!==wi.NOT_STARTED)return e.loadingPromise??Promise.resolve();const s=Us(t,n),c=function $C(e,t){return(0,o.XRZ)(e,t.primaryTmplIndex+o.Yw1)}(i,e);e.loadingState=wi.IN_PROGRESS,zl(1,s);let f=e.dependencyResolverFn;const m=r.get(o.u5s).add();return f?(e.loadingPromise=Promise.allSettled(f()).then(L=>{let z=!1,ue=null;const Ue=[],ze=[];for(let _t=0;_t<L.length;_t++){const on=L[_t];if("fulfilled"!==on.status){z=!0,ue=on.reason instanceof Error?on.reason:new Error(String(on.reason));break}{const Tn=on.value,Xn=(0,o.xUg)(Tn)||(0,o.HaV)(Tn);if(Xn)Ue.push(Xn);else{const tn=(0,o.oyA)(Tn);tn&&ze.push(tn)}}}if(z){if(e.loadingState=wi.FAILED,null===e.errorTmplIndex){const Tn=new o.buA(-750,"");Tf(t,Tn)}}else{e.loadingState=wi.COMPLETE;const _t=c.tView;if(Ue.length>0){_t.directiveRegistry=Jm(_t.directiveRegistry,Ue);const on=Ue.map(Xn=>Xn.type),Tn=(0,o.jXY)(!1,...on);e.providers=Tn}ze.length>0&&(_t.pipeRegistry=Jm(_t.pipeRegistry,ze))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,m()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=wi.COMPLETE,m()}),e.loadingPromise)}function N_(e,t){return t[o.YEL].get(ZC,null,{optional:!0})?.behavior!==Gm.Manual}function rc(e,t,n){const r=t[o.eDl],i=t[n.index];if(!N_(0,t))return;const s=Us(t,n),c=us(r,n);switch(Ym(s),c.loadingState){case wi.NOT_STARTED:Ra(Po.Loading,n,i),Ch(c,t,n),c.loadingState===wi.IN_PROGRESS&&r_(c,n,i);break;case wi.IN_PROGRESS:Ra(Po.Loading,n,i),r_(c,n,i);break;case wi.COMPLETE:Ra(Po.Complete,n,i);break;case wi.FAILED:Ra(Po.Error,n,i)}}function Pa(e,t,n){return Mh.apply(this,arguments)}function Mh(){return(Mh=(0,fn.A)(function*(e,t,n){const r=e.get(Vt);if(r.hydrating.has(t))return;const{parentBlockPromise:s,hydrationQueue:c}=function Ys(e,t){const n=t.get(Vt),i=t.get(jo).get(Ae,{});let s=!1,c=e,f=null;const m=[];for(;!s&&c;){s=n.has(c);const L=n.hydrating.get(c);if(null===f&&null!=L){f=L.promise;break}m.unshift(c),c=i[c].p}return{parentBlockPromise:f,hydrationQueue:m}}(t,e);if(0===c.length)return;null!==s&&c.shift(),function ZM(e,t){for(let n of t)e.hydrating.set(n,Dh())}(r,c),null!==s&&(yield s);const f=c[0];r.has(f)?yield L_(e,c,n):r.awaitParentBlock(f,(0,fn.A)(function*(){return yield L_(e,c,n)}))})).apply(this,arguments)}function L_(e,t,n){return Th.apply(this,arguments)}function Th(){return(Th=(0,fn.A)(function*(e,t,n){const r=e.get(Vt),i=r.hydrating,s=e.get(o.rev),c=s.add();for(let m=0;m<t.length;m++){const L=t[m],z=r.get(L);if(null==z){JM(m,t,r),x_(t.slice(m),r);break}if(yield eT(z),yield qM(e),XM(z)){tD(z),x_(t.slice(m),r);break}i.get(L).resolve()}const f=t[t.length-1];yield i.get(f)?.promise,s.remove(c),n&&n(t),function nD(e,t,n,r){null!==e&&(n.cleanup(t),kl(e.lContainer),Vg(r))}(r.get(f),t,r,e.get(Eh))})).apply(this,arguments)}function XM(e){return Us(e.lView,e.tNode)[1]===Po.Error}function JM(e,t,n){const r=e-1,i=r>-1?n.get(t[r]):null;i&&kl(i.lContainer)}function x_(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function qM(e){return new Promise(t=>ff(t,{injector:e}))}function eT(e){return Sh.apply(this,arguments)}function Sh(){return(Sh=(0,fn.A)(function*(e){const{tNode:t,lView:n}=e,r=Us(n,t);return new Promise(i=>{(function tT(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,i),rc(0,n,t)})})).apply(this,arguments)}function Ci(e,t,n){return 0===e?k_(t,n):2!==e||!k_(t,n)}function k_(e,t){const n=e[o.YEL],r=us(e[o.eDl],t),i=He(n),s=function nT(e){return null!=e&&!(1&~e)}(r.flags),f=null!==Us(e,t)[6];return!(s&&f&&i)}function Na(e,t){const n=us(e,t);return n.hydrateTriggers??=new Map}function rT(e,t,n){const r=[],i=[],s=[],c=[];for(let[f,m]of t){const L=n.get(f);if(void 0!==L){const z=m.data.r;let ue=L;for(let Ue=0;Ue<z;
1Ue++){if(ue=ue.previousSibling,ue.nodeType!==Node.ELEMENT_NODE)continue;const ze={el:ue,blockName:f};m.hydrate.idle&&r.push(ze),m.hydrate.immediate&&c.push(ze),null!==m.hydrate.timer&&(ze.delay=m.hydrate.timer,i.push(ze)),m.hydrate.viewport&&("boolean"!=typeof m.hydrate.viewport&&(ze.intersectionObserverOptions=m.hydrate.viewport),s.push(ze))}}}(function oT(e,t){for(const n of t){const r=e.get(Vt),s=Gl(()=>Pa(e,n.blockName),e);r.addCleanupFn(n.blockName,s)}})(e,r),function aT(e,t){for(const n of t)Pa(e,n.blockName)}(e,c),function iT(e,t){if(t.length>0){const n=e.get(Vt);for(let r of t){const i=hh(r.el,()=>Pa(e,r.blockName),e,r.intersectionObserverOptions);n.addCleanupFn(r.blockName,i)}}}(e,s),function sT(e,t){for(const n of t){const r=e.get(Vt),i=()=>Pa(e,n.blockName),c=Yl(n.delay)(i,e);r.addCleanupFn(n.blockName,c)}}(e,i)}function U_(e,t,n,r,i,s,c,f,m,L){const z=(0,o.OAn)(),ue=(0,o.klJ)(),Ue=e+o.Yw1,ze=ec(z,ue,e,null,0,0),_t=z[o.YEL],on=He(_t);if(ue.firstCreatePass){cs("NgDefer");const ya={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:s??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:wi.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:L??0};m?.(ue,ya,f,c),function WC(e,t,n){const r=xu(t);e.data[r]=n}(ue,Ue,ya)}const Tn=z[Ue];_m(Tn,ze,z);let Xn=null,tn=null;if(Tn[o.qFA]?.length>0){const ya=Tn[o.qFA][0].data;tn=ya.di??null,Xn=ya.s}const no=[null,Fc.Initial,null,null,null,null,tn,Xn,null,null];!function VC(e,t,n){e[xu(t)]=n}(z,Ue,no);let ls=null;null!==tn&&on&&(ls=_t.get(Vt),ls.add(tn,{lView:z,tNode:ze,lContainer:Tn}));const ni=()=>{Ym(no),null!==tn&&ls?.cleanup([tn])};Lu(0,no,()=>(0,o.DyX)(z,ni)),(0,o.ik5)(z,ni)}function B_(){Ci(0,(0,o.OAn)(),(0,o.Mx4)())&&w_(Gl)}function j_(){const e=(0,o.OAn)(),t=(0,o.Mx4)();Ci(2,e,t)&&(Na((0,o.klJ)(),t).set(0,null),P_(Gl,e,t))}function V_(e,t,n){const r=(0,o.OAn)(),i=(0,o.Mx4)();Ci(0,r,i)&&(Vc(r,i),jc(r,i,e,t,hh,()=>rc(0,r,i),0,n))}function W_(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();Ci(2,t,n)&&Na((0,o.klJ)(),n).set(2,e?{type:2,intersectionObserverOptions:e}:null)}function Ih(e,t){const n=(0,o.OAn)();if(Ko(n,(0,o.xbp)(),t)){const i=(0,o.klJ)(),s=(0,o.CpD)();if(Il(s,i,n,e,t))(0,o.Qs1)(s)&&cg(n,s.index);else{const f=(0,o.d31)(s,n);Ml(n[o.GpT],f,null,s.value,e,t,null)}}return Ih}function Ah(e,t,n,r){const i=(0,o.OAn)();return Ko(i,(0,o.xbp)(),t)&&((0,o.klJ)(),function YE(e,t,n,r,i,s){const c=(0,o.d31)(e,t);Ml(t[o.GpT],c,s,e.value,n,r,i)}((0,o.CpD)(),i,e,t,n,r)),Ah}function H_(){return(0,o.OAn)()[o.b5C][o.SKP]}class PT{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),i=Math.max(t,n),s=this.detach(i);if(i-r>1){const c=this.detach(r);this.attach(r,s),this.attach(i,c)}else this.attach(r,s)}move(t,n){this.attach(n,this.detach(t))}}function Oh(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function wh(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function $_(e,t,n,r,i){if(wh(e,t,r,n(r,i)))e.updateValue(r,i);else{const s=e.create(r,i);e.attach(r,s)}}function K_(e,t,n,r){const i=new Set;for(let s=t;s<=n;s++)i.add(r(s,e.at(s)));return i}class z_{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n)}}}function G_(e,t,n,r,i,s,c,f){cs("NgControlFlow");const m=(0,o.OAn)(),L=(0,o.klJ)();return ec(m,L,e,t,n,r,i,(0,o.db4)(L.consts,s),256,c,f),Rh}function Rh(e,t,n,r,i,s,c,f){cs("NgControlFlow");const m=(0,o.OAn)(),L=(0,o.klJ)();return ec(m,L,e,t,n,r,i,(0,o.db4)(L.consts,s),512,c,f),Rh}function Y_(e,t){cs("NgControlFlow");const n=(0,o.OAn)(),r=(0,o.xbp)(),i=n[r]!==co?n[r]:-1,s=-1!==i?td(n,o.Yw1+i):void 0;if(Ko(n,r,e)){const f=(0,mt.Ht)(null);try{if(void 0!==s&&If(s,0),-1!==e){const m=o.Yw1+e,L=td(n,m),z=Ph(n[o.eDl],m),ue=$g(L,z,n);Rc(L,Oc(n,z,t,{dehydratedView:ue}),0,Ga(z,ue))}}finally{(0,mt.Ht)(f)}}else if(void 0!==s){const f=Eg(s,0);void 0!==f&&(f[o.SKP]=t)}}class LT{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-o.Y20}}function Q_(e){return e}function X_(e,t){return t}class xT{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function J_(e,t,n,r,i,s,c,f,m,L,z,ue,Ue){cs("NgControlFlow");const ze=(0,o.OAn)(),_t=(0,o.klJ)(),on=void 0!==m,Tn=(0,o.OAn)(),Xn=f?c.bind(Tn[o.b5C][o.SKP]):c,tn=new xT(on,Xn);Tn[o.Yw1+e]=tn,ec(ze,_t,e+1,t,n,r,i,(0,o.db4)(_t.consts,s),256),on&&ec(ze,_t,e+2,m,L,z,ue,(0,o.db4)(_t.consts,Ue),512)}class kT extends PT{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-o.Y20}at(t){return this.getLView(t)[o.SKP].$implicit}attach(t,n){const r=n[o.tcA];this.needsIndexUpdate||=t!==this.length,Rc(this.lContainer,n,t,Ga(this.templateTNode,r)),function FT(e,t){if(e.length<=o.Y20)return;const r=e[o.Y20+t],i=r?r[o.Isx]:void 0;r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0&&(function wE(e,t){const n=e.get(yl);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[o.YEL],i),Ka.delete(r[o.ID]),i.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function UT(e,t){if(e.length<=o.Y20)return;const r=e[o.Y20+t],i=r?r[o.Isx]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}(this.lContainer,t),function BT(e,t){return Eu(e,t)}(this.lContainer,t)}create(t,n){const r=Ou(this.lContainer,this.templateTNode.tView.ssrId);return Oc(this.hostLView,this.templateTNode,new LT(this.lContainer,n,t),{dehydratedView:r})}destroy(t){vu(t[o.eDl],t)}updateValue(t,n){this.getLView(t)[o.SKP].$implicit=n}reset(){this.needsIndexUpdate=!1}
1updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[o.SKP].$index=t}getLView(t){return function jT(e,t){return Eg(e,t)}(this.lContainer,t)}}function Z_(e){const t=(0,mt.Ht)(null),n=(0,o._px)();try{const r=(0,o.OAn)(),i=r[o.eDl],s=r[n],c=n+1,f=td(r,c);if(void 0===s.liveCollection){const L=Ph(i,c);s.liveCollection=new kT(f,r,L)}else s.liveCollection.reset();const m=s.liveCollection;if(function NT(e,t,n,r){let i,s,c=0,f=e.length-1;if(Array.isArray(t)){(0,mt.Ht)(r);let L=t.length-1;for((0,mt.Ht)(null);c<=f&&c<=L;){const z=e.at(c),ue=t[c],Ue=Oh(c,z,c,ue,n);if(0!==Ue){Ue<0&&e.updateValue(c,ue),c++;continue}const ze=e.at(f),_t=t[L],on=Oh(f,ze,L,_t,n);if(0!==on){on<0&&e.updateValue(f,_t),f--,L--;continue}const Tn=n(c,z),Xn=n(f,ze),tn=n(c,ue);if(Object.is(tn,Xn)){const no=n(L,_t);Object.is(no,Tn)?(e.swap(c,f),e.updateValue(f,_t),L--,f--):e.move(f,c),e.updateValue(c,ue),c++;continue}if(i??=new z_,s??=K_(e,c,f,n),wh(e,i,c,tn))e.updateValue(c,ue),c++,f++;else if(s.has(tn))i.set(Tn,e.detach(c)),f--;else{const no=e.create(c,t[c]);e.attach(c,no),c++,f++}}for(;c<=L;)$_(e,i,n,c,t[c]),c++}else if(null!=t){(0,mt.Ht)(r);const L=t[Symbol.iterator]();(0,mt.Ht)(null);let z=L.next();for(;!z.done&&c<=f;){const ue=e.at(c),Ue=z.value,ze=Oh(c,ue,c,Ue,n);if(0!==ze)ze<0&&e.updateValue(c,Ue),c++,z=L.next();else{i??=new z_,s??=K_(e,c,f,n);const _t=n(c,Ue);if(wh(e,i,c,_t))e.updateValue(c,Ue),c++,f++,z=L.next();else if(s.has(_t)){const on=n(c,ue);i.set(on,e.detach(c)),f--}else e.attach(c,e.create(c,Ue)),c++,f++,z=L.next()}}for(;!z.done;)$_(e,i,n,e.length,z.value),z=L.next()}for(;c<=f;)e.destroy(e.detach(f--));i?.forEach(L=>{e.destroy(L)})}(m,e,s.trackByFn,t),m.updateIndexes(),s.hasEmptyBlock){const L=(0,o.xbp)(),z=0===m.length;if(Ko(r,L,z)){const ue=n+2,Ue=td(r,ue);if(z){const ze=Ph(i,ue),_t=$g(Ue,ze,r);Rc(Ue,Oc(r,ze,void 0,{dehydratedView:_t}),0,Ga(ze,_t))}else i.firstUpdatePass&&xl(Ue),If(Ue,0)}}}finally{(0,mt.Ht)(t)}}function td(e,t){return e[t]}function Ph(e,t){return(0,o.XRZ)(e,t)}function Nh(e,t,n){const r=(0,o.OAn)();return Ko(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Df((0,o.CpD)(),r,e,t,r[o.GpT],n)),Nh}function Lh(e,t,n,r,i){Il(t,e,n,i?"class":"style",r)}function Uu(e,t,n,r){const i=(0,o.OAn)(),s=i[o.eDl],c=e+o.Yw1,f=s.firstCreatePass?jf(c,i,2,t,Mf,(0,o.ckz)(),n,r):s.data[c];if((0,o.Qs1)(f)){const m=i[o.M0L].tracingService;if(m&&m.componentCreate)return m.componentCreate($f(s.data[f.directiveStart+f.componentOffset]),()=>(q_(e,t,i,f,r),Uu))}return q_(e,t,i,f,r),Uu}function q_(e,t,n,r,i){if(Tl(r,n,e,t,Fh),(0,o.yoD)(r)){const s=n[o.eDl];Cl(s,n,r),ki(s,r,n)}null!=i&&bc(n,r)}function nd(){const e=(0,o.klJ)(),n=Sl((0,o.Mx4)());return e.firstCreatePass&&Vf(e,n),(0,o.UhH)(n)&&(0,o.krE)(),(0,o.N79)(),null!=n.classesWithoutHost&&function Nn(e){return!!(8&e.flags)}(n)&&Lh(e,n,(0,o.OAn)(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function tr(e){return!!(16&e.flags)}(n)&&Lh(e,n,(0,o.OAn)(),n.stylesWithoutHost,!1),nd}function xh(e,t,n,r){return Uu(e,t,n,r),nd(),xh}function rd(e,t,n,r){const i=(0,o.OAn)(),s=i[o.eDl],c=e+o.Yw1,f=s.firstCreatePass?tm(c,s,2,t,n,r):s.data[c];return Tl(f,i,e,t,Fh),null!=r&&bc(i,f),rd}function od(){const t=Sl((0,o.Mx4)());return(0,o.UhH)(t)&&(0,o.krE)(),(0,o.N79)(),od}function kh(e,t,n,r){return rd(e,t,n,r),od(),kh}let Fh=(e,t,n,r,i)=>((0,o.m7n)(!0),mc(t[o.GpT],r,(0,o.UaU)()));function VT(e,t,n,r,i){const s=!qr(t,n);if((0,o.m7n)(s),s)return mc(t[o.GpT],r,(0,o.UaU)());const c=t[o.tcA],f=Iu(c,e,t,n);return $n(c,i)&&ce(c,i,f.nextSibling),c&&(_i(n)||Fi(f))&&(0,o.Qs1)(n)&&((0,o.jNO)(n),Nd(f)),f}function WT(){Fh=VT}function id(e,t,n){const r=(0,o.OAn)(),i=r[o.eDl],s=e+o.Yw1,c=i.firstCreatePass?jf(s,r,8,"ng-container",Mf,(0,o.ckz)(),t,n):i.data[s];if(Tl(c,r,e,"ng-container",jh),(0,o.yoD)(c)){const f=r[o.eDl];Cl(f,r,c),ki(f,c,r)}return null!=n&&bc(r,c),id}function Bu(){const e=(0,o.klJ)(),n=Sl((0,o.Mx4)());return e.firstCreatePass&&Vf(e,n),Bu}function Uh(e,t,n){return id(e,t,n),Bu(),Uh}function Bh(e,t,n){const r=(0,o.OAn)(),i=r[o.eDl],s=e+o.Yw1,c=i.firstCreatePass?tm(s,i,8,"ng-container",t,n):i.data[s];return Tl(c,r,e,"ng-container",jh),null!=n&&bc(r,c),Bh}function ev(){return Sl((0,o.Mx4)()),Bu}let jh=(e,t,n,r,i)=>((0,o.m7n)(!0),ou(t[o.GpT],""));function HT(e,t,n,r,i){let s;const c=!qr(t,n);if((0,o.m7n)(c),c)return ou(t[o.GpT],"");const f=t[o.tcA],m=Iu(f,e,t,n),L=function Ar(e,t){const n=e.data;let r=n.e?.[t]??null;return null===r&&n.c?.[t]&&(r=rr(e,t)),r}(f,i);return ce(f,i,m),s=Ll(L,m),s}function $T(){jh=HT}function nv(){return(0,o.OAn)()}
1function Vh(e,t,n){const r=(0,o.OAn)();return Ko(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Cf((0,o.CpD)(),r,e,t,r[o.GpT],n)),Vh}const ju=void 0;var zT=["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"]],ju,[["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"]],ju,[["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\u202fa","h:mm:ss\u202fa","h:mm:ss\u202fa z","h:mm:ss\u202fa zzzz"],["{1}, {0}",ju,ju,ju],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function KT(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Hc=Object.create(null);function Wh(e){const t=function GT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=iv(t);if(n)return n;const r=t.split("-")[0];if(n=iv(r),n)return n;if("en"===r)return zT;throw new o.buA(701,!1)}function ov(e){return Wh(e)[$c.PluralCase]}function iv(e){return e in Hc||(Hc[e]=o.laP.ng&&o.laP.ng.common&&o.laP.ng.common.locales&&o.laP.ng.common.locales[e]),Hc[e]}var $c=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}($c||{});const YT=["zero","one","two","few","many"],Hh="en-US",sd={marker:"element"},ad={marker:"ICU"};var js=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(js||{});let sv=Hh;function JT(e){"string"==typeof e&&(sv=e.toLowerCase().replace(/_/g,"-"))}let Vu=0,Wu=0;let Hu=(e,t,n,r)=>((0,o.m7n)(!0),function av(e,t,n){const r=e[o.GpT];switch(n){case Node.COMMENT_NODE:return ou(r,t);case Node.TEXT_NODE:return ru(r,t);case Node.ELEMENT_NODE:return mc(r,t,null)}}(e,n,r));function cv(e,t,n,r){const i=n[o.GpT];let c,s=null;for(let f=0;f<t.length;f++){const m=t[f];if("string"==typeof m){const L=t[++f];null===n[L]&&(n[L]=Hu(n,0,m,Node.TEXT_NODE))}else if("number"==typeof m)switch(1&m){case 0:const L=bg(m);let z,ue;if(null===s&&(s=L,c=i.parentNode(r)),L===s?(z=r,ue=c):(z=null,ue=(0,o.IvY)(n[L])),null!==ue){const on=Og(m);Ia(i,ue,n[on],z,!1);const Xn=Su(e,on);if(null!==Xn&&"object"==typeof Xn){const tn=Pl(Xn,n);null!==tn&&cv(e,Xn.create[tn],n,n[Xn.anchorIdx])}}break;case 1:const ze=t[++f],_t=t[++f];Ml(i,(0,o.vaC)(m>>>1,n),null,null,ze,_t,null)}else switch(m){case ad:const L=t[++f],z=t[++f];null===n[z]&&Fr(n[z]=Hu(n,0,L,Node.COMMENT_NODE),n);break;case sd:const ue=t[++f],Ue=t[++f];null===n[Ue]&&Fr(n[Ue]=Hu(n,0,ue,Node.ELEMENT_NODE),n)}}}function uv(e,t,n,r,i){for(let s=0;s<n.length;s++){const c=n[s],f=n[++s];if(c&i){let m="";for(let L=s+1;L<=s+f;L++){const z=n[L];if("string"==typeof z)m+=z;else if("number"==typeof z)if(z<0)m+=(0,o.eFE)(t[r-z]);else{const ue=z>>>2;switch(3&z){case 1:const Ue=n[++L],ze=n[++L],_t=e.data[ue];if("string"==typeof _t)Ml(t[o.GpT],t[ue],null,_t,Ue,m,ze);else{const Tn=(0,o._px)();(0,o.ypq)(ue);try{Df(_t,t,Ue,m,t[o.GpT],ze)}finally{(0,o.ypq)(Tn)}}break;case 0:const on=t[ue];null!==on&&al(t[o.GpT],on,m);break;case 2:rS(e,Su(e,ue),t,m);break;case 3:lv(e,Su(e,ue),r,t)}}}}else{const m=n[s+1];if(m>0&&!(3&~m)){const z=Su(e,m>>>2);t[z.currentCaseLViewIndex]<0&&lv(e,z,r,t)}}s+=f}}function lv(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let s=Vu;i<0&&(i=r[t.currentCaseLViewIndex]=~i,s=-1),uv(e,r,t.update[i],n,s)}}function rS(e,t,n,r){const i=function oS(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function QT(e,t){const n=ov(t)(parseInt(e,10)),r=YT[n];return void 0!==r?r:"other"}(t,function ZT(){return sv}());n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(Pl(t,n)!==i&&(dv(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const c=n[t.anchorIdx];c&&cv(e,t.create[i],n,c)}}function dv(e,t,n){let r=Pl(t,n);if(null!==r){const i=t.remove[r];for(let s=0;s<i.length;s++){const c=i[s];if(c>0){const f=(0,o.vaC)(c,n);null!==f&&Fa(n[o.GpT],f)}else dv(e,Su(e,~c),n)}}}const cd=/\ufffd(\d+):?\d*\ufffd/gi,iS=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,sS=/\ufffd(\d+)\ufffd/,hv=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,aS=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,cS=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,uS=/\uE500/g;function pv(e,t,n,r,i,s,c){const f=Mc(e,r,1,null);let m=f<<js.SHIFT,L=(0,o.Ab)();
1t===L&&(L=null),null===L&&(m|=js.APPEND_EAGERLY),c&&(m|=js.COMMENT,function h(e){void 0===vl&&(vl=e())}(P0)),i.push(m,null===s?"":s);const z=wf(e,f,c?32:1,null===s?"":s,null);Ig(n,z);const ue=z.index;return(0,o.iMd)(z,!1),null!==L&&t!==L&&function O0(e,t){let n=e.insertBeforeIndex;null===n?(rg(Tg,Sg),n=e.insertBeforeIndex=[null,t]):((0,o.Xln)(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(L,ue),z}function fS(e,t,n,r,i,s,c,f){const m=f.match(cd),z=pv(t,n,r,c,i,m?null:f,!1).index;m&&ud(s,f,z,null,0,null),e.push({kind:0,index:z})}function ud(e,t,n,r,i,s){const c=e.length,f=c+1;e.push(null,null);const m=c+2,L=t.split(cd);let z=0;for(let ue=0;ue<L.length;ue++){const Ue=L[ue];if(1&ue){const ze=i+parseInt(Ue,10);e.push(-1-ze),z|=gv(ze)}else""!==Ue&&e.push(Ue)}return e.push(n<<2|(r?1:0)),r&&e.push(r,s),e[c]=z,e[f]=e.length-m,z}function pS(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function gv(e){return 1<<Math.min(e,31)}function mv(e){let t,s,n="",r=0,i=!1;for(;null!==(t=aS.exec(e));)i?t[0]===`\ufffd/*${s}\ufffd`&&(r=t.index,i=!1):(n+=e.substring(r,t.index+t[0].length),s=t[1],i=!0);return n+=e.slice(r),n}function _v(e,t,n,r,i,s,c){let f=0;const m={type:s.type,currentCaseLViewIndex:Mc(t,n,1,null),anchorIdx:c,cases:[],create:[],remove:[],update:[]};(function yS(e,t,n){e.push(gv(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(r,s,c),function b0(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(t,c,m);const L=s.values,z=[];for(let ue=0;ue<L.length;ue++){const Ue=L[ue],ze=[];for(let on=0;on<Ue.length;on++){const Tn=Ue[on];if("string"!=typeof Tn){const Xn=ze.push(Tn)-1;Ue[on]=`\x3c!--\ufffd${Xn}\ufffd--\x3e`}}const _t=[];z.push(_t),f=_S(_t,t,m,n,r,i,s.cases[ue],Ue.join(""),ze)|f}f&&function ES(e,t,n){e.push(t,1,n<<2|3)}(r,f,c),e.push({kind:3,index:c,cases:z,currentCaseLViewIndex:m.currentCaseLViewIndex})}function mS(e){const t=[],n=[];let r=1,i=0;const s=$h(e=e.replace(hv,function(c,f,m){return r="select"===m?0:1,i=parseInt(f.slice(1),10),""}));for(let c=0;c<s.length;){let f=s[c++].trim();1===r&&(f=f.replace(/\s*(?:=)?(\w+)\s*/,"$1")),f.length&&t.push(f);const m=$h(s[c++]);t.length>n.length&&n.push(m)}return{type:r,mainBinding:i,cases:t,values:n}}function $h(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(e);){const f=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const m=e.substring(t,f);hv.test(m)?r.push(mS(m)):r.push(m),t=f+1}}else{if(0==n.length){const m=e.substring(t,f);r.push(m),t=f+1}n.push("{")}}const c=e.substring(t);return r.push(c),r}function _S(e,t,n,r,i,s,c,f,m){const L=[],z=[],ue=[];n.cases.push(c),n.create.push(L),n.remove.push(z),n.update.push(ue);const ze=xa(Ro()).getInertBodyElement(f),_t=nu(ze)||ze;return _t?vv(e,t,n,r,i,L,z,ue,_t,s,m,0):0}function vv(e,t,n,r,i,s,c,f,m,L,z,ue){let Ue=0,ze=m.firstChild;for(;ze;){const _t=Mc(t,r,1,null);switch(ze.nodeType){case Node.ELEMENT_NODE:const on=ze,Tn=on.tagName.toLowerCase();if(pc.hasOwnProperty(Tn)){Kh(s,sd,Tn,L,_t),t.data[_t]=Tn;const ls=on.attributes;for(let ya=0;ya<ls.length;ya++){const sc=ls.item(ya),vd=sc.name.toLowerCase(),sA=!!sc.value.match(cd),_E=on.namespaceURI,vE="http://www.w3.org/2000/svg"===_E?`:svg:${Tn}`:"http://www.w3.org/1998/Math/MathML"===_E?`:math:${Tn}`:Tn;if(sA)eu.hasOwnProperty(vd)&&ud(f,sc.value,_t,sc.name,0,zh(vd,vE));else if(eu[vd]){let aA=sc.value;zh(vd,vE)?Ev(s,_t,sc.name,"unsafe:blocked"):Ev(s,_t,sc.name,aA)}}const ni={kind:1,index:_t,children:[]};e.push(ni),Ue=vv(ni.children,t,n,r,i,s,c,f,ze,_t,z,ue+1)|Ue,yv(c,_t,ue)}break;case Node.TEXT_NODE:const Xn=ze.textContent||"",tn=Xn.match(cd);Kh(s,null,tn?"":Xn,L,_t),yv(c,_t,ue),tn&&(Ue=ud(f,Xn,_t,null,0,null)|Ue),e.push({kind:0,index:_t});break;case Node.COMMENT_NODE:const no=sS.exec(ze.textContent||"");if(no){const ni=z[parseInt(no[1],10)];Kh(s,ad,"",L,_t),_v(e,t,r,i,L,ni,_t),vS(c,_t,ue)}}ze=ze.nextSibling}return Ue}function yv(e,t,n){0===n&&e.push(t)}function vS(e,t,n){0===n&&(e.push(~t),e.push(t))}function Kh(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,function R0(e,t,n){return e|t<<17|n<<1}(0,r,i))}function Ev(e,t,n,r){e.push(t<<1|1,n,r)}function zh(e,t){const n=e.toLowerCase(),r=t?function CS(e){const t=e.toLowerCase(),[n,r]=function DS(e,t=!0){if(":"!=e[0])return[null,e];const n=e.indexOf(":",1);
1if(-1===n){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}(t,!1);return n===o.jNX||n===o.rJ1?`:${n}:${r}`:r}(t):"*",i=function bp(){return iu||(iu={},pa(ti.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),pa(ti.STYLE,void 0,[["*",["style"]]]),pa(ti.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),pa(ti.URL,"math",[["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),pa(ti.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),pa(ti.URL,"svg",[["a",["href","xlink:href"]]]),pa(ti.ATTRIBUTE_NO_BINDING,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),pa(ti.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),iu}();switch(i[`${r}|${n}`]||i[`*|${n}`]||ti.NONE){case ti.HTML:return su;case ti.STYLE:return au;case ti.SCRIPT:return Ua;case ti.URL:return fc;case ti.RESOURCE_URL:return vc;case ti.ATTRIBUTE_NO_BINDING:return fl;default:return null}}const MS=/\[(\ufffd.+?\ufffd?)\]/,TS=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,SS=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,IS=/{([A-Z0-9_]+)}/g,AS=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,bS=/\/\*/,OS=/\d+\:(\d+)/;function Cv(e,t,n=-1){const r=(0,o.klJ)(),i=(0,o.OAn)(),s=o.Yw1+e,c=(0,o.db4)(r.consts,t),f=(0,o.Ab)();r.firstCreatePass&&function dS(e,t,n,r,i,s){const c=(0,o.Ab)(),f=[],m=[],L=[[]],z=[[]];i=function gS(e,t){if(function Rg(e){return-1===e}(t))return mv(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return mv(e.substring(n,r))}}(i,s);const ue=function lS(e){return e.replace(uS," ")}(i).split(cS);for(let Ue=0;Ue<ue.length;Ue++){let ze=ue[Ue];if(1&Ue){const _t=47===ze.charCodeAt(0),on=ze.charCodeAt(_t?1:0),Tn=o.Yw1+Number.parseInt(ze.substring(_t?2:1));if(_t)L.shift(),z.shift(),(0,o.iMd)((0,o.Ab)(),!1);else{const Xn=w0(e,L[0],Tn);L.unshift([]),(0,o.iMd)(Xn,!0);const tn={kind:2,index:Tn,children:[],type:35===on?0:1};z[0].push(tn),z.unshift(tn.children)}}else{const _t=$h(ze);for(let on=0;on<_t.length;on++){let Tn=_t[on];if(1&on){const Xn=Tn;if("object"!=typeof Xn)throw new Error(`Unable to parse ICU expression in "${i}" message.`);const no=pv(e,c,L[0],n,f,"",!0).index;_v(z[0],e,n,m,t,Xn,no)}else""!==Tn&&fS(z[0],e,c,L[0],f,m,n,Tn)}}}e.data[r]={create:f,update:m,ast:z[0],parentTNodeIndex:t}}(r,null===f?0:f.index,i,s,c,n),2===r.type?i[o.b5C][o.Wg1]|=32:i[o.Wg1]|=32;const m=r.data[s],z=qp(r,f===i[o.qlT]?null:f,i);(function nS(e,t,n,r){const i=e[o.GpT];for(let s=0;s<t.length;s++){const c=t[s++],L=(c&js.APPEND_EAGERLY)===js.APPEND_EAGERLY,z=c>>>js.SHIFT;let ue=e[z],Ue=!1;null===ue&&(ue=e[z]=Hu(e,0,t[s],(c&js.COMMENT)===js.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),Ue=(0,o.SX7)()),L&&null!==n&&Ue&&Ia(i,n,ue,r,!1)}})(i,m.create,z,f&&8&f.type?i[f.index]:null),(0,o.xyx)(!0)}function Mv(){(0,o.xyx)(!1)}function Tv(e,t,n){Cv(e,t,n),Mv()}function Gh(e){return function qT(e){e&&(Vu|=1<<Math.min(Wu,31)),Wu++}(Ko((0,o.OAn)(),(0,o.xbp)(),e)),Gh}
1function Sv(e){!function eS(e,t,n){try{if(Wu>0){const r=e.data[n];uv(e,t,Array.isArray(r)?r:r.update,(0,o.c$7)()-Wu-1,Vu)}}finally{Vu=0,Wu=0}}((0,o.klJ)(),(0,o.OAn)(),e+o.Yw1)}function Yh(e,t,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),s=(0,o.Mx4)();return Xh(i,r,r[o.GpT],s,e,t,n),Yh}function Qh(e,t,n){const r=(0,o.OAn)(),i=(0,o.klJ)(),s=(0,o.Mx4)();return(3&s.type||n)&&Hf(s,i,r,n,r[o.GpT],e,t,wa(s,r,t)),Qh}function Xh(e,t,n,r,i,s,c){let f=!0,m=null;if((3&r.type||c)&&(m??=wa(r,t,s),Hf(r,e,t,c,n,i,s,m)&&(f=!1)),f){const L=r.outputs?.[i],z=r.hostDirectiveOutputs?.[i];if(z&&z.length)for(let ue=0;ue<z.length;ue+=2){const Ue=z[ue],ze=z[ue+1];m??=wa(r,t,s),kc(r,t,Ue,ze,i,m)}if(L&&L.length)for(const ue of L)m??=wa(r,t,s),kc(r,t,ue,i,i,m)}}function Av(e=1){return(0,o.jvu)(e)}function NS(e,t){let n=null;const r=function Jd(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?Xd(e,s,!0):ef(r,s))return i}else n=i}return n}function bv(e){const t=(0,o.OAn)()[o.b5C][o.qlT];if(!t.projection){const r=t.projection=(0,o.WfI)(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){if(128!==s.type){const c=e?NS(s,e):0;null!==c&&(i[c]?i[c].projectionNext=s:r[c]=s,i[c]=s)}s=s.next}}}function Ov(e,t=0,n,r,i,s){const c=(0,o.OAn)(),f=(0,o.klJ)(),m=r?e+1:null;null!==m&&ec(c,f,m,r,i,s,null,n);const L=Ya(f,o.Yw1+e,16,null,n||null);null===L.projection&&(L.projection=t),(0,o.Pfq)();const ue=!c[o.tcA]||(0,o.KtD)();null===c[o.b5C][o.qlT].projection[L.projection]&&null!==m?function LS(e,t,n){const r=o.Yw1+n,i=t.data[r],s=e[r],c=Ou(s,i.tView.ssrId);Rc(s,Oc(e,i,void 0,{dehydratedView:c}),0,Ga(i,c))}(c,f,m):ue&&!sr(L)&&function FE(e,t,n){ig(t[o.GpT],0,t,n,mf(e,n,t),eg(n.parent||t[o.qlT],n,t))}(f,c,L)}function Jh(e,t,n,r){return Mm(e,t,n,r),Jh}function Zh(e,t,n){return Cm(e,t,n),Zh}function wv(e){const t=(0,o.OAn)(),n=(0,o.klJ)(),r=(0,o.w7Z)();(0,o.GA0)(r+1);const i=eh(n,r);if(e.dirty&&(0,o.vOT)(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const s=Sm(t,r);e.reset(s,Qi),e.notifyOnChanges()}return!0}return!1}function Rv(){return qf((0,o.OAn)(),(0,o.w7Z)())}function qh(e,t,n,r,i){return Im(t,Mm(e,n,r,i)),qh}function ep(e,t,n,r){return Im(e,Cm(t,n,r)),ep}function Pv(e=1){(0,o.GA0)((0,o.w7Z)()+e)}function Nv(e){const t=(0,o.VPL)();return(0,o.Hh6)(t,o.Yw1+e)}function ld(e,t){return e<<17|t<<2}function oc(e){return e>>17&32767}function tp(e){return 2|e}function Kc(e){return(131068&e)>>2}function np(e,t){return-131069&e|t<<2}function rp(e){return 1|e}function Lv(e,t,n,r){const i=e[n+1],s=null===t;
1let c=r?oc(i):Kc(i),f=!1;for(;0!==c&&(!1===f||s);){const L=e[c+1];jS(e[c],t)&&(f=!0,e[c+1]=r?rp(L):tp(L)),c=r?oc(L):Kc(L)}f&&(e[n+1]=r?tp(i):rp(i))}function jS(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,o.FRF)(e,t)>=0}const Yi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xv(e){return e.substring(Yi.key,Yi.keyEnd)}function VS(e){return e.substring(Yi.value,Yi.valueEnd)}function kv(e,t){const n=Yi.textEnd;return n===t?-1:(t=Yi.keyEnd=function $S(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Yi.key=t,n),zc(e,t,n))}function Fv(e,t){const n=Yi.textEnd;let r=Yi.key=zc(e,t,n);return n===r?-1:(r=Yi.keyEnd=function KS(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Bv(e,r,n),r=Yi.value=zc(e,r,n),r=Yi.valueEnd=function zS(e,t,n){let r=-1,i=-1,s=-1,c=t,f=c;for(;c<n;){const m=e.charCodeAt(c++);if(59===m)return f;34===m||39===m?f=c=jv(e,m,c,n):t===c-4&&85===s&&82===i&&76===r&&40===m?f=c=jv(e,41,c,n):m>32&&(f=c),s=i,i=r,r=-33&m}return f}(e,r,n),Bv(e,r,n))}function Uv(e){Yi.key=0,Yi.keyEnd=0,Yi.value=0,Yi.valueEnd=0,Yi.textEnd=e.length}function zc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Bv(e,t,n,r){return(t=zc(e,t,n))<n&&t++,t}function jv(e,t,n,r){let i=-1,s=n;for(;s<r;){const c=e.charCodeAt(s++);if(c==t&&92!==i)return s;i=92==c&&92===i?0:c}throw new Error}function op(e,t,n){return Hv(e,t,n,!1),op}function ip(e,t){return Hv(e,t,null,!0),ip}function Vv(e){$v(Gv,GS,e,!1)}function GS(e,t){for(let n=function HS(e){return Uv(e),Fv(e,zc(e,0,Yi.textEnd))}(t);n>=0;n=Fv(t,n))Gv(e,xv(t),VS(t))}function Wv(e){$v(eI,YS,e,!0)}function YS(e,t){for(let n=function WS(e){return Uv(e),kv(e,zc(e,0,Yi.textEnd))}(t);n>=0;n=kv(t,n))(0,o.ezK)(e,xv(t),!0)}function Hv(e,t,n,r){const i=(0,o.OAn)(),s=(0,o.klJ)(),c=(0,o.b$O)(2);s.firstUpdatePass&&zv(s,e,c,r),t!==co&&Ko(i,c,t)&&Yv(s,s.data[(0,o._px)()],i,i[o.GpT],e,i[c+1]=function nI(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,o.AsM)(Qr(e)))),e}(t,n),r,c)}function $v(e,t,n,r){const i=(0,o.klJ)(),s=(0,o.b$O)(2);i.firstUpdatePass&&zv(i,null,s,r);const c=(0,o.OAn)();if(n!==co&&Ko(c,s,n)){const f=i.data[(0,o._px)()];if(Xv(f,r)&&!Kv(i,s)){let m=r?f.classesWithoutHost:f.stylesWithoutHost;null!==m&&(n=(0,o.n$e)(m,n||"")),Lh(i,f,c,n,r)}else!function tI(e,t,n,r,i,s,c,f){i===co&&(i=o.Mlv);let m=0,L=0,z=0<i.length?i[0]:null,ue=0<s.length?s[0]:null;for(;null!==z||null!==ue;){const Ue=m<i.length?i[m+1]:void 0,ze=L<s.length?s[L+1]:void 0;let on,_t=null;z===ue?(m+=2,L+=2,Ue!==ze&&(_t=ue,on=ze)):null===ue||null!==z&&z<ue?(m+=2,_t=z):(L+=2,_t=ue,on=ze),null!==_t&&Yv(e,t,n,r,_t,on,c,f),z=m<i.length?i[m]:null,ue=L<s.length?s[L]:null}}(i,f,c,c[o.GpT],c[s+1],c[s+1]=function qS(e,t,n){if(null==n||""===n)return o.Mlv;const r=[],i=Qr(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if(i instanceof Set)for(const s of i)e(r,s,!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function Kv(e,t){return t>=e.expandoStartIndex}function zv(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[(0,o._px)()],c=Kv(e,n);Xv(s,r)&&null===t&&!c&&(t=!1),t=function QS(e,t,n,r){const i=(0,o.MT)(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Ku(n=sp(null,e,t,n,r),t.attrs,r),s=null);else{const c=t.directiveStylingLast;if(-1===c||e[c]!==i)if(n=sp(i,e,t,n,r),null===s){let m=function XS(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Kc(r))return e[oc(r)]}(e,t,r);void 0!==m&&Array.isArray(m)&&(m=sp(null,e,t,m[1],r),m=Ku(m,t.attrs,r),function JS(e,t,n,r){e[oc(n?t.classBindings:t.styleBindings)]=r}(e,t,r,m))}else s=function ZS(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=Ku(r,e[s].hostAttrs,n);return Ku(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function US(e,t,n,r,i,s){let c=s?t.classBindings:t.styleBindings,f=oc(c),m=Kc(c);e[r]=n;let z,L=!1;if(Array.isArray(n)?(z=n[1],(null===z||(0,o.FRF)(n,z)>0)&&(L=!0)):z=n,i)if(0!==m){const Ue=oc(e[f+1]);e[r+1]=ld(Ue,f),0!==Ue&&(e[Ue+1]=np(e[Ue+1],r)),e[f+1]=function kS(e,t){return 131071&e|t<<17}
1(e[f+1],r)}else e[r+1]=ld(f,0),0!==f&&(e[f+1]=np(e[f+1],r)),f=r;else e[r+1]=ld(m,0),0===f?f=r:e[m+1]=np(e[m+1],r),m=r;L&&(e[r+1]=tp(e[r+1])),Lv(e,z,r,!0),Lv(e,z,r,!1),function BS(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&(0,o.FRF)(s,t)>=0&&(n[r+1]=rp(n[r+1]))}(t,z,e,r,s),c=ld(f,m),s?t.classBindings=c:t.styleBindings=c}(i,s,t,n,c,r)}}function sp(e,t,n,r,i){let s=null;const c=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<c&&(s=t[f],r=Ku(r,s.hostAttrs,i),s!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function Ku(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?i=c:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,o.ezK)(e,c,!!n||t[++s]))}return void 0===e?null:e}function Gv(e,t,n){(0,o.ezK)(e,t,Qr(n))}function eI(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&(0,o.ezK)(e,r,n)}function Yv(e,t,n,r,i,s,c,f){if(!(3&t.type))return;const m=e.data,L=m[f+1],z=function FS(e){return!(1&~e)}(L)?Qv(m,t,n,i,Kc(L),c):void 0;dd(z)||(dd(s)||function xS(e){return!(2&~e)}(L)&&(s=Qv(m,null,n,i,f,c)),function BE(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let s=-1===r.indexOf("-")?void 0:hu.DashCase;null==i?e.removeStyle(n,r,s):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),s|=hu.Important),e.setStyle(n,r,i,s))}}(r,c,(0,o.vaC)((0,o._px)(),n),i,s))}function Qv(e,t,n,r,i,s){const c=null===t;let f;for(;i>0;){const m=e[i],L=Array.isArray(m),z=L?m[1]:m,ue=null===z;let Ue=n[i+1];Ue===co&&(Ue=ue?o.Mlv:void 0);let ze=ue?(0,o.K7h)(Ue,r):z===r?Ue:void 0;if(L&&!dd(ze)&&(ze=(0,o.K7h)(m,r)),dd(ze)&&(f=ze,c))return f;const _t=e[i+1];i=c?oc(_t):Kc(_t)}if(null!==t){let m=s?t.residualClasses:t.residualStyles;null!=m&&(f=(0,o.K7h)(m,r))}return f}function dd(e){return void 0!==e}function Xv(e,t){return!!(e.flags&(t?8:16))}function Jv(e,t=""){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=e+o.Yw1,s=r.firstCreatePass?Ya(r,i,1,t,null):r.data[i],c=Zv(r,n,s,t);n[i]=c,(0,o.SX7)()&&vf(r,n,c,s),(0,o.iMd)(s,!1)}let Zv=(e,t,n,r)=>((0,o.m7n)(!0),ru(t[o.GpT],r));function rI(e,t,n,r){const i=!qr(t,n);return(0,o.m7n)(i),i?ru(t[o.GpT],r):Iu(t[o.tcA],e,t,n)}function oI(){Zv=rI}function qv(e,t){let n=!1,r=(0,o.c$7)();for(let s=1;s<t.length;s+=2)n=Ko(e,r++,t[s])||n;if((0,o.Kw3)(r),!n)return co;let i=t[0];for(let s=1;s<t.length;s+=2)i+=(0,o.eFE)(t[s])+(s+1!==t.length?t[s+1]:"");return i}function ey(e,t,n,r=""){return Ko(e,(0,o.xbp)(),n)?t+(0,o.eFE)(n)+r:co}function ty(e,t,n,r,i,s=""){const f=Ja(e,(0,o.c$7)(),n,i);return(0,o.b$O)(2),f?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s:co}function ny(e,t,n,r,i,s,c,f=""){const L=jl(e,(0,o.c$7)(),n,i,c);return(0,o.b$O)(3),L?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(c)+f:co}function ry(e,t,n,r,i,s,c,f,m,L=""){const ue=ea(e,(0,o.c$7)(),n,i,c,m);return(0,o.b$O)(4),ue?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(c)+f+(0,o.eFE)(m)+L:co}function oy(e,t,n,r,i,s,c,f,m,L,z,ue=""){const Ue=(0,o.c$7)();let ze=ea(e,Ue,n,i,c,m);return ze=Ko(e,Ue+4,z)||ze,(0,o.b$O)(5),ze?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(c)+f+(0,o.eFE)(m)+L+(0,o.eFE)(z)+ue:co}function iy(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze=""){const _t=(0,o.c$7)();let on=ea(e,_t,n,i,c,m);return on=Ja(e,_t+4,z,Ue)||on,(0,o.b$O)(6),on?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(c)+f+(0,o.eFE)(m)+L+(0,o.eFE)(z)+ue+(0,o.eFE)(Ue)+ze:co}function sy(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t,on=""){const Tn=(0,o.c$7)();let Xn=ea(e,Tn,n,i,c,m);return Xn=jl(e,Tn+4,z,Ue,_t)||Xn,(0,o.b$O)(7),Xn?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(c)+f+(0,o.eFE)(m)+L+(0,o.eFE)(z)+ue+(0,o.eFE)(Ue)+ze+(0,o.eFE)(_t)+on:co}function ay(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t,on,Tn,Xn=""){const tn=(0,o.c$7)();let no=ea(e,tn,n,i,c,m);return no=ea(e,tn+4,z,Ue,_t,Tn)||no,(0,o.b$O)(8),no?t+(0,o.eFE)(n)+r+(0,o.eFE)(i)+s+(0,o.eFE)(c)+f+(0,o.eFE)(m)+L+(0,o.eFE)(z)+ue+(0,o.eFE)(Ue)+ze+(0,o.eFE)(_t)+on+(0,o.eFE)(Tn)+Xn:co}function ap(e){return fd("",e),ap}function fd(e,t,n){const r=(0,o.OAn)(),i=ey(r,e,t,n);return i!==co&&va(r,(0,o._px)(),i),fd}function cp(e,t,n,r,i){const s=(0,o.OAn)(),c=ty(s,e,t,n,r,i);
1return c!==co&&va(s,(0,o._px)(),c),cp}function up(e,t,n,r,i,s,c){const f=(0,o.OAn)(),m=ny(f,e,t,n,r,i,s,c);return m!==co&&va(f,(0,o._px)(),m),up}function lp(e,t,n,r,i,s,c,f,m){const L=(0,o.OAn)(),z=ry(L,e,t,n,r,i,s,c,f,m);return z!==co&&va(L,(0,o._px)(),z),lp}function va(e,t,n){const r=(0,o.vaC)(t,e);al(e[o.GpT],r,n)}function dp(e,t,n){a_(t)&&(t=t());const r=(0,o.OAn)();return Ko(r,(0,o.xbp)(),t)&&((0,o.klJ)(),Df((0,o.CpD)(),r,e,t,r[o.GpT],n)),dp}function hy(e,t){const n=a_(e);return n&&e.set(t),n}function fp(e,t){const n=(0,o.OAn)(),r=(0,o.klJ)(),i=(0,o.Mx4)();return Xh(r,n,n[o.GpT],i,e,t),fp}const py={};function my(e){return Ko((0,o.OAn)(),(0,o.xbp)(),e)?(0,o.eFE)(e):co}function _y(e,t,n=""){return ey((0,o.OAn)(),e,t,n)}function vy(e,t,n,r,i=""){return ty((0,o.OAn)(),e,t,n,r,i)}function yy(e,t,n,r,i,s,c=""){return ny((0,o.OAn)(),e,t,n,r,i,s,c)}function Ey(e,t,n){const r=(0,o.klJ)();r.firstCreatePass&&Dy(t,r.data,r.blueprint,(0,o.JlV)(e),n)}function Dy(e,t,n,r,i){if(e=(0,o.nl4)(e),Array.isArray(e))for(let s=0;s<e.length;s++)Dy(e[s],t,n,r,i);else{const s=(0,o.klJ)(),c=(0,o.OAn)(),f=(0,o.Mx4)();let m=(0,o.Y3W)(e)?e:(0,o.nl4)(e.provide);const L=(0,o.Rc9)(e),z=1048575&f.providerIndexes,ue=f.directiveStart,Ue=f.providerIndexes>>20;if((0,o.Y3W)(e)||!e.multi){const ze=new it(L,i,Lc,null),_t=pp(m,t,i?z:z+Ue,ue);-1===_t?(lo(Rr(f,c),s,m),hp(s,e,t.length),t.push(m),f.directiveStart++,f.directiveEnd++,i&&(f.providerIndexes+=1048576),n.push(ze),c.push(ze)):(n[_t]=ze,c[_t]=ze)}else{const ze=pp(m,t,z+Ue,ue),_t=pp(m,t,z,z+Ue),Tn=_t>=0&&n[_t];if(i&&!Tn||!i&&!(ze>=0&&n[ze])){lo(Rr(f,c),s,m);const Xn=function _I(e,t,n,r,i){const c=new it(e,n,Lc,null);return c.multi=[],c.index=t,c.componentProviders=0,Cy(c,i,r&&!n),c}(i?mI:gI,n.length,i,r,L);!i&&Tn&&(n[_t].providerFactory=Xn),hp(s,e,t.length,0),t.push(m),f.directiveStart++,f.directiveEnd++,i&&(f.providerIndexes+=1048576),n.push(Xn),c.push(Xn)}else hp(s,e,ze>-1?ze:_t,Cy(n[i?_t:ze],L,!i&&r));!i&&r&&Tn&&n[_t].componentProviders++}}}function hp(e,t,n,r){const i=(0,o.Y3W)(t),s=(0,o.MME)(t);if(i||s){const m=(s?(0,o.nl4)(t.useClass):t).prototype.ngOnDestroy;if(m){const L=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const z=L.indexOf(n);-1===z?L.push(n,[r,m]):L[z+1].push(r,m)}else L.push(n,m)}}}function Cy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function pp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function gI(e,t,n,r,i){return gp(this.multi,[])}function mI(e,t,n,r,i){const s=this.multi;let c;if(this.providerFactory){const f=this.providerFactory.componentProviders,m=po(r,r[o.eDl],this.providerFactory.index,i);c=m.slice(0,f),gp(s,c);for(let L=f;L<m.length;L++)c.push(m[L])}else c=[],gp(s,c);return c}function gp(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function My(e,t){return n=>{n.providersResolver=(r,i)=>Ey(r,i?i(e):e,!1),t&&(n.viewProvidersResolver=(r,i)=>Ey(r,i?i(t):t,!0))}}function Ty(e,t,n){const r=e.\u0275cmp;r.directiveDefs=Hl(t,Nm),r.pipeDefs=Hl(n,o.oyA)}function hd(e){if("function"==typeof e)return e;const t=(0,o.Bqz)(e);return t.some(o.Jzi)?()=>t.map(o.nl4).map(Sy):t.map(Sy)}function Sy(e){return Uf(e)?e.ngModule:e}function Iy(e,t){const n=(0,o.gxQ)()+e,r=(0,o.OAn)();return r[n]===co?ra(r,n,t()):xc(r,n)}function Ay(e,t,n){return xy((0,o.OAn)(),(0,o.gxQ)(),e,t,n)}function by(e,t,n,r){return ky((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r)}function Oy(e,t,n,r,i){return Fy((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,i)}function wy(e,t,n,r,i,s,c){return Uy((0,o.OAn)(),(0,o.gxQ)(),e,t,n,r,i,s)}function Ry(e,t,n,r,i,s,c){const f=(0,o.gxQ)()+e,m=(0,o.OAn)(),L=ea(m,f,n,r,i,s);return Ko(m,f+4,c)||L?ra(m,f+5,t(n,r,i,s,c)):xc(m,f+5)}function Py(e,t,n,r,i,s,c,f){const m=(0,o.gxQ)()+e,L=(0,o.OAn)(),z=ea(L,m,n,r,i,s);return Ja(L,m+4,c,f)||z?ra(L,m+6,t(n,r,i,s,c,f)):xc(L,m+6)}function Ny(e,t,n,r,i,s,c,f,m){const L=(0,o.gxQ)()+e,z=(0,o.OAn)();let ue=ea(z,L,n,r,i,s);return jl(z,L+4,c,f,m)||ue?ra(z,L+7,t(n,r,i,s,c,f,m)):xc(z,L+7)}function Ly(e,t,n){return By((0,o.OAn)(),(0,o.gxQ)(),e,t,n)}function zu(e,t){const n=e[t];return n===co?void 0:n}function xy(e,t,n,r,i,s){const c=t+n;return Ko(e,c,i)?ra(e,c+1,s?r.call(s,i):r(i)):zu(e,c+1)}function ky(e,t,n,r,i,s,c){const f=t+n;return Ja(e,f,i,s)?ra(e,f+2,c?r.call(c,i,s):r(i,s)):zu(e,f+2)}function Fy(e,t,n,r,i,s,c,f){const m=t+n;return jl(e,m,i,s,c)?ra(e,m+3,f?r.call(f,i,s,c):r(i,s,c)):zu(e,m+3)}function Uy(e,t,n,r,i,s,c,f,m){const L=t+n;return ea(e,L,i,s,c,f)?ra(e,L+4,m?r.call(m,i,s,c,f):r(i,s,c,f)):zu(e,L+4)}function By(e,t,n,r,i,s){let c=t+n,f=!1;for(let m=0;m<i.length;m++)Ko(e,c++,i[m])&&(f=!0);return f?ra(e,c,r.apply(s,i)):zu(e,c)}function jy(e,t){const n=(0,o.klJ)();let r;const i=e+o.Yw1;n.firstCreatePass?(r=function DI(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=(0,o.wGu)(r.type,!0)),f=(0,o.a2B)(Lc);try{const m=Sr(!1),L=s();return Sr(m),(0,o.M_e)(n,(0,o.OAn)(),i,L),L}finally{(0,o.a2B)(f)}}function Vy(e,t,n){const r=e+o.Yw1,i=(0,o.OAn)(),s=(0,o.Hh6)(i,r);
1return Gu(i,r)?xy(i,(0,o.gxQ)(),t,s.transform,n,s):s.transform(n)}function Wy(e,t,n,r){const i=e+o.Yw1,s=(0,o.OAn)(),c=(0,o.Hh6)(s,i);return Gu(s,i)?ky(s,(0,o.gxQ)(),t,c.transform,n,r,c):c.transform(n,r)}function Hy(e,t,n,r,i){const s=e+o.Yw1,c=(0,o.OAn)(),f=(0,o.Hh6)(c,s);return Gu(c,s)?Fy(c,(0,o.gxQ)(),t,f.transform,n,r,i,f):f.transform(n,r,i)}function $y(e,t,n,r,i,s){const c=e+o.Yw1,f=(0,o.OAn)(),m=(0,o.Hh6)(f,c);return Gu(f,c)?Uy(f,(0,o.gxQ)(),t,m.transform,n,r,i,s,m):m.transform(n,r,i,s)}function Ky(e,t,n){const r=e+o.Yw1,i=(0,o.OAn)(),s=(0,o.Hh6)(i,r);return Gu(i,r)?By(i,(0,o.gxQ)(),t,s.transform,n,s):s.transform.apply(s,n)}function Gu(e,t){return e[o.eDl].data[t].pure}function zy(e,t){return wl(e,t)}function pd(e,t,n,r,i){const s=i[o.eDl];if(s!==r.tView)for(let c=o.Yw1;c<s.bindingStartIndex;c++){const f=i[c];if((0,o.A0l)(f)){(0,o.q$2)(f[o.jgP])&&pd(e,t,n,r,f[o.jgP]);for(let m=o.Y20;m<f.length;m++)pd(e,t,n,r,f[m])}else(0,o.q$2)(f)&&pd(e,t,n,r,f)}else!function bI(e,t,n,r,i){const s=i[o.SKP];let c=i[o.jgP];const f=i[o.f7T],m=i[o.qlT],L=i[o.YEL].get(o.SKi,null),z=()=>{if(r.encapsulation===Br.ShadowDom||r.encapsulation===Br.ExperimentalIsolatedShadowDom){const _t=c.cloneNode(!1);c.replaceWith(_t),c=_t}const ue=of(n),Ue=Cc(f,ue,s,du(n),c,m,null,null,null,null,null);(function OI(e,t,n,r){for(let i=o.Yw1;i<e[o.eDl].bindingStartIndex;i++){const s=e[i];if(((0,o.q$2)(s)||(0,o.A0l)(s))&&s[o.K29]===t){s[o.K29]=n;break}}e[o.EJG]===t&&(e[o.EJG]=n),e[o.Yrj]===t&&(e[o.Yrj]=n),n[o.K29]=t[o.K29],t[o.K29]=null,e[r]=n})(f,i,Ue,m.index),vu(i[o.eDl],i),bu(i);const ze=i[o.M0L].rendererFactory;(function AI(e,t){e.componentReplaced?.(t.id)})(ze,r),Ue[o.GpT]=ze.createRenderer(c,n),Xp(i[o.eDl],i),function wI(e){if(null!==e.projection){for(const t of e.projection)ln(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(m),Al(ue,Ue,s),gg(ue,Ue,ue.template,s)};null===L?Gy(e,t,z):L.run(()=>Gy(e,t,z))}(e,t,n,r,i)}function Gy(e,t,n){try{n()}catch(r){if(null!==t&&r.message){const s=r.message+(r.stack?"\n"+r.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:s,error:!0})}throw r}}const La={\u0275\u0275animateEnter:function Zl(e){if(cs("NgAnimateEnter"),!Ve)return Zl;const t=(0,o.OAn)();if(at(t))return Zl;const n=(0,o.Mx4)(),r=t[o.YEL].get(o.SKi);return Ha(ba(t),n,()=>function IT(e,t,n,r){const i=(0,o.d31)(t,e),s=e[o.GpT],c=gu(n),f=[];let m=!1;const L=ue=>{if(Wa(ue)!==i)return;const Ue=ue instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{s.listen(i,Ue,z)})},z=ue=>{Wa(ue)===i&&(Tc(ue,i)&&(m=!0),function AT(e,t,n){const r=jn.get(t);if(Wa(e)===t&&r&&Tc(e,t)){e.stopPropagation();for(const i of r.classList)n.removeClass(t,i);Un(t)}}(ue,i,s))};if(c&&c.length>0){r.runOutsideAngular(()=>{f.push(s.listen(i,"animationstart",L)),f.push(s.listen(i,"transitionstart",L))}),function Bn(e,t,n){const r=jn.get(e);if(r){for(const i of t)r.classList.push(i);for(const i of n)r.cleanupFns.push(i)}else jn.set(e,{classList:t,cleanupFns:n})}(i,c,f);for(const ue of c)s.addClass(i,ue);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!m&&(Vp(i,uo,Ve),!uo.has(i))){for(const ue of c)s.removeClass(i,ue);Un(i)}})})}}(t,n,e,r)),El(t[o.YEL]),hf(t[o.YEL],ba(t)),Zl},\u0275\u0275animateEnterListener:function ql(e){if(cs("NgAnimateEnter"),!Ve)return ql;const t=(0,o.OAn)();if(at(t))return ql;const n=(0,o.Mx4)();return Ha(ba(t),n,()=>function bT(e,t,n){const r=(0,o.d31)(t,e);n.call(e[o.SKP],{target:r,animationComplete:ho})}(t,n,e)),El(t[o.YEL]),hf(t[o.YEL],ba(t)),ql},\u0275\u0275animateLeave:function ed(e){if(cs("NgAnimateLeave"),!Ve)return ed;const t=(0,o.OAn)();if(at(t))return ed;const r=(0,o.Mx4)(),i=t[o.YEL].get(o.SKi);return Ha(na(t),r,()=>function OT(e,t,n,r){const{promise:i,resolve:s}=Dh(),c=(0,o.d31)(t,e),f=e[o.GpT];Ka.add(e[o.ID]),(na(e).get(t.index).resolvers??=[]).push(s);const m=gu(n);return m&&m.length>0?function wT(e,t,n,r,i,s){!function uf(e,t){if(!Ve)return;const n=jn.get(e);if(n&&n.classList.length>0&&function lf(e,t){for(const n of t)if(e.classList.contains(n))return!0;return!1}(e,n.classList))for(const r of n.classList)t.removeClass(e,r);Un(e)}(e,i);const c=[],f=na(n).get(t.index)?.resolvers;let m,L=!1;const z=ue=>{if((Wa(ue)===e||"animation-fallback"===ue.type)&&("animation-fallback"===ue.type||Tc(ue,e))){if
1(L=!0,m&&clearTimeout(m),"animation-fallback"!==ue.type&&ue.stopPropagation(),uo.delete(e),sa(t,e),Array.isArray(t.projection))for(const ze of r)i.removeClass(e,ze);mu(f,c),_u(n,t)}};s.runOutsideAngular(()=>{c.push(i.listen(e,"animationend",z)),c.push(i.listen(e,"transitionend",z))}),pu(t,e);for(const ue of r)i.addClass(e,ue);s.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(L)return;Vp(e,uo,Ve);const ue=uo.get(e);ue?(m=setTimeout(()=>{z(new CustomEvent("animation-fallback"))},ue.duration+50),c.push(()=>clearTimeout(m))):(sa(t,e),mu(f,c),_u(n,t))})})}(c,t,e,m,f,r):s(),{promise:i,resolve:s}}(t,r,e,i)),El(t[o.YEL]),ed},\u0275\u0275animateLeaveListener:function bh(e){if(cs("NgAnimateLeave"),!Ve)return bh;const t=(0,o.OAn)(),n=(0,o.Mx4)();Ka.add(t[o.ID]);const r=t[o.YEL].get(o.SKi),i=t[o.YEL].get(P);return Ha(na(t),n,()=>function RT(e,t,n,r,i){const{promise:s,resolve:c}=Dh(),f=(0,o.d31)(t,e),m=[],L=e[o.GpT],z=at(e);(na(e).get(t.index).resolvers??=[]).push(c);const ue=na(e).get(t.index)?.resolvers;if(z)$a(e,t,f,ue,m);else{const Ue=setTimeout(()=>$a(e,t,f,ue,m),i),ze={target:f,animationComplete:()=>{$a(e,t,f,ue,m),clearTimeout(Ue)}};pu(t,f),r.runOutsideAngular(()=>{m.push(L.listen(f,"animationend",()=>{$a(e,t,f,ue,m),clearTimeout(Ue)},{once:!0}))}),n.call(e[o.SKP],ze)}return{promise:s,resolve:c}}(t,n,e,r,i)),El(t[o.YEL]),bh},\u0275\u0275attribute:Ah,\u0275\u0275defineComponent:Pm,\u0275\u0275defineDirective:xm,\u0275\u0275defineInjectable:o.jDH,\u0275\u0275defineInjector:o.G2t,\u0275\u0275defineNgModule:Lm,\u0275\u0275definePipe:km,\u0275\u0275directiveInject:Lc,\u0275\u0275getInheritedFactory:q,\u0275\u0275inject:o.KVO,\u0275\u0275injectAttribute:Jt,\u0275\u0275invalidFactory:Qg,\u0275\u0275invalidFactoryDep:o.dmw,\u0275\u0275templateRefExtractor:zy,\u0275\u0275resetView:o.Njj,\u0275\u0275HostDirectivesFeature:function SC(e){const t=n=>{const r=Array.isArray(e);null===n.hostDirectives?(n.resolveHostDirectives=IC,n.hostDirectives=r?e.map(ah):[e]):r?n.hostDirectives.unshift(...e.map(ah)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t},\u0275\u0275NgOnChangesFeature:Xt,\u0275\u0275ControlFeature:function TC(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r)},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r)},passThroughInput:e}}},\u0275\u0275ProvidersFeature:My,\u0275\u0275InheritDefinitionFeature:ch,\u0275\u0275ExternalStylesFeature:function vI(e){return t=>{e.length<1||(t.getExternalStyles=n=>e.map(i=>i+"?ngcomp"+(n?"="+encodeURIComponent(n):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:Av,\u0275\u0275namespaceHTML:o.joV,\u0275\u0275namespaceMathML:o.By9,\u0275\u0275namespaceSVG:o.qSk,\u0275\u0275enableBindings:o.cSN,\u0275\u0275disableBindings:o.fuf,\u0275\u0275elementStart:Uu,\u0275\u0275elementEnd:nd,\u0275\u0275element:xh,\u0275\u0275elementContainerStart:id,\u0275\u0275elementContainerEnd:Bu,\u0275\u0275domElement:kh,\u0275\u0275domElementStart:rd,\u0275\u0275domElementEnd:od,\u0275\u0275domElementContainer:function tv(e,t,n){return Bh(e,t,n),ev(),tv},\u0275\u0275domElementContainerStart:Bh,\u0275\u0275domElementContainerEnd:ev,\u0275\u0275domTemplate:dh,\u0275\u0275domListener:Qh,\u0275\u0275elementContainer:Uh,\u0275\u0275pureFunction0:Iy,\u0275\u0275pureFunction1:Ay,\u0275\u0275pureFunction2:by,\u0275\u0275pureFunction3:Oy,\u0275\u0275pureFunction4:wy,\u0275\u0275pureFunction5:Ry,\u0275\u0275pureFunction6:Py,\u0275\u0275pureFunction7:Ny,\u0275\u0275pureFunction8:function EI(e,t,n,r,i,s,c,f,m,L){const z=(0,o.gxQ)()+e,ue=(0,o.OAn)(),Ue=ea(ue,z,n,r,i,s);return ea(ue,z+4,c,f,m,L)||Ue?ra(ue,z+8,t(n,r,i,s,c,f,m,L)):xc(ue,z+8)},\u0275\u0275pureFunctionV:Ly,\u0275\u0275getCurrentView:nv,\u0275\u0275restoreView:o.eBV,\u0275\u0275listener:Yh,\u0275\u0275projection:Ov,\u0275\u0275syntheticHostProperty:function rv(e,t,n){const r=(0,o.OAn)();if(Ko(r,(0,o.xbp)(),t)){const s=(0,o.klJ)(),c=(0,o.CpD)();Cf(c,r,e,t,lg((0,o.MT)(s.data),c,r),n)}return rv},\u0275\u0275syntheticHostListener:function Iv(e,t){const n=(0,o.Mx4)(),r=(0,o.OAn)(),i=(0,o.klJ)();return Xh(i,r,lg((0,o.MT)(i.data),n,r),n,e,t),Iv},\u0275\u0275pipeBind1:Vy,\u0275\u0275pipeBind2:Wy,\u0275\u0275pipeBind3:Hy,\u0275\u0275pipeBind4:$y,\u0275\u0275pipeBindV:Ky,\u0275\u0275projectionDef:bv,\u0275\u0275domProperty:Vh,\u0275\u0275ariaProperty:Ih,\u0275\u0275property:Nh,\u0275\u0275control:function ND(){!function sm(){const e=(0,o.OAn)(),t=(0,o.klJ)(),n=(0,o.CpD)();-1!==n.controlDirectiveIndex&&t.data[n.controlDirectiveIndex].controlDef.update(e[n.controlDirectiveIndex],new am(e,t,n))}()},\u0275\u0275controlCreate:function PD(){!function im(){const e=(0,o.OAn)(),t=(0,o.klJ)(),n=(0,o.Mx4)();t.firstCreatePass&&function LD(e,t){for(let i=t.directiveStart;i<t.directiveEnd;i++)if(e.data[i].controlDef){t.controlDirectiveIndex=i;break}if(-1===t.controlDirectiveIndex)return;const r=e.data[t.controlDirectiveIndex].controlDef;r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1?t.flags|=4096:function xD(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){const r=e.data[n];if(cm(r,"value"))return t.flags|=1024,void(t.customControlIndex=n);if(cm(r,"checked"))return t.flags|=2048,void(t.customControlIndex=n)}}(e,t)}(t,n),-1!==n.controlDirectiveIndex&&(cs("NgSignalForms"),t.data[n.controlDirectiveIndex].controlDef.create(e[n.controlDirectiveIndex],new am(e,t,n)))}()},\u0275\u0275pipe:jy,\u0275\u0275queryRefresh:wv,\u0275\u0275queryAdvance:Pv,\u0275\u0275viewQuery:Zh,\u0275\u0275viewQuerySignal:ep,\u0275\u0275loadQuery:Rv,\u0275\u0275contentQuery:Jh,\u0275\u0275contentQuerySignal:qh,\u0275\u0275reference:Nv,\u0275\u0275classMap:Wv,\u0275\u0275styleMap:Vv,\u0275\u0275styleProp:op,\u0275\u0275classProp:ip,\u0275\u0275advance:af,\u0275\u0275template:lh,\u0275\u0275conditional:Y_,\u0275\u0275conditionalCreate:G_,\u0275\u0275conditionalBranchCreate:Rh,\u0275\u0275defer:U_,\u0275\u0275deferWhen:function cT(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(Ci(0,t,n)&&Ko(t,(0,o.xbp)(),e)){const i=(0,mt.Ht)(null);try{const s=!!e,f=Us(t,n)[1];!1===s&&f===Fc.Initial?Vc(t,n):!0===s&&(f===Fc.Initial||f===Po.Placeholder)&&rc(0,t,n)}finally{(0,mt.Ht)(i)}}},\u0275\u0275deferOnIdle:B_,\u0275\u0275deferOnImmediate:function hT(){const e=(0,o.OAn)(),t=(0,o.Mx4)();Ci(0,e,t)&&(null===us(e[o.eDl],t).loadingTmplIndex&&Vc(e,t),rc(0,e,t))},\u0275\u0275deferOnTimer:function mT(e){Ci(0,(0,o.OAn)(),(0,o.Mx4)())&&w_(Yl(e))},\u0275\u0275deferOnHover:function yT(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();Ci(0,n,r)&&(Vc(n,r),jc(n,r,e,t,ks,()=>rc(0,n,r),0))},\u0275\u0275deferOnInteraction:function CT(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();Ci(0,n,r)&&(Vc(n,r),jc(n,r,e,t,Vs,()=>rc(0,n,r),0))},\u0275\u0275deferOnViewport:V_,\u0275\u0275deferPrefetchWhen:function uT(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(Ci(1,t,n)&&Ko(t,(0,o.xbp)(),e)){const i=(0,mt.Ht)(null);try{const s=!!e,f=us(t[o.eDl],n);!0===s&&f.loadingState===wi.NOT_STARTED&&Fu(f,t,n)}finally{(0,mt.Ht)(i)}}},\u0275\u0275deferPrefetchOnIdle:function fT(){Ci(1,(0,o.OAn)(),(0,o.Mx4)())&&R_(Gl)},\u0275\u0275deferPrefetchOnImmediate:function pT(){const e=(0,o.OAn)(),t=(0,o.Mx4)();if(!Ci(1,e,t))return;const r=us(e[o.eDl],t);r.loadingState===wi.NOT_STARTED&&Ch(r,e,t)},\u0275\u0275deferPrefetchOnTimer:function _T(e){Ci(1,(0,o.OAn)(),(0,o.Mx4)())&&R_(Yl(e))},\u0275\u0275deferPrefetchOnHover:function ET(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!Ci(1,n,r))return;const s=us(n[o.eDl],r);s.loadingState===wi.NOT_STARTED&&jc(n,r,e,t,ks,()=>Fu(s,n,r),1)},\u0275\u0275deferPrefetchOnInteraction:function MT(e,t){const n=(0,o.OAn)(),r=(0,o.Mx4)();if(!Ci(1,n,r))return;const s=us(n[o.eDl],r);s.loadingState===wi.NOT_STARTED&&jc(n,r,e,t,Vs,()=>Fu(s,n,r),1)},\u0275\u0275deferPrefetchOnViewport:function ST(e,t,n){const r=(0,o.OAn)(),i=(0,o.Mx4)();if(!Ci(1,r,i))return;const c=us(r[o.eDl],i);c.loadingState===wi.NOT_STARTED&&jc(r,i,e,t,hh,()=>Fu(c,r,i),1,n)},\u0275\u0275deferHydrateWhen:function lT(e){const t=(0,o.OAn)(),n=(0,o.CpD)();if(!Ci(2,t,n))return;const r=(0,o.xbp)();if(Na((0,o.klJ)(),n).set(6,null),Ko(t,r,e)){const c=t[o.YEL],f=(0,mt.Ht)(null);try{1==!!e&&Pa(c,Us(t,n)[6])}finally{(0,mt.Ht)(f)}}},\u0275\u0275deferHydrateNever:function dT(){const e=(0,o.OAn)(),t=(0,o.Mx4)();Ci(2,e,t)&&Na((0,o.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:j_,\u0275\u0275deferHydrateOnImmediate:function gT(){const e=(0,o.OAn)(),t=(0,o.Mx4)();Ci(2,e,t)&&(Na((0,o.klJ)(),t).set(1,null),Pa(e[o.YEL],Us(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function vT(e){const t=(0,o.OAn)(),n=(0,o.Mx4)();Ci(2,t,n)&&(Na((0,o.klJ)(),n).set(5,{type:5,delay:e}),P_(Yl(e),t,n))},\u0275\u0275deferHydrateOnHover:function DT(){const e=(0,o.OAn)(),t=(0,o.Mx4)();Ci(2,e,t)&&Na((0,o.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function TT(){const e=(0,o.OAn)(),t=(0,o.Mx4)();Ci(2,e,t)&&Na((0,o.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:W_,\u0275\u0275deferEnableTimerScheduling:o_,\u0275\u0275repeater:Z_,\u0275\u0275repeaterCreate:J_,\u0275\u0275repeaterTrackByIndex:Q_,\u0275\u0275repeaterTrackByIdentity:X_,\u0275\u0275componentInstance:H_,\u0275\u0275text:Jv,\u0275\u0275textInterpolate:ap,\u0275\u0275textInterpolate1:fd,\u0275\u0275textInterpolate2:cp,\u0275\u0275textInterpolate3:up,\u0275\u0275textInterpolate4:lp,\u0275\u0275textInterpolate5:function cy(e,t,n,r,i,s,c,f,m,L,z){const ue=(0,o.OAn)(),Ue=oy(ue,e,t,n,r,i,s,c,f,m,L,z);return Ue!==co&&va(ue,(0,o._px)(),Ue),cy},\u0275\u0275textInterpolate6:function uy(e,t,n,r,i,s,c,f,m,L,z,ue,Ue){const ze=(0,o.OAn)(),_t=iy(ze,e,t,n,r,i,s,c,f,m,L,z,ue,Ue);return _t!==co&&va(ze,(0,o._px)(),_t),uy},\u0275\u0275textInterpolate7:function ly(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t){const on=(0,o.OAn)(),Tn=sy(on,e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t);return Tn!==co&&va(on,(0,o._px)(),Tn),ly},\u0275\u0275textInterpolate8:function dy(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t,on,Tn){const Xn=(0,o.OAn)(),tn=ay(Xn,e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t,on,Tn);return tn!==co&&va(Xn,(0,o._px)(),tn),dy},\u0275\u0275textInterpolateV:function fy(e){const t=(0,o.OAn)(),n=qv(t,e);return n!==co&&va(t,(0,o._px)(),n),fy}
1,\u0275\u0275i18n:Tv,\u0275\u0275i18nAttributes:function RS(e,t){const n=(0,o.klJ)(),r=(0,o.db4)(n.consts,t);!function hS(e,t,n){const r=(0,o.Mx4)(),i=r.index,s=[];if(e.firstCreatePass&&null===e.data[t]){for(let c=0;c<n.length;c+=2){const f=n[c],m=n[c+1];if(""!==m){if(iS.test(m))throw new Error(`ICU expressions are not supported in attributes. Message: "${m}".`);const L=r.namespace?`:${r.namespace}:${r.value}`:r.value;ud(s,m,i,f,pS(s),zh(f,L))}}e.data[t]=s}}(n,e+o.Yw1,r)},\u0275\u0275i18nExp:Gh,\u0275\u0275i18nStart:Cv,\u0275\u0275i18nEnd:Mv,\u0275\u0275i18nApply:Sv,\u0275\u0275i18nPostprocess:function PS(e,t={}){return function wS(e,t={}){let n=e;if(MS.test(e)){const r={},i=[0];n=n.replace(TS,(s,c,f)=>{const m=c||f,L=r[m]||[];if(L.length||(m.split("|").forEach(on=>{const Tn=on.match(OS),Xn=Tn?parseInt(Tn[1],10):0,tn=bS.test(on);L.push([Xn,tn,on])}),r[m]=L),!L.length)throw new Error(`i18n postprocess: unmatched placeholder - ${m}`);const z=i[i.length-1];let ue=0;for(let on=0;on<L.length;on++)if(L[on][0]===z){ue=on;break}const[Ue,ze,_t]=L[ue];return ze?i.pop():z!==Ue&&i.push(Ue),L.splice(ue,1),_t})}return Object.keys(t).length&&(n=n.replace(SS,(r,i,s,c,f,m)=>t.hasOwnProperty(s)?`${i}${t[s]}${m}`:r),n=n.replace(IS,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(AS,(r,i)=>{if(t.hasOwnProperty(i)){const s=t[i];if(!s.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return s.shift()}return r})),n}(e,t)},\u0275\u0275resolveWindow:uu,\u0275\u0275resolveDocument:Dc,\u0275\u0275resolveBody:$d,\u0275\u0275setComponentScope:Ty,\u0275\u0275setNgModuleScope:function yI(e,t){return Ge(()=>{const n=(0,o.WbQ)(e);n.declarations=hd(t.declarations||o.Mlv),n.imports=hd(t.imports||o.Mlv),n.exports=hd(t.exports||o.Mlv),t.bootstrap&&(n.bootstrap=hd(t.bootstrap)),Ru.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:Om,\u0275\u0275getComponentDepsFactory:function CI(e,t){return()=>{try{return Ru.getComponentDependencies(e,t).dependencies}catch(n){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,n),n}}},\u0275setClassDebugInfo:function MI(e,t){const n=(0,o.xUg)(e);null!==n&&(n.debugInfo=t)},\u0275\u0275declareLet:function gy(e){cs("NgLet");const t=(0,o.klJ)(),n=(0,o.OAn)(),r=e+o.Yw1,i=Ya(t,r,128,null,null);return(0,o.iMd)(i,!1),(0,o.M_e)(t,n,r,py),gy},\u0275\u0275storeLet:function iI(e){const t=(0,o.klJ)(),n=(0,o.OAn)(),r=(0,o._px)();return(0,o.M_e)(t,n,r,e),e},\u0275\u0275arrowFunction:function pI(e,t,n){const r=(0,o.gxQ)()+e,i=(0,o.OAn)();return i[r]===co?ra(i,r,t(n,i)):xc(i,r)},\u0275\u0275readContextLet:function sI(e){const t=(0,o.VPL)(),n=(0,o.Hh6)(t,o.Yw1+e);if(n===py)throw new o.buA(314,!1);return n},\u0275\u0275attachSourceLocations:function aI(e,t){const n=(0,o.klJ)(),r=(0,o.OAn)(),i=r[o.GpT],s="data-ng-source-location";for(const[c,f,m,L]of t){(0,o.XRZ)(n,c+o.Yw1);const ue=(0,o.vaC)(c+o.Yw1,r);ue.hasAttribute(s)||i.setAttribute(ue,s,`${e}@o:${f},l:${m},c:${L}`)}},\u0275\u0275interpolate:my,\u0275\u0275interpolate1:_y,\u0275\u0275interpolate2:vy,\u0275\u0275interpolate3:yy,\u0275\u0275interpolate4:function cI(e,t,n,r,i,s,c,f,m=""){return ry((0,o.OAn)(),e,t,n,r,i,s,c,f,m)},\u0275\u0275interpolate5:function uI(e,t,n,r,i,s,c,f,m,L,z=""){return oy((0,o.OAn)(),e,t,n,r,i,s,c,f,m,L,z)},\u0275\u0275interpolate6:function lI(e,t,n,r,i,s,c,f,m,L,z,ue,Ue=""){return iy((0,o.OAn)(),e,t,n,r,i,s,c,f,m,L,z,ue,Ue)},\u0275\u0275interpolate7:function dI(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t=""){return sy((0,o.OAn)(),e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t)},\u0275\u0275interpolate8:function fI(e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t,on,Tn=""){return ay((0,o.OAn)(),e,t,n,r,i,s,c,f,m,L,z,ue,Ue,ze,_t,on,Tn)},\u0275\u0275interpolateV:function hI(e){return qv((0,o.OAn)(),e)},\u0275\u0275sanitizeHtml:su,\u0275\u0275sanitizeStyle:au,\u0275\u0275sanitizeResourceUrl:vc,\u0275\u0275sanitizeScript:Ua,\u0275\u0275validateAttribute:fl,\u0275\u0275sanitizeUrl:_c,\u0275\u0275sanitizeUrlOrResourceUrl:dl,\u0275\u0275trustConstantHtml:function cu(e){return ia(e[0])},\u0275\u0275trustConstantResourceUrl:ll,forwardRef:o.Rfq,resolveForwardRef:o.nl4,\u0275\u0275twoWayProperty:dp,\u0275\u0275twoWayBindingSet:hy,\u0275\u0275twoWayListener:fp,\u0275\u0275replaceMetadata:function SI(e,t,n,r,i=null,
1s=null){const c=(0,o.xUg)(e);t.apply(null,[e,n,...r]);const{newDef:f,oldDef:m}=function II(e,t){const n={...e};return{newDef:Object.assign(e,t,{directiveDefs:n.directiveDefs,pipeDefs:n.pipeDefs,setInput:n.setInput,type:n.type}),oldDef:n}}(c,(0,o.xUg)(e));if(e[o.CQl]=f,m.tView){const L=function ai(){return Yo}().values();for(const z of L)(0,o.EFk)(z)&&null===z[o.f7T]&&pd(i,s,f,m,z)}},\u0275\u0275getReplaceMetadataURL:function TI(e,t,n){const r=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(r,n).href}};let Gc=null;function RI(e){null!==Gc&&(e.defaultEncapsulation!==Gc.defaultEncapsulation||e.preserveWhitespaces!==Gc.preserveWhitespaces)||(Gc=e)}const Yu=[];function qy(e){return Uf(e)?e.ngModule:e}const QI=nn("NgModule",e=>e,void 0,0,(e,t)=>function xI(e,t={}){(function kI(e,t){const r=(0,o.Bqz)(t.declarations||o.Mlv);let i=null;Object.defineProperty(e,o.hmW,{configurable:!0,get:()=>(null===i&&(i=Lr().compileNgModule(La,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,o.Bqz)(t.bootstrap||o.Mlv).map(o.nl4),declarations:r.map(o.nl4),imports:(0,o.Bqz)(t.imports||o.Mlv).map(o.nl4).map(qy),exports:(0,o.Bqz)(t.exports||o.Mlv).map(o.nl4).map(qy),schemas:t.schemas?(0,o.Bqz)(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let s=null;Object.defineProperty(e,o.zSs,{get:()=>{if(null===s){const f=Lr();s=f.compileFactory(La,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:nr(e),target:f.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let c=null;Object.defineProperty(e,o.ONQ,{get:()=>{if(null===c){const f={name:e.name,type:e,providers:t.providers||o.Mlv,imports:[(t.imports||o.Mlv).map(o.nl4),(t.exports||o.Mlv).map(o.nl4)]};c=Lr().compileInjector(La,`ng:///${e.name}/\u0275inj.js`,f)}return c},configurable:!1})})(e,t),void 0!==t.id&&Om(e,t.id),function NI(e,t){Yu.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class XI{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let JI=(()=>{class e{compileModuleSync(n){return new Rm(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=Zs((0,o.phH)(n).declarations).reduce((c,f)=>{const m=(0,o.xUg)(f);return m&&c.push(new Vl(m)),c},[]);return new XI(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ZI=new o.nKC("");let qI=(()=>{class e{applicationErrorHandler=(0,o.WQX)(o.ZTf);appRef=(0,o.WQX)(Eh);taskService=(0,o.WQX)(o.rev);ngZone=(0,o.WQX)(o.SKi);zonelessEnabled=(0,o.WQX)(o.Evm);tracing=(0,o.WQX)(Ic,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new A.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(o.AbJ):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,o.WQX)(o.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?o.uiq:o.l4E;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDef
1ined&&Zone.current.get(o.AbJ+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=(0,o.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fE(){return[{provide:o.hk6,useExisting:qI},{provide:o.SKi,useClass:o.myG},{provide:o.Evm,useValue:!0}]}const hE=new o.nKC("",{factory:()=>(0,o.WQX)(hE,{optional:!0,skipSelf:!0})||function eA(){return typeof $localize<"u"&&$localize.locale||Hh}()}),tA=new o.nKC("",{factory:()=>"USD"})},15824(wt,Ce,a){"use strict";a.d(Ce,{Ag:()=>Je,Bg:()=>be,EF:()=>tt,H8:()=>Pe,Ht:()=>S,JC:()=>re,KE:()=>R,KO:()=>De,KZ:()=>xe,Ny:()=>st,TO:()=>ve,Wu:()=>de,XR:()=>Ke,a7:()=>Zt,bh:()=>B,j2:()=>ht,lh:()=>fn,mC:()=>Dt,mK:()=>V,n5:()=>Fe,nR:()=>k,pL:()=>ae,s0:()=>Ut,si:()=>Z,vX:()=>Dn});let I=null,D=!1,_=1;const B=Symbol("SIGNAL");function S(o){const mt=I;return I=o,mt}function k(){return I}function R(){return D}const ae={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 V(o){if(D)throw new Error("");if(null===I)return;I.consumerOnSignalRead(o);const mt=I.producersTail;if(void 0!==mt&&mt.producer===o)return;let ne;const A=I.recomputing;if(A&&(ne=void 0!==mt?mt.nextProducer:I.producers,void 0!==ne&&ne.producer===o))return I.producersTail=ne,void(ne.lastReadVersion=o.version);const w=o.consumersTail;if(void 0!==w&&w.consumer===I&&(!A||function pt(o,mt){const ne=mt.producersTail;if(void 0!==ne){let A=mt.producers;do{if(A===o)return!0;if(A===ne)break;A=A.nextProducer}while(void 0!==A)}return!1}(w,I)))return;const ye=jt(I),Ge={producer:o,consumer:I,nextProducer:ne,prevConsumer:w,lastReadVersion:o.version,nextConsumer:void 0};I.producersTail=Ge,void 0!==mt?mt.nextProducer=Ge:I.producers=Ge,ye&&ft(o,Ge)}function re(o){if((!jt(o)||o.dirty)&&(o.dirty||o.lastCleanEpoch!==_)){if(!o.producerMustRecompute(o)&&!Z(o))return void ve(o);o.producerRecomputeValue(o),ve(o)}}function $(o){if(void 0===o.consumers)return;const mt=D;D=!0;try{for(let ne=o.consumers;void 0!==ne;ne=ne.nextConsumer){const A=ne.consumer;A.dirty||me(A)}}finally{D=mt}}function we(){return!1!==I?.consumerAllowSignalWrites}function me(o){o.dirty=!0,$(o),o.consumerMarkedDirty?.(o)}function ve(o){o.dirty=!1,o.lastCleanEpoch=_}function be(o){return o&&function K(o){o.producersTail=void 0,o.recomputing=!0}(o),S(o)}function de(o,mt){S(mt),o&&function fe(o){o.recomputing=!1;const mt=o.producersTail;let ne=void 0!==mt?mt.nextProducer:o.producers;if(void 0!==ne){if(jt(o))do{ne=At(ne)}while(void 0!==ne);void 0!==mt?mt.nextProducer=void 0:o.producers=void 0}}(o)}function Z(o){for(let mt=o.producers;void 0!==mt;mt=mt.nextProducer){const ne=mt.producer,A=mt.lastReadVersion;if(A!==ne.version||(re(ne),A!==ne.version))return!0}return!1}function Ke(o){if(jt(o)){let mt=o.producers;for(;void 0!==mt;)mt=At(mt)}o.producers=void 0,o.producersTail=void 0,o.consumers=void 0,o.consumersTail=void 0}function ft(o,mt){const ne=o.consumersTail,A=jt(o);if(void 0!==ne?(mt.nextConsumer=ne.nextConsumer,ne.nextConsumer=mt):(mt.nextConsumer=void 0,o.consumers=mt),mt.prevConsumer=ne,o.consumersTail=mt,!A)for(let w=o.producers;void 0!==w;w=w.nextProducer)ft(w.producer,w)}function At(o){const mt=o.producer,ne=o.nextProducer,A=o.nextConsumer,w=o.prevConsumer;if(o.nextConsumer=void 0,o.prevConsumer=void 0,void 0!==A?A.prevConsumer=w:mt.consumersTail=w,void 0!==w)w.nextConsumer=A;else if(mt.consumers=A,!jt(mt)){let ye=mt.producers;for(;void 0!==ye;)ye=At(ye)}return ne}function jt(o){return o.consumerIsAlwaysLive||void 0!==o.consumers}function Zt(o){}function Pe(o,mt){return Object.is(o,mt)}function xe(o,mt){const ne=Object.create(nt);ne.computation=o,void 0!==mt&&(ne.equal=mt);const A=()=>{if(re(ne),V(ne),ne.value===tt)throw ne.error;return ne.value};return A[B]=ne,A}const Je=Symbol("UNSET"),st=Symbol("COMPUTING"),tt=Symbol("ERRORED"),nt={...ae,value:Je,dirty:!0,error:null,equal:Pe,kind:"computed",producerMustRecompute:o=>o.value===Je||o.value===st,producerRecomputeValue(o){if(o.value===st)throw new Error("");const mt=o.value;o.value=st;const ne=be(o);let A,w=!1;try{A=o.computation(),S(null),w=mt!==Je&&mt!==tt&&A!==tt&&o.equal(mt,A)}catch(ye){A=tt,o.error=ye}finally{de(o,ne)}w?o.value=mt:(o.value=A,o.version++)}};let Me=function $e(){throw new Error};function X(o){Me(o)}function De(o){Me=o}function Fe(o,mt){const ne=Object.create(Ut);ne.value=o,void 0!==mt&&(ne.equal=mt);const A=()=>function dt(o){return V(o),o.value}(ne);return A[B]=ne,[A,Ge=>ht(ne,Ge),Ge=>Dt(ne,Ge)]}function ht(o,mt){we()||X(o),o.equal(o.value,mt)||(o.value=mt,function Ht(o){o.version++,function G(){_++}(),$(o)}(o))}function Dt(o,mt){we()||X(o),ht(o,mt(o.value))}const Ut={...ae,equal:Pe,value:void 0,kind:"signal"},Dn={...ae,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function fn(o){if(o.dirty=!1,o.version>0&&!Z(o))return;o.version++;const mt=be(o);try{o.cleanup(),o.fn()}finally{de(o,mt)}}},60414(wt,Ce,a){"use strict";a.d(Ce,{$8:()=>Fe,$Hz:()=>kn,A0l:()=>ir,A7J:()=>Lr,AQb:()=>Qc,Ab:()=>aa,AbJ:()=>Wo,Af3:()=>ds,Agf:()=>Et,Ap:()=>ae,AsM:()=>de,B22:()=>os,B9r:()=>Sn,BI7:()=>xr,Bqz:()=>or,By9:()=>b,CQl:()=>On,CZt:()=>eo,CpD:()=>Zi,Cv0:()=>pt,Czx:()=>Fr,DFp:()=>Oe,Ds7:()=>Xi,DyX:()=>hi,E6O:()=>ro,EFk:()=>O,EJG:()=>si,EPY:()=>te,EYC:()=>wr,EmA:()=>mr,Evm:()=>cc,F1c:()=>yi,FRF:()=>Wr,Fje:()=>Ji,G2t:()=>Ht,GA0:()=>lt,GBX:()=>Jt,GWr:()=>Me,GYQ:()=>Qu,GZS:()=>so,GpT:()=>Bi,HAh:()=>fi,HO5:()=>qi,HUe:()=>ws,HaV:()=>Xt,Hh6:()=>bs,IAh:()=>tt,ID:()=>Es,ID8:()=>pn,ITl:()=>hs,Iaj:()=>ee,Isx:()=>_e,IvY:()=>bi,JEi:()=>oe,JjR:()=>Vt,JlV:()=>Hn,Jzi:()=>jt,K29:()=>Fi,K7h:()=>Mr,KET:()=>fo,KVO:()=>Se,KdJ:()=>Cs,KtD:()=>Ls,Kw3:()=>je,LIA:()=>Pe,LZP:()=>dt,M0L:()=>es,M6u:()=>Qi,MI:()=>Vi,MME:()=>Bt,MT:()=>Q,MZA:()=>We,M_e:()=>Vo,MdC:()=>ci,Mlv:()=>ct,Mx4:()=>Ws,MzJ:()=>ln,N4e:()=>So,N79:()=>Ps,Njj:()=>zs,O8q:()=>an,OAn:()=>Vs,ONQ:()=>w,OsK:()=>$,P2g:()=>M,P3H:()=>p,PEr:()=>Ro,PP7:()=>Or,PQT:()=>Ze,Pfq:()=>Li,Pz9:()=>gt,QZP:()=>lc,Qs1:()=>En,QuC:()=>Er,R2n:()=>_r,RZ9:()=>F,Rc9:()=>Fo,Rfq:()=>ft,Rom:()=>Cn,RxE:()=>k,SKP:()=>Ti,SKi:()=>vs,SMZ:()=>ve,SX7:()=>ce,TWe:()=>Bo,Tkx:()=>Wi,U45:()=>Zt,U7d:()=>yr,UaU:()=>y,UhH:()=>pi,VKj:()=>Ne,VML:()=>ua,VPL:()=>as,VVG:()=>vi,VX4:()=>qe,W0r:()=>vr,WB9:()=>nr,WQX:()=>ke,WbQ:()=>rt,WfI:()=>xn,Wg1:()=>Pr,WrV:()=>vt,X5O:()=>Si,XRZ:()=>ns,XaM:()=>Kr,Xln:()=>xe,XvL:()=>nt,Y20:()=>hn,Y3W:()=>et,YEL:()=>Yo,YWB:()=>Gs,Yrj:()=>Uo,Yw1:()=>ot,Z63:()=>St,Z9v:()=>Y,ZFY:()=>qt,ZQF:()=>st,ZRn:()=>As,ZTf:()=>ki,_0$:()=>Ei,_Z$:()=>Ir,_gW:()=>Xo,_px:()=>ko,a2B:()=>Rt,abz:()=>_n,b$O:()=>Lt,b5C:()=>ai,bBq:()=>wo,biv:()=>ts,bkB:()=>qr,bll:()=>Io,blu:()=>Jo,bm_:()=>zt,brz:()=>Jr,buA:()=>G,c$7:()=>ge,cBl:()=>T,cP4:()=>to,cSN:()=>zi,ckz:()=>Ns,d31:()=>fs,dMS:()=>rs,dTm:()=>Sa,dUD:()=>H,d_l:()=>Ki,db4:()=>Eo,dmw:()=>Le,dwj:()=>K,e5P:()=>br,eBV:()=>Ks,eDl:()=>$o,eFE:()=>Dr,eVN:()=>Ms,ebl:()=>ne,ezK:()=>kr,f7T:()=>_i,fuf:()=>xs,gsJ:()=>ur,gv8:()=>Br,gxQ:()=>W,hjC:()=>xt,hk6:()=>Ma,hmW:()=>bo,iMd:()=>Hs,iYM:()=>Re,ihb:()=>Qt,ik5:()=>$i,iw4:()=>Je,jDH:()=>Ut,jNO:()=>gs,jNX:()=>Ai,jRZ:()=>Pi,jXY:()=>Oo,jgP:()=>Mi,joV:()=>d,jvu:()=>Ao,kHH:()=>$n,kLh:()=>be,kNT:()=>Dt,kU6:()=>Z,kcM:()=>vn,klJ:()=>ks,krE:()=>ss,l3R:()=>rr,l4E:()=>qo,laP:()=>we,llW:()=>Rr,m7n:()=>Te,muV:()=>fn,myG:()=>qn,n$e:()=>fe,nKC:()=>ye,nZS:()=>Rn,nfM:()=>Yt,ng7:()=>Sr,niQ:()=>Zn,nl4:()=>At,oMQ:()=>Ri,oTH:()=>ar,oZy:()=>Ii,ok8:()=>V,oyA:()=>en,p9y:()=>xo,pbo:()=>X,pcR:()=>ji,phH:()=>Vr,pr_:()=>yt,q$2:()=>rn,qFA:()=>bt,qQL:()=>dn,qSk:()=>Gi,qlT:()=>ii,r4V:()=>oa,rFz:()=>ms,rJ1:()=>di,rQE:()=>Qo,rev:()=>ao,s6P:()=>Kt,srX:()=>Wn,tF7:()=>ht,tQN:()=>vo,tcA:()=>Ui,tdH:()=>Xs,u5s:()=>Ta,uXy:()=>Tr,uiq:()=>Ys,uvJ:()=>zn,vNG:()=>Ni,vOT:()=>Os,vPA:()=>Qs,vQI:()=>sr,vaC:()=>jo,veI:()=>Fs,w7Z:()=>Ae,wGu:()=>cr,wVl:()=>Gr,xLP:()=>$r,xUg:()=>Ye,xbp:()=>Ie,xvI:()=>R,xyx:()=>Pn,yAH:()=>A,yP_:()=>v,yoD:()=>lr,ypq:()=>Oi,yzR:()=>ui,z6V:()=>An,z7f:()=>Xe,zAe:()=>Hi,zQk:()=>li,zSs:()=>Lo,zZn:()=>It,zcH:()=>ei,znI:()=>Rs});var I=a(15824),D=a(71985),_=a(21413),J=a(84412),B=a(18359),S=a(91679);class k{full;major;minor;patch;constructor(j){this.full=j;const le=j.split(".");this.major=le[0],this.minor=le[1],this.patch=le.slice(2).join(".")}}const R=new k("21.2.17"),H=(()=>{const g=R.full;return`https://${g.includes("-next")||g.includes("-rc")||"0.0.0-PLACEHOLDER"===g?"next":`v${R.major}`}.angular.dev`})(),ae=`${H}/errors`,V="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";
1class G extends Error{code;constructor(j,le){super($(j,le)),this.code=j}}function $(g,j){return`${function re(g){return`NG0${Math.abs(g)}`}(g)}${j?": "+j:""}`}const we=globalThis;function ve(){return!1}function be(g){for(let j in g)if(g[j]===be)return j;throw Error("")}function K(g,j){for(const le in j)j.hasOwnProperty(le)&&!g.hasOwnProperty(le)&&(g[le]=j[le])}function de(g){if("string"==typeof g)return g;if(Array.isArray(g))return`[${g.map(de).join(", ")}]`;if(null==g)return""+g;const j=g.overriddenName||g.name;if(j)return`${j}`;const le=g.toString();if(null==le)return""+le;const Qe=le.indexOf("\n");return Qe>=0?le.slice(0,Qe):le}function fe(g,j){return g?j?`${g} ${j}`:g:j||""}function Z(g,j=100){if(!g||j<1||g.length<=j)return g;if(1==j)return g.substring(0,1)+"...";const le=Math.round(j/2);return g.substring(0,le)+"..."+g.substring(g.length-le)}const Ke=be({__forward_ref__:be});function ft(g){return g.__forward_ref__=ft,g}function At(g){return jt(g)?g():g}function jt(g){return"function"==typeof g&&g.hasOwnProperty(Ke)&&g.__forward_ref__===ft}function Zt(g,j){"number"!=typeof g&&Fe(j,typeof g,"number","===")}function vt(g,j,le){Zt(g,"Expected a number"),function $e(g,j,le){g<=j||Fe(le,g,j,"<=")}(g,le,"Expected number to be less than or equal to"),X(g,j,"Expected number to be greater than or equal to")}function pt(g,j){"string"!=typeof g&&Fe(j,null===g?"null":typeof g,"string","===")}function Pe(g,j){"function"!=typeof g&&Fe(j,null===g?"null":typeof g,"function","===")}function xe(g,j,le){g!=j&&Fe(le,g,j,"==")}function Je(g,j,le){g==j&&Fe(le,g,j,"!=")}function st(g,j,le){g!==j&&Fe(le,g,j,"===")}function tt(g,j,le){g===j&&Fe(le,g,j,"!==")}function nt(g,j,le){g<j||Fe(le,g,j,"<")}function Me(g,j,le){g>j||Fe(le,g,j,">")}function X(g,j,le){g>=j||Fe(le,g,j,">=")}function Re(g,j){null==g&&Fe(j,g,null,"!=")}function Fe(g,j,le,Qe){throw new Error(`ASSERTION ERROR: ${g}`+(null==Qe?"":` [Expected=> ${le} ${Qe} ${j} <=Actual]`))}function Xe(g){g instanceof Node||Fe(`The provided value must be an instance of a DOM Node but got ${de(g)}`)}function dt(g){g instanceof Element||Fe(`The provided value must be an element but got ${de(g)}`)}function ht(g,j){Re(g,"Array must be defined.");const le=g.length;(j<0||j>=le)&&Fe(`Index expected to be less than ${le} but got ${j}`)}function Dt(g,...j){if(-1!==j.indexOf(g))return!0;Fe(`Expected value to be one of ${JSON.stringify(j)} but was ${JSON.stringify(g)}.`)}function yt(g){null!==(0,I.nR)()&&Fe(`${g}() should never be called in a reactive context.`)}function Ut(g){return{token:g.token,providedIn:g.providedIn||null,factory:g.factory,value:void 0}}function Ht(g){return{providers:g.providers||[],imports:g.imports||[]}}function Dn(g){return function o(g,j){return g.hasOwnProperty(j)&&g[j]||null}(g,A)}function fn(g){return null!==Dn(g)}function ne(g){return g&&g.hasOwnProperty(w)?g[w]:null}const A=be({\u0275prov:be}),w=be({\u0275inj:be});class ye{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(j,le){this._desc=j,this.\u0275prov=void 0,"number"==typeof le?this.__NG_ELEMENT_ID__=le:void 0!==le&&(this.\u0275prov=Ut({token:this,providedIn:le.providedIn||"root",factory:le.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Ge;function Nt(){return Fe("getInjectorProfilerContext should never be called in production mode"),Ge}function Oe(g){Fe("setInjectorProfilerContext should never be called in production mode");const j=Ge;return Ge=g,j}const Pt=[],nn=()=>{};function vn(g){return Fe("setInjectorProfiler should never be called in production mode"),null!==g?(Pt.includes(g)||Pt.push(g),()=>function gn(g){const j=Pt.indexOf(g);-1!==j&&Pt.splice(j,1)}(g)):(Pt.length=0,nn)}function yn(g){Fe("Injector profiler should never be called in production mode");for(let j=0;j<Pt.length;j++)(0,Pt[j])(g)}function Rn(g,j=!1){let le;Fe("Injector profiler should never be called in production mode"),le="function"==typeof g||g instanceof ye?g:At(g.provide);let Qe=g;g instanceof ye&&(Qe=g.\u0275prov||g),yn({type:2,context:Nt(),providerRecord:{token:le,provider:Qe,isViewProvider:j}})}function yr(g){Fe("Injector profiler should never be called in production mode"),yn({type:5,context:Nt(),token:g})}function Tr(g){Fe("Injector profiler should never be called in production mode"),yn({type:1,context:Nt(),instance:{value:g}})}function xr(g,j,le){Fe("Injector profiler should never be called in production mode"),yn({type:0,context:Nt(),service:{token:g,value:j,flags:le}})}function Lr(g){Fe("Injector profiler should never be called in production mode"),yn({type:4,context:Nt(),effectPhase:g})}function Kr(g,j,le){Fe("runInInjectorProfilerContext should never be called in production mode");const Qe=Oe({injector:g,token:j});try{le()}finally{Oe(Qe)}}function jr(g){return g&&!!g.\u0275providers}
1const On=be({\u0275cmp:be}),eo=be({\u0275dir:be}),go=be({\u0275pipe:be}),bo=be({\u0275mod:be}),Lo=be({\u0275fac:be}),xo=be({__NG_ELEMENT_ID__:be}),Hr=be({__NG_ENV_ID__:be});function Vr(g){return er(g),g[bo]||null}function rt(g){const j=Vr(g);if(!j)throw new G(915,!1);return j}function Ye(g){return er(g),g[On]||null}function Et(g){const j=Xt(g);if(!j)throw new G(916,!1);return j}function Xt(g){return er(g),g[eo]||null}function en(g){return er(g),g[go]||null}function er(g,j){if(null==g)throw new G(-919,!1)}function Er(g){const j=Ye(g)||Xt(g)||en(g);return null!==j&&j.standalone}function Dr(g){return"string"==typeof g?g:null==g?"":String(g)}function Or(g){return"function"==typeof g?g.name||g.toString():"object"==typeof g&&null!=g&&"function"==typeof g.type?g.type.name||g.type.toString():Dr(g)}function Ir(g){const j=Ye(g);return null!==j&&j.debugInfo?function Xr(g){return g.filePath&&g.lineNumber?`${g.className} (at ${g.filePath}:${g.lineNumber})`:g.className}(j.debugInfo):Or(g)}const Mo=be({ngErrorCode:be}),Tt=be({ngErrorMessage:be}),Gt=be({ngTokenPath:be});function Ze(g,j){return gr("",-200,j)}function qe(g,j){return function Vn(g,j){return g.message=function Ft(g,j,le=[],Qe=null){let Mt="";le&&le.length>1&&(Mt=` Path: ${le.join(" -> ")}.`);return $(j,`${g}${Qe?` Source: ${Qe}.`:""}${Mt}`)}(g[Tt]||g.message,g[Mo],g[Gt],j),g}(Ze(0,j),null)}function kn(g,j){throw new G(-201,!1)}function gr(g,j,le){const Qe=new G(j,g);return Qe[Mo]=j,Qe[Tt]=g,le&&(Qe[Gt]=le),Qe}let wn;function it(){return wn}function Rt(g){const j=wn;return wn=g,j}function ln(g,j,le){const Qe=Dn(g);return Qe&&"root"==Qe.providedIn?void 0===Qe.value?Qe.value=Qe.factory():Qe.value:8&le?null:void 0!==j?j:void kn()}function qt(g){}const tr={},Kn="__NG_DI_FLAG__";class pe{injector;constructor(j){this.injector=j}retrieve(j,le){const Qe=xt(le)||0;try{return this.injector.get(j,8&Qe?null:tr,Qe)}catch(Mt){if((0,S.c4)(Mt))return Mt;throw Mt}}}function Be(g,j=0){const le=(0,S.Af)();if(void 0===le)throw new G(-203,!1);if(null===le)return ln(g,void 0,j);{const Qe=function Ct(g){return{optional:!!(8&g),host:!!(1&g),self:!!(2&g),skipSelf:!!(4&g)}}(j),Mt=le.retrieve(g,Qe);if((0,S.c4)(Mt)){if(Qe.optional)return null;throw Mt}return Mt}}function Se(g,j=0){return(it()||Be)(At(g),j)}function Le(g){throw new G(202,!1)}function ke(g,j){return Se(g,xt(j))}function xt(g){return typeof g>"u"||"number"==typeof g?g:0|(g.optional&&8)|(g.host&&1)|(g.self&&2)|(g.skipSelf&&4)}function sn(g){const j=[];for(let le=0;le<g.length;le++){const Qe=At(g[le]);if(Array.isArray(Qe)){if(0===Qe.length)throw new G(900,!1);let Mt,cn=0;for(let In=0;In<Qe.length;In++){const Co=Qe[In],Yr=Gn(Co);"number"==typeof Yr?-1===Yr?Mt=Co.token:cn|=Yr:Mt=Co}j.push(Se(Mt,cn))}else j.push(Se(Qe))}return j}function An(g,j){return g[Kn]=j,g.prototype[Kn]=j,g}function Gn(g){return g[Kn]}function cr(g,j){return g.hasOwnProperty(Lo)?g[Lo]:null}function Sr(g,j,le){if(g.length!==j.length)return!1;for(let Qe=0;Qe<g.length;Qe++){let Mt=g[Qe],cn=j[Qe];if(le&&(Mt=le(Mt),cn=le(cn)),cn!==Mt)return!1}return!0}function or(g){return g.flat(Number.POSITIVE_INFINITY)}function $r(g,j){g.forEach(le=>Array.isArray(le)?$r(le,j):j(le))}function wr(g,j,le){j>=g.length?g.push(le):g.splice(j,0,le)}function ro(g,j){return j>=g.length-1?g.pop():g.splice(j,1)[0]}function xn(g,j){const le=[];for(let Qe=0;Qe<g;Qe++)le.push(j);return le}function ur(g,j,le){const Qe=g.length-le;for(;j<Qe;)g[j]=g[j+le],j++;for(;le--;)g.pop()}function Rr(g,j,le,Qe){let Mt=g.length;if(Mt==j)g.push(le,Qe);else if(1===Mt)g.push(Qe,g[0]),g[0]=le;else{for(Mt--,g.push(g[Mt-1],g[Mt]);Mt>j;)g[Mt]=g[Mt-2],Mt--;g[j]=le,g[j+1]=Qe}}function kr(g,j,le){let Qe=Wr(g,j);return Qe>=0?g[1|Qe]=le:(Qe=~Qe,Rr(g,Qe,j,le)),Qe}function Mr(g,j){const le=Wr(g,j);if(le>=0)return g[1|le]}function Wr(g,j){return function lo(g,j,le){let Qe=0,Mt=g.length>>le;for(;Mt!==Qe;){const cn=Qe+(Mt-Qe>>1),In=g[cn<<le];if(j===In)return cn<<le;In>j?Mt=cn:Qe=cn+1}return~(Mt<<le)}(g,j,1)}const We={},ct=[],St=new ye(""),$t=new ye("",-1),Sn=new ye("");class ar{get(j,le=tr){if(le===tr){const Mt=gr("",-201);throw Mt.name="\u0275NotFound",Mt}return le}}function mr(g){return{\u0275providers:g}}function po(...g){return{\u0275providers:Oo(0,g),\u0275fromNgModule:!0}}function Oo(g,...j){const le=[],Qe=new Set;let Mt;const cn=In=>{le.push(In)};return $r(j,In=>{const Co=In;Jr(Co,cn,[],Qe)&&(Mt||=[],Mt.push(Co))}),void 0!==Mt&&zo(Mt,cn),le}function zo(g,j){for(let le=0;le<g.length;le++){const{ngModule:Qe,providers:Mt}=g[le];Zr(Mt,cn=>{j(cn,Qe)})}}function Jr(g,j,le,Qe){if(!(g=At(g)))return!1;let Mt=null,cn=ne(g);const In=!cn&&Ye(g);if(cn||In){if(In&&!In.standalone)return!1;Mt=g}
1else{const Yr=g.ngModule;if(cn=ne(Yr),!cn)return!1;Mt=Yr}const Co=Qe.has(Mt);if(In){if(Co)return!1;if(Qe.add(Mt),In.dependencies){const Yr="function"==typeof In.dependencies?In.dependencies():In.dependencies;for(const Qr of Yr)Jr(Qr,j,le,Qe)}}else{if(!cn)return!1;{if(null!=cn.imports&&!Co){let Qr;Qe.add(Mt),$r(cn.imports,ys=>{Jr(ys,j,le,Qe)&&(Qr||=[],Qr.push(ys))}),void 0!==Qr&&zo(Qr,j)}if(!Co){const Qr=cr(Mt)||(()=>new Mt);j({provide:Mt,useFactory:Qr,deps:ct},Mt),j({provide:Sn,useValue:Mt,multi:!0},Mt),j({provide:St,useValue:()=>Se(Mt),multi:!0},Mt)}const Yr=cn.providers;if(null!=Yr&&!Co){const Qr=g;Zr(Yr,ys=>{j(ys,Qr)})}}}return Mt!==g&&void 0!==g.providers}function Zr(g,j){for(let le of g)jr(le)&&(le=le.\u0275providers),Array.isArray(le)?Zr(le,j):j(le)}const x=be({provide:String,useValue:be});function Ee(g){return null!==g&&"object"==typeof g&&x in g}function et(g){return"function"==typeof g}function Bt(g){return!!g.useClass}const Jt=new ye(""),mn={},dr={};let fr;function nr(){return void 0===fr&&(fr=new ar),fr}class zn{}class br extends zn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(j,le,Qe,Mt){super(),this.parent=le,this.source=Qe,this.scopes=Mt,_o(j,In=>this.processProvider(In)),this.records.set($t,io(void 0,this)),Mt.has("environment")&&this.records.set(zn,io(void 0,this));const cn=this.records.get(Jt);null!=cn&&"string"==typeof cn.value&&this.scopes.add(cn.value),this.injectorDefTypes=new Set(this.get(Sn,ct,{self:!0}))}retrieve(j,le){const Qe=xt(le)||0;try{return this.get(j,tr,Qe)}catch(Mt){if((0,S.c4)(Mt))return Mt;throw Mt}}destroy(){Ho(this),this._destroyed=!0;const j=(0,I.Ht)(null);try{for(const Qe of this._ngOnDestroyHooks)Qe.ngOnDestroy();const le=this._onDestroyHooks;this._onDestroyHooks=[];for(const Qe of le)Qe()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,I.Ht)(j)}}onDestroy(j){return Ho(this),this._onDestroyHooks.push(j),()=>this.removeOnDestroy(j)}runInContext(j){Ho(this);const le=(0,S.mu)(this),Qe=Rt(void 0);try{return j()}finally{(0,S.mu)(le),Rt(Qe)}}get(j,le=tr,Qe){if(Ho(this),j.hasOwnProperty(Hr))return j[Hr](this);const Mt=xt(Qe),In=(0,S.mu)(this),Co=Rt(void 0);try{if(!(4&Mt)){let Qr=this.records.get(j);if(void 0===Qr){const ys=function mo(g){return"function"==typeof g||"object"==typeof g&&"InjectionToken"===g.ngMetadataName}(j)&&Dn(j);Qr=ys&&this.injectableDefInScope(ys)?io(pr(j),mn):null,this.records.set(j,Qr)}if(null!=Qr)return this.hydrate(j,Qr,Mt)}return(2&Mt?nr():this.parent).get(j,le=8&Mt&&le===tr?null:le)}catch(Yr){const Qr=function Cr(g){return g[Mo]}(Yr);throw-200===Qr||-201===Qr?new G(Qr,null):Yr}finally{Rt(Co),(0,S.mu)(In)}}resolveInjectorInitializers(){const j=(0,I.Ht)(null),le=(0,S.mu)(this),Qe=Rt(void 0);try{const cn=this.get(St,ct,{self:!0});for(const In of cn)In()}finally{(0,S.mu)(le),Rt(Qe),(0,I.Ht)(j)}}toString(){return"R3Injector[...]"}processProvider(j){let le=et(j=At(j))?j:At(j&&j.provide);const Qe=function ri(g){return Ee(g)?io(void 0,g.useValue):io(Fo(g),mn)}(j);if(!et(j)&&!0===j.multi){let Mt=this.records.get(le);Mt||(Mt=io(void 0,mn,!0),Mt.factory=()=>sn(Mt.multi),this.records.set(le,Mt)),le=j,Mt.multi.push(j)}this.records.set(le,Qe)}hydrate(j,le,Qe){const Mt=(0,I.Ht)(null);try{if(le.value===dr)throw Ze();return le.value===mn&&(le.value=dr,le.value=le.factory(void 0,Qe)),"object"==typeof le.value&&le.value&&function Go(g){return null!==g&&"object"==typeof g&&"function"==typeof g.ngOnDestroy}(le.value)&&this._ngOnDestroyHooks.add(le.value),le.value}finally{(0,I.Ht)(Mt)}}injectableDefInScope(j){if(!j.providedIn)return!1;const le=At(j.providedIn);return"string"==typeof le?"any"===le||this.scopes.has(le):this.injectorDefTypes.has(le)}removeOnDestroy(j){const le=this._onDestroyHooks.indexOf(j);-1!==le&&this._onDestroyHooks.splice(le,1)}}function pr(g){const j=Dn(g),le=null!==j?j.factory:cr(g);if(null!==le)return le;if(g instanceof ye)throw new G(-204,!1);if(g instanceof Function)return function oo(g){if(g.length>0)throw new G(-204,!1);const le=function mt(g){return(g?.[A]??null)||null}(g);return null!==le?()=>le.factory(g):()=>new g}(g);throw new G(-204,!1)}function Fo(g,j,le){let Qe;if(et(g)){const Mt=At(g);return cr(Mt)||pr(Mt)}if(Ee(g))Qe=()=>At(g.useValue);else if(function he(g){return!(!g||!g.useFactory)}(g))Qe=()=>g.useFactory(...sn(g.deps||[]));else if(function q(g){return!(!g||!g.useExisting)}(g))Qe=(Mt,cn)=>Se(At(g.useExisting),void 0!==cn&&8&cn?8:void 0);else{const Mt=At(g&&(g.useClass||g.provide));if(!function oi(g){return!!g.deps}(g))return cr(Mt)||pr(Mt);Qe=()=>new Mt(...sn(g.deps))}return Qe}function Ho(g){if(g.destroyed)throw new G(-205,!1)}function io(g,j,le=!1){return{factory:g,value:j,multi:le?[]:void 0}}function _o(g,j){for(const le of g)Array.isArray(le)?_o(le,j):le&&jr(le)?_o(le.\u0275providers,j):j(le)}function So(g,j){let le;g instanceof br?(Ho(g),le=g):le=new pe(g);const Mt=(0,S.mu)(le),cn=Rt(void 0);try{return j()}finally{(0,S.mu)(Mt),Rt(cn)}}function Qi(){return void 0!==it()||null!=(0,S.Af)()}function ds(g){if(!Qi())throw new G(-203,!1)}const Mi=0,$o=1,Pr=2,_i=3,Fi=4,ii=5,Ui=6,vi=7,Ti=8,Yo=9,es=10,Bi=11,si=12,Uo=13,Si=14,ai=15,Qo=16,Gr=17,Xi=18,Es=19,Ri=20,Fr=21,ji=22,vo=23,ee=24,oe=25,_e=26,ot=27,bt=6,Kt=7,zt=8,Yt=9,hn=10;function rn(g){return Array.isArray(g)&&"object"==typeof g[1]}function ir(g){return Array.isArray(g)&&!0===g[1]}function Wn(g){return!!(4&g.flags)}
1function En(g){return g.componentOffset>-1}function lr(g){return!(1&~g.flags)}function Hn(g){return!!g.template}function O(g){return!!(512&g[Pr])}function te(g){return!(256&~g[Pr])}function Ne(g,j){Cn(g,j[$o])}function an(g,j){const le=j+ot;ht(g,le),nt(le,g[$o].bindingStartIndex,"TNodes should be created before any bindings")}function Cn(g,j){_r(g);const le=j.data;for(let Qe=ot;Qe<le.length;Qe++)if(le[Qe]===g)return;Fe("This TNode does not belong to this TView.")}function _r(g){Re(g,"TNode must be defined"),g&&"object"==typeof g&&g.hasOwnProperty("directiveStylingLast")||Fe("Not of type TNode, got: "+g)}function vr(g){Re(g,"Expected TIcu to be defined"),"number"!=typeof g.currentCaseLViewIndex&&Fe("Object is not of TIcu type.")}function so(g,j="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){Ye(g)||Fe(j)}function fo(g,j="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){Vr(g)||Fe(j)}function wo(g){Re(g,"currentTNode should exist!"),Re(g.parent,"currentTNode should have a parent")}function to(g){Re(g,"LContainer must be defined"),xe(ir(g),!0,"Expecting LContainer")}function ci(g){Re(g,"LView must be defined"),xe(rn(g),!0,"Expecting LView")}function ui(g,j){xe(g.firstCreatePass,!0,j||"Should only be called in first create pass.")}function Bo(g,j){xe(g.firstUpdatePass,!0,"Should only be called in first update pass.")}function Ro(g){(void 0===g.type||null==g.selectors||void 0===g.inputs)&&Fe("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function li(g,j){Ds(ot,g.bindingStartIndex,j)}function Ii(g,j){Ds(g[1].expandoStartIndex,g.length,j)}function Ds(g,j,le){g<=le&&le<j||Fe(`Index out of range (expecting ${g} <= ${le} < ${j})`)}function ts(g,j){Re(g[ai],"Component views should exist."),Re(g[ai][ii].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function Vi(g,j){Re(g,"Component views should always have a parent view (component's host view)")}function Wi(g,j){Ii(g,j),Ii(g,j+8),Zt(g[j+0],"injectorIndex should point to a bloom filter"),Zt(g[j+1],"injectorIndex should point to a bloom filter"),Zt(g[j+2],"injectorIndex should point to a bloom filter"),Zt(g[j+3],"injectorIndex should point to a bloom filter"),Zt(g[j+4],"injectorIndex should point to a bloom filter"),Zt(g[j+5],"injectorIndex should point to a bloom filter"),Zt(g[j+6],"injectorIndex should point to a bloom filter"),Zt(g[j+7],"injectorIndex should point to a bloom filter"),Zt(g[j+8],"injectorIndex should point to parent injector")}const Ai="svg",di="math";function bi(g){for(;Array.isArray(g);)g=g[Mi];return g}function Hi(g){for(;Array.isArray(g);){if("object"==typeof g[1])return g;g=g[Mi]}return null}function jo(g,j){return bi(j[g])}function fs(g,j){return bi(j[g.index])}function As(g,j){const le=null===g?-1:g.index;return-1!==le?bi(j[le]):null}function ns(g,j){return g.data[j]}function bs(g,j){return g[j]}function Vo(g,j,le,Qe){le>=g.data.length&&(g.data[le]=null,g.blueprint[le]=null),j[le]=Qe}function Cs(g,j){const le=j[g];return rn(le)?le:le[Mi]}function Os(g){return!(4&~g[Pr])}function yi(g){return!(128&~g[Pr])}function hs(g){return ir(g[_i])}function Eo(g,j){return null==j?null:g[j]}function ws(g){g[Gr]=0}function fi(g){1024&g[Pr]||(g[Pr]|=1024,yi(g)&&Jo(g))}function Pi(g,j){for(;g>0;)j=j[Si],g--;return j}function rs(g){return!!(9216&g[Pr]||g[ee]?.dirty)}function Xo(g){g[es].changeDetectionScheduler?.notify(8),64&g[Pr]&&(g[Pr]|=1024),rs(g)&&Jo(g)}function Jo(g){g[es].changeDetectionScheduler?.notify(0);let j=Ei(g);for(;null!==j&&!(8192&j[Pr])&&(j[Pr]|=8192,yi(j));)j=Ei(j)}function $i(g,j){if(te(g))throw new G(911,!1);null===g[Fr]&&(g[Fr]=[]),g[Fr].push(j)}function hi(g,j){if(null===g[Fr])return;const le=g[Fr].indexOf(j);-1!==le&&g[Fr].splice(le,1)}function Ei(g){const j=g[_i];return ir(j)?j[_i]:j}function Ki(g){return g[vi]??=[]}function Ni(g){return g.cleanup??=[]}function os(g,j,le,Qe){const Mt=Ki(j);Mt.push(le),g.firstCreatePass&&Ni(g).push(Qe,Mt.length-1)}const Jn={lFrame:Qn(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ms=function(g){return g[g.Off=0]="Off",g[g.Exhaustive=1]="Exhaustive",g[g.OnlyDirtyViews=2]="OnlyDirtyViews",g}(Ms||{});let ps=0,is=!1;function Rs(){return Jn.lFrame.elementDepthCount}function Ji(){Jn.lFrame.elementDepthCount++}function Ps(){Jn.lFrame.elementDepthCount--}function Ns(){return Jn.bindingsEnabled}function Ls(){return null!==Jn.skipHydrationRootTNode}function pi(g){return Jn.skipHydrationRootTNode===g}function zi(){Jn.bindingsEnabled=!0}function gs(g){Jn.skipHydrationRootTNode=g}function xs(){Jn.bindingsEnabled=!1}function ss(){Jn.skipHydrationRootTNode=null}function Vs(){return Jn.lFrame.lView}function ks(){return Jn.lFrame.tView}function Ks(g){return Jn.lFrame.contextLView=g,g[Ti]}function zs(g){return Jn.lFrame.contextLView=null,g}function Ws(){let g=Fs();for(;null!==g&&64===g.type;)g=g.parent;return g}function Fs(){return Jn.lFrame.currentTNode}function aa(){const g=Jn.lFrame,j=g.currentTNode;return g.isParent?j:j.parent}function Hs(g,j){const le=Jn.lFrame;le.currentTNode=g,le.isParent=j}function Gs(){return Jn.lFrame.isParent}function Li(){Jn.lFrame.isParent=!1}function as(){return Jn.lFrame.contextLView}function ms(){return Fe("Must never be called in production mode"),ps!==Ms.Off}function p(){return Fe("Must never be called in production mode"),ps===Ms.Exhaustive}function M(g){Fe("Must never be called in production mode"),ps=g}function v(){return is}function T(g){const j=is;return is=g,j}function W(){const g=Jn.lFrame;let j=g.bindingRootIndex;return-1===j&&(j=g.bindingRootIndex=g.tView.bindingStartIndex),j}function ge(){return Jn.lFrame.bindingIndex}function je(g){return Jn.lFrame.bindingIndex=g}function Ie(){return Jn.lFrame.bindingIndex++}function Lt(g){const j=Jn.lFrame,le=j.bindingIndex;return j.bindingIndex=j.bindingIndex+g,le}function Vt(){return Jn.lFrame.inI18n}function Pn(g){Jn.lFrame.inI18n=g}function sr(g,j){const le=Jn.lFrame;le.bindingIndex=le.bindingRootIndex=g,F(j)}function Y(){return Jn.lFrame.currentDirectiveIndex}function F(g){Jn.lFrame.currentDirectiveIndex=g}function Q(g){const j=Jn.lFrame.currentDirectiveIndex;return-1===j?null:g[j]}function Ae(){return Jn.lFrame.currentQueryIndex}function lt(g){Jn.lFrame.currentQueryIndex=g}function Ot(g){const j=g[$o];return 2===j.type?j.declTNode:1===j.type?g[ii]:null}function Qt(g,j,le){if(4&le){let Mt=j,cn=g;
1for(;!(Mt=Mt.parent,null!==Mt||1&le||(Mt=Ot(cn),null===Mt||(cn=cn[Si],10&Mt.type))););if(null===Mt)return!1;j=Mt,g=cn}const Qe=Jn.lFrame=Fn();return Qe.currentTNode=j,Qe.lView=g,!0}function pn(g){const j=Fn(),le=g[$o];Jn.lFrame=j,j.currentTNode=le.firstChild,j.lView=g,j.tView=le,j.contextLView=g,j.bindingIndex=le.bindingStartIndex,j.inI18n=!1}function Fn(){const g=Jn.lFrame,j=null===g?null:g.child;return null===j?Qn(g):j}function Qn(g){const j={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:g,child:null,inI18n:!1};return null!==g&&(g.child=j),j}function Nr(){const g=Jn.lFrame;return Jn.lFrame=g.parent,g.currentTNode=null,g.lView=null,g}const Zn=Nr;function Io(){const g=Nr();g.isParent=!0,g.tView=null,g.selectedIndex=-1,g.contextLView=null,g.elementDepthCount=0,g.currentDirectiveIndex=-1,g.currentNamespace=null,g.bindingRootIndex=-1,g.bindingIndex=-1,g.currentQueryIndex=0}function Ao(g){return(Jn.lFrame.contextLView=Pi(g,Jn.lFrame.contextLView))[Ti]}function ko(){return Jn.lFrame.selectedIndex}function Oi(g){Jn.lFrame.selectedIndex=g}function Zi(){const g=Jn.lFrame;return ns(g.tView,g.selectedIndex)}function Gi(){Jn.lFrame.currentNamespace=Ai}function b(){Jn.lFrame.currentNamespace=di}function d(){!function l(){Jn.lFrame.currentNamespace=null}()}function y(){return Jn.lFrame.currentNamespace}let U=!0;function ce(){return U}function Te(g){U=g}function He(g,j=null,le=null,Qe){const Mt=gt(g,j,le);return Mt.resolveInjectorInitializers(),Mt}function gt(g,j=null,le=null,Qe,Mt=new Set){const cn=[le||ct,po(g)];return new br(cn,j||nr(),null,Mt)}class It{static THROW_IF_NOT_FOUND=tr;static NULL=new ar;static create(j,le){if(Array.isArray(j))return He({name:""},le,j);{const Qe=j.name??"";return He({name:Qe},j.parent,j.providers)}}static \u0275prov=Ut({token:It,providedIn:"any",factory:()=>Se($t)});static __NG_ELEMENT_ID__=-1}const dn=new ye("");let _n=(()=>class g{static __NG_ELEMENT_ID__=hr;static __NG_ENV_ID__=le=>le})();class Ar extends _n{_lView;constructor(j){super(),this._lView=j}get destroyed(){return te(this._lView)}onDestroy(j){const le=this._lView;return $i(le,j),()=>hi(le,j)}}function hr(){return new Ar(Vs())}const $n=!1,rr=new ye("");let ao=(()=>{class g{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new J.t(!1);debugTaskTracker=ke(rr,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new D.c(le=>{le.next(!1),le.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const le=this.taskId++;return this.pendingTasks.add(le),this.debugTaskTracker?.add(le),le}has(le){return this.pendingTasks.has(le)}remove(le){this.pendingTasks.delete(le),this.debugTaskTracker?.remove(le),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=Ut({token:g,providedIn:"root",factory:()=>new g})}return g})();const qr=class Do extends _.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(j=!1){super(),this.__isAsync=j,Qi()&&(this.destroyRef=ke(_n,{optional:!0})??void 0,this.pendingTasks=ke(ao,{optional:!0})??void 0)}emit(j){const le=(0,I.Ht)(null);try{super.next(j)}finally{(0,I.Ht)(le)}}subscribe(j,le,Qe){let Mt=j,cn=le||(()=>null),In=Qe;if(j&&"object"==typeof j){const Yr=j;Mt=Yr.next?.bind(Yr),cn=Yr.error?.bind(Yr),In=Yr.complete?.bind(Yr)}this.__isAsync&&(cn=this.wrapInTimeout(cn),Mt&&(Mt=this.wrapInTimeout(Mt)),In&&(In=this.wrapInTimeout(In)));const Co=super.subscribe({next:Mt,error:cn,complete:In});return j instanceof B.yU&&j.add(Co),Co}wrapInTimeout(j){return le=>{const Qe=this.pendingTasks?.add();setTimeout(()=>{try{j(le)}finally{void 0!==Qe&&this.pendingTasks?.remove(Qe)}})}}};function Zo(...g){}function qo(g){let j,le;function Qe(){g=Zo;try{void 0!==le&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(le),void 0!==j&&clearTimeout(j)}catch{}}return j=setTimeout(()=>{g(),Qe()}),"function"==typeof requestAnimationFrame&&(le=requestAnimationFrame(()=>{g(),Qe()})),()=>Qe()}function Ys(g){return queueMicrotask(()=>g()),()=>{g=Zo}}const gi="isAngularZone",Wo=gi+"_ID";let _s=0;class vs{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qr(!1);onMicrotaskEmpty=new qr(!1);onStable=new qr(!1);
1onError=new qr(!1);constructor(j){const{enableLongStackTrace:le=!1,shouldCoalesceEventChangeDetection:Qe=!1,shouldCoalesceRunChangeDetection:Mt=!1,scheduleInRootZone:cn=$n}=j;if(typeof Zone>"u")throw new G(908,!1);Zone.assertZonePatched();const In=this;In._nesting=0,In._outer=In._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(In._inner=In._inner.fork(new Zone.TaskTrackingZoneSpec)),le&&Zone.longStackTraceZoneSpec&&(In._inner=In._inner.fork(Zone.longStackTraceZoneSpec)),In.shouldCoalesceEventChangeDetection=!Mt&&Qe,In.shouldCoalesceRunChangeDetection=Mt,In.callbackScheduled=!1,In.scheduleInRootZone=cn,function Da(g){const j=()=>{!function ca(g){function j(){qo(()=>{g.callbackScheduled=!1,ta(g),g.isCheckStableRunning=!0,Ss(g),g.isCheckStableRunning=!1})}g.isCheckStableRunning||g.callbackScheduled||(g.callbackScheduled=!0,g.scheduleInRootZone?Zone.root.run(()=>{j()}):g._outer.run(()=>{j()}),ta(g))}(g)},le=_s++;g._inner=g._inner.fork({name:"angular",properties:{[gi]:!0,[Wo]:le,[Wo+le]:!0},onInvokeTask:(Qe,Mt,cn,In,Co,Yr)=>{if(function Ur(g){return xi(g,"__ignore_ng_zone__")}(Yr))return Qe.invokeTask(cn,In,Co,Yr);try{return bn(g),Qe.invokeTask(cn,In,Co,Yr)}finally{(g.shouldCoalesceEventChangeDetection&&"eventTask"===In.type||g.shouldCoalesceRunChangeDetection)&&j(),Yn(g)}},onInvoke:(Qe,Mt,cn,In,Co,Yr,Qr)=>{try{return bn(g),Qe.invoke(cn,In,Co,Yr,Qr)}finally{g.shouldCoalesceRunChangeDetection&&!g.callbackScheduled&&!function mi(g){return xi(g,"__scheduler_tick__")}(Yr)&&j(),Yn(g)}},onHasTask:(Qe,Mt,cn,In)=>{Qe.hasTask(cn,In),Mt===cn&&("microTask"==In.change?(g._hasPendingMicrotasks=In.microTask,ta(g),Ss(g)):"macroTask"==In.change&&(g.hasPendingMacrotasks=In.macroTask))},onHandleError:(Qe,Mt,cn,In)=>(Qe.handleError(cn,In),g.runOutsideAngular(()=>g.onError.emit(In)),!1)})}(In)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(gi)}static assertInAngularZone(){if(!vs.isInAngularZone())throw new G(909,!1)}static assertNotInAngularZone(){if(vs.isInAngularZone())throw new G(909,!1)}run(j,le,Qe){return this._inner.run(j,le,Qe)}runTask(j,le,Qe,Mt){const cn=this._inner,In=cn.scheduleEventTask("NgZoneEvent: "+Mt,j,Ea,Zo,Zo);try{return cn.runTask(In,le,Qe)}finally{cn.cancelTask(In)}}runGuarded(j,le,Qe){return this._inner.runGuarded(j,le,Qe)}runOutsideAngular(j){return this._outer.run(j)}}const Ea={};function Ss(g){if(0==g._nesting&&!g.hasPendingMicrotasks&&!g.isStable)try{g._nesting++,g.onMicrotaskEmpty.emit(null)}finally{if(g._nesting--,!g.hasPendingMicrotasks)try{g.runOutsideAngular(()=>g.onStable.emit(null))}finally{g.isStable=!0}}}function ta(g){g.hasPendingMicrotasks=!!(g._hasPendingMicrotasks||(g.shouldCoalesceEventChangeDetection||g.shouldCoalesceRunChangeDetection)&&!0===g.callbackScheduled)}function bn(g){g._nesting++,g.isStable&&(g.isStable=!1,g.onUnstable.emit(null))}function Yn(g){g._nesting--,Ss(g)}class qn{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qr;onMicrotaskEmpty=new qr;onStable=new qr;onError=new qr;run(j,le,Qe){return j.apply(le,Qe)}runGuarded(j,le,Qe){return j.apply(le,Qe)}runOutsideAngular(j){return j()}runTask(j,le,Qe,Mt){return j.apply(le,Qe)}}function xi(g,j){return!(!Array.isArray(g)||1!==g.length)&&!0===g[0]?.data?.[j]}class ei{_console=console;handleError(j){this._console.error("ERROR",j)}}const ki=new ye("",{factory:()=>{const g=ke(vs),j=ke(zn);let le;return Qe=>{g.runOutsideAngular(()=>{j.destroyed&&!le?setTimeout(()=>{throw Qe}):(le??=j.get(ei),le.handleError(Qe))})}}}),Br={provide:St,useValue:()=>{ke(ei,{optional:!0})},multi:!0};function Qs(g,j){const[le,Qe,Mt]=(0,I.n5)(g,j?.equal),cn=le;return cn.set=Qe,cn.update=Mt,cn.asReadonly=qi.bind(cn),cn}function qi(){const g=this[I.bh];if(void 0===g.readonlyFn){const j=()=>this();j[I.bh]=g,g.readonlyFn=j}return g.readonlyFn}function Xs(g,j){if(null!==(0,I.nR)())throw new G(-602,!1)}let oa=(()=>class g{view;node;constructor(le,Qe){this.view=le,this.node=Qe}static __NG_ELEMENT_ID__=Yc})();function Yc(){return new oa(Vs(),Ws())}class Ma{}const cc=new ye("",{factory:()=>!0}),Qu=new ye("",{factory:()=>!1}),Qc=new ye("");let Ta=(()=>{class g{internalPendingTasks=ke(ao);
1scheduler=ke(Ma);errorHandler=ke(ki);add(){const le=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(le)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(le))}}run(le){const Qe=this.add();le().catch(this.errorHandler).finally(Qe)}static \u0275prov=Ut({token:g,providedIn:"root",factory:()=>new g})}return g})(),ua=(()=>{class g{static \u0275prov=Ut({token:g,providedIn:"root",factory:()=>new uc})}return g})();class uc{dirtyEffectCount=0;queues=new Map;add(j){this.enqueue(j),this.schedule(j)}schedule(j){j.dirty&&this.dirtyEffectCount++}remove(j){const Qe=this.queues.get(j.zone);Qe.has(j)&&(Qe.delete(j),j.dirty&&this.dirtyEffectCount--)}enqueue(j){const le=j.zone;this.queues.has(le)||this.queues.set(le,new Set);const Qe=this.queues.get(le);Qe.has(j)||Qe.add(j)}flush(){for(;this.dirtyEffectCount>0;){let j=!1;for(const[le,Qe]of this.queues)j||=null===le?this.flushQueue(Qe):le.run(()=>this.flushQueue(Qe));j||(this.dirtyEffectCount=0)}}flushQueue(j){let le=!1;for(const Qe of j)Qe.dirty&&(this.dirtyEffectCount--,le=!0,Qe.run());return le}}class Sa{[I.bh];constructor(j){this[I.bh]=j}destroy(){this[I.bh].destroy()}}function lc(g,j){const le=j?.injector??ke(It);let Mt,Qe=!0!==j?.manualCleanup?le.get(_n):null;const cn=le.get(oa,null,{optional:!0}),In=le.get(Ma);return null!==cn?(Mt=function Xc(g,j,le){const Qe=Object.create(ia);return Qe.view=g,Qe.zone=typeof Zone<"u"?Zone.current:null,Qe.notifier=j,Qe.fn=fa(Qe,le),g[vo]??=new Set,g[vo].add(Qe),Qe.consumerMarkedDirty(Qe),Qe}(cn.view,In,g),Qe instanceof Ar&&Qe._lView===cn.view&&(Qe=null)):Mt=function da(g,j,le){const Qe=Object.create(dc);return Qe.fn=fa(Qe,g),Qe.scheduler=j,Qe.notifier=le,Qe.zone=typeof Zone<"u"?Zone.current:null,Qe.scheduler.add(Qe),Qe.notifier.notify(12),Qe}(g,le.get(ua),In),Mt.injector=le,null!==Qe&&(Mt.onDestroyFns=[Qe.onDestroy(()=>Mt.destroy())]),new Sa(Mt)}const la={...I.vX,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const g=T(!1);try{(0,I.lh)(this)}finally{T(g)}},cleanup(){if(!this.cleanupFns?.length)return;const g=(0,I.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,I.Ht)(g)}}},dc={...la,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if((0,I.XR)(this),null!==this.onDestroyFns)for(const g of this.onDestroyFns)g();this.cleanup(),this.scheduler.remove(this)}},ia={...la,consumerMarkedDirty(){this.view[Pr]|=8192,Jo(this.view),this.notifier.notify(13)},destroy(){if((0,I.XR)(this),null!==this.onDestroyFns)for(const g of this.onDestroyFns)g();this.cleanup(),this.view[vo]?.delete(this)}};function fa(g,j){return()=>{j(le=>(g.cleanupFns??=[]).push(le))}}},91679(wt,Ce,a){"use strict";let I;function D(){return I}function _(R){const H=I;return I=R,H}a.d(Ce,{Af:()=>D,c4:()=>k,mu:()=>_});const B=Symbol("NotFound");function k(R){return R===B||"\u0275NotFound"===R?.name}Error},76307(wt,Ce,a){"use strict";a.d(Ce,{EW:()=>re,O8:()=>G,Zf:()=>ae,uu:()=>we,vG:()=>K,wl:()=>jt});var S=a(10467),k=a(60414),R=a(15824),H=a(47868);class ae{destroyed=!1;listeners=null;errorHandler=(0,k.WQX)(k.zcH,{optional:!0});destroyRef=(0,k.WQX)(k.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(xe){if(this.destroyed)throw new k.buA(953,!1);return(this.listeners??=[]).push(xe),{unsubscribe:()=>{const Je=this.listeners?.indexOf(xe);void 0!==Je&&-1!==Je&&this.listeners?.splice(Je,1)}}}emit(xe){if(this.destroyed)return void console.warn((0,k.OsK)(953,!1));if(null===this.listeners)return;const Je=(0,R.Ht)(null);try{for(const st of this.listeners)try{st(xe)}catch(tt){this.errorHandler?.handleError(tt)}}finally{(0,R.Ht)(Je)}}}function G(Pe){return(0,H.O8)(Pe)}function re(Pe,xe){return(0,R.KZ)(Pe,xe?.equal)}const $=Pe=>Pe;function we(Pe,xe){return me("function"==typeof Pe?(0,H.Ej)(Pe,$,xe?.equal):(0,H.Ej)(Pe.source,Pe.computation,Pe.equal))}function me(Pe,xe){const Je=Pe[R.bh],st=Pe;return st.set=tt=>(0,H.q)(Je,tt),st.update=tt=>(0,H.pG)(Je,tt),st.asReadonly=k.HO5.bind(Pe),st}class be{value;isLoading;constructor(xe,Je){this.value=xe,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=k.HO5,this.isLoading=re(()=>"loading"===this.status()||"reloading"===this.status(),void 0)}isError=re(()=>"error"===this.status());update(xe){this.set(xe(G(this.value)))}isValueDefined=re(()=>!this.isError()&&void 0!==this.value());_snapshot;get snapshot(){return this._snapshot??=re(()=>{const xe=this.status();return"error"===xe?{status:"error",error:this.error()}:{status:xe,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}}class K extends be{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(xe,Je,st,tt,nt,$e,Me){super(re(()=>{const X=this.state().stream?.();if(!X||"loading"===this.state().status&&this.error())return st;if(!ft(X))throw new vt(this.error());return X.value},{equal:tt}),nt),this.loaderFn=Je,this.equal=tt,this.debugName=nt,this.extRequest=we({source:xe,computation:X=>({request:X,reload:0})}),this.state=we({source:this.extRequest,computation:(X,De)=>{if(De)return{extRequest:X,status:void 0===X.request?"idle":"loading",previousStatus:Ke(De.value),stream:De.value.extRequest.request===X.request?De.value.stream
1:void 0};{const Re=Me?.(X.request);return Me=void 0,{extRequest:X,status:void 0===X.request?"idle":Re?"resolved":"loading",previousStatus:"idle",stream:Re}}}}),this.effectRef=(0,k.QZP)(this.loadEffect.bind(this),{injector:$e,manualCleanup:!0}),this.pendingTasks=$e.get(k.u5s),this.unregisterOnDestroy=$e.get(k.abz).onDestroy(()=>this.destroy()),this.status=re(()=>Ke(this.state()),void 0),this.error=re(()=>{const X=this.state().stream?.();return X&&!ft(X)?X.error:void 0},void 0)}set(xe){if(this.destroyed)return;const Je=G(this.error),st=G(this.state);if(!Je){const tt=G(this.value);if("local"===st.status&&(this.equal?this.equal(tt,xe):tt===xe))return}this.state.set({extRequest:st.extRequest,status:"local",previousStatus:"local",stream:(0,k.vPA)({value:xe},void 0)}),this.abortInProgressLoad()}reload(){const{status:xe}=G(this.state);return"idle"!==xe&&"loading"!==xe&&(this.extRequest.update(({request:Je,reload:st})=>({request:Je,reload:st+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){var xe=this;return(0,S.A)(function*(){const Je=xe.extRequest(),{status:st,previousStatus:tt}=G(xe.state);if(void 0===Je.request)return;if("loading"!==st)return;xe.abortInProgressLoad();let nt=xe.resolvePendingTask=xe.pendingTasks.add();const{signal:$e}=xe.pendingController=new AbortController;try{const Me=yield G(()=>xe.loaderFn({params:Je.request,abortSignal:$e,previous:{status:tt}}));if($e.aborted||G(xe.extRequest)!==Je)return;xe.state.set({extRequest:Je,status:"resolved",previousStatus:"resolved",stream:Me})}catch(Me){if($e.aborted||G(xe.extRequest)!==Je)return;xe.state.set({extRequest:Je,status:"resolved",previousStatus:"error",stream:(0,k.vPA)({error:jt(Me)},void 0)})}finally{nt?.(),nt=void 0}})()}abortInProgressLoad(){G(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function Ke(Pe){switch(Pe.status){case"loading":return 0===Pe.extRequest.reload?"loading":"reloading";case"resolved":return ft(Pe.stream())?"resolved":"error";default:return Pe.status}}function ft(Pe){return void 0===Pe.error}function jt(Pe){return function Zt(Pe){return Pe instanceof Error||"object"==typeof Pe&&"string"==typeof Pe.name&&"string"==typeof Pe.message}(Pe)?Pe:new pt(Pe)}class vt extends Error{constructor(xe){super(xe.message,{cause:xe})}}class pt extends Error{constructor(xe){super(String(xe),{cause:xe})}}},47868(wt,Ce,a){"use strict";a.d(Ce,{Ej:()=>D,O8:()=>S,pG:()=>J,q:()=>_});var I=a(15824);function D(k,R,H){const ae=Object.create(B);ae.source=k,ae.computation=R,null!=H&&(ae.equal=H);const G=()=>{if((0,I.JC)(ae),(0,I.mK)(ae),ae.value===I.EF)throw ae.error;return ae.value};return G[I.bh]=ae,(0,I.a7)(ae),G}function _(k,R){(0,I.JC)(k),(0,I.j2)(k,R),(0,I.TO)(k)}function J(k,R){if((0,I.JC)(k),k.value===I.EF)throw k.error;(0,I.mC)(k,R),(0,I.TO)(k)}const B={...I.pL,value:I.Ag,dirty:!0,error:null,equal:I.H8,kind:"linkedSignal",producerMustRecompute:k=>k.value===I.Ag||k.value===I.Ny,producerRecomputeValue(k){if(k.value===I.Ny)throw new Error("");const R=k.value;k.value=I.Ny;const H=(0,I.Bg)(k);let ae,V=!1;try{const G=k.source(),re=R!==I.Ag&&R!==I.EF;ae=k.computation(G,re?{source:k.sourceValue,value:R}:void 0),k.sourceValue=G,(0,I.Ht)(null),V=re&&ae!==I.EF&&k.equal(R,ae)}catch(G){ae=I.EF,k.error=G}finally{(0,I.Wu)(k,H)}V?k.value=R:(k.value=ae,k.version++)}};function S(k){const R=(0,I.Ht)(null);try{return k()}finally{(0,I.Ht)(R)}}},17705(wt,Ce,a){"use strict";a.d(Ce,{C1y:()=>lr,CGW:()=>Mr,D6M:()=>C,ES_:()=>ur,HJs:()=>Ie,Hbi:()=>ns,Jn2:()=>zn,L39:()=>ps,M8M:()=>Wn,MKu:()=>di,SmG:()=>ai,Udg:()=>is,_q3:()=>Vi,a0P:()=>je,ebz:()=>$t,fpN:()=>As,gRc:()=>Cn,geq:()=>Zr,hFB:()=>We,naY:()=>Si,oH4:()=>Fi,sbv:()=>zr,tEk:()=>po});var Le=a(35547),ke=a(60414),xt=a(76307),Ct=a(18359),sn=a(15824),An=a(44156);const Gn=Symbol("InputSignalNode#UNSET"),cr={...sn.s0,transformFn:void 0,applyValueToInputSignal(Y,F){(0,sn.j2)(Y,F)}};function or(Y,F){const Q=Object.create(cr);function Ae(){if((0,sn.mK)(Q),Q.value===Gn)throw new ke.buA(-950,null);return Q.value}
1return Q.value=Y,Q.transformFn=F?.transform,Ae[sn.bh]=Q,Ae}class ur{attributeName;constructor(F){this.attributeName=F}__NG_ELEMENT_ID__=()=>(0,Le.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function Mr(Y){return new xt.Zf}function Wr(Y,F){return or(Y,F)}const We=(Wr.required=function lo(Y){return or(Gn,Y)},Wr);function ct(Y,F){return(0,Le.mU9)(F)}const $t=(ct.required=function St(Y,F){return(0,Le.hnC)(F)},ct);function ar(Y,F){return(0,Le.mU9)(F)}const zr=(ar.required=function mr(Y,F){return(0,Le.hnC)(F)},ar);function po(Y,F){return(0,Le.FuF)(F)}function Oo(Y,F){const Q=Object.create(cr),Ae=new xt.Zf;function lt(){return(0,sn.mK)(Q),zo(Q.value),Q.value}return Q.value=Y,lt[sn.bh]=Q,lt.asReadonly=ke.HO5.bind(lt),lt.set=Ot=>{Q.equal(Q.value,Ot)||((0,sn.j2)(Q,Ot),Ae.emit(Ot))},lt.update=Ot=>{zo(Q.value),lt.set(Ot(Q.value))},lt.subscribe=Ae.subscribe.bind(Ae),lt.destroyRef=Ae.destroyRef,lt}function zo(Y){if(Y===Gn)throw new ke.buA(952,!1)}function Jr(Y,F){return Oo(Y)}const Zr=(Jr.required=function To(Y){return Oo(Gn)},Jr);let dr=(()=>{class Y{zone=(0,ke.WQX)(ke.SKi);changeDetectionScheduler=(0,ke.WQX)(ke.hk6);applicationRef=(0,ke.WQX)(Le.o8S);applicationErrorHandler=(0,ke.WQX)(ke.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(Q){this.applicationErrorHandler(Q)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(Ae){return new(Ae||Y)};static \u0275prov=(0,ke.jDH)({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();const fr=new ke.nKC("",{factory:()=>!1});function zn(Y){const F=Y?.scheduleInRootZone,Q=function nr({ngZoneFactory:Y,scheduleInRootZone:F}){return Y??=()=>new ke.SKi({...br(),scheduleInRootZone:F}),[{provide:ke.Evm,useValue:!1},{provide:ke.SKi,useFactory:Y},{provide:ke.Z63,multi:!0,useFactory:()=>{const Q=(0,ke.WQX)(dr,{optional:!0});return()=>Q.initialize()}},{provide:ke.Z63,multi:!0,useFactory:()=>{const Q=(0,ke.WQX)(pr);return()=>{Q.initialize()}}},{provide:ke.AQb,useValue:F??ke.kHH}]}({ngZoneFactory:()=>{const Ae=br(Y);return Ae.scheduleInRootZone=F,Ae.shouldCoalesceEventChangeDetection&&(0,Le._jY)("NgZone_CoalesceEvent"),new ke.SKi(Ae)},scheduleInRootZone:F});return(0,ke.EmA)([{provide:fr,useValue:!0},Q])}function br(Y){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:Y?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:Y?.runCoalescing??!1}}let pr=(()=>{class Y{subscription=new Ct.yU;initialized=!1;zone=(0,ke.WQX)(ke.SKi);pendingTasks=(0,ke.WQX)(ke.rev);initialize(){if(this.initialized)return;this.initialized=!0;let Q=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(Q=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ke.SKi.assertNotInAngularZone(),queueMicrotask(()=>{null!==Q&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(Q),Q=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ke.SKi.assertInAngularZone(),Q??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(Ae){return new(Ae||Y)};static \u0275prov=(0,ke.jDH)({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();const oi=new ke.nKC(""),Go=new ke.nKC("");function mo(Y){return!Y.moduleRef}let So;function Qi(){So=ds}function ds(Y,F){const Q=Y.injector.get(Le.o8S);if(Y._bootstrapComponents.length>0)Y._bootstrapComponents.forEach(Ae=>Q.bootstrap(Ae));else{if(!Y.instance.ngDoBootstrap)throw new ke.buA(-403,!1);Y.instance.ngDoBootstrap(Q)}F.push(Y)}let $o=(()=>{class Y{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(Q){this._injector=Q}bootstrapModuleFactory(Q,Ae){const lt=[(0,Le.rpG)(),...Ae?.applicationProviders??[],ke.gv8],Ot=(0,Le.VzW)(Q.moduleType,this.injector,lt);return Qi(),function _o(Y){const F=mo(Y)?Y.r3Injector:Y.moduleRef.injector,Q=F.get(ke.SKi);return Q.run(()=>
1{mo(Y)?Y.r3Injector.resolveInjectorInitializers():Y.moduleRef.resolveInjectorInitializers();const Ae=F.get(ke.ZTf);let lt;if(Q.runOutsideAngular(()=>{lt=Q.onError.subscribe({next:Ae})}),mo(Y)){const Ot=()=>F.destroy(),Qt=Y.platformInjector.get(oi);Qt.add(Ot),F.onDestroy(()=>{lt.unsubscribe(),Qt.delete(Ot)})}else{const Ot=()=>Y.moduleRef.destroy(),Qt=Y.platformInjector.get(oi);Qt.add(Ot),Y.moduleRef.onDestroy(()=>{(0,Le.TFI)(Y.allPlatformModules,Y.moduleRef),lt.unsubscribe(),Qt.delete(Ot)})}return function Mi(Y,F,Q){try{const Ae=Q();return(0,Le.yLl)(Ae)?Ae.catch(lt=>{throw F.runOutsideAngular(()=>Y(lt)),lt}):Ae}catch(Ae){throw F.runOutsideAngular(()=>Y(Ae)),Ae}}(Ae,Q,()=>{const Ot=F.get(ke.rev),Qt=Ot.add(),pn=F.get(Le.H1s);return pn.runInitializers(),pn.donePromise.then(()=>{const Fn=F.get(Le.xe9,Le.DkB);if((0,Le.e6s)(Fn||Le.DkB),!F.get(Go,!0))return mo(Y)?F.get(Le.o8S):(Y.allPlatformModules.push(Y.moduleRef),Y.moduleRef);if(mo(Y)){const Nr=F.get(Le.o8S);return void 0!==Y.rootComponent&&Nr.bootstrap(Y.rootComponent),Nr}return So?.(Y.moduleRef,Y.allPlatformModules),Y.moduleRef}).finally(()=>{Ot.remove(Qt)})})})}({moduleRef:Ot,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(Q,Ae=[]){const lt=(0,Le.lJT)({},Ae);return Qi(),function Jt(Y,F,Q){const Ae=new Le.Co$(Q);return Promise.resolve(Ae)}(0,0,Q).then(Ot=>this.bootstrapModuleFactory(Ot,lt))}onDestroy(Q){this._destroyListeners.push(Q)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ke.buA(404,!1);this._modules.slice().forEach(Ae=>Ae.destroy()),this._destroyListeners.forEach(Ae=>Ae());const Q=this._injector.get(oi,null);Q&&(Q.forEach(Ae=>Ae()),Q.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(Ae){return new(Ae||Y)((0,ke.KVO)(ke.zZn))};static \u0275prov=(0,ke.jDH)({token:Y,factory:Y.\u0275fac,providedIn:"platform"})}return Y})(),Pr=null;function Fi(Y,F,Q=[]){const Ae=`Platform: ${F}`,lt=new ke.nKC(Ae);return(Ot=[])=>{let Qt=vi();if(!Qt){const pn=[...Q,...Ot,{provide:lt,useValue:!0}];Qt=Y?.(pn)??function _i(Y){if(vi())throw new ke.buA(400,!1);(0,Le.pl0)(),(0,Le.ypd)(),Pr=Y;const F=Y.get($o);return function Bi(Y){const F=Y.get(Le.PLl,null);(0,ke.N4e)(Y,()=>{F?.forEach(Q=>Q())})}(Y),F}(function ii(Y=[],F){return ke.zZn.create({name:F,providers:[{provide:ke.GBX,useValue:"platform"},{provide:oi,useValue:new Set([()=>Pr=null])},...Y]})}(pn,Ae))}return function Ui(){const F=vi();if(!F)throw new ke.buA(-401,!1);return F}()}}function vi(){return Pr?.get($o)??null}function Si(){return!1}function ai(){}const Qo=new WeakSet;function Xi(Y){return Y.get(Le.Kzh,Le.N1r)}function Es(){const Y=[{provide:Le.Kzh,useFactory:()=>{let F=!0;{const Q=(0,ke.WQX)(Le.sZ2);F=!!window._ejsas?.[Q]}return F&&(0,Le._jY)("NgEventReplay"),F}}];return Y.push({provide:ke.Z63,useValue:()=>{const F=(0,ke.WQX)(Le.o8S),{injector:Q}=F;if(!Qo.has(F)){const Ae=(0,ke.WQX)(Le.mu_);if(Xi(Q)){(0,Le.$KE)();const lt=Q.get(Le.sZ2),Ot=(0,Le.cTO)(lt,(Qt,pn,Fn)=>{Qt.nodeType===Node.ELEMENT_NODE&&((0,Le.JeD)(Qt,pn,Fn),(0,Le.iBR)(Qt,Ae))});F.onDestroy(Ot)}}},multi:!0},{provide:Le.iLQ,useFactory:()=>{const F=(0,ke.WQX)(Le.o8S),{injector:Q}=F;return()=>{if(!Xi(Q)||Qo.has(F))return;Qo.add(F);const Ae=Q.get(Le.sZ2);F.onDestroy(()=>{Qo.delete(F),(0,An.ss)(Ae)}),F.whenStable().then(()=>{if(F.destroyed)return;const lt=Q.get(Le.SVM);Ri(lt,Q);const Ot=Q.get(Le.mu_);Ot.get("")?.forEach(Le.UQZ),Ot.delete("");const Qt=lt.instance;(0,Le.ATY)(Q)?F.onDestroy(()=>Qt.cleanUp()):Qt.cleanUp()})}},multi:!0}),Y}const Ri=(Y,F)=>{const Q=F.get(Le.sZ2),Ae=window._ejsas[Q],lt=Y.instance=new An.J8(new An._G(Ae.c));for(const pn of Ae.et)lt.addEvent(pn);for(const pn of Ae.etc)lt.addEvent(pn);const Ot=(0,An.IQ)(Q);lt.replayEarlyEventInfos(Ot),(0,An.ss)(Q);const Qt=new An.Qe(pn=>{!function ji(Y,F,Q){const Ae=(Q&&Q.getAttribute(Le.n$e))??"";/d\d+/.test(Ae)?function vo(Y,F,Q,Ae){const lt=F.get(Le.$ul);lt.push({event:Q,currentTarget:Ae}),(0,Le.DQ1)(F,Y,function ee(Y){return F=>{const Q=new Set(F),Ae=[];for(let{event:lt,currentTarget:Ot}of Y){const Qt=Ot.getAttribute(Le.n$e);Q.has(Qt)?(0,Le.c0O)(lt,Ot):Ae.push({event:lt,currentTarget:Ot})}Y.length=0,Y.push(...Ae)}}(lt))}(Ae,Y,F,Q):F.eventPhase===An.AM.REPLAY&&(0,Le.c0O)(F,Q)}(F,pn,pn.currentTarget)});(0,An.$$)(lt,Qt)};let oe=!1,ot=!1;function Wn(){const Y=[{provide:Le.qBF,useFactory:()=>{let F=!0;return F=!!(0,ke.WQX)(Le.pJN,{optional:!0})?.get(Le.TMN,null),F&&(0,Le._jY)("NgHydration"),F}},{provide:ke.Z63,useValue:()=>{(0,Le.pDL)(!1);const F=(0,ke.WQX)(ke.qQL);(0,ke.WQX)(Le.qBF)&&((0,Le.bRx)(F),function bt(){oe||(oe=!0,(0,Le.yJU)(),(0,Le.hkx)(),(0,Le.SML)(),(0,Le.Qdn)(),(0,Le.XSi)(),(0,Le.L8h)(),(0,Le.xtN)(),(0,Le.UJm)())}())},multi:!0}];return Y.push({provide:Le.uzI,useFactory:()=>(0,ke.WQX)(Le.qBF)},{provide:Le.iLQ,useFactory:()=>{const F=(0,ke.WQX)(ke.hk6);if((0,ke.WQX)(Le.qBF)){const Q=(0,ke.WQX)(Le.o8S);return()=>
1{(function hn(Y){return Y.whenStable()})(Q).then(()=>{Q.destroyed||((0,Le.LN$)(Q),F.notify(7))})}}return()=>{}},multi:!0}),(0,ke.EmA)(Y)}function lr(){const Y=[Es(),{provide:Le.njN,useValue:!0},{provide:Le.Ryq,useClass:Le.XcC},{provide:ke.Z63,useValue:()=>{(function zt(){ot||(ot=!0,(0,Le.NyN)())})(),(0,Le._jY)("NgIncrementalHydration")},multi:!0}];return Y.push({provide:Le.iLQ,useFactory:()=>{const F=(0,ke.WQX)(ke.zZn),Q=(0,ke.WQX)(ke.qQL);return()=>{const Ae=(0,Le.$qc)(F),lt=(0,Le.ylm)(Q,Q.body);(0,Le.cnB)(F,Ae,lt),(0,Le.d48)(Q,F)}},multi:!0}),Y}class N{openTasks=new Map;add(F){this.openTasks.set(F,new Error("Task stack tracking error"))}remove(F){this.openTasks.delete(F)}}function C(){const Y=new N,{openTasks:F}=Y;return(0,ke.EmA)([{provide:ke.l3R,useValue:Y},(0,Le.phd)(()=>{console.warn("Stability debugging utility was provided in production mode. This will cause debug code to be included in production bundles. If this is intentional because you are debugging stability issues in a production environment, you can ignore this warning.");const Q=(0,ke.WQX)(ke.SKi),Ae=(0,ke.WQX)(Le.o8S);let lt=null;typeof Zone<"u"&&Q.run(()=>{lt=Zone.current.get("TaskTrackingZone")}),Q.runOutsideAngular(()=>{const Ot=setTimeout(()=>{if(console.debug("---- Application did not stabilize within 9 seconds ----"),typeof Zone<"u"&&!lt&&console.info('Zone.js is present but no TaskTrackingZone found. To enable better debugging of tasks in the Angular Zone, import "zone.js/plugins/task-tracking" in your application.'),lt?.macroTasks?.length){console.group("Macrotasks keeping Angular Zone unstable:");for(const Qt of lt?.macroTasks??[])console.debug(Qt.creationLocation.stack);console.groupEnd()}console.group("PendingTasks keeping application unstable:");for(const Qt of F.values())console.debug(Qt.stack);console.groupEnd()},9e3);Ae.whenStable().then(()=>{clearTimeout(Ot)})})})])}let Cn=(()=>class Y{static __NG_ELEMENT_ID__=_r})();function _r(Y){return function vr(Y,F,Q){if((0,ke.Qs1)(Y)&&!Q){const Ae=(0,ke.KdJ)(Y.index,F);return new Le.NCX(Ae,Ae)}return 175&Y.type?new Le.NCX(F[ke.b5C],F):null}((0,ke.Mx4)(),(0,ke.OAn)(),!(16&~Y))}class wo{supports(F){return(0,Le.ozJ)(F)}create(F){return new yo(F)}}const to=(Y,F)=>F;class yo{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(F){this._trackByFn=F||to}forEachItem(F){let Q;for(Q=this._itHead;null!==Q;Q=Q._next)F(Q)}forEachOperation(F){let Q=this._itHead,Ae=this._removalsHead,lt=0,Ot=null;for(;Q||Ae;){const Qt=!Ae||Q&&Q.currentIndex<Ro(Ae,lt,Ot)?Q:Ae,pn=Ro(Qt,lt,Ot),Fn=Qt.currentIndex;if(Qt===Ae)lt--,Ae=Ae._nextRemoved;else if(Q=Q._next,null==Qt.previousIndex)lt++;else{Ot||(Ot=[]);const Qn=pn-lt,Nr=Fn-lt;if(Qn!=Nr){for(let Io=0;Io<Qn;Io++){const Ao=Io<Ot.length?Ot[Io]:Ot[Io]=0,ko=Ao+Io;Nr<=ko&&ko<Qn&&(Ot[Io]=Ao+1)}Ot[Qt.previousIndex]=Nr-Qn}}pn!==Fn&&F(Qt,pn,Fn)}}forEachPreviousItem(F){let Q;for(Q=this._previousItHead;null!==Q;Q=Q._nextPrevious)F(Q)}forEachAddedItem(F){let Q;for(Q=this._additionsHead;null!==Q;Q=Q._nextAdded)F(Q)}forEachMovedItem(F){let Q;for(Q=this._movesHead;null!==Q;Q=Q._nextMoved)F(Q)}forEachRemovedItem(F){let Q;for(Q=this._removalsHead;null!==Q;Q=Q._nextRemoved)F(Q)}forEachIdentityChange(F){let Q;for(Q=this._identityChangesHead;null!==Q;Q=Q._nextIdentityChange)F(Q)}diff(F){if(null==F&&(F=[]),!(0,Le.ozJ)(F))throw new ke.buA(900,!1);return this.check(F)?this:null}onDestroy(){}check(F){this._reset();let lt,Ot,Qt,Q=this._itHead,Ae=!1;if(Array.isArray(F)){this.length=F.length;for(let pn=0;pn<this.length;pn++)Ot=F[pn],Qt=this._trackByFn(pn,Ot),null!==Q&&Object.is(Q.trackById,Qt)?(Ae&&(Q=this._verifyReinsertion(Q,Ot,Qt,pn)),Object.is(Q.item,Ot)||this._addIdentityChange(Q,Ot)):(Q=this._mismatch(Q,Ot,Qt,pn),Ae=!0),Q=Q._next}else lt=0,(0,Le.utN)(F,pn=>{Qt=this._trackByFn(lt,pn),null!==Q&&Object.is(Q.trackById,Qt)?(Ae&&(Q=this._verifyReinsertion(Q,pn,Qt,lt)),Object.is(Q.item,pn)||this._addIdentityChange(Q,pn)):(Q=this._mismatch(Q,pn,Qt,lt),Ae=!0),Q=Q._next,lt++}),this.length=lt;return this._truncate(Q),this.collection=F,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let F;for(F=this._previousItHead=this._itHead;null!==F;F=F._next)F._nextPrevious=F._next;for(F=this._additionsHead;null!==F;F=F._nextAdded)F.previousIndex=F.currentIndex;for(this._additionsHead=this._additionsTail=null,F=this._movesHead;null!==F;F=F._nextMoved)F.previousIndex=F.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(F,Q,Ae,lt){let Ot;return null===F?Ot=this._itTail:(Ot=F._prev,this._remove(F)),null!==(F=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Ae,null))?(Object.is(F.item,Q)||this._addIdentityChange(F,Q),this._reinsertAfter(F,Ot,lt)):null!==(F=null===this._linkedRecords?null:this._linkedRecords.get(Ae,lt))?(Object.is(F.item,Q)||this._addIdentityChange(F,Q),this._moveAfter(F,Ot,lt)):F=this._addAfter(new ci(Q,Ae),Ot,lt),F}_verifyReinsertion(F,Q,Ae,lt){let Ot=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Ae,null);return null!==Ot?F=this._reinsertAfter(Ot,F._prev,lt):F.currentIndex!=lt&&(F.currentIndex=lt,this._addToMoves(F,lt)),F}_truncate(F){for(;null!==F;){const Q=F._next;this._addToRemovals(this._unlink(F)),F=Q}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(F,Q,Ae){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(F);const lt=F._prevRemoved,Ot=F._nextRemoved;return null===lt?this._removalsHead=Ot:lt._nextRemoved=Ot,null===Ot?this._removalsTail=lt:Ot._prevRemoved=lt,this._insertAfter(F,Q,Ae),this._addToMoves(F,Ae),F}_moveAfter(F,Q,Ae){return this._unlink(F),this._insertAfter(F,Q,Ae),this._addToMoves(F,Ae),F}_addAfter(F,Q,Ae){return this._insertAfter(F,Q,Ae),this._additionsTail=null===this._additionsTail?this._additionsHead=F:this._additionsTail._nextAdded=F,F}_insertAfter(F,Q,Ae){const lt=null===Q?this._itHead:Q._next;return F._next=lt,F._prev=Q,null===lt?this._itTail=F:lt._prev=F,null===Q?this._itHead=F:Q._next=F,null===this._linkedRecords&&(this._linkedRecords=new Bo),this._linkedRecords.put(F),F.
vendor: 5,121 bytes, line 1
1currentIndex=Ae,F}_remove(F){return this._addToRemovals(this._unlink(F))}_unlink(F){null!==this._linkedRecords&&this._linkedRecords.remove(F);const Q=F._prev,Ae=F._next;return null===Q?this._itHead=Ae:Q._next=Ae,null===Ae?this._itTail=Q:Ae._prev=Q,F}_addToMoves(F,Q){return F.previousIndex===Q||(this._movesTail=null===this._movesTail?this._movesHead=F:this._movesTail._nextMoved=F),F}_addToRemovals(F){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Bo),this._unlinkedRecords.put(F),F.currentIndex=null,F._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=F,F._prevRemoved=null):(F._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=F),F}_addIdentityChange(F,Q){return F.item=Q,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=F:this._identityChangesTail._nextIdentityChange=F,F}}class ci{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(F,Q){this.item=F,this.trackById=Q}}class ui{_head=null;_tail=null;add(F){null===this._head?(this._head=this._tail=F,F._nextDup=null,F._prevDup=null):(this._tail._nextDup=F,F._prevDup=this._tail,F._nextDup=null,this._tail=F)}get(F,Q){let Ae;for(Ae=this._head;null!==Ae;Ae=Ae._nextDup)if((null===Q||Q<=Ae.currentIndex)&&Object.is(Ae.trackById,F))return Ae;return null}remove(F){const Q=F._prevDup,Ae=F._nextDup;return null===Q?this._head=Ae:Q._nextDup=Ae,null===Ae?this._tail=Q:Ae._prevDup=Q,null===this._head}}class Bo{map=new Map;put(F){const Q=F.trackById;let Ae=this.map.get(Q);Ae||(Ae=new ui,this.map.set(Q,Ae)),Ae.add(F)}get(F,Q){const lt=this.map.get(F);return lt?lt.get(F,Q):null}remove(F){const Q=F.trackById;return this.map.get(Q).remove(F)&&this.map.delete(Q),F}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ro(Y,F,Q){const Ae=Y.previousIndex;if(null===Ae)return Ae;let lt=0;return Q&&Ae<Q.length&&(lt=Q[Ae]),Ae+F+lt}class li{supports(F){return F instanceof Map||(0,Le.vDg)(F)}create(){return new Ii}}class Ii{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(F){let Q;for(Q=this._mapHead;null!==Q;Q=Q._next)F(Q)}forEachPreviousItem(F){let Q;for(Q=this._previousMapHead;null!==Q;Q=Q._nextPrevious)F(Q)}forEachChangedItem(F){let Q;for(Q=this._changesHead;null!==Q;Q=Q._nextChanged)F(Q)}forEachAddedItem(F){let Q;for(Q=this._additionsHead;null!==Q;Q=Q._nextAdded)F(Q)}forEachRemovedItem(F){let Q;for(Q=this._removalsHead;null!==Q;Q=Q._nextRemoved)F(Q)}diff(F){if(F){if(!(F instanceof Map||(0,Le.vDg)(F)))throw new ke.buA(900,!1)}else F=new Map;return this.check(F)?this:null}check(F){this._reset();let Q=this._mapHead;if(this._appendAfter=null,this._forEach(F,(Ae,lt)=>{if(Q&&Q.key===lt)this._maybeAddToChanges(Q,Ae),this._appendAfter=Q,Q=Q._next;else{const Ot=this._getOrCreateRecordForKey(lt,Ae);Q=this._insertBeforeOrAppend(Q,Ot)}}),Q){Q._prev&&(Q._prev._next=null),this._removalsHead=Q;for(let Ae=Q;null!==Ae;Ae=Ae._nextRemoved)Ae===this._mapHead&&(this._mapHead=null),this._records.delete(Ae.key),Ae._nextRemoved=Ae._next,Ae.previousValue=Ae.currentValue,Ae.currentValue=null,Ae._prev=null,Ae._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(F,Q){if(F){const Ae=F._prev;return Q._next=F,Q._prev=Ae,F._prev=Q,Ae&&(Ae._next=Q),F===this._mapHead&&(this._mapHead=Q),this._appendAfter=F,F}return this._appendAfter?(this._appendAfter._next=Q,Q._prev=this._appendAfter):this._mapHead=Q,this._appendAfter=Q,null}_getOrCreateRecordForKey(F,Q){if(this._records.has(F)){const lt=this._records.get(F);this._maybeAddToChanges(lt,Q);const Ot=lt._prev,Qt=lt._next;return Ot&&(Ot._next=Qt),Qt&&(Qt._prev=Ot),lt._next=null,lt._prev=null,lt}const Ae=new Ds(F);return this._records.set(F,Ae),Ae.currentValue=Q,this._addToAdditions(Ae),Ae}_reset(){if(this.isDirty){let F;for(this._previousMapHead=this._mapHead,F=this._previousMapHead;null!==F;F=F._next)F._nextPrevious=F._next;for(F=this._changesHead;null!==F;F=F._nextChanged)F.previousValue=F.currentValue;for(F=this._additionsHead;null!=F;F=F._nextAdded)F.previousValue=F.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(F,Q){Object.is(Q,F.currentValue)||(F.previousValue=F.currentValue,F.currentValue=Q,this._addToChanges(F))}_addToAdditions(F){null===this._additionsHead?this._additionsHead=this._additionsTail=F:(this._additionsTail._nextAdded=F,this._additionsTail=F)}_addToChanges(F){null===this._changesHead?this._changesHead=this._changesTail=F:(this._changesTail._nextChanged=F,this._changesTail=F)}_forEach(F,Q){F instanceof Map?F.forEach(Q):Object.keys(F).forEac
1h(Ae=>Q(F[Ae],Ae))}}class Ds{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(F){this.key=F}}function ts(){return new Vi([new wo])}let Vi=(()=>{class Y{factories;static \u0275prov=(0,ke.jDH)({token:Y,providedIn:"root",factory:ts});constructor(Q){this.factories=Q}static create(Q,Ae){if(null!=Ae){const lt=Ae.factories.slice();Q=Q.concat(lt)}return new Y(Q)}static extend(Q){return{provide:Y,useFactory:()=>{const Ae=(0,ke.WQX)(Y,{optional:!0,skipSelf:!0});return Y.create(Q,Ae||ts())}}}find(Q){const Ae=this.factories.find(lt=>lt.supports(Q));if(null!=Ae)return Ae;throw new ke.buA(901,!1)}}return Y})();function Ai(){return new di([new li])}let di=(()=>{class Y{static \u0275prov=(0,ke.jDH)({token:Y,providedIn:"root",factory:Ai});factories;constructor(Q){this.factories=Q}static create(Q,Ae){if(Ae){const lt=Ae.factories.slice();Q=Q.concat(lt)}return new Y(Q)}static extend(Q){return{provide:Y,useFactory:()=>{const Ae=(0,ke.WQX)(Y,{optional:!0,skipSelf:!0});return Y.create(Q,Ae||Ai())}}}find(Q){const Ae=this.factories.find(lt=>lt.supports(Q));if(Ae)return Ae;throw new ke.buA(901,!1)}}return Y})();const As=Fi(null,"core",[]);let ns=(()=>{class Y{constructor(Q){}static \u0275fac=function(Ae){return new(Ae||Y)((0,ke.KVO)(Le.o8S))};static \u0275mod=(0,Le.$C)({type:Y});static \u0275inj=(0,ke.G2t)({})}return Y})();function ps(Y){return"boolean"==typeof Y?Y:null!=Y&&"false"!==Y}function is(Y,F=NaN){return isNaN(parseFloat(Y))||isNaN(Number(Y))?F:Number(Y)}function je(Y,F){const Q=(0,ke.xUg)(Y),Ae=F.elementInjector||(0,ke.WB9)();return new Le.eHC(Q).create(Ae,F.projectableNodes,F.hostElement,F.environmentInjector,F.directives,F.bindings)}function Ie(Y){const F=(0,ke.xUg)(Y);if(!F)return null;const Q=new Le.eHC(F);return{get selector(){return Q.selector},get type(){return Q.componentType},get inputs(){return Q.inputs},get outputs(){return Q.outputs},get ngContentSelectors(){return Q.ngContentSelectors},get isStandalone(){return F.standalone},get isSignal(){return F.signals}}}},44156(wt,Ce,a){"use strict";a.d(Ce,{$$:()=>Tr,AM:()=>ye,IQ:()=>Lo,J8:()=>go,Qe:()=>nn,_G:()=>At,ss:()=>Vr});var I=a(84529);const _={};function S(rt,Ye){rt.__jsaction=Ye}const ae=["mouseenter","mouseleave","pointerenter","pointerleave"],G=["focus","blur","error","load","toggle"],re=rt=>G.indexOf(rt)>=0;function be(rt,Ye){rt.removeEventListener?rt.removeEventListener(Ye.eventType,Ye.handler,"boolean"==typeof Ye.passive?{capture:Ye.capture}:Ye.capture):rt.detachEvent&&rt.detachEvent(`on${Ye.eventType}`,Ye.handler)}let de=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);class At{element;handlerInfos=[];constructor(Ye){this.element=Ye}addEventListener(Ye,Et,Xt){this.handlerInfos.push(function ve(rt,Ye,Et,Xt){let en=!1;return re(Ye)&&(en=!0),rt.addEventListener(Ye,Et,"boolean"==typeof Xt?{capture:en,passive:Xt}:en),{eventType:Ye,handler:Et,capture:en,passive:Xt}}(this.element,Ye,Et(this.element),Xt))}cleanUp(){for(let Ye=0;Ye<this.handlerInfos.length;Ye++)be(this.element,this.handlerInfos[Ye]);this.handlerInfos=[]}}function Zt(rt){return rt.eventType}function vt(rt,Ye){rt.eventType=Ye}function pt(rt){return rt.event}function Pe(rt,Ye){rt.event=Ye}function xe(rt){return rt.targetElement}function Je(rt,Ye){rt.targetElement=Ye}function st(rt){return rt.eic}function Me(rt){return rt.eia}function X(rt,Ye,Et){rt.eia=[Ye,Et]}function De(rt){rt.eia=void 0}function Re(rt){return rt[1]}function Xe(rt,Ye){rt.eirp=Ye}function dt(rt){return rt.eir}function ht(rt,Ye){rt.eir=Ye}function Dt(rt){return{eventType:rt.eventType,event:rt.event,targetElement:rt.targetElement,eic:rt.eic,eia:rt.eia,timeStamp:rt.timeStamp,eirp:rt.eirp,eiack:rt.eiack,eir:rt.eir}}class Ut{eventInfo;constructor(Ye){this.eventInfo=Ye}getEventType(){return Zt(this.eventInfo)}setEventType(Ye){vt(this.eventInfo,Ye)}getEvent(){return pt(this.eventInfo)}setEvent(Ye){Pe(this.eventInfo,Ye)}getTargetElement(){return xe(this.eventInfo)}setTargetElement(Ye){Je(this.eventInfo,Ye)}getContainer(){return st(this.eventInfo)}setContainer(Ye){!function tt(rt,Ye){rt.eic=Ye}(this.eventInfo,Ye)}getTimestamp(){return function nt(rt){return rt.timeStamp}(this.eventInfo)}setTimestamp(Ye){!function $e(rt,Ye){rt.timeStamp=Ye}(this.eventInfo,Ye)}
1getAction(){const Ye=Me(this.eventInfo);if(Ye)return{name:Ye[0],element:Ye[1]}}setAction(Ye){Ye?X(this.eventInfo,Ye.name,Ye.element):De(this.eventInfo)}getIsReplay(){return function Fe(rt){return rt.eirp}(this.eventInfo)}setIsReplay(Ye){Xe(this.eventInfo,Ye)}getResolved(){return dt(this.eventInfo)}setResolved(Ye){ht(this.eventInfo,Ye)}clone(){return new Ut(Dt(this.eventInfo))}}const Ht={},Dn=/\s*;\s*/;class o{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:Ye=!1,clickModSupport:Et=!0}={}){this.syntheticMouseEventSupport=Ye,this.clickModSupport=Et}resolveEventType(Ye){this.clickModSupport&&"click"===Zt(Ye)&&function Z(rt){return de&&rt.metaKey||!de&&rt.ctrlKey||function fe(rt){return 2===rt.which||null==rt.which&&4===rt.button}(rt)||rt.shiftKey}(pt(Ye))?vt(Ye,"clickmod"):this.a11yClickSupport&&this.updateEventInfoForA11yClick(Ye)}resolveAction(Ye){dt(Ye)||(this.populateAction(Ye,xe(Ye)),ht(Ye,!0))}resolveParentAction(Ye){const Et=Me(Ye),Xt=Et&&Re(Et);De(Ye);const en=Xt&&this.getParentNode(Xt);en&&this.populateAction(Ye,en)}populateAction(Ye,Et){let Xt=Et;for(;Xt&&Xt!==st(Ye)&&(Xt.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(Xt,Ye),!Me(Ye));)Xt=this.getParentNode(Xt);const en=Me(Ye);if(en&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(Ye),this.syntheticMouseEventSupport&&("mouseenter"===Zt(Ye)||"mouseleave"===Zt(Ye)||"pointerenter"===Zt(Ye)||"pointerleave"===Zt(Ye))))if(function Ke(rt,Ye,Et){const Xt=rt.relatedTarget;return("mouseover"===rt.type&&"mouseenter"===Ye||"mouseout"===rt.type&&"mouseleave"===Ye||"pointerover"===rt.type&&"pointerenter"===Ye||"pointerout"===rt.type&&"pointerleave"===Ye)&&(!Xt||Xt!==Et&&!Et.contains(Xt))}(pt(Ye),Zt(Ye),Re(en))){const er=function ft(rt,Ye){const Et={};for(const Xt in rt){if("srcElement"===Xt||"target"===Xt)continue;const er=rt[Xt];"function"!=typeof er&&(Et[Xt]=er)}return Et.type="mouseover"===rt.type?"mouseenter":"mouseout"===rt.type?"mouseleave":"pointerover"===rt.type?"pointerenter":"pointerleave",Et.target=Et.srcElement=Ye,Et.bubbles=!1,Et._originalEvent=rt,Et}(pt(Ye),Re(en));Pe(Ye,er),Je(Ye,Re(en))}else De(Ye)}getParentNode(Ye){const Et=Ye.__owner;if(Et)return Et;const Xt=Ye.parentNode;return"#document-fragment"===Xt?.nodeName?Xt?.host??null:Xt}populateActionOnElement(Ye,Et){const Xt=this.parseActions(Ye),en=Xt[Zt(Et)];void 0!==en&&X(Et,en,Ye),this.a11yClickSupport&&this.populateClickOnlyAction(Ye,Et,Xt)}parseActions(Ye){let Et=function J(rt){return rt.__jsaction}(Ye);if(!Et){const Xt=Ye.getAttribute(I.n.JSACTION);if(Xt){if(Et=function k(rt){return _[rt]}(Xt),!Et){Et={};const en=Xt.split(Dn);for(let er=0;er<en.length;er++){const Er=en[er];if(!Er)continue;const Dr=Er.indexOf(":"),Or=-1!==Dr,Ir=Or?Er.substr(0,Dr).trim():"click",Xr=Or?Er.substr(Dr+1).trim():Er;Et[Ir]=Xr}!function R(rt,Ye){_[rt]=Ye}(Xt,Et)}S(Ye,Et)}else Et=Ht,S(Ye,Et)}return Et}addA11yClickSupport(Ye,Et,Xt){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=Ye,this.preventDefaultForA11yClick=Et,this.populateClickOnlyAction=Xt}}var mt=function(rt){return rt[rt.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK",rt}(mt||{});class ne{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(Ye,{actionResolver:Et,eventReplayer:Xt}={}){this.dispatchDelegate=Ye,this.actionResolver=Et,this.eventReplayer=Xt}dispatch(Ye){const Et=new Ut(Ye);this.actionResolver?.resolveEventType(Ye),this.actionResolver?.resolveAction(Ye);const Xt=Et.getAction();Xt&&function A(rt,Ye){return"A"===rt.tagName&&("click"===Ye.getEventType()||"clickmod"===Ye.getEventType())}(Xt.element,Et)&&function K(rt){rt.preventDefault?rt.preventDefault():rt.returnValue=!1}(Et.getEvent()),this.eventReplayer&&Et.getIsReplay()?this.scheduleEventInfoWrapperReplay(Et):this.dispatchDelegate(Et)}scheduleEventInfoWrapperReplay(Ye){this.replayEventInfoWrappers.push(Ye),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}}const w=Symbol.for("propagationStopped"),ye={REPLAY:101};
1class nn{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(Ye,Et=!0){this.dispatchDelegate=Ye,this.clickModSupport=Et,this.actionResolver=new o({clickModSupport:Et}),this.dispatcher=new ne(Xt=>{this.dispatchToDelegate(Xt)},{actionResolver:this.actionResolver})}dispatch(Ye){this.dispatcher.dispatch(Ye)}dispatchToDelegate(Ye){for(Ye.getIsReplay()&&function yn(rt){const Ye=rt.getEvent(),Et=rt.getTargetElement(),Xt=Ye.preventDefault.bind(Ye);yr(Ye,"target",Et),yr(Ye,"eventPhase",ye.REPLAY),yr(Ye,"preventDefault",()=>{throw Xt(),new Error("`preventDefault` called during event replay.")}),yr(Ye,"composedPath",()=>{throw new Error("`composedPath` called during event replay.")})}(Ye),function gn(rt){const Ye=rt.getEvent(),Et=rt.getEvent().stopPropagation.bind(Ye),Xt=()=>{Ye[w]=!0,Et()};yr(Ye,"stopPropagation",Xt),yr(Ye,"stopImmediatePropagation",Xt)}(Ye);Ye.getAction();){if(Rn(Ye),re(Ye.getEventType())&&Ye.getAction().element!==Ye.getTargetElement()||(this.dispatchDelegate(Ye.getEvent(),Ye.getAction().name),vn(Ye)))return;this.actionResolver.resolveParentAction(Ye.eventInfo)}}}function vn(rt){return!!rt.getEvent()[w]}function Rn(rt){const Ye=rt.getEvent(),Et=rt.getAction()?.element;Et&&yr(Ye,"currentTarget",Et,{configurable:!0})}function yr(rt,Ye,Et,{configurable:Xt=!1}={}){Object.defineProperty(rt,Ye,{value:Et,configurable:Xt})}function Tr(rt,Ye){rt.ecrd(Et=>{Ye.dispatch(Et)},mt.I_AM_THE_JSACTION_FRAMEWORK)}function On(rt,Ye,Et,Xt){for(let en=0;en<Ye.length;en++)rt.removeEventListener(Ye[en],Et,Xt)}let go=(()=>{class rt{static MOUSE_SPECIAL_SUPPORT=!1;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(Et){this.containerManager=Et}handleEvent(Et,Xt,en){const er=function yt(rt,Ye,Et,Xt,en,er,Er,Dr){return{eventType:rt,event:Ye,targetElement:Et,eic:Xt,timeStamp:en,eia:er,eirp:Er,eiack:Dr}}(Et,Xt,Xt.target,en,Date.now());this.handleEventInfo(er)}handleEventInfo(Et){if(!this.dispatcher)return Xe(Et,!0),void this.queuedEventInfos?.push(Et);this.dispatcher(Et)}addEvent(Et,Xt,en){if(Et in this.eventHandlers||!this.containerManager||!rt.MOUSE_SPECIAL_SUPPORT&&ae.indexOf(Et)>=0)return;const er=(Dr,Or,Ir)=>{this.handleEvent(Dr,Or,Ir)};this.eventHandlers[Et]=er;const Er=function me(rt){return"mouseenter"===rt?"mouseover":"mouseleave"===rt?"mouseout":"pointerenter"===rt?"pointerover":"pointerleave"===rt?"pointerout":rt}(Xt||Et);if(Er!==Et){const Dr=this.browserEventTypeToExtraEventTypes[Er]||[];Dr.push(Et),this.browserEventTypeToExtraEventTypes[Er]=Dr}this.containerManager.addEventListener(Er,Dr=>Or=>{er(Et,Or,Dr)},en)}replayEarlyEvents(Et=window._ejsa){Et&&(this.replayEarlyEventInfos(Et.q),function jr(rt){rt&&(On(rt.c,rt.et,rt.h),On(rt.c,rt.etc,rt.h,!0))}(Et),delete window._ejsa)}replayEarlyEventInfos(Et){for(let Xt=0;Xt<Et.length;Xt++){const en=Et[Xt],er=this.getEventTypesForBrowserEventType(en.eventType);for(let Er=0;Er<er.length;Er++){const Dr=Dt(en);vt(Dr,er[Er]),this.handleEventInfo(Dr)}}}getEventTypesForBrowserEventType(Et){const Xt=[];return this.eventHandlers[Et]&&Xt.push(Et),this.browserEventTypeToExtraEventTypes[Et]&&Xt.push(...this.browserEventTypeToExtraEventTypes[Et]),Xt}handler(Et){return this.eventHandlers[Et]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(Et,Xt){this.ecrd(Et,Xt)}ecrd(Et,Xt){if(this.dispatcher=Et,this.queuedEventInfos?.length){for(let en=0;en<this.queuedEventInfos.length;en++)this.handleEventInfo(this.queuedEventInfos[en]);this.queuedEventInfos=null}}}return rt})();function Lo(rt,Ye=window){return function Lr(rt){return rt?.q??[]}(Ye._ejsas?.[rt])}function Vr(rt,Ye=window){Ye._ejsas&&(Ye._ejsas[rt]=void 0)}},89417(wt,Ce,a){"use strict";a.d(Ce,{BC:()=>Nt,Fm:()=>Bt,MR:()=>mn,Q0:()=>Ee,VZ:()=>Gr,YN:()=>lr,Zm:()=>me,cV:()=>kr,cb:()=>Oe,cz:()=>Ke,kq:()=>$,me:()=>de,qT:()=>Zr,tU:()=>ot,vS:()=>Jr,wz:()=>Fi,xH:()=>ii,y7:()=>es,zX:()=>ai});var _=a(35547),J=a(60414),B=a(17705),S=a(76307),k=a(21413),R=a(27468),H=a(86648),ae=a(96354),V=a(46494);let G=(()=>{class O{_renderer;_elementRef;onChange=C=>{};onTouched=()=>{};constructor(C,te){this._renderer=C,this._elementRef=te}setProperty(C,te){this._renderer.setProperty(this._elementRef.nativeElement,C,te)}registerOnTouched(C){this.onTouched=C}registerOnChange(C){this.onChange=C}setDisabledState(C){this.setProperty("disabled",C)}static \u0275fac=function(te){return new(te||O)(_.rXU(_.sFG),_.rXU(_.aKT))};static \u0275dir=_.FsC({type:O})}return O})(),re=(()=>{class O extends G{static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,features:[_.Vt3]})}return O})();const $=new J.nKC(""),we={provide:$,useExisting:(0,J.Rfq)(()=>me),multi:!0};let me=(()=>{class O extends re{writeValue(C){this.setProperty("checked",C)}static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(te,Ne){1&te&&_.bIt("change",function(Cn){return Ne.onChange(Cn.target.checked)})("blur",function(){return Ne.onTouched()})},standalone:!1,features:[_.Jv_([we]),_.Vt3]})}return O})();const ve={provide:$,useExisting:(0,J.Rfq)(()=>de),multi:!0}
1,K=new J.nKC("");let de=(()=>{class O extends G{_compositionMode;_composing=!1;constructor(C,te,Ne){super(C,te),this._compositionMode=Ne,null==this._compositionMode&&(this._compositionMode=!function be(){const O=(0,V.rb)()?(0,V.rb)().getUserAgent():"";return/android (\d+)/.test(O.toLowerCase())}())}writeValue(C){this.setProperty("value",C??"")}_handleInput(C){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(C)}_compositionStart(){this._composing=!0}_compositionEnd(C){this._composing=!1,this._compositionMode&&this.onChange(C)}static \u0275fac=function(te){return new(te||O)(_.rXU(_.sFG),_.rXU(_.aKT),_.rXU(K,8))};static \u0275dir=_.FsC({type:O,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(te,Ne){1&te&&_.bIt("input",function(Cn){return Ne._handleInput(Cn.target.value)})("blur",function(){return Ne.onTouched()})("compositionstart",function(){return Ne._compositionStart()})("compositionend",function(Cn){return Ne._compositionEnd(Cn.target.value)})},standalone:!1,features:[_.Jv_([ve]),_.Vt3]})}return O})();const Ke=new J.nKC(""),ft=new J.nKC("");function st(O){return N=>{const C=N.value?.length??function Z(O){return null==O?null:Array.isArray(O)||"string"==typeof O?O.length:O instanceof Set?O.size:null}(N.value);return null!==C&&C>O?{maxlength:{requiredLength:O,actualLength:C}}:null}}function nt(O){return null}function $e(O){return null!=O}function Me(O){return(0,_.yLl)(O)?(0,H.H)(O):O}function X(O){let N={};return O.forEach(C=>{N=null!=C?{...N,...C}:N}),0===Object.keys(N).length?null:N}function De(O,N){return N.map(C=>C(O))}function Fe(O){return O.map(N=>function Re(O){return!O.validate}(N)?N:C=>N.validate(C))}function dt(O){return null!=O?function Xe(O){if(!O)return null;const N=O.filter($e);return 0==N.length?null:function(C){return X(De(C,N))}}(Fe(O)):null}function Dt(O){return null!=O?function ht(O){if(!O)return null;const N=O.filter($e);return 0==N.length?null:function(C){const te=De(C,N).map(Me);return(0,R.p)(te).pipe((0,ae.T)(X))}}(Fe(O)):null}function yt(O,N){return null===O?[N]:Array.isArray(O)?[...O,N]:[O,N]}function Dn(O){return O?Array.isArray(O)?O:[O]:[]}function fn(O,N){return Array.isArray(O)?O.includes(N):O===N}function o(O,N){const C=Dn(N);return Dn(O).forEach(Ne=>{fn(C,Ne)||C.push(Ne)}),C}function mt(O,N){return Dn(N).filter(C=>!fn(O,C))}class ne{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(N){this._rawValidators=N||[],this._composedValidatorFn=dt(this._rawValidators)}_setAsyncValidators(N){this._rawAsyncValidators=N||[],this._composedAsyncValidatorFn=Dt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(N){this._onDestroyCallbacks.push(N)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(N=>N()),this._onDestroyCallbacks=[]}reset(N=void 0){this.control?.reset(N)}hasError(N,C){return!!this.control&&this.control.hasError(N,C)}getError(N,C){return this.control?this.control.getError(N,C):null}}class A extends ne{name;get formDirective(){return null}get path(){return null}}class w extends ne{_parent=null;name=null;valueAccessor=null}class ye{_cd;constructor(N){this._cd=N}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}
1get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Nt=(()=>{class O extends ye{constructor(C){super(C)}static \u0275fac=function(te){return new(te||O)(_.rXU(w,2))};static \u0275dir=_.FsC({type:O,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(te,Ne){2&te&&_.AVh("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)},standalone:!1,features:[_.Vt3]})}return O})(),Oe=(()=>{class O extends ye{constructor(C){super(C)}static \u0275fac=function(te){return new(te||O)(_.rXU(A,10))};static \u0275dir=_.FsC({type:O,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(te,Ne){2&te&&_.AVh("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)("ng-submitted",Ne.isSubmitted)},standalone:!1,features:[_.Vt3]})}return O})();const Hr="VALID",Vr="INVALID",rt="PENDING",Ye="DISABLED";class Et{}class Xt extends Et{value;source;constructor(N,C){super(),this.value=N,this.source=C}}class en extends Et{pristine;source;constructor(N,C){super(),this.pristine=N,this.source=C}}class er extends Et{touched;source;constructor(N,C){super(),this.touched=N,this.source=C}}class Er extends Et{status;source;constructor(N,C){super(),this.status=N,this.source=C}}class Dr extends Et{source;constructor(N){super(),this.source=N}}class Or extends Et{source;constructor(N){super(),this.source=N}}function Ir(O){return(Gt(O)?O.validators:O)||null}function Mo(O,N){return(Gt(N)?N.asyncValidators:O)||null}function Gt(O){return null!=O&&!Array.isArray(O)&&"object"==typeof O}class un{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(N,C){this._assignValidators(N),this._assignAsyncValidators(C)}get validator(){return this._composedValidatorFn}set validator(N){this._rawValidators=this._composedValidatorFn=N}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(N){this._rawAsyncValidators=this._composedAsyncValidatorFn=N}get parent(){return this._parent}get status(){return(0,S.O8)(this.statusReactive)}set status(N){(0,S.O8)(()=>this.statusReactive.set(N))}_status=(0,S.EW)(()=>this.statusReactive());statusReactive=(0,J.vPA)(void 0);get valid(){return this.status===Hr}get invalid(){return this.status===Vr}get pending(){return this.status===rt}get disabled(){return this.status===Ye}get enabled(){return this.status!==Ye}errors;get pristine(){return(0,S.O8)(this.pristineReactive)}set pristine(N){(0,S.O8)(()=>this.pristineReactive.set(N))}_pristine=(0,S.EW)(()=>this.pristineReactive());pristineReactive=(0,J.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,S.O8)(this.touchedReactive)}set touched(N){(0,S.O8)(()=>this.touchedReactive.set(N))}_touched=(0,S.EW)(()=>this.touchedReactive());touchedReactive=(0,J.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(N){this._assignValidators(N)}setAsyncValidators(N){this._assignAsyncValidators(N)}addValidators(N){this.setValidators(o(N,this._rawValidators))}addAsyncValidators(N){this.setAsyncValidators(o(N,this._rawAsyncValidators))}removeValidators(N){this.setValidators(mt(N,this._rawValidators))}removeAsyncValidators(N){this.setAsyncValidators(mt(N,this._rawAsyncValidators))}hasValidator(N){return fn(this._rawValidators,N)}hasAsyncValidator(N){return fn(this._rawAsyncValidators,N)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(N={}){const C=!1===this.touched;this.touched=!0;const te=N.sourceControl??this;N.onlySelf||this._parent?.markAsTouched({...N,sourceControl:te}),C&&!1!==N.emitEvent&&this._events.next(new er(!0,te))}
1markAllAsDirty(N={}){this.markAsDirty({onlySelf:!0,emitEvent:N.emitEvent,sourceControl:this}),this._forEachChild(C=>C.markAllAsDirty(N))}markAllAsTouched(N={}){this.markAsTouched({onlySelf:!0,emitEvent:N.emitEvent,sourceControl:this}),this._forEachChild(C=>C.markAllAsTouched(N))}markAsUntouched(N={}){const C=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const te=N.sourceControl??this;this._forEachChild(Ne=>{Ne.markAsUntouched({onlySelf:!0,emitEvent:N.emitEvent,sourceControl:te})}),N.onlySelf||this._parent?._updateTouched(N,te),C&&!1!==N.emitEvent&&this._events.next(new er(!1,te))}markAsDirty(N={}){const C=!0===this.pristine;this.pristine=!1;const te=N.sourceControl??this;N.onlySelf||this._parent?.markAsDirty({...N,sourceControl:te}),C&&!1!==N.emitEvent&&this._events.next(new en(!1,te))}markAsPristine(N={}){const C=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const te=N.sourceControl??this;this._forEachChild(Ne=>{Ne.markAsPristine({onlySelf:!0,emitEvent:N.emitEvent})}),N.onlySelf||this._parent?._updatePristine(N,te),C&&!1!==N.emitEvent&&this._events.next(new en(!0,te))}markAsPending(N={}){this.status=rt;const C=N.sourceControl??this;!1!==N.emitEvent&&(this._events.next(new Er(this.status,C)),this.statusChanges.emit(this.status)),N.onlySelf||this._parent?.markAsPending({...N,sourceControl:C})}disable(N={}){const C=this._parentMarkedDirty(N.onlySelf);this.status=Ye,this.errors=null,this._forEachChild(Ne=>{Ne.disable({...N,onlySelf:!0})}),this._updateValue();const te=N.sourceControl??this;!1!==N.emitEvent&&(this._events.next(new Xt(this.value,te)),this._events.next(new Er(this.status,te)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...N,skipPristineCheck:C},this),this._onDisabledChange.forEach(Ne=>Ne(!0))}enable(N={}){const C=this._parentMarkedDirty(N.onlySelf);this.status=Hr,this._forEachChild(te=>{te.enable({...N,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:N.emitEvent}),this._updateAncestors({...N,skipPristineCheck:C},this),this._onDisabledChange.forEach(te=>te(!1))}_updateAncestors(N,C){N.onlySelf||(this._parent?.updateValueAndValidity(N),N.skipPristineCheck||this._parent?._updatePristine({},C),this._parent?._updateTouched({},C))}setParent(N){this._parent=N}getRawValue(){return this.value}updateValueAndValidity(N={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const te=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hr||this.status===rt)&&this._runAsyncValidator(te,N.emitEvent)}const C=N.sourceControl??this;!1!==N.emitEvent&&(this._events.next(new Xt(this.value,C)),this._events.next(new Er(this.status,C)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),N.onlySelf||this._parent?.updateValueAndValidity({...N,sourceControl:C})}_updateTreeValidity(N={emitEvent:!0}){this._forEachChild(C=>C._updateTreeValidity(N)),this.updateValueAndValidity({onlySelf:!0,emitEvent:N.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ye:Hr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(N,C){if(this.asyncValidator){this.status=rt,this._hasOwnPendingAsyncValidator={emitEvent:!1!==C,shouldHaveEmitted:!1!==N};const te=Me(this.asyncValidator(this));this._asyncValidationSubscription=te.subscribe(Ne=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(Ne,{emitEvent:C,shouldHaveEmitted:N})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const N=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,N}return!1}setErrors(N,C={}){this.errors=N,this._updateControlsErrors(!1!==C.emitEvent,this,C.shouldHaveEmitted)}get(N){let C=N;return null==C||(Array.isArray(C)||(C=C.split(".")),0===C.length)?null:C.reduce((te,Ne)=>te&&te._find(Ne),this)}getError(N,C){const te=C?this.get(C):this;return te?.errors?te.errors[N]:null}hasError(N,C){return!!this.getError(N,C)}get root(){let N=this;for(;N._parent;)N=N._parent;return N}_updateControlsErrors(N,C,te){this.status=this._calculateStatus(),N&&this.statusChanges.emit(this.status),(N||te)&&this._events.next(new Er(this.status,C)),this._parent&&this._parent._updateControlsErrors(N,C,te)}_initObservables(){this.valueChanges=new J.bkB,this.statusChanges=new J.bkB}_calculateStatus(){return this._allControlsDisabled()?Ye:this.errors?Vr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rt)?rt:this._anyControlsHaveStatus(Vr)?Vr:Hr}_anyControlsHaveStatus(N){return this._anyControls(C=>C.status===N)}_anyControlsDirty(){return this._anyControls(N=>N.dirty)}_anyControlsTouched(){return this._anyControls(N=>N.touched)}_updatePristine(N,C){const te=!this._anyControlsDirty(),Ne=this.pristine!==te;this.pristine=te,N.onlySelf||this._parent?._updatePristine(N,C),Ne&&this._events.next(new en(this.pristine,C))}_updateTouched(N={},C){this.touched=this._anyControlsTouched(),this._events.next(new er(this.touched,C)),N.onlySelf||this._parent?._updateTouched(N,C)}_onDisabledChange=[];_registerOnCollectionChange(N){this._onCollectionChange=N}_setUpdateStrategy(N){Gt(N)&&null!=N.updateOn&&(this._updateOn=N.updateOn)}_parentMarkedDirty(N){return!N&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
1_find(N){return null}_assignValidators(N){this._rawValidators=Array.isArray(N)?N.slice():N,this._composedValidatorFn=function Xr(O){return Array.isArray(O)?dt(O):O||null}(this._rawValidators)}_assignAsyncValidators(N){this._rawAsyncValidators=Array.isArray(N)?N.slice():N,this._composedAsyncValidatorFn=function Tt(O){return Array.isArray(O)?Dt(O):O||null}(this._rawAsyncValidators)}}class Ln extends un{constructor(N,C,te){super(Ir(C),Mo(te,C)),this.controls=N,this._initObservables(),this._setUpdateStrategy(C),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(N,C){return this.controls[N]?this.controls[N]:(this.controls[N]=C,C.setParent(this),C._registerOnCollectionChange(this._onCollectionChange),C)}addControl(N,C,te={}){this.registerControl(N,C),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}removeControl(N,C={}){this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),delete this.controls[N],this.updateValueAndValidity({emitEvent:C.emitEvent}),this._onCollectionChange()}setControl(N,C,te={}){this.controls[N]&&this.controls[N]._registerOnCollectionChange(()=>{}),delete this.controls[N],C&&this.registerControl(N,C),this.updateValueAndValidity({emitEvent:te.emitEvent}),this._onCollectionChange()}contains(N){return this.controls.hasOwnProperty(N)&&this.controls[N].enabled}setValue(N,C={}){(function qe(O,N,C){O._forEachChild((te,Ne)=>{if(void 0===C[Ne])throw new J.buA(-1002,"")})})(this,0,N),Object.keys(N).forEach(te=>{(function Ze(O,N,C){const te=O.controls;if(!(N?Object.keys(te):te).length)throw new J.buA(1e3,"");if(!te[C])throw new J.buA(1001,"")})(this,!0,te),this.controls[te].setValue(N[te],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C)}patchValue(N,C={}){null!=N&&(Object.keys(N).forEach(te=>{const Ne=this.controls[te];Ne&&Ne.patchValue(N[te],{onlySelf:!0,emitEvent:C.emitEvent})}),this.updateValueAndValidity(C))}reset(N={},C={}){this._forEachChild((te,Ne)=>{te.reset(N?N[Ne]:null,{...C,onlySelf:!0})}),this._updatePristine(C,this),this._updateTouched(C,this),this.updateValueAndValidity(C),!1!==C?.emitEvent&&this._events.next(new Or(this))}getRawValue(){return this._reduceChildren({},(N,C,te)=>(N[te]=C.getRawValue(),N))}_syncPendingControls(){let N=this._reduceChildren(!1,(C,te)=>!!te._syncPendingControls()||C);return N&&this.updateValueAndValidity({onlySelf:!0}),N}_forEachChild(N){Object.keys(this.controls).forEach(C=>{const te=this.controls[C];te&&N(te,C)})}_setUpControls(){this._forEachChild(N=>{N.setParent(this),N._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(N){for(const[C,te]of Object.entries(this.controls))if(this.contains(C)&&N(te))return!0;return!1}_reduceValue(){return this._reduceChildren({},(C,te,Ne)=>((te.enabled||this.disabled)&&(C[Ne]=te.value),C))}_reduceChildren(N,C){let te=N;return this._forEachChild((Ne,an)=>{te=C(te,Ne,an)}),te}_allControlsDisabled(){for(const N of Object.keys(this.controls))if(this.controls[N].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(N){return this.controls.hasOwnProperty(N)?this.controls[N]:null}}const Ft=new J.nKC("",{factory:()=>wn}),wn="always";function Rt(O,N,C=wn){tr(O,N),N.valueAccessor.writeValue(O.value),(O.disabled||"always"===C)&&N.valueAccessor.setDisabledState?.(O.disabled),function pe(O,N){N.valueAccessor.registerOnChange(C=>{O._pendingValue=C,O._pendingChange=!0,O._pendingDirty=!0,"change"===O.updateOn&&Se(O,N)})}(O,N),function Le(O,N){const C=(te,Ne)=>{N.valueAccessor.writeValue(te),Ne&&N.viewToModelUpdate(te)};O.registerOnChange(C),N._registerOnDestroy(()=>{O._unregisterOnChange(C)})}(O,N),function Be(O,N){N.valueAccessor.registerOnTouched(()=>{O._pendingTouched=!0,"blur"===O.updateOn&&O._pendingChange&&Se(O,N),"submit"!==O.updateOn&&O.markAsTouched()})}(O,N),function Nn(O,N){if(N.valueAccessor.setDisabledState){const C=te=>{N.valueAccessor.setDisabledState(te)};O.registerOnDisabledChange(C),N._registerOnDestroy(()=>{O._unregisterOnDisabledChange(C)})}}(O,N)}function qt(O,N){O.forEach(C=>{C.registerOnValidatorChange&&C.registerOnValidatorChange(N)})}function tr(O,N){const C=function Ut(O){return O._rawValidators}(O);null!==N.validator?O.setValidators(yt(C,N.validator)):"function"==typeof C&&O.setValidators([C]);const te=function Ht(O){return O._rawAsyncValidators}(O);null!==N.asyncValidator?O.setAsyncValidators(yt(te,N.asyncValidator)):"function"==typeof te&&O.setAsyncValidators([te]);const Ne=()=>O.updateValueAndValidity();qt(N._rawValidators,Ne),qt(N._rawAsyncValidators,Ne)}function Se(O,N){O._pendingDirty&&O.markAsDirty(),O.setValue(O._pendingValue,{emitModelToViewChange:!1}),N.viewToModelUpdate(O._pendingValue),O._pendingChange=!1}const ur={provide:A,useExisting:(0,J.Rfq)(()=>kr)},Rr=Promise.resolve();let kr=(()=>{class O extends A{callSetDisabledState;get submitted(){return(0,S.O8)(this.submittedReactive)}_submitted=(0,S.EW)(()=>this.submittedReactive());submittedReactive=(0,J.vPA)(!1);_directives=new Set;form;ngSubmit=new J.bkB;options;constructor(C,te,Ne){super(),this.callSetDisabledState=Ne,this.form=new Ln({},dt(C),Dt(te))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(C){Rr.then(()=>{const te=this._findContainer(C.path);
1C.control=te.registerControl(C.name,C.control),Rt(C.control,C,this.callSetDisabledState),C.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(C)})}getControl(C){return this.form.get(C.path)}removeControl(C){Rr.then(()=>{this._findContainer(C.path)?.removeControl(C.name),this._directives.delete(C)})}addFormGroup(C){Rr.then(()=>{const te=this._findContainer(C.path),Ne=new Ln({});(function ke(O,N){tr(O,N)})(Ne,C),te.registerControl(C.name,Ne),Ne.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(C){Rr.then(()=>{this._findContainer(C.path)?.removeControl?.(C.name)})}getFormGroup(C){return this.form.get(C.path)}updateModel(C,te){Rr.then(()=>{this.form.get(C.path).setValue(te)})}setValue(C){this.control.setValue(C)}onSubmit(C){return this.submittedReactive.set(!0),function $r(O,N){O._syncPendingControls(),N.forEach(C=>{const te=C.control;"submit"===te.updateOn&&te._pendingChange&&(C.viewToModelUpdate(te._pendingValue),te._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(C),this.form._events.next(new Dr(this.control)),"dialog"===C?.target?.method}onReset(){this.resetForm()}resetForm(C=void 0){this.form.reset(C),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(C){return C.pop(),C.length?this.form.get(C):this.form}static \u0275fac=function(te){return new(te||O)(_.rXU(Ke,10),_.rXU(ft,10),_.rXU(Ft,8))};static \u0275dir=_.FsC({type:O,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(te,Ne){1&te&&_.bIt("submit",function(Cn){return Ne.onSubmit(Cn)})("reset",function(){return Ne.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[_.Jv_([ur]),_.Vt3]})}return O})();function Mr(O,N){const C=O.indexOf(N);C>-1&&O.splice(C,1)}function Wr(O){return"object"==typeof O&&null!==O&&2===Object.keys(O).length&&"value"in O&&"disabled"in O}const lo=class extends un{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(N=null,C,te){super(Ir(C),Mo(te,C)),this._applyFormState(N),this._setUpdateStrategy(C),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Gt(C)&&(C.nonNullable||C.initialValueIsDefault)&&(this.defaultValue=Wr(N)?N.value:N)}setValue(N,C={}){this.value=this._pendingValue=N,this._onChange.length&&!1!==C.emitModelToViewChange&&this._onChange.forEach(te=>te(this.value,!1!==C.emitViewToModelChange)),this.updateValueAndValidity(C)}patchValue(N,C={}){this.setValue(N,C)}reset(N=this.defaultValue,C={}){this._applyFormState(N),this.markAsPristine(C),this.markAsUntouched(C),this.setValue(this.value,C),C.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==C?.emitEvent&&this._events.next(new Or(this))}_updateValue(){}_anyControls(N){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(N){this._onChange.push(N)}_unregisterOnChange(N){Mr(this._onChange,N)}registerOnDisabledChange(N){this._onDisabledChange.push(N)}_unregisterOnDisabledChange(N){Mr(this._onDisabledChange,N)}_forEachChild(N){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(N){Wr(N)?(this.value=this._pendingValue=N.value,N.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=N}},Oo={provide:w,useExisting:(0,J.Rfq)(()=>Jr)},zo=Promise.resolve();let Jr=(()=>{class O extends w{_changeDetectorRef;callSetDisabledState;control=new lo;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new J.bkB;constructor(C,te,Ne,an,Cn,_r){super(),this._changeDetectorRef=Cn,this.callSetDisabledState=_r,this._parent=C,this._setValidators(te),this._setAsyncValidators(Ne),this.valueAccessor=function wr(O,N){if(!N)return null;let C,te,Ne;
1return Array.isArray(N),N.forEach(an=>{an.constructor===de?C=an:function or(O){return Object.getPrototypeOf(O.constructor)===re}(an)?te=an:Ne=an}),Ne||te||C||null}(0,an)}ngOnChanges(C){if(this._checkForErrors(),!this._registered||"name"in C){if(this._registered&&(this._checkName(),this.formDirective)){const te=C.name.previousValue;this.formDirective.removeControl({name:te,path:this._getPath(te)})}this._setUpControl()}"isDisabled"in C&&this._updateDisabled(C),function Sr(O,N){if(!O.hasOwnProperty("model"))return!1;const C=O.model;return!!C.isFirstChange()||!Object.is(N,C.currentValue)}(C,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(C){this.viewModel=C,this.update.emit(C)}_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(){Rt(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(C){zo.then(()=>{this.control.setValue(C,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(C){const te=C.isDisabled.currentValue,Ne=0!==te&&(0,B.L39)(te);zo.then(()=>{Ne&&!this.control.disabled?this.control.disable():!Ne&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(C){return this._parent?function it(O,N){return[...N.path,O]}(C,this._parent):[C]}static \u0275fac=function(te){return new(te||O)(_.rXU(A,9),_.rXU(Ke,10),_.rXU(ft,10),_.rXU($,10),_.rXU(B.gRc,8),_.rXU(Ft,8))};static \u0275dir=_.FsC({type:O,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:[_.Jv_([Oo]),_.Vt3,_.OA$]})}return O})(),Zr=(()=>{class O{static \u0275fac=function(te){return new(te||O)};static \u0275dir=_.FsC({type:O,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return O})();const x={provide:$,useExisting:(0,J.Rfq)(()=>Ee),multi:!0};let Ee=(()=>{class O extends re{writeValue(C){this.setProperty("value",C??"")}registerOnChange(C){this.onChange=te=>{C(""==te?null:parseFloat(te))}}static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(te,Ne){1&te&&_.bIt("input",function(Cn){return Ne.onChange(Cn.target.value)})("blur",function(){return Ne.onTouched()})},standalone:!1,features:[_.Jv_([x]),_.Vt3]})}return O})();const q={provide:$,useExisting:(0,J.Rfq)(()=>Bt),multi:!0};let et=(()=>{class O{_accessors=[];add(C,te){this._accessors.push([C,te])}remove(C){for(let te=this._accessors.length-1;te>=0;--te)if(this._accessors[te][1]===C)return void this._accessors.splice(te,1)}select(C){this._accessors.forEach(te=>{this._isSameGroup(te,C)&&te[1]!==C&&te[1].fireUncheck(C.value)})}_isSameGroup(C,te){return!!C[0].control&&C[0]._parent===te._control._parent&&C[1].name===te.name}static \u0275fac=function(te){return new(te||O)};static \u0275prov=J.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}return O})(),Bt=(()=>{class O extends re{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,J.WQX)(Ft,{optional:!0})??wn;constructor(C,te,Ne,an){super(C,te),this._registry=Ne,this._injector=an}ngOnInit(){this._control=this._injector.get(w),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(C){this._state=C===this.value,this.setProperty("checked",this._state)}registerOnChange(C){this._fn=C,this.onChange=()=>{C(this.value),this._registry.select(this)}}setDisabledState(C){(this.setDisabledStateFired||C||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",C),this.setDisabledStateFired=!0}fireUncheck(C){this.writeValue(C)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(te){return new(te||O)(_.rXU(_.sFG),_.rXU(_.aKT),_.rXU(et),_.rXU(J.zZn))};static \u0275dir=_.FsC({type:O,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(te,Ne){1&te&&_.bIt("change",function(){return Ne.onChange()})("blur",function(){return Ne.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[_.Jv_([q]),_.Vt3]})}return O})();const Jt={provide:$,useExisting:(0,J.Rfq)(()=>mn),multi:!0};let mn=(()=>{class O extends re{writeValue(C){this.setProperty("value",parseFloat(C))}registerOnChange(C){this.onChange=te=>{C(""==te?null:parseFloat(te))}}static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(te,Ne){1&te&&_.bIt("change",function(Cn){return Ne.onChange(Cn.target.value)})("input",function(Cn){return Ne.onChange(Cn.target.value)})("blur",function(){return Ne.onTouched()})},standalone:!1,features:[_.Jv_([Jt]),_.Vt3]})}return O})();const $o={provide:$,useExisting:(0,J.Rfq)(()=>Fi),multi:!0};function Pr(O,N){return null==O?`${N}`:(N&&"object"==typeof N&&(N="Object"),`${O}: ${N}`.slice(0,50))}let Fi=(()=>{class O extends re{value;_optionMap=new Map;_idCounter=0;set compareWith(C){this._compareWith=C}_compareWith=Object.is;appRefInjector=(0,J.WQX)(_.o8S).injector;destroyRef=(0,J.WQX)(J.abz);cdr=(0,J.WQX)(B.gRc);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.de
1stroyed||(this._queuedWrite=!0,(0,_.mal)({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(C){this.cdr.markForCheck(),this.value=C;const Ne=Pr(this._getOptionId(C),C);this.setProperty("value",Ne)}registerOnChange(C){this.onChange=te=>{this.value=this._getOptionValue(te),C(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(C){for(const te of this._optionMap.keys())if(this._compareWith(this._optionMap.get(te),C))return te;return null}_getOptionValue(C){const te=function _i(O){return O.split(":")[0]}(C);return this._optionMap.has(te)?this._optionMap.get(te):C}static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(te,Ne){1&te&&_.bIt("change",function(Cn){return Ne.onChange(Cn.target.value)})("blur",function(){return Ne.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[_.Jv_([$o]),_.Vt3]})}return O})(),ii=(()=>{class O{_element;_renderer;_select;id;constructor(C,te,Ne){this._element=C,this._renderer=te,this._select=Ne,this._select&&(this.id=this._select._registerOption())}set ngValue(C){null!=this._select&&(this._select._optionMap.set(this.id,C),this._setElementValue(Pr(this.id,C)),this._select._writeValueAfterRender())}set value(C){this._setElementValue(C),this._select?._writeValueAfterRender()}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(te){return new(te||O)(_.rXU(_.aKT),_.rXU(_.sFG),_.rXU(Fi,9))};static \u0275dir=_.FsC({type:O,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return O})();const Ui={provide:$,useExisting:(0,J.Rfq)(()=>Yo),multi:!0};function vi(O,N){return null==O?`${N}`:("string"==typeof N&&(N=`'${N}'`),N&&"object"==typeof N&&(N="Object"),`${O}: ${N}`.slice(0,50))}let Yo=(()=>{class O extends re{value;_optionMap=new Map;_idCounter=0;set compareWith(C){this._compareWith=C}_compareWith=Object.is;writeValue(C){let te;if(this.value=C,Array.isArray(C)){const Ne=C.map(an=>this._getOptionId(an));te=(an,Cn)=>{an._setSelected(Ne.indexOf(Cn)>-1)}}else te=Ne=>{Ne._setSelected(!1)};this._optionMap.forEach(te)}registerOnChange(C){this.onChange=te=>{const Ne=[],an=te.selectedOptions;if(void 0!==an){const Cn=an;for(let _r=0;_r<Cn.length;_r++){const so=this._getOptionValue(Cn[_r].value);Ne.push(so)}}else{const Cn=te.options;for(let _r=0;_r<Cn.length;_r++){const vr=Cn[_r];if(vr.selected){const so=this._getOptionValue(vr.value);Ne.push(so)}}}this.value=Ne,C(Ne)}}_registerOption(C){const te=(this._idCounter++).toString();return this._optionMap.set(te,C),te}_getOptionId(C){for(const te of this._optionMap.keys())if(this._compareWith(this._optionMap.get(te)._value,C))return te;return null}_getOptionValue(C){const te=function Ti(O){return O.split(":")[0]}(C);return this._optionMap.has(te)?this._optionMap.get(te)._value:C}static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(te,Ne){1&te&&_.bIt("change",function(Cn){return Ne.onChange(Cn.target)})("blur",function(){return Ne.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[_.Jv_([Ui]),_.Vt3]})}return O})(),es=(()=>{class O{_element;_renderer;_select;id;_value;constructor(C,te,Ne){this._element=C,this._renderer=te,this._select=Ne,this._select&&(this.id=this._select._registerOption(this))}set ngValue(C){null!=this._select&&(this._value=C,this._setElementValue(vi(this.id,C)),this._select.writeValue(this._select.value))}set value(C){this._select?(this._value=C,this._setElementValue(vi(this.id,C)),this._select.writeValue(this._select.value)):this._setElementValue(C)}_setElementValue(C){this._renderer.setProperty(this._element.nativeElement,"value",C)}_setSelected(C){this._renderer.setProperty(this._element.nativeElement,"selected",C)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
1),this._select.writeValue(this._select.value))}static \u0275fac=function(te){return new(te||O)(_.rXU(_.aKT),_.rXU(_.sFG),_.rXU(Yo,9))};static \u0275dir=_.FsC({type:O,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return O})();function si(O){return"number"==typeof O?O:parseFloat(O)}let Uo=(()=>{class O{_validator=nt;_onChange;_enabled;ngOnChanges(C){if(this.inputName in C){const te=this.normalizeInput(C[this.inputName].currentValue);this._enabled=this.enabled(te),this._validator=this._enabled?this.createValidator(te):nt,this._onChange?.()}}validate(C){return this._validator(C)}registerOnValidatorChange(C){this._onChange=C}enabled(C){return null!=C}static \u0275fac=function(te){return new(te||O)};static \u0275dir=_.FsC({type:O,features:[_.OA$]})}return O})();const Si={provide:Ke,useExisting:(0,J.Rfq)(()=>ai),multi:!0};let ai=(()=>{class O extends Uo{max;inputName="max";normalizeInput=C=>si(C);createValidator=C=>function vt(O){return N=>{if(null==N.value||null==O)return null;const C=parseFloat(N.value);return!isNaN(C)&&C>O?{max:{max:O,actual:N.value}}:null}}(C);static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(te,Ne){2&te&&_.BMQ("max",Ne._enabled?Ne.max:null)},inputs:{max:"max"},standalone:!1,features:[_.Jv_([Si]),_.Vt3]})}return O})();const Qo={provide:Ke,useExisting:(0,J.Rfq)(()=>Gr),multi:!0};let Gr=(()=>{class O extends Uo{min;inputName="min";normalizeInput=C=>si(C);createValidator=C=>function Zt(O){return N=>{if(null==N.value||null==O)return null;const C=parseFloat(N.value);return!isNaN(C)&&C<O?{min:{min:O,actual:N.value}}:null}}(C);static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(te,Ne){2&te&&_.BMQ("min",Ne._enabled?Ne.min:null)},inputs:{min:"min"},standalone:!1,features:[_.Jv_([Qo]),_.Vt3]})}return O})();const _e={provide:Ke,useExisting:(0,J.Rfq)(()=>ot),multi:!0};let ot=(()=>{class O extends Uo{maxlength;inputName="maxlength";normalizeInput=C=>function Bi(O){return"number"==typeof O?O:parseInt(O,10)}(C);createValidator=C=>st(C);static \u0275fac=(()=>{let C;return function(Ne){return(C||(C=_.xGo(O)))(Ne||O)}})();static \u0275dir=_.FsC({type:O,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(te,Ne){2&te&&_.BMQ("maxlength",Ne._enabled?Ne.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[_.Jv_([_e]),_.Vt3]})}return O})(),hn=(()=>{class O{static \u0275fac=function(te){return new(te||O)};static \u0275mod=_.$C({type:O});static \u0275inj=J.G2t({})}return O})(),lr=(()=>{class O{static withConfig(C){return{ngModule:O,providers:[{provide:Ft,useValue:C.callSetDisabledState??wn}]}}static \u0275fac=function(te){return new(te||O)};static \u0275mod=_.$C({type:O});static \u0275inj=J.G2t({imports:[hn]})}return O})()},52896(wt,Ce,a){"use strict";a.d(Ce,{CI:()=>re,EU:()=>k,Hl:()=>J,Q5:()=>S,jd:()=>B,mE:()=>Zt});var I=a(60414),D=a(46494),_=a(35547);class J{_doc;constructor($e){this._doc=$e}manager}let B=(()=>{class nt extends J{constructor(Me){super(Me)}supports(Me){return!0}addEventListener(Me,X,De,Re){return Me.addEventListener(X,De,Re),()=>this.removeEventListener(Me,X,De,Re)}removeEventListener(Me,X,De,Re){return Me.removeEventListener(X,De,Re)}static \u0275fac=function(X){return new(X||nt)(I.KVO(I.qQL))};static \u0275prov=I.jDH({token:nt,factory:nt.\u0275fac})}return nt})();const S=new I.nKC("");let k=(()=>{class nt{_zone;_plugins;_eventNameToPlugin=new Map;constructor(Me,X){this._zone=X,Me.forEach(Fe=>{Fe.manager=this});const De=Me.filter(Fe=>!(Fe instanceof B));this._plugins=De.slice().reverse();const Re=Me.find(Fe=>Fe instanceof B);Re&&this._plugins.push(Re)}addEventListener(Me,X,De,Re){return this._findPluginFor(X).addEventListener(Me,X,De,Re)}getZone(){return this._zone}_findPluginFor(Me){let X=this._eventNameToPlugin.get(Me);
1if(X)return X;if(X=this._plugins.find(Re=>Re.supports(Me)),!X)throw new I.buA(5101,!1);return this._eventNameToPlugin.set(Me,X),X}static \u0275fac=function(X){return new(X||nt)(I.KVO(S),I.KVO(I.SKi))};static \u0275prov=I.jDH({token:nt,factory:nt.\u0275fac})}return nt})();const R="ng-app-id";function H(nt){for(const $e of nt)$e.remove()}function ae(nt,$e){const Me=$e.createElement("style");return Me.textContent=nt,Me}function G(nt,$e){const Me=$e.createElement("link");return Me.setAttribute("rel","stylesheet"),Me.setAttribute("href",nt),Me}let re=(()=>{class nt{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(Me,X,De,Re={}){this.doc=Me,this.appId=X,this.nonce=De,function V(nt,$e,Me,X){const De=nt.head?.querySelectorAll(`style[${R}="${$e}"],link[${R}="${$e}"]`);if(De)for(const Re of De)Re.removeAttribute(R),Re instanceof HTMLLinkElement?X.set(Re.href.slice(Re.href.lastIndexOf("/")+1),{usage:0,elements:[Re]}):Re.textContent&&Me.set(Re.textContent,{usage:0,elements:[Re]})}(Me,X,this.inline,this.external),this.hosts.add(Me.head)}addStyles(Me,X){for(const De of Me)this.addUsage(De,this.inline,ae);X?.forEach(De=>this.addUsage(De,this.external,G))}removeStyles(Me,X){for(const De of Me)this.removeUsage(De,this.inline);X?.forEach(De=>this.removeUsage(De,this.external))}addUsage(Me,X,De){const Re=X.get(Me);Re?Re.usage++:X.set(Me,{usage:1,elements:[...this.hosts].map(Fe=>this.addElement(Fe,De(Me,this.doc)))})}removeUsage(Me,X){const De=X.get(Me);De&&(De.usage--,De.usage<=0&&(H(De.elements),X.delete(Me)))}ngOnDestroy(){for(const[,{elements:Me}]of[...this.inline,...this.external])H(Me);this.hosts.clear()}addHost(Me){this.hosts.add(Me);for(const[X,{elements:De}]of this.inline)De.push(this.addElement(Me,ae(X,this.doc)));for(const[X,{elements:De}]of this.external)De.push(this.addElement(Me,G(X,this.doc)))}removeHost(Me){this.hosts.delete(Me)}addElement(Me,X){return this.nonce&&X.setAttribute("nonce",this.nonce),Me.appendChild(X)}static \u0275fac=function(X){return new(X||nt)(I.KVO(I.qQL),I.KVO(_.sZ2),I.KVO(_.BIS,8),I.KVO(_.Agw))};static \u0275prov=I.jDH({token:nt,factory:nt.\u0275fac})}return nt})();const $={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"},we=/%COMP%/g,Z=new I.nKC("",{factory:()=>!0});function At(nt,$e){return $e.map(Me=>Me.replace(we,nt))}let Zt=(()=>{class nt{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(Me,X,De,Re,Fe,Xe,dt=null,ht=null){this.eventManager=Me,this.sharedStylesHost=X,this.appId=De,this.removeStylesOnCompDestroy=Re,this.doc=Fe,this.ngZone=Xe,this.nonce=dt,this.tracingService=ht,this.defaultRenderer=new vt(Me,Fe,Xe,this.tracingService)}createRenderer(Me,X){if(!Me||!X)return this.defaultRenderer;const De=this.getOrCreateRenderer(Me,X);return De instanceof tt?De.applyToHost(Me):De instanceof st&&De.applyStyles(),De}getOrCreateRenderer(Me,X){const De=this.rendererByCompId;let Re=De.get(X.id);if(!Re){const Fe=this.doc,Xe=this.ngZone,dt=this.eventManager,ht=this.sharedStylesHost,Dt=this.removeStylesOnCompDestroy,yt=this.tracingService;switch(X.encapsulation){case _.gXe.Emulated:Re=new tt(dt,ht,X,this.appId,Dt,Fe,Xe,yt);break;case _.gXe.ShadowDom:return new Je(dt,Me,X,Fe,Xe,this.nonce,yt,ht);case _.gXe.ExperimentalIsolatedShadowDom:return new Je(dt,Me,X,Fe,Xe,this.nonce,yt);default:Re=new st(dt,ht,X,Dt,Fe,Xe,yt)}De.set(X.id,Re)}return Re}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(Me){this.rendererByCompId.delete(Me)}static \u0275fac=function(X){return new(X||nt)(I.KVO(k),I.KVO(re),I.KVO(_.sZ2),I.KVO(Z),I.KVO(I.qQL),I.KVO(I.SKi),I.KVO(_.BIS),I.KVO(_.a8H,8))};static \u0275prov=I.jDH({token:nt,factory:nt.\u0275fac})}return nt})();class vt{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor($e,Me,X,De){this.eventManager=$e,this.doc=Me,this.ngZone=X,this.tracingService=De}destroy(){}destroyNode=null;createElement($e,Me){return Me?this.doc.createElementNS($[Me]||Me,$e):this.doc.createElement($e)}createComment($e){return this.doc.createComment($e)}createText($e){return this.doc.createTextNode($e)}appendChild($e,Me){(xe($e)?$e.content:$e).appendChild(Me)}insertBefore($e,Me,X){$e&&(xe($e)?$e.content:$e).insertBefore(Me,X)}removeChild($e,Me){Me.remove()}selectRootElement($e,Me){let X="string"==typeof $e?this.doc.querySelector($e):$e;if(!X)throw new I.buA(-5104,!1);return Me||(X.textContent=""),X}parentNode($e){return $e.parentNode}
1nextSibling($e){return $e.nextSibling}setAttribute($e,Me,X,De){if(De){Me=De+":"+Me;const Re=$[De];Re?$e.setAttributeNS(Re,Me,X):$e.setAttribute(Me,X)}else $e.setAttribute(Me,X)}removeAttribute($e,Me,X){if(X){const De=$[X];De?$e.removeAttributeNS(De,Me):$e.removeAttribute(`${X}:${Me}`)}else $e.removeAttribute(Me)}addClass($e,Me){$e.classList.add(Me)}removeClass($e,Me){$e.classList.remove(Me)}setStyle($e,Me,X,De){De&(_.czy.DashCase|_.czy.Important)?$e.style.setProperty(Me,X,De&_.czy.Important?"important":""):$e.style[Me]=X}removeStyle($e,Me,X){X&_.czy.DashCase?$e.style.removeProperty(Me):$e.style[Me]=""}setProperty($e,Me,X){null!=$e&&($e[Me]=X)}setValue($e,Me){$e.nodeValue=Me}listen($e,Me,X,De){if("string"==typeof $e&&!($e=(0,D.rb)().getGlobalEventTarget(this.doc,$e)))throw new I.buA(5102,!1);let Re=this.decoratePreventDefault(X);return this.tracingService?.wrapEventListener&&(Re=this.tracingService.wrapEventListener($e,Me,Re)),this.eventManager.addEventListener($e,Me,Re,De)}decoratePreventDefault($e){return Me=>{if("__ngUnwrap__"===Me)return $e;!1===$e(Me)&&Me.preventDefault()}}}function xe(nt){return"TEMPLATE"===nt.tagName&&void 0!==nt.content}class Je extends vt{hostEl;sharedStylesHost;shadowRoot;constructor($e,Me,X,De,Re,Fe,Xe,dt){super($e,De,Re,Xe),this.hostEl=Me,this.sharedStylesHost=dt,this.shadowRoot=Me.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let ht=X.styles;ht=At(X.id,ht);for(const yt of ht){const Ut=document.createElement("style");Fe&&Ut.setAttribute("nonce",Fe),Ut.textContent=yt,this.shadowRoot.appendChild(Ut)}const Dt=X.getExternalStyles?.();if(Dt)for(const yt of Dt){const Ut=G(yt,De);Fe&&Ut.setAttribute("nonce",Fe),this.shadowRoot.appendChild(Ut)}}nodeOrShadowRoot($e){return $e===this.hostEl?this.shadowRoot:$e}appendChild($e,Me){return super.appendChild(this.nodeOrShadowRoot($e),Me)}insertBefore($e,Me,X){return super.insertBefore(this.nodeOrShadowRoot($e),Me,X)}removeChild($e,Me){return super.removeChild(null,Me)}parentNode($e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($e)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class st extends vt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor($e,Me,X,De,Re,Fe,Xe,dt){super($e,Re,Fe,Xe),this.sharedStylesHost=Me,this.removeStylesOnCompDestroy=De;let ht=X.styles;this.styles=dt?At(dt,ht):ht,this.styleUrls=X.getExternalStyles?.(dt)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===_.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class tt extends st{contentAttr;hostAttr;constructor($e,Me,X,De,Re,Fe,Xe,dt){const ht=De+"-"+X.id;super($e,Me,X,Re,Fe,Xe,dt,ht),this.contentAttr=function Ke(nt){return"_ngcontent-%COMP%".replace(we,nt)}(ht),this.hostAttr=function ft(nt){return"_nghost-%COMP%".replace(we,nt)}(ht)}applyToHost($e){this.applyStyles(),this.setAttribute($e,this.hostAttr,"")}createElement($e,Me){const X=super.createElement($e,Me);return super.setAttribute(X,this.contentAttr,""),X}}},81230(wt,Ce,a){"use strict";a.d(Ce,{up:()=>rt,W8:()=>yn,hE:()=>yr,$x:()=>Xr,rQ:()=>Or});var I=a(46494),D=a(60414),_=a(35547),J=a(17705),B=a(91413),k=(a(76307),a(7673));a(88141);const ve=new D.nKC(""),be="b",K="h",de="s",fe="st",Z="u",Ke="rt",ft=new D.nKC(""),At=["GET","HEAD"];function jt(Tt,Gt){const{isCacheActive:Ze,...qe}=Gt,{transferCache:un,method:Ln}=Tt;return!(!Ze||!1===un||function xe(Tt){const{withCredentials:Gt,credentials:Ze}=Tt;return Gt||"include"===Ze||"same-origin"===Ze}(Tt)||"POST"===Ln&&!qe.includePostRequests&&!un||"POST"!==Ln&&!At.includes(Ln)||!qe.includeRequestsWithAuthHeaders&&function Pe(Tt){const Gt=Tt.headers;return Gt.has("authorization")||Gt.has("proxy-authorization")||Gt.has("cookie")}(Tt)||function st(Tt){const Gt=Tt.get("cache-control");return!!Gt&&Gt.split(",").some(Ze=>{const qe=Ze.split("=",1)[0].trim().toLowerCase();return Je.has(qe)})}(Tt.headers)||function tt(Tt){return"no-cache"===Tt||"no-store"===Tt}(Tt.cache)||!1===qe.filter?.(Tt))}function pt(Tt,Gt){const Ze=(0,D.WQX)(ft);
1if(!jt(Tt,Ze))return Gt(Tt);const qe=(0,D.WQX)(_.pJN),Mn=((0,D.WQX)(ve,{optional:!0}),function vt(Tt,Gt,Ze,qe,un,Ln=!1){if(!Ln&&!jt(Tt,Gt))return null;if(qe)throw new D.buA(2803,!1);un||(un=Me(Tt,Tt.url));const kn=Ze.get(un,null);if(!kn)return null;const{[be]:Mn,[Ke]:Vn,[K]:gr,[de]:Cr,[fe]:Ft,[Z]:wn}=kn;let it=Mn;switch(Vn){case"arraybuffer":it=De(Mn);break;case"blob":it=new Blob([De(Mn)])}let Rt=new B.Lr(gr);return new B.cS({body:it,headers:Rt,status:Cr,statusText:Ft,url:wn})}(Tt,Ze,qe,null,Me(Tt,Tt.url),!0));return Mn?(0,k.of)(Mn):Gt(Tt)}const Je=new Set(["no-store","private","no-cache"]);function $e(Tt){return[...Tt.keys()].sort().map(Gt=>`${Gt}=${Tt.getAll(Gt)}`).join("&")}function Me(Tt,Gt){const{params:Ze,method:qe,responseType:un}=Tt,Ln=$e(Ze);let kn=Tt.serializeBody();kn instanceof URLSearchParams?kn=$e(kn):"string"!=typeof kn&&(kn="");const Vn=function yt(Tt){Dt??=new TextEncoder;const Gt=Dt.encode(Tt);let Ze=1779033703,qe=3144134277,un=1013904242,Ln=2773480762,kn=1359893119,Mn=2600822924,Vn=528734635,gr=1541459225;const Cr=8*Gt.length,Ft=1+(Gt.length+8>>6)<<6,wn=new Uint8Array(Ft);wn.set(Gt),wn[Gt.length]=128;const it=new DataView(wn.buffer),Rt=Cr>>>0;it.setUint32(Ft-8,Cr/4294967296>>>0,!1),it.setUint32(Ft-4,Rt,!1);const qt=new Uint32Array(64);for(let Nn=0;Nn<Ft;Nn+=64){for(let Ct=0;Ct<16;Ct++)qt[Ct]=it.getUint32(Nn+4*Ct,!1);for(let Ct=16;Ct<64;Ct++){const sn=qt[Ct-15],Gn=qt[Ct-2];qt[Ct]=qt[Ct-16]+(((sn>>>7|sn<<25)^(sn>>>18|sn<<14)^sn>>>3)>>>0)+qt[Ct-7]+(((Gn>>>17|Gn<<15)^(Gn>>>19|Gn<<13)^Gn>>>10)>>>0)>>>0}let tr=Ze,Kn=qe,pe=un,Be=Ln,Se=kn,Le=Mn,ke=Vn,xt=gr;for(let Ct=0;Ct<64;Ct++){const Gn=xt+(((Se>>>6|Se<<26)^(Se>>>11|Se<<21)^(Se>>>25|Se<<7))>>>0)+((Se&Le^~Se&ke)>>>0)+ht[Ct]+qt[Ct]>>>0,Sr=(tr&Kn^tr&pe^Kn&pe)>>>0;xt=ke,ke=Le,Le=Se,Se=Be+Gn>>>0,Be=pe,pe=Kn,Kn=tr,tr=Gn+((((tr>>>2|tr<<30)^(tr>>>13|tr<<19)^(tr>>>22|tr<<10))>>>0)+Sr>>>0)>>>0}Ze=Ze+tr>>>0,qe=qe+Kn>>>0,un=un+pe>>>0,Ln=Ln+Be>>>0,kn=kn+Se>>>0,Mn=Mn+Le>>>0,Vn=Vn+ke>>>0,gr=gr+xt>>>0}return[Ze,qe,un,Ln,kn,Mn,Vn,gr].map(Nn=>Nn.toString(16).padStart(8,"0")).join("")}([qe,un,Gt,kn,Ln].join("|"));return(0,_.zw6)(Vn)}function De(Tt){const Gt=atob(Tt);return Uint8Array.from(Gt,qe=>qe.charCodeAt(0)).buffer}function Re(Tt){return[{provide:ft,useFactory:()=>((0,_._jY)("NgHttpTransferCache"),{isCacheActive:!0,...Tt})},{provide:B.Ml,useValue:pt,multi:!0},{provide:_.iLQ,multi:!0,useFactory:()=>{const Gt=(0,D.WQX)(_.o8S),Ze=(0,D.WQX)(ft);return()=>{Gt.whenStable().then(()=>{Ze.isCacheActive=!1})}}}]}const ht=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let Dt,yn=(()=>{class Tt{_doc;_dom;constructor(Ze){this._doc=Ze,this._dom=(0,I.rb)()}addTag(Ze,qe=!1){return Ze?this._getOrCreateElement(Ze,qe):null}addTags(Ze,qe=!1){return Ze?Ze.reduce((un,Ln)=>(Ln&&un.push(this._getOrCreateElement(Ln,qe)),un),[]):[]}getTag(Ze){if(!Ze)return null;const qe=this._doc.querySelector(`meta[${Ze}]`);return"meta"===qe?.nodeName.toLowerCase()?qe:null}getTags(Ze){if(!Ze)return[];const qe=this._doc.querySelectorAll(`meta[${Ze}]`);return qe?[].slice.call(qe).filter(un=>"meta"===un.nodeName.toLowerCase()):[]}updateTag(Ze,qe){if(!Ze)return null;qe=qe||this._parseSelector(Ze);const un=this.getTag(qe);return un?this._setMetaElementAttributes(Ze,un):this._getOrCreateElement(Ze,!0)}removeTag(Ze){this.removeTagElement(this.getTag(Ze))}removeTagElement(Ze){Ze&&this._dom.remove(Ze)}_getOrCreateElement(Ze,qe=!1){if(!qe){const kn=this._parseSelector(Ze),Mn=this.getTags(kn).filter(Vn=>this._containsAttributes(Ze,Vn))[0];if(void 0!==Mn)return Mn}const un=this._dom.createElement("meta");return this._setMetaElementAttributes(Ze,un),this._doc.getElementsByTagName("head")[0].appendChild(u
1n),un}_setMetaElementAttributes(Ze,qe){return Object.keys(Ze).forEach(un=>qe.setAttribute(this._getMetaKeyMap(un),Ze[un])),qe}_parseSelector(Ze){const qe=Ze.name?"name":"property";return`${qe}=${this._escapeSelectorValue(String(Ze[qe]))}`}_escapeSelectorValue(Ze){return`"${Ze.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(Ze,qe){return Object.keys(Ze).every(un=>qe.getAttribute(this._getMetaKeyMap(un))===Ze[un])}_getMetaKeyMap(Ze){return Rn[Ze]||Ze}static \u0275fac=function(qe){return new(qe||Tt)(D.KVO(D.qQL))};static \u0275prov=D.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}return Tt})();const Rn={httpEquiv:"http-equiv"};let yr=(()=>{class Tt{_doc;constructor(Ze){this._doc=Ze}getTitle(){return this._doc.title}setTitle(Ze){this._doc.title=Ze||""}static \u0275fac=function(qe){return new(qe||Tt)(D.KVO(D.qQL))};static \u0275prov=D.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}return Tt})(),rt=(()=>{class Tt{static \u0275fac=function(qe){return new(qe||Tt)};static \u0275prov=D.jDH({token:Tt,factory:function(qe){let un=null;return un=qe?new(qe||Tt):D.KVO(Ye),un},providedIn:"root"})}return Tt})(),Ye=(()=>{class Tt extends rt{_doc;constructor(Ze){super(),this._doc=Ze}sanitize(Ze,qe){if(null==qe)return null;switch(Ze){case _.WPN.NONE:return qe;case _.WPN.HTML:return(0,_.iWE)(qe,"HTML")?(0,_.aCM)(qe):(0,_.wr$)(this._doc,String(qe)).toString();case _.WPN.STYLE:return(0,_.iWE)(qe,"Style")?(0,_.aCM)(qe):qe;case _.WPN.SCRIPT:if((0,_.iWE)(qe,"Script"))return(0,_.aCM)(qe);throw new D.buA(5200,!1);case _.WPN.URL:return(0,_.iWE)(qe,"URL")?(0,_.aCM)(qe):(0,_.gil)(String(qe));case _.WPN.RESOURCE_URL:if((0,_.iWE)(qe,"ResourceURL"))return(0,_.aCM)(qe);throw new D.buA(5201,!1);default:throw new D.buA(5202,!1)}}bypassSecurityTrustHtml(Ze){return(0,_.PYC)(Ze)}bypassSecurityTrustStyle(Ze){return(0,_.rAh)(Ze)}bypassSecurityTrustScript(Ze){return(0,_.p2i)(Ze)}bypassSecurityTrustUrl(Ze){return(0,_.B1s)(Ze)}bypassSecurityTrustResourceUrl(Ze){return(0,_.RPW)(Ze)}static \u0275fac=function(qe){return new(qe||Tt)(D.KVO(D.qQL))};static \u0275prov=D.jDH({token:Tt,factory:Tt.\u0275fac,providedIn:"root"})}return Tt})();var Et=function(Tt){return Tt[Tt.NoHttpTransferCache=0]="NoHttpTransferCache",Tt[Tt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Tt[Tt.I18nSupport=2]="I18nSupport",Tt[Tt.EventReplay=3]="EventReplay",Tt[Tt.IncrementalHydration=4]="IncrementalHydration",Tt}(Et||{});function Or(){return function Xt(Tt,Gt=[],Ze={}){return{\u0275kind:Tt,\u0275providers:Gt}}(Et.IncrementalHydration,(0,J.C1y)())}function Xr(...Tt){const Gt=[],Ze=new Set;for(const{\u0275providers:un,\u0275kind:Ln}of Tt)Ze.add(Ln),un.length&&Gt.push(un);const qe=Ze.has(Et.HttpTransferCacheOptions);return(0,D.EmA)([[],[],(0,J.M8M)(),Ze.has(Et.NoHttpTransferCache)||qe?[]:Re({}),Gt])}},99829(wt,Ce,a){"use strict";a.d(Ce,{nX:()=>Jt,Pu:()=>Ji,Zp:()=>Jr,nU:()=>Kr,wU:()=>xt,c1:()=>io,XR:()=>zi,wF:()=>Gn,lW:()=>wr,mo:()=>Sr,Z:()=>An,J2:()=>gs,J_:()=>$i,bw:()=>hi,tD:()=>oi,Ix:()=>as,D$:()=>Ei,n3:()=>Fo,OY:()=>Sn,fN:()=>Hs,Sd:()=>Lr,el:()=>yn,bK:()=>Ps,gk:()=>Li,Lg:()=>Ns,tE:()=>A,$m:()=>ye,wO:()=>qe,Us:()=>Oo,E:()=>w,we:()=>Go});var I=a(10467),D=a(60414),_=a(45984),J=a(35547),B=a(76307),S=a(17705),k=a(71985),R=a(98071);function H(p){return!!p&&(p instanceof k.c||(0,R.T)(p.lift)&&(0,R.T)(p.subscribe))}var ae=a(86648),V=a(7673),G=a(84412),re=a(84572),$=a(9350),we=a(28793),me=a(59030),ve=a(71203),be=a(983),K=a(18810),de=a(21413),fe=a(18359),Z=a(52906),Ke=a(96354),ft=a(25558),At=a(96697),jt=a(99172),Zt=a(5964),vt=a(56977),pt=a(31397),Pe=a(70274),xe=a(88141),Je=a(39974),st=a(54360);function tt(p){return p<=0?()=>be.w:(0,Je.N)((M,v)=>{let T=[];M.subscribe((0,st._)(v,W=>{T.push(W),p<T.length&&T.shift()},()=>{for(const W of T)v.next(W);v.complete()},void 0,()=>{T=null}))})}var nt=a(99437),$e=a(70980),Me=a(81230);const X="primary",De=Symbol("RouteTitle");class Re{params;constructor(M){this.params=M||{}}has(M){return Object.prototype.hasOwnProperty.call(this.params,M)}get(M){if(this.has(M)){const v=this.params[M];return Array.isArray(v)?v[0]:v}return null}getAll(M){if(this.has(M)){const v=this.params[M];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function Fe(p){return new Re(p)}function Xe(p,M,v){for(let T=0;T<p.length;T++){const W=p[T],ge=M[T];if(":"===W[0])v[W.substring(1)]=ge;else if(W!==ge.path)return!1}return!0}function dt(p,M,v){const T=v.path.split("/"),W=T.indexOf("**");if(-1===W){if(T.length>p.length||"full"===v.pathMatch&&(M.hasChildren()||T.length<p.length))return null;const Lt={},Vt=p.slice(0,T.length);return Xe(T,Vt,Lt)?{consumed:Vt,posParams:Lt}:null}if(W!==T.lastIndexOf("**"))return null;const ge=T.slice(0,W),je=T.slice(W+1);if(ge.length+je.length>p.length||"full"===v.pathMatch&&M.hasChildren()&&"**"!==v.path)return null;const Ie={};return Xe(ge,p.slice(0,ge.length),Ie)&&Xe(je,p.slice(p.length-je.length),Ie)?{consumed:p,posParams:Ie}:null}function ht(p){return new Promise((M,v)=>{p.pipe((0,Z.$)()).subscribe({next:T=>M(T),error:T=>v(T)})})}
1function yt(p,M){const v=p?Ut(p):void 0,T=M?Ut(M):void 0;if(!v||!T||v.length!=T.length)return!1;let W;for(let ge=0;ge<v.length;ge++)if(W=v[ge],!Ht(p[W],M[W]))return!1;return!0}function Ut(p){return[...Object.keys(p),...Object.getOwnPropertySymbols(p)]}function Ht(p,M){if(Array.isArray(p)&&Array.isArray(M)){if(p.length!==M.length)return!1;const v=[...p].sort(),T=[...M].sort();return v.every((W,ge)=>T[ge]===W)}return p===M}function fn(p){return H(p)?p:(0,J.yLl)(p)?(0,ae.H)(Promise.resolve(p)):(0,V.of)(p)}function o(p){return H(p)?ht(p):Promise.resolve(p)}const mt={exact:function Oe(p,M,v){if(!xr(p.segments,M.segments)||!vn(p.segments,M.segments,v)||p.numberOfChildren!==M.numberOfChildren)return!1;for(const T in M.children)if(!p.children[T]||!Oe(p.children[T],M.children[T],v))return!1;return!0},subset:nn},ne={exact:function Nt(p,M){return yt(p,M)},subset:function Pt(p,M){return Object.keys(M).length<=Object.keys(p).length&&Object.keys(M).every(v=>Ht(p[v],M[v]))},ignored:()=>!0},A={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},w={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function ye(p,M,v){const T=p instanceof yn?p:M.parseUrl(p);return(0,B.EW)(()=>Ge(M.lastSuccessfulNavigation()?.finalUrl??new yn,T,{...w,...v}))}function Ge(p,M,v){return mt[v.paths](p.root,M.root,v.matrixParams)&&ne[v.queryParams](p.queryParams,M.queryParams)&&!("exact"===v.fragment&&p.fragment!==M.fragment)}function nn(p,M,v){return gn(p,M,M.segments,v)}function gn(p,M,v,T){if(p.segments.length>v.length){const W=p.segments.slice(0,v.length);return!(!xr(W,v)||M.hasChildren()||!vn(W,v,T))}if(p.segments.length===v.length){if(!xr(p.segments,v)||!vn(p.segments,v,T))return!1;for(const W in M.children)if(!p.children[W]||!nn(p.children[W],M.children[W],T))return!1;return!0}{const W=v.slice(0,p.segments.length),ge=v.slice(p.segments.length);return!!(xr(p.segments,W)&&vn(p.segments,W,T)&&p.children[X])&&gn(p.children[X],M,ge,T)}}function vn(p,M,v){return M.every((T,W)=>ne[v](p[W].parameters,T.parameters))}class yn{root;queryParams;fragment;_queryParamMap;constructor(M=new Rn([],{}),v={},T=null){this.root=M,this.queryParams=v,this.fragment=T}get queryParamMap(){return this._queryParamMap??=Fe(this.queryParams),this._queryParamMap}toString(){return jr.serialize(this)}}class Rn{segments;children;parent=null;constructor(M,v){this.segments=M,this.children=v,Object.values(v).forEach(T=>T.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return On(this)}}class yr{path;parameters;_parameterMap;constructor(M,v){this.path=M,this.parameters=v}get parameterMap(){return this._parameterMap??=Fe(this.parameters),this._parameterMap}toString(){return rt(this)}}function xr(p,M){return p.length===M.length&&p.every((v,T)=>v.path===M[T].path)}let Lr=(()=>{class p{static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:()=>new Kr,providedIn:"root"})}return p})();class Kr{parse(M){const v=new Mo(M);return new yn(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(M){const v=`/${eo(M.root,!0)}`,T=function Et(p){const M=Object.entries(p).map(([v,T])=>Array.isArray(T)?T.map(W=>`${bo(v)}=${bo(W)}`).join("&"):`${bo(v)}=${bo(T)}`).filter(v=>v);return M.length?`?${M.join("&")}`:""}(M.queryParams);return`${v}${T}${"string"==typeof M.fragment?`#${function Lo(p){return encodeURI(p)}(M.fragment)}`:""}`}}const jr=new Kr;function On(p){return p.segments.map(M=>rt(M)).join("/")}function eo(p,M){if(!p.hasChildren())return On(p);if(M){const v=p.children[X]?eo(p.children[X],!1):"",T=[];return Object.entries(p.children).forEach(([W,ge])=>{W!==X&&T.push(`${W}:${eo(ge,!1)}`)}),T.length>0?`${v}(${T.join("//")})`:v}{const v=function No(p,M){let v=[];return Object.entries(p.children).forEach(([T,W])=>{T===X&&(v=v.concat(M(W,T)))}),Object.entries(p.children).forEach(([T,W])=>{T!==X&&(v=v.concat(M(W,T)))}),v}(p,(T,W)=>W===X?[eo(p.children[X],!1)]:[`${W}:${eo(T,!1)}`]);return 1===Object.keys(p.children).length&&null!=p.children[X]?`${On(p)}/${v[0]}`:`${On(p)}/(${v.join("//")})`}}function go(p){return encodeURIComponent(p).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bo(p){return go(p).replace(/%3B/gi,";")}function xo(p){return go(p).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hr(p){return decodeURIComponent(p)}function Vr(p){return Hr(p.replace(/\+/g,"%20"))}function rt(p){return`${xo(p.path)}${function Ye(p){return Object.entries(p).map(([M,v])=>`;${xo(M)}=${xo(v)}`).join("")}(p.parameters)}`}const Xt=/^[^\/()?;#]+/;function en(p){const M=p.match(Xt);return M?M[0]:""}const er=/^[^\/()?;=#]+/,Dr=/^[^=?&#]+/,Ir=/^[^&#]+/;class Mo{url;remaining;constructor(M){this.url=M,this.remaining=M}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Rn([],{}):new Rn([],this.parseChildren())}parseQueryParams(){const M={};if(this.consumeOptional("?"))do{this.parseQueryParam(M)}while(this.consumeOptional("&"));return M}
1parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(M=0){if(M>50)throw new D.buA(4010,!1);if(""===this.remaining)return{};this.consumeOptional("/");const v=[];for(this.peekStartsWith("(")||v.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),v.push(this.parseSegment());let T={};this.peekStartsWith("/(")&&(this.capture("/"),T=this.parseParens(!0,M));let W={};return this.peekStartsWith("(")&&(W=this.parseParens(!1,M)),(v.length>0||Object.keys(T).length>0)&&(W[X]=new Rn(v,T)),W}parseSegment(){const M=en(this.remaining);if(""===M&&this.peekStartsWith(";"))throw new D.buA(4009,!1);return this.capture(M),new yr(Hr(M),this.parseMatrixParams())}parseMatrixParams(){const M={};for(;this.consumeOptional(";");)this.parseParam(M);return M}parseParam(M){const v=function Er(p){const M=p.match(er);return M?M[0]:""}(this.remaining);if(!v)return;this.capture(v);let T="";if(this.consumeOptional("=")){const W=en(this.remaining);W&&(T=W,this.capture(T))}M[Hr(v)]=Hr(T)}parseQueryParam(M){const v=function Or(p){const M=p.match(Dr);return M?M[0]:""}(this.remaining);if(!v)return;this.capture(v);let T="";if(this.consumeOptional("=")){const je=function Xr(p){const M=p.match(Ir);return M?M[0]:""}(this.remaining);je&&(T=je,this.capture(T))}const W=Vr(v),ge=Vr(T);if(M.hasOwnProperty(W)){let je=M[W];Array.isArray(je)||(je=[je],M[W]=je),je.push(ge)}else M[W]=ge}parseParens(M,v){const T={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const W=en(this.remaining),ge=this.remaining[W.length];if("/"!==ge&&")"!==ge&&";"!==ge)throw new D.buA(4010,!1);let je;W.indexOf(":")>-1?(je=W.slice(0,W.indexOf(":")),this.capture(je),this.capture(":")):M&&(je=X);const Ie=this.parseChildren(v+1);T[je??X]=1===Object.keys(Ie).length&&Ie[X]?Ie[X]:new Rn([],Ie),this.consumeOptional("//")}return T}peekStartsWith(M){return this.remaining.startsWith(M)}consumeOptional(M){return!!this.peekStartsWith(M)&&(this.remaining=this.remaining.substring(M.length),!0)}capture(M){if(!this.consumeOptional(M))throw new D.buA(4011,!1)}}function Tt(p){return p.segments.length>0?new Rn([],{[X]:p}):p}function Gt(p){const M={};for(const[T,W]of Object.entries(p.children)){const ge=Gt(W);if(T===X&&0===ge.segments.length&&ge.hasChildren())for(const[je,Ie]of Object.entries(ge.children))M[je]=Ie;else(ge.segments.length>0||ge.hasChildren())&&(M[T]=ge)}return function Ze(p){if(1===p.numberOfChildren&&p.children[X]){const M=p.children[X];return new Rn(p.segments.concat(M.segments),M.children)}return p}(new Rn(p.segments,M))}function qe(p){return p instanceof yn}function Ln(p){let M;const W=Tt(function v(ge){const je={};for(const Lt of ge.children){const Vt=v(Lt);je[Lt.outlet]=Vt}const Ie=new Rn(ge.url,je);return ge===p&&(M=Ie),Ie}(p.root));return M??W}function kn(p,M,v,T,W){let ge=p;for(;ge.parent;)ge=ge.parent;if(0===M.length)return Cr(ge,ge,ge,v,T,W);const je=function it(p){if("string"==typeof p[0]&&1===p.length&&"/"===p[0])return new wn(!0,0,p);let M=0,v=!1;const T=p.reduce((W,ge,je)=>{if("object"==typeof ge&&null!=ge){if(ge.outlets){const Ie={};return Object.entries(ge.outlets).forEach(([Lt,Vt])=>{Ie[Lt]="string"==typeof Vt?Vt.split("/"):Vt}),[...W,{outlets:Ie}]}if(ge.segmentPath)return[...W,ge.segmentPath]}return"string"!=typeof ge?[...W,ge]:0===je?(ge.split("/").forEach((Ie,Lt)=>{0==Lt&&"."===Ie||(0==Lt&&""===Ie?v=!0:".."===Ie?M++:""!=Ie&&W.push(Ie))}),W):[...W,ge]},[]);return new wn(v,M,T)}(M);if(je.toRoot())return Cr(ge,ge,new Rn([],{}),v,T,W);const Ie=function ln(p,M,v){if(p.isAbsolute)return new Rt(M,!0,0);if(!v)return new Rt(M,!1,NaN);if(null===v.parent)return new Rt(v,!0,0);const T=Mn(p.commands[0])?0:1;return function qt(p,M,v){let T=p,W=M,ge=v;for(;ge>W;){if(ge-=W,T=T.parent,!T)throw new D.buA(4005,!1);W=T.segments.length}return new Rt(T,!1,W-ge)}(v,v.segments.length-1+T,p.numberOfDoubleDots)}(je,ge,p),Lt=Ie.processChildren?Kn(Ie.segmentGroup,Ie.index,je.commands):tr(Ie.segmentGroup,Ie.index,je.commands);return Cr(ge,Ie.segmentGroup,Lt,v,T,W)}function Mn(p){return"object"==typeof p&&null!=p&&!p.outlets&&!p.segmentPath}function Vn(p){return"object"==typeof p&&null!=p&&p.outlets}function gr(p,M,v){p||="\u0275";const T=new yn;return T.queryParams={[p]:M},v.parse(v.serialize(T)).queryParams[p]}function Cr(p,M,v,T,W,ge){const je={};for(const[Vt,Pn]of Object.entries(T??{}))je[Vt]=Array.isArray(Pn)?Pn.map(sr=>gr(Vt,sr,ge)):gr(Vt,Pn,ge);let Ie;Ie=p===M?v:Ft(p,M,v);const Lt=Tt(Gt(Ie));return new yn(Lt,je,W)}function Ft(p,M,v){const T={};
1return Object.entries(p.children).forEach(([W,ge])=>{T[W]=ge===M?v:Ft(ge,M,v)}),new Rn(p.segments,T)}class wn{isAbsolute;numberOfDoubleDots;commands;constructor(M,v,T){if(this.isAbsolute=M,this.numberOfDoubleDots=v,this.commands=T,M&&T.length>0&&Mn(T[0]))throw new D.buA(4003,!1);const W=T.find(Vn);if(W&&W!==function Dn(p){return p.length>0?p[p.length-1]:null}(T))throw new D.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rt{segmentGroup;processChildren;index;constructor(M,v,T){this.segmentGroup=M,this.processChildren=v,this.index=T}}function tr(p,M,v){if(p??=new Rn([],{}),0===p.segments.length&&p.hasChildren())return Kn(p,M,v);const T=function pe(p,M,v){let T=0,W=M;const ge={match:!1,pathIndex:0,commandIndex:0};for(;W<p.segments.length;){if(T>=v.length)return ge;const je=p.segments[W],Ie=v[T];if(Vn(Ie))break;const Lt=`${Ie}`,Vt=T<v.length-1?v[T+1]:null;if(W>0&&void 0===Lt)break;if(Lt&&Vt&&"object"==typeof Vt&&void 0===Vt.outlets){if(!ke(Lt,Vt,je))return ge;T+=2}else{if(!ke(Lt,{},je))return ge;T++}W++}return{match:!0,pathIndex:W,commandIndex:T}}(p,M,v),W=v.slice(T.commandIndex);if(T.match&&T.pathIndex<p.segments.length){const ge=new Rn(p.segments.slice(0,T.pathIndex),{});return ge.children[X]=new Rn(p.segments.slice(T.pathIndex),p.children),Kn(ge,0,W)}return T.match&&0===W.length?new Rn(p.segments,{}):T.match&&!p.hasChildren()?Be(p,M,v):T.match?Kn(p,0,W):Be(p,M,v)}function Kn(p,M,v){if(0===v.length)return new Rn(p.segments,{});{const T=function Nn(p){return Vn(p[0])?p[0].outlets:{[X]:p}}(v),W={};if(Object.keys(T).some(ge=>ge!==X)&&p.children[X]&&1===p.numberOfChildren&&0===p.children[X].segments.length){const ge=Kn(p.children[X],M,v);return new Rn(p.segments,ge.children)}return Object.entries(T).forEach(([ge,je])=>{"string"==typeof je&&(je=[je]),null!==je&&(W[ge]=tr(p.children[ge],M,je))}),Object.entries(p.children).forEach(([ge,je])=>{void 0===T[ge]&&(W[ge]=je)}),new Rn(p.segments,W)}}function Be(p,M,v){const T=p.segments.slice(0,M);let W=0;for(;W<v.length;){const ge=v[W];if(Vn(ge)){const Lt=Se(ge.outlets);return new Rn(T,Lt)}if(0===W&&Mn(v[0])){T.push(new yr(p.segments[M].path,Le(v[0]))),W++;continue}const je=Vn(ge)?ge.outlets[X]:`${ge}`,Ie=W<v.length-1?v[W+1]:null;je&&Ie&&Mn(Ie)?(T.push(new yr(je,Le(Ie))),W+=2):(T.push(new yr(je,{})),W++)}return new Rn(T,{})}function Se(p){const M={};return Object.entries(p).forEach(([v,T])=>{"string"==typeof T&&(T=[T]),null!==T&&(M[v]=Be(new Rn([],{}),0,T))}),M}function Le(p){const M={};return Object.entries(p).forEach(([v,T])=>M[v]=`${T}`),M}function ke(p,M,v){return p==v.path&&yt(M,v.parameters)}const xt="imperative";var Ct=function(p){return p[p.NavigationStart=0]="NavigationStart",p[p.NavigationEnd=1]="NavigationEnd",p[p.NavigationCancel=2]="NavigationCancel",p[p.NavigationError=3]="NavigationError",p[p.RoutesRecognized=4]="RoutesRecognized",p[p.ResolveStart=5]="ResolveStart",p[p.ResolveEnd=6]="ResolveEnd",p[p.GuardsCheckStart=7]="GuardsCheckStart",p[p.GuardsCheckEnd=8]="GuardsCheckEnd",p[p.RouteConfigLoadStart=9]="RouteConfigLoadStart",p[p.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",p[p.ChildActivationStart=11]="ChildActivationStart",p[p.ChildActivationEnd=12]="ChildActivationEnd",p[p.ActivationStart=13]="ActivationStart",p[p.ActivationEnd=14]="ActivationEnd",p[p.Scroll=15]="Scroll",p[p.NavigationSkipped=16]="NavigationSkipped",p}(Ct||{});class sn{id;url;constructor(M,v){this.id=M,this.url=v}}class An extends sn{type=Ct.NavigationStart;navigationTrigger;restoredState;constructor(M,v,T="imperative",W=null){super(M,v),this.navigationTrigger=T,this.restoredState=W}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Gn extends sn{urlAfterRedirects;type=Ct.NavigationEnd;constructor(M,v,T){super(M,v),this.urlAfterRedirects=T}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var cr=function(p){return p[p.Redirect=0]="Redirect",p[p.SupersededByNewNavigation=1]="SupersededByNewNavigation",p[p.NoDataFromResolver=2]="NoDataFromResolver",p[p.GuardRejected=3]="GuardRejected",p[p.Aborted=4]="Aborted",p}(cr||{}),Sr=function(p){return p[p.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",p[p.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",p}(Sr||{});class or extends sn{reason;code;type=Ct.NavigationCancel;
1constructor(M,v,T,W){super(M,v),this.reason=T,this.code=W}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class wr extends sn{reason;code;type=Ct.NavigationSkipped;constructor(M,v,T,W){super(M,v),this.reason=T,this.code=W}}class ro extends sn{error;target;type=Ct.NavigationError;constructor(M,v,T,W){super(M,v),this.error=T,this.target=W}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class xn extends sn{urlAfterRedirects;state;type=Ct.RoutesRecognized;constructor(M,v,T,W){super(M,v),this.urlAfterRedirects=T,this.state=W}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ur extends sn{urlAfterRedirects;state;type=Ct.GuardsCheckStart;constructor(M,v,T,W){super(M,v),this.urlAfterRedirects=T,this.state=W}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rr extends sn{urlAfterRedirects;state;shouldActivate;type=Ct.GuardsCheckEnd;constructor(M,v,T,W,ge){super(M,v),this.urlAfterRedirects=T,this.state=W,this.shouldActivate=ge}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class kr extends sn{urlAfterRedirects;state;type=Ct.ResolveStart;constructor(M,v,T,W){super(M,v),this.urlAfterRedirects=T,this.state=W}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Mr extends sn{urlAfterRedirects;state;type=Ct.ResolveEnd;constructor(M,v,T,W){super(M,v),this.urlAfterRedirects=T,this.state=W}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wr{route;type=Ct.RouteConfigLoadStart;constructor(M){this.route=M}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class lo{route;type=Ct.RouteConfigLoadEnd;constructor(M){this.route=M}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class We{snapshot;type=Ct.ChildActivationStart;constructor(M){this.snapshot=M}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{snapshot;type=Ct.ChildActivationEnd;constructor(M){this.snapshot=M}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class St{snapshot;type=Ct.ActivationStart;constructor(M){this.snapshot=M}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $t{snapshot;type=Ct.ActivationEnd;constructor(M){this.snapshot=M}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sn{routerEvent;position;anchor;scrollBehavior;type=Ct.Scroll;constructor(M,v,T,W){this.routerEvent=M,this.position=v,this.anchor=T,this.scrollBehavior=W}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ar{}class mr{}class zr{url;navigationBehaviorOptions;constructor(M,v){this.url=M,this.navigationBehaviorOptions=v}}function Oo(p){switch(p.type){case Ct.ActivationEnd:return`ActivationEnd(path: '${p.snapshot.routeConfig?.path||""}')`;case Ct.ActivationStart:return`ActivationStart(path: '${p.snapshot.routeConfig?.path||""}')`;case Ct.ChildActivationEnd:return`ChildActivationEnd(path: '${p.snapshot.routeConfig?.path||""}')`;case Ct.ChildActivationStart:return`ChildActivationStart(path: '${p.snapshot.routeConfig?.path||""}')`;case Ct.GuardsCheckEnd:return`GuardsCheckEnd(id: ${p.id}, url: '${p.url}', urlAfterRedirects: '${p.urlAfterRedirects}', state: ${p.state}, shouldActivate: ${p.shouldActivate})`;case Ct.GuardsCheckStart:return`GuardsCheckStart(id: ${p.id}, url: '${p.url}', urlAfterRedirects: '${p.urlAfterRedirects}', state: ${p.state})`;case Ct.NavigationCancel:return`NavigationCancel(id: ${p.id}, url: '${p.url}')`;case Ct.NavigationSkipped:return`NavigationSkipped(id: ${p.id}, url: '${p.url}')`;case Ct.NavigationEnd:return`NavigationEnd(id: ${p.id}, url: '${p.url}', urlAfterRedirects: '${p.urlAfterRedirects}')`;case Ct.NavigationError:return`NavigationError(id: ${p.id}, url: '${p.url}', error: ${p.error})`;case Ct.NavigationStart:return`NavigationStart(id: ${p.id}, url: '${p.url}')`;
1case Ct.ResolveEnd:return`ResolveEnd(id: ${p.id}, url: '${p.url}', urlAfterRedirects: '${p.urlAfterRedirects}', state: ${p.state})`;case Ct.ResolveStart:return`ResolveStart(id: ${p.id}, url: '${p.url}', urlAfterRedirects: '${p.urlAfterRedirects}', state: ${p.state})`;case Ct.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${p.route.path})`;case Ct.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${p.route.path})`;case Ct.RoutesRecognized:return`RoutesRecognized(id: ${p.id}, url: '${p.url}', urlAfterRedirects: '${p.urlAfterRedirects}', state: ${p.state})`;case Ct.Scroll:return`Scroll(anchor: '${p.anchor}', position: '${p.position?`${p.position[0]}, ${p.position[1]}`:null}')`}}class zo{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(M){this.rootInjector=M,this.children=new Jr(this.rootInjector)}}let Jr=(()=>{class p{rootInjector;contexts=new Map;constructor(v){this.rootInjector=v}onChildOutletCreated(v,T){const W=this.getOrCreateContext(v);W.outlet=T,this.contexts.set(v,W)}onChildOutletDestroyed(v){const T=this.getContext(v);T&&(T.outlet=null,T.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let T=this.getContext(v);return T||(T=new zo(this.rootInjector),this.contexts.set(v,T)),T}getContext(v){return this.contexts.get(v)||null}static \u0275fac=function(T){return new(T||p)(D.KVO(D.uvJ))};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();class To{_root;constructor(M){this._root=M}get root(){return this._root.value}parent(M){const v=this.pathFromRoot(M);return v.length>1?v[v.length-2]:null}children(M){const v=Zr(M,this._root);return v?v.children.map(T=>T.value):[]}firstChild(M){const v=Zr(M,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(M){const v=x(M,this._root);return v.length<2?[]:v[v.length-2].children.map(W=>W.value).filter(W=>W!==M)}pathFromRoot(M){return x(M,this._root).map(v=>v.value)}}function Zr(p,M){if(p===M.value)return M;for(const v of M.children){const T=Zr(p,v);if(T)return T}return null}function x(p,M){if(p===M.value)return[M];for(const v of M.children){const T=x(p,v);if(T.length)return T.unshift(M),T}return[]}class Ee{value;children;constructor(M,v){this.value=M,this.children=v}toString(){return`TreeNode(${this.value})`}}function q(p){const M={};return p&&p.children.forEach(v=>M[v.value.outlet]=v),M}class he extends To{snapshot;constructor(M,v){super(M),this.snapshot=v,nr(this,M)}toString(){return this.snapshot.toString()}}function et(p,M){const v=function Bt(p,M){const je=new dr([],{},{},"",{},X,p,null,{},M);return new fr("",new Ee(je,[]))}(p,M),T=new G.t([new yr("",{})]),W=new G.t({}),ge=new G.t({}),je=new G.t({}),Ie=new G.t(""),Lt=new Jt(T,W,je,Ie,ge,X,p,v.root);return Lt.snapshot=v.root,new he(new Ee(Lt,[]),v)}class Jt{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(M,v,T,W,ge,je,Ie,Lt){this.urlSubject=M,this.paramsSubject=v,this.queryParamsSubject=T,this.fragmentSubject=W,this.dataSubject=ge,this.outlet=je,this.component=Ie,this._futureSnapshot=Lt,this.title=this.dataSubject?.pipe((0,Ke.T)(Vt=>Vt[De]))??(0,V.of)(void 0),this.url=M,this.params=v,this.queryParams=T,this.fragment=W,this.data=ge}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,Ke.T)(M=>Fe(M))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,Ke.T)(M=>Fe(M))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mn(p,M,v="emptyOnly"){let T;const{routeConfig:W}=p;return T=null===M||"always"!==v&&""!==W?.path&&(M.component||M.routeConfig?.loadComponent)?{params:{...p.params},data:{...p.data},resolve:{...p.data,...p._resolvedData??{}}}:{params:{...M.params,...p.params},data:{...M.data,...p.data},resolve:{...p.data,...M.data,...W?.data,...p._resolvedData}},W&&oo(W)&&(T.resolve[De]=W.title),T}class dr{url;params;queryParams;fragment;data;outlet;component;
1routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[De]}constructor(M,v,T,W,ge,je,Ie,Lt,Vt,Pn){this.url=M,this.params=v,this.queryParams=T,this.fragment=W,this.data=ge,this.outlet=je,this.component=Ie,this.routeConfig=Lt,this._resolve=Vt,this._environmentInjector=Pn}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??=Fe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Fe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(T=>T.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fr extends To{url;constructor(M,v){super(v),this.url=M,nr(this,v)}toString(){return zn(this._root)}}function nr(p,M){M.value._routerState=p,M.children.forEach(v=>nr(p,v))}function zn(p){const M=p.children.length>0?` { ${p.children.map(zn).join(", ")} } `:"";return`${p.value}${M}`}function br(p){if(p.snapshot){const M=p.snapshot,v=p._futureSnapshot;p.snapshot=v,yt(M.queryParams,v.queryParams)||p.queryParamsSubject.next(v.queryParams),M.fragment!==v.fragment&&p.fragmentSubject.next(v.fragment),yt(M.params,v.params)||p.paramsSubject.next(v.params),function Dt(p,M){if(p.length!==M.length)return!1;for(let v=0;v<p.length;++v)if(!yt(p[v],M[v]))return!1;return!0}(M.url,v.url)||p.urlSubject.next(v.url),yt(M.data,v.data)||p.dataSubject.next(v.data)}else p.snapshot=p._futureSnapshot,p.dataSubject.next(p._futureSnapshot.data)}function pr(p,M){const v=yt(p.params,M.params)&&function Tr(p,M){return xr(p,M)&&p.every((v,T)=>yt(v.parameters,M[T].parameters))}(p.url,M.url);return v&&!(!p.parent!=!M.parent)&&(!p.parent||pr(p.parent,M.parent))}function oo(p){return"string"==typeof p.title||null===p.title}const ri=new D.nKC("");let Fo=(()=>{class p{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=X;activateEvents=new D.bkB;deactivateEvents=new D.bkB;attachEvents=new D.bkB;detachEvents=new D.bkB;routerOutletData=(0,S.hFB)();parentContexts=(0,D.WQX)(Jr);location=(0,D.WQX)(J.c1b);changeDetector=(0,D.WQX)(S.gRc);inputBinder=(0,D.WQX)(io,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(v){if(v.name){const{firstChange:T,previousValue:W}=v.name;if(T)return;this.isTrackedInParentContexts(W)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(W)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(v){return this.parentContexts.getContext(v)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const v=this.parentContexts.getContext(this.name);v?.route&&(v.attachRef?this.attach(v.attachRef,v.route):this.activateWith(v.route,v.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D.buA(4012,!1);this.location.detach();const v=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(v.instance),v}attach(v,T){this.activated=v,this._activatedRoute=T,this.location.insert(v.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(v.instance)}deactivate(){if(this.activated){const v=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(v)}}activateWith(v,T){if(this.isActivated)throw new D.buA(4013,!1);this._activatedRoute=v;const W=this.location,je=v.snapshot.component,Ie=this.parentContexts.getOrCreateContext(this.name).children,Lt=new Ho(v,Ie,W.injector,this.routerOutletData);this.activated=W.createComponent(je,{index:W.length,injector:Lt,environmentInjector:T}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(T){return new(T||p)};static \u0275dir=J.FsC({type:p,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[J.OA$]})}return p})();class Ho{route;childContexts;parent;outletData;constructor(M,v,T,W){this.route=M,this.childContexts=v,this.parent=T,this.outletData=W}get(M,v){return M===Jt?this.route:M===Jr?this.childContexts:M===ri?this.outletData:this.parent.get(M,v)}}const io=new D.nKC("");let oi=(()=>{class p{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(v){this.unsubscribeFromRouteData(v),this.subscribeToRouteData(v)}unsubscribeFromRouteData(v){this.outletDataSubscriptions.get(v)?.unsubscribe(),this.outletDataSubscriptions.delete(v)}subscribeToRouteData(v){const{activatedRoute:T}=v,W=(0,re.z)([T.queryParams,T.params,T.data]).pipe((0,ft.n)(([ge,je,Ie],Lt)=>(Ie={...ge,...je,...Ie},0===Lt?(0,V.of)(Ie):Promise.resolve(Ie)))).subscribe(ge=>{if(!v.isActivated||!v.activatedComponentRef||v.activatedRoute!==T||null===T.component)return void this.unsubscribeFromRouteData(v);const je=(0,S.HJs)(T.component);if(je)for(const{templateName:Ie}
1of je.inputs)v.activatedComponentRef.setInput(Ie,ge[Ie]);else this.unsubscribeFromRouteData(v)});this.outletDataSubscriptions.set(v,W)}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac})}return p})(),Go=(()=>{class p{static \u0275fac=function(T){return new(T||p)};static \u0275cmp=J.VBU({type:p,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(T,W){1&T&&J.nrm(0,"router-outlet")},dependencies:[Fo],encapsulation:2})}return p})();function mo(p){const M=p.children&&p.children.map(mo),v=M?{...p,children:M}:{...p};return!v.component&&!v.loadComponent&&(M||v.loadChildren)&&v.outlet&&v.outlet!==X&&(v.component=Go),v}function So(p,M,v){if(v&&p.shouldReuseRoute(M.value,v.value.snapshot)){const T=v.value;T._futureSnapshot=M.value;const W=function Qi(p,M,v){return M.children.map(T=>{for(const W of v.children)if(p.shouldReuseRoute(T.value,W.value.snapshot))return So(p,T,W);return So(p,T)})}(p,M,v);return new Ee(T,W)}{if(p.shouldAttach(M.value)){const ge=p.retrieve(M.value);if(null!==ge){const je=ge.route;return je.value._futureSnapshot=M.value,je.children=M.children.map(Ie=>So(p,Ie)),je}}const T=function ds(p){return new Jt(new G.t(p.url),new G.t(p.params),new G.t(p.queryParams),new G.t(p.fragment),new G.t(p.data),p.outlet,p.component,p)}(M.value),W=M.children.map(ge=>So(p,ge));return new Ee(T,W)}}class Mi{redirectTo;navigationBehaviorOptions;constructor(M,v){this.redirectTo=M,this.navigationBehaviorOptions=v}}const $o="ngNavigationCancelingError";function Pr(p,M){const{redirectTo:v,navigationBehaviorOptions:T}=qe(M)?{redirectTo:M,navigationBehaviorOptions:void 0}:M,W=_i(!1,cr.Redirect);return W.url=v,W.navigationBehaviorOptions=T,W}function _i(p,M){const v=new Error(`NavigationCancelingError: ${p||""}`);return v[$o]=!0,v.cancellationCode=M,v}function ii(p){return!!p&&p[$o]}class vi{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(M,v,T,W,ge){this.routeReuseStrategy=M,this.futureState=v,this.currState=T,this.forwardEvent=W,this.inputBindingEnabled=ge}activate(M){const v=this.futureState._root,T=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,T,M),br(this.futureState.root),this.activateChildRoutes(v,T,M)}deactivateChildRoutes(M,v,T){const W=q(v);M.children.forEach(ge=>{const je=ge.value.outlet;this.deactivateRoutes(ge,W[je],T),delete W[je]}),Object.values(W).forEach(ge=>{this.deactivateRouteAndItsChildren(ge,T)})}deactivateRoutes(M,v,T){const W=M.value,ge=v?v.value:null;if(W===ge)if(W.component){const je=T.getContext(W.outlet);je&&this.deactivateChildRoutes(M,v,je.children)}else this.deactivateChildRoutes(M,v,T);else ge&&this.deactivateRouteAndItsChildren(v,T)}deactivateRouteAndItsChildren(M,v){M.value.component&&this.routeReuseStrategy.shouldDetach(M.value.snapshot)?this.detachAndStoreRouteSubtree(M,v):this.deactivateRouteAndOutlet(M,v)}detachAndStoreRouteSubtree(M,v){const T=v.getContext(M.value.outlet),W=T&&M.value.component?T.children:v,ge=q(M);for(const je of Object.values(ge))this.deactivateRouteAndItsChildren(je,W);if(T&&T.outlet){const je=T.outlet.detach(),Ie=T.children.onOutletDeactivated();this.routeReuseStrategy.store(M.value.snapshot,{componentRef:je,route:M,contexts:Ie})}}deactivateRouteAndOutlet(M,v){const T=v.getContext(M.value.outlet),W=T&&M.value.component?T.children:v,ge=q(M);for(const je of Object.values(ge))this.deactivateRouteAndItsChildren(je,W);T&&(T.outlet&&(T.outlet.deactivate(),T.children.onOutletDeactivated()),T.attachRef=null,T.route=null)}activateChildRoutes(M,v,T){const W=q(v);M.children.forEach(ge=>{this.activateRoutes(ge,W[ge.value.outlet],T),this.forwardEvent(new $t(ge.value.snapshot))}),M.children.length&&this.forwardEvent(new ct(M.value.snapshot))}activateRoutes(M,v,T){const W=M.value,ge=v?v.value:null;if(br(W),W===ge)if(W.component){const je=T.getOrCreateContext(W.outlet);this.activateChildRoutes(M,v,je.children)}else this.activateChildRoutes(M,v,T);else if(W.component){const je=T.getOrCreateContext(W.outlet);if(this.routeReuseStrategy.shouldAttach(W.snapshot)){const Ie=this.routeReuseStrategy.retrieve(W.snapshot);this.routeReuseStrategy.store(W.snapshot,null),je.children.onOutletReAttached(Ie.contexts),je.attachRef=Ie.componentRef,je.route=Ie.route.value,je.outlet&&je.outlet.attach(Ie.componentRef,Ie.route.value),br(Ie.route.value),this.activateChildRoutes(M,null,je.children)}else je.attachRef=null,je.route=W,je.outlet&&je.outlet.activateWith(W,je.injector),this.activateChildRoutes(M,null,je.children)}else this.activateChildRoutes(M,null,T)}}class Ti{path;route;constructor(M){this.path=M,this.route=this.path[this.path.length-1]}}class Yo{component;route;constructor(M,v){this.component=M,this.route=v}}function es(p,M,v){const T=p._root;return Uo(T,M?M._root:null,v,[T.value])}function si(p,M){const v=Symbol(),T=M.get(p,v);return T===v?"function"!=typeof p||(0,D.muV)(p)?M.get(p):p:T}function Uo(p,M,v,T,W={canDeactivateChecks:[],canActivateChecks:[]}
1){const ge=q(M);return p.children.forEach(je=>{(function Si(p,M,v,T,W={canDeactivateChecks:[],canActivateChecks:[]}){const ge=p.value,je=M?M.value:null,Ie=v?v.getContext(p.value.outlet):null;if(je&&ge.routeConfig===je.routeConfig){const Lt=function ai(p,M,v){if("function"==typeof v)return(0,D.N4e)(M._environmentInjector,()=>v(p,M));switch(v){case"pathParamsChange":return!xr(p.url,M.url);case"pathParamsOrQueryParamsChange":return!xr(p.url,M.url)||!yt(p.queryParams,M.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pr(p,M)||!yt(p.queryParams,M.queryParams);default:return!pr(p,M)}}(je,ge,ge.routeConfig.runGuardsAndResolvers);Lt?W.canActivateChecks.push(new Ti(T)):(ge.data=je.data,ge._resolvedData=je._resolvedData),Uo(p,M,ge.component?Ie?Ie.children:null:v,T,W),Lt&&Ie&&Ie.outlet&&Ie.outlet.isActivated&&W.canDeactivateChecks.push(new Yo(Ie.outlet.component,je))}else je&&Qo(M,Ie,W),W.canActivateChecks.push(new Ti(T)),Uo(p,null,ge.component?Ie?Ie.children:null:v,T,W)})(je,ge[je.value.outlet],v,T.concat([je.value]),W),delete ge[je.value.outlet]}),Object.entries(ge).forEach(([je,Ie])=>Qo(Ie,v.getContext(je),W)),W}function Qo(p,M,v){const T=q(p),W=p.value;Object.entries(T).forEach(([ge,je])=>{Qo(je,W.component?M?M.children.getContext(ge):null:M,v)}),v.canDeactivateChecks.push(new Yo(W.component&&M&&M.outlet&&M.outlet.isActivated?M.outlet.component:null,W))}function Gr(p){return"function"==typeof p}function ee(p){return p instanceof $.G||"EmptyError"===p?.name}const oe=Symbol("INITIAL_VALUE");function _e(){return(0,ft.n)(p=>(0,re.z)(p.map(M=>M.pipe((0,At.s)(1),(0,jt.Z)(oe)))).pipe((0,Ke.T)(M=>{for(const v of M)if(!0!==v){if(v===oe)return oe;if(!1===v||ot(v))return v}return!0}),(0,Zt.p)(M=>M!==oe),(0,At.s)(1)))}function ot(p){return qe(p)||p instanceof Mi}function ut(p){return p.aborted?(0,V.of)(void 0).pipe((0,At.s)(1)):new k.c(M=>{const v=()=>{M.next(),M.complete()};return p.addEventListener("abort",v),()=>p.removeEventListener("abort",v)})}function bt(p){return(0,vt.Q)(ut(p))}function Hn(p){return(0,ve.F)((0,xe.M)(M=>
1{if("boolean"!=typeof M)throw Pr(0,M)}),(0,Ke.T)(M=>!0===M))}class N extends Error{segmentGroup;constructor(M){super(),this.segmentGroup=M||null,Object.setPrototypeOf(this,N.prototype)}}class C extends Error{urlTree;constructor(M){super(),this.urlTree=M,Object.setPrototypeOf(this,C.prototype)}}function te(p){throw new D.buA(4e3,!1)}class an{urlSerializer;urlTree;constructor(M,v){this.urlSerializer=M,this.urlTree=v}lineralizeSegments(M,v){return(0,I.A)(function*(){let T=[],W=v.root;for(;;){if(T=T.concat(W.segments),0===W.numberOfChildren)return T;if(W.numberOfChildren>1||!W.children[X])throw te();W=W.children[X]}})()}applyRedirectCommands(M,v,T,W,ge){var je=this;return(0,I.A)(function*(){const Ie=yield function Cn(p,M,v){if("string"==typeof p)return Promise.resolve(p);const T=p;return ht(fn((0,D.N4e)(v,()=>T(M))))}(v,W,ge);if(Ie instanceof yn)throw new C(Ie);const Lt=je.applyRedirectCreateUrlTree(Ie,je.urlSerializer.parse(Ie),M,T);if("/"===Ie[0])throw new C(Lt);return Lt})()}applyRedirectCreateUrlTree(M,v,T,W){const ge=this.createSegmentGroup(M,v.root,T,W);return new yn(ge,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(M,v){const T={};return Object.entries(M).forEach(([W,ge])=>{if("string"==typeof ge&&":"===ge[0]){const Ie=ge.substring(1);T[W]=v[Ie]}else T[W]=ge}),T}createSegmentGroup(M,v,T,W){const ge=this.createSegments(M,v.segments,T,W);let je={};return Object.entries(v.children).forEach(([Ie,Lt])=>{je[Ie]=this.createSegmentGroup(M,Lt,T,W)}),new Rn(ge,je)}createSegments(M,v,T,W){return v.map(ge=>":"===ge.path[0]?this.findPosParam(M,ge,W):this.findOrReturn(ge,T))}findPosParam(M,v,T){const W=T[v.path.substring(1)];if(!W)throw new D.buA(4001,!1);return W}findOrReturn(M,v){let T=0;for(const W of v){if(W.path===M.path)return v.splice(T),W;T++}return M}}function to(p){return p.outlet||X}function yo(p,M){const v=p.filter(T=>to(T)===M);return v.push(...p.filter(T=>to(T)!==M)),v}const ci={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ui(p){return{routeConfig:p.routeConfig,url:p.url,params:p.params,queryParams:p.queryParams,fragment:p.fragment,data:p.data,outlet:p.outlet,title:p.title,paramMap:p.paramMap,queryParamMap:p.queryParamMap}}function Bo(p,M,v,T,W,ge,je){const Ie=Ro(p,M,v);if(!Ie.matched)return(0,V.of)(Ie);const Lt=ui(ge(Ie));return T=function _r(p,M){return p.providers&&!p._injector&&(p._injector=(0,J.Ol2)(p.providers,M,`Route: ${p.path}`)),p._injector??M}(M,T),function O(p,M,v,T,W,ge){const je=M.canMatch;if(!je||0===je.length)return(0,V.of)(!0);const Ie=je.map(Lt=>{const Vt=si(Lt,p);return fn(function vo(p){return p&&Gr(p.canMatch)}(Vt)?Vt.canMatch(M,v,W):(0,D.N4e)(p,()=>Vt(M,v,W))).pipe(bt(ge))});return(0,V.of)(Ie).pipe(_e(),Hn())}(T,M,v,0,Lt,je).pipe((0,Ke.T)(Vt=>!0===Vt?Ie:{...ci}))}function Ro(p,M,v){if(""===M.path)return"full"===M.pathMatch&&(p.hasChildren()||v.length>0)?{...ci}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const W=(M.matcher||dt)(v,p,M);if(!W)return{...ci};const ge={};Object.entries(W.posParams??{}).forEach(([Ie,Lt])=>{ge[Ie]=Lt.path});const je=W.consumed.length>0?{...ge,...W.consumed[W.consumed.length-1].parameters}:ge;return{matched:!0,consumedSegments:W.consumed,remainingSegments:v.slice(W.consumed.length),parameters:je,positionalParamSegments:W.posParams??{}}}function li(p,M,v,T,W){return v.length>0&&function ts(p,M,v,T){return v.some(W=>!(!Wi(p,M,W)||to(W)===X||void 0!==T&&to(W)===T))}(p,v,T,W)?{segmentGroup:new Rn(M,Ds(T,new Rn(v,p.children))),slicedSegments:[]}:0===v.length&&function Vi(p,M,v){return v.some(T=>Wi(p,M,T))}(p,v,T)?{segmentGroup:new Rn(p.segments,Ii(p,v,T,p.children)),slicedSegments:v}:{segmentGroup:new Rn(p.segments,p.children),slicedSegments:v}}function Ii(p,M,v,T){const W={};for(const ge of v)if(Wi(p,M,ge)&&!T[to(ge)]){const je=new Rn([],{});W[to(ge)]=je}return{...T,...W}}function Ds(p,M){const v={};v[X]=M;for(const T of p)if(""===T.path&&to(T)!==X){const W=new Rn([],{});v[to(T)]=W}return v}function Wi(p,M,v){return(!(p.hasChildren()||M.length>0)||"full"!==v.pathMatch)&&""===v.path}class di{}function Hi(){return(Hi=(0,I.A)(function*(p,M,v,T,W,ge,je="emptyOnly",Ie){return new fs(p,M,v,T,W,je,ge,Ie).recognize()})).apply(this,arguments)}class fs{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(M,v,T,W,ge,je,Ie,Lt){this.injector=M,this.configLoader=v,this.rootComponentType=T,this.config=W,this.urlTree=ge,this.paramsInheritanceStrategy=je,this.urlSerializer
1=Ie,this.abortSignal=Lt,this.applyRedirects=new an(this.urlSerializer,this.urlTree)}noMatchError(M){return new D.buA(4002,`'${M.segmentGroup}'`)}recognize(){var M=this;return(0,I.A)(function*(){const v=li(M.urlTree.root,[],[],M.config).segmentGroup,{children:T,rootSnapshot:W}=yield M.match(v),ge=new Ee(W,T),je=new fr("",ge),Ie=function un(p,M,v=null,T=null,W=new Kr){return kn(Ln(p),M,v,T,W)}(W,[],M.urlTree.queryParams,M.urlTree.fragment);return Ie.queryParams=M.urlTree.queryParams,je.url=M.urlSerializer.serialize(Ie),{state:je,tree:Ie}})()}match(M){var v=this;return(0,I.A)(function*(){const T=new dr([],Object.freeze({}),Object.freeze({...v.urlTree.queryParams}),v.urlTree.fragment,Object.freeze({}),X,v.rootComponentType,null,{},v.injector);try{return{children:yield v.processSegmentGroup(v.injector,v.config,M,X,T),rootSnapshot:T}}catch(W){if(W instanceof C)return v.urlTree=W.urlTree,v.match(W.urlTree.root);throw W instanceof N?v.noMatchError(W):W}})()}processSegmentGroup(M,v,T,W,ge){var je=this;return(0,I.A)(function*(){if(0===T.segments.length&&T.hasChildren())return je.processChildren(M,v,T,ge);const Ie=yield je.processSegment(M,v,T,T.segments,W,!0,ge);return Ie instanceof Ee?[Ie]:[]})()}processChildren(M,v,T,W){var ge=this;return(0,I.A)(function*(){const je=[];for(const Vt of Object.keys(T.children))"primary"===Vt?je.unshift(Vt):je.push(Vt);let Ie=[];for(const Vt of je){const Pn=T.children[Vt],sr=yo(v,Vt),Y=yield ge.processSegmentGroup(M,sr,Pn,Vt,W);Ie.push(...Y)}const Lt=bs(Ie);return function As(p){p.sort((M,v)=>M.value.outlet===X?-1:v.value.outlet===X?1:M.value.outlet.localeCompare(v.value.outlet))}(Lt),Lt})()}processSegment(M,v,T,W,ge,je,Ie){var Lt=this;return(0,I.A)(function*(){for(const Vt of v)try{return yield Lt.processSegmentAgainstRoute(Vt._injector??M,v,Vt,T,W,ge,je,Ie)}catch(Pn){if(Pn instanceof N||ee(Pn))continue;throw Pn}if(function Ai(p,M,v){return 0===M.length&&!p.children[v]}(T,W,ge))return new di;throw new N(T)})()}processSegmentAgainstRoute(M,v,T,W,ge,je,Ie,Lt){var Vt=this;return(0,I.A)(function*(){if(to(T)!==je&&(je===X||!Wi(W,ge,T)))throw new N(W);if(void 0===T.redirectTo)return Vt.matchSegmentAgainstRoute(M,W,T,ge,je,Lt);if(Vt.allowRedirects&&Ie)return Vt.expandSegmentAgainstRouteUsingRedirect(M,W,v,T,ge,je,Lt);throw new N(W)})()}expandSegmentAgainstRouteUsingRedirect(M,v,T,W,ge,je,Ie){var Lt=this;return(0,I.A)(function*(){const{matched:Vt,parameters:Pn,consumedSegments:sr,positionalParamSegments:Y,remainingSegments:F}=Ro(v,W,ge);if(!Vt)throw new N(v);"string"==typeof W.redirectTo&&"/"===W.redirectTo[0]&&(Lt.absoluteRedirectCount++,Lt.absoluteRedirectCount>31&&(Lt.allowRedirects=!1));const Q=Lt.createSnapshot(M,W,ge,Pn,Ie);if(Lt.abortSignal.aborted)throw new Error(Lt.abortSignal.reason);const Ae=yield Lt.applyRedirects.applyRedirectCommands(sr,W.redirectTo,Y,ui(Q),M),lt=yield Lt.applyRedirects.lineralizeSegments(W,Ae);return Lt.processSegment(M,T,v,lt.concat(F),je,!1,Ie)})()}createSnapshot(M,v,T,W,ge){const je=new dr(T,W,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Cs(p){return p.data||{}}(v),to(v),v.component??v._loadedComponent??null,v,function Os(p){return p.resolve||{}}(v),M),Ie=mn(je,ge,this.paramsInheritanceStrategy);return je.params=Object.freeze(Ie.params),je.data=Object.freeze(Ie.data),je}matchSegmentAgainstRoute(M,v,T,W,ge,je){var Ie=this;return(0,I.A)(function*(){if(Ie.abortSignal.aborted)throw new Error(Ie.abortSignal.reason);const Vt=yield ht(Bo(v,T,W,M,0,Fn=>Ie.createSnapshot(M,T,Fn.consumedSegments,Fn.parameters,je),Ie.abortSignal));if("**"===T.path&&(v.children={}),!Vt?.matched)throw new N(v);M=T._injector??M;const{routes:Pn}=yield Ie.getChildConfig(M,T,W),sr=T._loadedInjector??M,{parameters:Y,consumedSegments:F,remainingSegments:Q}=Vt,Ae=Ie.createSnapshot(M,T,F,Y,je),{segmentGroup:lt,slicedSegments:Ot}=li(v,F,Q,Pn,ge);if(0===Ot.length&&lt.hasChildren()){const Fn=yield Ie.processChildren(sr,Pn,lt,Ae);return new Ee(Ae,Fn)}if(0===Pn.length&&0===Ot.length)return new Ee(Ae,[]);const Qt=to(T)===ge,pn=yield Ie.processSegment(sr,Pn,lt,Ot,Qt?X:ge,!0,Ae);return new Ee(Ae,pn instanceof Ee?[pn]:[])})()}getChildConfig(M,v,T){var W=this;return(0,I.A)(function*(){if(v.children)return{routes:v.children,injector:M};if(v.loadChildren){if(void 0!==v._loadedRoutes){const je=v._loadedNgModuleFactory;return je&&!v._loadedInjector&&(v._loadedInjector=je.create(M).injector),{routes:v._loadedRoutes,injector:v._loadedInjector}}if(W.abortSignal.aborted)throw new Error(W.abortSignal.reason);if(yield ht(function lr(p,M,v,T,W){const ge=M.canLoad;if(void 0===ge||0===ge.length)return(0,V.of)(!0);const je=ge.map(Ie=>{const Lt=si(Ie,p),Pn=fn(function Es(p){return p&&Gr(p.canLoad)}(Lt)?Lt.canLoad(M,v):(0,D.N4e)(p,()=>Lt(M,v)));return W?Pn.pipe(bt(W)):Pn});return(0,V.of)(je).pipe(_e(),Hn())}(M,v,T,0,W.abortSignal))){const je=yield W.configLoader.loadChildren(M,v);return v._loadedRoutes=je.routes,v._loadedInjector=je.injector,v._loadedNgModuleFactory=je.factory,je}throw function Ne(){throw _i(!1,cr.GuardRejected)}()}return{routes:[],injector:M}})()}}function ns(p){const M=p.value.routeConfig;return M&&""===M.path}function bs(p){const M=[],v=new Set;for(const T of p){if(!ns(T)){M.push(T);continue}const W=M.find(ge=>T.value.routeConfig===ge.value.routeConfig);void 0!==W?(W.children.push(...T.children),v.add(W)):M.push(T)}for(const T of v){const W=bs(T.children);M.push(new Ee(T.value,W))}return M.filter(T=>!v.has(T))}function Eo(p){const M=p.children.map(v=>Eo(v)).flat();return[p,...M]}function rs(p){return(0,ft.n)(M=>{const v=p(M);return v?(0,ae.H)(v).pipe((0,Ke.T)(()=>M)):(0,V.of)(M)})}let Xo=(()=>{class p{buildTitle(v){let T,W=v.root;for(;void 0!==W;)T=this.getResolvedTitleForRoute(W)??T,W=W.children.find(ge=>ge.outlet===X);return T}getResolvedTitleForRoute(v){return v.data[De]}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:()=>(0,D.WQX)(Jo),providedIn:"root"})}return p})(),Jo=(()=>{class p extends Xo{title;constructor(v){super(),this.title=v}updateTitle(v){const T=this.buildTitle(v);void 0!==T&&this.title.setTitle(T)}static \u0275fac=function(T){return new(T||p)(D.KVO(Me.hE))};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const $i=new D.nKC("",{factory:()=>({})}),hi=new D.nKC("");let Ei=(()=>{class p{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,D.WQX)(J.Ql9);loadComponent(v,T){var W=this;return(0,I.A)(function*(){if(W.componentLoaders.get(T))return W.componentLoaders.get(T);if(T._loadedComponent)return Promise.resolve(T._loadedComponent);W.onLoadStartListener&&W.onLoadStartListener(T);const ge=(0,I.A)(function*(){try{const je=yield o((0,D.N4e)(v,()=>T.loadComponent())),Ie=yield Ms(Jn(je));return W.onLoadEndListener&&W.onLoadEndListener(T),T._loadedComponent=Ie,Ie}finally{W.componentLoaders.delete(T)}})();return W.componentLoaders.set(T,ge),ge})()}loadChildren(v,T){var W=this;if(this.childrenLoaders.get(T))return this.childrenLoaders.get(T);if(T._loadedRoutes)return Promise.resolve({routes:T._loadedRoutes,injector:T._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(T);const ge=(0,I.A)(function*(){try{const je=yield function Ki(p,M,v,T){return Ni.apply(this,arguments)}(T,W.compiler,v,W.onLoadEndListener);return T._loadedRoutes=je.routes,T._loadedInjector=je.injector,T._loadedNgModuleFactory=je.factory,je}finally{W.childrenLoaders.delete(T)}})();return this.childrenLoaders.set(T,ge),ge}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Ni(){return(Ni=(0,I.A)(function*(p,M,v,T){const W=yield o((0,D.N4e)(v,()=>p.loadChildren())),ge=yield Ms(Jn(W));let je;je=ge instanceof J.PYt||Array.isArray(ge)?ge:yield M.compileModuleAsync(ge),T&&T(p);let Ie,Lt,Pn;return Array.isArray(je)?Lt=je:(Ie=je.create(v).injector,Pn=je,Lt=Ie.get(hi,[],{optional:!0,self:!0}).flat()),{routes:Lt.map(mo),injector:Ie,factory:Pn}})).apply(this,arguments)}function Jn(p){return function os(p){return p&&"object"==typeof p&&"default"in p}(p)?p.default:p}function Ms(p){return ps.apply(this,arguments)}function ps(){return(ps=(0,I.A)(function*(p){return p})).apply(this,arguments)}let is=(()=>{class p{static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:()=>(0,D.WQX)(Rs),providedIn:"root"})}return p})(),Rs=(()=>{class p{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,T){return v}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();const Ji=new D.nKC(""),Ps=new D.nKC("");function Ns(p,M,v){const T=p.get(Ps),W=p.get(D.qQL);
1if(!W.startViewTransition||T.skipNextTransition)return T.skipNextTransition=!1,new Promise(Vt=>setTimeout(Vt));let ge;const je=new Promise(Vt=>{ge=Vt}),Ie=W.startViewTransition(()=>(ge(),function Ls(p){return new Promise(M=>{(0,J.mal)({read:()=>setTimeout(M)},{injector:p})})}(p)));Ie.updateCallbackDone.catch(Vt=>{}),Ie.ready.catch(Vt=>{}),Ie.finished.catch(Vt=>{});const{onViewTransitionCreated:Lt}=T;return Lt&&(0,D.N4e)(p,()=>Lt({transition:Ie,from:M,to:v})),je}const pi=()=>{},zi=new D.nKC("");let gs=(()=>{class p{currentNavigation=(0,D.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,D.vPA)(null);events=new de.B;transitionAbortWithErrorSubject=new de.B;configLoader=(0,D.WQX)(Ei);environmentInjector=(0,D.WQX)(D.uvJ);destroyRef=(0,D.WQX)(D.abz);urlSerializer=(0,D.WQX)(Lr);rootContexts=(0,D.WQX)(Jr);location=(0,D.WQX)(_.aZ);inputBindingEnabled=null!==(0,D.WQX)(io,{optional:!0});titleStrategy=(0,D.WQX)(Xo);options=(0,D.WQX)($i,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,D.WQX)(is);createViewTransition=(0,D.WQX)(Ji,{optional:!0});navigationErrorHandler=(0,D.WQX)(zi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,V.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=W=>this.events.next(new lo(W)),this.configLoader.onLoadStartListener=W=>this.events.next(new Wr(W)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(v){const T=++this.navigationId;(0,B.O8)(()=>{this.transitions?.next({...v,extractedUrl:this.urlHandlingStrategy.extract(v.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:T,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(v){return this.transitions=new G.t(null),this.transitions.pipe((0,Zt.p)(T=>null!==T),(0,ft.n)(T=>{let W=!1;const ge=new AbortController,je=()=>!W&&this.currentTransition?.id===T.id;return(0,V.of)(T).pipe((0,ft.n)(Ie=>{if(this.navigationId>T.id)return this.cancelNavigationTransition(T,"",cr.SupersededByNewNavigation),be.w;this.currentTransition=T;const Lt=this.lastSuccessfulNavigation();this.currentNavigation.set({id:Ie.id,initialUrl:Ie.rawUrl,extractedUrl:Ie.extractedUrl,targetBrowserUrl:"string"==typeof Ie.extras.browserUrl?this.urlSerializer.parse(Ie.extras.browserUrl):Ie.extras.browserUrl,trigger:Ie.source,extras:Ie.extras,previousNavigation:Lt?{...Lt,previousNavigation:null}:null,abort:()=>ge.abort(),routesRecognizeHandler:Ie.routesRecognizeHandler,beforeActivateHandler:Ie.beforeActivateHandler});const Vt=!v.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Vt&&"reload"!==(Ie.extras.onSameUrlNavigation??v.onSameUrlNavigation))return this.events.next(new wr(Ie.id,this.urlSerializer.serialize(Ie.rawUrl),"",Sr.IgnoredSameUrlNavigation)),Ie.resolve(!1),be.w;if(this.urlHandlingStrategy.shouldProcessUrl(Ie.rawUrl))return(0,V.of)(Ie).pipe((0,ft.n)(sr=>(this.events.next(new An(sr.id,this.urlSerializer.serialize(sr.extractedUrl),sr.source,sr.restoredState)),sr.id!==this.navigationId?be.w:Promise.resolve(sr))),function yi(p,M,v,T,W,ge,je){return(0,pt.Z)(function(){var Ie=(0,I.A)(function*(Lt){const{state:Vt,tree:Pn}=yield function bi(p,M,v,T,W,ge){return Hi.apply(this,arguments)}(p,M,v,T,Lt.extractedUrl,W,ge,je);return{...Lt,targetSnapshot:Vt,urlAfterRedirects:Pn}});return function(Lt){return Ie.apply(this,arguments)}}())}(this.environmentInjector,this.configLoader,this.rootComponentType,v.config,this.urlSerializer,this.paramsInheritanceStrategy,ge.signal),(0,xe.M)(sr=>{T.targetSnapshot=sr.targetSnapshot,T.urlAfterRedirects=sr.urlAfterRedirects,this.currentNavigation.update(Y=>(Y.finalUrl=sr.urlAfterRedirects,Y)),this.events.next(new mr)}),(0,ft.n)(sr=>(0,ae.H)(T.routesRecognizeHandler.deferredHandle??(0,V.of)(void 0)).pipe((0,Ke.T)(()=>sr))),(0,xe.M)(()=>{const sr=new xn(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot);this.events.next(sr)}));if(Vt&&this.urlHandlingStrategy.shouldProcessUrl(Ie.currentRawUrl)){const{id:sr,extractedUrl:Y,source:F,restoredState:Q,extras:Ae}=Ie,lt=new An(sr,this.urlSerializer.serialize(Y),F,Q);this.events.next(lt);const Ot=et(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=T={...Ie,targetSnapshot:Ot,urlAfterRedirects:Y,extras:{...Ae,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(Qt=>(Qt.finalUrl=Y,Qt)),(0,V.of)(T)}return this.events.next(new wr(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),"",Sr.IgnoredByUrlHandlingStrategy)),Ie.resolve(!1),be.w}),(0,Ke.T)(Ie=>{const Lt=new ur(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot);return this.events.next(Lt),this.currentTransition=T={...Ie,guards:es(Ie.targetSnapshot,Ie.currentSnapshot,this.rootContexts)},T}),function Kt(p){return(0,pt.Z)(M=>{const{targetSnapshot:v,currentSnapshot:T,guards:{canActivateChecks:W,canDeactivateChecks:ge}}=M;return 0===ge.length&&0===W.length?(0,V.of)({...M,guardsResult:!0}):function zt(p,M,v){return(0,ae.H)(p).pipe((0,pt.Z)(T=>function En(p,M,v,T){const W=M&&M.routeConfig?M.routeConfig.canDeactivate:null;if(!W||0===W.length)return(0,V.of)(!0);const ge=W.map(je=>{const Ie=M._environmentInjector,Lt=si(je,Ie);return fn(function ji(p){return p&&Gr(p.canDeactivate)}(Lt)?Lt.canDeactivate(p,M,v,T):(0,D.N4e)(Ie,()=>Lt(p,M,v,T))).pipe((0,Z.$)())});return(0,V.of)(ge).pipe(_e())}(T.component,T.route,v,M)),(0,Z.$)(T=>!0!==T,!0))}(ge,v,T).pipe((0,pt.Z)(je=>je&&function Xi(p){return"boolean"==typeof p}(je)?function Yt(p,M,v){return(0,ae.H)(M).pipe((0,Pe.H)(T=>(0,we.x)(function rn(p,M){return null!==p&&M&&M(new We(p)),(0,V.of)(!0)}(T.route.parent,v),function hn(p,M){return null!==p&&M&&M(new St(p)),(0,V.of)(!0)}
1(T.route,v),function Wn(p,M){const v=M[M.length-1],W=M.slice(0,M.length-1).reverse().map(ge=>function Bi(p){const M=p.routeConfig?p.routeConfig.canActivateChild:null;return M&&0!==M.length?{node:p,guards:M}:null}(ge)).filter(ge=>null!==ge).map(ge=>(0,me.v)(()=>{const je=ge.guards.map(Ie=>{const Lt=ge.node._environmentInjector,Vt=si(Ie,Lt);return fn(function Fr(p){return p&&Gr(p.canActivateChild)}(Vt)?Vt.canActivateChild(v,p):(0,D.N4e)(Lt,()=>Vt(v,p))).pipe((0,Z.$)())});return(0,V.of)(je).pipe(_e())}));return(0,V.of)(W).pipe(_e())}(p,T.path),function ir(p,M){const v=M.routeConfig?M.routeConfig.canActivate:null;if(!v||0===v.length)return(0,V.of)(!0);const T=v.map(W=>(0,me.v)(()=>{const ge=M._environmentInjector,je=si(W,ge);return fn(function Ri(p){return p&&Gr(p.canActivate)}(je)?je.canActivate(M,p):(0,D.N4e)(ge,()=>je(M,p))).pipe((0,Z.$)())}));return(0,V.of)(T).pipe(_e())}(p,T.route))),(0,Z.$)(T=>!0!==T,!0))}(v,W,p):(0,V.of)(je)),(0,Ke.T)(je=>({...M,guardsResult:je})))})}(Ie=>this.events.next(Ie)),(0,ft.n)(Ie=>{if(T.guardsResult=Ie.guardsResult,Ie.guardsResult&&"boolean"!=typeof Ie.guardsResult)throw Pr(0,Ie.guardsResult);const Lt=new Rr(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot,!!Ie.guardsResult);if(this.events.next(Lt),!je())return be.w;if(!Ie.guardsResult)return this.cancelNavigationTransition(Ie,"",cr.GuardRejected),be.w;if(0===Ie.guards.canActivateChecks.length)return(0,V.of)(Ie);const Vt=new kr(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot);if(this.events.next(Vt),!je())return be.w;let Pn=!1;return(0,V.of)(Ie).pipe(function hs(p){return(0,pt.Z)(M=>{const{targetSnapshot:v,guards:{canActivateChecks:T}}=M;if(!T.length)return(0,V.of)(M);const W=new Set(T.map(Ie=>Ie.route)),ge=new Set;for(const Ie of W)if(!ge.has(Ie))for(const Lt of Eo(Ie))ge.add(Lt);let je=0;return(0,ae.H)(ge).pipe((0,Pe.H)(Ie=>W.has(Ie)?function ws(p,M,v){const T=p.routeConfig,W=p._resolve;return void 0!==T?.title&&!oo(T)&&(W[De]=T.title),(0,me.v)(()=>(p.data=mn(p,p.parent,v).resolve,function fi(p,M,v){const T=Ut(p);if(0===T.length)return(0,V.of)({});const W={};return(0,ae.H)(T).pipe((0,pt.Z)(ge=>function Pi(p,M,v){const T=M._environmentInjector,W=si(p,T);return fn(W.resolve?W.resolve(M,v):(0,D.N4e)(T,()=>W(M,v)))}(p[ge],M,v).pipe((0,Z.$)(),(0,xe.M)(je=>{if(je instanceof Mi)throw Pr(new Kr,je);W[ge]=je}))),tt(1),(0,Ke.T)(()=>W),(0,nt.W)(ge=>ee(ge)?be.w:(0,K.$)(ge)))}(W,p,M).pipe((0,Ke.T)(ge=>(p._resolvedData=ge,p.data={...p.data,...ge},null)))))}(Ie,v,p):(Ie.data=mn(Ie,Ie.parent,p).resolve,(0,V.of)(void 0))),(0,xe.M)(()=>je++),tt(1),(0,pt.Z)(Ie=>je===ge.size?(0,V.of)(M):be.w))})}(this.paramsInheritanceStrategy),(0,xe.M)({next:()=>{Pn=!0;const sr=new Mr(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects),Ie.targetSnapshot);this.events.next(sr)},complete:()=>{Pn||this.cancelNavigationTransition(Ie,"",cr.NoDataFromResolver)}}))}),rs(Ie=>{const Lt=Pn=>{const sr=[];Pn.routeConfig?._loadedComponent?Pn.component=Pn.routeConfig?._loadedComponent:Pn.routeConfig?.loadComponent&&sr.push(this.configLoader.loadComponent(Pn._environmentInjector,Pn.routeC
1onfig).then(F=>{Pn.component=F}));for(const Y of Pn.children)sr.push(...Lt(Y));return sr},Vt=Lt(Ie.targetSnapshot.root);return 0===Vt.length?(0,V.of)(Ie):(0,ae.H)(Promise.all(Vt).then(()=>Ie))}),rs(()=>this.afterPreactivation()),(0,ft.n)(()=>{const{currentSnapshot:Ie,targetSnapshot:Lt}=T,Vt=this.createViewTransition?.(this.environmentInjector,Ie.root,Lt.root);return Vt?(0,ae.H)(Vt).pipe((0,Ke.T)(()=>T)):(0,V.of)(T)}),(0,At.s)(1),(0,ft.n)(Ie=>{const Lt=function _o(p,M,v){const T=So(p,M._root,v?v._root:void 0);return new he(T,M)}(v.routeReuseStrategy,Ie.targetSnapshot,Ie.currentRouterState);this.currentTransition=T=Ie={...Ie,targetRouterState:Lt},this.currentNavigation.update(Pn=>(Pn.targetRouterState=Lt,Pn)),this.events.next(new ar);const Vt=T.beforeActivateHandler.deferredHandle;return Vt?(0,ae.H)(Vt.then(()=>Ie)):(0,V.of)(Ie)}),(0,xe.M)(Ie=>{new vi(v.routeReuseStrategy,T.targetRouterState,T.currentRouterState,Lt=>this.events.next(Lt),this.inputBindingEnabled).activate(this.rootContexts),je()&&(W=!0,this.currentNavigation.update(Lt=>(Lt.abort=pi,Lt)),this.lastSuccessfulNavigation.set((0,B.O8)(this.currentNavigation)),this.events.next(new Gn(Ie.id,this.urlSerializer.serialize(Ie.extractedUrl),this.urlSerializer.serialize(Ie.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ie.targetRouterState.snapshot),Ie.resolve(!0))}),(0,vt.Q)(ut(ge.signal).pipe((0,Zt.p)(()=>!W&&!T.targetRouterState),(0,xe.M)(()=>{this.cancelNavigationTransition(T,ge.signal.reason+"",cr.Aborted)}))),(0,xe.M)({complete:()=>{W=!0}}),(0,vt.Q)(this.transitionAbortWithErrorSubject.pipe((0,xe.M)(Ie=>{throw Ie}))),(0,$e.j)(()=>{ge.abort(),W||this.cancelNavigationTransition(T,"",cr.SupersededByNewNavigation),this.currentTransition?.id===T.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,nt.W)(Ie=>{if(W=!0,this.destroyed)return T.resolve(!1),be.w;if(ii(Ie))this.events.next(new or(T.id,this.urlSerializer.serialize(T.extractedUrl),Ie.message,Ie.cancellationCode)),function Fi(p){return ii(p)&&qe(p.url)}(Ie)?this.events.next(new zr(Ie.url,Ie.navigationBehaviorOptions)):T.resolve(!1);else{const Lt=new ro(T.id,this.urlSerializer.serialize(T.extractedUrl),Ie,T.targetSnapshot??void 0);try{const Vt=(0,D.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Lt));if(!(Vt instanceof Mi))throw this.events.next(Lt),Ie;{const{message:Pn,cancellationCode:sr}=Pr(0,Vt);this.events.next(new or(T.id,this.urlSerializer.serialize(T.extractedUrl),Pn,sr)),this.events.next(new zr(Vt.redirectTo,Vt.navigationBehaviorOptions))}}catch(Vt){this.options.resolveNavigationPromiseOnError?T.resolve(!1):T.reject(Vt)}}return be.w}))}))}cancelNavigationTransition(v,T,W){const ge=new or(v.id,this.urlSerializer.serialize(v.extractedUrl),T,W);this.events.next(ge),v.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const v=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),T=(0,B.O8)(this.currentNavigation),W=T?.targetBrowserUrl??T?.extractedUrl;return v.toString()!==W?.toString()&&!T?.extras.skipLocationChange}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function xs(p){return p!==xt}const ss=new D.nKC("");let Ws=(()=>{class p{static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:()=>(0,D.WQX)(aa),providedIn:"root"})}return p})();class Fs{shouldDetach(M){return!1}store(M,v){}shouldAttach(M){return!1}retrieve(M){return null}shouldReuseRoute(M,v){return M.routeConfig===v.routeConfig}shouldDestroyInjector(M){return!0}}let aa=(()=>{class p extends Fs{static \u0275fac=(()=>{let v;return function(W){return(v||(v=J.xGo(p)))(W||p)}})();static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})(),Hs=(()=>{class p{urlSerializer=(0,D.WQX)(Lr);options=(0,D.WQX)($i,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,D.WQX)(_.aZ);urlHandlingStrategy=(0,D.WQX)(is);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new yn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:v,initialUrl:T,targetBrowserUrl:W}){const ge=void 0!==v?this.urlHandlingStrategy.merge(v,T):T,je=W??ge;return je instanceof yn?this.urlSerializer.serialize(je):je}routerUrlState(v){return void 0===v?.targetBrowserUrl||void 0===v?.finalUrl?{}:{\u0275routerUrl:this.urlSerializer.serialize(v.finalUrl)}}commitTransition({targetRouterState:v,finalUrl:T,initialUrl:W}){T&&v?(this.currentUrlTree=T,this.rawUrlTree=this.urlHandlingStrategy.merge(T,W),this.routerState=v):this.rawUrlTree=W}routerState=et(null,(0,D.WQX)(D.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:()=>(0,D.WQX)(Gs),providedIn:"root"})}return p})(),Gs=(()=>{class p extends Hs{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(v){return this.location.subscribe(T=>{"popstate"===T.type&&setTimeout(()=>{v(T.url,T.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(v,T){v instanceof An?this.updateStateMemento():v instanceof wr?this.commitTransition(T):v instanceof xn?"eager"===this.urlUpdateStrategy&&(T.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(T),T)):v instanceof ar?(this.commitTransition(T),"deferred"===this.urlUpdateStrategy&&!T.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(T),T)):v instanceof or&&!function $r(p){return p 
1instanceof or&&(p.code===cr.Redirect||p.code===cr.SupersededByNewNavigation)}(v)?this.restoreHistory(T):v instanceof ro?this.restoreHistory(T,!0):v instanceof Gn&&(this.lastSuccessfulId=v.id,this.currentPageId=this.browserPageId)}setBrowserUrl(v,T){const{extras:W,id:ge}=T,{replaceUrl:je,state:Ie}=W;if(this.location.isCurrentPathEqualTo(v)||je){const Lt=this.browserPageId,Vt={...Ie,...this.generateNgRouterState(ge,Lt,T)};this.location.replaceState(v,"",Vt)}else{const Lt={...Ie,...this.generateNgRouterState(ge,this.browserPageId+1,T)};this.location.go(v,"",Lt)}}restoreHistory(v,T=!1){if("computed"===this.canceledNavigationResolution){const ge=this.currentPageId-this.browserPageId;0!==ge?this.location.historyGo(ge):this.getCurrentUrlTree()===v.finalUrl&&0===ge&&(this.resetInternalState(v),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(T&&this.resetInternalState(v),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:v}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,v??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(v,T,W){return"computed"===this.canceledNavigationResolution?{navigationId:v,\u0275routerPageId:T,...this.routerUrlState(W)}:{navigationId:v,...this.routerUrlState(W)}}static \u0275fac=(()=>{let v;return function(W){return(v||(v=J.xGo(p)))(W||p)}})();static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})();function Li(p,M){p.events.pipe((0,Zt.p)(v=>v instanceof Gn||v instanceof or||v instanceof ro||v instanceof wr),(0,Ke.T)(v=>v instanceof Gn||v instanceof wr?0:v instanceof or&&(v.code===cr.Redirect||v.code===cr.SupersededByNewNavigation)?2:1),(0,Zt.p)(v=>2!==v),(0,At.s)(1)).subscribe(()=>{M()})}let as=(()=>{class p{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,D.WQX)(J.C7A);stateManager=(0,D.WQX)(Hs);options=(0,D.WQX)($i,{optional:!0})||{};pendingTasks=(0,D.WQX)(D.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,D.WQX)(gs);urlSerializer=(0,D.WQX)(Lr);location=(0,D.WQX)(_.aZ);urlHandlingStrategy=(0,D.WQX)(is);injector=(0,D.WQX)(D.uvJ);_events=new de.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,D.WQX)(Ws);injectorCleanup=(0,D.WQX)(ss,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,D.WQX)(hi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,D.WQX)(io,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:v=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new fe.yU;subscribeToNavigationEvents(){const v=this.navigationTransitions.events.subscribe(T=>{try{const W=this.navigationTransitions.currentTransition,ge=(0,B.O8)(this.navigationTransitions.currentNavigation);if(null!==W&&null!==ge)if(this.stateManager.handleRouterEvent(T,ge),T instanceof or&&T.code!==cr.Redirect&&T.code!==cr.SupersededByNewNavigation)this.navigated=!0;else if(T instanceof Gn)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(T instanceof zr){const je=T.navigationBehaviorOptions,Ie=this.urlHandlingStrategy.merge(T.url,W.currentRawUrl),Lt={scroll:W.extras.scroll,browserUrl:W.extras.browserUrl,info:W.extras.info,skipLocationChange:W.extras.skipLocationChange,replaceUrl:W.extras.replaceUrl||"eager"===this.urlUpdateStrategy||xs(W.source),...je};this.scheduleNavigation(Ie,xt,null,Lt,{resolve:W.resolve,reject:W.reject,promise:W.promise})}(function po(p){return!(p instanceof ar||p instanceof zr||p instanceof mr)})(T)&&this._events.next(T)}catch(W){this.navigationTransitions.transitionAbortWithErrorSubject.next(W)}});this.eventsSubscription.add(v)}resetRootComponentType(v){this.routerState.root.component=v,this.navigationTransitions.rootComponentType=v}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),xt,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((v,T,W,ge)=>{this.navigateToSyncWithBrowser(v,W,T,ge)})}navigateToSyncWithBrowser(v,T,W,ge){const je=W?.navigationId?W:null,Ie=W?.\u0275routerUrl??v;if(W?.\u0275routerUrl&&(ge={...ge,browserUrl:v}),W){const Vt={...W};delete Vt.navigationId,delete Vt.\u0275routerPageId,delete Vt.\u0275routerUrl,0!==Object.keys(Vt).length&&(ge.state=Vt)}const Lt=this.parseUrl(Ie);this.scheduleNavigation(Lt,T,je,ge).catch(Vt=>{this.disposed||this.injector.get(D.ZTf)(Vt)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,B.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(v){this.config=v.map(mo),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(v,T={}){const{relativeTo:W,queryParams:ge,fragment:je,queryParamsHandling:Ie,preserveFragment:Lt}=T,Vt=Lt?this.currentUrlTree.fragment:je;let sr,Pn=null;switch(Ie??this.options.defaultQueryParamsHandling){case"merge":Pn={...this.currentUrlTree.queryParams,...ge};break;case"preserve":Pn=this.currentUrlTree.queryParams;break;default:Pn=ge||null}null!==Pn&&(Pn=this.removeEmptyProps(Pn));try{sr=Ln(W?W.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof v[0]||"/"!==v[0][0])&&(v=[]),sr=this.currentUrlTree.root}return kn(sr,v,Pn,Vt??null,this.urlSerializer)}navigateByUrl(v,T={skipLocationChange:!1}){const W=qe(v)?v:this.parseUrl(v),ge=this.urlHandlingStrategy.merge(W,this.rawUrlTree);return this.scheduleNavigation(ge,xt,null,T)}navigate(v,T={skipLocationChange:!1}){return function ms(p){for(let M=0;M<p.length;M++)if(null==p[M])throw new D.buA(4008,!1)}(v),this.navigateByUrl(this.createUrlTree(v,T),T)}serializeUrl(v){return this.urlSerializer.serialize(v)}parseUrl(v){try{return this.urlSerializer.parse(v)}catch{return this.console.warn((0,D.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(v,T){let W;if(W=!0===T?{...A}:!1===T?{...w}:{...w,...T},qe(v))return Ge(this.currentUrlTree,v,W);const ge=this.parseUrl(v);return Ge(this.currentUrlTree,ge,W)}removeEmptyProps(v){return Object.entries(v).reduce((T,[W,ge])=>(null!=ge&&(T[W]=ge),T),{})}scheduleNavigation(v,T,W,ge,je){if(this.disposed)return Promise.resolve(!1);let Ie,Lt,Vt;je?(Ie=je.resolve,Lt=je.reject,Vt=je.promise):Vt=new Promise((sr,Y)=>{Ie=sr,Lt=Y});const Pn=this.pendingTasks.add();return Li(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Pn))}),this.navigationTransitions.handleNavigationRequest({source:T,restoredState:W,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:v,extras:ge,resolve:Ie,reject:Lt,promise:Vt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
1),Vt.catch(Promise.reject.bind(Promise))}static \u0275fac=function(T){return new(T||p)};static \u0275prov=D.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},93049(wt,Ce,a){"use strict";a.d(Ce,{Wk:()=>Ge,iI:()=>qe,wQ:()=>Nt});var De=a(10467),Re=a(45984),Fe=a(60177),Xe=a(49769),dt=a(46494),ht=a(17705),Dt=a(35547),yt=a(60414),Ut=a(76307),Ht=a(99829),Dn=a(21413),fn=a(86648),o=a(7673),mt=a(70274),ne=a(5964),A=a(26365),w=a(31397);let ye=(()=>{class Ft{router=(0,yt.WQX)(Ht.Ix);stateManager=(0,yt.WQX)(Ht.fN);fragment=(0,yt.vPA)("");queryParams=(0,yt.vPA)({});path=(0,yt.vPA)("");serializer=(0,yt.WQX)(Ht.Sd);constructor(){this.updateState(),this.router.events?.subscribe(it=>{it instanceof Ht.wF&&this.updateState()})}updateState(){const{fragment:it,root:Rt,queryParams:ln}=this.stateManager.getCurrentUrlTree();this.fragment.set(it),this.queryParams.set(ln),this.path.set(this.serializer.serialize(new Ht.el(Rt)))}static \u0275fac=function(Rt){return new(Rt||Ft)};static \u0275prov=yt.jDH({token:Ft,factory:Ft.\u0275fac,providedIn:"root"})}return Ft})(),Ge=(()=>{class Ft{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,yt.WQX)(new ht.ES_("href"),{optional:!0});reactiveHref=(0,Ut.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return(0,Ut.O8)(this.reactiveHref)}set href(it){this.reactiveHref.set(it)}set target(it){this._target.set(it)}get target(){return(0,Ut.O8)(this._target)}_target=(0,yt.vPA)(void 0);set queryParams(it){this._queryParams.set(it)}get queryParams(){return(0,Ut.O8)(this._queryParams)}_queryParams=(0,yt.vPA)(void 0,{equal:()=>!1});set fragment(it){this._fragment.set(it)}get fragment(){return(0,Ut.O8)(this._fragment)}_fragment=(0,yt.vPA)(void 0);set queryParamsHandling(it){this._queryParamsHandling.set(it)}get queryParamsHandling(){return(0,Ut.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,yt.vPA)(void 0);set state(it){this._state.set(it)}get state(){return(0,Ut.O8)(this._state)}_state=(0,yt.vPA)(void 0,{equal:()=>!1});set info(it){this._info.set(it)}get info(){return(0,Ut.O8)(this._info)}_info=(0,yt.vPA)(void 0,{equal:()=>!1});set relativeTo(it){this._relativeTo.set(it)}get relativeTo(){return(0,Ut.O8)(this._relativeTo)}_relativeTo=(0,yt.vPA)(void 0);set preserveFragment(it){this._preserveFragment.set(it)}get preserveFragment(){return(0,Ut.O8)(this._preserveFragment)}_preserveFragment=(0,yt.vPA)(!1);set skipLocationChange(it){this._skipLocationChange.set(it)}get skipLocationChange(){return(0,Ut.O8)(this._skipLocationChange)}_skipLocationChange=(0,yt.vPA)(!1);set replaceUrl(it){this._replaceUrl.set(it)}get replaceUrl(){return(0,Ut.O8)(this._replaceUrl)}_replaceUrl=(0,yt.vPA)(!1);isAnchorElement;onChanges=new Dn.B;applicationErrorHandler=(0,yt.WQX)(yt.ZTf);options=(0,yt.WQX)(Ht.J_,{optional:!0});reactiveRouterState=(0,yt.WQX)(ye);constructor(it,Rt,ln,qt,Nn,tr){this.router=it,this.route=Rt,this.tabIndexAttribute=ln,this.renderer=qt,this.el=Nn,this.locationStrategy=tr;const Kn=Nn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Kn||"area"===Kn||!("object"!=typeof customElements||!customElements.get(Kn)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(it){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",it)}ngOnChanges(it){this.onChanges.next(this)}routerLinkInput=(0,yt.vPA)(null);set routerLink(it){null==it?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,Ht.wO)(it)?this.routerLinkInput.set(it):this.routerLinkInput.set(Array.isArray(it)?it:[it]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(it,Rt,ln,qt,Nn){const tr=this._urlTree();if(null===tr||this.isAnchorElement&&(0!==it||Rt||ln||qt||Nn||"string"==typeof this.target&&"_self"!=this.target))return!0;const Kn={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(tr,Kn)?.catch(pe=>{this.applicationErrorHandler(pe)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(it,Rt){const ln=this.renderer,qt=this.el.nativeElement;null!==Rt?ln.setAttribute(qt,it,Rt):ln.removeAttribute(qt,it)}
1_urlTree=(0,Ut.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const it=ln=>"preserve"===ln||"merge"===ln;(it(this._queryParamsHandling())||it(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const Rt=this.routerLinkInput();return null!==Rt&&this.router.createUrlTree?(0,Ht.wO)(Rt)?Rt:this.router.createUrlTree(Rt,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{equal:(it,Rt)=>this.computeHref(it)===this.computeHref(Rt)});get urlTree(){return(0,Ut.O8)(this._urlTree)}computeHref(it){return null!==it&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(it))??"":null}static \u0275fac=function(Rt){return new(Rt||Ft)(Dt.rXU(Ht.Ix),Dt.rXU(Ht.nX),Dt.kS0("tabindex"),Dt.rXU(Dt.sFG),Dt.rXU(Dt.aKT),Dt.rXU(Re.hb))};static \u0275dir=Dt.FsC({type:Ft,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Rt,ln){1&Rt&&Dt.bIt("click",function(Nn){return ln.onClick(Nn.button,Nn.ctrlKey,Nn.shiftKey,Nn.altKey,Nn.metaKey)}),2&Rt&&Dt.BMQ("href",ln.reactiveHref(),Dt.n$t)("target",ln._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ht.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ht.L39],replaceUrl:[2,"replaceUrl","replaceUrl",ht.L39],routerLink:"routerLink"},features:[Dt.OA$]})}return Ft})(),Nt=(()=>{class Ft{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new yt.bkB;link=(0,yt.WQX)(Ge,{optional:!0});constructor(it,Rt,ln,qt){this.router=it,this.element=Rt,this.renderer=ln,this.cdr=qt,this.routerEventsSubscription=it.events.subscribe(Nn=>{Nn instanceof Ht.wF&&this.update()})}ngAfterContentInit(){(0,o.of)(this.links.changes,(0,o.of)(null)).pipe((0,A.U)()).subscribe(it=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const it=[...this.links.toArray(),this.link].filter(Rt=>!!Rt).map(Rt=>Rt.onChanges);this.linkInputChangesSubscription=(0,fn.H)(it).pipe((0,A.U)()).subscribe(Rt=>{this._isActive!==this.isLinkActive(this.router)(Rt)&&this.update()})}set routerLinkActive(it){const Rt=Array.isArray(it)?it:it.split(" ");this.classes=Rt.filter(ln=>!!ln)}ngOnChanges(it){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const it=this.hasActiveLinks();this.classes.forEach(Rt=>{it?this.renderer.addClass(this.element.nativeElement,Rt):this.renderer.removeClass(this.element.nativeElement,Rt)}),it&&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!==it&&(this._isActive=it,this.cdr.markForCheck(),this.isActiveChange.emit(it))})}isLinkActive(it){const Rt=function Oe(Ft){return!!(Ft.paths||Ft.matrixParams||Ft.queryParams||Ft.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{...Ht.tE}:{...Ht.E};return ln=>{const qt=ln.urlTree;return!!qt&&(0,Ut.O8)((0,Ht.$m)(qt,it,Rt))}}hasActiveLinks(){const it=this.isLinkActive(this.router);return this.link&&it(this.link)||this.links.some(it)}static \u0275fac=function(Rt){return new(Rt||Ft)(Dt.rXU(Ht.Ix),Dt.rXU(Dt.aKT),Dt.rXU(Dt.sFG),Dt.rXU(ht.gRc))};static \u0275dir=Dt.FsC({type:Ft,selectors:[["","routerLinkActive",""]],contentQueries:function(Rt,ln,qt){if(1&Rt&&Dt.wni(qt,Ge,5),2&Rt){let Nn;Dt.mGM(Nn=Dt.lsd())&&(ln.links=Nn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Dt.OA$]})}return Ft})();class Pt{}let vn=(()=>{class Ft{router;injector;preloadingStrategy;loader;subscription;constructor(it,Rt,ln,qt){this.router=it,this.injector=Rt,this.preloadingStrategy=ln,this.loader=qt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ne.p)(it=>it instanceof Ht.wF),(0,mt.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(it,Rt){const ln=[];for(const qt of Rt){qt.providers&&!qt._injector&&(qt._injector=(0,Dt.Ol2)(qt.providers,it,""));const Nn=qt._injector??it;qt._loadedNgModuleFactory&&!qt._loadedInjector&&(qt._loadedInjector=qt._loadedNgModuleFactory.create(Nn).injector);const tr=qt._loadedInjector??Nn;(qt.loadChildren&&!qt._loadedRoutes&&void 0===qt.canLoad||qt.loadComponent&&!qt._loadedComponent)&&ln.push(this.preloadConfig(Nn,qt)),(qt.children||qt._loadedRoutes)&&ln.push(this.processRoutes(tr,qt.children??qt._loadedRoutes))}return(0,fn.H)(ln).pipe((0,A.U)())}preloadConfig(it,Rt){return this.preloadingStrategy.preload(Rt,()=>{if(it.destroyed)return(0,o.of)(null);let ln;ln=Rt.loadChildren&&void 0===Rt.canLoad?(0,fn.H)(this.loader.loadChildren(it,Rt)):(0,o.of)(null);const qt=ln.pipe((0,w.Z)(Nn=>null===Nn?(0,o.of)(void 0):(Rt._loadedRoutes=Nn.routes,Rt._loadedInjector=Nn.injector,Rt._loadedNgModuleFactory=Nn.factory,this.processRoutes(Nn.injector??it,Nn.routes))));if(Rt.loadComponent&&!Rt._loadedComponent){const Nn=this.loader.loadComponent(it,Rt);return(0,fn.H)([qt,Nn]).pipe((0,A.U)())}return qt})}static \u0275fac=function(Rt){return new(Rt||Ft)(yt.KVO(Ht.Ix),yt.KVO(yt.uvJ),yt.KVO(Pt),yt.KVO(Ht.D$))};static \u0275prov=yt.jDH({token:Ft,factory:Ft.\u0275fac,providedIn:"root"})}return Ft})();const yn=new yt.nKC("");let Rn=(()=>{class Ft{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ht.wU;restoredId=0;store={};isHydrating=(0,yt.WQX)(Dt.qBF,{optional:!0})??!1;
1urlSerializer=(0,yt.WQX)(Ht.Sd);zone=(0,yt.WQX)(yt.SKi);viewportScroller=(0,yt.WQX)(Fe.Xr);transitions=(0,yt.WQX)(Ht.J2);constructor(it){this.options=it,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,yt.WQX)(Dt.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(it=>{it instanceof Ht.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=it.navigationTrigger,this.restoredId=it.restoredState?it.restoredState.navigationId:0):it instanceof Ht.wF?(this.lastId=it.id,this.scheduleScrollEvent(it,this.urlSerializer.parse(it.urlAfterRedirects).fragment)):it instanceof Ht.lW&&it.code===Ht.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(it,this.urlSerializer.parse(it.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(it=>{if(!(it instanceof Ht.OY)||"manual"===it.scrollBehavior)return;const Rt={behavior:"instant"};it.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Rt):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(it.position,Rt):it.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(it.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(it,Rt){var ln=this;if(this.isHydrating)return;const qt=(0,Ut.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,De.A)(function*(){yield new Promise(Nn=>{setTimeout(Nn),typeof requestAnimationFrame<"u"&&requestAnimationFrame(Nn)}),ln.zone.run(()=>{ln.transitions.events.next(new Ht.OY(it,"popstate"===ln.lastSource?ln.store[ln.restoredId]:null,Rt,qt))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Rt){Dt.QTQ()};static \u0275prov=yt.jDH({token:Ft,factory:Ft.\u0275fac})}return Ft})();function On(Ft,wn){return{\u0275kind:Ft,\u0275providers:wn}}function Hr(){const Ft=(0,yt.WQX)(yt.zZn);return wn=>{const it=Ft.get(Dt.o8S);if(wn!==it.components[0])return;const Rt=Ft.get(Ht.Ix),ln=Ft.get(Vr);1===Ft.get(rt)&&Rt.initialNavigation(),Ft.get(en,null,{optional:!0})?.setUpPreloading(),Ft.get(yn,null,{optional:!0})?.init(),Rt.resetRootComponentType(it.componentTypes[0]),ln.closed||(ln.next(),ln.complete(),ln.unsubscribe())}}const Vr=new yt.nKC("",{factory:()=>new Dn.B}),rt=new yt.nKC("",{factory:()=>1}),en=new yt.nKC("");function er(Ft){return On(0,[{provide:en,useExisting:vn},{provide:Pt,useExisting:Ft}])}function Mo(Ft){return(0,Dt._jY)("NgRouterViewTransitions"),On(9,[{provide:Ht.Pu,useValue:Ht.Lg},{provide:Ht.bK,useValue:{skipNextTransition:!!Ft?.skipInitialTransition,...Ft}}])}const Ze=[Re.aZ,{provide:Ht.Sd,useClass:Ht.nU},Ht.Ix,Ht.Zp,{provide:Ht.nX,useFactory:function jr(){return(0,yt.WQX)(Ht.Ix).routerState.root}},Ht.D$,[]];let qe=(()=>{class Ft{constructor(){}static forRoot(it,Rt){return{ngModule:Ft,providers:[Ze,[],{provide:Ht.bw,multi:!0,useValue:it},[],Rt?.errorHandler?{provide:Ht.XR,useValue:Rt.errorHandler}:[],{provide:Ht.J_,useValue:Rt||{}},Rt?.useHash?{provide:Re.hb,useClass:Xe.fw}:{provide:Re.hb,useClass:Re.Sm},{provide:yn,useFactory:()=>{const Ft=(0,yt.WQX)(Fe.Xr),wn=(0,yt.WQX)(Ht.J_);return wn.scrollOffset&&Ft.setOffset(wn.scrollOffset),new Rn(wn)}},Rt?.preloadingStrategy?er(Rt.preloadingStrategy).\u0275providers:[],Rt?.initialNavigation?Vn(Rt):[],Rt?.bindToComponentInputs?On(8,[Ht.tD,{provide:Ht.c1,useExisting:Ht.tD}]).\u0275providers:[],Rt?.enableViewTransitions?Mo().\u0275providers:[],[{provide:gr,useFactory:Hr},{provide:Dt.iLQ,multi:!0,useExisting:gr}]]}}static forChild(it){return{ngModule:Ft,providers:[{provide:Ht.bw,multi:!0,useValue:it}]}}static \u0275fac=function(Rt){return new(Rt||Ft)};static \u0275mod=Dt.$C({type:Ft});static \u0275inj=yt.G2t({})}return Ft})();function Vn(Ft){return["disabled"===Ft.initialNavigation?On(3,[(0,Dt.phd)(()=>{(0,yt.WQX)(Ht.Ix).setUpLocationChangeListener()}),{provide:rt,useValue:2}]).\u0275providers:[],"enabledBlocking"===Ft.initialNavigation?On(2,[{provide:Dt.tvf,useValue:!0},{provide:rt,useValue:0},(0,Dt.phd)(()=>{const wn=(0,yt.WQX)(yt.zZn);return wn.get(dt.hj,Promise.resolve()).then(()=>new Promise(Rt=>{const ln=wn.get(Ht.Ix),qt=wn.get(Vr);(0,Ht.gk)(ln,()=>{Rt(!0)}),wn.get(Ht.J2).afterPreactivation=()=>(Rt(!0),qt.closed?(0,o.of)(void 0):qt),ln.initialNavigation()}))})]).\u0275providers:[]]}const gr=new yt.nKC("")},71860(wt,Ce,a){"use strict";a.d(Ce,{Lk:()=>ai,dV:()=>Bi,OQ:()=>Qo,$H:()=>Gr,Lt:()=>Si,bq:()=>So,uh:()=>si,kL:()=>zn,O9:()=>ri,Fq:()=>oo,Et:()=>pr,yL:()=>Fo,Kg:()=>br,Qc:()=>Ri,$d:()=>es,UF:()=>_i,dT:()=>Uo,F:()=>dr,cg:()=>Pr,Hg:()=>Ho,qm:()=>Go,yJ:()=>fr});
vendor: 4,197 bytes, line 1
1var I={left:"right",right:"left",bottom:"top",top:"bottom"};function D(ee){return ee.replace(/left|right|bottom|top/g,function(oe){return I[oe]})}function _(ee){return ee.split("-")[0]}var J={start:"end",end:"start"};function B(ee){return ee.replace(/start|end/g,function(oe){return J[oe]})}var S="top",k="bottom",R="right",H="left",ae="auto",V=[S,k,R,H],G="start",re="end",we="viewport",me="popper",be=V.reduce(function(ee,oe){return ee.concat([oe+"-"+G,oe+"-"+re])},[]),K=[].concat(V,[ae]).reduce(function(ee,oe){return ee.concat([oe,oe+"-"+G,oe+"-"+re])},[]),pt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Pe(ee){if(null==ee)return window;if("[object Window]"!==ee.toString()){var oe=ee.ownerDocument;return oe&&oe.defaultView||window}return ee}function xe(ee){return ee instanceof Pe(ee).Element||ee instanceof Element}function Je(ee){return ee instanceof Pe(ee).HTMLElement||ee instanceof HTMLElement}function st(ee){return!(typeof ShadowRoot>"u")&&(ee instanceof Pe(ee).ShadowRoot||ee instanceof ShadowRoot)}function tt(ee){return((xe(ee)?ee.ownerDocument:ee.document)||window.document).documentElement}var nt=Math.max,$e=Math.min,Me=Math.round;function X(){var ee=navigator.userAgentData;return null!=ee&&ee.brands&&Array.isArray(ee.brands)?ee.brands.map(function(oe){return oe.brand+"/"+oe.version}).join(" "):navigator.userAgent}function De(){return!/^((?!chrome|android).)*safari/i.test(X())}function Re(ee,oe,_e){void 0===oe&&(oe=!1),void 0===_e&&(_e=!1);var ot=ee.getBoundingClientRect(),ut=1,bt=1;oe&&Je(ee)&&(ut=ee.offsetWidth>0&&Me(ot.width)/ee.offsetWidth||1,bt=ee.offsetHeight>0&&Me(ot.height)/ee.offsetHeight||1);var zt=(xe(ee)?Pe(ee):window).visualViewport,Yt=!De()&&_e,hn=(ot.left+(Yt&&zt?zt.offsetLeft:0))/ut,rn=(ot.top+(Yt&&zt?zt.offsetTop:0))/bt,ir=ot.width/ut,Wn=ot.height/bt;return{width:ir,height:Wn,top:rn,right:hn+ir,bottom:rn+Wn,left:hn,x:hn,y:rn}}function Fe(ee){var oe=Pe(ee);return{scrollLeft:oe.pageXOffset,scrollTop:oe.pageYOffset}}function Xe(ee){return Re(tt(ee)).left+Fe(ee).scrollLeft}function ht(ee){return Pe(ee).getComputedStyle(ee)}function yt(ee){return ee?(ee.nodeName||"").toLowerCase():null}function Ut(ee){return"html"===yt(ee)?ee:ee.assignedSlot||ee.parentNode||(st(ee)?ee.host:null)||tt(ee)}function Ht(ee){var oe=ht(ee);return/auto|scroll|overlay|hidden/.test(oe.overflow+oe.overflowY+oe.overflowX)}function Dn(ee){return["html","body","#document"].indexOf(yt(ee))>=0?ee.ownerDocument.body:Je(ee)&&Ht(ee)?ee:Dn(Ut(ee))}function fn(ee,oe){var _e;void 0===oe&&(oe=[]);var ot=Dn(ee),ut=ot===(null==(_e=ee.ownerDocument)?void 0:_e.body),bt=Pe(ot),Kt=ut?[bt].concat(bt.visualViewport||[],Ht(ot)?ot:[]):ot,zt=oe.concat(Kt);return ut?zt:zt.concat(fn(Ut(Kt)))}function o(ee){return["table","td","th"].indexOf(yt(ee))>=0}function mt(ee){return Je(ee)&&"fixed"!==ht(ee).position?ee.offsetParent:null}function A(ee){for(var oe=Pe(ee),_e=mt(ee);_e&&o(_e)&&"static"===ht(_e).position;)_e=mt(_e);return _e&&("html"===yt(_e)||"body"===yt(_e)&&"static"===ht(_e).position)?oe:_e||function ne(ee){var oe=/firefox/i.test(X());if(/Trident/i.test(X())&&Je(ee)&&"fixed"===ht(ee).position)return null;var ut=Ut(ee);for(st(ut)&&(ut=ut.host);Je(ut)&&["html","body"].indexOf(yt(ut))<0;){var bt=ht(ut);if("none"!==bt.transform||"none"!==bt.perspective||"paint"===bt.contain||-1!==["transform","perspective"].indexOf(bt.willChange)||oe&&"filter"===bt.willChange||oe&&bt.filter&&"none"!==bt.filter)return ut;ut=ut.parentNode}return null}(ee)||oe}function w(ee,oe){var _e=oe.getRootNode&&oe.getRootNode();if(ee.contains(oe))return!0;if(_e&&st(_e)){var ot=oe;do{if(ot&&ee.isSameNode(ot))return!0;ot=ot.parentNode||ot.host}while(ot)}return!1}function ye(ee){return Object.assign({},ee,{left:ee.x,top:ee.y,right:ee.x+ee.width,bottom:ee.y+ee.height})}function Nt(ee,oe,_e){return oe===we?ye(function dt(ee,oe){var _e=Pe(ee),ot=tt(ee),ut=_e.visualViewport,bt=ot.clientWidth,Kt=ot.clientHeight,zt=0,Yt=0;if(ut){bt=ut.width,Kt=ut.height;var hn=De();(hn||!hn&&"fixed"===oe)&&(zt=ut.offsetLeft,Yt=ut.offsetTop)}return{width:bt,height:Kt,x:zt+Xe(ee),y:Yt}}(ee,_e)):xe(oe)?function Ge(ee,oe){var _e=Re(ee,!1,"fixed"===oe);
1return _e.top=_e.top+ee.clientTop,_e.left=_e.left+ee.clientLeft,_e.bottom=_e.top+ee.clientHeight,_e.right=_e.left+ee.clientWidth,_e.width=ee.clientWidth,_e.height=ee.clientHeight,_e.x=_e.left,_e.y=_e.top,_e}(oe,_e):ye(function Dt(ee){var oe,_e=tt(ee),ot=Fe(ee),ut=null==(oe=ee.ownerDocument)?void 0:oe.body,bt=nt(_e.scrollWidth,_e.clientWidth,ut?ut.scrollWidth:0,ut?ut.clientWidth:0),Kt=nt(_e.scrollHeight,_e.clientHeight,ut?ut.scrollHeight:0,ut?ut.clientHeight:0),zt=-ot.scrollLeft+Xe(ee),Yt=-ot.scrollTop;return"rtl"===ht(ut||_e).direction&&(zt+=nt(_e.clientWidth,ut?ut.clientWidth:0)-bt),{width:bt,height:Kt,x:zt,y:Yt}}(tt(ee)))}function nn(ee){return ee.split("-")[1]}function gn(ee){return["top","bottom"].indexOf(ee)>=0?"x":"y"}function vn(ee){var Yt,oe=ee.reference,_e=ee.element,ot=ee.placement,ut=ot?_(ot):null,bt=ot?nn(ot):null,Kt=oe.x+oe.width/2-_e.width/2,zt=oe.y+oe.height/2-_e.height/2;switch(ut){case S:Yt={x:Kt,y:oe.y-_e.height};break;case k:Yt={x:Kt,y:oe.y+oe.height};break;case R:Yt={x:oe.x+oe.width,y:zt};break;case H:Yt={x:oe.x-_e.width,y:zt};break;default:Yt={x:oe.x,y:oe.y}}var hn=ut?gn(ut):null;if(null!=hn){var rn="y"===hn?"height":"width";switch(bt){case G:Yt[hn]=Yt[hn]-(oe[rn]/2-_e[rn]/2);break;case re:Yt[hn]=Yt[hn]+(oe[rn]/2-_e[rn]/2)}}return Yt}function Rn(ee){return Object.assign({},{top:0,right:0,bottom:0,left:0},ee)}function yr(ee,oe){return oe.reduce(function(_e,ot){return _e[ot]=ee,_e},{})}function Tr(ee,oe){void 0===oe&&(oe={});var ot=oe.placement,ut=void 0===ot?ee.placement:ot,bt=oe.strategy,Kt=void 0===bt?ee.strategy:bt,zt=oe.boundary,Yt=void 0===zt?"clippingParents":zt,hn=oe.rootBoundary,rn=void 0===hn?we:hn,ir=oe.elementContext,Wn=void 0===ir?me:ir,En=oe.altBoundary,lr=void 0!==En&&En,Hn=oe.padding,O=void 0===Hn?0:Hn,N=Rn("number"!=typeof O?O:yr(O,V)),te=ee.rects.popper,Ne=ee.elements[lr?Wn===me?"reference":me:Wn],an=function Pt(ee,oe,_e,ot){var ut="clippingParents"===oe?function Oe(ee){var oe=fn(Ut(ee)),ot=["absolute","fixed"].indexOf(ht(ee).position)>=0&&Je(ee)?A(ee):ee;return xe(ot)?oe.filter(function(ut){return xe(ut)&&w(ut,ot)&&"body"!==yt(ut)}):[]}(ee):[].concat(oe),bt=[].concat(ut,[_e]),zt=bt.reduce(function(Yt,hn){var rn=Nt(ee,hn,ot);return Yt.top=nt(rn.top,Yt.top),Yt.right=$e(rn.right,Yt.right),Yt.bottom=$e(rn.bottom,Yt.bottom),Yt.left=nt(rn.left,Yt.left),Yt},Nt(ee,bt[0],ot));return zt.width=zt.right-zt.left,zt.height=zt.bottom-zt.top,zt.x=zt.left,zt.y=zt.top,zt}(xe(Ne)?Ne:Ne.contextElement||tt(ee.elements.popper),Yt,rn,Kt),Cn=Re(ee.elements.reference),_r=vn({reference:Cn,element:te,strategy:"absolute",placement:ut}),vr=ye(Object.assign({},te,_r)),so=Wn===me?vr:Cn,fo={top:an.top-so.top+N.top,bottom:so.bottom-an.bottom+N.bottom,left:an.left-so.left+N.left,right:so.right-an.right+N.right},wo=ee.modifiersData.offset;if(Wn===me&&wo){var to=wo[ut];Object.keys(fo).forEach(function(yo){var ci=[R,k].indexOf(yo)>=0?1:-1,ui=[S,k].indexOf(yo)>=0?"y":"x";fo[yo]+=to[ui]*ci})}return fo}const Kr={name:"flip",enabled:!0,phase:"main",fn:function Lr(ee){var oe=ee.state,_e=ee.options,ot=ee.name;if(!oe.modifiersData[ot]._skip){for(var ut=_e.mainAxis,bt=void 0===ut||ut,Kt=_e.altAxis,zt=void 0===Kt||Kt,Yt=_e.fallbackPlacements,hn=_e.padding,rn=_e.boundary,ir=_e.rootBoundary,Wn=_e.altBoundary,En=_e.flipVariations,lr=void 0===En||En,Hn=_e.allowedAutoPlacements,O=oe.options.placement,N=_(O),te=Yt||(N!==O&&lr?function No(ee){if(_(ee)===ae)return[];var oe=D(ee);return[B(ee),oe,B(oe)]}(O):[D(O)]),Ne=[O].concat(te).reduce(function(Ai,di){return Ai.concat(_(di)===ae?function xr(ee,oe){void 0===oe&&(oe={});var ut=oe.boundary,bt=oe.rootBoundary,Kt=oe.padding,zt=oe.flipVariations,Yt=oe.allowedAutoPlacements,hn=void 0===Yt?K:Yt,rn=nn(oe.placement),ir=rn?zt?be:be.filter(function(lr){return nn(lr)===rn}):V,Wn=ir.filter(function(lr){return hn.indexOf(lr)>=0});0===Wn.length&&(Wn=ir);var En=Wn.reduce(function(lr,Hn){return lr[Hn]=Tr(ee,{placement:Hn,boundary:ut,rootBoundary:bt,padding:Kt})[_(Hn)],lr},{});return Object.keys(En).sort(function(lr,Hn){return En[lr]-En[Hn]})}(oe,{placement:di,boundary:rn,rootBoundary:ir,padding:hn,flipVariations:lr,allowedAutoPlacements:Hn}):di)},[]),an=oe.rects.reference,Cn=oe.rects.popper,_r=new Map,vr=!0,so=Ne[0],fo=0;fo<Ne.length;fo++){var wo=Ne[fo],to=_(wo),yo=nn(wo)===G,ci=[S,k].indexOf(to)>=0,ui=ci?"width":"height",Bo=Tr(oe,{placement:wo,boundary:rn,rootBoundary:ir,altBoundary:Wn,padding:hn}),Ro=ci?yo?R:H:yo?k:S;an[ui]>Cn[ui]&&(Ro=D(Ro));var li=D(Ro),Ii=[];if(bt&&Ii.push(Bo[to]<=0),zt&&Ii.push(Bo[Ro]<=0,Bo[li]<=0),Ii.every(function(Ai){return Ai})){so=wo,vr=!1;break}_r.set(wo,Ii)}if(vr)for(var ts=function(di){var bi=Ne.find(function(Hi){var jo=_r.get(Hi);if(jo)return jo.slice(0,di).every(function(fs){return fs})});if(bi)return so=bi,"break"},Vi=lr?3:1;Vi>0&&"break"!==ts(Vi);Vi--);oe.placement!==so&&(oe.modifiersData[ot]._skip=!0,oe.placement=so,oe.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function On(ee,oe,_e){return nt(ee,$e(oe,_e))}function go(ee){var oe=Re(ee),_e=ee.offsetWidth,ot=ee.offsetHeight;return Math.abs(oe.width-_e)<=1&&(_e=oe.width),Math.abs(oe.height-ot)<=1&&(ot=oe.height),{x:ee.offsetLeft,y:ee.offsetTop,width:_e,height:ot}}const Lo={name:"preventOverflow",enabled:!0,phase:"main",fn:function bo(ee){var oe=ee.state,_e=ee.options,ot=ee.name,ut=_e.mainAxis,bt=void 0===ut||ut,Kt=_e.altAxis,zt=void 0!==Kt&&Kt,Wn=_e.tether,En=void 0===Wn||Wn,lr=_e.tetherOffset,Hn=void 0===lr?0:lr,O=Tr(oe,{boundary:_e.boundary,rootBoundary:_e.rootBoundary,padding:_e.padding,altBoundary:_e.altBoundary}),N=_(oe.placement),C=nn(oe.placement),te=!C,Ne=gn(N),an=function jr(ee){return"x"===ee?"y":"x"}(Ne),Cn=oe.modifiersData.popperOffsets,_r=oe.rects.reference,vr=oe.rects.popper,so="function"==typeof Hn?Hn(Object.assign({},oe.rects,{placement:oe.placement})):Hn,fo="number"==typeof so?{mainAxis:so,altAxis:so}:Object.assign({mainAxis:0,altAxis:0}
1,so),wo=oe.modifiersData.offset?oe.modifiersData.offset[oe.placement]:null,to={x:0,y:0};if(Cn){if(bt){var yo,ci="y"===Ne?S:H,ui="y"===Ne?k:R,Bo="y"===Ne?"height":"width",Ro=Cn[Ne],li=Ro+O[ci],Ii=Ro-O[ui],Ds=En?-vr[Bo]/2:0,ts=C===G?_r[Bo]:vr[Bo],Vi=C===G?-vr[Bo]:-_r[Bo],Wi=oe.elements.arrow,Ai=En&&Wi?go(Wi):{width:0,height:0},di=oe.modifiersData["arrow#persistent"]?oe.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},bi=di[ci],Hi=di[ui],jo=On(0,_r[Bo],Ai[Bo]),fs=te?_r[Bo]/2-Ds-jo-bi-fo.mainAxis:ts-jo-bi-fo.mainAxis,As=te?-_r[Bo]/2+Ds+jo+Hi+fo.mainAxis:Vi+jo+Hi+fo.mainAxis,ns=oe.elements.arrow&&A(oe.elements.arrow),bs=ns?"y"===Ne?ns.clientTop||0:ns.clientLeft||0:0,Vo=null!=(yo=wo?.[Ne])?yo:0,Os=Ro+As-Vo,yi=On(En?$e(li,Ro+fs-Vo-bs):li,Ro,En?nt(Ii,Os):Ii);Cn[Ne]=yi,to[Ne]=yi-Ro}if(zt){var hs,fi=Cn[an],Pi="y"===an?"height":"width",rs=fi+O["x"===Ne?S:H],Xo=fi-O["x"===Ne?k:R],Jo=-1!==[S,H].indexOf(N),$i=null!=(hs=wo?.[an])?hs:0,hi=Jo?rs:fi-_r[Pi]-vr[Pi]-$i+fo.altAxis,Ei=Jo?fi+_r[Pi]+vr[Pi]-$i-fo.altAxis:Xo,Ki=En&&Jo?function eo(ee,oe,_e){var ot=On(ee,oe,_e);return ot>_e?_e:ot}(hi,fi,Ei):On(En?hi:rs,fi,En?Ei:Xo);Cn[an]=Ki,to[an]=Ki-fi}oe.modifiersData[ot]=to}},requiresIfExists:["offset"]},rt={name:"arrow",enabled:!0,phase:"main",fn:function Hr(ee){var oe,_e=ee.state,ot=ee.name,ut=ee.options,bt=_e.elements.arrow,Kt=_e.modifiersData.popperOffsets,zt=_(_e.placement),Yt=gn(zt),rn=[H,R].indexOf(zt)>=0?"height":"width";if(bt&&Kt){var ir=function(oe,_e){return Rn("number"!=typeof(oe="function"==typeof oe?oe(Object.assign({},_e.rects,{placement:_e.placement})):oe)?oe:yr(oe,V))}(ut.padding,_e),Wn=go(bt),En="y"===Yt?S:H,lr="y"===Yt?k:R,Hn=_e.rects.reference[rn]+_e.rects.reference[Yt]-Kt[Yt]-_e.rects.popper[rn],O=Kt[Yt]-_e.rects.reference[Yt],N=A(bt),C=N?"y"===Yt?N.clientHeight||0:N.clientWidth||0:0,Cn=C/2-Wn[rn]/2+(Hn/2-O/2),_r=On(ir[En],Cn,C-Wn[rn]-ir[lr]);_e.modifiersData[ot]=((oe={})[Yt]=_r,oe.centerOffset=_r-Cn,oe)}},effect:function Vr(ee){var oe=ee.state,ot=ee.options.element,ut=void 0===ot?"[data-popper-arrow]":ot;null!=ut&&("string"==typeof ut&&!(ut=oe.elements.popper.querySelector(ut))||w(oe.elements.popper,ut)&&(oe.elements.arrow=ut))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function en(ee,oe,_e){void 0===_e&&(_e=!1);var ot=Je(oe),ut=Je(oe)&&function Xt(ee){var oe=ee.getBoundingClientRect(),_e=Me(oe.width)/ee.offsetWidth||1,ot=Me(oe.height)/ee.offsetHeight||1;return 1!==_e||1!==ot}(oe),bt=tt(oe),Kt=Re(ee,ut,_e),zt={scrollLeft:0,scrollTop:0},Yt={x:0,y:0};return(ot||!ot&&!_e)&&(("body"!==yt(oe)||Ht(bt))&&(zt=function Et(ee){return ee!==Pe(ee)&&Je(ee)?function Ye(ee){return{scrollLeft:ee.scrollLeft,scrollTop:ee.scrollTop}}(ee):Fe(ee)}(oe)),Je(oe)?((Yt=Re(oe,!0)).x+=oe.clientLeft,Yt.y+=oe.clientTop):bt&&(Yt.x=Xe(bt))),{x:Kt.left+zt.scrollLeft-Yt.x,y:Kt.top+zt.scrollTop-Yt.y,width:Kt.width,height:Kt.height}}function er(ee){var oe=new Map,_e=new Set,ot=[];function ut(bt){_e.add(bt.name),[].concat(bt.requires||[],bt.requiresIfExists||[]).forEach(function(zt){if(!_e.has(zt)){var Yt=oe.get(zt);Yt&&ut(Yt)}}),ot.push(bt)}return ee.forEach(function(bt){oe.set(bt.name,bt)}),ee.forEach(function(bt){_e.has(bt.name)||ut(bt)}),ot}function Dr(ee){var oe;return function(){return oe||(oe=new Promise(function(_e){Promise.resolve().then(function(){oe=void 0,_e(ee())})})),oe}}var Ir={placement:"bottom",modifiers:[],strategy:"absolute"};function Xr(){for(var ee=arguments.length,oe=new Array(ee),_e=0;_e<ee;_e++)oe[_e]=arguments[_e];return!oe.some(function(ot){return!(ot&&"function"==typeof ot.getBoundingClientRect)})}function Mo(ee){void 0===ee&&(ee={});var _e=ee.defaultModifiers,ot=void 0===_e?[]:_e,ut=ee.defaultOptions,bt=void 0===ut?Ir:ut;return function(zt,Yt,hn){void 0===hn&&(hn=bt);var rn={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ir,bt),modifiersData:{},elements:{reference:zt,popper:Yt},attributes:{},styles:{}},ir=[],Wn=!1,En={state:rn,setOptions:function(N){var C="function"==typeof N?N(rn.options):N;Hn(),rn.options=Object.assign({},bt,rn.options,C),rn.scrollParents={reference:xe(zt)?fn(zt):zt.contextElement?fn(zt.contextElement):[],popper:fn(Yt)};var te=function Er(ee){var oe=er(ee);return pt.reduce(function(_e,ot){return _e.concat(oe.filter(function(ut){return ut.phase===ot}))},[])}(function Or(ee){var oe=ee.reduce(function(_e,ot){var ut=_e[ot.name];return _e[ot.name]=ut?Object.assign({},ut,ot,{options:Object.assign({},ut.options,ot.options),data:Object.assign({},ut.data,ot.data)}):ot,_e},{});return Object.keys(oe).map(function(_e){return oe[_e]})}([].concat(ot,rn.options.modifiers)));return rn.orderedModifiers=te.filter(function(Ne){return Ne.enabled}
1),function lr(){rn.orderedModifiers.forEach(function(O){var C=O.options,Ne=O.effect;if("function"==typeof Ne){var an=Ne({state:rn,name:O.name,instance:En,options:void 0===C?{}:C});ir.push(an||function(){})}})}(),En.update()},forceUpdate:function(){if(!Wn){var N=rn.elements,C=N.reference,te=N.popper;if(Xr(C,te)){rn.rects={reference:en(C,A(te),"fixed"===rn.options.strategy),popper:go(te)},rn.reset=!1,rn.placement=rn.options.placement,rn.orderedModifiers.forEach(function(fo){return rn.modifiersData[fo.name]=Object.assign({},fo.data)});for(var Ne=0;Ne<rn.orderedModifiers.length;Ne++)if(!0!==rn.reset){var an=rn.orderedModifiers[Ne],Cn=an.fn,_r=an.options;"function"==typeof Cn&&(rn=Cn({state:rn,options:void 0===_r?{}:_r,name:an.name,instance:En})||rn)}else rn.reset=!1,Ne=-1}}},update:Dr(function(){return new Promise(function(O){En.forceUpdate(),O(rn)})}),destroy:function(){Hn(),Wn=!0}};if(!Xr(zt,Yt))return En;function Hn(){ir.forEach(function(O){return O()}),ir=[]}return En.setOptions(hn).then(function(O){!Wn&&hn.onFirstUpdate&&hn.onFirstUpdate(O)}),En}}var Gt={passive:!0},kn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vn(ee){var oe,_e=ee.popper,ot=ee.popperRect,ut=ee.placement,bt=ee.variation,Kt=ee.offsets,zt=ee.position,Yt=ee.gpuAcceleration,hn=ee.adaptive,rn=ee.roundOffsets,ir=ee.isFixed,Wn=Kt.x,En=void 0===Wn?0:Wn,lr=Kt.y,Hn=void 0===lr?0:lr,O="function"==typeof rn?rn({x:En,y:Hn}):{x:En,y:Hn};En=O.x,Hn=O.y;var N=Kt.hasOwnProperty("x"),C=Kt.hasOwnProperty("y"),te=H,Ne=S,an=window;if(hn){var Cn=A(_e),_r="clientHeight",vr="clientWidth";Cn===Pe(_e)&&"static"!==ht(Cn=tt(_e)).position&&"absolute"===zt&&(_r="scrollHeight",vr="scrollWidth"),(ut===S||(ut===H||ut===R)&&bt===re)&&(Ne=k,Hn-=(ir&&Cn===an&&an.visualViewport?an.visualViewport.height:Cn[_r])-ot.height,Hn*=Yt?1:-1),ut!==H&&(ut!==S&&ut!==k||bt!==re)||(te=R,En-=(ir&&Cn===an&&an.visualViewport?an.visualViewport.width:Cn[vr])-ot.width,En*=Yt?1:-1)}var yo,wo=Object.assign({position:zt},hn&&kn),to=!0===rn?function Mn(ee,oe){var ot=ee.y,ut=oe.devicePixelRatio||1;return{x:Me(ee.x*ut)/ut||0,y:Me(ot*ut)/ut||0}}({x:En,y:Hn},Pe(_e)):{x:En,y:Hn};return En=to.x,Hn=to.y,Object.assign({},wo,Yt?((yo={})[Ne]=C?"0":"",yo[te]=N?"0":"",yo.transform=(an.devicePixelRatio||1)<=1?"translate("+En+"px, "+Hn+"px)":"translate3d("+En+"px, "+Hn+"px, 0)",yo):((oe={})[Ne]=C?Hn+"px":"",oe[te]=N?En+"px":"",oe.transform="",oe))}var ln=Mo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Ze(ee){var oe=ee.state,_e=ee.instance,ot=ee.options,ut=ot.scroll,bt=void 0===ut||ut,Kt=ot.resize,zt=void 0===Kt||Kt,Yt=Pe(oe.elements.popper),hn=[].concat(oe.scrollParents.reference,oe.scrollParents.popper);return bt&&hn.forEach(function(rn){rn.addEventListener("scroll",_e.update,Gt)}),zt&&Yt.addEventListener("resize",_e.update,Gt),function(){bt&&hn.forEach(function(rn){rn.removeEventListener("scroll",_e.update,Gt)}),zt&&Yt.removeEventListener("resize",_e.update,Gt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function un(ee){var oe=ee.state;oe.modifiersData[ee.name]=vn({reference:oe.rects.reference,element:oe.rects.popper,strategy:"absolute",placement:oe.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function gr(ee){var oe=ee.state,_e=ee.options,ot=_e.gpuAcceleration,ut=void 0===ot||ot,bt=_e.adaptive,Kt=void 0===bt||bt,zt=_e.roundOffsets,Yt=void 0===zt||zt,hn={placement:_(oe.placement),variation:nn(oe.placement),popper:oe.elements.popper,popperRect:oe.rects.popper,gpuAcceleration:ut,isFixed:"fixed"===oe.options.strategy};null!=oe.modifiersData.popperOffsets&&(oe.styles.popper=Object.assign({},oe.styles.popper,Vn(Object.assign({},hn,{offsets:oe.modifiersData.popperOffsets,position:oe.options.strategy,adaptive:Kt,roundOffsets:Yt})))),null!=oe.modifiersData.arrow&&(oe.styles.arrow=Object.assign({},oe.styles.arrow,Vn(Object.assign({},hn,{offsets:oe.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Yt})))),oe.attributes.popper=Object.assign({},oe.attributes.popper,{"data-popper-placement":oe.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function Ft(ee){var oe=ee.state;
1Object.keys(oe.elements).forEach(function(_e){var ot=oe.styles[_e]||{},ut=oe.attributes[_e]||{},bt=oe.elements[_e];!Je(bt)||!yt(bt)||(Object.assign(bt.style,ot),Object.keys(ut).forEach(function(Kt){var zt=ut[Kt];!1===zt?bt.removeAttribute(Kt):bt.setAttribute(Kt,!0===zt?"":zt)}))})},effect:function wn(ee){var oe=ee.state,_e={popper:{position:oe.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(oe.elements.popper.style,_e.popper),oe.styles=_e,oe.elements.arrow&&Object.assign(oe.elements.arrow.style,_e.arrow),function(){Object.keys(oe.elements).forEach(function(ot){var ut=oe.elements[ot],bt=oe.attributes[ot]||{},zt=Object.keys(oe.styles.hasOwnProperty(ot)?oe.styles[ot]:_e[ot]).reduce(function(Yt,hn){return Yt[hn]="",Yt},{});!Je(ut)||!yt(ut)||(Object.assign(ut.style,zt),Object.keys(bt).forEach(function(Yt){ut.removeAttribute(Yt)}))})}},requires:["computeStyles"]}]});const tr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Nn(ee){var oe=ee.state,ot=ee.name,ut=ee.options.offset,bt=void 0===ut?[0,0]:ut,Kt=K.reduce(function(rn,ir){return rn[ir]=function qt(ee,oe,_e){var ot=_(ee),ut=[H,S].indexOf(ot)>=0?-1:1,bt="function"==typeof _e?_e(Object.assign({},oe,{placement:ee})):_e,Kt=bt[0],zt=bt[1];return Kt=Kt||0,zt=(zt||0)*ut,[H,R].indexOf(ot)>=0?{x:zt,y:Kt}:{x:Kt,y:zt}}(ir,oe.rects,bt),rn},{}),zt=Kt[oe.placement],hn=zt.y;null!=oe.modifiersData.popperOffsets&&(oe.modifiersData.popperOffsets.x+=zt.x,oe.modifiersData.popperOffsets.y+=hn),oe.modifiersData[ot]=Kt}};var Kn=a(60414),pe=a(35547),Be=a(71985),Se=a(983),Le=a(7673),ke=a(21413),xt=a(33726),Ct=a(1807),sn=a(58750),An=a(42326),Gn=a(54360);function cr(...ee){return 1===(ee=(0,An.K)(ee)).length?(0,sn.Tg)(ee[0]):new Be.c(function Sr(ee){return oe=>{let _e=[];for(let ot=0;_e&&!oe.closed&&ot<ee.length;ot++)_e.push((0,sn.Tg)(ee[ot]).subscribe((0,Gn._)(oe,ut=>{if(_e){for(let bt=0;bt<_e.length;bt++)bt!==ot&&_e[bt].unsubscribe();_e=null}oe.next(ut)})))}}(ee))}var or=a(28793),wr=a(56977),ro=a(5964),xn=a(88141),ur=a(96354),Rr=a(39974),kr=a(33669),Mr=a(85343),Wr=a(9326);function lo(...ee){const oe=(0,Wr.ms)(ee);return(0,Rr.N)((_e,ot)=>{const ut=ee.length,bt=new Array(ut);let Kt=ee.map(()=>!1),zt=!1;for(let Yt=0;Yt<ut;Yt++)(0,sn.Tg)(ee[Yt]).subscribe((0,Gn._)(ot,hn=>{bt[Yt]=hn,!zt&&!Kt[Yt]&&(Kt[Yt]=!0,(zt=Kt.every(kr.D))&&(Kt=null))},Mr.l));_e.subscribe((0,Gn._)(ot,Yt=>{if(zt){const hn=[Yt,...bt];ot.next(oe?oe(...hn):hn)}}))})}var We=a(43236),ct=a(96697),Sn=a(31397);function ar(ee,oe){return oe?_e=>(0,or.x)(oe.pipe((0,ct.s)(1),function St(){return(0,Rr.N)((ee,oe)=>{ee.subscribe((0,Gn._)(oe,Mr.l))})}()),_e.pipe(ar(ee))):(0,Sn.Z)((_e,ot)=>(0,sn.Tg)(ee(_e,ot)).pipe((0,ct.s)(1),function $t(ee){return(0,ur.T)(()=>ee)}(_e)))}let zo=(()=>{class ee{constructor(){this._element=(0,Kn.WQX)(Kn.qQL).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static{this.\u0275fac=function(ot){return new(ot||ee)}}static{this.\u0275prov=Kn.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})();const Jr=/\s+/,To=/  +/gi,Zr={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Ee=/^left/,q=/^right/,he=/^start/,et=/^end/;function Jt({placement:ee,baseClass:oe},_e){let ot=Array.isArray(ee)?ee:ee.split(Jr),bt=ot.findIndex(hn=>"auto"===hn);bt>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(hn){null==ot.find(rn=>-1!==rn.search("^"+hn))&&ot.splice(bt++,1,hn)});const Kt=ot.map(hn=>function x(ee,oe){const[_e,ot]=Zr[ee];return oe&&ot||_e}(hn,_e.isRTL()));return{placement:Kt.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!oe,phase:"write",fn({state:hn}){const rn=new RegExp(oe+"(-[a-z]+)*","gi"),ir=hn.elements.popper,Wn=hn.placement;let En=ir.className;En=En.replace(rn,""),En+=` ${function Bt(ee,oe){let[_e,ot]=oe.split("-");const ut=_e.replace(Ee,"start").replace(q,"end");let bt=[ut];if(ot){let Kt=ot;("left"===_e||"right"===_e)&&(Kt=Kt.replace(he,"top").replace(et,"bottom")),bt.push(`${ut}-${Kt}`)}return ee&&(bt=bt.map(Kt=>`${ee}-${Kt}`)),bt.join(" ")}(oe,Wn)}`,En=En.trim().replace(To," "),ir.className=En}},Kr,Lo,rt,{enabled:!0,name:"flip",options:{fallbackPlacements:Kt}}]}}function mn(ee){return ee}function dr(){const ee=(0,Kn.WQX)(zo);let oe=null;return{createPopper(_e){if(!oe){let ut=(_e.updatePopperOptions||mn)(Jt(_e,ee));oe=ln(_e.hostElement,_e.targetElement,ut)}}
1,update(){oe&&oe.update()},setOptions(_e){if(oe){let ut=(_e.updatePopperOptions||mn)(Jt(_e,ee));oe.setOptions(ut)}},destroy(){oe&&(oe.destroy(),oe=null)}}}function fr(ee){return parseInt(`${ee}`,10)}function zn(ee,oe,_e=0){return Math.max(Math.min(ee,oe),_e)}function br(ee){return"string"==typeof ee}function pr(ee){return!isNaN(fr(ee))}function oo(ee){return"number"==typeof ee&&isFinite(ee)&&Math.floor(ee)===ee}function ri(ee){return null!=ee}function Fo(ee){return ee&&ee.then}function Ho(ee){return pr(ee)?`0${ee}`.slice(-2):""}function Go(ee){return(ee||document.body).getBoundingClientRect()}function So(ee=document){const oe=ee?.activeElement;return oe?oe.shadowRoot?So(oe.shadowRoot):oe:null}const ds=()=>{},$o=new Map,Pr=(ee,oe,_e,ot)=>{let ut=ot.context||{};const bt=$o.get(oe);if(bt)switch(ot.runningTransition){case"continue":return Se.w;case"stop":ee.run(()=>bt.transition$.complete()),ut=Object.assign(bt.context,ut),$o.delete(oe)}const Kt=_e(oe,ot.animation,ut)||ds;if(!ot.animation||"none"===window.getComputedStyle(oe).transitionProperty)return ee.run(()=>Kt()),(0,Le.of)(void 0).pipe(function mo(ee){return oe=>new Be.c(_e=>oe.subscribe({next:Kt=>ee.run(()=>_e.next(Kt)),error:Kt=>ee.run(()=>_e.error(Kt)),complete:()=>ee.run(()=>_e.complete())}))}(ee));const zt=new ke.B,Yt=new ke.B,hn=zt.pipe(function $r(...ee){return oe=>(0,or.x)(oe,(0,Le.of)(...ee))}(!0));$o.set(oe,{transition$:zt,complete:()=>{Yt.next(),Yt.complete()},context:ut});const rn=function Qi(ee){const{transitionDelay:oe,transitionDuration:_e}=window.getComputedStyle(ee);return 1e3*(parseFloat(oe)+parseFloat(_e))}(oe);return ee.runOutsideAngular(()=>{const ir=(0,xt.R)(oe,"transitionend").pipe((0,wr.Q)(hn),(0,ro.p)(({target:En})=>En===oe));cr((0,Ct.O)(rn+5).pipe((0,wr.Q)(hn)),ir,Yt).pipe((0,wr.Q)(hn)).subscribe(()=>{$o.delete(oe),ee.run(()=>{Kt(),zt.next(),zt.complete()})})}),zt.asObservable()},_i=ee=>{$o.get(ee)?.complete()},Ui=(ee,oe)=>!!oe&&oe.some(_e=>_e.contains(ee)),vi=(ee,oe)=>!oe||null!=function oi(ee,oe){return!oe||typeof ee.closest>"u"?null:ee.closest(oe)}(ee,oe),Ti=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function es(ee,oe,_e,ot,ut,bt,Kt,zt){_e&&ee.runOutsideAngular((ee=>Ti?()=>setTimeout(()=>ee(),100):ee)(()=>{const hn=(0,xt.R)(oe,"keydown").pipe((0,wr.Q)(ut),(0,ro.p)(Wn=>"Escape"===Wn.key),(0,xn.M)(Wn=>Wn.preventDefault())),rn=(0,xt.R)(oe,"mousedown").pipe((0,ur.T)(Wn=>{const En=Wn.target;return 2!==Wn.button&&!Ui(En,Kt)&&("inside"===_e?Ui(En,bt)&&vi(En,zt):"outside"===_e?!Ui(En,bt):vi(En,zt)||!Ui(En,bt))}),(0,wr.Q)(ut)),ir=(0,xt.R)(oe,"mouseup").pipe(lo(rn),(0,ro.p)(([Wn,En])=>En),function mr(ee,oe=We.E){const _e=(0,Ct.O)(ee,oe);return ar(()=>_e)}(0),(0,wr.Q)(ut));cr([hn.pipe((0,ur.T)(Wn=>0)),ir.pipe((0,ur.T)(Wn=>1))]).subscribe(Wn=>ee.run(()=>ot(Wn)))}))}const Bi=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function si(ee){const oe=Array.from(ee.querySelectorAll(Bi)).filter(_e=>-1!==_e.tabIndex);return[oe[0],oe[oe.length-1]]}const Uo=(ee,oe,_e,ot=!1)=>{ee.runOutsideAngular(()=>{const ut=(0,xt.R)(oe,"focusin").pipe((0,wr.Q)(_e),(0,ur.T)(bt=>bt.target));(0,xt.R)(oe,"keydown").pipe((0,wr.Q)(_e),(0,ro.p)(bt=>"Tab"===bt.key),lo(ut)).subscribe(([bt,Kt])=>{const[zt,Yt]=si(oe);(Kt===zt||Kt===oe)&&bt.shiftKey&&(Yt.focus(),bt.preventDefault()),Kt===Yt&&!bt.shiftKey&&(zt.focus(),bt.preventDefault())}),ot&&(0,xt.R)(oe,"click").pipe((0,wr.Q)(_e),lo(ut),(0,ur.T)(bt=>bt[1])).subscribe(bt=>bt.focus())})};function Si(ee){return oe=>(oe.modifiers.push(tr,{name:"offset",options:{offset:()=>ee}}),oe)}class ai{constructor(oe,_e,ot){this.nodes=oe,this.viewRef=_e,this.componentRef=ot}}class Qo{constructor(oe){this._componentType=oe,this._windowRef=null,this._contentRef=null,this._document=(0,Kn.WQX)(Kn.qQL),this._applicationRef=(0,Kn.WQX)(pe.o8S),this._injector=(0,Kn.WQX)(Kn.zZn),this._viewContainerRef
1=(0,Kn.WQX)(pe.c1b),this._ngZone=(0,Kn.WQX)(Kn.SKi)}open(oe,_e,ot=!1){this._windowRef||(this._contentRef=this._getContentRef(oe,_e),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:ut}=this._windowRef.location,bt=new ke.B;(0,pe.mal)({mixedReadWrite:()=>{bt.next(),bt.complete()}},{injector:this._injector});const Kt=bt.pipe((0,Sn.Z)(()=>Pr(this._ngZone,ut,({classList:zt})=>zt.add("show"),{animation:ot,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:Kt}}close(oe=!1){return this._windowRef?Pr(this._ngZone,this._windowRef.location.nativeElement,({classList:_e})=>_e.remove("show"),{animation:oe,runningTransition:"stop"}).pipe((0,xn.M)(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):(0,Le.of)(void 0)}_getContentRef(oe,_e){if(oe){if(oe instanceof pe.C4Q){const ot=oe.createEmbeddedView(_e);return this._applicationRef.attachView(ot),new ai([ot.rootNodes],ot)}return new ai([[this._document.createTextNode(`${oe}`)]])}return new ai([])}}let Gr=(()=>{class ee{constructor(){this._document=(0,Kn.WQX)(Kn.qQL)}hide(){const _e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),ot=this._document.body,ut=ot.style,{overflow:bt,paddingRight:Kt}=ut;if(_e>0){const zt=parseFloat(window.getComputedStyle(ot).paddingRight);ut.paddingRight=`${zt+_e}px`}return ut.overflow="hidden",()=>{_e>0&&(ut.paddingRight=Kt),ut.overflow=bt}}static{this.\u0275fac=function(ot){return new(ot||ee)}}static{this.\u0275prov=Kn.jDH({token:ee,factory:ee.\u0275fac,providedIn:"root"})}}return ee})();const Xi={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function Ri(ee,oe,_e,ot,ut,bt=0,Kt=0,zt=Se.w,Yt=Se.w){const hn=function Es(ee){const oe=(ee||"").trim();if(0===oe.length)return[];const _e=oe.split(/\s+/).map(ut=>ut.split(":")).map(ut=>Xi[ut[0]]||ut),ot=_e.filter(ut=>ut.includes("manual"));if(ot.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===ot.length&&_e.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return ot.length?[]:_e}(oe);if(0===hn.length)return()=>{};const rn=new Set,ir=[];let Wn;function En(Hn,O){ee.addEventListener(Hn,O),ir.push(()=>ee.removeEventListener(Hn,O))}function lr(Hn,O){clearTimeout(Wn),O>0?Wn=setTimeout(Hn,O):Hn()}for(const[Hn,O]of hn)if(O?(En(Hn,()=>{rn.add(Hn),lr(()=>rn.size>0&&ot(),bt)}),En(O,()=>{rn.delete(Hn),lr(()=>0===rn.size&&ut(),Kt)})):En(Hn,()=>_e()?lr(ut,Kt):lr(ot,bt)),"mouseenter"===Hn&&"mouseleave"===O&&Kt>0){const N=zt.subscribe(()=>{rn.delete(Hn),clearTimeout(Wn)}),C=Yt.subscribe(()=>{rn.delete(Hn),lr(()=>0===rn.size&&ut(),Kt)});ir.push(()=>N.unsubscribe(),()=>C.unsubscribe())}return ir.push(()=>clearTimeout(Wn)),()=>ir.forEach(Hn=>Hn())}},38389(wt,Ce,a){"use strict";a.d(Ce,{q:()=>D});var I=a(60414);let D=(()=>{class _{constructor(){this.animation=!0}static{this.\u0275fac=function(S){return new(S||_)}}static{this.\u0275prov=I.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})()},36458(wt,Ce,a){"use strict";a.d(Ce,{Bq:()=>jt,LY:()=>ve,Lw:()=>de,XZ:()=>Zt});var I=a(35547),D=a(60414),_=a(17705),J=a(38389),B=a(21413),S=a(33726),k=a(7673),R=a(44437),H=a(71860),ae=a(5964),V=a(25558),G=a(96697),re=a(56977),$=a(88141);const we=["dialog"],me=["*"];let ve=(()=>{class vt{constructor(){this._ngbConfig=(0,D.WQX)(J.q),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(Pe){this._animation=Pe}static{this.\u0275fac=function(xe){return new(xe||vt)}}static{this.\u0275prov=D.jDH({token:vt,factory:vt.\u0275fac,providedIn:"root"})}}return vt})();const be=["animation","backdropClass"];let K=(()=>{class vt{constructor(){this._nativeElement=(0,D.WQX)(I.aKT).nativeElement,this._zone=(0,D.WQX)(D.SKi),this._injector=(0,D.WQX)(D.zZn),this._cdRef=(0,D.WQX)(_.gRc)}ngOnInit(){(0,I.mal)({mixedReadWrite:()=>(0,H.cg)(this._zone,this._nativeElement,(Pe,xe)=>{xe&&(0,H.qm)(Pe),Pe.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return(0,H.cg)(this._zone,this._nativeElement,({classList:Pe})=>Pe.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(Pe){be.forEach(xe=>{(0,H.O9)(Pe[xe])&&(this[xe]=Pe[xe])}),this._cdRef.markForCheck()}static{this.\u0275fac=function(xe){return new(xe||vt)}}static{this.\u0275cmp=I.VBU({type:vt,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(xe,Je){2&xe&&(I.HbH("modal-backdrop"+(Je.backdropClass?" "+Je.backdropClass:"")),I.AVh("show",!Je.animation)("fade",Je.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(xe,Je){},encapsulation:2})}}return vt})();class de{update(pt){}close(pt){}dismiss(pt){}}class fe{update(pt){this._windowCmptRef.instance.updateOptions(pt),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(pt)}
1get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,re.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,re.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(pt,Pe,xe,Je){this._windowCmptRef=pt,this._contentRef=Pe,this._backdropCmptRef=xe,this._beforeDismiss=Je,this._closed=new B.B,this._dismissed=new B.B,this._hidden=new B.B,pt.instance.dismissEvent.subscribe(st=>{this.dismiss(st)}),this.result=new Promise((st,tt)=>{this._resolve=st,this._reject=tt}),this.result.then(null,()=>{})}close(pt){this._windowCmptRef&&(this._closed.next(pt),this._resolve(pt),this._removeModalElements())}_dismiss(pt){this._dismissed.next(pt),this._reject(pt),this._removeModalElements()}dismiss(pt){if(this._windowCmptRef)if(this._beforeDismiss){const Pe=this._beforeDismiss();(0,H.yL)(Pe)?Pe.then(xe=>{!1!==xe&&this._dismiss(pt)},()=>{}):!1!==Pe&&this._dismiss(pt)}else this._dismiss(pt)}_removeModalElements(){const pt=this._windowCmptRef.instance.hide(),Pe=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,k.of)(void 0);pt.subscribe(()=>{const{nativeElement:xe}=this._windowCmptRef.location;xe.parentNode.removeChild(xe),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),Pe.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:xe}=this._backdropCmptRef.location;xe.parentNode.removeChild(xe),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),(0,R.y)(pt,Pe).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Z=function(vt){return vt[vt.BACKDROP_CLICK=0]="BACKDROP_CLICK",vt[vt.ESC=1]="ESC",vt}(Z||{});const Ke=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"];let ft=(()=>{class vt{constructor(){this._document=(0,D.WQX)(D.qQL),this._elRef=(0,D.WQX)(I.aKT),this._zone=(0,D.WQX)(D.SKi),this._injector=(0,D.WQX)(D.zZn),this._cdRef=(0,D.WQX)(_.gRc),this._closed$=new B.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new D.bkB,this.shown=new B.B,this.hidden=new B.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":(0,H.Kg)(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(Pe){this.dismissEvent.emit(Pe)}ngOnInit(){this._elWithFocus=this._document.activeElement,(0,I.mal)({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:Pe}=this._elRef,xe={animation:this.animation,runningTransition:"stop"}
1,Je=(0,H.cg)(this._zone,Pe,()=>Pe.classList.remove("show"),xe),st=(0,H.cg)(this._zone,this._dialogEl.nativeElement,()=>{},xe),tt=(0,R.y)(Je,st);return tt.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),tt}updateOptions(Pe){Ke.forEach(xe=>{(0,H.O9)(Pe[xe])&&(this[xe]=Pe[xe])}),this._cdRef.markForCheck()}_show(){const Pe={animation:this.animation,runningTransition:"continue"},xe=(0,H.cg)(this._zone,this._elRef.nativeElement,(st,tt)=>{tt&&(0,H.qm)(st),st.classList.add("show")},Pe),Je=(0,H.cg)(this._zone,this._dialogEl.nativeElement,()=>{},Pe);(0,R.y)(xe,Je).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:Pe}=this._elRef;this._zone.runOutsideAngular(()=>{(0,S.R)(Pe,"keydown").pipe((0,re.Q)(this._closed$),(0,ae.p)(Je=>"Escape"===Je.key)).subscribe(Je=>{this.keyboard?requestAnimationFrame(()=>{Je.defaultPrevented||this._zone.run(()=>this.dismiss(Z.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let xe=!1;(0,S.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,re.Q)(this._closed$),(0,$.M)(()=>xe=!1),(0,V.n)(()=>(0,S.R)(Pe,"mouseup").pipe((0,re.Q)(this._closed$),(0,G.s)(1))),(0,ae.p)(({target:Je})=>Pe===Je)).subscribe(()=>{xe=!0}),(0,S.R)(Pe,"click").pipe((0,re.Q)(this._closed$)).subscribe(({target:Je})=>{Pe===Je&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!xe&&this._zone.run(()=>this.dismiss(Z.BACKDROP_CLICK))),xe=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:Pe}=this._elRef;if(!Pe.contains(document.activeElement)){const xe=Pe.querySelector("[ngbAutofocus]"),Je=(0,H.uh)(Pe)[0];(xe||Je||Pe).focus()}}_restoreFocus(){const Pe=this._document.body,xe=this._elWithFocus;let Je;Je=xe&&xe.focus&&Pe.contains(xe)?xe:Pe,this._zone.runOutsideAngular(()=>{setTimeout(()=>Je.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&(0,H.cg)(this._zone,this._elRef.nativeElement,({classList:Pe})=>(Pe.add("modal-static"),()=>Pe.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static{this.\u0275fac=function(xe){return new(xe||vt)}}static{this.\u0275cmp=I.VBU({type:vt,selectors:[["ngb-modal-window"]],viewQuery:function(xe,Je){if(1&xe&&I.GBs(we,7),2&xe){let st;I.mGM(st=I.lsd())&&(Je._dialogEl=st.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(xe,Je){2&xe&&(I.BMQ("aria-modal",!0)("aria-labelledby",Je.ariaLabelledBy)("aria-describedby",Je.ariaDescribedBy)("role",Je.role),I.HbH("modal d-block"+(Je.windowClass?" "+Je.windowClass:"")),I.AVh("fade",Je.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:me,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(xe,Je){1&xe&&(I.NAR(),I.rj2(0,"div",1,0)(2,"div",2),I.SdG(3),I.eux()()),2&xe&&I.HbH("modal-dialog"+(Je.size?" modal-"+Je.size:"")+(Je.centered?" modal-dialog-centered":"")+Je.fullscreenClass+(Je.scrollable?" modal-dialog-scrollable":"")+(Je.modalDialogClass?" "+Je.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}}return vt})(),At=(()=>{class vt{constructor(){this._applicationRef=(0,D.WQX)(I.o8S),this._injector=(0,D.WQX)(D.zZn),this._environmentInjector=(0,D.WQX)(D.uvJ),this._document=(0,D.WQX)(D.qQL),this._scrollBar=(0,D.WQX)(H.$H),this._activeWindowCmptHasChanged=new B.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new D.bkB;const Pe=(0,D.WQX)(D.SKi);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const xe=this._windowCmpts[this._windowCmpts.length-1];(0,H.dT)(Pe,xe.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(xe.location.nativeElement)}})}_restoreScrollBar(){const Pe=this._scrollBarRestoreFn;Pe&&(this._scrollBarRestoreFn=null,Pe())}
1_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(Pe,xe,Je){const st=Je.container instanceof HTMLElement?Je.container:(0,H.O9)(Je.container)?this._document.querySelector(Je.container):this._document.body;if(!st)throw new Error(`The specified modal container "${Je.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const tt=new de,nt=(Pe=Je.injector||Pe).get(D.uvJ,null)||this._environmentInjector,$e=this._getContentRef(Pe,nt,xe,tt,Je);let Me=!1!==Je.backdrop?this._attachBackdrop(st):void 0,X=this._attachWindowComponent(st,$e.nodes),De=new fe(X,$e,Me,Je.beforeDismiss);return this._registerModalRef(De),this._registerWindowCmpt(X),De.hidden.pipe((0,G.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),tt.close=Re=>{De.close(Re)},tt.dismiss=Re=>{De.dismiss(Re)},tt.update=Re=>{De.update(Re)},De.update(Je),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),Me&&Me.instance&&Me.changeDetectorRef.detectChanges(),X.changeDetectorRef.detectChanges(),De}get activeInstances(){return this._activeInstances}dismissAll(Pe){this._modalRefs.forEach(xe=>xe.dismiss(Pe))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(Pe){let xe=(0,_.a0P)(K,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(xe.hostView),Pe.appendChild(xe.location.nativeElement),xe}_attachWindowComponent(Pe,xe){let Je=(0,_.a0P)(ft,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:xe});return this._applicationRef.attachView(Je.hostView),Pe.appendChild(Je.location.nativeElement),Je}_getContentRef(Pe,xe,Je,st,tt){return Je?Je instanceof I.C4Q?this._createFromTemplateRef(Je,st):(0,H.Kg)(Je)?this._createFromString(Je):this._createFromComponent(Pe,xe,Je,st,tt):new H.Lk([])}_createFromTemplateRef(Pe,xe){const st=Pe.createEmbeddedView({$implicit:xe,close(tt){xe.close(tt)},dismiss(tt){xe.dismiss(tt)}});return this._applicationRef.attachView(st),new H.Lk([st.rootNodes],st)}_createFromString(Pe){const xe=this._document.createTextNode(`${Pe}`);return new H.Lk([[xe]])}_createFromComponent(Pe,xe,Je,st,tt){const nt=D.zZn.create({providers:[{provide:de,useValue:st}],parent:Pe}),$e=(0,_.a0P)(Je,{environmentInjector:xe,elementInjector:nt}),Me=$e.location.nativeElement;return tt.scrollable&&Me.classList.add("component-host-scrollable"),this._applicationRef.attachView($e.hostView),new H.Lk([[Me]],$e.hostView,$e)}_setAriaHidden(Pe){const xe=Pe.parentElement;xe&&Pe!==this._document.body&&(Array.from(xe.children).forEach(Je=>{Je!==Pe&&"SCRIPT"!==Je.nodeName&&(this._ariaHiddenValues.set(Je,Je.getAttribute("aria-hidden")),Je.setAttribute("aria-hidden","true"))}),this._setAriaHidden(xe))}_revertAriaHidden(){this._ariaHiddenValues.forEach((Pe,xe)=>{Pe?xe.setAttribute("aria-hidden",Pe):xe.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(Pe){const xe=()=>{const Je=this._modalRefs.indexOf(Pe);Je>-1&&(this._modalRefs.splice(Je,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(Pe),this._activeInstances.emit(this._modalRefs),Pe.result.then(xe,xe)}_registerWindowCmpt(Pe){this._windowCmpts.push(Pe),this._activeWindowCmptHasChanged.next(),Pe.onDestroy(()=>{const xe=this._windowCmpts.indexOf(Pe);xe>-1&&(this._windowCmpts.splice(xe,1),this._activeWindowCmptHasChanged.next())})}static{this.\u0275fac=function(xe){return new(xe||vt)}}static{this.\u0275prov=D.jDH({token:vt,factory:vt.\u0275fac,providedIn:"root"})}}return vt})(),jt=(()=>{class vt{constructor(){this._injector=(0,D.WQX)(D.zZn),this._modalStack=(0,D.WQX)(At),this._config=(0,D.WQX)(ve)}open(Pe,xe={}){const Je={...this._config,animation:this._config.animation,...xe};return this._modalStack.open(this._injector,Pe,Je)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(Pe){this._modalStack.dismissAll(Pe)}hasOpenModals(){return this._modalStack.hasOpenModals()}static{this.\u0275fac=function(xe){return new(xe||vt)}}static{this.\u0275prov=D.jDH({token:vt,factory:vt.\u0275fac,providedIn:"root"})}}return vt})(),Zt=(()=>{class vt{static{this.\u0275fac=function(xe){return new(xe||vt)}}static{this.\u0275mod=I.$C({type:vt})}static{this.\u0275inj=D.G2t({providers:[jt]}
1)}}return vt})()},27843(wt,Ce,a){"use strict";a.d(Ce,{JF:()=>rf,Ts:()=>qd});var I=a(29748),D=a(41252),_=a(36023),J=a(96440);function S(u){return`${u.protocol?`${u.protocol}:`:""}//${u.host}${u.port?`:${u.port}`:""}${u.path?`/${u.path}`:""}/api/`}const V=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;var G=a(67718),re=a(76870),$=a(12081);const me=G.O;function de(){try{return me.document.location.href}catch{return""}}const Z=G.O;let Ke=0;function ft(){return Ke>0}function jt(u,h={}){if(!function E(ie){return"function"==typeof ie}(u))return u;try{const ie=u.__sentry_wrapped__;if(ie)return"function"==typeof ie?ie:u;if((0,re.sp)(u))return u}catch{return u}const P=function(...ie){G.O._sentryWrappedDepth=(G.O._sentryWrappedDepth||0)+1;try{const se=ie.map(Ve=>jt(Ve,h));return u.apply(this,se)}catch(se){throw function At(){Ke++,setTimeout(()=>{Ke--})}(),(0,D.v4)(Ve=>{Ve.addEventProcessor(at=>(h.mechanism&&((0,$.gO)(at,void 0,void 0),(0,$.M6)(at,h.mechanism)),at.extra={...at.extra,arguments:ie},at)),(0,I.Cp)(se)}),se}finally{G.O._sentryWrappedDepth=(G.O._sentryWrappedDepth||0)-1}};try{for(const ie in u)Object.prototype.hasOwnProperty.call(u,ie)&&(P[ie]=u[ie])}catch{}(0,re.pO)(P,u),(0,re.my)(u,"__sentry_wrapped__",P);try{Object.getOwnPropertyDescriptor(P,"name").configurable&&Object.defineProperty(P,"name",{get:()=>u.name})}catch{}return P}function Zt(){const u=de(),{referrer:h}=Z.document||{},{userAgent:E}=Z.navigator||{};return{url:u,headers:{...h&&{Referer:h},...E&&{"User-Agent":E}}}}function vt(u={}){const h=Z.document,E=h?.head||h?.body;if(!E)return void(V&&_.Yz.error("[showReportDialog] Global document not defined"));const P=(0,D.o5)(),se=(0,D.KU)()?.getDsn();if(!se)return void(V&&_.Yz.error("[showReportDialog] DSN not configured"));const Ve={...u,user:{...P.getUser(),...u.user},eventId:u.eventId||(0,I.Q)()},at=Z.document.createElement("script");at.async=!0,at.crossOrigin="anonymous",at.src=function ae(u,h){const E=(0,J.AD)(u);if(!E)return"";const P=`${S(E)}embed/error-page/`;let ie=`dsn=${(0,J.SB)(E)}`;for(const se in h)if("dsn"!==se&&"onClose"!==se)if("user"===se){const Ve=h.user;if(!Ve)continue;Ve.name&&(ie+=`&name=${encodeURIComponent(Ve.name)}`),Ve.email&&(ie+=`&email=${encodeURIComponent(Ve.email)}`)}else ie+=`&${encodeURIComponent(se)}=${encodeURIComponent(h[se])}`;return`${P}?${ie}`}(se,Ve);const{onLoad:kt,onClose:Wt}=Ve;if(kt&&(at.onload=kt),Wt){const Bn=Un=>{if("__sentry_reportdialog_closed__"===Un.data)try{Wt()}finally{Z.removeEventListener("message",Bn)}};Z.addEventListener("message",Bn)}E.appendChild(at)}var pt=a(60897),Pe=a(23460),xe=a(82128);const Je={},st={};function tt(u,h){return Je[u]=Je[u]||[],Je[u].push(h),()=>{const E=Je[u];if(E){const P=E.indexOf(h);-1!==P&&E.splice(P,1)}}}function $e(u,h){if(!st[u]){st[u]=!0;try{h()}catch(E){pt.T&&_.Yz.error(`Error while instrumenting ${u}`,E)}}}function Me(u,h){const E=u&&Je[u];if(E)for(const P of E)try{P(h)}catch(ie){pt.T&&_.Yz.error(`Error while triggering instrumentation handler.\nType: ${u}\nName: ${(0,xe.qQ)(P)}\nError:`,ie)}}const X=new Set([]);function Fe(){"console"in G.O&&_.Ow.forEach(function(u){u in G.O.console&&(0,re.GS)(G.O.console,u,function(h){return _.Z9[u]=h,function(...E){const P=E[0],ie=_.Z9[u],se=X.size&&"string"==typeof P&&(0,Pe.Xr)(P,X);se||Me("console",{args:E,level:u}),(!se||pt.T&&_.Yz.isEnabled())&&ie?.apply(G.O.console,E)}})})}var Xe=a(10467),dt=a(42997);const ht=G.O;function o(u){return u&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(u.toString())}var w=a(67660);function vn(u,h=!1){h&&!function mt(){if("string"==typeof EdgeRuntime)return!0;if(!function fn(){if(!("fetch"in ht))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(o(ht.fetch))return!0;let u=!1;const h=ht.document;if(h&&"function"==typeof h.createElement)try{const E=h.createElement("iframe");E.hidden=!0,h.head.appendChild(E),E.contentWindow?.fetch&&(u=o(E.contentWindow.fetch)),h.head.removeChild(E)}catch(E){pt.T&&_.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",E)}return u}()||(0,re.GS)(G.O,"fetch",function(E){return function(...P){const ie=new Error,{method:se,url:Ve}=function No(u){if(0===u.length)return{method:"GET",url:""};if(2===u.length){const[E,P]=u;return{url:xr(E),method:Tr(P,"method")?String(P.method).toUpperCase():(0,dt.ks)(E)&&Tr(E,"method")?String(E.method).toUpperCase():"GET"}}const h=u[0];return{url:xr(h),method:Tr(h,"method")?String(h.method).toUpperCase():"GET"}}(P),at={args:P,fetchData:{method:se,url:Ve},startTimestamp:1e3*(0,w.zf)(),virtualError:ie,headers:Lr(P)};return u||Me("fetch",{...at}),E.apply(G.O,P).then(function(){var kt=(0,Xe.A)(function*(Wt){return u?u(Wt):Me("fetch",{...at,endTimestamp:1e3*(0,w.zf)(),response:Wt}),Wt});return function(Wt){return kt.apply(this,arguments)}}(),kt=>{Me("fetch",{...at,endTimestamp:1e3*(0,w.zf)(),error:kt}),(0,dt.bJ)(kt)&&void 0===kt.stack&&(kt.stack=ie.stack,(0,re.my)(kt,"framesToPop",1));const Bn=(0,D.KU)()?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==Bn&&kt instanceof TypeError&&("Failed to fetch"===kt.message||"Load failed"===kt.message||"NetworkError when attempting to fetch resource."===kt.message))try{const jn=new URL(at.fetchData.url).host;"always"===Bn?kt.message=`${kt.message} (${jn})`:(0,re.my)(kt,"__sentry_fetch_url_host__",jn)}catch{}throw kt})}})}function Tr(u,h){return!!u&&"object"==typeof u&&!!u[h]}function xr(u){return"string"==typeof u?u:u?Tr(u,"url")?u.url:u.toString?u.toString():"":""}function Lr(u){const[h,E]=u;try{if("object"==typeof E&&null!==E&&"headers"in E&&E.headers)return new Headers(E.headers);if((0,dt.ks)(h))return new Headers(h.headers)}catch{}}const eo=[];function bo(u){const h=u.defaultIntegrations||[],E=u.integrations;let P;
1if(h.forEach(ie=>{ie.isDefaultInstance=!0}),Array.isArray(E))P=[...h,...E];else if("function"==typeof E){const ie=E(h);P=Array.isArray(ie)?ie:[ie]}else P=h;return function go(u){const h={};return u.forEach(E=>{const{name:P}=E,ie=h[P];ie&&!ie.isDefaultInstance&&E.isDefaultInstance||(h[P]=E)}),Object.values(h)}(P)}function xo(u,h){for(const E of h)E?.afterAllSetup&&E.afterAllSetup(u)}function Hr(u,h,E){if(E[h.name])pt.T&&_.Yz.log(`Integration skipped because it was already installed: ${h.name}`);else{if(E[h.name]=h,!eo.includes(h.name)&&"function"==typeof h.setupOnce&&(h.setupOnce(),eo.push(h.name)),h.setup&&"function"==typeof h.setup&&h.setup(u),"function"==typeof h.preprocessEvent){const P=h.preprocessEvent.bind(h);u.on("preprocessEvent",(ie,se)=>P(ie,se,u))}if("function"==typeof h.processEvent){const P=h.processEvent.bind(h),ie=Object.assign((se,Ve)=>P(se,Ve,u),{id:h.name});u.addEventProcessor(ie)}["processSpan","processSegmentSpan"].forEach(P=>{const ie=h[P];"function"==typeof ie&&u.on(P,se=>ie.call(h,se,u))}),pt.T&&_.Yz.log(`Integration installed: ${h.name}`)}}const Ye=100;function Et(u,h){const E=(0,D.KU)(),P=(0,D.rm)();if(!E)return;const{beforeBreadcrumb:ie=null,maxBreadcrumbs:se=Ye}=E.getOptions();if(se<=0)return;const at={timestamp:(0,w.lu)(),...u},kt=ie?(0,_.pq)(()=>ie(at,h)):at;null!==kt&&(E.emit&&E.emit("beforeAddBreadcrumb",kt,h),P.addBreadcrumb(kt,se))}function Xt(u){return"warn"===u?"warning":["fatal","error","warning","log","info","debug"].includes(u)?u:"log"}function en(u){if(void 0!==u)return u>=400&&u<500?"warning":u>=500?"error":void 0}function qe(u){if(!u)return{};const h=u.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!h)return{};const E=h[6]||"",P=h[8]||"";return{host:h[4],path:h[5],protocol:h[2],search:E,hash:P,relative:h[5]+E+P}}const Mn=G.O;let gr,Cr,Ft;function it(){if(!Mn.document)return;const u=Me.bind(null,"dom"),h=qt(u,!0);Mn.document.addEventListener("click",h,!1),Mn.document.addEventListener("keypress",h,!1),["EventTarget","Node"].forEach(E=>{const ie=Mn[E]?.prototype;ie?.hasOwnProperty?.("addEventListener")&&((0,re.GS)(ie,"addEventListener",function(se){return function(Ve,at,kt){if("click"===Ve||"keypress"==Ve)try{const Wt=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},Bn=Wt[Ve]=Wt[Ve]||{refCount:0};if(!Bn.handler){const Un=qt(u);Bn.handler=Un,se.call(this,Ve,Un,kt)}Bn.refCount++}catch{}return se.call(this,Ve,at,kt)}}),(0,re.GS)(ie,"removeEventListener",function(se){return function(Ve,at,kt){if("click"===Ve||"keypress"==Ve)try{const Wt=this.__sentry_instrumentation_handlers__||{},Bn=Wt[Ve];Bn&&(Bn.refCount--,Bn.refCount<=0&&(se.call(this,Ve,Bn.handler,kt),Bn.handler=void 0,delete Wt[Ve]),0===Object.keys(Wt).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return se.call(this,Ve,at,kt)}}))})}function qt(u,h=!1){return E=>{if(!E||E._sentryCaptured)return;const P=function Nn(u){try{return u.target}catch{return null}}(E);if(function ln(u,h){return!("keypress"!==u||h?.tagName&&("INPUT"===h.tagName||"TEXTAREA"===h.tagName||h.isContentEditable))}(E.type,P))return;(0,re.my)(E,"_sentryCaptured",!0),P&&!P._sentryId&&(0,re.my)(P,"_sentryId",(0,$.eJ)());const ie="keypress"===E.type?"input":E.type;(function Rt(u){if(u.type!==Cr)return!1;try{if(!u.target||u.target._sentryId!==Ft)return!1}catch{}return!0})(E)||(u({event:E,name:ie,global:h}),Cr=E.type,Ft=P?P._sentryId:void 0),clearTimeout(gr),gr=Mn.setTimeout(()=>{Ft=void 0,Cr=void 0},1e3)}}const tr="__sentry_xhr_v3__";function pe(){if(!Mn.XMLHttpRequest)return;const u=XMLHttpRequest.prototype;u.open=new Proxy(u.open,{apply(h,E,P){const ie=new Error,se=1e3*(0,w.zf)(),Ve=(0,dt.Kg)(P[0])?P[0].toUpperCase():void 0,at=function Be(u){if((0,dt.Kg)(u))return u;try{return u.toString()}catch{}}(P[1]);if(!Ve||!at)return h.apply(E,P);E[tr]={method:Ve,url:at,request_headers:{}},"POST"===Ve&&at.match(/sentry_key/)&&(E.__sentry_own_request__=!0);const kt=()=>{const Wt=E[tr];if(Wt&&4===E.readyState){try{Wt.status_code=E.status}catch{}Me("xhr",{endTimestamp:1e3*(0,w.zf)(),startTimestamp:se,xhr:E,virtualError:ie})}};return"onreadystatechange"in E&&"function"==typeof E.onreadystatechange?E.onreadystatechange=new Proxy(E.onreadystatechange,{apply:(Wt,Bn,Un)=>(kt(),Wt.apply(Bn,Un))}):E.addEventListener("readystatechange",kt),E.setRequestHeader=new Proxy(E.setRequestHeader,{apply(Wt,Bn,Un){const[ho,jn]=Un,uo=Bn[tr];return uo&&(0,dt.Kg)(ho)&&(0,dt.Kg)(jn)&&(uo.request_headers[ho.toLowerCase()]=jn),Wt.apply(Bn,Un)}}),h.apply(E,P)}}),u.send=new Proxy(u.send,{apply(h,E,P){const ie=E[tr];return ie?(void 0!==P[0]&&(ie.body=P[0]),Me("xhr",{startTimestamp:1e3*(0,w.zf)(),xhr:E}),h.apply(E,P)):h.apply(E,P)}})}let Se;function Le(u){const h="history";tt(h,u),$e(h,ke)}function ke(){function u(h){return function(...E){const P=E.length>2?E[2]:void 0;if(P){const ie=Se,se=function xt(u){try{return new URL(u,Mn.location.origin).toString()}catch{return u}}(String(P));if(Se=se,ie===se)return h.apply(this,E);Me("history",{from:ie,to:se})}return h.apply(this,E)}}Mn.addEventListener("popstate",()=>{const h=Mn.location.href,E=Se;Se=h,E!==h&&Me("history",{from:E,to:h})}),function Ht(){return"history"in ht&&!!ht.history}()&&((0,re.GS)(Mn.history,"pushState",u),(0,re.GS)(Mn.history,"replaceState",u))}function sn(u,h={}){if(!u)return"<unknown>";try{let E=u;const P=5,ie=[];let se=0,Ve=0;const at=" > ",kt=at.length;let Wt;const Bn=Array.isArray(h)?h:h.keyAttrs,Un=!Array.isArray(h)&&h.maxStringLength||80;for(;E&&se++<P&&(Wt=An(E,Bn),!("html"===Wt||se>1&&Ve+ie.length*kt+Wt.length>=Un));)ie.push(Wt),Ve+=Wt.length,E=E.parentNode;return ie.reverse().join(at)}catch{return"<unknown>"}}function An(u,h){const E=u,P=[];if(!E?.tagName)return"";if(typeof HTMLElement<"u"&&E instanceof HTMLElement&&E.dataset){if(E.dataset.sentryComponent)return E.dataset.sentryComponent;if(E.dataset.sentryElement)return E.dataset.sentryElement}P.push(E.tagName.toLowerCase());const ie=h?.length?h.filter(se=>E.getAttribute(se)).map(se=>[se,E.getAttribute(se)]):null;if(ie?.length)ie.forEach(se=>{P.push(`[${se[0]}="${se[1]}"]`)});else{E.id&&P.push(`#${E.id}`);const se=E.className;if(se&&(0,dt.Kg)(se)){const Ve=se.split(/\s+/);for(const at of Ve)P.push(`.${at}`)}}for(const se of["aria-label","type","name","title","alt"]){const Ve=E.getAttribute(se);Ve&&P.push(`[${se}="${Ve}"]`)}return P.join("")}const or=(u={})=>{const h={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...u};return{name:"Breadcrumbs",setup(E){h.console&&function De(u){const h="console",E=tt(h,u);$e(h,Fe)}(function ro(u){return function(E){if((0,D.KU)()!==u)return;const P={category:"console",data:{arguments:E.args,logger:"console"},level:Xt(E.level),message:(0,Pe.gt)(E.args," ")};if("assert"===E.level){if(!1!==E.args[0])return;P.message=`Assertion failed: ${(0,Pe.gt)(E.args.slice(1)," ")||"console.assert"}`,P.data.arguments=E.args.slice(1)}Et(P,{input:E.args,level:E.level})}}(E)),h.dom&&function wn(u){tt("dom",u),$e("dom",it)}
1(function wr(u,h){return function(P){if((0,D.KU)()!==u)return;let ie,se,Ve="object"==typeof h?h.serializeAttribute:void 0,at="object"==typeof h&&"number"==typeof h.maxStringLength?h.maxStringLength:void 0;at&&at>1024&&(V&&_.Yz.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${at} was configured. Sentry will use 1024 instead.`),at=1024),"string"==typeof Ve&&(Ve=[Ve]);try{const Wt=P.event,Bn=function kr(u){return!!u&&!!u.target}(Wt)?Wt.target:Wt;ie=sn(Bn,{keyAttrs:Ve,maxStringLength:at}),se=function fe(u,h=5){if(!me.HTMLElement)return null;let E=u;for(let P=0;P<h;P++){if(!E)return null;if(E instanceof HTMLElement){if(E.dataset.sentryComponent)return E.dataset.sentryComponent;if(E.dataset.sentryElement)return E.dataset.sentryElement}E=E.parentNode}return null}(Bn)}catch{ie="<unknown>"}if(0===ie.length)return;const kt={category:`ui.${P.name}`,message:ie};se&&(kt.data={"ui.component_name":se}),Et(kt,{event:P.event,name:P.name,global:P.global})}}(E,h.dom)),h.xhr&&function Kn(u){tt("xhr",u),$e("xhr",pe)}(function xn(u){return function(E){if((0,D.KU)()!==u)return;const{startTimestamp:P,endTimestamp:ie}=E,se=E.xhr[tr];if(!P||!ie||!se)return;const{method:Ve,url:at,status_code:kt,body:Wt}=se,Un={xhr:E.xhr,input:Wt,startTimestamp:P,endTimestamp:ie},ho={category:"xhr",data:{method:Ve,url:at,status_code:kt},type:"http",level:en(kt)};u.emit("beforeOutgoingRequestBreadcrumb",ho,Un),Et(ho,Un)}}(E)),h.fetch&&function nn(u,h){const E="fetch",P=tt(E,u);$e(E,()=>vn(void 0,h))}(function ur(u){return function(E){if((0,D.KU)()!==u)return;const{startTimestamp:P,endTimestamp:ie}=E;if(ie&&(!E.fetchData.url.match(/sentry_key/)||"POST"!==E.fetchData.method))if(E.error){const se={data:E.error,input:E.args,startTimestamp:P,endTimestamp:ie},Ve={category:"fetch",data:E.fetchData,level:"error",type:"http"};u.emit("beforeOutgoingRequestBreadcrumb",Ve,se),Et(Ve,se)}else{const se=E.response,Ve={...E.fetchData,status_code:se?.status},at={input:E.args,response:se,startTimestamp:P,endTimestamp:ie},kt={category:"fetch",data:Ve,type:"http",level:en(Ve.status_code)};u.emit("beforeOutgoingRequestBreadcrumb",kt,at),Et(kt,at)}}}(E)),h.history&&Le(function Rr(u){return function(E){if((0,D.KU)()!==u)return;let P=E.from,ie=E.to;const se=qe(Z.location.href);let Ve=P?qe(P):void 0;const at=qe(ie);Ve?.path||(Ve=se),se.protocol===at.protocol&&se.host===at.host&&(ie=at.relative),se.protocol===Ve.protocol&&se.host===Ve.host&&(P=Ve.relative),Et({category:"navigation",data:{from:P,to:ie}})}}(E)),h.sentry&&E.on("beforeSendEvent",function $r(u){return function(E){(0,D.KU)()===u&&Et({category:"sentry."+("transaction"===E.type?"transaction":"event"),event_id:E.event_id,level:E.level,message:(0,$.$X)(E)},{event:E})}}(E))}}};let Mr=null;function lo(){Mr=G.O.onerror,G.O.onerror=function(u,h,E,P,ie){return Me("error",{column:P,error:ie,line:E,msg:u,url:h}),!!Mr&&Mr.apply(this,arguments)},G.O.onerror.__SENTRY_INSTRUMENTED__=!0}let We=null;function St(){We=G.O.onunhandledrejection,G.O.onunhandledrejection=function(u){return Me("unhandledrejection",u),!We||We.apply(this,arguments)},G.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var $t=a(82367);var dr=a(74741);function fr(u,h){const E=br(u,h),P={type:Ho(h),value:io(h)};return E.length&&(P.stacktrace={frames:E}),void 0===P.type&&""===P.value&&(P.value="Unrecoverable error caught"),P}function zn(u,h){return{exception:{values:[fr(u,h)]}}}function br(u,h){const E=h.stacktrace||h.stack||"",P=function oo(u){return u&&pr.test(u.message)?1:0}(h),ie=function ri(u){return"number"==typeof u.framesToPop?u.framesToPop:0}(h);try{return u(E,P,ie)}catch{}return[]}const pr=/Minified React error #\d+;/i;function Fo(u){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"&&u instanceof WebAssembly.Exception}function Ho(u){const h=u?.name;return!h&&Fo(u)?u.message&&Array.isArray(u.message)&&2==u.message.length?u.message[0]:"WebAssembly.Exception":h}function io(u){const h=u?.message;return Fo(u)?Array.isArray(u.message)&&2==u.message.length?u.message[1]:"wasm exception":h?function x(u){return function Zr(u){return(0,dt.bJ)(u)&&"__sentry_fetch_url_host__"in u&&"string"==typeof u.__sentry_fetch_url_host__}(u)?`${u.message} (${u.__sentry_fetch_url_host__})`:u.message}(h.error&&"string"==typeof h.error.message?h.error:u):"No error message"}function mo(u,h,E,P,ie){let se;if((0,dt.T2)(h)&&h.error)return zn(u,h.error);if((0,dt.BD)(h)||(0,dt.W6)(h)){const Ve=h;if("stack"in h){se=zn(u,h);const at=se.exception?.values?.[0];
1if(P&&E&&at&&!at.stacktrace){const kt=br(u,E);kt.length&&(at.stacktrace={frames:kt},(0,$.M6)(se,{synthetic:!0}))}}else{const at=Ve.name||((0,dt.BD)(Ve)?"DOMError":"DOMException"),kt=Ve.message?`${at}: ${Ve.message}`:at;se=_o(u,kt,E,P),(0,$.gO)(se,kt)}return"code"in Ve&&(se.tags={...se.tags,"DOMException.code":`${Ve.code}`}),se}return(0,dt.bJ)(h)?zn(u,h):(0,dt.Qd)(h)||(0,dt.xH)(h)?(se=function nr(u,h,E,P){const se=(0,D.KU)()?.getOptions().normalizeDepth,Ve=function ds(u){return Object.values(u).find(h=>h instanceof Error)}(h),at={__serialized__:(0,$t.cd)(h,se)};if(Ve)return{exception:{values:[fr(u,Ve)]},extra:at};const kt={exception:{values:[{type:(0,dt.xH)(h)?h.constructor.name:P?"UnhandledRejection":"Error",value:So(h,{isUnhandledRejection:P})}]},extra:at};if(E){const Wt=br(u,E);Wt.length&&(kt.exception.values[0].stacktrace={frames:Wt})}return kt}(u,h,E,ie),(0,$.M6)(se,{synthetic:!0}),se):(se=_o(u,h,E,P),(0,$.gO)(se,`${h}`,void 0),(0,$.M6)(se,{synthetic:!0}),se)}function _o(u,h,E,P){const ie={};if(P&&E){const se=br(u,E);se.length&&(ie.exception={values:[{value:h,stacktrace:{frames:se}}]}),(0,$.M6)(ie,{synthetic:!0})}if((0,dt.NF)(h)){const{__sentry_template_string__:se,__sentry_template_values__:Ve}=h;return ie.logentry={message:se,params:Ve},ie}return ie.message=h,ie}function So(u,{isUnhandledRejection:h}){const E=(0,re.HF)(u),P=h?"promise rejection":"exception";return(0,dt.T2)(u)?`Event \`ErrorEvent\` captured as ${P} with message \`${u.message}\``:(0,dt.xH)(u)?`Event \`${function Qi(u){try{const h=Object.getPrototypeOf(u);return h?h.constructor.name:void 0}catch{}}(u)}\` (type=${u.type}) captured as ${P}`:`Object captured as ${P} with keys: ${E}`}const Pr=(u={})=>{const h={onerror:!0,onunhandledrejection:!0,...u};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(E){h.onerror&&(function _i(u){!function Wr(u){const h="error";tt(h,u),$e(h,lo)}(h=>{const{stackParser:E,attachStacktrace:P}=Yo();if((0,D.KU)()!==u||ft())return;const{msg:ie,url:se,line:Ve,column:at,error:kt}=h,Wt=function vi(u,h,E,P){const ie=u.exception=u.exception||{},se=ie.values=ie.values||[],Ve=se[0]=se[0]||{},at=Ve.stacktrace=Ve.stacktrace||{},kt=at.frames=at.frames||[];return 0===kt.length&&kt.push({colno:P,lineno:E,filename:es(h)??de(),function:xe.yF,in_app:!0}),u}(mo(E,kt||ie,void 0,P,!1),se,Ve,at);Wt.level="error",(0,I.r)(Wt,{originalException:kt,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(E),Ti("onerror")),h.onunhandledrejection&&(function Fi(u){!function ct(u){const h="unhandledrejection";tt(h,u),$e(h,St)}(h=>{const{stackParser:E,attachStacktrace:P}=Yo();if((0,D.KU)()!==u||ft())return;const ie=function ii(u){if((0,dt.sO)(u))return u;try{if("reason"in u)return u.reason;if("detail"in u&&"reason"in u.detail)return u.detail.reason}catch{}return u}(h),se=(0,dt.sO)(ie)?function Ui(u){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(u)}`}]}}}(ie):mo(E,ie,void 0,P,!0);se.level="error",(0,I.r)(se,{originalException:ie,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(E),Ti("onunhandledrejection"))}}};function Ti(u){V&&_.Yz.log(`Global Handler attached: ${u}`)}function Yo(){return(0,D.KU)()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function es(u){if((0,dt.Kg)(u)&&0!==u.length)return u.startsWith("data:")?`<${function kn(u,h=!0){if(u.startsWith("data:")){const E=u.match(/^data:([^;,]+)/),P=E?E[1]:"text/plain",ie=u.includes(";base64,"),se=u.indexOf(",");let Ve="";if(h&&-1!==se){const at=u.slice(se+1);Ve=at.length>10?`${at.slice(0,10)}... [truncated]`:at}return`data:${P}${ie?",base64":""}${Ve?`,${Ve}`:""}`}return u}(u,!1)}>`:u}function Bi(u,h,E,P,ie,se){if(!ie.exception?.values||!se||!(0,dt.tH)(se.originalException,Error))return;const Ve=ie.exception.values.length>0?ie.exception.values[ie.exception.values.length-1]:void 0;Ve&&(ie.exception.values=si(u,h,P,se.originalException,E,ie.exception.values,Ve,0))}function si(u,h,E,P,ie,se,Ve,at){if(se.length>=E+1)return se;let kt=[...se];if((0,dt.tH)(P[ie],Error)){Si(Ve,at,P);const Wt=u(h,P[ie]),Bn=kt.length;ai(Wt,ie,Bn,at),kt=si(u,h,E,P[ie],ie,[Wt,...kt],Wt,Bn)}
1return Uo(P)&&P.errors.forEach((Wt,Bn)=>{if((0,dt.tH)(Wt,Error)){Si(Ve,at,P);const Un=u(h,Wt),ho=kt.length;ai(Un,`errors[${Bn}]`,ho,at),kt=si(u,h,E,Wt,ie,[Un,...kt],Un,ho)}}),kt}function Uo(u){return Array.isArray(u.errors)}function Si(u,h,E){u.mechanism={handled:!0,type:"auto.core.linked_errors",...Uo(E)&&{is_exception_group:!0},...u.mechanism,exception_id:h}}function ai(u,h,E,P){u.mechanism={handled:!0,...u.mechanism,type:"chained",source:h,exception_id:E,parent_id:P}}const Ri=(u={})=>{const h=u.limit||5,E=u.key||"cause";return{name:"LinkedErrors",preprocessEvent(P,ie,se){Bi(fr,se.getOptions().stackParser,E,h,P,ie)}}};function vr(u,h){const E=u.attributes??(u.attributes={});Object.entries(h).forEach(([P,ie])=>{null!=ie&&!(P in E)&&(E[P]=ie)})}const li=()=>({name:"HttpContext",preprocessEvent(u){if(!Z.navigator&&!Z.location&&!Z.document)return;const h=Zt(),E={...h.headers,...u.request?.headers};u.request={...h,...u.request,headers:E}},processSegmentSpan(u){if(!Z.navigator&&!Z.location&&!Z.document)return;const h=Zt();vr(u,{"url.full":h.url||void 0,"http.request.header.user_agent":h.headers["User-Agent"],"http.request.header.referer":h.headers.Referer})}}),ts=()=>({name:"CultureContext",preprocessEvent(u){const h=Vi();h&&(u.contexts={...u.contexts,culture:{...h,...u.contexts?.culture}})},processSegmentSpan(u){const h=Vi();h&&vr(u,{"culture.locale":h.locale,"culture.timezone":h.timezone,"culture.calendar":h.calendar})}});function Vi(){try{const u=Z.Intl;if(!u)return;const h=u.DateTimeFormat().resolvedOptions();return{locale:h.locale,timezone:h.timeZone,calendar:h.calendar}}catch{return}}const Wi=(u={})=>{const h=u.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof Z.document>"u")return void(V&&_.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));(0,I.J0)({ignoreDuration:!0}),(0,I.J5)();const E=(0,D.rm)();let P=E.getUser();E.addScopeListener(ie=>{const se=ie.getUser();(P?.id!==se?.id||P?.ip_address!==se?.ip_address)&&((0,I.J5)(),P=se)}),"route"===h&&Le(({from:ie,to:se})=>{ie!==se&&((0,I.J0)({ignoreDuration:!0}),(0,I.J5)())})}}};function Ai(u){const h=[];u.message&&h.push(u.message);try{const E=u.exception.values[u.exception.values.length-1];E?.value&&(h.push(E.value),E.type&&h.push(`${E.type}: ${E.value}`))}catch{}return h}const di=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],Hi=(u={})=>{let h;return{name:"EventFilters",setup(E){const P=E.getOptions();h=fs(u,P)},processEvent(E,P,ie){if(!h){const se=ie.getOptions();h=fs(u,se)}return function As(u,h){if(u.type){if("transaction"===u.type&&function bs(u,h){if(!h?.length)return!1;const E=u.transaction;return!!E&&(0,Pe.Xr)(E,h)}(u,h.ignoreTransactions))return pt.T&&_.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,$.$X)(u)}`),!0}else{if(function ns(u,h){return!!h?.length&&Ai(u).some(E=>(0,Pe.Xr)(E,h))}(u,h.ignoreErrors))return pt.T&&_.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,$.$X)(u)}`),!0;if(function hs(u){return!!u.exception?.values?.length&&!u.message&&!u.exception.values.some(h=>h.stacktrace||h.type&&"Error"!==h.type||h.value)}(u))return pt.T&&_.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,$.$X)(u)}`),!0;if(function Vo(u,h){if(!h?.length)return!1;const E=yi(u);return!!E&&(0,Pe.Xr)(E,h)}(u,h.denyUrls))return pt.T&&_.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,$.$X)(u)}.\nUrl: ${yi(u)}`),!0;if(!function Cs(u,h){if(!h?.length)return!0;const E=yi(u);return!E||(0,Pe.Xr)(E,h)}(u,h.allowUrls))return pt.T&&_.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,$.$X)(u)}.\nUrl: ${yi(u)}`),!0}return!1}(E,h)?null:E}}},jo=(u={})=>({...Hi(u),name:"InboundFilters"});function fs(u={},h={}){return{allowUrls:[...u.allowUrls||[],...h.allowUrls||[]],denyUrls:[...u.denyUrls||[],...h.denyUrls||[]],ignoreErrors:[...u.ignoreErrors||[],...h.ignoreErrors||[],...u.disableErrorDefaults?[]:di],ignoreTransactions:[...u.ignoreTransactions||[],...h.ignoreTransactions||[]]}}function yi(u){try{const E=[...u.exception?.values??[]].reverse().find(P=>void 0===P.mechanism?.parent_id&&P.stacktrace?.frames?.length)?.stacktrace?.frames;return E?function Os(u=[]){for(let h=u.length-1;h>=0;h--){const E=u[h];if(E&&"<anonymous>"!==E.filename&&"[native code]"!==E.filename)return E.filename||null}return null}(E):null}catch{return pt.T&&_.Yz.error(`Cannot extract url for event ${(0,$.$X)(u)}`),null}}let Eo;const fi=new WeakMap,rs=()=>({name:"FunctionToString",setupOnce(){Eo=Function.prototype.toString;try{Function.prototype.toString=function(...u){const h=(0,re.sp)(this),E=fi.has((0,D.KU)())&&void 0!==h?h:this;return Eo.apply(E,u)}}catch{}},setup(u){fi.set(u,!0)}});var Xo=a(26326),Jo=a(80129);const Ei=()=>({name:"ConversationId",setup(u){u.on("spanStart",h=>{const E=(0,D.o5)().getScopeData(),P=(0,D.rm)().getScopeData(),ie=E.conversationId||P.conversationId;if(ie){const{op:se,data:Ve,description:at}=(0,Jo.et)(h);if(!se?.startsWith("gen_ai.")&&!Ve["ai.operationId"]&&!at?.startsWith("ai."))return;h.setAttribute(Xo.Fy,ie)}})}}),os=()=>{let u;return{name:"Dedupe",processEvent(h){if(h.type)return h;try{if(function Jn(u,h){return!(!h||!function Ms(u,h){const E=u.message,P=h.message;return!(!E&&!P||E&&!P||!E&&P||E!==P||!Rs(u,h)||!is(u,h))}
1(u,h)&&!function ps(u,h){const E=Ji(h),P=Ji(u);return!!(E&&P&&E.type===P.type&&E.value===P.value&&Rs(u,h)&&is(u,h))}(u,h))}(h,u))return pt.T&&_.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return u=h}}};function is(u,h){let E=(0,xe.RV)(u),P=(0,xe.RV)(h);if(!E&&!P)return!0;if(E&&!P||!E&&P||P.length!==E.length)return!1;for(let ie=0;ie<P.length;ie++){const se=P[ie],Ve=E[ie];if(se.filename!==Ve.filename||se.lineno!==Ve.lineno||se.colno!==Ve.colno||se.function!==Ve.function)return!1}return!0}function Rs(u,h){let E=u.fingerprint,P=h.fingerprint;if(!E&&!P)return!0;if(E&&!P||!E&&P)return!1;try{return E.join("")===P.join("")}catch{return!1}}function Ji(u){return u.exception?.values?.[0]}var Ls=a(94526),pi=a(67707),zi=a(84748);function ss(u,h=[]){return[u,h]}function Vs(u,h){const[E,P]=u;return[E,[...P,h]]}function ks(u,h){const E=u[1];for(const P of E)if(h(P,P[0].type))return!0;return!1}function zs(u){const h=(0,pi.Se)(G.O);return h.encodePolyfill?h.encodePolyfill(u):(new TextEncoder).encode(u)}function Fs(u){const[h,E]=u;let P=JSON.stringify(h);function ie(se){"string"==typeof P?P="string"==typeof se?P+se:[zs(P),se]:P.push("string"==typeof se?zs(se):se)}for(const se of E){const[Ve,at]=se;if(ie(`\n${JSON.stringify(Ve)}\n`),"string"==typeof at||at instanceof Uint8Array)ie(at);else{let kt;try{kt=JSON.stringify(at)}catch{kt=JSON.stringify((0,$t.S8)(at))}ie(kt)}}return"string"==typeof P?P:function aa(u){const h=u.reduce((ie,se)=>ie+se.length,0),E=new Uint8Array(h);let P=0;for(const ie of u)E.set(ie,P),P+=ie.length;return E}(P)}function Li(u){const h="string"==typeof u.data?zs(u.data):u.data;return[{type:"attachment",length:h.length,filename:u.filename,content_type:u.contentType,attachment_type:u.attachmentType},h]}const as={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function p(u){return function ms(u){return u in as}(u)?as[u]:u}function M(u){if(!u?.sdk)return;const{name:h,version:E}=u.sdk;return{name:h,version:E}}function Qn(){return typeof window<"u"&&(!function Qt(){return!function lt(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}()&&"[object process]"===Object.prototype.toString.call(typeof process<"u"?process:0)}()||function Nr(){return"renderer"===G.O.process?.type}())}function Zn(u,h){const E=h?"auto":"never";return[{type:"log",item_count:u.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...Qn()&&{ingest_settings:{infer_ip:E,infer_user_agent:E}},items:u}]}function hr(u,h){const E=h??function $n(u){return rr().get(u)}(u)??[];if(0===E.length)return;const P=u.getOptions(),ie=function Io(u,h,E,P,ie){const se={};return h?.sdk&&(se.sdk={name:h.sdk.name,version:h.sdk.version}),E&&P&&(se.dsn=(0,J.SB)(P)),ss(se,[Zn(u,ie)])}(E,P._metadata,P.tunnel,u.getDsn(),u.getDataCollectionOptions().userInfo);rr().set(u,[]),u.emit("flushLogs"),u.sendEnvelope(ie)}function rr(){return(0,pi.BY)("clientToLogBufferMap",()=>new WeakMap)}function qr(u,h){const E=h?"auto":"never";return[{type:"trace_metric",item_count:u.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...Qn()&&{ingest_settings:{infer_ip:E,infer_user_agent:E}},items:u}]}function xi(u,h){const E=h??function ei(u){return ki().get(u)}(u)??[];if(0===E.length)return;const P=u.getOptions(),ie=function Zo(u,h,E,P,ie){const se={};return h?.sdk&&(se.sdk={name:h.sdk.name,version:h.sdk.version}),E&&P&&(se.dsn=(0,J.SB)(P)),ss(se,[qr(u,ie)])}(E,P._metadata,P.tunnel,u.getDsn(),u.getDataCollectionOptions().userInfo);ki().set(u,[]),u.emit("flushMetrics"),u.sendEnvelope(ie)}function ki(){return(0,pi.BY)("clientToMetricBufferMap",()=>new WeakMap)}var Br=a(75099),Ca=a(92328);function Xs(u){const h={trace_id:u.trace_id,span_id:u.span_id,parent_span_id:u.parent_span_id,name:u.description||"",start_timestamp:u.start_timestamp,end_timestamp:u.timestamp||u.start_timestamp,status:u.status&&"ok"!==u.status&&"cancelled"!==u.status?"error":"ok",is_segment:!1,attributes:{...u.data},links:u.links};return(0,Jo.PL)(h)}function Yc(u){return"object"==typeof u&&"function"==typeof u.unref&&u.unref(),u}const Ma=Symbol.for("SentryBufferFullError");function cc(u=100){const h=new Set;function P(Ve){h.delete(Ve)}return{get $(){return Array.from(h)},add:function ie(Ve){if(!function E(){return h.size<u}())return(0,dr.xg)(Ma);const at=Ve();return h.add(at),at.then(()=>P(at),()=>P(at)),at},drain:function se(Ve){if(!h.size)return(0,dr.XW)(!0);
1const at=Promise.allSettled(Array.from(h)).then(()=>!0);if(!Ve)return at;const kt=[at,new Promise(Wt=>Yc(setTimeout(()=>Wt(!1),Ve)))];return Promise.race(kt)}}}function lc(u,h,E=cc(u.bufferSize||64)){let P={};return{send:function se(Ve){const at=[];if(ks(Ve,(Un,ho)=>{const jn=p(ho);!function ua(u,h,E=(0,zi.Wk)()){return function Ta(u,h){return u[h]||u.all||0}(u,h)>E}(P,jn)?at.push(Un):u.recordDroppedEvent("ratelimit_backoff",jn)}),0===at.length)return Promise.resolve({});const kt=ss(Ve[0],at),Wt=Un=>{!function Ks(u,h){return ks(u,(E,P)=>h.includes(P))}(kt,["client_report"])?ks(kt,(ho,jn)=>{u.recordDroppedEvent(Un,p(jn))}):pt.T&&_.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${Un}).`)};return E.add(()=>h({body:Fs(kt)}).then(Un=>413===Un.statusCode?(pt.T&&_.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),Wt("send_error"),Un):(pt.T&&void 0!==Un.statusCode&&(Un.statusCode<200||Un.statusCode>=300)&&_.Yz.warn(`Sentry responded with status code ${Un.statusCode} to sent event.`),P=function uc(u,{statusCode:h,headers:E},P=(0,zi.Wk)()){const ie={...u},se=E?.["x-sentry-rate-limits"],Ve=E?.["retry-after"];if(se)for(const at of se.trim().split(",")){const[kt,Wt,,,Bn]=at.split(":",5),Un=parseInt(kt,10),ho=1e3*(isNaN(Un)?60:Un);if(Wt)for(const jn of Wt.split(";"))"metric_bucket"===jn?(!Bn||Bn.split(";").includes("custom"))&&(ie[jn]=P+ho):ie[jn]=P+ho;else ie.all=P+ho}else Ve?ie.all=P+function Qc(u,h=(0,zi.Wk)()){const E=parseInt(`${u}`,10);if(!isNaN(E))return 1e3*E;const P=Date.parse(`${u}`);return isNaN(P)?6e4:P-h}(Ve,P):429===h&&(ie.all=P+6e4);return ie}(P,Un),Un),Un=>{throw Wt("network_error"),pt.T&&_.Yz.error("Encountered error running transport request:",Un),Un})).then(Un=>Un,Un=>{if(Un===Ma)return pt.T&&_.Yz.error("Skipped sending event because buffer is full."),Wt("queue_overflow"),Promise.resolve({});throw Un})},flush:Ve=>E.drain(Ve)}}var dc=a(75297),Xc=a(36710);function da(u){_.Yz.log(`Ignoring span ${u.op} - ${u.description} because it matches \`ignoreSpans\`.`)}function fa(u,h){if(!h?.length)return!1;for(const E of h){if(le(E)){if(u.description&&(0,Pe._c)(u.description,E))return pt.T&&da(u),!0;continue}const P=!!E.attributes&&Object.keys(E.attributes).length>0;if(!E.name&&!E.op&&!P)continue;const ie=!E.name||u.description&&(0,Pe._c)(u.description,E.name),se=!E.op||u.op&&(0,Pe._c)(u.op,E.op),Ve=!E.attributes||Object.entries(E.attributes).every(([at,kt])=>g(u.attributes?.[at],kt));if(ie&&se&&Ve)return pt.T&&da(u),!0}return!1}function g(u,h){return"string"==typeof u&&("string"==typeof h||h instanceof RegExp)?(0,Pe._c)(u,h):Array.isArray(u)&&Array.isArray(h)?u.length===h.length&&u.every((E,P)=>E===h[P]):u===h}function j(u,h){const E=h.parent_span_id,P=h.span_id;if(E)for(const ie of u)ie.parent_span_id===P&&(ie.parent_span_id=E)}function le(u){return"string"==typeof u||u instanceof RegExp}const In=["forwarded","-ip","remote-","via","-user"],ys={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0},stackFrameVariables:!0,frameContextLines:5};const Xu="Not capturing exception because it's already been captured.",Ju="Discarded session because of missing or non-string release",Zu=Symbol.for("SentryInternalError"),qu=Symbol.for("SentryDoNotSendEventError");function xa(u){return{message:u,[Zu]:!0}}function Jc(u){return{message:u,[qu]:!0}}function el(u){return!!u&&"object"==typeof u&&Zu in u}function tl(u){return!!u&&"object"==typeof u&&qu in u}function nl(u,h,E,P,ie){let Ve,se=0,at=!1;u.on(E,()=>{se=0,clearTimeout(Ve),at=!1}),u.on(h,kt=>{if(se+=P(kt),se>=8e5)ie(u);else if(!at){const Wt=u.getOptions()._flushInterval??5e3;Wt>0&&(at=!0,Ve=Yc(setTimeout(()=>{ie(u)},Wt)))}}),u.on("flush",()=>{ie(u)})}class fc{constructor(h){if(this._options=h,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=cc(h.transportOptions?.bufferSize??64),this._dataCollection=function yd(u){const h=null!=u.dataCollection?ys:function Qr(u){return!0===u?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],queryParams:!0,genAI:{inputs:!0,outputs:!0}
1,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:In},httpHeaders:{request:{deny:In},response:{deny:In}},httpBodies:[],queryParams:{deny:In},genAI:{inputs:!1,outputs:!1},stackFrameVariables:!0,frameContextLines:7}}(u.sendDefaultPii),E=u.dataCollection??{};return{userInfo:E.userInfo??h.userInfo,cookies:E.cookies??h.cookies,httpHeaders:{request:E.httpHeaders?.request??h.httpHeaders.request,response:E.httpHeaders?.response??h.httpHeaders.response},httpBodies:E.httpBodies??h.httpBodies,queryParams:E.queryParams??h.queryParams,genAI:{inputs:E.genAI?.inputs??h.genAI.inputs,outputs:E.genAI?.outputs??h.genAI.outputs},stackFrameVariables:E.stackFrameVariables??h.stackFrameVariables,frameContextLines:E.frameContextLines??h.frameContextLines}}(h),h.dsn?this._dsn=(0,J.AD)(h.dsn):pt.T&&_.Yz.warn("No DSN provided, client will not send events."),this._dsn){const P=function H(u,h,E){return h||`${function k(u){return`${S(u)}${u.projectId}/envelope/`}(u)}?${function R(u,h){const E={sentry_version:"7"};return u.publicKey&&(E.sentry_key=u.publicKey),h&&(E.sentry_client=`${h.name}/${h.version}`),new URLSearchParams(E).toString()}(u,E)}`}(this._dsn,h.tunnel,h._metadata?h._metadata.sdk:void 0);this._transport=h.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...h.transportOptions,url:P})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&nl(this,"afterCaptureLog","flushLogs",Sp,hr),(this._options.enableMetrics??this._options._experiments?.enableMetrics??1)&&nl(this,"afterCaptureMetric","flushMetrics",Tp,xi)}captureException(h,E,P){const ie=(0,$.eJ)();if((0,$.GR)(h))return pt.T&&_.Yz.log(Xu),ie;const se={event_id:ie,...E};return this._process(()=>this.eventFromException(h,se).then(Ve=>this._captureEvent(Ve,se,P)).then(Ve=>Ve),"error"),se.event_id}captureMessage(h,E,P,ie){const se={event_id:(0,$.eJ)(),...P},Ve=(0,dt.NF)(h)?h:String(h),at=(0,dt.sO)(h),kt=at?this.eventFromMessage(Ve,E,se):this.eventFromException(h,se);return this._process(()=>kt.then(Wt=>this._captureEvent(Wt,se,ie)),at?"unknown":"error"),se.event_id}captureEvent(h,E,P){const ie=(0,$.eJ)();if(E?.originalException&&(0,$.GR)(E.originalException))return pt.T&&_.Yz.log(Xu),ie;const se={event_id:ie,...E},Ve=h.sdkProcessingMetadata||{},at=Ve.capturedSpanScope,kt=Ve.capturedSpanIsolationScope,Wt=Js(h.type);return this._process(()=>this._captureEvent(h,se,at||P,kt),Wt),se.event_id}captureSession(h){this.sendSession(h),(0,Br.qO)(h,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(h){var E=this;return(0,Xe.A)(function*(){const P=E._transport;if(E.emit("flush"),!P)return!0;const ie=yield E._isClientDoneProcessing(h),se=yield P.flush(h);return ie&&se})()}close(h){var E=this;return(0,Xe.A)(function*(){hr(E);const P=yield E.flush(h);return E.getOptions().enabled=!1,E.emit("close"),P})()}getEventProcessors(){return this._eventProcessors}addEventProcessor(h){this._eventProcessors.push(h)}init(){(this._isEnabled()||this._options.integrations.some(({name:h})=>h.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(h){return this._integrations[h]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(h){const E=this._integrations[h.name];!E&&h.beforeSetup&&h.beforeSetup(this),Hr(this,h,this._integrations),E||xo(this,[h])}sendEvent(h,E={}){this.emit("beforeSendEvent",h,E);const P=function oa(u,h){if("transaction"!==u.type||!u.spans?.length||!u.sdkProcessingMetadata?.hasGenAiSpans||!h.getOptions().streamGenAiSpans||function qi(u){return"stream"===u.getOptions().traceLifecycle}(h))return;const E=[],P=[];for(const se of u.spans)se.op?.startsWith("gen_ai.")?E.push(Xs(se)):P.push(se);if(0===E.length)return;u.spans=P;const ie=h.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:E.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...Qn()&&{ingest_settings:{infer_ip:ie,infer_user_agent:ie}},items:E}]}(h,this);let ie=function Q(u,h,E,P){const ie=M(E),se=u.type&&"replay_event"!==u.type?u.type:"event";!function Y(u,h){if(!h)return u;const E=u.sdk||{};u.sdk={...E,name:E.name||h.name,version:E.version||h.version,integrations:[...u.sdk?.integrations||[],...h.integrations||[]],packages:[...u.sdk?.packages||[],...h.packages||[]],settings:u.sdk?.settings||h.settings?{...u.sdk?.settings,...h.settings}:void 0}}(u,E?.sdk);const Ve=function v(u,h,E,P){const ie=u.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:u.event_id,sent_at:new Date((0,zi.Wk)()).toISOString(),...h&&{sdk:h},...!!E&&P&&{dsn:(0,J.SB)(P)},...ie&&{trace:ie}}}(u,ie,P,h);return delete u.sdkProcessingMetadata,ss(Ve,[[{type:se},u]])}(h,this._dsn,this._options._metadata,this._options.tunnel);for(const se of E.attachments||[])ie=Vs(ie,Li(se));P&&(ie=Vs(ie,P)),this.sendEnvelope(ie).then(se=>
1this.emit("afterSendEvent",h,se))}sendSession(h){const{release:E,environment:P=Ls.U}=this._options;if("aggregates"in h){const se=h.attrs||{};if(!se.release&&!E)return void(pt.T&&_.Yz.warn(Ju));se.release=se.release||E,se.environment=se.environment||P,h.attrs=se}else{if(!h.release&&!E)return void(pt.T&&_.Yz.warn(Ju));h.release=h.release||E,h.environment=h.environment||P}this.emit("beforeSendSession",h);const ie=function F(u,h,E,P){const ie=M(E);return ss({sent_at:new Date((0,zi.Wk)()).toISOString(),...ie&&{sdk:ie},...!!P&&h&&{dsn:(0,J.SB)(h)}},["aggregates"in u?[{type:"sessions"},u]:[{type:"session"},u.toJSON()]])}(h,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(ie)}recordDroppedEvent(h,E,P=1){if(this._options.sendClientReports){const ie=`${h}:${E}`;pt.T&&_.Yz.log(`Recording outcome: "${ie}"${P>1?` (${P} times)`:""}`),this._outcomes[ie]=(this._outcomes[ie]||0)+P}}on(h,E){const P=this._hooks[h]=this._hooks[h]||new Set,ie=(...se)=>E(...se);return P.add(ie),()=>{P.delete(ie)}}emit(h,...E){const P=this._hooks[h];P&&P.forEach(ie=>ie(...E))}sendEnvelope(h){var E=this;return(0,Xe.A)(function*(){if(E.emit("beforeEnvelope",h),E._isEnabled()&&E._transport)try{return yield E._transport.send(h)}catch(P){return pt.T&&_.Yz.error("Error while sending envelope:",P),{}}return pt.T&&_.Yz.error("Transport disabled"),{}})()}registerCleanup(h){}dispose(){}_setupIntegrations(){const{integrations:h}=this._options;this._integrations=function Lo(u,h){const E={};return h.forEach(P=>{P?.beforeSetup&&P.beforeSetup(u)}),h.forEach(P=>{P&&Hr(u,P,E)}),E}(this,h),xo(this,h)}_updateSessionFromEvent(h,E){let P="fatal"===E.level,ie=!1;const se=E.exception?.values;if(se){ie=!0,P=!1;for(const kt of se)if(!1===kt.mechanism?.handled){P=!0;break}}const Ve="ok"===h.status;(Ve&&0===h.errors||Ve&&P)&&((0,Br.qO)(h,{...P&&{status:"crashed"},errors:h.errors||Number(ie||P)}),this.captureSession(h))}_isClientDoneProcessing(h){var E=this;return(0,Xe.A)(function*(){let P=0;for(;!h||P<h;){if(yield new Promise(ie=>setTimeout(ie,1)),!E._numProcessing)return!0;P++}return!1})()}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(h,E,P,ie){const se=this.getOptions(),Ve=this.getIntegrationNames();return!E.integrations&&Ve.length&&(E.integrations=Ve),this.emit("preprocessEvent",h,E),h.type||ie.setLastEventId(h.event_id||E.event_id),(0,Xc.mG)(se,h,E,P,this,ie).then(at=>{if(null===at)return at;this.emit("postprocessEvent",at,E),at.contexts={trace:{...at.contexts?.trace,...(0,D.vn)(P)},...at.contexts};const kt=(0,Ca.ao)(this,P);return at.sdkProcessingMetadata={dynamicSamplingContext:kt,...at.sdkProcessingMetadata},at})}_captureEvent(h,E={},P=(0,D.o5)(),ie=(0,D.rm)()){return pt.T&&hc(h)&&_.Yz.log(`Captured error event \`${Ai(h)[0]||"<unknown>"}\``),this._processEvent(h,E,P,ie).then(se=>se.event_id,se=>{pt.T&&(tl(se)?_.Yz.log(se.message):el(se)?_.Yz.warn(se.message):_.Yz.warn(se))})}_processEvent(h,E,P,ie){const se=this.getOptions(),{sampleRate:Ve}=se,at=Zc(h),kt=hc(h),Bn=`before send for type \`${h.type||"error"}\``,Un=typeof Ve>"u"?void 0:function ia(u){if("boolean"==typeof u)return Number(u);const h="string"==typeof u?parseFloat(u):u;return"number"!=typeof h||isNaN(h)||h<0||h>1?void 0:h}(Ve);if(kt&&"number"==typeof Un&&(0,zi.hY)()>Un)return this.recordDroppedEvent("sample_rate","error"),(0,dr.xg)(Jc(`Discarding event because it's not included in the random sample (sampling rate = ${Ve})`));const ho=Js(h.type);return this._prepareEvent(h,E,P,ie).then(jn=>{if(null===jn)throw this.recordDroppedEvent("event_processor",ho),Jc("An event processor returned `null`, will not send event.");if(!0===E.data?.__sentry__)return jn;const Is=function rl(u,h,E,P){const{beforeSend:ie,beforeSendTransaction:se,ignoreSpans:Ve}=h,at=!function Qs(u){return!!u&&"function"==typeof u&&"_streamed"in u&&!!u._streamed}(h.beforeSendSpan)&&h.beforeSendSpan;let kt=E;if(hc(kt)&&ie)return ie(kt,P);if(Zc(kt)){if(at||Ve){const Wt=function Qe(u){const{trace_id:h,parent_span_id:E,span_id:P,status:ie,origin:se,data:Ve,op:at}=u.contexts?.trace??{};return{data:Ve??{},description:u.transaction,op:at,parent_span_id:E,span_id:P??"",start_timestamp:u.start_timestamp??0,status:ie,timestamp:u.timestamp,trace_id:h??"",origin:se,profile_id:Ve?.[Xo.E1],exclusive_time:Ve?.[Xo.jG],measurements:u.measurements,is_segment:!0}}(kt);if(Ve?.length&&fa({description:Wt.description,op:Wt.op,attributes:Wt.data},Ve))return null;if(at){const Bn=at(Wt);Bn?kt=(0,dc.h)(E,function Mt(u){return{type:"transaction",timestamp:u.timestamp,start_timestamp:u.start_timestamp,transaction:u.description,contexts:{trace:{trace_id:u.trace_id,span_id:u.span_id,parent_span_id:u.parent_span_id,op:u.op,status:u.status,origin:u.origin,data:{...u.data,...u.profile_id&&{[Xo.E1]:u.profile_id},...u.exclusive_time&&{[Xo.jG]:u.exclusive_time}}}},measurements:u.measurements}}(Bn)):(0,Jo.xl)()}if(kt.spans){const Bn=[],Un=kt.spans;for(const jn of Un)if(Ve?.length&&fa({description:jn.description,op:jn.op,attributes:jn.data},Ve))j(Un,jn);else if(at){const uo=at(jn);uo?Bn.push(uo):((0,Jo.xl)(),Bn.push(jn))}else Bn.push(jn);const ho=kt.spans.length-Bn.length;ho&&u.recordDroppedEvent("before_send","span",ho),kt.spans=Bn}}if(se)return kt.spans&&(kt.sdkProcessingMetadata={...E.sdkProcessingMetadata,spanCountBeforeProcessing:kt.spans.length}),se(kt,P)}return kt}(this,se,jn,E);return function ka(u,h){const E=`${h} must return \`null\` or a valid event.`;if((0,dt.Qg)(u))return u.then(P=>{if(!(0,dt.Qd)(P)&&null!==P)throw xa(E);return P},P=>{throw xa(`${h} rejected with ${P}`)});if(!(0,dt.Qd)(u)&&null!==u)throw xa(E);return u}(Is,Bn)}).then(jn=>{if(null===jn)throw this.recordDroppedEvent("before_send",ho),at&&this.recordDroppedEvent("before_send","span",1+(h.spans||[]).length),Jc(`${Bn} returned \`null\`, will not send event.`);const uo=P.getSession()||ie.getSession();if(kt&&uo&&this._updateSessionFromEvent(uo,jn),at){const Va=(jn.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(jn.spans?jn.spans.length:0);Va>0&&this.recordDroppedEvent("before_send","span",Va)}const Is=jn.transaction_info;if(at&&Is&&jn.transaction!==h.transaction){const $s="custom";jn.transaction_info={...Is,source:$s}}return this.sendEvent(jn,E),jn}).then(null,jn=>{throw tl(jn)||el(jn)?jn:(this.captureException(jn,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:jn}),xa(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${jn}`))})}_process(h,E){this._numProcessing++,this._promiseBuffer.add(h).then(P=>(this._numProcessing--,P),P=>(this._numProcessing--,P===Ma&&this.recordDroppedEvent("queue_overflow",E),P))}_clearOutcomes(){const h=this._outcomes;return this._outcomes={},Object.entries(h).map(([E,P])=>{const[ie,se]=E.split(":");return{reason:ie,category:se,quantity:P}})}_flushOutcomes(){pt.T&&_.Yz.log("Flushing outcomes...");const h=this._clearOutcomes();if(0===h.length)return void(pt.T&&_.Yz.log("No outcomes to send"));if(!this._dsn)return void(pt.T&&_.Yz.log("No dsn provided, will not send outcomes"));pt.T&&_.Yz.log("Sending outcomes:",h);const E=function la(u,h,E){return ss(h?{dsn:h}:{},[[{type:"client_report"},{timestamp:E||(0,w.lu)(),discarded_events:u}]])}(h,this._options.tunnel&&(0,J.SB)(this._dsn));this.sendEnvelope(E)}}function Js(u){return"replay_event"===u?"replay":u||"error"}function hc(u){return void 0===u.type}function Zc(u){return"transaction"===u.type}function Tp(u){let h=0;return u.name&&(h+=2*u.name.length),h+=8,h+Dd(u.attributes)}function Sp(u){let h=0;return u.message&&(h+=2*u.message.length),h+Dd(u.attributes)}function Dd(u){if(!u)return 0;let h=0;return Object.values(u).forEach(E=>{Array.isArray(E)?h+=E.length*pc(E[0]):(0,dt.sO)(E)?h+=pc(E):h+=100}),h}function pc(u){return"string"==typeof u?2*u.length:"number"==typeof u?8:"boolean"==typeof u?4:0}var qc=a(35405);function Cd(u,h,E=[h],P="npm"){const ie=(u._metadata=u._metadata||{}).sdk=u._metadata.sdk||{};ie.name||(ie.name=`sentry.javascript.${h}`,ie.packages=E.map(se=>({name:`${P}:@sentry/${se}`,version:qc.M})),ie.version=qc.M)}function eu(u){"aggregates"in u?void 0===u.attrs?.ip_address&&(u.attrs={...u.attrs,ip_address:"{{auto}}"}):void 0===u.ipAddress&&(u.ipAddress="{{auto}}")}class Md extends fc{constructor(h){const E=function Td(u){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Z.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...u}}(h);Cd(E,"browser",["browser"],Z.SENTRY_SDK_SOURCE||"npm"),super(E);const{userInfo:ie}=this.getDataCollectionOptions();E._metadata?.sdk&&(E._metadata.sdk.settings={infer_ip:ie?"auto":"never",...E._metadata.sdk.settings});const{sendClientReports:se,enableLogs:Ve,_experiments:at,enableMetrics:kt}=this._options,Wt=kt??at?.enableMetrics??!0;Z.document&&(se||Ve||Wt)&&Z.document.addEventListener("visibilitychange",()=>{"hidden"===Z.document.visibilityState&&(se&&this._flushOutcomes(),Ve&&hr(this),Wt&&xi(this))}),ie&&this.on("beforeSendSession",eu)}eventFromException(h,E){return function oi(u,h,E,P){const se=mo(u,h,E?.syntheticException||void 0,P);return(0,$.M6)(se),se.level="error",E?.event_id&&(se.event_id=E.event_id),(0,dr.XW)(se)}(this._options.stackParser,h,E,this._options.attachStacktrace)}eventFromMessage(h,E="info",P){return function Go(u,h,E="info",P,ie){const Ve=_o(u,h,P?.syntheticException||void 0,ie);return Ve.level=E,P?.event_id&&(Ve.event_id=P.event_id),(0,dr.XW)(Ve)}(this._options.stackParser,h,E,P,this._options.attachStacktrace)}_prepareEvent(h,E,P,ie){return h.platform=h.platform||"javascript",super._prepareEvent(h,E,P,ie)}}const Sd="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
1Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),ol=(u={})=>{const h={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...u};return{name:"BrowserApiErrors",setupOnce(){h.setTimeout&&(0,re.GS)(Z,"setTimeout",tu),h.setInterval&&(0,re.GS)(Z,"setInterval",tu),h.requestAnimationFrame&&(0,re.GS)(Z,"requestAnimationFrame",Ad),h.XMLHttpRequest&&"XMLHttpRequest"in Z&&(0,re.GS)(XMLHttpRequest.prototype,"send",bd);const E=h.eventTarget;E&&(Array.isArray(E)?E:Sd).forEach(ie=>function il(u,h){const P=Z[u]?.prototype;P?.hasOwnProperty?.("addEventListener")&&((0,re.GS)(P,"addEventListener",function(ie){return function(se,Ve,at){try{(function gc(u){return"function"==typeof u.handleEvent})(Ve)&&(Ve.handleEvent=jt(Ve.handleEvent,{mechanism:{data:{handler:(0,xe.qQ)(Ve),target:u},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return h.unregisterOriginalCallbacks&&function sl(u,h,E){u&&"object"==typeof u&&"removeEventListener"in u&&"function"==typeof u.removeEventListener&&u.removeEventListener(h,E)}(this,se,Ve),ie.apply(this,[se,jt(Ve,{mechanism:{data:{handler:(0,xe.qQ)(Ve),target:u},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),at])}}),(0,re.GS)(P,"removeEventListener",function(ie){return function(se,Ve,at){try{const kt=Ve.__sentry_wrapped__;kt&&ie.call(this,se,kt,at)}catch{}return ie.call(this,se,Ve,at)}}))}(ie,h))}}};function tu(u){return function(...h){return h[0]=jt(h[0],{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,xe.qQ)(u)}`}}),u.apply(this,h)}}function Ad(u){return function(h){return u.apply(this,[jt(h,{mechanism:{data:{handler:(0,xe.qQ)(u)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function bd(u){return function(...h){const E=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(ie=>{ie in E&&"function"==typeof E[ie]&&(0,re.GS)(E,ie,function(se){const Ve={mechanism:{data:{handler:(0,xe.qQ)(se)},handled:!1,type:`auto.browser.browserapierrors.xhr.${ie}`}},at=(0,re.sp)(se);return at&&(Ve.mechanism.data.handler=(0,xe.qQ)(at)),jt(se,Ve)})}),u.apply(this,h)}}function ha(u,h,E,P){const ie={filename:u,function:"<anonymous>"===h?xe.yF:h,in_app:!0};return void 0!==E&&(ie.lineno=E),void 0!==P&&(ie.colno=P),ie}const ru=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,al=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ou=/\((\S*)(?::(\d+))(?::(\d+))\)/,mc=/at (.+?) ?\(data:(.+?),/,ul=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Fa=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,au=(0,xe.gd)([30,u=>{const h=u.match(mc);if(h)return{filename:`<data:${h[2]}>`,function:h[1]};const E=ru.exec(u);if(E){const[,ie,se,Ve]=E;return ha(ie,xe.yF,+se,+Ve)}const P=al.exec(u);if(P){if(0===P[2]?.indexOf("eval")){const at=ou.exec(P[2]);at&&(P[2]=at[1],P[3]=at[2],P[4]=at[3])}const[se,Ve]=_c(P[1]||xe.yF,P[2]);return ha(Ve,se,P[3]?+P[3]:void 0,P[4]?+P[4]:void 0)}}],[50,u=>{const h=ul.exec(u);if(h){if(h[3]&&h[3].indexOf(" > eval")>-1){const se=Fa.exec(h[3]);se&&(h[1]=h[1]||"eval",h[3]=se[1],h[4]=se[2],h[5]="")}let P=h[3],ie=h[1]||xe.yF;return[ie,P]=_c(ie,P),ha(P,ie,h[4]?+h[4]:void 0,h[5]?+h[5]:void 0)}}]),_c=(u,h)=>{const E=-1!==u.indexOf("safari-extension"),P=-1!==u.indexOf("safari-web-extension");return E||P?[-1!==u.indexOf("@")?u.split("@")[0]:xe.yF,E?`safari-extension:${h}`:`safari-web-extension:${h}`]:[u,h]},vc=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ua={};function Rp(u,h=function cu(u){const h=Ua[u];if(h)return h;let E=Mn[u];if(o(E))return Ua[u]=E.bind(Mn);const P=Mn.document;if(P&&"function"==typeof P.createElement)try{const ie=P.createElement("iframe");ie.hidden=!0,P.head.appendChild(ie);const se=ie.contentWindow;se?.[u]&&(E=se[u]),P.head.removeChild(ie)}catch(ie){vc&&_.Yz.warn(`Could not create sandbox iframe for ${u} check, bailing to window.${u}: `,ie)}return E&&(Ua[u]=E.bind(Mn))}("fetch")){let E=0,P=0;function se(){return se=(0,Xe.A)(function*(Ve){const at=Ve.body.length;E+=at,P++;
1const kt={body:Ve.body,method:"POST",referrerPolicy:"strict-origin",headers:u.headers,keepalive:E<=6e4&&P<15,...u.fetchOptions};try{const Wt=yield h(u.url,kt);return{statusCode:Wt.status,headers:{"x-sentry-rate-limits":Wt.headers.get("X-Sentry-Rate-Limits"),"retry-after":Wt.headers.get("Retry-After")}}}catch(Wt){throw function ll(u){Ua[u]=void 0}("fetch"),Wt}finally{E-=at,P--}}),se.apply(this,arguments)}return lc(u,function ie(Ve){return se.apply(this,arguments)},cc(u.bufferSize||40))}const yc=/^HTML(\w*)Element$/;function Bd(u){if(typeof window<"u"&&u===window)return"[Window]";if(typeof document<"u"&&u===document)return"[Document]";if(function Ba(u){if(typeof Element>"u")return!1;try{return u instanceof Element}catch{return!1}}(u)){const h=function jd(u){const h=Object.getPrototypeOf(u);return h?.constructor?h.constructor.name:"null prototype"}(u);if(yc.test(h))return`[HTMLElement: ${sn(u)}]`}}function Pp(u={}){const h=!u.skipBrowserExtensionCheck&&function fl(){return!!function Vd(){if(typeof Z.window>"u")return!1;const u=Z;if(u.nw||!(u.chrome||u.browser)?.runtime?.id)return!1;const E=de();return!(Z===Z.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(E))}()&&(V&&(0,_.pq)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0)}();let E=null==u.defaultIntegrations?function Wd(){return[jo(),rs(),Ei(),ol(),or(),Pr(),Ri(),os(),li(),ts(),Wi()]}():u.defaultIntegrations;const P={...u,enabled:!h&&u.enabled,stackParser:(0,xe.vk)(u.stackParser||au),integrations:bo({integrations:u.integrations,defaultIntegrations:E}),transport:u.transport||Rp};return(0,$t.Ip)(Bd),function Ps(u,h){!0===h.debug&&(pt.T?_.Yz.enable():(0,_.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,D.o5)().update(h.initialScope);const P=new u(h);return function Ns(u){(0,D.o5)().setClient(u)}(P),P.init(),P}(Md,P)}var Ec=a(60414),Hd=a(91413);const Jd=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function qd(u){const h={defaultIntegrations:[jo(),rs(),Ei(),or(),Pr(),Ri(),os(),li(),ts(),Wi()],...u};return Cd(h,"angular"),function ef(){const h=Ec.xvI?.major&&parseInt(Ec.xvI.major,10);h&&(h<14&&Jd&&_.Yz.warn(`This Sentry SDK does not officially support Angular ${h}.`,"This SDK only supports Angular 14 and above.","If you're using lower Angular versions, check the Angular Version Compatibility table in our docs: https://docs.sentry.io/platforms/javascript/guides/angular/#angular-version-compatibility.","Otherwise, please consider upgrading your Angular version."),(0,I.o)("angular",{version:h}))}(),Pp(h)}const ml=typeof Zone<"u"&&Zone.root?.run;function Aa(u){return ml?Zone.root.run(u):u()}function co(u){if(u instanceof Error)return!0;if(null===u||"object"!=typeof u)return!1;const h=u;return(0,dt.Kg)(h.name)&&(0,dt.Kg)(h.message)&&(void 0===h.stack||(0,dt.Kg)(h.stack))}let lu=(()=>{class u{constructor(E){this._options={logErrors:!0,...E}}ngOnDestroy(){this._removeAfterSendEventListener&&this._removeAfterSendEventListener()}handleError(E){const P=this._extractError(E)||"Handled unknown error",ie=Aa(()=>I.Cp(P,{mechanism:{type:"auto.function.angular.error_handler",handled:!1}}));if(this._options.logErrors&&(0,_.pq)(()=>console.error(P)),this._options.showDialog){const se=D.KU();se&&!this._removeAfterSendEventListener?this._removeAfterSendEventListener=se.on("afterSendEvent",Ve=>{!Ve.type&&Ve.event_id&&Aa(()=>{vt({...this._options.dialogOptions,eventId:Ve.event_id})})}):se||Aa(()=>{vt({...this._options.dialogOptions,eventId:ie})})}}_extractError(E){if(this._options.extractor){const P=this._defaultExtractor.bind(this);return this._options.extractor(E,P)}return this._defaultExtractor(E)}_defaultExtractor(E){const P=function tf(u){return u?.ngOriginalError?u.ngOriginalError:u}(E);return P instanceof Hd.yz?function nf(u){return co(u.error)?u.error:typeof ErrorEvent<"u"&&u.error instanceof ErrorEvent&&u.error.message?u.error.message:"string"==typeof u.error?`Server returned code ${u.status} with body "${u.error}"`:u.message}(P):"string"==typeof P||co(P)?P:null}}return u.\u0275fac=function(E){return new(E||u)(Ec.KVO("errorHandlerOptions"))},u.\u0275prov=Ec.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),u})();function rf(u){return new lu(u)}},67707(wt,Ce,a){"use strict";a.d(Ce,{BY:()=>B,EU:()=>_,Se:()=>J});var I=a(35405),D=a(67718);function _(){return J(D.O),D.O}function J(S){const k=S.__SENTRY__=S.__SENTRY__||{};return k.version=k.version||I.M,k[I.M]=k[I.M]||{}}function B(S,k,R=D.O){const H=R.__SENTRY__=R.__SENTRY__||{},ae=H[I.M]=H[I.M]||{};return ae[S]||(ae[S]=k())}},94526(wt,Ce,a){"use strict";a.d(Ce,{U:()=>I});const I="production"},41252(wt,Ce,a){"use strict";a.d(Ce,{KU:()=>Je,o5:()=>Zt,m6:()=>pt,rm:()=>vt,vn:()=>st,v4:()=>Pe});var I=a(67707),D=a(62835);const B=tt=>tt instanceof Promise&&!tt[S],S=Symbol("chained PromiseLike");var H=a(42997);class ae{constructor(nt,$e){let Me,X;Me=nt||new D.H,X=$e||new D.H,this._stack=[{scope:Me}],this._isolationScope=X}withScope(nt){const $e=this._pushScope();let Me;try{Me=nt($e)}catch(X){throw this._popScope(),X}return(0,H.Qg)(Me)?((tt,nt,$e)=>{const Me=tt.then(X=>(nt(),X),X=>{throw $e(),X});return B(Me)&&B(tt)?Me:((tt,nt)=>{if(!nt)return tt;let $e=!1;for(const Me in tt){if(Me in nt)continue;$e=!0;const X=tt[Me];"function"==typeof X?Object.defineProperty(nt,Me,{value:(...De)=>X.apply(tt,De),enumerable:!0,configurable:!0,writable:!0}):nt[Me]=X}return $e&&Object.assign(nt,{[S]:!0}),nt})(tt,Me)})(Me,()=>this._popScope(),()=>this._popScope()):(this._popScope(),Me)}
1getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const nt=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:nt}),nt}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function V(){const tt=(0,I.EU)(),nt=(0,I.Se)(tt);return nt.stack=nt.stack||new ae(function _(){return(0,I.BY)("defaultCurrentScope",()=>new D.H)}(),function J(){return(0,I.BY)("defaultIsolationScope",()=>new D.H)}())}function G(tt){return V().withScope(tt)}function re(tt,nt){const $e=V();return $e.withScope(()=>($e.getStackTop().scope=tt,nt(tt)))}function $(tt){return V().withScope(()=>tt(V().getIsolationScope()))}function K(tt){const nt=(0,I.Se)(tt);return nt.acs?nt.acs:function we(){return{withIsolationScope:$,withScope:G,withSetScope:re,withSetIsolationScope:(tt,nt)=>$(nt),getCurrentScope:()=>V().getScope(),getIsolationScope:()=>V().getIsolationScope()}}()}var de=a(16220);function Zt(){return K((0,I.EU)()).getCurrentScope()}function vt(){return K((0,I.EU)()).getIsolationScope()}function pt(){return(0,I.BY)("globalScope",()=>new D.H)}function Pe(...tt){const $e=K((0,I.EU)());if(2===tt.length){const[Me,X]=tt;return Me?$e.withSetScope(Me,X):$e.withScope(X)}return $e.withScope(tt[0])}function Je(){return Zt().getClient()}function st(tt){const nt=void 0;const $e=tt.getPropagationContext(),{traceId:Me,parentSpanId:X,propagationSpanId:De}=$e,Re={trace_id:Me,span_id:De||(0,de.Z)()};return X&&(Re.parent_span_id=X),Re}},60897(wt,Ce,a){"use strict";a.d(Ce,{T:()=>I});const I=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__},29748(wt,Ce,a){"use strict";a.d(Ce,{Cp:()=>de,J0:()=>Re,J5:()=>dt,Q:()=>Pe,VN:()=>nt,o:()=>Ke,r:()=>Z});var G=a(10467),re=a(41252),$=a(60897),we=a(75099),me=a(36023),ve=a(36710),be=a(78421),K=a(67718);function de(ht,Dt){return(0,re.o5)().captureException(ht,(0,ve.li)(Dt))}function Z(ht,Dt){return(0,re.o5)().captureEvent(ht,Dt)}function Ke(ht,Dt){(0,re.rm)().setContext(ht,Dt)}function Pe(){return(0,re.rm)().lastEventId()}function nt(ht){return $e.apply(this,arguments)}function $e(){return($e=(0,G.A)(function*(ht){const Dt=(0,re.KU)();return Dt?Dt.close(ht):($.T&&me.Yz.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))})).apply(this,arguments)}function Re(ht){const Dt=(0,re.rm)(),{user:yt}=(0,be.Om)(Dt,(0,re.o5)()),{userAgent:Ut}=K.O.navigator||{},Ht=(0,we.fj)({user:yt,...Ut&&{userAgent:Ut},...ht}),Dn=Dt.getSession();return"ok"===Dn?.status&&(0,we.qO)(Dn,{status:"exited"}),Fe(),Dt.setSession(Ht),Ht}function Fe(){const ht=(0,re.rm)(),yt=(0,re.o5)().getSession()||ht.getSession();yt&&(0,we.Vu)(yt),Xe(),ht.setSession()}function Xe(){const ht=(0,re.rm)(),Dt=(0,re.KU)(),yt=ht.getSession();yt&&Dt&&Dt.captureSession(yt)}function dt(ht=!1){ht?Fe():Xe()}},62835(wt,Ce,a){"use strict";a.d(Ce,{H:()=>ve});var I=a(60897),D=a(75099),_=a(36023),J=a(42997),B=a(75297),S=a(12081),k=a(16220),R=a(84748),H=a(76870),ae=a(65060);const V="_sentrySpan";function G(be,K){K?(0,H.my)(be,V,(0,ae.Z)(K)):delete be[V]}function re(be){return(0,ae.q)(be[V])}var $=a(23460),we=a(67660);class ve{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,k.e)(),sampleRand:(0,R.hY)()}}clone(){const K=new ve;return K._breadcrumbs=[...this._breadcrumbs],K._tags={...this._tags},K._attributes={...this._attributes},K._extra={...this._extra},K._contexts={...this._contexts},this._contexts.flags&&(K._contexts.flags={values:[...this._contexts.flags.values]}),K._user=this._user,K._level=this._level,K._session=this._session,K._transactionName=this._transactionName,K._fingerprint=this._fingerprint,K._eventProcessors=[...this._eventProcessors],K._attachments=[...this._attachments],K._sdkProcessingMetadata={...this._sdkProcessingMetadata},K._propagationContext={...this._propagationContext},K._client=this._client,K._lastEventId=this._lastEventId,K._conversationId=this._conversationId,G(K,re(this)),K}setClient(K){this._client=K}setLastEventId(K){this._lastEventId=K}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(K){this._scopeListeners.push(K)}addEventProcessor(K){return this._eventProcessors.push(K),this}setUser(K){return this._user=K||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,D.qO)(this._session,{user:K}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(K){return this._conversationId=K||void 0,this._notifyScopeListeners(),this}setTags(K){return this._tags={...this._tags,...K},this._notifyScopeListeners(),this}setTag(K,de){return this.setTags({[K]:de})}setAttributes(K){return this._attributes={...this._attributes,...K},this._notifyScopeListeners(),this}setAttribute(K,de){return this.setAttributes({[K]:de})}removeAttribute(K){return K in this._attributes&&(delete this._attributes[K],this._notifyScopeListeners()),this}setExtras(K){return this._extra={...this._extra,...K},this._notifyScopeListeners(),this}setExtra(K,de){return this._extra={...this._extra,[K]:de},this._notifyScopeListeners(),this}setFingerprint(K){return this._fingerprint=K,this._notifyScopeListeners(),this}setLevel(K){return this._level=K,this._notifyScopeListeners(),this}setTransactionName(K){return this._transactionName=K,this._notifyScopeListeners(),this}setContext(K,de){return null===de?delete this._contexts[K]:this._contexts[K]=de,this._notifyScopeListeners(),this}setSession(K){return K?this._session=K:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(K){if(!K)return this;const de="function"==typeof K?K(this):K,fe=de instanceof ve?de.getScopeData():(0,J.Qd)(de)?K:void 0,{tags:Z,attributes:Ke,extra:ft,user:At,contexts:jt,level:Zt,fingerprint:vt=[],propagationContext:pt,conversationId:Pe}=fe||{};return this._tags={...this._tags,...Z},this._attributes={...this._attributes,...Ke},this._extra={...this._extra,...ft},this._contexts={...this._contexts,...jt},At&&Object.keys(At).length&&(this._user=At),Zt&&(this._level=Zt),vt.length&&(this._fingerprint=vt),pt&&(this._propagationContext=pt),Pe&&(this._conversationId=Pe),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,G(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,k.e)(),sampleRand:(0,R.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(K,de){const fe="number"==typeof de?de:100;if(fe<=0)return this;const Z={timestamp:(0,we.lu)(),...K,message:K.message?(0,$.xv)(K.message,2048):K.message};return this._breadcrumbs.push(Z),this._breadcrumbs.length>fe&&(this._breadcrumbs=this._breadcrumbs.slice(-fe),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(K){return this._attachments.push(K),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:re(this),conversationId:this._conversationId}}setSDKProcessingMetadata(K){return this._sdkProcessingMetadata=(0,B.h)(this._sdkProcessingMetadata,K,2),this}setPropagationContext(K){return this._propagationContext=K,this}getPropagationContext(){return this._propagationContext}
1captureException(K,de){const fe=de?.event_id||(0,S.eJ)();if(!this._client)return I.T&&_.Yz.warn("No client configured on scope - will not capture exception!"),fe;const Z=new Error("Sentry syntheticException");return this._client.captureException(K,{originalException:K,syntheticException:Z,...de,event_id:fe},this),fe}captureMessage(K,de,fe){const Z=fe?.event_id||(0,S.eJ)();if(!this._client)return I.T&&_.Yz.warn("No client configured on scope - will not capture message!"),Z;const Ke=fe?.syntheticException??new Error(K);return this._client.captureMessage(K,de,{originalException:K,syntheticException:Ke,...fe,event_id:Z},this),Z}captureEvent(K,de){const fe=K.event_id||de?.event_id||(0,S.eJ)();return this._client?(this._client.captureEvent(K,{...de,event_id:fe},this),fe):(I.T&&_.Yz.warn("No client configured on scope - will not capture event!"),fe)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(K=>{K(this)}),this._notifyingListeners=!1)}}},26326(wt,Ce,a){"use strict";a.d(Ce,{E1:()=>fe,Ef:()=>_,Fy:()=>pt,JD:()=>B,i_:()=>I,jG:()=>Z,sy:()=>D,uT:()=>J});const I="sentry.source",D="sentry.sample_rate",_="sentry.previous_trace_sample_rate",J="sentry.op",B="sentry.origin",fe="sentry.profile_id",Z="sentry.exclusive_time",pt="gen_ai.conversation.id"},75099(wt,Ce,a){"use strict";a.d(Ce,{Vu:()=>B,fj:()=>_,qO:()=>J});var I=a(12081),D=a(67660);function _(k){const R=(0,D.zf)(),H={sid:(0,I.eJ)(),init:!0,timestamp:R,started:R,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function S(k){return{sid:`${k.sid}`,init:k.init,started:new Date(1e3*k.started).toISOString(),timestamp:new Date(1e3*k.timestamp).toISOString(),status:k.status,errors:k.errors,did:"number"==typeof k.did||"string"==typeof k.did?`${k.did}`:void 0,duration:k.duration,abnormal_mechanism:k.abnormal_mechanism,attrs:{release:k.release,environment:k.environment,ip_address:k.ipAddress,user_agent:k.userAgent}}}(H)};return k&&J(H,k),H}function J(k,R={}){if(R.user&&(!k.ipAddress&&R.user.ip_address&&(k.ipAddress=R.user.ip_address),!k.did&&!R.did&&(k.did=R.user.id||R.user.email||R.user.username)),k.timestamp=R.timestamp||(0,D.zf)(),R.abnormal_mechanism&&(k.abnormal_mechanism=R.abnormal_mechanism),R.ignoreDuration&&(k.ignoreDuration=R.ignoreDuration),R.sid&&(k.sid=32===R.sid.length?R.sid:(0,I.eJ)()),void 0!==R.init&&(k.init=R.init),!k.did&&R.did&&(k.did=`${R.did}`),"number"==typeof R.started&&(k.started=R.started),k.ignoreDuration)k.duration=void 0;else if("number"==typeof R.duration)k.duration=R.duration;else{const H=k.timestamp-k.started;k.duration=H>=0?H:0}R.release&&(k.release=R.release),R.environment&&(k.environment=R.environment),!k.ipAddress&&R.ipAddress&&(k.ipAddress=R.ipAddress),!k.userAgent&&R.userAgent&&(k.userAgent=R.userAgent),"number"==typeof R.errors&&(k.errors=R.errors),R.status&&(k.status=R.status)}function B(k,R){let H={};R?H={status:R}:"ok"===k.status&&(H={status:"exited"}),J(k,H)}},92328(wt,Ce,a){"use strict";a.d(Ce,{ao:()=>At,k1:()=>jt});var I=a(94526),D=a(41252),_=a(26326),J=a(42997);function re(vt){return vt.split(",").map(pt=>{const Pe=pt.indexOf("=");return-1===Pe?[]:[pt.slice(0,Pe),pt.slice(Pe+1)].map(st=>{try{return decodeURIComponent(st.trim())}catch{return}})}).reduce((pt,[Pe,xe])=>(Pe&&xe&&(pt[Pe]=xe),pt),{})}var me=a(96440),be=a(80129),K=a(85023);function ft(vt,pt){const Pe=pt.getOptions(),{publicKey:xe}=pt.getDsn()||{},Je={environment:Pe.environment||I.U,release:Pe.release,public_key:xe,trace_id:vt,org_id:(0,me.ul)(pt)};return pt.emit("createDsc",Je),Je}function At(vt,pt){const Pe=pt.getPropagationContext();return Pe.dsc||ft(Pe.traceId,vt)}function jt(vt){const pt=(0,D.KU)();if(!pt)return{};const Pe=(0,be.zU)(vt),xe=(0,be.et)(Pe),Je=xe.data,st=Pe.spanContext().traceState,tt=st?.get("sentry.sample_rate")??Je[_.sy]??Je[_.Ef];function nt(Xe){return("number"==typeof tt||"string"==typeof tt)&&(Xe.sample_rate=`${tt}`),Xe}const $e=Pe._frozenDsc;if($e)return nt($e);const Me=st?.get("sentry.dsc"),X=Me&&function ae(vt){const pt=function G(vt){if(vt&&((0,J.Kg)(vt)||Array.isArray(vt)))return Array.isArray(vt)?vt.reduce((pt,Pe)=>{const xe=re(Pe);return Object.entries(xe).forEach(([Je,st])=>{pt[Je]=st}),pt},{}):re(vt)}(vt);if(!pt)return;const Pe=Object.entries(pt).reduce((xe,[Je,st])=>(Je.startsWith("sentry-")&&(xe[Je.slice(7)]=st),xe),{});return Object.keys(Pe).length>0?Pe:void 0}(Me);if(X)return nt(X);const De=ft(vt.spanContext().traceId,pt),Fe=xe.description;return"url"!==(Je[_.i_]??Je["sentry.span.source"])&&Fe&&(De.transaction=Fe),function ve(vt){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const pt=vt||(0,D.KU)()?.getOptions();return!(!pt||null==pt.tracesSampleRate&&!pt.tracesSampler)}()&&(De.sampled=String((0,be.pK)(Pe)),De.sample_rand=st?.get("sentry.sample_rand")??(0,K.L)(Pe).scope?.getPropagationContext().sampleRand.toString()),nt(De),pt.emit("createDsc",De,Pe),De}},85023(wt,Ce,a){"use strict";a.d(Ce,{L:()=>k}
1);var _=a(65060);function k(R){return{scope:R._sentryScope,isolationScope:(0,_.q)(R._sentryIsolationScope)}}},36023(wt,Ce,a){"use strict";a.d(Ce,{Ow:()=>J,Yz:()=>me,Z9:()=>S,pq:()=>k});var I=a(67707),D=a(60897),_=a(67718);const J=["debug","info","warn","error","log","assert","trace"],S={};function k(ve){if(!("console"in _.O))return ve();const be=_.O.console,K={},de=Object.keys(S);de.forEach(fe=>{const Z=S[fe];K[fe]=be[fe],be[fe]=Z});try{return ve()}finally{de.forEach(fe=>{be[fe]=K[fe]})}}function ae(){return we().enabled}function $(ve,...be){D.T&&ae()&&k(()=>{_.O.console[ve](`Sentry Logger [${ve}]:`,...be)})}function we(){return D.T?(0,I.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const me={enable:function R(){we().enabled=!0},disable:function H(){we().enabled=!1},isEnabled:ae,log:function V(...ve){$("log",...ve)},warn:function G(...ve){$("warn",...ve)},error:function re(...ve){$("error",...ve)}}},96440(wt,Ce,a){"use strict";a.d(Ce,{AD:()=>G,SB:()=>S,ul:()=>V});var I=a(60897),D=a(36023);const _=/^o(\d+)\./,J=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function S(re,$=!1){const{host:we,path:me,pass:ve,port:be,projectId:K,protocol:de,publicKey:fe}=re;return`${de}://${fe}${$&&ve?`:${ve}`:""}@${we}${be?`:${be}`:""}/${me&&`${me}/`}${K}`}function R(re){return{protocol:re.protocol,publicKey:re.publicKey||"",pass:re.pass||"",host:re.host,port:re.port||"",path:re.path||"",projectId:re.projectId}}function V(re){const $=re.getOptions(),{host:we}=re.getDsn()||{};let me;return $.orgId?me=String($.orgId):we&&(me=function ae(re){return re.match(_)?.[1]}(we)),me}function G(re){const $="string"==typeof re?function k(re){const $=J.exec(re);if(!$)return void(0,D.pq)(()=>{console.error(`Invalid Sentry Dsn: ${re}`)});const[we,me,ve="",be="",K="",de=""]=$.slice(1);let fe="",Z=de;const Ke=Z.split("/");if(Ke.length>1&&(fe=Ke.slice(0,-1).join("/"),Z=Ke.pop()),Z){const ft=Z.match(/^\d+/);ft&&(Z=ft[0])}return R({host:be,pass:ve,path:fe,projectId:Z,port:K,protocol:we,publicKey:me})}(re):R(re);if($&&function H(re){if(!I.T)return!0;const{port:$,projectId:we,protocol:me}=re;return!(["protocol","publicKey","host","projectId"].find(K=>!re[K]&&(D.Yz.error(`Invalid Sentry Dsn: ${K} missing`),!0))||(we.match(/^\d+$/)?function B(re){return"http"===re||"https"===re}(me)?$&&isNaN(parseInt($,10))&&(D.Yz.error(`Invalid Sentry Dsn: Invalid port ${$}`),1):(D.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${me}`),1):(D.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${we}`),1)))}($))return $}},42997(wt,Ce,a){"use strict";a.d(Ce,{BD:()=>B,Kg:()=>k,NF:()=>R,Qd:()=>ae,Qg:()=>$,T2:()=>J,W6:()=>S,bJ:()=>D,gd:()=>re,ks:()=>be,sO:()=>H,tH:()=>me,xH:()=>V});const I=Object.prototype.toString;function D(K){switch(I.call(K)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return me(K,Error)}}function _(K,de){return I.call(K)===`[object ${de}]`}function J(K){return _(K,"ErrorEvent")}function B(K){return _(K,"DOMError")}function S(K){return _(K,"DOMException")}function k(K){return _(K,"String")}function R(K){return"object"==typeof K&&null!==K&&"__sentry_template_string__"in K&&"__sentry_template_values__"in K}function H(K){return null===K||R(K)||"object"!=typeof K&&"function"!=typeof K}function ae(K){return _(K,"Object")}function V(K){return typeof Event<"u"&&me(K,Event)}function re(K){return _(K,"RegExp")}function $(K){return!(!K?.then||"function"!=typeof K.then)}function me(K,de){try{return K instanceof de}catch{return!1}}function be(K){return typeof Request<"u"&&me(K,Request)}},75297(wt,Ce,a){"use strict";function I(D,_,J=2){if(!_||"object"!=typeof _||J<=0)return _;if(D&&0===Object.keys(_).length)return D;const B={...D};for(const S in _)Object.prototype.hasOwnProperty.call(_,S)&&(B[S]=I(B[S],_[S],J-1));return B}a.d(Ce,{h:()=>I})},12081(wt,Ce,a){"use strict";a.d(Ce,{$X:()=>ae,GR:()=>ve,M6:()=>G,eJ:()=>R,gO:()=>V});var D=a(76870),_=a(84748),J=a(67718);let S;function R(K=function B(){const K=J.O;return K.crypto||K.msCrypto}()){try{if(K?.randomUUID)return(0,_.Qw)(()=>K.randomUUID()).replace(/-/g,"")}catch{}return S||(S="10000000100040008000100000000000"),S.replace(/[018]/g,de=>(de^(15&function k(){return 16*(0,_.hY)()}())>>de/4).toString(16))}function H(K){return K.exception?.values?.[0]}function ae(K){const{message:de,event_id:fe}=K;
1if(de)return de;const Z=H(K);return Z?Z.type&&Z.value?`${Z.type}: ${Z.value}`:Z.type||Z.value||fe||"<unknown>":fe||"<unknown>"}function V(K,de,fe){const Z=K.exception=K.exception||{},Ke=Z.values=Z.values||[],ft=Ke[0]=Ke[0]||{};ft.value||(ft.value=de||""),ft.type||(ft.type=fe||"Error")}function G(K,de){const fe=H(K);if(!fe)return;const Ke=fe.mechanism;if(fe.mechanism={type:"generic",handled:!0,...Ke,...de},de&&"data"in de){const ft={...Ke?.data,...de.data};fe.mechanism.data=ft}}function ve(K){if(function be(K){try{return K.__sentry_captured__}catch{}}(K))return!0;try{(0,D.my)(K,"__sentry_captured__",!0)}catch{}return!1}},82367(wt,Ce,a){"use strict";a.d(Ce,{S8:()=>G,cd:()=>re,Ip:()=>V,ng:()=>we});const D=Symbol.for("sentry.skipNormalization"),_=Symbol.for("sentry.overrideNormalizationDepth");var R=a(76870),H=a(82128);let ae;function V(fe){ae=fe}function G(fe,Z=100,Ke=1/0){try{return $("",fe,Z,Ke)}catch(ft){return{ERROR:`**non-serializable** (${ft})`}}}function re(fe,Z=3,Ke=102400){const ft=G(fe,Z);return function be(fe){return function ve(fe){return~-encodeURI(fe).split(/%..|./).length}(JSON.stringify(fe))}(ft)>Ke?re(fe,Z-1,Ke):ft}function $(fe,Z,Ke=1/0,ft=1/0,At=function de(){const fe=new WeakSet;return[function Z(ft){return!!fe.has(ft)||(fe.add(ft),!1)},function Ke(ft){fe.delete(ft)}]}()){const[jt,Zt]=At;if(null==Z||["boolean","string"].includes(typeof Z)||"number"==typeof Z&&Number.isFinite(Z))return Z;const vt=we(0,Z);if(!vt.startsWith("[object "))return vt;if(function S(fe){return!!fe[D]}(Z))return Z;const pt=function k(fe){const Z=fe[_];return"number"==typeof Z?Z:void 0}(Z),Pe=void 0!==pt?pt:Ke;if(0===Pe)return vt.replace("object ","");if(jt(Z))return"[Circular ~]";const xe=Z;if(xe&&"function"==typeof xe.toJSON)try{return $("",xe.toJSON(),Pe-1,ft,At)}catch{}const Je=Array.isArray(Z)?[]:{};let st=0;const tt=(0,R.W4)(Z);for(const nt in tt)if(Object.prototype.hasOwnProperty.call(tt,nt)){if(st>=ft){Je[nt]="[MaxProperties ~]";break}Je[nt]=$(nt,tt[nt],Pe-1,ft,At),st++}return Zt(Z),Je}function we(fe,Z){try{if(ae){const ft=ae(Z);if(ft)return ft}return typeof global<"u"&&Z===global?"[Global]":"number"!=typeof Z||Number.isFinite(Z)?"function"==typeof Z?`[Function: ${(0,H.qQ)(Z)}]`:"symbol"==typeof Z?`[${String(Z)}]`:"bigint"==typeof Z?`[BigInt: ${String(Z)}]`:`[object ${function me(fe){const Z=Object.getPrototypeOf(fe);return Z?.constructor?Z.constructor.name:"null prototype"}(Z)}]`:`[${Z}]`}catch(Ke){return`**non-serializable** (${Ke})`}}},76870(wt,Ce,a){"use strict";a.d(Ce,{GS:()=>B,HF:()=>G,W4:()=>ae,my:()=>S,pO:()=>k,sp:()=>H});var D=a(60897),_=a(36023),J=a(42997);function B(ve,be,K){if(!(be in ve))return;const de=ve[be];if("function"!=typeof de)return;const fe=K(de);"function"==typeof fe&&k(fe,de);try{ve[be]=fe}catch{D.T&&_.Yz.log(`Failed to replace method "${be}" in object`,ve)}}function S(ve,be,K){try{Object.defineProperty(ve,be,{value:K,writable:!0,configurable:!0})}catch{D.T&&_.Yz.log(`Failed to add non-enumerable property "${String(be)}" to object`,ve)}}function k(ve,be){try{ve.prototype=be.prototype=be.prototype||{},S(ve,"__sentry_original__",be)}catch{}}function H(ve){return ve.__sentry_original__}function ae(ve){if((0,J.bJ)(ve))return{message:ve.message,name:ve.name,stack:ve.stack,...V(ve)};if((0,J.xH)(ve)){const{type:be,target:K,currentTarget:de,detail:fe}=ve;return{type:be,target:K,currentTarget:de,...fe?{detail:fe}:{},...V(ve)}}return ve}function V(ve){return"object"==typeof ve&&null!==ve?Object.fromEntries(Object.entries(ve)):{}}function G(ve){const be=Object.keys(ae(ve));return be.sort(),be[0]?be.join(", "):"[object has no keys]"}},36710(wt,Ce,a){"use strict";a.d(Ce,{li:()=>pt,mG:()=>Z});var I=a(94526),D=a(60897),_=a(36023),J=a(42997),B=a(74741);function S(st,tt,nt,$e=0){try{const Me=k(tt,nt,st,$e);return(0,J.Qg)(Me)?Me:(0,B.XW)(Me)}catch(Me){return(0,B.xg)(Me)}}function k(st,tt,nt,$e){const Me=nt[$e];if(!st||!Me)return st;const X=Me({...st},tt);return D.T&&null===X&&_.Yz.log(`Event processor "${Me.id||"?"}" dropped event`),(0,J.Qg)(X)?X.then(De=>k(De,tt,nt,$e+1)):k(X,tt,nt,$e+1)}var R=a(62835),H=a(67718);let V,G,re,$;var ve=a(12081),be=a(82367),K=a(78421),de=a(23460),fe=a(67660);function Z(st,tt,nt,$e,Me,X){const{normalizeDepth:De=3,normalizeMaxBreadth:Re=1e3}
1=st,Fe={...tt,event_id:tt.event_id||nt.event_id||(0,ve.eJ)(),timestamp:tt.timestamp||(0,fe.lu)()},Xe=nt.integrations||st.integrations.map(fn=>fn.name);(function Ke(st,tt){const{environment:nt,release:$e,dist:Me,maxValueLength:X}=tt;st.environment=st.environment||nt||I.U,!st.release&&$e&&(st.release=$e),!st.dist&&Me&&(st.dist=Me);const De=st.request;De?.url&&X&&(De.url=(0,de.xv)(De.url,X)),X&&st.exception?.values?.forEach(Re=>{Re.value&&(Re.value=(0,de.xv)(Re.value,X))})})(Fe,st),function jt(st,tt){tt.length>0&&(st.sdk=st.sdk||{},st.sdk.integrations=[...st.sdk.integrations||[],...tt])}(Fe,Xe),Me&&Me.emit("applyFrameMetadata",tt),void 0===tt.type&&function ft(st,tt){const nt=function we(st){const tt=H.O._sentryDebugIds,nt=H.O._debugIds;if(!tt&&!nt)return{};const $e=tt?Object.keys(tt):[],Me=nt?Object.keys(nt):[];if($&&$e.length===G&&Me.length===re)return $;G=$e.length,re=Me.length,$={},V||(V={});const X=(De,Re)=>{for(const Fe of De){const Xe=Re[Fe],dt=V?.[Fe];if(dt&&$&&Xe)$[dt[0]]=Xe,V&&(V[Fe]=[dt[0],Xe]);else if(Xe){const ht=st(Fe);for(let Dt=ht.length-1;Dt>=0;Dt--){const Ut=ht[Dt]?.filename;if(Ut&&$&&V){$[Ut]=Xe,V[Fe]=[Ut,Xe];break}}}}};return tt&&X($e,tt),nt&&X(Me,nt),$}(tt);st.exception?.values?.forEach($e=>{$e.stacktrace?.frames?.forEach(Me=>{Me.filename&&(Me.debug_id=nt[Me.filename])})})}(Fe,st.stackParser);const dt=function vt(st,tt){if(!tt)return st;const nt=st?st.clone():new R.H;return nt.update(tt),nt}($e,nt.captureContext);nt.mechanism&&(0,ve.M6)(Fe,nt.mechanism);const ht=Me?Me.getEventProcessors():[],Dt=(0,K.Om)(X,dt),yt=[...nt.attachments||[],...Dt.attachments];yt.length&&(nt.attachments=yt),(0,K.e2)(Fe,Dt);const Ut=[...ht,...Dt.eventProcessors];return(nt.data&&!0===nt.data.__sentry__?(0,B.XW)(Fe):S(Ut,Fe,nt)).then(fn=>(fn&&function At(st){const tt={};if(st.exception?.values?.forEach($e=>{$e.stacktrace?.frames?.forEach(Me=>{Me.debug_id&&(Me.abs_path?tt[Me.abs_path]=Me.debug_id:Me.filename&&(tt[Me.filename]=Me.debug_id),delete Me.debug_id)})}),0===Object.keys(tt).length)return;st.debug_meta=st.debug_meta||{},st.debug_meta.images=st.debug_meta.images||[];const nt=st.debug_meta.images;Object.entries(tt).forEach(([$e,Me])=>{nt.push({type:"sourcemap",code_file:$e,debug_id:Me})})}(fn),"number"==typeof De&&De>0?function Zt(st,tt,nt){if(!st)return null;const $e={...st,...st.breadcrumbs&&{breadcrumbs:st.breadcrumbs.map(Me=>({...Me,...Me.data&&{data:(0,be.S8)(Me.data,tt,nt)}}))},...st.user&&{user:(0,be.S8)(st.user,tt,nt)},...st.contexts&&{contexts:(0,be.S8)(st.contexts,tt,nt)},...st.extra&&{extra:(0,be.S8)(st.extra,tt,nt)}};return st.contexts?.trace&&$e.contexts&&($e.contexts.trace=st.contexts.trace,st.contexts.trace.data&&($e.contexts.trace.data=(0,be.S8)(st.contexts.trace.data,tt,nt))),st.spans&&($e.spans=st.spans.map(Me=>({...Me,...Me.data&&{data:(0,be.S8)(Me.data,tt,nt)}}))),st.contexts?.flags&&$e.contexts&&($e.contexts.flags=(0,be.S8)(st.contexts.flags,3,nt)),$e}(fn,De,Re):fn))}function pt(st){if(st)return function Pe(st){return st instanceof R.H||"function"==typeof st}(st)||function Je(st){return Object.keys(st).some(tt=>xe.includes(tt))}(st)?{captureContext:st}:st}const xe=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},16220(wt,Ce,a){"use strict";a.d(Ce,{Z:()=>_,e:()=>D});var I=a(12081);function D(){return(0,I.eJ)()}function _(){return(0,I.eJ)().substring(16)}},84748(wt,Ce,a){"use strict";a.d(Ce,{Qw:()=>_,Wk:()=>B,hY:()=>J});var I=a(67718);let D;function _(S){if(void 0!==D)return D?D(S):S();const k=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),R=I.O;return k in R&&"function"==typeof R[k]?(D=R[k],D(S)):(D=null,S())}function J(){return _(()=>Math.random())}function B(){return _(()=>Date.now())}},78421(wt,Ce,a){"use strict";a.d(Ce,{Om:()=>R,e2:()=>B});var I=a(41252),D=a(92328),_=a(75297),J=a(80129);function B($,we){const{fingerprint:me,span:ve,breadcrumbs:be,sdkProcessingMetadata:K}=we;(function H($,we){const{extra:me,tags:ve,user:be,contexts:K,level:de,transactionName:fe}=we;Object.keys(me).length&&($.extra={...me,...$.extra}),Object.keys(ve).length&&($.tags={...ve,...$.tags}),Object.keys(be).length&&($.user={...be,...$.user}),Object.keys(K).length&&($.contexts={...K,...$.contexts}),de&&($.level=de),fe&&"transaction"!==$.type&&($.transaction=fe)})($,we),ve&&function G($,we){$.contexts={trace:(0,J.kX)(we),...$.contexts},$.sdkProcessingMetadata={dynamicSamplingContext:(0,D.k1)(we),...$.sdkProcessingMetadata};const me=(0,J.zU)(we),ve=(0,J.et)(me).description;ve&&!$.transaction&&"transaction"===$.type&&($.transaction=ve)}($,ve),function re($,we){$.fingerprint=$.fingerprint?Array.isArray($.fingerprint)?$.fingerprint:[$.fingerprint]:[],we&&($.fingerprint=$.fingerprint.concat(we)),$.fingerprint.length||delete $.fingerprint}($,me),function ae($,we){const me=[...$.breadcrumbs||[],...we];$.breadcrumbs=me.length?me:void 0}($,be),function V($,we){$.sdkProcessingMetadata={...$.sdkProcessingMetadata,...we}}
1($,K)}function S($,we){const{extra:me,tags:ve,attributes:be,user:K,contexts:de,level:fe,sdkProcessingMetadata:Z,breadcrumbs:Ke,fingerprint:ft,eventProcessors:At,attachments:jt,propagationContext:Zt,transactionName:vt,span:pt}=we;k($,"extra",me),k($,"tags",ve),k($,"attributes",be),k($,"user",K),k($,"contexts",de),$.sdkProcessingMetadata=(0,_.h)($.sdkProcessingMetadata,Z,2),fe&&($.level=fe),vt&&($.transactionName=vt),pt&&($.span=pt),Ke.length&&($.breadcrumbs=[...$.breadcrumbs,...Ke]),ft.length&&($.fingerprint=[...$.fingerprint,...ft]),At.length&&($.eventProcessors=[...$.eventProcessors,...At]),jt.length&&($.attachments=[...$.attachments,...jt]),$.propagationContext={...$.propagationContext,...Zt}}function k($,we,me){$[we]=(0,_.h)($[we],me,1)}function R($,we){const me=(0,I.m6)().getScopeData();return $&&S(me,$.getScopeData()),we&&S(me,we.getScopeData()),me}},80129(wt,Ce,a){"use strict";function _(Oe,Pt){const{value:nn,unit:gn}=function D(Oe){return"object"==typeof Oe&&null!=Oe&&!Array.isArray(Oe)&&Object.keys(Oe).includes("value")}(Oe)?Oe:{value:Oe,unit:void 0},vn=function k(Oe){if(Array.isArray(Oe))return{value:Oe,type:"array"};const Pt="string"==typeof Oe?"string":"boolean"==typeof Oe?"boolean":"number"!=typeof Oe||Number.isNaN(Oe)?null:Number.isInteger(Oe)?"integer":"double";return Pt?{value:Oe,type:Pt}:void 0}(nn),yn=gn&&"string"==typeof gn?{unit:gn}:{};if(vn)return{...vn,...yn};if(!Pt||"skip-undefined"===Pt&&void 0===nn)return;let Rn="";try{Rn=JSON.stringify(nn)??""}catch{}return{value:Rn,type:"string",...yn}}function J(Oe,Pt=!1){const nn={};for(const[gn,vn]of Object.entries(Oe??{})){const yn=_(vn,Pt);yn&&(nn[gn]=yn)}return nn}a.d(Ce,{zU:()=>A,xl:()=>Ge,pK:()=>yt,et:()=>Re,kX:()=>st,PL:()=>dt});var R=a(26326),$=a(85023),we=a(16220),me=a(67660),ve=a(36023);let xe=!1;function st(Oe){const{spanId:Pt,traceId:nn,isRemote:gn}=Oe.spanContext(),vn=gn?Pt:Re(Oe).parent_span_id,yn=(0,$.L)(Oe).scope;return{parent_span_id:vn,span_id:gn?yn?.getPropagationContext().propagationSpanId||(0,we.Z)():Pt,trace_id:nn}}function $e(Oe){if(Oe&&Oe.length>0)return Oe.map(({context:{spanId:Pt,traceId:nn,traceFlags:gn,...vn},attributes:yn})=>({span_id:Pt,trace_id:nn,sampled:1===gn,attributes:yn,...vn}))}function X(Oe){return"number"==typeof Oe?De(Oe):Array.isArray(Oe)?Oe[0]+Oe[1]/1e9:Oe instanceof Date?De(Oe.getTime()):(0,me.zf)()}function De(Oe){return Oe>9999999999?Oe/1e3:Oe}function Re(Oe){if(function Dt(Oe){return"function"==typeof Oe.getSpanJSON}(Oe))return Oe.getSpanJSON();const{spanId:Pt,traceId:nn}=Oe.spanContext();if(function ht(Oe){return!!(Oe.attributes&&Oe.startTime&&Oe.name&&Oe.endTime&&Oe.status)}(Oe)){const{attributes:gn,startTime:vn,name:yn,endTime:Rn,status:yr,links:Tr}=Oe;return{span_id:Pt,trace_id:nn,data:gn,description:yn,parent_span_id:Xe(Oe),start_timestamp:X(vn),timestamp:X(Rn)||void 0,status:Ut(yr),op:gn[R.uT],origin:gn[R.JD],links:$e(Tr)}}return{span_id:Pt,trace_id:nn,start_timestamp:0,data:{}}}function Xe(Oe){return"parentSpanId"in Oe?Oe.parentSpanId:"parentSpanContext"in Oe?Oe.parentSpanContext?.spanId:void 0}function dt(Oe){return{...Oe,attributes:J(Oe.attributes),links:Oe.links?.map(Pt=>({...Pt,attributes:J(Pt.attributes)}))}}function yt(Oe){const{traceFlags:Pt}=Oe.spanContext();return 1===Pt}function Ut(Oe){if(Oe&&0!==Oe.code)return 1===Oe.code?"ok":Oe.message||"internal_error"}const A=function w(Oe){return Oe._sentryRootSpan||Oe};function Ge(){xe||((0,ve.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),xe=!0)}},82128(wt,Ce,a){"use strict";a.d(Ce,{RV:()=>V,gd:()=>B,qQ:()=>ae,vk:()=>S,yF:()=>D});const D="?",_=/\(error: (.*)\)/,J=/captureMessage|captureException/;function B(...re){const $=re.sort((we,me)=>we[0]-me[0]).map(we=>we[1]);return(we,me=0,ve=0)=>{const be=[],K=we.split("\n");for(let de=me;de<K.length;de++){let fe=K[de];fe.length>1024&&(fe=fe.slice(0,1024));const Z=_.test(fe)?fe.replace(_,"$1"):fe;if(!Z.includes("Error: ")){for(const Ke of $){const ft=Ke(Z);if(ft){be.push(ft);break}}if(be.length>=50+ve)break}}return function k(re){if(!re.length)return[];const $=Array.from(re);return/sentryWrapped/.test(R($).function||"")&&$.pop(),$.reverse(),J.test(R($).function||"")&&($.pop(),J.test(R($).function||"")&&$.pop()),$.slice(0,50).map(we=>({...we,filename:we.filename||R($).filename,function:we.function||D}))}(be.slice(ve))}}function S(re){return Array.isArray(re)?B(...re):re}function R(re){return re[re.length-1]||{}}const H="<anonymous>";function ae(re){try{return re&&"function"==typeof re&&re.name||H}catch{return H}}function V(re){const $=re.exception;if($){const we=[];
1try{return $.values.forEach(me=>{me.stacktrace.frames&&we.push(...me.stacktrace.frames)}),we}catch{return}}}},23460(wt,Ce,a){"use strict";a.d(Ce,{Xr:()=>k,_c:()=>S,gt:()=>B,xv:()=>_});var I=a(42997),D=a(82367);function _(R,H=0){return"string"!=typeof R||0===H||R.length<=H?R:`${R.slice(0,H)}...`}function B(R,H){if(!Array.isArray(R))return"";const ae=[];for(let V=0;V<R.length;V++){const G=R[V];(0,I.sO)(G)?ae.push(String(G)):G instanceof Error?ae.push(G.message?`${G.name}: ${G.message}`:G.name):ae.push((0,D.ng)(void 0,G))}return ae.join(H)}function S(R,H,ae=!1){return!!(0,I.Kg)(R)&&((0,I.gd)(H)?H.test(R):(0,I.Kg)(H)?ae?R===H:R.includes(H):"function"==typeof H&&H(R))}function k(R,H=[],ae=!1){for(const V of H)if(S(R,V,ae))return!0;return!1}},74741(wt,Ce,a){"use strict";a.d(Ce,{XW:()=>B,xg:()=>S});var I=a(42997);function B(R){return new k(H=>{H(R)})}function S(R){return new k((H,ae)=>{ae(R)})}class k{constructor(H){this._state=0,this._handlers=[],this._runExecutor(H)}then(H,ae){return new k((V,G)=>{this._handlers.push([!1,re=>{if(H)try{V(H(re))}catch($){G($)}else V(re)},re=>{if(ae)try{V(ae(re))}catch($){G($)}else G(re)}]),this._executeHandlers()})}catch(H){return this.then(ae=>ae,H)}finally(H){return new k((ae,V)=>{let G,re;return this.then($=>{re=!1,G=$,H&&H()},$=>{re=!0,G=$,H&&H()}).then(()=>{re?V(G):ae(G)})})}_executeHandlers(){if(0===this._state)return;const H=this._handlers.slice();this._handlers=[],H.forEach(ae=>{ae[0]||(1===this._state&&ae[1](this._value),2===this._state&&ae[2](this._value),ae[0]=!0)})}_runExecutor(H){const ae=(re,$)=>{if(0===this._state){if((0,I.Qg)($))return void $.then(V,G);this._state=re,this._value=$,this._executeHandlers()}},V=re=>{ae(1,re)},G=re=>{ae(2,re)};try{H(V,G)}catch(re){G(re)}}}},67660(wt,Ce,a){"use strict";a.d(Ce,{lu:()=>k,zf:()=>ae});var J=a(84748),B=a(67718);function k(){return(0,J.Wk)()/1e3}let H;function ae(){return(H??(H=function R(){const{performance:$}=B.O;if(!$?.now||!$.timeOrigin)return k;const we=$.timeOrigin;return()=>(we+(0,J.Qw)(()=>$.now()))/1e3}()))()}},35405(wt,Ce,a){"use strict";a.d(Ce,{M:()=>I});const I="10.57.0"},65060(wt,Ce,a){"use strict";a.d(Ce,{Z:()=>D,q:()=>_});var I=a(67718);function D(J){try{const B=I.O.WeakRef;if("function"==typeof B)return new B(J)}catch{}return J}function _(J){if(J){if("object"==typeof J&&"deref"in J&&"function"==typeof J.deref)try{return J.deref()}catch{return}return J}}},67718(wt,Ce,a){"use strict";a.d(Ce,{O:()=>I});const I=globalThis},10467(wt,Ce,a){"use strict";function I(_,J,B,S,k,R,H){try{var ae=_[R](H),V=ae.value}catch(G){return void B(G)}ae.done?J(V):Promise.resolve(V).then(S,k)}function D(_){return function(){var J=this,B=arguments;return new Promise(function(S,k){var R=_.apply(J,B);function H(V){I(R,S,k,H,ae,"next",V)}function ae(V){I(R,S,k,H,ae,"throw",V)}H(void 0)})}}a.d(Ce,{A:()=>D})},31635(wt,Ce,a){"use strict";function G(X,De,Re,Fe){return new(Re||(Re=Promise))(function(dt,ht){function Dt(Ht){try{Ut(Fe.next(Ht))}catch(Dn){ht(Dn)}}function yt(Ht){try{Ut(Fe.throw(Ht))}catch(Dn){ht(Dn)}}function Ut(Ht){Ht.done?dt(Ht.value):function Xe(dt){return dt instanceof Re?dt:new Re(function(ht){ht(dt)})}(Ht.value).then(Dt,yt)}Ut((Fe=Fe.apply(X,De||[])).next())})}function fe(X){return this instanceof fe?(this.v=X,this):new fe(X)}function Z(X,De,Re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Xe,Fe=Re.apply(X,De||[]),dt=[];return Xe=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Dt("next"),Dt("throw"),Dt("return",function ht(o){return function(mt){return Promise.resolve(mt).then(o,Dn)}}),Xe[Symbol.asyncIterator]=function(){return this},Xe;function Dt(o,mt){Fe[o]&&(Xe[o]=function(ne){return new Promise(function(A,w){dt.push([o,ne,A,w])>1||yt(o,ne)})},mt&&(Xe[o]=mt(Xe[o])))}function yt(o,mt){try{!function Ut(o){o.value instanceof fe?Promise.resolve(o.value.v).then(Ht,Dn):fn(dt[0][2],o)}(Fe[o](mt))}catch(ne){fn(dt[0][3],ne)}}function Ht(o){yt("next",o)}function Dn(o){yt("throw",o)}function fn(o,mt){o(mt),dt.shift(),dt.length&&yt(dt[0][0],dt[0][1])}}function ft(X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Re,De=X[Symbol.asyncIterator];return De?De.call(X):(X=function me(X){var De="function"==typeof Symbol&&Symbol.iterator,Re=De&&X[De],Fe=0;if(Re)return Re.call(X);if(X&&"number"==typeof X.length)return{next:function(){return X&&Fe>=X.length&&(X=void 0),{value:X&&X[Fe++],done:!X}}};throw new TypeError(De?"Object is not iterable.":"Symbol.iterator is not defined.")}(X),Re={},Fe("next"),Fe("throw"),Fe("return"),Re[Symbol.asyncIterator]=function(){return this},Re);function Fe(dt){Re[dt]=X[dt]&&function(ht){return new Promise(function(Dt,yt){!function Xe(dt,ht,Dt,yt){Promise.resolve(yt).then(function(Ut){dt({value:Ut,done:Dt})},ht)}(Dt,yt,(ht=X[dt](ht)).done,ht.value)})}}}a.d(Ce,{AQ:()=>Z,N3:()=>fe,sH:()=>G,xN:()=>ft}),"function"==typeof SuppressedError&&SuppressedError}},wt=>{wt(wt.s=55614)}]);

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.