(function(ue){ue()})(function(){var ue,U;(()=>{function e(l,d,c,p,w,v,u){try{var _=l[v](u),E=_.value}catch(z){c(z);return}_.done?d(E):Promise.resolve(E).then(p,w)}function t(l){return function(){var d=this,c=arguments;return new Promise(function(p,w){var v=l.apply(d,c);function u(E){e(v,p,w,u,_,"next",E)}function _(E){e(v,p,w,u,_,"throw",E)}u(void 0)})}}function o(l){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},o(l)}function i(l,d){if(o(l)!="object"||!l)return l;var c=l[Symbol.toPrimitive];if(c!==void 0){var p=c.call(l,d||"default");if(o(p)!="object")return p;throw TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(l)}function r(l){var d=i(l,"string");return o(d)=="symbol"?d:d+""}function s(l,d,c){return(d=r(d))in l?Object.defineProperty(l,d,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[d]=c,l}function n(l,d){var c=Object.keys(l);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(l);d&&(p=p.filter(function(w){return Object.getOwnPropertyDescriptor(l,w).enumerable})),c.push.apply(c,p)}return c}function a(l){for(var d=1;d<arguments.length;d++){var c=arguments[d]==null?{}:arguments[d];d%2?n(Object(c),!0).forEach(function(p){s(l,p,c[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(c)):n(Object(c)).forEach(function(p){Object.defineProperty(l,p,Object.getOwnPropertyDescriptor(c,p))})}return l}ue=t,U=a})();var ec=Object.create,_r=Object.defineProperty,tc=Object.getOwnPropertyDescriptor,xr=Object.getOwnPropertyNames,oc=Object.getPrototypeOf,ic=Object.prototype.hasOwnProperty,h=(e,t)=>function(){return e&&(t=(0,e[xr(e)[0]])(e=0)),t},kr=(e,t)=>function(){return t||(0,e[xr(e)[0]])((t={exports:{}}).exports,t),t.exports},Ct=e=>{let t={};for(var o in e)_r(t,o,{get:e[o],enumerable:!0});return t},rc=(e,t,o,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=xr(t),s=0,n=r.length,a;s<n;s++)a=r[s],!ic.call(e,a)&&a!==o&&_r(e,a,{get:(l=>t[l]).bind(null,a),enumerable:!(i=tc(t,a))||i.enumerable});return e},nc=(e,t,o)=>(o=e!=null?ec(oc(e)):{},rc(t||!e||!e.__esModule?_r(o,"default",{value:e,enumerable:!0}):o,e));function sc(e){return{href:e.href,protocol:e.protocol,username:e.username,password:e.password,host:e.host,hostname:e.hostname,port:e.port,pathname:e.pathname,search:e.search,searchParams:[...e.searchParams].map(([t,o])=>({key:t,value:o})),hash:e.hash,origin:e.origin}}var ac=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/urlToObj.js":(()=>{})}),xi,gs=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/prettyLogStyles.js":(()=>{xi={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}})});function Cr(e,t,o,i=!1){const r=String(t),s=(l,d)=>`\x1B[${d[0]}m${l}\x1B[${d[1]}m`,n=(l,d)=>d!=null&&typeof d=="string"?s(l,xi[d]):d!=null&&Array.isArray(d)?d.reduce((c,p)=>n(c,p),l):d!=null&&d[l.trim()]!=null?n(l,d[l.trim()]):d!=null&&d["*"]!=null?n(l,d["*"]):l,a=null;return r.replace(/{{(.+?)}}/g,(l,d)=>{var c,p;const w=o[d]!=null?String(o[d]):i?"":l;return e.stylePrettyLogs?n(w,(c=e==null||(p=e.prettyLogStyles)===null||p===void 0?void 0:p[d])!==null&&c!==void 0?c:a)+s("",xi.reset):w})}var bs=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/formatTemplate.js":(()=>{gs()})});function Qe(e,t=2,o=0){return e!=null&&isNaN(e)?"":(e=e!=null?e+o:e,t===2?e==null?"--":e<10?"0"+e:e.toString():e==null?"---":e<10?"00"+e:e<100?"0"+e:e.toString())}var lc=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/formatNumberAddZeros.js":(()=>{})});function ys(e,t){var o,i,r,s,n,a,l,d,c,p,w,v;if(t==null)return{text:"",template:e.prettyLogTemplate,placeholders:{}};let u=e.prettyLogTemplate;const _={};if(u.includes("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}"))u=u.replace("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}","{{dateIsoStr}}");else if(e.prettyLogTimeZone==="UTC"){var E,z,K,q,N,D,F,H;_.yyyy=(E=(z=t.date)===null||z===void 0?void 0:z.getUTCFullYear())!==null&&E!==void 0?E:"----",_.mm=Qe((K=t.date)===null||K===void 0?void 0:K.getUTCMonth(),2,1),_.dd=Qe((q=t.date)===null||q===void 0?void 0:q.getUTCDate(),2),_.hh=Qe((N=t.date)===null||N===void 0?void 0:N.getUTCHours(),2),_.MM=Qe((D=t.date)===null||D===void 0?void 0:D.getUTCMinutes(),2),_.ss=Qe((F=t.date)===null||F===void 0?void 0:F.getUTCSeconds(),2),_.ms=Qe((H=t.date)===null||H===void 0?void 0:H.getUTCMilliseconds(),3)}else{var y,Y,B,de,me,m,O,S;_.yyyy=(y=(Y=t.date)===null||Y===void 0?void 0:Y.getFullYear())!==null&&y!==void 0?y:"----",_.mm=Qe((B=t.date)===null||B===void 0?void 0:B.getMonth(),2,1),_.dd=Qe((de=t.date)===null||de===void 0?void 0:de.getDate(),2),_.hh=Qe((me=t.date)===null||me===void 0?void 0:me.getHours(),2),_.MM=Qe((m=t.date)===null||m===void 0?void 0:m.getMinutes(),2),_.ss=Qe((O=t.date)===null||O===void 0?void 0:O.getSeconds(),2),_.ms=Qe((S=t.date)===null||S===void 0?void 0:S.getMilliseconds(),3)}const A=e.prettyLogTimeZone==="UTC"?t.date:t.date!=null?new Date(t.date.getTime()-t.date.getTimezoneOffset()*6e4):void 0;_.rawIsoStr=(o=A==null?void 0:A.toISOString())!==null&&o!==void 0?o:"",_.dateIsoStr=(i=A==null?void 0:A.toISOString().replace("T"," ").replace("Z",""))!==null&&i!==void 0?i:"",_.logLevelName=t.logLevelName,_.fileNameWithLine=(r=(s=t.path)===null||s===void 0?void 0:s.fileNameWithLine)!==null&&r!==void 0?r:"",_.filePathWithLine=(n=(a=t.path)===null||a===void 0?void 0:a.filePathWithLine)!==null&&n!==void 0?n:"",_.fullFilePath=(l=(d=t.path)===null||d===void 0?void 0:d.fullFilePath)!==null&&l!==void 0?l:"";let M=(c=e.parentNames)===null||c===void 0?void 0:c.join(e.prettyErrorParentNamesSeparator);M=M!=null&&t.name!=null?M+e.prettyErrorParentNamesSeparator:void 0;const x=t.name!=null||M!=null?`${(p=M)!==null&&p!==void 0?p:""}${(w=t.name)!==null&&w!==void 0?w:""}`:"";return _.name=x,_.nameWithDelimiterPrefix=x.length>0?e.prettyErrorLoggerNameDelimiter+x:"",_.nameWithDelimiterSuffix=x.length>0?x+e.prettyErrorLoggerNameDelimiter:"",((v=e.overwrite)===null||v===void 0?void 0:v.addPlaceholders)!=null&&e.overwrite.addPlaceholders(t,_),{text:Cr(e,u,_),template:u,placeholders:_}}var dc=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/internal/metaFormatting.js":(()=>{bs(),lc()})});function cc(e){const t=typeof(e==null?void 0:e.stack)=="string"?e.stack:void 0;return t==null||t.length===0?[]:t.split(`
`).map(o=>o.trimEnd())}function uc(e){return e.filter(t=>t.length>0&&!/^\s*Error\b/.test(t))}function pc(e,t){const o=[];for(const i of e){const r=t(i);r!=null&&o.push(r)}return o}function hc(e,t=Or){for(let r=0;r<e.length;r+=1){var o,i;const s=e[r],n=(o=s.filePath)!==null&&o!==void 0?o:"",a=(i=s.fullFilePath)!==null&&i!==void 0?i:"";if(!t.some(l=>l.test(n)||l.test(a)))return r}return 0}function fc(e){return uc(cc(e))}function Sr(e,t){return pc(fc(e),t)}function ws(e,t){return e<0?0:e>=t?Math.max(0,t-1):e}function _s(){return[...Or]}var Or,mc=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/internal/stackTrace.js":(()=>{Or=[/(?:^|[\\/])node_modules[\\/].*tslog/i,/(?:^|[\\/])deps[\\/].*tslog/i,/tslog[\\/]+src[\\/]+internal[\\/]/i,/tslog[\\/]+src[\\/]BaseLogger/i,/tslog[\\/]+src[\\/]index/i]})});function vc(e,t={}){var o;const i=(o=t.maxDepth)!==null&&o!==void 0?o:ks,r=[],s=new Set;let n=e,a=0;for(;n!=null&&a<i;){const l=n==null?void 0:n.cause;if(l==null||s.has(l))break;s.add(l),r.push(xs(l)),n=l,a+=1}return r}function xs(e){if(e instanceof Error)return e;const t=new Error(typeof e=="string"?e:JSON.stringify(e));return typeof e=="object"&&e!=null&&Object.assign(t,e),t}var ks,gc=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/internal/errorUtils.js":(()=>{ks=5})});function Cs(e){const t=new Set;return JSON.stringify(e,(o,i)=>{if(typeof i=="object"&&i!==null){if(t.has(i))return"[Circular]";t.add(i)}return typeof i=="bigint"?`${i}`:typeof i=="undefined"?"[undefined]":i})}var Ss=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/internal/jsonStringifyRecursive.js":(()=>{})});function We(e,t){const o={seen:[],stylize:Os};return t!=null&&Ms(o,t),uo(o.showHidden)&&(o.showHidden=!1),uo(o.depth)&&(o.depth=2),uo(o.colors)&&(o.colors=!0),uo(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=yc),Si(o,e,o.depth)}function bc(e){return typeof e=="boolean"}function uo(e){return e===void 0}function Os(e){return e}function yc(e,t){var o,i;const r=We.styles[t];return r!=null&&(We==null||(o=We.colors)===null||o===void 0||(o=o[r])===null||o===void 0?void 0:o[0])!=null&&(We==null||(i=We.colors)===null||i===void 0||(i=i[r])===null||i===void 0?void 0:i[1])!=null?"\x1B["+We.colors[r][0]+"m"+e+"\x1B["+We.colors[r][1]+"m":e}function ki(e){return typeof e=="function"}function Es(e){return typeof e=="string"}function wc(e){return typeof e=="number"}function As(e){return e===null}function Ts(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Er(e){return Ci(e)&&Tr(e)==="[object RegExp]"}function Ci(e){return typeof e=="object"&&e!==null}function Ar(e){return Ci(e)&&(Tr(e)==="[object Error]"||e instanceof Error)}function $s(e){return Ci(e)&&Tr(e)==="[object Date]"}function Tr(e){return Object.prototype.toString.call(e)}function _c(e){const t={};return e.forEach(o=>{t[o]=!0}),t}function xc(e,t,o,i,r){const s=[];for(let n=0,a=t.length;n<a;++n)Ts(t,String(n))?s.push(Mr(e,t,o,i,String(n),!0)):s.push("");return r.forEach(n=>{n.match(/^\d+$/)||s.push(Mr(e,t,o,i,n,!0))}),s}function $r(e){return"["+Error.prototype.toString.call(e)+"]"}function Si(e,t,o=0){if(e.customInspect&&t!=null&&ki(t)&&(t==null?void 0:t.inspect)!==We&&!(t!=null&&t.constructor&&(t==null?void 0:t.constructor.prototype)===t)){if(typeof t.inspect!="function"&&t.toString!=null)return t.toString();let c=t==null?void 0:t.inspect(o,e);return Es(c)||(c=Si(e,c,o)),c}const i=Bt(e,t);if(i)return i;let r=Object.keys(t);const s=_c(r);try{e.showHidden&&Object.getOwnPropertyNames&&(r=Object.getOwnPropertyNames(t))}catch(c){}if(Ar(t)&&(r.indexOf("message")>=0||r.indexOf("description")>=0))return $r(t);if(r.length===0)if(ki(e.stylize)){if(ki(t)){const c=t.name?": "+t.name:"";return e.stylize("[Function"+c+"]","special")}if(Er(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if($s(t))return e.stylize(Date.prototype.toISOString.call(t),"date");if(Ar(t))return $r(t)}else return t;let n="",a=!1,l=[`{
`,`
}`];if(Array.isArray(t)&&(a=!0,l=[`[
`,`
]`]),ki(t)&&(n=" [Function"+(t.name?": "+t.name:"")+"]"),Er(t)&&(n=" "+RegExp.prototype.toString.call(t)),$s(t)&&(n=" "+Date.prototype.toUTCString.call(t)),Ar(t)&&(n=" "+$r(t)),r.length===0&&(!a||t.length==0))return l[0]+n+l[1];if(o<0)return Er(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);let d;return a?d=xc(e,t,o,s,r):d=r.map(c=>Mr(e,t,o,s,c,a)),e.seen.pop(),kc(d,n,l)}function Mr(e,t,o,i,r,s){let n,a,l={value:void 0};try{l.value=t[r]}catch(d){}try{Object.getOwnPropertyDescriptor&&(l=Object.getOwnPropertyDescriptor(t,r)||l)}catch(d){}if(l.get?l.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),Ts(i,r)||(n="["+r+"]"),a||(e.seen.indexOf(l.value)<0?(As(o)?a=Si(e,l.value,void 0):a=Si(e,l.value,o-1),a.indexOf(`
`)>-1&&(s?a=a.split(`
`).map(d=>"  "+d).join(`
`).substr(2):a=`
`+a.split(`
`).map(d=>"   "+d).join(`
`))):a=e.stylize("[Circular]","special")),uo(n)){if(s&&r.match(/^\d+$/))return a;n=JSON.stringify(""+r),n.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(n=n.substr(1,n.length-2),n=e.stylize(n,"name")):(n=n.replace(/'/g,"\\'").replace(/\\"/g,"\\'").replace(/(^"|"$)/g,"'"),n=e.stylize(n,"string"))}return n+": "+a}function Bt(e,t){if(uo(t))return e.stylize("undefined","undefined");if(Es(t)){const o="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,"\\'")+"'";return e.stylize(o,"string")}if(wc(t))return e.stylize(""+t,"number");if(bc(t))return e.stylize(""+t,"boolean");if(As(t))return e.stylize("null","null")}function kc(e,t,o){return o[0]+(t===""?"":t+`
`)+"  "+e.join(`,
  `)+" "+o[1]}function Ms(e,t){const o=U({},e);if(!t||!Ci(t))return e;const i=U({},t),r=Object.keys(t);let s=r.length;for(;s--;)o[r[s]]=i[r[s]];return o}function Cc(e,...t){const o={seen:[],stylize:Os};e!=null&&Ms(o,e);const i=t[0];let r=0,s="",n="";if(typeof i=="string"){if(t.length===1)return i;let a,l=0;for(let d=0;d<i.length-1;d++)if(i.charCodeAt(d)===37){const c=i.charCodeAt(++d);if(r+1!==t.length){switch(c){case 115:{const p=t[++r];typeof p=="number"||typeof p=="bigint"?a=Bt(o,p):typeof p!="object"||p===null?a=String(p):a=We(p,U(U({},e),{},{compact:3,colors:!1,depth:0}));break}case 106:a=Cs(t[++r]);break;case 100:{const p=t[++r];typeof p=="bigint"?a=Bt(o,p):typeof p=="symbol"?a="NaN":a=Bt(o,p);break}case 79:a=We(t[++r],e);break;case 111:a=We(t[++r],U(U({},e),{},{showHidden:!0,showProxy:!0,depth:4}));break;case 105:{const p=t[++r];typeof p=="bigint"?a=Bt(o,p):typeof p=="symbol"?a="NaN":a=Bt(o,parseInt(a));break}case 102:{const p=t[++r];typeof p=="symbol"?a="NaN":a=Bt(o,parseInt(p));break}case 99:r+=1,a="";break;case 37:s+=i.slice(l,d),l=d+1;continue;default:continue}l!==d-1&&(s+=i.slice(l,d-1)),s+=a,l=d+1}else c===37&&(s+=i.slice(l,d),l=d+1)}l!==0&&(r++,n=" ",l<i.length&&(s+=i.slice(l)))}for(;r<t.length;){const a=t[r];s+=n,s+=typeof a!="string"?We(a,e):a,n=" ",r++}return s}var Sc=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/internal/util.inspect.polyfill.js":(()=>{gs(),Ss(),We.colors=xi,We.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"}})});function Oc(){try{var e;const o=(e=globalThis)===null||e===void 0?void 0:e.process;if(typeof(o==null?void 0:o.cwd)=="function")return o.cwd()}catch(o){}try{var t;const o=(t=globalThis)===null||t===void 0?void 0:t.Deno;if(typeof(o==null?void 0:o.cwd)=="function")return o.cwd()}catch(o){}}function Ns(){return typeof window!="undefined"&&typeof document!="undefined"}function Ec(){var e,t,o,i;if(!Ns())return!1;const r=(e=(t=globalThis)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.userAgent)!==null&&e!==void 0?e:"";return/firefox/i.test(r)||!((o=globalThis)===null||o===void 0||(o=o.CSS)===null||o===void 0||(i=o.supports)===null||i===void 0)&&i.call(o,"color","#000")?!0:/safari/i.test(r)&&!/chrome/i.test(r)}var Ac=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/internal/environment.js":(()=>{})}),Ls=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/interfaces.js":(()=>{})});function Tc(){const e=y(),t=N(e),o=e.name==="browser"||e.name==="worker",i=o?[..._s(),/node_modules[\\/].*tslog/i]:[..._s(),/node:(?:internal|vm)/i,/\binternal[\\/]/i];let r;const s={getMeta(m,O,S,A,M,x){return Object.assign({},t,{name:M,parentNames:x,date:new Date,logLevelId:m,logLevelName:O,path:A?void 0:s.getCallerStackFrame(S)})},getCallerStackFrame(m,O=new Error){var S;const A=Sr(O,ee=>n(ee));if(A.length===0)return{};const M=hc(A,i),x=Number.isFinite(m)&&m>=0?ws(m,A.length):ws(M,A.length);return(S=A[x])!==null&&S!==void 0?S:{}},getErrorTrace(m){return Sr(m,O=>n(O))},isError(m){return me(m)},isBuffer(m){return typeof Buffer!="undefined"&&typeof Buffer.isBuffer=="function"?Buffer.isBuffer(m):!1},prettyFormatLogObj(m,O){return m.reduce((S,A)=>(s.isError(A)?S.errors.push(s.prettyFormatErrorObj(A,O)):S.args.push(A),S),{args:[],errors:[]})},prettyFormatErrorObj(m,O){const S=d(s.getErrorTrace(m),O),A=vc(m).map((x,ee)=>{var X;const L=`Caused by (${ee+1}): ${(X=x.name)!==null&&X!==void 0?X:"Error"}${x.message?`: ${x.message}`:""}`,R=d(Sr(x,W=>n(W)),O);return[L,...R].join(`
