@evercam/ui 0.0.59 → 0.0.61

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,4 +1,4 @@
1
- (function($,L){typeof exports=="object"&&typeof module!="undefined"?L(exports,require("vue"),require("hls.js"),require("moment-timezone"),require("d3")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","moment-timezone","d3"],L):($=typeof globalThis!="undefined"?globalThis:$||self,L($.EvercamUI={},$.Vue,$.Hls,$.moment,$.d3))})(this,function($,L,e1,j,Fe){var ke,Ee,ze,De,Be,Pe,Oe,He;"use strict";function Ae(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)}const c=Ae(Fe);var x=(t=>(t.dot="dot",t.xs="xs",t.sm="sm",t.md="base",t.base="base",t.lg="lg",t.xl="xl",t["2xl"]="2xl",t["3xl"]="3xl",t["4xl"]="4xl",t["5xl"]="5xl",t["6xl"]="6xl",t["7xl"]="7xl",t["8xl"]="8xl",t["9xl"]="9xl",t))(x||{}),W=(t=>(t.warning="warning",t.error="error",t.info="info",t.success="success",t.primary="primary",t.brand="brand",t.default="default",t))(W||{}),t1=(t=>(t.overview="overview",t.detailed="detailed",t.detailedBackground="detailedBackground",t))(t1||{}),Y=(t=>(t.bars="bars",t.dots="dots",t.lineGraph="lineGraph",t.barChart="barGraph",t.milestones="milestones",t))(Y||{}),r1=(t=>(t.zoom="zoom",t.autoPan="autoPan",t.initial="initial",t))(r1||{});const Ie=L.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:W.default},size:{type:String,default:x.base}},data(){return{colors:{[W.error]:"e-bg-rose-500 e-text-white",[W.info]:"e-bg-cyan-500 e-text-white",[W.warning]:"e-bg-amber-500 e-text-white",[W.primary]:"e-bg-sky-500 e-text-white",[W.default]:"e-bg-slate-300 e-text-white",[W.success]:"e-bg-lime-500 e-text-white"},sizes:{[x.dot]:"e-w-2 e-h-2",[x.xs]:"e-w-3 e-h-3",[x.sm]:"e-w-4 e-h-4",[x.md]:"e-w-5 e-h-5",[x.lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[x.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[W.default],e=this.sizes[this.size]||this.sizes[x.md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[x.lg,x.xl].includes(this.size)}}});function k(t,e,r,n,i,a,s,u){var l=typeof t=="function"?t.options:t;e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a);var o;if(s?(o=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(h=__VUE_SSR_CONTEXT__),i&&i.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(s)},l._ssrRegister=o):i&&(o=u?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),o)if(l.functional){l._injectStyles=o;var d=l.render;l.render=function(f,C){return o.call(C),d(f,C)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,o):[o]}return{exports:t,options:l}}var Re=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()])},Ge=[],Ze=k(Ie,Re,Ge,!1,null,null,null,null);const m1=Ze.exports,je=L.extend({name:"EAvatar",components:{Badge:m1},props:{size:{type:String,default:x.md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:W.error},badgeText:{type:String,default:""},badgeSize:{type:String,default:x.md},image:{type:String,default:""}},data(){return{sizes:{[x.xs]:"e-w-8 e-h-8 e-text-xs",[x.sm]:"e-w-10 e-h-10 e-text-sm",[x.md]:"e-w-14 e-h-14 e-text-base",[x.lg]:"e-w-20 e-h-20 e-text-2xl",[x.xl]:"e-w-28 e-h-28 e-text-3xl",[x["2xl"]]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){return["e-flex e-items-center e-justify-center e-rounded-full e-bg-purple-500 e-text-white e-font-medium",this.sizes[this.size]||this.sizes[x.xs]]}}});var We=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 e-rounded-full",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)},Ne=[],Ue=k(je,We,Ne,!1,null,null,null,null);const O1=Ue.exports;function Ye(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var H1={},F1={},p1={};(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)`}})(p1);var A1={};(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","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","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","content"]})(A1);var I1={};(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(a=>r!==!1&&r[a]!==!1).concat(Object.keys(r).filter(a=>r[a]!==!1)))]}})(I1);var C1={},a1={},g1={exports:{}},I=String,R1=function(){return{isColorSupported:!1,reset:I,bold:I,dim:I,italic:I,underline:I,inverse:I,hidden:I,strikethrough:I,black:I,red:I,green:I,yellow:I,blue:I,magenta:I,cyan:I,white:I,gray:I,bgBlack:I,bgRed:I,bgGreen:I,bgYellow:I,bgBlue:I,bgMagenta:I,bgCyan:I,bgWhite:I}};g1.exports=R1(),g1.exports.createColors=R1;var G1=g1.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(l,o){for(var d in o)Object.defineProperty(l,d,{enumerable:!0,get:o[d]})}e(t,{dim:function(){return s},default:function(){return u}});const r=n(G1);function n(l){return l&&l.__esModule?l:{default:l}}let i=new Set;function a(l,o,d){typeof process!="undefined"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),o.forEach(m=>console.warn(l,"-",m)))}function s(l){return r.default.dim(l)}const u={info(l,o){a(r.default.bold(r.default.cyan("info")),...Array.isArray(l)?[l]:[o,l])},warn(l,o){a(r.default.bold(r.default.yellow("warn")),...Array.isArray(l)?[l]:[o,l])},risk(l,o){a(r.default.bold(r.default.magenta("risk")),...Array.isArray(l)?[l]:[o,l])}}})(a1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(a1);function r(a){return a&&a.__esModule?a:{default:a}}function n({version:a,from:s,to:u}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${a}, \`${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}}}(C1);var Z1={};(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 a;!(r==null||(a=r.hasOwnProperty)===null||a===void 0)&&a.call(r,u)||(r[u]=s[u])}}return r}})(Z1);var j1={};(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)}})(j1);var W1={},o1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(m,h){for(var f in h)Object.defineProperty(m,f,{enumerable:!0,get:h[f]})}e(t,{flagEnabled:function(){return u},issueFlagNotices:function(){return o},default:function(){return d}});const r=i(G1),n=i(a1);function i(m){return m&&m.__esModule?m:{default:m}}let a={optimizeUniversalDefaults:!1,generalizedModifiers:!0,get disableColorOpacityUtilitiesByDefault(){return!1},get relativeContentPathsByDefault(){return!1}},s={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function u(m,h){if(s.future.includes(h)){var f,C,E;return m.future==="all"||((E=(C=m==null||(f=m.future)===null||f===void 0?void 0:f[h])!==null&&C!==void 0?C:a[h])!==null&&E!==void 0?E:!1)}if(s.experimental.includes(h)){var P,A,R;return m.experimental==="all"||((R=(A=m==null||(P=m.experimental)===null||P===void 0?void 0:P[h])!==null&&A!==void 0?A:a[h])!==null&&R!==void 0?R:!1)}return!1}function l(m){if(m.experimental==="all")return s.experimental;var h;return Object.keys((h=m==null?void 0:m.experimental)!==null&&h!==void 0?h:{}).filter(f=>s.experimental.includes(f)&&m.experimental[f])}function o(m){if(process.env.JEST_WORKER_ID===void 0&&l(m).length>0){let h=l(m).map(f=>r.default.yellow(f)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${h}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=s})(o1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return a}});const e=o1,r=i(a1);function n(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,l=new WeakMap;return(n=function(o){return o?l: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 l=n(u);if(l&&l.has(s))return l.get(s);var o={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in s)if(m!=="default"&&Object.prototype.hasOwnProperty.call(s,m)){var h=d?Object.getOwnPropertyDescriptor(s,m):null;h&&(h.get||h.set)?Object.defineProperty(o,m,h):o[m]=s[m]}return o.default=s,l&&l.set(s,o),o}function a(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(o=>typeof o=="string"?!0:!(typeof(o==null?void 0:o.raw)!="string"||o!=null&&o.extension&&typeof(o==null?void 0:o.extension)!="string"));if(typeof s.content=="object"&&s.content!==null){if(Object.keys(s.content).some(o=>!["files","relative","extract","transform"].includes(o)))return!1;if(Array.isArray(s.content.files)){if(!s.content.files.every(o=>typeof o=="string"?!0:!(typeof(o==null?void 0:o.raw)!="string"||o!=null&&o.extension&&typeof(o==null?void 0:o.extension)!="string")))return!1;if(typeof s.content.extract=="object"){for(let o of Object.values(s.content.extract))if(typeof o!="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 o of Object.values(s.content.transform))if(typeof o!="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 o;let{content:d,purge:m,safelist:h}=s;return Array.isArray(h)?h:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(m==null?void 0:m.safelist)?m.safelist:Array.isArray(m==null||(o=m.options)===null||o===void 0?void 0:o.safelist)?m.options.safelist:[]})(),s.blocklist=(()=>{let{blocklist:o}=s;if(Array.isArray(o)){if(o.every(d=>typeof d=="string"))return o;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 l;s.prefix=(l=s.prefix)!==null&&l!==void 0?l:""}s.content={relative:(()=>{let{content:o}=s;return o!=null&&o.relative?o.relative:(0,e.flagEnabled)(s,"relativeContentPathsByDefault")})(),files:(()=>{let{content:o,purge:d}=s;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(o)?o:Array.isArray(o==null?void 0:o.content)?o.content:Array.isArray(o==null?void 0:o.files)?o.files:[]})(),extract:(()=>{let o=(()=>{var h,f,C,E,P,A,R,H,G,Z;return!((h=s.purge)===null||h===void 0)&&h.extract?s.purge.extract:!((f=s.content)===null||f===void 0)&&f.extract?s.content.extract:!((C=s.purge)===null||C===void 0||(E=C.extract)===null||E===void 0)&&E.DEFAULT?s.purge.extract.DEFAULT:!((P=s.content)===null||P===void 0||(A=P.extract)===null||A===void 0)&&A.DEFAULT?s.content.extract.DEFAULT:!((R=s.purge)===null||R===void 0||(H=R.options)===null||H===void 0)&&H.extractors?s.purge.options.extractors:!((G=s.content)===null||G===void 0||(Z=G.options)===null||Z===void 0)&&Z.extractors?s.content.options.extractors:{}})(),d={},m=(()=>{var h,f,C,E;if(!((h=s.purge)===null||h===void 0||(f=h.options)===null||f===void 0)&&f.defaultExtractor)return s.purge.options.defaultExtractor;if(!((C=s.content)===null||C===void 0||(E=C.options)===null||E===void 0)&&E.defaultExtractor)return s.content.options.defaultExtractor})();if(m!==void 0&&(d.DEFAULT=m),typeof o=="function")d.DEFAULT=o;else if(Array.isArray(o))for(let{extensions:h,extractor:f}of o!=null?o:[])for(let C of h)d[C]=f;else typeof o=="object"&&o!==null&&Object.assign(d,o);return d})(),transform:(()=>{let o=(()=>{var m,h,f,C,E,P;return!((m=s.purge)===null||m===void 0)&&m.transform?s.purge.transform:!((h=s.content)===null||h===void 0)&&h.transform?s.content.transform:!((f=s.purge)===null||f===void 0||(C=f.transform)===null||C===void 0)&&C.DEFAULT?s.purge.transform.DEFAULT:!((E=s.content)===null||E===void 0||(P=E.transform)===null||P===void 0)&&P.DEFAULT?s.content.transform.DEFAULT:{}})(),d={};return typeof o=="function"&&(d.DEFAULT=o),typeof o=="object"&&o!==null&&Object.assign(d,o),d})()};for(let o of s.content.files)if(typeof o=="string"&&/{([^,]*?)}/g.test(o)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(o)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(o.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return s}}(W1);var N1={};(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||n===Object.prototype}})(N1);var U1={};(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}})(U1);var Y1={},X1={};(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 ")}})(X1);var v1={},_1={},q1={};(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]}})(q1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(C,E){for(var P in E)Object.defineProperty(C,P,{enumerable:!0,get:E[P]})}e(t,{parseColor:function(){return h},formatColor:function(){return f}});const r=n(q1);function n(C){return C&&C.__esModule?C:{default:C}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,a=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,s=/(?:\d+|\d*\.\d+)%?/,u=/(?:\s*,\s*|\s+)/,l=/\s*[,/]\s*/,o=/var\(--(?:[^ )]*?)\)/,d=new RegExp(`^(rgba?)\\(\\s*(${s.source}|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`),m=new RegExp(`^(hsla?)\\(\\s*((?:${s.source})(?:deg|rad|grad|turn)?|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`);function h(C,{loose:E=!1}={}){var P,A;if(typeof C!="string")return null;if(C=C.trim(),C==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(C in r.default)return{mode:"rgb",color:r.default[C].map(U=>U.toString())};let R=C.replace(a,(U,K,q,y,D)=>["#",K,K,q,q,y,y,D?D+D:""].join("")).match(i);if(R!==null)return{mode:"rgb",color:[parseInt(R[1],16),parseInt(R[2],16),parseInt(R[3],16)].map(U=>U.toString()),alpha:R[4]?(parseInt(R[4],16)/255).toString():void 0};var H;let G=(H=C.match(d))!==null&&H!==void 0?H:C.match(m);if(G===null)return null;let Z=[G[2],G[3],G[4]].filter(Boolean).map(U=>U.toString());return Z.length===2&&Z[0].startsWith("var(")?{mode:G[1],color:[Z[0]],alpha:Z[1]}:!E&&Z.length!==3||Z.length<3&&!Z.some(U=>/^var\(.*?\)$/.test(U))?null:{mode:G[1],color:Z,alpha:(P=G[5])===null||P===void 0||(A=P.toString)===null||A===void 0?void 0:A.call(P)}}function f({mode:C,color:E,alpha:P}){let A=P!==void 0;return C==="rgba"||C==="hsla"?`${C}(${E.join(", ")}${A?`, ${P}`:""})`:`${C}(${E.join(" ")}${A?` / ${P}`:""})`}}(_1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,s){for(var u in s)Object.defineProperty(a,u,{enumerable:!0,get:s[u]})}e(t,{withAlphaValue:function(){return n},default:function(){return i}});const r=_1;function n(a,s,u){if(typeof a=="function")return a({opacityValue:s});let l=(0,r.parseColor)(a,{loose:!0});return l===null?u:(0,r.formatColor)({...l,alpha:s})}function i({color:a,property:s,variable:u}){let l=[].concat(s);if(typeof a=="function")return{[u]:"1",...Object.fromEntries(l.map(d=>[d,a({opacityVariable:u,opacityValue:`var(${u})`})]))};const o=(0,r.parseColor)(a);return o===null?Object.fromEntries(l.map(d=>[d,a])):o.alpha!==void 0?Object.fromEntries(l.map(d=>[d,a])):{[u]:"1",...Object.fromEntries(l.map(d=>[d,(0,r.formatColor)({...o,alpha:`var(${u})`})]))}}}(v1);var y1={},V1={},l1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let i=[],a=[],s=0,u=!1;for(let l=0;l<r.length;l++){let o=r[l];i.length===0&&o===n[0]&&!u&&(n.length===1||r.slice(l,l+n.length)===n)&&(a.push(r.slice(s,l)),s=l+n.length),u?u=!1:o==="\\"&&(u=!0),o==="("||o==="["||o==="{"?i.push(o):(o===")"&&i[i.length-1]==="("||o==="]"&&i[i.length-1]==="["||o==="}"&&i[i.length-1]==="{")&&i.pop()}return a.push(r.slice(s)),a}})(l1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(l,o){for(var d in o)Object.defineProperty(l,d,{enumerable:!0,get:o[d]})}e(t,{parseBoxShadowValue:function(){return s},formatBoxShadowValue:function(){return u}});const r=l1;let n=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,a=/^-?(\d+|\.\d+)(.*?)$/g;function s(l){return(0,r.splitAtTopLevelOnly)(l,",").map(d=>{let m=d.trim(),h={raw:m},f=m.split(i),C=new Set;for(let E of f)a.lastIndex=0,!C.has("KEYWORD")&&n.has(E)?(h.keyword=E,C.add("KEYWORD")):a.test(E)?C.has("X")?C.has("Y")?C.has("BLUR")?C.has("SPREAD")||(h.spread=E,C.add("SPREAD")):(h.blur=E,C.add("BLUR")):(h.y=E,C.add("Y")):(h.x=E,C.add("X")):h.color?(h.unknown||(h.unknown=[]),h.unknown.push(E)):h.color=E;return h.valid=h.x!==void 0&&h.y!==void 0,h})}function u(l){return l.map(o=>o.valid?[o.keyword,o.x,o.y,o.blur,o.spread,o.color].filter(Boolean).join(" "):o.raw).join(", ")}}(V1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(g,w){for(var O in w)Object.defineProperty(g,O,{enumerable:!0,get:w[O]})}e(t,{normalize:function(){return o},url:function(){return m},number:function(){return h},percentage:function(){return f},length:function(){return P},lineWidth:function(){return R},shadow:function(){return H},color:function(){return G},image:function(){return Z},gradient:function(){return K},position:function(){return y},familyName:function(){return D},genericName:function(){return v},absoluteSize:function(){return S},relativeSize:function(){return z}});const r=_1,n=V1,i=l1;let a=["min","max","clamp","calc"];function s(g){return a.some(w=>new RegExp(`^${w}\\(.*\\)`).test(g))}const u="--tw-placeholder",l=new RegExp(u,"g");function o(g,w=!0){return g.startsWith("--")?`var(${g})`:g.includes("url(")?g.split(/(url\(.*?\))/g).filter(Boolean).map(O=>/^url\(.*?\)$/.test(O)?O:o(O,!1)).join(""):(g=g.replace(/([^\\])_+/g,(O,B)=>B+" ".repeat(O.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),w&&(g=g.trim()),g=d(g),g)}function d(g){return g.replace(/(calc|min|max|clamp)\(.+\)/g,w=>{let O=[];return w.replace(/var\((--.+?)[,)]/g,(B,f1)=>(O.push(f1),B.replace(f1,u))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(l,()=>O.shift())})}function m(g){return g.startsWith("url(")}function h(g){return!isNaN(Number(g))||s(g)}function f(g){return g.endsWith("%")&&h(g.slice(0,-1))||s(g)}let E=`(?:${["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 P(g){return g==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${E}$`).test(g)||s(g)}let A=new Set(["thin","medium","thick"]);function R(g){return A.has(g)}function H(g){let w=(0,n.parseBoxShadowValue)(o(g));for(let O of w)if(!O.valid)return!1;return!0}function G(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,"_").every(B=>(B=o(B),B.startsWith("var(")?!0:(0,r.parseColor)(B,{loose:!0})!==null?(w++,!0):!1))?w>0:!1}function Z(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,",").every(B=>(B=o(B),B.startsWith("var(")?!0:m(B)||K(B)||["element(","image(","cross-fade(","image-set("].some(f1=>B.startsWith(f1))?(w++,!0):!1))?w>0:!1}let U=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(g){g=o(g);for(let w of U)if(g.startsWith(`${w}(`))return!0;return!1}let q=new Set(["center","top","right","bottom","left"]);function y(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,"_").every(B=>(B=o(B),B.startsWith("var(")?!0:q.has(B)||P(B)||f(B)?(w++,!0):!1))?w>0:!1}function D(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,",").every(B=>(B=o(B),B.startsWith("var(")?!0:B.includes(" ")&&!/(['"])([^"']+)\1/g.test(B)||/^\d/g.test(B)?!1:(w++,!0)))?w>0:!1}let T=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function v(g){return T.has(g)}let M=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function S(g){return M.has(g)}let _=new Set(["larger","smaller"]);function z(g){return _.has(g)}}(y1);var K1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=y1,r=l1;function n(i){let a=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(s=>{let u=(0,r.splitAtTopLevelOnly)(s,"_").filter(Boolean);return u.length===1&&a.includes(u[0])?!0:u.length!==1&&u.length!==2?!1:u.every(l=>(0,e.length)(l)||(0,e.percentage)(l)||l==="auto")})}})(K1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(y,D){for(var T in D)Object.defineProperty(y,T,{enumerable:!0,get:D[T]})}e(t,{updateAllClasses:function(){return o},asValue:function(){return h},parseColorFormat:function(){return E},asColor:function(){return A},asLookupValue:function(){return R},typeMap:function(){return G},coerceValue:function(){return K},getMatchingTypes:function(){return q}});const r=l(X1),n=v1,i=y1,a=l(p1),s=K1,u=o1;function l(y){return y&&y.__esModule?y:{default:y}}function o(y,D){y.walkClasses(T=>{T.value=D(T.value),T.raws&&T.raws.value&&(T.raws.value=(0,r.default)(T.raws.value))})}function d(y,D){if(!f(y))return;let T=y.slice(1,-1);if(D(T))return(0,i.normalize)(T)}function m(y,D={},T){let v=D[y];if(v!==void 0)return(0,a.default)(v);if(f(y)){let M=d(y,T);return M===void 0?void 0:(0,a.default)(M)}}function h(y,D={},{validate:T=()=>!0}={}){var v;let M=(v=D.values)===null||v===void 0?void 0:v[y];return M!==void 0?M:D.supportsNegativeValues&&y.startsWith("-")?m(y.slice(1),D.values,T):d(y,T)}function f(y){return y.startsWith("[")&&y.endsWith("]")}function C(y){let D=y.lastIndexOf("/");return D===-1||D===y.length-1?[y,void 0]:f(y)&&!y.includes("]/[")?[y,void 0]:[y.slice(0,D),y.slice(D+1)]}function E(y){if(typeof y=="string"&&y.includes("<alpha-value>")){let D=y;return({opacityValue:T=1})=>D.replace("<alpha-value>",T)}return y}function P(y){return(0,i.normalize)(y.slice(1,-1))}function A(y,D={},{tailwindConfig:T={}}={}){var v;if(((v=D.values)===null||v===void 0?void 0:v[y])!==void 0){var M;return E((M=D.values)===null||M===void 0?void 0:M[y])}let[S,_]=C(y);if(_!==void 0){var z,g,w,O;let B=(O=(z=D.values)===null||z===void 0?void 0:z[S])!==null&&O!==void 0?O:f(S)?S.slice(1,-1):void 0;return B===void 0?void 0:(B=E(B),f(_)?(0,n.withAlphaValue)(B,P(_)):((g=T.theme)===null||g===void 0||(w=g.opacity)===null||w===void 0?void 0:w[_])===void 0?void 0:(0,n.withAlphaValue)(B,T.theme.opacity[_]))}return h(y,D,{validate:i.color})}function R(y,D={}){var T;return(T=D.values)===null||T===void 0?void 0:T[y]}function H(y){return(D,T)=>h(D,T,{validate:y})}let G={any:h,color:A,url:H(i.url),image:H(i.image),length:H(i.length),percentage:H(i.percentage),position:H(i.position),lookup:R,"generic-name":H(i.genericName),"family-name":H(i.familyName),number:H(i.number),"line-width":H(i.lineWidth),"absolute-size":H(i.absoluteSize),"relative-size":H(i.relativeSize),shadow:H(i.shadow),size:H(s.backgroundSize)},Z=Object.keys(G);function U(y,D){let T=y.indexOf(D);return T===-1?[void 0,y]:[y.slice(0,T),y.slice(T+1)]}function K(y,D,T,v){if(T.values&&D in T.values)for(let{type:S}of y!=null?y:[]){let _=G[S](D,T,{tailwindConfig:v});if(_!==void 0)return[_,S,null]}if(f(D)){let S=D.slice(1,-1),[_,z]=U(S,":");if(!/^[\w-_]+$/g.test(_))z=S;else if(_!==void 0&&!Z.includes(_))return[];if(z.length>0&&Z.includes(_))return[h(`[${z}]`,T),_,null]}let M=q(y,D,T,v);for(let S of M)return S;return[]}function*q(y,D,T,v){let M=(0,u.flagEnabled)(v,"generalizedModifiers"),[S,_]=C(D);if(M&&T.modifiers!=null&&(T.modifiers==="any"||typeof T.modifiers=="object"&&(_&&f(_)||_ in T.modifiers))||(S=D,_=void 0),_!==void 0&&S===""&&(S="DEFAULT"),_!==void 0&&typeof T.modifiers=="object"){var g,w;let O=(w=(g=T.modifiers)===null||g===void 0?void 0:g[_])!==null&&w!==void 0?w:null;O!==null?_=O:f(_)&&(_=P(_))}for(let{type:O}of y!=null?y:[]){let B=G[O](S,T,{tailwindConfig:v});B!==void 0&&(yield[B,O,_!=null?_:null])}}}(Y1);var Q1={};(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}})(Q1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const e=f(p1),r=f(A1),n=f(I1),i=f(C1),a=Z1,s=j1,u=W1,l=f(N1),o=U1,d=Y1,m=v1,h=f(Q1);function f(v){return v&&v.__esModule?v:{default:v}}function C(v){return typeof v=="function"}function E(v,...M){let S=M.pop();for(let _ of M)for(let z in _){let g=S(v[z],_[z]);g===void 0?(0,l.default)(v[z])&&(0,l.default)(_[z])?v[z]=E({},v[z],_[z],S):v[z]=_[z]:v[z]=g}return v}const P={colors:i.default,negative(v){return Object.keys(v).filter(M=>v[M]!=="0").reduce((M,S)=>{let _=(0,e.default)(v[S]);return _!==void 0&&(M[`-${S}`]=_),M},{})},breakpoints(v){return Object.keys(v).filter(M=>typeof v[M]=="string").reduce((M,S)=>({...M,[`screen-${S}`]:v[S]}),{})}};function A(v,...M){return C(v)?v(...M):v}function R(v){return v.reduce((M,{extend:S})=>E(M,S,(_,z)=>_===void 0?[z]:Array.isArray(_)?[z,..._]:[z,_]),{})}function H(v){return{...v.reduce((M,S)=>(0,a.defaults)(M,S),{}),extend:R(v)}}function G(v,M){if(Array.isArray(v)&&(0,l.default)(v[0]))return v.concat(M);if(Array.isArray(M)&&(0,l.default)(M[0])&&(0,l.default)(v))return[v,...M];if(Array.isArray(M))return M}function Z({extend:v,...M}){return E(M,v,(S,_)=>!C(S)&&!_.some(C)?E({},S,..._,G):(z,g)=>E({},...[S,..._].map(w=>A(w,z,g)),G))}function*U(v){let M=(0,s.toPath)(v);if(M.length===0||(yield M,Array.isArray(v)))return;let S=/^(.*?)\s*\/\s*([^/]+)$/,_=v.match(S);if(_!==null){let[,z,g]=_,w=(0,s.toPath)(z);w.alpha=g,yield w}}function K(v){const M=(S,_)=>{for(const z of U(S)){let g=0,w=v;for(;w!=null&&g<z.length;)w=w[z[g++]],w=C(w)&&(z.alpha===void 0||g<=z.length-1)?w(M,P):w;if(w!==void 0){if(z.alpha!==void 0){let O=(0,d.parseColorFormat)(w);return(0,m.withAlphaValue)(O,z.alpha,(0,h.default)(O))}return(0,l.default)(w)?(0,o.cloneDeep)(w):w}}return _};return Object.assign(M,{theme:M,...P}),Object.keys(v).reduce((S,_)=>(S[_]=C(v[_])?v[_](M,P):v[_],S),{})}function q(v){let M=[];return v.forEach(S=>{M=[...M,S];var _;const z=(_=S==null?void 0:S.plugins)!==null&&_!==void 0?_:[];z.length!==0&&z.forEach(g=>{g.__isOptionsFunction&&(g=g());var w;M=[...M,...q([(w=g==null?void 0:g.config)!==null&&w!==void 0?w:{}])]})}),M}function y(v){return[...v].reduceRight((S,_)=>C(_)?_({corePlugins:S}):(0,n.default)(_,S),r.default)}function D(v){return[...v].reduceRight((S,_)=>[...S,..._],[])}function T(v){let M=[...q(v),{prefix:"",important:!1,separator:":"}];var S,_;return(0,u.normalizeConfig)((0,a.defaults)({theme:K(Z(H(M.map(z=>(S=z==null?void 0:z.theme)!==null&&S!==void 0?S:{})))),corePlugins:y(M.map(z=>z.corePlugins)),plugins:D(v.map(z=>(_=z==null?void 0:z.plugins)!==null&&_!==void 0?_:[]))},...M))}}(F1);var J1={},Xe={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:"0",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","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"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-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",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",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))"},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",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",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({none:"none",0:"0rem",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:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",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",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",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%"}),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",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(Xe),r=o1;function n(a){return a&&a.__esModule?a:{default:a}}function i(a){var s;const u=((s=a==null?void 0:a.presets)!==null&&s!==void 0?s:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),l={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(l).filter(d=>(0,r.flagEnabled)(a,d)).map(d=>l[d]);return[a,...o,...u]}})(J1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(F1),r=n(J1);function n(a){return a&&a.__esModule?a:{default:a}}function i(...a){let[,...s]=(0,r.default)(a[0]);return(0,e.default)([...a,...s])}}(H1);let b1=H1;var qe=(b1.__esModule?b1:{default:b1}).default;const Ve=Ye(qe);let x1=C1;var X=(x1.__esModule?x1:{default:x1}).default;const Ke={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},N={onprimary:X.white,warning:X.amber,error:X.rose,info:X.cyan,success:X.lime,primary:X.sky,brand:Ke,"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"}},Qe={...N,warning:N.warning[500],"warning-darken":N.warning[600],"warning-lighten":N.warning[400],success:N.success[500],"success-darken":N.success[600],"success-lighten":N.success[400],error:N.error[500],"error-darken":N.error[600],"error-lighten":N.error[400],info:N.info[500],"info-darken":N.info[600],"info-lighten":N.info[400],primary:N.primary[500],"primary-darken":N.primary[600],"primary-lighten":N.primary[400],onsurface:X.slate[500],onbackground:X.slate[700],surface:X.slate[50],background:X.white},M1=Ve({prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{colors:Qe,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:[],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)/}]}),ee=M1.theme.fontSize,te=M1.theme.colors,Je=[x.dot,x.xs,x.sm,x.md,x.lg,x.xl],e0=[x.xs,x.sm,x.md,x.lg,x.xl,x["2xl"]],re=[x.xs,x.sm,x.md,x.base,x.lg,x.xl,x["2xl"],x["3xl"],x["4xl"],x["5xl"],x["6xl"],x["7xl"],x["8xl"],x["9xl"]],t0=[x.sm,x.md,x.base,x.lg],r0=[W.warning,W.error,W.info,W.success,W.primary,W.default],n0=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],s0=L.extend({name:"EIcon",props:{icon:{type:String,default:""},color:{type:String,default:W.default},size:{type:String,default:x.sm}},computed:{sizes(){return re.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconClasses(){var n,i;const t=this.sizes[this.size]||this.sizes[x.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 i0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-icon"},[r("i",{class:e.iconClasses})])},a0=[],o0=k(s0,i0,a0,!1,null,null,null,null);const c1=o0.exports,l0=L.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:x.base},opacity:{type:[String,Number],default:1}},data(){return{sizes:ee,colors:te}},computed:{computedSize(){return this.sizes[x[this.size]]||this.size||this.sizes[x.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"]}`}}}}),l3="";var c0=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"}})])},u0=[],d0=k(l0,c0,u0,!1,null,"29711f67",null,null);const L1=d0.exports,h0=L.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}}}}),c3="";var f0=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)},m0=[],p0=k(h0,f0,m0,!1,null,null,null,null);const ne=p0.exports,C0=L.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}}}),u3="";var g0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},v0=[],_0=k(C0,g0,v0,!1,null,null,null,null);const se=_0.exports;function S1(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function ie(t){if(S1())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 ae(){if(!S1())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 oe(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)}}const y0=L.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("apply-zoomable-style",{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 a=t.clientX,s=t.clientY,u=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),l=this.scale;this.scale+=u/10,this.updateZoomScale();const o=((a-i.left)/i.width).toFixed(2),d=((s-i.top)/i.height).toFixed(2);this.left=Math.round(a-n.left-Number(o)*(i.width*this.scale/l)),this.top=Math.round(s-n.top-Number(d)*(i.height*this.scale/l));const m=0,h=0-n.width*(this.scale-1),f=0-n.height*(this.scale-1),C=0;this.left<h?this.left=h:this.left>m&&(this.left=m),this.top<f?this.top=f:this.top>C&&(this.top=C),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,a,s,u]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(l=>l<0?l:0);this.left+=u-a,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)}}}),d3="";var b0=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()])])},x0=[],M0=k(y0,b0,x0,!1,null,"270d2bfd",null,null);const w1=M0.exports,$1=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),le=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],T1=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${$1.format(e)}`:`${n}:${$1.format(r)}:${$1.format(e)}`},L0=L.extend({name:"VideoPlayer",components:{ESpinner:L1,EZoomable:w1},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 e1,playbackRetries:0,preloadedSeconds:0,preloadedInterval:{}}},computed:{posterUrl(){var t;return(t=this.videoOptions)==null?void 0:t.poster},sourceItems(){return Array.isArray(this.sources)?this.sources:[{src:this.sources}]},hasStartedOrFinished(){return(this.isFinished||this.realtime<=.1)&&!this.isLoading&&!this.isLooped()},withControls(){const t=this.videoOptions;return(t==null?void 0:t.controls)===!1?"hide":""}},watch:{isPlaying:{immediate:!0,handler(t){this.togglePlay(),this.isHls&&(t?this.$emit("hls-play"):this.$emit("hls-pause"))}},preloadedSeconds(t){this.preloadedInterval={start:j(this.targetTimestamp).format(),end:j(this.targetTimestamp).add(t,"seconds").format()},this.$emit("preloaded-interval",this.preloadedInterval)},targetTimestamp:{immediate:!0,handler(t){var a,s;if(!this.isHls)return;const e=this.$refs.player,r=(a=this.preloadedInterval)==null?void 0:a.start,n=(s=this.preloadedInterval)==null?void 0:s.end;if(!(r&&n))return;const i=j(t).isBetween(j(r),j(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,a,s,u;const e=this.$refs.player,r=this.sources[0];(n=this.player)!=null&&n.stopLoad&&this.player.stopLoad(),e1.isSupported()&&(this.isLoading=!0,this.player=new e1({startPosition:0,xhrSetup:l=>{this.streamingToken&&l.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),(i=this.player)==null||i.loadSource(t||r.src),(a=this.player)==null||a.attachMedia(e),(s=this.player)==null||s.on(e1.Events.MANIFEST_PARSED,(l,o)=>{var h;const d=(h=o.levels[o.firstLevel])==null?void 0:h.details,m=d==null?void 0:d.startTimeOffset;e.currentTime=m||0,this.playing&&e.play()}),(u=this.player)==null||u.on(e1.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 o;if(!e.fatal)return;const r=e.type===e1.ErrorTypes.NETWORK_ERROR,n=e.type===e1.ErrorTypes.MEDIA_ERROR,i=r&&((o=e.networkDetails)==null?void 0:o.status)===404,a=this.$refs.player,s=()=>this.fallbackSrc&&(a==null?void 0:a.currentSrc)!==this.fallbackSrc,u=()=>this.initHls(this.fallbackSrc),l=()=>{if(s()){u();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(i){l();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()),l()},bindEvents(){const t=this.$refs.player;le.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;le.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=T1(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&&(ae().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(ie(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=T1(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=T1(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(),a=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=a*this.videoDuration,n.currentTime=a*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}}}}),h3="";var S0=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"video-container paused"},[r("EZoomable",{attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground},on:{"apply-zoomable-style":function(n){return e.$emit("apply-zoomable-style",n)}},scopedSlots:e._u([{key:"overlay",fn:function(){return[e._t("zoomable-overlay")]},proxy:!0}],null,!0)},[e._t("background",function(){return[r("div",{staticClass:"e-relative e-overflow-hidden"},[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",attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("poster-error",n)}}})])]}),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,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"},[r("i",{staticClass:"fa-solid fa-video-slash fa-2xl e-align-middle"}),r("span",[e._v("This video file cannot be played.")])]):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",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)},w0=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],$0=k(L0,S0,w0,!1,null,"1f229658",null,null);const ce=$0.exports,u1=t=>{const e=c.utcFormat("%_d")(t),n={1:"st",2:"nd",3:"rd"}[e.charAt(1)]||"th";return`${e}${n}`},ue=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":c.utcFormat("%-d")(t),n1=t=>["0"," 0","00"].includes(c.utcFormat("%H")(t))?"":`${c.utcFormat("%H")(t)}h`,Q=t=>{const e=c.utcFormat("%H:%M")(t);return e==="00:00"?"":e},k1=t=>c.utcFormat("%M:%S")(t),de=t=>`${c.utcFormat("%Hh%Mm")(t)}`,E1=t=>{const e=Q(t),r=u1(t),n=c.utcFormat("%B")(t);return e||`${n} ${r}`},z1=t=>{const e=Q(t),r=Number.parseInt(c.utcFormat("%H")(t)),n=u1(t),i=c.utcFormat("%B")(t);return e&&r%6===0?`${i} ${n} ${e}`:E1(t)},s1=t=>e=>{const r=c.utcFormat("%H")(e);return!(c.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},D1=t=>e=>{const r=c.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},he=t=>e=>{const r=c.utcFormat("%M")(e),n=c.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},b={_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},T0={[t1.overview]:[{precision:b._30_seconds,interval:c.utcMinute.every(2),format:de},{precision:b._1_minute,interval:c.utcMinute.every(5),format:de},{precision:b._2_minutes,interval:c.utcMinute.every(10),format:E1},{precision:b._5_minutes,interval:c.utcMinute.every(20),format:z1},{precision:b._15_minutes,interval:c.utcHour,format:z1},{precision:b._30_minutes,interval:c.utcHour.every(2),format:z1},{precision:b._2_hours,interval:c.utcHour.every(6),format:t=>{const e=Q(t),r=u1(t),n=c.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:b._3_hours,interval:c.utcHour.every(12),format:E1},{precision:b._6_hours,interval:c.utcHour.every(24),format:t=>{const e=u1(t);return`${c.utcFormat("%b")(t)} ${e}`}},{precision:b._2_days,interval:c.utcMonth,format:t=>{const r=t.getUTCMonth()===0&&t.getUTCDate()===1?"%Y – %B":"%B";return c.utcFormat(r)(t)}},{precision:b._2_year,interval:c.utcYear.every(1),format:"%Y"},{precision:b._5_years,interval:c.utcYear.every(5),format:"%Y"},{precision:b._20_years,interval:c.utcYear.every(20),format:"%Y"},{precision:b._75_years,interval:c.utcYear.every(75),format:"%Y"},{precision:b._300_years,interval:c.utcYear.every(300),format:"%Y"},{precision:b.infinity,interval:c.utcMonth.every(12),format:"%Y"}],[t1.detailed]:[{precision:b._10_seconds,interval:c.utcSecond.every(10),format:k1},{precision:b._20_seconds,interval:(ke=c.utcSecond.every(20))==null?void 0:ke.filter(he(2)),format:k1},{precision:b._30_seconds,interval:(Ee=c.utcSecond.every(30))==null?void 0:Ee.filter(he(2)),format:k1},{precision:b._1_minute,interval:c.utcMinute.filter(D1(5)),format:Q},{precision:b._2_minutes,interval:(ze=c.utcMinute.every(2))==null?void 0:ze.filter(D1(10)),format:Q},{precision:b._5_minutes,interval:(De=c.utcMinute.every(5))==null?void 0:De.filter(D1(20)),format:Q},{precision:b._15_minutes,interval:(Be=c.utcMinute.every(15))==null?void 0:Be.filter(s1(1)),format:Q},{precision:b._30_minutes,interval:(Pe=c.utcMinute.every(30))==null?void 0:Pe.filter(s1(2)),format:Q},{precision:b._1_hour,interval:c.utcHour.filter(s1(6)),format:n1},{precision:b._2_hours,interval:(Oe=c.utcHour.every(2))==null?void 0:Oe.filter(s1(6)),format:n1},{precision:b._3_hours,interval:(He=c.utcHour.every(3))==null?void 0:He.filter(s1(12)),format:n1},{precision:b._4_hours,interval:c.utcHour.every(4),format:n1},{precision:b._6_hours,interval:c.utcHour.every(6),format:n1},{precision:b._1_day,interval:c.utcDay,format:ue},{precision:b._2_days,interval:c.utcDay.every(2),format:ue},{precision:b._1_month,interval:c.utcMonth,format:"%B"},{precision:b._1_month_abbr,interval:c.utcMonth,format:"%b"},{precision:b._1_month_letter,interval:c.utcMonth,format:t=>c.utcFormat("%B")(t).charAt(0)},{precision:b._3_months,interval:c.utcMonth.every(3),format:"Q%q"},{precision:b._2_year,interval:c.utcMonth.every(6),format:"Q%q"},{precision:b._5_years,interval:c.utcYear.every(2),format:"%Y"},{precision:b._20_years,interval:c.utcYear.every(4),format:"%Y"},{precision:b._75_years,interval:c.utcYear.every(25),format:"%Y"},{precision:b._300_years,interval:c.utcYear.every(100),format:"%Y"},{precision:b.infinity,interval:c.utcYear.every(500),format:""}],[t1.detailedBackground]:[{precision:b._10_seconds,interval:c.utcSecond,format:""},{precision:b._20_seconds,interval:c.utcSecond.every(5),format:""},{precision:b._30_seconds,interval:c.utcSecond.every(10),format:""},{precision:b._1_minute,interval:c.utcSecond.every(20),format:""},{precision:b._2_minutes,interval:c.utcSecond.every(30),format:""},{precision:b._5_minutes,interval:c.utcMinute,format:""},{precision:b._15_minutes,interval:c.utcMinute.every(3),format:""},{precision:b._30_minutes,interval:c.utcMinute.every(6),format:""},{precision:b._1_hour,interval:c.utcMinute.every(15),format:""},{precision:b._2_hours,interval:c.utcMinute.every(30),format:""},{precision:b._3_hours,interval:c.utcHour,format:""},{precision:b._4_hours,interval:c.utcHour,format:""},{precision:b._6_hours,interval:c.utcMinute.every(120),format:""},{precision:b._1_day,interval:c.utcHour.every(8),format:""},{precision:b._2_days,interval:c.utcHour.every(12),format:""},{precision:b._1_month,interval:c.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:b._1_month_abbr,interval:c.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:b._1_month_letter,interval:c.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:b._3_months,interval:c.utcMonth,format:""},{precision:b._3_months,interval:c.utcMonth,format:""},{precision:b._2_year,interval:c.utcYear,format:""},{precision:b._5_years,interval:c.utcYear.every(2),format:""},{precision:b._20_years,interval:c.utcYear.every(5),format:""},{precision:b._75_years,interval:c.utcYear.every(20),format:""},{precision:b._300_years,interval:c.utcYear.every(100),format:""},{precision:b.infinity,interval:c.utcYear.every(500),format:""}]},d1={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__)}},fe=[{name:"resize-observer",definition:d1}],J={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"},k0=L.extend({name:"ETimeline",directives:{resizeObserver:d1},props:{milestone:{type:Object,required:!0},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}},data(){return{milestoneClasses:J,timeouts:[],isInitialRender:!0,isMouseOver:!1}},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.size}px`,height:`${this.size}px`}},positionStyles(){return this.dot&&this.isMouseOver?{transform:`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}},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.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(),a=e.dataset.timeoutId;a&&(clearTimeout(Number(a)),e.dataset.timeoutId=""),e.dataset.initialWidth||(e.dataset.initialWidth=e.style.width),e.dataset.initialHeight||(e.dataset.initialHeight=e.style.height),e.dataset.initialContentWidth||(e.dataset.initialContentWidth=String(i.width)),e.dataset.initialContentHeight||(e.dataset.initialContentHeight=String(i.height)),e.dataset.transitionStart=String(Date.now()),e.style.width=e.dataset.initialContentWidth+"px",e.style.height=e.dataset.initialContentHeight+"px",e.style.borderRadius="0.5em",e.classList.add(J.milestoneHovered),r.style.opacity="1",r.style.width=e.dataset.initialContentWidth+"px",r.style.height=e.dataset.initialContentHeight+"px"},onMilestoneMouseMove(){this.timeouts.forEach(t=>clearTimeout(t)),this.isMouseOver=!0},onMilestoneMouseLeave(t){if(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,a=setTimeout(()=>{e.classList.remove(J.milestoneHovered),e.dataset.timeoutId=""},i);e.dataset.timeoutId=String(a),this.timeouts.push(a)},onMilestoneClick(t,e){this.$emit("milestone-click",e)}}}),f3="";var E0=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:{[e.milestoneClasses.milestone]:!0,[e.milestoneClasses.milestoneBullet]:!e.dot,[e.milestoneClasses.milestoneHovered]:e.isMouseOver&&!e.dot,[e.milestoneClasses.milestoneDot]:e.dot,[e.milestoneClasses.milestoneDotHovered]:e.isMouseOver&&e.dot},style:e.styles,attrs:{tabindex:"0"},on:{mouseover:n=>e.onMilestoneMouseOver(n,e.milestone),mousemove:e.onMilestoneMouseMove,mouseleave:n=>e.onMilestoneMouseLeave(n,e.milestone),click:n=>e.onMilestoneClick(n,e.milestone)}},[r("div",{class:e.milestoneClasses.milestoneContent,style:e.contentStyles},[e._t("content",function(){return[r("span",[e._v(" "+e._s(e.milestone.text)+" ")])]})],2),e.dot?r("div",{class:e.milestoneClasses.milestoneDotContainer,style:e.dotContainerStyles},[r("div",{class:e.milestoneClasses.milestoneDotLine,style:e.lineStyles}),r("div",{class:e.milestoneClasses.milestoneDotDot,style:e.dotStyles})]):r("div",{class:e.milestoneClasses.milestoneLabel,style:e.labelStyles},[e._t("label")],2)])},z0=[],D0=k(k0,E0,z0,!1,null,null,null,null);const B0=D0.exports,p={eventGroup:"event-group",eventGroupBg:"event-group-bg",eventRect:"event-rect",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",xAxis:"x-axis",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"milestone",milestoneLine:"milestone-line",milestonesContainer:"milestones",milestoneHovered:"milestone--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",curtain:"curtain",forbiddenInterval:"forbidden-interval"},V={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern"},P0=L.extend({name:"ETimeline",directives:{resizeObserver:d1},components:{ETimelineMilestone:B0},props:{eventsGroups:{type:Object,default:()=>({})},xAxesConfig:{type:Object,default:()=>T0},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},curtains:{type:Boolean,default:!1},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},minZoom:{type:Number,default:1e-4},maxZoom:{type:Number,default:85e4},minDate:{type:String,default:void 0},maxDate:{type:String,default:void 0},cursorTimestamp:{type:[String,void 0],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}},data(){return{tooltip:null,cursor:null,timeline:null,wrapperDiv:null,selectedTimestampCursor:null,svg:null,axesContainer:null,xAxes:{},timeScale:null,initialTimeScale:null,currentTimeScaleDensity:null,zoomBehavior:null,isMouseDown:!1,axisHeight:22,isHoveringEvent:!1,hoveredEvent:null,isHoveringTimeline:!1,hoveredTimestamp:null,eventTooltipStyle:{},hoveredEventType:null,utcOffset:0,lastTransform:{x:0,k:1},transformDiff:{translation:0,scale:1},yScale:null,hoveredCounts:[],countsByTimestamp:{},dotsByTimestamp:{},visibleFrom:null,visibleTo:null,curtainHandleWidth:5,leftCurtainWidth:50,rightCurtainWidth:50,isHoveringCurtain:!1,isDraggingCurtain:!1,characterWidth:7.5,textPadding:5,debouncedOnResize:()=>{},isFirstPaint:!0,timeouts:[],groupsVisibility:{},markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0,selectedMilestoneId:null,isInitialized:!1,lastValidTransform:c.zoomIdentity,lastPanTransform:c.zoomIdentity,isZoomingInterval:!1}},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},classes(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark,"e-timeline--dragging":this.isInteractingWithCurtain},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===Y.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||[Y.bars,Y.dots].includes(r.chartType)?{...t,[e]:r}:t,{})},barChartGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Y.barChart?{...t,[e]:r}:t,{})},milestonesGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Y.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(){const t=Object.keys(this.xAxesConfig).length-1;return this.axisHeight*t},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)}}),{})},isInteractingWithCurtain(){return this.isHoveringCurtain||this.isDraggingCurtain},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):[]}},watch:{dark(){this.handleDarkModeChange()},selectedTimestamp(){this.repositionSelectedTimestampCursor()},markers(){this.updateMarkers(),this.fitMarkersOnChange&&this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},eventsGroups(){this.updateAndRedrawTimeline()},cursorTimestamp(){if(this.cursorTimestamp){this.hoveredTimestamp=this.cursorTimestamp;const t=this.tzStringToDate(this.hoveredTimestamp),e=this.timeScale(t);this.cursor.style.left=e+"px",this.isHoveringTimeline=!0}else this.isHoveringTimeline=!1},selectedDate(t){t&&!this.locked&&this.panToTimestamp(t)},groupsVisibility(){this.updateAndRedrawTimeline()},forbiddenIntervals(){this.updateForbiddenIntervals(!0)},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&this.zoomToTargetInterval(t.startDate,t.endDate)}},created(){this.debouncedOnResize=oe(this.handleResize,100)},mounted(){this.initTimeline()},beforeDestroy(){this.clearTimeline(),document.removeEventListener("mouseup",this.handleDocumentMouseUp)},methods:{updateTimeline(){this.initOrUpdateSvg(),this.updateXAxes(),this.updateYScaleDomain(),this.updateForbiddenIntervals(),this.drawEventsGroups(),this.updateCurtains(),this.repositionSelectedTimestampCursor(),this.updateMarkers(),this.registerEventsListeners(),this.isInitialized=!0},initTimeline(t,e){if(this.initRefs(),!this.timeline||this.timeline.offsetWidth===0){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.initOrUpdateSvg(),this.initDefs(),this.initUtcOffset(),this.initTimeScale(t,e),this.initXAxes(),this.initYScale(),this.initZoomBehavior(),this.drawEventsGroups(),this.curtains&&(this.initCurtains(),this.emitCurtainChange()),this.initSelectedTimestampCursor(),this.updateMarkers(),this.registerEventsListeners(),this.emitVisibleInterval(r1.initial),this.selectedDate&&this.panOnDateClick&&this.panToTimestamp(this.selectedDate),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.cursor=this.$refs.cursor,this.timeline=this.$refs.timelineContainer,this.selectedTimestampCursor=this.$refs.selectedTimestamp,this.wrapperDiv=this.$refs.wrapperDiv},initOrUpdateSvg(){this.svg||(this.svg=c.select(this.timeline).append("svg")),this.svg.attr("width",this.timeline.offsetWidth).attr("height",this.timelineHeight)},initDefs(){const t=this.svg.append("defs");Object.entries(this.filteredEventsGroups).forEach(([r,n])=>{const{color:i,chartType:a}=n,s=t.append("linearGradient").attr("id",`${V.loadingGradient}-${r}`).attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");s.append("stop").attr("offset","0%").attr("stop-color",i).attr("stop-opacity","0"),s.append("stop").attr("offset","50%").attr("stop-color",i).attr("stop-opacity","0.6"),s.append("stop").attr("offset","100%").attr("stop-color",i).attr("stop-opacity","0"),[Y.lineGraph,Y.barChart].includes(a)&&[{id:V.transparencyGradientLight,stop:38,opacity:.3},{id:V.transparencyGradient,stop:130,opacity:.4}].forEach(({id:l,stop:o,opacity:d})=>{const m=t.append("linearGradient").attr("id",`${l}-${r}`).attr("x1","0%").attr("x2","0%").attr("y1","0%").attr("y2","100%");m.append("stop").attr("offset","0%").style("stop-color",i).style("stop-opacity",d),m.append("stop").attr("offset",`${o}%`).style("stop-color",i).style("stop-opacity",0)})}),t.append("pattern").attr("id",V.stripedPattern).attr("width",5).attr("height",3).attr("patternUnits","userSpaceOnUse").attr("patternTransform","rotate(45)").append("rect").attr("width",1).attr("height",4).attr("transform","translate(0,0)").attr("fill",this.forbiddenIntervalColor)},initUtcOffset(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate;this.utcOffset=j.parseZone(t).utcOffset()},initTimeScale(t,e){const r=t||this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate,n=e||this.endDate||this.latestEvent.timestamp||this.latestEvent.endDate;this.timeScale=c.scaleTime().domain([this.tzStringToDate(r),this.tzStringToDate(n)]).range([0,this.timeline.offsetWidth]),this.initialTimeScale=this.timeScale.copy(),this.updateCurrentTimeScaleDensity()},initXAxes(){let t=0;const e=5;for(const r in this.xAxesConfig){const n=this.createAxis(r);this.xAxes[r]=n,this.svg.append("g").classed(p.xAxis,!0).classed(`${p.xAxis}-${r}`,!0).attr("transform",`translate(0, ${t||e})`).call(n),this.translateTicksText(r),t+=this.axisHeight}this.updateXAxes()},updateXAxes(){let t=0;const e=5;for(const r in this.xAxesConfig){const n=this.xAxes[r];n.tickSizeOuter(0),n.tickSizeInner(this.timelineHeight),this.svg.select(`.${p.xAxis}-${r}`).attr("transform",`translate(0, ${t||e})`).call(n),this.translateTicksText(r),t+=this.axisHeight}},initYScale(){this.yScale=c.scaleLinear().range([this.chartHeight,0]),this.updateYScaleDomain()},updateYScaleDomain(){const[t,e]=this.timeScale.domain(),r=this.flattenedCounts.filter(i=>{const a=new Date(i.startDate||i.timestamp),s=new Date(i.endDate||i.timestamp);return s>=t&&s<=e||a>=t&&a<=e}),n=c.max(r,i=>i.count);this.yScale.domain([0,n])},initZoomBehavior(){this.disableZoom||(this.zoomBehavior=c.zoom().on("zoom",this.handleZoom).scaleExtent([this.minZoom,this.maxZoom]),this.svg.call(this.zoomBehavior),this.svg.call(this.zoomBehavior.transform,c.zoomIdentity))},zoomToFitMarkers(){const t=this.markers.map(n=>new Date(n.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t);this.zoomToTargetInterval(e,r)},zoomToTargetInterval(t,e){if(!t||!e)return;this.isZoomingInterval=!0;const r=new Date(t).getTime(),n=new Date(e).getTime(),i=this.initialTimeScale.domain().map(m=>m.getTime()),a=i[1]-i[0],s=n-r,u=.1*s,l=s+2*u;let o=a/l;const d=this.zoomBehavior.scaleExtent();o=Math.min(Math.max(o,d[0]),d[1]),this.svg.transition().duration(this.zoomToIntervalTransitionDuration/2).call(this.zoomBehavior.scaleTo,o).on("end",()=>this.translateIntervalIntoView(r,n,o))},translateIntervalIntoView(t,e,r){const n=this.timeScale(new Date(t)),i=this.timeScale(new Date(e)),a=(n+i)/2,u=this.svg.node().getBoundingClientRect().width/2-a,l=c.zoomTransform(this.svg.node());this.svg.transition().duration(this.zoomToIntervalTransitionDuration/2).call(this.zoomBehavior.transform,c.zoomIdentity.translate(l.x+u,l.y).scale(r)).on("end",()=>{this.isZoomingInterval=!1})},initSelectedTimestampCursor(){this.svg.append("line").attr("class",p.selectedTimestampCursor).style("stroke","red").style("stroke-width","1px").style("opacity",0).attr("x1",0).attr("x2",0).attr("y1",0),this.repositionSelectedTimestampCursor()},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.sortedMarkers.forEach((r,n,i)=>{const a=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,s=this.timeScale(a);let u=!1;const l=this.stickyMarkers?Math.max(s,n*t):s;if(n<i.length-1){const o=i[n+1],d=typeof o.timestamp=="string"?this.tzStringToDate(o.timestamp):o.timestamp,m=this.timeScale(d);u=(this.stickyMarkers?Math.max(m,(n+1)*t):s)-l<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:u,position:l}}}),this.initMarkersDragBehavior()},updateAndRedrawTimeline(){this.updateTimeline()},clearTimeline(){this.svg&&this.svg.remove(),this.countsByTimestamp={}},repositionSelectedTimestampCursor(){const t=this.svg.select(`.${p.selectedTimestampCursor}`);if(!this.selectedTimestamp){t.style("opacity",0);return}const e=this.tzStringToDate(this.selectedTimestamp),r=this.timeScale(e);isNaN(r)?t.style("opacity",0):t.attr("x1",r).attr("x2",r).style("opacity",.5),t.attr("y2",this.timelineHeight)},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)},registerEventsListeners(){document.addEventListener("mouseup",this.handleDocumentMouseUp),this.svg.on("mousedown",this.handleMouseDown),this.svg.on("mousemove",this.handleMouseMove),this.svg.on("click",this.handleClick),this.svg.on("mouseleave",this.handleMouseLeave)},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})},createAxis(t){const e=this.xAxesConfig[t],r=this.getAxisTicksConfig(e);return c.axisBottom(this.timeScale).ticks(r.interval).tickFormat(r.formatFn).tickSizeOuter(0).tickSizeInner(this.timelineHeight)},getAxisTicksConfig(t){const{interval:e,format:r}=t.find(i=>i.precision>=this.currentTimeScaleDensity&&i.interval);return{formatFn:i=>typeof r=="function"?r(i):c.timeFormat(r)(i),interval:e}},onResize(t){this.isFirstPaint?(this.handleResize(t),this.isFirstPaint=!1):this.debouncedOnResize(t)},handleResize({contentRect:t}){this.svg&&(this.svg.attr("width",t.width),this.updateAndRedrawTimeline())},handleDarkModeChange(){if(!this.showLabels)return;const t=this;this.svg.selectAll(`.${p.labelBg}`).each(function(){c.select(this).style("fill",t.dark?"black":"white")}),this.svg.selectAll(`.${p.labelBgFill}`).each(function(){const e=c.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(`.${p.labelText}`).each(function(){const e=c.select(this),r=e.node().dataset.color;e.style("fill",t.getTextFillColor(r))})},handleMouseDown(){this.isMouseDown=!0},handleDocumentMouseUp(t){this.isMouseDown=!1},handleMouseLeave(){this.isHoveringTimeline=!1,this.$emit("hovered-timestamp",void 0)},handleMouseMove(t){if(this.isMouseDown)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("hovered-timestamp",this.hoveredTimestamp),this.cursor.style.left=e+"px",this.tooltip&&(this.eventTooltipStyle={left:`${e}px`,bottom:`${this.timeline.getBoundingClientRect().height}px`,zIndex:100})},handleClick(t){const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);this.isHoveringEvent&&(this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation)||(this.$emit("date-clicked",n),this.panOnDateClick&&this.panToTimestamp(n))},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&this.panToTimestamp(t.timestamp)},handleLineMouseOver(t,e,r){this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp}`]).reduce((n,i)=>{const[a,s]=i;return[...n,{type:a,count:s}]},[]),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){c.selectAll(`.${p.lineGraphGroup}-${t}`).classed(`${p.lineGraphGroup}--highlighted`,!0),c.selectAll(`.${p.lineGraphGroupLabel}`).classed(`${p.lineGraphGroupLabel}--highlighted`,!0)},handleLabelMouseLeave(t){c.selectAll(`.${p.lineGraphGroup}-${t}`).classed(`${p.lineGraphGroup}--highlighted`,!1),c.selectAll(`.${p.lineGraphGroupLabel}`).classed(`${p.lineGraphGroupLabel}--highlighted`,!1)},isZoomAllowed(t){if(this.isZoomingInterval)return!0;const e=this.initialTimeScale.copy(),r=t.transform.rescaleX(e).domain(),n=this.minDate?this.tzStringToDate(this.minDate):void 0,i=this.maxDate?this.tzStringToDate(this.maxDate):void 0;return(!n||r[0]>=n)&&(!i||r[1]<=i)},handleZoom(t){var n;if(!this.isZoomAllowed(t)){(n=t==null?void 0:t.sourceEvent)==null||n.preventDefault(),this.svg.call(this.zoomBehavior.transform,this.lastValidTransform);return}this.lastValidTransform=t.transform;const e=t.transform.rescaleX(this.initialTimeScale);this.timeScale.domain(e.domain()),this.updateCurrentTimeScaleDensity(),this.updateYScaleDomain();const r=t.transform.k/this.lastTransform.k;this.transformDiff={scale:r,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform};for(const i in this.xAxes)this.rescaleAxis(i,e),this.translateTicksText(i);this.updateEventsBars(),this.updateLineGraphs(),this.updateBarChart(),this.updateLineGraphHoverZones(),this.updateMilestonesPositions(),this.repositionSelectedTimestampCursor(),this.updateForbiddenIntervals(),this.updateMarkers(),this.emitVisibleInterval(r1.zoom),this.curtains&&this.emitCurtainChange()},panToTimestamp(t){const e=this.tzStringToDate(t),r=this.timeScale(e),n=c.zoomTransform(this.svg.node()),i=n.x-r+this.timeline.offsetWidth/2,a=this.timeScale.invert(-i/n.k),s=this.timeScale.invert((this.timeline.offsetWidth-i)/n.k),u=this.minDate?this.tzStringToDate(this.minDate):void 0,l=this.maxDate?this.tzStringToDate(this.maxDate):void 0;if(u&&a<u||l&&s>l){console.log("Pan operation would exceed bounds. Operation cancelled.");return}const d=n.k/this.lastPanTransform.k<10?this.panTransitionDuration:0;this.lastPanTransform={...n},this.svg.transition().duration(d).call(this.zoomBehavior.transform,c.zoomIdentity.translate(i,0).scale(n.k)).on("end",()=>{this.emitVisibleInterval(r1.autoPan)})},emitCurtainChange(){const{startDate:t,endDate:e}=this.calculateDateRangeFromCurtains();this.$emit("curtain-range-change",{startDate:new Date(t).toISOString(),endDate:new Date(e).toISOString()})},calculateDateRangeFromCurtains(){const t=this.timeline.offsetWidth,e=this.timeScale.domain(),r=e[1].getTime()-e[0].getTime(),n=(this.leftCurtainWidth-this.curtainHandleWidth*2)/t*r,i=(this.rightCurtainWidth+this.curtainHandleWidth*2)/t*r,a=new Date(e[0].getTime()+n),s=new Date(e[1].getTime()-i);return{startDate:a,endDate:s}},handleDragStart(){this.isDraggingCurtain=!0},handleDragEnd(){this.isDraggingCurtain=!1},handleLeftDrag(t){t.sourceEvent.stopPropagation();const e=Math.min(t.x,this.timeline.offsetWidth-this.rightCurtainWidth);this.leftCurtainWidth=Math.max(0,e),this.svg.select(`.${p.curtain}--left`).attr("width",this.leftCurtainWidth),this.emitCurtainChange()},handleRightDrag(t){t.sourceEvent.stopPropagation();const e=this.timeline.offsetWidth,r=Math.min(this.timeline.offsetWidth-t.x,this.timeline.offsetWidth-this.leftCurtainWidth),n=e-r;this.rightCurtainWidth=Math.max(0,r),this.svg.select(`.${p.curtain}--right`).attr("width",this.rightCurtainWidth).attr("x",n),this.emitCurtainChange()},zoomToStartAndEndDates(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.endDate||this.latestEvent.timestamp||this.latestEvent.endDate,r=this.tzStringToDate(t),n=this.tzStringToDate(e);this.initialTimeScale.domain([r,n]);const i=c.zoomTransform(this.svg.node()),a=n.getTime()-r.getTime(),u=this.initialTimeScale.range().map(f=>this.initialTimeScale.invert(f)).reduce((f,C)=>C.getTime()-f,0)/a*i.k,o=-(this.initialTimeScale(r)*u),[d,m]=this.zoomBehavior.scaleExtent(),h=Math.max(d,Math.min(m,u));this.svg.transition().duration(this.zoomToBoundariesTransitionDuration).call(this.zoomBehavior.transform,c.zoomIdentity.translate(o,0).scale(h))},rescaleAxis(t,e){const r=this.xAxes[t],n=this.getAxisTicksConfig(this.xAxesConfig[t]);r.scale(e).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0),this.svg.select(`.${p.xAxis}-${t}`).call(r)},translateTicksText(t){this.svg.select(`.${p.xAxis}-${t}`).selectAll(".tick text").each(function(){let e=c.select(this),r=e.node().getBBox();e.attr("x",r.height/2).attr("y",0).style("text-anchor","start")})},updateEventsBars(){const t=`.${p.eventGroup} > rect.${p.eventRect}`,e=`${t}:not(.${p.eventRect}--dot)`;this.svg.selectAll(t).attr("x",this.getEventRectX),this.svg.selectAll(e).attr("width",this.getEventRectWidth);const r=`.${p.eventGroup} > text.${p.eventRectText}`;this.svg.selectAll(r).attr("x",n=>this.getEventRectX(n)+this.textPadding).text(this.getEventText)},updateBarChart(){const t=Object.keys(this.barChartGroups).length;Object.keys(this.barChartGroups).forEach((e,r)=>{const n=h=>(this.getEventRectWidth(h)-this.barXPadding*2)/t,i=h=>this.yScale.range()[0]-this.yScale(h.count),a=h=>this.getEventRectX(h)+this.barXPadding+r*n(h),s=h=>this.yScale(h.count),u=`.${p.eventBarContainer}-${e}`,l=this.svg.selectAll(u),o=`.${p.barChartGroup} rect.${p.eventBarHoverZone}`;l.selectAll(o).attr("x",a).attr("width",n);const d=`.${p.barChartGroup} rect.${p.eventBar}`;l.selectAll(d).attr("x",a).attr("width",n).attr("y",s).attr("height",i);const m=`.${p.barChartGroup} rect.${p.eventBarCap}`;l.selectAll(m).attr("x",a).attr("width",n).attr("y",s)})},updateLineGraphs(){Object.entries(this.lineGraphGroups).forEach(([t])=>{const e=c.area().x(r=>this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1(r=>this.yScale(r.count)).curve(c.curveMonotoneX);this.svg.selectAll(`.${p.lineGraphPath}-${t}`).attr("d",r=>e(r))})},updateLineGraphHoverZones(){Object.keys(this.lineGraphGroups).forEach(t=>{const e=this;this.svg.selectAll(`.${p.lineGraphDot}-${t}`).each(function(r){c.select(this).attr("cx",e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy",e.yScale(r.count))}),this.svg.selectAll(`.${p.lineGraphHoverZone}-${t}`).each(function(r){const n=e.timeScale(e.tzStringToDate(r.timestamp).getTime())-15;c.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)}},getEventText(t){var n;const r=(this.getEventRectWidth(t)-this.textPadding)/this.characterWidth;return r<4?"":((n=t.text)==null?void 0:n.length)<=r?t.text:`${t.text.slice(0,r-3)}...`},getElementLeftPosition(t){if(!t)return 0;const e=window.getComputedStyle(t);return parseInt(e.left)},isTimestampAllowedForMarker(t,e){return(e.minDate?t>=this.tzStringToDate(e.minDate):!0)&&(e.maxDate?t<=this.tzStringToDate(e.maxDate):!0)},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){if(!t.isDraggable)return;r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${p.markerLine}`).getBoundingClientRect().left,e.classed(p.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,i=this.timeScale.invert(n-this.svg.node().getBoundingClientRect().left),a=this.timeScale(i),s=this.isTimestampAllowedForMarker(i,t);if(r.type==="drag"&&s&&e.attr("style",`left: ${a}px`),r.type==="end"&&s){const u=t.id||t.timestamp;this.markersPositions={...this.markersPositions,[u]:{...this.markersPositions[u],position:a}},e.classed(p.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:i.toISOString()})},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),c.selectAll(`.${p.marker}`).call(this.markersDragBehavior))},initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=c.drag().on("start",function(e,r){var n;(n=e.sourceEvent)==null||n.preventDefault(),t.handleMarkerDrag({marker:r,markerElement:c.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:c.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:c.select(this),dragEvent:e})}),c.selectAll(`.${p.marker}`).data(this.sortedMarkers).call(this.markersDragBehavior)},initCurtains(){this.createCurtains(),this.updateCurtains()},createCurtains(){this.curtains&&(this.svg.append("rect").classed(`${p.curtain} ${p.curtain}--left`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(c.drag().on("start",this.handleDragStart).on("drag",this.handleLeftDrag).on("end",this.handleDragEnd)),this.svg.append("rect").classed(`${p.curtain} ${p.curtain}--right`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(c.drag().on("start",this.handleDragStart).on("drag",this.handleRightDrag).on("end",this.handleDragEnd)),this.updateCurtains())},updateCurtains(){const t=this.timeline.offsetWidth,e=this.timelineHeight;this.svg.select(`.${p.curtain}--left`).attr("width",this.leftCurtainWidth).attr("height",e+this.curtainHandleWidth*2).attr("y",-this.curtainHandleWidth).attr("x",-this.curtainHandleWidth),this.svg.select(`.${p.curtain}--right`).attr("x",t-this.rightCurtainWidth+this.curtainHandleWidth).attr("y",-this.curtainHandleWidth).attr("width",this.rightCurtainWidth+this.curtainHandleWidth*2).attr("height",e+this.curtainHandleWidth*2)},updateForbiddenIntervals(t=!1){t&&this.svg.selectAll(`.${p.forbiddenInterval}`).remove();const e=this.timeScale.domain();this.forbiddenIntervals.forEach((r,n)=>{const i=r.startDate===-1/0?e[0]:this.tzStringToDate(r.startDate),a=r.endDate===1/0?e[1]:this.tzStringToDate(r.endDate),s=this.timeScale(i),u=this.timeScale(a),l=Math.max(u-s,0);let o=this.svg.select(`.${p.forbiddenInterval}-${n}`);o.empty()&&(o=this.svg.append("rect").attr("class",`${p.forbiddenInterval} ${p.forbiddenInterval}-${n}`).attr("fill",`url(#${V.stripedPattern})`)),o.attr("x",s).attr("y",0).attr("width",l).attr("height",this.timelineHeight)})},drawEventsGroups(){this.svg.selectAll(`g.${p.eventGroup}`).remove(),this.svg.selectAll(`.${p.barChartGroup}`).remove(),this.svg.selectAll(`.${p.lineGraphGroup}`).remove(),this.svg.selectAll(`.${p.lineGraphGroupLabel}`).remove(),this.svg.selectAll(`.${p.loadingIndicator}`).remove(),this.drawLineGraphEventsGroups(),this.drawBarEventsGroups(),this.drawBarChartEventsGroups(),this.drawMilestonesPlaceholder()},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(`${p.lineGraphGroup} ${p.lineGraphGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:a,events:s}=n;this.drawLineGraph({events:s,gElement:i,color:a,type:r}),this.drawLineGraphHoverZones({events:s,gElement:i,color:a,type:r})}),Object.entries(this.lineGraphGroups).forEach(([r,n],i)=>{const{color:a,isLoading:s,label:u}=n,l=Math.max(this.chartMinLabelHeight,this.barChartHeight),o=this.chartHeight-l*(i+1),d=t+this.chartHeight-l,m=this.svg.append("g").classed(p.lineGraphGroupLabel,!0).attr("transform",`translate(0,${t})`).on("mouseover",()=>this.handleLabelMouseOver(r)).on("mouseleave",()=>this.handleLabelMouseLeave(r));this.drawProgressIndicator({type:r,color:a,isLoading:s,yPosition:d}),this.drawTextLabel({color:a,label:u,type:r,height:l,yPosition:o,gElement:m})})},drawLineGraph({events:t,gElement:e,color:r,type:n}){const i=c.area().x(s=>this.timeScale(this.tzStringToDate(s.timestamp))).y0(this.timelineHeight).y1(s=>this.yScale(s.count)).curve(c.curveMonotoneX),a=`clip-${n}`;e.append("defs").append("clipPath").attr("id",a).append("rect").attr("width",this.timeline.offsetWidth).attr("height",this.chartHeight),e.append("path").datum(t).classed(`${p.lineGraphPath}-${n}`,!0).attr("fill",`url(#${V.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(#${a})`)},drawLineGraphHoverZones({events:t,gElement:e,color:r,type:n}){t.forEach(i=>{const a=`${i.timestamp}`;this.countsByTimestamp[a]={...this.countsByTimestamp[a]||{},[n]:i.count};const s=e.append("circle").classed(`${p.lineGraphDot} ${p.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[a]=[...this.dotsByTimestamp[a]||[],s],e.append("rect").classed(`${p.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[a].forEach(l=>l.classed(`${p.lineGraphDot}--active`,!0))}).on("mouseout",()=>{this.handleLineMouseOut(),this.dotsByTimestamp[a].forEach(u=>u.classed(`${p.lineGraphDot}--active`,!1))})})},drawSingleBarEventsGroup({type:t,eventsGroup:e,milestone:r,dots:n,dotsSize:i,bottom:a}){const{color:s,bgColor:u,label:l,events:o,barBorderRadius:d,isLoading:m,height:h,chartType:f}=e;let C=this.getBarGroupYPosition(t,a);const P=[Y.bars,Y.dots,void 0].includes(f)?this.getBarGroupHeight(e):h;r&&(C=this.getMilestoneGroupYPosition(t)),this.drawProgressIndicator({yPosition:C,type:t,color:s,isLoading:m});const A=this.svg.append("g").attr("data-color",s).classed(p.eventGroup,!0).classed(`${p.eventGroup}-${t}`,!0);if(this.drawBackground({color:u||s,gElement:A,yPosition:C,height:P}),r||n){const R=n?1:2,H=C+P/2;A.append("line").classed(J.milestoneLine,!0).attr("x1",0).attr("x2",this.timeline.offsetWidth).attr("y1",H).attr("y2",H).style("stroke",s).style("stroke-width",R)}this.drawBars({events:o,color:s,gElement:A,yPosition:C,type:t,dots:n,dotsSize:i,height:h,barBorderRadius:d}),l&&this.drawTextLabel({color:s,label:l,type:t,gElement:A,yPosition:C,height:h})},drawBarEventsGroups(){Object.entries(this.barGroups).forEach(([t,e])=>this.drawSingleBarEventsGroup({type:t,eventsGroup:e,bottom:e.bottom,dots:e.chartType===Y.dots,dotsSize:e.dotsSize||3}))},drawMilestonesPlaceholder(){Object.entries(this.milestonesGroups).forEach(([t,e])=>this.drawSingleBarEventsGroup({type:t,eventsGroup:{...e,events:[],isLoading:!1},milestone:!0})),this.updateMilestonesPositions()},getMilestoneClass(t){return{[J.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},updateMilestonesPositions(){Object.entries(this.milestonesGroups).forEach(([t,e])=>{const r=this.getMilestoneGroupYPosition(t),n=this.svg.select(`g.${p.eventGroup}-${t}`),i=2,s=(e.height||this.barChartHeight)/2,u=r+s-i/2;n.attr("x1",0).attr("x2",this.timeline.offsetWidth).select(`.${J.milestoneLine}`).attr("y1",u).attr("y2",u);const l=c.select(`.${J.milestonesContainer}-${t}`);l.style("top",`${r}px`).style("height",`${e.height||this.barChartHeight}px`);const o=l.selectAll(`.${J.milestone}`).data(this.getSortedEvents(e.events));o.exit().remove(),o.enter().append("div").merge(o).style("left",d=>`${this.timeScale(this.tzStringToDate(d.timestamp))}px`).style("top",`${u}px`)})},drawBarChartEventsGroups(){const t=this.combinedXAxesHeight,e=this.barChartGroups;Object.entries(e).forEach(([r,n],i)=>{const a=this.svg.append("g").classed(`${p.barChartGroup} ${p.barChartGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:s,events:u}=n;this.drawBarsChart({events:u,color:s,gElement:a,yOffset:t,type:r,index:i})})},drawProgressIndicator({yPosition:t,type:e,isLoading:r}){this.svg.append("rect").classed(`${p.loadingIndicator} ${p.loadingIndicator}-${e}`,!0).attr("x",0).attr("y",t).attr("width",this.timeline.offsetWidth/3).attr("height",this.barChartHeight).attr("fill",`url(#${V.loadingGradient}-${e})`).style("visibility",r?"visible":"hidden")},drawBackground({color:t,yPosition:e,gElement:r,height:n}){r.append("rect").attr("class",p.eventGroupBg).attr("x",0).attr("y",e).attr("width",this.timeline.offsetWidth).attr("height",n||this.barChartHeight).attr("fill",c.color(t).toString()).style("opacity",.1)},drawBars({events:t,gElement:e,yPosition:r,color:n,type:i,dots:a,dotsSize:s,height:u,barBorderRadius:l=1.5}){const o=this,d=r+this.barYPadding/2,m=a?((u||this.barChartHeight)-s)/2:0;let h=Math.max((u!=null?u:this.barChartHeight)-this.barYPadding,1);a&&(h=s),e.selectAll(p.eventRect).data(t).enter().append("rect").attr("class",f=>p.eventRect+(a?` ${p.eventRect}--dot`:"")+(f.className?` ${f.className}`:"")).attr("x",this.getEventRectX).attr("y",d+m).attr("ry",a?s:l).attr("rx",a?s:l).attr("width",a?s:this.getEventRectWidth).attr("height",h).attr("stroke-width",a?s/10:5).attr("cursor","pointer").attr("stroke",f=>a?c.color(f.color||n).brighter(1).toString():"#0000").style("fill",f=>f.color||n).on("mouseover",function(f,C){c.select(this).classed(p.eventRectHovered,!0),o.handleBarMouseOver(f,C,i)}).on("mouseout",function(){c.select(this).classed(p.eventRectHovered,!1),o.handleBarMouseOut()}),e.selectAll(p.eventRectText).data(t.filter(f=>!!f.text)).enter().append("text").attr("class",p.eventRectText).attr("x",f=>this.getEventRectX(f)+this.textPadding).attr("y",r+this.barChartHeight/2).attr("dy","0.35em").style("text-anchor","start").style("font-size","12px").style("font-weight",600).style("stroke-linejoin","round").style("paint-order","stroke").style("pointer-events","none").style("fill",f=>this.getTextFillColor(f.color||n,.75)).text(this.getEventText)},drawBarsChart({events:t,gElement:e,color:r,yOffset:n,type:i,index:a}){const s=this,u=Object.keys(this.barChartGroups).length,l=f=>(this.getEventRectWidth(f)-this.barXPadding*2)/u,o=f=>this.yScale.range()[0]-this.yScale(f.count),d=f=>this.getEventRectX(f)+this.barXPadding+a*l(f),m=f=>this.yScale(f.count),h=e.selectAll(p.eventBarContainer).data(t).enter().append("g").attr("class",`${p.eventBarContainer} ${p.eventBarContainer}-${i}`);h.append("rect").attr("class",f=>p.eventBarHoverZone+(f.className?` ${f.className}`:"")).attr("x",d).attr("y",-n).attr("width",l).attr("height",this.yScale.range()[0]+n).attr("fill",f=>f.color||r).attr("fill-opacity",0),h.append("rect").attr("class",f=>p.eventBar+(f.className?` ${f.className}`:"")).attr("x",d).attr("y",m).attr("width",l).attr("height",o).attr("stroke-width",5).attr("cursor","pointer").attr("stroke","#0000").attr("fill",`url(#${V.transparencyGradient}-${i})`),h.append("rect").attr("class",f=>p.eventBarCap+(f.className?` ${f.className}`:"")).attr("x",d).attr("y",m).attr("width",l).attr("height",2).attr("stroke-width",0).style("fill",f=>f.color||r),h.on("mouseover",function(f,C){const E=c.select(this);s.onBarChartBarMouseOver(E,r),s.handleBarMouseOver(f,C,i)}).on("mouseout",function(){const f=c.select(this);s.onBarChartBarMouseOut(f,i),s.handleBarMouseOut()}).on("click",function(){e.selectAll(`.${p.eventBarContainerSelected}`).classed(p.eventBarContainerSelected,!1),c.select(this).classed(p.eventBarContainerSelected,!0)})},onBarChartBarMouseOver(t,e){t.classed(p.eventBarContainerHovered,!0),t.selectAll(`.${p.eventBarHoverZone}`).attr("fill-opacity",.2);const n=t.selectAll(`.${p.eventBar}`);n.attr("fill",e),n.attr("fill-opacity",.5)},onBarChartBarMouseOut(t,e){t.classed(p.eventBarContainerHovered,!1),t.selectAll(`.${p.eventBarHoverZone}`).attr("fill-opacity",0);const n=t.selectAll(`.${p.eventBar}`);n.attr("fill",`url(#${V.transparencyGradient}-${e})`),n.attr("fill-opacity",1)},drawTextLabel({gElement:t,yPosition:e,color:r,label:n,type:i,height:a}){if(!this.showLabels)return;const s={x:-5,y:e,w:this.labelRectWidth,h:a||this.barChartHeight,radius:3},u=t.append("g").attr("class",`${p.labelGroup} ${p.labelGroup}-${i}`).style("cursor","pointer").on("click",()=>this.toggleGroupVisibility(i));u.append("rect").attr("class",p.labelBg).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",p.labelBgFill).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",p.labelText).attr("data-color",r).attr("x",5).attr("y",e+(a||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=c.color(t))==null?void 0:r.brighter(1.5+e):(n=c.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=c.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)}},getExternalLabelWrapperStyles(t){const e=this.eventsGroups[t].color;return{borderColor:this.getTextFillColor(e)}},getMarkerClass(t){var e;return{"marker--hidden":(e=this.markersPositions[t==null?void 0:t.id])==null?void 0:e.isHidden,"marker--draggable":t==null?void 0:t.isDraggable,...t.className?{[t==null?void 0:t.className]:!0}:{}}},getMarkerContainerStyle(t){var e;return{left:`${(e=this.markersPositions[t.id])==null?void 0:e.position}px`}},getMarkerLabelStyle(t){return{background:t.color,color:t.textColor||""}},getMarkerLineStyle(t){return{background:t.color,height:`${this.timelineHeight+24}px`}},tzStringToDate(t){const e=this.timezone?j.tz(t,this.timezone).utcOffset():this.utcOffset;return j(t).add(e,"minutes").toDate()},dateToTzString(t){const e=new Date(t).getTimezoneOffset(),r=this.timezone?j.tz(t,this.timezone).utcOffset():this.utcOffset;return j(t).add(e,"minutes").utcOffset(r,!0).format()},getCurrentTimeBounds(){const t=this.timeScale.domain();return{startDate:t[0],endDate:t[1]}},getFormattedTimestamp(t){return j.parseZone(t).format("YYYY-MM-DDTHH:mm:ss")},fillTimeGaps(t){if(t.length<=1)return t;const e=this.insertZerosAtInterval,r=a=>a.clone().add(1,e),n=a=>a.clone().subtract(1,e);let i=[];for(let a=0;a<t.length;a++){const s=t[a];if(i.push(s),a===t.length-1)break;const u=t[a+1],l=j(s.timestamp),o=j(u.timestamp);if(o.diff(l,e)>1){const d=r(l).toISOString(),m=n(o).toISOString();i.push({timestamp:d,count:0}),d!==m&&i.push({timestamp:m,count:0})}}if(this.flattenLineGraphEnds){const a=j(t[0].timestamp),s=j(t[t.length-1].timestamp),u=n(a).toISOString(),l=r(s).toISOString();i=[{timestamp:u,count:0},...i,{timestamp:l,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.panToTimestamp(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)}}}),m3="";var O0=function(){var e=this,r=e._self._c;return r("div",{ref:"wrapperDiv",staticClass:"e-relative e-timeline e-border e-rounded",class:e.classes.wrapper},[r("div",{staticClass:"e-timeline__background e-w-full e-h-full e-absolute e-top-0 e-rounded",class:e.classes.background}),e._l(e.sortedMarkers,function(n){return r("div",{key:n.id,staticClass:"marker e-absolute e-h-full e-top-0",class:e.getMarkerClass(n),style:e.getMarkerContainerStyle(n),attrs:{"data-id":n.id},on:{click:function(i){return e.handleMarkerClick(n)}}},[r("div",{staticClass:"marker-label e-absolute"},[r("div",{staticClass:"marker-label-text",style:e.getMarkerLabelStyle(n)},[e._t(`marker.${n.id}`,function(){return[e._v(" "+e._s(n.label)+" ")]},{marker:n})],2)]),r("div",{staticClass:"marker-line e-absolute e-pointer-events-none",style:e.getMarkerLineStyle(n)})])}),e.autoResize?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("div",{ref:"timelineContainer",staticClass:"e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden"}),e._l(e.milestonesGroups,function(n,i){return r("div",{key:`${i}`,staticClass:"e-timeline-milestones"},[r("div",{class:`e-tl-milestones e-tl-milestones-${i}`},e._l(e.getSortedEvents(n.events),function(a,s){return r("ETimelineMilestone",{key:`${a.milestoneType}-${s}`,class:e.getMilestoneClass(a),attrs:{"data-timestamp":a.timestamp,milestone:a,dot:n.dots,size:a.size||e.milestoneBulletSize,"transition-duration":n.milestonesTransitionDuration,"line-height":n.milestonesLineHeight,"dot-size":n.milestonesDotSize,"background-color":e.getMilestoneColors(a.color,n.color).background,"border-color":e.getMilestoneColors(a.color,n.color).border},on:{"milestone-click":function(u){return e.onMilestoneClick(a,i)}},scopedSlots:e._u([{key:"content",fn:function(){return[e._t(`milestoneContent.${a.milestoneType}`,function(){return[r("span",{staticClass:"e-px-2"},[e._v(" "+e._s(a.text)+" ")])]},{milestone:a,index:s})]},proxy:!0},{key:"label",fn:function(){return[e._t(`milestoneLabel.${a.milestoneType}`,null,{milestone:a})]},proxy:!0}],null,!0)})}),1)])}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isHoveringTimeline&&!e.isInteractingWithCurtain,expression:"isHoveringTimeline && !isInteractingWithCurtain"}],ref:"cursor",staticClass:"e-timeline__cursor e-absolute e-bg-green-600 e-w-px e-h-full e-top-0 e-pointer-events-none"}),r("div",{staticClass:"external-labels-container e-flex"},e._l(e.hiddenGroupsLabels,function(n){return r("div",{key:n,staticClass:"external-label",class:e.classes.background,style:e.getExternalLabelWrapperStyles(n),on:{click:function(i){return e.toggleGroupVisibility(n)}}},[r("div",{staticClass:"external-label__content",style:e.getExternalLabelStyles(n)},[e._v(" "+e._s(n)+" ")])])}),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:e.isHoveringTimeline&&!e.isHoveringEvent&&!e.isInteractingWithCurtain&&!e.cursorTimestamp,expression:`
1
+ (function($,L){typeof exports=="object"&&typeof module!="undefined"?L(exports,require("vue"),require("hls.js"),require("moment-timezone"),require("d3")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","moment-timezone","d3"],L):($=typeof globalThis!="undefined"?globalThis:$||self,L($.EvercamUI={},$.Vue,$.Hls,$.moment,$.d3))})(this,function($,L,e1,j,Fe){var ke,Ee,ze,De,Be,Pe,Oe,He;"use strict";function Ae(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)}const c=Ae(Fe);var x=(t=>(t.dot="dot",t.xs="xs",t.sm="sm",t.md="base",t.base="base",t.lg="lg",t.xl="xl",t["2xl"]="2xl",t["3xl"]="3xl",t["4xl"]="4xl",t["5xl"]="5xl",t["6xl"]="6xl",t["7xl"]="7xl",t["8xl"]="8xl",t["9xl"]="9xl",t))(x||{}),W=(t=>(t.warning="warning",t.error="error",t.info="info",t.success="success",t.primary="primary",t.brand="brand",t.default="default",t))(W||{}),t1=(t=>(t.overview="overview",t.detailed="detailed",t.detailedBackground="detailedBackground",t))(t1||{}),Y=(t=>(t.bars="bars",t.dots="dots",t.lineGraph="lineGraph",t.barChart="barGraph",t.milestones="milestones",t))(Y||{}),r1=(t=>(t.zoom="zoom",t.autoPan="autoPan",t.initial="initial",t))(r1||{});const Ie=L.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:W.default},size:{type:String,default:x.base}},data(){return{colors:{[W.error]:"e-bg-rose-500 e-text-white",[W.info]:"e-bg-cyan-500 e-text-white",[W.warning]:"e-bg-amber-500 e-text-white",[W.primary]:"e-bg-sky-500 e-text-white",[W.default]:"e-bg-slate-300 e-text-white",[W.success]:"e-bg-lime-500 e-text-white"},sizes:{[x.dot]:"e-w-2 e-h-2",[x.xs]:"e-w-3 e-h-3",[x.sm]:"e-w-4 e-h-4",[x.md]:"e-w-5 e-h-5",[x.lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[x.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[W.default],e=this.sizes[this.size]||this.sizes[x.md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[x.lg,x.xl].includes(this.size)}}});function k(t,e,r,n,i,a,s,u){var l=typeof t=="function"?t.options:t;e&&(l.render=e,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId="data-v-"+a);var o;if(s?(o=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(h=__VUE_SSR_CONTEXT__),i&&i.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(s)},l._ssrRegister=o):i&&(o=u?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),o)if(l.functional){l._injectStyles=o;var d=l.render;l.render=function(f,C){return o.call(C),d(f,C)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,o):[o]}return{exports:t,options:l}}var Re=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()])},Ge=[],Ze=k(Ie,Re,Ge,!1,null,null,null,null);const m1=Ze.exports,je=L.extend({name:"EAvatar",components:{Badge:m1},props:{size:{type:String,default:x.md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:W.error},badgeText:{type:String,default:""},badgeSize:{type:String,default:x.md},image:{type:String,default:""}},data(){return{sizes:{[x.xs]:"e-w-8 e-h-8 e-text-xs",[x.sm]:"e-w-10 e-h-10 e-text-sm",[x.md]:"e-w-14 e-h-14 e-text-base",[x.lg]:"e-w-20 e-h-20 e-text-2xl",[x.xl]:"e-w-28 e-h-28 e-text-3xl",[x["2xl"]]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){return["e-flex e-items-center e-justify-center e-rounded-full e-bg-purple-500 e-text-white e-font-medium",this.sizes[this.size]||this.sizes[x.xs]]}}});var We=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 e-rounded-full",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)},Ne=[],Ue=k(je,We,Ne,!1,null,null,null,null);const O1=Ue.exports;function Ye(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var H1={},F1={},p1={};(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)`}})(p1);var A1={};(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","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","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","content"]})(A1);var I1={};(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(a=>r!==!1&&r[a]!==!1).concat(Object.keys(r).filter(a=>r[a]!==!1)))]}})(I1);var C1={},a1={},g1={exports:{}},I=String,R1=function(){return{isColorSupported:!1,reset:I,bold:I,dim:I,italic:I,underline:I,inverse:I,hidden:I,strikethrough:I,black:I,red:I,green:I,yellow:I,blue:I,magenta:I,cyan:I,white:I,gray:I,bgBlack:I,bgRed:I,bgGreen:I,bgYellow:I,bgBlue:I,bgMagenta:I,bgCyan:I,bgWhite:I}};g1.exports=R1(),g1.exports.createColors=R1;var G1=g1.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(l,o){for(var d in o)Object.defineProperty(l,d,{enumerable:!0,get:o[d]})}e(t,{dim:function(){return s},default:function(){return u}});const r=n(G1);function n(l){return l&&l.__esModule?l:{default:l}}let i=new Set;function a(l,o,d){typeof process!="undefined"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),o.forEach(m=>console.warn(l,"-",m)))}function s(l){return r.default.dim(l)}const u={info(l,o){a(r.default.bold(r.default.cyan("info")),...Array.isArray(l)?[l]:[o,l])},warn(l,o){a(r.default.bold(r.default.yellow("warn")),...Array.isArray(l)?[l]:[o,l])},risk(l,o){a(r.default.bold(r.default.magenta("risk")),...Array.isArray(l)?[l]:[o,l])}}})(a1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(a1);function r(a){return a&&a.__esModule?a:{default:a}}function n({version:a,from:s,to:u}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${a}, \`${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}}}(C1);var Z1={};(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 a;!(r==null||(a=r.hasOwnProperty)===null||a===void 0)&&a.call(r,u)||(r[u]=s[u])}}return r}})(Z1);var j1={};(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)}})(j1);var W1={},o1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(m,h){for(var f in h)Object.defineProperty(m,f,{enumerable:!0,get:h[f]})}e(t,{flagEnabled:function(){return u},issueFlagNotices:function(){return o},default:function(){return d}});const r=i(G1),n=i(a1);function i(m){return m&&m.__esModule?m:{default:m}}let a={optimizeUniversalDefaults:!1,generalizedModifiers:!0,get disableColorOpacityUtilitiesByDefault(){return!1},get relativeContentPathsByDefault(){return!1}},s={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function u(m,h){if(s.future.includes(h)){var f,C,E;return m.future==="all"||((E=(C=m==null||(f=m.future)===null||f===void 0?void 0:f[h])!==null&&C!==void 0?C:a[h])!==null&&E!==void 0?E:!1)}if(s.experimental.includes(h)){var P,A,R;return m.experimental==="all"||((R=(A=m==null||(P=m.experimental)===null||P===void 0?void 0:P[h])!==null&&A!==void 0?A:a[h])!==null&&R!==void 0?R:!1)}return!1}function l(m){if(m.experimental==="all")return s.experimental;var h;return Object.keys((h=m==null?void 0:m.experimental)!==null&&h!==void 0?h:{}).filter(f=>s.experimental.includes(f)&&m.experimental[f])}function o(m){if(process.env.JEST_WORKER_ID===void 0&&l(m).length>0){let h=l(m).map(f=>r.default.yellow(f)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${h}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=s})(o1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return a}});const e=o1,r=i(a1);function n(s){if(typeof WeakMap!="function")return null;var u=new WeakMap,l=new WeakMap;return(n=function(o){return o?l: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 l=n(u);if(l&&l.has(s))return l.get(s);var o={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in s)if(m!=="default"&&Object.prototype.hasOwnProperty.call(s,m)){var h=d?Object.getOwnPropertyDescriptor(s,m):null;h&&(h.get||h.set)?Object.defineProperty(o,m,h):o[m]=s[m]}return o.default=s,l&&l.set(s,o),o}function a(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(o=>typeof o=="string"?!0:!(typeof(o==null?void 0:o.raw)!="string"||o!=null&&o.extension&&typeof(o==null?void 0:o.extension)!="string"));if(typeof s.content=="object"&&s.content!==null){if(Object.keys(s.content).some(o=>!["files","relative","extract","transform"].includes(o)))return!1;if(Array.isArray(s.content.files)){if(!s.content.files.every(o=>typeof o=="string"?!0:!(typeof(o==null?void 0:o.raw)!="string"||o!=null&&o.extension&&typeof(o==null?void 0:o.extension)!="string")))return!1;if(typeof s.content.extract=="object"){for(let o of Object.values(s.content.extract))if(typeof o!="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 o of Object.values(s.content.transform))if(typeof o!="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 o;let{content:d,purge:m,safelist:h}=s;return Array.isArray(h)?h:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(m==null?void 0:m.safelist)?m.safelist:Array.isArray(m==null||(o=m.options)===null||o===void 0?void 0:o.safelist)?m.options.safelist:[]})(),s.blocklist=(()=>{let{blocklist:o}=s;if(Array.isArray(o)){if(o.every(d=>typeof d=="string"))return o;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 l;s.prefix=(l=s.prefix)!==null&&l!==void 0?l:""}s.content={relative:(()=>{let{content:o}=s;return o!=null&&o.relative?o.relative:(0,e.flagEnabled)(s,"relativeContentPathsByDefault")})(),files:(()=>{let{content:o,purge:d}=s;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(o)?o:Array.isArray(o==null?void 0:o.content)?o.content:Array.isArray(o==null?void 0:o.files)?o.files:[]})(),extract:(()=>{let o=(()=>{var h,f,C,E,P,A,R,H,G,Z;return!((h=s.purge)===null||h===void 0)&&h.extract?s.purge.extract:!((f=s.content)===null||f===void 0)&&f.extract?s.content.extract:!((C=s.purge)===null||C===void 0||(E=C.extract)===null||E===void 0)&&E.DEFAULT?s.purge.extract.DEFAULT:!((P=s.content)===null||P===void 0||(A=P.extract)===null||A===void 0)&&A.DEFAULT?s.content.extract.DEFAULT:!((R=s.purge)===null||R===void 0||(H=R.options)===null||H===void 0)&&H.extractors?s.purge.options.extractors:!((G=s.content)===null||G===void 0||(Z=G.options)===null||Z===void 0)&&Z.extractors?s.content.options.extractors:{}})(),d={},m=(()=>{var h,f,C,E;if(!((h=s.purge)===null||h===void 0||(f=h.options)===null||f===void 0)&&f.defaultExtractor)return s.purge.options.defaultExtractor;if(!((C=s.content)===null||C===void 0||(E=C.options)===null||E===void 0)&&E.defaultExtractor)return s.content.options.defaultExtractor})();if(m!==void 0&&(d.DEFAULT=m),typeof o=="function")d.DEFAULT=o;else if(Array.isArray(o))for(let{extensions:h,extractor:f}of o!=null?o:[])for(let C of h)d[C]=f;else typeof o=="object"&&o!==null&&Object.assign(d,o);return d})(),transform:(()=>{let o=(()=>{var m,h,f,C,E,P;return!((m=s.purge)===null||m===void 0)&&m.transform?s.purge.transform:!((h=s.content)===null||h===void 0)&&h.transform?s.content.transform:!((f=s.purge)===null||f===void 0||(C=f.transform)===null||C===void 0)&&C.DEFAULT?s.purge.transform.DEFAULT:!((E=s.content)===null||E===void 0||(P=E.transform)===null||P===void 0)&&P.DEFAULT?s.content.transform.DEFAULT:{}})(),d={};return typeof o=="function"&&(d.DEFAULT=o),typeof o=="object"&&o!==null&&Object.assign(d,o),d})()};for(let o of s.content.files)if(typeof o=="string"&&/{([^,]*?)}/g.test(o)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(o)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(o.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return s}}(W1);var N1={};(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||n===Object.prototype}})(N1);var U1={};(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}})(U1);var Y1={},X1={};(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 ")}})(X1);var v1={},_1={},q1={};(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]}})(q1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(C,E){for(var P in E)Object.defineProperty(C,P,{enumerable:!0,get:E[P]})}e(t,{parseColor:function(){return h},formatColor:function(){return f}});const r=n(q1);function n(C){return C&&C.__esModule?C:{default:C}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,a=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,s=/(?:\d+|\d*\.\d+)%?/,u=/(?:\s*,\s*|\s+)/,l=/\s*[,/]\s*/,o=/var\(--(?:[^ )]*?)\)/,d=new RegExp(`^(rgba?)\\(\\s*(${s.source}|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`),m=new RegExp(`^(hsla?)\\(\\s*((?:${s.source})(?:deg|rad|grad|turn)?|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`);function h(C,{loose:E=!1}={}){var P,A;if(typeof C!="string")return null;if(C=C.trim(),C==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(C in r.default)return{mode:"rgb",color:r.default[C].map(U=>U.toString())};let R=C.replace(a,(U,K,q,y,D)=>["#",K,K,q,q,y,y,D?D+D:""].join("")).match(i);if(R!==null)return{mode:"rgb",color:[parseInt(R[1],16),parseInt(R[2],16),parseInt(R[3],16)].map(U=>U.toString()),alpha:R[4]?(parseInt(R[4],16)/255).toString():void 0};var H;let G=(H=C.match(d))!==null&&H!==void 0?H:C.match(m);if(G===null)return null;let Z=[G[2],G[3],G[4]].filter(Boolean).map(U=>U.toString());return Z.length===2&&Z[0].startsWith("var(")?{mode:G[1],color:[Z[0]],alpha:Z[1]}:!E&&Z.length!==3||Z.length<3&&!Z.some(U=>/^var\(.*?\)$/.test(U))?null:{mode:G[1],color:Z,alpha:(P=G[5])===null||P===void 0||(A=P.toString)===null||A===void 0?void 0:A.call(P)}}function f({mode:C,color:E,alpha:P}){let A=P!==void 0;return C==="rgba"||C==="hsla"?`${C}(${E.join(", ")}${A?`, ${P}`:""})`:`${C}(${E.join(" ")}${A?` / ${P}`:""})`}}(_1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,s){for(var u in s)Object.defineProperty(a,u,{enumerable:!0,get:s[u]})}e(t,{withAlphaValue:function(){return n},default:function(){return i}});const r=_1;function n(a,s,u){if(typeof a=="function")return a({opacityValue:s});let l=(0,r.parseColor)(a,{loose:!0});return l===null?u:(0,r.formatColor)({...l,alpha:s})}function i({color:a,property:s,variable:u}){let l=[].concat(s);if(typeof a=="function")return{[u]:"1",...Object.fromEntries(l.map(d=>[d,a({opacityVariable:u,opacityValue:`var(${u})`})]))};const o=(0,r.parseColor)(a);return o===null?Object.fromEntries(l.map(d=>[d,a])):o.alpha!==void 0?Object.fromEntries(l.map(d=>[d,a])):{[u]:"1",...Object.fromEntries(l.map(d=>[d,(0,r.formatColor)({...o,alpha:`var(${u})`})]))}}}(v1);var y1={},V1={},l1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let i=[],a=[],s=0,u=!1;for(let l=0;l<r.length;l++){let o=r[l];i.length===0&&o===n[0]&&!u&&(n.length===1||r.slice(l,l+n.length)===n)&&(a.push(r.slice(s,l)),s=l+n.length),u?u=!1:o==="\\"&&(u=!0),o==="("||o==="["||o==="{"?i.push(o):(o===")"&&i[i.length-1]==="("||o==="]"&&i[i.length-1]==="["||o==="}"&&i[i.length-1]==="{")&&i.pop()}return a.push(r.slice(s)),a}})(l1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(l,o){for(var d in o)Object.defineProperty(l,d,{enumerable:!0,get:o[d]})}e(t,{parseBoxShadowValue:function(){return s},formatBoxShadowValue:function(){return u}});const r=l1;let n=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,a=/^-?(\d+|\.\d+)(.*?)$/g;function s(l){return(0,r.splitAtTopLevelOnly)(l,",").map(d=>{let m=d.trim(),h={raw:m},f=m.split(i),C=new Set;for(let E of f)a.lastIndex=0,!C.has("KEYWORD")&&n.has(E)?(h.keyword=E,C.add("KEYWORD")):a.test(E)?C.has("X")?C.has("Y")?C.has("BLUR")?C.has("SPREAD")||(h.spread=E,C.add("SPREAD")):(h.blur=E,C.add("BLUR")):(h.y=E,C.add("Y")):(h.x=E,C.add("X")):h.color?(h.unknown||(h.unknown=[]),h.unknown.push(E)):h.color=E;return h.valid=h.x!==void 0&&h.y!==void 0,h})}function u(l){return l.map(o=>o.valid?[o.keyword,o.x,o.y,o.blur,o.spread,o.color].filter(Boolean).join(" "):o.raw).join(", ")}}(V1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(g,w){for(var O in w)Object.defineProperty(g,O,{enumerable:!0,get:w[O]})}e(t,{normalize:function(){return o},url:function(){return m},number:function(){return h},percentage:function(){return f},length:function(){return P},lineWidth:function(){return R},shadow:function(){return H},color:function(){return G},image:function(){return Z},gradient:function(){return K},position:function(){return y},familyName:function(){return D},genericName:function(){return v},absoluteSize:function(){return S},relativeSize:function(){return z}});const r=_1,n=V1,i=l1;let a=["min","max","clamp","calc"];function s(g){return a.some(w=>new RegExp(`^${w}\\(.*\\)`).test(g))}const u="--tw-placeholder",l=new RegExp(u,"g");function o(g,w=!0){return g.startsWith("--")?`var(${g})`:g.includes("url(")?g.split(/(url\(.*?\))/g).filter(Boolean).map(O=>/^url\(.*?\)$/.test(O)?O:o(O,!1)).join(""):(g=g.replace(/([^\\])_+/g,(O,B)=>B+" ".repeat(O.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),w&&(g=g.trim()),g=d(g),g)}function d(g){return g.replace(/(calc|min|max|clamp)\(.+\)/g,w=>{let O=[];return w.replace(/var\((--.+?)[,)]/g,(B,f1)=>(O.push(f1),B.replace(f1,u))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(l,()=>O.shift())})}function m(g){return g.startsWith("url(")}function h(g){return!isNaN(Number(g))||s(g)}function f(g){return g.endsWith("%")&&h(g.slice(0,-1))||s(g)}let E=`(?:${["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 P(g){return g==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${E}$`).test(g)||s(g)}let A=new Set(["thin","medium","thick"]);function R(g){return A.has(g)}function H(g){let w=(0,n.parseBoxShadowValue)(o(g));for(let O of w)if(!O.valid)return!1;return!0}function G(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,"_").every(B=>(B=o(B),B.startsWith("var(")?!0:(0,r.parseColor)(B,{loose:!0})!==null?(w++,!0):!1))?w>0:!1}function Z(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,",").every(B=>(B=o(B),B.startsWith("var(")?!0:m(B)||K(B)||["element(","image(","cross-fade(","image-set("].some(f1=>B.startsWith(f1))?(w++,!0):!1))?w>0:!1}let U=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(g){g=o(g);for(let w of U)if(g.startsWith(`${w}(`))return!0;return!1}let q=new Set(["center","top","right","bottom","left"]);function y(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,"_").every(B=>(B=o(B),B.startsWith("var(")?!0:q.has(B)||P(B)||f(B)?(w++,!0):!1))?w>0:!1}function D(g){let w=0;return(0,i.splitAtTopLevelOnly)(g,",").every(B=>(B=o(B),B.startsWith("var(")?!0:B.includes(" ")&&!/(['"])([^"']+)\1/g.test(B)||/^\d/g.test(B)?!1:(w++,!0)))?w>0:!1}let T=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function v(g){return T.has(g)}let M=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function S(g){return M.has(g)}let _=new Set(["larger","smaller"]);function z(g){return _.has(g)}}(y1);var K1={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=y1,r=l1;function n(i){let a=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(s=>{let u=(0,r.splitAtTopLevelOnly)(s,"_").filter(Boolean);return u.length===1&&a.includes(u[0])?!0:u.length!==1&&u.length!==2?!1:u.every(l=>(0,e.length)(l)||(0,e.percentage)(l)||l==="auto")})}})(K1),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(y,D){for(var T in D)Object.defineProperty(y,T,{enumerable:!0,get:D[T]})}e(t,{updateAllClasses:function(){return o},asValue:function(){return h},parseColorFormat:function(){return E},asColor:function(){return A},asLookupValue:function(){return R},typeMap:function(){return G},coerceValue:function(){return K},getMatchingTypes:function(){return q}});const r=l(X1),n=v1,i=y1,a=l(p1),s=K1,u=o1;function l(y){return y&&y.__esModule?y:{default:y}}function o(y,D){y.walkClasses(T=>{T.value=D(T.value),T.raws&&T.raws.value&&(T.raws.value=(0,r.default)(T.raws.value))})}function d(y,D){if(!f(y))return;let T=y.slice(1,-1);if(D(T))return(0,i.normalize)(T)}function m(y,D={},T){let v=D[y];if(v!==void 0)return(0,a.default)(v);if(f(y)){let M=d(y,T);return M===void 0?void 0:(0,a.default)(M)}}function h(y,D={},{validate:T=()=>!0}={}){var v;let M=(v=D.values)===null||v===void 0?void 0:v[y];return M!==void 0?M:D.supportsNegativeValues&&y.startsWith("-")?m(y.slice(1),D.values,T):d(y,T)}function f(y){return y.startsWith("[")&&y.endsWith("]")}function C(y){let D=y.lastIndexOf("/");return D===-1||D===y.length-1?[y,void 0]:f(y)&&!y.includes("]/[")?[y,void 0]:[y.slice(0,D),y.slice(D+1)]}function E(y){if(typeof y=="string"&&y.includes("<alpha-value>")){let D=y;return({opacityValue:T=1})=>D.replace("<alpha-value>",T)}return y}function P(y){return(0,i.normalize)(y.slice(1,-1))}function A(y,D={},{tailwindConfig:T={}}={}){var v;if(((v=D.values)===null||v===void 0?void 0:v[y])!==void 0){var M;return E((M=D.values)===null||M===void 0?void 0:M[y])}let[S,_]=C(y);if(_!==void 0){var z,g,w,O;let B=(O=(z=D.values)===null||z===void 0?void 0:z[S])!==null&&O!==void 0?O:f(S)?S.slice(1,-1):void 0;return B===void 0?void 0:(B=E(B),f(_)?(0,n.withAlphaValue)(B,P(_)):((g=T.theme)===null||g===void 0||(w=g.opacity)===null||w===void 0?void 0:w[_])===void 0?void 0:(0,n.withAlphaValue)(B,T.theme.opacity[_]))}return h(y,D,{validate:i.color})}function R(y,D={}){var T;return(T=D.values)===null||T===void 0?void 0:T[y]}function H(y){return(D,T)=>h(D,T,{validate:y})}let G={any:h,color:A,url:H(i.url),image:H(i.image),length:H(i.length),percentage:H(i.percentage),position:H(i.position),lookup:R,"generic-name":H(i.genericName),"family-name":H(i.familyName),number:H(i.number),"line-width":H(i.lineWidth),"absolute-size":H(i.absoluteSize),"relative-size":H(i.relativeSize),shadow:H(i.shadow),size:H(s.backgroundSize)},Z=Object.keys(G);function U(y,D){let T=y.indexOf(D);return T===-1?[void 0,y]:[y.slice(0,T),y.slice(T+1)]}function K(y,D,T,v){if(T.values&&D in T.values)for(let{type:S}of y!=null?y:[]){let _=G[S](D,T,{tailwindConfig:v});if(_!==void 0)return[_,S,null]}if(f(D)){let S=D.slice(1,-1),[_,z]=U(S,":");if(!/^[\w-_]+$/g.test(_))z=S;else if(_!==void 0&&!Z.includes(_))return[];if(z.length>0&&Z.includes(_))return[h(`[${z}]`,T),_,null]}let M=q(y,D,T,v);for(let S of M)return S;return[]}function*q(y,D,T,v){let M=(0,u.flagEnabled)(v,"generalizedModifiers"),[S,_]=C(D);if(M&&T.modifiers!=null&&(T.modifiers==="any"||typeof T.modifiers=="object"&&(_&&f(_)||_ in T.modifiers))||(S=D,_=void 0),_!==void 0&&S===""&&(S="DEFAULT"),_!==void 0&&typeof T.modifiers=="object"){var g,w;let O=(w=(g=T.modifiers)===null||g===void 0?void 0:g[_])!==null&&w!==void 0?w:null;O!==null?_=O:f(_)&&(_=P(_))}for(let{type:O}of y!=null?y:[]){let B=G[O](S,T,{tailwindConfig:v});B!==void 0&&(yield[B,O,_!=null?_:null])}}}(Y1);var Q1={};(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}})(Q1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const e=f(p1),r=f(A1),n=f(I1),i=f(C1),a=Z1,s=j1,u=W1,l=f(N1),o=U1,d=Y1,m=v1,h=f(Q1);function f(v){return v&&v.__esModule?v:{default:v}}function C(v){return typeof v=="function"}function E(v,...M){let S=M.pop();for(let _ of M)for(let z in _){let g=S(v[z],_[z]);g===void 0?(0,l.default)(v[z])&&(0,l.default)(_[z])?v[z]=E({},v[z],_[z],S):v[z]=_[z]:v[z]=g}return v}const P={colors:i.default,negative(v){return Object.keys(v).filter(M=>v[M]!=="0").reduce((M,S)=>{let _=(0,e.default)(v[S]);return _!==void 0&&(M[`-${S}`]=_),M},{})},breakpoints(v){return Object.keys(v).filter(M=>typeof v[M]=="string").reduce((M,S)=>({...M,[`screen-${S}`]:v[S]}),{})}};function A(v,...M){return C(v)?v(...M):v}function R(v){return v.reduce((M,{extend:S})=>E(M,S,(_,z)=>_===void 0?[z]:Array.isArray(_)?[z,..._]:[z,_]),{})}function H(v){return{...v.reduce((M,S)=>(0,a.defaults)(M,S),{}),extend:R(v)}}function G(v,M){if(Array.isArray(v)&&(0,l.default)(v[0]))return v.concat(M);if(Array.isArray(M)&&(0,l.default)(M[0])&&(0,l.default)(v))return[v,...M];if(Array.isArray(M))return M}function Z({extend:v,...M}){return E(M,v,(S,_)=>!C(S)&&!_.some(C)?E({},S,..._,G):(z,g)=>E({},...[S,..._].map(w=>A(w,z,g)),G))}function*U(v){let M=(0,s.toPath)(v);if(M.length===0||(yield M,Array.isArray(v)))return;let S=/^(.*?)\s*\/\s*([^/]+)$/,_=v.match(S);if(_!==null){let[,z,g]=_,w=(0,s.toPath)(z);w.alpha=g,yield w}}function K(v){const M=(S,_)=>{for(const z of U(S)){let g=0,w=v;for(;w!=null&&g<z.length;)w=w[z[g++]],w=C(w)&&(z.alpha===void 0||g<=z.length-1)?w(M,P):w;if(w!==void 0){if(z.alpha!==void 0){let O=(0,d.parseColorFormat)(w);return(0,m.withAlphaValue)(O,z.alpha,(0,h.default)(O))}return(0,l.default)(w)?(0,o.cloneDeep)(w):w}}return _};return Object.assign(M,{theme:M,...P}),Object.keys(v).reduce((S,_)=>(S[_]=C(v[_])?v[_](M,P):v[_],S),{})}function q(v){let M=[];return v.forEach(S=>{M=[...M,S];var _;const z=(_=S==null?void 0:S.plugins)!==null&&_!==void 0?_:[];z.length!==0&&z.forEach(g=>{g.__isOptionsFunction&&(g=g());var w;M=[...M,...q([(w=g==null?void 0:g.config)!==null&&w!==void 0?w:{}])]})}),M}function y(v){return[...v].reduceRight((S,_)=>C(_)?_({corePlugins:S}):(0,n.default)(_,S),r.default)}function D(v){return[...v].reduceRight((S,_)=>[...S,..._],[])}function T(v){let M=[...q(v),{prefix:"",important:!1,separator:":"}];var S,_;return(0,u.normalizeConfig)((0,a.defaults)({theme:K(Z(H(M.map(z=>(S=z==null?void 0:z.theme)!==null&&S!==void 0?S:{})))),corePlugins:y(M.map(z=>z.corePlugins)),plugins:D(v.map(z=>(_=z==null?void 0:z.plugins)!==null&&_!==void 0?_:[]))},...M))}}(F1);var J1={},Xe={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:"0",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","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"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-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",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",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))"},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",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",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({none:"none",0:"0rem",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:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",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",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",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%"}),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",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(Xe),r=o1;function n(a){return a&&a.__esModule?a:{default:a}}function i(a){var s;const u=((s=a==null?void 0:a.presets)!==null&&s!==void 0?s:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),l={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(l).filter(d=>(0,r.flagEnabled)(a,d)).map(d=>l[d]);return[a,...o,...u]}})(J1),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(F1),r=n(J1);function n(a){return a&&a.__esModule?a:{default:a}}function i(...a){let[,...s]=(0,r.default)(a[0]);return(0,e.default)([...a,...s])}}(H1);let b1=H1;var qe=(b1.__esModule?b1:{default:b1}).default;const Ve=Ye(qe);let x1=C1;var X=(x1.__esModule?x1:{default:x1}).default;const Ke={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},N={onprimary:X.white,warning:X.amber,error:X.rose,info:X.cyan,success:X.lime,primary:X.sky,brand:Ke,"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"}},Qe={...N,warning:N.warning[500],"warning-darken":N.warning[600],"warning-lighten":N.warning[400],success:N.success[500],"success-darken":N.success[600],"success-lighten":N.success[400],error:N.error[500],"error-darken":N.error[600],"error-lighten":N.error[400],info:N.info[500],"info-darken":N.info[600],"info-lighten":N.info[400],primary:N.primary[500],"primary-darken":N.primary[600],"primary-lighten":N.primary[400],onsurface:X.slate[500],onbackground:X.slate[700],surface:X.slate[50],background:X.white},M1=Ve({prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{colors:Qe,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:[],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)/}]}),ee=M1.theme.fontSize,te=M1.theme.colors,Je=[x.dot,x.xs,x.sm,x.md,x.lg,x.xl],e0=[x.xs,x.sm,x.md,x.lg,x.xl,x["2xl"]],re=[x.xs,x.sm,x.md,x.base,x.lg,x.xl,x["2xl"],x["3xl"],x["4xl"],x["5xl"],x["6xl"],x["7xl"],x["8xl"],x["9xl"]],t0=[x.sm,x.md,x.base,x.lg],r0=[W.warning,W.error,W.info,W.success,W.primary,W.default],n0=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],s0=L.extend({name:"EIcon",props:{icon:{type:String,default:""},color:{type:String,default:W.default},size:{type:String,default:x.sm}},computed:{sizes(){return re.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconClasses(){var n,i;const t=this.sizes[this.size]||this.sizes[x.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 i0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-icon"},[r("i",{class:e.iconClasses})])},a0=[],o0=k(s0,i0,a0,!1,null,null,null,null);const c1=o0.exports,l0=L.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:x.base},opacity:{type:[String,Number],default:1}},data(){return{sizes:ee,colors:te}},computed:{computedSize(){return this.sizes[x[this.size]]||this.size||this.sizes[x.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"]}`}}}}),l3="";var c0=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"}})])},u0=[],d0=k(l0,c0,u0,!1,null,"29711f67",null,null);const L1=d0.exports,h0=L.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}}}}),c3="";var f0=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)},m0=[],p0=k(h0,f0,m0,!1,null,null,null,null);const ne=p0.exports,C0=L.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}}}),u3="";var g0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},v0=[],_0=k(C0,g0,v0,!1,null,null,null,null);const se=_0.exports;function S1(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function ie(t){if(S1())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 ae(){if(!S1())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 oe(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)}}const y0=L.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("apply-zoomable-style",{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 a=t.clientX,s=t.clientY,u=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),l=this.scale;this.scale+=u/10,this.updateZoomScale();const o=((a-i.left)/i.width).toFixed(2),d=((s-i.top)/i.height).toFixed(2);this.left=Math.round(a-n.left-Number(o)*(i.width*this.scale/l)),this.top=Math.round(s-n.top-Number(d)*(i.height*this.scale/l));const m=0,h=0-n.width*(this.scale-1),f=0-n.height*(this.scale-1),C=0;this.left<h?this.left=h:this.left>m&&(this.left=m),this.top<f?this.top=f:this.top>C&&(this.top=C),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,a,s,u]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(l=>l<0?l:0);this.left+=u-a,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)}}}),d3="";var b0=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()])])},x0=[],M0=k(y0,b0,x0,!1,null,"270d2bfd",null,null);const w1=M0.exports,$1=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),le=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],T1=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${$1.format(e)}`:`${n}:${$1.format(r)}:${$1.format(e)}`},L0=L.extend({name:"VideoPlayer",components:{ESpinner:L1,EZoomable:w1},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 e1,playbackRetries:0,preloadedSeconds:0,preloadedInterval:{}}},computed:{posterUrl(){var t;return(t=this.videoOptions)==null?void 0:t.poster},sourceItems(){return Array.isArray(this.sources)?this.sources:[{src:this.sources}]},hasStartedOrFinished(){return(this.isFinished||this.realtime<=.1)&&!this.isLoading&&!this.isLooped()},withControls(){const t=this.videoOptions;return(t==null?void 0:t.controls)===!1?"hide":""}},watch:{isPlaying:{immediate:!0,handler(t){this.togglePlay(),this.isHls&&(t?this.$emit("hls-play"):this.$emit("hls-pause"))}},preloadedSeconds(t){this.preloadedInterval={start:j(this.targetTimestamp).format(),end:j(this.targetTimestamp).add(t,"seconds").format()},this.$emit("preloaded-interval",this.preloadedInterval)},targetTimestamp:{immediate:!0,handler(t){var a,s;if(!this.isHls)return;const e=this.$refs.player,r=(a=this.preloadedInterval)==null?void 0:a.start,n=(s=this.preloadedInterval)==null?void 0:s.end;if(!(r&&n))return;const i=j(t).isBetween(j(r),j(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,a,s,u;const e=this.$refs.player,r=this.sources[0];(n=this.player)!=null&&n.stopLoad&&this.player.stopLoad(),e1.isSupported()&&(this.isLoading=!0,this.player=new e1({startPosition:0,xhrSetup:l=>{this.streamingToken&&l.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),(i=this.player)==null||i.loadSource(t||r.src),(a=this.player)==null||a.attachMedia(e),(s=this.player)==null||s.on(e1.Events.MANIFEST_PARSED,(l,o)=>{var h;const d=(h=o.levels[o.firstLevel])==null?void 0:h.details,m=d==null?void 0:d.startTimeOffset;e.currentTime=m||0,this.playing&&e.play()}),(u=this.player)==null||u.on(e1.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 o;if(!e.fatal)return;this.$emit("hls-error",e);const r=e.type===e1.ErrorTypes.NETWORK_ERROR,n=e.type===e1.ErrorTypes.MEDIA_ERROR,i=r&&((o=e.networkDetails)==null?void 0:o.status)===404,a=this.$refs.player,s=()=>this.fallbackSrc&&(a==null?void 0:a.currentSrc)!==this.fallbackSrc,u=()=>this.initHls(this.fallbackSrc),l=()=>{if(s()){u();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(i){l();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()),l()},bindEvents(){const t=this.$refs.player;le.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;le.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=T1(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&&(ae().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(ie(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=T1(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=T1(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(),a=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=a*this.videoDuration,n.currentTime=a*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}}}}),h3="";var S0=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"video-container paused"},[r("EZoomable",{attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground},on:{"apply-zoomable-style":function(n){return e.$emit("apply-zoomable-style",n)}},scopedSlots:e._u([{key:"overlay",fn:function(){return[e._t("zoomable-overlay")]},proxy:!0}],null,!0)},[e._t("background",function(){return[r("div",{staticClass:"e-relative e-overflow-hidden"},[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",attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("poster-error",n)}}})])]}),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,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"},[r("i",{staticClass:"fa-solid fa-video-slash fa-2xl e-align-middle"}),r("span",[e._v("This video file cannot be played.")])]):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",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)},w0=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],$0=k(L0,S0,w0,!1,null,"c8a047eb",null,null);const ce=$0.exports,u1=t=>{const e=c.utcFormat("%_d")(t),n={1:"st",2:"nd",3:"rd"}[e.charAt(1)]||"th";return`${e}${n}`},ue=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":c.utcFormat("%-d")(t),n1=t=>["0"," 0","00"].includes(c.utcFormat("%H")(t))?"":`${c.utcFormat("%H")(t)}h`,Q=t=>{const e=c.utcFormat("%H:%M")(t);return e==="00:00"?"":e},k1=t=>c.utcFormat("%M:%S")(t),de=t=>`${c.utcFormat("%Hh%Mm")(t)}`,E1=t=>{const e=Q(t),r=u1(t),n=c.utcFormat("%B")(t);return e||`${n} ${r}`},z1=t=>{const e=Q(t),r=Number.parseInt(c.utcFormat("%H")(t)),n=u1(t),i=c.utcFormat("%B")(t);return e&&r%6===0?`${i} ${n} ${e}`:E1(t)},s1=t=>e=>{const r=c.utcFormat("%H")(e);return!(c.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},D1=t=>e=>{const r=c.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},he=t=>e=>{const r=c.utcFormat("%M")(e),n=c.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},b={_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},T0={[t1.overview]:[{precision:b._30_seconds,interval:c.utcMinute.every(2),format:de},{precision:b._1_minute,interval:c.utcMinute.every(5),format:de},{precision:b._2_minutes,interval:c.utcMinute.every(10),format:E1},{precision:b._5_minutes,interval:c.utcMinute.every(20),format:z1},{precision:b._15_minutes,interval:c.utcHour,format:z1},{precision:b._30_minutes,interval:c.utcHour.every(2),format:z1},{precision:b._2_hours,interval:c.utcHour.every(6),format:t=>{const e=Q(t),r=u1(t),n=c.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:b._3_hours,interval:c.utcHour.every(12),format:E1},{precision:b._6_hours,interval:c.utcHour.every(24),format:t=>{const e=u1(t);return`${c.utcFormat("%b")(t)} ${e}`}},{precision:b._2_days,interval:c.utcMonth,format:t=>{const r=t.getUTCMonth()===0&&t.getUTCDate()===1?"%Y – %B":"%B";return c.utcFormat(r)(t)}},{precision:b._2_year,interval:c.utcYear.every(1),format:"%Y"},{precision:b._5_years,interval:c.utcYear.every(5),format:"%Y"},{precision:b._20_years,interval:c.utcYear.every(20),format:"%Y"},{precision:b._75_years,interval:c.utcYear.every(75),format:"%Y"},{precision:b._300_years,interval:c.utcYear.every(300),format:"%Y"},{precision:b.infinity,interval:c.utcMonth.every(12),format:"%Y"}],[t1.detailed]:[{precision:b._10_seconds,interval:c.utcSecond.every(10),format:k1},{precision:b._20_seconds,interval:(ke=c.utcSecond.every(20))==null?void 0:ke.filter(he(2)),format:k1},{precision:b._30_seconds,interval:(Ee=c.utcSecond.every(30))==null?void 0:Ee.filter(he(2)),format:k1},{precision:b._1_minute,interval:c.utcMinute.filter(D1(5)),format:Q},{precision:b._2_minutes,interval:(ze=c.utcMinute.every(2))==null?void 0:ze.filter(D1(10)),format:Q},{precision:b._5_minutes,interval:(De=c.utcMinute.every(5))==null?void 0:De.filter(D1(20)),format:Q},{precision:b._15_minutes,interval:(Be=c.utcMinute.every(15))==null?void 0:Be.filter(s1(1)),format:Q},{precision:b._30_minutes,interval:(Pe=c.utcMinute.every(30))==null?void 0:Pe.filter(s1(2)),format:Q},{precision:b._1_hour,interval:c.utcHour.filter(s1(6)),format:n1},{precision:b._2_hours,interval:(Oe=c.utcHour.every(2))==null?void 0:Oe.filter(s1(6)),format:n1},{precision:b._3_hours,interval:(He=c.utcHour.every(3))==null?void 0:He.filter(s1(12)),format:n1},{precision:b._4_hours,interval:c.utcHour.every(4),format:n1},{precision:b._6_hours,interval:c.utcHour.every(6),format:n1},{precision:b._1_day,interval:c.utcDay,format:ue},{precision:b._2_days,interval:c.utcDay.every(2),format:ue},{precision:b._1_month,interval:c.utcMonth,format:"%B"},{precision:b._1_month_abbr,interval:c.utcMonth,format:"%b"},{precision:b._1_month_letter,interval:c.utcMonth,format:t=>c.utcFormat("%B")(t).charAt(0)},{precision:b._3_months,interval:c.utcMonth.every(3),format:"Q%q"},{precision:b._2_year,interval:c.utcMonth.every(6),format:"Q%q"},{precision:b._5_years,interval:c.utcYear.every(2),format:"%Y"},{precision:b._20_years,interval:c.utcYear.every(4),format:"%Y"},{precision:b._75_years,interval:c.utcYear.every(25),format:"%Y"},{precision:b._300_years,interval:c.utcYear.every(100),format:"%Y"},{precision:b.infinity,interval:c.utcYear.every(500),format:""}],[t1.detailedBackground]:[{precision:b._10_seconds,interval:c.utcSecond,format:""},{precision:b._20_seconds,interval:c.utcSecond.every(5),format:""},{precision:b._30_seconds,interval:c.utcSecond.every(10),format:""},{precision:b._1_minute,interval:c.utcSecond.every(20),format:""},{precision:b._2_minutes,interval:c.utcSecond.every(30),format:""},{precision:b._5_minutes,interval:c.utcMinute,format:""},{precision:b._15_minutes,interval:c.utcMinute.every(3),format:""},{precision:b._30_minutes,interval:c.utcMinute.every(6),format:""},{precision:b._1_hour,interval:c.utcMinute.every(15),format:""},{precision:b._2_hours,interval:c.utcMinute.every(30),format:""},{precision:b._3_hours,interval:c.utcHour,format:""},{precision:b._4_hours,interval:c.utcHour,format:""},{precision:b._6_hours,interval:c.utcMinute.every(120),format:""},{precision:b._1_day,interval:c.utcHour.every(8),format:""},{precision:b._2_days,interval:c.utcHour.every(12),format:""},{precision:b._1_month,interval:c.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:b._1_month_abbr,interval:c.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:b._1_month_letter,interval:c.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:b._3_months,interval:c.utcMonth,format:""},{precision:b._3_months,interval:c.utcMonth,format:""},{precision:b._2_year,interval:c.utcYear,format:""},{precision:b._5_years,interval:c.utcYear.every(2),format:""},{precision:b._20_years,interval:c.utcYear.every(5),format:""},{precision:b._75_years,interval:c.utcYear.every(20),format:""},{precision:b._300_years,interval:c.utcYear.every(100),format:""},{precision:b.infinity,interval:c.utcYear.every(500),format:""}]},d1={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__)}},fe=[{name:"resize-observer",definition:d1}],J={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"},k0=L.extend({name:"ETimeline",directives:{resizeObserver:d1},props:{milestone:{type:Object,required:!0},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}},data(){return{milestoneClasses:J,timeouts:[],isInitialRender:!0,isMouseOver:!1}},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.size}px`,height:`${this.size}px`}},positionStyles(){return this.dot&&this.isMouseOver?{transform:`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}},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.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(),a=e.dataset.timeoutId;a&&(clearTimeout(Number(a)),e.dataset.timeoutId=""),e.dataset.initialWidth||(e.dataset.initialWidth=e.style.width),e.dataset.initialHeight||(e.dataset.initialHeight=e.style.height),e.dataset.initialContentWidth||(e.dataset.initialContentWidth=String(i.width)),e.dataset.initialContentHeight||(e.dataset.initialContentHeight=String(i.height)),e.dataset.transitionStart=String(Date.now()),e.style.width=e.dataset.initialContentWidth+"px",e.style.height=e.dataset.initialContentHeight+"px",e.style.borderRadius="0.5em",e.classList.add(J.milestoneHovered),r.style.opacity="1",r.style.width=e.dataset.initialContentWidth+"px",r.style.height=e.dataset.initialContentHeight+"px"},onMilestoneMouseMove(){this.timeouts.forEach(t=>clearTimeout(t)),this.isMouseOver=!0},onMilestoneMouseLeave(t){if(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,a=setTimeout(()=>{e.classList.remove(J.milestoneHovered),e.dataset.timeoutId=""},i);e.dataset.timeoutId=String(a),this.timeouts.push(a)},onMilestoneClick(t,e){this.$emit("milestone-click",e)}}}),f3="";var E0=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:{[e.milestoneClasses.milestone]:!0,[e.milestoneClasses.milestoneBullet]:!e.dot,[e.milestoneClasses.milestoneHovered]:e.isMouseOver&&!e.dot,[e.milestoneClasses.milestoneDot]:e.dot,[e.milestoneClasses.milestoneDotHovered]:e.isMouseOver&&e.dot},style:e.styles,attrs:{tabindex:"0"},on:{mouseover:n=>e.onMilestoneMouseOver(n,e.milestone),mousemove:e.onMilestoneMouseMove,mouseleave:n=>e.onMilestoneMouseLeave(n,e.milestone),click:n=>e.onMilestoneClick(n,e.milestone)}},[r("div",{class:e.milestoneClasses.milestoneContent,style:e.contentStyles},[e._t("content",function(){return[r("span",[e._v(" "+e._s(e.milestone.text)+" ")])]})],2),e.dot?r("div",{class:e.milestoneClasses.milestoneDotContainer,style:e.dotContainerStyles},[r("div",{class:e.milestoneClasses.milestoneDotLine,style:e.lineStyles}),r("div",{class:e.milestoneClasses.milestoneDotDot,style:e.dotStyles})]):r("div",{class:e.milestoneClasses.milestoneLabel,style:e.labelStyles},[e._t("label")],2)])},z0=[],D0=k(k0,E0,z0,!1,null,null,null,null);const B0=D0.exports,p={eventGroup:"event-group",eventGroupBg:"event-group-bg",eventRect:"event-rect",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",xAxis:"x-axis",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"milestone",milestoneLine:"milestone-line",milestonesContainer:"milestones",milestoneHovered:"milestone--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",curtain:"curtain",forbiddenInterval:"forbidden-interval"},V={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern"},P0=L.extend({name:"ETimeline",directives:{resizeObserver:d1},components:{ETimelineMilestone:B0},props:{eventsGroups:{type:Object,default:()=>({})},xAxesConfig:{type:Object,default:()=>T0},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},curtains:{type:Boolean,default:!1},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},minZoom:{type:Number,default:1e-4},maxZoom:{type:Number,default:85e4},minDate:{type:String,default:void 0},maxDate:{type:String,default:void 0},cursorTimestamp:{type:[String,void 0],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}},data(){return{tooltip:null,cursor:null,timeline:null,wrapperDiv:null,selectedTimestampCursor:null,svg:null,axesContainer:null,xAxes:{},timeScale:null,initialTimeScale:null,currentTimeScaleDensity:null,zoomBehavior:null,isMouseDown:!1,axisHeight:22,isHoveringEvent:!1,hoveredEvent:null,isHoveringTimeline:!1,hoveredTimestamp:null,eventTooltipStyle:{},hoveredEventType:null,utcOffset:0,lastTransform:{x:0,k:1},transformDiff:{translation:0,scale:1},yScale:null,hoveredCounts:[],countsByTimestamp:{},dotsByTimestamp:{},visibleFrom:null,visibleTo:null,curtainHandleWidth:5,leftCurtainWidth:50,rightCurtainWidth:50,isHoveringCurtain:!1,isDraggingCurtain:!1,characterWidth:7.5,textPadding:5,debouncedOnResize:()=>{},isFirstPaint:!0,timeouts:[],groupsVisibility:{},markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0,selectedMilestoneId:null,isInitialized:!1,lastValidTransform:c.zoomIdentity,lastPanTransform:c.zoomIdentity,isZoomingInterval:!1}},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},classes(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark,"e-timeline--dragging":this.isInteractingWithCurtain},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===Y.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||[Y.bars,Y.dots].includes(r.chartType)?{...t,[e]:r}:t,{})},barChartGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Y.barChart?{...t,[e]:r}:t,{})},milestonesGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===Y.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(){const t=Object.keys(this.xAxesConfig).length-1;return this.axisHeight*t},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)}}),{})},isInteractingWithCurtain(){return this.isHoveringCurtain||this.isDraggingCurtain},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):[]}},watch:{dark(){this.handleDarkModeChange()},selectedTimestamp(){this.repositionSelectedTimestampCursor()},markers(){this.updateMarkers(),this.fitMarkersOnChange&&this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},eventsGroups(){this.updateAndRedrawTimeline()},cursorTimestamp(){if(this.cursorTimestamp){this.hoveredTimestamp=this.cursorTimestamp;const t=this.tzStringToDate(this.hoveredTimestamp),e=this.timeScale(t);this.cursor.style.left=e+"px",this.isHoveringTimeline=!0}else this.isHoveringTimeline=!1},selectedDate(t){t&&!this.locked&&this.panToTimestamp(t)},groupsVisibility(){this.updateAndRedrawTimeline()},forbiddenIntervals(){this.updateForbiddenIntervals(!0)},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&this.zoomToTargetInterval(t.startDate,t.endDate)}},created(){this.debouncedOnResize=oe(this.handleResize,100)},mounted(){this.initTimeline()},beforeDestroy(){this.clearTimeline(),document.removeEventListener("mouseup",this.handleDocumentMouseUp)},methods:{updateTimeline(){this.initOrUpdateSvg(),this.updateXAxes(),this.updateYScaleDomain(),this.updateForbiddenIntervals(),this.drawEventsGroups(),this.updateCurtains(),this.repositionSelectedTimestampCursor(),this.updateMarkers(),this.registerEventsListeners(),this.isInitialized=!0},initTimeline(t,e){if(this.initRefs(),!this.timeline||this.timeline.offsetWidth===0){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.initOrUpdateSvg(),this.initDefs(),this.initUtcOffset(),this.initTimeScale(t,e),this.initXAxes(),this.initYScale(),this.initZoomBehavior(),this.drawEventsGroups(),this.curtains&&(this.initCurtains(),this.emitCurtainChange()),this.initSelectedTimestampCursor(),this.updateMarkers(),this.registerEventsListeners(),this.emitVisibleInterval(r1.initial),this.selectedDate&&this.panOnDateClick&&this.panToTimestamp(this.selectedDate),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.cursor=this.$refs.cursor,this.timeline=this.$refs.timelineContainer,this.selectedTimestampCursor=this.$refs.selectedTimestamp,this.wrapperDiv=this.$refs.wrapperDiv},initOrUpdateSvg(){this.svg||(this.svg=c.select(this.timeline).append("svg")),this.svg.attr("width",this.timeline.offsetWidth).attr("height",this.timelineHeight)},initDefs(){const t=this.svg.append("defs");Object.entries(this.filteredEventsGroups).forEach(([r,n])=>{const{color:i,chartType:a}=n,s=t.append("linearGradient").attr("id",`${V.loadingGradient}-${r}`).attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");s.append("stop").attr("offset","0%").attr("stop-color",i).attr("stop-opacity","0"),s.append("stop").attr("offset","50%").attr("stop-color",i).attr("stop-opacity","0.6"),s.append("stop").attr("offset","100%").attr("stop-color",i).attr("stop-opacity","0"),[Y.lineGraph,Y.barChart].includes(a)&&[{id:V.transparencyGradientLight,stop:38,opacity:.3},{id:V.transparencyGradient,stop:130,opacity:.4}].forEach(({id:l,stop:o,opacity:d})=>{const m=t.append("linearGradient").attr("id",`${l}-${r}`).attr("x1","0%").attr("x2","0%").attr("y1","0%").attr("y2","100%");m.append("stop").attr("offset","0%").style("stop-color",i).style("stop-opacity",d),m.append("stop").attr("offset",`${o}%`).style("stop-color",i).style("stop-opacity",0)})}),t.append("pattern").attr("id",V.stripedPattern).attr("width",5).attr("height",3).attr("patternUnits","userSpaceOnUse").attr("patternTransform","rotate(45)").append("rect").attr("width",1).attr("height",4).attr("transform","translate(0,0)").attr("fill",this.forbiddenIntervalColor)},initUtcOffset(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate;this.utcOffset=j.parseZone(t).utcOffset()},initTimeScale(t,e){const r=t||this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate,n=e||this.endDate||this.latestEvent.timestamp||this.latestEvent.endDate;this.timeScale=c.scaleTime().domain([this.tzStringToDate(r),this.tzStringToDate(n)]).range([0,this.timeline.offsetWidth]),this.initialTimeScale=this.timeScale.copy(),this.updateCurrentTimeScaleDensity()},initXAxes(){let t=0;const e=5;for(const r in this.xAxesConfig){const n=this.createAxis(r);this.xAxes[r]=n,this.svg.append("g").classed(p.xAxis,!0).classed(`${p.xAxis}-${r}`,!0).attr("transform",`translate(0, ${t||e})`).call(n),this.translateTicksText(r),t+=this.axisHeight}this.updateXAxes()},updateXAxes(){let t=0;const e=5;for(const r in this.xAxesConfig){const n=this.xAxes[r];n.tickSizeOuter(0),n.tickSizeInner(this.timelineHeight),this.svg.select(`.${p.xAxis}-${r}`).attr("transform",`translate(0, ${t||e})`).call(n),this.translateTicksText(r),t+=this.axisHeight}},initYScale(){this.yScale=c.scaleLinear().range([this.chartHeight,0]),this.updateYScaleDomain()},updateYScaleDomain(){const[t,e]=this.timeScale.domain(),r=this.flattenedCounts.filter(i=>{const a=new Date(i.startDate||i.timestamp),s=new Date(i.endDate||i.timestamp);return s>=t&&s<=e||a>=t&&a<=e}),n=c.max(r,i=>i.count);this.yScale.domain([0,n])},initZoomBehavior(){this.disableZoom||(this.zoomBehavior=c.zoom().on("zoom",this.handleZoom).scaleExtent([this.minZoom,this.maxZoom]),this.svg.call(this.zoomBehavior),this.svg.call(this.zoomBehavior.transform,c.zoomIdentity))},zoomToFitMarkers(){const t=this.markers.map(n=>new Date(n.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t);this.zoomToTargetInterval(e,r)},zoomToTargetInterval(t,e){if(!t||!e)return;this.isZoomingInterval=!0;const r=new Date(t).getTime(),n=new Date(e).getTime(),i=this.initialTimeScale.domain().map(m=>m.getTime()),a=i[1]-i[0],s=n-r,u=.1*s,l=s+2*u;let o=a/l;const d=this.zoomBehavior.scaleExtent();o=Math.min(Math.max(o,d[0]),d[1]),this.svg.transition().duration(this.zoomToIntervalTransitionDuration/2).call(this.zoomBehavior.scaleTo,o).on("end",()=>this.translateIntervalIntoView(r,n,o))},translateIntervalIntoView(t,e,r){const n=this.timeScale(new Date(t)),i=this.timeScale(new Date(e)),a=(n+i)/2,u=this.svg.node().getBoundingClientRect().width/2-a,l=c.zoomTransform(this.svg.node());this.svg.transition().duration(this.zoomToIntervalTransitionDuration/2).call(this.zoomBehavior.transform,c.zoomIdentity.translate(l.x+u,l.y).scale(r)).on("end",()=>{this.isZoomingInterval=!1})},initSelectedTimestampCursor(){this.svg.append("line").attr("class",p.selectedTimestampCursor).style("stroke","red").style("stroke-width","1px").style("opacity",0).attr("x1",0).attr("x2",0).attr("y1",0),this.repositionSelectedTimestampCursor()},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.sortedMarkers.forEach((r,n,i)=>{const a=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,s=this.timeScale(a);let u=!1;const l=this.stickyMarkers?Math.max(s,n*t):s;if(n<i.length-1){const o=i[n+1],d=typeof o.timestamp=="string"?this.tzStringToDate(o.timestamp):o.timestamp,m=this.timeScale(d);u=(this.stickyMarkers?Math.max(m,(n+1)*t):s)-l<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:u,position:l}}}),this.initMarkersDragBehavior()},updateAndRedrawTimeline(){this.updateTimeline()},clearTimeline(){this.svg&&this.svg.remove(),this.countsByTimestamp={}},repositionSelectedTimestampCursor(){const t=this.svg.select(`.${p.selectedTimestampCursor}`);if(!this.selectedTimestamp){t.style("opacity",0);return}const e=this.tzStringToDate(this.selectedTimestamp),r=this.timeScale(e);isNaN(r)?t.style("opacity",0):t.attr("x1",r).attr("x2",r).style("opacity",.5),t.attr("y2",this.timelineHeight)},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)},registerEventsListeners(){document.addEventListener("mouseup",this.handleDocumentMouseUp),this.svg.on("mousedown",this.handleMouseDown),this.svg.on("mousemove",this.handleMouseMove),this.svg.on("click",this.handleClick),this.svg.on("mouseleave",this.handleMouseLeave)},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})},createAxis(t){const e=this.xAxesConfig[t],r=this.getAxisTicksConfig(e);return c.axisBottom(this.timeScale).ticks(r.interval).tickFormat(r.formatFn).tickSizeOuter(0).tickSizeInner(this.timelineHeight)},getAxisTicksConfig(t){const{interval:e,format:r}=t.find(i=>i.precision>=this.currentTimeScaleDensity&&i.interval);return{formatFn:i=>typeof r=="function"?r(i):c.timeFormat(r)(i),interval:e}},onResize(t){this.isFirstPaint?(this.handleResize(t),this.isFirstPaint=!1):this.debouncedOnResize(t)},handleResize({contentRect:t}){this.svg&&(this.svg.attr("width",t.width),this.updateAndRedrawTimeline())},handleDarkModeChange(){if(!this.showLabels)return;const t=this;this.svg.selectAll(`.${p.labelBg}`).each(function(){c.select(this).style("fill",t.dark?"black":"white")}),this.svg.selectAll(`.${p.labelBgFill}`).each(function(){const e=c.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(`.${p.labelText}`).each(function(){const e=c.select(this),r=e.node().dataset.color;e.style("fill",t.getTextFillColor(r))})},handleMouseDown(){this.isMouseDown=!0},handleDocumentMouseUp(t){this.isMouseDown=!1},handleMouseLeave(){this.isHoveringTimeline=!1,this.$emit("hovered-timestamp",void 0)},handleMouseMove(t){if(this.isMouseDown)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("hovered-timestamp",this.hoveredTimestamp),this.cursor.style.left=e+"px",this.tooltip&&(this.eventTooltipStyle={left:`${e}px`,bottom:`${this.timeline.getBoundingClientRect().height}px`,zIndex:100})},handleClick(t){const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);this.isHoveringEvent&&(this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation)||(this.$emit("date-clicked",n),this.panOnDateClick&&this.panToTimestamp(n))},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&this.panToTimestamp(t.timestamp)},handleLineMouseOver(t,e,r){this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp}`]).reduce((n,i)=>{const[a,s]=i;return[...n,{type:a,count:s}]},[]),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){c.selectAll(`.${p.lineGraphGroup}-${t}`).classed(`${p.lineGraphGroup}--highlighted`,!0),c.selectAll(`.${p.lineGraphGroupLabel}`).classed(`${p.lineGraphGroupLabel}--highlighted`,!0)},handleLabelMouseLeave(t){c.selectAll(`.${p.lineGraphGroup}-${t}`).classed(`${p.lineGraphGroup}--highlighted`,!1),c.selectAll(`.${p.lineGraphGroupLabel}`).classed(`${p.lineGraphGroupLabel}--highlighted`,!1)},isZoomAllowed(t){if(this.isZoomingInterval)return!0;const e=this.initialTimeScale.copy(),r=t.transform.rescaleX(e).domain(),n=this.minDate?this.tzStringToDate(this.minDate):void 0,i=this.maxDate?this.tzStringToDate(this.maxDate):void 0;return(!n||r[0]>=n)&&(!i||r[1]<=i)},handleZoom(t){var n;if(!this.isZoomAllowed(t)){(n=t==null?void 0:t.sourceEvent)==null||n.preventDefault(),this.svg.call(this.zoomBehavior.transform,this.lastValidTransform);return}this.lastValidTransform=t.transform;const e=t.transform.rescaleX(this.initialTimeScale);this.timeScale.domain(e.domain()),this.updateCurrentTimeScaleDensity(),this.updateYScaleDomain();const r=t.transform.k/this.lastTransform.k;this.transformDiff={scale:r,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform};for(const i in this.xAxes)this.rescaleAxis(i,e),this.translateTicksText(i);this.updateEventsBars(),this.updateLineGraphs(),this.updateBarChart(),this.updateLineGraphHoverZones(),this.updateMilestonesPositions(),this.repositionSelectedTimestampCursor(),this.updateForbiddenIntervals(),this.updateMarkers(),this.emitVisibleInterval(r1.zoom),this.curtains&&this.emitCurtainChange()},panToTimestamp(t){const e=this.tzStringToDate(t),r=this.timeScale(e),n=c.zoomTransform(this.svg.node()),i=n.x-r+this.timeline.offsetWidth/2,a=this.timeScale.invert(-i/n.k),s=this.timeScale.invert((this.timeline.offsetWidth-i)/n.k),u=this.minDate?this.tzStringToDate(this.minDate):void 0,l=this.maxDate?this.tzStringToDate(this.maxDate):void 0;if(u&&a<u||l&&s>l){console.log("Pan operation would exceed bounds. Operation cancelled.");return}const d=n.k/this.lastPanTransform.k<10?this.panTransitionDuration:0;this.lastPanTransform={...n},this.svg.transition().duration(d).call(this.zoomBehavior.transform,c.zoomIdentity.translate(i,0).scale(n.k)).on("end",()=>{this.emitVisibleInterval(r1.autoPan)})},emitCurtainChange(){const{startDate:t,endDate:e}=this.calculateDateRangeFromCurtains();this.$emit("curtain-range-change",{startDate:new Date(t).toISOString(),endDate:new Date(e).toISOString()})},calculateDateRangeFromCurtains(){const t=this.timeline.offsetWidth,e=this.timeScale.domain(),r=e[1].getTime()-e[0].getTime(),n=(this.leftCurtainWidth-this.curtainHandleWidth*2)/t*r,i=(this.rightCurtainWidth+this.curtainHandleWidth*2)/t*r,a=new Date(e[0].getTime()+n),s=new Date(e[1].getTime()-i);return{startDate:a,endDate:s}},handleDragStart(){this.isDraggingCurtain=!0},handleDragEnd(){this.isDraggingCurtain=!1},handleLeftDrag(t){t.sourceEvent.stopPropagation();const e=Math.min(t.x,this.timeline.offsetWidth-this.rightCurtainWidth);this.leftCurtainWidth=Math.max(0,e),this.svg.select(`.${p.curtain}--left`).attr("width",this.leftCurtainWidth),this.emitCurtainChange()},handleRightDrag(t){t.sourceEvent.stopPropagation();const e=this.timeline.offsetWidth,r=Math.min(this.timeline.offsetWidth-t.x,this.timeline.offsetWidth-this.leftCurtainWidth),n=e-r;this.rightCurtainWidth=Math.max(0,r),this.svg.select(`.${p.curtain}--right`).attr("width",this.rightCurtainWidth).attr("x",n),this.emitCurtainChange()},zoomToStartAndEndDates(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.endDate||this.latestEvent.timestamp||this.latestEvent.endDate,r=this.tzStringToDate(t),n=this.tzStringToDate(e);this.initialTimeScale.domain([r,n]);const i=c.zoomTransform(this.svg.node()),a=n.getTime()-r.getTime(),u=this.initialTimeScale.range().map(f=>this.initialTimeScale.invert(f)).reduce((f,C)=>C.getTime()-f,0)/a*i.k,o=-(this.initialTimeScale(r)*u),[d,m]=this.zoomBehavior.scaleExtent(),h=Math.max(d,Math.min(m,u));this.svg.transition().duration(this.zoomToBoundariesTransitionDuration).call(this.zoomBehavior.transform,c.zoomIdentity.translate(o,0).scale(h))},rescaleAxis(t,e){const r=this.xAxes[t],n=this.getAxisTicksConfig(this.xAxesConfig[t]);r.scale(e).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0),this.svg.select(`.${p.xAxis}-${t}`).call(r)},translateTicksText(t){this.svg.select(`.${p.xAxis}-${t}`).selectAll(".tick text").each(function(){let e=c.select(this),r=e.node().getBBox();e.attr("x",r.height/2).attr("y",0).style("text-anchor","start")})},updateEventsBars(){const t=`.${p.eventGroup} > rect.${p.eventRect}`,e=`${t}:not(.${p.eventRect}--dot)`;this.svg.selectAll(t).attr("x",this.getEventRectX),this.svg.selectAll(e).attr("width",this.getEventRectWidth);const r=`.${p.eventGroup} > text.${p.eventRectText}`;this.svg.selectAll(r).attr("x",n=>this.getEventRectX(n)+this.textPadding).text(this.getEventText)},updateBarChart(){const t=Object.keys(this.barChartGroups).length;Object.keys(this.barChartGroups).forEach((e,r)=>{const n=h=>(this.getEventRectWidth(h)-this.barXPadding*2)/t,i=h=>this.yScale.range()[0]-this.yScale(h.count),a=h=>this.getEventRectX(h)+this.barXPadding+r*n(h),s=h=>this.yScale(h.count),u=`.${p.eventBarContainer}-${e}`,l=this.svg.selectAll(u),o=`.${p.barChartGroup} rect.${p.eventBarHoverZone}`;l.selectAll(o).attr("x",a).attr("width",n);const d=`.${p.barChartGroup} rect.${p.eventBar}`;l.selectAll(d).attr("x",a).attr("width",n).attr("y",s).attr("height",i);const m=`.${p.barChartGroup} rect.${p.eventBarCap}`;l.selectAll(m).attr("x",a).attr("width",n).attr("y",s)})},updateLineGraphs(){Object.entries(this.lineGraphGroups).forEach(([t])=>{const e=c.area().x(r=>this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1(r=>this.yScale(r.count)).curve(c.curveMonotoneX);this.svg.selectAll(`.${p.lineGraphPath}-${t}`).attr("d",r=>e(r))})},updateLineGraphHoverZones(){Object.keys(this.lineGraphGroups).forEach(t=>{const e=this;this.svg.selectAll(`.${p.lineGraphDot}-${t}`).each(function(r){c.select(this).attr("cx",e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy",e.yScale(r.count))}),this.svg.selectAll(`.${p.lineGraphHoverZone}-${t}`).each(function(r){const n=e.timeScale(e.tzStringToDate(r.timestamp).getTime())-15;c.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)}},getEventText(t){var n;const r=(this.getEventRectWidth(t)-this.textPadding)/this.characterWidth;return r<4?"":((n=t.text)==null?void 0:n.length)<=r?t.text:`${t.text.slice(0,r-3)}...`},getElementLeftPosition(t){if(!t)return 0;const e=window.getComputedStyle(t);return parseInt(e.left)},isTimestampAllowedForMarker(t,e){return(e.minDate?t>=this.tzStringToDate(e.minDate):!0)&&(e.maxDate?t<=this.tzStringToDate(e.maxDate):!0)},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){if(!t.isDraggable)return;r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${p.markerLine}`).getBoundingClientRect().left,e.classed(p.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,i=this.timeScale.invert(n-this.svg.node().getBoundingClientRect().left),a=this.timeScale(i),s=this.isTimestampAllowedForMarker(i,t);if(r.type==="drag"&&s&&e.attr("style",`left: ${a}px`),r.type==="end"&&s){const u=t.id||t.timestamp;this.markersPositions={...this.markersPositions,[u]:{...this.markersPositions[u],position:a}},e.classed(p.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:i.toISOString()})},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),c.selectAll(`.${p.marker}`).call(this.markersDragBehavior))},initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=c.drag().on("start",function(e,r){var n;(n=e.sourceEvent)==null||n.preventDefault(),t.handleMarkerDrag({marker:r,markerElement:c.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:c.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:c.select(this),dragEvent:e})}),c.selectAll(`.${p.marker}`).data(this.sortedMarkers).call(this.markersDragBehavior)},initCurtains(){this.createCurtains(),this.updateCurtains()},createCurtains(){this.curtains&&(this.svg.append("rect").classed(`${p.curtain} ${p.curtain}--left`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(c.drag().on("start",this.handleDragStart).on("drag",this.handleLeftDrag).on("end",this.handleDragEnd)),this.svg.append("rect").classed(`${p.curtain} ${p.curtain}--right`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(c.drag().on("start",this.handleDragStart).on("drag",this.handleRightDrag).on("end",this.handleDragEnd)),this.updateCurtains())},updateCurtains(){const t=this.timeline.offsetWidth,e=this.timelineHeight;this.svg.select(`.${p.curtain}--left`).attr("width",this.leftCurtainWidth).attr("height",e+this.curtainHandleWidth*2).attr("y",-this.curtainHandleWidth).attr("x",-this.curtainHandleWidth),this.svg.select(`.${p.curtain}--right`).attr("x",t-this.rightCurtainWidth+this.curtainHandleWidth).attr("y",-this.curtainHandleWidth).attr("width",this.rightCurtainWidth+this.curtainHandleWidth*2).attr("height",e+this.curtainHandleWidth*2)},updateForbiddenIntervals(t=!1){t&&this.svg.selectAll(`.${p.forbiddenInterval}`).remove();const e=this.timeScale.domain();this.forbiddenIntervals.forEach((r,n)=>{const i=r.startDate===-1/0?e[0]:this.tzStringToDate(r.startDate),a=r.endDate===1/0?e[1]:this.tzStringToDate(r.endDate),s=this.timeScale(i),u=this.timeScale(a),l=Math.max(u-s,0);let o=this.svg.select(`.${p.forbiddenInterval}-${n}`);o.empty()&&(o=this.svg.append("rect").attr("class",`${p.forbiddenInterval} ${p.forbiddenInterval}-${n}`).attr("fill",`url(#${V.stripedPattern})`)),o.attr("x",s).attr("y",0).attr("width",l).attr("height",this.timelineHeight)})},drawEventsGroups(){this.svg.selectAll(`g.${p.eventGroup}`).remove(),this.svg.selectAll(`.${p.barChartGroup}`).remove(),this.svg.selectAll(`.${p.lineGraphGroup}`).remove(),this.svg.selectAll(`.${p.lineGraphGroupLabel}`).remove(),this.svg.selectAll(`.${p.loadingIndicator}`).remove(),this.drawLineGraphEventsGroups(),this.drawBarEventsGroups(),this.drawBarChartEventsGroups(),this.drawMilestonesPlaceholder()},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(`${p.lineGraphGroup} ${p.lineGraphGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:a,events:s}=n;this.drawLineGraph({events:s,gElement:i,color:a,type:r}),this.drawLineGraphHoverZones({events:s,gElement:i,color:a,type:r})}),Object.entries(this.lineGraphGroups).forEach(([r,n],i)=>{const{color:a,isLoading:s,label:u}=n,l=Math.max(this.chartMinLabelHeight,this.barChartHeight),o=this.chartHeight-l*(i+1),d=t+this.chartHeight-l,m=this.svg.append("g").classed(p.lineGraphGroupLabel,!0).attr("transform",`translate(0,${t})`).on("mouseover",()=>this.handleLabelMouseOver(r)).on("mouseleave",()=>this.handleLabelMouseLeave(r));this.drawProgressIndicator({type:r,color:a,isLoading:s,yPosition:d}),this.drawTextLabel({color:a,label:u,type:r,height:l,yPosition:o,gElement:m})})},drawLineGraph({events:t,gElement:e,color:r,type:n}){const i=c.area().x(s=>this.timeScale(this.tzStringToDate(s.timestamp))).y0(this.timelineHeight).y1(s=>this.yScale(s.count)).curve(c.curveMonotoneX),a=`clip-${n}`;e.append("defs").append("clipPath").attr("id",a).append("rect").attr("width",this.timeline.offsetWidth).attr("height",this.chartHeight),e.append("path").datum(t).classed(`${p.lineGraphPath}-${n}`,!0).attr("fill",`url(#${V.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(#${a})`)},drawLineGraphHoverZones({events:t,gElement:e,color:r,type:n}){t.forEach(i=>{const a=`${i.timestamp}`;this.countsByTimestamp[a]={...this.countsByTimestamp[a]||{},[n]:i.count};const s=e.append("circle").classed(`${p.lineGraphDot} ${p.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[a]=[...this.dotsByTimestamp[a]||[],s],e.append("rect").classed(`${p.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[a].forEach(l=>l.classed(`${p.lineGraphDot}--active`,!0))}).on("mouseout",()=>{this.handleLineMouseOut(),this.dotsByTimestamp[a].forEach(u=>u.classed(`${p.lineGraphDot}--active`,!1))})})},drawSingleBarEventsGroup({type:t,eventsGroup:e,milestone:r,dots:n,dotsSize:i,bottom:a}){const{color:s,bgColor:u,label:l,events:o,barBorderRadius:d,isLoading:m,height:h,chartType:f}=e;let C=this.getBarGroupYPosition(t,a);const P=[Y.bars,Y.dots,void 0].includes(f)?this.getBarGroupHeight(e):h;r&&(C=this.getMilestoneGroupYPosition(t)),this.drawProgressIndicator({yPosition:C,type:t,color:s,isLoading:m});const A=this.svg.append("g").attr("data-color",s).classed(p.eventGroup,!0).classed(`${p.eventGroup}-${t}`,!0);if(this.drawBackground({color:u||s,gElement:A,yPosition:C,height:P}),r||n){const R=n?1:2,H=C+P/2;A.append("line").classed(J.milestoneLine,!0).attr("x1",0).attr("x2",this.timeline.offsetWidth).attr("y1",H).attr("y2",H).style("stroke",s).style("stroke-width",R)}this.drawBars({events:o,color:s,gElement:A,yPosition:C,type:t,dots:n,dotsSize:i,height:h,barBorderRadius:d}),l&&this.drawTextLabel({color:s,label:l,type:t,gElement:A,yPosition:C,height:h})},drawBarEventsGroups(){Object.entries(this.barGroups).forEach(([t,e])=>this.drawSingleBarEventsGroup({type:t,eventsGroup:e,bottom:e.bottom,dots:e.chartType===Y.dots,dotsSize:e.dotsSize||3}))},drawMilestonesPlaceholder(){Object.entries(this.milestonesGroups).forEach(([t,e])=>this.drawSingleBarEventsGroup({type:t,eventsGroup:{...e,events:[],isLoading:!1},milestone:!0})),this.updateMilestonesPositions()},getMilestoneClass(t){return{[J.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},updateMilestonesPositions(){Object.entries(this.milestonesGroups).forEach(([t,e])=>{const r=this.getMilestoneGroupYPosition(t),n=this.svg.select(`g.${p.eventGroup}-${t}`),i=2,s=(e.height||this.barChartHeight)/2,u=r+s-i/2;n.attr("x1",0).attr("x2",this.timeline.offsetWidth).select(`.${J.milestoneLine}`).attr("y1",u).attr("y2",u);const l=c.select(`.${J.milestonesContainer}-${t}`);l.style("top",`${r}px`).style("height",`${e.height||this.barChartHeight}px`);const o=l.selectAll(`.${J.milestone}`).data(this.getSortedEvents(e.events));o.exit().remove(),o.enter().append("div").merge(o).style("left",d=>`${this.timeScale(this.tzStringToDate(d.timestamp))}px`).style("top",`${u}px`)})},drawBarChartEventsGroups(){const t=this.combinedXAxesHeight,e=this.barChartGroups;Object.entries(e).forEach(([r,n],i)=>{const a=this.svg.append("g").classed(`${p.barChartGroup} ${p.barChartGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:s,events:u}=n;this.drawBarsChart({events:u,color:s,gElement:a,yOffset:t,type:r,index:i})})},drawProgressIndicator({yPosition:t,type:e,isLoading:r}){this.svg.append("rect").classed(`${p.loadingIndicator} ${p.loadingIndicator}-${e}`,!0).attr("x",0).attr("y",t).attr("width",this.timeline.offsetWidth/3).attr("height",this.barChartHeight).attr("fill",`url(#${V.loadingGradient}-${e})`).style("visibility",r?"visible":"hidden")},drawBackground({color:t,yPosition:e,gElement:r,height:n}){r.append("rect").attr("class",p.eventGroupBg).attr("x",0).attr("y",e).attr("width",this.timeline.offsetWidth).attr("height",n||this.barChartHeight).attr("fill",c.color(t).toString()).style("opacity",.1)},drawBars({events:t,gElement:e,yPosition:r,color:n,type:i,dots:a,dotsSize:s,height:u,barBorderRadius:l=1.5}){const o=this,d=r+this.barYPadding/2,m=a?((u||this.barChartHeight)-s)/2:0;let h=Math.max((u!=null?u:this.barChartHeight)-this.barYPadding,1);a&&(h=s),e.selectAll(p.eventRect).data(t).enter().append("rect").attr("class",f=>p.eventRect+(a?` ${p.eventRect}--dot`:"")+(f.className?` ${f.className}`:"")).attr("x",this.getEventRectX).attr("y",d+m).attr("ry",a?s:l).attr("rx",a?s:l).attr("width",a?s:this.getEventRectWidth).attr("height",h).attr("stroke-width",a?s/10:5).attr("cursor","pointer").attr("stroke",f=>a?c.color(f.color||n).brighter(1).toString():"#0000").style("fill",f=>f.color||n).on("mouseover",function(f,C){c.select(this).classed(p.eventRectHovered,!0),o.handleBarMouseOver(f,C,i)}).on("mouseout",function(){c.select(this).classed(p.eventRectHovered,!1),o.handleBarMouseOut()}),e.selectAll(p.eventRectText).data(t.filter(f=>!!f.text)).enter().append("text").attr("class",p.eventRectText).attr("x",f=>this.getEventRectX(f)+this.textPadding).attr("y",r+this.barChartHeight/2).attr("dy","0.35em").style("text-anchor","start").style("font-size","12px").style("font-weight",600).style("stroke-linejoin","round").style("paint-order","stroke").style("pointer-events","none").style("fill",f=>this.getTextFillColor(f.color||n,.75)).text(this.getEventText)},drawBarsChart({events:t,gElement:e,color:r,yOffset:n,type:i,index:a}){const s=this,u=Object.keys(this.barChartGroups).length,l=f=>(this.getEventRectWidth(f)-this.barXPadding*2)/u,o=f=>this.yScale.range()[0]-this.yScale(f.count),d=f=>this.getEventRectX(f)+this.barXPadding+a*l(f),m=f=>this.yScale(f.count),h=e.selectAll(p.eventBarContainer).data(t).enter().append("g").attr("class",`${p.eventBarContainer} ${p.eventBarContainer}-${i}`);h.append("rect").attr("class",f=>p.eventBarHoverZone+(f.className?` ${f.className}`:"")).attr("x",d).attr("y",-n).attr("width",l).attr("height",this.yScale.range()[0]+n).attr("fill",f=>f.color||r).attr("fill-opacity",0),h.append("rect").attr("class",f=>p.eventBar+(f.className?` ${f.className}`:"")).attr("x",d).attr("y",m).attr("width",l).attr("height",o).attr("stroke-width",5).attr("cursor","pointer").attr("stroke","#0000").attr("fill",`url(#${V.transparencyGradient}-${i})`),h.append("rect").attr("class",f=>p.eventBarCap+(f.className?` ${f.className}`:"")).attr("x",d).attr("y",m).attr("width",l).attr("height",2).attr("stroke-width",0).style("fill",f=>f.color||r),h.on("mouseover",function(f,C){const E=c.select(this);s.onBarChartBarMouseOver(E,r),s.handleBarMouseOver(f,C,i)}).on("mouseout",function(){const f=c.select(this);s.onBarChartBarMouseOut(f,i),s.handleBarMouseOut()}).on("click",function(){e.selectAll(`.${p.eventBarContainerSelected}`).classed(p.eventBarContainerSelected,!1),c.select(this).classed(p.eventBarContainerSelected,!0)})},onBarChartBarMouseOver(t,e){t.classed(p.eventBarContainerHovered,!0),t.selectAll(`.${p.eventBarHoverZone}`).attr("fill-opacity",.2);const n=t.selectAll(`.${p.eventBar}`);n.attr("fill",e),n.attr("fill-opacity",.5)},onBarChartBarMouseOut(t,e){t.classed(p.eventBarContainerHovered,!1),t.selectAll(`.${p.eventBarHoverZone}`).attr("fill-opacity",0);const n=t.selectAll(`.${p.eventBar}`);n.attr("fill",`url(#${V.transparencyGradient}-${e})`),n.attr("fill-opacity",1)},drawTextLabel({gElement:t,yPosition:e,color:r,label:n,type:i,height:a}){if(!this.showLabels)return;const s={x:-5,y:e,w:this.labelRectWidth,h:a||this.barChartHeight,radius:3},u=t.append("g").attr("class",`${p.labelGroup} ${p.labelGroup}-${i}`).style("cursor","pointer").on("click",()=>this.toggleGroupVisibility(i));u.append("rect").attr("class",p.labelBg).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",p.labelBgFill).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",p.labelText).attr("data-color",r).attr("x",5).attr("y",e+(a||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=c.color(t))==null?void 0:r.brighter(1.5+e):(n=c.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=c.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)}},getExternalLabelWrapperStyles(t){const e=this.eventsGroups[t].color;return{borderColor:this.getTextFillColor(e)}},getMarkerClass(t){var e;return{"marker--hidden":(e=this.markersPositions[t==null?void 0:t.id])==null?void 0:e.isHidden,"marker--draggable":t==null?void 0:t.isDraggable,...t.className?{[t==null?void 0:t.className]:!0}:{}}},getMarkerContainerStyle(t){var e;return{left:`${(e=this.markersPositions[t.id])==null?void 0:e.position}px`}},getMarkerLabelStyle(t){return{background:t.color,color:t.textColor||""}},getMarkerLineStyle(t){return{background:t.color,height:`${this.timelineHeight+24}px`}},tzStringToDate(t){const e=this.timezone?j.tz(t,this.timezone).utcOffset():this.utcOffset;return j(t).add(e,"minutes").toDate()},dateToTzString(t){const e=new Date(t).getTimezoneOffset(),r=this.timezone?j.tz(t,this.timezone).utcOffset():this.utcOffset;return j(t).add(e,"minutes").utcOffset(r,!0).format()},getCurrentTimeBounds(){const t=this.timeScale.domain();return{startDate:t[0],endDate:t[1]}},getFormattedTimestamp(t){return j.parseZone(t).format("YYYY-MM-DDTHH:mm:ss")},fillTimeGaps(t){if(t.length<=1)return t;const e=this.insertZerosAtInterval,r=a=>a.clone().add(1,e),n=a=>a.clone().subtract(1,e);let i=[];for(let a=0;a<t.length;a++){const s=t[a];if(i.push(s),a===t.length-1)break;const u=t[a+1],l=j(s.timestamp),o=j(u.timestamp);if(o.diff(l,e)>1){const d=r(l).toISOString(),m=n(o).toISOString();i.push({timestamp:d,count:0}),d!==m&&i.push({timestamp:m,count:0})}}if(this.flattenLineGraphEnds){const a=j(t[0].timestamp),s=j(t[t.length-1].timestamp),u=n(a).toISOString(),l=r(s).toISOString();i=[{timestamp:u,count:0},...i,{timestamp:l,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.panToTimestamp(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)}}}),m3="";var O0=function(){var e=this,r=e._self._c;return r("div",{ref:"wrapperDiv",staticClass:"e-relative e-timeline e-border e-rounded",class:e.classes.wrapper},[r("div",{staticClass:"e-timeline__background e-w-full e-h-full e-absolute e-top-0 e-rounded",class:e.classes.background}),e._l(e.sortedMarkers,function(n){return r("div",{key:n.id,staticClass:"marker e-absolute e-h-full e-top-0",class:e.getMarkerClass(n),style:e.getMarkerContainerStyle(n),attrs:{"data-id":n.id},on:{click:function(i){return e.handleMarkerClick(n)}}},[r("div",{staticClass:"marker-label e-absolute"},[r("div",{staticClass:"marker-label-text",style:e.getMarkerLabelStyle(n)},[e._t(`marker.${n.id}`,function(){return[e._v(" "+e._s(n.label)+" ")]},{marker:n})],2)]),r("div",{staticClass:"marker-line e-absolute e-pointer-events-none",style:e.getMarkerLineStyle(n)})])}),e.autoResize?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("div",{ref:"timelineContainer",staticClass:"e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden"}),e._l(e.milestonesGroups,function(n,i){return r("div",{key:`${i}`,staticClass:"e-timeline-milestones"},[r("div",{class:`e-tl-milestones e-tl-milestones-${i}`},e._l(e.getSortedEvents(n.events),function(a,s){return r("ETimelineMilestone",{key:`${a.milestoneType}-${s}`,class:e.getMilestoneClass(a),attrs:{"data-timestamp":a.timestamp,milestone:a,dot:n.dots,size:a.size||e.milestoneBulletSize,"transition-duration":n.milestonesTransitionDuration,"line-height":n.milestonesLineHeight,"dot-size":n.milestonesDotSize,"background-color":e.getMilestoneColors(a.color,n.color).background,"border-color":e.getMilestoneColors(a.color,n.color).border},on:{"milestone-click":function(u){return e.onMilestoneClick(a,i)}},scopedSlots:e._u([{key:"content",fn:function(){return[e._t(`milestoneContent.${a.milestoneType}`,function(){return[r("span",{staticClass:"e-px-2"},[e._v(" "+e._s(a.text)+" ")])]},{milestone:a,index:s})]},proxy:!0},{key:"label",fn:function(){return[e._t(`milestoneLabel.${a.milestoneType}`,null,{milestone:a})]},proxy:!0}],null,!0)})}),1)])}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isHoveringTimeline&&!e.isInteractingWithCurtain,expression:"isHoveringTimeline && !isInteractingWithCurtain"}],ref:"cursor",staticClass:"e-timeline__cursor e-absolute e-bg-green-600 e-w-px e-h-full e-top-0 e-pointer-events-none"}),r("div",{staticClass:"external-labels-container e-flex"},e._l(e.hiddenGroupsLabels,function(n){return r("div",{key:n,staticClass:"external-label",class:e.classes.background,style:e.getExternalLabelWrapperStyles(n),on:{click:function(i){return e.toggleGroupVisibility(n)}}},[r("div",{staticClass:"external-label__content",style:e.getExternalLabelStyles(n)},[e._v(" "+e._s(n)+" ")])])}),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:e.isHoveringTimeline&&!e.isHoveringEvent&&!e.isInteractingWithCurtain&&!e.cursorTimestamp,expression:`
2
2
  isHoveringTimeline &&
3
3
  !isHoveringEvent &&
4
4
  !isInteractingWithCurtain &&