tton" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
    <title>${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.searchTip}}</title>
    <path d="M10.5 0C11.0052 0 11.4922 0.0651042 11.9609 0.195312C12.4297 0.325521 12.8672 0.510417 13.2734 0.75C13.6797 0.989583 14.0495 1.27865 14.3828 1.61719C14.7214 1.95052 15.0104 2.32031 15.25 2.72656C15.4896 3.13281 15.6745 3.57031 15.8047 4.03906C15.9349 4.50781 16 4.99479 16 5.5C16 6.00521 15.9349 6.49219 15.8047 6.96094C15.6745 7.42969 15.4896 7.86719 15.25 8.27344C15.0104 8.67969 14.7214 9.05208 14.3828 9.39062C14.0495 9.72396 13.6797 10.0104 13.2734 10.25C12.8672 10.4896 12.4297 10.6745 11.9609 10.8047C11.4922 10.9349 11.0052 11 10.5 11C9.84896 11 9.22396 10.8906 8.625 10.6719C8.03125 10.4531 7.48438 10.138 6.98438 9.72656L0.851562 15.8516C0.752604 15.9505 0.635417 16 0.5 16C0.364583 16 0.247396 15.9505 0.148438 15.8516C0.0494792 15.7526 0 15.6354 0 15.5C0 15.3646 0.0494792 15.2474 0.148438 15.1484L6.27344 9.01562C5.86198 8.51562 5.54688 7.96875 5.32812 7.375C5.10938 6.77604 5 6.15104 5 5.5C5 4.99479 5.0651 4.50781 5.19531 4.03906C5.32552 3.57031 5.51042 3.13281 5.75 2.72656C5.98958 2.32031 6.27604 1.95052 6.60938 1.61719C6.94792 1.27865 7.32031 0.989583 7.72656 0.75C8.13281 0.510417 8.57031 0.325521 9.03906 0.195312C9.50781 0.0651042 9.99479 0 10.5 0ZM10.5 10C11.1198 10 11.7031 9.88281 12.25 9.64844C12.7969 9.40885 13.2734 9.08594 13.6797 8.67969C14.0859 8.27344 14.4062 7.79688 14.6406 7.25C14.8802 6.70312 15 6.11979 15 5.5C15 4.88021 14.8802 4.29688 14.6406 3.75C14.4062 3.20312 14.0859 2.72656 13.6797 2.32031C13.2734 1.91406 12.7969 1.59375 12.25 1.35938C11.7031 1.11979 11.1198 1 10.5 1C9.88021 1 9.29688 1.11979 8.75 1.35938C8.20312 1.59375 7.72656 1.91406 7.32031 2.32031C6.91406 2.72656 6.59115 3.20312 6.35156 3.75C6.11719 4.29688 6 4.88021 6 5.5C6 6.11979 6.11719 6.70312 6.35156 7.25C6.59115 7.79688 6.91406 8.27344 7.32031 8.67969C7.72656 9.08594 8.20312 9.40885 8.75 9.64844C9.29688 9.88281 9.88021 10 10.5 10Z">
    </path>
</svg>
`,kr=yt.d`
<svg viewBox="0 0 16 16" width="12" height="12" xmlns="http://www.w3.org/2000/svg" fill="#3D5C9C" class="clear-button" @click="${t=>t.resetInput()}">
    <path d="M6.84961 6L12 11.1504L11.1504 12L6 6.84961L0.849609 12L0 11.1504L5.15039 6L0 0.849609L0.849609 0L6 5.15039L11.1504 0L12 0.849609L6.84961 6Z" stroke="#3D5C9C" stroke-width="1"></path>
</svg>
`,Tr=yt.d`
<li
    class="setting-suggest-text ${(t,e)=>e.parent.isDarkMode?"dark":"light"}-setting-suggest-text"
    role="option"
    title="${t=>`${t.displayName}`}"
    aria-label="${t=>`${t.displayName}`}"
    @click="${(t,e)=>e.parent.selectSuggestLocation(t,e.event)}"
>
    ${t=>`${t.displayName}`}
</li>
`,Lr=yt.d`
<div
id="weather_location_search_list"
aria-expanded="${t=>0!=t.showSuggests}"
aria-label="${t=>t.locationSearchPlaceholder}"
aria-live="polite"
>
<ul
    class="setting-suggest-list ${t=>t.isDarkMode?"dark":"light"}-setting-suggest-list"
    tabindex="-1"
    aria-labelledby="weather_location_ul"
    data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.autoSuggestResultTelemetryTags}}"
>
    ${(0,lr.g)((t=>t.suggestedLocations&&t.suggestedLocations.length),yt.d`${(0,dr.rx)((t=>t.suggestedLocations),Tr,{positioning:!0})}`)}
    ${(0,lr.g)((t=>t.suggestedLocations&&!t.suggestedLocations.length),yt.d`<li
            role="option"
            aria-label="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.noResultTip.replace("{0}",t.userInput)}}"
            title="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.noResultTip.replace("{0}",t.userInput)}}"
            class="setting-suggest-text"
            data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.autoSuggestTelemetryTags}}"
        >
            ${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.noResultTip.replace("{0}",t.userInput)}}
        </li>`)}
</ul>
</div>
`,xr=yt.d`
<div class="setting-auto-suggest ${t=>t.isDarkMode?"dark":"light"}-setting-auto-suggest">
        ${(0,lr.g)((t=>t.locationMode!==te.EM.SpecifyLoc),yt.d`
            <div class="setting-location-textaction ${t=>t.isDarkMode?"dark":"light"}-setting-location-textaction auto-suggest-form-input text-action-disabled">
                <input
                    class="setting-location-input text-field ${t=>t.isDarkMode?"dark":"light"}-text-field"
                    part="setting-location-input"
                    type="search"
                    disabled
                    aria-label="${t=>t.locationSearchPlaceholder}"
                    placeholder="${t=>t.locationSearchPlaceholder}"
                    @input="${(t,e)=>t.handleInputForSuggest(e.event)}"
                    ${(0,hr.i)("inputLocationControl")}
                />
                ${Zr}
            </div>
        `)}
        ${(0,lr.g)((t=>t.locationMode===te.EM.SpecifyLoc),yt.d`
            <div class="setting-location-textaction auto-suggest-form-input">
                <input
                    class="setting-location-input text-field ${t=>t.isDarkMode?"dark":"light"}-text-field"
                    part="setting-location-input"
                    @input="${(t,e)=>t.handleInputForSuggest(e.event)}"
                    @click="${(t,e)=>t.handleInputForSuggest(e.event)}"
                    @blur="${t=>t.blurInput()}"
                    placeholder="${t=>t.locationSearchPlaceholder}"
                    aria-label="${t=>t.locationSearchPlaceholder}"
                    type="text"
                    ${(0,hr.i)("inputLocationControl")}
                    data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.searchLocationTelemetryTags}}"
                />
                ${(0,lr.g)((t=>t.userInput||t.inputFocused),kr)}
                ${Zr}
            </div>
        `)}
        ${(0,lr.g)((t=>t.showSuggests&&t.suggestedLocations&&t.userInput),Lr)}
</div>
`,Mr=yt.d`
    <fluent-dialog
        modal
        id="welcome-greeting-dialog"
        @dismiss=${(t,e)=>t.closeWelcomeGreetingDialog(e.event)}
        class="dialog ${t=>t.isDarkMode?"dark":"light"}-fluent-dialog"
        part="dialog"
        :trapFocus=${t=>t.trapFocus}
    >
        <div class="main-container ${t=>t.isDarkMode?"dark":"light"}-main-container" data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.weatherSettingTelemetryTags}}">
            <fluent-button
                appearance="stealth"
                class="close-button close-button-align"
                title="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.closeTip}}"
                aria-label="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.closeTip}}"
                role="button"
                @click=${(t,e)=>t.closeWelcomeGreetingDialog&&t.closeWelcomeGreetingDialog(e.event)}
                @keypress=${(t,e)=>t.closeWelcomeGreetingDialog&&t.closeWelcomeGreetingDialog(e.event)}
                data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.editCancelTelemetryTags}}"
            >
                <svg width="14" height="14" viewBox="0 0 12 12" fill="#a0a0a0" xmlns="http://www.w3.org/2000/svg"><path d="M6.84961 6L12 11.1504L11.1504 12L6 6.84961L0.849609 12L0 11.1504L5.15039 6L0 0.849609L0.849609 0L6 5.15039L11.1504 0L12 0.849609L6.84961 6Z" stroke="#a0a0a0" stroke-width="0.5"></path></svg>
            </fluent-button>
            <div>
                <p class="location-setting-label">${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.heading}}</p>
                <div class="setting-location">
                    <fluent-radio-group
                        value="${t=>t.locationMode}"
                        @change="${(t,e)=>t.chooseLocationMode(e.event)}"
                        orientation="vertical"
                    >
                        <fluent-radio
                            class="${t=>t.isDarkMode?"dark":"light"}-fluent-radio ${t=>t.isDarkMode?"dark":"light"}-${t=>t.locationMode===te.EM.AutoDetectLoc?"checked":""}"
                            value="${te.EM.AutoDetectLoc}"
                            aria-label="${te.EM.AutoDetectLoc}"
                            data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.detectLocationTelemetryTags}}"
                        >
                            <slot name="label" part="label">${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.locationDetect}}</slot>
                        </fluent-radio>
                        <fluent-radio
                            class="${t=>t.isDarkMode?"dark":"light"}-fluent-radio ${t=>t.isDarkMode?"dark":"light"}-${t=>t.locationMode===te.EM.SpecifyLoc?"checked":""}"
                            value="${te.EM.SpecifyLoc}"
                            aria-label="${te.EM.SpecifyLoc}"
                            data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.specifyLocationTelemetryTags}}"
                        >
                            <slot name="label" part="label">${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.locationSpecify}}</slot>
                        </fluent-radio>
                    </fluent-radio-group>
                </div>
            </div>
            ${xr}
            <div class="setting-unit">
                <p id="unitsgroup" class="setting-unit-title">${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.unitSelection}}</p>
                <fluent-radio-group
                    value="${t=>t.unit}"
                    @change="${(t,e)=>t.chooseWeatherUnit(e.event)}"
                    aria-labelledby="unitsgroup"
                    name="set-unit"
                    data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.degreeTypeTelemetryTags}}"
                >
                    <fluent-radio
                        class="${t=>t.isDarkMode?"dark":"light"}-fluent-radio ${t=>t.isDarkMode?"dark":"light"}-${t=>t.locationMode===te.ao.Fahrenheit?"checked":""}"
                        value="${te.ao.Fahrenheit}"
                        aria-label="${te.ao.Fahrenheit}"
                        data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.fahrenheitTelemetryTags}}"
                    >
                        <slot name="label" part="label">${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.unitsFahrenheit}}</slot>
                    </fluent-radio>
                    <fluent-radio
                        class="${t=>t.isDarkMode?"dark":"light"}-fluent-radio ${t=>t.isDarkMode?"dark":"light"}-${t=>t.locationMode===te.ao.Celsius?"checked":""}"
                        value="${te.ao.Celsius}"
                        aria-label="${te.ao.Celsius}"
                        data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.celsiusTelemetryTags}}"
                    >
                        <slot name="label" part="label">${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.unitsCelsius}}</slot>
                    </fluent-radio>
                </fluent-radio-group>
            </div>
            <fluent-button
                class="weather-save ${t=>t.isDarkMode?"dark":"light"}-weather-save button"
                title="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.settings.doneTip}}"
                @click="${(t,e)=>t.saveWeatherSettings(e.event)}"
                ?disabled=${t=>t.disableSaveButton}
                data-t="${t=>{var e;return null===(e=t.telemetryContext)||void 0===e?void 0:e.editSaveTelemetryTags}}"
            >
                ${t=>{var e,n;return"Done"===(null===(e=t.strings)||void 0===e?void 0:e.settings.doneTip)?"DONE":null===(n=t.strings)||void 0===n?void 0:n.settings.doneTip}}
            </fluent-button>
        </div>
    </fluent-dialog>
`,Ir=yt.d`
<div class="weather-alert" :innerHTML=${t=>t.alertGly}>
</div>
`,Dr=yt.d`
<div
    id="${x}"
    class="location-left ${t=>t.config.enableHorizontalNav?"horizontalNav":""} ${t=>t.isLightGreeting?"light":"dark"}-font-color"
    title="${t=>t.locationTooltip?t.locationSearchPlaceholder:""}">
        ${t=>t.shortLocation}
</div>
${(0,lr.g)((t=>t.alertGly&&(!t.currentWeatherRoot||!t.currentWeatherRoot.icon)),Ir)}
${(0,lr.g)((t=>!t.currentWeatherRoot||null!==t.currentWeatherRoot.icon),yt.d`
    <div
        class="${t=>t.weatherGlyphClass} ${t=>t.isLightGreeting?"text-wrapper-image-displayed":"text-wrapper-image-hidden"}"
    >
        ${(0,lr.g)((t=>t.currentWeatherRoot&&t.currentWeatherRoot.icon),yt.d`
            <span class="${t=>t.isLightGreeting?"light":"dark"}-greeting-rotate-icon">${t=>{var e;return null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.icon}}</span>
        `)}
        ${(0,lr.g)((t=>t.weatherData&&t.weatherData.pvdrIcon&&(!t.currentWeatherRoot||!t.currentWeatherRoot.icon)),yt.d`
            <img src="${t=>{var e;return nn.x.getWeatherGlyph(null===(e=t.weatherData)||void 0===e?void 0:e.pvdrIcon,t.config.skycodeIconPath||Ct)}}" class="icon-svg" alt="${t=>{var e,n;return null===(n=null===(e=t.weatherData)||void 0===e?void 0:e.skycode)||void 0===n?void 0:n.children}}" @load=${t=>t.callRenderMarker()}>
        `)}
    </div>
`)}
${(0,lr.g)((t=>t.currentWeatherRoot&&t.currentWeatherRoot.text),yt.d`
    <div title="${t=>{var e;return(null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.text)?t.currentWeatherRoot.text:""}}" class="${t=>t.weatherTextClass} ${t=>t.isLightGreeting?"light":"dark"}-font-color weather-greeting-text"
    style="max-width: ${t=>t.weatherMaxWidth}px;">
        ${t=>{var e;return null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.text}}
    </div>
`)}
${(0,lr.g)((t=>!t.currentWeatherRoot||!t.currentWeatherRoot.text),yt.d`
    <div class="weather-temperature" >
        <span class="${t=>t.weatherTextClass} ${t=>t.isLightGreeting?"light":"dark"}-font-color">
            &lrm;${t=>{var e;return null===(e=t.weatherData)||void 0===e?void 0:e.currentTemperature}}&lrm;
        </span>
        <div class="${t=>t.weatherUnitContainerClass} ${t=>t.config.enableHorizontalNav?"horizontalNav":""} ${t=>t.isLightGreeting?"light":"dark"}-font-color"><span>&lrm;${t=>{var e;return null===(e=t.weatherData)||void 0===e?void 0:e.degreeSetting}}&lrm;</span></div>
    </div>
`)}
`,_r=yt.d`
${(0,lr.g)((t=>t.alertGly&&(!t.currentWeatherRoot||!t.currentWeatherRoot.icon)),Ir)}
${(0,lr.g)((t=>!t.currentWeatherRoot||null!==t.currentWeatherRoot.icon),yt.d`
    <div
        class="weather-glyph ${t=>t.isLightGreeting?"text-wrapper-image-displayed":"text-wrapper-image-hidden"}"
    >
            ${(0,lr.g)((t=>t.currentWeatherRoot&&t.currentWeatherRoot.icon),yt.d`
                <span class="${t=>t.isLightGreeting?"light":"dark"}-greeting-rotate-icon">${t=>{var e;return null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.icon}}</span>
            `)}
            ${(0,lr.g)((t=>!t.currentWeatherRoot||!t.currentWeatherRoot.icon),yt.d`
                <img src="${t=>{var e;return nn.x.getWeatherGlyph(null===(e=t.weatherData)||void 0===e?void 0:e.pvdrIcon,t.config.skycodeIconPath||Ct)}}" class="icon-svg" alt="${t=>{var e,n;return null===(n=null===(e=t.weatherData)||void 0===e?void 0:e.skycode)||void 0===n?void 0:n.children}}" @load=${t=>t.callRenderMarker()}>
            `)}
    </div>
`)}
${(0,lr.g)((t=>t.currentWeatherRoot&&t.currentWeatherRoot.text),yt.d`
    <div title="${t=>{var e;return(null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.text)?t.currentWeatherRoot.text:""}}"  class="${t=>t.weatherTextClass} ${t=>t.isLightGreeting?"light":"dark"}-font-color weather-greeting-text"
    style="max-width: ${t=>t.weatherMaxWidth}px;">
        ${t=>{var e;return null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.text}}
    </div>
`)}
${(0,lr.g)((t=>!t.currentWeatherRoot||!t.currentWeatherRoot.text),yt.d`
    <div class="weather-temperature">
        <span class="${t=>t.weatherTextClass} ${t=>t.isLightGreeting?"light":"dark"}-font-color">
            &lrm;${t=>{var e;return null===(e=t.weatherData)||void 0===e?void 0:e.currentTemperature}}&lrm;
        </span>
        <div class="${t=>t.weatherUnitContainerClass} ${t=>t.isLightGreeting?"light":"dark"}-font-color"><span>&lrm;${t=>{var e;return null===(e=t.weatherData)||void 0===e?void 0:e.degreeSetting}}&lrm;</span></div>
    </div>
`)}
`,Ar=yt.d`
    <fluent-card style="height: 304px; width: 300px;">
        <fluent-design-system-provider style="padding: 0; width: 100%; height: 100%; --control-corner-radius: 4;"
        neutral-base-color="${t=>t.cardBackgroundColor}">
            <msft-weather-card
                id="WeatherGreetingCard"
                background="light"
                target="_blank"
                layout="full"
                wcev2="${!0}"
                cardType="greeting"
                :weatherData="${t=>t.weatherHoverData||{}}"
                :clickableLabelTiles="${t=>t.clickableLabelTiles}"
                :clickableLabelUnit="${t=>t.clickableLabelUnit}"
                :currentContentIdx="${t=>{var e;return null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.contentIdx}}"
                :currentContentType="${t=>{var e;return null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.contentType}}"
                :primaryCarousel="${t=>t.primaryCarousel}"
                :showMiniMap="${t=>t.showMiniMap&&t.weatherHoverData&&t.weatherHoverData.minimap}"
                :headerTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.headerAnchor)||void 0===n?void 0:n.getMetadataTag()}}"
                :forecastDayTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.dailyForecast)||void 0===n?void 0:n.getMetadataTag()}}"
                :forecastDayTelemetryTags="${t=>{var e;return null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.dailyForecasts}}"
                :seeForecastTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.seeForecastAnchor)||void 0===n?void 0:n.getMetadataTag()}}"
                :minimapTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.minimapTelemetry)||void 0===n?void 0:n.getMetadataTag()}}"
                :minimapTelemetryLayerTags=${t=>t.minimapTelemetryLayerTags}
                :nowcastTelemetryTags="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.nowcastChart)||void 0===n?void 0:n.getMetadataTag()}}"
                :trendTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.hourlyTrend)||void 0===n?void 0:n.getMetadataTag()}}"
                :greetingPreviousFlipperTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.greetingRotatePre)||void 0===n?void 0:n.getMetadataTag()}}"
                :greetingNextFlipperTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.greetingRotateNext)||void 0===n?void 0:n.getMetadataTag()}}"
                :minimapLabelTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.miniMapLabel)||void 0===n?void 0:n.getMetadataTag()}}"
                @mapLabelClick=${(t,e)=>t.onMapLabelClick(e.event)}
                @mouseover="${(t,e)=>t.controlHiddenEdit(!0,e.event)}"
                @mouseleave="${(t,e)=>t.controlHiddenEdit(!1,e.event)}"
                openMapLabel="${t=>t.strings.miniMapSeeMore}"
                :enableEPlant="${!1}"
                :locationTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.locationAnchor)||void 0===n?void 0:n.getMetadataTag()}}"
                :weaConditionTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.currentAnchor)||void 0===n?void 0:n.getMetadataTag()}}"
                :weatherAqiTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.airQuality)||void 0===n?void 0:n.getMetadataTag()}}"
                :forecastDayTelemetryTags="${t=>{var e;return null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.dailyForecasts}}"
                :forecastHourTelemetryTags="${t=>{var e;return null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.hourlyForecasts}}"
                :summaryTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.summaryAnchor)||void 0===n?void 0:n.getMetadataTag()}}"
                :blankAreaTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverCardContext)||void 0===e?void 0:e.blankArea)||void 0===n?void 0:n.getMetadataTag()}}"
                data-clarity-mask=${null}
                @weatherFocusout="${(t,e)=>t.onWeatherFocusout(null==e?void 0:e.event)}"
            >
            <fluent-button
                slot="weather-pen-btn"
                appearance="neutral"
                @click=${(t,e)=>t.openHoverSetting(e.event)}
                title="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.editSettingTip}}"
                aria-label="${t=>{var e;return null===(e=t.strings)||void 0===e?void 0:e.editSettingTip}}"
                role="button"
            >
                ${_n()}
            </fluent-button>
            </msft-weather-card>
        </fluent-design-system-provider>
    </fluent-card>
`,Or=yt.d`
<fluent-card style="height: 304px; width: 300px; contain: layout; content-visibility: visible;" >
    <fluent-design-system-provider
        fill-color=${t=>t.isDarkMode?cr.Yw:cr.P5}
        style="border-radius: 4px; height: 100%;"
    >
        <msft-weather-setting-card
        layout="full"
        locationModeV2="true"
        editHeader="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.settings)||void 0===n?void 0:n.heading}}"
        cardType="greeting"
        detectLocationActionLabel="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.detectLocationActionLabel}}"
        specifyLocationActionButton="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.specifyLocationActionButton}}"
        detectLocationLabel="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.detectLocationLabel}}"
        specifyLocationLabel="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.specifyLocationLabel}}"
        searchPlaceholder="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.searchPlaceholder}}"
        searchNoResult="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.searchNoResult}}"
        unitsTitle="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.unitsTitle}}"
        fahrenheitLabel="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.fahrenheitLabel}}"
        celsiusLabel="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.celsiusLabel}}"
        saveButtonCont="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.saveButtonCont}}"
        cancelButtonCont="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.cancelButtonCont}}"
        searchClearButtonLabel="${t=>{var e,n;return null===(n=null===(e=t.strings)||void 0===e?void 0:e.hoverSetting)||void 0===n?void 0:n.searchClearButtonLabel}}"
        :settingData="${t=>t.weatherHoverSetting}"
        :fahrenheitTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.fahrenheitRadio)||void 0===n?void 0:n.getMetadataTag()}}"
        :celsiusTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.celsiusRadio)||void 0===n?void 0:n.getMetadataTag()}}"
        :inputTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.locationSearchInput)||void 0===n?void 0:n.getMetadataTag()}}"
        :suggestTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.locationSuggest)||void 0===n?void 0:n.getMetadataTag()}}"
        :saveTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.saveButton)||void 0===n?void 0:n.getMetadataTag()}}"
        :cancelTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.cancelButton)||void 0===n?void 0:n.getMetadataTag()}}"
        :detectLocationTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.detectLocationButton)||void 0===n?void 0:n.getMetadataTag()}}"
        :alwaysDetectSwitchTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.alwaysDetectSwitch)||void 0===n?void 0:n.getMetadataTag()}}"
        :searchClearTelemetryTag="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.searchClear)||void 0===n?void 0:n.getMetadataTag()}}"
        @mouseover="${(t,e)=>t.controlHiddenEdit(!0,e.event)}"
        @mouseleave="${(t,e)=>t.controlHiddenEdit(!1,e.event)}"
        @suggest=${(t,e)=>t.hoverTriggerLocationSuggest(e.event.detail)}
        @select=${(t,e)=>t.hoverSelectWeatherLocation(e.event.detail)}
        @setUnitMode=${(t,e)=>t.hoverSelectWeatherUnit(e.event.detail)}
        @setLocationMode=${(t,e)=>t.selectLocationMode(e.event.detail)}
        @detectLocation=${(t,e)=>t.hoverSetDetectedLocation()}
        @save=${(t,e)=>t.hoverCardSettingSave()}
        @cancel=${(t,e)=>t.hoverCardSettingCancel()}
        @weatherFocusout="${(t,e)=>t.onWeatherFocusout(null==e?void 0:e.event)}"
        data-t="${t=>{var e,n;return null===(n=null===(e=t.telemetryHoverSettingContext)||void 0===e?void 0:e.weatherSettingCard)||void 0===n?void 0:n.getMetadataTag()}}"
        >
        </msft-weather-setting-card>
    </fluent-design-system-provider>
