@evercam/ui 0.0.63-preview-copilot-annotations-9ff80eb93 → 0.0.63-preview-copilot-annotations-99f6fe4e1
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/README.md +0 -5
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(Z,j){typeof exports=="object"&&typeof module!="undefined"?j(exports,require("vue"),require("hls.js"),require("moment-timezone"),require("d3"),require("unified"),require("remark-parse"),require("remark-rehype"),require("rehype-stringify"),require("remark-breaks"),require("remark-gfm"),require("unist-util-visit"),require("morphdom")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","moment-timezone","d3","unified","remark-parse","remark-rehype","rehype-stringify","remark-breaks","remark-gfm","unist-util-visit","morphdom"],j):(Z=typeof globalThis!="undefined"?globalThis:Z||self,j(Z.EvercamUI={},Z.Vue,Z.Hls,Z.moment,Z.d3,Z.unified,Z.remarkParse,Z.remarkRehype,Z.rehypeStringify,Z.remarkBreaks,Z.remarkGfm,Z.unistUtilVisit,Z.morphdom))})(this,function(Z,j,it,Se,ms,gs,vs,_s,Cs,ys,bs,xt,xs){var Ui,Yi,Xi,Qi,Vi,Ki,Ji,es;"use strict";function ws(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}function fn(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in t)){const l=Object.getOwnPropertyDescriptor(n,s);l&&Object.defineProperty(t,s,l.get?l:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const P=ws(ms);var J=(t=>(t.dot="dot",t["2xs"]="2xs",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))(J||{}),ae=(t=>(t.warning="warning",t.error="error",t.info="info",t.success="success",t.primary="primary",t.brand="brand",t.default="default",t.gray="gray",t))(ae||{}),et=(t=>(t.overview="overview",t.detailed="detailed",t.detailedBackground="detailedBackground",t))(et||{}),je=(t=>(t.bars="bars",t.dots="dots",t.lineGraph="lineGraph",t.barChart="barGraph",t.milestones="milestones",t))(je||{}),wt=(t=>(t.zoom="zoom",t.autoPan="autoPan",t.initial="initial",t))(wt||{}),pn=(t=>(t._360="360",t._480="480",t._720="720",t._1080="1080",t.auto="auto",t))(pn||{}),Oe=(t=>(t.top="top",t.right="right",t.bottom="bottom",t.left="left",t))(Oe||{}),Ze=(t=>(t.SYSTEM="system",t.COPILOT="copilot",t.USER="user",t))(Ze||{}),mn=(t=>(t.TEXT="text",t.PROGRESS="progress",t.STOP="stop",t))(mn||{}),Nt=(t=>(t.positive="positive",t.negative="negative",t))(Nt||{});const Ss=j.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:ae.default},size:{type:String,default:J.base}},data(){return{colors:{[ae.error]:"e-bg-rose-500 e-text-white",[ae.info]:"e-bg-cyan-500 e-text-white",[ae.warning]:"e-bg-amber-500 e-text-white",[ae.primary]:"e-bg-sky-500 e-text-white",[ae.default]:"e-bg-slate-300 e-text-white",[ae.success]:"e-bg-lime-500 e-text-white"},sizes:{[J.dot]:"e-w-2 e-h-2",[J.xs]:"e-w-3 e-h-3",[J.sm]:"e-w-4 e-h-4",[J.md]:"e-w-5 e-h-5",[J.lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[J.xl]:"e-min-w-[3rem] e-max-w-[5rem] e-px-1 e-h-8 e-text-base e-font-medium"}}},computed:{badgeClasses(){const t=this.colors[this.color]||this.colors[ae.default],e=this.sizes[this.size]||this.sizes[J.md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[J.lg,J.xl].includes(this.size)}}});function Y(t,e,r,n,s,l,i,h){var a=typeof t=="function"?t.options:t;e&&(a.render=e,a.staticRenderFns=r,a._compiled=!0),n&&(a.functional=!0),l&&(a._scopeId="data-v-"+l);var o;if(i?(o=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(m=__VUE_SSR_CONTEXT__),s&&s.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(i)},a._ssrRegister=o):s&&(o=h?function(){s.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:s),o)if(a.functional){a._injectStyles=o;var u=a.render;a.render=function(v,x){return o.call(x),u(v,x)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,o):[o]}return{exports:t,options:a}}var Ts=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()])},ks=[],Ms=Y(Ss,Ts,ks,!1,null,null,null,null);const Wt=Ms.exports,Es=j.extend({name:"EAvatar",components:{Badge:Wt},props:{size:{type:String,default:J.md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:ae.error},badgeText:{type:String,default:""},badgeSize:{type:String,default:J.md},image:{type:String,default:""},backgroundClasses:{type:String,default:"e-bg-gradient-to-r e-from-purple-500 e-to-indigo-500"}},data(){return{sizes:{[J["2xs"]]:"e-w-6 e-h-6 e-text-xs",[J.xs]:"e-w-8 e-h-8 e-text-xs",[J.sm]:"e-w-10 e-h-10 e-text-sm",[J.md]:"e-w-14 e-h-14 e-text-base",[J.lg]:"e-w-20 e-h-20 e-text-2xl",[J.xl]:"e-w-28 e-h-28 e-text-3xl",[J["2xl"]]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){const t=this.sizes[this.size]||this.sizes[J.xs],e=this.image?"e-rounded-full e-overflow-hidden":"";return["e-flex e-items-center e-justify-center e-rounded-full e-text-white e-font-medium",t,e,this.backgroundClasses]}}});var $s=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-avatar e-relative",class:e.avatarClasses},[e._t("default",function(){return[e.image?r("img",{staticClass:"e-avatar__image e-w-full e-h-full e-object-cover",attrs:{src:e.image}}):e._e()]}),e.showBadge?r("div",{staticClass:"e-avatar__badge e-absolute e-top-0 e-right-0"},[e._t("badge",function(){return[r("Badge",{attrs:{text:e.badgeText,color:e.badgeColor,size:e.badgeSize}})]})],2):e._e()],2)},Ls=[],Ds=Y(Es,$s,Ls,!1,null,null,null,null);const St=Ds.exports;var st=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Tt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var gn={},vn={},jt={};(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(/^[+-]?/,s=>s==="-"?"":"-");let n=["var","calc","min","max","clamp"];for(const s of n)if(r.includes(`${s}(`))return`calc(${r} * -1)`}})(jt);var _n={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});const e=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","size","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","textWrap","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","contain","content","forcedColorAdjust"]})(_n);var Cn={};(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(l=>r!==!1&&r[l]!==!1).concat(Object.keys(r).filter(l=>r[l]!==!1)))]}})(Cn);var Gt={},kt={},qt={exports:{}},ye=String,yn=function(){return{isColorSupported:!1,reset:ye,bold:ye,dim:ye,italic:ye,underline:ye,inverse:ye,hidden:ye,strikethrough:ye,black:ye,red:ye,green:ye,yellow:ye,blue:ye,magenta:ye,cyan:ye,white:ye,gray:ye,bgBlack:ye,bgRed:ye,bgGreen:ye,bgYellow:ye,bgBlue:ye,bgMagenta:ye,bgCyan:ye,bgWhite:ye}};qt.exports=yn(),qt.exports.createColors=yn;var bn=qt.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,o){for(var u in o)Object.defineProperty(a,u,{enumerable:!0,get:o[u]})}e(t,{dim:function(){return i},default:function(){return h}});const r=n(bn);function n(a){return a&&a.__esModule?a:{default:a}}let s=new Set;function l(a,o,u){typeof process!="undefined"&&process.env.JEST_WORKER_ID||u&&s.has(u)||(u&&s.add(u),console.warn(""),o.forEach(f=>console.warn(a,"-",f)))}function i(a){return r.default.dim(a)}const h={info(a,o){l(r.default.bold(r.default.cyan("info")),...Array.isArray(a)?[a]:[o,a])},warn(a,o){l(r.default.bold(r.default.yellow("warn")),...Array.isArray(a)?[a]:[o,a])},risk(a,o){l(r.default.bold(r.default.magenta("risk")),...Array.isArray(a)?[a]:[o,a])}}})(kt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const e=r(kt);function r(l){return l&&l.__esModule?l:{default:l}}function n({version:l,from:i,to:h}){e.default.warn(`${i}-color-renamed`,[`As of Tailwind CSS ${l}, \`${i}\` has been renamed to \`${h}\`.`,"Update your configuration file to silence this warning."])}const s={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}}}(Gt);var xn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return e}});function e(r,...n){for(let i of n){for(let h in i){var s;!(r==null||(s=r.hasOwnProperty)===null||s===void 0)&&s.call(r,h)||(r[h]=i[h])}for(let h of Object.getOwnPropertySymbols(i)){var l;!(r==null||(l=r.hasOwnProperty)===null||l===void 0)&&l.call(r,h)||(r[h]=i[h])}}return r}})(xn);var wn={};(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,s=r.split("]").length-1;if(n!==s)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(wn);var Sn={},Mt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(f,m){for(var v in m)Object.defineProperty(f,v,{enumerable:!0,get:m[v]})}e(t,{flagEnabled:function(){return h},issueFlagNotices:function(){return o},default:function(){return u}});const r=s(bn),n=s(kt);function s(f){return f&&f.__esModule?f:{default:f}}let l={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},i={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function h(f,m){if(i.future.includes(m)){var v,x,d;return f.future==="all"||((d=(x=f==null||(v=f.future)===null||v===void 0?void 0:v[m])!==null&&x!==void 0?x:l[m])!==null&&d!==void 0?d:!1)}if(i.experimental.includes(m)){var y,M,$;return f.experimental==="all"||(($=(M=f==null||(y=f.experimental)===null||y===void 0?void 0:y[m])!==null&&M!==void 0?M:l[m])!==null&&$!==void 0?$:!1)}return!1}function a(f){if(f.experimental==="all")return i.experimental;var m;return Object.keys((m=f==null?void 0:f.experimental)!==null&&m!==void 0?m:{}).filter(v=>i.experimental.includes(v)&&f.experimental[v])}function o(f){if(process.env.JEST_WORKER_ID===void 0&&a(f).length>0){let m=a(f).map(v=>r.default.yellow(v)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${m}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const u=i})(Mt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return l}});const e=Mt,r=s(kt);function n(i){if(typeof WeakMap!="function")return null;var h=new WeakMap,a=new WeakMap;return(n=function(o){return o?a:h})(i)}function s(i,h){if(!h&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var a=n(h);if(a&&a.has(i))return a.get(i);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in i)if(f!=="default"&&Object.prototype.hasOwnProperty.call(i,f)){var m=u?Object.getOwnPropertyDescriptor(i,f):null;m&&(m.get||m.set)?Object.defineProperty(o,f,m):o[f]=i[f]}return o.default=i,a&&a.set(i,o),o}function l(i){if((()=>{if(i.purge||!i.content||!Array.isArray(i.content)&&!(typeof i.content=="object"&&i.content!==null))return!1;if(Array.isArray(i.content))return i.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 i.content=="object"&&i.content!==null){if(Object.keys(i.content).some(o=>!["files","relative","extract","transform"].includes(o)))return!1;if(Array.isArray(i.content.files)){if(!i.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 i.content.extract=="object"){for(let o of Object.values(i.content.extract))if(typeof o!="function")return!1}else if(!(i.content.extract===void 0||typeof i.content.extract=="function"))return!1;if(typeof i.content.transform=="object"){for(let o of Object.values(i.content.transform))if(typeof o!="function")return!1}else if(!(i.content.transform===void 0||typeof i.content.transform=="function"))return!1;if(typeof i.content.relative!="boolean"&&typeof i.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"]),i.safelist=(()=>{var o;let{content:u,purge:f,safelist:m}=i;return Array.isArray(m)?m:Array.isArray(u==null?void 0:u.safelist)?u.safelist:Array.isArray(f==null?void 0:f.safelist)?f.safelist:Array.isArray(f==null||(o=f.options)===null||o===void 0?void 0:o.safelist)?f.options.safelist:[]})(),i.blocklist=(()=>{let{blocklist:o}=i;if(Array.isArray(o)){if(o.every(u=>typeof u=="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 i.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"]),i.prefix="";else{var a;i.prefix=(a=i.prefix)!==null&&a!==void 0?a:""}i.content={relative:(()=>{let{content:o}=i;return o!=null&&o.relative?o.relative:(0,e.flagEnabled)(i,"relativeContentPathsByDefault")})(),files:(()=>{let{content:o,purge:u}=i;return Array.isArray(u)?u:Array.isArray(u==null?void 0:u.content)?u.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 m,v,x,d,y,M,$,w,A,E;return!((m=i.purge)===null||m===void 0)&&m.extract?i.purge.extract:!((v=i.content)===null||v===void 0)&&v.extract?i.content.extract:!((x=i.purge)===null||x===void 0||(d=x.extract)===null||d===void 0)&&d.DEFAULT?i.purge.extract.DEFAULT:!((y=i.content)===null||y===void 0||(M=y.extract)===null||M===void 0)&&M.DEFAULT?i.content.extract.DEFAULT:!(($=i.purge)===null||$===void 0||(w=$.options)===null||w===void 0)&&w.extractors?i.purge.options.extractors:!((A=i.content)===null||A===void 0||(E=A.options)===null||E===void 0)&&E.extractors?i.content.options.extractors:{}})(),u={},f=(()=>{var m,v,x,d;if(!((m=i.purge)===null||m===void 0||(v=m.options)===null||v===void 0)&&v.defaultExtractor)return i.purge.options.defaultExtractor;if(!((x=i.content)===null||x===void 0||(d=x.options)===null||d===void 0)&&d.defaultExtractor)return i.content.options.defaultExtractor})();if(f!==void 0&&(u.DEFAULT=f),typeof o=="function")u.DEFAULT=o;else if(Array.isArray(o))for(let{extensions:m,extractor:v}of o!=null?o:[])for(let x of m)u[x]=v;else typeof o=="object"&&o!==null&&Object.assign(u,o);return u})(),transform:(()=>{let o=(()=>{var f,m,v,x,d,y;return!((f=i.purge)===null||f===void 0)&&f.transform?i.purge.transform:!((m=i.content)===null||m===void 0)&&m.transform?i.content.transform:!((v=i.purge)===null||v===void 0||(x=v.transform)===null||x===void 0)&&x.DEFAULT?i.purge.transform.DEFAULT:!((d=i.content)===null||d===void 0||(y=d.transform)===null||y===void 0)&&y.DEFAULT?i.content.transform.DEFAULT:{}})(),u={};return typeof o=="function"?u.DEFAULT=o:typeof o=="object"&&o!==null&&Object.assign(u,o),u})()};for(let o of i.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 i}}(Sn);var Tn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const n=Object.getPrototypeOf(r);return n===null||Object.getPrototypeOf(n)===null}})(Tn);var kn={};(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,s])=>[n,e(s)])):r}})(kn);var Mn={},En={};(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 ")}})(En);var Zt={},Ut={},$n={};(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]}})($n),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(x,d){for(var y in d)Object.defineProperty(x,y,{enumerable:!0,get:d[y]})}e(t,{parseColor:function(){return m},formatColor:function(){return v}});const r=n($n);function n(x){return x&&x.__esModule?x:{default:x}}let s=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,l=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,i=/(?:\d+|\d*\.\d+)%?/,h=/(?:\s*,\s*|\s+)/,a=/\s*[,/]\s*/,o=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,u=new RegExp(`^(rgba?)\\(\\s*(${i.source}|${o.source})(?:${h.source}(${i.source}|${o.source}))?(?:${h.source}(${i.source}|${o.source}))?(?:${a.source}(${i.source}|${o.source}))?\\s*\\)$`),f=new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${o.source})(?:${h.source}(${i.source}|${o.source}))?(?:${h.source}(${i.source}|${o.source}))?(?:${a.source}(${i.source}|${o.source}))?\\s*\\)$`);function m(x,{loose:d=!1}={}){var y,M;if(typeof x!="string")return null;if(x=x.trim(),x==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(x in r.default)return{mode:"rgb",color:r.default[x].map(N=>N.toString())};let $=x.replace(l,(N,K,q,b,z)=>["#",K,K,q,q,b,b,z?z+z:""].join("")).match(s);if($!==null)return{mode:"rgb",color:[parseInt($[1],16),parseInt($[2],16),parseInt($[3],16)].map(N=>N.toString()),alpha:$[4]?(parseInt($[4],16)/255).toString():void 0};var w;let A=(w=x.match(u))!==null&&w!==void 0?w:x.match(f);if(A===null)return null;let E=[A[2],A[3],A[4]].filter(Boolean).map(N=>N.toString());return E.length===2&&E[0].startsWith("var(")?{mode:A[1],color:[E[0]],alpha:E[1]}:!d&&E.length!==3||E.length<3&&!E.some(N=>/^var\(.*?\)$/.test(N))?null:{mode:A[1],color:E,alpha:(y=A[5])===null||y===void 0||(M=y.toString)===null||M===void 0?void 0:M.call(y)}}function v({mode:x,color:d,alpha:y}){let M=y!==void 0;return x==="rgba"||x==="hsla"?`${x}(${d.join(", ")}${M?`, ${y}`:""})`:`${x}(${d.join(" ")}${M?` / ${y}`:""})`}}(Ut),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(l,i){for(var h in i)Object.defineProperty(l,h,{enumerable:!0,get:i[h]})}e(t,{withAlphaValue:function(){return n},default:function(){return s}});const r=Ut;function n(l,i,h){if(typeof l=="function")return l({opacityValue:i});let a=(0,r.parseColor)(l,{loose:!0});return a===null?h:(0,r.formatColor)({...a,alpha:i})}function s({color:l,property:i,variable:h}){let a=[].concat(i);if(typeof l=="function")return{[h]:"1",...Object.fromEntries(a.map(u=>[u,l({opacityVariable:h,opacityValue:`var(${h})`})]))};const o=(0,r.parseColor)(l);return o===null?Object.fromEntries(a.map(u=>[u,l])):o.alpha!==void 0?Object.fromEntries(a.map(u=>[u,l])):{[h]:"1",...Object.fromEntries(a.map(u=>[u,(0,r.formatColor)({...o,alpha:`var(${h})`})]))}}}(Zt);var Yt={},Ln={},Et={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let s=[],l=[],i=0,h=!1;for(let a=0;a<r.length;a++){let o=r[a];s.length===0&&o===n[0]&&!h&&(n.length===1||r.slice(a,a+n.length)===n)&&(l.push(r.slice(i,a)),i=a+n.length),h=h?!1:o==="\\",o==="("||o==="["||o==="{"?s.push(o):(o===")"&&s[s.length-1]==="("||o==="]"&&s[s.length-1]==="["||o==="}"&&s[s.length-1]==="{")&&s.pop()}return l.push(r.slice(i)),l}})(Et),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(a,o){for(var u in o)Object.defineProperty(a,u,{enumerable:!0,get:o[u]})}e(t,{parseBoxShadowValue:function(){return i},formatBoxShadowValue:function(){return h}});const r=Et;let n=new Set(["inset","inherit","initial","revert","unset"]),s=/\ +(?![^(]*\))/g,l=/^-?(\d+|\.\d+)(.*?)$/g;function i(a){return(0,r.splitAtTopLevelOnly)(a,",").map(u=>{let f=u.trim(),m={raw:f},v=f.split(s),x=new Set;for(let d of v)l.lastIndex=0,!x.has("KEYWORD")&&n.has(d)?(m.keyword=d,x.add("KEYWORD")):l.test(d)?x.has("X")?x.has("Y")?x.has("BLUR")?x.has("SPREAD")||(m.spread=d,x.add("SPREAD")):(m.blur=d,x.add("BLUR")):(m.y=d,x.add("Y")):(m.x=d,x.add("X")):m.color?(m.unknown||(m.unknown=[]),m.unknown.push(d)):m.color=d;return m.valid=m.x!==void 0&&m.y!==void 0,m})}function h(a){return a.map(o=>o.valid?[o.keyword,o.x,o.y,o.blur,o.spread,o.color].filter(Boolean).join(" "):o.raw).join(", ")}}(Ln),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(O,R){for(var ie in R)Object.defineProperty(O,ie,{enumerable:!0,get:R[ie]})}e(t,{normalize:function(){return a},normalizeAttributeSelectors:function(){return o},url:function(){return f},number:function(){return m},percentage:function(){return v},length:function(){return y},lineWidth:function(){return $},shadow:function(){return w},color:function(){return A},image:function(){return E},gradient:function(){return K},position:function(){return b},familyName:function(){return z},genericName:function(){return D},absoluteSize:function(){return Q},relativeSize:function(){return T}});const r=Ut,n=Ln,s=Et;let l=["min","max","clamp","calc"];function i(O){return l.some(R=>new RegExp(`^${R}\\(.*\\)`).test(O))}const h=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function a(O,R=null,ie=!0){let C=R&&h.has(R.property);return O.startsWith("--")&&!C?`var(${O})`:O.includes("url(")?O.split(/(url\(.*?\))/g).filter(Boolean).map(U=>/^url\(.*?\)$/.test(U)?U:a(U,R,!1)).join(""):(O=O.replace(/([^\\])_+/g,(U,F)=>F+" ".repeat(U.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),ie&&(O=O.trim()),O=u(O),O)}function o(O){return O.includes("=")&&(O=O.replace(/(=.*)/g,(R,ie)=>{if(ie[1]==="'"||ie[1]==='"')return ie;if(ie.length>2){let C=ie[ie.length-1];if(ie[ie.length-2]===" "&&(C==="i"||C==="I"||C==="s"||C==="S"))return`="${ie.slice(1,-2)}" ${ie[ie.length-1]}`}return`="${ie.slice(1)}"`})),O}function u(O){let R=["theme"],ie=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height","radial-gradient","linear-gradient","conic-gradient","repeating-radial-gradient","repeating-linear-gradient","repeating-conic-gradient"];return O.replace(/(calc|min|max|clamp)\(.+\)/g,C=>{let U="";function F(){let B=U.trimEnd();return B[B.length-1]}for(let B=0;B<C.length;B++){let S=function(L){return L.split("").every((ne,ue)=>C[B+ue]===ne)},W=function(L){let ne=1/0;for(let ce of L){let se=C.indexOf(ce,B);se!==-1&&se<ne&&(ne=se)}let ue=C.slice(B,ne);return B+=ue.length-1,ue},V=C[B];if(S("var"))U+=W([")",","]);else if(ie.some(L=>S(L))){let L=ie.find(ne=>S(ne));U+=L,B+=L.length-1}else R.some(L=>S(L))?U+=W([")"]):S("[")?U+=W(["]"]):["+","-","*","/"].includes(V)&&!["(","+","-","*","/",","].includes(F())?U+=` ${V} `:U+=V}return U.replace(/\s+/g," ")})}function f(O){return O.startsWith("url(")}function m(O){return!isNaN(Number(O))||i(O)}function v(O){return O.endsWith("%")&&m(O.slice(0,-1))||i(O)}let d=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"].join("|")})`;function y(O){return O==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${d}$`).test(O)||i(O)}let M=new Set(["thin","medium","thick"]);function $(O){return M.has(O)}function w(O){let R=(0,n.parseBoxShadowValue)(a(O));for(let ie of R)if(!ie.valid)return!1;return!0}function A(O){let R=0;return(0,s.splitAtTopLevelOnly)(O,"_").every(C=>(C=a(C),C.startsWith("var(")?!0:(0,r.parseColor)(C,{loose:!0})!==null?(R++,!0):!1))?R>0:!1}function E(O){let R=0;return(0,s.splitAtTopLevelOnly)(O,",").every(C=>(C=a(C),C.startsWith("var(")?!0:f(C)||K(C)||["element(","image(","cross-fade(","image-set("].some(U=>C.startsWith(U))?(R++,!0):!1))?R>0:!1}let N=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(O){O=a(O);for(let R of N)if(O.startsWith(`${R}(`))return!0;return!1}let q=new Set(["center","top","right","bottom","left"]);function b(O){let R=0;return(0,s.splitAtTopLevelOnly)(O,"_").every(C=>(C=a(C),C.startsWith("var(")?!0:q.has(C)||y(C)||v(C)?(R++,!0):!1))?R>0:!1}function z(O){let R=0;return(0,s.splitAtTopLevelOnly)(O,",").every(C=>(C=a(C),C.startsWith("var(")?!0:C.includes(" ")&&!/(['"])([^"']+)\1/g.test(C)||/^\d/g.test(C)?!1:(R++,!0)))?R>0:!1}let G=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function D(O){return G.has(O)}let X=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function Q(O){return X.has(O)}let I=new Set(["larger","smaller"]);function T(O){return I.has(O)}}(Yt);var Dn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=Yt,r=Et;function n(s){let l=["cover","contain"];return(0,r.splitAtTopLevelOnly)(s,",").every(i=>{let h=(0,r.splitAtTopLevelOnly)(i,"_").filter(Boolean);return h.length===1&&l.includes(h[0])?!0:h.length!==1&&h.length!==2?!1:h.every(a=>(0,e.length)(a)||(0,e.percentage)(a)||a==="auto")})}})(Dn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(b,z){for(var G in z)Object.defineProperty(b,G,{enumerable:!0,get:z[G]})}e(t,{updateAllClasses:function(){return o},asValue:function(){return m},parseColorFormat:function(){return d},asColor:function(){return M},asLookupValue:function(){return $},typeMap:function(){return A},coerceValue:function(){return K},getMatchingTypes:function(){return q}});const r=a(En),n=Zt,s=Yt,l=a(jt),i=Dn,h=Mt;function a(b){return b&&b.__esModule?b:{default:b}}function o(b,z){b.walkClasses(G=>{G.value=z(G.value),G.raws&&G.raws.value&&(G.raws.value=(0,r.default)(G.raws.value))})}function u(b,z){if(!v(b))return;let G=b.slice(1,-1);if(z(G))return(0,s.normalize)(G)}function f(b,z={},G){let D=z[b];if(D!==void 0)return(0,l.default)(D);if(v(b)){let X=u(b,G);return X===void 0?void 0:(0,l.default)(X)}}function m(b,z={},{validate:G=()=>!0}={}){var D;let X=(D=z.values)===null||D===void 0?void 0:D[b];return X!==void 0?X:z.supportsNegativeValues&&b.startsWith("-")?f(b.slice(1),z.values,G):u(b,G)}function v(b){return b.startsWith("[")&&b.endsWith("]")}function x(b){let z=b.lastIndexOf("/"),G=b.lastIndexOf("[",z),D=b.indexOf("]",z);return b[z-1]==="]"||b[z+1]==="["||G!==-1&&D!==-1&&G<z&&z<D&&(z=b.lastIndexOf("/",G)),z===-1||z===b.length-1?[b,void 0]:v(b)&&!b.includes("]/[")?[b,void 0]:[b.slice(0,z),b.slice(z+1)]}function d(b){if(typeof b=="string"&&b.includes("<alpha-value>")){let z=b;return({opacityValue:G=1})=>z.replace(/<alpha-value>/g,G)}return b}function y(b){return(0,s.normalize)(b.slice(1,-1))}function M(b,z={},{tailwindConfig:G={}}={}){var D;if(((D=z.values)===null||D===void 0?void 0:D[b])!==void 0){var X;return d((X=z.values)===null||X===void 0?void 0:X[b])}let[Q,I]=x(b);if(I!==void 0){var T,O,R,ie;let C=(ie=(T=z.values)===null||T===void 0?void 0:T[Q])!==null&&ie!==void 0?ie:v(Q)?Q.slice(1,-1):void 0;return C===void 0?void 0:(C=d(C),v(I)?(0,n.withAlphaValue)(C,y(I)):((O=G.theme)===null||O===void 0||(R=O.opacity)===null||R===void 0?void 0:R[I])===void 0?void 0:(0,n.withAlphaValue)(C,G.theme.opacity[I]))}return m(b,z,{validate:s.color})}function $(b,z={}){var G;return(G=z.values)===null||G===void 0?void 0:G[b]}function w(b){return(z,G)=>m(z,G,{validate:b})}let A={any:m,color:M,url:w(s.url),image:w(s.image),length:w(s.length),percentage:w(s.percentage),position:w(s.position),lookup:$,"generic-name":w(s.genericName),"family-name":w(s.familyName),number:w(s.number),"line-width":w(s.lineWidth),"absolute-size":w(s.absoluteSize),"relative-size":w(s.relativeSize),shadow:w(s.shadow),size:w(i.backgroundSize)},E=Object.keys(A);function N(b,z){let G=b.indexOf(z);return G===-1?[void 0,b]:[b.slice(0,G),b.slice(G+1)]}function K(b,z,G,D){if(G.values&&z in G.values)for(let{type:Q}of b!=null?b:[]){let I=A[Q](z,G,{tailwindConfig:D});if(I!==void 0)return[I,Q,null]}if(v(z)){let Q=z.slice(1,-1),[I,T]=N(Q,":");if(!/^[\w-_]+$/g.test(I))T=Q;else if(I!==void 0&&!E.includes(I))return[];if(T.length>0&&E.includes(I))return[m(`[${T}]`,G),I,null]}let X=q(b,z,G,D);for(let Q of X)return Q;return[]}function*q(b,z,G,D){let X=(0,h.flagEnabled)(D,"generalizedModifiers"),[Q,I]=x(z);if(X&&G.modifiers!=null&&(G.modifiers==="any"||typeof G.modifiers=="object"&&(I&&v(I)||I in G.modifiers))||(Q=z,I=void 0),I!==void 0&&Q===""&&(Q="DEFAULT"),I!==void 0&&typeof G.modifiers=="object"){var O,R;let ie=(R=(O=G.modifiers)===null||O===void 0?void 0:O[I])!==null&&R!==void 0?R:null;ie!==null?I=ie:v(I)&&(I=y(I))}for(let{type:ie}of b!=null?b:[]){let C=A[ie](Q,G,{tailwindConfig:D});C!==void 0&&(yield[C,ie,I!=null?I:null])}}}(Mn);var Pn={};(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}})(Pn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return G}});const e=v(jt),r=v(_n),n=v(Cn),s=v(Gt),l=xn,i=wn,h=Sn,a=v(Tn),o=kn,u=Mn,f=Zt,m=v(Pn);function v(D){return D&&D.__esModule?D:{default:D}}function x(D){return typeof D=="function"}function d(D,...X){let Q=X.pop();for(let I of X)for(let T in I){let O=Q(D[T],I[T]);O===void 0?(0,a.default)(D[T])&&(0,a.default)(I[T])?D[T]=d({},D[T],I[T],Q):D[T]=I[T]:D[T]=O}return D}const y={colors:s.default,negative(D){return Object.keys(D).filter(X=>D[X]!=="0").reduce((X,Q)=>{let I=(0,e.default)(D[Q]);return I!==void 0&&(X[`-${Q}`]=I),X},{})},breakpoints(D){return Object.keys(D).filter(X=>typeof D[X]=="string").reduce((X,Q)=>({...X,[`screen-${Q}`]:D[Q]}),{})}};function M(D,...X){return x(D)?D(...X):D}function $(D){return D.reduce((X,{extend:Q})=>d(X,Q,(I,T)=>I===void 0?[T]:Array.isArray(I)?[T,...I]:[T,I]),{})}function w(D){return{...D.reduce((X,Q)=>(0,l.defaults)(X,Q),{}),extend:$(D)}}function A(D,X){if(Array.isArray(D)&&(0,a.default)(D[0]))return D.concat(X);if(Array.isArray(X)&&(0,a.default)(X[0])&&(0,a.default)(D))return[D,...X];if(Array.isArray(X))return X}function E({extend:D,...X}){return d(X,D,(Q,I)=>!x(Q)&&!I.some(x)?d({},Q,...I,A):(T,O)=>d({},...[Q,...I].map(R=>M(R,T,O)),A))}function*N(D){let X=(0,i.toPath)(D);if(X.length===0||(yield X,Array.isArray(D)))return;let Q=/^(.*?)\s*\/\s*([^/]+)$/,I=D.match(Q);if(I!==null){let[,T,O]=I,R=(0,i.toPath)(T);R.alpha=O,yield R}}function K(D){const X=(Q,I)=>{for(const T of N(Q)){let O=0,R=D;for(;R!=null&&O<T.length;)R=R[T[O++]],R=x(R)&&(T.alpha===void 0||O<=T.length-1)?R(X,y):R;if(R!==void 0){if(T.alpha!==void 0){let ie=(0,u.parseColorFormat)(R);return(0,f.withAlphaValue)(ie,T.alpha,(0,m.default)(ie))}return(0,a.default)(R)?(0,o.cloneDeep)(R):R}}return I};return Object.assign(X,{theme:X,...y}),Object.keys(D).reduce((Q,I)=>(Q[I]=x(D[I])?D[I](X,y):D[I],Q),{})}function q(D){let X=[];return D.forEach(Q=>{X=[...X,Q];var I;const T=(I=Q==null?void 0:Q.plugins)!==null&&I!==void 0?I:[];T.length!==0&&T.forEach(O=>{O.__isOptionsFunction&&(O=O());var R;X=[...X,...q([(R=O==null?void 0:O.config)!==null&&R!==void 0?R:{}])]})}),X}function b(D){return[...D].reduceRight((Q,I)=>x(I)?I({corePlugins:Q}):(0,n.default)(I,Q),r.default)}function z(D){return[...D].reduceRight((Q,I)=>[...Q,...I],[])}function G(D){let X=[...q(D),{prefix:"",important:!1,separator:":"}];var Q,I;return(0,h.normalizeConfig)((0,l.defaults)({theme:K(E(w(X.map(T=>(Q=T==null?void 0:T.theme)!==null&&Q!==void 0?Q:{})))),corePlugins:b(X.map(T=>T.corePlugins)),plugins:z(D.map(T=>(I=T==null?void 0:T.plugins)!==null&&I!==void 0?I:[]))},...X))}}(vn);var On={},Ps={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const e=n(Ps),r=Mt;function n(l){return l&&l.__esModule?l:{default:l}}function s(l){var i;const h=((i=l==null?void 0:l.presets)!==null&&i!==void 0?i:[e.default]).slice().reverse().flatMap(u=>s(u instanceof Function?u():u)),a={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:u})=>({DEFAULT:"#3b82f67f",...u("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},o=Object.keys(a).filter(u=>(0,r.flagEnabled)(l,u)).map(u=>a[u]);return[l,...o,...h]}})(On),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const e=n(vn),r=n(On);function n(l){return l&&l.__esModule?l:{default:l}}function s(...l){let[,...i]=(0,r.default)(l[0]);return(0,e.default)([...l,...i])}}(gn);let Xt=gn;var Os=(Xt.__esModule?Xt:{default:Xt}).default;const zs=Tt(Os);let Qt=Gt;var Vt=(Qt.__esModule?Qt:{default:Qt}).default;const zn=Tt(Vt),Bs=fn({__proto__:null,default:zn},[Vt]);var Bn={},In={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function e(n,s){return{handler:n,config:s}}e.withOptions=function(n,s=()=>({})){const l=function(i){return{__options:i,handler:n(i),config:s(i)}};return l.__isOptionsFunction=!0,l.__pluginFunction=n,l.__configFunction=s,l};const r=e})(In),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const e=r(In);function r(s){return s&&s.__esModule?s:{default:s}}const n=e.default}(Bn);let Kt=Bn;var Is=(Kt.__esModule?Kt:{default:Kt}).default,$t={exports:{}};$t.exports,function(t,e){var r=200,n="__lodash_hash_undefined__",s=800,l=16,i=9007199254740991,h="[object Arguments]",a="[object Array]",o="[object AsyncFunction]",u="[object Boolean]",f="[object Date]",m="[object Error]",v="[object Function]",x="[object GeneratorFunction]",d="[object Map]",y="[object Number]",M="[object Null]",$="[object Object]",w="[object Proxy]",A="[object RegExp]",E="[object Set]",N="[object String]",K="[object Undefined]",q="[object WeakMap]",b="[object ArrayBuffer]",z="[object DataView]",G="[object Float32Array]",D="[object Float64Array]",X="[object Int8Array]",Q="[object Int16Array]",I="[object Int32Array]",T="[object Uint8Array]",O="[object Uint8ClampedArray]",R="[object Uint16Array]",ie="[object Uint32Array]",C=/[\\^$.*+?()[\]{}|]/g,U=/^\[object .+?Constructor\]$/,F=/^(?:0|[1-9]\d*)$/,B={};B[G]=B[D]=B[X]=B[Q]=B[I]=B[T]=B[O]=B[R]=B[ie]=!0,B[h]=B[a]=B[b]=B[u]=B[z]=B[f]=B[m]=B[v]=B[d]=B[y]=B[$]=B[A]=B[E]=B[N]=B[q]=!1;var S=typeof st=="object"&&st&&st.Object===Object&&st,W=typeof self=="object"&&self&&self.Object===Object&&self,V=S||W||Function("return this")(),L=e&&!e.nodeType&&e,ne=L&&!0&&t&&!t.nodeType&&t,ue=ne&&ne.exports===L,ce=ue&&S.process,se=function(){try{var p=ne&&ne.require&&ne.require("util").types;return p||ce&&ce.binding&&ce.binding("util")}catch{}}(),he=se&&se.isTypedArray;function Te(p,_,k){switch(k.length){case 0:return p.call(_);case 1:return p.call(_,k[0]);case 2:return p.call(_,k[0],k[1]);case 3:return p.call(_,k[0],k[1],k[2])}return p.apply(_,k)}function le(p,_){for(var k=-1,re=Array(p);++k<p;)re[k]=_(k);return re}function Ce(p){return function(_){return p(_)}}function Ae(p,_){return p==null?void 0:p[_]}function Be(p,_){return function(k){return p(_(k))}}var Me=Array.prototype,ke=Function.prototype,$e=Object.prototype,Ee=V["__core-js_shared__"],Le=ke.toString,De=$e.hasOwnProperty,Ke=function(){var p=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}(),Xe=$e.toString,ot=Le.call(Object),_t=RegExp("^"+Le.call(De).replace(C,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=ue?V.Buffer:void 0,ht=V.Symbol,zt=V.Uint8Array,Bt=qe?qe.allocUnsafe:void 0,ts=Be(Object.getPrototypeOf,Object),rs=Object.create,M4=$e.propertyIsEnumerable,E4=Me.splice,lt=ht?ht.toStringTag:void 0,It=function(){try{var p=sn(Object,"defineProperty");return p({},"",{}),p}catch{}}(),$4=qe?qe.isBuffer:void 0,ns=Math.max,L4=Date.now,is=sn(V,"Map"),Ct=sn(Object,"create"),D4=function(){function p(){}return function(_){if(!ut(_))return{};if(rs)return rs(_);p.prototype=_;var k=new p;return p.prototype=void 0,k}}();function ct(p){var _=-1,k=p==null?0:p.length;for(this.clear();++_<k;){var re=p[_];this.set(re[0],re[1])}}function P4(){this.__data__=Ct?Ct(null):{},this.size=0}function O4(p){var _=this.has(p)&&delete this.__data__[p];return this.size-=_?1:0,_}function z4(p){var _=this.__data__;if(Ct){var k=_[p];return k===n?void 0:k}return De.call(_,p)?_[p]:void 0}function B4(p){var _=this.__data__;return Ct?_[p]!==void 0:De.call(_,p)}function I4(p,_){var k=this.__data__;return this.size+=this.has(p)?0:1,k[p]=Ct&&_===void 0?n:_,this}ct.prototype.clear=P4,ct.prototype.delete=O4,ct.prototype.get=z4,ct.prototype.has=B4,ct.prototype.set=I4;function Je(p){var _=-1,k=p==null?0:p.length;for(this.clear();++_<k;){var re=p[_];this.set(re[0],re[1])}}function F4(){this.__data__=[],this.size=0}function A4(p){var _=this.__data__,k=Ft(_,p);if(k<0)return!1;var re=_.length-1;return k==re?_.pop():E4.call(_,k,1),--this.size,!0}function R4(p){var _=this.__data__,k=Ft(_,p);return k<0?void 0:_[k][1]}function H4(p){return Ft(this.__data__,p)>-1}function N4(p,_){var k=this.__data__,re=Ft(k,p);return re<0?(++this.size,k.push([p,_])):k[re][1]=_,this}Je.prototype.clear=F4,Je.prototype.delete=A4,Je.prototype.get=R4,Je.prototype.has=H4,Je.prototype.set=N4;function ft(p){var _=-1,k=p==null?0:p.length;for(this.clear();++_<k;){var re=p[_];this.set(re[0],re[1])}}function W4(){this.size=0,this.__data__={hash:new ct,map:new(is||Je),string:new ct}}function j4(p){var _=Rt(this,p).delete(p);return this.size-=_?1:0,_}function G4(p){return Rt(this,p).get(p)}function q4(p){return Rt(this,p).has(p)}function Z4(p,_){var k=Rt(this,p),re=k.size;return k.set(p,_),this.size+=k.size==re?0:1,this}ft.prototype.clear=W4,ft.prototype.delete=j4,ft.prototype.get=G4,ft.prototype.has=q4,ft.prototype.set=Z4;function pt(p){var _=this.__data__=new Je(p);this.size=_.size}function U4(){this.__data__=new Je,this.size=0}function Y4(p){var _=this.__data__,k=_.delete(p);return this.size=_.size,k}function X4(p){return this.__data__.get(p)}function Q4(p){return this.__data__.has(p)}function V4(p,_){var k=this.__data__;if(k instanceof Je){var re=k.__data__;if(!is||re.length<r-1)return re.push([p,_]),this.size=++k.size,this;k=this.__data__=new ft(re)}return k.set(p,_),this.size=k.size,this}pt.prototype.clear=U4,pt.prototype.delete=Y4,pt.prototype.get=X4,pt.prototype.has=Q4,pt.prototype.set=V4;function K4(p,_){var k=ln(p),re=!k&&on(p),pe=!k&&!re&&cs(p),ve=!k&&!re&&!pe&&ds(p),xe=k||re||pe||ve,fe=xe?le(p.length,String):[],we=fe.length;for(var We in p)(_||De.call(p,We))&&!(xe&&(We=="length"||pe&&(We=="offset"||We=="parent")||ve&&(We=="buffer"||We=="byteLength"||We=="byteOffset")||os(We,we)))&&fe.push(We);return fe}function rn(p,_,k){(k!==void 0&&!Ht(p[_],k)||k===void 0&&!(_ in p))&&nn(p,_,k)}function J4(p,_,k){var re=p[_];(!(De.call(p,_)&&Ht(re,k))||k===void 0&&!(_ in p))&&nn(p,_,k)}function Ft(p,_){for(var k=p.length;k--;)if(Ht(p[k][0],_))return k;return-1}function nn(p,_,k){_=="__proto__"&&It?It(p,_,{configurable:!0,enumerable:!0,value:k,writable:!0}):p[_]=k}var e8=f8();function At(p){return p==null?p===void 0?K:M:lt&< in Object(p)?p8(p):y8(p)}function ss(p){return yt(p)&&At(p)==h}function t8(p){if(!ut(p)||_8(p))return!1;var _=un(p)?_t:U;return _.test(S8(p))}function r8(p){return yt(p)&&us(p.length)&&!!B[At(p)]}function n8(p){if(!ut(p))return C8(p);var _=ls(p),k=[];for(var re in p)re=="constructor"&&(_||!De.call(p,re))||k.push(re);return k}function as(p,_,k,re,pe){p!==_&&e8(_,function(ve,xe){if(pe||(pe=new pt),ut(ve))i8(p,_,xe,k,as,re,pe);else{var fe=re?re(an(p,xe),ve,xe+"",p,_,pe):void 0;fe===void 0&&(fe=ve),rn(p,xe,fe)}},hs)}function i8(p,_,k,re,pe,ve,xe){var fe=an(p,k),we=an(_,k),We=xe.get(we);if(We){rn(p,k,We);return}var Re=ve?ve(fe,we,k+"",p,_,xe):void 0,bt=Re===void 0;if(bt){var dn=ln(we),hn=!dn&&cs(we),ps=!dn&&!hn&&ds(we);Re=we,dn||hn||ps?ln(fe)?Re=fe:T8(fe)?Re=u8(fe):hn?(bt=!1,Re=o8(we,!0)):ps?(bt=!1,Re=c8(we,!0)):Re=[]:k8(we)||on(we)?(Re=fe,on(fe)?Re=M8(fe):(!ut(fe)||un(fe))&&(Re=m8(we))):bt=!1}bt&&(xe.set(we,Re),pe(Re,we,re,ve,xe),xe.delete(we)),rn(p,k,Re)}function s8(p,_){return x8(b8(p,_,fs),p+"")}var a8=It?function(p,_){return It(p,"toString",{configurable:!0,enumerable:!1,value:$8(_),writable:!0})}:fs;function o8(p,_){if(_)return p.slice();var k=p.length,re=Bt?Bt(k):new p.constructor(k);return p.copy(re),re}function l8(p){var _=new p.constructor(p.byteLength);return new zt(_).set(new zt(p)),_}function c8(p,_){var k=_?l8(p.buffer):p.buffer;return new p.constructor(k,p.byteOffset,p.length)}function u8(p,_){var k=-1,re=p.length;for(_||(_=Array(re));++k<re;)_[k]=p[k];return _}function d8(p,_,k,re){var pe=!k;k||(k={});for(var ve=-1,xe=_.length;++ve<xe;){var fe=_[ve],we=re?re(k[fe],p[fe],fe,k,p):void 0;we===void 0&&(we=p[fe]),pe?nn(k,fe,we):J4(k,fe,we)}return k}function h8(p){return s8(function(_,k){var re=-1,pe=k.length,ve=pe>1?k[pe-1]:void 0,xe=pe>2?k[2]:void 0;for(ve=p.length>3&&typeof ve=="function"?(pe--,ve):void 0,xe&&g8(k[0],k[1],xe)&&(ve=pe<3?void 0:ve,pe=1),_=Object(_);++re<pe;){var fe=k[re];fe&&p(_,fe,re,ve)}return _})}function f8(p){return function(_,k,re){for(var pe=-1,ve=Object(_),xe=re(_),fe=xe.length;fe--;){var we=xe[p?fe:++pe];if(k(ve[we],we,ve)===!1)break}return _}}function Rt(p,_){var k=p.__data__;return v8(_)?k[typeof _=="string"?"string":"hash"]:k.map}function sn(p,_){var k=Ae(p,_);return t8(k)?k:void 0}function p8(p){var _=De.call(p,lt),k=p[lt];try{p[lt]=void 0;var re=!0}catch{}var pe=Xe.call(p);return re&&(_?p[lt]=k:delete p[lt]),pe}function m8(p){return typeof p.constructor=="function"&&!ls(p)?D4(ts(p)):{}}function os(p,_){var k=typeof p;return _=_==null?i:_,!!_&&(k=="number"||k!="symbol"&&F.test(p))&&p>-1&&p%1==0&&p<_}function g8(p,_,k){if(!ut(k))return!1;var re=typeof _;return(re=="number"?cn(k)&&os(_,k.length):re=="string"&&_ in k)?Ht(k[_],p):!1}function v8(p){var _=typeof p;return _=="string"||_=="number"||_=="symbol"||_=="boolean"?p!=="__proto__":p===null}function _8(p){return!!Ke&&Ke in p}function ls(p){var _=p&&p.constructor,k=typeof _=="function"&&_.prototype||$e;return p===k}function C8(p){var _=[];if(p!=null)for(var k in Object(p))_.push(k);return _}function y8(p){return Xe.call(p)}function b8(p,_,k){return _=ns(_===void 0?p.length-1:_,0),function(){for(var re=arguments,pe=-1,ve=ns(re.length-_,0),xe=Array(ve);++pe<ve;)xe[pe]=re[_+pe];pe=-1;for(var fe=Array(_+1);++pe<_;)fe[pe]=re[pe];return fe[_]=k(xe),Te(p,this,fe)}}function an(p,_){if(!(_==="constructor"&&typeof p[_]=="function")&&_!="__proto__")return p[_]}var x8=w8(a8);function w8(p){var _=0,k=0;return function(){var re=L4(),pe=l-(re-k);if(k=re,pe>0){if(++_>=s)return arguments[0]}else _=0;return p.apply(void 0,arguments)}}function S8(p){if(p!=null){try{return Le.call(p)}catch{}try{return p+""}catch{}}return""}function Ht(p,_){return p===_||p!==p&&_!==_}var on=ss(function(){return arguments}())?ss:function(p){return yt(p)&&De.call(p,"callee")&&!M4.call(p,"callee")},ln=Array.isArray;function cn(p){return p!=null&&us(p.length)&&!un(p)}function T8(p){return yt(p)&&cn(p)}var cs=$4||L8;function un(p){if(!ut(p))return!1;var _=At(p);return _==v||_==x||_==o||_==w}function us(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=i}function ut(p){var _=typeof p;return p!=null&&(_=="object"||_=="function")}function yt(p){return p!=null&&typeof p=="object"}function k8(p){if(!yt(p)||At(p)!=$)return!1;var _=ts(p);if(_===null)return!0;var k=De.call(_,"constructor")&&_.constructor;return typeof k=="function"&&k instanceof k&&Le.call(k)==ot}var ds=he?Ce(he):r8;function M8(p){return d8(p,hs(p))}function hs(p){return cn(p)?K4(p,!0):n8(p)}var E8=h8(function(p,_,k){as(p,_,k)});function $8(p){return function(){return p}}function fs(p){return p}function L8(){return!1}t.exports=E8}($t,$t.exports);var Fs=$t.exports;function As(){if(!arguments.length)return[];var t=arguments[0];return Rs(t)?t:[t]}var Rs=Array.isArray,Hs=As;const g=Vt,oe=t=>t.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),ze=t=>`${oe(t/16)}rem`,c=(t,e)=>`${oe(t/e)}em`,Ue=t=>{t=t.replace("#",""),t=t.length===3?t.replace(/./g,"$&$&"):t;const e=parseInt(t.substring(0,2),16),r=parseInt(t.substring(2,4),16),n=parseInt(t.substring(4,6),16);return`${e} ${r} ${n}`};let Jt={sm:{css:[{fontSize:ze(14),lineHeight:oe(24/14),p:{marginTop:c(16,14),marginBottom:c(16,14)},'[class~="lead"]':{fontSize:c(18,14),lineHeight:oe(28/18),marginTop:c(16,18),marginBottom:c(16,18)},blockquote:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(20,18)},h1:{fontSize:c(30,14),marginTop:"0",marginBottom:c(24,30),lineHeight:oe(36/30)},h2:{fontSize:c(20,14),marginTop:c(32,20),marginBottom:c(16,20),lineHeight:oe(28/20)},h3:{fontSize:c(18,14),marginTop:c(28,18),marginBottom:c(8,18),lineHeight:oe(28/18)},h4:{marginTop:c(20,14),marginBottom:c(8,14),lineHeight:oe(20/14)},img:{marginTop:c(24,14),marginBottom:c(24,14)},picture:{marginTop:c(24,14),marginBottom:c(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(24,14),marginBottom:c(24,14)},kbd:{fontSize:c(12,14),borderRadius:ze(5),paddingTop:c(2,14),paddingInlineEnd:c(5,14),paddingBottom:c(2,14),paddingInlineStart:c(5,14)},code:{fontSize:c(12,14)},"h2 code":{fontSize:c(18,20)},"h3 code":{fontSize:c(16,18)},pre:{fontSize:c(12,14),lineHeight:oe(20/12),marginTop:c(20,12),marginBottom:c(20,12),borderRadius:ze(4),paddingTop:c(8,12),paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},ol:{marginTop:c(16,14),marginBottom:c(16,14),paddingInlineStart:c(22,14)},ul:{marginTop:c(16,14),marginBottom:c(16,14),paddingInlineStart:c(22,14)},li:{marginTop:c(4,14),marginBottom:c(4,14)},"ol > li":{paddingInlineStart:c(6,14)},"ul > li":{paddingInlineStart:c(6,14)},"> ul > li p":{marginTop:c(8,14),marginBottom:c(8,14)},"> ul > li > p:first-child":{marginTop:c(16,14)},"> ul > li > p:last-child":{marginBottom:c(16,14)},"> ol > li > p:first-child":{marginTop:c(16,14)},"> ol > li > p:last-child":{marginBottom:c(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(8,14),marginBottom:c(8,14)},dl:{marginTop:c(16,14),marginBottom:c(16,14)},dt:{marginTop:c(16,14)},dd:{marginTop:c(4,14),paddingInlineStart:c(22,14)},hr:{marginTop:c(40,14),marginBottom:c(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(12,14),lineHeight:oe(18/12)},"thead th":{paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(8,12),paddingInlineEnd:c(12,12),paddingBottom:c(8,12),paddingInlineStart:c(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(24,14),marginBottom:c(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(12,14),lineHeight:oe(16/12),marginTop:c(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:ze(16),lineHeight:oe(28/16),p:{marginTop:c(20,16),marginBottom:c(20,16)},'[class~="lead"]':{fontSize:c(20,16),lineHeight:oe(32/20),marginTop:c(24,20),marginBottom:c(24,20)},blockquote:{marginTop:c(32,20),marginBottom:c(32,20),paddingInlineStart:c(20,20)},h1:{fontSize:c(36,16),marginTop:"0",marginBottom:c(32,36),lineHeight:oe(40/36)},h2:{fontSize:c(24,16),marginTop:c(48,24),marginBottom:c(24,24),lineHeight:oe(32/24)},h3:{fontSize:c(20,16),marginTop:c(32,20),marginBottom:c(12,20),lineHeight:oe(32/20)},h4:{marginTop:c(24,16),marginBottom:c(8,16),lineHeight:oe(24/16)},img:{marginTop:c(32,16),marginBottom:c(32,16)},picture:{marginTop:c(32,16),marginBottom:c(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(32,16),marginBottom:c(32,16)},kbd:{fontSize:c(14,16),borderRadius:ze(5),paddingTop:c(3,16),paddingInlineEnd:c(6,16),paddingBottom:c(3,16),paddingInlineStart:c(6,16)},code:{fontSize:c(14,16)},"h2 code":{fontSize:c(21,24)},"h3 code":{fontSize:c(18,20)},pre:{fontSize:c(14,16),lineHeight:oe(24/14),marginTop:c(24,14),marginBottom:c(24,14),borderRadius:ze(6),paddingTop:c(12,14),paddingInlineEnd:c(16,14),paddingBottom:c(12,14),paddingInlineStart:c(16,14)},ol:{marginTop:c(20,16),marginBottom:c(20,16),paddingInlineStart:c(26,16)},ul:{marginTop:c(20,16),marginBottom:c(20,16),paddingInlineStart:c(26,16)},li:{marginTop:c(8,16),marginBottom:c(8,16)},"ol > li":{paddingInlineStart:c(6,16)},"ul > li":{paddingInlineStart:c(6,16)},"> ul > li p":{marginTop:c(12,16),marginBottom:c(12,16)},"> ul > li > p:first-child":{marginTop:c(20,16)},"> ul > li > p:last-child":{marginBottom:c(20,16)},"> ol > li > p:first-child":{marginTop:c(20,16)},"> ol > li > p:last-child":{marginBottom:c(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(12,16),marginBottom:c(12,16)},dl:{marginTop:c(20,16),marginBottom:c(20,16)},dt:{marginTop:c(20,16)},dd:{marginTop:c(8,16),paddingInlineStart:c(26,16)},hr:{marginTop:c(48,16),marginBottom:c(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(14,16),lineHeight:oe(24/14)},"thead th":{paddingInlineEnd:c(8,14),paddingBottom:c(8,14),paddingInlineStart:c(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(8,14),paddingInlineEnd:c(8,14),paddingBottom:c(8,14),paddingInlineStart:c(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(32,16),marginBottom:c(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(14,16),lineHeight:oe(20/14),marginTop:c(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:ze(18),lineHeight:oe(32/18),p:{marginTop:c(24,18),marginBottom:c(24,18)},'[class~="lead"]':{fontSize:c(22,18),lineHeight:oe(32/22),marginTop:c(24,22),marginBottom:c(24,22)},blockquote:{marginTop:c(40,24),marginBottom:c(40,24),paddingInlineStart:c(24,24)},h1:{fontSize:c(48,18),marginTop:"0",marginBottom:c(40,48),lineHeight:oe(48/48)},h2:{fontSize:c(30,18),marginTop:c(56,30),marginBottom:c(32,30),lineHeight:oe(40/30)},h3:{fontSize:c(24,18),marginTop:c(40,24),marginBottom:c(16,24),lineHeight:oe(36/24)},h4:{marginTop:c(32,18),marginBottom:c(8,18),lineHeight:oe(28/18)},img:{marginTop:c(32,18),marginBottom:c(32,18)},picture:{marginTop:c(32,18),marginBottom:c(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(32,18),marginBottom:c(32,18)},kbd:{fontSize:c(16,18),borderRadius:ze(5),paddingTop:c(4,18),paddingInlineEnd:c(8,18),paddingBottom:c(4,18),paddingInlineStart:c(8,18)},code:{fontSize:c(16,18)},"h2 code":{fontSize:c(26,30)},"h3 code":{fontSize:c(21,24)},pre:{fontSize:c(16,18),lineHeight:oe(28/16),marginTop:c(32,16),marginBottom:c(32,16),borderRadius:ze(6),paddingTop:c(16,16),paddingInlineEnd:c(24,16),paddingBottom:c(16,16),paddingInlineStart:c(24,16)},ol:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(28,18)},ul:{marginTop:c(24,18),marginBottom:c(24,18),paddingInlineStart:c(28,18)},li:{marginTop:c(12,18),marginBottom:c(12,18)},"ol > li":{paddingInlineStart:c(8,18)},"ul > li":{paddingInlineStart:c(8,18)},"> ul > li p":{marginTop:c(16,18),marginBottom:c(16,18)},"> ul > li > p:first-child":{marginTop:c(24,18)},"> ul > li > p:last-child":{marginBottom:c(24,18)},"> ol > li > p:first-child":{marginTop:c(24,18)},"> ol > li > p:last-child":{marginBottom:c(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,18),marginBottom:c(16,18)},dl:{marginTop:c(24,18),marginBottom:c(24,18)},dt:{marginTop:c(24,18)},dd:{marginTop:c(12,18),paddingInlineStart:c(28,18)},hr:{marginTop:c(56,18),marginBottom:c(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(16,18),lineHeight:oe(24/16)},"thead th":{paddingInlineEnd:c(12,16),paddingBottom:c(12,16),paddingInlineStart:c(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(12,16),paddingInlineEnd:c(12,16),paddingBottom:c(12,16),paddingInlineStart:c(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(32,18),marginBottom:c(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(16,18),lineHeight:oe(24/16),marginTop:c(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:ze(20),lineHeight:oe(36/20),p:{marginTop:c(24,20),marginBottom:c(24,20)},'[class~="lead"]':{fontSize:c(24,20),lineHeight:oe(36/24),marginTop:c(24,24),marginBottom:c(24,24)},blockquote:{marginTop:c(48,30),marginBottom:c(48,30),paddingInlineStart:c(32,30)},h1:{fontSize:c(56,20),marginTop:"0",marginBottom:c(48,56),lineHeight:oe(56/56)},h2:{fontSize:c(36,20),marginTop:c(56,36),marginBottom:c(32,36),lineHeight:oe(40/36)},h3:{fontSize:c(30,20),marginTop:c(48,30),marginBottom:c(20,30),lineHeight:oe(40/30)},h4:{marginTop:c(36,20),marginBottom:c(12,20),lineHeight:oe(32/20)},img:{marginTop:c(40,20),marginBottom:c(40,20)},picture:{marginTop:c(40,20),marginBottom:c(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(40,20),marginBottom:c(40,20)},kbd:{fontSize:c(18,20),borderRadius:ze(5),paddingTop:c(5,20),paddingInlineEnd:c(8,20),paddingBottom:c(5,20),paddingInlineStart:c(8,20)},code:{fontSize:c(18,20)},"h2 code":{fontSize:c(31,36)},"h3 code":{fontSize:c(27,30)},pre:{fontSize:c(18,20),lineHeight:oe(32/18),marginTop:c(36,18),marginBottom:c(36,18),borderRadius:ze(8),paddingTop:c(20,18),paddingInlineEnd:c(24,18),paddingBottom:c(20,18),paddingInlineStart:c(24,18)},ol:{marginTop:c(24,20),marginBottom:c(24,20),paddingInlineStart:c(32,20)},ul:{marginTop:c(24,20),marginBottom:c(24,20),paddingInlineStart:c(32,20)},li:{marginTop:c(12,20),marginBottom:c(12,20)},"ol > li":{paddingInlineStart:c(8,20)},"ul > li":{paddingInlineStart:c(8,20)},"> ul > li p":{marginTop:c(16,20),marginBottom:c(16,20)},"> ul > li > p:first-child":{marginTop:c(24,20)},"> ul > li > p:last-child":{marginBottom:c(24,20)},"> ol > li > p:first-child":{marginTop:c(24,20)},"> ol > li > p:last-child":{marginBottom:c(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,20),marginBottom:c(16,20)},dl:{marginTop:c(24,20),marginBottom:c(24,20)},dt:{marginTop:c(24,20)},dd:{marginTop:c(12,20),paddingInlineStart:c(32,20)},hr:{marginTop:c(56,20),marginBottom:c(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(18,20),lineHeight:oe(28/18)},"thead th":{paddingInlineEnd:c(12,18),paddingBottom:c(16,18),paddingInlineStart:c(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(16,18),paddingInlineEnd:c(12,18),paddingBottom:c(16,18),paddingInlineStart:c(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(40,20),marginBottom:c(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(18,20),lineHeight:oe(28/18),marginTop:c(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:ze(24),lineHeight:oe(40/24),p:{marginTop:c(32,24),marginBottom:c(32,24)},'[class~="lead"]':{fontSize:c(30,24),lineHeight:oe(44/30),marginTop:c(32,30),marginBottom:c(32,30)},blockquote:{marginTop:c(64,36),marginBottom:c(64,36),paddingInlineStart:c(40,36)},h1:{fontSize:c(64,24),marginTop:"0",marginBottom:c(56,64),lineHeight:oe(64/64)},h2:{fontSize:c(48,24),marginTop:c(72,48),marginBottom:c(40,48),lineHeight:oe(52/48)},h3:{fontSize:c(36,24),marginTop:c(56,36),marginBottom:c(24,36),lineHeight:oe(44/36)},h4:{marginTop:c(40,24),marginBottom:c(16,24),lineHeight:oe(36/24)},img:{marginTop:c(48,24),marginBottom:c(48,24)},picture:{marginTop:c(48,24),marginBottom:c(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:c(48,24),marginBottom:c(48,24)},kbd:{fontSize:c(20,24),borderRadius:ze(6),paddingTop:c(6,24),paddingInlineEnd:c(8,24),paddingBottom:c(6,24),paddingInlineStart:c(8,24)},code:{fontSize:c(20,24)},"h2 code":{fontSize:c(42,48)},"h3 code":{fontSize:c(32,36)},pre:{fontSize:c(20,24),lineHeight:oe(36/20),marginTop:c(40,20),marginBottom:c(40,20),borderRadius:ze(8),paddingTop:c(24,20),paddingInlineEnd:c(32,20),paddingBottom:c(24,20),paddingInlineStart:c(32,20)},ol:{marginTop:c(32,24),marginBottom:c(32,24),paddingInlineStart:c(38,24)},ul:{marginTop:c(32,24),marginBottom:c(32,24),paddingInlineStart:c(38,24)},li:{marginTop:c(12,24),marginBottom:c(12,24)},"ol > li":{paddingInlineStart:c(10,24)},"ul > li":{paddingInlineStart:c(10,24)},"> ul > li p":{marginTop:c(20,24),marginBottom:c(20,24)},"> ul > li > p:first-child":{marginTop:c(32,24)},"> ul > li > p:last-child":{marginBottom:c(32,24)},"> ol > li > p:first-child":{marginTop:c(32,24)},"> ol > li > p:last-child":{marginBottom:c(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:c(16,24),marginBottom:c(16,24)},dl:{marginTop:c(32,24),marginBottom:c(32,24)},dt:{marginTop:c(32,24)},dd:{marginTop:c(12,24),paddingInlineStart:c(38,24)},hr:{marginTop:c(72,24),marginBottom:c(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:c(20,24),lineHeight:oe(28/20)},"thead th":{paddingInlineEnd:c(12,20),paddingBottom:c(16,20),paddingInlineStart:c(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:c(16,20),paddingInlineEnd:c(12,20),paddingBottom:c(16,20),paddingInlineStart:c(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:c(48,24),marginBottom:c(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:c(20,24),lineHeight:oe(32/20),marginTop:c(20,20)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},slate:{css:{"--tw-prose-body":g.slate[700],"--tw-prose-headings":g.slate[900],"--tw-prose-lead":g.slate[600],"--tw-prose-links":g.slate[900],"--tw-prose-bold":g.slate[900],"--tw-prose-counters":g.slate[500],"--tw-prose-bullets":g.slate[300],"--tw-prose-hr":g.slate[200],"--tw-prose-quotes":g.slate[900],"--tw-prose-quote-borders":g.slate[200],"--tw-prose-captions":g.slate[500],"--tw-prose-kbd":g.slate[900],"--tw-prose-kbd-shadows":Ue(g.slate[900]),"--tw-prose-code":g.slate[900],"--tw-prose-pre-code":g.slate[200],"--tw-prose-pre-bg":g.slate[800],"--tw-prose-th-borders":g.slate[300],"--tw-prose-td-borders":g.slate[200],"--tw-prose-invert-body":g.slate[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.slate[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.slate[400],"--tw-prose-invert-bullets":g.slate[600],"--tw-prose-invert-hr":g.slate[700],"--tw-prose-invert-quotes":g.slate[100],"--tw-prose-invert-quote-borders":g.slate[700],"--tw-prose-invert-captions":g.slate[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.slate[600],"--tw-prose-invert-td-borders":g.slate[700]}},gray:{css:{"--tw-prose-body":g.gray[700],"--tw-prose-headings":g.gray[900],"--tw-prose-lead":g.gray[600],"--tw-prose-links":g.gray[900],"--tw-prose-bold":g.gray[900],"--tw-prose-counters":g.gray[500],"--tw-prose-bullets":g.gray[300],"--tw-prose-hr":g.gray[200],"--tw-prose-quotes":g.gray[900],"--tw-prose-quote-borders":g.gray[200],"--tw-prose-captions":g.gray[500],"--tw-prose-kbd":g.gray[900],"--tw-prose-kbd-shadows":Ue(g.gray[900]),"--tw-prose-code":g.gray[900],"--tw-prose-pre-code":g.gray[200],"--tw-prose-pre-bg":g.gray[800],"--tw-prose-th-borders":g.gray[300],"--tw-prose-td-borders":g.gray[200],"--tw-prose-invert-body":g.gray[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.gray[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.gray[400],"--tw-prose-invert-bullets":g.gray[600],"--tw-prose-invert-hr":g.gray[700],"--tw-prose-invert-quotes":g.gray[100],"--tw-prose-invert-quote-borders":g.gray[700],"--tw-prose-invert-captions":g.gray[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.gray[600],"--tw-prose-invert-td-borders":g.gray[700]}},zinc:{css:{"--tw-prose-body":g.zinc[700],"--tw-prose-headings":g.zinc[900],"--tw-prose-lead":g.zinc[600],"--tw-prose-links":g.zinc[900],"--tw-prose-bold":g.zinc[900],"--tw-prose-counters":g.zinc[500],"--tw-prose-bullets":g.zinc[300],"--tw-prose-hr":g.zinc[200],"--tw-prose-quotes":g.zinc[900],"--tw-prose-quote-borders":g.zinc[200],"--tw-prose-captions":g.zinc[500],"--tw-prose-kbd":g.zinc[900],"--tw-prose-kbd-shadows":Ue(g.zinc[900]),"--tw-prose-code":g.zinc[900],"--tw-prose-pre-code":g.zinc[200],"--tw-prose-pre-bg":g.zinc[800],"--tw-prose-th-borders":g.zinc[300],"--tw-prose-td-borders":g.zinc[200],"--tw-prose-invert-body":g.zinc[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.zinc[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.zinc[400],"--tw-prose-invert-bullets":g.zinc[600],"--tw-prose-invert-hr":g.zinc[700],"--tw-prose-invert-quotes":g.zinc[100],"--tw-prose-invert-quote-borders":g.zinc[700],"--tw-prose-invert-captions":g.zinc[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.zinc[600],"--tw-prose-invert-td-borders":g.zinc[700]}},neutral:{css:{"--tw-prose-body":g.neutral[700],"--tw-prose-headings":g.neutral[900],"--tw-prose-lead":g.neutral[600],"--tw-prose-links":g.neutral[900],"--tw-prose-bold":g.neutral[900],"--tw-prose-counters":g.neutral[500],"--tw-prose-bullets":g.neutral[300],"--tw-prose-hr":g.neutral[200],"--tw-prose-quotes":g.neutral[900],"--tw-prose-quote-borders":g.neutral[200],"--tw-prose-captions":g.neutral[500],"--tw-prose-kbd":g.neutral[900],"--tw-prose-kbd-shadows":Ue(g.neutral[900]),"--tw-prose-code":g.neutral[900],"--tw-prose-pre-code":g.neutral[200],"--tw-prose-pre-bg":g.neutral[800],"--tw-prose-th-borders":g.neutral[300],"--tw-prose-td-borders":g.neutral[200],"--tw-prose-invert-body":g.neutral[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.neutral[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.neutral[400],"--tw-prose-invert-bullets":g.neutral[600],"--tw-prose-invert-hr":g.neutral[700],"--tw-prose-invert-quotes":g.neutral[100],"--tw-prose-invert-quote-borders":g.neutral[700],"--tw-prose-invert-captions":g.neutral[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.neutral[600],"--tw-prose-invert-td-borders":g.neutral[700]}},stone:{css:{"--tw-prose-body":g.stone[700],"--tw-prose-headings":g.stone[900],"--tw-prose-lead":g.stone[600],"--tw-prose-links":g.stone[900],"--tw-prose-bold":g.stone[900],"--tw-prose-counters":g.stone[500],"--tw-prose-bullets":g.stone[300],"--tw-prose-hr":g.stone[200],"--tw-prose-quotes":g.stone[900],"--tw-prose-quote-borders":g.stone[200],"--tw-prose-captions":g.stone[500],"--tw-prose-kbd":g.stone[900],"--tw-prose-kbd-shadows":Ue(g.stone[900]),"--tw-prose-code":g.stone[900],"--tw-prose-pre-code":g.stone[200],"--tw-prose-pre-bg":g.stone[800],"--tw-prose-th-borders":g.stone[300],"--tw-prose-td-borders":g.stone[200],"--tw-prose-invert-body":g.stone[300],"--tw-prose-invert-headings":g.white,"--tw-prose-invert-lead":g.stone[400],"--tw-prose-invert-links":g.white,"--tw-prose-invert-bold":g.white,"--tw-prose-invert-counters":g.stone[400],"--tw-prose-invert-bullets":g.stone[600],"--tw-prose-invert-hr":g.stone[700],"--tw-prose-invert-quotes":g.stone[100],"--tw-prose-invert-quote-borders":g.stone[700],"--tw-prose-invert-captions":g.stone[400],"--tw-prose-invert-kbd":g.white,"--tw-prose-invert-kbd-shadows":Ue(g.white),"--tw-prose-invert-code":g.white,"--tw-prose-invert-pre-code":g.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":g.stone[600],"--tw-prose-invert-td-borders":g.stone[700]}},red:{css:{"--tw-prose-links":g.red[600],"--tw-prose-invert-links":g.red[500]}},orange:{css:{"--tw-prose-links":g.orange[600],"--tw-prose-invert-links":g.orange[500]}},amber:{css:{"--tw-prose-links":g.amber[600],"--tw-prose-invert-links":g.amber[500]}},yellow:{css:{"--tw-prose-links":g.yellow[600],"--tw-prose-invert-links":g.yellow[500]}},lime:{css:{"--tw-prose-links":g.lime[600],"--tw-prose-invert-links":g.lime[500]}},green:{css:{"--tw-prose-links":g.green[600],"--tw-prose-invert-links":g.green[500]}},emerald:{css:{"--tw-prose-links":g.emerald[600],"--tw-prose-invert-links":g.emerald[500]}},teal:{css:{"--tw-prose-links":g.teal[600],"--tw-prose-invert-links":g.teal[500]}},cyan:{css:{"--tw-prose-links":g.cyan[600],"--tw-prose-invert-links":g.cyan[500]}},sky:{css:{"--tw-prose-links":g.sky[600],"--tw-prose-invert-links":g.sky[500]}},blue:{css:{"--tw-prose-links":g.blue[600],"--tw-prose-invert-links":g.blue[500]}},indigo:{css:{"--tw-prose-links":g.indigo[600],"--tw-prose-invert-links":g.indigo[500]}},violet:{css:{"--tw-prose-links":g.violet[600],"--tw-prose-invert-links":g.violet[500]}},purple:{css:{"--tw-prose-links":g.purple[600],"--tw-prose-invert-links":g.purple[500]}},fuchsia:{css:{"--tw-prose-links":g.fuchsia[600],"--tw-prose-invert-links":g.fuchsia[500]}},pink:{css:{"--tw-prose-links":g.pink[600],"--tw-prose-invert-links":g.pink[500]}},rose:{css:{"--tw-prose-links":g.rose[600],"--tw-prose-invert-links":g.rose[500]}},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-kbd":"var(--tw-prose-invert-kbd)","--tw-prose-kbd-shadows":"var(--tw-prose-invert-kbd-shadows)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}}};var Ns={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",p:{},'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},dt:{color:"var(--tw-prose-headings)",fontWeight:"600"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderInlineStartWidth:"0.25rem",borderInlineStartColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900",color:"inherit"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800",color:"inherit"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700",color:"inherit"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-prose-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",marginTop:c(32,16),marginBottom:c(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-prose-th-borders)"},"tfoot td":{verticalAlign:"top"},"th, td":{textAlign:"start"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"}},Jt.gray.css,...Jt.base.css]},...Jt},Ws="[object Object]";function js(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Gs(t,e){return function(r){return t(e(r))}}var qs=Function.prototype,Fn=Object.prototype,An=qs.toString,Zs=Fn.hasOwnProperty,Us=An.call(Object),Ys=Fn.toString,Xs=Gs(Object.getPrototypeOf,Object);function Qs(t){return!!t&&typeof t=="object"}function Vs(t){if(!Qs(t)||Ys.call(t)!=Ws||js(t))return!1;var e=Xs(t);if(e===null)return!0;var r=Zs.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&An.call(r)==Us}var Ks=Vs,er={exports:{}},tr={exports:{}},rr={exports:{}},nr={exports:{}},ir={exports:{}},sr={exports:{}},Fe={},ar={exports:{}};(function(t,e){e.__esModule=!0,e.default=s;function r(l){for(var i=l.toLowerCase(),h="",a=!1,o=0;o<6&&i[o]!==void 0;o++){var u=i.charCodeAt(o),f=u>=97&&u<=102||u>=48&&u<=57;if(a=u===32,!f)break;h+=i[o]}if(h.length!==0){var m=parseInt(h,16),v=m>=55296&&m<=57343;return v||m===0||m>1114111?["�",h.length+(a?1:0)]:[String.fromCodePoint(m),h.length+(a?1:0)]}}var n=/\\/;function s(l){var i=n.test(l);if(!i)return l;for(var h="",a=0;a<l.length;a++){if(l[a]==="\\"){var o=r(l.slice(a+1,a+7));if(o!==void 0){h+=o[0],a+=o[1];continue}if(l[a+1]==="\\"){h+="\\",a++;continue}l.length===a+1&&(h+=l[a]);continue}h+=l[a]}return h}t.exports=e.default})(ar,ar.exports);var Rn=ar.exports,or={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var s=arguments.length,l=new Array(s>1?s-1:0),i=1;i<s;i++)l[i-1]=arguments[i];for(;l.length>0;){var h=l.shift();if(!n[h])return;n=n[h]}return n}t.exports=e.default})(or,or.exports);var Js=or.exports,lr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var s=arguments.length,l=new Array(s>1?s-1:0),i=1;i<s;i++)l[i-1]=arguments[i];for(;l.length>0;){var h=l.shift();n[h]||(n[h]={}),n=n[h]}}t.exports=e.default})(lr,lr.exports);var ea=lr.exports,cr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var s="",l=n.indexOf("/*"),i=0;l>=0;){s=s+n.slice(i,l);var h=n.indexOf("*/",l+2);if(h<0)return s;i=h+2,l=n.indexOf("/*",i)}return s=s+n.slice(i),s}t.exports=e.default})(cr,cr.exports);var ta=cr.exports;Fe.__esModule=!0,Fe.stripComments=Fe.ensureObject=Fe.getProp=Fe.unesc=void 0;var ra=Lt(Rn);Fe.unesc=ra.default;var na=Lt(Js);Fe.getProp=na.default;var ia=Lt(ea);Fe.ensureObject=ia.default;var sa=Lt(ta);Fe.stripComments=sa.default;function Lt(t){return t&&t.__esModule?t:{default:t}}(function(t,e){e.__esModule=!0,e.default=void 0;var r=Fe;function n(h,a){for(var o=0;o<a.length;o++){var u=a[o];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(h,u.key,u)}}function s(h,a,o){return a&&n(h.prototype,a),o&&n(h,o),h}var l=function h(a,o){if(typeof a!="object"||a===null)return a;var u=new a.constructor;for(var f in a)if(a.hasOwnProperty(f)){var m=a[f],v=typeof m;f==="parent"&&v==="object"?o&&(u[f]=o):m instanceof Array?u[f]=m.map(function(x){return h(x,u)}):u[f]=h(m,u)}return u},i=function(){function h(o){o===void 0&&(o={}),Object.assign(this,o),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var a=h.prototype;return a.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},a.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},a.next=function(){return this.parent.at(this.parent.index(this)+1)},a.prev=function(){return this.parent.at(this.parent.index(this)-1)},a.clone=function(u){u===void 0&&(u={});var f=l(this);for(var m in u)f[m]=u[m];return f},a.appendToPropertyAndEscape=function(u,f,m){this.raws||(this.raws={});var v=this[u],x=this.raws[u];this[u]=v+f,x||m!==f?this.raws[u]=(x||v)+m:delete this.raws[u]},a.setPropertyAndEscape=function(u,f,m){this.raws||(this.raws={}),this[u]=f,this.raws[u]=m},a.setPropertyWithoutEscape=function(u,f){this[u]=f,this.raws&&delete this.raws[u]},a.isAtPosition=function(u,f){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>u||this.source.end.line<u||this.source.start.line===u&&this.source.start.column>f||this.source.end.line===u&&this.source.end.column<f)},a.stringifyProperty=function(u){return this.raws&&this.raws[u]||this[u]},a.valueToString=function(){return String(this.stringifyProperty("value"))},a.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},s(h,[{key:"rawSpaceBefore",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.before;return u===void 0&&(u=this.spaces&&this.spaces.before),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=u}},{key:"rawSpaceAfter",get:function(){var u=this.raws&&this.raws.spaces&&this.raws.spaces.after;return u===void 0&&(u=this.spaces.after),u||""},set:function(u){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=u}}]),h}();e.default=i,t.exports=e.default})(sr,sr.exports);var tt=sr.exports,de={};de.__esModule=!0,de.UNIVERSAL=de.ATTRIBUTE=de.CLASS=de.COMBINATOR=de.COMMENT=de.ID=de.NESTING=de.PSEUDO=de.ROOT=de.SELECTOR=de.STRING=de.TAG=void 0;var aa="tag";de.TAG=aa;var oa="string";de.STRING=oa;var la="selector";de.SELECTOR=la;var ca="root";de.ROOT=ca;var ua="pseudo";de.PSEUDO=ua;var da="nesting";de.NESTING=da;var ha="id";de.ID=ha;var fa="comment";de.COMMENT=fa;var pa="combinator";de.COMBINATOR=pa;var ma="class";de.CLASS=ma;var ga="attribute";de.ATTRIBUTE=ga;var va="universal";de.UNIVERSAL=va,function(t,e){e.__esModule=!0,e.default=void 0;var r=i(tt),n=l(de);function s(){if(typeof WeakMap!="function")return null;var d=new WeakMap;return s=function(){return d},d}function l(d){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var y=s();if(y&&y.has(d))return y.get(d);var M={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in d)if(Object.prototype.hasOwnProperty.call(d,w)){var A=$?Object.getOwnPropertyDescriptor(d,w):null;A&&(A.get||A.set)?Object.defineProperty(M,w,A):M[w]=d[w]}return M.default=d,y&&y.set(d,M),M}function i(d){return d&&d.__esModule?d:{default:d}}function h(d,y){var M;if(typeof Symbol=="undefined"||d[Symbol.iterator]==null){if(Array.isArray(d)||(M=a(d))||y&&d&&typeof d.length=="number"){M&&(d=M);var $=0;return function(){return $>=d.length?{done:!0}:{done:!1,value:d[$++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return M=d[Symbol.iterator](),M.next.bind(M)}function a(d,y){if(d){if(typeof d=="string")return o(d,y);var M=Object.prototype.toString.call(d).slice(8,-1);if(M==="Object"&&d.constructor&&(M=d.constructor.name),M==="Map"||M==="Set")return Array.from(d);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return o(d,y)}}function o(d,y){(y==null||y>d.length)&&(y=d.length);for(var M=0,$=new Array(y);M<y;M++)$[M]=d[M];return $}function u(d,y){for(var M=0;M<y.length;M++){var $=y[M];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(d,$.key,$)}}function f(d,y,M){return y&&u(d.prototype,y),M&&u(d,M),d}function m(d,y){d.prototype=Object.create(y.prototype),d.prototype.constructor=d,v(d,y)}function v(d,y){return v=Object.setPrototypeOf||function($,w){return $.__proto__=w,$},v(d,y)}var x=function(d){m(y,d);function y($){var w;return w=d.call(this,$)||this,w.nodes||(w.nodes=[]),w}var M=y.prototype;return M.append=function(w){return w.parent=this,this.nodes.push(w),this},M.prepend=function(w){return w.parent=this,this.nodes.unshift(w),this},M.at=function(w){return this.nodes[w]},M.index=function(w){return typeof w=="number"?w:this.nodes.indexOf(w)},M.removeChild=function(w){w=this.index(w),this.at(w).parent=void 0,this.nodes.splice(w,1);var A;for(var E in this.indexes)A=this.indexes[E],A>=w&&(this.indexes[E]=A-1);return this},M.removeAll=function(){for(var w=h(this.nodes),A;!(A=w()).done;){var E=A.value;E.parent=void 0}return this.nodes=[],this},M.empty=function(){return this.removeAll()},M.insertAfter=function(w,A){A.parent=this;var E=this.index(w);this.nodes.splice(E+1,0,A),A.parent=this;var N;for(var K in this.indexes)N=this.indexes[K],E<=N&&(this.indexes[K]=N+1);return this},M.insertBefore=function(w,A){A.parent=this;var E=this.index(w);this.nodes.splice(E,0,A),A.parent=this;var N;for(var K in this.indexes)N=this.indexes[K],N<=E&&(this.indexes[K]=N+1);return this},M._findChildAtPosition=function(w,A){var E=void 0;return this.each(function(N){if(N.atPosition){var K=N.atPosition(w,A);if(K)return E=K,!1}else if(N.isAtPosition(w,A))return E=N,!1}),E},M.atPosition=function(w,A){if(this.isAtPosition(w,A))return this._findChildAtPosition(w,A)||this},M._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},M.each=function(w){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var A=this.lastEach;if(this.indexes[A]=0,!!this.length){for(var E,N;this.indexes[A]<this.length&&(E=this.indexes[A],N=w(this.at(E),E),N!==!1);)this.indexes[A]+=1;if(delete this.indexes[A],N===!1)return!1}},M.walk=function(w){return this.each(function(A,E){var N=w(A,E);if(N!==!1&&A.length&&(N=A.walk(w)),N===!1)return!1})},M.walkAttributes=function(w){var A=this;return this.walk(function(E){if(E.type===n.ATTRIBUTE)return w.call(A,E)})},M.walkClasses=function(w){var A=this;return this.walk(function(E){if(E.type===n.CLASS)return w.call(A,E)})},M.walkCombinators=function(w){var A=this;return this.walk(function(E){if(E.type===n.COMBINATOR)return w.call(A,E)})},M.walkComments=function(w){var A=this;return this.walk(function(E){if(E.type===n.COMMENT)return w.call(A,E)})},M.walkIds=function(w){var A=this;return this.walk(function(E){if(E.type===n.ID)return w.call(A,E)})},M.walkNesting=function(w){var A=this;return this.walk(function(E){if(E.type===n.NESTING)return w.call(A,E)})},M.walkPseudos=function(w){var A=this;return this.walk(function(E){if(E.type===n.PSEUDO)return w.call(A,E)})},M.walkTags=function(w){var A=this;return this.walk(function(E){if(E.type===n.TAG)return w.call(A,E)})},M.walkUniversals=function(w){var A=this;return this.walk(function(E){if(E.type===n.UNIVERSAL)return w.call(A,E)})},M.split=function(w){var A=this,E=[];return this.reduce(function(N,K,q){var b=w.call(A,K);return E.push(K),b?(N.push(E),E=[]):q===A.length-1&&N.push(E),N},[])},M.map=function(w){return this.nodes.map(w)},M.reduce=function(w,A){return this.nodes.reduce(w,A)},M.every=function(w){return this.nodes.every(w)},M.some=function(w){return this.nodes.some(w)},M.filter=function(w){return this.nodes.filter(w)},M.sort=function(w){return this.nodes.sort(w)},M.toString=function(){return this.map(String).join("")},f(y,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),y}(r.default);e.default=x,t.exports=e.default}(ir,ir.exports);var ur=ir.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(ur),n=de;function s(u){return u&&u.__esModule?u:{default:u}}function l(u,f){for(var m=0;m<f.length;m++){var v=f[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(u,v.key,v)}}function i(u,f,m){return f&&l(u.prototype,f),m&&l(u,m),u}function h(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,a(u,f)}function a(u,f){return a=Object.setPrototypeOf||function(v,x){return v.__proto__=x,v},a(u,f)}var o=function(u){h(f,u);function f(v){var x;return x=u.call(this,v)||this,x.type=n.ROOT,x}var m=f.prototype;return m.toString=function(){var x=this.reduce(function(d,y){return d.push(String(y)),d},[]).join(",");return this.trailingComma?x+",":x},m.error=function(x,d){return this._error?this._error(x,d):new Error(x)},i(f,[{key:"errorGenerator",set:function(x){this._error=x}}]),f}(r.default);e.default=o,t.exports=e.default})(nr,nr.exports);var Hn=nr.exports,dr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(ur),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.SELECTOR,f}return o}(r.default);e.default=h,t.exports=e.default})(dr,dr.exports);var Nn=dr.exports,hr={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var _a={},Ca=_a.hasOwnProperty,ya=function(e,r){if(!e)return r;var n={};for(var s in r)n[s]=Ca.call(e,s)?e[s]:r[s];return n},ba=/[ -,\.\/:-@\[-\^`\{-~]/,xa=/[ -,\.\/:-@\[\]\^`\{-~]/,wa=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,fr=function t(e,r){r=ya(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",s=r.isIdentifier,l=e.charAt(0),i="",h=0,a=e.length;h<a;){var o=e.charAt(h++),u=o.charCodeAt(),f=void 0;if(u<32||u>126){if(u>=55296&&u<=56319&&h<a){var m=e.charCodeAt(h++);(m&64512)==56320?u=((u&1023)<<10)+(m&1023)+65536:h--}f="\\"+u.toString(16).toUpperCase()+" "}else r.escapeEverything?ba.test(o)?f="\\"+o:f="\\"+u.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(o)?f="\\"+u.toString(16).toUpperCase()+" ":o=="\\"||!s&&(o=='"'&&n==o||o=="'"&&n==o)||s&&xa.test(o)?f="\\"+o:f=o;i+=f}return s&&(/^-[-\d]/.test(i)?i="\\-"+i.slice(1):/\d/.test(l)&&(i="\\3"+l+" "+i.slice(1))),i=i.replace(wa,function(v,x,d){return x&&x.length%2?v:(x||"")+d}),!s&&r.wrap?n+i+n:i};fr.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},fr.version="3.0.0";var pr=fr;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(pr),n=Fe,s=i(tt),l=de;function i(m){return m&&m.__esModule?m:{default:m}}function h(m,v){for(var x=0;x<v.length;x++){var d=v[x];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(m,d.key,d)}}function a(m,v,x){return v&&h(m.prototype,v),x&&h(m,x),m}function o(m,v){m.prototype=Object.create(v.prototype),m.prototype.constructor=m,u(m,v)}function u(m,v){return u=Object.setPrototypeOf||function(d,y){return d.__proto__=y,d},u(m,v)}var f=function(m){o(v,m);function v(d){var y;return y=m.call(this,d)||this,y.type=l.CLASS,y._constructed=!0,y}var x=v.prototype;return x.valueToString=function(){return"."+m.prototype.valueToString.call(this)},a(v,[{key:"value",get:function(){return this._value},set:function(y){if(this._constructed){var M=(0,r.default)(y,{isIdentifier:!0});M!==y?((0,n.ensureObject)(this,"raws"),this.raws.value=M):this.raws&&delete this.raws.value}this._value=y}}]),v}(s.default);e.default=f,t.exports=e.default})(hr,hr.exports);var Wn=hr.exports,mr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(tt),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.COMMENT,f}return o}(r.default);e.default=h,t.exports=e.default})(mr,mr.exports);var jn=mr.exports,gr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(tt),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(f){var m;return m=a.call(this,f)||this,m.type=n.ID,m}var u=o.prototype;return u.valueToString=function(){return"#"+a.prototype.valueToString.call(this)},o}(r.default);e.default=h,t.exports=e.default})(gr,gr.exports);var Gn=gr.exports,vr={exports:{}},_r={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=l(pr),n=Fe,s=l(tt);function l(f){return f&&f.__esModule?f:{default:f}}function i(f,m){for(var v=0;v<m.length;v++){var x=m[v];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(f,x.key,x)}}function h(f,m,v){return m&&i(f.prototype,m),v&&i(f,v),f}function a(f,m){f.prototype=Object.create(m.prototype),f.prototype.constructor=f,o(f,m)}function o(f,m){return o=Object.setPrototypeOf||function(x,d){return x.__proto__=d,x},o(f,m)}var u=function(f){a(m,f);function m(){return f.apply(this,arguments)||this}var v=m.prototype;return v.qualifiedName=function(d){return this.namespace?this.namespaceString+"|"+d:d},v.valueToString=function(){return this.qualifiedName(f.prototype.valueToString.call(this))},h(m,[{key:"namespace",get:function(){return this._namespace},set:function(d){if(d===!0||d==="*"||d==="&"){this._namespace=d,this.raws&&delete this.raws.namespace;return}var y=(0,r.default)(d,{isIdentifier:!0});this._namespace=d,y!==d?((0,n.ensureObject)(this,"raws"),this.raws.namespace=y):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(d){this.namespace=d}},{key:"namespaceString",get:function(){if(this.namespace){var d=this.stringifyProperty("namespace");return d===!0?"":d}else return""}}]),m}(s.default);e.default=u,t.exports=e.default})(_r,_r.exports);var Cr=_r.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(Cr),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.TAG,f}return o}(r.default);e.default=h,t.exports=e.default})(vr,vr.exports);var qn=vr.exports,yr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(tt),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.STRING,f}return o}(r.default);e.default=h,t.exports=e.default})(yr,yr.exports);var Zn=yr.exports,br={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(ur),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(f){var m;return m=a.call(this,f)||this,m.type=n.PSEUDO,m}var u=o.prototype;return u.toString=function(){var m=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),m,this.rawSpaceAfter].join("")},o}(r.default);e.default=h,t.exports=e.default})(br,br.exports);var Un=br.exports,xr={},Sa=Ta;function Ta(t,e){if(wr("noDeprecation"))return t;var r=!1;function n(){if(!r){if(wr("throwDeprecation"))throw new Error(e);wr("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function wr(t){try{if(!st.localStorage)return!1}catch{return!1}var e=st.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}(function(t){t.__esModule=!0,t.unescapeValue=y,t.default=void 0;var e=i(pr),r=i(Rn),n=i(Cr),s=de,l;function i(E){return E&&E.__esModule?E:{default:E}}function h(E,N){for(var K=0;K<N.length;K++){var q=N[K];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(E,q.key,q)}}function a(E,N,K){return N&&h(E.prototype,N),K&&h(E,K),E}function o(E,N){E.prototype=Object.create(N.prototype),E.prototype.constructor=E,u(E,N)}function u(E,N){return u=Object.setPrototypeOf||function(q,b){return q.__proto__=b,q},u(E,N)}var f=Sa,m=/^('|")([^]*)\1$/,v=f(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),x=f(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),d=f(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function y(E){var N=!1,K=null,q=E,b=q.match(m);return b&&(K=b[1],q=b[2]),q=(0,r.default)(q),q!==E&&(N=!0),{deprecatedUsage:N,unescaped:q,quoteMark:K}}function M(E){if(E.quoteMark!==void 0||E.value===void 0)return E;d();var N=y(E.value),K=N.quoteMark,q=N.unescaped;return E.raws||(E.raws={}),E.raws.value===void 0&&(E.raws.value=E.value),E.value=q,E.quoteMark=K,E}var $=function(E){o(N,E);function N(q){var b;return q===void 0&&(q={}),b=E.call(this,M(q))||this,b.type=s.ATTRIBUTE,b.raws=b.raws||{},Object.defineProperty(b.raws,"unquoted",{get:f(function(){return b.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:f(function(){return b.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),b._constructed=!0,b}var K=N.prototype;return K.getQuotedValue=function(b){b===void 0&&(b={});var z=this._determineQuoteMark(b),G=w[z],D=(0,e.default)(this._value,G);return D},K._determineQuoteMark=function(b){return b.smart?this.smartQuoteMark(b):this.preferredQuoteMark(b)},K.setValue=function(b,z){z===void 0&&(z={}),this._value=b,this._quoteMark=this._determineQuoteMark(z),this._syncRawValue()},K.smartQuoteMark=function(b){var z=this.value,G=z.replace(/[^']/g,"").length,D=z.replace(/[^"]/g,"").length;if(G+D===0){var X=(0,e.default)(z,{isIdentifier:!0});if(X===z)return N.NO_QUOTE;var Q=this.preferredQuoteMark(b);if(Q===N.NO_QUOTE){var I=this.quoteMark||b.quoteMark||N.DOUBLE_QUOTE,T=w[I],O=(0,e.default)(z,T);if(O.length<X.length)return I}return Q}else return D===G?this.preferredQuoteMark(b):D<G?N.DOUBLE_QUOTE:N.SINGLE_QUOTE},K.preferredQuoteMark=function(b){var z=b.preferCurrentQuoteMark?this.quoteMark:b.quoteMark;return z===void 0&&(z=b.preferCurrentQuoteMark?b.quoteMark:this.quoteMark),z===void 0&&(z=N.DOUBLE_QUOTE),z},K._syncRawValue=function(){var b=(0,e.default)(this._value,w[this.quoteMark]);b===this._value?this.raws&&delete this.raws.value:this.raws.value=b},K._handleEscapes=function(b,z){if(this._constructed){var G=(0,e.default)(z,{isIdentifier:!0});G!==z?this.raws[b]=G:delete this.raws[b]}},K._spacesFor=function(b){var z={before:"",after:""},G=this.spaces[b]||{},D=this.raws.spaces&&this.raws.spaces[b]||{};return Object.assign(z,G,D)},K._stringFor=function(b,z,G){z===void 0&&(z=b),G===void 0&&(G=A);var D=this._spacesFor(z);return G(this.stringifyProperty(b),D)},K.offsetOf=function(b){var z=1,G=this._spacesFor("attribute");if(z+=G.before.length,b==="namespace"||b==="ns")return this.namespace?z:-1;if(b==="attributeNS"||(z+=this.namespaceString.length,this.namespace&&(z+=1),b==="attribute"))return z;z+=this.stringifyProperty("attribute").length,z+=G.after.length;var D=this._spacesFor("operator");z+=D.before.length;var X=this.stringifyProperty("operator");if(b==="operator")return X?z:-1;z+=X.length,z+=D.after.length;var Q=this._spacesFor("value");z+=Q.before.length;var I=this.stringifyProperty("value");if(b==="value")return I?z:-1;z+=I.length,z+=Q.after.length;var T=this._spacesFor("insensitive");return z+=T.before.length,b==="insensitive"&&this.insensitive?z:-1},K.toString=function(){var b=this,z=[this.rawSpaceBefore,"["];return z.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(z.push(this._stringFor("operator")),z.push(this._stringFor("value")),z.push(this._stringFor("insensitiveFlag","insensitive",function(G,D){return G.length>0&&!b.quoted&&D.before.length===0&&!(b.spaces.value&&b.spaces.value.after)&&(D.before=" "),A(G,D)}))),z.push("]"),z.push(this.rawSpaceAfter),z.join("")},a(N,[{key:"quoted",get:function(){var b=this.quoteMark;return b==="'"||b==='"'},set:function(b){x()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(b){if(!this._constructed){this._quoteMark=b;return}this._quoteMark!==b&&(this._quoteMark=b,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(b){if(this._constructed){var z=y(b),G=z.deprecatedUsage,D=z.unescaped,X=z.quoteMark;if(G&&v(),D===this._value&&X===this._quoteMark)return;this._value=D,this._quoteMark=X,this._syncRawValue()}else this._value=b}},{key:"attribute",get:function(){return this._attribute},set:function(b){this._handleEscapes("attribute",b),this._attribute=b}}]),N}(n.default);t.default=$,$.NO_QUOTE=null,$.SINGLE_QUOTE="'",$.DOUBLE_QUOTE='"';var w=(l={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},l[null]={isIdentifier:!0},l);function A(E,N){return""+N.before+E+N.after}})(xr);var Sr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(Cr),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.UNIVERSAL,f.value="*",f}return o}(r.default);e.default=h,t.exports=e.default})(Sr,Sr.exports);var Yn=Sr.exports,Tr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(tt),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.COMBINATOR,f}return o}(r.default);e.default=h,t.exports=e.default})(Tr,Tr.exports);var Xn=Tr.exports,kr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(tt),n=de;function s(a){return a&&a.__esModule?a:{default:a}}function l(a,o){a.prototype=Object.create(o.prototype),a.prototype.constructor=a,i(a,o)}function i(a,o){return i=Object.setPrototypeOf||function(f,m){return f.__proto__=m,f},i(a,o)}var h=function(a){l(o,a);function o(u){var f;return f=a.call(this,u)||this,f.type=n.NESTING,f.value="&",f}return o}(r.default);e.default=h,t.exports=e.default})(kr,kr.exports);var Qn=kr.exports,Mr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){return n.sort(function(s,l){return s-l})}t.exports=e.default})(Mr,Mr.exports);var ka=Mr.exports,Vn={},te={};te.__esModule=!0,te.combinator=te.word=te.comment=te.str=te.tab=te.newline=te.feed=te.cr=te.backslash=te.bang=te.slash=te.doubleQuote=te.singleQuote=te.space=te.greaterThan=te.pipe=te.equals=te.plus=te.caret=te.tilde=te.dollar=te.closeSquare=te.openSquare=te.closeParenthesis=te.openParenthesis=te.semicolon=te.colon=te.comma=te.at=te.asterisk=te.ampersand=void 0;var Ma=38;te.ampersand=Ma;var Ea=42;te.asterisk=Ea;var $a=64;te.at=$a;var La=44;te.comma=La;var Da=58;te.colon=Da;var Pa=59;te.semicolon=Pa;var Oa=40;te.openParenthesis=Oa;var za=41;te.closeParenthesis=za;var Ba=91;te.openSquare=Ba;var Ia=93;te.closeSquare=Ia;var Fa=36;te.dollar=Fa;var Aa=126;te.tilde=Aa;var Ra=94;te.caret=Ra;var Ha=43;te.plus=Ha;var Na=61;te.equals=Na;var Wa=124;te.pipe=Wa;var ja=62;te.greaterThan=ja;var Ga=32;te.space=Ga;var Kn=39;te.singleQuote=Kn;var qa=34;te.doubleQuote=qa;var Za=47;te.slash=Za;var Ua=33;te.bang=Ua;var Ya=92;te.backslash=Ya;var Xa=13;te.cr=Xa;var Qa=12;te.feed=Qa;var Va=10;te.newline=Va;var Ka=9;te.tab=Ka;var Ja=Kn;te.str=Ja;var eo=-1;te.comment=eo;var to=-2;te.word=to;var ro=-3;te.combinator=ro,function(t){t.__esModule=!0,t.default=x,t.FIELDS=void 0;var e=l(te),r,n;function s(){if(typeof WeakMap!="function")return null;var d=new WeakMap;return s=function(){return d},d}function l(d){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var y=s();if(y&&y.has(d))return y.get(d);var M={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in d)if(Object.prototype.hasOwnProperty.call(d,w)){var A=$?Object.getOwnPropertyDescriptor(d,w):null;A&&(A.get||A.set)?Object.defineProperty(M,w,A):M[w]=d[w]}return M.default=d,y&&y.set(d,M),M}for(var i=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),h=(n={},n[e.space]=!0,n[e.tab]=!0,n[e.newline]=!0,n[e.cr]=!0,n[e.feed]=!0,n[e.ampersand]=!0,n[e.asterisk]=!0,n[e.bang]=!0,n[e.comma]=!0,n[e.colon]=!0,n[e.semicolon]=!0,n[e.openParenthesis]=!0,n[e.closeParenthesis]=!0,n[e.openSquare]=!0,n[e.closeSquare]=!0,n[e.singleQuote]=!0,n[e.doubleQuote]=!0,n[e.plus]=!0,n[e.pipe]=!0,n[e.tilde]=!0,n[e.greaterThan]=!0,n[e.equals]=!0,n[e.dollar]=!0,n[e.caret]=!0,n[e.slash]=!0,n),a={},o="0123456789abcdefABCDEF",u=0;u<o.length;u++)a[o.charCodeAt(u)]=!0;function f(d,y){var M=y,$;do{if($=d.charCodeAt(M),h[$])return M-1;$===e.backslash?M=m(d,M)+1:M++}while(M<d.length);return M-1}function m(d,y){var M=y,$=d.charCodeAt(M+1);if(!i[$])if(a[$]){var w=0;do M++,w++,$=d.charCodeAt(M+1);while(a[$]&&w<6);w<6&&$===e.space&&M++}else M++;return M}var v={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=v;function x(d){var y=[],M=d.css.valueOf(),$=M,w=$.length,A=-1,E=1,N=0,K=0,q,b,z,G,D,X,Q,I,T,O,R,ie,C;function U(F,B){if(d.safe)M+=B,T=M.length-1;else throw d.error("Unclosed "+F,E,N-A,N)}for(;N<w;){switch(q=M.charCodeAt(N),q===e.newline&&(A=N,E+=1),q){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:T=N;do T+=1,q=M.charCodeAt(T),q===e.newline&&(A=T,E+=1);while(q===e.space||q===e.newline||q===e.tab||q===e.cr||q===e.feed);C=e.space,G=E,z=T-A-1,K=T;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:T=N;do T+=1,q=M.charCodeAt(T);while(q===e.plus||q===e.greaterThan||q===e.tilde||q===e.pipe);C=e.combinator,G=E,z=N-A,K=T;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:T=N,C=q,G=E,z=N-A,K=T+1;break;case e.singleQuote:case e.doubleQuote:ie=q===e.singleQuote?"'":'"',T=N;do for(D=!1,T=M.indexOf(ie,T+1),T===-1&&U("quote",ie),X=T;M.charCodeAt(X-1)===e.backslash;)X-=1,D=!D;while(D);C=e.str,G=E,z=N-A,K=T+1;break;default:q===e.slash&&M.charCodeAt(N+1)===e.asterisk?(T=M.indexOf("*/",N+2)+1,T===0&&U("comment","*/"),b=M.slice(N,T+1),I=b.split(`
|
|
3
|
-
`),Q=I.length-1,Q>0?(O=E+Q,R=T-I[Q].length):(O=E,R=A),C=e.comment,E=O,G=O,z=T-R):q===e.slash?(T=N,C=q,G=E,z=N-A,K=T+1):(T=f(M,N),C=e.word,G=E,z=T-A),K=T+1;break}y.push([C,E,N-A,G,z,N,K]),R&&(A=R,R=null),N=K}return y}}(Vn),function(t,e){e.__esModule=!0,e.default=void 0;var r=K(Hn),n=K(Nn),s=K(Wn),l=K(jn),i=K(Gn),h=K(qn),a=K(Zn),o=K(Un),u=N(xr),f=K(Yn),m=K(Xn),v=K(Qn),x=K(ka),d=N(Vn),y=N(te),M=N(de),$=Fe,w,A;function E(){if(typeof WeakMap!="function")return null;var U=new WeakMap;return E=function(){return U},U}function N(U){if(U&&U.__esModule)return U;if(U===null||typeof U!="object"&&typeof U!="function")return{default:U};var F=E();if(F&&F.has(U))return F.get(U);var B={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in U)if(Object.prototype.hasOwnProperty.call(U,W)){var V=S?Object.getOwnPropertyDescriptor(U,W):null;V&&(V.get||V.set)?Object.defineProperty(B,W,V):B[W]=U[W]}return B.default=U,F&&F.set(U,B),B}function K(U){return U&&U.__esModule?U:{default:U}}function q(U,F){for(var B=0;B<F.length;B++){var S=F[B];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(U,S.key,S)}}function b(U,F,B){return F&&q(U.prototype,F),B&&q(U,B),U}var z=(w={},w[y.space]=!0,w[y.cr]=!0,w[y.feed]=!0,w[y.newline]=!0,w[y.tab]=!0,w),G=Object.assign({},z,(A={},A[y.comment]=!0,A));function D(U){return{line:U[d.FIELDS.START_LINE],column:U[d.FIELDS.START_COL]}}function X(U){return{line:U[d.FIELDS.END_LINE],column:U[d.FIELDS.END_COL]}}function Q(U,F,B,S){return{start:{line:U,column:F},end:{line:B,column:S}}}function I(U){return Q(U[d.FIELDS.START_LINE],U[d.FIELDS.START_COL],U[d.FIELDS.END_LINE],U[d.FIELDS.END_COL])}function T(U,F){if(U)return Q(U[d.FIELDS.START_LINE],U[d.FIELDS.START_COL],F[d.FIELDS.END_LINE],F[d.FIELDS.END_COL])}function O(U,F){var B=U[F];if(typeof B=="string")return B.indexOf("\\")!==-1&&((0,$.ensureObject)(U,"raws"),U[F]=(0,$.unesc)(B),U.raws[F]===void 0&&(U.raws[F]=B)),U}function R(U,F){for(var B=-1,S=[];(B=U.indexOf(F,B+1))!==-1;)S.push(B);return S}function ie(){var U=Array.prototype.concat.apply([],arguments);return U.filter(function(F,B){return B===U.indexOf(F)})}var C=function(){function U(B,S){S===void 0&&(S={}),this.rule=B,this.options=Object.assign({lossy:!1,safe:!1},S),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,d.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var W=T(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:W}),this.root.errorGenerator=this._errorGenerator();var V=new n.default({source:{start:{line:1,column:1}}});this.root.append(V),this.current=V,this.loop()}var F=U.prototype;return F._errorGenerator=function(){var S=this;return function(W,V){return typeof S.rule=="string"?new Error(W):S.rule.error(W,V)}},F.attribute=function(){var S=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[d.FIELDS.TYPE]!==y.closeSquare;)S.push(this.currToken),this.position++;if(this.currToken[d.FIELDS.TYPE]!==y.closeSquare)return this.expected("closing square bracket",this.currToken[d.FIELDS.START_POS]);var V=S.length,L={source:Q(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[d.FIELDS.START_POS]};if(V===1&&!~[y.word].indexOf(S[0][d.FIELDS.TYPE]))return this.expected("attribute",S[0][d.FIELDS.START_POS]);for(var ne=0,ue="",ce="",se=null,he=!1;ne<V;){var Te=S[ne],le=this.content(Te),Ce=S[ne+1];switch(Te[d.FIELDS.TYPE]){case y.space:if(he=!0,this.options.lossy)break;if(se){(0,$.ensureObject)(L,"spaces",se);var Ae=L.spaces[se].after||"";L.spaces[se].after=Ae+le;var Be=(0,$.getProp)(L,"raws","spaces",se,"after")||null;Be&&(L.raws.spaces[se].after=Be+le)}else ue=ue+le,ce=ce+le;break;case y.asterisk:if(Ce[d.FIELDS.TYPE]===y.equals)L.operator=le,se="operator";else if((!L.namespace||se==="namespace"&&!he)&&Ce){ue&&((0,$.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,$.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ue,ce=""),L.namespace=(L.namespace||"")+le;var Me=(0,$.getProp)(L,"raws","namespace")||null;Me&&(L.raws.namespace+=le),se="namespace"}he=!1;break;case y.dollar:if(se==="value"){var ke=(0,$.getProp)(L,"raws","value");L.value+="$",ke&&(L.raws.value=ke+"$");break}case y.caret:Ce[d.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),he=!1;break;case y.combinator:if(le==="~"&&Ce[d.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),le!=="|"){he=!1;break}Ce[d.FIELDS.TYPE]===y.equals?(L.operator=le,se="operator"):!L.namespace&&!L.attribute&&(L.namespace=!0),he=!1;break;case y.word:if(Ce&&this.content(Ce)==="|"&&S[ne+2]&&S[ne+2][d.FIELDS.TYPE]!==y.equals&&!L.operator&&!L.namespace)L.namespace=le,se="namespace";else if(!L.attribute||se==="attribute"&&!he){ue&&((0,$.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,$.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ce,ce=""),L.attribute=(L.attribute||"")+le;var $e=(0,$.getProp)(L,"raws","attribute")||null;$e&&(L.raws.attribute+=le),se="attribute"}else if(!L.value&&L.value!==""||se==="value"&&!he){var Ee=(0,$.unesc)(le),Le=(0,$.getProp)(L,"raws","value")||"",De=L.value||"";L.value=De+Ee,L.quoteMark=null,(Ee!==le||Le)&&((0,$.ensureObject)(L,"raws"),L.raws.value=(Le||De)+le),se="value"}else{var Ke=le==="i"||le==="I";(L.value||L.value==="")&&(L.quoteMark||he)?(L.insensitive=Ke,(!Ke||le==="I")&&((0,$.ensureObject)(L,"raws"),L.raws.insensitiveFlag=le),se="insensitive",ue&&((0,$.ensureObject)(L,"spaces","insensitive"),L.spaces.insensitive.before=ue,ue=""),ce&&((0,$.ensureObject)(L,"raws","spaces","insensitive"),L.raws.spaces.insensitive.before=ce,ce="")):(L.value||L.value==="")&&(se="value",L.value+=le,L.raws.value&&(L.raws.value+=le))}he=!1;break;case y.str:if(!L.attribute||!L.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Te[d.FIELDS.START_POS]});var Xe=(0,u.unescapeValue)(le),ot=Xe.unescaped,_t=Xe.quoteMark;L.value=ot,L.quoteMark=_t,se="value",(0,$.ensureObject)(L,"raws"),L.raws.value=le,he=!1;break;case y.equals:if(!L.attribute)return this.expected("attribute",Te[d.FIELDS.START_POS],le);if(L.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Te[d.FIELDS.START_POS]});L.operator=L.operator?L.operator+le:le,se="operator",he=!1;break;case y.comment:if(se)if(he||Ce&&Ce[d.FIELDS.TYPE]===y.space||se==="insensitive"){var qe=(0,$.getProp)(L,"spaces",se,"after")||"",ht=(0,$.getProp)(L,"raws","spaces",se,"after")||qe;(0,$.ensureObject)(L,"raws","spaces",se),L.raws.spaces[se].after=ht+le}else{var zt=L[se]||"",Bt=(0,$.getProp)(L,"raws",se)||zt;(0,$.ensureObject)(L,"raws"),L.raws[se]=Bt+le}else ce=ce+le;break;default:return this.error('Unexpected "'+le+'" found.',{index:Te[d.FIELDS.START_POS]})}ne++}O(L,"attribute"),O(L,"namespace"),this.newNode(new u.default(L)),this.position++},F.parseWhitespaceEquivalentTokens=function(S){S<0&&(S=this.tokens.length);var W=this.position,V=[],L="",ne=void 0;do if(z[this.currToken[d.FIELDS.TYPE]])this.options.lossy||(L+=this.content());else if(this.currToken[d.FIELDS.TYPE]===y.comment){var ue={};L&&(ue.before=L,L=""),ne=new l.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[d.FIELDS.START_POS],spaces:ue}),V.push(ne)}while(++this.position<S);if(L){if(ne)ne.spaces.after=L;else if(!this.options.lossy){var ce=this.tokens[W],se=this.tokens[this.position-1];V.push(new a.default({value:"",source:Q(ce[d.FIELDS.START_LINE],ce[d.FIELDS.START_COL],se[d.FIELDS.END_LINE],se[d.FIELDS.END_COL]),sourceIndex:ce[d.FIELDS.START_POS],spaces:{before:L,after:""}}))}}return V},F.convertWhitespaceNodesToSpace=function(S,W){var V=this;W===void 0&&(W=!1);var L="",ne="";S.forEach(function(ce){var se=V.lossySpace(ce.spaces.before,W),he=V.lossySpace(ce.rawSpaceBefore,W);L+=se+V.lossySpace(ce.spaces.after,W&&se.length===0),ne+=se+ce.value+V.lossySpace(ce.rawSpaceAfter,W&&he.length===0)}),ne===L&&(ne=void 0);var ue={space:L,rawSpace:ne};return ue},F.isNamedCombinator=function(S){return S===void 0&&(S=this.position),this.tokens[S+0]&&this.tokens[S+0][d.FIELDS.TYPE]===y.slash&&this.tokens[S+1]&&this.tokens[S+1][d.FIELDS.TYPE]===y.word&&this.tokens[S+2]&&this.tokens[S+2][d.FIELDS.TYPE]===y.slash},F.namedCombinator=function(){if(this.isNamedCombinator()){var S=this.content(this.tokens[this.position+1]),W=(0,$.unesc)(S).toLowerCase(),V={};W!==S&&(V.value="/"+S+"/");var L=new m.default({value:"/"+W+"/",source:Q(this.currToken[d.FIELDS.START_LINE],this.currToken[d.FIELDS.START_COL],this.tokens[this.position+2][d.FIELDS.END_LINE],this.tokens[this.position+2][d.FIELDS.END_COL]),sourceIndex:this.currToken[d.FIELDS.START_POS],raws:V});return this.position=this.position+3,L}else this.unexpected()},F.combinator=function(){var S=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][d.FIELDS.TYPE]===y.comma){var V=this.parseWhitespaceEquivalentTokens(W);if(V.length>0){var L=this.current.last;if(L){var ne=this.convertWhitespaceNodesToSpace(V),ue=ne.space,ce=ne.rawSpace;ce!==void 0&&(L.rawSpaceAfter+=ce),L.spaces.after+=ue}else V.forEach(function(Le){return S.newNode(Le)})}return}var se=this.currToken,he=void 0;W>this.position&&(he=this.parseWhitespaceEquivalentTokens(W));var Te;if(this.isNamedCombinator()?Te=this.namedCombinator():this.currToken[d.FIELDS.TYPE]===y.combinator?(Te=new m.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[d.FIELDS.START_POS]}),this.position++):z[this.currToken[d.FIELDS.TYPE]]||he||this.unexpected(),Te){if(he){var le=this.convertWhitespaceNodesToSpace(he),Ce=le.space,Ae=le.rawSpace;Te.spaces.before=Ce,Te.rawSpaceBefore=Ae}}else{var Be=this.convertWhitespaceNodesToSpace(he,!0),Me=Be.space,ke=Be.rawSpace;ke||(ke=Me);var $e={},Ee={spaces:{}};Me.endsWith(" ")&&ke.endsWith(" ")?($e.before=Me.slice(0,Me.length-1),Ee.spaces.before=ke.slice(0,ke.length-1)):Me.startsWith(" ")&&ke.startsWith(" ")?($e.after=Me.slice(1),Ee.spaces.after=ke.slice(1)):Ee.value=ke,Te=new m.default({value:" ",source:T(se,this.tokens[this.position-1]),sourceIndex:se[d.FIELDS.START_POS],spaces:$e,raws:Ee})}return this.currToken&&this.currToken[d.FIELDS.TYPE]===y.space&&(Te.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Te)},F.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var S=new n.default({source:{start:D(this.tokens[this.position+1])}});this.current.parent.append(S),this.current=S,this.position++},F.comment=function(){var S=this.currToken;this.newNode(new l.default({value:this.content(),source:I(S),sourceIndex:S[d.FIELDS.START_POS]})),this.position++},F.error=function(S,W){throw this.root.error(S,W)},F.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[d.FIELDS.START_POS]})},F.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[d.FIELDS.START_POS])},F.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[d.FIELDS.START_POS])},F.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[d.FIELDS.START_POS])},F.namespace=function(){var S=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[d.FIELDS.TYPE]===y.word)return this.position++,this.word(S);if(this.nextToken[d.FIELDS.TYPE]===y.asterisk)return this.position++,this.universal(S)},F.nesting=function(){if(this.nextToken){var S=this.content(this.nextToken);if(S==="|"){this.position++;return}}var W=this.currToken;this.newNode(new v.default({value:this.content(),source:I(W),sourceIndex:W[d.FIELDS.START_POS]})),this.position++},F.parentheses=function(){var S=this.current.last,W=1;if(this.position++,S&&S.type===M.PSEUDO){var V=new n.default({source:{start:D(this.tokens[this.position-1])}}),L=this.current;for(S.append(V),this.current=V;this.position<this.tokens.length&&W;)this.currToken[d.FIELDS.TYPE]===y.openParenthesis&&W++,this.currToken[d.FIELDS.TYPE]===y.closeParenthesis&&W--,W?this.parse():(this.current.source.end=X(this.currToken),this.current.parent.source.end=X(this.currToken),this.position++);this.current=L}else{for(var ne=this.currToken,ue="(",ce;this.position<this.tokens.length&&W;)this.currToken[d.FIELDS.TYPE]===y.openParenthesis&&W++,this.currToken[d.FIELDS.TYPE]===y.closeParenthesis&&W--,ce=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;S?S.appendToPropertyAndEscape("value",ue,ue):this.newNode(new a.default({value:ue,source:Q(ne[d.FIELDS.START_LINE],ne[d.FIELDS.START_COL],ce[d.FIELDS.END_LINE],ce[d.FIELDS.END_COL]),sourceIndex:ne[d.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[d.FIELDS.START_POS])},F.pseudo=function(){for(var S=this,W="",V=this.currToken;this.currToken&&this.currToken[d.FIELDS.TYPE]===y.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[d.FIELDS.TYPE]===y.word)this.splitWord(!1,function(L,ne){W+=L,S.newNode(new o.default({value:W,source:T(V,S.currToken),sourceIndex:V[d.FIELDS.START_POS]})),ne>1&&S.nextToken&&S.nextToken[d.FIELDS.TYPE]===y.openParenthesis&&S.error("Misplaced parenthesis.",{index:S.nextToken[d.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[d.FIELDS.START_POS])},F.space=function(){var S=this.content();this.position===0||this.prevToken[d.FIELDS.TYPE]===y.comma||this.prevToken[d.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(S),this.position++):this.position===this.tokens.length-1||this.nextToken[d.FIELDS.TYPE]===y.comma||this.nextToken[d.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(S),this.position++):this.combinator()},F.string=function(){var S=this.currToken;this.newNode(new a.default({value:this.content(),source:I(S),sourceIndex:S[d.FIELDS.START_POS]})),this.position++},F.universal=function(S){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var V=this.currToken;this.newNode(new f.default({value:this.content(),source:I(V),sourceIndex:V[d.FIELDS.START_POS]}),S),this.position++},F.splitWord=function(S,W){for(var V=this,L=this.nextToken,ne=this.content();L&&~[y.dollar,y.caret,y.equals,y.word].indexOf(L[d.FIELDS.TYPE]);){this.position++;var ue=this.content();if(ne+=ue,ue.lastIndexOf("\\")===ue.length-1){var ce=this.nextToken;ce&&ce[d.FIELDS.TYPE]===y.space&&(ne+=this.requiredSpace(this.content(ce)),this.position++)}L=this.nextToken}var se=R(ne,".").filter(function(Ce){var Ae=ne[Ce-1]==="\\",Be=/^\d+\.\d+%$/.test(ne);return!Ae&&!Be}),he=R(ne,"#").filter(function(Ce){return ne[Ce-1]!=="\\"}),Te=R(ne,"#{");Te.length&&(he=he.filter(function(Ce){return!~Te.indexOf(Ce)}));var le=(0,x.default)(ie([0].concat(se,he)));le.forEach(function(Ce,Ae){var Be=le[Ae+1]||ne.length,Me=ne.slice(Ce,Be);if(Ae===0&&W)return W.call(V,Me,le.length);var ke,$e=V.currToken,Ee=$e[d.FIELDS.START_POS]+le[Ae],Le=Q($e[1],$e[2]+Ce,$e[3],$e[2]+(Be-1));if(~se.indexOf(Ce)){var De={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new s.default(O(De,"value"))}else if(~he.indexOf(Ce)){var Ke={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new i.default(O(Ke,"value"))}else{var Xe={value:Me,source:Le,sourceIndex:Ee};O(Xe,"value"),ke=new h.default(Xe)}V.newNode(ke,S),S=null}),this.position++},F.word=function(S){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(S)},F.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},F.parse=function(S){switch(this.currToken[d.FIELDS.TYPE]){case y.space:this.space();break;case y.comment:this.comment();break;case y.openParenthesis:this.parentheses();break;case y.closeParenthesis:S&&this.missingParenthesis();break;case y.openSquare:this.attribute();break;case y.dollar:case y.caret:case y.equals:case y.word:this.word();break;case y.colon:this.pseudo();break;case y.comma:this.comma();break;case y.asterisk:this.universal();break;case y.ampersand:this.nesting();break;case y.slash:case y.combinator:this.combinator();break;case y.str:this.string();break;case y.closeSquare:this.missingSquareBracket();case y.semicolon:this.missingBackslash();default:this.unexpected()}},F.expected=function(S,W,V){if(Array.isArray(S)){var L=S.pop();S=S.join(", ")+" or "+L}var ne=/^[aeiou]/.test(S[0])?"an":"a";return V?this.error("Expected "+ne+" "+S+', found "'+V+'" instead.',{index:W}):this.error("Expected "+ne+" "+S+".",{index:W})},F.requiredSpace=function(S){return this.options.lossy?" ":S},F.optionalSpace=function(S){return this.options.lossy?"":S},F.lossySpace=function(S,W){return this.options.lossy?W?" ":"":S},F.parseParenthesisToken=function(S){var W=this.content(S);return S[d.FIELDS.TYPE]===y.space?this.requiredSpace(W):W},F.newNode=function(S,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),S.namespace=W,O(S,"namespace")),this.spaces&&(S.spaces.before=this.spaces,this.spaces=""),this.current.append(S)},F.content=function(S){return S===void 0&&(S=this.currToken),this.css.slice(S[d.FIELDS.START_POS],S[d.FIELDS.END_POS])},F.locateNextMeaningfulToken=function(S){S===void 0&&(S=this.position+1);for(var W=S;W<this.tokens.length;)if(G[this.tokens[W][d.FIELDS.TYPE]]){W++;continue}else return W;return-1},b(U,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),U}();e.default=C,t.exports=e.default}(rr,rr.exports);var no=rr.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(no);function n(l){return l&&l.__esModule?l:{default:l}}var s=function(){function l(h,a){this.func=h||function(){},this.funcRes=null,this.options=a}var i=l.prototype;return i._shouldUpdateSelector=function(a,o){o===void 0&&(o={});var u=Object.assign({},this.options,o);return u.updateSelector===!1?!1:typeof a!="string"},i._isLossy=function(a){a===void 0&&(a={});var o=Object.assign({},this.options,a);return o.lossless===!1},i._root=function(a,o){o===void 0&&(o={});var u=new r.default(a,this._parseOptions(o));return u.root},i._parseOptions=function(a){return{lossy:this._isLossy(a)}},i._run=function(a,o){var u=this;return o===void 0&&(o={}),new Promise(function(f,m){try{var v=u._root(a,o);Promise.resolve(u.func(v)).then(function(x){var d=void 0;return u._shouldUpdateSelector(a,o)&&(d=v.toString(),a.selector=d),{transform:x,root:v,string:d}}).then(f,m)}catch(x){m(x);return}})},i._runSync=function(a,o){o===void 0&&(o={});var u=this._root(a,o),f=this.func(u);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var m=void 0;return o.updateSelector&&typeof a!="string"&&(m=u.toString(),a.selector=m),{transform:f,root:u,string:m}},i.ast=function(a,o){return this._run(a,o).then(function(u){return u.root})},i.astSync=function(a,o){return this._runSync(a,o).root},i.transform=function(a,o){return this._run(a,o).then(function(u){return u.transform})},i.transformSync=function(a,o){return this._runSync(a,o).transform},i.process=function(a,o){return this._run(a,o).then(function(u){return u.string||u.root.toString()})},i.processSync=function(a,o){var u=this._runSync(a,o);return u.string||u.root.toString()},l}();e.default=s,t.exports=e.default})(tr,tr.exports);var io=tr.exports,Jn={},_e={};_e.__esModule=!0,_e.universal=_e.tag=_e.string=_e.selector=_e.root=_e.pseudo=_e.nesting=_e.id=_e.comment=_e.combinator=_e.className=_e.attribute=void 0;var so=He(xr),ao=He(Wn),oo=He(Xn),lo=He(jn),co=He(Gn),uo=He(Qn),ho=He(Un),fo=He(Hn),po=He(Nn),mo=He(Zn),go=He(qn),vo=He(Yn);function He(t){return t&&t.__esModule?t:{default:t}}var _o=function(e){return new so.default(e)};_e.attribute=_o;var Co=function(e){return new ao.default(e)};_e.className=Co;var yo=function(e){return new oo.default(e)};_e.combinator=yo;var bo=function(e){return new lo.default(e)};_e.comment=bo;var xo=function(e){return new co.default(e)};_e.id=xo;var wo=function(e){return new uo.default(e)};_e.nesting=wo;var So=function(e){return new ho.default(e)};_e.pseudo=So;var To=function(e){return new fo.default(e)};_e.root=To;var ko=function(e){return new po.default(e)};_e.selector=ko;var Mo=function(e){return new mo.default(e)};_e.string=Mo;var Eo=function(e){return new go.default(e)};_e.tag=Eo;var $o=function(e){return new vo.default(e)};_e.universal=$o;var me={};me.__esModule=!0,me.isNode=Er,me.isPseudoElement=ri,me.isPseudoClass=Ho,me.isContainer=No,me.isNamespace=Wo,me.isUniversal=me.isTag=me.isString=me.isSelector=me.isRoot=me.isPseudo=me.isNesting=me.isIdentifier=me.isComment=me.isCombinator=me.isClassName=me.isAttribute=void 0;var be=de,Ie,Lo=(Ie={},Ie[be.ATTRIBUTE]=!0,Ie[be.CLASS]=!0,Ie[be.COMBINATOR]=!0,Ie[be.COMMENT]=!0,Ie[be.ID]=!0,Ie[be.NESTING]=!0,Ie[be.PSEUDO]=!0,Ie[be.ROOT]=!0,Ie[be.SELECTOR]=!0,Ie[be.STRING]=!0,Ie[be.TAG]=!0,Ie[be.UNIVERSAL]=!0,Ie);function Er(t){return typeof t=="object"&&Lo[t.type]}function Ne(t,e){return Er(e)&&e.type===t}var ei=Ne.bind(null,be.ATTRIBUTE);me.isAttribute=ei;var Do=Ne.bind(null,be.CLASS);me.isClassName=Do;var Po=Ne.bind(null,be.COMBINATOR);me.isCombinator=Po;var Oo=Ne.bind(null,be.COMMENT);me.isComment=Oo;var zo=Ne.bind(null,be.ID);me.isIdentifier=zo;var Bo=Ne.bind(null,be.NESTING);me.isNesting=Bo;var $r=Ne.bind(null,be.PSEUDO);me.isPseudo=$r;var Io=Ne.bind(null,be.ROOT);me.isRoot=Io;var Fo=Ne.bind(null,be.SELECTOR);me.isSelector=Fo;var Ao=Ne.bind(null,be.STRING);me.isString=Ao;var ti=Ne.bind(null,be.TAG);me.isTag=ti;var Ro=Ne.bind(null,be.UNIVERSAL);me.isUniversal=Ro;function ri(t){return $r(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function Ho(t){return $r(t)&&!ri(t)}function No(t){return!!(Er(t)&&t.walk)}function Wo(t){return ei(t)||ti(t)}(function(t){t.__esModule=!0;var e=de;Object.keys(e).forEach(function(s){s==="default"||s==="__esModule"||s in t&&t[s]===e[s]||(t[s]=e[s])});var r=_e;Object.keys(r).forEach(function(s){s==="default"||s==="__esModule"||s in t&&t[s]===r[s]||(t[s]=r[s])});var n=me;Object.keys(n).forEach(function(s){s==="default"||s==="__esModule"||s in t&&t[s]===n[s]||(t[s]=n[s])})})(Jn),function(t,e){e.__esModule=!0,e.default=void 0;var r=i(io),n=l(Jn);function s(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return s=function(){return o},o}function l(o){if(o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var u=s();if(u&&u.has(o))return u.get(o);var f={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in o)if(Object.prototype.hasOwnProperty.call(o,v)){var x=m?Object.getOwnPropertyDescriptor(o,v):null;x&&(x.get||x.set)?Object.defineProperty(f,v,x):f[v]=o[v]}return f.default=o,u&&u.set(o,f),f}function i(o){return o&&o.__esModule?o:{default:o}}var h=function(u){return new r.default(u)};Object.assign(h,n),delete h.__esModule;var a=h;e.default=a,t.exports=e.default}(er,er.exports);var jo=er.exports;const Go=Ks,ni=jo,qo=ni();var Zo={isUsableColor(t,e){return Go(e)&&t!=="gray"&&e[600]},commonTrailingPseudos(t){let e=qo.astSync(t),r=[];for(let[s,l]of e.nodes.entries())for(const[i,h]of[...l.nodes].reverse().entries()){if(h.type!=="pseudo"||!h.value.startsWith("::"))break;r[i]=r[i]||[],r[i][s]=h}let n=ni.selector();for(const s of r){if(!s)continue;if(new Set([...s.map(i=>i.value)]).size>1)break;s.forEach(i=>i.remove()),n.prepend(s[0])}return n.nodes.length?[n.toString(),e.toString()]:[null,t]}};const Uo=Is,Yo=Fs,Xo=Hs,Qo=Ns,{commonTrailingPseudos:Vo}=Zo,ii={};function Lr(t,{className:e,modifier:r,prefix:n}){let s=n(`.not-${e}`).slice(1),l=t.startsWith(">")?`${r==="DEFAULT"?`.${e}`:`.${e}-${r}`} `:"",[i,h]=Vo(t);return i?`:where(${l}${h}):not(:where([class~="${s}"],[class~="${s}"] *))${i}`:`:where(${l}${t}):not(:where([class~="${s}"],[class~="${s}"] *))`}function si(t){return typeof t=="object"&&t!==null}function Ko(t={},{target:e,className:r,modifier:n,prefix:s}){function l(i,h){return e==="legacy"?[i,h]:Array.isArray(h)?[i,h]:si(h)?Object.values(h).some(si)?[Lr(i,{className:r,modifier:n,prefix:s}),h,Object.fromEntries(Object.entries(h).map(([o,u])=>l(o,u)))]:[Lr(i,{className:r,modifier:n,prefix:s}),h]:[i,h]}return Object.fromEntries(Object.entries(Yo({},...Object.keys(t).filter(i=>ii[i]).map(i=>ii[i](t[i])),...Xo(t.css||{}))).map(([i,h])=>l(i,h)))}var ai=Uo.withOptions(({className:t="prose",target:e="modern"}={})=>function({addVariant:r,addComponents:n,theme:s,prefix:l}){let i=s("typography"),h={className:t,prefix:l};for(let[a,...o]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){o=o.length===0?[a]:o;let u=e==="legacy"?o.map(f=>`& ${f}`):o.join(", ");r(`${t}-${a}`,e==="legacy"?u:`& :is(${Lr(u,h)})`)}n(Object.keys(i).map(a=>({[a==="DEFAULT"?`.${t}`:`.${t}-${a}`]:Ko(i[a],{target:e,className:t,modifier:a,prefix:l})})))},()=>({theme:{typography:Qo}}));const oi=Tt(ai),Jo=fn({__proto__:null,default:oi},[ai]);var Dt={exports:{}};const Ye=zn||Bs,e1={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},Pe={onprimary:Ye.white,warning:Ye.amber,error:Ye.red,info:Ye.slate,success:Ye.emerald,primary:Ye.blue,brand:e1,"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"}},t1={...Pe,warning:Pe.warning[500],"warning-darken":Pe.warning[600],"warning-lighten":Pe.warning[400],success:Pe.success[500],"success-darken":Pe.success[600],"success-lighten":Pe.success[400],error:Pe.error[500],"error-darken":Pe.error[600],"error-lighten":Pe.error[400],info:Pe.info[500],"info-darken":Pe.info[600],"info-lighten":Pe.info[400],primary:Pe.primary[500],"primary-darken":Pe.primary[600],"primary-lighten":Pe.primary[400],onsurface:Ye.slate[500],onbackground:Ye.slate[700],surface:Ye.slate[50],background:Ye.white},r1={prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{ringWidth:{1:"1px"},colors:t1,lineHeight:{xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},maxWidth:{"1/12":"8.333333333%","2/12":"16.666666666%","3/12":"25%","4/12":"33.333333333%","5/12":"41.666666667%","6/12":"50%","7/12":"58.333333334%","8/12":"66.666666666%","9/12":"75%","10/12":"83.333333334%","11/12":"91.666666666%","12/12":"100%"},blur:{"video-poster":"32px"},transitionProperty:{"opacity-transform":"opacity, transform"},transitionDuration:{600:"600ms"}},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},plugins:[oi||Jo],safelist:[{pattern:/e-w-(full|auto)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-grow/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-basis-(\d{1,2}\/\d{1,2}|full|auto|0)/,variants:["lg","md","sm","xs","xl"]},{pattern:/^!?e-max-w-(\d{1,2}\/\d{1,2})/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-offset-(1[0-2]|[1-9])/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-items-(start|center|end|baseline|stretch)/},{pattern:/e-self-(start|center|end|baseline|stretch)/},{pattern:/e-justify-(around|between|center|end|evenly|normal|start|stretch)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/},{pattern:/e-m[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-p[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},"e-tiny","e-caption","e-body","e-title-2","e-title-1","e-display-3","e-display-2","e-display-1",{pattern:/e-text-(xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl)/},{pattern:/e-text-(warning|error|info|success|primary|brand)-./},{pattern:/e-bg-(warning|error|info|success|primary|brand)-./}]};Dt.exports=r1;const n1=(Dt.exports==null?{}:Dt.exports).default||Dt.exports,Dr=zs(n1),li=Dr.theme.fontSize,ci=Dr.theme.colors,i1=[J.dot,J.xs,J.sm,J.md,J.lg,J.xl],s1=[J.xs,J.sm,J.md,J.lg,J.xl,J["2xl"]],ui=[J.xs,J.sm,J.md,J.base,J.lg,J.xl,J["2xl"],J["3xl"],J["4xl"],J["5xl"],J["6xl"],J["7xl"],J["8xl"],J["9xl"]],a1=[J.sm,J.md,J.lg],o1=[ae.warning,ae.error,ae.info,ae.success,ae.primary,ae.default],l1=[ae.warning,ae.error,ae.info,ae.success,ae.primary,ae.default],c1=[Oe.top,Oe.bottom,Oe.right,Oe.left],u1=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],d1=j.extend({name:"EIcon",props:{icon:{type:String,default:""},color:{type:String,default:ae.default},size:{type:String,default:J.sm}},computed:{sizes(){return ui.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconClasses(){var n,s;const t=this.sizes[this.size]||this.sizes[J.sm],e=`${((s=(n=this.icon)==null?void 0:n.split(" "))==null?void 0:s.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 h1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-icon"},[r("i",{class:e.iconClasses})])},f1=[],p1=Y(d1,h1,f1,!1,null,null,null,null);const rt=p1.exports,m1=j.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:J.base},opacity:{type:[String,Number],default:1}},data(){return{sizes:li,colors:ci}},computed:{computedSize(){return this.sizes[J[this.size]]||this.size||this.sizes[J.base]},fill(){let t={primary:this.colors.brand[500],secondary:this.colors.neutral[300]};return this.dark&&!this.color&&(t={primary:this.colors.neutral[100],secondary:this.colors.neutral[100]}),!this.dark&&this.color&&(t={primary:this.colors.brand[500],secondary:this.colors.neutral[950]}),!this.dark&&!this.color&&(t={primary:this.colors.neutral[200],secondary:this.colors.neutral[200]}),t}},methods:{getNthPathStyle(t){const e=typeof this.animationDuration=="string"?Number.parseInt(this.animationDuration):this.animationDuration;return{animationDuration:`${this.animationDuration}ms`,animationDelay:`${t/10*e}ms`,fill:`${this.fill[t%2===0?"primary":"secondary"]}`}}}}),D8="";var g1=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"}})])},v1=[],_1=Y(m1,g1,v1,!1,null,"29711f67",null,null);const Pr=_1.exports,C1=j.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}}}}),P8="";var y1=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)},b1=[],x1=Y(C1,y1,b1,!1,null,null,null,null);const di=x1.exports,w1=j.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}}}),O8="";var S1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},T1=[],k1=Y(w1,S1,T1,!1,null,null,null,null);const hi=k1.exports;function Or(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function zr(t){if(Or())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 Br(){if(!Or())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 fi(t,e){let r=null;return function(...n){const s=this;r!==null&&clearTimeout(r),r=setTimeout(()=>{r=null,t.apply(s,n)},e||1e3)}}function M1(t=1){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<t;n++)r+=e.charAt(Math.floor(Math.random()*e.length));return r}function E1(t,e=0,r=0,n=t.naturalWidth,s=t.naturalHeight){const l=document.createElement("canvas"),i=l.getContext("2d");l.width=n,l.height=s,i==null||i.drawImage(t,e,r,n,s,0,0,n,s);const h=l.toDataURL();return l.remove(),h}function $1(t){return!!(t!=null&&t.length&&!isNaN(new Date(t).getTime()))}function pi(t,e=1){let r=0,n=0,s=0;return t.length===4?(r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),s=parseInt(t[3]+t[3],16)):t.length===7&&(r=parseInt(t[1]+t[2],16),n=parseInt(t[3]+t[4],16),s=parseInt(t[5]+t[6],16)),`rgba(${r}, ${n}, ${s}, ${e})`}function mi(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function gi(t){return t.startsWith("rgba")}function dt(t,e=1){return gi(t)?t:t.startsWith("#")?pi(t,e):t.startsWith("rgb")?mi(t,e):t}function vi(t){const e=JSON.stringify(t);return _i(e).toString()}function _i(t){var e=0,r,n;if(t.length===0)return e;for(r=0;r<t.length;r++)n=t.charCodeAt(r),e=(e<<5)-e+n,e|=0;return e}const L1=j.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(),s=r.getBoundingClientRect();if(!n||!s)return;const l=t.clientX,i=t.clientY,h=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),a=this.scale;this.scale+=h/10,this.updateZoomScale();const o=((l-s.left)/s.width).toFixed(2),u=((i-s.top)/s.height).toFixed(2);this.left=Math.round(l-n.left-Number(o)*(s.width*this.scale/a)),this.top=Math.round(i-n.top-Number(u)*(s.height*this.scale/a));const f=0,m=0-n.width*(this.scale-1),v=0-n.height*(this.scale-1),x=0;this.left<m?this.left=m:this.left>f&&(this.left=f),this.top<v?this.top=v:this.top>x&&(this.top=x),this.updateTransform()},handleMouseDown(t){!this.isZoomed||this.disabled||(this.isPanning=!0,this.panStart={x:t.clientX,y:t.clientY})},handleMouseUp(){this.disabled||(this.isPanning=!1)},handleMouseLeave(){this.disabled||(this.isPanning=!1)},handleMouseMove(t){if(!this.isPanning||!this.isZoomed||this.disabled)return;const e=t.clientX-this.panStart.x,r=t.clientY-this.panStart.y;this.left+=e,this.top+=r,this.applyBoundsCorrection(),this.panStart={x:t.clientX,y:t.clientY},this.updateTransform()},applyBoundsCorrection(){const t=this.$refs.container,e=this.$refs.content,r=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(!r||!n)return;const[s,l,i,h]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(a=>a<0?a:0);this.left+=h-l,this.top+=s-i},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)}}}),z8="";var D1=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()])])},P1=[],O1=Y(L1,D1,P1,!1,null,"270d2bfd",null,null);const Ir=O1.exports,Fr=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),Ci=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],Ar=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${Fr.format(e)}`:`${n}:${Fr.format(r)}:${Fr.format(e)}`},z1=j.extend({name:"EVideoPlayer",components:{ESpinner:Pr,EZoomable:Ir},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 it,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,async handler(t){this.playing=t,t?await this.play():this.pause(),this.isHls&&(t?this.$emit("hls-play"):this.$emit("hls-pause"))}},preloadedSeconds(t){this.preloadedInterval={start:Se(this.targetTimestamp).format(),end:Se(this.targetTimestamp).add(t,"seconds").format()},this.$emit("preloaded-interval",this.preloadedInterval)},targetTimestamp:{immediate:!0,handler(t){var l,i;if(!this.isHls)return;const e=this.$refs.player,r=(l=this.preloadedInterval)==null?void 0:l.start,n=(i=this.preloadedInterval)==null?void 0:i.end;if(!(r&&n))return;const s=Se(t).isBetween(Se(r),Se(n),void 0,"[]");e.currentTime=0,s||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,s,l,i,h;const e=this.$refs.player,r=this.sources[0];(n=this.player)!=null&&n.stopLoad&&this.player.stopLoad(),it.isSupported()&&(this.isLoading=!0,this.player=new it({startPosition:0,xhrSetup:a=>{this.streamingToken&&a.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),(s=this.player)==null||s.loadSource(t||r.src),(l=this.player)==null||l.attachMedia(e),(i=this.player)==null||i.on(it.Events.MANIFEST_PARSED,(a,o)=>{var m;const u=(m=o.levels[o.firstLevel])==null?void 0:m.details,f=u==null?void 0:u.startTimeOffset;e.currentTime=f||0,this.playing&&e.play()}),(h=this.player)==null||h.on(it.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===it.ErrorTypes.NETWORK_ERROR,n=e.type===it.ErrorTypes.MEDIA_ERROR,s=r&&((o=e.networkDetails)==null?void 0:o.status)===404,l=this.$refs.player,i=()=>this.fallbackSrc&&(l==null?void 0:l.currentSrc)!==this.fallbackSrc,h=()=>this.initHls(this.fallbackSrc),a=()=>{if(i()){h();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(s){a();return}if(r){console.error("A network error occurred:",e),i()?h():this.player.startLoad();return}n&&(console.error("A media error occurred:",e),i()?h():this.player.recoverMediaError()),a()},bindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.addEventListener(e,()=>this.bindVideoEvent(e),!0)})},onProgress(){const t=this.$refs.player;if(t&&t.buffered.length>0)try{this.preloadedSeconds=t.buffered.end(t.buffered.length-1)}catch(e){console.error("Error while fetching buffered end time:",e)}else console.log("No video data has been buffered yet.")},unbindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.removeEventListener(e,()=>this.bindVideoEvent(e),!0)})},bindVideoEvent(t){const e=this.$refs.player;if(!e)return;const r=this.$refs.timelineContainer;t==="loadeddata"&&(this.videoLength=Ar(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&&(Br().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(zr(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=Ar(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=Ar(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(),s=Math.min(Math.max(0,t.x-n.x),n.width)/n.width;r.style.setProperty("--preview-position",s.toString()),this.isScrubbing&&(t.preventDefault(),r.style.setProperty("--progress-position",s.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 s=e.getBoundingClientRect(),l=Math.min(Math.max(0,t.x-s.x),s.width)/s.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=l*this.videoDuration,n.currentTime=l*this.videoDuration,this.wasPaused)return;const i=n.play();i!==void 0&&i.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}}}}),B8="";var B1=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"video-container paused"},[r("EZoomable",{ref:"zoomable",attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground},on:{"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",style:{height:e.$attrs.height,width:e.$attrs.width}},[e.posterUrl?r("img",{staticClass:"e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster",style:{height:e.$attrs.height,width:e.$attrs.width},attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("poster-error",n)}}}):e._e()])]}),r("video",e._g(e._b({ref:"player",class:{"e-w-full e-h-full e-z-[5] e-min-h-[400px]":!0,"e-absolute e-inset-0":e.isZoomable,"e-relative":!e.isZoomable},attrs:{controls:!1,preload:"auto"},on:{ended:e.handleEnded,click:e.onContainerClick,loadedmetadata:e.getDuration,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 fas",class:{"fa-play":!e.playing,"fa-pause":e.playing},attrs:{title:e.playing?"pause":"play"},on:{click:e.togglePlay}}),r("div",{staticClass:"duration-container"},[r("div",{ref:"currentTimeElem",staticClass:"current-time"},[e._v(" "+e._s(e.currentTime)+" ")]),e._v(" / "),r("div",{ref:"totalTimeElem",staticClass:"total-time"},[e._v(e._s(e.videoLength))])]),r("div",{ref:"timelineContainer",staticClass:"timeline-container",on:{mousemove:e.handleTimelineUpdate,mousedown:e.toggleScrubbing}},[e._m(0)]),r("button",{ref:"fullScreenBtn",staticClass:"full-screen-btn fa-solid",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen},on:{click:e.toggleFullscreenMode}})])])]},{play:e.play,pause:e.pause,isPlaying:e.playing,playerInstance:e.player,toggleFullscreen:e.toggleFullscreenMode,currentTime:e.currentTime,videoLength:e.videoLength,isFullscreen:e.isFullscreen})],2)},I1=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],F1=Y(z1,B1,I1,!1,null,"3ebc2ce7",null,null);const yi=F1.exports,Qe={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(s=>{s[0]&&r(s[0])});n.observe(t),t.__resizeObserver__=n},unbind(t){t.__resizeObserver__&&(t.__resizeObserver__.disconnect(),delete t.__resizeObserver__)}},Rr={bind(t,e){const r=t;r.handleClick=function(n){if(!(r===n.target||r.contains(n.target))){const s=e.value;typeof s=="function"&&s(n)}},setTimeout(()=>{document.addEventListener("click",r.handleClick)})},unbind(t){const e=t;e.handleClick&&(document.removeEventListener("click",e.handleClick),delete e.handleClick)}},bi=[{name:"resize-observer",definition:Qe},{name:"click-outside",definition:Rr}],at={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern",clipPath:"clip-path"},H={xAxis:"e-x-axis",xAxisDark:"e-x-axis--dark",xAxisOverview:"e-x-axis-overview",xAxisDetailed:"e-x-axis-detailed",xAxisBackground:"e-x-axis-background",eventGroup:"event-group",eventGroupBg:"event-group-bg",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",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"e-tl-milestone",milestoneBullet:"e-tl-milestone--bullet",milestoneDot:"e-tl-milestone--dot",milestoneContent:"e-tl-milestone-content",milestoneLine:"e-tl-milestone-line",milestonesContainer:"e-tl-milestones",milestoneHovered:"e-tl-milestone--hovered",milestoneSelected:"e-tl-milestone--selected",milestoneLabel:"e-tl-milestone-label",milestoneDotContainer:"e-tl-milestone-dot-container",milestoneDotLine:"e-tl-milestone-dot-line",milestoneDotDot:"e-tl-milestone-dot-dot",milestoneDotHovered:"e-tl-milestone-dot--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",curtain:"curtain",forbiddenInterval:"forbidden-interval"},A1=j.extend({name:"ETimelineMilestone",directives:{resizeObserver:Qe},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{classNames:H,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){this.$emit("hovered-milestone",this.milestone);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 s=n.getBoundingClientRect(),l=e.dataset.timeoutId;l&&(clearTimeout(Number(l)),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(s.width)),e.dataset.initialContentHeight||(e.dataset.initialContentHeight=String(s.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(H.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.$emit("hovered-milestone",null),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),s=n>this.transitionDuration?this.transitionDuration:n,l=setTimeout(()=>{e.classList.remove(H.milestoneHovered),e.dataset.timeoutId=""},s);e.dataset.timeoutId=String(l),this.timeouts.push(l)},onMilestoneClick(t,e){this.$emit("milestone-click",e)}}}),I8="";var R1=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:{[e.classNames.milestone]:!0,[e.classNames.milestoneBullet]:!e.dot,[e.classNames.milestoneHovered]:e.isMouseOver&&!e.dot,[e.classNames.milestoneDot]:e.dot,[e.classNames.milestoneDotHovered]:e.isMouseOver&&e.dot},style:e.styles,attrs:{tabindex:"0"},on:{mouseover:n=>e.onMilestoneMouseOver(n),mousemove:e.onMilestoneMouseMove,mouseleave:n=>e.onMilestoneMouseLeave(n),click:n=>e.onMilestoneClick(n,e.milestone)}},[r("div",{class:e.classNames.milestoneContent,style:e.contentStyles},[e._t("content",function(){var n;return[r("span",[e._v(" "+e._s((n=e.milestone)==null?void 0:n.text)+" ")])]})],2),e.dot?r("div",{class:e.classNames.milestoneDotContainer,style:e.dotContainerStyles},[r("div",{class:e.classNames.milestoneDotLine,style:e.lineStyles}),r("div",{class:e.classNames.milestoneDotDot,style:e.dotStyles})]):r("div",{class:e.classNames.milestoneLabel,style:e.labelStyles},[e._t("label")],2)])},H1=[],N1=Y(A1,R1,H1,!1,null,null,null,null);const W1=N1.exports;function Hr({timestamp:t,timezone:e}){const r=xi(t,e);return Se(t).add(r,"minutes").toDate()}function Nr({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=xi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function xi(t,e){return e?Se.tz(t,e).utcOffset():j1(t)}function j1(t){return Se.parseZone(t).utcOffset()}const G1=j.extend({name:"ETimelineMarker",props:{marker:{type:Object,required:!0},height:{type:Number,required:!0},hidden:{type:[Boolean,void 0],default:void 0},position:{type:[Number,void 0],default:void 0}},methods:{getMarkerClass(t){return{"marker--hidden":this.hidden,"marker--draggable":t==null?void 0:t.isDraggable,...t.className?{[t==null?void 0:t.className]:!0}:{}}},getMarkerContainerStyle(){return{left:`${this.position}px`}},getMarkerLabelStyle(t){return{background:t.color,color:t.textColor||""}},getMarkerLineStyle(t){return{background:t.color,height:`${this.height+12}px`}}}}),F8="";var q1=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"marker e-absolute e-h-full e-top-0 e-z-10",class:e.getMarkerClass(e.marker),style:e.getMarkerContainerStyle(),on:{click:function(n){return e.$emit("marker-clicked",e.marker)}}},[r("div",{staticClass:"marker-label e-absolute"},[r("div",{staticClass:"marker-label-text",style:e.getMarkerLabelStyle(e.marker)},[e._t(`marker.${e.marker.id}`,function(){return[e._v(" "+e._s(e.marker.label)+" ")]},{marker:e.marker})],2)]),r("div",{staticClass:"marker-line e-absolute e-pointer-events-none",style:e.getMarkerLineStyle(e.marker)})])},Z1=[],U1=Y(G1,q1,Z1,!1,null,"614947ed",null,null);const Y1=U1.exports,X1=j.extend({name:"ETimelineMarkers",components:{ETimelineMarker:Y1},props:{markers:{type:Array,default:()=>[]},timeScale:{type:Function,required:!0},timeZone:{type:[String,void 0],default:void 0},height:{type:Number,required:!0},svgLeft:{type:Number,default:void 0},stickyMarkers:{type:Boolean,default:!1}},data(){return{markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0}},watch:{timeScale:{handler(){this.updateMarkers()},deep:!0},markers(){this.updateMarkers()}},methods:{initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=P.drag().on("start",function(e,r){t.handleMarkerDrag({marker:r,markerElement:P.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:P.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:P.select(this),dragEvent:e})}),P.selectAll(`.${H.marker}`).data(this.markers).call(this.markersDragBehavior)},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),P.selectAll(`.${H.marker}`).call(this.markersDragBehavior))},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){var h;if(!t.isDraggable)return;(h=r.sourceEvent)==null||h.preventDefault(),r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${H.markerLine}`).getBoundingClientRect().left,e.classed(H.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,s=this.timeScale.invert(n-this.svgLeft);let l=this.timeScale(s);const i=this.isTimestampAllowedForMarker(s,t);if(r.type==="drag"&&i&&e.attr("style",`left: ${l}px`),r.type==="end"){const a=t.id||t.timestamp;l=i?l:this.timeScale(this.tzStringToDate(t.timestamp)),this.markersPositions={...this.markersPositions,[a]:{...this.markersPositions[a],position:l}},e.classed(H.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:i?this.dateToTzString(s):t.timestamp})},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.markers.forEach((r,n,s)=>{const l=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,i=this.timeScale(l);let h=!1;const a=this.stickyMarkers?Math.max(i,n*t):i;if(n<s.length-1){const o=s[n+1],u=typeof o.timestamp=="string"?this.tzStringToDate(o.timestamp):o.timestamp,f=this.timeScale(u);h=(this.stickyMarkers?Math.max(f,(n+1)*t):i)-a<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:h,position:a}}}),this.initMarkersDragBehavior()},isTimestampAllowedForMarker(t,e){return(e.minDate?t>=this.tzStringToDate(e.minDate):!0)&&(e.maxDate?t<=this.tzStringToDate(e.maxDate):!0)},tzStringToDate(t){return Hr({timestamp:t,timezone:this.timeZone})},dateToTzString(t){return Nr({date:t,timezone:this.timeZone})}}});var Q1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-tl-markers"},e._l(e.markers,function(n){var s,l;return r("ETimelineMarker",{key:n.id,attrs:{marker:n,height:e.height,position:(s=e.markersPositions[n.id])==null?void 0:s.position,hidden:(l=e.markersPositions[n.id])==null?void 0:l.isHidden,"data-id":n.id},on:{"marker-clicked":function(i){return e.$emit("marker-clicked",i)}},scopedSlots:e._u([{key:`marker.${n.id}`,fn:function(){return[e._t(`marker.${n.id}`,function(){return[e._v(" "+e._s(n.label)+" ")]},{marker:n})]},proxy:!0}],null,!0)})}),1)},V1=[],K1=Y(X1,Q1,V1,!1,null,null,null,null);const J1=K1.exports,e0=j.extend({name:"EZoomBehavior",props:{width:{type:[Number,void 0],default:void 0},domain:{type:Array,required:!0},focusedDomain:{type:[Array,void 0],default:void 0},timezone:{type:String,default:"UTC"},disabled:{type:Boolean,default:!1},scalingDuration:{type:Number,default:400},translationDuration:{type:Number,default:400},focusedTimestamp:{type:[String,Date],default:""}},data(){return{timeScale:null,initialTimeScale:null,zoomBehavior:null,selection:null,isTransitioning:!1,container:null,isLocked:!1,transformDiff:{translation:0,scale:1},lastTransform:{x:0,y:0,k:1},isLeftBoundaryReached:!1,isRightBoundaryReached:!1,resetBoundariesTimeout:0}},computed:{minDate(){const t=this.domain[0];return this.toD3Date(t)},maxDate(){const t=this.domain[1];return this.toD3Date(t)},focusedStartDate(){const e=(this.focusedDomain||this.domain)[0];return this.toD3Date(e)},focusedEndDate(){const e=(this.focusedDomain||this.domain)[1];return this.toD3Date(e)}},watch:{timeScale(){this.emitTimeScaleChange(),this.emitFocusedDomainChange()},focusedDomain(t){this.zoomToFocusedDomain(t)},focusedTimestamp(t){t&&this.panToTimestamp(t)},transformDiff(){this.$emit("transform-changed",this.transformDiff)}},mounted(){this.initRefs(),this.initTimeScale(),this.initZoomBehavior(),this.emitTimeScaleChange()},methods:{initRefs(){this.container=this.$refs.container},initTimeScale(){this.timeScale=P.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,this.getWidth()]),this.initialTimeScale=this.timeScale.copy()},calculateZoomExtents(){const t=[this.focusedStartDate,this.focusedEndDate],e=this.getWidth(),r=this.maxDate.getTime()-this.minDate.getTime(),l=[(this.focusedEndDate.getTime()-this.focusedStartDate.getTime())/r,1/0],i=this.initialTimeScale.copy();i.domain(t);const h=i(this.minDate),a=-(e-i(this.maxDate));return{scaleExtent:l,translateExtent:[[h||-1/0,0],[a||1/0,0]]}},initZoomBehavior(){const{scaleExtent:t,translateExtent:e}=this.calculateZoomExtents();this.zoomBehavior=P.zoom().scaleExtent(t).translateExtent(e).on("zoom",this.handleZoom),this.selection=P.select(this.container),this.selection.call(this.zoomBehavior)},handleZoom(t){const r=t.transform.rescaleX(this.initialTimeScale.copy()).domain(),n=r[0]<=this.minDate,s=r[1]>=this.maxDate;if(n||s){const i=P.zoomIdentity.translate(this.lastTransform.x,this.lastTransform.y).scale(this.lastTransform.k);this.selection.call(this.zoomBehavior.transform,i),this.updateBoundaries(n,s);return}const l=t.transform.k/this.lastTransform.k;this.transformDiff={scale:l,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform},this.timeScale=t.transform.rescaleX(this.timeScale).domain(r)},toD3Date(t){return Hr({timestamp:t,timezone:this.timezone})},toDateString(t){return Nr({date:t,timezone:this.timezone})},getWidth(){var t,e;return this.width?this.width:(e=(t=this.container)==null?void 0:t.getBoundingClientRect())==null?void 0:e.width},zoomToFocusedDomain(t){const e=this.toD3Date(t[0]),r=this.toD3Date(t[1]),n=this.timeScale.domain();if(e.getTime()===n[0].getTime()&&r.getTime()===n[1].getTime())return;const s=this.initialTimeScale.domain().map(m=>m.getTime()),l=s[1]-s[0],i=r.getTime()-e.getTime(),h=.1*i,a=i+2*h;let o=l/a;const u=this.zoomBehavior.scaleExtent();o=Math.min(Math.max(o,u[0]),u[1]);const f=this.initialTimeScale.copy().domain([e,r]);this.selection.transition().duration(this.scalingDuration/2).call(this.zoomBehavior.scaleTo,o).on("end",()=>this.translateIntervalIntoView(e.getTime(),r.getTime(),o)),this.timeScale=f},translateIntervalIntoView(t,e,r){const n=this.timeScale(new Date(t)),s=this.timeScale(new Date(e)),l=(n+s)/2,h=this.getWidth()/2-l,a=P.zoomTransform(this.selection.node());this.selection.transition().duration(this.translationDuration/2).call(this.zoomBehavior.transform,P.zoomIdentity.translate(a.x+h,a.y).scale(r))},emitTimeScaleChange(){this.$emit("time-scale-change",this.timeScale)},emitFocusedDomainChange(){if(!this.selection.node())return;const[e,r]=this.timeScale.domain();this.$emit("focused-domain-change",[this.toDateString(e),this.toDateString(r)])},panToTimestamp(t){const e=new Date(t),r=this.timeScale(e),n=P.zoomTransform(this.selection.node()),s=n.x-r+this.getWidth()/2;this.selection.transition().duration(this.translationDuration).call(this.zoomBehavior.transform,P.zoomIdentity.translate(s,0).scale(n.k)).on("end",()=>{this.emitFocusedDomainChange()})},updateBoundaries(t,e){this.isLeftBoundaryReached=t,this.isRightBoundaryReached=e,clearTimeout(this.resetBoundariesTimeout),this.resetBoundariesTimeout=setTimeout(this.resetBoundaries,300)},resetBoundaries(){this.isLeftBoundaryReached=!1,this.isRightBoundaryReached=!1}}}),A8="";var t0=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoom-behavior"},[r("transition",{attrs:{name:"boundary-fade"}},[e.isLeftBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__left e-bg-gradient-to-r e-from-red-700 e-to-transparent"}):e._e()]),e._t("default",null,{timeScale:e.timeScale}),r("transition",{attrs:{name:"boundary-fade"}},[e.isRightBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__right e-bg-gradient-to-l e-from-red-700 e-to-transparent"}):e._e()])],2)},r0=[],n0=Y(e0,t0,r0,!1,null,null,null,null);const i0=n0.exports,s0=j.extend({name:"EXAxis",props:{ticksConfigs:{type:Array,required:!0},timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H}},computed:{classes(){return{[H.xAxis]:!0,[H.xAxisDark]:this.dark}},axis(){return P.axisBottom(this.timeScale).ticks(this.currentTicksConfig.interval).tickFormat(this.currentTicksConfig.formatFn).tickSizeOuter(0).tickSizeInner(this.height)},density(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},currentTicksConfig(){const{interval:t,format:e}=this.ticksConfigs.find(n=>n.precision>=this.density&&n.interval);return{formatFn:n=>typeof e=="function"?e(n):P.timeFormat(e)(n),interval:t}}},watch:{timeScale:{handler(){this.update()},deep:!0},currentTicksConfig:{handler(){this.update()},deep:!0},height(){this.updateTicksSize()}},mounted(){this.update()},methods:{update(){const t=this.$refs.container;P.select(t).call(this.axis),this.translateTicksText()},translateTicksText(){const t=this.$refs.container;P.select(t).selectAll(".tick text").each(function(){P.select(this).attr("x",5).attr("y",0).style("text-anchor","start")})},updateTicksSize(){this.axis.tickSizeOuter(0).tickSizeInner(this.height),this.update()}}}),R8="";var a0=function(){var e=this,r=e._self._c;return r("g",{ref:"container",class:e.classes,attrs:{"text-anchor":"middle",transform:`translate(${e.x}, ${e.y})`}})},o0=[],l0=Y(s0,a0,o0,!1,null,null,null,null);const Wr=l0.exports,Pt=t=>{const e=P.utcFormat("%_d")(t),r=c0(parseInt(e));return`${e}${r}`},wi=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":P.utcFormat("%-d")(t),mt=t=>["0"," 0","00"].includes(P.utcFormat("%H")(t))?"":`${P.utcFormat("%H")(t)}h`,nt=t=>{const e=P.utcFormat("%H:%M")(t);return e==="00:00"?"":e},jr=t=>P.utcFormat("%M:%S")(t),Si=t=>`${P.utcFormat("%Hh%Mm")(t)}`,Gr=t=>{const e=nt(t),r=Pt(t),n=P.utcFormat("%B")(t);return e||`${n} ${r}`},qr=t=>{const e=nt(t),r=Number.parseInt(P.utcFormat("%H")(t)),n=Pt(t),s=P.utcFormat("%B")(t);return e&&r%6===0?`${s} ${n} ${e}`:Gr(t)},c0=t=>{if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},gt=t=>e=>{const r=P.utcFormat("%H")(e);return!(P.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},Zr=t=>e=>{const r=P.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},Ti=t=>e=>{const r=P.utcFormat("%M")(e),n=P.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},ee={_10_seconds:25e-6,_20_seconds:1e-4,_30_seconds:15e-5,_1_minute:3e-4,_2_minutes:75e-5,_5_minutes:.002,_15_minutes:.005,_30_minutes:.01,_1_hour:.025,_2_hours:.05,_3_hours:.1,_4_hours:.15,_6_hours:.25,_1_day:1,_2_days:2,_1_month:8,_1_month_abbr:13,_1_month_letter:22,_3_months:33,_2_year:48,_5_years:120,_20_years:480,_75_years:1800,_300_years:7200,infinity:1/0},Ur={[et.overview]:[{precision:ee._30_seconds,interval:P.utcMinute.every(2),format:Si},{precision:ee._1_minute,interval:P.utcMinute.every(5),format:Si},{precision:ee._2_minutes,interval:P.utcMinute.every(10),format:Gr},{precision:ee._5_minutes,interval:P.utcMinute.every(20),format:qr},{precision:ee._15_minutes,interval:P.utcHour,format:qr},{precision:ee._30_minutes,interval:P.utcHour.every(2),format:qr},{precision:ee._2_hours,interval:P.utcHour.every(6),format:t=>{const e=nt(t),r=Pt(t),n=P.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:ee._3_hours,interval:P.utcHour.every(12),format:Gr},{precision:ee._6_hours,interval:P.utcHour.every(24),format:t=>{const e=Pt(t),r=P.utcFormat("%b")(t),n=P.utcFormat("%Y")(t);return`${r} ${e} ${n}`}},{precision:ee._2_days,interval:P.utcMonth,format:"%Y – %B"},{precision:ee._2_year,interval:P.utcMonth.every(3),format:"%Y Q%q"},{precision:ee._5_years,interval:P.utcYear.every(5),format:"%Y"},{precision:ee._20_years,interval:P.utcYear.every(20),format:"%Y"},{precision:ee._75_years,interval:P.utcYear.every(75),format:"%Y"},{precision:ee._300_years,interval:P.utcYear.every(300),format:"%Y"},{precision:ee.infinity,interval:P.utcMonth.every(12),format:"%Y"}],[et.detailed]:[{precision:ee._10_seconds,interval:P.utcSecond.every(10),format:jr},{precision:ee._20_seconds,interval:(Ui=P.utcSecond.every(20))==null?void 0:Ui.filter(Ti(2)),format:jr},{precision:ee._30_seconds,interval:(Yi=P.utcSecond.every(30))==null?void 0:Yi.filter(Ti(2)),format:jr},{precision:ee._1_minute,interval:P.utcMinute.filter(Zr(5)),format:nt},{precision:ee._2_minutes,interval:(Xi=P.utcMinute.every(2))==null?void 0:Xi.filter(Zr(10)),format:nt},{precision:ee._5_minutes,interval:(Qi=P.utcMinute.every(5))==null?void 0:Qi.filter(Zr(20)),format:nt},{precision:ee._15_minutes,interval:(Vi=P.utcMinute.every(15))==null?void 0:Vi.filter(gt(1)),format:nt},{precision:ee._30_minutes,interval:(Ki=P.utcMinute.every(30))==null?void 0:Ki.filter(gt(2)),format:nt},{precision:ee._1_hour,interval:P.utcHour.filter(gt(6)),format:mt},{precision:ee._2_hours,interval:(Ji=P.utcHour.every(2))==null?void 0:Ji.filter(gt(6)),format:mt},{precision:ee._3_hours,interval:(es=P.utcHour.every(3))==null?void 0:es.filter(gt(12)),format:mt},{precision:ee._4_hours,interval:P.utcHour.every(4),format:mt},{precision:ee._6_hours,interval:P.utcHour.every(6),format:mt},{precision:ee._1_day,interval:P.utcDay,format:wi},{precision:ee._2_days,interval:P.utcDay.every(2),format:wi},{precision:ee._1_month,interval:P.utcMonth,format:"%B"},{precision:ee._1_month_abbr,interval:P.utcMonth,format:"%b"},{precision:ee._1_month_letter,interval:P.utcMonth,format:t=>P.utcFormat("%B")(t).charAt(0)},{precision:ee._3_months,interval:P.utcMonth.every(3),format:"Q%q"},{precision:ee._2_year,interval:P.utcMonth.every(6),format:"Q%q"},{precision:ee._5_years,interval:P.utcYear.every(2),format:"%Y"},{precision:ee._20_years,interval:P.utcYear.every(4),format:"%Y"},{precision:ee._75_years,interval:P.utcYear.every(25),format:"%Y"},{precision:ee._300_years,interval:P.utcYear.every(100),format:"%Y"},{precision:ee.infinity,interval:P.utcYear.every(500),format:""}],[et.detailedBackground]:[{precision:ee._10_seconds,interval:P.utcSecond,format:""},{precision:ee._20_seconds,interval:P.utcSecond.every(5),format:""},{precision:ee._30_seconds,interval:P.utcSecond.every(10),format:""},{precision:ee._1_minute,interval:P.utcSecond.every(20),format:""},{precision:ee._2_minutes,interval:P.utcSecond.every(30),format:""},{precision:ee._5_minutes,interval:P.utcMinute,format:""},{precision:ee._15_minutes,interval:P.utcMinute.every(3),format:""},{precision:ee._30_minutes,interval:P.utcMinute.every(6),format:""},{precision:ee._1_hour,interval:P.utcMinute.every(15),format:""},{precision:ee._2_hours,interval:P.utcMinute.every(30),format:""},{precision:ee._3_hours,interval:P.utcHour,format:""},{precision:ee._4_hours,interval:P.utcHour,format:""},{precision:ee._6_hours,interval:P.utcMinute.every(120),format:""},{precision:ee._1_day,interval:P.utcHour.every(8),format:""},{precision:ee._2_days,interval:P.utcHour.every(12),format:""},{precision:ee._1_month,interval:P.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/5);return e===n||e===2*n||e===3*n||e===4*n}),format:""},{precision:ee._1_month_abbr,interval:P.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/4);return e===n||e===2*n||e===3*n}),format:""},{precision:ee._1_month_letter,interval:P.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/2);return e===n}),format:""},{precision:ee._3_months,interval:P.utcMonth,format:""},{precision:ee._3_months,interval:P.utcMonth,format:""},{precision:ee._2_year,interval:P.utcYear,format:""},{precision:ee._5_years,interval:P.utcYear.every(2),format:""},{precision:ee._20_years,interval:P.utcYear.every(5),format:""},{precision:ee._75_years,interval:P.utcYear.every(20),format:""},{precision:ee._300_years,interval:P.utcYear.every(100),format:""},{precision:ee.infinity,interval:P.utcYear.every(500),format:""}]},u0=j.extend({name:"EXAxisOverview",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H,ticksConfigs:Ur[et.overview]}}}),H8="";var d0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisOverview,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},h0=[],f0=Y(u0,d0,h0,!1,null,null,null,null);const p0=f0.exports,m0=j.extend({name:"EXAxisDetailed",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H,ticksConfigs:Ur[et.detailed]}}}),N8="";var g0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisDetailed,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},v0=[],_0=Y(m0,g0,v0,!1,null,null,null,null);const C0=_0.exports,y0=j.extend({name:"EXAxisBackground",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H,ticksConfigs:Ur[et.detailedBackground]}}}),W8="";var b0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisBackground,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},x0=[],w0=Y(y0,b0,x0,!1,null,null,null,null);const S0=w0.exports,T0=j.extend({name:"ETimelineSVGDefs",props:{eventsGroups:{type:Object,default:()=>({})},forbiddenIntervalColor:{type:String,default:"#ddd"},width:{type:Number,required:!0},height:{type:Number,required:!0}},data(){return{defs:at,TimelineChartType:je,transparencyGradients:[{id:"transparency-gradient-light",stop:38,opacity:.3},{id:"transparency-gradient",stop:130,opacity:.4}]}},computed:{filteredEventsGroups(){return this.eventsGroups||{}}}});var k0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("defs",{ref:"mainContainer",staticClass:"e-timeline"},[e._l(e.eventsGroups,function(n,s){return[r("linearGradient",{key:`${e.defs.loadingGradient}-${s}`,attrs:{id:`${e.defs.loadingGradient}-${s}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":"0"}}),r("stop",{attrs:{offset:"50%","stop-color":n.color,"stop-opacity":"0.6"}}),r("stop",{attrs:{offset:"100%","stop-color":n.color,"stop-opacity":"0"}})],1),[e.TimelineChartType.lineGraph,e.TimelineChartType.barChart].includes(n.chartType)?[e._l(e.transparencyGradients,function({id:l,stop:i,opacity:h}){return r("linearGradient",{key:`${l}-${s}`,attrs:{id:`${l}-${s}`,x1:"0%",x2:"0%",y1:"0%",y2:"100%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":h}}),r("stop",{attrs:{offset:`${i}%`,"stop-color":n.color,"stop-opacity":"0"}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${s}`,attrs:{id:`${e.defs.clipPath}-${s}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e()]}),r("pattern",{attrs:{id:e.defs.stripedPattern,width:"5",height:"3",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)"}},[r("rect",{attrs:{width:"1",height:"4",fill:e.forbiddenIntervalColor}})])],2)},M0=[],E0=Y(T0,k0,M0,!1,null,null,null,null);const $0=E0.exports,L0=j.extend({name:"ETimeline",directives:{resizeObserver:Qe},components:{ETimelineSVGDefs:$0,EXAxisBackground:S0,EXAxisDetailed:C0,EXAxisOverview:p0,ETimelineMilestone:W1,ETimelineMarkers:J1,EZoomBehavior:i0},props:{eventsGroups:{type:Object,default:()=>({})},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},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},tooltipPosition:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},maxDomainPadding:{type:Number,default:0}},data(){return{mainContainer:null,tooltip:null,cursor:null,timeline:null,wrapperDiv:null,selectedTimestampCursor:null,svgElement:null,svg:null,timeScale:null,currentTimeScaleDensity:null,axisHeight:22,isHoveringEvent:!1,hoveredEvent:null,isHoveringTimeline:!1,hoveredTimestamp:null,eventTooltipStyle:{},hoveredEventType:null,utcOffset:0,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:{},selectedMilestoneId:null,isInitialized:!1,transformDiff:{translation:0,scale:1},isZoomingInterval:!1,hoveredMilestone:null,focusedDomain:null,transitionDuration:400,focusedTimestamp:null}},computed:{combinedBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(this.getBarGroupHeight(e)||this.barChartHeight),0)},combinedBottomBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(e.bottom?this.getBarGroupHeight(e):0),0)},combinedMilestonesHeight(){return Object.values(this.milestonesGroups).reduce((t,e)=>t+(e.height||this.barChartHeight),0)},milestonesYOffset(){return this.milestonesFirst?0:this.combinedBarsHeight-this.combinedBottomBarsHeight+(this.hasChart?this.chartHeight:0)},chartsYOffset(){return this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0},barsYOffset(){return(this.hasChart?this.chartHeight:0)+(this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0)},hasMilestones(){return Object.keys(this.milestonesGroups).length>0},barChartHeight(){return this.barHeight+this.barYPadding},computedClasses(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark,"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===je.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||[je.bars,je.dots].includes(r.chartType)?{...t,[e]:r}:t,{})},barChartGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===je.barChart?{...t,[e]:r}:t,{})},milestonesGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===je.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 s;return Math.max(r,(s=n.label)==null?void 0:s.length)},0)*this.characterWidth+2*this.textPadding},combinedXAxesHeight(){return this.axisHeight*2},timelineWidth(){var t,e,r;return((t=this.timeline)==null?void 0:t.offsetWidth)||((r=(e=this.mainContainer)==null?void 0:e.getBoundingClientRect())==null?void 0:r.width)},timelineHeight(){return(this.hasChart?this.chartHeight:0)+this.combinedXAxesHeight+this.combinedBarsHeight+this.combinedMilestonesHeight},filteredEventsGroups(){const t=Object.entries(this.eventsGroups).filter(([e,r])=>this.getCurrentGroupVisibility(e));return Object.fromEntries(t)},allEventsSorted(){const t=Object.values(this.filteredEventsGroups).map(e=>e.events).flat();return this.getSortedEvents(t)},oldestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[0]:t={timestamp:new Date(new Date().getTime()-864e5)},t},latestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[this.allEventsSorted.length-1]:t={timestamp:new Date},t},allLineChartTimestamps(){const t=new Set;return Object.values(this.lineGraphGroups).forEach(e=>{e.events.forEach(r=>{t.add(r.timestamp)})}),Array.from(t).sort()},placeholderLineChartGroup(){return this.fillTimeGaps(this.allLineChartTimestamps.map(t=>({timestamp:t,count:0})))},filledGapsLineGraphGroups(){return Object.entries(this.lineGraphGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:this.fillEvents(r.events)}}),{})},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):[]},maxVisibleCount(){const[t,e]=this.timeScale.domain(),r=this.flattenedCounts.filter(n=>{const s=new Date(n.startDate||n.timestamp),l=new Date(n.endDate||n.timestamp);return l>=t&&l<=e||s>=t&&s<=e});return P.max(r,n=>n.count)},defaultMaxDomain(){const t=new Date(this.oldestEvent.timestamp||this.oldestEvent.startDate).getTime(),e=new Date(this.latestEvent.timestamp||this.latestEvent.startDate).getTime(),n=(e-t)*.75,s=new Date(t-n),l=new Date(e+n);return[s.toISOString(),l.toISOString()]},defaultFocusedDomain(){const t=this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.latestEvent.timestamp||this.latestEvent.endDate;return[t,e]},domain(){let t=new Date(this.minDate||this.defaultMaxDomain[0]).getTime(),e=new Date(this.maxDate||this.defaultMaxDomain[1]).getTime(),r=0;return this.maxDomainPadding&&(r=(e-t)*this.maxDomainPadding),t=new Date(t-r).toISOString(),e=new Date(e+r).toISOString(),[this.tzStringToDate(t),this.tzStringToDate(e)]},svgLeft(){var t,e,r;return((r=(e=(t=this.svg)==null?void 0:t.node())==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0},markersScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("marker.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})}},watch:{dark(){this.handleDarkModeChange()},selectedTimestamp(){this.repositionSelectedTimestampCursor()},markers(){this.fitMarkersOnChange&&this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},eventsGroups:{handler(){this.updateTimeline()},deep:!0},barHeight:"updateTimeline",barYPadding:"updateTimeline",chartMinHeight:"updateTimeline",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.focusedTimestamp=this.tzStringToDate(t).toISOString())},groupsVisibility(){this.updateTimeline()},forbiddenIntervals(){this.updateForbiddenIntervals(!0)},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&(this.focusedDomain=[t.startDate,t.endDate])}},created(){this.debouncedOnResize=fi(this.handleResize,100)},mounted(){this.validateProps(),this.initTimeline(),this.zoomToStartAndEndDates()},beforeDestroy(){this.clearTimeline()},methods:{validateProps(){this.minDate||console.log("<ETimeline />: didn't receive a 'min-date' prop. Setting default: ",this.defaultMaxDomain[0]),this.maxDate||console.log("<ETimeline />: didn't receive a 'max-date' prop. Setting default: ",this.defaultMaxDomain[1]),this.startDate||console.log("<ETimeline />: didn't receive a 'start-date' prop. Setting default: ",this.defaultFocusedDomain[0]),this.endDate||console.log("<ETimeline />: didn't receive an 'end-date' prop. Setting default: ",this.defaultFocusedDomain[1])},updateTimeline(){this.isInitialized&&(this.initOrUpdateSvg(),this.updateYScale(),this.updateForbiddenIntervals(),this.drawEventsGroups(),this.updateCurtains(),this.repositionSelectedTimestampCursor(),this.registerEventsListeners(),this.isInitialized=!0)},initTimeline(){this.initRefs();const t=this.startDate||this.defaultFocusedDomain[0],e=this.endDate||this.defaultFocusedDomain[1];if(this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)],!this.timeline||this.timeline.offsetWidth===0||!this.domain||!this.timeScale){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.initOrUpdateSvg(),this.initUtcOffset(),this.initYScale(),this.drawEventsGroups(),this.curtains&&(this.initCurtains(),this.emitCurtainChange()),this.initSelectedTimestampCursor(),this.registerEventsListeners(),this.emitVisibleInterval(wt.initial),this.selectedDate&&this.panOnDateClick&&(this.focusedTimestamp=this.tzStringToDate(this.selectedDate)),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.cursor=this.$refs.cursor,this.mainContainer=this.$refs.mainContainer,this.timeline=this.$refs.timelineContainer,this.svgElement=this.$refs.timelineSvg,this.selectedTimestampCursor=this.$refs.selectedTimestamp,this.wrapperDiv=this.$refs.wrapperDiv},initOrUpdateSvg(){this.svg||(this.svg=P.select(this.svgElement))},initUtcOffset(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate;this.utcOffset=Se.parseZone(t).utcOffset()},initYScale(){this.yScale=P.scaleLinear().range([this.chartHeight,0]),this.updateYScale()},updateYScale(){this.yScale.range([this.chartHeight,0]),this.yScale.domain([0,this.maxVisibleCount])},zoomToFitMarkers(){const t=this.markers.map(l=>new Date(l.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t),n=new Date(e),s=new Date(r);this.focusedDomain=[n,s]},initSelectedTimestampCursor(){this.svg.append("line").attr("class",H.selectedTimestampCursor).style("stroke","red").style("stroke-width","1px").style("opacity",0).attr("x1",0).attr("x2",0).attr("y1",0),this.repositionSelectedTimestampCursor()},selectOrAppend({parent:t,targetId:e,targetType:r}){let n=t.select(`#${e}`);return n.empty()&&(n=t.append(r).attr("id",e)),n},clearTimeline(){this.svg&&this.svg.remove(),this.countsByTimestamp={}},repositionSelectedTimestampCursor(){var n;const t=(n=this.svg)==null?void 0:n.select(`.${H.selectedTimestampCursor}`);if(!t)return;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(){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),s=this.dateToTzString(this.visibleTo);this.$emit("visible-interval-change",{fromDate:n,toDate:s,trigger:t,transform:this.transformDiff})},onResize(t){this.autoResize&&(this.isFirstPaint?(this.handleResize(t),this.isFirstPaint=!1):this.debouncedOnResize(t))},handleResize({contentRect:t}){this.svg&&(this.svg.attr("width",t.width),this.updateTimeline())},handleDarkModeChange(){if(!this.showLabels)return;const t=this;this.svg.selectAll(`.${H.labelBg}`).each(function(){P.select(this).style("fill",t.dark?"black":"white")}),this.svg.selectAll(`.${H.labelBgFill}`).each(function(){const e=P.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(`.${H.labelText}`).each(function(){const e=P.select(this),r=e.node().dataset.color;e.style("fill",t.getTextFillColor(r))})},handleMouseLeave(){this.isHoveringTimeline=!1,this.$emit("hovered-timestamp",void 0)},handleMouseMove(t){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`,zIndex:100,[this.tooltipPosition==="top"?"bottom":"top"]:`${this.timeline.getBoundingClientRect().height}px`})},handleClick(t){const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);if(this.isHoveringEvent&&(this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation))return;const s=t.target;if(Array.from(s.classList).includes(H.forbiddenInterval)){this.$emit("forbidden-timestamp-clicked",n);return}this.$emit("date-clicked",n),this.panOnDateClick&&(this.focusedTimestamp=n)},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t.timestamp)},handleLineMouseOver(t,e,r){this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp}`]).reduce((n,s)=>{const[l,i]=s;return[...n,{type:l,count:i}]},[]),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){P.selectAll(`.${H.lineGraphGroup}-${t}`).classed(`${H.lineGraphGroup}--highlighted`,!0),P.selectAll(`.${H.lineGraphGroupLabel}`).classed(`${H.lineGraphGroupLabel}--highlighted`,!0)},handleLabelMouseLeave(t){P.selectAll(`.${H.lineGraphGroup}-${t}`).classed(`${H.lineGraphGroup}--highlighted`,!1),P.selectAll(`.${H.lineGraphGroupLabel}`).classed(`${H.lineGraphGroupLabel}--highlighted`,!1)},handleTransformChange(t){this.transformDiff=t},handleTimeScaleChange(t){this.timeScale=t,this.updateCurrentTimeScaleDensity(),this.isInitialized&&(this.updateEventsBars(),this.updateLineGraphs(),this.updateBarChart(),this.updateLineGraphHoverZones(),this.updateMilestonesPositions(),this.repositionSelectedTimestampCursor(),this.updateForbiddenIntervals(),this.emitVisibleInterval(wt.zoom),this.curtains&&this.emitCurtainChange(),this.focusedTimestamp=void 0,this.$emit("time-scale-change",t))},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,s=(this.rightCurtainWidth+this.curtainHandleWidth*2)/t*r,l=new Date(e[0].getTime()+n),i=new Date(e[1].getTime()-s);return{startDate:l,endDate:i}},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(`.${H.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(`.${H.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;this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)]},updateEventsBars(){const t=`.${H.eventGroup} > rect.${H.eventRect}`,e=`${t}:not(.${H.eventRect}--dot)`;this.svg.selectAll(t).attr("x",this.getEventRectX),this.svg.selectAll(e).attr("width",this.getEventRectWidth);const r=`.${H.eventGroup} > text.${H.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=m=>(this.getEventRectWidth(m)-this.barXPadding*2)/t,s=m=>this.yScale.range()[0]-this.yScale(m.count),l=m=>this.getEventRectX(m)+this.barXPadding+r*n(m),i=m=>this.yScale(m.count),h=`.${H.eventBarContainer}-${e}`,a=this.svg.selectAll(h),o=`.${H.barChartGroup} rect.${H.eventBarHoverZone}`;a.selectAll(o).attr("x",l).attr("width",n);const u=`.${H.barChartGroup} rect.${H.eventBar}`;a.selectAll(u).attr("x",l).attr("width",n).attr("y",i).attr("height",s);const f=`.${H.barChartGroup} rect.${H.eventBarCap}`;a.selectAll(f).attr("x",l).attr("width",n).attr("y",i)})},updateLineGraphs(){Object.entries(this.lineGraphGroups).forEach(([t])=>{const e=P.area().x(r=>this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1(r=>this.yScale(r.count)).curve(P.curveMonotoneX);this.svg.selectAll(`.${H.lineGraphPath}-${t}`).attr("d",r=>e(r))})},updateLineGraphHoverZones(){Object.keys(this.lineGraphGroups).forEach(t=>{const e=this;this.svg.selectAll(`.${H.lineGraphDot}-${t}`).each(function(r){P.select(this).attr("cx",e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy",e.yScale(r.count))}),this.svg.selectAll(`.${H.lineGraphHoverZone}-${t}`).each(function(r){const n=e.timeScale(e.tzStringToDate(r.timestamp).getTime())-15;P.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)},initCurtains(){this.createCurtains(),this.updateCurtains()},createCurtains(){this.curtains&&(this.svg.append("rect").classed(`${H.curtain} ${H.curtain}--left`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(P.drag().on("start",this.handleDragStart).on("drag",this.handleLeftDrag).on("end",this.handleDragEnd)),this.svg.append("rect").classed(`${H.curtain} ${H.curtain}--right`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(P.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(`.${H.curtain}--left`).attr("width",this.leftCurtainWidth).attr("height",e+this.curtainHandleWidth*2).attr("y",-this.curtainHandleWidth).attr("x",-this.curtainHandleWidth),this.svg.select(`.${H.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(`.${H.forbiddenInterval}`).remove();const e=this.timeScale.domain();this.forbiddenIntervals.forEach((r,n)=>{const s=r.startDate===-1/0?e[0]:this.tzStringToDate(r.startDate),l=r.endDate===1/0?e[1]:this.tzStringToDate(r.endDate),i=this.timeScale(s),h=this.timeScale(l),a=Math.max(h-i,0);let o=this.svg.select(`.${H.forbiddenInterval}-${n}`);o.empty()&&(o=this.svg.append("rect").attr("class",`${H.forbiddenInterval} ${H.forbiddenInterval}-${n}`).attr("fill",`url(#${at.stripedPattern})`)),o.attr("x",i).attr("y",0).attr("width",a).attr("height",this.timelineHeight)})},drawEventsGroups(){this.svg.selectAll(`g.${H.eventGroup}`).remove(),this.svg.selectAll(`.${H.barChartGroup}`).remove(),this.svg.selectAll(`.${H.lineGraphGroup}`).remove(),this.svg.selectAll(`.${H.lineGraphGroupLabel}`).remove(),this.svg.selectAll(`.${H.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 s=this.svg.append("g").classed(`${H.lineGraphGroup} ${H.lineGraphGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:l,events:i}=n;this.drawLineGraph({events:i,gElement:s,color:l,type:r}),this.drawLineGraphHoverZones({events:i,gElement:s,color:l,type:r})}),Object.entries(this.lineGraphGroups).forEach(([r,n],s)=>{const{color:l,isLoading:i,label:h}=n,a=Math.max(this.chartMinLabelHeight,this.barChartHeight),o=this.chartHeight-a*(s+1),u=t+this.chartHeight-a,f=this.svg.append("g").classed(H.lineGraphGroupLabel,!0).attr("transform",`translate(0,${t})`).on("mouseover",()=>this.handleLabelMouseOver(r)).on("mouseleave",()=>this.handleLabelMouseLeave(r));this.drawProgressIndicator({type:r,color:l,isLoading:i,yPosition:u}),this.drawTextLabel({color:l,label:h,type:r,height:a,yPosition:o,gElement:f})})},drawLineGraph({events:t,gElement:e,color:r,type:n}){const s=P.area().x(i=>this.timeScale(this.tzStringToDate(i.timestamp))).y0(this.timelineHeight).y1(i=>this.yScale(i.count)).curve(P.curveMonotoneX),l=`${at.clipPath}-${n}`;e.append("path").datum(t).classed(`${H.lineGraphPath}-${n}`,!0).attr("fill",`url(#${at.transparencyGradientLight}-${n})`).attr("stroke",r).attr("stroke-linejoin","round").attr("stroke-linecap","round").attr("stroke-width",1).attr("d",i=>s(i)).attr("clip-path",`url(#${l})`)},drawLineGraphHoverZones({events:t,gElement:e,color:r,type:n}){t.forEach(s=>{const l=`${s.timestamp}`;this.countsByTimestamp[l]={...this.countsByTimestamp[l]||{},[n]:s.count};const i=e.append("circle").classed(`${H.lineGraphDot} ${H.lineGraphDot}-${n}`,!0).attr("cx",this.timeScale(this.tzStringToDate(s.timestamp))).attr("cy",this.yScale(s.count)).attr("r",1.5).attr("fill",r).attr("stroke-width",0).datum(s);this.dotsByTimestamp[l]=[...this.dotsByTimestamp[l]||[],i],e.append("rect").classed(`${H.lineGraphHoverZone}-${n}`,!0).attr("x",this.timeScale(this.tzStringToDate(s.timestamp))-15).attr("y",0).attr("width",30).attr("height",this.chartHeight).attr("fill","transparent").datum(s).on("mouseover",h=>{this.handleLineMouseOver(h,s,n),this.dotsByTimestamp[l].forEach(a=>a.classed(`${H.lineGraphDot}--active`,!0))}).on("mouseout",()=>{this.handleLineMouseOut(),this.dotsByTimestamp[l].forEach(h=>h.classed(`${H.lineGraphDot}--active`,!1))})})},drawSingleBarEventsGroup({type:t,eventsGroup:e,milestone:r,dots:n,dotsSize:s,bottom:l}){const{color:i,bgColor:h,label:a,events:o,barBorderRadius:u,isLoading:f,height:m,chartType:v}=e;let x=this.getBarGroupYPosition(t,l);const y=[je.bars,je.dots,void 0].includes(v)?this.getBarGroupHeight(e):m;r&&(x=this.getMilestoneGroupYPosition(t)),this.drawProgressIndicator({yPosition:x,type:t,color:i,isLoading:f});const M=this.svg.append("g").attr("data-color",i).classed(H.eventGroup,!0).classed(`${H.eventGroup}-${t}`,!0);if(this.drawBackground({color:h||i,gElement:M,yPosition:x,height:y}),r||n){const $=n?1:2,w=x+y/2;M.append("line").classed(H.milestoneLine,!0).attr("x1",0).attr("x2",this.timeline.offsetWidth).attr("y1",w).attr("y2",w).style("stroke",i).style("stroke-width",$)}this.drawBars({events:o,color:i,gElement:M,yPosition:x,type:t,dots:n,dotsSize:s,height:m,barBorderRadius:u}),a&&this.drawTextLabel({color:i,label:a,type:t,gElement:M,yPosition:x,height:m})},drawBarEventsGroups(){Object.entries(this.barGroups).forEach(([t,e])=>this.drawSingleBarEventsGroup({type:t,eventsGroup:e,bottom:e.bottom,dots:e.chartType===je.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{[H.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,s]of Object.entries(this.barGroups)){if(n===t)break;!e&&s.bottom||(r+=this.getBarGroupHeight(s))}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.${H.eventGroup}-${t}`),s=2,i=(e.height||this.barChartHeight)/2,h=r+i-s/2;n.attr("x1",0).attr("x2",this.timeline.offsetWidth).select(`.${H.milestoneLine}`).attr("y1",h).attr("y2",h);const a=P.select(`.${H.milestonesContainer}-${t}`);a.style("top",`${r}px`).style("height",`${e.height||this.barChartHeight}px`);const o=a.selectAll(`.${H.milestone}`).data(this.getSortedEvents(e.events));o.exit().remove(),o.enter().append("div").merge(o).style("left",u=>`${this.timeScale(this.tzStringToDate(u.timestamp))}px`).style("top",`${h}px`)})},drawBarChartEventsGroups(){const t=this.combinedXAxesHeight,e=this.barChartGroups;Object.entries(e).forEach(([r,n],s)=>{const l=this.svg.append("g").classed(`${H.barChartGroup} ${H.barChartGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:i,events:h}=n;this.drawBarsChart({events:h,color:i,gElement:l,yOffset:t,type:r,index:s})})},drawProgressIndicator({yPosition:t,type:e,isLoading:r}){this.svg.append("rect").classed(`${H.loadingIndicator} ${H.loadingIndicator}-${e}`,!0).attr("x",0).attr("y",t).attr("width",this.timeline.offsetWidth/3).attr("height",this.barChartHeight).attr("fill",`url(#${at.loadingGradient}-${e})`).style("visibility",r?"visible":"hidden")},drawBackground({color:t,yPosition:e,gElement:r,height:n}){r.append("rect").attr("class",H.eventGroupBg).attr("x",0).attr("y",e).attr("width",this.timeline.offsetWidth).attr("height",n||this.barChartHeight).attr("fill",P.color(t).toString()).style("opacity",.1)},drawBars({events:t,gElement:e,yPosition:r,color:n,type:s,dots:l,dotsSize:i,height:h,barBorderRadius:a=1.5}){const o=this,u=r+this.barYPadding/2,f=l?((h||this.barChartHeight)-i)/2:0;let m=Math.max((h!=null?h:this.barChartHeight)-this.barYPadding,1);l&&(m=i),e.selectAll(H.eventRect).data(t).enter().append("rect").attr("class",v=>H.eventRect+(l?` ${H.eventRect}--dot`:"")+(v.className?` ${v.className}`:"")).attr("x",this.getEventRectX).attr("y",u+f).attr("ry",l?i:a).attr("rx",l?i:a).attr("width",l?i:this.getEventRectWidth).attr("height",m).attr("stroke-width",l?i/10:5).attr("cursor","pointer").attr("stroke",v=>l?P.color(v.color||n).brighter(1).toString():"#0000").style("fill",v=>v.color||n).on("mouseover",function(v,x){P.select(this).classed(H.eventRectHovered,!0),o.handleBarMouseOver(v,x,s)}).on("mouseout",function(){P.select(this).classed(H.eventRectHovered,!1),o.handleBarMouseOut()}),e.selectAll(H.eventRectText).data(t.filter(v=>!!v.text)).enter().append("text").attr("class",H.eventRectText).attr("x",v=>this.getEventRectX(v)+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",v=>this.getTextFillColor(v.color||n,.75)).text(this.getEventText)},drawBarsChart({events:t,gElement:e,color:r,yOffset:n,type:s,index:l}){const i=this,h=Object.keys(this.barChartGroups).length,a=v=>(this.getEventRectWidth(v)-this.barXPadding*2)/h,o=v=>this.yScale.range()[0]-this.yScale(v.count),u=v=>this.getEventRectX(v)+this.barXPadding+l*a(v),f=v=>this.yScale(v.count),m=e.selectAll(H.eventBarContainer).data(t).enter().append("g").attr("class",`${H.eventBarContainer} ${H.eventBarContainer}-${s}`);m.append("rect").attr("class",v=>H.eventBarHoverZone+(v.className?` ${v.className}`:"")).attr("x",u).attr("y",-n).attr("width",a).attr("height",this.yScale.range()[0]+n).attr("fill",v=>v.color||r).attr("fill-opacity",0),m.append("rect").attr("class",v=>H.eventBar+(v.className?` ${v.className}`:"")).attr("x",u).attr("y",f).attr("width",a).attr("height",o).attr("stroke-width",5).attr("cursor","pointer").attr("stroke","#0000").attr("fill",`url(#${at.transparencyGradient}-${s})`),m.append("rect").attr("class",v=>H.eventBarCap+(v.className?` ${v.className}`:"")).attr("x",u).attr("y",f).attr("width",a).attr("height",2).attr("stroke-width",0).style("fill",v=>v.color||r),m.on("mouseover",function(v,x){const d=P.select(this);i.onBarChartBarMouseOver(d,r),i.handleBarMouseOver(v,x,s)}).on("mouseout",function(){const v=P.select(this);i.onBarChartBarMouseOut(v,s),i.handleBarMouseOut()}).on("click",function(){e.selectAll(`.${H.eventBarContainerSelected}`).classed(H.eventBarContainerSelected,!1),P.select(this).classed(H.eventBarContainerSelected,!0)})},onBarChartBarMouseOver(t,e){t.classed(H.eventBarContainerHovered,!0),t.selectAll(`.${H.eventBarHoverZone}`).attr("fill-opacity",.2);const n=t.selectAll(`.${H.eventBar}`);n.attr("fill",e),n.attr("fill-opacity",.5)},onBarChartBarMouseOut(t,e){t.classed(H.eventBarContainerHovered,!1),t.selectAll(`.${H.eventBarHoverZone}`).attr("fill-opacity",0);const n=t.selectAll(`.${H.eventBar}`);n.attr("fill",`url(#${at.transparencyGradient}-${e})`),n.attr("fill-opacity",1)},drawTextLabel({gElement:t,yPosition:e,color:r,label:n,type:s,height:l}){if(!this.showLabels)return;const i={x:-5,y:e,w:this.labelRectWidth,h:l||this.barChartHeight,radius:3},h=t.append("g").attr("class",`${H.labelGroup} ${H.labelGroup}-${s}`).style("cursor","pointer").on("click",()=>this.toggleGroupVisibility(s));h.append("rect").attr("class",H.labelBg).attr("data-color",r).attr("x",i.x).attr("y",i.y).attr("width",i.w).attr("height",i.h).attr("rx",i.radius).attr("ry",i.radius).style("fill",this.dark?"#131a29":"white"),h.append("rect").attr("class",H.labelBgFill).attr("data-color",r).attr("x",i.x).attr("y",i.y).attr("width",i.w).attr("height",i.h).attr("rx",i.radius).attr("ry",i.radius).style("fill",this.getLabelBackgroundColor(r)).style("stroke",this.getTextFillColor(r)).style("stroke-width",.25),h.append("text").attr("class",H.labelText).attr("data-color",r).attr("x",5).attr("y",e+(l||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=P.color(t))==null?void 0:r.brighter(1.5+e):(n=P.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=P.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)}},tzStringToDate(t){return Hr({timestamp:t,timezone:this.timezone})},dateToTzString(t){return Nr({date:t,timezone:this.timezone})},getFormattedTimestamp(t){return Se.parseZone(t).format("YYYY-MM-DDTHH:mm:ss")},fillTimeGaps(t){if(t.length<=1)return t;const e=this.insertZerosAtInterval,r=l=>l.clone().add(1,e),n=l=>l.clone().subtract(1,e);let s=[];for(let l=0;l<t.length;l++){const i=t[l];if(s.push(i),l===t.length-1)break;const h=t[l+1],a=Se(i.timestamp),o=Se(h.timestamp);if(o.diff(a,e)>1){const u=r(a).toISOString(),f=n(o).toISOString();s.push({timestamp:u,count:0}),u!==f&&s.push({timestamp:f,count:0})}}if(this.flattenLineGraphEnds){const l=Se(t[0].timestamp),i=Se(t[t.length-1].timestamp),h=n(l).toISOString(),a=r(i).toISOString();s=[{timestamp:h,count:0},...s,{timestamp:a,count:0}]}return s},fillEvents(t){return this.placeholderLineChartGroup.map(e=>t.find(n=>n.timestamp===e.timestamp)||e)},onMilestoneClick(t,e){this.panOnDateClick&&(this.focusedTimestamp=t.timestamp),this.selectedMilestoneId=t.id||t.timestamp,this.$emit("milestone-click",{milestone:t,milestoneType:e})},getSortedEvents(t){return[...t].sort((e,r)=>new Date(e.timestamp||e.startDate)>new Date(r.timestamp||r.startDate)?1:-1)},onHoverMilestone(t){this.hoveredMilestone=t}}}),j8="";var D0=function(){var e=this,r=e._self._c;return r("div",{ref:"mainContainer",staticClass:"e-timeline"},[r("EZoomBehavior",{attrs:{domain:e.domain,"focused-domain":e.focusedDomain,"translation-duration":e.transitionDuration,"focused-timestamp":e.focusedTimestamp,timezone:e.timezone},on:{"transform-changed":e.handleTransformChange,"time-scale-change":e.handleTimeScaleChange},scopedSlots:e._u([{key:"default",fn:function(){return[e.timeScale?r("div",{ref:"wrapperDiv",staticClass:"e-relative e-timeline e-border e-rounded",class:e.computedClasses.wrapper},[r("ETimelineMarkers",{attrs:{markers:e.sortedMarkers,"sticky-markers":e.stickyMarkers,"time-scale":e.timeScale,"time-zone":e.timezone,height:e.timelineHeight,"svg-left":e.svgLeft},on:{"marker-clicked":e.handleMarkerClick,"marker-drag-end":function(n){return e.$emit("marker-drag-end",n)},"marker-drag-start":function(n){return e.$emit("marker-drag-start",n)},"marker-drag-drag":function(n){return e.$emit("marker-drag-drag",n)}},scopedSlots:e._u([e._l(e.markersScopedSlots,function(n,s){return{key:s,fn:function(l){return[e._t(s,null,null,l)]}}})],null,!0)}),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"timelineContainer",staticClass:"e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden"},[r("svg",{ref:"timelineSvg",class:e.computedClasses.background,attrs:{width:e.timelineWidth,height:e.timelineHeight}},[r("ETimelineSVGDefs",{attrs:{"events-groups":e.eventsGroups,width:e.timelineWidth,height:e.chartHeight,"forbidden-interval-color":e.forbiddenIntervalColor}}),r("g",{staticClass:"e-timeline-axes"},[e.timeScale?r("EXAxisOverview",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisDetailed",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-e.axisHeight,y:e.axisHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisBackground",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-1.75*e.axisHeight,y:e.axisHeight*1.75,dark:e.dark}}):e._e()],1)],1)]),e._l(e.milestonesGroups,function(n,s){return r("div",{key:`${s}`,staticClass:"e-timeline-milestones"},[r("div",{class:`e-tl-milestones e-tl-milestones-${s}`},e._l(e.getSortedEvents(n.events),function(l,i){return r("ETimelineMilestone",{key:`${l.milestoneType}-${i}`,class:e.getMilestoneClass(l),attrs:{"data-timestamp":l.timestamp,milestone:l,dot:n.dots,size:l.size||e.milestoneBulletSize,"transition-duration":n.milestonesTransitionDuration,"line-height":n.milestonesLineHeight,"dot-size":n.milestonesDotSize,"background-color":e.getMilestoneColors(l.color,n.color).background,"border-color":e.getMilestoneColors(l.color,n.color).border},on:{"hovered-milestone":e.onHoverMilestone,"milestone-click":function(h){return e.onMilestoneClick(l,s)}},scopedSlots:e._u([{key:"content",fn:function(){return[e._t(`milestoneContent.${l.milestoneType}`,function(){return[r("span",{staticClass:"e-px-2"},[e._v(" "+e._s(l.text)+" ")])]},{milestone:l,index:i,hover:l===e.hoveredMilestone})]},proxy:!0},{key:"label",fn:function(){return[e._t(`milestoneLabel.${l.milestoneType}`,null,{milestone:l})]},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.computedClasses.background,style:e.getExternalLabelWrapperStyles(n),on:{click:function(s){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:`
|
|
3
|
+
`),Q=I.length-1,Q>0?(O=E+Q,R=T-I[Q].length):(O=E,R=A),C=e.comment,E=O,G=O,z=T-R):q===e.slash?(T=N,C=q,G=E,z=N-A,K=T+1):(T=f(M,N),C=e.word,G=E,z=T-A),K=T+1;break}y.push([C,E,N-A,G,z,N,K]),R&&(A=R,R=null),N=K}return y}}(Vn),function(t,e){e.__esModule=!0,e.default=void 0;var r=K(Hn),n=K(Nn),s=K(Wn),l=K(jn),i=K(Gn),h=K(qn),a=K(Zn),o=K(Un),u=N(xr),f=K(Yn),m=K(Xn),v=K(Qn),x=K(ka),d=N(Vn),y=N(te),M=N(de),$=Fe,w,A;function E(){if(typeof WeakMap!="function")return null;var U=new WeakMap;return E=function(){return U},U}function N(U){if(U&&U.__esModule)return U;if(U===null||typeof U!="object"&&typeof U!="function")return{default:U};var F=E();if(F&&F.has(U))return F.get(U);var B={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in U)if(Object.prototype.hasOwnProperty.call(U,W)){var V=S?Object.getOwnPropertyDescriptor(U,W):null;V&&(V.get||V.set)?Object.defineProperty(B,W,V):B[W]=U[W]}return B.default=U,F&&F.set(U,B),B}function K(U){return U&&U.__esModule?U:{default:U}}function q(U,F){for(var B=0;B<F.length;B++){var S=F[B];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(U,S.key,S)}}function b(U,F,B){return F&&q(U.prototype,F),B&&q(U,B),U}var z=(w={},w[y.space]=!0,w[y.cr]=!0,w[y.feed]=!0,w[y.newline]=!0,w[y.tab]=!0,w),G=Object.assign({},z,(A={},A[y.comment]=!0,A));function D(U){return{line:U[d.FIELDS.START_LINE],column:U[d.FIELDS.START_COL]}}function X(U){return{line:U[d.FIELDS.END_LINE],column:U[d.FIELDS.END_COL]}}function Q(U,F,B,S){return{start:{line:U,column:F},end:{line:B,column:S}}}function I(U){return Q(U[d.FIELDS.START_LINE],U[d.FIELDS.START_COL],U[d.FIELDS.END_LINE],U[d.FIELDS.END_COL])}function T(U,F){if(U)return Q(U[d.FIELDS.START_LINE],U[d.FIELDS.START_COL],F[d.FIELDS.END_LINE],F[d.FIELDS.END_COL])}function O(U,F){var B=U[F];if(typeof B=="string")return B.indexOf("\\")!==-1&&((0,$.ensureObject)(U,"raws"),U[F]=(0,$.unesc)(B),U.raws[F]===void 0&&(U.raws[F]=B)),U}function R(U,F){for(var B=-1,S=[];(B=U.indexOf(F,B+1))!==-1;)S.push(B);return S}function ie(){var U=Array.prototype.concat.apply([],arguments);return U.filter(function(F,B){return B===U.indexOf(F)})}var C=function(){function U(B,S){S===void 0&&(S={}),this.rule=B,this.options=Object.assign({lossy:!1,safe:!1},S),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,d.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var W=T(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:W}),this.root.errorGenerator=this._errorGenerator();var V=new n.default({source:{start:{line:1,column:1}}});this.root.append(V),this.current=V,this.loop()}var F=U.prototype;return F._errorGenerator=function(){var S=this;return function(W,V){return typeof S.rule=="string"?new Error(W):S.rule.error(W,V)}},F.attribute=function(){var S=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[d.FIELDS.TYPE]!==y.closeSquare;)S.push(this.currToken),this.position++;if(this.currToken[d.FIELDS.TYPE]!==y.closeSquare)return this.expected("closing square bracket",this.currToken[d.FIELDS.START_POS]);var V=S.length,L={source:Q(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[d.FIELDS.START_POS]};if(V===1&&!~[y.word].indexOf(S[0][d.FIELDS.TYPE]))return this.expected("attribute",S[0][d.FIELDS.START_POS]);for(var ne=0,ue="",ce="",se=null,he=!1;ne<V;){var Te=S[ne],le=this.content(Te),Ce=S[ne+1];switch(Te[d.FIELDS.TYPE]){case y.space:if(he=!0,this.options.lossy)break;if(se){(0,$.ensureObject)(L,"spaces",se);var Ae=L.spaces[se].after||"";L.spaces[se].after=Ae+le;var Be=(0,$.getProp)(L,"raws","spaces",se,"after")||null;Be&&(L.raws.spaces[se].after=Be+le)}else ue=ue+le,ce=ce+le;break;case y.asterisk:if(Ce[d.FIELDS.TYPE]===y.equals)L.operator=le,se="operator";else if((!L.namespace||se==="namespace"&&!he)&&Ce){ue&&((0,$.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,$.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ue,ce=""),L.namespace=(L.namespace||"")+le;var Me=(0,$.getProp)(L,"raws","namespace")||null;Me&&(L.raws.namespace+=le),se="namespace"}he=!1;break;case y.dollar:if(se==="value"){var ke=(0,$.getProp)(L,"raws","value");L.value+="$",ke&&(L.raws.value=ke+"$");break}case y.caret:Ce[d.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),he=!1;break;case y.combinator:if(le==="~"&&Ce[d.FIELDS.TYPE]===y.equals&&(L.operator=le,se="operator"),le!=="|"){he=!1;break}Ce[d.FIELDS.TYPE]===y.equals?(L.operator=le,se="operator"):!L.namespace&&!L.attribute&&(L.namespace=!0),he=!1;break;case y.word:if(Ce&&this.content(Ce)==="|"&&S[ne+2]&&S[ne+2][d.FIELDS.TYPE]!==y.equals&&!L.operator&&!L.namespace)L.namespace=le,se="namespace";else if(!L.attribute||se==="attribute"&&!he){ue&&((0,$.ensureObject)(L,"spaces","attribute"),L.spaces.attribute.before=ue,ue=""),ce&&((0,$.ensureObject)(L,"raws","spaces","attribute"),L.raws.spaces.attribute.before=ce,ce=""),L.attribute=(L.attribute||"")+le;var $e=(0,$.getProp)(L,"raws","attribute")||null;$e&&(L.raws.attribute+=le),se="attribute"}else if(!L.value&&L.value!==""||se==="value"&&!he){var Ee=(0,$.unesc)(le),Le=(0,$.getProp)(L,"raws","value")||"",De=L.value||"";L.value=De+Ee,L.quoteMark=null,(Ee!==le||Le)&&((0,$.ensureObject)(L,"raws"),L.raws.value=(Le||De)+le),se="value"}else{var Ke=le==="i"||le==="I";(L.value||L.value==="")&&(L.quoteMark||he)?(L.insensitive=Ke,(!Ke||le==="I")&&((0,$.ensureObject)(L,"raws"),L.raws.insensitiveFlag=le),se="insensitive",ue&&((0,$.ensureObject)(L,"spaces","insensitive"),L.spaces.insensitive.before=ue,ue=""),ce&&((0,$.ensureObject)(L,"raws","spaces","insensitive"),L.raws.spaces.insensitive.before=ce,ce="")):(L.value||L.value==="")&&(se="value",L.value+=le,L.raws.value&&(L.raws.value+=le))}he=!1;break;case y.str:if(!L.attribute||!L.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Te[d.FIELDS.START_POS]});var Xe=(0,u.unescapeValue)(le),ot=Xe.unescaped,_t=Xe.quoteMark;L.value=ot,L.quoteMark=_t,se="value",(0,$.ensureObject)(L,"raws"),L.raws.value=le,he=!1;break;case y.equals:if(!L.attribute)return this.expected("attribute",Te[d.FIELDS.START_POS],le);if(L.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Te[d.FIELDS.START_POS]});L.operator=L.operator?L.operator+le:le,se="operator",he=!1;break;case y.comment:if(se)if(he||Ce&&Ce[d.FIELDS.TYPE]===y.space||se==="insensitive"){var qe=(0,$.getProp)(L,"spaces",se,"after")||"",ht=(0,$.getProp)(L,"raws","spaces",se,"after")||qe;(0,$.ensureObject)(L,"raws","spaces",se),L.raws.spaces[se].after=ht+le}else{var zt=L[se]||"",Bt=(0,$.getProp)(L,"raws",se)||zt;(0,$.ensureObject)(L,"raws"),L.raws[se]=Bt+le}else ce=ce+le;break;default:return this.error('Unexpected "'+le+'" found.',{index:Te[d.FIELDS.START_POS]})}ne++}O(L,"attribute"),O(L,"namespace"),this.newNode(new u.default(L)),this.position++},F.parseWhitespaceEquivalentTokens=function(S){S<0&&(S=this.tokens.length);var W=this.position,V=[],L="",ne=void 0;do if(z[this.currToken[d.FIELDS.TYPE]])this.options.lossy||(L+=this.content());else if(this.currToken[d.FIELDS.TYPE]===y.comment){var ue={};L&&(ue.before=L,L=""),ne=new l.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[d.FIELDS.START_POS],spaces:ue}),V.push(ne)}while(++this.position<S);if(L){if(ne)ne.spaces.after=L;else if(!this.options.lossy){var ce=this.tokens[W],se=this.tokens[this.position-1];V.push(new a.default({value:"",source:Q(ce[d.FIELDS.START_LINE],ce[d.FIELDS.START_COL],se[d.FIELDS.END_LINE],se[d.FIELDS.END_COL]),sourceIndex:ce[d.FIELDS.START_POS],spaces:{before:L,after:""}}))}}return V},F.convertWhitespaceNodesToSpace=function(S,W){var V=this;W===void 0&&(W=!1);var L="",ne="";S.forEach(function(ce){var se=V.lossySpace(ce.spaces.before,W),he=V.lossySpace(ce.rawSpaceBefore,W);L+=se+V.lossySpace(ce.spaces.after,W&&se.length===0),ne+=se+ce.value+V.lossySpace(ce.rawSpaceAfter,W&&he.length===0)}),ne===L&&(ne=void 0);var ue={space:L,rawSpace:ne};return ue},F.isNamedCombinator=function(S){return S===void 0&&(S=this.position),this.tokens[S+0]&&this.tokens[S+0][d.FIELDS.TYPE]===y.slash&&this.tokens[S+1]&&this.tokens[S+1][d.FIELDS.TYPE]===y.word&&this.tokens[S+2]&&this.tokens[S+2][d.FIELDS.TYPE]===y.slash},F.namedCombinator=function(){if(this.isNamedCombinator()){var S=this.content(this.tokens[this.position+1]),W=(0,$.unesc)(S).toLowerCase(),V={};W!==S&&(V.value="/"+S+"/");var L=new m.default({value:"/"+W+"/",source:Q(this.currToken[d.FIELDS.START_LINE],this.currToken[d.FIELDS.START_COL],this.tokens[this.position+2][d.FIELDS.END_LINE],this.tokens[this.position+2][d.FIELDS.END_COL]),sourceIndex:this.currToken[d.FIELDS.START_POS],raws:V});return this.position=this.position+3,L}else this.unexpected()},F.combinator=function(){var S=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][d.FIELDS.TYPE]===y.comma){var V=this.parseWhitespaceEquivalentTokens(W);if(V.length>0){var L=this.current.last;if(L){var ne=this.convertWhitespaceNodesToSpace(V),ue=ne.space,ce=ne.rawSpace;ce!==void 0&&(L.rawSpaceAfter+=ce),L.spaces.after+=ue}else V.forEach(function(Le){return S.newNode(Le)})}return}var se=this.currToken,he=void 0;W>this.position&&(he=this.parseWhitespaceEquivalentTokens(W));var Te;if(this.isNamedCombinator()?Te=this.namedCombinator():this.currToken[d.FIELDS.TYPE]===y.combinator?(Te=new m.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[d.FIELDS.START_POS]}),this.position++):z[this.currToken[d.FIELDS.TYPE]]||he||this.unexpected(),Te){if(he){var le=this.convertWhitespaceNodesToSpace(he),Ce=le.space,Ae=le.rawSpace;Te.spaces.before=Ce,Te.rawSpaceBefore=Ae}}else{var Be=this.convertWhitespaceNodesToSpace(he,!0),Me=Be.space,ke=Be.rawSpace;ke||(ke=Me);var $e={},Ee={spaces:{}};Me.endsWith(" ")&&ke.endsWith(" ")?($e.before=Me.slice(0,Me.length-1),Ee.spaces.before=ke.slice(0,ke.length-1)):Me.startsWith(" ")&&ke.startsWith(" ")?($e.after=Me.slice(1),Ee.spaces.after=ke.slice(1)):Ee.value=ke,Te=new m.default({value:" ",source:T(se,this.tokens[this.position-1]),sourceIndex:se[d.FIELDS.START_POS],spaces:$e,raws:Ee})}return this.currToken&&this.currToken[d.FIELDS.TYPE]===y.space&&(Te.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Te)},F.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var S=new n.default({source:{start:D(this.tokens[this.position+1])}});this.current.parent.append(S),this.current=S,this.position++},F.comment=function(){var S=this.currToken;this.newNode(new l.default({value:this.content(),source:I(S),sourceIndex:S[d.FIELDS.START_POS]})),this.position++},F.error=function(S,W){throw this.root.error(S,W)},F.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[d.FIELDS.START_POS]})},F.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[d.FIELDS.START_POS])},F.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[d.FIELDS.START_POS])},F.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[d.FIELDS.START_POS])},F.namespace=function(){var S=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[d.FIELDS.TYPE]===y.word)return this.position++,this.word(S);if(this.nextToken[d.FIELDS.TYPE]===y.asterisk)return this.position++,this.universal(S)},F.nesting=function(){if(this.nextToken){var S=this.content(this.nextToken);if(S==="|"){this.position++;return}}var W=this.currToken;this.newNode(new v.default({value:this.content(),source:I(W),sourceIndex:W[d.FIELDS.START_POS]})),this.position++},F.parentheses=function(){var S=this.current.last,W=1;if(this.position++,S&&S.type===M.PSEUDO){var V=new n.default({source:{start:D(this.tokens[this.position-1])}}),L=this.current;for(S.append(V),this.current=V;this.position<this.tokens.length&&W;)this.currToken[d.FIELDS.TYPE]===y.openParenthesis&&W++,this.currToken[d.FIELDS.TYPE]===y.closeParenthesis&&W--,W?this.parse():(this.current.source.end=X(this.currToken),this.current.parent.source.end=X(this.currToken),this.position++);this.current=L}else{for(var ne=this.currToken,ue="(",ce;this.position<this.tokens.length&&W;)this.currToken[d.FIELDS.TYPE]===y.openParenthesis&&W++,this.currToken[d.FIELDS.TYPE]===y.closeParenthesis&&W--,ce=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;S?S.appendToPropertyAndEscape("value",ue,ue):this.newNode(new a.default({value:ue,source:Q(ne[d.FIELDS.START_LINE],ne[d.FIELDS.START_COL],ce[d.FIELDS.END_LINE],ce[d.FIELDS.END_COL]),sourceIndex:ne[d.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[d.FIELDS.START_POS])},F.pseudo=function(){for(var S=this,W="",V=this.currToken;this.currToken&&this.currToken[d.FIELDS.TYPE]===y.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[d.FIELDS.TYPE]===y.word)this.splitWord(!1,function(L,ne){W+=L,S.newNode(new o.default({value:W,source:T(V,S.currToken),sourceIndex:V[d.FIELDS.START_POS]})),ne>1&&S.nextToken&&S.nextToken[d.FIELDS.TYPE]===y.openParenthesis&&S.error("Misplaced parenthesis.",{index:S.nextToken[d.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[d.FIELDS.START_POS])},F.space=function(){var S=this.content();this.position===0||this.prevToken[d.FIELDS.TYPE]===y.comma||this.prevToken[d.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(S),this.position++):this.position===this.tokens.length-1||this.nextToken[d.FIELDS.TYPE]===y.comma||this.nextToken[d.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(S),this.position++):this.combinator()},F.string=function(){var S=this.currToken;this.newNode(new a.default({value:this.content(),source:I(S),sourceIndex:S[d.FIELDS.START_POS]})),this.position++},F.universal=function(S){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var V=this.currToken;this.newNode(new f.default({value:this.content(),source:I(V),sourceIndex:V[d.FIELDS.START_POS]}),S),this.position++},F.splitWord=function(S,W){for(var V=this,L=this.nextToken,ne=this.content();L&&~[y.dollar,y.caret,y.equals,y.word].indexOf(L[d.FIELDS.TYPE]);){this.position++;var ue=this.content();if(ne+=ue,ue.lastIndexOf("\\")===ue.length-1){var ce=this.nextToken;ce&&ce[d.FIELDS.TYPE]===y.space&&(ne+=this.requiredSpace(this.content(ce)),this.position++)}L=this.nextToken}var se=R(ne,".").filter(function(Ce){var Ae=ne[Ce-1]==="\\",Be=/^\d+\.\d+%$/.test(ne);return!Ae&&!Be}),he=R(ne,"#").filter(function(Ce){return ne[Ce-1]!=="\\"}),Te=R(ne,"#{");Te.length&&(he=he.filter(function(Ce){return!~Te.indexOf(Ce)}));var le=(0,x.default)(ie([0].concat(se,he)));le.forEach(function(Ce,Ae){var Be=le[Ae+1]||ne.length,Me=ne.slice(Ce,Be);if(Ae===0&&W)return W.call(V,Me,le.length);var ke,$e=V.currToken,Ee=$e[d.FIELDS.START_POS]+le[Ae],Le=Q($e[1],$e[2]+Ce,$e[3],$e[2]+(Be-1));if(~se.indexOf(Ce)){var De={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new s.default(O(De,"value"))}else if(~he.indexOf(Ce)){var Ke={value:Me.slice(1),source:Le,sourceIndex:Ee};ke=new i.default(O(Ke,"value"))}else{var Xe={value:Me,source:Le,sourceIndex:Ee};O(Xe,"value"),ke=new h.default(Xe)}V.newNode(ke,S),S=null}),this.position++},F.word=function(S){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(S)},F.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},F.parse=function(S){switch(this.currToken[d.FIELDS.TYPE]){case y.space:this.space();break;case y.comment:this.comment();break;case y.openParenthesis:this.parentheses();break;case y.closeParenthesis:S&&this.missingParenthesis();break;case y.openSquare:this.attribute();break;case y.dollar:case y.caret:case y.equals:case y.word:this.word();break;case y.colon:this.pseudo();break;case y.comma:this.comma();break;case y.asterisk:this.universal();break;case y.ampersand:this.nesting();break;case y.slash:case y.combinator:this.combinator();break;case y.str:this.string();break;case y.closeSquare:this.missingSquareBracket();case y.semicolon:this.missingBackslash();default:this.unexpected()}},F.expected=function(S,W,V){if(Array.isArray(S)){var L=S.pop();S=S.join(", ")+" or "+L}var ne=/^[aeiou]/.test(S[0])?"an":"a";return V?this.error("Expected "+ne+" "+S+', found "'+V+'" instead.',{index:W}):this.error("Expected "+ne+" "+S+".",{index:W})},F.requiredSpace=function(S){return this.options.lossy?" ":S},F.optionalSpace=function(S){return this.options.lossy?"":S},F.lossySpace=function(S,W){return this.options.lossy?W?" ":"":S},F.parseParenthesisToken=function(S){var W=this.content(S);return S[d.FIELDS.TYPE]===y.space?this.requiredSpace(W):W},F.newNode=function(S,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),S.namespace=W,O(S,"namespace")),this.spaces&&(S.spaces.before=this.spaces,this.spaces=""),this.current.append(S)},F.content=function(S){return S===void 0&&(S=this.currToken),this.css.slice(S[d.FIELDS.START_POS],S[d.FIELDS.END_POS])},F.locateNextMeaningfulToken=function(S){S===void 0&&(S=this.position+1);for(var W=S;W<this.tokens.length;)if(G[this.tokens[W][d.FIELDS.TYPE]]){W++;continue}else return W;return-1},b(U,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),U}();e.default=C,t.exports=e.default}(rr,rr.exports);var no=rr.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(no);function n(l){return l&&l.__esModule?l:{default:l}}var s=function(){function l(h,a){this.func=h||function(){},this.funcRes=null,this.options=a}var i=l.prototype;return i._shouldUpdateSelector=function(a,o){o===void 0&&(o={});var u=Object.assign({},this.options,o);return u.updateSelector===!1?!1:typeof a!="string"},i._isLossy=function(a){a===void 0&&(a={});var o=Object.assign({},this.options,a);return o.lossless===!1},i._root=function(a,o){o===void 0&&(o={});var u=new r.default(a,this._parseOptions(o));return u.root},i._parseOptions=function(a){return{lossy:this._isLossy(a)}},i._run=function(a,o){var u=this;return o===void 0&&(o={}),new Promise(function(f,m){try{var v=u._root(a,o);Promise.resolve(u.func(v)).then(function(x){var d=void 0;return u._shouldUpdateSelector(a,o)&&(d=v.toString(),a.selector=d),{transform:x,root:v,string:d}}).then(f,m)}catch(x){m(x);return}})},i._runSync=function(a,o){o===void 0&&(o={});var u=this._root(a,o),f=this.func(u);if(f&&typeof f.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var m=void 0;return o.updateSelector&&typeof a!="string"&&(m=u.toString(),a.selector=m),{transform:f,root:u,string:m}},i.ast=function(a,o){return this._run(a,o).then(function(u){return u.root})},i.astSync=function(a,o){return this._runSync(a,o).root},i.transform=function(a,o){return this._run(a,o).then(function(u){return u.transform})},i.transformSync=function(a,o){return this._runSync(a,o).transform},i.process=function(a,o){return this._run(a,o).then(function(u){return u.string||u.root.toString()})},i.processSync=function(a,o){var u=this._runSync(a,o);return u.string||u.root.toString()},l}();e.default=s,t.exports=e.default})(tr,tr.exports);var io=tr.exports,Jn={},_e={};_e.__esModule=!0,_e.universal=_e.tag=_e.string=_e.selector=_e.root=_e.pseudo=_e.nesting=_e.id=_e.comment=_e.combinator=_e.className=_e.attribute=void 0;var so=He(xr),ao=He(Wn),oo=He(Xn),lo=He(jn),co=He(Gn),uo=He(Qn),ho=He(Un),fo=He(Hn),po=He(Nn),mo=He(Zn),go=He(qn),vo=He(Yn);function He(t){return t&&t.__esModule?t:{default:t}}var _o=function(e){return new so.default(e)};_e.attribute=_o;var Co=function(e){return new ao.default(e)};_e.className=Co;var yo=function(e){return new oo.default(e)};_e.combinator=yo;var bo=function(e){return new lo.default(e)};_e.comment=bo;var xo=function(e){return new co.default(e)};_e.id=xo;var wo=function(e){return new uo.default(e)};_e.nesting=wo;var So=function(e){return new ho.default(e)};_e.pseudo=So;var To=function(e){return new fo.default(e)};_e.root=To;var ko=function(e){return new po.default(e)};_e.selector=ko;var Mo=function(e){return new mo.default(e)};_e.string=Mo;var Eo=function(e){return new go.default(e)};_e.tag=Eo;var $o=function(e){return new vo.default(e)};_e.universal=$o;var me={};me.__esModule=!0,me.isNode=Er,me.isPseudoElement=ri,me.isPseudoClass=Ho,me.isContainer=No,me.isNamespace=Wo,me.isUniversal=me.isTag=me.isString=me.isSelector=me.isRoot=me.isPseudo=me.isNesting=me.isIdentifier=me.isComment=me.isCombinator=me.isClassName=me.isAttribute=void 0;var be=de,Ie,Lo=(Ie={},Ie[be.ATTRIBUTE]=!0,Ie[be.CLASS]=!0,Ie[be.COMBINATOR]=!0,Ie[be.COMMENT]=!0,Ie[be.ID]=!0,Ie[be.NESTING]=!0,Ie[be.PSEUDO]=!0,Ie[be.ROOT]=!0,Ie[be.SELECTOR]=!0,Ie[be.STRING]=!0,Ie[be.TAG]=!0,Ie[be.UNIVERSAL]=!0,Ie);function Er(t){return typeof t=="object"&&Lo[t.type]}function Ne(t,e){return Er(e)&&e.type===t}var ei=Ne.bind(null,be.ATTRIBUTE);me.isAttribute=ei;var Do=Ne.bind(null,be.CLASS);me.isClassName=Do;var Po=Ne.bind(null,be.COMBINATOR);me.isCombinator=Po;var Oo=Ne.bind(null,be.COMMENT);me.isComment=Oo;var zo=Ne.bind(null,be.ID);me.isIdentifier=zo;var Bo=Ne.bind(null,be.NESTING);me.isNesting=Bo;var $r=Ne.bind(null,be.PSEUDO);me.isPseudo=$r;var Io=Ne.bind(null,be.ROOT);me.isRoot=Io;var Fo=Ne.bind(null,be.SELECTOR);me.isSelector=Fo;var Ao=Ne.bind(null,be.STRING);me.isString=Ao;var ti=Ne.bind(null,be.TAG);me.isTag=ti;var Ro=Ne.bind(null,be.UNIVERSAL);me.isUniversal=Ro;function ri(t){return $r(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function Ho(t){return $r(t)&&!ri(t)}function No(t){return!!(Er(t)&&t.walk)}function Wo(t){return ei(t)||ti(t)}(function(t){t.__esModule=!0;var e=de;Object.keys(e).forEach(function(s){s==="default"||s==="__esModule"||s in t&&t[s]===e[s]||(t[s]=e[s])});var r=_e;Object.keys(r).forEach(function(s){s==="default"||s==="__esModule"||s in t&&t[s]===r[s]||(t[s]=r[s])});var n=me;Object.keys(n).forEach(function(s){s==="default"||s==="__esModule"||s in t&&t[s]===n[s]||(t[s]=n[s])})})(Jn),function(t,e){e.__esModule=!0,e.default=void 0;var r=i(io),n=l(Jn);function s(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return s=function(){return o},o}function l(o){if(o&&o.__esModule)return o;if(o===null||typeof o!="object"&&typeof o!="function")return{default:o};var u=s();if(u&&u.has(o))return u.get(o);var f={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in o)if(Object.prototype.hasOwnProperty.call(o,v)){var x=m?Object.getOwnPropertyDescriptor(o,v):null;x&&(x.get||x.set)?Object.defineProperty(f,v,x):f[v]=o[v]}return f.default=o,u&&u.set(o,f),f}function i(o){return o&&o.__esModule?o:{default:o}}var h=function(u){return new r.default(u)};Object.assign(h,n),delete h.__esModule;var a=h;e.default=a,t.exports=e.default}(er,er.exports);var jo=er.exports;const Go=Ks,ni=jo,qo=ni();var Zo={isUsableColor(t,e){return Go(e)&&t!=="gray"&&e[600]},commonTrailingPseudos(t){let e=qo.astSync(t),r=[];for(let[s,l]of e.nodes.entries())for(const[i,h]of[...l.nodes].reverse().entries()){if(h.type!=="pseudo"||!h.value.startsWith("::"))break;r[i]=r[i]||[],r[i][s]=h}let n=ni.selector();for(const s of r){if(!s)continue;if(new Set([...s.map(i=>i.value)]).size>1)break;s.forEach(i=>i.remove()),n.prepend(s[0])}return n.nodes.length?[n.toString(),e.toString()]:[null,t]}};const Uo=Is,Yo=Fs,Xo=Hs,Qo=Ns,{commonTrailingPseudos:Vo}=Zo,ii={};function Lr(t,{className:e,modifier:r,prefix:n}){let s=n(`.not-${e}`).slice(1),l=t.startsWith(">")?`${r==="DEFAULT"?`.${e}`:`.${e}-${r}`} `:"",[i,h]=Vo(t);return i?`:where(${l}${h}):not(:where([class~="${s}"],[class~="${s}"] *))${i}`:`:where(${l}${t}):not(:where([class~="${s}"],[class~="${s}"] *))`}function si(t){return typeof t=="object"&&t!==null}function Ko(t={},{target:e,className:r,modifier:n,prefix:s}){function l(i,h){return e==="legacy"?[i,h]:Array.isArray(h)?[i,h]:si(h)?Object.values(h).some(si)?[Lr(i,{className:r,modifier:n,prefix:s}),h,Object.fromEntries(Object.entries(h).map(([o,u])=>l(o,u)))]:[Lr(i,{className:r,modifier:n,prefix:s}),h]:[i,h]}return Object.fromEntries(Object.entries(Yo({},...Object.keys(t).filter(i=>ii[i]).map(i=>ii[i](t[i])),...Xo(t.css||{}))).map(([i,h])=>l(i,h)))}var ai=Uo.withOptions(({className:t="prose",target:e="modern"}={})=>function({addVariant:r,addComponents:n,theme:s,prefix:l}){let i=s("typography"),h={className:t,prefix:l};for(let[a,...o]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){o=o.length===0?[a]:o;let u=e==="legacy"?o.map(f=>`& ${f}`):o.join(", ");r(`${t}-${a}`,e==="legacy"?u:`& :is(${Lr(u,h)})`)}n(Object.keys(i).map(a=>({[a==="DEFAULT"?`.${t}`:`.${t}-${a}`]:Ko(i[a],{target:e,className:t,modifier:a,prefix:l})})))},()=>({theme:{typography:Qo}}));const oi=Tt(ai),Jo=fn({__proto__:null,default:oi},[ai]);var Dt={exports:{}};const Ye=zn||Bs,e1={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},Pe={onprimary:Ye.white,warning:Ye.amber,error:Ye.red,info:Ye.slate,success:Ye.emerald,primary:Ye.blue,brand:e1,"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"}},t1={...Pe,warning:Pe.warning[500],"warning-darken":Pe.warning[600],"warning-lighten":Pe.warning[400],success:Pe.success[500],"success-darken":Pe.success[600],"success-lighten":Pe.success[400],error:Pe.error[500],"error-darken":Pe.error[600],"error-lighten":Pe.error[400],info:Pe.info[500],"info-darken":Pe.info[600],"info-lighten":Pe.info[400],primary:Pe.primary[500],"primary-darken":Pe.primary[600],"primary-lighten":Pe.primary[400],onsurface:Ye.slate[500],onbackground:Ye.slate[700],surface:Ye.slate[50],background:Ye.white},r1={prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{ringWidth:{1:"1px"},colors:t1,lineHeight:{xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},maxWidth:{"1/12":"8.333333333%","2/12":"16.666666666%","3/12":"25%","4/12":"33.333333333%","5/12":"41.666666667%","6/12":"50%","7/12":"58.333333334%","8/12":"66.666666666%","9/12":"75%","10/12":"83.333333334%","11/12":"91.666666666%","12/12":"100%"},blur:{"video-poster":"32px"},transitionProperty:{"opacity-transform":"opacity, transform"},transitionDuration:{600:"600ms"}},fontSize:{xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},plugins:[oi||Jo],safelist:[{pattern:/e-w-(full|auto)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-grow/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-basis-(\d{1,2}\/\d{1,2}|full|auto|0)/,variants:["lg","md","sm","xs","xl"]},{pattern:/^!?e-max-w-(\d{1,2}\/\d{1,2})/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-offset-(1[0-2]|[1-9])/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-items-(start|center|end|baseline|stretch)/},{pattern:/e-self-(start|center|end|baseline|stretch)/},{pattern:/e-justify-(around|between|center|end|evenly|normal|start|stretch)/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/},{pattern:/e-m[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},{pattern:/e-p[trblxy]?-[\w\-/]+/,variants:["lg","md","sm","xs","xl"]},"e-tiny","e-caption","e-body","e-title-2","e-title-1","e-display-3","e-display-2","e-display-1",{pattern:/e-text-(xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl)/},{pattern:/e-text-(warning|error|info|success|primary|brand)-./},{pattern:/e-bg-(warning|error|info|success|primary|brand)-./}]};Dt.exports=r1;const n1=(Dt.exports==null?{}:Dt.exports).default||Dt.exports,Dr=zs(n1),li=Dr.theme.fontSize,ci=Dr.theme.colors,i1=[J.dot,J.xs,J.sm,J.md,J.lg,J.xl],s1=[J.xs,J.sm,J.md,J.lg,J.xl,J["2xl"]],ui=[J.xs,J.sm,J.md,J.base,J.lg,J.xl,J["2xl"],J["3xl"],J["4xl"],J["5xl"],J["6xl"],J["7xl"],J["8xl"],J["9xl"]],a1=[J.sm,J.md,J.lg],o1=[ae.warning,ae.error,ae.info,ae.success,ae.primary,ae.default],l1=[ae.warning,ae.error,ae.info,ae.success,ae.primary,ae.default],c1=[Oe.top,Oe.bottom,Oe.right,Oe.left],u1=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],d1=j.extend({name:"EIcon",props:{icon:{type:String,default:""},color:{type:String,default:ae.default},size:{type:String,default:J.sm}},computed:{sizes(){return ui.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconClasses(){var n,s;const t=this.sizes[this.size]||this.sizes[J.sm],e=`${((s=(n=this.icon)==null?void 0:n.split(" "))==null?void 0:s.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 h1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-icon"},[r("i",{class:e.iconClasses})])},f1=[],p1=Y(d1,h1,f1,!1,null,null,null,null);const rt=p1.exports,m1=j.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:J.base},opacity:{type:[String,Number],default:1}},data(){return{sizes:li,colors:ci}},computed:{computedSize(){return this.sizes[J[this.size]]||this.size||this.sizes[J.base]},fill(){let t={primary:this.colors.brand[500],secondary:this.colors.neutral[300]};return this.dark&&!this.color&&(t={primary:this.colors.neutral[100],secondary:this.colors.neutral[100]}),!this.dark&&this.color&&(t={primary:this.colors.brand[500],secondary:this.colors.neutral[950]}),!this.dark&&!this.color&&(t={primary:this.colors.neutral[200],secondary:this.colors.neutral[200]}),t}},methods:{getNthPathStyle(t){const e=typeof this.animationDuration=="string"?Number.parseInt(this.animationDuration):this.animationDuration;return{animationDuration:`${this.animationDuration}ms`,animationDelay:`${t/10*e}ms`,fill:`${this.fill[t%2===0?"primary":"secondary"]}`}}}}),D8="";var g1=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"}})])},v1=[],_1=Y(m1,g1,v1,!1,null,"29711f67",null,null);const Pr=_1.exports,C1=j.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}}}}),P8="";var y1=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)},b1=[],x1=Y(C1,y1,b1,!1,null,null,null,null);const di=x1.exports,w1=j.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}}}),O8="";var S1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},T1=[],k1=Y(w1,S1,T1,!1,null,null,null,null);const hi=k1.exports;function Or(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function zr(t){if(Or())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 Br(){if(!Or())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 fi(t,e){let r=null;return function(...n){const s=this;r!==null&&clearTimeout(r),r=setTimeout(()=>{r=null,t.apply(s,n)},e||1e3)}}function M1(t=1){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<t;n++)r+=e.charAt(Math.floor(Math.random()*e.length));return r}function E1(t,e=0,r=0,n=t.naturalWidth,s=t.naturalHeight){const l=document.createElement("canvas"),i=l.getContext("2d");l.width=n,l.height=s,i==null||i.drawImage(t,e,r,n,s,0,0,n,s);const h=l.toDataURL();return l.remove(),h}function $1(t){return!!(t!=null&&t.length&&!isNaN(new Date(t).getTime()))}function pi(t,e=1){let r=0,n=0,s=0;return t.length===4?(r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),s=parseInt(t[3]+t[3],16)):t.length===7&&(r=parseInt(t[1]+t[2],16),n=parseInt(t[3]+t[4],16),s=parseInt(t[5]+t[6],16)),`rgba(${r}, ${n}, ${s}, ${e})`}function mi(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function gi(t){return t.startsWith("rgba")}function dt(t,e=1){return gi(t)?t:t.startsWith("#")?pi(t,e):t.startsWith("rgb")?mi(t,e):t}function vi(t){const e=JSON.stringify(t);return _i(e).toString()}function _i(t){let e=0,r,n;if(t.length===0)return e;for(r=0;r<t.length;r++)n=t.charCodeAt(r),e=(e<<5)-e+n,e|=0;return e}const L1=j.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(),s=r.getBoundingClientRect();if(!n||!s)return;const l=t.clientX,i=t.clientY,h=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),a=this.scale;this.scale+=h/10,this.updateZoomScale();const o=((l-s.left)/s.width).toFixed(2),u=((i-s.top)/s.height).toFixed(2);this.left=Math.round(l-n.left-Number(o)*(s.width*this.scale/a)),this.top=Math.round(i-n.top-Number(u)*(s.height*this.scale/a));const f=0,m=0-n.width*(this.scale-1),v=0-n.height*(this.scale-1),x=0;this.left<m?this.left=m:this.left>f&&(this.left=f),this.top<v?this.top=v:this.top>x&&(this.top=x),this.updateTransform()},handleMouseDown(t){!this.isZoomed||this.disabled||(this.isPanning=!0,this.panStart={x:t.clientX,y:t.clientY})},handleMouseUp(){this.disabled||(this.isPanning=!1)},handleMouseLeave(){this.disabled||(this.isPanning=!1)},handleMouseMove(t){if(!this.isPanning||!this.isZoomed||this.disabled)return;const e=t.clientX-this.panStart.x,r=t.clientY-this.panStart.y;this.left+=e,this.top+=r,this.applyBoundsCorrection(),this.panStart={x:t.clientX,y:t.clientY},this.updateTransform()},applyBoundsCorrection(){const t=this.$refs.container,e=this.$refs.content,r=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(!r||!n)return;const[s,l,i,h]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(a=>a<0?a:0);this.left+=h-l,this.top+=s-i},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)}}}),z8="";var D1=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()])])},P1=[],O1=Y(L1,D1,P1,!1,null,"270d2bfd",null,null);const Ir=O1.exports,Fr=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),Ci=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],Ar=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${Fr.format(e)}`:`${n}:${Fr.format(r)}:${Fr.format(e)}`},z1=j.extend({name:"EVideoPlayer",components:{ESpinner:Pr,EZoomable:Ir},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 it,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,async handler(t){this.playing=t,t?await this.play():this.pause(),this.isHls&&(t?this.$emit("hls-play"):this.$emit("hls-pause"))}},preloadedSeconds(t){this.preloadedInterval={start:Se(this.targetTimestamp).format(),end:Se(this.targetTimestamp).add(t,"seconds").format()},this.$emit("preloaded-interval",this.preloadedInterval)},targetTimestamp:{immediate:!0,handler(t){var l,i;if(!this.isHls)return;const e=this.$refs.player,r=(l=this.preloadedInterval)==null?void 0:l.start,n=(i=this.preloadedInterval)==null?void 0:i.end;if(!(r&&n))return;const s=Se(t).isBetween(Se(r),Se(n),void 0,"[]");e.currentTime=0,s||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,s,l,i,h;const e=this.$refs.player,r=this.sources[0];(n=this.player)!=null&&n.stopLoad&&this.player.stopLoad(),it.isSupported()&&(this.isLoading=!0,this.player=new it({startPosition:0,xhrSetup:a=>{this.streamingToken&&a.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),(s=this.player)==null||s.loadSource(t||r.src),(l=this.player)==null||l.attachMedia(e),(i=this.player)==null||i.on(it.Events.MANIFEST_PARSED,(a,o)=>{var m;const u=(m=o.levels[o.firstLevel])==null?void 0:m.details,f=u==null?void 0:u.startTimeOffset;e.currentTime=f||0,this.playing&&e.play()}),(h=this.player)==null||h.on(it.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===it.ErrorTypes.NETWORK_ERROR,n=e.type===it.ErrorTypes.MEDIA_ERROR,s=r&&((o=e.networkDetails)==null?void 0:o.status)===404,l=this.$refs.player,i=()=>this.fallbackSrc&&(l==null?void 0:l.currentSrc)!==this.fallbackSrc,h=()=>this.initHls(this.fallbackSrc),a=()=>{if(i()){h();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(s){a();return}if(r){console.error("A network error occurred:",e),i()?h():this.player.startLoad();return}n&&(console.error("A media error occurred:",e),i()?h():this.player.recoverMediaError()),a()},bindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.addEventListener(e,()=>this.bindVideoEvent(e),!0)})},onProgress(){const t=this.$refs.player;if(t&&t.buffered.length>0)try{this.preloadedSeconds=t.buffered.end(t.buffered.length-1)}catch(e){console.error("Error while fetching buffered end time:",e)}else console.log("No video data has been buffered yet.")},unbindEvents(){const t=this.$refs.player;Ci.forEach(e=>{t.removeEventListener(e,()=>this.bindVideoEvent(e),!0)})},bindVideoEvent(t){const e=this.$refs.player;if(!e)return;const r=this.$refs.timelineContainer;t==="loadeddata"&&(this.videoLength=Ar(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&&(Br().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(zr(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=Ar(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=Ar(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(),s=Math.min(Math.max(0,t.x-n.x),n.width)/n.width;r.style.setProperty("--preview-position",s.toString()),this.isScrubbing&&(t.preventDefault(),r.style.setProperty("--progress-position",s.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 s=e.getBoundingClientRect(),l=Math.min(Math.max(0,t.x-s.x),s.width)/s.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=l*this.videoDuration,n.currentTime=l*this.videoDuration,this.wasPaused)return;const i=n.play();i!==void 0&&i.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}}}}),B8="";var B1=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"video-container paused"},[r("EZoomable",{ref:"zoomable",attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground},on:{"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",style:{height:e.$attrs.height,width:e.$attrs.width}},[e.posterUrl?r("img",{staticClass:"e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster",style:{height:e.$attrs.height,width:e.$attrs.width},attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("poster-error",n)}}}):e._e()])]}),r("video",e._g(e._b({ref:"player",class:{"e-w-full e-h-full e-z-[5] e-min-h-[400px]":!0,"e-absolute e-inset-0":e.isZoomable,"e-relative":!e.isZoomable},attrs:{controls:!1,preload:"auto"},on:{ended:e.handleEnded,click:e.onContainerClick,loadedmetadata:e.getDuration,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 fas",class:{"fa-play":!e.playing,"fa-pause":e.playing},attrs:{title:e.playing?"pause":"play"},on:{click:e.togglePlay}}),r("div",{staticClass:"duration-container"},[r("div",{ref:"currentTimeElem",staticClass:"current-time"},[e._v(" "+e._s(e.currentTime)+" ")]),e._v(" / "),r("div",{ref:"totalTimeElem",staticClass:"total-time"},[e._v(e._s(e.videoLength))])]),r("div",{ref:"timelineContainer",staticClass:"timeline-container",on:{mousemove:e.handleTimelineUpdate,mousedown:e.toggleScrubbing}},[e._m(0)]),r("button",{ref:"fullScreenBtn",staticClass:"full-screen-btn fa-solid",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen},on:{click:e.toggleFullscreenMode}})])])]},{play:e.play,pause:e.pause,isPlaying:e.playing,playerInstance:e.player,toggleFullscreen:e.toggleFullscreenMode,currentTime:e.currentTime,videoLength:e.videoLength,isFullscreen:e.isFullscreen})],2)},I1=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],F1=Y(z1,B1,I1,!1,null,"3ebc2ce7",null,null);const yi=F1.exports,Qe={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(s=>{s[0]&&r(s[0])});n.observe(t),t.__resizeObserver__=n},unbind(t){t.__resizeObserver__&&(t.__resizeObserver__.disconnect(),delete t.__resizeObserver__)}},Rr={bind(t,e){const r=t;r.handleClick=function(n){if(!(r===n.target||r.contains(n.target))){const s=e.value;typeof s=="function"&&s(n)}},setTimeout(()=>{document.addEventListener("click",r.handleClick)})},unbind(t){const e=t;e.handleClick&&(document.removeEventListener("click",e.handleClick),delete e.handleClick)}},bi=[{name:"resize-observer",definition:Qe},{name:"click-outside",definition:Rr}],at={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern",clipPath:"clip-path"},H={xAxis:"e-x-axis",xAxisDark:"e-x-axis--dark",xAxisOverview:"e-x-axis-overview",xAxisDetailed:"e-x-axis-detailed",xAxisBackground:"e-x-axis-background",eventGroup:"event-group",eventGroupBg:"event-group-bg",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",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"e-tl-milestone",milestoneBullet:"e-tl-milestone--bullet",milestoneDot:"e-tl-milestone--dot",milestoneContent:"e-tl-milestone-content",milestoneLine:"e-tl-milestone-line",milestonesContainer:"e-tl-milestones",milestoneHovered:"e-tl-milestone--hovered",milestoneSelected:"e-tl-milestone--selected",milestoneLabel:"e-tl-milestone-label",milestoneDotContainer:"e-tl-milestone-dot-container",milestoneDotLine:"e-tl-milestone-dot-line",milestoneDotDot:"e-tl-milestone-dot-dot",milestoneDotHovered:"e-tl-milestone-dot--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",curtain:"curtain",forbiddenInterval:"forbidden-interval"},A1=j.extend({name:"ETimelineMilestone",directives:{resizeObserver:Qe},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{classNames:H,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){this.$emit("hovered-milestone",this.milestone);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 s=n.getBoundingClientRect(),l=e.dataset.timeoutId;l&&(clearTimeout(Number(l)),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(s.width)),e.dataset.initialContentHeight||(e.dataset.initialContentHeight=String(s.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(H.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.$emit("hovered-milestone",null),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),s=n>this.transitionDuration?this.transitionDuration:n,l=setTimeout(()=>{e.classList.remove(H.milestoneHovered),e.dataset.timeoutId=""},s);e.dataset.timeoutId=String(l),this.timeouts.push(l)},onMilestoneClick(t,e){this.$emit("milestone-click",e)}}}),I8="";var R1=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:{[e.classNames.milestone]:!0,[e.classNames.milestoneBullet]:!e.dot,[e.classNames.milestoneHovered]:e.isMouseOver&&!e.dot,[e.classNames.milestoneDot]:e.dot,[e.classNames.milestoneDotHovered]:e.isMouseOver&&e.dot},style:e.styles,attrs:{tabindex:"0"},on:{mouseover:n=>e.onMilestoneMouseOver(n),mousemove:e.onMilestoneMouseMove,mouseleave:n=>e.onMilestoneMouseLeave(n),click:n=>e.onMilestoneClick(n,e.milestone)}},[r("div",{class:e.classNames.milestoneContent,style:e.contentStyles},[e._t("content",function(){var n;return[r("span",[e._v(" "+e._s((n=e.milestone)==null?void 0:n.text)+" ")])]})],2),e.dot?r("div",{class:e.classNames.milestoneDotContainer,style:e.dotContainerStyles},[r("div",{class:e.classNames.milestoneDotLine,style:e.lineStyles}),r("div",{class:e.classNames.milestoneDotDot,style:e.dotStyles})]):r("div",{class:e.classNames.milestoneLabel,style:e.labelStyles},[e._t("label")],2)])},H1=[],N1=Y(A1,R1,H1,!1,null,null,null,null);const W1=N1.exports;function Hr({timestamp:t,timezone:e}){const r=xi(t,e);return Se(t).add(r,"minutes").toDate()}function Nr({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=xi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function xi(t,e){return e?Se.tz(t,e).utcOffset():j1(t)}function j1(t){return Se.parseZone(t).utcOffset()}const G1=j.extend({name:"ETimelineMarker",props:{marker:{type:Object,required:!0},height:{type:Number,required:!0},hidden:{type:[Boolean,void 0],default:void 0},position:{type:[Number,void 0],default:void 0}},methods:{getMarkerClass(t){return{"marker--hidden":this.hidden,"marker--draggable":t==null?void 0:t.isDraggable,...t.className?{[t==null?void 0:t.className]:!0}:{}}},getMarkerContainerStyle(){return{left:`${this.position}px`}},getMarkerLabelStyle(t){return{background:t.color,color:t.textColor||""}},getMarkerLineStyle(t){return{background:t.color,height:`${this.height+12}px`}}}}),F8="";var q1=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"marker e-absolute e-h-full e-top-0 e-z-10",class:e.getMarkerClass(e.marker),style:e.getMarkerContainerStyle(),on:{click:function(n){return e.$emit("marker-clicked",e.marker)}}},[r("div",{staticClass:"marker-label e-absolute"},[r("div",{staticClass:"marker-label-text",style:e.getMarkerLabelStyle(e.marker)},[e._t(`marker.${e.marker.id}`,function(){return[e._v(" "+e._s(e.marker.label)+" ")]},{marker:e.marker})],2)]),r("div",{staticClass:"marker-line e-absolute e-pointer-events-none",style:e.getMarkerLineStyle(e.marker)})])},Z1=[],U1=Y(G1,q1,Z1,!1,null,"614947ed",null,null);const Y1=U1.exports,X1=j.extend({name:"ETimelineMarkers",components:{ETimelineMarker:Y1},props:{markers:{type:Array,default:()=>[]},timeScale:{type:Function,required:!0},timeZone:{type:[String,void 0],default:void 0},height:{type:Number,required:!0},svgLeft:{type:Number,default:void 0},stickyMarkers:{type:Boolean,default:!1}},data(){return{markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0}},watch:{timeScale:{handler(){this.updateMarkers()},deep:!0},markers(){this.updateMarkers()}},methods:{initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=P.drag().on("start",function(e,r){t.handleMarkerDrag({marker:r,markerElement:P.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:P.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:P.select(this),dragEvent:e})}),P.selectAll(`.${H.marker}`).data(this.markers).call(this.markersDragBehavior)},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),P.selectAll(`.${H.marker}`).call(this.markersDragBehavior))},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){var h;if(!t.isDraggable)return;(h=r.sourceEvent)==null||h.preventDefault(),r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${H.markerLine}`).getBoundingClientRect().left,e.classed(H.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,s=this.timeScale.invert(n-this.svgLeft);let l=this.timeScale(s);const i=this.isTimestampAllowedForMarker(s,t);if(r.type==="drag"&&i&&e.attr("style",`left: ${l}px`),r.type==="end"){const a=t.id||t.timestamp;l=i?l:this.timeScale(this.tzStringToDate(t.timestamp)),this.markersPositions={...this.markersPositions,[a]:{...this.markersPositions[a],position:l}},e.classed(H.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:i?this.dateToTzString(s):t.timestamp})},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.markers.forEach((r,n,s)=>{const l=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,i=this.timeScale(l);let h=!1;const a=this.stickyMarkers?Math.max(i,n*t):i;if(n<s.length-1){const o=s[n+1],u=typeof o.timestamp=="string"?this.tzStringToDate(o.timestamp):o.timestamp,f=this.timeScale(u);h=(this.stickyMarkers?Math.max(f,(n+1)*t):i)-a<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:h,position:a}}}),this.initMarkersDragBehavior()},isTimestampAllowedForMarker(t,e){return(e.minDate?t>=this.tzStringToDate(e.minDate):!0)&&(e.maxDate?t<=this.tzStringToDate(e.maxDate):!0)},tzStringToDate(t){return Hr({timestamp:t,timezone:this.timeZone})},dateToTzString(t){return Nr({date:t,timezone:this.timeZone})}}});var Q1=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-tl-markers"},e._l(e.markers,function(n){var s,l;return r("ETimelineMarker",{key:n.id,attrs:{marker:n,height:e.height,position:(s=e.markersPositions[n.id])==null?void 0:s.position,hidden:(l=e.markersPositions[n.id])==null?void 0:l.isHidden,"data-id":n.id},on:{"marker-clicked":function(i){return e.$emit("marker-clicked",i)}},scopedSlots:e._u([{key:`marker.${n.id}`,fn:function(){return[e._t(`marker.${n.id}`,function(){return[e._v(" "+e._s(n.label)+" ")]},{marker:n})]},proxy:!0}],null,!0)})}),1)},V1=[],K1=Y(X1,Q1,V1,!1,null,null,null,null);const J1=K1.exports,e0=j.extend({name:"EZoomBehavior",props:{width:{type:[Number,void 0],default:void 0},domain:{type:Array,required:!0},focusedDomain:{type:[Array,void 0],default:void 0},timezone:{type:String,default:"UTC"},disabled:{type:Boolean,default:!1},scalingDuration:{type:Number,default:400},translationDuration:{type:Number,default:400},focusedTimestamp:{type:[String,Date],default:""}},data(){return{timeScale:null,initialTimeScale:null,zoomBehavior:null,selection:null,isTransitioning:!1,container:null,isLocked:!1,transformDiff:{translation:0,scale:1},lastTransform:{x:0,y:0,k:1},isLeftBoundaryReached:!1,isRightBoundaryReached:!1,resetBoundariesTimeout:0}},computed:{minDate(){const t=this.domain[0];return this.toD3Date(t)},maxDate(){const t=this.domain[1];return this.toD3Date(t)},focusedStartDate(){const e=(this.focusedDomain||this.domain)[0];return this.toD3Date(e)},focusedEndDate(){const e=(this.focusedDomain||this.domain)[1];return this.toD3Date(e)}},watch:{timeScale(){this.emitTimeScaleChange(),this.emitFocusedDomainChange()},focusedDomain(t){this.zoomToFocusedDomain(t)},focusedTimestamp(t){t&&this.panToTimestamp(t)},transformDiff(){this.$emit("transform-changed",this.transformDiff)}},mounted(){this.initRefs(),this.initTimeScale(),this.initZoomBehavior(),this.emitTimeScaleChange()},methods:{initRefs(){this.container=this.$refs.container},initTimeScale(){this.timeScale=P.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,this.getWidth()]),this.initialTimeScale=this.timeScale.copy()},calculateZoomExtents(){const t=[this.focusedStartDate,this.focusedEndDate],e=this.getWidth(),r=this.maxDate.getTime()-this.minDate.getTime(),l=[(this.focusedEndDate.getTime()-this.focusedStartDate.getTime())/r,1/0],i=this.initialTimeScale.copy();i.domain(t);const h=i(this.minDate),a=-(e-i(this.maxDate));return{scaleExtent:l,translateExtent:[[h||-1/0,0],[a||1/0,0]]}},initZoomBehavior(){const{scaleExtent:t,translateExtent:e}=this.calculateZoomExtents();this.zoomBehavior=P.zoom().scaleExtent(t).translateExtent(e).on("zoom",this.handleZoom),this.selection=P.select(this.container),this.selection.call(this.zoomBehavior)},handleZoom(t){const r=t.transform.rescaleX(this.initialTimeScale.copy()).domain(),n=r[0]<=this.minDate,s=r[1]>=this.maxDate;if(n||s){const i=P.zoomIdentity.translate(this.lastTransform.x,this.lastTransform.y).scale(this.lastTransform.k);this.selection.call(this.zoomBehavior.transform,i),this.updateBoundaries(n,s);return}const l=t.transform.k/this.lastTransform.k;this.transformDiff={scale:l,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform},this.timeScale=t.transform.rescaleX(this.timeScale).domain(r)},toD3Date(t){return Hr({timestamp:t,timezone:this.timezone})},toDateString(t){return Nr({date:t,timezone:this.timezone})},getWidth(){var t,e;return this.width?this.width:(e=(t=this.container)==null?void 0:t.getBoundingClientRect())==null?void 0:e.width},zoomToFocusedDomain(t){const e=this.toD3Date(t[0]),r=this.toD3Date(t[1]),n=this.timeScale.domain();if(e.getTime()===n[0].getTime()&&r.getTime()===n[1].getTime())return;const s=this.initialTimeScale.domain().map(m=>m.getTime()),l=s[1]-s[0],i=r.getTime()-e.getTime(),h=.1*i,a=i+2*h;let o=l/a;const u=this.zoomBehavior.scaleExtent();o=Math.min(Math.max(o,u[0]),u[1]);const f=this.initialTimeScale.copy().domain([e,r]);this.selection.transition().duration(this.scalingDuration/2).call(this.zoomBehavior.scaleTo,o).on("end",()=>this.translateIntervalIntoView(e.getTime(),r.getTime(),o)),this.timeScale=f},translateIntervalIntoView(t,e,r){const n=this.timeScale(new Date(t)),s=this.timeScale(new Date(e)),l=(n+s)/2,h=this.getWidth()/2-l,a=P.zoomTransform(this.selection.node());this.selection.transition().duration(this.translationDuration/2).call(this.zoomBehavior.transform,P.zoomIdentity.translate(a.x+h,a.y).scale(r))},emitTimeScaleChange(){this.$emit("time-scale-change",this.timeScale)},emitFocusedDomainChange(){if(!this.selection.node())return;const[e,r]=this.timeScale.domain();this.$emit("focused-domain-change",[this.toDateString(e),this.toDateString(r)])},panToTimestamp(t){const e=new Date(t),r=this.timeScale(e),n=P.zoomTransform(this.selection.node()),s=n.x-r+this.getWidth()/2;this.selection.transition().duration(this.translationDuration).call(this.zoomBehavior.transform,P.zoomIdentity.translate(s,0).scale(n.k)).on("end",()=>{this.emitFocusedDomainChange()})},updateBoundaries(t,e){this.isLeftBoundaryReached=t,this.isRightBoundaryReached=e,clearTimeout(this.resetBoundariesTimeout),this.resetBoundariesTimeout=setTimeout(this.resetBoundaries,300)},resetBoundaries(){this.isLeftBoundaryReached=!1,this.isRightBoundaryReached=!1}}}),A8="";var t0=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoom-behavior"},[r("transition",{attrs:{name:"boundary-fade"}},[e.isLeftBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__left e-bg-gradient-to-r e-from-red-700 e-to-transparent"}):e._e()]),e._t("default",null,{timeScale:e.timeScale}),r("transition",{attrs:{name:"boundary-fade"}},[e.isRightBoundaryReached?r("div",{staticClass:"e-zoom-behavior__boundary e-zoom-behavior__boundary__right e-bg-gradient-to-l e-from-red-700 e-to-transparent"}):e._e()])],2)},r0=[],n0=Y(e0,t0,r0,!1,null,null,null,null);const i0=n0.exports,s0=j.extend({name:"EXAxis",props:{ticksConfigs:{type:Array,required:!0},timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H}},computed:{classes(){return{[H.xAxis]:!0,[H.xAxisDark]:this.dark}},axis(){return P.axisBottom(this.timeScale).ticks(this.currentTicksConfig.interval).tickFormat(this.currentTicksConfig.formatFn).tickSizeOuter(0).tickSizeInner(this.height)},density(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},currentTicksConfig(){const{interval:t,format:e}=this.ticksConfigs.find(n=>n.precision>=this.density&&n.interval);return{formatFn:n=>typeof e=="function"?e(n):P.timeFormat(e)(n),interval:t}}},watch:{timeScale:{handler(){this.update()},deep:!0},currentTicksConfig:{handler(){this.update()},deep:!0},height(){this.updateTicksSize()}},mounted(){this.update()},methods:{update(){const t=this.$refs.container;P.select(t).call(this.axis),this.translateTicksText()},translateTicksText(){const t=this.$refs.container;P.select(t).selectAll(".tick text").each(function(){P.select(this).attr("x",5).attr("y",0).style("text-anchor","start")})},updateTicksSize(){this.axis.tickSizeOuter(0).tickSizeInner(this.height),this.update()}}}),R8="";var a0=function(){var e=this,r=e._self._c;return r("g",{ref:"container",class:e.classes,attrs:{"text-anchor":"middle",transform:`translate(${e.x}, ${e.y})`}})},o0=[],l0=Y(s0,a0,o0,!1,null,null,null,null);const Wr=l0.exports,Pt=t=>{const e=P.utcFormat("%_d")(t),r=c0(parseInt(e));return`${e}${r}`},wi=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":P.utcFormat("%-d")(t),mt=t=>["0"," 0","00"].includes(P.utcFormat("%H")(t))?"":`${P.utcFormat("%H")(t)}h`,nt=t=>{const e=P.utcFormat("%H:%M")(t);return e==="00:00"?"":e},jr=t=>P.utcFormat("%M:%S")(t),Si=t=>`${P.utcFormat("%Hh%Mm")(t)}`,Gr=t=>{const e=nt(t),r=Pt(t),n=P.utcFormat("%B")(t);return e||`${n} ${r}`},qr=t=>{const e=nt(t),r=Number.parseInt(P.utcFormat("%H")(t)),n=Pt(t),s=P.utcFormat("%B")(t);return e&&r%6===0?`${s} ${n} ${e}`:Gr(t)},c0=t=>{if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},gt=t=>e=>{const r=P.utcFormat("%H")(e);return!(P.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},Zr=t=>e=>{const r=P.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},Ti=t=>e=>{const r=P.utcFormat("%M")(e),n=P.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},ee={_10_seconds:25e-6,_20_seconds:1e-4,_30_seconds:15e-5,_1_minute:3e-4,_2_minutes:75e-5,_5_minutes:.002,_15_minutes:.005,_30_minutes:.01,_1_hour:.025,_2_hours:.05,_3_hours:.1,_4_hours:.15,_6_hours:.25,_1_day:1,_2_days:2,_1_month:8,_1_month_abbr:13,_1_month_letter:22,_3_months:33,_2_year:48,_5_years:120,_20_years:480,_75_years:1800,_300_years:7200,infinity:1/0},Ur={[et.overview]:[{precision:ee._30_seconds,interval:P.utcMinute.every(2),format:Si},{precision:ee._1_minute,interval:P.utcMinute.every(5),format:Si},{precision:ee._2_minutes,interval:P.utcMinute.every(10),format:Gr},{precision:ee._5_minutes,interval:P.utcMinute.every(20),format:qr},{precision:ee._15_minutes,interval:P.utcHour,format:qr},{precision:ee._30_minutes,interval:P.utcHour.every(2),format:qr},{precision:ee._2_hours,interval:P.utcHour.every(6),format:t=>{const e=nt(t),r=Pt(t),n=P.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:ee._3_hours,interval:P.utcHour.every(12),format:Gr},{precision:ee._6_hours,interval:P.utcHour.every(24),format:t=>{const e=Pt(t),r=P.utcFormat("%b")(t),n=P.utcFormat("%Y")(t);return`${r} ${e} ${n}`}},{precision:ee._2_days,interval:P.utcMonth,format:"%Y – %B"},{precision:ee._2_year,interval:P.utcMonth.every(3),format:"%Y Q%q"},{precision:ee._5_years,interval:P.utcYear.every(5),format:"%Y"},{precision:ee._20_years,interval:P.utcYear.every(20),format:"%Y"},{precision:ee._75_years,interval:P.utcYear.every(75),format:"%Y"},{precision:ee._300_years,interval:P.utcYear.every(300),format:"%Y"},{precision:ee.infinity,interval:P.utcMonth.every(12),format:"%Y"}],[et.detailed]:[{precision:ee._10_seconds,interval:P.utcSecond.every(10),format:jr},{precision:ee._20_seconds,interval:(Ui=P.utcSecond.every(20))==null?void 0:Ui.filter(Ti(2)),format:jr},{precision:ee._30_seconds,interval:(Yi=P.utcSecond.every(30))==null?void 0:Yi.filter(Ti(2)),format:jr},{precision:ee._1_minute,interval:P.utcMinute.filter(Zr(5)),format:nt},{precision:ee._2_minutes,interval:(Xi=P.utcMinute.every(2))==null?void 0:Xi.filter(Zr(10)),format:nt},{precision:ee._5_minutes,interval:(Qi=P.utcMinute.every(5))==null?void 0:Qi.filter(Zr(20)),format:nt},{precision:ee._15_minutes,interval:(Vi=P.utcMinute.every(15))==null?void 0:Vi.filter(gt(1)),format:nt},{precision:ee._30_minutes,interval:(Ki=P.utcMinute.every(30))==null?void 0:Ki.filter(gt(2)),format:nt},{precision:ee._1_hour,interval:P.utcHour.filter(gt(6)),format:mt},{precision:ee._2_hours,interval:(Ji=P.utcHour.every(2))==null?void 0:Ji.filter(gt(6)),format:mt},{precision:ee._3_hours,interval:(es=P.utcHour.every(3))==null?void 0:es.filter(gt(12)),format:mt},{precision:ee._4_hours,interval:P.utcHour.every(4),format:mt},{precision:ee._6_hours,interval:P.utcHour.every(6),format:mt},{precision:ee._1_day,interval:P.utcDay,format:wi},{precision:ee._2_days,interval:P.utcDay.every(2),format:wi},{precision:ee._1_month,interval:P.utcMonth,format:"%B"},{precision:ee._1_month_abbr,interval:P.utcMonth,format:"%b"},{precision:ee._1_month_letter,interval:P.utcMonth,format:t=>P.utcFormat("%B")(t).charAt(0)},{precision:ee._3_months,interval:P.utcMonth.every(3),format:"Q%q"},{precision:ee._2_year,interval:P.utcMonth.every(6),format:"Q%q"},{precision:ee._5_years,interval:P.utcYear.every(2),format:"%Y"},{precision:ee._20_years,interval:P.utcYear.every(4),format:"%Y"},{precision:ee._75_years,interval:P.utcYear.every(25),format:"%Y"},{precision:ee._300_years,interval:P.utcYear.every(100),format:"%Y"},{precision:ee.infinity,interval:P.utcYear.every(500),format:""}],[et.detailedBackground]:[{precision:ee._10_seconds,interval:P.utcSecond,format:""},{precision:ee._20_seconds,interval:P.utcSecond.every(5),format:""},{precision:ee._30_seconds,interval:P.utcSecond.every(10),format:""},{precision:ee._1_minute,interval:P.utcSecond.every(20),format:""},{precision:ee._2_minutes,interval:P.utcSecond.every(30),format:""},{precision:ee._5_minutes,interval:P.utcMinute,format:""},{precision:ee._15_minutes,interval:P.utcMinute.every(3),format:""},{precision:ee._30_minutes,interval:P.utcMinute.every(6),format:""},{precision:ee._1_hour,interval:P.utcMinute.every(15),format:""},{precision:ee._2_hours,interval:P.utcMinute.every(30),format:""},{precision:ee._3_hours,interval:P.utcHour,format:""},{precision:ee._4_hours,interval:P.utcHour,format:""},{precision:ee._6_hours,interval:P.utcMinute.every(120),format:""},{precision:ee._1_day,interval:P.utcHour.every(8),format:""},{precision:ee._2_days,interval:P.utcHour.every(12),format:""},{precision:ee._1_month,interval:P.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/5);return e===n||e===2*n||e===3*n||e===4*n}),format:""},{precision:ee._1_month_abbr,interval:P.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/4);return e===n||e===2*n||e===3*n}),format:""},{precision:ee._1_month_letter,interval:P.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/2);return e===n}),format:""},{precision:ee._3_months,interval:P.utcMonth,format:""},{precision:ee._3_months,interval:P.utcMonth,format:""},{precision:ee._2_year,interval:P.utcYear,format:""},{precision:ee._5_years,interval:P.utcYear.every(2),format:""},{precision:ee._20_years,interval:P.utcYear.every(5),format:""},{precision:ee._75_years,interval:P.utcYear.every(20),format:""},{precision:ee._300_years,interval:P.utcYear.every(100),format:""},{precision:ee.infinity,interval:P.utcYear.every(500),format:""}]},u0=j.extend({name:"EXAxisOverview",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H,ticksConfigs:Ur[et.overview]}}}),H8="";var d0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisOverview,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},h0=[],f0=Y(u0,d0,h0,!1,null,null,null,null);const p0=f0.exports,m0=j.extend({name:"EXAxisDetailed",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H,ticksConfigs:Ur[et.detailed]}}}),N8="";var g0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisDetailed,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},v0=[],_0=Y(m0,g0,v0,!1,null,null,null,null);const C0=_0.exports,y0=j.extend({name:"EXAxisBackground",components:{EXAxis:Wr},props:{timeScale:{type:Function,required:!0},x:{type:Number,default:0},y:{type:Number,default:0},height:{type:Number,default:10},dark:{type:Boolean,default:!1}},data(){return{classNames:H,ticksConfigs:Ur[et.detailedBackground]}}}),W8="";var b0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EXAxis",{class:e.classNames.xAxisBackground,attrs:{x:e.x,y:e.y,dark:e.dark,height:e.height,"time-scale":e.timeScale,"ticks-configs":e.ticksConfigs}})},x0=[],w0=Y(y0,b0,x0,!1,null,null,null,null);const S0=w0.exports,T0=j.extend({name:"ETimelineSVGDefs",props:{eventsGroups:{type:Object,default:()=>({})},forbiddenIntervalColor:{type:String,default:"#ddd"},width:{type:Number,required:!0},height:{type:Number,required:!0}},data(){return{defs:at,TimelineChartType:je,transparencyGradients:[{id:"transparency-gradient-light",stop:38,opacity:.3},{id:"transparency-gradient",stop:130,opacity:.4}]}},computed:{filteredEventsGroups(){return this.eventsGroups||{}}}});var k0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("defs",{ref:"mainContainer",staticClass:"e-timeline"},[e._l(e.eventsGroups,function(n,s){return[r("linearGradient",{key:`${e.defs.loadingGradient}-${s}`,attrs:{id:`${e.defs.loadingGradient}-${s}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":"0"}}),r("stop",{attrs:{offset:"50%","stop-color":n.color,"stop-opacity":"0.6"}}),r("stop",{attrs:{offset:"100%","stop-color":n.color,"stop-opacity":"0"}})],1),[e.TimelineChartType.lineGraph,e.TimelineChartType.barChart].includes(n.chartType)?[e._l(e.transparencyGradients,function({id:l,stop:i,opacity:h}){return r("linearGradient",{key:`${l}-${s}`,attrs:{id:`${l}-${s}`,x1:"0%",x2:"0%",y1:"0%",y2:"100%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":h}}),r("stop",{attrs:{offset:`${i}%`,"stop-color":n.color,"stop-opacity":"0"}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${s}`,attrs:{id:`${e.defs.clipPath}-${s}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e()]}),r("pattern",{attrs:{id:e.defs.stripedPattern,width:"5",height:"3",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)"}},[r("rect",{attrs:{width:"1",height:"4",fill:e.forbiddenIntervalColor}})])],2)},M0=[],E0=Y(T0,k0,M0,!1,null,null,null,null);const $0=E0.exports,L0=j.extend({name:"ETimeline",directives:{resizeObserver:Qe},components:{ETimelineSVGDefs:$0,EXAxisBackground:S0,EXAxisDetailed:C0,EXAxisOverview:p0,ETimelineMilestone:W1,ETimelineMarkers:J1,EZoomBehavior:i0},props:{eventsGroups:{type:Object,default:()=>({})},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},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},tooltipPosition:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},maxDomainPadding:{type:Number,default:0}},data(){return{mainContainer:null,tooltip:null,cursor:null,timeline:null,wrapperDiv:null,selectedTimestampCursor:null,svgElement:null,svg:null,timeScale:null,currentTimeScaleDensity:null,axisHeight:22,isHoveringEvent:!1,hoveredEvent:null,isHoveringTimeline:!1,hoveredTimestamp:null,eventTooltipStyle:{},hoveredEventType:null,utcOffset:0,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:{},selectedMilestoneId:null,isInitialized:!1,transformDiff:{translation:0,scale:1},isZoomingInterval:!1,hoveredMilestone:null,focusedDomain:null,transitionDuration:400,focusedTimestamp:null}},computed:{combinedBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(this.getBarGroupHeight(e)||this.barChartHeight),0)},combinedBottomBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(e.bottom?this.getBarGroupHeight(e):0),0)},combinedMilestonesHeight(){return Object.values(this.milestonesGroups).reduce((t,e)=>t+(e.height||this.barChartHeight),0)},milestonesYOffset(){return this.milestonesFirst?0:this.combinedBarsHeight-this.combinedBottomBarsHeight+(this.hasChart?this.chartHeight:0)},chartsYOffset(){return this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0},barsYOffset(){return(this.hasChart?this.chartHeight:0)+(this.hasMilestones&&this.milestonesFirst?this.combinedMilestonesHeight:0)},hasMilestones(){return Object.keys(this.milestonesGroups).length>0},barChartHeight(){return this.barHeight+this.barYPadding},computedClasses(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark,"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===je.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||[je.bars,je.dots].includes(r.chartType)?{...t,[e]:r}:t,{})},barChartGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===je.barChart?{...t,[e]:r}:t,{})},milestonesGroups(){return Object.entries(this.filteredEventsGroups).reduce((t,[e,r])=>r.chartType===je.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 s;return Math.max(r,(s=n.label)==null?void 0:s.length)},0)*this.characterWidth+2*this.textPadding},combinedXAxesHeight(){return this.axisHeight*2},timelineWidth(){var t,e,r;return((t=this.timeline)==null?void 0:t.offsetWidth)||((r=(e=this.mainContainer)==null?void 0:e.getBoundingClientRect())==null?void 0:r.width)},timelineHeight(){return(this.hasChart?this.chartHeight:0)+this.combinedXAxesHeight+this.combinedBarsHeight+this.combinedMilestonesHeight},filteredEventsGroups(){const t=Object.entries(this.eventsGroups).filter(([e,r])=>this.getCurrentGroupVisibility(e));return Object.fromEntries(t)},allEventsSorted(){const t=Object.values(this.filteredEventsGroups).map(e=>e.events).flat();return this.getSortedEvents(t)},oldestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[0]:t={timestamp:new Date(new Date().getTime()-864e5)},t},latestEvent(){let t;return this.allEventsSorted.length>1?t=this.allEventsSorted[this.allEventsSorted.length-1]:t={timestamp:new Date},t},allLineChartTimestamps(){const t=new Set;return Object.values(this.lineGraphGroups).forEach(e=>{e.events.forEach(r=>{t.add(r.timestamp)})}),Array.from(t).sort()},placeholderLineChartGroup(){return this.fillTimeGaps(this.allLineChartTimestamps.map(t=>({timestamp:t,count:0})))},filledGapsLineGraphGroups(){return Object.entries(this.lineGraphGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:this.fillEvents(r.events)}}),{})},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):[]},maxVisibleCount(){const[t,e]=this.timeScale.domain(),r=this.flattenedCounts.filter(n=>{const s=new Date(n.startDate||n.timestamp),l=new Date(n.endDate||n.timestamp);return l>=t&&l<=e||s>=t&&s<=e});return P.max(r,n=>n.count)},defaultMaxDomain(){const t=new Date(this.oldestEvent.timestamp||this.oldestEvent.startDate).getTime(),e=new Date(this.latestEvent.timestamp||this.latestEvent.startDate).getTime(),n=(e-t)*.75,s=new Date(t-n),l=new Date(e+n);return[s.toISOString(),l.toISOString()]},defaultFocusedDomain(){const t=this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.latestEvent.timestamp||this.latestEvent.endDate;return[t,e]},domain(){let t=new Date(this.minDate||this.defaultMaxDomain[0]).getTime(),e=new Date(this.maxDate||this.defaultMaxDomain[1]).getTime(),r=0;return this.maxDomainPadding&&(r=(e-t)*this.maxDomainPadding),t=new Date(t-r).toISOString(),e=new Date(e+r).toISOString(),[this.tzStringToDate(t),this.tzStringToDate(e)]},svgLeft(){var t,e,r;return((r=(e=(t=this.svg)==null?void 0:t.node())==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0},markersScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("marker.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})}},watch:{dark(){this.handleDarkModeChange()},selectedTimestamp(){this.repositionSelectedTimestampCursor()},markers(){this.fitMarkersOnChange&&this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},eventsGroups:{handler(){this.updateTimeline()},deep:!0},barHeight:"updateTimeline",barYPadding:"updateTimeline",chartMinHeight:"updateTimeline",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.focusedTimestamp=this.tzStringToDate(t).toISOString())},groupsVisibility(){this.updateTimeline()},forbiddenIntervals(){this.updateForbiddenIntervals(!0)},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&(this.focusedDomain=[t.startDate,t.endDate])}},created(){this.debouncedOnResize=fi(this.handleResize,100)},mounted(){this.validateProps(),this.initTimeline(),this.zoomToStartAndEndDates()},beforeDestroy(){this.clearTimeline()},methods:{validateProps(){this.minDate||console.log("<ETimeline />: didn't receive a 'min-date' prop. Setting default: ",this.defaultMaxDomain[0]),this.maxDate||console.log("<ETimeline />: didn't receive a 'max-date' prop. Setting default: ",this.defaultMaxDomain[1]),this.startDate||console.log("<ETimeline />: didn't receive a 'start-date' prop. Setting default: ",this.defaultFocusedDomain[0]),this.endDate||console.log("<ETimeline />: didn't receive an 'end-date' prop. Setting default: ",this.defaultFocusedDomain[1])},updateTimeline(){this.isInitialized&&(this.initOrUpdateSvg(),this.updateYScale(),this.updateForbiddenIntervals(),this.drawEventsGroups(),this.updateCurtains(),this.repositionSelectedTimestampCursor(),this.registerEventsListeners(),this.isInitialized=!0)},initTimeline(){this.initRefs();const t=this.startDate||this.defaultFocusedDomain[0],e=this.endDate||this.defaultFocusedDomain[1];if(this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)],!this.timeline||this.timeline.offsetWidth===0||!this.domain||!this.timeScale){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.initOrUpdateSvg(),this.initUtcOffset(),this.initYScale(),this.drawEventsGroups(),this.curtains&&(this.initCurtains(),this.emitCurtainChange()),this.initSelectedTimestampCursor(),this.registerEventsListeners(),this.emitVisibleInterval(wt.initial),this.selectedDate&&this.panOnDateClick&&(this.focusedTimestamp=this.tzStringToDate(this.selectedDate)),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.cursor=this.$refs.cursor,this.mainContainer=this.$refs.mainContainer,this.timeline=this.$refs.timelineContainer,this.svgElement=this.$refs.timelineSvg,this.selectedTimestampCursor=this.$refs.selectedTimestamp,this.wrapperDiv=this.$refs.wrapperDiv},initOrUpdateSvg(){this.svg||(this.svg=P.select(this.svgElement))},initUtcOffset(){const t=this.startDate||this.oldestEvent.timestamp||this.oldestEvent.startDate;this.utcOffset=Se.parseZone(t).utcOffset()},initYScale(){this.yScale=P.scaleLinear().range([this.chartHeight,0]),this.updateYScale()},updateYScale(){this.yScale.range([this.chartHeight,0]),this.yScale.domain([0,this.maxVisibleCount])},zoomToFitMarkers(){const t=this.markers.map(l=>new Date(l.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t),n=new Date(e),s=new Date(r);this.focusedDomain=[n,s]},initSelectedTimestampCursor(){this.svg.append("line").attr("class",H.selectedTimestampCursor).style("stroke","red").style("stroke-width","1px").style("opacity",0).attr("x1",0).attr("x2",0).attr("y1",0),this.repositionSelectedTimestampCursor()},selectOrAppend({parent:t,targetId:e,targetType:r}){let n=t.select(`#${e}`);return n.empty()&&(n=t.append(r).attr("id",e)),n},clearTimeline(){this.svg&&this.svg.remove(),this.countsByTimestamp={}},repositionSelectedTimestampCursor(){var n;const t=(n=this.svg)==null?void 0:n.select(`.${H.selectedTimestampCursor}`);if(!t)return;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(){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),s=this.dateToTzString(this.visibleTo);this.$emit("visible-interval-change",{fromDate:n,toDate:s,trigger:t,transform:this.transformDiff})},onResize(t){this.autoResize&&(this.isFirstPaint?(this.handleResize(t),this.isFirstPaint=!1):this.debouncedOnResize(t))},handleResize({contentRect:t}){this.svg&&(this.svg.attr("width",t.width),this.updateTimeline())},handleDarkModeChange(){if(!this.showLabels)return;const t=this;this.svg.selectAll(`.${H.labelBg}`).each(function(){P.select(this).style("fill",t.dark?"black":"white")}),this.svg.selectAll(`.${H.labelBgFill}`).each(function(){const e=P.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(`.${H.labelText}`).each(function(){const e=P.select(this),r=e.node().dataset.color;e.style("fill",t.getTextFillColor(r))})},handleMouseLeave(){this.isHoveringTimeline=!1,this.$emit("hovered-timestamp",void 0)},handleMouseMove(t){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`,zIndex:100,[this.tooltipPosition==="top"?"bottom":"top"]:`${this.timeline.getBoundingClientRect().height}px`})},handleClick(t){const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);if(this.isHoveringEvent&&(this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation))return;const s=t.target;if(Array.from(s.classList).includes(H.forbiddenInterval)){this.$emit("forbidden-timestamp-clicked",n);return}this.$emit("date-clicked",n),this.panOnDateClick&&(this.focusedTimestamp=n)},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t.timestamp)},handleLineMouseOver(t,e,r){this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp}`]).reduce((n,s)=>{const[l,i]=s;return[...n,{type:l,count:i}]},[]),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){P.selectAll(`.${H.lineGraphGroup}-${t}`).classed(`${H.lineGraphGroup}--highlighted`,!0),P.selectAll(`.${H.lineGraphGroupLabel}`).classed(`${H.lineGraphGroupLabel}--highlighted`,!0)},handleLabelMouseLeave(t){P.selectAll(`.${H.lineGraphGroup}-${t}`).classed(`${H.lineGraphGroup}--highlighted`,!1),P.selectAll(`.${H.lineGraphGroupLabel}`).classed(`${H.lineGraphGroupLabel}--highlighted`,!1)},handleTransformChange(t){this.transformDiff=t},handleTimeScaleChange(t){this.timeScale=t,this.updateCurrentTimeScaleDensity(),this.isInitialized&&(this.updateEventsBars(),this.updateLineGraphs(),this.updateBarChart(),this.updateLineGraphHoverZones(),this.updateMilestonesPositions(),this.repositionSelectedTimestampCursor(),this.updateForbiddenIntervals(),this.emitVisibleInterval(wt.zoom),this.curtains&&this.emitCurtainChange(),this.focusedTimestamp=void 0,this.$emit("time-scale-change",t))},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,s=(this.rightCurtainWidth+this.curtainHandleWidth*2)/t*r,l=new Date(e[0].getTime()+n),i=new Date(e[1].getTime()-s);return{startDate:l,endDate:i}},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(`.${H.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(`.${H.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;this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)]},updateEventsBars(){const t=`.${H.eventGroup} > rect.${H.eventRect}`,e=`${t}:not(.${H.eventRect}--dot)`;this.svg.selectAll(t).attr("x",this.getEventRectX),this.svg.selectAll(e).attr("width",this.getEventRectWidth);const r=`.${H.eventGroup} > text.${H.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=m=>(this.getEventRectWidth(m)-this.barXPadding*2)/t,s=m=>this.yScale.range()[0]-this.yScale(m.count),l=m=>this.getEventRectX(m)+this.barXPadding+r*n(m),i=m=>this.yScale(m.count),h=`.${H.eventBarContainer}-${e}`,a=this.svg.selectAll(h),o=`.${H.barChartGroup} rect.${H.eventBarHoverZone}`;a.selectAll(o).attr("x",l).attr("width",n);const u=`.${H.barChartGroup} rect.${H.eventBar}`;a.selectAll(u).attr("x",l).attr("width",n).attr("y",i).attr("height",s);const f=`.${H.barChartGroup} rect.${H.eventBarCap}`;a.selectAll(f).attr("x",l).attr("width",n).attr("y",i)})},updateLineGraphs(){Object.entries(this.lineGraphGroups).forEach(([t])=>{const e=P.area().x(r=>this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1(r=>this.yScale(r.count)).curve(P.curveMonotoneX);this.svg.selectAll(`.${H.lineGraphPath}-${t}`).attr("d",r=>e(r))})},updateLineGraphHoverZones(){Object.keys(this.lineGraphGroups).forEach(t=>{const e=this;this.svg.selectAll(`.${H.lineGraphDot}-${t}`).each(function(r){P.select(this).attr("cx",e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy",e.yScale(r.count))}),this.svg.selectAll(`.${H.lineGraphHoverZone}-${t}`).each(function(r){const n=e.timeScale(e.tzStringToDate(r.timestamp).getTime())-15;P.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)},initCurtains(){this.createCurtains(),this.updateCurtains()},createCurtains(){this.curtains&&(this.svg.append("rect").classed(`${H.curtain} ${H.curtain}--left`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(P.drag().on("start",this.handleDragStart).on("drag",this.handleLeftDrag).on("end",this.handleDragEnd)),this.svg.append("rect").classed(`${H.curtain} ${H.curtain}--right`,!0).attr("fill","rgba(0, 0, 0, 0.5)").on("mouseenter",()=>this.isHoveringCurtain=!0).on("mouseleave",()=>this.isHoveringCurtain=!1).call(P.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(`.${H.curtain}--left`).attr("width",this.leftCurtainWidth).attr("height",e+this.curtainHandleWidth*2).attr("y",-this.curtainHandleWidth).attr("x",-this.curtainHandleWidth),this.svg.select(`.${H.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(`.${H.forbiddenInterval}`).remove();const e=this.timeScale.domain();this.forbiddenIntervals.forEach((r,n)=>{const s=r.startDate===-1/0?e[0]:this.tzStringToDate(r.startDate),l=r.endDate===1/0?e[1]:this.tzStringToDate(r.endDate),i=this.timeScale(s),h=this.timeScale(l),a=Math.max(h-i,0);let o=this.svg.select(`.${H.forbiddenInterval}-${n}`);o.empty()&&(o=this.svg.append("rect").attr("class",`${H.forbiddenInterval} ${H.forbiddenInterval}-${n}`).attr("fill",`url(#${at.stripedPattern})`)),o.attr("x",i).attr("y",0).attr("width",a).attr("height",this.timelineHeight)})},drawEventsGroups(){this.svg.selectAll(`g.${H.eventGroup}`).remove(),this.svg.selectAll(`.${H.barChartGroup}`).remove(),this.svg.selectAll(`.${H.lineGraphGroup}`).remove(),this.svg.selectAll(`.${H.lineGraphGroupLabel}`).remove(),this.svg.selectAll(`.${H.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 s=this.svg.append("g").classed(`${H.lineGraphGroup} ${H.lineGraphGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:l,events:i}=n;this.drawLineGraph({events:i,gElement:s,color:l,type:r}),this.drawLineGraphHoverZones({events:i,gElement:s,color:l,type:r})}),Object.entries(this.lineGraphGroups).forEach(([r,n],s)=>{const{color:l,isLoading:i,label:h}=n,a=Math.max(this.chartMinLabelHeight,this.barChartHeight),o=this.chartHeight-a*(s+1),u=t+this.chartHeight-a,f=this.svg.append("g").classed(H.lineGraphGroupLabel,!0).attr("transform",`translate(0,${t})`).on("mouseover",()=>this.handleLabelMouseOver(r)).on("mouseleave",()=>this.handleLabelMouseLeave(r));this.drawProgressIndicator({type:r,color:l,isLoading:i,yPosition:u}),this.drawTextLabel({color:l,label:h,type:r,height:a,yPosition:o,gElement:f})})},drawLineGraph({events:t,gElement:e,color:r,type:n}){const s=P.area().x(i=>this.timeScale(this.tzStringToDate(i.timestamp))).y0(this.timelineHeight).y1(i=>this.yScale(i.count)).curve(P.curveMonotoneX),l=`${at.clipPath}-${n}`;e.append("path").datum(t).classed(`${H.lineGraphPath}-${n}`,!0).attr("fill",`url(#${at.transparencyGradientLight}-${n})`).attr("stroke",r).attr("stroke-linejoin","round").attr("stroke-linecap","round").attr("stroke-width",1).attr("d",i=>s(i)).attr("clip-path",`url(#${l})`)},drawLineGraphHoverZones({events:t,gElement:e,color:r,type:n}){t.forEach(s=>{const l=`${s.timestamp}`;this.countsByTimestamp[l]={...this.countsByTimestamp[l]||{},[n]:s.count};const i=e.append("circle").classed(`${H.lineGraphDot} ${H.lineGraphDot}-${n}`,!0).attr("cx",this.timeScale(this.tzStringToDate(s.timestamp))).attr("cy",this.yScale(s.count)).attr("r",1.5).attr("fill",r).attr("stroke-width",0).datum(s);this.dotsByTimestamp[l]=[...this.dotsByTimestamp[l]||[],i],e.append("rect").classed(`${H.lineGraphHoverZone}-${n}`,!0).attr("x",this.timeScale(this.tzStringToDate(s.timestamp))-15).attr("y",0).attr("width",30).attr("height",this.chartHeight).attr("fill","transparent").datum(s).on("mouseover",h=>{this.handleLineMouseOver(h,s,n),this.dotsByTimestamp[l].forEach(a=>a.classed(`${H.lineGraphDot}--active`,!0))}).on("mouseout",()=>{this.handleLineMouseOut(),this.dotsByTimestamp[l].forEach(h=>h.classed(`${H.lineGraphDot}--active`,!1))})})},drawSingleBarEventsGroup({type:t,eventsGroup:e,milestone:r,dots:n,dotsSize:s,bottom:l}){const{color:i,bgColor:h,label:a,events:o,barBorderRadius:u,isLoading:f,height:m,chartType:v}=e;let x=this.getBarGroupYPosition(t,l);const y=[je.bars,je.dots,void 0].includes(v)?this.getBarGroupHeight(e):m;r&&(x=this.getMilestoneGroupYPosition(t)),this.drawProgressIndicator({yPosition:x,type:t,color:i,isLoading:f});const M=this.svg.append("g").attr("data-color",i).classed(H.eventGroup,!0).classed(`${H.eventGroup}-${t}`,!0);if(this.drawBackground({color:h||i,gElement:M,yPosition:x,height:y}),r||n){const $=n?1:2,w=x+y/2;M.append("line").classed(H.milestoneLine,!0).attr("x1",0).attr("x2",this.timeline.offsetWidth).attr("y1",w).attr("y2",w).style("stroke",i).style("stroke-width",$)}this.drawBars({events:o,color:i,gElement:M,yPosition:x,type:t,dots:n,dotsSize:s,height:m,barBorderRadius:u}),a&&this.drawTextLabel({color:i,label:a,type:t,gElement:M,yPosition:x,height:m})},drawBarEventsGroups(){Object.entries(this.barGroups).forEach(([t,e])=>this.drawSingleBarEventsGroup({type:t,eventsGroup:e,bottom:e.bottom,dots:e.chartType===je.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{[H.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,s]of Object.entries(this.barGroups)){if(n===t)break;!e&&s.bottom||(r+=this.getBarGroupHeight(s))}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.${H.eventGroup}-${t}`),s=2,i=(e.height||this.barChartHeight)/2,h=r+i-s/2;n.attr("x1",0).attr("x2",this.timeline.offsetWidth).select(`.${H.milestoneLine}`).attr("y1",h).attr("y2",h);const a=P.select(`.${H.milestonesContainer}-${t}`);a.style("top",`${r}px`).style("height",`${e.height||this.barChartHeight}px`);const o=a.selectAll(`.${H.milestone}`).data(this.getSortedEvents(e.events));o.exit().remove(),o.enter().append("div").merge(o).style("left",u=>`${this.timeScale(this.tzStringToDate(u.timestamp))}px`).style("top",`${h}px`)})},drawBarChartEventsGroups(){const t=this.combinedXAxesHeight,e=this.barChartGroups;Object.entries(e).forEach(([r,n],s)=>{const l=this.svg.append("g").classed(`${H.barChartGroup} ${H.barChartGroup}-${r}`,!0).attr("transform",`translate(0,${t})`),{color:i,events:h}=n;this.drawBarsChart({events:h,color:i,gElement:l,yOffset:t,type:r,index:s})})},drawProgressIndicator({yPosition:t,type:e,isLoading:r}){this.svg.append("rect").classed(`${H.loadingIndicator} ${H.loadingIndicator}-${e}`,!0).attr("x",0).attr("y",t).attr("width",this.timeline.offsetWidth/3).attr("height",this.barChartHeight).attr("fill",`url(#${at.loadingGradient}-${e})`).style("visibility",r?"visible":"hidden")},drawBackground({color:t,yPosition:e,gElement:r,height:n}){r.append("rect").attr("class",H.eventGroupBg).attr("x",0).attr("y",e).attr("width",this.timeline.offsetWidth).attr("height",n||this.barChartHeight).attr("fill",P.color(t).toString()).style("opacity",.1)},drawBars({events:t,gElement:e,yPosition:r,color:n,type:s,dots:l,dotsSize:i,height:h,barBorderRadius:a=1.5}){const o=this,u=r+this.barYPadding/2,f=l?((h||this.barChartHeight)-i)/2:0;let m=Math.max((h!=null?h:this.barChartHeight)-this.barYPadding,1);l&&(m=i),e.selectAll(H.eventRect).data(t).enter().append("rect").attr("class",v=>H.eventRect+(l?` ${H.eventRect}--dot`:"")+(v.className?` ${v.className}`:"")).attr("x",this.getEventRectX).attr("y",u+f).attr("ry",l?i:a).attr("rx",l?i:a).attr("width",l?i:this.getEventRectWidth).attr("height",m).attr("stroke-width",l?i/10:5).attr("cursor","pointer").attr("stroke",v=>l?P.color(v.color||n).brighter(1).toString():"#0000").style("fill",v=>v.color||n).on("mouseover",function(v,x){P.select(this).classed(H.eventRectHovered,!0),o.handleBarMouseOver(v,x,s)}).on("mouseout",function(){P.select(this).classed(H.eventRectHovered,!1),o.handleBarMouseOut()}),e.selectAll(H.eventRectText).data(t.filter(v=>!!v.text)).enter().append("text").attr("class",H.eventRectText).attr("x",v=>this.getEventRectX(v)+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",v=>this.getTextFillColor(v.color||n,.75)).text(this.getEventText)},drawBarsChart({events:t,gElement:e,color:r,yOffset:n,type:s,index:l}){const i=this,h=Object.keys(this.barChartGroups).length,a=v=>(this.getEventRectWidth(v)-this.barXPadding*2)/h,o=v=>this.yScale.range()[0]-this.yScale(v.count),u=v=>this.getEventRectX(v)+this.barXPadding+l*a(v),f=v=>this.yScale(v.count),m=e.selectAll(H.eventBarContainer).data(t).enter().append("g").attr("class",`${H.eventBarContainer} ${H.eventBarContainer}-${s}`);m.append("rect").attr("class",v=>H.eventBarHoverZone+(v.className?` ${v.className}`:"")).attr("x",u).attr("y",-n).attr("width",a).attr("height",this.yScale.range()[0]+n).attr("fill",v=>v.color||r).attr("fill-opacity",0),m.append("rect").attr("class",v=>H.eventBar+(v.className?` ${v.className}`:"")).attr("x",u).attr("y",f).attr("width",a).attr("height",o).attr("stroke-width",5).attr("cursor","pointer").attr("stroke","#0000").attr("fill",`url(#${at.transparencyGradient}-${s})`),m.append("rect").attr("class",v=>H.eventBarCap+(v.className?` ${v.className}`:"")).attr("x",u).attr("y",f).attr("width",a).attr("height",2).attr("stroke-width",0).style("fill",v=>v.color||r),m.on("mouseover",function(v,x){const d=P.select(this);i.onBarChartBarMouseOver(d,r),i.handleBarMouseOver(v,x,s)}).on("mouseout",function(){const v=P.select(this);i.onBarChartBarMouseOut(v,s),i.handleBarMouseOut()}).on("click",function(){e.selectAll(`.${H.eventBarContainerSelected}`).classed(H.eventBarContainerSelected,!1),P.select(this).classed(H.eventBarContainerSelected,!0)})},onBarChartBarMouseOver(t,e){t.classed(H.eventBarContainerHovered,!0),t.selectAll(`.${H.eventBarHoverZone}`).attr("fill-opacity",.2);const n=t.selectAll(`.${H.eventBar}`);n.attr("fill",e),n.attr("fill-opacity",.5)},onBarChartBarMouseOut(t,e){t.classed(H.eventBarContainerHovered,!1),t.selectAll(`.${H.eventBarHoverZone}`).attr("fill-opacity",0);const n=t.selectAll(`.${H.eventBar}`);n.attr("fill",`url(#${at.transparencyGradient}-${e})`),n.attr("fill-opacity",1)},drawTextLabel({gElement:t,yPosition:e,color:r,label:n,type:s,height:l}){if(!this.showLabels)return;const i={x:-5,y:e,w:this.labelRectWidth,h:l||this.barChartHeight,radius:3},h=t.append("g").attr("class",`${H.labelGroup} ${H.labelGroup}-${s}`).style("cursor","pointer").on("click",()=>this.toggleGroupVisibility(s));h.append("rect").attr("class",H.labelBg).attr("data-color",r).attr("x",i.x).attr("y",i.y).attr("width",i.w).attr("height",i.h).attr("rx",i.radius).attr("ry",i.radius).style("fill",this.dark?"#131a29":"white"),h.append("rect").attr("class",H.labelBgFill).attr("data-color",r).attr("x",i.x).attr("y",i.y).attr("width",i.w).attr("height",i.h).attr("rx",i.radius).attr("ry",i.radius).style("fill",this.getLabelBackgroundColor(r)).style("stroke",this.getTextFillColor(r)).style("stroke-width",.25),h.append("text").attr("class",H.labelText).attr("data-color",r).attr("x",5).attr("y",e+(l||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=P.color(t))==null?void 0:r.brighter(1.5+e):(n=P.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=P.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)}},tzStringToDate(t){return Hr({timestamp:t,timezone:this.timezone})},dateToTzString(t){return Nr({date:t,timezone:this.timezone})},getFormattedTimestamp(t){return Se.parseZone(t).format("YYYY-MM-DDTHH:mm:ss")},fillTimeGaps(t){if(t.length<=1)return t;const e=this.insertZerosAtInterval,r=l=>l.clone().add(1,e),n=l=>l.clone().subtract(1,e);let s=[];for(let l=0;l<t.length;l++){const i=t[l];if(s.push(i),l===t.length-1)break;const h=t[l+1],a=Se(i.timestamp),o=Se(h.timestamp);if(o.diff(a,e)>1){const u=r(a).toISOString(),f=n(o).toISOString();s.push({timestamp:u,count:0}),u!==f&&s.push({timestamp:f,count:0})}}if(this.flattenLineGraphEnds){const l=Se(t[0].timestamp),i=Se(t[t.length-1].timestamp),h=n(l).toISOString(),a=r(i).toISOString();s=[{timestamp:h,count:0},...s,{timestamp:a,count:0}]}return s},fillEvents(t){return this.placeholderLineChartGroup.map(e=>t.find(n=>n.timestamp===e.timestamp)||e)},onMilestoneClick(t,e){this.panOnDateClick&&(this.focusedTimestamp=t.timestamp),this.selectedMilestoneId=t.id||t.timestamp,this.$emit("milestone-click",{milestone:t,milestoneType:e})},getSortedEvents(t){return[...t].sort((e,r)=>new Date(e.timestamp||e.startDate)>new Date(r.timestamp||r.startDate)?1:-1)},onHoverMilestone(t){this.hoveredMilestone=t}}}),j8="";var D0=function(){var e=this,r=e._self._c;return r("div",{ref:"mainContainer",staticClass:"e-timeline"},[r("EZoomBehavior",{attrs:{domain:e.domain,"focused-domain":e.focusedDomain,"translation-duration":e.transitionDuration,"focused-timestamp":e.focusedTimestamp,timezone:e.timezone},on:{"transform-changed":e.handleTransformChange,"time-scale-change":e.handleTimeScaleChange},scopedSlots:e._u([{key:"default",fn:function(){return[e.timeScale?r("div",{ref:"wrapperDiv",staticClass:"e-relative e-timeline e-border e-rounded",class:e.computedClasses.wrapper},[r("ETimelineMarkers",{attrs:{markers:e.sortedMarkers,"sticky-markers":e.stickyMarkers,"time-scale":e.timeScale,"time-zone":e.timezone,height:e.timelineHeight,"svg-left":e.svgLeft},on:{"marker-clicked":e.handleMarkerClick,"marker-drag-end":function(n){return e.$emit("marker-drag-end",n)},"marker-drag-start":function(n){return e.$emit("marker-drag-start",n)},"marker-drag-drag":function(n){return e.$emit("marker-drag-drag",n)}},scopedSlots:e._u([e._l(e.markersScopedSlots,function(n,s){return{key:s,fn:function(l){return[e._t(s,null,null,l)]}}})],null,!0)}),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"timelineContainer",staticClass:"e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden"},[r("svg",{ref:"timelineSvg",class:e.computedClasses.background,attrs:{width:e.timelineWidth,height:e.timelineHeight}},[r("ETimelineSVGDefs",{attrs:{"events-groups":e.eventsGroups,width:e.timelineWidth,height:e.chartHeight,"forbidden-interval-color":e.forbiddenIntervalColor}}),r("g",{staticClass:"e-timeline-axes"},[e.timeScale?r("EXAxisOverview",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisDetailed",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-e.axisHeight,y:e.axisHeight,dark:e.dark}}):e._e(),e.timeScale?r("EXAxisBackground",{attrs:{"time-scale":e.timeScale,height:e.timelineHeight-1.75*e.axisHeight,y:e.axisHeight*1.75,dark:e.dark}}):e._e()],1)],1)]),e._l(e.milestonesGroups,function(n,s){return r("div",{key:`${s}`,staticClass:"e-timeline-milestones"},[r("div",{class:`e-tl-milestones e-tl-milestones-${s}`},e._l(e.getSortedEvents(n.events),function(l,i){return r("ETimelineMilestone",{key:`${l.milestoneType}-${i}`,class:e.getMilestoneClass(l),attrs:{"data-timestamp":l.timestamp,milestone:l,dot:n.dots,size:l.size||e.milestoneBulletSize,"transition-duration":n.milestonesTransitionDuration,"line-height":n.milestonesLineHeight,"dot-size":n.milestonesDotSize,"background-color":e.getMilestoneColors(l.color,n.color).background,"border-color":e.getMilestoneColors(l.color,n.color).border},on:{"hovered-milestone":e.onHoverMilestone,"milestone-click":function(h){return e.onMilestoneClick(l,s)}},scopedSlots:e._u([{key:"content",fn:function(){return[e._t(`milestoneContent.${l.milestoneType}`,function(){return[r("span",{staticClass:"e-px-2"},[e._v(" "+e._s(l.text)+" ")])]},{milestone:l,index:i,hover:l===e.hoveredMilestone})]},proxy:!0},{key:"label",fn:function(){return[e._t(`milestoneLabel.${l.milestoneType}`,null,{milestone:l})]},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.computedClasses.background,style:e.getExternalLabelWrapperStyles(n),on:{click:function(s){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:`
|
|
4
4
|
isHoveringTimeline &&
|
|
5
5
|
!isHoveringEvent &&
|
|
6
6
|
!isInteractingWithCurtain &&
|