@evercam/ui 0.0.63-preview-copilot-annotations-99f6fe4e1 → 0.0.63-preview-copilot-annotations-ed807c126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,11 +1,11 @@
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&&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
- 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){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:`
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 hn(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||{}),fn=(t=>(t._360="360",t._480="480",t._720="720",t._1080="1080",t.auto="auto",t))(fn||{}),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||{}),pn=(t=>(t.TEXT="text",t.PROGRESS="progress",t.STOP="stop",t))(pn||{}),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 mn={},gn={},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 vn={};(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"]})(vn);var _n={};(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)))]}})(_n);var Gt={},kt={},qt={exports:{}},ye=String,Cn=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=Cn(),qt.exports.createColors=Cn;var yn=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(yn);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 bn={};(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}})(bn);var xn={};(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)}})(xn);var wn={},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(yn),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}}(wn);var Sn={};(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}})(Sn);var Tn={};(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}})(Tn);var kn={},Mn={};(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 ")}})(Mn);var Zt={},Ut={},En={};(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]}})(En),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(En);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={},$n={},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(", ")}}($n),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=$n,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 Ln={};(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")})}})(Ln),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(Mn),n=Zt,s=Yt,l=a(jt),i=Ln,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])}}}(kn);var Dn={};(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}})(Dn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return G}});const e=v(jt),r=v(vn),n=v(_n),s=v(Gt),l=bn,i=xn,h=wn,a=v(Sn),o=Tn,u=kn,f=Zt,m=v(Dn);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))}}(gn);var Pn={},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]}})(Pn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const e=n(gn),r=n(Pn);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])}}(mn);let Xt=mn;var Os=(Xt.__esModule?Xt:{default:Xt}).default;const zs=Tt(Os);let Qt=Gt;var Vt=(Qt.__esModule?Qt:{default:Qt}).default;const On=Tt(Vt),Bs=hn({__proto__:null,default:On},[Vt]);var zn={},Bn={};(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})(Bn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const e=r(Bn);function r(s){return s&&s.__esModule?s:{default:s}}const n=e.default}(zn);let Kt=zn;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=nn(Object,"defineProperty");return p({},"",{}),p}catch{}}(),$4=qe?qe.isBuffer:void 0,ns=Math.max,L4=Date.now,is=nn(V,"Map"),Ct=nn(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=on(p),re=!k&&an(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 tn(p,_,k){(k!==void 0&&!Ht(p[_],k)||k===void 0&&!(_ in p))&&rn(p,_,k)}function J4(p,_,k){var re=p[_];(!(De.call(p,_)&&Ht(re,k))||k===void 0&&!(_ in p))&&rn(p,_,k)}function Ft(p,_){for(var k=p.length;k--;)if(Ht(p[k][0],_))return k;return-1}function rn(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&&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 _=cn(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(sn(p,xe),ve,xe+"",p,_,pe):void 0;fe===void 0&&(fe=ve),tn(p,xe,fe)}},hs)}function i8(p,_,k,re,pe,ve,xe){var fe=sn(p,k),we=sn(_,k),We=xe.get(we);if(We){tn(p,k,We);return}var Re=ve?ve(fe,we,k+"",p,_,xe):void 0,bt=Re===void 0;if(bt){var un=on(we),dn=!un&&cs(we),ps=!un&&!dn&&ds(we);Re=we,un||dn||ps?on(fe)?Re=fe:T8(fe)?Re=u8(fe):dn?(bt=!1,Re=o8(we,!0)):ps?(bt=!1,Re=c8(we,!0)):Re=[]:k8(we)||an(we)?(Re=fe,an(fe)?Re=M8(fe):(!ut(fe)||cn(fe))&&(Re=m8(we))):bt=!1}bt&&(xe.set(we,Re),pe(Re,we,re,ve,xe),xe.delete(we)),tn(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?rn(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 nn(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"?ln(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 sn(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 an=ss(function(){return arguments}())?ss:function(p){return yt(p)&&De.call(p,"callee")&&!M4.call(p,"callee")},on=Array.isArray;function ln(p){return p!=null&&us(p.length)&&!cn(p)}function T8(p){return yt(p)&&ln(p)}var cs=$4||L8;function cn(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 ln(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,In=Object.prototype,Fn=qs.toString,Zs=In.hasOwnProperty,Us=Fn.call(Object),Ys=In.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&&Fn.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 An=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(An);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
+ 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 Rn=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 Hn=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 Nn=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 Wn=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 jn=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 Gn=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 qn=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 Zn=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(An),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 Un=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 Yn=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 Xn=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,Qn={},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 Vn=39;te.singleQuote=Vn;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=Vn;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}}(Qn),function(t,e){e.__esModule=!0,e.default=void 0;var r=K(Rn),n=K(Hn),s=K(Nn),l=K(Wn),i=K(jn),h=K(Gn),a=K(qn),o=K(Zn),u=N(xr),f=K(Un),m=K(Yn),v=K(Xn),x=K(ka),d=N(Qn),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,Kn={},_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(Nn),oo=He(Yn),lo=He(Wn),co=He(jn),uo=He(Xn),ho=He(Zn),fo=He(Rn),po=He(Hn),mo=He(qn),go=He(Gn),vo=He(Un);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=ti,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 Jn=Ne.bind(null,be.ATTRIBUTE);me.isAttribute=Jn;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 ei=Ne.bind(null,be.TAG);me.isTag=ei;var Ro=Ne.bind(null,be.UNIVERSAL);me.isUniversal=Ro;function ti(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)&&!ti(t)}function No(t){return!!(Er(t)&&t.walk)}function Wo(t){return Jn(t)||ei(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])})})(Kn),function(t,e){e.__esModule=!0,e.default=void 0;var r=i(io),n=l(Kn);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,ri=jo,qo=ri();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=ri.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,ni={};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 ii(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]:ii(h)?Object.values(h).some(ii)?[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=>ni[i]).map(i=>ni[i](t[i])),...Xo(t.css||{}))).map(([i,h])=>l(i,h)))}var si=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 ai=Tt(si),Jo=hn({__proto__:null,default:ai},[si]);var Dt={exports:{}};const Ye=On||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:[ai||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),oi=Dr.theme.fontSize,li=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"]],ci=[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 ci.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:oi,colors:li}},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 ui=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 di=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 hi(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 fi(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 pi(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function mi(t){return t.startsWith("rgba")}function dt(t,e=1){return mi(t)?t:t.startsWith("#")?fi(t,e):t.startsWith("rgb")?pi(t,e):t}function gi(t){const e=JSON.stringify(t);return vi(e).toString()}function vi(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}),_i=["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;_i.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;_i.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 Ci=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)}},yi=[{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=bi(t,e);return Se(t).add(r,"minutes").toDate()}function Nr({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=bi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function bi(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}`},xi=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),wi=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},Si=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:wi},{precision:ee._1_minute,interval:P.utcMinute.every(5),format:wi},{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(Si(2)),format:jr},{precision:ee._30_seconds,interval:(Yi=P.utcSecond.every(30))==null?void 0:Yi.filter(Si(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:xi},{precision:ee._2_days,interval:P.utcDay.every(2),format:xi},{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=hi(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 &&
7
7
  !cursorTimestamp
8
- `}],staticClass:"e-timeline__tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative",class:e.computedClasses.tooltipSlot},[e._v(" "+e._s(e.hoveredTimestamp)+" ")])]},{timestamp:e.hoveredTimestamp,active:e.isHoveringTimeline&&!e.isInteractingWithCurtain&&!e.cursorTimestamp})],2),r("div",{key:"eventTooltip",staticClass:"e-absolute e-z-50",style:e.eventTooltipStyle},[e._t("eventTooltip",function(){return[e.showEventTooltip&&(e.hoveredEvent||e.hoveredCounts.length)?r("div",{directives:[{name:"show",rawName:"v-show",value:e.isHoveringEvent&&!e.isInteractingWithCurtain,expression:"isHoveringEvent && !isInteractingWithCurtain"}],staticClass:"e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative",class:e.computedClasses.eventTooltipSlot},[e.hoveredCounts.length?r("div",[r("strong",[e._v("Timestamp")]),e._v(": "+e._s(e.hoveredEvent.timestamp)+" "),e._l(e.hoveredCounts,function(n,s){return r("div",{key:s},[r("strong",[e._v(e._s(n.type)+" Count")]),e._v(": "+e._s(n.count)+" ")])})],2):e.hoveredEvent?r("div",[e.hoveredEvent.timestamp?r("div",[r("strong",[e._v("Event time")]),e._v(": "+e._s(e.hoveredEvent.timestamp)+" ")]):e._e(),e.hoveredEvent.startDate?r("div",[r("strong",[e._v("From")]),e._v(":"+e._s(e.hoveredEvent.startDate)+" ")]):e._e(),e.hoveredEvent.endDate?r("div",[r("strong",[e._v("To")]),e._v(":"+e._s(e.hoveredEvent.endDate)+" ")]):e._e()]):e._e()]):e._e()]},{event:e.hoveredEvent,counts:e.hoveredCounts,active:e.isHoveringEvent&&!e.isInteractingWithCurtain,type:e.hoveredEventType})],2)],2):e._e()]},proxy:!0}],null,!0)})],1)},P0=[],O0=Y(L0,D0,P0,!1,null,null,null,null);const ki=O0.exports,z0=j.extend({name:"EVideoEmbed",props:{videoUrl:{type:String,required:!0},platform:{type:String,required:!0,validator:t=>["youtube","vimeo"].includes(t)},iframeListeners:{type:Object,default:()=>({})},iframeOptions:{type:Object,default:()=>({})}},computed:{videoId(){if(this.platform==="youtube"){const t=/^.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#\&\?]*).*/,e=this.videoUrl.match(t);return e&&e[1].length===11?e[1]:void 0}else if(this.platform==="vimeo"){const t=this.videoUrl.match(/vimeo\.com\/(\d+)/);return t?t[1]:void 0}},embedUrl(){var t;if(this.platform==="youtube"){const e=new URLSearchParams({quality:"1080p",...this.iframeOptions});return`https://www.youtube.com/embed/${this.videoId}?${e.toString()}`}else if(this.platform==="vimeo"&&this.videoId){const e=(t=this.videoUrl.split("/").pop())==null?void 0:t.split("?")[0],r=new URLSearchParams({h:e||"",quality:"1080p",...this.iframeOptions});return`https://player.vimeo.com/video/${this.videoId}?${r.toString()}`}return""}}}),G8="";var B0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"video-embed"},[r("iframe",e._g(e._b({attrs:{src:e.embedUrl,frameborder:"0",allowfullscreen:"",width:"100%",height:"100%",allow:"autoplay; fullscreen; picture-in-picture"}},"iframe",e.iframeOptions,!1),e.iframeListeners))])},I0=[],F0=Y(z0,B0,I0,!1,null,"7e66cb69",null,null);const Mi=F0.exports,A0=j.extend({name:"EHeatmapBar",props:{items:{type:Array,default:()=>[]},selectedValue:{type:[String,Number],default:""},showCounts:{type:Boolean,default:!0},showNames:{type:Boolean,default:!0},colors:{type:Array,default:()=>["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"]},label:{type:String,default:""},dense:{type:Boolean,default:!1}},computed:{heatMapBarItems(){return this.items},maxCount(){return this.items.reduce((t,e)=>Math.max(t,e.count),0)}},methods:{getColorIndex(t){return Math.ceil(t/this.maxCount*(this.colors.length-1))},getColor(t){const e=this.getColorIndex(t);return this.colors[e]||this.colors[0]},getItemStyle(t){return{background:this.getColor(t)}}}}),q8="";var R0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-flex e-heatmap-bar",class:{"e-heatmap-bar--dense":e.dense}},[e._t("label",function(){return[e.label?r("div",{staticClass:"e-heatmap-bar__label e-text-black"},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e._l(e.heatMapBarItems,function({name:n,value:s,count:l}){return r("div",{key:s,staticClass:"e-flex e-w-full e-justify-center e-items-center e-heatmap-bar__item",class:{"e-heatmap-bar__item--selected":e.selectedValue===s},style:e.getItemStyle(l),on:{click:function(i){return e.$emit("change",s)}}},[e.showCounts?r("span",{staticClass:"e-heatmap-bar__item__count",class:{"e-heatmap-bar__item__count--light":e.getColorIndex(l)<=2}},[e._v(" "+e._s(l>0?l:"")+" ")]):e._e(),e.showNames?r("span",{staticClass:"e-heatmap-bar__item__name e-text-xs e-text-black e-truncate"},[e._v(" "+e._s(n)+" ")]):e._e()])})],2)},H0=[],N0=Y(A0,R0,H0,!1,null,null,null,null);const Yr=N0.exports,W0=j.extend({name:"EHoursHeatmap",components:{EHeatmapBar:Yr},props:{items:{type:Array,default:()=>[]},selectedHour:{type:[String,Number],default:""},showHours:{type:Boolean,default:!0},colors:{type:Array,default:()=>["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"]},label:{type:String,default:""},dense:{type:Boolean,default:!1}},computed:{itemsByHour(){return this.items.reduce((t,e)=>({...t,[Se(e.timestamp).format("H")]:e}),{})},heatmapBarItems(){return new Array(24).fill(void 0).reduce((t,e,r)=>{var n;return[...t,{name:this.getFormattedHour(r),value:r,count:((n=this.itemsByHour[r])==null?void 0:n.count)||0}]},[])}},methods:{getFormattedHour(t){const e=t.toString();return(e.length>1?e:`0${e}`)+(this.dense?"h":":00")}}});var j0=function(){var e=this,r=e._self._c;return r("EHeatmapBar",e._g({attrs:{items:e.heatmapBarItems,"selected-value":e.selectedHour,"show-names":e.showHours,colors:e.colors,label:e.label,dense:e.dense},scopedSlots:e._u([{key:"label",fn:function(){return[e._t("label")]},proxy:!0}],null,!0)},e.$listeners))},G0=[],q0=Y(W0,j0,G0,!1,null,null,null,null);const Ei=q0.exports,Z0=j.extend({name:"EReadMore",props:{content:{type:[Array,String],default:()=>null},maxLength:{type:Number,default:()=>2},showAll:{type:Boolean,default:!1},expandText:{type:String,default:"see more..."},collapseText:{type:String,default:"less"},moreTextWithPlaceholder:{type:String,default:"and {count} more..."}},data(){return{showAllContent:!1}},computed:{hiddenContentLength(){var t,e;return Math.max(((e=(t=this.content)==null?void 0:t.length)!=null?e:0)-this.maxLength,0)},isArrayContent(){return Array.isArray(this.content)},isHiddenTextContent(){return this.hiddenContentLength>0&&!this.showAllContent&&!this.isArrayContent},isHiddenArrayContent(){return this.hiddenContentLength>0&&!this.showAllContent&&this.isArrayContent},isContentExpanded(){var t;return this.showAllContent&&((t=this.content)==null?void 0:t.length)>0},computedMoreText(){return this.moreTextWithPlaceholder.replace("{count}",this.hiddenContentLength.toString())}},mounted(){this.showAllContent=this.showAll},methods:{displayContent(){return this.isArrayContent?this.displayArrayContent():this.displayTextContent()},displayArrayContent(){var t,e;return((t=this.content)==null?void 0:t.length)>this.maxLength&&this.showAllContent===!1?this.content.slice(0,this.maxLength).join(", "):((e=this.content)==null?void 0:e.length)>-1?this.content.join(", "):""},displayTextContent(){var t,e;return((t=this.content)==null?void 0:t.length)>this.maxLength&&this.showAllContent===!1?this.content.substr(0,this.maxLength):((e=this.content)==null?void 0:e.length)>-1?this.content:""},toggleContentExpansion(){this.showAllContent=!this.showAllContent}}});var U0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("span",{staticClass:"e-read-more"},[r("span",{staticClass:"e-read-more__content mr-1",style:{"white-space":e.showAllContent?"initial":"nowrap"}},[e._v(" "+e._s(e.displayContent())+" ")]),e.isHiddenArrayContent?r("span",{staticClass:"e-cursor-pointer e-text-primary",on:{click:e.toggleContentExpansion}},[e._v(" "+e._s(e.computedMoreText)+" ")]):e.isHiddenTextContent?r("span",{staticClass:"e-cursor-pointer e-text-primary",on:{click:e.toggleContentExpansion}},[e._v(" "+e._s(e.expandText)+" ")]):e._e(),e.isContentExpanded?r("span",{staticClass:"e-cursor-pointer e-text-primary",on:{click:e.toggleContentExpansion}},[e._v(" "+e._s(e.collapseText)+" ")]):e._e()])},Y0=[],X0=Y(Z0,U0,Y0,!1,null,null,null,null);const $i=X0.exports,Q0=j.extend({name:"ETruncatedDiv",props:{width:{type:[String,Number],required:!0},fixedWidth:{type:Boolean,default:!1}},computed:{containerStyle(){let t=this.width;return typeof t=="number"&&(t=`${this.width}px`),{maxWidth:t,...this.fixedWidth?{width:t}:{}}}}});var V0=function(){var e=this,r=e._self._c;return r("div",e._g(e._b({staticClass:"e-truncated-div e-truncate",style:e.containerStyle},"div",e.$attrs,!1),e.$listeners),[e._t("default")],2)},K0=[],J0=Y(Q0,V0,K0,!1,null,null,null,null);const Li=J0.exports,e5=j.extend({name:"ECompareSeparator",components:{EIcon:rt},props:{xOffset:{type:[Number,String],default:50}},computed:{separatorStyle(){return{left:`${this.xOffset}%`}}}}),Z8="";var t5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-compare-separator",on:{mousedown:function(n){return n.preventDefault(),(s=>e.$emit("mousedown",s)).apply(null,arguments)},touchstart:function(n){return n.preventDefault(),(s=>e.$emit("touchstart",s)).apply(null,arguments)}}},[r("div",{staticClass:"e-compare-separator__line",style:e.separatorStyle}),r("div",{staticClass:"e-compare-separator__icon e-flex e-justify-around e-items-center",style:e.separatorStyle},[r("EIcon",{attrs:{icon:"caret-left",color:"e-text-white",size:"xl"}}),r("EIcon",{attrs:{icon:"caret-right",color:"e-text-white",size:"xl"}})],1)])},r5=[],n5=Y(e5,t5,r5,!1,null,null,null,null);const Xr=n5.exports,Di={width:0,height:0,left:0,top:0},i5=j.extend({name:"EImagesComparator",directives:{resizeObserver:Qe},components:{ECompareSeparator:Xr},props:{beforeImageSrc:{type:String,default:null},afterImageSrc:{type:String,default:null},isLoading:{type:Boolean,default:!1}},data(){return{separatorPositionX:50,startSeparatorPositionX:50,computedImageDimension:Di,isSeparatorDragging:!1,watermarkDimension:Di,touchIdentifier:null,startTouchX:0,containerRect:{},container:{},afterImage:{}}},computed:{clipStyle(){return{clip:`rect(auto, ${this.computedImageDimension.width*this.separatorPositionX/100+this.computedImageDimension.left}px, auto, auto)`}},contentStyle(){return{width:`${this.computedImageDimension.width}px`,height:this.computedImageDimension.height?`${this.computedImageDimension.height}px`:"100%",top:`${this.computedImageDimension.top}px`,left:`${this.computedImageDimension.left}px`}},imageSizeClasses(){return!this.isLoading||this.computedImageDimension.width&&this.computedImageDimension.height?"e-w-full e-h-full":"e-w-0 e-h-0"}},methods:{handleResize(){this.container=this.$refs.container,this.containerRect=this.container.getBoundingClientRect();const{clientHeight:t,clientWidth:e}=this.container;this.afterImage=this.$refs.afterImage;const{naturalHeight:r,naturalWidth:n}=this.afterImage,s=e/t,l=n/r;if(s>l){const i=t*l;this.computedImageDimension={width:i,height:t,top:0,left:(e-i)/2}}else{const i=e/l;this.computedImageDimension={width:e,height:i,top:(t-i)/2,left:0}}this.handleWatermarkResize()},handleWatermarkResize(){const{naturalWidth:t}=this.afterImage,e=i=>i*this.computedImageDimension.width/t,r=t/100*4,n=t/100*2,s=e(r),l=e(n);this.watermarkDimension={right:`${l}px`,bottom:`${l}px`,width:`${s}px`,height:`${s}px`}},handleMouseMove(t){if(!this.isSeparatorDragging)return;const r=(t.clientX-this.containerRect.left-this.computedImageDimension.left)/this.computedImageDimension.width*100;this.separatorPositionX=Math.max(0,Math.min(100,r))},handleMouseDown(){this.isSeparatorDragging=!0,this.container.addEventListener("mousemove",this.handleMouseMove),this.container.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.isSeparatorDragging&&(this.container.removeEventListener("mousemove",this.handleMouseMove),this.container.removeEventListener("mouseup",this.handleMouseUp),this.isSeparatorDragging=!1)},handleTouchStart(t){const e=t.touches[0];e&&t.touches.length===1&&(this.container.addEventListener("touchmove",this.handleTouchMove),this.container.addEventListener("touchend",this.handleTouchEnd),this.touchIdentifier=e.identifier,this.startTouchX=e.clientX,this.startSeparatorPositionX=this.separatorPositionX)},handleTouchMove(t){const e=Array.from(t.touches).find(r=>r.identifier===this.touchIdentifier);if(e){const r=e.clientX-this.startTouchX;this.separatorPositionX=Math.max(0,Math.min(100,r/this.computedImageDimension.width*100+this.startSeparatorPositionX))}},handleTouchEnd(t){Array.from(t.touches).find(r=>r.identifier===this.touchIdentifier)||(this.container.removeEventListener("touchmove",this.handleTouchMove),this.container.removeEventListener("touchend",this.handleTouchEnd),this.touchIdentifier=null)}}}),U8="";var s5=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.handleResize,expression:"handleResize"}],ref:"container",staticClass:"e-images-comparator e-h-full e-w-full e-relative e-bg-black e-border-black"},[r("img",{staticClass:"e-images-comparator__image e-absolute e-top-0",class:e.imageSizeClasses,style:e.clipStyle,attrs:{src:e.beforeImageSrc}}),r("img",{ref:"afterImage",staticClass:"e-images-comparator__image",class:e.imageSizeClasses,attrs:{src:e.afterImageSrc},on:{load:e.handleResize}}),e.isLoading?r("div",{staticClass:"e-images-comparator__overlay"},[e._t("overlay")],2):e._e(),r("div",{staticClass:"e-absolute",style:e.contentStyle},[r("ECompareSeparator",e._g({attrs:{"x-offset":e.separatorPositionX},on:{mousedown:e.handleMouseDown,touchstart:e.handleTouchStart}},e.$listeners)),r("div",{staticClass:"e-images-comparator__watermark e-absolute",style:e.watermarkDimension},[e._t("watermark",null,null,e.watermarkDimension)],2)],1)])},a5=[],o5=Y(i5,s5,a5,!1,null,null,null,null);const Pi=o5.exports,Ge=j.extend({data(){return{timeouts:[]}},beforeDestroy(){this.$clearTimeouts()},methods:{$setTimeout(t,e=0){const r=setTimeout(t,e);return this.timeouts=[...this.timeouts,r],r},$clearTimeouts(){this.timeouts.forEach(t=>clearTimeout(t)),this.timeouts=[]}}}),Ve=j.extend({data(){return{eventListeners:[]}},beforeDestroy(){this.$removeEventListeners()},methods:{$addEventListener(t,e,r=window){if(!(r instanceof HTMLElement||r instanceof Window)){console.error("$addEventListener: The target element is not an HTMLElement."),console.log("$addEventListener: got: ",r);return}r.addEventListener(t,e),this.eventListeners=[...this.eventListeners,{element:r,event:t,cb:e}]},$removeEventListener(t,e,r=window){var s;const n=this.eventListeners.find(l=>l.event===t&&l.element===r&&l.cb===e);n&&((s=n.element)==null||s.removeEventListener(t,e),this.eventListeners=this.eventListeners.filter(l=>l.event===t&&l.cb===e&&l.element===r))},$removeEventListeners(){this.eventListeners.forEach(({element:t,event:e,cb:r})=>{t==null||t.removeEventListener(e,r)}),this.eventListeners=[]}}}),l5=j.extend({name:"EExpandableMenu",mixins:[Ge,Ve],props:{padding:{type:Number,default:4},direction:{type:String,default:"top",validator:t=>["top","right","bottom","left"].includes(t)},isMobile:{type:Boolean,default:!1}},data(){return{menu:!1,touched:!1,baseSize:{}}},computed:{row(){return["right","left"].includes(this.direction)},reverse(){return["top","left"].includes(this.direction)}},watch:{isMobile(){this.setButtonsPositions(this.menu)},direction(){this.setButtonsPositions(this.menu)},padding(){this.setButtonsPositions(this.menu)}},mounted(){const t=this.$refs.activator,e=(t==null?void 0:t.getBoundingClientRect())||{};this.baseSize={width:`${e.width}px`,height:`${e.height}px`},this.isMobile||this.$setTimeout(this.toggleMenu,100),this.$addEventListener("resize",this.setButtonsPositions)},methods:{toggleMenu(){this.menu=!this.menu,this.setButtonsPositions(this.menu)},setButtonsPositions(t){const e=this.$refs.menu,r=Array.from(e==null?void 0:e.children).filter(f=>!f.classList.contains("v-tooltip"));if(!r||!r.length)return;const n=this.isMobile?30:40,s=Array.from(r),l=this.$refs.activator,i=l==null?void 0:l.getBoundingClientRect(),h=Math.min(i[this.row?"width":"height"],n),a=t?h+this.padding:0,o=this.row?"X":"Y";e.style.transform=`translate${o}(${(this.reverse?-1:1)*a}px)`;let u=0;s.forEach((f,m)=>{f.getBoundingClientRect()[this.row?"width":"height"]>n?u=Math.max(f.getBoundingClientRect()[this.row?"width":"height"],n)+this.padding:u=Math.min(f.getBoundingClientRect()[this.row?"width":"height"],n)+this.padding;const v=t?u*m:0;f.style.transform=`translate${o}(${(this.reverse?-1:1)*v}px)`})}}}),Y8="";var c5=function(){var e=this,r=e._self._c;return r("div",{staticClass:"expandable-menu",class:{"expandable-menu--row":e.row,"expandable-menu--column":!e.row,"expandable-menu--reverse":e.reverse,"expandable-menu--open":e.menu,"expandable-menu--closed":!e.menu},style:e.baseSize,on:{click:function(n){e.touched=!0},mouseenter:function(n){e.touched=!0}}},[r("div",{staticClass:"expandable-menu__container",style:e.baseSize},[r("div",{ref:"activator",staticClass:"v-btn--no-active e-cursor-pointer expandable-menu__activator",on:{click:e.toggleMenu}},[e._t("activator")],2),r("div",{ref:"menu",staticClass:"e-flex e-flex-col expandable-menu__menu",class:{"expandable-menu__menu--closed":!e.menu,"expandable-menu__menu--open":e.menu,"e-py-2":!e.row,"e-py-0":e.row},attrs:{"data-test-id":"action-buttons-menu"}},[e._t("default")],2)])])},u5=[],d5=Y(l5,c5,u5,!1,null,null,null,null);const Oi=d5.exports,h5=j.extend({name:"BaseIcon",props:{name:{type:String,default:"box"},color:{type:String,default:"#3c3c3c"},viewBox:{type:String,default:"0 0 128 128"},width:{type:[Number,String],default:60},height:{type:[Number,String],default:60},size:{type:[Number,String,null],default:null}}});var f5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("svg",e._g({staticClass:"svg-icon",attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:e.viewBox,width:e.size||e.width,height:e.size||e.height,"aria-labelledby":e.name,role:"presentation"}},e.$listeners),[r("g",{ref:"group",attrs:{fill:e.color}},[e._t("default",null,{color:e.color})],2)])},p5=[],m5=Y(h5,f5,p5,!1,null,null,null,null);const ge=m5.exports,g5=j.extend({name:"Bim",components:{BaseIcon:ge},props:{color:{type:String,default:"white"}}});var v5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"22px",height:"22px",viewBox:"0 0 22 22",color:e.color}},"BaseIcon",e.$attrs,!1),[r("g",{attrs:{transform:"translate(0.000000,512.000000) scale(0.100000,-0.100000)"}},[r("path",{style:`fill: ${e.color}`,attrs:{d:`M3.7,5016.4v-43.8l20.9,0.2c19.5,0.2,21.1,0.3,24.7,1.3c5.8,1.6,9.9,3.9,13.3,7.2c3.4,3.5,5.3,6.7,6.4,11
8
+ `}],staticClass:"e-timeline__tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative",class:e.computedClasses.tooltipSlot},[e._v(" "+e._s(e.hoveredTimestamp)+" ")])]},{timestamp:e.hoveredTimestamp,active:e.isHoveringTimeline&&!e.isInteractingWithCurtain&&!e.cursorTimestamp})],2),r("div",{key:"eventTooltip",staticClass:"e-absolute e-z-50",style:e.eventTooltipStyle},[e._t("eventTooltip",function(){return[e.showEventTooltip&&(e.hoveredEvent||e.hoveredCounts.length)?r("div",{directives:[{name:"show",rawName:"v-show",value:e.isHoveringEvent&&!e.isInteractingWithCurtain,expression:"isHoveringEvent && !isInteractingWithCurtain"}],staticClass:"e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative",class:e.computedClasses.eventTooltipSlot},[e.hoveredCounts.length?r("div",[r("strong",[e._v("Timestamp")]),e._v(": "+e._s(e.hoveredEvent.timestamp)+" "),e._l(e.hoveredCounts,function(n,s){return r("div",{key:s},[r("strong",[e._v(e._s(n.type)+" Count")]),e._v(": "+e._s(n.count)+" ")])})],2):e.hoveredEvent?r("div",[e.hoveredEvent.timestamp?r("div",[r("strong",[e._v("Event time")]),e._v(": "+e._s(e.hoveredEvent.timestamp)+" ")]):e._e(),e.hoveredEvent.startDate?r("div",[r("strong",[e._v("From")]),e._v(":"+e._s(e.hoveredEvent.startDate)+" ")]):e._e(),e.hoveredEvent.endDate?r("div",[r("strong",[e._v("To")]),e._v(":"+e._s(e.hoveredEvent.endDate)+" ")]):e._e()]):e._e()]):e._e()]},{event:e.hoveredEvent,counts:e.hoveredCounts,active:e.isHoveringEvent&&!e.isInteractingWithCurtain,type:e.hoveredEventType})],2)],2):e._e()]},proxy:!0}],null,!0)})],1)},P0=[],O0=Y(L0,D0,P0,!1,null,null,null,null);const Ti=O0.exports,z0=j.extend({name:"EVideoEmbed",props:{videoUrl:{type:String,required:!0},platform:{type:String,required:!0,validator:t=>["youtube","vimeo"].includes(t)},iframeListeners:{type:Object,default:()=>({})},iframeOptions:{type:Object,default:()=>({})}},computed:{videoId(){if(this.platform==="youtube"){const t=/^.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#\&\?]*).*/,e=this.videoUrl.match(t);return e&&e[1].length===11?e[1]:void 0}else if(this.platform==="vimeo"){const t=this.videoUrl.match(/vimeo\.com\/(\d+)/);return t?t[1]:void 0}},embedUrl(){var t;if(this.platform==="youtube"){const e=new URLSearchParams({quality:"1080p",...this.iframeOptions});return`https://www.youtube.com/embed/${this.videoId}?${e.toString()}`}else if(this.platform==="vimeo"&&this.videoId){const e=(t=this.videoUrl.split("/").pop())==null?void 0:t.split("?")[0],r=new URLSearchParams({h:e||"",quality:"1080p",...this.iframeOptions});return`https://player.vimeo.com/video/${this.videoId}?${r.toString()}`}return""}}}),G8="";var B0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"video-embed"},[r("iframe",e._g(e._b({attrs:{src:e.embedUrl,frameborder:"0",allowfullscreen:"",width:"100%",height:"100%",allow:"autoplay; fullscreen; picture-in-picture"}},"iframe",e.iframeOptions,!1),e.iframeListeners))])},I0=[],F0=Y(z0,B0,I0,!1,null,"7e66cb69",null,null);const ki=F0.exports,A0=j.extend({name:"EHeatmapBar",props:{items:{type:Array,default:()=>[]},selectedValue:{type:[String,Number],default:""},showCounts:{type:Boolean,default:!0},showNames:{type:Boolean,default:!0},colors:{type:Array,default:()=>["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"]},label:{type:String,default:""},dense:{type:Boolean,default:!1}},computed:{heatMapBarItems(){return this.items},maxCount(){return this.items.reduce((t,e)=>Math.max(t,e.count),0)}},methods:{getColorIndex(t){return Math.ceil(t/this.maxCount*(this.colors.length-1))},getColor(t){const e=this.getColorIndex(t);return this.colors[e]||this.colors[0]},getItemStyle(t){return{background:this.getColor(t)}}}}),q8="";var R0=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-flex e-heatmap-bar",class:{"e-heatmap-bar--dense":e.dense}},[e._t("label",function(){return[e.label?r("div",{staticClass:"e-heatmap-bar__label e-text-black"},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e._l(e.heatMapBarItems,function({name:n,value:s,count:l}){return r("div",{key:s,staticClass:"e-flex e-w-full e-justify-center e-items-center e-heatmap-bar__item",class:{"e-heatmap-bar__item--selected":e.selectedValue===s},style:e.getItemStyle(l),on:{click:function(i){return e.$emit("change",s)}}},[e.showCounts?r("span",{staticClass:"e-heatmap-bar__item__count",class:{"e-heatmap-bar__item__count--light":e.getColorIndex(l)<=2}},[e._v(" "+e._s(l>0?l:"")+" ")]):e._e(),e.showNames?r("span",{staticClass:"e-heatmap-bar__item__name e-text-xs e-text-black e-truncate"},[e._v(" "+e._s(n)+" ")]):e._e()])})],2)},H0=[],N0=Y(A0,R0,H0,!1,null,null,null,null);const Yr=N0.exports,W0=j.extend({name:"EHoursHeatmap",components:{EHeatmapBar:Yr},props:{items:{type:Array,default:()=>[]},selectedHour:{type:[String,Number],default:""},showHours:{type:Boolean,default:!0},colors:{type:Array,default:()=>["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"]},label:{type:String,default:""},dense:{type:Boolean,default:!1}},computed:{itemsByHour(){return this.items.reduce((t,e)=>({...t,[Se(e.timestamp).format("H")]:e}),{})},heatmapBarItems(){return new Array(24).fill(void 0).reduce((t,e,r)=>{var n;return[...t,{name:this.getFormattedHour(r),value:r,count:((n=this.itemsByHour[r])==null?void 0:n.count)||0}]},[])}},methods:{getFormattedHour(t){const e=t.toString();return(e.length>1?e:`0${e}`)+(this.dense?"h":":00")}}});var j0=function(){var e=this,r=e._self._c;return r("EHeatmapBar",e._g({attrs:{items:e.heatmapBarItems,"selected-value":e.selectedHour,"show-names":e.showHours,colors:e.colors,label:e.label,dense:e.dense},scopedSlots:e._u([{key:"label",fn:function(){return[e._t("label")]},proxy:!0}],null,!0)},e.$listeners))},G0=[],q0=Y(W0,j0,G0,!1,null,null,null,null);const Mi=q0.exports,Z0=j.extend({name:"EReadMore",props:{content:{type:[Array,String],default:()=>null},maxLength:{type:Number,default:()=>2},showAll:{type:Boolean,default:!1},expandText:{type:String,default:"see more..."},collapseText:{type:String,default:"less"},moreTextWithPlaceholder:{type:String,default:"and {count} more..."}},data(){return{showAllContent:!1}},computed:{hiddenContentLength(){var t,e;return Math.max(((e=(t=this.content)==null?void 0:t.length)!=null?e:0)-this.maxLength,0)},isArrayContent(){return Array.isArray(this.content)},isHiddenTextContent(){return this.hiddenContentLength>0&&!this.showAllContent&&!this.isArrayContent},isHiddenArrayContent(){return this.hiddenContentLength>0&&!this.showAllContent&&this.isArrayContent},isContentExpanded(){var t;return this.showAllContent&&((t=this.content)==null?void 0:t.length)>0},computedMoreText(){return this.moreTextWithPlaceholder.replace("{count}",this.hiddenContentLength.toString())}},mounted(){this.showAllContent=this.showAll},methods:{displayContent(){return this.isArrayContent?this.displayArrayContent():this.displayTextContent()},displayArrayContent(){var t,e;return((t=this.content)==null?void 0:t.length)>this.maxLength&&this.showAllContent===!1?this.content.slice(0,this.maxLength).join(", "):((e=this.content)==null?void 0:e.length)>-1?this.content.join(", "):""},displayTextContent(){var t,e;return((t=this.content)==null?void 0:t.length)>this.maxLength&&this.showAllContent===!1?this.content.substr(0,this.maxLength):((e=this.content)==null?void 0:e.length)>-1?this.content:""},toggleContentExpansion(){this.showAllContent=!this.showAllContent}}});var U0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("span",{staticClass:"e-read-more"},[r("span",{staticClass:"e-read-more__content mr-1",style:{"white-space":e.showAllContent?"initial":"nowrap"}},[e._v(" "+e._s(e.displayContent())+" ")]),e.isHiddenArrayContent?r("span",{staticClass:"e-cursor-pointer e-text-primary",on:{click:e.toggleContentExpansion}},[e._v(" "+e._s(e.computedMoreText)+" ")]):e.isHiddenTextContent?r("span",{staticClass:"e-cursor-pointer e-text-primary",on:{click:e.toggleContentExpansion}},[e._v(" "+e._s(e.expandText)+" ")]):e._e(),e.isContentExpanded?r("span",{staticClass:"e-cursor-pointer e-text-primary",on:{click:e.toggleContentExpansion}},[e._v(" "+e._s(e.collapseText)+" ")]):e._e()])},Y0=[],X0=Y(Z0,U0,Y0,!1,null,null,null,null);const Ei=X0.exports,Q0=j.extend({name:"ETruncatedDiv",props:{width:{type:[String,Number],required:!0},fixedWidth:{type:Boolean,default:!1}},computed:{containerStyle(){let t=this.width;return typeof t=="number"&&(t=`${this.width}px`),{maxWidth:t,...this.fixedWidth?{width:t}:{}}}}});var V0=function(){var e=this,r=e._self._c;return r("div",e._g(e._b({staticClass:"e-truncated-div e-truncate",style:e.containerStyle},"div",e.$attrs,!1),e.$listeners),[e._t("default")],2)},K0=[],J0=Y(Q0,V0,K0,!1,null,null,null,null);const $i=J0.exports,e5=j.extend({name:"ECompareSeparator",components:{EIcon:rt},props:{xOffset:{type:[Number,String],default:50}},computed:{separatorStyle(){return{left:`${this.xOffset}%`}}}}),Z8="";var t5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-compare-separator",on:{mousedown:function(n){return n.preventDefault(),(s=>e.$emit("mousedown",s)).apply(null,arguments)},touchstart:function(n){return n.preventDefault(),(s=>e.$emit("touchstart",s)).apply(null,arguments)}}},[r("div",{staticClass:"e-compare-separator__line",style:e.separatorStyle}),r("div",{staticClass:"e-compare-separator__icon e-flex e-justify-around e-items-center",style:e.separatorStyle},[r("EIcon",{attrs:{icon:"caret-left",color:"e-text-white",size:"xl"}}),r("EIcon",{attrs:{icon:"caret-right",color:"e-text-white",size:"xl"}})],1)])},r5=[],n5=Y(e5,t5,r5,!1,null,null,null,null);const Xr=n5.exports,Li={width:0,height:0,left:0,top:0},i5=j.extend({name:"EImagesComparator",directives:{resizeObserver:Qe},components:{ECompareSeparator:Xr},props:{beforeImageSrc:{type:String,default:null},afterImageSrc:{type:String,default:null},isLoading:{type:Boolean,default:!1}},data(){return{separatorPositionX:50,startSeparatorPositionX:50,computedImageDimension:Li,isSeparatorDragging:!1,watermarkDimension:Li,touchIdentifier:null,startTouchX:0,containerRect:{},container:{},afterImage:{}}},computed:{clipStyle(){return{clip:`rect(auto, ${this.computedImageDimension.width*this.separatorPositionX/100+this.computedImageDimension.left}px, auto, auto)`}},contentStyle(){return{width:`${this.computedImageDimension.width}px`,height:this.computedImageDimension.height?`${this.computedImageDimension.height}px`:"100%",top:`${this.computedImageDimension.top}px`,left:`${this.computedImageDimension.left}px`}},imageSizeClasses(){return!this.isLoading||this.computedImageDimension.width&&this.computedImageDimension.height?"e-w-full e-h-full":"e-w-0 e-h-0"}},methods:{handleResize(){this.container=this.$refs.container,this.containerRect=this.container.getBoundingClientRect();const{clientHeight:t,clientWidth:e}=this.container;this.afterImage=this.$refs.afterImage;const{naturalHeight:r,naturalWidth:n}=this.afterImage,s=e/t,l=n/r;if(s>l){const i=t*l;this.computedImageDimension={width:i,height:t,top:0,left:(e-i)/2}}else{const i=e/l;this.computedImageDimension={width:e,height:i,top:(t-i)/2,left:0}}this.handleWatermarkResize()},handleWatermarkResize(){const{naturalWidth:t}=this.afterImage,e=i=>i*this.computedImageDimension.width/t,r=t/100*4,n=t/100*2,s=e(r),l=e(n);this.watermarkDimension={right:`${l}px`,bottom:`${l}px`,width:`${s}px`,height:`${s}px`}},handleMouseMove(t){if(!this.isSeparatorDragging)return;const r=(t.clientX-this.containerRect.left-this.computedImageDimension.left)/this.computedImageDimension.width*100;this.separatorPositionX=Math.max(0,Math.min(100,r))},handleMouseDown(){this.isSeparatorDragging=!0,this.container.addEventListener("mousemove",this.handleMouseMove),this.container.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.isSeparatorDragging&&(this.container.removeEventListener("mousemove",this.handleMouseMove),this.container.removeEventListener("mouseup",this.handleMouseUp),this.isSeparatorDragging=!1)},handleTouchStart(t){const e=t.touches[0];e&&t.touches.length===1&&(this.container.addEventListener("touchmove",this.handleTouchMove),this.container.addEventListener("touchend",this.handleTouchEnd),this.touchIdentifier=e.identifier,this.startTouchX=e.clientX,this.startSeparatorPositionX=this.separatorPositionX)},handleTouchMove(t){const e=Array.from(t.touches).find(r=>r.identifier===this.touchIdentifier);if(e){const r=e.clientX-this.startTouchX;this.separatorPositionX=Math.max(0,Math.min(100,r/this.computedImageDimension.width*100+this.startSeparatorPositionX))}},handleTouchEnd(t){Array.from(t.touches).find(r=>r.identifier===this.touchIdentifier)||(this.container.removeEventListener("touchmove",this.handleTouchMove),this.container.removeEventListener("touchend",this.handleTouchEnd),this.touchIdentifier=null)}}}),U8="";var s5=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.handleResize,expression:"handleResize"}],ref:"container",staticClass:"e-images-comparator e-h-full e-w-full e-relative e-bg-black e-border-black"},[r("img",{staticClass:"e-images-comparator__image e-absolute e-top-0",class:e.imageSizeClasses,style:e.clipStyle,attrs:{src:e.beforeImageSrc}}),r("img",{ref:"afterImage",staticClass:"e-images-comparator__image",class:e.imageSizeClasses,attrs:{src:e.afterImageSrc},on:{load:e.handleResize}}),e.isLoading?r("div",{staticClass:"e-images-comparator__overlay"},[e._t("overlay")],2):e._e(),r("div",{staticClass:"e-absolute",style:e.contentStyle},[r("ECompareSeparator",e._g({attrs:{"x-offset":e.separatorPositionX},on:{mousedown:e.handleMouseDown,touchstart:e.handleTouchStart}},e.$listeners)),r("div",{staticClass:"e-images-comparator__watermark e-absolute",style:e.watermarkDimension},[e._t("watermark",null,null,e.watermarkDimension)],2)],1)])},a5=[],o5=Y(i5,s5,a5,!1,null,null,null,null);const Di=o5.exports,Ge=j.extend({data(){return{timeouts:[]}},beforeDestroy(){this.$clearTimeouts()},methods:{$setTimeout(t,e=0){const r=setTimeout(t,e);return this.timeouts=[...this.timeouts,r],r},$clearTimeouts(){this.timeouts.forEach(t=>clearTimeout(t)),this.timeouts=[]}}}),Ve=j.extend({data(){return{eventListeners:[]}},beforeDestroy(){this.$removeEventListeners()},methods:{$addEventListener(t,e,r=window){if(!(r instanceof HTMLElement||r instanceof Window)){console.error("$addEventListener: The target element is not an HTMLElement."),console.log("$addEventListener: got: ",r);return}r.addEventListener(t,e),this.eventListeners=[...this.eventListeners,{element:r,event:t,cb:e}]},$removeEventListener(t,e,r=window){var s;const n=this.eventListeners.find(l=>l.event===t&&l.element===r&&l.cb===e);n&&((s=n.element)==null||s.removeEventListener(t,e),this.eventListeners=this.eventListeners.filter(l=>l.event===t&&l.cb===e&&l.element===r))},$removeEventListeners(){this.eventListeners.forEach(({element:t,event:e,cb:r})=>{t==null||t.removeEventListener(e,r)}),this.eventListeners=[]}}}),l5=j.extend({name:"EExpandableMenu",mixins:[Ge,Ve],props:{padding:{type:Number,default:4},direction:{type:String,default:"top",validator:t=>["top","right","bottom","left"].includes(t)},isMobile:{type:Boolean,default:!1}},data(){return{menu:!1,touched:!1,baseSize:{}}},computed:{row(){return["right","left"].includes(this.direction)},reverse(){return["top","left"].includes(this.direction)}},watch:{isMobile(){this.setButtonsPositions(this.menu)},direction(){this.setButtonsPositions(this.menu)},padding(){this.setButtonsPositions(this.menu)}},mounted(){const t=this.$refs.activator,e=(t==null?void 0:t.getBoundingClientRect())||{};this.baseSize={width:`${e.width}px`,height:`${e.height}px`},this.isMobile||this.$setTimeout(this.toggleMenu,100),this.$addEventListener("resize",this.setButtonsPositions)},methods:{toggleMenu(){this.menu=!this.menu,this.setButtonsPositions(this.menu)},setButtonsPositions(t){const e=this.$refs.menu,r=Array.from(e==null?void 0:e.children).filter(f=>!f.classList.contains("v-tooltip"));if(!r||!r.length)return;const n=this.isMobile?30:40,s=Array.from(r),l=this.$refs.activator,i=l==null?void 0:l.getBoundingClientRect(),h=Math.min(i[this.row?"width":"height"],n),a=t?h+this.padding:0,o=this.row?"X":"Y";e.style.transform=`translate${o}(${(this.reverse?-1:1)*a}px)`;let u=0;s.forEach((f,m)=>{f.getBoundingClientRect()[this.row?"width":"height"]>n?u=Math.max(f.getBoundingClientRect()[this.row?"width":"height"],n)+this.padding:u=Math.min(f.getBoundingClientRect()[this.row?"width":"height"],n)+this.padding;const v=t?u*m:0;f.style.transform=`translate${o}(${(this.reverse?-1:1)*v}px)`})}}}),Y8="";var c5=function(){var e=this,r=e._self._c;return r("div",{staticClass:"expandable-menu",class:{"expandable-menu--row":e.row,"expandable-menu--column":!e.row,"expandable-menu--reverse":e.reverse,"expandable-menu--open":e.menu,"expandable-menu--closed":!e.menu},style:e.baseSize,on:{click:function(n){e.touched=!0},mouseenter:function(n){e.touched=!0}}},[r("div",{staticClass:"expandable-menu__container",style:e.baseSize},[r("div",{ref:"activator",staticClass:"v-btn--no-active e-cursor-pointer expandable-menu__activator",on:{click:e.toggleMenu}},[e._t("activator")],2),r("div",{ref:"menu",staticClass:"e-flex e-flex-col expandable-menu__menu",class:{"expandable-menu__menu--closed":!e.menu,"expandable-menu__menu--open":e.menu,"e-py-2":!e.row,"e-py-0":e.row},attrs:{"data-test-id":"action-buttons-menu"}},[e._t("default")],2)])])},u5=[],d5=Y(l5,c5,u5,!1,null,null,null,null);const Pi=d5.exports,h5=j.extend({name:"BaseIcon",props:{name:{type:String,default:"box"},color:{type:String,default:"#3c3c3c"},viewBox:{type:String,default:"0 0 128 128"},width:{type:[Number,String],default:60},height:{type:[Number,String],default:60},size:{type:[Number,String,null],default:null}}});var f5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("svg",e._g({staticClass:"svg-icon",attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:e.viewBox,width:e.size||e.width,height:e.size||e.height,"aria-labelledby":e.name,role:"presentation"}},e.$listeners),[r("g",{ref:"group",attrs:{fill:e.color}},[e._t("default",null,{color:e.color})],2)])},p5=[],m5=Y(h5,f5,p5,!1,null,null,null,null);const ge=m5.exports,g5=j.extend({name:"Bim",components:{BaseIcon:ge},props:{color:{type:String,default:"white"}}});var v5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"22px",height:"22px",viewBox:"0 0 22 22",color:e.color}},"BaseIcon",e.$attrs,!1),[r("g",{attrs:{transform:"translate(0.000000,512.000000) scale(0.100000,-0.100000)"}},[r("path",{style:`fill: ${e.color}`,attrs:{d:`M3.7,5016.4v-43.8l20.9,0.2c19.5,0.2,21.1,0.3,24.7,1.3c5.8,1.6,9.9,3.9,13.3,7.2c3.4,3.5,5.3,6.7,6.4,11
9
9
  c3,13-3.4,23.6-16.5,26.8l-3.5,0.9l2.6,0.8c3.5,1.2,8,4.3,10.3,7c7,8.6,5.5,21-3.4,26.9c-7.1,4.8-11.4,5.4-35.7,5.4h-19V5016.4z
10
10
  M40.6,5043.9c3.8-2,4.7-3.7,4.5-8.4c-0.2-4.4-1.8-7-5.5-8.9c-2.2-1.1-3.2-1.3-9.1-1.4l-6.7-0.2v10.4v10.4l7-0.2
11
11
  C37.4,5045.3,37.9,5045.3,40.6,5043.9z M41.5,5009.4c2.4-0.9,5.4-3.5,6.5-5.7c1.1-2.2,1.1-6.7,0-9.2c-1.1-2.6-2.8-4.4-5.8-5.7
@@ -43,7 +43,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
43
43
  c24.128,0,43.759-19.629,43.759-43.759S390.247,343.617,366.119,343.617z M57.182,405.037c-9.754,0-17.662-7.908-17.662-17.662
44
44
  c0-9.754,7.908-17.662,17.662-17.662s17.662,7.908,17.662,17.662C74.844,397.13,66.936,405.037,57.182,405.037z M364.187,405.036
45
45
  c-9.754,0-17.662-7.908-17.662-17.662c0-9.754,7.908-17.662,17.662-17.662c9.754,0,17.662,7.908,17.662,17.662
46
- C381.849,397.128,373.942,405.036,364.187,405.036z`}})])])])},i2=[],s2=Y(r2,n2,i2,!1,null,null,null,null);const zi=s2.exports,a2=j.extend({name:"FlatbedSemiTrailer",components:{BaseIcon:ge}});var o2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{width:"40","view-box":"-5 -10 130 130"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:"M 83.046875 50.847656 C 83.046875 57.824219 82.789062 61.933594 82.398438 61.933594 C 82.007812 61.933594 81.75 58.019531 81.75 51.5 C 81.75 42.636719 81.621094 41.070312 80.777344 41.070312 C 79.933594 41.070312 79.804688 42.765625 79.804688 52.542969 C 79.804688 61.867188 80 64.148438 80.777344 64.929688 C 82.398438 66.625 81.878906 67.601562 79.15625 68.058594 C 76.820312 68.449219 76.558594 68.648438 76.558594 70.40625 C 76.558594 72.296875 76.6875 72.363281 79.414062 72.363281 C 82.203125 72.363281 82.269531 72.296875 82.722656 69.886719 C 82.917969 68.582031 83.890625 66.691406 84.863281 65.648438 C 86.226562 64.214844 87.070312 63.886719 89.472656 63.886719 C 93.625 63.953125 96.671875 66.757812 96.671875 70.535156 C 96.671875 72.363281 96.738281 72.363281 100.761719 72.363281 C 107.441406 72.363281 107.960938 71.320312 107.378906 60.433594 C 106.664062 47.265625 106.273438 44.917969 104.132812 42.179688 L 102.1875 39.765625 L 83.046875 39.765625 Z M 104.328125 45.113281 C 104.78125 45.570312 105.105469 47.851562 105.105469 50.652344 L 105.105469 55.414062 L 101.085938 55.414062 C 95.441406 55.414062 94.078125 54.042969 94.078125 48.4375 L 94.078125 44.332031 L 98.8125 44.332031 C 101.605469 44.332031 103.875 44.65625 104.328125 45.113281 Z M 104.328125 45.113281 "}}),r("path",{attrs:{d:"M 1.945312 66.496094 C 1.945312 72.949219 3.050781 74.644531 3.375 68.582031 L 3.570312 64.867188 L 6.035156 64.667969 C 8.371094 64.472656 8.5 64.539062 7.785156 65.777344 C 7.394531 66.558594 6.488281 67.148438 5.839844 67.148438 C 4.800781 67.148438 4.542969 67.601562 4.542969 69.429688 C 4.542969 71.515625 4.734375 71.710938 6.359375 71.710938 C 7.980469 71.710938 8.304688 71.382812 9.019531 68.90625 C 9.472656 67.40625 10.1875 65.777344 10.511719 65.320312 C 11.03125 64.734375 14.535156 64.539062 24.007812 64.539062 C 35.035156 64.539062 36.917969 64.667969 37.695312 65.582031 C 38.148438 66.167969 38.605469 67.148438 38.605469 67.734375 C 38.929688 72.101562 38.214844 71.710938 46.066406 71.710938 L 53.203125 71.710938 L 53.203125 70.082031 C 53.203125 68.449219 53.203125 68.449219 47.039062 68.449219 C 41.523438 68.449219 40.875 68.320312 40.875 67.277344 C 40.875 66.625 40.550781 65.777344 40.097656 65.320312 C 39.511719 64.734375 43.339844 64.539062 57.289062 64.539062 L 75.261719 64.539062 L 75.261719 60.628906 L 1.945312 60.628906 Z M 1.945312 66.496094 "}}),r("path",{attrs:{d:"M 29.457031 66.105469 C 27.316406 67.082031 26.601562 68.253906 26.601562 70.796875 C 26.601562 73.273438 27.640625 74.773438 29.84375 75.558594 C 35.101562 77.382812 39.1875 71.644531 35.554688 67.539062 C 33.609375 65.453125 31.921875 65.0625 29.457031 66.105469 Z M 29.457031 66.105469 "}}),r("path",{attrs:{d:"M 11.742188 67.539062 C 9.992188 69.753906 9.992188 71.710938 11.742188 73.925781 C 12.78125 75.230469 13.625 75.621094 15.636719 75.621094 C 18.878906 75.621094 20.761719 73.863281 20.761719 70.734375 C 20.761719 67.601562 18.878906 65.84375 15.636719 65.84375 C 13.625 65.84375 12.78125 66.234375 11.742188 67.539062 Z M 11.742188 67.539062 "}}),r("path",{attrs:{d:"M 55.539062 66.886719 C 54.304688 68.058594 54.175781 71.125 55.277344 72.230469 C 56.121094 73.078125 72.277344 73.40625 74.222656 72.625 C 75.457031 72.167969 75.652344 67.800781 74.484375 66.625 C 73.964844 66.105469 70.914062 65.84375 65.140625 65.84375 C 58.199219 65.84375 56.316406 66.039062 55.539062 66.886719 Z M 55.539062 66.886719 "}}),r("path",{attrs:{d:"M 85.707031 67.539062 C 84.929688 68.515625 84.34375 69.949219 84.34375 70.734375 C 84.34375 71.515625 84.929688 72.949219 85.707031 73.925781 C 86.746094 75.230469 87.589844 75.621094 89.601562 75.621094 C 92.84375 75.621094 94.726562 73.863281 94.726562 70.734375 C 94.726562 67.601562 92.84375 65.84375 89.601562 65.84375 C 87.589844 65.84375 86.746094 66.234375 85.707031 67.539062 Z M 85.707031 67.539062 "}})])])},l2=[],c2=Y(a2,o2,l2,!1,null,null,null,null);const u2=c2.exports,d2=j.extend({name:"FreeDrawing",components:{BaseIcon:ge},props:{color:{type:String,default:"grey"}}});var h2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,color:e.color,"view-box":"144.5 188 10 10",width:"20"}},"BaseIcon",e.$attrs,!1),[r("path",{staticStyle:{"stroke-width":"0.26458332"},attrs:{d:"m 152.95505,196.2344 c -0.26609,-0.31077 -0.78119,-0.53107 -1.24174,-0.53107 -1.35571,0 -1.75694,-1.55337 -0.80466,-3.11525 0.8944,-1.46696 0.58455,-1.32449 -1.16477,0.53556 -1.38412,1.47174 -1.82631,1.78594 -2.51343,1.78594 -1.70547,0 -1.64926,-2.05847 0.11688,-4.28009 0.50015,-0.62913 0.91051,-1.2927 0.91193,-1.4746 0.005,-0.69959 -1.16999,-0.29505 -2.1141,0.72761 -1.02193,1.10694 -1.5875,1.33928 -1.5875,0.65215 0,-1.09423 1.95434,-2.76882 3.23136,-2.76882 0.77265,0 1.53114,0.74594 1.53114,1.50581 0,0.29595 -0.36879,1.00095 -0.81952,1.56666 -2.38989,2.99953 -1.92282,4.24945 0.53289,1.42606 1.43494,-1.64978 2.39361,-2.14511 3.06819,-1.58526 0.54739,0.45429 0.49147,1.17719 -0.18153,2.34654 -0.73827,1.28277 -0.52557,1.88394 0.66656,1.88394 0.98427,0 1.58974,0.50975 1.45161,1.22213 -0.12906,0.66558 -0.56589,0.70699 -1.08331,0.10269 z m -0.39375,-0.97088 c -0.1819,-0.0734 -0.47956,-0.0734 -0.66146,0 -0.1819,0.0734 -0.0331,0.13345 0.33073,0.13345 0.36381,0 0.51263,-0.06 0.33073,-0.13345 z"}}),r("ellipse",{staticStyle:{"stroke-width":"0.26458332"},attrs:{ry:"0.24221301",rx:"0.68487817",cy:"195.24547",cx:"152.2267"}})])},f2=[],p2=Y(d2,h2,f2,!1,null,null,null,null);const m2=p2.exports,g2=j.extend({name:"IModel",components:{BaseIcon:ge}});var v2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._g(e._b({attrs:{small:!0,width:"25",height:"25",viewBox:"0 0 280 280"}},"BaseIcon",e.$attrs,!1),e.$listeners),[r("g",{attrs:{stroke:"none"}},[r("path",{attrs:{d:"m 134,28.9 c -4.5,1 -6.3,1.9 -28.7,15.4 -10.4,6.2 -21,12.6 -23.8,14.2 -12.2,6.8 -28.3,17 -31.1,19.7 -1.7,1.6 -4.2,5 -5.5,7.6 l -2.4,4.7 v 50 50 l 2.9,5 c 4.3,7.4 7.1,9.8 20.9,17.6 4,2.2 8.6,4.9 10.2,5.9 1.7,1.1 5,3.1 7.5,4.5 2.5,1.4 8.2,4.8 12.8,7.5 4.5,2.8 11.9,7.2 16.5,10 4.5,2.7 11,6.4 14.5,8.1 5.8,2.9 6.9,3.1 13.5,2.7 6.9,-0.5 10.4,-1.7 18.7,-6.9 4.4,-2.7 34.4,-20.6 37.5,-22.3 1.7,-0.9 4.4,-2.5 6,-3.6 1.7,-1 6.2,-3.7 10.2,-5.9 13.6,-7.7 17.8,-11.2 21.4,-18.1 l 2.7,-44.2 0.3,-39.7 -5.6,2.4 c -3,1.4 -6.2,2.5 -7,2.5 -1.3,0 -1.5,4.9 -1.5,35.4 0,43.6 2.1,38.3 -20.9,51.8 -4,2.4 -8.1,4.7 -9,5.3 -3.8,2.3 -30.2,18.1 -31.9,19 -0.9,0.5 -5.4,3.1 -9.8,5.7 -8.6,5.1 -14.5,6.2 -19,3.5 -1.2,-0.6 -5.5,-3.1 -9.5,-5.5 -8.8,-5.1 -36.8,-21.8 -38.9,-23.2 -0.8,-0.5 -4.6,-2.8 -8.5,-5.1 -13.8,-8 -16,-9.6 -18.3,-12.9 l -2.3,-3.4 0.3,-47.2 0.3,-47.3 3,-3.1 c 1.7,-1.8 4.6,-4.1 6.5,-5.1 1.9,-1.1 7.1,-4.2 11.5,-6.9 4.4,-2.7 11.2,-6.7 15,-8.9 9.2,-5.4 13.9,-8.2 20,-11.9 14.5,-8.9 23.3,-13.5 26.5,-13.9 2.6,-0.3 5,0.3 9.3,2.6 L 154,48 v -8 c 0,-7.7 -0.1,-8 -2.8,-9.4 -3.4,-1.8 -12.6,-2.7 -17.2,-1.7 z"}}),r("path",{attrs:{d:"m 170.5,34.5 c -4.9,4.8 -1.6,12.5 5.3,12.5 2,0 4.2,-0.4 4.8,-0.8 1.6,-1.1 3.4,-4.8 3.4,-7.2 0,-3.2 -4.4,-7 -8,-7 -1.9,0 -4,0.9 -5.5,2.5 z"}}),r("path",{attrs:{d:"m 205.5,50.5 c -8.6,2.4 -14.6,11.3 -12.5,18.6 2.2,7.5 5.4,9.8 17.7,12.8 10.2,2.5 11.3,3 11.3,5.1 0,5.1 -8.8,6.8 -13.4,2.5 C 206.2,87.3 205,87 198.5,87 h -7.4 l 0.9,2.9 c 1.4,4.8 3.8,7.6 8.7,10.2 4,2 6.3,2.4 13.8,2.4 7.5,0 9.8,-0.4 13.7,-2.4 5.9,-3 8.8,-6.9 9.5,-13 1.1,-9.5 -4.7,-14.4 -20.5,-17.1 -6.2,-1 -7.5,-1.6 -8.4,-3.6 -1.6,-3.5 0.8,-5.7 6.3,-5.6 3.2,0.1 4.9,0.7 6.1,2.1 1.4,1.8 2.8,2.1 8.8,2.1 6.9,0 7.1,-0.1 6.5,-2.3 -1.5,-4.8 -4.3,-8.2 -8.5,-10.4 -5.8,-3 -15.7,-3.8 -22.5,-1.8 z"}}),r("path",{attrs:{d:"m 167.8,79.2 -0.3,27.2 -3.2,0.8 c -3.2,0.8 -3.3,1 -3.3,6.5 v 5.6 l 6.1,-0.7 c 7.3,-0.7 12.2,-2.9 14.6,-6.4 1.6,-2.4 1.8,-5.7 2.1,-31.5 L 184.1,52 h -8 -8.1 z"}}),r("path",{attrs:{d:"m 134.3,75 c -9.7,3.9 -12,17.2 -4.3,24.5 2.9,2.7 3.8,3 10,3 6.2,0 7.1,-0.3 10,-3 7.8,-7.5 5.3,-20.8 -4.6,-24.5 -3.1,-1.2 -8.1,-1.2 -11.1,0 z"}}),r("path",{attrs:{d:"m 113.2,110.2 c -0.8,0.8 -1.2,5.1 -1.2,12.9 v 11.7 l 7,4.2 7,4.2 v 23.9 c 0,13.2 -0.3,23.9 -0.6,23.9 -0.3,0 -2.6,-1.2 -5.2,-2.6 -18.4,-10.4 -20.7,-11.1 -21.7,-7.2 -0.3,1.3 -0.5,7 -0.3,12.8 l 0.3,10.4 7,4.3 c 3.9,2.4 7.7,4.6 8.5,5 0.8,0.4 5.5,3.1 10.3,6 4.8,2.9 9.1,5.3 9.4,5.3 0.4,0 1.4,0.7 2.4,1.6 0.9,0.8 2.5,1.6 3.6,1.6 1,0.1 7.7,-3.3 14.8,-7.6 7.2,-4.3 13.9,-8.3 15,-8.9 1.1,-0.7 4.3,-2.7 7.2,-4.4 L 182,204 v -10.9 c 0,-12.3 -0.4,-14.1 -3.1,-14.1 -1.8,0 -16.7,7.4 -21.4,10.6 -1.1,0.8 -2.3,1.4 -2.7,1.4 -0.4,0 -0.9,-13.8 -1,-30.7 L 153.5,129.6 143,123.7 C 127.3,114.9 116.1,109 115.2,109 c -0.4,0 -1.3,0.5 -2,1.2 z"}})])])},_2=[],C2=Y(g2,v2,_2,!1,null,null,null,null);const y2=C2.exports,b2=j.extend({name:"Inspection",components:{BaseIcon:ge},props:{color:{type:String,default:"white"}}});var x2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"22px",height:"22px",viewBox:"0 0 22 22",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"M 2.769531 2.769531 C 2.75 2.785156 2.734375 3.503906 2.734375 4.355469 L 2.734375 5.910156 L 3.859375 5.910156 L 3.859375 3.859375 L 5.914062 3.859375 L 5.902344 3.308594 L 5.886719 2.761719 L 4.34375 2.746094 C 3.496094 2.738281 2.789062 2.75 2.769531 2.769531 Z M 2.769531 2.769531 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 16.070312 3.296875 L 16.070312 3.859375 L 18.121094 3.859375 L 18.121094 5.910156 L 19.246094 5.910156 L 19.234375 4.332031 L 19.21875 2.761719 L 17.648438 2.746094 L 16.070312 2.734375 Z M 16.070312 3.296875 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 10.453125 5.378906 C 9.691406 5.441406 8.835938 5.707031 8.210938 6.078125 L 7.925781 6.242188 L 7.003906 6.261719 C 6.203125 6.28125 6.042969 6.300781 5.804688 6.394531 C 5.4375 6.535156 5.074219 6.878906 4.898438 7.253906 L 4.761719 7.546875 L 4.761719 14.433594 L 4.898438 14.710938 C 5.070312 15.0625 5.371094 15.367188 5.714844 15.527344 C 5.96875 15.644531 6.039062 15.65625 6.9375 15.679688 L 7.886719 15.703125 L 8.226562 15.894531 C 9.96875 16.886719 12.203125 16.855469 13.871094 15.832031 L 14.105469 15.6875 L 15.050781 15.667969 C 15.972656 15.65625 16 15.648438 16.273438 15.519531 C 16.632812 15.34375 17.007812 14.9375 17.128906 14.59375 C 17.214844 14.355469 17.21875 14.105469 17.21875 10.941406 L 17.21875 7.546875 L 17.085938 7.269531 C 16.929688 6.9375 16.613281 6.605469 16.304688 6.457031 C 15.992188 6.300781 15.621094 6.253906 14.796875 6.253906 L 14.082031 6.253906 L 13.574219 5.988281 C 12.617188 5.484375 11.585938 5.285156 10.453125 5.378906 Z M 11.644531 7.058594 C 12.519531 7.210938 13.1875 7.5625 13.824219 8.207031 C 14.6875 9.082031 15.097656 10.242188 14.953125 11.421875 C 14.742188 13.121094 13.5625 14.449219 11.894531 14.875 C 11.449219 14.992188 10.554688 14.992188 10.101562 14.882812 C 8.894531 14.589844 7.828125 13.714844 7.347656 12.621094 C 7.097656 12.054688 7.015625 11.644531 7.015625 10.988281 C 7.015625 10.34375 7.074219 10.023438 7.296875 9.464844 C 7.796875 8.238281 8.964844 7.300781 10.292969 7.0625 C 10.800781 6.96875 11.136719 6.96875 11.644531 7.058594 Z M 11.644531 7.058594 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 10.625 8.15625 C 9.515625 8.304688 8.578125 9.105469 8.238281 10.183594 C 8.097656 10.652344 8.097656 11.324219 8.246094 11.796875 C 8.535156 12.742188 9.335938 13.503906 10.28125 13.75 C 10.652344 13.84375 11.328125 13.84375 11.699219 13.75 C 12.9375 13.421875 13.824219 12.304688 13.832031 11.039062 C 13.84375 10.203125 13.578125 9.5625 12.996094 8.984375 C 12.351562 8.339844 11.507812 8.042969 10.625 8.15625 Z M 10.625 8.15625 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 2.746094 17.644531 L 2.761719 19.21875 L 5.886719 19.21875 L 5.902344 18.667969 L 5.914062 18.121094 L 3.859375 18.121094 L 3.859375 16.070312 L 2.734375 16.070312 Z M 2.746094 17.644531 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 18.121094 17.097656 L 18.121094 18.121094 L 16.070312 18.121094 L 16.070312 19.246094 L 17.648438 19.234375 L 19.21875 19.21875 L 19.234375 17.644531 L 19.246094 16.070312 L 18.121094 16.070312 Z M 18.121094 17.097656 "}})])},w2=[],S2=Y(b2,x2,w2,!1,null,null,null,null);const T2=S2.exports,k2=j.extend({name:"Worker",components:{BaseIcon:ge}});var M2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({staticStyle:{"margin-right":"5px"},attrs:{small:!0,"view-box":"0 0 578.621 578.621",width:"30"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:"M47.5,345c-7.995,0-14.5,6.505-14.5,14.5S39.505,374,47.5,374S62,367.495,62,359.5S55.495,345,47.5,345z"}}),r("path",{attrs:{d:"M271.5,345c-7.995,0-14.5,6.505-14.5,14.5s6.505,14.5,14.5,14.5s14.5-6.505,14.5-14.5S279.495,345,271.5,345z"}}),r("path",{attrs:{d:`M455.5,352H367V239.5c0-8.547-6.953-15.5-15.5-15.5H335V71.5c0-8.547-6.953-15.5-15.5-15.5h-40c-4.142,0-7.5,3.358-7.5,7.5
46
+ C381.849,397.128,373.942,405.036,364.187,405.036z`}})])])])},i2=[],s2=Y(r2,n2,i2,!1,null,null,null,null);const Oi=s2.exports,a2=j.extend({name:"FlatbedSemiTrailer",components:{BaseIcon:ge}});var o2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{width:"40","view-box":"-5 -10 130 130"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:"M 83.046875 50.847656 C 83.046875 57.824219 82.789062 61.933594 82.398438 61.933594 C 82.007812 61.933594 81.75 58.019531 81.75 51.5 C 81.75 42.636719 81.621094 41.070312 80.777344 41.070312 C 79.933594 41.070312 79.804688 42.765625 79.804688 52.542969 C 79.804688 61.867188 80 64.148438 80.777344 64.929688 C 82.398438 66.625 81.878906 67.601562 79.15625 68.058594 C 76.820312 68.449219 76.558594 68.648438 76.558594 70.40625 C 76.558594 72.296875 76.6875 72.363281 79.414062 72.363281 C 82.203125 72.363281 82.269531 72.296875 82.722656 69.886719 C 82.917969 68.582031 83.890625 66.691406 84.863281 65.648438 C 86.226562 64.214844 87.070312 63.886719 89.472656 63.886719 C 93.625 63.953125 96.671875 66.757812 96.671875 70.535156 C 96.671875 72.363281 96.738281 72.363281 100.761719 72.363281 C 107.441406 72.363281 107.960938 71.320312 107.378906 60.433594 C 106.664062 47.265625 106.273438 44.917969 104.132812 42.179688 L 102.1875 39.765625 L 83.046875 39.765625 Z M 104.328125 45.113281 C 104.78125 45.570312 105.105469 47.851562 105.105469 50.652344 L 105.105469 55.414062 L 101.085938 55.414062 C 95.441406 55.414062 94.078125 54.042969 94.078125 48.4375 L 94.078125 44.332031 L 98.8125 44.332031 C 101.605469 44.332031 103.875 44.65625 104.328125 45.113281 Z M 104.328125 45.113281 "}}),r("path",{attrs:{d:"M 1.945312 66.496094 C 1.945312 72.949219 3.050781 74.644531 3.375 68.582031 L 3.570312 64.867188 L 6.035156 64.667969 C 8.371094 64.472656 8.5 64.539062 7.785156 65.777344 C 7.394531 66.558594 6.488281 67.148438 5.839844 67.148438 C 4.800781 67.148438 4.542969 67.601562 4.542969 69.429688 C 4.542969 71.515625 4.734375 71.710938 6.359375 71.710938 C 7.980469 71.710938 8.304688 71.382812 9.019531 68.90625 C 9.472656 67.40625 10.1875 65.777344 10.511719 65.320312 C 11.03125 64.734375 14.535156 64.539062 24.007812 64.539062 C 35.035156 64.539062 36.917969 64.667969 37.695312 65.582031 C 38.148438 66.167969 38.605469 67.148438 38.605469 67.734375 C 38.929688 72.101562 38.214844 71.710938 46.066406 71.710938 L 53.203125 71.710938 L 53.203125 70.082031 C 53.203125 68.449219 53.203125 68.449219 47.039062 68.449219 C 41.523438 68.449219 40.875 68.320312 40.875 67.277344 C 40.875 66.625 40.550781 65.777344 40.097656 65.320312 C 39.511719 64.734375 43.339844 64.539062 57.289062 64.539062 L 75.261719 64.539062 L 75.261719 60.628906 L 1.945312 60.628906 Z M 1.945312 66.496094 "}}),r("path",{attrs:{d:"M 29.457031 66.105469 C 27.316406 67.082031 26.601562 68.253906 26.601562 70.796875 C 26.601562 73.273438 27.640625 74.773438 29.84375 75.558594 C 35.101562 77.382812 39.1875 71.644531 35.554688 67.539062 C 33.609375 65.453125 31.921875 65.0625 29.457031 66.105469 Z M 29.457031 66.105469 "}}),r("path",{attrs:{d:"M 11.742188 67.539062 C 9.992188 69.753906 9.992188 71.710938 11.742188 73.925781 C 12.78125 75.230469 13.625 75.621094 15.636719 75.621094 C 18.878906 75.621094 20.761719 73.863281 20.761719 70.734375 C 20.761719 67.601562 18.878906 65.84375 15.636719 65.84375 C 13.625 65.84375 12.78125 66.234375 11.742188 67.539062 Z M 11.742188 67.539062 "}}),r("path",{attrs:{d:"M 55.539062 66.886719 C 54.304688 68.058594 54.175781 71.125 55.277344 72.230469 C 56.121094 73.078125 72.277344 73.40625 74.222656 72.625 C 75.457031 72.167969 75.652344 67.800781 74.484375 66.625 C 73.964844 66.105469 70.914062 65.84375 65.140625 65.84375 C 58.199219 65.84375 56.316406 66.039062 55.539062 66.886719 Z M 55.539062 66.886719 "}}),r("path",{attrs:{d:"M 85.707031 67.539062 C 84.929688 68.515625 84.34375 69.949219 84.34375 70.734375 C 84.34375 71.515625 84.929688 72.949219 85.707031 73.925781 C 86.746094 75.230469 87.589844 75.621094 89.601562 75.621094 C 92.84375 75.621094 94.726562 73.863281 94.726562 70.734375 C 94.726562 67.601562 92.84375 65.84375 89.601562 65.84375 C 87.589844 65.84375 86.746094 66.234375 85.707031 67.539062 Z M 85.707031 67.539062 "}})])])},l2=[],c2=Y(a2,o2,l2,!1,null,null,null,null);const u2=c2.exports,d2=j.extend({name:"FreeDrawing",components:{BaseIcon:ge},props:{color:{type:String,default:"grey"}}});var h2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,color:e.color,"view-box":"144.5 188 10 10",width:"20"}},"BaseIcon",e.$attrs,!1),[r("path",{staticStyle:{"stroke-width":"0.26458332"},attrs:{d:"m 152.95505,196.2344 c -0.26609,-0.31077 -0.78119,-0.53107 -1.24174,-0.53107 -1.35571,0 -1.75694,-1.55337 -0.80466,-3.11525 0.8944,-1.46696 0.58455,-1.32449 -1.16477,0.53556 -1.38412,1.47174 -1.82631,1.78594 -2.51343,1.78594 -1.70547,0 -1.64926,-2.05847 0.11688,-4.28009 0.50015,-0.62913 0.91051,-1.2927 0.91193,-1.4746 0.005,-0.69959 -1.16999,-0.29505 -2.1141,0.72761 -1.02193,1.10694 -1.5875,1.33928 -1.5875,0.65215 0,-1.09423 1.95434,-2.76882 3.23136,-2.76882 0.77265,0 1.53114,0.74594 1.53114,1.50581 0,0.29595 -0.36879,1.00095 -0.81952,1.56666 -2.38989,2.99953 -1.92282,4.24945 0.53289,1.42606 1.43494,-1.64978 2.39361,-2.14511 3.06819,-1.58526 0.54739,0.45429 0.49147,1.17719 -0.18153,2.34654 -0.73827,1.28277 -0.52557,1.88394 0.66656,1.88394 0.98427,0 1.58974,0.50975 1.45161,1.22213 -0.12906,0.66558 -0.56589,0.70699 -1.08331,0.10269 z m -0.39375,-0.97088 c -0.1819,-0.0734 -0.47956,-0.0734 -0.66146,0 -0.1819,0.0734 -0.0331,0.13345 0.33073,0.13345 0.36381,0 0.51263,-0.06 0.33073,-0.13345 z"}}),r("ellipse",{staticStyle:{"stroke-width":"0.26458332"},attrs:{ry:"0.24221301",rx:"0.68487817",cy:"195.24547",cx:"152.2267"}})])},f2=[],p2=Y(d2,h2,f2,!1,null,null,null,null);const m2=p2.exports,g2=j.extend({name:"IModel",components:{BaseIcon:ge}});var v2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._g(e._b({attrs:{small:!0,width:"25",height:"25",viewBox:"0 0 280 280"}},"BaseIcon",e.$attrs,!1),e.$listeners),[r("g",{attrs:{stroke:"none"}},[r("path",{attrs:{d:"m 134,28.9 c -4.5,1 -6.3,1.9 -28.7,15.4 -10.4,6.2 -21,12.6 -23.8,14.2 -12.2,6.8 -28.3,17 -31.1,19.7 -1.7,1.6 -4.2,5 -5.5,7.6 l -2.4,4.7 v 50 50 l 2.9,5 c 4.3,7.4 7.1,9.8 20.9,17.6 4,2.2 8.6,4.9 10.2,5.9 1.7,1.1 5,3.1 7.5,4.5 2.5,1.4 8.2,4.8 12.8,7.5 4.5,2.8 11.9,7.2 16.5,10 4.5,2.7 11,6.4 14.5,8.1 5.8,2.9 6.9,3.1 13.5,2.7 6.9,-0.5 10.4,-1.7 18.7,-6.9 4.4,-2.7 34.4,-20.6 37.5,-22.3 1.7,-0.9 4.4,-2.5 6,-3.6 1.7,-1 6.2,-3.7 10.2,-5.9 13.6,-7.7 17.8,-11.2 21.4,-18.1 l 2.7,-44.2 0.3,-39.7 -5.6,2.4 c -3,1.4 -6.2,2.5 -7,2.5 -1.3,0 -1.5,4.9 -1.5,35.4 0,43.6 2.1,38.3 -20.9,51.8 -4,2.4 -8.1,4.7 -9,5.3 -3.8,2.3 -30.2,18.1 -31.9,19 -0.9,0.5 -5.4,3.1 -9.8,5.7 -8.6,5.1 -14.5,6.2 -19,3.5 -1.2,-0.6 -5.5,-3.1 -9.5,-5.5 -8.8,-5.1 -36.8,-21.8 -38.9,-23.2 -0.8,-0.5 -4.6,-2.8 -8.5,-5.1 -13.8,-8 -16,-9.6 -18.3,-12.9 l -2.3,-3.4 0.3,-47.2 0.3,-47.3 3,-3.1 c 1.7,-1.8 4.6,-4.1 6.5,-5.1 1.9,-1.1 7.1,-4.2 11.5,-6.9 4.4,-2.7 11.2,-6.7 15,-8.9 9.2,-5.4 13.9,-8.2 20,-11.9 14.5,-8.9 23.3,-13.5 26.5,-13.9 2.6,-0.3 5,0.3 9.3,2.6 L 154,48 v -8 c 0,-7.7 -0.1,-8 -2.8,-9.4 -3.4,-1.8 -12.6,-2.7 -17.2,-1.7 z"}}),r("path",{attrs:{d:"m 170.5,34.5 c -4.9,4.8 -1.6,12.5 5.3,12.5 2,0 4.2,-0.4 4.8,-0.8 1.6,-1.1 3.4,-4.8 3.4,-7.2 0,-3.2 -4.4,-7 -8,-7 -1.9,0 -4,0.9 -5.5,2.5 z"}}),r("path",{attrs:{d:"m 205.5,50.5 c -8.6,2.4 -14.6,11.3 -12.5,18.6 2.2,7.5 5.4,9.8 17.7,12.8 10.2,2.5 11.3,3 11.3,5.1 0,5.1 -8.8,6.8 -13.4,2.5 C 206.2,87.3 205,87 198.5,87 h -7.4 l 0.9,2.9 c 1.4,4.8 3.8,7.6 8.7,10.2 4,2 6.3,2.4 13.8,2.4 7.5,0 9.8,-0.4 13.7,-2.4 5.9,-3 8.8,-6.9 9.5,-13 1.1,-9.5 -4.7,-14.4 -20.5,-17.1 -6.2,-1 -7.5,-1.6 -8.4,-3.6 -1.6,-3.5 0.8,-5.7 6.3,-5.6 3.2,0.1 4.9,0.7 6.1,2.1 1.4,1.8 2.8,2.1 8.8,2.1 6.9,0 7.1,-0.1 6.5,-2.3 -1.5,-4.8 -4.3,-8.2 -8.5,-10.4 -5.8,-3 -15.7,-3.8 -22.5,-1.8 z"}}),r("path",{attrs:{d:"m 167.8,79.2 -0.3,27.2 -3.2,0.8 c -3.2,0.8 -3.3,1 -3.3,6.5 v 5.6 l 6.1,-0.7 c 7.3,-0.7 12.2,-2.9 14.6,-6.4 1.6,-2.4 1.8,-5.7 2.1,-31.5 L 184.1,52 h -8 -8.1 z"}}),r("path",{attrs:{d:"m 134.3,75 c -9.7,3.9 -12,17.2 -4.3,24.5 2.9,2.7 3.8,3 10,3 6.2,0 7.1,-0.3 10,-3 7.8,-7.5 5.3,-20.8 -4.6,-24.5 -3.1,-1.2 -8.1,-1.2 -11.1,0 z"}}),r("path",{attrs:{d:"m 113.2,110.2 c -0.8,0.8 -1.2,5.1 -1.2,12.9 v 11.7 l 7,4.2 7,4.2 v 23.9 c 0,13.2 -0.3,23.9 -0.6,23.9 -0.3,0 -2.6,-1.2 -5.2,-2.6 -18.4,-10.4 -20.7,-11.1 -21.7,-7.2 -0.3,1.3 -0.5,7 -0.3,12.8 l 0.3,10.4 7,4.3 c 3.9,2.4 7.7,4.6 8.5,5 0.8,0.4 5.5,3.1 10.3,6 4.8,2.9 9.1,5.3 9.4,5.3 0.4,0 1.4,0.7 2.4,1.6 0.9,0.8 2.5,1.6 3.6,1.6 1,0.1 7.7,-3.3 14.8,-7.6 7.2,-4.3 13.9,-8.3 15,-8.9 1.1,-0.7 4.3,-2.7 7.2,-4.4 L 182,204 v -10.9 c 0,-12.3 -0.4,-14.1 -3.1,-14.1 -1.8,0 -16.7,7.4 -21.4,10.6 -1.1,0.8 -2.3,1.4 -2.7,1.4 -0.4,0 -0.9,-13.8 -1,-30.7 L 153.5,129.6 143,123.7 C 127.3,114.9 116.1,109 115.2,109 c -0.4,0 -1.3,0.5 -2,1.2 z"}})])])},_2=[],C2=Y(g2,v2,_2,!1,null,null,null,null);const y2=C2.exports,b2=j.extend({name:"Inspection",components:{BaseIcon:ge},props:{color:{type:String,default:"white"}}});var x2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"22px",height:"22px",viewBox:"0 0 22 22",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"M 2.769531 2.769531 C 2.75 2.785156 2.734375 3.503906 2.734375 4.355469 L 2.734375 5.910156 L 3.859375 5.910156 L 3.859375 3.859375 L 5.914062 3.859375 L 5.902344 3.308594 L 5.886719 2.761719 L 4.34375 2.746094 C 3.496094 2.738281 2.789062 2.75 2.769531 2.769531 Z M 2.769531 2.769531 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 16.070312 3.296875 L 16.070312 3.859375 L 18.121094 3.859375 L 18.121094 5.910156 L 19.246094 5.910156 L 19.234375 4.332031 L 19.21875 2.761719 L 17.648438 2.746094 L 16.070312 2.734375 Z M 16.070312 3.296875 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 10.453125 5.378906 C 9.691406 5.441406 8.835938 5.707031 8.210938 6.078125 L 7.925781 6.242188 L 7.003906 6.261719 C 6.203125 6.28125 6.042969 6.300781 5.804688 6.394531 C 5.4375 6.535156 5.074219 6.878906 4.898438 7.253906 L 4.761719 7.546875 L 4.761719 14.433594 L 4.898438 14.710938 C 5.070312 15.0625 5.371094 15.367188 5.714844 15.527344 C 5.96875 15.644531 6.039062 15.65625 6.9375 15.679688 L 7.886719 15.703125 L 8.226562 15.894531 C 9.96875 16.886719 12.203125 16.855469 13.871094 15.832031 L 14.105469 15.6875 L 15.050781 15.667969 C 15.972656 15.65625 16 15.648438 16.273438 15.519531 C 16.632812 15.34375 17.007812 14.9375 17.128906 14.59375 C 17.214844 14.355469 17.21875 14.105469 17.21875 10.941406 L 17.21875 7.546875 L 17.085938 7.269531 C 16.929688 6.9375 16.613281 6.605469 16.304688 6.457031 C 15.992188 6.300781 15.621094 6.253906 14.796875 6.253906 L 14.082031 6.253906 L 13.574219 5.988281 C 12.617188 5.484375 11.585938 5.285156 10.453125 5.378906 Z M 11.644531 7.058594 C 12.519531 7.210938 13.1875 7.5625 13.824219 8.207031 C 14.6875 9.082031 15.097656 10.242188 14.953125 11.421875 C 14.742188 13.121094 13.5625 14.449219 11.894531 14.875 C 11.449219 14.992188 10.554688 14.992188 10.101562 14.882812 C 8.894531 14.589844 7.828125 13.714844 7.347656 12.621094 C 7.097656 12.054688 7.015625 11.644531 7.015625 10.988281 C 7.015625 10.34375 7.074219 10.023438 7.296875 9.464844 C 7.796875 8.238281 8.964844 7.300781 10.292969 7.0625 C 10.800781 6.96875 11.136719 6.96875 11.644531 7.058594 Z M 11.644531 7.058594 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 10.625 8.15625 C 9.515625 8.304688 8.578125 9.105469 8.238281 10.183594 C 8.097656 10.652344 8.097656 11.324219 8.246094 11.796875 C 8.535156 12.742188 9.335938 13.503906 10.28125 13.75 C 10.652344 13.84375 11.328125 13.84375 11.699219 13.75 C 12.9375 13.421875 13.824219 12.304688 13.832031 11.039062 C 13.84375 10.203125 13.578125 9.5625 12.996094 8.984375 C 12.351562 8.339844 11.507812 8.042969 10.625 8.15625 Z M 10.625 8.15625 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 2.746094 17.644531 L 2.761719 19.21875 L 5.886719 19.21875 L 5.902344 18.667969 L 5.914062 18.121094 L 3.859375 18.121094 L 3.859375 16.070312 L 2.734375 16.070312 Z M 2.746094 17.644531 "}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M 18.121094 17.097656 L 18.121094 18.121094 L 16.070312 18.121094 L 16.070312 19.246094 L 17.648438 19.234375 L 19.21875 19.21875 L 19.234375 17.644531 L 19.246094 16.070312 L 18.121094 16.070312 Z M 18.121094 17.097656 "}})])},w2=[],S2=Y(b2,x2,w2,!1,null,null,null,null);const T2=S2.exports,k2=j.extend({name:"Worker",components:{BaseIcon:ge}});var M2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({staticStyle:{"margin-right":"5px"},attrs:{small:!0,"view-box":"0 0 578.621 578.621",width:"30"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:"M47.5,345c-7.995,0-14.5,6.505-14.5,14.5S39.505,374,47.5,374S62,367.495,62,359.5S55.495,345,47.5,345z"}}),r("path",{attrs:{d:"M271.5,345c-7.995,0-14.5,6.505-14.5,14.5s6.505,14.5,14.5,14.5s14.5-6.505,14.5-14.5S279.495,345,271.5,345z"}}),r("path",{attrs:{d:`M455.5,352H367V239.5c0-8.547-6.953-15.5-15.5-15.5H335V71.5c0-8.547-6.953-15.5-15.5-15.5h-40c-4.142,0-7.5,3.358-7.5,7.5
47
47
  s3.358,7.5,7.5,7.5h8.5v185h-17v-8.5c0-12.958-10.542-23.5-23.5-23.5h-2.343l-23.814-83.352
48
48
  c-4.82-16.868-20.438-28.648-37.98-28.648H71.5C54.131,112,40,126.131,40,143.5v81.734c-9.29,3.138-16,11.93-16,22.266v70.747
49
49
  C9.679,326.437,0,341.854,0,359.5C0,385.691,21.309,407,47.5,407c14.114,0,26.803-6.195,35.511-16h152.979
@@ -58,7 +58,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
58
58
  c7.385,10.55,19.482,16.849,32.36,16.849H199.5c4.142,0,7.5-3.358,7.5-7.5v-96c0-4.687,3.813-8.5,8.5-8.5h32
59
59
  c4.687,0,8.5,3.813,8.5,8.5v67.111c-18.601,6.442-32,24.125-32,44.889c0,5.799,1.049,11.358,2.96,16.5H92.04z M271.5,392
60
60
  c-17.92,0-32.5-14.58-32.5-32.5s14.58-32.5,32.5-32.5s32.5,14.58,32.5,32.5S289.42,392,271.5,392z M303,323.989V71h16.5
61
- c0.276,0,0.5,0.224,0.5,0.5V336h-7.247C310.169,331.481,306.868,327.425,303,323.989z M335,336v-65h17v65H335z`}})])])},E2=[],$2=Y(k2,M2,E2,!1,null,null,null,null);const L2=$2.exports,D2=j.extend({name:"MiniModel",components:{BaseIcon:ge}});var P2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._g(e._b({attrs:{small:!0,width:"25",height:"25",viewBox:"0 0 25 25"}},"BaseIcon",e.$attrs,!1),e.$listeners),[r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 11.152344 2.546875 C 10.527344 2.90625 9.164062 3.691406 8.117188 4.296875 C 7.066406 4.902344 6.203125 5.40625 6.203125 5.421875 C 6.203125 5.433594 7.621094 6.265625 9.355469 7.265625 L 12.503906 9.085938 L 15.648438 7.265625 C 17.382812 6.265625 18.789062 5.425781 18.785156 5.40625 C 18.78125 5.382812 17.414062 4.59375 15.746094 3.652344 C 13.25 2.234375 12.6875 1.933594 12.5 1.917969 C 12.289062 1.898438 12.222656 1.929688 11.152344 2.546875 Z M 11.152344 2.546875 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 5.421875 10.164062 C 5.421875 13.5 5.425781 13.65625 5.515625 13.859375 C 5.578125 13.988281 5.679688 14.101562 5.796875 14.175781 C 5.894531 14.234375 7.273438 15.035156 8.863281 15.945312 L 11.742188 17.613281 L 11.757812 14 C 11.761719 12.007812 11.753906 10.367188 11.734375 10.347656 C 11.710938 10.320312 10.375 9.546875 8.765625 8.617188 C 7.152344 7.6875 5.742188 6.871094 5.628906 6.804688 L 5.421875 6.683594 Z M 5.421875 10.164062 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 16.429688 8.5 C 14.710938 9.496094 13.289062 10.328125 13.265625 10.347656 C 13.246094 10.367188 13.238281 12.011719 13.242188 14.003906 L 13.257812 17.621094 L 16.257812 15.890625 C 17.910156 14.9375 19.3125 14.105469 19.375 14.054688 C 19.433594 13.992188 19.507812 13.867188 19.535156 13.773438 C 19.566406 13.65625 19.578125 12.402344 19.570312 10.140625 L 19.554688 6.6875 Z M 16.429688 8.5 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 3.316406 11.734375 C 1.203125 12.792969 0 14.242188 0 15.746094 C 0 16.945312 0.804688 18.183594 2.195312 19.136719 C 3.078125 19.734375 4.359375 20.328125 5.59375 20.695312 C 6.1875 20.867188 6.207031 20.878906 6.1875 20.996094 C 6.175781 21.0625 6.101562 21.414062 6.03125 21.777344 L 5.890625 22.441406 L 5.996094 22.660156 C 6.117188 22.914062 6.390625 23.09375 6.644531 23.09375 C 6.742188 23.089844 7.640625 22.757812 8.742188 22.320312 C 10.8125 21.488281 10.945312 21.414062 11.015625 21.070312 C 11.089844 20.664062 11.085938 20.65625 9.515625 19.054688 C 8.710938 18.226562 7.976562 17.515625 7.894531 17.46875 C 7.808594 17.425781 7.675781 17.386719 7.597656 17.382812 C 7.386719 17.382812 7.066406 17.554688 6.96875 17.726562 C 6.917969 17.804688 6.804688 18.210938 6.714844 18.632812 C 6.617188 19.058594 6.53125 19.414062 6.519531 19.421875 C 6.453125 19.488281 4.730469 18.859375 4.066406 18.53125 C 2.8125 17.910156 2.046875 17.269531 1.675781 16.523438 C 1.503906 16.171875 1.488281 16.109375 1.492188 15.746094 C 1.492188 15.414062 1.519531 15.304688 1.640625 15.039062 C 1.9375 14.410156 2.597656 13.789062 3.539062 13.261719 L 3.953125 13.027344 L 3.953125 12.226562 C 3.953125 11.789062 3.949219 11.425781 3.941406 11.425781 C 3.9375 11.425781 3.652344 11.5625 3.316406 11.734375 Z M 3.316406 11.734375 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 21.046875 12.230469 L 21.046875 13.039062 L 21.253906 13.140625 C 22.226562 13.632812 23.054688 14.390625 23.378906 15.074219 C 23.558594 15.460938 23.5625 16.054688 23.390625 16.449219 C 22.648438 18.128906 19.300781 19.585938 15.148438 20.042969 C 14.710938 20.085938 14.445312 20.140625 14.339844 20.199219 C 13.890625 20.464844 13.882812 21.15625 14.320312 21.429688 C 14.535156 21.5625 14.804688 21.5625 15.789062 21.4375 C 18.628906 21.074219 21.15625 20.25 22.851562 19.132812 C 23.378906 18.785156 24.15625 18.042969 24.433594 17.613281 C 25.320312 16.246094 25.148438 14.648438 23.96875 13.355469 C 23.457031 12.796875 22.613281 12.191406 21.710938 11.734375 C 21.476562 11.617188 21.226562 11.5 21.164062 11.476562 L 21.046875 11.425781 Z M 21.046875 12.230469 "}})])},O2=[],z2=Y(D2,P2,O2,!1,null,null,null,null);const B2=z2.exports,I2=j.extend({name:"OtherTrucks"});var F2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("span",{staticClass:"px-3 py-1",style:{color:e.$attrs.color}},[e._v("?")])},A2=[],R2=Y(I2,F2,A2,!1,null,null,null,null);const Bi=R2.exports,H2=j.extend({name:"RoadVehicle",components:{BaseIcon:ge}});var N2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"40","view-box":"-25 -35 170 170"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:"M 26.921875 47.117188 C 26.921875 47.691406 26.25 48.078125 25.480469 48.078125 C 24.710938 48.078125 24.039062 48.460938 24.039062 48.847656 C 24.039062 49.230469 22.691406 50.382812 21.058594 51.347656 C 19.328125 52.308594 17.210938 53.941406 16.25 54.902344 C 15 56.152344 13.078125 56.730469 10.191406 56.730469 C 4.039062 56.730469 2.882812 57.402344 2.882812 60.960938 C 2.882812 62.691406 2.5 64.421875 2.019531 65 C 1.539062 65.480469 1.441406 67.597656 1.828125 69.710938 C 2.5 73.847656 4.039062 74.710938 10.867188 74.902344 C 14.230469 75 14.421875 74.808594 14.421875 72.019531 C 14.421875 68.558594 18.941406 63.460938 22.019531 63.460938 C 27.210938 63.460938 31.730469 68.078125 31.730469 73.558594 L 31.730469 75.960938 L 83.652344 75.960938 L 83.652344 72.5 C 83.652344 70 84.421875 68.367188 86.441406 66.25 C 89.617188 63.171875 92.019531 62.789062 96.058594 64.902344 C 99.132812 66.441406 100 68.078125 100 72.210938 C 100 74.617188 100.382812 75 102.691406 75 C 106.058594 75 109.617188 71.441406 109.617188 68.171875 C 109.617188 65.289062 103.847656 58.652344 101.347656 58.558594 C 100.289062 58.558594 98.652344 58.367188 97.597656 58.171875 C 96.539062 57.980469 92.882812 57.597656 89.421875 57.210938 C 83.558594 56.632812 80.289062 55.382812 65.960938 48.558594 C 61.632812 46.441406 60.191406 46.25 44.132812 46.25 C 33.847656 46.25 26.921875 46.632812 26.921875 47.117188 Z M 47.5 51.058594 C 48.652344 56.921875 49.039062 56.730469 37.019531 56.730469 C 24.519531 56.730469 23.652344 56.058594 29.328125 51.058594 C 32.5 48.269531 33.269531 48.078125 39.808594 48.078125 L 46.921875 48.078125 Z M 66.058594 50.671875 C 75.289062 54.710938 74.039062 56.152344 61.25 56.539062 C 52.882812 56.730469 50.960938 56.539062 50.960938 55.480469 C 50.960938 54.710938 50.671875 52.691406 50.382812 51.058594 L 49.808594 48.078125 L 54.902344 48.078125 C 58.460938 48.078125 61.921875 48.847656 66.058594 50.671875 Z M 66.058594 50.671875 "}}),r("path",{attrs:{d:"M 17.402344 67.882812 C 14.710938 71.347656 14.902344 73.652344 18.078125 76.921875 C 21.347656 80.191406 25 79.902344 27.882812 76.152344 C 30.382812 73.078125 30.289062 69.808594 27.691406 67.308594 C 24.617188 64.519531 19.902344 64.710938 17.402344 67.882812 Z M 17.402344 67.882812 "}}),r("path",{attrs:{d:"M 87.308594 67.019531 C 83.847656 71.152344 84.230469 75.867188 88.171875 77.980469 C 95.191406 81.730469 102.691406 72.882812 97.117188 67.308594 C 94.710938 64.902344 89.328125 64.710938 87.308594 67.019531 Z M 87.308594 67.019531 "}})])])},W2=[],j2=Y(H2,N2,W2,!1,null,null,null,null);const G2=j2.exports,q2=j.extend({name:"Roller",components:{BaseIcon:ge}});var Z2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({staticStyle:{"margin-right":"5px"},attrs:{small:!0,"view-box":"0 0 47.527 47.527",width:"20"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:`M44.998,25.451h2.529v-9.987h-3.273v-2.282h-8.437v2.282h-3.246l-5.972-6.283H14.551v6.283H0v9.986h2.722
61
+ c0.276,0,0.5,0.224,0.5,0.5V336h-7.247C310.169,331.481,306.868,327.425,303,323.989z M335,336v-65h17v65H335z`}})])])},E2=[],$2=Y(k2,M2,E2,!1,null,null,null,null);const L2=$2.exports,D2=j.extend({name:"MiniModel",components:{BaseIcon:ge}});var P2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._g(e._b({attrs:{small:!0,width:"25",height:"25",viewBox:"0 0 25 25"}},"BaseIcon",e.$attrs,!1),e.$listeners),[r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 11.152344 2.546875 C 10.527344 2.90625 9.164062 3.691406 8.117188 4.296875 C 7.066406 4.902344 6.203125 5.40625 6.203125 5.421875 C 6.203125 5.433594 7.621094 6.265625 9.355469 7.265625 L 12.503906 9.085938 L 15.648438 7.265625 C 17.382812 6.265625 18.789062 5.425781 18.785156 5.40625 C 18.78125 5.382812 17.414062 4.59375 15.746094 3.652344 C 13.25 2.234375 12.6875 1.933594 12.5 1.917969 C 12.289062 1.898438 12.222656 1.929688 11.152344 2.546875 Z M 11.152344 2.546875 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 5.421875 10.164062 C 5.421875 13.5 5.425781 13.65625 5.515625 13.859375 C 5.578125 13.988281 5.679688 14.101562 5.796875 14.175781 C 5.894531 14.234375 7.273438 15.035156 8.863281 15.945312 L 11.742188 17.613281 L 11.757812 14 C 11.761719 12.007812 11.753906 10.367188 11.734375 10.347656 C 11.710938 10.320312 10.375 9.546875 8.765625 8.617188 C 7.152344 7.6875 5.742188 6.871094 5.628906 6.804688 L 5.421875 6.683594 Z M 5.421875 10.164062 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 16.429688 8.5 C 14.710938 9.496094 13.289062 10.328125 13.265625 10.347656 C 13.246094 10.367188 13.238281 12.011719 13.242188 14.003906 L 13.257812 17.621094 L 16.257812 15.890625 C 17.910156 14.9375 19.3125 14.105469 19.375 14.054688 C 19.433594 13.992188 19.507812 13.867188 19.535156 13.773438 C 19.566406 13.65625 19.578125 12.402344 19.570312 10.140625 L 19.554688 6.6875 Z M 16.429688 8.5 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 3.316406 11.734375 C 1.203125 12.792969 0 14.242188 0 15.746094 C 0 16.945312 0.804688 18.183594 2.195312 19.136719 C 3.078125 19.734375 4.359375 20.328125 5.59375 20.695312 C 6.1875 20.867188 6.207031 20.878906 6.1875 20.996094 C 6.175781 21.0625 6.101562 21.414062 6.03125 21.777344 L 5.890625 22.441406 L 5.996094 22.660156 C 6.117188 22.914062 6.390625 23.09375 6.644531 23.09375 C 6.742188 23.089844 7.640625 22.757812 8.742188 22.320312 C 10.8125 21.488281 10.945312 21.414062 11.015625 21.070312 C 11.089844 20.664062 11.085938 20.65625 9.515625 19.054688 C 8.710938 18.226562 7.976562 17.515625 7.894531 17.46875 C 7.808594 17.425781 7.675781 17.386719 7.597656 17.382812 C 7.386719 17.382812 7.066406 17.554688 6.96875 17.726562 C 6.917969 17.804688 6.804688 18.210938 6.714844 18.632812 C 6.617188 19.058594 6.53125 19.414062 6.519531 19.421875 C 6.453125 19.488281 4.730469 18.859375 4.066406 18.53125 C 2.8125 17.910156 2.046875 17.269531 1.675781 16.523438 C 1.503906 16.171875 1.488281 16.109375 1.492188 15.746094 C 1.492188 15.414062 1.519531 15.304688 1.640625 15.039062 C 1.9375 14.410156 2.597656 13.789062 3.539062 13.261719 L 3.953125 13.027344 L 3.953125 12.226562 C 3.953125 11.789062 3.949219 11.425781 3.941406 11.425781 C 3.9375 11.425781 3.652344 11.5625 3.316406 11.734375 Z M 3.316406 11.734375 "}}),r("path",{staticStyle:{stroke:"none","fill-rule":"nonzero","fill-opacity":"1"},attrs:{d:"M 21.046875 12.230469 L 21.046875 13.039062 L 21.253906 13.140625 C 22.226562 13.632812 23.054688 14.390625 23.378906 15.074219 C 23.558594 15.460938 23.5625 16.054688 23.390625 16.449219 C 22.648438 18.128906 19.300781 19.585938 15.148438 20.042969 C 14.710938 20.085938 14.445312 20.140625 14.339844 20.199219 C 13.890625 20.464844 13.882812 21.15625 14.320312 21.429688 C 14.535156 21.5625 14.804688 21.5625 15.789062 21.4375 C 18.628906 21.074219 21.15625 20.25 22.851562 19.132812 C 23.378906 18.785156 24.15625 18.042969 24.433594 17.613281 C 25.320312 16.246094 25.148438 14.648438 23.96875 13.355469 C 23.457031 12.796875 22.613281 12.191406 21.710938 11.734375 C 21.476562 11.617188 21.226562 11.5 21.164062 11.476562 L 21.046875 11.425781 Z M 21.046875 12.230469 "}})])},O2=[],z2=Y(D2,P2,O2,!1,null,null,null,null);const B2=z2.exports,I2=j.extend({name:"OtherTrucks"});var F2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("span",{staticClass:"px-3 py-1",style:{color:e.$attrs.color}},[e._v("?")])},A2=[],R2=Y(I2,F2,A2,!1,null,null,null,null);const zi=R2.exports,H2=j.extend({name:"RoadVehicle",components:{BaseIcon:ge}});var N2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"40","view-box":"-25 -35 170 170"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:"M 26.921875 47.117188 C 26.921875 47.691406 26.25 48.078125 25.480469 48.078125 C 24.710938 48.078125 24.039062 48.460938 24.039062 48.847656 C 24.039062 49.230469 22.691406 50.382812 21.058594 51.347656 C 19.328125 52.308594 17.210938 53.941406 16.25 54.902344 C 15 56.152344 13.078125 56.730469 10.191406 56.730469 C 4.039062 56.730469 2.882812 57.402344 2.882812 60.960938 C 2.882812 62.691406 2.5 64.421875 2.019531 65 C 1.539062 65.480469 1.441406 67.597656 1.828125 69.710938 C 2.5 73.847656 4.039062 74.710938 10.867188 74.902344 C 14.230469 75 14.421875 74.808594 14.421875 72.019531 C 14.421875 68.558594 18.941406 63.460938 22.019531 63.460938 C 27.210938 63.460938 31.730469 68.078125 31.730469 73.558594 L 31.730469 75.960938 L 83.652344 75.960938 L 83.652344 72.5 C 83.652344 70 84.421875 68.367188 86.441406 66.25 C 89.617188 63.171875 92.019531 62.789062 96.058594 64.902344 C 99.132812 66.441406 100 68.078125 100 72.210938 C 100 74.617188 100.382812 75 102.691406 75 C 106.058594 75 109.617188 71.441406 109.617188 68.171875 C 109.617188 65.289062 103.847656 58.652344 101.347656 58.558594 C 100.289062 58.558594 98.652344 58.367188 97.597656 58.171875 C 96.539062 57.980469 92.882812 57.597656 89.421875 57.210938 C 83.558594 56.632812 80.289062 55.382812 65.960938 48.558594 C 61.632812 46.441406 60.191406 46.25 44.132812 46.25 C 33.847656 46.25 26.921875 46.632812 26.921875 47.117188 Z M 47.5 51.058594 C 48.652344 56.921875 49.039062 56.730469 37.019531 56.730469 C 24.519531 56.730469 23.652344 56.058594 29.328125 51.058594 C 32.5 48.269531 33.269531 48.078125 39.808594 48.078125 L 46.921875 48.078125 Z M 66.058594 50.671875 C 75.289062 54.710938 74.039062 56.152344 61.25 56.539062 C 52.882812 56.730469 50.960938 56.539062 50.960938 55.480469 C 50.960938 54.710938 50.671875 52.691406 50.382812 51.058594 L 49.808594 48.078125 L 54.902344 48.078125 C 58.460938 48.078125 61.921875 48.847656 66.058594 50.671875 Z M 66.058594 50.671875 "}}),r("path",{attrs:{d:"M 17.402344 67.882812 C 14.710938 71.347656 14.902344 73.652344 18.078125 76.921875 C 21.347656 80.191406 25 79.902344 27.882812 76.152344 C 30.382812 73.078125 30.289062 69.808594 27.691406 67.308594 C 24.617188 64.519531 19.902344 64.710938 17.402344 67.882812 Z M 17.402344 67.882812 "}}),r("path",{attrs:{d:"M 87.308594 67.019531 C 83.847656 71.152344 84.230469 75.867188 88.171875 77.980469 C 95.191406 81.730469 102.691406 72.882812 97.117188 67.308594 C 94.710938 64.902344 89.328125 64.710938 87.308594 67.019531 Z M 87.308594 67.019531 "}})])])},W2=[],j2=Y(H2,N2,W2,!1,null,null,null,null);const G2=j2.exports,q2=j.extend({name:"Roller",components:{BaseIcon:ge}});var Z2=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({staticStyle:{"margin-right":"5px"},attrs:{small:!0,"view-box":"0 0 47.527 47.527",width:"20"}},"BaseIcon",e.$attrs,!1),[r("g",[r("path",{attrs:{d:`M44.998,25.451h2.529v-9.987h-3.273v-2.282h-8.437v2.282h-3.246l-5.972-6.283H14.551v6.283H0v9.986h2.722
62
62
  c0.293-2.632,2.199-4.759,4.685-5.333v4.098c-0.045,0-0.089,0.005-0.134,0.016c-0.245,0.049-0.442,0.232-0.509,0.475
63
63
  c-0.016,0.057-0.032,0.111-0.048,0.166c-0.046-0.036-0.09-0.071-0.135-0.109c-0.122-0.102-0.272-0.153-0.424-0.153
64
64
  c-0.092,0-0.181,0.021-0.265,0.057c-0.229,0.098-0.385,0.315-0.401,0.566c0,0.004-0.002,0.005-0.002,0.009
@@ -199,6 +199,6 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
199
199
  l-10.356-91.456l-33.469-1.377l-5.881-16.18c22.424-4.581,39.302-23.906,40.545-47.373l-100.75-13.359
200
200
  c-0.736,3.442-1.157,7.009-1.157,10.672c0,17.681,8.989,33.258,22.644,42.429l-0.889-0.096l-20.167,16.954l-25.838-2.17L0,221.497
201
201
  v75.477l45.059,11.131L38.384,420.339z M28.688,269.558v-22.539l19.125-17.471v44.313L28.688,269.558z`}}),r("path",{attrs:{d:`M182.443,107.77l15.31,2.027c2.037-45.508-17.738-75.286-53.541-80.029c-2.936-0.392-5.843-0.583-8.721-0.583
202
- c-31.709,0-54.784,23.208-63.82,63.896l13.34,1.769L182.443,107.77z`}})])])},jl=[],Gl=Y(Nl,Wl,jl,!1,null,null,null,null);const ql=Gl.exports,Zl=j.extend({name:"ZohoCrm",components:{BaseIcon:ge},props:{color:{type:String,default:"grey"}}});var Ul=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{height:"20",width:"20",viewBox:"16 -9 5 40",small:!0,color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{stroke:e.color,"stroke-width":"1",d:"M26.2 24c-3.2 0-6.2-1.2-8.4-3.5l-6.6-6.6c-.8-.8-1.2-1.8-1.2-2.9s.4-2.1 1.2-2.9C11.9 7.4 12.9 7 14 7c1.1 0 2.1.4 2.9 1.2l6.1 6.1c.7.7 1.9.7 2.6 0 .3-.3.5-.8.5-1.3s-.2-1-.5-1.3L19 5.1c-2-1.9-4.4-2.9-7-2.9-2.7 0-5.1 1-7 2.9-1.8 1.9-2.8 4.4-2.8 7 .1 2.6 1.1 5 2.9 6.8 1.8 1.8 4.3 2.8 6.8 2.8.9 0 1.9-.1 2.8-.4.6-.2 1.2.2 1.4.8.2.6-.2 1.2-.8 1.4-1 .4-2.1.5-3.3.5-3.2 0-6.2-1.2-8.4-3.4C1.3 18.4.1 15.4 0 12.3c0-1.7.3-3.3.9-4.8s1.4-2.8 2.5-3.9 2.4-2 3.8-2.6c1.5-.6 3.1-1 4.7-1 3.2 0 6.2 1.2 8.4 3.5l6.6 6.6c.8.8 1.2 1.8 1.2 2.9s-.4 2.1-1.2 2.9c-1.6 1.6-4.2 1.6-5.7 0l-6.1-6.1c-.7-.7-1.9-.7-2.6 0-.3.3-.5.8-.5 1.3s.2 1 .5 1.3l6.6 6.6c1.8 1.8 4.3 2.8 6.9 2.8s5.1-1 6.9-2.9c1.8-1.8 2.9-4.3 2.9-6.9s-1-5.1-2.9-6.9c-1.8-1.8-4.3-2.9-6.9-2.9-.8 0-1.7.1-2.5.3-.1 0-.2.1-.3.1-.6.2-1.2-.2-1.4-.8-.2-.6.2-1.2.8-1.4.1 0 .3-.1.4-.1 1-.3 2-.4 3-.4 1.6 0 3.2.3 4.7.9 1.4.6 2.7 1.5 3.8 2.6s2 2.4 2.6 3.8c.6 1.5.9 3.1.9 4.7 0 3.2-1.3 6.2-3.5 8.5-2.1 2.4-5.1 3.6-8.3 3.6z"}})])},Yl=[],Xl=Y(Zl,Ul,Yl,!1,null,null,null,null);const Ql=Xl.exports,Vl=j.extend({name:"Tag",components:{BaseIcon:ge},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var Kl=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"24",height:"24",viewBox:"0 0 24 24"}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{fill:e.color,d:"M22,4C22,2.89 21.1,2 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z"}}),r("line",{attrs:{x1:"6",y1:"7",x2:"18",y2:"7",stroke:e.backgroundColor,"stroke-width":"2"}}),r("line",{attrs:{x1:"6",y1:"10",x2:"18",y2:"10",stroke:e.backgroundColor,"stroke-width":"2"}}),r("line",{attrs:{x1:"6",y1:"13",x2:"18",y2:"13",stroke:e.backgroundColor,"stroke-width":"2"}})])},Jl=[],e3=Y(Vl,Kl,Jl,!1,null,null,null,null);const t3=e3.exports,r3=j.extend({name:"Tag",components:{BaseIcon:ge},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var n3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"24",height:"24",viewBox:"0 0 24 24"}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{fill:e.color,d:"M22,4C22,2.89 21.1,2 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z"}}),r("line",{attrs:{x1:"12",y1:"6",x2:"12",y2:"14",stroke:e.backgroundColor,"stroke-width":"2"}}),r("line",{attrs:{x1:"8",y1:"10",x2:"16",y2:"10",stroke:e.backgroundColor,"stroke-width":"2"}})])},i3=[],s3=Y(r3,n3,i3,!1,null,null,null,null);const a3=s3.exports,o3={Bim:y5,Blur:T5,Compare:L5,ConcretePump:B5,CompactExcavator:zi,DroneView:H5,Dumper:q5,Evercam:Q5,EvercamLogo:t2,Excavator:zi,FlatbedSemiTrailer:u2,FreeDrawing:m2,IModel:y2,Inspection:T2,Loader:L2,MiniModel:B2,OtherTruck:Bi,RoadVehicle:G2,Roller:X2,Robot:el,SemiTrailer:sl,SkidSteerLoader:ul,SmallTruck:ml,TankTruck:yl,The360:Tl,TippingTruck:Ll,TruckHead:Bl,TruckMixer:Hl,Unknown:Bi,Worker:ql,ZohoCrm:Ql,Tag:t3,TagPlus:a3},l3=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Ii=Object.fromEntries(Object.entries(o3).map(([t,e])=>[l3(t),e])),c3=j.extend({name:"ESvgIcon",components:{...Ii},props:{icon:{type:String,default:""}},computed:{svgIconComponent(){return Ii[this.icon]}}});var u3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r(e.svgIconComponent,e._g(e._b({tag:"component",staticClass:"e-svg-icon"},"component",e.$attrs,!1),e.$listeners))},d3=[],h3=Y(c3,u3,d3,!1,null,null,null,null);const Fi=h3.exports,Q8="",f3={name:"ECalendarHeatmap",components:{EIcon:rt},mixins:[Ge],props:{items:{type:Array,default:()=>[]},startDate:{type:String,default:""},endDate:{type:String,default:""},dayRectSize:{type:Number,default:11},dayGutterSize:{type:Number,default:2},monthGutterSize:{type:Number,default:12},textSize:{type:Number,default:11},borderRadius:{type:Number,default:1},disableMissing:{type:Boolean,default:!1},selectedDate:{type:[String],default:""},labelFn:{type:Function,default:({date:t,count:e})=>`${t}, ${e}`},isDisabledFn:{type:Function,default:()=>!1},highlightColorFn:{type:[Function,null],default:null},colors:{type:Array,default:()=>["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"]},visibleWeekDays:{type:Array,default:()=>[1,3,5]},controls:{type:Boolean,default:!0},legend:{type:Boolean,default:!0},fullWidth:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},disabledColor:{type:String,default:"#bababa"}},data(){return{tooltipVisibility:!1,tooltipPositionX:0,tooltipPositionY:0,tooltipContent:"",hoveredDayDate:"",smallTextRatio:.9,daysOffset:0}},computed:{_startDate(){return this._moment(this.startDate).add({days:this.daysOffset}).format("YYYY-MM-DD")},_endDate(){return this._moment(this.endDate).add({days:this.daysOffset}).format("YYYY-MM-DD")},svgWidth(){const t=this._moment(this._endDate).format("YYYY-MM");return this.fullWidth?"calc(100% - 30px)":this.monthsHorizontalTranslations[t]+this.getMonthWidth(this._endDate)},svgHeight(){return this.monthOffsetTop+this.monthHeight+(this.legend?2*this.dayRectSize:0)},maxCount(){return this.items.reduce((t,e)=>Math.max(e.count,t),0)},itemsMap(){return this.items.reduce((t,e)=>({...t,[e.day]:{...e,count:e.count,label:this.labelFn(e),disabled:e.disabled}}),{})},datesTree(){let t={},e=this._moment(this._startDate);const r=new Date(this._endDate).getTime();for(;e<=r;){const n=e.format("YYYY"),s=e.format("MM"),l=e.format("YYYY-MM-DD");let i={...this.itemsMap[l],date:l,selected:l===this.selectedDate};this.itemsMap[l]||(i={...i,count:0,date:l,disabled:this.isDisabledFn(l)},i={...i,label:this.labelFn(i)}),t={...t,[`${n}-${s}`]:{...t[`${n}-${s}`],[l]:{...i,weekDay:e.day(),weekNumber:this.getWeekOfMonth(e)}}},e.add({days:1})}return t},monthsHorizontalTranslations(){const t=this._moment(this._startDate),e=this._moment(this._startDate).startOf("month"),r=this.dayFullSize*(this.getWeekOfMonth(t)-this.getWeekOfMonth(e)),n=this._moment(this._startDate).startOf("month"),s=this._moment(this._endDate).startOf("month"),l=this._moment(n);let i={},h=-r,a;for(;l<=s;){let o=a?this.getMonthWidth(a):0;const u=l.startOf("month").day()===0;let f=0;u&&l>n&&(f=this.monthGutterSize);let m=this.dayFullSize;h+=o+this.monthGutterSize-m+f,i[l.format("YYYY-MM")]=h,a=l.clone(),l.add({months:1})}return i},dayFullSize(){return this.dayRectSize+this.dayGutterSize},monthOffsetTop(){return this.textSize*2},monthOffsetLeft(){return 2.5*this.textSize},monthHeight(){return this.dayFullSize*7},textStyle(){return{fontSize:`${this.textSize}px`}},legendStyle(){const t=this.dayRectSize/2;return{transform:`translate(${t+this.monthOffsetLeft}px, ${this.monthHeight+this.monthOffsetTop+t}px)`}},legendPrefixTextStyle(){return{fontSize:this.textSize*this.smallTextRatio,transform:`translate(${this.dayGutterSize*2}px, ${this.dayRectSize*this.smallTextRatio}px)`,fill:this.fillTextColor}},legendPrefixTextWidth(){return 4*this.textSize*this.smallTextRatio-2*this.dayGutterSize},legendSuffixTextStyle(){const t=(this.dayRectSize+this.dayGutterSize*2)*this.colors.length+this.legendPrefixTextWidth,e=this.dayGutterSize;return{fontSize:this.textSize*this.smallTextRatio,transform:`translate(${e+t}px, ${this.dayRectSize*this.smallTextRatio}px)`,fill:this.fillTextColor}},fillTextColor(){return this.isDark?"white":"black"}},methods:{_moment(...t){return Se(...t).locale("en")},getWeekOfMonth(t){let e=t.week();return t.year()!==t.weekYear()&&(e=t.clone().subtract(1,"week").week()+1),e-this._moment(t).startOf("month").week()+1},getWeekDayTextStyle(t){return this.visibleWeekDays.includes(t)?{...this.textStyle,transform:`translate(${this.dayRectSize}px, ${t*this.dayFullSize+3*this.textSize/4+this.monthOffsetTop}px)`,fill:this.fillTextColor}:{display:"none"}},getMonthTextStyle(t,e){const r=Se.duration(this._moment(this._endDate).diff(this._moment(e))).asDays(),n=Se.duration(this._moment(e).endOf("month").diff(this._moment(this._startDate))).asDays();if(r<15||n<15)return{display:"none"};const s=this.isStartOfYear(e)?this.textSize:0;return{...this.textStyle,transform:`translate(${this.getMonthWidth(e)/2+this.textSize/3-s}px, -${this.textSize*2/3}px)`,fill:this.fillTextColor}},getMonthStyle(t,e){return{transform:`translate(${this.monthsHorizontalTranslations[e]+this.monthOffsetLeft}px, ${this.monthOffsetTop}px)`}},getMonthWidth(t){const e=this._moment(t).endOf("month");return this.dayFullSize*this.getWeekOfMonth(e)},getHighlightStyle(t,e){if(!this.highlightColorFn||typeof this.highlightColorFn!="function")return{};const r=this.highlightColorFn(e);return r?{strokeWidth:t.selected?2:1,stroke:r}:{}},getDayStyle(t,e){let r={};return t.selected&&(r={stroke:this.fillTextColor}),{transform:`translate(${t.weekNumber*this.dayFullSize}px, ${t.weekDay*this.dayFullSize}px)`,fill:`${this.getDayColor(t.count)}`,...this.getHighlightStyle(t,e),...r}},getDisabledDayPath(t){const e=t.weekNumber*this.dayFullSize,r=t.weekDay*this.dayFullSize,n=e+this.dayRectSize,s=r+this.dayRectSize,l=e+this.dayRectSize/2,i=r+this.dayRectSize/2;return[`M ${e} ${r}`,`L ${l} ${i}`,`L ${e} ${s}`,`M ${n} ${r}`,`L ${l} ${i}`,`L ${n} ${s}`].join(" ")},getDayColor(t){const e=Math.ceil(t/this.maxCount*(this.colors.length-1));return this.colors[e]},getLegendRectStyle(t){return{transform:`translateX(${(this.dayRectSize+this.dayGutterSize*2)*t+this.legendPrefixTextWidth}px)`}},isStartOfYear(t){return Se(t).get("month")===0},getMonthText(t){return this._moment(t).format(this.isStartOfYear(t)?"MMM YYYY":"MMM")},onDayRectMouseEnter(t,e){this.tooltipContent=e.label,this.tooltipVisibility=!0,this.hoveredDayDate=e.date,this.$nextTick(()=>{this.calculateTooltipPosition(t)})},calculateTooltipPosition(t){var u;const e=this.$el.getBoundingClientRect(),r=((u=t.target)==null?void 0:u.getBoundingClientRect())||{x:0,y:0},n=r.left-e.left,s=r.top-e.top,l=r.bottom-e.top,i=this.$refs.tooltip.clientWidth,h=this.$refs.tooltip.clientHeight;let a=n+r.width/2-i/2;a+e.left<e.left?a=0:a+e.left+i>=e.right&&(a=e.width-i);let o=s-h-this.dayFullSize/2;o+e.top<=e.top&&(o=l+this.dayFullSize/2),this.tooltipPositionX=a,this.tooltipPositionY=o},onDayRectMouseLeave(){this.tooltipVisibility=!1,this.hoveredDayDate=""}}};var p3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-heatmap-calendar overflow-x-hidden",class:{"e-text-white":e.isDark}},[e.controls?r("div",{staticClass:"e-heatmap-calendar__control-left",on:{click:function(n){e.daysOffset-=30}}},[r("EIcon",{attrs:{icon:"angle-left",size:"xs"}})],1):e._e(),r("svg",{attrs:{width:e.svgWidth,height:e.svgHeight}},[r("g",[r("g",e._l(Array(7),function(n,s){return r("text",{key:s,style:e.getWeekDayTextStyle(s)},[e._v(" "+e._s(e._moment().day(s).format("ddd"))+" ")])}),0),e._l(e.datesTree,function(n,s,l){return r("g",{key:s,staticClass:"e-heatmap-calendar__month",style:e.getMonthStyle(l,s)},[r("text",{style:e.getMonthTextStyle(l,s)},[e._v(" "+e._s(e.getMonthText(s))+" ")]),e._l(n,function(i,h){return r("g",{key:`${h}`,staticClass:"e-heatmap-calendar__day",class:{"e-heatmap-calendar__day--hovered":e.hoveredDayDate===h,"e-heatmap-calendar__day--disabled":i.disabled,"e-heatmap-calendar__day--selected":i.selected}},[r("rect",{style:e.getDayStyle(i,h),attrs:{rx:e.borderRadius,height:e.dayRectSize,width:e.dayRectSize},on:{mouseenter:a=>e.onDayRectMouseEnter(a,i),mouseleave:e.onDayRectMouseLeave,mouseup:function(a){return e.$emit("item-selected",i)}}}),i.disabled?r("path",{style:`stroke: ${e.disabledColor};`,attrs:{d:e.getDisabledDayPath(i)}}):e._e()])})],2)}),e.legend&&!e.$slots.customLegend?r("g",{style:e.legendStyle},[r("text",{style:e.legendPrefixTextStyle},[e._v("less")]),e._l(e.colors,function(n,s){return r("rect",{key:s,style:e.getLegendRectStyle(s),attrs:{height:e.dayRectSize,width:e.dayRectSize,fill:n,rx:e.borderRadius}})}),r("text",{style:e.legendSuffixTextStyle},[e._v("more")])],2):e._e(),r("foreignObject",{attrs:{height:e.svgHeight,width:e.svgWidth,"pointer-events":"none"}},[r("div",{staticClass:"e-heatmap-calendar__custom-legend"},[e._t("customLegend")],2)])],2)]),r("div",{ref:"tooltip",staticClass:"e-heatmap-calendar__tooltip",class:{"e-heatmap-calendar__tooltip--visible":e.tooltipVisibility},style:{top:e.tooltipPositionY+"px",left:e.tooltipPositionX+"px"}},[e._v(" "+e._s(e.tooltipContent)+" ")]),e.controls?r("div",{staticClass:"e-heatmap-calendar__control-right",on:{click:function(n){e.daysOffset+=30}}},[r("EIcon",{attrs:{icon:"angle-right",size:"sm"}})],1):e._e()])},m3=[],g3=Y(f3,p3,m3,!1,null,"9a68e6f6",null,null);const Ai=g3.exports,v3=j.extend({name:"EFlagIcon",props:{code:{type:String,required:!0}},computed:{flagCountryIcon(){var t;return`fi fi-${(t=this.code)==null?void 0:t.toLowerCase()}`}}}),V8="";var _3=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.code?r("span",{class:e.flagCountryIcon}):e._e()},C3=[],y3=Y(v3,_3,C3,!1,null,null,null,null);const Ri=y3.exports,b3=j.extend({name:"EToggleSwitch",model:{prop:"value",event:"switch-value-change"},props:{options:{type:Array,required:!0},color:{type:String,default:"brand"},size:{type:String,default:J.sm},defaultValue:{type:[String,Number,Boolean],default:null},value:{type:[String,Number,Boolean],default:null}},computed:{sizeClasses(){return{container:{"e-p-1 e-leading-3":this.size===J.sm,"e-p-1.5":this.size===J.md,"e-p-2":this.size===J.lg},button:{"e-py-[.2rem] e-p-1 e-rounded-md":this.size===J.sm,"e-p-1":this.size===J.md,"e-p-1.5":this.size===J.lg},text:{"e-text-xs":this.size===J.sm,"e-text-sm":this.size===J.md,"e-text-base":this.size===J.lg}}},containerClasses(){return{...this.sizeClasses.container,"e-flex e-items-center e-justify-center e-w-fit e-h-min e-bg-gray-900 e-rounded-md e-e-shadow-md e-transition-colors e-duration-200 e-ease-in-out":!0}},textClasses(){return{...this.sizeClasses.text,"e-font-medium":!0}},buttonBaseClasses(){return{"e-cursor-pointer":!0,"e-text-gray-100 e-rounded-md e-shadow e-transition e-duration-200 e-ease-in-out":!0}}},methods:{onValueChange(t){const e=t.target;this.$emit("switch-value-change",e.checked)},getButtonClasses(t){const e={"e-border-none":!0,"e-bg-inherit":this.value!==t,"e-bg-brand-600":this.color==="brand"&&this.value===t,"e-bg-gray-600":!["primary","brand"].includes(this.color)&&this.value===t,"e-bg-[#629efc] e-text-gray-900 e-font-normal":this.color==="primary"&&this.value===t};return{...this.buttonBaseClasses,...this.sizeClasses.button,...e}},handleClick(t){this.$emit("switch-value-change",t)}}});var x3=function(){var e=this,r=e._self._c;return r("div",{class:e.containerClasses},[r("input",{staticClass:"e-hidden",attrs:{id:"toggle",type:"checkbox"},on:{change:e.onValueChange}}),e._l(e.options,function(n){return r("button",{key:n.value,class:e.getButtonClasses(n.value),on:{click:function(s){return e.handleClick(n.value)}}},[r("span",{class:e.textClasses},[e._v(e._s(n.title))])])})],2)},w3=[],S3=Y(b3,x3,w3,!1,null,null,null,null);const Hi=S3.exports,Ni=j.extend({mixins:[Ve,Ge],data(){return{inactivityListeners:[],isInactivityListenerActive:!1}},beforeDestroy(){this.$removeInactivityListeners()},methods:{resetInactivityListenerTimer(t=()=>{},e=0,r=[]){this.isInactivityListenerActive&&(this.$clearTimeouts(),this.setInactivityListenerTimer(t,e,r))},setInactivityListenerTimer(t=()=>{},e=0,r=[]){t&&e&&this.$setTimeout(()=>{t(),r.length>0&&this.setInactivityListenerReminderTimers(t,r)},e*1e3)},setInactivityListenerReminderTimers(t=()=>{},e=[],r=0){const n=e[r];r<e.length?this.$setTimeout(()=>{t(),this.setInactivityListenerReminderTimers(t,e,r+1)},n*1e3):this.isInactivityListenerActive&&this.$removeInactivityListeners()},$registerInactivityListener({callback:t=()=>{},duration:e=0,reminders:r=[]}){this.isInactivityListenerActive=!0,this.resetInactivityListenerTimer(t,e,r);const n=()=>this.resetInactivityListenerTimer(t,e,r);this.$addEventListener("mousemove",n),this.inactivityListeners.push(n)},$removeInactivityListeners(){this.isInactivityListenerActive&&(this.isInactivityListenerActive=!1,this.inactivityListeners.forEach(t=>{this.$removeEventListener("mousemove",t)}),this.$clearTimeouts())}}}),Wi=Object.freeze(Object.defineProperty({__proto__:null,eventListeners:Ve,inactivityListener:Ni,timeouts:Ge},Symbol.toStringTag,{value:"Module"})),T3=j.extend({name:"EGlobalSearch",components:{EIcon:rt},mixins:[Ve],props:{dark:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},timezone:{type:String,default:"Europe/Dublin"},convertedDateFormat:{type:String,default:"YYYY-MM-DDTHH:mm:ss"},currentDateFormat:{type:String,default:"YYYY-MM-DDTHH:mm:ssZ"},isFixedPosition:{type:Boolean,default:!0},isHidden:{type:Boolean,default:!0},deep:{type:Boolean,default:!0}},data(){return{search:"",isSearching:!1}},computed:{inputClasses(){return{"e-bg-gray-900 e-text-white e-ring-gray-700 focus:e-ring-2 focus:e-ring-blue-500 e-placeholder-gray-500":this.dark,"e-bg-white e-text-[#000057] e-ring-gray-300 hover:e-ring-gray-100 focus:e-ring-blue-500 e-placeholder-gray-400":!this.dark}}},watch:{search(t){t?t.length>=3&&this.$emit("search-results",this.searchObjectsByQuery(this.items,t)):this.$emit("reset")}},mounted(){!this.isHidden&&this.search.length>0?this.isSearching=!0:(this.$addEventListener("keydown",this.onKeyHandler),this.$addEventListener("keyup",this.onKeyHandler))},methods:{onInput(t){this.search=t.target.value},searchObjectsByQuery(t,e){return t.reduce((r,n,s)=>{const l=this.findMatchesInObject(n,e,[]);return l.length>0&&r.push({index:s,matches:l}),r},[])},findMatchesInObject(t,e,r){return Object.entries(t).reduce((n,[s,l])=>{const i=[...r,s],h=this.matchesQuery(l,e)?[{path:i,value:l}]:[];let a=[];this.deep&&Array.isArray(l)&&(a=l.flatMap((u,f)=>this.findMatchesInObject(u,e,[...i,`${f}`])));const o=this.deep&&typeof l=="object"&&l!==null?this.findMatchesInObject(l,e,i):[];return[...n,...h,...a,...o]},[])},matchesQuery(t,e){return`${this.isValidDate(t)?this.formattedTimestamp(t):t}`.toLowerCase().indexOf(e.toLowerCase())!==-1},isValidDate(t){return Se(t,this.currentDateFormat,!0).isValid()},formattedTimestamp(t){return Se.tz(t,this.timezone).format(this.convertedDateFormat)},onKeyHandler(t){const e=t,r=e.ctrlKey&&e.type==="keydown",n=e.shiftKey&&e.type==="keydown",s=["f","F"].includes(e.key)&&e.type==="keydown",l=e.key==="Escape"&&e.type==="keydown";s&&r&&n&&(this.isSearching=!0,this.$nextTick(()=>{const i=this.$refs.searchField;i&&i.focus()})),l&&(this.isSearching=!1,this.search="")}}}),K8="";var k3=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFixedPosition||e.isSearching,expression:"!isFixedPosition || isSearching"}],staticClass:"global-search e-relative",class:{"global-search--fixed e-p-4 e-bg-white e-m-3":e.isFixedPosition}},[r("div",{staticClass:"e-relative"},[r("input",e._g({directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],ref:"searchField",class:["global-search__field e-shadow-sm e-ring-1 e-ring-inset e-relative e-block e-w-full e-h-full disabled:e-cursor-not-allowed disabled:e-opacity-75 focus:e-outline-none e-border-0 e-text-sm e-placeholder-gray-400 e-px-4 e-py-3 e-gap-x-1.5 e-rounded-md",e.inputClasses],attrs:{id:"global-search-input",placeholder:"Search",autocomplete:"off",type:"text"},domProps:{value:e.search},on:{input:function(n){n.target.composing||(e.search=n.target.value)}}},e.$listeners)),r("span",{staticClass:"e-absolute e-inset-y-0 e-end-0 e-flex e-items-center e-justify-center e-pointer-events-none e-px-2.5"},[r("EIcon",{attrs:{icon:"search",size:"sm"}})],1)])])},M3=[],E3=Y(T3,k3,M3,!1,null,null,null,null);const ji=E3.exports,$3=j.extend({name:"ETooltip",props:{text:{type:String,required:!0},position:{type:String,default:Oe.top},color:{type:String,default:ae.default},dark:{type:Boolean,default:!1}},computed:{tooltipClasses(){const t=this.position,e=this.color,r={"e-bg-gray-800 e-text-white":!this.dark,"e-bg-slate-300 e-text-slate-800":this.dark};return{"tooltip e-w-max e-text-sm e-text-center e-px-3 e-py-2 e-absolute e-rounded-md e-shadow-md e-opacity-0 group-hover:e-opacity-100 e-transition-opacity e-duration-300":!0,"tooltip-left":t===Oe.left,"tooltip-right":t===Oe.right,"tooltip-top":t===Oe.top,"tooltip-bottom":t===Oe.bottom,"e-bg-orange-700 e-text-white":e===ae.warning,"e-bg-red-700 e-text-white":e===ae.error,"e-bg-green-900 e-text-white":e===ae.success,"e-bg-blue-700 e-text-white":e===ae.primary,"e-bg-sky-500 e-text-white":e===ae.info,"e-bg-brand-900 e-text-white":e===ae.brand,"e-bg-gray-200 e-text-gray-700":e===ae.gray,...r}},triangleClasses(){const t=this.position,e=this.color;return{"triangle e-absolute e-border-transparent":!0,"triangle-left":t===Oe.left,"triangle-right":t===Oe.right,"triangle-top":t===Oe.top,"triangle-bottom":t===Oe.bottom,"e-border-b-gray-800":e===ae.default,"e-border-b-orange-700":e===ae.warning,"e-border-b-red-700":e===ae.error,"e-border-b-green-900":e===ae.success,"e-border-b-blue-700":e===ae.primary,"e-border-b-sky-500":e===ae.info,"e-border-b-brand-900":e===ae.brand,"e-border-b-gray-900":e===ae.gray}}}}),J8="";var L3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"tooltip-box e-w-max e-relative e-group"},[e._t("default"),r("div",{class:e.tooltipClasses},[r("span",{class:e.triangleClasses}),e._v(" "+e._s(e.text)+" ")])],2)},D3=[],P3=Y($3,L3,D3,!1,null,"27d33b1f",null,null);const Qr=P3.exports,O3=j.extend({name:"EActionButton",components:{ETooltip:Qr,EIcon:rt},props:{tooltipText:{type:String,default:null},tooltipColor:{type:String,default:"default"},tooltipPosition:{type:String,default:"top"},buttonClasses:{type:[String,Object,Array],default:null},icon:{type:String,default:null},iconSize:{type:String,default:J.sm},iconColor:{type:String,default:ae.default},dark:{type:Boolean,default:!0}},computed:{withTooltip(){return!!this.tooltipText},buttonClassesContainsBg(){return this.buttonClasses?typeof this.buttonClasses=="string"&&this.buttonClasses.split("e-bg-").length>1||typeof this.buttonClasses=="object"&&Object.keys(this.buttonClasses).some(t=>t.split("e-bg-").length>1):!1},buttonStyle(){const t=this.dark?"e-bg-gray-900 e-text-white hover:e-bg-gray-700":"e-bg-white text-e-text-gray-900 hover:e-bg-gray-100";return this.buttonClassesContainsBg?this.buttonClasses:[this.buttonClasses,t]}}});var z3=function(){var e=this,r=e._self._c;return e.withTooltip?r("ETooltip",{attrs:{text:e.tooltipText,position:e.tooltipPosition,color:e.tooltipColor,dark:e.dark}},[r("button",e._g(e._b({staticClass:"e-w-max e-px-3 e-py-2 e-flex e-border-none e-justify-center e-align-middle e-items-center e-cursor-pointer",class:e.buttonStyle},"button",e.$attrs,!1),e.$listeners),[r("EIcon",{attrs:{icon:e.icon,size:e.iconSize,color:e.iconColor}}),e._t("default")],2)]):r("button",e._g(e._b({staticClass:"e-w-max e-px-3 e-py-2 e-flex e-border-none e-justify-center e-align-middle e-items-center e-cursor-pointer",class:e.buttonStyle},"button",e.$attrs,!1),e.$listeners),[r("EIcon",{attrs:{icon:e.icon,size:e.iconSize}}),e._t("default")],2)},B3=[],I3=Y(O3,z3,B3,!1,null,null,null,null);const vt=I3.exports,F3=j.extend({name:"EZoomSlider",components:{EActionButton:vt},props:{dark:{type:Boolean,default:!0}}});var A3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-flex e-flex-col e-p-5"},[r("EActionButton",{attrs:{"tooltip-text":"Zoom in","tooltip-position":"right",icon:"fas fa-plus",dark:e.dark,"icon-size":"base","button-classes":"action-btn__first-vertical e-border-none e-rounded-none e-rounded-t-md e-shadow-xl","data-test-id":"zoomable-img-zoom-in"},on:{click:function(n){return e.$emit("zoom-in")}}}),r("EActionButton",{attrs:{"tooltip-text":"Zoom out","tooltip-position":"right",icon:"fas fa-minus",dark:e.dark,"icon-size":"base","button-classes":"action-btn__last-vertical e-border-none e-rounded-none e-rounded-b-md","data-test-id":"zoomable-img-zoom-out"},on:{click:function(n){return e.$emit("zoom-out")}}})],1)},R3=[],H3=Y(F3,A3,R3,!1,null,null,null,null);const Vr=H3.exports,N3=j.extend({name:"EFadeTransition",props:{duration:{type:Number,default:300}},computed:{durationClass(){return{100:"e-duration-100",200:"e-duration-200",300:"e-duration-300",400:"e-duration-400",500:"e-duration-500",600:"e-duration-600",700:"e-duration-700",800:"e-duration-800",900:"e-duration-900",1e3:"e-duration-1000"}[this.duration]}}});var W3=function(){var e=this,r=e._self._c;return r("transition",{attrs:{"enter-active-class":`e-transition e-ease-out ${e.durationClass}`,"leave-active-class":`e-transition e-ease-in ${e.durationClass}`,"enter-class":"e-opacity-0","enter-to-class":"e-opacity-100","leave-class":"e-opacity-100","leave-to-class":"e-opacity-0"}},[e._t("default")],2)},j3=[],G3=Y(N3,W3,j3,!1,null,null,null,null);const Ot=G3.exports,q3=j.extend({name:"EZoomableImg",components:{EZoomSlider:Vr,EFadeTransition:Ot},directives:{ResizeObserver:Qe},mixins:[Ge,Ve],props:{src:{type:String,default:""},alt:{type:String,default:""},allowZoom:{type:Boolean,default:!0},imgProps:{type:Object,default:()=>({})},slider:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},hideContentOnBlur:{type:Boolean,default:!0},initialParams:{type:Object,default:()=>({})},embedded:{type:Boolean,default:!1},overlayStyle:{type:Object,default:()=>({})},foregroundStyle:{type:Object,default:()=>({})},pan:{type:Boolean,default:!0},slotTransition:{type:Boolean,default:!0},height:{type:[String,Number],default:void 0},isCalendarActive:{type:Boolean,default:!1},blurBackground:{type:Boolean,default:!1},cover:{type:Boolean,default:!1},isWidget:{type:Boolean,default:!1},isAnnotationActive:{type:Boolean,default:!1},isMobile:{type:Boolean,default:!1},placeholderImage:{type:String,default:""},showMiniature:{type:Boolean,default:!1},miniatureWidth:{type:Number,default:150}},data(){const t={x:0,y:0};return{image:null,frame:null,imageLoaded:!1,zoomLevel:1,previousZoomLevel:1,imageMouse:t,zoomOrigin:t,frameMouse:t,frameMousePanStart:t,frameMousePreviousPan:t,translation:t,isPanning:!1,isPinching:!1,zoomStarted:!1,firstLoad:!0,isSliderActive:!1,imgStyle:{},contentStyle:{},isFocused:!0,forceHideContent:!1,imageAspectRatio:1,frameAspectRatio:1,wrapperExtraStyle:{},preventDefaultScroll:!0,mouseLeft:!1,pointers:{},pinchDistance:0,lastTapTime:0,minZoomLevel:1,maxZoomLevel:20,backgroundSnapshotSrc:null,miniatureOverlayStyle:{}}},computed:{frameStyle(){return this.height?{height:`${this.height}px`}:{}},wrapperStyle(){if(!this.imageLoaded)return{display:"none"};let t,e;return this.isPanning&&!this.isAnnotationActive?(t=this.frameMouse.x-this.frameMousePanStart.x+this.frameMousePreviousPan.x,e=this.frameMouse.y-this.frameMousePanStart.y+this.frameMousePreviousPan.y):(t=this.frameMousePreviousPan.x,e=this.frameMousePreviousPan.y),{transform:Math.abs(t)<.5&&Math.abs(e)<.5?"none":`translate(${t}px,${e}px)`}},imageCenter(){var e;const t=(e=this.image)==null?void 0:e.getBoundingClientRect();return{x:((t==null?void 0:t.width)||0)/2,y:((t==null?void 0:t.height)||0)/2}},sliderModel:{get(){return this.zoomLevel*100},set(t){this.previousZoomLevel=this.zoomLevel,this.zoomLevel=t/100,this.updateImageStyle(),this.savePreviousPan()}},showContent(){return this.hideContentOnBlur?this.forceHideContent?!1:this.isFocused&&this.touches<2:!0},miniatureContainerStyle(){if(!this.image)return{};const t=this.image.naturalWidth/this.image.naturalHeight,e=this.miniatureWidth/t;return{width:`${this.miniatureWidth}px`,height:`${e}px`}},miniatureOverlayComputedStyle(){return{...this.miniatureOverlayStyle,...this.miniatureOverlayBaseStyle}},miniatureOverlayBaseStyle(){return{boxShadow:`0 0 0 ${this.miniatureWidth}px #0006`}},currentState(){var t,e;return{image:this.image,zoomLevel:this.zoomLevel,translation:this.translation,previousZoomLevel:this.previousZoomLevel,imageMouse:this.imageMouse,zoomOrigin:this.zoomOrigin,frameMouse:this.frameMouse,frameMousePanStart:this.frameMousePanStart,frameMousePreviousPan:this.frameMousePreviousPan,isPanning:this.isPanning,zoomStarted:this.zoomStarted,firstLoad:this.firstLoad,isSliderActive:this.isSliderActive,imgStyle:this.imgStyle,contentStyle:this.contentStyle,isFocused:this.isFocused,forceHideContent:this.forceHideContent,imageAspectRatio:this.imageAspectRatio,frameAspectRatio:this.frameAspectRatio,wrapperExtraStyle:this.wrapperExtraStyle,offsetWidth:(t=this.image)==null?void 0:t.offsetWidth,offsetHeight:(e=this.image)==null?void 0:e.offsetHeight}}},watch:{isCalendarActive(){this.$setTimeout(this.onResize,100)},initialParams:{immediate:!0,handler(t){if(typeof t=="object")for(let e in t)this[e]=t[e]}},image:{immediate:!0,deep:!0,handler(){var t;(t=this.image)!=null&&t.offsetWidth&&this.emitChange()}},wrapperStyle(){this.$nextTick(this.updateMiniatureOverlayStyle)},imageStyle(){this.$nextTick(this.updateMiniatureOverlayStyle)}},mounted(){this.$addEventListener("orientationchange",this.handleOrientationChange),this.$root.$on("resize-snapshot-player",()=>{this.$setTimeout(this.setAspectRatio,200)})},methods:{onResize(){this.updateContentStyle(),this.$setTimeout(this.setAspectRatio,500)},handleOrientationChange(){this.$setTimeout(this.setAspectRatio,1e3)},setAspectRatio(){var r,n;this.frame=this.$refs.frame,this.image=this.$refs.image;const t=(r=this.frame)==null?void 0:r.getBoundingClientRect(),e=(n=this.image)==null?void 0:n.getBoundingClientRect();if(this.$setTimeout(this.emitChange,50),!t||this.isMobile&&!this.isWidget&&(!e||(e==null?void 0:e.width)<=1||(e==null?void 0:e.height)<=1)){this.$setTimeout(this.setAspectRatio,50);return}this.frameAspectRatio=t.width/t.height,this.imageAspectRatio=e.width/e.height},updateImageStyle(){this.translation={x:this.zoomOrigin.x*(this.zoomLevel-this.previousZoomLevel)+this.translation.x,y:this.zoomOrigin.y*(this.zoomLevel-this.previousZoomLevel)+this.translation.y},this.imgStyle={...this.imgStyle,transform:`translate(${-this.translation.x}px, ${-this.translation.y}px) scale(${this.zoomLevel})`},this.emitChange()},updateMiniatureOverlayStyle(){if(!this.showMiniature||!this.image||!this.frame||!this.$refs.miniatureImage||this.zoomLevel===1){this.miniatureOverlayStyle={};return}const t=this.image.getBoundingClientRect(),e=this.frame.getBoundingClientRect(),r=(e.left-t.left)/t.width*100,n=(e.top-t.top)/t.height*100,s=e.width/t.width*100,l=e.height/t.height*100;this.miniatureOverlayStyle={left:`${r}%`,top:`${n}%`,width:`${s}%`,height:`${l}%`}},onImageLoaded(t){var n,s;if(this.imageLoaded=!0,this.wrapperExtraStyle={...this.wrapperExtraStyle,alignContent:"flex-start !important"},this.$setTimeout(()=>{this.wrapperExtraStyle={justifyContent:"center",alignContent:"center !important"}}),this.blurBackground&&(this.backgroundSnapshotSrc=this.getSnapshotSrc()),!this.firstLoad)return;this.updateContentStyle(),this.imageMouse=this.imageCenter,this.zoomOrigin=this.imageCenter;const e=(n=this.image)==null?void 0:n.getBoundingClientRect(),r=(s=this.frame)==null?void 0:s.getBoundingClientRect();!e||!r||(this.isMobile&&!this.isWidget?this.setAspectRatio():this.$nextTick(()=>{this.setAspectRatio(),this.firstLoad=!1}),this.updateImageStyle(),this.$emit("load",t))},onError(t){this.$emit("error",t)},onMouseEnter(){this.mouseLeft=!1,this.isFocused=!0},onMouseLeave(){this.isSliderActive||(this.isFocused=!1),this.mouseLeft=!0;const t={which:1,preventDefault:()=>{}};this.onMouseUp(t)},onMouseMove(t){var e;if(!(this.disabled||!this.imageLoaded||this.mouseLeft)&&this.frame){const r=this.frame.getBoundingClientRect(),n=(e=this.image)==null?void 0:e.getBoundingClientRect();this.frameMouse={x:(t==null?void 0:t.clientX)-r.left,y:(t==null?void 0:t.clientY)-r.top},this.imageMouse={x:((t==null?void 0:t.clientX)-(n==null?void 0:n.left))/this.zoomLevel,y:((t==null?void 0:t.clientY)-(n==null?void 0:n.top))/this.zoomLevel},this.zoomStarted&&(this.zoomStarted=!1),this.$nextTick(this.emitChange)}},onMousedown(t){if(!(!this.pan||this.disabled||!this.imageLoaded||(t==null?void 0:t.which)!==1||this.isSliderActive)){if(this.isAnnotationActive){this.frameMousePanStart={x:this.frameMouse.x,y:this.frameMouse.y},this.isPanning=!0,this.$nextTick(this.emitChange);return}t.preventDefault(),this.frameMousePanStart=this.frameMouse,this.isPanning=!0}},onMouseUp(t){if(!(!this.pan||this.disabled||!this.imageLoaded||!this.isPanning||(t==null?void 0:t.which)!==1||this.isSliderActive)){if(this.isAnnotationActive){this.isPanning=!1,this.$nextTick(this.emitChange);return}t.preventDefault(),this.savePreviousPan({x:this.frameMousePreviousPan.x+this.frameMouse.x-this.frameMousePanStart.x,y:this.frameMousePreviousPan.y+this.frameMouse.y-this.frameMousePanStart.y}),this.isPanning=!1,this.isPinching=!1,this.$nextTick(this.emitChange)}},onMouseWheel(t){this.disabled||!this.imageLoaded||!this.allowZoom||(this.zoom(t.deltaY),this.preventDefaultScroll&&t.preventDefault())},updateZoomLevel(t){let e=1;this.isMobile?e=this.zoomLevel*t:t<0?e=this.zoomLevel*1.2:this.zoomLevel>=1.25&&(e=this.zoomLevel*.8),e<this.minZoomLevel?this.zoomLevel=this.minZoomLevel:e>this.maxZoomLevel?this.zoomLevel=this.maxZoomLevel:this.zoomLevel=e},zoom(t){this.isPanning=!1,this.previousZoomLevel=this.zoomLevel,this.updateZoomLevel(t),this.preventDefaultScroll=this.previousZoomLevel!==this.zoomLevel,this.zoomStarted||(this.zoomOrigin=this.imageMouse,this.zoomStarted=!0),this.updateImageStyle(),this.$nextTick(()=>{this.savePreviousPan(),this.emitChange()})},getBounds(){var a,o;const t=(a=this.frame)==null?void 0:a.getBoundingClientRect(),e=(o=this.image)==null?void 0:o.getBoundingClientRect(),r=t.width/this.imageAspectRatio,n=t.height*this.imageAspectRatio;let{top:s,right:l,bottom:i,left:h}=t;return e.width<t.width?(h=t.left+(t.width-n)/2,l=h+n):e.height<t.height&&(s=t.top+(t.height-r)/2,i=s+r),{top:s,right:l,bottom:i,left:h}},savePreviousPan({x:t,y:e}={}){var r;if(this.image){const n=(r=this.image)==null?void 0:r.getBoundingClientRect(),s=this.getBounds(),[l,i,h,a]=[n.right-s.right,s.top-n.top,n.bottom-s.bottom,s.left-n.left].map(o=>o<0?o:0);this.frameMousePreviousPan={x:(t||this.frameMousePreviousPan.x)+a-l,y:(e||this.frameMousePreviousPan.y)+i-h}}},onSliderMouseDown(){var r,n;const t=(r=this.frame)==null?void 0:r.getBoundingClientRect(),e=(n=this.image)==null?void 0:n.getBoundingClientRect();this.zoomOrigin={x:((t==null?void 0:t.left)+(t==null?void 0:t.width)/2-(e==null?void 0:e.left))/this.zoomLevel,y:((t==null?void 0:t.top)+(t==null?void 0:t.height)/2-(e==null?void 0:e.top))/this.zoomLevel},this.isSliderActive=!0},onSliderMouseUp(){this.isSliderActive=!1},updateContentStyle(){var t,e,r;this.contentStyle={maxWidth:`${window.innerWidth-(((r=(e=(t=this.$refs)==null?void 0:t.frame)==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0)}px`}},emitChange(){this.$emit("change",this.currentState)},getPointersMidPoint(t,e){return{x:t.clientX+(e.clientX-t.clientX)/2,y:t.clientY+(e.clientY-t.clientY)/2}},getPointersDistance(t,e){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)},updatePointerEvent(t){this.pointers[t.pointerId]=t},clearPointerEvent(t){this.$delete(this.pointers,t.pointerId)},updatePinchZoomOrigin(){const t=Object.values(this.pointers);if(t.length!==2)return;const e=this.getPointersMidPoint(...t);this.zoomOrigin={x:e.x/this.zoomLevel,y:e.y/this.zoomLevel}},updatePinchDistance(){const t=Object.values(this.pointers);t.length===2&&(this.pinchDistance=this.getPointersDistance(...t))},onPointerDown(t){if(!(!this.isMobile||this.foregroundStyle.zIndex==2)){if(this.updatePointerEvent(t),this.isPinching=Object.values(this.pointers).length===2,this.isPinching){this.isPanning=!1,this.updatePinchZoomOrigin(),this.updatePinchDistance();return}this.onMouseMove(t),this.onMousedown(t)}},onPointerMove(t){if(!(!this.isMobile||this.foregroundStyle.zIndex==2)){if(this.updatePointerEvent(t),this.isPinching){const e=this.pinchDistance;this.updatePinchDistance();const r=this.pinchDistance/e;r%1>.008&&this.zoom(r);return}this.onMouseMove(t)}},onPointerUp(t){if(!this.isMobile||this.foregroundStyle.zIndex==2)return;this.clearPointerEvent(t),this.onMouseUp(t);const e=new Date().getTime(),r=e-this.lastTapTime;r>100&&r<200&&this.zoom(this.zoomLevel>1?0:3),this.lastTapTime=e},getSnapshotSrc(){const t=this.$refs.image;return t==null?void 0:t.src}}}),e7="";var Z3=function(){var n;var e=this,r=e._self._c;return r("div",e._b({directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"frame",staticClass:"zoomable-img e-flex e-justify-center e-items-center e-relative",class:{"zoomable-img--loading":!e.imageLoaded,"zoomable-img--zoomed":e.zoomLevel>1,"zoomable-img--panning":e.isPanning,"zoomable-img--disabled":e.disabled,"zoomable-img--portrait-frame":e.frameAspectRatio<e.imageAspectRatio,"zoomable-img--landscape-frame":e.frameAspectRatio>=e.imageAspectRatio,"zoomable-img--embedded":e.embedded,"zoomable-img--cover":e.cover},style:e.frameStyle,attrs:{"data-test-id":"zoomable-img-frame"},on:{wheel:e.onMouseWheel,mouseup:e.onMouseUp,mousedown:e.onMousedown,mousemove:e.onMouseMove,mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave,pointerdown:e.onPointerDown,pointermove:e.onPointerMove,pointerup:e.onPointerUp,pointercancel:e.onPointerUp,pointerout:e.onPointerUp,pointerleave:e.onPointerUp}},"div",e.$attrs,!1),[r("div",{staticClass:"zoomable-img__wrapper e-flex e-justify-center e-items-center",style:{...e.wrapperStyle,...e.wrapperExtraStyle},attrs:{"data-test-id":"zoomable-img-wrapper"}},[e.blurBackground&&e.imageLoaded&&e.backgroundSnapshotSrc?r("img",{class:e.isMobile?"zoomable-img__img-background-mobile":"zoomable-img__img-background",attrs:{src:e.backgroundSnapshotSrc,alt:e.alt}}):e._e(),r("img",e._g(e._b({directives:[{name:"show",rawName:"v-show",value:e.imageLoaded||!!e.placeholderImage,expression:"imageLoaded || !!placeholderImage"}],ref:"image",staticClass:"zoomable-img__img e-absolute",style:e.imgStyle,attrs:{src:(n=e.src)!=null?n:e.placeholderImage,alt:e.alt,crossorigin:"anonymous","data-test-id":"zoomable-img-image"},on:{load:e.onImageLoaded,error:e.onError}},"img",e.$props.imgProps,!1),e.$listeners))]),r("div",{staticClass:"zoomable-img__wrapper zoomable-img__wrapper--overlay e-flex e-justify-center e-items-center",style:{...e.wrapperStyle,...e.wrapperExtraStyle,...e.overlayStyle}},[r("div",{staticClass:"zoomable-img__img e-relative",style:{width:`${e.image?e.image.offsetWidth:0}px`,height:`${e.image?e.image.offsetHeight:0}px`,...e.imgStyle}},[e._t("imageOverlay",null,{state:e.currentState})],2)]),r("div",{ref:"foreground",staticClass:"zoomable-img__content e-flex e-justify-center e-items-center e-p-0",class:{"e-h-full":!e.embedded,"e-w-full":!e.embedded},style:{...e.contentStyle,...e.foregroundStyle},attrs:{id:"img-foreground","data-test-id":"zoomable-img-foreground"}},[e.imageLoaded?e._e():e._t("placeholder",null,{dataTestId:"zoomable-img-placeholder"}),e.showContent&&e.slotTransition?r("EFadeTransition",[e.showContent?e._t("default",null,{dataTestId:"zoomable-img-content"}):e._e()],2):e.showContent?e._t("default",null,{dataTestId:"zoomable-img-content"}):e._e(),r("EFadeTransition",[e.showContent&&e.slider&&e.allowZoom?r("div",{staticClass:"zoomable-img__slider-container",attrs:{"data-test-id":"zoomable-img-zoom-slider"}},[e._t("extraWidgets"),r("EZoomSlider",{attrs:{vertical:""},on:{mouseup:e.onSliderMouseUp,mousedown:e.onSliderMouseDown,"zoom-in":function(s){return e.zoom(-1)},"zoom-out":function(s){return e.zoom(1)}},model:{value:e.sliderModel,callback:function(s){e.sliderModel=s},expression:"sliderModel"}})],2):e._e()]),r("EFadeTransition",[e.showMiniature&&e.imageLoaded&&e.zoomLevel>1?r("div",{staticClass:"zoomable-img__miniature-container e-shadow",style:e.miniatureContainerStyle},[r("img",{ref:"miniatureImage",staticClass:"zoomable-img__miniature",attrs:{src:e.src,alt:e.alt}}),r("div",{staticClass:"zoomable-img__miniature-overlay",style:e.miniatureOverlayComputedStyle})]):e._e()])],2)])},U3=[],Y3=Y(q3,Z3,U3,!1,null,null,null,null);const Kr=Y3.exports,X3=j.extend({name:"EImagePlayer",components:{EZoomableImg:Kr},directives:{ResizeObserver:Qe},mixins:[Ge,Ve],model:{prop:"frameIndex",event:"frame-index-change"},props:{frames:{type:Array,required:!0},timePerFrame:{type:Number,default:500},isPlaying:{type:Boolean,default:!1},frameIndex:{type:Number,default:0},height:{type:[String,Number],default:0},initialQuality:{type:[String,Number],default:"auto"},preload:{type:Boolean,default:!0},preloadSize:{type:Number,default:10},resetIndexOnFramesChange:{type:Boolean,default:!1},preloadWhilePlaying:{type:Boolean,default:!0},withControls:{type:Boolean,default:!0},playOnClick:{type:Boolean,default:!0},disablePlayPauseAnimation:{type:Boolean,default:!1},disablePlayButton:{type:Boolean,default:!1},isLive:{type:Boolean,default:!1},selectedSnapshotQuality:{type:[String,Number],default:"auto"},placeholderImage:{type:String,default:""},isMobile:{type:Boolean,default:!1},isZoomable:{type:Boolean,default:!0},isAnnotationActive:{type:Boolean,default:!1},aspectRatio:{type:Number,default:null}},data(){return{src:this.placeholderImage,imageLoaded:!1,playing:!1,playerStyle:{},image:null,previousSrc:"",resolveImageLoadingPromise:()=>({}),preloadingQueueId:0,preloadedFrames:[],preloadingFramesImgs:[],frameError:!1,animationId:-1,imgStyle:{},previousFrameIndex:0,isFullscreen:!1,mouseDownTime:0,playPauseAnimation:!1,latestValidSnapshotTimestamp:"",progressBar:null,isDraggingCursor:!1,hovered:!1,timePerFrameValue:this.timePerFrame,mousePosition:{x:0,y:0},screenHeight:screen.height}},computed:{imgProps(){return{id:"zoomable-img__img",ref:"image",crossorigin:"anonymous",class:"zoomable-img__img e-absolute e-w-full e-h-full e-object-contain e-z-10 d-block",dataTestId:"zoomable-img-image"}},playerDimensions(){return{width:"100%",height:this.height}},isLastFrame(){return this.frameIndex===this.frames.length-1},altText(){var t,e;return`${((t=this.frames[this.frameIndex])==null?void 0:t.label)||""} ${((e=this.frames[this.frameIndex])==null?void 0:e.timestamp)||""}`},playedPercentage(){return this.isLastFrame?100:Math.abs(this.frameIndex/this.frames.length*100)},mouseToWidthRatio(){var t,e,r;return this.mousePosition.x/((r=(e=(t=this.progressBar)==null?void 0:t.getBoundingClientRect())==null?void 0:e.width)!=null?r:1)},hoverBarStyle(){return{width:`${100*this.mouseToWidthRatio}%`}},hoveredFrameIndex(){return Math.round(this.mouseToWidthRatio*(this.frames.length-1))},progressStyle(){return{width:`${100*((this.isDraggingCursor?this.hoveredFrameIndex:this.frameIndex)/(this.frames.length-1))}%`}},preloadedChunks(){const t=[...this.preloadedFrames];return t.sort((e,r)=>e>r?1:-1),t.reduce((e,r)=>{if(!e.length)return[[r,r]];const[n,s]=e.slice(-1)[0]||[0,0];return r-s>1?[...e,[r,r]]:[...e.slice(0,-1),[n,r]]},[])}},watch:{frames:{handler(){var t;this.src=((t=this.frames[this.frameIndex])==null?void 0:t.src)||"",this.resetIndexOnFramesChange&&this.$emit("frame-index-change",0),this.imageLoaded=!0,this.preloadedFrames=[],this.flushPreloadingQueue(),this.$setTimeout(async()=>{this.updateRefs(),await this.loadTargetFrame(),this.handleBuffering()})},immediate:!0,deep:!0},isLastFrame(t){t&&this.$emit("frames-ended")},timePerFrame:{immediate:!0,handler(t){this.timePerFrameValue=t}},frameIndex:{immediate:!0,async handler(){this.frameIndex!==this.previousFrameIndex&&(Number.isNaN(this.frameIndex)&&this.$emit("frame-index-change",0),this.frameIndex===0&&(this.previousFrameIndex=this.frameIndex),this.isLastFrame&&!this.isLive&&(this.playing=!1),this.playing||(this.cancelDelay(),await this.loadTargetFrame(),this.handleBuffering()))}},playing:{immediate:!0,async handler(t){t?this.play():this.pause(),this.animatePlayPauseOverlay()}},preloadedFrames:{handler(t,e){this.$emit("preloaded-frames-change",t)}},isPlaying:{immediate:!0,async handler(){this.playing=this.isPlaying}},selectedSnapshotQuality(){var t;this.src=(t=this.getFrameSrc(this.frames[this.frameIndex]))!=null?t:this.frames[this.frameIndex].src},isLive:{immediate:!0,handler(t){var e;t||(this.src=(e=this.frames[this.frameIndex])==null?void 0:e.src)}},imageLoaded(t){this.$emit("loading",!t)}},mounted(){this.$setTimeout(()=>{this.initializeFullscreenListeners(),this.progressBar=this.$refs.progressBar,this.$addEventListener("keydown",this.handleKeyDown)})},beforeDestroy(){this.cancelDelay(),this.flushPreloadingQueue(),this.removeFullscreenListeners()},methods:{getProgressBarMousePosition(t){var r;if(!this.progressBar)return{x:0,y:0};const e=(r=this.progressBar)==null?void 0:r.getBoundingClientRect();return{x:t.clientX-e.x,y:t.clientY-e.y}},onProgressBarMouseEnter(){this.hovered=!0},onProgressBarMouseMove(t){this.mousePosition=this.getProgressBarMousePosition(t)},onProgressBarMouseLeave(){this.hovered=!1,this.isDraggingCursor=!1},onProgressBarClick(){this.$emit("frame-index-change",this.hoveredFrameIndex),this.$emit("seek",this.hoveredFrameIndex)},getProgressBarChunkStyle(t,e){const[r,n]=[100*t/(this.frames.length-1),100*e/(this.frames.length-1)];return{left:`${r}%`,width:`${n-r}%`}},animatePlayPauseOverlay(){this.disablePlayPauseAnimation||(this.playPauseAnimation=!0,this.$setTimeout(()=>this.playPauseAnimation=!1,500))},isImageClick(t){const e=t==null?void 0:t.target;return e?e&&(e.id==="img-foreground"||typeof e.className=="string"&&e.className.indexOf("zoomable-img__img")!==-1):!1},onFrameMouseDown(t){!this.isImageClick(t)||!this.playOnClick||(this.mouseDownTime=new Date().getTime())},onFrameMouseUp(t){this.isLastFrame||this.disablePlayButton||!this.playOnClick||this.isAnnotationActive||!this.isImageClick(t)||new Date().getTime()-this.mouseDownTime>200||(this.playing=!this.playing)},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},closeFullscreenMode(){document.fullscreenElement&&(Br().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=document.querySelector("#imagePlayer");t&&(zr(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},updateRefs(){var t,e,r;this.image=(r=(e=(t=this.$refs)==null?void 0:t.zoomableImage)==null?void 0:e.$refs)==null?void 0:r.image},incrementCurrentFrameIndex(){this.frames[this.frameIndex+1]&&(this.$emit("frame-index-change",this.frameIndex+1),this.$emit("timestamp-change",this.frames[this.frameIndex].timestamp))},getFrameSrc(t){if(t)return t.srcSet?t.srcSet[this.selectedSnapshotQuality]:t.src},loadTargetFrame(){if(this.frameIndex!==this.previousFrameIndex)return new Promise(t=>{this.updateRefs(),this.previousSrc=this.src,this.previousFrameIndex=this.frameIndex,this.resolveImageLoadingPromise=t,this.src=this.getFrameSrc(this.frames[this.frameIndex])})},async handleBuffering(){this.preload&&await this.buffer()},async buffer(){let t=this.frameIndex+this.preloadSize;this.preloadSize===1/0&&(t=this.frames.length-1),await this.preloadFrames({start:this.frameIndex,end:t})},async preloadFrames({start:t,end:e}){const[r,n]=[Math.min(this.frames.length-1,t),Math.min(this.frames.length-1,e)],s=new Array(n-r+1).fill(0).map((i,h)=>i+r+h),l=this.preloadingQueueId;for(const i of s){if(l!==this.preloadingQueueId||this.playing&&!this.preloadWhilePlaying)return;this.preloadedFrames.includes(i)||await new Promise(a=>{const o=new Image;o.onload=()=>{this.preloadedFrames=[...this.preloadedFrames,i],a()},o.onerror=()=>{a()},this.preloadingFramesImgs=[...this.preloadingFramesImgs,o];const u=this.getFrameSrc(this.frames[i]);i||a(),o.src=u})}},async delay(){return this.frameError?(this.frameError=!1,Promise.resolve()):new Promise(t=>{const e=performance.now(),r=n=>{n-e<this.timePerFrameValue?this.animationId=window.requestAnimationFrame(r):t()};this.animationId=window.requestAnimationFrame(r)})},cancelDelay(){window.cancelAnimationFrame(this.animationId)},async play(){var r,n;const t=performance.now();if(this.isLastFrame&&!this.isLive){this.$emit("frame-index-change",0);return}this.$emit("play"),this.playing=!0,this.cancelDelay(),this.incrementCurrentFrameIndex(),await this.loadTargetFrame(),this.handleBuffering(),await this.delay(),this.playing&&this.play();const e=performance.now();this.$emit("performance-intervals-changed",{id:(r=this.frames[this.frameIndex])==null?void 0:r.timestamp,frame:(n=this.frames[this.frameIndex])==null?void 0:n.label,duration:e-t})},flushPreloadingQueue(){this.preloadingQueueId+=1,this.preloadingFramesImgs.forEach(t=>{t.src=""}),this.preloadingFramesImgs=[]},async pause(){this.playing=!1,this.imageLoaded=!0,this.src=this.previousSrc,this.cancelDelay(),this.handleBuffering(),this.$emit("pause")},onLoad(){var t,e;this.$emit("on-image-load",this.image),this.$emit("snapshot-changed",{data:(t=this.frames[this.frameIndex])==null?void 0:t.src,createdAt:(e=this.frames[this.frameIndex])==null?void 0:e.timestamp}),this.imageLoaded=!0,this.previousSrc=this.src,this.resolveImageLoadingPromise()},onError(t){if(this.frameIndex>1)return this.$emit("frame-index-change",this.frameIndex-1);this.frameError=!0,this.src=this.previousSrc,this.resolveImageLoadingPromise(),this.$emit("error",t)},onChange(t){this.$emit("change",t)},onBeforeUpdate(t){this.$emit("hook:beforeUpdate",t)},onBeforeDestroy(t){this.$emit("hook:beforeDestroy",t)},togglePlay(){this.playing=!this.playing},handleKeyDown(t){var r;const e=(r=document.activeElement)==null?void 0:r.tagName.toLowerCase();if(!(e==="input"||this.isAnnotationActive))switch(t.key.toLowerCase()){case" ":if(e==="button")return;this.disablePlayButton||this.togglePlay();break;case"escape":t.preventDefault(),this.closeFullscreenMode(),this.isFullscreen=!1;break}}}}),t7="";var Q3=function(){var n,s;var e=this,r=e._self._c;return r("div",{staticClass:"player e-h-full e-w-full",style:e.playerDimensions,attrs:{id:"imagePlayer"}},[r("div",{staticClass:"player__frames player-container",style:e.playerDimensions,attrs:{id:"img-container"},on:{pointerdown:e.onFrameMouseDown,pointerup:e.onFrameMouseUp}},[r("div",{staticClass:"e-h-full e-w-full e-shrink-0 e-relative"},[r("img",{staticClass:"e-absolute e-block e-w-full e-h-full background-fade",attrs:{src:e.src||((n=e.frames[e.frameIndex])==null?void 0:n.src)||"",alt:"background-image"}}),r("EZoomableImg",e._g({directives:[{name:"show",rawName:"v-show",value:e.imageLoaded&&e.src||e.placeholderImage,expression:"(imageLoaded && src) || placeholderImage"}],ref:"zoomableImage",attrs:{"img-props":{imgProps:e.imgProps},"overlay-style":{zIndex:1},src:e.src||((s=e.frames[e.frameIndex])==null?void 0:s.src)||e.placeholderImage||"",alt:e.altText,"hide-content-on-blur":!1,height:e.height.split("px")[0],"placeholder-image":e.placeholderImage,slider:!1,"is-mobile":e.isMobile,disabled:!e.isZoomable,"is-annotation-active":e.isAnnotationActive,"blur-background":""},on:{load:e.onLoad,error:e.onError,change:e.onChange,"hook:beforeUpdate":e.onBeforeUpdate,"hook:beforeDestroy":e.onBeforeDestroy},scopedSlots:e._u([{key:"imageOverlay",fn:function(){return[e.playPauseAnimation?r("div",{staticClass:"image-player-overlay e-flex e-items-center e-justify-center"},[r("div",{staticClass:"image-player-overlay__wrapper"},[e.playing?r("svg",{attrs:{height:"100%",viewBox:"-1 0 36 36",width:"100%"}},[r("path",{attrs:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}})]):r("svg",{attrs:{height:"100%",viewBox:"0.5 0 36 36",width:"100%"}},[r("path",{attrs:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}})])])]):e._e(),e._t("default"),e._t("imageOverlay")]},proxy:!0}],null,!0)},e.$listeners),[e._t("playerContainerOverlay")],2),e._t("imagePlayerOverlay")],2)]),e._t("controls",function(){return[e.withControls?r("div",{staticClass:"e-absolute e-bottom-0 e-w-[97%] e-p-4 e-pt-8 e-z-50 e-space-y-4 e-bg-gradient-to-t e-from-[#363434] e-to-transparent"},[r("div",{staticClass:"e-font-semibold e-text-white"},[e._v(" "+e._s(e.frames[e.frameIndex].label)+" - "+e._s(e.frameIndex)+" / "+e._s(e.frames.length-1)+" ")]),r("div",{staticClass:"e-flex e-justify-start e-gap-2 e-items-center"},[r("button",{staticClass:"e-text-white e-bg-transparent e-border-none e-cursor-pointer action-btn__first-vertical e-rounded-md",on:{click:e.togglePlay}},[r("i",{staticClass:"fas fa-2x",class:{"fa-play":!e.playing,"fa-pause":e.playing}})]),r("div",{ref:"progressBar",staticClass:"e-w-full e-h-3 e-relative e-bg-gray-200 e-rounded-md",on:{click:e.onProgressBarClick,mouseenter:e.onProgressBarMouseEnter,mousemove:e.onProgressBarMouseMove,mouseleave:e.onProgressBarMouseLeave}},[r("div",{staticClass:"e-bg-blue-500 e-w-full e-h-full e-absolute e-rounded-md e-z-[1]",style:{width:`${e.playedPercentage}%`}}),e._l(e.preloadedChunks,function([l,i]){return r("div",{key:i,staticClass:"e-bg-blue-300 e-h-full e-absolute e-rounded-md",style:e.getProgressBarChunkStyle(l,i)})})],2),r("button",{ref:"fullScreenBtn",staticClass:"e-text-white e-bg-transparent e-border-none e-cursor-pointer action-btn__second-vertical e-rounded-md",on:{click:e.toggleFullscreenMode}},[r("i",{staticClass:"fas fa-2x",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen}})])])]):e._e()]},{playing:e.playing,togglePlay:e.togglePlay,play:e.play,pause:e.pause,toggleFullscreen:e.toggleFullscreenMode,preloadedFrames:e.preloadedFrames,isLastFrame:e.isLastFrame})],2)},V3=[],K3=Y(X3,Q3,V3,!1,null,null,null,null);const Gi=K3.exports,J3=j.extend({name:"ELayout",directives:{ResizeObserver:Qe},mixins:[Ge],props:{height:{type:[String,Number],default:null},withOverlay:{type:Boolean,default:!1}},data(){return{footerHeight:0,overlayFooterHeight:0,wrapperStyle:{width:"100%",height:"100%"},mainStyle:{width:"100%",height:"100%"},mainHeight:"100%"}},computed:{bottomStyle(){return{bottom:`${this.overlayFooterHeight}px`}}},watch:{mainHeight(){this.onResize()}},mounted(){this.setOverlayFooterHeight(),this.setFooterHeight()},methods:{onResize(){this.setFooterHeight(),this.setOverlayFooterHeight()},onOverlayClick(t){this.$emit("overlay-click",t)},setOverlayFooterHeight(){const t=this.$refs.overlayFooter;t||this.$setTimeout(()=>{this.setOverlayFooterHeight()}),this.overlayFooterHeight=t==null?void 0:t.clientHeight},setFooterHeight(){const t=this.$refs.footer;t||this.$setTimeout(()=>{this.setFooterHeight()}),this.footerHeight=t==null?void 0:t.clientHeight,this.$attrs.isFullscreen?this.mainHeight=`${screen.height}px`:this.mainHeight=`${this.height?this.height.split("px")[0]-this.footerHeight:"100"}px`,this.mainStyle={width:"100%",height:this.mainHeight}}}});var e6=function(){var e=this,r=e._self._c;return r("div",e._b({directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"globalLayout",staticClass:"e-layout e-w-full e-h-full e-relative",style:{width:"100%",height:e.mainHeight},attrs:{id:"globalLayout"}},"div",e.$attrs,!1),[r("div",{staticClass:"e-layout__container e-relative",style:e.mainStyle},[r("div",{staticClass:"e-layout__main e-w-full e-h-full e-absolute e-inset-0 e-z-0",style:e.mainStyle},[e._t("main",null,{size:{...e.mainStyle}})],2),e.withOverlay?r("div",{staticClass:"e-layout__overlay e-w-full e-h-full e-absolute e-inset-0 e-z-[1]",style:e.mainStyle,on:{click:e.onOverlayClick}},[e._t("overlay",null,{size:{...e.mainStyle}})],2):e._e(),r("div",{staticClass:"e-layout__top-left e-absolute e-left-0 e-top-0 e-z-[2]"},[e._t("top-left")],2),r("div",{staticClass:"e-absolute e-right-0 e-top-0 e-layout__top-right e-z-[2]"},[e._t("top-right")],2),r("div",{staticClass:"e-absolute e-right-0 e-bottom-10 e-layout__bottom-right e-z-[2]",style:e.bottomStyle},[e._t("bottom-right")],2),r("div",{staticClass:"e-absolute e-left-0 e-bottom-10 e-layout__bottom-left e-z-[2]",style:e.bottomStyle},[e._t("bottom-left")],2),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.setOverlayFooterHeight,expression:"setOverlayFooterHeight"}],ref:"overlayFooter",staticClass:"e-absolute e-bottom-0 e-left-0 e-right-0 e-layout__overlay-footer e-z-[2]"},[e._t("overlay-footer")],2)]),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.setFooterHeight,expression:"setFooterHeight"}],ref:"footer",staticClass:"e-layout__footer e-relative e-z-[2]"},[e._t("footer")],2)])},t6=[],r6=Y(J3,e6,t6,!1,null,null,null,null);const qi=r6.exports;var n6=Y({name:"EContextProvider",provide(){return{...this.$props.context}},props:{context:{type:Object,required:!0}},render(){return this.$scopedSlots.default()}},null,null,!1,null,null,null,null);const i6=n6.exports,s6=j.extend({name:"EChatWrapper",props:{dark:{type:Boolean,default:!1},embedded:{type:Boolean,default:!1}},computed:{borderClasses(){return this.embedded?{}:{"e-border-[1px] e-border-solid e-rounded-lg e-overflow-hidden":!0,"e-border-gray-300":!this.dark,"e-border-gray-600":this.dark}},wrapperClasses(){return{"e-bg-gray-800 e-text-white":this.dark,"e-bg-white e-text-gray-800":!this.dark,...this.borderClasses}}}}),s7="";var a6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-wrapper e-h-full",class:e.wrapperClasses},[e._t("default")],2)},o6=[],l6=Y(s6,a6,o6,!1,null,null,null,null);const c6=l6.exports,u6=j.extend({name:"EChatHeader",components:{EAvatar:St},props:{size:{type:String,default:"xs"},backgroundClasses:{type:String,default:""}}}),a7="";var d6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EAvatar",{staticClass:"e-evercam-logo",attrs:{image:"https://dash.evercam.io/evercam-logo.svg",size:e.size,"background-classes":e.backgroundClasses}})},h6=[],f6=Y(u6,d6,h6,!1,null,null,null,null);const Jr=f6.exports,p6=j.extend({name:"EChatHeader",components:{EEvercamLogo:Jr},props:{title:{type:String,default:"Evercam Copilot"},hidden:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},computed:{backgroundClasses(){return{"e-bg-gray-700":this.dark,"e-bg-gray-50":!this.dark}},headerClasses(){return{"e-hidden":this.hidden,...this.backgroundClasses}},logoClasses(){return{"e-bg-white e-p-[2px] e-rounded-full":this.dark}}}});var m6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-header e-flex e-items-center e-justify-between",class:e.headerClasses},[r("div",{staticClass:"e-chat-logo e-flex e-w-full e-items-center e-justify-start e-gap-2 e-px-5 e-py-4"},[e._t("logo",function(){return[r("div",{class:e.logoClasses},[r("EEvercamLogo",{attrs:{size:e.dark?"2xs":"xs"}})],1)]}),r("div",{staticClass:"e-font-semibold e-h-min e-text-base"},[e._v(e._s(e.title))]),e._t("chip")],2)])},g6=[],v6=Y(p6,m6,g6,!1,null,null,null,null);const _6=v6.exports,C6=j.extend({name:"EChatBody",directives:{ResizeObserver:Qe},props:{dark:{type:Boolean,default:!1}},data(){return{autoScroll:!0,previousChildCount:0,showGoToBottomButton:!1}},computed:{bodyClasses(){return{"e-custom-scrollbar--light":!this.dark,"e-custom-scrollbar--dark":this.dark}},goToBottomButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"e-bg-gray-600":this.dark,"e-bg-gray-200":!this.dark}}},watch:{autoScroll(t){t&&this.scrollToBottom()}},mounted(){this.scrollToBottom()},methods:{onContentResized(){const e=this.$refs.contentWrapper.childElementCount;e!==this.previousChildCount&&(this.autoScroll=!0),this.autoScroll&&this.scrollToBottom(),this.previousChildCount=e},scrollToBottom(){const t=this.$refs.anchor;this.$nextTick(()=>{t.scrollIntoView({behavior:"smooth"})})},disableAutoScroll(){this.autoScroll=!1},onScroll(){const t=this.$refs.chatBody;t.scrollHeight-t.scrollTop<=t.clientHeight+1&&(this.autoScroll=!0),this.showGoToBottomButton=t.scrollHeight-t.scrollTop>t.clientHeight+100},onWheel(t){t.deltaY<0&&this.disableAutoScroll()},onKeyUp(t){["ArrowUp","ArrowDown","PageUp","PageDown","Home","End"].includes(t.key)&&this.disableAutoScroll()},onTouch(){this.disableAutoScroll()},onTouchMove(){this.disableAutoScroll()}}}),o7="";var y6=function(){var e=this,r=e._self._c;return r("div",e._b({ref:"chatBody",staticClass:"e-chat-body e-space-y-2 e-py-3 e-px-5 e-leading-6",class:e.bodyClasses,attrs:{tabindex:"0"},on:{scroll:e.onScroll,wheel:e.onWheel,keyup:function(n){return n.stopPropagation(),e.onKeyUp.apply(null,arguments)},touchstart:e.onTouch,touchmove:e.onTouchMove}},"div",e.$attrs,!1),[r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onContentResized,expression:"onContentResized"}],ref:"contentWrapper"},[e._t("default")],2),r("div",{ref:"anchor",staticClass:"e-chat-body__anchor"}),e.showGoToBottomButton?r("div",{staticClass:"e-chat-body__go-to-bottom e-sticky e-bottom-1 e-flex e-justify-center"},[r("button",{staticClass:"e-animate-bounce e-inline-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 e-border-none focus:e-outline-none e-rounded-full",class:e.goToBottomButtonClasses,on:{click:e.scrollToBottom}},[r("EIcon",{attrs:{icon:"arrow-down",size:"base"}})],1)]):e._e()])},b6=[],x6=Y(C6,y6,b6,!1,null,null,null,null);const w6=x6.exports,S6=j.extend({props:{size:{type:Number,default:12},color:{type:String,default:"#c5393d"}},computed:{computedSize(){return`${this.size}px`},computedMargin(){return`${this.size/2}px`},computedShadowSize(){return`${this.size*2}px`},computedSecondaryColor(){return dt(this.color,0)||"#fff"},dotContainerStyle(){return{margin:`${this.computedMargin} auto`,width:this.computedSize,height:this.computedSize,position:"relative"}},shadowStyle(){return{width:this.computedSize,height:this.computedSize,"--boxShadowColor":dt(this.color,.7),"--backgroundColor":dt(this.color,.7),"--secondaryColor":this.computedSecondaryColor,"--shadowSize":this.computedShadowSize}},secondShadowStyle(){return{...this.shadowStyle,animationDelay:".33s",animationDuration:"2.3s"}},dotStyle(){return{width:this.computedSize,height:this.computedSize,backgroundColor:dt(this.color,1)}}},methods:{toRgba:dt}}),l7="";var T6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-pulsating-dot",style:e.dotContainerStyle},[r("span",{staticClass:"e-pulsating-dot__shadow",style:e.shadowStyle}),r("span",{staticClass:"e-pulsating-dot__shadow",style:e.secondShadowStyle}),r("div",{staticClass:"e-pulsating-dot__dot",style:e.dotStyle})])},k6=[],M6=Y(S6,T6,k6,!1,null,"e042b2c3",null,null);const E6=M6.exports;var Zi={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self!="undefined"?self:st,()=>(()=>{var r={75:function(i){(function(){var h,a,o,u,f,m;typeof performance!="undefined"&&performance!==null&&performance.now?i.exports=function(){return performance.now()}:typeof process!="undefined"&&process!==null&&process.hrtime?(i.exports=function(){return(h()-f)/1e6},a=process.hrtime,u=(h=function(){var v;return 1e9*(v=a())[0]+v[1]})(),m=1e9*process.uptime(),f=u-m):Date.now?(i.exports=function(){return Date.now()-o},o=Date.now()):(i.exports=function(){return new Date().getTime()-o},o=new Date().getTime())}).call(this)},4087:(i,h,a)=>{for(var o=a(75),u=typeof window=="undefined"?a.g:window,f=["moz","webkit"],m="AnimationFrame",v=u["request"+m],x=u["cancel"+m]||u["cancelRequest"+m],d=0;!v&&d<f.length;d++)v=u[f[d]+"Request"+m],x=u[f[d]+"Cancel"+m]||u[f[d]+"CancelRequest"+m];if(!v||!x){var y=0,M=0,$=[];v=function(w){if($.length===0){var A=o(),E=Math.max(0,16.666666666666668-(A-y));y=E+A,setTimeout(function(){var N=$.slice(0);$.length=0;for(var K=0;K<N.length;K++)if(!N[K].cancelled)try{N[K].callback(y)}catch(q){setTimeout(function(){throw q},0)}},Math.round(E))}return $.push({handle:++M,callback:w,cancelled:!1}),M},x=function(w){for(var A=0;A<$.length;A++)$[A].handle===w&&($[A].cancelled=!0)}}i.exports=function(w){return v.call(u,w)},i.exports.cancel=function(){x.apply(u,arguments)},i.exports.polyfill=function(w){w||(w=u),w.requestAnimationFrame=v,w.cancelAnimationFrame=x}}},n={};function s(i){var h=n[i];if(h!==void 0)return h.exports;var a=n[i]={exports:{}};return r[i].call(a.exports,a,a.exports,s),a.exports}s.n=i=>{var h=i&&i.__esModule?()=>i.default:()=>i;return s.d(h,{a:h}),h},s.d=(i,h)=>{for(var a in h)s.o(h,a)&&!s.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:h[a]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(i,h)=>Object.prototype.hasOwnProperty.call(i,h);var l={};return(()=>{s.d(l,{default:()=>Q});var i=s(4087),h=s.n(i);const a=function(I){return new RegExp(/<[a-z][\s\S]*>/i).test(I)},o=function(I,T){return Math.floor(Math.random()*(T-I+1))+I};var u="TYPE_CHARACTER",f="REMOVE_CHARACTER",m="REMOVE_ALL",v="REMOVE_LAST_VISIBLE_NODE",x="PAUSE_FOR",d="CALL_FUNCTION",y="ADD_HTML_TAG_ELEMENT",M="CHANGE_DELETE_SPEED",$="CHANGE_DELAY",w="CHANGE_CURSOR",A="PASTE_STRING",E="HTML_TAG";function N(I){return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},N(I)}function K(I,T){var O=Object.keys(I);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(I);T&&(R=R.filter(function(ie){return Object.getOwnPropertyDescriptor(I,ie).enumerable})),O.push.apply(O,R)}return O}function q(I){for(var T=1;T<arguments.length;T++){var O=arguments[T]!=null?arguments[T]:{};T%2?K(Object(O),!0).forEach(function(R){D(I,R,O[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(O)):K(Object(O)).forEach(function(R){Object.defineProperty(I,R,Object.getOwnPropertyDescriptor(O,R))})}return I}function b(I){return function(T){if(Array.isArray(T))return z(T)}(I)||function(T){if(typeof Symbol!="undefined"&&T[Symbol.iterator]!=null||T["@@iterator"]!=null)return Array.from(T)}(I)||function(T,O){if(T){if(typeof T=="string")return z(T,O);var R=Object.prototype.toString.call(T).slice(8,-1);return R==="Object"&&T.constructor&&(R=T.constructor.name),R==="Map"||R==="Set"?Array.from(T):R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R)?z(T,O):void 0}}(I)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
203
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function z(I,T){(T==null||T>I.length)&&(T=I.length);for(var O=0,R=new Array(T);O<T;O++)R[O]=I[O];return R}function G(I,T){for(var O=0;O<T.length;O++){var R=T[O];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(I,X(R.key),R)}}function D(I,T,O){return(T=X(T))in I?Object.defineProperty(I,T,{value:O,enumerable:!0,configurable:!0,writable:!0}):I[T]=O,I}function X(I){var T=function(O,R){if(N(O)!=="object"||O===null)return O;var ie=O[Symbol.toPrimitive];if(ie!==void 0){var C=ie.call(O,"string");if(N(C)!=="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(I);return N(T)==="symbol"?T:String(T)}const Q=function(){function I(R,ie){var C=this;if(function(F,B){if(!(F instanceof B))throw new TypeError("Cannot call a class as a function")}(this,I),D(this,"state",{cursorAnimation:null,lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null,elements:{container:null,wrapper:document.createElement("span"),cursor:document.createElement("span")}}),D(this,"options",{strings:null,cursor:"|",delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,devMode:!1,skipAddStyles:!1,wrapperClassName:"Typewriter__wrapper",cursorClassName:"Typewriter__cursor",stringSplitter:null,onCreateTextNode:null,onRemoveNode:null}),D(this,"setupWrapperElement",function(){C.state.elements.container&&(C.state.elements.wrapper.className=C.options.wrapperClassName,C.state.elements.cursor.className=C.options.cursorClassName,C.state.elements.cursor.innerHTML=C.options.cursor,C.state.elements.container.innerHTML="",C.state.elements.container.appendChild(C.state.elements.wrapper),C.state.elements.container.appendChild(C.state.elements.cursor))}),D(this,"start",function(){return C.state.eventLoopPaused=!1,C.runEventLoop(),C}),D(this,"pause",function(){return C.state.eventLoopPaused=!0,C}),D(this,"stop",function(){return C.state.eventLoop&&((0,i.cancel)(C.state.eventLoop),C.state.eventLoop=null),C}),D(this,"pauseFor",function(F){return C.addEventToQueue(x,{ms:F}),C}),D(this,"typeOutAllStrings",function(){return typeof C.options.strings=="string"?(C.typeString(C.options.strings).pauseFor(C.options.pauseFor),C):(C.options.strings.forEach(function(F){C.typeString(F).pauseFor(C.options.pauseFor).deleteAll(C.options.deleteSpeed)}),C)}),D(this,"typeString",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(a(F))return C.typeOutHTMLString(F,B);if(F){var S=(C.options||{}).stringSplitter,W=typeof S=="function"?S(F):F.split("");C.typeCharacters(W,B)}return C}),D(this,"pasteString",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return a(F)?C.typeOutHTMLString(F,B,!0):(F&&C.addEventToQueue(A,{character:F,node:B}),C)}),D(this,"typeOutHTMLString",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=arguments.length>2?arguments[2]:void 0,W=function(ue){var ce=document.createElement("div");return ce.innerHTML=ue,ce.childNodes}(F);if(W.length>0)for(var V=0;V<W.length;V++){var L=W[V],ne=L.innerHTML;L&&L.nodeType!==3?(L.innerHTML="",C.addEventToQueue(y,{node:L,parentNode:B}),S?C.pasteString(ne,L):C.typeString(ne,L)):L.textContent&&(S?C.pasteString(L.textContent,B):C.typeString(L.textContent,B))}return C}),D(this,"deleteAll",function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"natural";return C.addEventToQueue(m,{speed:F}),C}),D(this,"changeDeleteSpeed",function(F){if(!F)throw new Error("Must provide new delete speed");return C.addEventToQueue(M,{speed:F}),C}),D(this,"changeDelay",function(F){if(!F)throw new Error("Must provide new delay");return C.addEventToQueue($,{delay:F}),C}),D(this,"changeCursor",function(F){if(!F)throw new Error("Must provide new cursor");return C.addEventToQueue(w,{cursor:F}),C}),D(this,"deleteChars",function(F){if(!F)throw new Error("Must provide amount of characters to delete");for(var B=0;B<F;B++)C.addEventToQueue(f);return C}),D(this,"callFunction",function(F,B){if(!F||typeof F!="function")throw new Error("Callback must be a function");return C.addEventToQueue(d,{cb:F,thisArg:B}),C}),D(this,"typeCharacters",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!F||!Array.isArray(F))throw new Error("Characters must be an array");return F.forEach(function(S){C.addEventToQueue(u,{character:S,node:B})}),C}),D(this,"removeCharacters",function(F){if(!F||!Array.isArray(F))throw new Error("Characters must be an array");return F.forEach(function(){C.addEventToQueue(f)}),C}),D(this,"addEventToQueue",function(F,B){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return C.addEventToStateProperty(F,B,S,"eventQueue")}),D(this,"addReverseCalledEvent",function(F,B){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return C.options.loop?C.addEventToStateProperty(F,B,S,"reverseCalledEvents"):C}),D(this,"addEventToStateProperty",function(F,B){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2],W=arguments.length>3?arguments[3]:void 0,V={eventName:F,eventArgs:B||{}};return C.state[W]=S?[V].concat(b(C.state[W])):[].concat(b(C.state[W]),[V]),C}),D(this,"runEventLoop",function(){C.state.lastFrameTime||(C.state.lastFrameTime=Date.now());var F=Date.now(),B=F-C.state.lastFrameTime;if(!C.state.eventQueue.length){if(!C.options.loop)return;C.state.eventQueue=b(C.state.calledEvents),C.state.calledEvents=[],C.options=q({},C.state.initialOptions)}if(C.state.eventLoop=h()(C.runEventLoop),!C.state.eventLoopPaused){if(C.state.pauseUntil){if(F<C.state.pauseUntil)return;C.state.pauseUntil=null}var S,W=b(C.state.eventQueue),V=W.shift();if(!(B<=(S=V.eventName===v||V.eventName===f?C.options.deleteSpeed==="natural"?o(40,80):C.options.deleteSpeed:C.options.delay==="natural"?o(120,160):C.options.delay))){var L=V.eventName,ne=V.eventArgs;switch(C.logInDevMode({currentEvent:V,state:C.state,delay:S}),L){case A:case u:var ue=ne.character,ce=ne.node,se=document.createTextNode(ue),he=se;C.options.onCreateTextNode&&typeof C.options.onCreateTextNode=="function"&&(he=C.options.onCreateTextNode(ue,se)),he&&(ce?ce.appendChild(he):C.state.elements.wrapper.appendChild(he)),C.state.visibleNodes=[].concat(b(C.state.visibleNodes),[{type:"TEXT_NODE",character:ue,node:he}]);break;case f:W.unshift({eventName:v,eventArgs:{removingCharacterNode:!0}});break;case x:var Te=V.eventArgs.ms;C.state.pauseUntil=Date.now()+parseInt(Te);break;case d:var le=V.eventArgs,Ce=le.cb,Ae=le.thisArg;Ce.call(Ae,{elements:C.state.elements});break;case y:var Be=V.eventArgs,Me=Be.node,ke=Be.parentNode;ke?ke.appendChild(Me):C.state.elements.wrapper.appendChild(Me),C.state.visibleNodes=[].concat(b(C.state.visibleNodes),[{type:E,node:Me,parentNode:ke||C.state.elements.wrapper}]);break;case m:var $e=C.state.visibleNodes,Ee=ne.speed,Le=[];Ee&&Le.push({eventName:M,eventArgs:{speed:Ee,temp:!0}});for(var De=0,Ke=$e.length;De<Ke;De++)Le.push({eventName:v,eventArgs:{removingCharacterNode:!1}});Ee&&Le.push({eventName:M,eventArgs:{speed:C.options.deleteSpeed,temp:!0}}),W.unshift.apply(W,Le);break;case v:var Xe=V.eventArgs.removingCharacterNode;if(C.state.visibleNodes.length){var ot=C.state.visibleNodes.pop(),_t=ot.type,qe=ot.node,ht=ot.character;C.options.onRemoveNode&&typeof C.options.onRemoveNode=="function"&&C.options.onRemoveNode({node:qe,character:ht}),qe&&qe.parentNode.removeChild(qe),_t===E&&Xe&&W.unshift({eventName:v,eventArgs:{}})}break;case M:C.options.deleteSpeed=V.eventArgs.speed;break;case $:C.options.delay=V.eventArgs.delay;break;case w:C.options.cursor=V.eventArgs.cursor,C.state.elements.cursor.innerHTML=V.eventArgs.cursor}C.options.loop&&(V.eventName===v||V.eventArgs&&V.eventArgs.temp||(C.state.calledEvents=[].concat(b(C.state.calledEvents),[V]))),C.state.eventQueue=W,C.state.lastFrameTime=F}}}),R)if(typeof R=="string"){var U=document.querySelector(R);if(!U)throw new Error("Could not find container element");this.state.elements.container=U}else this.state.elements.container=R;ie&&(this.options=q(q({},this.options),ie)),this.state.initialOptions=q({},this.options),this.init()}var T,O;return T=I,(O=[{key:"init",value:function(){var R,ie;this.setupWrapperElement(),this.addEventToQueue(w,{cursor:this.options.cursor},!0),this.addEventToQueue(m,null,!0),!window||window.___TYPEWRITER_JS_STYLES_ADDED___||this.options.skipAddStyles||(R=".Typewriter__cursor{-webkit-animation:Typewriter-cursor 1s infinite;animation:Typewriter-cursor 1s infinite;margin-left:1px}@-webkit-keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}",(ie=document.createElement("style")).appendChild(document.createTextNode(R)),document.head.appendChild(ie),window.___TYPEWRITER_JS_STYLES_ADDED___=!0),this.options.autoStart===!0&&this.options.strings&&this.typeOutAllStrings().start()}},{key:"logInDevMode",value:function(R){this.options.devMode&&console.log(R)}}])&&G(T.prototype,O),Object.defineProperty(T,"prototype",{writable:!1}),I}()})(),l.default})())})(Zi);var $6=Zi.exports;const L6=Tt($6),D6=j.extend({name:"EMarkdown",props:{chunks:{type:[Array,String],default:()=>[]},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},data(){return{isProcessing:!1,typewriter:null,renderTargets:{},isRenderingTable:!1,isIncompleteTableRow:!1,processor:null,accumulator:"",lastProcessedLength:0}},watch:{chunks:{handler(t,e){const r=t.slice(e.length);this.handleNewChunk(r.join(""))},deep:!0}},mounted(){this.initTypewriter(),this.initProcessor(),this.processInitialChunks()},methods:{initTypewriter(){this.typewriter=new L6(this.$refs.content,{loop:!1,delay:0,delaySpeed:0,cursor:""})},initProcessor(){this.processor=gs.unified().use(vs).use(this.remarkCustomRegex,this.exposedRegexes).use(this.remarkCheckIncompleteTableRows).use(ys).use(bs).use(_s,{allowDangerousHtml:!0}).use(Cs,{allowDangerousHtml:!0})},async processMarkdown(t){if(!this.processor)throw new Error("Processor not initialized");const e=await this.processor.process(t);return this.isIncompleteTableRow?(this.isRenderingTable=!1,this.isIncompleteTableRow=!1,null):String(e)},remarkCustomRegex(t){return e=>{xt.visit(e,"text",(r,n,s)=>{t.forEach(({regex:l,type:i})=>{this.processTextNode(r,n,s,l,i)})})}},processTextNode(t,e,r,n,s){const l=t.value.split(n);if(l.length>1){const i=this.replaceRegexTargets(l,n,s,t,e);return r.children.splice(e,1,...i),[xt.visit.SKIP,e+i.length]}},replaceRegexTargets(t,e,r,n,s){return t.map((l,i)=>{if(e.test(l)){const h=this.generateUniqueId(n,s,i,r);return this.renderTargets[h]={match:l,type:r},{type:"html",value:`<span id="${h}">${l}</span>`}}return l?{type:"text",value:l}:null}).filter(Boolean)},generateUniqueId(t,e,r,n){return`render-target-${n}-${vi({node:t,nodeIndex:e,partIndex:r})}`},remarkCheckIncompleteTableRows(){return t=>{xt.visit(t,"tableRow",(e,r,n)=>{this.isRenderingTable=!0;const s=n.children[0].children.length;if(e.children.length<s)return this.isIncompleteTableRow=!0,n.children.splice(r,1),xt.visit.EXIT})}},async processChunk(t){if(!t||(this.accumulator+=t,this.isRenderingTable&&this.accumulator.length<30))return;const e=await this.processMarkdown(this.accumulator);e!==null&&(this.animated?await this.animateNewChunk(e):this.updateContent(e),this.renderRegexesScopedSlots(),this.lastProcessedLength=this.accumulator.length)},async animateNewChunk(t){const e=this.getNewContent(t);await new Promise(r=>{this.$emit("animation-start"),this.typewriter.typeString(e).callFunction(()=>{this.$emit("animation-end"),r()}).start()})},getNewContent(t){const e=document.createElement("div");return e.innerHTML=t,(e.textContent||"").slice(this.lastProcessedLength)},updateContent(t){const e=this.$refs.content,r=document.createElement("div");r.innerHTML=t,xs(e,r,{onBeforeElUpdated:(n,s)=>n.classList.contains("Typewriter__wrapper")?(s.innerHTML=n.innerHTML,!1):!0})},async handleNewChunk(t){this.isProcessing||(this.isProcessing=!0,await this.processChunk(t),this.isProcessing=!1)},async processInitialChunks(){const t=Array.isArray(this.chunks)?this.chunks:[this.chunks];for(const e of t)await this.handleNewChunk(e)},renderRegexesScopedSlots(){Object.entries(this.renderTargets).forEach(([t,{match:e,type:r}])=>{this.renderScopedSlot({id:t,type:r,propsData:{match:e}})}),this.renderTargets={}},renderScopedSlot({id:t,type:e,propsData:r}){const n=this.$scopedSlots[`markdown.regex.${e}`];if(!n)return;const s=j.extend({functional:!0,props:["scopedSlot","propsData"],render:(h,a)=>a.props.scopedSlot(a.props.propsData)}),l=document.getElementById(t);if(!l)return;const i=new j({render:h=>h(s,{props:{scopedSlot:n,propsData:r}})}).$mount();return l.innerHTML="",l.appendChild(i.$el),i}}}),c7="";var P6=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-markdown"},[r("article",{staticClass:"e-mx-auto prose-h1:!e-text-2xl prose-h2:!e-text-xl prose-h2:!e-mt-0 prose-h3:!e-text-lg e-prose e-prose-slate",class:{"e-prose-invert":e.dark}},[r("div",{ref:"content",staticClass:"e-markdown__content e-mt-[13px]"})])])},O6=[],z6=Y(D6,P6,O6,!1,null,null,null,null);const B6=z6.exports,I6=j.extend({name:"ECopyToClipboardBtn",components:{EActionButton:vt},mixins:[Ve,Ge],props:{text:{type:[Function,String,Number],required:!0},buttonText:{type:String,default:""},buttonClasses:{type:[String,Object,Array],default:null},description:{type:String,default:"Copy"},iconType:{type:String,default:"far fa-copy"},textOnlyButton:{type:Boolean,default:!1},dark:{type:Boolean,default:!0}},data(){return{loading:!1,tooltipText:this.description||"Copy to clipboard"}},computed:{copyButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"e-bg-gray-600":this.dark,"e-bg-gray-200":!this.dark,"e-rounded-md e-border-none copy-button":!0}}},watch:{tooltipText(t){t!==this.description&&this.$setTimeout(()=>{this.tooltipText=this.description},1e3)}},mounted(){this.$addEventListener("focusin",this.handleFocusin,this.$refs.copyToClipboard)},methods:{handleFocusin(t){t.stopPropagation()},getProp(t,e){return Object.prototype.hasOwnProperty.call(this.$attrs,t)?this.$attrs[t]:e},copyTextToClipboard(){try{this.loading=!0;let t;typeof this.text=="function"?t=this.text():t=this.text;const e=this.$refs.copyToClipboard;e.value=t,e.focus(),e.select(),document.execCommand("copy"),this.tooltipText="Copied!",this.$emit("copied")}catch(t){console.error("Failed to copy text to clipboard",t)}finally{this.loading=!1}}}}),u7="";var F6=function(){var e=this,r=e._self._c;return r("EActionButton",{attrs:{"tooltip-text":e.tooltipText,"tooltip-position":"top",icon:e.iconType,"icon-size":"lg",dark:e.dark,"button-classes":e.copyButtonClasses},on:{click:e.copyTextToClipboard}},[e._v(" "+e._s(e.buttonText)+" "),r("textarea",{ref:"copyToClipboard",staticClass:"copy-to-clipboard",attrs:{readonly:""}})])},A6=[],R6=Y(I6,F6,A6,!1,null,"54e17d6a",null,null);const en=R6.exports,H6=j.extend({name:"EDialog",components:{EFadeTransition:Ot},directives:{clickOutside:Rr},props:{value:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},actions:{type:Array,default:()=>[]},title:{type:String,default:""},persistent:{type:Boolean,default:!1},width:{type:[Number,String],default:500},height:{type:[Number,String,void 0],default:void 0}},computed:{visible:{get(){return this.value},set(t){this.$emit("input",t)}},panelClasses(){return["e-relative e-transform e-overflow-hidden e-rounded-lg e-text-left e-shadow-xl e-transition-all e-w-full e-flex e-flex-col",this.dark?"e-bg-gray-800":"e-bg-white"]},headerContainerClasses(){return["e-dialog__header",this.dark?"e-bg-gray-800 e-text-gray-50":"e-bg-white e-text-slate-900","e-px-6 e-pt-6 e-pb-4 "]},bodyContainerClasses(){return["e-dialog__body e-px-6",this.dark?"e-bg-gray-800 e-text-gray-50":"e-bg-white e-text-slate-900"]},footerContainerClasses(){return["e-dialog__footer",this.dark?"e-bg-gray-700":"e-bg-gray-50","e-flex e-py-3 e-flex e-px-4 e-justify-end e-mt-auto e-items-end"]},panelStyles(){const t=typeof this.width=="number"?`${this.width}px`:this.width,e=typeof this.height=="number"?`${this.height}px`:this.height;return{minWidth:t,minHeight:e,width:t,height:e}}},methods:{getButtonClasses(t){const e=this.dark?"e-bg-gray-700 e-text-gray-50 e-border-solid e-border-[1px] e-border-gray-500 hover:e-bg-gray-600":"e-bg-white e-text-gray-900 e-border-solid e-border-[1px] e-border-gray-300 hover:e-bg-gray-50",r={[ae.warning]:"e-bg-warning e-text-white e-border-none",[ae.error]:"e-bg-error e-text-white e-border-none",[ae.info]:"e-bg-info e-text-white e-border-none",[ae.success]:"e-bg-success e-text-white e-border-none",[ae.primary]:"e-bg-primary e-text-white e-border-none",[ae.brand]:"e-bg-brand-500 e-text-white e-border-none",[ae.default]:e,[ae.gray]:"e-bg-gray-600 e-text-white hover:e-bg-gray-light e-border-none"};return["e-inline-flex e-w-full e-justify-center e-rounded-md e-px-3 e-py-2 e-text-sm e-font-semibold e-shadow-sm sm:e-ml-3 sm:e-w-auto e-cursor-pointer hover:e-opacity-90",r[t]||r[ae.default]]},onActionClick(t){t.closeOnClick&&(this.visible=!1),this.$emit("action-clicked",t.id||t.label)},onClickOutside(){this.persistent||(this.visible=!1)}}});var N6=function(){var e=this,r=e._self._c;return r("EFadeTransition",{attrs:{duration:100}},[e.visible?r("div",{staticClass:"e-dialog e-absolute e-z-10",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[r("div",{staticClass:"e-dialog__backdrop e-fixed e-inset-0 e-bg-gray-500 e-bg-opacity-75 e-transition-opacity",attrs:{"aria-hidden":"true"}}),r("div",{staticClass:"e-dialog__wrapper e-fixed e-inset-0 e-z-10 e-w-screen e-overflow-y-auto"},[r("div",{staticClass:"e-dialog__wrapper e-cursor-default e-flex e-min-h-full e-items-end e-justify-center e-p-4 e-text-center sm:e-items-center sm:e-p-0"},[r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.onClickOutside,expression:"onClickOutside"}],class:e.panelClasses,style:e.panelStyles},[r("div",{class:e.headerContainerClasses},[e._t("header",function(){return[e.title?r("div",{staticClass:"e-text-lg e-font-bold"},[e._v(" "+e._s(e.title)+" ")]):e._e()]},{dark:e.dark})],2),r("div",{class:e.bodyContainerClasses},[e._t("default",null,{dark:e.dark})],2),r("div",{class:e.footerContainerClasses},[e._t("footer",function(){return e._l(e.actions,function(n,s){return r("button",{key:s,class:e.getButtonClasses(n.color),on:{click:function(l){return l.stopPropagation(),e.onActionClick(n)}}},[e._v(" "+e._s(n.label)+" ")])})},{actions:e.actions,dark:e.dark})],2)])])])]):e._e()])},W6=[],j6=Y(H6,N6,W6,!1,null,null,null,null);const G6=j6.exports,q6=j.extend({name:"EFeedbackButton",components:{EDialog:G6,EActionButton:vt},mixins:[Ve,Ge],props:{buttonText:{type:String,default:""},buttonClasses:{type:[String,Object,Array],default:null},description:{type:String,default:"Submit feedback"},iconType:{type:String,default:"far fa-thumbs-up"},withText:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},dialogActions:{type:Array,default:()=>[{label:"Submit",color:"primary"}]},dialogWidth:{type:[Number,String],default:"27rem"}},data(){return{tooltipText:this.description||"Submit feedback",showDialog:!1,feedbackText:""}},computed:{eButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"e-bg-gray-600":this.dark,"e-bg-gray-200":!this.dark,"e-rounded-md e-border-none":!0}},textAreaClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"e-text-gray-600":!this.dark,"e-text-gray-300":this.dark,"e-custom-scrollbar--light":!this.dark,"e-custom-scrollbar--dark":this.dark}},textAreaContainerClasses(){return{"e-border-gray-600":this.dark,"e-border-gray-300":!this.dark}}},watch:{tooltipText(t){t!==this.description&&this.$setTimeout(()=>{this.tooltipText=this.description},1e3)}},mounted(){},methods:{onClick(){this.withText?this.showDialog=!0:this.submitFeedback()},submitFeedback(){this.showDialog=!1,this.$emit("submit",this.feedbackText),this.tooltipText="Thank you!"}}}),d7="";var Z6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EActionButton",{attrs:{"tooltip-text":e.tooltipText,"tooltip-position":"top",icon:e.iconType,"icon-size":"lg",dark:e.dark,"button-classes":e.eButtonClasses},on:{click:e.onClick}},[e._v(" "+e._s(e.buttonText)+" "),e.withText?r("EDialog",{attrs:{value:e.showDialog,title:"Feedback",dark:e.dark,width:e.dialogWidth,persistent:"",actions:e.dialogActions},on:{"action-clicked":e.submitFeedback}},[r("div",{staticClass:"e-feedback__form"},[r("div",{staticClass:"e-feedback__form-description e-mb-3 e-leading-relaxed"},[e._v(" Thanks for your input! "),r("br"),e._v("Please share your thoughts and experience to help us improve ")]),r("div",{staticClass:"e-rounded-md e-w-full e-overflow-hidden e-border e-border-solid e-py-2 e-mb-6",class:e.textAreaContainerClasses},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.feedbackText,expression:"feedbackText"}],staticClass:"e-feedback__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full",class:e.textAreaClasses,attrs:{autofocus:"",tabindex:"0",rows:"4",placeholder:"Enter your text here..."},domProps:{value:e.feedbackText},on:{input:function(n){n.target.composing||(e.feedbackText=n.target.value)}}})])])]):e._e()],1)},U6=[],Y6=Y(q6,Z6,U6,!1,null,null,null,null);const X6=Y6.exports,Q6=j.extend({name:"EChatMessageActions",components:{EFeedbackButton:X6,ECopyToClipboardBtn:en},props:{message:{type:[String,Array],default:""},dark:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1}},data(){return{FeedbackType:Nt,showFeedbackDialog:!1}},computed:{messageText(){return(Array.isArray(this.message)?this.message:[this.message]).join("")}},methods:{handleFeedback(t,e){this.$emit("feedback",{type:t,text:e})},openFeedbackDialog(){this.showFeedbackDialog=!0}}}),h7="";var V6=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-message__actions e-relative e-h-0"},[r("div",{staticClass:"e-message__actions-container e-flex e-gap-1 e-pt-2"},[e.showCopyButton?r("ECopyToClipboardBtn",{attrs:{text:e.messageText,dark:e.dark,"button-size":"base","button-classes":"e-bg-transparent e-border-none",description:"Copy"}}):e._e(),e.showFeedbackButtons?r("EFeedbackButton",{attrs:{dark:e.dark,"with-text":"","button-size":"base","button-classes":"e-bg-transparent e-border-none"},on:{submit:function(n){return e.handleFeedback(e.FeedbackType.positive,n)}},nativeOn:{click:function(n){return e.openFeedbackDialog.apply(null,arguments)}}}):e._e(),e.showFeedbackButtons?r("EFeedbackButton",{attrs:{dark:e.dark,"with-text":"","button-size":"base","button-classes":"e-bg-transparent e-border-none","icon-type":"far fa-thumbs-down"},on:{submit:function(n){return e.handleFeedback(e.FeedbackType.negative,n)}},nativeOn:{click:function(n){return e.openFeedbackDialog.apply(null,arguments)}}}):e._e()],1)])},K6=[],J6=Y(Q6,V6,K6,!1,null,null,null,null);const e4=J6.exports,t4=j.extend({name:"EChatMessage",components:{EFadeTransition:Ot,EAvatar:St,EChatMessageActions:e4,EEvercamLogo:Jr,EPulsatingDot:E6,EMarkdown:B6},mixins:[Ge],props:{role:{type:String,default:Ze.USER},initials:{type:String,default:null},message:{type:[String,Array],default:""},isLoading:{type:Boolean,default:!1},avatarSrc:{type:String,default:null},showAvatar:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},withActions:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1},loadingMessage:{type:String,default:""},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1}},data(){return{showActions:!1}},computed:{isBotRole(){return this.role===Ze.COPILOT||this.role===Ze.SYSTEM},isStream(){return Array.isArray(this.message)},userMessageClasses(){return{"e-bg-gray-100 e-text-gray-800":!this.dark,"e-bg-gray-600 e-text-white":this.dark}},logoClasses(){return{"e-bg-white e-p-[2px] e-rounded-full":this.dark}},dotColor(){return this.dark?"#ff2525":"#c5393d"},markdownScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("markdown.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})}},methods:{onMouseOver(){this.showActions=!0},onMouseLeave(t){[null,document.documentElement].includes(t.relatedTarget)||(this.showActions=!1)},onFeedback(t){this.$emit("feedback",t),this.$setTimeout(()=>{this.showActions=!1},1e3)}}}),f7="";var r4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-message",on:{mouseenter:e.onMouseOver,mouseleave:e.onMouseLeave}},[r("div",{staticClass:"e-chat-message__wrapper e-flex e-items-start e-justify-start e-gap-3",class:{"e-chat-message__rtl":!e.isBotRole}},[e.showAvatar?r("div",{staticClass:"e-chat-message__avatar e-mt-3"},[e.isBotRole?e._t("message-avatar",function(){return[r("div",{class:e.logoClasses},[r("EEvercamLogo",{attrs:{size:e.dark?"2xs":"xs"}})],1)]},{role:e.role}):r("EAvatar",{attrs:{image:e.avatarSrc,size:"xs"}},[e._v(e._s(e.initials))])],2):e._e(),r("div",{staticClass:"e-chat-message__content e-flex"},[e.isLoading&&e.isBotRole?e._t("loadingPlaceholder",function(){return[r("div",[e.loadingMessage?r("EMarkdown",{staticClass:"e-chat-message__markdown e-italic",attrs:{chunks:[e.loadingMessage],animated:"",dark:e.dark,copyable:!1}}):e._e(),r("div",{staticClass:"e-inline-block e-mt-5 e-ml-2"},[r("EPulsatingDot",{attrs:{size:8,color:e.dotColor}})],1)],1)]}):e.isBotRole?r("EMarkdown",{staticClass:"e-chat-message__markdown",attrs:{chunks:e.message,animated:e.animated,dark:e.dark,"exposed-regexes":e.exposedRegexes},on:{"animation-end":function(n){return e.$emit("animation-end")},"animation-start":function(n){return e.$emit("animation-start")}},scopedSlots:e._u([e._l(e.markdownScopedSlots,function(n,s){return{key:s,fn:function(l){return[e._t(s,null,null,l)]}}})],null,!0)}):r("p",{staticClass:"e-chat-message__content e-font-medium e-text-wrap e-mb-1 e-mt-[12px] e-rounded-lg e-p-2 e-px-4",class:e.userMessageClasses},[e._v(" "+e._s(e.message)+" ")]),e._t("extraContent")],2)]),r("EFadeTransition",[e.withActions&&e.showActions?r("EChatMessageActions",{staticClass:"e-left-11",attrs:{dark:e.dark,"show-copy-button":e.showCopyButton,"show-feedback-buttons":e.showFeedbackButtons,message:e.message},on:{feedback:e.onFeedback}}):e._e()],1)],1)},n4=[],i4=Y(t4,r4,n4,!1,null,null,null,null);const s4=i4.exports,a4=j.extend({name:"EChatFooter",props:{dark:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},computed:{backgroundClasses(){return this.inline?{}:{"e-bg-gray-700":this.dark,"e-bg-gray-50":!this.dark}},footerClasses(){return{...this.backgroundClasses}}}});var o4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-footer e-px-3 e-pt-4 e-pb-3",class:e.footerClasses},[e._t("default")],2)},l4=[],c4=Y(a4,o4,l4,!1,null,null,null,null);const u4=c4.exports,d4=j.extend({name:"EChatInput",components:{EIcon:rt},model:{prop:"value",event:"prompt-changed"},props:{dark:{type:Boolean,default:!1},placeholder:{type:String,default:"Message Copilot"},disabled:{type:Boolean,default:!1}},data(){return{content:"",maxHeight:175,textAreaHeight:0,isShiftKeyPressed:!1}},computed:{textAreaContainerClasses(){return{"e-border-gray-600":this.dark&&!this.disabled,"e-border-gray-300":!this.dark&&!this.disabled,"e-border-gray-800":this.dark&&this.disabled,"e-border-gray-500":!this.dark&&this.disabled,"e-cursor-not-allowed":this.disabled}},textAreaClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"e-text-gray-600":!this.dark,"e-text-gray-300":this.dark,"e-custom-scrollbar--light":!this.dark,"e-custom-scrollbar--dark":this.dark}},buttonClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark}},textareaStyle(){return this.textAreaHeight?{height:`${Math.min(this.textAreaHeight,this.maxHeight)}px`,overflowY:this.isOverflowing?"scroll":"hidden"}:{}},isOverflowing(){return!!this.textAreaHeight&&this.textAreaHeight>this.maxHeight}},mounted(){this.focus()},methods:{focus(){this.$refs.chatTextarea.focus()},submitMessage(){this.$emit("submit",this.content),this.content="",this.$nextTick(this.updateTextAreaHeight)},onInput(t){const e=t.target,r=this.content===e.value;this.content=e.value,r||(this.updateTextAreaHeight(),this.$emit("prompt-changed",e.value))},onKeyDown(t){if(!this.disabled){if(!this.isShiftKeyPressed&&t.key==="Enter"){t.preventDefault();return}if(t.key==="Shift"||t.code==="ShiftLeft"){this.isShiftKeyPressed=!0;return}}},onKeyUp(t){if(!this.disabled){if(t.key==="Shift"||t.code==="ShiftLeft"){this.isShiftKeyPressed=!1;return}t.key==="Enter"&&!this.isShiftKeyPressed&&(t.preventDefault(),this.submitMessage())}},updateTextAreaHeight(){const t=this.$refs.chatTextarea;t.style.height="auto",this.textAreaHeight=t.scrollHeight}}}),p7="";var h4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-chat-input e-relative e-flex e-w-auto e-p-2",class:{"e-opacity-50":e.disabled}},[r("div",{staticClass:"e-rounded-lg e-w-full e-overflow-hidden e-border e-border-solid",class:e.textAreaContainerClasses},[r("textarea",e._b({ref:"chatTextarea",staticClass:"e-chat-input__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full",class:e.textAreaClasses,style:e.textareaStyle,attrs:{rows:"1",tabindex:"0",autofocus:"",placeholder:e.placeholder,disabled:e.disabled},on:{keydown:function(n){return n.stopPropagation(),e.onKeyDown.apply(null,arguments)},keyup:e.onKeyUp,input:e.onInput}},"textarea",e.$attrs,!1))]),r("div",{staticClass:"e-absolute e-bottom-3 e-items-center e-flex e-h-min",class:e.isOverflowing?"e-right-6":"e-right-4"},[r("button",{staticClass:"e-chat-input__submit-btn e-inline-flex e-items-center e-justify-center e-cursor-pointer disabled:e-cursor-not-allowed e-h-8 e-w-8 e-border-none focus:e-outline-none",class:e.buttonClasses,attrs:{type:"button",disabled:e.disabled},on:{click:function(n){return n.preventDefault(),e.submitMessage.apply(null,arguments)}}},[r("EIcon",{attrs:{icon:"arrow-up",size:"base"}})],1)])])},f4=[],p4=Y(d4,h4,f4,!1,null,null,null,null);const m4=p4.exports,g4=j.extend({name:"EChatSuggestionCard",components:{EIcon:rt},props:{text:{type:String,required:!0},icon:{type:String,default:null},color:{type:String,default:"e-text-gray-500"},dark:{type:Boolean,default:!1},width:{type:Number,default:200}},computed:{classes(){return{"hover:e-bg-gray-100 e-border-gray-200":!this.dark,"e-bg-gray-800 e-border-gray-600 hover:e-bg-gray-900":this.dark}},styles(){return{width:`${this.width}px`}}}});var v4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",e._g(e._b({staticClass:"e-chat-suggestion e-p-3 e-inline-block e-border-solid e-border-[1.67px] e-rounded-xl e-cursor-pointer",class:e.classes,style:e.styles},"div",e.$attrs,!1),e.$listeners),[r("div",{staticClass:"e-chat-suggestion__icon e-h-6 e-w-6 e-mb-2"},[e.icon?r("EIcon",{attrs:{icon:e.icon,size:"lg",color:e.color}}):e._t("svg-icon")],2),r("p",{staticClass:"e-chat-suggestion__text e-font-medium e-antialiased e-text-wrap",class:{"e-text-gray-200":e.dark,"e-text-gray-600":!e.dark}},[e._v(" "+e._s(e.text)+" ")])])},_4=[],C4=Y(g4,v4,_4,!1,null,null,null,null);const y4=C4.exports,b4=j.extend({components:{EFadeTransition:Ot,EChatWrapper:c6,EChatHeader:_6,EChatBody:w6,EChatMessage:s4,EChatFooter:u4,EChatInput:m4,EChatSuggestionCard:y4,EEvercamLogo:Jr},props:{dark:{type:Boolean,default:!1},messages:{type:Array,default:()=>[]},user:{type:String,default:"You"},embedded:{type:Boolean,default:!1},showHeader:{type:Boolean,default:!0},inlineFooter:{type:Boolean,default:!1},height:{type:String,default:void 0},width:{type:String,default:void 0},showUserAvatar:{type:Boolean,default:!0},showCopilotAvatar:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},headerText:{type:String,default:"Evercam Copilot"},inputPlaceholder:{type:String,default:"Message Copilot"},loadingMessage:{type:String,default:""},suggestions:{type:Array,default:()=>[]},exposedRegexes:{type:Array,default:()=>[]}},data(){return{prompt:"",containerHeight:0,headerHeight:0,bodyHeight:0,footerHeight:0}},computed:{ChatMessageRole(){return Ze},userInitials(){var t,e,r;return((r=(e=(t=this.user.trim())==null?void 0:t.split(/\s+/))==null?void 0:e.map(n=>{var s;return((s=n==null?void 0:n.charAt(0))==null?void 0:s.toUpperCase())||""}))==null?void 0:r.join(""))||this.user[0]||""},chatBodyStyle(){return this.bodyHeight?{maxHeight:`${this.bodyHeight}px`,height:`${this.bodyHeight}px`}:{}},wrapperStyle(){return{height:this.height||"100%",width:this.width||"100%"}},bodyBorderClasses(){let t={};this.showHeader&&(t={"e-border-t-[1px] e-border-t-solid":!0,"e-border-t-gray-300":!this.dark,"e-border-t-gray-600":this.dark});let e={};return this.inlineFooter||(e={"e-border-b-[1px] e-border-b-solid":!0,"e-border-b-gray-300":!this.dark,"e-border-b-gray-600":this.dark}),{...t,...e}},markdownScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("markdown.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})},showSuggestions(){return this.messages.length===0&&this.suggestions.length>0}},watch:{height(){this.updateChatBodyHeight()},showHeader(){this.updateChatBodyHeight()}},mounted(){this.updateChatBodyHeight()},methods:{sendMessage(){!this.isDisabled&&this.prompt.length>0&&(this.$emit("user-message",this.prompt),this.prompt="")},isUserMessage(t){return t.role===Ze.USER},hasActions(t){return this.isLoading||this.isDisabled?!1:t.role===Ze.COPILOT},getMessageContent(t){return t.content},getMessageInitials(t){return this.isUserMessage(t)?this.userInitials:null},getMessageClasses(t,e){return{"e-mb-11":e===this.messages.length-1&&this.hasActions(t)}},updateChatBodyHeight(){this.$nextTick(()=>{var n,s,l;const t=(n=this.$refs.chatContainer)==null?void 0:n.$el,e=(s=this.$refs.chatHeader)==null?void 0:s.$el,r=(l=this.$refs.chatFooter)==null?void 0:l.$el;!t||!e||!r||(this.headerHeight=e.clientHeight,this.footerHeight=r.clientHeight,this.containerHeight=t.clientHeight,this.height?this.bodyHeight=parseInt(this.height)-this.headerHeight-this.footerHeight:this.bodyHeight=Math.max(500,this.containerHeight-this.headerHeight-this.footerHeight))})},isAvatarVisible(t){return t.role===Ze.USER?this.showUserAvatar:t.role===Ze.COPILOT?this.showCopilotAvatar:!0},onMessageFeedback(t,e){this.$emit("message-feedback",{...t,messageId:e})}}}),m7="";var x4=function(){var e=this,r=e._self._c;return r("EChatWrapper",{ref:"chatContainer",staticClass:"e-chat-wrapper",style:e.wrapperStyle,attrs:{dark:e.dark,embedded:e.embedded}},[r("div",{staticClass:"e-w-full e-h-full e-chat-container"},[r("EChatHeader",{ref:"chatHeader",attrs:{hidden:!e.showHeader,dark:e.dark,title:e.headerText},scopedSlots:e._u([{key:"chip",fn:function(){return[e._t("chip")]},proxy:!0}],null,!0)}),r("EChatBody",{ref:"chatBody",class:e.bodyBorderClasses,style:e.chatBodyStyle,attrs:{dark:e.dark}},[r("EFadeTransition",[e.showSuggestions?r("div",{staticClass:"e-w-full e-flex e-flex-col e-items-center e-justify-center e-mt-8"},[r("div",{staticClass:"e-mb-8"},[r("EEvercamLogo",{attrs:{size:"lg"}})],1),r("div",{staticClass:"e-inline-flex e-flex-wrap e-justify-center e-gap-4"},e._l(e.suggestions,function(n){var s;return r("EChatSuggestionCard",{key:n.text,attrs:{text:n.text,icon:n.icon,color:n.color,dark:e.dark,width:(s=n.width)!=null?s:150},on:{click:function(l){return e.$emit("suggestion-clicked",n)}}})}),1)]):e._e()]),e.showSuggestions?e._e():r("div",e._l(e.messages,function(n,s){return r("EChatMessage",{key:`${n.id}-${s}`,class:e.getMessageClasses(n,s),attrs:{dark:e.dark,role:n.role,"is-loading":n.isLoading,"data-message-id":n.id,"show-feedback-buttons":!e.readonly,"exposed-regexes":e.exposedRegexes,"show-copy-button":"",message:e.getMessageContent(n),initials:e.getMessageInitials(n),"show-avatar":e.isAvatarVisible(n),"with-actions":e.hasActions(n)&&s>0},on:{feedback:function(l){return e.onMessageFeedback(l,n.id)},"animation-end":function(l){return e.$emit("animation-end",l)}},scopedSlots:e._u([e._l(e.markdownScopedSlots,function(l,i){return{key:i,fn:function(h){return[e._t(i,null,null,h)]}}}),{key:"extraContent",fn:function(){return[e._t("message.extraContent",null,{message:n})]},proxy:!0}],null,!0)})}),1),e.isLoading?r("EChatMessage",{attrs:{"is-loading":"","loading-message":e.loadingMessage,"data-message-id":-1,"show-avatar":e.showCopilotAvatar,role:e.ChatMessageRole.COPILOT,dark:e.dark}}):e._e()],1),r("EChatFooter",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],ref:"chatFooter",attrs:{dark:e.dark,inline:e.inlineFooter}},[r("EChatInput",{attrs:{dark:e.dark,disabled:e.isDisabled,placeholder:e.inputPlaceholder},on:{"prompt-changed":function(n){return e.$emit("prompt-changed",n)},submit:e.sendMessage},model:{value:e.prompt,callback:function(n){e.prompt=n},expression:"prompt"}})],1)],1)])},w4=[],S4=Y(b4,x4,w4,!1,null,"5cba8b84",null,null);const T4=S4.exports,tn={EAvatar:St,EBadge:Wt,EIcon:rt,ESpinner:Pr,ERow:di,ECol:hi,EVideoPlayer:yi,ETimeline:ki,EVideoEmbed:Mi,EHeatmapBar:Yr,EHoursHeatmap:Ei,EReadMore:$i,ETruncatedDiv:Li,ECompareSeparator:Xr,EImagesComparator:Pi,EToggleSwitch:Hi,EExpandableMenu:Oi,EZoomable:Ir,EGlobalSearch:ji,ESvgIcon:Fi,ECalendarHeatmap:Ai,EFlagIcon:Ri,EImagePlayer:Gi,EZoomableImg:Kr,EZoomSlider:Vr,EActionButton:vt,ETooltip:Qr,ELayout:qi,EChat:T4,EContextProvider:i6,ECopyToClipboardBtn:en},k4={install(t){Object.keys(tn).forEach(e=>{t.component(e,tn[e])}),Object.keys(Wi).forEach(e=>{t.mixin(e,Wi[e])}),bi.forEach(({name:e,definition:r})=>{t.directive(e,r)})}};Z.AvatarSizes=s1,Z.BadgeColors=o1,Z.BadgeSizes=i1,Z.BaseColor=ae,Z.ChatMessageRole=Ze,Z.ChatMessageType=mn,Z.ClickOutsideDirective=Rr,Z.Colors=ci,Z.DirectivesMap=bi,Z.EActionButton=vt,Z.EAvatar=St,Z.EBadge=Wt,Z.ECalendarHeatmap=Ai,Z.ECol=hi,Z.ECompareSeparator=Xr,Z.ECopyToClipboardBtn=en,Z.EExpandableMenu=Oi,Z.EFlagIcon=Ri,Z.EGlobalSearch=ji,Z.EHeatmapBar=Yr,Z.EHoursHeatmap=Ei,Z.EIcon=rt,Z.EImagePlayer=Gi,Z.EImagesComparator=Pi,Z.ELayout=qi,Z.EReadMore=$i,Z.ERow=di,Z.ESpinner=Pr,Z.ESvgIcon=Fi,Z.ETimeline=ki,Z.EToggleSwitch=Hi,Z.ETooltip=Qr,Z.ETruncatedDiv=Li,Z.EVENTS=u1,Z.EVideoEmbed=Mi,Z.EVideoPlayer=yi,Z.EZoomSlider=Vr,Z.EZoomable=Ir,Z.EZoomableImg=Kr,Z.FeedbackType=Nt,Z.IconSizes=ui,Z.ImageQuality=pn,Z.Position=Oe,Z.ResizeObserverDirective=Qe,Z.Size=J,Z.TextSizes=li,Z.TimelineAxis=et,Z.TimelineChartType=je,Z.TimelineIntervalChangeTrigger=wt,Z.ToggleSwitchSizes=a1,Z.TooltipColors=l1,Z.TooltipPositions=c1,Z.components=tn,Z.debounce=fi,Z.default=k4,Z.eventListeners=Ve,Z.exitFullScreen=Br,Z.fullConfig=Dr,Z.generateUniqueId=vi,Z.getImageData=E1,Z.getRandomChars=M1,Z.hashCode=_i,Z.hexToRgba=pi,Z.inactivityListener=Ni,Z.isFullScreen=Or,Z.isRgba=gi,Z.isValidDate=$1,Z.makeFullScreen=zr,Z.rgbToRgba=mi,Z.timeouts=Ge,Z.toRgba=dt,Object.defineProperties(Z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
202
+ c-31.709,0-54.784,23.208-63.82,63.896l13.34,1.769L182.443,107.77z`}})])])},jl=[],Gl=Y(Nl,Wl,jl,!1,null,null,null,null);const ql=Gl.exports,Zl=j.extend({name:"ZohoCrm",components:{BaseIcon:ge},props:{color:{type:String,default:"grey"}}});var Ul=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{height:"20",width:"20",viewBox:"16 -9 5 40",small:!0,color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{stroke:e.color,"stroke-width":"1",d:"M26.2 24c-3.2 0-6.2-1.2-8.4-3.5l-6.6-6.6c-.8-.8-1.2-1.8-1.2-2.9s.4-2.1 1.2-2.9C11.9 7.4 12.9 7 14 7c1.1 0 2.1.4 2.9 1.2l6.1 6.1c.7.7 1.9.7 2.6 0 .3-.3.5-.8.5-1.3s-.2-1-.5-1.3L19 5.1c-2-1.9-4.4-2.9-7-2.9-2.7 0-5.1 1-7 2.9-1.8 1.9-2.8 4.4-2.8 7 .1 2.6 1.1 5 2.9 6.8 1.8 1.8 4.3 2.8 6.8 2.8.9 0 1.9-.1 2.8-.4.6-.2 1.2.2 1.4.8.2.6-.2 1.2-.8 1.4-1 .4-2.1.5-3.3.5-3.2 0-6.2-1.2-8.4-3.4C1.3 18.4.1 15.4 0 12.3c0-1.7.3-3.3.9-4.8s1.4-2.8 2.5-3.9 2.4-2 3.8-2.6c1.5-.6 3.1-1 4.7-1 3.2 0 6.2 1.2 8.4 3.5l6.6 6.6c.8.8 1.2 1.8 1.2 2.9s-.4 2.1-1.2 2.9c-1.6 1.6-4.2 1.6-5.7 0l-6.1-6.1c-.7-.7-1.9-.7-2.6 0-.3.3-.5.8-.5 1.3s.2 1 .5 1.3l6.6 6.6c1.8 1.8 4.3 2.8 6.9 2.8s5.1-1 6.9-2.9c1.8-1.8 2.9-4.3 2.9-6.9s-1-5.1-2.9-6.9c-1.8-1.8-4.3-2.9-6.9-2.9-.8 0-1.7.1-2.5.3-.1 0-.2.1-.3.1-.6.2-1.2-.2-1.4-.8-.2-.6.2-1.2.8-1.4.1 0 .3-.1.4-.1 1-.3 2-.4 3-.4 1.6 0 3.2.3 4.7.9 1.4.6 2.7 1.5 3.8 2.6s2 2.4 2.6 3.8c.6 1.5.9 3.1.9 4.7 0 3.2-1.3 6.2-3.5 8.5-2.1 2.4-5.1 3.6-8.3 3.6z"}})])},Yl=[],Xl=Y(Zl,Ul,Yl,!1,null,null,null,null);const Ql=Xl.exports,Vl=j.extend({name:"Tag",components:{BaseIcon:ge},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var Kl=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"24",height:"24",viewBox:"0 0 24 24"}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{fill:e.color,d:"M22,4C22,2.89 21.1,2 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z"}}),r("line",{attrs:{x1:"6",y1:"7",x2:"18",y2:"7",stroke:e.backgroundColor,"stroke-width":"2"}}),r("line",{attrs:{x1:"6",y1:"10",x2:"18",y2:"10",stroke:e.backgroundColor,"stroke-width":"2"}}),r("line",{attrs:{x1:"6",y1:"13",x2:"18",y2:"13",stroke:e.backgroundColor,"stroke-width":"2"}})])},Jl=[],e3=Y(Vl,Kl,Jl,!1,null,null,null,null);const t3=e3.exports,r3=j.extend({name:"Tag",components:{BaseIcon:ge},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var n3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"24",height:"24",viewBox:"0 0 24 24"}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{fill:e.color,d:"M22,4C22,2.89 21.1,2 20,2H4A2,2 0 0,0 2,4V16A2,2 0 0,0 4,18H18L22,22V4Z"}}),r("line",{attrs:{x1:"12",y1:"6",x2:"12",y2:"14",stroke:e.backgroundColor,"stroke-width":"2"}}),r("line",{attrs:{x1:"8",y1:"10",x2:"16",y2:"10",stroke:e.backgroundColor,"stroke-width":"2"}})])},i3=[],s3=Y(r3,n3,i3,!1,null,null,null,null);const a3=s3.exports,o3={Bim:y5,Blur:T5,Compare:L5,ConcretePump:B5,CompactExcavator:Oi,DroneView:H5,Dumper:q5,Evercam:Q5,EvercamLogo:t2,Excavator:Oi,FlatbedSemiTrailer:u2,FreeDrawing:m2,IModel:y2,Inspection:T2,Loader:L2,MiniModel:B2,OtherTruck:zi,RoadVehicle:G2,Roller:X2,Robot:el,SemiTrailer:sl,SkidSteerLoader:ul,SmallTruck:ml,TankTruck:yl,The360:Tl,TippingTruck:Ll,TruckHead:Bl,TruckMixer:Hl,Unknown:zi,Worker:ql,ZohoCrm:Ql,Tag:t3,TagPlus:a3},l3=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Bi=Object.fromEntries(Object.entries(o3).map(([t,e])=>[l3(t),e])),c3=j.extend({name:"ESvgIcon",components:{...Bi},props:{icon:{type:String,default:""}},computed:{svgIconComponent(){return Bi[this.icon]}}});var u3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r(e.svgIconComponent,e._g(e._b({tag:"component",staticClass:"e-svg-icon"},"component",e.$attrs,!1),e.$listeners))},d3=[],h3=Y(c3,u3,d3,!1,null,null,null,null);const Ii=h3.exports,Q8="",f3={name:"ECalendarHeatmap",components:{EIcon:rt},mixins:[Ge],props:{items:{type:Array,default:()=>[]},startDate:{type:String,default:""},endDate:{type:String,default:""},dayRectSize:{type:Number,default:11},dayGutterSize:{type:Number,default:2},monthGutterSize:{type:Number,default:12},textSize:{type:Number,default:11},borderRadius:{type:Number,default:1},disableMissing:{type:Boolean,default:!1},selectedDate:{type:[String],default:""},labelFn:{type:Function,default:({date:t,count:e})=>`${t}, ${e}`},isDisabledFn:{type:Function,default:()=>!1},highlightColorFn:{type:[Function,null],default:null},colors:{type:Array,default:()=>["#ebedf0","#c0ddf9","#73b3f3","#3886e1","#17459e"]},visibleWeekDays:{type:Array,default:()=>[1,3,5]},controls:{type:Boolean,default:!0},legend:{type:Boolean,default:!0},fullWidth:{type:Boolean,default:!1},isDark:{type:Boolean,default:!1},disabledColor:{type:String,default:"#bababa"}},data(){return{tooltipVisibility:!1,tooltipPositionX:0,tooltipPositionY:0,tooltipContent:"",hoveredDayDate:"",smallTextRatio:.9,daysOffset:0}},computed:{_startDate(){return this._moment(this.startDate).add({days:this.daysOffset}).format("YYYY-MM-DD")},_endDate(){return this._moment(this.endDate).add({days:this.daysOffset}).format("YYYY-MM-DD")},svgWidth(){const t=this._moment(this._endDate).format("YYYY-MM");return this.fullWidth?"calc(100% - 30px)":this.monthsHorizontalTranslations[t]+this.getMonthWidth(this._endDate)},svgHeight(){return this.monthOffsetTop+this.monthHeight+(this.legend?2*this.dayRectSize:0)},maxCount(){return this.items.reduce((t,e)=>Math.max(e.count,t),0)},itemsMap(){return this.items.reduce((t,e)=>({...t,[e.day]:{...e,count:e.count,label:this.labelFn(e),disabled:e.disabled}}),{})},datesTree(){let t={},e=this._moment(this._startDate);const r=new Date(this._endDate).getTime();for(;e<=r;){const n=e.format("YYYY"),s=e.format("MM"),l=e.format("YYYY-MM-DD");let i={...this.itemsMap[l],date:l,selected:l===this.selectedDate};this.itemsMap[l]||(i={...i,count:0,date:l,disabled:this.isDisabledFn(l)},i={...i,label:this.labelFn(i)}),t={...t,[`${n}-${s}`]:{...t[`${n}-${s}`],[l]:{...i,weekDay:e.day(),weekNumber:this.getWeekOfMonth(e)}}},e.add({days:1})}return t},monthsHorizontalTranslations(){const t=this._moment(this._startDate),e=this._moment(this._startDate).startOf("month"),r=this.dayFullSize*(this.getWeekOfMonth(t)-this.getWeekOfMonth(e)),n=this._moment(this._startDate).startOf("month"),s=this._moment(this._endDate).startOf("month"),l=this._moment(n);let i={},h=-r,a;for(;l<=s;){let o=a?this.getMonthWidth(a):0;const u=l.startOf("month").day()===0;let f=0;u&&l>n&&(f=this.monthGutterSize);let m=this.dayFullSize;h+=o+this.monthGutterSize-m+f,i[l.format("YYYY-MM")]=h,a=l.clone(),l.add({months:1})}return i},dayFullSize(){return this.dayRectSize+this.dayGutterSize},monthOffsetTop(){return this.textSize*2},monthOffsetLeft(){return 2.5*this.textSize},monthHeight(){return this.dayFullSize*7},textStyle(){return{fontSize:`${this.textSize}px`}},legendStyle(){const t=this.dayRectSize/2;return{transform:`translate(${t+this.monthOffsetLeft}px, ${this.monthHeight+this.monthOffsetTop+t}px)`}},legendPrefixTextStyle(){return{fontSize:this.textSize*this.smallTextRatio,transform:`translate(${this.dayGutterSize*2}px, ${this.dayRectSize*this.smallTextRatio}px)`,fill:this.fillTextColor}},legendPrefixTextWidth(){return 4*this.textSize*this.smallTextRatio-2*this.dayGutterSize},legendSuffixTextStyle(){const t=(this.dayRectSize+this.dayGutterSize*2)*this.colors.length+this.legendPrefixTextWidth,e=this.dayGutterSize;return{fontSize:this.textSize*this.smallTextRatio,transform:`translate(${e+t}px, ${this.dayRectSize*this.smallTextRatio}px)`,fill:this.fillTextColor}},fillTextColor(){return this.isDark?"white":"black"}},methods:{_moment(...t){return Se(...t).locale("en")},getWeekOfMonth(t){let e=t.week();return t.year()!==t.weekYear()&&(e=t.clone().subtract(1,"week").week()+1),e-this._moment(t).startOf("month").week()+1},getWeekDayTextStyle(t){return this.visibleWeekDays.includes(t)?{...this.textStyle,transform:`translate(${this.dayRectSize}px, ${t*this.dayFullSize+3*this.textSize/4+this.monthOffsetTop}px)`,fill:this.fillTextColor}:{display:"none"}},getMonthTextStyle(t,e){const r=Se.duration(this._moment(this._endDate).diff(this._moment(e))).asDays(),n=Se.duration(this._moment(e).endOf("month").diff(this._moment(this._startDate))).asDays();if(r<15||n<15)return{display:"none"};const s=this.isStartOfYear(e)?this.textSize:0;return{...this.textStyle,transform:`translate(${this.getMonthWidth(e)/2+this.textSize/3-s}px, -${this.textSize*2/3}px)`,fill:this.fillTextColor}},getMonthStyle(t,e){return{transform:`translate(${this.monthsHorizontalTranslations[e]+this.monthOffsetLeft}px, ${this.monthOffsetTop}px)`}},getMonthWidth(t){const e=this._moment(t).endOf("month");return this.dayFullSize*this.getWeekOfMonth(e)},getHighlightStyle(t,e){if(!this.highlightColorFn||typeof this.highlightColorFn!="function")return{};const r=this.highlightColorFn(e);return r?{strokeWidth:t.selected?2:1,stroke:r}:{}},getDayStyle(t,e){let r={};return t.selected&&(r={stroke:this.fillTextColor}),{transform:`translate(${t.weekNumber*this.dayFullSize}px, ${t.weekDay*this.dayFullSize}px)`,fill:`${this.getDayColor(t.count)}`,...this.getHighlightStyle(t,e),...r}},getDisabledDayPath(t){const e=t.weekNumber*this.dayFullSize,r=t.weekDay*this.dayFullSize,n=e+this.dayRectSize,s=r+this.dayRectSize,l=e+this.dayRectSize/2,i=r+this.dayRectSize/2;return[`M ${e} ${r}`,`L ${l} ${i}`,`L ${e} ${s}`,`M ${n} ${r}`,`L ${l} ${i}`,`L ${n} ${s}`].join(" ")},getDayColor(t){const e=Math.ceil(t/this.maxCount*(this.colors.length-1));return this.colors[e]},getLegendRectStyle(t){return{transform:`translateX(${(this.dayRectSize+this.dayGutterSize*2)*t+this.legendPrefixTextWidth}px)`}},isStartOfYear(t){return Se(t).get("month")===0},getMonthText(t){return this._moment(t).format(this.isStartOfYear(t)?"MMM YYYY":"MMM")},onDayRectMouseEnter(t,e){this.tooltipContent=e.label,this.tooltipVisibility=!0,this.hoveredDayDate=e.date,this.$nextTick(()=>{this.calculateTooltipPosition(t)})},calculateTooltipPosition(t){var u;const e=this.$el.getBoundingClientRect(),r=((u=t.target)==null?void 0:u.getBoundingClientRect())||{x:0,y:0},n=r.left-e.left,s=r.top-e.top,l=r.bottom-e.top,i=this.$refs.tooltip.clientWidth,h=this.$refs.tooltip.clientHeight;let a=n+r.width/2-i/2;a+e.left<e.left?a=0:a+e.left+i>=e.right&&(a=e.width-i);let o=s-h-this.dayFullSize/2;o+e.top<=e.top&&(o=l+this.dayFullSize/2),this.tooltipPositionX=a,this.tooltipPositionY=o},onDayRectMouseLeave(){this.tooltipVisibility=!1,this.hoveredDayDate=""}}};var p3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-heatmap-calendar overflow-x-hidden",class:{"e-text-white":e.isDark}},[e.controls?r("div",{staticClass:"e-heatmap-calendar__control-left",on:{click:function(n){e.daysOffset-=30}}},[r("EIcon",{attrs:{icon:"angle-left",size:"xs"}})],1):e._e(),r("svg",{attrs:{width:e.svgWidth,height:e.svgHeight}},[r("g",[r("g",e._l(Array(7),function(n,s){return r("text",{key:s,style:e.getWeekDayTextStyle(s)},[e._v(" "+e._s(e._moment().day(s).format("ddd"))+" ")])}),0),e._l(e.datesTree,function(n,s,l){return r("g",{key:s,staticClass:"e-heatmap-calendar__month",style:e.getMonthStyle(l,s)},[r("text",{style:e.getMonthTextStyle(l,s)},[e._v(" "+e._s(e.getMonthText(s))+" ")]),e._l(n,function(i,h){return r("g",{key:`${h}`,staticClass:"e-heatmap-calendar__day",class:{"e-heatmap-calendar__day--hovered":e.hoveredDayDate===h,"e-heatmap-calendar__day--disabled":i.disabled,"e-heatmap-calendar__day--selected":i.selected}},[r("rect",{style:e.getDayStyle(i,h),attrs:{rx:e.borderRadius,height:e.dayRectSize,width:e.dayRectSize},on:{mouseenter:a=>e.onDayRectMouseEnter(a,i),mouseleave:e.onDayRectMouseLeave,mouseup:function(a){return e.$emit("item-selected",i)}}}),i.disabled?r("path",{style:`stroke: ${e.disabledColor};`,attrs:{d:e.getDisabledDayPath(i)}}):e._e()])})],2)}),e.legend&&!e.$slots.customLegend?r("g",{style:e.legendStyle},[r("text",{style:e.legendPrefixTextStyle},[e._v("less")]),e._l(e.colors,function(n,s){return r("rect",{key:s,style:e.getLegendRectStyle(s),attrs:{height:e.dayRectSize,width:e.dayRectSize,fill:n,rx:e.borderRadius}})}),r("text",{style:e.legendSuffixTextStyle},[e._v("more")])],2):e._e(),r("foreignObject",{attrs:{height:e.svgHeight,width:e.svgWidth,"pointer-events":"none"}},[r("div",{staticClass:"e-heatmap-calendar__custom-legend"},[e._t("customLegend")],2)])],2)]),r("div",{ref:"tooltip",staticClass:"e-heatmap-calendar__tooltip",class:{"e-heatmap-calendar__tooltip--visible":e.tooltipVisibility},style:{top:e.tooltipPositionY+"px",left:e.tooltipPositionX+"px"}},[e._v(" "+e._s(e.tooltipContent)+" ")]),e.controls?r("div",{staticClass:"e-heatmap-calendar__control-right",on:{click:function(n){e.daysOffset+=30}}},[r("EIcon",{attrs:{icon:"angle-right",size:"sm"}})],1):e._e()])},m3=[],g3=Y(f3,p3,m3,!1,null,"9a68e6f6",null,null);const Fi=g3.exports,v3=j.extend({name:"EFlagIcon",props:{code:{type:String,required:!0}},computed:{flagCountryIcon(){var t;return`fi fi-${(t=this.code)==null?void 0:t.toLowerCase()}`}}}),V8="";var _3=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.code?r("span",{class:e.flagCountryIcon}):e._e()},C3=[],y3=Y(v3,_3,C3,!1,null,null,null,null);const Ai=y3.exports,b3=j.extend({name:"EToggleSwitch",model:{prop:"value",event:"switch-value-change"},props:{options:{type:Array,required:!0},color:{type:String,default:"brand"},size:{type:String,default:J.sm},defaultValue:{type:[String,Number,Boolean],default:null},value:{type:[String,Number,Boolean],default:null}},computed:{sizeClasses(){return{container:{"e-p-1 e-leading-3":this.size===J.sm,"e-p-1.5":this.size===J.md,"e-p-2":this.size===J.lg},button:{"e-py-[.2rem] e-p-1 e-rounded-md":this.size===J.sm,"e-p-1":this.size===J.md,"e-p-1.5":this.size===J.lg},text:{"e-text-xs":this.size===J.sm,"e-text-sm":this.size===J.md,"e-text-base":this.size===J.lg}}},containerClasses(){return{...this.sizeClasses.container,"e-flex e-items-center e-justify-center e-w-fit e-h-min e-bg-gray-900 e-rounded-md e-e-shadow-md e-transition-colors e-duration-200 e-ease-in-out":!0}},textClasses(){return{...this.sizeClasses.text,"e-font-medium":!0}},buttonBaseClasses(){return{"e-cursor-pointer":!0,"e-text-gray-100 e-rounded-md e-shadow e-transition e-duration-200 e-ease-in-out":!0}}},methods:{onValueChange(t){const e=t.target;this.$emit("switch-value-change",e.checked)},getButtonClasses(t){const e={"e-border-none":!0,"e-bg-inherit":this.value!==t,"e-bg-brand-600":this.color==="brand"&&this.value===t,"e-bg-gray-600":!["primary","brand"].includes(this.color)&&this.value===t,"e-bg-[#629efc] e-text-gray-900 e-font-normal":this.color==="primary"&&this.value===t};return{...this.buttonBaseClasses,...this.sizeClasses.button,...e}},handleClick(t){this.$emit("switch-value-change",t)}}});var x3=function(){var e=this,r=e._self._c;return r("div",{class:e.containerClasses},[r("input",{staticClass:"e-hidden",attrs:{id:"toggle",type:"checkbox"},on:{change:e.onValueChange}}),e._l(e.options,function(n){return r("button",{key:n.value,class:e.getButtonClasses(n.value),on:{click:function(s){return e.handleClick(n.value)}}},[r("span",{class:e.textClasses},[e._v(e._s(n.title))])])})],2)},w3=[],S3=Y(b3,x3,w3,!1,null,null,null,null);const Ri=S3.exports,Hi=j.extend({mixins:[Ve,Ge],data(){return{inactivityListeners:[],isInactivityListenerActive:!1}},beforeDestroy(){this.$removeInactivityListeners()},methods:{resetInactivityListenerTimer(t=()=>{},e=0,r=[]){this.isInactivityListenerActive&&(this.$clearTimeouts(),this.setInactivityListenerTimer(t,e,r))},setInactivityListenerTimer(t=()=>{},e=0,r=[]){t&&e&&this.$setTimeout(()=>{t(),r.length>0&&this.setInactivityListenerReminderTimers(t,r)},e*1e3)},setInactivityListenerReminderTimers(t=()=>{},e=[],r=0){const n=e[r];r<e.length?this.$setTimeout(()=>{t(),this.setInactivityListenerReminderTimers(t,e,r+1)},n*1e3):this.isInactivityListenerActive&&this.$removeInactivityListeners()},$registerInactivityListener({callback:t=()=>{},duration:e=0,reminders:r=[]}){this.isInactivityListenerActive=!0,this.resetInactivityListenerTimer(t,e,r);const n=()=>this.resetInactivityListenerTimer(t,e,r);this.$addEventListener("mousemove",n),this.inactivityListeners.push(n)},$removeInactivityListeners(){this.isInactivityListenerActive&&(this.isInactivityListenerActive=!1,this.inactivityListeners.forEach(t=>{this.$removeEventListener("mousemove",t)}),this.$clearTimeouts())}}}),Ni=Object.freeze(Object.defineProperty({__proto__:null,eventListeners:Ve,inactivityListener:Hi,timeouts:Ge},Symbol.toStringTag,{value:"Module"})),T3=j.extend({name:"EGlobalSearch",components:{EIcon:rt},mixins:[Ve],props:{dark:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},timezone:{type:String,default:"Europe/Dublin"},convertedDateFormat:{type:String,default:"YYYY-MM-DDTHH:mm:ss"},currentDateFormat:{type:String,default:"YYYY-MM-DDTHH:mm:ssZ"},isFixedPosition:{type:Boolean,default:!0},isHidden:{type:Boolean,default:!0},deep:{type:Boolean,default:!0}},data(){return{search:"",isSearching:!1}},computed:{inputClasses(){return{"e-bg-gray-900 e-text-white e-ring-gray-700 focus:e-ring-2 focus:e-ring-blue-500 e-placeholder-gray-500":this.dark,"e-bg-white e-text-[#000057] e-ring-gray-300 hover:e-ring-gray-100 focus:e-ring-blue-500 e-placeholder-gray-400":!this.dark}}},watch:{search(t){t?t.length>=3&&this.$emit("search-results",this.searchObjectsByQuery(this.items,t)):this.$emit("reset")}},mounted(){!this.isHidden&&this.search.length>0?this.isSearching=!0:(this.$addEventListener("keydown",this.onKeyHandler),this.$addEventListener("keyup",this.onKeyHandler))},methods:{onInput(t){this.search=t.target.value},searchObjectsByQuery(t,e){return t.reduce((r,n,s)=>{const l=this.findMatchesInObject(n,e,[]);return l.length>0&&r.push({index:s,matches:l}),r},[])},findMatchesInObject(t,e,r){return Object.entries(t).reduce((n,[s,l])=>{const i=[...r,s],h=this.matchesQuery(l,e)?[{path:i,value:l}]:[];let a=[];this.deep&&Array.isArray(l)&&(a=l.flatMap((u,f)=>this.findMatchesInObject(u,e,[...i,`${f}`])));const o=this.deep&&typeof l=="object"&&l!==null?this.findMatchesInObject(l,e,i):[];return[...n,...h,...a,...o]},[])},matchesQuery(t,e){return`${this.isValidDate(t)?this.formattedTimestamp(t):t}`.toLowerCase().indexOf(e.toLowerCase())!==-1},isValidDate(t){return Se(t,this.currentDateFormat,!0).isValid()},formattedTimestamp(t){return Se.tz(t,this.timezone).format(this.convertedDateFormat)},onKeyHandler(t){const e=t,r=e.ctrlKey&&e.type==="keydown",n=e.shiftKey&&e.type==="keydown",s=["f","F"].includes(e.key)&&e.type==="keydown",l=e.key==="Escape"&&e.type==="keydown";s&&r&&n&&(this.isSearching=!0,this.$nextTick(()=>{const i=this.$refs.searchField;i&&i.focus()})),l&&(this.isSearching=!1,this.search="")}}}),K8="";var k3=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"show",rawName:"v-show",value:!e.isFixedPosition||e.isSearching,expression:"!isFixedPosition || isSearching"}],staticClass:"global-search e-relative",class:{"global-search--fixed e-p-4 e-bg-white e-m-3":e.isFixedPosition}},[r("div",{staticClass:"e-relative"},[r("input",e._g({directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],ref:"searchField",class:["global-search__field e-shadow-sm e-ring-1 e-ring-inset e-relative e-block e-w-full e-h-full disabled:e-cursor-not-allowed disabled:e-opacity-75 focus:e-outline-none e-border-0 e-text-sm e-placeholder-gray-400 e-px-4 e-py-3 e-gap-x-1.5 e-rounded-md",e.inputClasses],attrs:{id:"global-search-input",placeholder:"Search",autocomplete:"off",type:"text"},domProps:{value:e.search},on:{input:function(n){n.target.composing||(e.search=n.target.value)}}},e.$listeners)),r("span",{staticClass:"e-absolute e-inset-y-0 e-end-0 e-flex e-items-center e-justify-center e-pointer-events-none e-px-2.5"},[r("EIcon",{attrs:{icon:"search",size:"sm"}})],1)])])},M3=[],E3=Y(T3,k3,M3,!1,null,null,null,null);const Wi=E3.exports,$3=j.extend({name:"ETooltip",props:{text:{type:String,required:!0},position:{type:String,default:Oe.top},color:{type:String,default:ae.default},dark:{type:Boolean,default:!1}},computed:{tooltipClasses(){const t=this.position,e=this.color,r={"e-bg-gray-800 e-text-white":!this.dark,"e-bg-slate-300 e-text-slate-800":this.dark};return{"tooltip e-w-max e-text-sm e-text-center e-px-3 e-py-2 e-absolute e-rounded-md e-shadow-md e-opacity-0 group-hover:e-opacity-100 e-transition-opacity e-duration-300":!0,"tooltip-left":t===Oe.left,"tooltip-right":t===Oe.right,"tooltip-top":t===Oe.top,"tooltip-bottom":t===Oe.bottom,"e-bg-orange-700 e-text-white":e===ae.warning,"e-bg-red-700 e-text-white":e===ae.error,"e-bg-green-900 e-text-white":e===ae.success,"e-bg-blue-700 e-text-white":e===ae.primary,"e-bg-sky-500 e-text-white":e===ae.info,"e-bg-brand-900 e-text-white":e===ae.brand,"e-bg-gray-200 e-text-gray-700":e===ae.gray,...r}},triangleClasses(){const t=this.position,e=this.color;return{"triangle e-absolute e-border-transparent":!0,"triangle-left":t===Oe.left,"triangle-right":t===Oe.right,"triangle-top":t===Oe.top,"triangle-bottom":t===Oe.bottom,"e-border-b-gray-800":e===ae.default,"e-border-b-orange-700":e===ae.warning,"e-border-b-red-700":e===ae.error,"e-border-b-green-900":e===ae.success,"e-border-b-blue-700":e===ae.primary,"e-border-b-sky-500":e===ae.info,"e-border-b-brand-900":e===ae.brand,"e-border-b-gray-900":e===ae.gray}}}}),J8="";var L3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"tooltip-box e-w-max e-relative e-group"},[e._t("default"),r("div",{class:e.tooltipClasses},[r("span",{class:e.triangleClasses}),e._v(" "+e._s(e.text)+" ")])],2)},D3=[],P3=Y($3,L3,D3,!1,null,"27d33b1f",null,null);const Qr=P3.exports,O3=j.extend({name:"EActionButton",components:{ETooltip:Qr,EIcon:rt},props:{tooltipText:{type:String,default:null},tooltipColor:{type:String,default:"default"},tooltipPosition:{type:String,default:"top"},buttonClasses:{type:[String,Object,Array],default:null},icon:{type:String,default:null},iconSize:{type:String,default:J.sm},iconColor:{type:String,default:ae.default},dark:{type:Boolean,default:!0}},computed:{withTooltip(){return!!this.tooltipText},buttonClassesContainsBg(){return this.buttonClasses?typeof this.buttonClasses=="string"&&this.buttonClasses.split("e-bg-").length>1||typeof this.buttonClasses=="object"&&Object.keys(this.buttonClasses).some(t=>t.split("e-bg-").length>1):!1},buttonStyle(){const t=this.dark?"e-bg-gray-900 e-text-white hover:e-bg-gray-700":"e-bg-white text-e-text-gray-900 hover:e-bg-gray-100";return this.buttonClassesContainsBg?this.buttonClasses:[this.buttonClasses,t]}}});var z3=function(){var e=this,r=e._self._c;return e.withTooltip?r("ETooltip",{attrs:{text:e.tooltipText,position:e.tooltipPosition,color:e.tooltipColor,dark:e.dark}},[r("button",e._g(e._b({staticClass:"e-w-max e-px-3 e-py-2 e-flex e-border-none e-justify-center e-align-middle e-items-center e-cursor-pointer",class:e.buttonStyle},"button",e.$attrs,!1),e.$listeners),[r("EIcon",{attrs:{icon:e.icon,size:e.iconSize,color:e.iconColor}}),e._t("default")],2)]):r("button",e._g(e._b({staticClass:"e-w-max e-px-3 e-py-2 e-flex e-border-none e-justify-center e-align-middle e-items-center e-cursor-pointer",class:e.buttonStyle},"button",e.$attrs,!1),e.$listeners),[r("EIcon",{attrs:{icon:e.icon,size:e.iconSize}}),e._t("default")],2)},B3=[],I3=Y(O3,z3,B3,!1,null,null,null,null);const vt=I3.exports,F3=j.extend({name:"EZoomSlider",components:{EActionButton:vt},props:{dark:{type:Boolean,default:!0}}});var A3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-flex e-flex-col e-p-5"},[r("EActionButton",{attrs:{"tooltip-text":"Zoom in","tooltip-position":"right",icon:"fas fa-plus",dark:e.dark,"icon-size":"base","button-classes":"action-btn__first-vertical e-border-none e-rounded-none e-rounded-t-md e-shadow-xl","data-test-id":"zoomable-img-zoom-in"},on:{click:function(n){return e.$emit("zoom-in")}}}),r("EActionButton",{attrs:{"tooltip-text":"Zoom out","tooltip-position":"right",icon:"fas fa-minus",dark:e.dark,"icon-size":"base","button-classes":"action-btn__last-vertical e-border-none e-rounded-none e-rounded-b-md","data-test-id":"zoomable-img-zoom-out"},on:{click:function(n){return e.$emit("zoom-out")}}})],1)},R3=[],H3=Y(F3,A3,R3,!1,null,null,null,null);const Vr=H3.exports,N3=j.extend({name:"EFadeTransition",props:{duration:{type:Number,default:300}},computed:{durationClass(){return{100:"e-duration-100",200:"e-duration-200",300:"e-duration-300",400:"e-duration-400",500:"e-duration-500",600:"e-duration-600",700:"e-duration-700",800:"e-duration-800",900:"e-duration-900",1e3:"e-duration-1000"}[this.duration]}}});var W3=function(){var e=this,r=e._self._c;return r("transition",{attrs:{"enter-active-class":`e-transition e-ease-out ${e.durationClass}`,"leave-active-class":`e-transition e-ease-in ${e.durationClass}`,"enter-class":"e-opacity-0","enter-to-class":"e-opacity-100","leave-class":"e-opacity-100","leave-to-class":"e-opacity-0"}},[e._t("default")],2)},j3=[],G3=Y(N3,W3,j3,!1,null,null,null,null);const Ot=G3.exports,q3=j.extend({name:"EZoomableImg",components:{EZoomSlider:Vr,EFadeTransition:Ot},directives:{ResizeObserver:Qe},mixins:[Ge,Ve],props:{src:{type:String,default:""},alt:{type:String,default:""},allowZoom:{type:Boolean,default:!0},imgProps:{type:Object,default:()=>({})},slider:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},hideContentOnBlur:{type:Boolean,default:!0},initialParams:{type:Object,default:()=>({})},embedded:{type:Boolean,default:!1},overlayStyle:{type:Object,default:()=>({})},foregroundStyle:{type:Object,default:()=>({})},pan:{type:Boolean,default:!0},slotTransition:{type:Boolean,default:!0},height:{type:[String,Number],default:void 0},isCalendarActive:{type:Boolean,default:!1},blurBackground:{type:Boolean,default:!1},cover:{type:Boolean,default:!1},isWidget:{type:Boolean,default:!1},isAnnotationActive:{type:Boolean,default:!1},isMobile:{type:Boolean,default:!1},placeholderImage:{type:String,default:""},showMiniature:{type:Boolean,default:!1},miniatureWidth:{type:Number,default:150}},data(){const t={x:0,y:0};return{image:null,frame:null,imageLoaded:!1,zoomLevel:1,previousZoomLevel:1,imageMouse:t,zoomOrigin:t,frameMouse:t,frameMousePanStart:t,frameMousePreviousPan:t,translation:t,isPanning:!1,isPinching:!1,zoomStarted:!1,firstLoad:!0,isSliderActive:!1,imgStyle:{},contentStyle:{},isFocused:!0,forceHideContent:!1,imageAspectRatio:1,frameAspectRatio:1,wrapperExtraStyle:{},preventDefaultScroll:!0,mouseLeft:!1,pointers:{},pinchDistance:0,lastTapTime:0,minZoomLevel:1,maxZoomLevel:20,backgroundSnapshotSrc:null,miniatureOverlayStyle:{}}},computed:{frameStyle(){return this.height?{height:`${this.height}px`}:{}},wrapperStyle(){if(!this.imageLoaded)return{display:"none"};let t,e;return this.isPanning&&!this.isAnnotationActive?(t=this.frameMouse.x-this.frameMousePanStart.x+this.frameMousePreviousPan.x,e=this.frameMouse.y-this.frameMousePanStart.y+this.frameMousePreviousPan.y):(t=this.frameMousePreviousPan.x,e=this.frameMousePreviousPan.y),{transform:Math.abs(t)<.5&&Math.abs(e)<.5?"none":`translate(${t}px,${e}px)`}},imageCenter(){var e;const t=(e=this.image)==null?void 0:e.getBoundingClientRect();return{x:((t==null?void 0:t.width)||0)/2,y:((t==null?void 0:t.height)||0)/2}},sliderModel:{get(){return this.zoomLevel*100},set(t){this.previousZoomLevel=this.zoomLevel,this.zoomLevel=t/100,this.updateImageStyle(),this.savePreviousPan()}},showContent(){return this.hideContentOnBlur?this.forceHideContent?!1:this.isFocused&&this.touches<2:!0},miniatureContainerStyle(){if(!this.image)return{};const t=this.image.naturalWidth/this.image.naturalHeight,e=this.miniatureWidth/t;return{width:`${this.miniatureWidth}px`,height:`${e}px`}},miniatureOverlayComputedStyle(){return{...this.miniatureOverlayStyle,...this.miniatureOverlayBaseStyle}},miniatureOverlayBaseStyle(){return{boxShadow:`0 0 0 ${this.miniatureWidth}px #0006`}},currentState(){var t,e;return{image:this.image,zoomLevel:this.zoomLevel,translation:this.translation,previousZoomLevel:this.previousZoomLevel,imageMouse:this.imageMouse,zoomOrigin:this.zoomOrigin,frameMouse:this.frameMouse,frameMousePanStart:this.frameMousePanStart,frameMousePreviousPan:this.frameMousePreviousPan,isPanning:this.isPanning,zoomStarted:this.zoomStarted,firstLoad:this.firstLoad,isSliderActive:this.isSliderActive,imgStyle:this.imgStyle,contentStyle:this.contentStyle,isFocused:this.isFocused,forceHideContent:this.forceHideContent,imageAspectRatio:this.imageAspectRatio,frameAspectRatio:this.frameAspectRatio,wrapperExtraStyle:this.wrapperExtraStyle,offsetWidth:(t=this.image)==null?void 0:t.offsetWidth,offsetHeight:(e=this.image)==null?void 0:e.offsetHeight}}},watch:{isCalendarActive(){this.$setTimeout(this.onResize,100)},initialParams:{immediate:!0,handler(t){if(typeof t=="object")for(let e in t)this[e]=t[e]}},image:{immediate:!0,deep:!0,handler(){var t;(t=this.image)!=null&&t.offsetWidth&&this.emitChange()}},wrapperStyle(){this.$nextTick(this.updateMiniatureOverlayStyle)},imageStyle(){this.$nextTick(this.updateMiniatureOverlayStyle)}},mounted(){this.$addEventListener("orientationchange",this.handleOrientationChange),this.$root.$on("resize-snapshot-player",()=>{this.$setTimeout(this.setAspectRatio,200)})},methods:{onResize(){this.updateContentStyle(),this.$setTimeout(this.setAspectRatio,500)},handleOrientationChange(){this.$setTimeout(this.setAspectRatio,1e3)},setAspectRatio(){var r,n;this.frame=this.$refs.frame,this.image=this.$refs.image;const t=(r=this.frame)==null?void 0:r.getBoundingClientRect(),e=(n=this.image)==null?void 0:n.getBoundingClientRect();if(this.$setTimeout(this.emitChange,50),!t||this.isMobile&&!this.isWidget&&(!e||(e==null?void 0:e.width)<=1||(e==null?void 0:e.height)<=1)){this.$setTimeout(this.setAspectRatio,50);return}this.frameAspectRatio=t.width/t.height,this.imageAspectRatio=e.width/e.height},updateImageStyle(){this.translation={x:this.zoomOrigin.x*(this.zoomLevel-this.previousZoomLevel)+this.translation.x,y:this.zoomOrigin.y*(this.zoomLevel-this.previousZoomLevel)+this.translation.y},this.imgStyle={...this.imgStyle,transform:`translate(${-this.translation.x}px, ${-this.translation.y}px) scale(${this.zoomLevel})`},this.emitChange()},updateMiniatureOverlayStyle(){if(!this.showMiniature||!this.image||!this.frame||!this.$refs.miniatureImage||this.zoomLevel===1){this.miniatureOverlayStyle={};return}const t=this.image.getBoundingClientRect(),e=this.frame.getBoundingClientRect(),r=(e.left-t.left)/t.width*100,n=(e.top-t.top)/t.height*100,s=e.width/t.width*100,l=e.height/t.height*100;this.miniatureOverlayStyle={left:`${r}%`,top:`${n}%`,width:`${s}%`,height:`${l}%`}},onImageLoaded(t){var n,s;if(this.imageLoaded=!0,this.wrapperExtraStyle={...this.wrapperExtraStyle,alignContent:"flex-start !important"},this.$setTimeout(()=>{this.wrapperExtraStyle={justifyContent:"center",alignContent:"center !important"}}),this.blurBackground&&(this.backgroundSnapshotSrc=this.getSnapshotSrc()),!this.firstLoad)return;this.updateContentStyle(),this.imageMouse=this.imageCenter,this.zoomOrigin=this.imageCenter;const e=(n=this.image)==null?void 0:n.getBoundingClientRect(),r=(s=this.frame)==null?void 0:s.getBoundingClientRect();!e||!r||(this.isMobile&&!this.isWidget?this.setAspectRatio():this.$nextTick(()=>{this.setAspectRatio(),this.firstLoad=!1}),this.updateImageStyle(),this.$emit("load",t))},onError(t){this.$emit("error",t)},onMouseEnter(){this.mouseLeft=!1,this.isFocused=!0},onMouseLeave(){this.isSliderActive||(this.isFocused=!1),this.mouseLeft=!0;const t={which:1,preventDefault:()=>{}};this.onMouseUp(t)},onMouseMove(t){var e;if(!(this.disabled||!this.imageLoaded||this.mouseLeft)&&this.frame){const r=this.frame.getBoundingClientRect(),n=(e=this.image)==null?void 0:e.getBoundingClientRect();this.frameMouse={x:(t==null?void 0:t.clientX)-r.left,y:(t==null?void 0:t.clientY)-r.top},this.imageMouse={x:((t==null?void 0:t.clientX)-(n==null?void 0:n.left))/this.zoomLevel,y:((t==null?void 0:t.clientY)-(n==null?void 0:n.top))/this.zoomLevel},this.zoomStarted&&(this.zoomStarted=!1),this.$nextTick(this.emitChange)}},onMousedown(t){if(!(!this.pan||this.disabled||!this.imageLoaded||(t==null?void 0:t.which)!==1||this.isSliderActive)){if(this.isAnnotationActive){this.frameMousePanStart={x:this.frameMouse.x,y:this.frameMouse.y},this.isPanning=!0,this.$nextTick(this.emitChange);return}t.preventDefault(),this.frameMousePanStart=this.frameMouse,this.isPanning=!0}},onMouseUp(t){if(!(!this.pan||this.disabled||!this.imageLoaded||!this.isPanning||(t==null?void 0:t.which)!==1||this.isSliderActive)){if(this.isAnnotationActive){this.isPanning=!1,this.$nextTick(this.emitChange);return}t.preventDefault(),this.savePreviousPan({x:this.frameMousePreviousPan.x+this.frameMouse.x-this.frameMousePanStart.x,y:this.frameMousePreviousPan.y+this.frameMouse.y-this.frameMousePanStart.y}),this.isPanning=!1,this.isPinching=!1,this.$nextTick(this.emitChange)}},onMouseWheel(t){this.disabled||!this.imageLoaded||!this.allowZoom||(this.zoom(t.deltaY),this.preventDefaultScroll&&t.preventDefault())},updateZoomLevel(t){let e=1;this.isMobile?e=this.zoomLevel*t:t<0?e=this.zoomLevel*1.2:this.zoomLevel>=1.25&&(e=this.zoomLevel*.8),e<this.minZoomLevel?this.zoomLevel=this.minZoomLevel:e>this.maxZoomLevel?this.zoomLevel=this.maxZoomLevel:this.zoomLevel=e},zoom(t){this.isPanning=!1,this.previousZoomLevel=this.zoomLevel,this.updateZoomLevel(t),this.preventDefaultScroll=this.previousZoomLevel!==this.zoomLevel,this.zoomStarted||(this.zoomOrigin=this.imageMouse,this.zoomStarted=!0),this.updateImageStyle(),this.$nextTick(()=>{this.savePreviousPan(),this.emitChange()})},getBounds(){var a,o;const t=(a=this.frame)==null?void 0:a.getBoundingClientRect(),e=(o=this.image)==null?void 0:o.getBoundingClientRect(),r=t.width/this.imageAspectRatio,n=t.height*this.imageAspectRatio;let{top:s,right:l,bottom:i,left:h}=t;return e.width<t.width?(h=t.left+(t.width-n)/2,l=h+n):e.height<t.height&&(s=t.top+(t.height-r)/2,i=s+r),{top:s,right:l,bottom:i,left:h}},savePreviousPan({x:t,y:e}={}){var r;if(this.image){const n=(r=this.image)==null?void 0:r.getBoundingClientRect(),s=this.getBounds(),[l,i,h,a]=[n.right-s.right,s.top-n.top,n.bottom-s.bottom,s.left-n.left].map(o=>o<0?o:0);this.frameMousePreviousPan={x:(t||this.frameMousePreviousPan.x)+a-l,y:(e||this.frameMousePreviousPan.y)+i-h}}},onSliderMouseDown(){var r,n;const t=(r=this.frame)==null?void 0:r.getBoundingClientRect(),e=(n=this.image)==null?void 0:n.getBoundingClientRect();this.zoomOrigin={x:((t==null?void 0:t.left)+(t==null?void 0:t.width)/2-(e==null?void 0:e.left))/this.zoomLevel,y:((t==null?void 0:t.top)+(t==null?void 0:t.height)/2-(e==null?void 0:e.top))/this.zoomLevel},this.isSliderActive=!0},onSliderMouseUp(){this.isSliderActive=!1},updateContentStyle(){var t,e,r;this.contentStyle={maxWidth:`${window.innerWidth-(((r=(e=(t=this.$refs)==null?void 0:t.frame)==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0)}px`}},emitChange(){this.$emit("change",this.currentState)},getPointersMidPoint(t,e){return{x:t.clientX+(e.clientX-t.clientX)/2,y:t.clientY+(e.clientY-t.clientY)/2}},getPointersDistance(t,e){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)},updatePointerEvent(t){this.pointers[t.pointerId]=t},clearPointerEvent(t){this.$delete(this.pointers,t.pointerId)},updatePinchZoomOrigin(){const t=Object.values(this.pointers);if(t.length!==2)return;const e=this.getPointersMidPoint(...t);this.zoomOrigin={x:e.x/this.zoomLevel,y:e.y/this.zoomLevel}},updatePinchDistance(){const t=Object.values(this.pointers);t.length===2&&(this.pinchDistance=this.getPointersDistance(...t))},onPointerDown(t){if(!(!this.isMobile||this.foregroundStyle.zIndex==2)){if(this.updatePointerEvent(t),this.isPinching=Object.values(this.pointers).length===2,this.isPinching){this.isPanning=!1,this.updatePinchZoomOrigin(),this.updatePinchDistance();return}this.onMouseMove(t),this.onMousedown(t)}},onPointerMove(t){if(!(!this.isMobile||this.foregroundStyle.zIndex==2)){if(this.updatePointerEvent(t),this.isPinching){const e=this.pinchDistance;this.updatePinchDistance();const r=this.pinchDistance/e;r%1>.008&&this.zoom(r);return}this.onMouseMove(t)}},onPointerUp(t){if(!this.isMobile||this.foregroundStyle.zIndex==2)return;this.clearPointerEvent(t),this.onMouseUp(t);const e=new Date().getTime(),r=e-this.lastTapTime;r>100&&r<200&&this.zoom(this.zoomLevel>1?0:3),this.lastTapTime=e},getSnapshotSrc(){const t=this.$refs.image;return t==null?void 0:t.src}}}),e7="";var Z3=function(){var n;var e=this,r=e._self._c;return r("div",e._b({directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"frame",staticClass:"zoomable-img e-flex e-justify-center e-items-center e-relative",class:{"zoomable-img--loading":!e.imageLoaded,"zoomable-img--zoomed":e.zoomLevel>1,"zoomable-img--panning":e.isPanning,"zoomable-img--disabled":e.disabled,"zoomable-img--portrait-frame":e.frameAspectRatio<e.imageAspectRatio,"zoomable-img--landscape-frame":e.frameAspectRatio>=e.imageAspectRatio,"zoomable-img--embedded":e.embedded,"zoomable-img--cover":e.cover},style:e.frameStyle,attrs:{"data-test-id":"zoomable-img-frame"},on:{wheel:e.onMouseWheel,mouseup:e.onMouseUp,mousedown:e.onMousedown,mousemove:e.onMouseMove,mouseenter:e.onMouseEnter,mouseleave:e.onMouseLeave,pointerdown:e.onPointerDown,pointermove:e.onPointerMove,pointerup:e.onPointerUp,pointercancel:e.onPointerUp,pointerout:e.onPointerUp,pointerleave:e.onPointerUp}},"div",e.$attrs,!1),[r("div",{staticClass:"zoomable-img__wrapper e-flex e-justify-center e-items-center",style:{...e.wrapperStyle,...e.wrapperExtraStyle},attrs:{"data-test-id":"zoomable-img-wrapper"}},[e.blurBackground&&e.imageLoaded&&e.backgroundSnapshotSrc?r("img",{class:e.isMobile?"zoomable-img__img-background-mobile":"zoomable-img__img-background",attrs:{src:e.backgroundSnapshotSrc,alt:e.alt}}):e._e(),r("img",e._g(e._b({directives:[{name:"show",rawName:"v-show",value:e.imageLoaded||!!e.placeholderImage,expression:"imageLoaded || !!placeholderImage"}],ref:"image",staticClass:"zoomable-img__img e-absolute",style:e.imgStyle,attrs:{src:(n=e.src)!=null?n:e.placeholderImage,alt:e.alt,crossorigin:"anonymous","data-test-id":"zoomable-img-image"},on:{load:e.onImageLoaded,error:e.onError}},"img",e.$props.imgProps,!1),e.$listeners))]),r("div",{staticClass:"zoomable-img__wrapper zoomable-img__wrapper--overlay e-flex e-justify-center e-items-center",style:{...e.wrapperStyle,...e.wrapperExtraStyle,...e.overlayStyle}},[r("div",{staticClass:"zoomable-img__img e-relative",style:{width:`${e.image?e.image.offsetWidth:0}px`,height:`${e.image?e.image.offsetHeight:0}px`,...e.imgStyle}},[e._t("imageOverlay",null,{state:e.currentState})],2)]),r("div",{ref:"foreground",staticClass:"zoomable-img__content e-flex e-justify-center e-items-center e-p-0",class:{"e-h-full":!e.embedded,"e-w-full":!e.embedded},style:{...e.contentStyle,...e.foregroundStyle},attrs:{id:"img-foreground","data-test-id":"zoomable-img-foreground"}},[e.imageLoaded?e._e():e._t("placeholder",null,{dataTestId:"zoomable-img-placeholder"}),e.showContent&&e.slotTransition?r("EFadeTransition",[e.showContent?e._t("default",null,{dataTestId:"zoomable-img-content"}):e._e()],2):e.showContent?e._t("default",null,{dataTestId:"zoomable-img-content"}):e._e(),r("EFadeTransition",[e.showContent&&e.slider&&e.allowZoom?r("div",{staticClass:"zoomable-img__slider-container",attrs:{"data-test-id":"zoomable-img-zoom-slider"}},[e._t("extraWidgets"),r("EZoomSlider",{attrs:{vertical:""},on:{mouseup:e.onSliderMouseUp,mousedown:e.onSliderMouseDown,"zoom-in":function(s){return e.zoom(-1)},"zoom-out":function(s){return e.zoom(1)}},model:{value:e.sliderModel,callback:function(s){e.sliderModel=s},expression:"sliderModel"}})],2):e._e()]),r("EFadeTransition",[e.showMiniature&&e.imageLoaded&&e.zoomLevel>1?r("div",{staticClass:"zoomable-img__miniature-container e-shadow",style:e.miniatureContainerStyle},[r("img",{ref:"miniatureImage",staticClass:"zoomable-img__miniature",attrs:{src:e.src,alt:e.alt}}),r("div",{staticClass:"zoomable-img__miniature-overlay",style:e.miniatureOverlayComputedStyle})]):e._e()])],2)])},U3=[],Y3=Y(q3,Z3,U3,!1,null,null,null,null);const Kr=Y3.exports,X3=j.extend({name:"EImagePlayer",components:{EZoomableImg:Kr},directives:{ResizeObserver:Qe},mixins:[Ge,Ve],model:{prop:"frameIndex",event:"frame-index-change"},props:{frames:{type:Array,required:!0},timePerFrame:{type:Number,default:500},isPlaying:{type:Boolean,default:!1},frameIndex:{type:Number,default:0},height:{type:[String,Number],default:0},initialQuality:{type:[String,Number],default:"auto"},preload:{type:Boolean,default:!0},preloadSize:{type:Number,default:10},resetIndexOnFramesChange:{type:Boolean,default:!1},preloadWhilePlaying:{type:Boolean,default:!0},withControls:{type:Boolean,default:!0},playOnClick:{type:Boolean,default:!0},disablePlayPauseAnimation:{type:Boolean,default:!1},disablePlayButton:{type:Boolean,default:!1},isLive:{type:Boolean,default:!1},selectedSnapshotQuality:{type:[String,Number],default:"auto"},placeholderImage:{type:String,default:""},isMobile:{type:Boolean,default:!1},isZoomable:{type:Boolean,default:!0},isAnnotationActive:{type:Boolean,default:!1},aspectRatio:{type:Number,default:null}},data(){return{src:this.placeholderImage,imageLoaded:!1,playing:!1,playerStyle:{},image:null,previousSrc:"",resolveImageLoadingPromise:()=>({}),preloadingQueueId:0,preloadedFrames:[],preloadingFramesImgs:[],frameError:!1,animationId:-1,imgStyle:{},previousFrameIndex:0,isFullscreen:!1,mouseDownTime:0,playPauseAnimation:!1,latestValidSnapshotTimestamp:"",progressBar:null,isDraggingCursor:!1,hovered:!1,timePerFrameValue:this.timePerFrame,mousePosition:{x:0,y:0},screenHeight:screen.height}},computed:{imgProps(){return{id:"zoomable-img__img",ref:"image",crossorigin:"anonymous",class:"zoomable-img__img e-absolute e-w-full e-h-full e-object-contain e-z-10 d-block",dataTestId:"zoomable-img-image"}},playerDimensions(){return{width:"100%",height:this.height}},isLastFrame(){return this.frameIndex===this.frames.length-1},altText(){var t,e;return`${((t=this.frames[this.frameIndex])==null?void 0:t.label)||""} ${((e=this.frames[this.frameIndex])==null?void 0:e.timestamp)||""}`},playedPercentage(){return this.isLastFrame?100:Math.abs(this.frameIndex/this.frames.length*100)},mouseToWidthRatio(){var t,e,r;return this.mousePosition.x/((r=(e=(t=this.progressBar)==null?void 0:t.getBoundingClientRect())==null?void 0:e.width)!=null?r:1)},hoverBarStyle(){return{width:`${100*this.mouseToWidthRatio}%`}},hoveredFrameIndex(){return Math.round(this.mouseToWidthRatio*(this.frames.length-1))},progressStyle(){return{width:`${100*((this.isDraggingCursor?this.hoveredFrameIndex:this.frameIndex)/(this.frames.length-1))}%`}},preloadedChunks(){const t=[...this.preloadedFrames];return t.sort((e,r)=>e>r?1:-1),t.reduce((e,r)=>{if(!e.length)return[[r,r]];const[n,s]=e.slice(-1)[0]||[0,0];return r-s>1?[...e,[r,r]]:[...e.slice(0,-1),[n,r]]},[])}},watch:{frames:{handler(){var t;this.src=((t=this.frames[this.frameIndex])==null?void 0:t.src)||"",this.resetIndexOnFramesChange&&this.$emit("frame-index-change",0),this.imageLoaded=!0,this.preloadedFrames=[],this.flushPreloadingQueue(),this.$setTimeout(async()=>{this.updateRefs(),await this.loadTargetFrame(),this.handleBuffering()})},immediate:!0,deep:!0},isLastFrame(t){t&&this.$emit("frames-ended")},timePerFrame:{immediate:!0,handler(t){this.timePerFrameValue=t}},frameIndex:{immediate:!0,async handler(){this.frameIndex!==this.previousFrameIndex&&(Number.isNaN(this.frameIndex)&&this.$emit("frame-index-change",0),this.frameIndex===0&&(this.previousFrameIndex=this.frameIndex),this.isLastFrame&&!this.isLive&&(this.playing=!1),this.playing||(this.cancelDelay(),await this.loadTargetFrame(),this.handleBuffering()))}},playing:{immediate:!0,async handler(t){t?this.play():this.pause(),this.animatePlayPauseOverlay()}},preloadedFrames:{handler(t,e){this.$emit("preloaded-frames-change",t)}},isPlaying:{immediate:!0,async handler(){this.playing=this.isPlaying}},selectedSnapshotQuality(){var t;this.src=(t=this.getFrameSrc(this.frames[this.frameIndex]))!=null?t:this.frames[this.frameIndex].src},isLive:{immediate:!0,handler(t){var e;t||(this.src=(e=this.frames[this.frameIndex])==null?void 0:e.src)}},imageLoaded(t){this.$emit("loading",!t)}},mounted(){this.$setTimeout(()=>{this.initializeFullscreenListeners(),this.progressBar=this.$refs.progressBar,this.$addEventListener("keydown",this.handleKeyDown)})},beforeDestroy(){this.cancelDelay(),this.flushPreloadingQueue(),this.removeFullscreenListeners()},methods:{getProgressBarMousePosition(t){var r;if(!this.progressBar)return{x:0,y:0};const e=(r=this.progressBar)==null?void 0:r.getBoundingClientRect();return{x:t.clientX-e.x,y:t.clientY-e.y}},onProgressBarMouseEnter(){this.hovered=!0},onProgressBarMouseMove(t){this.mousePosition=this.getProgressBarMousePosition(t)},onProgressBarMouseLeave(){this.hovered=!1,this.isDraggingCursor=!1},onProgressBarClick(){this.$emit("frame-index-change",this.hoveredFrameIndex),this.$emit("seek",this.hoveredFrameIndex)},getProgressBarChunkStyle(t,e){const[r,n]=[100*t/(this.frames.length-1),100*e/(this.frames.length-1)];return{left:`${r}%`,width:`${n-r}%`}},animatePlayPauseOverlay(){this.disablePlayPauseAnimation||(this.playPauseAnimation=!0,this.$setTimeout(()=>this.playPauseAnimation=!1,500))},isImageClick(t){const e=t==null?void 0:t.target;return e?e&&(e.id==="img-foreground"||typeof e.className=="string"&&e.className.indexOf("zoomable-img__img")!==-1):!1},onFrameMouseDown(t){!this.isImageClick(t)||!this.playOnClick||(this.mouseDownTime=new Date().getTime())},onFrameMouseUp(t){this.isLastFrame||this.disablePlayButton||!this.playOnClick||this.isAnnotationActive||!this.isImageClick(t)||new Date().getTime()-this.mouseDownTime>200||(this.playing=!this.playing)},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},closeFullscreenMode(){document.fullscreenElement&&(Br().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=document.querySelector("#imagePlayer");t&&(zr(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},updateRefs(){var t,e,r;this.image=(r=(e=(t=this.$refs)==null?void 0:t.zoomableImage)==null?void 0:e.$refs)==null?void 0:r.image},incrementCurrentFrameIndex(){this.frames[this.frameIndex+1]&&(this.$emit("frame-index-change",this.frameIndex+1),this.$emit("timestamp-change",this.frames[this.frameIndex].timestamp))},getFrameSrc(t){if(t)return t.srcSet?t.srcSet[this.selectedSnapshotQuality]:t.src},loadTargetFrame(){if(this.frameIndex!==this.previousFrameIndex)return new Promise(t=>{this.updateRefs(),this.previousSrc=this.src,this.previousFrameIndex=this.frameIndex,this.resolveImageLoadingPromise=t,this.src=this.getFrameSrc(this.frames[this.frameIndex])})},async handleBuffering(){this.preload&&await this.buffer()},async buffer(){let t=this.frameIndex+this.preloadSize;this.preloadSize===1/0&&(t=this.frames.length-1),await this.preloadFrames({start:this.frameIndex,end:t})},async preloadFrames({start:t,end:e}){const[r,n]=[Math.min(this.frames.length-1,t),Math.min(this.frames.length-1,e)],s=new Array(n-r+1).fill(0).map((i,h)=>i+r+h),l=this.preloadingQueueId;for(const i of s){if(l!==this.preloadingQueueId||this.playing&&!this.preloadWhilePlaying)return;this.preloadedFrames.includes(i)||await new Promise(a=>{const o=new Image;o.onload=()=>{this.preloadedFrames=[...this.preloadedFrames,i],a()},o.onerror=()=>{a()},this.preloadingFramesImgs=[...this.preloadingFramesImgs,o];const u=this.getFrameSrc(this.frames[i]);i||a(),o.src=u})}},async delay(){return this.frameError?(this.frameError=!1,Promise.resolve()):new Promise(t=>{const e=performance.now(),r=n=>{n-e<this.timePerFrameValue?this.animationId=window.requestAnimationFrame(r):t()};this.animationId=window.requestAnimationFrame(r)})},cancelDelay(){window.cancelAnimationFrame(this.animationId)},async play(){var r,n;const t=performance.now();if(this.isLastFrame&&!this.isLive){this.$emit("frame-index-change",0);return}this.$emit("play"),this.playing=!0,this.cancelDelay(),this.incrementCurrentFrameIndex(),await this.loadTargetFrame(),this.handleBuffering(),await this.delay(),this.playing&&this.play();const e=performance.now();this.$emit("performance-intervals-changed",{id:(r=this.frames[this.frameIndex])==null?void 0:r.timestamp,frame:(n=this.frames[this.frameIndex])==null?void 0:n.label,duration:e-t})},flushPreloadingQueue(){this.preloadingQueueId+=1,this.preloadingFramesImgs.forEach(t=>{t.src=""}),this.preloadingFramesImgs=[]},async pause(){this.playing=!1,this.imageLoaded=!0,this.src=this.previousSrc,this.cancelDelay(),this.handleBuffering(),this.$emit("pause")},onLoad(){var t,e;this.$emit("on-image-load",this.image),this.$emit("snapshot-changed",{data:(t=this.frames[this.frameIndex])==null?void 0:t.src,createdAt:(e=this.frames[this.frameIndex])==null?void 0:e.timestamp}),this.imageLoaded=!0,this.previousSrc=this.src,this.resolveImageLoadingPromise()},onError(t){if(this.frameIndex>1)return this.$emit("frame-index-change",this.frameIndex-1);this.frameError=!0,this.src=this.previousSrc,this.resolveImageLoadingPromise(),this.$emit("error",t)},onChange(t){this.$emit("change",t)},onBeforeUpdate(t){this.$emit("hook:beforeUpdate",t)},onBeforeDestroy(t){this.$emit("hook:beforeDestroy",t)},togglePlay(){this.playing=!this.playing},handleKeyDown(t){var r;const e=(r=document.activeElement)==null?void 0:r.tagName.toLowerCase();if(!(e==="input"||this.isAnnotationActive))switch(t.key.toLowerCase()){case" ":if(e==="button")return;this.disablePlayButton||this.togglePlay();break;case"escape":t.preventDefault(),this.closeFullscreenMode(),this.isFullscreen=!1;break}}}}),t7="";var Q3=function(){var n,s;var e=this,r=e._self._c;return r("div",{staticClass:"player e-h-full e-w-full",style:e.playerDimensions,attrs:{id:"imagePlayer"}},[r("div",{staticClass:"player__frames player-container",style:e.playerDimensions,attrs:{id:"img-container"},on:{pointerdown:e.onFrameMouseDown,pointerup:e.onFrameMouseUp}},[r("div",{staticClass:"e-h-full e-w-full e-shrink-0 e-relative"},[r("img",{staticClass:"e-absolute e-block e-w-full e-h-full background-fade",attrs:{src:e.src||((n=e.frames[e.frameIndex])==null?void 0:n.src)||"",alt:"background-image"}}),r("EZoomableImg",e._g({directives:[{name:"show",rawName:"v-show",value:e.imageLoaded&&e.src||e.placeholderImage,expression:"(imageLoaded && src) || placeholderImage"}],ref:"zoomableImage",attrs:{"img-props":{imgProps:e.imgProps},"overlay-style":{zIndex:1},src:e.src||((s=e.frames[e.frameIndex])==null?void 0:s.src)||e.placeholderImage||"",alt:e.altText,"hide-content-on-blur":!1,height:e.height.split("px")[0],"placeholder-image":e.placeholderImage,slider:!1,"is-mobile":e.isMobile,disabled:!e.isZoomable,"is-annotation-active":e.isAnnotationActive,"blur-background":""},on:{load:e.onLoad,error:e.onError,change:e.onChange,"hook:beforeUpdate":e.onBeforeUpdate,"hook:beforeDestroy":e.onBeforeDestroy},scopedSlots:e._u([{key:"imageOverlay",fn:function(){return[e.playPauseAnimation?r("div",{staticClass:"image-player-overlay e-flex e-items-center e-justify-center"},[r("div",{staticClass:"image-player-overlay__wrapper"},[e.playing?r("svg",{attrs:{height:"100%",viewBox:"-1 0 36 36",width:"100%"}},[r("path",{attrs:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}})]):r("svg",{attrs:{height:"100%",viewBox:"0.5 0 36 36",width:"100%"}},[r("path",{attrs:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}})])])]):e._e(),e._t("default"),e._t("imageOverlay")]},proxy:!0}],null,!0)},e.$listeners),[e._t("playerContainerOverlay")],2),e._t("imagePlayerOverlay")],2)]),e._t("controls",function(){return[e.withControls?r("div",{staticClass:"e-absolute e-bottom-0 e-w-[97%] e-p-4 e-pt-8 e-z-50 e-space-y-4 e-bg-gradient-to-t e-from-[#363434] e-to-transparent"},[r("div",{staticClass:"e-font-semibold e-text-white"},[e._v(" "+e._s(e.frames[e.frameIndex].label)+" - "+e._s(e.frameIndex)+" / "+e._s(e.frames.length-1)+" ")]),r("div",{staticClass:"e-flex e-justify-start e-gap-2 e-items-center"},[r("button",{staticClass:"e-text-white e-bg-transparent e-border-none e-cursor-pointer action-btn__first-vertical e-rounded-md",on:{click:e.togglePlay}},[r("i",{staticClass:"fas fa-2x",class:{"fa-play":!e.playing,"fa-pause":e.playing}})]),r("div",{ref:"progressBar",staticClass:"e-w-full e-h-3 e-relative e-bg-gray-200 e-rounded-md",on:{click:e.onProgressBarClick,mouseenter:e.onProgressBarMouseEnter,mousemove:e.onProgressBarMouseMove,mouseleave:e.onProgressBarMouseLeave}},[r("div",{staticClass:"e-bg-blue-500 e-w-full e-h-full e-absolute e-rounded-md e-z-[1]",style:{width:`${e.playedPercentage}%`}}),e._l(e.preloadedChunks,function([l,i]){return r("div",{key:i,staticClass:"e-bg-blue-300 e-h-full e-absolute e-rounded-md",style:e.getProgressBarChunkStyle(l,i)})})],2),r("button",{ref:"fullScreenBtn",staticClass:"e-text-white e-bg-transparent e-border-none e-cursor-pointer action-btn__second-vertical e-rounded-md",on:{click:e.toggleFullscreenMode}},[r("i",{staticClass:"fas fa-2x",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen}})])])]):e._e()]},{playing:e.playing,togglePlay:e.togglePlay,play:e.play,pause:e.pause,toggleFullscreen:e.toggleFullscreenMode,preloadedFrames:e.preloadedFrames,isLastFrame:e.isLastFrame})],2)},V3=[],K3=Y(X3,Q3,V3,!1,null,null,null,null);const ji=K3.exports,J3=j.extend({name:"ELayout",directives:{ResizeObserver:Qe},mixins:[Ge],props:{height:{type:[String,Number],default:null},withOverlay:{type:Boolean,default:!1}},data(){return{footerHeight:0,overlayFooterHeight:0,wrapperStyle:{width:"100%",height:"100%"},mainStyle:{width:"100%",height:"100%"},mainHeight:"100%"}},computed:{bottomStyle(){return{bottom:`${this.overlayFooterHeight}px`}}},watch:{mainHeight(){this.onResize()}},mounted(){this.setOverlayFooterHeight(),this.setFooterHeight()},methods:{onResize(){this.setFooterHeight(),this.setOverlayFooterHeight()},onOverlayClick(t){this.$emit("overlay-click",t)},setOverlayFooterHeight(){const t=this.$refs.overlayFooter;t||this.$setTimeout(()=>{this.setOverlayFooterHeight()}),this.overlayFooterHeight=t==null?void 0:t.clientHeight},setFooterHeight(){const t=this.$refs.footer;t||this.$setTimeout(()=>{this.setFooterHeight()}),this.footerHeight=t==null?void 0:t.clientHeight,this.$attrs.isFullscreen?this.mainHeight=`${screen.height}px`:this.mainHeight=`${this.height?this.height.split("px")[0]-this.footerHeight:"100"}px`,this.mainStyle={width:"100%",height:this.mainHeight}}}});var e6=function(){var e=this,r=e._self._c;return r("div",e._b({directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"globalLayout",staticClass:"e-layout e-w-full e-h-full e-relative",style:{width:"100%",height:e.mainHeight},attrs:{id:"globalLayout"}},"div",e.$attrs,!1),[r("div",{staticClass:"e-layout__container e-relative",style:e.mainStyle},[r("div",{staticClass:"e-layout__main e-w-full e-h-full e-absolute e-inset-0 e-z-0",style:e.mainStyle},[e._t("main",null,{size:{...e.mainStyle}})],2),e.withOverlay?r("div",{staticClass:"e-layout__overlay e-w-full e-h-full e-absolute e-inset-0 e-z-[1]",style:e.mainStyle,on:{click:e.onOverlayClick}},[e._t("overlay",null,{size:{...e.mainStyle}})],2):e._e(),r("div",{staticClass:"e-layout__top-left e-absolute e-left-0 e-top-0 e-z-[2]"},[e._t("top-left")],2),r("div",{staticClass:"e-absolute e-right-0 e-top-0 e-layout__top-right e-z-[2]"},[e._t("top-right")],2),r("div",{staticClass:"e-absolute e-right-0 e-bottom-10 e-layout__bottom-right e-z-[2]",style:e.bottomStyle},[e._t("bottom-right")],2),r("div",{staticClass:"e-absolute e-left-0 e-bottom-10 e-layout__bottom-left e-z-[2]",style:e.bottomStyle},[e._t("bottom-left")],2),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.setOverlayFooterHeight,expression:"setOverlayFooterHeight"}],ref:"overlayFooter",staticClass:"e-absolute e-bottom-0 e-left-0 e-right-0 e-layout__overlay-footer e-z-[2]"},[e._t("overlay-footer")],2)]),r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.setFooterHeight,expression:"setFooterHeight"}],ref:"footer",staticClass:"e-layout__footer e-relative e-z-[2]"},[e._t("footer")],2)])},t6=[],r6=Y(J3,e6,t6,!1,null,null,null,null);const Gi=r6.exports;var n6=Y({name:"EContextProvider",provide(){return{...this.$props.context}},props:{context:{type:Object,required:!0}},render(){return this.$scopedSlots.default()}},null,null,!1,null,null,null,null);const i6=n6.exports,s6=j.extend({name:"EChatWrapper",props:{dark:{type:Boolean,default:!1},embedded:{type:Boolean,default:!1}},computed:{borderClasses(){return this.embedded?{}:{"e-border-[1px] e-border-solid e-rounded-lg e-overflow-hidden":!0,"e-border-gray-300":!this.dark,"e-border-gray-600":this.dark}},wrapperClasses(){return{"e-bg-gray-800 e-text-white":this.dark,"e-bg-white e-text-gray-800":!this.dark,...this.borderClasses}}}}),s7="";var a6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-wrapper e-h-full",class:e.wrapperClasses},[e._t("default")],2)},o6=[],l6=Y(s6,a6,o6,!1,null,null,null,null);const c6=l6.exports,u6=j.extend({name:"EChatHeader",components:{EAvatar:St},props:{size:{type:String,default:"xs"},backgroundClasses:{type:String,default:""}}}),a7="";var d6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EAvatar",{staticClass:"e-evercam-logo",attrs:{image:"https://dash.evercam.io/evercam-logo.svg",size:e.size,"background-classes":e.backgroundClasses}})},h6=[],f6=Y(u6,d6,h6,!1,null,null,null,null);const qi=f6.exports,p6=j.extend({name:"EChatHeader",components:{EEvercamLogo:qi},props:{title:{type:String,default:"Evercam Copilot"},hidden:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},computed:{backgroundClasses(){return{"e-bg-gray-700":this.dark,"e-bg-gray-50":!this.dark}},headerClasses(){return{"e-hidden":this.hidden,...this.backgroundClasses}},logoClasses(){return{"e-bg-white e-p-[2px] e-rounded-full":this.dark}}}});var m6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-header e-flex e-items-center e-justify-between",class:e.headerClasses},[r("div",{staticClass:"e-chat-logo e-flex e-w-full e-items-center e-justify-start e-gap-2 e-px-5 e-py-4"},[e._t("logo",function(){return[r("div",{class:e.logoClasses},[r("EEvercamLogo",{attrs:{size:e.dark?"2xs":"xs"}})],1)]}),r("div",{staticClass:"e-font-semibold e-h-min e-text-base"},[e._v(e._s(e.title))]),e._t("chip")],2)])},g6=[],v6=Y(p6,m6,g6,!1,null,null,null,null);const _6=v6.exports,C6=j.extend({name:"EChatBody",directives:{ResizeObserver:Qe},props:{dark:{type:Boolean,default:!1}},data(){return{autoScroll:!0,previousChildCount:0,showGoToBottomButton:!1}},computed:{bodyClasses(){return{"e-custom-scrollbar--light":!this.dark,"e-custom-scrollbar--dark":this.dark}},goToBottomButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"e-bg-gray-600":this.dark,"e-bg-gray-200":!this.dark}}},watch:{autoScroll(t){t&&this.scrollToBottom()}},mounted(){this.scrollToBottom()},methods:{onContentResized(){const e=this.$refs.contentWrapper.childElementCount;e!==this.previousChildCount&&(this.autoScroll=!0),this.autoScroll&&this.scrollToBottom(),this.previousChildCount=e},scrollToBottom(){const t=this.$refs.anchor;this.$nextTick(()=>{t.scrollIntoView({behavior:"smooth"})})},disableAutoScroll(){this.autoScroll=!1},onScroll(){const t=this.$refs.chatBody;t.scrollHeight-t.scrollTop<=t.clientHeight+1&&(this.autoScroll=!0),this.showGoToBottomButton=t.scrollHeight-t.scrollTop>t.clientHeight+100},onWheel(t){t.deltaY<0&&this.disableAutoScroll()},onKeyUp(t){["ArrowUp","ArrowDown","PageUp","PageDown","Home","End"].includes(t.key)&&this.disableAutoScroll()},onTouch(){this.disableAutoScroll()},onTouchMove(){this.disableAutoScroll()}}}),o7="";var y6=function(){var e=this,r=e._self._c;return r("div",e._b({ref:"chatBody",staticClass:"e-chat-body e-space-y-2 e-py-3 e-px-5 e-leading-6",class:e.bodyClasses,attrs:{tabindex:"0"},on:{scroll:e.onScroll,wheel:e.onWheel,keyup:function(n){return n.stopPropagation(),e.onKeyUp.apply(null,arguments)},touchstart:e.onTouch,touchmove:e.onTouchMove}},"div",e.$attrs,!1),[r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onContentResized,expression:"onContentResized"}],ref:"contentWrapper"},[e._t("default")],2),r("div",{ref:"anchor",staticClass:"e-chat-body__anchor"}),e.showGoToBottomButton?r("div",{staticClass:"e-chat-body__go-to-bottom e-sticky e-bottom-1 e-flex e-justify-center"},[r("button",{staticClass:"e-animate-bounce e-inline-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 e-border-none focus:e-outline-none e-rounded-full",class:e.goToBottomButtonClasses,on:{click:e.scrollToBottom}},[r("EIcon",{attrs:{icon:"arrow-down",size:"base"}})],1)]):e._e()])},b6=[],x6=Y(C6,y6,b6,!1,null,null,null,null);const w6=x6.exports,S6=j.extend({props:{size:{type:Number,default:12},color:{type:String,default:"#c5393d"}},computed:{computedSize(){return`${this.size}px`},computedMargin(){return`${this.size/2}px`},computedShadowSize(){return`${this.size*2}px`},computedSecondaryColor(){return dt(this.color,0)||"#fff"},dotContainerStyle(){return{margin:`${this.computedMargin} auto`,width:this.computedSize,height:this.computedSize,position:"relative"}},shadowStyle(){return{width:this.computedSize,height:this.computedSize,"--boxShadowColor":dt(this.color,.7),"--backgroundColor":dt(this.color,.7),"--secondaryColor":this.computedSecondaryColor,"--shadowSize":this.computedShadowSize}},secondShadowStyle(){return{...this.shadowStyle,animationDelay:".33s",animationDuration:"2.3s"}},dotStyle(){return{width:this.computedSize,height:this.computedSize,backgroundColor:dt(this.color,1)}}},methods:{toRgba:dt}}),l7="";var T6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-pulsating-dot",style:e.dotContainerStyle},[r("span",{staticClass:"e-pulsating-dot__shadow",style:e.shadowStyle}),r("span",{staticClass:"e-pulsating-dot__shadow",style:e.secondShadowStyle}),r("div",{staticClass:"e-pulsating-dot__dot",style:e.dotStyle})])},k6=[],M6=Y(S6,T6,k6,!1,null,"e042b2c3",null,null);const E6=M6.exports;var Zi={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self!="undefined"?self:st,()=>(()=>{var r={75:function(i){(function(){var h,a,o,u,f,m;typeof performance!="undefined"&&performance!==null&&performance.now?i.exports=function(){return performance.now()}:typeof process!="undefined"&&process!==null&&process.hrtime?(i.exports=function(){return(h()-f)/1e6},a=process.hrtime,u=(h=function(){var v;return 1e9*(v=a())[0]+v[1]})(),m=1e9*process.uptime(),f=u-m):Date.now?(i.exports=function(){return Date.now()-o},o=Date.now()):(i.exports=function(){return new Date().getTime()-o},o=new Date().getTime())}).call(this)},4087:(i,h,a)=>{for(var o=a(75),u=typeof window=="undefined"?a.g:window,f=["moz","webkit"],m="AnimationFrame",v=u["request"+m],x=u["cancel"+m]||u["cancelRequest"+m],d=0;!v&&d<f.length;d++)v=u[f[d]+"Request"+m],x=u[f[d]+"Cancel"+m]||u[f[d]+"CancelRequest"+m];if(!v||!x){var y=0,M=0,$=[];v=function(w){if($.length===0){var A=o(),E=Math.max(0,16.666666666666668-(A-y));y=E+A,setTimeout(function(){var N=$.slice(0);$.length=0;for(var K=0;K<N.length;K++)if(!N[K].cancelled)try{N[K].callback(y)}catch(q){setTimeout(function(){throw q},0)}},Math.round(E))}return $.push({handle:++M,callback:w,cancelled:!1}),M},x=function(w){for(var A=0;A<$.length;A++)$[A].handle===w&&($[A].cancelled=!0)}}i.exports=function(w){return v.call(u,w)},i.exports.cancel=function(){x.apply(u,arguments)},i.exports.polyfill=function(w){w||(w=u),w.requestAnimationFrame=v,w.cancelAnimationFrame=x}}},n={};function s(i){var h=n[i];if(h!==void 0)return h.exports;var a=n[i]={exports:{}};return r[i].call(a.exports,a,a.exports,s),a.exports}s.n=i=>{var h=i&&i.__esModule?()=>i.default:()=>i;return s.d(h,{a:h}),h},s.d=(i,h)=>{for(var a in h)s.o(h,a)&&!s.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:h[a]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(i,h)=>Object.prototype.hasOwnProperty.call(i,h);var l={};return(()=>{s.d(l,{default:()=>Q});var i=s(4087),h=s.n(i);const a=function(I){return new RegExp(/<[a-z][\s\S]*>/i).test(I)},o=function(I,T){return Math.floor(Math.random()*(T-I+1))+I};var u="TYPE_CHARACTER",f="REMOVE_CHARACTER",m="REMOVE_ALL",v="REMOVE_LAST_VISIBLE_NODE",x="PAUSE_FOR",d="CALL_FUNCTION",y="ADD_HTML_TAG_ELEMENT",M="CHANGE_DELETE_SPEED",$="CHANGE_DELAY",w="CHANGE_CURSOR",A="PASTE_STRING",E="HTML_TAG";function N(I){return N=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},N(I)}function K(I,T){var O=Object.keys(I);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(I);T&&(R=R.filter(function(ie){return Object.getOwnPropertyDescriptor(I,ie).enumerable})),O.push.apply(O,R)}return O}function q(I){for(var T=1;T<arguments.length;T++){var O=arguments[T]!=null?arguments[T]:{};T%2?K(Object(O),!0).forEach(function(R){D(I,R,O[R])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(O)):K(Object(O)).forEach(function(R){Object.defineProperty(I,R,Object.getOwnPropertyDescriptor(O,R))})}return I}function b(I){return function(T){if(Array.isArray(T))return z(T)}(I)||function(T){if(typeof Symbol!="undefined"&&T[Symbol.iterator]!=null||T["@@iterator"]!=null)return Array.from(T)}(I)||function(T,O){if(T){if(typeof T=="string")return z(T,O);var R=Object.prototype.toString.call(T).slice(8,-1);return R==="Object"&&T.constructor&&(R=T.constructor.name),R==="Map"||R==="Set"?Array.from(T):R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R)?z(T,O):void 0}}(I)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
203
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function z(I,T){(T==null||T>I.length)&&(T=I.length);for(var O=0,R=new Array(T);O<T;O++)R[O]=I[O];return R}function G(I,T){for(var O=0;O<T.length;O++){var R=T[O];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(I,X(R.key),R)}}function D(I,T,O){return(T=X(T))in I?Object.defineProperty(I,T,{value:O,enumerable:!0,configurable:!0,writable:!0}):I[T]=O,I}function X(I){var T=function(O,R){if(N(O)!=="object"||O===null)return O;var ie=O[Symbol.toPrimitive];if(ie!==void 0){var C=ie.call(O,"string");if(N(C)!=="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(O)}(I);return N(T)==="symbol"?T:String(T)}const Q=function(){function I(R,ie){var C=this;if(function(F,B){if(!(F instanceof B))throw new TypeError("Cannot call a class as a function")}(this,I),D(this,"state",{cursorAnimation:null,lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null,elements:{container:null,wrapper:document.createElement("span"),cursor:document.createElement("span")}}),D(this,"options",{strings:null,cursor:"|",delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,devMode:!1,skipAddStyles:!1,wrapperClassName:"Typewriter__wrapper",cursorClassName:"Typewriter__cursor",stringSplitter:null,onCreateTextNode:null,onRemoveNode:null}),D(this,"setupWrapperElement",function(){C.state.elements.container&&(C.state.elements.wrapper.className=C.options.wrapperClassName,C.state.elements.cursor.className=C.options.cursorClassName,C.state.elements.cursor.innerHTML=C.options.cursor,C.state.elements.container.innerHTML="",C.state.elements.container.appendChild(C.state.elements.wrapper),C.state.elements.container.appendChild(C.state.elements.cursor))}),D(this,"start",function(){return C.state.eventLoopPaused=!1,C.runEventLoop(),C}),D(this,"pause",function(){return C.state.eventLoopPaused=!0,C}),D(this,"stop",function(){return C.state.eventLoop&&((0,i.cancel)(C.state.eventLoop),C.state.eventLoop=null),C}),D(this,"pauseFor",function(F){return C.addEventToQueue(x,{ms:F}),C}),D(this,"typeOutAllStrings",function(){return typeof C.options.strings=="string"?(C.typeString(C.options.strings).pauseFor(C.options.pauseFor),C):(C.options.strings.forEach(function(F){C.typeString(F).pauseFor(C.options.pauseFor).deleteAll(C.options.deleteSpeed)}),C)}),D(this,"typeString",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(a(F))return C.typeOutHTMLString(F,B);if(F){var S=(C.options||{}).stringSplitter,W=typeof S=="function"?S(F):F.split("");C.typeCharacters(W,B)}return C}),D(this,"pasteString",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return a(F)?C.typeOutHTMLString(F,B,!0):(F&&C.addEventToQueue(A,{character:F,node:B}),C)}),D(this,"typeOutHTMLString",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=arguments.length>2?arguments[2]:void 0,W=function(ue){var ce=document.createElement("div");return ce.innerHTML=ue,ce.childNodes}(F);if(W.length>0)for(var V=0;V<W.length;V++){var L=W[V],ne=L.innerHTML;L&&L.nodeType!==3?(L.innerHTML="",C.addEventToQueue(y,{node:L,parentNode:B}),S?C.pasteString(ne,L):C.typeString(ne,L)):L.textContent&&(S?C.pasteString(L.textContent,B):C.typeString(L.textContent,B))}return C}),D(this,"deleteAll",function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"natural";return C.addEventToQueue(m,{speed:F}),C}),D(this,"changeDeleteSpeed",function(F){if(!F)throw new Error("Must provide new delete speed");return C.addEventToQueue(M,{speed:F}),C}),D(this,"changeDelay",function(F){if(!F)throw new Error("Must provide new delay");return C.addEventToQueue($,{delay:F}),C}),D(this,"changeCursor",function(F){if(!F)throw new Error("Must provide new cursor");return C.addEventToQueue(w,{cursor:F}),C}),D(this,"deleteChars",function(F){if(!F)throw new Error("Must provide amount of characters to delete");for(var B=0;B<F;B++)C.addEventToQueue(f);return C}),D(this,"callFunction",function(F,B){if(!F||typeof F!="function")throw new Error("Callback must be a function");return C.addEventToQueue(d,{cb:F,thisArg:B}),C}),D(this,"typeCharacters",function(F){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!F||!Array.isArray(F))throw new Error("Characters must be an array");return F.forEach(function(S){C.addEventToQueue(u,{character:S,node:B})}),C}),D(this,"removeCharacters",function(F){if(!F||!Array.isArray(F))throw new Error("Characters must be an array");return F.forEach(function(){C.addEventToQueue(f)}),C}),D(this,"addEventToQueue",function(F,B){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return C.addEventToStateProperty(F,B,S,"eventQueue")}),D(this,"addReverseCalledEvent",function(F,B){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return C.options.loop?C.addEventToStateProperty(F,B,S,"reverseCalledEvents"):C}),D(this,"addEventToStateProperty",function(F,B){var S=arguments.length>2&&arguments[2]!==void 0&&arguments[2],W=arguments.length>3?arguments[3]:void 0,V={eventName:F,eventArgs:B||{}};return C.state[W]=S?[V].concat(b(C.state[W])):[].concat(b(C.state[W]),[V]),C}),D(this,"runEventLoop",function(){C.state.lastFrameTime||(C.state.lastFrameTime=Date.now());var F=Date.now(),B=F-C.state.lastFrameTime;if(!C.state.eventQueue.length){if(!C.options.loop)return;C.state.eventQueue=b(C.state.calledEvents),C.state.calledEvents=[],C.options=q({},C.state.initialOptions)}if(C.state.eventLoop=h()(C.runEventLoop),!C.state.eventLoopPaused){if(C.state.pauseUntil){if(F<C.state.pauseUntil)return;C.state.pauseUntil=null}var S,W=b(C.state.eventQueue),V=W.shift();if(!(B<=(S=V.eventName===v||V.eventName===f?C.options.deleteSpeed==="natural"?o(40,80):C.options.deleteSpeed:C.options.delay==="natural"?o(120,160):C.options.delay))){var L=V.eventName,ne=V.eventArgs;switch(C.logInDevMode({currentEvent:V,state:C.state,delay:S}),L){case A:case u:var ue=ne.character,ce=ne.node,se=document.createTextNode(ue),he=se;C.options.onCreateTextNode&&typeof C.options.onCreateTextNode=="function"&&(he=C.options.onCreateTextNode(ue,se)),he&&(ce?ce.appendChild(he):C.state.elements.wrapper.appendChild(he)),C.state.visibleNodes=[].concat(b(C.state.visibleNodes),[{type:"TEXT_NODE",character:ue,node:he}]);break;case f:W.unshift({eventName:v,eventArgs:{removingCharacterNode:!0}});break;case x:var Te=V.eventArgs.ms;C.state.pauseUntil=Date.now()+parseInt(Te);break;case d:var le=V.eventArgs,Ce=le.cb,Ae=le.thisArg;Ce.call(Ae,{elements:C.state.elements});break;case y:var Be=V.eventArgs,Me=Be.node,ke=Be.parentNode;ke?ke.appendChild(Me):C.state.elements.wrapper.appendChild(Me),C.state.visibleNodes=[].concat(b(C.state.visibleNodes),[{type:E,node:Me,parentNode:ke||C.state.elements.wrapper}]);break;case m:var $e=C.state.visibleNodes,Ee=ne.speed,Le=[];Ee&&Le.push({eventName:M,eventArgs:{speed:Ee,temp:!0}});for(var De=0,Ke=$e.length;De<Ke;De++)Le.push({eventName:v,eventArgs:{removingCharacterNode:!1}});Ee&&Le.push({eventName:M,eventArgs:{speed:C.options.deleteSpeed,temp:!0}}),W.unshift.apply(W,Le);break;case v:var Xe=V.eventArgs.removingCharacterNode;if(C.state.visibleNodes.length){var ot=C.state.visibleNodes.pop(),_t=ot.type,qe=ot.node,ht=ot.character;C.options.onRemoveNode&&typeof C.options.onRemoveNode=="function"&&C.options.onRemoveNode({node:qe,character:ht}),qe&&qe.parentNode.removeChild(qe),_t===E&&Xe&&W.unshift({eventName:v,eventArgs:{}})}break;case M:C.options.deleteSpeed=V.eventArgs.speed;break;case $:C.options.delay=V.eventArgs.delay;break;case w:C.options.cursor=V.eventArgs.cursor,C.state.elements.cursor.innerHTML=V.eventArgs.cursor}C.options.loop&&(V.eventName===v||V.eventArgs&&V.eventArgs.temp||(C.state.calledEvents=[].concat(b(C.state.calledEvents),[V]))),C.state.eventQueue=W,C.state.lastFrameTime=F}}}),R)if(typeof R=="string"){var U=document.querySelector(R);if(!U)throw new Error("Could not find container element");this.state.elements.container=U}else this.state.elements.container=R;ie&&(this.options=q(q({},this.options),ie)),this.state.initialOptions=q({},this.options),this.init()}var T,O;return T=I,(O=[{key:"init",value:function(){var R,ie;this.setupWrapperElement(),this.addEventToQueue(w,{cursor:this.options.cursor},!0),this.addEventToQueue(m,null,!0),!window||window.___TYPEWRITER_JS_STYLES_ADDED___||this.options.skipAddStyles||(R=".Typewriter__cursor{-webkit-animation:Typewriter-cursor 1s infinite;animation:Typewriter-cursor 1s infinite;margin-left:1px}@-webkit-keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes Typewriter-cursor{0%{opacity:0}50%{opacity:1}100%{opacity:0}}",(ie=document.createElement("style")).appendChild(document.createTextNode(R)),document.head.appendChild(ie),window.___TYPEWRITER_JS_STYLES_ADDED___=!0),this.options.autoStart===!0&&this.options.strings&&this.typeOutAllStrings().start()}},{key:"logInDevMode",value:function(R){this.options.devMode&&console.log(R)}}])&&G(T.prototype,O),Object.defineProperty(T,"prototype",{writable:!1}),I}()})(),l.default})())})(Zi);var $6=Zi.exports;const L6=Tt($6),D6=j.extend({name:"EMarkdown",props:{chunks:{type:[Array,String],default:()=>[]},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},data(){return{isProcessing:!1,typewriter:null,renderTargets:{},isRenderingTable:!1,isIncompleteTableRow:!1,processor:null,accumulator:"",lastProcessedLength:0}},watch:{chunks:{handler(t,e){const r=t.slice(e.length);this.handleNewChunk(r.join(""))},deep:!0}},mounted(){this.initTypewriter(),this.initProcessor(),this.processInitialChunks()},methods:{initTypewriter(){this.typewriter=new L6(this.$refs.content,{loop:!1,delay:0,delaySpeed:0,cursor:""})},initProcessor(){this.processor=gs.unified().use(vs).use(this.remarkCustomRegex,this.exposedRegexes).use(this.remarkCheckIncompleteTableRows).use(ys).use(bs).use(_s,{allowDangerousHtml:!0}).use(Cs,{allowDangerousHtml:!0})},async processMarkdown(t){if(!this.processor)throw new Error("Processor not initialized");const e=await this.processor.process(t);return this.isIncompleteTableRow?(this.isRenderingTable=!1,this.isIncompleteTableRow=!1,null):String(e)},remarkCustomRegex(t){return e=>{xt.visit(e,"text",(r,n,s)=>{t.forEach(({regex:l,type:i})=>{this.processTextNode(r,n,s,l,i)})})}},processTextNode(t,e,r,n,s){const l=t.value.split(n);if(l.length>1){const i=this.replaceRegexTargets(l,n,s,t,e);return r.children.splice(e,1,...i),[xt.visit.SKIP,e+i.length]}},replaceRegexTargets(t,e,r,n,s){return t.map((l,i)=>{if(e.test(l)){const h=this.generateUniqueId(n,s,i,r);return this.renderTargets[h]={match:l,type:r},{type:"html",value:`<span id="${h}">${l}</span>`}}return l?{type:"text",value:l}:null}).filter(Boolean)},generateUniqueId(t,e,r,n){return`render-target-${n}-${gi({node:t,nodeIndex:e,partIndex:r})}`},remarkCheckIncompleteTableRows(){return t=>{xt.visit(t,"tableRow",(e,r,n)=>{this.isRenderingTable=!0;const s=n.children[0].children.length;if(e.children.length<s)return this.isIncompleteTableRow=!0,n.children.splice(r,1),xt.visit.EXIT})}},async processChunk(t){if(!t||(this.accumulator+=t,this.isRenderingTable&&this.accumulator.length<30))return;const e=await this.processMarkdown(this.accumulator);e!==null&&(this.animated?await this.animateNewChunk(e):this.updateContent(e),this.renderRegexesScopedSlots(),this.lastProcessedLength=this.accumulator.length)},async animateNewChunk(t){const e=this.getNewContent(t);await new Promise(r=>{this.$emit("animation-start"),this.typewriter.typeString(e).callFunction(()=>{this.$emit("animation-end"),r()}).start()})},getNewContent(t){const e=document.createElement("div");return e.innerHTML=t,(e.textContent||"").slice(this.lastProcessedLength)},updateContent(t){const e=this.$refs.content,r=document.createElement("div");r.innerHTML=t,xs(e,r,{onBeforeElUpdated:(n,s)=>n.classList.contains("Typewriter__wrapper")?(s.innerHTML=n.innerHTML,!1):!0})},async handleNewChunk(t){this.isProcessing||(this.isProcessing=!0,await this.processChunk(t),this.isProcessing=!1)},async processInitialChunks(){const t=Array.isArray(this.chunks)?this.chunks:[this.chunks];for(const e of t)await this.handleNewChunk(e)},renderRegexesScopedSlots(){Object.entries(this.renderTargets).forEach(([t,{match:e,type:r}])=>{this.renderScopedSlot({id:t,type:r,propsData:{match:e}})}),this.renderTargets={}},renderScopedSlot({id:t,type:e,propsData:r}){const n=this.$scopedSlots[`markdown.regex.${e}`];if(!n)return;const s=j.extend({functional:!0,props:["scopedSlot","propsData"],render:(h,a)=>a.props.scopedSlot(a.props.propsData)}),l=document.getElementById(t);if(!l)return;const i=new j({render:h=>h(s,{props:{scopedSlot:n,propsData:r}})}).$mount();return l.innerHTML="",l.appendChild(i.$el),i}}}),c7="";var P6=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-markdown"},[r("article",{staticClass:"e-mx-auto prose-h1:!e-text-2xl prose-h2:!e-text-xl prose-h2:!e-mt-0 prose-h3:!e-text-lg e-prose e-prose-slate",class:{"e-prose-invert":e.dark}},[r("div",{ref:"content",staticClass:"e-markdown__content e-mt-[13px]"})])])},O6=[],z6=Y(D6,P6,O6,!1,null,null,null,null);const B6=z6.exports,I6=j.extend({name:"ECopyToClipboardBtn",components:{EActionButton:vt},mixins:[Ve,Ge],props:{text:{type:[Function,String,Number],required:!0},buttonText:{type:String,default:""},buttonClasses:{type:[String,Object,Array],default:null},description:{type:String,default:"Copy"},iconType:{type:String,default:"far fa-copy"},textOnlyButton:{type:Boolean,default:!1},dark:{type:Boolean,default:!0}},data(){return{loading:!1,tooltipText:this.description||"Copy to clipboard"}},computed:{copyButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"e-bg-gray-600":this.dark,"e-bg-gray-200":!this.dark,"e-rounded-md e-border-none copy-button":!0}}},watch:{tooltipText(t){t!==this.description&&this.$setTimeout(()=>{this.tooltipText=this.description},1e3)}},mounted(){this.$addEventListener("focusin",this.handleFocusin,this.$refs.copyToClipboard)},methods:{handleFocusin(t){t.stopPropagation()},getProp(t,e){return Object.prototype.hasOwnProperty.call(this.$attrs,t)?this.$attrs[t]:e},copyTextToClipboard(){try{this.loading=!0;let t;typeof this.text=="function"?t=this.text():t=this.text;const e=this.$refs.copyToClipboard;e.value=t,e.focus(),e.select(),document.execCommand("copy"),this.tooltipText="Copied!",this.$emit("copied")}catch(t){console.error("Failed to copy text to clipboard",t)}finally{this.loading=!1}}}}),u7="";var F6=function(){var e=this,r=e._self._c;return r("EActionButton",{attrs:{"tooltip-text":e.tooltipText,"tooltip-position":"top",icon:e.iconType,"icon-size":"lg",dark:e.dark,"button-classes":e.copyButtonClasses},on:{click:e.copyTextToClipboard}},[e._v(" "+e._s(e.buttonText)+" "),r("textarea",{ref:"copyToClipboard",staticClass:"copy-to-clipboard",attrs:{readonly:""}})])},A6=[],R6=Y(I6,F6,A6,!1,null,"54e17d6a",null,null);const Jr=R6.exports,H6=j.extend({name:"EDialog",components:{EFadeTransition:Ot},directives:{clickOutside:Rr},props:{value:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},actions:{type:Array,default:()=>[]},title:{type:String,default:""},persistent:{type:Boolean,default:!1},width:{type:[Number,String],default:500},height:{type:[Number,String,void 0],default:void 0}},computed:{visible:{get(){return this.value},set(t){this.$emit("input",t)}},panelClasses(){return["e-relative e-transform e-overflow-hidden e-rounded-lg e-text-left e-shadow-xl e-transition-all e-w-full e-flex e-flex-col",this.dark?"e-bg-gray-800":"e-bg-white"]},headerContainerClasses(){return["e-dialog__header",this.dark?"e-bg-gray-800 e-text-gray-50":"e-bg-white e-text-slate-900","e-px-6 e-pt-6 e-pb-4 "]},bodyContainerClasses(){return["e-dialog__body e-px-6",this.dark?"e-bg-gray-800 e-text-gray-50":"e-bg-white e-text-slate-900"]},footerContainerClasses(){return["e-dialog__footer",this.dark?"e-bg-gray-700":"e-bg-gray-50","e-flex e-py-3 e-flex e-px-4 e-justify-end e-mt-auto e-items-end"]},panelStyles(){const t=typeof this.width=="number"?`${this.width}px`:this.width,e=typeof this.height=="number"?`${this.height}px`:this.height;return{minWidth:t,minHeight:e,width:t,height:e}}},methods:{getButtonClasses(t){const e=this.dark?"e-bg-gray-700 e-text-gray-50 e-border-solid e-border-[1px] e-border-gray-500 hover:e-bg-gray-600":"e-bg-white e-text-gray-900 e-border-solid e-border-[1px] e-border-gray-300 hover:e-bg-gray-50",r={[ae.warning]:"e-bg-warning e-text-white e-border-none",[ae.error]:"e-bg-error e-text-white e-border-none",[ae.info]:"e-bg-info e-text-white e-border-none",[ae.success]:"e-bg-success e-text-white e-border-none",[ae.primary]:"e-bg-primary e-text-white e-border-none",[ae.brand]:"e-bg-brand-500 e-text-white e-border-none",[ae.default]:e,[ae.gray]:"e-bg-gray-600 e-text-white hover:e-bg-gray-light e-border-none"};return["e-inline-flex e-w-full e-justify-center e-rounded-md e-px-3 e-py-2 e-text-sm e-font-semibold e-shadow-sm sm:e-ml-3 sm:e-w-auto e-cursor-pointer hover:e-opacity-90",r[t]||r[ae.default]]},onActionClick(t){t.closeOnClick&&(this.visible=!1),this.$emit("action-clicked",t.id||t.label)},onClickOutside(){this.persistent||(this.visible=!1)}}});var N6=function(){var e=this,r=e._self._c;return r("EFadeTransition",{attrs:{duration:100}},[e.visible?r("div",{staticClass:"e-dialog e-absolute e-z-10",attrs:{"aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"}},[r("div",{staticClass:"e-dialog__backdrop e-fixed e-inset-0 e-bg-gray-500 e-bg-opacity-75 e-transition-opacity",attrs:{"aria-hidden":"true"}}),r("div",{staticClass:"e-dialog__wrapper e-fixed e-inset-0 e-z-10 e-w-screen e-overflow-y-auto"},[r("div",{staticClass:"e-dialog__wrapper e-cursor-default e-flex e-min-h-full e-items-end e-justify-center e-p-4 e-text-center sm:e-items-center sm:e-p-0"},[r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.onClickOutside,expression:"onClickOutside"}],class:e.panelClasses,style:e.panelStyles},[r("div",{class:e.headerContainerClasses},[e._t("header",function(){return[e.title?r("div",{staticClass:"e-text-lg e-font-bold"},[e._v(" "+e._s(e.title)+" ")]):e._e()]},{dark:e.dark})],2),r("div",{class:e.bodyContainerClasses},[e._t("default",null,{dark:e.dark})],2),r("div",{class:e.footerContainerClasses},[e._t("footer",function(){return e._l(e.actions,function(n,s){return r("button",{key:s,class:e.getButtonClasses(n.color),on:{click:function(l){return l.stopPropagation(),e.onActionClick(n)}}},[e._v(" "+e._s(n.label)+" ")])})},{actions:e.actions,dark:e.dark})],2)])])])]):e._e()])},W6=[],j6=Y(H6,N6,W6,!1,null,null,null,null);const G6=j6.exports,q6=j.extend({name:"EFeedbackButton",components:{EDialog:G6,EActionButton:vt},mixins:[Ve,Ge],props:{buttonText:{type:String,default:""},buttonClasses:{type:[String,Object,Array],default:null},description:{type:String,default:"Submit feedback"},iconType:{type:String,default:"far fa-thumbs-up"},withText:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},dialogActions:{type:Array,default:()=>[{label:"Submit",color:"primary"}]},dialogWidth:{type:[Number,String],default:"27rem"}},data(){return{tooltipText:this.description||"Submit feedback",showDialog:!1,feedbackText:""}},computed:{eButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"e-bg-gray-600":this.dark,"e-bg-gray-200":!this.dark,"e-rounded-md e-border-none":!0}},textAreaClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"e-text-gray-600":!this.dark,"e-text-gray-300":this.dark,"e-custom-scrollbar--light":!this.dark,"e-custom-scrollbar--dark":this.dark}},textAreaContainerClasses(){return{"e-border-gray-600":this.dark,"e-border-gray-300":!this.dark}}},watch:{tooltipText(t){t!==this.description&&this.$setTimeout(()=>{this.tooltipText=this.description},1e3)}},mounted(){},methods:{onClick(){this.withText?this.showDialog=!0:this.submitFeedback()},submitFeedback(){this.showDialog=!1,this.$emit("submit",this.feedbackText),this.tooltipText="Thank you!"}}}),d7="";var Z6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("EActionButton",{attrs:{"tooltip-text":e.tooltipText,"tooltip-position":"top",icon:e.iconType,"icon-size":"lg",dark:e.dark,"button-classes":e.eButtonClasses},on:{click:e.onClick}},[e._v(" "+e._s(e.buttonText)+" "),e.withText?r("EDialog",{attrs:{value:e.showDialog,title:"Feedback",dark:e.dark,width:e.dialogWidth,persistent:"",actions:e.dialogActions},on:{"action-clicked":e.submitFeedback}},[r("div",{staticClass:"e-feedback__form"},[r("div",{staticClass:"e-feedback__form-description e-mb-3 e-leading-relaxed"},[e._v(" Thanks for your input! "),r("br"),e._v("Please share your thoughts and experience to help us improve ")]),r("div",{staticClass:"e-rounded-md e-w-full e-overflow-hidden e-border e-border-solid e-py-2 e-mb-6",class:e.textAreaContainerClasses},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.feedbackText,expression:"feedbackText"}],staticClass:"e-feedback__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full",class:e.textAreaClasses,attrs:{autofocus:"",tabindex:"0",rows:"4",placeholder:"Enter your text here..."},domProps:{value:e.feedbackText},on:{input:function(n){n.target.composing||(e.feedbackText=n.target.value)}}})])])]):e._e()],1)},U6=[],Y6=Y(q6,Z6,U6,!1,null,null,null,null);const X6=Y6.exports,Q6=j.extend({name:"EChatMessageActions",components:{EFeedbackButton:X6,ECopyToClipboardBtn:Jr},props:{message:{type:[String,Array],default:""},dark:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1}},data(){return{FeedbackType:Nt,showFeedbackDialog:!1}},computed:{messageText(){return(Array.isArray(this.message)?this.message:[this.message]).join("")}},methods:{handleFeedback(t,e){this.$emit("feedback",{type:t,text:e})},openFeedbackDialog(){this.showFeedbackDialog=!0}}}),h7="";var V6=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-message__actions e-relative e-h-0"},[r("div",{staticClass:"e-message__actions-container e-flex e-gap-1 e-pt-2"},[e.showCopyButton?r("ECopyToClipboardBtn",{attrs:{text:e.messageText,dark:e.dark,"button-size":"base","button-classes":"e-bg-transparent e-border-none",description:"Copy"}}):e._e(),e.showFeedbackButtons?r("EFeedbackButton",{attrs:{dark:e.dark,"with-text":"","button-size":"base","button-classes":"e-bg-transparent e-border-none"},on:{submit:function(n){return e.handleFeedback(e.FeedbackType.positive,n)}},nativeOn:{click:function(n){return e.openFeedbackDialog.apply(null,arguments)}}}):e._e(),e.showFeedbackButtons?r("EFeedbackButton",{attrs:{dark:e.dark,"with-text":"","button-size":"base","button-classes":"e-bg-transparent e-border-none","icon-type":"far fa-thumbs-down"},on:{submit:function(n){return e.handleFeedback(e.FeedbackType.negative,n)}},nativeOn:{click:function(n){return e.openFeedbackDialog.apply(null,arguments)}}}):e._e()],1)])},K6=[],J6=Y(Q6,V6,K6,!1,null,null,null,null);const e4=J6.exports,t4=j.extend({name:"EChatMessage",components:{EFadeTransition:Ot,EAvatar:St,EChatMessageActions:e4,EEvercamLogo:qi,EPulsatingDot:E6,EMarkdown:B6},mixins:[Ge],props:{role:{type:String,default:Ze.USER},initials:{type:String,default:null},message:{type:[String,Array],default:""},isLoading:{type:Boolean,default:!1},avatarSrc:{type:String,default:null},showAvatar:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},withActions:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1},loadingMessage:{type:String,default:""},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1}},data(){return{showActions:!1}},computed:{isBotRole(){return this.role===Ze.COPILOT||this.role===Ze.SYSTEM},isStream(){return Array.isArray(this.message)},userMessageClasses(){return{"e-bg-gray-100 e-text-gray-800":!this.dark,"e-bg-gray-600 e-text-white":this.dark}},logoClasses(){return{"e-bg-white e-p-[2px] e-rounded-full":this.dark}},dotColor(){return this.dark?"#ff2525":"#c5393d"},markdownScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("markdown.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})}},methods:{onMouseOver(){this.showActions=!0},onMouseLeave(t){[null,document.documentElement].includes(t.relatedTarget)||(this.showActions=!1)},onFeedback(t){this.$emit("feedback",t),this.$setTimeout(()=>{this.showActions=!1},1e3)}}}),f7="";var r4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-message",on:{mouseenter:e.onMouseOver,mouseleave:e.onMouseLeave}},[r("div",{staticClass:"e-chat-message__wrapper e-flex e-items-start e-justify-start e-gap-3",class:{"e-chat-message__rtl":!e.isBotRole}},[e.showAvatar?r("div",{staticClass:"e-chat-message__avatar e-mt-3"},[e.isBotRole?e._t("message-avatar",function(){return[r("div",{class:e.logoClasses},[r("EEvercamLogo",{attrs:{size:e.dark?"2xs":"xs"}})],1)]},{role:e.role}):r("EAvatar",{attrs:{image:e.avatarSrc,size:"xs"}},[e._v(e._s(e.initials))])],2):e._e(),r("div",{staticClass:"e-chat-message__content e-flex"},[e.isLoading&&e.isBotRole?e._t("loadingPlaceholder",function(){return[r("div",[e.loadingMessage?r("EMarkdown",{staticClass:"e-chat-message__markdown e-italic",attrs:{chunks:[e.loadingMessage],animated:"",dark:e.dark,copyable:!1}}):e._e(),r("div",{staticClass:"e-inline-block e-mt-5 e-ml-2"},[r("EPulsatingDot",{attrs:{size:8,color:e.dotColor}})],1)],1)]}):e.isBotRole?r("EMarkdown",{staticClass:"e-chat-message__markdown",attrs:{chunks:e.message,animated:e.animated,dark:e.dark,"exposed-regexes":e.exposedRegexes},on:{"animation-end":function(n){return e.$emit("animation-end")},"animation-start":function(n){return e.$emit("animation-start")}},scopedSlots:e._u([e._l(e.markdownScopedSlots,function(n,s){return{key:s,fn:function(l){return[e._t(s,null,null,l)]}}})],null,!0)}):r("p",{staticClass:"e-chat-message__content e-font-medium e-text-wrap e-mb-1 e-mt-[12px] e-rounded-lg e-p-2 e-px-4",class:e.userMessageClasses},[e._v(" "+e._s(e.message)+" ")]),e._t("extraContent")],2)]),r("EFadeTransition",[e.withActions&&e.showActions?r("EChatMessageActions",{staticClass:"e-left-11",attrs:{dark:e.dark,"show-copy-button":e.showCopyButton,"show-feedback-buttons":e.showFeedbackButtons,message:e.message},on:{feedback:e.onFeedback}}):e._e()],1)],1)},n4=[],i4=Y(t4,r4,n4,!1,null,null,null,null);const s4=i4.exports,a4=j.extend({name:"EChatFooter",props:{dark:{type:Boolean,default:!1},inline:{type:Boolean,default:!1}},computed:{backgroundClasses(){return this.inline?{}:{"e-bg-gray-700":this.dark,"e-bg-gray-50":!this.dark}},footerClasses(){return{...this.backgroundClasses}}}});var o4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-footer e-px-3 e-pt-4 e-pb-3",class:e.footerClasses},[e._t("default")],2)},l4=[],c4=Y(a4,o4,l4,!1,null,null,null,null);const u4=c4.exports,d4=j.extend({name:"EChatInput",components:{EIcon:rt},model:{prop:"value",event:"prompt-changed"},props:{dark:{type:Boolean,default:!1},placeholder:{type:String,default:"Message Copilot"},disabled:{type:Boolean,default:!1}},data(){return{content:"",maxHeight:175,textAreaHeight:0,isShiftKeyPressed:!1}},computed:{textAreaContainerClasses(){return{"e-border-gray-600":this.dark&&!this.disabled,"e-border-gray-300":!this.dark&&!this.disabled,"e-border-gray-800":this.dark&&this.disabled,"e-border-gray-500":!this.dark&&this.disabled,"e-cursor-not-allowed":this.disabled}},textAreaClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"e-text-gray-600":!this.dark,"e-text-gray-300":this.dark,"e-custom-scrollbar--light":!this.dark,"e-custom-scrollbar--dark":this.dark}},buttonClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark}},textareaStyle(){return this.textAreaHeight?{height:`${Math.min(this.textAreaHeight,this.maxHeight)}px`,overflowY:this.isOverflowing?"scroll":"hidden"}:{}},isOverflowing(){return!!this.textAreaHeight&&this.textAreaHeight>this.maxHeight}},mounted(){this.focus()},methods:{focus(){this.$refs.chatTextarea.focus()},submitMessage(){this.$emit("submit",this.content),this.content="",this.$nextTick(this.updateTextAreaHeight)},onInput(t){const e=t.target,r=this.content===e.value;this.content=e.value,r||(this.updateTextAreaHeight(),this.$emit("prompt-changed",e.value))},onKeyDown(t){if(!this.disabled){if(!this.isShiftKeyPressed&&t.key==="Enter"){t.preventDefault();return}if(t.key==="Shift"||t.code==="ShiftLeft"){this.isShiftKeyPressed=!0;return}}},onKeyUp(t){if(!this.disabled){if(t.key==="Shift"||t.code==="ShiftLeft"){this.isShiftKeyPressed=!1;return}t.key==="Enter"&&!this.isShiftKeyPressed&&(t.preventDefault(),this.submitMessage())}},updateTextAreaHeight(){const t=this.$refs.chatTextarea;t.style.height="auto",this.textAreaHeight=t.scrollHeight}}}),p7="";var h4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-chat-input e-relative e-flex e-w-auto e-p-2",class:{"e-opacity-50":e.disabled}},[r("div",{staticClass:"e-rounded-lg e-w-full e-overflow-hidden e-border e-border-solid",class:e.textAreaContainerClasses},[r("textarea",e._b({ref:"chatTextarea",staticClass:"e-chat-input__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full",class:e.textAreaClasses,style:e.textareaStyle,attrs:{rows:"1",tabindex:"0",autofocus:"",placeholder:e.placeholder,disabled:e.disabled},on:{keydown:function(n){return n.stopPropagation(),e.onKeyDown.apply(null,arguments)},keyup:e.onKeyUp,input:e.onInput}},"textarea",e.$attrs,!1))]),r("div",{staticClass:"e-absolute e-bottom-3 e-items-center e-flex e-h-min",class:e.isOverflowing?"e-right-6":"e-right-4"},[r("button",{staticClass:"e-chat-input__submit-btn e-inline-flex e-items-center e-justify-center e-cursor-pointer disabled:e-cursor-not-allowed e-h-8 e-w-8 e-border-none focus:e-outline-none",class:e.buttonClasses,attrs:{type:"button",disabled:e.disabled},on:{click:function(n){return n.preventDefault(),e.submitMessage.apply(null,arguments)}}},[r("EIcon",{attrs:{icon:"arrow-up",size:"base"}})],1)])])},f4=[],p4=Y(d4,h4,f4,!1,null,null,null,null);const m4=p4.exports,g4=j.extend({name:"EChatSuggestionCard",components:{EIcon:rt},props:{text:{type:String,required:!0},icon:{type:String,default:null},color:{type:String,default:"e-text-gray-500"},dark:{type:Boolean,default:!1},width:{type:Number,default:200}},computed:{classes(){return{"hover:e-bg-gray-100 e-border-gray-200":!this.dark,"e-bg-gray-800 e-border-gray-600 hover:e-bg-gray-900":this.dark}},styles(){return{width:`${this.width}px`}}}});var v4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",e._g(e._b({staticClass:"e-chat-suggestion e-p-3 e-inline-block e-border-solid e-border-[1.67px] e-rounded-xl e-cursor-pointer",class:e.classes,style:e.styles},"div",e.$attrs,!1),e.$listeners),[r("div",{staticClass:"e-chat-suggestion__icon e-h-6 e-w-6 e-mb-2"},[e.icon?r("EIcon",{attrs:{icon:e.icon,size:"lg",color:e.color}}):e._t("svg-icon")],2),r("p",{staticClass:"e-chat-suggestion__text e-font-medium e-antialiased e-text-wrap",class:{"e-text-gray-200":e.dark,"e-text-gray-600":!e.dark}},[e._v(" "+e._s(e.text)+" ")])])},_4=[],C4=Y(g4,v4,_4,!1,null,null,null,null);const y4=C4.exports,b4=j.extend({components:{EFadeTransition:Ot,EChatWrapper:c6,EChatHeader:_6,EChatBody:w6,EChatMessage:s4,EChatFooter:u4,EChatInput:m4,EChatSuggestionCard:y4},props:{dark:{type:Boolean,default:!1},messages:{type:Array,default:()=>[]},user:{type:String,default:"You"},embedded:{type:Boolean,default:!1},showHeader:{type:Boolean,default:!0},inlineFooter:{type:Boolean,default:!1},height:{type:String,default:void 0},width:{type:String,default:void 0},showUserAvatar:{type:Boolean,default:!0},showCopilotAvatar:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},headerText:{type:String,default:"Evercam Copilot"},inputPlaceholder:{type:String,default:"Message Copilot"},loadingMessage:{type:String,default:""},suggestions:{type:Array,default:()=>[]},exposedRegexes:{type:Array,default:()=>[]}},data(){return{prompt:"",containerHeight:0,headerHeight:0,bodyHeight:0,footerHeight:0}},computed:{ChatMessageRole(){return Ze},userInitials(){var t,e,r;return((r=(e=(t=this.user.trim())==null?void 0:t.split(/\s+/))==null?void 0:e.map(n=>{var s;return((s=n==null?void 0:n.charAt(0))==null?void 0:s.toUpperCase())||""}))==null?void 0:r.join(""))||this.user[0]||""},chatBodyStyle(){return this.bodyHeight?{maxHeight:`${this.bodyHeight}px`,height:`${this.bodyHeight}px`}:{}},wrapperStyle(){return{height:this.height||"100%",width:this.width||"100%"}},bodyBorderClasses(){let t={};this.showHeader&&(t={"e-border-t-[1px] e-border-t-solid":!0,"e-border-t-gray-300":!this.dark,"e-border-t-gray-600":this.dark});let e={};return this.inlineFooter||(e={"e-border-b-[1px] e-border-b-solid":!0,"e-border-b-gray-300":!this.dark,"e-border-b-gray-600":this.dark}),{...t,...e}},markdownScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("markdown.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})},showSuggestions(){return this.messages.length===0&&this.suggestions.length>0}},watch:{height(){this.updateChatBodyHeight()},showHeader(){this.updateChatBodyHeight()}},mounted(){this.updateChatBodyHeight()},methods:{sendMessage(){!this.isDisabled&&this.prompt.length>0&&(this.$emit("user-message",this.prompt),this.prompt="")},isUserMessage(t){return t.role===Ze.USER},hasActions(t){return this.isLoading||this.isDisabled?!1:t.role===Ze.COPILOT},getMessageContent(t){return t.content},getMessageInitials(t){return this.isUserMessage(t)?this.userInitials:null},getMessageClasses(t,e){return{"e-mb-11":e===this.messages.length-1&&this.hasActions(t)}},updateChatBodyHeight(){this.$nextTick(()=>{var n,s,l;const t=(n=this.$refs.chatContainer)==null?void 0:n.$el,e=(s=this.$refs.chatHeader)==null?void 0:s.$el,r=(l=this.$refs.chatFooter)==null?void 0:l.$el;!t||!e||!r||(this.headerHeight=e.clientHeight,this.footerHeight=r.clientHeight,this.containerHeight=t.clientHeight,this.height?this.bodyHeight=parseInt(this.height)-this.headerHeight-this.footerHeight:this.bodyHeight=Math.max(500,this.containerHeight-this.headerHeight-this.footerHeight))})},isAvatarVisible(t){return t.role===Ze.USER?this.showUserAvatar:t.role===Ze.COPILOT?this.showCopilotAvatar:!0},onMessageFeedback(t,e){this.$emit("message-feedback",{...t,messageId:e})}}}),m7="";var x4=function(){var e=this,r=e._self._c;return r("EChatWrapper",{ref:"chatContainer",staticClass:"e-chat-wrapper",style:e.wrapperStyle,attrs:{dark:e.dark,embedded:e.embedded}},[r("div",{staticClass:"e-w-full e-h-full e-chat-container"},[r("EChatHeader",{ref:"chatHeader",attrs:{hidden:!e.showHeader,dark:e.dark,title:e.headerText},scopedSlots:e._u([{key:"chip",fn:function(){return[e._t("chip")]},proxy:!0}],null,!0)}),r("EChatBody",{ref:"chatBody",class:e.bodyBorderClasses,style:e.chatBodyStyle,attrs:{dark:e.dark}},[r("EFadeTransition",[e.showSuggestions?r("div",{staticClass:"e-w-full e-flex e-flex-col e-items-center e-justify-center e-mt-8"},[r("div",{staticClass:"e-inline-flex e-flex-wrap e-justify-center e-gap-4"},e._l(e.suggestions,function(n){var s;return r("EChatSuggestionCard",{key:n.text,attrs:{text:n.text,icon:n.icon,color:n.color,dark:e.dark,width:(s=n.width)!=null?s:150},on:{click:function(l){return e.$emit("suggestion-clicked",n)}}})}),1)]):e._e()]),e.showSuggestions?e._e():r("div",e._l(e.messages,function(n,s){return r("EChatMessage",{key:`${n.id}-${s}`,class:e.getMessageClasses(n,s),attrs:{dark:e.dark,role:n.role,"is-loading":n.isLoading,"data-message-id":n.id,"show-feedback-buttons":!e.readonly,"exposed-regexes":e.exposedRegexes,"show-copy-button":"",message:e.getMessageContent(n),initials:e.getMessageInitials(n),"show-avatar":e.isAvatarVisible(n),"with-actions":e.hasActions(n)&&s>0},on:{feedback:function(l){return e.onMessageFeedback(l,n.id)},"animation-end":function(l){return e.$emit("animation-end",l)}},scopedSlots:e._u([e._l(e.markdownScopedSlots,function(l,i){return{key:i,fn:function(h){return[e._t(i,null,null,h)]}}}),{key:"extraContent",fn:function(){return[e._t("message.extraContent",null,{message:n})]},proxy:!0}],null,!0)})}),1),e.isLoading?r("EChatMessage",{attrs:{"is-loading":"","loading-message":e.loadingMessage,"data-message-id":-1,"show-avatar":e.showCopilotAvatar,role:e.ChatMessageRole.COPILOT,dark:e.dark}}):e._e()],1),r("EChatFooter",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],ref:"chatFooter",attrs:{dark:e.dark,inline:e.inlineFooter}},[r("EChatInput",{attrs:{dark:e.dark,disabled:e.isDisabled,placeholder:e.inputPlaceholder},on:{"prompt-changed":function(n){return e.$emit("prompt-changed",n)},submit:e.sendMessage},model:{value:e.prompt,callback:function(n){e.prompt=n},expression:"prompt"}})],1)],1)])},w4=[],S4=Y(b4,x4,w4,!1,null,"75d412b3",null,null);const T4=S4.exports,en={EAvatar:St,EBadge:Wt,EIcon:rt,ESpinner:Pr,ERow:ui,ECol:di,EVideoPlayer:Ci,ETimeline:Ti,EVideoEmbed:ki,EHeatmapBar:Yr,EHoursHeatmap:Mi,EReadMore:Ei,ETruncatedDiv:$i,ECompareSeparator:Xr,EImagesComparator:Di,EToggleSwitch:Ri,EExpandableMenu:Pi,EZoomable:Ir,EGlobalSearch:Wi,ESvgIcon:Ii,ECalendarHeatmap:Fi,EFlagIcon:Ai,EImagePlayer:ji,EZoomableImg:Kr,EZoomSlider:Vr,EActionButton:vt,ETooltip:Qr,ELayout:Gi,EChat:T4,EContextProvider:i6,ECopyToClipboardBtn:Jr},k4={install(t){Object.keys(en).forEach(e=>{t.component(e,en[e])}),Object.keys(Ni).forEach(e=>{t.mixin(e,Ni[e])}),yi.forEach(({name:e,definition:r})=>{t.directive(e,r)})}};Z.AvatarSizes=s1,Z.BadgeColors=o1,Z.BadgeSizes=i1,Z.BaseColor=ae,Z.ChatMessageRole=Ze,Z.ChatMessageType=pn,Z.ClickOutsideDirective=Rr,Z.Colors=li,Z.DirectivesMap=yi,Z.EActionButton=vt,Z.EAvatar=St,Z.EBadge=Wt,Z.ECalendarHeatmap=Fi,Z.ECol=di,Z.ECompareSeparator=Xr,Z.ECopyToClipboardBtn=Jr,Z.EExpandableMenu=Pi,Z.EFlagIcon=Ai,Z.EGlobalSearch=Wi,Z.EHeatmapBar=Yr,Z.EHoursHeatmap=Mi,Z.EIcon=rt,Z.EImagePlayer=ji,Z.EImagesComparator=Di,Z.ELayout=Gi,Z.EReadMore=Ei,Z.ERow=ui,Z.ESpinner=Pr,Z.ESvgIcon=Ii,Z.ETimeline=Ti,Z.EToggleSwitch=Ri,Z.ETooltip=Qr,Z.ETruncatedDiv=$i,Z.EVENTS=u1,Z.EVideoEmbed=ki,Z.EVideoPlayer=Ci,Z.EZoomSlider=Vr,Z.EZoomable=Ir,Z.EZoomableImg=Kr,Z.FeedbackType=Nt,Z.IconSizes=ci,Z.ImageQuality=fn,Z.Position=Oe,Z.ResizeObserverDirective=Qe,Z.Size=J,Z.TextSizes=oi,Z.TimelineAxis=et,Z.TimelineChartType=je,Z.TimelineIntervalChangeTrigger=wt,Z.ToggleSwitchSizes=a1,Z.TooltipColors=l1,Z.TooltipPositions=c1,Z.components=en,Z.debounce=hi,Z.default=k4,Z.eventListeners=Ve,Z.exitFullScreen=Br,Z.fullConfig=Dr,Z.generateUniqueId=gi,Z.getImageData=E1,Z.getRandomChars=M1,Z.hashCode=vi,Z.hexToRgba=fi,Z.inactivityListener=Hi,Z.isFullScreen=Or,Z.isRgba=mi,Z.isValidDate=$1,Z.makeFullScreen=zr,Z.rgbToRgba=pi,Z.timeouts=Ge,Z.toRgba=dt,Object.defineProperties(Z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
204
204
  //# sourceMappingURL=index.umd.js.map