`)}),M={errorName:` ${m.name} `,errorMessage:c(m),errorStack:[...S,...A].join(`
`)};return Cr(O,O.prettyErrorTemplate,M)},transportFormatted(m,O,S,A,M){const x=M.stylePrettyLogs!==!1,ee=(S.length>0&&O.length>0?`
`:"")+S.join(`
`),X=w(m),L=x?m:X;if(p(x)){M.prettyInspectOptions.colors=!1;const W=D(M.prettyInspectOptions,O),re=A!=null?v(M,A):{text:X,styles:[]},ve=re.text.length>0&&re.styles.length>0,le=(ve?re.text:X)+W+ee;ve?console.log(le,...re.styles):console.log(le);return}M.prettyInspectOptions.colors=x;const R=D(M.prettyInspectOptions,O);console.log(L+R+ee)},transportJSON(m){console.log(Cs(m))}};return de()==="test"&&(s.__resetWorkingDirectoryCacheForTests=()=>{r=void 0}),s;function n(m){return o?l(m):a(m)}function a(m){var O,S;if(typeof m!="string"||m.length===0)return;const A=m.trim();if(!A.includes(" at ")&&!A.startsWith("at "))return;const M=A.replace(/^at\s+/,"");let x,ee=M;const X=M.match(/^(.*?)\s+\((.*)\)$/);X&&(x=X[1],ee=X[2]);const L=ee.replace(/^\(/,"").replace(/\)$/,""),R=L.replace(/\?.*$/,"");let W,re,ve=R;const le=R.split(":");le.length>=3&&/^\d+$/.test((O=le[le.length-1])!==null&&O!==void 0?O:"")?(re=le.pop(),W=le.pop(),ve=le.join(":")):le.length>=2&&/^\d+$/.test((S=le[le.length-1])!==null&&S!==void 0?S:"")&&(W=le.pop(),ve=le.join(":"));let te=ve.replace(/^file:\/\//,"");const Ae=z();Ae!=null&&te.startsWith(Ae)&&(te=te.slice(Ae.length),te=te.replace(/^[\\/]/,"")),te.length===0&&(te=ve);const Ie=H(te),Ne=Ie.length>0?Ie:te,Le=Ne.split(/\\|\//),je=Le[Le.length-1],qt=je&&W?`${je}:${W}`:void 0,Rt=Ne&&W?`${Ne}:${W}`:void 0;return{fullFilePath:L,fileName:je,fileNameWithLine:qt,fileColumn:re,fileLine:W,filePath:Ne,filePathWithLine:Rt,method:x}}function l(m){var O,S;const A=(O=globalThis.location)===null||O===void 0?void 0:O.origin;if(m==null)return;const M=m.match(Rs);if(!M)return;const x=(S=M[1])===null||S===void 0?void 0:S.replace(/\?.*$/,"");if(x==null)return;const ee=x.split("/"),X=M[2],L=M[3],R=ee[ee.length-1];return{fullFilePath:A?`${A}${x}`:x,fileName:R,fileNameWithLine:R&&X?`${R}:${X}`:void 0,fileColumn:L,fileLine:X,filePath:x,filePathWithLine:X?`${x}:${X}`:void 0,method:void 0}}function d(m,O){return m.map(S=>Cr(O,O.prettyErrorStackTemplate,U({},S),!0))}function c(m){return Object.getOwnPropertyNames(m).filter(O=>O!=="stack"&&O!=="cause").reduce((O,S)=>{const A=m[S];return typeof A=="function"||O.push(String(A)),O},[]).join(", ")}function p(m){return m&&(e.name==="browser"||e.name==="worker")&&Ec()}function w(m){return m.replace(js,"")}function v(m,O){if(O==null)return{text:"",styles:[]};const{template:S,placeholders:A}=ys(m,O),M=[],x=[];let ee=0;const X=/{{(.+?)}}/g;let L;for(;(L=X.exec(S))!=null;){var R;L.index>ee&&M.push(S.slice(ee,L.index));const W=L[1],re=A[W]!=null?String(A[W]):"",ve=u((R=m.prettyLogStyles)===null||R===void 0?void 0:R[W],re),le=_(ve);le.length>0?(M.push(`%c${re}%c`),x.push(le,"")):M.push(re),ee=X.lastIndex}return ee<S.length&&M.push(S.slice(ee)),{text:M.join(""),styles:x}}function u(m,O){if(m==null)return[];if(typeof m=="string")return[m];if(Array.isArray(m))return m.flatMap(A=>u(A,O));if(typeof m=="object"){var S;const A=O.trim(),M=(S=m[A])!==null&&S!==void 0?S:m["*"];return M==null?[]:u(M,O)}return[]}function _(m){const O=new Set,S=[];for(const A of m){const M=E(A);M!=null&&M.length>0&&!O.has(M)&&(O.add(M),S.push(M))}return S.join("; ")}function E(m){const O=Ps[m];if(O!=null)return`color: ${O}`;const S=Is[m];if(S!=null)return`background-color: ${S}`;switch(m){case"bold":return"font-weight: bold";case"dim":return"opacity: 0.75";case"italic":return"font-style: italic";case"underline":return"text-decoration: underline";case"overline":return"text-decoration: overline";case"inverse":return"filter: invert(1)";case"hidden":return"visibility: hidden";case"strikethrough":return"text-decoration: line-through";default:return}}function z(){var m,O;return r===void 0&&(r=(m=Oc())!==null&&m!==void 0?m:null),(O=r)!==null&&O!==void 0?O:void 0}function K(){return e.name==="node"||e.name==="deno"||e.name==="bun"}function q(){return e.name==="node"||e.name==="deno"||e.name==="bun"}function N(m){var O,S;if(m.name==="browser"||m.name==="worker")return{runtime:m.name,browser:m.userAgent};const A={runtime:m.name};return q()&&(A.runtimeVersion=(O=m.version)!==null&&O!==void 0?O:"unknown"),K()&&(A.hostname=(S=m.hostname)!==null&&S!==void 0?S:"unknown"),A}function D(m,O){try{return Cc(m,...O)}catch(S){return O.map(F).join(" ")}}function F(m){if(typeof m=="string")return m;try{return JSON.stringify(m)}catch(O){return String(m)}}function H(m){if(typeof m!="string"||m.length===0)return m;const O=m.replace(/\\+/g,"\\").replace(/\\/g,"/"),S=O.startsWith("//"),A=O.startsWith("/")&&!S,M=O.match(/^[A-Za-z]:/),x=M?M[0]:"",ee=(x?O.slice(x.length):O).split("/"),X=[];for(const R of ee)if(!(R===""||R===".")){if(R===".."){X.length>0&&X.pop();continue}X.push(R)}let L=X.join("/");return S?L=`//${L}`:A?L=`/${L}`:x!==""&&(L=`${x}${L.length>0?`/${L}`:""}`),L.length===0?m:L}function y(){var m,O,S,A,M,x,ee;if(Ns())return{name:"browser",userAgent:(m=globalThis.navigator)===null||m===void 0?void 0:m.userAgent};const X=globalThis;if(typeof X.importScripts=="function")return{name:"worker",userAgent:(O=X.navigator)===null||O===void 0?void 0:O.userAgent};const L=globalThis;if(L.Bun!=null){const W=L.Bun.version;return{name:"bun",version:W!=null?`bun/${W}`:void 0,hostname:Y(L.process,L.Deno,L.Bun,L.location)}}if(L.Deno!=null){var R;const W=B(L.Deno),re=(R=L.Deno)===null||R===void 0||(R=R.version)===null||R===void 0?void 0:R.deno;return{name:"deno",version:re!=null?`deno/${re}`:void 0,hostname:W!=null?W:Y(L.process,L.Deno,L.Bun,L.location)}}return((S=L.process)===null||S===void 0||(S=S.versions)===null||S===void 0?void 0:S.node)!=null||((A=L.process)===null||A===void 0?void 0:A.version)!=null?{name:"node",version:(M=(x=L.process)===null||x===void 0||(x=x.versions)===null||x===void 0?void 0:x.node)!==null&&M!==void 0?M:(ee=L.process)===null||ee===void 0?void 0:ee.version,hostname:Y(L.process,L.Deno,L.Bun,L.location)}:L.process!=null?{name:"node",version:"unknown",hostname:Y(L.process,L.Deno,L.Bun,L.location)}:{name:"unknown"}}function Y(m,O,S,A){var M,x,ee,X,L,R,W,re,ve,le;const te=(M=(x=m==null||(ee=m.env)===null||ee===void 0?void 0:ee.HOSTNAME)!==null&&x!==void 0?x:m==null||(X=m.env)===null||X===void 0?void 0:X.HOST)!==null&&M!==void 0?M:m==null||(L=m.env)===null||L===void 0?void 0:L.COMPUTERNAME;if(te!=null&&te.length>0)return te;const Ae=(R=(W=S==null||(re=S.env)===null||re===void 0?void 0:re.HOSTNAME)!==null&&W!==void 0?W:S==null||(ve=S.env)===null||ve===void 0?void 0:ve.HOST)!==null&&R!==void 0?R:S==null||(le=S.env)===null||le===void 0?void 0:le.COMPUTERNAME;if(Ae!=null&&Ae.length>0)return Ae;try{var Ie;const Ne=O==null||(Ie=O.env)===null||Ie===void 0?void 0:Ie.get;if(typeof Ne=="function"){const Le=Ne("HOSTNAME");if(Le!=null&&Le.length>0)return Le}}catch(Ne){}if((A==null?void 0:A.hostname)!=null&&A.hostname.length>0)return A.hostname}function B(m){var O;try{if(typeof(m==null?void 0:m.hostname)=="function"){const A=m.hostname();if(A!=null&&A.length>0)return A}}catch(A){}const S=(O=globalThis.location)===null||O===void 0?void 0:O.hostname;if(S!=null&&S.length>0)return S}function de(){var m;return(m=globalThis)===null||m===void 0||(m=m.process)===null||m===void 0||(m=m.env)===null||m===void 0?void 0:m.NODE_ENV}function me(m){if(m instanceof Error)return!0;if(m!=null&&typeof m=="object"){const O=Object.prototype.toString.call(m);if(/\[object .*Error\]/.test(O))return!0;const S=m.name;if(typeof S=="string"&&S.endsWith("Error"))return!0}return!1}}var js,Ps,Is,Rs,et,Fs,Bs=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/BaseLogger.js":(()=>{ac(),dc(),gc(),bs(),Sc(),mc(),Ac(),Ss(),Ls(),js=/\u001b\[[0-9;]*m/g,Ps={black:"#000000",red:"#ef5350",green:"#66bb6a",yellow:"#fdd835",blue:"#42a5f5",magenta:"#ab47bc",cyan:"#26c6da",white:"#fafafa",blackBright:"#424242",redBright:"#ff7043",greenBright:"#81c784",yellowBright:"#ffe082",blueBright:"#64b5f6",magentaBright:"#ce93d8",cyanBright:"#4dd0e1",whiteBright:"#ffffff"},Is={bgBlack:"#000000",bgRed:"#ef5350",bgGreen:"#66bb6a",bgYellow:"#fdd835",bgBlue:"#42a5f5",bgMagenta:"#ab47bc",bgCyan:"#26c6da",bgWhite:"#fafafa",bgBlackBright:"#424242",bgRedBright:"#ff7043",bgGreenBright:"#81c784",bgYellowBright:"#ffe082",bgBlueBright:"#64b5f6",bgMagentaBright:"#ce93d8",bgCyanBright:"#4dd0e1",bgWhiteBright:"#ffffff"},Rs=/(?:(?:file|https?|global code|[^@]+)@)?(?:file:)?((?:\/[^:/]+){2,})(?::(\d+))?(?::(\d+))?/,et=Tc(),Fs=class{constructor(e,t,o=NaN){var i,r,s,n,a,l,d,c,p,w,v,u,_,E,z,K,q,N,D,F,H,y,Y,B,de,me;this.logObj=t,this.stackDepthLevel=o,this.runtime=et,this.maxErrorCauseDepth=5,this.settings={type:(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"pretty",name:e==null?void 0:e.name,parentNames:e==null?void 0:e.parentNames,minLevel:(r=e==null?void 0:e.minLevel)!==null&&r!==void 0?r:0,argumentsArrayName:e==null?void 0:e.argumentsArrayName,hideLogPositionForProduction:(s=e==null?void 0:e.hideLogPositionForProduction)!==null&&s!==void 0?s:!1,prettyLogTemplate:(n=e==null?void 0:e.prettyLogTemplate)!==null&&n!==void 0?n:"{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}	{{logLevelName}}	{{filePathWithLine}}{{nameWithDelimiterPrefix}}	",prettyErrorTemplate:(a=e==null?void 0:e.prettyErrorTemplate)!==null&&a!==void 0?a:`
{{errorName}} {{errorMessage}}
error stack:
{{errorStack}}`,prettyErrorStackTemplate:(l=e==null?void 0:e.prettyErrorStackTemplate)!==null&&l!==void 0?l:`  • {{fileName}}	{{method}}
	{{filePathWithLine}}`,prettyErrorParentNamesSeparator:(d=e==null?void 0:e.prettyErrorParentNamesSeparator)!==null&&d!==void 0?d:":",prettyErrorLoggerNameDelimiter:(c=e==null?void 0:e.prettyErrorLoggerNameDelimiter)!==null&&c!==void 0?c:"	",stylePrettyLogs:(p=e==null?void 0:e.stylePrettyLogs)!==null&&p!==void 0?p:!0,prettyLogTimeZone:(w=e==null?void 0:e.prettyLogTimeZone)!==null&&w!==void 0?w:"UTC",prettyLogStyles:(v=e==null?void 0:e.prettyLogStyles)!==null&&v!==void 0?v:{logLevelName:{"*":["bold","black","bgWhiteBright","dim"],SILLY:["bold","white"],TRACE:["bold","whiteBright"],DEBUG:["bold","green"],INFO:["bold","blue"],WARN:["bold","yellow"],ERROR:["bold","red"],FATAL:["bold","redBright"]},dateIsoStr:"white",filePathWithLine:"white",name:["white","bold"],nameWithDelimiterPrefix:["white","bold"],nameWithDelimiterSuffix:["white","bold"],errorName:["bold","bgRedBright","whiteBright"],fileName:["yellow"],fileNameWithLine:"white"},prettyInspectOptions:(u=e==null?void 0:e.prettyInspectOptions)!==null&&u!==void 0?u:{colors:!0,compact:!1,depth:1/0},metaProperty:(_=e==null?void 0:e.metaProperty)!==null&&_!==void 0?_:"_meta",maskPlaceholder:(E=e==null?void 0:e.maskPlaceholder)!==null&&E!==void 0?E:"[***]",maskValuesOfKeys:(z=e==null?void 0:e.maskValuesOfKeys)!==null&&z!==void 0?z:["password"],maskValuesOfKeysCaseInsensitive:(K=e==null?void 0:e.maskValuesOfKeysCaseInsensitive)!==null&&K!==void 0?K:!1,maskValuesRegEx:e==null?void 0:e.maskValuesRegEx,prefix:[...(q=e==null?void 0:e.prefix)!==null&&q!==void 0?q:[]],attachedTransports:[...(N=e==null?void 0:e.attachedTransports)!==null&&N!==void 0?N:[]],overwrite:{mask:e==null||(D=e.overwrite)===null||D===void 0?void 0:D.mask,toLogObj:e==null||(F=e.overwrite)===null||F===void 0?void 0:F.toLogObj,addMeta:e==null||(H=e.overwrite)===null||H===void 0?void 0:H.addMeta,addPlaceholders:e==null||(y=e.overwrite)===null||y===void 0?void 0:y.addPlaceholders,formatMeta:e==null||(Y=e.overwrite)===null||Y===void 0?void 0:Y.formatMeta,formatLogObj:e==null||(B=e.overwrite)===null||B===void 0?void 0:B.formatLogObj,transportFormatted:e==null||(de=e.overwrite)===null||de===void 0?void 0:de.transportFormatted,transportJSON:e==null||(me=e.overwrite)===null||me===void 0?void 0:me.transportJSON}},this.captureStackForMeta=this._shouldCaptureStack()}log(e,t,...o){var i,r,s,n,a,l,d,c,p,w,v,u;if(e<this.settings.minLevel)return;const _=this._resolveLogArguments(o),E=[...this.settings.prefix,..._],z=((i=this.settings.overwrite)===null||i===void 0?void 0:i.mask)!=null?(r=this.settings.overwrite)===null||r===void 0?void 0:r.mask(E):this.settings.maskValuesOfKeys!=null&&this.settings.maskValuesOfKeys.length>0?this._mask(E):E,K=this.logObj!=null?this._recursiveCloneAndExecuteFunctions(this.logObj):void 0,q=((s=this.settings.overwrite)===null||s===void 0?void 0:s.toLogObj)!=null?(n=this.settings.overwrite)===null||n===void 0?void 0:n.toLogObj(z,K):this._toLogObj(z,K),N=((a=this.settings.overwrite)===null||a===void 0?void 0:a.addMeta)!=null?(l=this.settings.overwrite)===null||l===void 0?void 0:l.addMeta(q,e,t):this._addMetaToLogObj(q,e,t),D=N==null?void 0:N[this.settings.metaProperty];let F,H;if(((d=this.settings.overwrite)===null||d===void 0?void 0:d.formatMeta)!=null&&(F=(c=this.settings.overwrite)===null||c===void 0?void 0:c.formatMeta(N==null?void 0:N[this.settings.metaProperty])),((p=this.settings.overwrite)===null||p===void 0?void 0:p.formatLogObj)!=null&&(H=(w=this.settings.overwrite)===null||w===void 0?void 0:w.formatLogObj(z,this.settings)),this.settings.type==="pretty"){var y,Y;F=(y=F)!==null&&y!==void 0?y:this._prettyFormatLogObjMeta(N==null?void 0:N[this.settings.metaProperty]),H=(Y=H)!==null&&Y!==void 0?Y:et.prettyFormatLogObj(z,this.settings)}if(F!=null&&H!=null)if(((v=this.settings.overwrite)===null||v===void 0?void 0:v.transportFormatted)!=null){const B=this.settings.overwrite.transportFormatted,de=B.length;de<4?B(F,H.args,H.errors):de===4?B(F,H.args,H.errors,D):B(F,H.args,H.errors,D,this.settings)}else et.transportFormatted(F,H.args,H.errors,D,this.settings);else((u=this.settings.overwrite)===null||u===void 0?void 0:u.transportJSON)!=null?this.settings.overwrite.transportJSON(N):this.settings.type!=="hidden"&&et.transportJSON(N);return this.settings.attachedTransports!=null&&this.settings.attachedTransports.length>0&&this.settings.attachedTransports.forEach(B=>{B(N)}),N}attachTransport(e){this.settings.attachedTransports.push(e)}getSubLogger(e,t){var o,i,r,s;const n=U(U(U({},this.settings),e),{},{parentNames:((o=this.settings)===null||o===void 0?void 0:o.parentNames)!=null&&((i=this.settings)===null||i===void 0?void 0:i.name)!=null?[...this.settings.parentNames,this.settings.name]:((r=this.settings)===null||r===void 0?void 0:r.name)!=null?[this.settings.name]:void 0,prefix:[...this.settings.prefix,...(s=e==null?void 0:e.prefix)!==null&&s!==void 0?s:[]]});return new this.constructor(n,t!=null?t:this.logObj,this.stackDepthLevel)}_mask(e){const t=this._getMaskKeys();return e==null?void 0:e.map(o=>this._recursiveCloneAndMaskValuesOfKeys(o,t))}_getMaskKeys(){var e;const t=(e=this.settings.maskValuesOfKeys)!==null&&e!==void 0?e:[],o=t.map(String).join("|");if(this.settings.maskValuesOfKeysCaseInsensitive===!0){var i;if(((i=this.maskKeysCache)===null||i===void 0?void 0:i.source)===t&&this.maskKeysCache.caseInsensitive===!0&&this.maskKeysCache.signature===o)return this.maskKeysCache.normalized;const r=t.map(s=>typeof s=="string"?s.toLowerCase():String(s).toLowerCase());return this.maskKeysCache={source:t,caseInsensitive:!0,normalized:r,signature:o},r}return this.maskKeysCache={source:t,caseInsensitive:!1,normalized:t,signature:o},t}_resolveLogArguments(e){if(e.length===1&&typeof e[0]=="function"){const t=e[0];if(t.length===0){const o=t();return Array.isArray(o)?o:[o]}}return e}_recursiveCloneAndMaskValuesOfKeys(e,t,o=[]){if(o.includes(e))return U({},e);if(typeof e=="object"&&e!==null&&o.push(e),et.isError(e)||et.isBuffer(e))return e;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(Array.isArray(e))return e.map(s=>this._recursiveCloneAndMaskValuesOfKeys(s,t,o));if(e instanceof Date)return new Date(e.getTime());if(e instanceof URL)return sc(e);if(e!==null&&typeof e=="object"){const s=et.isError(e)?this._cloneError(e):Object.create(Object.getPrototypeOf(e));return Object.getOwnPropertyNames(e).reduce((n,a)=>{var l;const d=((l=this.settings)===null||l===void 0?void 0:l.maskValuesOfKeysCaseInsensitive)!==!0?a:typeof a=="string"?a.toLowerCase():String(a).toLowerCase();return n[a]=t.includes(d)?this.settings.maskPlaceholder:(()=>{try{return this._recursiveCloneAndMaskValuesOfKeys(e[a],t,o)}catch(c){return null}})(),n},s)}else{if(typeof e=="string"){var i,r;let s=e;for(const n of((i=this.settings)===null||i===void 0?void 0:i.maskValuesRegEx)||[])s=s.replace(n,((r=this.settings)===null||r===void 0?void 0:r.maskPlaceholder)||"");return s}return e}}_recursiveCloneAndExecuteFunctions(e,t=[]){return this.isObjectOrArray(e)&&t.includes(e)?this.shallowCopy(e):(this.isObjectOrArray(e)&&t.push(e),Array.isArray(e)?e.map(o=>this._recursiveCloneAndExecuteFunctions(o,t)):e instanceof Date?new Date(e.getTime()):this.isObject(e)?Object.getOwnPropertyNames(e).reduce((o,i)=>{const r=Object.getOwnPropertyDescriptor(e,i);if(r){Object.defineProperty(o,i,r);const s=e[i];o[i]=typeof s=="function"?s():this._recursiveCloneAndExecuteFunctions(s,t)}return o},Object.create(Object.getPrototypeOf(e))):e)}isObjectOrArray(e){return typeof e=="object"&&e!==null}isObject(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}shallowCopy(e){return Array.isArray(e)?[...e]:U({},e)}_toLogObj(e,t={}){return e=e==null?void 0:e.map(o=>et.isError(o)?this._toErrorObject(o):o),this.settings.argumentsArrayName==null?e.length===1&&!Array.isArray(e[0])&&et.isBuffer(e[0])!==!0&&!(e[0]instanceof Date)?t=typeof e[0]=="object"&&e[0]!=null?U(U({},e[0]),t):U({0:e[0]},t):t=U(U({},t),e):t=U(U({},t),{},{[this.settings.argumentsArrayName]:e}),t}_cloneError(e){const t=new e.constructor;return Object.getOwnPropertyNames(e).forEach(o=>{t[o]=e[o]}),t}_toErrorObject(e,t=0,o=new Set){var i;o.has(e)||o.add(e);const r={nativeError:e,name:(i=e.name)!==null&&i!==void 0?i:"Error",message:e.message,stack:et.getErrorTrace(e)};if(t>=this.maxErrorCauseDepth)return r;const s=e.cause;if(s!=null){const n=xs(s);o.has(n)||(r.cause=this._toErrorObject(n,t+1,o))}return r}_addMetaToLogObj(e,t,o){return U(U({},e),{},{[this.settings.metaProperty]:et.getMeta(t,o,this.stackDepthLevel,!this.captureStackForMeta,this.settings.name,this.settings.parentNames)})}_shouldCaptureStack(){var e;if(this.settings.hideLogPositionForProduction)return!1;if(this.settings.type==="json")return!0;const t=(e=this.settings.prettyLogTemplate)!==null&&e!==void 0?e:"";return!!/{{\s*(file(Name|Path|Line|PathWithLine|NameWithLine)|fullFilePath)\s*}}/.test(t)}_prettyFormatLogObjMeta(e){return ys(this.settings,e).text}}})}),zs,$c=h({"../../node_modules/.pnpm/tslog@4.10.2/node_modules/tslog/esm/index.js":(()=>{Bs(),Ls(),Bs(),zs=class extends Fs{constructor(e,t){var o;const i=typeof window!="undefined"&&typeof document!="undefined",r=U({},e!=null?e:{});i&&(r.stylePrettyLogs=(o=e==null?void 0:e.stylePrettyLogs)!==null&&o!==void 0?o:!0),super(r,t,NaN)}log(e,t,...o){return super.log(e,t,...o)}silly(...e){return super.log(0,"SILLY",...e)}trace(...e){return super.log(1,"TRACE",...e)}debug(...e){return super.log(2,"DEBUG",...e)}info(...e){return super.log(3,"INFO",...e)}warn(...e){return super.log(4,"WARN",...e)}error(...e){return super.log(5,"ERROR",...e)}fatal(...e){return super.log(6,"FATAL",...e)}getSubLogger(e,t){return super.getSubLogger(e,t)}}})}),Oi,Ds,Mc=h({"../../packages/logger/dist/index.js":(()=>{$c(),Oi=function(){return Oi=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++){t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Oi.apply(this,arguments)},Ds=function(e,t){return t===void 0&&(t={}),new zs(Oi({name:e},t))}})}),Ee,po=h({"src/utils/logger.ts":(()=>{Mc(),Ee=Ds("givebutter-widgets-core",{minLevel:5})})}),Ho,Ei=h({"src/utils/url.ts":(()=>{Ho=class{static getQueryParams(e){let t;try{t=new URLSearchParams(new URL(e).search)}catch(i){const r=e.indexOf("?")+1,s=e.indexOf("#")!==-1?e.indexOf("#"):e.length;t=new URLSearchParams(e.substring(r,s))}const o={};for(const[i,r]of t.entries())o[i]=r;return o}static isValidEmbedUrl(e){return e.startsWith("https://givebutter.com")}static isCurrentHostnameGivebutter(){for(const 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}}}})}),ho,Hs,Kt,ze,fo=h({"src/utils/env.ts":(()=>{po(),Ei(),ho=(function(e){return e.godaddy="godaddy",e.salesforce="salesforce",e.unknown="unknown",e})({}),Hs=(function(e){return e.dynamicElementReplacement="dynamic",e})({}),Kt=(function(e){return e.AccountId="acct",e.Platform="p",e.Mode="mode",e})(Kt||{}),ze=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()===ho.salesforce||this.isMode(Hs.dynamicElementReplacement)}static getAccountId(){if(!window.gbWidgets)return null;if(!window.gbWidgets.aid){const e=this.getConfigParam(Kt.AccountId);if(e&&typeof e=="string"){const t=decodeURIComponent(e).trim();/^[a-zA-Z0-9]{16}$/.test(t)||this.isLocalEnv()?window.gbWidgets.aid=t:Ee.error(`Invalid ?${Kt.AccountId}= format: ${t}`)}!window.gbWidgets.aid&&!Ho.isCurrentHostnameGivebutter()&&Ee.error(`Could not find ?${Kt.AccountId}= attribute in script url`)}return window.gbWidgets.aid}static getPlatform(){return window.gbWidgets?(window.gbWidgets.platform||(window.gbWidgets.platform=this.getConfigParam(Kt.Platform,ho.unknown)),window.gbWidgets.platform):ho.unknown}static isMode(e){var t;return window.gbWidgets.mode||(window.gbWidgets.mode=(t=this.getConfigParam(Kt.Mode))!==null&&t!==void 0?t:""),window.gbWidgets.mode.includes(e)}static getConfigParam(e,t=null){const o=document.currentScript;return o instanceof HTMLScriptElement?new URL(o.src).searchParams.get(e):t}}})}),Ws,Us,Gs,Nr,Vs,Zs,qs,Ks,Wo,Uo=h({"src/utils/api.ts":(()=>{fo(),Ws="https://givebutter.com/elements/api/v2",Us=204,Gs=class extends Error{constructor(e,t,o){super(e),this.url=t,this.response=o}},Nr=(function(){var e=ue(function*(t,o){const i=decodeURIComponent(o).trim();return/^[a-zA-Z0-9]{6,}$/.test(i)||i==="signup-form-demo"?yield Wo(`${t}/elements/${i}`):{}});return function(t,o){return e.apply(this,arguments)}})(),Vs=(function(){var e=ue(function*(t,o){return yield Wo(`${t}/campaigns/${o}`)});return function(t,o){return e.apply(this,arguments)}})(),Zs=(function(){var e=ue(function*(t,o){return yield Wo(`${t}/campaigns/${o}/goal-status`)});return function(t,o){return e.apply(this,arguments)}})(),qs=ue(function*(){const e=ze.getAccountId();if(e)return yield Wo(`${e}/ping`)}),Ks=e=>({status:e.status,statusText:e.statusText,headers:[...e.headers.entries()].reduce((t,[o,i])=>(t[o]=i,t),{})}),Wo=(function(){var e=ue(function*(t){const o=`${Ws}/${t}`,i=yield fetch(o),r=Ks(i);if(!i.ok)throw new Gs(`HTTP error with status: ${i.status}`,o,r);return i.status===Us?{}:i.json()});return function(t){return e.apply(this,arguments)}})()})});function Nc(){const e=()=>{document.querySelectorAll("[data-gb-widget-id]").forEach(o=>{const i=o.getAttribute("data-gb-widget-id");if(o.parentNode&&i){const r=document.createElement("givebutter-widget");r.setAttribute("id",i),o.parentNode.replaceChild(r,o)}})};e();const t=new MutationObserver(o=>{o.forEach(i=>{i.addedNodes.forEach(r=>{r instanceof Element&&(r.hasAttribute("data-gb-widget-id")||r.querySelector("[data-gb-widget-id]"))&&e()})})});t.observe(document,{childList:!0,subtree:!0}),window.addEventListener("pagehide",()=>t.disconnect())}function Lc(){document.querySelectorAll("[data-gb-account][data-gb-campaign]").forEach(function(e){if(e.hasAttribute("data-gb-processed"))return;e.setAttribute("data-gb-processed","true");const t=e.getAttribute("data-gb-account"),o=e.getAttribute("data-gb-campaign"),i=e.getAttribute("data-gb-type");if(!t||!o){Ee.error("Missing data-gb-account or data-gb-campaign attributes.");return}let r;i!=="link"&&(r=document.createElement("givebutter-button"),r.setAttribute("account",t),r.setAttribute("campaign",o),r.setAttribute("hide-button","true"),document.body.appendChild(r),jr.push(r));const s=function(n){var a;n.preventDefault(),i==="link"?window.location.href=`https://givebutter.com/c/${o}?source=widgets`:(a=r.shadowRoot)===null||a===void 0||(a=a.querySelector("button"))===null||a===void 0||a.click()};e.addEventListener("click",s),Lr.push({element:e,type:"click",listener:s})})}function Ys(){ze.isDynamicElementReplacementMode()&&Nc(),Lc()}var Lr,jr,jc,Xs,Js,Qs,ea=h({"src/utils/dom.ts":(()=>{fo(),po(),Lr=[],jr=[],jc=(e,t)=>{const o=typeof e=="string"?document.querySelector(e):e;if(!o)throw new Error(`Root element ${e} not found`);let i=o.shadowRoot;for(const r of t){const s=i.querySelector(r);if(!s)throw new Error(`Nested element ${r} not found`);i=s.shadowRoot?s.shadowRoot:s}return i},Xs=()=>{Ys(),["DOMContentLoaded","popstate","hashchange"].forEach(e=>{window.addEventListener(e,Ys)}),window.addEventListener("pagehide",function(){Lr.forEach(({element:e,type:t,listener:o})=>{e.removeEventListener(t,o)}),jr.forEach(e=>{document.body.removeChild(e)})})},Js=()=>{const e=document.currentScript;if(e){const t=window.parent.document;if(!Array.from(t.querySelectorAll("script")).find(o=>o.src===e.src)){const o=window.parent.document.createElement("script");o.defer=!0,o.src=e.src,t.head.appendChild(o)}e.remove()}},Qs=(e,t)=>{let o=e==null?void 0:e.parentElement;for(;o;){if(o.classList.contains(t))return o;o=o.parentElement}return Ee.error(`Could not find ancestor element with class ${t}`),null}})}),Go,Ai,Ti,Pr,Ir,Rr,$i,Fr,Br,Pc=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js":(()=>{Go=globalThis,Ai=Go.ShadowRoot&&(Go.ShadyCSS===void 0||Go.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ti=Symbol(),Pr=new WeakMap,Ir=class{constructor(e,t,o){if(this._$cssResult$=!0,o!==Ti)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(Ai&&e===void 0){const o=t!==void 0&&t.length===1;o&&(e=Pr.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Pr.set(t,e))}return e}toString(){return this.cssText}},Rr=e=>new Ir(typeof e=="string"?e:e+"",void 0,Ti),$i=(e,...t)=>{const o=e.length===1?e[0]:t.reduce(((i,r,s)=>i+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[s+1]),e[0]);return new Ir(o,e,Ti)},Fr=(e,t)=>{if(Ai)e.adoptedStyleSheets=t.map((o=>o instanceof CSSStyleSheet?o:o.styleSheet));else for(const o of t){const i=document.createElement("style"),r=Go.litNonce;r!==void 0&&i.setAttribute("nonce",r),i.textContent=o.cssText,e.appendChild(i)}},Br=Ai?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(const i of t.cssRules)o+=i.cssText;return Rr(o)})(e):e})}),ta,oa,ia,ra,na,sa,Vo,zr,aa,Mi,mo,Zo,Ni,Dr,Yt,Li=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js":(()=>{var e,t,o,i,r,s;Pc(),{is:ta,defineProperty:oa,getOwnPropertyDescriptor:ia,getOwnPropertyNames:ra,getOwnPropertySymbols:na,getPrototypeOf:sa}=Object,Vo=globalThis,zr=Vo.trustedTypes,aa=zr?zr.emptyScript:"",Mi=Vo.reactiveElementPolyfillSupport,mo=(n,a)=>n,Zo={toAttribute(n,a){switch(a){case Boolean:n=n?aa:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,a){let l=n;switch(a){case Boolean:l=n!==null;break;case Number:l=n===null?null:Number(n);break;case Object:case Array:try{l=JSON.parse(n)}catch(d){l=null}}return l}},Ni=(n,a)=>!ta(n,a),Dr={attribute:!0,type:String,converter:Zo,reflect:!1,useDefault:!1,hasChanged:Ni},(t=(e=Symbol).metadata)!==null&&t!==void 0||(e.metadata=Symbol("metadata")),(i=(o=Vo).litPropertyMetadata)!==null&&i!==void 0||(o.litPropertyMetadata=new WeakMap),Yt=class extends HTMLElement{static addInitializer(n){var a;this._$Ei(),((a=this.l)!==null&&a!==void 0?a:this.l=[]).push(n)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(n,a=Dr){if(a.state&&(a.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(n)&&((a=Object.create(a)).wrapped=!0),this.elementProperties.set(n,a),!a.noAccessor){const l=Symbol(),d=this.getPropertyDescriptor(n,l,a);d!==void 0&&oa(this.prototype,n,d)}}static getPropertyDescriptor(n,a,l){var d;const{get:c,set:p}=(d=ia(this.prototype,n))!==null&&d!==void 0?d:{get(){return this[a]},set(w){this[a]=w}};return{get:c,set(w){const v=c==null?void 0:c.call(this);p==null||p.call(this,w),this.requestUpdate(n,v,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(n){var a;return(a=this.elementProperties.get(n))!==null&&a!==void 0?a:Dr}static _$Ei(){if(this.hasOwnProperty(mo("elementProperties")))return;const n=sa(this);n.finalize(),n.l!==void 0&&(this.l=[...n.l]),this.elementProperties=new Map(n.elementProperties)}static finalize(){if(this.hasOwnProperty(mo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mo("properties"))){const a=this.properties,l=[...ra(a),...na(a)];for(const d of l)this.createProperty(d,a[d])}const n=this[Symbol.metadata];if(n!==null){const a=litPropertyMetadata.get(n);if(a!==void 0)for(const[l,d]of a)this.elementProperties.set(l,d)}this._$Eh=new Map;for(const[a,l]of this.elementProperties){const d=this._$Eu(a,l);d!==void 0&&this._$Eh.set(d,a)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(n){const a=[];if(Array.isArray(n)){const l=new Set(n.flat(1/0).reverse());for(const d of l)a.unshift(Br(d))}else n!==void 0&&a.push(Br(n));return a}static _$Eu(n,a){const l=a.attribute;return l===!1?void 0:typeof l=="string"?l:typeof n=="string"?n.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var n;this._$ES=new Promise((a=>this.enableUpdating=a)),this._$AL=new Map,this._$E_(),this.requestUpdate(),(n=this.constructor.l)===null||n===void 0||n.forEach((a=>a(this)))}addController(n){var a,l;((a=this._$EO)!==null&&a!==void 0?a:this._$EO=new Set).add(n),this.renderRoot!==void 0&&this.isConnected&&((l=n.hostConnected)===null||l===void 0||l.call(n))}removeController(n){var a;(a=this._$EO)===null||a===void 0||a.delete(n)}_$E_(){const n=new Map,a=this.constructor.elementProperties;for(const l of a.keys())this.hasOwnProperty(l)&&(n.set(l,this[l]),delete this[l]);n.size>0&&(this._$Ep=n)}createRenderRoot(){var n;const a=(n=this.shadowRoot)!==null&&n!==void 0?n:this.attachShadow(this.constructor.shadowRootOptions);return Fr(a,this.constructor.elementStyles),a}connectedCallback(){var n,a;(n=this.renderRoot)!==null&&n!==void 0||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(a=this._$EO)===null||a===void 0||a.forEach((l=>{var d;return(d=l.hostConnected)===null||d===void 0?void 0:d.call(l)}))}enableUpdating(n){}disconnectedCallback(){var n;(n=this._$EO)===null||n===void 0||n.forEach((a=>{var l;return(l=a.hostDisconnected)===null||l===void 0?void 0:l.call(a)}))}attributeChangedCallback(n,a,l){this._$AK(n,l)}_$ET(n,a){const l=this.constructor.elementProperties.get(n),d=this.constructor._$Eu(n,l);if(d!==void 0&&l.reflect===!0){var c;const p=(((c=l.converter)===null||c===void 0?void 0:c.toAttribute)!==void 0?l.converter:Zo).toAttribute(a,l.type);this._$Em=n,p==null?this.removeAttribute(d):this.setAttribute(d,p),this._$Em=null}}_$AK(n,a){const l=this.constructor,d=l._$Eh.get(n);if(d!==void 0&&this._$Em!==d){var c,p,w;const v=l.getPropertyOptions(d),u=typeof v.converter=="function"?{fromAttribute:v.converter}:((c=v.converter)===null||c===void 0?void 0:c.fromAttribute)!==void 0?v.converter:Zo;this._$Em=d;const _=u.fromAttribute(a,v.type);this[d]=(p=_!=null?_:(w=this._$Ej)===null||w===void 0?void 0:w.get(d))!==null&&p!==void 0?p:_,this._$Em=null}}requestUpdate(n,a,l){if(n!==void 0){var d,c,p;const w=this.constructor,v=this[n];if((d=l)!==null&&d!==void 0||(l=w.getPropertyOptions(n)),!(((c=l.hasChanged)!==null&&c!==void 0?c:Ni)(v,a)||l.useDefault&&l.reflect&&v===((p=this._$Ej)===null||p===void 0?void 0:p.get(n))&&!this.hasAttribute(w._$Eu(n,l))))return;this.C(n,a,l)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(n,a,{useDefault:l,reflect:d,wrapped:c},p){var w,v,u;l&&!((w=this._$Ej)!==null&&w!==void 0?w:this._$Ej=new Map).has(n)&&(this._$Ej.set(n,(v=p!=null?p:a)!==null&&v!==void 0?v:this[n]),c!==!0||p!==void 0)||(this._$AL.has(n)||(this.hasUpdated||l||(a=void 0),this._$AL.set(n,a)),d===!0&&this._$Em!==n&&((u=this._$Eq)!==null&&u!==void 0?u:this._$Eq=new Set).add(n))}_$EP(){var n=this;return ue(function*(){n.isUpdatePending=!0;try{yield n._$ES}catch(l){Promise.reject(l)}const a=n.scheduleUpdate();return a!=null&&(yield a),!n.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){var n;if((n=this.renderRoot)!==null&&n!==void 0||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[p,w]of this._$Ep)this[p]=w;this._$Ep=void 0}const c=this.constructor.elementProperties;if(c.size>0)for(const[p,w]of c){const{wrapped:v}=w,u=this[p];v!==!0||this._$AL.has(p)||u===void 0||this.C(p,void 0,w,u)}}let a=!1;const l=this._$AL;try{var d;a=this.shouldUpdate(l),a?(this.willUpdate(l),(d=this._$EO)===null||d===void 0||d.forEach((c=>{var p;return(p=c.hostUpdate)===null||p===void 0?void 0:p.call(c)})),this.update(l)):this._$EM()}catch(c){throw a=!1,this._$EM(),c}a&&this._$AE(l)}willUpdate(n){}_$AE(n){var a;(a=this._$EO)===null||a===void 0||a.forEach((l=>{var d;return(d=l.hostUpdated)===null||d===void 0?void 0:d.call(l)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(n)),this.updated(n)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(n){return!0}update(n){this._$Eq&&(this._$Eq=this._$Eq.forEach((a=>this._$ET(a,this[a])))),this._$EM()}updated(n){}firstUpdated(n){}},Yt.elementStyles=[],Yt.shadowRootOptions={mode:"open"},Yt[mo("elementProperties")]=new Map,Yt[mo("finalized")]=new Map,Mi==null||Mi({ReactiveElement:Yt}),((s=(r=Vo).reactiveElementVersions)!==null&&s!==void 0?s:r.reactiveElementVersions=[]).push("2.1.1")})});function la(e,t){if(!Ri(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Hr!==void 0?Hr.createHTML(t):t}function Xt(e,t,o=e,i){var r,s,n;if(t===St)return t;let a=i!==void 0?(r=o._$Co)===null||r===void 0?void 0:r[i]:o._$Cl;const l=go(t)?void 0:t._$litDirective$;return(a==null?void 0:a.constructor)!==l&&(a==null||(s=a._$AO)===null||s===void 0||s.call(a,!1),l===void 0?a=void 0:(a=new l(e),a._$AT(e,o,i)),i!==void 0?((n=o._$Co)!==null&&n!==void 0?n:o._$Co=[])[i]=a:o._$Cl=a),a!==void 0&&(t=Xt(e,a._$AS(e,t.values),a,i)),t}var ji,qo,Hr,Pi,ht,Ii,da,zt,vo,go,Ri,Wr,Fi,bo,Ur,Gr,Dt,Vr,Zr,qr,Bi,fe,Ic,Rc,St,ye,Kr,Ht,Yr,zi,Xr,Ko,yo,Jr,Qr,en,tn,ca,Di,ua,Ot=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js":(()=>{var e,t;ji=globalThis,qo=ji.trustedTypes,Hr=qo?qo.createPolicy("lit-html",{createHTML:o=>o}):void 0,Pi="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,Ii="?"+ht,da=`<${Ii}>`,zt=document,vo=()=>zt.createComment(""),go=o=>o===null||typeof o!="object"&&typeof o!="function",Ri=Array.isArray,Wr=o=>Ri(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Fi=`[ 	
