(function(e){e()})(function(){var e=Object.defineProperty,t=(e,t)=>()=>(e&&(t=e(e=0)),t),n=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),r=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},i,a=t((()=>{i={debug:(...e)=>console.debug(`[widgets-core]`,...e),info:(...e)=>console.info(`[widgets-core]`,...e),warn:(...e)=>console.warn(`[widgets-core]`,...e),error:(...e)=>console.error(`[widgets-core]`,...e)}})),o,s=t((()=>{o=class{static getQueryParams(e){let t;try{t=new URLSearchParams(new URL(e).search)}catch(n){let r=e.indexOf(`?`)+1,i=e.indexOf(`#`)===-1?e.length:e.indexOf(`#`);t=new URLSearchParams(e.substring(r,i))}let n={};for(let[e,r]of t.entries())n[e]=r;return n}static isValidEmbedUrl(e){return e.startsWith(`https://givebutter.com`)}static isCurrentHostnameGivebutter(){for(let e of[`givebutter.com`,`givebutter.test`])if(window.location.hostname.endsWith(e))return!0;return!1}static getParentHostUrl(){try{return window.parent.location.href}catch(e){return null}}}})),c,l,u,d,f=t((()=>{a(),s(),c=function(e){return e.godaddy=`godaddy`,e.salesforce=`salesforce`,e.unknown=`unknown`,e}({}),l=function(e){return e.dynamicElementReplacement=`dynamic`,e}({}),u=function(e){return e.AccountId=`acct`,e.Platform=`p`,e.Mode=`mode`,e}(u||{}),d=class{static isLocalEnv(){return!1}static isInsideIframe(){return window.top!==window.self}static isGoDaddyBackoffice(){return window.parent.location.hostname.endsWith(`.godaddy.com`)}static isDynamicElementReplacementMode(){return this.getPlatform()===c.salesforce||this.isMode(l.dynamicElementReplacement)}static getAccountId(){if(!window.gbWidgets)return null;if(!window.gbWidgets.aid){let e=this.getConfigParam(u.AccountId);if(e&&typeof e==`string`){let t=decodeURIComponent(e).trim();/^[a-zA-Z0-9]{16}$/.test(t)||this.isLocalEnv()?window.gbWidgets.aid=t:i.error(`Invalid ?${u.AccountId}= format: ${t}`)}!window.gbWidgets.aid&&!o.isCurrentHostnameGivebutter()&&i.error(`Could not find ?${u.AccountId}= attribute in script url`)}return window.gbWidgets.aid}static getPlatform(){return window.gbWidgets?(window.gbWidgets.platform||(window.gbWidgets.platform=this.getConfigParam(u.Platform,c.unknown)),window.gbWidgets.platform):c.unknown}static isMode(e){var t;return window.gbWidgets.mode||(window.gbWidgets.mode=(t=this.getConfigParam(u.Mode))==null?``:t),window.gbWidgets.mode.includes(e)}static getConfigParam(e,t=null){let n=document.currentScript;return n instanceof HTMLScriptElement?new URL(n.src).searchParams.get(e):t}}}));function p(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function m(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){p(a,r,i,o,s,`next`,e)}function s(e){p(a,r,i,o,s,`throw`,e)}o(void 0)})}}var h=t((()=>{})),g,_,v,y,b,x,S,C,w,T,E,D,O=t((()=>{f(),h(),g=`https://widgets.givebutter.com`,_=`https://givebutter.com/elements/api/v2`,v=204,y=class extends Error{constructor(e,t,n){super(e),this.url=t,this.response=n}},b=function(){var e=m(function*(e,t){let n=decodeURIComponent(t).trim();return/^[a-zA-Z0-9]{6,}$/.test(n)||n===`signup-form-demo`?yield E(`${e}/elements/${n}`):{}});return function(t,n){return e.apply(this,arguments)}}(),x=function(){var e=m(function*(e,t){return yield E(`${e}/campaigns/${t}`)});return function(t,n){return e.apply(this,arguments)}}(),S=function(){var e=m(function*(e,t){return yield E(`${e}/campaigns/${t}/goal-status`)});return function(t,n){return e.apply(this,arguments)}}(),C=function(){var e=m(function*(){let e=d.getAccountId();if(e)return yield D(`ping/${e}`)});return function(){return e.apply(this,arguments)}}(),w=e=>({status:e.status,statusText:e.statusText,headers:[...e.headers.entries()].reduce((e,[t,n])=>(e[t]=n,e),{})}),T=function(){var e=m(function*(e){let t=yield fetch(e),n=w(t);if(!t.ok)throw new y(`HTTP error with status: ${t.status}`,e,n);return t.status===v?{}:t.json()});return function(t){return e.apply(this,arguments)}}(),E=function(){var e=m(function*(e){return yield T(`${_}/${e}`)});return function(t){return e.apply(this,arguments)}}(),D=function(){var e=m(function*(e){return yield T(`${g}/${e}`)});return function(t){return e.apply(this,arguments)}}()}));function ee(){let e=()=>{document.querySelectorAll(`[data-gb-widget-id]`).forEach(e=>{let t=e.getAttribute(`data-gb-widget-id`);if(e.parentNode&&t){let n=document.createElement(`givebutter-widget`);n.setAttribute(`id`,t),e.parentNode.replaceChild(n,e)}})};e();let t=new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{t instanceof Element&&(t.hasAttribute(`data-gb-widget-id`)||t.querySelector(`[data-gb-widget-id]`))&&e()})})});t.observe(document,{childList:!0,subtree:!0}),window.addEventListener(`pagehide`,()=>t.disconnect())}function te(){document.querySelectorAll(`[data-gb-account][data-gb-campaign]`).forEach(function(e){if(e.hasAttribute(`data-gb-processed`))return;e.setAttribute(`data-gb-processed`,`true`);let t=e.getAttribute(`data-gb-account`),n=e.getAttribute(`data-gb-campaign`),r=e.getAttribute(`data-gb-type`);if(!t||!n){i.error(`Missing data-gb-account or data-gb-campaign attributes.`);return}let a;r!==`link`&&(a=document.createElement(`givebutter-button`),a.setAttribute(`account`,t),a.setAttribute(`campaign`,n),a.setAttribute(`hide-button`,`true`),document.body.appendChild(a),A.push(a));let o=function(e){var t;e.preventDefault(),r===`link`?window.location.href=`https://givebutter.com/c/${n}?source=widgets`:(t=a.shadowRoot)==null||(t=t.querySelector(`button`))==null||t.click()};e.addEventListener(`click`,o),k.push({element:e,type:`click`,listener:o})})}function ne(){d.isDynamicElementReplacementMode()&&ee(),te()}var k,A,j,re,ie,M=t((()=>{f(),a(),k=[],A=[],j=()=>{ne(),[`DOMContentLoaded`,`popstate`,`hashchange`].forEach(e=>{window.addEventListener(e,ne)}),window.addEventListener(`pagehide`,function(){k.forEach(({element:e,type:t,listener:n})=>{e.removeEventListener(t,n)}),A.forEach(e=>{document.body.removeChild(e)})})},re=()=>{let e=document.currentScript;if(e){let t=window.parent.document;if(!Array.from(t.querySelectorAll(`script`)).find(t=>t.src===e.src)){let n=window.parent.document.createElement(`script`);n.defer=!0,n.src=e.src,t.head.appendChild(n)}e.remove()}},ie=(e,t)=>{let n=e==null?void 0:e.parentElement;for(;n;){if(n.classList.contains(t))return n;n=n.parentElement}return i.error(`Could not find ancestor element with class ${t}`),null}})),ae,N,P,F,oe,I,se,ce,le,L=t((()=>{ae=globalThis,N=ae.ShadowRoot&&(ae.ShadyCSS===void 0||ae.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,P=Symbol(),F=new WeakMap,oe=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==P)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(N&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=F.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&F.set(t,e))}return e}toString(){return this.cssText}},I=e=>new oe(typeof e==`string`?e:e+``,void 0,P),se=(e,...t)=>new oe(e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]),e,P),ce=(e,t)=>{if(N)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=ae.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},le=N?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return I(t)})(e):e})),R,z,ue,de,B,fe,pe,me,he,ge,_e,ve,ye,be,V,xe,Se,Ce=t((()=>{L(),h(),{is:ue,defineProperty:de,getOwnPropertyDescriptor:B,getOwnPropertyNames:fe,getOwnPropertySymbols:pe,getPrototypeOf:me}=Object,he=globalThis,ge=he.trustedTypes,_e=ge?ge.emptyScript:``,ve=he.reactiveElementPolyfillSupport,ye=(e,t)=>e,be={toAttribute(e,t){switch(t){case Boolean:e=e?_e:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},V=(e,t)=>!ue(e,t),xe={attribute:!0,type:String,converter:be,reflect:!1,useDefault:!1,hasChanged:V},(R=Symbol).metadata!=null||(R.metadata=Symbol(`metadata`)),he.litPropertyMetadata!=null||(he.litPropertyMetadata=new WeakMap),Se=class extends HTMLElement{static addInitializer(e){var t;this._$Ei(),((t=this.l)==null?this.l=[]:t).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=xe){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&de(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){var r;let{get:i,set:a}=(r=B(this.prototype,e))==null?{get(){return this[t]},set(e){this[t]=e}}:r;return{get:i,set(t){let r=i==null?void 0:i.call(this);a==null||a.call(this,t),this.requestUpdate(e,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var t;return(t=this.elementProperties.get(e))==null?xe:t}static _$Ei(){if(this.hasOwnProperty(ye(`elementProperties`)))return;let e=me(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ye(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ye(`properties`))){let e=this.properties,t=[...fe(e),...pe(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(le(e))}else e!==void 0&&t.push(le(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(e=>e(this))}addController(e){var t,n;((t=this._$EO)==null?this._$EO=new Set:t).add(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)==null||n.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var e;let t=(e=this.shadowRoot)==null?this.attachShadow(this.constructor.shadowRootOptions):e;return ce(t,this.constructor.elementStyles),t}connectedCallback(){var e;this.renderRoot!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(e=>{var t;return(t=e.hostConnected)==null?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(e=>{var t;return(t=e.hostDisconnected)==null?void 0:t.call(e)})}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){var i;let a=(((i=n.converter)==null?void 0:i.toAttribute)===void 0?be:n.converter).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(r):this.setAttribute(r,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){var i,a,o;let e=n.getPropertyOptions(r),s=typeof e.converter==`function`?{fromAttribute:e.converter}:((i=e.converter)==null?void 0:i.fromAttribute)===void 0?be:e.converter;this._$Em=r;let c=s.fromAttribute(t,e.type);this[r]=(a=c==null?(o=this._$Ej)==null?void 0:o.get(r):c)==null?c:a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){var a,o;let s=this.constructor;if(!1===r&&(i=this[e]),n!=null||(n=s.getPropertyOptions(e)),!(((a=n.hasChanged)==null?V:a)(i,t)||n.useDefault&&n.reflect&&i===((o=this._$Ej)==null?void 0:o.get(e))&&!this.hasAttribute(s._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){var o,s,c;n&&!((o=this._$Ej)==null?this._$Ej=new Map:o).has(e)&&(this._$Ej.set(e,(s=a==null?t:a)==null?this[e]:s),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&((c=this._$Eq)==null?this._$Eq=new Set:c).add(e))}_$EP(){var e=this;return m(function*(){e.isUpdatePending=!0;try{yield e._$ES}catch(e){Promise.reject(e)}let t=e.scheduleUpdate();return t!=null&&(yield t),!e.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{var n;e=this.shouldUpdate(t),e?(this.willUpdate(t),(n=this._$EO)==null||n.forEach(e=>{var t;return(t=e.hostUpdate)==null?void 0:t.call(e)}),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(e=>{var t;return(t=e.hostUpdated)==null?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(e){}firstUpdated(e){}},Se.elementStyles=[],Se.shadowRootOptions={mode:`open`},Se[ye(`elementProperties`)]=new Map,Se[ye(`finalized`)]=new Map,ve==null||ve({ReactiveElement:Se}),((z=he.reactiveElementVersions)==null?he.reactiveElementVersions=[]:z).push(`2.1.2`)}));function we(e,t){if(!Re(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return Ae===void 0?t:Ae.createHTML(t)}function Te(e,t,n=e,r){var i,a,o;if(t===Ye)return t;let s=r===void 0?n._$Cl:(i=n._$Co)==null?void 0:i[r],c=Le(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==c&&(s==null||(a=s._$AO)==null||a.call(s,!1),c===void 0?s=void 0:(s=new c(e),s._$AT(e,n,r)),r===void 0?n._$Cl=s:((o=n._$Co)==null?n._$Co=[]:o)[r]=s),s!==void 0&&(t=Te(e,s._$AS(e,t.values),s,r)),t}var Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,H,Ye,U,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut=t((()=>{De=globalThis,Oe=e=>e,ke=De.trustedTypes,Ae=ke?ke.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,je=`$lit$`,Me=`lit$${Math.random().toFixed(9).slice(2)}$`,Ne=`?`+Me,Pe=`<${Ne}>`,Fe=document,Ie=()=>Fe.createComment(``),Le=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Re=Array.isArray,ze=e=>Re(e)||typeof(e==null?void 0:e[Symbol.iterator])==`function`,Be=`[ 	
\f\r]`,Ve=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,He=/-->/g,Ue=/>/g,We=RegExp(`>|${Be}(?:([^\\s"'>=/]+)(${Be}*=${Be}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),Ge=/'/g,Ke=/"/g,qe=/^(?:script|style|textarea|title)$/i,Je=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),H=Je(1),Je(2),Je(3),Ye=Symbol.for(`lit-noChange`),U=Symbol.for(`lit-nothing`),Xe=new WeakMap,Ze=Fe.createTreeWalker(Fe,129),Qe=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=Ve;for(let t=0;t<n;t++){var s;let n=e[t],c,l,u=-1,d=0;for(;d<n.length&&(o.lastIndex=d,l=o.exec(n),l!==null);)d=o.lastIndex,o===Ve?l[1]===`!--`?o=He:l[1]===void 0?l[2]===void 0?l[3]!==void 0&&(o=We):(qe.test(l[2])&&(i=RegExp(`</`+l[2],`g`)),o=We):o=Ue:o===We?l[0]===`>`?(o=(s=i)==null?Ve:s,u=-1):l[1]===void 0?u=-2:(u=o.lastIndex-l[2].length,c=l[1],o=l[3]===void 0?We:l[3]===`"`?Ke:Ge):o===Ke||o===Ge?o=We:o===He||o===Ue?o=Ve:(o=We,i=void 0);let f=o===We&&e[t+1].startsWith(`/>`)?` `:``;a+=o===Ve?n+Pe:u>=0?(r.push(c),n.slice(0,u)+je+n.slice(u)+Me+f):n+Me+(u===-2?t:f)}return[we(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},$e=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=Qe(t,n);if(this.el=e.createElement(l,r),Ze.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=Ze.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(je)){let t=u[o++],n=i.getAttribute(e).split(Me),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?rt:r[1]===`?`?it:r[1]===`@`?at:nt}),i.removeAttribute(e)}else e.startsWith(Me)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(qe.test(i.tagName)){let e=i.textContent.split(Me),t=e.length-1;if(t>0){i.textContent=ke?ke.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],Ie()),Ze.nextNode(),c.push({type:2,index:++a});i.append(e[t],Ie())}}}else if(i.nodeType===8)if(i.data===Ne)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(Me,e+1))!==-1;)c.push({type:7,index:a}),e+=Me.length-1}a++}}static createElement(e,t){let n=Fe.createElement(`template`);return n.innerHTML=e,n}},et=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;let{el:{content:n},parts:r}=this._$AD,i=((t=e==null?void 0:e.creationScope)==null?Fe:t).importNode(n,!0);Ze.currentNode=i;let a=Ze.nextNode(),o=0,s=0,c=r[0];for(;c!==void 0;){if(o===c.index){let t;c.type===2?t=new tt(a,a.nextSibling,this,e):c.type===1?t=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(t=new ot(a,this,e)),this._$AV.push(t),c=r[++s]}o!==(c==null?void 0:c.index)&&(a=Ze.nextNode(),o++)}return Ze.currentNode=Fe,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},tt=class e{get _$AU(){var e,t;return(e=(t=this._$AM)==null?void 0:t._$AU)==null?this._$Cv:e}constructor(e,t,n,r){var i;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=(i=r==null?void 0:r.isConnected)==null?!0:i}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Te(this,e,t),Le(e)?e===U||e==null||e===``?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==Ye&&this._(e):e._$litType$===void 0?e.nodeType===void 0?ze(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==U&&Le(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fe.createTextNode(e)),this._$AH=e}$(e){var t;let{values:n,_$litType$:r}=e,i=typeof r==`number`?this._$AC(e):(r.el===void 0&&(r.el=$e.createElement(we(r.h,r.h[0]),this.options)),r);if(((t=this._$AH)==null?void 0:t._$AD)===i)this._$AH.p(n);else{let e=new et(i,this),t=e.u(this.options);e.p(n),this.T(t),this._$AH=e}}_$AC(e){let t=Xe.get(e.strings);return t===void 0&&Xe.set(e.strings,t=new $e(e)),t}k(t){Re(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(Ie()),this.O(Ie()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){var n;for((n=this._$AP)==null||n.call(this,!1,!0,t);e!==this._$AB;){let t=Oe(e).nextSibling;Oe(e).remove(),e=t}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}},nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=Te(this,e,t,0),a=!Le(e)||e!==this._$AH&&e!==Ye,a&&(this._$AH=e);else{var o;let r=e,s,c;for(e=i[0],s=0;s<i.length-1;s++)c=Te(this,r[n+s],t,s),c===Ye&&(c=this._$AH[s]),a||(a=!Le(c)||c!==this._$AH[s]),c===U?e=U:e!==U&&(e+=((o=c)==null?``:o)+i[s+1]),this._$AH[s]=c}a&&!r&&this.j(e)}j(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e==null?``:e)}},rt=class extends nt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===U?void 0:e}},it=class extends nt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}},at=class extends nt{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){var n;if((e=(n=Te(this,e,t,0))==null?U:n)===Ye)return;let r=this._$AH,i=e===U&&r!==U||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==U&&(r===U||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;typeof this._$AH==`function`?this._$AH.call((t=(n=this.options)==null?void 0:n.host)==null?this.element:t,e):this._$AH.handleEvent(e)}},ot=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Te(this,e)}},st={M:je,P:Me,A:Ne,C:1,L:Qe,R:et,D:ze,V:Te,I:tt,H:nt,N:it,U:at,B:rt,F:ot},ct=De.litHtmlPolyfillSupport,ct==null||ct($e,tt),((Ee=De.litHtmlVersions)==null?De.litHtmlVersions=[]:Ee).push(`3.3.2`),lt=(e,t,n)=>{var r;let i=(r=n==null?void 0:n.renderBefore)==null?t:r,a=i._$litPart$;if(a===void 0){var o;let e=(o=n==null?void 0:n.renderBefore)==null?null:o;i._$litPart$=a=new tt(t.insertBefore(Ie(),e),e,void 0,n==null?{}:n)}return a._$AI(e),a}})),dt,ft,pt,mt,ht,gt=t((()=>{Ce(),Ce(),ut(),ut(),pt=globalThis,mt=class extends Se{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;let t=super.createRenderRoot();return(e=this.renderOptions).renderBefore!=null||(e.renderBefore=t.firstChild),t}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=lt(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return Ye}},mt._$litElement$=!0,mt.finalized=!0,(dt=pt.litElementHydrateSupport)==null||dt.call(pt,{LitElement:mt}),ht=pt.litElementPolyfillSupport,ht==null||ht({LitElement:mt}),((ft=pt.litElementVersions)==null?pt.litElementVersions=[]:ft).push(`4.2.2`)})),_t=t((()=>{})),vt=t((()=>{Ce(),ut(),gt(),_t()})),yt,bt=t((()=>{vt(),yt=se`
  body > *[inert] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
  }

  body.overlays-scroll-lock {
    overflow: hidden;
  }

  body.overlays-scroll-lock-ios-fix {
    position: fixed;
    width: 100%;
  }

  html.overlays-scroll-lock-ios-fix {
    height: 100vh;
  }
`})),xt,St,Ct=t((()=>{bt(),xt={isIOS:/iPhone|iPad|iPod/i.test(navigator.userAgent),isMacSafari:navigator.vendor&&navigator.vendor.indexOf(`Apple`)>-1&&navigator.userAgent&&navigator.userAgent.indexOf(`CriOS`)===-1&&navigator.userAgent.indexOf(`FxiOS`)===-1&&navigator.appVersion.indexOf(`Mac`)!==-1},St=class e{static __createGlobalStyleNode(){let e=document.createElement(`style`);return e.setAttribute(`data-overlays`,``),e.textContent=yt.cssText,document.head.appendChild(e),e}get list(){return this.__list}get shownList(){return this.__shownList}constructor(){this.__list=[],this.__shownList=[],this.__siblingsInert=!1,this.__blockingMap=new WeakMap,e.__globalStyleNode||(e.__globalStyleNode=e.__createGlobalStyleNode())}add(e){if(this.list.find(t=>e===t))throw Error(`controller instance is already added`);return this.list.push(e),e}remove(e){if(!this.list.find(t=>e===t))throw Error(`could not find controller to remove`);this.__list=this.list.filter(t=>t!==e),this.__shownList=this.shownList.filter(t=>t!==e)}show(e){this.list.find(t=>e===t)&&this.hide(e),this.__shownList.unshift(e),Array.from(this.__shownList).reverse().forEach((e,t)=>{e.elevation=t+1})}hide(e){if(!this.list.find(t=>e===t))throw Error(`could not find controller to hide`);this.__shownList=this.shownList.filter(t=>t!==e)}teardown(){this.list.forEach(e=>{e.teardown()}),this.__list=[],this.__shownList=[],this.__siblingsInert=!1,e.__globalStyleNode&&(document.head.removeChild(e.__globalStyleNode),e.__globalStyleNode=void 0)}get siblingsInert(){return this.__siblingsInert}disableTrapsKeyboardFocusForAll(){this.shownList.forEach(e=>{e.trapsKeyboardFocus===!0&&e.disableTrapsKeyboardFocus&&e.disableTrapsKeyboardFocus({findNewTrap:!1})})}informTrapsKeyboardFocusGotEnabled(e){this.siblingsInert===!1&&e===`global`&&(this.__siblingsInert=!0)}informTrapsKeyboardFocusGotDisabled({disabledCtrl:e,findNewTrap:t=!0}={}){let n=this.shownList.find(t=>t!==e&&t.trapsKeyboardFocus===!0);n?t&&n.enableTrapsKeyboardFocus():this.siblingsInert===!0&&(this.__siblingsInert=!1)}requestToPreventScroll(){let{isIOS:e,isMacSafari:t}=xt;document.body.classList.add(`overlays-scroll-lock`),(e||t)&&document.body.classList.add(`overlays-scroll-lock-ios-fix`),e&&document.documentElement.classList.add(`overlays-scroll-lock-ios-fix`)}requestToEnableScroll(){if(this.shownList.some(e=>e.preventsScroll===!0))return;let{isIOS:e,isMacSafari:t}=xt;document.body.classList.remove(`overlays-scroll-lock`),(e||t)&&document.body.classList.remove(`overlays-scroll-lock-ios-fix`),e&&document.documentElement.classList.remove(`overlays-scroll-lock-ios-fix`)}requestToShowOnly(e){let t=this.shownList.filter(t=>t!==e);t.forEach(e=>e.hide()),this.__blockingMap.set(e,t)}retractRequestToShowOnly(e){this.__blockingMap.has(e)&&this.__blockingMap.get(e).forEach(e=>e.show())}},St.__globalStyleNode=void 0})),wt,Tt,Et,Dt=t((()=>{wt=Symbol.for(`lion::SingletonManagerClassStorage`),Tt=globalThis||window,Et=class{constructor(){this._map=Tt[wt]?Tt[wt]:Tt[wt]=new Map}set(e,t){this.has(e)||this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}}})),Ot,kt=t((()=>{Dt(),Ot=new Et})),At,jt=t((()=>{kt(),Ct(),At=Ot.get(`@lion/ui::overlays::0.x`)||new St}));function Mt(){let e=document.activeElement||document.body;for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}var Nt=t((()=>{}));function Pt(e){if(!e||!e.isConnected||!Ft(e.style))return!1;let t=window.getComputedStyle(e);return Ft(t)?It(t)?!0:!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):!1}var Ft,It,Lt=t((()=>{Ft=({visibility:e,display:t})=>e!==`hidden`&&t!==`none`,It=({display:e})=>e===`contents`}));function Rt(e,t){let n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return n===0||r===0?r>n:n>r}function zt(e,t){let n=[];for(;e.length>0&&t.length>0;)Rt(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return[...n,...e,...t]}function Bt(e){let t=e.length;if(t<2)return e;let n=Math.ceil(t/2);return zt(Bt(e.slice(0,n)),Bt(e.slice(n)))}var Vt=t((()=>{}));function Ht(e){return e[Jt](`input, select, textarea, button, object`)?e[Jt](`:not([disabled])`):e[Jt](`a[href], area[href], iframe, [tabindex], [contentEditable]`)}function Ut(e){return Ht(e)?Number(e.getAttribute(`tabindex`)||0):-1}function Wt(e){if(e.localName===`slot`)return e.assignedNodes({flatten:!0});let{children:t}=e.shadowRoot||e;return t||[]}function Gt(e){return e.nodeType===Node.ELEMENT_NODE?e.localName===`slot`?!0:Pt(e):!1}function Kt(e,t){if(!Gt(e))return!1;let n=e,r=Ut(n),i=r>0;r>=0&&t.push(n);let a=Wt(n);for(let e=0;e<a.length;e+=1)i=Kt(a[e],t)||i;return i}function qt(e){let t=[];return Kt(e,t)?Bt(t):t}var Jt,Yt=t((()=>{Lt(),Vt(),Jt=`matches`in Element.prototype?`matches`:`msMatchesSelector`}));function Xt(e,t){let n=e.contains(t);if(n)return!0;function r(e){for(let i=0;i<e.children.length;i+=1){let a=e.children[i];if(a.shadowRoot&&Xt(a.shadowRoot,t)){n=!0;break}a.children.length>0&&r(a)}}return e instanceof HTMLElement&&e.shadowRoot&&(n=Xt(e.shadowRoot,t),n)?!0:(r(e),n)}var Zt=t((()=>{})),Qt,$t=t((()=>{Qt={enter:13,space:32,escape:27,tab:9}}));function en(e,t){let n=qt(e),r;r=n.length>=2?[n[0],n[n.length-1]]:n.length===1?[n[0],n[0]]:[e,e],t.shiftKey&&r.reverse();let[i,a]=r,o=Mt();o===e||n.includes(o)&&a!==o||(t.preventDefault(),i.focus())}function tn(e){let t=qt(e),n=t.find(e=>e.hasAttribute(`autofocus`))||e,r,i;n===e&&(e.tabIndex=-1,e.style.setProperty(`outline`,`none`)),n.focus();function a(t){t.keyCode===Qt.tab&&en(e,t)}function o(){r=document.createElement(`div`),r.style.display=`none`,r.setAttribute(`data-is-tab-detection-element`,``),e.insertBefore(r,e.children[0]),i=new MutationObserver(t=>{for(let n of t)if(n.type===`childList`){let t=!Array.from(e.children).find(e=>e.hasAttribute(`data-is-tab-detection-element`)),r=Array.from(n.addedNodes).find(e=>e instanceof HTMLElement&&e.hasAttribute(`data-is-tab-detection-element`));t&&!r&&(i.disconnect(),o())}}),i.observe(e,{childList:!0})}function s(){return r.compareDocumentPosition(document.activeElement)===Node.DOCUMENT_POSITION_PRECEDING}function c({resetToRoot:n=!1}={}){if(Xt(e,Mt()))return;let r;r=n?e:t[s()?0:t.length-1],r&&r.focus()}function l(){window.removeEventListener(`focusin`,l),c()}function u(){setTimeout(()=>{Xt(e,Mt())||c({resetToRoot:!0})}),window.addEventListener(`focusin`,l)}function d(){window.removeEventListener(`keydown`,a),window.removeEventListener(`focusin`,l),window.removeEventListener(`focusout`,u),i.disconnect(),Array.from(e.children).includes(r)&&e.removeChild(r),e.style.removeProperty(`outline`)}return window.addEventListener(`keydown`,a),window.addEventListener(`focusout`,u),o(),{disconnect:d}}var nn=t((()=>{Nt(),Yt(),Zt(),$t()})),rn,an=t((()=>{vt(),rn=se`
  .overlays {
    position: fixed;
    z-index: 200;
  }

  .overlays__overlay-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .overlays__overlay-container::backdrop {
    display: none;
  }

  .overlays__overlay-container--top-left {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .overlays__overlay-container--top {
    justify-content: center;
    align-items: flex-start;
  }

  .overlays__overlay-container--top-right {
    justify-content: flex-end;
    align-items: flex-start;
  }

  .overlays__overlay-container--right {
    justify-content: flex-end;
    align-items: center;
  }

  .overlays__overlay-container--bottom-left {
    justify-content: flex-start;
    align-items: flex-end;
  }

  .overlays__overlay-container--bottom {
    justify-content: center;
    align-items: flex-end;
  }

  .overlays__overlay-container--bottom-right {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .overlays__overlay-container--left {
    justify-content: flex-start;
    align-items: center;
  }

  .overlays__overlay-container--center {
    justify-content: center;
    align-items: center;
  }

  .overlays__overlay--bottom-sheet {
    width: 100%;
  }

  ::slotted(.overlays__overlay),
  .overlays__overlay {
    pointer-events: auto;
  }

  .overlays__backdrop {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #333333;
    display: none;
  }

  .overlays__backdrop--visible {
    display: block;
  }

  .overlays__backdrop--animation-in {
    animation: overlays-backdrop-fade-in 300ms;
    opacity: 0.3;
  }

  .overlays__backdrop--animation-out {
    animation: overlays-backdrop-fade-out 300ms;
    opacity: 0;
  }

  @keyframes overlays-backdrop-fade-in {
    from {
      opacity: 0;
    }
  }

  @keyframes overlays-backdrop-fade-out {
    from {
      opacity: 0.3;
    }
  }

  @media screen and (prefers-reduced-motion: reduce) {
    .overlays .overlays__backdrop--animation-in {
      animation: overlays-backdrop-fade-in 1ms;
    }

    .overlays .overlays__backdrop--animation-out {
      animation: overlays-backdrop-fade-out 1ms;
    }
  }

  dialog[data-overlay-outer-wrapper] {
    background-image: none;
    border-style: none;
    padding: 0px;
  }

  /** 
   * We don't want to use pseudo el ::backdrop.  
   * We have our own, that creates more flexibility wrt scrolling etc.
   */
  dialog[data-overlay-outer-wrapper]::backdrop {
    display: none;
  }
`}));function on(e){return Array.from(e.cssRules).map(e=>e.cssText).join(``)}function sn(e,t,{teardown:n=!1}={}){let r=e===document?document.body:e,i=t.cssText||on(t);if(n){let e=Array.from(r.querySelectorAll(`style`));for(let t of e)if(t.textContent===i){t.remove();break}}else{let e=document.createElement(`style`),t=window.litNonce;t!==void 0&&e.setAttribute(`nonce`,t),e.textContent=i,r.appendChild(e)}}function cn(e,t,{teardown:n=!1}={}){let r=!1;fn.has(e)||fn.set(e,[]);let i=fn.get(e),a=i.find(e=>t===e);return a&&n?i.splice(i.indexOf(t),1):!a&&!n?i.push(t):(a&&!n||!a&&n)&&(r=!0),{haltFurtherExecution:r}}function ln(e,t,{teardown:n=!1}={}){let{haltFurtherExecution:r}=cn(e,t,{teardown:n});if(r)return;if(!dn.supportsAdoptingStyleSheets){sn(e,t,{teardown:n});return}let i=t instanceof CSSStyleSheet?t:t.styleSheet;if(!i)throw Error(`Please provide a CSSResultOrNative style`);n?e.adoptedStyleSheets.includes(i)&&e.adoptedStyleSheets.splice(e.adoptedStyleSheets.indexOf(i),1):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]}function un(e,t,{teardown:n=!1}={}){for(let r of t)dn.adoptStyle(e,r,{teardown:n})}var dn,fn,pn=t((()=>{dn={supportsAdoptingStyleSheets:window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,adoptStyle:void 0,adoptStyles:void 0},fn=new Map,dn.adoptStyle=ln,dn.adoptStyles=un}));function mn(e){"@babel/helpers - typeof";return mn=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},mn(e)}var hn=t((()=>{}));function gn(e,t){if(mn(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(mn(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var _n=t((()=>{hn()}));function vn(e){var t=gn(e,`string`);return mn(t)==`symbol`?t:t+``}var yn=t((()=>{hn(),_n()}));function bn(e,t,n){return(t=vn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xn=t((()=>{yn()}));function Sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Sn(Object(n),!0).forEach(function(t){bn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cn=t((()=>{xn()}));function wn(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Tn=t((()=>{}));function En(e){return e instanceof wn(e).Element||e instanceof Element}function Dn(e){return e instanceof wn(e).HTMLElement||e instanceof HTMLElement}function On(e){return typeof ShadowRoot>`u`?!1:e instanceof wn(e).ShadowRoot||e instanceof ShadowRoot}var kn=t((()=>{Tn()})),An,jn,Mn,Nn=t((()=>{An=Math.max,jn=Math.min,Mn=Math.round}));function Pn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}var Fn=t((()=>{}));function In(){return!/^((?!chrome|android).)*safari/i.test(Pn())}var Ln=t((()=>{Fn()}));function Rn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&Dn(e)&&(i=e.offsetWidth>0&&Mn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Mn(r.height)/e.offsetHeight||1);var o=(En(e)?wn(e):window).visualViewport,s=!In()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}var zn=t((()=>{kn(),Nn(),Tn(),Ln()}));function Bn(e){var t=wn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var Vn=t((()=>{Tn()}));function Hn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Un=t((()=>{}));function Wn(e){return e===wn(e)||!Dn(e)?Bn(e):Hn(e)}var Gn=t((()=>{Vn(),Tn(),kn(),Un()}));function Kn(e){return e?(e.nodeName||``).toLowerCase():null}var qn=t((()=>{}));function Jn(e){return((En(e)?e.ownerDocument:e.document)||window.document).documentElement}var Yn=t((()=>{kn()}));function Xn(e){return Rn(Jn(e)).left+Bn(e).scrollLeft}var Zn=t((()=>{zn(),Yn(),Vn()}));function Qn(e){return wn(e).getComputedStyle(e)}var $n=t((()=>{Tn()}));function er(e){var t=Qn(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}var tr=t((()=>{$n()}));function nr(e){var t=e.getBoundingClientRect(),n=Mn(t.width)/e.offsetWidth||1,r=Mn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function rr(e,t,n){n===void 0&&(n=!1);var r=Dn(t),i=Dn(t)&&nr(t),a=Jn(t),o=Rn(e,i,n),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Kn(t)!==`body`||er(a))&&(s=Wn(t)),Dn(t)?(c=Rn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Xn(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}var ir=t((()=>{zn(),Gn(),qn(),kn(),Zn(),Yn(),tr(),Nn()}));function ar(e){var t=Rn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}var or=t((()=>{zn()}));function sr(e){return Kn(e)===`html`?e:e.assignedSlot||e.parentNode||(On(e)?e.host:null)||Jn(e)}var cr=t((()=>{qn(),Yn(),kn()}));function lr(e){return[`html`,`body`,`#document`].indexOf(Kn(e))>=0?e.ownerDocument.body:Dn(e)&&er(e)?e:lr(sr(e))}var ur=t((()=>{cr(),tr(),qn(),kn()}));function dr(e,t){var n;t===void 0&&(t=[]);var r=lr(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=wn(r),o=i?[a].concat(a.visualViewport||[],er(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(dr(sr(o)))}var fr=t((()=>{ur(),cr(),Tn(),tr()}));function pr(e){return[`table`,`td`,`th`].indexOf(Kn(e))>=0}var mr=t((()=>{qn()}));function hr(e){return!Dn(e)||Qn(e).position===`fixed`?null:e.offsetParent}function gr(e){var t=/firefox/i.test(Pn());if(/Trident/i.test(Pn())&&Dn(e)&&Qn(e).position===`fixed`)return null;var n=sr(e);for(On(n)&&(n=n.host);Dn(n)&&[`html`,`body`].indexOf(Kn(n))<0;){var r=Qn(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}function _r(e){for(var t=wn(e),n=hr(e);n&&pr(n)&&Qn(n).position===`static`;)n=hr(n);return n&&(Kn(n)===`html`||Kn(n)===`body`&&Qn(n).position===`static`)?t:n||gr(e)||t}var vr=t((()=>{Tn(),qn(),$n(),kn(),mr(),cr(),Fn()})),yr,br,xr,Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr=t((()=>{yr=`bottom`,br=`right`,xr=`left`,Sr=`auto`,Cr=[`top`,yr,br,xr],wr=`start`,Tr=`clippingParents`,Er=`viewport`,Dr=`popper`,Or=`reference`,kr=Cr.reduce(function(e,t){return e.concat([t+`-`+wr,t+`-end`])},[]),Ar=[].concat(Cr,[Sr]).reduce(function(e,t){return e.concat([t,t+`-`+wr,t+`-end`])},[]),jr=`beforeRead`,Mr=`read`,Nr=`afterRead`,Pr=`beforeMain`,Fr=`main`,Ir=`afterMain`,Lr=`beforeWrite`,Rr=`write`,zr=`afterWrite`,Br=[jr,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr]}));function Hr(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||i(e)}),r}function Ur(e){var t=Hr(e);return Br.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}var Wr=t((()=>{Vr()}));function Gr(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var Kr=t((()=>{}));function qr(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var Jr=t((()=>{}));function Yr(e,t){var n=wn(e),r=Jn(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=In();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+Xn(e),y:c}}var Xr=t((()=>{Tn(),Yn(),Zn(),Ln()}));function Zr(e){var t,n=Jn(e),r=Bn(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=An(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=An(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Xn(e),c=-r.scrollTop;return Qn(i||n).direction===`rtl`&&(s+=An(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:c}}var Qr=t((()=>{Yn(),$n(),Zn(),Vn(),Nn()}));function $r(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&On(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}var ei=t((()=>{kn()}));function ti(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var ni=t((()=>{}));function ri(e,t){var n=Rn(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ii(e,t,n){return t===`viewport`?ti(Yr(e,n)):En(t)?ri(t,n):ti(Zr(Jn(e)))}function ai(e){var t=dr(sr(e)),n=[`absolute`,`fixed`].indexOf(Qn(e).position)>=0&&Dn(e)?_r(e):e;return En(n)?t.filter(function(e){return En(e)&&$r(e,n)&&Kn(e)!==`body`}):[]}function oi(e,t,n,r){var i=t===`clippingParents`?ai(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=ii(e,n,r);return t.top=An(i.top,t.top),t.right=jn(i.right,t.right),t.bottom=jn(i.bottom,t.bottom),t.left=An(i.left,t.left),t},ii(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var si=t((()=>{Vr(),Xr(),Qr(),fr(),vr(),Yn(),$n(),kn(),zn(),cr(),ei(),qn(),ni(),Nn()}));function ci(e){return e.split(`-`)[0]}var li=t((()=>{}));function ui(e){return e.split(`-`)[1]}var di=t((()=>{}));function fi(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}var pi=t((()=>{}));function mi(e){var t=e.reference,n=e.element,r=e.placement,i=r?ci(r):null,a=r?ui(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,c;switch(i){case`top`:c={x:o,y:t.y-n.height};break;case yr:c={x:o,y:t.y+t.height};break;case br:c={x:t.x+t.width,y:s};break;case xr:c={x:t.x-n.width,y:s};break;default:c={x:t.x,y:t.y}}var l=i?fi(i):null;if(l!=null){var u=l===`y`?`height`:`width`;switch(a){case wr:c[l]=c[l]-(t[u]/2-n[u]/2);break;case`end`:c[l]=c[l]+(t[u]/2-n[u]/2);break;default:}}return c}var hi=t((()=>{li(),di(),pi(),Vr()}));function gi(){return{top:0,right:0,bottom:0,left:0}}var _i=t((()=>{}));function vi(e){return Object.assign({},gi(),e)}var yi=t((()=>{_i()}));function bi(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var xi=t((()=>{}));function Si(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?Tr:s,l=n.rootBoundary,u=l===void 0?Er:l,d=n.elementContext,f=d===void 0?Dr:d,p=n.altBoundary,m=p===void 0?!1:p,h=n.padding,g=h===void 0?0:h,_=vi(typeof g==`number`?bi(g,Cr):g),v=f===`popper`?Or:Dr,y=e.rects.popper,b=e.elements[m?v:f],x=oi(En(b)?b:b.contextElement||Jn(e.elements.popper),c,u,o),S=Rn(e.elements.reference),C=mi({reference:S,element:y,strategy:`absolute`,placement:i}),w=ti(Object.assign({},y,C)),T=f===`popper`?w:S,E={top:x.top-T.top+_.top,bottom:T.bottom-x.bottom+_.bottom,left:x.left-T.left+_.left,right:T.right-x.right+_.right},D=e.modifiersData.offset;if(f===`popper`&&D){var O=D[i];Object.keys(E).forEach(function(e){var t=[`right`,`bottom`].indexOf(e)>=0?1:-1,n=[`top`,`bottom`].indexOf(e)>=0?`y`:`x`;E[e]+=O[n]*t})}return E}var Ci=t((()=>{si(),Yn(),zn(),hi(),ni(),Vr(),kn(),yi(),xi()}));function wi(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function Ti(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?Ei:i;return function(e,t,n){n===void 0&&(n=a);var i={placement:`bottom`,orderedModifiers:[],options:Object.assign({},Ei,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,c={state:i,setOptions:function(n){var o=typeof n==`function`?n(i.options):n;u(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:En(e)?dr(e):e.contextElement?dr(e.contextElement):[],popper:dr(t)};var s=Ur(qr([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),l(),c.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(wi(t,n)){i.rects={reference:rr(t,_r(n),i.options.strategy===`fixed`),popper:ar(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++){if(i.reset===!0){i.reset=!1,r=-1;continue}var a=i.orderedModifiers[r],o=a.fn,l=a.options,u=l===void 0?{}:l,d=a.name;typeof o==`function`&&(i=o({state:i,options:u,name:d,instance:c})||i)}}}},update:Gr(function(){return new Promise(function(e){c.forceUpdate(),e(i)})}),destroy:function(){u(),s=!0}};if(!wi(e,t))return c;c.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)});function l(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,a=e.effect;if(typeof a==`function`){var s=a({state:i,name:t,instance:c,options:r});o.push(s||function(){})}})}function u(){o.forEach(function(e){return e()}),o=[]}return c}}var Ei,Di=t((()=>{ir(),or(),fr(),vr(),Wr(),Kr(),Jr(),Ci(),kn(),Ei={placement:`bottom`,modifiers:[],strategy:`absolute`}}));function Oi(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,c=wn(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,ki)}),s&&c.addEventListener(`resize`,n.update,ki),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,ki)}),s&&c.removeEventListener(`resize`,n.update,ki)}}var ki,Ai,ji=t((()=>{Tn(),ki={passive:!0},Ai={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:Oi,data:{}}}));function Mi(e){var t=e.state,n=e.name;t.modifiersData[n]=mi({reference:t.rects.reference,element:t.rects.popper,strategy:`absolute`,placement:t.placement})}var Ni,Pi=t((()=>{hi(),Ni={name:`popperOffsets`,enabled:!0,phase:`read`,fn:Mi,data:{}}}));function Fi(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Mn(n*i)/i||0,y:Mn(r*i)/i||0}}function Ii(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,m=o.y,h=m===void 0?0:m,g=typeof u==`function`?u({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var _=o.hasOwnProperty(`x`),v=o.hasOwnProperty(`y`),y=xr,b=`top`,x=window;if(l){var S=_r(n),C=`clientHeight`,w=`clientWidth`;if(S===wn(n)&&(S=Jn(n),Qn(S).position!==`static`&&s===`absolute`&&(C=`scrollHeight`,w=`scrollWidth`)),S=S,i===`top`||(i===`left`||i===`right`)&&a===`end`){b=yr;var T=d&&S===x&&x.visualViewport?x.visualViewport.height:S[C];h-=T-r.height,h*=c?1:-1}if(i===`left`||(i===`top`||i===`bottom`)&&a===`end`){y=br;var E=d&&S===x&&x.visualViewport?x.visualViewport.width:S[w];p-=E-r.width,p*=c?1:-1}}var D=Object.assign({position:s},l&&Ri),O=u===!0?Fi({x:p,y:h},wn(n)):{x:p,y:h};if(p=O.x,h=O.y,c){var ee;return Object.assign({},D,(ee={},ee[b]=v?`0`:``,ee[y]=_?`0`:``,ee.transform=(x.devicePixelRatio||1)<=1?`translate(`+p+`px, `+h+`px)`:`translate3d(`+p+`px, `+h+`px, 0)`,ee))}return Object.assign({},D,(t={},t[b]=v?h+`px`:``,t[y]=_?p+`px`:``,t.transform=``,t))}function Li(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,c=s===void 0?!0:s,l={placement:ci(t.placement),variation:ui(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ii(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ii(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ri,zi,Bi=t((()=>{Vr(),vr(),Tn(),Yn(),$n(),li(),di(),Nn(),Ri={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`},zi={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:Li,data:{}}}));function Vi(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];!Dn(i)||!Kn(i)||(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?i.removeAttribute(e):i.setAttribute(e,t===!0?``:t)}))})}function Hi(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});!Dn(r)||!Kn(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}}var Ui,Wi=t((()=>{qn(),kn(),Ui={name:`applyStyles`,enabled:!0,phase:`write`,fn:Vi,effect:Hi,requires:[`computeStyles`]}}));function Gi(e,t,n){var r=ci(e),i=[`left`,`top`].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[`left`,`right`].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function Ki(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=Ar.reduce(function(e,n){return e[n]=Gi(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var qi,Ji=t((()=>{li(),Vr(),qi={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:Ki}}));function Yi(e){return e.replace(/left|right|bottom|top/g,function(e){return Xi[e]})}var Xi,Zi=t((()=>{Xi={left:`right`,right:`left`,bottom:`top`,top:`bottom`}}));function Qi(e){return e.replace(/start|end/g,function(e){return $i[e]})}var $i,ea=t((()=>{$i={start:`end`,end:`start`}}));function ta(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?Ar:c,u=ui(r),d=u?s?kr:kr.filter(function(e){return ui(e)===u}):Cr,f=d.filter(function(e){return l.indexOf(e)>=0});f.length===0&&(f=d);var p=f.reduce(function(t,n){return t[n]=Si(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[ci(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}var na=t((()=>{di(),Vr(),Ci(),li()}));function ra(e){if(ci(e)===`auto`)return[];var t=Yi(e);return[Qi(e),t,Qi(t)]}function ia(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0?!0:p,h=n.allowedAutoPlacements,g=t.options.placement,_=ci(g)===g,v=c||(_||!m?[Yi(g)]:ra(g)),y=[g].concat(v).reduce(function(e,n){return e.concat(ci(n)===`auto`?ta(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)},[]),b=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,w=y[0],T=0;T<y.length;T++){var E=y[T],D=ci(E),O=ui(E)===wr,ee=[`top`,yr].indexOf(D)>=0,te=ee?`width`:`height`,ne=Si(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),k=ee?O?br:xr:O?yr:`top`;b[te]>x[te]&&(k=Yi(k));var A=Yi(k),j=[];if(a&&j.push(ne[D]<=0),s&&j.push(ne[k]<=0,ne[A]<=0),j.every(function(e){return e})){w=E,C=!1;break}S.set(E,j)}if(C)for(var re=m?3:1,ie=function(e){var t=y.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return w=t,`break`},M=re;M>0&&ie(M)!==`break`;M--);t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}}var aa,oa=t((()=>{Zi(),li(),ea(),Ci(),na(),Vr(),di(),aa={name:`flip`,enabled:!0,phase:`main`,fn:ia,requiresIfExists:[`offset`],data:{_skip:!1}}}));function sa(e){return e===`x`?`y`:`x`}var ca=t((()=>{}));function la(e,t,n){return An(e,jn(t,n))}function ua(e,t,n){var r=la(e,t,n);return r>n?n:r}var da=t((()=>{Nn()}));function fa(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,m=n.tetherOffset,h=m===void 0?0:m,g=Si(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),_=ci(t.placement),v=ui(t.placement),y=!v,b=fi(_),x=sa(b),S=t.modifiersData.popperOffsets,C=t.rects.reference,w=t.rects.popper,T=typeof h==`function`?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof T==`number`?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(a){var ee,te=b===`y`?`top`:xr,ne=b===`y`?yr:br,k=b===`y`?`height`:`width`,A=S[b],j=A+g[te],re=A-g[ne],ie=p?-w[k]/2:0,M=v===`start`?C[k]:w[k],ae=v===`start`?-w[k]:-C[k],N=t.elements.arrow,P=p&&N?ar(N):{width:0,height:0},F=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:gi(),oe=F[te],I=F[ne],se=la(0,C[k],P[k]),ce=y?C[k]/2-ie-se-oe-E.mainAxis:M-se-oe-E.mainAxis,le=y?-C[k]/2+ie+se+I+E.mainAxis:ae+se+I+E.mainAxis,L=t.elements.arrow&&_r(t.elements.arrow),R=L?b===`y`?L.clientTop||0:L.clientLeft||0:0,z=(ee=D==null?void 0:D[b])==null?0:ee,ue=A+ce-z-R,de=A+le-z,B=la(p?jn(j,ue):j,A,p?An(re,de):re);S[b]=B,O[b]=B-A}if(s){var fe,pe=b===`x`?`top`:xr,me=b===`x`?yr:br,he=S[x],ge=x===`y`?`height`:`width`,_e=he+g[pe],ve=he-g[me],ye=[`top`,xr].indexOf(_)!==-1,be=(fe=D==null?void 0:D[x])==null?0:fe,V=ye?_e:he-C[ge]-w[ge]-be+E.altAxis,xe=ye?he+C[ge]+w[ge]-be-E.altAxis:ve,Se=p&&ye?ua(V,he,xe):la(p?V:_e,he,p?xe:ve);S[x]=Se,O[x]=Se-he}t.modifiersData[r]=O}}var pa,ma=t((()=>{Vr(),li(),pi(),ca(),da(),or(),vr(),Ci(),di(),_i(),Nn(),pa={name:`preventOverflow`,enabled:!0,phase:`main`,fn:fa,requiresIfExists:[`offset`]}}));function ha(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=ci(n.placement),c=fi(s),l=[`left`,`right`].indexOf(s)>=0?`height`:`width`;if(!(!a||!o)){var u=_a(i.padding,n),d=ar(a),f=c===`y`?`top`:xr,p=c===`y`?yr:br,m=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],h=o[c]-n.rects.reference[c],g=_r(a),_=g?c===`y`?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[f],b=_-d[l]-u[p],x=_/2-d[l]/2+v,S=la(y,x,b),C=c;n.modifiersData[r]=(t={},t[C]=S,t.centerOffset=S-x,t)}}function ga(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r==`string`&&(r=t.elements.popper.querySelector(r),!r)||$r(t.elements.popper,r)&&(t.elements.arrow=r))}var _a,va,ya=t((()=>{li(),or(),ei(),vr(),pi(),da(),yi(),xi(),Vr(),_a=function(e,t){return e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e,vi(typeof e==`number`?bi(e,Cr):e)},va={name:`arrow`,enabled:!0,phase:`main`,fn:ha,effect:ga,requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]}}));function ba(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function xa(e){return[`top`,br,yr,xr].some(function(t){return e[t]>=0})}function Sa(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Si(t,{elementContext:`reference`}),s=Si(t,{altBoundary:!0}),c=ba(o,r),l=ba(s,i,a),u=xa(c),d=xa(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Ca,wa=t((()=>{Vr(),Ci(),Ca={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:Sa}})),Ta,Ea,Da=t((()=>{Di(),ji(),Pi(),Bi(),Wi(),Ta=[Ai,Ni,zi,Ui],Ea=Ti({defaultModifiers:Ta})})),Oa=t((()=>{Wi(),ya(),Bi(),ji(),oa(),wa(),Ji(),Pi(),ma()})),ka=r({applyStyles:()=>Ui,arrow:()=>va,computeStyles:()=>zi,createPopper:()=>ja,createPopperLite:()=>Ea,defaultModifiers:()=>Aa,detectOverflow:()=>Si,eventListeners:()=>Ai,flip:()=>aa,hide:()=>Ca,offset:()=>qi,popperGenerator:()=>Ti,popperOffsets:()=>Ni,preventOverflow:()=>pa}),Aa,ja,Ma=t((()=>{Di(),ji(),Pi(),Bi(),Wi(),Ji(),oa(),ma(),ya(),wa(),Da(),Oa(),Aa=[Ai,Ni,zi,Ui,qi,aa,pa,va,Ca],ja=Ti({defaultModifiers:Aa})}));function Na({wrappingDialogNodeL1:e,contentWrapperNodeL2:t,contentNodeL3:n}){if(!(t.isConnected||n.isConnected))throw Error(`[OverlayController] Could not find a render target, since the provided contentNode is not connected to the DOM. Make sure that it is connected, e.g. by doing "document.body.appendChild(contentNode)", before passing it on.`);let r,i=document.createComment(`tempMarker`);t.isConnected?(r=t.parentElement||t.getRootNode(),r.insertBefore(i,t),e.appendChild(t)):n.assignedSlot?(r=n.assignedSlot.parentElement||n.assignedSlot.getRootNode(),r.insertBefore(i,n.assignedSlot),e.appendChild(t),t.appendChild(n.assignedSlot)):(r=n.parentElement||n.getRootNode(),r.insertBefore(i,n),e.appendChild(t),t.appendChild(n)),r.insertBefore(e,i),r==null||r.removeChild(i)}function Pa(){return Fa.apply(this,arguments)}function Fa(){return Fa=m(function*(){return Promise.resolve().then(()=>(Ma(),ka))}),Fa.apply(this,arguments)}var Ia,La=t((()=>{jt(),nn(),an(),pn(),h(),Cn(),Ia=class e extends EventTarget{constructor(e={},t=At){super(),this.manager=t,this.__sharedConfig=e,this.__activeElementRightBeforeHide=null,this.config={},this._defaultConfig={placementMode:void 0,contentNode:e.contentNode,contentWrapperNode:e.contentWrapperNode,invokerNode:e.invokerNode,backdropNode:e.backdropNode,referenceNode:void 0,elementToFocusAfterHide:e.invokerNode,inheritsReferenceWidth:`none`,hasBackdrop:!1,isBlocking:!1,preventsScroll:!1,trapsKeyboardFocus:!1,hidesOnEsc:!1,hidesOnOutsideEsc:!1,hidesOnOutsideClick:!1,isTooltip:!1,invokerRelation:`description`,visibilityTriggerFunction:void 0,handlesAccessibility:!1,popperConfig:{placement:`top`,strategy:`fixed`,modifiers:[{name:`preventOverflow`,enabled:!0,options:{boundariesElement:`viewport`,padding:8}},{name:`flip`,options:{boundariesElement:`viewport`,padding:16}},{name:`offset`,enabled:!0,options:{offset:[0,8]}},{name:`arrow`,enabled:!1}]},viewportConfig:{placement:`center`},zIndex:9999},this.manager.add(this),this._contentId=`overlay-content--${Math.random().toString(36).slice(2,10)}`,this.__originalAttrs=new Map,this.updateConfig(e),this.__hasActiveTrapsKeyboardFocus=!1,this.__hasActiveBackdrop=!0,this.__escKeyHandler=this.__escKeyHandler.bind(this)}get invoker(){return this.invokerNode}get content(){return this.__wrappingDialogNode}get placementMode(){var e;return(e=this.config)==null?void 0:e.placementMode}get invokerNode(){var e;return(e=this.config)==null?void 0:e.invokerNode}get referenceNode(){var e;return(e=this.config)==null?void 0:e.referenceNode}get contentNode(){var e;return(e=this.config)==null?void 0:e.contentNode}get contentWrapperNode(){var e;return this.__contentWrapperNode||((e=this.config)==null?void 0:e.contentWrapperNode)}get backdropNode(){var e;return this.__backdropNode||((e=this.config)==null?void 0:e.backdropNode)}get elementToFocusAfterHide(){var e;return this.__elementToFocusAfterHide||((e=this.config)==null?void 0:e.elementToFocusAfterHide)}get hasBackdrop(){var e;return!!this.backdropNode||((e=this.config)==null?void 0:e.hasBackdrop)}get isBlocking(){var e;return(e=this.config)==null?void 0:e.isBlocking}get preventsScroll(){var e;return(e=this.config)==null?void 0:e.preventsScroll}get trapsKeyboardFocus(){var e;return(e=this.config)==null?void 0:e.trapsKeyboardFocus}get hidesOnEsc(){var e;return(e=this.config)==null?void 0:e.hidesOnEsc}get hidesOnOutsideClick(){var e;return(e=this.config)==null?void 0:e.hidesOnOutsideClick}get hidesOnOutsideEsc(){var e;return(e=this.config)==null?void 0:e.hidesOnOutsideEsc}get inheritsReferenceWidth(){var e;return(e=this.config)==null?void 0:e.inheritsReferenceWidth}get handlesAccessibility(){var e;return(e=this.config)==null?void 0:e.handlesAccessibility}get isTooltip(){var e;return(e=this.config)==null?void 0:e.isTooltip}get invokerRelation(){var e;return(e=this.config)==null?void 0:e.invokerRelation}get popperConfig(){var e;return(e=this.config)==null?void 0:e.popperConfig}get viewportConfig(){var e;return(e=this.config)==null?void 0:e.viewportConfig}get visibilityTriggerFunction(){var e;return(e=this.config)==null?void 0:e.visibilityTriggerFunction}get _referenceNode(){return this.referenceNode||this.invokerNode}set elevation(e){this.__wrappingDialogNode.style.zIndex=`${this.config.zIndex+e}`}get elevation(){var e;return Number((e=this.contentWrapperNode)==null?void 0:e.style.zIndex)}updateConfig(e){var t,n,r;this.teardown(),this.__prevConfig=this.config,this.config=W(W(W(W({},this._defaultConfig),this.__sharedConfig),e),{},{popperConfig:W(W(W(W({},this._defaultConfig.popperConfig||{}),this.__sharedConfig.popperConfig||{}),e.popperConfig||{}),{},{modifiers:[...((t=this._defaultConfig.popperConfig)==null?void 0:t.modifiers)||[],...((n=this.__sharedConfig.popperConfig)==null?void 0:n.modifiers)||[],...((r=e.popperConfig)==null?void 0:r.modifiers)||[]]})}),this.__validateConfiguration(this.config),this._init(),this.__elementToFocusAfterHide=void 0}__validateConfiguration(e){if(!e.placementMode)throw Error(`[OverlayController] You need to provide a .placementMode ("global"|"local")`);if(![`global`,`local`].includes(e.placementMode))throw Error(`[OverlayController] "${e.placementMode}" is not a valid .placementMode, use ("global"|"local")`);if(!e.contentNode)throw Error(`[OverlayController] You need to provide a .contentNode`);if(e.isTooltip&&!e.handlesAccessibility)throw Error(`[OverlayController] .isTooltip only takes effect when .handlesAccessibility is enabled`)}_init(){this.__contentHasBeenInitialized||(this.__initContentDomStructure(),this.__contentHasBeenInitialized=!0),this.contentWrapperNode.removeAttribute(`style`),this.contentWrapperNode.removeAttribute(`class`),this.placementMode===`local`&&(e.popperModule||(e.popperModule=Pa())),this.__handleOverlayStyles({phase:`init`}),this._handleFeatures({phase:`init`})}__handleOverlayStyles({phase:e}){var t;let n=(t=this.contentWrapperNode)==null?void 0:t.getRootNode();e===`init`?dn.adoptStyle(n,rn):e===`teardown`&&dn.adoptStyle(n,rn,{teardown:!0})}__initContentDomStructure(){var e,t;let n=document.createElement((e=this.config)!=null&&e._noDialogEl?`div`:`dialog`);n.setAttribute(`role`,`none`),n.setAttribute(`data-overlay-outer-wrapper`,``),n.style.cssText=`display:none; z-index: ${this.config.zIndex}; padding: 0;`,this.__wrappingDialogNode=n,(t=this.config)!=null&&t.contentWrapperNode||(this.__contentWrapperNode=document.createElement(`div`)),this.contentWrapperNode.setAttribute(`data-id`,`content-wrapper`),Na({wrappingDialogNodeL1:n,contentWrapperNodeL2:this.contentWrapperNode,contentNodeL3:this.contentNode}),n.open=!0,this.__wrappingDialogNode.style.display=`none`,this.contentWrapperNode.style.zIndex=`1`,getComputedStyle(this.contentNode).position===`absolute`&&(this.contentNode.style.position=`static`)}_handleZIndex({phase:e}){if(this.placementMode===`local`&&e===`setup`){let e=Number(getComputedStyle(this.contentNode).zIndex);(e<1||Number.isNaN(e))&&(this.contentNode.style.zIndex=`1`)}}__setupTeardownAccessibility({phase:e}){e===`init`?(this.__storeOriginalAttrs(this.contentNode,[`role`,`id`]),this.invokerNode&&this.__storeOriginalAttrs(this.invokerNode,[`aria-expanded`,`aria-labelledby`,`aria-describedby`]),this.contentNode.id||this.contentNode.setAttribute(`id`,this._contentId),this.isTooltip?(this.invokerNode&&this.invokerNode.setAttribute(this.invokerRelation===`label`?`aria-labelledby`:`aria-describedby`,this._contentId),this.contentNode.setAttribute(`role`,`tooltip`)):(this.invokerNode&&this.invokerNode.setAttribute(`aria-expanded`,`${this.isShown}`),this.contentNode.getAttribute(`role`)||this.contentNode.setAttribute(`role`,`dialog`))):e===`teardown`&&this.__restoreOriginalAttrs()}__storeOriginalAttrs(e,t){let n={};t.forEach(t=>{n[t]=e.getAttribute(t)}),this.__originalAttrs.set(e,n)}__restoreOriginalAttrs(){for(let[e,t]of this.__originalAttrs)Object.entries(t).forEach(([t,n])=>{n===null?e.removeAttribute(t):e.setAttribute(t,n)});this.__originalAttrs.clear()}get isShown(){var e;return((e=this.__wrappingDialogNode)==null?void 0:e.style.display)!==`none`}show(){var e=this;return m(function*(t=this.elementToFocusAfterHide){if(e._showComplete&&(yield e._showComplete),e._showComplete=new Promise(t=>{e._showResolve=t}),e.manager&&e.manager.show(e),e.isShown){e._showResolve();return}let n=new CustomEvent(`before-show`,{cancelable:!0});e.dispatchEvent(n),n.defaultPrevented||(`HTMLDialogElement`in window&&e.__wrappingDialogNode instanceof HTMLDialogElement&&(e.__wrappingDialogNode.open=!0),e.__wrappingDialogNode.style.display=``,e._keepBodySize({phase:`before-show`}),yield e._handleFeatures({phase:`show`}),e._keepBodySize({phase:`show`}),yield e._handlePosition({phase:`show`}),e.__elementToFocusAfterHide=t,e.dispatchEvent(new Event(`show`)),yield e._transitionShow({backdropNode:e.backdropNode,contentNode:e.contentNode})),e._showResolve()}).apply(this,arguments)}_handlePosition({phase:e}){var t=this;return m(function*(){if(t.placementMode===`global`){let n=`overlays__overlay-container--${t.viewportConfig.placement}`;e===`show`?(t.contentWrapperNode.classList.add(`overlays__overlay-container`),t.contentWrapperNode.classList.add(n),t.contentNode.classList.add(`overlays__overlay`)):e===`hide`&&(t.contentWrapperNode.classList.remove(`overlays__overlay-container`),t.contentWrapperNode.classList.remove(n),t.contentNode.classList.remove(`overlays__overlay`))}else t.placementMode===`local`&&e===`show`&&(yield t.__createPopperInstance(),t._popper.forceUpdate())})()}_keepBodySize({phase:e}){switch(e){case`before-show`:this.__bodyClientWidth=document.body.clientWidth,this.__bodyClientHeight=document.body.clientHeight,this.__bodyMarginRightInline=document.body.style.marginRight,this.__bodyMarginBottomInline=document.body.style.marginBottom;break;case`show`:{var t,n;if(window.getComputedStyle){let e=window.getComputedStyle(document.body);this.__bodyMarginRight=parseInt(e.getPropertyValue(`margin-right`),10),this.__bodyMarginBottom=parseInt(e.getPropertyValue(`margin-bottom`),10)}else this.__bodyMarginRight=0,this.__bodyMarginBottom=0;let e=document.body.clientWidth-this.__bodyClientWidth,r=document.body.clientHeight-this.__bodyClientHeight,i=this.__bodyMarginRight+e,a=this.__bodyMarginBottom+r;(t=window.CSS)!=null&&t.number&&(n=document.body.attributeStyleMap)!=null&&n.set?(document.body.attributeStyleMap.set(`margin-right`,CSS.px(i)),document.body.attributeStyleMap.set(`margin-bottom`,CSS.px(a))):(document.body.style.marginRight=`${i}px`,document.body.style.marginBottom=`${a}px`);break}case`hide`:document.body.style.marginRight=this.__bodyMarginRightInline||``,document.body.style.marginBottom=this.__bodyMarginBottomInline||``;break}}hide(){var e=this;return m(function*(){if(e._hideComplete=new Promise(t=>{e._hideResolve=t}),e.__activeElementRightBeforeHide=e.contentNode.getRootNode().activeElement,e.manager&&e.manager.hide(e),!e.isShown){e._hideResolve();return}let t=new CustomEvent(`before-hide`,{cancelable:!0});e.dispatchEvent(t),t.defaultPrevented||(yield e._transitionHide({backdropNode:e.backdropNode,contentNode:e.contentNode}),`HTMLDialogElement`in window&&e.__wrappingDialogNode instanceof HTMLDialogElement&&e.__wrappingDialogNode.close(),e.__wrappingDialogNode.style.display=`none`,e._handleFeatures({phase:`hide`}),e._keepBodySize({phase:`hide`}),e.dispatchEvent(new Event(`hide`)),e._restoreFocus()),e._hideResolve()})()}transitionHide(e){return m(function*(){})()}_transitionHide({backdropNode:e,contentNode:t}){var n=this;return m(function*(){yield n.transitionHide({backdropNode:e,contentNode:t}),n._handlePosition({phase:`hide`}),e&&e.classList.remove(`overlays__backdrop--animation-in`)})()}transitionShow(e){return m(function*(){})()}_transitionShow(e){var t=this;return m(function*(){yield t.transitionShow({backdropNode:t.backdropNode,contentNode:t.contentNode}),e.backdropNode&&e.backdropNode.classList.add(`overlays__backdrop--animation-in`)})()}_restoreFocus(){this.__activeElementRightBeforeHide instanceof HTMLElement&&this.contentNode.contains(this.__activeElementRightBeforeHide)&&(this.elementToFocusAfterHide?(this.elementToFocusAfterHide.focus(),this.elementToFocusAfterHide.scrollIntoView({block:`center`})):this.__activeElementRightBeforeHide.blur())}toggle(){var e=this;return m(function*(){return e.isShown?e.hide():e.show()})()}_handleFeatures({phase:e}){this._handleZIndex({phase:e}),this.preventsScroll&&this._handlePreventsScroll({phase:e}),this.isBlocking&&this._handleBlocking({phase:e}),this.hasBackdrop&&this._handleBackdrop({phase:e}),this.trapsKeyboardFocus&&this._handleTrapsKeyboardFocus({phase:e}),this.hidesOnEsc&&this._handleHidesOnEsc({phase:e}),this.hidesOnOutsideEsc&&this._handleHidesOnOutsideEsc({phase:e}),this.hidesOnOutsideClick&&this._handleHidesOnOutsideClick({phase:e}),this.handlesAccessibility&&this._handleAccessibility({phase:e}),this.inheritsReferenceWidth&&this._handleInheritsReferenceWidth(),this.visibilityTriggerFunction&&this._handleVisibilityTriggers({phase:e})}_handleVisibilityTriggers({phase:e}){typeof this.visibilityTriggerFunction==`function`&&(e===`init`&&(this.__visibilityTriggerHandler=this.visibilityTriggerFunction({phase:e,controller:this})),this.__visibilityTriggerHandler[e]&&this.__visibilityTriggerHandler[e]())}_handlePreventsScroll({phase:e}){switch(e){case`show`:this.manager.requestToPreventScroll();break;case`hide`:this.manager.requestToEnableScroll();break}}_handleBlocking({phase:e}){switch(e){case`show`:this.manager.requestToShowOnly(this);break;case`hide`:this.manager.retractRequestToShowOnly(this);break}}get hasActiveBackdrop(){return this.__hasActiveBackdrop}_handleBackdrop({phase:e}){switch(e){case`init`:if(!this.__backdropInitialized){var t;(t=this.config)!=null&&t.backdropNode||(this.__backdropNode=document.createElement(`div`),this.__backdropNode.classList.add(`overlays__backdrop`)),this.__wrappingDialogNode.prepend(this.backdropNode),this.__backdropInitialized=!0}break;case`show`:this.config.hasBackdrop&&this.backdropNode.classList.add(`overlays__backdrop--visible`),this.__hasActiveBackdrop=!0;break;case`hide`:case`teardown`:this.backdropNode.classList.remove(`overlays__backdrop--visible`),this.__hasActiveBackdrop=!1;break}}get hasActiveTrapsKeyboardFocus(){return this.__hasActiveTrapsKeyboardFocus}_handleTrapsKeyboardFocus({phase:e}){e===`show`?(`showModal`in this.__wrappingDialogNode&&(this.__wrappingDialogNode.close(),this.__wrappingDialogNode.showModal()),this.enableTrapsKeyboardFocus()):(e===`hide`||e===`teardown`)&&this.disableTrapsKeyboardFocus()}enableTrapsKeyboardFocus(){this.__hasActiveTrapsKeyboardFocus||(this.manager&&this.manager.disableTrapsKeyboardFocusForAll(),this._containFocusHandler=tn(this.contentNode),this.__hasActiveTrapsKeyboardFocus=!0,this.manager&&this.manager.informTrapsKeyboardFocusGotEnabled(this.placementMode))}disableTrapsKeyboardFocus({findNewTrap:e=!0}={}){this.__hasActiveTrapsKeyboardFocus&&(this._containFocusHandler&&(this._containFocusHandler.disconnect(),this._containFocusHandler=void 0),this.__hasActiveTrapsKeyboardFocus=!1,this.manager&&this.manager.informTrapsKeyboardFocusGotDisabled({disabledCtrl:this,findNewTrap:e}))}__escKeyHandler(e){return e.key===`Escape`&&this.hide()}_handleHidesOnEsc({phase:e}){e===`show`?(this.contentNode.addEventListener(`keyup`,this.__escKeyHandler),this.invokerNode&&this.invokerNode.addEventListener(`keyup`,this.__escKeyHandler)):e===`hide`&&(this.contentNode.removeEventListener(`keyup`,this.__escKeyHandler),this.invokerNode&&this.invokerNode.removeEventListener(`keyup`,this.__escKeyHandler))}_handleHidesOnOutsideEsc({phase:e}){e===`show`?(this.__escKeyHandler=e=>e.key===`Escape`&&this.hide(),document.addEventListener(`keyup`,this.__escKeyHandler)):e===`hide`&&document.removeEventListener(`keyup`,this.__escKeyHandler)}_handleInheritsReferenceWidth(){if(!this._referenceNode||this.placementMode===`global`)return;let e=`${this._referenceNode.getBoundingClientRect().width}px`;switch(this.inheritsReferenceWidth){case`max`:this.contentWrapperNode.style.maxWidth=e;break;case`full`:this.contentWrapperNode.style.width=e;break;case`min`:this.contentWrapperNode.style.minWidth=e,this.contentWrapperNode.style.width=`auto`;break}}_handleHidesOnOutsideClick({phase:e}){let t=e===`show`?`addEventListener`:`removeEventListener`;if(e===`show`){let e=!1,t=!1;this.__onInsideMouseDown=()=>{e=!0},this.__onInsideMouseUp=()=>{t=!0},this.__onDocumentMouseUp=()=>{setTimeout(()=>{!e&&!t&&this.hide(),e=!1,t=!1})}}this.contentWrapperNode[t](`mousedown`,this.__onInsideMouseDown,!0),this.contentWrapperNode[t](`mouseup`,this.__onInsideMouseUp,!0),this.invokerNode&&(this.invokerNode[t](`mousedown`,this.__onInsideMouseDown,!0),this.invokerNode[t](`mouseup`,this.__onInsideMouseUp,!0)),document.documentElement[t](`mouseup`,this.__onDocumentMouseUp,!0)}_handleAccessibility({phase:e}){(e===`init`||e===`teardown`)&&this.__setupTeardownAccessibility({phase:e}),this.invokerNode&&!this.isTooltip&&this.invokerNode.setAttribute(`aria-expanded`,`${e===`show`}`)}teardown(){this.__handleOverlayStyles({phase:`teardown`}),this._handleFeatures({phase:`teardown`})}__createPopperInstance(){var t=this;return m(function*(){if(t._popper&&(t._popper.destroy(),t._popper=void 0),e.popperModule!==void 0){var n;let{createPopper:r}=yield e.popperModule;t._popper=r(t._referenceNode,t.contentWrapperNode,W({},(n=t.config)==null?void 0:n.popperConfig))}})()}_hasDisabledInvoker(){return this.invokerNode?this.invokerNode.disabled||this.invokerNode.getAttribute(`aria-disabled`)===`true`:!1}},Ia.popperModule=void 0}));function Ra(e,t){let n=t;for(;n;){if(Ba.get(n)===e)return!0;n=Object.getPrototypeOf(n)}return!1}function za(e){return t=>{if(Ra(e,t))return t;let n=e(t);return Ba.set(n,e),n}}var Ba,Va=t((()=>{Ba=new WeakMap})),Ha=t((()=>{Va()}));function Ua(e,t){if(typeof e!=`object`||typeof t!=`object`||e===null||t===null)return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length?n.every(n=>Ua(e[n],t[n])):!1}var Wa=t((()=>{})),Ga,Ka,qa=t((()=>{Ha(),La(),Wa(),Cn(),h(),Ga=e=>class extends e{static get properties(){return{opened:{type:Boolean,reflect:!0}}}constructor(){super(),this.opened=!1,this.config={},this.toggle=this.toggle.bind(this),this.open=this.open.bind(this),this.close=this.close.bind(this)}get config(){return this.__config}set config(e){let t=!Ua(this.config,e);this._overlayCtrl&&t&&this._overlayCtrl.updateConfig(e),this.__config=e,this._overlayCtrl&&t&&this.__syncToOverlayController()}requestUpdate(e,t,n){super.requestUpdate(e,t,n),e===`opened`&&this.opened!==t&&this.dispatchEvent(new Event(`opened-changed`))}_defineOverlay({contentNode:e,invokerNode:t,referenceNode:n,backdropNode:r,contentWrapperNode:i}){var a,o,s;let c=this._defineOverlayConfig()||{};return new Ia(W(W(W({contentNode:e,invokerNode:t,referenceNode:n,backdropNode:r,contentWrapperNode:i},c),this.config),{},{popperConfig:W(W(W({},c.popperConfig||{}),((a=this.config)==null?void 0:a.popperConfig)||{}),{},{modifiers:[...((o=c.popperConfig)==null?void 0:o.modifiers)||[],...((s=this.config)==null||(s=s.popperConfig)==null?void 0:s.modifiers)||[]]})}))}_defineOverlayConfig(){return{placementMode:`local`}}updated(e){super.updated(e),e.has(`opened`)&&this._overlayCtrl&&!this.__blockSyncToOverlayCtrl&&this.__syncToOverlayController()}_setupOpenCloseListeners(){this.__closeEventInContentNodeHandler=e=>{e.stopPropagation(),this._overlayCtrl.hide()},this._overlayContentNode&&this._overlayContentNode.addEventListener(`close-overlay`,this.__closeEventInContentNodeHandler)}_teardownOpenCloseListeners(){this._overlayContentNode&&this._overlayContentNode.removeEventListener(`close-overlay`,this.__closeEventInContentNodeHandler)}firstUpdated(e){super.firstUpdated(e),this._setupOverlayCtrl()}disconnectedCallback(){super.disconnectedCallback(),this._overlayCtrl&&this._teardownOverlayCtrl()}get _overlayInvokerNode(){return Array.from(this.children).find(e=>e.slot===`invoker`)}get _overlayReferenceNode(){}get _overlayBackdropNode(){return this.__cachedOverlayBackdropNode||(this.__cachedOverlayBackdropNode=Array.from(this.children).find(e=>e.slot===`backdrop`)),this.__cachedOverlayBackdropNode}get _overlayContentNode(){return this._cachedOverlayContentNode||(this._cachedOverlayContentNode=Array.from(this.children).find(e=>e.slot===`content`)||this.config.contentNode),this._cachedOverlayContentNode}get _overlayContentWrapperNode(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(`#overlay-content-node-wrapper`)}_setupOverlayCtrl(){this._overlayCtrl=this._defineOverlay({contentNode:this._overlayContentNode,contentWrapperNode:this._overlayContentWrapperNode,invokerNode:this._overlayInvokerNode,referenceNode:this._overlayReferenceNode,backdropNode:this._overlayBackdropNode}),this.__syncToOverlayController(),this.__setupSyncFromOverlayController(),this._setupOpenCloseListeners()}_teardownOverlayCtrl(){this._teardownOpenCloseListeners(),this.__teardownSyncFromOverlayController(),this._overlayCtrl.teardown()}_setOpenedWithoutPropertyEffects(e){var t=this;return m(function*(){t.__blockSyncToOverlayCtrl=!0,t.opened=e,yield t.updateComplete,t.__blockSyncToOverlayCtrl=!1})()}__setupSyncFromOverlayController(){this.__onOverlayCtrlShow=()=>{this.opened=!0},this.__onOverlayCtrlHide=()=>{this.opened=!1},this.__onBeforeShow=e=>{let t=new CustomEvent(`before-opened`,{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented&&(this._setOpenedWithoutPropertyEffects(this._overlayCtrl.isShown),e.preventDefault())},this.__onBeforeHide=e=>{let t=new CustomEvent(`before-closed`,{cancelable:!0});this.dispatchEvent(t),t.defaultPrevented&&(this._setOpenedWithoutPropertyEffects(this._overlayCtrl.isShown),e.preventDefault())},this._overlayCtrl.addEventListener(`show`,this.__onOverlayCtrlShow),this._overlayCtrl.addEventListener(`hide`,this.__onOverlayCtrlHide),this._overlayCtrl.addEventListener(`before-show`,this.__onBeforeShow),this._overlayCtrl.addEventListener(`before-hide`,this.__onBeforeHide)}__teardownSyncFromOverlayController(){this._overlayCtrl.removeEventListener(`show`,this.__onOverlayCtrlShow),this._overlayCtrl.removeEventListener(`hide`,this.__onOverlayCtrlHide),this._overlayCtrl.removeEventListener(`before-show`,this.__onBeforeShow),this._overlayCtrl.removeEventListener(`before-hide`,this.__onBeforeHide)}__syncToOverlayController(){this.opened?this._overlayCtrl.show():this._overlayCtrl.hide()}toggle(){var e=this;return m(function*(){yield e._overlayCtrl.toggle()})()}open(){var e=this;return m(function*(){yield e._overlayCtrl.show()})()}close(){var e=this;return m(function*(){yield e._overlayCtrl.hide()})()}repositionOverlay(){let e=this._overlayCtrl;e.placementMode===`local`&&e._popper&&e._popper.update()}},Ka=za(Ga)}));function Ja(){return{visibilityTriggerFunction:({controller:e})=>{function t(){e._hasDisabledInvoker()||e.toggle()}return{init:()=>{var n;(n=e.invokerNode)==null||n.addEventListener(`click`,t)},teardown:()=>{var n;(n=e.invokerNode)==null||n.removeEventListener(`click`,t)}}}}}var Ya=t((()=>{})),Xa,Za=t((()=>{Ya(),Cn(),Xa=()=>W({placementMode:`global`,viewportConfig:{placement:`center`},hasBackdrop:!0,preventsScroll:!0,trapsKeyboardFocus:!0,hidesOnEsc:!0,handlesAccessibility:!0},Ja())})),Qa=t((()=>{qa(),Za()})),$a,eo=t((()=>{$a=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})}}));function G(e){return(t,n)=>typeof n==`object`?no(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}var to,no,ro=t((()=>{Ce(),to={attribute:!0,type:String,converter:be,reflect:!1,hasChanged:V},no=(e=to,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)}}));function io(e){return G(W(W({},e),{},{state:!0,attribute:!1}))}var ao=t((()=>{ro(),Cn()})),oo=t((()=>{})),so=t((()=>{})),co=t((()=>{})),lo=t((()=>{})),uo=t((()=>{})),fo=t((()=>{})),po=t((()=>{eo(),ro(),ao(),oo(),so(),co(),lo(),uo(),fo()})),mo,ho=t((()=>{mo=`*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-ms-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent;--tw-shadow:0 0 transparent;--tw-shadow-colored:0 0 transparent;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button{-webkit-appearance:button;background-color:transparent;background-image:none}input:where([type=button]){-webkit-appearance:button;background-color:transparent;background-image:none}input:where([type=reset]){-webkit-appearance:button;background-color:transparent;background-image:none}input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::-webkit-input-placeholder{opacity:1;color:#9ca3af}input::-moz-placeholder{opacity:1;color:#9ca3af}input::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder{opacity:1;color:#9ca3af}textarea::-webkit-input-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.pointer-events-auto{pointer-events:auto}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-4{bottom:16px}.left-4{left:16px}.right-0{right:0}.right-4{right:16px}.top-0{top:0}.top-1\\/2{top:50%}.top-4{top:16px}.z-10{z-index:10}.z-\\[2147483598\\]{z-index:2147483598}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:4px}.mb-10{margin-bottom:40px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.ml-auto{margin-left:auto}.mr-2{margin-right:8px}.mr-4{margin-right:16px}.mr-auto{margin-right:auto}.mt-1{margin-top:4px}.mt-4{margin-top:16px}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.\\!h-full{height:100%!important}.h-32{height:128px}.h-4{height:16px}.h-5{height:20px}.h-6{height:24px}.h-7{height:28px}.h-8{height:32px}.h-dvh{height:100dvh}.h-full{height:100%}.max-h-\\[90svh\\]{max-height:90svh}.max-h-\\[90vh\\]{max-height:90vh}.max-h-dvh{max-height:100dvh}.\\!w-screen{width:100vw!important}.w-5{width:20px}.w-64{width:256px}.w-7{width:28px}.w-\\[400px\\]{width:400px}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-\\[3rem\\]{min-width:48px}.max-w-\\[420px\\]{max-width:420px}.max-w-\\[620px\\]{max-width:620px}.max-w-full{max-width:100%}.flex-1{flex:1}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-2{gap:8px}.gap-\\[1rem\\]{gap:16px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.overflow-auto{overflow:auto}.overflow-visible{overflow:visible}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-md{border-radius:6px}.rounded-b-2xl{border-bottom-right-radius:16px;border-bottom-left-radius:16px}.rounded-t-2xl{border-top-left-radius:16px;border-top-right-radius:16px}.border{border-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-gray-100{--tw-border-opacity:1;border-color:rgba(243,244,246,var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgba(209,213,219,var(--tw-border-opacity,1))}.border-b-gray-100{--tw-border-opacity:1;border-bottom-color:rgba(243,244,246,var(--tw-border-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgba(243,244,246,var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity,1))}.fill-blue-500{fill:#3b82f6}.p-1{padding:4px}.p-12{padding:48px}.p-2{padding:8px}.p-20{padding:80px}.p-4{padding:16px}.p-6{padding:24px}.px-4{padding-left:16px;padding-right:16px}.py-3{padding-top:12px;padding-bottom:12px}.py-6{padding-top:24px;padding-bottom:24px}.text-left{text-align:left}.text-center{text-align:center}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-2xl{font-size:24px;line-height:32px}.text-3xl{font-size:30px;line-height:36px}.text-5xl{font-size:48px;line-height:1}.text-base{font-size:16px;line-height:24px}.text-lg{font-size:18px;line-height:28px}.text-xl{font-size:20px;line-height:28px}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.\\!text-gray-900{--tw-text-opacity:1!important;color:rgba(17,24,39,var(--tw-text-opacity,1))!important}.text-black{--tw-text-opacity:1;color:rgba(0,0,0,var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgba(37,99,235,var(--tw-text-opacity,1))}.text-gray-200{--tw-text-opacity:1;color:rgba(229,231,235,var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgba(107,114,128,var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgba(55,65,81,var(--tw-text-opacity,1))}.\\!no-underline{-webkit-text-decoration-line:none!important;text-decoration-line:none!important}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.drop-shadow{--tw-drop-shadow:drop-shadow(0 1px 2px rgba(0,0,0,.1)) drop-shadow(0 1px 1px rgba(0,0,0,.06));-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,-webkit-text-decoration-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,-webkit-filter,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}:host{font-family:Matter,sans-serif;font-size:16px}.hover\\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\\:outline-none:focus{outline-offset:2px;outline:2px solid transparent}@media (min-width:640px){.sm\\:flex-row{flex-direction:row}}@media (min-width:768px){.md\\:shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent), var(--tw-ring-shadow,0 0 transparent), var(--tw-shadow)}}@media (min-width:521px){.modal-desktop\\:h-auto{height:auto}.modal-desktop\\:max-h-\\[90dvh\\]{max-height:90dvh}.modal-desktop\\:max-h-\\[90vh\\]{max-height:90vh}.modal-desktop\\:max-h-\\[min\\(90dvh\\,725px\\)\\]{max-height:min(90dvh,725px)}.modal-desktop\\:w-auto{width:auto}.modal-desktop\\:overflow-auto{overflow:auto}.modal-desktop\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity,1))}}@media (max-width:520px){.max-modal-desktop\\:\\!h-full{height:100%!important}}@media (prefers-color-scheme:dark){.dark\\:text-gray-600{--tw-text-opacity:1;color:rgba(75,85,99,var(--tw-text-opacity,1))}}`})),go,_o,vo=t((()=>{vt(),ho(),go=I(mo),_o=e=>{class t extends e{connectedCallback(){super.connectedCallback(),this.shadowRoot&&ce(this.shadowRoot,[go])}}return t}}));function K(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var yo=t((()=>{})),bo=r({GivebutterDialog:()=>So,GivebutterDialogMode:()=>xo}),xo,So,Co=t((()=>{Qa(),vt(),po(),vo(),yo(),Cn(),xo=function(e){return e[e.MANUAL=0]=`MANUAL`,e[e.TIMED=1]=`TIMED`,e}({}),So=class extends _o(Ka(mt)){constructor(...e){super(...e),this.trigger=xo.MANUAL,this.openDelay=5e3,this.closeButton=!1,this.hideOnEsc=!0,this.hideOnOutsideClick=!1}_defineOverlayConfig(){let e=document.createElement(`div`);return e.id=`overlays-backdrop`,W(W({},Xa()),{},{hidesOnOutsideEsc:this.hideOnEsc,hidesOnOutsideClick:this.hideOnOutsideClick,backdropNode:e})}connectedCallback(){super.connectedCallback(),this.trigger===xo.TIMED&&setTimeout(()=>{this.toggle()},this.openDelay)}render(){return H`
      ${this.getBackdropStyles()}
      <slot name="invoker"></slot>
      <div id="overlay-content-node-wrapper">
        ${this.closeButton?this.renderCloseIcon():``}
        <slot name="content"></slot>
      </div>
    `}renderCloseIcon(){return H`
      <div
        class="modal-desktop:text-white pointer-events-auto absolute right-0 top-0 z-10 cursor-pointer p-4"
        @click="${this.close}"
      >
        <svg class="h-7 w-7" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512">
          <path
            d="M242.7 256l100.1-100.1c12.3-12.3 12.3-32.2 0-44.5s-32.2-12.3-44.5 0L198.2 211.5 98.1 111.4c-12.3-12.3-32.2-12.3-44.5 0s-12.3 32.2 0 44.5L153.7 256 53.6 356.1c-12.3 12.3-12.3 32.2 0 44.5 6.2 6.2 14.3 9.3 22.3 9.3s16.1-3.1 22.3-9.3L198.2 300.5l100.1 100.1c6.2 6.2 14.3 9.3 22.3 9.3s16.1-3.1 22.3-9.3c12.3-12.3 12.3-32.2 0-44.5L242.7 256z"
            fill="currentColor"
          />
        </svg>
      </div>
    `}getBackdropStyles(){return H`
      <style>
        #overlays-backdrop {
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: #fff;
          position: fixed;
          opacity: 1;
        }

        #overlays-backdrop.overlays__backdrop--visible {
          display: block;
        }

        #overlays-backdrop.overlays__backdrop--animation-in {
          animation: overlays-backdrop-fade-in 300ms;
        }

        #overlays-backdrop.overlays__backdrop--animation-out {
          animation: overlays-backdrop-fade-out 300ms;
          opacity: 0;
        }

        @media (max-width: 520px) {
          dialog {
            width: 100%;
            height: 100%;
            max-width: 100vw;
            max-width: 100svw;
            max-height: 100vh;
            max-height: 100svh;
          }

          #overlay-content-node-wrapper {
            overflow-y: auto;
          }
        }

        @media (min-width: 521px) {
          #overlays-backdrop {
            background-color: #000;
            opacity: 0.7;
          }

          #overlay-content-node-wrapper {
            height: 100%;
          }
        }

        @keyframes overlays-backdrop-fade-in {
          from {
            opacity: 0;
          }
        }

        @keyframes overlays-backdrop-fade-out {
          from {
            opacity: 0.7;
          }
        }
      </style>
    `}},K([G({type:Number,attribute:`trigger`})],So.prototype,`trigger`,void 0),K([G({type:Number,attribute:`open-delay`})],So.prototype,`openDelay`,void 0),K([G({type:Boolean,attribute:`close-button`})],So.prototype,`closeButton`,void 0),K([G({type:Boolean,attribute:`hide-on-esc`})],So.prototype,`hideOnEsc`,void 0),K([G({type:Boolean,attribute:`hide-on-outside-click`})],So.prototype,`hideOnOutsideClick`,void 0),So=K([$a(`givebutter-dialog`)],So)})),wo,To=t((()=>{_t(),h(),wo=class{constructor(e,{target:t,config:n,callback:r,skipInitial:i}){this.t=new Set,this.o=!1,this.i=!1,this.h=e,t!==null&&this.t.add(t==null?e:t),this.l=n,this.o=i==null?this.o:i,this.callback=r,window.MutationObserver?(this.u=new MutationObserver(e=>{this.handleChanges(e),this.h.requestUpdate()}),e.addController(this)):console.warn(`MutationController error: browser does not support MutationObserver.`)}handleChanges(e){var t;this.value=(t=this.callback)==null?void 0:t.call(this,e,this.u)}hostConnected(){for(let e of this.t)this.observe(e)}hostDisconnected(){this.disconnect()}hostUpdated(){var e=this;return m(function*(){let t=e.u.takeRecords();(t.length||!e.o&&e.i)&&e.handleChanges(t),e.i=!1})()}observe(e){this.t.add(e),this.u.observe(e,this.l),this.i=!0,this.h.requestUpdate()}disconnect(){this.u.disconnect()}}})),Eo,Do=t((()=>{ut(),Eo=e=>e==null?U:e})),Oo=t((()=>{Do()})),ko,Ao,jo=t((()=>{ut(),{I:ko}=st,Ao=e=>e.strings===void 0})),Mo,No,Po,Fo=t((()=>{Mo={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},No=e=>(...t)=>({_$litDirective$:e,values:t}),Po=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}}));function Io(e){this._$AN===void 0?this._$AM=e:(zo(this),this._$AM=e,Bo(this))}function Lo(e,t=!1,n=0){let r=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(r))for(let e=n;e<r.length;e++)Ro(r[e],!1),zo(r[e]);else r!=null&&(Ro(r,!1),zo(r));else Ro(this,e)}var Ro,zo,Bo,Vo,Ho,Uo=t((()=>{jo(),Fo(),Ro=(e,t)=>{var n;let r=e._$AN;if(r===void 0)return!1;for(let e of r)(n=e._$AO)==null||n.call(e,t,!1),Ro(e,t);return!0},zo=e=>{let t,n;do{if((t=e._$AM)===void 0)break;n=t._$AN,n.delete(e),e=t}while((n==null?void 0:n.size)===0)},Bo=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(n===void 0)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),Vo(t)}},Vo=e=>{e.type==Mo.CHILD&&(e._$AP!=null||(e._$AP=Lo),e._$AQ!=null||(e._$AQ=Io))},Ho=class extends Po{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),Bo(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,r;e!==this.isConnected&&(this.isConnected=e,e?(n=this.reconnected)==null||n.call(this):(r=this.disconnected)==null||r.call(this)),t&&(Ro(this,e),zo(this))}setValue(e){if(Ao(this._$Ct))this._$Ct._$AI(e,this);else{let t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}})),Wo,Go,Ko,qo,Jo=t((()=>{ut(),Uo(),Fo(),Wo=()=>new Go,Go=class{},Ko=new WeakMap,qo=No(class extends Ho{render(e){return U}update(e,[t]){var n;let r=t!==this.G;return r&&this.G!==void 0&&this.rt(void 0),(r||this.lt!==this.ct)&&(this.G=t,this.ht=(n=e.options)==null?void 0:n.host,this.rt(this.ct=e.element)),U}rt(e){if(this.isConnected||(e=void 0),typeof this.G==`function`){var t;let n=(t=this.ht)==null?globalThis:t,r=Ko.get(n);r===void 0&&(r=new WeakMap,Ko.set(n,r)),r.get(this.G)!==void 0&&this.G.call(this.ht,void 0),r.set(this.G,e),e!==void 0&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){var e,t,n;return typeof this.G==`function`?(e=Ko.get((t=this.ht)==null?globalThis:t))==null?void 0:e.get(this.G):(n=this.G)==null?void 0:n.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})})),Yo=t((()=>{Jo()})),Xo,Zo,Qo,$o=t((()=>{ut(),Fo(),Xo=`important`,Zo=` !`+Xo,Qo=No(class extends Po{constructor(e){var t;if(super(e),e.type!==Mo.ATTRIBUTE||e.name!==`style`||((t=e.strings)==null?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return r==null?t:t+`${n=n.includes(`-`)?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,`-$&`).toLowerCase()}:${r};`},``)}update(e,[t]){let{style:n}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let e of this.ft)t[e]==null&&(this.ft.delete(e),e.includes(`-`)?n.removeProperty(e):n[e]=null);for(let e in t){let r=t[e];if(r!=null){this.ft.add(e);let t=typeof r==`string`&&r.endsWith(Zo);e.includes(`-`)||t?n.setProperty(e,t?r.slice(0,-11):r,t?Xo:``):n[e]=r}}return Ye}})})),es=t((()=>{$o()})),ts,ns=t((()=>{vt(),ts=class{constructor(e,t){this.icon=e,this.labelColor=t}getSVG(){switch(this.icon){case`none`:return``;case`ticket`:return this.ticketIcon();case`gift`:return this.giftIcon();case`giving_hands`:return this.givingHandsIcon();default:return this.heartIcon()}}ticketIcon(){return H`
      <svg
        width="18"
        height="16"
        viewBox="0 0 18 16"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M2 2H16C17.0938 2 18 2.90625 18 4V6.5C17.1562 6.5 16.5 7.1875 16.5 8C16.5 8.84375 17.1562 9.5 18 9.5V12C18 13.125 17.0938 14 16 14H2C0.875 14 0 13.125 0 12V9.5C0.8125 9.5 1.5 8.84375 1.5 8C1.5 7.1875 0.8125 6.5 0 6.5V4C0 2.90625 0.875 2 2 2ZM4 5H14V11H4V5ZM3 5V11C3 11.5625 3.4375 12 4 12H14C14.5312 12 15 11.5625 15 11V5C15 4.46875 14.5312 4 14 4H4C3.4375 4 3 4.46875 3 5Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}heartIcon(){return H`
      <svg
        width="16"
        height="14"
        viewBox="0 0 16 14"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M2 8L1.21875 7.25C0.4375 6.46875 0 5.375 0 4.25C0 1.90625 1.875 0 4.21875 0C5.34375 0 6.4375 0.46875 7.21875 1.25L8 2L8.75 1.25C9.53125 0.46875 10.625 0 11.75 0C14.0938 0 16 1.90625 16 4.25C16 5.375 15.5312 6.46875 14.75 7.25L14 8L8 14L2 8Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}giftIcon(){return H`
      <svg
        width="16"
        height="16"
        viewBox="0 0 16 16"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M5.9375 2.15625C5.71875 1.75 5.28125 1.5 4.8125 1.5H4.75C4.03125 1.5 3.5 2.0625 3.5 2.75C3.5 3.46875 4.03125 4 4.75 4H7H7.03125L5.9375 2.15625ZM2 2.75C2 1.25 3.21875 0 4.75 0H4.8125C5.8125 0 6.71875 0.53125 7.21875 1.40625L8 2.6875L8.75 1.40625C9.25 0.53125 10.1562 0 11.1562 0H11.25C12.75 0 14 1.25 14 2.75C14 3.21875 13.875 3.625 13.6875 4H16V8H0V4H2.28125C2.09375 3.625 2 3.21875 2 2.75ZM12.5 2.75C12.5 2.0625 11.9375 1.5 11.25 1.5H11.1562C10.6875 1.5 10.2812 1.75 10.0312 2.15625L8.9375 4H9H11.25C11.9375 4 12.5 3.46875 12.5 2.75ZM1 9H7V16H1V9ZM9 16V9H15V16H9Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}givingHandsIcon(){return H`
      <svg
        width="20"
        height="17"
        viewBox="0 0 20 17"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M5.625 2.3125C5.625 1.0625 6.65625 0 7.9375 0H8.03125C8.625 0 9.25 0.25 9.6875 0.6875L10 0.96875L10.2812 0.6875C10.7188 0.25 11.3438 0 11.9688 0H12.0625C13.3125 0 14.375 1.0625 14.375 2.3125C14.375 2.96875 14.0938 3.5625 13.6562 4L10.4062 7.09375L10 7.53125L9.5625 7.09375L6.3125 4C5.875 3.5625 5.625 2.96875 5.625 2.3125ZM2.5 2V3.25V3.5V4.5V7V9.09375L5.125 11.7188L6.40625 10.8438L5.28125 9.71875L4.5625 9L4.28125 8.71875L3.5625 8L5 6.59375L5.6875 7.3125L6 7.59375L6.6875 8.3125L8.6875 10.3125L9 10.5938V11V13V14V15V16H8H5H4.5625L4.28125 15.7188L0.28125 11.7188L0 11.4375V11V7V5V4V3.25V2H2.5ZM17.5 2H20V3.25V4V5V7V11V11.4375L19.6875 11.7188L15.6875 15.7188L15.4062 16.0312H15H12H11V15V14V13V11V10.5938L11.2812 10.3125L13.2812 8.3125L14 7.59375L14.2812 7.3125L15 6.59375L16.4062 8L15.6875 8.71875L15.4062 9L14.6875 9.71875L13.5625 10.8438L14.8438 11.7188L17.5 9.09375V7V4.5V3.5V3.25V2Z"
          fill="${this.labelColor}"
        />
      </svg>
    `}}})),rs,is=t((()=>{a(),rs=class{static loadObjectFromLocalStorage(e,t){if(!window.localStorage)return i.warn(`localStorage is not available. Can't load data.`),{};try{let n=window.localStorage.getItem(e);return t?JSON.parse(n==null?`{}`:n):{}}catch(e){return i.error(e),{}}}static saveObjectToLocalStorage(e,t){if(!window.localStorage)return i.warn(`localStorage is not available. Can't save data.`),!1;try{return window.localStorage.setItem(e,JSON.stringify(t)),!0}catch(e){return i.error(e),!1}}}})),as,os,ss,cs=t((()=>{f(),is(),a(),s(),Cn(),as=`givebutter.analytics:0.0.0`,os={maxAge:1440*30,qsPrefix:`gba_`,temporaryKeyPrefix:`tmp_`,qsThirdPartyKeys:[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`,`gclid`,`wbraid`,`gbraid`,`gclsrc`,`dclid`,`fbclid`],widgetFormKeys:[`amount`,`frequency`,`fund`,`promo`]},ss=class{constructor(){this._filterTemporaryKeys=function(e){e=W({},e);for(let t of Object.keys(e))t.startsWith(`gb.element.`)&&(d.isLocalEnv()&&i.debug(`_filterTemporaryKeys) Filtering `+t),delete e[t]),t.toLowerCase().startsWith(os.temporaryKeyPrefix)&&(d.isLocalEnv()&&i.debug(`_filterTemporaryKeys) Filtering `+t),delete e[t]);return e},this.analyticsData={},this.loadFromStorage(),this.cleanup(),this.loadFromUrl(window.location.href)}static getGivebutterAnalytics(){return window.gbWidgets?(window.gbWidgets.analytics||(window.gbWidgets.analytics=new this),window.gbWidgets.analytics):null}getQueryString(){let e=this.getAll();return Object.keys(e).length===0?``:this.objToQueryString(e,null)}loadFromStorage(){this.analyticsData=rs.loadObjectFromLocalStorage(as,this.analyticsData)}set(e,t,n=!0){let r=Date.now();e=e.toLowerCase(),this.analyticsData[e]={v:t,c:r,e:r+os.maxAge*60*1e3,f:n};let i=this.saveToStorage();return n&&this.forwardToGa(function(n){n.set(e,t)}),i}remove(e){delete this.analyticsData[e],this.saveToStorage()}cleanup(){let e=Date.now(),t=!1;for(let n in this.analyticsData)if(this.analyticsData[n].e<=e){d.isLocalEnv()&&i.debug(`cleanup() Key '`+n+`' expired at `+this.analyticsData[n].e+` (`+(this.analyticsData[n].e-e)+`)`),delete this.analyticsData[n],t=!0;break}return t?(this.saveToStorage(),!0):!1}saveToStorage(){d.isLocalEnv()&&i.debug(`saveToStorage() - userAllowsTracking = false`);let e=this._filterTemporaryKeys(this.analyticsData);return rs.saveObjectToLocalStorage(as,e)}loadFromUrl(e){let t=o.getQueryParams(e);for(let e in t)if(e.toLowerCase().startsWith(os.qsPrefix)){let n=t[e];d.isLocalEnv()&&i.debug(`loadFromUrl() qsPrefix match: `+e+` = `+n),this.set(e,n,!0)}for(let e of os.qsThirdPartyKeys)t.hasOwnProperty(e)&&(d.isLocalEnv()&&i.debug(`loadFromUrl() qsThirdPartyKeys match: `+e+` = `+t[e]),this.set(e,t[e],!0));for(let e of os.widgetFormKeys)t.hasOwnProperty(e)?(d.isLocalEnv()&&i.debug(`loadFromUrl() widgetFormKeys match: `+e+` = `+t[e]),this.set(e,t[e],!1)):this.analyticsData.hasOwnProperty(e)&&this.remove(e)}forwardToGa(e){if(window.ga&&window.ga.getAll){let t=window.ga.getAll();for(let n of t)d.isLocalEnv()&&i.debug(`set) Forward to GA: `+n.get(`trackingId`)),e(n);return!0}return!1}getAll(){let e=Date.now(),t={};for(let n in this.analyticsData)this.analyticsData[n].e>=e&&(t[n]=this.analyticsData[n].v);return t}serializeKey(e,t){return e&&e.length>0?`${e}.${t}`:t}objToQueryString(e,t=null){let n=[];for(let r in e)if(e.hasOwnProperty(r)){let i=t?this.serializeKey(t,r):r,a=e[r];n.push(typeof a==`object`&&a?this.objToQueryString(a,i):`${encodeURIComponent(i)}=${encodeURIComponent(a)}`)}return n.join(`&`)}}}));function ls(e){return e==null}var us,ds=t((()=>{a(),us=class{static string(e,t,n,r){return ls(t)?!1:r.includes(t)?t!==n:(i.error(`Attribute ${e} is invalid. Accepted: ${r.join(`, `)}.`),!1)}static number(e,t,n){return ls(t)?!1:typeof t!=`number`||isNaN(t)?(i.error(`Attribute ${e} must be a number`),!1):t!==n}static checkRequiredProps(e,t,n){for(let r of n)if(t.has(r)&&(!e[`${r}`]||e[`${r}`].length===0)){let e=`${r} attribute is required.`;return i.error(e.charAt(0).toUpperCase()+e.slice(1)),!1}return!0}}})),fs,ps,ms=t((()=>{po(),f(),cs(),ds(),yo(),fs=function(e){return e[e.BUTTON=0]=`BUTTON`,e[e.DYNAMIC=1]=`DYNAMIC`,e[e.GIVING_FORM=2]=`GIVING_FORM`,e[e.SIGNUP_FORM=3]=`SIGNUP_FORM`,e[e.GOAL_BAR=4]=`GOAL_BAR`,e}(fs||{}),ps=e=>{class t extends e{constructor(...e){super(...e),this.analytics=ss.getGivebutterAnalytics(),this.componentType=null,this.account=d.getAccountId(),this.campaign=``,this.widgetId=``,this.embedUrl=``}shouldUpdate(e){let t=this.componentType===fs.DYNAMIC||this.componentType===fs.SIGNUP_FORM?[`account`,`id`]:[`account`,`campaign`];return us.checkRequiredProps(this,e,t)}}return K([G({type:String,attribute:`account`})],t.prototype,`account`,void 0),K([G({type:String,attribute:`campaign`})],t.prototype,`campaign`,void 0),K([G({type:String,attribute:`id`})],t.prototype,`widgetId`,void 0),K([G({type:String,attribute:`embed-url`})],t.prototype,`embedUrl`,void 0),t}})),hs,gs=t((()=>{vt(),ms(),vo(),hs=_o(ps(mt))})),_s,vs,ys=t((()=>{vs=class{},_s=vs,_s._boolean={fromAttribute:e=>e===`true`,toAttribute:e=>e?`true`:`false`}})),bs=r({GivebutterButton:()=>q}),xs,Ss,Cs,ws,Ts,q,Es=t((()=>{To(),vt(),po(),Oo(),Yo(),es(),ns(),gs(),ms(),ys(),ds(),yo(),xs=`z-[2147483598]`,Ss=function(e){return e.LINK=`link`,e.MODAL=`modal`,e}(Ss||{}),Cs=function(e){return e.GIFT=`gift`,e.GIVING_HANDS=`giving_hands`,e.HEART=`heart`,e.NONE=`none`,e.TICKET=`ticket`,e}(Cs||{}),ws=function(e){return e.LEFT=`left`,e.RIGHT=`right`,e}(ws||{}),Ts=function(e){return e.BOTTOM_LEFT=`bottom-left`,e.BOTTOM_RIGHT=`bottom-right`,e.MIDDLE_LEFT=`middle-left`,e.MIDDLE_RIGHT=`middle-right`,e.NONE=``,e.TOP_LEFT=`top-left`,e.TOP_RIGHT=`top-right`,e}(Ts||{}),q=class extends hs{constructor(){super(),this.isOpen=!1,this._embedUrl=``,this._type=Ss.MODAL,this._hideButton=!1,this._label=`Donate`,this._hideLabel=!1,this._labelColor=`#FFFFFF`,this._backgroundColor=`#3366FF`,this._icon=Cs.HEART,this._iconPosition=ws.LEFT,this._dropShadow=!0,this._borderRadius=100,this._borderColor=``,this._borderWidth=0,this._buttonClass=``,this._position=Ts.NONE,this._verticalOffset=25,this._horizontalOffset=25,this._buttonTransformShow=`scale(1)`,this._buttonTransformHide=`scale(0)`,this._maxWidth=`560px`,this.isEventTicketsFlow=!1,this.contentRef=Wo(),this.observer=new wo(this,{config:{childList:!0,subtree:!0},target:document.querySelector(`[data-overlay-outer-wrapper]`),callback:e=>{let t=e[0];t&&(this.isOpen=t.removedNodes.length<=0)}}),this.componentType=fs.BUTTON}set embedUrl(e){this._embedUrl=e}get embedUrl(){return this._embedUrl}set type(e){us.string(`type`,e,this._type,Object.values(Ss))&&(this._type=e)}get type(){return this._type}set hideButton(e){this._hideButton=e}get hideButton(){return this._hideButton}set label(e){this._label=e}get label(){return this._label}set hideLabel(e){this._hideLabel=e}get hideLabel(){return this._hideLabel}set labelColor(e){this._labelColor=e}get labelColor(){return this._labelColor}set backgroundColor(e){this._backgroundColor=e}get backgroundColor(){return this._backgroundColor}set icon(e){us.string(`icon`,e,this._icon,Object.values(Cs))&&(this._icon=e)}get icon(){return this._icon}set iconPosition(e){us.string(`icon-position`,e,this._iconPosition,Object.values(ws))&&(this._iconPosition=e)}get iconPosition(){return this._iconPosition}set dropShadow(e){this._dropShadow=e}get dropShadow(){return this._dropShadow}set borderRadius(e){us.number(`border-radius`,e,this._borderRadius)&&(this._borderRadius=e)}get borderRadius(){return this._borderRadius}set borderColor(e){this._borderColor=e}get borderColor(){return this._borderColor}set borderWidth(e){us.number(`border-width`,e,this._borderWidth)&&(this._borderWidth=e)}get borderWidth(){return this._borderWidth}set buttonClass(e){this._buttonClass=e}get buttonClass(){return this._buttonClass}set position(e){us.string(`position`,e,this._position,Object.values(Ts))&&(this._position=e)}get position(){return this._position}set verticalOffset(e){us.number(`vertical-offset`,e,this._verticalOffset)&&(this._verticalOffset=e)}get verticalOffset(){return this._verticalOffset}set horizontalOffset(e){us.number(`horizontal-offset`,e,this._horizontalOffset)&&(this._horizontalOffset=e)}get horizontalOffset(){return this._horizontalOffset}set buttonTransformShow(e){this._buttonTransformShow=e}get buttonTransformShow(){return this._buttonTransformShow}set buttonTransformHide(e){this._buttonTransformHide=e}get buttonTransformHide(){return this._buttonTransformHide}set maxWidth(e){this._maxWidth=e}get maxWidth(){return this._maxWidth}firstUpdated(){this.observer.observe(this.contentRef.value)}render(){let e=`${this.getDropShadowClass()} ${this.buttonClass} w-fit transition transform hover:scale-105 flex h-4 min-w-[3rem] cursor-pointer items-center justify-center gap-1.5 bg-transparent px-4 py-6 font-sans text-base font-semibold`;if(this.type===`link`){let t=`?source=widgets`;return this.widgetId.length>0&&(t+=`&gba_gb.element.id=${this.widgetId}`),H`
        <div class="${xs} ${this.getPosition()}">
          <a
            href="${`https://givebutter.com`}/c/${this.campaign}${t}"
            slot="trigger"
            data-testID="givebutter-button"
            class="${e}"
            aria-label="${this.label}"
            style=${Qo(this.getButtonStyles())}
          >
            ${this.renderLabel()}
          </a>
        </div>
      `}return H`
      <givebutter-dialog>
        <button
          slot="invoker"
          data-testID="givebutter-button"
          class="${e} ${xs} ${this.getPosition()}"
          role="button"
          aria-label="${this.label}"
          style=${Qo(this.getButtonStyles())}
        >
          ${this.renderLabel()}
        </button>
        <div ${qo(this.contentRef)} slot="content" role="dialog" aria-label="Campaign donation">
          ${this.isOpen?H`<givebutter-giving-form
                id="${this.widgetId}"
                max-width="${this.maxWidth}"
                account="${this.account}"
                campaign="${this.campaign}"
                embed-url="${Eo(this.getEmbedUrl())}"
                .isEventTicketsFlow="${this.isEventTicketsFlow}"
                closable
              ></givebutter-giving-form> `:``}
        </div>
      </givebutter-dialog>
    `}renderLabel(){return this.iconPosition===`left`?H`${this.showIcon()} ${this.showLabel()}`:H`${this.showLabel()} ${this.showIcon()}`}getButtonStyles(){return this.hideButton?{display:`none`,pointerEvents:`none`}:{color:this.labelColor,backgroundColor:this.backgroundColor,borderColor:this.borderColor,borderRadius:`${this.borderRadius}px`,borderWidth:`${this.borderWidth}px`}}showLabel(){return this.hideLabel||this.label.length===0?``:H`<span class="overflow-visible whitespace-nowrap transition-all duration-300"
          >${this.label}</span
        >`}showIcon(){return new ts(this.icon,this.labelColor).getSVG()}getDropShadowClass(){return this.dropShadow?`drop-shadow-md`:``}getPosition(){let e=this.position,t=[];e.length>0&&t.push(`fixed`);let[n,r]=e.toLowerCase().split(`-`);switch(n){case`top`:t.push(`top-4`);break;case`middle`:t.push(`top-1/2`),t.push(`translate-x-0`),t.push(`-translate-y-1/2`);break;case`bottom`:t.push(`bottom-4`);break}switch(r){case`left`:t.push(`left-4`);break;case`right`:t.push(`right-4`);break}return t.join(` `)}getEmbedUrl(){return this.embedUrl.length>0?this.embedUrl:void 0}},K([io()],q.prototype,`isOpen`,void 0),K([G({type:String,attribute:`embed-url`})],q.prototype,`embedUrl`,null),K([G({type:String,attribute:`type`})],q.prototype,`type`,null),K([G({type:Boolean,attribute:`hide-button`})],q.prototype,`hideButton`,null),K([G({type:String,attribute:`label`})],q.prototype,`label`,null),K([G({type:Boolean,attribute:`hide-label`})],q.prototype,`hideLabel`,null),K([G({type:String,attribute:`label-color`})],q.prototype,`labelColor`,null),K([G({type:String,attribute:`background-color`})],q.prototype,`backgroundColor`,null),K([G({type:String,attribute:`icon`})],q.prototype,`icon`,null),K([G({type:String,attribute:`icon-position`})],q.prototype,`iconPosition`,null),K([G({type:Boolean,attribute:`drop-shadow`,converter:vs._boolean})],q.prototype,`dropShadow`,null),K([G({type:Number,attribute:`border-radius`})],q.prototype,`borderRadius`,null),K([G({type:String,attribute:`border-color`})],q.prototype,`borderColor`,null),K([G({type:Number,attribute:`border-width`})],q.prototype,`borderWidth`,null),K([G({type:String,attribute:`button-class`})],q.prototype,`buttonClass`,null),K([G({type:String,attribute:`position`})],q.prototype,`position`,null),K([G({type:Number,attribute:`vertical-offset`})],q.prototype,`verticalOffset`,null),K([G({type:Number,attribute:`horizontal-offset`})],q.prototype,`horizontalOffset`,null),K([G({type:String,attribute:`button-transform-show`})],q.prototype,`buttonTransformShow`,null),K([G({type:String,attribute:`button-transform-hide`})],q.prototype,`buttonTransformHide`,null),K([G({type:String,attribute:`max-width`})],q.prototype,`maxWidth`,null),K([G({type:Boolean})],q.prototype,`isEventTicketsFlow`,void 0),q=K([$a(`givebutter-button`)],q)})),Ds=n(((e,t)=>{console.info(`
IFRAME-RESIZER

Iframe-Resizer 5 is now available via the following two packages:

 * @iframe-resizer/parent
 * @iframe-resizer/child

Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery.

Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.

Please see https://iframe-resizer.com/upgrade for more details.
`),(function(e){if(typeof window>`u`)return;var n=0,r,i=!1,a=!1,o=7,s=`[iFrameSizer]`,c=s.length,l=null,u=window.requestAnimationFrame,d=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),f={},p=null,m=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:`bodyOffset`,id:`iFrameResizer`,interval:32,license:`1jqr0si6pnt`,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:`parent`,scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:`scroll`,onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){w(`onMessage function not defined`)},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function h(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(e,t,n){e.addEventListener(t,n,!1)}function _(e,t,n){e.removeEventListener(t,n,!1)}function v(){var e=[`moz`,`webkit`,`o`,`ms`],t;for(t=0;t<e.length&&!u;t+=1)u=window[e[t]+`RequestAnimationFrame`];u?u=u.bind(window):S(`setup`,`RequestAnimationFrame not supported`)}function y(e){var t=`Host page: `+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+`: `+e:`Nested host page: `+e),t}function b(e){return s+`[`+y(e)+`]`}function x(e){return f[e]?f[e].log:i}function S(e,t){T(`log`,e,t,x(e))}function C(e,t){T(`info`,e,t,x(e))}function w(e,t){T(`warn`,e,t,!0)}function T(e,t,n,r){!0===r&&typeof window.console==`object`&&console[e](b(t),n)}function E(e){function t(){function e(){j(R),ne(z),F(`onResized`,R)}a(`Height`),a(`Width`),re(e,R,`init`)}function n(){var e=L.slice(c).split(`:`),t=e[1]?parseInt(e[1],10):0,n=f[e[0]]&&f[e[0]].iframe,a=getComputedStyle(n);return{iframe:n,id:e[0],height:t+r(a)+i(a),width:e[2],type:e[3]}}function r(e){return e.boxSizing===`border-box`?(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0):0}function i(e){return e.boxSizing===`border-box`?(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0):0}function a(e){var t=Number(f[z][`max`+e]),n=Number(f[z][`min`+e]),r=e.toLowerCase(),i=Number(R[r]);S(z,`Checking `+r+` is in range `+n+`-`+t),i<n&&(i=n,S(z,`Set `+r+` to min value`)),i>t&&(i=t,S(z,`Set `+r+` to max value`)),R[r]=``+i}function u(){function t(){function e(){var e=0,t=!1;for(S(z,`Checking connection is from allowed list of origins: `+r);e<r.length;e++)if(r[e]===n){t=!0;break}return t}function t(){var e=f[z]&&f[z].remoteHost;return S(z,`Checking connection is from: `+e),n===e}return r.constructor===Array?e():t()}var n=e.origin,r=f[z]&&f[z].checkOrigin;if(r&&``+n!=`null`&&!t())throw Error(`Unexpected message received from: `+n+` for `+R.iframe.id+`. Message was: `+e.data+`. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.`);return!0}function d(){return s===(``+L).slice(0,c)&&L.slice(c).split(`:`)[0]in f}function p(){var e=R.type in{true:1,false:1,undefined:1};return e&&S(z,`Ignoring init message from meta parent page`),e}function m(e){return L.slice(L.indexOf(`:`)+o+e)}function h(e){S(z,`onMessage passed: {iframe: `+R.iframe.id+`, message: `+e+`}`),F(`onMessage`,{iframe:R.iframe,message:JSON.parse(e)}),S(z,`--`)}function v(){var e=document.body.getBoundingClientRect(),t=R.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function y(e,t){function n(){ie(`Send Page Info`,`pageInfo:`+v(),e,t)}oe(n,32,t)}function b(){function e(e,n){function i(){f[r]?y(f[r].iframe,r):t()}[`scroll`,`resize`].forEach(function(t){S(r,e+t+` listener for sendPageInfo`),n(window,t,i)})}function t(){e(`Remove `,_)}function n(){e(`Add `,g)}var r=z;n(),f[r]&&(f[r].stopPageInfo=t)}function x(){f[z]&&f[z].stopPageInfo&&(f[z].stopPageInfo(),delete f[z].stopPageInfo)}function T(){var e=!0;return R.iframe===null&&(w(z,`IFrame (`+R.id+`) not found`),e=!1),e}function E(e){var t=e.getBoundingClientRect();return te(z),{x:Math.floor(Number(t.left)+Number(l.x)),y:Math.floor(Number(t.top)+Number(l.y))}}function O(e){function t(){l=a,ae(),S(z,`--`)}function n(){return{x:Number(R.width)+i.x,y:Number(R.height)+i.y}}function r(){window.parentIFrame?window.parentIFrame[`scrollTo`+(e?`Offset`:``)](a.x,a.y):w(z,`Unable to scroll to requested position, window.parentIFrame not found`)}var i=e?E(R.iframe):{x:0,y:0},a=n();S(z,`Reposition requested from iFrame (offset x:`+i.x+` y:`+i.y+`)`),window.top===window.self?t():r()}function ae(){!1===F(`onScroll`,l)?k():ne(z)}function N(e){function t(){var e=E(a);S(z,`Moving to in page link (#`+r+`) at x: `+e.x+` y: `+e.y),l={x:e.x,y:e.y},ae(),S(z,`--`)}function n(){window.parentIFrame?window.parentIFrame.moveToAnchor(r):S(z,`In page link #`+r+` not found and window.parentIFrame not found`)}var r=e.split(`#`)[1]||``,i=decodeURIComponent(r),a=document.getElementById(i)||document.getElementsByName(i)[0];a?t():window.top===window.self?S(z,`In page link #`+r+` not found`):n()}function P(e){var t={};if(Number(R.width)===0&&Number(R.height)===0){var n=m(9).split(`:`);t={x:n[1],y:n[0]}}else t={x:R.width,y:R.height};F(e,{iframe:R.iframe,screenX:Number(t.x),screenY:Number(t.y),type:R.type})}function F(e,t){return D(z,e,t)}function I(){switch(f[z]&&f[z].firstRun&&le(),R.type){case`close`:ee(R.iframe);break;case`message`:h(m(6));break;case`mouseenter`:P(`onMouseEnter`);break;case`mouseleave`:P(`onMouseLeave`);break;case`autoResize`:f[z].autoResize=JSON.parse(m(9));break;case`scrollTo`:O(!1);break;case`scrollToOffset`:O(!0);break;case`pageInfo`:y(f[z]&&f[z].iframe,z),b();break;case`pageInfoStop`:x();break;case`inPageLink`:N(m(9));break;case`reset`:A(R);break;case`init`:t(),F(`onInit`,R.iframe);break;default:Number(R.width)===0&&Number(R.height)===0?w(`Unsupported message received (`+R.type+`), this is likely due to the iframe containing a later version of iframe-resizer than the parent page`):t()}}function se(e){var t=!0;return f[e]||(t=!1,w(R.type+` No settings for `+e+`. Message was: `+L)),t}function ce(){for(var e in f)ie(`iFrame requested init`,M(e),f[e].iframe,e)}function le(){f[z]&&(f[z].firstRun=!1)}var L=e.data,R={},z=null;L===`[iFrameResizerChild]Ready`?ce():d()?(R=n(),z=R.id,f[z]&&(f[z].loaded=!0),!p()&&se(z)&&(S(z,`Received: `+L),T()&&u()&&I())):C(z,`Ignored: `+L)}function D(e,t,n){var r=null,i=null;if(f[e])if(r=f[e][t],typeof r==`function`)i=r(n);else throw TypeError(t+` on iFrame[`+e+`] is not a function`);return i}function O(e){var t=e.id;delete f[t]}function ee(e){var t=e.id;if(D(t,`onClose`,t)===!1){S(t,`Close iframe cancelled by onClose event`);return}S(t,`Removing iFrame: `+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){w(e)}D(t,`onClosed`,t),S(t,`--`),O(e),r&&(r.disconnect(),r=null)}function te(t){l===null&&(l={x:window.pageXOffset===e?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===e?document.documentElement.scrollTop:window.pageYOffset},S(t,`Get page position: `+l.x+`,`+l.y))}function ne(e){l!==null&&(window.scrollTo(l.x,l.y),S(e,`Set page position: `+l.x+`,`+l.y),k())}function k(){l=null}function A(e){function t(){j(e),ie(`reset`,`reset`,e.iframe,e.id)}S(e.id,`Size reset requested by `+(e.type===`init`?`host page`:`iFrame`)),te(e.id),re(t,e,`reset`)}function j(e){function t(t){if(!e.id){S(`undefined`,`messageData id not set`);return}e.iframe.style[t]=e[t]+`px`,S(e.id,`IFrame (`+i+`) `+t+` set to `+e[t]+`px`)}function n(t){!a&&e[t]===`0`&&(a=!0,S(i,`Hidden iFrame detected, creating visibility listener`),I())}function r(e){t(e),n(e)}var i=e.iframe.id;f[i]&&(f[i].sizeHeight&&r(`height`),f[i].sizeWidth&&r(`width`))}function re(e,t,n){n!==t.type&&u&&!window.jasmine?(S(t.id,`Requesting animation frame`),u(e)):e()}function ie(e,t,n,r,i){function a(){var i=f[r]&&f[r].targetOrigin;S(r,`[`+e+`] Sending msg to iframe[`+r+`] (`+t+`) targetOrigin: `+i),n.contentWindow.postMessage(s+t,i)}function o(){w(r,`[`+e+`] IFrame(`+r+`) not found`)}function c(){n&&`contentWindow`in n&&n.contentWindow!==null?a():o()}function l(){function e(){f[r]&&!f[r].loaded&&!u&&(u=!0,w(r,`IFrame has not responded within `+f[r].warningTimeout/1e3+` seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.`))}i&&f[r]&&f[r].warningTimeout&&(f[r].msgTimeout=setTimeout(e,f[r].warningTimeout))}var u=!1;r=r||n.id,f[r]&&(c(),l())}function M(e){return e+`:`+f[e].bodyMarginV1+`:`+f[e].sizeWidth+`:`+f[e].log+`:`+f[e].interval+`:`+f[e].enablePublicMethods+`:`+f[e].autoResize+`:`+f[e].bodyMargin+`:`+f[e].heightCalculationMethod+`:`+f[e].bodyBackground+`:`+f[e].bodyPadding+`:`+f[e].tolerance+`:`+f[e].inPageLinks+`:`+f[e].resizeFrom+`:`+f[e].widthCalculationMethod+`:`+f[e].mouseEvents}function ae(e){return typeof e==`number`}function N(t,a){function o(){function e(e){var n=f[D][e];n!==1/0&&n!==0&&(t.style[e]=ae(n)?n+`px`:n,S(D,`Set `+e+` = `+t.style[e]))}function n(e){if(f[D][`min`+e]>f[D][`max`+e])throw Error(`Value for min`+e+` can not be greater than max`+e)}n(`Height`),n(`Width`),e(`maxHeight`),e(`minHeight`),e(`maxWidth`),e(`minWidth`)}function s(){var e=a&&a.id||m.id+ n++;return document.getElementById(e)!==null&&(e+=n++),e}function c(e){if(typeof e!=`string`)throw TypeError(`Invaild id for iFrame. Expected String`);return e===``&&(t.id=e=s(),i=(a||{}).log,S(e,`Added missing iframe ID: `+e+` (`+t.src+`)`)),e}function l(){switch(S(D,`IFrame scrolling `+(f[D]&&f[D].scrolling?`enabled`:`disabled`)+` for `+D),t.style.overflow=!1===(f[D]&&f[D].scrolling)?`hidden`:`auto`,f[D]&&f[D].scrolling){case`omit`:break;case!0:t.scrolling=`yes`;break;case!1:t.scrolling=`no`;break;default:t.scrolling=f[D]?f[D].scrolling:`no`}}function u(){(typeof(f[D]&&f[D].bodyMargin)==`number`||(f[D]&&f[D].bodyMargin)===`0`)&&(f[D].bodyMarginV1=f[D].bodyMargin,f[D].bodyMargin=``+f[D].bodyMargin+`px`)}function p(){var e=f[D]&&f[D].firstRun,n=f[D]&&f[D].heightCalculationMethod in d;!e&&n&&A({iframe:t,height:0,width:0,type:`init`})}function _(){f[D]&&(f[D].iframe.iFrameResizer={close:ee.bind(null,f[D].iframe),removeListeners:O.bind(null,f[D].iframe),resize:ie.bind(null,`Window resize`,`resize`,f[D].iframe),moveToAnchor:function(e){ie(`Move to anchor`,`moveToAnchor:`+e,f[D].iframe,D)},sendMessage:function(e){e=JSON.stringify(e),ie(`Send Message`,`message:`+e,f[D].iframe,D)}})}function v(n){function i(){ie(`iFrame.onload`,n,t,e,!0),p()}function a(e){if(!t.parentNode)return null;var n=new e(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes).forEach(function(e){e===t&&ee(t)})})});return n.observe(t.parentNode,{childList:!0}),n}var o=h();o&&(r=a(o)),g(t,`load`,i),ie(`init`,n,t,e,!0)}function y(e){if(typeof e!=`object`)throw TypeError(`Options is not an object`)}function b(e){for(var t in m)Object.prototype.hasOwnProperty.call(m,t)&&(f[D][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:m[t])}function x(e){return e===``||e.match(/^(about:blank|javascript:|file:\/\/)/)!==null?`*`:e}function C(e){var t=e.split(`Callback`);if(t.length===2){var n=`on`+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],w(D,`Deprecated: '`+e+`' has been renamed '`+n+`'. The old method will be removed in the next major version.`)}}function T(e){e=e||{},f[D]=Object.create(null),f[D].iframe=t,f[D].firstRun=!0,f[D].remoteHost=t.src&&t.src.split(`/`).slice(0,3).join(`/`),y(e),Object.keys(e).forEach(C,e),b(e),f[D]&&(f[D].targetOrigin=!0===f[D].checkOrigin?x(f[D].remoteHost):`*`)}function E(){return D in f&&`iFrameResizer`in t}var D=c(t.id);E()?w(D,`Ignored iFrame, already setup.`):(T(a),l(),o(),u(),v(M(D)),_())}function P(e,t){p===null&&(p=setTimeout(function(){p=null,e()},t))}var F={};function oe(e,t,n){F[n]||(F[n]=setTimeout(function(){F[n]=null,e()},t))}function I(){function e(){function e(e){function t(t){return(f[e]&&f[e].iframe.style[t])===`0px`}function n(e){return e.offsetParent!==null}f[e]&&n(f[e].iframe)&&(t(`height`)||t(`width`))&&ie(`Visibility change`,`resize`,f[e].iframe,e)}Object.keys(f).forEach(function(t){e(t)})}function t(t){S(`window`,`Mutation observed: `+t[0].target+` `+t[0].type),P(e,16)}function n(){var e=document.querySelector(`body`);new r(t).observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}var r=h();r&&n()}function se(e){function t(){le(`Window `+e,`resize`)}S(`window`,`Trigger event: `+e),P(t,16)}function ce(){function e(){le(`Tab Visible`,`resize`)}document.visibilityState!==`hidden`&&(S(`document`,`Trigger event: Visibility change`),P(e,16))}function le(e,t){function n(e){return f[e]&&f[e].resizeFrom===`parent`&&f[e].autoResize&&!f[e].firstRun}Object.keys(f).forEach(function(r){n(r)&&ie(e,t,f[r].iframe,r)})}function L(){g(window,`message`,E),g(window,`resize`,function(){se(`resize`)}),g(document,`visibilitychange`,ce),g(document,`-webkit-visibilitychange`,ce)}function R(){function t(e,t){function n(){if(!t.tagName)throw TypeError(`Object is not a valid DOM element`);if(t.tagName.toUpperCase()!==`IFRAME`)throw TypeError(`Expected <IFRAME> tag, found <`+t.tagName+`>`)}t&&(n(),N(t,e),r.push(t))}function n(e){e&&e.enablePublicMethods&&w(`enablePublicMethods option has been removed, public methods are now always available in the iFrame`)}var r;return v(),L(),function(i,a){switch(r=[],n(i),typeof a){case`undefined`:case`string`:Array.prototype.forEach.call(document.querySelectorAll(a||`iframe`),t.bind(e,i));break;case`object`:t(i,a);break;default:throw TypeError(`Unexpected data type (`+typeof a+`)`)}return r}}function z(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(e){function t(t,n){N(n,e)}return this.filter(`iframe`).each(t).end()}):C(``,`Unable to bind to jQuery, it is not fully loaded.`)}window.jQuery!==e&&z(window.jQuery),typeof t==`object`&&typeof t.exports==`object`&&(t.exports=R()),window.iFrameResize=window.iFrameResize||R()})()})),Os=n(((e,t)=>{(function(e){if(typeof window>`u`)return;var n=!0,r=10,i=``,a=0,o=``,s=null,c=``,l=!1,u={resize:1,click:1},d=128,f=!0,p=1,m=`bodyOffset`,h=m,g=!0,_=``,v={},y=32,b=null,x=!1,S=!1,C=`[iFrameSizer]`,w=C.length,T=``,E={max:1,min:1,bodyScroll:1,documentElementScroll:1},D=`child`,O=!0,ee=window.parent,te=`*`,ne=0,k=!1,A=null,j=16,re=1,ie=`scroll`,M=ie,ae=window,N=function(){fe(`onMessage function not defined`)},P=function(){},F=function(){},oe={height:function(){return fe(`Custom height calculation function not defined`),document.documentElement.offsetHeight},width:function(){return fe(`Custom width calculation function not defined`),document.body.scrollWidth}},I={},se=!1;function ce(){}try{var le=Object.create({},{passive:{get:function(){se=!0}}});window.addEventListener(`test`,ce,le),window.removeEventListener(`test`,ce,le)}catch(e){}function L(e,t,n,r){e.addEventListener(t,n,se?r||{}:!1)}function R(e,t,n){e.removeEventListener(t,n,!1)}function z(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ue(e){var t,n,r,i=null,a=0,o=function(){a=Date.now(),i=null,r=e.apply(t,n),i||(t=n=null)};return function(){var s=Date.now();a||(a=s);var c=j-(s-a);return t=this,n=arguments,c<=0||c>j?(i&&(clearTimeout(i),i=null),a=s,r=e.apply(t,n),i||(t=n=null)):i||(i=setTimeout(o,c)),r}}function de(e){return C+`[`+T+`] `+e}function B(e){x&&typeof window.console==`object`&&console.log(de(e))}function fe(e){typeof window.console==`object`&&console.warn(de(e))}function pe(){me(),B(`Initialising iFrame (`+window.location.href+`)`),ge(),ye(),ve(`background`,i),ve(`padding`,c),Oe(),Ce(),we(),be(),je(),Ae(),Te(),v=ke(),Ge(`init`,`Init message from host page`),P()}function me(){function t(e){return e===`true`}var r=_.slice(w).split(`:`);T=r[0],a=e===r[1]?a:Number(r[1]),l=e===r[2]?l:t(r[2]),x=e===r[3]?x:t(r[3]),y=e===r[4]?y:Number(r[4]),n=e===r[6]?n:t(r[6]),o=r[7],h=e===r[8]?h:r[8],i=r[9],c=r[10],ne=e===r[11]?ne:Number(r[11]),v.enable=e===r[12]?!1:t(r[12]),D=e===r[13]?D:r[13],M=e===r[14]?M:r[14],S=e===r[15]?S:t(r[15])}function he(e){var t=e.split(`Callback`);if(t.length===2){var n=`on`+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],fe(`Deprecated: '`+e+`' has been renamed '`+n+`'. The old method will be removed in the next major version.`)}}function ge(){function e(){var e=window.iFrameResizer;B(`Reading data from page: `+JSON.stringify(e)),Object.keys(e).forEach(he,e),N=`onMessage`in e?e.onMessage:N,P=`onReady`in e?e.onReady:P,te=`targetOrigin`in e?e.targetOrigin:te,h=`heightCalculationMethod`in e?e.heightCalculationMethod:h,M=`widthCalculationMethod`in e?e.widthCalculationMethod:M}function t(e,t){return typeof e==`function`&&(B(`Setup custom `+t+`CalcMethod`),oe[t]=e,e=`custom`),e}`iFrameResizer`in window&&Object===window.iFrameResizer.constructor&&(e(),h=t(h,`height`),M=t(M,`width`)),B(`TargetOrigin for parent set to: `+te)}function _e(e,t){return t.indexOf(`-`)!==-1&&(fe(`Negative CSS value ignored for `+e),t=``),t}function ve(t,n){e!==n&&n!==``&&n!==`null`&&(document.body.style[t]=n,B(`Body `+t+` set to "`+n+`"`))}function ye(){e===o&&(o=a+`px`),ve(`margin`,_e(`margin`,o))}function be(){document.documentElement.style.height=``,document.body.style.height=``,B(`HTML & body height set to "auto"`)}function V(e){var t={add:function(t){function n(){Ge(e.eventName,e.eventType)}I[t]=n,L(window,t,n,{passive:!0})},remove:function(e){var t=I[e];delete I[e],R(window,e,t)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),B(z(e.method)+` event listener: `+e.eventType)}function xe(e){V({method:e,eventType:`Animation Start`,eventNames:[`animationstart`,`webkitAnimationStart`]}),V({method:e,eventType:`Animation Iteration`,eventNames:[`animationiteration`,`webkitAnimationIteration`]}),V({method:e,eventType:`Animation End`,eventNames:[`animationend`,`webkitAnimationEnd`]}),V({method:e,eventType:`Input`,eventName:`input`}),V({method:e,eventType:`Mouse Up`,eventName:`mouseup`}),V({method:e,eventType:`Mouse Down`,eventName:`mousedown`}),V({method:e,eventType:`Orientation Change`,eventName:`orientationchange`}),V({method:e,eventType:`Print`,eventNames:[`afterprint`,`beforeprint`]}),V({method:e,eventType:`Ready State Change`,eventName:`readystatechange`}),V({method:e,eventType:`Touch Start`,eventName:`touchstart`}),V({method:e,eventType:`Touch End`,eventName:`touchend`}),V({method:e,eventType:`Touch Cancel`,eventName:`touchcancel`}),V({method:e,eventType:`Transition Start`,eventNames:[`transitionstart`,`webkitTransitionStart`,`MSTransitionStart`,`oTransitionStart`,`otransitionstart`]}),V({method:e,eventType:`Transition Iteration`,eventNames:[`transitioniteration`,`webkitTransitionIteration`,`MSTransitionIteration`,`oTransitionIteration`,`otransitioniteration`]}),V({method:e,eventType:`Transition End`,eventNames:[`transitionend`,`webkitTransitionEnd`,`MSTransitionEnd`,`oTransitionEnd`,`otransitionend`]}),D===`child`&&V({method:e,eventType:`IFrame Resized`,eventName:`resize`})}function Se(e,t,n,r){return t!==e&&(e in n||(fe(e+` is not a valid option for `+r+`CalculationMethod.`),e=t),B(r+` calculation method set to "`+e+`"`)),e}function Ce(){h=Se(h,m,Ve,`height`)}function we(){M=Se(M,ie,He,`width`)}function Te(){!0===n?(xe(`add`),Pe()):B(`Auto Resize disabled`)}function Ee(){s!==null&&s.disconnect()}function De(){xe(`remove`),Ee(),clearInterval(b)}function Oe(){var e=document.createElement(`div`);e.style.clear=`both`,e.style.display=`block`,e.style.height=`0`,document.body.appendChild(e)}function ke(){function t(){return{x:window.pageXOffset===e?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===e?document.documentElement.scrollTop:window.pageYOffset}}function n(e){var n=e.getBoundingClientRect(),r=t();return{x:parseInt(n.left,10)+parseInt(r.x,10),y:parseInt(n.top,10)+parseInt(r.y,10)}}function r(t){function r(e){var t=n(e);B(`Moving to in page link (#`+i+`) at x: `+t.x+` y: `+t.y),H(t.y,t.x,`scrollToOffset`)}var i=t.split(`#`)[1]||t,a=decodeURIComponent(i),o=document.getElementById(a)||document.getElementsByName(a)[0];e===o?(B(`In page link (#`+i+`) not found in iFrame, so sending to parent`),H(0,0,`inPageLink`,`#`+i)):r(o)}function i(){var e=window.location.hash,t=window.location.href;e!==``&&e!==`#`&&r(t)}function a(){function e(e){function t(e){e.preventDefault(),r(this.getAttribute(`href`))}e.getAttribute(`href`)!==`#`&&L(e,`click`,t)}Array.prototype.forEach.call(document.querySelectorAll(`a[href^="#"]`),e)}function o(){L(window,`hashchange`,i)}function s(){setTimeout(i,d)}function c(){Array.prototype.forEach&&document.querySelectorAll?(B(`Setting up location.hash handlers`),a(),o(),s()):fe(`In page linking not fully supported in this browser! (See README.md for IE8 workaround)`)}return v.enable?c():B(`In page linking not enabled`),{findTarget:r}}function Ae(){if(S!==!0)return;function e(e){H(0,0,e.type,e.screenY+`:`+e.screenX)}function t(t,n){B(`Add event listener: `+n),L(window.document,t,e)}t(`mouseenter`,`Mouse Enter`),t(`mouseleave`,`Mouse Leave`)}function je(){B(`Enable public methods`),ae.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,Te()):!1===e&&!0===n&&(n=!1,De()),H(0,0,`autoResize`,JSON.stringify(n)),n},close:function(){H(0,0,`close`)},getId:function(){return T},getPageInfo:function(e){typeof e==`function`?(F=e,H(0,0,`pageInfo`)):(F=function(){},H(0,0,`pageInfoStop`))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){Je(`parentIFrame.reset`)},scrollTo:function(e,t){H(t,e,`scrollTo`)},scrollToOffset:function(e,t){H(t,e,`scrollToOffset`)},sendMessage:function(e,t){H(0,0,`message`,JSON.stringify(e),t)},setHeightCalculationMethod:function(e){h=e,Ce()},setWidthCalculationMethod:function(e){M=e,we()},setTargetOrigin:function(e){B(`Set targetOrigin: `+e),te=e},size:function(e,t){Ge(`size`,`parentIFrame.size(`+(``+(e||``)+(t?`,`+t:``))+`)`,e,t)}}}function Me(){y!==0&&(B(`setInterval: `+y+`ms`),b=setInterval(function(){Ge(`interval`,`setInterval: `+y)},Math.abs(y)))}function Ne(){function e(e){function t(e){!1===e.complete&&(B(`Attach listeners to `+e.src),e.addEventListener(`load`,i,!1),e.addEventListener(`error`,a,!1),c.push(e))}e.type===`attributes`&&e.attributeName===`src`?t(e.target):e.type===`childList`&&Array.prototype.forEach.call(e.target.querySelectorAll(`img`),t)}function t(e){c.splice(c.indexOf(e),1)}function n(e){B(`Remove listeners from `+e.src),e.removeEventListener(`load`,i,!1),e.removeEventListener(`error`,a,!1),t(e)}function r(e,t,r){n(e.target),Ge(t,r+`: `+e.target.src)}function i(e){r(e,`imageLoad`,`Image loaded`)}function a(e){r(e,`imageLoadFailed`,`Image load failed`)}function o(t){Ge(`mutationObserver`,`mutationObserver: `+t[0].target+` `+t[0].type),t.forEach(e)}function s(){var e=document.querySelector(`body`);return u=new l(o),B(`Create body MutationObserver`),u.observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),u}var c=[],l=window.MutationObserver||window.WebKitMutationObserver,u=s();return{disconnect:function(){`disconnect`in u&&(B(`Disconnect body MutationObserver`),u.disconnect(),c.forEach(n))}}}function Pe(){var e=0>y;window.MutationObserver||window.WebKitMutationObserver?e?Me():s=Ne():(B(`MutationObserver not supported in this browser!`),Me())}function Fe(e,t){var n=0;return t=t||document.body,n=document.defaultView.getComputedStyle(t,null),n=n===null?0:n[e],parseInt(n,r)}function Ie(e){e>j/2&&(j=2*e,B(`Event throttle increased to `+j+`ms`))}function Le(e,t){for(var n=t.length,r=0,i=0,a=z(e),o=Date.now(),s=0;s<n;s++)r=t[s].getBoundingClientRect()[e]+Fe(`margin`+a,t[s]),r>i&&(i=r);return o=Date.now()-o,B(`Parsed `+n+` HTML elements`),B(`Element position calculated in `+o+`ms`),Ie(o),i}function Re(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ze(e,t){function n(){return fe(`No tagged elements (`+t+`) found on page`),document.querySelectorAll(`body *`)}var r=document.querySelectorAll(`[`+t+`]`);return r.length===0&&n(),Le(e,r)}function Be(){return document.querySelectorAll(`body *`)}var Ve={bodyOffset:function(){return document.body.offsetHeight+Fe(`marginTop`)+Fe(`marginBottom`)},offset:function(){return Ve.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return oe.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,Re(Ve))},min:function(){return Math.min.apply(null,Re(Ve))},grow:function(){return Ve.max()},lowestElement:function(){return Math.max(Ve.bodyOffset()||Ve.documentElementOffset(),Le(`bottom`,Be()))},taggedElement:function(){return ze(`bottom`,`data-iframe-height`)}},He={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return oe.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(He.bodyScroll(),He.documentElementScroll())},max:function(){return Math.max.apply(null,Re(He))},min:function(){return Math.min.apply(null,Re(He))},rightMostElement:function(){return Le(`right`,Be())},taggedElement:function(){return ze(`right`,`data-iframe-width`)}};function Ue(t,n,r,i){function a(){p=f,re=m,H(p,re,t)}function o(){function t(e,t){return!(Math.abs(e-t)<=ne)}return f=e===r?Ve[h]():r,m=e===i?He[M]():i,t(p,f)||l&&t(re,m)}function s(){return!(t in{init:1,interval:1,size:1})}function c(){return h in E||l&&M in E}function u(){B(`No change in size detected`)}function d(){s()&&c()?Je(n):t in{interval:1}||u()}var f,m;o()||t===`init`?(Ke(),a()):d()}var We=ue(Ue);function Ge(e,t,n,r){function i(){e in{reset:1,resetPage:1,init:1}||B(`Trigger event: `+t)}function a(){return k&&e in u}a()?B(`Trigger event cancelled: `+e):(i(),e===`init`?Ue(e,t,n,r):We(e,t,n,r))}function Ke(){k||(k=!0,B(`Trigger event lock on`)),clearTimeout(A),A=setTimeout(function(){k=!1,B(`Trigger event lock off`),B(`--`)},d)}function qe(e){p=Ve[h](),re=He[M](),H(p,re,e)}function Je(e){var t=h;h=m,B(`Reset trigger event: `+e),Ke(),qe(`reset`),h=t}function H(t,n,r,i,a){function o(){e===a?a=te:B(`Message targetOrigin: `+a)}function s(){var o=t+`:`+n,s=T+`:`+o+`:`+r+(e===i?``:`:`+i);B(`Sending message to host page (`+s+`)`),ee.postMessage(C+s,a)}!0===O&&(o(),s())}function Ye(n){var r={init:function(){_=n.data,ee=n.source,pe(),f=!1,setTimeout(function(){g=!1},d)},reset:function(){g?B(`Page reset ignored by init`):(B(`Page size reset by host page`),qe(`resetPage`))},resize:function(){Ge(`resizeParent`,`Parent window requested size check`)},moveToAnchor:function(){v.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=o();B(`PageInfoFromParent called from parent: `+e),F(JSON.parse(e)),B(` --`)},message:function(){var e=o();B(`onMessage called from parent: `+e),N(JSON.parse(e)),B(` --`)}};function i(){return C===(``+n.data).slice(0,w)}function a(){return n.data.split(`]`)[1].split(`:`)[0]}function o(){return n.data.slice(n.data.indexOf(`:`)+1)}function s(){return!(t!==void 0&&t.exports)&&`iFrameResize`in window||window.jQuery!==e&&`iFrameResize`in window.jQuery.prototype}function c(){return n.data.split(`:`)[2]in{true:1,false:1}}function l(){var e=a();e in r?r[e]():!s()&&!c()&&fe(`Unexpected message (`+n.data+`)`)}function u(){!1===f?l():c()?r.init():B(`Ignored message of type "`+a()+`". Received before initialization.`)}i()&&u()}function U(){document.readyState!==`loading`&&window.parent.postMessage(`[iFrameResizerChild]Ready`,`*`)}`iframeResizer`in window||(window.iframeChildListener=function(e){Ye({data:e,sameDomian:!0})},L(window,`message`,Ye),L(window,`readystatechange`,U),U())})()})),ks=n(((e,t)=>{var n=Ds();t.exports={iframeResize:n,iframeResizer:n,contentWindow:Os()}})),As,js,Ms,Ns,Ps,Fs,Is,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,J,cc,lc,uc,dc,fc,pc,mc,hc,gc,Y,_c,vc,yc,bc,xc,Sc,Cc,wc,Tc,Ec,X,Dc,Oc,kc,Ac,jc,Z,Mc,Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Wc,Gc,Kc,qc,Jc,Yc=t((()=>{Cn(),As=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},js=(e,t)=>({classGroupId:e,validator:t}),Ms=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ns=`-`,Ps=[],Fs=`arbitrary..`,Is=e=>{let t=zs(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Rs(e);let n=e.split(Ns);return Ls(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?As(i,t):t:i||Ps}return n[e]||Ps}}},Ls=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Ls(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Ns):e.slice(t).join(Ns),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Rs=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Fs+r:void 0})(),zs=e=>{let{theme:t,classGroups:n}=e;return Bs(n,t)},Bs=(e,t)=>{let n=Ms();for(let r in e){let i=e[r];Vs(i,n,r,t)}return n},Vs=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Hs(i,t,n,r)}},Hs=(e,t,n,r)=>{if(typeof e==`string`){Us(e,t,n);return}if(typeof e==`function`){Ws(e,t,n,r);return}Gs(e,t,n,r)},Us=(e,t,n)=>{let r=e===``?t:Ks(t,e);r.classGroupId=n},Ws=(e,t,n,r)=>{if(qs(e)){Vs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(js(n,e))},Gs=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Vs(o,Ks(t,a),n,r)}},Ks=(e,t)=>{let n=e,r=t.split(Ns),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Ms(),n.nextPart.set(t,i)),n=i}return n},qs=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Js=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Ys=`!`,Xs=`:`,Zs=[],Qs=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),$s=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Xs){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Ys)?(c=s.slice(0,-1),l=!0):s.startsWith(Ys)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Qs(t,l,c,u)};if(t){let e=t+Xs,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Qs(Zs,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},ec=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},tc=e=>W({cache:Js(e.cacheSize),parseClassName:$s(e),sortModifiers:ec(e)},Is(e)),nc=/\s+/,rc=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(nc),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+Ys:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},ic=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=ac(n))&&(i&&(i+=` `),i+=r);return i},ac=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=ac(e[r]))&&(n&&(n+=` `),n+=t);return n},oc=(e,...t)=>{let n,r,i,a,o=o=>(n=tc(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=rc(e,n);return i(e,a),a};return a=o,(...e)=>a(ic(...e))},sc=[],J=e=>{let t=t=>t[e]||sc;return t.isThemeGetter=!0,t},cc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,uc=/^\d+\/\d+$/,dc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fc=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pc=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,mc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,hc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gc=e=>uc.test(e),Y=e=>!!e&&!Number.isNaN(Number(e)),_c=e=>!!e&&Number.isInteger(Number(e)),vc=e=>e.endsWith(`%`)&&Y(e.slice(0,-1)),yc=e=>dc.test(e),bc=()=>!0,xc=e=>fc.test(e)&&!pc.test(e),Sc=()=>!1,Cc=e=>mc.test(e),wc=e=>hc.test(e),Tc=e=>!X(e)&&!Z(e),Ec=e=>Rc(e,Hc,Sc),X=e=>cc.test(e),Dc=e=>Rc(e,Uc,xc),Oc=e=>Rc(e,Wc,Y),kc=e=>Rc(e,Bc,Sc),Ac=e=>Rc(e,Vc,wc),jc=e=>Rc(e,Kc,Cc),Z=e=>lc.test(e),Mc=e=>zc(e,Uc),Nc=e=>zc(e,Gc),Pc=e=>zc(e,Bc),Fc=e=>zc(e,Hc),Ic=e=>zc(e,Vc),Lc=e=>zc(e,Kc,!0),Rc=(e,t,n)=>{let r=cc.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},zc=(e,t,n=!1)=>{let r=lc.exec(e);return r?r[1]?t(r[1]):n:!1},Bc=e=>e===`position`||e===`percentage`,Vc=e=>e===`image`||e===`url`,Hc=e=>e===`length`||e===`size`||e===`bg-size`,Uc=e=>e===`length`,Wc=e=>e===`number`,Gc=e=>e===`family-name`,Kc=e=>e===`shadow`,qc=()=>{let e=J(`color`),t=J(`font`),n=J(`text`),r=J(`font-weight`),i=J(`tracking`),a=J(`leading`),o=J(`breakpoint`),s=J(`container`),c=J(`spacing`),l=J(`radius`),u=J(`shadow`),d=J(`inset-shadow`),f=J(`text-shadow`),p=J(`drop-shadow`),m=J(`blur`),h=J(`perspective`),g=J(`aspect`),_=J(`ease`),v=J(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Z,X],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Z,X,c],T=()=>[gc,`full`,`auto`,...w()],E=()=>[_c,`none`,`subgrid`,Z,X],D=()=>[`auto`,{span:[`full`,_c,Z,X]},_c,Z,X],O=()=>[_c,`auto`,Z,X],ee=()=>[`auto`,`min`,`max`,`fr`,Z,X],te=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],ne=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],k=()=>[`auto`,...w()],A=()=>[gc,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[e,Z,X],re=()=>[...b(),Pc,kc,{position:[Z,X]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],M=()=>[`auto`,`cover`,`contain`,Fc,Ec,{size:[Z,X]}],ae=()=>[vc,Mc,Dc],N=()=>[``,`none`,`full`,l,Z,X],P=()=>[``,Y,Mc,Dc],F=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],I=()=>[Y,vc,Pc,kc],se=()=>[``,`none`,m,Z,X],ce=()=>[`none`,Y,Z,X],le=()=>[`none`,Y,Z,X],L=()=>[Y,Z,X],R=()=>[gc,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[yc],breakpoint:[yc],color:[bc],container:[yc],"drop-shadow":[yc],ease:[`in`,`out`,`in-out`],font:[Tc],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[yc],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[yc],shadow:[yc],spacing:[`px`,Y],text:[yc],"text-shadow":[yc],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,gc,X,Z,g]}],container:[`container`],columns:[{columns:[Y,X,Z,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[_c,`auto`,Z,X]}],basis:[{basis:[gc,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Y,gc,`auto`,`initial`,`none`,X]}],grow:[{grow:[``,Y,Z,X]}],shrink:[{shrink:[``,Y,Z,X]}],order:[{order:[_c,`first`,`last`,`none`,Z,X]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...te(),`normal`]}],"justify-items":[{"justify-items":[...ne(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...ne()]}],"align-content":[{content:[`normal`,...te()]}],"align-items":[{items:[...ne(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...ne(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":te()}],"place-items":[{"place-items":[...ne(),`baseline`]}],"place-self":[{"place-self":[`auto`,...ne()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:A()}],w:[{w:[s,`screen`,...A()]}],"min-w":[{"min-w":[s,`screen`,`none`,...A()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...A()]}],h:[{h:[`screen`,`lh`,...A()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...A()]}],"max-h":[{"max-h":[`screen`,`lh`,...A()]}],"font-size":[{text:[`base`,n,Mc,Dc]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Z,Oc]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,vc,X]}],"font-family":[{font:[Nc,X,t]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Z,X]}],"line-clamp":[{"line-clamp":[Y,`none`,Z,Oc]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Z,X]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Z,X]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...F(),`wavy`]}],"text-decoration-thickness":[{decoration:[Y,`from-font`,`auto`,Z,Dc]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[Y,`auto`,Z,X]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Z,X]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Z,X]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:M()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},_c,Z,X],radial:[``,Z,X],conic:[_c,Z,X]},Ic,Ac]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":P()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...F(),`hidden`,`none`]}],"divide-style":[{divide:[...F(),`hidden`,`none`]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...F(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Y,Z,X]}],"outline-w":[{outline:[``,Y,Mc,Dc]}],"outline-color":[{outline:j()}],shadow:[{shadow:[``,`none`,u,Lc,jc]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":[`none`,d,Lc,jc]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:P()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[Y,Dc]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":[`none`,f,Lc,jc]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[Y,Z,X]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[Y]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[Z,X]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[Y]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Z,X]}],filter:[{filter:[``,`none`,Z,X]}],blur:[{blur:se()}],brightness:[{brightness:[Y,Z,X]}],contrast:[{contrast:[Y,Z,X]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Lc,jc]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:[``,Y,Z,X]}],"hue-rotate":[{"hue-rotate":[Y,Z,X]}],invert:[{invert:[``,Y,Z,X]}],saturate:[{saturate:[Y,Z,X]}],sepia:[{sepia:[``,Y,Z,X]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Z,X]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[Y,Z,X]}],"backdrop-contrast":[{"backdrop-contrast":[Y,Z,X]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Y,Z,X]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Y,Z,X]}],"backdrop-invert":[{"backdrop-invert":[``,Y,Z,X]}],"backdrop-opacity":[{"backdrop-opacity":[Y,Z,X]}],"backdrop-saturate":[{"backdrop-saturate":[Y,Z,X]}],"backdrop-sepia":[{"backdrop-sepia":[``,Y,Z,X]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Z,X]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Y,`initial`,Z,X]}],ease:[{ease:[`linear`,`initial`,_,Z,X]}],delay:[{delay:[Y,Z,X]}],animate:[{animate:[`none`,v,Z,X]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Z,X]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ce()}],"rotate-x":[{"rotate-x":ce()}],"rotate-y":[{"rotate-y":ce()}],"rotate-z":[{"rotate-z":ce()}],scale:[{scale:le()}],"scale-x":[{"scale-x":le()}],"scale-y":[{"scale-y":le()}],"scale-z":[{"scale-z":le()}],"scale-3d":[`scale-3d`],skew:[{skew:L()}],"skew-x":[{"skew-x":L()}],"skew-y":[{"skew-y":L()}],transform:[{transform:[Z,X,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:R()}],"translate-x":[{"translate-x":R()}],"translate-y":[{"translate-y":R()}],"translate-z":[{"translate-z":R()}],"translate-none":[`translate-none`],accent:[{accent:j()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Z,X]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Z,X]}],fill:[{fill:[`none`,...j()]}],"stroke-w":[{stroke:[Y,Mc,Dc,Oc]}],stroke:[{stroke:[`none`,...j()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},Jc=oc(qc)})),Xc=r({GivebutterIframe:()=>Qc}),Zc,Qc,$c=t((()=>{Zc=ks(),vt(),po(),Yo(),es(),Yc(),vo(),ys(),yo(),Qc=class extends _o(mt){constructor(...e){super(...e),this.isLoading=!0,this.src=``,this.overrideIsLoading=!1,this.showPoweredByGivebutter=!0,this.showBorder=!0,this.closable=!1,this.maxWidth=`560px`,this.maxHeight=``,this.iframeClass=``,this.footerClass=``}resizeIframe(){var e;(e=this.iframe)==null||(e=e.iFrameResizer)==null||e.resize()}willUpdate(e){if(!this.overrideIsLoading){var t;this.isLoading=!1,(t=this.iframe)==null||(t=t.iFrameResizer)==null||t.resize()}}render(){return this.error?this.renderError():H`
      <div
        style=${Qo({maxWidth:this.maxWidth})}
        class="${this.isLoading?``:`hidden`} ${this.iframeClass} flex w-full flex-grow items-center justify-center p-20"
      >
        <svg
          aria-hidden="true"
          class="mr-2 h-7 w-7 animate-spin fill-blue-500 text-gray-200 dark:text-gray-600"
          viewBox="0 0 100 101"
          fill="none"
          xmlns="http://www.w3.org/2000/svg"
        >
          <path
            d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"
            fill="currentColor"
          />
          <path
            d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"
            fill="currentFill"
          />
        </svg>
      </div>
      <iframe
        ${qo(this.iframeChanged)}
        name="givebutter"
        title="givebutter-iframe"
        class="${this.getIframeClass()}"
        style=${Qo(this.getIframeStyles())}
        src="${this.src}"
        allowpaymentrequest="true"
        allow="payment"
      ></iframe>
      ${this.renderPoweredByGivebutter()}
    `}renderPoweredByGivebutter(){return this.showPoweredByGivebutter?H`
      <div
        class="${this.showBorder?`rounded-b-2xl border border-t-0 border-gray-300`:`border-t border-gray-100`} ${this.isLoading?`hidden`:this.footerClass} flex w-full items-center justify-center bg-gray-100 py-3 text-center"
        style=${Qo({maxWidth:this.maxWidth})}
      >
        <a
          class="!text-gray-900 !no-underline"
          href="https://givebutter.com"
          target="_blank"
          rel="noopener noreferrer"
        >
          <img
            class="block"
            alt="Powered by Givebutter"
            width="182"
            height="18"
            src="https://givebutter.com/assets/brand/givebutter/Powered/Givebutter_H_Text.svg"
            draggable="false"
          />
        </a>
      </div>
    `:``}iframeChanged(e){e&&(this.iframe=e,setTimeout(()=>(0,Zc.iframeResizer)({checkOrigin:!1,scrolling:this.closable||this.maxHeight.length>0?`auto`:!1,initCallback:()=>{this.overrideIsLoading||(this.isLoading=!1)},closedCallback:()=>{this.isLoading=!1}},e),0))}getIframeClass(){return Jc(`w-full bg-white`,this.isLoading&&`hidden`,this.showBorder&&`border border-gray-300 rounded-t-2xl`,this.showBorder&&!this.showPoweredByGivebutter&&`rounded-b-2xl`,this.showBorder&&this.showPoweredByGivebutter&&`border-b-gray-100`,this.iframeClass)}getIframeStyles(){return{maxWidth:this.maxWidth,maxHeight:this.maxHeight}}renderError(){return H`
      <div class="relative w-[400px] rounded-md bg-white p-12 text-center font-sans">
        <button
          aria-label="close"
          onclick="window.postMessage('close-givebutter-modal')"
          class="absolute right-0 top-0 mr-4 mt-4 rounded-md p-2 focus:outline-none"
        >
          <svg class="h-5 w-5 text-gray-500" fill="currentColor" viewBox="-2 -2 24 24">
            <path
              fill-rule="evenodd"
              d="M13.414 6l5.293-5.293a1 1 0 1 0-1.414-1.414L12 4.586 6.707-.707a1 1 0 1 0-1.414 1.414L10.586 6l-5.293 5.293a1 1 0 1 0 1.414 1.414L12 7.414l5.293 5.293a1 1 0 1 0 1.414-1.414L13.414 6z"
              clip-rule="evenodd"
            />
          </svg>
        </button>
        <div class="mb-2 inline-flex items-center">
          <img
            height="40px"
            alt="Warning"
            src="https://givebuttercdn.com/widgets/icons/warning-icon.svg"
          />
        </div>
        <div class="mb-10 text-lg">
          <strong>Uh-oh!</strong>
        </div>
        <div class="mb-10">
          <p class="mb-3">There was an error loading this widget.</p>
          <p>
            Please check your widget<br />
            configuration.
          </p>
        </div>
        <div class="mb-10">
          <a
            class="inline-flex items-center text-blue-600"
            href="https://givebutter.com/contact"
            target="_blank"
          >
            Contact Support
            <img
              height="25px"
              alt="Arrow symbol"
              src="https://givebuttercdn.com/widgets/icons/arrow-right-blue.svg"
            />
          </a>
        </div>
        <div class="flex flex-col items-center gap-[1rem]">
          <img
            height="20px"
            alt="Givebutter logo"
            src="https://givebuttercdn.com/widgets/icons/gb-logo-square.svg"
          />
          <img
            height="15px"
            alt="Powered by Givebutter"
            src="https://givebuttercdn.com/widgets/icons/powered-by-givebutter.svg"
          />
        </div>
      </div>
    `}},K([io()],Qc.prototype,`isLoading`,void 0),K([G({type:String})],Qc.prototype,`src`,void 0),K([G({type:Boolean,converter:vs._boolean})],Qc.prototype,`overrideIsLoading`,void 0),K([G({type:Boolean,converter:vs._boolean})],Qc.prototype,`showPoweredByGivebutter`,void 0),K([G({type:Boolean,converter:vs._boolean})],Qc.prototype,`showBorder`,void 0),K([G({type:String})],Qc.prototype,`error`,void 0),K([G({type:Boolean,converter:vs._boolean})],Qc.prototype,`closable`,void 0),K([G({type:String,attribute:`max-width`})],Qc.prototype,`maxWidth`,void 0),K([G({type:String,attribute:`max-height`})],Qc.prototype,`maxHeight`,void 0),K([G({type:String,attribute:`iframe-class`})],Qc.prototype,`iframeClass`,void 0),K([G({type:String,attribute:`footer-class`})],Qc.prototype,`footerClass`,void 0),Qc=K([$a(`givebutter-iframe`)],Qc)})),el,tl,nl,rl=t((()=>{el=function(e){return e.CHANNEL_SETTINGS=`channel-settings`,e.BUTTON_SETTINGS=`button-settings`,e}({}),tl=function(e){return e.FORM_LOADED=`givebutter-form-loaded`,e.CLOSE_MODAL=`close-givebutter-modal`,e.DONATION_BUTTON_CLOSE=`donation.button.close`,e.DONATION_BUTTON_NEXT=`donation.button.next`,e.DONATION_BUTTON_BACK=`donation.button.back`,e.DONATION_GO_TO_STEP=`donation.go.to.step`,e.PLAID_OPEN=`plaid.open`,e.PLAID_CLOSE=`plaid.close`,e}({}),nl=function(e){return e.CLOSE_OVERLAY=`close-overlay`,e}({})})),il,al,ol=t((()=>{h(),il=300*1e3,al=class{constructor({host:e,queryFn:t,cacheTime:n=il,retryCount:r=3,onSuccess:i,onError:a,shouldStopInterval:o}){this.host=e,this.queryFn=t,this.cacheTime=n,this.intervalId=null,this.retryCount=r,this.handleWindowFocus=this.handleWindowFocus.bind(this),this.host.addController(this),this.onSuccess=i,this.onError=a,this.shouldStopInterval=o}hostConnected(){var e=this;return m(function*(){yield e.fetchData(),e.setRefetchInterval(),window.addEventListener(`focus`,e.handleWindowFocus)})()}hostDisconnected(){this.stopInterval(),window.removeEventListener(`focus`,this.handleWindowFocus)}fetchData(){var e=this;return m(function*(t=this.retryCount){try{var n,r;e.data=yield e.queryFn(),e.error=void 0,(n=e.onSuccess)==null||n.call(e,e.data),(r=e.shouldStopInterval)!=null&&r.call(e,e.data)&&e.stopInterval()}catch(n){var i;if(e.shouldRetry(n==null||(i=n.response)==null?void 0:i.status)&&t>0)yield e.fetchData(t-1);else{var a,o,s;e.error=(a=n==null?void 0:n.message)==null?`Something went wrong.`:a,e.stopInterval(),(o=e.onError)==null||o.call(e,(s=e.error)==null?`Unknown error occurred`:s)}}finally{e.host.requestUpdate()}}).apply(this,arguments)}setRefetchInterval(){var e=this;this.intervalId=setInterval(m(function*(){yield e.fetchData()}),this.cacheTime)}handleWindowFocus(){var e=this;return m(function*(){yield e.fetchData()})()}stopInterval(){this.intervalId!==null&&clearInterval(this.intervalId)}shouldRetry(e){return e!==404&&e!==422}}})),sl=r({GivebutterGivingForm:()=>cl}),cl,ll=t((()=>{vt(),po(),Oo(),Yo(),Yc(),rl(),ol(),gs(),ms(),vo(),O(),ys(),s(),yo(),cl=class extends _o(hs){constructor(){super(),this.isLoading=!0,this.themeColor=``,this.maxWidth=``,this.maxHeight=``,this.closable=!1,this.showGoalBar=!1,this.iframeClass=``,this.footerClass=``,this.isEventTicketsFlow=!1,this.receiveMessageEvent=e=>{var t;let n=e.data.event||e.data,r=(t=this.iframe)==null||(t=t.shadowRoot)==null?void 0:t.querySelector(`iframe`);if(r){if(n===tl.PLAID_OPEN){var i;r.classList.add(`max-h-[90vh]`,`max-h-[90svh]`),(i=this.iframe)==null||i.resizeIframe();return}if(n===tl.PLAID_CLOSE){var a;r.classList.remove(`max-h-[90vh]`,`max-h-[90svh]`),(a=this.iframe)==null||a.resizeIframe();return}}if(n===tl.DONATION_BUTTON_CLOSE||n===tl.CLOSE_MODAL){var o;(o=this.shadowRoot)==null||o.dispatchEvent(new Event(nl.CLOSE_OVERLAY,{bubbles:!0,composed:!0}));return}if(this.iframe&&n===tl.FORM_LOADED){this.isLoading=!1;return}this.iframe&&(r==null?void 0:r.contentWindow)===e.source&&[tl.DONATION_BUTTON_NEXT,tl.DONATION_BUTTON_BACK,tl.DONATION_GO_TO_STEP].includes(e.data.event)&&this.iframe.getBoundingClientRect().top<0&&this.iframe.scrollIntoView({behavior:`smooth`,block:`start`,inline:`nearest`})},this.componentType=fs.GIVING_FORM}connectedCallback(){super.connectedCallback(),this.embedUrl.length===0&&(this.dataController=new al({host:this,queryFn:()=>x(this.account,this.campaign)})),window.addEventListener(`message`,this.receiveMessageEvent)}disconnectedCallback(){window.removeEventListener(`message`,this.receiveMessageEvent),super.disconnectedCallback()}willUpdate(e){if(this.embedUrl.length===0){var t,n,r;this.embedUrl=((t=this.dataController)==null||(t=t.data)==null?void 0:t.embed_url)||``,this.maxWidth=((n=this.dataController)==null||(n=n.data)==null?void 0:n.embed_max_width)||`560px`,this.isEventTicketsFlow=((r=this.dataController)==null||(r=r.data)==null?void 0:r.is_event_tickets_flow)||!1}}render(){var e;return H`
      ${this.showGoalBar?this.getGivebutterGoalBar():``}
      <givebutter-iframe
        ${qo(this.iframeChanged)}
        src="${this.getEmbedUrl()}"
        error="${Eo((e=this.dataController)==null?void 0:e.error)}"
        closable="${this.closable}"
        max-width="${this.maxWidth}"
        max-height="${this.maxHeight}"
        footer-class="${this.footerClass}"
        iframe-class="${Jc(this.iframeClass,this.closable&&this.isEventTicketsFlow&&`!h-full !w-screen`,this.closable&&!this.isEventTicketsFlow&&`max-modal-desktop:!h-full !w-screen`)}"
        class="${Jc(`flex flex-col`,this.closable&&this.isEventTicketsFlow&&`h-dvh w-full modal-desktop:max-h-[min(90dvh,725px)]`,this.closable&&!this.isEventTicketsFlow&&`h-dvh modal-desktop:h-auto w-full modal-desktop:w-auto modal-desktop:max-h-[90dvh]`)}"
        .overrideIsLoading="${this.isLoading}"
      ></givebutter-iframe>
    `}getGivebutterGoalBar(){return H`
      <givebutter-goal-bar
        account="${this.account}"
        campaign="${this.campaign}"
        class="${this.iframeClass}"
        size="sm"
        border-width="0"
        max-width="${this.maxWidth}"
        background-color="transparent"
        progress-bar-color="${this.themeColor}"
      ></givebutter-goal-bar>
    `}iframeChanged(e){this.iframe=e}getEmbedUrl(){if(o.isValidEmbedUrl(this.embedUrl)){let e=new URL(this.embedUrl),t=new URLSearchParams(e.search);return new URLSearchParams(this.analytics.getQueryString()).forEach((e,n)=>{t.has(n)||t.set(n,e)}),t.append(`goalBar`,`false`),this.closable&&t.append(`closeButton`,`true`),this.widgetId.length>0&&t.append(`gba_gb.element.id`,this.widgetId),`${e.origin+e.pathname}?${t.toString()}`}return``}},K([io()],cl.prototype,`isLoading`,void 0),K([G({type:String,attribute:`theme-color`})],cl.prototype,`themeColor`,void 0),K([G({type:String,attribute:`max-width`})],cl.prototype,`maxWidth`,void 0),K([G({type:String,attribute:`max-height`})],cl.prototype,`maxHeight`,void 0),K([G({type:Boolean,attribute:`closable`})],cl.prototype,`closable`,void 0),K([G({type:Boolean,attribute:`show-goal-bar`,converter:vs._boolean})],cl.prototype,`showGoalBar`,void 0),K([G({type:String,attribute:`iframe-class`})],cl.prototype,`iframeClass`,void 0),K([G({type:String,attribute:`footer-class`})],cl.prototype,`footerClass`,void 0),K([G({type:Boolean})],cl.prototype,`isEventTicketsFlow`,void 0),cl=K([$a(`givebutter-giving-form`)],cl)})),ul,dl=t((()=>{ul=e=>{class t extends e{constructor(...e){super(...e),this.emitIframeMessage=e=>{var t;(t=this.iframe)==null||(t=t.shadowRoot)==null||(t=t.querySelector(`iframe`))==null||(t=t.contentWindow)==null||t.postMessage(e,`https://givebutter.com`)}}}return t}})),fl=r({DynamicElementType:()=>pl,GivebutterDynamicElement:()=>_l,GoalBarElementType:()=>ml,SignupFormLayout:()=>gl,SignupFormType:()=>hl}),pl,ml,hl,gl,_l,vl=t((()=>{vt(),po(),Oo(),ol(),gs(),ms(),O(),M(),f(),yo(),h(),pl=function(e){return e.UNDEFINED=``,e.BUTTON=`button`,e.GIVING_FORM=`giving-form`,e.SIGNUP_FORM=`signup-form`,e.GOAL_BAR=`goal-bar`,e}({}),ml=function(e){return e.PROGRESS_BAR=`progress-bar`,e.THERMOMETER=`thermometer`,e}({}),hl=function(e){return e.STATIC=`static`,e.POPUP=`popup`,e}({}),gl=function(e){return e.SIMPLE=`simple`,e.STACKED=`stacked`,e.TWO_COLUMN=`two-column`,e}({}),_l=class extends hs{constructor(){super(),this.config={},this.align=`left`,this.position=``,this.amount=``,this.frequency=``,this.fund=``,this.promo=``,this.componentType=fs.DYNAMIC}connectedCallback(){var e=()=>super.connectedCallback,t=this;return m(function*(){if(e().call(t),!(!t.account||!t.widgetId)){if(d.getPlatform()===c.godaddy&&d.isInsideIframe()){var n;let e=window.parent.document.createElement(`givebutter-widget`);e.id=t.widgetId,e.position=t.position,e.align=t.align;let i=window.frameElement;if(i==null||(n=i.parentElement)==null||n.insertBefore(e,i.nextSibling),!d.isGoDaddyBackoffice()&&t.position.length>0){var r;(r=ie(i,`widget-html`))==null||r.setAttribute(`style`,`height: 0px;`)}return}t.dataController=new al({host:t,queryFn:()=>b(t.account,t.widgetId)})}})()}render(){var e;let t=(e=this.dataController)==null||(e=e.data)==null?void 0:e.type;if(t){if(t===pl.BUTTON)return this.getButton();if(t===pl.GIVING_FORM)return this.getGivingForm();if(t===pl.SIGNUP_FORM)return this.getSignupForm();if(t===pl.GOAL_BAR)return this.getGoalBar()}return H``}getButton(){var e,t,n,r,i;let a=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config,o=(t=(n=this.dataController)==null||(n=n.data)==null?void 0:n.embed_max_width)==null?`560px`:t,s=(r=(i=this.dataController)==null||(i=i.data)==null?void 0:i.is_event_tickets_flow)==null?!1:r;return H`<givebutter-button
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${a.campaign}"
      embed-url="${Eo(this.getEmbedUrl())}"
      icon="${a.icon}"
      icon-position="${a.iconPosition}"
      label="${a.label}"
      label-color="${a.labelColor}"
      drop-shadow="${a.dropShadow}"
      border-color="${a.borderColor}"
      border-width="${a.borderWidth}"
      border-radius="${a.borderRadius}"
      background-color="${a.backgroundColor}"
      position="${this.position.length>0?this.position:a.position}"
      max-width="${o}"
      button-class="${this.getAlignClass()}"
      .isEventTicketsFlow="${s}"
    ></givebutter-button>`}getGivingForm(){var e,t,n,r,i,a;let o=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config,s=(t=(n=this.dataController)==null||(n=n.data)==null?void 0:n.embed_max_width)==null?`560px`:t,c=(r=(i=this.dataController)==null||(i=i.data)==null?void 0:i.is_event_tickets_flow)==null?!1:r;return H`<givebutter-giving-form
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${o.campaign}"
      theme-color="${Eo((a=this.dataController)==null||(a=a.data)==null?void 0:a.theme_color)}"
      embed-url="${Eo(this.getEmbedUrl())}"
      max-width="${s}"
      iframe-class="${this.getAlignClass()}"
      footer-class="${this.getAlignClass()}"
      show-goal-bar="${o.showGoalBar}"
      .isEventTicketsFlow="${c}"
    ></givebutter-giving-form>`}getSignupForm(){var e,t;let n=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config;return H`<givebutter-signup-form
      id="${this.widgetId}"
      account="${this.account}"
      channel="${n.channel}"
      type="${n.type}"
      embed-url="${Eo((t=this.dataController)==null||(t=t.data)==null?void 0:t.embed_url)}"
      form-class="${this.getAlignClass()}"
      title="${n.title}"
      description="${n.description}"
      border-radius="${n.borderRadius}"
      layout="${n.layout}"
      button-text="${n.buttonText}"
      button-text-color="${n.buttonTextColor}"
      button-background-color="${n.buttonBackgroundColor}"
      open-delay="${n.openDelay}"
      image="${n.image}"
      image-sizing="${n.imageSizing}"
    ></givebutter-signup-form>`}getGoalBar(){var e,t,n,r;let i=(e=this.dataController)==null||(e=e.data)==null?void 0:e.config;return H`<givebutter-goal-bar
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${i.campaign}"
      goal="${Eo((t=this.dataController)==null||(t=t.data)==null?void 0:t.goal)}"
      raised="${Eo((n=this.dataController)==null||(n=n.data)==null?void 0:n.raised)}"
      raised-percentage="${Eo((r=this.dataController)==null||(r=r.data)==null?void 0:r.raised_percentage)}"
      type="${i.type}"
      text-color="${i.textColor}"
      progress-bar-color="${i.progressBarColor}"
      border-color="${i.borderColor}"
      border-width="${i.borderWidth}"
      border-radius="${i.borderRadius}"
      background-color="${i.backgroundColor}"
      size="${i.size}"
      show-goal-amount="${i.showGoalAmount}"
      show-amount-raised="${i.showAmountRaised}"
      show-raised-percentage="${i.showRaisedPercentage}"
    ></givebutter-goal-bar>`}getAlignClass(){switch(this.align){case`center`:return`mx-auto`;case`right`:return`ml-auto`;case`left`:return`mr-auto`;default:return``}}getEmbedUrl(){var e;let t=(e=this.dataController)==null||(e=e.data)==null?void 0:e.embed_url;if(!t)return;let n=new URL(t),r=new URLSearchParams(n.search);return this.amount.length>0&&r.set(`amount`,this.amount),this.frequency.length>0&&r.set(`frequency`,this.frequency),this.fund.length>0&&r.set(`fund`,this.fund),this.promo.length>0&&r.set(`promo`,this.promo),n.search=r.toString(),n.toString()}},K([io()],_l.prototype,`config`,void 0),K([G({type:String,attribute:`align`})],_l.prototype,`align`,void 0),K([G({type:String,attribute:`position`})],_l.prototype,`position`,void 0),K([G({type:String,attribute:`amount`})],_l.prototype,`amount`,void 0),K([G({type:String,attribute:`frequency`})],_l.prototype,`frequency`,void 0),K([G({type:String,attribute:`fund`})],_l.prototype,`fund`,void 0),K([G({type:String,attribute:`promo`})],_l.prototype,`promo`,void 0),_l=K([$a(`givebutter-widget`)],_l)})),yl=r({GivebutterSignupForm:()=>Q}),Q,bl=t((()=>{To(),vt(),po(),Oo(),Yo(),es(),Yc(),rl(),ol(),gs(),ms(),dl(),O(),s(),Co(),vl(),yo(),Q=class extends ul(hs){constructor(){super(),this.contentRef=Wo(),this.isLoading=!0,this.isOpen=!1,this.channel=`email`,this.type=hl.STATIC,this.openDelay=5e3,this.formClass=``,this.iframeClass=``,this.footerClass=``,this.title=``,this.description=``,this.borderRadius=0,this.layout=`simple`,this.buttonText=`Subscribe`,this.buttonTextColor=``,this.buttonBackgroundColor=``,this.image=``,this.imageSizing=`cover`,this.observer=new wo(this,{config:{childList:!0,subtree:!0},target:document.querySelector(`[data-overlay-outer-wrapper]`),callback:e=>{let t=e[0];t&&(this.isOpen=t.removedNodes.length<=0)}}),this.receiveMessageEvent=e=>{if(e.data===tl.CLOSE_MODAL){var t;(t=this.shadowRoot)==null||t.dispatchEvent(new Event(nl.CLOSE_OVERLAY,{bubbles:!0,composed:!0}))}this.iframe&&e.data===tl.FORM_LOADED&&(this.isLoading=!1)},this.componentType=fs.SIGNUP_FORM}connectedCallback(){super.connectedCallback(),window.addEventListener(`message`,this.receiveMessageEvent),this.embedUrl.length===0&&(this.dataController=new al({host:this,queryFn:()=>b(this.account,this.id)}))}disconnectedCallback(){window.removeEventListener(`message`,this.receiveMessageEvent),super.disconnectedCallback()}willUpdate(e){if(this.embedUrl.length===0){var t;this.embedUrl=((t=this.dataController)==null||(t=t.data)==null?void 0:t.embed_url)||``}}firstUpdated(){this.contentRef.value&&this.observer.observe(this.contentRef.value)}updated(e){e.has(`isLoading`)?(this.refreshSubmitButtonSettings(),this.refreshChannel()):((e.has(`buttonText`)||e.has(`buttonTextColor`)||e.has(`buttonBackgroundColor`))&&this.refreshSubmitButtonSettings(),e.has(`channel`)&&this.refreshChannel())}render(){return this.type===hl.STATIC?this.renderForm():this.renderPopup()}renderPopup(){return H`
      <givebutter-dialog
        trigger=${xo.TIMED}
        open-delay=${this.openDelay}
        hide-on-outside-click
        close-button
      >
        <div slot="content" ${qo(this.contentRef)}>${this.isOpen?this.renderForm():``}</div>
      </givebutter-dialog>
    `}renderForm(){var e;return H`
      <div
        class="${this.getFormClass()} bg-white text-left md:shadow-md"
        style=${Qo(this.getFormStyles())}
      >
        ${this.layout===`simple`?``:H`<div
              class=${this.getBannerClass()}
              style=${Qo(this.getBannerStyles())}
            ></div>`}
        <div class="grow overflow-auto p-6">
          <h1 class="text-2xl font-semibold text-black">${this.title}</h1>
          <p class="mt-1 text-gray-700">${this.description}</p>
          <givebutter-iframe
            ${qo(this.iframeChanged)}
            src="${this.getEmbedUrl()}"
            error="${Eo((e=this.dataController)==null?void 0:e.error)}"
            iframe-class="${this.iframeClass}"
            footer-class="${this.footerClass}"
            .overrideIsLoading="${this.isLoading}"
            .showPoweredByGivebutter="${!1}"
            .showBorder="${!1}"
          ></givebutter-iframe>
        </div>
      </div>
    `}getBannerClass(){return Jc(this.layout===gl.STACKED&&`h-32`,this.layout===gl.TWO_COLUMN&&`w-64`)}getBannerStyles(){let e={fill:`cover`,fit:`contain`,stretch:`100% 100%`};return{"background-image":`url(${this.image})`,"background-size":e[this.imageSizing]||`cover`,"background-repeat":this.imageSizing===`fit`?`no-repeat`:`repeat`,"background-position":`center`}}getFormClass(){let e=this.layout===gl.TWO_COLUMN,t=this.layout===gl.STACKED;return Jc((e||t)&&`flex flex-col gap-1`,e?`sm:flex-row max-w-[620px]`:`max-w-[420px]`,this.type===hl.STATIC&&this.formClass,this.type===hl.POPUP&&`modal-desktop:overflow-auto max-h-dvh modal-desktop:max-h-[90vh]`)}getFormStyles(){return{borderRadius:`${this.borderRadius}px`}}iframeChanged(e){e&&(this.iframe=e,this.refreshSubmitButtonSettings(),this.refreshChannel())}refreshChannel(){this.emitIframeMessage({event:el.CHANNEL_SETTINGS,props:{channel:this.channel}})}refreshSubmitButtonSettings(){this.emitIframeMessage({event:el.BUTTON_SETTINGS,props:{text:this.buttonText,textColor:this.buttonTextColor,backgroundColor:this.buttonBackgroundColor}})}getEmbedUrl(){return o.isValidEmbedUrl(this.embedUrl)?this.embedUrl:``}},K([io()],Q.prototype,`isLoading`,void 0),K([G({type:String,attribute:`channel`})],Q.prototype,`channel`,void 0),K([G({type:String,attribute:`type`})],Q.prototype,`type`,void 0),K([G({type:Number,attribute:`open-delay`})],Q.prototype,`openDelay`,void 0),K([G({type:String,attribute:`form-class`})],Q.prototype,`formClass`,void 0),K([G({type:String,attribute:`iframe-class`})],Q.prototype,`iframeClass`,void 0),K([G({type:String,attribute:`footer-class`})],Q.prototype,`footerClass`,void 0),K([G({type:String,attribute:`title`})],Q.prototype,`title`,void 0),K([G({type:String,attribute:`description`})],Q.prototype,`description`,void 0),K([G({type:Number,attribute:`border-radius`})],Q.prototype,`borderRadius`,void 0),K([G({type:String,attribute:`layout`})],Q.prototype,`layout`,void 0),K([G({type:String,attribute:`button-text`})],Q.prototype,`buttonText`,void 0),K([G({type:String,attribute:`button-text-color`})],Q.prototype,`buttonTextColor`,void 0),K([G({type:String,attribute:`button-background-color`})],Q.prototype,`buttonBackgroundColor`,void 0),K([G({type:String,attribute:`image`})],Q.prototype,`image`,void 0),K([G({type:String,attribute:`image-sizing`})],Q.prototype,`imageSizing`,void 0),Q=K([$a(`givebutter-signup-form`)],Q)})),xl,Sl,Cl=t((()=>{Sl=class e{static animate(t,n,r,i){if(t>=n&&typeof i==`function`){i();return}let a=n/100,o=Math.min(t+a,n);r(o),o<n&&setTimeout(()=>e.animate(o,n,r,i),e.ANIMATION_STEP_INTERVAL)}},xl=Sl,xl.ANIMATION_STEP_INTERVAL=25})),wl=t((()=>{ut()})),Tl=t((()=>{Fo()})),El=t((()=>{Uo()})),Dl,Ol=t((()=>{Dl=new WeakMap})),kl,Al,jl,Ml,Nl,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl=t((()=>{wl(),Tl(),El(),Ol(),h(),Cn(),kl=0,Al=new Map,jl=new WeakSet,Ml=()=>new Promise(e=>requestAnimationFrame(e)),Nl=(e,t)=>{let n=e-t;return n===0?void 0:n},Pl=(e,t)=>{let n=e/t;return n===1?void 0:n},Fl={left:(e,t)=>{let n=Nl(e,t);return{value:n,transform:n==null||isNaN(n)?void 0:`translateX(${n}px)`}},top:(e,t)=>{let n=Nl(e,t);return{value:n,transform:n==null||isNaN(n)?void 0:`translateY(${n}px)`}},width:(e,t)=>{let n;t===0&&(t=1,n={width:`1px`});let r=Pl(e,t);return{value:r,overrideFrom:n,transform:r==null||isNaN(r)?void 0:`scaleX(${r})`}},height:(e,t)=>{let n;t===0&&(t=1,n={height:`1px`});let r=Pl(e,t);return{value:r,overrideFrom:n,transform:r==null||isNaN(r)?void 0:`scaleY(${r})`}}},Il={duration:333,easing:`ease-in-out`},Ll=[`left`,`top`,`width`,`height`,`opacity`,`color`,`background`],Rl=new WeakMap,zl=class extends Ho{constructor(e){if(super(e),this.t=!1,this.i=null,this.o=null,this.h=!0,this.shouldLog=!1,e.type===Mo.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var e;(e=this.resolveFinished)==null||e.call(this),this.finished=new Promise(e=>{this.l=e})}resolveFinished(){var e=this;return m(function*(){var t;(t=e.l)==null||t.call(e),e.l=void 0})()}render(e){return U}getController(){return Dl.get(this.u)}isDisabled(){var e;return this.options.disabled||((e=this.getController())==null?void 0:e.disabled)}update(e,[t]){var n;let r=this.u===void 0;return r&&(this.u=(n=e.options)==null?void 0:n.host,this.u.addController(this),this.u.updateComplete.then(e=>this.t=!0),this.element=e.element,Rl.set(this.element,this)),this.optionsOrCallback=t,(r||typeof t!=`function`)&&this.m(t),this.render(t)}m(e){var t,n;e=(t=e)==null?{}:t;let r=this.getController();r!==void 0&&((e=W(W({},r.defaultOptions),e)).keyframeOptions=W(W({},r.defaultOptions.keyframeOptions),e.keyframeOptions)),(n=e).properties!=null||(n.properties=Ll),this.options=e}p(){let e={},t=this.element.getBoundingClientRect(),n=getComputedStyle(this.element);return this.options.properties.forEach(r=>{var i;let a=(i=t[r])==null?Fl[r]?void 0:n[r]:i,o=Number(a);e[r]=isNaN(o)?a+``:o}),e}v(){let e,t=!0;return this.options.guard&&(e=this.options.guard(),t=((e,t)=>{if(Array.isArray(e)){if(Array.isArray(t)&&t.length===e.length&&e.every((e,n)=>e===t[n]))return!1}else if(t===e)return!1;return!0})(e,this._)),this.h=this.t&&!this.isDisabled()&&!this.isAnimating()&&t&&this.element.isConnected,this.h&&(this._=Array.isArray(e)?Array.from(e):e),this.h}hostUpdate(){var e;typeof this.optionsOrCallback==`function`&&this.m(this.optionsOrCallback()),this.v()&&(this.A=this.p(),this.i=(e=this.i)==null?this.element.parentNode:e,this.o=this.element.nextSibling)}hostUpdated(){var e=this;return m(function*(){if(!e.h||!e.element.isConnected||e.options.skipInitial&&!e.isHostRendered)return;let t;e.prepare(),yield Ml;let n=e.P(),r=e.V(e.options.keyframeOptions,n),i=e.p();if(e.A!==void 0){let{from:r,to:a}=e.O(e.A,i,n);e.log(`measured`,[e.A,i,r,a]),t=e.calculateKeyframes(r,a)}else{let r=Al.get(e.options.inId);if(r){Al.delete(e.options.inId);let{from:a,to:o}=e.O(r,i,n);t=e.calculateKeyframes(a,o),t=e.options.in?[W(W({},e.options.in[0]),t[0]),...e.options.in.slice(1),t[1]]:t,kl++,t.forEach(e=>e.zIndex=kl)}else e.options.in&&(t=[...e.options.in,{}])}e.animate(t,r)})()}resetStyles(){var e;this.j!==void 0&&(this.element.setAttribute(`style`,(e=this.j)==null?``:e),this.j=void 0)}commitStyles(){var e,t;this.j=this.element.getAttribute(`style`),(e=this.webAnimation)==null||e.commitStyles(),(t=this.webAnimation)==null||t.cancel()}reconnected(){}disconnected(){var e=this;return m(function*(){var t;if(!e.h||(e.options.id!==void 0&&Al.set(e.options.id,e.A),e.options.out===void 0))return;if(e.prepare(),yield Ml(),(t=e.i)!=null&&t.isConnected){let t=e.o&&e.o.parentNode===e.i?e.o:null;if(e.i.insertBefore(e.element,t),e.options.stabilizeOut){let t=e.p();e.log(`stabilizing out`);let n=e.A.left-t.left,r=e.A.top-t.top;getComputedStyle(e.element).position!==`static`||n===0&&r===0||(e.element.style.position=`relative`),n!==0&&(e.element.style.left=n+`px`),r!==0&&(e.element.style.top=r+`px`)}}let n=e.V(e.options.keyframeOptions);yield e.animate(e.options.out,n),e.element.remove()})()}prepare(){this.createFinished()}start(){var e,t;(e=(t=this.options).onStart)==null||e.call(t,this)}didFinish(e){var t,n;e&&((t=(n=this.options).onComplete)==null||t.call(n,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}P(){let e=[];for(let t=this.element.parentNode;t;t=t==null?void 0:t.parentNode){let n=Rl.get(t);n&&!n.isDisabled()&&n&&e.push(n)}return e}get isHostRendered(){let e=jl.has(this.u);return e||this.u.updateComplete.then(()=>{jl.add(this.u)}),e}V(e,t=this.P()){let n=W({},Il);return t.forEach(e=>Object.assign(n,e.options.keyframeOptions)),Object.assign(n,e),n}O(e,t,n){e=W({},e),t=W({},t);let r=n.map(e=>e.animatingProperties).filter(e=>e!==void 0),i=1,a=1;return r.length>0&&(r.forEach(e=>{e.width&&(i/=e.width),e.height&&(a/=e.height)}),e.left!==void 0&&t.left!==void 0&&(e.left=i*e.left,t.left=i*t.left),e.top!==void 0&&t.top!==void 0&&(e.top=a*e.top,t.top=a*t.top)),{from:e,to:t}}calculateKeyframes(e,t,n=!1){let r={},i={},a=!1,o={};for(let n in t){let c=e[n],l=t[n];if(n in Fl){var s;let e=Fl[n];if(c===void 0||l===void 0)continue;let t=e(c,l);t.transform!==void 0&&(o[n]=t.value,a=!0,r.transform=`${(s=r.transform)==null?``:s} ${t.transform}`,t.overrideFrom!==void 0&&Object.assign(r,t.overrideFrom))}else c!==l&&c!==void 0&&l!==void 0&&(a=!0,r[n]=c,i[n]=l)}return r.transformOrigin=i.transformOrigin=n?`center center`:`top left`,this.animatingProperties=o,a?[r,i]:void 0}animate(e){var t=this;return m(function*(e,n=this.options.keyframeOptions){t.start(),t.frames=e;let r=!1;if(!t.isAnimating()&&!t.isDisabled()&&(t.options.onFrames&&(t.frames=e=t.options.onFrames(t),t.log(`modified frames`,e)),e!==void 0)){t.log(`animate`,[e,n]),r=!0,t.webAnimation=t.element.animate(e,n);let i=t.getController();i==null||i.add(t);try{yield t.webAnimation.finished}catch(e){}i==null||i.remove(t)}return t.didFinish(r),r}).apply(this,arguments)}isAnimating(){var e,t;return((e=this.webAnimation)==null?void 0:e.playState)===`running`||((t=this.webAnimation)==null?void 0:t.pending)}log(e,t){this.shouldLog&&!this.isDisabled()&&console.log(e,this.options.id,t)}},Bl=No(zl)})),Hl,Ul,Wl=t((()=>{wl(),Tl(),El(),Hl=[`top`,`right`,`bottom`,`left`],Ul=class extends Ho{constructor(e){if(super(e),e.type!==Mo.ELEMENT)throw Error("The `position` directive must be used in attribute position.")}render(e,t){return U}update(e,[t,n]){var r;return this.u===void 0&&(this.u=(r=e.options)==null?void 0:r.host,this.u.addController(this)),this.C=e.element,this.N=t,this.S=n==null?[`left`,`top`,`width`,`height`]:n,this.render(t,n)}hostUpdated(){this.F()}F(){var e,t;let n=typeof this.N==`function`?this.N():(e=this.N)==null?void 0:e.value,r=n.offsetParent;if(n===void 0||!r)return;let i=n.getBoundingClientRect(),a=r.getBoundingClientRect();(t=this.S)==null||t.forEach(e=>{let t=Hl.includes(e)?i[e]-a[e]:i[e];this.C.style[e]=t+`px`})}},No(Ul)})),Gl=t((()=>{Vl(),Wl()})),Kl,ql=t((()=>{Kl=class{static toLocale(e,t=!0){return e||(e=0),t||(e=Math.round(e)),e.toLocaleString()}}}));function Jl({raised:e,borderColor:t,borderWidth:n,borderRadius:r,backgroundColor:i,padding:a,progressBarColor:o,raisedPercentage:s,showAmountRaised:c,showRaisedPercentage:l,showGoalAmount:u,goal:d,textColor:f,size:p,areDisplayOptionsDisabled:m}){let h=Jc(c?`block`:`hidden`,p===`sm`&&`text-xl`,p===`md`&&`text-2xl`,p===`lg`&&`text-3xl`),g=()=>({color:f,"border-color":t,"border-width":n+`px`,"border-radius":r+`px`,padding:a+`px`,"background-color":i}),_=Jc(p===`sm`&&`h-4`,p===`md`&&`h-6`,p===`lg`&&`h-8`);return H`
    <div
      class="m-auto flex w-full rounded-md font-medium"
      style=${Qo(g())}
    >
      <div class="flex flex-1 flex-col gap-1">
        <div class="flex items-baseline gap-x-2">
          <div class="flex flex-1 flex-wrap">
            <p class="${h} leading-tight">
              <span id="raised">${`$`+Kl.toLocale(e,!1)}</span>
            </p>
          </div>
          <div class="mb-1 flex items-end gap-x-2">
            <p id="goal" class="text-base font-normal leading-tight">
              ${l?Kl.toLocale(s)+`%`:``}
              ${l&&u?` of `:``}
              ${u?`$`+Kl.toLocale(d):``}
              ${m||!u?``:`goal`}
            </p>
          </div>
        </div>
        <div
          class="${_} flex rounded-full border border-gray-300 bg-white p-1"
        >
          <div
            ${Bl({keyframeOptions:{duration:2e3},properties:[`width`],in:[{width:`0%`}]})}
            class="h-full max-w-full rounded-full"
            style=${Qo({width:(s>100?100:s)+`%`,"background-color":o})}
          ></div>
        </div>
      </div>
    </div>
  `}var Yl=t((()=>{Gl(),vt(),es(),Yc(),ql()}));function Xl(e,t,n){let r=e=>n>=e?t:`#A0A0AB`;return H`
    <svg width="132" height="370" fill="none" xmlns="http://www.w3.org/2000/svg">
      <g filter="url(#filter0_dd_3_3385)">
        <mask
          id="path-1-outside-1_3_3385"
          maskUnits="userSpaceOnUse"
          x="12.919"
          y="1.973"
          width="113"
          height="359"
          fill="#000"
        >
          <path fill="#fff" d="M12.919 1.973h113v359h-113z" />
          <path
            fill-rule="evenodd"
            clip-rule="evenodd"
            d="M69.46 5.973c-16.121 0-29.19 13.069-29.19 29.19V260.01c-14.08 9.425-23.351 25.476-23.351 43.693 0 29.017 23.523 52.54 52.54 52.54 29.018 0 52.541-23.523 52.541-52.54 0-18.217-9.271-34.268-23.351-43.693V35.162c0-16.12-13.069-29.189-29.19-29.189Z"
          />
        </mask>
        <path
          fill-rule="evenodd"
          clip-rule="evenodd"
          d="M69.46 5.973c-16.121 0-29.19 13.069-29.19 29.19V260.01c-14.08 9.425-23.351 25.476-23.351 43.693 0 29.017 23.523 52.54 52.54 52.54 29.018 0 52.541-23.523 52.541-52.54 0-18.217-9.271-34.268-23.351-43.693V35.162c0-16.12-13.069-29.189-29.19-29.189Z"
          fill="url(#thermometerGradient)"
        />
        <path
          d="m40.27 260.01 2.165 3.234 1.727-1.156v-2.078H40.27Zm58.379 0h-3.892v2.078l1.727 1.156 2.165-3.234ZM44.162 35.162c0-13.971 11.326-25.297 25.298-25.297V2.08c-18.27 0-33.082 14.811-33.082 33.081h7.784Zm0 224.848V35.162h-7.784V260.01h7.784Zm-23.351 43.693c0-16.864 8.577-31.725 21.624-40.459l-4.33-6.468c-15.113 10.116-25.078 27.357-25.078 46.927h7.784Zm48.649 48.648c-26.868 0-48.65-21.78-48.65-48.648h-7.783c0 31.167 25.266 56.432 56.433 56.432v-7.784Zm48.648-48.648c0 26.868-21.78 48.648-48.648 48.648v7.784c31.166 0 56.432-25.265 56.432-56.432h-7.784Zm-21.624-40.459c13.047 8.734 21.624 23.595 21.624 40.459h7.784c0-19.57-9.965-36.811-25.078-46.927l-4.33 6.468ZM94.757 35.162V260.01h7.784V35.162h-7.784ZM69.46 9.865c13.97 0 25.297 11.326 25.297 25.297h7.784c0-18.27-14.811-33.08-33.081-33.08v7.783Z"
          fill="url(#paint1_linear_3_3385)"
          fill-opacity=".15"
          mask="url(#path-1-outside-1_3_3385)"
        />
      </g>
      <g filter="url(#filter1_d_3_3385)" clip-path="url(#clip0_3_3385)">
        <path
          d="M4.95 29.142v8.317H3.31v-6.425l-1.973.628v-1.295l3.438-1.225h.177Zm8.29 3.437v1.437c0 .623-.067 1.161-.2 1.613-.133.449-.325.818-.575 1.106a2.273 2.273 0 0 1-.884.633 3.045 3.045 0 0 1-1.14.206 3.35 3.35 0 0 1-.935-.126 2.354 2.354 0 0 1-.781-.405 2.571 2.571 0 0 1-.593-.69 3.538 3.538 0 0 1-.377-1.003 6.1 6.1 0 0 1-.13-1.334V32.58c0-.623.066-1.157.199-1.602.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.045 3.045 0 0 1 1.14-.205c.334 0 .643.043.928.13.29.084.55.216.782.394.231.179.43.409.592.69.164.277.29.61.377.998.087.384.13.824.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.306 2.306 0 0 0-.143-.57 1.203 1.203 0 0 0-.239-.387.87.87 0 0 0-.325-.217 1.145 1.145 0 0 0-.405-.069c-.186 0-.351.037-.496.109a.922.922 0 0 0-.359.348 1.872 1.872 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.874.874 0 0 0 .324.216c.126.046.263.069.41.069.183 0 .345-.036.485-.109a.953.953 0 0 0 .365-.353c.103-.163.179-.376.228-.639.05-.262.074-.581.074-.957Zm8.352-1.654v1.437c0 .623-.066 1.161-.2 1.613-.132.449-.324.818-.575 1.106a2.273 2.273 0 0 1-.884.633 3.046 3.046 0 0 1-1.14.206 3.35 3.35 0 0 1-.935-.126 2.353 2.353 0 0 1-.78-.405 2.57 2.57 0 0 1-.594-.69 3.536 3.536 0 0 1-.376-1.003 6.101 6.101 0 0 1-.131-1.334V32.58c0-.623.066-1.157.2-1.602.136-.448.328-.815.575-1.1.251-.285.547-.494.89-.627a3.045 3.045 0 0 1 1.14-.205c.334 0 .644.043.929.13.289.084.55.216.781.394.232.179.43.409.593.69.163.277.289.61.376.998.088.384.131.824.131 1.322Zm-1.647 1.654v-1.876c0-.3-.017-.562-.052-.787a2.306 2.306 0 0 0-.142-.57 1.203 1.203 0 0 0-.24-.387.87.87 0 0 0-.325-.217 1.145 1.145 0 0 0-.404-.069c-.187 0-.352.037-.496.109a.922.922 0 0 0-.36.348 1.872 1.872 0 0 0-.227.627c-.05.258-.075.574-.075.946v1.876c0 .3.016.564.046.792.034.228.084.424.148.587.069.16.148.291.24.394a.875.875 0 0 0 .325.216c.125.046.262.069.41.069.183 0 .344-.036.485-.109a.953.953 0 0 0 .364-.353c.103-.163.18-.376.229-.639.049-.262.074-.581.074-.957Zm2.742-3.039v-.439c0-.315.068-.602.205-.86.137-.26.338-.466.604-.622.267-.156.593-.234.981-.234.4 0 .732.078.998.234.27.156.47.363.604.621.137.259.205.546.205.861v.44c0 .307-.068.59-.205.849a1.517 1.517 0 0 1-.599.62c-.266.157-.594.235-.986.235-.395 0-.728-.078-.998-.234a1.555 1.555 0 0 1-.604-.621 1.787 1.787 0 0 1-.205-.85Zm1.089-.439v.44c0 .132.024.26.074.381a.712.712 0 0 0 .24.29c.11.073.243.11.398.11a.679.679 0 0 0 .4-.11.685.685 0 0 0 .228-.29c.049-.122.074-.249.074-.382v-.439c0-.14-.027-.27-.08-.388a.653.653 0 0 0-.633-.405.666.666 0 0 0-.627.405.993.993 0 0 0-.074.388Zm2.879 5.108v-.439a1.8 1.8 0 0 1 .205-.855c.14-.258.344-.466.61-.621.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.155.467.363.604.621a1.8 1.8 0 0 1 .206.855v.44a1.8 1.8 0 0 1-.206.854 1.517 1.517 0 0 1-.598.622c-.266.156-.595.233-.987.233-.395 0-.727-.077-.997-.233a1.586 1.586 0 0 1-.616-.622 1.8 1.8 0 0 1-.205-.855Zm1.094-.439v.44c0 .136.03.265.092.387.06.122.144.218.25.29.11.073.238.109.382.109.183 0 .325-.036.428-.108a.544.544 0 0 0 .21-.291c.043-.122.064-.251.064-.388v-.439a.918.918 0 0 0-.08-.382.666.666 0 0 0-.633-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.918.918 0 0 0-.08.382Zm1.118-5.08-4.054 6.488-.798-.422 4.054-6.487.798.422Z"
          fill="${r(100)}"
        />
        <path
          d="M68.487 33.46h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M2.111 61.238h.109c.456 0 .847-.055 1.174-.165a2.1 2.1 0 0 0 .815-.49c.213-.213.371-.474.474-.782.102-.311.154-.665.154-1.06v-1.574c0-.3-.03-.564-.092-.792a1.58 1.58 0 0 0-.25-.564 1.068 1.068 0 0 0-.377-.342.966.966 0 0 0-.467-.114.87.87 0 0 0-.485.136c-.14.088-.26.208-.359.36-.095.152-.17.326-.222.524-.05.194-.074.397-.074.61 0 .213.024.416.074.61.05.19.123.36.222.507.099.145.222.26.37.348.149.084.324.126.525.126.194 0 .367-.037.519-.109.156-.076.287-.175.393-.296.11-.122.194-.257.251-.405.06-.148.091-.298.091-.45l.542.296c0 .266-.057.528-.171.787a2.423 2.423 0 0 1-1.18 1.209 1.98 1.98 0 0 1-.855.188c-.388 0-.732-.07-1.032-.211a2.253 2.253 0 0 1-.764-.593 2.686 2.686 0 0 1-.468-.89 3.648 3.648 0 0 1-.16-1.1c0-.403.065-.78.194-1.134.134-.354.322-.666.565-.935.247-.27.541-.481.884-.633a2.77 2.77 0 0 1 1.151-.234 2.55 2.55 0 0 1 2.041.94c.247.297.437.653.57 1.067.137.414.205.874.205 1.38v.57a6.1 6.1 0 0 1-.176 1.505 4.376 4.376 0 0 1-.52 1.26 3.554 3.554 0 0 1-.854.957 3.66 3.66 0 0 1-1.18.61c-.449.141-.95.211-1.505.211H2.11v-1.328Zm11.129-3.632v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.272 2.272 0 0 1-.884.632 3.046 3.046 0 0 1-1.14.205 3.35 3.35 0 0 1-.935-.125 2.352 2.352 0 0 1-.781-.405 2.57 2.57 0 0 1-.593-.69 3.537 3.537 0 0 1-.377-1.003 6.1 6.1 0 0 1-.13-1.334v-1.437c0-.623.066-1.157.199-1.602.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.044 3.044 0 0 1 1.14-.205c.334 0 .643.043.928.13.29.085.55.216.782.394.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.308 2.308 0 0 0-.143-.57 1.203 1.203 0 0 0-.239-.387.872.872 0 0 0-.325-.217 1.143 1.143 0 0 0-.405-.069c-.186 0-.351.037-.496.109a.922.922 0 0 0-.359.348 1.872 1.872 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.872.872 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.953.953 0 0 0 .365-.354c.103-.163.179-.376.228-.639a5.27 5.27 0 0 0 .074-.957Zm2.742-3.039v-.439c0-.315.069-.602.206-.86.137-.26.338-.466.604-.622.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.44c0 .307-.069.59-.205.849a1.518 1.518 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.556 1.556 0 0 1-.604-.621 1.787 1.787 0 0 1-.205-.85Zm1.09-.439v.44c0 .132.024.26.074.381a.712.712 0 0 0 .239.29c.11.073.243.11.399.11a.678.678 0 0 0 .399-.11.685.685 0 0 0 .228-.29c.05-.122.074-.249.074-.382v-.439a.93.93 0 0 0-.08-.387.653.653 0 0 0-.633-.405.666.666 0 0 0-.627.405.992.992 0 0 0-.074.387Zm2.878 5.108v-.439a1.8 1.8 0 0 1 .206-.855c.14-.258.344-.465.61-.621.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.155.467.363.604.621a1.8 1.8 0 0 1 .205.855v.44a1.8 1.8 0 0 1-.205.854 1.518 1.518 0 0 1-.599.622c-.266.156-.595.233-.986.233-.395 0-.728-.077-.998-.233a1.586 1.586 0 0 1-.615-.622 1.8 1.8 0 0 1-.206-.855Zm1.095-.439v.44c0 .136.03.265.091.387s.145.218.251.29a.68.68 0 0 0 .382.109c.182 0 .325-.036.428-.108a.544.544 0 0 0 .21-.291c.042-.122.063-.25.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.405.67.67 0 0 0-.4.114.68.68 0 0 0-.233.291.917.917 0 0 0-.08.382Zm1.117-5.08-4.053 6.488-.798-.422 4.053-6.487.798.422Z"
          fill="${r(90)}"
        />
        <path
          d="M68.487 58.486h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.541 85.239c0 .52-.121.96-.365 1.317a2.271 2.271 0 0 1-1.003.804c-.422.178-.9.268-1.437.268-.536 0-1.016-.09-1.442-.268a2.31 2.31 0 0 1-1.01-.804c-.246-.358-.37-.796-.37-1.317a2.086 2.086 0 0 1 .798-1.676c.255-.206.553-.361.895-.468.343-.11.715-.165 1.118-.165.54 0 1.022.095 1.448.285.426.19.76.458 1.003.804.244.346.365.752.365 1.22Zm-1.653-.109c0-.254-.05-.473-.148-.655a1.002 1.002 0 0 0-.405-.428 1.219 1.219 0 0 0-.61-.148c-.232 0-.435.05-.61.148a1.037 1.037 0 0 0-.41.428 1.403 1.403 0 0 0-.143.656c0 .25.047.467.142.65.1.182.236.322.41.421.18.095.387.143.622.143.236 0 .44-.048.61-.143a.973.973 0 0 0 .4-.422 1.39 1.39 0 0 0 .142-.65Zm1.476-3.716c0 .421-.112.796-.336 1.123a2.242 2.242 0 0 1-.935.758 3.204 3.204 0 0 1-1.357.273c-.513 0-.969-.09-1.368-.273-.399-.183-.71-.435-.935-.758a1.938 1.938 0 0 1-.336-1.124c0-.501.112-.923.336-1.265.228-.346.54-.608.935-.787.4-.178.851-.268 1.357-.268.513 0 .967.09 1.362.268.4.179.711.441.935.787.228.342.342.764.342 1.266Zm-1.641.074c0-.225-.04-.418-.12-.582a.895.895 0 0 0-.342-.388.985.985 0 0 0-.536-.136c-.205 0-.382.043-.53.13a.871.871 0 0 0-.337.383 1.398 1.398 0 0 0-.114.593c0 .224.038.421.114.593.08.167.194.298.342.393a.972.972 0 0 0 .536.142.897.897 0 0 0 .867-.536c.08-.17.12-.368.12-.592Zm8.517 1.145v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.271 2.271 0 0 1-.884.632 3.044 3.044 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.353 2.353 0 0 1-.781-.405 2.573 2.573 0 0 1-.593-.69 3.54 3.54 0 0 1-.377-1.003 6.101 6.101 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.603.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.046 3.046 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654V82.41c0-.3-.017-.562-.051-.787a2.31 2.31 0 0 0-.143-.57 1.204 1.204 0 0 0-.239-.387.872.872 0 0 0-.325-.217 1.145 1.145 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.922.922 0 0 0-.359.348 1.87 1.87 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.872.872 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.952.952 0 0 0 .365-.354c.103-.163.179-.376.228-.638a5.27 5.27 0 0 0 .074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.86.137-.26.338-.466.604-.622.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.44c0 .307-.069.59-.205.849a1.518 1.518 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.556 1.556 0 0 1-.604-.621 1.788 1.788 0 0 1-.205-.85Zm1.09-.439v.44c0 .132.024.26.074.381a.713.713 0 0 0 .239.29c.11.073.243.11.399.11a.678.678 0 0 0 .399-.11.685.685 0 0 0 .228-.29c.05-.121.074-.249.074-.382v-.439a.93.93 0 0 0-.08-.388.653.653 0 0 0-.633-.405.666.666 0 0 0-.627.405.993.993 0 0 0-.074.388Zm2.878 5.108v-.439a1.8 1.8 0 0 1 .206-.855c.14-.258.344-.465.61-.621.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621a1.8 1.8 0 0 1 .205.855v.44a1.8 1.8 0 0 1-.205.854 1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.8 1.8 0 0 1-.206-.855Zm1.095-.439v.44c0 .136.03.265.091.387s.145.218.251.29c.11.073.238.109.382.109.182 0 .325-.036.428-.108a.544.544 0 0 0 .21-.291c.042-.122.063-.25.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.08-4.053 6.488-.798-.421 4.053-6.488.798.422Z"
          fill="${r(80)}"
        />
        <path
          d="M68.487 83.513h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.587 104.24v.884l-3.21 7.417H1.644l3.21-7.018H.72v-1.283h5.867Zm6.653 3.42v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.105a2.265 2.265 0 0 1-.884.633 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.1 6.1 0 0 1-.13-1.334v-1.437c0-.623.066-1.157.199-1.602.137-.448.329-.815.576-1.1.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.198 1.198 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.866 1.866 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.959.959 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.26.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.122.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.388a.653.653 0 0 0-.633-.404.666.666 0 0 0-.627.404.997.997 0 0 0-.074.388Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.218.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.546.546 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${r(70)}"
        />
        <path
          d="M68.487 108.541h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M5.184 129.181h.24v1.312h-.097c-.433 0-.82.064-1.157.193-.339.13-.626.314-.861.553-.232.236-.41.521-.536.856a3.263 3.263 0 0 0-.183 1.123v1.379c0 .297.029.559.086.787.06.224.146.412.256.564.114.149.247.261.4.337.152.072.323.108.513.108.178 0 .34-.038.484-.114.148-.076.274-.182.376-.319a1.48 1.48 0 0 0 .24-.49 2.16 2.16 0 0 0 .085-.622c0-.224-.028-.431-.085-.621a1.412 1.412 0 0 0-.24-.491 1.1 1.1 0 0 0-.387-.324 1.132 1.132 0 0 0-.513-.114c-.259 0-.487.06-.684.182-.194.118-.346.27-.457.456-.11.186-.169.382-.176.587l-.496-.319c.011-.293.072-.57.182-.832.114-.263.27-.494.468-.696.201-.205.442-.365.724-.479a2.44 2.44 0 0 1 .952-.177c.387 0 .728.075 1.02.223.297.148.544.351.741.61.198.258.346.557.445.895.099.338.148.699.148 1.083 0 .403-.066.777-.2 1.123-.128.346-.317.648-.564.907-.243.258-.536.46-.878.604a2.942 2.942 0 0 1-1.151.217c-.441 0-.842-.08-1.203-.24a2.727 2.727 0 0 1-.924-.684 3.1 3.1 0 0 1-.598-1.043 4.092 4.092 0 0 1-.206-1.323v-.638c0-.669.097-1.281.291-1.836.198-.559.481-1.042.85-1.448a3.767 3.767 0 0 1 1.334-.952c.52-.225 1.108-.337 1.761-.337Zm8.056 3.506v1.437c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.437c0-.623.066-1.157.199-1.601.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.322Zm-1.648 1.654v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.198 1.198 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.26.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.122.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.218.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.546.546 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${r(60)}"
        />
        <path
          d="M68.487 133.568h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="m2.493 158.815-1.31-.314.472-4.207H6.32v1.328H3.007l-.206 1.842c.11-.065.278-.133.502-.206.224-.076.475-.114.753-.114.402 0 .76.063 1.071.189.312.125.576.307.793.547.22.239.387.532.501.878.114.346.171.737.171 1.174 0 .369-.057.72-.17 1.055a2.612 2.612 0 0 1-.52.889 2.411 2.411 0 0 1-.872.61c-.35.149-.764.223-1.242.223-.358 0-.704-.054-1.038-.16a2.84 2.84 0 0 1-.895-.473 2.441 2.441 0 0 1-.633-.758 2.302 2.302 0 0 1-.245-1.027h1.63c.023.236.084.439.183.61.103.168.237.297.405.388.167.091.363.137.587.137.209 0 .388-.04.536-.12a.974.974 0 0 0 .359-.33c.091-.145.158-.312.2-.502.045-.194.068-.403.068-.627a2.17 2.17 0 0 0-.08-.61 1.298 1.298 0 0 0-.245-.473 1.074 1.074 0 0 0-.422-.308 1.458 1.458 0 0 0-.587-.109c-.304 0-.54.048-.707.143-.164.095-.3.203-.41.325Zm10.747-1.1v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${r(50)}"
        />
        <path
          d="M68.487 158.595h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.764 184.52v1.289H.784l-.08-.998 3.46-5.49h1.305l-1.413 2.366-1.722 2.833h4.43Zm-.941-5.199v8.301H4.18v-8.301h1.642Zm7.417 3.421v1.436c0 .623-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.198 1.198 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.861.861 0 0 0 .324.216c.126.046.262.069.41.069.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.917.917 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.917.917 0 0 0-.08.382Zm1.117-5.079-4.053 6.487-.798-.421 4.053-6.488.798.422Z"
          fill="${r(40)}"
        />
        <path
          d="M68.487 183.622h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M2.63 207.786h.878c.281 0 .513-.048.696-.143a.942.942 0 0 0 .405-.41 1.35 1.35 0 0 0 .136-.622c0-.213-.041-.401-.125-.564a.851.851 0 0 0-.37-.388c-.168-.095-.379-.142-.633-.142-.202 0-.388.04-.56.119-.17.08-.307.192-.41.337a.88.88 0 0 0-.154.524H.846c0-.456.121-.853.365-1.191.247-.339.577-.603.992-.793.414-.19.87-.285 1.368-.285.562 0 1.055.091 1.477.274.421.179.75.443.986.792.235.35.353.783.353 1.3 0 .262-.06.517-.182.764a2.14 2.14 0 0 1-.525.661c-.224.194-.498.35-.82.468a3.258 3.258 0 0 1-1.09.171H2.63v-.872Zm0 1.248v-.849h1.14c.453 0 .85.051 1.192.154.342.102.629.25.86.444.233.19.408.417.525.679.118.258.177.545.177.861 0 .387-.074.733-.222 1.037-.148.3-.358.555-.627.764a2.859 2.859 0 0 1-.935.479 4.094 4.094 0 0 1-2.2.017 3.071 3.071 0 0 1-.913-.439 2.256 2.256 0 0 1-.65-.741c-.16-.3-.24-.656-.24-1.066h1.648c0 .213.053.403.16.57.106.167.252.298.439.393.19.095.4.143.633.143.262 0 .486-.048.672-.143.19-.098.335-.235.434-.41.102-.179.153-.386.153-.621 0-.305-.055-.548-.165-.73a.986.986 0 0 0-.473-.411 1.862 1.862 0 0 0-.73-.131H2.63Zm10.61-1.265v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.787a2.313 2.313 0 0 0-.143-.57 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.587.068.16.148.291.24.394a.876.876 0 0 0 .324.217c.126.045.262.068.41.068.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.855a1.517 1.517 0 0 1-.599.622c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.585 1.585 0 0 1-.615-.622 1.796 1.796 0 0 1-.206-.855Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.488-.798-.422 4.053-6.488.798.422Z"
          fill="${r(30)}"
        />
        <path
          d="M68.487 208.649h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M6.627 236.393v1.283H.948v-1.095l2.686-2.879c.27-.3.482-.564.638-.792.156-.232.268-.439.337-.622.072-.186.108-.363.108-.53 0-.251-.042-.466-.126-.644a.933.933 0 0 0-.37-.422 1.105 1.105 0 0 0-.593-.148c-.25 0-.468.061-.65.182a1.163 1.163 0 0 0-.41.508 1.874 1.874 0 0 0-.137.735H.783c0-.494.118-.946.354-1.357.235-.414.568-.743.997-.986.43-.247.939-.371 1.528-.371.582 0 1.072.095 1.471.285.403.187.707.456.912.81.21.35.314.768.314 1.254 0 .274-.044.542-.131.804a3.628 3.628 0 0 1-.377.775c-.16.255-.353.513-.581.776-.228.262-.48.534-.758.815l-1.443 1.619h3.558Zm6.613-3.597v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.335 2.335 0 0 1-.781-.405 2.567 2.567 0 0 1-.593-.689 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653v-1.876c0-.3-.017-.562-.051-.786a2.31 2.31 0 0 0-.143-.571 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.136 1.136 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.588.068.159.148.29.24.393a.876.876 0 0 0 .324.217c.126.045.262.068.41.068.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.856a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.589 1.589 0 0 1-.615-.621 1.803 1.803 0 0 1-.206-.856Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.488-.798-.422 4.053-6.488.798.422Z"
          fill="${r(20)}"
        />
        <path
          d="M68.487 233.676h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
        <path
          d="M4.95 254.385v8.318H3.31v-6.425l-1.973.627v-1.294l3.438-1.226h.177Zm8.29 3.438v1.436c0 .624-.067 1.161-.2 1.614-.133.448-.325.817-.575 1.106a2.262 2.262 0 0 1-.884.632 3.042 3.042 0 0 1-1.14.206c-.335 0-.646-.042-.935-.126a2.352 2.352 0 0 1-.781-.404 2.588 2.588 0 0 1-.593-.69 3.547 3.547 0 0 1-.377-1.004 6.094 6.094 0 0 1-.13-1.334v-1.436c0-.624.066-1.158.199-1.602.137-.449.329-.816.576-1.101.25-.285.547-.494.89-.627a3.042 3.042 0 0 1 1.14-.205c.334 0 .643.044.928.131.29.084.55.215.782.393.231.179.429.409.592.69.164.278.29.61.377.998.087.384.13.825.13 1.323Zm-1.648 1.653V257.6c0-.3-.017-.562-.051-.786a2.31 2.31 0 0 0-.143-.571 1.209 1.209 0 0 0-.239-.387.875.875 0 0 0-.325-.217 1.158 1.158 0 0 0-.405-.068c-.186 0-.351.036-.496.108a.919.919 0 0 0-.359.348 1.874 1.874 0 0 0-.228.627c-.05.258-.074.574-.074.946v1.876c0 .3.015.564.046.792.034.228.083.424.148.588.068.159.148.29.24.393a.876.876 0 0 0 .324.217c.126.045.262.068.41.068.183 0 .345-.036.485-.108a.951.951 0 0 0 .365-.354 1.84 1.84 0 0 0 .228-.638c.05-.263.074-.582.074-.958Zm2.742-3.039v-.439c0-.315.069-.602.206-.861.137-.258.338-.465.604-.621.266-.156.593-.234.98-.234.4 0 .732.078.998.234.27.156.471.363.605.621.136.259.205.546.205.861v.439c0 .308-.069.591-.205.85a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.396 0-.728-.078-.998-.234a1.559 1.559 0 0 1-.604-.621 1.79 1.79 0 0 1-.205-.85Zm1.09-.439v.439c0 .133.024.261.074.382a.711.711 0 0 0 .239.291c.11.072.243.108.399.108a.68.68 0 0 0 .399-.108.684.684 0 0 0 .228-.291c.05-.121.074-.249.074-.382v-.439c0-.14-.026-.27-.08-.387a.653.653 0 0 0-.633-.405.663.663 0 0 0-.627.405.989.989 0 0 0-.074.387Zm2.878 5.108v-.439c0-.311.069-.596.206-.855a1.6 1.6 0 0 1 .61-.621c.27-.156.6-.234.992-.234.395 0 .726.078.992.234.266.156.467.363.604.621.137.259.205.544.205.855v.439c0 .312-.068.597-.205.856a1.52 1.52 0 0 1-.599.621c-.266.156-.595.234-.986.234-.395 0-.728-.078-.998-.234a1.589 1.589 0 0 1-.615-.621 1.803 1.803 0 0 1-.206-.856Zm1.095-.439v.439c0 .137.03.266.091.388s.145.219.251.291c.11.072.238.108.382.108.182 0 .325-.036.428-.108a.543.543 0 0 0 .21-.291c.042-.122.063-.251.063-.388v-.439a.92.92 0 0 0-.08-.382.666.666 0 0 0-.632-.404.67.67 0 0 0-.4.114.68.68 0 0 0-.233.29.92.92 0 0 0-.08.382Zm1.117-5.079-4.053 6.488-.798-.422 4.053-6.488.798.422Z"
          fill="${r(10)}"
        />
        <path
          d="M68.487 258.703h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
      </g>
      <defs>
        <linearGradient
          ${qo(e)}
          id="thermometerGradient"
          x1="69.46"
          y1="5.973"
          x2="69.46"
          y2="356.243"
          gradientUnits="userSpaceOnUse"
        >
          <stop offset="0.6" stop-color="#fff" />
          <stop offset="0.6" stop-color="${t}" />
        </linearGradient>
        <linearGradient
          id="paint1_linear_3_3385"
          x1="69.46"
          y1="5.973"
          x2="69.46"
          y2="356.243"
          gradientUnits="userSpaceOnUse"
        >
          <stop />
        </linearGradient>
        <filter
          id="filter0_dd_3_3385"
          x="7.189"
          y=".135"
          width="124.541"
          height="369.73"
          filterUnits="userSpaceOnUse"
          color-interpolation-filters="sRGB"
        >
          <feFlood flood-opacity="0" result="BackgroundImageFix" />
          <feColorMatrix
            in="SourceAlpha"
            values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
            result="hardAlpha"
          />
          <feMorphology radius="1.946" in="SourceAlpha" result="effect1_dropShadow_3_3385" />
          <feOffset dy="1.946" />
          <feGaussianBlur stdDeviation="1.946" />
          <feColorMatrix
            values="0 0 0 0 0.0705882 0 0 0 0 0.0980392 0 0 0 0 0.14902 0 0 0 0.06 0"
          />
          <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_3_3385" />
          <feColorMatrix
            in="SourceAlpha"
            values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
            result="hardAlpha"
          />
          <feMorphology radius="1.946" in="SourceAlpha" result="effect2_dropShadow_3_3385" />
          <feOffset dy="3.892" />
          <feGaussianBlur stdDeviation="3.892" />
          <feColorMatrix
            values="0 0 0 0 0.0941176 0 0 0 0 0.0941176 0 0 0 0 0.105882 0 0 0 0.1 0"
          />
          <feBlend in2="effect1_dropShadow_3_3385" result="effect2_dropShadow_3_3385" />
          <feBlend in="SourceGraphic" in2="effect2_dropShadow_3_3385" result="shape" />
        </filter>
        <filter
          id="filter1_d_3_3385"
          x="-1.568"
          y="4.027"
          width="104.108"
          height="266.595"
          filterUnits="userSpaceOnUse"
          color-interpolation-filters="sRGB"
        >
          <feFlood flood-opacity="0" result="BackgroundImageFix" />
          <feColorMatrix
            in="SourceAlpha"
            values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
            result="hardAlpha"
          />
          <feOffset dy=".973" />
          <feGaussianBlur stdDeviation=".973" />
          <feColorMatrix
            values="0 0 0 0 0.0941176 0 0 0 0 0.0941176 0 0 0 0 0.105882 0 0 0 0.05 0"
          />
          <feBlend in2="BackgroundImageFix" result="effect1_dropShadow_3_3385" />
          <feBlend in="SourceGraphic" in2="effect1_dropShadow_3_3385" result="shape" />
        </filter>
        <clipPath id="clip0_3_3385">
          <path fill="#fff" transform="translate(.378 5)" d="M0 0h98.27v262.703H0z" />
        </clipPath>
      </defs>
    </svg>
  `}var Zl=t((()=>{vt(),Yo()}));function Ql({thermometerGradientElement:e,progressBarColor:t,currentRaisedPercentage:n,raisedPercentage:r,showAmountRaised:i,showRaisedPercentage:a,showGoalAmount:o,goal:s,raised:c,size:l,textColor:u,areDisplayOptionsDisabled:d}){let f=Jc(i?`block`:`hidden`,l===`sm`&&`text-lg`,l===`md`&&`text-3xl`,l===`lg`&&`text-5xl`);return H`
    <div class="flex flex-col gap-2">
      <div class="flex justify-center">
        ${Xl(e,t,n)}
      </div>
      <div class="flex flex-col gap-2 text-center" style="${Qo({color:u})}">
        <div id="raised" class="${f}">
          <span>${`$`+Kl.toLocale(c,!1)}</span>
        </div>
        <div id="goal" class="text-base">
          ${a?Kl.toLocale(r)+`%`:``}
          ${a&&o?` of `:``}
          ${o?`$`+Kl.toLocale(s):``}
          ${d||!o?``:`goal`}
        </div>
      </div>
    </div>
  `}var $l=t((()=>{vt(),es(),Yc(),ql(),Zl()})),eu=r({GivebutterGoalBar:()=>$}),tu,$,nu=t((()=>{vt(),po(),Yo(),es(),ol(),gs(),ms(),Cl(),O(),ys(),Yl(),$l(),yo(),tu=1e3*10,$=class extends hs{constructor(){super(),this.thermometerGradientElement=Wo(),this.currentRaisedPercentage=0,this.isThermometerGradientUpdating=!1,this.areDisplayOptionsDisabled=!0,this.class=``,this.type=`progress-bar`,this.goal=0,this.raised=0,this.raisedPercentage=0,this.textColor=`#000`,this.padding=16,this.progressBarColor=`green`,this.fillColor=`red`,this.borderColor=``,this.borderWidth=1,this.borderRadius=0,this.backgroundColor=`#FFF`,this.size=`md`,this.maxWidth=`100%`,this.showGoalAmount=!0,this.showAmountRaised=!0,this.showRaisedPercentage=!0,this.componentType=fs.GOAL_BAR}connectedCallback(){super.connectedCallback(),this.dataController=new al({host:this,queryFn:()=>S(this.account,this.campaign),cacheTime:tu,retryCount:1,onSuccess:e=>{e.goal>0&&(this.goal=e.goal,this.raised=e.raised,this.raisedPercentage=e.raised_percentage)},shouldStopInterval:e=>e.goal<=0})}disconnectedCallback(){super.disconnectedCallback()}updated(e){if(e.has(`type`)&&(this.currentRaisedPercentage=0),e.has(`raised`)||e.has(`raisedPercentage`)||e.has(`type`)){let e=this.raisedPercentage>100?100:this.raisedPercentage;e===0?this.updateThermometerGradient(0):(this.isThermometerGradientUpdating=!0,Sl.animate(this.currentRaisedPercentage,e,e=>{this.updateThermometerGradient(e)},()=>{this.isThermometerGradientUpdating=!1}))}this.areDisplayOptionsDisabled=!this.showGoalAmount&&!this.showAmountRaised&&!this.showRaisedPercentage}render(){return H`
      <div style=${Qo({maxWidth:this.maxWidth})} class="${this.class}">
        ${this.type===`progress-bar`?Jl(this):Ql(this)}
      </div>
    `}updateThermometerGradient(e){if(this.currentRaisedPercentage=e,this.thermometerGradientElement.value){let t=e===100?0:-.007*e+.785,n=this.thermometerGradientElement.value.querySelectorAll(`stop`);n[0].setAttribute(`offset`,t.toString()),n[1].setAttribute(`offset`,t.toString())}}},K([io()],$.prototype,`currentRaisedPercentage`,void 0),K([io()],$.prototype,`isThermometerGradientUpdating`,void 0),K([io()],$.prototype,`areDisplayOptionsDisabled`,void 0),K([G({type:String})],$.prototype,`class`,void 0),K([G({type:String,attribute:`type`})],$.prototype,`type`,void 0),K([G({type:Number,attribute:`goal`})],$.prototype,`goal`,void 0),K([G({type:Number,attribute:`raised`})],$.prototype,`raised`,void 0),K([G({type:Number,attribute:`raised-percentage`})],$.prototype,`raisedPercentage`,void 0),K([G({type:String,attribute:`text-color`})],$.prototype,`textColor`,void 0),K([G({type:Number,attribute:`padding`})],$.prototype,`padding`,void 0),K([G({type:String,attribute:`progress-bar-color`})],$.prototype,`progressBarColor`,void 0),K([G({type:String,attribute:`progress-color`})],$.prototype,`fillColor`,void 0),K([G({type:String,attribute:`border-color`})],$.prototype,`borderColor`,void 0),K([G({type:Number,attribute:`border-width`})],$.prototype,`borderWidth`,void 0),K([G({type:Number,attribute:`border-radius`})],$.prototype,`borderRadius`,void 0),K([G({type:String,attribute:`background-color`})],$.prototype,`backgroundColor`,void 0),K([G({type:String,attribute:`size`})],$.prototype,`size`,void 0),K([G({type:String,attribute:`max-width`})],$.prototype,`maxWidth`,void 0),K([G({type:Boolean,attribute:`show-goal-amount`,converter:vs._boolean})],$.prototype,`showGoalAmount`,void 0),K([G({type:Boolean,attribute:`show-amount-raised`,converter:vs._boolean})],$.prototype,`showAmountRaised`,void 0),K([G({type:Boolean,attribute:`show-raised-percentage`,converter:vs._boolean})],$.prototype,`showRaisedPercentage`,void 0),$=K([$a(`givebutter-goal-bar`)],$)})),ru,iu,au=t((()=>{ut(),Fo(),ru=class extends Po{constructor(e){if(super(e),this.it=U,e.type!==Mo.CHILD)throw Error(this.constructor.directiveName+`() can only be used in child bindings`)}render(e){if(e===U||e==null)return this._t=void 0,this.it=e;if(e===Ye)return e;if(typeof e!=`string`)throw Error(this.constructor.directiveName+`() called with a non-string value`);if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}},ru.directiveName=`unsafeHTML`,ru.resultType=1,iu=No(ru)})),ou=t((()=>{au()})),su,cu,lu,uu,du,fu,pu,mu,hu=t((()=>{su=e=>{var t,n;return e.hasAttribute(`href`)&&((t=(n=e.getAttribute(`href`))==null?void 0:n.startsWith(`#`))==null?!1:t)},cu=e=>{let t=e.getAttribute(`href`);return t?t.substring(1):null},lu=e=>{var t;!((t=window.parent)==null||(t=t.location)==null)&&t.href?window.parent.history.pushState(null,``,`#${e}`):history.pushState(null,``,`#${e}`)},uu=()=>window.location.hash?window.location.hash.substring(1):``,du=()=>{if(window.parent&&window.parent!==window){var e;let t=(e=window.parent)==null||(e=e.location)==null?void 0:e.hash;return t?t.substring(1):``}return``},fu=(e,t)=>e.getElementById(t)||e.querySelector(`[id="${t}"]`)||e.querySelector(`[name="${t}"], a[name="${t}"]`),pu=e=>e.tagName===`A`&&!e.textContent&&e.parentElement||e,mu=(e,t=80)=>{let n=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:n,behavior:`smooth`})}})),gu=r({GivebutterHTMLRenderer:()=>vu}),_u,vu,yu=t((()=>{vt(),po(),ou(),hu(),yo(),vu=(_u=class extends mt{constructor(...e){super(...e),this.html=``,this.SCROLL_OFFSET=80,this.clickHandler=this.handleAnchorClick.bind(this),this.popstateHandler=this.checkAndHandleUrlHash.bind(this)}connectedCallback(){super.connectedCallback(),window.addEventListener(`popstate`,this.popstateHandler),setTimeout(()=>this.checkAndHandleUrlHash(),200)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener(`popstate`,this.popstateHandler),this.shadowRoot&&this.shadowRoot.removeEventListener(`click`,this.clickHandler,!0)}handleAnchorClick(e){let t=e.target.closest(`a`);if(t&&su(t)){e.preventDefault(),e.stopPropagation();let n=cu(t);n&&(this.scrollToAnchor(n),lu(n))}}checkAndHandleUrlHash(){let e=uu();if(!e){let e=du();if(e)return this.scrollToAnchor(e)}return e?this.scrollToAnchor(e):!1}scrollToAnchor(e){if(!this.shadowRoot)return!1;let t=fu(this.shadowRoot,e);return t?(mu(pu(t),this.SCROLL_OFFSET),!0):!1}render(){return this.html?H`${iu(this.html)}`:``}},_u.styles=se`
    :host {
      all: initial;
      font-family: Matter, sans-serif;
      word-break: break-word;
      overflow-wrap: break-word;
      font-size: 16px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    p {
      font-size: 1.125rem;
    }

    a {
      color: #568fdf;
    }

    img,
    iframe,
    video {
      max-width: 100%;
      box-sizing: border-box;
      vertical-align: middle;
    }

    img,
    video {
      height: auto;
    }

    /* Horizontal YouTube embeds (if they don't already have a wrapper) */
    :not([style*='relative']) > iframe[src*='youtube.com']:not([data-video-vertical]),
    :not([style*='relative']) > iframe[src*='youtube-nocookie.com']:not([data-video-vertical]),
    :not([style*='relative']) > iframe[src*='youtu.be']:not([data-video-vertical]) {
      aspect-ratio: 16 / 9;
      height: auto !important;
      width: 100% !important;
    }

    /* Vertical video embeds (any source) */
    :not([style*='relative']) > iframe[data-video-vertical] {
      aspect-ratio: 9 / 16;
      height: auto !important;
      width: 100% !important;
    }

    ol li p,
    ul li p,
    table p {
      margin: 0;
    }

    table {
      border-collapse: collapse;
    }
  `,_u),K([G({type:String,attribute:`html`})],vu.prototype,`html`,void 0),vu=K([$a(`givebutter-html-renderer`)],vu)}));O(),M(),f(),a(),h(),function(){var e=m(function*(){if(window.gbWidgets=window.gbWidgets||{},!window.gbWidgets.init){C(),j();try{yield Promise.resolve().then(()=>(Co(),bo)),yield Promise.resolve().then(()=>(Es(),bs)),yield Promise.resolve().then(()=>($c(),Xc)),yield Promise.resolve().then(()=>(ll(),sl)),yield Promise.resolve().then(()=>(bl(),yl)),yield Promise.resolve().then(()=>(nu(),eu)),yield Promise.resolve().then(()=>(vl(),fl)),yield Promise.resolve().then(()=>(yu(),gu))}catch(e){i.error(`Error initializing web components`,e)}window.gbWidgets.init=!0,d.getPlatform()===c.godaddy&&d.isInsideIframe()&&re()}});return function(){return e.apply(this,arguments)}}()()});
//# sourceMappingURL=widgets.min.js.map