Files
Obsidian/Edge Wallet/128.18367.18366.1/Notification/notification_fast.bundle.js
T

1256 lines
331 KiB
JavaScript
Raw Normal View History

2026-11-06 08:29:11 +08:00
/*! For license information please see notification_fast.bundle.js.LICENSE.txt */
(()=>{"use strict";var e,t,o={5236:(e,t)=>{if("function"==typeof Symbol&&Symbol.for){var o=Symbol.for;o("react.element"),o("react.portal"),o("react.fragment"),o("react.strict_mode"),o("react.profiler"),o("react.provider"),o("react.context"),o("react.forward_ref"),o("react.suspense"),o("react.suspense_list"),o("react.memo"),o("react.lazy"),o("react.block"),o("react.server.block"),o("react.fundamental"),o("react.debug_trace_mode"),o("react.legacy_hidden")}},5732:(e,t,o)=>{o(5236)},9533:e=>{var t=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var a,s,l=n(e),c=1;c<arguments.length;c++){for(var d in a=Object(arguments[c]))o.call(a,d)&&(l[d]=a[d]);if(t){s=t(a);for(var u=0;u<s.length;u++)i.call(a,s[u])&&(l[s[u]]=a[s[u]])}}return l}},2873:(e,t,o)=>{var i=o(274),n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var r=Symbol.for;n=r("react.element"),t.Fragment=r("react.fragment")}var a=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,o){var i,r={},c=null,d=null;for(i in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)s.call(t,i)&&!l.hasOwnProperty(i)&&(r[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===r[i]&&(r[i]=t[i]);return{$$typeof:n,type:e,key:c,ref:d,props:r,_owner:a.current}}t.jsx=c,t.jsxs=c},7493:(e,t,o)=>{var i=o(9533),n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,E="function"==typeof Symbol&&Symbol.iterator;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function _(e,t,o){this.props=e,this.context=t,this.refs=m,this.updater=o||N}function O(){}function A(e,t,o){this.props=e,this.context=t,this.refs=m,this.updater=o||N}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(T(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},O.prototype=_.prototype;var I=A.prototype=new O;I.constructor=A,i(I,_.prototype),I.isPureReactComponent=!0;var b={current:null},S=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function y(e,t,o){var i,n={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,i)&&!R.hasOwnProperty(i)&&(n[i]=t[i]);var l=arguments.length-2;if(1===l)n.children=o;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];n.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===n[i]&&(n[i]=l[i]);return{$$typeof:r,type:e,key:a,ref:s,pr
:host {
background-color: ${An};
color: ${ur};
}
`.withBehaviors(Qt(I`
:host {
background-color: ${eo.Canvas};
box-shadow: 0 0 0 1px ${eo.CanvasText};
color: ${eo.CanvasText};
}
`));function gr(e){return(t,o)=>{t[o+"Changed"]=function(t,o){null!=o?e.setValueFor(this,o):e.deleteValueFor(this)}}}class Er extends ut{constructor(){super(),this.noPaint=!1,y.getNotifier(this).subscribe({handleChange:this.noPaintChanged.bind(this)},"fillColor")}noPaintChanged(){this.noPaint||void 0===this.fillColor?this.$fastController.removeStyles(fr):this.$fastController.addStyles(fr)}accentBaseColorChanged(e,t){null!=t?fn.setValueFor(this,Wo.create(t)):fn.deleteValueFor(this)}neutralBaseColorChanged(e,t){null!=t?hn.setValueFor(this,Wo.create(t)):hn.deleteValueFor(this)}}Wt([he({attribute:"no-paint",mode:"boolean"})],Er.prototype,"noPaint",void 0),Wt([he({attribute:"fill-color",converter:hr}),gr(An)],Er.prototype,"fillColor",void 0),Wt([he({attribute:"accent-base-color",converter:hr,mode:"fromView"})],Er.prototype,"accentBaseColor",void 0),Wt([he({attribute:"neutral-base-color",converter:hr,mode:"fromView"})],Er.prototype,"neutralBaseColor",void 0),Wt([v,gr(hn)],Er.prototype,"neutralPalette",void 0),Wt([v,gr(fn)],Er.prototype,"accentPalette",void 0),Wt([he({converter:ue}),gr(ni)],Er.prototype,"density",void 0),Wt([he({attribute:"design-unit",converter:ue}),gr(ri)],Er.prototype,"designUnit",void 0),Wt([he({attribute:"direction"}),gr(ei)],Er.prototype,"direction",void 0),Wt([he({attribute:"base-height-multiplier",converter:ue}),gr(oi)],Er.prototype,"baseHeightMultiplier",void 0),Wt([he({attribute:"base-horizontal-spacing-multiplier",converter:ue}),gr(ii)],Er.prototype,"baseHorizontalSpacingMultiplier",void 0),Wt([he({attribute:"control-corner-radius",converter:ue}),gr(ai)],Er.prototype,"controlCornerRadius",void 0),Wt([he({attribute:"stroke-width",converter:ue}),gr(si)],Er.prototype,"strokeWidth",void 0),Wt([he({attribute:"focus-stroke-width",converter:ue}),gr(li)],Er.prototype,"focusStrokeWidth",void 0),Wt([he({attribute:"disabled-opacity",converter:ue}),gr(ti)],Er.prototype,"disabledOpacity",void 0),Wt([he({attribute:"type-ramp-minus-2-font-size"}),gr(fi)],Er.prototype,"typeRampMinus2FontSize",void 0),Wt([he({attribute:"type-ramp-minus-2-line-height"}),gr(gi)],Er.prototype,"typeRampMinus2LineHeight",void 0),Wt([he({attribute:"type-ramp-minus-1-font-size"}),gr(pi)],Er.prototype,"typeRampMinus1FontSize",void 0),Wt([he({attribute:"type-ramp-minus-1-line-height"}),gr(hi)],Er.prototype,"typeRampMinus1LineHeight",void 0),Wt([he({attribute:"type-ramp-base-font-size"}),gr(di)],Er.prototype,"typeRampBaseFontSize",void 0),Wt([he({attribute:"type-ramp-base-line-height"}),gr(ui)],Er.prototype,"typeRampBaseLineHeight",void 0),Wt([he({attribute:"type-ramp-plus-1-font-size"}),gr(Ei)],Er.prototype,"typeRampPlus1FontSize",void 0),Wt([he({attribute:"type-ramp-plus-1-line-height"}),gr(Ti)],Er.prototype,"typeRampPlus1LineHeight",void 0),Wt([he({attribute:"type-ramp-plus-2-font-size"}),gr(Ni)],Er.prototype,"typeRampPlus2FontSize",void 0),Wt([he({attribute:"type-ramp-plus-2-line-height"}),gr(mi)],Er.prototype,"typeRampPlus2LineHeight",void 0),Wt([he({attribute:"type-ramp-plus-3-font-size"}),gr(_i)],Er.prototype,"typeRampPlus3FontSize",void 0),Wt([he({attribute:"type-ramp-plus-3-line-height"}),gr(Oi)],Er.prototype,"typeRampPlus3LineHeight",void 0),Wt([he({attribute:"type-ramp-plus-4-font-size"}),gr(Ai)],Er.prototype,"typeRampPlus4FontSize",void 0),Wt([he({attribute:"type-ramp-plus-4-line-height"}),gr(Ii)],Er.prototype,"typeRampPlus4LineHeight",void 0),Wt([he({attribute:"type-ramp-plus-5-font-size"}),gr(bi)],Er.prototype,"typeRampPlus5FontSize",void 0),Wt([he({attribute:"type-ramp-plus-5-line-height"}),gr(Si)],Er.prototype,"typeRampPlus5LineHeight",void 0),Wt([he({attribute:"type-ramp-plus-6-font-size"}),gr(Ri)],Er.prototype,"typeRampPlus6FontSize",void 0),Wt([he({attribute:"type-ramp-plus-6-line-height"}),gr(yi)],Er.prototype,"typeRampPlus6LineHeight",void 0),Wt([he({attribute:"accent-fill-rest-delta",converter:ue}),gr(Ci)],Er.prototype,"accentFillRestDelta",void 0),Wt([he({attribute:"accent-fill-hover-delta",converter:ue}),gr(wi)],Er.prototype,"accentFillHoverDelta",void 0),Wt([he({attribute:"accent-fill-active-delta",converter:ue}),
${Jt("block")}
`});class Nr{}Se([he({attribute:"aria-atomic"})],Nr.prototype,"ariaAtomic",void 0),Se([he({attribute:"aria-busy"})],Nr.prototype,"ariaBusy",void 0),Se([he({attribute:"aria-controls"})],Nr.prototype,"ariaControls",void 0),Se([he({attribute:"aria-current"})],Nr.prototype,"ariaCurrent",void 0),Se([he({attribute:"aria-describedby"})],Nr.prototype,"ariaDescribedby",void 0),Se([he({attribute:"aria-details"})],Nr.prototype,"ariaDetails",void 0),Se([he({attribute:"aria-disabled"})],Nr.prototype,"ariaDisabled",void 0),Se([he({attribute:"aria-errormessage"})],Nr.prototype,"ariaErrormessage",void 0),Se([he({attribute:"aria-flowto"})],Nr.prototype,"ariaFlowto",void 0),Se([he({attribute:"aria-haspopup"})],Nr.prototype,"ariaHaspopup",void 0),Se([he({attribute:"aria-hidden"})],Nr.prototype,"ariaHidden",void 0),Se([he({attribute:"aria-invalid"})],Nr.prototype,"ariaInvalid",void 0),Se([he({attribute:"aria-keyshortcuts"})],Nr.prototype,"ariaKeyshortcuts",void 0),Se([he({attribute:"aria-label"})],Nr.prototype,"ariaLabel",void 0),Se([he({attribute:"aria-labelledby"})],Nr.prototype,"ariaLabelledby",void 0),Se([he({attribute:"aria-live"})],Nr.prototype,"ariaLive",void 0),Se([he({attribute:"aria-owns"})],Nr.prototype,"ariaOwns",void 0),Se([he({attribute:"aria-relevant"})],Nr.prototype,"ariaRelevant",void 0),Se([he({attribute:"aria-roledescription"})],Nr.prototype,"ariaRoledescription",void 0);class mr{constructor(e,t){this.target=e,this.propertyName=t}bind(e){e[this.propertyName]=this.target}unbind(){}}function _r(e){return new x("fast-ref",mr,e)}class Or{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const Ar=(e,t)=>ne`
<span
part="end"
${_r("endContainer")}
class=${e=>t.end?"end":void 0}
>
<slot name="end" ${_r("end")} @slotchange="${e=>e.handleEndContentChange()}">
${t.end||""}
</slot>
</span>
`,Ir=(e,t)=>ne`
<span
part="start"
${_r("startContainer")}
class="${e=>t.start?"start":void 0}"
>
<slot
name="start"
${_r("start")}
@slotchange="${e=>e.handleStartContentChange()}"
>
${t.start||""}
</slot>
</span>
`;function br(e,...t){const o=ce.locate(e);t.forEach((t=>{Object.getOwnPropertyNames(t.prototype).forEach((o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))})),ce.locate(t).forEach((e=>o.push(e)))}))}ne`
<span part="end" ${_r("endContainer")}>
<slot
name="end"
${_r("end")}
@slotchange="${e=>e.handleEndContentChange()}"
></slot>
</span>
`,ne`
<span part="start" ${_r("startContainer")}>
<slot
name="start"
${_r("start")}
@slotchange="${e=>e.handleStartContentChange()}"
></slot>
</span>
`;class Sr extends ut{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{var e;null===(e=this.control)||void 0===e||e.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}Se([he],Sr.prototype,"download",void 0),Se([he],Sr.prototype,"href",void 0),Se([he],Sr.prototype,"hreflang",void 0),Se([he],Sr.prototype,"ping",void 0),Se([he],Sr.prototype,"referrerpolicy",void 0),Se([he],Sr.prototype,"rel",void 0),Se([he],Sr.prototype,"target",void 0),Se([he],Sr.prototype,"type",void 0),Se([v],Sr.prototype,"defaultSlottedContent",void 0);class Rr{}Se([he({attribute:"aria-expanded"})],Rr.prototype,"ariaExpanded",void 0),br(Rr,Nr),br(Sr,Or,Rr);class yr extends class{constructor(e,t){this.target=e,this.options=t,this.source=null}bind(e){const t=this.options.property;this.shouldUpdate=y.getAccessors(e).some((e=>e.name===t)),this.source=e,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(r),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let e=this.getNodes();return void 0!==this.options.filter&&(e=e.filter(this.options.filter)),e}updateTarget(e){this.source[this.options.property]=e}}{constructor(e,t){super(e,t)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function vr(e){return"string"==typeof e&&(e={property:e}),new x("fast-slotted",yr,e)}let Cr;const wr=function(){if("boolean"==typeof Cr)return Cr;if("undefined"==typeof window||!window.document||!window.document.createElement)return Cr=!1,Cr;const e=document.createElement("style"),t=function(){const e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}();null!==t&&e.setAttribute("nonce",t),document.head.appendChild(e);try{e.sheet.insertRule("foo:focus-visible {color:inherit}",0),Cr=!0}catch(e){Cr=!1}finally{document.head.removeChild(e)}return Cr}()?"focus-visible":"focus",Mr=(function(e,...t){const{styles:o,behaviors:i}=A(e,t);return new b(o,i)})`(${oi} + ${ni}) * ${ri}`,Dr=(e,t)=>I`
${Jt("inline-flex")} :host {
font-family: ${ci};
outline: none;
font-size: ${di};
line-height: ${ui};
height: calc(${Mr} * 1px);
min-width: calc(${Mr} * 1px);
background-color: ${Vn};
color: ${ur};
border-radius: calc(${ai} * 1px);
fill: currentcolor;
cursor: pointer;
}
.control {
background: transparent;
height: inherit;
flex-grow: 1;
box-sizing: border-box;
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0 calc((10 + (${ri} * 2 * ${ni})) * 1px);
white-space: nowrap;
outline: none;
text-decoration: none;
border: calc(${si} * 1px) solid transparent;
color: inherit;
border-radius: inherit;
fill: inherit;
cursor: inherit;
font-family: inherit;
}
.control,
.end,
.start {
font: inherit;
}
.control.icon-only {
padding: 0;
line-height: 0;
}
:host(:hover) {
background-color: ${$n};
}
:host(:active) {
background-color: ${Hn};
}
.control:${wr} {
border: calc(${si} * 1px) solid ${sr};
box-shadow: 0 0 0 calc((${li} - ${si}) * 1px) ${sr};
}
.control::-moz-focus-inner {
border: 0;
}
.content {
pointer-events: none;
}
.start,
.end {
display: flex;
pointer-events: none;
}
::slotted(svg) {
${""} width: 16px;
height: 16px;
pointer-events: none;
}
.start {
margin-inline-end: 11px;
}
.end {
margin-inline-start: 11px;
}
`.withBehaviors(Qt(I`
:host,
:host([appearance="neutral"]) .control {
background-color: ${eo.ButtonFace};
border-color: ${eo.ButtonText};
color: ${eo.ButtonText};
fill: currentcolor;
}
:host(:not([disabled][href]):hover),
:host([appearance="neutral"]:not([disabled]):hover) .control {
forced-color-adjust: none;
background-color: ${eo.Highlight};
color: ${eo.HighlightText};
}
.control:${wr},
:host([appearance="outline"]) .control:${wr},
:host([appearance="neutral"]:${wr}) .control {
forced-color-adjust: none;
background-color: ${eo.Highlight};
border-color: ${eo.ButtonText};
box-shadow: 0 0 0 calc((${li} - ${si}) * 1px) ${eo.ButtonText};
color: ${eo.HighlightText};
}
.control:not([disabled]):hover,
:host([appearance="outline"]) .control:hover {
border-color: ${eo.ButtonText};
}
:host([href]) .control {
border-color: ${eo.LinkText};
color: ${eo.LinkText};
}
:host([href]) .control:hover,
:host(.neutral[href]) .control:hover,
:host(.outline[href]) .control:hover,
:host([href]) .control:${wr}{
forced-color-adjust: none;
background: ${eo.ButtonFace};
border-color: ${eo.LinkText};
box-shadow: 0 0 0 1px ${eo.LinkText} inset;
color: ${eo.LinkText};
fill: currentcolor;
}
`)),Pr=I`
:host([appearance='accent']) {
background: ${Rn};
color: ${Dn};
}
:host([appearance='accent']:hover) {
background: ${yn};
color: ${Pn};
}
:host([appearance='accent']:active) .control:active {
background: ${vn};
color: ${xn};
}
:host([appearance="accent"]) .control:${wr} {
box-shadow: 0 0 0 calc(${li} * 1px) inset ${cr},
0 0 0 calc((${li} - ${si}) * 1px) ${sr};
}
`.withBehaviors(Qt(I`
:host([appearance='accent']) .control {
forced-color-adjust: none;
background: ${eo.Highlight};
color: ${eo.HighlightText};
}
:host([appearance='accent']) .control:hover,
:host([appearance='accent']:active) .control:active {
background: ${eo.HighlightText};
border-color: ${eo.Highlight};
color: ${eo.Highlight};
}
:host([appearance="accent"]) .control:${wr} {
border-color: ${eo.ButtonText};
box-shadow: 0 0 0 2px ${eo.HighlightText} inset;
}
:host([appearance='accent'][href]) .control {
background: ${eo.LinkText};
color: ${eo.HighlightText};
}
:host([appearance='accent'][href]) .control:hover {
background: ${eo.ButtonFace};
border-color: ${eo.LinkText};
box-shadow: none;
color: ${eo.LinkText};
fill: currentcolor;
}
:host([appearance="accent"][href]) .control:${wr} {
border-color: ${eo.LinkText};
box-shadow: 0 0 0 2px ${eo.HighlightText} inset;
}
`)),xr=I`
:host([appearance='hypertext']) {
height: auto;
font-size: inherit;
line-height: inherit;
background: transparent;
min-width: 0;
}
:host([appearance='hypertext']) .control {
display: inline;
padding: 0;
border: none;
box-shadow: none;
border-radius: 0;
line-height: 1;
}
:host a.control:not(:link) {
background-color: transparent;
cursor: default;
}
:host([appearance='hypertext']) .control:link,
:host([appearance='hypertext']) .control:visited {
background: transparent;
color: ${Gn};
border-bottom: calc(${si} * 1px) solid ${Gn};
}
:host([appearance='hypertext']) .control:hover {
border-bottom-color: ${Bn};
}
:host([appearance='hypertext']) .control:active {
border-bottom-color: ${Wn};
}
:host([appearance="hypertext"]) .control:${wr} {
border-bottom: calc(${li} * 1px) solid ${sr};
margin-bottom: calc(calc(${si} - ${li}) * 1px);
}
`.withBehaviors(Qt(I`
:host([appearance="hypertext"]) .control:${wr} {
color: ${eo.LinkText};
border-bottom-color: ${eo.LinkText};
}
`)),kr=I`
:host([appearance='lightweight']) {
background: transparent;
color: ${Gn};
}
:host([appearance='lightweight']) .control {
padding: 0;
height: initial;
border: none;
box-shadow: none;
border-radius: 0;
}
:host([appearance='lightweight']:hover) {
color: ${Bn};
}
:host([appearance='lightweight']:active) {
color: ${Wn};
}
:host([appearance='lightweight']) .content {
position: relative;
}
:host([appearance='lightweight']) .content::before {
content: '';
display: block;
height: calc(${si} * 1px);
position: absolute;
top: calc(1em + 3px);
width: 100%;
}
:host([appearance='lightweight']:hover) .content::before {
background: ${Bn};
}
:host([appearance='lightweight']:active) .content::before {
background: ${Wn};
}
:host([appearance="lightweight"]) .control:${wr} .content::before {
background: ${ur};
height: calc(${li} * 1px);
}
`.withBehaviors(Qt(I`
:host([appearance='lightweight']) {
color: ${eo.ButtonText};
}
:host([appearance="lightweight"]) .control:hover,
:host([appearance="lightweight"]) .control:${wr} {
forced-color-adjust: none;
background: ${eo.ButtonFace};
color: ${eo.Highlight};
}
:host([appearance="lightweight"]) .control:hover .content::before,
:host([appearance="lightweight"]) .control:${wr} .content::before {
background: ${eo.Highlight};
}
:host([appearance="lightweight"][href]) .control:hover,
:host([appearance="lightweight"][href]) .control:${wr} {
background: ${eo.ButtonFace};
box-shadow: none;
color: ${eo.LinkText};
}
:host([appearance="lightweight"][href]) .control:hover .content::before,
:host([appearance="lightweight"][href]) .control:${wr} .content::before {
background: ${eo.LinkText};
}
`)),Lr=I`
:host([appearance='outline']) {
background: transparent;
border-color: ${er};
}
:host([appearance='outline']:hover) {
border-color: ${tr};
}
:host([appearance='outline']:active) {
border-color: ${or};
}
:host([appearance='outline']) .control {
border-color: inherit;
}
:host([appearance="outline"]) .control:${wr} {
box-shadow: 0 0 0 calc((${li} - ${si}) * 1px) ${sr};
border-color: ${sr};
}
`.withBehaviors(Qt(I`
:host([appearance='outline']) {
border-color: ${eo.ButtonText};
}
:host([appearance='outline'][href]) {
border-color: ${eo.LinkText};
}
`)),Fr=I`
:host([appearance='stealth']) {
background: ${Kn};
}
:host([appearance='stealth']:hover) {
background: ${qn};
}
:host([appearance='stealth']:active) {
background: ${Xn};
}
`.withBehaviors(Qt(I`
:host([appearance='stealth']),
:host([appearance='stealth']) .control {
forced-color-adjust: none;
background: ${eo.ButtonFace};
border-color: transparent;
color: ${eo.ButtonText};
fill: currentcolor;
}
:host([appearance='stealth']:hover) .control {
background: ${eo.Highlight};
border-color: ${eo.Highlight};
color: ${eo.HighlightText};
fill: currentcolor;
}
:host([appearance="stealth"]:${wr}) .control {
background: ${eo.Highlight};
box-shadow: 0 0 0 1px ${eo.Highlight};
color: ${eo.HighlightText};
fill: currentcolor;
}
:host([appearance='stealth'][href]) .control {
color: ${eo.LinkText};
}
:host([appearance="stealth"]:hover[href]) .control,
:host([appearance="stealth"]:${wr}[href]) .control {
background: ${eo.LinkText};
border-color: ${eo.LinkText};
color: ${eo.HighlightText};
fill: currentcolor;
}
:host([appearance="stealth"]:${wr}[href]) .control {
box-shadow: 0 0 0 1px ${eo.LinkText};
}
`));class Gr{constructor(e,t,o){this.propertyName=e,this.value=t,this.styles=o}bind(e){y.getNotifier(e).subscribe(this,this.propertyName),this.handleChange(e,this.propertyName)}unbind(e){y.getNotifier(e).unsubscribe(this,this.propertyName),e.$fastController.removeStyles(this.styles)}handleChange(e,t){e[t]===this.value?e.$fastController.addStyles(this.styles):e.$fastController.removeStyles(this.styles)}}function Br(e,t){return new Gr("appearance",e,t)}class Wr extends Sr{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}Wt([he],Wr.prototype,"appearance",void 0);const Ur=Wr.compose({baseName:"anchor",baseClass:Sr,template:(e,t)=>ne`
<a
class="control"
part="control"
download="${e=>e.download}"
href="${e=>e.href}"
hreflang="${e=>e.hreflang}"
ping="${e=>e.ping}"
referrerpolicy="${e=>e.referrerpolicy}"
rel="${e=>e.rel}"
target="${e=>e.target}"
type="${e=>e.type}"
aria-atomic="${e=>e.ariaAtomic}"
aria-busy="${e=>e.ariaBusy}"
aria-controls="${e=>e.ariaControls}"
aria-current="${e=>e.ariaCurrent}"
aria-describedby="${e=>e.ariaDescribedby}"
aria-details="${e=>e.ariaDetails}"
aria-disabled="${e=>e.ariaDisabled}"
aria-errormessage="${e=>e.ariaErrormessage}"
aria-expanded="${e=>e.ariaExpanded}"
aria-flowto="${e=>e.ariaFlowto}"
aria-haspopup="${e=>e.ariaHaspopup}"
aria-hidden="${e=>e.ariaHidden}"
aria-invalid="${e=>e.ariaInvalid}"
aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
aria-label="${e=>e.ariaLabel}"
aria-labelledby="${e=>e.ariaLabelledby}"
aria-live="${e=>e.ariaLive}"
aria-owns="${e=>e.ariaOwns}"
aria-relevant="${e=>e.ariaRelevant}"
aria-roledescription="${e=>e.ariaRoledescription}"
${_r("control")}
>
${Ir(0,t)}
<span class="content" part="content">
<slot ${vr("defaultSlottedContent")}></slot>
</span>
${Ar(0,t)}
</a>
`,styles:(e,t)=>I`
${Dr()}
`.withBehaviors(Br("accent",Pr),Br("hypertext",xr),Br("lightweight",kr),Br("outline",Lr),Br("stealth",Fr)),shadowOptions:{delegatesFocus:!0}});class Vr extends ut{constructor(){super(...arguments),this.role="separator",this.orientation="horizontal"}}Se([he],Vr.prototype,"role",void 0),Se([he],Vr.prototype,"orientation",void 0);const $r=Vr.compose({baseName:"divider",template:(e,t)=>ne`
<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"></template>
`,styles:(e,t)=>I`
${Jt("block")} :host {
box-sizing: content-box;
height: 0;
margin: calc(${ri} * 1px) 0;
border: none;
border-top: calc(${si} * 1px) solid ${nr};
}
`});var Hr,zr;(zr=Hr||(Hr={}))[zr.alt=18]="alt",zr[zr.arrowDown=40]="arrowDown",zr[zr.arrowLeft=37]="arrowLeft",zr[zr.arrowRight=39]="arrowRight",zr[zr.arrowUp=38]="arrowUp",zr[zr.back=8]="back",zr[zr.backSlash=220]="backSlash",zr[zr.break=19]="break",zr[zr.capsLock=20]="capsLock",zr[zr.closeBracket=221]="closeBracket",zr[zr.colon=186]="colon",zr[zr.colon2=59]="colon2",zr[zr.comma=188]="comma",zr[zr.ctrl=17]="ctrl",zr[zr.delete=46]="delete",zr[zr.end=35]="end",zr[zr.enter=13]="enter",zr[zr.equals=187]="equals",zr[zr.equals2=61]="equals2",zr[zr.equals3=107]="equals3",zr[zr.escape=27]="escape",zr[zr.forwardSlash=191]="forwardSlash",zr[zr.function1=112]="function1",zr[zr.function10=121]="function10",zr[zr.function11=122]="function11",zr[zr.function12=123]="function12",zr[zr.function2=113]="function2",zr[zr.function3=114]="function3",zr[zr.function4=115]="function4",zr[zr.function5=116]="function5",zr[zr.function6=117]="function6",zr[zr.function7=118]="function7",zr[zr.function8=119]="function8",zr[zr.function9=120]="function9",zr[zr.home=36]="home",zr[zr.insert=45]="insert",zr[zr.menu=93]="menu",zr[zr.minus=189]="minus",zr[zr.minus2=109]="minus2",zr[zr.numLock=144]="numLock",zr[zr.numPad0=96]="numPad0",zr[zr.numPad1=97]="numPad1",zr[zr.numPad2=98]="numPad2",zr[zr.numPad3=99]="numPad3",zr[zr.numPad4=100]="numPad4",zr[zr.numPad5=101]="numPad5",zr[zr.numPad6=102]="numPad6",zr[zr.numPad7=103]="numPad7",zr[zr.numPad8=104]="numPad8",zr[zr.numPad9=105]="numPad9",zr[zr.numPadDivide=111]="numPadDivide",zr[zr.numPadDot=110]="numPadDot",zr[zr.numPadMinus=109]="numPadMinus",zr[zr.numPadMultiply=106]="numPadMultiply",zr[zr.numPadPlus=107]="numPadPlus",zr[zr.openBracket=219]="openBracket",zr[zr.pageDown=34]="pageDown",zr[zr.pageUp=33]="pageUp",zr[zr.period=190]="period",zr[zr.print=44]="print",zr[zr.quote=222]="quote",zr[zr.scrollLock=145]="scrollLock",zr[zr.shift=16]="shift",zr[zr.space=32]="space",zr[zr.tab=9]="tab",zr[zr.tilde=192]="tilde",zr[zr.windowsLeft=91]="windowsLeft",zr[zr.windowsOpera=219]="windowsOpera",zr[zr.windowsRight=92]="windowsRight";const jr="form-associated-proxy",Yr="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,Zr=new WeakMap;class Kr extends ut{}class qr extends(function(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return Yr}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return r}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),h.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),h.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInterna
<button
class="control"
part="control"
?autofocus="${e=>e.autofocus}"
?disabled="${e=>e.disabled}"
form="${e=>e.formId}"
formaction="${e=>e.formaction}"
formenctype="${e=>e.formenctype}"
formmethod="${e=>e.formmethod}"
formnovalidate="${e=>e.formnovalidate}"
formtarget="${e=>e.formtarget}"
name="${e=>e.name}"
type="${e=>e.type}"
value="${e=>e.value}"
aria-atomic="${e=>e.ariaAtomic}"
aria-busy="${e=>e.ariaBusy}"
aria-controls="${e=>e.ariaControls}"
aria-current="${e=>e.ariaCurrent}"
aria-describedby="${e=>e.ariaDescribedby}"
aria-details="${e=>e.ariaDetails}"
aria-disabled="${e=>e.ariaDisabled}"
aria-errormessage="${e=>e.ariaErrormessage}"
aria-expanded="${e=>e.ariaExpanded}"
aria-flowto="${e=>e.ariaFlowto}"
aria-haspopup="${e=>e.ariaHaspopup}"
aria-hidden="${e=>e.ariaHidden}"
aria-invalid="${e=>e.ariaInvalid}"
aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
aria-label="${e=>e.ariaLabel}"
aria-labelledby="${e=>e.ariaLabelledby}"
aria-live="${e=>e.ariaLive}"
aria-owns="${e=>e.ariaOwns}"
aria-pressed="${e=>e.ariaPressed}"
aria-relevant="${e=>e.ariaRelevant}"
aria-roledescription="${e=>e.ariaRoledescription}"
${_r("control")}
>
${Ir(0,t)}
<span class="content" part="content">
<slot ${vr("defaultSlottedContent")}></slot>
</span>
${Ar(0,t)}
</button>
`,styles:(e,t)=>I`
:host([disabled]),
:host([disabled]:hover),
:host([disabled]:active) {
opacity: ${ti};
background-color: ${Vn};
cursor: ${"not-allowed"};
}
${Dr()}
`.withBehaviors(Qt(I`
:host([disabled]),
:host([disabled]:hover),
:host([disabled]:active),
:host([disabled]) .control,
:host([disabled]) .control:hover,
:host([appearance='neutral'][disabled]:hover) .control {
forced-color-adjust: none;
background-color: ${eo.ButtonFace};
border-color: ${eo.GrayText};
color: ${eo.GrayText};
opacity: 1;
}
`),Br("accent",I`
:host([appearance='accent'][disabled]),
:host([appearance='accent'][disabled]:hover),
:host([appearance='accent'][disabled]:active) {
background: ${Rn};
}
${Pr}
`.withBehaviors(Qt(I`
:host([appearance='accent'][disabled]) .control,
:host([appearance='accent'][disabled]) .control:hover {
background: ${eo.ButtonFace};
border-color: ${eo.GrayText};
color: ${eo.GrayText};
}
`))),Br("lightweight",I`
:host([appearance='lightweight'][disabled]:hover),
:host([appearance='lightweight'][disabled]:active) {
background-color: transparent;
color: ${Gn};
}
:host([appearance='lightweight'][disabled]) .content::before,
:host([appearance='lightweight'][disabled]:hover) .content::before,
:host([appearance='lightweight'][disabled]:active) .content::before {
background: transparent;
}
${kr}
`.withBehaviors(Qt(I`
:host([appearance='lightweight'][disabled]) .control {
forced-color-adjust: none;
color: ${eo.GrayText};
}
:host([appearance='lightweight'][disabled]) .control:hover .content::before {
background: none;
}
`))),Br("outline",I`
:host([appearance='outline'][disabled]:hover),
:host([appearance='outline'][disabled]:active) {
background: transparent;
border-color: ${er};
}
${Lr}
`.withBehaviors(Qt(I`
:host([appearance='outline'][disabled]) .control {
border-color: ${eo.GrayText};
}
`))),Br("stealth",I`
:host([appearance='stealth'][disabled]),
:host([appearance='stealth'][disabled]:hover),
:host([appearance='stealth'][disabled]:active) {
background: ${Kn};
}
${Fr}
`.withBehaviors(Qt(I`
:host([appearance='stealth'][disabled]),
:host([appearance='stealth'][disabled]:hover) {
background: ${eo.ButtonFace};
}
:host([appearance='stealth'][disabled]) .control {
background: ${eo.ButtonFace};
border-color: transparent;
color: ${eo.GrayText};
}
`)))),shadowOptions:{delegatesFocus:!0}}),ta={darkGreen2DarkBlue:"linear-gradient(113.02deg, rgba(17, 70, 47, 0.534) 0%, rgba(32, 74, 222, 0.6) 87.93%), linear-gradient(111.95deg, rgba(93, 231, 189, 0.95) -23.05%, rgba(6, 44, 120, 0.95) 118.51%)",lightGreen2LightBlue:"linear-gradient(75.54deg, #A7FBC3 9.26%, #AEE4FF 83.12%)",xLightGreeen2xLightBlue:"linear-gradient(79.5deg, rgba(235, 255, 242, 0.6) 7.26%, rgba(227, 246, 255, 0.6) 94.85%)",darkModexLightGreen2xLightBlue:"linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(79.89deg, rgba(12, 243, 91, 0.1) 13.08%, rgba(26, 144, 255, 0.1) 87.46%)",green2Blue:"linear-gradient(112.65deg, #0CF35B -3.38%, #0072DC 105.35%)",orange2Yellow:"linear-gradient(236.16deg, #FE7002 6.29%, #FF6388 77.23%, #FFD98E 115.25%, #FFD98E 115.25%)",get darkRed2Yellow(){return`linear-gradient(97.07deg, rgba(114, 18, 35, 0.4) 6.18%, rgba(71, 10, 10, 0.368) 98.82%), ${this.orange2Yellow}`},blue2Green:"linear-gradient(180deg, rgba(3, 163, 214, 0.5) 0%, rgba(12, 51, 28, 0.43) 116.67%), linear-gradient(173.61deg, #0072DC 1.09%, #0CF35B 103.87%)",darkModeDarkGreen2DarkBlue:"linear-gradient(86.44deg, #00C16E 5.86%, #07C5D9 50.32%, #46A6FF 92.97%);",white2red:"linear-gradient(236.16deg, #FE7002 6.29%, #FF6388 77.23%, #FFD98E 115.25%, #FFD98E 115.25%)",lightWhite2red:"linear-gradient(236.16deg, rgba(254, 112, 2, 0.2) 6.29%, rgba(255, 99, 136, 0.2) 77.23%, rgba(255, 217, 142, 0.2) 115.25%, rgba(255, 217, 142, 0.2) 115.25%)",xLightBlue2LightBlue:"linear-gradient(106.79deg, #EFF8FF 7.25%, #E1F1FF 92.37%)",purple2green:"linear-gradient(89.79deg, #6517CB 0.19%, #3251C4 47.92%, #499FB0 99.81%)"},oa="#1E4061",ia=(ta.darkGreen2DarkBlue,ta.orange2Yellow,ta.darkModeDarkGreen2DarkBlue,ta.lightGreen2LightBlue,ta.green2Blue,ta.darkRed2Yellow,ta.white2red,ta.lightWhite2red,ta.green2Blue,ta.lightGreen2LightBlue,ta.blue2Green,ta.green2Blue,ta.green2Blue,ta.green2Blue,ta.green2Blue,ta.darkRed2Yellow,ta.xLightBlue2LightBlue,ta.orange2Yellow,ta.xLightGreeen2xLightBlue,ta.darkModexLightGreen2xLightBlue,ta.purple2green,{whiteBackground:"#FFFFFF",darkBackground:"#4A4A4A",darkMiniWalletBackground:"#303030",darkNotificationBackground:"#303030",blackBackground:"#000000",listItemBackground:"#F7F7F7",darkModeListItemBackground:"#575757",normalText:"#344555",darkModeNormalText:"#FFFFFF",darModeHyperText:"#D1D1D1",normalTextDarkMode:"#FFFFFF",accentTextSecondary:"#0066B4",accentTextTertiary:"#057665",textSecondary:"#44596C",textSecondaryDarkMode:"#D1D1D1",accentTextSecondaryDarkMode:"#46A6FF",accentTextTertiaryDarkMode:"#00BAAE",textDisabled:"#A19F9D",textDisabledStrokeDarkMode:"#6E6E6E",grayScale300:"#ACACAC",grayScale100:"#E1E1E1",grayScale96:"#606060",emphasizeText:oa,alertCloseButtonHover:"#F2F2F2",alertCloseButtonActive:"#F7F7F7",buttonFocusBorder:"#838383",buttonText:"#0066B4",buttonTextHover:"#0060A9",buttonBackgroundHover:"#EAEAEA",darkModeButtonBackgroundHover:"#404040",buttonBackgroundDoubleHover:"#CACACA",darkButtonBackgroundDoubleHover:"#5B5B5B",darkModeButtonText:"#46A6FF",darkModeButtonTextHover:"#68AFE5",buttonTextDarkMode:"linear-gradient(86.44deg, #00C16E 5.86%, #07C5D9 50.32%, #1A90FF 92.97%)",buttonHover:oa,buttonDisabledBackground:"#E5E5E5",buttonDisabledText:"#919191",errorColor:"#A3341D",errorColorDarkMode:"#D13438",toggleColor:"#20C68A",toggleUnselectIndicator:"#44596C",toggleUnselectedBorder:"#5D6873",formFieldBackground:"rgba(255, 255, 255, 0.7)",darkModeformFieldBackground:"rgba(255, 255, 255, 0.02)",formFieldHoverBackground:"rgb(247, 247, 247)",formFieldBorder:"rgba(12, 127, 192, 0.3)",formFieldHoverBorder:"rgb(144, 144, 144)",selectOption:"#262626",darkModeSelectOption:"rgba(255, 255, 255, 0.02)",selectToggleGlyph:"#262626",selectOptionSelected:"rgba(174, 212, 232, 0.3)",darkModeSelectOptionSelected:"#244666",darkModeSelectOptionDropdownBackground:"#151D24",sectionBackground:"rgba(255, 255, 255, 0.7)",darkModeSectionBackground:"rgba(21, 29, 36, 0.8)",sectionBorder:"rgba(12, 127, 192, 0.1)",toggleUnselectedBackground:"#EFEFEF",accentTe
.dismissNotificationStyle {
padding: 10px 14px;
display: grid;
grid-template-rows: auto auto;
grid-template-areas:
'icon'
'content';
}
.dismissText {
font-size: 12px;
line-height: 16px;
}
.actionLink {
font-weight: 400;
color: #115ea3;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
.actionLink {
color: #479ef5;
}
}
.actionLink:hover,
:focus {
text-decoration: underline;
}
.dismiss {
color: inherit;
background-color: transparent;
border: none;
justify-self: center;
align-self: center;
padding: 4px;
}
.dismiss:hover,
:focus {
background-color: ${ia.buttonBackgroundDoubleHover};
border-radius: 4px;
}
@media (prefers-color-scheme: dark) {
.dismiss:hover,
:focus {
background-color: ${ia.darkButtonBackgroundDoubleHover};
}
}
`,Zp=ne`
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
fill="currentColor"
d="M5 11.5V8.05a5 5 0 016.36-4.87.5.5 0 10.27-.96A6 6 0 004 8v3.4l-.92 2.22A1 1 0 004 15h3.5a2.5 2.5 0 005 0H16a1 1 0 00.92-1.38L16 11.4V10a.5.5 0 00-1 0v1.5c0 .07.01.13.04.2L16 14H4l.96-2.3a.5.5 0 00.04-.2zM8.5 15h3a1.5 1.5 0 01-3 0zM14 2h3.5c.38 0 .6.4.45.71l-.04.08L14.96 7h2.54a.5.5 0 01.09 1H14a.5.5 0 01-.45-.71l.04-.08L16.54 3H14a.5.5 0 01-.09-1H14zM9.5 6H12c.4 0 .62.43.43.75l-.04.07L10.57 9H12a.5.5 0 01.1 1H9.5a.5.5 0 01-.43-.75l.05-.07L10.93 7H9.5a.5.5 0 01-.09-1h.1z"
/>
</svg>
`,Kp=ne`
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
fill="currentColor"
d="M4 7.57c.04-.82.24-1.59.58-2.28L2.15 2.85a.5.5 0 11.7-.7l15 15a.5.5 0 01-.7.7L14.3 15h-1.8v.17a2.5 2.5 0 01-5 0V15H4a1 1 0 01-.26-.03l-.13-.04a1 1 0 01-.6-1.05l.02-.13.05-.13L4 11.4V7.57zM13.3 14L5.34 6.05a4.6 4.6 0 00-.32 1.33L5 7.6V11.5l-.04.2L4 14h9.3zm-1.8 1h-3v.14a1.5 1.5 0 001.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15zm3.54-3.32l.87 2.1.86.85c.15-.17.23-.4.23-.64v-.13l-.02-.08a1 1 0 00-.06-.17L16 11.4V7.58l-.02-.22A5.92 5.92 0 0010 2a6.1 6.1 0 00-4.21 1.66l.7.71A5.1 5.1 0 0110 3a4.9 4.9 0 015 4.6l.01.21v3.69l.04.2z"
/>
</svg>
`,qp=ne`
<div class="dismissNotificationStyle" role="group">
<div style="grid-area:icon; text-align: right;">
<button class="dismiss" @click=${e=>e.onCloseClick()}>
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path
fill="currentColor"
d="M2.59 2.72l.06-.07a.5.5 0 01.63-.06l.07.06L8 7.29l4.65-4.64a.5.5 0 01.7.7L8.71 8l4.64 4.65c.18.17.2.44.06.63l-.06.07a.5.5 0 01-.63.06l-.07-.06L8 8.71l-4.65 4.64a.5.5 0 01-.7-.7L7.29 8 2.65 3.35a.5.5 0 01-.06-.63l.06-.07-.06.07z"
/>
</svg>
</button>
</div>
<div style="grid-area:content; text-align: center; margin-bottom: 20px;">
<div>
${e=>e.dismissedPermanently?Kp:Zp}
<label style="vertical-align: top; padding-left: 4px;">
${e=>e.dismissedPermanently?as.msWalletNotificationDismissText():as.msWalletNotificationSnoozeText()}
</label>
</div>
${le((e=>!e.dismissedPermanently),ne`
<div>
<a href="#" class="actionLink" @click=${e=>e.onDismissClick()} data-test-id="close-permanently-link">
${as.msWalletNotificationDismissPermanently()}
</a>
</div>
`)}
</div>
</div>
`;let Xp=class extends Ie{constructor(){super(),this._dismissedPermanently=!1,this.notificationType=this.getAttribute("notificationType"),this.dataKey=this.getAttribute("dataKey"),this.appName=this.getAttribute("appName")}get dismissedPermanently(){return y.track(this,"dismissedPermanently"),this._dismissedPermanently}set dismissedPermanently(e){this._dismissedPermanently=e,y.notify(this,"dismissedPermanently")}onDismissClick(){var e;this.dismissedPermanently=!0,e=this.dataKey,ds.onDismiss(e),Xa(gu[this.notificationType][uu.dismiss],this.appName)}onCloseClick(){this.shadowRoot.querySelector(".dismissNotificationStyle").remove()}};jp([he],Xp.prototype,"notificationType",void 0),jp([he],Xp.prototype,"dataKey",void 0),jp([he],Xp.prototype,"appName",void 0),Xp=jp([be({name:"dismiss-notification",template:qp,styles:Yp})],Xp);var Qp=function(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a};const Jp=I`
.notificationRowStyle {
padding: 10px 14px;
display: grid;
grid-template-columns: 36px 198px 16px;
grid-template-rows: auto auto;
grid-template-areas:
'icon title dismiss'
'icon content dismiss';
column-gap: 10px;
}
.notificationRowStyle:hover,
.notificationRowStyle:focus {
background-color: ${ia.buttonBackgroundHover};
outline: 0;
text-decoration: none !important;
}
@media (prefers-color-scheme: dark) {
.notificationRowStyle:hover,
:focus {
background-color: ${ia.darkModeButtonBackgroundHover};
outline: 0;
}
}
@media screen and (-ms-high-contrast: active) {
.notificationRowStyle:hover,
:focus {
background-color: highlight;
}
}
.noitificationIcon {
grid-area: icon;
display: inline-grid;
padding-top: 2px;
justify-content: center;
}
.errorIcon {
fill: ${ia.criticalPrimary};
}
@media (prefers-color-scheme: dark) {
.errorIcon {
fill: ${ia.RedAlertIconDarkMode};
}
}
.warningIcon {
fill: ${ia.YellowAlertPrimary};
}
@media (prefers-color-scheme: dark) {
.warningIcon {
fill: ${ia.YellowAlertIconDarkMode};
}
}
.blueIcon {
fill: ${ia.compoundBrandForegroundLight};
}
@media (prefers-color-scheme: dark) {
.blueIcon {
fill: ${ia.compoundBrandForegroundDark};
}
}
.notificationTitle {
font-weight: 600;
line-height: 20px;
font-size: 14px;
color: inherit;
}
.notificationText {
font-size: 12px;
line-height: 16px;
padding-top: 8px;
padding-bottom: 8px;
}
.actionLink {
font-size: 12px;
font-weight: 400;
color: #115ea3;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
.actionLink {
color: #479ef5;
}
}
.actionLink:hover,
.actionLink:focus {
outline: 0;
text-decoration: underline !important;
}
.dismiss {
color: inherit;
background-color: transparent;
border: none;
justify-self: center;
align-self: center;
padding: 4px;
}
.dismiss:focus {
outline: 2px solid #80868b !important;
border-radius: 4px;
}
.dismiss:hover {
background-color: ${ia.buttonBackgroundDoubleHover};
border-radius: 4px;
outline: 0;
}
@media (prefers-color-scheme: dark) {
.dismiss:focus {
outline: 2px solid background-color: ${ia.darkButtonBackgroundDoubleHover} !important;
}
.dismiss:hover {
background-color: ${ia.darkButtonBackgroundDoubleHover};
}
}
`,eh=ne`
${le((e=>!e.dismiss),ne`
<div
class="notificationRowStyle"
tabindex="0"
@click=${(e,t)=>e.onActionAreaClick(t.event)}
@keydown=${(e,t)=>e.onActionAreaKeyDown(t.event)}
>
<div class="${e=>(e.iconClassName||" ")+" noitificationIcon"}">
<slot name="icon"></slot>
</div>
<div style="grid-area: title">
<label class="notificationTitle">${e=>e.headerTitle}</label>
</div>
<div style="grid-area: content">
<slot name="content">
<div class="notificationText" id="content">${e=>e.content}</div>
</slot>
<div>
<a class="actionLink" @click=${(e,t)=>e.onActionLinkClick(t.event)} href="#">${e=>e.actionText}</a>
</div>
</div>
<div style="grid-area:dismiss; text-align: right;">
<button
class="dismiss"
title="${as.msWalletNotificationSnoozeLabel()}"
aria-label="${as.msWalletNotificationSnoozeLabel()}"
@click=${(e,t)=>e.onDismissClick(t.event)}
>
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path
fill="currentColor"
d="M2.59 2.72l.06-.07a.5.5 0 01.63-.06l.07.06L8 7.29l4.65-4.64a.5.5 0 01.7.7L8.71 8l4.64 4.65c.18.17.2.44.06.63l-.06.07a.5.5 0 01-.63.06l-.07-.06L8 8.71l-4.65 4.64a.5.5 0 01-.7-.7L7.29 8 2.65 3.35a.5.5 0 01-.06-.63l.06-.07-.06.07z"
/>
</svg>
</button>
</div>
</div>
`)}
${le((e=>e.dismiss),ne`
<dismiss-notification
notificationType="${e=>e.notificationType}"
dataKey="${e=>e.dataKey}"
></dismiss-notification>
`)}
`;let th=class extends Ie{get dismiss(){return y.track(this,"dismiss"),this._dismiss}set dismiss(e){this._dismiss=e,y.notify(this,"dismiss")}constructor(){super(),this.onActionLinkClickExtended=zp,this.notificationType=this.getAttribute("notificationType"),this.dataKey=this.getAttribute("dataKey"),this.headerTitle=this.getAttribute("headerTitle"),this.content=this.getAttribute("content"),this.actionUrl=this.getAttribute("actionUrl"),this.actionText=this.getAttribute("actionText"),this.appName=this.getAttribute("appName"),function(e,...t){["onActionLinkClickExtended"].forEach((t=>{let o=e[t];delete e[t],Object.defineProperty(e,t,{get:()=>(y.track(e,t),o),set(i){const n=e[t];o=i,y.notify(e,t);const r=e[t+"Changed"];r&&r.call(e,i,n)}})}))}(this)}connectedCallback(){super.connectedCallback(),Xa(gu[this.notificationType][uu.impression],this.appName)}onActionAreaClick(e){Xa(xa.NOTIFICATION_CARD_ENGAGEMENT_FROM_CONTENT,this.appName),this.onActionLinkClick(e)}onActionAreaKeyDown(e){return e.key!==ou&&" "!==e.key||this.onActionAreaClick(e),!0}onActionLinkClick(e){var t;Xa(gu[this.notificationType][uu.engagement],this.appName),t=this.dataKey,ds.onApply(t),this.actionUrl&&ds.navigateToUrl(this.actionUrl),this.onActionLinkClickExtended(),e.stopPropagation()}onDismissClick(e){var t;Xa(gu[this.notificationType][uu.snooze],this.appName),t=this.dataKey,ds.onSnooze(t),this.dismiss=!0,e.stopPropagation()}};var oh,ih;Qp([he],th.prototype,"iconClassName",void 0),Qp([he],th.prototype,"notificationType",void 0),Qp([he],th.prototype,"dataKey",void 0),Qp([he],th.prototype,"headerTitle",void 0),Qp([he],th.prototype,"content",void 0),Qp([he],th.prototype,"actionUrl",void 0),Qp([he],th.prototype,"actionText",void 0),Qp([he],th.prototype,"appName",void 0),th=Qp([be({name:"base-notification",template:eh,styles:Jp})],th),(ih=oh||(oh={})).Sync="edge://settings/profiles/sync",ih.RoamingSync="edge://settings/profiles/sync#Roaming",ih.Payments="edge://settings/payments",ih.WalletHub="edge://wallet",ih.walletPaymentMethodsURL="edge://wallet/paymentMethods",ih.walletPasswordsURL="edge://wallet/passwords",ih.walletPersonalInfoURL="edge://wallet/personalInfo",ih.walletEtreeURL="edge://wallet/#popup=etree",ih.EnrollCardToMSALearnMore="https://aka.ms/EdgeSaveCardFAQ",ih.UseVirtualCardLearnMore="https://aka.ms/EdgeVirtualCardFAQ",ih.WalletSettings="edge://wallet/settings",ih.microsoftRewardsDashboardURL="https://go.microsoft.com/fwlink/?linkid=2222743",ih.microsoftRewardsGiveDashboardURL="https://go.microsoft.com/fwlink/?linkid=2147443",ih.microsoftRewardsRedeemURL="https://rewards.microsoft.com/redeem/?form=edgepredeem",ih.microsoftRebatesPayoutURL="https://www.bing.com/rebates/payouts?pay=1",ih.microsoftRebatesDealsURL="https://www.bing.com/rebates",ih.PCToMobileLandingPage="https://aka.ms/emw";const nh=ne`
<svg slot="icon" fill="inherit" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
d="M10 2a8 8 0 110 16 8 8 0 010-16zm0 10.5a.75.75 0 100 1.5.75.75 0 000-1.5zM10 6a.5.5 0 00-.5.41v4.68a.5.5 0 001 0V6.41A.5.5 0 0010 6z"
/>
</svg>
`,rh=ne`
<svg slot="icon" fill="inherit" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M2.62235 18.5C2.40213 18.5 2.1932 18.4576 1.99556 18.3729C1.80358 18.2882 1.63135 18.1753 1.47889 18.0341C1.33207 17.8873 1.21349 17.7179 1.12315 17.5259C1.03844 17.3283 0.996094 17.1194 0.996094 16.8992C0.996094 16.6394 1.05256 16.3909 1.1655 16.1538L7.54347 3.39783C7.68464 3.11549 7.8851 2.89527 8.14485 2.73716C8.4046 2.57905 8.68976 2.5 9.00033 2.5C9.3109 2.5 9.59606 2.57905 9.85581 2.73716C10.1156 2.89527 10.316 3.11549 10.4572 3.39783L16.8352 16.1538C16.9481 16.3909 17.0046 16.6394 17.0046 16.8992C17.0046 17.1194 16.9594 17.3283 16.869 17.5259C16.7843 17.7179 16.6658 17.8873 16.5133 18.0341C16.3665 18.1753 16.1943 18.2882 15.9966 18.3729C15.8046 18.4576 15.5985 18.5 15.3783 18.5H2.62235ZM9.54241 12.6726V8.33589C9.54241 8.18908 9.48877 8.06203 9.38148 7.95474C9.27419 7.84745 9.14714 7.79381 9.00033 7.79381C8.85351 7.79381 8.72646 7.84745 8.61917 7.95474C8.51189 8.06203 8.45824 8.18908 8.45824 8.33589V12.6726C8.45824 12.825 8.50906 12.9549 8.6107 13.0622C8.71799 13.1638 8.84787 13.2147 9.00033 13.2147C9.15279 13.2147 9.27984 13.1638 9.38148 13.0622C9.48877 12.9549 9.54241 12.825 9.54241 12.6726ZM9.81346 14.8409C9.81346 14.7336 9.79087 14.632 9.7457 14.536C9.70617 14.4344 9.64688 14.3468 9.56782 14.2734C9.49442 14.1944 9.40689 14.1351 9.30525 14.0956C9.20926 14.0504 9.10762 14.0278 9.00033 14.0278C8.88739 14.0278 8.78011 14.0504 8.67846 14.0956C8.58247 14.1407 8.49777 14.2 8.42436 14.2734C8.35095 14.3468 8.29166 14.4344 8.24649 14.536C8.20696 14.6376 8.1872 14.7421 8.1872 14.8494C8.1872 14.9623 8.20696 15.0696 8.24649 15.1713C8.29166 15.2672 8.35095 15.3519 8.42436 15.4254C8.50342 15.4931 8.59094 15.5496 8.68693 15.5948C8.78293 15.6343 8.88739 15.654 9.00033 15.654C9.2262 15.654 9.41819 15.575 9.57629 15.4169C9.7344 15.2588 9.81346 15.0668 9.81346 14.8409Z"
/>
</svg>
`;var ah,sh,lh,ch;!function(e){e[e.PROGRAMMATIC=0]="PROGRAMMATIC",e[e.USER_ACTION=1]="USER_ACTION"}(ah||(ah={})),(ch=sh||(sh={})).Tokenization="Tokenization",ch.RoamCard="RoamCard",ch.ErrorHandling="ErrorHandling",ch.Unknown="Unknown",function(e){e.isWalletBNPLAffirmAdaptiveCheckoutEnabled="isWalletBNPLAffirmAdaptiveCheckoutEnabled",e.isTokenizationEnrollRewardsEnabled="isTokenizationEnrollRewardsEnabled",e.isWalletTokenizedAutofillEnabled="isWalletTokenizedAutofillEnabled",e.creditCardUploadEnabled="creditCardUploadEnabled",e.creditCardGlobalizationEnabled="creditCardGlobalizationEnabled",e.creditCardBetterStateTranslationEnabled="creditCardBetterStateTranslationEnabled",e.creditCardSyncCardEnabled="creditCardSyncCardEnabled",e.cardUploadErrorHandling="cardUploadErrorHandling",e.isCardRoamingLocalSaveCvvEnabled="isCardRoamingLocalSaveCvvV2Enabled",e.isCardRoamingAlwaysVerifyEnabled="isCardRoamingAlwaysVerifyEnabled",e.isCreditCardSilentUploadEnabled="creditCardSilentUpload",e.isCreditCardAutoSaveEnabled="creditCardAutoSaveEnabled",e.isWalletPartialCardEnabled="isWalletPartialCardEnabled",e.isWalletHubUXReskinEnabled="isWalletHubUXReskinEnabled",e.isWalletHubLayoutRefreshEnabled="isWalletHubLayoutRefreshEnabled",e.isWalletTokenizationCardMetadataEnabled="isWalletTokenizationCardMetadataEnabled",e.isBNPLFeedbackEnabled="isBNPLFeedbackEnabled",e.isCardRoamingSupportCrossRegionV2Enabled="isCardRoamingSupportCrossRegionV2Enabled",e.isCardRoamingSupportCrossRegionV3Enabled="isCardRoamingSupportCrossRegionV3Enabled"}(lh||(lh={}));const dh=la("walletTitle","Wallet"),uh=(e,t,o,i,n=au.Enroll)=>{if(r=lh.isWalletTokenizedAutofillEnabled,!dh.valueExists(r)||!dh.getBoolean(r))return;var r;if(!(e&&t&&n&&o))return;const a=dh.valueExists("tokenizationFunnelEnumMaxValue")?parseInt(dh.getValue("tokenizationFunnelEnumMaxValue"),10)+1:-1;if(null!==i&&i>=0&&i<=a&&!isNaN(a)){const r=n===au.Autofill?`${nu.TokenizationEnrollActions}.${n}.${e}.${o}`:`${nu.TokenizationEnrollActions}.${n}.${e}.${o}.${t}`;Sa.recordEnumerationValue(r,i,a)}};function ph(e,t){const o=e.data,i=!0===e.previewData?.isLocal||!0===o?.metadata?.isLocal,n=e.previewData?.guid??o?.guid,r=as.msWalletNotificationCardTokenizationEligibleHeader(),a=as.msWalletNotificationCardTokenizationEligibleIntroduction(),s=((e,t)=>es(Ja(`edge://wallet${((e,t)=>e?`/paymentMethods/cardDetails/edit#paymentInstrumentId=${t}&from=${su.ProfileNotification}&usage=${sh.Tokenization}`:`/paymentMethods#paymentInstrumentId=${t}&from=${su.ProfileNotification}&usage=${sh.Tokenization}`)(e,t)}`),"CardTokenizationEligible"))(i,n),l=function(e){const t=`${(e=>e.cardType??e.network)(e)} ****${Da(e?.cardNumber)}`;return as.msWalletNotificationCardTokenizationEligibleSetUpText([t])}(e.previewData);var c;return uh(su.ProfileNotification,(e=>e?(e=>!0===e.metadata?.isLocal)(e)?lu.Local:(e=>!0===e?.metadata?.isPartialCard)(e)?lu.Partial:(e=>!1===e?.metadata?.isLocal)(e)?lu.Server:lu.Unknown:lu.Unknown)(o),(c=o?.network,cu[c?.toUpperCase()]??cu.UNKNOWN),du.CARD_ELIGIBLE,au.Enroll),ne`<base-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${r}"
content="${a}"
actionUrl="${s}"
actionText="${l}"
appName="${t}"
>
<svg slot="icon" width="28" height="28" viewBox="0 0 28 28" fill="none">
<rect width="28" height="28" rx="14" fill="#FDE300"></rect>
<path
fill-rule="evenodd"
clip-path="evenodd"
d="M6.53325 9.13302C6.23875 9.13302 6 9.37177 6 9.66627V13.3991C6 16.9549 8.10284 19.5675 12.2036 21.183C12.3292 21.2325 12.4689 21.2325 12.5945 21.183C13.2001 20.9444 13.7622 20.6841 14.2803 20.4022C13.5496 19.5225 13.1103 18.3922 13.1103 17.1593C13.1103 14.3545 15.3841 12.0807 18.1889 12.0807C18.3951 12.0807 18.5984 12.093 18.7981 12.1169V9.66627C18.7981 9.37177 18.5594 9.13302 18.2649 9.13302C16.3712 9.13302 14.5264 8.4622 12.719 7.10665C12.5294 6.96445 12.2687 6.96445 12.0791 7.10665C10.2717 8.4622 8.42695 9.13302 6.53325 9.13302Z"
fill="black"
></path>
<path
fill-rule="evenodd"
clip-path="evenodd"
d="M22.2494 17.1589C22.2494 14.9154 20.4307 13.0967 18.1872 13.0967C15.9437 13.0967 14.125 14.9154 14.125 17.1589C14.125 19.4024 15.9437 21.2211 18.1872 21.2211C20.4307 21.2211 22.2494 19.4024 22.2494 17.1589ZM21.0296 17.1583C21.0296 16.7657 20.7113 16.4474 20.3186 16.4474L16.0531 16.4474C15.6605 16.4474 15.3422 16.7657 15.3422 17.1583C15.3422 17.5509 15.6605 17.8692 16.0531 17.8692L20.3186 17.8692C20.7113 17.8692 21.0296 17.5509 21.0296 17.1583Z"
fill="black"
></path>
</svg>
</base-notification>`}var hh=function(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a};const fh=I`
.image {
max-width: 36px;
max-height: 36px;
width: auto;
height: auto;
object-fit: contain;
}
.cashbackShape {
height: 20px;
display: inline-block;
padding: 0px;
position: relative;
background: ${"#3267FA"};
border-radius: 4px;
margin-inline-end: 10px;
margin-block-start: 2px;
color: ${ia.whiteBackground};
}
.notificationText {
font-size: 12px;
padding-bottom: 8px;
}
.cashbackShape::before {
top: 10%;
right: -6px;
width: 16px;
height: 16px;
content: '';
position: absolute;
transform: rotate(-45deg);
background: inherit;
border-radius: 4px;
}
.cashbackPadding {
padding-inline-end: 5px;
padding-inline-start: 5px;
padding-block-start: 1px;
position: relative;
}
.expireText {
display: inline-block;
color: ${ia.redForeground};
}
@media (prefers-color-scheme: dark) {
.expireText {
color: ${ia.personalizedOfferTextColorDark};
}
}
`,gh=ne`
<base-notification
notificationType="${e=>e.notificationType}"
dataKey="${e=>e.dataKey}"
content="${e=>e.content}"
actionUrl="${e=>e.actionUrl}"
actionText="${e=>e.actionText}"
appName="${e=>e.appName}"
>
<img slot="icon" class="image" src="${e=>`edge://image?${e.imageUrl}`}" />
<div slot="content" class="notificationText">
${e=>ne`${as.msWalletNotificationPOMessage([`<div class="cashbackShape">\n <div class="cashbackPadding">\n <span>$</span>\n <span>${e.rebateValue}</span>\n </div>\n </div>`,`<div class="expireText">${e.expireStr}</div>`])} `}
</div>
</base-notification>
`;let Eh=class extends Ie{padNumber(e){return e<10?`0${e}`:`${e}`}connectedCallback(){super.connectedCallback(),this.notificationType=this.getAttribute("notificationType");const e=Date.now()/1e3,t=this.expiration-e;if(t>0){const e=Math.floor(t/3600),o=Math.floor((t-3600*e)/60);this.expireStr=`${this.padNumber(e)}h:${this.padNumber(o)}m`}else this.expireStr="00h:00m"}};hh([v],Eh.prototype,"dismiss",void 0),hh([he],Eh.prototype,"notificationType",void 0),hh([he],Eh.prototype,"dataKey",void 0),hh([he],Eh.prototype,"actionUrl",void 0),hh([he],Eh.prototype,"actionText",void 0),hh([he],Eh.prototype,"expiration",void 0),hh([he],Eh.prototype,"rebateValue",void 0),hh([he],Eh.prototype,"imageUrl",void 0),hh([he],Eh.prototype,"appName",void 0),hh([v],Eh.prototype,"expireStr",void 0),Eh=hh([be({name:"personalized-offers-notification",template:gh,styles:fh})],Eh);const Th=I`
.icon-background {
width: 20px;
height: 20px;
border-radius: 50%;
background-color: ${ia.donationIconBackgroundLight};
padding-block-start: 10px;
padding-block-end: 6px;
padding-inline-start: 5px;
padding-inline-end: 6px;
}
.icon-container {
padding-inline-start: 3px;
padding-block-start: 3px;
}
@media (prefers-color-scheme: dark) {
.icon-background {
background-color: ${ia.donationIconBackgroundDark};
}
}
`,Nh=ne`
<span class="icon-background">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="icon-container">
<path
d="M10 6.5V2H5.5C4.67 2 4 2.67 4 3.5V9c.7.03 1.4.25 2 .66a3.85 3.85 0 014.88 5.91L8.45 18h6.05c.83 0 1.5-.67 1.5-1.5V8h-4.5A1.5 1.5 0 0110 6.5zm1 0V2.25L15.75 7H11.5a.5.5 0 01-.5-.5zm-4.86 4.33a2.85 2.85 0 114.03 4.04l-3.82 3.81a.5.5 0 01-.7 0l-3.82-3.81a2.85 2.85 0 114.03-4.04l.14.14.14-.14zm4.03 4.04l-.36-.36z"
/>
</svg>
</span>
`;let mh=class extends Ie{};var _h,Oh,Ah;mh=function(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a}([be({name:"donation-icon",template:Nh,styles:Th})],mh),(Ah=_h||(_h={})).AddCreditCardPref="autofill.credit_card_enabled",Ah.TokenizationNumRewardsUsed="autofill.tokenization_number_rewards_used",Ah.MSPayCreditCardEnabled="autofill.mspay_credit_card_enabled",Ah.AutofillOfferToSyncCardEnabled="autofill.offer_to_sync_card_enabled",Ah.ProfileEnabled="autofill.profile_enabled",Ah.AutofillInfoEnabled="autofill.autostuff_enabled",Ah.SaveCreditCardCvvLocally="autofill.save_credit_card_cvv_locally",Ah.RoamingCardSilentlyEnabled="autofill.roaming_card_silently_enabled",Ah.MultiFactorAuthToFill="edge_wallet.multi_factor_auth_to_fill",Ah.MembershipsAutofillEnabled="autofill.memberships_enabled",Ah.PCToMobileSectionDismissed="edge_wallet.pc_to_mobile_section_dismissed",Ah.EnabledFeedbackPref="edge.feedback_allowed",Ah.ShowRewards="edge_rewards.show",Ah.EdgeWalletBNPLEnabled="edge_wallet_bnpl_enabled",Ah.ShowWalletIntroPref="edge_wallet.show_wallet_intro_section",Ah.WalletCheckoutEnabled="edge_wallet.wallet_checkout_enabled",Ah.ShoppingAssistantPref="edge_shopping_assistant_enabled",Ah.ShowOffersIntroPref="edge_wallet.show_wallet_offers_intro",Ah.ShowNewInTickets="edge_wallet.show_new_in_tickets",Ah.ShowTickets="edge_wallet.show_wallet_tickets",Ah.EdgeTippingAssistantEnabled="edge_tipping_assistant_enabled",Ah.ShoppingPackageTrackingUserConsent="shopping.package_tracking_user_consented",Ah.CredentialsEnableService="credentials_enable_service",Ah.CredentialsEnableAutofillPasswords="credentials_enable_autofill_passwords",Ah.CredentialsEnableBreachDetection="credentials_enable_breachdetection",Ah.PasswordBreachScanned="profile.password_breach_scanned",Ah.PasswordBreachLastScannedTime="profile.password_breach_last_scanned_time",Ah.PasswordBreachScanTriggeredCount="profile.password_breach_scan_triggered_count",Ah.PasswordBreachScanTriggeredPasswordCount="profile.password_breach_scan_triggered_password_count",Ah.PasswordRestrictLength="profile.edge_password_restrict_length",Ah.CredentialsEnablePasswordGeneration="credentials_enable_passwordgeneration",Ah.CredentialsEnablePasswordReveal="credentials_enable_passwordreveal",Ah.MasterPasswordAuthCriteria="profile.master_password_auth_criteria",Ah.MasterPasswordAuthFrequency="profile.master_password_auth_frequency",Ah.CredentailsEnableAutoSave="credentials_enable_autosave",Ah.CustomPrimaryPasswordHash="profile.custom_primary_password_hash",Ah.FeaturePromotionDict="edge_wallet.notification.featurePromotion.promotionDict",Ah.SettingsMigration="edge_wallet.use_as_default_t2",Ah.SettingsMigrationDismissed="edge_wallet.use_as_default_t2_dismissed",Ah.ShowWalletETree="edge_wallet.show_wallet_e_tree",Ah.WalletETreeEnabled="edge_wallet.wallet_etree_enabled",Ah.EtreeNotificationLastShow="edge_wallet.etree_notification_last_show",Ah.IsSignedInProfile="edge_wallet.isSignedInProfile",Ah.HomeFreDismissed="edge_wallet.home.fre.dismissed",Ah.HomeFrePaymentsStepCompleted="edge_wallet.home.fre.payments_step_completed",Ah.HomeFreMembershipsStepCompleted="edge_wallet.home.fre.memberships_step_completed",Ah.HomeFrePasswordsStepCompleted="edge_wallet.home.fre.passwords_step_completed",Ah.HomeFreRewardsStepCompleted="edge_wallet.home.fre.rewards_step_completed",Ah.HomeFreSavingsStepCompleted="edge_wallet.home.fre.savings_step_completed",Ah.HomeFreSigninStepCompleted="edge_wallet.home.fre.signin_step_completed",Ah.HomeFreAutosaveStepCompleted="edge_wallet.home.fre.autosave_step_completed",Ah.CryptoWalletUserEnabled="edge_wallet.crypto_wallet_user_enabled",Ah.CryptoUserFREState="edge_wallet.crypto_user_fre_state",Ah.CryptoWalletSuspended="edge_wallet.a0b1b27987ba331be1a8f2cd0d74c615c3d35ec3f298ad69506bbe21d5cb71d7",Ah.PWAPromotionDialogShownTimes="edge_wall
.packageTrackingIcon {
fill: ${ia.packageTrackingIconLight};
}
@media (prefers-color-scheme: dark) {
.packageTrackingIcon {
fill: ${ia.packageTrackingIconDark};
}
}
`,Rh=ne`<base-notification
notificationType="${e=>e.notificationType}"
dataKey="${e=>e.dataKey}"
headerTitle="${e=>e.headerTitle}"
content="${e=>e.content}"
actionUrl="${e=>e.actionUrl}"
actionText="${e=>e.actionText}"
appName="${e=>e.appName}"
:onActionLinkClickExtended=${e=>e.onActionLinkClickExtended}
>
<svg
slot="icon"
class="packageTrackingIcon"
width="24"
height="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1.75 4.5a.75.75 0 0 0-.75.75v6c0 1.24 1 2.25 2.25 2.25h5c1.24 0 2.25-1 2.25-2.25v-6a.75.75 0 0 0-.75-.75H9.5v-1a2.5 2.5 0 0 0-3.75-2.17A2.5 2.5 0 0 0 2 3.5v1h-.25ZM7 4.5v-1c0-.35-.07-.68-.2-.98A1 1 0 0 1 8 3.5v1H7Zm-1.5-1v1h-2v-1a1 1 0 0 1 2 0ZM2 17.25v-3c.38.16.8.25 1.25.25h.25v2.75c0 .39.3.7.67.75a3 3 0 0 1 5.66 0h2.34A3 3 0 0 1 15 16V5.25a.75.75 0 0 0-.75-.75h-2.92a1.76 1.76 0 0 0-.83-.83V3.5c0-.17-.01-.34-.04-.5h3.79c1.24 0 2.25 1 2.25 2.25V6h1.55c.87 0 1.66.5 2.03 1.29l1.7 3.58c.15.3.22.63.22.97v5.41c0 1.24-1 2.25-2.25 2.25h-1.8a3 3 0 0 1-5.9 0h-2.1a3 3 0 0 1-5.91-.01A2.25 2.25 0 0 1 2 17.25Zm15.83.75h1.92c.41 0 .75-.34.75-.75V17h-1.25a.75.75 0 0 1 0-1.5h1.25v-3h-4v3.9c.61.36 1.09.92 1.33 1.6ZM16.5 7.5V11h3.68l-1.45-3.07a.75.75 0 0 0-.68-.43H16.5ZM7 20.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm9.5-1.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0ZM3.5 3.5a1 1 0 0 1 .08-.4Z"
></path>
</svg>
</base-notification>`;let yh=class extends Ie{constructor(){super(...arguments),this.onActionLinkClickExtended=()=>{var e;this.subType===Ih.ViewOrder?Xa(xa.PACKAGE_TRACKING_VIEW_ORDER_ENGAGEMENT,this.appName):this.subType===Ih.TrackOrder&&(Xa(xa.PACKAGE_TRACKING_TRACK_ORDER_ENGAGEMENT,this.appName),e=_h.ShoppingPackageTrackingUserConsent,!0,fs.setPref(e,true))}}};function vh(e){return is(e,dh)}bh([he],yh.prototype,"notificationType",void 0),bh([he],yh.prototype,"dataKey",void 0),bh([he],yh.prototype,"headerTitle",void 0),bh([he],yh.prototype,"content",void 0),bh([he],yh.prototype,"actionUrl",void 0),bh([he],yh.prototype,"actionText",void 0),bh([he],yh.prototype,"subType",void 0),bh([he],yh.prototype,"appName",void 0),yh=bh([be({name:"package-tracking",styles:Sh,template:Rh})],yh);const Ch={cancel:vh({id:"cancel",defaultMessage:"Cancel",description:"Text of the cancel button"}),dismiss:vh({id:"dismiss",defaultMessage:"Dismiss",description:"Text of the dismiss button"}),learnMore:vh({id:"learnMore",defaultMessage:"Learn more",description:"Text of the learn more button"}),close:vh({id:"close",defaultMessage:"Close",description:"Text of the Close button"}),textOfCreateButton:vh({id:"textOfCreateButton",description:"Text for create button",defaultMessage:"Create"}),textOfChangeButton:vh({id:"textOfChangeButton",description:"Text for change button",defaultMessage:"Change"}),tokenizeCardEnterCode:vh({id:"tokenizeCardEnterCode",defaultMessage:"Enter code",description:"Label for enter verification code field"}),tokenizeCardVerify:vh({id:"tokenizeCardVerify",defaultMessage:"Verify",description:"Label for the verify button"}),tokenizeCardChallengeMethodAPPToAPP:vh({id:"tokenizeCardChallengeMethodAPPToAPP",defaultMessage:"Mobile banking app",description:"Simple description for the verify via banking app option"}),tokenizeCardChallengeMethodCustomerService:vh({id:"tokenizeCardChallengeMethodCustomerService",defaultMessage:"Bank customer service",description:"Simple description for the verify via customer service option"}),tokenizeCardChallengeMethodEmail:vh({id:"tokenizeCardChallengeMethodEmail",defaultMessage:"Email",description:"Simple description for the verify via email option"}),tokenizeCardChallengeMethodOnlineBanking:vh({id:"tokenizeCardChallengeMethodOnlineBanking",defaultMessage:"Bank account",description:"Simple description for the verify via online banking option"}),tokenizeCardChallengeMethodOutboundCall:vh({id:"tokenizeCardChallengeMethodOutboundCall",defaultMessage:"Phone call",description:"Simple description for the verify via phone call option"}),tokenizeCardChallengeMethodSMS:vh({id:"tokenizeCardChallengeMethodSMS",defaultMessage:"Text message",description:"Simple description for the verify via SMS option"}),tokenizeCardSelectMethodDescription:vh({id:"tokenizeCardSelectMethodDescription",defaultMessage:"Choose one of the following verification methods:",description:"Description for choose a new method"}),tokenizeCardBack:vh({id:"tokenizeCardBack",defaultMessage:"Back",description:"Label for the Back button"}),tokenizeCardNext:vh({id:"tokenizeCardNext",defaultMessage:"Next",description:"Label for the Next button"}),tokenizeCardEnterCodeStepTitle:vh({id:"tokenizeCardEnterCodeStepTitle",defaultMessage:"Let's get you verified",description:"Title for the enter verification code step"}),tokenizeCardSelectMethodStepTitle:vh({id:"tokenizeCardSelectMethodStepTitle",defaultMessage:"Let's get you verified",description:"Title for the select method code step"}),tokenizeCardErrorStepTitle:vh({id:"tokenizeCardErrorStepTitle",defaultMessage:"Something went wrong",description:"Title for the error step"}),tokenizeCardLoadingTitle:vh({id:"tokenizeCardLoadingTitle",defaultMessage:"Contacting your bank…",description:"Title for the loading step"}),tokenizeCardEnterCvvStepDescription:vh({id:"tokenizeCardEnterCvvStepDescription",defaultMessage:"Your bank requires you to verify the CVV security code associated with your $1 ending in $2.",description:"Description shows in CVV verification dialog"}),tokenizeCardCvvInvalidError:vh({id:"token
iconClassName="${r?"errorIcon":"warningIcon"}"
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${a}"
content="${c}"
actionUrl="${s}"
actionText="${l}"
appName="${t}"
>
${r?nh:rh}
</base-notification>`}(e,t);case La.SignupCryptoWallet:return function(e,t){const o=as.msWalletNotificationCryptowalletSignupTitle(),i=as.msWalletNotificationCryptowalletSignupDescription(),n=es(Ja("edge://wallet/crypto/onboard?from=notification"),"CryptoSignup"),r=as.msWalletNotificationCryptowalletJoinButton();return ne`<base-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${o}"
content="${i}"
actionUrl="${n}"
actionText="${r}"
appName="${t}"
>
<svg
slot="icon"
fill="${ia.normalControl}"
width="20"
height="20"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14.16 1.03c.26.08.4.37.31.63l-.5 1.5a.5.5 0 01-.94-.32l.5-1.5a.5.5 0 01.63-.31zm3.7 1.82a.5.5 0 10-.71-.7l-2 2a.5.5 0 00.7.7l2-2zm-10.25.3a2 2 0 013.26-.52l6.58 6.98a2 2 0 01-.64 3.2l-3.94 1.74a3.5 3.5 0 01-6.34 2.8l-1.2.52a1.5 1.5 0 01-1.67-.3l-1.22-1.22a1.5 1.5 0 01-.3-1.7l5.47-11.5zm-.16 13.78a2.5 2.5 0 004.5-1.97l-4.5 1.97zM17 6a.5.5 0 000 1h1.5a.5.5 0 100-1H17z"
/>
</svg>
</base-notification>`}(e,t);case La.CardTokenizationEligible:return ph(e,t);case La.PasswordLeakage:return function(e,t){const{LeakedPasswordCount:o}=e.previewData,i=as.msWalletNotificationPasswordCompromiseTitle(),n=1==o?as.msWalletNotificationPasswordCompromiseBodySingular():as.msWalletNotificationPasswordCompromiseBody([o]),r=new URL(aa.getString("msWalletPageURL")+"/passwords/");r.hash="#filter=Leaked";const a=es(Ja(r.toString()),"PasswordLeakage"),s=ns({id:"msWalletNotificationFixLeakage",description:"The text of view details link in password leakage notification",defaultMessage:"View details"});return ne`<base-notification
iconClassName="errorIcon"
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${i}"
content="${n}"
actionUrl="${a}"
actionText="${s}"
appName="${t}"
>
<svg slot="icon" fill="inherit" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
d="M10 2a8 8 0 110 16 8 8 0 010-16zm0 10.5a.75.75 0 100 1.5.75.75 0 000-1.5zM10 6a.5.5 0 00-.5.41v4.68a.5.5 0 001 0V6.41A.5.5 0 0010 6z"
/>
</svg>
</base-notification>`}(e,t);case La.UpcomingHotelReservations:return function(e,t){const{HotelName:o,CheckinDate:i,CheckoutDate:n}=e.previewData,r=new Date(i).toLocaleDateString(void 0,{month:"short",day:"numeric"}),a=new Date(n).toLocaleDateString(void 0,{month:"short",day:"numeric"}),s=as.msWalletNotificationHotelReservationTitle(),l=as.msWalletNotificationHotelReservationBody([o,r,a]),c=new URL(aa.getString("msWalletPageURL")+"/tickets/");c.hash="#tab=travelnotification";const d=es(Ja(c.toString()),"HotelReservation"),u=as.msWalletNotificationHotelReservationViewDetails();return ne`<base-notification
iconClassName="blueIcon"
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${s}"
content="${l}"
actionUrl="${d}"
actionText="${u}"
appName="${t}"
>
<svg slot="icon" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
d="M18 10a8 8 0 10-16 0 8 8 0 0016 0zM9.5 8.91a.5.5 0 011 0V13.6a.5.5 0 01-1 0V8.9zm-.25-2.16a.75.75 0 111.5 0 .75.75 0 01-1.5 0z"
/>
</svg>
</base-notification>`}(e,t);case La.PersonalizedOffersAvailable:return function(e,t){const o=e.previewData?.contentUrl,i=e.previewData?.contentImageUrl,n=e.previewData?.contentRebateValue,r=e.previewData?.expireEpochTime,a=as.personalizedOffersViewOfferText();return ne` <personalized-offers-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
actionUrl="${o}"
actionText="${a}"
expiration="${r}"
rebateValue="${n}"
imageUrl="${i}"
appName="${t}"
>
</personalized-offers-notification>`}(e,t);case La.RoamCard:return function(e,t){const o=e.previewData?.guid,i=e.previewData?.cardNumber,n=ss.msWalletNotificationRoamCardHeaderV3(),r=es(Ja(`edge://wallet/paymentMethods/cardDetails/edit#paymentInstrumentId=${o}&usage=${sh.RoamCard}`),"CardRoaming"),a=ss.msWalletNotificationRoamCardActionV2(),s=`•••• •••• •••• ${Da(i)}`;return ne`<base-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${n}"
content="${s}"
actionUrl="${r}"
actionText="${a}"
appName="${t}"
>
<svg slot="icon" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
d="M4.5 4C3.11929 4 2 5.11929 2 6.5V13.5C2 14.8807 3.11929 16 4.5 16H15.5C16.8807 16 18 14.8807 18 13.5V6.5C18 5.11929 16.8807 4 15.5 4H4.5ZM3 6.5C3 5.67157 3.67157 5 4.5 5H15.5C16.3284 5 17 5.67157 17 6.5V13.5C17 14.3284 16.3284 15 15.5 15H4.5C3.67157 15 3 14.3284 3 13.5V6.5ZM4.5 6C4.22386 6 4 6.22386 4 6.5C4 6.77614 4.22386 7 4.5 7H9.5C9.77614 7 10 6.77614 10 6.5C10 6.22386 9.77614 6 9.5 6H4.5ZM4.5 8C4.22386 8 4 8.22386 4 8.5C4 8.77614 4.22386 9 4.5 9H12.5C12.7761 9 13 8.77614 13 8.5C13 8.22386 12.7761 8 12.5 8H4.5ZM5 11C4.44772 11 4 11.4477 4 12V13C4 13.5523 4.44772 14 5 14H9C9.55228 14 10 13.5523 10 13V12C10 11.4477 9.55228 11 9 11H5Z"
fill="#115EA3"
/>
</svg>
</base-notification>`}(e,t);case La.DonationSummary:return function(e,t){const o=as.msWalletNotificationDonationSummaryTitle(),i=new URL(ca.getString("msWalletPageURL")+"/donation/");i.hash="#tab=overviewfromnotification";const n=es(Ja(i.toString()),"DonationSummary"),r=as.msWalletNotificationDonationSummaryLinkText();return ne`<base-notification
iconClassName="errorIcon"
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${o}"
actionUrl="${n}"
actionText="${r}"
appName="${t}"
>
<donation-icon slot="icon" />
</base-notification>`}(e,t);case La.PackageTracking:return function(e,t){const{IsShoppingPackageTrackingUserConsent:o}=e.previewData,i=o?Ih.ViewOrder:Ih.TrackOrder,n=i===Ih.ViewOrder?as.msWalletNotificationOrderStatusTitle():as.msWalletNotificationTrackOrderTitle(),r=i===Ih.ViewOrder?"":as.msWalletNotificationTrackOrderSubTitle(),a=es(Ja(new URL(ca.getString("msWalletPageURL")+"/orders/").toString()),"PackageTracking"),s=i===Ih.ViewOrder?as.msWalletNotificationViewDetailLink():as.msWalletNotificationTrackOrderLink();return ne`<package-tracking
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${n}"
content="${r}"
actionUrl="${a}"
actionText="${s}"
appName="${t}"
subType="${i}"
>
<svg slot="icon" width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
d="M10 6.5V2H5.5C4.67 2 4 2.67 4 3.5V9c.7.03 1.4.25 2 .66a3.85 3.85 0 014.88 5.91L8.45 18h6.05c.83 0 1.5-.67 1.5-1.5V8h-4.5A1.5 1.5 0 0110 6.5zm1 0V2.25L15.75 7H11.5a.5.5 0 01-.5-.5zm-4.86 4.33a2.85 2.85 0 114.03 4.04l-3.82 3.81a.5.5 0 01-.7 0l-3.82-3.81a2.85 2.85 0 114.03-4.04l.14.14.14-.14zm4.03 4.04l-.36-.36z"
/>
</svg>
</package-tracking>`}(e,t);case La.Rebates:return function(e,t){const o=as.msWalletNotificationRebatesCashoutTitle(),{balance:i=0}=e.previewData,n=5*Math.floor(i/5),r=i<5?as.msWalletNotificationRebatesCashoutDescription():as.msWalletNotificationRebatesCashoutAmountDescription([`$${n}`]),a=oh.microsoftRebatesPayoutURL,s=as.msWalletNotificationRebatesCashoutAction();return ne`<base-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${o}"
content="${r}"
actionUrl="${a}"
actionText="${s}"
appName="${t}"
>
<img
slot="icon"
height="30"
width="36"
src="data:image/png;base64,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
/>
</base-notification>`}(e,t);case La.PWAPromotion:return function(e,t){const o=Ch.walletPWAPromoTitle(),i=Ch.walletPWACommonPromoContent(),n=es(Ja(new URL(aa.getString("msWalletPageURL")).toString()),"PWAPromotion"),r=Ch.walletPWAAddShortcut();return ne`<base-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${o}"
content="${i}"
actionUrl="${n}"
actionText="${r}"
appName="${t}"
>
<svg slot="icon" width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="28" height="28" rx="14" fill="#F1FAF1" />
<path
d="M16.8712 7.01503C17.1391 7.08197 17.302 7.35342 17.2351 7.62132L16.9852 8.6214C16.9183 8.8893 16.6468 9.05222 16.3789 8.98528C16.111 8.91834 15.9481 8.64689 16.015 8.37899L16.2649 7.37891C16.3319 7.11101 16.6033 6.94809 16.8712 7.01503ZM19.8536 8.14659C20.0488 8.34186 20.0488 8.65844 19.8536 8.8537L18.8536 9.8537C18.6583 10.049 18.3417 10.049 18.1464 9.8537C17.9512 9.65844 17.9512 9.34186 18.1464 9.14659L19.1464 8.14659C19.3417 7.95133 19.6583 7.95133 19.8536 8.14659ZM12.2836 19.0325C12.7966 19.886 13.8774 20.2425 14.8102 19.8271C15.7399 19.4132 16.1982 18.3773 15.9133 17.4277L12.2836 19.0325ZM11.3642 19.439L10.3655 19.8806C9.83756 20.1141 9.21978 19.9996 8.81088 19.5919L8.41013 19.1923C8.00252 18.7858 7.88618 18.1711 8.11785 17.644L11.9891 8.83553C12.3847 7.9354 13.5625 7.71525 14.258 8.40875L19.5897 13.725C20.2853 14.4186 20.0653 15.5919 19.1678 15.9888L16.8328 17.0212C17.3372 18.4773 16.6508 20.1023 15.217 20.7407C13.7784 21.3812 12.1051 20.798 11.3642 19.439ZM20.5 11.0001H19.5C19.2239 11.0001 19 11.224 19 11.5001C19 11.7763 19.2239 12.0001 19.5 12.0001H20.5C20.7761 12.0001 21 11.7763 21 11.5001C21 11.224 20.7761 11.0001 20.5 11.0001Z"
fill="#0E700E"
/>
</svg>
</base-notification>`}(e,t);case La.DonationTrendNpo:return function(e,t){const o=e.data?.causeName,i=as.msWalletNotificationDonationTrendNpoTitle(),n=as.msWalletNotificationDonationTrendNpoDescription([o]),r=new URL(aa.getString("msWalletPageURL")+"/donation/");r.hash=o?`#tab=explore&npo=${o}`:"#tab=explore";const a=es(Ja(r.toString()),"PWAPromotion"),s=as.msWalletNotificationDonationTrendNpoLink();return ne`<base-notification
notificationType="${e.type}"
dataKey="${e.dataKey}"
headerTitle="${i}"
content="${n}"
actionUrl="${a}"
actionText="${s}"
appName="${t}"
>
<img
slot="icon"
height="36"
width="36"
src="data:image/png;base64,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
/>
</base-notification>`}(e,t);default:return Xa(xa.UNSUPPORTED_TYPE,t),null}}const Mh=I``,Dh=ne`
${le((e=>e.notification),ne`<div>${e=>wh(e.notification,e.appName)}</div> `)}
`;let Ph=class extends Ie{get notification(){return y.track(this,"notification"),this._notification}set notification(e){this._notification=e,y.notify(this,"notification")}get appName(){return y.track(this,"appName"),this._appName}set appName(e){this._appName=e,y.notify(this,"appName")}};Ph=function(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a}([be({name:"notification-container",template:Dh,styles:Mh})],Ph);const xh=new Set(["children","localName","ref","style","className"]),kh=Object.freeze(Object.create(null));function Lh(e,t){if(!t.name){const o=Te.forType(e);if(!o)throw new Error("React wrappers must wrap a FASTElement or be configured with a name.");t.name=o.name}return t.name}function Fh(e){return e.events||(e.events={})}function Gh(e,t,o){return!xh.has(o)||(console.warn(`${Lh(e,t)} contains property ${o} which is a React reserved property. It will be used by React and not set on the element.`),!1)}(function(e,t){let o=[];return{wrap:function(t,i={}){t instanceof ht&&(o.push(t),t=t.type);class n extends e.Component{constructor(){super(...arguments),this._element=null}_updateElement(e){const t=this._element;if(null===t)return;const o=this.props,n=e||kh,r=Fh(i);for(const e in this._elementProps){const i=o[e],a=r[e];if(void 0===a)t[e]=i;else{const o=n[e];if(i===o)continue;void 0!==o&&t.removeEventListener(a,o),void 0!==i&&t.addEventListener(a,i)}}}componentDidMount(){this._updateElement()}componentDidUpdate(e){this._updateElement(e)}render(){const o=this.props.__forwardedRef;void 0!==this._ref&&this._userRef===o||(this._ref=e=>{null===this._element&&(this._element=e),null!==o&&function(e,t){"function"==typeof e?e(t):e.current=t}(o,e),this._userRef=o});const n={ref:this._ref},r=this._elementProps={},a=function(e,t){if(!t.keys)if(t.properties)t.keys=new Set(t.properties.concat(Object.keys(Fh(t))));else{const o=new Set(Object.keys(Fh(t))),i=y.getAccessors(e.prototype);if(i.length>0)for(const n of i)Gh(e,t,n.name)&&o.add(n.name);else for(const i in e.prototype)!(i in HTMLElement.prototype)&&Gh(e,t,i)&&o.add(i);t.keys=o}return t.keys}(t,i),s=this.props;for(const e in s){const t=s[e];a.has(e)?r[e]=t:n["className"===e?"class":e]=t}return e.createElement(Lh(t,i),n)}}return e.forwardRef(((t,o)=>e.createElement(n,Object.assign(Object.assign({},t),{__forwardedRef:o}),null==t?void 0:t.children)))},registry:{register(e,...t){o.forEach((o=>o.register(e,...t))),o=[]}}}})(ts).wrap(Ph,{properties:["notification","appName"]});const Bh=e=>{e.preventDefault()};Ft.getOrCreate(undefined).withPrefix("fluent").register(Tr(),Ur(),$r(),ea());const Wh=I`
.root {
width: 298px;
background-color: ${ia.whiteBackground};
color: var(--neutral-foreground-rest);
}
.root fluent-divider {
margin: 0px;
}
@media (prefers-color-scheme: dark) {
.root {
background-color: ${ia.darkMiniWalletBackground};
}
.root fluent-divider {
border-color: ${ia.miniWalletDividerDarkMode};
}
}
`,Uh=ne`
<fluent-design-system-provider use-defaults>
<div class="root">
<fluent-divider></fluent-divider>
${le((e=>e.notification),ne`<notification-container
:notification=${e=>e.notification}
:appName=${e=>e.appName}
></notification-container>`)}
</div>
</fluent-design-system-provider>
`;let Vh=class extends Ie{constructor(){super(),window.addEventListener("error",(function(e){e.error&&Ha(e,"notification-fast")})),this.notification=function(){let e=null;return ca.valueExists("notification_data")&&(e=(e=>{const t=e.type;switch(t){case La.CardExpiring:case La.CardExpired:case La.RoamCard:case La.CardTokenizationEligible:{const o=JSON.parse(e.data);return Qa(!1===o.isLocal,Ma(o.network)),{type:t,dataKey:e.key,data:null,previewData:o}}case La.PackageTracking:case La.Rebates:case La.PasswordLeakage:case La.UpcomingHotelReservations:case La.FeaturePromotion:case La.DonationSummary:return{type:t,dataKey:e.key,previewData:JSON.parse(e.data)};case La.PersonalizedOffersAvailable:return{type:t,dataKey:e.key,data:null,previewData:JSON.parse(e.data)};case La.SignupCryptoWallet:case La.EtreeCampaign:case La.PWAPromotion:return{type:t,dataKey:e.key};case La.Etree:case La.DonationTrendNpo:return{type:t,dataKey:e.key,data:e?.data?JSON.parse(e?.data):null}}})(ca.getValue("notification_data"))),e}(),this.appName=Ga.MiniWallet}connectedCallback(){super.connectedCallback();const e=window.matchMedia("(prefers-color-scheme: dark)"),t=e=>{const t=e.matches?qo.DarkMode:qo.LightMode,o=this.shadowRoot.querySelector("fluent-design-system-provider");vi.setValueFor(o,t)};t(e),e.addEventListener("change",t),document.addEventListener("contextmenu",Bh)}disconnectedCallback(){window.removeEventListener("error",(e=>Ha(e,"hub"))),document.removeEventListener("contextmenu",Bh)}};Vh=function(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a}([be({name:"notification-fast",template:Uh,styles:Wh})],Vh)})()})();