</fluent-card>
`,$r=yt.d`
    <div class="hvc-wrap">
        <div
            class=${t=>t.moveGreetingContainer}
            id= "i_hovercard"
            part="welcomeGreetingHoverCard"
        >
            <div class = ${t=>0==t.weatherHovercardMode?"visible-hovercard-info":"hidden-hovercard-info"}>
                ${Ar}
            </div>
            ${(0,lr.g)((t=>1==t.weatherHovercardMode),yt.d`
                <div class="visible-hovercard-setting"}>
                    ${Or}
                </div>
            `)}
        </div>
    </div>
`,Fr=yt.d`
    <div class="greeting-root ${t=>t.config.enableHorizontalNav?"horizontalNav":""}" data-t="${t=>{var e,n;return null===(n=null===(e=t.telemetryContext)||void 0===e?void 0:e.weatherTelemetryObject)||void 0===n?void 0:n.getMetadataTag()}}" ${(0,hr.i)("weatherGreetingViewRef")}>
        <a
            id="${L}"
            href="${t=>{var e;return t.config.staticWeatherLinkUrl?t.config.staticWeatherLinkUrl:t.weatherRootLink||(null===(e=t.weatherData)||void 0===e?void 0:e.deepLink)}}"
            class="weather-container text-wrapper-image-displayed"
            rel="noopener"
            target="_blank"
            aria-label="${t=>t.isHoverCardEnabled?"":t.weatherInfoHint}"
            aria-expanded="${t=>t.isHoverCardEnabled&&t.showHiddenEditContainer}"
            title="${t=>t.isHoverCardEnabled?"":t.weatherInfoHint}"
            @focus="${(t,e)=>t.onWeatherFocus(e.event)}"
            @mouseover="${(t,e)=>t.controlHiddenEdit(!0,e.event)}"
            @mouseleave="${(t,e)=>t.controlHiddenEdit(!1,e.event)}"
            data-t="${t=>{var e,n,r,i;return(null===(e=t.currentWeatherRoot)||void 0===e?void 0:e.contentType)&&t.greetingContentTypeTelemetry?t.greetingContentTypeTelemetry[null===(n=t.currentWeatherRoot)||void 0===n?void 0:n.contentType]:null===(i=null===(r=t.telemetryContext)||void 0===r?void 0:r.weatherLinkTelemetryObject)||void 0===i?void 0:i.getMetadataTag()}}"
            >
            ${(0,lr.g)((t=>!t.showLocationLeft||t.hideLocation),_r)}
            ${(0,lr.g)((t=>t.showLocationLeft&&!t.hideLocation),Dr)}
        </a>
        ${(0,lr.g)((t=>t.isHoverCardEnabled&&t.showHiddenEditContainer&&!t.coachMarkOnScreen),$r)}
        <div class="text-wrapper-image-displayed ${t=>t.config.isNameInGreeting?"":"no-greeting-name"}">
            <span class="welcome-text ${t=>t.config.enableHorizontalNav?"horizontalNav":""} ${t=>t.isLightGreeting?"light":"dark"}-font-color" id="${T}">${t=>t.welcomeText}</span>
        </div>
        ${(0,lr.g)((t=>!t.isHoverCardEnabled&&t.shouldWeatherSettingsOpen),Mr)}
    </div>
`,Rr=yt.d`
    <div class="movi ${t=>t.getNotificationClass()}">
        ${(0,lr.g)((t=>t.currentStockToShow.changePcntNumber>0),yt.d`
            <svg width="24" height="16" viewBox="0 0 16 11" xmlns="http://www.w3.org/2000/svg" slot="start">
                <path class="${t=>t.getQuoteChangeClass()}" d="M15.9431 0.462912C15.9068 0.375106 15.853 0.2928 15.7819 0.221263L15.7803 0.21967L15.7787 0.218082C15.6431 0.0832921 15.4563 0 15.25 0H9.75C9.33579 0 9 0.335786 9 0.75C9 1.16421 9.33579 1.5 9.75 1.5H13.4393L8.5 6.43934L6.53033 4.46967C6.23744 4.17678 5.76256 4.17678 5.46967 4.46967L0.21967 9.71967C-0.0732233 10.0126 -0.0732233 10.4874 0.21967 10.7803C0.512563 11.0732 0.987437 11.0732 1.28033 10.7803L6 6.06066L7.96967 8.03033C8.26256 8.32322 8.73744 8.32322 9.03033 8.03033L14.5 2.56066V6.25C14.5 6.66421 14.8358 7 15.25 7C15.6642 7 16 6.66421 16 6.25V0.75C16 0.648308 15.9798 0.551342 15.9431 0.462912Z"/>
            </svg>
        `)}
        ${(0,lr.g)((t=>t.currentStockToShow.changePcntNumber<0),yt.d`
            <svg width="24" height="16" viewBox="0 0 16 11" xmlns="http://www.w3.org/2000/svg" slot="start">
                <path class="${t=>t.getQuoteChangeClass()}" d="M15.9431 10.5371C15.9068 10.6249 15.853 10.7072 15.7819 10.7787L15.7803 10.7803L15.7787 10.7819C15.6431 10.9167 15.4563 11 15.25 11H9.75C9.33579 11 9 10.6642 9 10.25C9 9.83579 9.33579 9.5 9.75 9.5H13.4393L8.5 4.56066L6.53033 6.53033C6.23744 6.82322 5.76256 6.82322 5.46967 6.53033L0.21967 1.28033C-0.0732233 0.987437 -0.0732233 0.512563 0.21967 0.21967C0.512563 -0.0732231 0.987437 -0.0732231 1.28033 0.21967L6 4.93934L7.96967 2.96967C8.26256 2.67678 8.73744 2.67678 9.03033 2.96967L14.5 8.43934V4.75C14.5 4.33579 14.8358 4 15.25 4C15.6642 4 16 4.33579 16 4.75V10.25C16 10.3517 15.9798 10.4487 15.9431 10.5371Z"/>
            </svg>
        `)}
    </div>
`,Nr=yt.d`
    <div class="movi ${t=>t.getNotificationClass()} ${t=>t.getNotificationColorClass()}">
        ${(0,lr.g)((t=>"PriceDrop"==t.getCurrentNotificationType()),yt.d`${mr.Z}`)}
        ${(0,lr.g)((t=>"PriceSpike"==t.getCurrentNotificationType()),yt.d`${yr.Z}`)}
        ${(0,lr.g)((t=>{var e;return"TechnicalIndicator"==t.getCurrentNotificationType()&&(null===(e=t.currentStockNotification.notification)||void 0===e?void 0:e.signal)===Q.Gainer}),yt.d`${yr.Z}`)}
        ${(0,lr.g)((t=>{var e;return"TechnicalIndicator"==t.getCurrentNotificationType()&&(null===(e=t.currentStockNotification.notification)||void 0===e?void 0:e.signal)===Q.Loser}),yt.d`${mr.Z}`)}
        ${(0,lr.g)((t=>"EarningRelease"==t.getCurrentNotificationType()),yt.d`${t=>t.config.enableFluentUIIcons?yt.d`${fr()}`:yt.d`${pr.Z}`}`)}
        ${(0,lr.g)((t=>"InstitutionalHolding"==t.getCurrentNotificationType()),yt.d`${vr.Z}`)}
        ${(0,lr.g)((t=>{var e;return"Sentiment"==t.getCurrentNotificationType()&&(null===(e=t.currentStockNotification.notification)||void 0===e?void 0:e.signal)===Q.Loser}),yt.d`${wr.Z}`)}
        ${(0,lr.g)((t=>{var e;return"Sentiment"==t.getCurrentNotificationType()&&(null===(e=t.currentStockNotification.notification)||void 0===e?void 0:e.signal)===Q.Gainer}),yt.d`${br.Z}`)}
    </div>
`,Wr=yt.d`
    <div class="icn">
        ${(0,lr.g)((t=>!t.currentStockToShow.iconUrl),yt.d`
            ${Sr.Z}
        `)}
        ${(0,lr.g)((t=>t.currentStockToShow.iconUrl),yt.d`
            <img src="${t=>t.currentStockToShow.iconUrl}"
                alt="${t=>t.currentStockToShow.displayName}"
                loading=lazy
            />
        `)}
    </div>
`,Pr=yt.d`
    ${(0,lr.g)((t=>t.isCurrentStockCurrency),Wr)}
    ${(0,lr.g)((t=>!t.isCurrentStockCurrency),yt.d`
        ${(0,lr.g)((t=>t.isPriceNotification(t.getCurrentNotificationType())),Rr)}
        ${(0,lr.g)((t=>!t.isPriceNotification(t.getCurrentNotificationType())),Nr)}
    `)}
`,Hr=yt.d`
    <span class="prct ${t=>t.getQuoteChangeClass()}">
        ${t=>t.currentStockToShow.changePcnt}
    </span>
`,Br=yt.d`
    <span class="prct ${t=>t.isLightGreeting?"light":"dark"}-font-color ${t=>t.getNotificationColorClass()}">
        ${t=>t.currentStockNotification.shortHeadline}
    </span>
`,Er=yt.d`
    <fluent-card style="height: auto; width: 300px;">
        <fluent-design-system-provider>
            ${t=>{var e;return(0,Cr.O)(t.config.childExperienceReferencesWC.moneyInfoCardWC,{properties:{cardFeedDataJson:t.moneyCardFeedData,parentTelemetry:null===(e=t.financeGreetingTelemetryContext)||void 0===e?void 0:e.financeTelemetryObject,spotlightDataFrom:t.moneySpotlightDataFrom},memoize:!0})}}
        </fluent-design-system-provider>
    </fluent-card>
`,Gr=yt.d`
    <div class="hvc">
        <div class="mncrd
            ${t=>t.isPriceNotification(t.getCurrentNotificationType())?"":"ntfc"}
            ${t=>t.moveGreetingContainer}"
        >
            ${Er}
        </div>
    </div>
`,jr=yt.d`
    <div class="cntr"
        @focus="${(t,e)=>t.onFinanceGreetingFocus(e.event)}"
        @mouseenter="${(t,e)=>t.handleFocusOnQuote(!0,"finCntr",e.event)}"
        @mouseleave="${(t,e)=>t.handleFocusOnQuote(!1,"finCntr",e.event)}"
        id="${M}"
    >
        <a class="finCntr ${t=>t.getNotificationClass()} ${t=>t.config.enableHorizontalNav?"horizontalNav":""}"
            href="${t=>t.currentStockToShow.quoteHref}"
            target="_blank"
            aria-label="${t=>t.quoteAriaLabel(t.currentStockToShow)}"
            title="${t=>t.quoteTitle(t.currentStockToShow)}"
            data-t="${t=>t.getFinanceLinkTelemetryTag()}"
            @click="${(t,e)=>t.handleFinanceGreetingClick(e.event)}"
        >
            ${(0,lr.g)((t=>t.config.showStockMovementIconAtStart),Pr)}
            <div class="quote ${t=>t.getNotificationClass()}">
                <span class="syml ${t=>t.isLightGreeting?"light":"dark"}-font-color">
                ${t=>t.currentStockToShow.symbol}
                </span>
                ${(0,lr.g)((t=>t.isPriceNotification(t.getCurrentNotificationType())),Hr)}
                ${(0,lr.g)((t=>!t.isPriceNotification(t.getCurrentNotificationType())),Br)}
            </div>
            ${(0,lr.g)((t=>!t.config.showStockMovementIconAtStart),Pr)}
        </a>
        ${(0,lr.g)((t=>t.showMoneyCard&&t.config.childExperienceReferencesWC&&t.config.childExperienceReferencesWC.moneyInfoCardWC),Gr)}
    </div>
`,Ur=yt.d`
    <div class="fin-greet-root ${t=>t.config.enableHorizontalNav?"horizontalNav":""}"
        ${(0,hr.i)("financeGreetingViewRef")}
        data-t="${t=>{var e,n;return null===(n=null===(e=t.financeGreetingTelemetryContext)||void 0===e?void 0:e.financeTelemetryObject)||void 0===n?void 0:n.getMetadataTag()}}"
    >
        ${(0,lr.g)((t=>t.showFinanceGreeting),jr)}
    <div>
`,zr=yt.d`
    ${(0,lr.g)((t=>t.config.enableFinanceGreetings&&t.isFinanceInitComplete),Ur)}
    ${Fr}
`;var qr=n(14989),Yr=n(32804),Kr=n(22674),Vr=n(53046);const Qr=Vr.i`
.close-button-align {
    right: 0;
}

.auto-suggest-form-input input {
    padding-left: 11px;
}

.visible-hovercard-container {
    left: 85px;
}

.visible-hovercard-container-move {
    right: 500px;
}

.visible-hovercard-container-move-close {
    right: 400px;
}
`,Jr=Vr.i`
.close-button-align {
    left: 0;
}

.auto-suggest-form-input input {
    padding-right: 11px;
}

.visible-hovercard-container-move {
    left: 500px;
}

.visible-hovercard-container-move-close {
    left: 400px;
}

.visible-hovercard-container {
    right: 85px;
}

.weather-temperature {
    flex-direction: row-reverse;
    padding-right: 8px;
}

.weather-unit-container {
    margin-left: 2px;
}
`,Xr="#FF6341",ti="#34E36F",ei="#63ADE5",ni=Vr.i`
:host {
    width: 100%;
    --welcome-greeting-dialog-z-index: 1000;
}

.light-fluent-dialog::part(control) {
    border: rgba(0,0,0,.7);
    background: #FFF;
    color: #262626;
}

.dark-fluent-dialog::part(control) {
    border: 1px solid #BEBEBE;
    background: #242424;
    color: #F5F5F5;
}

fluent-dialog::part(control) {
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    width: 400px;
    z-index: var(--welcome-greeting-dialog-z-index);
    position: fixed;
    border-radius: 0px;
    widtg: 400px;
    height: auto;
}

fluent-dialog::part(positioning-region) {
    position: absolute;
}

.light-fluent-radio::part(checked-indicator) {
    background: #F7F7F7;
}

.dark-fluent-radio::part(checked-indicator) {
    background: #242424;
}

fluent-radio::part(control) {
    z-index: 1;
    transition: all 0.2s ease-in-out;
    width: 20px;
    height: 20px;
    outline: none;
}

fluent-radio::part(checked-indicator) {
    inset: 4px;
}

fluent-radio::part(label) {
    overflow: hidden;
    box-sizing: content-box;
    max-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-inline-start: 5px;
}

.checked::part(control) {
    background: #8D8D8D;
    border-color: #1683D8;
}

.light-checked::part(checked-indicator) {
    background: #F7F7F7;
}

.dark-checked::part(checked-indicator) {
    background: #242424;
}

.light-font-color {
    color: #262626;
}

.dark-font-color {
    color: #FFF;
}

.greeting-root {
    display: flex;
    font-size: 14px;
    height: 50px;
    width: fit-content;
}

.greeting-root .no-greeting-name {
    margin-bottom: auto;
    margin-top: auto;
}

.greeting-root.horizontalNav {
    height: unset;
}

.fin-greet-root {
    display: none;
    width: fit-content;
    height: 50px;
}

.fin-greet-root.horizontalNav {
    height: unset;
}

.finCntr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-column-gap: 4px;
    align-items: center;
    padding: 12px 0;
    height: var(--type-ramp-base-line-height);
    vertical-align: middle;
    text-decoration: none;
    border-radius: 6px;
    font-size: var(--type-ramp-plus-2-font-size);
    line-height: var(--type-ramp-base-line-height);
    margin-top: 2px;
}

.finCntr.horizontalNav {
    padding: 0px 0;
}

.finCntr.notify {
    padding: 8px 0;
}

.finCntr .prctSm {
    font-size: var(--type-ramp-base-font-size);
    margin-top: -4px;
}

.finCntr:hover {
    cursor: pointer;
    text-decoration: none;
}

.finCntr .quote.price {    
    align-items: center;
    color: #FFFFFF;
}

.mncrd.ntfc.visible-hovercard-container {
    top: 78px;
}
.mncrd.ntfc.visible-hovercard-container-move {
    top: 83px;
}
${(0,qr.vW)(qr.K$.c1,qr.K$.c3)} {
    .finCntr .quote.price {
        display: grid;
        grid-template-rows: 1fr auto;
        font-size: var(--type-ramp-plus-1-font-size);
    }
    .finCntr .quote .syml {
        font-weight: 600;
    }
    .finCntr .quote .prct {    
        font-size: var(--type-ramp-minus-1-font-size);
        text-align: center;
        line-height: 12px;
    }
    .mncrd.visible-hovercard-container {
        top: 78px;
    }
    .mncrd.visible-hovercard-container-move {
        top: 83px;
    }
}
${(0,qr.vW)(qr.K$.c4,qr.K$.c5)} {
    .finCntr .quote.price {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-column-gap: 12px;
    }
}
.weather-greeting-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.finCntr .quote.notify {
    display: grid;
    grid-template-column: 1fr auto;    
    align-items: center;
    color: #FFFFFF;
    font-size: var(--type-ramp-base-font-size);
}

.finCntr .movi.price svg {    
    padding-right: 8px;
}

.finCntr .movi.notify svg {
    padding-right: 6px;
    height: 20px;
    width: 24px;
    margin-bottom: auto;
    margin-top: 2px;
    color: ${ei};
}
.finCntr .movi.notify svg path {
    fill: ${ei};
}

.finCntr .movi.notify.grn svg path {
    fill: ${ti};
}

.finCntr .movi.notify.red svg path {
    fill: ${Xr};
}

.finCntr .grn {
    color: ${ti};
}

.finCntr .red {
    color: ${Xr};
}

.finCntr path.grn {
    fill: ${ti};
}

.finCntr path.red {
    fill: ${Xr};
}

.finCntr .icn {
    height: 20px;
}

.finCntr .icn img {
    height: 22px;
    width: auto;
}


.weather-container {
    display: none;
    padding-left: 5px;
    padding-right: 5px;
    text-decoration: none;
}

.text-wrapper-image-displayed {
    color: #FFF;
}

.text-wrapper-image-hidden {
    color: ${Yr.CHi}
}

.weather-glyph {
    float: left;
    height: 24px;
    margin-bottom: auto;
    margin-top: auto;
    width: 24px;
}

.weather-glyph-location {
    float: left;
    height: 24px;
    margin-bottom: auto;
    margin-top: auto;
    display: flex;
    align-items: center;
}

