@evercam/ui 0.0.63-preview-standarized-enum-fields-683be3ca4 → 0.0.63-preview-standarized-enum-fields-76e6ed734

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,6 +1,6 @@
1
- (function(G,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("vue"),require("hls.js"),require("d3"),require("moment-timezone"),require("remark-gfm"),require("remark-parse"),require("remark-rehype"),require("remark-breaks"),require("rehype-stringify"),require("unist-util-visit"),require("unified"),require("morphdom")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","d3","moment-timezone","remark-gfm","remark-parse","remark-rehype","remark-breaks","rehype-stringify","unist-util-visit","unified","morphdom"],N):(G=typeof globalThis!="undefined"?globalThis:G||self,N(G.EvercamUI={},G.Vue,G.Hls,G.d3,G.moment,G.remarkGfm,G.remarkParse,G.remarkRehype,G.remarkBreaks,G.rehypeStringify,G.unistUtilVisit,G.unified,G.morphdom))})(this,function(G,N,at,Cs,Se,bs,xs,ws,mn,Ss,Ts,ks,Ms){var Ki,Ji,es,ts,rs,ns,is,ss;"use strict";function Es(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}function gn(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const M=Es(Cs);var J=(t=>(t.Dot="dot",t.TwoXs="2xs",t.Xs="xs",t.Sm="sm",t.Md="base",t.Base="base",t.Lg="lg",t.Xl="xl",t.TwoXl="2xl",t.ThureeXl="3xl",t.FourXl="4xl",t.FiveX1="5xl",t.SixXl="6xl",t.SevenXl="7xl",t.EightXl="8xl",t.NineXl="9xl",t))(J||{}),ae=(t=>(t.Warning="warning",t.Error="error",t.Info="info",t.Success="success",t.Primary="primary",t.Brand="brand",t.Default="default",t.Gray="gray",t))(ae||{}),tt=(t=>(t.Overview="overview",t.Detailed="detailed",t.DetailedBackground="detailedBackground",t))(tt||{}),Qe=(t=>(t.Bars="bars",t.Dots="dots",t.LineGraph="lineGraph",t.BarChart="barGraph",t.Milestones="milestones",t))(Qe||{}),St=(t=>(t.Zoom="zoom",t.AutoPan="autoPan",t.Initial="initial",t))(St||{}),vn=(t=>(t.ThreeSixty="360",t.FourEighty="480",t.SevenTwenty="720",t.OneZeroEightZero="1080",t.Auto="auto",t))(vn||{}),Oe=(t=>(t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left",t))(Oe||{}),qe=(t=>(t.System="system",t.Copilot="copilot",t.User="user",t))(qe||{}),jt=(t=>(t.Text="text",t.Error="error",t.Json="json",t))(jt||{}),Wt=(t=>(t.Positive="positive",t.Negative="negative",t))(Wt||{});const $s=N.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:ae.Default},size:{type:String,default:J.Base}},data(){return{colors:{[ae.Error]:"e-bg-rose-500 e-text-white",[ae.Info]:"e-bg-cyan-500 e-text-white",[ae.Warning]:"e-bg-amber-500 e-text-white",[ae.Primary]:"e-bg-sky-500 e-text-white",[ae.Default]:"e-bg-slate-300 e-text-white",[ae.Success]:"e-bg-lime-500 e-text-white"},sizes:{[J.Dot]:"e-w-2 e-h-2",[J.Xs]:"e-w-3 e-h-3",[J.Sm]:"e-w-4 e-h-4",[J.Md]:"e-w-5 e-h-5",[J.Lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[J.Xl]:"e-min-w-[3rem] e-max-w-[5rem] e-px-1 e-h-8 e-text-base e-font-medium"}}},computed:{badgeClasses(){const t=this.colors[this.color]||this.colors[ae.Default],e=this.sizes[this.size]||this.sizes[J.Md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[J.Lg,J.Xl].includes(this.size)}}});function W(t,e,r,n,i,o,s,u){var a=typeof t=="function"?t.options:t;e&&(a.render=e,a.staticRenderFns=r,a._compiled=!0),n&&(a.functional=!0),o&&(a._scopeId="data-v-"+o);var l;if(s?(l=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(m=__VUE_SSR_CONTEXT__),i&&i.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(s)},a._ssrRegister=l):i&&(l=u?function(){i.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(a.functional){a._injectStyles=l;var d=a.render;a.render=function(C,x){return l.call(x),d(C,x)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:a}}var Ls=function(){var e=this,r=e._self._c;return r("span",{staticClass:"e-badge",class:e.badgeClasses},[e.showText?r("span",[e._v(e._s(e.text))]):e._e()])},Ds=[],Ps=W($s,Ls,Ds,!1,null,null,null,null);const Gt=Ps.exports,Os=N.extend({name:"EAvatar",components:{Badge:Gt},props:{size:{type:String,default:J.Md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:ae.Error},badgeText:{type:String,default:""},badgeSize:{type:String,default:J.Md},image:{type:String,default:""},backgroundClasses:{type:String,default:"e-bg-gradient-to-r e-from-purple-500 e-to-indigo-500"}},data(){return{sizes:{[J.TwoXs]:"e-w-6 e-h-6 e-text-xs",[J.Xs]:"e-w-8 e-h-8 e-text-xs",[J.Sm]:"e-w-10 e-h-10 e-text-sm",[J.Md]:"e-w-14 e-h-14 e-text-base",[J.Lg]:"e-w-20 e-h-20 e-text-2xl",[J.Xl]:"e-w-28 e-h-28 e-text-3xl",[J.TwoXl]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){const t=this.sizes[this.size]||this.sizes[J.Xs],e=this.image?"e-rounded-full e-overflow-hidden":"";return["e-flex e-items-center e-justify-center e-rounded-full e-text-white e-font-medium",t,e,this.backgroundClasses]}}});var zs=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-avatar e-relative",class:e.avatarClasses},[e._t("default",function(){return[e.image?r("img",{staticClass:"e-avatar__image e-w-full e-h-full e-object-cover",attrs:{src:e.image}}):e._e()]}),e.showBadge?r("div",{staticClass:"e-avatar__badge e-absolute e-top-0 e-right-0"},[e._t("badge",function(){return[r("Badge",{attrs:{text:e.badgeText,color:e.badgeColor,size:e.badgeSize}})]})],2):e._e()],2)},Bs=[],Is=W(Os,zs,Bs,!1,null,null,null,null);const Tt=Is.exports;var ot=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function kt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _n={},yn={},qt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))return r.replace(/^[+-]?/,i=>i==="-"?"":"-");let n=["var","calc","min","max","clamp"];for(const i of n)if(r.includes(`${i}(`))return`calc(${r} * -1)`}})(qt);var Cn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});const e=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]})(Cn);var bn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r,n){return r===void 0?n:Array.isArray(r)?r:[...new Set(n.filter(o=>r!==!1&&r[o]!==!1).concat(Object.keys(r).filter(o=>r[o]!==!1)))]}})(bn);var Ut={},Mt={},Zt={exports:{}},Ce=String,xn=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce}};Zt.exports=xn(),Zt.exports.createColors=xn;var wn=Zt.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,l){for(var d in l)Object.defineProperty(a,d,{enumerable:!0,get:l[d]})}e(t,{dim:function(){return s},default:function(){return u}});const r=n(wn);function n(a){return a&&a.__esModule?a:{default:a}}let i=new Set;function o(a,l,d){typeof process!="undefined"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),l.forEach(p=>console.warn(a,"-",p)))}function s(a){return r.default.dim(a)}const u={info(a,l){o(r.default.bold(r.default.cyan("info")),...Array.isArray(a)?[a]:[l,a])},warn(a,l){o(r.default.bold(r.default.yellow("warn")),...Array.isArray(a)?[a]:[l,a])},risk(a,l){o(r.default.bold(r.default.magenta("risk")),...Array.isArray(a)?[a]:[l,a])}}})(Mt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(Mt);function r(o){return o&&o.__esModule?o:{default:o}}function n({version:o,from:s,to:u}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${o}, \`${s}\` has been renamed to \`${u}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(Ut);var Sn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return e}});function e(r,...n){for(let s of n){for(let u in s){var i;!(r==null||(i=r.hasOwnProperty)===null||i===void 0)&&i.call(r,u)||(r[u]=s[u])}for(let u of Object.getOwnPropertySymbols(s)){var o;!(r==null||(o=r.hasOwnProperty)===null||o===void 0)&&o.call(r,u)||(r[u]=s[u])}}return r}})(Sn);var Tn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return e}});function e(r){if(Array.isArray(r))return r;let n=r.split("[").length-1,i=r.split("]").length-1;if(n!==i)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(Tn);var kn={},Et={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(p,m){for(var C in m)Object.defineProperty(p,C,{enumerable:!0,get:m[C]})}e(t,{flagEnabled:function(){return u},issueFlagNotices:function(){return l},default:function(){return d}});const r=i(wn),n=i(Mt);function i(p){return p&&p.__esModule?p:{default:p}}let o={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},s={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function u(p,m){if(s.future.includes(m)){var C,x,h;return p.future==="all"||((h=(x=p==null||(C=p.future)===null||C===void 0?void 0:C[m])!==null&&x!==void 0?x:o[m])!==null&&h!==void 0?h:!1)}if(s.experimental.includes(m)){var y,E,P;return p.experimental==="all"||((P=(E=p==null||(y=p.experimental)===null||y===void 0?void 0:y[m])!==null&&E!==void 0?E:o[m])!==null&&P!==void 0?P:!1)}return!1}function a(p){if(p.experimental==="all")return s.experimental;var m;return Object.keys((m=p==null?void 0:p.experimental)!==null&&m!==void 0?m:{}).filter(C=>s.experimental.includes(C)&&p.experimental[C])}function l(p){if(process.env.JEST_WORKER_ID===void 0&&a(p).length>0){let m=a(p).map(C=>r.default.yellow(C)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${m}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=s})(Et),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return o}});const e=Et,r=i(Mt);function n(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,a=new WeakMap;return(n=function(l){return l?a:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var a=n(u);if(a&&a.has(s))return a.get(s);var l={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in s)if(p!=="default"&&Object.prototype.hasOwnProperty.call(s,p)){var m=d?Object.getOwnPropertyDescriptor(s,p):null;m&&(m.get||m.set)?Object.defineProperty(l,p,m):l[p]=s[p]}return l.default=s,a&&a.set(s,l),l}function o(s){if((()=>{if(s.purge||!s.content||!Array.isArray(s.content)&&!(typeof s.content=="object"&&s.content!==null))return!1;if(Array.isArray(s.content))return s.content.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string"));if(typeof s.content=="object"&&s.content!==null){if(Object.keys(s.content).some(l=>!["files","relative","extract","transform"].includes(l)))return!1;if(Array.isArray(s.content.files)){if(!s.content.files.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string")))return!1;if(typeof s.content.extract=="object"){for(let l of Object.values(s.content.extract))if(typeof l!="function")return!1}else if(!(s.content.extract===void 0||typeof s.content.extract=="function"))return!1;if(typeof s.content.transform=="object"){for(let l of Object.values(s.content.transform))if(typeof l!="function")return!1}else if(!(s.content.transform===void 0||typeof s.content.transform=="function"))return!1;if(typeof s.content.relative!="boolean"&&typeof s.content.relative!="undefined")return!1}return!0}return!1})()||r.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),s.safelist=(()=>{var l;let{content:d,purge:p,safelist:m}=s;return Array.isArray(m)?m:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(p==null?void 0:p.safelist)?p.safelist:Array.isArray(p==null||(l=p.options)===null||l===void 0?void 0:l.safelist)?p.options.safelist:[]})(),s.blocklist=(()=>{let{blocklist:l}=s;if(Array.isArray(l)){if(l.every(d=>typeof d=="string"))return l;r.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof s.prefix=="function")r.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),s.prefix="";else{var a;s.prefix=(a=s.prefix)!==null&&a!==void 0?a:""}s.content={relative:(()=>{let{content:l}=s;return l!=null&&l.relative?l.relative:(0,e.flagEnabled)(s,"relativeContentPathsByDefault")})(),files:(()=>{let{content:l,purge:d}=s;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(l)?l:Array.isArray(l==null?void 0:l.content)?l.content:Array.isArray(l==null?void 0:l.files)?l.files:[]})(),extract:(()=>{let l=(()=>{var m,C,x,h,y,E,P,S,A,$;return!((m=s.purge)===null||m===void 0)&&m.extract?s.purge.extract:!((C=s.content)===null||C===void 0)&&C.extract?s.content.extract:!((x=s.purge)===null||x===void 0||(h=x.extract)===null||h===void 0)&&h.DEFAULT?s.purge.extract.DEFAULT:!((y=s.content)===null||y===void 0||(E=y.extract)===null||E===void 0)&&E.DEFAULT?s.content.extract.DEFAULT:!((P=s.purge)===null||P===void 0||(S=P.options)===null||S===void 0)&&S.extractors?s.purge.options.extractors:!((A=s.content)===null||A===void 0||($=A.options)===null||$===void 0)&&$.extractors?s.content.options.extractors:{}})(),d={},p=(()=>{var m,C,x,h;if(!((m=s.purge)===null||m===void 0||(C=m.options)===null||C===void 0)&&C.defaultExtractor)return s.purge.options.defaultExtractor;if(!((x=s.content)===null||x===void 0||(h=x.options)===null||h===void 0)&&h.defaultExtractor)return s.content.options.defaultExtractor})();if(p!==void 0&&(d.DEFAULT=p),typeof l=="function")d.DEFAULT=l;else if(Array.isArray(l))for(let{extensions:m,extractor:C}of l!=null?l:[])for(let x of m)d[x]=C;else typeof l=="object"&&l!==null&&Object.assign(d,l);return d})(),transform:(()=>{let l=(()=>{var p,m,C,x,h,y;return!((p=s.purge)===null||p===void 0)&&p.transform?s.purge.transform:!((m=s.content)===null||m===void 0)&&m.transform?s.content.transform:!((C=s.purge)===null||C===void 0||(x=C.transform)===null||x===void 0)&&x.DEFAULT?s.purge.transform.DEFAULT:!((h=s.content)===null||h===void 0||(y=h.transform)===null||y===void 0)&&y.DEFAULT?s.content.transform.DEFAULT:{}})(),d={};return typeof l=="function"?d.DEFAULT=l:typeof l=="object"&&l!==null&&Object.assign(d,l),d})()};for(let l of s.content.files)if(typeof l=="string"&&/{([^,]*?)}/g.test(l)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(l)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(l.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return s}}(kn);var Mn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const n=Object.getPrototypeOf(r);return n===null||Object.getPrototypeOf(n)===null}})(Mn);var En={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return e}});function e(r){return Array.isArray(r)?r.map(n=>e(n)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([n,i])=>[n,e(i)])):r}})(En);var $n={},Ln={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){return r.replace(/\\,/g,"\\2c ")}})(Ln);var Yt={},Xt={},Dn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});const e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}})(Dn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(x,h){for(var y in h)Object.defineProperty(x,y,{enumerable:!0,get:h[y]})}e(t,{parseColor:function(){return m},formatColor:function(){return C}});const r=n(Dn);function n(x){return x&&x.__esModule?x:{default:x}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,o=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,s=/(?:\d+|\d*\.\d+)%?/,u=/(?:\s*,\s*|\s+)/,a=/\s*[,/]\s*/,l=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=new RegExp(`^(rgba?)\\(\\s*(${s.source}|${l.source})(?:${u.source}(${s.source}|${l.source}))?(?:${u.source}(${s.source}|${l.source}))?(?:${a.source}(${s.source}|${l.source}))?\\s*\\)$`),p=new RegExp(`^(hsla?)\\(\\s*((?:${s.source})(?:deg|rad|grad|turn)?|${l.source})(?:${u.source}(${s.source}|${l.source}))?(?:${u.source}(${s.source}|${l.source}))?(?:${a.source}(${s.source}|${l.source}))?\\s*\\)$`);function m(x,{loose:h=!1}={}){var y,E;if(typeof x!="string")return null;if(x=x.trim(),x==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(x in r.default)return{mode:"rgb",color:r.default[x].map(H=>H.toString())};let P=x.replace(o,(H,K,U,b,z)=>["#",K,K,U,U,b,b,z?z+z:""].join("")).match(i);if(P!==null)return{mode:"rgb",color:[parseInt(P[1],16),parseInt(P[2],16),parseInt(P[3],16)].map(H=>H.toString()),alpha:P[4]?(parseInt(P[4],16)/255).toString():void 0};var S;let A=(S=x.match(d))!==null&&S!==void 0?S:x.match(p);if(A===null)return null;let $=[A[2],A[3],A[4]].filter(Boolean).map(H=>H.toString());return $.length===2&&$[0].startsWith("var(")?{mode:A[1],color:[$[0]],alpha:$[1]}:!h&&$.length!==3||$.length<3&&!$.some(H=>/^var\(.*?\)$/.test(H))?null:{mode:A[1],color:$,alpha:(y=A[5])===null||y===void 0||(E=y.toString)===null||E===void 0?void 0:E.call(y)}}function C({mode:x,color:h,alpha:y}){let E=y!==void 0;return x==="rgba"||x==="hsla"?`${x}(${h.join(", ")}${E?`, ${y}`:""})`:`${x}(${h.join(" ")}${E?` / ${y}`:""})`}}(Xt),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,s){for(var u in s)Object.defineProperty(o,u,{enumerable:!0,get:s[u]})}e(t,{withAlphaValue:function(){return n},default:function(){return i}});const r=Xt;function n(o,s,u){if(typeof o=="function")return o({opacityValue:s});let a=(0,r.parseColor)(o,{loose:!0});return a===null?u:(0,r.formatColor)({...a,alpha:s})}function i({color:o,property:s,variable:u}){let a=[].concat(s);if(typeof o=="function")return{[u]:"1",...Object.fromEntries(a.map(d=>[d,o({opacityVariable:u,opacityValue:`var(${u})`})]))};const l=(0,r.parseColor)(o);return l===null?Object.fromEntries(a.map(d=>[d,o])):l.alpha!==void 0?Object.fromEntries(a.map(d=>[d,o])):{[u]:"1",...Object.fromEntries(a.map(d=>[d,(0,r.formatColor)({...l,alpha:`var(${u})`})]))}}}(Yt);var Qt={},Pn={},$t={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let i=[],o=[],s=0,u=!1;for(let a=0;a<r.length;a++){let l=r[a];i.length===0&&l===n[0]&&!u&&(n.length===1||r.slice(a,a+n.length)===n)&&(o.push(r.slice(s,a)),s=a+n.length),u=u?!1:l==="\\",l==="("||l==="["||l==="{"?i.push(l):(l===")"&&i[i.length-1]==="("||l==="]"&&i[i.length-1]==="["||l==="}"&&i[i.length-1]==="{")&&i.pop()}return o.push(r.slice(s)),o}})($t),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,l){for(var d in l)Object.defineProperty(a,d,{enumerable:!0,get:l[d]})}e(t,{parseBoxShadowValue:function(){return s},formatBoxShadowValue:function(){return u}});const r=$t;let n=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,o=/^-?(\d+|\.\d+)(.*?)$/g;function s(a){return(0,r.splitAtTopLevelOnly)(a,",").map(d=>{let p=d.trim(),m={raw:p},C=p.split(i),x=new Set;for(let h of C)o.lastIndex=0,!x.has("KEYWORD")&&n.has(h)?(m.keyword=h,x.add("KEYWORD")):o.test(h)?x.has("X")?x.has("Y")?x.has("BLUR")?x.has("SPREAD")||(m.spread=h,x.add("SPREAD")):(m.blur=h,x.add("BLUR")):(m.y=h,x.add("Y")):(m.x=h,x.add("X")):m.color?(m.unknown||(m.unknown=[]),m.unknown.push(h)):m.color=h;return m.valid=m.x!==void 0&&m.y!==void 0,m})}function u(a){return a.map(l=>l.valid?[l.keyword,l.x,l.y,l.blur,l.spread,l.color].filter(Boolean).join(" "):l.raw).join(", ")}}(Pn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(O,R){for(var ie in R)Object.defineProperty(O,ie,{enumerable:!0,get:R[ie]})}e(t,{normalize:function(){return a},normalizeAttributeSelectors:function(){return l},url:function(){return p},number:function(){return m},percentage:function(){return C},length:function(){return y},lineWidth:function(){return P},shadow:function(){return S},color:function(){return A},image:function(){return $},gradient:function(){return K},position:function(){return b},familyName:function(){return z},genericName:function(){return D},absoluteSize:function(){return Q},relativeSize:function(){return T}});const r=Xt,n=Pn,i=$t;let o=["min","max","clamp","calc"];function s(O){return o.some(R=>new RegExp(`^${R}\\(.*\\)`).test(O))}const u=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function a(O,R=null,ie=!0){let _=R&&u.has(R.property);return O.startsWith("--")&&!_?`var(${O})`:O.includes("url(")?O.split(/(url\(.*?\))/g).filter(Boolean).map(Z=>/^url\(.*?\)$/.test(Z)?Z:a(Z,R,!1)).join(""):(O=O.replace(/([^\\])_+/g,(Z,F)=>F+" ".repeat(Z.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),ie&&(O=O.trim()),O=d(O),O)}function l(O){return O.includes("=")&&(O=O.replace(/(=.*)/g,(R,ie)=>{if(ie[1]==="'"||ie[1]==='"')return ie;if(ie.length>2){let _=ie[ie.length-1];if(ie[ie.length-2]===" "&&(_==="i"||_==="I"||_==="s"||_==="S"))return`="${ie.slice(1,-2)}" ${ie[ie.length-1]}`}return`="${ie.slice(1)}"`})),O}function d(O){let R=["theme"],ie=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient"];return O.replace(/(calc|min|max|clamp)\(.+\)/g,_=>{let Z="";function F(){let B=Z.trimEnd();return B[B.length-1]}for(let B=0;B<_.length;B++){let w=function(L){return L.split("").every((ne,ue)=>_[B+ue]===ne)},j=function(L){let ne=1/0;for(let ce of L){let se=_.indexOf(ce,B);se!==-1&&se<ne&&(ne=se)}let ue=_.slice(B,ne);return B+=ue.length-1,ue},V=_[B];if(w("var"))Z+=j([")",","]);else if(ie.some(L=>w(L))){let L=ie.find(ne=>w(ne));Z+=L,B+=L.length-1}else R.some(L=>w(L))?Z+=j([")"]):w("[")?Z+=j(["]"]):["+","-","*","/"].includes(V)&&!["(","+","-","*","/",","].includes(F())?Z+=` ${V} `:Z+=V}return Z.replace(/\s+/g," ")})}function p(O){return O.startsWith("url(")}function m(O){return!isNaN(Number(O))||s(O)}function C(O){return O.endsWith("%")&&m(O.slice(0,-1))||s(O)}let h=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})`;function y(O){return O==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${h}$`).test(O)||s(O)}let E=new Set(["thin","medium","thick"]);function P(O){return E.has(O)}function S(O){let R=(0,n.parseBoxShadowValue)(a(O));for(let ie of R)if(!ie.valid)return!1;return!0}function A(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,"_").every(_=>(_=a(_),_.startsWith("var(")?!0:(0,r.parseColor)(_,{loose:!0})!==null?(R++,!0):!1))?R>0:!1}function $(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,",").every(_=>(_=a(_),_.startsWith("var(")?!0:p(_)||K(_)||["element(","image(","cross-fade(","image-set("].some(Z=>_.startsWith(Z))?(R++,!0):!1))?R>0:!1}let H=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(O){O=a(O);for(let R of H)if(O.startsWith(`${R}(`))return!0;return!1}let U=new Set(["center","top","right","bottom","left"]);function b(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,"_").every(_=>(_=a(_),_.startsWith("var(")?!0:U.has(_)||y(_)||C(_)?(R++,!0):!1))?R>0:!1}function z(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,",").every(_=>(_=a(_),_.startsWith("var(")?!0:_.includes(" ")&&!/(['"])([^"']+)\1/g.test(_)||/^\d/g.test(_)?!1:(R++,!0)))?R>0:!1}let q=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function D(O){return q.has(O)}let X=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function Q(O){return X.has(O)}let I=new Set(["larger","smaller"]);function T(O){return I.has(O)}}(Qt);var On={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=Qt,r=$t;function n(i){let o=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(s=>{let u=(0,r.splitAtTopLevelOnly)(s,"_").filter(Boolean);return u.length===1&&o.includes(u[0])?!0:u.length!==1&&u.length!==2?!1:u.every(a=>(0,e.length)(a)||(0,e.percentage)(a)||a==="auto")})}})(On),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(b,z){for(var q in z)Object.defineProperty(b,q,{enumerable:!0,get:z[q]})}e(t,{updateAllClasses:function(){return l},asValue:function(){return m},parseColorFormat:function(){return h},asColor:function(){return E},asLookupValue:function(){return P},typeMap:function(){return A},coerceValue:function(){return K},getMatchingTypes:function(){return U}});const r=a(Ln),n=Yt,i=Qt,o=a(qt),s=On,u=Et;function a(b){return b&&b.__esModule?b:{default:b}}function l(b,z){b.walkClasses(q=>{q.value=z(q.value),q.raws&&q.raws.value&&(q.raws.value=(0,r.default)(q.raws.value))})}function d(b,z){if(!C(b))return;let q=b.slice(1,-1);if(z(q))return(0,i.normalize)(q)}function p(b,z={},q){let D=z[b];if(D!==void 0)return(0,o.default)(D);if(C(b)){let X=d(b,q);return X===void 0?void 0:(0,o.default)(X)}}function m(b,z={},{validate:q=()=>!0}={}){var D;let X=(D=z.values)===null||D===void 0?void 0:D[b];return X!==void 0?X:z.supportsNegativeValues&&b.startsWith("-")?p(b.slice(1),z.values,q):d(b,q)}function C(b){return b.startsWith("[")&&b.endsWith("]")}function x(b){let z=b.lastIndexOf("/"),q=b.lastIndexOf("[",z),D=b.indexOf("]",z);return b[z-1]==="]"||b[z+1]==="["||q!==-1&&D!==-1&&q<z&&z<D&&(z=b.lastIndexOf("/",q)),z===-1||z===b.length-1?[b,void 0]:C(b)&&!b.includes("]/[")?[b,void 0]:[b.slice(0,z),b.slice(z+1)]}function h(b){if(typeof b=="string"&&b.includes("<alpha-value>")){let z=b;return({opacityValue:q=1})=>z.replace(/<alpha-value>/g,q)}return b}function y(b){return(0,i.normalize)(b.slice(1,-1))}function E(b,z={},{tailwindConfig:q={}}={}){var D;if(((D=z.values)===null||D===void 0?void 0:D[b])!==void 0){var X;return h((X=z.values)===null||X===void 0?void 0:X[b])}let[Q,I]=x(b);if(I!==void 0){var T,O,R,ie;let _=(ie=(T=z.values)===null||T===void 0?void 0:T[Q])!==null&&ie!==void 0?ie:C(Q)?Q.slice(1,-1):void 0;return _===void 0?void 0:(_=h(_),C(I)?(0,n.withAlphaValue)(_,y(I)):((O=q.theme)===null||O===void 0||(R=O.opacity)===null||R===void 0?void 0:R[I])===void 0?void 0:(0,n.withAlphaValue)(_,q.theme.opacity[I]))}return m(b,z,{validate:i.color})}function P(b,z={}){var q;return(q=z.values)===null||q===void 0?void 0:q[b]}function S(b){return(z,q)=>m(z,q,{validate:b})}let A={any:m,color:E,url:S(i.url),image:S(i.image),length:S(i.length),percentage:S(i.percentage),position:S(i.position),lookup:P,"generic-name":S(i.genericName),"family-name":S(i.familyName),number:S(i.number),"line-width":S(i.lineWidth),"absolute-size":S(i.absoluteSize),"relative-size":S(i.relativeSize),shadow:S(i.shadow),size:S(s.backgroundSize)},$=Object.keys(A);function H(b,z){let q=b.indexOf(z);return q===-1?[void 0,b]:[b.slice(0,q),b.slice(q+1)]}function K(b,z,q,D){if(q.values&&z in q.values)for(let{type:Q}of b!=null?b:[]){let I=A[Q](z,q,{tailwindConfig:D});if(I!==void 0)return[I,Q,null]}if(C(z)){let Q=z.slice(1,-1),[I,T]=H(Q,":");if(!/^[\w-_]+$/g.test(I))T=Q;else if(I!==void 0&&!$.includes(I))return[];if(T.length>0&&$.includes(I))return[m(`[${T}]`,q),I,null]}let X=U(b,z,q,D);for(let Q of X)return Q;return[]}function*U(b,z,q,D){let X=(0,u.flagEnabled)(D,"generalizedModifiers"),[Q,I]=x(z);if(X&&q.modifiers!=null&&(q.modifiers==="any"||typeof q.modifiers=="object"&&(I&&C(I)||I in q.modifiers))||(Q=z,I=void 0),I!==void 0&&Q===""&&(Q="DEFAULT"),I!==void 0&&typeof q.modifiers=="object"){var O,R;let ie=(R=(O=q.modifiers)===null||O===void 0?void 0:O[I])!==null&&R!==void 0?R:null;ie!==null?I=ie:C(I)&&(I=y(I))}for(let{type:ie}of b!=null?b:[]){let _=A[ie](Q,q,{tailwindConfig:D});_!==void 0&&(yield[_,ie,I!=null?I:null])}}}($n);var zn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){return typeof r=="function"?r({}):r}})(zn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return q}});const e=C(qt),r=C(Cn),n=C(bn),i=C(Ut),o=Sn,s=Tn,u=kn,a=C(Mn),l=En,d=$n,p=Yt,m=C(zn);function C(D){return D&&D.__esModule?D:{default:D}}function x(D){return typeof D=="function"}function h(D,...X){let Q=X.pop();for(let I of X)for(let T in I){let O=Q(D[T],I[T]);O===void 0?(0,a.default)(D[T])&&(0,a.default)(I[T])?D[T]=h({},D[T],I[T],Q):D[T]=I[T]:D[T]=O}return D}const y={colors:i.default,negative(D){return Object.keys(D).filter(X=>D[X]!=="0").reduce((X,Q)=>{let I=(0,e.default)(D[Q]);return I!==void 0&&(X[`-${Q}`]=I),X},{})},breakpoints(D){return Object.keys(D).filter(X=>typeof D[X]=="string").reduce((X,Q)=>({...X,[`screen-${Q}`]:D[Q]}),{})}};function E(D,...X){return x(D)?D(...X):D}function P(D){return D.reduce((X,{extend:Q})=>h(X,Q,(I,T)=>I===void 0?[T]:Array.isArray(I)?[T,...I]:[T,I]),{})}function S(D){return{...D.reduce((X,Q)=>(0,o.defaults)(X,Q),{}),extend:P(D)}}function A(D,X){if(Array.isArray(D)&&(0,a.default)(D[0]))return D.concat(X);if(Array.isArray(X)&&(0,a.default)(X[0])&&(0,a.default)(D))return[D,...X];if(Array.isArray(X))return X}function $({extend:D,...X}){return h(X,D,(Q,I)=>!x(Q)&&!I.some(x)?h({},Q,...I,A):(T,O)=>h({},...[Q,...I].map(R=>E(R,T,O)),A))}function*H(D){let X=(0,s.toPath)(D);if(X.length===0||(yield X,Array.isArray(D)))return;let Q=/^(.*?)\s*\/\s*([^/]+)$/,I=D.match(Q);if(I!==null){let[,T,O]=I,R=(0,s.toPath)(T);R.alpha=O,yield R}}function K(D){const X=(Q,I)=>{for(const T of H(Q)){let O=0,R=D;for(;R!=null&&O<T.length;)R=R[T[O++]],R=x(R)&&(T.alpha===void 0||O<=T.length-1)?R(X,y):R;if(R!==void 0){if(T.alpha!==void 0){let ie=(0,d.parseColorFormat)(R);return(0,p.withAlphaValue)(ie,T.alpha,(0,m.default)(ie))}return(0,a.default)(R)?(0,l.cloneDeep)(R):R}}return I};return Object.assign(X,{theme:X,...y}),Object.keys(D).reduce((Q,I)=>(Q[I]=x(D[I])?D[I](X,y):D[I],Q),{})}function U(D){let X=[];return D.forEach(Q=>{X=[...X,Q];var I;const T=(I=Q==null?void 0:Q.plugins)!==null&&I!==void 0?I:[];T.length!==0&&T.forEach(O=>{O.__isOptionsFunction&&(O=O());var R;X=[...X,...U([(R=O==null?void 0:O.config)!==null&&R!==void 0?R:{}])]})}),X}function b(D){return[...D].reduceRight((Q,I)=>x(I)?I({corePlugins:Q}):(0,n.default)(I,Q),r.default)}function z(D){return[...D].reduceRight((Q,I)=>[...Q,...I],[])}function q(D){let X=[...U(D),{prefix:"",important:!1,separator:":"}];var Q,I;return(0,u.normalizeConfig)((0,o.defaults)({theme:K($(S(X.map(T=>(Q=T==null?void 0:T.theme)!==null&&Q!==void 0?Q:{})))),corePlugins:b(X.map(T=>T.corePlugins)),plugins:z(D.map(T=>(I=T==null?void 0:T.plugins)!==null&&I!==void 0?I:[]))},...X))}}(yn);var Bn={},Fs={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(Fs),r=Et;function n(o){return o&&o.__esModule?o:{default:o}}function i(o){var s;const u=((s=o==null?void 0:o.presets)!==null&&s!==void 0?s:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),a={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},l=Object.keys(a).filter(d=>(0,r.flagEnabled)(o,d)).map(d=>a[d]);return[o,...l,...u]}})(Bn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(yn),r=n(Bn);function n(o){return o&&o.__esModule?o:{default:o}}function i(...o){let[,...s]=(0,r.default)(o[0]);return(0,e.default)([...o,...s])}}(_n);let Vt=_n;var As=(Vt.__esModule?Vt:{default:Vt}).default;const Rs=kt(As);let Kt=Ut;var Jt=(Kt.__esModule?Kt:{default:Kt}).default;const In=kt(Jt),Hs=gn({__proto__:null,default:In},[Jt]);var Fn={},An={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function e(n,i){return{handler:n,config:i}}e.withOptions=function(n,i=()=>({})){const o=function(s){return{__options:s,handler:n(s),config:i(s)}};return o.__isOptionsFunction=!0,o.__pluginFunction=n,o.__configFunction=i,o};const r=e})(An),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const e=r(An);function r(i){return i&&i.__esModule?i:{default:i}}const n=e.default}(Fn);let er=Fn;var Ns=(er.__esModule?er:{default:er}).default,Lt={exports:{}};Lt.exports,function(t,e){var r=200,n="__lodash_hash_undefined__",i=800,o=16,s=9007199254740991,u="[object Arguments]",a="[object Array]",l="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",m="[object Error]",C="[object Function]",x="[object GeneratorFunction]",h="[object Map]",y="[object Number]",E="[object Null]",P="[object Object]",S="[object Proxy]",A="[object RegExp]",$="[object Set]",H="[object String]",K="[object Undefined]",U="[object WeakMap]",b="[object ArrayBuffer]",z="[object DataView]",q="[object Float32Array]",D="[object Float64Array]",X="[object Int8Array]",Q="[object Int16Array]",I="[object Int32Array]",T="[object Uint8Array]",O="[object Uint8ClampedArray]",R="[object Uint16Array]",ie="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,Z=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,B={};B[q]=B[D]=B[X]=B[Q]=B[I]=B[T]=B[O]=B[R]=B[ie]=!0,B[u]=B[a]=B[b]=B[d]=B[z]=B[p]=B[m]=B[C]=B[h]=B[y]=B[P]=B[A]=B[$]=B[H]=B[U]=!1;var w=typeof ot=="object"&&ot&&ot.Object===Object&&ot,j=typeof self=="object"&&self&&self.Object===Object&&self,V=w||j||Function("return this")(),L=e&&!e.nodeType&&e,ne=L&&!0&&t&&!t.nodeType&&t,ue=ne&&ne.exports===L,ce=ue&&w.process,se=function(){try{var f=ne&&ne.require&&ne.require("util").types;return f||ce&&ce.binding&&ce.binding("util")}catch{}}(),he=se&&se.isTypedArray;function Te(f,v,k){switch(k.length){case 0:return f.call(v);case 1:return f.call(v,k[0]);case 2:return f.call(v,k[0],k[1]);case 3:return f.call(v,k[0],k[1],k[2])}return f.apply(v,k)}function le(f,v){for(var k=-1,re=Array(f);++k<f;)re[k]=v(k);return re}function ye(f){return function(v){return f(v)}}function Ae(f,v){return f==null?void 0:f[v]}function Be(f,v){return function(k){return f(v(k))}}var Me=Array.prototype,ke=Function.prototype,$e=Object.prototype,Ee=V["__core-js_shared__"],Le=ke.toString,De=$e.hasOwnProperty,Je=function(){var f=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),Xe=$e.toString,lt=Le.call(Object),Ct=RegExp("^"+Le.call(De).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=ue?V.Buffer:void 0,pt=V.Symbol,Bt=V.Uint8Array,It=Ge?Ge.allocUnsafe:void 0,as=Be(Object.getPrototypeOf,Object),os=Object.create,M8=$e.propertyIsEnumerable,E8=Me.splice,ct=pt?pt.toStringTag:void 0,Ft=function(){try{var f=on(Object,"defineProperty");return f({},"",{}),f}catch{}}(),$8=Ge?Ge.isBuffer:void 0,ls=Math.max,L8=Date.now,cs=on(V,"Map"),bt=on(Object,"create"),D8=function(){function f(){}return function(v){if(!dt(v))return{};if(os)return os(v);f.prototype=v;var k=new f;return f.prototype=void 0,k}}();function ut(f){var v=-1,k=f==null?0:f.length;for(this.clear();++v<k;){var re=f[v];this.set(re[0],re[1])}}function P8(){this.__data__=bt?bt(null):{},this.size=0}function O8(f){var v=this.has(f)&&delete this.__data__[f];return this.size-=v?1:0,v}function z8(f){var v=this.__data__;if(bt){var k=v[f];return k===n?void 0:k}return De.call(v,f)?v[f]:void 0}function B8(f){var v=this.__data__;return bt?v[f]!==void 0:De.call(v,f)}function I8(f,v){var k=this.__data__;return this.size+=this.has(f)?0:1,k[f]=bt&&v===void 0?n:v,this}ut.prototype.clear=P8,ut.prototype.delete=O8,ut.prototype.get=z8,ut.prototype.has=B8,ut.prototype.set=I8;function et(f){var v=-1,k=f==null?0:f.length;for(this.clear();++v<k;){var re=f[v];this.set(re[0],re[1])}}function F8(){this.__data__=[],this.size=0}function A8(f){var v=this.__data__,k=At(v,f);if(k<0)return!1;var re=v.length-1;return k==re?v.pop():E8.call(v,k,1),--this.size,!0}function R8(f){var v=this.__data__,k=At(v,f);return k<0?void 0:v[k][1]}function H8(f){return At(this.__data__,f)>-1}function N8(f,v){var k=this.__data__,re=At(k,f);return re<0?(++this.size,k.push([f,v])):k[re][1]=v,this}et.prototype.clear=F8,et.prototype.delete=A8,et.prototype.get=R8,et.prototype.has=H8,et.prototype.set=N8;function mt(f){var v=-1,k=f==null?0:f.length;for(this.clear();++v<k;){var re=f[v];this.set(re[0],re[1])}}function j8(){this.size=0,this.__data__={hash:new ut,map:new(cs||et),string:new ut}}function W8(f){var v=Ht(this,f).delete(f);return this.size-=v?1:0,v}function G8(f){return Ht(this,f).get(f)}function q8(f){return Ht(this,f).has(f)}function U8(f,v){var k=Ht(this,f),re=k.size;return k.set(f,v),this.size+=k.size==re?0:1,this}mt.prototype.clear=j8,mt.prototype.delete=W8,mt.prototype.get=G8,mt.prototype.has=q8,mt.prototype.set=U8;function gt(f){var v=this.__data__=new et(f);this.size=v.size}function Z8(){this.__data__=new et,this.size=0}function Y8(f){var v=this.__data__,k=v.delete(f);return this.size=v.size,k}function X8(f){return this.__data__.get(f)}function Q8(f){return this.__data__.has(f)}function V8(f,v){var k=this.__data__;if(k instanceof et){var re=k.__data__;if(!cs||re.length<r-1)return re.push([f,v]),this.size=++k.size,this;k=this.__data__=new mt(re)}return k.set(f,v),this.size=k.size,this}gt.prototype.clear=Z8,gt.prototype.delete=Y8,gt.prototype.get=X8,gt.prototype.has=Q8,gt.prototype.set=V8;function K8(f,v){var k=un(f),re=!k&&cn(f),pe=!k&&!re&&ps(f),ve=!k&&!re&&!pe&&gs(f),xe=k||re||pe||ve,fe=xe?le(f.length,String):[],we=fe.length;for(var je in f)(v||De.call(f,je))&&!(xe&&(je=="length"||pe&&(je=="offset"||je=="parent")||ve&&(je=="buffer"||je=="byteLength"||je=="byteOffset")||hs(je,we)))&&fe.push(je);return fe}function sn(f,v,k){(k!==void 0&&!Nt(f[v],k)||k===void 0&&!(v in f))&&an(f,v,k)}function J8(f,v,k){var re=f[v];(!(De.call(f,v)&&Nt(re,k))||k===void 0&&!(v in f))&&an(f,v,k)}function At(f,v){for(var k=f.length;k--;)if(Nt(f[k][0],v))return k;return-1}function an(f,v,k){v=="__proto__"&&Ft?Ft(f,v,{configurable:!0,enumerable:!0,value:k,writable:!0}):f[v]=k}var ec=fc();function Rt(f){return f==null?f===void 0?K:E:ct&&ct in Object(f)?pc(f):Cc(f)}function us(f){return xt(f)&&Rt(f)==u}function tc(f){if(!dt(f)||_c(f))return!1;var v=hn(f)?Ct:Z;return v.test(Sc(f))}function rc(f){return xt(f)&&ms(f.length)&&!!B[Rt(f)]}function nc(f){if(!dt(f))return yc(f);var v=fs(f),k=[];for(var re in f)re=="constructor"&&(v||!De.call(f,re))||k.push(re);return k}function ds(f,v,k,re,pe){f!==v&&ec(v,function(ve,xe){if(pe||(pe=new gt),dt(ve))ic(f,v,xe,k,ds,re,pe);else{var fe=re?re(ln(f,xe),ve,xe+"",f,v,pe):void 0;fe===void 0&&(fe=ve),sn(f,xe,fe)}},vs)}function ic(f,v,k,re,pe,ve,xe){var fe=ln(f,k),we=ln(v,k),je=xe.get(we);if(je){sn(f,k,je);return}var Re=ve?ve(fe,we,k+"",f,v,xe):void 0,wt=Re===void 0;if(wt){var fn=un(we),pn=!fn&&ps(we),ys=!fn&&!pn&&gs(we);Re=we,fn||pn||ys?un(fe)?Re=fe:Tc(fe)?Re=uc(fe):pn?(wt=!1,Re=oc(we,!0)):ys?(wt=!1,Re=cc(we,!0)):Re=[]:kc(we)||cn(we)?(Re=fe,cn(fe)?Re=Mc(fe):(!dt(fe)||hn(fe))&&(Re=mc(we))):wt=!1}wt&&(xe.set(we,Re),pe(Re,we,re,ve,xe),xe.delete(we)),sn(f,k,Re)}function sc(f,v){return xc(bc(f,v,_s),f+"")}var ac=Ft?function(f,v){return Ft(f,"toString",{configurable:!0,enumerable:!1,value:$c(v),writable:!0})}:_s;function oc(f,v){if(v)return f.slice();var k=f.length,re=It?It(k):new f.constructor(k);return f.copy(re),re}function lc(f){var v=new f.constructor(f.byteLength);return new Bt(v).set(new Bt(f)),v}function cc(f,v){var k=v?lc(f.buffer):f.buffer;return new f.constructor(k,f.byteOffset,f.length)}function uc(f,v){var k=-1,re=f.length;for(v||(v=Array(re));++k<re;)v[k]=f[k];return v}function dc(f,v,k,re){var pe=!k;k||(k={});for(var ve=-1,xe=v.length;++ve<xe;){var fe=v[ve],we=re?re(k[fe],f[fe],fe,k,f):void 0;we===void 0&&(we=f[fe]),pe?an(k,fe,we):J8(k,fe,we)}return k}function hc(f){return sc(function(v,k){var re=-1,pe=k.length,ve=pe>1?k[pe-1]:void 0,xe=pe>2?k[2]:void 0;for(ve=f.length>3&&typeof ve=="function"?(pe--,ve):void 0,xe&&gc(k[0],k[1],xe)&&(ve=pe<3?void 0:ve,pe=1),v=Object(v);++re<pe;){var fe=k[re];fe&&f(v,fe,re,ve)}return v})}function fc(f){return function(v,k,re){for(var pe=-1,ve=Object(v),xe=re(v),fe=xe.length;fe--;){var we=xe[f?fe:++pe];if(k(ve[we],we,ve)===!1)break}return v}}function Ht(f,v){var k=f.__data__;return vc(v)?k[typeof v=="string"?"string":"hash"]:k.map}function on(f,v){var k=Ae(f,v);return tc(k)?k:void 0}function pc(f){var v=De.call(f,ct),k=f[ct];try{f[ct]=void 0;var re=!0}catch{}var pe=Xe.call(f);return re&&(v?f[ct]=k:delete f[ct]),pe}function mc(f){return typeof f.constructor=="function"&&!fs(f)?D8(as(f)):{}}function hs(f,v){var k=typeof f;return v=v==null?s:v,!!v&&(k=="number"||k!="symbol"&&F.test(f))&&f>-1&&f%1==0&&f<v}function gc(f,v,k){if(!dt(k))return!1;var re=typeof v;return(re=="number"?dn(k)&&hs(v,k.length):re=="string"&&v in k)?Nt(k[v],f):!1}function vc(f){var v=typeof f;return v=="string"||v=="number"||v=="symbol"||v=="boolean"?f!=="__proto__":f===null}function _c(f){return!!Je&&Je in f}function fs(f){var v=f&&f.constructor,k=typeof v=="function"&&v.prototype||$e;return f===k}function yc(f){var v=[];if(f!=null)for(var k in Object(f))v.push(k);return v}function Cc(f){return Xe.call(f)}function bc(f,v,k){return v=ls(v===void 0?f.length-1:v,0),function(){for(var re=arguments,pe=-1,ve=ls(re.length-v,0),xe=Array(ve);++pe<ve;)xe[pe]=re[v+pe];pe=-1;for(var fe=Array(v+1);++pe<v;)fe[pe]=re[pe];return fe[v]=k(xe),Te(f,this,fe)}}function ln(f,v){if(!(v==="constructor"&&typeof f[v]=="function")&&v!="__proto__")return f[v]}var xc=wc(ac);function wc(f){var v=0,k=0;return function(){var re=L8(),pe=o-(re-k);if(k=re,pe>0){if(++v>=i)return arguments[0]}else v=0;return f.apply(void 0,arguments)}}function Sc(f){if(f!=null){try{return Le.call(f)}catch{}try{return f+""}catch{}}return""}function Nt(f,v){return f===v||f!==f&&v!==v}var cn=us(function(){return arguments}())?us:function(f){return xt(f)&&De.call(f,"callee")&&!M8.call(f,"callee")},un=Array.isArray;function dn(f){return f!=null&&ms(f.length)&&!hn(f)}function Tc(f){return xt(f)&&dn(f)}var ps=$8||Lc;function hn(f){if(!dt(f))return!1;var v=Rt(f);return v==C||v==x||v==l||v==S}function ms(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=s}function dt(f){var v=typeof f;return f!=null&&(v=="object"||v=="function")}function xt(f){return f!=null&&typeof f=="object"}function kc(f){if(!xt(f)||Rt(f)!=P)return!1;var v=as(f);if(v===null)return!0;var k=De.call(v,"constructor")&&v.constructor;return typeof k=="function"&&k instanceof k&&Le.call(k)==lt}var gs=he?ye(he):rc;function Mc(f){return dc(f,vs(f))}function vs(f){return dn(f)?K8(f,!0):nc(f)}var Ec=hc(function(f,v,k){ds(f,v,k)});function $c(f){return function(){return f}}function _s(f){return f}function Lc(){return!1}t.exports=Ec}(Lt,Lt.exports);var js=Lt.exports;function Ws(){if(!arguments.length)return[];var t=arguments[0];return Gs(t)?t:[t]}var Gs=Array.isArray,qs=Ws;const g=Jt,oe=t=>t.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),ze=t=>`${oe(t/16)}rem`,c=(t,e)=>`${oe(t/e)}em`,Ue=t=>{t=t.replace("#",""),t=t.length===3?t.replace(/./g,"$&$&"):t;const e=parseInt(t.substring(0,2),16),r=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return`${e} ${r} ${n}`};let tr={sm:{css:[{fontSize:ze(14),lineHeight:oe(24/14),p:{marginTop:c(16,14),marginBottom:c(16,14)},'[class~="lead"]':{fontSize:c(18,14),lineHeight:oe(28/18),marginTop:c(16,18),marginBottom:c(16,18)},blockquote:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(20,18)},h1:{fontSize:c(30,14),marginTop:"0",marginBottom:c(24,30),lineHeight:oe(36/30)},h2:{fontSize:c(20,14),marginTop:c(32,20),marginBottom:c(16,20),lineHeight:oe(28/20)},h3:{fontSize:c(18,14),marginTop:c(28,18),marginBottom:c(8,18),lineHeight:oe(28/18)},h4:{marginTop:c(20,14),marginBottom:c(8,14),lineHeight:oe(20/14)},img:{marginTop:c(24,14),marginBottom:c(24,14)},picture:{marginTop:c(24,14),marginBottom:c(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(24,14),marginBottom:c(24,14)},kbd:{fontSize:c(12,14),borderRadius:ze(5),paddingTop:c(2,14),paddingInlineEnd:c(5,14),paddingBottom:c(2,14),paddingInlineStart:c(5,14)},code:{fontSize:c(12,14)},"h2 code":{fontSize:c(18,20)},"h3 code":{fontSize:c(16,18)},pre:{fontSize:c(12,14),lineHeight:oe(20/12),marginTop:c(20,12),marginBottom:c(20,12),borderRadius:ze(4),paddingTop:c(8,12),paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},ol:{marginTop:c(16,14),marginBottom:c(16,14),paddingInlineStart:c(22,14)},ul:{marginTop:c(16,14),marginBottom:c(16,14),paddingInlineStart:c(22,14)},li:{marginTop:c(4,14),marginBottom:c(4,14)},"ol > li":{paddingInlineStart:c(6,14)},"ul > li":{paddingInlineStart:c(6,14)},"> ul > li p":{marginTop:c(8,14),marginBottom:c(8,14)},"> ul > li > p:first-child":{marginTop:c(16,14)},"> ul > li > p:last-child":{marginBottom:c(16,14)},"> ol > li > p:first-child":{marginTop:c(16,14)},"> ol > li > p:last-child":{marginBottom:c(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(8,14),marginBottom:c(8,14)},dl:{marginTop:c(16,14),marginBottom:c(16,14)},dt:{marginTop:c(16,14)},dd:{marginTop:c(4,14),paddingInlineStart:c(22,14)},hr:{marginTop:c(40,14),marginBottom:c(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(12,14),lineHeight:oe(18/12)},"thead th":{paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(8,12),paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(24,14),marginBottom:c(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(12,14),lineHeight:oe(16/12),marginTop:c(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:ze(16),lineHeight:oe(28/16),p:{marginTop:c(20,16),marginBottom:c(20,16)},'[class~="lead"]':{fontSize:c(20,16),lineHeight:oe(32/20),marginTop:c(24,20),marginBottom:c(24,20)},blockquote:{marginTop:c(32,20),marginBottom:c(32,20),paddingInlineStart:c(20,20)},h1:{fontSize:c(36,16),marginTop:"0",marginBottom:c(32,36),lineHeight:oe(40/36)},h2:{fontSize:c(24,16),marginTop:c(48,24),marginBottom:c(24,24),lineHeight:oe(32/24)},h3:{fontSize:c(20,16),marginTop:c(32,20),marginBottom:c(12,20),lineHeight:oe(32/20)},h4:{marginTop:c(24,16),marginBottom:c(8,16),lineHeight:oe(24/16)},img:{marginTop:c(32,16),marginBottom:c(32,16)},picture:{marginTop:c(32,16),marginBottom:c(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(32,16),marginBottom:c(32,16)},kbd:{fontSize:c(14,16),borderRadius:ze(5),paddingTop:c(3,16),paddingInlineEnd:c(6,16),paddingBottom:c(3,16),paddingInlineStart:c(6,16)},code:{fontSize:c(14,16)},"h2 code":{fontSize:c(21,24)},"h3 code":{fontSize:c(18,20)},pre:{fontSize:c(14,16),lineHeight:oe(24/14),marginTop:c(24,14),marginBottom:c(24,14),borderRadius:ze(6),paddingTop:c(12,14),paddingInlineEnd:c(16,14),paddingBottom:c(12,14),paddingInlineStart:c(16,14)},ol:{marginTop:c(20,16),marginBottom:c(20,16),paddingInlineStart:c(26,16)},ul:{marginTop:c(20,16),marginBottom:c(20,16),paddingInlineStart:c(26,16)},li:{marginTop:c(8,16),marginBottom:c(8,16)},"ol > li":{paddingInlineStart:c(6,16)},"ul > li":{paddingInlineStart:c(6,16)},"> ul > li p":{marginTop:c(12,16),marginBottom:c(12,16)},"> ul > li > p:first-child":{marginTop:c(20,16)},"> ul > li > p:last-child":{marginBottom:c(20,16)},"> ol > li > p:first-child":{marginTop:c(20,16)},"> ol > li > p:last-child":{marginBottom:c(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(12,16),marginBottom:c(12,16)},dl:{marginTop:c(20,16),marginBottom:c(20,16)},dt:{marginTop:c(20,16)},dd:{marginTop:c(8,16),paddingInlineStart:c(26,16)},hr:{marginTop:c(48,16),marginBottom:c(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(14,16),lineHeight:oe(24/14)},"thead th":{paddingInlineEnd:c(8,14),paddingBottom:c(8,14),paddingInlineStart:c(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(8,14),paddingInlineEnd:c(8,14),paddingBottom:c(8,14),paddingInlineStart:c(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(32,16),marginBottom:c(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(14,16),lineHeight:oe(20/14),marginTop:c(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:ze(18),lineHeight:oe(32/18),p:{marginTop:c(24,18),marginBottom:c(24,18)},'[class~="lead"]':{fontSize:c(22,18),lineHeight:oe(32/22),marginTop:c(24,22),marginBottom:c(24,22)},blockquote:{marginTop:c(40,24),marginBottom:c(40,24),paddingInlineStart:c(24,24)},h1:{fontSize:c(48,18),marginTop:"0",marginBottom:c(40,48),lineHeight:oe(48/48)},h2:{fontSize:c(30,18),marginTop:c(56,30),marginBottom:c(32,30),lineHeight:oe(40/30)},h3:{fontSize:c(24,18),marginTop:c(40,24),marginBottom:c(16,24),lineHeight:oe(36/24)},h4:{marginTop:c(32,18),marginBottom:c(8,18),lineHeight:oe(28/18)},img:{marginTop:c(32,18),marginBottom:c(32,18)},picture:{marginTop:c(32,18),marginBottom:c(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(32,18),marginBottom:c(32,18)},kbd:{fontSize:c(16,18),borderRadius:ze(5),paddingTop:c(4,18),paddingInlineEnd:c(8,18),paddingBottom:c(4,18),paddingInlineStart:c(8,18)},code:{fontSize:c(16,18)},"h2 code":{fontSize:c(26,30)},"h3 code":{fontSize:c(21,24)},pre:{fontSize:c(16,18),lineHeight:oe(28/16),marginTop:c(32,16),marginBottom:c(32,16),borderRadius:ze(6),paddingTop:c(16,16),paddingInlineEnd:c(24,16),paddingBottom:c(16,16),paddingInlineStart:c(24,16)},ol:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(28,18)},ul:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(28,18)},li:{marginTop:c(12,18),marginBottom:c(12,18)},"ol > li":{paddingInlineStart:c(8,18)},"ul > li":{paddingInlineStart:c(8,18)},"> ul > li p":{marginTop:c(16,18),marginBottom:c(16,18)},"> ul > li > p:first-child":{marginTop:c(24,18)},"> ul > li > p:last-child":{marginBottom:c(24,18)},"> ol > li > p:first-child":{marginTop:c(24,18)},"> ol > li > p:last-child":{marginBottom:c(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,18),marginBottom:c(16,18)},dl:{marginTop:c(24,18),marginBottom:c(24,18)},dt:{marginTop:c(24,18)},dd:{marginTop:c(12,18),paddingInlineStart:c(28,18)},hr:{marginTop:c(56,18),marginBottom:c(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(16,18),lineHeight:oe(24/16)},"thead th":{paddingInlineEnd:c(12,16),paddingBottom:c(12,16),paddingInlineStart:c(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(12,16),paddingInlineEnd:c(12,16),paddingBottom:c(12,16),paddingInlineStart:c(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(32,18),marginBottom:c(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(16,18),lineHeight:oe(24/16),marginTop:c(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:ze(20),lineHeight:oe(36/20),p:{marginTop:c(24,20),marginBottom:c(24,20)},'[class~="lead"]':{fontSize:c(24,20),lineHeight:oe(36/24),marginTop:c(24,24),marginBottom:c(24,24)},blockquote:{marginTop:c(48,30),marginBottom:c(48,30),paddingInlineStart:c(32,30)},h1:{fontSize:c(56,20),marginTop:"0",marginBottom:c(48,56),lineHeight:oe(56/56)},h2:{fontSize:c(36,20),marginTop:c(56,36),marginBottom:c(32,36),lineHeight:oe(40/36)},h3:{fontSize:c(30,20),marginTop:c(48,30),marginBottom:c(20,30),lineHeight:oe(40/30)},h4:{marginTop:c(36,20),marginBottom:c(12,20),lineHeight:oe(32/20)},img:{marginTop:c(40,20),marginBottom:c(40,20)},picture:{marginTop:c(40,20),marginBottom:c(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(40,20),marginBottom:c(40,20)},kbd:{fontSize:c(18,20),borderRadius:ze(5),paddingTop:c(5,20),paddingInlineEnd:c(8,20),paddingBottom:c(5,20),paddingInlineStart:c(8,20)},code:{fontSize:c(18,20)},"h2 code":{fontSize:c(31,36)},"h3 code":{fontSize:c(27,30)},pre:{fontSize:c(18,20),lineHeight:oe(32/18),marginTop:c(36,18),marginBottom:c(36,18),borderRadius:ze(8),paddingTop:c(20,18),paddingInlineEnd:c(24,18),paddingBottom:c(20,18),paddingInlineStart:c(24,18)},ol:{marginTop:c(24,20),marginBottom:c(24,20),paddingInlineStart:c(32,20)},ul:{marginTop:c(24,20),marginBottom:c(24,20),paddingInlineStart:c(32,20)},li:{marginTop:c(12,20),marginBottom:c(12,20)},"ol > li":{paddingInlineStart:c(8,20)},"ul > li":{paddingInlineStart:c(8,20)},"> ul > li p":{marginTop:c(16,20),marginBottom:c(16,20)},"> ul > li > p:first-child":{marginTop:c(24,20)},"> ul > li > p:last-child":{marginBottom:c(24,20)},"> ol > li > p:first-child":{marginTop:c(24,20)},"> ol > li > p:last-child":{marginBottom:c(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,20),marginBottom:c(16,20)},dl:{marginTop:c(24,20),marginBottom:c(24,20)},dt:{marginTop:c(24,20)},dd:{marginTop:c(12,20),paddingInlineStart:c(32,20)},hr:{marginTop:c(56,20),marginBottom:c(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(18,20),lineHeight:oe(28/18)},"thead th":{paddingInlineEnd:c(12,18),paddingBottom:c(16,18),paddingInlineStart:c(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(16,18),paddingInlineEnd:c(12,18),paddingBottom:c(16,18),paddingInlineStart:c(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(40,20),marginBottom:c(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(18,20),lineHeight:oe(28/18),marginTop:c(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:ze(24),lineHeight:oe(40/24),p:{marginTop:c(32,24),marginBottom:c(32,24)},'[class~="lead"]':{fontSize:c(30,24),lineHeight:oe(44/30),marginTop:c(32,30),marginBottom:c(32,30)},blockquote:{marginTop:c(64,36),marginBottom:c(64,36),paddingInlineStart:c(40,36)},h1:{fontSize:c(64,24),marginTop:"0",marginBottom:c(56,64),lineHeight:oe(64/64)},h2:{fontSize:c(48,24),marginTop:c(72,48),marginBottom:c(40,48),lineHeight:oe(52/48)},h3:{fontSize:c(36,24),marginTop:c(56,36),marginBottom:c(24,36),lineHeight:oe(44/36)},h4:{marginTop:c(40,24),marginBottom:c(16,24),lineHeight:oe(36/24)},img:{marginTop:c(48,24),marginBottom:c(48,24)},picture:{marginTop:c(48,24),marginBottom:c(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(48,24),marginBottom:c(48,24)},kbd:{fontSize:c(20,24),borderRadius:ze(6),paddingTop:c(6,24),paddingInlineEnd:c(8,24),paddingBottom:c(6,24),paddingInlineStart:c(8,24)},code:{fontSize:c(20,24)},"h2 code":{fontSize:c(42,48)},"h3 code":{fontSize:c(32,36)},pre:{fontSize:c(20,24),lineHeight:oe(36/20),marginTop:c(40,20),marginBottom:c(40,20),borderRadius:ze(8),paddingTop:c(24,20),paddingInlineEnd:c(32,20),paddingBottom:c(24,20),paddingInlineStart:c(32,20)},ol:{marginTop:c(32,24),marginBottom:c(32,24),paddingInlineStart:c(38,24)},ul:{marginTop:c(32,24),marginBottom:c(32,24),paddingInlineStart:c(38,24)},li:{marginTop:c(12,24),marginBottom:c(12,24)},"ol > li":{paddingInlineStart:c(10,24)},"ul > li":{paddingInlineStart:c(10,24)},"> ul > li p":{marginTop:c(20,24),marginBottom:c(20,24)},"> ul > li > p:first-child":{marginTop:c(32,24)},"> ul > li > p:last-child":{marginBottom:c(32,24)},"> ol > li > p:first-child":{marginTop:c(32,24)},"> ol > li > p:last-child":{marginBottom:c(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,24),marginBottom:c(16,24)},dl:{marginTop:c(32,24),marginBottom:c(32,24)},dt:{marginTop:c(32,24)},dd:{marginTop:c(12,24),paddingInlineStart:c(38,24)},hr:{marginTop:c(72,24),marginBottom:c(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(20,24),lineHeight:oe(28/20)},"thead th":{paddingInlineEnd:c(12,20),paddingBottom:c(16,20),paddingInlineStart:c(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(16,20),paddingInlineEnd:c(12,20),paddingBottom:c(16,20),paddingInlineStart:c(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(48,24),marginBottom:c(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(20,24),lineHeight:oe(32/20),marginTop:c(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":g.slate[700],"--tw-prose-headings":g.slate[900],"--tw-prose-lead":g.slate[600],"--tw-prose-links":g.slate[900],"--tw-prose-bold":g.slate[900],"--tw-prose-counters":g.slate[500],"--tw-prose-bullets":g.slate[300],"--tw-prose-hr":g.slate[200],"--tw-prose-quotes":g.slate[900],"--tw-prose-quote-borders":g.slate[200],"--tw-prose-captions":g.slate[500],"--tw-prose-kbd":g.slate[900],"--tw-prose-kbd-shadows":Ue(g.slate[900]),"--tw-prose-code":g.slate[900],"--tw-prose-pre-code":g.slate[200],"--tw-prose-pre-bg":g.slate[800],"--tw-prose-th-borders":g.slate[300],"--tw-prose-td-borders":g.slate[200],"--tw-prose-invert-body":g.slate[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.slate[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.slate[400],"--tw-prose-invert-bullets":g.slate[600],"--tw-prose-invert-hr":g.slate[700],"--tw-prose-invert-quotes":g.slate[100],"--tw-prose-invert-quote-borders":g.slate[700],"--tw-prose-invert-captions":g.slate[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.slate[600],"--tw-prose-invert-td-borders":g.slate[700]}},gray:{css:{"--tw-prose-body":g.gray[700],"--tw-prose-headings":g.gray[900],"--tw-prose-lead":g.gray[600],"--tw-prose-links":g.gray[900],"--tw-prose-bold":g.gray[900],"--tw-prose-counters":g.gray[500],"--tw-prose-bullets":g.gray[300],"--tw-prose-hr":g.gray[200],"--tw-prose-quotes":g.gray[900],"--tw-prose-quote-borders":g.gray[200],"--tw-prose-captions":g.gray[500],"--tw-prose-kbd":g.gray[900],"--tw-prose-kbd-shadows":Ue(g.gray[900]),"--tw-prose-code":g.gray[900],"--tw-prose-pre-code":g.gray[200],"--tw-prose-pre-bg":g.gray[800],"--tw-prose-th-borders":g.gray[300],"--tw-prose-td-borders":g.gray[200],"--tw-prose-invert-body":g.gray[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.gray[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.gray[400],"--tw-prose-invert-bullets":g.gray[600],"--tw-prose-invert-hr":g.gray[700],"--tw-prose-invert-quotes":g.gray[100],"--tw-prose-invert-quote-borders":g.gray[700],"--tw-prose-invert-captions":g.gray[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.gray[600],"--tw-prose-invert-td-borders":g.gray[700]}},zinc:{css:{"--tw-prose-body":g.zinc[700],"--tw-prose-headings":g.zinc[900],"--tw-prose-lead":g.zinc[600],"--tw-prose-links":g.zinc[900],"--tw-prose-bold":g.zinc[900],"--tw-prose-counters":g.zinc[500],"--tw-prose-bullets":g.zinc[300],"--tw-prose-hr":g.zinc[200],"--tw-prose-quotes":g.zinc[900],"--tw-prose-quote-borders":g.zinc[200],"--tw-prose-captions":g.zinc[500],"--tw-prose-kbd":g.zinc[900],"--tw-prose-kbd-shadows":Ue(g.zinc[900]),"--tw-prose-code":g.zinc[900],"--tw-prose-pre-code":g.zinc[200],"--tw-prose-pre-bg":g.zinc[800],"--tw-prose-th-borders":g.zinc[300],"--tw-prose-td-borders":g.zinc[200],"--tw-prose-invert-body":g.zinc[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.zinc[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.zinc[400],"--tw-prose-invert-bullets":g.zinc[600],"--tw-prose-invert-hr":g.zinc[700],"--tw-prose-invert-quotes":g.zinc[100],"--tw-prose-invert-quote-borders":g.zinc[700],"--tw-prose-invert-captions":g.zinc[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.zinc[600],"--tw-prose-invert-td-borders":g.zinc[700]}},neutral:{css:{"--tw-prose-body":g.neutral[700],"--tw-prose-headings":g.neutral[900],"--tw-prose-lead":g.neutral[600],"--tw-prose-links":g.neutral[900],"--tw-prose-bold":g.neutral[900],"--tw-prose-counters":g.neutral[500],"--tw-prose-bullets":g.neutral[300],"--tw-prose-hr":g.neutral[200],"--tw-prose-quotes":g.neutral[900],"--tw-prose-quote-borders":g.neutral[200],"--tw-prose-captions":g.neutral[500],"--tw-prose-kbd":g.neutral[900],"--tw-prose-kbd-shadows":Ue(g.neutral[900]),"--tw-prose-code":g.neutral[900],"--tw-prose-pre-code":g.neutral[200],"--tw-prose-pre-bg":g.neutral[800],"--tw-prose-th-borders":g.neutral[300],"--tw-prose-td-borders":g.neutral[200],"--tw-prose-invert-body":g.neutral[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.neutral[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.neutral[400],"--tw-prose-invert-bullets":g.neutral[600],"--tw-prose-invert-hr":g.neutral[700],"--tw-prose-invert-quotes":g.neutral[100],"--tw-prose-invert-quote-borders":g.neutral[700],"--tw-prose-invert-captions":g.neutral[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.neutral[600],"--tw-prose-invert-td-borders":g.neutral[700]}},stone:{css:{"--tw-prose-body":g.stone[700],"--tw-prose-headings":g.stone[900],"--tw-prose-lead":g.stone[600],"--tw-prose-links":g.stone[900],"--tw-prose-bold":g.stone[900],"--tw-prose-counters":g.stone[500],"--tw-prose-bullets":g.stone[300],"--tw-prose-hr":g.stone[200],"--tw-prose-quotes":g.stone[900],"--tw-prose-quote-borders":g.stone[200],"--tw-prose-captions":g.stone[500],"--tw-prose-kbd":g.stone[900],"--tw-prose-kbd-shadows":Ue(g.stone[900]),"--tw-prose-code":g.stone[900],"--tw-prose-pre-code":g.stone[200],"--tw-prose-pre-bg":g.stone[800],"--tw-prose-th-borders":g.stone[300],"--tw-prose-td-borders":g.stone[200],"--tw-prose-invert-body":g.stone[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.stone[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.stone[400],"--tw-prose-invert-bullets":g.stone[600],"--tw-prose-invert-hr":g.stone[700],"--tw-prose-invert-quotes":g.stone[100],"--tw-prose-invert-quote-borders":g.stone[700],"--tw-prose-invert-captions":g.stone[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.stone[600],"--tw-prose-invert-td-borders":g.stone[700]}},red:{css:{"--tw-prose-links":g.red[600],"--tw-prose-invert-links":g.red[500]}},orange:{css:{"--tw-prose-links":g.orange[600],"--tw-prose-invert-links":g.orange[500]}},amber:{css:{"--tw-prose-links":g.amber[600],"--tw-prose-invert-links":g.amber[500]}},yellow:{css:{"--tw-prose-links":g.yellow[600],"--tw-prose-invert-links":g.yellow[500]}},lime:{css:{"--tw-prose-links":g.lime[600],"--tw-prose-invert-links":g.lime[500]}},green:{css:{"--tw-prose-links":g.green[600],"--tw-prose-invert-links":g.green[500]}},emerald:{css:{"--tw-prose-links":g.emerald[600],"--tw-prose-invert-links":g.emerald[500]}},teal:{css:{"--tw-prose-links":g.teal[600],"--tw-prose-invert-links":g.teal[500]}},cyan:{css:{"--tw-prose-links":g.cyan[600],"--tw-prose-invert-links":g.cyan[500]}},sky:{css:{"--tw-prose-links":g.sky[600],"--tw-prose-invert-links":g.sky[500]}},blue:{css:{"--tw-prose-links":g.blue[600],"--tw-prose-invert-links":g.blue[500]}},indigo:{css:{"--tw-prose-links":g.indigo[600],"--tw-prose-invert-links":g.indigo[500]}},violet:{css:{"--tw-prose-links":g.violet[600],"--tw-prose-invert-links":g.violet[500]}},purple:{css:{"--tw-prose-links":g.purple[600],"--tw-prose-invert-links":g.purple[500]}},fuchsia:{css:{"--tw-prose-links":g.fuchsia[600],"--tw-prose-invert-links":g.fuchsia[500]}},pink:{css:{"--tw-prose-links":g.pink[600],"--tw-prose-invert-links":g.pink[500]}},rose:{css:{"--tw-prose-links":g.rose[600],"--tw-prose-invert-links":g.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};var Us={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderInlineStartWidth:"0.25rem",borderInlineStartColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",marginTop:c(32,16),marginBottom:c(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"th, td":{textAlign:"start"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},tr.gray.css,...tr.base.css]},...tr},Zs="[object Object]";function Ys(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Xs(t,e){return function(r){return t(e(r))}}var Qs=Function.prototype,Rn=Object.prototype,Hn=Qs.toString,Vs=Rn.hasOwnProperty,Ks=Hn.call(Object),Js=Rn.toString,ea=Xs(Object.getPrototypeOf,Object);function ta(t){return!!t&&typeof t=="object"}function ra(t){if(!ta(t)||Js.call(t)!=Zs||Ys(t))return!1;var e=ea(t);if(e===null)return!0;var r=Vs.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Hn.call(r)==Ks}var na=ra,rr={exports:{}},nr={exports:{}},ir={exports:{}},sr={exports:{}},ar={exports:{}},or={exports:{}},Fe={},lr={exports:{}};(function(t,e){e.__esModule=!0,e.default=i;function r(o){for(var s=o.toLowerCase(),u="",a=!1,l=0;l<6&&s[l]!==void 0;l++){var d=s.charCodeAt(l),p=d>=97&&d<=102||d>=48&&d<=57;if(a=d===32,!p)break;u+=s[l]}if(u.length!==0){var m=parseInt(u,16),C=m>=55296&&m<=57343;return C||m===0||m>1114111?["�",u.length+(a?1:0)]:[String.fromCodePoint(m),u.length+(a?1:0)]}}var n=/\\/;function i(o){var s=n.test(o);if(!s)return o;for(var u="",a=0;a<o.length;a++){if(o[a]==="\\"){var l=r(o.slice(a+1,a+7));if(l!==void 0){u+=l[0],a+=l[1];continue}if(o[a+1]==="\\"){u+="\\",a++;continue}o.length===a+1&&(u+=o[a]);continue}u+=o[a]}return u}t.exports=e.default})(lr,lr.exports);var Nn=lr.exports,cr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(;o.length>0;){var u=o.shift();if(!n[u])return;n=n[u]}return n}t.exports=e.default})(cr,cr.exports);var ia=cr.exports,ur={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(;o.length>0;){var u=o.shift();n[u]||(n[u]={}),n=n[u]}}t.exports=e.default})(ur,ur.exports);var sa=ur.exports,dr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i="",o=n.indexOf("/*"),s=0;o>=0;){i=i+n.slice(s,o);var u=n.indexOf("*/",o+2);if(u<0)return i;s=u+2,o=n.indexOf("/*",s)}return i=i+n.slice(s),i}t.exports=e.default})(dr,dr.exports);var aa=dr.exports;Fe.__esModule=!0,Fe.stripComments=Fe.ensureObject=Fe.getProp=Fe.unesc=void 0;var oa=Dt(Nn);Fe.unesc=oa.default;var la=Dt(ia);Fe.getProp=la.default;var ca=Dt(sa);Fe.ensureObject=ca.default;var ua=Dt(aa);Fe.stripComments=ua.default;function Dt(t){return t&&t.__esModule?t:{default:t}}(function(t,e){e.__esModule=!0,e.default=void 0;var r=Fe;function n(u,a){for(var l=0;l<a.length;l++){var d=a[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}function i(u,a,l){return a&&n(u.prototype,a),l&&n(u,l),u}var o=function u(a,l){if(typeof a!="object"||a===null)return a;var d=new a.constructor;for(var p in a)if(a.hasOwnProperty(p)){var m=a[p],C=typeof m;p==="parent"&&C==="object"?l&&(d[p]=l):m instanceof Array?d[p]=m.map(function(x){return u(x,d)}):d[p]=u(m,d)}return d},s=function(){function u(l){l===void 0&&(l={}),Object.assign(this,l),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var a=u.prototype;return a.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},a.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},a.next=function(){return this.parent.at(this.parent.index(this)+1)},a.prev=function(){return this.parent.at(this.parent.index(this)-1)},a.clone=function(d){d===void 0&&(d={});var p=o(this);for(var m in d)p[m]=d[m];return p},a.appendToPropertyAndEscape=function(d,p,m){this.raws||(this.raws={});var C=this[d],x=this.raws[d];this[d]=C+p,x||m!==p?this.raws[d]=(x||C)+m:delete this.raws[d]},a.setPropertyAndEscape=function(d,p,m){this.raws||(this.raws={}),this[d]=p,this.raws[d]=m},a.setPropertyWithoutEscape=function(d,p){this[d]=p,this.raws&&delete this.raws[d]},a.isAtPosition=function(d,p){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>p||this.source.end.line===d&&this.source.end.column<p)},a.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},a.valueToString=function(){return String(this.stringifyProperty("value"))},a.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(u,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),u}();e.default=s,t.exports=e.default})(or,or.exports);var rt=or.exports,de={};de.__esModule=!0,de.UNIVERSAL=de.ATTRIBUTE=de.CLASS=de.COMBINATOR=de.COMMENT=de.ID=de.NESTING=de.PSEUDO=de.ROOT=de.SELECTOR=de.STRING=de.TAG=void 0;var da="tag";de.TAG=da;var ha="string";de.STRING=ha;var fa="selector";de.SELECTOR=fa;var pa="root";de.ROOT=pa;var ma="pseudo";de.PSEUDO=ma;var ga="nesting";de.NESTING=ga;var va="id";de.ID=va;var _a="comment";de.COMMENT=_a;var ya="combinator";de.COMBINATOR=ya;var Ca="class";de.CLASS=Ca;var ba="attribute";de.ATTRIBUTE=ba;var xa="universal";de.UNIVERSAL=xa,function(t,e){e.__esModule=!0,e.default=void 0;var r=s(rt),n=o(de);function i(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return i=function(){return h},h}function o(h){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var y=i();if(y&&y.has(h))return y.get(h);var E={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in h)if(Object.prototype.hasOwnProperty.call(h,S)){var A=P?Object.getOwnPropertyDescriptor(h,S):null;A&&(A.get||A.set)?Object.defineProperty(E,S,A):E[S]=h[S]}return E.default=h,y&&y.set(h,E),E}function s(h){return h&&h.__esModule?h:{default:h}}function u(h,y){var E;if(typeof Symbol=="undefined"||h[Symbol.iterator]==null){if(Array.isArray(h)||(E=a(h))||y&&h&&typeof h.length=="number"){E&&(h=E);var P=0;return function(){return P>=h.length?{done:!0}:{done:!1,value:h[P++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ (function(G,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("vue"),require("hls.js"),require("d3"),require("moment-timezone"),require("remark-gfm"),require("remark-parse"),require("remark-rehype"),require("remark-breaks"),require("rehype-stringify"),require("unist-util-visit"),require("unified"),require("morphdom")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","d3","moment-timezone","remark-gfm","remark-parse","remark-rehype","remark-breaks","rehype-stringify","unist-util-visit","unified","morphdom"],N):(G=typeof globalThis!="undefined"?globalThis:G||self,N(G.EvercamUI={},G.Vue,G.Hls,G.d3,G.moment,G.remarkGfm,G.remarkParse,G.remarkRehype,G.remarkBreaks,G.rehypeStringify,G.unistUtilVisit,G.unified,G.morphdom))})(this,function(G,N,at,Cs,Se,bs,xs,ws,mn,Ss,Ts,ks,Ms){var Ki,Ji,es,ts,rs,ns,is,ss;"use strict";function Es(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}function gn(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const M=Es(Cs);var J=(t=>(t.Dot="dot",t.TwoXs="2xs",t.Xs="xs",t.Sm="sm",t.Md="base",t.Base="base",t.Lg="lg",t.Xl="xl",t.TwoXl="2xl",t.ThreeXl="3xl",t.FourXl="4xl",t.FiveX1="5xl",t.SixXl="6xl",t.SevenXl="7xl",t.EightXl="8xl",t.NineXl="9xl",t))(J||{}),ae=(t=>(t.Warning="warning",t.Error="error",t.Info="info",t.Success="success",t.Primary="primary",t.Brand="brand",t.Default="default",t.Gray="gray",t))(ae||{}),tt=(t=>(t.Overview="overview",t.Detailed="detailed",t.DetailedBackground="detailedBackground",t))(tt||{}),Qe=(t=>(t.Bars="bars",t.Dots="dots",t.LineGraph="lineGraph",t.BarChart="barGraph",t.Milestones="milestones",t))(Qe||{}),St=(t=>(t.Zoom="zoom",t.AutoPan="autoPan",t.Initial="initial",t))(St||{}),vn=(t=>(t.ThreeSixty="360",t.FourEighty="480",t.SevenTwenty="720",t.OneZeroEightZero="1080",t.Auto="auto",t))(vn||{}),Oe=(t=>(t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left",t))(Oe||{}),qe=(t=>(t.System="system",t.Copilot="copilot",t.User="user",t))(qe||{}),jt=(t=>(t.Text="text",t.Error="error",t.Json="json",t))(jt||{}),Wt=(t=>(t.Positive="positive",t.Negative="negative",t))(Wt||{});const $s=N.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:ae.Default},size:{type:String,default:J.Base}},data(){return{colors:{[ae.Error]:"e-bg-rose-500 e-text-white",[ae.Info]:"e-bg-cyan-500 e-text-white",[ae.Warning]:"e-bg-amber-500 e-text-white",[ae.Primary]:"e-bg-sky-500 e-text-white",[ae.Default]:"e-bg-slate-300 e-text-white",[ae.Success]:"e-bg-lime-500 e-text-white"},sizes:{[J.Dot]:"e-w-2 e-h-2",[J.Xs]:"e-w-3 e-h-3",[J.Sm]:"e-w-4 e-h-4",[J.Md]:"e-w-5 e-h-5",[J.Lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[J.Xl]:"e-min-w-[3rem] e-max-w-[5rem] e-px-1 e-h-8 e-text-base e-font-medium"}}},computed:{badgeClasses(){const t=this.colors[this.color]||this.colors[ae.Default],e=this.sizes[this.size]||this.sizes[J.Md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[J.Lg,J.Xl].includes(this.size)}}});function W(t,e,r,n,i,o,s,u){var a=typeof t=="function"?t.options:t;e&&(a.render=e,a.staticRenderFns=r,a._compiled=!0),n&&(a.functional=!0),o&&(a._scopeId="data-v-"+o);var l;if(s?(l=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(m=__VUE_SSR_CONTEXT__),i&&i.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(s)},a._ssrRegister=l):i&&(l=u?function(){i.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(a.functional){a._injectStyles=l;var d=a.render;a.render=function(C,x){return l.call(x),d(C,x)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:a}}var Ls=function(){var e=this,r=e._self._c;return r("span",{staticClass:"e-badge",class:e.badgeClasses},[e.showText?r("span",[e._v(e._s(e.text))]):e._e()])},Ds=[],Ps=W($s,Ls,Ds,!1,null,null,null,null);const Gt=Ps.exports,Os=N.extend({name:"EAvatar",components:{Badge:Gt},props:{size:{type:String,default:J.Md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:ae.Error},badgeText:{type:String,default:""},badgeSize:{type:String,default:J.Md},image:{type:String,default:""},backgroundClasses:{type:String,default:"e-bg-gradient-to-r e-from-purple-500 e-to-indigo-500"}},data(){return{sizes:{[J.TwoXs]:"e-w-6 e-h-6 e-text-xs",[J.Xs]:"e-w-8 e-h-8 e-text-xs",[J.Sm]:"e-w-10 e-h-10 e-text-sm",[J.Md]:"e-w-14 e-h-14 e-text-base",[J.Lg]:"e-w-20 e-h-20 e-text-2xl",[J.Xl]:"e-w-28 e-h-28 e-text-3xl",[J.TwoXl]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){const t=this.sizes[this.size]||this.sizes[J.Xs],e=this.image?"e-rounded-full e-overflow-hidden":"";return["e-flex e-items-center e-justify-center e-rounded-full e-text-white e-font-medium",t,e,this.backgroundClasses]}}});var zs=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-avatar e-relative",class:e.avatarClasses},[e._t("default",function(){return[e.image?r("img",{staticClass:"e-avatar__image e-w-full e-h-full e-object-cover",attrs:{src:e.image}}):e._e()]}),e.showBadge?r("div",{staticClass:"e-avatar__badge e-absolute e-top-0 e-right-0"},[e._t("badge",function(){return[r("Badge",{attrs:{text:e.badgeText,color:e.badgeColor,size:e.badgeSize}})]})],2):e._e()],2)},Bs=[],Is=W(Os,zs,Bs,!1,null,null,null,null);const Tt=Is.exports;var ot=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function kt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var _n={},yn={},qt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))return r.replace(/^[+-]?/,i=>i==="-"?"":"-");let n=["var","calc","min","max","clamp"];for(const i of n)if(r.includes(`${i}(`))return`calc(${r} * -1)`}})(qt);var Cn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});const e=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]})(Cn);var bn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r,n){return r===void 0?n:Array.isArray(r)?r:[...new Set(n.filter(o=>r!==!1&&r[o]!==!1).concat(Object.keys(r).filter(o=>r[o]!==!1)))]}})(bn);var Ut={},Mt={},Zt={exports:{}},Ce=String,xn=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce}};Zt.exports=xn(),Zt.exports.createColors=xn;var wn=Zt.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,l){for(var d in l)Object.defineProperty(a,d,{enumerable:!0,get:l[d]})}e(t,{dim:function(){return s},default:function(){return u}});const r=n(wn);function n(a){return a&&a.__esModule?a:{default:a}}let i=new Set;function o(a,l,d){typeof process!="undefined"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),l.forEach(p=>console.warn(a,"-",p)))}function s(a){return r.default.dim(a)}const u={info(a,l){o(r.default.bold(r.default.cyan("info")),...Array.isArray(a)?[a]:[l,a])},warn(a,l){o(r.default.bold(r.default.yellow("warn")),...Array.isArray(a)?[a]:[l,a])},risk(a,l){o(r.default.bold(r.default.magenta("risk")),...Array.isArray(a)?[a]:[l,a])}}})(Mt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(Mt);function r(o){return o&&o.__esModule?o:{default:o}}function n({version:o,from:s,to:u}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${o}, \`${s}\` has been renamed to \`${u}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(Ut);var Sn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return e}});function e(r,...n){for(let s of n){for(let u in s){var i;!(r==null||(i=r.hasOwnProperty)===null||i===void 0)&&i.call(r,u)||(r[u]=s[u])}for(let u of Object.getOwnPropertySymbols(s)){var o;!(r==null||(o=r.hasOwnProperty)===null||o===void 0)&&o.call(r,u)||(r[u]=s[u])}}return r}})(Sn);var Tn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return e}});function e(r){if(Array.isArray(r))return r;let n=r.split("[").length-1,i=r.split("]").length-1;if(n!==i)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(Tn);var kn={},Et={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(p,m){for(var C in m)Object.defineProperty(p,C,{enumerable:!0,get:m[C]})}e(t,{flagEnabled:function(){return u},issueFlagNotices:function(){return l},default:function(){return d}});const r=i(wn),n=i(Mt);function i(p){return p&&p.__esModule?p:{default:p}}let o={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},s={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function u(p,m){if(s.future.includes(m)){var C,x,h;return p.future==="all"||((h=(x=p==null||(C=p.future)===null||C===void 0?void 0:C[m])!==null&&x!==void 0?x:o[m])!==null&&h!==void 0?h:!1)}if(s.experimental.includes(m)){var y,E,P;return p.experimental==="all"||((P=(E=p==null||(y=p.experimental)===null||y===void 0?void 0:y[m])!==null&&E!==void 0?E:o[m])!==null&&P!==void 0?P:!1)}return!1}function a(p){if(p.experimental==="all")return s.experimental;var m;return Object.keys((m=p==null?void 0:p.experimental)!==null&&m!==void 0?m:{}).filter(C=>s.experimental.includes(C)&&p.experimental[C])}function l(p){if(process.env.JEST_WORKER_ID===void 0&&a(p).length>0){let m=a(p).map(C=>r.default.yellow(C)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${m}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=s})(Et),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return o}});const e=Et,r=i(Mt);function n(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,a=new WeakMap;return(n=function(l){return l?a:u})(s)}function i(s,u){if(!u&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var a=n(u);if(a&&a.has(s))return a.get(s);var l={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in s)if(p!=="default"&&Object.prototype.hasOwnProperty.call(s,p)){var m=d?Object.getOwnPropertyDescriptor(s,p):null;m&&(m.get||m.set)?Object.defineProperty(l,p,m):l[p]=s[p]}return l.default=s,a&&a.set(s,l),l}function o(s){if((()=>{if(s.purge||!s.content||!Array.isArray(s.content)&&!(typeof s.content=="object"&&s.content!==null))return!1;if(Array.isArray(s.content))return s.content.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string"));if(typeof s.content=="object"&&s.content!==null){if(Object.keys(s.content).some(l=>!["files","relative","extract","transform"].includes(l)))return!1;if(Array.isArray(s.content.files)){if(!s.content.files.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string")))return!1;if(typeof s.content.extract=="object"){for(let l of Object.values(s.content.extract))if(typeof l!="function")return!1}else if(!(s.content.extract===void 0||typeof s.content.extract=="function"))return!1;if(typeof s.content.transform=="object"){for(let l of Object.values(s.content.transform))if(typeof l!="function")return!1}else if(!(s.content.transform===void 0||typeof s.content.transform=="function"))return!1;if(typeof s.content.relative!="boolean"&&typeof s.content.relative!="undefined")return!1}return!0}return!1})()||r.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),s.safelist=(()=>{var l;let{content:d,purge:p,safelist:m}=s;return Array.isArray(m)?m:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(p==null?void 0:p.safelist)?p.safelist:Array.isArray(p==null||(l=p.options)===null||l===void 0?void 0:l.safelist)?p.options.safelist:[]})(),s.blocklist=(()=>{let{blocklist:l}=s;if(Array.isArray(l)){if(l.every(d=>typeof d=="string"))return l;r.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof s.prefix=="function")r.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),s.prefix="";else{var a;s.prefix=(a=s.prefix)!==null&&a!==void 0?a:""}s.content={relative:(()=>{let{content:l}=s;return l!=null&&l.relative?l.relative:(0,e.flagEnabled)(s,"relativeContentPathsByDefault")})(),files:(()=>{let{content:l,purge:d}=s;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(l)?l:Array.isArray(l==null?void 0:l.content)?l.content:Array.isArray(l==null?void 0:l.files)?l.files:[]})(),extract:(()=>{let l=(()=>{var m,C,x,h,y,E,P,S,A,$;return!((m=s.purge)===null||m===void 0)&&m.extract?s.purge.extract:!((C=s.content)===null||C===void 0)&&C.extract?s.content.extract:!((x=s.purge)===null||x===void 0||(h=x.extract)===null||h===void 0)&&h.DEFAULT?s.purge.extract.DEFAULT:!((y=s.content)===null||y===void 0||(E=y.extract)===null||E===void 0)&&E.DEFAULT?s.content.extract.DEFAULT:!((P=s.purge)===null||P===void 0||(S=P.options)===null||S===void 0)&&S.extractors?s.purge.options.extractors:!((A=s.content)===null||A===void 0||($=A.options)===null||$===void 0)&&$.extractors?s.content.options.extractors:{}})(),d={},p=(()=>{var m,C,x,h;if(!((m=s.purge)===null||m===void 0||(C=m.options)===null||C===void 0)&&C.defaultExtractor)return s.purge.options.defaultExtractor;if(!((x=s.content)===null||x===void 0||(h=x.options)===null||h===void 0)&&h.defaultExtractor)return s.content.options.defaultExtractor})();if(p!==void 0&&(d.DEFAULT=p),typeof l=="function")d.DEFAULT=l;else if(Array.isArray(l))for(let{extensions:m,extractor:C}of l!=null?l:[])for(let x of m)d[x]=C;else typeof l=="object"&&l!==null&&Object.assign(d,l);return d})(),transform:(()=>{let l=(()=>{var p,m,C,x,h,y;return!((p=s.purge)===null||p===void 0)&&p.transform?s.purge.transform:!((m=s.content)===null||m===void 0)&&m.transform?s.content.transform:!((C=s.purge)===null||C===void 0||(x=C.transform)===null||x===void 0)&&x.DEFAULT?s.purge.transform.DEFAULT:!((h=s.content)===null||h===void 0||(y=h.transform)===null||y===void 0)&&y.DEFAULT?s.content.transform.DEFAULT:{}})(),d={};return typeof l=="function"?d.DEFAULT=l:typeof l=="object"&&l!==null&&Object.assign(d,l),d})()};for(let l of s.content.files)if(typeof l=="string"&&/{([^,]*?)}/g.test(l)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(l)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(l.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return s}}(kn);var Mn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const n=Object.getPrototypeOf(r);return n===null||Object.getPrototypeOf(n)===null}})(Mn);var En={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return e}});function e(r){return Array.isArray(r)?r.map(n=>e(n)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([n,i])=>[n,e(i)])):r}})(En);var $n={},Ln={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){return r.replace(/\\,/g,"\\2c ")}})(Ln);var Yt={},Xt={},Dn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});const e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}})(Dn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(x,h){for(var y in h)Object.defineProperty(x,y,{enumerable:!0,get:h[y]})}e(t,{parseColor:function(){return m},formatColor:function(){return C}});const r=n(Dn);function n(x){return x&&x.__esModule?x:{default:x}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,o=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,s=/(?:\d+|\d*\.\d+)%?/,u=/(?:\s*,\s*|\s+)/,a=/\s*[,/]\s*/,l=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=new RegExp(`^(rgba?)\\(\\s*(${s.source}|${l.source})(?:${u.source}(${s.source}|${l.source}))?(?:${u.source}(${s.source}|${l.source}))?(?:${a.source}(${s.source}|${l.source}))?\\s*\\)$`),p=new RegExp(`^(hsla?)\\(\\s*((?:${s.source})(?:deg|rad|grad|turn)?|${l.source})(?:${u.source}(${s.source}|${l.source}))?(?:${u.source}(${s.source}|${l.source}))?(?:${a.source}(${s.source}|${l.source}))?\\s*\\)$`);function m(x,{loose:h=!1}={}){var y,E;if(typeof x!="string")return null;if(x=x.trim(),x==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(x in r.default)return{mode:"rgb",color:r.default[x].map(H=>H.toString())};let P=x.replace(o,(H,K,U,b,z)=>["#",K,K,U,U,b,b,z?z+z:""].join("")).match(i);if(P!==null)return{mode:"rgb",color:[parseInt(P[1],16),parseInt(P[2],16),parseInt(P[3],16)].map(H=>H.toString()),alpha:P[4]?(parseInt(P[4],16)/255).toString():void 0};var S;let A=(S=x.match(d))!==null&&S!==void 0?S:x.match(p);if(A===null)return null;let $=[A[2],A[3],A[4]].filter(Boolean).map(H=>H.toString());return $.length===2&&$[0].startsWith("var(")?{mode:A[1],color:[$[0]],alpha:$[1]}:!h&&$.length!==3||$.length<3&&!$.some(H=>/^var\(.*?\)$/.test(H))?null:{mode:A[1],color:$,alpha:(y=A[5])===null||y===void 0||(E=y.toString)===null||E===void 0?void 0:E.call(y)}}function C({mode:x,color:h,alpha:y}){let E=y!==void 0;return x==="rgba"||x==="hsla"?`${x}(${h.join(", ")}${E?`, ${y}`:""})`:`${x}(${h.join(" ")}${E?` / ${y}`:""})`}}(Xt),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,s){for(var u in s)Object.defineProperty(o,u,{enumerable:!0,get:s[u]})}e(t,{withAlphaValue:function(){return n},default:function(){return i}});const r=Xt;function n(o,s,u){if(typeof o=="function")return o({opacityValue:s});let a=(0,r.parseColor)(o,{loose:!0});return a===null?u:(0,r.formatColor)({...a,alpha:s})}function i({color:o,property:s,variable:u}){let a=[].concat(s);if(typeof o=="function")return{[u]:"1",...Object.fromEntries(a.map(d=>[d,o({opacityVariable:u,opacityValue:`var(${u})`})]))};const l=(0,r.parseColor)(o);return l===null?Object.fromEntries(a.map(d=>[d,o])):l.alpha!==void 0?Object.fromEntries(a.map(d=>[d,o])):{[u]:"1",...Object.fromEntries(a.map(d=>[d,(0,r.formatColor)({...l,alpha:`var(${u})`})]))}}}(Yt);var Qt={},Pn={},$t={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let i=[],o=[],s=0,u=!1;for(let a=0;a<r.length;a++){let l=r[a];i.length===0&&l===n[0]&&!u&&(n.length===1||r.slice(a,a+n.length)===n)&&(o.push(r.slice(s,a)),s=a+n.length),u=u?!1:l==="\\",l==="("||l==="["||l==="{"?i.push(l):(l===")"&&i[i.length-1]==="("||l==="]"&&i[i.length-1]==="["||l==="}"&&i[i.length-1]==="{")&&i.pop()}return o.push(r.slice(s)),o}})($t),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,l){for(var d in l)Object.defineProperty(a,d,{enumerable:!0,get:l[d]})}e(t,{parseBoxShadowValue:function(){return s},formatBoxShadowValue:function(){return u}});const r=$t;let n=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,o=/^-?(\d+|\.\d+)(.*?)$/g;function s(a){return(0,r.splitAtTopLevelOnly)(a,",").map(d=>{let p=d.trim(),m={raw:p},C=p.split(i),x=new Set;for(let h of C)o.lastIndex=0,!x.has("KEYWORD")&&n.has(h)?(m.keyword=h,x.add("KEYWORD")):o.test(h)?x.has("X")?x.has("Y")?x.has("BLUR")?x.has("SPREAD")||(m.spread=h,x.add("SPREAD")):(m.blur=h,x.add("BLUR")):(m.y=h,x.add("Y")):(m.x=h,x.add("X")):m.color?(m.unknown||(m.unknown=[]),m.unknown.push(h)):m.color=h;return m.valid=m.x!==void 0&&m.y!==void 0,m})}function u(a){return a.map(l=>l.valid?[l.keyword,l.x,l.y,l.blur,l.spread,l.color].filter(Boolean).join(" "):l.raw).join(", ")}}(Pn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(O,R){for(var ie in R)Object.defineProperty(O,ie,{enumerable:!0,get:R[ie]})}e(t,{normalize:function(){return a},normalizeAttributeSelectors:function(){return l},url:function(){return p},number:function(){return m},percentage:function(){return C},length:function(){return y},lineWidth:function(){return P},shadow:function(){return S},color:function(){return A},image:function(){return $},gradient:function(){return K},position:function(){return b},familyName:function(){return z},genericName:function(){return D},absoluteSize:function(){return Q},relativeSize:function(){return T}});const r=Xt,n=Pn,i=$t;let o=["min","max","clamp","calc"];function s(O){return o.some(R=>new RegExp(`^${R}\\(.*\\)`).test(O))}const u=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function a(O,R=null,ie=!0){let _=R&&u.has(R.property);return O.startsWith("--")&&!_?`var(${O})`:O.includes("url(")?O.split(/(url\(.*?\))/g).filter(Boolean).map(Z=>/^url\(.*?\)$/.test(Z)?Z:a(Z,R,!1)).join(""):(O=O.replace(/([^\\])_+/g,(Z,F)=>F+" ".repeat(Z.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),ie&&(O=O.trim()),O=d(O),O)}function l(O){return O.includes("=")&&(O=O.replace(/(=.*)/g,(R,ie)=>{if(ie[1]==="'"||ie[1]==='"')return ie;if(ie.length>2){let _=ie[ie.length-1];if(ie[ie.length-2]===" "&&(_==="i"||_==="I"||_==="s"||_==="S"))return`="${ie.slice(1,-2)}" ${ie[ie.length-1]}`}return`="${ie.slice(1)}"`})),O}function d(O){let R=["theme"],ie=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient"];return O.replace(/(calc|min|max|clamp)\(.+\)/g,_=>{let Z="";function F(){let B=Z.trimEnd();return B[B.length-1]}for(let B=0;B<_.length;B++){let w=function(L){return L.split("").every((ne,ue)=>_[B+ue]===ne)},j=function(L){let ne=1/0;for(let ce of L){let se=_.indexOf(ce,B);se!==-1&&se<ne&&(ne=se)}let ue=_.slice(B,ne);return B+=ue.length-1,ue},V=_[B];if(w("var"))Z+=j([")",","]);else if(ie.some(L=>w(L))){let L=ie.find(ne=>w(ne));Z+=L,B+=L.length-1}else R.some(L=>w(L))?Z+=j([")"]):w("[")?Z+=j(["]"]):["+","-","*","/"].includes(V)&&!["(","+","-","*","/",","].includes(F())?Z+=` ${V} `:Z+=V}return Z.replace(/\s+/g," ")})}function p(O){return O.startsWith("url(")}function m(O){return!isNaN(Number(O))||s(O)}function C(O){return O.endsWith("%")&&m(O.slice(0,-1))||s(O)}let h=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})`;function y(O){return O==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${h}$`).test(O)||s(O)}let E=new Set(["thin","medium","thick"]);function P(O){return E.has(O)}function S(O){let R=(0,n.parseBoxShadowValue)(a(O));for(let ie of R)if(!ie.valid)return!1;return!0}function A(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,"_").every(_=>(_=a(_),_.startsWith("var(")?!0:(0,r.parseColor)(_,{loose:!0})!==null?(R++,!0):!1))?R>0:!1}function $(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,",").every(_=>(_=a(_),_.startsWith("var(")?!0:p(_)||K(_)||["element(","image(","cross-fade(","image-set("].some(Z=>_.startsWith(Z))?(R++,!0):!1))?R>0:!1}let H=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(O){O=a(O);for(let R of H)if(O.startsWith(`${R}(`))return!0;return!1}let U=new Set(["center","top","right","bottom","left"]);function b(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,"_").every(_=>(_=a(_),_.startsWith("var(")?!0:U.has(_)||y(_)||C(_)?(R++,!0):!1))?R>0:!1}function z(O){let R=0;return(0,i.splitAtTopLevelOnly)(O,",").every(_=>(_=a(_),_.startsWith("var(")?!0:_.includes(" ")&&!/(['"])([^"']+)\1/g.test(_)||/^\d/g.test(_)?!1:(R++,!0)))?R>0:!1}let q=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function D(O){return q.has(O)}let X=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function Q(O){return X.has(O)}let I=new Set(["larger","smaller"]);function T(O){return I.has(O)}}(Qt);var On={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=Qt,r=$t;function n(i){let o=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(s=>{let u=(0,r.splitAtTopLevelOnly)(s,"_").filter(Boolean);return u.length===1&&o.includes(u[0])?!0:u.length!==1&&u.length!==2?!1:u.every(a=>(0,e.length)(a)||(0,e.percentage)(a)||a==="auto")})}})(On),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(b,z){for(var q in z)Object.defineProperty(b,q,{enumerable:!0,get:z[q]})}e(t,{updateAllClasses:function(){return l},asValue:function(){return m},parseColorFormat:function(){return h},asColor:function(){return E},asLookupValue:function(){return P},typeMap:function(){return A},coerceValue:function(){return K},getMatchingTypes:function(){return U}});const r=a(Ln),n=Yt,i=Qt,o=a(qt),s=On,u=Et;function a(b){return b&&b.__esModule?b:{default:b}}function l(b,z){b.walkClasses(q=>{q.value=z(q.value),q.raws&&q.raws.value&&(q.raws.value=(0,r.default)(q.raws.value))})}function d(b,z){if(!C(b))return;let q=b.slice(1,-1);if(z(q))return(0,i.normalize)(q)}function p(b,z={},q){let D=z[b];if(D!==void 0)return(0,o.default)(D);if(C(b)){let X=d(b,q);return X===void 0?void 0:(0,o.default)(X)}}function m(b,z={},{validate:q=()=>!0}={}){var D;let X=(D=z.values)===null||D===void 0?void 0:D[b];return X!==void 0?X:z.supportsNegativeValues&&b.startsWith("-")?p(b.slice(1),z.values,q):d(b,q)}function C(b){return b.startsWith("[")&&b.endsWith("]")}function x(b){let z=b.lastIndexOf("/"),q=b.lastIndexOf("[",z),D=b.indexOf("]",z);return b[z-1]==="]"||b[z+1]==="["||q!==-1&&D!==-1&&q<z&&z<D&&(z=b.lastIndexOf("/",q)),z===-1||z===b.length-1?[b,void 0]:C(b)&&!b.includes("]/[")?[b,void 0]:[b.slice(0,z),b.slice(z+1)]}function h(b){if(typeof b=="string"&&b.includes("<alpha-value>")){let z=b;return({opacityValue:q=1})=>z.replace(/<alpha-value>/g,q)}return b}function y(b){return(0,i.normalize)(b.slice(1,-1))}function E(b,z={},{tailwindConfig:q={}}={}){var D;if(((D=z.values)===null||D===void 0?void 0:D[b])!==void 0){var X;return h((X=z.values)===null||X===void 0?void 0:X[b])}let[Q,I]=x(b);if(I!==void 0){var T,O,R,ie;let _=(ie=(T=z.values)===null||T===void 0?void 0:T[Q])!==null&&ie!==void 0?ie:C(Q)?Q.slice(1,-1):void 0;return _===void 0?void 0:(_=h(_),C(I)?(0,n.withAlphaValue)(_,y(I)):((O=q.theme)===null||O===void 0||(R=O.opacity)===null||R===void 0?void 0:R[I])===void 0?void 0:(0,n.withAlphaValue)(_,q.theme.opacity[I]))}return m(b,z,{validate:i.color})}function P(b,z={}){var q;return(q=z.values)===null||q===void 0?void 0:q[b]}function S(b){return(z,q)=>m(z,q,{validate:b})}let A={any:m,color:E,url:S(i.url),image:S(i.image),length:S(i.length),percentage:S(i.percentage),position:S(i.position),lookup:P,"generic-name":S(i.genericName),"family-name":S(i.familyName),number:S(i.number),"line-width":S(i.lineWidth),"absolute-size":S(i.absoluteSize),"relative-size":S(i.relativeSize),shadow:S(i.shadow),size:S(s.backgroundSize)},$=Object.keys(A);function H(b,z){let q=b.indexOf(z);return q===-1?[void 0,b]:[b.slice(0,q),b.slice(q+1)]}function K(b,z,q,D){if(q.values&&z in q.values)for(let{type:Q}of b!=null?b:[]){let I=A[Q](z,q,{tailwindConfig:D});if(I!==void 0)return[I,Q,null]}if(C(z)){let Q=z.slice(1,-1),[I,T]=H(Q,":");if(!/^[\w-_]+$/g.test(I))T=Q;else if(I!==void 0&&!$.includes(I))return[];if(T.length>0&&$.includes(I))return[m(`[${T}]`,q),I,null]}let X=U(b,z,q,D);for(let Q of X)return Q;return[]}function*U(b,z,q,D){let X=(0,u.flagEnabled)(D,"generalizedModifiers"),[Q,I]=x(z);if(X&&q.modifiers!=null&&(q.modifiers==="any"||typeof q.modifiers=="object"&&(I&&C(I)||I in q.modifiers))||(Q=z,I=void 0),I!==void 0&&Q===""&&(Q="DEFAULT"),I!==void 0&&typeof q.modifiers=="object"){var O,R;let ie=(R=(O=q.modifiers)===null||O===void 0?void 0:O[I])!==null&&R!==void 0?R:null;ie!==null?I=ie:C(I)&&(I=y(I))}for(let{type:ie}of b!=null?b:[]){let _=A[ie](Q,q,{tailwindConfig:D});_!==void 0&&(yield[_,ie,I!=null?I:null])}}}($n);var zn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){return typeof r=="function"?r({}):r}})(zn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return q}});const e=C(qt),r=C(Cn),n=C(bn),i=C(Ut),o=Sn,s=Tn,u=kn,a=C(Mn),l=En,d=$n,p=Yt,m=C(zn);function C(D){return D&&D.__esModule?D:{default:D}}function x(D){return typeof D=="function"}function h(D,...X){let Q=X.pop();for(let I of X)for(let T in I){let O=Q(D[T],I[T]);O===void 0?(0,a.default)(D[T])&&(0,a.default)(I[T])?D[T]=h({},D[T],I[T],Q):D[T]=I[T]:D[T]=O}return D}const y={colors:i.default,negative(D){return Object.keys(D).filter(X=>D[X]!=="0").reduce((X,Q)=>{let I=(0,e.default)(D[Q]);return I!==void 0&&(X[`-${Q}`]=I),X},{})},breakpoints(D){return Object.keys(D).filter(X=>typeof D[X]=="string").reduce((X,Q)=>({...X,[`screen-${Q}`]:D[Q]}),{})}};function E(D,...X){return x(D)?D(...X):D}function P(D){return D.reduce((X,{extend:Q})=>h(X,Q,(I,T)=>I===void 0?[T]:Array.isArray(I)?[T,...I]:[T,I]),{})}function S(D){return{...D.reduce((X,Q)=>(0,o.defaults)(X,Q),{}),extend:P(D)}}function A(D,X){if(Array.isArray(D)&&(0,a.default)(D[0]))return D.concat(X);if(Array.isArray(X)&&(0,a.default)(X[0])&&(0,a.default)(D))return[D,...X];if(Array.isArray(X))return X}function $({extend:D,...X}){return h(X,D,(Q,I)=>!x(Q)&&!I.some(x)?h({},Q,...I,A):(T,O)=>h({},...[Q,...I].map(R=>E(R,T,O)),A))}function*H(D){let X=(0,s.toPath)(D);if(X.length===0||(yield X,Array.isArray(D)))return;let Q=/^(.*?)\s*\/\s*([^/]+)$/,I=D.match(Q);if(I!==null){let[,T,O]=I,R=(0,s.toPath)(T);R.alpha=O,yield R}}function K(D){const X=(Q,I)=>{for(const T of H(Q)){let O=0,R=D;for(;R!=null&&O<T.length;)R=R[T[O++]],R=x(R)&&(T.alpha===void 0||O<=T.length-1)?R(X,y):R;if(R!==void 0){if(T.alpha!==void 0){let ie=(0,d.parseColorFormat)(R);return(0,p.withAlphaValue)(ie,T.alpha,(0,m.default)(ie))}return(0,a.default)(R)?(0,l.cloneDeep)(R):R}}return I};return Object.assign(X,{theme:X,...y}),Object.keys(D).reduce((Q,I)=>(Q[I]=x(D[I])?D[I](X,y):D[I],Q),{})}function U(D){let X=[];return D.forEach(Q=>{X=[...X,Q];var I;const T=(I=Q==null?void 0:Q.plugins)!==null&&I!==void 0?I:[];T.length!==0&&T.forEach(O=>{O.__isOptionsFunction&&(O=O());var R;X=[...X,...U([(R=O==null?void 0:O.config)!==null&&R!==void 0?R:{}])]})}),X}function b(D){return[...D].reduceRight((Q,I)=>x(I)?I({corePlugins:Q}):(0,n.default)(I,Q),r.default)}function z(D){return[...D].reduceRight((Q,I)=>[...Q,...I],[])}function q(D){let X=[...U(D),{prefix:"",important:!1,separator:":"}];var Q,I;return(0,u.normalizeConfig)((0,o.defaults)({theme:K($(S(X.map(T=>(Q=T==null?void 0:T.theme)!==null&&Q!==void 0?Q:{})))),corePlugins:b(X.map(T=>T.corePlugins)),plugins:z(D.map(T=>(I=T==null?void 0:T.plugins)!==null&&I!==void 0?I:[]))},...X))}}(yn);var Bn={},Fs={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(Fs),r=Et;function n(o){return o&&o.__esModule?o:{default:o}}function i(o){var s;const u=((s=o==null?void 0:o.presets)!==null&&s!==void 0?s:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),a={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},l=Object.keys(a).filter(d=>(0,r.flagEnabled)(o,d)).map(d=>a[d]);return[o,...l,...u]}})(Bn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(yn),r=n(Bn);function n(o){return o&&o.__esModule?o:{default:o}}function i(...o){let[,...s]=(0,r.default)(o[0]);return(0,e.default)([...o,...s])}}(_n);let Vt=_n;var As=(Vt.__esModule?Vt:{default:Vt}).default;const Rs=kt(As);let Kt=Ut;var Jt=(Kt.__esModule?Kt:{default:Kt}).default;const In=kt(Jt),Hs=gn({__proto__:null,default:In},[Jt]);var Fn={},An={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function e(n,i){return{handler:n,config:i}}e.withOptions=function(n,i=()=>({})){const o=function(s){return{__options:s,handler:n(s),config:i(s)}};return o.__isOptionsFunction=!0,o.__pluginFunction=n,o.__configFunction=i,o};const r=e})(An),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const e=r(An);function r(i){return i&&i.__esModule?i:{default:i}}const n=e.default}(Fn);let er=Fn;var Ns=(er.__esModule?er:{default:er}).default,Lt={exports:{}};Lt.exports,function(t,e){var r=200,n="__lodash_hash_undefined__",i=800,o=16,s=9007199254740991,u="[object Arguments]",a="[object Array]",l="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",m="[object Error]",C="[object Function]",x="[object GeneratorFunction]",h="[object Map]",y="[object Number]",E="[object Null]",P="[object Object]",S="[object Proxy]",A="[object RegExp]",$="[object Set]",H="[object String]",K="[object Undefined]",U="[object WeakMap]",b="[object ArrayBuffer]",z="[object DataView]",q="[object Float32Array]",D="[object Float64Array]",X="[object Int8Array]",Q="[object Int16Array]",I="[object Int32Array]",T="[object Uint8Array]",O="[object Uint8ClampedArray]",R="[object Uint16Array]",ie="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,Z=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,B={};B[q]=B[D]=B[X]=B[Q]=B[I]=B[T]=B[O]=B[R]=B[ie]=!0,B[u]=B[a]=B[b]=B[d]=B[z]=B[p]=B[m]=B[C]=B[h]=B[y]=B[P]=B[A]=B[$]=B[H]=B[U]=!1;var w=typeof ot=="object"&&ot&&ot.Object===Object&&ot,j=typeof self=="object"&&self&&self.Object===Object&&self,V=w||j||Function("return this")(),L=e&&!e.nodeType&&e,ne=L&&!0&&t&&!t.nodeType&&t,ue=ne&&ne.exports===L,ce=ue&&w.process,se=function(){try{var f=ne&&ne.require&&ne.require("util").types;return f||ce&&ce.binding&&ce.binding("util")}catch{}}(),he=se&&se.isTypedArray;function Te(f,v,k){switch(k.length){case 0:return f.call(v);case 1:return f.call(v,k[0]);case 2:return f.call(v,k[0],k[1]);case 3:return f.call(v,k[0],k[1],k[2])}return f.apply(v,k)}function le(f,v){for(var k=-1,re=Array(f);++k<f;)re[k]=v(k);return re}function ye(f){return function(v){return f(v)}}function Ae(f,v){return f==null?void 0:f[v]}function Be(f,v){return function(k){return f(v(k))}}var Me=Array.prototype,ke=Function.prototype,$e=Object.prototype,Ee=V["__core-js_shared__"],Le=ke.toString,De=$e.hasOwnProperty,Je=function(){var f=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),Xe=$e.toString,lt=Le.call(Object),Ct=RegExp("^"+Le.call(De).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=ue?V.Buffer:void 0,pt=V.Symbol,Bt=V.Uint8Array,It=Ge?Ge.allocUnsafe:void 0,as=Be(Object.getPrototypeOf,Object),os=Object.create,M8=$e.propertyIsEnumerable,E8=Me.splice,ct=pt?pt.toStringTag:void 0,Ft=function(){try{var f=on(Object,"defineProperty");return f({},"",{}),f}catch{}}(),$8=Ge?Ge.isBuffer:void 0,ls=Math.max,L8=Date.now,cs=on(V,"Map"),bt=on(Object,"create"),D8=function(){function f(){}return function(v){if(!dt(v))return{};if(os)return os(v);f.prototype=v;var k=new f;return f.prototype=void 0,k}}();function ut(f){var v=-1,k=f==null?0:f.length;for(this.clear();++v<k;){var re=f[v];this.set(re[0],re[1])}}function P8(){this.__data__=bt?bt(null):{},this.size=0}function O8(f){var v=this.has(f)&&delete this.__data__[f];return this.size-=v?1:0,v}function z8(f){var v=this.__data__;if(bt){var k=v[f];return k===n?void 0:k}return De.call(v,f)?v[f]:void 0}function B8(f){var v=this.__data__;return bt?v[f]!==void 0:De.call(v,f)}function I8(f,v){var k=this.__data__;return this.size+=this.has(f)?0:1,k[f]=bt&&v===void 0?n:v,this}ut.prototype.clear=P8,ut.prototype.delete=O8,ut.prototype.get=z8,ut.prototype.has=B8,ut.prototype.set=I8;function et(f){var v=-1,k=f==null?0:f.length;for(this.clear();++v<k;){var re=f[v];this.set(re[0],re[1])}}function F8(){this.__data__=[],this.size=0}function A8(f){var v=this.__data__,k=At(v,f);if(k<0)return!1;var re=v.length-1;return k==re?v.pop():E8.call(v,k,1),--this.size,!0}function R8(f){var v=this.__data__,k=At(v,f);return k<0?void 0:v[k][1]}function H8(f){return At(this.__data__,f)>-1}function N8(f,v){var k=this.__data__,re=At(k,f);return re<0?(++this.size,k.push([f,v])):k[re][1]=v,this}et.prototype.clear=F8,et.prototype.delete=A8,et.prototype.get=R8,et.prototype.has=H8,et.prototype.set=N8;function mt(f){var v=-1,k=f==null?0:f.length;for(this.clear();++v<k;){var re=f[v];this.set(re[0],re[1])}}function j8(){this.size=0,this.__data__={hash:new ut,map:new(cs||et),string:new ut}}function W8(f){var v=Ht(this,f).delete(f);return this.size-=v?1:0,v}function G8(f){return Ht(this,f).get(f)}function q8(f){return Ht(this,f).has(f)}function U8(f,v){var k=Ht(this,f),re=k.size;return k.set(f,v),this.size+=k.size==re?0:1,this}mt.prototype.clear=j8,mt.prototype.delete=W8,mt.prototype.get=G8,mt.prototype.has=q8,mt.prototype.set=U8;function gt(f){var v=this.__data__=new et(f);this.size=v.size}function Z8(){this.__data__=new et,this.size=0}function Y8(f){var v=this.__data__,k=v.delete(f);return this.size=v.size,k}function X8(f){return this.__data__.get(f)}function Q8(f){return this.__data__.has(f)}function V8(f,v){var k=this.__data__;if(k instanceof et){var re=k.__data__;if(!cs||re.length<r-1)return re.push([f,v]),this.size=++k.size,this;k=this.__data__=new mt(re)}return k.set(f,v),this.size=k.size,this}gt.prototype.clear=Z8,gt.prototype.delete=Y8,gt.prototype.get=X8,gt.prototype.has=Q8,gt.prototype.set=V8;function K8(f,v){var k=un(f),re=!k&&cn(f),pe=!k&&!re&&ps(f),ve=!k&&!re&&!pe&&gs(f),xe=k||re||pe||ve,fe=xe?le(f.length,String):[],we=fe.length;for(var je in f)(v||De.call(f,je))&&!(xe&&(je=="length"||pe&&(je=="offset"||je=="parent")||ve&&(je=="buffer"||je=="byteLength"||je=="byteOffset")||hs(je,we)))&&fe.push(je);return fe}function sn(f,v,k){(k!==void 0&&!Nt(f[v],k)||k===void 0&&!(v in f))&&an(f,v,k)}function J8(f,v,k){var re=f[v];(!(De.call(f,v)&&Nt(re,k))||k===void 0&&!(v in f))&&an(f,v,k)}function At(f,v){for(var k=f.length;k--;)if(Nt(f[k][0],v))return k;return-1}function an(f,v,k){v=="__proto__"&&Ft?Ft(f,v,{configurable:!0,enumerable:!0,value:k,writable:!0}):f[v]=k}var ec=fc();function Rt(f){return f==null?f===void 0?K:E:ct&&ct in Object(f)?pc(f):Cc(f)}function us(f){return xt(f)&&Rt(f)==u}function tc(f){if(!dt(f)||_c(f))return!1;var v=hn(f)?Ct:Z;return v.test(Sc(f))}function rc(f){return xt(f)&&ms(f.length)&&!!B[Rt(f)]}function nc(f){if(!dt(f))return yc(f);var v=fs(f),k=[];for(var re in f)re=="constructor"&&(v||!De.call(f,re))||k.push(re);return k}function ds(f,v,k,re,pe){f!==v&&ec(v,function(ve,xe){if(pe||(pe=new gt),dt(ve))ic(f,v,xe,k,ds,re,pe);else{var fe=re?re(ln(f,xe),ve,xe+"",f,v,pe):void 0;fe===void 0&&(fe=ve),sn(f,xe,fe)}},vs)}function ic(f,v,k,re,pe,ve,xe){var fe=ln(f,k),we=ln(v,k),je=xe.get(we);if(je){sn(f,k,je);return}var Re=ve?ve(fe,we,k+"",f,v,xe):void 0,wt=Re===void 0;if(wt){var fn=un(we),pn=!fn&&ps(we),ys=!fn&&!pn&&gs(we);Re=we,fn||pn||ys?un(fe)?Re=fe:Tc(fe)?Re=uc(fe):pn?(wt=!1,Re=oc(we,!0)):ys?(wt=!1,Re=cc(we,!0)):Re=[]:kc(we)||cn(we)?(Re=fe,cn(fe)?Re=Mc(fe):(!dt(fe)||hn(fe))&&(Re=mc(we))):wt=!1}wt&&(xe.set(we,Re),pe(Re,we,re,ve,xe),xe.delete(we)),sn(f,k,Re)}function sc(f,v){return xc(bc(f,v,_s),f+"")}var ac=Ft?function(f,v){return Ft(f,"toString",{configurable:!0,enumerable:!1,value:$c(v),writable:!0})}:_s;function oc(f,v){if(v)return f.slice();var k=f.length,re=It?It(k):new f.constructor(k);return f.copy(re),re}function lc(f){var v=new f.constructor(f.byteLength);return new Bt(v).set(new Bt(f)),v}function cc(f,v){var k=v?lc(f.buffer):f.buffer;return new f.constructor(k,f.byteOffset,f.length)}function uc(f,v){var k=-1,re=f.length;for(v||(v=Array(re));++k<re;)v[k]=f[k];return v}function dc(f,v,k,re){var pe=!k;k||(k={});for(var ve=-1,xe=v.length;++ve<xe;){var fe=v[ve],we=re?re(k[fe],f[fe],fe,k,f):void 0;we===void 0&&(we=f[fe]),pe?an(k,fe,we):J8(k,fe,we)}return k}function hc(f){return sc(function(v,k){var re=-1,pe=k.length,ve=pe>1?k[pe-1]:void 0,xe=pe>2?k[2]:void 0;for(ve=f.length>3&&typeof ve=="function"?(pe--,ve):void 0,xe&&gc(k[0],k[1],xe)&&(ve=pe<3?void 0:ve,pe=1),v=Object(v);++re<pe;){var fe=k[re];fe&&f(v,fe,re,ve)}return v})}function fc(f){return function(v,k,re){for(var pe=-1,ve=Object(v),xe=re(v),fe=xe.length;fe--;){var we=xe[f?fe:++pe];if(k(ve[we],we,ve)===!1)break}return v}}function Ht(f,v){var k=f.__data__;return vc(v)?k[typeof v=="string"?"string":"hash"]:k.map}function on(f,v){var k=Ae(f,v);return tc(k)?k:void 0}function pc(f){var v=De.call(f,ct),k=f[ct];try{f[ct]=void 0;var re=!0}catch{}var pe=Xe.call(f);return re&&(v?f[ct]=k:delete f[ct]),pe}function mc(f){return typeof f.constructor=="function"&&!fs(f)?D8(as(f)):{}}function hs(f,v){var k=typeof f;return v=v==null?s:v,!!v&&(k=="number"||k!="symbol"&&F.test(f))&&f>-1&&f%1==0&&f<v}function gc(f,v,k){if(!dt(k))return!1;var re=typeof v;return(re=="number"?dn(k)&&hs(v,k.length):re=="string"&&v in k)?Nt(k[v],f):!1}function vc(f){var v=typeof f;return v=="string"||v=="number"||v=="symbol"||v=="boolean"?f!=="__proto__":f===null}function _c(f){return!!Je&&Je in f}function fs(f){var v=f&&f.constructor,k=typeof v=="function"&&v.prototype||$e;return f===k}function yc(f){var v=[];if(f!=null)for(var k in Object(f))v.push(k);return v}function Cc(f){return Xe.call(f)}function bc(f,v,k){return v=ls(v===void 0?f.length-1:v,0),function(){for(var re=arguments,pe=-1,ve=ls(re.length-v,0),xe=Array(ve);++pe<ve;)xe[pe]=re[v+pe];pe=-1;for(var fe=Array(v+1);++pe<v;)fe[pe]=re[pe];return fe[v]=k(xe),Te(f,this,fe)}}function ln(f,v){if(!(v==="constructor"&&typeof f[v]=="function")&&v!="__proto__")return f[v]}var xc=wc(ac);function wc(f){var v=0,k=0;return function(){var re=L8(),pe=o-(re-k);if(k=re,pe>0){if(++v>=i)return arguments[0]}else v=0;return f.apply(void 0,arguments)}}function Sc(f){if(f!=null){try{return Le.call(f)}catch{}try{return f+""}catch{}}return""}function Nt(f,v){return f===v||f!==f&&v!==v}var cn=us(function(){return arguments}())?us:function(f){return xt(f)&&De.call(f,"callee")&&!M8.call(f,"callee")},un=Array.isArray;function dn(f){return f!=null&&ms(f.length)&&!hn(f)}function Tc(f){return xt(f)&&dn(f)}var ps=$8||Lc;function hn(f){if(!dt(f))return!1;var v=Rt(f);return v==C||v==x||v==l||v==S}function ms(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=s}function dt(f){var v=typeof f;return f!=null&&(v=="object"||v=="function")}function xt(f){return f!=null&&typeof f=="object"}function kc(f){if(!xt(f)||Rt(f)!=P)return!1;var v=as(f);if(v===null)return!0;var k=De.call(v,"constructor")&&v.constructor;return typeof k=="function"&&k instanceof k&&Le.call(k)==lt}var gs=he?ye(he):rc;function Mc(f){return dc(f,vs(f))}function vs(f){return dn(f)?K8(f,!0):nc(f)}var Ec=hc(function(f,v,k){ds(f,v,k)});function $c(f){return function(){return f}}function _s(f){return f}function Lc(){return!1}t.exports=Ec}(Lt,Lt.exports);var js=Lt.exports;function Ws(){if(!arguments.length)return[];var t=arguments[0];return Gs(t)?t:[t]}var Gs=Array.isArray,qs=Ws;const g=Jt,oe=t=>t.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),ze=t=>`${oe(t/16)}rem`,c=(t,e)=>`${oe(t/e)}em`,Ue=t=>{t=t.replace("#",""),t=t.length===3?t.replace(/./g,"$&$&"):t;const e=parseInt(t.substring(0,2),16),r=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return`${e} ${r} ${n}`};let tr={sm:{css:[{fontSize:ze(14),lineHeight:oe(24/14),p:{marginTop:c(16,14),marginBottom:c(16,14)},'[class~="lead"]':{fontSize:c(18,14),lineHeight:oe(28/18),marginTop:c(16,18),marginBottom:c(16,18)},blockquote:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(20,18)},h1:{fontSize:c(30,14),marginTop:"0",marginBottom:c(24,30),lineHeight:oe(36/30)},h2:{fontSize:c(20,14),marginTop:c(32,20),marginBottom:c(16,20),lineHeight:oe(28/20)},h3:{fontSize:c(18,14),marginTop:c(28,18),marginBottom:c(8,18),lineHeight:oe(28/18)},h4:{marginTop:c(20,14),marginBottom:c(8,14),lineHeight:oe(20/14)},img:{marginTop:c(24,14),marginBottom:c(24,14)},picture:{marginTop:c(24,14),marginBottom:c(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(24,14),marginBottom:c(24,14)},kbd:{fontSize:c(12,14),borderRadius:ze(5),paddingTop:c(2,14),paddingInlineEnd:c(5,14),paddingBottom:c(2,14),paddingInlineStart:c(5,14)},code:{fontSize:c(12,14)},"h2 code":{fontSize:c(18,20)},"h3 code":{fontSize:c(16,18)},pre:{fontSize:c(12,14),lineHeight:oe(20/12),marginTop:c(20,12),marginBottom:c(20,12),borderRadius:ze(4),paddingTop:c(8,12),paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},ol:{marginTop:c(16,14),marginBottom:c(16,14),paddingInlineStart:c(22,14)},ul:{marginTop:c(16,14),marginBottom:c(16,14),paddingInlineStart:c(22,14)},li:{marginTop:c(4,14),marginBottom:c(4,14)},"ol > li":{paddingInlineStart:c(6,14)},"ul > li":{paddingInlineStart:c(6,14)},"> ul > li p":{marginTop:c(8,14),marginBottom:c(8,14)},"> ul > li > p:first-child":{marginTop:c(16,14)},"> ul > li > p:last-child":{marginBottom:c(16,14)},"> ol > li > p:first-child":{marginTop:c(16,14)},"> ol > li > p:last-child":{marginBottom:c(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(8,14),marginBottom:c(8,14)},dl:{marginTop:c(16,14),marginBottom:c(16,14)},dt:{marginTop:c(16,14)},dd:{marginTop:c(4,14),paddingInlineStart:c(22,14)},hr:{marginTop:c(40,14),marginBottom:c(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(12,14),lineHeight:oe(18/12)},"thead th":{paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(8,12),paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(24,14),marginBottom:c(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(12,14),lineHeight:oe(16/12),marginTop:c(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:ze(16),lineHeight:oe(28/16),p:{marginTop:c(20,16),marginBottom:c(20,16)},'[class~="lead"]':{fontSize:c(20,16),lineHeight:oe(32/20),marginTop:c(24,20),marginBottom:c(24,20)},blockquote:{marginTop:c(32,20),marginBottom:c(32,20),paddingInlineStart:c(20,20)},h1:{fontSize:c(36,16),marginTop:"0",marginBottom:c(32,36),lineHeight:oe(40/36)},h2:{fontSize:c(24,16),marginTop:c(48,24),marginBottom:c(24,24),lineHeight:oe(32/24)},h3:{fontSize:c(20,16),marginTop:c(32,20),marginBottom:c(12,20),lineHeight:oe(32/20)},h4:{marginTop:c(24,16),marginBottom:c(8,16),lineHeight:oe(24/16)},img:{marginTop:c(32,16),marginBottom:c(32,16)},picture:{marginTop:c(32,16),marginBottom:c(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(32,16),marginBottom:c(32,16)},kbd:{fontSize:c(14,16),borderRadius:ze(5),paddingTop:c(3,16),paddingInlineEnd:c(6,16),paddingBottom:c(3,16),paddingInlineStart:c(6,16)},code:{fontSize:c(14,16)},"h2 code":{fontSize:c(21,24)},"h3 code":{fontSize:c(18,20)},pre:{fontSize:c(14,16),lineHeight:oe(24/14),marginTop:c(24,14),marginBottom:c(24,14),borderRadius:ze(6),paddingTop:c(12,14),paddingInlineEnd:c(16,14),paddingBottom:c(12,14),paddingInlineStart:c(16,14)},ol:{marginTop:c(20,16),marginBottom:c(20,16),paddingInlineStart:c(26,16)},ul:{marginTop:c(20,16),marginBottom:c(20,16),paddingInlineStart:c(26,16)},li:{marginTop:c(8,16),marginBottom:c(8,16)},"ol > li":{paddingInlineStart:c(6,16)},"ul > li":{paddingInlineStart:c(6,16)},"> ul > li p":{marginTop:c(12,16),marginBottom:c(12,16)},"> ul > li > p:first-child":{marginTop:c(20,16)},"> ul > li > p:last-child":{marginBottom:c(20,16)},"> ol > li > p:first-child":{marginTop:c(20,16)},"> ol > li > p:last-child":{marginBottom:c(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(12,16),marginBottom:c(12,16)},dl:{marginTop:c(20,16),marginBottom:c(20,16)},dt:{marginTop:c(20,16)},dd:{marginTop:c(8,16),paddingInlineStart:c(26,16)},hr:{marginTop:c(48,16),marginBottom:c(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(14,16),lineHeight:oe(24/14)},"thead th":{paddingInlineEnd:c(8,14),paddingBottom:c(8,14),paddingInlineStart:c(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(8,14),paddingInlineEnd:c(8,14),paddingBottom:c(8,14),paddingInlineStart:c(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(32,16),marginBottom:c(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(14,16),lineHeight:oe(20/14),marginTop:c(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:ze(18),lineHeight:oe(32/18),p:{marginTop:c(24,18),marginBottom:c(24,18)},'[class~="lead"]':{fontSize:c(22,18),lineHeight:oe(32/22),marginTop:c(24,22),marginBottom:c(24,22)},blockquote:{marginTop:c(40,24),marginBottom:c(40,24),paddingInlineStart:c(24,24)},h1:{fontSize:c(48,18),marginTop:"0",marginBottom:c(40,48),lineHeight:oe(48/48)},h2:{fontSize:c(30,18),marginTop:c(56,30),marginBottom:c(32,30),lineHeight:oe(40/30)},h3:{fontSize:c(24,18),marginTop:c(40,24),marginBottom:c(16,24),lineHeight:oe(36/24)},h4:{marginTop:c(32,18),marginBottom:c(8,18),lineHeight:oe(28/18)},img:{marginTop:c(32,18),marginBottom:c(32,18)},picture:{marginTop:c(32,18),marginBottom:c(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(32,18),marginBottom:c(32,18)},kbd:{fontSize:c(16,18),borderRadius:ze(5),paddingTop:c(4,18),paddingInlineEnd:c(8,18),paddingBottom:c(4,18),paddingInlineStart:c(8,18)},code:{fontSize:c(16,18)},"h2 code":{fontSize:c(26,30)},"h3 code":{fontSize:c(21,24)},pre:{fontSize:c(16,18),lineHeight:oe(28/16),marginTop:c(32,16),marginBottom:c(32,16),borderRadius:ze(6),paddingTop:c(16,16),paddingInlineEnd:c(24,16),paddingBottom:c(16,16),paddingInlineStart:c(24,16)},ol:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(28,18)},ul:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(28,18)},li:{marginTop:c(12,18),marginBottom:c(12,18)},"ol > li":{paddingInlineStart:c(8,18)},"ul > li":{paddingInlineStart:c(8,18)},"> ul > li p":{marginTop:c(16,18),marginBottom:c(16,18)},"> ul > li > p:first-child":{marginTop:c(24,18)},"> ul > li > p:last-child":{marginBottom:c(24,18)},"> ol > li > p:first-child":{marginTop:c(24,18)},"> ol > li > p:last-child":{marginBottom:c(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,18),marginBottom:c(16,18)},dl:{marginTop:c(24,18),marginBottom:c(24,18)},dt:{marginTop:c(24,18)},dd:{marginTop:c(12,18),paddingInlineStart:c(28,18)},hr:{marginTop:c(56,18),marginBottom:c(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(16,18),lineHeight:oe(24/16)},"thead th":{paddingInlineEnd:c(12,16),paddingBottom:c(12,16),paddingInlineStart:c(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(12,16),paddingInlineEnd:c(12,16),paddingBottom:c(12,16),paddingInlineStart:c(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(32,18),marginBottom:c(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(16,18),lineHeight:oe(24/16),marginTop:c(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:ze(20),lineHeight:oe(36/20),p:{marginTop:c(24,20),marginBottom:c(24,20)},'[class~="lead"]':{fontSize:c(24,20),lineHeight:oe(36/24),marginTop:c(24,24),marginBottom:c(24,24)},blockquote:{marginTop:c(48,30),marginBottom:c(48,30),paddingInlineStart:c(32,30)},h1:{fontSize:c(56,20),marginTop:"0",marginBottom:c(48,56),lineHeight:oe(56/56)},h2:{fontSize:c(36,20),marginTop:c(56,36),marginBottom:c(32,36),lineHeight:oe(40/36)},h3:{fontSize:c(30,20),marginTop:c(48,30),marginBottom:c(20,30),lineHeight:oe(40/30)},h4:{marginTop:c(36,20),marginBottom:c(12,20),lineHeight:oe(32/20)},img:{marginTop:c(40,20),marginBottom:c(40,20)},picture:{marginTop:c(40,20),marginBottom:c(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(40,20),marginBottom:c(40,20)},kbd:{fontSize:c(18,20),borderRadius:ze(5),paddingTop:c(5,20),paddingInlineEnd:c(8,20),paddingBottom:c(5,20),paddingInlineStart:c(8,20)},code:{fontSize:c(18,20)},"h2 code":{fontSize:c(31,36)},"h3 code":{fontSize:c(27,30)},pre:{fontSize:c(18,20),lineHeight:oe(32/18),marginTop:c(36,18),marginBottom:c(36,18),borderRadius:ze(8),paddingTop:c(20,18),paddingInlineEnd:c(24,18),paddingBottom:c(20,18),paddingInlineStart:c(24,18)},ol:{marginTop:c(24,20),marginBottom:c(24,20),paddingInlineStart:c(32,20)},ul:{marginTop:c(24,20),marginBottom:c(24,20),paddingInlineStart:c(32,20)},li:{marginTop:c(12,20),marginBottom:c(12,20)},"ol > li":{paddingInlineStart:c(8,20)},"ul > li":{paddingInlineStart:c(8,20)},"> ul > li p":{marginTop:c(16,20),marginBottom:c(16,20)},"> ul > li > p:first-child":{marginTop:c(24,20)},"> ul > li > p:last-child":{marginBottom:c(24,20)},"> ol > li > p:first-child":{marginTop:c(24,20)},"> ol > li > p:last-child":{marginBottom:c(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,20),marginBottom:c(16,20)},dl:{marginTop:c(24,20),marginBottom:c(24,20)},dt:{marginTop:c(24,20)},dd:{marginTop:c(12,20),paddingInlineStart:c(32,20)},hr:{marginTop:c(56,20),marginBottom:c(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(18,20),lineHeight:oe(28/18)},"thead th":{paddingInlineEnd:c(12,18),paddingBottom:c(16,18),paddingInlineStart:c(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(16,18),paddingInlineEnd:c(12,18),paddingBottom:c(16,18),paddingInlineStart:c(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(40,20),marginBottom:c(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(18,20),lineHeight:oe(28/18),marginTop:c(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:ze(24),lineHeight:oe(40/24),p:{marginTop:c(32,24),marginBottom:c(32,24)},'[class~="lead"]':{fontSize:c(30,24),lineHeight:oe(44/30),marginTop:c(32,30),marginBottom:c(32,30)},blockquote:{marginTop:c(64,36),marginBottom:c(64,36),paddingInlineStart:c(40,36)},h1:{fontSize:c(64,24),marginTop:"0",marginBottom:c(56,64),lineHeight:oe(64/64)},h2:{fontSize:c(48,24),marginTop:c(72,48),marginBottom:c(40,48),lineHeight:oe(52/48)},h3:{fontSize:c(36,24),marginTop:c(56,36),marginBottom:c(24,36),lineHeight:oe(44/36)},h4:{marginTop:c(40,24),marginBottom:c(16,24),lineHeight:oe(36/24)},img:{marginTop:c(48,24),marginBottom:c(48,24)},picture:{marginTop:c(48,24),marginBottom:c(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(48,24),marginBottom:c(48,24)},kbd:{fontSize:c(20,24),borderRadius:ze(6),paddingTop:c(6,24),paddingInlineEnd:c(8,24),paddingBottom:c(6,24),paddingInlineStart:c(8,24)},code:{fontSize:c(20,24)},"h2 code":{fontSize:c(42,48)},"h3 code":{fontSize:c(32,36)},pre:{fontSize:c(20,24),lineHeight:oe(36/20),marginTop:c(40,20),marginBottom:c(40,20),borderRadius:ze(8),paddingTop:c(24,20),paddingInlineEnd:c(32,20),paddingBottom:c(24,20),paddingInlineStart:c(32,20)},ol:{marginTop:c(32,24),marginBottom:c(32,24),paddingInlineStart:c(38,24)},ul:{marginTop:c(32,24),marginBottom:c(32,24),paddingInlineStart:c(38,24)},li:{marginTop:c(12,24),marginBottom:c(12,24)},"ol > li":{paddingInlineStart:c(10,24)},"ul > li":{paddingInlineStart:c(10,24)},"> ul > li p":{marginTop:c(20,24),marginBottom:c(20,24)},"> ul > li > p:first-child":{marginTop:c(32,24)},"> ul > li > p:last-child":{marginBottom:c(32,24)},"> ol > li > p:first-child":{marginTop:c(32,24)},"> ol > li > p:last-child":{marginBottom:c(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,24),marginBottom:c(16,24)},dl:{marginTop:c(32,24),marginBottom:c(32,24)},dt:{marginTop:c(32,24)},dd:{marginTop:c(12,24),paddingInlineStart:c(38,24)},hr:{marginTop:c(72,24),marginBottom:c(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(20,24),lineHeight:oe(28/20)},"thead th":{paddingInlineEnd:c(12,20),paddingBottom:c(16,20),paddingInlineStart:c(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(16,20),paddingInlineEnd:c(12,20),paddingBottom:c(16,20),paddingInlineStart:c(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(48,24),marginBottom:c(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(20,24),lineHeight:oe(32/20),marginTop:c(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":g.slate[700],"--tw-prose-headings":g.slate[900],"--tw-prose-lead":g.slate[600],"--tw-prose-links":g.slate[900],"--tw-prose-bold":g.slate[900],"--tw-prose-counters":g.slate[500],"--tw-prose-bullets":g.slate[300],"--tw-prose-hr":g.slate[200],"--tw-prose-quotes":g.slate[900],"--tw-prose-quote-borders":g.slate[200],"--tw-prose-captions":g.slate[500],"--tw-prose-kbd":g.slate[900],"--tw-prose-kbd-shadows":Ue(g.slate[900]),"--tw-prose-code":g.slate[900],"--tw-prose-pre-code":g.slate[200],"--tw-prose-pre-bg":g.slate[800],"--tw-prose-th-borders":g.slate[300],"--tw-prose-td-borders":g.slate[200],"--tw-prose-invert-body":g.slate[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.slate[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.slate[400],"--tw-prose-invert-bullets":g.slate[600],"--tw-prose-invert-hr":g.slate[700],"--tw-prose-invert-quotes":g.slate[100],"--tw-prose-invert-quote-borders":g.slate[700],"--tw-prose-invert-captions":g.slate[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.slate[600],"--tw-prose-invert-td-borders":g.slate[700]}},gray:{css:{"--tw-prose-body":g.gray[700],"--tw-prose-headings":g.gray[900],"--tw-prose-lead":g.gray[600],"--tw-prose-links":g.gray[900],"--tw-prose-bold":g.gray[900],"--tw-prose-counters":g.gray[500],"--tw-prose-bullets":g.gray[300],"--tw-prose-hr":g.gray[200],"--tw-prose-quotes":g.gray[900],"--tw-prose-quote-borders":g.gray[200],"--tw-prose-captions":g.gray[500],"--tw-prose-kbd":g.gray[900],"--tw-prose-kbd-shadows":Ue(g.gray[900]),"--tw-prose-code":g.gray[900],"--tw-prose-pre-code":g.gray[200],"--tw-prose-pre-bg":g.gray[800],"--tw-prose-th-borders":g.gray[300],"--tw-prose-td-borders":g.gray[200],"--tw-prose-invert-body":g.gray[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.gray[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.gray[400],"--tw-prose-invert-bullets":g.gray[600],"--tw-prose-invert-hr":g.gray[700],"--tw-prose-invert-quotes":g.gray[100],"--tw-prose-invert-quote-borders":g.gray[700],"--tw-prose-invert-captions":g.gray[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.gray[600],"--tw-prose-invert-td-borders":g.gray[700]}},zinc:{css:{"--tw-prose-body":g.zinc[700],"--tw-prose-headings":g.zinc[900],"--tw-prose-lead":g.zinc[600],"--tw-prose-links":g.zinc[900],"--tw-prose-bold":g.zinc[900],"--tw-prose-counters":g.zinc[500],"--tw-prose-bullets":g.zinc[300],"--tw-prose-hr":g.zinc[200],"--tw-prose-quotes":g.zinc[900],"--tw-prose-quote-borders":g.zinc[200],"--tw-prose-captions":g.zinc[500],"--tw-prose-kbd":g.zinc[900],"--tw-prose-kbd-shadows":Ue(g.zinc[900]),"--tw-prose-code":g.zinc[900],"--tw-prose-pre-code":g.zinc[200],"--tw-prose-pre-bg":g.zinc[800],"--tw-prose-th-borders":g.zinc[300],"--tw-prose-td-borders":g.zinc[200],"--tw-prose-invert-body":g.zinc[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.zinc[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.zinc[400],"--tw-prose-invert-bullets":g.zinc[600],"--tw-prose-invert-hr":g.zinc[700],"--tw-prose-invert-quotes":g.zinc[100],"--tw-prose-invert-quote-borders":g.zinc[700],"--tw-prose-invert-captions":g.zinc[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.zinc[600],"--tw-prose-invert-td-borders":g.zinc[700]}},neutral:{css:{"--tw-prose-body":g.neutral[700],"--tw-prose-headings":g.neutral[900],"--tw-prose-lead":g.neutral[600],"--tw-prose-links":g.neutral[900],"--tw-prose-bold":g.neutral[900],"--tw-prose-counters":g.neutral[500],"--tw-prose-bullets":g.neutral[300],"--tw-prose-hr":g.neutral[200],"--tw-prose-quotes":g.neutral[900],"--tw-prose-quote-borders":g.neutral[200],"--tw-prose-captions":g.neutral[500],"--tw-prose-kbd":g.neutral[900],"--tw-prose-kbd-shadows":Ue(g.neutral[900]),"--tw-prose-code":g.neutral[900],"--tw-prose-pre-code":g.neutral[200],"--tw-prose-pre-bg":g.neutral[800],"--tw-prose-th-borders":g.neutral[300],"--tw-prose-td-borders":g.neutral[200],"--tw-prose-invert-body":g.neutral[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.neutral[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.neutral[400],"--tw-prose-invert-bullets":g.neutral[600],"--tw-prose-invert-hr":g.neutral[700],"--tw-prose-invert-quotes":g.neutral[100],"--tw-prose-invert-quote-borders":g.neutral[700],"--tw-prose-invert-captions":g.neutral[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.neutral[600],"--tw-prose-invert-td-borders":g.neutral[700]}},stone:{css:{"--tw-prose-body":g.stone[700],"--tw-prose-headings":g.stone[900],"--tw-prose-lead":g.stone[600],"--tw-prose-links":g.stone[900],"--tw-prose-bold":g.stone[900],"--tw-prose-counters":g.stone[500],"--tw-prose-bullets":g.stone[300],"--tw-prose-hr":g.stone[200],"--tw-prose-quotes":g.stone[900],"--tw-prose-quote-borders":g.stone[200],"--tw-prose-captions":g.stone[500],"--tw-prose-kbd":g.stone[900],"--tw-prose-kbd-shadows":Ue(g.stone[900]),"--tw-prose-code":g.stone[900],"--tw-prose-pre-code":g.stone[200],"--tw-prose-pre-bg":g.stone[800],"--tw-prose-th-borders":g.stone[300],"--tw-prose-td-borders":g.stone[200],"--tw-prose-invert-body":g.stone[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.stone[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.stone[400],"--tw-prose-invert-bullets":g.stone[600],"--tw-prose-invert-hr":g.stone[700],"--tw-prose-invert-quotes":g.stone[100],"--tw-prose-invert-quote-borders":g.stone[700],"--tw-prose-invert-captions":g.stone[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.stone[600],"--tw-prose-invert-td-borders":g.stone[700]}},red:{css:{"--tw-prose-links":g.red[600],"--tw-prose-invert-links":g.red[500]}},orange:{css:{"--tw-prose-links":g.orange[600],"--tw-prose-invert-links":g.orange[500]}},amber:{css:{"--tw-prose-links":g.amber[600],"--tw-prose-invert-links":g.amber[500]}},yellow:{css:{"--tw-prose-links":g.yellow[600],"--tw-prose-invert-links":g.yellow[500]}},lime:{css:{"--tw-prose-links":g.lime[600],"--tw-prose-invert-links":g.lime[500]}},green:{css:{"--tw-prose-links":g.green[600],"--tw-prose-invert-links":g.green[500]}},emerald:{css:{"--tw-prose-links":g.emerald[600],"--tw-prose-invert-links":g.emerald[500]}},teal:{css:{"--tw-prose-links":g.teal[600],"--tw-prose-invert-links":g.teal[500]}},cyan:{css:{"--tw-prose-links":g.cyan[600],"--tw-prose-invert-links":g.cyan[500]}},sky:{css:{"--tw-prose-links":g.sky[600],"--tw-prose-invert-links":g.sky[500]}},blue:{css:{"--tw-prose-links":g.blue[600],"--tw-prose-invert-links":g.blue[500]}},indigo:{css:{"--tw-prose-links":g.indigo[600],"--tw-prose-invert-links":g.indigo[500]}},violet:{css:{"--tw-prose-links":g.violet[600],"--tw-prose-invert-links":g.violet[500]}},purple:{css:{"--tw-prose-links":g.purple[600],"--tw-prose-invert-links":g.purple[500]}},fuchsia:{css:{"--tw-prose-links":g.fuchsia[600],"--tw-prose-invert-links":g.fuchsia[500]}},pink:{css:{"--tw-prose-links":g.pink[600],"--tw-prose-invert-links":g.pink[500]}},rose:{css:{"--tw-prose-links":g.rose[600],"--tw-prose-invert-links":g.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};var Us={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderInlineStartWidth:"0.25rem",borderInlineStartColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",marginTop:c(32,16),marginBottom:c(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"th, td":{textAlign:"start"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},tr.gray.css,...tr.base.css]},...tr},Zs="[object Object]";function Ys(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Xs(t,e){return function(r){return t(e(r))}}var Qs=Function.prototype,Rn=Object.prototype,Hn=Qs.toString,Vs=Rn.hasOwnProperty,Ks=Hn.call(Object),Js=Rn.toString,ea=Xs(Object.getPrototypeOf,Object);function ta(t){return!!t&&typeof t=="object"}function ra(t){if(!ta(t)||Js.call(t)!=Zs||Ys(t))return!1;var e=ea(t);if(e===null)return!0;var r=Vs.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Hn.call(r)==Ks}var na=ra,rr={exports:{}},nr={exports:{}},ir={exports:{}},sr={exports:{}},ar={exports:{}},or={exports:{}},Fe={},lr={exports:{}};(function(t,e){e.__esModule=!0,e.default=i;function r(o){for(var s=o.toLowerCase(),u="",a=!1,l=0;l<6&&s[l]!==void 0;l++){var d=s.charCodeAt(l),p=d>=97&&d<=102||d>=48&&d<=57;if(a=d===32,!p)break;u+=s[l]}if(u.length!==0){var m=parseInt(u,16),C=m>=55296&&m<=57343;return C||m===0||m>1114111?["�",u.length+(a?1:0)]:[String.fromCodePoint(m),u.length+(a?1:0)]}}var n=/\\/;function i(o){var s=n.test(o);if(!s)return o;for(var u="",a=0;a<o.length;a++){if(o[a]==="\\"){var l=r(o.slice(a+1,a+7));if(l!==void 0){u+=l[0],a+=l[1];continue}if(o[a+1]==="\\"){u+="\\",a++;continue}o.length===a+1&&(u+=o[a]);continue}u+=o[a]}return u}t.exports=e.default})(lr,lr.exports);var Nn=lr.exports,cr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(;o.length>0;){var u=o.shift();if(!n[u])return;n=n[u]}return n}t.exports=e.default})(cr,cr.exports);var ia=cr.exports,ur={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];for(;o.length>0;){var u=o.shift();n[u]||(n[u]={}),n=n[u]}}t.exports=e.default})(ur,ur.exports);var sa=ur.exports,dr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i="",o=n.indexOf("/*"),s=0;o>=0;){i=i+n.slice(s,o);var u=n.indexOf("*/",o+2);if(u<0)return i;s=u+2,o=n.indexOf("/*",s)}return i=i+n.slice(s),i}t.exports=e.default})(dr,dr.exports);var aa=dr.exports;Fe.__esModule=!0,Fe.stripComments=Fe.ensureObject=Fe.getProp=Fe.unesc=void 0;var oa=Dt(Nn);Fe.unesc=oa.default;var la=Dt(ia);Fe.getProp=la.default;var ca=Dt(sa);Fe.ensureObject=ca.default;var ua=Dt(aa);Fe.stripComments=ua.default;function Dt(t){return t&&t.__esModule?t:{default:t}}(function(t,e){e.__esModule=!0,e.default=void 0;var r=Fe;function n(u,a){for(var l=0;l<a.length;l++){var d=a[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}function i(u,a,l){return a&&n(u.prototype,a),l&&n(u,l),u}var o=function u(a,l){if(typeof a!="object"||a===null)return a;var d=new a.constructor;for(var p in a)if(a.hasOwnProperty(p)){var m=a[p],C=typeof m;p==="parent"&&C==="object"?l&&(d[p]=l):m instanceof Array?d[p]=m.map(function(x){return u(x,d)}):d[p]=u(m,d)}return d},s=function(){function u(l){l===void 0&&(l={}),Object.assign(this,l),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var a=u.prototype;return a.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},a.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},a.next=function(){return this.parent.at(this.parent.index(this)+1)},a.prev=function(){return this.parent.at(this.parent.index(this)-1)},a.clone=function(d){d===void 0&&(d={});var p=o(this);for(var m in d)p[m]=d[m];return p},a.appendToPropertyAndEscape=function(d,p,m){this.raws||(this.raws={});var C=this[d],x=this.raws[d];this[d]=C+p,x||m!==p?this.raws[d]=(x||C)+m:delete this.raws[d]},a.setPropertyAndEscape=function(d,p,m){this.raws||(this.raws={}),this[d]=p,this.raws[d]=m},a.setPropertyWithoutEscape=function(d,p){this[d]=p,this.raws&&delete this.raws[d]},a.isAtPosition=function(d,p){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>p||this.source.end.line===d&&this.source.end.column<p)},a.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},a.valueToString=function(){return String(this.stringifyProperty("value"))},a.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(u,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),u}();e.default=s,t.exports=e.default})(or,or.exports);var rt=or.exports,de={};de.__esModule=!0,de.UNIVERSAL=de.ATTRIBUTE=de.CLASS=de.COMBINATOR=de.COMMENT=de.ID=de.NESTING=de.PSEUDO=de.ROOT=de.SELECTOR=de.STRING=de.TAG=void 0;var da="tag";de.TAG=da;var ha="string";de.STRING=ha;var fa="selector";de.SELECTOR=fa;var pa="root";de.ROOT=pa;var ma="pseudo";de.PSEUDO=ma;var ga="nesting";de.NESTING=ga;var va="id";de.ID=va;var _a="comment";de.COMMENT=_a;var ya="combinator";de.COMBINATOR=ya;var Ca="class";de.CLASS=Ca;var ba="attribute";de.ATTRIBUTE=ba;var xa="universal";de.UNIVERSAL=xa,function(t,e){e.__esModule=!0,e.default=void 0;var r=s(rt),n=o(de);function i(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return i=function(){return h},h}function o(h){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var y=i();if(y&&y.has(h))return y.get(h);var E={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in h)if(Object.prototype.hasOwnProperty.call(h,S)){var A=P?Object.getOwnPropertyDescriptor(h,S):null;A&&(A.get||A.set)?Object.defineProperty(E,S,A):E[S]=h[S]}return E.default=h,y&&y.set(h,E),E}function s(h){return h&&h.__esModule?h:{default:h}}function u(h,y){var E;if(typeof Symbol=="undefined"||h[Symbol.iterator]==null){if(Array.isArray(h)||(E=a(h))||y&&h&&typeof h.length=="number"){E&&(h=E);var P=0;return function(){return P>=h.length?{done:!0}:{done:!1,value:h[P++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return E=h[Symbol.iterator](),E.next.bind(E)}function a(h,y){if(h){if(typeof h=="string")return l(h,y);var E=Object.prototype.toString.call(h).slice(8,-1);if(E==="Object"&&h.constructor&&(E=h.constructor.name),E==="Map"||E==="Set")return Array.from(h);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return l(h,y)}}function l(h,y){(y==null||y>h.length)&&(y=h.length);for(var E=0,P=new Array(y);E<y;E++)P[E]=h[E];return P}function d(h,y){for(var E=0;E<y.length;E++){var P=y[E];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(h,P.key,P)}}function p(h,y,E){return y&&d(h.prototype,y),E&&d(h,E),h}function m(h,y){h.prototype=Object.create(y.prototype),h.prototype.constructor=h,C(h,y)}function C(h,y){return C=Object.setPrototypeOf||function(P,S){return P.__proto__=S,P},C(h,y)}var x=function(h){m(y,h);function y(P){var S;return S=h.call(this,P)||this,S.nodes||(S.nodes=[]),S}var E=y.prototype;return E.append=function(S){return S.parent=this,this.nodes.push(S),this},E.prepend=function(S){return S.parent=this,this.nodes.unshift(S),this},E.at=function(S){return this.nodes[S]},E.index=function(S){return typeof S=="number"?S:this.nodes.indexOf(S)},E.removeChild=function(S){S=this.index(S),this.at(S).parent=void 0,this.nodes.splice(S,1);var A;for(var $ in this.indexes)A=this.indexes[$],A>=S&&(this.indexes[$]=A-1);return this},E.removeAll=function(){for(var S=u(this.nodes),A;!(A=S()).done;){var $=A.value;$.parent=void 0}return this.nodes=[],this},E.empty=function(){return this.removeAll()},E.insertAfter=function(S,A){A.parent=this;var $=this.index(S);this.nodes.splice($+1,0,A),A.parent=this;var H;for(var K in this.indexes)H=this.indexes[K],$<=H&&(this.indexes[K]=H+1);return this},E.insertBefore=function(S,A){A.parent=this;var $=this.index(S);this.nodes.splice($,0,A),A.parent=this;var H;for(var K in this.indexes)H=this.indexes[K],H<=$&&(this.indexes[K]=H+1);return this},E._findChildAtPosition=function(S,A){var $=void 0;return this.each(function(H){if(H.atPosition){var K=H.atPosition(S,A);if(K)return $=K,!1}else if(H.isAtPosition(S,A))return $=H,!1}),$},E.atPosition=function(S,A){if(this.isAtPosition(S,A))return this._findChildAtPosition(S,A)||this},E._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},E.each=function(S){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var A=this.lastEach;if(this.indexes[A]=0,!!this.length){for(var $,H;this.indexes[A]<this.length&&($=this.indexes[A],H=S(this.at($),$),H!==!1);)this.indexes[A]+=1;if(delete this.indexes[A],H===!1)return!1}},E.walk=function(S){return this.each(function(A,$){var H=S(A,$);if(H!==!1&&A.length&&(H=A.walk(S)),H===!1)return!1})},E.walkAttributes=function(S){var A=this;return this.walk(function($){if($.type===n.ATTRIBUTE)return S.call(A,$)})},E.walkClasses=function(S){var A=this;return this.walk(function($){if($.type===n.CLASS)return S.call(A,$)})},E.walkCombinators=function(S){var A=this;return this.walk(function($){if($.type===n.COMBINATOR)return S.call(A,$)})},E.walkComments=function(S){var A=this;return this.walk(function($){if($.type===n.COMMENT)return S.call(A,$)})},E.walkIds=function(S){var A=this;return this.walk(function($){if($.type===n.ID)return S.call(A,$)})},E.walkNesting=function(S){var A=this;return this.walk(function($){if($.type===n.NESTING)return S.call(A,$)})},E.walkPseudos=function(S){var A=this;return this.walk(function($){if($.type===n.PSEUDO)return S.call(A,$)})},E.walkTags=function(S){var A=this;return this.walk(function($){if($.type===n.TAG)return S.call(A,$)})},E.walkUniversals=function(S){var A=this;return this.walk(function($){if($.type===n.UNIVERSAL)return S.call(A,$)})},E.split=function(S){var A=this,$=[];return this.reduce(function(H,K,U){var b=S.call(A,K);return $.push(K),b?(H.push($),$=[]):U===A.length-1&&H.push($),H},[])},E.map=function(S){return this.nodes.map(S)},E.reduce=function(S,A){return this.nodes.reduce(S,A)},E.every=function(S){return this.nodes.every(S)},E.some=function(S){return this.nodes.some(S)},E.filter=function(S){return this.nodes.filter(S)},E.sort=function(S){return this.nodes.sort(S)},E.toString=function(){return this.map(String).join("")},p(y,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),y}(r.default);e.default=x,t.exports=e.default}(ar,ar.exports);var hr=ar.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(hr),n=de;function i(d){return d&&d.__esModule?d:{default:d}}function o(d,p){for(var m=0;m<p.length;m++){var C=p[m];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(d,C.key,C)}}function s(d,p,m){return p&&o(d.prototype,p),m&&o(d,m),d}function u(d,p){d.prototype=Object.create(p.prototype),d.prototype.constructor=d,a(d,p)}function a(d,p){return a=Object.setPrototypeOf||function(C,x){return C.__proto__=x,C},a(d,p)}var l=function(d){u(p,d);function p(C){var x;return x=d.call(this,C)||this,x.type=n.ROOT,x}var m=p.prototype;return m.toString=function(){var x=this.reduce(function(h,y){return h.push(String(y)),h},[]).join(",");return this.trailingComma?x+",":x},m.error=function(x,h){return this._error?this._error(x,h):new Error(x)},s(p,[{key:"errorGenerator",set:function(x){this._error=x}}]),p}(r.default);e.default=l,t.exports=e.default})(sr,sr.exports);var jn=sr.exports,fr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(hr),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.SELECTOR,p}return l}(r.default);e.default=u,t.exports=e.default})(fr,fr.exports);var Wn=fr.exports,pr={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var wa={},Sa=wa.hasOwnProperty,Ta=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=Sa.call(e,i)?e[i]:r[i];return n},ka=/[ -,\.\/:-@\[-\^`\{-~]/,Ma=/[ -,\.\/:-@\[\]\^`\{-~]/,Ea=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,mr=function t(e,r){r=Ta(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",i=r.isIdentifier,o=e.charAt(0),s="",u=0,a=e.length;u<a;){var l=e.charAt(u++),d=l.charCodeAt(),p=void 0;if(d<32||d>126){if(d>=55296&&d<=56319&&u<a){var m=e.charCodeAt(u++);(m&64512)==56320?d=((d&1023)<<10)+(m&1023)+65536:u--}p="\\"+d.toString(16).toUpperCase()+" "}else r.escapeEverything?ka.test(l)?p="\\"+l:p="\\"+d.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?p="\\"+d.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&n==l||l=="'"&&n==l)||i&&Ma.test(l)?p="\\"+l:p=l;s+=p}return i&&(/^-[-\d]/.test(s)?s="\\-"+s.slice(1):/\d/.test(o)&&(s="\\3"+o+" "+s.slice(1))),s=s.replace(Ea,function(C,x,h){return x&&x.length%2?C:(x||"")+h}),!i&&r.wrap?n+s+n:s};mr.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},mr.version="3.0.0";var gr=mr;(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(gr),n=Fe,i=s(rt),o=de;function s(m){return m&&m.__esModule?m:{default:m}}function u(m,C){for(var x=0;x<C.length;x++){var h=C[x];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}function a(m,C,x){return C&&u(m.prototype,C),x&&u(m,x),m}function l(m,C){m.prototype=Object.create(C.prototype),m.prototype.constructor=m,d(m,C)}function d(m,C){return d=Object.setPrototypeOf||function(h,y){return h.__proto__=y,h},d(m,C)}var p=function(m){l(C,m);function C(h){var y;return y=m.call(this,h)||this,y.type=o.CLASS,y._constructed=!0,y}var x=C.prototype;return x.valueToString=function(){return"."+m.prototype.valueToString.call(this)},a(C,[{key:"value",get:function(){return this._value},set:function(y){if(this._constructed){var E=(0,r.default)(y,{isIdentifier:!0});E!==y?((0,n.ensureObject)(this,"raws"),this.raws.value=E):this.raws&&delete this.raws.value}this._value=y}}]),C}(i.default);e.default=p,t.exports=e.default})(pr,pr.exports);var Gn=pr.exports,vr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rt),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.COMMENT,p}return l}(r.default);e.default=u,t.exports=e.default})(vr,vr.exports);var qn=vr.exports,_r={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rt),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(p){var m;return m=a.call(this,p)||this,m.type=n.ID,m}var d=l.prototype;return d.valueToString=function(){return"#"+a.prototype.valueToString.call(this)},l}(r.default);e.default=u,t.exports=e.default})(_r,_r.exports);var Un=_r.exports,yr={exports:{}},Cr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=o(gr),n=Fe,i=o(rt);function o(p){return p&&p.__esModule?p:{default:p}}function s(p,m){for(var C=0;C<m.length;C++){var x=m[C];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(p,x.key,x)}}function u(p,m,C){return m&&s(p.prototype,m),C&&s(p,C),p}function a(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,l(p,m)}function l(p,m){return l=Object.setPrototypeOf||function(x,h){return x.__proto__=h,x},l(p,m)}var d=function(p){a(m,p);function m(){return p.apply(this,arguments)||this}var C=m.prototype;return C.qualifiedName=function(h){return this.namespace?this.namespaceString+"|"+h:h},C.valueToString=function(){return this.qualifiedName(p.prototype.valueToString.call(this))},u(m,[{key:"namespace",get:function(){return this._namespace},set:function(h){if(h===!0||h==="*"||h==="&"){this._namespace=h,this.raws&&delete this.raws.namespace;return}var y=(0,r.default)(h,{isIdentifier:!0});this._namespace=h,y!==h?((0,n.ensureObject)(this,"raws"),this.raws.namespace=y):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(h){this.namespace=h}},{key:"namespaceString",get:function(){if(this.namespace){var h=this.stringifyProperty("namespace");return h===!0?"":h}else return""}}]),m}(i.default);e.default=d,t.exports=e.default})(Cr,Cr.exports);var br=Cr.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(br),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.TAG,p}return l}(r.default);e.default=u,t.exports=e.default})(yr,yr.exports);var Zn=yr.exports,xr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rt),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.STRING,p}return l}(r.default);e.default=u,t.exports=e.default})(xr,xr.exports);var Yn=xr.exports,wr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(hr),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(p){var m;return m=a.call(this,p)||this,m.type=n.PSEUDO,m}var d=l.prototype;return d.toString=function(){var m=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),m,this.rawSpaceAfter].join("")},l}(r.default);e.default=u,t.exports=e.default})(wr,wr.exports);var Xn=wr.exports,Sr={},$a=La;function La(t,e){if(Tr("noDeprecation"))return t;var r=!1;function n(){if(!r){if(Tr("throwDeprecation"))throw new Error(e);Tr("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function Tr(t){try{if(!ot.localStorage)return!1}catch{return!1}var e=ot.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}(function(t){t.__esModule=!0,t.unescapeValue=y,t.default=void 0;var e=s(gr),r=s(Nn),n=s(br),i=de,o;function s($){return $&&$.__esModule?$:{default:$}}function u($,H){for(var K=0;K<H.length;K++){var U=H[K];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty($,U.key,U)}}function a($,H,K){return H&&u($.prototype,H),K&&u($,K),$}function l($,H){$.prototype=Object.create(H.prototype),$.prototype.constructor=$,d($,H)}function d($,H){return d=Object.setPrototypeOf||function(U,b){return U.__proto__=b,U},d($,H)}var p=$a,m=/^('|")([^]*)\1$/,C=p(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),x=p(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),h=p(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function y($){var H=!1,K=null,U=$,b=U.match(m);return b&&(K=b[1],U=b[2]),U=(0,r.default)(U),U!==$&&(H=!0),{deprecatedUsage:H,unescaped:U,quoteMark:K}}function E($){if($.quoteMark!==void 0||$.value===void 0)return $;h();var H=y($.value),K=H.quoteMark,U=H.unescaped;return $.raws||($.raws={}),$.raws.value===void 0&&($.raws.value=$.value),$.value=U,$.quoteMark=K,$}var P=function($){l(H,$);function H(U){var b;return U===void 0&&(U={}),b=$.call(this,E(U))||this,b.type=i.ATTRIBUTE,b.raws=b.raws||{},Object.defineProperty(b.raws,"unquoted",{get:p(function(){return b.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:p(function(){return b.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),b._constructed=!0,b}var K=H.prototype;return K.getQuotedValue=function(b){b===void 0&&(b={});var z=this._determineQuoteMark(b),q=S[z],D=(0,e.default)(this._value,q);return D},K._determineQuoteMark=function(b){return b.smart?this.smartQuoteMark(b):this.preferredQuoteMark(b)},K.setValue=function(b,z){z===void 0&&(z={}),this._value=b,this._quoteMark=this._determineQuoteMark(z),this._syncRawValue()},K.smartQuoteMark=function(b){var z=this.value,q=z.replace(/[^']/g,"").length,D=z.replace(/[^"]/g,"").length;if(q+D===0){var X=(0,e.default)(z,{isIdentifier:!0});if(X===z)return H.NO_QUOTE;var Q=this.preferredQuoteMark(b);if(Q===H.NO_QUOTE){var I=this.quoteMark||b.quoteMark||H.DOUBLE_QUOTE,T=S[I],O=(0,e.default)(z,T);if(O.length<X.length)return I}return Q}else return D===q?this.preferredQuoteMark(b):D<q?H.DOUBLE_QUOTE:H.SINGLE_QUOTE},K.preferredQuoteMark=function(b){var z=b.preferCurrentQuoteMark?this.quoteMark:b.quoteMark;return z===void 0&&(z=b.preferCurrentQuoteMark?b.quoteMark:this.quoteMark),z===void 0&&(z=H.DOUBLE_QUOTE),z},K._syncRawValue=function(){var b=(0,e.default)(this._value,S[this.quoteMark]);b===this._value?this.raws&&delete this.raws.value:this.raws.value=b},K._handleEscapes=function(b,z){if(this._constructed){var q=(0,e.default)(z,{isIdentifier:!0});q!==z?this.raws[b]=q:delete this.raws[b]}},K._spacesFor=function(b){var z={before:"",after:""},q=this.spaces[b]||{},D=this.raws.spaces&&this.raws.spaces[b]||{};return Object.assign(z,q,D)},K._stringFor=function(b,z,q){z===void 0&&(z=b),q===void 0&&(q=A);var D=this._spacesFor(z);return q(this.stringifyProperty(b),D)},K.offsetOf=function(b){var z=1,q=this._spacesFor("attribute");if(z+=q.before.length,b==="namespace"||b==="ns")return this.namespace?z:-1;if(b==="attributeNS"||(z+=this.namespaceString.length,this.namespace&&(z+=1),b==="attribute"))return z;z+=this.stringifyProperty("attribute").length,z+=q.after.length;var D=this._spacesFor("operator");z+=D.before.length;var X=this.stringifyProperty("operator");if(b==="operator")return X?z:-1;z+=X.length,z+=D.after.length;var Q=this._spacesFor("value");z+=Q.before.length;var I=this.stringifyProperty("value");if(b==="value")return I?z:-1;z+=I.length,z+=Q.after.length;var T=this._spacesFor("insensitive");return z+=T.before.length,b==="insensitive"&&this.insensitive?z:-1},K.toString=function(){var b=this,z=[this.rawSpaceBefore,"["];return z.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(z.push(this._stringFor("operator")),z.push(this._stringFor("value")),z.push(this._stringFor("insensitiveFlag","insensitive",function(q,D){return q.length>0&&!b.quoted&&D.before.length===0&&!(b.spaces.value&&b.spaces.value.after)&&(D.before=" "),A(q,D)}))),z.push("]"),z.push(this.rawSpaceAfter),z.join("")},a(H,[{key:"quoted",get:function(){var b=this.quoteMark;return b==="'"||b==='"'},set:function(b){x()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(b){if(!this._constructed){this._quoteMark=b;return}this._quoteMark!==b&&(this._quoteMark=b,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(b){if(this._constructed){var z=y(b),q=z.deprecatedUsage,D=z.unescaped,X=z.quoteMark;if(q&&C(),D===this._value&&X===this._quoteMark)return;this._value=D,this._quoteMark=X,this._syncRawValue()}else this._value=b}},{key:"attribute",get:function(){return this._attribute},set:function(b){this._handleEscapes("attribute",b),this._attribute=b}}]),H}(n.default);t.default=P,P.NO_QUOTE=null,P.SINGLE_QUOTE="'",P.DOUBLE_QUOTE='"';var S=(o={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},o[null]={isIdentifier:!0},o);function A($,H){return""+H.before+$+H.after}})(Sr);var kr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(br),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.UNIVERSAL,p.value="*",p}return l}(r.default);e.default=u,t.exports=e.default})(kr,kr.exports);var Qn=kr.exports,Mr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rt),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.COMBINATOR,p}return l}(r.default);e.default=u,t.exports=e.default})(Mr,Mr.exports);var Vn=Mr.exports,Er={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(rt),n=de;function i(a){return a&&a.__esModule?a:{default:a}}function o(a,l){a.prototype=Object.create(l.prototype),a.prototype.constructor=a,s(a,l)}function s(a,l){return s=Object.setPrototypeOf||function(p,m){return p.__proto__=m,p},s(a,l)}var u=function(a){o(l,a);function l(d){var p;return p=a.call(this,d)||this,p.type=n.NESTING,p.value="&",p}return l}(r.default);e.default=u,t.exports=e.default})(Er,Er.exports);var Kn=Er.exports,$r={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,o){return i-o})}t.exports=e.default})($r,$r.exports);var Da=$r.exports,Jn={},te={};te.__esModule=!0,te.combinator=te.word=te.comment=te.str=te.tab=te.newline=te.feed=te.cr=te.backslash=te.bang=te.slash=te.doubleQuote=te.singleQuote=te.space=te.greaterThan=te.pipe=te.equals=te.plus=te.caret=te.tilde=te.dollar=te.closeSquare=te.openSquare=te.closeParenthesis=te.openParenthesis=te.semicolon=te.colon=te.comma=te.at=te.asterisk=te.ampersand=void 0;var Pa=38;te.ampersand=Pa;var Oa=42;te.asterisk=Oa;var za=64;te.at=za;var Ba=44;te.comma=Ba;var Ia=58;te.colon=Ia;var Fa=59;te.semicolon=Fa;var Aa=40;te.openParenthesis=Aa;var Ra=41;te.closeParenthesis=Ra;var Ha=91;te.openSquare=Ha;var Na=93;te.closeSquare=Na;var ja=36;te.dollar=ja;var Wa=126;te.tilde=Wa;var Ga=94;te.caret=Ga;var qa=43;te.plus=qa;var Ua=61;te.equals=Ua;var Za=124;te.pipe=Za;var Ya=62;te.greaterThan=Ya;var Xa=32;te.space=Xa;var ei=39;te.singleQuote=ei;var Qa=34;te.doubleQuote=Qa;var Va=47;te.slash=Va;var Ka=33;te.bang=Ka;var Ja=92;te.backslash=Ja;var eo=13;te.cr=eo;var to=12;te.feed=to;var ro=10;te.newline=ro;var no=9;te.tab=no;var io=ei;te.str=io;var so=-1;te.comment=so;var ao=-2;te.word=ao;var oo=-3;te.combinator=oo,function(t){t.__esModule=!0,t.default=x,t.FIELDS=void 0;var e=o(te),r,n;function i(){if(typeof WeakMap!="function")return null;var h=new WeakMap;return i=function(){return h},h}function o(h){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var y=i();if(y&&y.has(h))return y.get(h);var E={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in h)if(Object.prototype.hasOwnProperty.call(h,S)){var A=P?Object.getOwnPropertyDescriptor(h,S):null;A&&(A.get||A.set)?Object.defineProperty(E,S,A):E[S]=h[S]}return E.default=h,y&&y.set(h,E),E}for(var s=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),u=(n={},n[e.space]=!0,n[e.tab]=!0,n[e.newline]=!0,n[e.cr]=!0,n[e.feed]=!0,n[e.ampersand]=!0,n[e.asterisk]=!0,n[e.bang]=!0,n[e.comma]=!0,n[e.colon]=!0,n[e.semicolon]=!0,n[e.openParenthesis]=!0,n[e.closeParenthesis]=!0,n[e.openSquare]=!0,n[e.closeSquare]=!0,n[e.singleQuote]=!0,n[e.doubleQuote]=!0,n[e.plus]=!0,n[e.pipe]=!0,n[e.tilde]=!0,n[e.greaterThan]=!0,n[e.equals]=!0,n[e.dollar]=!0,n[e.caret]=!0,n[e.slash]=!0,n),a={},l="0123456789abcdefABCDEF",d=0;d<l.length;d++)a[l.charCodeAt(d)]=!0;function p(h,y){var E=y,P;do{if(P=h.charCodeAt(E),u[P])return E-1;P===e.backslash?E=m(h,E)+1:E++}while(E<h.length);return E-1}function m(h,y){var E=y,P=h.charCodeAt(E+1);if(!s[P])if(a[P]){var S=0;do E++,S++,P=h.charCodeAt(E+1);while(a[P]&&S<6);S<6&&P===e.space&&E++}else E++;return E}var C={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=C;function x(h){var y=[],E=h.css.valueOf(),P=E,S=P.length,A=-1,$=1,H=0,K=0,U,b,z,q,D,X,Q,I,T,O,R,ie,_;function Z(F,B){if(h.safe)E+=B,T=E.length-1;else throw h.error("Unclosed "+F,$,H-A,H)}for(;H<S;){switch(U=E.charCodeAt(H),U===e.newline&&(A=H,$+=1),U){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:T=H;do T+=1,U=E.charCodeAt(T),U===e.newline&&(A=T,$+=1);while(U===e.space||U===e.newline||U===e.tab||U===e.cr||U===e.feed);_=e.space,q=$,z=T-A-1,K=T;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:T=H;do T+=1,U=E.charCodeAt(T);while(U===e.plus||U===e.greaterThan||U===e.tilde||U===e.pipe);_=e.combinator,q=$,z=H-A,K=T;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:T=H,_=U,q=$,z=H-A,K=T+1;break;case e.singleQuote:case e.doubleQuote:ie=U===e.singleQuote?"'":'"',T=H;do for(D=!1,T=E.indexOf(ie,T+1),T===-1&&Z("quote",ie),X=T;E.charCodeAt(X-1)===e.backslash;)X-=1,D=!D;while(D);_=e.str,q=$,z=H-A,K=T+1;break;default:U===e.slash&&E.charCodeAt(H+1)===e.asterisk?(T=E.indexOf("*/",H+2)+1,T===0&&Z("comment","*/"),b=E.slice(H,T+1),I=b.split(`
3
- `),Q=I.length-1,Q>0?(O=$+Q,R=T-I[Q].length):(O=$,R=A),_=e.comment,$=O,q=O,z=T-R):U===e.slash?(T=H,_=U,q=$,z=H-A,K=T+1):(T=p(E,H),_=e.word,q=$,z=T-A),K=T+1;break}y.push([_,$,H-A,q,z,H,K]),R&&(A=R,R=null),H=K}return y}}(Jn),function(t,e){e.__esModule=!0,e.default=void 0;var r=K(jn),n=K(Wn),i=K(Gn),o=K(qn),s=K(Un),u=K(Zn),a=K(Yn),l=K(Xn),d=H(Sr),p=K(Qn),m=K(Vn),C=K(Kn),x=K(Da),h=H(Jn),y=H(te),E=H(de),P=Fe,S,A;function $(){if(typeof WeakMap!="function")return null;var Z=new WeakMap;return $=function(){return Z},Z}function H(Z){if(Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var F=$();if(F&&F.has(Z))return F.get(Z);var B={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in Z)if(Object.prototype.hasOwnProperty.call(Z,j)){var V=w?Object.getOwnPropertyDescriptor(Z,j):null;V&&(V.get||V.set)?Object.defineProperty(B,j,V):B[j]=Z[j]}return B.default=Z,F&&F.set(Z,B),B}function K(Z){return Z&&Z.__esModule?Z:{default:Z}}function U(Z,F){for(var B=0;B<F.length;B++){var w=F[B];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(Z,w.key,w)}}function b(Z,F,B){return F&&U(Z.prototype,F),B&&U(Z,B),Z}var z=(S={},S[y.space]=!0,S[y.cr]=!0,S[y.feed]=!0,S[y.newline]=!0,S[y.tab]=!0,S),q=Object.assign({},z,(A={},A[y.comment]=!0,A));function D(Z){return{line:Z[h.FIELDS.START_LINE],column:Z[h.FIELDS.START_COL]}}function X(Z){return{line:Z[h.FIELDS.END_LINE],column:Z[h.FIELDS.END_COL]}}function Q(Z,F,B,w){return{start:{line:Z,column:F},end:{line:B,column:w}}}function I(Z){return Q(Z[h.FIELDS.START_LINE],Z[h.FIELDS.START_COL],Z[h.FIELDS.END_LINE],Z[h.FIELDS.END_COL])}function T(Z,F){if(Z)return Q(Z[h.FIELDS.START_LINE],Z[h.FIELDS.START_COL],F[h.FIELDS.END_LINE],F[h.FIELDS.END_COL])}function O(Z,F){var B=Z[F];if(typeof B=="string")return B.indexOf("\\")!==-1&&((0,P.ensureObject)(Z,"raws"),Z[F]=(0,P.unesc)(B),Z.raws[F]===void 0&&(Z.raws[F]=B)),Z}function R(Z,F){for(var B=-1,w=[];(B=Z.indexOf(F,B+1))!==-1;)w.push(B);return w}function ie(){var Z=Array.prototype.concat.apply([],arguments);return Z.filter(function(F,B){return B===Z.indexOf(F)})}var _=function(){function Z(B,w){w===void 0&&(w={}),this.rule=B,this.options=Object.assign({lossy:!1,safe:!1},w),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var j=T(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:j}),this.root.errorGenerator=this._errorGenerator();var V=new n.default({source:{start:{line:1,column:1}}});this.root.append(V),this.current=V,this.loop()}var F=Z.prototype;return F._errorGenerator=function(){var w=this;return function(j,V){return typeof w.rule=="string"?new Error(j):w.rule.error(j,V)}},F.attribute=function(){var w=[],j=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==y.closeSquare;)w.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==y.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var V=w.length,L={source:Q(j[1],j[2],this.currToken[3],this.currToken[4]),sourceIndex:j[h.FIELDS.START_POS]};if(V===1&&!~[y.word].indexOf(w[0][h.FIELDS.TYPE]))return this.expected("attribute",w[0][h.FIELDS.START_POS]);for(var ne=0,ue="",ce="",se=null,he=!1;ne<V;){var Te=w[ne],le=this.content(Te),ye=w[ne+1];switch(Te[h.FIELDS.TYPE]){case y.space:if(he=!0,this.options.lossy)break;if(se){(0,P.ensureObject)(L,"spaces",se);var Ae=L.spaces[se].after||"";L.spaces[se].after=Ae+le;var Be=(0,P.getProp)(L,"raws","spaces",se,"after")||null;Be&&(L.raws.spaces[se].after=Be+le)}else ue=ue+le,ce=ce+le;break;case y.asterisk:if(ye[h.FIELDS.TYPE]===y.equals)L.operator=le,se="operator";else if((!L.namespace||se==="namespace"&&!he)&&ye){ue&&((0,P.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,P.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ue,ce=""),L.namespace=(L.namespace||"")+le;var Me=(0,P.getProp)(L,"raws","namespace")||null;Me&&(L.raws.namespace+=le),se="namespace"}he=!1;break;case y.dollar:if(se==="value"){var ke=(0,P.getProp)(L,"raws","value");L.value+="$",ke&&(L.raws.value=ke+"$");break}case y.caret:ye[h.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),he=!1;break;case y.combinator:if(le==="~"&&ye[h.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),le!=="|"){he=!1;break}ye[h.FIELDS.TYPE]===y.equals?(L.operator=le,se="operator"):!L.namespace&&!L.attribute&&(L.namespace=!0),he=!1;break;case y.word:if(ye&&this.content(ye)==="|"&&w[ne+2]&&w[ne+2][h.FIELDS.TYPE]!==y.equals&&!L.operator&&!L.namespace)L.namespace=le,se="namespace";else if(!L.attribute||se==="attribute"&&!he){ue&&((0,P.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,P.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ce,ce=""),L.attribute=(L.attribute||"")+le;var $e=(0,P.getProp)(L,"raws","attribute")||null;$e&&(L.raws.attribute+=le),se="attribute"}else if(!L.value&&L.value!==""||se==="value"&&!he){var Ee=(0,P.unesc)(le),Le=(0,P.getProp)(L,"raws","value")||"",De=L.value||"";L.value=De+Ee,L.quoteMark=null,(Ee!==le||Le)&&((0,P.ensureObject)(L,"raws"),L.raws.value=(Le||De)+le),se="value"}else{var Je=le==="i"||le==="I";(L.value||L.value==="")&&(L.quoteMark||he)?(L.insensitive=Je,(!Je||le==="I")&&((0,P.ensureObject)(L,"raws"),L.raws.insensitiveFlag=le),se="insensitive",ue&&((0,P.ensureObject)(L,"spaces","insensitive"),L.spaces.insensitive.before=ue,ue=""),ce&&((0,P.ensureObject)(L,"raws","spaces","insensitive"),L.raws.spaces.insensitive.before=ce,ce="")):(L.value||L.value==="")&&(se="value",L.value+=le,L.raws.value&&(L.raws.value+=le))}he=!1;break;case y.str:if(!L.attribute||!L.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Te[h.FIELDS.START_POS]});var Xe=(0,d.unescapeValue)(le),lt=Xe.unescaped,Ct=Xe.quoteMark;L.value=lt,L.quoteMark=Ct,se="value",(0,P.ensureObject)(L,"raws"),L.raws.value=le,he=!1;break;case y.equals:if(!L.attribute)return this.expected("attribute",Te[h.FIELDS.START_POS],le);if(L.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Te[h.FIELDS.START_POS]});L.operator=L.operator?L.operator+le:le,se="operator",he=!1;break;case y.comment:if(se)if(he||ye&&ye[h.FIELDS.TYPE]===y.space||se==="insensitive"){var Ge=(0,P.getProp)(L,"spaces",se,"after")||"",pt=(0,P.getProp)(L,"raws","spaces",se,"after")||Ge;(0,P.ensureObject)(L,"raws","spaces",se),L.raws.spaces[se].after=pt+le}else{var Bt=L[se]||"",It=(0,P.getProp)(L,"raws",se)||Bt;(0,P.ensureObject)(L,"raws"),L.raws[se]=It+le}else ce=ce+le;break;default:return this.error('Unexpected "'+le+'" found.',{index:Te[h.FIELDS.START_POS]})}ne++}O(L,"attribute"),O(L,"namespace"),this.newNode(new d.default(L)),this.position++},F.parseWhitespaceEquivalentTokens=function(w){w<0&&(w=this.tokens.length);var j=this.position,V=[],L="",ne=void 0;do if(z[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(L+=this.content());else if(this.currToken[h.FIELDS.TYPE]===y.comment){var ue={};L&&(ue.before=L,L=""),ne=new o.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ue}),V.push(ne)}while(++this.position<w);if(L){if(ne)ne.spaces.after=L;else if(!this.options.lossy){var ce=this.tokens[j],se=this.tokens[this.position-1];V.push(new a.default({value:"",source:Q(ce[h.FIELDS.START_LINE],ce[h.FIELDS.START_COL],se[h.FIELDS.END_LINE],se[h.FIELDS.END_COL]),sourceIndex:ce[h.FIELDS.START_POS],spaces:{before:L,after:""}}))}}return V},F.convertWhitespaceNodesToSpace=function(w,j){var V=this;j===void 0&&(j=!1);var L="",ne="";w.forEach(function(ce){var se=V.lossySpace(ce.spaces.before,j),he=V.lossySpace(ce.rawSpaceBefore,j);L+=se+V.lossySpace(ce.spaces.after,j&&se.length===0),ne+=se+ce.value+V.lossySpace(ce.rawSpaceAfter,j&&he.length===0)}),ne===L&&(ne=void 0);var ue={space:L,rawSpace:ne};return ue},F.isNamedCombinator=function(w){return w===void 0&&(w=this.position),this.tokens[w+0]&&this.tokens[w+0][h.FIELDS.TYPE]===y.slash&&this.tokens[w+1]&&this.tokens[w+1][h.FIELDS.TYPE]===y.word&&this.tokens[w+2]&&this.tokens[w+2][h.FIELDS.TYPE]===y.slash},F.namedCombinator=function(){if(this.isNamedCombinator()){var w=this.content(this.tokens[this.position+1]),j=(0,P.unesc)(w).toLowerCase(),V={};j!==w&&(V.value="/"+w+"/");var L=new m.default({value:"/"+j+"/",source:Q(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:V});return this.position=this.position+3,L}else this.unexpected()},F.combinator=function(){var w=this;if(this.content()==="|")return this.namespace();var j=this.locateNextMeaningfulToken(this.position);if(j<0||this.tokens[j][h.FIELDS.TYPE]===y.comma){var V=this.parseWhitespaceEquivalentTokens(j);if(V.length>0){var L=this.current.last;if(L){var ne=this.convertWhitespaceNodesToSpace(V),ue=ne.space,ce=ne.rawSpace;ce!==void 0&&(L.rawSpaceAfter+=ce),L.spaces.after+=ue}else V.forEach(function(Le){return w.newNode(Le)})}return}var se=this.currToken,he=void 0;j>this.position&&(he=this.parseWhitespaceEquivalentTokens(j));var Te;if(this.isNamedCombinator()?Te=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===y.combinator?(Te=new m.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):z[this.currToken[h.FIELDS.TYPE]]||he||this.unexpected(),Te){if(he){var le=this.convertWhitespaceNodesToSpace(he),ye=le.space,Ae=le.rawSpace;Te.spaces.before=ye,Te.rawSpaceBefore=Ae}}else{var Be=this.convertWhitespaceNodesToSpace(he,!0),Me=Be.space,ke=Be.rawSpace;ke||(ke=Me);var $e={},Ee={spaces:{}};Me.endsWith(" ")&&ke.endsWith(" ")?($e.before=Me.slice(0,Me.length-1),Ee.spaces.before=ke.slice(0,ke.length-1)):Me.startsWith(" ")&&ke.startsWith(" ")?($e.after=Me.slice(1),Ee.spaces.after=ke.slice(1)):Ee.value=ke,Te=new m.default({value:" ",source:T(se,this.tokens[this.position-1]),sourceIndex:se[h.FIELDS.START_POS],spaces:$e,raws:Ee})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===y.space&&(Te.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Te)},F.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var w=new n.default({source:{start:D(this.tokens[this.position+1])}});this.current.parent.append(w),this.current=w,this.position++},F.comment=function(){var w=this.currToken;this.newNode(new o.default({value:this.content(),source:I(w),sourceIndex:w[h.FIELDS.START_POS]})),this.position++},F.error=function(w,j){throw this.root.error(w,j)},F.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},F.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},F.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},F.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},F.namespace=function(){var w=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===y.word)return this.position++,this.word(w);if(this.nextToken[h.FIELDS.TYPE]===y.asterisk)return this.position++,this.universal(w)},F.nesting=function(){if(this.nextToken){var w=this.content(this.nextToken);if(w==="|"){this.position++;return}}var j=this.currToken;this.newNode(new C.default({value:this.content(),source:I(j),sourceIndex:j[h.FIELDS.START_POS]})),this.position++},F.parentheses=function(){var w=this.current.last,j=1;if(this.position++,w&&w.type===E.PSEUDO){var V=new n.default({source:{start:D(this.tokens[this.position-1])}}),L=this.current;for(w.append(V),this.current=V;this.position<this.tokens.length&&j;)this.currToken[h.FIELDS.TYPE]===y.openParenthesis&&j++,this.currToken[h.FIELDS.TYPE]===y.closeParenthesis&&j--,j?this.parse():(this.current.source.end=X(this.currToken),this.current.parent.source.end=X(this.currToken),this.position++);this.current=L}else{for(var ne=this.currToken,ue="(",ce;this.position<this.tokens.length&&j;)this.currToken[h.FIELDS.TYPE]===y.openParenthesis&&j++,this.currToken[h.FIELDS.TYPE]===y.closeParenthesis&&j--,ce=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;w?w.appendToPropertyAndEscape("value",ue,ue):this.newNode(new a.default({value:ue,source:Q(ne[h.FIELDS.START_LINE],ne[h.FIELDS.START_COL],ce[h.FIELDS.END_LINE],ce[h.FIELDS.END_COL]),sourceIndex:ne[h.FIELDS.START_POS]}))}if(j)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},F.pseudo=function(){for(var w=this,j="",V=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===y.colon;)j+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===y.word)this.splitWord(!1,function(L,ne){j+=L,w.newNode(new l.default({value:j,source:T(V,w.currToken),sourceIndex:V[h.FIELDS.START_POS]})),ne>1&&w.nextToken&&w.nextToken[h.FIELDS.TYPE]===y.openParenthesis&&w.error("Misplaced parenthesis.",{index:w.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},F.space=function(){var w=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===y.comma||this.prevToken[h.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(function(j){return j.type==="comment"})?(this.spaces=this.optionalSpace(w),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===y.comma||this.nextToken[h.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(w),this.position++):this.combinator()},F.string=function(){var w=this.currToken;this.newNode(new a.default({value:this.content(),source:I(w),sourceIndex:w[h.FIELDS.START_POS]})),this.position++},F.universal=function(w){var j=this.nextToken;if(j&&this.content(j)==="|")return this.position++,this.namespace();var V=this.currToken;this.newNode(new p.default({value:this.content(),source:I(V),sourceIndex:V[h.FIELDS.START_POS]}),w),this.position++},F.splitWord=function(w,j){for(var V=this,L=this.nextToken,ne=this.content();L&&~[y.dollar,y.caret,y.equals,y.word].indexOf(L[h.FIELDS.TYPE]);){this.position++;var ue=this.content();if(ne+=ue,ue.lastIndexOf("\\")===ue.length-1){var ce=this.nextToken;ce&&ce[h.FIELDS.TYPE]===y.space&&(ne+=this.requiredSpace(this.content(ce)),this.position++)}L=this.nextToken}var se=R(ne,".").filter(function(ye){var Ae=ne[ye-1]==="\\",Be=/^\d+\.\d+%$/.test(ne);return!Ae&&!Be}),he=R(ne,"#").filter(function(ye){return ne[ye-1]!=="\\"}),Te=R(ne,"#{");Te.length&&(he=he.filter(function(ye){return!~Te.indexOf(ye)}));var le=(0,x.default)(ie([0].concat(se,he)));le.forEach(function(ye,Ae){var Be=le[Ae+1]||ne.length,Me=ne.slice(ye,Be);if(Ae===0&&j)return j.call(V,Me,le.length);var ke,$e=V.currToken,Ee=$e[h.FIELDS.START_POS]+le[Ae],Le=Q($e[1],$e[2]+ye,$e[3],$e[2]+(Be-1));if(~se.indexOf(ye)){var De={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new i.default(O(De,"value"))}else if(~he.indexOf(ye)){var Je={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new s.default(O(Je,"value"))}else{var Xe={value:Me,source:Le,sourceIndex:Ee};O(Xe,"value"),ke=new u.default(Xe)}V.newNode(ke,w),w=null}),this.position++},F.word=function(w){var j=this.nextToken;return j&&this.content(j)==="|"?(this.position++,this.namespace()):this.splitWord(w)},F.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},F.parse=function(w){switch(this.currToken[h.FIELDS.TYPE]){case y.space:this.space();break;case y.comment:this.comment();break;case y.openParenthesis:this.parentheses();break;case y.closeParenthesis:w&&this.missingParenthesis();break;case y.openSquare:this.attribute();break;case y.dollar:case y.caret:case y.equals:case y.word:this.word();break;case y.colon:this.pseudo();break;case y.comma:this.comma();break;case y.asterisk:this.universal();break;case y.ampersand:this.nesting();break;case y.slash:case y.combinator:this.combinator();break;case y.str:this.string();break;case y.closeSquare:this.missingSquareBracket();case y.semicolon:this.missingBackslash();default:this.unexpected()}},F.expected=function(w,j,V){if(Array.isArray(w)){var L=w.pop();w=w.join(", ")+" or "+L}var ne=/^[aeiou]/.test(w[0])?"an":"a";return V?this.error("Expected "+ne+" "+w+', found "'+V+'" instead.',{index:j}):this.error("Expected "+ne+" "+w+".",{index:j})},F.requiredSpace=function(w){return this.options.lossy?" ":w},F.optionalSpace=function(w){return this.options.lossy?"":w},F.lossySpace=function(w,j){return this.options.lossy?j?" ":"":w},F.parseParenthesisToken=function(w){var j=this.content(w);return w[h.FIELDS.TYPE]===y.space?this.requiredSpace(j):j},F.newNode=function(w,j){return j&&(/^ +$/.test(j)&&(this.options.lossy||(this.spaces=(this.spaces||"")+j),j=!0),w.namespace=j,O(w,"namespace")),this.spaces&&(w.spaces.before=this.spaces,this.spaces=""),this.current.append(w)},F.content=function(w){return w===void 0&&(w=this.currToken),this.css.slice(w[h.FIELDS.START_POS],w[h.FIELDS.END_POS])},F.locateNextMeaningfulToken=function(w){w===void 0&&(w=this.position+1);for(var j=w;j<this.tokens.length;)if(q[this.tokens[j][h.FIELDS.TYPE]]){j++;continue}else return j;return-1},b(Z,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Z}();e.default=_,t.exports=e.default}(ir,ir.exports);var lo=ir.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(lo);function n(o){return o&&o.__esModule?o:{default:o}}var i=function(){function o(u,a){this.func=u||function(){},this.funcRes=null,this.options=a}var s=o.prototype;return s._shouldUpdateSelector=function(a,l){l===void 0&&(l={});var d=Object.assign({},this.options,l);return d.updateSelector===!1?!1:typeof a!="string"},s._isLossy=function(a){a===void 0&&(a={});var l=Object.assign({},this.options,a);return l.lossless===!1},s._root=function(a,l){l===void 0&&(l={});var d=new r.default(a,this._parseOptions(l));return d.root},s._parseOptions=function(a){return{lossy:this._isLossy(a)}},s._run=function(a,l){var d=this;return l===void 0&&(l={}),new Promise(function(p,m){try{var C=d._root(a,l);Promise.resolve(d.func(C)).then(function(x){var h=void 0;return d._shouldUpdateSelector(a,l)&&(h=C.toString(),a.selector=h),{transform:x,root:C,string:h}}).then(p,m)}catch(x){m(x);return}})},s._runSync=function(a,l){l===void 0&&(l={});var d=this._root(a,l),p=this.func(d);if(p&&typeof p.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var m=void 0;return l.updateSelector&&typeof a!="string"&&(m=d.toString(),a.selector=m),{transform:p,root:d,string:m}},s.ast=function(a,l){return this._run(a,l).then(function(d){return d.root})},s.astSync=function(a,l){return this._runSync(a,l).root},s.transform=function(a,l){return this._run(a,l).then(function(d){return d.transform})},s.transformSync=function(a,l){return this._runSync(a,l).transform},s.process=function(a,l){return this._run(a,l).then(function(d){return d.string||d.root.toString()})},s.processSync=function(a,l){var d=this._runSync(a,l);return d.string||d.root.toString()},o}();e.default=i,t.exports=e.default})(nr,nr.exports);var co=nr.exports,ti={},_e={};_e.__esModule=!0,_e.universal=_e.tag=_e.string=_e.selector=_e.root=_e.pseudo=_e.nesting=_e.id=_e.comment=_e.combinator=_e.className=_e.attribute=void 0;var uo=He(Sr),ho=He(Gn),fo=He(Vn),po=He(qn),mo=He(Un),go=He(Kn),vo=He(Xn),_o=He(jn),yo=He(Wn),Co=He(Yn),bo=He(Zn),xo=He(Qn);function He(t){return t&&t.__esModule?t:{default:t}}var wo=function(e){return new uo.default(e)};_e.attribute=wo;var So=function(e){return new ho.default(e)};_e.className=So;var To=function(e){return new fo.default(e)};_e.combinator=To;var ko=function(e){return new po.default(e)};_e.comment=ko;var Mo=function(e){return new mo.default(e)};_e.id=Mo;var Eo=function(e){return new go.default(e)};_e.nesting=Eo;var $o=function(e){return new vo.default(e)};_e.pseudo=$o;var Lo=function(e){return new _o.default(e)};_e.root=Lo;var Do=function(e){return new yo.default(e)};_e.selector=Do;var Po=function(e){return new Co.default(e)};_e.string=Po;var Oo=function(e){return new bo.default(e)};_e.tag=Oo;var zo=function(e){return new xo.default(e)};_e.universal=zo;var me={};me.__esModule=!0,me.isNode=Lr,me.isPseudoElement=ii,me.isPseudoClass=qo,me.isContainer=Uo,me.isNamespace=Zo,me.isUniversal=me.isTag=me.isString=me.isSelector=me.isRoot=me.isPseudo=me.isNesting=me.isIdentifier=me.isComment=me.isCombinator=me.isClassName=me.isAttribute=void 0;var be=de,Ie,Bo=(Ie={},Ie[be.ATTRIBUTE]=!0,Ie[be.CLASS]=!0,Ie[be.COMBINATOR]=!0,Ie[be.COMMENT]=!0,Ie[be.ID]=!0,Ie[be.NESTING]=!0,Ie[be.PSEUDO]=!0,Ie[be.ROOT]=!0,Ie[be.SELECTOR]=!0,Ie[be.STRING]=!0,Ie[be.TAG]=!0,Ie[be.UNIVERSAL]=!0,Ie);function Lr(t){return typeof t=="object"&&Bo[t.type]}function Ne(t,e){return Lr(e)&&e.type===t}var ri=Ne.bind(null,be.ATTRIBUTE);me.isAttribute=ri;var Io=Ne.bind(null,be.CLASS);me.isClassName=Io;var Fo=Ne.bind(null,be.COMBINATOR);me.isCombinator=Fo;var Ao=Ne.bind(null,be.COMMENT);me.isComment=Ao;var Ro=Ne.bind(null,be.ID);me.isIdentifier=Ro;var Ho=Ne.bind(null,be.NESTING);me.isNesting=Ho;var Dr=Ne.bind(null,be.PSEUDO);me.isPseudo=Dr;var No=Ne.bind(null,be.ROOT);me.isRoot=No;var jo=Ne.bind(null,be.SELECTOR);me.isSelector=jo;var Wo=Ne.bind(null,be.STRING);me.isString=Wo;var ni=Ne.bind(null,be.TAG);me.isTag=ni;var Go=Ne.bind(null,be.UNIVERSAL);me.isUniversal=Go;function ii(t){return Dr(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function qo(t){return Dr(t)&&!ii(t)}function Uo(t){return!!(Lr(t)&&t.walk)}function Zo(t){return ri(t)||ni(t)}(function(t){t.__esModule=!0;var e=de;Object.keys(e).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===e[i]||(t[i]=e[i])});var r=_e;Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===r[i]||(t[i]=r[i])});var n=me;Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===n[i]||(t[i]=n[i])})})(ti),function(t,e){e.__esModule=!0,e.default=void 0;var r=s(co),n=o(ti);function i(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return i=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var d=i();if(d&&d.has(l))return d.get(l);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in l)if(Object.prototype.hasOwnProperty.call(l,C)){var x=m?Object.getOwnPropertyDescriptor(l,C):null;x&&(x.get||x.set)?Object.defineProperty(p,C,x):p[C]=l[C]}return p.default=l,d&&d.set(l,p),p}function s(l){return l&&l.__esModule?l:{default:l}}var u=function(d){return new r.default(d)};Object.assign(u,n),delete u.__esModule;var a=u;e.default=a,t.exports=e.default}(rr,rr.exports);var Yo=rr.exports;const Xo=na,si=Yo,Qo=si();var Vo={isUsableColor(t,e){return Xo(e)&&t!=="gray"&&e[600]},commonTrailingPseudos(t){let e=Qo.astSync(t),r=[];for(let[i,o]of e.nodes.entries())for(const[s,u]of[...o.nodes].reverse().entries()){if(u.type!=="pseudo"||!u.value.startsWith("::"))break;r[s]=r[s]||[],r[s][i]=u}let n=si.selector();for(const i of r){if(!i)continue;if(new Set([...i.map(s=>s.value)]).size>1)break;i.forEach(s=>s.remove()),n.prepend(i[0])}return n.nodes.length?[n.toString(),e.toString()]:[null,t]}};const Ko=Ns,Jo=js,e1=qs,t1=Us,{commonTrailingPseudos:r1}=Vo,ai={};function Pr(t,{className:e,modifier:r,prefix:n}){let i=n(`.not-${e}`).slice(1),o=t.startsWith(">")?`${r==="DEFAULT"?`.${e}`:`.${e}-${r}`} `:"",[s,u]=r1(t);return s?`:where(${o}${u}):not(:where([class~="${i}"],[class~="${i}"] *))${s}`:`:where(${o}${t}):not(:where([class~="${i}"],[class~="${i}"] *))`}function oi(t){return typeof t=="object"&&t!==null}function n1(t={},{target:e,className:r,modifier:n,prefix:i}){function o(s,u){return e==="legacy"?[s,u]:Array.isArray(u)?[s,u]:oi(u)?Object.values(u).some(oi)?[Pr(s,{className:r,modifier:n,prefix:i}),u,Object.fromEntries(Object.entries(u).map(([l,d])=>o(l,d)))]:[Pr(s,{className:r,modifier:n,prefix:i}),u]:[s,u]}return Object.fromEntries(Object.entries(Jo({},...Object.keys(t).filter(s=>ai[s]).map(s=>ai[s](t[s])),...e1(t.css||{}))).map(([s,u])=>o(s,u)))}var li=Ko.withOptions(({className:t="prose",target:e="modern"}={})=>function({addVariant:r,addComponents:n,theme:i,prefix:o}){let s=i("typography"),u={className:t,prefix:o};for(let[a,...l]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){l=l.length===0?[a]:l;let d=e==="legacy"?l.map(p=>`& ${p}`):l.join(", ");r(`${t}-${a}`,e==="legacy"?d:`& :is(${Pr(d,u)})`)}n(Object.keys(s).map(a=>({[a==="DEFAULT"?`.${t}`:`.${t}-${a}`]:n1(s[a],{target:e,className:t,modifier:a,prefix:o})})))},()=>({theme:{typography:t1}}));const ci=kt(li),i1=gn({__proto__:null,default:ci},[li]);var Pt={exports:{}};const Ze=In||Hs,s1={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},Pe={onprimary:Ze.white,warning:Ze.amber,error:Ze.red,info:Ze.slate,success:Ze.emerald,primary:Ze.blue,brand:s1,"video-player-progress-bar":{"base-bg":"#6c737a","progress-bg":"#0090ff","hover-bg":"#bbb","chunk-bg":"#9bcdff","tootltip-bg":"#333","transition-duration":"0.2s","bar-height":"7px"}},a1={...Pe,warning:Pe.warning[500],"warning-darken":Pe.warning[600],"warning-lighten":Pe.warning[400],success:Pe.success[500],"success-darken":Pe.success[600],"success-lighten":Pe.success[400],error:Pe.error[500],"error-darken":Pe.error[600],"error-lighten":Pe.error[400],info:Pe.info[500],"info-darken":Pe.info[600],"info-lighten":Pe.info[400],primary:Pe.primary[500],"primary-darken":Pe.primary[600],"primary-lighten":Pe.primary[400],onsurface:Ze.slate[500],onbackground:Ze.slate[700],surface:Ze.slate[50],background:Ze.white},o1={prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{ringWidth:{1:"1px"},colors:a1,lineHeight:{xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},maxWidth:{"1/12":"8.333333333%","2/12":"16.666666666%","3/12":"25%","4/12":"33.333333333%","5/12":"41.666666667%","6/12":"50%","7/12":"58.333333334%","8/12":"66.666666666%","9/12":"75%","10/12":"83.333333334%","11/12":"91.666666666%","12/12":"100%"},blur:{"video-poster":"32px"},transitionProperty:{"opacity-transform":"opacity, transform"},transitionDuration:{600:"600ms"}},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},plugins:[ci||i1],safelist:[{pattern:/e-w-(full|auto)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-grow/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-basis-(\d{1,2}\/\d{1,2}|full|auto|0)/,variants:["lg","md","sm","xs","xl"]},{pattern:/^!?e-max-w-(\d{1,2}\/\d{1,2})/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-offset-(1[0-2]|[1-9])/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-items-(start|center|end|baseline|stretch)/},{pattern:/e-self-(start|center|end|baseline|stretch)/},{pattern:/e-justify-(around|between|center|end|evenly|normal|start|stretch)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/},{pattern:/e-m[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-p[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},"e-tiny","e-caption","e-body","e-title-2","e-title-1","e-display-3","e-display-2","e-display-1",{pattern:/e-text-(xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl)/},{pattern:/e-text-(warning|error|info|success|primary|brand)-./},{pattern:/e-bg-(warning|error|info|success|primary|brand)-./}]};Pt.exports=o1;const l1=(Pt.exports==null?{}:Pt.exports).default||Pt.exports,Or=Rs(l1),ui=Or.theme.fontSize,di=Or.theme.colors,c1=[J.Dot,J.Xs,J.Sm,J.Md,J.Lg,J.Xl],u1=[J.Xs,J.Sm,J.Md,J.Lg,J.Xl,J.TwoXl],hi=[J.Xs,J.Sm,J.Md,J.Base,J.Lg,J.Xl,J.TwoXl,J.ThureeXl,J.FourXl,J.FiveX1,J.SixXl,J.SevenXl,J.EightXl,J.NineXl],d1=[J.Sm,J.Md,J.Lg],h1=[ae.Warning,ae.Error,ae.Info,ae.Success,ae.Primary,ae.Default],f1=[ae.Warning,ae.Error,ae.Info,ae.Success,ae.Primary,ae.Default],p1=[Oe.Top,Oe.Bottom,Oe.Right,Oe.Left],m1=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],g1=N.extend({name:"EIcon",props:{icon:{type:String,default:""},color:{type:String,default:ae.Default},size:{type:String,default:J.Sm}},computed:{sizes(){return hi.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconClasses(){var n,i;const t=this.sizes[this.size]||this.sizes[J.Sm],e=`${((i=(n=this.icon)==null?void 0:n.split(" "))==null?void 0:i.length)>1?this.icon:`fa fa-${this.icon}`}`;return["e-inline-flex e-items-center e-justify-center e-rounded-full",this.color,e,t]}}});var v1=function(){var e=this,r=e._self._c;return r("div",e._b({staticClass:"e-icon"},"div",e.$attrs,!1),[r("i",{class:e.iconClasses})])},_1=[],y1=W(g1,v1,_1,!1,null,null,null,null);const Ve=y1.exports,C1=N.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:J.Base},opacity:{type:[String,Number],default:1}},data(){return{sizes:ui,colors:di}},computed:{computedSize(){return this.sizes[J[this.size]]||this.size||this.sizes[J.Base]},fill(){let t={primary:this.colors.brand[500],secondary:this.colors.neutral[300]};return this.dark&&!this.color&&(t={primary:this.colors.neutral[100],secondary:this.colors.neutral[100]}),!this.dark&&this.color&&(t={primary:this.colors.brand[500],secondary:this.colors.neutral[950]}),!this.dark&&!this.color&&(t={primary:this.colors.neutral[200],secondary:this.colors.neutral[200]}),t}},methods:{getNthPathStyle(t){const e=typeof this.animationDuration=="string"?Number.parseInt(this.animationDuration):this.animationDuration;return{animationDuration:`${this.animationDuration}ms`,animationDelay:`${t/10*e}ms`,fill:`${this.fill[t%2===0?"primary":"secondary"]}`}}}}),Dc="";var b1=function(){var e=this,r=e._self._c;return r("svg",{staticClass:"e-spinner e-block",class:{"e-spinner--dark":e.dark,"e-spinner--grey":!e.color},style:{opacity:e.opacity},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1629.32 1608.86",width:e.computedSize,height:e.computedSize}},[r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(0),attrs:{d:"m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(1),attrs:{d:"m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(2),attrs:{d:"m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(3),attrs:{d:"m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(4),attrs:{d:"m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(5),attrs:{d:"m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(6),attrs:{d:"m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(7),attrs:{d:"m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(8),attrs:{d:"m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(9),attrs:{d:"m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02"}})])},x1=[],w1=W(C1,b1,x1,!1,null,"9a1333ac",null,null);const zr=w1.exports,S1=N.extend({props:{align:{type:String,default:void 0},alignContent:{type:String,default:void 0},justify:{type:String,default:void 0},justifyXs:{type:String,default:void 0},justifySm:{type:String,default:void 0},justifyMd:{type:String,default:void 0},justifyLg:{type:String,default:void 0},justifyXl:{type:String,default:void 0},noGutters:{type:Boolean,default:!1}},computed:{justifyClasses(){return{[`e-justify-${this.justify}`]:!!this.justify,[`xs:e-justify-${this.justifySm}`]:!!this.justifySm,[`sm:e-justify-${this.justifySm}`]:!!this.justifySm,[`md:e-justify-${this.justifyMd}`]:!!this.justifyMd,[`lg:e-justify-${this.justifyLg}`]:!!this.justifyLg,[`xl:e-justify-${this.justifyXl}`]:!!this.justifyXl}},rowClasses(){return{...this.align?{[`e-items-${this.align}`]:!0}:{},...this.alignContent?{[`e-content-${this.alignContent}`]:!0}:{},...this.noGutters?{"e-row--no-gutters":!0}:{},...this.justifyClasses}}}}),Pc="";var T1=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-row e-flex e-flex-wrap",class:e.rowClasses},[e._t("default")],2)},k1=[],M1=W(S1,T1,k1,!1,null,null,null,null);const fi=M1.exports,E1=N.extend({props:{alignSelf:{type:String,default:"auto"},cols:{type:[Boolean,String,Number],default:void 0},lg:{type:[Boolean,String,Number],default:void 0},md:{type:[Boolean,String,Number],default:void 0},offset:{type:[String,Number],default:void 0},offsetLg:{type:[String,Number],default:void 0},offsetMd:{type:[String,Number],default:void 0},offsetSm:{type:[String,Number],default:void 0},offsetXs:{type:[String,Number],default:void 0},offsetXl:{type:[String,Number],default:void 0},sm:{type:[Boolean,String,Number],default:void 0},xs:{type:[Boolean,String,Number],default:void 0},xl:{type:[Boolean,String,Number],default:void 0}},computed:{colClasses(){return{...this.alignSelf?{[`e-self-${this.alignSelf}`]:!0}:{},[this.autoClasses("xs:",this.xs)]:this.isSizePropAuto(this.xs),[this.autoClasses("sm:",this.sm)]:this.isSizePropAuto(this.sm),[this.autoClasses("md:",this.md)]:this.isSizePropAuto(this.md),[this.autoClasses("lg:",this.lg)]:this.isSizePropAuto(this.lg),[this.autoClasses("xl:e",this.xl)]:this.isSizePropAuto(this.xl),[this.autoClasses("",this.cols)]:this.isSizePropAuto(this.cols,!0),"xs:e-basis-full xs:!e-max-w-12/12":this.xs===12||this.xs==="12","sm:e-basis-full sm:!e-max-w-12/12":this.sm===12||this.sm==="12","md:e-basis-full md:!e-max-w-12/12":this.md===12||this.md==="12","lg:e-basis-full lg:!e-max-w-12/12":this.lg===12||this.lg==="12","xl:e-basis-full xl:!e-max-w-12/12":this.xl===12||this.xl==="12","e-basis-full e-max-w-12/12":this.cols===12||this.cols==="12",[`xs:e-basis-${this.xs}/12 xs:!e-max-w-${this.xs}/12`]:this.isSizePropertyNumeric(this.xs),[`sm:e-basis-${this.sm}/12 sm:!e-max-w-${this.sm}/12`]:this.isSizePropertyNumeric(this.sm),[`md:e-basis-${this.md}/12 md:!e-max-w-${this.md}/12`]:this.isSizePropertyNumeric(this.md),[`lg:e-basis-${this.lg}/12 lg:!e-max-w-${this.lg}/12`]:this.isSizePropertyNumeric(this.lg),[`xl:e-basis-${this.xl}/12 xl:!e-max-w-${this.xl}/12`]:this.isSizePropertyNumeric(this.xl),[`e-basis-${this.cols}/12 !e-max-w-${this.cols}/12`]:this.isSizePropertyNumeric(this.cols),[`xs:e-offset-${this.offsetXs}`]:this.offsetXs!==void 0,[`sm:e-offset-${this.offsetSm}`]:this.offsetSm!==void 0,[`md:e-offset-${this.offsetMd}`]:this.offsetMd!==void 0,[`lg:e-offset-${this.offsetLg}`]:this.offsetLg!==void 0,[`xl:e-offset-${this.offsetXl}`]:this.offsetXl!==void 0,[`e-offset-${this.offset}`]:this.offset!==void 0}}},methods:{autoClasses(t,e){return`${t}e-basis-${e==="auto"?"auto":"0"} ${t}e-grow${e==="auto"?"-0":""} ${t}e-w-${e==="auto"?"auto":"full"}`},isSizePropAuto(t,e=!1){return t==="auto"||t===0||t==="0"||e&&!t},isSizePropertyNumeric(t){const e=Number.parseInt(t);return t!=="auto"&&!isNaN(e)&&e>=1&&e<12}}}),Oc="";var $1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},L1=[],D1=W(E1,$1,L1,!1,null,null,null,null);const pi=D1.exports;function Br(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function Ir(t){if(Br())return new Promise(r=>r(null));const e=t;return e.requestFullscreen?e==null?void 0:e.requestFullscreen():e.mozRequestFullScreen?e==null?void 0:e.mozRequestFullScreen():e.webkitRequestFullScreen?e==null?void 0:e.webkitRequestFullScreen():e.msRequestFullscreen?e==null?void 0:e.msRequestFullscreen():new Promise(r=>r(null))}function Fr(){if(!Br())return new Promise(e=>e(null));const t=document;return t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.msExitFullscreen?t.msExitFullscreen():new Promise(e=>e(null))}function mi(t,e){let r=null;return function(...n){const i=this;r!==null&&clearTimeout(r),r=setTimeout(()=>{r=null,t.apply(i,n)},e||1e3)}}function P1(t=1){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<t;n++)r+=e.charAt(Math.floor(Math.random()*e.length));return r}function O1(t,e=0,r=0,n=t.naturalWidth,i=t.naturalHeight){const o=document.createElement("canvas"),s=o.getContext("2d");o.width=n,o.height=i,s==null||s.drawImage(t,e,r,n,i,0,0,n,i);const u=o.toDataURL();return o.remove(),u}function z1(t){return!!(t!=null&&t.length&&!isNaN(new Date(t).getTime()))}function gi(t,e=1){let r=0,n=0,i=0;return t.length===4?(r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),i=parseInt(t[3]+t[3],16)):t.length===7&&(r=parseInt(t[1]+t[2],16),n=parseInt(t[3]+t[4],16),i=parseInt(t[5]+t[6],16)),`rgba(${r}, ${n}, ${i}, ${e})`}function vi(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function _i(t){return t.startsWith("rgba")}function ht(t,e=1){return _i(t)?t:t.startsWith("#")?gi(t,e):t.startsWith("rgb")?vi(t,e):t}function B1(t){const e=JSON.stringify(t);return yi(e).toString()}function yi(t){let e=0,r,n;if(t.length===0)return e;for(r=0;r<t.length;r++)n=t.charCodeAt(r),e=(e<<5)-e+n,e|=0;return e}function Ar(t,e,r){const n=M.scaleLinear().domain([0,r-1]).range([0,1]);return Array.from({length:r},(i,o)=>M.interpolate(t,e)(n(o)))}const I1=N.extend({name:"EZoomable",props:{ignorePointerEvents:{type:Boolean,default:!1},withOverlay:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},data(){return{scale:1,minScale:1,maxScale:20,top:0,left:0,isPanning:!1,panStart:{x:0,y:0},isPinching:!1,previousPinchDistance:0,pinchDistance:0,pointers:{},transform:"matrix(1, 0, 0, 1, 0, 0)"}},computed:{contentStyle(){return{transform:this.transform}},isZoomed(){return this.scale>1}},watch:{contentStyle:{handler(t){this.$emit("on-frame-props-change",{imgStyle:t})},immediate:!0,deep:!0}},methods:{updateZoomScale(){this.scale>this.maxScale?this.scale=this.maxScale:this.scale<this.minScale&&(this.scale=this.minScale)},handleZoom(t){const e=this.$refs.container,r=this.$refs.content;if(t.preventDefault(),this.disabled)return;const n=e.getBoundingClientRect(),i=r.getBoundingClientRect();if(!n||!i)return;const o=t.clientX,s=t.clientY,u=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),a=this.scale;this.scale+=u/10,this.updateZoomScale();const l=((o-i.left)/i.width).toFixed(2),d=((s-i.top)/i.height).toFixed(2);this.left=Math.round(o-n.left-Number(l)*(i.width*this.scale/a)),this.top=Math.round(s-n.top-Number(d)*(i.height*this.scale/a));const p=0,m=0-n.width*(this.scale-1),C=0-n.height*(this.scale-1),x=0;this.left<m?this.left=m:this.left>p&&(this.left=p),this.top<C?this.top=C:this.top>x&&(this.top=x),this.updateTransform()},handleMouseDown(t){!this.isZoomed||this.disabled||(this.isPanning=!0,this.panStart={x:t.clientX,y:t.clientY})},handleMouseUp(){this.disabled||(this.isPanning=!1)},handleMouseLeave(){this.disabled||(this.isPanning=!1)},handleMouseMove(t){if(!this.isPanning||!this.isZoomed||this.disabled)return;const e=t.clientX-this.panStart.x,r=t.clientY-this.panStart.y;this.left+=e,this.top+=r,this.applyBoundsCorrection(),this.panStart={x:t.clientX,y:t.clientY},this.updateTransform()},applyBoundsCorrection(){const t=this.$refs.container,e=this.$refs.content,r=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(!r||!n)return;const[i,o,s,u]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(a=>a<0?a:0);this.left+=u-o,this.top+=i-s},updateTransform(){this.transform=`matrix(${this.scale}, 0, 0, ${this.scale}, ${this.left}, ${this.top})`},getPointersDistance(t,e){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)},getPointersMidPoint(t,e){return{x:t.clientX+(e.clientX-t.clientX)/2,y:t.clientY+(e.clientY-t.clientY)/2}},updatePointerEvent(t){this.pointers[t.pointerId]=t},clearPointerEvent(t){this.$delete(this.pointers,t.pointerId)},updatePinchDistance(){const t=Object.values(this.pointers);t.length===2&&(this.pinchDistance=this.getPointersDistance(t[0],t[1]))},handlePointerDown(t){this.ignorePointerEvents||this.disabled||(this.updatePointerEvent(t),this.isPinching=Object.values(this.pointers).length===2,this.isPinching?(this.isPanning=!1,this.updatePinchDistance()):this.handleMouseDown(t))},handlePointerMove(t){if(!(this.ignorePointerEvents||this.disabled))if(this.updatePointerEvent(t),this.isPinching){this.previousPinchDistance=this.pinchDistance,this.updatePinchDistance();const e=this.pinchDistance/this.previousPinchDistance;this.scale*=e,this.updateZoomScale();const r=Object.values(this.pointers),n=this.getPointersMidPoint(r[0],r[1]);this.left=n.x-(n.x-this.left)*e,this.top=n.y-(n.y-this.top)*e,this.applyBoundsCorrection(),this.updateTransform()}else this.handleMouseMove(t)},handlePointerUp(t){this.ignorePointerEvents||this.disabled||(this.clearPointerEvent(t),this.previousPinchDistance=0,this.pinchDistance=0,this.isPanning=!1,this.isPinching=!1)}}}),zc="";var F1=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoomable e-w-full e-h-full"},[r("div",{staticClass:"e-w-full e-h-full",class:{"e-cursor-grab":e.isZoomed&&!e.disabled,"e-cursor-grabbing":e.isPanning&&!e.disabled},on:{mousewheel:e.handleZoom,mousedown:e.handleMouseDown,mouseup:e.handleMouseUp,mouseleave:e.handleMouseLeave,mousemove:e.handleMouseMove,pointerdown:e.handlePointerDown,pointermove:e.handlePointerMove,pointerup:e.handlePointerUp,pointercancel:e.handlePointerUp,pointerout:e.handlePointerUp,pointerleave:e.handlePointerUp}},[r("div",{ref:"content",staticClass:"e-zoomable__content e-w-full e-h-full e-transform-0 e-touch-none e-relative",style:e.contentStyle},[e._t("default")],2),e.withOverlay&&!e.disabled?r("div",{staticClass:"e-zoomable__overlay e-absolute e-w-full e-h-full e-bottom-0 e-left-0 e-overflow-hidden"},[e._t("overlay")],2):e._e()])])},A1=[],R1=W(I1,F1,A1,!1,null,"5e462efa",null,null);const Rr=R1.exports,Hr=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),Ci=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],Nr=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${Hr.format(e)}`:`${n}:${Hr.format(r)}:${Hr.format(e)}`},H1=N.extend({name:"EVideoPlayer",components:{ESpinner:zr,EZoomable:Rr},props:{targetTimestamp:{type:[String,Date],default:void 0},sources:{type:[Array,String],required:!0},videoListeners:{type:Object,default:()=>({})},videoOptions:{type:Object,default:()=>({})},isHls:{type:Boolean,default:!1},streamingToken:{type:String,default:""},pauseOnClick:{type:Boolean,default:!0},isHlsLoading:{type:Boolean,default:!1},isPlaying:{type:Boolean,default:!1},isZoomable:{type:Boolean,default:!1},zoomableIgnorePointerEvents:{type:Boolean,default:!1},timezone:{type:String,default:"UTC"},playPauseAnimation:{type:Boolean,default:!0},disablePlayPauseAnimation:{type:Boolean,default:!1},isWebRtc:{type:Boolean,default:!1},withColoredLoader:{type:Boolean,default:!1},loaderSize:{type:String,default:"7xl"},withOverlayOnBackground:{type:Boolean,default:!1},fallbackSrc:{type:String,default:""},hlsOptions:{type:Object,default:()=>({})}},data(){return{playing:!1,percentagePlayed:0,videoLength:"0:00",duration:0,videoDuration:0,currentTime:"0:00",realtime:0,isScrubbing:!1,wasPaused:!1,isFullscreen:!1,isFinished:!1,isLoading:!0,isError:!1,player:new at,playbackRetries:0,preloadedSeconds:0,preloadedInterval:{}}},computed:{posterUrl(){const t=this.videoOptions;return(t==null?void 0:t.poster)||(t==null?void 0:t.backgroundUrl)},sourceItems(){return Array.isArray(this.sources)?this.sources:[{src:this.sources}]},withControls(){const t=this.videoOptions;return(t==null?void 0:t.controls)===!1?"hide":""}},watch:{isPlaying:{immediate:!0,async handler(t){this.playing=t,t?await this.play():this.pause(),this.isHls&&(t?this.$emit("hls-play"):this.$emit("hls-pause"))}},preloadedSeconds(t){this.preloadedInterval={start:Se(this.targetTimestamp).format(),end:Se(this.targetTimestamp).add(t,"seconds").format()},this.$emit("preloaded-interval",this.preloadedInterval)},targetTimestamp:{immediate:!0,handler(t){var o,s;if(!this.isHls)return;const e=this.$refs.player,r=(o=this.preloadedInterval)==null?void 0:o.start,n=(s=this.preloadedInterval)==null?void 0:s.end;if(!(r&&n))return;const i=Se(t).isBetween(Se(r),Se(n),void 0,"[]");e.currentTime=0,i||this.initHls()}}},mounted(){this.isHls&&this.initHls(),this.bindEvents(),this.initializePlayer(),this.initializeFullscreenListeners()},beforeDestroy(){this.unbindEvents(),this.destroyPlayer(),this.removeFullscreenListeners()},methods:{initHls(t=""){var n,i,o,s,u;const e=this.$refs.player,r=this.sources[0];(n=this.player)!=null&&n.stopLoad&&this.player.stopLoad(),at.isSupported()&&(this.isLoading=!0,this.player=new at({startPosition:0,xhrSetup:a=>{this.streamingToken&&a.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),(i=this.player)==null||i.loadSource(t||r.src),(o=this.player)==null||o.attachMedia(e),(s=this.player)==null||s.on(at.Events.MANIFEST_PARSED,(a,l)=>{var m;const d=(m=l.levels[l.firstLevel])==null?void 0:m.details,p=d==null?void 0:d.startTimeOffset;e.currentTime=p||0,this.playing&&e.play()}),(u=this.player)==null||u.on(at.Events.ERROR,this.handleHlsError))},onContainerClick(){this.pauseOnClick&&this.togglePlay()},handle404Error(){this.isWebRtc||(this.isError=!0,this.isLoading=!1,this.playing=!1)},handleHlsError(t,e){var l;if(!e.fatal)return;this.$emit("error",e);const r=e.type===at.ErrorTypes.NETWORK_ERROR,n=e.type===at.ErrorTypes.MEDIA_ERROR,i=r&&((l=e.networkDetails)==null?void 0:l.status)===404,o=this.$refs.player,s=()=>this.fallbackSrc&&(o==null?void 0:o.currentSrc)!==this.fallbackSrc,u=()=>this.initHls(this.fallbackSrc),a=()=>{if(s()){u();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(i){a();return}if(r){console.error("A network error occurred:",e),s()?u():this.player.startLoad();return}n&&(console.error("A media error occurred:",e),s()?u():this.player.recoverMediaError()),a()},bindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.addEventListener(e,()=>this.bindVideoEvent(e),!0)})},onProgress(){const t=this.$refs.player;if(t&&t.buffered.length>0)try{this.preloadedSeconds=t.buffered.end(t.buffered.length-1)}catch(e){console.error("Error while fetching buffered end time:",e)}else console.log("No video data has been buffered yet.")},unbindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.removeEventListener(e,()=>this.bindVideoEvent(e),!0)})},bindVideoEvent(t){const e=this.$refs.player;if(!e)return;const r=this.$refs.timelineContainer;t==="loadeddata"&&(this.videoLength=Nr(e.duration)),r&&(t==="timeupdate"&&(this.percentagePlayed=(e==null?void 0:e.currentTime)/(e==null?void 0:e.duration)*100,r==null||r.style.setProperty("--progress-position",this.percentagePlayed.toString())),this.$emit(t,{event,player:e}))},initializePlayer(){const t=this.$refs.player;t&&(t.autoplay&&this.setPlaying(!0),document.addEventListener("mouseup",this.handleScrubbingOnMouseEnd),document.addEventListener("keydown",this.handleKeyDown))},destroyPlayer(){this.player&&(this.player.stopLoad(),this.player.destroy()),window.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("mouseup",this.handleScrubbingOnMouseEnd)},removeFullscreenListeners(){const t=document;t.fullscreenEnabled||t.webkitFullscreenEnabled||t.mozFullScreenEnabled||t.msFullscreenEnabled?(t.removeEventListener("fullscreenchange",this.handleFullscreenChange),t.removeEventListener("webkitfullscreenchange",this.handleFullscreenChange),t.removeEventListener("mozfullscreenchange",this.handleFullscreenChange),t.removeEventListener("MSFullscreenChange",this.handleFullscreenChange)):console.log("Fullscreen API is not supported in this browser.")},initializeFullscreenListeners(){const t=document;t.fullscreenEnabled||t.webkitFullscreenEnabled||t.mozFullScreenEnabled||t.msFullscreenEnabled?(t.addEventListener("fullscreenchange",this.handleFullscreenChange),t.addEventListener("webkitfullscreenchange",this.handleFullscreenChange),t.addEventListener("mozfullscreenchange",this.handleFullscreenChange),t.addEventListener("MSFullscreenChange",this.handleFullscreenChange)):console.log("Fullscreen API is not supported in this browser.")},handleFullscreenChange(){const t=document;this.isFullscreen=!!t.fullscreenElement||!!t.mozFullScreenElement||!!t.webkitFullscreenElement||!!t.msFullscreenElement||window.innerWidth==screen.width&&window.innerHeight==screen.height},isLooped(){return this.$refs.player.loop},handleScrubbingOnMouseEnd(t){this.isScrubbing&&this.toggleScrubbing(t)},handleEnded(){this.isFinished=!0,this.playing=!1},handleLoading(){this.isLoading=!1},async play(){const t=this.$refs.player;if(t)try{await t.play(),this.setPlaying(!0)}catch(e){console.error(e),this.playbackRetries+=1,this.isHls&&this.playbackRetries<3&&this.initHls()}},pause(){const t=this.$refs.player;t&&(t.pause(),this.setPlaying(!1))},async togglePlay(){this.playing?this.pause():await this.play()},setPlaying(t){this.playing=t},seekToPercentage(t){const e=this.$refs.player;if(!e)return;const r=t/100*e.duration;e.currentTime=r},convertTimeToDuration(t){return[parseInt(t/60%60,10),parseInt(t%60,10)].join(":").replace(/\b(\d)\b/g,"0$1")},closeFullscreenMode(){document.fullscreenElement&&(Fr().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(Ir(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=Nr(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=Nr(t.currentTime),this.realtime=t.currentTime;const r=Number(this.realtime)/Number(this.videoDuration);e.style.setProperty("--progress-position",r.toString())},handleTimelineUpdate(t){const e=this.$refs.player;if(!document.body.contains(e))return;const r=this.$refs.timelineContainer,n=r.getBoundingClientRect(),i=Math.min(Math.max(0,t.x-n.x),n.width)/n.width;r.style.setProperty("--preview-position",i.toString()),this.isScrubbing&&(t.preventDefault(),r.style.setProperty("--progress-position",i.toString()))},skip(t=5){const e=this.$refs.player;e.currentTime+=t},async toggleScrubbing(t){const e=this.$refs.timelineContainer,r=this.$refs.videoContainer,n=this.$refs.player;if(!n)return;const i=e.getBoundingClientRect(),o=Math.min(Math.max(0,t.x-i.x),i.width)/i.width;if(this.isScrubbing=(t.buttons&1)===1,r.classList.toggle("scrubbing",this.isScrubbing),this.isScrubbing){this.wasPaused=n.paused,await n.pause(),this.handleTimelineUpdate(t);return}if(this.realtime=o*this.videoDuration,n.currentTime=o*this.videoDuration,this.wasPaused)return;const s=n.play();s!==void 0&&s.then(()=>this.handleTimelineUpdate(t)).catch(console.error)},handleKeyDown(t){var r;const e=(r=document.activeElement)==null?void 0:r.tagName.toLowerCase();if(e!=="input")switch(t.key.toLowerCase()){case" ":if(e==="button")return;this.togglePlay();break;case"k":this.togglePlay();break;case"escape":t.preventDefault(),this.closeFullscreenMode(),this.isFullscreen=!1;break;case"f":this.openFullscreenMode(),this.isFullscreen=!0;break}}}}),Bc="";var N1=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"video-container paused"},[r("EZoomable",{ref:"zoomable",attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground},on:{"on-frame-props-change":function(n){return e.$emit("on-frame-props-change",n)}},scopedSlots:e._u([{key:"overlay",fn:function(){return[e._t("player-container-overlay")]},proxy:!0}],null,!0)},[e._t("background",function(){return[r("div",{staticClass:"e-relative e-overflow-hidden",style:{height:e.$attrs.height,width:e.$attrs.width}},[e.posterUrl?r("img",{staticClass:"e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster",style:{height:e.$attrs.height,width:e.$attrs.width},attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("error",n)}}}):e._e()])]}),r("video",e._g(e._b({ref:"player",class:{"e-w-full e-h-full e-z-[5] e-min-h-[400px]":!0,"e-absolute e-inset-0":e.isZoomable,"e-relative":!e.isZoomable},attrs:{controls:!1,preload:"auto"},on:{ended:e.handleEnded,click:e.onContainerClick,loadedmetadata:e.getDuration,seeking:function(n){e.isLoading=!0},seeked:function(n){e.isLoading=!1},timeupdate:e.handleTimeUpdate,loadeddata:e.handleLoading}},"video",e.videoOptions,!1),e.videoListeners),[e.isWebRtc?e._e():e._l(e.sourceItems,function(n){return r("source",e._g({key:n.src,attrs:{src:n.src,type:n.type},on:{error:e.handle404Error}},e.videoListeners))})],2)],2),e.isLoading?r("div",{staticClass:"spinner-container"},[r("ESpinner",{attrs:{color:e.withColoredLoader,size:e.loaderSize,opacity:"0.6",dark:!0}})],1):e._e(),e._t("default"),e.isError?r("div",{staticClass:"spinner-container e-gap-3"},[e._t("error",function(){return[r("i",{staticClass:"fa-solid fa-video-slash fa-2xl e-align-middle"}),r("span",[e._v("This video file cannot be played.")])]})],2):e._e(),e._t("controls",function(){return[r("div",{class:["video-controls-container",e.withControls]},[r("div",{staticClass:"controls"},[r("button",{ref:"playPauseBtn",staticClass:"play-pause-btn fa-lg fa-solid fas",class:{"fa-play":!e.playing,"fa-pause":e.playing},attrs:{title:e.playing?"pause":"play"},on:{click:e.togglePlay}}),r("div",{staticClass:"duration-container"},[r("div",{ref:"currentTimeElem",staticClass:"current-time"},[e._v(" "+e._s(e.currentTime)+" ")]),e._v(" / "),r("div",{ref:"totalTimeElem",staticClass:"total-time"},[e._v(e._s(e.videoLength))])]),r("div",{ref:"timelineContainer",staticClass:"timeline-container",on:{mousemove:e.handleTimelineUpdate,mousedown:e.toggleScrubbing}},[e._m(0)]),r("button",{ref:"fullScreenBtn",staticClass:"full-screen-btn fa-solid",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen},on:{click:e.toggleFullscreenMode}})])])]},{play:e.play,pause:e.pause,isPlaying:e.playing,playerInstance:e.player,toggleFullscreen:e.toggleFullscreenMode,currentTime:e.currentTime,videoLength:e.videoLength,isFullscreen:e.isFullscreen})],2)},j1=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],W1=W(H1,N1,j1,!1,null,"28af918d",null,null);const bi=W1.exports,Ke={bind(t,e){const{value:r}=e;if(typeof r!="function"){console.error("Invalid callback function provided to v-resize-observer");return}const n=new ResizeObserver(i=>{i[0]&&r(i[0])});n.observe(t),t.__resizeObserver__=n},unbind(t){t.__resizeObserver__&&(t.__resizeObserver__.disconnect(),delete t.__resizeObserver__)}},jr={bind(t,e){const r=t;r.handleClick=function(n){if(!(r===n.target||r.contains(n.target))){const i=e.value;typeof i=="function"&&i(n)}},setTimeout(()=>{document.addEventListener("click",r.handleClick)})},unbind(t){const e=t;e.handleClick&&(document.removeEventListener("click",e.handleClick),delete e.handleClick)}},xi=[{name:"resize-observer",definition:Ke},{name:"click-outside",definition:jr}],nt={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern",clipPath:"clip-path"},Y={xAxis:"e-x-axis",xAxisDark:"e-x-axis--dark",xAxisOverview:"e-x-axis-overview",xAxisDetailed:"e-x-axis-detailed",xAxisBackground:"e-x-axis-background",eventGroup:"event-group",eventGroupBg:"event-group-bg",eventGroupContent:"event-group-content",eventRect:"event-rect",eventRectContainer:"event-rect-container",eventBarContainer:"event-bar-container",eventBarContainerHovered:"event-bar-container--hovered",eventBarContainerSelected:"event-bar-container--selected",eventBar:"event-bar",eventBarHoverZone:"event-bar-hover-zone",eventBarCap:"event-bar-cap",eventRectText:"event-rect-text",eventRectHovered:"event-rect--hovered",eventRectSelected:"event-rect--selected",labelGroup:"label-g",labelBg:"label-bg",labelBgFill:"label-bg-fill",labelText:"label-text",loadingIndicator:"loading-indicator",_legacyLabelGroup:"legacy-label-g",_legacyLabelBg:"legacy-label-bg",_legacyLabelBgFill:"legacy-label-bg-fill",_legacyLabelText:"legacy-label-text",_legacyLoadingIndicator:"legacy-loading-indicator",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"e-tl-milestone",milestoneBullet:"e-tl-milestone--bullet",milestoneDot:"e-tl-milestone--dot",milestoneContent:"e-tl-milestone-content",milestoneLine:"e-tl-milestone-line",milestonesContainer:"e-tl-milestones",milestoneHovered:"e-tl-milestone--hovered",milestoneSelected:"e-tl-milestone--selected",milestoneLabel:"e-tl-milestone-label",milestoneDotContainer:"e-tl-milestone-dot-container",milestoneDotLine:"e-tl-milestone-dot-line",milestoneDotDot:"e-tl-milestone-dot-dot",milestoneDotHovered:"e-tl-milestone-dot--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",areaGraphPath:"area-graph-path",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",forbiddenInterval:"forbidden-interval"};function it({timestamp:t,timezone:e}){const r=wi(t,e);return Se(t).add(r,"minutes").toDate()}function vt({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=wi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function wi(t,e){return e?Se.tz(t,e).utcOffset():G1(t)}function G1(t){return Se.parseZone(t).utcOffset()}const q1=N.extend({name:"ETimelineMilestone",directives:{resizeObserver:Ke},props:{timeScale:{type:Function,required:!0},milestone:{type:Object,required:!0},y:{type:Number,required:!0},height:{type:Number,default:18},size:{type:Number,default:18},borderColor:{type:String,default:"#eee"},backgroundColor:{type:String,default:"#aaa"},borderWidth:{type:Number,default:2},transitionDuration:{type:Number,default:500},dot:{type:Boolean,default:!1},dotSize:{type:Number,default:8},lineWidth:{type:Number,default:2},lineHeight:{type:Number,default:28},timezone:{type:[String,void 0],default:void 0}},data(){return{classNames:Y,timeouts:[],isInitialRender:!0,isMouseOver:!1,containerWidth:"",containerHeight:""}},computed:{transitionStyles(){return this.isInitialRender?{}:{transition:`transform ${this.transitionDuration}ms, width ${this.transitionDuration}ms, height ${this.transitionDuration}ms, padding ${this.transitionDuration}ms, border-radius ${this.transitionDuration}ms`}},sizeStyles(){return this.dot?{}:{width:`${this.isMouseOver?this.containerWidth:this.size}px`,height:`${this.isMouseOver?this.containerHeight:this.size}px`}},positionStyles(){return{left:`${this.timeScale(this.tzStringToDate(this.milestone.timestamp))}px`,top:`${this.linePosition}px`,transform:this.dot&&this.isMouseOver?`translateY(calc(-100% - ${this.lineHeight}px))`:""}},styles(){return{...this.sizeStyles,...this.positionStyles,backgroundColor:this.backgroundColor,borderColor:this.borderColor,borderWidth:`${this.borderWidth}px`,borderStyle:"solid",...this.transitionStyles}},linePosition(){const t=this.height/2;return this.y+t-1},contentStyles(){return this.transitionStyles},computedTransitionDuration(){return this.isInitialRender?0:this.transitionDuration},labelStyles(){return{transition:`opacity ${this.computedTransitionDuration}ms`}},dotContainerStyles(){return{top:this.isMouseOver?`calc(100% - ${this.borderWidth}px)`:`calc(50% + ${this.dotSize/2}px)`,height:`calc(${this.lineHeight}px + ${this.dotSize}px)`,left:`calc(50% - ${this.lineWidth}px / 2)`,transition:`${this.computedTransitionDuration}ms`}},lineStyles(){return{bottom:`${this.dotSize/2}px`,left:`calc(50% - ${this.lineWidth}px / 2)`,width:`${this.lineWidth}px`,height:this.isMouseOver?`${this.lineHeight}px`:"0",backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}},dotStyles(){return{top:`${this.lineHeight}px`,left:`calc(50% - ${this.dotSize}px / 2)`,width:`${this.dotSize}px`,height:`${this.dotSize}px`,backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}}},mounted(){this.$nextTick(()=>{this.dot||(this.onMilestoneMouseOver(),this.onMilestoneMouseLeave()),this.isInitialRender=!1})},methods:{onMilestoneMouseOver(t){if(this.isMouseOver=!0,this.$emit("hovered-milestone",this.milestone),this.dot)return;const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;const r=e.children[0];if(!r)return;const n=r.children[0];if(!n)return;const i=n.getBoundingClientRect(),o=e.dataset.timeoutId;o&&(clearTimeout(Number(o)),e.dataset.timeoutId=""),e.dataset.initialWidth||(e.dataset.initialWidth=e.style.width),e.dataset.initialHeight||(e.dataset.initialHeight=e.style.height),this.containerWidth||(this.containerWidth=e.dataset.initialContentWidth=String(i.width)),this.containerHeight||(this.containerHeight=e.dataset.initialContentHeight=String(i.height)),e.dataset.transitionStart=String(Date.now()),e.style.borderRadius="0.5em",e.classList.add(Y.milestoneHovered),r.style.opacity="1",r.style.width=this.containerWidth+"px",r.style.height=this.containerHeight+"px"},onMilestoneMouseMove(){this.timeouts.forEach(t=>clearTimeout(t)),this.isMouseOver=!0},onMilestoneMouseLeave(t){if(this.$emit("hovered-milestone",null),this.dot){this.timeouts.push(setTimeout(()=>{this.isMouseOver=!1},this.transitionDuration+100));return}const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;e.style.width=e.dataset.initialWidth||"",e.style.height=e.dataset.initialHeight||"",e.style.borderRadius="10em";const r=e.children[0];if(!r)return;r.style.width="0",r.style.height="0",r.style.opacity="0";const n=Date.now()-Number(e.dataset.transitionStart),i=n>this.transitionDuration?this.transitionDuration:n,o=setTimeout(()=>{e.classList.remove(Y.milestoneHovered),e.dataset.timeoutId=""},i);e.dataset.timeoutId=String(o),this.timeouts.push(o),this.isMouseOver=!1},onMilestoneClick(t,e){this.$emit("milestone-click",e)},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})}}}),Ic="";var U1=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:{[e.classNames.milestone]:!0,[e.classNames.milestoneBullet]:!e.dot,[e.classNames.milestoneHovered]:e.isMouseOver&&!e.dot,[e.classNames.milestoneDot]:e.dot,[e.classNames.milestoneDotHovered]:e.isMouseOver&&e.dot},style:e.styles,attrs:{tabindex:"0"},on:{mouseover:n=>e.onMilestoneMouseOver(n),mousemove:e.onMilestoneMouseMove,mouseleave:n=>e.onMilestoneMouseLeave(n),click:n=>e.onMilestoneClick(n,e.milestone)}},[r("div",{class:e.classNames.milestoneContent,style:e.contentStyles},[e._t("content",function(){var n;return[r("span",[e._v(" "+e._s((n=e.milestone)==null?void 0:n.text)+" ")])]})],2),e.dot?r("div",{class:e.classNames.milestoneDotContainer,style:e.dotContainerStyles},[r("div",{class:e.classNames.milestoneDotLine,style:e.lineStyles}),r("div",{class:e.classNames.milestoneDotDot,style:e.dotStyles})]):r("div",{class:e.classNames.milestoneLabel,style:e.labelStyles},[e._t("label")],2)])},Z1=[],Y1=W(q1,U1,Z1,!1,null,null,null,null);const X1=Y1.exports,Q1=N.extend({name:"ETimelineMarker",props:{marker:{type:Object,required:!0},height:{type:Number,required:!0},hidden:{type:[Boolean,void 0],default:void 0},position:{type:[Number,void 0],default:void 0}},methods:{getMarkerClass(t){return{"marker--hidden":this.hidden,"marker--draggable":t==null?void 0:t.isDraggable,...t.className?{[t==null?void 0:t.className]:!0}:{}}},getMarkerContainerStyle(){return{left:`${this.position}px`}},getMarkerLabelStyle(t){return{background:t.color,color:t.textColor||""}},getMarkerLineStyle(t){return{background:t.color,height:`${this.height+12}px`}}}}),Fc="";var V1=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"marker e-absolute e-h-full e-top-0 e-z-10",class:e.getMarkerClass(e.marker),style:e.getMarkerContainerStyle(),on:{click:function(n){return e.$emit("marker-clicked",e.marker)}}},[r("div",{staticClass:"marker-label e-absolute"},[r("div",{staticClass:"marker-label-text",style:e.getMarkerLabelStyle(e.marker)},[e._t(`marker.${e.marker.id}`,function(){return[e._v(" "+e._s(e.marker.label)+" ")]},{marker:e.marker})],2)]),r("div",{staticClass:"marker-line e-absolute e-pointer-events-none",style:e.getMarkerLineStyle(e.marker)})])},K1=[],J1=W(Q1,V1,K1,!1,null,"614947ed",null,null);const e0=J1.exports,t0=N.extend({name:"ETimelineMarkers",components:{ETimelineMarker:e0},props:{markers:{type:Array,default:()=>[]},timeScale:{type:Function,required:!0},timeZone:{type:[String,void 0],default:void 0},height:{type:Number,required:!0},svgLeft:{type:Number,default:void 0},stickyMarkers:{type:Boolean,default:!1}},data(){return{markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0}},watch:{timeScale:{handler(){this.updateMarkers()},deep:!0},markers(){this.updateMarkers()}},methods:{initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=M.drag().on("start",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}),M.selectAll(`.${Y.marker}`).data(this.markers).call(this.markersDragBehavior)},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),M.selectAll(`.${Y.marker}`).call(this.markersDragBehavior))},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){var u;if(!t.isDraggable)return;(u=r.sourceEvent)==null||u.preventDefault(),r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${Y.markerLine}`).getBoundingClientRect().left,e.classed(Y.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,i=this.timeScale.invert(n-this.svgLeft);let o=this.timeScale(i);const s=this.isTimestampAllowedForMarker(i,t);if(r.type==="drag"&&s&&e.attr("style",`left: ${o}px`),r.type==="end"){const a=t.id||t.timestamp;o=s?o:this.timeScale(this.tzStringToDate(t.timestamp)),this.markersPositions={...this.markersPositions,[a]:{...this.markersPositions[a],position:o}},e.classed(Y.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:s?this.dateToTzString(i):t.timestamp})},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.markers.forEach((r,n,i)=>{const o=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,s=this.timeScale(o);let u=!1;const a=this.stickyMarkers?Math.max(s,n*t):s;if(n<i.length-1){const l=i[n+1],d=typeof l.timestamp=="string"?this.tzStringToDate(l.timestamp):l.timestamp,p=this.timeScale(d);u=(this.stickyMarkers?Math.max(p,(n+1)*t):s)-a<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:u,position:a}}}),this.initMarkersDragBehavior()},isTimestampAllowedForMarker(t,e){return(e.minDate?t>=this.tzStringToDate(e.minDate):!0)&&(e.maxDate?t<=this.tzStringToDate(e.maxDate):!0)},tzStringToDate(t){return it({timestamp:t,timezone:this.timeZone})},dateToTzString(t){return vt({date:t,timezone:this.timeZone})}}});var r0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-tl-markers"},e._l(e.markers,function(n){var i,o;return r("ETimelineMarker",{key:n.id,attrs:{marker:n,height:e.height,position:(i=e.markersPositions[n.id])==null?void 0:i.position,hidden:(o=e.markersPositions[n.id])==null?void 0:o.isHidden,"data-id":n.id},on:{"marker-clicked":function(s){return e.$emit("marker-clicked",s)}},scopedSlots:e._u([{key:`marker.${n.id}`,fn:function(){return[e._t(`marker.${n.id}`,function(){return[e._v(" "+e._s(n.label)+" ")]},{marker:n})]},proxy:!0}],null,!0)})}),1)},n0=[],i0=W(t0,r0,n0,!1,null,null,null,null);const s0=i0.exports,a0=N.extend({name:"EZoomBehavior",props:{width:{type:[Number,void 0],default:void 0},domain:{type:Array,required:!0},focusedDomain:{type:[Array,void 0],default:void 0},timezone:{type:String,default:"UTC"},disabled:{type:Boolean,default:!1},scalingDuration:{type:Number,default:400},translationDuration:{type:Number,default:400},focusedTimestamp:{type:[String,Date,Number],default:""}},data(){return{timeScale:null,initialTimeScale:null,zoomBehavior:null,selection:null,isTransitioning:!1,container:null,isLocked:!1,transformDiff:{translation:0,scale:1},lastTransform:{x:0,y:0,k:1},isLeftBoundaryReached:!1,isRightBoundaryReached:!1,resetBoundariesTimeout:0}},computed:{minDate(){const t=this.domain[0];return this.toD3Date(t)},maxDate(){const t=this.domain[1];return this.toD3Date(t)},focusedStartDate(){const e=(this.focusedDomain||this.domain)[0];return this.toD3Date(e)},focusedEndDate(){const e=(this.focusedDomain||this.domain)[1];return this.toD3Date(e)}},watch:{timeScale(){this.emitTimeScaleChange(),this.emitFocusedDomainChange()},focusedDomain(t){this.zoomToFocusedDomain(t)},focusedTimestamp(t){t&&this.panToTimestamp(t)},transformDiff(){this.$emit("transform-changed",this.transformDiff)}},mounted(){this.initRefs(),this.initTimeScale(),this.initZoomBehavior(),this.emitTimeScaleChange()},methods:{initRefs(){this.container=this.$refs.container},initTimeScale(){this.timeScale=M.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,this.getWidth()]),this.initialTimeScale=this.timeScale.copy()},calculateZoomExtents(){const t=[this.focusedStartDate,this.focusedEndDate],e=this.getWidth(),r=this.maxDate.getTime()-this.minDate.getTime(),o=[(this.focusedEndDate.getTime()-this.focusedStartDate.getTime())/r,1/0],s=this.initialTimeScale.copy();s.domain(t);const u=s(this.minDate),a=-(e-s(this.maxDate));return{scaleExtent:o,translateExtent:[[u||-1/0,0],[a||1/0,0]]}},initZoomBehavior(){const{scaleExtent:t,translateExtent:e}=this.calculateZoomExtents();this.zoomBehavior=M.zoom().scaleExtent(t).translateExtent(e).on("zoom",this.handleZoom),this.selection=M.select(this.container),this.selection.call(this.zoomBehavior)},handleZoom(t){const r=t.transform.rescaleX(this.initialTimeScale.copy()).domain(),n=r[0]<=this.minDate,i=r[1]>=this.maxDate;if(n||i){const s=M.zoomIdentity.translate(this.lastTransform.x,this.lastTransform.y).scale(this.lastTransform.k);this.selection.call(this.zoomBehavior.transform,s),this.updateBoundaries(n,i);return}const o=t.transform.k/this.lastTransform.k;this.transformDiff={scale:o,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform},this.timeScale=t.transform.rescaleX(this.timeScale).domain(r)},toD3Date(t){return it({timestamp:t,timezone:this.timezone})},toDateString(t){return vt({date:t,timezone:this.timezone})},getWidth(){var t,e;return this.width?this.width:(e=(t=this.container)==null?void 0:t.getBoundingClientRect())==null?void 0:e.width},zoomToFocusedDomain(t){const e=this.toD3Date(t[0]),r=this.toD3Date(t[1]),n=this.timeScale.domain();if(e.getTime()===n[0].getTime()&&r.getTime()===n[1].getTime())return;const i=this.initialTimeScale.domain().map(m=>m.getTime()),o=i[1]-i[0],s=r.getTime()-e.getTime(),u=.1*s,a=s+2*u;let l=o/a;const d=this.zoomBehavior.scaleExtent();l=Math.min(Math.max(l,d[0]),d[1]);const p=this.initialTimeScale.copy().domain([e,r]);this.selection.transition().duration(this.scalingDuration/2).call(this.zoomBehavior.scaleTo,l).on("end",()=>this.translateIntervalIntoView(e.getTime(),r.getTime(),l)),this.timeScale=p},translateIntervalIntoView(t,e,r){const n=this.timeScale(new Date(t)),i=this.timeScale(new Date(e)),o=(n+i)/2,u=this.getWidth()/2-o,a=M.zoomTransform(this.selection.node());this.selection.transition().duration(this.translationDuration/2).call(this.zoomBehavior.transform,M.zoomIdentity.translate(a.x+u,a.y).scale(r))},emitTimeScaleChange(){this.$emit("time-scale-change",this.timeScale)},emitFocusedDomainChange(){if(!this.selection.node())return;const[e,r]=this.timeScale.domain();this.$emit("focused-domain-change",[this.toDateString(e),this.toDateString(r)])},panToTimestamp(t){const e=new Date(t),r=this.timeScale(e),n=M.zoomTransform(this.selection.node()),i=n.x-r+this.getWidth()/2;this.selection.transition().duration(this.translationDuration).call(this.zoomBehavior.transform,M.zoomIdentity.translate(i,0).scale(n.k)).on("end",()=>{this.emitFocusedDomainChange()})},updateBoundaries(t,e){this.isLeftBoundaryReached=t,this.isRightBoundaryReached=e,clearTimeout(this.resetBoundariesTimeout),this.resetBoundariesTimeout=setTimeout(this.resetBoundaries,300)},resetBoundaries(){this.isLeftBoundaryReached=!1,this.isRightBoundaryReached=!1}}}),Ac="";var o0=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoom-behavior"},[r("transition",{attrs:{name:"boundary-fade"}},[e.isLeftBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__left e-bg-gradient-to-r e-from-red-700 e-to-transparent"}):e._e()]),e._t("default",null,{timeScale:e.timeScale}),r("transition",{attrs:{name:"boundary-fade"}},[e.isRightBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__right e-bg-gradient-to-l e-from-red-700 e-to-transparent"}):e._e()])],2)},l0=[],c0=W(a0,o0,l0,!1,null,null,null,null);const u0=c0.exports,d0=N.extend({name:"EXAxis",props:{ticksConfigs:{type:Array,required:!0},timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y}},computed:{classes(){return{[Y.xAxis]:!0,[Y.xAxisDark]:this.dark}},axis(){return M.axisBottom(this.timeScale).ticks(this.currentTicksConfig.interval).tickFormat(this.currentTicksConfig.formatFn).tickSizeOuter(0).tickSizeInner(this.height)},density(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},currentTicksConfig(){const{interval:t,format:e}=this.ticksConfigs.find(n=>n.precision>=this.density&&n.interval);return{formatFn:n=>typeof e=="function"?e(n):M.timeFormat(e)(n),interval:t}}},watch:{timeScale:{handler(){this.update()},deep:!0},currentTicksConfig:{handler(){this.update()},deep:!0},height(){this.updateTicksSize()}},mounted(){this.update()},methods:{update(){const t=this.$refs.container;M.select(t).call(this.axis),this.translateTicksText()},translateTicksText(){const t=this.$refs.container;M.select(t).selectAll(".tick text").each(function(){M.select(this).attr("x",5).attr("y",0).style("text-anchor","start")})},updateTicksSize(){this.axis.tickSizeOuter(0).tickSizeInner(this.height),this.update()}}}),Rc="";var h0=function(){var e=this,r=e._self._c;return r("g",{ref:"container",class:e.classes,attrs:{"text-anchor":"middle",transform:`translate(${e.x}, ${e.y})`}})},f0=[],p0=W(d0,h0,f0,!1,null,null,null,null);const Wr=p0.exports,Ot=t=>{const e=M.utcFormat("%_d")(t),r=m0(parseInt(e));return`${e}${r}`},Si=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":M.utcFormat("%-d")(t),_t=t=>["0"," 0","00"].includes(M.utcFormat("%H")(t))?"":`${M.utcFormat("%H")(t)}h`,st=t=>{const e=M.utcFormat("%H:%M")(t);return e==="00:00"?"":e},Gr=t=>M.utcFormat("%M:%S")(t),Ti=t=>`${M.utcFormat("%Hh%Mm")(t)}`,qr=t=>{const e=st(t),r=Ot(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`},Ur=t=>{const e=st(t),r=Number.parseInt(M.utcFormat("%H")(t)),n=Ot(t),i=M.utcFormat("%B")(t);return e&&r%6===0?`${i} ${n} ${e}`:qr(t)},m0=t=>{if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},yt=t=>e=>{const r=M.utcFormat("%H")(e);return!(M.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},Zr=t=>e=>{const r=M.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},ki=t=>e=>{const r=M.utcFormat("%M")(e),n=M.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},ee={_10_seconds:25e-6,_20_seconds:1e-4,_30_seconds:15e-5,_1_minute:3e-4,_2_minutes:75e-5,_5_minutes:.002,_15_minutes:.005,_30_minutes:.01,_1_hour:.025,_2_hours:.05,_3_hours:.1,_4_hours:.15,_6_hours:.25,_1_day:1,_2_days:2,_1_month:8,_1_month_abbr:13,_1_month_letter:22,_3_months:33,_2_year:48,_5_years:120,_20_years:480,_75_years:1800,_300_years:7200,infinity:1/0},Yr={[tt.Overview]:[{precision:ee._30_seconds,interval:M.utcMinute.every(2),format:Ti},{precision:ee._1_minute,interval:M.utcMinute.every(5),format:Ti},{precision:ee._2_minutes,interval:M.utcMinute.every(10),format:qr},{precision:ee._5_minutes,interval:M.utcMinute.every(20),format:Ur},{precision:ee._15_minutes,interval:M.utcHour,format:Ur},{precision:ee._30_minutes,interval:M.utcHour.every(2),format:Ur},{precision:ee._2_hours,interval:M.utcHour.every(6),format:t=>{const e=st(t),r=Ot(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:ee._3_hours,interval:M.utcHour.every(12),format:qr},{precision:ee._6_hours,interval:M.utcHour.every(24),format:t=>{const e=Ot(t),r=M.utcFormat("%b")(t),n=M.utcFormat("%Y")(t);return`${r} ${e} ${n}`}},{precision:ee._2_days,interval:M.utcMonth,format:"%Y – %B"},{precision:ee._2_year,interval:M.utcMonth.every(3),format:"%Y Q%q"},{precision:ee._5_years,interval:M.utcYear.every(5),format:"%Y"},{precision:ee._20_years,interval:M.utcYear.every(20),format:"%Y"},{precision:ee._75_years,interval:M.utcYear.every(75),format:"%Y"},{precision:ee._300_years,interval:M.utcYear.every(300),format:"%Y"},{precision:ee.infinity,interval:M.utcMonth.every(12),format:"%Y"}],[tt.Detailed]:[{precision:ee._10_seconds,interval:M.utcSecond.every(10),format:Gr},{precision:ee._20_seconds,interval:(Ki=M.utcSecond.every(20))==null?void 0:Ki.filter(ki(2)),format:Gr},{precision:ee._30_seconds,interval:(Ji=M.utcSecond.every(30))==null?void 0:Ji.filter(ki(2)),format:Gr},{precision:ee._1_minute,interval:M.utcMinute.filter(Zr(5)),format:st},{precision:ee._2_minutes,interval:(es=M.utcMinute.every(2))==null?void 0:es.filter(Zr(10)),format:st},{precision:ee._5_minutes,interval:(ts=M.utcMinute.every(5))==null?void 0:ts.filter(Zr(20)),format:st},{precision:ee._15_minutes,interval:(rs=M.utcMinute.every(15))==null?void 0:rs.filter(yt(1)),format:st},{precision:ee._30_minutes,interval:(ns=M.utcMinute.every(30))==null?void 0:ns.filter(yt(2)),format:st},{precision:ee._1_hour,interval:M.utcHour.filter(yt(6)),format:_t},{precision:ee._2_hours,interval:(is=M.utcHour.every(2))==null?void 0:is.filter(yt(6)),format:_t},{precision:ee._3_hours,interval:(ss=M.utcHour.every(3))==null?void 0:ss.filter(yt(12)),format:_t},{precision:ee._4_hours,interval:M.utcHour.every(4),format:_t},{precision:ee._6_hours,interval:M.utcHour.every(6),format:_t},{precision:ee._1_day,interval:M.utcDay,format:Si},{precision:ee._2_days,interval:M.utcDay.every(2),format:Si},{precision:ee._1_month,interval:M.utcMonth,format:"%B"},{precision:ee._1_month_abbr,interval:M.utcMonth,format:"%b"},{precision:ee._1_month_letter,interval:M.utcMonth,format:t=>M.utcFormat("%B")(t).charAt(0)},{precision:ee._3_months,interval:M.utcMonth.every(3),format:"Q%q"},{precision:ee._2_year,interval:M.utcMonth.every(6),format:"Q%q"},{precision:ee._5_years,interval:M.utcYear.every(2),format:"%Y"},{precision:ee._20_years,interval:M.utcYear.every(4),format:"%Y"},{precision:ee._75_years,interval:M.utcYear.every(25),format:"%Y"},{precision:ee._300_years,interval:M.utcYear.every(100),format:"%Y"},{precision:ee.infinity,interval:M.utcYear.every(500),format:""}],[tt.DetailedBackground]:[{precision:ee._10_seconds,interval:M.utcSecond,format:""},{precision:ee._20_seconds,interval:M.utcSecond.every(5),format:""},{precision:ee._30_seconds,interval:M.utcSecond.every(10),format:""},{precision:ee._1_minute,interval:M.utcSecond.every(20),format:""},{precision:ee._2_minutes,interval:M.utcSecond.every(30),format:""},{precision:ee._5_minutes,interval:M.utcMinute,format:""},{precision:ee._15_minutes,interval:M.utcMinute.every(3),format:""},{precision:ee._30_minutes,interval:M.utcMinute.every(6),format:""},{precision:ee._1_hour,interval:M.utcMinute.every(15),format:""},{precision:ee._2_hours,interval:M.utcMinute.every(30),format:""},{precision:ee._3_hours,interval:M.utcHour,format:""},{precision:ee._4_hours,interval:M.utcHour,format:""},{precision:ee._6_hours,interval:M.utcMinute.every(120),format:""},{precision:ee._1_day,interval:M.utcHour.every(8),format:""},{precision:ee._2_days,interval:M.utcHour.every(12),format:""},{precision:ee._1_month,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/5);return e===n||e===2*n||e===3*n||e===4*n}),format:""},{precision:ee._1_month_abbr,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/4);return e===n||e===2*n||e===3*n}),format:""},{precision:ee._1_month_letter,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/2);return e===n}),format:""},{precision:ee._3_months,interval:M.utcMonth,format:""},{precision:ee._3_months,interval:M.utcMonth,format:""},{precision:ee._2_year,interval:M.utcYear,format:""},{precision:ee._5_years,interval:M.utcYear.every(2),format:""},{precision:ee._20_years,interval:M.utcYear.every(5),format:""},{precision:ee._75_years,interval:M.utcYear.every(20),format:""},{precision:ee._300_years,interval:M.utcYear.every(100),format:""},{precision:ee.infinity,interval:M.utcYear.every(500),format:""}]},g0=N.extend({name:"EXAxisOverview",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y,ticksConfigs:Yr[tt.Overview]}}}),Hc="";var v0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisOverview,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},_0=[],y0=W(g0,v0,_0,!1,null,null,null,null);const C0=y0.exports,b0=N.extend({name:"EXAxisDetailed",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y,ticksConfigs:Yr[tt.Detailed]}}}),Nc="";var x0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisDetailed,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},w0=[],S0=W(b0,x0,w0,!1,null,null,null,null);const T0=S0.exports,k0=N.extend({name:"EXAxisBackground",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y,ticksConfigs:Yr[tt.DetailedBackground]}}}),jc="";var M0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisBackground,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},E0=[],$0=W(k0,M0,E0,!1,null,null,null,null);const L0=$0.exports,D0=N.extend({name:"ETimelineSVGDefs",props:{eventsGroups:{type:Object,default:()=>({})},forbiddenIntervalColor:{type:String,default:"#ddd"},width:{type:Number,required:!0},height:{type:Number,required:!0}},data(){return{defs:nt,TimelineChartType:Qe,transparencyGradients:[{id:"transparency-gradient-light",stop:38,opacity:.3},{id:"transparency-gradient",stop:130,opacity:.4}]}},computed:{filteredEventsGroups(){return this.eventsGroups||{}}}});var P0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("defs",{ref:"mainContainer",staticClass:"e-timeline"},[e._l(e.eventsGroups,function(n,i){return[r("linearGradient",{key:`${e.defs.loadingGradient}-${i}`,attrs:{id:`${e.defs.loadingGradient}-${i}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":"0"}}),r("stop",{attrs:{offset:"50%","stop-color":n.color,"stop-opacity":"0.6"}}),r("stop",{attrs:{offset:"100%","stop-color":n.color,"stop-opacity":"0"}})],1),[e.TimelineChartType.LineGraph,e.TimelineChartType.BarChart].includes(n.chartType)?[e._l(e.transparencyGradients,function({id:o,stop:s,opacity:u}){return r("linearGradient",{key:`${o}-${i}`,attrs:{id:`${o}-${i}`,x1:"0%",x2:"0%",y1:"0%",y2:"100%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":u}}),r("stop",{attrs:{offset:`${s}%`,"stop-color":n.color,"stop-opacity":"0"}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${i}`,attrs:{id:`${e.defs.clipPath}-${i}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e()]}),r("pattern",{attrs:{id:e.defs.stripedPattern,width:"5",height:"3",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)"}},[r("rect",{attrs:{width:"1",height:"4",fill:e.forbiddenIntervalColor}})])],2)},O0=[],z0=W(D0,P0,O0,!1,null,null,null,null);const B0=z0.exports,I0=N.extend({name:"ETimelineForbiddenInterval",props:{timeScale:{type:Function,required:!0},interval:{type:Object,required:!0},index:{type:Number,required:!0},height:{type:Number,required:!0},timezone:{type:String,default:"UTC"}},data(){return{classNames:Y,defs:nt}},computed:{visibleDomain(){return this.timeScale.domain()},startX(){const t=this.interval.startDate===-1/0?this.visibleDomain[0]:this.tzStringToDate(this.interval.startDate);return this.timeScale(t)},endX(){const t=this.interval.endDate===1/0?this.visibleDomain[1]:this.tzStringToDate(this.interval.endDate);return this.timeScale(t)},width(){return Math.max(this.endX-this.startX,0)}},methods:{tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})}}});var F0=function(){var e=this,r=e._self._c;return r("rect",{class:`${e.classNames.forbiddenInterval} ${e.classNames.forbiddenInterval}-${e.index}`,attrs:{x:e.startX,y:"0",width:e.width,height:e.height,fill:`url(#${e.defs.stripedPattern})`}})},A0=[],R0=W(I0,F0,A0,!1,null,null,null,null);const H0=R0.exports,N0=N.extend({name:"ECursor",props:{timeScale:{type:Function,required:!0},timestamp:{type:String,required:!0},timezone:{type:String,required:!0},height:{type:Number,required:!0},color:{type:String,default:"red"},width:{type:Number,default:1},opacity:{type:Number,default:1}},data(){return{classNames:Y}},watch:{timestamp(){this.repositionCursor()},timeScale(){this.repositionCursor()},height(){this.repositionCursor()}},methods:{repositionCursor(){const t=this.$refs.cursor,e=M.select(t);if(!e)return;if(!this.timestamp){e.style("opacity",0);return}const r=this.tzStringToDate(this.timestamp),n=this.timeScale(r);isNaN(n)?e.style("opacity",0):e.attr("x1",n).attr("x2",n).style("opacity",this.opacity),e.attr("y2",this.height)},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})}}});var j0=function(){var e=this,r=e._self._c;return r("line",{ref:"cursor",class:e.classNames.selectedTimestampCursor,attrs:{x1:"0",y1:"0",x2:"0",opacity:"0",stroke:e.color,"stroke-width":`${e.width}px`}})},W0=[],G0=W(N0,j0,W0,!1,null,null,null,null);const Mi=G0.exports,q0=N.extend({name:"ETimelineCursor",components:{ECursor:Mi},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var U0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,color:"green",height:e.height}})},Z0=[],Y0=W(q0,U0,Z0,!1,null,null,null,null);const X0=Y0.exports,Q0=N.extend({name:"ETimelineSelectedTimestampCursor",components:{ECursor:Mi},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var V0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,height:e.height,width:2}})},K0=[],J0=W(Q0,V0,K0,!1,null,null,null,null);const e5=J0.exports,t5=N.extend({name:"ECursorBehavior",props:{timeScale:{type:Function,required:!0},timezone:{type:String,default:"UTC"},minHoverZone:{type:Number,default:0},isHoveringMilestone:{type:Boolean,default:!1}},data(){return{cursor:null,hoveredTimestamp:null,isHoveringTimeline:!1}},mounted(){this.registerEventsListeners()},methods:{registerEventsListeners(){const t=this.$refs.cursor;this.cursor=M.select(t),this.cursor.on("mousemove",this.handleMouseMove),this.cursor.on("click",this.handleClick),this.cursor.on("mouseleave",this.handleMouseLeave)},handleMouseLeave(){this.isHoveringTimeline=!1,this.hoveredTimestamp=void 0,this.$emit("mouse-leave")},handleMouseMove(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone){this.isHoveringTimeline=!1;return}const r=this.timeScale.invert(e);this.hoveredTimestamp=this.dateToTzString(r),this.isHoveringTimeline=!0,this.$emit("mouse-move",e,this.hoveredTimestamp)},handleClick(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);this.$emit("timestamp-clicked",n,t.target)},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})},dateToTzString(t){return vt({date:t,timezone:this.timezone})}}});var r5=function(){var e=this,r=e._self._c;return r("div",{ref:"cursor",staticClass:"e-timeline__cursor e-relative"},[e._t("default",null,{hoveredTimestamp:e.hoveredTimestamp,isHoveringTimeline:e.isHoveringTimeline})],2)},n5=[],i5=W(t5,r5,n5,!1,null,null,null,null);const s5=i5.exports,a5=N.extend({name:"ETimelineGroupContainer",props:{groupId:{type:String,required:!0},label:{type:String,default:""},color:{type:String,default:""},backgroundColor:{type:String,default:""},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},labelHeight:{type:[Number,void 0],default:void 0},labelRadius:{type:[Number,void 0],default:3},xPadding:{type:Number,default:5},loading:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1}},data(){return{classNames:Y,characterWidth:6.5,isHighlighted:!1}},computed:{computedClasses(){return{label:{[`${Y.labelGroup} ${Y.labelGroup}-${this.groupId}`]:!0},container:{[`${Y.eventGroup} ${Y.eventGroup}-${this.groupId}`]:!0,[`${Y.eventGroup}--highlighted`]:this.isHighlighted}}},computedLabelWidth(){var e;return(this.labelWidth||((e=this.label)==null?void 0:e.length)*this.characterWidth)+this.xPadding*2},textY(){const t=this.labelHeight||this.height;return this.y+t/2},contentX(){return this.showLabel?this.x+this.computedLabelWidth:this.x},labelBackgroundColor(){let t=M.color(this.color);return t.opacity=this.dark?.2:.5,t.toString()},textFillColor(){var t,e;return(this.dark?(t=M.color(this.color))==null?void 0:t.brighter(1.5):(e=M.color(this.color))==null?void 0:e.darker(2)).toString()},loadingIndicatorFill(){return`url(#${nt.loadingGradient}-${this.groupId})`}}}),Wc="";var o5=function(){var e=this,r=e._self._c;return r("g",{class:e.computedClasses.container},[e.hidden?e._e():r("rect",{class:e.classNames.eventGroupBg,attrs:{x:e.x,y:e.y,width:e.width,height:e.height,fill:e.backgroundColor||e.color}}),r("g",{class:e.classNames.eventGroupContent,attrs:{cursor:"pointer"}},[e._t("default",null,{y:e.y,x:e.contentX}),e.loading?r("rect",{class:e.classNames.loadingIndicator,attrs:{x:e.x,y:e.y,width:400,height:e.height,fill:e.loadingIndicatorFill}}):e._e()],2),e.showLabel?r("g",{class:e.computedClasses.label,on:{mouseover:function(n){e.isHighlighted=!0},mouseleave:function(n){e.isHighlighted=!1},click:function(n){return n.stopPropagation(),e.$emit("group-label-clicked",e.groupId)}}},[r("rect",{class:e.classNames.labelBg,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.labelHeight||e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.dark?"black":"white"}}),r("rect",{class:e.classNames.labelBgFill,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.labelHeight||e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.labelBackgroundColor,stroke:e.textFillColor}}),r("text",{staticClass:"label-text",attrs:{x:e.x+e.xPadding,y:e.textY,dy:"0.35rem",fill:e.textFillColor}},[e._v(" "+e._s(e.label)+" ")])]):e._e()])},l5=[],c5=W(a5,o5,l5,!1,null,null,null,null);const u5=c5.exports,d5=N.extend({name:"ETimelineRectsChart",directives:{},components:{ETimelineGroupContainer:u5},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},rectMinWidth:{type:Number,default:1},rectYPadding:{type:Number,default:0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},dots:{type:Boolean,default:!1},dotsSize:{type:Number,default:3},barBorderRadius:{type:Number,default:1.5}},data(){return{classNames:Y,characterWidth:7.5,textPadding:5}},computed:{rectStrokeWidth(){return this.dots&&this.dotsSize?this.dotsSize/10:5},rectRx(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius},rectRy(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius},yPosition(){const t=this.dots?(this.height-this.dotsSize)/2:0;return this.y+this.rectYPadding/2+t},rectStroke(){if(!this.dots)return"#0000";const t=M.color(this.eventsGroup.color);return t==null?void 0:t.brighter(1).toString()},rectHeight(){return this.dots?this.dotsSize:Math.max(this.height-this.rectYPadding,1)},computedEvents(){return this.eventsGroup.events.map(t=>{const e=this.getEventRectX(t,this.timeScale);return{x:e,y:this.yPosition,width:this.getEventRectWidth(t,this.timeScale,this.rectMinWidth),height:this.rectHeight,color:t.color||this.eventsGroup.color,textColor:this.getFillColor(t.color||this.eventsGroup.color,.75,this.dark),textContent:this.getEventText(t,this.textPadding,this.characterWidth),textX:e+this.textPadding,textY:this.yPosition+this.rectHeight/2}})},timeScaleDensity(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n}},methods:{onMouseOver(t,e,r){t.target.classList.add(Y.eventRectHovered),this.$emit("event-mouseover",t,e,r)},onMouseLeave(t){t.target.classList.remove(Y.eventRectHovered),this.$emit("event-mouseout")},getEventText(t,e,r){var o;if(!t.text)return"";const i=(this.getEventRectWidth(t,this.timeScale,this.rectMinWidth)-e)/r;return i<4?"":((o=t.text)==null?void 0:o.length)<=i?t.text:`${t.text.slice(0,i-3)}...`},getEventRectWidth(t,e,r){if(!t)return 0;if(this.dots)return this.dotsSize;if(t.startDate&&t.endDate){const n=new Date(t.startDate),i=new Date(t.endDate),o=e(i)-e(n);return Math.max(o,r)}else{const n=1/(this.timeScaleDensity*3600);return Math.max(n,r)}},getEventRectX(t,e){return isNaN(e(this.tzStringToDate(t.startDate||t.timestamp)))?0:e(this.tzStringToDate(t.startDate||t.timestamp))},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})},dateToTzString(t){return vt({date:t,timezone:this.timezone})},getFillColor(t,e=0,r=!1){var n,i;return(r?(n=M.color(t))==null?void 0:n.brighter(1.5+e):(i=M.color(t))==null?void 0:i.darker(2+e)).toString()}}}),Gc="";var h5=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.height,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[e.dots?r("line",{class:e.classNames.milestoneLine,attrs:{x1:0,x2:e.width,y1:e.yPosition+e.dotsSize/2,y2:e.yPosition+e.dotsSize/2,stroke:e.eventsGroup.color,"stroke-width":1}}):e._e(),e._l(e.computedEvents,function(n,i){return r("g",{key:i,class:e.classNames.eventRectContainer},[r("rect",{class:[e.classNames.eventRect,e.dots?`${e.classNames.eventRect}--dot`:""],attrs:{x:n.x,y:n.y,width:n.width,height:n.height,fill:n.color,stroke:e.rectStroke,cursor:"pointer","stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy},on:{mouseover:function(o){return e.onMouseOver(o,e.eventsGroup.events[i],e.groupId)},mouseleave:e.onMouseLeave}}),n.textContent?r("text",{class:e.classNames.eventRectText,attrs:{fill:n.textColor,x:n.textX,y:n.textY,dy:"0.35em","text-anchor":"start","font-size":"12","font-weight":600,"stroke-linejoin":"round","paint-order":"stroke","pointer-events":"none"}},[e._v(" "+e._s(n.textContent)+" ")]):e._e()])})],2)},f5=[],p5=W(d5,h5,f5,!1,null,null,null,null);const m5=p5.exports,g5=N.extend({name:"ETimeline",directives:{resizeObserver:Ke},components:{ETimelineSVGDefs:B0,EXAxisBackground:L0,EXAxisDetailed:T0,EXAxisOverview:C0,ETimelineMilestone:X1,ETimelineMarkers:s0,ETimelineCursor:X0,ETimelineSelectedTimestampCursor:e5,EZoomBehavior:u0,ECursorBehavior:s5,ETimelineRectsChart:m5,ETimelineForbiddenInterval:H0},props:{eventsGroups:{type:Object,default:null},dark:{type:Boolean,default:!1},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},selectedTimestamp:{type:String,default:void 0},showEventTooltip:{type:Boolean,default:!0},disableZoom:{type:Boolean,default:!1},insertZerosAtInterval:{type:String,default:void 0},flattenLineGraphEnds:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},rectMinWidth:{type:Number,default:1},barHeight:{type:Number,default:18},barYPadding:{type:Number,default:0},barXPadding:{type:Number,default:0},chartMinHeight:{type:Number,default:60},chartMinLabelHeight:{type:Number,default:18},minDate:{type:String,default:void 0},maxDate:{type:String,default:void 0},selectedClass:{type:[String,void 0],default:void 0},panOnDateClick:{type:Boolean,default:!1},panTransitionDuration:{type:Number,default:800},selectedDate:{type:String,default:""},autoResize:{type:Boolean,default:!0},markers:{type:Array,default:()=>[]},stickyMarkers:{type:Boolean,default:!0},fitMarkersOnChange:{type:Boolean,default:!1},zoomToIntervalTransitionDuration:{type:Number,default:800},zoomToBoundariesTransitionDuration:{type:Number,default:0},milestoneBulletSize:{type:Number,default:18},milestonesFirst:{type:Boolean,default:!0},forbiddenIntervals:{type:Array,default:()=>[]},forbiddenIntervalColor:{type:String,default:"#ddd"},focusedInterval:{type:[Object,void 0],default:void 0},locked:{type:Boolean,default:!1},timezone:{type:[String,void 0],default:void 0},stopClickPropagation:{type:Boolean,default:!1},tooltipPosition:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},maxDomainPadding:{type:Number,default:0},showCursor:{type:Boolean,default:!0}},data(){return{mainContainer:null,tooltip:null,timeline:null,wrapperDiv:null,svgElement:null,svg:null,timeScale:null,currentTimeScaleDensity:null,axisHeight:22,isHoveringEvent:!1,hoveredEvent:null,eventTooltipStyle:{},hoveredEventType:null,utcOffset:0,yScale:null,hoveredCounts:[],countsByTimestamp:{},dotsByTimestamp:{},visibleFrom:null,visibleTo:null,characterWidth:7.5,textPadding:5,debouncedOnResize:()=>{},isFirstPaint:!0,timeouts:[],groupsVisibility:{},selectedMilestoneId:null,isInitialized:!1,transformDiff:{translation:0,scale:1},isZoomingInterval:!1,hoveredMilestone:null,focusedDomain:null,transitionDuration:400,focusedTimestamp:null,TimelineChartType:Qe}},computed:{combinedBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(this.getBarGroupHeight(e)||this.barChartHeight),0)},combinedBottomBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(e.bottom?this.getBarGroupHeight(e):0),0)},combinedMilestonesHeight(){return Object.values(this.milestonesGroups).reduce((t,e)=>t+(e.height||this.barChartHeight),0)},milestonesYOffset(){return this.milestonesFirst?0:this.combinedBarsHeight-this.combinedBottomBarsHeight+(this.hasChart?this.chartHeight:0)},chartsYOffset(){return this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0},barsYOffset(){return(this.hasChart?this.chartHeight:0)+(this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0)},hasMilestones(){return Object.keys(this.milestonesGroups).length>0},barChartHeight(){return this.barHeight+this.barYPadding},computedClasses(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark},background:this.dark?"e-bg-gray-900":"e-bg-gray-50",tooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300",eventTooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300"}},lineGraphGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Qe.LineGraph?{...t,[e]:r}:t,{})},chartHeight(){if(!this.showLabels)return this.chartMinHeight;const e=(Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length)*this.barChartHeight;return Math.max(this.chartMinHeight,e)},barGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>!r.chartType||[Qe.Bars,Qe.Dots].includes(r.chartType)?{...t,[e]:r}:t,{})},barChartGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Qe.BarChart?{...t,[e]:r}:t,{})},milestonesGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Qe.Milestones?{...t,[e]:r}:t,{})},hasChart(){return Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length>0},labelRectWidth(){return Object.values(this.eventsGroups).reduce((r,n)=>{var i;return Math.max(r,(i=n.label)==null?void 0:i.length)},0)*this.characterWidth+2*this.textPadding},combinedXAxesHeight(){return this.axisHeight*2},timelineWidth(){var t,e,r;return((t=this.timeline)==null?void 0:t.offsetWidth)||((r=(e=this.mainContainer)==null?void 0:e.getBoundingClientRect())==null?void 0:r.width)},timelineHeight(){return(this.hasChart?this.chartHeight:0)+this.combinedXAxesHeight+this.combinedBarsHeight+this.combinedMilestonesHeight},filteredEventsGroups(){const t=Object.entries(this.eventsGroups).filter(([e,r])=>this.getCurrentGroupVisibility(e));return Object.fromEntries(t)},allEventsSorted(){const t=Object.values(this.filteredEventsGroups).map(e=>e.events).flat();return this.getSortedEvents(t)},oldestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[0]:t={timestamp:new Date(new Date().getTime()-864e5)},t},latestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[this.allEventsSorted.length-1]:t={timestamp:new Date},t},allLineChartTimestamps(){const t=new Set;return Object.values(this.lineGraphGroups).forEach(e=>{e.events.forEach(r=>{t.add(r.timestamp)})}),Array.from(t).sort()},placeholderLineChartGroup(){return this.fillTimeGaps(this.allLineChartTimestamps.map(t=>({timestamp:t,count:0})))},filledGapsLineGraphGroups(){return Object.entries(this.lineGraphGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:this.fillEvents(r.events)}}),{})},flattenedCounts(){return[...Object.values(this.lineGraphGroups),...Object.values(this.barChartGroups)].map(t=>t.events).flat()},hiddenGroupsLabels(){return Object.entries(this.groupsVisibility).reduce((t,[e,r])=>r?t:[...t,e],[])},minHoverZone(){return this.showLabels?this.labelRectWidth:0},sortedMarkers(){return this.isInitialized?[...this.markers].sort((t,e)=>new Date(t.timestamp).getTime()>new Date(e.timestamp).getTime()?1:-1):[]},maxVisibleCount(){const[t,e]=this.timeScale.domain(),r=this.flattenedCounts.filter(n=>{const i=new Date(n.startDate||n.timestamp),o=new Date(n.endDate||n.timestamp);return o>=t&&o<=e||i>=t&&i<=e});return M.max(r,n=>n.count)},defaultMaxDomain(){const t=new Date(this.oldestEvent.timestamp||this.oldestEvent.startDate).getTime(),e=new Date(this.latestEvent.timestamp||this.latestEvent.endDate).getTime(),n=(e-t)*.75,i=new Date(t-n),o=new Date(e+n);return[i.toISOString(),o.toISOString()]},defaultFocusedDomain(){const t=this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.latestEvent.timestamp||this.latestEvent.endDate;return[t,e]},domain(){let t=new Date(this.minDate||this.defaultMaxDomain[0]).getTime(),e=new Date(this.maxDate||this.defaultMaxDomain[1]).getTime(),r=0;return this.maxDomainPadding&&(r=(e-t)*this.maxDomainPadding),t=new Date(t-r).toISOString(),e=new Date(e+r).toISOString(),[this.tzStringToDate(t),this.tzStringToDate(e)]},svgLeft(){var t,e,r;return((r=(e=(t=this.svg)==null?void 0:t.node())==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0},markersScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("marker.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})},isHoveringMilestone(){return!!this.hoveredMilestone},milestonesGroupsPlaceholder(){return Object.entries(this.milestonesGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:[],isLoading:!1}}),{})}},watch:{dark(){this.handleDarkModeChange()},markers(){this.fitMarkersOnChange&&this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},eventsGroups:{handler(){this.updateTimeline()},deep:!0},barHeight:"updateTimeline",barYPadding:"updateTimeline",chartMinHeight:"updateTimeline",selectedDate(t){t&&!this.locked&&(this.focusedTimestamp=this.tzStringToDate(t).toISOString())},groupsVisibility(){this.updateTimeline()},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&(this.focusedDomain=[t.startDate,t.endDate])}},created(){this.debouncedOnResize=mi(this.handleResize,100)},mounted(){this.validateProps(),this.initTimeline(),this.zoomToStartAndEndDates()},beforeDestroy(){this.clearTimeline()},methods:{validateProps(){this.minDate||console.log("<ETimeline />: didn't receive a 'min-date' prop. Setting default: ",this.defaultMaxDomain[0]),this.maxDate||console.log("<ETimeline />: didn't receive a 'max-date' prop. Setting default: ",this.defaultMaxDomain[1]),this.startDate||console.log("<ETimeline />: didn't receive a 'start-date' prop. Setting default: ",this.defaultFocusedDomain[0]),this.endDate||console.log("<ETimeline />: didn't receive an 'end-date' prop. Setting default: ",this.defaultFocusedDomain[1])},updateTimeline(){this.isInitialized&&(this.initOrUpdateSvg(),this.updateYScale(),this.drawEventsGroups(),this.isInitialized=!0)},initTimeline(){this.initRefs();const t=this.startDate||this.defaultFocusedDomain[0],e=this.endDate||this.defaultFocusedDomain[1];if(this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)],!this.timeline||this.timeline.offsetWidth===0||!this.domain||!this.timeScale){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.initOrUpdateSvg(),this.initUtcOffset(),this.initYScale(),this.drawEventsGroups(),this.emitVisibleInterval(St.Initial),this.selectedDate&&this.panOnDateClick&&(this.focusedTimestamp=this.tzStringToDate(this.selectedDate)),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.mainContainer=this.$refs.mainContainer,this.timeline=this.$refs.timelineContainer,this.svgElement=this.$refs.timelineSvg,this.wrapperDiv=this.$refs.wrapperDiv},initOrUpdateSvg(){this.svg||(this.svg=M.select(this.svgElement))},initUtcOffset(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate;this.utcOffset=Se.parseZone(t).utcOffset()},initYScale(){this.yScale=M.scaleLinear().range([this.chartHeight,0]),this.updateYScale()},updateYScale(){this.yScale.range([this.chartHeight,0]),this.yScale.domain([0,this.maxVisibleCount])},zoomToFitMarkers(){const t=this.markers.map(o=>new Date(o.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t),n=new Date(e),i=new Date(r);this.focusedDomain=[n,i]},clearTimeline(){this.svg&&this.svg.remove(),this.countsByTimestamp={}},updateCurrentTimeScaleDensity(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;isNaN(n)||(this.currentTimeScaleDensity=n)},emitVisibleInterval(t){const e=this.timeScale.invert(0),r=this.timeScale.invert(this.timeline.offsetWidth);if(this.visibleFrom&&this.visibleFrom.getTime()===e.getTime()&&this.visibleTo&&this.visibleTo.getTime()===r.getTime())return;this.visibleFrom=e,this.visibleTo=r;const n=this.dateToTzString(this.visibleFrom),i=this.dateToTzString(this.visibleTo);this.$emit("visible-interval-change",{fromDate:n,toDate:i,trigger:t,transform:this.transformDiff})},onResize(t){this.autoResize&&(this.isFirstPaint?(this.handleResize(t),this.isFirstPaint=!1):this.debouncedOnResize(t))},handleResize({contentRect:t}){this.svg&&(this.svg.attr("width",t.width),this.updateTimeline())},handleDarkModeChange(){if(!this.showLabels)return;const t=this;this.svg.selectAll(`.${Y._legacyLabelBg}`).each(function(){M.select(this).style("fill",t.dark?"black":"white")}),this.svg.selectAll(`.${Y._legacyLabelBgFill}`).each(function(){const e=M.select(this),r=e.node().dataset.color;e.style("fill",t.getLabelBackgroundColor(r)).style("stroke",t.getTextFillColor(r)).style("stroke-width",.25)}),this.svg.selectAll(`.${Y._legacyLabelText}`).each(function(){const e=M.select(this),r=e.node().dataset.color;e.style("fill",t.getTextFillColor(r))})},handleMouseLeave(){this.$emit("hovered-timestamp",void 0)},handleMouseMove(t,e){this.$emit("hovered-timestamp",e),this.tooltip&&(this.eventTooltipStyle={left:`${t}px`,zIndex:100,[this.tooltipPosition==="top"?"bottom":"top"]:`${this.timeline.getBoundingClientRect().height}px`})},handleClick(t,e){if(this.isHoveringEvent&&(this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation))return;if(Array.from(e.classList).includes(Y.forbiddenInterval)){this.$emit("forbidden-timestamp-clicked",t);return}this.$emit("date-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t)},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t.timestamp)},handleLineMouseOver(t,e,r){this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp}`]).reduce((n,i)=>{var u;const[o,s]=i;return(u=this.hiddenGroupsLabels)!=null&&u.includes(o)?n:[...n,{type:o,count:s,label:this.getExternalLabelText(o)}]},[]),this.hoveredEvent=e,this.isHoveringEvent=!0,this.$emit("event-mouseover",{eventData:e,eventType:r,hoveredCounts:this.hoveredCounts})},handleLineMouseOut(){this.isHoveringEvent=!1,this.hoveredCounts=[],this.$emit("event-mouseout")},handleBarMouseOver(t,e,r){t.offsetX<=this.minHoverZone||(this.hoveredEvent=e,this.hoveredEventType=r,this.isHoveringEvent=!0,this.$emit("event-mouseover",{eventData:e,eventType:r}))},handleBarMouseOut(){this.isHoveringEvent=!1,this.hoveredEvent=null,this.$emit("event-mouseout")},handleLabelMouseOver(t){M.selectAll(`.${Y.lineGraphGroup}-${t}`).classed(`${Y.lineGraphGroup}--highlighted`,!0),M.selectAll(`.${Y.lineGraphGroupLabel}`).classed(`${Y.lineGraphGroupLabel}--highlighted`,!0)},handleLabelMouseLeave(t){M.selectAll(`.${Y.lineGraphGroup}-${t}`).classed(`${Y.lineGraphGroup}--highlighted`,!1),M.selectAll(`.${Y.lineGraphGroupLabel}`).classed(`${Y.lineGraphGroupLabel}--highlighted`,!1)},handleTransformChange(t){this.transformDiff=t},handleTimeScaleChange(t){this.timeScale=t,this.updateCurrentTimeScaleDensity(),this.isInitialized&&(this.updateLineGraphs(),this.updateBarChart(),this.updateLineGraphHoverZones(),this.emitVisibleInterval(St.Zoom),this.focusedTimestamp=void 0,this.$emit("time-scale-change",t))},zoomToStartAndEndDates(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.endDate||this.latestEvent.timestamp||this.latestEvent.endDate;this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)]},updateBarChart(){const t=Object.keys(this.barChartGroups).length;Object.keys(this.barChartGroups).forEach((e,r)=>{const n=m=>(this.getEventRectWidth(m)-this.barXPadding*2)/t,i=m=>this.yScale.range()[0]-this.yScale(m.count),o=m=>this.getEventRectX(m)+this.barXPadding+r*n(m),s=m=>this.yScale(m.count),u=`.${Y.eventBarContainer}-${e}`,a=this.svg.selectAll(u),l=`.${Y.barChartGroup} rect.${Y.eventBarHoverZone}`;a.selectAll(l).attr("x",o).attr("width",n);const d=`.${Y.barChartGroup} rect.${Y.eventBar}`;a.selectAll(d).attr("x",o).attr("width",n).attr("y",s).attr("height",i);const p=`.${Y.barChartGroup} rect.${Y.eventBarCap}`;a.selectAll(p).attr("x",o).attr("width",n).attr("y",s)})},updateLineGraphs(){Object.entries(this.lineGraphGroups).forEach(([t])=>{const e=M.area().x(r=>this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1(r=>this.yScale(r.count)).curve(M.curveMonotoneX);this.svg.selectAll(`.${Y.lineGraphPath}-${t}`).attr("d",r=>e(r))})},updateLineGraphHoverZones(){Object.keys(this.lineGraphGroups).forEach(t=>{const e=this;this.svg.selectAll(`.${Y.lineGraphDot}-${t}`).each(function(r){M.select(this).attr("cx",e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy",e.yScale(r.count))}),this.svg.selectAll(`.${Y.lineGraphHoverZone}-${t}`).each(function(r){const n=e.timeScale(e.tzStringToDate(r.timestamp).getTime())-15;M.select(this).attr("x",n).attr("y",0).attr("width",30).attr("height",e.chartHeight)})})},getEventRectX(t){return isNaN(this.timeScale(this.tzStringToDate(t.startDate||t.timestamp)))?0:this.timeScale(this.tzStringToDate(t.startDate||t.timestamp))},getEventRectWidth(t){if(!t)return 0;if(t.startDate&&t.endDate){const e=new Date(t.startDate),r=new Date(t.endDate),n=this.timeScale(r)-this.timeScale(e);return Math.max(n,this.rectMinWidth)}else{const e=1/(this.currentTimeScaleDensity*3600);return Math.max(e,this.rectMinWidth)}},drawEventsGroups(){this.svg.selectAll(`.${Y.lineGraphGroup}`).remove(),this.svg.selectAll(`.${Y.lineGraphGroupLabel}`).remove(),this.svg.selectAll(`.${Y._legacyLoadingIndicator}`).remove(),this.drawLineGraphEventsGroups(),this.drawBarChartEventsGroups()},drawLineGraphEventsGroups(){const t=this.combinedXAxesHeight+this.chartsYOffset,e=this.insertZerosAtInterval?this.filledGapsLineGraphGroups:this.lineGraphGroups;Object.entries(e).forEach(([r,n])=>{const i=this.svg.append("g").classed(`${Y.lineGraphGroup} ${Y.lineGraphGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:o,events:s}=n;this.drawLineGraph({events:s,gElement:i,color:o,type:r}),this.drawLineGraphHoverZones({events:s,gElement:i,color:o,type:r})}),Object.entries(this.lineGraphGroups).forEach(([r,n],i)=>{const{color:o,isLoading:s,label:u}=n,a=Math.max(this.chartMinLabelHeight,this.barChartHeight),l=this.chartHeight-a*(i+1),d=t+this.chartHeight-a,p=this.svg.append("g").classed(Y.lineGraphGroupLabel,!0).attr("transform",`translate(0,${t})`).on("mouseover",()=>this.handleLabelMouseOver(r)).on("mouseleave",()=>this.handleLabelMouseLeave(r));this.drawProgressIndicator({type:r,color:o,isLoading:s,yPosition:d}),this.drawTextLabel({color:o,label:u,type:r,height:a,yPosition:l,gElement:p})})},drawLineGraph({events:t,gElement:e,color:r,type:n}){const i=M.area().x(s=>this.timeScale(this.tzStringToDate(s.timestamp))).y0(this.timelineHeight).y1(s=>this.yScale(s.count)).curve(M.curveMonotoneX),o=`${nt.clipPath}-${n}`;e.append("path").datum(t).classed(`${Y.lineGraphPath}-${n}`,!0).attr("fill",`url(#${nt.transparencyGradientLight}-${n})`).attr("stroke",r).attr("stroke-linejoin","round").attr("stroke-linecap","round").attr("stroke-width",1).attr("d",s=>i(s)).attr("clip-path",`url(#${o})`)},drawLineGraphHoverZones({events:t,gElement:e,color:r,type:n}){t.forEach(i=>{const o=`${i.timestamp}`;this.countsByTimestamp[o]={...this.countsByTimestamp[o]||{},[n]:i.count};const s=e.append("circle").classed(`${Y.lineGraphDot} ${Y.lineGraphDot}-${n}`,!0).attr("cx",this.timeScale(this.tzStringToDate(i.timestamp))).attr("cy",this.yScale(i.count)).attr("r",1.5).attr("fill",r).attr("stroke-width",0).datum(i);this.dotsByTimestamp[o]=[...this.dotsByTimestamp[o]||[],s],e.append("rect").classed(`${Y.lineGraphHoverZone}-${n}`,!0).attr("x",this.timeScale(this.tzStringToDate(i.timestamp))-15).attr("y",0).attr("width",30).attr("height",this.chartHeight).attr("fill","transparent").datum(i).on("mouseover",u=>{this.handleLineMouseOver(u,i,n),this.dotsByTimestamp[o].forEach(a=>a.classed(`${Y.lineGraphDot}--active`,!0))}).on("mouseout",()=>{this.handleLineMouseOut(),this.dotsByTimestamp[o].forEach(u=>u.classed(`${Y.lineGraphDot}--active`,!1))})})},getMilestoneClass(t){return{[Y.milestoneSelected]:[t.id,t.timestamp].includes(this.selectedMilestoneId)}},getMilestoneColors(t,e){return{background:t||e,border:this.getTextFillColor(t||e,.25)}},getMilestoneGroupYPosition(t){let e=0;for(const[r,n]of Object.entries(this.milestonesGroups)){if(r===t)break;e+=n.height||this.barChartHeight}return this.combinedXAxesHeight+this.milestonesYOffset+e},getBarGroupYPosition(t,e){let r=this.combinedXAxesHeight;e?r+=(this.hasChart?this.chartHeight:0)+(this.hasMilestones?this.combinedMilestonesHeight:0):r+=this.barsYOffset;for(const[n,i]of Object.entries(this.barGroups)){if(n===t)break;!e&&i.bottom||(r+=this.getBarGroupHeight(i))}return r},getBarGroupHeight(t){return t.height?Math.max(t.height+this.barYPadding,1):this.barChartHeight},drawBarChartEventsGroups(){const t=this.combinedXAxesHeight,e=this.barChartGroups;Object.entries(e).forEach(([r,n],i)=>{const o=this.svg.append("g").classed(`${Y.barChartGroup} ${Y.barChartGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:s,events:u}=n;this.drawBarsChart({events:u,color:s,gElement:o,yOffset:t,type:r,index:i})})},drawProgressIndicator({yPosition:t,type:e,isLoading:r}){this.svg.append("rect").classed(`${Y._legacyLoadingIndicator} ${Y._legacyLoadingIndicator}-${e}`,!0).attr("x",0).attr("y",t).attr("width",this.timeline.offsetWidth/3).attr("height",this.barChartHeight).attr("fill",`url(#${nt.loadingGradient}-${e})`).style("visibility",r?"visible":"hidden")},drawBarsChart({events:t,gElement:e,color:r,yOffset:n,type:i,index:o}){const s=this,u=Object.keys(this.barChartGroups).length,a=C=>(this.getEventRectWidth(C)-this.barXPadding*2)/u,l=C=>this.yScale.range()[0]-this.yScale(C.count),d=C=>this.getEventRectX(C)+this.barXPadding+o*a(C),p=C=>this.yScale(C.count),m=e.selectAll(Y.eventBarContainer).data(t).enter().append("g").attr("class",`${Y.eventBarContainer} ${Y.eventBarContainer}-${i}`);m.append("rect").attr("class",C=>Y.eventBarHoverZone+(C.className?` ${C.className}`:"")).attr("x",d).attr("y",-n).attr("width",a).attr("height",this.yScale.range()[0]+n).attr("fill",C=>C.color||r).attr("fill-opacity",0),m.append("rect").attr("class",C=>Y.eventBar+(C.className?` ${C.className}`:"")).attr("x",d).attr("y",p).attr("width",a).attr("height",l).attr("stroke-width",5).attr("cursor","pointer").attr("stroke","#0000").attr("fill",`url(#${nt.transparencyGradient}-${i})`),m.append("rect").attr("class",C=>Y.eventBarCap+(C.className?` ${C.className}`:"")).attr("x",d).attr("y",p).attr("width",a).attr("height",2).attr("stroke-width",0).style("fill",C=>C.color||r),m.on("mouseover",function(C,x){const h=M.select(this);s.onBarChartBarMouseOver(h,r),s.handleBarMouseOver(C,x,i)}).on("mouseout",function(){const C=M.select(this);s.onBarChartBarMouseOut(C,i),s.handleBarMouseOut()}).on("click",function(){e.selectAll(`.${Y.eventBarContainerSelected}`).classed(Y.eventBarContainerSelected,!1),M.select(this).classed(Y.eventBarContainerSelected,!0)})},onBarChartBarMouseOver(t,e){t.classed(Y.eventBarContainerHovered,!0),t.selectAll(`.${Y.eventBarHoverZone}`).attr("fill-opacity",.2);const n=t.selectAll(`.${Y.eventBar}`);n.attr("fill",e),n.attr("fill-opacity",.5)},onBarChartBarMouseOut(t,e){t.classed(Y.eventBarContainerHovered,!1),t.selectAll(`.${Y.eventBarHoverZone}`).attr("fill-opacity",0);const n=t.selectAll(`.${Y.eventBar}`);n.attr("fill",`url(#${nt.transparencyGradient}-${e})`),n.attr("fill-opacity",1)},drawTextLabel({gElement:t,yPosition:e,color:r,label:n,type:i,height:o}){if(!this.showLabels)return;const s={x:-5,y:e,w:this.labelRectWidth,h:o||this.barChartHeight,radius:3},u=t.append("g").attr("class",`${Y._legacyLabelGroup} ${Y._legacyLabelGroup}-${i}`).style("cursor","pointer").on("click",()=>this.toggleGroupVisibility(i));u.append("rect").attr("class",Y._legacyLabelBg).attr("data-color",r).attr("x",s.x).attr("y",s.y).attr("width",s.w).attr("height",s.h).attr("rx",s.radius).attr("ry",s.radius).style("fill",this.dark?"#131a29":"white"),u.append("rect").attr("class",Y._legacyLabelBgFill).attr("data-color",r).attr("x",s.x).attr("y",s.y).attr("width",s.w).attr("height",s.h).attr("rx",s.radius).attr("ry",s.radius).style("fill",this.getLabelBackgroundColor(r)).style("stroke",this.getTextFillColor(r)).style("stroke-width",.25),u.append("text").attr("class",Y._legacyLabelText).attr("data-color",r).attr("x",5).attr("y",e+(o||this.barChartHeight)/2).attr("dy","0.35em").style("text-anchor","start").style("font-size","12px").style("font-weight",500).style("stroke-linejoin","round").style("paint-order","stroke").style("fill",this.getTextFillColor(r)).text(n)},getTextFillColor(t,e=0){var r,n;return(this.dark?(r=M.color(t))==null?void 0:r.brighter(1.5+e):(n=M.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=M.color(t);return e.opacity=this.dark?.2:.5,e.toString()},getCurrentGroupVisibility(t){var n;const e=this.groupsVisibility[t];if(e!==void 0)return e;const r=(n=this.eventsGroups[t])==null?void 0:n.isHidden;return r!==void 0?!r:!0},toggleGroupVisibility(t){this.groupsVisibility={...this.groupsVisibility,[t]:!this.getCurrentGroupVisibility(t)}},getExternalLabelStyles(t){const e=this.eventsGroups[t].color;return{background:this.getLabelBackgroundColor(e),color:this.getTextFillColor(e)}},getExternalLabelText(t){var e;return(e=this.eventsGroups[t])==null?void 0:e.label},getExternalLabelWrapperStyles(t){const e=this.eventsGroups[t].color;return{borderColor:this.getTextFillColor(e)}},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})},dateToTzString(t){return vt({date:t,timezone:this.timezone})},getFormattedTimestamp(t){return Se.parseZone(t).format("YYYY-MM-DDTHH:mm:ss")},fillTimeGaps(t){if(t.length<=1)return t;const e=this.insertZerosAtInterval,r=o=>o.clone().add(1,e),n=o=>o.clone().subtract(1,e);let i=[];for(let o=0;o<t.length;o++){const s=t[o];if(i.push(s),o===t.length-1)break;const u=t[o+1],a=Se(s.timestamp),l=Se(u.timestamp);if(l.diff(a,e)>1){const d=r(a).toISOString(),p=n(l).toISOString();i.push({timestamp:d,count:0}),d!==p&&i.push({timestamp:p,count:0})}}if(this.flattenLineGraphEnds){const o=Se(t[0].timestamp),s=Se(t[t.length-1].timestamp),u=n(o).toISOString(),a=r(s).toISOString();i=[{timestamp:u,count:0},...i,{timestamp:a,count:0}]}return i},fillEvents(t){return this.placeholderLineChartGroup.map(e=>t.find(n=>n.timestamp===e.timestamp)||e)},onMilestoneClick(t,e){this.panOnDateClick&&(this.focusedTimestamp=t.timestamp),this.selectedMilestoneId=t.id||t.timestamp,this.$emit("milestone-click",{milestone:t,milestoneType:e})},getSortedEvents(t){return[...t].sort((e,r)=>new Date(e.timestamp||e.startDate)>new Date(r.timestamp||r.startDate)?1:-1)},onHoverMilestone(t){this.hoveredMilestone=t}}}),qc="";var v5=function(){var e=this,r=e._self._c;return r("div",{ref:"mainContainer",staticClass:"e-timeline"},[r("EZoomBehavior",{attrs:{domain:e.domain,"focused-domain":e.focusedDomain,"translation-duration":e.transitionDuration,"focused-timestamp":e.focusedTimestamp,timezone:e.timezone},on:{"transform-changed":e.handleTransformChange,"time-scale-change":e.handleTimeScaleChange},scopedSlots:e._u([{key:"default",fn:function(){return[e.timeScale?r("div",{ref:"wrapperDiv",staticClass:"e-relative e-timeline e-border e-rounded",class:e.computedClasses.wrapper},[r("ECursorBehavior",{attrs:{"time-scale":e.timeScale,timezone:e.timezone,"min-hover-zone":e.minHoverZone,"is-hovering-milestone":e.isHoveringMilestone},on:{"mouse-move":e.handleMouseMove,"mouse-leave":e.handleMouseLeave,"timestamp-clicked":e.handleClick},scopedSlots:e._u([{key:"default",fn:function({hoveredTimestamp:n,isHoveringTimeline:i}){return[r("ETimelineMarkers",{attrs:{markers:e.sortedMarkers,"sticky-markers":e.stickyMarkers,"time-scale":e.timeScale,"time-zone":e.timezone,height:e.timelineHeight,"svg-left":e.svgLeft},on:{"marker-clicked":e.handleMarkerClick,"marker-drag-end":function(o){return e.$emit("marker-drag-end",o)},"marker-drag-start":function(o){return e.$emit("marker-drag-start",o)},"marker-drag-drag":function(o){return e.$emit("marker-drag-drag",o)}},scopedSlots:e._u([e._l(e.markersScopedSlots,function(o,s){return{key:s,fn:function(u){return[e._t(s,null,null,u)]}}})],null,!0)}),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"timelineContainer",staticClass:"e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden"},[r("svg",{ref:"timelineSvg",class:e.computedClasses.background,attrs:{width:e.timelineWidth,height:e.timelineHeight}},[r("ETimelineSVGDefs",{attrs:{"events-groups":e.eventsGroups,width:e.timelineWidth,height:e.chartHeight,"forbidden-interval-color":e.forbiddenIntervalColor}}),r("g",{staticClass:"e-timeline-axes"},[e.timeScale?r("EXAxisOverview",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisDetailed",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-e.axisHeight,y:e.axisHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisBackground",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-1.75*e.axisHeight,y:e.axisHeight*1.75,dark:e.dark}}):e._e()],1),e.selectedTimestamp?r("ETimelineSelectedTimestampCursor",{attrs:{"time-scale":e.timeScale,"selected-timestamp":e.selectedTimestamp,timezone:e.timezone,height:e.timelineHeight}}):e._e(),n&&i&&!e.isHoveringMilestone&&e.showCursor?r("ETimelineCursor",{attrs:{"time-scale":e.timeScale,"selected-timestamp":n,timezone:e.timezone,height:e.timelineHeight}}):e._e(),e._l(e.barGroups,function(o,s){return r("ETimelineRectsChart",{key:s,attrs:{"time-scale":e.timeScale,"events-group":o,"group-id":s,y:e.getBarGroupYPosition(s,o.bottom),height:e.barChartHeight,width:e.timelineWidth,"rect-y-padding":e.barYPadding,dark:e.dark,"show-label":e.showLabels,timezone:e.timezone,dots:o.chartType===e.TimelineChartType.Dots,"dots-size":o.dotsSize,"bar-border-radius":o.barBorderRadius},on:{"event-mouseover":e.handleBarMouseOver,"event-mouseout":e.handleBarMouseOut,"group-label-clicked":e.toggleGroupVisibility}})}),e._l(e.milestonesGroupsPlaceholder,function(o,s){return r("ETimelineRectsChart",{key:s,attrs:{width:e.timelineWidth,y:e.getMilestoneGroupYPosition(s),height:o.height,"group-id":s,"events-group":o,"time-scale":e.timeScale,dark:e.dark,dots:!0,"show-label":!1}})}),e._l(e.forbiddenIntervals,function(o,s){return r("ETimelineForbiddenInterval",{key:s,attrs:{"time-scale":e.timeScale,interval:o,index:s,height:e.timelineHeight,timezone:e.timezone}})})],2)]),e._l(e.milestonesGroups,function(o,s){return r("div",{key:`${s}`,staticClass:"e-timeline-milestones",attrs:{"data-test-id":"timeline-milestones"}},[r("div",{class:`e-tl-milestones e-tl-milestones-${s}`},e._l(e.getSortedEvents(o.events),function(u,a){return r("ETimelineMilestone",{key:`${u.milestoneType}-${a}`,class:e.getMilestoneClass(u),attrs:{"time-scale":e.timeScale,y:e.getMilestoneGroupYPosition(s),height:o.height||e.barChartHeight,"data-timestamp":u.timestamp,milestone:u,dot:o.dots,size:u.size||e.milestoneBulletSize,"transition-duration":o.milestonesTransitionDuration,"line-height":o.milestonesLineHeight,"dot-size":o.milestonesDotSize,"data-test-id":`milestone-${u.milestoneType}-${a}`,"background-color":e.getMilestoneColors(u.color,o.color).background,"border-color":e.getMilestoneColors(u.color,o.color).border,timezone:e.timezone},on:{"hovered-milestone":e.onHoverMilestone,"milestone-click":function(l){return e.onMilestoneClick(u,s)}},scopedSlots:e._u([{key:"content",fn:function(){return[e._t(`milestoneContent.${u.milestoneType}`,function(){return[r("span",{staticClass:"e-px-2"},[e._v(" "+e._s(u.text)+" ")])]},{milestone:u,index:a,hover:u===e.hoveredMilestone})]},proxy:!0},{key:"label",fn:function(){return[e._t(`milestoneLabel.${u.milestoneType}`,null,{milestone:u})]},proxy:!0}],null,!0)})}),1)])}),r("div",{staticClass:"external-labels-container e-flex"},e._l(e.hiddenGroupsLabels,function(o){return r("div",{key:o,staticClass:"external-label",class:e.computedClasses.background,style:e.getExternalLabelWrapperStyles(o),on:{click:function(s){return s.stopPropagation(),e.toggleGroupVisibility(o)}}},[r("div",{staticClass:"external-label__content",style:e.getExternalLabelStyles(o)},[e._v(" "+e._s(e.getExternalLabelText(o))+" ")])])}),0),r("div",{key:"tooltip",ref:"tooltip",staticClass:"e-absolute",style:e.eventTooltipStyle},[e._t("tooltip",function(){return[r("div",{directives:[{name:"show",rawName:"v-show",value:i&&!e.isHoveringEvent&&!e.isHoveringMilestone,expression:`
3
+ `),Q=I.length-1,Q>0?(O=$+Q,R=T-I[Q].length):(O=$,R=A),_=e.comment,$=O,q=O,z=T-R):U===e.slash?(T=H,_=U,q=$,z=H-A,K=T+1):(T=p(E,H),_=e.word,q=$,z=T-A),K=T+1;break}y.push([_,$,H-A,q,z,H,K]),R&&(A=R,R=null),H=K}return y}}(Jn),function(t,e){e.__esModule=!0,e.default=void 0;var r=K(jn),n=K(Wn),i=K(Gn),o=K(qn),s=K(Un),u=K(Zn),a=K(Yn),l=K(Xn),d=H(Sr),p=K(Qn),m=K(Vn),C=K(Kn),x=K(Da),h=H(Jn),y=H(te),E=H(de),P=Fe,S,A;function $(){if(typeof WeakMap!="function")return null;var Z=new WeakMap;return $=function(){return Z},Z}function H(Z){if(Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var F=$();if(F&&F.has(Z))return F.get(Z);var B={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in Z)if(Object.prototype.hasOwnProperty.call(Z,j)){var V=w?Object.getOwnPropertyDescriptor(Z,j):null;V&&(V.get||V.set)?Object.defineProperty(B,j,V):B[j]=Z[j]}return B.default=Z,F&&F.set(Z,B),B}function K(Z){return Z&&Z.__esModule?Z:{default:Z}}function U(Z,F){for(var B=0;B<F.length;B++){var w=F[B];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(Z,w.key,w)}}function b(Z,F,B){return F&&U(Z.prototype,F),B&&U(Z,B),Z}var z=(S={},S[y.space]=!0,S[y.cr]=!0,S[y.feed]=!0,S[y.newline]=!0,S[y.tab]=!0,S),q=Object.assign({},z,(A={},A[y.comment]=!0,A));function D(Z){return{line:Z[h.FIELDS.START_LINE],column:Z[h.FIELDS.START_COL]}}function X(Z){return{line:Z[h.FIELDS.END_LINE],column:Z[h.FIELDS.END_COL]}}function Q(Z,F,B,w){return{start:{line:Z,column:F},end:{line:B,column:w}}}function I(Z){return Q(Z[h.FIELDS.START_LINE],Z[h.FIELDS.START_COL],Z[h.FIELDS.END_LINE],Z[h.FIELDS.END_COL])}function T(Z,F){if(Z)return Q(Z[h.FIELDS.START_LINE],Z[h.FIELDS.START_COL],F[h.FIELDS.END_LINE],F[h.FIELDS.END_COL])}function O(Z,F){var B=Z[F];if(typeof B=="string")return B.indexOf("\\")!==-1&&((0,P.ensureObject)(Z,"raws"),Z[F]=(0,P.unesc)(B),Z.raws[F]===void 0&&(Z.raws[F]=B)),Z}function R(Z,F){for(var B=-1,w=[];(B=Z.indexOf(F,B+1))!==-1;)w.push(B);return w}function ie(){var Z=Array.prototype.concat.apply([],arguments);return Z.filter(function(F,B){return B===Z.indexOf(F)})}var _=function(){function Z(B,w){w===void 0&&(w={}),this.rule=B,this.options=Object.assign({lossy:!1,safe:!1},w),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,h.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var j=T(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:j}),this.root.errorGenerator=this._errorGenerator();var V=new n.default({source:{start:{line:1,column:1}}});this.root.append(V),this.current=V,this.loop()}var F=Z.prototype;return F._errorGenerator=function(){var w=this;return function(j,V){return typeof w.rule=="string"?new Error(j):w.rule.error(j,V)}},F.attribute=function(){var w=[],j=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[h.FIELDS.TYPE]!==y.closeSquare;)w.push(this.currToken),this.position++;if(this.currToken[h.FIELDS.TYPE]!==y.closeSquare)return this.expected("closing square bracket",this.currToken[h.FIELDS.START_POS]);var V=w.length,L={source:Q(j[1],j[2],this.currToken[3],this.currToken[4]),sourceIndex:j[h.FIELDS.START_POS]};if(V===1&&!~[y.word].indexOf(w[0][h.FIELDS.TYPE]))return this.expected("attribute",w[0][h.FIELDS.START_POS]);for(var ne=0,ue="",ce="",se=null,he=!1;ne<V;){var Te=w[ne],le=this.content(Te),ye=w[ne+1];switch(Te[h.FIELDS.TYPE]){case y.space:if(he=!0,this.options.lossy)break;if(se){(0,P.ensureObject)(L,"spaces",se);var Ae=L.spaces[se].after||"";L.spaces[se].after=Ae+le;var Be=(0,P.getProp)(L,"raws","spaces",se,"after")||null;Be&&(L.raws.spaces[se].after=Be+le)}else ue=ue+le,ce=ce+le;break;case y.asterisk:if(ye[h.FIELDS.TYPE]===y.equals)L.operator=le,se="operator";else if((!L.namespace||se==="namespace"&&!he)&&ye){ue&&((0,P.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,P.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ue,ce=""),L.namespace=(L.namespace||"")+le;var Me=(0,P.getProp)(L,"raws","namespace")||null;Me&&(L.raws.namespace+=le),se="namespace"}he=!1;break;case y.dollar:if(se==="value"){var ke=(0,P.getProp)(L,"raws","value");L.value+="$",ke&&(L.raws.value=ke+"$");break}case y.caret:ye[h.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),he=!1;break;case y.combinator:if(le==="~"&&ye[h.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),le!=="|"){he=!1;break}ye[h.FIELDS.TYPE]===y.equals?(L.operator=le,se="operator"):!L.namespace&&!L.attribute&&(L.namespace=!0),he=!1;break;case y.word:if(ye&&this.content(ye)==="|"&&w[ne+2]&&w[ne+2][h.FIELDS.TYPE]!==y.equals&&!L.operator&&!L.namespace)L.namespace=le,se="namespace";else if(!L.attribute||se==="attribute"&&!he){ue&&((0,P.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,P.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ce,ce=""),L.attribute=(L.attribute||"")+le;var $e=(0,P.getProp)(L,"raws","attribute")||null;$e&&(L.raws.attribute+=le),se="attribute"}else if(!L.value&&L.value!==""||se==="value"&&!he){var Ee=(0,P.unesc)(le),Le=(0,P.getProp)(L,"raws","value")||"",De=L.value||"";L.value=De+Ee,L.quoteMark=null,(Ee!==le||Le)&&((0,P.ensureObject)(L,"raws"),L.raws.value=(Le||De)+le),se="value"}else{var Je=le==="i"||le==="I";(L.value||L.value==="")&&(L.quoteMark||he)?(L.insensitive=Je,(!Je||le==="I")&&((0,P.ensureObject)(L,"raws"),L.raws.insensitiveFlag=le),se="insensitive",ue&&((0,P.ensureObject)(L,"spaces","insensitive"),L.spaces.insensitive.before=ue,ue=""),ce&&((0,P.ensureObject)(L,"raws","spaces","insensitive"),L.raws.spaces.insensitive.before=ce,ce="")):(L.value||L.value==="")&&(se="value",L.value+=le,L.raws.value&&(L.raws.value+=le))}he=!1;break;case y.str:if(!L.attribute||!L.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Te[h.FIELDS.START_POS]});var Xe=(0,d.unescapeValue)(le),lt=Xe.unescaped,Ct=Xe.quoteMark;L.value=lt,L.quoteMark=Ct,se="value",(0,P.ensureObject)(L,"raws"),L.raws.value=le,he=!1;break;case y.equals:if(!L.attribute)return this.expected("attribute",Te[h.FIELDS.START_POS],le);if(L.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Te[h.FIELDS.START_POS]});L.operator=L.operator?L.operator+le:le,se="operator",he=!1;break;case y.comment:if(se)if(he||ye&&ye[h.FIELDS.TYPE]===y.space||se==="insensitive"){var Ge=(0,P.getProp)(L,"spaces",se,"after")||"",pt=(0,P.getProp)(L,"raws","spaces",se,"after")||Ge;(0,P.ensureObject)(L,"raws","spaces",se),L.raws.spaces[se].after=pt+le}else{var Bt=L[se]||"",It=(0,P.getProp)(L,"raws",se)||Bt;(0,P.ensureObject)(L,"raws"),L.raws[se]=It+le}else ce=ce+le;break;default:return this.error('Unexpected "'+le+'" found.',{index:Te[h.FIELDS.START_POS]})}ne++}O(L,"attribute"),O(L,"namespace"),this.newNode(new d.default(L)),this.position++},F.parseWhitespaceEquivalentTokens=function(w){w<0&&(w=this.tokens.length);var j=this.position,V=[],L="",ne=void 0;do if(z[this.currToken[h.FIELDS.TYPE]])this.options.lossy||(L+=this.content());else if(this.currToken[h.FIELDS.TYPE]===y.comment){var ue={};L&&(ue.before=L,L=""),ne=new o.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS],spaces:ue}),V.push(ne)}while(++this.position<w);if(L){if(ne)ne.spaces.after=L;else if(!this.options.lossy){var ce=this.tokens[j],se=this.tokens[this.position-1];V.push(new a.default({value:"",source:Q(ce[h.FIELDS.START_LINE],ce[h.FIELDS.START_COL],se[h.FIELDS.END_LINE],se[h.FIELDS.END_COL]),sourceIndex:ce[h.FIELDS.START_POS],spaces:{before:L,after:""}}))}}return V},F.convertWhitespaceNodesToSpace=function(w,j){var V=this;j===void 0&&(j=!1);var L="",ne="";w.forEach(function(ce){var se=V.lossySpace(ce.spaces.before,j),he=V.lossySpace(ce.rawSpaceBefore,j);L+=se+V.lossySpace(ce.spaces.after,j&&se.length===0),ne+=se+ce.value+V.lossySpace(ce.rawSpaceAfter,j&&he.length===0)}),ne===L&&(ne=void 0);var ue={space:L,rawSpace:ne};return ue},F.isNamedCombinator=function(w){return w===void 0&&(w=this.position),this.tokens[w+0]&&this.tokens[w+0][h.FIELDS.TYPE]===y.slash&&this.tokens[w+1]&&this.tokens[w+1][h.FIELDS.TYPE]===y.word&&this.tokens[w+2]&&this.tokens[w+2][h.FIELDS.TYPE]===y.slash},F.namedCombinator=function(){if(this.isNamedCombinator()){var w=this.content(this.tokens[this.position+1]),j=(0,P.unesc)(w).toLowerCase(),V={};j!==w&&(V.value="/"+w+"/");var L=new m.default({value:"/"+j+"/",source:Q(this.currToken[h.FIELDS.START_LINE],this.currToken[h.FIELDS.START_COL],this.tokens[this.position+2][h.FIELDS.END_LINE],this.tokens[this.position+2][h.FIELDS.END_COL]),sourceIndex:this.currToken[h.FIELDS.START_POS],raws:V});return this.position=this.position+3,L}else this.unexpected()},F.combinator=function(){var w=this;if(this.content()==="|")return this.namespace();var j=this.locateNextMeaningfulToken(this.position);if(j<0||this.tokens[j][h.FIELDS.TYPE]===y.comma){var V=this.parseWhitespaceEquivalentTokens(j);if(V.length>0){var L=this.current.last;if(L){var ne=this.convertWhitespaceNodesToSpace(V),ue=ne.space,ce=ne.rawSpace;ce!==void 0&&(L.rawSpaceAfter+=ce),L.spaces.after+=ue}else V.forEach(function(Le){return w.newNode(Le)})}return}var se=this.currToken,he=void 0;j>this.position&&(he=this.parseWhitespaceEquivalentTokens(j));var Te;if(this.isNamedCombinator()?Te=this.namedCombinator():this.currToken[h.FIELDS.TYPE]===y.combinator?(Te=new m.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[h.FIELDS.START_POS]}),this.position++):z[this.currToken[h.FIELDS.TYPE]]||he||this.unexpected(),Te){if(he){var le=this.convertWhitespaceNodesToSpace(he),ye=le.space,Ae=le.rawSpace;Te.spaces.before=ye,Te.rawSpaceBefore=Ae}}else{var Be=this.convertWhitespaceNodesToSpace(he,!0),Me=Be.space,ke=Be.rawSpace;ke||(ke=Me);var $e={},Ee={spaces:{}};Me.endsWith(" ")&&ke.endsWith(" ")?($e.before=Me.slice(0,Me.length-1),Ee.spaces.before=ke.slice(0,ke.length-1)):Me.startsWith(" ")&&ke.startsWith(" ")?($e.after=Me.slice(1),Ee.spaces.after=ke.slice(1)):Ee.value=ke,Te=new m.default({value:" ",source:T(se,this.tokens[this.position-1]),sourceIndex:se[h.FIELDS.START_POS],spaces:$e,raws:Ee})}return this.currToken&&this.currToken[h.FIELDS.TYPE]===y.space&&(Te.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Te)},F.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var w=new n.default({source:{start:D(this.tokens[this.position+1])}});this.current.parent.append(w),this.current=w,this.position++},F.comment=function(){var w=this.currToken;this.newNode(new o.default({value:this.content(),source:I(w),sourceIndex:w[h.FIELDS.START_POS]})),this.position++},F.error=function(w,j){throw this.root.error(w,j)},F.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[h.FIELDS.START_POS]})},F.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[h.FIELDS.START_POS])},F.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[h.FIELDS.START_POS])},F.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[h.FIELDS.START_POS])},F.namespace=function(){var w=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[h.FIELDS.TYPE]===y.word)return this.position++,this.word(w);if(this.nextToken[h.FIELDS.TYPE]===y.asterisk)return this.position++,this.universal(w)},F.nesting=function(){if(this.nextToken){var w=this.content(this.nextToken);if(w==="|"){this.position++;return}}var j=this.currToken;this.newNode(new C.default({value:this.content(),source:I(j),sourceIndex:j[h.FIELDS.START_POS]})),this.position++},F.parentheses=function(){var w=this.current.last,j=1;if(this.position++,w&&w.type===E.PSEUDO){var V=new n.default({source:{start:D(this.tokens[this.position-1])}}),L=this.current;for(w.append(V),this.current=V;this.position<this.tokens.length&&j;)this.currToken[h.FIELDS.TYPE]===y.openParenthesis&&j++,this.currToken[h.FIELDS.TYPE]===y.closeParenthesis&&j--,j?this.parse():(this.current.source.end=X(this.currToken),this.current.parent.source.end=X(this.currToken),this.position++);this.current=L}else{for(var ne=this.currToken,ue="(",ce;this.position<this.tokens.length&&j;)this.currToken[h.FIELDS.TYPE]===y.openParenthesis&&j++,this.currToken[h.FIELDS.TYPE]===y.closeParenthesis&&j--,ce=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;w?w.appendToPropertyAndEscape("value",ue,ue):this.newNode(new a.default({value:ue,source:Q(ne[h.FIELDS.START_LINE],ne[h.FIELDS.START_COL],ce[h.FIELDS.END_LINE],ce[h.FIELDS.END_COL]),sourceIndex:ne[h.FIELDS.START_POS]}))}if(j)return this.expected("closing parenthesis",this.currToken[h.FIELDS.START_POS])},F.pseudo=function(){for(var w=this,j="",V=this.currToken;this.currToken&&this.currToken[h.FIELDS.TYPE]===y.colon;)j+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[h.FIELDS.TYPE]===y.word)this.splitWord(!1,function(L,ne){j+=L,w.newNode(new l.default({value:j,source:T(V,w.currToken),sourceIndex:V[h.FIELDS.START_POS]})),ne>1&&w.nextToken&&w.nextToken[h.FIELDS.TYPE]===y.openParenthesis&&w.error("Misplaced parenthesis.",{index:w.nextToken[h.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[h.FIELDS.START_POS])},F.space=function(){var w=this.content();this.position===0||this.prevToken[h.FIELDS.TYPE]===y.comma||this.prevToken[h.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(function(j){return j.type==="comment"})?(this.spaces=this.optionalSpace(w),this.position++):this.position===this.tokens.length-1||this.nextToken[h.FIELDS.TYPE]===y.comma||this.nextToken[h.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(w),this.position++):this.combinator()},F.string=function(){var w=this.currToken;this.newNode(new a.default({value:this.content(),source:I(w),sourceIndex:w[h.FIELDS.START_POS]})),this.position++},F.universal=function(w){var j=this.nextToken;if(j&&this.content(j)==="|")return this.position++,this.namespace();var V=this.currToken;this.newNode(new p.default({value:this.content(),source:I(V),sourceIndex:V[h.FIELDS.START_POS]}),w),this.position++},F.splitWord=function(w,j){for(var V=this,L=this.nextToken,ne=this.content();L&&~[y.dollar,y.caret,y.equals,y.word].indexOf(L[h.FIELDS.TYPE]);){this.position++;var ue=this.content();if(ne+=ue,ue.lastIndexOf("\\")===ue.length-1){var ce=this.nextToken;ce&&ce[h.FIELDS.TYPE]===y.space&&(ne+=this.requiredSpace(this.content(ce)),this.position++)}L=this.nextToken}var se=R(ne,".").filter(function(ye){var Ae=ne[ye-1]==="\\",Be=/^\d+\.\d+%$/.test(ne);return!Ae&&!Be}),he=R(ne,"#").filter(function(ye){return ne[ye-1]!=="\\"}),Te=R(ne,"#{");Te.length&&(he=he.filter(function(ye){return!~Te.indexOf(ye)}));var le=(0,x.default)(ie([0].concat(se,he)));le.forEach(function(ye,Ae){var Be=le[Ae+1]||ne.length,Me=ne.slice(ye,Be);if(Ae===0&&j)return j.call(V,Me,le.length);var ke,$e=V.currToken,Ee=$e[h.FIELDS.START_POS]+le[Ae],Le=Q($e[1],$e[2]+ye,$e[3],$e[2]+(Be-1));if(~se.indexOf(ye)){var De={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new i.default(O(De,"value"))}else if(~he.indexOf(ye)){var Je={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new s.default(O(Je,"value"))}else{var Xe={value:Me,source:Le,sourceIndex:Ee};O(Xe,"value"),ke=new u.default(Xe)}V.newNode(ke,w),w=null}),this.position++},F.word=function(w){var j=this.nextToken;return j&&this.content(j)==="|"?(this.position++,this.namespace()):this.splitWord(w)},F.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},F.parse=function(w){switch(this.currToken[h.FIELDS.TYPE]){case y.space:this.space();break;case y.comment:this.comment();break;case y.openParenthesis:this.parentheses();break;case y.closeParenthesis:w&&this.missingParenthesis();break;case y.openSquare:this.attribute();break;case y.dollar:case y.caret:case y.equals:case y.word:this.word();break;case y.colon:this.pseudo();break;case y.comma:this.comma();break;case y.asterisk:this.universal();break;case y.ampersand:this.nesting();break;case y.slash:case y.combinator:this.combinator();break;case y.str:this.string();break;case y.closeSquare:this.missingSquareBracket();case y.semicolon:this.missingBackslash();default:this.unexpected()}},F.expected=function(w,j,V){if(Array.isArray(w)){var L=w.pop();w=w.join(", ")+" or "+L}var ne=/^[aeiou]/.test(w[0])?"an":"a";return V?this.error("Expected "+ne+" "+w+', found "'+V+'" instead.',{index:j}):this.error("Expected "+ne+" "+w+".",{index:j})},F.requiredSpace=function(w){return this.options.lossy?" ":w},F.optionalSpace=function(w){return this.options.lossy?"":w},F.lossySpace=function(w,j){return this.options.lossy?j?" ":"":w},F.parseParenthesisToken=function(w){var j=this.content(w);return w[h.FIELDS.TYPE]===y.space?this.requiredSpace(j):j},F.newNode=function(w,j){return j&&(/^ +$/.test(j)&&(this.options.lossy||(this.spaces=(this.spaces||"")+j),j=!0),w.namespace=j,O(w,"namespace")),this.spaces&&(w.spaces.before=this.spaces,this.spaces=""),this.current.append(w)},F.content=function(w){return w===void 0&&(w=this.currToken),this.css.slice(w[h.FIELDS.START_POS],w[h.FIELDS.END_POS])},F.locateNextMeaningfulToken=function(w){w===void 0&&(w=this.position+1);for(var j=w;j<this.tokens.length;)if(q[this.tokens[j][h.FIELDS.TYPE]]){j++;continue}else return j;return-1},b(Z,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Z}();e.default=_,t.exports=e.default}(ir,ir.exports);var lo=ir.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(lo);function n(o){return o&&o.__esModule?o:{default:o}}var i=function(){function o(u,a){this.func=u||function(){},this.funcRes=null,this.options=a}var s=o.prototype;return s._shouldUpdateSelector=function(a,l){l===void 0&&(l={});var d=Object.assign({},this.options,l);return d.updateSelector===!1?!1:typeof a!="string"},s._isLossy=function(a){a===void 0&&(a={});var l=Object.assign({},this.options,a);return l.lossless===!1},s._root=function(a,l){l===void 0&&(l={});var d=new r.default(a,this._parseOptions(l));return d.root},s._parseOptions=function(a){return{lossy:this._isLossy(a)}},s._run=function(a,l){var d=this;return l===void 0&&(l={}),new Promise(function(p,m){try{var C=d._root(a,l);Promise.resolve(d.func(C)).then(function(x){var h=void 0;return d._shouldUpdateSelector(a,l)&&(h=C.toString(),a.selector=h),{transform:x,root:C,string:h}}).then(p,m)}catch(x){m(x);return}})},s._runSync=function(a,l){l===void 0&&(l={});var d=this._root(a,l),p=this.func(d);if(p&&typeof p.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var m=void 0;return l.updateSelector&&typeof a!="string"&&(m=d.toString(),a.selector=m),{transform:p,root:d,string:m}},s.ast=function(a,l){return this._run(a,l).then(function(d){return d.root})},s.astSync=function(a,l){return this._runSync(a,l).root},s.transform=function(a,l){return this._run(a,l).then(function(d){return d.transform})},s.transformSync=function(a,l){return this._runSync(a,l).transform},s.process=function(a,l){return this._run(a,l).then(function(d){return d.string||d.root.toString()})},s.processSync=function(a,l){var d=this._runSync(a,l);return d.string||d.root.toString()},o}();e.default=i,t.exports=e.default})(nr,nr.exports);var co=nr.exports,ti={},_e={};_e.__esModule=!0,_e.universal=_e.tag=_e.string=_e.selector=_e.root=_e.pseudo=_e.nesting=_e.id=_e.comment=_e.combinator=_e.className=_e.attribute=void 0;var uo=He(Sr),ho=He(Gn),fo=He(Vn),po=He(qn),mo=He(Un),go=He(Kn),vo=He(Xn),_o=He(jn),yo=He(Wn),Co=He(Yn),bo=He(Zn),xo=He(Qn);function He(t){return t&&t.__esModule?t:{default:t}}var wo=function(e){return new uo.default(e)};_e.attribute=wo;var So=function(e){return new ho.default(e)};_e.className=So;var To=function(e){return new fo.default(e)};_e.combinator=To;var ko=function(e){return new po.default(e)};_e.comment=ko;var Mo=function(e){return new mo.default(e)};_e.id=Mo;var Eo=function(e){return new go.default(e)};_e.nesting=Eo;var $o=function(e){return new vo.default(e)};_e.pseudo=$o;var Lo=function(e){return new _o.default(e)};_e.root=Lo;var Do=function(e){return new yo.default(e)};_e.selector=Do;var Po=function(e){return new Co.default(e)};_e.string=Po;var Oo=function(e){return new bo.default(e)};_e.tag=Oo;var zo=function(e){return new xo.default(e)};_e.universal=zo;var me={};me.__esModule=!0,me.isNode=Lr,me.isPseudoElement=ii,me.isPseudoClass=qo,me.isContainer=Uo,me.isNamespace=Zo,me.isUniversal=me.isTag=me.isString=me.isSelector=me.isRoot=me.isPseudo=me.isNesting=me.isIdentifier=me.isComment=me.isCombinator=me.isClassName=me.isAttribute=void 0;var be=de,Ie,Bo=(Ie={},Ie[be.ATTRIBUTE]=!0,Ie[be.CLASS]=!0,Ie[be.COMBINATOR]=!0,Ie[be.COMMENT]=!0,Ie[be.ID]=!0,Ie[be.NESTING]=!0,Ie[be.PSEUDO]=!0,Ie[be.ROOT]=!0,Ie[be.SELECTOR]=!0,Ie[be.STRING]=!0,Ie[be.TAG]=!0,Ie[be.UNIVERSAL]=!0,Ie);function Lr(t){return typeof t=="object"&&Bo[t.type]}function Ne(t,e){return Lr(e)&&e.type===t}var ri=Ne.bind(null,be.ATTRIBUTE);me.isAttribute=ri;var Io=Ne.bind(null,be.CLASS);me.isClassName=Io;var Fo=Ne.bind(null,be.COMBINATOR);me.isCombinator=Fo;var Ao=Ne.bind(null,be.COMMENT);me.isComment=Ao;var Ro=Ne.bind(null,be.ID);me.isIdentifier=Ro;var Ho=Ne.bind(null,be.NESTING);me.isNesting=Ho;var Dr=Ne.bind(null,be.PSEUDO);me.isPseudo=Dr;var No=Ne.bind(null,be.ROOT);me.isRoot=No;var jo=Ne.bind(null,be.SELECTOR);me.isSelector=jo;var Wo=Ne.bind(null,be.STRING);me.isString=Wo;var ni=Ne.bind(null,be.TAG);me.isTag=ni;var Go=Ne.bind(null,be.UNIVERSAL);me.isUniversal=Go;function ii(t){return Dr(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function qo(t){return Dr(t)&&!ii(t)}function Uo(t){return!!(Lr(t)&&t.walk)}function Zo(t){return ri(t)||ni(t)}(function(t){t.__esModule=!0;var e=de;Object.keys(e).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===e[i]||(t[i]=e[i])});var r=_e;Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===r[i]||(t[i]=r[i])});var n=me;Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===n[i]||(t[i]=n[i])})})(ti),function(t,e){e.__esModule=!0,e.default=void 0;var r=s(co),n=o(ti);function i(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return i=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var d=i();if(d&&d.has(l))return d.get(l);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in l)if(Object.prototype.hasOwnProperty.call(l,C)){var x=m?Object.getOwnPropertyDescriptor(l,C):null;x&&(x.get||x.set)?Object.defineProperty(p,C,x):p[C]=l[C]}return p.default=l,d&&d.set(l,p),p}function s(l){return l&&l.__esModule?l:{default:l}}var u=function(d){return new r.default(d)};Object.assign(u,n),delete u.__esModule;var a=u;e.default=a,t.exports=e.default}(rr,rr.exports);var Yo=rr.exports;const Xo=na,si=Yo,Qo=si();var Vo={isUsableColor(t,e){return Xo(e)&&t!=="gray"&&e[600]},commonTrailingPseudos(t){let e=Qo.astSync(t),r=[];for(let[i,o]of e.nodes.entries())for(const[s,u]of[...o.nodes].reverse().entries()){if(u.type!=="pseudo"||!u.value.startsWith("::"))break;r[s]=r[s]||[],r[s][i]=u}let n=si.selector();for(const i of r){if(!i)continue;if(new Set([...i.map(s=>s.value)]).size>1)break;i.forEach(s=>s.remove()),n.prepend(i[0])}return n.nodes.length?[n.toString(),e.toString()]:[null,t]}};const Ko=Ns,Jo=js,e1=qs,t1=Us,{commonTrailingPseudos:r1}=Vo,ai={};function Pr(t,{className:e,modifier:r,prefix:n}){let i=n(`.not-${e}`).slice(1),o=t.startsWith(">")?`${r==="DEFAULT"?`.${e}`:`.${e}-${r}`} `:"",[s,u]=r1(t);return s?`:where(${o}${u}):not(:where([class~="${i}"],[class~="${i}"] *))${s}`:`:where(${o}${t}):not(:where([class~="${i}"],[class~="${i}"] *))`}function oi(t){return typeof t=="object"&&t!==null}function n1(t={},{target:e,className:r,modifier:n,prefix:i}){function o(s,u){return e==="legacy"?[s,u]:Array.isArray(u)?[s,u]:oi(u)?Object.values(u).some(oi)?[Pr(s,{className:r,modifier:n,prefix:i}),u,Object.fromEntries(Object.entries(u).map(([l,d])=>o(l,d)))]:[Pr(s,{className:r,modifier:n,prefix:i}),u]:[s,u]}return Object.fromEntries(Object.entries(Jo({},...Object.keys(t).filter(s=>ai[s]).map(s=>ai[s](t[s])),...e1(t.css||{}))).map(([s,u])=>o(s,u)))}var li=Ko.withOptions(({className:t="prose",target:e="modern"}={})=>function({addVariant:r,addComponents:n,theme:i,prefix:o}){let s=i("typography"),u={className:t,prefix:o};for(let[a,...l]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){l=l.length===0?[a]:l;let d=e==="legacy"?l.map(p=>`& ${p}`):l.join(", ");r(`${t}-${a}`,e==="legacy"?d:`& :is(${Pr(d,u)})`)}n(Object.keys(s).map(a=>({[a==="DEFAULT"?`.${t}`:`.${t}-${a}`]:n1(s[a],{target:e,className:t,modifier:a,prefix:o})})))},()=>({theme:{typography:t1}}));const ci=kt(li),i1=gn({__proto__:null,default:ci},[li]);var Pt={exports:{}};const Ze=In||Hs,s1={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},Pe={onprimary:Ze.white,warning:Ze.amber,error:Ze.red,info:Ze.slate,success:Ze.emerald,primary:Ze.blue,brand:s1,"video-player-progress-bar":{"base-bg":"#6c737a","progress-bg":"#0090ff","hover-bg":"#bbb","chunk-bg":"#9bcdff","tootltip-bg":"#333","transition-duration":"0.2s","bar-height":"7px"}},a1={...Pe,warning:Pe.warning[500],"warning-darken":Pe.warning[600],"warning-lighten":Pe.warning[400],success:Pe.success[500],"success-darken":Pe.success[600],"success-lighten":Pe.success[400],error:Pe.error[500],"error-darken":Pe.error[600],"error-lighten":Pe.error[400],info:Pe.info[500],"info-darken":Pe.info[600],"info-lighten":Pe.info[400],primary:Pe.primary[500],"primary-darken":Pe.primary[600],"primary-lighten":Pe.primary[400],onsurface:Ze.slate[500],onbackground:Ze.slate[700],surface:Ze.slate[50],background:Ze.white},o1={prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{ringWidth:{1:"1px"},colors:a1,lineHeight:{xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},maxWidth:{"1/12":"8.333333333%","2/12":"16.666666666%","3/12":"25%","4/12":"33.333333333%","5/12":"41.666666667%","6/12":"50%","7/12":"58.333333334%","8/12":"66.666666666%","9/12":"75%","10/12":"83.333333334%","11/12":"91.666666666%","12/12":"100%"},blur:{"video-poster":"32px"},transitionProperty:{"opacity-transform":"opacity, transform"},transitionDuration:{600:"600ms"}},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},plugins:[ci||i1],safelist:[{pattern:/e-w-(full|auto)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-grow/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-basis-(\d{1,2}\/\d{1,2}|full|auto|0)/,variants:["lg","md","sm","xs","xl"]},{pattern:/^!?e-max-w-(\d{1,2}\/\d{1,2})/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-offset-(1[0-2]|[1-9])/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-items-(start|center|end|baseline|stretch)/},{pattern:/e-self-(start|center|end|baseline|stretch)/},{pattern:/e-justify-(around|between|center|end|evenly|normal|start|stretch)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/},{pattern:/e-m[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-p[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},"e-tiny","e-caption","e-body","e-title-2","e-title-1","e-display-3","e-display-2","e-display-1",{pattern:/e-text-(xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl)/},{pattern:/e-text-(warning|error|info|success|primary|brand)-./},{pattern:/e-bg-(warning|error|info|success|primary|brand)-./}]};Pt.exports=o1;const l1=(Pt.exports==null?{}:Pt.exports).default||Pt.exports,Or=Rs(l1),ui=Or.theme.fontSize,di=Or.theme.colors,c1=[J.Dot,J.Xs,J.Sm,J.Md,J.Lg,J.Xl],u1=[J.Xs,J.Sm,J.Md,J.Lg,J.Xl,J.TwoXl],hi=[J.Xs,J.Sm,J.Md,J.Base,J.Lg,J.Xl,J.TwoXl,J.ThreeXl,J.FourXl,J.FiveX1,J.SixXl,J.SevenXl,J.EightXl,J.NineXl],d1=[J.Sm,J.Md,J.Lg],h1=[ae.Warning,ae.Error,ae.Info,ae.Success,ae.Primary,ae.Default],f1=[ae.Warning,ae.Error,ae.Info,ae.Success,ae.Primary,ae.Default],p1=[Oe.Top,Oe.Bottom,Oe.Right,Oe.Left],m1=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],g1=N.extend({name:"EIcon",props:{icon:{type:String,default:""},color:{type:String,default:ae.Default},size:{type:String,default:J.Sm}},computed:{sizes(){return hi.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconClasses(){var n,i;const t=this.sizes[this.size]||this.sizes[J.Sm],e=`${((i=(n=this.icon)==null?void 0:n.split(" "))==null?void 0:i.length)>1?this.icon:`fa fa-${this.icon}`}`;return["e-inline-flex e-items-center e-justify-center e-rounded-full",this.color,e,t]}}});var v1=function(){var e=this,r=e._self._c;return r("div",e._b({staticClass:"e-icon"},"div",e.$attrs,!1),[r("i",{class:e.iconClasses})])},_1=[],y1=W(g1,v1,_1,!1,null,null,null,null);const Ve=y1.exports,C1=N.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:J.Base},opacity:{type:[String,Number],default:1}},data(){return{sizes:ui,colors:di}},computed:{computedSize(){return this.sizes[J[this.size]]||this.size||this.sizes[J.Base]},fill(){let t={primary:this.colors.brand[500],secondary:this.colors.neutral[300]};return this.dark&&!this.color&&(t={primary:this.colors.neutral[100],secondary:this.colors.neutral[100]}),!this.dark&&this.color&&(t={primary:this.colors.brand[500],secondary:this.colors.neutral[950]}),!this.dark&&!this.color&&(t={primary:this.colors.neutral[200],secondary:this.colors.neutral[200]}),t}},methods:{getNthPathStyle(t){const e=typeof this.animationDuration=="string"?Number.parseInt(this.animationDuration):this.animationDuration;return{animationDuration:`${this.animationDuration}ms`,animationDelay:`${t/10*e}ms`,fill:`${this.fill[t%2===0?"primary":"secondary"]}`}}}}),Dc="";var b1=function(){var e=this,r=e._self._c;return r("svg",{staticClass:"e-spinner e-block",class:{"e-spinner--dark":e.dark,"e-spinner--grey":!e.color},style:{opacity:e.opacity},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1629.32 1608.86",width:e.computedSize,height:e.computedSize}},[r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(0),attrs:{d:"m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(1),attrs:{d:"m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(2),attrs:{d:"m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(3),attrs:{d:"m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(4),attrs:{d:"m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(5),attrs:{d:"m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(6),attrs:{d:"m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(7),attrs:{d:"m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19"}}),r("path",{staticClass:"e-spinner__primary",style:e.getNthPathStyle(8),attrs:{d:"m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13"}}),r("path",{staticClass:"e-spinner__secondary",style:e.getNthPathStyle(9),attrs:{d:"m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02"}})])},x1=[],w1=W(C1,b1,x1,!1,null,"9a1333ac",null,null);const zr=w1.exports,S1=N.extend({props:{align:{type:String,default:void 0},alignContent:{type:String,default:void 0},justify:{type:String,default:void 0},justifyXs:{type:String,default:void 0},justifySm:{type:String,default:void 0},justifyMd:{type:String,default:void 0},justifyLg:{type:String,default:void 0},justifyXl:{type:String,default:void 0},noGutters:{type:Boolean,default:!1}},computed:{justifyClasses(){return{[`e-justify-${this.justify}`]:!!this.justify,[`xs:e-justify-${this.justifySm}`]:!!this.justifySm,[`sm:e-justify-${this.justifySm}`]:!!this.justifySm,[`md:e-justify-${this.justifyMd}`]:!!this.justifyMd,[`lg:e-justify-${this.justifyLg}`]:!!this.justifyLg,[`xl:e-justify-${this.justifyXl}`]:!!this.justifyXl}},rowClasses(){return{...this.align?{[`e-items-${this.align}`]:!0}:{},...this.alignContent?{[`e-content-${this.alignContent}`]:!0}:{},...this.noGutters?{"e-row--no-gutters":!0}:{},...this.justifyClasses}}}}),Pc="";var T1=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-row e-flex e-flex-wrap",class:e.rowClasses},[e._t("default")],2)},k1=[],M1=W(S1,T1,k1,!1,null,null,null,null);const fi=M1.exports,E1=N.extend({props:{alignSelf:{type:String,default:"auto"},cols:{type:[Boolean,String,Number],default:void 0},lg:{type:[Boolean,String,Number],default:void 0},md:{type:[Boolean,String,Number],default:void 0},offset:{type:[String,Number],default:void 0},offsetLg:{type:[String,Number],default:void 0},offsetMd:{type:[String,Number],default:void 0},offsetSm:{type:[String,Number],default:void 0},offsetXs:{type:[String,Number],default:void 0},offsetXl:{type:[String,Number],default:void 0},sm:{type:[Boolean,String,Number],default:void 0},xs:{type:[Boolean,String,Number],default:void 0},xl:{type:[Boolean,String,Number],default:void 0}},computed:{colClasses(){return{...this.alignSelf?{[`e-self-${this.alignSelf}`]:!0}:{},[this.autoClasses("xs:",this.xs)]:this.isSizePropAuto(this.xs),[this.autoClasses("sm:",this.sm)]:this.isSizePropAuto(this.sm),[this.autoClasses("md:",this.md)]:this.isSizePropAuto(this.md),[this.autoClasses("lg:",this.lg)]:this.isSizePropAuto(this.lg),[this.autoClasses("xl:e",this.xl)]:this.isSizePropAuto(this.xl),[this.autoClasses("",this.cols)]:this.isSizePropAuto(this.cols,!0),"xs:e-basis-full xs:!e-max-w-12/12":this.xs===12||this.xs==="12","sm:e-basis-full sm:!e-max-w-12/12":this.sm===12||this.sm==="12","md:e-basis-full md:!e-max-w-12/12":this.md===12||this.md==="12","lg:e-basis-full lg:!e-max-w-12/12":this.lg===12||this.lg==="12","xl:e-basis-full xl:!e-max-w-12/12":this.xl===12||this.xl==="12","e-basis-full e-max-w-12/12":this.cols===12||this.cols==="12",[`xs:e-basis-${this.xs}/12 xs:!e-max-w-${this.xs}/12`]:this.isSizePropertyNumeric(this.xs),[`sm:e-basis-${this.sm}/12 sm:!e-max-w-${this.sm}/12`]:this.isSizePropertyNumeric(this.sm),[`md:e-basis-${this.md}/12 md:!e-max-w-${this.md}/12`]:this.isSizePropertyNumeric(this.md),[`lg:e-basis-${this.lg}/12 lg:!e-max-w-${this.lg}/12`]:this.isSizePropertyNumeric(this.lg),[`xl:e-basis-${this.xl}/12 xl:!e-max-w-${this.xl}/12`]:this.isSizePropertyNumeric(this.xl),[`e-basis-${this.cols}/12 !e-max-w-${this.cols}/12`]:this.isSizePropertyNumeric(this.cols),[`xs:e-offset-${this.offsetXs}`]:this.offsetXs!==void 0,[`sm:e-offset-${this.offsetSm}`]:this.offsetSm!==void 0,[`md:e-offset-${this.offsetMd}`]:this.offsetMd!==void 0,[`lg:e-offset-${this.offsetLg}`]:this.offsetLg!==void 0,[`xl:e-offset-${this.offsetXl}`]:this.offsetXl!==void 0,[`e-offset-${this.offset}`]:this.offset!==void 0}}},methods:{autoClasses(t,e){return`${t}e-basis-${e==="auto"?"auto":"0"} ${t}e-grow${e==="auto"?"-0":""} ${t}e-w-${e==="auto"?"auto":"full"}`},isSizePropAuto(t,e=!1){return t==="auto"||t===0||t==="0"||e&&!t},isSizePropertyNumeric(t){const e=Number.parseInt(t);return t!=="auto"&&!isNaN(e)&&e>=1&&e<12}}}),Oc="";var $1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},L1=[],D1=W(E1,$1,L1,!1,null,null,null,null);const pi=D1.exports;function Br(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function Ir(t){if(Br())return new Promise(r=>r(null));const e=t;return e.requestFullscreen?e==null?void 0:e.requestFullscreen():e.mozRequestFullScreen?e==null?void 0:e.mozRequestFullScreen():e.webkitRequestFullScreen?e==null?void 0:e.webkitRequestFullScreen():e.msRequestFullscreen?e==null?void 0:e.msRequestFullscreen():new Promise(r=>r(null))}function Fr(){if(!Br())return new Promise(e=>e(null));const t=document;return t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.msExitFullscreen?t.msExitFullscreen():new Promise(e=>e(null))}function mi(t,e){let r=null;return function(...n){const i=this;r!==null&&clearTimeout(r),r=setTimeout(()=>{r=null,t.apply(i,n)},e||1e3)}}function P1(t=1){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<t;n++)r+=e.charAt(Math.floor(Math.random()*e.length));return r}function O1(t,e=0,r=0,n=t.naturalWidth,i=t.naturalHeight){const o=document.createElement("canvas"),s=o.getContext("2d");o.width=n,o.height=i,s==null||s.drawImage(t,e,r,n,i,0,0,n,i);const u=o.toDataURL();return o.remove(),u}function z1(t){return!!(t!=null&&t.length&&!isNaN(new Date(t).getTime()))}function gi(t,e=1){let r=0,n=0,i=0;return t.length===4?(r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),i=parseInt(t[3]+t[3],16)):t.length===7&&(r=parseInt(t[1]+t[2],16),n=parseInt(t[3]+t[4],16),i=parseInt(t[5]+t[6],16)),`rgba(${r}, ${n}, ${i}, ${e})`}function vi(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function _i(t){return t.startsWith("rgba")}function ht(t,e=1){return _i(t)?t:t.startsWith("#")?gi(t,e):t.startsWith("rgb")?vi(t,e):t}function B1(t){const e=JSON.stringify(t);return yi(e).toString()}function yi(t){let e=0,r,n;if(t.length===0)return e;for(r=0;r<t.length;r++)n=t.charCodeAt(r),e=(e<<5)-e+n,e|=0;return e}function Ar(t,e,r){const n=M.scaleLinear().domain([0,r-1]).range([0,1]);return Array.from({length:r},(i,o)=>M.interpolate(t,e)(n(o)))}const I1=N.extend({name:"EZoomable",props:{ignorePointerEvents:{type:Boolean,default:!1},withOverlay:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},data(){return{scale:1,minScale:1,maxScale:20,top:0,left:0,isPanning:!1,panStart:{x:0,y:0},isPinching:!1,previousPinchDistance:0,pinchDistance:0,pointers:{},transform:"matrix(1, 0, 0, 1, 0, 0)"}},computed:{contentStyle(){return{transform:this.transform}},isZoomed(){return this.scale>1}},watch:{contentStyle:{handler(t){this.$emit("on-frame-props-change",{imgStyle:t})},immediate:!0,deep:!0}},methods:{updateZoomScale(){this.scale>this.maxScale?this.scale=this.maxScale:this.scale<this.minScale&&(this.scale=this.minScale)},handleZoom(t){const e=this.$refs.container,r=this.$refs.content;if(t.preventDefault(),this.disabled)return;const n=e.getBoundingClientRect(),i=r.getBoundingClientRect();if(!n||!i)return;const o=t.clientX,s=t.clientY,u=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),a=this.scale;this.scale+=u/10,this.updateZoomScale();const l=((o-i.left)/i.width).toFixed(2),d=((s-i.top)/i.height).toFixed(2);this.left=Math.round(o-n.left-Number(l)*(i.width*this.scale/a)),this.top=Math.round(s-n.top-Number(d)*(i.height*this.scale/a));const p=0,m=0-n.width*(this.scale-1),C=0-n.height*(this.scale-1),x=0;this.left<m?this.left=m:this.left>p&&(this.left=p),this.top<C?this.top=C:this.top>x&&(this.top=x),this.updateTransform()},handleMouseDown(t){!this.isZoomed||this.disabled||(this.isPanning=!0,this.panStart={x:t.clientX,y:t.clientY})},handleMouseUp(){this.disabled||(this.isPanning=!1)},handleMouseLeave(){this.disabled||(this.isPanning=!1)},handleMouseMove(t){if(!this.isPanning||!this.isZoomed||this.disabled)return;const e=t.clientX-this.panStart.x,r=t.clientY-this.panStart.y;this.left+=e,this.top+=r,this.applyBoundsCorrection(),this.panStart={x:t.clientX,y:t.clientY},this.updateTransform()},applyBoundsCorrection(){const t=this.$refs.container,e=this.$refs.content,r=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(!r||!n)return;const[i,o,s,u]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(a=>a<0?a:0);this.left+=u-o,this.top+=i-s},updateTransform(){this.transform=`matrix(${this.scale}, 0, 0, ${this.scale}, ${this.left}, ${this.top})`},getPointersDistance(t,e){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)},getPointersMidPoint(t,e){return{x:t.clientX+(e.clientX-t.clientX)/2,y:t.clientY+(e.clientY-t.clientY)/2}},updatePointerEvent(t){this.pointers[t.pointerId]=t},clearPointerEvent(t){this.$delete(this.pointers,t.pointerId)},updatePinchDistance(){const t=Object.values(this.pointers);t.length===2&&(this.pinchDistance=this.getPointersDistance(t[0],t[1]))},handlePointerDown(t){this.ignorePointerEvents||this.disabled||(this.updatePointerEvent(t),this.isPinching=Object.values(this.pointers).length===2,this.isPinching?(this.isPanning=!1,this.updatePinchDistance()):this.handleMouseDown(t))},handlePointerMove(t){if(!(this.ignorePointerEvents||this.disabled))if(this.updatePointerEvent(t),this.isPinching){this.previousPinchDistance=this.pinchDistance,this.updatePinchDistance();const e=this.pinchDistance/this.previousPinchDistance;this.scale*=e,this.updateZoomScale();const r=Object.values(this.pointers),n=this.getPointersMidPoint(r[0],r[1]);this.left=n.x-(n.x-this.left)*e,this.top=n.y-(n.y-this.top)*e,this.applyBoundsCorrection(),this.updateTransform()}else this.handleMouseMove(t)},handlePointerUp(t){this.ignorePointerEvents||this.disabled||(this.clearPointerEvent(t),this.previousPinchDistance=0,this.pinchDistance=0,this.isPanning=!1,this.isPinching=!1)}}}),zc="";var F1=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoomable e-w-full e-h-full"},[r("div",{staticClass:"e-w-full e-h-full",class:{"e-cursor-grab":e.isZoomed&&!e.disabled,"e-cursor-grabbing":e.isPanning&&!e.disabled},on:{mousewheel:e.handleZoom,mousedown:e.handleMouseDown,mouseup:e.handleMouseUp,mouseleave:e.handleMouseLeave,mousemove:e.handleMouseMove,pointerdown:e.handlePointerDown,pointermove:e.handlePointerMove,pointerup:e.handlePointerUp,pointercancel:e.handlePointerUp,pointerout:e.handlePointerUp,pointerleave:e.handlePointerUp}},[r("div",{ref:"content",staticClass:"e-zoomable__content e-w-full e-h-full e-transform-0 e-touch-none e-relative",style:e.contentStyle},[e._t("default")],2),e.withOverlay&&!e.disabled?r("div",{staticClass:"e-zoomable__overlay e-absolute e-w-full e-h-full e-bottom-0 e-left-0 e-overflow-hidden"},[e._t("overlay")],2):e._e()])])},A1=[],R1=W(I1,F1,A1,!1,null,"5e462efa",null,null);const Rr=R1.exports,Hr=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),Ci=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],Nr=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${Hr.format(e)}`:`${n}:${Hr.format(r)}:${Hr.format(e)}`},H1=N.extend({name:"EVideoPlayer",components:{ESpinner:zr,EZoomable:Rr},props:{targetTimestamp:{type:[String,Date],default:void 0},sources:{type:[Array,String],required:!0},videoListeners:{type:Object,default:()=>({})},videoOptions:{type:Object,default:()=>({})},isHls:{type:Boolean,default:!1},streamingToken:{type:String,default:""},pauseOnClick:{type:Boolean,default:!0},isHlsLoading:{type:Boolean,default:!1},isPlaying:{type:Boolean,default:!1},isZoomable:{type:Boolean,default:!1},zoomableIgnorePointerEvents:{type:Boolean,default:!1},timezone:{type:String,default:"UTC"},playPauseAnimation:{type:Boolean,default:!0},disablePlayPauseAnimation:{type:Boolean,default:!1},isWebRtc:{type:Boolean,default:!1},withColoredLoader:{type:Boolean,default:!1},loaderSize:{type:String,default:"SevenXl"},withOverlayOnBackground:{type:Boolean,default:!1},fallbackSrc:{type:String,default:""},hlsOptions:{type:Object,default:()=>({})}},data(){return{playing:!1,percentagePlayed:0,videoLength:"0:00",duration:0,videoDuration:0,currentTime:"0:00",realtime:0,isScrubbing:!1,wasPaused:!1,isFullscreen:!1,isFinished:!1,isLoading:!0,isError:!1,player:new at,playbackRetries:0,preloadedSeconds:0,preloadedInterval:{}}},computed:{posterUrl(){const t=this.videoOptions;return(t==null?void 0:t.poster)||(t==null?void 0:t.backgroundUrl)},sourceItems(){return Array.isArray(this.sources)?this.sources:[{src:this.sources}]},withControls(){const t=this.videoOptions;return(t==null?void 0:t.controls)===!1?"hide":""}},watch:{isPlaying:{immediate:!0,async handler(t){this.playing=t,t?await this.play():this.pause(),this.isHls&&(t?this.$emit("hls-play"):this.$emit("hls-pause"))}},preloadedSeconds(t){this.preloadedInterval={start:Se(this.targetTimestamp).format(),end:Se(this.targetTimestamp).add(t,"seconds").format()},this.$emit("preloaded-interval",this.preloadedInterval)},targetTimestamp:{immediate:!0,handler(t){var o,s;if(!this.isHls)return;const e=this.$refs.player,r=(o=this.preloadedInterval)==null?void 0:o.start,n=(s=this.preloadedInterval)==null?void 0:s.end;if(!(r&&n))return;const i=Se(t).isBetween(Se(r),Se(n),void 0,"[]");e.currentTime=0,i||this.initHls()}}},mounted(){this.isHls&&this.initHls(),this.bindEvents(),this.initializePlayer(),this.initializeFullscreenListeners()},beforeDestroy(){this.unbindEvents(),this.destroyPlayer(),this.removeFullscreenListeners()},methods:{initHls(t=""){var n,i,o,s,u;const e=this.$refs.player,r=this.sources[0];(n=this.player)!=null&&n.stopLoad&&this.player.stopLoad(),at.isSupported()&&(this.isLoading=!0,this.player=new at({startPosition:0,xhrSetup:a=>{this.streamingToken&&a.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),(i=this.player)==null||i.loadSource(t||r.src),(o=this.player)==null||o.attachMedia(e),(s=this.player)==null||s.on(at.Events.MANIFEST_PARSED,(a,l)=>{var m;const d=(m=l.levels[l.firstLevel])==null?void 0:m.details,p=d==null?void 0:d.startTimeOffset;e.currentTime=p||0,this.playing&&e.play()}),(u=this.player)==null||u.on(at.Events.ERROR,this.handleHlsError))},onContainerClick(){this.pauseOnClick&&this.togglePlay()},handle404Error(){this.isWebRtc||(this.isError=!0,this.isLoading=!1,this.playing=!1)},handleHlsError(t,e){var l;if(!e.fatal)return;this.$emit("error",e);const r=e.type===at.ErrorTypes.NETWORK_ERROR,n=e.type===at.ErrorTypes.MEDIA_ERROR,i=r&&((l=e.networkDetails)==null?void 0:l.status)===404,o=this.$refs.player,s=()=>this.fallbackSrc&&(o==null?void 0:o.currentSrc)!==this.fallbackSrc,u=()=>this.initHls(this.fallbackSrc),a=()=>{if(s()){u();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(i){a();return}if(r){console.error("A network error occurred:",e),s()?u():this.player.startLoad();return}n&&(console.error("A media error occurred:",e),s()?u():this.player.recoverMediaError()),a()},bindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.addEventListener(e,()=>this.bindVideoEvent(e),!0)})},onProgress(){const t=this.$refs.player;if(t&&t.buffered.length>0)try{this.preloadedSeconds=t.buffered.end(t.buffered.length-1)}catch(e){console.error("Error while fetching buffered end time:",e)}else console.log("No video data has been buffered yet.")},unbindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.removeEventListener(e,()=>this.bindVideoEvent(e),!0)})},bindVideoEvent(t){const e=this.$refs.player;if(!e)return;const r=this.$refs.timelineContainer;t==="loadeddata"&&(this.videoLength=Nr(e.duration)),r&&(t==="timeupdate"&&(this.percentagePlayed=(e==null?void 0:e.currentTime)/(e==null?void 0:e.duration)*100,r==null||r.style.setProperty("--progress-position",this.percentagePlayed.toString())),this.$emit(t,{event,player:e}))},initializePlayer(){const t=this.$refs.player;t&&(t.autoplay&&this.setPlaying(!0),document.addEventListener("mouseup",this.handleScrubbingOnMouseEnd),document.addEventListener("keydown",this.handleKeyDown))},destroyPlayer(){this.player&&(this.player.stopLoad(),this.player.destroy()),window.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("mouseup",this.handleScrubbingOnMouseEnd)},removeFullscreenListeners(){const t=document;t.fullscreenEnabled||t.webkitFullscreenEnabled||t.mozFullScreenEnabled||t.msFullscreenEnabled?(t.removeEventListener("fullscreenchange",this.handleFullscreenChange),t.removeEventListener("webkitfullscreenchange",this.handleFullscreenChange),t.removeEventListener("mozfullscreenchange",this.handleFullscreenChange),t.removeEventListener("MSFullscreenChange",this.handleFullscreenChange)):console.log("Fullscreen API is not supported in this browser.")},initializeFullscreenListeners(){const t=document;t.fullscreenEnabled||t.webkitFullscreenEnabled||t.mozFullScreenEnabled||t.msFullscreenEnabled?(t.addEventListener("fullscreenchange",this.handleFullscreenChange),t.addEventListener("webkitfullscreenchange",this.handleFullscreenChange),t.addEventListener("mozfullscreenchange",this.handleFullscreenChange),t.addEventListener("MSFullscreenChange",this.handleFullscreenChange)):console.log("Fullscreen API is not supported in this browser.")},handleFullscreenChange(){const t=document;this.isFullscreen=!!t.fullscreenElement||!!t.mozFullScreenElement||!!t.webkitFullscreenElement||!!t.msFullscreenElement||window.innerWidth==screen.width&&window.innerHeight==screen.height},isLooped(){return this.$refs.player.loop},handleScrubbingOnMouseEnd(t){this.isScrubbing&&this.toggleScrubbing(t)},handleEnded(){this.isFinished=!0,this.playing=!1},handleLoading(){this.isLoading=!1},async play(){const t=this.$refs.player;if(t)try{await t.play(),this.setPlaying(!0)}catch(e){console.error(e),this.playbackRetries+=1,this.isHls&&this.playbackRetries<3&&this.initHls()}},pause(){const t=this.$refs.player;t&&(t.pause(),this.setPlaying(!1))},async togglePlay(){this.playing?this.pause():await this.play()},setPlaying(t){this.playing=t},seekToPercentage(t){const e=this.$refs.player;if(!e)return;const r=t/100*e.duration;e.currentTime=r},convertTimeToDuration(t){return[parseInt(t/60%60,10),parseInt(t%60,10)].join(":").replace(/\b(\d)\b/g,"0$1")},closeFullscreenMode(){document.fullscreenElement&&(Fr().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(Ir(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=Nr(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=Nr(t.currentTime),this.realtime=t.currentTime;const r=Number(this.realtime)/Number(this.videoDuration);e.style.setProperty("--progress-position",r.toString())},handleTimelineUpdate(t){const e=this.$refs.player;if(!document.body.contains(e))return;const r=this.$refs.timelineContainer,n=r.getBoundingClientRect(),i=Math.min(Math.max(0,t.x-n.x),n.width)/n.width;r.style.setProperty("--preview-position",i.toString()),this.isScrubbing&&(t.preventDefault(),r.style.setProperty("--progress-position",i.toString()))},skip(t=5){const e=this.$refs.player;e.currentTime+=t},async toggleScrubbing(t){const e=this.$refs.timelineContainer,r=this.$refs.videoContainer,n=this.$refs.player;if(!n)return;const i=e.getBoundingClientRect(),o=Math.min(Math.max(0,t.x-i.x),i.width)/i.width;if(this.isScrubbing=(t.buttons&1)===1,r.classList.toggle("scrubbing",this.isScrubbing),this.isScrubbing){this.wasPaused=n.paused,await n.pause(),this.handleTimelineUpdate(t);return}if(this.realtime=o*this.videoDuration,n.currentTime=o*this.videoDuration,this.wasPaused)return;const s=n.play();s!==void 0&&s.then(()=>this.handleTimelineUpdate(t)).catch(console.error)},handleKeyDown(t){var r;const e=(r=document.activeElement)==null?void 0:r.tagName.toLowerCase();if(e!=="input")switch(t.key.toLowerCase()){case" ":if(e==="button")return;this.togglePlay();break;case"k":this.togglePlay();break;case"escape":t.preventDefault(),this.closeFullscreenMode(),this.isFullscreen=!1;break;case"f":this.openFullscreenMode(),this.isFullscreen=!0;break}}}}),Bc="";var N1=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"video-container paused"},[r("EZoomable",{ref:"zoomable",attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground},on:{"on-frame-props-change":function(n){return e.$emit("on-frame-props-change",n)}},scopedSlots:e._u([{key:"overlay",fn:function(){return[e._t("player-container-overlay")]},proxy:!0}],null,!0)},[e._t("background",function(){return[r("div",{staticClass:"e-relative e-overflow-hidden",style:{height:e.$attrs.height,width:e.$attrs.width}},[e.posterUrl?r("img",{staticClass:"e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster",style:{height:e.$attrs.height,width:e.$attrs.width},attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("error",n)}}}):e._e()])]}),r("video",e._g(e._b({ref:"player",class:{"e-w-full e-h-full e-z-[5] e-min-h-[400px]":!0,"e-absolute e-inset-0":e.isZoomable,"e-relative":!e.isZoomable},attrs:{controls:!1,preload:"auto"},on:{ended:e.handleEnded,click:e.onContainerClick,loadedmetadata:e.getDuration,seeking:function(n){e.isLoading=!0},seeked:function(n){e.isLoading=!1},timeupdate:e.handleTimeUpdate,loadeddata:e.handleLoading}},"video",e.videoOptions,!1),e.videoListeners),[e.isWebRtc?e._e():e._l(e.sourceItems,function(n){return r("source",e._g({key:n.src,attrs:{src:n.src,type:n.type},on:{error:e.handle404Error}},e.videoListeners))})],2)],2),e.isLoading?r("div",{staticClass:"spinner-container"},[r("ESpinner",{attrs:{color:e.withColoredLoader,size:e.loaderSize,opacity:"0.6",dark:!0}})],1):e._e(),e._t("default"),e.isError?r("div",{staticClass:"spinner-container e-gap-3"},[e._t("error",function(){return[r("i",{staticClass:"fa-solid fa-video-slash fa-2xl e-align-middle"}),r("span",[e._v("This video file cannot be played.")])]})],2):e._e(),e._t("controls",function(){return[r("div",{class:["video-controls-container",e.withControls]},[r("div",{staticClass:"controls"},[r("button",{ref:"playPauseBtn",staticClass:"play-pause-btn fa-lg fa-solid fas",class:{"fa-play":!e.playing,"fa-pause":e.playing},attrs:{title:e.playing?"pause":"play"},on:{click:e.togglePlay}}),r("div",{staticClass:"duration-container"},[r("div",{ref:"currentTimeElem",staticClass:"current-time"},[e._v(" "+e._s(e.currentTime)+" ")]),e._v(" / "),r("div",{ref:"totalTimeElem",staticClass:"total-time"},[e._v(e._s(e.videoLength))])]),r("div",{ref:"timelineContainer",staticClass:"timeline-container",on:{mousemove:e.handleTimelineUpdate,mousedown:e.toggleScrubbing}},[e._m(0)]),r("button",{ref:"fullScreenBtn",staticClass:"full-screen-btn fa-solid",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen},on:{click:e.toggleFullscreenMode}})])])]},{play:e.play,pause:e.pause,isPlaying:e.playing,playerInstance:e.player,toggleFullscreen:e.toggleFullscreenMode,currentTime:e.currentTime,videoLength:e.videoLength,isFullscreen:e.isFullscreen})],2)},j1=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],W1=W(H1,N1,j1,!1,null,"e400137a",null,null);const bi=W1.exports,Ke={bind(t,e){const{value:r}=e;if(typeof r!="function"){console.error("Invalid callback function provided to v-resize-observer");return}const n=new ResizeObserver(i=>{i[0]&&r(i[0])});n.observe(t),t.__resizeObserver__=n},unbind(t){t.__resizeObserver__&&(t.__resizeObserver__.disconnect(),delete t.__resizeObserver__)}},jr={bind(t,e){const r=t;r.handleClick=function(n){if(!(r===n.target||r.contains(n.target))){const i=e.value;typeof i=="function"&&i(n)}},setTimeout(()=>{document.addEventListener("click",r.handleClick)})},unbind(t){const e=t;e.handleClick&&(document.removeEventListener("click",e.handleClick),delete e.handleClick)}},xi=[{name:"resize-observer",definition:Ke},{name:"click-outside",definition:jr}],nt={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern",clipPath:"clip-path"},Y={xAxis:"e-x-axis",xAxisDark:"e-x-axis--dark",xAxisOverview:"e-x-axis-overview",xAxisDetailed:"e-x-axis-detailed",xAxisBackground:"e-x-axis-background",eventGroup:"event-group",eventGroupBg:"event-group-bg",eventGroupContent:"event-group-content",eventRect:"event-rect",eventRectContainer:"event-rect-container",eventBarContainer:"event-bar-container",eventBarContainerHovered:"event-bar-container--hovered",eventBarContainerSelected:"event-bar-container--selected",eventBar:"event-bar",eventBarHoverZone:"event-bar-hover-zone",eventBarCap:"event-bar-cap",eventRectText:"event-rect-text",eventRectHovered:"event-rect--hovered",eventRectSelected:"event-rect--selected",labelGroup:"label-g",labelBg:"label-bg",labelBgFill:"label-bg-fill",labelText:"label-text",loadingIndicator:"loading-indicator",_legacyLabelGroup:"legacy-label-g",_legacyLabelBg:"legacy-label-bg",_legacyLabelBgFill:"legacy-label-bg-fill",_legacyLabelText:"legacy-label-text",_legacyLoadingIndicator:"legacy-loading-indicator",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"e-tl-milestone",milestoneBullet:"e-tl-milestone--bullet",milestoneDot:"e-tl-milestone--dot",milestoneContent:"e-tl-milestone-content",milestoneLine:"e-tl-milestone-line",milestonesContainer:"e-tl-milestones",milestoneHovered:"e-tl-milestone--hovered",milestoneSelected:"e-tl-milestone--selected",milestoneLabel:"e-tl-milestone-label",milestoneDotContainer:"e-tl-milestone-dot-container",milestoneDotLine:"e-tl-milestone-dot-line",milestoneDotDot:"e-tl-milestone-dot-dot",milestoneDotHovered:"e-tl-milestone-dot--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",areaGraphPath:"area-graph-path",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",forbiddenInterval:"forbidden-interval"};function it({timestamp:t,timezone:e}){const r=wi(t,e);return Se(t).add(r,"minutes").toDate()}function vt({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=wi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function wi(t,e){return e?Se.tz(t,e).utcOffset():G1(t)}function G1(t){return Se.parseZone(t).utcOffset()}const q1=N.extend({name:"ETimelineMilestone",directives:{resizeObserver:Ke},props:{timeScale:{type:Function,required:!0},milestone:{type:Object,required:!0},y:{type:Number,required:!0},height:{type:Number,default:18},size:{type:Number,default:18},borderColor:{type:String,default:"#eee"},backgroundColor:{type:String,default:"#aaa"},borderWidth:{type:Number,default:2},transitionDuration:{type:Number,default:500},dot:{type:Boolean,default:!1},dotSize:{type:Number,default:8},lineWidth:{type:Number,default:2},lineHeight:{type:Number,default:28},timezone:{type:[String,void 0],default:void 0}},data(){return{classNames:Y,timeouts:[],isInitialRender:!0,isMouseOver:!1,containerWidth:"",containerHeight:""}},computed:{transitionStyles(){return this.isInitialRender?{}:{transition:`transform ${this.transitionDuration}ms, width ${this.transitionDuration}ms, height ${this.transitionDuration}ms, padding ${this.transitionDuration}ms, border-radius ${this.transitionDuration}ms`}},sizeStyles(){return this.dot?{}:{width:`${this.isMouseOver?this.containerWidth:this.size}px`,height:`${this.isMouseOver?this.containerHeight:this.size}px`}},positionStyles(){return{left:`${this.timeScale(this.tzStringToDate(this.milestone.timestamp))}px`,top:`${this.linePosition}px`,transform:this.dot&&this.isMouseOver?`translateY(calc(-100% - ${this.lineHeight}px))`:""}},styles(){return{...this.sizeStyles,...this.positionStyles,backgroundColor:this.backgroundColor,borderColor:this.borderColor,borderWidth:`${this.borderWidth}px`,borderStyle:"solid",...this.transitionStyles}},linePosition(){const t=this.height/2;return this.y+t-1},contentStyles(){return this.transitionStyles},computedTransitionDuration(){return this.isInitialRender?0:this.transitionDuration},labelStyles(){return{transition:`opacity ${this.computedTransitionDuration}ms`}},dotContainerStyles(){return{top:this.isMouseOver?`calc(100% - ${this.borderWidth}px)`:`calc(50% + ${this.dotSize/2}px)`,height:`calc(${this.lineHeight}px + ${this.dotSize}px)`,left:`calc(50% - ${this.lineWidth}px / 2)`,transition:`${this.computedTransitionDuration}ms`}},lineStyles(){return{bottom:`${this.dotSize/2}px`,left:`calc(50% - ${this.lineWidth}px / 2)`,width:`${this.lineWidth}px`,height:this.isMouseOver?`${this.lineHeight}px`:"0",backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}},dotStyles(){return{top:`${this.lineHeight}px`,left:`calc(50% - ${this.dotSize}px / 2)`,width:`${this.dotSize}px`,height:`${this.dotSize}px`,backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}}},mounted(){this.$nextTick(()=>{this.dot||(this.onMilestoneMouseOver(),this.onMilestoneMouseLeave()),this.isInitialRender=!1})},methods:{onMilestoneMouseOver(t){if(this.isMouseOver=!0,this.$emit("hovered-milestone",this.milestone),this.dot)return;const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;const r=e.children[0];if(!r)return;const n=r.children[0];if(!n)return;const i=n.getBoundingClientRect(),o=e.dataset.timeoutId;o&&(clearTimeout(Number(o)),e.dataset.timeoutId=""),e.dataset.initialWidth||(e.dataset.initialWidth=e.style.width),e.dataset.initialHeight||(e.dataset.initialHeight=e.style.height),this.containerWidth||(this.containerWidth=e.dataset.initialContentWidth=String(i.width)),this.containerHeight||(this.containerHeight=e.dataset.initialContentHeight=String(i.height)),e.dataset.transitionStart=String(Date.now()),e.style.borderRadius="0.5em",e.classList.add(Y.milestoneHovered),r.style.opacity="1",r.style.width=this.containerWidth+"px",r.style.height=this.containerHeight+"px"},onMilestoneMouseMove(){this.timeouts.forEach(t=>clearTimeout(t)),this.isMouseOver=!0},onMilestoneMouseLeave(t){if(this.$emit("hovered-milestone",null),this.dot){this.timeouts.push(setTimeout(()=>{this.isMouseOver=!1},this.transitionDuration+100));return}const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;e.style.width=e.dataset.initialWidth||"",e.style.height=e.dataset.initialHeight||"",e.style.borderRadius="10em";const r=e.children[0];if(!r)return;r.style.width="0",r.style.height="0",r.style.opacity="0";const n=Date.now()-Number(e.dataset.transitionStart),i=n>this.transitionDuration?this.transitionDuration:n,o=setTimeout(()=>{e.classList.remove(Y.milestoneHovered),e.dataset.timeoutId=""},i);e.dataset.timeoutId=String(o),this.timeouts.push(o),this.isMouseOver=!1},onMilestoneClick(t,e){this.$emit("milestone-click",e)},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})}}}),Ic="";var U1=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:{[e.classNames.milestone]:!0,[e.classNames.milestoneBullet]:!e.dot,[e.classNames.milestoneHovered]:e.isMouseOver&&!e.dot,[e.classNames.milestoneDot]:e.dot,[e.classNames.milestoneDotHovered]:e.isMouseOver&&e.dot},style:e.styles,attrs:{tabindex:"0"},on:{mouseover:n=>e.onMilestoneMouseOver(n),mousemove:e.onMilestoneMouseMove,mouseleave:n=>e.onMilestoneMouseLeave(n),click:n=>e.onMilestoneClick(n,e.milestone)}},[r("div",{class:e.classNames.milestoneContent,style:e.contentStyles},[e._t("content",function(){var n;return[r("span",[e._v(" "+e._s((n=e.milestone)==null?void 0:n.text)+" ")])]})],2),e.dot?r("div",{class:e.classNames.milestoneDotContainer,style:e.dotContainerStyles},[r("div",{class:e.classNames.milestoneDotLine,style:e.lineStyles}),r("div",{class:e.classNames.milestoneDotDot,style:e.dotStyles})]):r("div",{class:e.classNames.milestoneLabel,style:e.labelStyles},[e._t("label")],2)])},Z1=[],Y1=W(q1,U1,Z1,!1,null,null,null,null);const X1=Y1.exports,Q1=N.extend({name:"ETimelineMarker",props:{marker:{type:Object,required:!0},height:{type:Number,required:!0},hidden:{type:[Boolean,void 0],default:void 0},position:{type:[Number,void 0],default:void 0}},methods:{getMarkerClass(t){return{"marker--hidden":this.hidden,"marker--draggable":t==null?void 0:t.isDraggable,...t.className?{[t==null?void 0:t.className]:!0}:{}}},getMarkerContainerStyle(){return{left:`${this.position}px`}},getMarkerLabelStyle(t){return{background:t.color,color:t.textColor||""}},getMarkerLineStyle(t){return{background:t.color,height:`${this.height+12}px`}}}}),Fc="";var V1=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"marker e-absolute e-h-full e-top-0 e-z-10",class:e.getMarkerClass(e.marker),style:e.getMarkerContainerStyle(),on:{click:function(n){return e.$emit("marker-clicked",e.marker)}}},[r("div",{staticClass:"marker-label e-absolute"},[r("div",{staticClass:"marker-label-text",style:e.getMarkerLabelStyle(e.marker)},[e._t(`marker.${e.marker.id}`,function(){return[e._v(" "+e._s(e.marker.label)+" ")]},{marker:e.marker})],2)]),r("div",{staticClass:"marker-line e-absolute e-pointer-events-none",style:e.getMarkerLineStyle(e.marker)})])},K1=[],J1=W(Q1,V1,K1,!1,null,"614947ed",null,null);const e0=J1.exports,t0=N.extend({name:"ETimelineMarkers",components:{ETimelineMarker:e0},props:{markers:{type:Array,default:()=>[]},timeScale:{type:Function,required:!0},timeZone:{type:[String,void 0],default:void 0},height:{type:Number,required:!0},svgLeft:{type:Number,default:void 0},stickyMarkers:{type:Boolean,default:!1}},data(){return{markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0}},watch:{timeScale:{handler(){this.updateMarkers()},deep:!0},markers(){this.updateMarkers()}},methods:{initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=M.drag().on("start",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}),M.selectAll(`.${Y.marker}`).data(this.markers).call(this.markersDragBehavior)},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),M.selectAll(`.${Y.marker}`).call(this.markersDragBehavior))},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){var u;if(!t.isDraggable)return;(u=r.sourceEvent)==null||u.preventDefault(),r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${Y.markerLine}`).getBoundingClientRect().left,e.classed(Y.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,i=this.timeScale.invert(n-this.svgLeft);let o=this.timeScale(i);const s=this.isTimestampAllowedForMarker(i,t);if(r.type==="drag"&&s&&e.attr("style",`left: ${o}px`),r.type==="end"){const a=t.id||t.timestamp;o=s?o:this.timeScale(this.tzStringToDate(t.timestamp)),this.markersPositions={...this.markersPositions,[a]:{...this.markersPositions[a],position:o}},e.classed(Y.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:s?this.dateToTzString(i):t.timestamp})},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.markers.forEach((r,n,i)=>{const o=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,s=this.timeScale(o);let u=!1;const a=this.stickyMarkers?Math.max(s,n*t):s;if(n<i.length-1){const l=i[n+1],d=typeof l.timestamp=="string"?this.tzStringToDate(l.timestamp):l.timestamp,p=this.timeScale(d);u=(this.stickyMarkers?Math.max(p,(n+1)*t):s)-a<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:u,position:a}}}),this.initMarkersDragBehavior()},isTimestampAllowedForMarker(t,e){return(e.minDate?t>=this.tzStringToDate(e.minDate):!0)&&(e.maxDate?t<=this.tzStringToDate(e.maxDate):!0)},tzStringToDate(t){return it({timestamp:t,timezone:this.timeZone})},dateToTzString(t){return vt({date:t,timezone:this.timeZone})}}});var r0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-tl-markers"},e._l(e.markers,function(n){var i,o;return r("ETimelineMarker",{key:n.id,attrs:{marker:n,height:e.height,position:(i=e.markersPositions[n.id])==null?void 0:i.position,hidden:(o=e.markersPositions[n.id])==null?void 0:o.isHidden,"data-id":n.id},on:{"marker-clicked":function(s){return e.$emit("marker-clicked",s)}},scopedSlots:e._u([{key:`marker.${n.id}`,fn:function(){return[e._t(`marker.${n.id}`,function(){return[e._v(" "+e._s(n.label)+" ")]},{marker:n})]},proxy:!0}],null,!0)})}),1)},n0=[],i0=W(t0,r0,n0,!1,null,null,null,null);const s0=i0.exports,a0=N.extend({name:"EZoomBehavior",props:{width:{type:[Number,void 0],default:void 0},domain:{type:Array,required:!0},focusedDomain:{type:[Array,void 0],default:void 0},timezone:{type:String,default:"UTC"},disabled:{type:Boolean,default:!1},scalingDuration:{type:Number,default:400},translationDuration:{type:Number,default:400},focusedTimestamp:{type:[String,Date,Number],default:""}},data(){return{timeScale:null,initialTimeScale:null,zoomBehavior:null,selection:null,isTransitioning:!1,container:null,isLocked:!1,transformDiff:{translation:0,scale:1},lastTransform:{x:0,y:0,k:1},isLeftBoundaryReached:!1,isRightBoundaryReached:!1,resetBoundariesTimeout:0}},computed:{minDate(){const t=this.domain[0];return this.toD3Date(t)},maxDate(){const t=this.domain[1];return this.toD3Date(t)},focusedStartDate(){const e=(this.focusedDomain||this.domain)[0];return this.toD3Date(e)},focusedEndDate(){const e=(this.focusedDomain||this.domain)[1];return this.toD3Date(e)}},watch:{timeScale(){this.emitTimeScaleChange(),this.emitFocusedDomainChange()},focusedDomain(t){this.zoomToFocusedDomain(t)},focusedTimestamp(t){t&&this.panToTimestamp(t)},transformDiff(){this.$emit("transform-changed",this.transformDiff)}},mounted(){this.initRefs(),this.initTimeScale(),this.initZoomBehavior(),this.emitTimeScaleChange()},methods:{initRefs(){this.container=this.$refs.container},initTimeScale(){this.timeScale=M.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,this.getWidth()]),this.initialTimeScale=this.timeScale.copy()},calculateZoomExtents(){const t=[this.focusedStartDate,this.focusedEndDate],e=this.getWidth(),r=this.maxDate.getTime()-this.minDate.getTime(),o=[(this.focusedEndDate.getTime()-this.focusedStartDate.getTime())/r,1/0],s=this.initialTimeScale.copy();s.domain(t);const u=s(this.minDate),a=-(e-s(this.maxDate));return{scaleExtent:o,translateExtent:[[u||-1/0,0],[a||1/0,0]]}},initZoomBehavior(){const{scaleExtent:t,translateExtent:e}=this.calculateZoomExtents();this.zoomBehavior=M.zoom().scaleExtent(t).translateExtent(e).on("zoom",this.handleZoom),this.selection=M.select(this.container),this.selection.call(this.zoomBehavior)},handleZoom(t){const r=t.transform.rescaleX(this.initialTimeScale.copy()).domain(),n=r[0]<=this.minDate,i=r[1]>=this.maxDate;if(n||i){const s=M.zoomIdentity.translate(this.lastTransform.x,this.lastTransform.y).scale(this.lastTransform.k);this.selection.call(this.zoomBehavior.transform,s),this.updateBoundaries(n,i);return}const o=t.transform.k/this.lastTransform.k;this.transformDiff={scale:o,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform},this.timeScale=t.transform.rescaleX(this.timeScale).domain(r)},toD3Date(t){return it({timestamp:t,timezone:this.timezone})},toDateString(t){return vt({date:t,timezone:this.timezone})},getWidth(){var t,e;return this.width?this.width:(e=(t=this.container)==null?void 0:t.getBoundingClientRect())==null?void 0:e.width},zoomToFocusedDomain(t){const e=this.toD3Date(t[0]),r=this.toD3Date(t[1]),n=this.timeScale.domain();if(e.getTime()===n[0].getTime()&&r.getTime()===n[1].getTime())return;const i=this.initialTimeScale.domain().map(m=>m.getTime()),o=i[1]-i[0],s=r.getTime()-e.getTime(),u=.1*s,a=s+2*u;let l=o/a;const d=this.zoomBehavior.scaleExtent();l=Math.min(Math.max(l,d[0]),d[1]);const p=this.initialTimeScale.copy().domain([e,r]);this.selection.transition().duration(this.scalingDuration/2).call(this.zoomBehavior.scaleTo,l).on("end",()=>this.translateIntervalIntoView(e.getTime(),r.getTime(),l)),this.timeScale=p},translateIntervalIntoView(t,e,r){const n=this.timeScale(new Date(t)),i=this.timeScale(new Date(e)),o=(n+i)/2,u=this.getWidth()/2-o,a=M.zoomTransform(this.selection.node());this.selection.transition().duration(this.translationDuration/2).call(this.zoomBehavior.transform,M.zoomIdentity.translate(a.x+u,a.y).scale(r))},emitTimeScaleChange(){this.$emit("time-scale-change",this.timeScale)},emitFocusedDomainChange(){if(!this.selection.node())return;const[e,r]=this.timeScale.domain();this.$emit("focused-domain-change",[this.toDateString(e),this.toDateString(r)])},panToTimestamp(t){const e=new Date(t),r=this.timeScale(e),n=M.zoomTransform(this.selection.node()),i=n.x-r+this.getWidth()/2;this.selection.transition().duration(this.translationDuration).call(this.zoomBehavior.transform,M.zoomIdentity.translate(i,0).scale(n.k)).on("end",()=>{this.emitFocusedDomainChange()})},updateBoundaries(t,e){this.isLeftBoundaryReached=t,this.isRightBoundaryReached=e,clearTimeout(this.resetBoundariesTimeout),this.resetBoundariesTimeout=setTimeout(this.resetBoundaries,300)},resetBoundaries(){this.isLeftBoundaryReached=!1,this.isRightBoundaryReached=!1}}}),Ac="";var o0=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoom-behavior"},[r("transition",{attrs:{name:"boundary-fade"}},[e.isLeftBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__left e-bg-gradient-to-r e-from-red-700 e-to-transparent"}):e._e()]),e._t("default",null,{timeScale:e.timeScale}),r("transition",{attrs:{name:"boundary-fade"}},[e.isRightBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__right e-bg-gradient-to-l e-from-red-700 e-to-transparent"}):e._e()])],2)},l0=[],c0=W(a0,o0,l0,!1,null,null,null,null);const u0=c0.exports,d0=N.extend({name:"EXAxis",props:{ticksConfigs:{type:Array,required:!0},timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y}},computed:{classes(){return{[Y.xAxis]:!0,[Y.xAxisDark]:this.dark}},axis(){return M.axisBottom(this.timeScale).ticks(this.currentTicksConfig.interval).tickFormat(this.currentTicksConfig.formatFn).tickSizeOuter(0).tickSizeInner(this.height)},density(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},currentTicksConfig(){const{interval:t,format:e}=this.ticksConfigs.find(n=>n.precision>=this.density&&n.interval);return{formatFn:n=>typeof e=="function"?e(n):M.timeFormat(e)(n),interval:t}}},watch:{timeScale:{handler(){this.update()},deep:!0},currentTicksConfig:{handler(){this.update()},deep:!0},height(){this.updateTicksSize()}},mounted(){this.update()},methods:{update(){const t=this.$refs.container;M.select(t).call(this.axis),this.translateTicksText()},translateTicksText(){const t=this.$refs.container;M.select(t).selectAll(".tick text").each(function(){M.select(this).attr("x",5).attr("y",0).style("text-anchor","start")})},updateTicksSize(){this.axis.tickSizeOuter(0).tickSizeInner(this.height),this.update()}}}),Rc="";var h0=function(){var e=this,r=e._self._c;return r("g",{ref:"container",class:e.classes,attrs:{"text-anchor":"middle",transform:`translate(${e.x}, ${e.y})`}})},f0=[],p0=W(d0,h0,f0,!1,null,null,null,null);const Wr=p0.exports,Ot=t=>{const e=M.utcFormat("%_d")(t),r=m0(parseInt(e));return`${e}${r}`},Si=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":M.utcFormat("%-d")(t),_t=t=>["0"," 0","00"].includes(M.utcFormat("%H")(t))?"":`${M.utcFormat("%H")(t)}h`,st=t=>{const e=M.utcFormat("%H:%M")(t);return e==="00:00"?"":e},Gr=t=>M.utcFormat("%M:%S")(t),Ti=t=>`${M.utcFormat("%Hh%Mm")(t)}`,qr=t=>{const e=st(t),r=Ot(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`},Ur=t=>{const e=st(t),r=Number.parseInt(M.utcFormat("%H")(t)),n=Ot(t),i=M.utcFormat("%B")(t);return e&&r%6===0?`${i} ${n} ${e}`:qr(t)},m0=t=>{if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},yt=t=>e=>{const r=M.utcFormat("%H")(e);return!(M.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},Zr=t=>e=>{const r=M.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},ki=t=>e=>{const r=M.utcFormat("%M")(e),n=M.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},ee={_10_seconds:25e-6,_20_seconds:1e-4,_30_seconds:15e-5,_1_minute:3e-4,_2_minutes:75e-5,_5_minutes:.002,_15_minutes:.005,_30_minutes:.01,_1_hour:.025,_2_hours:.05,_3_hours:.1,_4_hours:.15,_6_hours:.25,_1_day:1,_2_days:2,_1_month:8,_1_month_abbr:13,_1_month_letter:22,_3_months:33,_2_year:48,_5_years:120,_20_years:480,_75_years:1800,_300_years:7200,infinity:1/0},Yr={[tt.Overview]:[{precision:ee._30_seconds,interval:M.utcMinute.every(2),format:Ti},{precision:ee._1_minute,interval:M.utcMinute.every(5),format:Ti},{precision:ee._2_minutes,interval:M.utcMinute.every(10),format:qr},{precision:ee._5_minutes,interval:M.utcMinute.every(20),format:Ur},{precision:ee._15_minutes,interval:M.utcHour,format:Ur},{precision:ee._30_minutes,interval:M.utcHour.every(2),format:Ur},{precision:ee._2_hours,interval:M.utcHour.every(6),format:t=>{const e=st(t),r=Ot(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:ee._3_hours,interval:M.utcHour.every(12),format:qr},{precision:ee._6_hours,interval:M.utcHour.every(24),format:t=>{const e=Ot(t),r=M.utcFormat("%b")(t),n=M.utcFormat("%Y")(t);return`${r} ${e} ${n}`}},{precision:ee._2_days,interval:M.utcMonth,format:"%Y – %B"},{precision:ee._2_year,interval:M.utcMonth.every(3),format:"%Y Q%q"},{precision:ee._5_years,interval:M.utcYear.every(5),format:"%Y"},{precision:ee._20_years,interval:M.utcYear.every(20),format:"%Y"},{precision:ee._75_years,interval:M.utcYear.every(75),format:"%Y"},{precision:ee._300_years,interval:M.utcYear.every(300),format:"%Y"},{precision:ee.infinity,interval:M.utcMonth.every(12),format:"%Y"}],[tt.Detailed]:[{precision:ee._10_seconds,interval:M.utcSecond.every(10),format:Gr},{precision:ee._20_seconds,interval:(Ki=M.utcSecond.every(20))==null?void 0:Ki.filter(ki(2)),format:Gr},{precision:ee._30_seconds,interval:(Ji=M.utcSecond.every(30))==null?void 0:Ji.filter(ki(2)),format:Gr},{precision:ee._1_minute,interval:M.utcMinute.filter(Zr(5)),format:st},{precision:ee._2_minutes,interval:(es=M.utcMinute.every(2))==null?void 0:es.filter(Zr(10)),format:st},{precision:ee._5_minutes,interval:(ts=M.utcMinute.every(5))==null?void 0:ts.filter(Zr(20)),format:st},{precision:ee._15_minutes,interval:(rs=M.utcMinute.every(15))==null?void 0:rs.filter(yt(1)),format:st},{precision:ee._30_minutes,interval:(ns=M.utcMinute.every(30))==null?void 0:ns.filter(yt(2)),format:st},{precision:ee._1_hour,interval:M.utcHour.filter(yt(6)),format:_t},{precision:ee._2_hours,interval:(is=M.utcHour.every(2))==null?void 0:is.filter(yt(6)),format:_t},{precision:ee._3_hours,interval:(ss=M.utcHour.every(3))==null?void 0:ss.filter(yt(12)),format:_t},{precision:ee._4_hours,interval:M.utcHour.every(4),format:_t},{precision:ee._6_hours,interval:M.utcHour.every(6),format:_t},{precision:ee._1_day,interval:M.utcDay,format:Si},{precision:ee._2_days,interval:M.utcDay.every(2),format:Si},{precision:ee._1_month,interval:M.utcMonth,format:"%B"},{precision:ee._1_month_abbr,interval:M.utcMonth,format:"%b"},{precision:ee._1_month_letter,interval:M.utcMonth,format:t=>M.utcFormat("%B")(t).charAt(0)},{precision:ee._3_months,interval:M.utcMonth.every(3),format:"Q%q"},{precision:ee._2_year,interval:M.utcMonth.every(6),format:"Q%q"},{precision:ee._5_years,interval:M.utcYear.every(2),format:"%Y"},{precision:ee._20_years,interval:M.utcYear.every(4),format:"%Y"},{precision:ee._75_years,interval:M.utcYear.every(25),format:"%Y"},{precision:ee._300_years,interval:M.utcYear.every(100),format:"%Y"},{precision:ee.infinity,interval:M.utcYear.every(500),format:""}],[tt.DetailedBackground]:[{precision:ee._10_seconds,interval:M.utcSecond,format:""},{precision:ee._20_seconds,interval:M.utcSecond.every(5),format:""},{precision:ee._30_seconds,interval:M.utcSecond.every(10),format:""},{precision:ee._1_minute,interval:M.utcSecond.every(20),format:""},{precision:ee._2_minutes,interval:M.utcSecond.every(30),format:""},{precision:ee._5_minutes,interval:M.utcMinute,format:""},{precision:ee._15_minutes,interval:M.utcMinute.every(3),format:""},{precision:ee._30_minutes,interval:M.utcMinute.every(6),format:""},{precision:ee._1_hour,interval:M.utcMinute.every(15),format:""},{precision:ee._2_hours,interval:M.utcMinute.every(30),format:""},{precision:ee._3_hours,interval:M.utcHour,format:""},{precision:ee._4_hours,interval:M.utcHour,format:""},{precision:ee._6_hours,interval:M.utcMinute.every(120),format:""},{precision:ee._1_day,interval:M.utcHour.every(8),format:""},{precision:ee._2_days,interval:M.utcHour.every(12),format:""},{precision:ee._1_month,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/5);return e===n||e===2*n||e===3*n||e===4*n}),format:""},{precision:ee._1_month_abbr,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/4);return e===n||e===2*n||e===3*n}),format:""},{precision:ee._1_month_letter,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/2);return e===n}),format:""},{precision:ee._3_months,interval:M.utcMonth,format:""},{precision:ee._3_months,interval:M.utcMonth,format:""},{precision:ee._2_year,interval:M.utcYear,format:""},{precision:ee._5_years,interval:M.utcYear.every(2),format:""},{precision:ee._20_years,interval:M.utcYear.every(5),format:""},{precision:ee._75_years,interval:M.utcYear.every(20),format:""},{precision:ee._300_years,interval:M.utcYear.every(100),format:""},{precision:ee.infinity,interval:M.utcYear.every(500),format:""}]},g0=N.extend({name:"EXAxisOverview",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y,ticksConfigs:Yr[tt.Overview]}}}),Hc="";var v0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisOverview,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},_0=[],y0=W(g0,v0,_0,!1,null,null,null,null);const C0=y0.exports,b0=N.extend({name:"EXAxisDetailed",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y,ticksConfigs:Yr[tt.Detailed]}}}),Nc="";var x0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisDetailed,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},w0=[],S0=W(b0,x0,w0,!1,null,null,null,null);const T0=S0.exports,k0=N.extend({name:"EXAxisBackground",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:Y,ticksConfigs:Yr[tt.DetailedBackground]}}}),jc="";var M0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisBackground,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},E0=[],$0=W(k0,M0,E0,!1,null,null,null,null);const L0=$0.exports,D0=N.extend({name:"ETimelineSVGDefs",props:{eventsGroups:{type:Object,default:()=>({})},forbiddenIntervalColor:{type:String,default:"#ddd"},width:{type:Number,required:!0},height:{type:Number,required:!0}},data(){return{defs:nt,TimelineChartType:Qe,transparencyGradients:[{id:"transparency-gradient-light",stop:38,opacity:.3},{id:"transparency-gradient",stop:130,opacity:.4}]}},computed:{filteredEventsGroups(){return this.eventsGroups||{}}}});var P0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("defs",{ref:"mainContainer",staticClass:"e-timeline"},[e._l(e.eventsGroups,function(n,i){return[r("linearGradient",{key:`${e.defs.loadingGradient}-${i}`,attrs:{id:`${e.defs.loadingGradient}-${i}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":"0"}}),r("stop",{attrs:{offset:"50%","stop-color":n.color,"stop-opacity":"0.6"}}),r("stop",{attrs:{offset:"100%","stop-color":n.color,"stop-opacity":"0"}})],1),[e.TimelineChartType.LineGraph,e.TimelineChartType.BarChart].includes(n.chartType)?[e._l(e.transparencyGradients,function({id:o,stop:s,opacity:u}){return r("linearGradient",{key:`${o}-${i}`,attrs:{id:`${o}-${i}`,x1:"0%",x2:"0%",y1:"0%",y2:"100%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":u}}),r("stop",{attrs:{offset:`${s}%`,"stop-color":n.color,"stop-opacity":"0"}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${i}`,attrs:{id:`${e.defs.clipPath}-${i}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e()]}),r("pattern",{attrs:{id:e.defs.stripedPattern,width:"5",height:"3",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)"}},[r("rect",{attrs:{width:"1",height:"4",fill:e.forbiddenIntervalColor}})])],2)},O0=[],z0=W(D0,P0,O0,!1,null,null,null,null);const B0=z0.exports,I0=N.extend({name:"ETimelineForbiddenInterval",props:{timeScale:{type:Function,required:!0},interval:{type:Object,required:!0},index:{type:Number,required:!0},height:{type:Number,required:!0},timezone:{type:String,default:"UTC"}},data(){return{classNames:Y,defs:nt}},computed:{visibleDomain(){return this.timeScale.domain()},startX(){const t=this.interval.startDate===-1/0?this.visibleDomain[0]:this.tzStringToDate(this.interval.startDate);return this.timeScale(t)},endX(){const t=this.interval.endDate===1/0?this.visibleDomain[1]:this.tzStringToDate(this.interval.endDate);return this.timeScale(t)},width(){return Math.max(this.endX-this.startX,0)}},methods:{tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})}}});var F0=function(){var e=this,r=e._self._c;return r("rect",{class:`${e.classNames.forbiddenInterval} ${e.classNames.forbiddenInterval}-${e.index}`,attrs:{x:e.startX,y:"0",width:e.width,height:e.height,fill:`url(#${e.defs.stripedPattern})`}})},A0=[],R0=W(I0,F0,A0,!1,null,null,null,null);const H0=R0.exports,N0=N.extend({name:"ECursor",props:{timeScale:{type:Function,required:!0},timestamp:{type:String,required:!0},timezone:{type:String,required:!0},height:{type:Number,required:!0},color:{type:String,default:"red"},width:{type:Number,default:1},opacity:{type:Number,default:1}},data(){return{classNames:Y}},watch:{timestamp(){this.repositionCursor()},timeScale(){this.repositionCursor()},height(){this.repositionCursor()}},methods:{repositionCursor(){const t=this.$refs.cursor,e=M.select(t);if(!e)return;if(!this.timestamp){e.style("opacity",0);return}const r=this.tzStringToDate(this.timestamp),n=this.timeScale(r);isNaN(n)?e.style("opacity",0):e.attr("x1",n).attr("x2",n).style("opacity",this.opacity),e.attr("y2",this.height)},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})}}});var j0=function(){var e=this,r=e._self._c;return r("line",{ref:"cursor",class:e.classNames.selectedTimestampCursor,attrs:{x1:"0",y1:"0",x2:"0",opacity:"0",stroke:e.color,"stroke-width":`${e.width}px`}})},W0=[],G0=W(N0,j0,W0,!1,null,null,null,null);const Mi=G0.exports,q0=N.extend({name:"ETimelineCursor",components:{ECursor:Mi},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var U0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,color:"green",height:e.height}})},Z0=[],Y0=W(q0,U0,Z0,!1,null,null,null,null);const X0=Y0.exports,Q0=N.extend({name:"ETimelineSelectedTimestampCursor",components:{ECursor:Mi},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var V0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,height:e.height,width:2}})},K0=[],J0=W(Q0,V0,K0,!1,null,null,null,null);const e5=J0.exports,t5=N.extend({name:"ECursorBehavior",props:{timeScale:{type:Function,required:!0},timezone:{type:String,default:"UTC"},minHoverZone:{type:Number,default:0},isHoveringMilestone:{type:Boolean,default:!1}},data(){return{cursor:null,hoveredTimestamp:null,isHoveringTimeline:!1}},mounted(){this.registerEventsListeners()},methods:{registerEventsListeners(){const t=this.$refs.cursor;this.cursor=M.select(t),this.cursor.on("mousemove",this.handleMouseMove),this.cursor.on("click",this.handleClick),this.cursor.on("mouseleave",this.handleMouseLeave)},handleMouseLeave(){this.isHoveringTimeline=!1,this.hoveredTimestamp=void 0,this.$emit("mouse-leave")},handleMouseMove(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone){this.isHoveringTimeline=!1;return}const r=this.timeScale.invert(e);this.hoveredTimestamp=this.dateToTzString(r),this.isHoveringTimeline=!0,this.$emit("mouse-move",e,this.hoveredTimestamp)},handleClick(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);this.$emit("timestamp-clicked",n,t.target)},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})},dateToTzString(t){return vt({date:t,timezone:this.timezone})}}});var r5=function(){var e=this,r=e._self._c;return r("div",{ref:"cursor",staticClass:"e-timeline__cursor e-relative"},[e._t("default",null,{hoveredTimestamp:e.hoveredTimestamp,isHoveringTimeline:e.isHoveringTimeline})],2)},n5=[],i5=W(t5,r5,n5,!1,null,null,null,null);const s5=i5.exports,a5=N.extend({name:"ETimelineGroupContainer",props:{groupId:{type:String,required:!0},label:{type:String,default:""},color:{type:String,default:""},backgroundColor:{type:String,default:""},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},labelHeight:{type:[Number,void 0],default:void 0},labelRadius:{type:[Number,void 0],default:3},xPadding:{type:Number,default:5},loading:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1}},data(){return{classNames:Y,characterWidth:6.5,isHighlighted:!1}},computed:{computedClasses(){return{label:{[`${Y.labelGroup} ${Y.labelGroup}-${this.groupId}`]:!0},container:{[`${Y.eventGroup} ${Y.eventGroup}-${this.groupId}`]:!0,[`${Y.eventGroup}--highlighted`]:this.isHighlighted}}},computedLabelWidth(){var e;return(this.labelWidth||((e=this.label)==null?void 0:e.length)*this.characterWidth)+this.xPadding*2},textY(){const t=this.labelHeight||this.height;return this.y+t/2},contentX(){return this.showLabel?this.x+this.computedLabelWidth:this.x},labelBackgroundColor(){let t=M.color(this.color);return t.opacity=this.dark?.2:.5,t.toString()},textFillColor(){var t,e;return(this.dark?(t=M.color(this.color))==null?void 0:t.brighter(1.5):(e=M.color(this.color))==null?void 0:e.darker(2)).toString()},loadingIndicatorFill(){return`url(#${nt.loadingGradient}-${this.groupId})`}}}),Wc="";var o5=function(){var e=this,r=e._self._c;return r("g",{class:e.computedClasses.container},[e.hidden?e._e():r("rect",{class:e.classNames.eventGroupBg,attrs:{x:e.x,y:e.y,width:e.width,height:e.height,fill:e.backgroundColor||e.color}}),r("g",{class:e.classNames.eventGroupContent,attrs:{cursor:"pointer"}},[e._t("default",null,{y:e.y,x:e.contentX}),e.loading?r("rect",{class:e.classNames.loadingIndicator,attrs:{x:e.x,y:e.y,width:400,height:e.height,fill:e.loadingIndicatorFill}}):e._e()],2),e.showLabel?r("g",{class:e.computedClasses.label,on:{mouseover:function(n){e.isHighlighted=!0},mouseleave:function(n){e.isHighlighted=!1},click:function(n){return n.stopPropagation(),e.$emit("group-label-clicked",e.groupId)}}},[r("rect",{class:e.classNames.labelBg,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.labelHeight||e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.dark?"black":"white"}}),r("rect",{class:e.classNames.labelBgFill,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.labelHeight||e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.labelBackgroundColor,stroke:e.textFillColor}}),r("text",{staticClass:"label-text",attrs:{x:e.x+e.xPadding,y:e.textY,dy:"0.35rem",fill:e.textFillColor}},[e._v(" "+e._s(e.label)+" ")])]):e._e()])},l5=[],c5=W(a5,o5,l5,!1,null,null,null,null);const u5=c5.exports,d5=N.extend({name:"ETimelineRectsChart",directives:{},components:{ETimelineGroupContainer:u5},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},rectMinWidth:{type:Number,default:1},rectYPadding:{type:Number,default:0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},dots:{type:Boolean,default:!1},dotsSize:{type:Number,default:3},barBorderRadius:{type:Number,default:1.5}},data(){return{classNames:Y,characterWidth:7.5,textPadding:5}},computed:{rectStrokeWidth(){return this.dots&&this.dotsSize?this.dotsSize/10:5},rectRx(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius},rectRy(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius},yPosition(){const t=this.dots?(this.height-this.dotsSize)/2:0;return this.y+this.rectYPadding/2+t},rectStroke(){if(!this.dots)return"#0000";const t=M.color(this.eventsGroup.color);return t==null?void 0:t.brighter(1).toString()},rectHeight(){return this.dots?this.dotsSize:Math.max(this.height-this.rectYPadding,1)},computedEvents(){return this.eventsGroup.events.map(t=>{const e=this.getEventRectX(t,this.timeScale);return{x:e,y:this.yPosition,width:this.getEventRectWidth(t,this.timeScale,this.rectMinWidth),height:this.rectHeight,color:t.color||this.eventsGroup.color,textColor:this.getFillColor(t.color||this.eventsGroup.color,.75,this.dark),textContent:this.getEventText(t,this.textPadding,this.characterWidth),textX:e+this.textPadding,textY:this.yPosition+this.rectHeight/2}})},timeScaleDensity(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n}},methods:{onMouseOver(t,e,r){t.target.classList.add(Y.eventRectHovered),this.$emit("event-mouseover",t,e,r)},onMouseLeave(t){t.target.classList.remove(Y.eventRectHovered),this.$emit("event-mouseout")},getEventText(t,e,r){var o;if(!t.text)return"";const i=(this.getEventRectWidth(t,this.timeScale,this.rectMinWidth)-e)/r;return i<4?"":((o=t.text)==null?void 0:o.length)<=i?t.text:`${t.text.slice(0,i-3)}...`},getEventRectWidth(t,e,r){if(!t)return 0;if(this.dots)return this.dotsSize;if(t.startDate&&t.endDate){const n=new Date(t.startDate),i=new Date(t.endDate),o=e(i)-e(n);return Math.max(o,r)}else{const n=1/(this.timeScaleDensity*3600);return Math.max(n,r)}},getEventRectX(t,e){return isNaN(e(this.tzStringToDate(t.startDate||t.timestamp)))?0:e(this.tzStringToDate(t.startDate||t.timestamp))},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})},dateToTzString(t){return vt({date:t,timezone:this.timezone})},getFillColor(t,e=0,r=!1){var n,i;return(r?(n=M.color(t))==null?void 0:n.brighter(1.5+e):(i=M.color(t))==null?void 0:i.darker(2+e)).toString()}}}),Gc="";var h5=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.height,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[e.dots?r("line",{class:e.classNames.milestoneLine,attrs:{x1:0,x2:e.width,y1:e.yPosition+e.dotsSize/2,y2:e.yPosition+e.dotsSize/2,stroke:e.eventsGroup.color,"stroke-width":1}}):e._e(),e._l(e.computedEvents,function(n,i){return r("g",{key:i,class:e.classNames.eventRectContainer},[r("rect",{class:[e.classNames.eventRect,e.dots?`${e.classNames.eventRect}--dot`:""],attrs:{x:n.x,y:n.y,width:n.width,height:n.height,fill:n.color,stroke:e.rectStroke,cursor:"pointer","stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy},on:{mouseover:function(o){return e.onMouseOver(o,e.eventsGroup.events[i],e.groupId)},mouseleave:e.onMouseLeave}}),n.textContent?r("text",{class:e.classNames.eventRectText,attrs:{fill:n.textColor,x:n.textX,y:n.textY,dy:"0.35em","text-anchor":"start","font-size":"12","font-weight":600,"stroke-linejoin":"round","paint-order":"stroke","pointer-events":"none"}},[e._v(" "+e._s(n.textContent)+" ")]):e._e()])})],2)},f5=[],p5=W(d5,h5,f5,!1,null,null,null,null);const m5=p5.exports,g5=N.extend({name:"ETimeline",directives:{resizeObserver:Ke},components:{ETimelineSVGDefs:B0,EXAxisBackground:L0,EXAxisDetailed:T0,EXAxisOverview:C0,ETimelineMilestone:X1,ETimelineMarkers:s0,ETimelineCursor:X0,ETimelineSelectedTimestampCursor:e5,EZoomBehavior:u0,ECursorBehavior:s5,ETimelineRectsChart:m5,ETimelineForbiddenInterval:H0},props:{eventsGroups:{type:Object,default:null},dark:{type:Boolean,default:!1},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},selectedTimestamp:{type:String,default:void 0},showEventTooltip:{type:Boolean,default:!0},disableZoom:{type:Boolean,default:!1},insertZerosAtInterval:{type:String,default:void 0},flattenLineGraphEnds:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},rectMinWidth:{type:Number,default:1},barHeight:{type:Number,default:18},barYPadding:{type:Number,default:0},barXPadding:{type:Number,default:0},chartMinHeight:{type:Number,default:60},chartMinLabelHeight:{type:Number,default:18},minDate:{type:String,default:void 0},maxDate:{type:String,default:void 0},selectedClass:{type:[String,void 0],default:void 0},panOnDateClick:{type:Boolean,default:!1},panTransitionDuration:{type:Number,default:800},selectedDate:{type:String,default:""},autoResize:{type:Boolean,default:!0},markers:{type:Array,default:()=>[]},stickyMarkers:{type:Boolean,default:!0},fitMarkersOnChange:{type:Boolean,default:!1},zoomToIntervalTransitionDuration:{type:Number,default:800},zoomToBoundariesTransitionDuration:{type:Number,default:0},milestoneBulletSize:{type:Number,default:18},milestonesFirst:{type:Boolean,default:!0},forbiddenIntervals:{type:Array,default:()=>[]},forbiddenIntervalColor:{type:String,default:"#ddd"},focusedInterval:{type:[Object,void 0],default:void 0},locked:{type:Boolean,default:!1},timezone:{type:[String,void 0],default:void 0},stopClickPropagation:{type:Boolean,default:!1},tooltipPosition:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},maxDomainPadding:{type:Number,default:0},showCursor:{type:Boolean,default:!0}},data(){return{mainContainer:null,tooltip:null,timeline:null,wrapperDiv:null,svgElement:null,svg:null,timeScale:null,currentTimeScaleDensity:null,axisHeight:22,isHoveringEvent:!1,hoveredEvent:null,eventTooltipStyle:{},hoveredEventType:null,utcOffset:0,yScale:null,hoveredCounts:[],countsByTimestamp:{},dotsByTimestamp:{},visibleFrom:null,visibleTo:null,characterWidth:7.5,textPadding:5,debouncedOnResize:()=>{},isFirstPaint:!0,timeouts:[],groupsVisibility:{},selectedMilestoneId:null,isInitialized:!1,transformDiff:{translation:0,scale:1},isZoomingInterval:!1,hoveredMilestone:null,focusedDomain:null,transitionDuration:400,focusedTimestamp:null,TimelineChartType:Qe}},computed:{combinedBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(this.getBarGroupHeight(e)||this.barChartHeight),0)},combinedBottomBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(e.bottom?this.getBarGroupHeight(e):0),0)},combinedMilestonesHeight(){return Object.values(this.milestonesGroups).reduce((t,e)=>t+(e.height||this.barChartHeight),0)},milestonesYOffset(){return this.milestonesFirst?0:this.combinedBarsHeight-this.combinedBottomBarsHeight+(this.hasChart?this.chartHeight:0)},chartsYOffset(){return this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0},barsYOffset(){return(this.hasChart?this.chartHeight:0)+(this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0)},hasMilestones(){return Object.keys(this.milestonesGroups).length>0},barChartHeight(){return this.barHeight+this.barYPadding},computedClasses(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark},background:this.dark?"e-bg-gray-900":"e-bg-gray-50",tooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300",eventTooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300"}},lineGraphGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Qe.LineGraph?{...t,[e]:r}:t,{})},chartHeight(){if(!this.showLabels)return this.chartMinHeight;const e=(Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length)*this.barChartHeight;return Math.max(this.chartMinHeight,e)},barGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>!r.chartType||[Qe.Bars,Qe.Dots].includes(r.chartType)?{...t,[e]:r}:t,{})},barChartGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Qe.BarChart?{...t,[e]:r}:t,{})},milestonesGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Qe.Milestones?{...t,[e]:r}:t,{})},hasChart(){return Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length>0},labelRectWidth(){return Object.values(this.eventsGroups).reduce((r,n)=>{var i;return Math.max(r,(i=n.label)==null?void 0:i.length)},0)*this.characterWidth+2*this.textPadding},combinedXAxesHeight(){return this.axisHeight*2},timelineWidth(){var t,e,r;return((t=this.timeline)==null?void 0:t.offsetWidth)||((r=(e=this.mainContainer)==null?void 0:e.getBoundingClientRect())==null?void 0:r.width)},timelineHeight(){return(this.hasChart?this.chartHeight:0)+this.combinedXAxesHeight+this.combinedBarsHeight+this.combinedMilestonesHeight},filteredEventsGroups(){const t=Object.entries(this.eventsGroups).filter(([e,r])=>this.getCurrentGroupVisibility(e));return Object.fromEntries(t)},allEventsSorted(){const t=Object.values(this.filteredEventsGroups).map(e=>e.events).flat();return this.getSortedEvents(t)},oldestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[0]:t={timestamp:new Date(new Date().getTime()-864e5)},t},latestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[this.allEventsSorted.length-1]:t={timestamp:new Date},t},allLineChartTimestamps(){const t=new Set;return Object.values(this.lineGraphGroups).forEach(e=>{e.events.forEach(r=>{t.add(r.timestamp)})}),Array.from(t).sort()},placeholderLineChartGroup(){return this.fillTimeGaps(this.allLineChartTimestamps.map(t=>({timestamp:t,count:0})))},filledGapsLineGraphGroups(){return Object.entries(this.lineGraphGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:this.fillEvents(r.events)}}),{})},flattenedCounts(){return[...Object.values(this.lineGraphGroups),...Object.values(this.barChartGroups)].map(t=>t.events).flat()},hiddenGroupsLabels(){return Object.entries(this.groupsVisibility).reduce((t,[e,r])=>r?t:[...t,e],[])},minHoverZone(){return this.showLabels?this.labelRectWidth:0},sortedMarkers(){return this.isInitialized?[...this.markers].sort((t,e)=>new Date(t.timestamp).getTime()>new Date(e.timestamp).getTime()?1:-1):[]},maxVisibleCount(){const[t,e]=this.timeScale.domain(),r=this.flattenedCounts.filter(n=>{const i=new Date(n.startDate||n.timestamp),o=new Date(n.endDate||n.timestamp);return o>=t&&o<=e||i>=t&&i<=e});return M.max(r,n=>n.count)},defaultMaxDomain(){const t=new Date(this.oldestEvent.timestamp||this.oldestEvent.startDate).getTime(),e=new Date(this.latestEvent.timestamp||this.latestEvent.endDate).getTime(),n=(e-t)*.75,i=new Date(t-n),o=new Date(e+n);return[i.toISOString(),o.toISOString()]},defaultFocusedDomain(){const t=this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.latestEvent.timestamp||this.latestEvent.endDate;return[t,e]},domain(){let t=new Date(this.minDate||this.defaultMaxDomain[0]).getTime(),e=new Date(this.maxDate||this.defaultMaxDomain[1]).getTime(),r=0;return this.maxDomainPadding&&(r=(e-t)*this.maxDomainPadding),t=new Date(t-r).toISOString(),e=new Date(e+r).toISOString(),[this.tzStringToDate(t),this.tzStringToDate(e)]},svgLeft(){var t,e,r;return((r=(e=(t=this.svg)==null?void 0:t.node())==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0},markersScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("marker.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})},isHoveringMilestone(){return!!this.hoveredMilestone},milestonesGroupsPlaceholder(){return Object.entries(this.milestonesGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:[],isLoading:!1}}),{})}},watch:{dark(){this.handleDarkModeChange()},markers(){this.fitMarkersOnChange&&this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},eventsGroups:{handler(){this.updateTimeline()},deep:!0},barHeight:"updateTimeline",barYPadding:"updateTimeline",chartMinHeight:"updateTimeline",selectedDate(t){t&&!this.locked&&(this.focusedTimestamp=this.tzStringToDate(t).toISOString())},groupsVisibility(){this.updateTimeline()},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&(this.focusedDomain=[t.startDate,t.endDate])}},created(){this.debouncedOnResize=mi(this.handleResize,100)},mounted(){this.validateProps(),this.initTimeline(),this.zoomToStartAndEndDates()},beforeDestroy(){this.clearTimeline()},methods:{validateProps(){this.minDate||console.log("<ETimeline />: didn't receive a 'min-date' prop. Setting default: ",this.defaultMaxDomain[0]),this.maxDate||console.log("<ETimeline />: didn't receive a 'max-date' prop. Setting default: ",this.defaultMaxDomain[1]),this.startDate||console.log("<ETimeline />: didn't receive a 'start-date' prop. Setting default: ",this.defaultFocusedDomain[0]),this.endDate||console.log("<ETimeline />: didn't receive an 'end-date' prop. Setting default: ",this.defaultFocusedDomain[1])},updateTimeline(){this.isInitialized&&(this.initOrUpdateSvg(),this.updateYScale(),this.drawEventsGroups(),this.isInitialized=!0)},initTimeline(){this.initRefs();const t=this.startDate||this.defaultFocusedDomain[0],e=this.endDate||this.defaultFocusedDomain[1];if(this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)],!this.timeline||this.timeline.offsetWidth===0||!this.domain||!this.timeScale){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.initOrUpdateSvg(),this.initUtcOffset(),this.initYScale(),this.drawEventsGroups(),this.emitVisibleInterval(St.Initial),this.selectedDate&&this.panOnDateClick&&(this.focusedTimestamp=this.tzStringToDate(this.selectedDate)),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.mainContainer=this.$refs.mainContainer,this.timeline=this.$refs.timelineContainer,this.svgElement=this.$refs.timelineSvg,this.wrapperDiv=this.$refs.wrapperDiv},initOrUpdateSvg(){this.svg||(this.svg=M.select(this.svgElement))},initUtcOffset(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate;this.utcOffset=Se.parseZone(t).utcOffset()},initYScale(){this.yScale=M.scaleLinear().range([this.chartHeight,0]),this.updateYScale()},updateYScale(){this.yScale.range([this.chartHeight,0]),this.yScale.domain([0,this.maxVisibleCount])},zoomToFitMarkers(){const t=this.markers.map(o=>new Date(o.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t),n=new Date(e),i=new Date(r);this.focusedDomain=[n,i]},clearTimeline(){this.svg&&this.svg.remove(),this.countsByTimestamp={}},updateCurrentTimeScaleDensity(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;isNaN(n)||(this.currentTimeScaleDensity=n)},emitVisibleInterval(t){const e=this.timeScale.invert(0),r=this.timeScale.invert(this.timeline.offsetWidth);if(this.visibleFrom&&this.visibleFrom.getTime()===e.getTime()&&this.visibleTo&&this.visibleTo.getTime()===r.getTime())return;this.visibleFrom=e,this.visibleTo=r;const n=this.dateToTzString(this.visibleFrom),i=this.dateToTzString(this.visibleTo);this.$emit("visible-interval-change",{fromDate:n,toDate:i,trigger:t,transform:this.transformDiff})},onResize(t){this.autoResize&&(this.isFirstPaint?(this.handleResize(t),this.isFirstPaint=!1):this.debouncedOnResize(t))},handleResize({contentRect:t}){this.svg&&(this.svg.attr("width",t.width),this.updateTimeline())},handleDarkModeChange(){if(!this.showLabels)return;const t=this;this.svg.selectAll(`.${Y._legacyLabelBg}`).each(function(){M.select(this).style("fill",t.dark?"black":"white")}),this.svg.selectAll(`.${Y._legacyLabelBgFill}`).each(function(){const e=M.select(this),r=e.node().dataset.color;e.style("fill",t.getLabelBackgroundColor(r)).style("stroke",t.getTextFillColor(r)).style("stroke-width",.25)}),this.svg.selectAll(`.${Y._legacyLabelText}`).each(function(){const e=M.select(this),r=e.node().dataset.color;e.style("fill",t.getTextFillColor(r))})},handleMouseLeave(){this.$emit("hovered-timestamp",void 0)},handleMouseMove(t,e){this.$emit("hovered-timestamp",e),this.tooltip&&(this.eventTooltipStyle={left:`${t}px`,zIndex:100,[this.tooltipPosition==="top"?"bottom":"top"]:`${this.timeline.getBoundingClientRect().height}px`})},handleClick(t,e){if(this.isHoveringEvent&&(this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation))return;if(Array.from(e.classList).includes(Y.forbiddenInterval)){this.$emit("forbidden-timestamp-clicked",t);return}this.$emit("date-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t)},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t.timestamp)},handleLineMouseOver(t,e,r){this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp}`]).reduce((n,i)=>{var u;const[o,s]=i;return(u=this.hiddenGroupsLabels)!=null&&u.includes(o)?n:[...n,{type:o,count:s,label:this.getExternalLabelText(o)}]},[]),this.hoveredEvent=e,this.isHoveringEvent=!0,this.$emit("event-mouseover",{eventData:e,eventType:r,hoveredCounts:this.hoveredCounts})},handleLineMouseOut(){this.isHoveringEvent=!1,this.hoveredCounts=[],this.$emit("event-mouseout")},handleBarMouseOver(t,e,r){t.offsetX<=this.minHoverZone||(this.hoveredEvent=e,this.hoveredEventType=r,this.isHoveringEvent=!0,this.$emit("event-mouseover",{eventData:e,eventType:r}))},handleBarMouseOut(){this.isHoveringEvent=!1,this.hoveredEvent=null,this.$emit("event-mouseout")},handleLabelMouseOver(t){M.selectAll(`.${Y.lineGraphGroup}-${t}`).classed(`${Y.lineGraphGroup}--highlighted`,!0),M.selectAll(`.${Y.lineGraphGroupLabel}`).classed(`${Y.lineGraphGroupLabel}--highlighted`,!0)},handleLabelMouseLeave(t){M.selectAll(`.${Y.lineGraphGroup}-${t}`).classed(`${Y.lineGraphGroup}--highlighted`,!1),M.selectAll(`.${Y.lineGraphGroupLabel}`).classed(`${Y.lineGraphGroupLabel}--highlighted`,!1)},handleTransformChange(t){this.transformDiff=t},handleTimeScaleChange(t){this.timeScale=t,this.updateCurrentTimeScaleDensity(),this.isInitialized&&(this.updateLineGraphs(),this.updateBarChart(),this.updateLineGraphHoverZones(),this.emitVisibleInterval(St.Zoom),this.focusedTimestamp=void 0,this.$emit("time-scale-change",t))},zoomToStartAndEndDates(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.endDate||this.latestEvent.timestamp||this.latestEvent.endDate;this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)]},updateBarChart(){const t=Object.keys(this.barChartGroups).length;Object.keys(this.barChartGroups).forEach((e,r)=>{const n=m=>(this.getEventRectWidth(m)-this.barXPadding*2)/t,i=m=>this.yScale.range()[0]-this.yScale(m.count),o=m=>this.getEventRectX(m)+this.barXPadding+r*n(m),s=m=>this.yScale(m.count),u=`.${Y.eventBarContainer}-${e}`,a=this.svg.selectAll(u),l=`.${Y.barChartGroup} rect.${Y.eventBarHoverZone}`;a.selectAll(l).attr("x",o).attr("width",n);const d=`.${Y.barChartGroup} rect.${Y.eventBar}`;a.selectAll(d).attr("x",o).attr("width",n).attr("y",s).attr("height",i);const p=`.${Y.barChartGroup} rect.${Y.eventBarCap}`;a.selectAll(p).attr("x",o).attr("width",n).attr("y",s)})},updateLineGraphs(){Object.entries(this.lineGraphGroups).forEach(([t])=>{const e=M.area().x(r=>this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1(r=>this.yScale(r.count)).curve(M.curveMonotoneX);this.svg.selectAll(`.${Y.lineGraphPath}-${t}`).attr("d",r=>e(r))})},updateLineGraphHoverZones(){Object.keys(this.lineGraphGroups).forEach(t=>{const e=this;this.svg.selectAll(`.${Y.lineGraphDot}-${t}`).each(function(r){M.select(this).attr("cx",e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy",e.yScale(r.count))}),this.svg.selectAll(`.${Y.lineGraphHoverZone}-${t}`).each(function(r){const n=e.timeScale(e.tzStringToDate(r.timestamp).getTime())-15;M.select(this).attr("x",n).attr("y",0).attr("width",30).attr("height",e.chartHeight)})})},getEventRectX(t){return isNaN(this.timeScale(this.tzStringToDate(t.startDate||t.timestamp)))?0:this.timeScale(this.tzStringToDate(t.startDate||t.timestamp))},getEventRectWidth(t){if(!t)return 0;if(t.startDate&&t.endDate){const e=new Date(t.startDate),r=new Date(t.endDate),n=this.timeScale(r)-this.timeScale(e);return Math.max(n,this.rectMinWidth)}else{const e=1/(this.currentTimeScaleDensity*3600);return Math.max(e,this.rectMinWidth)}},drawEventsGroups(){this.svg.selectAll(`.${Y.lineGraphGroup}`).remove(),this.svg.selectAll(`.${Y.lineGraphGroupLabel}`).remove(),this.svg.selectAll(`.${Y._legacyLoadingIndicator}`).remove(),this.drawLineGraphEventsGroups(),this.drawBarChartEventsGroups()},drawLineGraphEventsGroups(){const t=this.combinedXAxesHeight+this.chartsYOffset,e=this.insertZerosAtInterval?this.filledGapsLineGraphGroups:this.lineGraphGroups;Object.entries(e).forEach(([r,n])=>{const i=this.svg.append("g").classed(`${Y.lineGraphGroup} ${Y.lineGraphGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:o,events:s}=n;this.drawLineGraph({events:s,gElement:i,color:o,type:r}),this.drawLineGraphHoverZones({events:s,gElement:i,color:o,type:r})}),Object.entries(this.lineGraphGroups).forEach(([r,n],i)=>{const{color:o,isLoading:s,label:u}=n,a=Math.max(this.chartMinLabelHeight,this.barChartHeight),l=this.chartHeight-a*(i+1),d=t+this.chartHeight-a,p=this.svg.append("g").classed(Y.lineGraphGroupLabel,!0).attr("transform",`translate(0,${t})`).on("mouseover",()=>this.handleLabelMouseOver(r)).on("mouseleave",()=>this.handleLabelMouseLeave(r));this.drawProgressIndicator({type:r,color:o,isLoading:s,yPosition:d}),this.drawTextLabel({color:o,label:u,type:r,height:a,yPosition:l,gElement:p})})},drawLineGraph({events:t,gElement:e,color:r,type:n}){const i=M.area().x(s=>this.timeScale(this.tzStringToDate(s.timestamp))).y0(this.timelineHeight).y1(s=>this.yScale(s.count)).curve(M.curveMonotoneX),o=`${nt.clipPath}-${n}`;e.append("path").datum(t).classed(`${Y.lineGraphPath}-${n}`,!0).attr("fill",`url(#${nt.transparencyGradientLight}-${n})`).attr("stroke",r).attr("stroke-linejoin","round").attr("stroke-linecap","round").attr("stroke-width",1).attr("d",s=>i(s)).attr("clip-path",`url(#${o})`)},drawLineGraphHoverZones({events:t,gElement:e,color:r,type:n}){t.forEach(i=>{const o=`${i.timestamp}`;this.countsByTimestamp[o]={...this.countsByTimestamp[o]||{},[n]:i.count};const s=e.append("circle").classed(`${Y.lineGraphDot} ${Y.lineGraphDot}-${n}`,!0).attr("cx",this.timeScale(this.tzStringToDate(i.timestamp))).attr("cy",this.yScale(i.count)).attr("r",1.5).attr("fill",r).attr("stroke-width",0).datum(i);this.dotsByTimestamp[o]=[...this.dotsByTimestamp[o]||[],s],e.append("rect").classed(`${Y.lineGraphHoverZone}-${n}`,!0).attr("x",this.timeScale(this.tzStringToDate(i.timestamp))-15).attr("y",0).attr("width",30).attr("height",this.chartHeight).attr("fill","transparent").datum(i).on("mouseover",u=>{this.handleLineMouseOver(u,i,n),this.dotsByTimestamp[o].forEach(a=>a.classed(`${Y.lineGraphDot}--active`,!0))}).on("mouseout",()=>{this.handleLineMouseOut(),this.dotsByTimestamp[o].forEach(u=>u.classed(`${Y.lineGraphDot}--active`,!1))})})},getMilestoneClass(t){return{[Y.milestoneSelected]:[t.id,t.timestamp].includes(this.selectedMilestoneId)}},getMilestoneColors(t,e){return{background:t||e,border:this.getTextFillColor(t||e,.25)}},getMilestoneGroupYPosition(t){let e=0;for(const[r,n]of Object.entries(this.milestonesGroups)){if(r===t)break;e+=n.height||this.barChartHeight}return this.combinedXAxesHeight+this.milestonesYOffset+e},getBarGroupYPosition(t,e){let r=this.combinedXAxesHeight;e?r+=(this.hasChart?this.chartHeight:0)+(this.hasMilestones?this.combinedMilestonesHeight:0):r+=this.barsYOffset;for(const[n,i]of Object.entries(this.barGroups)){if(n===t)break;!e&&i.bottom||(r+=this.getBarGroupHeight(i))}return r},getBarGroupHeight(t){return t.height?Math.max(t.height+this.barYPadding,1):this.barChartHeight},drawBarChartEventsGroups(){const t=this.combinedXAxesHeight,e=this.barChartGroups;Object.entries(e).forEach(([r,n],i)=>{const o=this.svg.append("g").classed(`${Y.barChartGroup} ${Y.barChartGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:s,events:u}=n;this.drawBarsChart({events:u,color:s,gElement:o,yOffset:t,type:r,index:i})})},drawProgressIndicator({yPosition:t,type:e,isLoading:r}){this.svg.append("rect").classed(`${Y._legacyLoadingIndicator} ${Y._legacyLoadingIndicator}-${e}`,!0).attr("x",0).attr("y",t).attr("width",this.timeline.offsetWidth/3).attr("height",this.barChartHeight).attr("fill",`url(#${nt.loadingGradient}-${e})`).style("visibility",r?"visible":"hidden")},drawBarsChart({events:t,gElement:e,color:r,yOffset:n,type:i,index:o}){const s=this,u=Object.keys(this.barChartGroups).length,a=C=>(this.getEventRectWidth(C)-this.barXPadding*2)/u,l=C=>this.yScale.range()[0]-this.yScale(C.count),d=C=>this.getEventRectX(C)+this.barXPadding+o*a(C),p=C=>this.yScale(C.count),m=e.selectAll(Y.eventBarContainer).data(t).enter().append("g").attr("class",`${Y.eventBarContainer} ${Y.eventBarContainer}-${i}`);m.append("rect").attr("class",C=>Y.eventBarHoverZone+(C.className?` ${C.className}`:"")).attr("x",d).attr("y",-n).attr("width",a).attr("height",this.yScale.range()[0]+n).attr("fill",C=>C.color||r).attr("fill-opacity",0),m.append("rect").attr("class",C=>Y.eventBar+(C.className?` ${C.className}`:"")).attr("x",d).attr("y",p).attr("width",a).attr("height",l).attr("stroke-width",5).attr("cursor","pointer").attr("stroke","#0000").attr("fill",`url(#${nt.transparencyGradient}-${i})`),m.append("rect").attr("class",C=>Y.eventBarCap+(C.className?` ${C.className}`:"")).attr("x",d).attr("y",p).attr("width",a).attr("height",2).attr("stroke-width",0).style("fill",C=>C.color||r),m.on("mouseover",function(C,x){const h=M.select(this);s.onBarChartBarMouseOver(h,r),s.handleBarMouseOver(C,x,i)}).on("mouseout",function(){const C=M.select(this);s.onBarChartBarMouseOut(C,i),s.handleBarMouseOut()}).on("click",function(){e.selectAll(`.${Y.eventBarContainerSelected}`).classed(Y.eventBarContainerSelected,!1),M.select(this).classed(Y.eventBarContainerSelected,!0)})},onBarChartBarMouseOver(t,e){t.classed(Y.eventBarContainerHovered,!0),t.selectAll(`.${Y.eventBarHoverZone}`).attr("fill-opacity",.2);const n=t.selectAll(`.${Y.eventBar}`);n.attr("fill",e),n.attr("fill-opacity",.5)},onBarChartBarMouseOut(t,e){t.classed(Y.eventBarContainerHovered,!1),t.selectAll(`.${Y.eventBarHoverZone}`).attr("fill-opacity",0);const n=t.selectAll(`.${Y.eventBar}`);n.attr("fill",`url(#${nt.transparencyGradient}-${e})`),n.attr("fill-opacity",1)},drawTextLabel({gElement:t,yPosition:e,color:r,label:n,type:i,height:o}){if(!this.showLabels)return;const s={x:-5,y:e,w:this.labelRectWidth,h:o||this.barChartHeight,radius:3},u=t.append("g").attr("class",`${Y._legacyLabelGroup} ${Y._legacyLabelGroup}-${i}`).style("cursor","pointer").on("click",()=>this.toggleGroupVisibility(i));u.append("rect").attr("class",Y._legacyLabelBg).attr("data-color",r).attr("x",s.x).attr("y",s.y).attr("width",s.w).attr("height",s.h).attr("rx",s.radius).attr("ry",s.radius).style("fill",this.dark?"#131a29":"white"),u.append("rect").attr("class",Y._legacyLabelBgFill).attr("data-color",r).attr("x",s.x).attr("y",s.y).attr("width",s.w).attr("height",s.h).attr("rx",s.radius).attr("ry",s.radius).style("fill",this.getLabelBackgroundColor(r)).style("stroke",this.getTextFillColor(r)).style("stroke-width",.25),u.append("text").attr("class",Y._legacyLabelText).attr("data-color",r).attr("x",5).attr("y",e+(o||this.barChartHeight)/2).attr("dy","0.35em").style("text-anchor","start").style("font-size","12px").style("font-weight",500).style("stroke-linejoin","round").style("paint-order","stroke").style("fill",this.getTextFillColor(r)).text(n)},getTextFillColor(t,e=0){var r,n;return(this.dark?(r=M.color(t))==null?void 0:r.brighter(1.5+e):(n=M.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=M.color(t);return e.opacity=this.dark?.2:.5,e.toString()},getCurrentGroupVisibility(t){var n;const e=this.groupsVisibility[t];if(e!==void 0)return e;const r=(n=this.eventsGroups[t])==null?void 0:n.isHidden;return r!==void 0?!r:!0},toggleGroupVisibility(t){this.groupsVisibility={...this.groupsVisibility,[t]:!this.getCurrentGroupVisibility(t)}},getExternalLabelStyles(t){const e=this.eventsGroups[t].color;return{background:this.getLabelBackgroundColor(e),color:this.getTextFillColor(e)}},getExternalLabelText(t){var e;return(e=this.eventsGroups[t])==null?void 0:e.label},getExternalLabelWrapperStyles(t){const e=this.eventsGroups[t].color;return{borderColor:this.getTextFillColor(e)}},tzStringToDate(t){return it({timestamp:t,timezone:this.timezone})},dateToTzString(t){return vt({date:t,timezone:this.timezone})},getFormattedTimestamp(t){return Se.parseZone(t).format("YYYY-MM-DDTHH:mm:ss")},fillTimeGaps(t){if(t.length<=1)return t;const e=this.insertZerosAtInterval,r=o=>o.clone().add(1,e),n=o=>o.clone().subtract(1,e);let i=[];for(let o=0;o<t.length;o++){const s=t[o];if(i.push(s),o===t.length-1)break;const u=t[o+1],a=Se(s.timestamp),l=Se(u.timestamp);if(l.diff(a,e)>1){const d=r(a).toISOString(),p=n(l).toISOString();i.push({timestamp:d,count:0}),d!==p&&i.push({timestamp:p,count:0})}}if(this.flattenLineGraphEnds){const o=Se(t[0].timestamp),s=Se(t[t.length-1].timestamp),u=n(o).toISOString(),a=r(s).toISOString();i=[{timestamp:u,count:0},...i,{timestamp:a,count:0}]}return i},fillEvents(t){return this.placeholderLineChartGroup.map(e=>t.find(n=>n.timestamp===e.timestamp)||e)},onMilestoneClick(t,e){this.panOnDateClick&&(this.focusedTimestamp=t.timestamp),this.selectedMilestoneId=t.id||t.timestamp,this.$emit("milestone-click",{milestone:t,milestoneType:e})},getSortedEvents(t){return[...t].sort((e,r)=>new Date(e.timestamp||e.startDate)>new Date(r.timestamp||r.startDate)?1:-1)},onHoverMilestone(t){this.hoveredMilestone=t}}}),qc="";var v5=function(){var e=this,r=e._self._c;return r("div",{ref:"mainContainer",staticClass:"e-timeline"},[r("EZoomBehavior",{attrs:{domain:e.domain,"focused-domain":e.focusedDomain,"translation-duration":e.transitionDuration,"focused-timestamp":e.focusedTimestamp,timezone:e.timezone},on:{"transform-changed":e.handleTransformChange,"time-scale-change":e.handleTimeScaleChange},scopedSlots:e._u([{key:"default",fn:function(){return[e.timeScale?r("div",{ref:"wrapperDiv",staticClass:"e-relative e-timeline e-border e-rounded",class:e.computedClasses.wrapper},[r("ECursorBehavior",{attrs:{"time-scale":e.timeScale,timezone:e.timezone,"min-hover-zone":e.minHoverZone,"is-hovering-milestone":e.isHoveringMilestone},on:{"mouse-move":e.handleMouseMove,"mouse-leave":e.handleMouseLeave,"timestamp-clicked":e.handleClick},scopedSlots:e._u([{key:"default",fn:function({hoveredTimestamp:n,isHoveringTimeline:i}){return[r("ETimelineMarkers",{attrs:{markers:e.sortedMarkers,"sticky-markers":e.stickyMarkers,"time-scale":e.timeScale,"time-zone":e.timezone,height:e.timelineHeight,"svg-left":e.svgLeft},on:{"marker-clicked":e.handleMarkerClick,"marker-drag-end":function(o){return e.$emit("marker-drag-end",o)},"marker-drag-start":function(o){return e.$emit("marker-drag-start",o)},"marker-drag-drag":function(o){return e.$emit("marker-drag-drag",o)}},scopedSlots:e._u([e._l(e.markersScopedSlots,function(o,s){return{key:s,fn:function(u){return[e._t(s,null,null,u)]}}})],null,!0)}),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"timelineContainer",staticClass:"e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden"},[r("svg",{ref:"timelineSvg",class:e.computedClasses.background,attrs:{width:e.timelineWidth,height:e.timelineHeight}},[r("ETimelineSVGDefs",{attrs:{"events-groups":e.eventsGroups,width:e.timelineWidth,height:e.chartHeight,"forbidden-interval-color":e.forbiddenIntervalColor}}),r("g",{staticClass:"e-timeline-axes"},[e.timeScale?r("EXAxisOverview",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisDetailed",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-e.axisHeight,y:e.axisHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisBackground",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-1.75*e.axisHeight,y:e.axisHeight*1.75,dark:e.dark}}):e._e()],1),e.selectedTimestamp?r("ETimelineSelectedTimestampCursor",{attrs:{"time-scale":e.timeScale,"selected-timestamp":e.selectedTimestamp,timezone:e.timezone,height:e.timelineHeight}}):e._e(),n&&i&&!e.isHoveringMilestone&&e.showCursor?r("ETimelineCursor",{attrs:{"time-scale":e.timeScale,"selected-timestamp":n,timezone:e.timezone,height:e.timelineHeight}}):e._e(),e._l(e.barGroups,function(o,s){return r("ETimelineRectsChart",{key:s,attrs:{"time-scale":e.timeScale,"events-group":o,"group-id":s,y:e.getBarGroupYPosition(s,o.bottom),height:e.barChartHeight,width:e.timelineWidth,"rect-y-padding":e.barYPadding,dark:e.dark,"show-label":e.showLabels,timezone:e.timezone,dots:o.chartType===e.TimelineChartType.Dots,"dots-size":o.dotsSize,"bar-border-radius":o.barBorderRadius},on:{"event-mouseover":e.handleBarMouseOver,"event-mouseout":e.handleBarMouseOut,"group-label-clicked":e.toggleGroupVisibility}})}),e._l(e.milestonesGroupsPlaceholder,function(o,s){return r("ETimelineRectsChart",{key:s,attrs:{width:e.timelineWidth,y:e.getMilestoneGroupYPosition(s),height:o.height,"group-id":s,"events-group":o,"time-scale":e.timeScale,dark:e.dark,dots:!0,"show-label":!1}})}),e._l(e.forbiddenIntervals,function(o,s){return r("ETimelineForbiddenInterval",{key:s,attrs:{"time-scale":e.timeScale,interval:o,index:s,height:e.timelineHeight,timezone:e.timezone}})})],2)]),e._l(e.milestonesGroups,function(o,s){return r("div",{key:`${s}`,staticClass:"e-timeline-milestones",attrs:{"data-test-id":"timeline-milestones"}},[r("div",{class:`e-tl-milestones e-tl-milestones-${s}`},e._l(e.getSortedEvents(o.events),function(u,a){return r("ETimelineMilestone",{key:`${u.milestoneType}-${a}`,class:e.getMilestoneClass(u),attrs:{"time-scale":e.timeScale,y:e.getMilestoneGroupYPosition(s),height:o.height||e.barChartHeight,"data-timestamp":u.timestamp,milestone:u,dot:o.dots,size:u.size||e.milestoneBulletSize,"transition-duration":o.milestonesTransitionDuration,"line-height":o.milestonesLineHeight,"dot-size":o.milestonesDotSize,"data-test-id":`milestone-${u.milestoneType}-${a}`,"background-color":e.getMilestoneColors(u.color,o.color).background,"border-color":e.getMilestoneColors(u.color,o.color).border,timezone:e.timezone},on:{"hovered-milestone":e.onHoverMilestone,"milestone-click":function(l){return e.onMilestoneClick(u,s)}},scopedSlots:e._u([{key:"content",fn:function(){return[e._t(`milestoneContent.${u.milestoneType}`,function(){return[r("span",{staticClass:"e-px-2"},[e._v(" "+e._s(u.text)+" ")])]},{milestone:u,index:a,hover:u===e.hoveredMilestone})]},proxy:!0},{key:"label",fn:function(){return[e._t(`milestoneLabel.${u.milestoneType}`,null,{milestone:u})]},proxy:!0}],null,!0)})}),1)])}),r("div",{staticClass:"external-labels-container e-flex"},e._l(e.hiddenGroupsLabels,function(o){return r("div",{key:o,staticClass:"external-label",class:e.computedClasses.background,style:e.getExternalLabelWrapperStyles(o),on:{click:function(s){return s.stopPropagation(),e.toggleGroupVisibility(o)}}},[r("div",{staticClass:"external-label__content",style:e.getExternalLabelStyles(o)},[e._v(" "+e._s(e.getExternalLabelText(o))+" ")])])}),0),r("div",{key:"tooltip",ref:"tooltip",staticClass:"e-absolute",style:e.eventTooltipStyle},[e._t("tooltip",function(){return[r("div",{directives:[{name:"show",rawName:"v-show",value:i&&!e.isHoveringEvent&&!e.isHoveringMilestone,expression:`
4
4
  isHoveringTimeline &&
5
5
  !isHoveringEvent &&
6
6
  !isHoveringMilestone