\f\r]`,bo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ur=/-->/g,Gr=/>/g,Dt=RegExp(`>|${Fi}(?:([^\\s"'>=/]+)(${Fi}*=${Fi}*(?:[^ 	
\f\r"'\`<>=]|("|')|))|$)`,"g"),Vr=/'/g,Zr=/"/g,qr=/^(?:script|style|textarea|title)$/i,Bi=o=>(i,...r)=>({_$litType$:o,strings:i,values:r}),fe=Bi(1),Ic=Bi(2),Rc=Bi(3),St=Symbol.for("lit-noChange"),ye=Symbol.for("lit-nothing"),Kr=new WeakMap,Ht=zt.createTreeWalker(zt,129),Yr=(o,i)=>{const r=o.length-1,s=[];let n,a=i===2?"<svg>":i===3?"<math>":"",l=bo;for(let c=0;c<r;c++){var d;const p=o[c];let w,v,u=-1,_=0;for(;_<p.length&&(l.lastIndex=_,v=l.exec(p),v!==null);)_=l.lastIndex,l===bo?v[1]==="!--"?l=Ur:v[1]!==void 0?l=Gr:v[2]!==void 0?(qr.test(v[2])&&(n=RegExp("</"+v[2],"g")),l=Dt):v[3]!==void 0&&(l=Dt):l===Dt?v[0]===">"?(l=(d=n)!==null&&d!==void 0?d:bo,u=-1):v[1]===void 0?u=-2:(u=l.lastIndex-v[2].length,w=v[1],l=v[3]===void 0?Dt:v[3]==='"'?Zr:Vr):l===Zr||l===Vr?l=Dt:l===Ur||l===Gr?l=bo:(l=Dt,n=void 0);const E=l===Dt&&o[c+1].startsWith("/>")?" ":"";a+=l===bo?p+da:u>=0?(s.push(w),p.slice(0,u)+Pi+p.slice(u)+ht+E):p+ht+(u===-2?c:E)}return[la(o,a+(o[r]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),s]},zi=class Jd{constructor({strings:i,_$litType$:r},s){let n;this.parts=[];let a=0,l=0;const d=i.length-1,c=this.parts,[p,w]=Yr(i,r);if(this.el=Jd.createElement(p,s),Ht.currentNode=this.el.content,r===2||r===3){const v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(n=Ht.nextNode())!==null&&c.length<d;){if(n.nodeType===1){if(n.hasAttributes())for(const v of n.getAttributeNames())if(v.endsWith(Pi)){const u=w[l++],_=n.getAttribute(v).split(ht),E=/([.?@])?(.*)/.exec(u);c.push({type:1,index:a,name:E[2],strings:_,ctor:E[1]==="."?Jr:E[1]==="?"?Qr:E[1]==="@"?en:yo}),n.removeAttribute(v)}else v.startsWith(ht)&&(c.push({type:6,index:a}),n.removeAttribute(v));if(qr.test(n.tagName)){const v=n.textContent.split(ht),u=v.length-1;if(u>0){n.textContent=qo?qo.emptyScript:"";for(let _=0;_<u;_++)n.append(v[_],vo()),Ht.nextNode(),c.push({type:2,index:++a});n.append(v[u],vo())}}}else if(n.nodeType===8)if(n.data===Ii)c.push({type:2,index:a});else{let v=-1;for(;(v=n.data.indexOf(ht,v+1))!==-1;)c.push({type:7,index:a}),v+=ht.length-1}a++}}static createElement(i,r){const s=zt.createElement("template");return s.innerHTML=i,s}},Xr=class{constructor(o,i){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var i;const{el:{content:r},parts:s}=this._$AD,n=((i=o==null?void 0:o.creationScope)!==null&&i!==void 0?i:zt).importNode(r,!0);Ht.currentNode=n;let a=Ht.nextNode(),l=0,d=0,c=s[0];for(;c!==void 0;){if(l===c.index){let p;c.type===2?p=new Ko(a,a.nextSibling,this,o):c.type===1?p=new c.ctor(a,c.name,c.strings,this,o):c.type===6&&(p=new tn(a,this,o)),this._$AV.push(p),c=s[++d]}l!==(c==null?void 0:c.index)&&(a=Ht.nextNode(),l++)}return Ht.currentNode=zt,n}p(o){let i=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(o,r,i),i+=r.strings.length-2):r._$AI(o[i])),i++}},Ko=class Qd{get _$AU(){var i,r;return(i=(r=this._$AM)===null||r===void 0?void 0:r._$AU)!==null&&i!==void 0?i:this._$Cv}constructor(i,r,s,n){var a;this.type=2,this._$AH=ye,this._$AN=void 0,this._$AA=i,this._$AB=r,this._$AM=s,this.options=n,this._$Cv=(a=n==null?void 0:n.isConnected)!==null&&a!==void 0?a:!0}get parentNode(){let i=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&(i==null?void 0:i.nodeType)===11&&(i=r.parentNode),i}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(i,r=this){i=Xt(this,i,r),go(i)?i===ye||i==null||i===""?(this._$AH!==ye&&this._$AR(),this._$AH=ye):i!==this._$AH&&i!==St&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Wr(i)?this.k(i):this._(i)}O(i){return this._$AA.parentNode.insertBefore(i,this._$AB)}T(i){this._$AH!==i&&(this._$AR(),this._$AH=this.O(i))}_(i){this._$AH!==ye&&go(this._$AH)?this._$AA.nextSibling.data=i:this.T(zt.createTextNode(i)),this._$AH=i}$(i){var r;const{values:s,_$litType$:n}=i,a=typeof n=="number"?this._$AC(i):(n.el===void 0&&(n.el=zi.createElement(la(n.h,n.h[0]),this.options)),n);if(((r=this._$AH)===null||r===void 0?void 0:r._$AD)===a)this._$AH.p(s);else{const l=new Xr(a,this),d=l.u(this.options);l.p(s),this.T(d),this._$AH=l}}_$AC(i){let r=Kr.get(i.strings);return r===void 0&&Kr.set(i.strings,r=new zi(i)),r}k(i){Ri(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let s,n=0;for(const a of i)n===r.length?r.push(s=new Qd(this.O(vo()),this.O(vo()),this,this.options)):s=r[n],s._$AI(a),n++;n<r.length&&(this._$AR(s&&s._$AB.nextSibling,n),r.length=n)}_$AR(i=this._$AA.nextSibling,r){var s;for((s=this._$AP)===null||s===void 0?void 0:s.call(this,!1,!0,r);i!==this._$AB;){const n=i.nextSibling;i.remove(),i=n}}setConnected(i){var r;this._$AM===void 0&&(this._$Cv=i,(r=this._$AP)===null||r===void 0||r.call(this,i))}},yo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,i,r,s,n){this.type=1,this._$AH=ye,this._$AN=void 0,this.element=o,this.name=i,this._$AM=s,this.options=n,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=ye}_$AI(o,i=this,r,s){const n=this.strings;let a=!1;if(n===void 0)o=Xt(this,o,i,0),a=!go(o)||o!==this._$AH&&o!==St,a&&(this._$AH=o);else{var l;const d=o;let c,p;for(o=n[0],c=0;c<n.length-1;c++)p=Xt(this,d[r+c],i,c),p===St&&(p=this._$AH[c]),a||(a=!go(p)||p!==this._$AH[c]),p===ye?o=ye:o!==ye&&(o+=((l=p)!==null&&l!==void 0?l:"")+n[c+1]),this._$AH[c]=p}a&&!s&&this.j(o)}j(o){o===ye?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Jr=class extends yo{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===ye?void 0:o}},Qr=class extends yo{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==ye)}},en=class extends yo{constructor(o,i,r,s,n){super(o,i,r,s,n),this.type=5}_$AI(o,i=this){var r;if((o=(r=Xt(this,o,i,0))!==null&&r!==void 0?r:ye)===St)return;const s=this._$AH,n=o===ye&&s!==ye||o.capture!==s.capture||o.once!==s.once||o.passive!==s.passive,a=o!==ye&&(s===ye||n);n&&this.element.removeEventListener(this.name,this,s),a&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var i,r;typeof this._$AH=="function"?this._$AH.call((i=(r=this.options)===null||r===void 0?void 0:r.host)!==null&&i!==void 0?i:this.element,o):this._$AH.handleEvent(o)}},tn=class{constructor(o,i,r){this.element=o,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(o){Xt(this,o)}},ca={M:Pi,P:ht,A:Ii,C:1,L:Yr,R:Xr,D:Wr,V:Xt,I:Ko,H:yo,N:Qr,U:en,B:Jr,F:tn},Di=ji.litHtmlPolyfillSupport,Di==null||Di(zi,Ko),((t=(e=ji).litHtmlVersions)!==null&&t!==void 0?t:e.litHtmlVersions=[]).push("3.3.1"),ua=(o,i,r)=>{var s;const n=(s=r==null?void 0:r.renderBefore)!==null&&s!==void 0?s:i;let a=n._$litPart$;if(a===void 0){var l;const d=(l=r==null?void 0:r.renderBefore)!==null&&l!==void 0?l:null;n._$litPart$=a=new Ko(i.insertBefore(vo(),d),d,void 0,r!=null?r:{})}return a._$AI(o),a}})}),Yo,Et,Hi,Fc=h({"../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js":(()=>{var e,t,o;Li(),Li(),Ot(),Ot(),Yo=globalThis,Et=class extends Yt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var i,r;const s=super.createRenderRoot();return(r=(i=this.renderOptions).renderBefore)!==null&&r!==void 0||(i.renderBefore=s.firstChild),s}update(i){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this._$Do=ua(r,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this._$Do)===null||i===void 0||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this._$Do)===null||i===void 0||i.setConnected(!1)}render(){return St}},Et._$litElement$=!0,Et.finalized=!0,(e=Yo.litElementHydrateSupport)===null||e===void 0||e.call(Yo,{LitElement:Et}),Hi=Yo.litElementPolyfillSupport,Hi==null||Hi({LitElement:Et}),((o=(t=Yo).litElementVersions)!==null&&o!==void 0?o:t.litElementVersions=[]).push("4.2.1")})}),Bc,pa=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/is-server.js":(()=>{Bc=!1})}),Ue=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/index.js":(()=>{Li(),Ot(),Fc(),pa()})}),ha,zc=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/overlayDocumentStyle.js":(()=>{Ue(),ha=$i`
  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;
  }
`})}),on,rn,Dc=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/OverlaysManager.js":(()=>{zc(),on={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},rn=class co{static __createGlobalStyleNode(){const t=document.createElement("style");return t.setAttribute("data-overlays",""),t.textContent=ha.cssText,document.head.appendChild(t),t}get list(){return this.__list}get shownList(){return this.__shownList}constructor(){this.__list=[],this.__shownList=[],this.__siblingsInert=!1,this.__blockingMap=new WeakMap,co.__globalStyleNode||(co.__globalStyleNode=co.__createGlobalStyleNode())}add(t){if(this.list.find(o=>t===o))throw new Error("controller instance is already added");return this.list.push(t),t}remove(t){if(!this.list.find(o=>t===o))throw new Error("could not find controller to remove");this.__list=this.list.filter(o=>o!==t),this.__shownList=this.shownList.filter(o=>o!==t)}show(t){this.list.find(o=>t===o)&&this.hide(t),this.__shownList.unshift(t),Array.from(this.__shownList).reverse().forEach((o,i)=>{o.elevation=i+1})}hide(t){if(!this.list.find(o=>t===o))throw new Error("could not find controller to hide");this.__shownList=this.shownList.filter(o=>o!==t)}teardown(){this.list.forEach(t=>{t.teardown()}),this.__list=[],this.__shownList=[],this.__siblingsInert=!1,co.__globalStyleNode&&(document.head.removeChild(co.__globalStyleNode),co.__globalStyleNode=void 0)}get siblingsInert(){return this.__siblingsInert}disableTrapsKeyboardFocusForAll(){this.shownList.forEach(t=>{t.trapsKeyboardFocus===!0&&t.disableTrapsKeyboardFocus&&t.disableTrapsKeyboardFocus({findNewTrap:!1})})}informTrapsKeyboardFocusGotEnabled(t){this.siblingsInert===!1&&t==="global"&&(this.__siblingsInert=!0)}informTrapsKeyboardFocusGotDisabled({disabledCtrl:t,findNewTrap:o=!0}={}){const i=this.shownList.find(r=>r!==t&&r.trapsKeyboardFocus===!0);i?o&&i.enableTrapsKeyboardFocus():this.siblingsInert===!0&&(this.__siblingsInert=!1)}requestToPreventScroll(){const{isIOS:t,isMacSafari:o}=on;document.body.classList.add("overlays-scroll-lock"),(t||o)&&document.body.classList.add("overlays-scroll-lock-ios-fix"),t&&document.documentElement.classList.add("overlays-scroll-lock-ios-fix")}requestToEnableScroll(){if(this.shownList.some(i=>i.preventsScroll===!0))return;const{isIOS:t,isMacSafari:o}=on;document.body.classList.remove("overlays-scroll-lock"),(t||o)&&document.body.classList.remove("overlays-scroll-lock-ios-fix"),t&&document.documentElement.classList.remove("overlays-scroll-lock-ios-fix")}requestToShowOnly(t){const o=this.shownList.filter(i=>i!==t);o.forEach(i=>i.hide()),this.__blockingMap.set(t,o)}retractRequestToShowOnly(t){this.__blockingMap.has(t)&&this.__blockingMap.get(t).forEach(o=>o.show())}},rn.__globalStyleNode=void 0})}),Wi,Ui,fa,Hc=h({"../../node_modules/.pnpm/singleton-manager@1.8.0/node_modules/singleton-manager/src/SingletonManagerClass.js":(()=>{Wi=Symbol.for("lion::SingletonManagerClassStorage"),Ui=globalThis||window,fa=class{constructor(){this._map=Ui[Wi]?Ui[Wi]:Ui[Wi]=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)}}})}),ma,Wc=h({"../../node_modules/.pnpm/singleton-manager@1.8.0/node_modules/singleton-manager/src/index.js":(()=>{Hc(),ma=new fa})}),va,Uc=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/singleton.js":(()=>{Wc(),Dc(),va=ma.get("@lion/ui::overlays::0.x")||new rn})});function nn(){let e=document.activeElement||document.body;for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}var Gc=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/get-deep-active-element.js":(()=>{})});function Vc(e){if(!e||!e.isConnected||!sn(e.style))return!1;const t=window.getComputedStyle(e);return sn(t)?ga(t)?!0:!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):!1}var sn,ga,Zc=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/is-visible.js":(()=>{sn=({visibility:e,display:t})=>e!=="hidden"&&t!=="none",ga=({display:e})=>e==="contents"})});function qc(e,t){const o=Math.max(e.tabIndex,0),i=Math.max(t.tabIndex,0);return o===0||i===0?i>o:o>i}function Kc(e,t){const o=[];for(;e.length>0&&t.length>0;)qc(e[0],t[0])?o.push(t.shift()):o.push(e.shift());return[...o,...e,...t]}function an(e){const t=e.length;if(t<2)return e;const o=Math.ceil(t/2),i=an(e.slice(0,o)),r=an(e.slice(o));return Kc(i,r)}var Yc=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/sort-by-tabindex.js":(()=>{})});function Xc(e){return e[Gi]("input, select, textarea, button, object")?e[Gi](":not([disabled])"):e[Gi]("a[href], area[href], iframe, [tabindex], [contentEditable]")}function Jc(e){return Xc(e)?Number(e.getAttribute("tabindex")||0):-1}function Qc(e){if(e.localName==="slot")return e.assignedNodes({flatten:!0});const{children:t}=e.shadowRoot||e;return t||[]}function eu(e){return e.nodeType!==Node.ELEMENT_NODE?!1:e.localName==="slot"?!0:Vc(e)}function ba(e,t){if(!eu(e))return!1;const o=e,i=Jc(o);let r=i>0;i>=0&&t.push(o);const s=Qc(o);for(let n=0;n<s.length;n+=1)r=ba(s[n],t)||r;return r}function ya(e){const t=[];return ba(e,t)?an(t):t}var Gi,tu=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/get-focusable-elements.js":(()=>{Zc(),Yc(),Gi="matches"in Element.prototype?"matches":"msMatchesSelector"})});function Vi(e,t){let o=e.contains(t);if(o)return!0;function i(r){for(let s=0;s<r.children.length;s+=1){const n=r.children[s];if(n.shadowRoot&&Vi(n.shadowRoot,t)){o=!0;break}n.children.length>0&&i(n)}}return e instanceof HTMLElement&&e.shadowRoot&&(o=Vi(e.shadowRoot,t),o)?!0:(i(e),o)}var ou=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/deep-contains.js":(()=>{})}),wa,iu=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/key-codes.js":(()=>{wa={enter:13,space:32,escape:27,tab:9}})});function ru(e,t){const o=ya(e);let i;o.length>=2?i=[o[0],o[o.length-1]]:o.length===1?i=[o[0],o[0]]:i=[e,e],t.shiftKey&&i.reverse();const[r,s]=i,n=nn();n===e||o.includes(n)&&s!==n||(t.preventDefault(),r.focus())}function nu(e){const t=ya(e),o=t.find(w=>w.hasAttribute("autofocus"))||e;let i,r;o===e&&(e.tabIndex=-1,e.style.setProperty("outline","none")),o.focus();function s(w){w.keyCode===wa.tab&&ru(e,w)}function n(){i=document.createElement("div"),i.style.display="none",i.setAttribute("data-is-tab-detection-element",""),e.insertBefore(i,e.children[0]),r=new MutationObserver(w=>{for(const v of w)if(v.type==="childList"){const u=!Array.from(e.children).find(E=>E.hasAttribute("data-is-tab-detection-element")),_=Array.from(v.addedNodes).find(E=>E instanceof HTMLElement&&E.hasAttribute("data-is-tab-detection-element"));u&&!_&&(r.disconnect(),n())}}),r.observe(e,{childList:!0})}function a(){return i.compareDocumentPosition(document.activeElement)===Node.DOCUMENT_POSITION_PRECEDING}function l({resetToRoot:w=!1}={}){if(Vi(e,nn()))return;let v;w?v=e:v=t[a()?0:t.length-1],v&&v.focus()}function d(){window.removeEventListener("focusin",d),l()}function c(){setTimeout(()=>{Vi(e,nn())||l({resetToRoot:!0})}),window.addEventListener("focusin",d)}function p(){window.removeEventListener("keydown",s),window.removeEventListener("focusin",d),window.removeEventListener("focusout",c),r.disconnect(),Array.from(e.children).includes(i)&&e.removeChild(i),e.style.removeProperty("outline")}return window.addEventListener("keydown",s),window.addEventListener("focusout",c),n(),{disconnect:p}}var su=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/contain-focus.js":(()=>{Gc(),tu(),ou(),iu()})}),ln,au=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/overlayShadowDomStyle.js":(()=>{Ue(),ln=$i`
  .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 lu(e){return Array.from(e.cssRules).map(t=>t.cssText).join("")}function du(e,t,{teardown:o=!1}={}){const i=e===document?document.body:e,r=t.cssText||lu(t);if(o){const s=Array.from(i.querySelectorAll("style"));for(const n of s)if(n.textContent===r){n.remove();break}}else{const s=document.createElement("style"),n=window.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=r,i.appendChild(s)}}function cu(e,t,{teardown:o=!1}={}){let i=!1;Zi.has(e)||Zi.set(e,[]);const r=Zi.get(e),s=r.find(n=>t===n);return s&&o?r.splice(r.indexOf(t),1):!s&&!o?r.push(t):(s&&!o||!s&&o)&&(i=!0),{haltFurtherExecution:i}}function uu(e,t,{teardown:o=!1}={}){const{haltFurtherExecution:i}=cu(e,t,{teardown:o});if(i)return;if(!Jt.supportsAdoptingStyleSheets){du(e,t,{teardown:o});return}const r=t instanceof CSSStyleSheet?t:t.styleSheet;if(!r)throw new Error("Please provide a CSSResultOrNative style");o?e.adoptedStyleSheets.includes(r)&&e.adoptedStyleSheets.splice(e.adoptedStyleSheets.indexOf(r),1):e.adoptedStyleSheets=[...e.adoptedStyleSheets,r]}function pu(e,t,{teardown:o=!1}={}){for(const i of t)Jt.adoptStyle(e,i,{teardown:o})}var Jt,Zi,hu=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/adopt-styles.js":(()=>{Jt={supportsAdoptingStyleSheets:window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,adoptStyle:void 0,adoptStyles:void 0},Zi=new Map,Jt.adoptStyle=uu,Jt.adoptStyles=pu})});function Ze(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var ft=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getWindow.js":(()=>{})});function Qt(e){var t=Ze(e).Element;return e instanceof t||e instanceof Element}function tt(e){var t=Ze(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function dn(e){if(typeof ShadowRoot=="undefined")return!1;var t=Ze(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ot=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/instanceOf.js":(()=>{ft()})}),Wt,Xo,eo,to=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/math.js":(()=>{Wt=Math.max,Xo=Math.min,eo=Math.round})});function cn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var _a=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/userAgent.js":(()=>{})});function xa(){return!/^((?!chrome|android).)*safari/i.test(cn())}var ka=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/isLayoutViewport.js":(()=>{_a()})});function wo(e,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var i=e.getBoundingClientRect(),r=1,s=1;t&&tt(e)&&(r=e.offsetWidth>0&&eo(i.width)/e.offsetWidth||1,s=e.offsetHeight>0&&eo(i.height)/e.offsetHeight||1);var n=Qt(e)?Ze(e):window,a=n.visualViewport,l=!xa()&&o,d=(i.left+(l&&a?a.offsetLeft:0))/r,c=(i.top+(l&&a?a.offsetTop:0))/s,p=i.width/r,w=i.height/s;return{width:p,height:w,top:c,right:d+p,bottom:c+w,left:d,x:d,y:c}}var Jo=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getBoundingClientRect.js":(()=>{ot(),to(),ft(),ka()})});function un(e){var t=Ze(e),o=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:o,scrollTop:i}}var pn=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getWindowScroll.js":(()=>{ft()})});function fu(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var mu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getHTMLElementScroll.js":(()=>{})});function vu(e){return e===Ze(e)||!tt(e)?un(e):fu(e)}var gu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getNodeScroll.js":(()=>{pn(),ft(),ot(),mu()})});function mt(e){return e?(e.nodeName||"").toLowerCase():null}var oo=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getNodeName.js":(()=>{})});function Ut(e){return((Qt(e)?e.ownerDocument:e.document)||window.document).documentElement}var Gt=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getDocumentElement.js":(()=>{ot()})});function hn(e){return wo(Ut(e)).left+un(e).scrollLeft}var fn=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getWindowScrollBarX.js":(()=>{Jo(),Gt(),pn()})});function At(e){return Ze(e).getComputedStyle(e)}var Qo=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getComputedStyle.js":(()=>{ft()})});function mn(e){var t=At(e),o=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+i)}var vn=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/isScrollParent.js":(()=>{Qo()})});function bu(e){var t=e.getBoundingClientRect(),o=eo(t.width)/e.offsetWidth||1,i=eo(t.height)/e.offsetHeight||1;return o!==1||i!==1}function yu(e,t,o){o===void 0&&(o=!1);var i=tt(t),r=tt(t)&&bu(t),s=Ut(t),n=wo(e,r,o),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!o)&&((mt(t)!=="body"||mn(s))&&(a=vu(t)),tt(t)?(l=wo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=hn(s))),{x:n.left+a.scrollLeft-l.x,y:n.top+a.scrollTop-l.y,width:n.width,height:n.height}}var wu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getCompositeRect.js":(()=>{Jo(),gu(),oo(),ot(),fn(),Gt(),vn(),to()})});function gn(e){var t=wo(e),o=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:i}}var bn=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getLayoutRect.js":(()=>{Jo()})});function qi(e){return mt(e)==="html"?e:e.assignedSlot||e.parentNode||(dn(e)?e.host:null)||Ut(e)}var Ki=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getParentNode.js":(()=>{oo(),Gt(),ot()})});function Ca(e){return["html","body","#document"].indexOf(mt(e))>=0?e.ownerDocument.body:tt(e)&&mn(e)?e:Ca(qi(e))}var _u=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getScrollParent.js":(()=>{Ki(),vn(),oo(),ot()})});function ei(e,t){var o;t===void 0&&(t=[]);var i=Ca(e),r=i===((o=e.ownerDocument)==null?void 0:o.body),s=Ze(i),n=r?[s].concat(s.visualViewport||[],mn(i)?i:[]):i,a=t.concat(n);return r?a:a.concat(ei(qi(n)))}var Sa=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/listScrollParents.js":(()=>{_u(),Ki(),ft(),vn()})});function xu(e){return["table","td","th"].indexOf(mt(e))>=0}var ku=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/isTableElement.js":(()=>{oo()})});function Oa(e){return!tt(e)||At(e).position==="fixed"?null:e.offsetParent}function Cu(e){var t=/firefox/i.test(cn());if(/Trident/i.test(cn())&&tt(e)&&At(e).position==="fixed")return null;var o=qi(e);for(dn(o)&&(o=o.host);tt(o)&&["html","body"].indexOf(mt(o))<0;){var i=At(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ti(e){for(var t=Ze(e),o=Oa(e);o&&xu(o)&&At(o).position==="static";)o=Oa(o);return o&&(mt(o)==="html"||mt(o)==="body"&&At(o).position==="static")?t:o||Cu(e)||t}var oi=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getOffsetParent.js":(()=>{ft(),oo(),Qo(),ot(),ku(),Ki(),_a()})}),Su,vt,Tt,gt,Ea,_o,ii,Ou,Aa,Ta,yn,$a,wn,_n,Ma,Na,La,ja,Pa,Ia,Ra,Fa,Ba,za,at=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/enums.js":(()=>{Su="top",vt="bottom",Tt="right",gt="left",Ea="auto",_o=["top",vt,Tt,gt],ii="start",Ou="end",Aa="clippingParents",Ta="viewport",yn="popper",$a="reference",wn=_o.reduce(function(e,t){return e.concat([t+"-"+ii,t+"-end"])},[]),_n=[].concat(_o,[Ea]).reduce(function(e,t){return e.concat([t,t+"-"+ii,t+"-end"])},[]),Ma="beforeRead",Na="read",La="afterRead",ja="beforeMain",Pa="main",Ia="afterMain",Ra="beforeWrite",Fa="write",Ba="afterWrite",za=[Ma,Na,La,ja,Pa,Ia,Ra,Fa,Ba]})});function Eu(e){var t=new Map,o=new Set,i=[];e.forEach(function(s){t.set(s.name,s)});function r(s){o.add(s.name),[].concat(s.requires||[],s.requiresIfExists||[]).forEach(function(n){if(!o.has(n)){var a=t.get(n);a&&r(a)}}),i.push(s)}return e.forEach(function(s){o.has(s.name)||r(s)}),i}function Au(e){var t=Eu(e);return za.reduce(function(o,i){return o.concat(t.filter(function(r){return r.phase===i}))},[])}var Tu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/orderModifiers.js":(()=>{at()})});function $u(e){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(e())})})),t}}var Mu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/debounce.js":(()=>{})});function Nu(e){var t=e.reduce(function(o,i){var r=o[i.name];return o[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,o},{});return Object.keys(t).map(function(o){return t[o]})}var Lu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/mergeByName.js":(()=>{})});function ju(e,t){var o=Ze(e),i=Ut(e),r=o.visualViewport,s=i.clientWidth,n=i.clientHeight,a=0,l=0;if(r){s=r.width,n=r.height;var d=xa();(d||!d&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:n,x:a+hn(e),y:l}}var Pu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getViewportRect.js":(()=>{ft(),Gt(),fn(),ka()})});function Iu(e){var t,o=Ut(e),i=un(e),r=(t=e.ownerDocument)==null?void 0:t.body,s=Wt(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=Wt(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+hn(e),l=-i.scrollTop;return At(r||o).direction==="rtl"&&(a+=Wt(o.clientWidth,r?r.clientWidth:0)-s),{width:s,height:n,x:a,y:l}}var Ru=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getDocumentRect.js":(()=>{Gt(),Qo(),fn(),pn(),to()})});function Da(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&dn(o)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}var Ha=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/contains.js":(()=>{ot()})});function xn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var Wa=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/rectToClientRect.js":(()=>{})});function Fu(e,t){var o=wo(e,!1,t==="fixed");return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}function Ua(e,t,o){return t==="viewport"?xn(ju(e,o)):Qt(t)?Fu(t,o):xn(Iu(Ut(e)))}function Bu(e){var t=ei(qi(e)),o=["absolute","fixed"].indexOf(At(e).position)>=0&&tt(e)?ti(e):e;return Qt(o)?t.filter(function(i){return Qt(i)&&Da(i,o)&&mt(i)!=="body"}):[]}function zu(e,t,o,i){var r=t==="clippingParents"?Bu(e):[].concat(t),s=[].concat(r,[o]),n=s[0],a=s.reduce(function(l,d){var c=Ua(e,d,i);return l.top=Wt(c.top,l.top),l.right=Xo(c.right,l.right),l.bottom=Xo(c.bottom,l.bottom),l.left=Wt(c.left,l.left),l},Ua(e,n,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}var Du=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/dom-utils/getClippingRect.js":(()=>{at(),Pu(),Ru(),Sa(),oi(),Gt(),Qo(),ot(),Jo(),Ki(),Ha(),oo(),Wa(),to()})});function bt(e){return e.split("-")[0]}var io=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getBasePlacement.js":(()=>{})});function xo(e){return e.split("-")[1]}var ri=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getVariation.js":(()=>{})});function kn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Cn=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getMainAxisFromPlacement.js":(()=>{})});function Ga(e){var t=e.reference,o=e.element,i=e.placement,r=i?bt(i):null,s=i?xo(i):null,n=t.x+t.width/2-o.width/2,a=t.y+t.height/2-o.height/2,l;switch(r){case"top":l={x:n,y:t.y-o.height};break;case vt:l={x:n,y:t.y+t.height};break;case Tt:l={x:t.x+t.width,y:a};break;case gt:l={x:t.x-o.width,y:a};break;default:l={x:t.x,y:t.y}}var d=r?kn(r):null;if(d!=null){var c=d==="y"?"height":"width";switch(s){case ii:l[d]=l[d]-(t[c]/2-o[c]/2);break;case"end":l[d]=l[d]+(t[c]/2-o[c]/2);break;default:}}return l}var Va=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/computeOffsets.js":(()=>{io(),ri(),Cn(),at()})});function Za(){return{top:0,right:0,bottom:0,left:0}}var qa=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getFreshSideObject.js":(()=>{})});function Ka(e){return Object.assign({},Za(),e)}var Ya=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/mergePaddingObject.js":(()=>{qa()})});function Xa(e,t){return t.reduce(function(o,i){return o[i]=e,o},{})}var Ja=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/expandToHashMap.js":(()=>{})});function ko(e,t){t===void 0&&(t={});var o=t,i=o.placement,r=i===void 0?e.placement:i,s=o.strategy,n=s===void 0?e.strategy:s,a=o.boundary,l=a===void 0?Aa:a,d=o.rootBoundary,c=d===void 0?Ta:d,p=o.elementContext,w=p===void 0?yn:p,v=o.altBoundary,u=v===void 0?!1:v,_=o.padding,E=_===void 0?0:_,z=Ka(typeof E!="number"?E:Xa(E,_o)),K=w==="popper"?$a:yn,q=e.rects.popper,N=e.elements[u?K:w],D=zu(Qt(N)?N:N.contextElement||Ut(e.elements.popper),l,c,n),F=wo(e.elements.reference),H=Ga({reference:F,element:q,strategy:"absolute",placement:r}),y=xn(Object.assign({},q,H)),Y=w==="popper"?y:F,B={top:D.top-Y.top+z.top,bottom:Y.bottom-D.bottom+z.bottom,left:D.left-Y.left+z.left,right:Y.right-D.right+z.right},de=e.modifiersData.offset;if(w==="popper"&&de){var me=de[r];Object.keys(B).forEach(function(m){var O=["right","bottom"].indexOf(m)>=0?1:-1,S=["top","bottom"].indexOf(m)>=0?"y":"x";B[m]+=me[S]*O})}return B}var ni=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/detectOverflow.js":(()=>{Du(),Gt(),Jo(),Va(),Wa(),at(),ot(),Ya(),Ja()})});function Qa(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function Sn(e){e===void 0&&(e={});var t=e,o=t.defaultModifiers,i=o===void 0?[]:o,r=t.defaultOptions,s=r===void 0?On:r;return function(a,l,d){d===void 0&&(d=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},On,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},p=[],w=!1,v={state:c,setOptions:function(z){var K=typeof z=="function"?z(c.options):z;return _(),c.options=Object.assign({},s,c.options,K),c.scrollParents={reference:Qt(a)?ei(a):a.contextElement?ei(a.contextElement):[],popper:ei(l)},c.orderedModifiers=Au(Nu([].concat(i,c.options.modifiers))).filter(function(q){return q.enabled}),u(),v.update()},forceUpdate:function(){if(!w){var z=c.elements,K=z.reference,q=z.popper;if(Qa(K,q)){c.rects={reference:yu(K,ti(q),c.options.strategy==="fixed"),popper:gn(q)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(B){return c.modifiersData[B.name]=Object.assign({},B.data)});for(var N=0;N<c.orderedModifiers.length;N++){if(c.reset===!0){c.reset=!1,N=-1;continue}var D=c.orderedModifiers[N],F=D.fn,H=D.options,y=H===void 0?{}:H,Y=D.name;typeof F=="function"&&(c=F({state:c,options:y,name:Y,instance:v})||c)}}}},update:$u(function(){return new Promise(function(E){v.forceUpdate(),E(c)})}),destroy:function(){_(),w=!0}};if(!Qa(a,l))return v;v.setOptions(d).then(function(E){!w&&d.onFirstUpdate&&d.onFirstUpdate(E)});function u(){c.orderedModifiers.forEach(function(E){var z=E.name,K=E.options,q=K===void 0?{}:K,N=E.effect;if(typeof N=="function"){var D=N({state:c,name:z,instance:v,options:q});p.push(D||function(){})}})}function _(){p.forEach(function(E){return E()}),p=[]}return v}}var On,el=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/createPopper.js":(()=>{wu(),bn(),Sa(),oi(),Tu(),Mu(),Lu(),ni(),ot(),On={placement:"bottom",modifiers:[],strategy:"absolute"}})});function Hu(e){var t=e.state,o=e.instance,i=e.options,r=i.scroll,s=r===void 0?!0:r,n=i.resize,a=n===void 0?!0:n,l=Ze(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(c){c.addEventListener("scroll",o.update,si)}),a&&l.addEventListener("resize",o.update,si),function(){s&&d.forEach(function(c){c.removeEventListener("scroll",o.update,si)}),a&&l.removeEventListener("resize",o.update,si)}}var si,Yi,En=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/eventListeners.js":(()=>{ft(),si={passive:!0},Yi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hu,data:{}}})});function Wu(e){var t=e.state,o=e.name;t.modifiersData[o]=Ga({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Xi,An=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/popperOffsets.js":(()=>{Va(),Xi={name:"popperOffsets",enabled:!0,phase:"read",fn:Wu,data:{}}})});function Uu(e,t){var o=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:eo(o*r)/r||0,y:eo(i*r)/r||0}}function tl(e){var t,o=e.popper,i=e.popperRect,r=e.placement,s=e.variation,n=e.offsets,a=e.position,l=e.gpuAcceleration,d=e.adaptive,c=e.roundOffsets,p=e.isFixed,w=n.x,v=w===void 0?0:w,u=n.y,_=u===void 0?0:u,E=typeof c=="function"?c({x:v,y:_}):{x:v,y:_};v=E.x,_=E.y;var z=n.hasOwnProperty("x"),K=n.hasOwnProperty("y"),q=gt,N="top",D=window;if(d){var F=ti(o),H="clientHeight",y="clientWidth";if(F===Ze(o)&&(F=Ut(o),At(F).position!=="static"&&a==="absolute"&&(H="scrollHeight",y="scrollWidth")),F=F,r==="top"||(r==="left"||r==="right")&&s==="end"){N=vt;var Y=p&&F===D&&D.visualViewport?D.visualViewport.height:F[H];_-=Y-i.height,_*=l?1:-1}if(r==="left"||(r==="top"||r==="bottom")&&s==="end"){q=Tt;var B=p&&F===D&&D.visualViewport?D.visualViewport.width:F[y];v-=B-i.width,v*=l?1:-1}}var de=Object.assign({position:a},d&&ol),me=c===!0?Uu({x:v,y:_},Ze(o)):{x:v,y:_};if(v=me.x,_=me.y,l){var m;return Object.assign({},de,(m={},m[N]=K?"0":"",m[q]=z?"0":"",m.transform=(D.devicePixelRatio||1)<=1?"translate("+v+"px, "+_+"px)":"translate3d("+v+"px, "+_+"px, 0)",m))}return Object.assign({},de,(t={},t[N]=K?_+"px":"",t[q]=z?v+"px":"",t.transform="",t))}function Gu(e){var t=e.state,o=e.options,i=o.gpuAcceleration,r=i===void 0?!0:i,s=o.adaptive,n=s===void 0?!0:s,a=o.roundOffsets,l=a===void 0?!0:a,d={placement:bt(t.placement),variation:xo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,tl(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,tl(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ol,Ji,Tn=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/computeStyles.js":(()=>{at(),oi(),ft(),Gt(),Qo(),io(),ri(),to(),ol={top:"auto",right:"auto",bottom:"auto",left:"auto"},Ji={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Gu,data:{}}})});function Vu(e){var t=e.state;Object.keys(t.elements).forEach(function(o){var i=t.styles[o]||{},r=t.attributes[o]||{},s=t.elements[o];!tt(s)||!mt(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(n){var a=r[n];a===!1?s.removeAttribute(n):s.setAttribute(n,a===!0?"":a)}))})}function Zu(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(i){var r=t.elements[i],s=t.attributes[i]||{},n=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:o[i]).reduce(function(a,l){return a[l]="",a},{});!tt(r)||!mt(r)||(Object.assign(r.style,n),Object.keys(s).forEach(function(a){r.removeAttribute(a)}))})}}var Qi,$n=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/applyStyles.js":(()=>{oo(),ot(),Qi={name:"applyStyles",enabled:!0,phase:"write",fn:Vu,effect:Zu,requires:["computeStyles"]}})});function qu(e,t,o){var i=bt(e),r=["left","top"].indexOf(i)>=0?-1:1,s=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,n=s[0],a=s[1];return n=n||0,a=(a||0)*r,["left","right"].indexOf(i)>=0?{x:a,y:n}:{x:n,y:a}}function Ku(e){var t=e.state,o=e.options,i=e.name,r=o.offset,s=r===void 0?[0,0]:r,n=_n.reduce(function(c,p){return c[p]=qu(p,t.rects,s),c},{}),a=n[t.placement],l=a.x,d=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[i]=n}var Mn,il=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/offset.js":(()=>{io(),at(),Mn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ku}})});function er(e){return e.replace(/left|right|bottom|top/g,function(t){return rl[t]})}var rl,Yu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getOppositePlacement.js":(()=>{rl={left:"right",right:"left",bottom:"top",top:"bottom"}})});function nl(e){return e.replace(/start|end/g,function(t){return sl[t]})}var sl,Xu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getOppositeVariationPlacement.js":(()=>{sl={start:"end",end:"start"}})});function Ju(e,t){t===void 0&&(t={});var o=t,i=o.placement,r=o.boundary,s=o.rootBoundary,n=o.padding,a=o.flipVariations,l=o.allowedAutoPlacements,d=l===void 0?_n:l,c=xo(i),p=c?a?wn:wn.filter(function(u){return xo(u)===c}):_o,w=p.filter(function(u){return d.indexOf(u)>=0});w.length===0&&(w=p);var v=w.reduce(function(u,_){return u[_]=ko(e,{placement:_,boundary:r,rootBoundary:s,padding:n})[bt(_)],u},{});return Object.keys(v).sort(function(u,_){return v[u]-v[_]})}var Qu=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/computeAutoPlacement.js":(()=>{ri(),at(),ni(),io()})});function e0(e){if(bt(e)==="auto")return[];var t=er(e);return[nl(e),t,nl(t)]}function t0(e){var t=e.state,o=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=o.mainAxis,s=r===void 0?!0:r,n=o.altAxis,a=n===void 0?!0:n,l=o.fallbackPlacements,d=o.padding,c=o.boundary,p=o.rootBoundary,w=o.altBoundary,v=o.flipVariations,u=v===void 0?!0:v,_=o.allowedAutoPlacements,E=t.options.placement,z=bt(E)===E,K=l||(z||!u?[er(E)]:e0(E)),q=[E].concat(K).reduce(function(R,W){return R.concat(bt(W)==="auto"?Ju(t,{placement:W,boundary:c,rootBoundary:p,padding:d,flipVariations:u,allowedAutoPlacements:_}):W)},[]),N=t.rects.reference,D=t.rects.popper,F=new Map,H=!0,y=q[0],Y=0;Y<q.length;Y++){var B=q[Y],de=bt(B),me=xo(B)===ii,m=["top",vt].indexOf(de)>=0,O=m?"width":"height",S=ko(t,{placement:B,boundary:c,rootBoundary:p,altBoundary:w,padding:d}),A=m?me?Tt:gt:me?vt:"top";N[O]>D[O]&&(A=er(A));var M=er(A),x=[];if(s&&x.push(S[de]<=0),a&&x.push(S[A]<=0,S[M]<=0),x.every(function(R){return R})){y=B,H=!1;break}F.set(B,x)}if(H)for(var ee=u?3:1,X=function(W){var re=q.find(function(ve){var le=F.get(ve);if(le)return le.slice(0,W).every(function(te){return te})});if(re)return y=re,"break"},L=ee;L>0&&X(L)!=="break";L--);t.placement!==y&&(t.modifiersData[i]._skip=!0,t.placement=y,t.reset=!0)}}var Nn,al=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/flip.js":(()=>{Yu(),io(),Xu(),ni(),Qu(),at(),ri(),Nn={name:"flip",enabled:!0,phase:"main",fn:t0,requiresIfExists:["offset"],data:{_skip:!1}}})});function o0(e){return e==="x"?"y":"x"}var i0=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/getAltAxis.js":(()=>{})});function ai(e,t,o){return Wt(e,Xo(t,o))}function r0(e,t,o){var i=ai(e,t,o);return i>o?o:i}var ll=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/utils/within.js":(()=>{to()})});function n0(e){var t=e.state,o=e.options,i=e.name,r=o.mainAxis,s=r===void 0?!0:r,n=o.altAxis,a=n===void 0?!1:n,l=o.boundary,d=o.rootBoundary,c=o.altBoundary,p=o.padding,w=o.tether,v=w===void 0?!0:w,u=o.tetherOffset,_=u===void 0?0:u,E=ko(t,{boundary:l,rootBoundary:d,padding:p,altBoundary:c}),z=bt(t.placement),K=xo(t.placement),q=!K,N=kn(z),D=o0(N),F=t.modifiersData.popperOffsets,H=t.rects.reference,y=t.rects.popper,Y=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,B=typeof Y=="number"?{mainAxis:Y,altAxis:Y}:Object.assign({mainAxis:0,altAxis:0},Y),de=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,me={x:0,y:0};if(F){if(s){var m,O=N==="y"?"top":gt,S=N==="y"?vt:Tt,A=N==="y"?"height":"width",M=F[N],x=M+E[O],ee=M-E[S],X=v?-y[A]/2:0,L=K==="start"?H[A]:y[A],R=K==="start"?-y[A]:-H[A],W=t.elements.arrow,re=v&&W?gn(W):{width:0,height:0},ve=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Za(),le=ve[O],te=ve[S],Ae=ai(0,H[A],re[A]),Ie=q?H[A]/2-X-Ae-le-B.mainAxis:L-Ae-le-B.mainAxis,Ne=q?-H[A]/2+X+Ae+te+B.mainAxis:R+Ae+te+B.mainAxis,Le=t.elements.arrow&&ti(t.elements.arrow),je=Le?N==="y"?Le.clientTop||0:Le.clientLeft||0:0,qt=(m=de==null?void 0:de[N])!=null?m:0,Rt=M+Ie-qt-je,bi=M+Ne-qt,g=ai(v?Xo(x,Rt):x,M,v?Wt(ee,bi):ee);F[N]=g,me[N]=g-M}if(a){var k,J=N==="x"?"top":gt,G=N==="x"?vt:Tt,ne=F[D],se=D==="y"?"height":"width",Ke=ne+E[J],rt=ne-E[G],De=["top",gt].indexOf(z)!==-1,Ve=(k=de==null?void 0:de[D])!=null?k:0,Ye=De?Ke:ne-H[se]-y[se]-Ve+B.altAxis,Se=De?ne+H[se]+y[se]-Ve-B.altAxis:rt,xt=v&&De?r0(Ye,ne,Se):ai(v?Ye:Ke,ne,v?Se:rt);F[D]=xt,me[D]=xt-ne}t.modifiersData[i]=me}}var Ln,dl=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/preventOverflow.js":(()=>{at(),io(),Cn(),i0(),ll(),bn(),oi(),ni(),ri(),qa(),to(),Ln={name:"preventOverflow",enabled:!0,phase:"main",fn:n0,requiresIfExists:["offset"]}})});function s0(e){var t,o=e.state,i=e.name,r=e.options,s=o.elements.arrow,n=o.modifiersData.popperOffsets,a=bt(o.placement),l=kn(a),d=["left","right"].indexOf(a)>=0?"height":"width";if(!(!s||!n)){var c=cl(r.padding,o),p=gn(s),w=l==="y"?"top":gt,v=l==="y"?vt:Tt,u=o.rects.reference[d]+o.rects.reference[l]-n[l]-o.rects.popper[d],_=n[l]-o.rects.reference[l],E=ti(s),z=E?l==="y"?E.clientHeight||0:E.clientWidth||0:0,K=u/2-_/2,q=c[w],N=z-p[d]-c[v],D=z/2-p[d]/2+K,F=ai(q,D,N),H=l;o.modifiersData[i]=(t={},t[H]=F,t.centerOffset=F-D,t)}}function a0(e){var t=e.state,o=e.options.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Da(t.elements.popper,i)&&(t.elements.arrow=i))}var cl,jn,ul=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/arrow.js":(()=>{io(),bn(),Ha(),oi(),Cn(),ll(),Ya(),Ja(),at(),cl=function(t,o){return t=typeof t=="function"?t(Object.assign({},o.rects,{placement:o.placement})):t,Ka(typeof t!="number"?t:Xa(t,_o))},jn={name:"arrow",enabled:!0,phase:"main",fn:s0,effect:a0,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}})});function pl(e,t,o){return o===void 0&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function hl(e){return["top",Tt,vt,gt].some(function(t){return e[t]>=0})}function l0(e){var t=e.state,o=e.name,i=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,n=ko(t,{elementContext:"reference"}),a=ko(t,{altBoundary:!0}),l=pl(n,i),d=pl(a,r,s),c=hl(l),p=hl(d);t.modifiersData[o]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var Pn,fl=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/hide.js":(()=>{at(),ni(),Pn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:l0}})}),ml,vl,d0=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/popper-lite.js":(()=>{el(),En(),An(),Tn(),$n(),ml=[Yi,Xi,Ji,Qi],vl=Sn({defaultModifiers:ml})})}),c0=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/modifiers/index.js":(()=>{$n(),ul(),Tn(),En(),al(),fl(),il(),An(),dl()})}),u0=Ct({applyStyles:()=>Qi,arrow:()=>jn,computeStyles:()=>Ji,createPopper:()=>gl,createPopperLite:()=>vl,defaultModifiers:()=>In,detectOverflow:()=>ko,eventListeners:()=>Yi,flip:()=>Nn,hide:()=>Pn,offset:()=>Mn,popperGenerator:()=>Sn,popperOffsets:()=>Xi,preventOverflow:()=>Ln}),In,gl,p0=h({"../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/esm/popper.js":(()=>{el(),En(),An(),Tn(),$n(),il(),al(),dl(),ul(),fl(),d0(),c0(),In=[Yi,Xi,Ji,Qi,Mn,Nn,Ln,jn,Pn],gl=Sn({defaultModifiers:In})})});function h0({wrappingDialogNodeL1:e,contentWrapperNodeL2:t,contentNodeL3:o}){if(!(t.isConnected||o.isConnected))throw new 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 i;const r=document.createComment("tempMarker");t.isConnected?(i=t.parentElement||t.getRootNode(),i.insertBefore(r,t),e.appendChild(t)):o.assignedSlot?(i=o.assignedSlot.parentElement||o.assignedSlot.getRootNode(),i.insertBefore(r,o.assignedSlot),e.appendChild(t),t.appendChild(o.assignedSlot)):(i=o.parentElement||o.getRootNode(),i.insertBefore(r,o),e.appendChild(t),t.appendChild(o)),i.insertBefore(e,r),i==null||i.removeChild(r)}function f0(){return Rn.apply(this,arguments)}function Rn(){return Rn=ue(function*(){return Promise.resolve().then(()=>(p0(),u0))}),Rn.apply(this,arguments)}var Fn,m0=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/OverlayController.js":(()=>{Uc(),su(),au(),hu(),Fn=class _i extends EventTarget{constructor(t={},o=va){super(),this.manager=o,this.__sharedConfig=t,this.__activeElementRightBeforeHide=null,this.config={},this._defaultConfig={placementMode:void 0,contentNode:t.contentNode,contentWrapperNode:t.contentWrapperNode,invokerNode:t.invokerNode,backdropNode:t.backdropNode,referenceNode:void 0,elementToFocusAfterHide:t.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(t),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 t;return(t=this.config)===null||t===void 0?void 0:t.placementMode}get invokerNode(){var t;return(t=this.config)===null||t===void 0?void 0:t.invokerNode}get referenceNode(){var t;return(t=this.config)===null||t===void 0?void 0:t.referenceNode}get contentNode(){var t;return(t=this.config)===null||t===void 0?void 0:t.contentNode}get contentWrapperNode(){var t;return this.__contentWrapperNode||((t=this.config)===null||t===void 0?void 0:t.contentWrapperNode)}get backdropNode(){var t;return this.__backdropNode||((t=this.config)===null||t===void 0?void 0:t.backdropNode)}get elementToFocusAfterHide(){var t;return this.__elementToFocusAfterHide||((t=this.config)===null||t===void 0?void 0:t.elementToFocusAfterHide)}get hasBackdrop(){var t;return!!this.backdropNode||((t=this.config)===null||t===void 0?void 0:t.hasBackdrop)}get isBlocking(){var t;return(t=this.config)===null||t===void 0?void 0:t.isBlocking}get preventsScroll(){var t;return(t=this.config)===null||t===void 0?void 0:t.preventsScroll}get trapsKeyboardFocus(){var t;return(t=this.config)===null||t===void 0?void 0:t.trapsKeyboardFocus}get hidesOnEsc(){var t;return(t=this.config)===null||t===void 0?void 0:t.hidesOnEsc}get hidesOnOutsideClick(){var t;return(t=this.config)===null||t===void 0?void 0:t.hidesOnOutsideClick}get hidesOnOutsideEsc(){var t;return(t=this.config)===null||t===void 0?void 0:t.hidesOnOutsideEsc}get inheritsReferenceWidth(){var t;return(t=this.config)===null||t===void 0?void 0:t.inheritsReferenceWidth}get handlesAccessibility(){var t;return(t=this.config)===null||t===void 0?void 0:t.handlesAccessibility}get isTooltip(){var t;return(t=this.config)===null||t===void 0?void 0:t.isTooltip}get invokerRelation(){var t;return(t=this.config)===null||t===void 0?void 0:t.invokerRelation}get popperConfig(){var t;return(t=this.config)===null||t===void 0?void 0:t.popperConfig}get viewportConfig(){var t;return(t=this.config)===null||t===void 0?void 0:t.viewportConfig}get visibilityTriggerFunction(){var t;return(t=this.config)===null||t===void 0?void 0:t.visibilityTriggerFunction}get _referenceNode(){return this.referenceNode||this.invokerNode}set elevation(t){this.__wrappingDialogNode.style.zIndex=`${this.config.zIndex+t}`}get elevation(){var t;return Number((t=this.contentWrapperNode)===null||t===void 0?void 0:t.style.zIndex)}updateConfig(t){var o,i,r;this.teardown(),this.__prevConfig=this.config,this.config=U(U(U(U({},this._defaultConfig),this.__sharedConfig),t),{},{popperConfig:U(U(U(U({},this._defaultConfig.popperConfig||{}),this.__sharedConfig.popperConfig||{}),t.popperConfig||{}),{},{modifiers:[...((o=this._defaultConfig.popperConfig)===null||o===void 0?void 0:o.modifiers)||[],...((i=this.__sharedConfig.popperConfig)===null||i===void 0?void 0:i.modifiers)||[],...((r=t.popperConfig)===null||r===void 0?void 0:r.modifiers)||[]]})}),this.__validateConfiguration(this.config),this._init(),this.__elementToFocusAfterHide=void 0}__validateConfiguration(t){if(!t.placementMode)throw new Error('[OverlayController] You need to provide a .placementMode ("global"|"local")');if(!["global","local"].includes(t.placementMode))throw new Error(`[OverlayController] "${t.placementMode}" is not a valid .placementMode, use ("global"|"local")`);if(!t.contentNode)throw new Error("[OverlayController] You need to provide a .contentNode");if(t.isTooltip&&!t.handlesAccessibility)throw new 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"&&(_i.popperModule||(_i.popperModule=f0())),this.__handleOverlayStyles({phase:"init"}),this._handleFeatures({phase:"init"})}__handleOverlayStyles({phase:t}){var o;const i=(o=this.contentWrapperNode)===null||o===void 0?void 0:o.getRootNode();t==="init"?Jt.adoptStyle(i,ln):t==="teardown"&&Jt.adoptStyle(i,ln,{teardown:!0})}__initContentDomStructure(){var t,o;const i=document.createElement(!((t=this.config)===null||t===void 0)&&t._noDialogEl?"div":"dialog");i.setAttribute("role","none"),i.setAttribute("data-overlay-outer-wrapper",""),i.style.cssText=`display:none; z-index: ${this.config.zIndex}; padding: 0;`,this.__wrappingDialogNode=i,!((o=this.config)===null||o===void 0)&&o.contentWrapperNode||(this.__contentWrapperNode=document.createElement("div")),this.contentWrapperNode.setAttribute("data-id","content-wrapper"),h0({wrappingDialogNodeL1:i,contentWrapperNodeL2:this.contentWrapperNode,contentNodeL3:this.contentNode}),i.open=!0,this.__wrappingDialogNode.style.display="none",this.contentWrapperNode.style.zIndex="1",getComputedStyle(this.contentNode).position==="absolute"&&(this.contentNode.style.position="static")}_handleZIndex({phase:t}){if(this.placementMode==="local"&&t==="setup"){const o=Number(getComputedStyle(this.contentNode).zIndex);(o<1||Number.isNaN(o))&&(this.contentNode.style.zIndex="1")}}__setupTeardownAccessibility({phase:t}){t==="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"))):t==="teardown"&&this.__restoreOriginalAttrs()}__storeOriginalAttrs(t,o){const i={};o.forEach(r=>{i[r]=t.getAttribute(r)}),this.__originalAttrs.set(t,i)}__restoreOriginalAttrs(){for(const[t,o]of this.__originalAttrs)Object.entries(o).forEach(([i,r])=>{r!==null?t.setAttribute(i,r):t.removeAttribute(i)});this.__originalAttrs.clear()}get isShown(){var t;return((t=this.__wrappingDialogNode)===null||t===void 0?void 0:t.style.display)!=="none"}show(){var t=this;return ue(function*(o=this.elementToFocusAfterHide){if(t._showComplete&&(yield t._showComplete),t._showComplete=new Promise(r=>{t._showResolve=r}),t.manager&&t.manager.show(t),t.isShown){t._showResolve();return}const i=new CustomEvent("before-show",{cancelable:!0});t.dispatchEvent(i),i.defaultPrevented||("HTMLDialogElement"in window&&t.__wrappingDialogNode instanceof HTMLDialogElement&&(t.__wrappingDialogNode.open=!0),t.__wrappingDialogNode.style.display="",t._keepBodySize({phase:"before-show"}),yield t._handleFeatures({phase:"show"}),t._keepBodySize({phase:"show"}),yield t._handlePosition({phase:"show"}),t.__elementToFocusAfterHide=o,t.dispatchEvent(new Event("show")),yield t._transitionShow({backdropNode:t.backdropNode,contentNode:t.contentNode})),t._showResolve()}).apply(this,arguments)}_handlePosition({phase:t}){var o=this;return ue(function*(){if(o.placementMode==="global"){const i=`overlays__overlay-container--${o.viewportConfig.placement}`;t==="show"?(o.contentWrapperNode.classList.add("overlays__overlay-container"),o.contentWrapperNode.classList.add(i),o.contentNode.classList.add("overlays__overlay")):t==="hide"&&(o.contentWrapperNode.classList.remove("overlays__overlay-container"),o.contentWrapperNode.classList.remove(i),o.contentNode.classList.remove("overlays__overlay"))}else o.placementMode==="local"&&t==="show"&&(yield o.__createPopperInstance(),o._popper.forceUpdate())})()}_keepBodySize({phase:t}){switch(t){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 o,i;if(window.getComputedStyle){const l=window.getComputedStyle(document.body);this.__bodyMarginRight=parseInt(l.getPropertyValue("margin-right"),10),this.__bodyMarginBottom=parseInt(l.getPropertyValue("margin-bottom"),10)}else this.__bodyMarginRight=0,this.__bodyMarginBottom=0;const r=document.body.clientWidth-this.__bodyClientWidth,s=document.body.clientHeight-this.__bodyClientHeight,n=this.__bodyMarginRight+r,a=this.__bodyMarginBottom+s;!((o=window.CSS)===null||o===void 0)&&o.number&&(!((i=document.body.attributeStyleMap)===null||i===void 0)&&i.set)?(document.body.attributeStyleMap.set("margin-right",CSS.px(n)),document.body.attributeStyleMap.set("margin-bottom",CSS.px(a))):(document.body.style.marginRight=`${n}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 t=this;return ue(function*(){if(t._hideComplete=new Promise(i=>{t._hideResolve=i}),t.__activeElementRightBeforeHide=t.contentNode.getRootNode().activeElement,t.manager&&t.manager.hide(t),!t.isShown){t._hideResolve();return}const o=new CustomEvent("before-hide",{cancelable:!0});t.dispatchEvent(o),o.defaultPrevented||(yield t._transitionHide({backdropNode:t.backdropNode,contentNode:t.contentNode}),"HTMLDialogElement"in window&&t.__wrappingDialogNode instanceof HTMLDialogElement&&t.__wrappingDialogNode.close(),t.__wrappingDialogNode.style.display="none",t._handleFeatures({phase:"hide"}),t._keepBodySize({phase:"hide"}),t.dispatchEvent(new Event("hide")),t._restoreFocus()),t._hideResolve()})()}transitionHide(t){return ue(function*(){})()}_transitionHide({backdropNode:t,contentNode:o}){var i=this;return ue(function*(){yield i.transitionHide({backdropNode:t,contentNode:o}),i._handlePosition({phase:"hide"}),t&&t.classList.remove("overlays__backdrop--animation-in")})()}transitionShow(t){return ue(function*(){})()}_transitionShow(t){var o=this;return ue(function*(){yield o.transitionShow({backdropNode:o.backdropNode,contentNode:o.contentNode}),t.backdropNode&&t.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 t=this;return ue(function*(){return t.isShown?t.hide():t.show()})()}_handleFeatures({phase:t}){this._handleZIndex({phase:t}),this.preventsScroll&&this._handlePreventsScroll({phase:t}),this.isBlocking&&this._handleBlocking({phase:t}),this.hasBackdrop&&this._handleBackdrop({phase:t}),this.trapsKeyboardFocus&&this._handleTrapsKeyboardFocus({phase:t}),this.hidesOnEsc&&this._handleHidesOnEsc({phase:t}),this.hidesOnOutsideEsc&&this._handleHidesOnOutsideEsc({phase:t}),this.hidesOnOutsideClick&&this._handleHidesOnOutsideClick({phase:t}),this.handlesAccessibility&&this._handleAccessibility({phase:t}),this.inheritsReferenceWidth&&this._handleInheritsReferenceWidth(),this.visibilityTriggerFunction&&this._handleVisibilityTriggers({phase:t})}_handleVisibilityTriggers({phase:t}){typeof this.visibilityTriggerFunction=="function"&&(t==="init"&&(this.__visibilityTriggerHandler=this.visibilityTriggerFunction({phase:t,controller:this})),this.__visibilityTriggerHandler[t]&&this.__visibilityTriggerHandler[t]())}_handlePreventsScroll({phase:t}){switch(t){case"show":this.manager.requestToPreventScroll();break;case"hide":this.manager.requestToEnableScroll();break}}_handleBlocking({phase:t}){switch(t){case"show":this.manager.requestToShowOnly(this);break;case"hide":this.manager.retractRequestToShowOnly(this);break}}get hasActiveBackdrop(){return this.__hasActiveBackdrop}_handleBackdrop({phase:t}){switch(t){case"init":if(!this.__backdropInitialized){var o;!((o=this.config)===null||o===void 0)&&o.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:t}){t==="show"?("showModal"in this.__wrappingDialogNode&&(this.__wrappingDialogNode.close(),this.__wrappingDialogNode.showModal()),this.enableTrapsKeyboardFocus()):(t==="hide"||t==="teardown")&&this.disableTrapsKeyboardFocus()}enableTrapsKeyboardFocus(){this.__hasActiveTrapsKeyboardFocus||(this.manager&&this.manager.disableTrapsKeyboardFocusForAll(),this._containFocusHandler=nu(this.contentNode),this.__hasActiveTrapsKeyboardFocus=!0,this.manager&&this.manager.informTrapsKeyboardFocusGotEnabled(this.placementMode))}disableTrapsKeyboardFocus({findNewTrap:t=!0}={}){this.__hasActiveTrapsKeyboardFocus&&(this._containFocusHandler&&(this._containFocusHandler.disconnect(),this._containFocusHandler=void 0),this.__hasActiveTrapsKeyboardFocus=!1,this.manager&&this.manager.informTrapsKeyboardFocusGotDisabled({disabledCtrl:this,findNewTrap:t}))}__escKeyHandler(t){return t.key==="Escape"&&this.hide()}_handleHidesOnEsc({phase:t}){t==="show"?(this.contentNode.addEventListener("keyup",this.__escKeyHandler),this.invokerNode&&this.invokerNode.addEventListener("keyup",this.__escKeyHandler)):t==="hide"&&(this.contentNode.removeEventListener("keyup",this.__escKeyHandler),this.invokerNode&&this.invokerNode.removeEventListener("keyup",this.__escKeyHandler))}_handleHidesOnOutsideEsc({phase:t}){t==="show"?(this.__escKeyHandler=o=>o.key==="Escape"&&this.hide(),document.addEventListener("keyup",this.__escKeyHandler)):t==="hide"&&document.removeEventListener("keyup",this.__escKeyHandler)}_handleInheritsReferenceWidth(){if(!this._referenceNode||this.placementMode==="global")return;const t=`${this._referenceNode.getBoundingClientRect().width}px`;switch(this.inheritsReferenceWidth){case"max":this.contentWrapperNode.style.maxWidth=t;break;case"full":this.contentWrapperNode.style.width=t;break;case"min":this.contentWrapperNode.style.minWidth=t,this.contentWrapperNode.style.width="auto";break}}_handleHidesOnOutsideClick({phase:t}){const o=t==="show"?"addEventListener":"removeEventListener";if(t==="show"){let i=!1,r=!1;this.__onInsideMouseDown=()=>{i=!0},this.__onInsideMouseUp=()=>{r=!0},this.__onDocumentMouseUp=()=>{setTimeout(()=>{!i&&!r&&this.hide(),i=!1,r=!1})}}this.contentWrapperNode[o]("mousedown",this.__onInsideMouseDown,!0),this.contentWrapperNode[o]("mouseup",this.__onInsideMouseUp,!0),this.invokerNode&&(this.invokerNode[o]("mousedown",this.__onInsideMouseDown,!0),this.invokerNode[o]("mouseup",this.__onInsideMouseUp,!0)),document.documentElement[o]("mouseup",this.__onDocumentMouseUp,!0)}_handleAccessibility({phase:t}){(t==="init"||t==="teardown")&&this.__setupTeardownAccessibility({phase:t}),this.invokerNode&&!this.isTooltip&&this.invokerNode.setAttribute("aria-expanded",`${t==="show"}`)}teardown(){this.__handleOverlayStyles({phase:"teardown"}),this._handleFeatures({phase:"teardown"})}__createPopperInstance(){var t=this;return ue(function*(){if(t._popper&&(t._popper.destroy(),t._popper=void 0),_i.popperModule!==void 0){var o;const{createPopper:i}=yield _i.popperModule;t._popper=i(t._referenceNode,t.contentWrapperNode,U({},(o=t.config)===null||o===void 0?void 0:o.popperConfig))}})()}_hasDisabledInvoker(){return this.invokerNode?this.invokerNode.disabled||this.invokerNode.getAttribute("aria-disabled")==="true":!1}},Fn.popperModule=void 0})});function v0(e,t){let o=t;for(;o;){if(Bn.get(o)===e)return!0;o=Object.getPrototypeOf(o)}return!1}function g0(e){return t=>{if(v0(e,t))return t;const o=e(t);return Bn.set(o,e),o}}var Bn,b0=h({"../../node_modules/.pnpm/@open-wc+dedupe-mixin@1.4.0/node_modules/@open-wc/dedupe-mixin/src/dedupeMixin.js":(()=>{Bn=new WeakMap})}),y0=h({"../../node_modules/.pnpm/@open-wc+dedupe-mixin@1.4.0/node_modules/@open-wc/dedupe-mixin/index.js":(()=>{b0()})});function bl(e,t){if(typeof e!="object"||typeof t!="object"||e===null||t===null)return e===t;const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;const r=s=>bl(e[s],t[s]);return o.every(r)}var w0=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/utils/is-equal-config.js":(()=>{})}),yl,wl,_0=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/OverlayMixin.js":(()=>{y0(),m0(),w0(),yl=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(o){const i=!bl(this.config,o);this._overlayCtrl&&i&&this._overlayCtrl.updateConfig(o),this.__config=o,this._overlayCtrl&&i&&this.__syncToOverlayController()}requestUpdate(o,i,r){super.requestUpdate(o,i,r),o==="opened"&&this.opened!==i&&this.dispatchEvent(new Event("opened-changed"))}_defineOverlay({contentNode:o,invokerNode:i,referenceNode:r,backdropNode:s,contentWrapperNode:n}){var a,l,d;const c=this._defineOverlayConfig()||{};return new Fn(U(U(U({contentNode:o,invokerNode:i,referenceNode:r,backdropNode:s,contentWrapperNode:n},c),this.config),{},{popperConfig:U(U(U({},c.popperConfig||{}),((a=this.config)===null||a===void 0?void 0:a.popperConfig)||{}),{},{modifiers:[...((l=c.popperConfig)===null||l===void 0?void 0:l.modifiers)||[],...((d=this.config)===null||d===void 0||(d=d.popperConfig)===null||d===void 0?void 0:d.modifiers)||[]]})}))}_defineOverlayConfig(){return{placementMode:"local"}}updated(o){super.updated(o),o.has("opened")&&this._overlayCtrl&&!this.__blockSyncToOverlayCtrl&&this.__syncToOverlayController()}_setupOpenCloseListeners(){this.__closeEventInContentNodeHandler=o=>{o.stopPropagation(),this._overlayCtrl.hide()},this._overlayContentNode&&this._overlayContentNode.addEventListener("close-overlay",this.__closeEventInContentNodeHandler)}_teardownOpenCloseListeners(){this._overlayContentNode&&this._overlayContentNode.removeEventListener("close-overlay",this.__closeEventInContentNodeHandler)}firstUpdated(o){super.firstUpdated(o),this._setupOverlayCtrl()}disconnectedCallback(){super.disconnectedCallback(),this._overlayCtrl&&this._teardownOverlayCtrl()}get _overlayInvokerNode(){return Array.from(this.children).find(o=>o.slot==="invoker")}get _overlayReferenceNode(){}get _overlayBackdropNode(){return this.__cachedOverlayBackdropNode||(this.__cachedOverlayBackdropNode=Array.from(this.children).find(o=>o.slot==="backdrop")),this.__cachedOverlayBackdropNode}get _overlayContentNode(){return this._cachedOverlayContentNode||(this._cachedOverlayContentNode=Array.from(this.children).find(o=>o.slot==="content")||this.config.contentNode),this._cachedOverlayContentNode}get _overlayContentWrapperNode(){var o;return(o=this.shadowRoot)===null||o===void 0?void 0:o.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(o){var i=this;return ue(function*(){i.__blockSyncToOverlayCtrl=!0,i.opened=o,yield i.updateComplete,i.__blockSyncToOverlayCtrl=!1})()}__setupSyncFromOverlayController(){this.__onOverlayCtrlShow=()=>{this.opened=!0},this.__onOverlayCtrlHide=()=>{this.opened=!1},this.__onBeforeShow=o=>{const i=new CustomEvent("before-opened",{cancelable:!0});this.dispatchEvent(i),i.defaultPrevented&&(this._setOpenedWithoutPropertyEffects(this._overlayCtrl.isShown),o.preventDefault())},this.__onBeforeHide=o=>{const i=new CustomEvent("before-closed",{cancelable:!0});this.dispatchEvent(i),i.defaultPrevented&&(this._setOpenedWithoutPropertyEffects(this._overlayCtrl.isShown),o.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 o=this;return ue(function*(){yield o._overlayCtrl.toggle()})()}open(){var o=this;return ue(function*(){yield o._overlayCtrl.show()})()}close(){var o=this;return ue(function*(){yield o._overlayCtrl.hide()})()}repositionOverlay(){const o=this._overlayCtrl;o.placementMode==="local"&&o._popper&&o._popper.update()}},wl=g0(yl)})});function x0(){return{visibilityTriggerFunction:({controller:e})=>{function t(){e._hasDisabledInvoker()||e.toggle()}return{init:()=>{var o;(o=e.invokerNode)===null||o===void 0||o.addEventListener("click",t)},teardown:()=>{var o;(o=e.invokerNode)===null||o===void 0||o.removeEventListener("click",t)}}}}}var k0=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/configurations/visibility-trigger-partials/withClickInteraction.js":(()=>{})}),_l,C0=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/components/overlays/src/configurations/withModalDialogConfig.js":(()=>{k0(),_l=()=>U({placementMode:"global",viewportConfig:{placement:"center"},hasBackdrop:!0,preventsScroll:!0,trapsKeyboardFocus:!0,hidesOnEsc:!0,handlesAccessibility:!0},x0())})}),S0=h({"../../node_modules/.pnpm/@lion+ui@0.4.2/node_modules/@lion/ui/exports/overlays.js":(()=>{_0(),C0()})}),$t,O0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js":(()=>{$t=e=>(t,o)=>{o!==void 0?o.addInitializer((()=>{customElements.define(e,t)})):customElements.define(e,t)}})});function T(e){return(t,o)=>typeof o=="object"?kl(e,t,o):((i,r,s)=>{const n=r.hasOwnProperty(s);return r.constructor.createProperty(s,i),n?Object.getOwnPropertyDescriptor(r,s):void 0})(e,t,o)}var xl,kl,Cl=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js":(()=>{Li(),xl={attribute:!0,type:String,converter:Zo,reflect:!1,hasChanged:Ni},kl=(e=xl,t,o)=>{const{kind:i,metadata:r}=o;let s=globalThis.litPropertyMetadata.get(r);if(s===void 0&&globalThis.litPropertyMetadata.set(r,s=new Map),i==="setter"&&((e=Object.create(e)).wrapped=!0),s.set(o.name,e),i==="accessor"){const{name:n}=o;return{set(a){const l=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,l,e)},init(a){return a!==void 0&&this.C(n,void 0,e,a),a}}}if(i==="setter"){const{name:n}=o;return function(a){const l=this[n];t.call(this,a),this.requestUpdate(n,l,e)}}throw Error("Unsupported decorator location: "+i)}})});/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/function Vt(e){return T(U(U({},e),{},{state:!0,attribute:!1}))}var E0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js":(()=>{Cl()})}),A0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/event-options.js":(()=>{})}),T0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.js":(()=>{})}),$0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-all.js":(()=>{})}),M0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-async.js":(()=>{})}),N0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js":(()=>{})}),L0=h({"../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js":(()=>{})}),Mt=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/decorators.js":(()=>{O0(),Cl(),E0(),A0(),T0(),$0(),M0(),N0(),L0()})}),Sl,j0=h({"src/index.css?inline":(()=>{Sl='*,: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}.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}.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}.-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))}}'})}),Ol,li,tr=h({"src/mixins/tailwind-component.ts":(()=>{Ue(),j0(),Ol=Rr(Sl),li=e=>{class t extends e{connectedCallback(){super.connectedCallback(),this.shadowRoot&&Fr(this.shadowRoot,[Ol])}}return t}})});function C(e,t,o,i){var r=arguments.length,s=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,o):i,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s}var Nt=h({"\\0@oxc-project+runtime@0.92.0/helpers/decorate.js":(()=>{})}),P0=Ct({GivebutterDialog:()=>Lt,GivebutterDialogMode:()=>di}),di,Lt,El=h({"src/components/dialog.ts":(()=>{S0(),Ue(),Mt(),tr(),Nt(),di=(function(e){return e[e.MANUAL=0]="MANUAL",e[e.TIMED=1]="TIMED",e})({}),Lt=class extends li(wl(Et)){constructor(...t){super(...t),this.trigger=di.MANUAL,this.openDelay=5e3,this.closeButton=!1,this.hideOnEsc=!0,this.hideOnOutsideClick=!1}_defineOverlayConfig(){const t=document.createElement("div");return t.id="overlays-backdrop",U(U({},_l()),{},{hidesOnOutsideEsc:this.hideOnEsc,hidesOnOutsideClick:this.hideOnOutsideClick,backdropNode:t})}connectedCallback(){super.connectedCallback(),this.trigger===di.TIMED&&setTimeout(()=>{this.toggle()},this.openDelay)}render(){return fe`
      ${this.getBackdropStyles()}
      <slot name="invoker"></slot>
      <div id="overlay-content-node-wrapper">
        ${this.closeButton?this.renderCloseIcon():""}
        <slot name="content"></slot>
      </div>
    `}renderCloseIcon(){return fe`
      <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 fe`
      <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>
    `}},C([T({type:Number,attribute:"trigger"})],Lt.prototype,"trigger",void 0),C([T({type:Number,attribute:"open-delay"})],Lt.prototype,"openDelay",void 0),C([T({type:Boolean,attribute:"close-button"})],Lt.prototype,"closeButton",void 0),C([T({type:Boolean,attribute:"hide-on-esc"})],Lt.prototype,"hideOnEsc",void 0),C([T({type:Boolean,attribute:"hide-on-outside-click"})],Lt.prototype,"hideOnOutsideClick",void 0),Lt=C([$t("givebutter-dialog")],Lt)})}),zn,Al=h({"../../node_modules/.pnpm/@lit-labs+observers@2.0.6/node_modules/@lit-labs/observers/mutation-controller.js":(()=>{pa(),zn=class{constructor(e,{target:t,config:o,callback:i,skipInitial:r}){this.t=new Set,this.o=!1,this.i=!1,this.h=e,t!==null&&this.t.add(t!=null?t:e),this.l=o,this.o=r!=null?r:this.o,this.callback=i,window.MutationObserver?(this.u=new MutationObserver((s=>{this.handleChanges(s),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||t===void 0?void 0:t.call(this,e,this.u)}hostConnected(){for(const e of this.t)this.observe(e)}hostDisconnected(){this.disconnect()}hostUpdated(){var e=this;return ue(function*(){const 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()}}})}),lt,I0=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/if-defined.js":(()=>{Ot(),lt=e=>e!=null?e:ye})}),or=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/directives/if-defined.js":(()=>{I0()})}),Tl,R0,F0,B0,z0,D0,H0,$l,Dn,W0,U0,Ml,G0,V0,Z0,q0,K0=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js":(()=>{Ot(),{I:Tl}=ca,R0=e=>e===null||typeof e!="object"&&typeof e!="function",F0={HTML:1,SVG:2,MATHML:3},B0=(e,t)=>t===void 0?(e==null?void 0:e._$litType$)!==void 0:(e==null?void 0:e._$litType$)===t,z0=e=>{var t;return(e==null||(t=e._$litType$)===null||t===void 0?void 0:t.h)!=null},D0=e=>(e==null?void 0:e._$litDirective$)!==void 0,H0=e=>e==null?void 0:e._$litDirective$,$l=e=>e.strings===void 0,Dn=()=>document.createComment(""),W0=(e,t,o)=>{const i=e._$AA.parentNode,r=t===void 0?e._$AB:t._$AA;if(o===void 0){const n=i.insertBefore(Dn(),r),a=i.insertBefore(Dn(),r);o=new Tl(n,a,e,e.options)}else{const n=o._$AB.nextSibling,a=o._$AM,l=a!==e;if(l){var s;let d;(s=o._$AQ)===null||s===void 0||s.call(o,e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==a._$AU&&o._$AP(d)}if(n!==r||l){let d=o._$AA;for(;d!==n;){const c=d.nextSibling;i.insertBefore(d,r),d=c}}}return o},U0=(e,t,o=e)=>(e._$AI(t,o),e),Ml={},G0=(e,t=Ml)=>e._$AH=t,V0=e=>e._$AH,Z0=e=>{e._$AR(),e._$AA.remove()},q0=e=>{e._$AR()}})}),Co,So,ir,ci=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js":(()=>{Co={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},So=e=>(...t)=>({_$litDirective$:e,values:t}),ir=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,o){this._$Ct=e,this._$AM=t,this._$Ci=o}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}})});function Y0(e){this._$AN!==void 0?(ui(this),this._$AM=e,Hn(this)):this._$AM=e}function X0(e,t=!1,o=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let s=o;s<i.length;s++)Oo(i[s],!1),ui(i[s]);else i!=null&&(Oo(i,!1),ui(i));else Oo(this,e)}var Oo,ui,Hn,Nl,rr,Ll=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/async-directive.js":(()=>{K0(),ci(),Oo=(e,t)=>{var o;const i=e._$AN;if(i===void 0)return!1;for(const r of i)(o=r._$AO)===null||o===void 0||o.call(r,t,!1),Oo(r,t);return!0},ui=e=>{let t,o;do{if((t=e._$AM)===void 0)break;o=t._$AN,o.delete(e),e=t}while((o==null?void 0:o.size)===0)},Hn=e=>{for(let t;t=e._$AM;e=t){let o=t._$AN;if(o===void 0)t._$AN=o=new Set;else if(o.has(e))break;o.add(e),Nl(t)}},Nl=e=>{var t,o;e.type==Co.CHILD&&((t=e._$AP)!==null&&t!==void 0||(e._$AP=X0),(o=e._$AQ)!==null&&o!==void 0||(e._$AQ=Y0))},rr=class extends ir{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,o){super._$AT(e,t,o),Hn(this),this.isConnected=e._$AU}_$AO(e,t=!0){var o,i;e!==this.isConnected&&(this.isConnected=e,e?(o=this.reconnected)===null||o===void 0||o.call(this):(i=this.disconnected)===null||i===void 0||i.call(this)),t&&(Oo(this,e),ui(this))}setValue(e){if($l(this._$Ct))this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}})}),nr,jl,sr,ro,J0=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/ref.js":(()=>{Ot(),Ll(),ci(),nr=()=>new jl,jl=class{},sr=new WeakMap,ro=So(class extends rr{render(e){return ye}update(e,[t]){var o;const i=t!==this.G;return i&&this.G!==void 0&&this.rt(void 0),(i||this.lt!==this.ct)&&(this.G=t,this.ht=(o=e.options)===null||o===void 0?void 0:o.host,this.rt(this.ct=e.element)),ye}rt(e){if(this.isConnected||(e=void 0),typeof this.G=="function"){var t;const o=(t=this.ht)!==null&&t!==void 0?t:globalThis;let i=sr.get(o);i===void 0&&(i=new WeakMap,sr.set(o,i)),i.get(this.G)!==void 0&&this.G.call(this.ht,void 0),i.set(this.G,e),e!==void 0&&this.G.call(this.ht,e)}else this.G.value=e}get lt(){var e,t,o;return typeof this.G=="function"?(e=sr.get((t=this.ht)!==null&&t!==void 0?t:globalThis))===null||e===void 0?void 0:e.get(this.G):(o=this.G)===null||o===void 0?void 0:o.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})})}),Eo=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/directives/ref.js":(()=>{J0()})}),Wn,Pl,it,Q0=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/style-map.js":(()=>{Ot(),ci(),Wn="important",Pl=" !"+Wn,it=So(class extends ir{constructor(e){var t;if(super(e),e.type!==Co.ATTRIBUTE||e.name!=="style"||((t=e.strings)===null||t===void 0?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,o)=>{const i=e[o];return i==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(e,[t]){var o;const{style:i}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(const r of this.ft)(o=t[r])!==null&&o!==void 0||(this.ft.delete(r),r.includes("-")?i.removeProperty(r):i[r]=null);for(const r in t){const s=t[r];if(s!=null){this.ft.add(r);const n=typeof s=="string"&&s.endsWith(Pl);r.includes("-")||n?i.setProperty(r,n?s.slice(0,-11):s,n?Wn:""):i[r]=s}}return St}})})}),Ao=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/directives/style-map.js":(()=>{Q0()})}),Il,ep=h({"src/icon.ts":(()=>{Ue(),Il=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();case"heart":default:return this.heartIcon()}}ticketIcon(){return fe`
      <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 fe`
      <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 fe`
      <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 fe`
      <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>
    `}}})}),Un,tp=h({"src/utils/local-storage.ts":(()=>{po(),Un=class{static loadObjectFromLocalStorage(e,t){if(!window.localStorage)return Ee.warn("localStorage is not available. Can't load data."),{};try{const o=window.localStorage.getItem(e);return t?JSON.parse(o!=null?o:"{}"):{}}catch(o){return Ee.error(o),{}}}static saveObjectToLocalStorage(e,t){if(!window.localStorage)return Ee.warn("localStorage is not available. Can't save data."),!1;try{return window.localStorage.setItem(e,JSON.stringify(t)),!0}catch(o){return Ee.error(o),!1}}}})}),Gn,To,Rl,op=h({"src/utils/telemetry.ts":(()=>{fo(),tp(),po(),Ei(),Gn="givebutter.analytics:0.0.0",To={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"]},Rl=class{constructor(){this._filterTemporaryKeys=function(e){e=U({},e);for(const t of Object.keys(e))t.startsWith("gb.element.")&&(ze.isLocalEnv()&&Ee.debug("_filterTemporaryKeys) Filtering "+t),delete e[t]),t.toLowerCase().startsWith(To.temporaryKeyPrefix)&&(ze.isLocalEnv()&&Ee.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(){const e=this.getAll();return Object.keys(e).length===0?"":this.objToQueryString(e,null)}loadFromStorage(){this.analyticsData=Un.loadObjectFromLocalStorage(Gn,this.analyticsData)}set(e,t,o=!0){const i=Date.now();e=e.toLowerCase(),this.analyticsData[e]={v:t,c:i,e:i+To.maxAge*60*1e3,f:o};let r=this.saveToStorage();return o&&this.forwardToGa(function(s){s.set(e,t)}),r}remove(e){delete this.analyticsData[e],this.saveToStorage()}cleanup(){const e=Date.now();let t=!1;for(let o in this.analyticsData)if(this.analyticsData[o].e<=e){ze.isLocalEnv()&&Ee.debug("cleanup() Key '"+o+"' expired at "+this.analyticsData[o].e+" ("+(this.analyticsData[o].e-e)+")"),delete this.analyticsData[o],t=!0;break}return t?(this.saveToStorage(),!0):!1}saveToStorage(){ze.isLocalEnv()&&Ee.debug("saveToStorage() - userAllowsTracking = false");const e=this._filterTemporaryKeys(this.analyticsData);return Un.saveObjectToLocalStorage(Gn,e)}loadFromUrl(e){const t=Ho.getQueryParams(e);for(let o in t)if(o.toLowerCase().startsWith(To.qsPrefix)){const i=t[o];ze.isLocalEnv()&&Ee.debug("loadFromUrl() qsPrefix match: "+o+" = "+i),this.set(o,i,!0)}for(const o of To.qsThirdPartyKeys)t.hasOwnProperty(o)&&(ze.isLocalEnv()&&Ee.debug("loadFromUrl() qsThirdPartyKeys match: "+o+" = "+t[o]),this.set(o,t[o],!0));for(const o of To.widgetFormKeys)t.hasOwnProperty(o)?(ze.isLocalEnv()&&Ee.debug("loadFromUrl() widgetFormKeys match: "+o+" = "+t[o]),this.set(o,t[o],!1)):this.analyticsData.hasOwnProperty(o)&&this.remove(o)}forwardToGa(e){if(window.ga&&window.ga.getAll){const t=window.ga.getAll();for(const o of t)ze.isLocalEnv()&&Ee.debug("set) Forward to GA: "+o.get("trackingId")),e(o);return!0}return!1}getAll(){let e=Date.now(),t={};for(const o in this.analyticsData)this.analyticsData[o].e>=e&&(t[o]=this.analyticsData[o].v);return t}serializeKey(e,t){return e&&e.length>0?`${e}.${t}`:t}objToQueryString(e,t=null){const o=[];for(const i in e)if(e.hasOwnProperty(i)){const r=t?this.serializeKey(t,i):i,s=e[i];o.push(s!==null&&typeof s=="object"?this.objToQueryString(s,r):`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}return o.join("&")}}})});function Fl(e){return e===null||typeof e=="undefined"}var yt,Bl=h({"src/utils/validation.ts":(()=>{po(),yt=class{static string(e,t,o,i){return Fl(t)?!1:i.includes(t)?t!==o:(Ee.error(`Attribute ${e} is invalid. Accepted: ${i.join(", ")}.`),!1)}static number(e,t,o){return Fl(t)?!1:typeof t!="number"||isNaN(t)?(Ee.error(`Attribute ${e} must be a number`),!1):t!==o}static checkRequiredProps(e,t,o){for(const i of o)if(t.has(i)&&(!e[`${i}`]||e[`${i}`].length===0)){const r=`${i} attribute is required.`;return Ee.error(r.charAt(0).toUpperCase()+r.slice(1)),!1}return!0}}})}),jt,zl,$o=h({"src/mixins/data-component.ts":(()=>{Mt(),fo(),op(),Bl(),Nt(),jt=(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})(jt||{}),zl=e=>{class t extends e{constructor(...i){super(...i),this.analytics=Rl.getGivebutterAnalytics(),this.componentType=null,this.account=ze.getAccountId(),this.campaign="",this.widgetId="",this.embedUrl=""}shouldUpdate(i){const r=this.componentType===jt.DYNAMIC||this.componentType===jt.SIGNUP_FORM?["account","id"]:["account","campaign"];return yt.checkRequiredProps(this,i,r)}}return C([T({type:String,attribute:"account"})],t.prototype,"account",void 0),C([T({type:String,attribute:"campaign"})],t.prototype,"campaign",void 0),C([T({type:String,attribute:"id"})],t.prototype,"widgetId",void 0),C([T({type:String,attribute:"embed-url"})],t.prototype,"embedUrl",void 0),t}})}),Mo,pi=h({"src/mixins/base-component.ts":(()=>{Ue(),$o(),tr(),Mo=li(zl(Et))})}),wt,ar=h({"src/utils/converter.ts":(()=>{var e;wt=(e=class{},e._boolean={fromAttribute:t=>t==="true",toAttribute:t=>t?"true":"false"},e)})}),ip=Ct({GivebutterButton:()=>we}),Vn,lr,dr,cr,ur,we,rp=h({"src/components/button.ts":(()=>{Al(),Ue(),Mt(),or(),Eo(),Ao(),ep(),pi(),$o(),ar(),Bl(),Nt(),Vn="z-[2147483598]",lr=(function(e){return e.LINK="link",e.MODAL="modal",e})(lr||{}),dr=(function(e){return e.GIFT="gift",e.GIVING_HANDS="giving_hands",e.HEART="heart",e.NONE="none",e.TICKET="ticket",e})(dr||{}),cr=(function(e){return e.LEFT="left",e.RIGHT="right",e})(cr||{}),ur=(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})(ur||{}),we=class extends Mo{constructor(){super(),this.isOpen=!1,this._embedUrl="",this._type=lr.MODAL,this._hideButton=!1,this._label="Donate",this._hideLabel=!1,this._labelColor="#FFFFFF",this._backgroundColor="#3366FF",this._icon=dr.HEART,this._iconPosition=cr.LEFT,this._dropShadow=!0,this._borderRadius=100,this._borderColor="",this._borderWidth=0,this._buttonClass="",this._position=ur.NONE,this._verticalOffset=25,this._horizontalOffset=25,this._buttonTransformShow="scale(1)",this._buttonTransformHide="scale(0)",this._maxWidth="560px",this.isEventTicketsFlow=!1,this.contentRef=nr(),this.observer=new zn(this,{config:{childList:!0,subtree:!0},target:document.querySelector("[data-overlay-outer-wrapper]"),callback:t=>{const o=t[0];o&&(this.isOpen=o.removedNodes.length<=0)}}),this.componentType=jt.BUTTON}set embedUrl(t){this._embedUrl=t}get embedUrl(){return this._embedUrl}set type(t){yt.string("type",t,this._type,Object.values(lr))&&(this._type=t)}get type(){return this._type}set hideButton(t){this._hideButton=t}get hideButton(){return this._hideButton}set label(t){this._label=t}get label(){return this._label}set hideLabel(t){this._hideLabel=t}get hideLabel(){return this._hideLabel}set labelColor(t){this._labelColor=t}get labelColor(){return this._labelColor}set backgroundColor(t){this._backgroundColor=t}get backgroundColor(){return this._backgroundColor}set icon(t){yt.string("icon",t,this._icon,Object.values(dr))&&(this._icon=t)}get icon(){return this._icon}set iconPosition(t){yt.string("icon-position",t,this._iconPosition,Object.values(cr))&&(this._iconPosition=t)}get iconPosition(){return this._iconPosition}set dropShadow(t){this._dropShadow=t}get dropShadow(){return this._dropShadow}set borderRadius(t){yt.number("border-radius",t,this._borderRadius)&&(this._borderRadius=t)}get borderRadius(){return this._borderRadius}set borderColor(t){this._borderColor=t}get borderColor(){return this._borderColor}set borderWidth(t){yt.number("border-width",t,this._borderWidth)&&(this._borderWidth=t)}get borderWidth(){return this._borderWidth}set buttonClass(t){this._buttonClass=t}get buttonClass(){return this._buttonClass}set position(t){yt.string("position",t,this._position,Object.values(ur))&&(this._position=t)}get position(){return this._position}set verticalOffset(t){yt.number("vertical-offset",t,this._verticalOffset)&&(this._verticalOffset=t)}get verticalOffset(){return this._verticalOffset}set horizontalOffset(t){yt.number("horizontal-offset",t,this._horizontalOffset)&&(this._horizontalOffset=t)}get horizontalOffset(){return this._horizontalOffset}set buttonTransformShow(t){this._buttonTransformShow=t}get buttonTransformShow(){return this._buttonTransformShow}set buttonTransformHide(t){this._buttonTransformHide=t}get buttonTransformHide(){return this._buttonTransformHide}set maxWidth(t){this._maxWidth=t}get maxWidth(){return this._maxWidth}firstUpdated(){this.observer.observe(this.contentRef.value)}render(){const t=`${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 o="?source=widgets";return this.widgetId.length>0&&(o+=`&gba_gb.element.id=${this.widgetId}`),fe`
        <div class="${Vn} ${this.getPosition()}">
          <a
            href="${"https://givebutter.com"}/c/${this.campaign}${o}"
            slot="trigger"
            data-testID="givebutter-button"
            class="${t}"
            aria-label="${this.label}"
            style=${it(this.getButtonStyles())}
          >
            ${this.renderLabel()}
          </a>
        </div>
      `}return fe`
      <givebutter-dialog>
        <button
          slot="invoker"
          data-testID="givebutter-button"
          class="${t} ${Vn} ${this.getPosition()}"
          role="button"
          aria-label="${this.label}"
          style=${it(this.getButtonStyles())}
        >
          ${this.renderLabel()}
        </button>
        <div ${ro(this.contentRef)} slot="content" role="dialog" aria-label="Campaign donation">
          ${this.isOpen?fe`<givebutter-giving-form
                id="${this.widgetId}"
                max-width="${this.maxWidth}"
                account="${this.account}"
                campaign="${this.campaign}"
                embed-url="${lt(this.getEmbedUrl())}"
                .isEventTicketsFlow="${this.isEventTicketsFlow}"
                closable
              ></givebutter-giving-form> `:""}
        </div>
      </givebutter-dialog>
    `}renderLabel(){return this.iconPosition==="left"?fe`${this.showIcon()} ${this.showLabel()}`:fe`${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?"":fe`<span class="overflow-visible whitespace-nowrap transition-all duration-300"
          >${this.label}</span
        >`}showIcon(){return new Il(this.icon,this.labelColor).getSVG()}getDropShadowClass(){return this.dropShadow?"drop-shadow-md":""}getPosition(){const t=this.position,o=[];t.length>0&&o.push("fixed");const[i,r]=t.toLowerCase().split("-");switch(i){case"top":o.push("top-4");break;case"middle":o.push("top-1/2"),o.push("translate-x-0"),o.push("-translate-y-1/2");break;case"bottom":o.push("bottom-4");break}switch(r){case"left":o.push("left-4");break;case"right":o.push("right-4");break}return o.join(" ")}getEmbedUrl(){return this.embedUrl.length>0?this.embedUrl:void 0}},C([Vt()],we.prototype,"isOpen",void 0),C([T({type:String,attribute:"embed-url"})],we.prototype,"embedUrl",null),C([T({type:String,attribute:"type"})],we.prototype,"type",null),C([T({type:Boolean,attribute:"hide-button"})],we.prototype,"hideButton",null),C([T({type:String,attribute:"label"})],we.prototype,"label",null),C([T({type:Boolean,attribute:"hide-label"})],we.prototype,"hideLabel",null),C([T({type:String,attribute:"label-color"})],we.prototype,"labelColor",null),C([T({type:String,attribute:"background-color"})],we.prototype,"backgroundColor",null),C([T({type:String,attribute:"icon"})],we.prototype,"icon",null),C([T({type:String,attribute:"icon-position"})],we.prototype,"iconPosition",null),C([T({type:Boolean,attribute:"drop-shadow",converter:wt._boolean})],we.prototype,"dropShadow",null),C([T({type:Number,attribute:"border-radius"})],we.prototype,"borderRadius",null),C([T({type:String,attribute:"border-color"})],we.prototype,"borderColor",null),C([T({type:Number,attribute:"border-width"})],we.prototype,"borderWidth",null),C([T({type:String,attribute:"button-class"})],we.prototype,"buttonClass",null),C([T({type:String,attribute:"position"})],we.prototype,"position",null),C([T({type:Number,attribute:"vertical-offset"})],we.prototype,"verticalOffset",null),C([T({type:Number,attribute:"horizontal-offset"})],we.prototype,"horizontalOffset",null),C([T({type:String,attribute:"button-transform-show"})],we.prototype,"buttonTransformShow",null),C([T({type:String,attribute:"button-transform-hide"})],we.prototype,"buttonTransformHide",null),C([T({type:String,attribute:"max-width"})],we.prototype,"maxWidth",null),C([T({type:Boolean})],we.prototype,"isEventTicketsFlow",void 0),we=C([$t("givebutter-button")],we)})}),np=kr({"../../node_modules/.pnpm/iframe-resizer@4.4.5/node_modules/iframe-resizer/js/iframeResizer.js":((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(o){if(typeof window=="undefined")return;var i=0,r,s=!1,n=!1,a="message",l=a.length,d="[iFrameSizer]",c=d.length,p=null,w=window.requestAnimationFrame,v=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),u={},_=null,E=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(){B("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function z(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function K(g,k,J){g.addEventListener(k,J,!1)}function q(g,k,J){g.removeEventListener(k,J,!1)}function N(){var g=["moz","webkit","o","ms"],k;for(k=0;k<g.length&&!w;k+=1)w=window[g[k]+"RequestAnimationFrame"];w?w=w.bind(window):y("setup","RequestAnimationFrame not supported")}function D(g){var k="Host page: "+g;return window.top!==window.self&&(k=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+g:"Nested host page: "+g),k}function F(g){return d+"["+D(g)+"]"}function H(g){return u[g]?u[g].log:s}function y(g,k){de("log",g,k,H(g))}function Y(g,k){de("info",g,k,H(g))}function B(g,k){de("warn",g,k,!0)}function de(g,k,J,G){G===!0&&typeof window.console=="object"&&console[g](F(k),J)}function me(g){function k(){function j(){X(he),M(Q),Ft("onResized",he)}se("Height"),se("Width"),L(j,he,"init")}function J(){var j=Je.slice(c).split(":"),oe=j[1]?parseInt(j[1],10):0,ge=u[j[0]]&&u[j[0]].iframe,ce=getComputedStyle(ge);return{iframe:ge,id:j[0],height:oe+G(ce)+ne(ce),width:j[2],type:j[3]}}function G(j){if(j.boxSizing!=="border-box")return 0;var oe=j.paddingTop?parseInt(j.paddingTop,10):0,ge=j.paddingBottom?parseInt(j.paddingBottom,10):0;return oe+ge}function ne(j){if(j.boxSizing!=="border-box")return 0;var oe=j.borderTopWidth?parseInt(j.borderTopWidth,10):0,ge=j.borderBottomWidth?parseInt(j.borderBottomWidth,10):0;return oe+ge}function se(j){var oe=Number(u[Q]["max"+j]),ge=Number(u[Q]["min"+j]),ce=j.toLowerCase(),xe=Number(he[ce]);y(Q,"Checking "+ce+" is in range "+ge+"-"+oe),xe<ge&&(xe=ge,y(Q,"Set "+ce+" to min value")),xe>oe&&(xe=oe,y(Q,"Set "+ce+" to max value")),he[ce]=""+xe}function Ke(){function j(){function ce(){var Fe=0,ut=!1;for(y(Q,"Checking connection is from allowed list of origins: "+ge);Fe<ge.length;Fe++)if(ge[Fe]===oe){ut=!0;break}return ut}function xe(){var Fe=u[Q]&&u[Q].remoteHost;return y(Q,"Checking connection is from: "+Fe),oe===Fe}return ge.constructor===Array?ce():xe()}var oe=g.origin,ge=u[Q]&&u[Q].checkOrigin;if(ge&&""+oe!="null"&&!j())throw new Error("Unexpected message received from: "+oe+" for "+he.iframe.id+". Message was: "+g.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function rt(){return d===(""+Je).slice(0,c)&&Je.slice(c).split(":")[0]in u}function De(){var j=he.type in{true:1,false:1,undefined:1};return j&&y(Q,"Ignoring init message from meta parent page"),j}function Ve(j){return Je.slice(Je.indexOf(":")+l+j)}function Ye(j){y(Q,"onMessage passed: {iframe: "+he.iframe.id+", message: "+j+"}"),Ft("onMessage",{iframe:he.iframe,message:JSON.parse(j)}),y(Q,"--")}function Se(){var j=document.body.getBoundingClientRect(),oe=he.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:oe.height,iframeWidth:oe.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(oe.top-j.top,10),offsetLeft:parseInt(oe.left-j.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function xt(j,oe){function ge(){R("Send Page Info","pageInfo:"+Se(),j,oe)}Ae(ge,32,oe)}function Io(){function j(xe,Fe){function ut(){u[ce]?xt(u[ce].iframe,ce):oe()}["scroll","resize"].forEach(function(kt){y(ce,xe+kt+" listener for sendPageInfo"),Fe(window,kt,ut)})}function oe(){j("Remove ",q)}function ge(){j("Add ",K)}var ce=Q;ge(),u[ce]&&(u[ce].stopPageInfo=oe)}function Ro(){u[Q]&&u[Q].stopPageInfo&&(u[Q].stopPageInfo(),delete u[Q].stopPageInfo)}function Fo(){var j=!0;return he.iframe===null&&(B(Q,"IFrame ("+he.id+") not found"),j=!1),j}function V(j){var oe=j.getBoundingClientRect();return A(Q),{x:Math.floor(Number(oe.left)+Number(p.x)),y:Math.floor(Number(oe.top)+Number(p.y))}}function Z(j){function oe(){p=Fe,Te(),y(Q,"--")}function ge(){return{x:Number(he.width)+xe.x,y:Number(he.height)+xe.y}}function ce(){window.parentIFrame?window.parentIFrame["scrollTo"+(j?"Offset":"")](Fe.x,Fe.y):B(Q,"Unable to scroll to requested position, window.parentIFrame not found")}var xe=j?V(he.iframe):{x:0,y:0},Fe=ge();y(Q,"Reposition requested from iFrame (offset x:"+xe.x+" y:"+xe.y+")"),window.top===window.self?oe():ce()}function Te(){Ft("onScroll",p)===!1?x():M(Q)}function Re(j){function oe(){var ut=V(Fe);y(Q,"Moving to in page link (#"+ce+") at x: "+ut.x+" y: "+ut.y),p={x:ut.x,y:ut.y},Te(),y(Q,"--")}function ge(){window.parentIFrame?window.parentIFrame.moveToAnchor(ce):y(Q,"In page link #"+ce+" not found and window.parentIFrame not found")}var ce=j.split("#")[1]||"",xe=decodeURIComponent(ce),Fe=document.getElementById(xe)||document.getElementsByName(xe)[0];Fe?oe():window.top===window.self?y(Q,"In page link #"+ce+" not found"):ge()}function Xe(j){var oe={};if(Number(he.width)===0&&Number(he.height)===0){var ge=Ve(9).split(":");oe={x:ge[1],y:ge[0]}}else oe={x:he.width,y:he.height};Ft(j,{iframe:he.iframe,screenX:Number(oe.x),screenY:Number(oe.y),type:he.type})}function Ft(j,oe){return m(Q,j,oe)}function Bo(){switch(u[Q]&&u[Q].firstRun&&wi(),he.type){case"close":S(he.iframe);break;case"message":Ye(Ve(6));break;case"mouseenter":Xe("onMouseEnter");break;case"mouseleave":Xe("onMouseLeave");break;case"autoResize":u[Q].autoResize=JSON.parse(Ve(9));break;case"scrollTo":Z(!1);break;case"scrollToOffset":Z(!0);break;case"pageInfo":xt(u[Q]&&u[Q].iframe,Q),Io();break;case"pageInfoStop":Ro();break;case"inPageLink":Re(Ve(9));break;case"reset":ee(he);break;case"init":k(),Ft("onInit",he.iframe);break;default:Number(he.width)===0&&Number(he.height)===0?B("Unsupported message received ("+he.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):k()}}function zo(j){var oe=!0;return u[j]||(oe=!1,B(he.type+" No settings for "+j+". Message was: "+Je)),oe}function yi(){for(var j in u)R("iFrame requested init",W(j),u[j].iframe,j)}function wi(){u[Q]&&(u[Q].firstRun=!1)}var Je=g.data,he={},Q=null;Je==="[iFrameResizerChild]Ready"?yi():rt()?(he=J(),Q=he.id,u[Q]&&(u[Q].loaded=!0),!De()&&zo(Q)&&(y(Q,"Received: "+Je),Fo()&&Ke()&&Bo())):Y(Q,"Ignored: "+Je)}function m(g,k,J){var G=null,ne=null;if(u[g])if(G=u[g][k],typeof G=="function")ne=G(J);else throw new TypeError(k+" on iFrame["+g+"] is not a function");return ne}function O(g){var k=g.id;delete u[k]}function S(g){var k=g.id;if(m(k,"onClose",k)===!1){y(k,"Close iframe cancelled by onClose event");return}y(k,"Removing iFrame: "+k);try{g.parentNode&&g.parentNode.removeChild(g)}catch(J){B(J)}m(k,"onClosed",k),y(k,"--"),O(g),r&&(r.disconnect(),r=null)}function A(g){p===null&&(p={x:window.pageXOffset===o?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===o?document.documentElement.scrollTop:window.pageYOffset},y(g,"Get page position: "+p.x+","+p.y))}function M(g){p!==null&&(window.scrollTo(p.x,p.y),y(g,"Set page position: "+p.x+","+p.y),x())}function x(){p=null}function ee(g){function k(){X(g),R("reset","reset",g.iframe,g.id)}y(g.id,"Size reset requested by "+(g.type==="init"?"host page":"iFrame")),A(g.id),L(k,g,"reset")}function X(g){function k(se){if(!g.id){y("undefined","messageData id not set");return}g.iframe.style[se]=g[se]+"px",y(g.id,"IFrame ("+ne+") "+se+" set to "+g[se]+"px")}function J(se){!n&&g[se]==="0"&&(n=!0,y(ne,"Hidden iFrame detected, creating visibility listener"),Ie())}function G(se){k(se),J(se)}var ne=g.iframe.id;u[ne]&&(u[ne].sizeHeight&&G("height"),u[ne].sizeWidth&&G("width"))}function L(g,k,J){J!==k.type&&w&&!window.jasmine?(y(k.id,"Requesting animation frame"),w(g)):g()}function R(g,k,J,G,ne){function se(){var Ye=u[G]&&u[G].targetOrigin;y(G,"["+g+"] Sending msg to iframe["+G+"] ("+k+") targetOrigin: "+Ye),J.contentWindow.postMessage(d+k,Ye)}function Ke(){B(G,"["+g+"] IFrame("+G+") not found")}function rt(){J&&"contentWindow"in J&&J.contentWindow!==null?se():Ke()}function De(){function Ye(){u[G]&&!u[G].loaded&&!Ve&&(Ve=!0,B(G,"IFrame has not responded within "+u[G].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."))}ne&&u[G]&&u[G].warningTimeout&&(u[G].msgTimeout=setTimeout(Ye,u[G].warningTimeout))}var Ve=!1;G=G||J.id,u[G]&&(rt(),De())}function W(g){return g+":"+u[g].bodyMarginV1+":"+u[g].sizeWidth+":"+u[g].log+":"+u[g].interval+":"+u[g].enablePublicMethods+":"+u[g].autoResize+":"+u[g].bodyMargin+":"+u[g].heightCalculationMethod+":"+u[g].bodyBackground+":"+u[g].bodyPadding+":"+u[g].tolerance+":"+u[g].inPageLinks+":"+u[g].resizeFrom+":"+u[g].widthCalculationMethod+":"+u[g].mouseEvents}function re(g){return typeof g=="number"}function ve(g,k){function J(){function Z(Re){var Xe=u[V][Re];Xe!==1/0&&Xe!==0&&(g.style[Re]=re(Xe)?Xe+"px":Xe,y(V,"Set "+Re+" = "+g.style[Re]))}function Te(Re){if(u[V]["min"+Re]>u[V]["max"+Re])throw new Error("Value for min"+Re+" can not be greater than max"+Re)}Te("Height"),Te("Width"),Z("maxHeight"),Z("minHeight"),Z("maxWidth"),Z("minWidth")}function G(){var Z=k&&k.id||E.id+i++;return document.getElementById(Z)!==null&&(Z+=i++),Z}function ne(Z){if(typeof Z!="string")throw new TypeError("Invaild id for iFrame. Expected String");return Z===""&&(g.id=Z=G(),s=(k||{}).log,y(Z,"Added missing iframe ID: "+Z+" ("+g.src+")")),Z}function se(){switch(y(V,"IFrame scrolling "+(u[V]&&u[V].scrolling?"enabled":"disabled")+" for "+V),g.style.overflow=(u[V]&&u[V].scrolling)===!1?"hidden":"auto",u[V]&&u[V].scrolling){case"omit":break;case!0:g.scrolling="yes";break;case!1:g.scrolling="no";break;default:g.scrolling=u[V]?u[V].scrolling:"no"}}function Ke(){(typeof(u[V]&&u[V].bodyMargin)=="number"||(u[V]&&u[V].bodyMargin)==="0")&&(u[V].bodyMarginV1=u[V].bodyMargin,u[V].bodyMargin=""+u[V].bodyMargin+"px")}function rt(){var Z=u[V]&&u[V].firstRun,Te=u[V]&&u[V].heightCalculationMethod in v;!Z&&Te&&ee({iframe:g,height:0,width:0,type:"init"})}function De(){u[V]&&(u[V].iframe.iFrameResizer={close:S.bind(null,u[V].iframe),removeListeners:O.bind(null,u[V].iframe),resize:R.bind(null,"Window resize","resize",u[V].iframe),moveToAnchor:function(Z){R("Move to anchor","moveToAnchor:"+Z,u[V].iframe,V)},sendMessage:function(Z){Z=JSON.stringify(Z),R("Send Message","message:"+Z,u[V].iframe,V)}})}function Ve(Z){function Te(){R("iFrame.onload",Z,g,o,!0),rt()}function Re(Ft){if(!g.parentNode)return null;var Bo=new Ft(function(zo){zo.forEach(function(yi){Array.prototype.slice.call(yi.removedNodes).forEach(function(wi){wi===g&&S(g)})})});return Bo.observe(g.parentNode,{childList:!0}),Bo}var Xe=z();Xe&&(r=Re(Xe)),K(g,"load",Te),R("init",Z,g,o,!0)}function Ye(Z){if(typeof Z!="object")throw new TypeError("Options is not an object")}function Se(Z){for(var Te in E)Object.prototype.hasOwnProperty.call(E,Te)&&(u[V][Te]=Object.prototype.hasOwnProperty.call(Z,Te)?Z[Te]:E[Te])}function xt(Z){return Z===""||Z.match(/^(about:blank|javascript:|file:\/\/)/)!==null?"*":Z}function Io(Z){var Te=Z.split("Callback");if(Te.length===2){var Re="on"+Te[0].charAt(0).toUpperCase()+Te[0].slice(1);this[Re]=this[Z],delete this[Z],B(V,"Deprecated: '"+Z+"' has been renamed '"+Re+"'. The old method will be removed in the next major version.")}}function Ro(Z){Z=Z||{},u[V]=Object.create(null),u[V].iframe=g,u[V].firstRun=!0,u[V].remoteHost=g.src&&g.src.split("/").slice(0,3).join("/"),Ye(Z),Object.keys(Z).forEach(Io,Z),Se(Z),u[V]&&(u[V].targetOrigin=u[V].checkOrigin===!0?xt(u[V].remoteHost):"*")}function Fo(){return V in u&&"iFrameResizer"in g}var V=ne(g.id);Fo()?B(V,"Ignored iFrame, already setup."):(Ro(k),se(),J(),Ke(),Ve(W(V)),De())}function le(g,k){_===null&&(_=setTimeout(function(){_=null,g()},k))}var te={};function Ae(g,k,J){te[J]||(te[J]=setTimeout(function(){te[J]=null,g()},k))}function Ie(){function g(){function ne(se){function Ke(De){return(u[se]&&u[se].iframe.style[De])==="0px"}function rt(De){return De.offsetParent!==null}u[se]&&rt(u[se].iframe)&&(Ke("height")||Ke("width"))&&R("Visibility change","resize",u[se].iframe,se)}Object.keys(u).forEach(function(se){ne(se)})}function k(ne){y("window","Mutation observed: "+ne[0].target+" "+ne[0].type),le(g,16)}function J(){var ne=document.querySelector("body");new G(k).observe(ne,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}var G=z();G&&J()}function Ne(g){function k(){je("Window "+g,"resize")}y("window","Trigger event: "+g),le(k,16)}function Le(){function g(){je("Tab Visible","resize")}document.visibilityState!=="hidden"&&(y("document","Trigger event: Visibility change"),le(g,16))}function je(g,k){function J(G){return u[G]&&u[G].resizeFrom==="parent"&&u[G].autoResize&&!u[G].firstRun}Object.keys(u).forEach(function(G){J(G)&&R(g,k,u[G].iframe,G)})}function qt(){K(window,"message",me),K(window,"resize",function(){Ne("resize")}),K(document,"visibilitychange",Le),K(document,"-webkit-visibilitychange",Le)}function Rt(){function g(G,ne){function se(){if(ne.tagName){if(ne.tagName.toUpperCase()!=="IFRAME")throw new TypeError("Expected <IFRAME> tag, found <"+ne.tagName+">")}else throw new TypeError("Object is not a valid DOM element")}ne&&(se(),ve(ne,G),J.push(ne))}function k(G){G&&G.enablePublicMethods&&B("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var J;return N(),qt(),function(ne,se){switch(J=[],k(ne),typeof se){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(se||"iframe"),g.bind(o,ne));break;case"object":g(ne,se);break;default:throw new TypeError("Unexpected data type ("+typeof se+")")}return J}}function bi(g){g.fn?g.fn.iFrameResize||(g.fn.iFrameResize=function(J){function G(ne,se){ve(se,J)}return this.filter("iframe").each(G).end()}):Y("","Unable to bind to jQuery, it is not fully loaded.")}window.jQuery!==o&&bi(window.jQuery),typeof t=="object"&&typeof t.exports=="object"&&(t.exports=Rt()),window.iFrameResize=window.iFrameResize||Rt()})()})}),sp=kr({"../../node_modules/.pnpm/iframe-resizer@4.4.5/node_modules/iframe-resizer/js/iframeResizer.contentWindow.js":((e,t)=>{(function(o){if(typeof window=="undefined")return;var i=!0,r=10,s="",n=0,a="",l=null,d="",c=!1,p={resize:1,click:1},w=128,v=!0,u=1,_="bodyOffset",E=_,z=!0,K="",q={},N=32,D=null,F=!1,H=!1,y="[iFrameSizer]",Y=y.length,B="",de={max:1,min:1,bodyScroll:1,documentElementScroll:1},me="child",m=!0,O=window.parent,S="*",A=0,M=!1,x=null,ee=16,X=1,L="scroll",R=L,W=window,re=function(){J("onMessage function not defined")},ve=function(){},le=function(){},te={height:function(){return J("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return J("Custom width calculation function not defined"),document.body.scrollWidth}},Ae={},Ie=!1;function Ne(){}try{var Le=Object.create({},{passive:{get:function(){Ie=!0}}});window.addEventListener("test",Ne,Le),window.removeEventListener("test",Ne,Le)}catch(f){}function je(f,b,$,ie){f.addEventListener(b,$,Ie?ie||{}:!1)}function qt(f,b,$){f.removeEventListener(b,$,!1)}function Rt(f){return f.charAt(0).toUpperCase()+f.slice(1)}function bi(f){var b,$,ie,be=null,Pe=0,He=function(){Pe=Date.now(),be=null,ie=f.apply(b,$),be||(b=$=null)};return function(){var Be=Date.now();Pe||(Pe=Be);var ke=ee-(Be-Pe);return b=this,$=arguments,ke<=0||ke>ee?(be&&(clearTimeout(be),be=null),Pe=Be,ie=f.apply(b,$),be||(b=$=null)):be||(be=setTimeout(He,ke)),ie}}function g(f){return y+"["+B+"] "+f}function k(f){F&&typeof window.console=="object"&&console.log(g(f))}function J(f){typeof window.console=="object"&&console.warn(g(f))}function G(){ne(),k("Initialising iFrame ("+window.location.href+")"),Ke(),Ve(),De("background",s),De("padding",d),Re(),Ro(),Fo(),Ye(),Bo(),Ft(),V(),q=Xe(),kt("init","Init message from host page"),ve()}function ne(){function f($){return $==="true"}var b=K.slice(Y).split(":");B=b[0],n=o===b[1]?n:Number(b[1]),c=o===b[2]?c:f(b[2]),F=o===b[3]?F:f(b[3]),N=o===b[4]?N:Number(b[4]),i=o===b[6]?i:f(b[6]),a=b[7],E=o===b[8]?E:b[8],s=b[9],d=b[10],A=o===b[11]?A:Number(b[11]),q.enable=o===b[12]?!1:f(b[12]),me=o===b[13]?me:b[13],R=o===b[14]?R:b[14],H=o===b[15]?H:f(b[15])}function se(f){var b=f.split("Callback");if(b.length===2){var $="on"+b[0].charAt(0).toUpperCase()+b[0].slice(1);this[$]=this[f],delete this[f],J("Deprecated: '"+f+"' has been renamed '"+$+"'. The old method will be removed in the next major version.")}}function Ke(){function f(){var $=window.iFrameResizer;k("Reading data from page: "+JSON.stringify($)),Object.keys($).forEach(se,$),re="onMessage"in $?$.onMessage:re,ve="onReady"in $?$.onReady:ve,S="targetOrigin"in $?$.targetOrigin:S,E="heightCalculationMethod"in $?$.heightCalculationMethod:E,R="widthCalculationMethod"in $?$.widthCalculationMethod:R}function b($,ie){return typeof $=="function"&&(k("Setup custom "+ie+"CalcMethod"),te[ie]=$,$="custom"),$}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(f(),E=b(E,"height"),R=b(R,"width")),k("TargetOrigin for parent set to: "+S)}function rt(f,b){return b.indexOf("-")!==-1&&(J("Negative CSS value ignored for "+f),b=""),b}function De(f,b){o!==b&&b!==""&&b!=="null"&&(document.body.style[f]=b,k("Body "+f+' set to "'+b+'"'))}function Ve(){o===a&&(a=n+"px"),De("margin",rt("margin",a))}function Ye(){document.documentElement.style.height="",document.body.style.height="",k('HTML & body height set to "auto"')}function Se(f){var b={add:function($){function ie(){kt(f.eventName,f.eventType)}Ae[$]=ie,je(window,$,ie,{passive:!0})},remove:function($){var ie=Ae[$];delete Ae[$],qt(window,$,ie)}};f.eventNames&&Array.prototype.map?(f.eventName=f.eventNames[0],f.eventNames.map(b[f.method])):b[f.method](f.eventName),k(Rt(f.method)+" event listener: "+f.eventType)}function xt(f){Se({method:f,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),Se({method:f,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),Se({method:f,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),Se({method:f,eventType:"Input",eventName:"input"}),Se({method:f,eventType:"Mouse Up",eventName:"mouseup"}),Se({method:f,eventType:"Mouse Down",eventName:"mousedown"}),Se({method:f,eventType:"Orientation Change",eventName:"orientationchange"}),Se({method:f,eventType:"Print",eventNames:["afterprint","beforeprint"]}),Se({method:f,eventType:"Ready State Change",eventName:"readystatechange"}),Se({method:f,eventType:"Touch Start",eventName:"touchstart"}),Se({method:f,eventType:"Touch End",eventName:"touchend"}),Se({method:f,eventType:"Touch Cancel",eventName:"touchcancel"}),Se({method:f,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),Se({method:f,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),Se({method:f,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),me==="child"&&Se({method:f,eventType:"IFrame Resized",eventName:"resize"})}function Io(f,b,$,ie){return b!==f&&(f in $||(J(f+" is not a valid option for "+ie+"CalculationMethod."),f=b),k(ie+' calculation method set to "'+f+'"')),f}function Ro(){E=Io(E,_,ce,"height")}function Fo(){R=Io(R,L,xe,"width")}function V(){i===!0?(xt("add"),wi()):k("Auto Resize disabled")}function Z(){l!==null&&l.disconnect()}function Te(){xt("remove"),Z(),clearInterval(D)}function Re(){var f=document.createElement("div");f.style.clear="both",f.style.display="block",f.style.height="0",document.body.appendChild(f)}function Xe(){function f(){return{x:window.pageXOffset===o?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===o?document.documentElement.scrollTop:window.pageYOffset}}function b(ke){var Oe=ke.getBoundingClientRect(),Ce=f();return{x:parseInt(Oe.left,10)+parseInt(Ce.x,10),y:parseInt(Oe.top,10)+parseInt(Ce.y,10)}}function $(ke){function Oe(pt){var Do=b(pt);k("Moving to in page link (#"+Ce+") at x: "+Do.x+" y: "+Do.y),nt(Do.y,Do.x,"scrollToOffset")}var Ce=ke.split("#")[1]||ke,pe=decodeURIComponent(Ce),st=document.getElementById(pe)||document.getElementsByName(pe)[0];o===st?(k("In page link (#"+Ce+") not found in iFrame, so sending to parent"),nt(0,0,"inPageLink","#"+Ce)):Oe(st)}function ie(){var ke=window.location.hash,Oe=window.location.href;ke!==""&&ke!=="#"&&$(Oe)}function be(){function ke(Oe){function Ce(pe){pe.preventDefault(),$(this.getAttribute("href"))}Oe.getAttribute("href")!=="#"&&je(Oe,"click",Ce)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),ke)}function Pe(){je(window,"hashchange",ie)}function He(){setTimeout(ie,w)}function Be(){Array.prototype.forEach&&document.querySelectorAll?(k("Setting up location.hash handlers"),be(),Pe(),He()):J("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return q.enable?Be():k("In page linking not enabled"),{findTarget:$}}function Ft(){if(H!==!0)return;function f($){nt(0,0,$.type,$.screenY+":"+$.screenX)}function b($,ie){k("Add event listener: "+ie),je(window.document,$,f)}b("mouseenter","Mouse Enter"),b("mouseleave","Mouse Leave")}function Bo(){k("Enable public methods"),W.parentIFrame={autoResize:function(b){return b===!0&&i===!1?(i=!0,V()):b===!1&&i===!0&&(i=!1,Te()),nt(0,0,"autoResize",JSON.stringify(i)),i},close:function(){nt(0,0,"close")},getId:function(){return B},getPageInfo:function(b){typeof b=="function"?(le=b,nt(0,0,"pageInfo")):(le=function(){},nt(0,0,"pageInfoStop"))},moveToAnchor:function(b){q.findTarget(b)},reset:function(){Kd("parentIFrame.reset")},scrollTo:function(b,$){nt($,b,"scrollTo")},scrollToOffset:function(b,$){nt($,b,"scrollToOffset")},sendMessage:function(b,$){nt(0,0,"message",JSON.stringify(b),$)},setHeightCalculationMethod:function(b){E=b,Ro()},setWidthCalculationMethod:function(b){R=b,Fo()},setTargetOrigin:function(b){k("Set targetOrigin: "+b),S=b},size:function(b,$){var ie=""+(b||"")+($?","+$:"");kt("size","parentIFrame.size("+ie+")",b,$)}}}function zo(){N!==0&&(k("setInterval: "+N+"ms"),D=setInterval(function(){kt("interval","setInterval: "+N)},Math.abs(N)))}function yi(){function f(pe){function st(pt){pt.complete===!1&&(k("Attach listeners to "+pt.src),pt.addEventListener("load",be,!1),pt.addEventListener("error",Pe,!1),ke.push(pt))}pe.type==="attributes"&&pe.attributeName==="src"?st(pe.target):pe.type==="childList"&&Array.prototype.forEach.call(pe.target.querySelectorAll("img"),st)}function b(pe){ke.splice(ke.indexOf(pe),1)}function $(pe){k("Remove listeners from "+pe.src),pe.removeEventListener("load",be,!1),pe.removeEventListener("error",Pe,!1),b(pe)}function ie(pe,st,pt){$(pe.target),kt(st,pt+": "+pe.target.src)}function be(pe){ie(pe,"imageLoad","Image loaded")}function Pe(pe){ie(pe,"imageLoadFailed","Image load failed")}function He(pe){kt("mutationObserver","mutationObserver: "+pe[0].target+" "+pe[0].type),pe.forEach(f)}function Be(){var pe=document.querySelector("body"),st={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return Ce=new Oe(He),k("Create body MutationObserver"),Ce.observe(pe,st),Ce}var ke=[],Oe=window.MutationObserver||window.WebKitMutationObserver,Ce=Be();return{disconnect:function(){"disconnect"in Ce&&(k("Disconnect body MutationObserver"),Ce.disconnect(),ke.forEach($))}}}function wi(){var f=0>N;window.MutationObserver||window.WebKitMutationObserver?f?zo():l=yi():(k("MutationObserver not supported in this browser!"),zo())}function Je(f,b){var $=0;return b=b||document.body,$=document.defaultView.getComputedStyle(b,null),$=$===null?0:$[f],parseInt($,r)}function he(f){f>ee/2&&(ee=2*f,k("Event throttle increased to "+ee+"ms"))}function Q(f,b){for(var $=b.length,ie=0,be=0,Pe=Rt(f),He=Date.now(),Be=0;Be<$;Be++)ie=b[Be].getBoundingClientRect()[f]+Je("margin"+Pe,b[Be]),ie>be&&(be=ie);return He=Date.now()-He,k("Parsed "+$+" HTML elements"),k("Element position calculated in "+He+"ms"),he(He),be}function j(f){return[f.bodyOffset(),f.bodyScroll(),f.documentElementOffset(),f.documentElementScroll()]}function oe(f,b){function $(){return J("No tagged elements ("+b+") found on page"),document.querySelectorAll("body *")}var ie=document.querySelectorAll("["+b+"]");return ie.length===0&&$(),Q(f,ie)}function ge(){return document.querySelectorAll("body *")}var ce={bodyOffset:function(){return document.body.offsetHeight+Je("marginTop")+Je("marginBottom")},offset:function(){return ce.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return te.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,j(ce))},min:function(){return Math.min.apply(null,j(ce))},grow:function(){return ce.max()},lowestElement:function(){return Math.max(ce.bodyOffset()||ce.documentElementOffset(),Q("bottom",ge()))},taggedElement:function(){return oe("bottom","data-iframe-height")}},xe={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return te.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(xe.bodyScroll(),xe.documentElementScroll())},max:function(){return Math.max.apply(null,j(xe))},min:function(){return Math.min.apply(null,j(xe))},rightMostElement:function(){return Q("right",ge())},taggedElement:function(){return oe("right","data-iframe-width")}};function Fe(f,b,$,ie){function be(){u=Ce,X=pe,nt(u,X,f)}function Pe(){function st(pt,Do){return!(Math.abs(pt-Do)<=A)}return Ce=o===$?ce[E]():$,pe=o===ie?xe[R]():ie,st(u,Ce)||c&&st(X,pe)}function He(){return!(f in{init:1,interval:1,size:1})}function Be(){return E in de||c&&R in de}function ke(){k("No change in size detected")}function Oe(){He()&&Be()?Kd(b):f in{interval:1}||ke()}var Ce,pe;Pe()||f==="init"?(Zd(),be()):Oe()}var ut=bi(Fe);function kt(f,b,$,ie){function be(){f in{reset:1,resetPage:1,init:1}||k("Trigger event: "+b)}function Pe(){return M&&f in p}Pe()?k("Trigger event cancelled: "+f):(be(),f==="init"?Fe(f,b,$,ie):ut(f,b,$,ie))}function Zd(){M||(M=!0,k("Trigger event lock on")),clearTimeout(x),x=setTimeout(function(){M=!1,k("Trigger event lock off"),k("--")},w)}function qd(f){u=ce[E](),X=xe[R](),nt(u,X,f)}function Kd(f){var b=E;E=_,k("Reset trigger event: "+f),Zd(),qd("reset"),E=b}function nt(f,b,$,ie,be){function Pe(){o===be?be=S:k("Message targetOrigin: "+be)}function He(){var Be=f+":"+b,ke=B+":"+Be+":"+$+(o===ie?"":":"+ie);k("Sending message to host page ("+ke+")"),O.postMessage(y+ke,be)}m===!0&&(Pe(),He())}function Yd(f){var b={init:function(){K=f.data,O=f.source,G(),v=!1,setTimeout(function(){z=!1},w)},reset:function(){z?k("Page reset ignored by init"):(k("Page size reset by host page"),qd("resetPage"))},resize:function(){kt("resizeParent","Parent window requested size check")},moveToAnchor:function(){q.findTarget(be())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var Ce=be();k("PageInfoFromParent called from parent: "+Ce),le(JSON.parse(Ce)),k(" --")},message:function(){var Ce=be();k("onMessage called from parent: "+Ce),re(JSON.parse(Ce)),k(" --")}};function $(){return y===(""+f.data).slice(0,Y)}function ie(){return f.data.split("]")[1].split(":")[0]}function be(){return f.data.slice(f.data.indexOf(":")+1)}function Pe(){return!(typeof t!="undefined"&&t.exports)&&"iFrameResize"in window||window.jQuery!==o&&"iFrameResize"in window.jQuery.prototype}function He(){return f.data.split(":")[2]in{true:1,false:1}}function Be(){var Oe=ie();Oe in b?b[Oe]():!Pe()&&!He()&&J("Unexpected message ("+f.data+")")}function ke(){v===!1?Be():He()?b.init():k('Ignored message of type "'+ie()+'". Received before initialization.')}$()&&ke()}function Xd(){document.readyState!=="loading"&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}"iframeResizer"in window||(window.iframeChildListener=function(f){Yd({data:f,sameDomian:!0})},je(window,"message",Yd),je(window,"readystatechange",Xd),Xd())})()})}),ap=kr({"../../node_modules/.pnpm/iframe-resizer@4.4.5/node_modules/iframe-resizer/index.js":((e,t)=>{var o=np();t.exports={iframeResize:o,iframeResizer:o,contentWindow:sp()}})});function lp(){let e=0,t,o,i="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Xn(t))&&(i&&(i+=" "),i+=o);return i}function dp(e,...t){let o,i,r,s=n;function n(l){const d=t.reduce((c,p)=>p(c),e());return o=Yl(d),i=o.cache.get,r=o.cache.set,s=a,a(l)}function a(l){const d=i(l);if(d)return d;const c=Jl(l,o);return r(l,c),c}return function(){return s(lp.apply(null,arguments))}}var pr,Dl,Zn,qn,Hl,Wl,hr,Kn,Ul,Gl,fr,Yn,Vl,Zl,ql,Kl,Yl,Xl,Jl,Xn,$e,Jn,Qn,Ql,ed,td,od,id,rd,no,ae,Pt,mr,_t,nd,sd,es,ad,ld,dd,cd,P,Zt,vr,ts,ud,hi,I,No,pd,os,hd,fd,fi,so,ao,is,rs,ns,ss,md,vd,as,gd,It,mi=h({"../../node_modules/.pnpm/tailwind-merge@3.3.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs":(()=>{pr="-",Dl=e=>{const t=Wl(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:n=>{const a=n.split(pr);return a[0]===""&&a.length!==1&&a.shift(),Zn(a,t)||Hl(n)},getConflictingClassGroupIds:(n,a)=>{const l=o[n]||[];return a&&i[n]?[...l,...i[n]]:l}}},Zn=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const i=e[0],r=t.nextPart.get(i),s=r?Zn(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const n=e.join(pr);return(o=t.validators.find(({validator:a})=>a(n)))===null||o===void 0?void 0:o.classGroupId},qn=/^\[(.+)\]$/,Hl=e=>{if(qn.test(e)){const t=qn.exec(e)[1],o=t==null?void 0:t.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Wl=e=>{const{theme:t,classGroups:o}=e,i={nextPart:new Map,validators:[]};for(const r in o)hr(o[r],i,r,t);return i},hr=(e,t,o,i)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:Kn(t,r);s.classGroupId=o;return}if(typeof r=="function"){if(Ul(r)){hr(r(i),t,o,i);return}t.validators.push({validator:r,classGroupId:o});return}Object.entries(r).forEach(([s,n])=>{hr(n,Kn(t,s),o,i)})})},Kn=(e,t)=>{let o=e;return t.split(pr).forEach(i=>{o.nextPart.has(i)||o.nextPart.set(i,{nextPart:new Map,validators:[]}),o=o.nextPart.get(i)}),o},Ul=e=>e.isThemeGetter,Gl=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,i=new Map;const r=(s,n)=>{o.set(s,n),t++,t>e&&(t=0,i=o,o=new Map)};return{get(s){let n=o.get(s);if(n!==void 0)return n;if((n=i.get(s))!==void 0)return r(s,n),n},set(s,n){o.has(s)?o.set(s,n):r(s,n)}}},fr="!",Yn=":",Vl=1,Zl=e=>{const{prefix:t,experimentalParseClassName:o}=e;let i=r=>{const s=[];let n=0,a=0,l=0,d;for(let u=0;u<r.length;u++){let _=r[u];if(n===0&&a===0){if(_===Yn){s.push(r.slice(l,u)),l=u+Vl;continue}if(_==="/"){d=u;continue}}_==="["?n++:_==="]"?n--:_==="("?a++:_===")"&&a--}const c=s.length===0?r:r.substring(l),p=ql(c),w=p!==c,v=d&&d>l?d-l:void 0;return{modifiers:s,hasImportantModifier:w,baseClassName:p,maybePostfixModifierPosition:v}};if(t){const r=t+Yn,s=i;i=n=>n.startsWith(r)?s(n.substring(r.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:n,maybePostfixModifierPosition:void 0}}if(o){const r=i;i=s=>o({className:s,parseClassName:r})}return i},ql=e=>e.endsWith(fr)?e.substring(0,e.length-1):e.startsWith(fr)?e.substring(1):e,Kl=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const r=[];let s=[];return i.forEach(n=>{n[0]==="["||t[n]?(r.push(...s.sort(),n),s=[]):s.push(n)}),r.push(...s.sort()),r}},Yl=e=>U({cache:Gl(e.cacheSize),parseClassName:Zl(e),sortModifiers:Kl(e)},Dl(e)),Xl=/\s+/,Jl=(e,t)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:r,sortModifiers:s}=t,n=[],a=e.trim().split(Xl);let l="";for(let d=a.length-1;d>=0;d-=1){const c=a[d],{isExternal:p,modifiers:w,hasImportantModifier:v,baseClassName:u,maybePostfixModifierPosition:_}=o(c);if(p){l=c+(l.length>0?" "+l:l);continue}let E=!!_,z=i(E?u.substring(0,_):u);if(!z){if(!E){l=c+(l.length>0?" "+l:l);continue}if(z=i(u),!z){l=c+(l.length>0?" "+l:l);continue}E=!1}const K=s(w).join(":"),q=v?K+fr:K,N=q+z;if(n.includes(N))continue;n.push(N);const D=r(z,E);for(let F=0;F<D.length;++F){const H=D[F];n.push(q+H)}l=c+(l.length>0?" "+l:l)}return l},Xn=e=>{if(typeof e=="string")return e;let t,o="";for(let i=0;i<e.length;i++)e[i]&&(t=Xn(e[i]))&&(o&&(o+=" "),o+=t);return o},$e=e=>{const t=o=>o[e]||[];return t.isThemeGetter=!0,t},Jn=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Qn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ql=/^\d+\/\d+$/,ed=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,td=/\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$/,od=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,id=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rd=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,no=e=>Ql.test(e),ae=e=>!!e&&!Number.isNaN(Number(e)),Pt=e=>!!e&&Number.isInteger(Number(e)),mr=e=>e.endsWith("%")&&ae(e.slice(0,-1)),_t=e=>ed.test(e),nd=()=>!0,sd=e=>td.test(e)&&!od.test(e),es=()=>!1,ad=e=>id.test(e),ld=e=>rd.test(e),dd=e=>!P(e)&&!I(e),cd=e=>so(e,ns,es),P=e=>Jn.test(e),Zt=e=>so(e,ss,sd),vr=e=>so(e,md,ae),ts=e=>so(e,is,es),ud=e=>so(e,rs,ld),hi=e=>so(e,as,ad),I=e=>Qn.test(e),No=e=>ao(e,ss),pd=e=>ao(e,vd),os=e=>ao(e,is),hd=e=>ao(e,ns),fd=e=>ao(e,rs),fi=e=>ao(e,as,!0),so=(e,t,o)=>{const i=Jn.exec(e);return i?i[1]?t(i[1]):o(i[2]):!1},ao=(e,t,o=!1)=>{const i=Qn.exec(e);return i?i[1]?t(i[1]):o:!1},is=e=>e==="position"||e==="percentage",rs=e=>e==="image"||e==="url",ns=e=>e==="length"||e==="size"||e==="bg-size",ss=e=>e==="length",md=e=>e==="number",vd=e=>e==="family-name",as=e=>e==="shadow",gd=()=>{const e=$e("color"),t=$e("font"),o=$e("text"),i=$e("font-weight"),r=$e("tracking"),s=$e("leading"),n=$e("breakpoint"),a=$e("container"),l=$e("spacing"),d=$e("radius"),c=$e("shadow"),p=$e("inset-shadow"),w=$e("text-shadow"),v=$e("drop-shadow"),u=$e("blur"),_=$e("perspective"),E=$e("aspect"),z=$e("ease"),K=$e("animate"),q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...N(),I,P],F=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],y=()=>[I,P,l],Y=()=>[no,"full","auto",...y()],B=()=>[Pt,"none","subgrid",I,P],de=()=>["auto",{span:["full",Pt,I,P]},Pt,I,P],me=()=>[Pt,"auto",I,P],m=()=>["auto","min","max","fr",I,P],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],S=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...y()],M=()=>[no,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],x=()=>[e,I,P],ee=()=>[...N(),os,ts,{position:[I,P]}],X=()=>["no-repeat",{repeat:["","x","y","space","round"]}],L=()=>["auto","cover","contain",hd,cd,{size:[I,P]}],R=()=>[mr,No,Zt],W=()=>["","none","full",d,I,P],re=()=>["",ae,No,Zt],ve=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],te=()=>[ae,mr,os,ts],Ae=()=>["","none",u,I,P],Ie=()=>["none",ae,I,P],Ne=()=>["none",ae,I,P],Le=()=>[ae,I,P],je=()=>[no,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_t],breakpoint:[_t],color:[nd],container:[_t],"drop-shadow":[_t],ease:["in","out","in-out"],font:[dd],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_t],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_t],shadow:[_t],spacing:["px",ae],text:[_t],"text-shadow":[_t],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",no,P,I,E]}],container:["container"],columns:[{columns:[ae,P,I,a]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"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:D()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{start:Y()}],end:[{end:Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[Pt,"auto",I,P]}],basis:[{basis:[no,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ae,no,"auto","initial","none",P]}],grow:[{grow:["",ae,I,P]}],shrink:[{shrink:["",ae,I,P]}],order:[{order:[Pt,"first","last","none",I,P]}],"grid-cols":[{"grid-cols":B()}],"col-start-end":[{col:de()}],"col-start":[{"col-start":me()}],"col-end":[{"col-end":me()}],"grid-rows":[{"grid-rows":B()}],"row-start-end":[{row:de()}],"row-start":[{"row-start":me()}],"row-end":[{"row-end":me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":m()}],"auto-rows":[{"auto-rows":m()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...S(),"normal"]}],"justify-self":[{"justify-self":["auto",...S()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...S(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...S(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...S(),"baseline"]}],"place-self":[{"place-self":["auto",...S()]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],w:[{w:[a,"screen",...M()]}],"min-w":[{"min-w":[a,"screen","none",...M()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[n]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",o,No,Zt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,I,vr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mr,P]}],"font-family":[{font:[pd,P,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:[r,I,P]}],"line-clamp":[{"line-clamp":[ae,"none",I,vr]}],leading:[{leading:[s,...y()]}],"list-image":[{"list-image":["none",I,P]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",I,P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[ae,"from-font","auto",I,Zt]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[ae,"auto",I,P]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",I,P]}],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",I,P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ee()}],"bg-repeat":[{bg:X()}],"bg-size":[{bg:L()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Pt,I,P],radial:["",I,P],conic:[Pt,I,P]},fd,ud]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:re()}],"border-w-x":[{"border-x":re()}],"border-w-y":[{"border-y":re()}],"border-w-s":[{"border-s":re()}],"border-w-e":[{"border-e":re()}],"border-w-t":[{"border-t":re()}],"border-w-r":[{"border-r":re()}],"border-w-b":[{"border-b":re()}],"border-w-l":[{"border-l":re()}],"divide-x":[{"divide-x":re()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":re()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ae,I,P]}],"outline-w":[{outline:["",ae,No,Zt]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",c,fi,hi]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",p,fi,hi]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[ae,Zt]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":re()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",w,fi,hi]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[ae,I,P]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"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":[ae]}],"mask-image-linear-from-pos":[{"mask-linear-from":te()}],"mask-image-linear-to-pos":[{"mask-linear-to":te()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":te()}],"mask-image-t-to-pos":[{"mask-t-to":te()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":te()}],"mask-image-r-to-pos":[{"mask-r-to":te()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":te()}],"mask-image-b-to-pos":[{"mask-b-to":te()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":te()}],"mask-image-l-to-pos":[{"mask-l-to":te()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":te()}],"mask-image-x-to-pos":[{"mask-x-to":te()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":te()}],"mask-image-y-to-pos":[{"mask-y-to":te()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[I,P]}],"mask-image-radial-from-pos":[{"mask-radial-from":te()}],"mask-image-radial-to-pos":[{"mask-radial-to":te()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"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":N()}],"mask-image-conic-pos":[{"mask-conic":[ae]}],"mask-image-conic-from-pos":[{"mask-conic-from":te()}],"mask-image-conic-to-pos":[{"mask-conic-to":te()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ee()}],"mask-repeat":[{mask:X()}],"mask-size":[{mask:L()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",I,P]}],filter:[{filter:["","none",I,P]}],blur:[{blur:Ae()}],brightness:[{brightness:[ae,I,P]}],contrast:[{contrast:[ae,I,P]}],"drop-shadow":[{"drop-shadow":["","none",v,fi,hi]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",ae,I,P]}],"hue-rotate":[{"hue-rotate":[ae,I,P]}],invert:[{invert:["",ae,I,P]}],saturate:[{saturate:[ae,I,P]}],sepia:[{sepia:["",ae,I,P]}],"backdrop-filter":[{"backdrop-filter":["","none",I,P]}],"backdrop-blur":[{"backdrop-blur":Ae()}],"backdrop-brightness":[{"backdrop-brightness":[ae,I,P]}],"backdrop-contrast":[{"backdrop-contrast":[ae,I,P]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ae,I,P]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ae,I,P]}],"backdrop-invert":[{"backdrop-invert":["",ae,I,P]}],"backdrop-opacity":[{"backdrop-opacity":[ae,I,P]}],"backdrop-saturate":[{"backdrop-saturate":[ae,I,P]}],"backdrop-sepia":[{"backdrop-sepia":["",ae,I,P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",I,P]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ae,"initial",I,P]}],ease:[{ease:["linear","initial",z,I,P]}],delay:[{delay:[ae,I,P]}],animate:[{animate:["none",K,I,P]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[_,I,P]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:Ie()}],"rotate-x":[{"rotate-x":Ie()}],"rotate-y":[{"rotate-y":Ie()}],"rotate-z":[{"rotate-z":Ie()}],scale:[{scale:Ne()}],"scale-x":[{"scale-x":Ne()}],"scale-y":[{"scale-y":Ne()}],"scale-z":[{"scale-z":Ne()}],"scale-3d":["scale-3d"],skew:[{skew:Le()}],"skew-x":[{"skew-x":Le()}],"skew-y":[{"skew-y":Le()}],transform:[{transform:[I,P,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:je()}],"translate-x":[{"translate-x":je()}],"translate-y":[{"translate-y":je()}],"translate-z":[{"translate-z":je()}],"translate-none":["translate-none"],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"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",I,P]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",I,P]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[ae,No,Zt,vr]}],stroke:[{stroke:["none",...x()]}],"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"]}},It=dp(gd)})}),cp=Ct({GivebutterIframe:()=>Ge}),bd,Ge,up=h({"src/components/iframe.ts":(()=>{bd=nc(ap()),Ue(),Mt(),Eo(),Ao(),mi(),tr(),ar(),Nt(),Ge=class extends li(Et){constructor(...t){super(...t),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 t;(t=this.iframe)===null||t===void 0||(t=t.iFrameResizer)===null||t===void 0||t.resize()}willUpdate(t){if(!this.overrideIsLoading){var o;this.isLoading=!1,(o=this.iframe)===null||o===void 0||(o=o.iFrameResizer)===null||o===void 0||o.resize()}}render(){return this.error?this.renderError():fe`
      <div
        style=${it({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
        ${ro(this.iframeChanged)}
        name="givebutter"
        title="givebutter-iframe"
        class="${this.getIframeClass()}"
        style=${it(this.getIframeStyles())}
        src="${this.src}"
        allowpaymentrequest="true"
        allow="payment"
      ></iframe>
      ${this.renderPoweredByGivebutter()}
    `}renderPoweredByGivebutter(){return this.showPoweredByGivebutter?fe`
      <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=${it({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(t){t&&(this.iframe=t,setTimeout(()=>(0,bd.iframeResizer)({checkOrigin:!1,scrolling:this.closable||this.maxHeight.length>0?"auto":!1,initCallback:()=>{this.overrideIsLoading||(this.isLoading=!1)},closedCallback:()=>{this.isLoading=!1}},t),0))}getIframeClass(){return It("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 fe`
      <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>
    `}},C([Vt()],Ge.prototype,"isLoading",void 0),C([T({type:String})],Ge.prototype,"src",void 0),C([T({type:Boolean,converter:wt._boolean})],Ge.prototype,"overrideIsLoading",void 0),C([T({type:Boolean,converter:wt._boolean})],Ge.prototype,"showPoweredByGivebutter",void 0),C([T({type:Boolean,converter:wt._boolean})],Ge.prototype,"showBorder",void 0),C([T({type:String})],Ge.prototype,"error",void 0),C([T({type:Boolean,converter:wt._boolean})],Ge.prototype,"closable",void 0),C([T({type:String,attribute:"max-width"})],Ge.prototype,"maxWidth",void 0),C([T({type:String,attribute:"max-height"})],Ge.prototype,"maxHeight",void 0),C([T({type:String,attribute:"iframe-class"})],Ge.prototype,"iframeClass",void 0),C([T({type:String,attribute:"footer-class"})],Ge.prototype,"footerClass",void 0),Ge=C([$t("givebutter-iframe")],Ge)})}),ls,dt,ds,yd=h({"src/common/events.ts":(()=>{ls=(function(e){return e.CHANNEL_SETTINGS="channel-settings",e.BUTTON_SETTINGS="button-settings",e})({}),dt=(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})({}),ds=(function(e){return e.CLOSE_OVERLAY="close-overlay",e})({})})}),wd,vi,gr=h({"src/controllers/fetch-data-controller.ts":(()=>{wd=300*1e3,vi=class{constructor({host:e,queryFn:t,cacheTime:o=wd,retryCount:i=3,onSuccess:r,onError:s,shouldStopInterval:n}){this.host=e,this.queryFn=t,this.cacheTime=o,this.intervalId=null,this.retryCount=i,this.handleWindowFocus=this.handleWindowFocus.bind(this),this.host.addController(this),this.onSuccess=r,this.onError=s,this.shouldStopInterval=n}hostConnected(){var e=this;return ue(function*(){yield e.fetchData(),e.setRefetchInterval(),window.addEventListener("focus",e.handleWindowFocus)})()}hostDisconnected(){this.stopInterval(),window.removeEventListener("focus",this.handleWindowFocus)}fetchData(){var e=this;return ue(function*(t=this.retryCount){try{var o,i;e.data=yield e.queryFn(),e.error=void 0,(o=e.onSuccess)===null||o===void 0||o.call(e,e.data),!((i=e.shouldStopInterval)===null||i===void 0)&&i.call(e,e.data)&&e.stopInterval()}catch(l){var r;if(e.shouldRetry(l==null||(r=l.response)===null||r===void 0?void 0:r.status)&&t>0)yield e.fetchData(t-1);else{var s,n,a;e.error=(s=l==null?void 0:l.message)!==null&&s!==void 0?s:"Something went wrong.",e.stopInterval(),(n=e.onError)===null||n===void 0||n.call(e,(a=e.error)!==null&&a!==void 0?a:"Unknown error occurred")}}finally{e.host.requestUpdate()}}).apply(this,arguments)}setRefetchInterval(){var e=this;this.intervalId=setInterval(ue(function*(){yield e.fetchData()}),this.cacheTime)}handleWindowFocus(){var e=this;return ue(function*(){yield e.fetchData()})()}stopInterval(){this.intervalId!==null&&clearInterval(this.intervalId)}shouldRetry(e){return e!==404&&e!==422}}})}),pp=Ct({GivebutterGivingForm:()=>qe}),qe,hp=h({"src/components/giving-form.ts":(()=>{Ue(),Mt(),or(),Eo(),mi(),yd(),gr(),pi(),$o(),tr(),Uo(),ar(),Ei(),Nt(),qe=class extends li(Mo){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=t=>{var o;const i=t.data.event||t.data,r=(o=this.iframe)===null||o===void 0||(o=o.shadowRoot)===null||o===void 0?void 0:o.querySelector("iframe");if(r){if(i===dt.PLAID_OPEN){var s;r.classList.add("max-h-[90vh]","max-h-[90svh]"),(s=this.iframe)===null||s===void 0||s.resizeIframe();return}if(i===dt.PLAID_CLOSE){var n;r.classList.remove("max-h-[90vh]","max-h-[90svh]"),(n=this.iframe)===null||n===void 0||n.resizeIframe();return}}if(i===dt.DONATION_BUTTON_CLOSE||i===dt.CLOSE_MODAL){var a;(a=this.shadowRoot)===null||a===void 0||a.dispatchEvent(new Event(ds.CLOSE_OVERLAY,{bubbles:!0,composed:!0}));return}if(this.iframe&&i===dt.FORM_LOADED){this.isLoading=!1;return}this.iframe&&(r==null?void 0:r.contentWindow)===t.source&&[dt.DONATION_BUTTON_NEXT,dt.DONATION_BUTTON_BACK,dt.DONATION_GO_TO_STEP].includes(t.data.event)&&this.iframe.getBoundingClientRect().top<0&&this.iframe.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},this.componentType=jt.GIVING_FORM}connectedCallback(){super.connectedCallback(),this.embedUrl.length===0&&(this.dataController=new vi({host:this,queryFn:()=>Vs(this.account,this.campaign)})),window.addEventListener("message",this.receiveMessageEvent)}disconnectedCallback(){window.removeEventListener("message",this.receiveMessageEvent),super.disconnectedCallback()}willUpdate(t){if(this.embedUrl.length===0){var o,i,r;this.embedUrl=((o=this.dataController)===null||o===void 0||(o=o.data)===null||o===void 0?void 0:o.embed_url)||"",this.maxWidth=((i=this.dataController)===null||i===void 0||(i=i.data)===null||i===void 0?void 0:i.embed_max_width)||"560px",this.isEventTicketsFlow=((r=this.dataController)===null||r===void 0||(r=r.data)===null||r===void 0?void 0:r.is_event_tickets_flow)||!1}}render(){var t;return fe`
      ${this.showGoalBar?this.getGivebutterGoalBar():""}
      <givebutter-iframe
        ${ro(this.iframeChanged)}
        src="${this.getEmbedUrl()}"
        error="${lt((t=this.dataController)===null||t===void 0?void 0:t.error)}"
        closable="${this.closable}"
        max-width="${this.maxWidth}"
        max-height="${this.maxHeight}"
        footer-class="${this.footerClass}"
        iframe-class="${It(this.iframeClass,this.closable&&this.isEventTicketsFlow&&"!h-full !w-screen",this.closable&&!this.isEventTicketsFlow&&"max-modal-desktop:!h-full !w-screen")}"
        class="${It("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 fe`
      <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(t){this.iframe=t}getEmbedUrl(){if(Ho.isValidEmbedUrl(this.embedUrl)){const t=new URL(this.embedUrl),o=new URLSearchParams(t.search);return new URLSearchParams(this.analytics.getQueryString()).forEach((i,r)=>{o.has(r)||o.set(r,i)}),o.append("goalBar","false"),this.closable&&o.append("closeButton","true"),this.widgetId.length>0&&o.append("gba_gb.element.id",this.widgetId),`${t.origin+t.pathname}?${o.toString()}`}return""}},C([Vt()],qe.prototype,"isLoading",void 0),C([T({type:String,attribute:"theme-color"})],qe.prototype,"themeColor",void 0),C([T({type:String,attribute:"max-width"})],qe.prototype,"maxWidth",void 0),C([T({type:String,attribute:"max-height"})],qe.prototype,"maxHeight",void 0),C([T({type:Boolean,attribute:"closable"})],qe.prototype,"closable",void 0),C([T({type:Boolean,attribute:"show-goal-bar",converter:wt._boolean})],qe.prototype,"showGoalBar",void 0),C([T({type:String,attribute:"iframe-class"})],qe.prototype,"iframeClass",void 0),C([T({type:String,attribute:"footer-class"})],qe.prototype,"footerClass",void 0),C([T({type:Boolean})],qe.prototype,"isEventTicketsFlow",void 0),qe=C([$t("givebutter-giving-form")],qe)})}),_d,fp=h({"src/mixins/iframe-emitter.ts":(()=>{_d=e=>{class t extends e{constructor(...i){super(...i),this.emitIframeMessage=r=>{var s;(s=this.iframe)===null||s===void 0||(s=s.shadowRoot)===null||s===void 0||(s=s.querySelector("iframe"))===null||s===void 0||(s=s.contentWindow)===null||s===void 0||s.postMessage(r,"https://givebutter.com")}}}return t}})}),mp=Ct({DynamicElementType:()=>Lo,GivebutterDynamicElement:()=>ct,GoalBarElementType:()=>xd,SignupFormLayout:()=>Po,SignupFormType:()=>jo}),Lo,xd,jo,Po,ct,kd=h({"src/components/dynamic.ts":(()=>{Ue(),Mt(),or(),gr(),pi(),$o(),Uo(),ea(),fo(),Nt(),Lo=(function(e){return e.UNDEFINED="",e.BUTTON="button",e.GIVING_FORM="giving-form",e.SIGNUP_FORM="signup-form",e.GOAL_BAR="goal-bar",e})({}),xd=(function(e){return e.PROGRESS_BAR="progress-bar",e.THERMOMETER="thermometer",e})({}),jo=(function(e){return e.STATIC="static",e.POPUP="popup",e})({}),Po=(function(e){return e.SIMPLE="simple",e.STACKED="stacked",e.TWO_COLUMN="two-column",e})({}),ct=class extends Mo{constructor(){super(),this.config={},this.align="left",this.position="",this.amount="",this.frequency="",this.fund="",this.promo="",this.componentType=jt.DYNAMIC}connectedCallback(){var t=()=>super.connectedCallback,o=this;return ue(function*(){if(t().call(o),!(!o.account||!o.widgetId)){if(ze.getPlatform()===ho.godaddy&&ze.isInsideIframe()){var i,r;const s=window.parent.document.createElement("givebutter-widget");s.id=o.widgetId,s.position=o.position,s.align=o.align;const n=window.frameElement;n==null||(i=n.parentElement)===null||i===void 0||i.insertBefore(s,n.nextSibling),!ze.isGoDaddyBackoffice()&&o.position.length>0&&((r=Qs(n,"widget-html"))===null||r===void 0||r.setAttribute("style","height: 0px;"));return}o.dataController=new vi({host:o,queryFn:()=>Nr(o.account,o.widgetId)})}})()}render(){var t;const o=(t=this.dataController)===null||t===void 0||(t=t.data)===null||t===void 0?void 0:t.type;if(o){if(o===Lo.BUTTON)return this.getButton();if(o===Lo.GIVING_FORM)return this.getGivingForm();if(o===Lo.SIGNUP_FORM)return this.getSignupForm();if(o===Lo.GOAL_BAR)return this.getGoalBar()}return fe``}getButton(){var t,o,i,r,s;const n=(t=this.dataController)===null||t===void 0||(t=t.data)===null||t===void 0?void 0:t.config,a=(o=(i=this.dataController)===null||i===void 0||(i=i.data)===null||i===void 0?void 0:i.embed_max_width)!==null&&o!==void 0?o:"560px",l=(r=(s=this.dataController)===null||s===void 0||(s=s.data)===null||s===void 0?void 0:s.is_event_tickets_flow)!==null&&r!==void 0?r:!1;return fe`<givebutter-button
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${n.campaign}"
      embed-url="${lt(this.getEmbedUrl())}"
      icon="${n.icon}"
      icon-position="${n.iconPosition}"
      label="${n.label}"
      label-color="${n.labelColor}"
      drop-shadow="${n.dropShadow}"
      border-color="${n.borderColor}"
      border-width="${n.borderWidth}"
      border-radius="${n.borderRadius}"
      background-color="${n.backgroundColor}"
      position="${this.position.length>0?this.position:n.position}"
      max-width="${a}"
      button-class="${this.getAlignClass()}"
      .isEventTicketsFlow="${l}"
    ></givebutter-button>`}getGivingForm(){var t,o,i,r,s,n;const a=(t=this.dataController)===null||t===void 0||(t=t.data)===null||t===void 0?void 0:t.config,l=(o=(i=this.dataController)===null||i===void 0||(i=i.data)===null||i===void 0?void 0:i.embed_max_width)!==null&&o!==void 0?o:"560px",d=(r=(s=this.dataController)===null||s===void 0||(s=s.data)===null||s===void 0?void 0:s.is_event_tickets_flow)!==null&&r!==void 0?r:!1;return fe`<givebutter-giving-form
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${a.campaign}"
      theme-color="${lt((n=this.dataController)===null||n===void 0||(n=n.data)===null||n===void 0?void 0:n.theme_color)}"
      embed-url="${lt(this.getEmbedUrl())}"
      max-width="${l}"
      iframe-class="${this.getAlignClass()}"
      footer-class="${this.getAlignClass()}"
      show-goal-bar="${a.showGoalBar}"
      .isEventTicketsFlow="${d}"
    ></givebutter-giving-form>`}getSignupForm(){var t,o;const i=(t=this.dataController)===null||t===void 0||(t=t.data)===null||t===void 0?void 0:t.config;return fe`<givebutter-signup-form
      id="${this.widgetId}"
      account="${this.account}"
      channel="${i.channel}"
      type="${i.type}"
      embed-url="${lt((o=this.dataController)===null||o===void 0||(o=o.data)===null||o===void 0?void 0:o.embed_url)}"
      form-class="${this.getAlignClass()}"
      title="${i.title}"
      description="${i.description}"
      border-radius="${i.borderRadius}"
      layout="${i.layout}"
      button-text="${i.buttonText}"
      button-text-color="${i.buttonTextColor}"
      button-background-color="${i.buttonBackgroundColor}"
      open-delay="${i.openDelay}"
      image="${i.image}"
      image-sizing="${i.imageSizing}"
    ></givebutter-signup-form>`}getGoalBar(){var t,o,i,r;const s=(t=this.dataController)===null||t===void 0||(t=t.data)===null||t===void 0?void 0:t.config;return fe`<givebutter-goal-bar
      id="${this.widgetId}"
      account="${this.account}"
      campaign="${s.campaign}"
      goal="${lt((o=this.dataController)===null||o===void 0||(o=o.data)===null||o===void 0?void 0:o.goal)}"
      raised="${lt((i=this.dataController)===null||i===void 0||(i=i.data)===null||i===void 0?void 0:i.raised)}"
      raised-percentage="${lt((r=this.dataController)===null||r===void 0||(r=r.data)===null||r===void 0?void 0:r.raised_percentage)}"
      type="${s.type}"
      text-color="${s.textColor}"
      progress-bar-color="${s.progressBarColor}"
      border-color="${s.borderColor}"
      border-width="${s.borderWidth}"
      border-radius="${s.borderRadius}"
      background-color="${s.backgroundColor}"
      size="${s.size}"
      show-goal-amount="${s.showGoalAmount}"
      show-amount-raised="${s.showAmountRaised}"
      show-raised-percentage="${s.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 t;const o=(t=this.dataController)===null||t===void 0||(t=t.data)===null||t===void 0?void 0:t.embed_url;if(!o)return;const i=new URL(o),r=new URLSearchParams(i.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),i.search=r.toString(),i.toString()}},C([Vt()],ct.prototype,"config",void 0),C([T({type:String,attribute:"align"})],ct.prototype,"align",void 0),C([T({type:String,attribute:"position"})],ct.prototype,"position",void 0),C([T({type:String,attribute:"amount"})],ct.prototype,"amount",void 0),C([T({type:String,attribute:"frequency"})],ct.prototype,"frequency",void 0),C([T({type:String,attribute:"fund"})],ct.prototype,"fund",void 0),C([T({type:String,attribute:"promo"})],ct.prototype,"promo",void 0),ct=C([$t("givebutter-widget")],ct)})}),vp=Ct({GivebutterSignupForm:()=>Me}),Me,gp=h({"src/components/signup-form.ts":(()=>{Al(),Ue(),Mt(),or(),Eo(),Ao(),mi(),yd(),gr(),pi(),$o(),fp(),Uo(),Ei(),El(),kd(),Nt(),Me=class extends _d(Mo){constructor(){super(),this.contentRef=nr(),this.isLoading=!0,this.isOpen=!1,this.channel="email",this.type=jo.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 zn(this,{config:{childList:!0,subtree:!0},target:document.querySelector("[data-overlay-outer-wrapper]"),callback:t=>{const o=t[0];o&&(this.isOpen=o.removedNodes.length<=0)}}),this.receiveMessageEvent=t=>{var o;t.data===dt.CLOSE_MODAL&&((o=this.shadowRoot)===null||o===void 0||o.dispatchEvent(new Event(ds.CLOSE_OVERLAY,{bubbles:!0,composed:!0}))),this.iframe&&t.data===dt.FORM_LOADED&&(this.isLoading=!1)},this.componentType=jt.SIGNUP_FORM}connectedCallback(){super.connectedCallback(),window.addEventListener("message",this.receiveMessageEvent),this.embedUrl.length===0&&(this.dataController=new vi({host:this,queryFn:()=>Nr(this.account,this.id)}))}disconnectedCallback(){window.removeEventListener("message",this.receiveMessageEvent),super.disconnectedCallback()}willUpdate(t){var o;this.embedUrl.length===0&&(this.embedUrl=((o=this.dataController)===null||o===void 0||(o=o.data)===null||o===void 0?void 0:o.embed_url)||"")}firstUpdated(){this.contentRef.value&&this.observer.observe(this.contentRef.value)}updated(t){t.has("isLoading")?(this.refreshSubmitButtonSettings(),this.refreshChannel()):((t.has("buttonText")||t.has("buttonTextColor")||t.has("buttonBackgroundColor"))&&this.refreshSubmitButtonSettings(),t.has("channel")&&this.refreshChannel())}render(){return this.type===jo.STATIC?this.renderForm():this.renderPopup()}renderPopup(){return fe`
      <givebutter-dialog
        trigger=${di.TIMED}
        open-delay=${this.openDelay}
        hide-on-outside-click
        close-button
      >
        <div slot="content" ${ro(this.contentRef)}>${this.isOpen?this.renderForm():""}</div>
      </givebutter-dialog>
    `}renderForm(){var t;return fe`
      <div
        class="${this.getFormClass()} bg-white text-left md:shadow-md"
        style=${it(this.getFormStyles())}
      >
        ${this.layout!=="simple"?fe`<div
              class=${this.getBannerClass()}
              style=${it(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
            ${ro(this.iframeChanged)}
            src="${this.getEmbedUrl()}"
            error="${lt((t=this.dataController)===null||t===void 0?void 0:t.error)}"
            iframe-class="${this.iframeClass}"
            footer-class="${this.footerClass}"
            .overrideIsLoading="${this.isLoading}"
            .showPoweredByGivebutter="${!1}"
            .showBorder="${!1}"
          ></givebutter-iframe>
        </div>
      </div>
    `}getBannerClass(){return It(this.layout===Po.STACKED&&"h-32",this.layout===Po.TWO_COLUMN&&"w-64")}getBannerStyles(){const t={fill:"cover",fit:"contain",stretch:"100% 100%"};return{"background-image":`url(${this.image})`,"background-size":t[this.imageSizing]||"cover","background-repeat":this.imageSizing==="fit"?"no-repeat":"repeat","background-position":"center"}}getFormClass(){const t=this.layout===Po.TWO_COLUMN,o=this.layout===Po.STACKED;return It((t||o)&&"flex flex-col gap-1",t?"sm:flex-row max-w-[620px]":"max-w-[420px]",this.type===jo.STATIC&&this.formClass,this.type===jo.POPUP&&"modal-desktop:overflow-auto max-h-dvh modal-desktop:max-h-[90vh]")}getFormStyles(){return{borderRadius:`${this.borderRadius}px`}}iframeChanged(t){t&&(this.iframe=t,this.refreshSubmitButtonSettings(),this.refreshChannel())}refreshChannel(){this.emitIframeMessage({event:ls.CHANNEL_SETTINGS,props:{channel:this.channel}})}refreshSubmitButtonSettings(){this.emitIframeMessage({event:ls.BUTTON_SETTINGS,props:{text:this.buttonText,textColor:this.buttonTextColor,backgroundColor:this.buttonBackgroundColor}})}getEmbedUrl(){return Ho.isValidEmbedUrl(this.embedUrl)?this.embedUrl:""}},C([Vt()],Me.prototype,"isLoading",void 0),C([T({type:String,attribute:"channel"})],Me.prototype,"channel",void 0),C([T({type:String,attribute:"type"})],Me.prototype,"type",void 0),C([T({type:Number,attribute:"open-delay"})],Me.prototype,"openDelay",void 0),C([T({type:String,attribute:"form-class"})],Me.prototype,"formClass",void 0),C([T({type:String,attribute:"iframe-class"})],Me.prototype,"iframeClass",void 0),C([T({type:String,attribute:"footer-class"})],Me.prototype,"footerClass",void 0),C([T({type:String,attribute:"title"})],Me.prototype,"title",void 0),C([T({type:String,attribute:"description"})],Me.prototype,"description",void 0),C([T({type:Number,attribute:"border-radius"})],Me.prototype,"borderRadius",void 0),C([T({type:String,attribute:"layout"})],Me.prototype,"layout",void 0),C([T({type:String,attribute:"button-text"})],Me.prototype,"buttonText",void 0),C([T({type:String,attribute:"button-text-color"})],Me.prototype,"buttonTextColor",void 0),C([T({type:String,attribute:"button-background-color"})],Me.prototype,"buttonBackgroundColor",void 0),C([T({type:String,attribute:"image"})],Me.prototype,"image",void 0),C([T({type:String,attribute:"image-sizing"})],Me.prototype,"imageSizing",void 0),Me=C([$t("givebutter-signup-form")],Me)})}),Cd,bp=h({"src/utils/animator.ts":(()=>{var e;Cd=(e=class vs{static animate(o,i,r,s){if(o>=i&&typeof s=="function"){s();return}const n=i/100,a=Math.min(o+n,i);r(a),a<i&&setTimeout(()=>vs.animate(a,i,r,s),vs.ANIMATION_STEP_INTERVAL)}},e.ANIMATION_STEP_INTERVAL=25,e)})}),Sd=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/html.js":(()=>{Ot()})}),Od=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/directive.js":(()=>{ci()})}),Ed=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/async-directive.js":(()=>{Ll()})}),Ad,yp=h({"../../node_modules/.pnpm/@lit-labs+motion@1.0.9/node_modules/@lit-labs/motion/animate-controller.js":(()=>{Ad=new WeakMap})}),cs,br,us,ps,wp,_p,xp,kp,Cp,Td,Sp,Op,Ep,hs,fs,yr,$d,Md,ms,Nd,Ld,Ap=h({"../../node_modules/.pnpm/@lit-labs+motion@1.0.9/node_modules/@lit-labs/motion/animate.js":(()=>{Sd(),Od(),Ed(),yp(),cs=0,br=new Map,us=new WeakSet,ps=()=>new Promise((e=>requestAnimationFrame(e))),wp=[{transform:"translateY(100%) scale(0)",opacity:0}],_p=[{transform:"translateY(-100%) scale(0)",opacity:0}],xp=[{transform:"translateX(-100%) scale(0)",opacity:0}],kp=[{transform:"translateX(100%) scale(0)",opacity:0}],Cp=[{}],Td=[{opacity:0}],Sp=Td,Op=[{opacity:0},{opacity:1}],Ep=[{opacity:0},{opacity:.25,offset:.75},{opacity:1}],hs=(e,t)=>{const o=e-t;return o===0?void 0:o},fs=(e,t)=>{const o=e/t;return o===1?void 0:o},yr={left:(e,t)=>{const o=hs(e,t);return{value:o,transform:o==null||isNaN(o)?void 0:`translateX(${o}px)`}},top:(e,t)=>{const o=hs(e,t);return{value:o,transform:o==null||isNaN(o)?void 0:`translateY(${o}px)`}},width:(e,t)=>{let o;t===0&&(t=1,o={width:"1px"});const i=fs(e,t);return{value:i,overrideFrom:o,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(e,t)=>{let o;t===0&&(t=1,o={height:"1px"});const i=fs(e,t);return{value:i,overrideFrom:o,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},$d={duration:333,easing:"ease-in-out"},Md=["left","top","width","height","opacity","color","background"],ms=new WeakMap,Nd=class extends rr{constructor(e){if(super(e),this.t=!1,this.i=null,this.o=null,this.h=!0,this.shouldLog=!1,e.type===Co.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var e;(e=this.resolveFinished)===null||e===void 0||e.call(this),this.finished=new Promise((t=>{this.l=t}))}resolveFinished(){var e=this;return ue(function*(){var t;(t=e.l)===null||t===void 0||t.call(e),e.l=void 0})()}render(e){return ye}getController(){return Ad.get(this.u)}isDisabled(){var e;return this.options.disabled||((e=this.getController())===null||e===void 0?void 0:e.disabled)}update(e,[t]){var o;const i=this.u===void 0;return i&&(this.u=(o=e.options)===null||o===void 0?void 0:o.host,this.u.addController(this),this.u.updateComplete.then((r=>this.t=!0)),this.element=e.element,ms.set(this.element,this)),this.optionsOrCallback=t,(i||typeof t!="function")&&this.p(t),this.render(t)}p(e){var t,o,i;e=(t=e)!==null&&t!==void 0?t:{};const r=this.getController();r!==void 0&&((e=U(U({},r.defaultOptions),e)).keyframeOptions=U(U({},r.defaultOptions.keyframeOptions),e.keyframeOptions)),(i=(o=e).properties)!==null&&i!==void 0||(o.properties=Md),this.options=e}m(){const e={},t=this.element.getBoundingClientRect(),o=getComputedStyle(this.element);return this.options.properties.forEach((i=>{var r;const s=(r=t[i])!==null&&r!==void 0?r:yr[i]?void 0:o[i],n=Number(s);e[i]=isNaN(n)?s+"":n})),e}v(){let e,t=!0;return this.options.guard&&(e=this.options.guard(),t=((o,i)=>{if(Array.isArray(o)){if(Array.isArray(i)&&i.length===o.length&&o.every(((r,s)=>r===i[s])))return!1}else if(i===o)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.p(this.optionsOrCallback()),this.v()&&(this.A=this.m(),this.i=(e=this.i)!==null&&e!==void 0?e:this.element.parentNode,this.o=this.element.nextSibling)}hostUpdated(){var e=this;return ue(function*(){if(!e.h||!e.element.isConnected||e.options.skipInitial&&!e.isHostRendered)return;let t;e.prepare(),yield ps;const o=e.O(),i=e.j(e.options.keyframeOptions,o),r=e.m();if(e.A!==void 0){const{from:s,to:n}=e.N(e.A,r,o);e.log("measured",[e.A,r,s,n]),t=e.calculateKeyframes(s,n)}else{const s=br.get(e.options.inId);if(s){br.delete(e.options.inId);const{from:n,to:a}=e.N(s,r,o);t=e.calculateKeyframes(n,a),t=e.options.in?[U(U({},e.options.in[0]),t[0]),...e.options.in.slice(1),t[1]]:t,cs++,t.forEach((l=>l.zIndex=cs))}else e.options.in&&(t=[...e.options.in,{}])}e.animate(t,i)})()}resetStyles(){var e;this.P!==void 0&&(this.element.setAttribute("style",(e=this.P)!==null&&e!==void 0?e:""),this.P=void 0)}commitStyles(){var e,t;this.P=this.element.getAttribute("style"),(e=this.webAnimation)===null||e===void 0||e.commitStyles(),(t=this.webAnimation)===null||t===void 0||t.cancel()}reconnected(){}disconnected(){var e=this;return ue(function*(){var t;if(!e.h||(e.options.id!==void 0&&br.set(e.options.id,e.A),e.options.out===void 0))return;if(e.prepare(),yield ps(),(t=e.i)===null||t===void 0?void 0:t.isConnected){const i=e.o&&e.o.parentNode===e.i?e.o:null;if(e.i.insertBefore(e.element,i),e.options.stabilizeOut){const r=e.m();e.log("stabilizing out");const s=e.A.left-r.left,n=e.A.top-r.top;getComputedStyle(e.element).position!=="static"||s===0&&n===0||(e.element.style.position="relative"),s!==0&&(e.element.style.left=s+"px"),n!==0&&(e.element.style.top=n+"px")}}const o=e.j(e.options.keyframeOptions);yield e.animate(e.options.out,o),e.element.remove()})()}prepare(){this.createFinished()}start(){var e,t;(e=(t=this.options).onStart)===null||e===void 0||e.call(t,this)}didFinish(e){var t,o;e&&((t=(o=this.options).onComplete)===null||t===void 0||t.call(o,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}O(){const e=[];for(let t=this.element.parentNode;t;t=t==null?void 0:t.parentNode){const o=ms.get(t);o&&!o.isDisabled()&&o&&e.push(o)}return e}get isHostRendered(){const e=us.has(this.u);return e||this.u.updateComplete.then((()=>{us.add(this.u)})),e}j(e,t=this.O()){const o=U({},$d);return t.forEach((i=>Object.assign(o,i.options.keyframeOptions))),Object.assign(o,e),o}N(e,t,o){e=U({},e),t=U({},t);const i=o.map((n=>n.animatingProperties)).filter((n=>n!==void 0));let r=1,s=1;return i.length>0&&(i.forEach((n=>{n.width&&(r/=n.width),n.height&&(s/=n.height)})),e.left!==void 0&&t.left!==void 0&&(e.left=r*e.left,t.left=r*t.left),e.top!==void 0&&t.top!==void 0&&(e.top=s*e.top,t.top=s*t.top)),{from:e,to:t}}calculateKeyframes(e,t,o=!1){const i={},r={};let s=!1;const n={};for(const l in t){const d=e[l],c=t[l];if(l in yr){var a;const p=yr[l];if(d===void 0||c===void 0)continue;const w=p(d,c);w.transform!==void 0&&(n[l]=w.value,s=!0,i.transform=`${(a=i.transform)!==null&&a!==void 0?a:""} ${w.transform}`,w.overrideFrom!==void 0&&Object.assign(i,w.overrideFrom))}else d!==c&&d!==void 0&&c!==void 0&&(s=!0,i[l]=d,r[l]=c)}return i.transformOrigin=r.transformOrigin=o?"center center":"top left",this.animatingProperties=n,s?[i,r]:void 0}animate(e){var t=this;return ue(function*(o,i=this.options.keyframeOptions){t.start(),t.frames=o;let r=!1;if(!t.isAnimating()&&!t.isDisabled()&&(t.options.onFrames&&(t.frames=o=t.options.onFrames(t),t.log("modified frames",o)),o!==void 0)){t.log("animate",[o,i]),r=!0,t.webAnimation=t.element.animate(o,i);const s=t.getController();s==null||s.add(t);try{yield t.webAnimation.finished}catch(n){}s==null||s.remove(t)}return t.didFinish(r),r}).apply(this,arguments)}isAnimating(){var e,t;return((e=this.webAnimation)===null||e===void 0?void 0:e.playState)==="running"||((t=this.webAnimation)===null||t===void 0?void 0:t.pending)}log(e,t){this.shouldLog&&!this.isDisabled()&&console.log(e,this.options.id,t)}},Ld=So(Nd)})}),jd,Pd,Tp,$p=h({"../../node_modules/.pnpm/@lit-labs+motion@1.0.9/node_modules/@lit-labs/motion/position.js":(()=>{Sd(),Od(),Ed(),jd=["top","right","bottom","left"],Pd=class extends rr{constructor(e){if(super(e),e.type!==Co.ELEMENT)throw Error("The `position` directive must be used in attribute position.")}render(e,t){return ye}update(e,[t,o]){var i;return this.u===void 0&&(this.u=(i=e.options)===null||i===void 0?void 0:i.host,this.u.addController(this)),this.S=e.element,this.C=t,this.F=o!=null?o:["left","top","width","height"],this.render(t,o)}hostUpdated(){this.$()}$(){var e,t;const o=typeof this.C=="function"?this.C():(e=this.C)===null||e===void 0?void 0:e.value,i=o.offsetParent;if(o===void 0||!i)return;const r=o.getBoundingClientRect(),s=i.getBoundingClientRect();(t=this.F)===null||t===void 0||t.forEach((n=>{const a=jd.includes(n)?r[n]-s[n]:r[n];this.S.style[n]=a+"px"}))}},Tp=So(Pd)})}),Mp=h({"../../node_modules/.pnpm/@lit-labs+motion@1.0.9/node_modules/@lit-labs/motion/index.js":(()=>{Ap(),$p()})}),lo,Id=h({"src/utils/number.ts":(()=>{lo=class{static toLocale(e,t=!0){return e||(e=0),t||(e=Math.round(e)),e.toLocaleString()}}})});function Np({raised:e,borderColor:t,borderWidth:o,borderRadius:i,backgroundColor:r,padding:s,progressBarColor:n,raisedPercentage:a,showAmountRaised:l,showRaisedPercentage:d,showGoalAmount:c,goal:p,textColor:w,size:v,areDisplayOptionsDisabled:u}){const _=It(l?"block":"hidden",v==="sm"&&"text-xl",v==="md"&&"text-2xl",v==="lg"&&"text-3xl"),E=()=>({color:w,"border-color":t,"border-width":o+"px","border-radius":i+"px",padding:s+"px","background-color":r}),z=It(v==="sm"&&"h-4",v==="md"&&"h-6",v==="lg"&&"h-8"),K=()=>({width:(a>100?100:a)+"%","background-color":n});return fe`
    <div
      class="m-auto flex w-full rounded-md font-medium"
      style=${it(E())}
    >
      <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="${_} leading-tight">
              <span id="raised">${"$"+lo.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">
              ${d?lo.toLocale(a)+"%":""}
              ${d&&c?" of ":""}
              ${c?"$"+lo.toLocale(p):""}
              ${u||!c?"":"goal"}
            </p>
          </div>
        </div>
        <div
          class="${z} flex rounded-full border border-gray-300 bg-white p-1"
        >
          <div
            ${Ld({keyframeOptions:{duration:2e3},properties:["width"],in:[{width:"0%"}]})}
            class="h-full max-w-full rounded-full"
            style=${it(K())}
          ></div>
        </div>
      </div>
    </div>
  `}var Lp=h({"src/components/partials/progress-bar.ts":(()=>{Mp(),Ue(),Ao(),mi(),Id()})});function jp(e,t,o){const i=r=>o>=r?t:"#A0A0AB";return fe`
    <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="${i(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="${i(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="${i(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="${i(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="${i(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="${i(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="${i(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="${i(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="${i(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="${i(10)}"
        />
        <path
          d="M68.487 258.703h31.135"
          stroke="#DEDEDE"
          stroke-width="1.946"
          stroke-linecap="round"
        />
      </g>
      <defs>
        <linearGradient
          ${ro(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 Pp=h({"src/components/partials/thermometer-svg.ts":(()=>{Ue(),Eo()})});function Ip({thermometerGradientElement:e,progressBarColor:t,currentRaisedPercentage:o,raisedPercentage:i,showAmountRaised:r,showRaisedPercentage:s,showGoalAmount:n,goal:a,raised:l,size:d,textColor:c,areDisplayOptionsDisabled:p}){const w=It(r?"block":"hidden",d==="sm"&&"text-lg",d==="md"&&"text-3xl",d==="lg"&&"text-5xl"),v=()=>({color:c});return fe`
    <div class="flex flex-col gap-2">
      <div class="flex justify-center">
        ${jp(e,t,o)}
      </div>
      <div class="flex flex-col gap-2 text-center" style="${it(v())}">
        <div id="raised" class="${w}">
          <span>${"$"+lo.toLocale(l,!1)}</span>
        </div>
        <div id="goal" class="text-base">
          ${s?lo.toLocale(i)+"%":""}
          ${s&&n?" of ":""}
          ${n?"$"+lo.toLocale(a):""}
          ${p||!n?"":"goal"}
        </div>
      </div>
    </div>
  `}var Rp=h({"src/components/partials/thermometer.ts":(()=>{Ue(),Ao(),mi(),Id(),Pp()})}),Fp=Ct({GivebutterGoalBar:()=>_e}),Rd,_e,Bp=h({"src/components/goal-bar.ts":(()=>{Ue(),Mt(),Eo(),Ao(),gr(),pi(),$o(),bp(),Uo(),ar(),Lp(),Rp(),Nt(),Rd=1e3*10,_e=class extends Mo{constructor(){super(),this.thermometerGradientElement=nr(),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=jt.GOAL_BAR}connectedCallback(){super.connectedCallback(),this.dataController=new vi({host:this,queryFn:()=>Zs(this.account,this.campaign),cacheTime:Rd,retryCount:1,onSuccess:t=>{t.goal>0&&(this.goal=t.goal,this.raised=t.raised,this.raisedPercentage=t.raised_percentage)},shouldStopInterval:t=>t.goal<=0})}disconnectedCallback(){super.disconnectedCallback()}updated(t){if(t.has("type")&&(this.currentRaisedPercentage=0),t.has("raised")||t.has("raisedPercentage")||t.has("type")){const o=this.raisedPercentage>100?100:this.raisedPercentage;o===0?this.updateThermometerGradient(0):(this.isThermometerGradientUpdating=!0,Cd.animate(this.currentRaisedPercentage,o,i=>{this.updateThermometerGradient(i)},()=>{this.isThermometerGradientUpdating=!1}))}this.areDisplayOptionsDisabled=!this.showGoalAmount&&!this.showAmountRaised&&!this.showRaisedPercentage}render(){return fe`
      <div style=${it({maxWidth:this.maxWidth})} class="${this.class}">
        ${this.type==="progress-bar"?Np(this):Ip(this)}
      </div>
    `}updateThermometerGradient(t){if(this.currentRaisedPercentage=t,this.thermometerGradientElement.value){const o=t===100?0:-.007*t+.785,i=this.thermometerGradientElement.value.querySelectorAll("stop");i[0].setAttribute("offset",o.toString()),i[1].setAttribute("offset",o.toString())}}},C([Vt()],_e.prototype,"currentRaisedPercentage",void 0),C([Vt()],_e.prototype,"isThermometerGradientUpdating",void 0),C([Vt()],_e.prototype,"areDisplayOptionsDisabled",void 0),C([T({type:String})],_e.prototype,"class",void 0),C([T({type:String,attribute:"type"})],_e.prototype,"type",void 0),C([T({type:Number,attribute:"goal"})],_e.prototype,"goal",void 0),C([T({type:Number,attribute:"raised"})],_e.prototype,"raised",void 0),C([T({type:Number,attribute:"raised-percentage"})],_e.prototype,"raisedPercentage",void 0),C([T({type:String,attribute:"text-color"})],_e.prototype,"textColor",void 0),C([T({type:Number,attribute:"padding"})],_e.prototype,"padding",void 0),C([T({type:String,attribute:"progress-bar-color"})],_e.prototype,"progressBarColor",void 0),C([T({type:String,attribute:"progress-color"})],_e.prototype,"fillColor",void 0),C([T({type:String,attribute:"border-color"})],_e.prototype,"borderColor",void 0),C([T({type:Number,attribute:"border-width"})],_e.prototype,"borderWidth",void 0),C([T({type:Number,attribute:"border-radius"})],_e.prototype,"borderRadius",void 0),C([T({type:String,attribute:"background-color"})],_e.prototype,"backgroundColor",void 0),C([T({type:String,attribute:"size"})],_e.prototype,"size",void 0),C([T({type:String,attribute:"max-width"})],_e.prototype,"maxWidth",void 0),C([T({type:Boolean,attribute:"show-goal-amount",converter:wt._boolean})],_e.prototype,"showGoalAmount",void 0),C([T({type:Boolean,attribute:"show-amount-raised",converter:wt._boolean})],_e.prototype,"showAmountRaised",void 0),C([T({type:Boolean,attribute:"show-raised-percentage",converter:wt._boolean})],_e.prototype,"showRaisedPercentage",void 0),_e=C([$t("givebutter-goal-bar")],_e)})}),wr,Fd,zp=h({"../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js":(()=>{Ot(),ci(),wr=class extends ir{constructor(e){if(super(e),this.it=ye,e.type!==Co.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ye||e==null)return this._t=void 0,this.it=e;if(e===St)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;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}},wr.directiveName="unsafeHTML",wr.resultType=1,Fd=So(wr)})}),Dp=h({"../../node_modules/.pnpm/lit@3.3.1/node_modules/lit/directives/unsafe-html.js":(()=>{zp()})}),Bd,zd,Dd,Hd,Wd,Ud,Gd,Vd,Hp=h({"src/utils/anchor.ts":(()=>{Bd=e=>{var t,o;return e.hasAttribute("href")&&((t=(o=e.getAttribute("href"))===null||o===void 0?void 0:o.startsWith("#"))!==null&&t!==void 0?t:!1)},zd=e=>{const t=e.getAttribute("href");return t?t.substring(1):null},Dd=e=>{var t;!((t=window.parent)===null||t===void 0||(t=t.location)===null||t===void 0)&&t.href?window.parent.history.pushState(null,"",`#${e}`):history.pushState(null,"",`#${e}`)},Hd=()=>window.location.hash?window.location.hash.substring(1):"",Wd=()=>{if(window.parent&&window.parent!==window){var e;const t=(e=window.parent)===null||e===void 0||(e=e.location)===null||e===void 0?void 0:e.hash;return t?t.substring(1):""}return""},Ud=(e,t)=>{const o=e.getElementById(t)||e.querySelector(`[id="${t}"]`);return o||e.querySelector(`[name="${t}"], a[name="${t}"]`)},Gd=e=>e.tagName==="A"&&!e.textContent&&e.parentElement||e,Vd=(e,t=80)=>{const o=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:o,behavior:"smooth"})}})}),Wp=Ct({GivebutterHTMLRenderer:()=>gi}),gi,Up=h({"src/components/html-renderer.ts":(()=>{var e;Ue(),Mt(),Dp(),Hp(),Nt(),gi=(e=class extends Et{constructor(...o){super(...o),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(o){const i=o.target.closest("a");if(i&&Bd(i)){o.preventDefault(),o.stopPropagation();const r=zd(i);r&&(this.scrollToAnchor(r),Dd(r))}}checkAndHandleUrlHash(){const o=Hd();if(!o){const i=Wd();if(i)return this.scrollToAnchor(i)}return o?this.scrollToAnchor(o):!1}scrollToAnchor(o){if(!this.shadowRoot)return!1;const i=Ud(this.shadowRoot,o);if(i){const r=Gd(i);return Vd(r,this.SCROLL_OFFSET),!0}return!1}render(){return this.html?fe`${Fd(this.html)}`:""}},e.styles=$i`
    :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 {
      max-width: 100%;
      box-sizing: border-box;
      vertical-align: middle;
    }

    img {
      height: auto;
    }
  `,e),C([T({type:String,attribute:"html"})],gi.prototype,"html",void 0),gi=C([$t("givebutter-html-renderer")],gi)})});Uo(),ea(),fo(),po();var Gp=(function(){var e=ue(function*(){if(window.gbWidgets=window.gbWidgets||{},!window.gbWidgets.init){qs(),Xs();try{yield Promise.resolve().then(()=>(El(),P0)),yield Promise.resolve().then(()=>(rp(),ip)),yield Promise.resolve().then(()=>(up(),cp)),yield Promise.resolve().then(()=>(hp(),pp)),yield Promise.resolve().then(()=>(gp(),vp)),yield Promise.resolve().then(()=>(Bp(),Fp)),yield Promise.resolve().then(()=>(kd(),mp)),yield Promise.resolve().then(()=>(Up(),Wp))}catch(t){Ee.error("Error initializing web components",t)}window.gbWidgets.init=!0,ze.getPlatform()===ho.godaddy&&ze.isInsideIframe()&&Js()}});return function(){return e.apply(this,arguments)}})();Gp()});

//# sourceMappingURL=widgets.min.js.map