.light-greeting-rotate-icon,
.dark-greeting-rotate-icon {
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-greeting-rotate-icon svg {
    fill: #262626;
}

.dark-greeting-rotate-icon svg {
    fill: #fff;
}

.weather-glyph svg {
    height: 24px;
    width: 24px;
}

.weather-temperature {
    display: flex;
}

.weather-text-customize {
    font-size: 16px;
    margin-bottom: auto;
    margin-top: auto;
    padding: 3px 2px 3px 6px;
}

.weather-text-small {
    font-size: 16px;
    margin-bottom: auto;
    margin-top: auto;
    padding: 0px 2px 3px 6px;
}

.weather-unit-container-small {
    display: flex;
    padding-top: 16px;
    width: max-content;
    font-size: 10px;
}

.outer-container {
    height: 60px;
}

.location-under {
    display: none;
    font-size: 14px;
    margin-bottom: auto;
    margin-top: -7px;
    padding: 0px 4px 3px 10px;
    line-height: 22px;
}

.location-left {
    display: none;
    white-space: nowrap;
    font-size: 14px;
    margin-bottom: auto;
    margin-top: 13px;
    padding: 0px 8px 3px 0px;
    line-height: 24px;
}

.location-left.horizontalNav {
    margin-top: auto;
    padding: 0px 8px 0px 0px;
}

.weather-text-location-left {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: auto;
    margin-top: auto;
    padding: 0px 1px 0px 2px;
    z-index:1;
}

.weather-text {
    font-size: 24px;
    margin-bottom: auto;
    margin-top: auto;
    padding: 0px 4px 3px 10px;
}

.weather-unit-container {
    display: flex;
    padding-top: 13px;
    width: max-content;
}

.weather-unit-container-location-left {
    display: flex;
    padding-top: 16px;
    width: max-content;
    font-size: 10px;
    line-height: 17px;
}

.weather-unit-container-location-left.horizontalNav {
    padding-top: 3px;
}

.location-marker {
    display: none;
    font-size: 14px;
    margin-bottom: auto;
    margin-top: 10px;
    padding: 0px 4px 3px 0px;
    line-height: 22px;
}

.location-text {
    padding: 2px 0px 0px 0px;
}

.seperator {
    font-size: 22px;
    font-weight: lighter;
    margin-bottom: auto;
    margin-top: auto;
    padding: 0px 5px 8px 3px;
    color: #FFF;
}

.welcome-text {
    display: flex;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: auto;
    padding-top: 5px;
    white-space: pre-wrap;
    width: fit-content;
}

.welcome-text.horizontalNav {
    padding-top: 0px;
    margin-top: -7px;
}

.weather-alert {
    float: left;
    margin-bottom: auto;
    margin-top: auto;
    height: 24px;
    width: 24px;
    margin-inline-end: 3px;
}

.icon {
    max-height: 100%;
    max-width: 100%;
}

.hidden-unit-container {
    visibility: hidden;
    opacity: 0;
}

.visible-unit-container {
    display: flex;
    opacity: 0.75;
}

.visible-hovercard-container {
    position: fixed;
    top: 70px;
    z-index: var(--welcome-greeting-dialog-z-index);
}

.visible-hovercard-container-move {
    position: fixed;
    top: 75px;
    z-index: var(--welcome-greeting-dialog-z-index);
}

.location-card-move {
    position: fixed;
    top: 70px;
    left: 180px;
    z-index: var(--welcome-greeting-dialog-z-index);
}

.visible-hovercard-info {
    position: inherit;
}

.hidden-hovercard-info {
    position: inherit;
    visibility: hidden;
    opacity: 0;
}

.visible-hovercard-setting {
    position: inherit;
}

.hidden-hovercard-setting {
    position: inherit;
    visibility: hidden;
    opacity: 0;
}

.visible-locationcard-setting {
    position: inherit;
}

.edit-button {
    background: transparent !important;
}

.button {
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    max-width: 374px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.1s ease-in-out;
    font-size: 14px;
    border: 2px solid transparent;
    border-radius: 2px;
    min-width: 32px;
    padding: 0 10px;
    height: 32px;
    color: #FFFFFF;
    fill: #FFFFFF;
}

.button-content-region {
    position: relative;
}

.icon-inline {
    width: auto;
    height: auto;
}

.light-edit-svg-image-displayed {
    fill: #262626;
}

.dark-edit-svg-image-displayed {
    fill: #FFF;
}

.dialog {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: var(--welcome-greeting-dialog-z-index);
}

.light-main-container {
    color: #262626;
}

.dark-main-container {
    color: #F5F5F5;
}

.main-container {
    font-size: 14px;
    line-height: 20px;
    margin: 20px 24px;
    display: block;
    flex-direction: column;
    position: relative;
}

.location-setting-label {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
    padding: 5px 0;
    font-weight: 200;
}


.close-button {
    position: absolute;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: transparent;
    height: 32px;
    width: 32px;
    top: 0;
    text-align: center;
    outline: none;
    background: transparent;
}

.clear-button {
    position: relative;
    top: 50%;
    transform: translate(0,-50%);
}

.light-setting-auto-suggest {
    color: #242424;
}

.right-setting-auto-suggest {
    color: #F7F7F7;
}

.setting-auto-suggest {
    position: relative;
    margin-bottom: 20px;
}

.setting-location {
    margin-bottom: 5px;
}

.light-setting-location-textaction {
    background: #F7F7F7;
}

.dark-setting-location-textaction {
    background: #242424;
}

.setting-location-textaction {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    min-width: 92px;
    display: flex;
    flex-direction: row;
    transition: all 0.2s ease-in-out;
    height: 32px;
    border: 1px solid #B6B6B6;
    border-radius: 2px;
}

.auto-suggest-form-input {
    box-shadow: none !important;
    border: 1px solid #BEBEBE !important;
    height: 54px !important;
}

.setting-location-input {
    outline: none;
    font-weight: 600;
}

.light-text-field {
    color: #262626;
}

.dark-text-field {
    color: #F7F7F7;
}

.text-field {
    height: calc(100% - 4px);
    margin: 2px 1px;
    border: none;
    flex: 1 0 0px;
    background: transparent;
    min-width: inherit;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    line-height: 20px;
    font-size: 14px;
    border-radius: 2px;
}

.text-field:disabled {
    background: none;
    border: none;
    box-shadow: none;
    cursor: not-allowed !important;
    opacity: 0.3;
}

.light-search-button {
    background: #feb632;
    border: 1px solid #feb632;
    fill: #262626;
}

.dark-search-button {
    background: #262626;
    border: 1px solid #262626;
    fill: #F5F5F5;
}

.search-button {
    height: 20px;
    width: 20px;
    padding: 13px;
    margin: 2px;
    cursor: pointer;
}

.setting-unit {
    margin-bottom: 30px;
}

.setting-unit-title {
    margin-bottom: 12px;
    letter-spacing: 0.7px;
}

.light-weather-save:enabled {
    background: #feb511 !important;
}

.dark-weather-save:enabled {
    background: #006CBE !important;
}

.weather-save {
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    height: 52px;
    text-transform: uppercase;
    font-weight: 600;
}

.button:disabled {
    background: #BFBFBF;
    opacity: 1;
}

.text-action-disabled {
    cursor: not-allowed !important;
    opacity: 0.3;
}

.light-setting-suggest-text:hover {
    background: #EAEAEA;
}

.dark-setting-suggest-text:hover {
    background: #313131;
}

.setting-suggest-text {
    overflow: hidden;
    box-sizing: content-box;
    max-height: 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-wrap: break-word;
    padding: 5px;
}

.light-setting-suggest-list {
    background: #F7F7F7;
    border: 1px solid #B6B6B6;
}

.dark-setting-suggest-list {
    background: #242424;
    border: 1px solid #646464;
}

.setting-suggest-list {
    font-size: 12px;
    line-height: 16px;
    list-style: none;
    border-radius: 2px;
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 100;
    outline: none;
    font-weight: 600;
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.weather-alert > svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    max-height: 100%;
    max-width: 100%;
}
`.withBehaviors(new Kr.O(Qr,Jr)),ri={experienceConfigSchema:Z};(0,u.z)().withShadowRootMode("closed").withElementDisambiguation((()=>v.h.ignoreDuplicate)).register((0,c.hb)(),(0,l.Ad)(),(0,d.d$)(),(0,h.oM)(),(0,g.i0)(),(0,f.ay)(),(0,p.QT)()),v.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>v.h.ignoreDuplicate)).withPrefix("msft").register((0,i.To)(),(0,i.V7)(),(0,o.O8)(),(0,a.ry)(),(0,s.kF)(),(0,r.xb)())},44421:function(t,e,n){"use strict";n.d(e,{G:function(){return a},Q:function(){return o}});var r=n(84289),i=n(99502);const o=(t,e,n,o,a,s,u,c)=>{const l=(0,r.NU)(t,e,u,c);s&&Object.assign(l,{[i.a.propertyNames]:{enum:s}});const d=Object.assign(Object.assign({},a),{[i.a.title]:o});return Object.assign(l,{[i.a.additionalProperties]:d})},a=(t,e,n,r,i,a,s,u,c)=>({[t]:Object.assign({},o(e,n,r,i,a,s,u,c))})},64488:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});var r=n(33379);let i=!1;(0,r.N)()&&(window.addEventListener("keydown",(()=>{i=!0})),window.addEventListener("mousedown",(()=>{i=!1})))},21858:function(t,e,n){"use strict";n.d(e,{Go:function(){return a},TR:function(){return u},Y6:function(){return c},Yw:function(){return l}});var r=n(94516);const i=new RegExp("\\:([\\d]{2})");function o(){return new Date}function a(t){return(o().getTime()-t.getTime())/1e3}function s(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+e,t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())}function u(t,e){return new Date(t.valueOf()+60*e*60*1e3)}function c(t,e){const n=parseInt(e),r=parseInt(i.exec(e)[1]),o=n<0?-1:1,a=new Date(t.getTime()+60*(60*n+o*r)*1e3),s=`0${Math.abs(n)}`.substr(-2)+":"+`0${Math.abs(r)}`.substr(-2);return a.toISOString().replace("Z",(o<0?"-":"+")+s)}function l(t){const e=a(t),n=function(){const t=o();return t.setHours(0,0,0,0),t}(),i=s(n,-1),u=s(n,-6),c=function(){const t=o();return new Date(t.getFullYear(),0,0,0,0,0,0)}();return e>=-3300&&e<-60?r.i.InMinutes:e<0?r.i.None:e<120?r.i.JustNow:e<3600?r.i.LessThanOneHour:t>=n?r.i.Today:t>=i?r.i.Yesterday:t>=u?r.i.ThisWeek:t>=c?r.i.ThisYear:r.i.FullDate}},36569:function(t,e,n){"use strict";var r;n.d(e,{Q:function(){return c}}),function(t){t.Hour="Hour",t.HourMin="HourMin",t.HourTimezone="HourTimezone",t.HourMinTimezone="HourMinTimezone",t.HourTimezoneLong="HourTimezoneLong",t.HourMinTimezoneLong="HourMinTimezoneLong",t.DayWeek="DayWeek",t.MonthDayYear="MonthDayYear",t.LongMonthDayYear="LongMonthDayYear",t.MonthDay="MonthDay",t.Year="Year",t.Month="Month",t.MonthShort="MonthShort",t.Day="Day",t.Week="Week",t.MonthDayWeek="MonthDayWeek",t.MonthDayWeekLong="MonthDayWeekLong"}(r||(r={}));const i=new Map([[r.DayWeek,{weekday:"short",day:"numeric"}],[r.LongMonthDayYear,{month:"long",day:"numeric",year:"numeric"}],[r.MonthDayYear,{month:"short",day:"numeric",year:"numeric"}],[r.MonthDay,{month:"short",day:"numeric"}],[r.Year,{year:"numeric"}],[r.Month,{month:"numeric"}],[r.MonthShort,{month:"short"}],[r.Day,{day:"numeric"}],[r.Hour,{hour:"numeric"}],[r.HourMin,{hour:"numeric",minute:"numeric"}],[r.HourTimezone,{hour:"numeric",timeZoneName:"short"}],[r.HourMinTimezone,{hour:"numeric",minute:"numeric",timeZoneName:"short"}],[r.HourTimezoneLong,{hour:"numeric",timeZoneName:"long"}],[r.HourMinTimezoneLong,{hour:"numeric",minute:"numeric",timeZoneName:"long"}],[r.Week,{weekday:"short"}],[r.MonthDayWeek,{weekday:"short",month:"short",day:"numeric"}],[r.MonthDayWeekLong,{weekday:"long",month:"long",day:"numeric"}]]),o=["en-us","en-gb","el-gr"],a=[r.DayWeek,r.HourTimezoneLong,r.HourMinTimezoneLong,r.MonthDay,r.MonthShort,r.Week,r.MonthDayWeek],s=new Map([["default",{longPm:"pm",shortPm:"p",longAm:"am",shortAm:"a"}],["el-gr",{longPm:"μ.μ.",shortPm:"μ",longAm:"π.μ.",shortAm:"π"}]]),u=new Map([["default",{hour:"numeric"}],["zh-cn",{hour:"numeric",hour12:!1}],["zh-tw",{hour:"numeric",hour12:!1}],["zh-hk",{hour:"numeric",hour12:!1}]]);class c{constructor(t,e){this.locale=t||"en-us",this.timeZone=e||void 0,this.hour12=Intl.DateTimeFormat(this.locale,u.get(this.locale)||u.get("default")).resolvedOptions().hour12,this.localeOption=s.get(this.locale)||s.get("default"),this.timeFormats=new Map,this.timeFormatsEnGb=new Map,this.timeFormatsEnUs=new Map}formatHour(t,e){return this.formatDateTimeFormatText(t,r.Hour,Object.assign({},e))}formatYear(t,e){return this.formatDateTimeFormatText(t,r.Year,Object.assign({},e))}formatMonth(t,e){return this.formatDateTimeFormatText(t,r.Month,Object.assign({},e))}formatMonthShort(t,e){return this.formatDateTimeFormatText(t,r.MonthShort,Object.assign({},e))}formatDay(t,e){return this.formatDateTimeFormatText(t,r.Day,Object.assign({},e))}formatHourLabel(t){return this.formatHour(t,{excludeSpace:!1})}formatHourMinute(t,e){return this.formatDateTimeFormatText(t,r.HourMin,Object.assign({},e))}formatHourTimezone(t,e,n=!1){let i=r.HourTimezone;return n&&(i=r.HourTimezoneLong),this.formatDateTimeFormatText(t,i,Object.assign({},e))}formatHourMinuteTimezone(t,e,n=!1){let i=r.HourMinTimezone;return n&&(i=r.HourMinTimezoneLong),this.formatDateTimeFormatText(t,i,Object.assign({},e))}formatDayWithWeek(t,e){let n=this.formatDateTimeFormatText(t,r.DayWeek,Object.assign({},e));if(e&&n.indexOf(",")<0&&n.indexOf(" ")>0){const t=n.split(" ");2!=t.length||isNaN(parseInt(t[0]))||(e.removeWeek?n=t[0]:e.forceWeekdayAhead&&(n=`${t[1]} ${t[0]}`))}return n}formatWeek(t,e){let n=this.formatDateTimeFormatText(t,r.DayWeek,Object.assign({},e));if(n.indexOf(",")<0&&n.indexOf(" ")>0){const t=n.split(" ");2!=t.length||isNaN(parseInt(t[0]))||(n=t[1])}return n}formatLongMonthDayYear(t,e){let n=this.formatDateTimeFormatText(t,r.LongMonthDayYear,Object.assign({},e));if(e&&e.useComma){const i=this.formatDateTimeFormatText(t,r.LongMonthDayYear,Object.assign({},e));n=n.replace(`${i} `,`${i}, `)}return n}formatMonthDayYear(t,e){let n=this.formatDateTimeFormatText(t,r.MonthDayYear,Object.assign({},e));if(e&&e.useComma){const i=this.formatDateTimeFormatText(t,r.MonthDay,Object.assign({},e));n=n.replace(`${i} `,`${i}, `)}return n}formatMonthDay(t,e){return this.formatDateTimeFormatText(t,r.MonthDay,Object.assign({},e))}formatWeekShort(t,e){let n=this.formatDateTimeFormatText(t,r.Week,Object.assign({},e));if(n.indexOf(",")<0&&n.indexOf(" ")>0){const t=n.split(" ");2!=t.length||isNaN(parseInt(t[0]))||(n=t[1])}return n}formatMonthDayWithWeek(t,e){let n=this.formatDateTimeFormatText(t,r.MonthDayWeek,Object.assign({},e));if(e&&e.forceWeekdayAhead&&n.indexOf(",")<0&&n.indexOf(" ")>0){const t=n.split(" ");2!=t.length||isNaN(parseInt(t[0]))||(n=`${t[1]} ${t[0]}`)}return n}formatMonthDayWithWeekLong(t,e){let n=this.formatDateTimeFormatText(t,r.MonthDayWeekLong,Object.assign({},e));if(e&&!e.forceWeekdayAhead&&n.indexOf(",")<n.indexOf(" ")){const t=n.split(",");2==t.length&&(n=`${t[1]}, ${t[0]}`)}return n}getFormatObj(t){let e=t;return this.hour12||(t===r.Hour&&(e=r.HourMin),t===r.HourTimezone&&(e=r.HourMinTimezone),t===r.HourTimezoneLong&&(e=r.HourMinTimezoneLong)),o.indexOf(this.locale)<0&&a.indexOf(e)<0?this.hour12?(this.timeFormatsEnUs.has(e)||this.timeFormatsEnUs.set(e,new Intl.DateTimeFormat("en-us",Object.assign({timeZone:this.timeZone},i.get(e)))),this.timeFormatsEnUs.get(e)):(this.timeFormatsEnGb.has(e)||this.timeFormatsEnGb.set(e,new Intl.DateTimeFormat("en-gb",Object.assign({timeZone:this.timeZone},i.get(e)))),this.timeFormatsEnGb.get(e)):(this.timeFormats.has(e)||this.timeFormats.set(e,new Intl.DateTimeFormat(this.locale,Object.assign({timeZone:this.timeZone},i.get(e)))),this.timeFormats.get(e))}formatDateTimeFormatText(t,e,n){const r=this.getFormatObj(e).format(t);return this.postProcess(r,n)}postProcess(t,e){let n=t;return e&&e.excludeComma&&(n=n.replace(/,/g,"")),e&&e.excludeSpace&&(n=n.replace(/\s/g,"")),n}}},94516:function(t,e,n){"use strict";var r;n.d(e,{i:function(){return r}}),function(t){t[t.None=0]="None",t[t.JustNow=1]="JustNow",t[t.LessThanOneHour=2]="LessThanOneHour",t[t.Today=3]="Today",t[t.Yesterday=4]="Yesterday",t[t.ThisWeek=5]="ThisWeek",t[t.ThisYear=6]="ThisYear",t[t.FullDate=7]="FullDate",t[t.InMinutes=8]="InMinutes"}(r||(r={}))},48830:function(t,e,n){"use strict";n.d(e,{HQ:function(){return r}});const r={Topstories:"topstories",Watchlist:"watchlist",Market:"market",Currencies:"currencies",Movers:"movers",Gainers:"gainers",Losers:"losers",Suggested:"recommend",Search:"search",Crypto:"crypto",Spotlight:"spotlight"}},80368:function(t,e,n){"use strict";function r(t){let e;if(t instanceof URL)e=t.searchParams;else if(t instanceof URLSearchParams)e=t;else if("string"==typeof t)try{e=new URL(t).searchParams}catch(t){e=void 0}return i(e,"ocid")}function i(t,e,n){if(t&&e){const r={value:t.get(e)||void 0};if(!r.value&&n&&n.length>0)for(let e=0;e<n.length&&(r.value=t.get(n[e])||void 0,!r.value);++e);if(!r.value){const n=e.toLowerCase();t.forEach((function(t,e){!r.value&&e.toLowerCase()===n&&t&&(r.value=t)}))}return r.value}}function o(t,e){if(!t)return null;let n;try{n=new URL(t instanceof URL?t.href:t)}catch(t){return null}return n&&e&&e.length&&e.forEach((t=>{n.searchParams.delete(t)})),n.href}function a(t){const e=new RegExp("^.*/([Aa][Rr]||[Ss]{2}||[Vv][Ii]||[Vv][Pp])-(?<contentId>[a-zA-Z0-9]{6,8})(([?].*)||#.*)?$");return null!==t.match(e)}n.d(e,{ku:function(){return r},Ol:function(){return i},jI:function(){return a},Pv:function(){return u},jC:function(){return o}});const s=new Set(["msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]);function u(t){return!!function(t){if("string"==typeof t)try{t=new URL(t)}catch(e){t=null}const e={};if(t){let n="";t.searchParams.forEach((function(t,e){!n&&"ocid"===e.toLowerCase()&&t&&(n=t.toLowerCase())})),n&&(("win"===n.substr(0,3)||s.has(n))&&(e.isWindows=!0),"weather-app-win"===n&&(e.isWinApp=!0))}return e}(t).isWindows}n(76148)},98239:function(t,e,n){"use strict";n.d(e,{al:function(){return s}});const r={1:["#1360A7","linear-gradient(150.64deg, #1B7BC1 0%, #1360A7 100%)"],4:["#1C54A7","linear-gradient(150.64deg, #4177C1 0%, #1C54A7 100%)"],8:["#2A5194","linear-gradient(150.64deg, #5173AF 0%, #2A5194 100%)"],27:["#37368F","linear-gradient(150.64deg, #6B6DC0 0%, #37368F 100%)"],7:["#4F598D","linear-gradient(150.64deg, #6974A7 0%, #4F598D 100%)"],9:["#5D5B75","linear-gradient(150.64deg, #73738D 0%, #5D5B75 100%)"],6:["#68553C","linear-gradient(150.64deg, #846D4D 0%, #68553C 100%)"]},i={1:["#FFECB1","linear-gradient(315deg, #FFECB1 0%, rgba(255, 236, 177, 0) 100%)"],4:["#DFF9FF","linear-gradient(320.01deg, #DFF9FF 0%, rgba(223, 249, 255, 0) 100%)"],8:["#BFE0FF","linear-gradient(320.01deg, #BFE0FF 0%, rgba(191, 224, 255, 0) 100%)"],27:["#C4D4FE","linear-gradient(313.85deg, #C4D4FE 0%, rgba(196, 212, 254, 0) 112.31%)"],7:["#C1BAD1","linear-gradient(320.01deg, #C1BAD1 0%, rgba(193, 186, 209, 0) 100%)"],9:["#E5CFAD","linear-gradient(320.01deg, #E5CFAD 0%, rgba(229, 207, 173, 0) 100%)"],6:["#F2E8FF","linear-gradient(318.98deg, #F2E8FF 6.05%, rgba(242, 232, 255, 0) 100%)"]},o={1:["#565138","linear-gradient(315deg, #565138 0%, rgba(86, 81, 56, 0) 100%)"],4:["#253539","linear-gradient(320.01deg, #253539 0%, rgba(37, 53, 57, 0) 100%)"],8:["#2F3F48","linear-gradient(320.01deg, #2F3F48 0%, rgba(47, 63, 72, 0) 100%)"],27:["#2A3342","linear-gradient(313.85deg, #2A3342 0%, rgba(42, 51, 66, 0) 112.31%)"],7:["#434453","linear-gradient(320.01deg, #434453 0%, rgba(67, 68, 83, 0) 100%)"],9:["#403737","linear-gradient(320.01deg, #403737 0%, rgba(64, 55, 55, 0) 100%)"],6:["#342D3A","linear-gradient(318.98deg, #342D3A 6.05%, rgba(52, 45, 58, 0) 100%)"]},a={1:"1",2:"1",3:"1",4:"4",5:"4",6:"6",7:"7",8:"8",9:"9",10:"8",11:"8",12:"9",13:"8",14:"8",15:"7",16:"7",17:"8",18:"9",19:"8",20:"7",21:"9",22:"8",23:"8",24:"7",25:"7",26:"7",27:"27",28:"1",29:"1",30:"4",31:"4",32:"4",33:"6",34:"7",35:"8",36:"9",37:"8",38:"8",39:"9",40:"8",41:"8",42:"7",43:"7",44:"8",45:"9",46:"8",47:"7",48:"9",49:"8",50:"8",51:"8",52:"7",53:"7",54:"27",57:"7",58:"7",59:"7",60:"7",61:"6",62:"6",63:"9",64:"9",65:"9",66:"9",67:"27",68:"27",69:"8",70:"8",71:"8",72:"8",73:"9",74:"9",75:"8",76:"8",77:"8",78:"8",79:"8",80:"8",81:"7",82:"7",83:"8",84:"8",85:"8",86:"8",87:"6",88:"6",89:"9",90:"9",91:"6",92:"6",93:"6",94:"6",95:"9",96:"9",101:"1",102:"1"};class s{static getSkyCodeBackgroundGradientColors(t){const e=Object.prototype.hasOwnProperty.call(a,t)?a[t]:t;return r[e]}static getSkyCodeLightBackgroundGradientColors(t){const e=Object.prototype.hasOwnProperty.call(a,t)?a[t]:t;return i[e]}static getSkyCodeDarkBackgroundGradientColors(t){const e=Object.prototype.hasOwnProperty.call(a,t)?a[t]:t;return o[e]}static isRainOrSnowWeather(t){const e=Object.prototype.hasOwnProperty.call(a,t)?a[t]:t;return"8"==e||"7"==e}static getAlertIconSvgFillColors(t){return"Y"===t?["#F1C40E","#433519"]:"O"===t?["#C65010","white"]:"R"===t?["#D13438","white"]:"B"===t?["#3967E4","white"]:["#F1C40E","#433519"]}static getAlertIconSvgString(t){const e=this.getAlertIconSvgFillColors(t);return`\n            <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">\n                <path d="M6.77446 3.44842C7.16811 2.79728 8.11588 2.80686 8.49628 3.46584L13.1341 11.5001C13.519 12.1667 13.0379 13 12.2681 13H2.7731C1.99431 13 1.51441 12.1491 1.91733 11.4826L6.77446 3.44842Z" fill="${e[0]}"/>\n                <rect x="7.01489" y="6" width="1" height="4" rx="0.5" fill="${e[1]}"/>\n                <rect x="7.01489" y="11" width="1" height="1" rx="0.5" fill="${e[1]}"/>\n            </svg>\n        `}}},68742:function(t,e,n){"use strict";var r,i;n.d(e,{a:function(){return r}}),function(t){t[t.Fahrenheit=1]="Fahrenheit",t[t.Celsius=2]="Celsius"}(r||(r={})),function(t){t.MPH="mph",t.KMH="km/h",t.MS="m/s",t.BFT="bft",t.MILE="mi",t.METER="m",t.MB="mb",t.HPA="hPa",t.IN="in"}(i||(i={}))},87554:function(t,e,n){"use strict";n.d(e,{D:function(){return i}});const r={"Aachen, Germany":"3","Abilene, TX":"2","Acworth, GA":"29","Tokyo, Japan":"1","Afton, WY":"28","Ahmedabad, Gujarat, India":"30","Kanagawa, Japan":"4","Ajaccio, France":"31","Akron, OH":"32","Albuquerque, NM":"8","Appleton, WI":"22","Aquebogue, NY":"23","Arlington, TX":"79","Asheville, NC":"35","Atlanta, GA":"17","Austin, TX":"44","Avignon, France":"13","Awendaw, SC":"40","Axminster, England, United Kingdom":"10","Aylesbury, England, United Kingdom":"37","Azle, TX":"19","Bakersfield, CA":"41","BB Rd, Lebanon, Kansas":"80","Barcelona, Spain":"20","Bellevue, WA":"47","BF Homes Parañaque, National Capital Region, Philippines":"42","Bg Pierce Ln, Normangee, Texas":"7","Bhubaneswar, Orissa, India":"34","Billings, MT":"24","Bjelovar, Croatia":"51","Bloomington, IN":"6","Greenville, NC":"9"};function i(t,e){return r[t.displayName]||e}},25280:function(t,e,n){"use strict";var r;n.d(e,{Uy:function(){return r},Xp:function(){return s},_m:function(){return o}}),function(t){t[t.Size30=1]="Size30",t[t.Size50=2]="Size50",t[t.Size24=3]="Size24",t[t.Size40=4]="Size40",t[t.Size68=5]="Size68",t[t.Size106=6]="Size106"}(r||(r={}));const i={23:"AAekRsY.img",26:"AAekP1G.img",6:"AAekzfx.img",5:"AAekHbj.img",20:"AAeku2v.img",91:"AAekP1I.img",27:"AAekZha.img",10:"AAekwJU.img",77:"AAekHbm.img",12:"AAekU2D.img",24:"AAekJUc.img",78:"AAeku2w.img",9:"AAekrqP.img",3:"AAekwJT.img",43:"AAekzfy.img",16:"BBaRgH.img",8:"AAekBPS.img",15:"AAeku2u.img",28:"AAekU2E.img",30:"AAekErI.img",14:"AAekErH.img",1:"AAekoR7.img",7:"AAekmhd.img",50:"AAekRsZ.img",82:"AAekmhg.img"},o={23:"AAehOqC.img",26:"AAehE44.img",6:"AAehOqA.img",5:"AAehyQC.img",20:"AAehE45.img",91:"AAehWcc.img",27:"AAehOqE.img",10:"AAehGG5.img",77:"AAehWca.img",12:"AAehYNC.img",24:"AAehGG6.img",78:"AAei6xK.img",9:"AAei3XW.img",3:"AAehLNN.img",43:"AAei6xL.img",16:"BBaRgH.img",8:"AAehyQD.img",15:"AAei6xJ.img",28:"AAehwh2.img",30:"AAehOqD.img",14:"AAehOqB.img",1:"AAehR3S.img",7:"AAehYNB.img",50:"AAehYND.img",82:"AAehWcb.img"},a={17:"8",31:"30",49:"14",41:"14",35:"8",4:"3",19:"8",22:"14",23:"23",40:"8",25:"15",34:"7",47:"20",52:"15",53:"26",57:"7",58:"7",59:"7",60:"7",81:"26",11:"10",37:"10",38:"10",51:"24",65:"16",66:"43",69:"10",70:"10",71:"10",72:"10",73:"16",74:"43",89:"12",92:"91",32:"5",2:"1",101:"1",42:"15",33:"6",61:"6",62:"6",87:"6",88:"6",93:"6",94:"6",95:"6",96:"6",54:"27",67:"27",68:"27",90:"12",18:"9",21:"9",36:"9",45:"9",48:"9",63:"9",64:"9",29:"28",102:"28",44:"8",46:"8",79:"23",80:"50",76:"24",75:"24",83:"77",84:"78",85:"24",86:"24",39:"12",13:"8"};class s{static getSkyCodeUrl(t,e){const n=Object.prototype.hasOwnProperty.call(a,t)?a[t]:t;switch(e){case r.Size30:return s.skyCodePath+i[n];case r.Size50:return s.skyCodePath+o[n];default:return null}}}s.skyCodePath="//img-s-msn-com.akamaized.net/tenant/amp/entityid/"},75736:function(t,e,n){"use strict";n.d(e,{qz:function(){return a},h2:function(){return o}});const r=["1","2","3","4","6","7","8","9","10","13","17","19","20","24","28","29","30","31","32","34","35","37","40","41","42","44","47","51","80","15","25","26","59","22","23","79","11","69","71","14","27","67","81","75","77","83","85","38","70","72","54","68","52","53","60","46","49","50","82","76","78","84","86","33","61","62","87","88","93","94","95","96","12","18","21","36","39","45","48","63","64","89","90"],i={23:"RainShowersDay",26:"SnowShowersDay",6:"BlowingHail",5:"Cloudy",20:"LightSnow",91:"Windy",27:"Thunderstorms",10:"FreezingRain",77:"RainSnowDay",12:"HazeSmoke",39:"HazeSmokeNightV2_106",24:"RainSnow",78:"RainSnowShowersNight",9:"Fog",3:"PartlyCloudyDay",43:"HailNight",16:"HailDay",8:"LightRain",15:"HeavySnow",28:"ClearNight",30:"PartlyCloudyNight",14:"ModerateRain",1:"SunnyDay",7:"BlowingSnow",50:"RainShowersNight",82:"SnowShowersNight",2:"MostlySunnyDay",29:"MostlyClearNight",4:"MostlyCloudy",31:"MostlyCloudy",19:"LightRainV3",17:"LightRainShowerDay",44:"LightRainShowerNight"},o={17:"17",31:"31",49:"14",41:"14",35:"8",4:"4",19:"19",22:"14",23:"23",40:"8",25:"15",34:"7",47:"20",52:"15",53:"26",57:"7",58:"7",59:"7",60:"7",81:"26",11:"10",37:"10",38:"10",51:"24",65:"16",66:"43",69:"10",70:"10",71:"10",72:"10",73:"16",74:"43",89:"12",92:"91",32:"5",2:"2",101:"1",42:"15",33:"6",61:"6",62:"6",87:"6",88:"6",93:"6",94:"6",95:"6",96:"6",54:"27",67:"27",68:"27",90:"39",18:"9",21:"9",36:"9",45:"9",48:"9",63:"9",64:"9",29:"29",102:"28",44:"44",46:"19",79:"23",80:"50",76:"24",75:"24",83:"77",84:"78",85:"24",86:"24",39:"39",13:"8"};class a{static getWeatherGlyphCode(t){const e=Object.prototype.hasOwnProperty.call(o,t)?o[t]:t;return i[e]}static getWeatherNormalizedSkyCode(t,e=!1){return e&&r.includes(t)?t:Object.prototype.hasOwnProperty.call(o,t)?o[t]:t}}},47717:function(t,e,n){"use strict";n.d(e,{s:function(){return m},v:function(){return v}});var r=n(25280),i=n(30854),o=n(68742),a=n(58043),s=n(75736),u=n(21858),c=n(87554),l=n(80569),d=n(68364),h=n(26415),g=n(33954),f=n(83901),p=n(65135);class v{constructor(t,e){this.truncateTimezone=t,this.locationHref=e}setLocationHref(t){this.locationHref=t}static isValidWeatherSummaryResponse(t){return t&&t.responses&&t.responses[0]&&t.responses[0].weather&&t.responses[0].weather[0]&&t.responses[0].weather[0].forecast&&t.responses[0].weather[0].forecast.days&&t.responses[0].weather[0].forecast.days.length>0}TranslateToWeatherForecast(t,e){var n,i,a,u,c,d,h;if(!v.isValidWeatherSummaryResponse(t))throw new Error("Weather Service response schema validation error: no summary found!");const{degree:g,unit:p}=(0,f.Dw)(t.units.temperature),m=""+(e.latitude||(null===(a=null===(i=null===(n=t.responses[0])||void 0===n?void 0:n.source)||void 0===i?void 0:i.coordinates)||void 0===a?void 0:a.lat)),y=""+(e.longitude||(null===(d=null===(c=null===(u=t.responses[0])||void 0===u?void 0:u.source)||void 0===c?void 0:c.coordinates)||void 0===d?void 0:d.lon)),w=Object.assign(Object.assign({},e),{latitude:m,longitude:y}),b=(0,l.DF)(w,p,{excludeItem:!0,excludeOcid:!0}),S=b.indexOf("?")>0?"&":"?",C=t.responses[0].weather[0],Z=t.responses[0].weather[0].provider,k={isAlert:C.alerts>0,normalizedSkyCode:s.qz.getWeatherNormalizedSkyCode(C.current.pvdrIcon),currentTemperature:C.current.temp&&C.current.temp.toString(),feels:C.current.feels&&C.current.feels.toString(),pvdrIcon:C.current&&C.current.pvdrIcon,aqi:C.current.aqi&&C.current.aqi.toString(),image:{src:r.Xp.getSkyCodeUrl(C.current&&C.current.pvdrIcon,r.Uy.Size50),alt:C.current&&C.current.cap},shortCap:C.current&&C.current.capAbbr,skycode:{children:C.current&&C.current.cap},precipitation:{children:C.forecast&&C.forecast.days&&C.forecast.days[0]&&null!=C.forecast.days[0].precip?`${C.forecast.days[0].precip}%`:void 0},windDir:C.current.windDir,windSpeed:C.current.windSpd&&t.units.speed&&`${C.current.windSpd} ${t.units.speed}`,deepLink:b,degreeSetting:g,alternateDegreeSetting:p===o.a.Celsius?"°F":"°C",comingWeather:null===(h=null==C?void 0:C.current)||void 0===h?void 0:h.comingWeather,life:C.life},T=C.forecast.days.map(((t,e)=>({id:Math.random().toString(24).substring(2),day:t.valid&&new Date(t.valid),highTemperature:`${t.tempHi}°`,lowTemperature:`${t.tempLo}°`,image:{src:r.Xp.getSkyCodeUrl(t.icon&&t.icon.toString()||t.pvdrIcon,r.Uy.Size30),alt:t.cap},pvdrIcon:t.pvdrIcon||""+t.icon,deepLink:`${b}${S}day=${e+1}`})));return{lastUpdated:C.current&&C.current.created,currentCondition:k,forecast:T,unit:p,provider:Z}}TranslateToWeatherOverview(t,e,n,i=!1){var a,u,d,h,g,p,m,y,w,b,S,C,Z,k,T,L,x,M,I,D;if(!v.isValidWeatherSummaryResponse(t)||!t.responses[0].weather[0].current)throw new Error("Weather Service response schema validation error: no summary found!");const _=n||{},A=t.responses[0].weather[0],O="n"===A.current.daytime,{degree:$,unit:F}=(0,f.Dw)(t.units.temperature),R=A.current,N=this.locationHref?{locationHref:this.locationHref}:void 0,W=(0,l.DF)(e,F,N),P=W.indexOf("?")>0?"&":"?",H=null===(g=null===(h=null===(d=null===(u=null===(a=t.responses)||void 0===a?void 0:a[0])||void 0===u?void 0:u.weather)||void 0===d?void 0:d[0])||void 0===h?void 0:h.regiondata)||void 0===g?void 0:g.alert;let B=0,E="";(null==H?void 0:H[0])&&(null==H?void 0:H.some((t=>t.dist<=0)))&&(B=H.filter((t=>t.dist<=0)).length,E=H[0].significance);const G={isAlert:A.alerts&&A.alerts.length>0,currentTemperature:R.temp&&R.temp.toString(),pvdrIcon:R.pvdrIcon,normalizedSkyCode:_.useMockSkyCode?(0,c.D)(e,R.pvdrIcon):s.qz.getWeatherNormalizedSkyCode(R.pvdrIcon,_.enableAppImages),image:{src:r.Xp.getSkyCodeUrl(R.pvdrIcon,r.Uy.Size50),alt:R.cap},shortCap:R.capAbbr,skycode:{children:R.cap},precipitation:{children:A.forecast&&A.forecast.days&&A.forecast.days[0]&&A.forecast.days[0].daily&&null!=A.forecast.days[0].daily.precip?`${A.forecast.days[0].daily.precip}%`:void 0},deepLink:W,degreeSetting:$,alternateDegreeSetting:F===o.a.Celsius?"°F":"°C",uv:Math.floor(R.uv),uvDescription:R.uvDesc,feels:`${R.feels}°`,humidity:`${Math.floor(R.rh)}%`,windDesc:`${R.pvdrWindDir} ${R.pvdrWindSpd}`,windSpeed:`${R.windSpd} ${t.units.speed}`,windDir:R.windDir,dewPoint:null!=R.dewPt?`${R.dewPt}°`:"N/A",baro:`${A.current.baro} ${t.units.pressure}`,visiblity:`${A.current.vis} ${t.units.distance}`,richCaps:A.current.richCaps,aqi:`${A.current.aqi}`,aqiSeverity:A.current.aqiSeverity,aqLevel:A.current.aqLevel,primaryPollutant:A.current.primaryPollutant,isNight:O,currentRaw:R,unitsRaw:t.units,locationRaw:e,alertCount:B,alertSignificance:E,comingWeather:null===(p=null==A?void 0:A.current)||void 0===p?void 0:p.comingWeather,life:A.life},j=[];let U=null;for(let e=0;e<A.forecast.days.length;++e){const n=A.forecast.days[e],i=n.daily,o=O?i.night:i.day,a=0===e?o:i.day;let u,c;if(this.truncateTimezone&&i.valid&&i.valid.includes("T")){const t=i.valid.split("T")[0].split("-");u=new Date(Number(t[0]),Number(t[1])-1,Number(t[2]))}else u=i.valid&&new Date(i.valid);null!=i.windMax?c=`${i.windMax} ${t.units.speed}`:null!=i.pvdrWindSpd&&(c=`${i.pvdrWindDir} ${i.pvdrWindSpd}`);const l=new Map;(null===(m=null==i?void 0:i.day)||void 0===m?void 0:m.summaries)&&l.set("day",i.day.summaries),(null===(y=null==i?void 0:i.night)||void 0===y?void 0:y.summaries)&&l.set("night",i.night.summaries),(null===(w=null==i?void 0:i.tmr)||void 0===w?void 0:w.summaries)&&l.set("tmr",i.tmr.summaries);const d={id:Math.random().toString(24).substring(2),day:u,dayCode:(null===(b=i.day)||void 0===b?void 0:b.pvdrIcon)||(null===(C=null===(S=i.day)||void 0===S?void 0:S.icon)||void 0===C?void 0:C.toString()),nightCode:s.qz.getWeatherNormalizedSkyCode((null===(Z=i.night)||void 0===Z?void 0:Z.pvdrIcon)||(null===(T=null===(k=i.night)||void 0===k?void 0:k.icon)||void 0===T?void 0:T.toString())||i.pvdrIcon),highTemp:i.tempHi,lowTemp:i.tempLo,highTemperature:`${i.tempHi}°`,lowTemperature:`${i.tempLo}°`,image:{src:r.Xp.getSkyCodeUrl(i.pvdrIcon||i.icon&&i.icon.toString(),r.Uy.Size30),alt:i.pvdrCap},pvdrIcon:i.pvdrIcon||""+i.icon,glyphCode:s.qz.getWeatherGlyphCode(i.pvdrIcon),normalizedSkyCode:s.qz.getWeatherNormalizedSkyCode(i.pvdrIcon),precipitation:null!=i.precip?`${i.precip}`:"N/A",nightPrecipitation:null!=(null===(L=i.night)||void 0===L?void 0:L.precip)?`${i.night.precip}`:"N/A",humidity:`${i.rhLo}`,humidityLow:`${i.rhLo}`,humidityHi:`${i.rhHi}`,windSpeed:o?`${o.windSpd}`:"N/A",windSpeedUnit:t.units.speed,airPressure:"N/A",summaries:a?a.summaries:[],dayNightSummaries:l,almanac:n.almanac,deepLink:`${W}${P}day=${e+1}`,hourly:[],uv:i.uv,uvDesc:i.uvDesc,windMaxRaw:i.windMax,windMax:c,windMaxDir:null!=i.windMax?i.windMaxDir:null,cap:i.pvdrCap,nightCap:(null===(x=i.night)||void 0===x?void 0:x.pvdrCap)||(null===(M=i.night)||void 0===M?void 0:M.cap)||i.pvdrCap,dayCap:(null===(I=i.day)||void 0===I?void 0:I.pvdrCap)||(null===(D=i.day)||void 0===D?void 0:D.cap)||i.pvdrCap,rainAmount:null!=i.rainAmount&&`${i.rainAmount} ${t.units.height}`,snowAmount:null!=i.snowAmount&&`${i.snowAmount} ${t.units.height}`};if(n.hourly)for(let e=0;e<n.hourly.length;++e){const r=n.hourly[e];U||(U=r),d.hourly.push((0,f.Sx)(r,t.units))}j.push(d)}if(_.weatherApi&&U&&!i){const e=this.getHistoryData(_.weatherApi.history,t,U);e&&e.length>0&&(j[0].hourly=e.concat(j[0].hourly))}const z=this.translateToAlertsDetail(t),q=z&&z.length>0?z[0]:null,Y=this.translateToRegionData(t),K=this.translateToContentData(t),V=this.translateToMapsMetaData(t);return{lastUpdated:this.evaluteCreatedTime(A.current&&A.current.created,t.responses[0].source,A.disableFreshCheck),currentCondition:G,forecast:j,pollen:A.jwapollen||A.pollen,nowcasting:v.translateToNowcastData(A.nowcasting),source:t.responses[0].source,provider:A.provider,aqiProvider:A.aqiProvider,alertsInfo:q,alertsInfoList:z,regionData:Y,contentData:K,mapsMetaData:V,unit:F,lifeDaily:A.lifeDaily,activityIndexDaily:A.activityIndexDaily}}static translateToNowcastData(t){let e;if(t){const n=(0,a.Z)(t.precipitation,(t=>t>=i.s8.RainThreshold));e=Object.assign(Object.assign({},t),{isRaining:n,useNowcastSummary:n&&t.summary&&t.shortSummary})}return e}translateToAlertsDetail(t){var e,n,r,i,o,a,s,u,c;const l=null===(i=null===(r=null===(n=null===(e=null==t?void 0:t.responses)||void 0===e?void 0:e[0])||void 0===n?void 0:n.weather)||void 0===r?void 0:r[0])||void 0===i?void 0:i.alerts,d=null===(c=null===(u=null===(s=null===(a=null===(o=null==t?void 0:t.responses)||void 0===o?void 0:o[0])||void 0===a?void 0:a.weather)||void 0===s?void 0:s[0])||void 0===u?void 0:u.regiondata)||void 0===c?void 0:c.alert;if(!l||!l[0])return;if(!d||!d.length)return l;const h=l.length,g=[];for(let t=0;t<d.length&&t<h;t++)d[t].dist<=0&&g.push(l[t]);return g}translateToRegionData(t){var e,n,r,i,o,a,s,u,c;const l=null===(o=null===(i=null===(r=null===(n=null===(e=null==t?void 0:t.responses)||void 0===e?void 0:e[0])||void 0===n?void 0:n.weather)||void 0===r?void 0:r[0])||void 0===i?void 0:i.regiondata)||void 0===o?void 0:o.alert,d=null===(c=null===(u=null===(s=null===(a=null==t?void 0:t.responses)||void 0===a?void 0:a[0])||void 0===s?void 0:s.weather)||void 0===u?void 0:u[0])||void 0===c?void 0:c.alerts;if(l&&(null==d?void 0:d[0])&&(null==l?void 0:l.some((t=>t.dist<=0)))&&l.length==d.length){for(let t=0;t<l.length;++t)l[t].localizedTitle=null==d?void 0:d[t].title,l[t].f1code=null==d?void 0:d[t].id;return l}return null}translateToContentData(t){var e,n,r,i;try{const o=null===(i=null===(r=null===(n=null===(e=null==t?void 0:t.responses)||void 0===e?void 0:e[0])||void 0===n?void 0:n.weather)||void 0===r?void 0:r[0])||void 0===i?void 0:i.contentdata,a=[];return(null==o?void 0:o.length)>0&&o.forEach((t=>{var e;if(!(null==t?void 0:t.contenttype))return;const n={id:t.id,cid:t.cid,ranking:t.ranking?t.ranking:0,contenttype:t.contenttype,cf:t.cf,content:[]};(null===(e=t.content)||void 0===e?void 0:e.length)>0&&t.content.forEach((t=>{if(!t)return;const e={title:t.title,body:t.body,imgUrl:t.imgUrl,destUrl:t.destUrl,metadata:t.metadata,displayType:t.displayType,renderPlaces:t.renderPlaces,cap:t.cap,moreBtnText:t.moreBtnText,capIcon:t.capIcon};n.content.push(e)})),a.push(n)})),a.length>0?a:null}catch(t){return null}}translateToMapsMetaData(t){var e,n,r,i;return null===(i=null===(r=null===(n=null===(e=null==t?void 0:t.responses)||void 0===e?void 0:e[0])||void 0===n?void 0:n.weather)||void 0===r?void 0:r[0])||void 0===i?void 0:i.mapsmetadata}getHistoryData(t,e,n){var r;if(-1===t){const t=e.responses[0].weather[0],i=t.current,o=e.responses[0].source.utcOffset,a=(null==n?void 0:n.valid)?(0,u.TR)(new Date(n.valid),-1):new Date;let c,l=t.forecast&&t.forecast.days&&t.forecast.days[0];return l&&(l=l,c=null===(r=null==l?void 0:l.daily)||void 0===r?void 0:r.precip,l.hourly&&l.hourly[0]&&(c=l.hourly[0].precip)),[{temperature:i.temp,cap:i.cap,airPressure:null!=i.baro?`${i.baro}`:"N/A",pressureUnit:e.units.pressure,humidity:null!=i.rh?`${i.rh}%`:"N/A",windGust:null!=i.windGust?`${i.windGust} ${e.units.speed}`:"N/A",dewPt:null!=i.dewPt?`${i.dewPt}°`:"N/A",cloudCover:null!=i.cloudCover?`${i.cloudCover}%`:"N/A",vis:null!=i.vis?`${i.vis} ${e.units.distance}`:"N/A",visibility:i.vis,rh:i.rh,glyphCode:s.qz.getWeatherGlyphCode(i.pvdrIcon),pvdrIcon:i.pvdrIcon,normalizedSkyCode:s.qz.getWeatherNormalizedSkyCode(i.pvdrIcon),feels:i.feels,uv:null!=i.uv?`${i.uv}`:"N/A",time:a,timeStr:a&&(0,u.Y6)(a,o),windSpeed:i.windSpd+"",windSpeedUnit:e.units.speed,windDir:i.windDir,windDesc:i.pvdrWindDir,pvdrWindSpd:i.pvdrWindSpd}]}return[]}getCurrentConditionString(t,e){const n=[];return n.push(e),t&&(n.push(t.pvdrIcon),n.push(t.uv),n.push(t.temp),n.push(t.feels),n.push(t.rh),n.push(t.windSpd),n.push(t.aqi),n.push(t.vis)),n.toString()}evaluteCreatedTime(t,e,n=!1){var r,i;if(t)try{const o=Date.now()-new Date(t).getTime();if(!n&&o>=36e5){const n="Weather data stale more than 1 hour",a=`id: ${null==e?void 0:e.id}, lat: ${null===(r=null==e?void 0:e.coordinates)||void 0===r?void 0:r.lat}, lon: ${null===(i=null==e?void 0:e.coordinates)||void 0===i?void 0:i.lon}, created: ${t}, requested: ${(new Date).toLocaleString()}, latency: ${o}`;p.M0&&p.M0.sendAppErrorEvent((0,d.Tr)(h.dlb,n,a),!1),g.k.log(`${n}, ${a}`)}}catch(e){(0,d.OO)(Error("created:"+t),h.dlb,"error in library [weather-shared],Weather data created time invalid")}return t}}const m=new v(!0)},46758:function(t,e,n){"use strict";n.d(e,{b:function(){return c}});const r={BG_SUNNY:"linear-gradient(180deg, #245494 0%, #1C4484 100%)",BG_SUNNY_NIGHT:"linear-gradient(180deg, #28456E 0%, #142444 100%)",BG_RAIN:"linear-gradient(180deg, #345C84 0%, #2C4C74 100%)",BG_RAIN_NIGHT:"linear-gradient(180deg, #2C466C 0%, #14243C 100%)",BG_SNOW:"linear-gradient(180deg, #295793 0%, #0C3C7C 100%)",BG_SNOW_NIGHT:"linear-gradient(180deg, #1C2C44 0%, #0B1A2C 100%)",BG_DUST:"linear-gradient(180deg, #65513F 0%, #4C3C2C 100%)",BG_DUST_NIGHT:"linear-gradient(180deg, #473F36 0%, #2C241D 100%)",BG_CLOUDY:"linear-gradient(180deg, #4C5C7A 0%, #344464 100%)",BG_CLOUDY_NIGHT:"linear-gradient(180deg, #244D72 0%, #07213B 100%)",BG_STORM:"linear-gradient(180deg, #506078 0%, #44546C 100%)",BG_STORM_NIGHT:"linear-gradient(180deg, #37314D 0%, #14142C 100%)",BG_FOG:"linear-gradient(180deg, #44446C 0%, #2C2C54 100%)",BG_FOG_NIGHT:"linear-gradient(180deg, #2D4156 0%, #1A1C24 100%)",BG_SUNNY_SUNSET:"linear-gradient(180deg, #AE8A90 -5.25%, #202255 74.35%)",BG_CLOUDY_SUNSET:"linear-gradient(180deg, #614E70 18.76%, #373967 74.35%)",BG_PARTLYSUNNY:"linear-gradient(180deg, #3174B7 0%, #003E7C 87.55%)",BG_HAZY:"linear-gradient(180deg, #646059 21.15%, #423D31 57.81%)"},i={BG_SUNNY:"#234e90",BG_SUNNY_NIGHT:"#031a34",BG_RAIN:" #12335b",BG_RAIN_NIGHT:"#101116",BG_SNOW:"#0a397c",BG_SNOW_NIGHT:"#021023",BG_DUST:"#312111",BG_DUST_NIGHT:"#190f09",BG_CLOUDY:"#41506d",BG_CLOUDY_NIGHT:"#0e2945",BG_STORM:"#40546b",BG_STORM_NIGHT:"#140c35",BG_SUNNY_SUNSET:"#252862",BG_CLOUDY_SUNSET:"#252862",BG_PARTLYSUNNY:"#104F8F",BG_HAZY:"#4D483D",BG_FOG:"#302d55",BG_FOG_NIGHT:"#1c2933"},o="rgba(76,56,97,0.2)",a="#302d5f",s="#115699",u="#584e47";class c{static getBackgroudImage(t,e,n=""){return c.getBackgroudElement(t,e,!0,n,!1).contentBackground}static getBackgroudGradient(t,e=!1){return c.getBackgroudElement(t,{},!1,"",e).contentBackground}static getTimelineBackgroudColor(t,e=!1){return c.getBackgroudElement(t,{},!1,"",e).timelineBackgroundColor}static getCarouselBackgroudGradient(t){return c.getBackgroudElement(t,{},!1,"",!1).carouselBackgroundColor}static getBackgroudElement(t,e,n,c="",l=!1){let d={};const h=l?i:r;switch(t){case"1":case"2":case"101":d={contentBackground:n?{"background-image":`url('${c+e.sunnyImageUrl}')`}:{background:h.BG_SUNNY},carouselBackgroundColor:{backgroundColor:"#214D86"},timelineBackgroundColor:h.BG_SUNNY};break;case"3":case"4":d={contentBackground:n?{"background-image":`url('${c+e.partlySunnyImageUrl}')`}:{background:h.BG_PARTLYSUNNY},carouselBackgroundColor:{backgroundColor:"#245E9A"},timelineBackgroundColor:s};break;case"28":case"29":case"102":d={contentBackground:n?{"background-image":`url('${c+e.sunnyNightImageUrl}')`}:{background:h.BG_SUNNY_NIGHT},carouselBackgroundColor:{backgroundColor:"#253F64"},timelineBackgroundColor:h.BG_SUNNY_NIGHT};break;case"8":case"10":case"11":case"13":case"14":case"17":case"19":case"22":case"23":case"24":case"69":case"71":case"75":case"77":case"79":case"83":case"85":d={contentBackground:n?{"background-image":`url('${c+e.rainImageUrl}')`}:{background:h.BG_RAIN},carouselBackgroundColor:{backgroundColor:"#305477"},timelineBackgroundColor:h.BG_RAIN};break;case"35":case"37":case"38":case"40":case"41":case"44":case"46":case"49":case"50":case"51":case"70":case"72":case"76":case"78":case"80":case"84":case"86":d={contentBackground:n?{"background-image":`url('${c+e.rainNightImageUrl}')`}:{background:h.BG_RAIN_NIGHT},carouselBackgroundColor:{backgroundColor:"#284062"},timelineBackgroundColor:h.BG_RAIN_NIGHT};break;case"7":case"15":case"16":case"20":case"25":case"26":case"59":case"81":d={contentBackground:n?{"background-image":`url('${c+e.snowImageUrl}')`}:{background:h.BG_SNOW},carouselBackgroundColor:{backgroundColor:"#264F85"},timelineBackgroundColor:h.BG_SNOW};break;case"34":case"42":case"43":case"47":case"52":case"53":case"60":case"82":d={contentBackground:n?{"background-image":`url('${c+e.snowNightImageUrl}')`}:{background:h.BG_SNOW_NIGHT},carouselBackgroundColor:{backgroundColor:"#1A283E"},timelineBackgroundColor:h.BG_SNOW_NIGHT};break;case"6":case"61":case"87":case"91":case"93":case"95":d={contentBackground:n?{"background-image":`url('${c+e.dustImageUrl}')`}:{background:h.BG_DUST},carouselBackgroundColor:{backgroundColor:"#5C4A3A"},timelineBackgroundColor:h.BG_DUST};break;case"33":case"62":case"88":case"92":case"94":case"96":d={contentBackground:n?{"background-image":`url('${c+e.dustNightImageUrl}')`}:{background:h.BG_DUST_NIGHT},carouselBackgroundColor:{backgroundColor:"#413A32"},timelineBackgroundColor:h.BG_DUST_NIGHT};break;case"5":d={contentBackground:n?{"background-image":`url('${c+e.cloudyImageUrl}')`}:{background:h.BG_CLOUDY},carouselBackgroundColor:{backgroundColor:"#45546F"},timelineBackgroundColor:h.BG_CLOUDY};break;case"30":case"31":case"32":d={contentBackground:n?{"background-image":`url('${c+e.cloudyNightImageUrl}')`}:{background:h.BG_CLOUDY_NIGHT},carouselBackgroundColor:{backgroundColor:"#214667"},timelineBackgroundColor:h.BG_CLOUDY_NIGHT};break;case"27":case"67":d={contentBackground:n?{"background-image":`url('${c+e.stormImageUrl}')`}:{background:h.BG_STORM},carouselBackgroundColor:{backgroundColor:"#4A586E"},timelineBackgroundColor:h.BG_STORM};break;case"54":case"68":d={contentBackground:n?{"background-image":`url('${c+e.stormNightImageUrl}')`}:{background:h.BG_STORM_NIGHT},carouselBackgroundColor:{backgroundColor:"#322D46"},timelineBackgroundColor:h.BG_STORM_NIGHT};break;case"9":case"18":case"21":case"63":case"65":case"73":case"89":d={contentBackground:n?{"background-image":`url('${c+e.fogImageUrl}')`}:{background:h.BG_FOG},carouselBackgroundColor:{backgroundColor:"#3E3E62"},timelineBackgroundColor:h.BG_FOG};break;case"36":case"39":case"45":case"48":case"64":case"66":case"74":case"90":d={contentBackground:n?{"background-image":`url('${c+e.fogNightImageUrl}')`}:{background:h.BG_FOG_NIGHT},carouselBackgroundColor:{backgroundColor:"#2A3C4F"},timelineBackgroundColor:h.BG_FOG_NIGHT};break;case"301":d={contentBackground:n?{"background-image":`url('${c+e.sunnySunsetImageUrl}')`}:{background:h.BG_SUNNY_SUNSET},carouselBackgroundColor:{backgroundColor:"#6A586E"},timelineBackgroundColor:o};break;case"401":d={contentBackground:n?{"background-image":`url('${c+e.cloudySunsetImageUrl}')`}:{background:h.BG_CLOUDY_SUNSET},carouselBackgroundColor:{backgroundColor:"#544565"},timelineBackgroundColor:a};break;case"12":d={contentBackground:n?{"background-image":`url('${c+e.hazyImageUrl}')`}:{background:h.BG_HAZY},carouselBackgroundColor:{backgroundColor:"#5B5751"},timelineBackgroundColor:u}}return d}static getSunriseSunsetSkyCode(t,e=!1){if(!e)return t;switch(t){case"3":case"30":return"301";case"4":case"31":return"401";default:return t}}}},30854:function(t,e,n){"use strict";var r;n.d(e,{Br:function(){return c},JG:function(){return h},SU:function(){return a},Uh:function(){return g},YV:function(){return r},aj:function(){return v},bT:function(){return f},jF:function(){return p},n3:function(){return l},n6:function(){return d},pt:function(){return o},s8:function(){return u},tk:function(){return i}}),function(t){t.layerActivated="ActivatedOn",t.overviewRequestStart="OverviewRequest.start",t.overviewRequestDuration="OverviewRequest.duration",t.overviewRequestInternal="OverviewRequest.internal",t.overviewRequestNetwork="OverviewRequest.network",t.overviewRequestPathHash="OverviewRequest.pathHash",t.pdpRequestStart="pdpRequest.start",t.pdpRequestDuration="pdpRequest.duration"}(r||(r={}));const i="WeatherCondition";var o,a,s,u;!function(t){t[t.normal=0]="normal",t[t.alert=1]="alert",t[t.nowcast=2]="nowcast"}(o||(o={})),function(t){t[t.Start=1]="Start",t[t.WCComplete=2]="WCComplete"}(a||(a={})),function(t){t[t.Unknown=0]="Unknown",t[t.Joined=1]="Joined",t[t.Muted=2]="Muted"}(s||(s={})),function(t){t[t.RainThreshold=11.9]="RainThreshold"}(u||(u={}));const c="weaRecentLocation",l="weaRecentForMobileLocation",d="weaMUIDs",h="isWeaLastLocationFromDetect";var g,f,p,v;!function(t){t[t.setHomeFail=1]="setHomeFail",t[t.exceedPinLocationLimit=2]="exceedPinLocationLimit"}(g||(g={})),function(t){t[t.Hurricane=1]="Hurricane",t[t.NormalWeather=2]="NormalWeather",t[t.Nowcast=3]="Nowcast",t[t.SevereWeather=4]="SevereWeather",t[t["SevereWeather#Spotlight"]=5]="SevereWeather#Spotlight",t[t.GoodWeatherWeekend=6]="GoodWeatherWeekend",t[t["GoodWeatherWeekend#HalfCard"]=7]="GoodWeatherWeekend#HalfCard",t[t.Holiday=8]="Holiday",t[t.NewsHalfCard=9]="NewsHalfCard",t[t.InterestHalfCard=10]="InterestHalfCard",t[t.TomorrowV0=11]="TomorrowV0",t[t.HourlyTrend=12]="HourlyTrend",t[t.LifeIndex=13]="LifeIndex",t[t.LifeSolarTerm=14]="LifeSolarTerm",t[t.LifeHolidayPromotion=15]="LifeHolidayPromotion",t[t.CustomEditorial=16]="CustomEditorial",t[t.AlertNowcast=17]="AlertNowcast",t[t.AQICard=18]="AQICard",t[t.TeaserCard=19]="TeaserCard",t[t.JwaPollen=20]="JwaPollen",t[t.WildFirePointCard=21]="WildFirePointCard",t[t.WildFirePointFullCard=22]="WildFirePointFullCard",t[t.TeaserCardV2=23]="TeaserCardV2",t[t.HurricaneAround=24]="HurricaneAround",t[t.HrcnEvent=25]="HrcnEvent"}(f||(f={})),function(t){t.ImageContent="ImageContent"}(p||(p={})),function(t){t.L1Minimap="L1Minimap",t.CardMinimap="CardMinimap"}(v||(v={}))},46102:function(t,e,n){"use strict";n.d(e,{bc:function(){return a},eE:function(){return s},y6:function(){return u}});var r,i,o=n(54804);!function(t){t.Map="weather::weathermaps",t.MonthlyForecast="weather::weathermonthlyforecast",t.Weather="weather",t.Forecast="weather::weathertoday",t.RecordsAndAveragesPage="weather::weatherrecordsandaverages",t.Life="weather::weatherlife",t.Pollen="weather::weatherpollen",t.HourlyForecast="weather::weatherhourlyforecast"}(r||(r={})),function(t){t[t.Forecast=1]="Forecast",t[t.Map=2]="Map",t[t.MonthlyForecast=3]="MonthlyForecast",t[t.RecordsAndAveragesPage=4]="RecordsAndAveragesPage",t[t.Pollen=5]="Pollen",t[t.Life=6]="Life",t[t.HourlyForecast=7]="HourlyForecast"}(i||(i={}));function a(){var t;return"weather::weatherhourlyforecast"===(null===(t=o.Al.ClientSettings)||void 0===t?void 0:t.pagetype)}function s(){var t;return"weather::weatherlife"===(null===(t=o.Al.ClientSettings)||void 0===t?void 0:t.pagetype)}function u(){return"weather::weathermaps"===(null===(t=o.Al.ClientSettings)||void 0===t?void 0:t.pagetype)?2:function(){var t;return"weather::weathermonthlyforecast"===(null===(t=o.Al.ClientSettings)||void 0===t?void 0:t.pagetype)}()?3:function(){var t;return"weather::weatherrecordsandaverages"===(null===(t=o.Al.ClientSettings)||void 0===t?void 0:t.pagetype)}()?4:s()?6:function(){var t;return"weather::weatherpollen"===(null===(t=o.Al.ClientSettings)||void 0===t?void 0:t.pagetype)}()?5:a()?7:1;var t}},80569:function(t,e,n){"use strict";n.d(e,{cT:function(){return $},DF:function(){return L},eV:function(){return M},Z$:function(){return x},rC:function(){return _}});var r=n(12037);const i={weather:{es:"el-tiempo","es-es":"eltiempo",fr:"meteo",it:"meteo",de:"wetter",nl:"weer",cs:"pocasi",pt:"clima","pt-pt":"meteorologia",da:"vejr",hu:"idojaras",id:"cuaca",fi:"saa",sv:"vader",tr:"havadurumu",pl:"pogoda"},forecast:{es:"pronostico","es-es":"prevision",fr:"previsions",it:"previsioni",de:"vorhersage",nl:"voorspelling",cs:"predpoved","pt-pt":"previsao",da:"vejrudsigt",hu:"elorejelzes",id:"prakiraan",fi:"ennuste",nb:"vaermelding",sv:"prognos",tr:"havadurumutahmini",pl:"prognoza"},maps:{cs:"mapy",da:"kort",de:"karten",es:"mapas",fi:"kartat",fr:"cartes",id:"peta",it:"mappe",nb:"kart",nl:"kaarten",pl:"mapy-pogody",pt:"mapas",sv:"vaderkartor",tr:"haritalar"},monthlyforecast:{da:"manedligprognose",de:"monatlicheprognose",es:"pronosticomensual",fi:"kuukaudenennuste",fr:"previsionsmensuelles",id:"prakiraanbulanan",it:"previsionimensili",nb:"manedligprognose",nl:"maandelijksevoorspelling",pl:"prognozamiesieczna",pt:"previsaomensal",sv:"manadsprognos",tr:"ayliktahmin"},records:{cs:"rekordniaprumerne",da:"rekorder",de:"historisches","de-ch":"rekorde",fi:"Tilastot",hu:"rekordok",id:"catatan",it:"record",nb:"rekorder",pl:"rekordowe",sv:"medeltemperaturer",tr:"mevsim-normalleri","pt-pt":"recordes"},life:{da:"livet",de:"leben",es:"lavida",fi:"elama",fr:"vie",hu:"elet",id:"kehidupan",it:"vita",nb:"liv",nl:"leven",pl:"zycie",pt:"vida",sv:"liv",tr:"hayat"},pollen:{es:"polen",fi:"siitepoly",id:"serbuksari",it:"polline",nl:"stuifmeel",pl:"pylekkwiatowy",pt:"polen"},hourlyforecast:{da:"timeprognose",de:"stundlichevorhersage",es:"previsionhoraria",fi:"tuntiennuste",fr:"previsionhoraire",id:"prakiraanperjam",it:"previsioniorarie",nb:"prognosepertime",nl:"voorspellingperuur",pl:"prognozagodzinowa",pt:"previsaohoraria",sv:"timprognos",tr:"saatliktahmin"}},o="orkaner",a="temperatur",s="synlighet",u="vind",c="vento",l="snofall",d={radar:{fi:"tutka"},hurricane:{cs:"hurikany",da:o,nb:o,sv:o,de:"hurrikane",es:"huracanes",fr:"ouragans",id:"hurikan",it:"uragani",nl:"orkanen",pl:"huragany",pt:"hurricanes",tr:"kasirgalar"},severeweather:{fi:"huonosaa",id:"cuacaburuk",nl:"slechtweer",sv:"ovader"},temperature:{cs:"teplota",da:a,de:a,nb:a,sv:a,fi:"lampotila",id:"suhu",tr:"sicaklik"},precipitation:{cs:"srazky",da:"nedbor",nb:"nedbor",id:"curahhujan",nl:"neerslag",pl:"opady",sv:"nederbord",tr:"yagis"},wildfire:{cs:"lesnipozar",da:"skovbrand",de:"waldbrand",fi:"maastopalo",fr:"feuforet",id:"kebakaran",nb:"skogbrann",pl:"pozar",sv:"skogsbrand"},wind:{cs:"vitr",da:u,nb:u,sv:u,es:"viento",fi:"tuuli",fr:"vent",id:"angin",it:c,pt:c,pl:"wiatr",tr:"ruzgar"},cloud:{cs:"oblacnost",da:"sky",nb:"sky",de:"bewolkung",es:"nube",fi:"pilvi",fr:"nuages",id:"awan",it:"nuvolosita",nl:"bewolking",pt:"nublado",sv:"moln",tr:"bulut"},pressure:{cs:"tlak",da:"lufttryk",de:"druck",fi:"ilmanpaine",fr:"pression",id:"tekanan",it:"pressione",nb:"trykk",nl:"druk",sv:"tryck"},humidity:{cs:"vlhkost",es:"humedad",id:"kelembapan",nb:"fuktighet",pt:"umidade",tr:"nemlilik"},visibility:{da:"synlighed",nb:s,sv:s,nl:"zicht"},dewpoint:{cs:"rosnybod",da:"dugpunkt",de:"taupunkt",fi:"kastepiste",nb:"duggpunkt",nl:"dauwpunt"},winterstorm:{cs:"zimniboure"},airquality:{fi:"ilmanlaatu",fr:"qualiteair"},snowdepth:{cs:"vyskasnehu",nb:"snodybde",pt:"alturaneve",sv:"snodjup"},snowfall:{cs:"snezeni",da:"snefald",de:"schnee",fi:"lumisade",fr:"chuteneige",id:"curahsalju",it:"nevicata",nb:l,sv:l,nl:"sneeuwval",pt:"quedaneve",tr:"karyagisi"},airqualitystation:{},ski:{es:"esquiar",fi:"laskettelu",it:"sci",pl:"narty",pt:"esqui",sv:"skida",tr:"kayak"},pollen:i.pollen,pollenindex:{},etree:{},earthquake:{}};var h=n(68742),g=n(16517),f=n(970),p=n(33379),v=n(80368),m=n(65135),y=n(26415),w=n(29422),b=n(38573);const S={};function C(t){t&&!S[t]&&(S[t]=t.split("-")[0]);return S[t]}function Z(t,e=g.jG.CurrentMarket){const n="string"==typeof t?t:{1:"forecast",4:"records",3:"monthlyforecast",6:"life",5:"pollen",2:"maps",7:"hourlyforecast"}[t],r=i[n];return r&&(r[e]||r[C(e)])||n}function k(t,e){const n=d[t];return n&&(n[e]||n[C(e)])||t}(t=>{const e=Object.keys(d),n=new Map})(g.jG.CurrentMarket);var T;function L(t,e,n){const r=n||{},i=r.linkType||1;return O(t,e,(function(t){return Z(i,t)}),r).toString()}function x(t,e,n,r){const i=r||{},o=O(t,e,(function(t){const e=Z(2,t),r=n&&k(n,t);return n?e+"/"+r:e+"/-"}),i),a=o.searchParams;return I(a,"zoom",i.zoom),I(a,"3d",i["3d"]&&"1"),I(a,"autoplay",i.autoplay&&"1"),I(a,"subs",i.subs),I(a,"wfid",i.wfid),o.toString()}function M(t,e,n={}){const r=O(t,e,(function(t){return Z(6,t)}),n),i=r.searchParams;return I(i,"lifeIndex",n.lifeIndex),I(i,"day",n.day),I(i,"fct",n.fct),r.toString()}function I(t,e,n){n&&t.set(e,""+n)}!function(t){t.ExtendInformation="weaext0",t.WeaDegreeType="weadegreetype",t.EncryptedLocation="el",t.SerializedLocation="loc",t.MiniappDetectedLocation="miniapp-loc",t.Ocid="ocid",t.Cvid="cvid",t.Latitude="lat",t.Longitude="lon",t.EtreeUser="etree-user",t.EtreeTaskID="etree-task-id",t.Content="content"}(T||(T={}));const D={F:h.a.Fahrenheit,C:h.a.Celsius,f:h.a.Fahrenheit,c:h.a.Celsius};function _(t){if(t){const e=(0,v.Ol)(t,"weadegreetype",["weaDegreeType"]);return e&&D[e]||void 0}}function A(t,e,n){if(e&&t){if(!n||!n.excludeItem){const n=t.getAll("item");for(let t=0;t<n.length;++t)e.append("item",n[t])}if(!n||!n.excludeOcid){const n=(0,v.ku)(t);n&&e.set("ocid",n)}}return e||void 0}function O(t,e,n,i){const o=i.locale||g.jG.LocaleContentMarketString||"en-us",a=Z("weather",o),s=n(o);let u,c;if(t&&(u=function(t){return t.urlSlug?t.urlSlug:(0,b.DF)(t,{skipAddressLine:!0}).slice(0,2).map((t=>t.replace(/[/?#%\s]+/g,"-"))).map((t=>encodeURIComponent(t))).join(",")}(t),c=r.q(t),(0,w.isAbnormalLatLon)(t)&&m.M0&&y.hT$)){const e=new Error("seems invalid location for weather link");m.M0.sendAppErrorEvent(Object.assign(Object.assign({},y.hT$),{message:e.message,pb:Object.assign(Object.assign({},y.hT$.pb),{location:{longitude:t.longitude,latitude:t.latitude},stack:(e.stack||"").slice(0,1024)})}),!0)}const l=u?`/in-${u}`:"";let d;(0,p.N)()?d=document.location.href:i.locationHref&&(d=i.locationHref);let h=g.jG.NavTargetHostName;h="zh-cn"===o?h.replace("com","cn"):h,(null==d?void 0:d.includes("localhost.msn.com"))&&(h=document.location.host);const v=new URL(`https://${h}/${o}/${a}/${s}${l}`),S=v.searchParams;return c&&S.set("loc",c),function(t,e){const n=function(t){return["","F","C"][t||0]||""}(e);n&&t&&t.set("weadegreetype",n)}(S,e),(0,p.N)()?A((0,f.L)(),S,i):i.locationHref&&A(new URL(i.locationHref).searchParams,S,i),i.ocid&&S.set("ocid",i.ocid),i.cvid&&S.set("cvid",i.cvid),i.etreeUser&&S.set("etree-user",i.etreeUser),i.etreeTaskID&&S.set("etree-task-id",i.etreeTaskID),i.content&&S.set("content",i.content),v}function $(t,e,n){if(!t)return t;try{const r=new URL(t);return r.searchParams.set(e,n),r.href}catch(e){return t}}},75607:function(t,e,n){"use strict";n.d(e,{Gs:function(){return s},IS:function(){return o}});var r=n(65337);const i="weather_ls_";var o,a;!function(t){t.PollenMobileClosed="pollen_mobile_closed",t.AddMiniappTooltipHasShowed="add_miniapp_tooltip_time_control",t.WeatherBrowserDetectedLocation="weather_browser_detected_location",t.PWAGuideShown="pwa_guide_shown",t.GpuExist="GpuExistInTimev2",t.mobileDivisionPopupHasShowed="mobile_division_popup_has_showed"}(o||(o={})),function(t){t[t.Day=864e5]="Day",t[t.TwoDay=1728e5]="TwoDay",t[t.Week=6048e5]="Week",t[t.OneMonth=2592e6]="OneMonth"}(a||(a={}));class s{constructor(){this.clearingScheduled=!1,this.validKeySet=new Set;for(const t in o)this.validKeySet.add(o[t])}static getInstance(){return s.instance||(s.instance=new s),s.instance}getItem(t){if(this.scheduleClearExpiredEntries(),!this.validKeySet.has(t))return;const e=s.getFullLocalStorageKey(t),n=(0,r.$o)().getObject(e);return!n||n.expireAt<=Date.now()?void 0:n.value}getItemSafe(t,e){var n;try{return null!==(n=this.getItem(t))&&void 0!==n?n:e}catch(t){return e}}setItem(t,e,n="never"){const i=s.getFullLocalStorageKey(t),o="never"===n?"never":Date.now()+n;(0,r.$o)().setObject(i,{value:e,expireAt:o}),this.scheduleClearExpiredEntries()}setItemSafe(t,e,n="never"){try{return this.setItem(t,e,n)}catch(t){}}removeItem(t){const e=s.getFullLocalStorageKey(t);(0,r.$o)().removeItem(e),this.scheduleClearExpiredEntries()}scheduleClearExpiredEntries(){if(this.clearingScheduled)return!1;this.clearingScheduled=!0,setTimeout((()=>this.clearExpiredAndRemovedEntries()),1e4)}clearExpiredAndRemovedEntries(){const t=(0,r.$o)();[...Array(t.length).keys()].map((e=>t.key(e))).filter((t=>t.substring(0,i.length)===i)).filter((t=>{const e=t.substring(i.length);return!this.validKeySet.has(e)||this.isLocalStorageExpired(e)})).map((t=>(0,r.$o)().removeItem(t)))}isLocalStorageExpired(t){const e=s.getFullLocalStorageKey(t),n=(0,r.$o)().getObject(e);return!n||n.expireAt<=Date.now()}static getFullLocalStorageKey(t){return i+t}}},81368:function(t,e,n){"use strict";n.d(e,{Le:function(){return a},Mf:function(){return s},zo:function(){return u}});n(19628);var r=n(54804),i=n(47717),o=n(38573);function a(t){if(!t)return null;const e={longitude:t.Longitude,latitude:t.Latitude,addressLine:t.AddressLine,locality:t.City,subRegion:t.SubRegion,region:t.State,country:t.Country,isoCode:t.CountryCode,language:t.Language||r.Al.Locale,accurateEnough:0===t.Accuracy||null==t.Accuracy||t.Accuracy<207026,accuracy:t.Accuracy};return e.displayName=(0,o.Gf)(e),e}function s(t){const e=parseInt(t);return!(isNaN(e)||e<=0||e>500)}function u(t,e){const n=i.s.TranslateToWeatherOverview(t,e);return n.regionData&&n.regionData.length>1&&(n.alertsInfoList=i.s.translateToAlertsDetail(t)),n}},12037:function(t,e,n){"use strict";n.d(e,{q:function(){return c},v:function(){return l}});var r=n(33954),i=n(31206),o=n.n(i),a=n(50791),s=n.n(a),u=n(38573);const c=function(t){const e={};return function(n){return e.i===n||(e.i=n,e.o=t(n)),e.o}}((function(t){try{const e=(0,u.gl)(t,!0);return o().parse(e).toString(s())}catch(e){r.k.log(`serialize failed, location=${JSON.stringify(t)}`)}}));function l(t){try{const e=s().parse(t).toString(o());return(0,u.$i)(e,!0)||{}}catch(e){return r.k.log(`deserialize failed, serializedLocation=${t}`),{}}}},29422:function(t,e,n){"use strict";n.r(e),n.d(e,{AUTOSUGGEST_SUBTYPE:function(){return l},AUTOSUGGEST_TYPE:function(){return c},addLocation:function(){return F},addLocationForMobileWC:function(){return $},contains:function(){return U},dedup:function(){return z},distance:function(){return y},extractLanguageTag:function(){return W},formatLocation:function(){return O},getAutoSuggestLocationFirstLine:function(){return _},getAutoSuggestLocationSecondLine:function(){return A},getAutoSuggestionName:function(){return M},getDisplayName:function(){return j},getHyperlocalType:function(){return g},headLocation:function(){return P},hyperlocalLabeled:function(){return h},isAbnormalLatLon:function(){return k},isCurrentLocaleName:function(){return N},isHyperlocal:function(){return d},isSameLocationName:function(){return p},isSameLocationPoint:function(){return f},isValid:function(){return C},isValidLatLon:function(){return Z},isValidLocationNameStructure:function(){return I},isValidLocationToSuggest:function(){return T},normalizeLatLong:function(){return x},parseDetailShortInfo:function(){return b},removeLocation:function(){return R},reset:function(){return S},resolveNameFromLocalityRegionCountry:function(){return E},shouldIgnoreSubRegion:function(){return m},showReverseName:function(){return G},toDebugString:function(){return L},toDetailShortInfo:function(){return w},toLatLong:function(){return H},transformToClientLocation:function(){return B},truncateFloatTo3Decimal:function(){return v}});var r=n(16517),i=n(54804),o=n(4596),a=n(38573);new Set(["CN","JP","TW"]);const s=new Set(["河北省","山西省","辽宁省","吉林省","黑龙江省","江苏省","浙江省","安徽省","福建省","江西省","山东省","河南省","湖北省","湖南省","广东省","海南省","四川省","贵州省","云南省","陕西省","甘肃省","青海省","台湾省","内蒙古自治区","广西壮族自治区","西藏自治区","宁夏回族自治区","新疆维吾尔自治区"]);var u;!function(t){t[t.HYPERLOCAL=101]="HYPERLOCAL",t[t.NONHYPERLOCAL=102]="NONHYPERLOCAL",t[t.UNKNOWN=103]="UNKNOWN"}(u||(u={}));const c={PLACE:"Place",LOCAL_BUSINESS:"LocalBusiness",ADDRESS:"PostalAddress"},l={ADDRESS:"Address",ROAD:"Road"};function d(t){return t.locationType===u.HYPERLOCAL||t.locationType===u.UNKNOWN}function h(t){return!!(null==t?void 0:t.locationType)&&(t.locationType===u.HYPERLOCAL||t.locationType===u.NONHYPERLOCAL||t.locationType===u.UNKNOWN)}function g(t,e){switch(t){case c.PLACE:return u.NONHYPERLOCAL;case c.LOCAL_BUSINESS:return u.HYPERLOCAL;case c.ADDRESS:return e===l.ADDRESS?u.HYPERLOCAL:e===l.ROAD?u.NONHYPERLOCAL:u.UNKNOWN;default:return u.UNKNOWN}}function f(t,e,n=!1){if(t&&e){let r=""+(t[0]||t.latitude),i=""+(e[0]||e.latitude),o=""+(t[1]||t.longitude),a=""+(e[1]||e.longitude);return n&&(r=v(r).toString(),o=v(o).toString(),i=v(i).toString(),a=v(a).toString()),r===i&&o==a}return!1}function p(t,e){return!(!t||!e)&&j(t)===j(e)}function v(t){const e="number"==typeof t?t:parseFloat(t);return Math.trunc(1e3*e)/1e3}function m(t){return(0,a.vt)(t)}function y(t,e){function n(t){const e=Math.sin(t/2);return e*e}function r(t){return t*Math.PI/180}e=e||{};const i=[r(+(t=t||{}).latitude),r(+t.longitude)],o=[r(+e.latitude),r(+e.longitude)],a=n(Math.abs(i[0]-o[0]))+Math.cos(i[0])*Math.cos(o[0])*n(Math.abs(i[1]-o[1]));return 12742*Math.asin(Math.sqrt(a))}function w(t,e=!1){return(0,a.gl)(t,e)}function b(t,e=!1){return(0,a.$i)(t,e)}function S(t){const e=t||{};Object.keys(e).forEach((t=>{e[t]=null}))}function C(t){return(0,a.JY)(t)}function Z(t){return(0,a.JY)(t)}function k(t){return(void 0!==t.latitude||void 0!==t.longitude)&&(!Z(t)||""+t.latitude=="-1"&&""+t.longitude=="-1")}function T(t){var e;if("zh-cn"===(null===(e=null==t?void 0:t.language)||void 0===e?void 0:e.toLowerCase())){if(!(null==t?void 0:t.country))return!1;if(null==t?void 0:t.addressLine){if(!(null==t?void 0:t.locality)&&!(null==t?void 0:t.subRegion)&&!(null==t?void 0:t.region)&&s.has(t.addressLine))return!1}else if(!(null==t?void 0:t.subRegion)&&!(null==t?void 0:t.region)&&s.has(null==t?void 0:t.locality))return!1}return!(!t||!t.addressLine&&!t.locality)}function L(t){if(t)return t.el?`el=[${t.el}]`:`lat=${t.latitude},long=${t.longitude}`}function x(t,e){return(0,a.br)(t,e)}function M(t){if(t){if(t.autoSuggestionName)return t.autoSuggestionName;return E(t,{enforceSmallLocaleFirst:!0})}}function I(t){const e=r.jG.AppType;return["windowsShell","windows","newsAndInterests","windowsNewsPlus","winWidgets"].indexOf(e)>=0?!(!t||!(t.addressLine||t.locality||t.region)):"zh-cn"===t.language||"CN"===t.isoCode?!(!t||!(t.addressLine||t.locality||t.subRegion||t.addressLine)):!(!t||!t.locality&&!t.addressLine)}function D(t,e){var n;const i=null===(n=null===r.jG||void 0===r.jG?void 0:r.jG.LocaleContentMarket)||void 0===n?void 0:n.market,o=(t.isoCode||"").toUpperCase(),a=o&&i&&i.substr(-o.length).toUpperCase()===o,s=[t.addressLine,t.locality,!m(t.isoCode)&&t.subRegion,!(null==e?void 0:e.skipRegionAndCountry)&&t.region,!(null==e?void 0:e.skipRegionAndCountry)&&!a&&t.country].filter((t=>!!t));return s.filter(((t,e)=>t!==s[e+1]))}function _(t){return D(t)[0]}function A(t){return D(t).slice(1).join(", ")}function O(t,e){const n=D(t,e);return G(t.language)&&n.reverse(),n.join(", ")}function $(t,e){if(!e)return t;if(!t||!t.length)return[e];t=t||[];const n=e.isDetected?[e,...t]:[t[0],e,...t.slice(1)],r={},i=[];for(let t=0;t<n.length;++t){const e=j(n[t]),o=`${n[t].latitude},${n[t].longitude}`;r[e]||r[o]||(0!=t&&(n[t].isDetected=!1),i.push(n[t]),r[e]=t+1,r[o]=t+1)}return i}function F(t,e){if(!e)return t;t=t||[];const n=[Object.assign({},e),...t],r={},i=[];for(let t=0;t<n.length;++t){const e=j(n[t]),o=`${n[t].latitude},${n[t].longitude}`;r[e]||r[o]||(i.push(n[t]),r[e]=t+1,r[o]=t+1)}return i}function R(t,e){if(!t||!e)return t;for(let n=0;n<t.length;++n)if(j(t[n])===j(e)||t[n].latitude===e.latitude&&t[n].longitude===e.longitude){t.splice(n,1);break}return t}function N(t){const e=i.Al.Locale;return t&&t.language&&(t.language===e||/en-/i.test(t.language)&&/en-/i.test(e))}function W(t){return(/,g=([a-z]+-[a-z]+)$/i.exec(t)||[])[1]}function P(){if(i.Al.ClientSettings&&i.Al.ClientSettings.geo_lat&&i.Al.ClientSettings.geo_long&&""!==i.Al.ClientSettings.geo_lat&&""!==i.Al.ClientSettings.geo_long){const t={latitude:i.Al.ClientSettings.geo_lat,longitude:i.Al.ClientSettings.geo_long,locality:i.Al.ClientSettings.geo_city,region:i.Al.ClientSettings.geo_subdivision,country:i.Al.ClientSettings.geo_countryname,isoCode:i.Al.ClientSettings.geo_country,isDetected:!0,language:"en-us"};return t.region=(0,o.abbreviateUSState)(t.region,t.language,t.isoCode),t.displayName=j(t),t}return null}function H(t){return`${t.latitude},${t.longitude}`}function B(t){return t?{country:t.Country,region:t.State,addressLine:t.AddressLine,locality:t.City,subRegion:t.SubRegion,postalCode:t.PostalCode,isoCode:t.CountryCode,latitude:t.Latitude,longitude:t.Longitude,displayName:void 0,language:t.Language||i.Al.Locale}:{}}function E(t,e){return(0,a.zl)(t,e)}function G(t){return(0,a.EC)(t)}function j(t,e){return(0,a.Gf)(t,e)}function U(t,e){if(!t)return!1;for(const n of t)if(f(n,e))return!0;return!1}function z(t){if(!t)return[];const e=new Set,n=[];for(const r of t){const t=j(r);e.has(t)||(e.add(t),n.push(r))}return n}},68913:function(t,e,n){"use strict";n.d(e,{b:function(){return r}});class r{static latlonToPixelXY(t,e,n){const r=this.clip(t,this.MinLatitude,this.MaxLatitude),i=(this.clip(e,this.MinLongitude,this.MaxLongitude)+180)*this.ReciprocalOf360,o=Math.sin(r*this.PerDegree),a=.5-Math.log((1+o)/(1-o))*this.ReciprocalOf4Pi;return[this.modPositive(i*n,n),this.modPositive(a*n,n)]}static modPositive(t,e){return(t%=e)<0?t+e:t}static clip(t,e,n){return Math.min(n,Math.max(e,t))}static MapSize(t){return 256<<t}static latLonsToPixel(t,e,n,i=r.zoomLevelMap){return r.toPixelArray(t,e,n,r.widthCardHalf,r.heightCardHalf,i)}static latLonsToPixelLandingPage(t,e,n,i=1600,o=210,a=r.zoomLevelMap){return r.toPixelArray(t,e,n,(i-1)/2,(o-1)/2,a)}static latLonToPixel(t,e,n=1600,i=210,o=r.zoomLevelMap){const a=t[0],s=t[1],u=r.latlonToPixelXY(a,s,r.getMapSizePixel(o));return[u[0]-e[0]+(n-1)/2,u[1]-e[1]+(i-1)/2]}static latLonToPixelCard(t,e,n=r.zoomLevelMap){const i=t[0],o=t[1],a=r.latlonToPixelXY(i,o,r.getMapSizePixel(n));return[a[0]-e[0]+r.widthCardHalf,a[1]-e[1]+r.heightCardHalf]}static toPixelArray(t,e,n,i,o,a=r.zoomLevelMap){const s=r.getMapSizePixel(a),u=r.latlonToPixelXY(e,n,s),c=[];return t.forEach((t=>{const e=t[1],n=t[0],a=r.latlonToPixelXY(e,n,s),l=a[0]-u[0]+i,d=a[1]-u[1]+o;c.push([l,d])})),c}static getMapSizePixel(t=7){return 256<<t}static getRad(t){return t*Math.PI/180}static getDistance(t,e,n,i){let o=0;try{const a=r.getRad(t),s=r.getRad(n),u=r.getRad(t)-r.getRad(n),c=r.getRad(e)-r.getRad(i);o=2*Math.asin(Math.sqrt(Math.pow(Math.sin(u/2),2)+Math.cos(a)*Math.cos(s)*Math.pow(Math.sin(c/2),2))),o*=r.EARTH_RADIUS}catch(t){o=0}return Math.round(o)}static convertKm2Mile(t){const e=.62137*t;return Math.round(e)}}r.MinLongitude=-180,r.MaxLongitude=180,r.MinLatitude=-85.05112878,r.MaxLatitude=85.05112878,r.ReciprocalOf360=1/360,r.TwoPi=2*Math.PI,r.ReciprocalOfPi=1/Math.PI,r.ReciprocalOf4Pi=1/(4*Math.PI),r.PerDegree=Math.PI/180,r.widthMap=1600,r.heightMap=210,r.maxHeightMap=400,r.widthMapCard=1200,r.heightMapCard=400,r.zoomLevelMap=7,r.widthHalf=(r.widthMap-1)/2,r.heightHalf=(r.heightMap-1)/2,r.widthCardHalf=(r.widthMapCard-1)/2,r.heightCardHalf=(r.heightMapCard-1)/2,r.mapSizePixel=256<<r.zoomLevelMap,r.EARTH_RADIUS=6378.137},21256:function(t,e,n){"use strict";n.d(e,{GE:function(){return c},g_:function(){return a},lI:function(){return s}});var r=n(68913);n(19628);const i=new Map([["SN","winterstorm"],["IC","winterstorm"],["IM","winterstorm"],["FD","wildfire"],["AQ","airqualitystation"],["SM","airqualitystation"],["DU","airqualitystation"],["VO","airqualitystation"],["AS","airqualitystation"]]),o="severeweather";function a(t,e,n=r.b.widthMap,i=r.b.heightMap,o=r.b.zoomLevelMap,a=30){const s=(n-1)/2+a,u=(i-1)/2+a,c=r.b.getMapSizePixel(o),l=r.b.latlonToPixelXY(t.lat,t.lon,c),d=[l[0]-s,l[1]-u],h=[l[0]+s,l[1]+u],g=o-e+8;return{minTileX:d[0]>>g,maxTileX:h[0]>>g,minTileY:d[1]>>g,maxTileY:h[1]>>g,pixelXY:l,pixelLT:d,pixelRB:h}}function s(t,e){if(!t)return null;const n=i.get(t);return(null==e?void 0:e.includes(n))?n:(null==e?void 0:e.includes(o))?o:null}function u(t){const e=""+(t||"0");return e.length<2?"0"+e:e}function c(t,e,n,r){const i=parseInt(t.substring(0,4)),o=parseInt(t.substring(4,6))-1,a=parseInt(t.substring(6,8)),s=parseInt(t.substring(8,10)),c=parseInt(t.substring(10,12)),l=n?new Date(Date.UTC(i,o,a,s,c)):new Date(i,o,a,s,c),d=new Date(l);d.setMinutes(l.getMinutes()+e);const h=d.getFullYear().toString()+u(d.getMonth()+1)+u(d.getDate())+u(d.getHours());return r?h:h+u(d.getMinutes())}new Map([["rain-low","https://assets.msn.com/weathermapdata/1/static/img/animation/rain-low.png"],["rain-avg","https://assets.msn.com/weathermapdata/1/static/img/animation/rain-avg.png"],["rain-hvy","https://assets.msn.com/weathermapdata/1/static/img/animation/rain-hvy.png"],["sleet-low","https://assets.msn.com/weathermapdata/1/static/img/animation/sleet-low.png"],["sleet-avg","https://assets.msn.com/weathermapdata/1/static/img/animation/sleet-avg.png"],["sleet-hvy","https://assets.msn.com/weathermapdata/1/static/img/animation/sleet-hvy.png"],["snow-low","https://assets.msn.com/weathermapdata/1/static/img/animation/snow-low.png"],["snow-avg","https://assets.msn.com/weathermapdata/1/static/img/animation/snow-avg.png"],["snow-hvy","https://assets.msn.com/weathermapdata/1/static/img/animation/snow-hvy.png"]]),new Map([["low","#98B2CA"],["avg","#7891B5"],["hvy","#506984"]]),new Map([["0",new Map([["89","#001add"],["97","#00cc31"],["105","#00e300"],["113","#00bd00"],["121","#009600"],["129","#99d300"],["137","#f8ec00"],["145","#e7c000"],["153","#f89e00"],["161","#ff5600"],["169","#fb0000"],["177","#de0000"]])],["1",new Map([["89","#79b837"],["105","#078f33"],["121","#014b24"],["137","#eec040"],["153","#d05d2c"],["169","#830826"]])],["2",new Map([["89","#aae1e0"],["105","#5ad2e0"],["121","#249fdb"],["137","#1547bd"],["153","#101e96"],["169","#01016e"]])],["3",new Map([["89","#edb2c7"],["105","#df71a9"],["121","#bb338f"],["137","#8a139b"],["153","#660888"],["169","#470765"]])]]),new Map([["89","low"],["105","low"],["121","avg"],["137","hvy"],["153","hvy"],["169","hvy"]]),new Map([["1","rain"],["2","snow"],["3","sleet"]])},83901:function(t,e,n){"use strict";n.d(e,{Dw:function(){return s},Gy:function(){return u},Sx:function(){return c}});var r=n(68742),i=n(87554),o=n(75736),a=n(25280);function s(t){return"°ฟาเรนไฮด์"===t||"‎°ف"===t||t===r.a.Fahrenheit?{degree:"°F",unit:r.a.Fahrenheit}:"°เซลเซียส"===t||"‎°م"===t||t===r.a.Celsius?{degree:"°C",unit:r.a.Celsius}:(""+t).replace(/\u200e/g,"").includes("F")?{degree:"°F",unit:r.a.Fahrenheit}:{degree:"°C",unit:r.a.Celsius}}function u(t,e,n){var r,u,c,l,d;if(!(null===(l=null===(c=null===(u=null===(r=null==t?void 0:t.responses)||void 0===r?void 0:r[0])||void 0===u?void 0:u.weather)||void 0===c?void 0:c[0])||void 0===l?void 0:l.current))return null;const h=n||{},g=t.responses[0].weather[0],f="n"===g.current.daytime,{degree:p}=s(t.units.temperature),v=g.current;return{isAlert:g.alerts&&g.alerts.length>0,currentTemperature:v.temp&&v.temp.toString(),pvdrIcon:v.pvdrIcon,normalizedSkyCode:h.useMockSkyCode?(0,i.D)(e,v.pvdrIcon):o.qz.getWeatherNormalizedSkyCode(v.pvdrIcon,h.enableAppImages),image:{src:a.Xp.getSkyCodeUrl(v.pvdrIcon,a.Uy.Size50),alt:v.cap},shortCap:v.capAbbr,skycode:{children:v.cap},precipitation:{children:g.forecast&&g.forecast.days&&g.forecast.days[0]&&g.forecast.days[0].daily&&null!=g.forecast.days[0].daily.precip?`${g.forecast.days[0].daily.precip}%`:void 0},deepLink:"",degreeSetting:p,alternateDegreeSetting:p.includes("C")?"°F":"°C",uv:Math.floor(v.uv),uvDescription:v.uvDesc,feels:`${v.feels}°`,humidity:`${Math.floor(v.rh)}%`,windDesc:`${v.pvdrWindDir} ${v.pvdrWindSpd}`,windSpeed:`${v.windSpd} ${t.units.speed}`,windDir:v.windDir,dewPoint:null!=v.dewPt?`${v.dewPt}°`:"N/A",baro:`${g.current.baro} ${t.units.pressure}`,visiblity:`${g.current.vis} ${t.units.distance}`,richCaps:g.current.richCaps,aqi:`${g.current.aqi}`,aqiSeverity:g.current.aqiSeverity,primaryPollutant:g.current.primaryPollutant,isNight:f,currentRaw:v,unitsRaw:t.units,locationRaw:e,alertCount:v.alertCount,alertSignificance:v.alertSignificance,comingWeather:null===(d=null==g?void 0:g.current)||void 0===d?void 0:d.comingWeather,life:g.life,source:t.responses[0].source}}function c(t,e){return{temperature:t.temp,cap:t.cap,airPressure:null!=t.baro?`${t.baro}`:"N/A",pressureUnit:e.pressure,humidity:null!=t.rh?`${t.rh}%`:"N/A",windGust:null!=t.windGust?`${t.windGust} ${e.speed}`:"N/A",dewPt:null!=t.dewPt?`${t.dewPt}°`:"N/A",cloudCover:null!=t.cloudCover?`${t.cloudCover}%`:"N/A",vis:null!=t.vis?`${t.vis} ${e.distance}`:"N/A",visibility:null!=t.vis?parseFloat(t.vis):null,rh:t.rh,glyphCode:o.qz.getWeatherGlyphCode(t.pvdrIcon),normalizedSkyCode:o.qz.getWeatherNormalizedSkyCode(t.pvdrIcon),pvdrIcon:t.pvdrIcon,icon:t.icon,feels:t.feels,precipitation:null!=t.precip?`${t.precip}`:"N/A",uv:null!=t.uv?""+t.uv:"N/A",time:new Date(t.valid),timeStr:t.valid,windSpeed:t.windSpd+"",windSpeedUnit:e.speed,windDir:t.windDir,windDesc:t.pvdrWindDir,pvdrWindSpd:t.pvdrWindSpd,summary:t.summary}}},4596:function(t,e,n){"use strict";n.r(e),n.d(e,{abbreviateUSState:function(){return i},toCamelCase:function(){return o}});const r={Alabama:"AL",Alaska:"AK",Arizona:"AZ",Arkansas:"AR",California:"CA",Colorado:"CO",Connecticut:"CT",Delaware:"DE",Florida:"FL",Georgia:"GA",Hawaii:"HI",Idaho:"ID",Illinois:"IL",Indiana:"IN",Iowa:"IA",Kansas:"KS",Kentucky:"KY",Louisiana:"LA",Maine:"ME",Maryland:"MD",Massachusetts:"MA",Michigan:"MI",Minnesota:"MN",Mississippi:"MS",Missouri:"MO",Montana:"MT",Nebraska:"NE",Nevada:"NV","New Hampshire":"NH","New Jersey":"NJ","New Mexico":"NM","New York":"NY","North Carolina":"NC","North Dakota":"ND",Ohio:"OH",Oklahoma:"OK",Oregon:"OR",Pennsylvania:"PA","Rhode Island":"RI","South Carolina":"SC","South Dakota":"SD",Tennessee:"TN",Texas:"TX",Utah:"UT",Vermont:"VT",Virginia:"VA",Washington:"WA","West Virginia":"WV",Wisconsin:"WI",Wyoming:"WY","American Samoa":"AS","District of Columbia":"DC",Guam:"GU","Marshall Islands":"MH","Northern Mariana Island":"MP","Puerto Rico":"PR","Virgin Islands":"VI"};function i(t,e,n){return"US"!==n&&"us"!==n||"en-us"!==e?t:r[t]||t}function o(t,e){return t&&JSON.parse(JSON.stringify(t,(function(t,n){if(n&&"object"==typeof n&&!Array.isArray(n)){const t={};for(const r in n)if(Object.hasOwnProperty.call(n,r)){t[e&&e[r]||r&&r.charAt(0).toLowerCase()+r.substring(1)]=n[r]}return t}return n})))}},51325:function(t,e,n){"use strict";n.d(e,{Wc:function(){return c},qe:function(){return u}});var r=n(75607),i=n(65135),o=n(16517),a=n(65337);const s=6e5,u="miniapp_detected_loc";function c(){return new Promise(((t,e)=>{if(o.jG.isMiniProgram){const n=JSON.parse((0,a.$o)().getItem(u)||""),c=Object.assign(Object.assign({},n),{isDetected:!0});n?t(c):e()}else if(navigator&&navigator.geolocation){function l(e){const{latitude:n,longitude:o,accuracy:a}=e&&e.coords||{};i.M0&&i.M0.sendClientLogEvent({message:`Browser detected api: accuracy is ${a}, latitude is ${n}, longitude is ${o} `,type:"information"});const u={latitude:n+"",longitude:o+"",isDetected:!0,accuracy:a};!function(t){const e=JSON.stringify(t);r.Gs.getInstance().setItem(r.IS.WeatherBrowserDetectedLocation,e,s)}(u),t(u)}function d(t){const{code:n,message:r}=t||{};i.M0&&i.M0.sendClientLogEvent({message:JSON.stringify({browserDetectedFail:{code:n,message:r}}),type:"information"}),e()}const h=function(){const t=r.Gs.getInstance().getItem(r.IS.WeatherBrowserDetectedLocation);if(t)return JSON.parse(t)}();if(h)return void t(h);navigator.geolocation.getCurrentPosition(l,d,{maximumAge:6e4,timeout:5e3,enableHighAccuracy:!0})}else e()}))}},38573:function(t,e,n){"use strict";n.d(e,{$i:function(){return w},DF:function(){return l},EC:function(){return d},Gf:function(){return a},JY:function(){return v},XA:function(){return b},aQ:function(){return u},br:function(){return y},gl:function(){return g},mH:function(){return s},vt:function(){return p},zl:function(){return c}});var r=n(16517),i=n(65135),o=n(26415);function a(t,e){if(t)return t.displayName?t.displayName:c(t,e)}function s(t,e){const n=t&&t.displayName,r=l(t,{enforceOnlySmallLocal:!0}),a=r.length>0?r[0]:n;return a||i.M0.sendAppErrorEvent(Object.assign(Object.assign({},o.s$v),{message:`ShortlocationNameArr: ${r}.\n             CurrentLocation: ${JSON.stringify(t)}. \n             Error: Short location name in ${e} is empty.`})),a}function u(t){return`${t.latitude},${t.longitude}`}function c(t,e){return l(t,e).join(", ")}function l(t,e){const n=!e||!e.skipLocale,i=!(null==e?void 0:e.skipAddressLine),o=r.jG&&r.jG.LocaleContentMarket&&r.jG.LocaleContentMarket.market,a=(t.isoCode||"").toUpperCase(),s=a&&o&&o.substr(-a.length).toUpperCase()===a,u=p(t.isoCode)?null:t.subRegion,c=[i&&t.addressLine,n?t.locality:"",u,t.region,t.country].filter((t=>!!t));let l=0;for(;c[l+1];)c[l+1]===c[l]?c.splice(l+1,1):l++;const h="CN"==(null==o?void 0:o.toUpperCase())?1:2;if(t.country&&s&&c.length>h&&c.splice(-1,1),e&&e.enforceOnlySmallLocal&&c.length>0){return[/,/.test(c[0])?c[0].split(",")[0]:c[0]]}return e&&e.enforceSmallLocaleFirst||d(t.language)&&c.reverse(),c}function d(t){return t&&h.has(t.toUpperCase())}const h=new Set(["ZH-CN","KO-KR","JA-JP"]);function g(t,e=!1){const n={a:t.addressLine,l:t.locality,r:t.region,r2:t.subRegion,c:t.country,i:t.isoCode,t:t.locationType,g:t.language,x:e?t.longitude:void 0,y:e?t.latitude:void 0,n:r.jG.isMiniProgram?t.displayName:void 0},i=JSON.stringify(n,((t,e)=>null!=e&&""!==e?e:void 0));return"{}"!==i?i:void 0}const f=new Set(["CN","JP","TW"]);function p(t){return!f.has((t||"").toUpperCase())}function v(t){const e=parseFloat(null==t?void 0:t.latitude),n=parseFloat(null==t?void 0:t.longitude);return m(e,-85,85)&&m(n,-180,180)&&(0!==e||0!==n)}function m(t,e,n){return!isNaN(t)&&t>=e&&t<=n}function y(t,e){return{latitude:""+parseFloat(t),longitude:""+parseFloat(e)}}function w(t,e=!1){if(t)try{const n=JSON.parse(t),i={};return i.addressLine=n.a,i.locality=n.l,i.region=n.r,i.subRegion=n.r2,i.country=n.c,i.isoCode=n.i,i.locationType=n.t,i.language=n.g,e&&(i.latitude=n.y,i.longitude=n.x),r.jG.isMiniProgram&&(i.displayName=n.n),i}catch(t){return}}function b(t,e){return S(null==t?void 0:t.longitude,null==e?void 0:e.longitude)&&S(null==t?void 0:t.latitude,null==e?void 0:e.latitude)}function S(t,e){return!(!t||!e)&&C(t)===C(e)}function C(t){const e=parseFloat(t),n=Math.pow(10,6);return Math.round(e*n)/n}},66900:function(t,e,n){"use strict";n.d(e,{BG:function(){return f},Hu:function(){return g},VO:function(){return m},aS:function(){return p},wf:function(){return v}});var r=n(80368),i=n(12037),o=n(38573),a=n(16517),s=n(65337),u=n(51325),c=n(33379),l=n(12884);const d=/^.*(?:we-city-|\/)(-?\d*\.\d+),(-?\d*\.\d+)[\D]*$/,h=/\/in-([^/]+)$/;function g(t){if(!t)return;const e=t.searchParams||new URLSearchParams(t.search),n=t.pathname,a=(0,r.Ol)(t.searchParams,"el");if(a)return{el:a};const s=(0,r.Ol)(t.searchParams,"loc");let u={};if(s&&(u=i.v(s)),!u.latitude&&!u.longitude){const t=d.exec(n);t&&(u.latitude=t[1],u.longitude=t[2])}if(!u.latitude&&!u.longitude){const e=((0,r.Ol)(t.searchParams,"q")||"").split(",");if(2===e.length){const t={latitude:""+parseFloat(e[0]),longitude:""+parseFloat(e[1])};(0,o.JY)(t)&&(u=Object.assign(Object.assign({},u),t))}}return u.latitude||u.longitude||(u.latitude=(0,r.Ol)(t.searchParams,"lat"),u.longitude=(0,r.Ol)(t.searchParams,"lon")),u.latitude&&u.longitude&&(u=Object.assign(Object.assign(Object.assign({},u),(0,o.br)(u.latitude,u.longitude)),(0,o.$i)((0,r.Ol)(e,"weaext0"))||{})),(0,o.JY)(u)?u:void 0}function f(t){const e=h.exec(t.pathname);if(e)try{return decodeURIComponent(e[1])}catch(t){}}function p(t){const e=(0,r.Ol)(t.searchParams,"miniapp-loc");if(e)return i.v(e)}function v(t){try{if(!a.jG.isMiniProgram)return!1;let e=JSON.parse((0,s.$o)().getItem(u.qe)||"{}");if(!(0,c.N)()||null==e.longitude||null==e.latitude){const t=(0,l.l4)(),n=new URL(t);n.searchParams.has("miniapp-loc")&&(e=p(n),m(e))}return(0,o.XA)(e,t)}catch(t){return console.log("err",t),!1}}function m(t){(0,s.$o)().setItem(u.qe,JSON.stringify(t))}},51854:function(t,e,n){"use strict";n.d(e,{d3:function(){return c},zL:function(){return u}});var r=n(66900),i=n(80569),o=n(46102),a=n(33379);const s=/^\/([a-z]{1,}-[a-z]{1,})/i;class u{constructor(t){this.rawURL=t,this.url=new URL(t)}query(){return this.url.searchParams}getURLString(){return this.rawURL}location(){return(0,r.Hu)(this.url)}getLocationSearchText(){return(0,r.BG)(this.url)}miniappDetectedLocation(){return(0,r.aS)(this.url)}getCalendar(){return this.url.searchParams.get("calendar")||""}getForecastTab(){return this.url.searchParams.get("fcsttab")||null}unit(){return(0,i.rC)(this.url.searchParams)}animatedRadarMap(){if(this.url.searchParams){return!!this.url.searchParams.get("animation")}return!1}tileDataZoom(){if(this.url.searchParams){const t=this.url.searchParams.get("tiledatazoom");return parseInt(t)}return null}day(){const t=parseInt(this.url.searchParams.get("day"));if(!Number.isNaN(t))return t}hour(){const t=parseInt(this.url.searchParams.get("hour"));return Number.isNaN(t)?void 0:t}activity(){return this.url.searchParams.get("activity")||null}update(t,e){if(t){const n=this.market(),r=(0,o.y6)(),a=new URL((0,i.DF)(t,e,{excludeItem:!0,excludeOcid:!0,linkType:r,locale:n})),s=a.searchParams;this.url.pathname=a.pathname,this.clearQueries(),this.param("loc",s.get("loc")),this.param("weadegreetype",s.get("weadegreetype")),this.rawURL=this.url.toString()}return this.rawURL}dynamicBackground(){const t=this.url.searchParams.get("dynamicbg");return t&&("1"===t||"TRUE"===t.toUpperCase())}market(){const t=s.exec(this.url.pathname);return t&&t[1]}clearQueries(){const t={};this.url.searchParams.forEach(((e,n)=>{t[n.toLowerCase()]=n}));for(const e in t)u.KEEP_QUERIES.has(e)||this.url.searchParams.delete(t[e])}param(t,e){null!=e&&this.url.searchParams.set(t,""+e)}pushState(){(0,a.N)()&&this.rawURL!==location.href&&history.pushState(null,null,this.rawURL)}getSourceParam(){return this.url.searchParams.get("src")||null}}function c(t,e,n){return e.split(",").forEach((e=>{if(e.startsWith("|")){const r=e.split("|");if(r.length<=2)return;if(!r[2].startsWith("/"))return;const o=r[2].split("/"),a=o[1],s=new u(n),c=s.location()||t.currentCondition.locationRaw,l=s.unit()||t.unit,d=s.market(),h=s.query(),g={ocid:h.get("ocid"),cvid:h.get("cvid"),etreeUser:h.get("etreeUser"),etreeTaskID:h.get("etreeTaskID"),locale:d};switch(a){case"maps":if(o.length>2){const t=o[2];n=(0,i.Z$)(c,l,t,Object.assign(Object.assign({},g),{zoom:h.get("zoom"),"3d":!!h.get("3d"),autoplay:!!h.get("autoplay")}))}break;case"life":n=(0,i.eV)(c,l,Object.assign({},g));break;default:n=(0,i.DF)(c,l,Object.assign(Object.assign({},g),{linkType:a}))}}else n+=e})),n}u.KEEP_QUERIES=new Set(["ocid","form","setflight","item","pcsonly","calendar","fct"].map((t=>t.toLowerCase())))},25389:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(79951),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mode=o.AnimationMode.animateFrom,e}return i(e,t),e}(o.default);e.default=a},73157:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(97611),i=function(){function t(t){var e=this;this.pause=function(){r.invokeFunctionForEach(e.animations,"pause")},this.finish=function(){r.invokeFunctionForEach(e.animations,"finish")},this.cancel=function(){r.invokeFunctionForEach(e.animations,"cancel")},this.animations=t}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){var e=this;this._onFinish=t;var n=this.getLongestAnimation();if("function"==typeof n.onFinish){var r=n.onFinish;n.onFinish=function(){r(),e._onFinish()}}else n.onFinish=this._onFinish},enumerable:!1,configurable:!0}),t.prototype.play=function(){r.invokeFunctionForEach(this.animations,"play")},t.prototype.reverse=function(){r.invokeFunctionForEach(this.animations,"reverse")},t.prototype.getLongestAnimation=function(){var t=this;return this.animations.reduce((function(e,n){var r=t.getAnimationDuration(e.effectTiming);return t.getAnimationDuration(n.effectTiming)>=r?n:e}))},t.prototype.getAnimationDuration=function(t){var e=t.duration,n="string"==typeof e?parseFloat(e):e;return(t.delay||0)+(n||0)},t}();e.default=i},19444:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(97611),i=function(){function t(t){var e=this;this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){r.invokeFunctionForEach(e.animations,"pause")},this.finish=function(){r.invokeFunctionForEach(e.animations,"finish")},this.cancel=function(){r.invokeFunctionForEach(e.animations,"cancel")},this.animations=t}return t.prototype.applySequencedCallback=function(t,e){var n=this,r=t.length;r<=0||(t.forEach((function(t,i){t.onFinish=i<r-1?n.animations[i+1][e]:n.onFinish||void 0})),t[0][e]())},t}();e.default=i},10098:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(79951),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mode=o.AnimationMode.animateTo,e}return i(e,t),e}(o.default);e.default=a},79951:function(t,e){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.AnimationMode=void 0,function(t){t[t.animateTo=0]="animateTo",t[t.animateFrom=1]="animateFrom"}(n=e.AnimationMode||(e.AnimationMode={}));var r=function(){function t(t,e,n){var r=this;this.effectTiming={fill:"forwards",iterations:1,duration:500},this._keyframes=[],this.play=function(){r.ensureAnimationObjectExists(),r.animation.play()},this.pause=function(){r.ensureAnimationObjectExists(),r.animation.pause()},this.finish=function(){r.ensureAnimationObjectExists(),r.animation.finish()},this.cancel=function(){r.ensureAnimationObjectExists(),r.animation.cancel()},this.reverse=function(){r.ensureAnimationObjectExists(),r.animation.reverse()},this.addKeyframes=function(t){r._keyframes.push(t)},this.animationTarget=t,n&&(this.effectTiming=Object.assign({},this.effectTiming,n)),e&&(e.transformOrigin&&(t.style.transformOrigin=e.transformOrigin),e.transformStyle&&(t.style.transformStyle=e.transformStyle)),this.options=e||{}}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){this._onFinish=t,this.animation&&(this.animation.onfinish=t)},enumerable:!1,configurable:!0}),t.prototype.ensureAnimationObjectExists=function(){void 0===this.animation&&this.createAnimationObject()},t.prototype.createAnimationObject=function(){this.animation=new Animation(this.keyframeEffect,document.timeline),void 0!==this.onFinish&&(this.animation.onfinish=this.onFinish),void 0!==this.onCancel&&(this.animation.oncancel=this.onCancel)},t.prototype.getPropertiesToAnimate=function(){var e=this;return Object.keys(t.propertyMap).filter((function(n){return t.propertyMap[n].reduce((function(t,n){return void 0!==e.options[n]||t}),!1)}))},t.prototype.normalizeInitialValue=function(t,e){if(void 0!==e){var n="0.01";switch(t){case"transform":var r=e.match(/matrix\((.+)\)/);if(Array.isArray(r))return"matrix("+r[1].split(",").map((function(t,r){return 0===parseFloat(e)&&(0===r||3===r)?n:t})).join(",")+")";break;case"opacity":return 0===parseFloat(e)?n:e}return e}},t.prototype.getInitialKeyframeValues=function(){var t=this;if(!(this.animationTarget instanceof HTMLElement)||"undefined"==typeof window)return{};var e=this.getPropertiesToAnimate(),n=window.getComputedStyle(this.animationTarget),r={};return e.forEach((function(e){r[e]=t.normalizeInitialValue(e,n[e])})),r},t.prototype.formatTransformFunction=function(e,n){if(-1===t.propertyMap.transform.indexOf(e))return"";switch(e){case"x":case"y":e="translate"+e.toUpperCase(),n="number"==typeof n?n=this.pixelify(n):n;break;case"rotate":n=n.toString()+"deg";break;case"scale":0===n&&(n=.01)}return"string"!=typeof n&&(n=n.toString()),e+"("+n+")"},t.prototype.pixelify=function(t){return t+"px"},t.prototype.getOptionKeyframeValues=function(){var e=this,n=this.getPropertiesToAnimate(),r={};return n.forEach((function(n){r[n]=t.propertyMap[n].map((function(t){var n=e.options[t];if(void 0===n)return null;switch(t){case"opacity":return n.toString();case"top":case"right":case"bottom":case"left":return"number"==typeof n?e.pixelify(n):n;default:return e.formatTransformFunction(t,n)}})).filter((function(t){return Boolean(t)})).join(" ")})),r},t.prototype.getOptionKeyframes=function(){var t=[this.getInitialKeyframeValues(),this.getOptionKeyframeValues()];return this.mode===n.animateFrom?t.reverse():t},t.prototype.sortOffsets=function(t){return t.sort((function(t,e){var n=parseFloat(t),r=parseFloat(e);return n<r?-1:n>r?1:0}))},t.prototype.consolidateKeyframes=function(t){var e=[];return t.forEach((function(t){t.forEach((function(t,n){var r=t.offset;void 0===r&&(r=0===n?0:1,t.offset=r);var i=r.toString();e[i]=void 0===e[i]?t:Object.assign(e[i],t)}))})),this.sortOffsets(Object.keys(e)).map((function(t){return e[t]}))},Object.defineProperty(t.prototype,"keyframes",{get:function(){return this.consolidateKeyframes(this._keyframes.concat([this.getOptionKeyframes()]))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyframeEffect",{get:function(){return new KeyframeEffect(this.animationTarget,this.keyframes,this.effectTiming)},enumerable:!1,configurable:!0}),t.propertyMap={opacity:["opacity"],transform:["x","y","rotate","scale"],top:["top"],left:["left"],bottom:["bottom"],right:["right"]},t}();e.default=r},2792:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.navPane=e.exponentialReversed=e.fastInFortySevenPercent=e.exponential=e.fastInOut=e.fastOut=e.fastIn=e.appToApp=e.backToApp=e.drillIn=e.easeIn=e.easeOutSmooth=e.easeOut=e.linear=void 0,e.linear=[[0,0],[1,1]],e.easeOut=[[0,0],[.58,1]],e.easeOutSmooth=[[0,.35],[.15,1]],e.easeIn=[[.25,.1],[.25,1]],e.drillIn=[[.17,.17],[0,1]],e.backToApp=[[.5,0],[.6,1]],e.appToApp=[[.5,0],[1,.9]],e.fastIn=[[.1,.9],[.2,1]],e.fastOut=[[.9,.1],[1,.2]],e.fastInOut=[[.8,0],[.2,1]],e.exponential=[[.1,.25],[.75,.9]],e.fastInFortySevenPercent=[[.11,.5],[.24,.96]],e.exponentialReversed=[[.25,.1],[.9,.75]],e.navPane=[[.1,.7],[.1,1]]},30444:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cubicBezier=e.formatCubicBezier=void 0;var r=n(2792);function i(t){if(!Array.isArray(t)||!Array.isArray(t[0])||!Array.isArray(t[1]))return"";var e=t[0],n=t[1];return"cubic-bezier("+e[0]+", "+e[1]+", "+n[0]+", "+n[1]+")"}e.formatCubicBezier=i,e.cubicBezier=function(t){return r.hasOwnProperty(t)?i(r[t]):""}},42230:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fadeOut=e.fadeIn=e.applyFade=e.fadeEffectTiming=e.fadeOutKeyframes=e.fadeInKeyframes=void 0;var r=n(10098);function i(t,n,i){void 0===i&&(i={});var o=Object.assign({},e.fadeEffectTiming,i),a=new r.default(t,null,o);return a.addKeyframes(n),a}e.fadeInKeyframes=[{opacity:"0.01"},{opacity:"1"}],e.fadeOutKeyframes=[{opacity:"1"},{opacity:"0"}],e.fadeEffectTiming={easing:"linear",duration:500},e.applyFade=i,e.fadeIn=function(t,n){return void 0===n&&(n={}),i(t,e.fadeInKeyframes,n)},e.fadeOut=function(t,n){return void 0===n&&(n={}),i(t,e.fadeOutKeyframes,n)}},12902:function(t,e,n){"use strict";e.xQ=void 0;var r=n(10098);e.xQ=r.default,n(25389).default,n(73157).default,n(19444).default,n(79951).default;var i=n(42230);var o=n(30444);n(91876).default,n(33416).default,n(27440).default},56345:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(18402),i=n(58514),o=n(97533),a=function(){function t(){var t=this;this.subscriptions=[],this.scrollDistance=0,this.openRequestAnimationFrame=!1,this.useRequestAnimationFrame=!1,this.requestFrame=function(){t.openRequestAnimationFrame||(t.openRequestAnimationFrame=!0,window.requestAnimationFrame(t.update))},this.useRequestAnimationFrame=window.hasOwnProperty("requestAnimationFrame"),this.lastScrollY=o.default(),this.update=this.update.bind(this)}return t.prototype.subscribe=function(t,e){t instanceof HTMLElement&&"function"==typeof e&&!this.isSubscribed(t,e)&&(0===this.subscriptions.length&&(this.useRequestAnimationFrame?window.addEventListener("scroll",this.requestFrame):(this.update=r.throttle(this.update,1e3/60),window.addEventListener("scroll",this.update))),this.subscriptions.push({element:t,callback:e,inView:i.default(t)}))},t.prototype.unsubscribe=function(t,e){this.subscriptions=this.subscriptions.filter((function(n){return!(t===n.element&&e===n.callback)})),0===this.subscriptions.length&&window.removeEventListener("scroll",this.useRequestAnimationFrame?this.requestFrame:this.update)},t.prototype.update=function(){var t=o.default();this.openRequestAnimationFrame=!1,this.scrollDistance=t-this.lastScrollY,this.lastScrollY=t},t.prototype.isSubscribed=function(t,e){return!!this.subscriptions.filter((function(n){return t===n.element&&e===n.callback})).length},t}();e.default=a},91876:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(58514),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.update=function(){var e=this;t.prototype.update.call(this),this.subscriptions.forEach((function(t){var n=o.default(t.element);n&&t.callback(e.scrollDistance),n!==t.inView&&(t.inView=n)}))},e}(n(56345).default);e.default=a},33416:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(58514),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.update=function(){var e=this;t.prototype.update.call(this),this.subscriptions.forEach((function(t,n){var r=o.default(t.element);r&&!t.inView&&t.callback(e.scrollDistance),r!==t.inView&&(t.inView=r)}))},e}(n(56345).default);e.default=a},27440:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(58514),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.update=function(){var e=this;t.prototype.update.call(this),this.subscriptions.forEach((function(t,n){var r=o.default(t.element);!r&&t.inView&&t.callback(e.scrollDistance),r!==t.inView&&(t.inView=r)}))},e}(n(56345).default);e.default=a},97611:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.invokeFunctionForEach=void 0,e.invokeFunctionForEach=function(t,e){t.forEach((function(t){return t[e]()}))}},58514:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.getBoundingClientRect();return e.bottom>=0&&e.right>=0&&e.top<=window.innerHeight&&e.left<=window.innerWidth}},97533:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return"undefined"==typeof window?NaN:void 0!==window.scrollY?window.scrollY:window.pageYOffset}},99478:function(t,e,n){"use strict";function r(t,...e){return t.replace(/{(\d+)}/g,(function(t,n){if(n>=e.length)return t;const r=e[n];return"number"==typeof r||r?r:""}))}function i(t){return!t||!t.trim()}n.d(e,{TF:function(){return i},WU:function(){return r}})},30196:function(t,e){var n;t.exports=(n=n||function(t,e){var n=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(t){var e=n(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=e?n:4*t.length},toString:function(t){return(t||u).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)e[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,r=[],i=function(e){e=e;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(e=18e3*(65535&e)+(e>>16)&r)&r;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o<e;o+=4){var s=i(4294967296*(n||t.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,e)}}),s=r.enc={},u=s.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(n,e/2)}},c=s.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(n,e)}},l=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},d=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),u=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*o,c=t.min(4*u,i);if(u){for(var l=0;l<u;l+=o)this._doProcessBlock(r,l);var d=r.splice(0,u);n.sigBytes-=c}return new a.init(d,c)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),h=(i.Hasher=d.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new h.HMAC.init(t,n).finalize(e)}}}),r.algo={});return r}(Math),n)},50791:function(t,e,n){var r;t.exports=(r=n(30196),function(){var t=r,e=t.lib.WordArray;function n(t,n,r){for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r[t.charCodeAt(a-1)]<<a%4*2,u=r[t.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|u)<<24-o%4*8,o++}return e.create(i,o)}t.enc.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=t.indexOf(a);-1!==s&&(e=s)}return n(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},31206:function(t,e,n){var r;t.exports=(r=n(30196),r.enc.Utf8)},84795:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.instanceOf=e.select=e.not=e.when=void 0;const r=n(16969);e.when=t=>({[r.PatternKind]:r.Guard,[r.Guard]:t});e.not=t=>({[r.PatternKind]:r.Not,[r.Not]:t}),e.select=function(t){return void 0===t?{[r.PatternKind]:r.Select,[r.Select]:r.AnonymousSelectKey}:{[r.PatternKind]:r.Select,[r.Select]:t}};e.instanceOf=t=>(0,e.when)(function(t){return e=>e instanceof t}(t))},76148:function(t,e,n){"use strict";e.EQ=e.gx=void 0;const r=n(16969),i=n(84795);Object.defineProperty(e,"gx",{enumerable:!0,get:function(){return i.when}});const o=n(87972);e.EQ=t=>a(t,[]);const a=(t,e)=>{const n=()=>{const n=e.find((({test:e})=>e(t)));if(!n){let e;try{e=JSON.stringify(t)}catch(n){e=t}throw new Error(`Pattern matching error: no pattern matches value ${e}`)}return n.handler(n.select(t),t)};return{with(...n){const i=n[n.length-1],o=[],s=[];for(let t=0;t<n.length-1;t++){const e=n[t];"function"==typeof e?s.push(e):o.push(e)}let c={};return a(t,e.concat([{test:t=>Boolean(o.some((e=>u(e,t,((t,e)=>{c[t]=e}))))&&s.every((e=>e(t)))),handler:i,select:t=>Object.keys(c).length?r.AnonymousSelectKey in c?c[r.AnonymousSelectKey]:c:t}]))},when:(n,r)=>a(t,e.concat([{test:n,handler:r,select:t=>t}])),otherwise:n=>a(t,e.concat([{test:()=>!0,handler:n,select:t=>t}])).run(),exhaustive:()=>n(),run:n}},s=t=>Boolean(t&&"object"==typeof t),u=(t,e,n)=>{if(s(t)){if((i=t)&&i[r.PatternKind]===r.Guard)return Boolean(t[r.Guard](e));if((t=>t&&t[r.PatternKind]===r.Select)(t))return n(t[r.Select],e),!0;if((t=>t&&t[r.PatternKind]===r.Not)(t))return!u(t[r.Not],e,n);if(!s(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;if(1===t.length){const r={},i=(t,e)=>{r[t]=(r[t]||[]).concat([e])},o=e.every((e=>u(t[0],e,i)));return o&&Object.keys(r).forEach((t=>n(t,r[t]))),o}return t.length===e.length&&t.every(((t,r)=>u(t,e[r],n)))}if(t instanceof Map)return e instanceof Map&&[...t.keys()].every((r=>u(t.get(r),e.get(r),n)));if(t instanceof Set){if(!(e instanceof Set))return!1;if(0===t.size)return 0===e.size;if(1===t.size){const[r]=[...t.values()];return Object.values(o.__).includes(r)?u([r],[...e.values()],n):e.has(r)}return[...t.values()].every((t=>e.has(t)))}return Object.keys(t).every((r=>r in e&&u(t[r],e[r],n)))}var i;return e===t}},16969:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnonymousSelectKey=e.Select=e.Not=e.Guard=e.PatternKind=void 0,e.PatternKind=Symbol("@ts-pattern/pattern-kind"),e.Guard=Symbol("@ts-pattern/guard"),e.Not=Symbol("@ts-pattern/not"),e.Select=Symbol("@ts-pattern/select"),e.AnonymousSelectKey="@ts-pattern/__anonymous-select-key"},87972:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.__=void 0;const r=n(84795);const i=(0,r.when)((function(t){return!0})),o=(0,r.when)((function(t){return"string"==typeof t})),a=(0,r.when)((function(t){return"number"==typeof t})),s=(0,r.when)((function(t){return Number.isNaN(t)})),u=(0,r.when)((function(t){return"boolean"==typeof t})),c=(0,r.when)((function(t){return null==t}));e.__=Object.assign(i,{string:o,number:a,NaN:s,boolean:u,nullish:c})},19628:function(t,e){"use strict";var n=function(){function t(){}return t.IsNullOrWhiteSpace=function(t){try{return null==t||"undefined"==t||t.toString().replace(/\s/g,"").length<1}catch(t){return console.log(t),!1}},t.Join=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];try{var i=n[0];if(Array.isArray(i)||i instanceof Array){for(var o=t.Empty,a=0;a<i.length;a++){var s=i[a];a<i.length-1?o+=s+e:o+=s}return o}if("object"==typeof i){var u=t.Empty,c=i;return Object.keys(i).forEach((function(t){u+=c[t]+e})),u=u.slice(0,u.length-e.length)}var l=n;return t.join.apply(t,[e].concat(l))}catch(e){return console.log(e),t.Empty}},t.Format=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];try{return e.match(t.regexNumber)?t.format(t.regexNumber,e,n):e.match(t.regexObject)?t.format(t.regexObject,e,n,!0):t.Empty}catch(e){return console.log(e),t.Empty}},t.format=function(e,n,r,i){return void 0===i&&(i=!1),n.replace(e,(function(e,n){var o,a=e.split(":");return a.length>1&&(n=a[0].replace("{",""),e=a[1].replace("}","")),null==(o=i?r[0][n]:r[n])||null==o||e.match(/{\d+}/)||void 0!==(o=t.parsePattern(e,o))&&null!=o?o:t.Empty}))},t.parsePattern=function(e,n){switch(e){case"L":return n.toLowerCase();case"U":return n.toUpperCase();case"d":if("string"==typeof n)return t.getDisplayDateFromString(n);if(n instanceof Date)return t.Format("{0:00}.{1:00}.{2:0000}",n.getDate(),n.getMonth(),n.getFullYear());break;case"s":if("string"==typeof n)return t.getSortableDateFromString(n);if(n instanceof Date)return t.Format("{0:0000}-{1:00}-{2:00}",n.getFullYear(),n.getMonth(),n.getDate());break;case"n":"string"!=typeof n&&(n=n.toString());var r=n.replace(/,/g,".");if(isNaN(parseFloat(r))||r.length<=3)break;var i=r.split(/[^0-9]+/g),o=i;i.length>1&&(o=[t.join.apply(t,[""].concat(i.splice(0,i.length-1))),i[i.length-1]]);var a=o[0],s=a.length%3,u=s>0?a.substring(0,s):t.Empty,c=a.substring(s).match(/.{3}/g);return(u=u+"."+t.Join(".",c))+(o.length>1?","+o[1]:"")}return"number"!=typeof n&&isNaN(n)||isNaN(+e)||t.IsNullOrWhiteSpace(n)?n:t.formatNumber(n,e)},t.getDisplayDateFromString=function(t){var e;if((e=t.split("-")).length<=1)return t;var n=e[e.length-1],r=e[e.length-2],i=e[e.length-3];return(n=(n=n.split("T")[0]).split(" ")[0])+"."+r+"."+i},t.getSortableDateFromString=function(e){var n=e.replace(",","").split(".");if(n.length<=1)return e;var r=n[n.length-1].split(" "),i=t.Empty;r.length>1&&(i=r[r.length-1]);var o=n[n.length-1].split(" ")[0]+"-"+n[n.length-2]+"-"+n[n.length-3];return!t.IsNullOrWhiteSpace(i)&&i.length>1?o+="T"+i:o+="T00:00:00",o},t.formatNumber=function(t,e){var n=e.length,r=t.toString();if(n<=r.length)return r;var i=n-r.length;return new Array(i+=1).join("0")+r},t.join=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];for(var i=t.Empty,o=0;o<n.length;o++)if(!("string"==typeof n[o]&&t.IsNullOrWhiteSpace(n[o])||"number"!=typeof n[o]&&"string"!=typeof n[o])){i+=""+n[o];for(var a=o+1;a<n.length;a++)if(!t.IsNullOrWhiteSpace(n[a])){i+=e,o=a-1;break}}return i},t.regexNumber=/{(\d+(:\w*)?)}/g,t.regexObject=/{(\w+(:\w*)?)}/g,t.Empty="",t}();e.Ld=n;var r=function(){function t(t){void 0===t&&(t=n.Empty),this.Values=[],this.Values=new Array(t)}return t.prototype.ToString=function(){return this.Values.join("")},t.prototype.Append=function(t){this.Values.push(t)},t.prototype.AppendFormat=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];this.Values.push(n.Format.apply(n,[t].concat(e)))},t.prototype.Clear=function(){this.Values=[]},t}()},22734:function(t){t.exports='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M17.75 3C19.55 3 21 4.46 21 6.25v11.5c0 1.8-1.46 3.25-3.25 3.25H6.25A3.25 3.25 0 013 17.75V6.25C3 4.45 4.46 3 6.25 3h11.5zm1.75 5.5h-15v9.25c0 .97.78 1.75 1.75 1.75h11.5c.97 0 1.75-.78 1.75-1.75V8.5zm-11.75 6a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zm4.25 0a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zm-4.25-4a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zm4.25 0a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zm4.25 0a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zm1.5-6H6.25c-.97 0-1.75.78-1.75 1.75V7h15v-.75c0-.97-.78-1.75-1.75-1.75z"></path></svg>'},66244:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}},87679:function(t,e){"use strict";e.Z=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}},27218:function(t,e,n){"use strict";var r=n(62816);e.Z=function(t,e,n){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===u?s==s&&!(0,r.Z)(s):n(s,u)))var u=s,c=a}return c}},62562:function(t,e,n){"use strict";var r=n(94830);e.Z=function(t,e){var n=[];return(0,r.Z)(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}},8426:function(t,e){"use strict";e.Z=function(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}},15306:function(t,e){"use strict";e.Z=function(t,e){return t>e}},50539:function(t,e,n){"use strict";var r=n(35066),i=n(23857),o=n(68025),a=n(72160),s=n(86176),u=n(71155),c=Math.min;e.Z=function(t,e,n){for(var l=n?o.Z:i.Z,d=t[0].length,h=t.length,g=h,f=Array(h),p=1/0,v=[];g--;){var m=t[g];g&&e&&(m=(0,a.Z)(m,(0,s.Z)(e))),p=c(m.length,p),f[g]=!n&&(e||d>=120&&m.length>=120)?new r.Z(g&&m):void 0}m=t[0];var y=-1,w=f[0];t:for(;++y<d&&v.length<p;){var b=m[y],S=e?e(b):b;if(b=n||0!==b?b:0,!(w?(0,u.Z)(w,S):l(v,S,n))){for(g=h;--g;){var C=f[g];if(!(C?(0,u.Z)(C,S):l(t[g],S,n)))continue t}w&&w.push(S),v.push(b)}}return v}},13719:function(t,e){"use strict";e.Z=function(t,e){return t<e}},43319:function(t,e,n){"use strict";var r=n(57673),i=n(89395),o=n(11827);e.Z=function(t,e,n){for(var a=-1,s=e.length,u={};++a<s;){var c=e[a],l=(0,r.Z)(t,c);n(l,c)&&(0,i.Z)(u,(0,o.Z)(c,t),l)}return u}},17606:function(t,e){"use strict";e.Z=function(t){return function(e){return null==t?void 0:t[e]}}},83614:function(t,e){"use strict";var n=Math.floor,r=Math.random;e.Z=function(t,e){return t+n(r()*(e-t+1))}},26026:function(t,e){"use strict";e.Z=function(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}},91656:function(t,e,n){"use strict";var r=n(72160);e.Z=function(t,e){return(0,r.Z)(e,(function(e){return t[e]}))}},35988:function(t,e,n){"use strict";var r=n(59472);e.Z=function(t){return(0,r.Z)(t)?t:[]}},28630:function(t,e,n){"use strict";var r=n(87679),i=n(7295),o=n(16490),a=RegExp("['’]","g");e.Z=function(t){return function(e){return(0,r.Z)((0,o.Z)((0,i.Z)(e).replace(a,"")),t,"")}}},9604:function(t,e,n){"use strict";var r=n(57649),i=n(84708),o=n(43698),a=n(45180),s=r.Z.isFinite,u=Math.min;e.Z=function(t){var e=Math[t];return function(t,n){if(t=(0,o.Z)(t),(n=null==n?0:u((0,i.Z)(n),292))&&s(t)){var r=((0,a.Z)(t)+"e").split("e"),c=e(r[0]+"e"+(+r[1]+n));return+((r=((0,a.Z)(c)+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}},24973:function(t,e,n){"use strict";var r=n(83614);e.Z=function(t,e){var n=-1,i=t.length,o=i-1;for(e=void 0===e?i:e;++n<e;){var a=(0,r.Z)(n,o),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}},20613:function(t,e,n){"use strict";var r=n(84708);e.Z=function(t,e){var n;if("function"!=typeof e)throw new TypeError("Expected a function");return t=(0,r.Z)(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}},31825:function(t,e,n){"use strict";var r=n(57801),i=(0,n(28630).Z)((function(t,e,n){return e=e.toLowerCase(),t+(n?(0,r.Z)(e):e)}));e.Z=i},57801:function(t,e,n){"use strict";var r=n(45180),i=n(29460);e.Z=function(t){return(0,i.Z)((0,r.Z)(t).toLowerCase())}},35997:function(t,e,n){"use strict";var r=n(45517),i=n(15974),o=n(84708),a=Math.ceil,s=Math.max;e.Z=function(t,e,n){e=(n?(0,i.Z)(t,e,n):void 0===e)?1:s((0,o.Z)(e),0);var u=null==t?0:t.length;if(!u||e<1)return[];for(var c=0,l=0,d=Array(a(u/e));c<u;)d[l++]=(0,r.Z)(t,c,c+=e);return d}},45766:function(t,e,n){"use strict";var r=n(18639),i=n(43698);e.Z=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=(0,i.Z)(n))==n?n:0),void 0!==e&&(e=(e=(0,i.Z)(e))==e?e:0),(0,r.Z)((0,i.Z)(t),e,n)}},39490:function(t,e,n){"use strict";var r=n(24077),i=n(23197),o=Object.prototype.hasOwnProperty,a=(0,i.Z)((function(t,e,n){o.call(t,n)?++t[n]:(0,r.Z)(t,n,1)}));e.Z=a},7295:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=(0,n(17606).Z)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),i=n(45180),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var s=function(t){return(t=(0,i.Z)(t))&&t.replace(o,r).replace(a,"")}},72554:function(t,e,n){"use strict";var r=n(35651),i=n(72831),o=n(15974),a=n(85889),s=Object.prototype,u=s.hasOwnProperty,c=(0,r.Z)((function(t,e){t=Object(t);var n=-1,r=e.length,c=r>2?e[2]:void 0;for(c&&(0,o.Z)(e[0],e[1],c)&&(r=1);++n<r;)for(var l=e[n],d=(0,a.Z)(l),h=-1,g=d.length;++h<g;){var f=d[h],p=t[f];(void 0===p||(0,i.Z)(p,s[f])&&!u.call(t,f))&&(t[f]=l[f])}return t}));e.Z=c},30416:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=(0,n(17606).Z)({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),i=n(45180),o=/[&<>"']/g,a=RegExp(o.source);var s=function(t){return(t=(0,i.Z)(t))&&a.test(t)?t.replace(o,r):t}},41752:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(66244),i=n(94830);var o=function(t,e){var n=!0;return(0,i.Z)(t,(function(t,r,i){return n=!!e(t,r,i)})),n},a=n(81257),s=n(92170),u=n(15974);var c=function(t,e,n){var i=(0,s.Z)(t)?r.Z:o;return n&&(0,u.Z)(t,e,n)&&(e=void 0),i(t,(0,a.Z)(e,3))}},52489:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(84708),i=n(44656);var o=function(t,e,n,o){var a=t.length;for((n=(0,r.Z)(n))<0&&(n=-n>a?0:a+n),(o=void 0===o||o>a?a:(0,r.Z)(o))<0&&(o+=a),o=n>o?0:(0,i.Z)(o);n<o;)t[n++]=e;return t},a=n(15974);var s=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&(0,a.Z)(t,e,n)&&(n=0,r=i),o(t,e,n,r)):[]}},68151:function(t,e,n){"use strict";var r=n(80323),i=n(62562),o=n(81257),a=n(92170);e.Z=function(t,e){return((0,a.Z)(t)?r.Z:i.Z)(t,(0,o.Z)(e,3))}},13987:function(t,e,n){"use strict";var r=n(8426),i=n(79926),o=n(81257);e.Z=function(t,e){return(0,r.Z)(t,(0,o.Z)(e,3),i.Z)}},40755:function(t,e,n){"use strict";var r=n(25625),i=n(81257),o=n(84708),a=Math.max,s=Math.min;e.Z=function(t,e,n){var u=null==t?0:t.length;if(!u)return-1;var c=u-1;return void 0!==n&&(c=(0,o.Z)(n),c=n<0?a(u+c,0):s(c,u-1)),(0,r.Z)(t,(0,i.Z)(e,3),c,!0)}},42061:function(t,e,n){"use strict";var r=n(9367),i=n(25193);e.Z=function(t,e){return(0,r.Z)((0,i.Z)(t,e),1)}},40252:function(t,e){"use strict";e.Z=function(t){return t&&t.length?t[0]:void 0}},57513:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=Math.max,i=Math.min;var o=function(t,e,n){return t>=i(e,n)&&t<r(e,n)},a=n(69311),s=n(43698);var u=function(t,e,n){return e=(0,a.Z)(e),void 0===n?(n=e,e=0):n=(0,a.Z)(n),t=(0,s.Z)(t),o(t,e,n)}},44650:function(t,e,n){"use strict";var r=n(23658),i=n(84708),o=Math.max;e.Z=function(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var s=null==n?0:(0,i.Z)(n);return s<0&&(s=o(a+s,0)),(0,r.Z)(t,e,s)}},33294:function(t,e,n){"use strict";var r=n(72160),i=n(50539),o=n(35651),a=n(35988),s=(0,o.Z)((function(t){var e=(0,r.Z)(t,a.Z);return e.length&&e[0]===t[0]?(0,i.Z)(e):[]}));e.Z=s},6649:function(t,e,n){"use strict";var r=n(3823),i=n(25197);e.Z=function(t){return!0===t||!1===t||(0,i.Z)(t)&&"[object Boolean]"==(0,r.Z)(t)}},12697:function(t,e,n){"use strict";var r=n(84708);e.Z=function(t){return"number"==typeof t&&t==(0,r.Z)(t)}},85857:function(t,e){"use strict";e.Z=function(t){return null==t}},81492:function(t,e){"use strict";e.Z=function(t){return void 0===t}},18402:function(t,e,n){"use strict";n.r(e),n.d(e,{add:function(){return s},after:function(){return c},ary:function(){return wt},assign:function(){return bt.Z},assignIn:function(){return Tt},assignInWith:function(){return xt},assignWith:function(){return Dt},at:function(){return $t},attempt:function(){return Ht},before:function(){return Bt.Z},bind:function(){return Gt},bindAll:function(){return zt},bindKey:function(){return Yt},camelCase:function(){return Kt.Z},capitalize:function(){return Vt.Z},castArray:function(){return Qt},ceil:function(){return Xt},chain:function(){return te},chunk:function(){return ee.Z},clamp:function(){return ne.Z},clone:function(){return ie},cloneDeep:function(){return oe.Z},cloneDeepWith:function(){return ae},cloneWith:function(){return se},commit:function(){return ue},compact:function(){return ce},concat:function(){return he},cond:function(){return pe},conforms:function(){return ye},conformsTo:function(){return we},constant:function(){return be.Z},countBy:function(){return Se.Z},create:function(){return Ze},curry:function(){return Te},curryRight:function(){return xe},debounce:function(){return Me.Z},deburr:function(){return Ie.Z},default:function(){return wl},defaultTo:function(){return De},defaults:function(){return _e.Z},defaultsDeep:function(){return Fe},defer:function(){return We},delay:function(){return Be},difference:function(){return Ue},differenceBy:function(){return ze.Z},differenceWith:function(){return qe.Z},divide:function(){return Ye},drop:function(){return Ve},dropRight:function(){return Qe},dropRightWhile:function(){return Xe},dropWhile:function(){return tn},each:function(){return en.Z},eachRight:function(){return un},endsWith:function(){return cn.Z},entries:function(){return ln.Z},entriesIn:function(){return dn},eq:function(){return hn.Z},escape:function(){return gn.Z},escapeRegExp:function(){return mn},every:function(){return yn.Z},extend:function(){return Tt},extendWith:function(){return xt},fill:function(){return wn.Z},filter:function(){return bn.Z},find:function(){return kn},findIndex:function(){return Zn.Z},findKey:function(){return Tn.Z},findLast:function(){return xn},findLastIndex:function(){return Ln.Z},findLastKey:function(){return In},first:function(){return Dn.Z},flatMap:function(){return _n.Z},flatMapDeep:function(){return On},flatMapDepth:function(){return $n},flatten:function(){return Fn.Z},flattenDeep:function(){return Rn},flattenDepth:function(){return Nn},flip:function(){return Wn},floor:function(){return Pn},flow:function(){return Bn},flowRight:function(){return En},forEach:function(){return en.Z},forEachRight:function(){return un},forIn:function(){return jn},forInRight:function(){return Un},forOwn:function(){return zn.Z},forOwnRight:function(){return qn},fromPairs:function(){return Yn.Z},functions:function(){return Jn},functionsIn:function(){return Xn},get:function(){return _t.Z},groupBy:function(){return tr.Z},gt:function(){return rr},gte:function(){return ir},has:function(){return ur},hasIn:function(){return cr.Z},head:function(){return Dn.Z},identity:function(){return l.Z},inRange:function(){return lr.Z},includes:function(){return pr},indexOf:function(){return vr.Z},initial:function(){return mr},intersection:function(){return yr.Z},intersectionBy:function(){return Zr},intersectionWith:function(){return kr},invert:function(){return Dr},invertBy:function(){return Fr},invoke:function(){return Pr},invokeMap:function(){return Er},isArguments:function(){return Gr.Z},isArray:function(){return N.Z},isArrayBuffer:function(){return Yr},isArrayLike:function(){return Sn.Z},isArrayLikeObject:function(){return Ge.Z},isBoolean:function(){return Kr.Z},isBuffer:function(){return Vr.Z},isDate:function(){return Xr},isElement:function(){return ti},isEmpty:function(){return ei.Z},isEqual:function(){return ni.Z},isEqualWith:function(){return ii},isError:function(){return Wt},isFinite:function(){return ai},isFunction:function(){return Vn.Z},isInteger:function(){return si.Z},isLength:function(){return ui.Z},isMap:function(){return ci.Z},isMatch:function(){return hi},isMatchWith:function(){return gi},isNaN:function(){return pi},isNative:function(){return bi},isNil:function(){return Si.Z},isNull:function(){return Ci},isNumber:function(){return fi},isObject:function(){return v.Z},isObjectLike:function(){return W.Z},isPlainObject:function(){return Nt.Z},isRegExp:function(){return Ti},isSafeInteger:function(){return xi},isSet:function(){return Mi.Z},isString:function(){return hr.Z},isSymbol:function(){return r.Z},isTypedArray:function(){return Ii.Z},isUndefined:function(){return Di.Z},isWeakMap:function(){return Ai},isWeakSet:function(){return Oi},iteratee:function(){return $i},join:function(){return Ri},kebabCase:function(){return Pi},keyBy:function(){return Ei},keys:function(){return Mt.Z},keysIn:function(){return Zt.Z},last:function(){return Sr.Z},lastIndexOf:function(){return Yi},lodash:function(){return G},lowerCase:function(){return Vi},lowerFirst:function(){return Qi},lt:function(){return Xi},lte:function(){return to},map:function(){return An.Z},mapKeys:function(){return eo},mapValues:function(){return no},matches:function(){return io},matchesProperty:function(){return ao},max:function(){return so.Z},maxBy:function(){return co},mean:function(){return go},meanBy:function(){return fo},memoize:function(){return po.Z},merge:function(){return vo.Z},mergeWith:function(){return $e.Z},method:function(){return mo},methodOf:function(){return yo},min:function(){return wo.Z},minBy:function(){return bo},mixin:function(){return So},multiply:function(){return Co},negate:function(){return Zo},next:function(){return _o},noop:function(){return I.Z},now:function(){return Ao.Z},nth:function(){return $o},nthArg:function(){return Fo},omit:function(){return Ro.Z},omitBy:function(){return Ho},once:function(){return Bo.Z},orderBy:function(){return Eo.Z},over:function(){return jo},overArgs:function(){return Yo},overEvery:function(){return Ko},overSome:function(){return Vo},pad:function(){return wa},padEnd:function(){return ba},padStart:function(){return Sa},parseInt:function(){return ka},partial:function(){return La},partialRight:function(){return Ma},par