@evercam/ui 1.0.0-preview-missing-types-cf2d2fa52 → 1.0.0-preview-test-ids-b5f7f0bc5
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/attributes.json +20 -0
- package/dist/components/ECheckbox.vue.d.ts +1 -0
- package/dist/components/ECopyToClipboardBtn.vue.d.ts +1 -0
- package/dist/components/EDialog.vue.d.ts +1 -0
- package/dist/components/EPopover.vue.d.ts +1 -0
- package/dist/components/ETabs.vue.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +41 -11
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tags.json +8 -4
- package/dist/web-types.json +37 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(N,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("vue"),require("hls.js"),require("d3"),require("moment-timezone"),require("remark-gfm"),require("remark-parse"),require("remark-rehype"),require("remark-breaks"),require("rehype-stringify"),require("unist-util-visit"),require("unified"),require("morphdom")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","d3","moment-timezone","remark-gfm","remark-parse","remark-rehype","remark-breaks","rehype-stringify","unist-util-visit","unified","morphdom"],O):(N=typeof globalThis!="undefined"?globalThis:N||self,O(N.EvercamUI={},N.Vue,N.Hls,N.d3,N.moment,N.remarkGfm,N.remarkParse,N.remarkRehype,N.remarkBreaks,N.rehypeStringify,N.unistUtilVisit,N.unified,N.morphdom))})(this,function(N,O,ot,Us,Se,Zs,Xs,Ys,Dn,Vs,Qs,Ks,Js){var Ss,Ts,ks,$s,Ms,Es,Ls,Ds;"use strict";function ea(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 Qt(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const M=ea(Us);var yt=(t=>(t.Continuous="continuous",t.WorkingHours="workingHours",t.Empty="empty",t.Custom="custom",t))(yt||{}),Pn=(t=>(t.Monday="monday",t.Tuesday="tuesday",t.Wednesday="wednesday",t.Thursday="thursday",t.Friday="friday",t.Saturday="saturday",t.Sunday="sunday",t))(Pn||{}),G=(t=>(t.Dot="dot",t.TwoXs="2xs",t.Xs="xs",t.Sm="sm",t.Md="base",t.Base="base",t.Lg="lg",t.Xl="xl",t.TwoXl="2xl",t.ThreeXl="3xl",t.FourXl="4xl",t.FiveXl="5xl",t.SixXl="6xl",t.SevenXl="7xl",t.EightXl="8xl",t.NineXl="9xl",t))(G||{}),se=(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))(se||{}),nt=(t=>(t.Overview="overview",t.Detailed="detailed",t.DetailedBackground="detailedBackground",t))(nt||{}),qe=(t=>(t.Bars="bars",t.Dots="dots",t.LineGraph="lineGraph",t.BarChart="barGraph",t.Milestones="milestones",t))(qe||{}),_t=(t=>(t.Zoom="zoom",t.AutoPan="autoPan",t.Initial="initial",t))(_t||{}),zn=(t=>(t.ThreeSixty="360",t.FourEighty="480",t.SevenTwenty="720",t.OneZeroEightZero="1080",t.Auto="auto",t))(zn||{}),ze=(t=>(t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left",t))(ze||{}),Ve=(t=>(t.System="system",t.Copilot="copilot",t.User="user",t))(Ve||{}),Kt=(t=>(t.Text="text",t.Error="error",t.Json="json",t))(Kt||{}),Jt=(t=>(t.Positive="positive",t.Negative="negative",t))(Jt||{}),it=(t=>(t.Window="window",t.Curtain="curtain",t.Transparency="transparency",t))(it||{}),Re=(t=>(t.Turbo="turbo",t.Inferno="inferno",t.Magma="magma",t.Plasma="plasma",t.Viridis="viridis",t.Cividis="cividis",t.Warm="warm",t.Cool="cool",t.CubeHelix="cubehelix",t))(Re||{});const ta=O.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:se.Default},size:{type:String,default:G.Base}},data(){return{colors:{[se.Error]:"e-bg-rose-500 e-text-white",[se.Info]:"e-bg-cyan-500 e-text-white",[se.Warning]:"e-bg-amber-500 e-text-white",[se.Primary]:"e-bg-sky-500 e-text-white",[se.Default]:"e-bg-slate-300 e-text-white",[se.Success]:"e-bg-lime-500 e-text-white"},sizes:{[G.Dot]:"e-w-2 e-h-2",[G.Xs]:"e-w-3 e-h-3",[G.Sm]:"e-w-4 e-h-4",[G.Md]:"e-w-5 e-h-5",[G.Lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[G.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[se.Default],e=this.sizes[this.size]||this.sizes[G.Md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[G.Lg,G.Xl].includes(this.size)}}});function R(t,e,r,n,i,s,a,c){var o=typeof t=="function"?t.options:t;e&&(o.render=e,o.staticRenderFns=r,o._compiled=!0),n&&(o.functional=!0),s&&(o._scopeId="data-v-"+s);var l;if(a?(l=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(m=__VUE_SSR_CONTEXT__),i&&i.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(a)},o._ssrRegister=l):i&&(l=c?function(){i.call(this,(o.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(o.functional){o._injectStyles=l;var d=o.render;o.render=function(C,b){return l.call(b),d(C,b)}}else{var h=o.beforeCreate;o.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:o}}var ra=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()])},na=[],ia=R(ta,ra,na,!1,null,null,null,null);const er=ia.exports,sa=O.extend({name:"EAvatar",components:{Badge:er},props:{size:{type:String,default:G.Md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:se.Error},badgeText:{type:String,default:""},badgeSize:{type:String,default:G.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:{[G.TwoXs]:"e-w-6 e-h-6 e-text-xs",[G.Xs]:"e-w-8 e-h-8 e-text-xs",[G.Sm]:"e-w-10 e-h-10 e-text-sm",[G.Md]:"e-w-14 e-h-14 e-text-base",[G.Lg]:"e-w-20 e-h-20 e-text-2xl",[G.Xl]:"e-w-28 e-h-28 e-text-3xl",[G.TwoXl]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){const t=this.sizes[this.size]||this.sizes[G.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 aa=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)},oa=[],la=R(sa,aa,oa,!1,null,null,null,null);const Lt=la.exports;var lt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ct(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var On={},Bn={},tr={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))return r.replace(/^[+-]?/,i=>i==="-"?"":"-");let n=["var","calc","min","max","clamp"];for(const i of n)if(r.includes(`${i}(`))return`calc(${r} * -1)`}})(tr);var In={};(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"]})(In);var Fn={};(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(s=>r!==!1&&r[s]!==!1).concat(Object.keys(r).filter(s=>r[s]!==!1)))]}})(Fn);var rr={},Dt={},nr={exports:{}},Ce=String,Rn=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce}};nr.exports=Rn(),nr.exports.createColors=Rn;var An=nr.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,l){for(var d in l)Object.defineProperty(o,d,{enumerable:!0,get:l[d]})}e(t,{dim:function(){return a},default:function(){return c}});const r=n(An);function n(o){return o&&o.__esModule?o:{default:o}}let i=new Set;function s(o,l,d){typeof process!="undefined"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),l.forEach(h=>console.warn(o,"-",h)))}function a(o){return r.default.dim(o)}const c={info(o,l){s(r.default.bold(r.default.cyan("info")),...Array.isArray(o)?[o]:[l,o])},warn(o,l){s(r.default.bold(r.default.yellow("warn")),...Array.isArray(o)?[o]:[l,o])},risk(o,l){s(r.default.bold(r.default.magenta("risk")),...Array.isArray(o)?[o]:[l,o])}}})(Dt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(Dt);function r(s){return s&&s.__esModule?s:{default:s}}function n({version:s,from:a,to:c}){e.default.warn(`${a}-color-renamed`,[`As of Tailwind CSS ${s}, \`${a}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(rr);var Hn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return e}});function e(r,...n){for(let a of n){for(let c in a){var i;!(r==null||(i=r.hasOwnProperty)===null||i===void 0)&&i.call(r,c)||(r[c]=a[c])}for(let c of Object.getOwnPropertySymbols(a)){var s;!(r==null||(s=r.hasOwnProperty)===null||s===void 0)&&s.call(r,c)||(r[c]=a[c])}}return r}})(Hn);var Nn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return e}});function e(r){if(Array.isArray(r))return r;let n=r.split("[").length-1,i=r.split("]").length-1;if(n!==i)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(Nn);var jn={},Pt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(h,m){for(var C in m)Object.defineProperty(h,C,{enumerable:!0,get:m[C]})}e(t,{flagEnabled:function(){return c},issueFlagNotices:function(){return l},default:function(){return d}});const r=i(An),n=i(Dt);function i(h){return h&&h.__esModule?h:{default:h}}let s={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},a={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function c(h,m){if(a.future.includes(m)){var C,b,p;return h.future==="all"||((p=(b=h==null||(C=h.future)===null||C===void 0?void 0:C[m])!==null&&b!==void 0?b:s[m])!==null&&p!==void 0?p:!1)}if(a.experimental.includes(m)){var v,E,T;return h.experimental==="all"||((T=(E=h==null||(v=h.experimental)===null||v===void 0?void 0:v[m])!==null&&E!==void 0?E:s[m])!==null&&T!==void 0?T:!1)}return!1}function o(h){if(h.experimental==="all")return a.experimental;var m;return Object.keys((m=h==null?void 0:h.experimental)!==null&&m!==void 0?m:{}).filter(C=>a.experimental.includes(C)&&h.experimental[C])}function l(h){if(process.env.JEST_WORKER_ID===void 0&&o(h).length>0){let m=o(h).map(C=>r.default.yellow(C)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${m}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=a})(Pt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return s}});const e=Pt,r=i(Dt);function n(a){if(typeof WeakMap!="function")return null;var c=new WeakMap,o=new WeakMap;return(n=function(l){return l?o:c})(a)}function i(a,c){if(!c&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var o=n(c);if(o&&o.has(a))return o.get(a);var l={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in a)if(h!=="default"&&Object.prototype.hasOwnProperty.call(a,h)){var m=d?Object.getOwnPropertyDescriptor(a,h):null;m&&(m.get||m.set)?Object.defineProperty(l,h,m):l[h]=a[h]}return l.default=a,o&&o.set(a,l),l}function s(a){if((()=>{if(a.purge||!a.content||!Array.isArray(a.content)&&!(typeof a.content=="object"&&a.content!==null))return!1;if(Array.isArray(a.content))return a.content.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string"));if(typeof a.content=="object"&&a.content!==null){if(Object.keys(a.content).some(l=>!["files","relative","extract","transform"].includes(l)))return!1;if(Array.isArray(a.content.files)){if(!a.content.files.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string")))return!1;if(typeof a.content.extract=="object"){for(let l of Object.values(a.content.extract))if(typeof l!="function")return!1}else if(!(a.content.extract===void 0||typeof a.content.extract=="function"))return!1;if(typeof a.content.transform=="object"){for(let l of Object.values(a.content.transform))if(typeof l!="function")return!1}else if(!(a.content.transform===void 0||typeof a.content.transform=="function"))return!1;if(typeof a.content.relative!="boolean"&&typeof a.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"]),a.safelist=(()=>{var l;let{content:d,purge:h,safelist:m}=a;return Array.isArray(m)?m:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(h==null?void 0:h.safelist)?h.safelist:Array.isArray(h==null||(l=h.options)===null||l===void 0?void 0:l.safelist)?h.options.safelist:[]})(),a.blocklist=(()=>{let{blocklist:l}=a;if(Array.isArray(l)){if(l.every(d=>typeof d=="string"))return l;r.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof a.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"]),a.prefix="";else{var o;a.prefix=(o=a.prefix)!==null&&o!==void 0?o:""}a.content={relative:(()=>{let{content:l}=a;return l!=null&&l.relative?l.relative:(0,e.flagEnabled)(a,"relativeContentPathsByDefault")})(),files:(()=>{let{content:l,purge:d}=a;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(l)?l:Array.isArray(l==null?void 0:l.content)?l.content:Array.isArray(l==null?void 0:l.files)?l.files:[]})(),extract:(()=>{let l=(()=>{var m,C,b,p,v,E,T,S,H,L;return!((m=a.purge)===null||m===void 0)&&m.extract?a.purge.extract:!((C=a.content)===null||C===void 0)&&C.extract?a.content.extract:!((b=a.purge)===null||b===void 0||(p=b.extract)===null||p===void 0)&&p.DEFAULT?a.purge.extract.DEFAULT:!((v=a.content)===null||v===void 0||(E=v.extract)===null||E===void 0)&&E.DEFAULT?a.content.extract.DEFAULT:!((T=a.purge)===null||T===void 0||(S=T.options)===null||S===void 0)&&S.extractors?a.purge.options.extractors:!((H=a.content)===null||H===void 0||(L=H.options)===null||L===void 0)&&L.extractors?a.content.options.extractors:{}})(),d={},h=(()=>{var m,C,b,p;if(!((m=a.purge)===null||m===void 0||(C=m.options)===null||C===void 0)&&C.defaultExtractor)return a.purge.options.defaultExtractor;if(!((b=a.content)===null||b===void 0||(p=b.options)===null||p===void 0)&&p.defaultExtractor)return a.content.options.defaultExtractor})();if(h!==void 0&&(d.DEFAULT=h),typeof l=="function")d.DEFAULT=l;else if(Array.isArray(l))for(let{extensions:m,extractor:C}of l!=null?l:[])for(let b of m)d[b]=C;else typeof l=="object"&&l!==null&&Object.assign(d,l);return d})(),transform:(()=>{let l=(()=>{var h,m,C,b,p,v;return!((h=a.purge)===null||h===void 0)&&h.transform?a.purge.transform:!((m=a.content)===null||m===void 0)&&m.transform?a.content.transform:!((C=a.purge)===null||C===void 0||(b=C.transform)===null||b===void 0)&&b.DEFAULT?a.purge.transform.DEFAULT:!((p=a.content)===null||p===void 0||(v=p.transform)===null||v===void 0)&&v.DEFAULT?a.content.transform.DEFAULT:{}})(),d={};return typeof l=="function"?d.DEFAULT=l:typeof l=="object"&&l!==null&&Object.assign(d,l),d})()};for(let l of a.content.files)if(typeof l=="string"&&/{([^,]*?)}/g.test(l)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(l)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(l.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return a}}(jn);var qn={};(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}})(qn);var Wn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return e}});function e(r){return Array.isArray(r)?r.map(n=>e(n)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([n,i])=>[n,e(i)])):r}})(Wn);var Gn={},Un={};(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 ")}})(Un);var ir={},sr={},Zn={};(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]}})(Zn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(b,p){for(var v in p)Object.defineProperty(b,v,{enumerable:!0,get:p[v]})}e(t,{parseColor:function(){return m},formatColor:function(){return C}});const r=n(Zn);function n(b){return b&&b.__esModule?b:{default:b}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,s=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,a=/(?:\d+|\d*\.\d+)%?/,c=/(?:\s*,\s*|\s+)/,o=/\s*[,/]\s*/,l=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=new RegExp(`^(rgba?)\\(\\s*(${a.source}|${l.source})(?:${c.source}(${a.source}|${l.source}))?(?:${c.source}(${a.source}|${l.source}))?(?:${o.source}(${a.source}|${l.source}))?\\s*\\)$`),h=new RegExp(`^(hsla?)\\(\\s*((?:${a.source})(?:deg|rad|grad|turn)?|${l.source})(?:${c.source}(${a.source}|${l.source}))?(?:${c.source}(${a.source}|${l.source}))?(?:${o.source}(${a.source}|${l.source}))?\\s*\\)$`);function m(b,{loose:p=!1}={}){var v,E;if(typeof b!="string")return null;if(b=b.trim(),b==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(b in r.default)return{mode:"rgb",color:r.default[b].map(q=>q.toString())};let T=b.replace(s,(q,K,Z,x,B)=>["#",K,K,Z,Z,x,x,B?B+B:""].join("")).match(i);if(T!==null)return{mode:"rgb",color:[parseInt(T[1],16),parseInt(T[2],16),parseInt(T[3],16)].map(q=>q.toString()),alpha:T[4]?(parseInt(T[4],16)/255).toString():void 0};var S;let H=(S=b.match(d))!==null&&S!==void 0?S:b.match(h);if(H===null)return null;let L=[H[2],H[3],H[4]].filter(Boolean).map(q=>q.toString());return L.length===2&&L[0].startsWith("var(")?{mode:H[1],color:[L[0]],alpha:L[1]}:!p&&L.length!==3||L.length<3&&!L.some(q=>/^var\(.*?\)$/.test(q))?null:{mode:H[1],color:L,alpha:(v=H[5])===null||v===void 0||(E=v.toString)===null||E===void 0?void 0:E.call(v)}}function C({mode:b,color:p,alpha:v}){let E=v!==void 0;return b==="rgba"||b==="hsla"?`${b}(${p.join(", ")}${E?`, ${v}`:""})`:`${b}(${p.join(" ")}${E?` / ${v}`:""})`}}(sr),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(s,a){for(var c in a)Object.defineProperty(s,c,{enumerable:!0,get:a[c]})}e(t,{withAlphaValue:function(){return n},default:function(){return i}});const r=sr;function n(s,a,c){if(typeof s=="function")return s({opacityValue:a});let o=(0,r.parseColor)(s,{loose:!0});return o===null?c:(0,r.formatColor)({...o,alpha:a})}function i({color:s,property:a,variable:c}){let o=[].concat(a);if(typeof s=="function")return{[c]:"1",...Object.fromEntries(o.map(d=>[d,s({opacityVariable:c,opacityValue:`var(${c})`})]))};const l=(0,r.parseColor)(s);return l===null?Object.fromEntries(o.map(d=>[d,s])):l.alpha!==void 0?Object.fromEntries(o.map(d=>[d,s])):{[c]:"1",...Object.fromEntries(o.map(d=>[d,(0,r.formatColor)({...l,alpha:`var(${c})`})]))}}}(ir);var ar={},Xn={},zt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let i=[],s=[],a=0,c=!1;for(let o=0;o<r.length;o++){let l=r[o];i.length===0&&l===n[0]&&!c&&(n.length===1||r.slice(o,o+n.length)===n)&&(s.push(r.slice(a,o)),a=o+n.length),c=c?!1:l==="\\",l==="("||l==="["||l==="{"?i.push(l):(l===")"&&i[i.length-1]==="("||l==="]"&&i[i.length-1]==="["||l==="}"&&i[i.length-1]==="{")&&i.pop()}return s.push(r.slice(a)),s}})(zt),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,l){for(var d in l)Object.defineProperty(o,d,{enumerable:!0,get:l[d]})}e(t,{parseBoxShadowValue:function(){return a},formatBoxShadowValue:function(){return c}});const r=zt;let n=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,s=/^-?(\d+|\.\d+)(.*?)$/g;function a(o){return(0,r.splitAtTopLevelOnly)(o,",").map(d=>{let h=d.trim(),m={raw:h},C=h.split(i),b=new Set;for(let p of C)s.lastIndex=0,!b.has("KEYWORD")&&n.has(p)?(m.keyword=p,b.add("KEYWORD")):s.test(p)?b.has("X")?b.has("Y")?b.has("BLUR")?b.has("SPREAD")||(m.spread=p,b.add("SPREAD")):(m.blur=p,b.add("BLUR")):(m.y=p,b.add("Y")):(m.x=p,b.add("X")):m.color?(m.unknown||(m.unknown=[]),m.unknown.push(p)):m.color=p;return m.valid=m.x!==void 0&&m.y!==void 0,m})}function c(o){return o.map(l=>l.valid?[l.keyword,l.x,l.y,l.blur,l.spread,l.color].filter(Boolean).join(" "):l.raw).join(", ")}}(Xn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(z,j){for(var ne in j)Object.defineProperty(z,ne,{enumerable:!0,get:j[ne]})}e(t,{normalize:function(){return o},normalizeAttributeSelectors:function(){return l},url:function(){return h},number:function(){return m},percentage:function(){return C},length:function(){return v},lineWidth:function(){return T},shadow:function(){return S},color:function(){return H},image:function(){return L},gradient:function(){return K},position:function(){return x},familyName:function(){return B},genericName:function(){return P},absoluteSize:function(){return V},relativeSize:function(){return k}});const r=sr,n=Xn,i=zt;let s=["min","max","clamp","calc"];function a(z){return s.some(j=>new RegExp(`^${j}\\(.*\\)`).test(z))}const c=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 o(z,j=null,ne=!0){let _=j&&c.has(j.property);return z.startsWith("--")&&!_?`var(${z})`:z.includes("url(")?z.split(/(url\(.*?\))/g).filter(Boolean).map(X=>/^url\(.*?\)$/.test(X)?X:o(X,j,!1)).join(""):(z=z.replace(/([^\\])_+/g,(X,A)=>A+" ".repeat(X.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),ne&&(z=z.trim()),z=d(z),z)}function l(z){return z.includes("=")&&(z=z.replace(/(=.*)/g,(j,ne)=>{if(ne[1]==="'"||ne[1]==='"')return ne;if(ne.length>2){let _=ne[ne.length-1];if(ne[ne.length-2]===" "&&(_==="i"||_==="I"||_==="s"||_==="S"))return`="${ne.slice(1,-2)}" ${ne[ne.length-1]}`}return`="${ne.slice(1)}"`})),z}function d(z){let j=["theme"],ne=["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 z.replace(/(calc|min|max|clamp)\(.+\)/g,_=>{let X="";function A(){let I=X.trimEnd();return I[I.length-1]}for(let I=0;I<_.length;I++){let w=function(D){return D.split("").every((re,ue)=>_[I+ue]===re)},W=function(D){let re=1/0;for(let le of D){let ie=_.indexOf(le,I);ie!==-1&&ie<re&&(re=ie)}let ue=_.slice(I,re);return I+=ue.length-1,ue},Q=_[I];if(w("var"))X+=W([")",","]);else if(ne.some(D=>w(D))){let D=ne.find(re=>w(re));X+=D,I+=D.length-1}else j.some(D=>w(D))?X+=W([")"]):w("[")?X+=W(["]"]):["+","-","*","/"].includes(Q)&&!["(","+","-","*","/",","].includes(A())?X+=` ${Q} `:X+=Q}return X.replace(/\s+/g," ")})}function h(z){return z.startsWith("url(")}function m(z){return!isNaN(Number(z))||a(z)}function C(z){return z.endsWith("%")&&m(z.slice(0,-1))||a(z)}let p=`(?:${["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 v(z){return z==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${p}$`).test(z)||a(z)}let E=new Set(["thin","medium","thick"]);function T(z){return E.has(z)}function S(z){let j=(0,n.parseBoxShadowValue)(o(z));for(let ne of j)if(!ne.valid)return!1;return!0}function H(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,"_").every(_=>(_=o(_),_.startsWith("var(")?!0:(0,r.parseColor)(_,{loose:!0})!==null?(j++,!0):!1))?j>0:!1}function L(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,",").every(_=>(_=o(_),_.startsWith("var(")?!0:h(_)||K(_)||["element(","image(","cross-fade(","image-set("].some(X=>_.startsWith(X))?(j++,!0):!1))?j>0:!1}let q=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(z){z=o(z);for(let j of q)if(z.startsWith(`${j}(`))return!0;return!1}let Z=new Set(["center","top","right","bottom","left"]);function x(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,"_").every(_=>(_=o(_),_.startsWith("var(")?!0:Z.has(_)||v(_)||C(_)?(j++,!0):!1))?j>0:!1}function B(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,",").every(_=>(_=o(_),_.startsWith("var(")?!0:_.includes(" ")&&!/(['"])([^"']+)\1/g.test(_)||/^\d/g.test(_)?!1:(j++,!0)))?j>0:!1}let U=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function P(z){return U.has(z)}let Y=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function V(z){return Y.has(z)}let F=new Set(["larger","smaller"]);function k(z){return F.has(z)}}(ar);var Yn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=ar,r=zt;function n(i){let s=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(a=>{let c=(0,r.splitAtTopLevelOnly)(a,"_").filter(Boolean);return c.length===1&&s.includes(c[0])?!0:c.length!==1&&c.length!==2?!1:c.every(o=>(0,e.length)(o)||(0,e.percentage)(o)||o==="auto")})}})(Yn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(x,B){for(var U in B)Object.defineProperty(x,U,{enumerable:!0,get:B[U]})}e(t,{updateAllClasses:function(){return l},asValue:function(){return m},parseColorFormat:function(){return p},asColor:function(){return E},asLookupValue:function(){return T},typeMap:function(){return H},coerceValue:function(){return K},getMatchingTypes:function(){return Z}});const r=o(Un),n=ir,i=ar,s=o(tr),a=Yn,c=Pt;function o(x){return x&&x.__esModule?x:{default:x}}function l(x,B){x.walkClasses(U=>{U.value=B(U.value),U.raws&&U.raws.value&&(U.raws.value=(0,r.default)(U.raws.value))})}function d(x,B){if(!C(x))return;let U=x.slice(1,-1);if(B(U))return(0,i.normalize)(U)}function h(x,B={},U){let P=B[x];if(P!==void 0)return(0,s.default)(P);if(C(x)){let Y=d(x,U);return Y===void 0?void 0:(0,s.default)(Y)}}function m(x,B={},{validate:U=()=>!0}={}){var P;let Y=(P=B.values)===null||P===void 0?void 0:P[x];return Y!==void 0?Y:B.supportsNegativeValues&&x.startsWith("-")?h(x.slice(1),B.values,U):d(x,U)}function C(x){return x.startsWith("[")&&x.endsWith("]")}function b(x){let B=x.lastIndexOf("/"),U=x.lastIndexOf("[",B),P=x.indexOf("]",B);return x[B-1]==="]"||x[B+1]==="["||U!==-1&&P!==-1&&U<B&&B<P&&(B=x.lastIndexOf("/",U)),B===-1||B===x.length-1?[x,void 0]:C(x)&&!x.includes("]/[")?[x,void 0]:[x.slice(0,B),x.slice(B+1)]}function p(x){if(typeof x=="string"&&x.includes("<alpha-value>")){let B=x;return({opacityValue:U=1})=>B.replace(/<alpha-value>/g,U)}return x}function v(x){return(0,i.normalize)(x.slice(1,-1))}function E(x,B={},{tailwindConfig:U={}}={}){var P;if(((P=B.values)===null||P===void 0?void 0:P[x])!==void 0){var Y;return p((Y=B.values)===null||Y===void 0?void 0:Y[x])}let[V,F]=b(x);if(F!==void 0){var k,z,j,ne;let _=(ne=(k=B.values)===null||k===void 0?void 0:k[V])!==null&&ne!==void 0?ne:C(V)?V.slice(1,-1):void 0;return _===void 0?void 0:(_=p(_),C(F)?(0,n.withAlphaValue)(_,v(F)):((z=U.theme)===null||z===void 0||(j=z.opacity)===null||j===void 0?void 0:j[F])===void 0?void 0:(0,n.withAlphaValue)(_,U.theme.opacity[F]))}return m(x,B,{validate:i.color})}function T(x,B={}){var U;return(U=B.values)===null||U===void 0?void 0:U[x]}function S(x){return(B,U)=>m(B,U,{validate:x})}let H={any:m,color:E,url:S(i.url),image:S(i.image),length:S(i.length),percentage:S(i.percentage),position:S(i.position),lookup:T,"generic-name":S(i.genericName),"family-name":S(i.familyName),number:S(i.number),"line-width":S(i.lineWidth),"absolute-size":S(i.absoluteSize),"relative-size":S(i.relativeSize),shadow:S(i.shadow),size:S(a.backgroundSize)},L=Object.keys(H);function q(x,B){let U=x.indexOf(B);return U===-1?[void 0,x]:[x.slice(0,U),x.slice(U+1)]}function K(x,B,U,P){if(U.values&&B in U.values)for(let{type:V}of x!=null?x:[]){let F=H[V](B,U,{tailwindConfig:P});if(F!==void 0)return[F,V,null]}if(C(B)){let V=B.slice(1,-1),[F,k]=q(V,":");if(!/^[\w-_]+$/g.test(F))k=V;else if(F!==void 0&&!L.includes(F))return[];if(k.length>0&&L.includes(F))return[m(`[${k}]`,U),F,null]}let Y=Z(x,B,U,P);for(let V of Y)return V;return[]}function*Z(x,B,U,P){let Y=(0,c.flagEnabled)(P,"generalizedModifiers"),[V,F]=b(B);if(Y&&U.modifiers!=null&&(U.modifiers==="any"||typeof U.modifiers=="object"&&(F&&C(F)||F in U.modifiers))||(V=B,F=void 0),F!==void 0&&V===""&&(V="DEFAULT"),F!==void 0&&typeof U.modifiers=="object"){var z,j;let ne=(j=(z=U.modifiers)===null||z===void 0?void 0:z[F])!==null&&j!==void 0?j:null;ne!==null?F=ne:C(F)&&(F=v(F))}for(let{type:ne}of x!=null?x:[]){let _=H[ne](V,U,{tailwindConfig:P});_!==void 0&&(yield[_,ne,F!=null?F:null])}}}(Gn);var Vn={};(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}})(Vn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return U}});const e=C(tr),r=C(In),n=C(Fn),i=C(rr),s=Hn,a=Nn,c=jn,o=C(qn),l=Wn,d=Gn,h=ir,m=C(Vn);function C(P){return P&&P.__esModule?P:{default:P}}function b(P){return typeof P=="function"}function p(P,...Y){let V=Y.pop();for(let F of Y)for(let k in F){let z=V(P[k],F[k]);z===void 0?(0,o.default)(P[k])&&(0,o.default)(F[k])?P[k]=p({},P[k],F[k],V):P[k]=F[k]:P[k]=z}return P}const v={colors:i.default,negative(P){return Object.keys(P).filter(Y=>P[Y]!=="0").reduce((Y,V)=>{let F=(0,e.default)(P[V]);return F!==void 0&&(Y[`-${V}`]=F),Y},{})},breakpoints(P){return Object.keys(P).filter(Y=>typeof P[Y]=="string").reduce((Y,V)=>({...Y,[`screen-${V}`]:P[V]}),{})}};function E(P,...Y){return b(P)?P(...Y):P}function T(P){return P.reduce((Y,{extend:V})=>p(Y,V,(F,k)=>F===void 0?[k]:Array.isArray(F)?[k,...F]:[k,F]),{})}function S(P){return{...P.reduce((Y,V)=>(0,s.defaults)(Y,V),{}),extend:T(P)}}function H(P,Y){if(Array.isArray(P)&&(0,o.default)(P[0]))return P.concat(Y);if(Array.isArray(Y)&&(0,o.default)(Y[0])&&(0,o.default)(P))return[P,...Y];if(Array.isArray(Y))return Y}function L({extend:P,...Y}){return p(Y,P,(V,F)=>!b(V)&&!F.some(b)?p({},V,...F,H):(k,z)=>p({},...[V,...F].map(j=>E(j,k,z)),H))}function*q(P){let Y=(0,a.toPath)(P);if(Y.length===0||(yield Y,Array.isArray(P)))return;let V=/^(.*?)\s*\/\s*([^/]+)$/,F=P.match(V);if(F!==null){let[,k,z]=F,j=(0,a.toPath)(k);j.alpha=z,yield j}}function K(P){const Y=(V,F)=>{for(const k of q(V)){let z=0,j=P;for(;j!=null&&z<k.length;)j=j[k[z++]],j=b(j)&&(k.alpha===void 0||z<=k.length-1)?j(Y,v):j;if(j!==void 0){if(k.alpha!==void 0){let ne=(0,d.parseColorFormat)(j);return(0,h.withAlphaValue)(ne,k.alpha,(0,m.default)(ne))}return(0,o.default)(j)?(0,l.cloneDeep)(j):j}}return F};return Object.assign(Y,{theme:Y,...v}),Object.keys(P).reduce((V,F)=>(V[F]=b(P[F])?P[F](Y,v):P[F],V),{})}function Z(P){let Y=[];return P.forEach(V=>{Y=[...Y,V];var F;const k=(F=V==null?void 0:V.plugins)!==null&&F!==void 0?F:[];k.length!==0&&k.forEach(z=>{z.__isOptionsFunction&&(z=z());var j;Y=[...Y,...Z([(j=z==null?void 0:z.config)!==null&&j!==void 0?j:{}])]})}),Y}function x(P){return[...P].reduceRight((V,F)=>b(F)?F({corePlugins:V}):(0,n.default)(F,V),r.default)}function B(P){return[...P].reduceRight((V,F)=>[...V,...F],[])}function U(P){let Y=[...Z(P),{prefix:"",important:!1,separator:":"}];var V,F;return(0,c.normalizeConfig)((0,s.defaults)({theme:K(L(S(Y.map(k=>(V=k==null?void 0:k.theme)!==null&&V!==void 0?V:{})))),corePlugins:x(Y.map(k=>k.corePlugins)),plugins:B(P.map(k=>(F=k==null?void 0:k.plugins)!==null&&F!==void 0?F:[]))},...Y))}}(Bn);var Qn={},ca={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(ca),r=Pt;function n(s){return s&&s.__esModule?s:{default:s}}function i(s){var a;const c=((a=s==null?void 0:s.presets)!==null&&a!==void 0?a:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),o={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},l=Object.keys(o).filter(d=>(0,r.flagEnabled)(s,d)).map(d=>o[d]);return[s,...l,...c]}})(Qn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(Bn),r=n(Qn);function n(s){return s&&s.__esModule?s:{default:s}}function i(...s){let[,...a]=(0,r.default)(s[0]);return(0,e.default)([...s,...a])}}(On);let or=On;var ua=(or.__esModule?or:{default:or}).default;const da=Ct(ua);let lr=rr;var cr=(lr.__esModule?lr:{default:lr}).default;const Kn=Ct(cr),ha=Qt({__proto__:null,default:Kn},[cr]);var Jn={},ei={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function e(n,i){return{handler:n,config:i}}e.withOptions=function(n,i=()=>({})){const s=function(a){return{__options:a,handler:n(a),config:i(a)}};return s.__isOptionsFunction=!0,s.__pluginFunction=n,s.__configFunction=i,s};const r=e})(ei),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const e=r(ei);function r(i){return i&&i.__esModule?i:{default:i}}const n=e.default}(Jn);let ur=Jn;var ti=(ur.__esModule?ur:{default:ur}).default,Ot={exports:{}};Ot.exports,function(t,e){var r=200,n="__lodash_hash_undefined__",i=800,s=16,a=9007199254740991,c="[object Arguments]",o="[object Array]",l="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",C="[object Function]",b="[object GeneratorFunction]",p="[object Map]",v="[object Number]",E="[object Null]",T="[object Object]",S="[object Proxy]",H="[object RegExp]",L="[object Set]",q="[object String]",K="[object Undefined]",Z="[object WeakMap]",x="[object ArrayBuffer]",B="[object DataView]",U="[object Float32Array]",P="[object Float64Array]",Y="[object Int8Array]",V="[object Int16Array]",F="[object Int32Array]",k="[object Uint8Array]",z="[object Uint8ClampedArray]",j="[object Uint16Array]",ne="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,X=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,I={};I[U]=I[P]=I[Y]=I[V]=I[F]=I[k]=I[z]=I[j]=I[ne]=!0,I[c]=I[o]=I[x]=I[d]=I[B]=I[h]=I[m]=I[C]=I[p]=I[v]=I[T]=I[H]=I[L]=I[q]=I[Z]=!1;var w=typeof lt=="object"&<&<.Object===Object&<,W=typeof self=="object"&&self&&self.Object===Object&&self,Q=w||W||Function("return this")(),D=e&&!e.nodeType&&e,re=D&&!0&&t&&!t.nodeType&&t,ue=re&&re.exports===D,le=ue&&w.process,ie=function(){try{var f=re&&re.require&&re.require("util").types;return f||le&&le.binding&&le.binding("util")}catch{}}(),he=ie&&ie.isTypedArray;function Te(f,y,$){switch($.length){case 0:return f.call(y);case 1:return f.call(y,$[0]);case 2:return f.call(y,$[0],$[1]);case 3:return f.call(y,$[0],$[1],$[2])}return f.apply(y,$)}function oe(f,y){for(var $=-1,te=Array(f);++$<f;)te[$]=y($);return te}function _e(f){return function(y){return f(y)}}function Ne(f,y){return f==null?void 0:f[y]}function Ie(f,y){return function($){return f(y($))}}var $e=Array.prototype,ke=Function.prototype,Ee=Object.prototype,Me=Q["__core-js_shared__"],Le=ke.toString,De=Ee.hasOwnProperty,tt=function(){var f=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),Je=Ee.toString,ct=Le.call(Object),kt=RegExp("^"+Le.call(De).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ye=ue?Q.Buffer:void 0,mt=Q.Symbol,Wt=Q.Uint8Array,Gt=Ye?Ye.allocUnsafe:void 0,Ps=Ie(Object.getPrototypeOf,Object),zs=Object.create,B7=Ee.propertyIsEnumerable,I7=$e.splice,ut=mt?mt.toStringTag:void 0,Ut=function(){try{var f=wn(Object,"defineProperty");return f({},"",{}),f}catch{}}(),F7=Ye?Ye.isBuffer:void 0,Os=Math.max,R7=Date.now,Bs=wn(Q,"Map"),$t=wn(Object,"create"),A7=function(){function f(){}return function(y){if(!ht(y))return{};if(zs)return zs(y);f.prototype=y;var $=new f;return f.prototype=void 0,$}}();function dt(f){var y=-1,$=f==null?0:f.length;for(this.clear();++y<$;){var te=f[y];this.set(te[0],te[1])}}function H7(){this.__data__=$t?$t(null):{},this.size=0}function N7(f){var y=this.has(f)&&delete this.__data__[f];return this.size-=y?1:0,y}function j7(f){var y=this.__data__;if($t){var $=y[f];return $===n?void 0:$}return De.call(y,f)?y[f]:void 0}function q7(f){var y=this.__data__;return $t?y[f]!==void 0:De.call(y,f)}function W7(f,y){var $=this.__data__;return this.size+=this.has(f)?0:1,$[f]=$t&&y===void 0?n:y,this}dt.prototype.clear=H7,dt.prototype.delete=N7,dt.prototype.get=j7,dt.prototype.has=q7,dt.prototype.set=W7;function rt(f){var y=-1,$=f==null?0:f.length;for(this.clear();++y<$;){var te=f[y];this.set(te[0],te[1])}}function G7(){this.__data__=[],this.size=0}function U7(f){var y=this.__data__,$=Zt(y,f);if($<0)return!1;var te=y.length-1;return $==te?y.pop():I7.call(y,$,1),--this.size,!0}function Z7(f){var y=this.__data__,$=Zt(y,f);return $<0?void 0:y[$][1]}function X7(f){return Zt(this.__data__,f)>-1}function Y7(f,y){var $=this.__data__,te=Zt($,f);return te<0?(++this.size,$.push([f,y])):$[te][1]=y,this}rt.prototype.clear=G7,rt.prototype.delete=U7,rt.prototype.get=Z7,rt.prototype.has=X7,rt.prototype.set=Y7;function gt(f){var y=-1,$=f==null?0:f.length;for(this.clear();++y<$;){var te=f[y];this.set(te[0],te[1])}}function V7(){this.size=0,this.__data__={hash:new dt,map:new(Bs||rt),string:new dt}}function Q7(f){var y=Yt(this,f).delete(f);return this.size-=y?1:0,y}function K7(f){return Yt(this,f).get(f)}function J7(f){return Yt(this,f).has(f)}function ed(f,y){var $=Yt(this,f),te=$.size;return $.set(f,y),this.size+=$.size==te?0:1,this}gt.prototype.clear=V7,gt.prototype.delete=Q7,gt.prototype.get=K7,gt.prototype.has=J7,gt.prototype.set=ed;function vt(f){var y=this.__data__=new rt(f);this.size=y.size}function td(){this.__data__=new rt,this.size=0}function rd(f){var y=this.__data__,$=y.delete(f);return this.size=y.size,$}function nd(f){return this.__data__.get(f)}function id(f){return this.__data__.has(f)}function sd(f,y){var $=this.__data__;if($ instanceof rt){var te=$.__data__;if(!Bs||te.length<r-1)return te.push([f,y]),this.size=++$.size,this;$=this.__data__=new gt(te)}return $.set(f,y),this.size=$.size,this}vt.prototype.clear=td,vt.prototype.delete=rd,vt.prototype.get=nd,vt.prototype.has=id,vt.prototype.set=sd;function ad(f,y){var $=kn(f),te=!$&&Tn(f),fe=!$&&!te&&Hs(f),ve=!$&&!te&&!fe&&js(f),xe=$||te||fe||ve,pe=xe?oe(f.length,String):[],we=pe.length;for(var Xe in f)(y||De.call(f,Xe))&&!(xe&&(Xe=="length"||fe&&(Xe=="offset"||Xe=="parent")||ve&&(Xe=="buffer"||Xe=="byteLength"||Xe=="byteOffset")||Rs(Xe,we)))&&pe.push(Xe);return pe}function bn(f,y,$){($!==void 0&&!Vt(f[y],$)||$===void 0&&!(y in f))&&xn(f,y,$)}function od(f,y,$){var te=f[y];(!(De.call(f,y)&&Vt(te,$))||$===void 0&&!(y in f))&&xn(f,y,$)}function Zt(f,y){for(var $=f.length;$--;)if(Vt(f[$][0],y))return $;return-1}function xn(f,y,$){y=="__proto__"&&Ut?Ut(f,y,{configurable:!0,enumerable:!0,value:$,writable:!0}):f[y]=$}var ld=bd();function Xt(f){return f==null?f===void 0?K:E:ut&&ut in Object(f)?xd(f):Md(f)}function Is(f){return Mt(f)&&Xt(f)==c}function cd(f){if(!ht(f)||kd(f))return!1;var y=Mn(f)?kt:X;return y.test(Pd(f))}function ud(f){return Mt(f)&&Ns(f.length)&&!!I[Xt(f)]}function dd(f){if(!ht(f))return $d(f);var y=As(f),$=[];for(var te in f)te=="constructor"&&(y||!De.call(f,te))||$.push(te);return $}function Fs(f,y,$,te,fe){f!==y&&ld(y,function(ve,xe){if(fe||(fe=new vt),ht(ve))hd(f,y,xe,$,Fs,te,fe);else{var pe=te?te(Sn(f,xe),ve,xe+"",f,y,fe):void 0;pe===void 0&&(pe=ve),bn(f,xe,pe)}},qs)}function hd(f,y,$,te,fe,ve,xe){var pe=Sn(f,$),we=Sn(y,$),Xe=xe.get(we);if(Xe){bn(f,$,Xe);return}var je=ve?ve(pe,we,$+"",f,y,xe):void 0,Et=je===void 0;if(Et){var En=kn(we),Ln=!En&&Hs(we),Gs=!En&&!Ln&&js(we);je=we,En||Ln||Gs?kn(pe)?je=pe:zd(pe)?je=yd(pe):Ln?(Et=!1,je=md(we,!0)):Gs?(Et=!1,je=vd(we,!0)):je=[]:Od(we)||Tn(we)?(je=pe,Tn(pe)?je=Bd(pe):(!ht(pe)||Mn(pe))&&(je=wd(we))):Et=!1}Et&&(xe.set(we,je),fe(je,we,te,ve,xe),xe.delete(we)),bn(f,$,je)}function pd(f,y){return Ld(Ed(f,y,Ws),f+"")}var fd=Ut?function(f,y){return Ut(f,"toString",{configurable:!0,enumerable:!1,value:Fd(y),writable:!0})}:Ws;function md(f,y){if(y)return f.slice();var $=f.length,te=Gt?Gt($):new f.constructor($);return f.copy(te),te}function gd(f){var y=new f.constructor(f.byteLength);return new Wt(y).set(new Wt(f)),y}function vd(f,y){var $=y?gd(f.buffer):f.buffer;return new f.constructor($,f.byteOffset,f.length)}function yd(f,y){var $=-1,te=f.length;for(y||(y=Array(te));++$<te;)y[$]=f[$];return y}function _d(f,y,$,te){var fe=!$;$||($={});for(var ve=-1,xe=y.length;++ve<xe;){var pe=y[ve],we=te?te($[pe],f[pe],pe,$,f):void 0;we===void 0&&(we=f[pe]),fe?xn($,pe,we):od($,pe,we)}return $}function Cd(f){return pd(function(y,$){var te=-1,fe=$.length,ve=fe>1?$[fe-1]:void 0,xe=fe>2?$[2]:void 0;for(ve=f.length>3&&typeof ve=="function"?(fe--,ve):void 0,xe&&Sd($[0],$[1],xe)&&(ve=fe<3?void 0:ve,fe=1),y=Object(y);++te<fe;){var pe=$[te];pe&&f(y,pe,te,ve)}return y})}function bd(f){return function(y,$,te){for(var fe=-1,ve=Object(y),xe=te(y),pe=xe.length;pe--;){var we=xe[f?pe:++fe];if($(ve[we],we,ve)===!1)break}return y}}function Yt(f,y){var $=f.__data__;return Td(y)?$[typeof y=="string"?"string":"hash"]:$.map}function wn(f,y){var $=Ne(f,y);return cd($)?$:void 0}function xd(f){var y=De.call(f,ut),$=f[ut];try{f[ut]=void 0;var te=!0}catch{}var fe=Je.call(f);return te&&(y?f[ut]=$:delete f[ut]),fe}function wd(f){return typeof f.constructor=="function"&&!As(f)?A7(Ps(f)):{}}function Rs(f,y){var $=typeof f;return y=y==null?a:y,!!y&&($=="number"||$!="symbol"&&A.test(f))&&f>-1&&f%1==0&&f<y}function Sd(f,y,$){if(!ht($))return!1;var te=typeof y;return(te=="number"?$n($)&&Rs(y,$.length):te=="string"&&y in $)?Vt($[y],f):!1}function Td(f){var y=typeof f;return y=="string"||y=="number"||y=="symbol"||y=="boolean"?f!=="__proto__":f===null}function kd(f){return!!tt&&tt in f}function As(f){var y=f&&f.constructor,$=typeof y=="function"&&y.prototype||Ee;return f===$}function $d(f){var y=[];if(f!=null)for(var $ in Object(f))y.push($);return y}function Md(f){return Je.call(f)}function Ed(f,y,$){return y=Os(y===void 0?f.length-1:y,0),function(){for(var te=arguments,fe=-1,ve=Os(te.length-y,0),xe=Array(ve);++fe<ve;)xe[fe]=te[y+fe];fe=-1;for(var pe=Array(y+1);++fe<y;)pe[fe]=te[fe];return pe[y]=$(xe),Te(f,this,pe)}}function Sn(f,y){if(!(y==="constructor"&&typeof f[y]=="function")&&y!="__proto__")return f[y]}var Ld=Dd(fd);function Dd(f){var y=0,$=0;return function(){var te=R7(),fe=s-(te-$);if($=te,fe>0){if(++y>=i)return arguments[0]}else y=0;return f.apply(void 0,arguments)}}function Pd(f){if(f!=null){try{return Le.call(f)}catch{}try{return f+""}catch{}}return""}function Vt(f,y){return f===y||f!==f&&y!==y}var Tn=Is(function(){return arguments}())?Is:function(f){return Mt(f)&&De.call(f,"callee")&&!B7.call(f,"callee")},kn=Array.isArray;function $n(f){return f!=null&&Ns(f.length)&&!Mn(f)}function zd(f){return Mt(f)&&$n(f)}var Hs=F7||Rd;function Mn(f){if(!ht(f))return!1;var y=Xt(f);return y==C||y==b||y==l||y==S}function Ns(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=a}function ht(f){var y=typeof f;return f!=null&&(y=="object"||y=="function")}function Mt(f){return f!=null&&typeof f=="object"}function Od(f){if(!Mt(f)||Xt(f)!=T)return!1;var y=Ps(f);if(y===null)return!0;var $=De.call(y,"constructor")&&y.constructor;return typeof $=="function"&&$ instanceof $&&Le.call($)==ct}var js=he?_e(he):ud;function Bd(f){return _d(f,qs(f))}function qs(f){return $n(f)?ad(f,!0):dd(f)}var Id=Cd(function(f,y,$){Fs(f,y,$)});function Fd(f){return function(){return f}}function Ws(f){return f}function Rd(){return!1}t.exports=Id}(Ot,Ot.exports);var pa=Ot.exports;function fa(){if(!arguments.length)return[];var t=arguments[0];return ma(t)?t:[t]}var ma=Array.isArray,ga=fa;const g=cr,ae=t=>t.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),Oe=t=>`${ae(t/16)}rem`,u=(t,e)=>`${ae(t/e)}em`,Qe=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 dr={sm:{css:[{fontSize:Oe(14),lineHeight:ae(24/14),p:{marginTop:u(16,14),marginBottom:u(16,14)},'[class~="lead"]':{fontSize:u(18,14),lineHeight:ae(28/18),marginTop:u(16,18),marginBottom:u(16,18)},blockquote:{marginTop:u(24,18),marginBottom:u(24,18),paddingInlineStart:u(20,18)},h1:{fontSize:u(30,14),marginTop:"0",marginBottom:u(24,30),lineHeight:ae(36/30)},h2:{fontSize:u(20,14),marginTop:u(32,20),marginBottom:u(16,20),lineHeight:ae(28/20)},h3:{fontSize:u(18,14),marginTop:u(28,18),marginBottom:u(8,18),lineHeight:ae(28/18)},h4:{marginTop:u(20,14),marginBottom:u(8,14),lineHeight:ae(20/14)},img:{marginTop:u(24,14),marginBottom:u(24,14)},picture:{marginTop:u(24,14),marginBottom:u(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(24,14),marginBottom:u(24,14)},kbd:{fontSize:u(12,14),borderRadius:Oe(5),paddingTop:u(2,14),paddingInlineEnd:u(5,14),paddingBottom:u(2,14),paddingInlineStart:u(5,14)},code:{fontSize:u(12,14)},"h2 code":{fontSize:u(18,20)},"h3 code":{fontSize:u(16,18)},pre:{fontSize:u(12,14),lineHeight:ae(20/12),marginTop:u(20,12),marginBottom:u(20,12),borderRadius:Oe(4),paddingTop:u(8,12),paddingInlineEnd:u(12,12),paddingBottom:u(8,12),paddingInlineStart:u(12,12)},ol:{marginTop:u(16,14),marginBottom:u(16,14),paddingInlineStart:u(22,14)},ul:{marginTop:u(16,14),marginBottom:u(16,14),paddingInlineStart:u(22,14)},li:{marginTop:u(4,14),marginBottom:u(4,14)},"ol > li":{paddingInlineStart:u(6,14)},"ul > li":{paddingInlineStart:u(6,14)},"> ul > li p":{marginTop:u(8,14),marginBottom:u(8,14)},"> ul > li > p:first-child":{marginTop:u(16,14)},"> ul > li > p:last-child":{marginBottom:u(16,14)},"> ol > li > p:first-child":{marginTop:u(16,14)},"> ol > li > p:last-child":{marginBottom:u(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(8,14),marginBottom:u(8,14)},dl:{marginTop:u(16,14),marginBottom:u(16,14)},dt:{marginTop:u(16,14)},dd:{marginTop:u(4,14),paddingInlineStart:u(22,14)},hr:{marginTop:u(40,14),marginBottom:u(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(12,14),lineHeight:ae(18/12)},"thead th":{paddingInlineEnd:u(12,12),paddingBottom:u(8,12),paddingInlineStart:u(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(8,12),paddingInlineEnd:u(12,12),paddingBottom:u(8,12),paddingInlineStart:u(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(24,14),marginBottom:u(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(12,14),lineHeight:ae(16/12),marginTop:u(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:Oe(16),lineHeight:ae(28/16),p:{marginTop:u(20,16),marginBottom:u(20,16)},'[class~="lead"]':{fontSize:u(20,16),lineHeight:ae(32/20),marginTop:u(24,20),marginBottom:u(24,20)},blockquote:{marginTop:u(32,20),marginBottom:u(32,20),paddingInlineStart:u(20,20)},h1:{fontSize:u(36,16),marginTop:"0",marginBottom:u(32,36),lineHeight:ae(40/36)},h2:{fontSize:u(24,16),marginTop:u(48,24),marginBottom:u(24,24),lineHeight:ae(32/24)},h3:{fontSize:u(20,16),marginTop:u(32,20),marginBottom:u(12,20),lineHeight:ae(32/20)},h4:{marginTop:u(24,16),marginBottom:u(8,16),lineHeight:ae(24/16)},img:{marginTop:u(32,16),marginBottom:u(32,16)},picture:{marginTop:u(32,16),marginBottom:u(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(32,16),marginBottom:u(32,16)},kbd:{fontSize:u(14,16),borderRadius:Oe(5),paddingTop:u(3,16),paddingInlineEnd:u(6,16),paddingBottom:u(3,16),paddingInlineStart:u(6,16)},code:{fontSize:u(14,16)},"h2 code":{fontSize:u(21,24)},"h3 code":{fontSize:u(18,20)},pre:{fontSize:u(14,16),lineHeight:ae(24/14),marginTop:u(24,14),marginBottom:u(24,14),borderRadius:Oe(6),paddingTop:u(12,14),paddingInlineEnd:u(16,14),paddingBottom:u(12,14),paddingInlineStart:u(16,14)},ol:{marginTop:u(20,16),marginBottom:u(20,16),paddingInlineStart:u(26,16)},ul:{marginTop:u(20,16),marginBottom:u(20,16),paddingInlineStart:u(26,16)},li:{marginTop:u(8,16),marginBottom:u(8,16)},"ol > li":{paddingInlineStart:u(6,16)},"ul > li":{paddingInlineStart:u(6,16)},"> ul > li p":{marginTop:u(12,16),marginBottom:u(12,16)},"> ul > li > p:first-child":{marginTop:u(20,16)},"> ul > li > p:last-child":{marginBottom:u(20,16)},"> ol > li > p:first-child":{marginTop:u(20,16)},"> ol > li > p:last-child":{marginBottom:u(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(12,16),marginBottom:u(12,16)},dl:{marginTop:u(20,16),marginBottom:u(20,16)},dt:{marginTop:u(20,16)},dd:{marginTop:u(8,16),paddingInlineStart:u(26,16)},hr:{marginTop:u(48,16),marginBottom:u(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(14,16),lineHeight:ae(24/14)},"thead th":{paddingInlineEnd:u(8,14),paddingBottom:u(8,14),paddingInlineStart:u(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(8,14),paddingInlineEnd:u(8,14),paddingBottom:u(8,14),paddingInlineStart:u(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(32,16),marginBottom:u(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(14,16),lineHeight:ae(20/14),marginTop:u(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:Oe(18),lineHeight:ae(32/18),p:{marginTop:u(24,18),marginBottom:u(24,18)},'[class~="lead"]':{fontSize:u(22,18),lineHeight:ae(32/22),marginTop:u(24,22),marginBottom:u(24,22)},blockquote:{marginTop:u(40,24),marginBottom:u(40,24),paddingInlineStart:u(24,24)},h1:{fontSize:u(48,18),marginTop:"0",marginBottom:u(40,48),lineHeight:ae(48/48)},h2:{fontSize:u(30,18),marginTop:u(56,30),marginBottom:u(32,30),lineHeight:ae(40/30)},h3:{fontSize:u(24,18),marginTop:u(40,24),marginBottom:u(16,24),lineHeight:ae(36/24)},h4:{marginTop:u(32,18),marginBottom:u(8,18),lineHeight:ae(28/18)},img:{marginTop:u(32,18),marginBottom:u(32,18)},picture:{marginTop:u(32,18),marginBottom:u(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(32,18),marginBottom:u(32,18)},kbd:{fontSize:u(16,18),borderRadius:Oe(5),paddingTop:u(4,18),paddingInlineEnd:u(8,18),paddingBottom:u(4,18),paddingInlineStart:u(8,18)},code:{fontSize:u(16,18)},"h2 code":{fontSize:u(26,30)},"h3 code":{fontSize:u(21,24)},pre:{fontSize:u(16,18),lineHeight:ae(28/16),marginTop:u(32,16),marginBottom:u(32,16),borderRadius:Oe(6),paddingTop:u(16,16),paddingInlineEnd:u(24,16),paddingBottom:u(16,16),paddingInlineStart:u(24,16)},ol:{marginTop:u(24,18),marginBottom:u(24,18),paddingInlineStart:u(28,18)},ul:{marginTop:u(24,18),marginBottom:u(24,18),paddingInlineStart:u(28,18)},li:{marginTop:u(12,18),marginBottom:u(12,18)},"ol > li":{paddingInlineStart:u(8,18)},"ul > li":{paddingInlineStart:u(8,18)},"> ul > li p":{marginTop:u(16,18),marginBottom:u(16,18)},"> ul > li > p:first-child":{marginTop:u(24,18)},"> ul > li > p:last-child":{marginBottom:u(24,18)},"> ol > li > p:first-child":{marginTop:u(24,18)},"> ol > li > p:last-child":{marginBottom:u(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(16,18),marginBottom:u(16,18)},dl:{marginTop:u(24,18),marginBottom:u(24,18)},dt:{marginTop:u(24,18)},dd:{marginTop:u(12,18),paddingInlineStart:u(28,18)},hr:{marginTop:u(56,18),marginBottom:u(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(16,18),lineHeight:ae(24/16)},"thead th":{paddingInlineEnd:u(12,16),paddingBottom:u(12,16),paddingInlineStart:u(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(12,16),paddingInlineEnd:u(12,16),paddingBottom:u(12,16),paddingInlineStart:u(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(32,18),marginBottom:u(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(16,18),lineHeight:ae(24/16),marginTop:u(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:Oe(20),lineHeight:ae(36/20),p:{marginTop:u(24,20),marginBottom:u(24,20)},'[class~="lead"]':{fontSize:u(24,20),lineHeight:ae(36/24),marginTop:u(24,24),marginBottom:u(24,24)},blockquote:{marginTop:u(48,30),marginBottom:u(48,30),paddingInlineStart:u(32,30)},h1:{fontSize:u(56,20),marginTop:"0",marginBottom:u(48,56),lineHeight:ae(56/56)},h2:{fontSize:u(36,20),marginTop:u(56,36),marginBottom:u(32,36),lineHeight:ae(40/36)},h3:{fontSize:u(30,20),marginTop:u(48,30),marginBottom:u(20,30),lineHeight:ae(40/30)},h4:{marginTop:u(36,20),marginBottom:u(12,20),lineHeight:ae(32/20)},img:{marginTop:u(40,20),marginBottom:u(40,20)},picture:{marginTop:u(40,20),marginBottom:u(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(40,20),marginBottom:u(40,20)},kbd:{fontSize:u(18,20),borderRadius:Oe(5),paddingTop:u(5,20),paddingInlineEnd:u(8,20),paddingBottom:u(5,20),paddingInlineStart:u(8,20)},code:{fontSize:u(18,20)},"h2 code":{fontSize:u(31,36)},"h3 code":{fontSize:u(27,30)},pre:{fontSize:u(18,20),lineHeight:ae(32/18),marginTop:u(36,18),marginBottom:u(36,18),borderRadius:Oe(8),paddingTop:u(20,18),paddingInlineEnd:u(24,18),paddingBottom:u(20,18),paddingInlineStart:u(24,18)},ol:{marginTop:u(24,20),marginBottom:u(24,20),paddingInlineStart:u(32,20)},ul:{marginTop:u(24,20),marginBottom:u(24,20),paddingInlineStart:u(32,20)},li:{marginTop:u(12,20),marginBottom:u(12,20)},"ol > li":{paddingInlineStart:u(8,20)},"ul > li":{paddingInlineStart:u(8,20)},"> ul > li p":{marginTop:u(16,20),marginBottom:u(16,20)},"> ul > li > p:first-child":{marginTop:u(24,20)},"> ul > li > p:last-child":{marginBottom:u(24,20)},"> ol > li > p:first-child":{marginTop:u(24,20)},"> ol > li > p:last-child":{marginBottom:u(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(16,20),marginBottom:u(16,20)},dl:{marginTop:u(24,20),marginBottom:u(24,20)},dt:{marginTop:u(24,20)},dd:{marginTop:u(12,20),paddingInlineStart:u(32,20)},hr:{marginTop:u(56,20),marginBottom:u(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(18,20),lineHeight:ae(28/18)},"thead th":{paddingInlineEnd:u(12,18),paddingBottom:u(16,18),paddingInlineStart:u(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(16,18),paddingInlineEnd:u(12,18),paddingBottom:u(16,18),paddingInlineStart:u(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(40,20),marginBottom:u(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(18,20),lineHeight:ae(28/18),marginTop:u(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:Oe(24),lineHeight:ae(40/24),p:{marginTop:u(32,24),marginBottom:u(32,24)},'[class~="lead"]':{fontSize:u(30,24),lineHeight:ae(44/30),marginTop:u(32,30),marginBottom:u(32,30)},blockquote:{marginTop:u(64,36),marginBottom:u(64,36),paddingInlineStart:u(40,36)},h1:{fontSize:u(64,24),marginTop:"0",marginBottom:u(56,64),lineHeight:ae(64/64)},h2:{fontSize:u(48,24),marginTop:u(72,48),marginBottom:u(40,48),lineHeight:ae(52/48)},h3:{fontSize:u(36,24),marginTop:u(56,36),marginBottom:u(24,36),lineHeight:ae(44/36)},h4:{marginTop:u(40,24),marginBottom:u(16,24),lineHeight:ae(36/24)},img:{marginTop:u(48,24),marginBottom:u(48,24)},picture:{marginTop:u(48,24),marginBottom:u(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(48,24),marginBottom:u(48,24)},kbd:{fontSize:u(20,24),borderRadius:Oe(6),paddingTop:u(6,24),paddingInlineEnd:u(8,24),paddingBottom:u(6,24),paddingInlineStart:u(8,24)},code:{fontSize:u(20,24)},"h2 code":{fontSize:u(42,48)},"h3 code":{fontSize:u(32,36)},pre:{fontSize:u(20,24),lineHeight:ae(36/20),marginTop:u(40,20),marginBottom:u(40,20),borderRadius:Oe(8),paddingTop:u(24,20),paddingInlineEnd:u(32,20),paddingBottom:u(24,20),paddingInlineStart:u(32,20)},ol:{marginTop:u(32,24),marginBottom:u(32,24),paddingInlineStart:u(38,24)},ul:{marginTop:u(32,24),marginBottom:u(32,24),paddingInlineStart:u(38,24)},li:{marginTop:u(12,24),marginBottom:u(12,24)},"ol > li":{paddingInlineStart:u(10,24)},"ul > li":{paddingInlineStart:u(10,24)},"> ul > li p":{marginTop:u(20,24),marginBottom:u(20,24)},"> ul > li > p:first-child":{marginTop:u(32,24)},"> ul > li > p:last-child":{marginBottom:u(32,24)},"> ol > li > p:first-child":{marginTop:u(32,24)},"> ol > li > p:last-child":{marginBottom:u(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(16,24),marginBottom:u(16,24)},dl:{marginTop:u(32,24),marginBottom:u(32,24)},dt:{marginTop:u(32,24)},dd:{marginTop:u(12,24),paddingInlineStart:u(38,24)},hr:{marginTop:u(72,24),marginBottom:u(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(20,24),lineHeight:ae(28/20)},"thead th":{paddingInlineEnd:u(12,20),paddingBottom:u(16,20),paddingInlineStart:u(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(16,20),paddingInlineEnd:u(12,20),paddingBottom:u(16,20),paddingInlineStart:u(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(48,24),marginBottom:u(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(20,24),lineHeight:ae(32/20),marginTop:u(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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 va={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:u(32,16),marginBottom:u(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)"}},dr.gray.css,...dr.base.css]},...dr},ya="[object Object]";function _a(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Ca(t,e){return function(r){return t(e(r))}}var ba=Function.prototype,ri=Object.prototype,ni=ba.toString,xa=ri.hasOwnProperty,wa=ni.call(Object),Sa=ri.toString,Ta=Ca(Object.getPrototypeOf,Object);function ka(t){return!!t&&typeof t=="object"}function $a(t){if(!ka(t)||Sa.call(t)!=ya||_a(t))return!1;var e=Ta(t);if(e===null)return!0;var r=xa.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&ni.call(r)==wa}var Ma=$a,hr={exports:{}},pr={exports:{}},fr={exports:{}},mr={exports:{}},gr={exports:{}},vr={exports:{}},Ae={},yr={exports:{}};(function(t,e){e.__esModule=!0,e.default=i;function r(s){for(var a=s.toLowerCase(),c="",o=!1,l=0;l<6&&a[l]!==void 0;l++){var d=a.charCodeAt(l),h=d>=97&&d<=102||d>=48&&d<=57;if(o=d===32,!h)break;c+=a[l]}if(c.length!==0){var m=parseInt(c,16),C=m>=55296&&m<=57343;return C||m===0||m>1114111?["�",c.length+(o?1:0)]:[String.fromCodePoint(m),c.length+(o?1:0)]}}var n=/\\/;function i(s){var a=n.test(s);if(!a)return s;for(var c="",o=0;o<s.length;o++){if(s[o]==="\\"){var l=r(s.slice(o+1,o+7));if(l!==void 0){c+=l[0],o+=l[1];continue}if(s[o+1]==="\\"){c+="\\",o++;continue}s.length===o+1&&(c+=s[o]);continue}c+=s[o]}return c}t.exports=e.default})(yr,yr.exports);var ii=yr.exports,_r={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];for(;s.length>0;){var c=s.shift();if(!n[c])return;n=n[c]}return n}t.exports=e.default})(_r,_r.exports);var Ea=_r.exports,Cr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];for(;s.length>0;){var c=s.shift();n[c]||(n[c]={}),n=n[c]}}t.exports=e.default})(Cr,Cr.exports);var La=Cr.exports,br={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i="",s=n.indexOf("/*"),a=0;s>=0;){i=i+n.slice(a,s);var c=n.indexOf("*/",s+2);if(c<0)return i;a=c+2,s=n.indexOf("/*",a)}return i=i+n.slice(a),i}t.exports=e.default})(br,br.exports);var Da=br.exports;Ae.__esModule=!0,Ae.stripComments=Ae.ensureObject=Ae.getProp=Ae.unesc=void 0;var Pa=Bt(ii);Ae.unesc=Pa.default;var za=Bt(Ea);Ae.getProp=za.default;var Oa=Bt(La);Ae.ensureObject=Oa.default;var Ba=Bt(Da);Ae.stripComments=Ba.default;function Bt(t){return t&&t.__esModule?t:{default:t}}(function(t,e){e.__esModule=!0,e.default=void 0;var r=Ae;function n(c,o){for(var l=0;l<o.length;l++){var d=o[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function i(c,o,l){return o&&n(c.prototype,o),l&&n(c,l),c}var s=function c(o,l){if(typeof o!="object"||o===null)return o;var d=new o.constructor;for(var h in o)if(o.hasOwnProperty(h)){var m=o[h],C=typeof m;h==="parent"&&C==="object"?l&&(d[h]=l):m instanceof Array?d[h]=m.map(function(b){return c(b,d)}):d[h]=c(m,d)}return d},a=function(){function c(l){l===void 0&&(l={}),Object.assign(this,l),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var o=c.prototype;return o.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},o.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},o.next=function(){return this.parent.at(this.parent.index(this)+1)},o.prev=function(){return this.parent.at(this.parent.index(this)-1)},o.clone=function(d){d===void 0&&(d={});var h=s(this);for(var m in d)h[m]=d[m];return h},o.appendToPropertyAndEscape=function(d,h,m){this.raws||(this.raws={});var C=this[d],b=this.raws[d];this[d]=C+h,b||m!==h?this.raws[d]=(b||C)+m:delete this.raws[d]},o.setPropertyAndEscape=function(d,h,m){this.raws||(this.raws={}),this[d]=h,this.raws[d]=m},o.setPropertyWithoutEscape=function(d,h){this[d]=h,this.raws&&delete this.raws[d]},o.isAtPosition=function(d,h){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>h||this.source.end.line===d&&this.source.end.column<h)},o.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},o.valueToString=function(){return String(this.stringifyProperty("value"))},o.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(c,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),c}();e.default=a,t.exports=e.default})(vr,vr.exports);var st=vr.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 Ia="tag";de.TAG=Ia;var Fa="string";de.STRING=Fa;var Ra="selector";de.SELECTOR=Ra;var Aa="root";de.ROOT=Aa;var Ha="pseudo";de.PSEUDO=Ha;var Na="nesting";de.NESTING=Na;var ja="id";de.ID=ja;var qa="comment";de.COMMENT=qa;var Wa="combinator";de.COMBINATOR=Wa;var Ga="class";de.CLASS=Ga;var Ua="attribute";de.ATTRIBUTE=Ua;var Za="universal";de.UNIVERSAL=Za,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(st),n=s(de);function i(){if(typeof WeakMap!="function")return null;var p=new WeakMap;return i=function(){return p},p}function s(p){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var v=i();if(v&&v.has(p))return v.get(p);var E={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(Object.prototype.hasOwnProperty.call(p,S)){var H=T?Object.getOwnPropertyDescriptor(p,S):null;H&&(H.get||H.set)?Object.defineProperty(E,S,H):E[S]=p[S]}return E.default=p,v&&v.set(p,E),E}function a(p){return p&&p.__esModule?p:{default:p}}function c(p,v){var E;if(typeof Symbol=="undefined"||p[Symbol.iterator]==null){if(Array.isArray(p)||(E=o(p))||v&&p&&typeof p.length=="number"){E&&(p=E);var T=0;return function(){return T>=p.length?{done:!0}:{done:!1,value:p[T++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1
|
+
(function(N,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("vue"),require("hls.js"),require("d3"),require("moment-timezone"),require("remark-gfm"),require("remark-parse"),require("remark-rehype"),require("remark-breaks"),require("rehype-stringify"),require("unist-util-visit"),require("unified"),require("morphdom")):typeof define=="function"&&define.amd?define(["exports","vue","hls.js","d3","moment-timezone","remark-gfm","remark-parse","remark-rehype","remark-breaks","rehype-stringify","unist-util-visit","unified","morphdom"],O):(N=typeof globalThis!="undefined"?globalThis:N||self,O(N.EvercamUI={},N.Vue,N.Hls,N.d3,N.moment,N.remarkGfm,N.remarkParse,N.remarkRehype,N.remarkBreaks,N.rehypeStringify,N.unistUtilVisit,N.unified,N.morphdom))})(this,function(N,O,ot,Us,Se,Zs,Xs,Ys,Dn,Vs,Qs,Ks,Js){var Ss,Ts,ks,$s,Ms,Es,Ls,Ds;"use strict";function ea(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 Qt(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const M=ea(Us);var yt=(t=>(t.Continuous="continuous",t.WorkingHours="workingHours",t.Empty="empty",t.Custom="custom",t))(yt||{}),Pn=(t=>(t.Monday="monday",t.Tuesday="tuesday",t.Wednesday="wednesday",t.Thursday="thursday",t.Friday="friday",t.Saturday="saturday",t.Sunday="sunday",t))(Pn||{}),G=(t=>(t.Dot="dot",t.TwoXs="2xs",t.Xs="xs",t.Sm="sm",t.Md="base",t.Base="base",t.Lg="lg",t.Xl="xl",t.TwoXl="2xl",t.ThreeXl="3xl",t.FourXl="4xl",t.FiveXl="5xl",t.SixXl="6xl",t.SevenXl="7xl",t.EightXl="8xl",t.NineXl="9xl",t))(G||{}),se=(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))(se||{}),nt=(t=>(t.Overview="overview",t.Detailed="detailed",t.DetailedBackground="detailedBackground",t))(nt||{}),qe=(t=>(t.Bars="bars",t.Dots="dots",t.LineGraph="lineGraph",t.BarChart="barGraph",t.Milestones="milestones",t))(qe||{}),_t=(t=>(t.Zoom="zoom",t.AutoPan="autoPan",t.Initial="initial",t))(_t||{}),zn=(t=>(t.ThreeSixty="360",t.FourEighty="480",t.SevenTwenty="720",t.OneZeroEightZero="1080",t.Auto="auto",t))(zn||{}),ze=(t=>(t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left",t))(ze||{}),Ve=(t=>(t.System="system",t.Copilot="copilot",t.User="user",t))(Ve||{}),Kt=(t=>(t.Text="text",t.Error="error",t.Json="json",t))(Kt||{}),Jt=(t=>(t.Positive="positive",t.Negative="negative",t))(Jt||{}),it=(t=>(t.Window="window",t.Curtain="curtain",t.Transparency="transparency",t))(it||{}),Re=(t=>(t.Turbo="turbo",t.Inferno="inferno",t.Magma="magma",t.Plasma="plasma",t.Viridis="viridis",t.Cividis="cividis",t.Warm="warm",t.Cool="cool",t.CubeHelix="cubehelix",t))(Re||{});const ta=O.extend({name:"EBadge",props:{text:{type:String,default:""},color:{type:String,default:se.Default},size:{type:String,default:G.Base}},data(){return{colors:{[se.Error]:"e-bg-rose-500 e-text-white",[se.Info]:"e-bg-cyan-500 e-text-white",[se.Warning]:"e-bg-amber-500 e-text-white",[se.Primary]:"e-bg-sky-500 e-text-white",[se.Default]:"e-bg-slate-300 e-text-white",[se.Success]:"e-bg-lime-500 e-text-white"},sizes:{[G.Dot]:"e-w-2 e-h-2",[G.Xs]:"e-w-3 e-h-3",[G.Sm]:"e-w-4 e-h-4",[G.Md]:"e-w-5 e-h-5",[G.Lg]:"e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",[G.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[se.Default],e=this.sizes[this.size]||this.sizes[G.Md];return["e-flex e-items-center e-justify-center e-rounded-full",t,e]},showText(){return[G.Lg,G.Xl].includes(this.size)}}});function R(t,e,r,n,i,s,a,c){var o=typeof t=="function"?t.options:t;e&&(o.render=e,o.staticRenderFns=r,o._compiled=!0),n&&(o.functional=!0),s&&(o._scopeId="data-v-"+s);var l;if(a?(l=function(m){m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!m&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(m=__VUE_SSR_CONTEXT__),i&&i.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(a)},o._ssrRegister=l):i&&(l=c?function(){i.call(this,(o.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(o.functional){o._injectStyles=l;var d=o.render;o.render=function(C,b){return l.call(b),d(C,b)}}else{var h=o.beforeCreate;o.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:o}}var ra=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()])},na=[],ia=R(ta,ra,na,!1,null,null,null,null);const er=ia.exports,sa=O.extend({name:"EAvatar",components:{Badge:er},props:{size:{type:String,default:G.Md},showBadge:{type:Boolean,default:!1},badgeColor:{type:String,default:se.Error},badgeText:{type:String,default:""},badgeSize:{type:String,default:G.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:{[G.TwoXs]:"e-w-6 e-h-6 e-text-xs",[G.Xs]:"e-w-8 e-h-8 e-text-xs",[G.Sm]:"e-w-10 e-h-10 e-text-sm",[G.Md]:"e-w-14 e-h-14 e-text-base",[G.Lg]:"e-w-20 e-h-20 e-text-2xl",[G.Xl]:"e-w-28 e-h-28 e-text-3xl",[G.TwoXl]:"e-w-36 e-h-36 e-text-5xl"}}},computed:{avatarClasses(){const t=this.sizes[this.size]||this.sizes[G.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 aa=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)},oa=[],la=R(sa,aa,oa,!1,null,null,null,null);const Lt=la.exports;var lt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ct(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var On={},Bn={},tr={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e}});function e(r){if(r=`${r}`,r==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))return r.replace(/^[+-]?/,i=>i==="-"?"":"-");let n=["var","calc","min","max","clamp"];for(const i of n)if(r.includes(`${i}(`))return`calc(${r} * -1)`}})(tr);var In={};(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"]})(In);var Fn={};(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(s=>r!==!1&&r[s]!==!1).concat(Object.keys(r).filter(s=>r[s]!==!1)))]}})(Fn);var rr={},Dt={},nr={exports:{}},Ce=String,Rn=function(){return{isColorSupported:!1,reset:Ce,bold:Ce,dim:Ce,italic:Ce,underline:Ce,inverse:Ce,hidden:Ce,strikethrough:Ce,black:Ce,red:Ce,green:Ce,yellow:Ce,blue:Ce,magenta:Ce,cyan:Ce,white:Ce,gray:Ce,bgBlack:Ce,bgRed:Ce,bgGreen:Ce,bgYellow:Ce,bgBlue:Ce,bgMagenta:Ce,bgCyan:Ce,bgWhite:Ce}};nr.exports=Rn(),nr.exports.createColors=Rn;var An=nr.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,l){for(var d in l)Object.defineProperty(o,d,{enumerable:!0,get:l[d]})}e(t,{dim:function(){return a},default:function(){return c}});const r=n(An);function n(o){return o&&o.__esModule?o:{default:o}}let i=new Set;function s(o,l,d){typeof process!="undefined"&&process.env.JEST_WORKER_ID||d&&i.has(d)||(d&&i.add(d),console.warn(""),l.forEach(h=>console.warn(o,"-",h)))}function a(o){return r.default.dim(o)}const c={info(o,l){s(r.default.bold(r.default.cyan("info")),...Array.isArray(o)?[o]:[l,o])},warn(o,l){s(r.default.bold(r.default.yellow("warn")),...Array.isArray(o)?[o]:[l,o])},risk(o,l){s(r.default.bold(r.default.magenta("risk")),...Array.isArray(o)?[o]:[l,o])}}})(Dt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=r(Dt);function r(s){return s&&s.__esModule?s:{default:s}}function n({version:s,from:a,to:c}){e.default.warn(`${a}-color-renamed`,[`As of Tailwind CSS ${s}, \`${a}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return n({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return n({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return n({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return n({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return n({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(rr);var Hn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaults",{enumerable:!0,get:function(){return e}});function e(r,...n){for(let a of n){for(let c in a){var i;!(r==null||(i=r.hasOwnProperty)===null||i===void 0)&&i.call(r,c)||(r[c]=a[c])}for(let c of Object.getOwnPropertySymbols(a)){var s;!(r==null||(s=r.hasOwnProperty)===null||s===void 0)&&s.call(r,c)||(r[c]=a[c])}}return r}})(Hn);var Nn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toPath",{enumerable:!0,get:function(){return e}});function e(r){if(Array.isArray(r))return r;let n=r.split("[").length-1,i=r.split("]").length-1;if(n!==i)throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}})(Nn);var jn={},Pt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(h,m){for(var C in m)Object.defineProperty(h,C,{enumerable:!0,get:m[C]})}e(t,{flagEnabled:function(){return c},issueFlagNotices:function(){return l},default:function(){return d}});const r=i(An),n=i(Dt);function i(h){return h&&h.__esModule?h:{default:h}}let s={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},a={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function c(h,m){if(a.future.includes(m)){var C,b,p;return h.future==="all"||((p=(b=h==null||(C=h.future)===null||C===void 0?void 0:C[m])!==null&&b!==void 0?b:s[m])!==null&&p!==void 0?p:!1)}if(a.experimental.includes(m)){var v,E,T;return h.experimental==="all"||((T=(E=h==null||(v=h.experimental)===null||v===void 0?void 0:v[m])!==null&&E!==void 0?E:s[m])!==null&&T!==void 0?T:!1)}return!1}function o(h){if(h.experimental==="all")return a.experimental;var m;return Object.keys((m=h==null?void 0:h.experimental)!==null&&m!==void 0?m:{}).filter(C=>a.experimental.includes(C)&&h.experimental[C])}function l(h){if(process.env.JEST_WORKER_ID===void 0&&o(h).length>0){let m=o(h).map(C=>r.default.yellow(C)).join(", ");n.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${m}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}const d=a})(Pt),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeConfig",{enumerable:!0,get:function(){return s}});const e=Pt,r=i(Dt);function n(a){if(typeof WeakMap!="function")return null;var c=new WeakMap,o=new WeakMap;return(n=function(l){return l?o:c})(a)}function i(a,c){if(!c&&a&&a.__esModule)return a;if(a===null||typeof a!="object"&&typeof a!="function")return{default:a};var o=n(c);if(o&&o.has(a))return o.get(a);var l={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in a)if(h!=="default"&&Object.prototype.hasOwnProperty.call(a,h)){var m=d?Object.getOwnPropertyDescriptor(a,h):null;m&&(m.get||m.set)?Object.defineProperty(l,h,m):l[h]=a[h]}return l.default=a,o&&o.set(a,l),l}function s(a){if((()=>{if(a.purge||!a.content||!Array.isArray(a.content)&&!(typeof a.content=="object"&&a.content!==null))return!1;if(Array.isArray(a.content))return a.content.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string"));if(typeof a.content=="object"&&a.content!==null){if(Object.keys(a.content).some(l=>!["files","relative","extract","transform"].includes(l)))return!1;if(Array.isArray(a.content.files)){if(!a.content.files.every(l=>typeof l=="string"?!0:!(typeof(l==null?void 0:l.raw)!="string"||l!=null&&l.extension&&typeof(l==null?void 0:l.extension)!="string")))return!1;if(typeof a.content.extract=="object"){for(let l of Object.values(a.content.extract))if(typeof l!="function")return!1}else if(!(a.content.extract===void 0||typeof a.content.extract=="function"))return!1;if(typeof a.content.transform=="object"){for(let l of Object.values(a.content.transform))if(typeof l!="function")return!1}else if(!(a.content.transform===void 0||typeof a.content.transform=="function"))return!1;if(typeof a.content.relative!="boolean"&&typeof a.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"]),a.safelist=(()=>{var l;let{content:d,purge:h,safelist:m}=a;return Array.isArray(m)?m:Array.isArray(d==null?void 0:d.safelist)?d.safelist:Array.isArray(h==null?void 0:h.safelist)?h.safelist:Array.isArray(h==null||(l=h.options)===null||l===void 0?void 0:l.safelist)?h.options.safelist:[]})(),a.blocklist=(()=>{let{blocklist:l}=a;if(Array.isArray(l)){if(l.every(d=>typeof d=="string"))return l;r.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof a.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"]),a.prefix="";else{var o;a.prefix=(o=a.prefix)!==null&&o!==void 0?o:""}a.content={relative:(()=>{let{content:l}=a;return l!=null&&l.relative?l.relative:(0,e.flagEnabled)(a,"relativeContentPathsByDefault")})(),files:(()=>{let{content:l,purge:d}=a;return Array.isArray(d)?d:Array.isArray(d==null?void 0:d.content)?d.content:Array.isArray(l)?l:Array.isArray(l==null?void 0:l.content)?l.content:Array.isArray(l==null?void 0:l.files)?l.files:[]})(),extract:(()=>{let l=(()=>{var m,C,b,p,v,E,T,S,H,L;return!((m=a.purge)===null||m===void 0)&&m.extract?a.purge.extract:!((C=a.content)===null||C===void 0)&&C.extract?a.content.extract:!((b=a.purge)===null||b===void 0||(p=b.extract)===null||p===void 0)&&p.DEFAULT?a.purge.extract.DEFAULT:!((v=a.content)===null||v===void 0||(E=v.extract)===null||E===void 0)&&E.DEFAULT?a.content.extract.DEFAULT:!((T=a.purge)===null||T===void 0||(S=T.options)===null||S===void 0)&&S.extractors?a.purge.options.extractors:!((H=a.content)===null||H===void 0||(L=H.options)===null||L===void 0)&&L.extractors?a.content.options.extractors:{}})(),d={},h=(()=>{var m,C,b,p;if(!((m=a.purge)===null||m===void 0||(C=m.options)===null||C===void 0)&&C.defaultExtractor)return a.purge.options.defaultExtractor;if(!((b=a.content)===null||b===void 0||(p=b.options)===null||p===void 0)&&p.defaultExtractor)return a.content.options.defaultExtractor})();if(h!==void 0&&(d.DEFAULT=h),typeof l=="function")d.DEFAULT=l;else if(Array.isArray(l))for(let{extensions:m,extractor:C}of l!=null?l:[])for(let b of m)d[b]=C;else typeof l=="object"&&l!==null&&Object.assign(d,l);return d})(),transform:(()=>{let l=(()=>{var h,m,C,b,p,v;return!((h=a.purge)===null||h===void 0)&&h.transform?a.purge.transform:!((m=a.content)===null||m===void 0)&&m.transform?a.content.transform:!((C=a.purge)===null||C===void 0||(b=C.transform)===null||b===void 0)&&b.DEFAULT?a.purge.transform.DEFAULT:!((p=a.content)===null||p===void 0||(v=p.transform)===null||v===void 0)&&v.DEFAULT?a.content.transform.DEFAULT:{}})(),d={};return typeof l=="function"?d.DEFAULT=l:typeof l=="object"&&l!==null&&Object.assign(d,l),d})()};for(let l of a.content.files)if(typeof l=="string"&&/{([^,]*?)}/g.test(l)){r.default.warn("invalid-glob-braces",[`The glob pattern ${(0,r.dim)(l)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,r.dim)(l.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return a}}(jn);var qn={};(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}})(qn);var Wn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return e}});function e(r){return Array.isArray(r)?r.map(n=>e(n)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([n,i])=>[n,e(i)])):r}})(Wn);var Gn={},Un={};(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 ")}})(Un);var ir={},sr={},Zn={};(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]}})(Zn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(b,p){for(var v in p)Object.defineProperty(b,v,{enumerable:!0,get:p[v]})}e(t,{parseColor:function(){return m},formatColor:function(){return C}});const r=n(Zn);function n(b){return b&&b.__esModule?b:{default:b}}let i=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,s=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,a=/(?:\d+|\d*\.\d+)%?/,c=/(?:\s*,\s*|\s+)/,o=/\s*[,/]\s*/,l=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,d=new RegExp(`^(rgba?)\\(\\s*(${a.source}|${l.source})(?:${c.source}(${a.source}|${l.source}))?(?:${c.source}(${a.source}|${l.source}))?(?:${o.source}(${a.source}|${l.source}))?\\s*\\)$`),h=new RegExp(`^(hsla?)\\(\\s*((?:${a.source})(?:deg|rad|grad|turn)?|${l.source})(?:${c.source}(${a.source}|${l.source}))?(?:${c.source}(${a.source}|${l.source}))?(?:${o.source}(${a.source}|${l.source}))?\\s*\\)$`);function m(b,{loose:p=!1}={}){var v,E;if(typeof b!="string")return null;if(b=b.trim(),b==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(b in r.default)return{mode:"rgb",color:r.default[b].map(q=>q.toString())};let T=b.replace(s,(q,K,Z,x,B)=>["#",K,K,Z,Z,x,x,B?B+B:""].join("")).match(i);if(T!==null)return{mode:"rgb",color:[parseInt(T[1],16),parseInt(T[2],16),parseInt(T[3],16)].map(q=>q.toString()),alpha:T[4]?(parseInt(T[4],16)/255).toString():void 0};var S;let H=(S=b.match(d))!==null&&S!==void 0?S:b.match(h);if(H===null)return null;let L=[H[2],H[3],H[4]].filter(Boolean).map(q=>q.toString());return L.length===2&&L[0].startsWith("var(")?{mode:H[1],color:[L[0]],alpha:L[1]}:!p&&L.length!==3||L.length<3&&!L.some(q=>/^var\(.*?\)$/.test(q))?null:{mode:H[1],color:L,alpha:(v=H[5])===null||v===void 0||(E=v.toString)===null||E===void 0?void 0:E.call(v)}}function C({mode:b,color:p,alpha:v}){let E=v!==void 0;return b==="rgba"||b==="hsla"?`${b}(${p.join(", ")}${E?`, ${v}`:""})`:`${b}(${p.join(" ")}${E?` / ${v}`:""})`}}(sr),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(s,a){for(var c in a)Object.defineProperty(s,c,{enumerable:!0,get:a[c]})}e(t,{withAlphaValue:function(){return n},default:function(){return i}});const r=sr;function n(s,a,c){if(typeof s=="function")return s({opacityValue:a});let o=(0,r.parseColor)(s,{loose:!0});return o===null?c:(0,r.formatColor)({...o,alpha:a})}function i({color:s,property:a,variable:c}){let o=[].concat(a);if(typeof s=="function")return{[c]:"1",...Object.fromEntries(o.map(d=>[d,s({opacityVariable:c,opacityValue:`var(${c})`})]))};const l=(0,r.parseColor)(s);return l===null?Object.fromEntries(o.map(d=>[d,s])):l.alpha!==void 0?Object.fromEntries(o.map(d=>[d,s])):{[c]:"1",...Object.fromEntries(o.map(d=>[d,(0,r.formatColor)({...l,alpha:`var(${c})`})]))}}}(ir);var ar={},Xn={},zt={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return e}});function e(r,n){let i=[],s=[],a=0,c=!1;for(let o=0;o<r.length;o++){let l=r[o];i.length===0&&l===n[0]&&!c&&(n.length===1||r.slice(o,o+n.length)===n)&&(s.push(r.slice(a,o)),a=o+n.length),c=c?!1:l==="\\",l==="("||l==="["||l==="{"?i.push(l):(l===")"&&i[i.length-1]==="("||l==="]"&&i[i.length-1]==="["||l==="}"&&i[i.length-1]==="{")&&i.pop()}return s.push(r.slice(a)),s}})(zt),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(o,l){for(var d in l)Object.defineProperty(o,d,{enumerable:!0,get:l[d]})}e(t,{parseBoxShadowValue:function(){return a},formatBoxShadowValue:function(){return c}});const r=zt;let n=new Set(["inset","inherit","initial","revert","unset"]),i=/\ +(?![^(]*\))/g,s=/^-?(\d+|\.\d+)(.*?)$/g;function a(o){return(0,r.splitAtTopLevelOnly)(o,",").map(d=>{let h=d.trim(),m={raw:h},C=h.split(i),b=new Set;for(let p of C)s.lastIndex=0,!b.has("KEYWORD")&&n.has(p)?(m.keyword=p,b.add("KEYWORD")):s.test(p)?b.has("X")?b.has("Y")?b.has("BLUR")?b.has("SPREAD")||(m.spread=p,b.add("SPREAD")):(m.blur=p,b.add("BLUR")):(m.y=p,b.add("Y")):(m.x=p,b.add("X")):m.color?(m.unknown||(m.unknown=[]),m.unknown.push(p)):m.color=p;return m.valid=m.x!==void 0&&m.y!==void 0,m})}function c(o){return o.map(l=>l.valid?[l.keyword,l.x,l.y,l.blur,l.spread,l.color].filter(Boolean).join(" "):l.raw).join(", ")}}(Xn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(z,j){for(var ne in j)Object.defineProperty(z,ne,{enumerable:!0,get:j[ne]})}e(t,{normalize:function(){return o},normalizeAttributeSelectors:function(){return l},url:function(){return h},number:function(){return m},percentage:function(){return C},length:function(){return v},lineWidth:function(){return T},shadow:function(){return S},color:function(){return H},image:function(){return L},gradient:function(){return K},position:function(){return x},familyName:function(){return B},genericName:function(){return P},absoluteSize:function(){return V},relativeSize:function(){return k}});const r=sr,n=Xn,i=zt;let s=["min","max","clamp","calc"];function a(z){return s.some(j=>new RegExp(`^${j}\\(.*\\)`).test(z))}const c=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 o(z,j=null,ne=!0){let _=j&&c.has(j.property);return z.startsWith("--")&&!_?`var(${z})`:z.includes("url(")?z.split(/(url\(.*?\))/g).filter(Boolean).map(X=>/^url\(.*?\)$/.test(X)?X:o(X,j,!1)).join(""):(z=z.replace(/([^\\])_+/g,(X,A)=>A+" ".repeat(X.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),ne&&(z=z.trim()),z=d(z),z)}function l(z){return z.includes("=")&&(z=z.replace(/(=.*)/g,(j,ne)=>{if(ne[1]==="'"||ne[1]==='"')return ne;if(ne.length>2){let _=ne[ne.length-1];if(ne[ne.length-2]===" "&&(_==="i"||_==="I"||_==="s"||_==="S"))return`="${ne.slice(1,-2)}" ${ne[ne.length-1]}`}return`="${ne.slice(1)}"`})),z}function d(z){let j=["theme"],ne=["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 z.replace(/(calc|min|max|clamp)\(.+\)/g,_=>{let X="";function A(){let I=X.trimEnd();return I[I.length-1]}for(let I=0;I<_.length;I++){let w=function(D){return D.split("").every((re,ue)=>_[I+ue]===re)},W=function(D){let re=1/0;for(let le of D){let ie=_.indexOf(le,I);ie!==-1&&ie<re&&(re=ie)}let ue=_.slice(I,re);return I+=ue.length-1,ue},Q=_[I];if(w("var"))X+=W([")",","]);else if(ne.some(D=>w(D))){let D=ne.find(re=>w(re));X+=D,I+=D.length-1}else j.some(D=>w(D))?X+=W([")"]):w("[")?X+=W(["]"]):["+","-","*","/"].includes(Q)&&!["(","+","-","*","/",","].includes(A())?X+=` ${Q} `:X+=Q}return X.replace(/\s+/g," ")})}function h(z){return z.startsWith("url(")}function m(z){return!isNaN(Number(z))||a(z)}function C(z){return z.endsWith("%")&&m(z.slice(0,-1))||a(z)}let p=`(?:${["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 v(z){return z==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${p}$`).test(z)||a(z)}let E=new Set(["thin","medium","thick"]);function T(z){return E.has(z)}function S(z){let j=(0,n.parseBoxShadowValue)(o(z));for(let ne of j)if(!ne.valid)return!1;return!0}function H(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,"_").every(_=>(_=o(_),_.startsWith("var(")?!0:(0,r.parseColor)(_,{loose:!0})!==null?(j++,!0):!1))?j>0:!1}function L(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,",").every(_=>(_=o(_),_.startsWith("var(")?!0:h(_)||K(_)||["element(","image(","cross-fade(","image-set("].some(X=>_.startsWith(X))?(j++,!0):!1))?j>0:!1}let q=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function K(z){z=o(z);for(let j of q)if(z.startsWith(`${j}(`))return!0;return!1}let Z=new Set(["center","top","right","bottom","left"]);function x(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,"_").every(_=>(_=o(_),_.startsWith("var(")?!0:Z.has(_)||v(_)||C(_)?(j++,!0):!1))?j>0:!1}function B(z){let j=0;return(0,i.splitAtTopLevelOnly)(z,",").every(_=>(_=o(_),_.startsWith("var(")?!0:_.includes(" ")&&!/(['"])([^"']+)\1/g.test(_)||/^\d/g.test(_)?!1:(j++,!0)))?j>0:!1}let U=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function P(z){return U.has(z)}let Y=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function V(z){return Y.has(z)}let F=new Set(["larger","smaller"]);function k(z){return F.has(z)}}(ar);var Yn={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return n}});const e=ar,r=zt;function n(i){let s=["cover","contain"];return(0,r.splitAtTopLevelOnly)(i,",").every(a=>{let c=(0,r.splitAtTopLevelOnly)(a,"_").filter(Boolean);return c.length===1&&s.includes(c[0])?!0:c.length!==1&&c.length!==2?!1:c.every(o=>(0,e.length)(o)||(0,e.percentage)(o)||o==="auto")})}})(Yn),function(t){Object.defineProperty(t,"__esModule",{value:!0});function e(x,B){for(var U in B)Object.defineProperty(x,U,{enumerable:!0,get:B[U]})}e(t,{updateAllClasses:function(){return l},asValue:function(){return m},parseColorFormat:function(){return p},asColor:function(){return E},asLookupValue:function(){return T},typeMap:function(){return H},coerceValue:function(){return K},getMatchingTypes:function(){return Z}});const r=o(Un),n=ir,i=ar,s=o(tr),a=Yn,c=Pt;function o(x){return x&&x.__esModule?x:{default:x}}function l(x,B){x.walkClasses(U=>{U.value=B(U.value),U.raws&&U.raws.value&&(U.raws.value=(0,r.default)(U.raws.value))})}function d(x,B){if(!C(x))return;let U=x.slice(1,-1);if(B(U))return(0,i.normalize)(U)}function h(x,B={},U){let P=B[x];if(P!==void 0)return(0,s.default)(P);if(C(x)){let Y=d(x,U);return Y===void 0?void 0:(0,s.default)(Y)}}function m(x,B={},{validate:U=()=>!0}={}){var P;let Y=(P=B.values)===null||P===void 0?void 0:P[x];return Y!==void 0?Y:B.supportsNegativeValues&&x.startsWith("-")?h(x.slice(1),B.values,U):d(x,U)}function C(x){return x.startsWith("[")&&x.endsWith("]")}function b(x){let B=x.lastIndexOf("/"),U=x.lastIndexOf("[",B),P=x.indexOf("]",B);return x[B-1]==="]"||x[B+1]==="["||U!==-1&&P!==-1&&U<B&&B<P&&(B=x.lastIndexOf("/",U)),B===-1||B===x.length-1?[x,void 0]:C(x)&&!x.includes("]/[")?[x,void 0]:[x.slice(0,B),x.slice(B+1)]}function p(x){if(typeof x=="string"&&x.includes("<alpha-value>")){let B=x;return({opacityValue:U=1})=>B.replace(/<alpha-value>/g,U)}return x}function v(x){return(0,i.normalize)(x.slice(1,-1))}function E(x,B={},{tailwindConfig:U={}}={}){var P;if(((P=B.values)===null||P===void 0?void 0:P[x])!==void 0){var Y;return p((Y=B.values)===null||Y===void 0?void 0:Y[x])}let[V,F]=b(x);if(F!==void 0){var k,z,j,ne;let _=(ne=(k=B.values)===null||k===void 0?void 0:k[V])!==null&&ne!==void 0?ne:C(V)?V.slice(1,-1):void 0;return _===void 0?void 0:(_=p(_),C(F)?(0,n.withAlphaValue)(_,v(F)):((z=U.theme)===null||z===void 0||(j=z.opacity)===null||j===void 0?void 0:j[F])===void 0?void 0:(0,n.withAlphaValue)(_,U.theme.opacity[F]))}return m(x,B,{validate:i.color})}function T(x,B={}){var U;return(U=B.values)===null||U===void 0?void 0:U[x]}function S(x){return(B,U)=>m(B,U,{validate:x})}let H={any:m,color:E,url:S(i.url),image:S(i.image),length:S(i.length),percentage:S(i.percentage),position:S(i.position),lookup:T,"generic-name":S(i.genericName),"family-name":S(i.familyName),number:S(i.number),"line-width":S(i.lineWidth),"absolute-size":S(i.absoluteSize),"relative-size":S(i.relativeSize),shadow:S(i.shadow),size:S(a.backgroundSize)},L=Object.keys(H);function q(x,B){let U=x.indexOf(B);return U===-1?[void 0,x]:[x.slice(0,U),x.slice(U+1)]}function K(x,B,U,P){if(U.values&&B in U.values)for(let{type:V}of x!=null?x:[]){let F=H[V](B,U,{tailwindConfig:P});if(F!==void 0)return[F,V,null]}if(C(B)){let V=B.slice(1,-1),[F,k]=q(V,":");if(!/^[\w-_]+$/g.test(F))k=V;else if(F!==void 0&&!L.includes(F))return[];if(k.length>0&&L.includes(F))return[m(`[${k}]`,U),F,null]}let Y=Z(x,B,U,P);for(let V of Y)return V;return[]}function*Z(x,B,U,P){let Y=(0,c.flagEnabled)(P,"generalizedModifiers"),[V,F]=b(B);if(Y&&U.modifiers!=null&&(U.modifiers==="any"||typeof U.modifiers=="object"&&(F&&C(F)||F in U.modifiers))||(V=B,F=void 0),F!==void 0&&V===""&&(V="DEFAULT"),F!==void 0&&typeof U.modifiers=="object"){var z,j;let ne=(j=(z=U.modifiers)===null||z===void 0?void 0:z[F])!==null&&j!==void 0?j:null;ne!==null?F=ne:C(F)&&(F=v(F))}for(let{type:ne}of x!=null?x:[]){let _=H[ne](V,U,{tailwindConfig:P});_!==void 0&&(yield[_,ne,F!=null?F:null])}}}(Gn);var Vn={};(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}})(Vn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return U}});const e=C(tr),r=C(In),n=C(Fn),i=C(rr),s=Hn,a=Nn,c=jn,o=C(qn),l=Wn,d=Gn,h=ir,m=C(Vn);function C(P){return P&&P.__esModule?P:{default:P}}function b(P){return typeof P=="function"}function p(P,...Y){let V=Y.pop();for(let F of Y)for(let k in F){let z=V(P[k],F[k]);z===void 0?(0,o.default)(P[k])&&(0,o.default)(F[k])?P[k]=p({},P[k],F[k],V):P[k]=F[k]:P[k]=z}return P}const v={colors:i.default,negative(P){return Object.keys(P).filter(Y=>P[Y]!=="0").reduce((Y,V)=>{let F=(0,e.default)(P[V]);return F!==void 0&&(Y[`-${V}`]=F),Y},{})},breakpoints(P){return Object.keys(P).filter(Y=>typeof P[Y]=="string").reduce((Y,V)=>({...Y,[`screen-${V}`]:P[V]}),{})}};function E(P,...Y){return b(P)?P(...Y):P}function T(P){return P.reduce((Y,{extend:V})=>p(Y,V,(F,k)=>F===void 0?[k]:Array.isArray(F)?[k,...F]:[k,F]),{})}function S(P){return{...P.reduce((Y,V)=>(0,s.defaults)(Y,V),{}),extend:T(P)}}function H(P,Y){if(Array.isArray(P)&&(0,o.default)(P[0]))return P.concat(Y);if(Array.isArray(Y)&&(0,o.default)(Y[0])&&(0,o.default)(P))return[P,...Y];if(Array.isArray(Y))return Y}function L({extend:P,...Y}){return p(Y,P,(V,F)=>!b(V)&&!F.some(b)?p({},V,...F,H):(k,z)=>p({},...[V,...F].map(j=>E(j,k,z)),H))}function*q(P){let Y=(0,a.toPath)(P);if(Y.length===0||(yield Y,Array.isArray(P)))return;let V=/^(.*?)\s*\/\s*([^/]+)$/,F=P.match(V);if(F!==null){let[,k,z]=F,j=(0,a.toPath)(k);j.alpha=z,yield j}}function K(P){const Y=(V,F)=>{for(const k of q(V)){let z=0,j=P;for(;j!=null&&z<k.length;)j=j[k[z++]],j=b(j)&&(k.alpha===void 0||z<=k.length-1)?j(Y,v):j;if(j!==void 0){if(k.alpha!==void 0){let ne=(0,d.parseColorFormat)(j);return(0,h.withAlphaValue)(ne,k.alpha,(0,m.default)(ne))}return(0,o.default)(j)?(0,l.cloneDeep)(j):j}}return F};return Object.assign(Y,{theme:Y,...v}),Object.keys(P).reduce((V,F)=>(V[F]=b(P[F])?P[F](Y,v):P[F],V),{})}function Z(P){let Y=[];return P.forEach(V=>{Y=[...Y,V];var F;const k=(F=V==null?void 0:V.plugins)!==null&&F!==void 0?F:[];k.length!==0&&k.forEach(z=>{z.__isOptionsFunction&&(z=z());var j;Y=[...Y,...Z([(j=z==null?void 0:z.config)!==null&&j!==void 0?j:{}])]})}),Y}function x(P){return[...P].reduceRight((V,F)=>b(F)?F({corePlugins:V}):(0,n.default)(F,V),r.default)}function B(P){return[...P].reduceRight((V,F)=>[...V,...F],[])}function U(P){let Y=[...Z(P),{prefix:"",important:!1,separator:":"}];var V,F;return(0,c.normalizeConfig)((0,s.defaults)({theme:K(L(S(Y.map(k=>(V=k==null?void 0:k.theme)!==null&&V!==void 0?V:{})))),corePlugins:x(Y.map(k=>k.corePlugins)),plugins:B(P.map(k=>(F=k==null?void 0:k.plugins)!==null&&F!==void 0?F:[]))},...Y))}}(Bn);var Qn={},ca={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:e})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(ca),r=Pt;function n(s){return s&&s.__esModule?s:{default:s}}function i(s){var a;const c=((a=s==null?void 0:s.presets)!==null&&a!==void 0?a:[e.default]).slice().reverse().flatMap(d=>i(d instanceof Function?d():d)),o={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:d})=>({DEFAULT:"#3b82f67f",...d("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},l=Object.keys(o).filter(d=>(0,r.flagEnabled)(s,d)).map(d=>o[d]);return[s,...l,...c]}})(Qn),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const e=n(Bn),r=n(Qn);function n(s){return s&&s.__esModule?s:{default:s}}function i(...s){let[,...a]=(0,r.default)(s[0]);return(0,e.default)([...s,...a])}}(On);let or=On;var ua=(or.__esModule?or:{default:or}).default;const da=Ct(ua);let lr=rr;var cr=(lr.__esModule?lr:{default:lr}).default;const Kn=Ct(cr),ha=Qt({__proto__:null,default:Kn},[cr]);var Jn={},ei={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function e(n,i){return{handler:n,config:i}}e.withOptions=function(n,i=()=>({})){const s=function(a){return{__options:a,handler:n(a),config:i(a)}};return s.__isOptionsFunction=!0,s.__pluginFunction=n,s.__configFunction=i,s};const r=e})(ei),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const e=r(ei);function r(i){return i&&i.__esModule?i:{default:i}}const n=e.default}(Jn);let ur=Jn;var ti=(ur.__esModule?ur:{default:ur}).default,Ot={exports:{}};Ot.exports,function(t,e){var r=200,n="__lodash_hash_undefined__",i=800,s=16,a=9007199254740991,c="[object Arguments]",o="[object Array]",l="[object AsyncFunction]",d="[object Boolean]",h="[object Date]",m="[object Error]",C="[object Function]",b="[object GeneratorFunction]",p="[object Map]",v="[object Number]",E="[object Null]",T="[object Object]",S="[object Proxy]",H="[object RegExp]",L="[object Set]",q="[object String]",K="[object Undefined]",Z="[object WeakMap]",x="[object ArrayBuffer]",B="[object DataView]",U="[object Float32Array]",P="[object Float64Array]",Y="[object Int8Array]",V="[object Int16Array]",F="[object Int32Array]",k="[object Uint8Array]",z="[object Uint8ClampedArray]",j="[object Uint16Array]",ne="[object Uint32Array]",_=/[\\^$.*+?()[\]{}|]/g,X=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,I={};I[U]=I[P]=I[Y]=I[V]=I[F]=I[k]=I[z]=I[j]=I[ne]=!0,I[c]=I[o]=I[x]=I[d]=I[B]=I[h]=I[m]=I[C]=I[p]=I[v]=I[T]=I[H]=I[L]=I[q]=I[Z]=!1;var w=typeof lt=="object"&<&<.Object===Object&<,W=typeof self=="object"&&self&&self.Object===Object&&self,Q=w||W||Function("return this")(),D=e&&!e.nodeType&&e,re=D&&!0&&t&&!t.nodeType&&t,ue=re&&re.exports===D,le=ue&&w.process,ie=function(){try{var f=re&&re.require&&re.require("util").types;return f||le&&le.binding&&le.binding("util")}catch{}}(),he=ie&&ie.isTypedArray;function Te(f,y,$){switch($.length){case 0:return f.call(y);case 1:return f.call(y,$[0]);case 2:return f.call(y,$[0],$[1]);case 3:return f.call(y,$[0],$[1],$[2])}return f.apply(y,$)}function oe(f,y){for(var $=-1,te=Array(f);++$<f;)te[$]=y($);return te}function _e(f){return function(y){return f(y)}}function Ne(f,y){return f==null?void 0:f[y]}function Ie(f,y){return function($){return f(y($))}}var $e=Array.prototype,ke=Function.prototype,Ee=Object.prototype,Me=Q["__core-js_shared__"],Le=ke.toString,De=Ee.hasOwnProperty,tt=function(){var f=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),Je=Ee.toString,ct=Le.call(Object),kt=RegExp("^"+Le.call(De).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ye=ue?Q.Buffer:void 0,mt=Q.Symbol,Wt=Q.Uint8Array,Gt=Ye?Ye.allocUnsafe:void 0,Ps=Ie(Object.getPrototypeOf,Object),zs=Object.create,Bd=Ee.propertyIsEnumerable,Id=$e.splice,ut=mt?mt.toStringTag:void 0,Ut=function(){try{var f=wn(Object,"defineProperty");return f({},"",{}),f}catch{}}(),Fd=Ye?Ye.isBuffer:void 0,Os=Math.max,Rd=Date.now,Bs=wn(Q,"Map"),$t=wn(Object,"create"),Ad=function(){function f(){}return function(y){if(!ht(y))return{};if(zs)return zs(y);f.prototype=y;var $=new f;return f.prototype=void 0,$}}();function dt(f){var y=-1,$=f==null?0:f.length;for(this.clear();++y<$;){var te=f[y];this.set(te[0],te[1])}}function Hd(){this.__data__=$t?$t(null):{},this.size=0}function Nd(f){var y=this.has(f)&&delete this.__data__[f];return this.size-=y?1:0,y}function jd(f){var y=this.__data__;if($t){var $=y[f];return $===n?void 0:$}return De.call(y,f)?y[f]:void 0}function qd(f){var y=this.__data__;return $t?y[f]!==void 0:De.call(y,f)}function Wd(f,y){var $=this.__data__;return this.size+=this.has(f)?0:1,$[f]=$t&&y===void 0?n:y,this}dt.prototype.clear=Hd,dt.prototype.delete=Nd,dt.prototype.get=jd,dt.prototype.has=qd,dt.prototype.set=Wd;function rt(f){var y=-1,$=f==null?0:f.length;for(this.clear();++y<$;){var te=f[y];this.set(te[0],te[1])}}function Gd(){this.__data__=[],this.size=0}function Ud(f){var y=this.__data__,$=Zt(y,f);if($<0)return!1;var te=y.length-1;return $==te?y.pop():Id.call(y,$,1),--this.size,!0}function Zd(f){var y=this.__data__,$=Zt(y,f);return $<0?void 0:y[$][1]}function Xd(f){return Zt(this.__data__,f)>-1}function Yd(f,y){var $=this.__data__,te=Zt($,f);return te<0?(++this.size,$.push([f,y])):$[te][1]=y,this}rt.prototype.clear=Gd,rt.prototype.delete=Ud,rt.prototype.get=Zd,rt.prototype.has=Xd,rt.prototype.set=Yd;function gt(f){var y=-1,$=f==null?0:f.length;for(this.clear();++y<$;){var te=f[y];this.set(te[0],te[1])}}function Vd(){this.size=0,this.__data__={hash:new dt,map:new(Bs||rt),string:new dt}}function Qd(f){var y=Yt(this,f).delete(f);return this.size-=y?1:0,y}function Kd(f){return Yt(this,f).get(f)}function Jd(f){return Yt(this,f).has(f)}function e7(f,y){var $=Yt(this,f),te=$.size;return $.set(f,y),this.size+=$.size==te?0:1,this}gt.prototype.clear=Vd,gt.prototype.delete=Qd,gt.prototype.get=Kd,gt.prototype.has=Jd,gt.prototype.set=e7;function vt(f){var y=this.__data__=new rt(f);this.size=y.size}function t7(){this.__data__=new rt,this.size=0}function r7(f){var y=this.__data__,$=y.delete(f);return this.size=y.size,$}function n7(f){return this.__data__.get(f)}function i7(f){return this.__data__.has(f)}function s7(f,y){var $=this.__data__;if($ instanceof rt){var te=$.__data__;if(!Bs||te.length<r-1)return te.push([f,y]),this.size=++$.size,this;$=this.__data__=new gt(te)}return $.set(f,y),this.size=$.size,this}vt.prototype.clear=t7,vt.prototype.delete=r7,vt.prototype.get=n7,vt.prototype.has=i7,vt.prototype.set=s7;function a7(f,y){var $=kn(f),te=!$&&Tn(f),fe=!$&&!te&&Hs(f),ve=!$&&!te&&!fe&&js(f),xe=$||te||fe||ve,pe=xe?oe(f.length,String):[],we=pe.length;for(var Xe in f)(y||De.call(f,Xe))&&!(xe&&(Xe=="length"||fe&&(Xe=="offset"||Xe=="parent")||ve&&(Xe=="buffer"||Xe=="byteLength"||Xe=="byteOffset")||Rs(Xe,we)))&&pe.push(Xe);return pe}function bn(f,y,$){($!==void 0&&!Vt(f[y],$)||$===void 0&&!(y in f))&&xn(f,y,$)}function o7(f,y,$){var te=f[y];(!(De.call(f,y)&&Vt(te,$))||$===void 0&&!(y in f))&&xn(f,y,$)}function Zt(f,y){for(var $=f.length;$--;)if(Vt(f[$][0],y))return $;return-1}function xn(f,y,$){y=="__proto__"&&Ut?Ut(f,y,{configurable:!0,enumerable:!0,value:$,writable:!0}):f[y]=$}var l7=b7();function Xt(f){return f==null?f===void 0?K:E:ut&&ut in Object(f)?x7(f):M7(f)}function Is(f){return Mt(f)&&Xt(f)==c}function c7(f){if(!ht(f)||k7(f))return!1;var y=Mn(f)?kt:X;return y.test(P7(f))}function u7(f){return Mt(f)&&Ns(f.length)&&!!I[Xt(f)]}function d7(f){if(!ht(f))return $7(f);var y=As(f),$=[];for(var te in f)te=="constructor"&&(y||!De.call(f,te))||$.push(te);return $}function Fs(f,y,$,te,fe){f!==y&&l7(y,function(ve,xe){if(fe||(fe=new vt),ht(ve))h7(f,y,xe,$,Fs,te,fe);else{var pe=te?te(Sn(f,xe),ve,xe+"",f,y,fe):void 0;pe===void 0&&(pe=ve),bn(f,xe,pe)}},qs)}function h7(f,y,$,te,fe,ve,xe){var pe=Sn(f,$),we=Sn(y,$),Xe=xe.get(we);if(Xe){bn(f,$,Xe);return}var je=ve?ve(pe,we,$+"",f,y,xe):void 0,Et=je===void 0;if(Et){var En=kn(we),Ln=!En&&Hs(we),Gs=!En&&!Ln&&js(we);je=we,En||Ln||Gs?kn(pe)?je=pe:z7(pe)?je=y7(pe):Ln?(Et=!1,je=m7(we,!0)):Gs?(Et=!1,je=v7(we,!0)):je=[]:O7(we)||Tn(we)?(je=pe,Tn(pe)?je=B7(pe):(!ht(pe)||Mn(pe))&&(je=w7(we))):Et=!1}Et&&(xe.set(we,je),fe(je,we,te,ve,xe),xe.delete(we)),bn(f,$,je)}function p7(f,y){return L7(E7(f,y,Ws),f+"")}var f7=Ut?function(f,y){return Ut(f,"toString",{configurable:!0,enumerable:!1,value:F7(y),writable:!0})}:Ws;function m7(f,y){if(y)return f.slice();var $=f.length,te=Gt?Gt($):new f.constructor($);return f.copy(te),te}function g7(f){var y=new f.constructor(f.byteLength);return new Wt(y).set(new Wt(f)),y}function v7(f,y){var $=y?g7(f.buffer):f.buffer;return new f.constructor($,f.byteOffset,f.length)}function y7(f,y){var $=-1,te=f.length;for(y||(y=Array(te));++$<te;)y[$]=f[$];return y}function _7(f,y,$,te){var fe=!$;$||($={});for(var ve=-1,xe=y.length;++ve<xe;){var pe=y[ve],we=te?te($[pe],f[pe],pe,$,f):void 0;we===void 0&&(we=f[pe]),fe?xn($,pe,we):o7($,pe,we)}return $}function C7(f){return p7(function(y,$){var te=-1,fe=$.length,ve=fe>1?$[fe-1]:void 0,xe=fe>2?$[2]:void 0;for(ve=f.length>3&&typeof ve=="function"?(fe--,ve):void 0,xe&&S7($[0],$[1],xe)&&(ve=fe<3?void 0:ve,fe=1),y=Object(y);++te<fe;){var pe=$[te];pe&&f(y,pe,te,ve)}return y})}function b7(f){return function(y,$,te){for(var fe=-1,ve=Object(y),xe=te(y),pe=xe.length;pe--;){var we=xe[f?pe:++fe];if($(ve[we],we,ve)===!1)break}return y}}function Yt(f,y){var $=f.__data__;return T7(y)?$[typeof y=="string"?"string":"hash"]:$.map}function wn(f,y){var $=Ne(f,y);return c7($)?$:void 0}function x7(f){var y=De.call(f,ut),$=f[ut];try{f[ut]=void 0;var te=!0}catch{}var fe=Je.call(f);return te&&(y?f[ut]=$:delete f[ut]),fe}function w7(f){return typeof f.constructor=="function"&&!As(f)?Ad(Ps(f)):{}}function Rs(f,y){var $=typeof f;return y=y==null?a:y,!!y&&($=="number"||$!="symbol"&&A.test(f))&&f>-1&&f%1==0&&f<y}function S7(f,y,$){if(!ht($))return!1;var te=typeof y;return(te=="number"?$n($)&&Rs(y,$.length):te=="string"&&y in $)?Vt($[y],f):!1}function T7(f){var y=typeof f;return y=="string"||y=="number"||y=="symbol"||y=="boolean"?f!=="__proto__":f===null}function k7(f){return!!tt&&tt in f}function As(f){var y=f&&f.constructor,$=typeof y=="function"&&y.prototype||Ee;return f===$}function $7(f){var y=[];if(f!=null)for(var $ in Object(f))y.push($);return y}function M7(f){return Je.call(f)}function E7(f,y,$){return y=Os(y===void 0?f.length-1:y,0),function(){for(var te=arguments,fe=-1,ve=Os(te.length-y,0),xe=Array(ve);++fe<ve;)xe[fe]=te[y+fe];fe=-1;for(var pe=Array(y+1);++fe<y;)pe[fe]=te[fe];return pe[y]=$(xe),Te(f,this,pe)}}function Sn(f,y){if(!(y==="constructor"&&typeof f[y]=="function")&&y!="__proto__")return f[y]}var L7=D7(f7);function D7(f){var y=0,$=0;return function(){var te=Rd(),fe=s-(te-$);if($=te,fe>0){if(++y>=i)return arguments[0]}else y=0;return f.apply(void 0,arguments)}}function P7(f){if(f!=null){try{return Le.call(f)}catch{}try{return f+""}catch{}}return""}function Vt(f,y){return f===y||f!==f&&y!==y}var Tn=Is(function(){return arguments}())?Is:function(f){return Mt(f)&&De.call(f,"callee")&&!Bd.call(f,"callee")},kn=Array.isArray;function $n(f){return f!=null&&Ns(f.length)&&!Mn(f)}function z7(f){return Mt(f)&&$n(f)}var Hs=Fd||R7;function Mn(f){if(!ht(f))return!1;var y=Xt(f);return y==C||y==b||y==l||y==S}function Ns(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=a}function ht(f){var y=typeof f;return f!=null&&(y=="object"||y=="function")}function Mt(f){return f!=null&&typeof f=="object"}function O7(f){if(!Mt(f)||Xt(f)!=T)return!1;var y=Ps(f);if(y===null)return!0;var $=De.call(y,"constructor")&&y.constructor;return typeof $=="function"&&$ instanceof $&&Le.call($)==ct}var js=he?_e(he):u7;function B7(f){return _7(f,qs(f))}function qs(f){return $n(f)?a7(f,!0):d7(f)}var I7=C7(function(f,y,$){Fs(f,y,$)});function F7(f){return function(){return f}}function Ws(f){return f}function R7(){return!1}t.exports=I7}(Ot,Ot.exports);var pa=Ot.exports;function fa(){if(!arguments.length)return[];var t=arguments[0];return ma(t)?t:[t]}var ma=Array.isArray,ga=fa;const g=cr,ae=t=>t.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),Oe=t=>`${ae(t/16)}rem`,u=(t,e)=>`${ae(t/e)}em`,Qe=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 dr={sm:{css:[{fontSize:Oe(14),lineHeight:ae(24/14),p:{marginTop:u(16,14),marginBottom:u(16,14)},'[class~="lead"]':{fontSize:u(18,14),lineHeight:ae(28/18),marginTop:u(16,18),marginBottom:u(16,18)},blockquote:{marginTop:u(24,18),marginBottom:u(24,18),paddingInlineStart:u(20,18)},h1:{fontSize:u(30,14),marginTop:"0",marginBottom:u(24,30),lineHeight:ae(36/30)},h2:{fontSize:u(20,14),marginTop:u(32,20),marginBottom:u(16,20),lineHeight:ae(28/20)},h3:{fontSize:u(18,14),marginTop:u(28,18),marginBottom:u(8,18),lineHeight:ae(28/18)},h4:{marginTop:u(20,14),marginBottom:u(8,14),lineHeight:ae(20/14)},img:{marginTop:u(24,14),marginBottom:u(24,14)},picture:{marginTop:u(24,14),marginBottom:u(24,14)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(24,14),marginBottom:u(24,14)},kbd:{fontSize:u(12,14),borderRadius:Oe(5),paddingTop:u(2,14),paddingInlineEnd:u(5,14),paddingBottom:u(2,14),paddingInlineStart:u(5,14)},code:{fontSize:u(12,14)},"h2 code":{fontSize:u(18,20)},"h3 code":{fontSize:u(16,18)},pre:{fontSize:u(12,14),lineHeight:ae(20/12),marginTop:u(20,12),marginBottom:u(20,12),borderRadius:Oe(4),paddingTop:u(8,12),paddingInlineEnd:u(12,12),paddingBottom:u(8,12),paddingInlineStart:u(12,12)},ol:{marginTop:u(16,14),marginBottom:u(16,14),paddingInlineStart:u(22,14)},ul:{marginTop:u(16,14),marginBottom:u(16,14),paddingInlineStart:u(22,14)},li:{marginTop:u(4,14),marginBottom:u(4,14)},"ol > li":{paddingInlineStart:u(6,14)},"ul > li":{paddingInlineStart:u(6,14)},"> ul > li p":{marginTop:u(8,14),marginBottom:u(8,14)},"> ul > li > p:first-child":{marginTop:u(16,14)},"> ul > li > p:last-child":{marginBottom:u(16,14)},"> ol > li > p:first-child":{marginTop:u(16,14)},"> ol > li > p:last-child":{marginBottom:u(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(8,14),marginBottom:u(8,14)},dl:{marginTop:u(16,14),marginBottom:u(16,14)},dt:{marginTop:u(16,14)},dd:{marginTop:u(4,14),paddingInlineStart:u(22,14)},hr:{marginTop:u(40,14),marginBottom:u(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(12,14),lineHeight:ae(18/12)},"thead th":{paddingInlineEnd:u(12,12),paddingBottom:u(8,12),paddingInlineStart:u(12,12)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(8,12),paddingInlineEnd:u(12,12),paddingBottom:u(8,12),paddingInlineStart:u(12,12)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(24,14),marginBottom:u(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(12,14),lineHeight:ae(16/12),marginTop:u(8,12)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:Oe(16),lineHeight:ae(28/16),p:{marginTop:u(20,16),marginBottom:u(20,16)},'[class~="lead"]':{fontSize:u(20,16),lineHeight:ae(32/20),marginTop:u(24,20),marginBottom:u(24,20)},blockquote:{marginTop:u(32,20),marginBottom:u(32,20),paddingInlineStart:u(20,20)},h1:{fontSize:u(36,16),marginTop:"0",marginBottom:u(32,36),lineHeight:ae(40/36)},h2:{fontSize:u(24,16),marginTop:u(48,24),marginBottom:u(24,24),lineHeight:ae(32/24)},h3:{fontSize:u(20,16),marginTop:u(32,20),marginBottom:u(12,20),lineHeight:ae(32/20)},h4:{marginTop:u(24,16),marginBottom:u(8,16),lineHeight:ae(24/16)},img:{marginTop:u(32,16),marginBottom:u(32,16)},picture:{marginTop:u(32,16),marginBottom:u(32,16)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(32,16),marginBottom:u(32,16)},kbd:{fontSize:u(14,16),borderRadius:Oe(5),paddingTop:u(3,16),paddingInlineEnd:u(6,16),paddingBottom:u(3,16),paddingInlineStart:u(6,16)},code:{fontSize:u(14,16)},"h2 code":{fontSize:u(21,24)},"h3 code":{fontSize:u(18,20)},pre:{fontSize:u(14,16),lineHeight:ae(24/14),marginTop:u(24,14),marginBottom:u(24,14),borderRadius:Oe(6),paddingTop:u(12,14),paddingInlineEnd:u(16,14),paddingBottom:u(12,14),paddingInlineStart:u(16,14)},ol:{marginTop:u(20,16),marginBottom:u(20,16),paddingInlineStart:u(26,16)},ul:{marginTop:u(20,16),marginBottom:u(20,16),paddingInlineStart:u(26,16)},li:{marginTop:u(8,16),marginBottom:u(8,16)},"ol > li":{paddingInlineStart:u(6,16)},"ul > li":{paddingInlineStart:u(6,16)},"> ul > li p":{marginTop:u(12,16),marginBottom:u(12,16)},"> ul > li > p:first-child":{marginTop:u(20,16)},"> ul > li > p:last-child":{marginBottom:u(20,16)},"> ol > li > p:first-child":{marginTop:u(20,16)},"> ol > li > p:last-child":{marginBottom:u(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(12,16),marginBottom:u(12,16)},dl:{marginTop:u(20,16),marginBottom:u(20,16)},dt:{marginTop:u(20,16)},dd:{marginTop:u(8,16),paddingInlineStart:u(26,16)},hr:{marginTop:u(48,16),marginBottom:u(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(14,16),lineHeight:ae(24/14)},"thead th":{paddingInlineEnd:u(8,14),paddingBottom:u(8,14),paddingInlineStart:u(8,14)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(8,14),paddingInlineEnd:u(8,14),paddingBottom:u(8,14),paddingInlineStart:u(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(32,16),marginBottom:u(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(14,16),lineHeight:ae(20/14),marginTop:u(12,14)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:Oe(18),lineHeight:ae(32/18),p:{marginTop:u(24,18),marginBottom:u(24,18)},'[class~="lead"]':{fontSize:u(22,18),lineHeight:ae(32/22),marginTop:u(24,22),marginBottom:u(24,22)},blockquote:{marginTop:u(40,24),marginBottom:u(40,24),paddingInlineStart:u(24,24)},h1:{fontSize:u(48,18),marginTop:"0",marginBottom:u(40,48),lineHeight:ae(48/48)},h2:{fontSize:u(30,18),marginTop:u(56,30),marginBottom:u(32,30),lineHeight:ae(40/30)},h3:{fontSize:u(24,18),marginTop:u(40,24),marginBottom:u(16,24),lineHeight:ae(36/24)},h4:{marginTop:u(32,18),marginBottom:u(8,18),lineHeight:ae(28/18)},img:{marginTop:u(32,18),marginBottom:u(32,18)},picture:{marginTop:u(32,18),marginBottom:u(32,18)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(32,18),marginBottom:u(32,18)},kbd:{fontSize:u(16,18),borderRadius:Oe(5),paddingTop:u(4,18),paddingInlineEnd:u(8,18),paddingBottom:u(4,18),paddingInlineStart:u(8,18)},code:{fontSize:u(16,18)},"h2 code":{fontSize:u(26,30)},"h3 code":{fontSize:u(21,24)},pre:{fontSize:u(16,18),lineHeight:ae(28/16),marginTop:u(32,16),marginBottom:u(32,16),borderRadius:Oe(6),paddingTop:u(16,16),paddingInlineEnd:u(24,16),paddingBottom:u(16,16),paddingInlineStart:u(24,16)},ol:{marginTop:u(24,18),marginBottom:u(24,18),paddingInlineStart:u(28,18)},ul:{marginTop:u(24,18),marginBottom:u(24,18),paddingInlineStart:u(28,18)},li:{marginTop:u(12,18),marginBottom:u(12,18)},"ol > li":{paddingInlineStart:u(8,18)},"ul > li":{paddingInlineStart:u(8,18)},"> ul > li p":{marginTop:u(16,18),marginBottom:u(16,18)},"> ul > li > p:first-child":{marginTop:u(24,18)},"> ul > li > p:last-child":{marginBottom:u(24,18)},"> ol > li > p:first-child":{marginTop:u(24,18)},"> ol > li > p:last-child":{marginBottom:u(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(16,18),marginBottom:u(16,18)},dl:{marginTop:u(24,18),marginBottom:u(24,18)},dt:{marginTop:u(24,18)},dd:{marginTop:u(12,18),paddingInlineStart:u(28,18)},hr:{marginTop:u(56,18),marginBottom:u(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(16,18),lineHeight:ae(24/16)},"thead th":{paddingInlineEnd:u(12,16),paddingBottom:u(12,16),paddingInlineStart:u(12,16)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(12,16),paddingInlineEnd:u(12,16),paddingBottom:u(12,16),paddingInlineStart:u(12,16)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(32,18),marginBottom:u(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(16,18),lineHeight:ae(24/16),marginTop:u(16,16)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:Oe(20),lineHeight:ae(36/20),p:{marginTop:u(24,20),marginBottom:u(24,20)},'[class~="lead"]':{fontSize:u(24,20),lineHeight:ae(36/24),marginTop:u(24,24),marginBottom:u(24,24)},blockquote:{marginTop:u(48,30),marginBottom:u(48,30),paddingInlineStart:u(32,30)},h1:{fontSize:u(56,20),marginTop:"0",marginBottom:u(48,56),lineHeight:ae(56/56)},h2:{fontSize:u(36,20),marginTop:u(56,36),marginBottom:u(32,36),lineHeight:ae(40/36)},h3:{fontSize:u(30,20),marginTop:u(48,30),marginBottom:u(20,30),lineHeight:ae(40/30)},h4:{marginTop:u(36,20),marginBottom:u(12,20),lineHeight:ae(32/20)},img:{marginTop:u(40,20),marginBottom:u(40,20)},picture:{marginTop:u(40,20),marginBottom:u(40,20)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(40,20),marginBottom:u(40,20)},kbd:{fontSize:u(18,20),borderRadius:Oe(5),paddingTop:u(5,20),paddingInlineEnd:u(8,20),paddingBottom:u(5,20),paddingInlineStart:u(8,20)},code:{fontSize:u(18,20)},"h2 code":{fontSize:u(31,36)},"h3 code":{fontSize:u(27,30)},pre:{fontSize:u(18,20),lineHeight:ae(32/18),marginTop:u(36,18),marginBottom:u(36,18),borderRadius:Oe(8),paddingTop:u(20,18),paddingInlineEnd:u(24,18),paddingBottom:u(20,18),paddingInlineStart:u(24,18)},ol:{marginTop:u(24,20),marginBottom:u(24,20),paddingInlineStart:u(32,20)},ul:{marginTop:u(24,20),marginBottom:u(24,20),paddingInlineStart:u(32,20)},li:{marginTop:u(12,20),marginBottom:u(12,20)},"ol > li":{paddingInlineStart:u(8,20)},"ul > li":{paddingInlineStart:u(8,20)},"> ul > li p":{marginTop:u(16,20),marginBottom:u(16,20)},"> ul > li > p:first-child":{marginTop:u(24,20)},"> ul > li > p:last-child":{marginBottom:u(24,20)},"> ol > li > p:first-child":{marginTop:u(24,20)},"> ol > li > p:last-child":{marginBottom:u(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(16,20),marginBottom:u(16,20)},dl:{marginTop:u(24,20),marginBottom:u(24,20)},dt:{marginTop:u(24,20)},dd:{marginTop:u(12,20),paddingInlineStart:u(32,20)},hr:{marginTop:u(56,20),marginBottom:u(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(18,20),lineHeight:ae(28/18)},"thead th":{paddingInlineEnd:u(12,18),paddingBottom:u(16,18),paddingInlineStart:u(12,18)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(16,18),paddingInlineEnd:u(12,18),paddingBottom:u(16,18),paddingInlineStart:u(12,18)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(40,20),marginBottom:u(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(18,20),lineHeight:ae(28/18),marginTop:u(18,18)}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:Oe(24),lineHeight:ae(40/24),p:{marginTop:u(32,24),marginBottom:u(32,24)},'[class~="lead"]':{fontSize:u(30,24),lineHeight:ae(44/30),marginTop:u(32,30),marginBottom:u(32,30)},blockquote:{marginTop:u(64,36),marginBottom:u(64,36),paddingInlineStart:u(40,36)},h1:{fontSize:u(64,24),marginTop:"0",marginBottom:u(56,64),lineHeight:ae(64/64)},h2:{fontSize:u(48,24),marginTop:u(72,48),marginBottom:u(40,48),lineHeight:ae(52/48)},h3:{fontSize:u(36,24),marginTop:u(56,36),marginBottom:u(24,36),lineHeight:ae(44/36)},h4:{marginTop:u(40,24),marginBottom:u(16,24),lineHeight:ae(36/24)},img:{marginTop:u(48,24),marginBottom:u(48,24)},picture:{marginTop:u(48,24),marginBottom:u(48,24)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:u(48,24),marginBottom:u(48,24)},kbd:{fontSize:u(20,24),borderRadius:Oe(6),paddingTop:u(6,24),paddingInlineEnd:u(8,24),paddingBottom:u(6,24),paddingInlineStart:u(8,24)},code:{fontSize:u(20,24)},"h2 code":{fontSize:u(42,48)},"h3 code":{fontSize:u(32,36)},pre:{fontSize:u(20,24),lineHeight:ae(36/20),marginTop:u(40,20),marginBottom:u(40,20),borderRadius:Oe(8),paddingTop:u(24,20),paddingInlineEnd:u(32,20),paddingBottom:u(24,20),paddingInlineStart:u(32,20)},ol:{marginTop:u(32,24),marginBottom:u(32,24),paddingInlineStart:u(38,24)},ul:{marginTop:u(32,24),marginBottom:u(32,24),paddingInlineStart:u(38,24)},li:{marginTop:u(12,24),marginBottom:u(12,24)},"ol > li":{paddingInlineStart:u(10,24)},"ul > li":{paddingInlineStart:u(10,24)},"> ul > li p":{marginTop:u(20,24),marginBottom:u(20,24)},"> ul > li > p:first-child":{marginTop:u(32,24)},"> ul > li > p:last-child":{marginBottom:u(32,24)},"> ol > li > p:first-child":{marginTop:u(32,24)},"> ol > li > p:last-child":{marginBottom:u(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:u(16,24),marginBottom:u(16,24)},dl:{marginTop:u(32,24),marginBottom:u(32,24)},dt:{marginTop:u(32,24)},dd:{marginTop:u(12,24),paddingInlineStart:u(38,24)},hr:{marginTop:u(72,24),marginBottom:u(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:u(20,24),lineHeight:ae(28/20)},"thead th":{paddingInlineEnd:u(12,20),paddingBottom:u(16,20),paddingInlineStart:u(12,20)},"thead th:first-child":{paddingInlineStart:"0"},"thead th:last-child":{paddingInlineEnd:"0"},"tbody td, tfoot td":{paddingTop:u(16,20),paddingInlineEnd:u(12,20),paddingBottom:u(16,20),paddingInlineStart:u(12,20)},"tbody td:first-child, tfoot td:first-child":{paddingInlineStart:"0"},"tbody td:last-child, tfoot td:last-child":{paddingInlineEnd:"0"},figure:{marginTop:u(48,24),marginBottom:u(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:u(20,24),lineHeight:ae(32/20),marginTop:u(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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":Qe(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 va={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:u(32,16),marginBottom:u(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)"}},dr.gray.css,...dr.base.css]},...dr},ya="[object Object]";function _a(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Ca(t,e){return function(r){return t(e(r))}}var ba=Function.prototype,ri=Object.prototype,ni=ba.toString,xa=ri.hasOwnProperty,wa=ni.call(Object),Sa=ri.toString,Ta=Ca(Object.getPrototypeOf,Object);function ka(t){return!!t&&typeof t=="object"}function $a(t){if(!ka(t)||Sa.call(t)!=ya||_a(t))return!1;var e=Ta(t);if(e===null)return!0;var r=xa.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&ni.call(r)==wa}var Ma=$a,hr={exports:{}},pr={exports:{}},fr={exports:{}},mr={exports:{}},gr={exports:{}},vr={exports:{}},Ae={},yr={exports:{}};(function(t,e){e.__esModule=!0,e.default=i;function r(s){for(var a=s.toLowerCase(),c="",o=!1,l=0;l<6&&a[l]!==void 0;l++){var d=a.charCodeAt(l),h=d>=97&&d<=102||d>=48&&d<=57;if(o=d===32,!h)break;c+=a[l]}if(c.length!==0){var m=parseInt(c,16),C=m>=55296&&m<=57343;return C||m===0||m>1114111?["�",c.length+(o?1:0)]:[String.fromCodePoint(m),c.length+(o?1:0)]}}var n=/\\/;function i(s){var a=n.test(s);if(!a)return s;for(var c="",o=0;o<s.length;o++){if(s[o]==="\\"){var l=r(s.slice(o+1,o+7));if(l!==void 0){c+=l[0],o+=l[1];continue}if(s[o+1]==="\\"){c+="\\",o++;continue}s.length===o+1&&(c+=s[o]);continue}c+=s[o]}return c}t.exports=e.default})(yr,yr.exports);var ii=yr.exports,_r={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];for(;s.length>0;){var c=s.shift();if(!n[c])return;n=n[c]}return n}t.exports=e.default})(_r,_r.exports);var Ea=_r.exports,Cr={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];for(;s.length>0;){var c=s.shift();n[c]||(n[c]={}),n=n[c]}}t.exports=e.default})(Cr,Cr.exports);var La=Cr.exports,br={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){for(var i="",s=n.indexOf("/*"),a=0;s>=0;){i=i+n.slice(a,s);var c=n.indexOf("*/",s+2);if(c<0)return i;a=c+2,s=n.indexOf("/*",a)}return i=i+n.slice(a),i}t.exports=e.default})(br,br.exports);var Da=br.exports;Ae.__esModule=!0,Ae.stripComments=Ae.ensureObject=Ae.getProp=Ae.unesc=void 0;var Pa=Bt(ii);Ae.unesc=Pa.default;var za=Bt(Ea);Ae.getProp=za.default;var Oa=Bt(La);Ae.ensureObject=Oa.default;var Ba=Bt(Da);Ae.stripComments=Ba.default;function Bt(t){return t&&t.__esModule?t:{default:t}}(function(t,e){e.__esModule=!0,e.default=void 0;var r=Ae;function n(c,o){for(var l=0;l<o.length;l++){var d=o[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}function i(c,o,l){return o&&n(c.prototype,o),l&&n(c,l),c}var s=function c(o,l){if(typeof o!="object"||o===null)return o;var d=new o.constructor;for(var h in o)if(o.hasOwnProperty(h)){var m=o[h],C=typeof m;h==="parent"&&C==="object"?l&&(d[h]=l):m instanceof Array?d[h]=m.map(function(b){return c(b,d)}):d[h]=c(m,d)}return d},a=function(){function c(l){l===void 0&&(l={}),Object.assign(this,l),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var o=c.prototype;return o.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},o.replaceWith=function(){if(this.parent){for(var d in arguments)this.parent.insertBefore(this,arguments[d]);this.remove()}return this},o.next=function(){return this.parent.at(this.parent.index(this)+1)},o.prev=function(){return this.parent.at(this.parent.index(this)-1)},o.clone=function(d){d===void 0&&(d={});var h=s(this);for(var m in d)h[m]=d[m];return h},o.appendToPropertyAndEscape=function(d,h,m){this.raws||(this.raws={});var C=this[d],b=this.raws[d];this[d]=C+h,b||m!==h?this.raws[d]=(b||C)+m:delete this.raws[d]},o.setPropertyAndEscape=function(d,h,m){this.raws||(this.raws={}),this[d]=h,this.raws[d]=m},o.setPropertyWithoutEscape=function(d,h){this[d]=h,this.raws&&delete this.raws[d]},o.isAtPosition=function(d,h){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>d||this.source.end.line<d||this.source.start.line===d&&this.source.start.column>h||this.source.end.line===d&&this.source.end.column<h)},o.stringifyProperty=function(d){return this.raws&&this.raws[d]||this[d]},o.valueToString=function(){return String(this.stringifyProperty("value"))},o.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},i(c,[{key:"rawSpaceBefore",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.before;return d===void 0&&(d=this.spaces&&this.spaces.before),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=d}},{key:"rawSpaceAfter",get:function(){var d=this.raws&&this.raws.spaces&&this.raws.spaces.after;return d===void 0&&(d=this.spaces.after),d||""},set:function(d){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=d}}]),c}();e.default=a,t.exports=e.default})(vr,vr.exports);var st=vr.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 Ia="tag";de.TAG=Ia;var Fa="string";de.STRING=Fa;var Ra="selector";de.SELECTOR=Ra;var Aa="root";de.ROOT=Aa;var Ha="pseudo";de.PSEUDO=Ha;var Na="nesting";de.NESTING=Na;var ja="id";de.ID=ja;var qa="comment";de.COMMENT=qa;var Wa="combinator";de.COMBINATOR=Wa;var Ga="class";de.CLASS=Ga;var Ua="attribute";de.ATTRIBUTE=Ua;var Za="universal";de.UNIVERSAL=Za,function(t,e){e.__esModule=!0,e.default=void 0;var r=a(st),n=s(de);function i(){if(typeof WeakMap!="function")return null;var p=new WeakMap;return i=function(){return p},p}function s(p){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var v=i();if(v&&v.has(p))return v.get(p);var E={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(Object.prototype.hasOwnProperty.call(p,S)){var H=T?Object.getOwnPropertyDescriptor(p,S):null;H&&(H.get||H.set)?Object.defineProperty(E,S,H):E[S]=p[S]}return E.default=p,v&&v.set(p,E),E}function a(p){return p&&p.__esModule?p:{default:p}}function c(p,v){var E;if(typeof Symbol=="undefined"||p[Symbol.iterator]==null){if(Array.isArray(p)||(E=o(p))||v&&p&&typeof p.length=="number"){E&&(p=E);var T=0;return function(){return T>=p.length?{done:!0}:{done:!1,value:p[T++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return E=p[Symbol.iterator](),E.next.bind(E)}function o(p,v){if(p){if(typeof p=="string")return l(p,v);var E=Object.prototype.toString.call(p).slice(8,-1);if(E==="Object"&&p.constructor&&(E=p.constructor.name),E==="Map"||E==="Set")return Array.from(p);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return l(p,v)}}function l(p,v){(v==null||v>p.length)&&(v=p.length);for(var E=0,T=new Array(v);E<v;E++)T[E]=p[E];return T}function d(p,v){for(var E=0;E<v.length;E++){var T=v[E];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}function h(p,v,E){return v&&d(p.prototype,v),E&&d(p,E),p}function m(p,v){p.prototype=Object.create(v.prototype),p.prototype.constructor=p,C(p,v)}function C(p,v){return C=Object.setPrototypeOf||function(T,S){return T.__proto__=S,T},C(p,v)}var b=function(p){m(v,p);function v(T){var S;return S=p.call(this,T)||this,S.nodes||(S.nodes=[]),S}var E=v.prototype;return E.append=function(S){return S.parent=this,this.nodes.push(S),this},E.prepend=function(S){return S.parent=this,this.nodes.unshift(S),this},E.at=function(S){return this.nodes[S]},E.index=function(S){return typeof S=="number"?S:this.nodes.indexOf(S)},E.removeChild=function(S){S=this.index(S),this.at(S).parent=void 0,this.nodes.splice(S,1);var H;for(var L in this.indexes)H=this.indexes[L],H>=S&&(this.indexes[L]=H-1);return this},E.removeAll=function(){for(var S=c(this.nodes),H;!(H=S()).done;){var L=H.value;L.parent=void 0}return this.nodes=[],this},E.empty=function(){return this.removeAll()},E.insertAfter=function(S,H){H.parent=this;var L=this.index(S);this.nodes.splice(L+1,0,H),H.parent=this;var q;for(var K in this.indexes)q=this.indexes[K],L<=q&&(this.indexes[K]=q+1);return this},E.insertBefore=function(S,H){H.parent=this;var L=this.index(S);this.nodes.splice(L,0,H),H.parent=this;var q;for(var K in this.indexes)q=this.indexes[K],q<=L&&(this.indexes[K]=q+1);return this},E._findChildAtPosition=function(S,H){var L=void 0;return this.each(function(q){if(q.atPosition){var K=q.atPosition(S,H);if(K)return L=K,!1}else if(q.isAtPosition(S,H))return L=q,!1}),L},E.atPosition=function(S,H){if(this.isAtPosition(S,H))return this._findChildAtPosition(S,H)||this},E._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},E.each=function(S){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var H=this.lastEach;if(this.indexes[H]=0,!!this.length){for(var L,q;this.indexes[H]<this.length&&(L=this.indexes[H],q=S(this.at(L),L),q!==!1);)this.indexes[H]+=1;if(delete this.indexes[H],q===!1)return!1}},E.walk=function(S){return this.each(function(H,L){var q=S(H,L);if(q!==!1&&H.length&&(q=H.walk(S)),q===!1)return!1})},E.walkAttributes=function(S){var H=this;return this.walk(function(L){if(L.type===n.ATTRIBUTE)return S.call(H,L)})},E.walkClasses=function(S){var H=this;return this.walk(function(L){if(L.type===n.CLASS)return S.call(H,L)})},E.walkCombinators=function(S){var H=this;return this.walk(function(L){if(L.type===n.COMBINATOR)return S.call(H,L)})},E.walkComments=function(S){var H=this;return this.walk(function(L){if(L.type===n.COMMENT)return S.call(H,L)})},E.walkIds=function(S){var H=this;return this.walk(function(L){if(L.type===n.ID)return S.call(H,L)})},E.walkNesting=function(S){var H=this;return this.walk(function(L){if(L.type===n.NESTING)return S.call(H,L)})},E.walkPseudos=function(S){var H=this;return this.walk(function(L){if(L.type===n.PSEUDO)return S.call(H,L)})},E.walkTags=function(S){var H=this;return this.walk(function(L){if(L.type===n.TAG)return S.call(H,L)})},E.walkUniversals=function(S){var H=this;return this.walk(function(L){if(L.type===n.UNIVERSAL)return S.call(H,L)})},E.split=function(S){var H=this,L=[];return this.reduce(function(q,K,Z){var x=S.call(H,K);return L.push(K),x?(q.push(L),L=[]):Z===H.length-1&&q.push(L),q},[])},E.map=function(S){return this.nodes.map(S)},E.reduce=function(S,H){return this.nodes.reduce(S,H)},E.every=function(S){return this.nodes.every(S)},E.some=function(S){return this.nodes.some(S)},E.filter=function(S){return this.nodes.filter(S)},E.sort=function(S){return this.nodes.sort(S)},E.toString=function(){return this.map(String).join("")},h(v,[{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}}]),v}(r.default);e.default=b,t.exports=e.default}(gr,gr.exports);var xr=gr.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(xr),n=de;function i(d){return d&&d.__esModule?d:{default:d}}function s(d,h){for(var m=0;m<h.length;m++){var C=h[m];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(d,C.key,C)}}function a(d,h,m){return h&&s(d.prototype,h),m&&s(d,m),d}function c(d,h){d.prototype=Object.create(h.prototype),d.prototype.constructor=d,o(d,h)}function o(d,h){return o=Object.setPrototypeOf||function(C,b){return C.__proto__=b,C},o(d,h)}var l=function(d){c(h,d);function h(C){var b;return b=d.call(this,C)||this,b.type=n.ROOT,b}var m=h.prototype;return m.toString=function(){var b=this.reduce(function(p,v){return p.push(String(v)),p},[]).join(",");return this.trailingComma?b+",":b},m.error=function(b,p){return this._error?this._error(b,p):new Error(b)},a(h,[{key:"errorGenerator",set:function(b){this._error=b}}]),h}(r.default);e.default=l,t.exports=e.default})(mr,mr.exports);var si=mr.exports,wr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(xr),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.SELECTOR,h}return l}(r.default);e.default=c,t.exports=e.default})(wr,wr.exports);var ai=wr.exports,Sr={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var Xa={},Ya=Xa.hasOwnProperty,Va=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=Ya.call(e,i)?e[i]:r[i];return n},Qa=/[ -,\.\/:-@\[-\^`\{-~]/,Ka=/[ -,\.\/:-@\[\]\^`\{-~]/,Ja=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Tr=function t(e,r){r=Va(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",i=r.isIdentifier,s=e.charAt(0),a="",c=0,o=e.length;c<o;){var l=e.charAt(c++),d=l.charCodeAt(),h=void 0;if(d<32||d>126){if(d>=55296&&d<=56319&&c<o){var m=e.charCodeAt(c++);(m&64512)==56320?d=((d&1023)<<10)+(m&1023)+65536:c--}h="\\"+d.toString(16).toUpperCase()+" "}else r.escapeEverything?Qa.test(l)?h="\\"+l:h="\\"+d.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?h="\\"+d.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&n==l||l=="'"&&n==l)||i&&Ka.test(l)?h="\\"+l:h=l;a+=h}return i&&(/^-[-\d]/.test(a)?a="\\-"+a.slice(1):/\d/.test(s)&&(a="\\3"+s+" "+a.slice(1))),a=a.replace(Ja,function(C,b,p){return b&&b.length%2?C:(b||"")+p}),!i&&r.wrap?n+a+n:a};Tr.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},Tr.version="3.0.0";var kr=Tr;(function(t,e){e.__esModule=!0,e.default=void 0;var r=a(kr),n=Ae,i=a(st),s=de;function a(m){return m&&m.__esModule?m:{default:m}}function c(m,C){for(var b=0;b<C.length;b++){var p=C[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}function o(m,C,b){return C&&c(m.prototype,C),b&&c(m,b),m}function l(m,C){m.prototype=Object.create(C.prototype),m.prototype.constructor=m,d(m,C)}function d(m,C){return d=Object.setPrototypeOf||function(p,v){return p.__proto__=v,p},d(m,C)}var h=function(m){l(C,m);function C(p){var v;return v=m.call(this,p)||this,v.type=s.CLASS,v._constructed=!0,v}var b=C.prototype;return b.valueToString=function(){return"."+m.prototype.valueToString.call(this)},o(C,[{key:"value",get:function(){return this._value},set:function(v){if(this._constructed){var E=(0,r.default)(v,{isIdentifier:!0});E!==v?((0,n.ensureObject)(this,"raws"),this.raws.value=E):this.raws&&delete this.raws.value}this._value=v}}]),C}(i.default);e.default=h,t.exports=e.default})(Sr,Sr.exports);var oi=Sr.exports,$r={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(st),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.COMMENT,h}return l}(r.default);e.default=c,t.exports=e.default})($r,$r.exports);var li=$r.exports,Mr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(st),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(h){var m;return m=o.call(this,h)||this,m.type=n.ID,m}var d=l.prototype;return d.valueToString=function(){return"#"+o.prototype.valueToString.call(this)},l}(r.default);e.default=c,t.exports=e.default})(Mr,Mr.exports);var ci=Mr.exports,Er={exports:{}},Lr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=s(kr),n=Ae,i=s(st);function s(h){return h&&h.__esModule?h:{default:h}}function a(h,m){for(var C=0;C<m.length;C++){var b=m[C];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(h,b.key,b)}}function c(h,m,C){return m&&a(h.prototype,m),C&&a(h,C),h}function o(h,m){h.prototype=Object.create(m.prototype),h.prototype.constructor=h,l(h,m)}function l(h,m){return l=Object.setPrototypeOf||function(b,p){return b.__proto__=p,b},l(h,m)}var d=function(h){o(m,h);function m(){return h.apply(this,arguments)||this}var C=m.prototype;return C.qualifiedName=function(p){return this.namespace?this.namespaceString+"|"+p:p},C.valueToString=function(){return this.qualifiedName(h.prototype.valueToString.call(this))},c(m,[{key:"namespace",get:function(){return this._namespace},set:function(p){if(p===!0||p==="*"||p==="&"){this._namespace=p,this.raws&&delete this.raws.namespace;return}var v=(0,r.default)(p,{isIdentifier:!0});this._namespace=p,v!==p?((0,n.ensureObject)(this,"raws"),this.raws.namespace=v):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(p){this.namespace=p}},{key:"namespaceString",get:function(){if(this.namespace){var p=this.stringifyProperty("namespace");return p===!0?"":p}else return""}}]),m}(i.default);e.default=d,t.exports=e.default})(Lr,Lr.exports);var Dr=Lr.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Dr),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.TAG,h}return l}(r.default);e.default=c,t.exports=e.default})(Er,Er.exports);var ui=Er.exports,Pr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(st),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.STRING,h}return l}(r.default);e.default=c,t.exports=e.default})(Pr,Pr.exports);var di=Pr.exports,zr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(xr),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(h){var m;return m=o.call(this,h)||this,m.type=n.PSEUDO,m}var d=l.prototype;return d.toString=function(){var m=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),m,this.rawSpaceAfter].join("")},l}(r.default);e.default=c,t.exports=e.default})(zr,zr.exports);var hi=zr.exports,Or={},eo=to;function to(t,e){if(Br("noDeprecation"))return t;var r=!1;function n(){if(!r){if(Br("throwDeprecation"))throw new Error(e);Br("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function Br(t){try{if(!lt.localStorage)return!1}catch{return!1}var e=lt.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}(function(t){t.__esModule=!0,t.unescapeValue=v,t.default=void 0;var e=a(kr),r=a(ii),n=a(Dr),i=de,s;function a(L){return L&&L.__esModule?L:{default:L}}function c(L,q){for(var K=0;K<q.length;K++){var Z=q[K];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(L,Z.key,Z)}}function o(L,q,K){return q&&c(L.prototype,q),K&&c(L,K),L}function l(L,q){L.prototype=Object.create(q.prototype),L.prototype.constructor=L,d(L,q)}function d(L,q){return d=Object.setPrototypeOf||function(Z,x){return Z.__proto__=x,Z},d(L,q)}var h=eo,m=/^('|")([^]*)\1$/,C=h(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),b=h(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),p=h(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function v(L){var q=!1,K=null,Z=L,x=Z.match(m);return x&&(K=x[1],Z=x[2]),Z=(0,r.default)(Z),Z!==L&&(q=!0),{deprecatedUsage:q,unescaped:Z,quoteMark:K}}function E(L){if(L.quoteMark!==void 0||L.value===void 0)return L;p();var q=v(L.value),K=q.quoteMark,Z=q.unescaped;return L.raws||(L.raws={}),L.raws.value===void 0&&(L.raws.value=L.value),L.value=Z,L.quoteMark=K,L}var T=function(L){l(q,L);function q(Z){var x;return Z===void 0&&(Z={}),x=L.call(this,E(Z))||this,x.type=i.ATTRIBUTE,x.raws=x.raws||{},Object.defineProperty(x.raws,"unquoted",{get:h(function(){return x.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:h(function(){return x.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),x._constructed=!0,x}var K=q.prototype;return K.getQuotedValue=function(x){x===void 0&&(x={});var B=this._determineQuoteMark(x),U=S[B],P=(0,e.default)(this._value,U);return P},K._determineQuoteMark=function(x){return x.smart?this.smartQuoteMark(x):this.preferredQuoteMark(x)},K.setValue=function(x,B){B===void 0&&(B={}),this._value=x,this._quoteMark=this._determineQuoteMark(B),this._syncRawValue()},K.smartQuoteMark=function(x){var B=this.value,U=B.replace(/[^']/g,"").length,P=B.replace(/[^"]/g,"").length;if(U+P===0){var Y=(0,e.default)(B,{isIdentifier:!0});if(Y===B)return q.NO_QUOTE;var V=this.preferredQuoteMark(x);if(V===q.NO_QUOTE){var F=this.quoteMark||x.quoteMark||q.DOUBLE_QUOTE,k=S[F],z=(0,e.default)(B,k);if(z.length<Y.length)return F}return V}else return P===U?this.preferredQuoteMark(x):P<U?q.DOUBLE_QUOTE:q.SINGLE_QUOTE},K.preferredQuoteMark=function(x){var B=x.preferCurrentQuoteMark?this.quoteMark:x.quoteMark;return B===void 0&&(B=x.preferCurrentQuoteMark?x.quoteMark:this.quoteMark),B===void 0&&(B=q.DOUBLE_QUOTE),B},K._syncRawValue=function(){var x=(0,e.default)(this._value,S[this.quoteMark]);x===this._value?this.raws&&delete this.raws.value:this.raws.value=x},K._handleEscapes=function(x,B){if(this._constructed){var U=(0,e.default)(B,{isIdentifier:!0});U!==B?this.raws[x]=U:delete this.raws[x]}},K._spacesFor=function(x){var B={before:"",after:""},U=this.spaces[x]||{},P=this.raws.spaces&&this.raws.spaces[x]||{};return Object.assign(B,U,P)},K._stringFor=function(x,B,U){B===void 0&&(B=x),U===void 0&&(U=H);var P=this._spacesFor(B);return U(this.stringifyProperty(x),P)},K.offsetOf=function(x){var B=1,U=this._spacesFor("attribute");if(B+=U.before.length,x==="namespace"||x==="ns")return this.namespace?B:-1;if(x==="attributeNS"||(B+=this.namespaceString.length,this.namespace&&(B+=1),x==="attribute"))return B;B+=this.stringifyProperty("attribute").length,B+=U.after.length;var P=this._spacesFor("operator");B+=P.before.length;var Y=this.stringifyProperty("operator");if(x==="operator")return Y?B:-1;B+=Y.length,B+=P.after.length;var V=this._spacesFor("value");B+=V.before.length;var F=this.stringifyProperty("value");if(x==="value")return F?B:-1;B+=F.length,B+=V.after.length;var k=this._spacesFor("insensitive");return B+=k.before.length,x==="insensitive"&&this.insensitive?B:-1},K.toString=function(){var x=this,B=[this.rawSpaceBefore,"["];return B.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(B.push(this._stringFor("operator")),B.push(this._stringFor("value")),B.push(this._stringFor("insensitiveFlag","insensitive",function(U,P){return U.length>0&&!x.quoted&&P.before.length===0&&!(x.spaces.value&&x.spaces.value.after)&&(P.before=" "),H(U,P)}))),B.push("]"),B.push(this.rawSpaceAfter),B.join("")},o(q,[{key:"quoted",get:function(){var x=this.quoteMark;return x==="'"||x==='"'},set:function(x){b()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(x){if(!this._constructed){this._quoteMark=x;return}this._quoteMark!==x&&(this._quoteMark=x,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(x){if(this._constructed){var B=v(x),U=B.deprecatedUsage,P=B.unescaped,Y=B.quoteMark;if(U&&C(),P===this._value&&Y===this._quoteMark)return;this._value=P,this._quoteMark=Y,this._syncRawValue()}else this._value=x}},{key:"attribute",get:function(){return this._attribute},set:function(x){this._handleEscapes("attribute",x),this._attribute=x}}]),q}(n.default);t.default=T,T.NO_QUOTE=null,T.SINGLE_QUOTE="'",T.DOUBLE_QUOTE='"';var S=(s={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},s[null]={isIdentifier:!0},s);function H(L,q){return""+q.before+L+q.after}})(Or);var Ir={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Dr),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.UNIVERSAL,h.value="*",h}return l}(r.default);e.default=c,t.exports=e.default})(Ir,Ir.exports);var pi=Ir.exports,Fr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(st),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.COMBINATOR,h}return l}(r.default);e.default=c,t.exports=e.default})(Fr,Fr.exports);var fi=Fr.exports,Rr={exports:{}};(function(t,e){e.__esModule=!0,e.default=void 0;var r=i(st),n=de;function i(o){return o&&o.__esModule?o:{default:o}}function s(o,l){o.prototype=Object.create(l.prototype),o.prototype.constructor=o,a(o,l)}function a(o,l){return a=Object.setPrototypeOf||function(h,m){return h.__proto__=m,h},a(o,l)}var c=function(o){s(l,o);function l(d){var h;return h=o.call(this,d)||this,h.type=n.NESTING,h.value="&",h}return l}(r.default);e.default=c,t.exports=e.default})(Rr,Rr.exports);var mi=Rr.exports,Ar={exports:{}};(function(t,e){e.__esModule=!0,e.default=r;function r(n){return n.sort(function(i,s){return i-s})}t.exports=e.default})(Ar,Ar.exports);var ro=Ar.exports,gi={},ee={};ee.__esModule=!0,ee.combinator=ee.word=ee.comment=ee.str=ee.tab=ee.newline=ee.feed=ee.cr=ee.backslash=ee.bang=ee.slash=ee.doubleQuote=ee.singleQuote=ee.space=ee.greaterThan=ee.pipe=ee.equals=ee.plus=ee.caret=ee.tilde=ee.dollar=ee.closeSquare=ee.openSquare=ee.closeParenthesis=ee.openParenthesis=ee.semicolon=ee.colon=ee.comma=ee.at=ee.asterisk=ee.ampersand=void 0;var no=38;ee.ampersand=no;var io=42;ee.asterisk=io;var so=64;ee.at=so;var ao=44;ee.comma=ao;var oo=58;ee.colon=oo;var lo=59;ee.semicolon=lo;var co=40;ee.openParenthesis=co;var uo=41;ee.closeParenthesis=uo;var ho=91;ee.openSquare=ho;var po=93;ee.closeSquare=po;var fo=36;ee.dollar=fo;var mo=126;ee.tilde=mo;var go=94;ee.caret=go;var vo=43;ee.plus=vo;var yo=61;ee.equals=yo;var _o=124;ee.pipe=_o;var Co=62;ee.greaterThan=Co;var bo=32;ee.space=bo;var vi=39;ee.singleQuote=vi;var xo=34;ee.doubleQuote=xo;var wo=47;ee.slash=wo;var So=33;ee.bang=So;var To=92;ee.backslash=To;var ko=13;ee.cr=ko;var $o=12;ee.feed=$o;var Mo=10;ee.newline=Mo;var Eo=9;ee.tab=Eo;var Lo=vi;ee.str=Lo;var Do=-1;ee.comment=Do;var Po=-2;ee.word=Po;var zo=-3;ee.combinator=zo,function(t){t.__esModule=!0,t.default=b,t.FIELDS=void 0;var e=s(ee),r,n;function i(){if(typeof WeakMap!="function")return null;var p=new WeakMap;return i=function(){return p},p}function s(p){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var v=i();if(v&&v.has(p))return v.get(p);var E={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in p)if(Object.prototype.hasOwnProperty.call(p,S)){var H=T?Object.getOwnPropertyDescriptor(p,S):null;H&&(H.get||H.set)?Object.defineProperty(E,S,H):E[S]=p[S]}return E.default=p,v&&v.set(p,E),E}for(var a=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),c=(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),o={},l="0123456789abcdefABCDEF",d=0;d<l.length;d++)o[l.charCodeAt(d)]=!0;function h(p,v){var E=v,T;do{if(T=p.charCodeAt(E),c[T])return E-1;T===e.backslash?E=m(p,E)+1:E++}while(E<p.length);return E-1}function m(p,v){var E=v,T=p.charCodeAt(E+1);if(!a[T])if(o[T]){var S=0;do E++,S++,T=p.charCodeAt(E+1);while(o[T]&&S<6);S<6&&T===e.space&&E++}else E++;return E}var C={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=C;function b(p){var v=[],E=p.css.valueOf(),T=E,S=T.length,H=-1,L=1,q=0,K=0,Z,x,B,U,P,Y,V,F,k,z,j,ne,_;function X(A,I){if(p.safe)E+=I,k=E.length-1;else throw p.error("Unclosed "+A,L,q-H,q)}for(;q<S;){switch(Z=E.charCodeAt(q),Z===e.newline&&(H=q,L+=1),Z){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:k=q;do k+=1,Z=E.charCodeAt(k),Z===e.newline&&(H=k,L+=1);while(Z===e.space||Z===e.newline||Z===e.tab||Z===e.cr||Z===e.feed);_=e.space,U=L,B=k-H-1,K=k;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:k=q;do k+=1,Z=E.charCodeAt(k);while(Z===e.plus||Z===e.greaterThan||Z===e.tilde||Z===e.pipe);_=e.combinator,U=L,B=q-H,K=k;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:k=q,_=Z,U=L,B=q-H,K=k+1;break;case e.singleQuote:case e.doubleQuote:ne=Z===e.singleQuote?"'":'"',k=q;do for(P=!1,k=E.indexOf(ne,k+1),k===-1&&X("quote",ne),Y=k;E.charCodeAt(Y-1)===e.backslash;)Y-=1,P=!P;while(P);_=e.str,U=L,B=q-H,K=k+1;break;default:Z===e.slash&&E.charCodeAt(q+1)===e.asterisk?(k=E.indexOf("*/",q+2)+1,k===0&&X("comment","*/"),x=E.slice(q,k+1),F=x.split(`
|
|
3
3
|
`),V=F.length-1,V>0?(z=L+V,j=k-F[V].length):(z=L,j=H),_=e.comment,L=z,U=z,B=k-j):Z===e.slash?(k=q,_=Z,U=L,B=q-H,K=k+1):(k=h(E,q),_=e.word,U=L,B=k-H),K=k+1;break}v.push([_,L,q-H,U,B,q,K]),j&&(H=j,j=null),q=K}return v}}(gi),function(t,e){e.__esModule=!0,e.default=void 0;var r=K(si),n=K(ai),i=K(oi),s=K(li),a=K(ci),c=K(ui),o=K(di),l=K(hi),d=q(Or),h=K(pi),m=K(fi),C=K(mi),b=K(ro),p=q(gi),v=q(ee),E=q(de),T=Ae,S,H;function L(){if(typeof WeakMap!="function")return null;var X=new WeakMap;return L=function(){return X},X}function q(X){if(X&&X.__esModule)return X;if(X===null||typeof X!="object"&&typeof X!="function")return{default:X};var A=L();if(A&&A.has(X))return A.get(X);var I={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in X)if(Object.prototype.hasOwnProperty.call(X,W)){var Q=w?Object.getOwnPropertyDescriptor(X,W):null;Q&&(Q.get||Q.set)?Object.defineProperty(I,W,Q):I[W]=X[W]}return I.default=X,A&&A.set(X,I),I}function K(X){return X&&X.__esModule?X:{default:X}}function Z(X,A){for(var I=0;I<A.length;I++){var w=A[I];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(X,w.key,w)}}function x(X,A,I){return A&&Z(X.prototype,A),I&&Z(X,I),X}var B=(S={},S[v.space]=!0,S[v.cr]=!0,S[v.feed]=!0,S[v.newline]=!0,S[v.tab]=!0,S),U=Object.assign({},B,(H={},H[v.comment]=!0,H));function P(X){return{line:X[p.FIELDS.START_LINE],column:X[p.FIELDS.START_COL]}}function Y(X){return{line:X[p.FIELDS.END_LINE],column:X[p.FIELDS.END_COL]}}function V(X,A,I,w){return{start:{line:X,column:A},end:{line:I,column:w}}}function F(X){return V(X[p.FIELDS.START_LINE],X[p.FIELDS.START_COL],X[p.FIELDS.END_LINE],X[p.FIELDS.END_COL])}function k(X,A){if(X)return V(X[p.FIELDS.START_LINE],X[p.FIELDS.START_COL],A[p.FIELDS.END_LINE],A[p.FIELDS.END_COL])}function z(X,A){var I=X[A];if(typeof I=="string")return I.indexOf("\\")!==-1&&((0,T.ensureObject)(X,"raws"),X[A]=(0,T.unesc)(I),X.raws[A]===void 0&&(X.raws[A]=I)),X}function j(X,A){for(var I=-1,w=[];(I=X.indexOf(A,I+1))!==-1;)w.push(I);return w}function ne(){var X=Array.prototype.concat.apply([],arguments);return X.filter(function(A,I){return I===X.indexOf(A)})}var _=function(){function X(I,w){w===void 0&&(w={}),this.rule=I,this.options=Object.assign({lossy:!1,safe:!1},w),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,p.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var W=k(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:W}),this.root.errorGenerator=this._errorGenerator();var Q=new n.default({source:{start:{line:1,column:1}}});this.root.append(Q),this.current=Q,this.loop()}var A=X.prototype;return A._errorGenerator=function(){var w=this;return function(W,Q){return typeof w.rule=="string"?new Error(W):w.rule.error(W,Q)}},A.attribute=function(){var w=[],W=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[p.FIELDS.TYPE]!==v.closeSquare;)w.push(this.currToken),this.position++;if(this.currToken[p.FIELDS.TYPE]!==v.closeSquare)return this.expected("closing square bracket",this.currToken[p.FIELDS.START_POS]);var Q=w.length,D={source:V(W[1],W[2],this.currToken[3],this.currToken[4]),sourceIndex:W[p.FIELDS.START_POS]};if(Q===1&&!~[v.word].indexOf(w[0][p.FIELDS.TYPE]))return this.expected("attribute",w[0][p.FIELDS.START_POS]);for(var re=0,ue="",le="",ie=null,he=!1;re<Q;){var Te=w[re],oe=this.content(Te),_e=w[re+1];switch(Te[p.FIELDS.TYPE]){case v.space:if(he=!0,this.options.lossy)break;if(ie){(0,T.ensureObject)(D,"spaces",ie);var Ne=D.spaces[ie].after||"";D.spaces[ie].after=Ne+oe;var Ie=(0,T.getProp)(D,"raws","spaces",ie,"after")||null;Ie&&(D.raws.spaces[ie].after=Ie+oe)}else ue=ue+oe,le=le+oe;break;case v.asterisk:if(_e[p.FIELDS.TYPE]===v.equals)D.operator=oe,ie="operator";else if((!D.namespace||ie==="namespace"&&!he)&&_e){ue&&((0,T.ensureObject)(D,"spaces","attribute"),D.spaces.attribute.before=ue,ue=""),le&&((0,T.ensureObject)(D,"raws","spaces","attribute"),D.raws.spaces.attribute.before=ue,le=""),D.namespace=(D.namespace||"")+oe;var $e=(0,T.getProp)(D,"raws","namespace")||null;$e&&(D.raws.namespace+=oe),ie="namespace"}he=!1;break;case v.dollar:if(ie==="value"){var ke=(0,T.getProp)(D,"raws","value");D.value+="$",ke&&(D.raws.value=ke+"$");break}case v.caret:_e[p.FIELDS.TYPE]===v.equals&&(D.operator=oe,ie="operator"),he=!1;break;case v.combinator:if(oe==="~"&&_e[p.FIELDS.TYPE]===v.equals&&(D.operator=oe,ie="operator"),oe!=="|"){he=!1;break}_e[p.FIELDS.TYPE]===v.equals?(D.operator=oe,ie="operator"):!D.namespace&&!D.attribute&&(D.namespace=!0),he=!1;break;case v.word:if(_e&&this.content(_e)==="|"&&w[re+2]&&w[re+2][p.FIELDS.TYPE]!==v.equals&&!D.operator&&!D.namespace)D.namespace=oe,ie="namespace";else if(!D.attribute||ie==="attribute"&&!he){ue&&((0,T.ensureObject)(D,"spaces","attribute"),D.spaces.attribute.before=ue,ue=""),le&&((0,T.ensureObject)(D,"raws","spaces","attribute"),D.raws.spaces.attribute.before=le,le=""),D.attribute=(D.attribute||"")+oe;var Ee=(0,T.getProp)(D,"raws","attribute")||null;Ee&&(D.raws.attribute+=oe),ie="attribute"}else if(!D.value&&D.value!==""||ie==="value"&&!he){var Me=(0,T.unesc)(oe),Le=(0,T.getProp)(D,"raws","value")||"",De=D.value||"";D.value=De+Me,D.quoteMark=null,(Me!==oe||Le)&&((0,T.ensureObject)(D,"raws"),D.raws.value=(Le||De)+oe),ie="value"}else{var tt=oe==="i"||oe==="I";(D.value||D.value==="")&&(D.quoteMark||he)?(D.insensitive=tt,(!tt||oe==="I")&&((0,T.ensureObject)(D,"raws"),D.raws.insensitiveFlag=oe),ie="insensitive",ue&&((0,T.ensureObject)(D,"spaces","insensitive"),D.spaces.insensitive.before=ue,ue=""),le&&((0,T.ensureObject)(D,"raws","spaces","insensitive"),D.raws.spaces.insensitive.before=le,le="")):(D.value||D.value==="")&&(ie="value",D.value+=oe,D.raws.value&&(D.raws.value+=oe))}he=!1;break;case v.str:if(!D.attribute||!D.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Te[p.FIELDS.START_POS]});var Je=(0,d.unescapeValue)(oe),ct=Je.unescaped,kt=Je.quoteMark;D.value=ct,D.quoteMark=kt,ie="value",(0,T.ensureObject)(D,"raws"),D.raws.value=oe,he=!1;break;case v.equals:if(!D.attribute)return this.expected("attribute",Te[p.FIELDS.START_POS],oe);if(D.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Te[p.FIELDS.START_POS]});D.operator=D.operator?D.operator+oe:oe,ie="operator",he=!1;break;case v.comment:if(ie)if(he||_e&&_e[p.FIELDS.TYPE]===v.space||ie==="insensitive"){var Ye=(0,T.getProp)(D,"spaces",ie,"after")||"",mt=(0,T.getProp)(D,"raws","spaces",ie,"after")||Ye;(0,T.ensureObject)(D,"raws","spaces",ie),D.raws.spaces[ie].after=mt+oe}else{var Wt=D[ie]||"",Gt=(0,T.getProp)(D,"raws",ie)||Wt;(0,T.ensureObject)(D,"raws"),D.raws[ie]=Gt+oe}else le=le+oe;break;default:return this.error('Unexpected "'+oe+'" found.',{index:Te[p.FIELDS.START_POS]})}re++}z(D,"attribute"),z(D,"namespace"),this.newNode(new d.default(D)),this.position++},A.parseWhitespaceEquivalentTokens=function(w){w<0&&(w=this.tokens.length);var W=this.position,Q=[],D="",re=void 0;do if(B[this.currToken[p.FIELDS.TYPE]])this.options.lossy||(D+=this.content());else if(this.currToken[p.FIELDS.TYPE]===v.comment){var ue={};D&&(ue.before=D,D=""),re=new s.default({value:this.content(),source:F(this.currToken),sourceIndex:this.currToken[p.FIELDS.START_POS],spaces:ue}),Q.push(re)}while(++this.position<w);if(D){if(re)re.spaces.after=D;else if(!this.options.lossy){var le=this.tokens[W],ie=this.tokens[this.position-1];Q.push(new o.default({value:"",source:V(le[p.FIELDS.START_LINE],le[p.FIELDS.START_COL],ie[p.FIELDS.END_LINE],ie[p.FIELDS.END_COL]),sourceIndex:le[p.FIELDS.START_POS],spaces:{before:D,after:""}}))}}return Q},A.convertWhitespaceNodesToSpace=function(w,W){var Q=this;W===void 0&&(W=!1);var D="",re="";w.forEach(function(le){var ie=Q.lossySpace(le.spaces.before,W),he=Q.lossySpace(le.rawSpaceBefore,W);D+=ie+Q.lossySpace(le.spaces.after,W&&ie.length===0),re+=ie+le.value+Q.lossySpace(le.rawSpaceAfter,W&&he.length===0)}),re===D&&(re=void 0);var ue={space:D,rawSpace:re};return ue},A.isNamedCombinator=function(w){return w===void 0&&(w=this.position),this.tokens[w+0]&&this.tokens[w+0][p.FIELDS.TYPE]===v.slash&&this.tokens[w+1]&&this.tokens[w+1][p.FIELDS.TYPE]===v.word&&this.tokens[w+2]&&this.tokens[w+2][p.FIELDS.TYPE]===v.slash},A.namedCombinator=function(){if(this.isNamedCombinator()){var w=this.content(this.tokens[this.position+1]),W=(0,T.unesc)(w).toLowerCase(),Q={};W!==w&&(Q.value="/"+w+"/");var D=new m.default({value:"/"+W+"/",source:V(this.currToken[p.FIELDS.START_LINE],this.currToken[p.FIELDS.START_COL],this.tokens[this.position+2][p.FIELDS.END_LINE],this.tokens[this.position+2][p.FIELDS.END_COL]),sourceIndex:this.currToken[p.FIELDS.START_POS],raws:Q});return this.position=this.position+3,D}else this.unexpected()},A.combinator=function(){var w=this;if(this.content()==="|")return this.namespace();var W=this.locateNextMeaningfulToken(this.position);if(W<0||this.tokens[W][p.FIELDS.TYPE]===v.comma){var Q=this.parseWhitespaceEquivalentTokens(W);if(Q.length>0){var D=this.current.last;if(D){var re=this.convertWhitespaceNodesToSpace(Q),ue=re.space,le=re.rawSpace;le!==void 0&&(D.rawSpaceAfter+=le),D.spaces.after+=ue}else Q.forEach(function(Le){return w.newNode(Le)})}return}var ie=this.currToken,he=void 0;W>this.position&&(he=this.parseWhitespaceEquivalentTokens(W));var Te;if(this.isNamedCombinator()?Te=this.namedCombinator():this.currToken[p.FIELDS.TYPE]===v.combinator?(Te=new m.default({value:this.content(),source:F(this.currToken),sourceIndex:this.currToken[p.FIELDS.START_POS]}),this.position++):B[this.currToken[p.FIELDS.TYPE]]||he||this.unexpected(),Te){if(he){var oe=this.convertWhitespaceNodesToSpace(he),_e=oe.space,Ne=oe.rawSpace;Te.spaces.before=_e,Te.rawSpaceBefore=Ne}}else{var Ie=this.convertWhitespaceNodesToSpace(he,!0),$e=Ie.space,ke=Ie.rawSpace;ke||(ke=$e);var Ee={},Me={spaces:{}};$e.endsWith(" ")&&ke.endsWith(" ")?(Ee.before=$e.slice(0,$e.length-1),Me.spaces.before=ke.slice(0,ke.length-1)):$e.startsWith(" ")&&ke.startsWith(" ")?(Ee.after=$e.slice(1),Me.spaces.after=ke.slice(1)):Me.value=ke,Te=new m.default({value:" ",source:k(ie,this.tokens[this.position-1]),sourceIndex:ie[p.FIELDS.START_POS],spaces:Ee,raws:Me})}return this.currToken&&this.currToken[p.FIELDS.TYPE]===v.space&&(Te.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Te)},A.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var w=new n.default({source:{start:P(this.tokens[this.position+1])}});this.current.parent.append(w),this.current=w,this.position++},A.comment=function(){var w=this.currToken;this.newNode(new s.default({value:this.content(),source:F(w),sourceIndex:w[p.FIELDS.START_POS]})),this.position++},A.error=function(w,W){throw this.root.error(w,W)},A.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[p.FIELDS.START_POS]})},A.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[p.FIELDS.START_POS])},A.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[p.FIELDS.START_POS])},A.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[p.FIELDS.START_POS])},A.namespace=function(){var w=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[p.FIELDS.TYPE]===v.word)return this.position++,this.word(w);if(this.nextToken[p.FIELDS.TYPE]===v.asterisk)return this.position++,this.universal(w)},A.nesting=function(){if(this.nextToken){var w=this.content(this.nextToken);if(w==="|"){this.position++;return}}var W=this.currToken;this.newNode(new C.default({value:this.content(),source:F(W),sourceIndex:W[p.FIELDS.START_POS]})),this.position++},A.parentheses=function(){var w=this.current.last,W=1;if(this.position++,w&&w.type===E.PSEUDO){var Q=new n.default({source:{start:P(this.tokens[this.position-1])}}),D=this.current;for(w.append(Q),this.current=Q;this.position<this.tokens.length&&W;)this.currToken[p.FIELDS.TYPE]===v.openParenthesis&&W++,this.currToken[p.FIELDS.TYPE]===v.closeParenthesis&&W--,W?this.parse():(this.current.source.end=Y(this.currToken),this.current.parent.source.end=Y(this.currToken),this.position++);this.current=D}else{for(var re=this.currToken,ue="(",le;this.position<this.tokens.length&&W;)this.currToken[p.FIELDS.TYPE]===v.openParenthesis&&W++,this.currToken[p.FIELDS.TYPE]===v.closeParenthesis&&W--,le=this.currToken,ue+=this.parseParenthesisToken(this.currToken),this.position++;w?w.appendToPropertyAndEscape("value",ue,ue):this.newNode(new o.default({value:ue,source:V(re[p.FIELDS.START_LINE],re[p.FIELDS.START_COL],le[p.FIELDS.END_LINE],le[p.FIELDS.END_COL]),sourceIndex:re[p.FIELDS.START_POS]}))}if(W)return this.expected("closing parenthesis",this.currToken[p.FIELDS.START_POS])},A.pseudo=function(){for(var w=this,W="",Q=this.currToken;this.currToken&&this.currToken[p.FIELDS.TYPE]===v.colon;)W+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[p.FIELDS.TYPE]===v.word)this.splitWord(!1,function(D,re){W+=D,w.newNode(new l.default({value:W,source:k(Q,w.currToken),sourceIndex:Q[p.FIELDS.START_POS]})),re>1&&w.nextToken&&w.nextToken[p.FIELDS.TYPE]===v.openParenthesis&&w.error("Misplaced parenthesis.",{index:w.nextToken[p.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[p.FIELDS.START_POS])},A.space=function(){var w=this.content();this.position===0||this.prevToken[p.FIELDS.TYPE]===v.comma||this.prevToken[p.FIELDS.TYPE]===v.openParenthesis||this.current.nodes.every(function(W){return W.type==="comment"})?(this.spaces=this.optionalSpace(w),this.position++):this.position===this.tokens.length-1||this.nextToken[p.FIELDS.TYPE]===v.comma||this.nextToken[p.FIELDS.TYPE]===v.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(w),this.position++):this.combinator()},A.string=function(){var w=this.currToken;this.newNode(new o.default({value:this.content(),source:F(w),sourceIndex:w[p.FIELDS.START_POS]})),this.position++},A.universal=function(w){var W=this.nextToken;if(W&&this.content(W)==="|")return this.position++,this.namespace();var Q=this.currToken;this.newNode(new h.default({value:this.content(),source:F(Q),sourceIndex:Q[p.FIELDS.START_POS]}),w),this.position++},A.splitWord=function(w,W){for(var Q=this,D=this.nextToken,re=this.content();D&&~[v.dollar,v.caret,v.equals,v.word].indexOf(D[p.FIELDS.TYPE]);){this.position++;var ue=this.content();if(re+=ue,ue.lastIndexOf("\\")===ue.length-1){var le=this.nextToken;le&&le[p.FIELDS.TYPE]===v.space&&(re+=this.requiredSpace(this.content(le)),this.position++)}D=this.nextToken}var ie=j(re,".").filter(function(_e){var Ne=re[_e-1]==="\\",Ie=/^\d+\.\d+%$/.test(re);return!Ne&&!Ie}),he=j(re,"#").filter(function(_e){return re[_e-1]!=="\\"}),Te=j(re,"#{");Te.length&&(he=he.filter(function(_e){return!~Te.indexOf(_e)}));var oe=(0,b.default)(ne([0].concat(ie,he)));oe.forEach(function(_e,Ne){var Ie=oe[Ne+1]||re.length,$e=re.slice(_e,Ie);if(Ne===0&&W)return W.call(Q,$e,oe.length);var ke,Ee=Q.currToken,Me=Ee[p.FIELDS.START_POS]+oe[Ne],Le=V(Ee[1],Ee[2]+_e,Ee[3],Ee[2]+(Ie-1));if(~ie.indexOf(_e)){var De={value:$e.slice(1),source:Le,sourceIndex:Me};ke=new i.default(z(De,"value"))}else if(~he.indexOf(_e)){var tt={value:$e.slice(1),source:Le,sourceIndex:Me};ke=new a.default(z(tt,"value"))}else{var Je={value:$e,source:Le,sourceIndex:Me};z(Je,"value"),ke=new c.default(Je)}Q.newNode(ke,w),w=null}),this.position++},A.word=function(w){var W=this.nextToken;return W&&this.content(W)==="|"?(this.position++,this.namespace()):this.splitWord(w)},A.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},A.parse=function(w){switch(this.currToken[p.FIELDS.TYPE]){case v.space:this.space();break;case v.comment:this.comment();break;case v.openParenthesis:this.parentheses();break;case v.closeParenthesis:w&&this.missingParenthesis();break;case v.openSquare:this.attribute();break;case v.dollar:case v.caret:case v.equals:case v.word:this.word();break;case v.colon:this.pseudo();break;case v.comma:this.comma();break;case v.asterisk:this.universal();break;case v.ampersand:this.nesting();break;case v.slash:case v.combinator:this.combinator();break;case v.str:this.string();break;case v.closeSquare:this.missingSquareBracket();case v.semicolon:this.missingBackslash();default:this.unexpected()}},A.expected=function(w,W,Q){if(Array.isArray(w)){var D=w.pop();w=w.join(", ")+" or "+D}var re=/^[aeiou]/.test(w[0])?"an":"a";return Q?this.error("Expected "+re+" "+w+', found "'+Q+'" instead.',{index:W}):this.error("Expected "+re+" "+w+".",{index:W})},A.requiredSpace=function(w){return this.options.lossy?" ":w},A.optionalSpace=function(w){return this.options.lossy?"":w},A.lossySpace=function(w,W){return this.options.lossy?W?" ":"":w},A.parseParenthesisToken=function(w){var W=this.content(w);return w[p.FIELDS.TYPE]===v.space?this.requiredSpace(W):W},A.newNode=function(w,W){return W&&(/^ +$/.test(W)&&(this.options.lossy||(this.spaces=(this.spaces||"")+W),W=!0),w.namespace=W,z(w,"namespace")),this.spaces&&(w.spaces.before=this.spaces,this.spaces=""),this.current.append(w)},A.content=function(w){return w===void 0&&(w=this.currToken),this.css.slice(w[p.FIELDS.START_POS],w[p.FIELDS.END_POS])},A.locateNextMeaningfulToken=function(w){w===void 0&&(w=this.position+1);for(var W=w;W<this.tokens.length;)if(U[this.tokens[W][p.FIELDS.TYPE]]){W++;continue}else return W;return-1},x(X,[{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]}}]),X}();e.default=_,t.exports=e.default}(fr,fr.exports);var Oo=fr.exports;(function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Oo);function n(s){return s&&s.__esModule?s:{default:s}}var i=function(){function s(c,o){this.func=c||function(){},this.funcRes=null,this.options=o}var a=s.prototype;return a._shouldUpdateSelector=function(o,l){l===void 0&&(l={});var d=Object.assign({},this.options,l);return d.updateSelector===!1?!1:typeof o!="string"},a._isLossy=function(o){o===void 0&&(o={});var l=Object.assign({},this.options,o);return l.lossless===!1},a._root=function(o,l){l===void 0&&(l={});var d=new r.default(o,this._parseOptions(l));return d.root},a._parseOptions=function(o){return{lossy:this._isLossy(o)}},a._run=function(o,l){var d=this;return l===void 0&&(l={}),new Promise(function(h,m){try{var C=d._root(o,l);Promise.resolve(d.func(C)).then(function(b){var p=void 0;return d._shouldUpdateSelector(o,l)&&(p=C.toString(),o.selector=p),{transform:b,root:C,string:p}}).then(h,m)}catch(b){m(b);return}})},a._runSync=function(o,l){l===void 0&&(l={});var d=this._root(o,l),h=this.func(d);if(h&&typeof h.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var m=void 0;return l.updateSelector&&typeof o!="string"&&(m=d.toString(),o.selector=m),{transform:h,root:d,string:m}},a.ast=function(o,l){return this._run(o,l).then(function(d){return d.root})},a.astSync=function(o,l){return this._runSync(o,l).root},a.transform=function(o,l){return this._run(o,l).then(function(d){return d.transform})},a.transformSync=function(o,l){return this._runSync(o,l).transform},a.process=function(o,l){return this._run(o,l).then(function(d){return d.string||d.root.toString()})},a.processSync=function(o,l){var d=this._runSync(o,l);return d.string||d.root.toString()},s}();e.default=i,t.exports=e.default})(pr,pr.exports);var Bo=pr.exports,yi={},ye={};ye.__esModule=!0,ye.universal=ye.tag=ye.string=ye.selector=ye.root=ye.pseudo=ye.nesting=ye.id=ye.comment=ye.combinator=ye.className=ye.attribute=void 0;var Io=We(Or),Fo=We(oi),Ro=We(fi),Ao=We(li),Ho=We(ci),No=We(mi),jo=We(hi),qo=We(si),Wo=We(ai),Go=We(di),Uo=We(ui),Zo=We(pi);function We(t){return t&&t.__esModule?t:{default:t}}var Xo=function(e){return new Io.default(e)};ye.attribute=Xo;var Yo=function(e){return new Fo.default(e)};ye.className=Yo;var Vo=function(e){return new Ro.default(e)};ye.combinator=Vo;var Qo=function(e){return new Ao.default(e)};ye.comment=Qo;var Ko=function(e){return new Ho.default(e)};ye.id=Ko;var Jo=function(e){return new No.default(e)};ye.nesting=Jo;var e1=function(e){return new jo.default(e)};ye.pseudo=e1;var t1=function(e){return new qo.default(e)};ye.root=t1;var r1=function(e){return new Wo.default(e)};ye.selector=r1;var n1=function(e){return new Go.default(e)};ye.string=n1;var i1=function(e){return new Uo.default(e)};ye.tag=i1;var s1=function(e){return new Zo.default(e)};ye.universal=s1;var ge={};ge.__esModule=!0,ge.isNode=Hr,ge.isPseudoElement=bi,ge.isPseudoClass=g1,ge.isContainer=v1,ge.isNamespace=y1,ge.isUniversal=ge.isTag=ge.isString=ge.isSelector=ge.isRoot=ge.isPseudo=ge.isNesting=ge.isIdentifier=ge.isComment=ge.isCombinator=ge.isClassName=ge.isAttribute=void 0;var be=de,Fe,a1=(Fe={},Fe[be.ATTRIBUTE]=!0,Fe[be.CLASS]=!0,Fe[be.COMBINATOR]=!0,Fe[be.COMMENT]=!0,Fe[be.ID]=!0,Fe[be.NESTING]=!0,Fe[be.PSEUDO]=!0,Fe[be.ROOT]=!0,Fe[be.SELECTOR]=!0,Fe[be.STRING]=!0,Fe[be.TAG]=!0,Fe[be.UNIVERSAL]=!0,Fe);function Hr(t){return typeof t=="object"&&a1[t.type]}function Ge(t,e){return Hr(e)&&e.type===t}var _i=Ge.bind(null,be.ATTRIBUTE);ge.isAttribute=_i;var o1=Ge.bind(null,be.CLASS);ge.isClassName=o1;var l1=Ge.bind(null,be.COMBINATOR);ge.isCombinator=l1;var c1=Ge.bind(null,be.COMMENT);ge.isComment=c1;var u1=Ge.bind(null,be.ID);ge.isIdentifier=u1;var d1=Ge.bind(null,be.NESTING);ge.isNesting=d1;var Nr=Ge.bind(null,be.PSEUDO);ge.isPseudo=Nr;var h1=Ge.bind(null,be.ROOT);ge.isRoot=h1;var p1=Ge.bind(null,be.SELECTOR);ge.isSelector=p1;var f1=Ge.bind(null,be.STRING);ge.isString=f1;var Ci=Ge.bind(null,be.TAG);ge.isTag=Ci;var m1=Ge.bind(null,be.UNIVERSAL);ge.isUniversal=m1;function bi(t){return Nr(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 g1(t){return Nr(t)&&!bi(t)}function v1(t){return!!(Hr(t)&&t.walk)}function y1(t){return _i(t)||Ci(t)}(function(t){t.__esModule=!0;var e=de;Object.keys(e).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===e[i]||(t[i]=e[i])});var r=ye;Object.keys(r).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===r[i]||(t[i]=r[i])});var n=ge;Object.keys(n).forEach(function(i){i==="default"||i==="__esModule"||i in t&&t[i]===n[i]||(t[i]=n[i])})})(yi),function(t,e){e.__esModule=!0,e.default=void 0;var r=a(Bo),n=s(yi);function i(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return i=function(){return l},l}function s(l){if(l&&l.__esModule)return l;if(l===null||typeof l!="object"&&typeof l!="function")return{default:l};var d=i();if(d&&d.has(l))return d.get(l);var h={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in l)if(Object.prototype.hasOwnProperty.call(l,C)){var b=m?Object.getOwnPropertyDescriptor(l,C):null;b&&(b.get||b.set)?Object.defineProperty(h,C,b):h[C]=l[C]}return h.default=l,d&&d.set(l,h),h}function a(l){return l&&l.__esModule?l:{default:l}}var c=function(d){return new r.default(d)};Object.assign(c,n),delete c.__esModule;var o=c;e.default=o,t.exports=e.default}(hr,hr.exports);var _1=hr.exports;const C1=Ma,xi=_1,b1=xi();var x1={isUsableColor(t,e){return C1(e)&&t!=="gray"&&e[600]},commonTrailingPseudos(t){let e=b1.astSync(t),r=[];for(let[i,s]of e.nodes.entries())for(const[a,c]of[...s.nodes].reverse().entries()){if(c.type!=="pseudo"||!c.value.startsWith("::"))break;r[a]=r[a]||[],r[a][i]=c}let n=xi.selector();for(const i of r){if(!i)continue;if(new Set([...i.map(a=>a.value)]).size>1)break;i.forEach(a=>a.remove()),n.prepend(i[0])}return n.nodes.length?[n.toString(),e.toString()]:[null,t]}};const w1=ti,S1=pa,T1=ga,k1=va,{commonTrailingPseudos:$1}=x1,wi={};function jr(t,{className:e,modifier:r,prefix:n}){let i=n(`.not-${e}`).slice(1),s=t.startsWith(">")?`${r==="DEFAULT"?`.${e}`:`.${e}-${r}`} `:"",[a,c]=$1(t);return a?`:where(${s}${c}):not(:where([class~="${i}"],[class~="${i}"] *))${a}`:`:where(${s}${t}):not(:where([class~="${i}"],[class~="${i}"] *))`}function Si(t){return typeof t=="object"&&t!==null}function M1(t={},{target:e,className:r,modifier:n,prefix:i}){function s(a,c){return e==="legacy"?[a,c]:Array.isArray(c)?[a,c]:Si(c)?Object.values(c).some(Si)?[jr(a,{className:r,modifier:n,prefix:i}),c,Object.fromEntries(Object.entries(c).map(([l,d])=>s(l,d)))]:[jr(a,{className:r,modifier:n,prefix:i}),c]:[a,c]}return Object.fromEntries(Object.entries(S1({},...Object.keys(t).filter(a=>wi[a]).map(a=>wi[a](t[a])),...T1(t.css||{}))).map(([a,c])=>s(a,c)))}var Ti=w1.withOptions(({className:t="prose",target:e="modern"}={})=>function({addVariant:r,addComponents:n,theme:i,prefix:s}){let a=i("typography"),c={className:t,prefix:s};for(let[o,...l]of[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"],["lead",'[class~="lead"]']]){l=l.length===0?[o]:l;let d=e==="legacy"?l.map(h=>`& ${h}`):l.join(", ");r(`${t}-${o}`,e==="legacy"?d:`& :is(${jr(d,c)})`)}n(Object.keys(a).map(o=>({[o==="DEFAULT"?`.${t}`:`.${t}-${o}`]:M1(a[o],{target:e,className:t,modifier:o,prefix:s})})))},()=>({theme:{typography:k1}}));const ki=Ct(Ti),E1=Qt({__proto__:null,default:ki},[Ti]);var $i={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});const e=n=>Object.assign({},...Object.entries(n!=null?n:{}).flatMap(([i,s])=>typeof s=="object"?Object.entries(e(s)).map(([a,c])=>({[i+(a==="DEFAULT"?"":`-${a}`)]:c})):[{[`${i}`]:s}])),r=e})($i);var L1={importDefault:t=>t&&t.__esModule?t.default:t};const D1=$i,{importDefault:P1}=L1,z1=P1(D1),qr=["track","thumb","corner"],It=(t,e)=>e?{"@supports (-moz-appearance:none)":t}:t,O1=({addBase:t},e)=>{t({"*":It({"scrollbar-color":"initial","scrollbar-width":"initial"},e==="pseudoelements")})},Mi=()=>({...Object.fromEntries(qr.map(t=>[[`&::-webkit-scrollbar-${t}`,{"background-color":`var(--scrollbar-${t})`,"border-radius":`var(--scrollbar-${t}-radius)`}]]).flat())}),B1=({preferPseudoElements:t})=>({".scrollbar":{...Mi(),...It({"scrollbar-width":"auto","scrollbar-color":"var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)"},t),"&::-webkit-scrollbar":{display:"block",width:"var(--scrollbar-width, 16px)",height:"var(--scrollbar-height, 16px)"}},".scrollbar-thin":{...Mi(),...It({"scrollbar-width":"thin","scrollbar-color":"var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)"},t),"&::-webkit-scrollbar":{display:"block",width:"8px",height:"8px"}},".scrollbar-none":{...It({"scrollbar-width":"none"},t),"&::-webkit-scrollbar":{display:"none"}}}),Ei=t=>typeof t=="function"?t({}):t;var I1={addBaseStyles:O1,addBaseSizeUtilities:({addUtilities:t},e)=>{t(B1({preferPseudoElements:e==="pseudoelements"}))},addColorUtilities:({matchUtilities:t,theme:e})=>{const r=z1(e("colors")),n=Object.fromEntries(Object.entries(r).map(([i,s])=>[i,Ei(s)]));qr.forEach(i=>{t({[`scrollbar-${i}`]:s=>({[`--scrollbar-${i}`]:Ei(s)})},{values:n,type:"color"})})},addRoundedUtilities:({theme:t,matchUtilities:e})=>{qr.forEach(r=>{e({[`scrollbar-${r}-rounded`]:n=>({[`--scrollbar-${r}-radius`]:n})},{values:t("borderRadius")})})},addSizeUtilities:({matchUtilities:t,theme:e})=>{["width","height"].forEach(r=>{t({[`scrollbar-${r[0]}`]:n=>({[`--scrollbar-${r}`]:n})},{values:e(r)})})}},F1={addVariants:({addVariant:t})=>{t("scrollbar-hover","&::-webkit-scrollbar-thumb:hover"),t("scrollbar-track-hover","&::-webkit-scrollbar-track:hover"),t("scrollbar-corner-hover","&::-webkit-scrollbar-corner:hover"),t("scrollbar-active","&::-webkit-scrollbar-thumb:active"),t("scrollbar-track-active","&::-webkit-scrollbar-track:active"),t("scrollbar-corner-active","&::-webkit-scrollbar-corner:active")}};const R1=ti,{addBaseStyles:A1,addBaseSizeUtilities:H1,addColorUtilities:N1,addRoundedUtilities:j1,addSizeUtilities:q1}=I1,{addVariants:W1}=F1;var Li=R1.withOptions((t={})=>e=>{var n;let r=(n=t.preferredStrategy)!=null?n:"standard";r!=="standard"&&r!=="pseudoelements"&&(console.warn("WARNING: tailwind-scrollbar preferredStrategy should be 'standard' or 'pseudoelements'"),r="standard"),A1(e,r),H1(e,r),N1(e),W1(e),t.nocompatible&&(j1(e),q1(e))});const Di=Ct(Li),G1=Qt({__proto__:null,default:Di},[Li]);var Ft={exports:{}};const bt=Kn||ha,U1={50:"#FCE3E4",100:"#F9CDCE",200:"#F39699",300:"#ED6368",400:"#E72C32",500:"#C4161C",600:"#9C1216",700:"#770D11",800:"#4E090B",900:"#290506"},Pe={warning:bt.amber,error:bt.red,info:bt.slate,success:bt.emerald,primary:bt.blue,brand:U1},Z1={...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]},X1={prefix:"e-",dark:"class",corePlugins:{preflight:!1},content:["./src/**/*.{html,js,vue,ts}"],theme:{extend:{ringWidth:{1:"1px"},colors:Z1,backgroundColor:{surface:{DEFAULT:"#fff",hover:"#e0e2ec","hover-transparent":"rgba(224,226,236,0.64)",active:"#e0ebff"},"surface-dark":{DEFAULT:"#111827",hover:"#263043","hover-transparent":"rgba(38,48,67,0.53)",active:"#003563"}},textColor:{surface:{DEFAULT:"rgba(0, 0, 0, .87)",active:"#1976d2"},"surface-dark":{DEFAULT:"#f6f9ff",active:"#629efc"}},borderColor:{surface:{DEFAULT:"rgb(252, 252, 255)"},"surface-dark":{DEFAULT:"rgba(255, 255, 255, 0.12)"}},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:[ki||E1,Di||G1({nocompatible:!0,preferredStrategy:"pseudoelements"})],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-border-(warning|error|info|success|primary|brand|surface)-./},{pattern:/e-text-(warning|error|info|success|primary|brand|surface)-./},{pattern:/e-bg-(warning|error|info|success|primary|brand|surface)-./}]};Ft.exports=X1;const Y1=(Ft.exports==null?{}:Ft.exports).default||Ft.exports,Wr=da(Y1),Pi=Wr.theme.fontSize,zi=Wr.theme.colors,V1=[G.Dot,G.Xs,G.Sm,G.Md,G.Lg,G.Xl],Q1=[G.Xs,G.Sm,G.Md,G.Lg,G.Xl,G.TwoXl],Oi=[G.Xs,G.Sm,G.Md,G.Base,G.Lg,G.Xl,G.TwoXl,G.ThreeXl,G.FourXl,G.FiveXl,G.SixXl,G.SevenXl,G.EightXl,G.NineXl],K1=[G.Sm,G.Md,G.Lg],J1=[se.Warning,se.Error,se.Info,se.Success,se.Primary,se.Default],e0=[se.Warning,se.Error,se.Info,se.Success,se.Primary,se.Default],t0=[ze.Top,ze.Bottom,ze.Right,ze.Left],r0=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged"],n0=O.extend({name:"BaseIcon",props:{name:{type:String,default:"box"},color:{type:String,default:"#3c3c3c"},fill:{type:String,default:null},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 i0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("svg",e._g(e._b({staticClass:"svg-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:e.viewBox,width:e.size||e.width,height:e.size||e.height,"aria-labelledby":e.name,role:"presentation"}},"svg",e.$attrs,!1),e.$listeners),[r("g",{ref:"group",attrs:{fill:e.fill||e.color}},[e._t("default",null,{color:e.color})],2)])},s0=[],a0=R(n0,i0,s0,!1,null,null,null,null);const ce=a0.exports,o0=O.extend({name:"Bim",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var l0=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
|
|
4
4
|
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
|
|
@@ -49,7 +49,7 @@ m367 -176 c192 -56 348 -207 420 -405 34 -93 34 -285 0 -378 -72 -198 -228
|
|
|
49
49
|
C332.877,302.302,333.602,298.163,331.861,294.767z M145.067,200.533c0,2.355-1.911,4.267-4.267,4.267H90.325
|
|
50
50
|
c-3.277,0-5.333-3.541-3.703-6.383l19.507-34.133c0.751-1.331,2.167-2.15,3.695-2.15H140.8c2.355,0,4.267,1.911,4.267,4.267
|
|
51
51
|
V200.533z M189.133,204.8H166.4c-2.355,0-4.267-1.911-4.267-4.267V166.4c0-2.355,1.911-4.267,4.267-4.267h11.955
|
|
52
|
-
c1.86,0,3.507,1.203,4.07,2.978l10.778,34.133C194.065,202.001,192.017,204.8,189.133,204.8z`}})])])])},Y0=[],V0=R(Z0,X0,Y0,!1,null,null,null,null);const Q0=V0.exports,K0=O.extend({name:"Evercam",components:{BaseIcon:ce},props:{color:{type:String,default:"black"}}}),Gd="";var J0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({staticClass:"company-logo",attrs:{viewBox:"0 0 128 128"}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{id:"path187",d:"M 0.368,72.075 14.895,27.680 c 0,0 0,-3.079 4.528,-3.804 4.528,-0.724 28.259,-3.985 28.259,-3.985 0,0 4.528,-0.543 7.427,0.724 2.898,1.268 8.514,5.615 8.514,5.615 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path189",d:"M 15.439,85.105 19.535,62.945 2.034,74.598 Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path191",d:"M 32.454,52.721 56.922,127.131 17.794,99.053 c 0,0 -1.268,-2.354 -0.543,-5.977 0.724,-3.622 4.709,-27.896 4.709,-27.896 0,0 1.261,-5.415 4.162,-7.689 2.901,-2.274 6.330,-4.767 6.330,-4.767 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path193",d:"M 59.639,126.407 73.588,116.444 53.661,106.480 Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path195",d:"m 48.008,90.741 2.392,6.863 c 0,0 1.992,4.709 5.796,6.883 3.804,2.173 25.904,13.586 25.904,13.586 0,0 2.717,2.717 7.427,-0.543 4.709,-3.260 36.954,-26.810 36.954,-26.810 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path197",d:"m 105.675,86.889 15.967,-15.973 4.659,16.000 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path199",d:"m 88.759,87.085 24.138,-73.896 13.405,40.577 c 0,0 3.584,5.609 -1.037,9.854 -4.622,4.244 -21.243,20.216 -21.243,20.216 0,0 -4.542,3.589 -10.875,3.425 -6.333,-0.164 -4.386,-0.177 -4.386,-0.177 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path201",d:"M 110.200,11.772 103.283,31.562 93.321,11.739 Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path205",d:"m 98.352,47.766 2.113,-6.788 c 0,0 1.409,-4.931 -1.344,-10.375 C 96.366,25.157 86.567,4.663 86.567,4.663 c 0,0 -0.576,-2.946 -5.123,-3.010 -4.547,-0.064 -46.414,-0.007 -46.414,-0.007 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path207",d:"M 49.933,16.575 33.031,3.780 27.255,20.046 Z"}})])},el=[],tl=R(K0,J0,el,!1,null,"f6804bd1",null,null);const rl=tl.exports,nl=O.extend({name:"EvercamLogo",components:{BaseIcon:ce}});var il=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"100%",height:"100%",viewBox:"0, 0, 400,78.67171570055346"}},"BaseIcon",e.$attrs,!1),[r("g",{attrs:{id:"svgg"}},[r("path",{attrs:{id:"path1",d:"M19.589 4.037 C 19.065 5.529,18.573 6.871,18.497 7.020 C 18.420 7.168,18.272 7.608,18.167 7.999 C 18.062 8.389,17.895 8.905,17.797 9.146 C 17.698 9.386,17.454 10.052,17.254 10.625 L 16.891 11.667 17.404 11.663 C 17.686 11.661,18.404 11.585,19.000 11.494 C 20.705 11.234,24.809 10.675,28.059 10.261 C 32.395 9.708,32.390 9.691,26.827 5.833 C 26.629 5.696,25.954 5.208,25.327 4.750 C 24.701 4.292,23.654 3.542,23.002 3.083 C 22.350 2.625,21.726 2.170,21.616 2.072 C 21.507 1.974,21.220 1.766,20.980 1.609 L 20.543 1.323 19.589 4.037 M58.000 6.444 C 58.000 6.505,58.368 7.312,58.817 8.236 C 59.267 9.160,60.361 11.417,61.249 13.250 C 62.137 15.083,63.127 17.127,63.449 17.792 C 63.771 18.456,64.069 19.000,64.111 19.000 C 64.503 19.000,64.840 18.506,65.159 17.465 C 65.364 16.797,65.594 16.100,65.671 15.917 C 65.747 15.733,65.933 15.171,66.083 14.667 C 66.234 14.162,66.419 13.600,66.494 13.417 C 66.777 12.724,68.670 6.741,68.668 6.542 C 68.667 6.379,67.488 6.333,63.333 6.333 C 60.400 6.333,58.000 6.383,58.000 6.444 M282.500 15.416 C 280.626 15.659,279.047 15.960,278.583 16.163 C 278.400 16.244,277.870 16.429,277.406 16.575 C 274.410 17.515,271.083 19.908,268.735 22.810 C 268.560 23.027,268.337 23.289,268.239 23.394 C 267.383 24.306,265.666 27.785,265.019 29.917 C 264.083 33.003,263.773 35.465,263.779 39.750 C 263.784 43.420,263.866 44.280,264.483 47.083 C 265.542 51.893,268.330 56.416,271.929 59.167 C 273.215 60.149,273.679 60.444,275.045 61.149 C 280.776 64.109,288.301 64.225,294.503 61.450 C 298.710 59.567,302.588 54.647,303.987 49.417 C 304.326 48.148,304.745 48.392,299.417 46.751 C 298.317 46.412,297.020 45.992,296.535 45.817 C 295.228 45.346,295.107 45.380,294.849 46.292 C 293.155 52.293,289.892 55.159,284.750 55.159 C 277.384 55.159,273.500 49.630,273.500 39.144 C 273.500 31.396,275.801 26.329,280.167 24.465 C 280.579 24.289,281.067 24.076,281.250 23.992 C 282.330 23.497,285.834 23.325,287.512 23.685 C 290.760 24.381,293.709 27.207,294.511 30.390 C 294.743 31.314,294.536 31.291,297.083 30.674 C 299.143 30.175,301.888 29.524,303.051 29.258 C 303.583 29.137,304.051 29.004,304.092 28.964 C 304.172 28.884,303.747 27.293,303.500 26.750 C 302.936 25.505,301.972 23.529,301.795 23.253 C 301.411 22.654,300.088 20.921,299.821 20.667 C 298.942 19.828,298.147 19.170,297.417 18.674 C 295.830 17.597,295.680 17.500,295.602 17.500 C 295.559 17.500,295.049 17.281,294.470 17.013 C 293.891 16.745,293.192 16.472,292.917 16.407 C 292.642 16.341,292.342 16.231,292.250 16.162 C 291.341 15.477,285.482 15.029,282.500 15.416 M323.554 16.289 C 323.497 16.451,323.312 16.898,323.142 17.283 C 322.972 17.667,322.833 18.042,322.832 18.116 C 322.832 18.190,322.727 18.449,322.601 18.692 C 322.474 18.935,322.278 19.423,322.165 19.776 C 322.053 20.128,321.862 20.642,321.742 20.917 C 321.622 21.192,321.336 21.904,321.107 22.500 C 320.879 23.096,320.134 25.008,319.453 26.750 C 318.771 28.492,317.781 31.042,317.253 32.417 C 316.725 33.792,316.152 35.235,315.980 35.623 C 315.808 36.012,315.667 36.396,315.667 36.477 C 315.667 36.558,315.527 36.953,315.355 37.354 C 315.184 37.755,314.461 39.583,313.748 41.417 C 313.035 43.250,311.894 46.175,311.213 47.917 C 310.532 49.658,309.789 51.571,309.562 52.167 C 309.335 52.762,309.081 53.400,308.998 53.583 C 308.915 53.767,308.577 54.629,308.247 55.500 C 307.917 56.371,307.548 57.308,307.427 57.583 C 307.305 57.858,307.112 58.383,306.998 58.750 C 306.884 59.117,306.735 59.492,306.667 59.583 C 306.599 59.675,306.413 60.152,306.252 60.644 C 306.092 61.135,305.858 61.735,305.731 61.977 C 305.605 62.219,305.502 62.473,305.501 62.542 C 305.500 62.610,307.779 62.667,310.565 62.667 L 315.631 62.667 315.733 62.257 C 315.790 62.032,315.924 61.638,316.031 61.382 C 316.138 61.126,316.945 58.929,317.824 56.500 L 319.423 52.083 328.624 52.040 L 337.824 51.997 338.142 52.707 C 338.317 53.097,338.515 53.604,338.582 53.833 C 338.649 54.063,338.800 54.475,338.917 54.750 C 339.034 55.025,339.559 56.375,340.084 57.750 C 340.608 59.125,341.216 60.713,341.435 61.278 C 341.654 61.844,341.833 62.388,341.833 62.487 C 341.833 62.612,343.413 62.667,347.000 62.667 C 351.441 62.667,352.167 62.632,352.167 62.421 C 352.167 62.180,351.431 60.239,350.838 58.917 C 350.674 58.550,350.485 58.063,350.418 57.833 C 350.351 57.604,350.196 57.192,350.073 56.917 C 349.950 56.642,349.705 56.042,349.528 55.583 C 348.956 54.100,344.670 43.427,344.509 43.083 C 344.423 42.900,343.928 41.662,343.408 40.333 C 342.889 39.004,342.364 37.692,342.242 37.417 C 342.119 37.142,341.745 36.204,341.410 35.333 C 341.075 34.462,340.658 33.435,340.484 33.051 C 340.309 32.666,340.167 32.303,340.167 32.243 C 340.167 32.183,340.058 31.897,339.925 31.609 C 339.697 31.113,339.466 30.538,338.661 28.458 C 338.475 27.977,338.254 27.433,338.171 27.250 C 338.087 27.067,337.562 25.754,337.003 24.333 C 336.444 22.912,335.916 21.600,335.828 21.417 C 335.741 21.233,335.560 20.783,335.427 20.417 C 335.294 20.050,334.847 18.925,334.434 17.917 L 333.684 16.083 328.671 16.039 C 324.008 15.998,323.651 16.016,323.554 16.289 M355.000 39.332 L 355.000 62.667 359.417 62.667 L 363.833 62.667 363.850 44.625 C 363.860 34.349,363.929 26.799,364.010 27.083 C 364.088 27.358,364.336 28.333,364.560 29.250 C 364.785 30.167,365.165 31.667,365.406 32.583 C 365.646 33.500,365.987 34.850,366.163 35.583 C 366.338 36.317,366.677 37.667,366.915 38.583 C 367.152 39.500,367.492 40.850,367.669 41.583 C 367.846 42.317,368.185 43.667,368.423 44.583 C 368.661 45.500,369.032 46.962,369.248 47.833 C 369.463 48.704,369.832 50.186,370.066 51.126 C 370.301 52.066,370.672 53.566,370.891 54.459 C 372.004 58.988,372.721 61.796,372.873 62.208 L 373.040 62.667 377.578 62.667 L 382.116 62.667 382.567 60.875 C 382.816 59.890,383.208 58.333,383.440 57.417 C 383.990 55.240,384.598 52.802,385.083 50.833 C 385.297 49.962,385.822 47.900,386.250 46.250 C 386.677 44.600,387.168 42.650,387.341 41.917 C 387.514 41.183,387.889 39.683,388.174 38.583 C 389.558 33.246,389.630 32.958,390.564 29.027 C 390.789 28.080,391.017 27.261,391.070 27.208 C 391.123 27.155,391.167 35.111,391.167 44.889 L 391.167 62.667 395.583 62.667 L 400.000 62.667 400.000 39.333 L 400.000 16.000 392.937 16.000 L 385.874 16.000 385.676 16.708 C 385.567 17.098,385.296 18.111,385.074 18.959 C 384.852 19.807,384.478 21.232,384.243 22.125 C 384.008 23.019,383.704 24.200,383.569 24.750 C 383.433 25.300,383.214 26.125,383.081 26.583 C 382.948 27.042,381.899 31.017,380.750 35.417 C 379.600 39.817,378.480 44.092,378.260 44.917 C 378.040 45.742,377.813 46.632,377.755 46.895 C 377.613 47.544,377.513 47.389,377.156 45.967 C 376.988 45.298,376.658 44.019,376.423 43.125 C 376.188 42.232,375.816 40.807,375.596 39.959 C 375.376 39.111,374.622 36.279,373.921 33.667 C 373.219 31.054,372.456 28.204,372.226 27.333 C 371.996 26.462,371.707 25.375,371.584 24.917 C 371.176 23.399,370.522 20.939,370.098 19.333 C 369.869 18.462,369.579 17.375,369.455 16.917 L 369.228 16.083 362.114 16.040 L 355.000 15.996 355.000 39.332 M328.923 28.208 C 329.079 28.690,329.308 29.308,329.431 29.583 C 329.555 29.858,329.955 30.908,330.321 31.917 C 331.937 36.368,332.519 37.939,332.667 38.250 C 332.755 38.433,333.091 39.333,333.414 40.250 C 333.738 41.167,334.070 42.067,334.153 42.250 C 334.326 42.634,334.477 43.059,334.672 43.708 L 334.810 44.167 328.601 44.167 L 322.391 44.167 322.755 43.125 C 322.955 42.552,323.165 41.971,323.223 41.833 C 323.280 41.696,323.677 40.608,324.104 39.417 C 324.808 37.453,325.061 36.741,325.911 34.333 C 326.057 33.921,326.247 33.433,326.335 33.250 C 326.423 33.067,326.880 31.829,327.352 30.500 C 328.442 27.424,328.477 27.333,328.566 27.333 C 328.607 27.333,328.767 27.727,328.923 28.208 M11.057 38.208 C 10.777 38.415,10.369 38.714,10.149 38.874 C 9.930 39.033,8.813 39.849,7.667 40.687 C 5.259 42.448,4.706 42.851,3.000 44.088 C 2.313 44.586,1.563 45.143,1.333 45.325 L 0.917 45.656 1.333 45.983 C 2.223 46.680,6.137 49.689,7.143 50.449 C 7.726 50.890,8.290 51.325,8.398 51.417 C 9.772 52.593,9.710 52.659,10.256 49.417 C 10.472 48.133,10.837 46.033,11.067 44.750 C 11.297 43.467,11.634 41.572,11.817 40.541 C 11.999 39.509,12.197 38.585,12.257 38.488 C 12.353 38.333,11.909 37.853,11.657 37.839 C 11.606 37.836,11.336 38.002,11.057 38.208 M74.250 44.628 C 73.425 45.413,71.558 47.187,70.102 48.570 C 65.758 52.692,65.532 52.932,65.700 53.233 C 65.848 53.497,78.833 53.671,78.833 53.409 C 78.833 53.320,78.088 50.736,77.225 47.833 C 76.993 47.054,76.633 45.810,76.425 45.068 C 75.837 42.975,75.960 43.000,74.250 44.628 M33.192 65.386 C 33.029 65.583,33.561 67.601,34.168 69.083 C 34.243 69.267,34.766 70.879,35.331 72.667 C 37.029 78.044,37.047 78.084,37.530 77.623 C 37.651 77.507,37.973 77.269,38.246 77.095 C 38.518 76.920,38.818 76.711,38.912 76.630 C 39.006 76.549,39.796 76.020,40.667 75.454 C 41.537 74.888,42.287 74.386,42.333 74.338 C 42.379 74.290,43.092 73.802,43.917 73.254 C 46.407 71.600,46.533 72.004,42.928 70.098 C 39.989 68.544,38.606 67.804,37.750 67.330 C 34.118 65.317,33.476 65.044,33.192 65.386 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path2",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path3",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path4",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path0",d:"M22.273 0.634 C 22.719 0.985,23.308 1.418,23.583 1.595 C 23.858 1.772,24.196 2.005,24.333 2.113 C 24.785 2.467,26.742 3.918,27.109 4.170 C 28.137 4.877,31.613 7.429,31.804 7.616 C 31.925 7.736,32.075 7.834,32.137 7.834 C 32.199 7.834,32.512 8.059,32.833 8.333 C 33.154 8.608,33.468 8.833,33.530 8.833 C 33.592 8.833,33.742 8.929,33.863 9.047 C 33.984 9.164,34.758 9.744,35.583 10.334 C 36.408 10.925,37.158 11.466,37.250 11.536 C 37.342 11.606,37.942 12.043,38.583 12.507 C 39.225 12.970,40.435 13.852,41.273 14.466 C 42.110 15.081,43.372 15.996,44.076 16.500 C 44.780 17.004,45.868 17.792,46.495 18.250 C 47.121 18.708,47.796 19.196,47.994 19.333 C 48.193 19.471,48.894 19.981,49.553 20.468 C 50.211 20.955,50.900 21.459,51.083 21.589 C 52.772 22.789,59.206 27.476,60.215 28.242 C 61.366 29.117,61.379 29.115,61.729 28.041 C 62.679 25.123,62.889 24.089,62.903 22.250 C 62.919 20.067,63.145 20.682,59.908 14.083 C 58.514 11.242,57.008 8.138,56.562 7.186 C 54.205 2.163,53.611 1.102,52.861 0.583 L 52.138 0.083 36.801 0.039 L 21.464 -0.005 22.273 0.634 M69.675 9.043 C 69.266 10.348,68.876 11.529,68.806 11.667 C 68.736 11.804,68.220 13.379,67.659 15.167 C 67.098 16.954,66.575 18.567,66.498 18.750 C 66.421 18.933,65.707 21.108,64.912 23.583 C 64.118 26.058,63.405 28.233,63.329 28.417 C 63.252 28.600,62.351 31.337,61.326 34.500 C 59.529 40.043,58.725 42.509,56.432 49.500 C 55.846 51.288,55.314 52.926,55.250 53.142 L 55.133 53.534 57.942 53.466 C 62.502 53.354,63.347 52.971,67.083 49.319 C 68.550 47.885,70.162 46.321,70.667 45.843 C 71.171 45.366,72.221 44.362,73.001 43.613 C 73.780 42.863,75.497 41.237,76.816 40.000 C 79.976 37.036,80.198 36.402,79.175 33.260 C 78.905 32.429,78.186 30.212,77.578 28.333 C 76.969 26.454,76.297 24.392,76.083 23.750 C 75.869 23.108,75.265 21.233,74.741 19.583 C 74.216 17.933,73.417 15.458,72.965 14.083 C 72.513 12.708,72.122 11.508,72.096 11.417 C 72.071 11.325,72.008 11.137,71.957 11.000 C 71.906 10.862,71.576 9.832,71.224 8.710 C 70.872 7.587,70.546 6.669,70.500 6.669 C 70.454 6.669,70.083 7.737,69.675 9.043 M27.917 11.764 C 23.768 12.381,19.544 12.971,16.083 13.417 C 14.342 13.641,12.542 13.875,12.083 13.936 C 10.033 14.209,9.353 15.035,8.259 18.583 C 7.920 19.683,7.578 20.733,7.501 20.917 C 7.423 21.100,7.047 22.262,6.667 23.500 C 6.286 24.738,5.914 25.900,5.839 26.083 C 5.648 26.558,4.145 31.216,3.421 33.583 C 3.084 34.683,2.745 35.733,2.667 35.917 C 2.589 36.100,2.064 37.712,1.501 39.500 C 0.937 41.287,0.416 42.865,0.343 43.005 C 0.269 43.146,0.153 43.514,0.085 43.824 L -0.038 44.386 0.464 44.068 C 0.741 43.893,1.995 43.000,3.252 42.083 C 4.509 41.167,5.810 40.223,6.144 39.986 C 6.477 39.750,7.612 38.923,8.667 38.150 C 9.721 37.377,10.921 36.497,11.333 36.194 C 11.746 35.892,13.338 34.731,14.871 33.614 C 16.403 32.497,18.789 30.758,20.171 29.750 C 21.554 28.742,22.850 27.805,23.051 27.668 C 23.252 27.532,24.617 26.542,26.083 25.469 C 27.550 24.397,29.313 23.108,30.000 22.606 C 30.688 22.104,32.048 21.106,33.024 20.388 C 34.000 19.670,35.523 18.558,36.408 17.917 C 40.408 15.018,40.130 15.476,38.584 14.333 C 34.704 11.464,32.884 11.026,27.917 11.764 M96.500 39.334 L 96.500 62.668 114.208 62.626 L 131.917 62.583 131.961 58.625 L 132.006 54.667 118.920 54.667 L 105.833 54.667 105.833 48.417 L 105.833 42.167 117.500 42.167 L 129.167 42.167 129.167 38.167 L 129.167 34.167 117.500 34.167 L 105.833 34.167 105.833 29.083 L 105.833 24.000 118.417 24.000 L 131.000 24.000 131.000 20.000 L 131.000 16.000 113.750 16.000 L 96.500 16.000 96.500 39.334 M133.000 16.054 C 133.000 16.084,133.269 16.853,133.599 17.762 C 133.928 18.672,134.339 19.829,134.512 20.333 C 134.684 20.837,135.056 21.887,135.338 22.667 C 136.185 25.008,136.839 26.882,137.026 27.500 C 137.122 27.821,137.261 28.158,137.334 28.250 C 137.408 28.342,137.556 28.754,137.665 29.167 C 137.774 29.579,137.960 30.142,138.079 30.417 C 138.197 30.692,138.577 31.742,138.923 32.750 C 139.268 33.758,139.601 34.658,139.663 34.750 C 139.725 34.842,139.870 35.254,139.987 35.667 C 140.103 36.079,140.296 36.642,140.415 36.917 C 140.534 37.192,140.913 38.242,141.257 39.250 C 141.602 40.258,141.976 41.308,142.090 41.583 C 142.203 41.858,143.812 46.358,145.664 51.583 C 147.516 56.808,149.098 61.233,149.179 61.417 C 149.260 61.600,149.401 61.956,149.492 62.208 L 149.658 62.667 154.657 62.667 C 159.247 62.667,159.667 62.643,159.808 62.375 C 159.892 62.215,160.194 61.408,160.479 60.583 C 160.764 59.758,161.252 58.371,161.565 57.500 C 161.877 56.629,162.223 55.654,162.333 55.333 C 162.443 55.012,162.632 54.525,162.754 54.250 C 162.875 53.975,163.028 53.525,163.093 53.250 C 163.159 52.975,163.267 52.675,163.334 52.583 C 163.401 52.492,163.585 52.004,163.743 51.500 C 163.900 50.996,164.128 50.358,164.250 50.083 C 164.371 49.808,164.559 49.246,164.668 48.833 C 164.777 48.421,164.922 48.008,164.991 47.917 C 165.060 47.825,165.243 47.337,165.398 46.833 C 165.553 46.329,165.749 45.767,165.834 45.583 C 166.044 45.131,166.643 43.434,166.954 42.417 C 167.094 41.958,167.267 41.508,167.338 41.417 C 167.410 41.325,167.595 40.815,167.749 40.283 C 167.903 39.751,168.134 39.114,168.263 38.866 C 168.392 38.619,168.498 38.328,168.499 38.219 C 168.500 38.111,168.586 37.811,168.691 37.553 C 169.012 36.766,169.654 34.977,170.027 33.833 C 170.220 33.237,170.432 32.675,170.496 32.583 C 170.560 32.492,170.747 31.967,170.912 31.417 C 171.077 30.867,171.267 30.342,171.335 30.250 C 171.402 30.158,171.547 29.783,171.658 29.417 C 171.768 29.050,171.903 28.637,171.957 28.500 C 172.010 28.363,172.064 28.212,172.076 28.167 C 172.183 27.747,172.736 26.214,172.828 26.083 C 172.893 25.992,173.080 25.467,173.246 24.917 C 173.411 24.367,173.586 23.846,173.635 23.761 C 173.685 23.675,174.011 22.775,174.362 21.761 C 174.712 20.746,175.070 19.767,175.157 19.583 C 175.342 19.194,176.333 16.261,176.333 16.103 C 176.333 16.044,174.075 16.015,171.314 16.039 L 166.296 16.083 164.466 21.667 C 163.459 24.738,162.573 27.400,162.497 27.583 C 162.420 27.767,162.084 28.779,161.750 29.833 C 161.416 30.887,161.078 31.900,161.000 32.083 C 160.921 32.267,160.734 32.829,160.583 33.333 C 160.433 33.837,160.246 34.400,160.169 34.583 C 160.091 34.767,158.916 38.310,157.556 42.456 C 156.196 46.603,155.039 49.997,154.985 49.998 C 154.930 49.999,154.534 48.931,154.103 47.625 C 153.673 46.319,153.254 45.100,153.172 44.917 C 153.090 44.733,152.571 43.233,152.018 41.583 C 151.465 39.933,150.445 36.933,149.751 34.917 C 149.058 32.900,147.968 29.712,147.329 27.833 C 146.263 24.697,144.677 20.101,144.453 19.500 C 144.401 19.362,144.234 18.837,144.081 18.333 C 143.929 17.829,143.660 17.098,143.484 16.708 L 143.165 16.000 138.082 16.000 C 135.287 16.000,133.000 16.024,133.000 16.054 M179.077 16.208 C 179.033 16.323,179.017 26.804,179.040 39.500 L 179.083 62.583 196.500 62.629 C 206.079 62.654,214.085 62.634,214.292 62.584 L 214.667 62.494 214.667 58.580 L 214.667 54.667 201.583 54.667 L 188.500 54.667 188.500 48.417 L 188.500 42.167 200.208 42.167 L 211.917 42.167 211.869 38.167 L 211.822 34.167 200.161 34.167 L 188.500 34.167 188.500 29.083 L 188.500 24.000 201.083 24.000 L 213.667 24.000 213.667 20.000 L 213.667 16.000 196.411 16.000 C 182.761 16.000,179.140 16.044,179.077 16.208 M220.500 39.331 L 220.500 62.667 225.250 62.667 L 230.000 62.667 230.000 52.917 L 230.000 43.167 231.042 43.169 C 236.136 43.183,237.961 43.925,240.370 46.964 C 240.812 47.521,243.721 51.682,244.090 52.284 C 244.821 53.477,249.092 59.754,249.208 59.806 C 249.277 59.836,249.335 59.949,249.337 60.056 C 249.339 60.162,249.734 60.775,250.216 61.417 L 251.091 62.583 256.712 62.627 C 259.804 62.651,262.333 62.618,262.333 62.553 C 262.333 62.488,262.157 62.168,261.942 61.842 C 261.726 61.517,261.333 60.900,261.067 60.473 C 260.594 59.712,258.681 56.657,257.814 55.277 C 255.423 51.474,254.387 49.852,254.125 49.500 C 253.954 49.271,253.340 48.446,252.762 47.667 C 251.242 45.619,249.407 43.923,247.341 42.654 L 246.370 42.059 247.643 41.846 C 254.601 40.686,258.416 36.194,258.410 29.167 C 258.406 24.851,257.463 22.271,254.995 19.827 C 251.530 16.396,249.326 16.032,231.875 16.010 L 220.500 15.996 220.500 39.331 M242.833 24.171 C 244.966 24.308,245.727 24.529,246.776 25.317 C 249.785 27.578,249.319 33.086,245.973 34.803 C 244.782 35.415,243.718 35.508,236.708 35.612 L 230.000 35.711 230.000 29.847 L 230.000 23.982 235.542 24.021 C 238.590 24.042,241.871 24.110,242.833 24.171 M19.667 32.185 C 15.881 34.479,13.878 37.195,13.329 40.779 C 12.863 43.821,11.688 50.749,11.271 52.917 C 9.795 60.581,9.707 60.256,14.106 63.298 C 14.277 63.416,15.354 64.187,16.500 65.012 C 17.646 65.837,18.771 66.638,19.000 66.793 C 19.229 66.947,19.877 67.413,20.439 67.828 C 21.002 68.244,21.631 68.696,21.838 68.833 C 22.044 68.971,22.409 69.238,22.648 69.428 C 22.888 69.618,24.283 70.627,25.750 71.671 C 27.217 72.716,28.506 73.648,28.615 73.743 C 28.725 73.839,29.345 74.292,29.994 74.750 C 31.121 75.546,33.393 77.180,33.754 77.454 C 34.523 78.038,35.532 78.690,35.586 78.637 C 35.622 78.601,35.327 77.599,34.932 76.411 C 34.117 73.964,31.189 65.058,27.481 53.750 C 26.098 49.533,24.905 45.933,24.829 45.750 C 24.754 45.567,24.463 44.704,24.183 43.833 C 23.166 40.672,20.963 33.911,20.870 33.667 C 20.818 33.529,20.657 33.060,20.513 32.624 L 20.250 31.831 19.667 32.185 M50.042 55.459 C 33.109 55.494,29.833 55.538,29.833 55.729 C 29.833 55.854,30.053 56.622,30.323 57.436 C 31.704 61.618,32.884 63.191,35.750 64.674 C 39.079 66.396,41.611 67.731,42.895 68.441 C 43.617 68.840,44.237 69.167,44.273 69.167 C 44.346 69.167,49.103 71.739,49.500 71.993 C 52.432 73.869,53.958 73.941,56.167 72.308 C 57.663 71.202,59.518 69.845,62.167 67.919 C 63.404 67.020,64.728 66.051,65.108 65.767 C 65.488 65.483,65.965 65.137,66.166 65.000 C 66.368 64.862,66.919 64.469,67.391 64.125 C 67.864 63.781,68.400 63.392,68.583 63.260 C 68.767 63.128,69.456 62.621,70.114 62.135 C 70.773 61.648,71.474 61.137,71.673 61.000 C 71.871 60.862,72.345 60.517,72.725 60.233 C 73.106 59.949,74.354 59.034,75.500 58.201 C 78.610 55.939,79.000 55.639,79.000 55.510 C 79.000 55.446,77.031 55.398,74.625 55.405 C 72.219 55.411,61.156 55.436,50.042 55.459 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path1",d:"M19.589 4.037 C 19.065 5.529,18.573 6.871,18.497 7.020 C 18.420 7.168,18.272 7.608,18.167 7.999 C 18.062 8.389,17.895 8.905,17.797 9.146 C 17.698 9.386,17.454 10.052,17.254 10.625 L 16.891 11.667 17.404 11.663 C 17.686 11.661,18.404 11.585,19.000 11.494 C 20.705 11.234,24.809 10.675,28.059 10.261 C 32.395 9.708,32.390 9.691,26.827 5.833 C 26.629 5.696,25.954 5.208,25.327 4.750 C 24.701 4.292,23.654 3.542,23.002 3.083 C 22.350 2.625,21.726 2.170,21.616 2.072 C 21.507 1.974,21.220 1.766,20.980 1.609 L 20.543 1.323 19.589 4.037 M58.000 6.444 C 58.000 6.505,58.368 7.312,58.817 8.236 C 59.267 9.160,60.361 11.417,61.249 13.250 C 62.137 15.083,63.127 17.127,63.449 17.792 C 63.771 18.456,64.069 19.000,64.111 19.000 C 64.503 19.000,64.840 18.506,65.159 17.465 C 65.364 16.797,65.594 16.100,65.671 15.917 C 65.747 15.733,65.933 15.171,66.083 14.667 C 66.234 14.162,66.419 13.600,66.494 13.417 C 66.777 12.724,68.670 6.741,68.668 6.542 C 68.667 6.379,67.488 6.333,63.333 6.333 C 60.400 6.333,58.000 6.383,58.000 6.444 M282.500 15.416 C 280.626 15.659,279.047 15.960,278.583 16.163 C 278.400 16.244,277.870 16.429,277.406 16.575 C 274.410 17.515,271.083 19.908,268.735 22.810 C 268.560 23.027,268.337 23.289,268.239 23.394 C 267.383 24.306,265.666 27.785,265.019 29.917 C 264.083 33.003,263.773 35.465,263.779 39.750 C 263.784 43.420,263.866 44.280,264.483 47.083 C 265.542 51.893,268.330 56.416,271.929 59.167 C 273.215 60.149,273.679 60.444,275.045 61.149 C 280.776 64.109,288.301 64.225,294.503 61.450 C 298.710 59.567,302.588 54.647,303.987 49.417 C 304.326 48.148,304.745 48.392,299.417 46.751 C 298.317 46.412,297.020 45.992,296.535 45.817 C 295.228 45.346,295.107 45.380,294.849 46.292 C 293.155 52.293,289.892 55.159,284.750 55.159 C 277.384 55.159,273.500 49.630,273.500 39.144 C 273.500 31.396,275.801 26.329,280.167 24.465 C 280.579 24.289,281.067 24.076,281.250 23.992 C 282.330 23.497,285.834 23.325,287.512 23.685 C 290.760 24.381,293.709 27.207,294.511 30.390 C 294.743 31.314,294.536 31.291,297.083 30.674 C 299.143 30.175,301.888 29.524,303.051 29.258 C 303.583 29.137,304.051 29.004,304.092 28.964 C 304.172 28.884,303.747 27.293,303.500 26.750 C 302.936 25.505,301.972 23.529,301.795 23.253 C 301.411 22.654,300.088 20.921,299.821 20.667 C 298.942 19.828,298.147 19.170,297.417 18.674 C 295.830 17.597,295.680 17.500,295.602 17.500 C 295.559 17.500,295.049 17.281,294.470 17.013 C 293.891 16.745,293.192 16.472,292.917 16.407 C 292.642 16.341,292.342 16.231,292.250 16.162 C 291.341 15.477,285.482 15.029,282.500 15.416 M323.554 16.289 C 323.497 16.451,323.312 16.898,323.142 17.283 C 322.972 17.667,322.833 18.042,322.832 18.116 C 322.832 18.190,322.727 18.449,322.601 18.692 C 322.474 18.935,322.278 19.423,322.165 19.776 C 322.053 20.128,321.862 20.642,321.742 20.917 C 321.622 21.192,321.336 21.904,321.107 22.500 C 320.879 23.096,320.134 25.008,319.453 26.750 C 318.771 28.492,317.781 31.042,317.253 32.417 C 316.725 33.792,316.152 35.235,315.980 35.623 C 315.808 36.012,315.667 36.396,315.667 36.477 C 315.667 36.558,315.527 36.953,315.355 37.354 C 315.184 37.755,314.461 39.583,313.748 41.417 C 313.035 43.250,311.894 46.175,311.213 47.917 C 310.532 49.658,309.789 51.571,309.562 52.167 C 309.335 52.762,309.081 53.400,308.998 53.583 C 308.915 53.767,308.577 54.629,308.247 55.500 C 307.917 56.371,307.548 57.308,307.427 57.583 C 307.305 57.858,307.112 58.383,306.998 58.750 C 306.884 59.117,306.735 59.492,306.667 59.583 C 306.599 59.675,306.413 60.152,306.252 60.644 C 306.092 61.135,305.858 61.735,305.731 61.977 C 305.605 62.219,305.502 62.473,305.501 62.542 C 305.500 62.610,307.779 62.667,310.565 62.667 L 315.631 62.667 315.733 62.257 C 315.790 62.032,315.924 61.638,316.031 61.382 C 316.138 61.126,316.945 58.929,317.824 56.500 L 319.423 52.083 328.624 52.040 L 337.824 51.997 338.142 52.707 C 338.317 53.097,338.515 53.604,338.582 53.833 C 338.649 54.063,338.800 54.475,338.917 54.750 C 339.034 55.025,339.559 56.375,340.084 57.750 C 340.608 59.125,341.216 60.713,341.435 61.278 C 341.654 61.844,341.833 62.388,341.833 62.487 C 341.833 62.612,343.413 62.667,347.000 62.667 C 351.441 62.667,352.167 62.632,352.167 62.421 C 352.167 62.180,351.431 60.239,350.838 58.917 C 350.674 58.550,350.485 58.063,350.418 57.833 C 350.351 57.604,350.196 57.192,350.073 56.917 C 349.950 56.642,349.705 56.042,349.528 55.583 C 348.956 54.100,344.670 43.427,344.509 43.083 C 344.423 42.900,343.928 41.662,343.408 40.333 C 342.889 39.004,342.364 37.692,342.242 37.417 C 342.119 37.142,341.745 36.204,341.410 35.333 C 341.075 34.462,340.658 33.435,340.484 33.051 C 340.309 32.666,340.167 32.303,340.167 32.243 C 340.167 32.183,340.058 31.897,339.925 31.609 C 339.697 31.113,339.466 30.538,338.661 28.458 C 338.475 27.977,338.254 27.433,338.171 27.250 C 338.087 27.067,337.562 25.754,337.003 24.333 C 336.444 22.912,335.916 21.600,335.828 21.417 C 335.741 21.233,335.560 20.783,335.427 20.417 C 335.294 20.050,334.847 18.925,334.434 17.917 L 333.684 16.083 328.671 16.039 C 324.008 15.998,323.651 16.016,323.554 16.289 M355.000 39.332 L 355.000 62.667 359.417 62.667 L 363.833 62.667 363.850 44.625 C 363.860 34.349,363.929 26.799,364.010 27.083 C 364.088 27.358,364.336 28.333,364.560 29.250 C 364.785 30.167,365.165 31.667,365.406 32.583 C 365.646 33.500,365.987 34.850,366.163 35.583 C 366.338 36.317,366.677 37.667,366.915 38.583 C 367.152 39.500,367.492 40.850,367.669 41.583 C 367.846 42.317,368.185 43.667,368.423 44.583 C 368.661 45.500,369.032 46.962,369.248 47.833 C 369.463 48.704,369.832 50.186,370.066 51.126 C 370.301 52.066,370.672 53.566,370.891 54.459 C 372.004 58.988,372.721 61.796,372.873 62.208 L 373.040 62.667 377.578 62.667 L 382.116 62.667 382.567 60.875 C 382.816 59.890,383.208 58.333,383.440 57.417 C 383.990 55.240,384.598 52.802,385.083 50.833 C 385.297 49.962,385.822 47.900,386.250 46.250 C 386.677 44.600,387.168 42.650,387.341 41.917 C 387.514 41.183,387.889 39.683,388.174 38.583 C 389.558 33.246,389.630 32.958,390.564 29.027 C 390.789 28.080,391.017 27.261,391.070 27.208 C 391.123 27.155,391.167 35.111,391.167 44.889 L 391.167 62.667 395.583 62.667 L 400.000 62.667 400.000 39.333 L 400.000 16.000 392.937 16.000 L 385.874 16.000 385.676 16.708 C 385.567 17.098,385.296 18.111,385.074 18.959 C 384.852 19.807,384.478 21.232,384.243 22.125 C 384.008 23.019,383.704 24.200,383.569 24.750 C 383.433 25.300,383.214 26.125,383.081 26.583 C 382.948 27.042,381.899 31.017,380.750 35.417 C 379.600 39.817,378.480 44.092,378.260 44.917 C 378.040 45.742,377.813 46.632,377.755 46.895 C 377.613 47.544,377.513 47.389,377.156 45.967 C 376.988 45.298,376.658 44.019,376.423 43.125 C 376.188 42.232,375.816 40.807,375.596 39.959 C 375.376 39.111,374.622 36.279,373.921 33.667 C 373.219 31.054,372.456 28.204,372.226 27.333 C 371.996 26.462,371.707 25.375,371.584 24.917 C 371.176 23.399,370.522 20.939,370.098 19.333 C 369.869 18.462,369.579 17.375,369.455 16.917 L 369.228 16.083 362.114 16.040 L 355.000 15.996 355.000 39.332 M328.923 28.208 C 329.079 28.690,329.308 29.308,329.431 29.583 C 329.555 29.858,329.955 30.908,330.321 31.917 C 331.937 36.368,332.519 37.939,332.667 38.250 C 332.755 38.433,333.091 39.333,333.414 40.250 C 333.738 41.167,334.070 42.067,334.153 42.250 C 334.326 42.634,334.477 43.059,334.672 43.708 L 334.810 44.167 328.601 44.167 L 322.391 44.167 322.755 43.125 C 322.955 42.552,323.165 41.971,323.223 41.833 C 323.280 41.696,323.677 40.608,324.104 39.417 C 324.808 37.453,325.061 36.741,325.911 34.333 C 326.057 33.921,326.247 33.433,326.335 33.250 C 326.423 33.067,326.880 31.829,327.352 30.500 C 328.442 27.424,328.477 27.333,328.566 27.333 C 328.607 27.333,328.767 27.727,328.923 28.208 M11.057 38.208 C 10.777 38.415,10.369 38.714,10.149 38.874 C 9.930 39.033,8.813 39.849,7.667 40.687 C 5.259 42.448,4.706 42.851,3.000 44.088 C 2.313 44.586,1.563 45.143,1.333 45.325 L 0.917 45.656 1.333 45.983 C 2.223 46.680,6.137 49.689,7.143 50.449 C 7.726 50.890,8.290 51.325,8.398 51.417 C 9.772 52.593,9.710 52.659,10.256 49.417 C 10.472 48.133,10.837 46.033,11.067 44.750 C 11.297 43.467,11.634 41.572,11.817 40.541 C 11.999 39.509,12.197 38.585,12.257 38.488 C 12.353 38.333,11.909 37.853,11.657 37.839 C 11.606 37.836,11.336 38.002,11.057 38.208 M74.250 44.628 C 73.425 45.413,71.558 47.187,70.102 48.570 C 65.758 52.692,65.532 52.932,65.700 53.233 C 65.848 53.497,78.833 53.671,78.833 53.409 C 78.833 53.320,78.088 50.736,77.225 47.833 C 76.993 47.054,76.633 45.810,76.425 45.068 C 75.837 42.975,75.960 43.000,74.250 44.628 M33.192 65.386 C 33.029 65.583,33.561 67.601,34.168 69.083 C 34.243 69.267,34.766 70.879,35.331 72.667 C 37.029 78.044,37.047 78.084,37.530 77.623 C 37.651 77.507,37.973 77.269,38.246 77.095 C 38.518 76.920,38.818 76.711,38.912 76.630 C 39.006 76.549,39.796 76.020,40.667 75.454 C 41.537 74.888,42.287 74.386,42.333 74.338 C 42.379 74.290,43.092 73.802,43.917 73.254 C 46.407 71.600,46.533 72.004,42.928 70.098 C 39.989 68.544,38.606 67.804,37.750 67.330 C 34.118 65.317,33.476 65.044,33.192 65.386 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path2",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none",fill:"#c81010","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path3",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path4",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}})])])},sl=[],al=R(nl,il,sl,!1,null,null,null,null);const ol=al.exports,ll=O.extend({name:"CompactExcavator",components:{BaseIcon:ce}});var cl=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:"22"}},"BaseIcon",e.$attrs,!1),[r("g",[r("g",[r("path",{attrs:{d:`M442.547,143.877c-3.46-4.855-9.054-7.737-15.016-7.737h-70.827c-7.511,0-14.271,4.556-17.092,11.517L291.55,266.289
|
|
52
|
+
c1.86,0,3.507,1.203,4.07,2.978l10.778,34.133C194.065,202.001,192.017,204.8,189.133,204.8z`}})])])])},Y0=[],V0=R(Z0,X0,Y0,!1,null,null,null,null);const Q0=V0.exports,K0=O.extend({name:"Evercam",components:{BaseIcon:ce},props:{color:{type:String,default:"black"}}}),G7="";var J0=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({staticClass:"company-logo",attrs:{viewBox:"0 0 128 128"}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{id:"path187",d:"M 0.368,72.075 14.895,27.680 c 0,0 0,-3.079 4.528,-3.804 4.528,-0.724 28.259,-3.985 28.259,-3.985 0,0 4.528,-0.543 7.427,0.724 2.898,1.268 8.514,5.615 8.514,5.615 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path189",d:"M 15.439,85.105 19.535,62.945 2.034,74.598 Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path191",d:"M 32.454,52.721 56.922,127.131 17.794,99.053 c 0,0 -1.268,-2.354 -0.543,-5.977 0.724,-3.622 4.709,-27.896 4.709,-27.896 0,0 1.261,-5.415 4.162,-7.689 2.901,-2.274 6.330,-4.767 6.330,-4.767 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path193",d:"M 59.639,126.407 73.588,116.444 53.661,106.480 Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path195",d:"m 48.008,90.741 2.392,6.863 c 0,0 1.992,4.709 5.796,6.883 3.804,2.173 25.904,13.586 25.904,13.586 0,0 2.717,2.717 7.427,-0.543 4.709,-3.260 36.954,-26.810 36.954,-26.810 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path197",d:"m 105.675,86.889 15.967,-15.973 4.659,16.000 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path199",d:"m 88.759,87.085 24.138,-73.896 13.405,40.577 c 0,0 3.584,5.609 -1.037,9.854 -4.622,4.244 -21.243,20.216 -21.243,20.216 0,0 -4.542,3.589 -10.875,3.425 -6.333,-0.164 -4.386,-0.177 -4.386,-0.177 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path201",d:"M 110.200,11.772 103.283,31.562 93.321,11.739 Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path205",d:"m 98.352,47.766 2.113,-6.788 c 0,0 1.409,-4.931 -1.344,-10.375 C 96.366,25.157 86.567,4.663 86.567,4.663 c 0,0 -0.576,-2.946 -5.123,-3.010 -4.547,-0.064 -46.414,-0.007 -46.414,-0.007 z"}}),r("path",{style:`fill: ${e.color}`,attrs:{id:"path207",d:"M 49.933,16.575 33.031,3.780 27.255,20.046 Z"}})])},el=[],tl=R(K0,J0,el,!1,null,"f6804bd1",null,null);const rl=tl.exports,nl=O.extend({name:"EvercamLogo",components:{BaseIcon:ce}});var il=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"100%",height:"100%",viewBox:"0, 0, 400,78.67171570055346"}},"BaseIcon",e.$attrs,!1),[r("g",{attrs:{id:"svgg"}},[r("path",{attrs:{id:"path1",d:"M19.589 4.037 C 19.065 5.529,18.573 6.871,18.497 7.020 C 18.420 7.168,18.272 7.608,18.167 7.999 C 18.062 8.389,17.895 8.905,17.797 9.146 C 17.698 9.386,17.454 10.052,17.254 10.625 L 16.891 11.667 17.404 11.663 C 17.686 11.661,18.404 11.585,19.000 11.494 C 20.705 11.234,24.809 10.675,28.059 10.261 C 32.395 9.708,32.390 9.691,26.827 5.833 C 26.629 5.696,25.954 5.208,25.327 4.750 C 24.701 4.292,23.654 3.542,23.002 3.083 C 22.350 2.625,21.726 2.170,21.616 2.072 C 21.507 1.974,21.220 1.766,20.980 1.609 L 20.543 1.323 19.589 4.037 M58.000 6.444 C 58.000 6.505,58.368 7.312,58.817 8.236 C 59.267 9.160,60.361 11.417,61.249 13.250 C 62.137 15.083,63.127 17.127,63.449 17.792 C 63.771 18.456,64.069 19.000,64.111 19.000 C 64.503 19.000,64.840 18.506,65.159 17.465 C 65.364 16.797,65.594 16.100,65.671 15.917 C 65.747 15.733,65.933 15.171,66.083 14.667 C 66.234 14.162,66.419 13.600,66.494 13.417 C 66.777 12.724,68.670 6.741,68.668 6.542 C 68.667 6.379,67.488 6.333,63.333 6.333 C 60.400 6.333,58.000 6.383,58.000 6.444 M282.500 15.416 C 280.626 15.659,279.047 15.960,278.583 16.163 C 278.400 16.244,277.870 16.429,277.406 16.575 C 274.410 17.515,271.083 19.908,268.735 22.810 C 268.560 23.027,268.337 23.289,268.239 23.394 C 267.383 24.306,265.666 27.785,265.019 29.917 C 264.083 33.003,263.773 35.465,263.779 39.750 C 263.784 43.420,263.866 44.280,264.483 47.083 C 265.542 51.893,268.330 56.416,271.929 59.167 C 273.215 60.149,273.679 60.444,275.045 61.149 C 280.776 64.109,288.301 64.225,294.503 61.450 C 298.710 59.567,302.588 54.647,303.987 49.417 C 304.326 48.148,304.745 48.392,299.417 46.751 C 298.317 46.412,297.020 45.992,296.535 45.817 C 295.228 45.346,295.107 45.380,294.849 46.292 C 293.155 52.293,289.892 55.159,284.750 55.159 C 277.384 55.159,273.500 49.630,273.500 39.144 C 273.500 31.396,275.801 26.329,280.167 24.465 C 280.579 24.289,281.067 24.076,281.250 23.992 C 282.330 23.497,285.834 23.325,287.512 23.685 C 290.760 24.381,293.709 27.207,294.511 30.390 C 294.743 31.314,294.536 31.291,297.083 30.674 C 299.143 30.175,301.888 29.524,303.051 29.258 C 303.583 29.137,304.051 29.004,304.092 28.964 C 304.172 28.884,303.747 27.293,303.500 26.750 C 302.936 25.505,301.972 23.529,301.795 23.253 C 301.411 22.654,300.088 20.921,299.821 20.667 C 298.942 19.828,298.147 19.170,297.417 18.674 C 295.830 17.597,295.680 17.500,295.602 17.500 C 295.559 17.500,295.049 17.281,294.470 17.013 C 293.891 16.745,293.192 16.472,292.917 16.407 C 292.642 16.341,292.342 16.231,292.250 16.162 C 291.341 15.477,285.482 15.029,282.500 15.416 M323.554 16.289 C 323.497 16.451,323.312 16.898,323.142 17.283 C 322.972 17.667,322.833 18.042,322.832 18.116 C 322.832 18.190,322.727 18.449,322.601 18.692 C 322.474 18.935,322.278 19.423,322.165 19.776 C 322.053 20.128,321.862 20.642,321.742 20.917 C 321.622 21.192,321.336 21.904,321.107 22.500 C 320.879 23.096,320.134 25.008,319.453 26.750 C 318.771 28.492,317.781 31.042,317.253 32.417 C 316.725 33.792,316.152 35.235,315.980 35.623 C 315.808 36.012,315.667 36.396,315.667 36.477 C 315.667 36.558,315.527 36.953,315.355 37.354 C 315.184 37.755,314.461 39.583,313.748 41.417 C 313.035 43.250,311.894 46.175,311.213 47.917 C 310.532 49.658,309.789 51.571,309.562 52.167 C 309.335 52.762,309.081 53.400,308.998 53.583 C 308.915 53.767,308.577 54.629,308.247 55.500 C 307.917 56.371,307.548 57.308,307.427 57.583 C 307.305 57.858,307.112 58.383,306.998 58.750 C 306.884 59.117,306.735 59.492,306.667 59.583 C 306.599 59.675,306.413 60.152,306.252 60.644 C 306.092 61.135,305.858 61.735,305.731 61.977 C 305.605 62.219,305.502 62.473,305.501 62.542 C 305.500 62.610,307.779 62.667,310.565 62.667 L 315.631 62.667 315.733 62.257 C 315.790 62.032,315.924 61.638,316.031 61.382 C 316.138 61.126,316.945 58.929,317.824 56.500 L 319.423 52.083 328.624 52.040 L 337.824 51.997 338.142 52.707 C 338.317 53.097,338.515 53.604,338.582 53.833 C 338.649 54.063,338.800 54.475,338.917 54.750 C 339.034 55.025,339.559 56.375,340.084 57.750 C 340.608 59.125,341.216 60.713,341.435 61.278 C 341.654 61.844,341.833 62.388,341.833 62.487 C 341.833 62.612,343.413 62.667,347.000 62.667 C 351.441 62.667,352.167 62.632,352.167 62.421 C 352.167 62.180,351.431 60.239,350.838 58.917 C 350.674 58.550,350.485 58.063,350.418 57.833 C 350.351 57.604,350.196 57.192,350.073 56.917 C 349.950 56.642,349.705 56.042,349.528 55.583 C 348.956 54.100,344.670 43.427,344.509 43.083 C 344.423 42.900,343.928 41.662,343.408 40.333 C 342.889 39.004,342.364 37.692,342.242 37.417 C 342.119 37.142,341.745 36.204,341.410 35.333 C 341.075 34.462,340.658 33.435,340.484 33.051 C 340.309 32.666,340.167 32.303,340.167 32.243 C 340.167 32.183,340.058 31.897,339.925 31.609 C 339.697 31.113,339.466 30.538,338.661 28.458 C 338.475 27.977,338.254 27.433,338.171 27.250 C 338.087 27.067,337.562 25.754,337.003 24.333 C 336.444 22.912,335.916 21.600,335.828 21.417 C 335.741 21.233,335.560 20.783,335.427 20.417 C 335.294 20.050,334.847 18.925,334.434 17.917 L 333.684 16.083 328.671 16.039 C 324.008 15.998,323.651 16.016,323.554 16.289 M355.000 39.332 L 355.000 62.667 359.417 62.667 L 363.833 62.667 363.850 44.625 C 363.860 34.349,363.929 26.799,364.010 27.083 C 364.088 27.358,364.336 28.333,364.560 29.250 C 364.785 30.167,365.165 31.667,365.406 32.583 C 365.646 33.500,365.987 34.850,366.163 35.583 C 366.338 36.317,366.677 37.667,366.915 38.583 C 367.152 39.500,367.492 40.850,367.669 41.583 C 367.846 42.317,368.185 43.667,368.423 44.583 C 368.661 45.500,369.032 46.962,369.248 47.833 C 369.463 48.704,369.832 50.186,370.066 51.126 C 370.301 52.066,370.672 53.566,370.891 54.459 C 372.004 58.988,372.721 61.796,372.873 62.208 L 373.040 62.667 377.578 62.667 L 382.116 62.667 382.567 60.875 C 382.816 59.890,383.208 58.333,383.440 57.417 C 383.990 55.240,384.598 52.802,385.083 50.833 C 385.297 49.962,385.822 47.900,386.250 46.250 C 386.677 44.600,387.168 42.650,387.341 41.917 C 387.514 41.183,387.889 39.683,388.174 38.583 C 389.558 33.246,389.630 32.958,390.564 29.027 C 390.789 28.080,391.017 27.261,391.070 27.208 C 391.123 27.155,391.167 35.111,391.167 44.889 L 391.167 62.667 395.583 62.667 L 400.000 62.667 400.000 39.333 L 400.000 16.000 392.937 16.000 L 385.874 16.000 385.676 16.708 C 385.567 17.098,385.296 18.111,385.074 18.959 C 384.852 19.807,384.478 21.232,384.243 22.125 C 384.008 23.019,383.704 24.200,383.569 24.750 C 383.433 25.300,383.214 26.125,383.081 26.583 C 382.948 27.042,381.899 31.017,380.750 35.417 C 379.600 39.817,378.480 44.092,378.260 44.917 C 378.040 45.742,377.813 46.632,377.755 46.895 C 377.613 47.544,377.513 47.389,377.156 45.967 C 376.988 45.298,376.658 44.019,376.423 43.125 C 376.188 42.232,375.816 40.807,375.596 39.959 C 375.376 39.111,374.622 36.279,373.921 33.667 C 373.219 31.054,372.456 28.204,372.226 27.333 C 371.996 26.462,371.707 25.375,371.584 24.917 C 371.176 23.399,370.522 20.939,370.098 19.333 C 369.869 18.462,369.579 17.375,369.455 16.917 L 369.228 16.083 362.114 16.040 L 355.000 15.996 355.000 39.332 M328.923 28.208 C 329.079 28.690,329.308 29.308,329.431 29.583 C 329.555 29.858,329.955 30.908,330.321 31.917 C 331.937 36.368,332.519 37.939,332.667 38.250 C 332.755 38.433,333.091 39.333,333.414 40.250 C 333.738 41.167,334.070 42.067,334.153 42.250 C 334.326 42.634,334.477 43.059,334.672 43.708 L 334.810 44.167 328.601 44.167 L 322.391 44.167 322.755 43.125 C 322.955 42.552,323.165 41.971,323.223 41.833 C 323.280 41.696,323.677 40.608,324.104 39.417 C 324.808 37.453,325.061 36.741,325.911 34.333 C 326.057 33.921,326.247 33.433,326.335 33.250 C 326.423 33.067,326.880 31.829,327.352 30.500 C 328.442 27.424,328.477 27.333,328.566 27.333 C 328.607 27.333,328.767 27.727,328.923 28.208 M11.057 38.208 C 10.777 38.415,10.369 38.714,10.149 38.874 C 9.930 39.033,8.813 39.849,7.667 40.687 C 5.259 42.448,4.706 42.851,3.000 44.088 C 2.313 44.586,1.563 45.143,1.333 45.325 L 0.917 45.656 1.333 45.983 C 2.223 46.680,6.137 49.689,7.143 50.449 C 7.726 50.890,8.290 51.325,8.398 51.417 C 9.772 52.593,9.710 52.659,10.256 49.417 C 10.472 48.133,10.837 46.033,11.067 44.750 C 11.297 43.467,11.634 41.572,11.817 40.541 C 11.999 39.509,12.197 38.585,12.257 38.488 C 12.353 38.333,11.909 37.853,11.657 37.839 C 11.606 37.836,11.336 38.002,11.057 38.208 M74.250 44.628 C 73.425 45.413,71.558 47.187,70.102 48.570 C 65.758 52.692,65.532 52.932,65.700 53.233 C 65.848 53.497,78.833 53.671,78.833 53.409 C 78.833 53.320,78.088 50.736,77.225 47.833 C 76.993 47.054,76.633 45.810,76.425 45.068 C 75.837 42.975,75.960 43.000,74.250 44.628 M33.192 65.386 C 33.029 65.583,33.561 67.601,34.168 69.083 C 34.243 69.267,34.766 70.879,35.331 72.667 C 37.029 78.044,37.047 78.084,37.530 77.623 C 37.651 77.507,37.973 77.269,38.246 77.095 C 38.518 76.920,38.818 76.711,38.912 76.630 C 39.006 76.549,39.796 76.020,40.667 75.454 C 41.537 74.888,42.287 74.386,42.333 74.338 C 42.379 74.290,43.092 73.802,43.917 73.254 C 46.407 71.600,46.533 72.004,42.928 70.098 C 39.989 68.544,38.606 67.804,37.750 67.330 C 34.118 65.317,33.476 65.044,33.192 65.386 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path2",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path3",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path4",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path0",d:"M22.273 0.634 C 22.719 0.985,23.308 1.418,23.583 1.595 C 23.858 1.772,24.196 2.005,24.333 2.113 C 24.785 2.467,26.742 3.918,27.109 4.170 C 28.137 4.877,31.613 7.429,31.804 7.616 C 31.925 7.736,32.075 7.834,32.137 7.834 C 32.199 7.834,32.512 8.059,32.833 8.333 C 33.154 8.608,33.468 8.833,33.530 8.833 C 33.592 8.833,33.742 8.929,33.863 9.047 C 33.984 9.164,34.758 9.744,35.583 10.334 C 36.408 10.925,37.158 11.466,37.250 11.536 C 37.342 11.606,37.942 12.043,38.583 12.507 C 39.225 12.970,40.435 13.852,41.273 14.466 C 42.110 15.081,43.372 15.996,44.076 16.500 C 44.780 17.004,45.868 17.792,46.495 18.250 C 47.121 18.708,47.796 19.196,47.994 19.333 C 48.193 19.471,48.894 19.981,49.553 20.468 C 50.211 20.955,50.900 21.459,51.083 21.589 C 52.772 22.789,59.206 27.476,60.215 28.242 C 61.366 29.117,61.379 29.115,61.729 28.041 C 62.679 25.123,62.889 24.089,62.903 22.250 C 62.919 20.067,63.145 20.682,59.908 14.083 C 58.514 11.242,57.008 8.138,56.562 7.186 C 54.205 2.163,53.611 1.102,52.861 0.583 L 52.138 0.083 36.801 0.039 L 21.464 -0.005 22.273 0.634 M69.675 9.043 C 69.266 10.348,68.876 11.529,68.806 11.667 C 68.736 11.804,68.220 13.379,67.659 15.167 C 67.098 16.954,66.575 18.567,66.498 18.750 C 66.421 18.933,65.707 21.108,64.912 23.583 C 64.118 26.058,63.405 28.233,63.329 28.417 C 63.252 28.600,62.351 31.337,61.326 34.500 C 59.529 40.043,58.725 42.509,56.432 49.500 C 55.846 51.288,55.314 52.926,55.250 53.142 L 55.133 53.534 57.942 53.466 C 62.502 53.354,63.347 52.971,67.083 49.319 C 68.550 47.885,70.162 46.321,70.667 45.843 C 71.171 45.366,72.221 44.362,73.001 43.613 C 73.780 42.863,75.497 41.237,76.816 40.000 C 79.976 37.036,80.198 36.402,79.175 33.260 C 78.905 32.429,78.186 30.212,77.578 28.333 C 76.969 26.454,76.297 24.392,76.083 23.750 C 75.869 23.108,75.265 21.233,74.741 19.583 C 74.216 17.933,73.417 15.458,72.965 14.083 C 72.513 12.708,72.122 11.508,72.096 11.417 C 72.071 11.325,72.008 11.137,71.957 11.000 C 71.906 10.862,71.576 9.832,71.224 8.710 C 70.872 7.587,70.546 6.669,70.500 6.669 C 70.454 6.669,70.083 7.737,69.675 9.043 M27.917 11.764 C 23.768 12.381,19.544 12.971,16.083 13.417 C 14.342 13.641,12.542 13.875,12.083 13.936 C 10.033 14.209,9.353 15.035,8.259 18.583 C 7.920 19.683,7.578 20.733,7.501 20.917 C 7.423 21.100,7.047 22.262,6.667 23.500 C 6.286 24.738,5.914 25.900,5.839 26.083 C 5.648 26.558,4.145 31.216,3.421 33.583 C 3.084 34.683,2.745 35.733,2.667 35.917 C 2.589 36.100,2.064 37.712,1.501 39.500 C 0.937 41.287,0.416 42.865,0.343 43.005 C 0.269 43.146,0.153 43.514,0.085 43.824 L -0.038 44.386 0.464 44.068 C 0.741 43.893,1.995 43.000,3.252 42.083 C 4.509 41.167,5.810 40.223,6.144 39.986 C 6.477 39.750,7.612 38.923,8.667 38.150 C 9.721 37.377,10.921 36.497,11.333 36.194 C 11.746 35.892,13.338 34.731,14.871 33.614 C 16.403 32.497,18.789 30.758,20.171 29.750 C 21.554 28.742,22.850 27.805,23.051 27.668 C 23.252 27.532,24.617 26.542,26.083 25.469 C 27.550 24.397,29.313 23.108,30.000 22.606 C 30.688 22.104,32.048 21.106,33.024 20.388 C 34.000 19.670,35.523 18.558,36.408 17.917 C 40.408 15.018,40.130 15.476,38.584 14.333 C 34.704 11.464,32.884 11.026,27.917 11.764 M96.500 39.334 L 96.500 62.668 114.208 62.626 L 131.917 62.583 131.961 58.625 L 132.006 54.667 118.920 54.667 L 105.833 54.667 105.833 48.417 L 105.833 42.167 117.500 42.167 L 129.167 42.167 129.167 38.167 L 129.167 34.167 117.500 34.167 L 105.833 34.167 105.833 29.083 L 105.833 24.000 118.417 24.000 L 131.000 24.000 131.000 20.000 L 131.000 16.000 113.750 16.000 L 96.500 16.000 96.500 39.334 M133.000 16.054 C 133.000 16.084,133.269 16.853,133.599 17.762 C 133.928 18.672,134.339 19.829,134.512 20.333 C 134.684 20.837,135.056 21.887,135.338 22.667 C 136.185 25.008,136.839 26.882,137.026 27.500 C 137.122 27.821,137.261 28.158,137.334 28.250 C 137.408 28.342,137.556 28.754,137.665 29.167 C 137.774 29.579,137.960 30.142,138.079 30.417 C 138.197 30.692,138.577 31.742,138.923 32.750 C 139.268 33.758,139.601 34.658,139.663 34.750 C 139.725 34.842,139.870 35.254,139.987 35.667 C 140.103 36.079,140.296 36.642,140.415 36.917 C 140.534 37.192,140.913 38.242,141.257 39.250 C 141.602 40.258,141.976 41.308,142.090 41.583 C 142.203 41.858,143.812 46.358,145.664 51.583 C 147.516 56.808,149.098 61.233,149.179 61.417 C 149.260 61.600,149.401 61.956,149.492 62.208 L 149.658 62.667 154.657 62.667 C 159.247 62.667,159.667 62.643,159.808 62.375 C 159.892 62.215,160.194 61.408,160.479 60.583 C 160.764 59.758,161.252 58.371,161.565 57.500 C 161.877 56.629,162.223 55.654,162.333 55.333 C 162.443 55.012,162.632 54.525,162.754 54.250 C 162.875 53.975,163.028 53.525,163.093 53.250 C 163.159 52.975,163.267 52.675,163.334 52.583 C 163.401 52.492,163.585 52.004,163.743 51.500 C 163.900 50.996,164.128 50.358,164.250 50.083 C 164.371 49.808,164.559 49.246,164.668 48.833 C 164.777 48.421,164.922 48.008,164.991 47.917 C 165.060 47.825,165.243 47.337,165.398 46.833 C 165.553 46.329,165.749 45.767,165.834 45.583 C 166.044 45.131,166.643 43.434,166.954 42.417 C 167.094 41.958,167.267 41.508,167.338 41.417 C 167.410 41.325,167.595 40.815,167.749 40.283 C 167.903 39.751,168.134 39.114,168.263 38.866 C 168.392 38.619,168.498 38.328,168.499 38.219 C 168.500 38.111,168.586 37.811,168.691 37.553 C 169.012 36.766,169.654 34.977,170.027 33.833 C 170.220 33.237,170.432 32.675,170.496 32.583 C 170.560 32.492,170.747 31.967,170.912 31.417 C 171.077 30.867,171.267 30.342,171.335 30.250 C 171.402 30.158,171.547 29.783,171.658 29.417 C 171.768 29.050,171.903 28.637,171.957 28.500 C 172.010 28.363,172.064 28.212,172.076 28.167 C 172.183 27.747,172.736 26.214,172.828 26.083 C 172.893 25.992,173.080 25.467,173.246 24.917 C 173.411 24.367,173.586 23.846,173.635 23.761 C 173.685 23.675,174.011 22.775,174.362 21.761 C 174.712 20.746,175.070 19.767,175.157 19.583 C 175.342 19.194,176.333 16.261,176.333 16.103 C 176.333 16.044,174.075 16.015,171.314 16.039 L 166.296 16.083 164.466 21.667 C 163.459 24.738,162.573 27.400,162.497 27.583 C 162.420 27.767,162.084 28.779,161.750 29.833 C 161.416 30.887,161.078 31.900,161.000 32.083 C 160.921 32.267,160.734 32.829,160.583 33.333 C 160.433 33.837,160.246 34.400,160.169 34.583 C 160.091 34.767,158.916 38.310,157.556 42.456 C 156.196 46.603,155.039 49.997,154.985 49.998 C 154.930 49.999,154.534 48.931,154.103 47.625 C 153.673 46.319,153.254 45.100,153.172 44.917 C 153.090 44.733,152.571 43.233,152.018 41.583 C 151.465 39.933,150.445 36.933,149.751 34.917 C 149.058 32.900,147.968 29.712,147.329 27.833 C 146.263 24.697,144.677 20.101,144.453 19.500 C 144.401 19.362,144.234 18.837,144.081 18.333 C 143.929 17.829,143.660 17.098,143.484 16.708 L 143.165 16.000 138.082 16.000 C 135.287 16.000,133.000 16.024,133.000 16.054 M179.077 16.208 C 179.033 16.323,179.017 26.804,179.040 39.500 L 179.083 62.583 196.500 62.629 C 206.079 62.654,214.085 62.634,214.292 62.584 L 214.667 62.494 214.667 58.580 L 214.667 54.667 201.583 54.667 L 188.500 54.667 188.500 48.417 L 188.500 42.167 200.208 42.167 L 211.917 42.167 211.869 38.167 L 211.822 34.167 200.161 34.167 L 188.500 34.167 188.500 29.083 L 188.500 24.000 201.083 24.000 L 213.667 24.000 213.667 20.000 L 213.667 16.000 196.411 16.000 C 182.761 16.000,179.140 16.044,179.077 16.208 M220.500 39.331 L 220.500 62.667 225.250 62.667 L 230.000 62.667 230.000 52.917 L 230.000 43.167 231.042 43.169 C 236.136 43.183,237.961 43.925,240.370 46.964 C 240.812 47.521,243.721 51.682,244.090 52.284 C 244.821 53.477,249.092 59.754,249.208 59.806 C 249.277 59.836,249.335 59.949,249.337 60.056 C 249.339 60.162,249.734 60.775,250.216 61.417 L 251.091 62.583 256.712 62.627 C 259.804 62.651,262.333 62.618,262.333 62.553 C 262.333 62.488,262.157 62.168,261.942 61.842 C 261.726 61.517,261.333 60.900,261.067 60.473 C 260.594 59.712,258.681 56.657,257.814 55.277 C 255.423 51.474,254.387 49.852,254.125 49.500 C 253.954 49.271,253.340 48.446,252.762 47.667 C 251.242 45.619,249.407 43.923,247.341 42.654 L 246.370 42.059 247.643 41.846 C 254.601 40.686,258.416 36.194,258.410 29.167 C 258.406 24.851,257.463 22.271,254.995 19.827 C 251.530 16.396,249.326 16.032,231.875 16.010 L 220.500 15.996 220.500 39.331 M242.833 24.171 C 244.966 24.308,245.727 24.529,246.776 25.317 C 249.785 27.578,249.319 33.086,245.973 34.803 C 244.782 35.415,243.718 35.508,236.708 35.612 L 230.000 35.711 230.000 29.847 L 230.000 23.982 235.542 24.021 C 238.590 24.042,241.871 24.110,242.833 24.171 M19.667 32.185 C 15.881 34.479,13.878 37.195,13.329 40.779 C 12.863 43.821,11.688 50.749,11.271 52.917 C 9.795 60.581,9.707 60.256,14.106 63.298 C 14.277 63.416,15.354 64.187,16.500 65.012 C 17.646 65.837,18.771 66.638,19.000 66.793 C 19.229 66.947,19.877 67.413,20.439 67.828 C 21.002 68.244,21.631 68.696,21.838 68.833 C 22.044 68.971,22.409 69.238,22.648 69.428 C 22.888 69.618,24.283 70.627,25.750 71.671 C 27.217 72.716,28.506 73.648,28.615 73.743 C 28.725 73.839,29.345 74.292,29.994 74.750 C 31.121 75.546,33.393 77.180,33.754 77.454 C 34.523 78.038,35.532 78.690,35.586 78.637 C 35.622 78.601,35.327 77.599,34.932 76.411 C 34.117 73.964,31.189 65.058,27.481 53.750 C 26.098 49.533,24.905 45.933,24.829 45.750 C 24.754 45.567,24.463 44.704,24.183 43.833 C 23.166 40.672,20.963 33.911,20.870 33.667 C 20.818 33.529,20.657 33.060,20.513 32.624 L 20.250 31.831 19.667 32.185 M50.042 55.459 C 33.109 55.494,29.833 55.538,29.833 55.729 C 29.833 55.854,30.053 56.622,30.323 57.436 C 31.704 61.618,32.884 63.191,35.750 64.674 C 39.079 66.396,41.611 67.731,42.895 68.441 C 43.617 68.840,44.237 69.167,44.273 69.167 C 44.346 69.167,49.103 71.739,49.500 71.993 C 52.432 73.869,53.958 73.941,56.167 72.308 C 57.663 71.202,59.518 69.845,62.167 67.919 C 63.404 67.020,64.728 66.051,65.108 65.767 C 65.488 65.483,65.965 65.137,66.166 65.000 C 66.368 64.862,66.919 64.469,67.391 64.125 C 67.864 63.781,68.400 63.392,68.583 63.260 C 68.767 63.128,69.456 62.621,70.114 62.135 C 70.773 61.648,71.474 61.137,71.673 61.000 C 71.871 60.862,72.345 60.517,72.725 60.233 C 73.106 59.949,74.354 59.034,75.500 58.201 C 78.610 55.939,79.000 55.639,79.000 55.510 C 79.000 55.446,77.031 55.398,74.625 55.405 C 72.219 55.411,61.156 55.436,50.042 55.459 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path1",d:"M19.589 4.037 C 19.065 5.529,18.573 6.871,18.497 7.020 C 18.420 7.168,18.272 7.608,18.167 7.999 C 18.062 8.389,17.895 8.905,17.797 9.146 C 17.698 9.386,17.454 10.052,17.254 10.625 L 16.891 11.667 17.404 11.663 C 17.686 11.661,18.404 11.585,19.000 11.494 C 20.705 11.234,24.809 10.675,28.059 10.261 C 32.395 9.708,32.390 9.691,26.827 5.833 C 26.629 5.696,25.954 5.208,25.327 4.750 C 24.701 4.292,23.654 3.542,23.002 3.083 C 22.350 2.625,21.726 2.170,21.616 2.072 C 21.507 1.974,21.220 1.766,20.980 1.609 L 20.543 1.323 19.589 4.037 M58.000 6.444 C 58.000 6.505,58.368 7.312,58.817 8.236 C 59.267 9.160,60.361 11.417,61.249 13.250 C 62.137 15.083,63.127 17.127,63.449 17.792 C 63.771 18.456,64.069 19.000,64.111 19.000 C 64.503 19.000,64.840 18.506,65.159 17.465 C 65.364 16.797,65.594 16.100,65.671 15.917 C 65.747 15.733,65.933 15.171,66.083 14.667 C 66.234 14.162,66.419 13.600,66.494 13.417 C 66.777 12.724,68.670 6.741,68.668 6.542 C 68.667 6.379,67.488 6.333,63.333 6.333 C 60.400 6.333,58.000 6.383,58.000 6.444 M282.500 15.416 C 280.626 15.659,279.047 15.960,278.583 16.163 C 278.400 16.244,277.870 16.429,277.406 16.575 C 274.410 17.515,271.083 19.908,268.735 22.810 C 268.560 23.027,268.337 23.289,268.239 23.394 C 267.383 24.306,265.666 27.785,265.019 29.917 C 264.083 33.003,263.773 35.465,263.779 39.750 C 263.784 43.420,263.866 44.280,264.483 47.083 C 265.542 51.893,268.330 56.416,271.929 59.167 C 273.215 60.149,273.679 60.444,275.045 61.149 C 280.776 64.109,288.301 64.225,294.503 61.450 C 298.710 59.567,302.588 54.647,303.987 49.417 C 304.326 48.148,304.745 48.392,299.417 46.751 C 298.317 46.412,297.020 45.992,296.535 45.817 C 295.228 45.346,295.107 45.380,294.849 46.292 C 293.155 52.293,289.892 55.159,284.750 55.159 C 277.384 55.159,273.500 49.630,273.500 39.144 C 273.500 31.396,275.801 26.329,280.167 24.465 C 280.579 24.289,281.067 24.076,281.250 23.992 C 282.330 23.497,285.834 23.325,287.512 23.685 C 290.760 24.381,293.709 27.207,294.511 30.390 C 294.743 31.314,294.536 31.291,297.083 30.674 C 299.143 30.175,301.888 29.524,303.051 29.258 C 303.583 29.137,304.051 29.004,304.092 28.964 C 304.172 28.884,303.747 27.293,303.500 26.750 C 302.936 25.505,301.972 23.529,301.795 23.253 C 301.411 22.654,300.088 20.921,299.821 20.667 C 298.942 19.828,298.147 19.170,297.417 18.674 C 295.830 17.597,295.680 17.500,295.602 17.500 C 295.559 17.500,295.049 17.281,294.470 17.013 C 293.891 16.745,293.192 16.472,292.917 16.407 C 292.642 16.341,292.342 16.231,292.250 16.162 C 291.341 15.477,285.482 15.029,282.500 15.416 M323.554 16.289 C 323.497 16.451,323.312 16.898,323.142 17.283 C 322.972 17.667,322.833 18.042,322.832 18.116 C 322.832 18.190,322.727 18.449,322.601 18.692 C 322.474 18.935,322.278 19.423,322.165 19.776 C 322.053 20.128,321.862 20.642,321.742 20.917 C 321.622 21.192,321.336 21.904,321.107 22.500 C 320.879 23.096,320.134 25.008,319.453 26.750 C 318.771 28.492,317.781 31.042,317.253 32.417 C 316.725 33.792,316.152 35.235,315.980 35.623 C 315.808 36.012,315.667 36.396,315.667 36.477 C 315.667 36.558,315.527 36.953,315.355 37.354 C 315.184 37.755,314.461 39.583,313.748 41.417 C 313.035 43.250,311.894 46.175,311.213 47.917 C 310.532 49.658,309.789 51.571,309.562 52.167 C 309.335 52.762,309.081 53.400,308.998 53.583 C 308.915 53.767,308.577 54.629,308.247 55.500 C 307.917 56.371,307.548 57.308,307.427 57.583 C 307.305 57.858,307.112 58.383,306.998 58.750 C 306.884 59.117,306.735 59.492,306.667 59.583 C 306.599 59.675,306.413 60.152,306.252 60.644 C 306.092 61.135,305.858 61.735,305.731 61.977 C 305.605 62.219,305.502 62.473,305.501 62.542 C 305.500 62.610,307.779 62.667,310.565 62.667 L 315.631 62.667 315.733 62.257 C 315.790 62.032,315.924 61.638,316.031 61.382 C 316.138 61.126,316.945 58.929,317.824 56.500 L 319.423 52.083 328.624 52.040 L 337.824 51.997 338.142 52.707 C 338.317 53.097,338.515 53.604,338.582 53.833 C 338.649 54.063,338.800 54.475,338.917 54.750 C 339.034 55.025,339.559 56.375,340.084 57.750 C 340.608 59.125,341.216 60.713,341.435 61.278 C 341.654 61.844,341.833 62.388,341.833 62.487 C 341.833 62.612,343.413 62.667,347.000 62.667 C 351.441 62.667,352.167 62.632,352.167 62.421 C 352.167 62.180,351.431 60.239,350.838 58.917 C 350.674 58.550,350.485 58.063,350.418 57.833 C 350.351 57.604,350.196 57.192,350.073 56.917 C 349.950 56.642,349.705 56.042,349.528 55.583 C 348.956 54.100,344.670 43.427,344.509 43.083 C 344.423 42.900,343.928 41.662,343.408 40.333 C 342.889 39.004,342.364 37.692,342.242 37.417 C 342.119 37.142,341.745 36.204,341.410 35.333 C 341.075 34.462,340.658 33.435,340.484 33.051 C 340.309 32.666,340.167 32.303,340.167 32.243 C 340.167 32.183,340.058 31.897,339.925 31.609 C 339.697 31.113,339.466 30.538,338.661 28.458 C 338.475 27.977,338.254 27.433,338.171 27.250 C 338.087 27.067,337.562 25.754,337.003 24.333 C 336.444 22.912,335.916 21.600,335.828 21.417 C 335.741 21.233,335.560 20.783,335.427 20.417 C 335.294 20.050,334.847 18.925,334.434 17.917 L 333.684 16.083 328.671 16.039 C 324.008 15.998,323.651 16.016,323.554 16.289 M355.000 39.332 L 355.000 62.667 359.417 62.667 L 363.833 62.667 363.850 44.625 C 363.860 34.349,363.929 26.799,364.010 27.083 C 364.088 27.358,364.336 28.333,364.560 29.250 C 364.785 30.167,365.165 31.667,365.406 32.583 C 365.646 33.500,365.987 34.850,366.163 35.583 C 366.338 36.317,366.677 37.667,366.915 38.583 C 367.152 39.500,367.492 40.850,367.669 41.583 C 367.846 42.317,368.185 43.667,368.423 44.583 C 368.661 45.500,369.032 46.962,369.248 47.833 C 369.463 48.704,369.832 50.186,370.066 51.126 C 370.301 52.066,370.672 53.566,370.891 54.459 C 372.004 58.988,372.721 61.796,372.873 62.208 L 373.040 62.667 377.578 62.667 L 382.116 62.667 382.567 60.875 C 382.816 59.890,383.208 58.333,383.440 57.417 C 383.990 55.240,384.598 52.802,385.083 50.833 C 385.297 49.962,385.822 47.900,386.250 46.250 C 386.677 44.600,387.168 42.650,387.341 41.917 C 387.514 41.183,387.889 39.683,388.174 38.583 C 389.558 33.246,389.630 32.958,390.564 29.027 C 390.789 28.080,391.017 27.261,391.070 27.208 C 391.123 27.155,391.167 35.111,391.167 44.889 L 391.167 62.667 395.583 62.667 L 400.000 62.667 400.000 39.333 L 400.000 16.000 392.937 16.000 L 385.874 16.000 385.676 16.708 C 385.567 17.098,385.296 18.111,385.074 18.959 C 384.852 19.807,384.478 21.232,384.243 22.125 C 384.008 23.019,383.704 24.200,383.569 24.750 C 383.433 25.300,383.214 26.125,383.081 26.583 C 382.948 27.042,381.899 31.017,380.750 35.417 C 379.600 39.817,378.480 44.092,378.260 44.917 C 378.040 45.742,377.813 46.632,377.755 46.895 C 377.613 47.544,377.513 47.389,377.156 45.967 C 376.988 45.298,376.658 44.019,376.423 43.125 C 376.188 42.232,375.816 40.807,375.596 39.959 C 375.376 39.111,374.622 36.279,373.921 33.667 C 373.219 31.054,372.456 28.204,372.226 27.333 C 371.996 26.462,371.707 25.375,371.584 24.917 C 371.176 23.399,370.522 20.939,370.098 19.333 C 369.869 18.462,369.579 17.375,369.455 16.917 L 369.228 16.083 362.114 16.040 L 355.000 15.996 355.000 39.332 M328.923 28.208 C 329.079 28.690,329.308 29.308,329.431 29.583 C 329.555 29.858,329.955 30.908,330.321 31.917 C 331.937 36.368,332.519 37.939,332.667 38.250 C 332.755 38.433,333.091 39.333,333.414 40.250 C 333.738 41.167,334.070 42.067,334.153 42.250 C 334.326 42.634,334.477 43.059,334.672 43.708 L 334.810 44.167 328.601 44.167 L 322.391 44.167 322.755 43.125 C 322.955 42.552,323.165 41.971,323.223 41.833 C 323.280 41.696,323.677 40.608,324.104 39.417 C 324.808 37.453,325.061 36.741,325.911 34.333 C 326.057 33.921,326.247 33.433,326.335 33.250 C 326.423 33.067,326.880 31.829,327.352 30.500 C 328.442 27.424,328.477 27.333,328.566 27.333 C 328.607 27.333,328.767 27.727,328.923 28.208 M11.057 38.208 C 10.777 38.415,10.369 38.714,10.149 38.874 C 9.930 39.033,8.813 39.849,7.667 40.687 C 5.259 42.448,4.706 42.851,3.000 44.088 C 2.313 44.586,1.563 45.143,1.333 45.325 L 0.917 45.656 1.333 45.983 C 2.223 46.680,6.137 49.689,7.143 50.449 C 7.726 50.890,8.290 51.325,8.398 51.417 C 9.772 52.593,9.710 52.659,10.256 49.417 C 10.472 48.133,10.837 46.033,11.067 44.750 C 11.297 43.467,11.634 41.572,11.817 40.541 C 11.999 39.509,12.197 38.585,12.257 38.488 C 12.353 38.333,11.909 37.853,11.657 37.839 C 11.606 37.836,11.336 38.002,11.057 38.208 M74.250 44.628 C 73.425 45.413,71.558 47.187,70.102 48.570 C 65.758 52.692,65.532 52.932,65.700 53.233 C 65.848 53.497,78.833 53.671,78.833 53.409 C 78.833 53.320,78.088 50.736,77.225 47.833 C 76.993 47.054,76.633 45.810,76.425 45.068 C 75.837 42.975,75.960 43.000,74.250 44.628 M33.192 65.386 C 33.029 65.583,33.561 67.601,34.168 69.083 C 34.243 69.267,34.766 70.879,35.331 72.667 C 37.029 78.044,37.047 78.084,37.530 77.623 C 37.651 77.507,37.973 77.269,38.246 77.095 C 38.518 76.920,38.818 76.711,38.912 76.630 C 39.006 76.549,39.796 76.020,40.667 75.454 C 41.537 74.888,42.287 74.386,42.333 74.338 C 42.379 74.290,43.092 73.802,43.917 73.254 C 46.407 71.600,46.533 72.004,42.928 70.098 C 39.989 68.544,38.606 67.804,37.750 67.330 C 34.118 65.317,33.476 65.044,33.192 65.386 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path2",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none",fill:"#c81010","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path3",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}}),r("path",{attrs:{id:"path4",d:"M96.414 39.333 C 96.414 52.212,96.434 57.481,96.458 51.042 C 96.482 44.602,96.482 34.065,96.458 27.625 C 96.434 21.185,96.414 26.454,96.414 39.333 M105.907 29.083 C 105.907 31.925,105.930 33.111,105.958 31.719 C 105.986 30.327,105.986 28.002,105.958 26.552 C 105.930 25.103,105.908 26.242,105.907 29.083 M188.574 29.083 C 188.574 31.925,188.597 33.111,188.625 31.719 C 188.652 30.327,188.653 28.002,188.625 26.552 C 188.597 25.103,188.574 26.242,188.574 29.083 M211.905 38.083 C 211.905 40.283,211.929 41.160,211.958 40.032 C 211.987 38.904,211.987 37.104,211.958 36.032 C 211.929 34.960,211.905 35.883,211.905 38.083 M105.909 48.417 C 105.909 51.900,105.931 53.349,105.958 51.636 C 105.985 49.923,105.985 47.073,105.958 45.303 C 105.931 43.532,105.909 44.933,105.909 48.417 M188.576 48.417 C 188.576 51.900,188.598 53.349,188.625 51.636 C 188.652 49.923,188.652 47.073,188.625 45.303 C 188.598 43.532,188.576 44.933,188.576 48.417 M73.875 55.456 C 74.310 55.490,75.023 55.490,75.458 55.456 C 75.894 55.422,75.537 55.393,74.667 55.393 C 73.796 55.393,73.440 55.422,73.875 55.456 ",stroke:"none","fill-rule":"evenodd"}})])])},sl=[],al=R(nl,il,sl,!1,null,null,null,null);const ol=al.exports,ll=O.extend({name:"CompactExcavator",components:{BaseIcon:ce}});var cl=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:"22"}},"BaseIcon",e.$attrs,!1),[r("g",[r("g",[r("path",{attrs:{d:`M442.547,143.877c-3.46-4.855-9.054-7.737-15.016-7.737h-70.827c-7.511,0-14.271,4.556-17.092,11.517L291.55,266.289
|
|
53
53
|
h-43.252L230.19,97.342c-1.004-9.371-8.912-16.476-18.337-16.476H18.442C8.257,80.866,0,89.123,0,99.308
|
|
54
54
|
c0,10.185,8.257,18.442,18.442,18.442h8.1v150.433c-2.448-1.2-5.19-1.893-8.1-1.893C8.257,266.289,0,274.546,0,284.731v40.582
|
|
55
55
|
c0,7.347,4.308,13.673,10.525,16.637c11.122-10.395,26.04-16.776,42.427-16.776h201.657l-2.358-22.002h51.725
|
|
@@ -229,16 +229,16 @@ m367 -176 c192 -56 348 -207 420 -405 34 -93 34 -285 0 -378 -72 -198 -228
|
|
|
229
229
|
510 154 506 4 -4 72 -236 152 -517z m361 -1029 c13 -13 27 -35 30 -48 27 -116
|
|
230
230
|
285 -1327 285 -1339 0 -25 -152 -89 -316 -134 -139 -38 -243 -55 -414 -65
|
|
231
231
|
-174 -10 -311 -1 -476 31 -186 35 -454 134 -454 167 0 26 280 1325 292 1355
|
|
232
|
-
23 59 9 57 541 57 l488 0 24 -24z`}})])])},e5=[],t5=R(K2,J2,e5,!1,null,null,null,null);const r5=t5.exports,n5=O.extend({name:"ZohoCrm",components:{BaseIcon:ce},props:{color:{type:String,default:"grey"}}});var i5=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"}})])},s5=[],a5=R(n5,i5,s5,!1,null,null,null,null);const o5=a5.exports,l5=O.extend({name:"Tag",components:{BaseIcon:ce},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var c5=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"}})])},u5=[],d5=R(l5,c5,u5,!1,null,null,null,null);const h5=d5.exports,p5=O.extend({name:"Tag",components:{BaseIcon:ce},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var f5=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"}})])},m5=[],g5=R(p5,f5,m5,!1,null,null,null,null);const v5=g5.exports,y5=O.extend({name:"Nerves",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var _5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._g(e._b({attrs:{small:!0,width:"39px",height:"32px",viewBox:"0 0 39 32"}},"BaseIcon",e.$attrs,!1),e.$listeners),[r("g",{attrs:{transform:"translate(-150.000000, -24.000000)",fill:"#FFFFFF","fill-rule":"nonzero"}},[r("g",{attrs:{transform:"translate(150.000000, 24.000000)"}},[r("path",{style:`fill: ${e.color}`,attrs:{d:"M36.8961538,0.0347826087 C37.9157565,0.0347826087 38.7423077,0.875708644 38.7423077,1.91304348 L38.7423077,1.91304348 L38.7423077,30.0947826 C38.7423077,31.1321174 37.9157565,31.9730435 36.8961538,31.9730435 L36.8961538,31.9730435 L29.4846154,31.9730435 L29.4884615,31.9886957 C29.0885173,31.9836286 28.7010575,31.8462773 28.3846154,31.5973913 L28.3846154,31.5973913 L10.4,17.9565217 C9.92639703,17.5948183 9.6506735,17.0250601 9.65756147,16.4226087 L9.65756147,16.4226087 L9.65756147,15.64 C9.65686375,14.933417 10.0458734,14.2861439 10.6644383,13.9648756 C11.2830032,13.6436073 12.0264516,13.7027078 12.5884615,14.1178261 L12.5884615,14.1178261 L29.7038462,26.7373913 C30.0199016,26.968534 30.3992227,27.0930678 30.7884615,27.0934783 L30.7884615,27.0934783 L32.0923077,27.0934783 C32.5822513,27.09452 33.0524229,26.8969669 33.3988661,26.5444986 C33.7453093,26.1920303 33.9394855,25.7136818 33.9384615,25.2152174 L33.9384615,25.2152174 L33.9384615,6.79652174 C33.9394855,6.29805736 33.7453093,5.81970886 33.3988661,5.46724054 C33.0524229,5.11477223 32.5822513,4.91721914 32.0923077,4.91826087 L32.0923077,4.91826087 L30.7153846,4.91826087 C30.225441,4.9193026 29.7552694,4.72174951 29.4088262,4.36928119 C29.062383,4.01681288 28.8682069,3.53846438 28.8692308,3.04 L28.8692308,3.04 L28.8692308,1.91304348 C28.8692308,0.875708644 29.695782,0.0347826087 30.7153846,0.0347826087 L30.7153846,0.0347826087 Z M9.29615385,0.00739130435 C9.69614711,0.0121740752 10.0836931,0.149555936 10.4,0.398695652 L10.4,0.398695652 L28.3846154,14.0434783 C28.8571972,14.4035114 29.1305978,14.972929 29.1192308,15.5734783 L29.1192308,15.5734783 L29.1192308,16.356087 C29.1190118,17.0612911 28.7305478,17.7069474 28.1133582,18.0279227 C27.4961685,18.348898 26.7542665,18.2910992 26.1923077,17.8782609 L26.1923077,17.8782609 L9.08461538,5.27043478 C8.76974759,5.03645424 8.389914,4.91038181 8,4.91043478 L8,4.91043478 L6.68461538,4.91043478 C6.19431782,4.9104337 5.72415756,5.10885839 5.37782578,5.4619474 C5.031494,5.81503642 4.83744009,6.2937853 4.83846154,6.7926087 L4.83846154,6.7926087 L4.83846154,25.1995652 C4.83846154,26.2369001 5.66501277,27.0778261 6.68461538,27.0778261 L6.68461538,27.0778261 L8.07692308,27.0778261 C8.5668667,27.0767844 9.0370383,27.2743374 9.38348152,27.6268058 C9.72992473,27.9792741 9.92410084,28.4576226 9.92307692,28.956087 L9.92307692,28.956087 L9.92307692,30.0869565 C9.92413223,30.588151 9.72784822,31.0688985 9.37806512,31.4218238 C9.02828202,31.774749 8.55413977,31.9704502 8.06153846,31.9653197 L8.06153846,31.9653197 L1.88461538,31.9653197 C0.86501277,31.9653197 0.03844549,31.1242914 0.03844549,30.0869565 L0.03844549,30.0869565 L0.03844549,1.91304348 C0.0364158462,1.41354313 0.230017315,0.933787137 0.576460295,0.579850445 C0.922903275,0.225913753 1.39364925,0.0269521857 1.88461538,0.0269565217 L1.88461538,0.0269565217 L9.29615385,0.0269565217 Z"}})])])])},C5=[],b5=R(y5,_5,C5,!1,null,null,null,null);const x5=b5.exports,w5=O.extend({name:"Procore",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var S5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"1608px",height:"204px",viewBox:"0 0 1608 204",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{staticClass:"s0",attrs:{id:"_Compound_Path_","fill-rule":"evenodd",d:"m1407.6 1h200.4v37.6h-147.4v44.6h94.4v37.5h-94.4v44.6h147.4v37.8h-200.4zm-732.4 41.6v118.8c0.2 5.5-0.7 10.9-2.7 16-2.1 5.1-5.1 9.7-9 13.5-3.8 3.9-8.4 6.9-13.5 8.9-5.1 2-10.6 3-16 2.8h-130.5c-5.5 0.2-11-0.6-16.2-2.6-5.1-2-9.8-5-13.8-8.8-3.9-3.9-7-8.5-9.1-13.7-2-5.1-3-10.6-2.8-16.1v-118.8c-0.2-5.5 0.7-10.9 2.8-16 2-5.1 5-9.7 8.9-13.6 3.9-3.8 8.5-6.8 13.6-8.8 5.1-2 10.6-3 16-2.8h130.5c5.5-0.3 11 0.6 16.2 2.6 5.1 1.9 9.8 4.9 13.7 8.8 4 3.9 7.1 8.5 9.1 13.6 2 5.2 3 10.7 2.8 16.2zm-32.7 59.4l-37-63.5h-74.4l-36 63.5 36.7 63.4h74.5zm704.7 26.9l43 74.3h-57.2l-42.9-74.3h-61.9v74.3h-53v-202.2h168.1c5.5-0.2 11 0.7 16.2 2.7 5.1 2.1 9.8 5.1 13.6 9 3.9 3.9 7 8.6 9 13.8 1.9 5.1 2.8 10.6 2.6 16.1v45.8c0.1 5.1-0.8 10.1-2.6 14.9-1.8 4.8-4.5 9.2-7.9 12.9-3.5 3.8-7.7 6.8-12.3 9-4.6 2.2-9.6 3.4-14.7 3.7zm-14.9-77.8c0-1.7-0.4-3.3-1-4.8-0.6-1.5-1.6-2.9-2.7-4-1.2-1.2-2.6-2.1-4.1-2.7-1.5-0.7-3.1-1-4.7-1h-90.9v52.9h90.9c1.6 0 3.2-0.4 4.7-1 1.5-0.6 2.9-1.6 4.1-2.7 1.1-1.2 2.1-2.5 2.7-4 0.6-1.6 1-3.2 1-4.8zm-181.5-8.5v118.9c0.1 5.4-0.8 10.9-2.8 16-2.1 5-5.1 9.7-9 13.5-3.9 3.9-8.5 6.9-13.6 8.9-5.1 2-10.5 2.9-16 2.7h-130.4c-5.5 0.2-10.9-0.8-15.9-2.8-5.1-2-9.7-5.1-13.5-8.9-3.9-3.9-6.9-8.5-8.8-13.5-2-5.1-3-10.5-2.8-15.9v-118.9c-0.2-5.4 0.8-10.9 2.8-15.9 2-5.1 5-9.7 8.9-13.6 3.9-3.8 8.5-6.9 13.6-8.9 5-2 10.5-2.9 16-2.7h130.4c5.4-0.2 10.9 0.8 15.9 2.8 5.1 2 9.7 5.1 13.5 8.9 3.9 3.9 6.9 8.5 8.9 13.5 2 5.1 2.9 10.5 2.8 15.9zm-32.9 59.5l-36.8-63.5h-74.4l-36.2 63.5 36.9 63.4h74.4zm-229-98.5c5.2 2 10 5.1 13.9 9 4 3.9 7.1 8.6 9.1 13.8 2 5.2 2.9 10.7 2.7 16.3v32.4h-48.6l-21.1-36.4h-74.5l-36.7 63.4 36 63.4h74.4l21.2-36.4h48.5v32.4c0.2 5.5-0.7 10.9-2.7 16-2 5.1-5.1 9.7-8.9 13.5-3.9 3.9-8.5 6.9-13.6 8.9-5.1 2-10.6 3-16 2.8h-130.4c-5.5 0.2-11-0.8-16.1-2.8-5.1-2-9.7-5-13.6-8.9-3.9-3.8-6.9-8.4-8.9-13.5-2-5.1-3-10.5-2.8-16v-118.8c-0.3-5.5 0.6-11 2.6-16.1 2-5.2 5.1-9.8 9-13.7 3.8-4 8.5-7 13.6-9 5.1-2.1 10.6-3 16.2-2.8h130.4c5.5-0.3 11.1 0.5 16.3 2.5zm-486.8 125.4l43 74.3h-56.7l-43-74.3h-62.4v74.3h-52.4v-202.2h167.9c5.5-0.2 11 0.7 16.1 2.8 5.2 2 9.8 5 13.7 9 3.9 3.9 6.9 8.5 8.9 13.7 2 5.1 2.9 10.6 2.7 16.1v45.7c0.1 5.2-0.7 10.3-2.6 15-1.8 4.8-4.5 9.2-8 13-3.5 3.7-7.7 6.8-12.4 8.9-4.6 2.2-9.7 3.4-14.8 3.7zm-14.9-77.9c0-1.6-0.4-3.2-1-4.7-0.7-1.6-1.6-2.9-2.8-4.1-1.1-1.2-2.5-2.1-4-2.7-1.6-0.6-3.2-0.9-4.9-0.9h-91.5v52.8h90.7c1.6 0 3.2-0.3 4.8-0.9 1.5-0.6 2.9-1.5 4-2.7 1.2-1.2 2.2-2.5 2.8-4 0.6-1.6 1-3.2 1-4.8zm-177.8-8.5v45.8c0.2 5.4-0.7 10.8-2.7 15.9-2 5.1-5.1 9.7-8.9 13.6-3.9 3.8-8.5 6.9-13.6 8.9-5.1 2-10.5 2.9-16 2.7h-115.1v74.3h-53v-202.8h168.1c5.5-0.2 11 0.8 16.1 2.8 5.1 2 9.8 5.1 13.6 9 3.9 3.9 6.9 8.6 8.9 13.7 2 5.1 2.9 10.6 2.6 16.1zm-53 8.9c0-1.6-0.3-3.3-1-4.8-0.6-1.5-1.6-2.9-2.7-4-1.2-1.2-2.6-2.1-4.1-2.7-1.5-0.6-3.2-1-4.8-1h-90.7v52.9h90.7c1.6 0 3.3-0.3 4.8-0.9 1.5-0.6 2.9-1.6 4.1-2.7 1.1-1.2 2.1-2.6 2.7-4.1 0.7-1.5 1-3.1 1-4.8z"}}),r("path",{staticStyle:{fill:"#ff5200"},attrs:{d:"m787.8 68.7h38.7l19.3 33.3-19.3 33.3h-38.7l-19.4-33.3 19.4-33.3z"}})])},T5=[],k5=R(w5,S5,T5,!1,null,null,null,null);const $5=k5.exports,M5=O.extend({name:"ProcoreSmall",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var E5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 1491 1408",small:!0,width:"1491px",height:"1408px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"M1311.3 18.5c36.3 13.8 69.3 35.1 96.8 62.4 27.5 27.4 49 60.2 63.1 96.4 14.1 36.1 20.5 74.9 18.7 113.6v226h-338l-147.2-254H486.4L230.3 705.6l250.9 442.7h518.3l147.2-254h338v226c1.3 38-5.2 75.9-19.2 111.4-14 35.4-35.1 67.6-62 94.5-27 26.9-59.1 48-94.6 62-35.4 14-73.3 20.5-111.4 19.2H289.4c-38.1 1.3-76.1-5.2-111.5-19.2-35.5-13.9-67.8-35-94.8-61.9-27-27-48.2-59.1-62.3-94.5-14.1-35.5-20.7-73.4-19.6-111.5V290.9C-.4 252.6 6 214.3 19.9 178.5s35-68.4 62.1-95.6c27-27.3 59.4-48.6 95.1-62.8C212.8 6 251-.7 289.4.7h908.1c38.8-2.1 77.6 4 113.8 17.8"}}),r("path",{attrs:{fill:"#ff5200",d:"M607.7 473.4h269.5L1012 705.6 877.2 937.8H607.7L472.9 705.6z"}})])},L5=[],D5=R(M5,E5,L5,!1,null,null,null,null);const P5=D5.exports,z5=O.extend({name:"Aconex",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var O5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 655 101",small:!0,width:"655px",height:"101px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{fill:e.color,d:"M37.06 0h14.5C73.84 2.53 89.8 10.9 89.97 35.77q.09 12.18.01 59.51 0 .52-.5.66-12.12 3.44-24.54 5.06H30.19C15.22 98.86 1.82 92.45 0 75.69v-8q2.73-19.08 21.98-23.42c14.83-3.34 25.3-2.59 43.9-2.5q.49.01.53-.48c.95-11.25-1.99-21.4-14.77-23.07-14.54-1.9-28.92.74-42.68 5.25q-.66.21-.79-.46L5.15 6.85q-.1-.53.41-.69Q21.01 1.3 37.06 0ZM24.35 74.69c4.27 15.92 30.28 13.01 41.47 9.94q.68-.19.68-.89V55.5q0-.52-.52-.51c-9.13.02-33.04-2.87-40.14 8.54q-3.13 5.04-1.49 11.16ZM154.81 0h12.25q11.13 1.2 21.36 5.76a.83.83 0 0 1 .48.92l-3 15.83a.52.52 0 0 1-.75.36c-27.94-14.29-61.26-.09-54.36 35.65 5.27 27.29 35.25 30.97 56.27 21.02q.49-.23.6.31l3.06 15.94q.11.59-.44.82-7.43 3.11-15.34 4.39h-26.25q-15.21-2.62-26.13-11.53c-16.7-13.62-20.16-39.21-13.57-58.74C115.54 11.28 135.33 1.3 154.81 0ZM248.06 0h11.75c32.22 3.27 50.15 24.01 47.51 57.05-1.99 24.86-17.32 39.3-41.13 43.95h-25c-32.74-5.35-47.18-33.29-39.87-64.54C206.8 12.99 225.42 1.94 248.06 0Zm-13.87 77.81q9.04 7.19 19.94 6.86c24.28-.73 31.99-22.11 28.35-42.89q-2.6-14.88-14.73-21.05c-11.98-6.1-29.11-3.64-37.41 7.36-9.48 12.56-9.31 39.26 3.85 49.72ZM362.06 0h15.25c24.46 1.67 41.07 14.59 41.19 40.25q.14 30.38-.19 60.75h-23.37q.3-47.86-.06-62.79-.28-12.04-9.02-17.06c-8.64-4.96-28.52-4.3-37.92.78q-.47.26-.47.8l-.12 78.27h-23.41l.04-92.38a1.27 1.25 79.6 0 1 .8-1.18C336.61 2.83 349.45.82 362.06 0ZM478.31 0h12.5q10.95 1.05 19.44 5.01c19.43 9.09 24.7 32.45 21.32 51.95a.35.34-85 0 1-.34.29H460.5q-.84 0-.81.84c1 33.28 42.06 28.48 62.32 21.97.88-.28 1.87-1.01 2.95-1.25q.58-.13.74.45l4.34 15.68q.14.51-.36.7-10.43 3.75-21.24 5.36h-31.25c-21-3.64-36.42-13.77-41.03-35.42q-3.17-14.86-.04-30.6c4.43-22.3 20.94-32.9 42.19-34.98Zm16.13 18.09c-18.4-6.52-36.52 5.09-34.51 25.65q.05.51.56.51h46.53a.45.45 0 0 0 .45-.44c.18-9.71-2.8-22.09-13.03-25.72Z"}}),r("path",{attrs:{fill:"#e86c17",d:"M542.06 0h30.25l22.64 27.91q.3.37.3.85v18.49q0 .5-.5.5h-13.76q-.53 0-.86-.41L541.89.39q-.06-.08.01-.16.09-.09.16-.23Z"}}),r("path",{attrs:{fill:e.color,d:"M624.06 0h30.25q-.05.16.06.26.06.07 0 .14l-38.23 46.94q-.33.41-.86.41H602q-.75 0-.75-.75V28.7q0-.6.38-1.07L624.06 0ZM572.19 101h-29.75l-.08-.31q-.04-.17.07-.31l37.7-46.31q.25-.32.66-.32h13.71q.75 0 .75.75v17.97q0 .45-.28.79L572.19 101Z"}}),r("path",{attrs:{fill:"#e86c17",d:"M653.94 101h-30.25l-22.11-27.25q-.33-.42-.33-.95V54.25q0-.5.5-.5h13.72q.47 0 .76.36c3.44 4.23 38 46.23 37.71 46.89Z"}})])},B5=[],I5=R(z5,O5,B5,!1,null,null,null,null);const F5=I5.exports,R5=O.extend({name:"AconexSmall",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var A5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 580 520",small:!0,width:"580px",height:"520px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("g",{attrs:{transform:"translate(-490, -270)"}},[r("path",{attrs:{fill:"#e86c17",d:"M494.66 271h150.1a.35.35 0 0 1 .28.13l115.38 141.98a.35.35 0 0 1 .08.22v95.82a.35.35 0 0 1-.35.35h-72.24a.35.35 0 0 1-.28-.13l-193.25-237.8a.35.35 0 0 1 .28-.57Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M906.72 271h150.14a.32.32 0 0 1 .25.52L863.96 509.38a.32.32 0 0 1-.25.12h-72.14a.32.32 0 0 1-.32-.32v-96.06a.32.32 0 0 1 .07-.2l115.15-141.8a.32.32 0 0 1 .25-.12ZM688.14 540.25h71.94a.42.42 0 0 1 .42.42v95.97a.42.42 0 0 1-.09.27l-117.7 144.93a.42.42 0 0 1-.33.16H492.51a.42.42 0 0 1-.32-.68l195.62-240.91a.42.42 0 0 1 .33-.16Z"}}),r("path",{attrs:{fill:"#e86c17",d:"M1059.1 781.2a.83.83 0 0 1-.83.8H909.73a1.11 1.1-19.3 0 1-.86-.41L791.56 637.23a1.38 1.38 0 0 1-.31-.87v-95.61a.5.5 0 0 1 .5-.5h71.52a1.1 1.1 0 0 1 .85.4q97.41 119.9 194.78 239.94.21.26.2.61Z"}})])])},H5=[],N5=R(R5,A5,H5,!1,null,null,null,null);const j5=N5.exports,q5=O.extend({name:"Autodesk",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var W5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 1619.27 166.13",small:!0,width:"1619.27px",height:"166.13px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"M1619.27 4.34h-47.94l-57.42 64.12V4.34h-40.25l.2 157.84h40.05V102.2l54.46 59.98h50.9l-73.39-77.93 73.39-79.91zm-210.51 64.91l-36.7-4.14c-21.51-2.37-26.83-7.7-26.83-15 0-8.09 11.05-15.39 32.55-15.39 20.72 0 31.57 7.7 33.54 19.34h39.46c-2-33.35-30-54.06-70.83-54.06-48.53 0-73 19.33-73 53.46 0 27.82 16.18 40.85 49.72 44.4l37.29 3.94c14.21 1.58 20.72 7.11 20.72 14.21 0 8.09-9.47 15.39-32.36 15.39-26.44 0-37.09-6.71-38.87-20.13h-38.67c1.78 36.31 25.45 54.85 76.16 54.85 46.36 0 72.21-20.32 72.21-50.9 0-26.64-15.39-42.62-44.39-45.97zm-248.8 92.93h127.06v-34.13h-86.81V99.44h69.84V65.11h-69.84V38.47h86.81V4.34h-127.06v157.84zm-94.7-157.84h-73.79v157.84h73.79c56.63 0 72.21-21.11 72.21-80.11 0-55.44-14.99-77.73-72.21-77.73zm-1.62 123.72h-32V38.47h32c25.26 0 32.75 6.91 32.75 43.6.04 33.54-8.44 45.99-32.75 45.99zM882.17 0c-57.42 0-87.21 35.31-87.21 82.86 0 47.75 29.79 83.26 87.21 83.26 57.61 0 87.4-35.51 87.4-83.26 0-47.55-29.79-82.86-87.4-82.86zm0 130.61c-29.79 0-46.17-18.15-46.17-47.75 0-29 16.38-47.35 46.17-47.35 30 0 46.17 18.35 46.17 47.35 0 29.6-16.18 47.75-46.17 47.75zM646.59 38.47h50.9v123.71h40.25V38.47h50.71V4.34H646.59v34.13zM588 101.8c0 20.52-12.63 28.81-34.14 28.81-20.91 0-34.52-8.68-34.52-28.81V4.34h-40.25v102c0 45.58 40.64 59.78 74.77 59.78 33.94 0 74.38-14.2 74.38-59.78v-102H588zM361.3 4.34l-60.57 157.84h41.63l10.57-29.6h67.62l10.4 29.6h43L412.64 4.34zm3.61 94.7l22.11-61.87 21.74 61.89zM1.24 162.19l141.34-87.92h73.32a4.28 4.28 0 014.28 4.29 3.72 3.72 0 01-2 3.6l-69.42 41.62c-4.51 2.7-6.09 8.12-6.09 12.18l-.07 26.23h88.22V9.75a5.41 5.41 0 00-5.64-5.42H141L0 91.87v70.32z"}})])},G5=[],U5=R(q5,W5,G5,!1,null,null,null,null);const Z5=U5.exports,X5=O.extend({name:"AutodeskSmall",components:{BaseIcon:ce},props:{color:{type:String,default:"black"}}});var Y5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 24 24",small:!0,height:"24px",width:"24px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"m15 11.5 -14 8v-7l13.5 -8H22a1 1 0 0 1 1 1v14h-9v-2.485a1 1 0 0 1 0.419 -0.814l5.946 -4.248a0.25 0.25 0 0 0 -0.145 -0.453H15Z","stroke-width":"1"}})])},V5=[],Q5=R(X5,Y5,V5,!1,null,null,null,null);const K5=Q5.exports,J5=O.extend({name:"ProcoreObservations",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var e3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 24 24",small:!0,width:"100%",height:"100%",fill:"none",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{d:"M16 4C16.93 4 17.395 4 17.7765 4.10222C18.8117 4.37962 19.6204 5.18827 19.8978 6.22354C20 6.60504 20 7.07003 20 8V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V8C4 7.07003 4 6.60504 4.10222 6.22354C4.37962 5.18827 5.18827 4.37962 6.22354 4.10222C6.60504 4 7.07003 4 8 4M9 15L11 17L15.5 12.5M9.6 6H14.4C14.9601 6 15.2401 6 15.454 5.89101C15.6422 5.79513 15.7951 5.64215 15.891 5.45399C16 5.24008 16 4.96005 16 4.4V3.6C16 3.03995 16 2.75992 15.891 2.54601C15.7951 2.35785 15.6422 2.20487 15.454 2.10899C15.2401 2 14.9601 2 14.4 2H9.6C9.03995 2 8.75992 2 8.54601 2.10899C8.35785 2.20487 8.20487 2.35785 8.10899 2.54601C8 2.75992 8 3.03995 8 3.6V4.4C8 4.96005 8 5.24008 8.10899 5.45399C8.20487 5.64215 8.35785 5.79513 8.54601 5.89101C8.75992 6 9.03995 6 9.6 6Z",stroke:e.color,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])},t3=[],r3=R(J5,e3,t3,!1,null,null,null,null);const n3=r3.exports,i3={Back10:b0,Forward10:g0,Bim:d0,Brightness:k0,Blur:D0,Compare:I0,ConcretePump:N0,CompactExcavator:Bi,DroneView:U0,Dumper:Q0,Evercam:rl,EvercamLogo:ol,Excavator:Bi,FlatbedSemiTrailer:gl,FreeDrawing:bl,IModel:kl,Inspection:Dl,Loader:Il,MiniModel:Nl,MarkUp:r5,Nerves:x5,OtherTruck:Ii,RoadVehicle:Vl,Roller:t2,Robot:a2,SemiTrailer:d2,SkidSteerLoader:g2,SmallTruck:b2,TankTruck:k2,The360:D2,TippingTruck:I2,TruckHead:N2,TruckMixer:U2,Unknown:Ii,Worker:Q2,ZohoCrm:o5,Tag:h5,TagPlus:v5,Procore:$5,ProcoreSmall:P5,Aconex:F5,AconexSmall:j5,Autodesk:Z5,AutodeskSmall:K5,ProcoreObservations:n3},s3=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Fi=Object.fromEntries(Object.entries(i3).map(([t,e])=>[s3(t),e])),a3=O.extend({name:"EIcon",components:{...Fi},props:{icon:{type:String,default:void 0},colorClass:{type:String,default:se.Default}},computed:{isSvgIcon(){return this.icon.startsWith("eui-")},svgIconName(){return this.icon.replace(/^eui-/,"")},svgIconComponent(){return Fi[this.svgIconName]},svgSizes(){return{[G.Xs]:16,[G.Sm]:18,[G.Base]:20,[G.Lg]:24,[G.Xl]:30,[G.TwoXl]:36,[G.ThreeXl]:42,[G.FourXl]:48,[G.FiveXl]:54,[G.SixXl]:60,[G.SevenXl]:66,[G.EightXl]:70,[G.NineXl]:74}},faSizes(){return Oi.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconSize(){const t=this.$attrs.size;if(this.isSvgIcon&&!t)return;if(this.isSvgIcon&&!isNaN(Number(t)))return Number(t);const e=t||G.Base;return this.isSvgIcon?this.svgSizes[e]:this.faSizes[e]},faIconStyle(){return{color:this.$attrs.color,"caret-color":this.$attrs.color}},faIconClass(){const t=this.iconSize,e=this.icon.includes(" ")?this.icon:`fa ${this.icon}`;return["e-inline-flex e-items-center e-justify-center e-rounded-full",this.colorClass,this.icon,e,t]}}});var o3=function(){var e=this,r=e._self._c;return e.isSvgIcon?r(e.svgIconComponent,e._g(e._b({tag:"component",staticClass:"e-svg-icon",attrs:{size:e.iconSize}},"component",e.$attrs,!1),e.$listeners)):r("i",e._g(e._b({staticClass:"e-icon",class:e.faIconClass,style:e.faIconStyle},"i",e.$attrs,!1),e.$listeners))},l3=[],c3=R(a3,o3,l3,!1,null,null,null,null);const Be=c3.exports,u3=O.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:G.Base},opacity:{type:[String,Number],default:1}},data(){return{sizes:Pi,colors:zi}},computed:{computedSize(){return this.sizes[G[this.size]]||this.size||this.sizes[G.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"]}`}}}}),Ud="";var d3=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"}})])},h3=[],p3=R(u3,d3,h3,!1,null,"9a1333ac",null,null);const Gr=p3.exports,f3=O.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}}}}),Zd="";var m3=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)},g3=[],v3=R(f3,m3,g3,!1,null,null,null,null);const Ur=v3.exports,y3=O.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}}}),Xd="";var _3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},C3=[],b3=R(y3,_3,C3,!1,null,null,null,null);const Zr=b3.exports;function Xr(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function Yr(t){if(Xr())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 Vr(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t==="x"?e:e&3|8;return r.toString(16)})}function Qr(){if(!Xr())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 x3(t,e=1e3,r=!1){let n=null;return function(...i){const s=this,a=r&&!n;n&&clearTimeout(n),n=setTimeout(function(){n=null,r||t.apply(s,i)},e),a&&t.apply(s,i)}}function w3(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 S3(t,e=0,r=0,n=t.naturalWidth,i=t.naturalHeight){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=n,s.height=i,a==null||a.drawImage(t,e,r,n,i,0,0,n,i);const c=s.toDataURL();return s.remove(),c}function T3(t){return!!(t!=null&&t.length&&!isNaN(new Date(t).getTime()))}function Ri(t,e=1){let r=0,n=0,i=0;return t.length===4?(r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),i=parseInt(t[3]+t[3],16)):t.length===7&&(r=parseInt(t[1]+t[2],16),n=parseInt(t[3]+t[4],16),i=parseInt(t[5]+t[6],16)),`rgba(${r}, ${n}, ${i}, ${e})`}function Ai(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function Hi(t){return t.startsWith("rgba")}function pt(t,e=1){return Hi(t)?t:t.startsWith("#")?Ri(t,e):t.startsWith("rgb")?Ai(t,e):t}function k3(t){const e=JSON.stringify(t);return Ni(e).toString()}function Ni(t){let e=0,r,n;if(t.length===0)return e;for(r=0;r<t.length;r++)n=t.charCodeAt(r),e=(e<<5)-e+n,e|=0;return e}function Kr(t,e,r){const n=M.scaleLinear().domain([0,r-1]).range([0,1]);return Array.from({length:r},(i,s)=>M.interpolate(t,e)(n(s)))}const ji={continuous:{monday:["00:00-23:59"],tuesday:["00:00-23:59"],wednesday:["00:00-23:59"],thursday:["00:00-23:59"],friday:["00:00-23:59"],saturday:["00:00-23:59"],sunday:["00:00-23:59"]},custom:{monday:["00:00-23:59"],tuesday:["00:00-23:59"],wednesday:["00:00-23:59"],thursday:["00:00-23:59"],friday:["00:00-23:59"],saturday:["00:00-23:59"],sunday:["00:00-23:59"]},workingHours:{monday:["08:00-18:00"],tuesday:["08:00-18:00"],wednesday:["08:00-18:00"],thursday:["08:00-18:00"],friday:["08:00-18:00"],saturday:[],sunday:[]},empty:{monday:[],tuesday:[],wednesday:[],thursday:[],friday:[],saturday:[],sunday:[]}},qi=24*60-1,Wi=t=>{const[e,r]=t.split(":");return parseInt(e)*60+parseInt(r)},Jr=t=>{const e=Math.floor(t/60).toString().padStart(2,"0"),r=(t%60).toString().padStart(2,"0");return`${e}:${r}`};function en(t){return["monday","tuesday","wednesday","thursday","friday","saturday","sunday"].reduce((r,n)=>{const i=t[n];return{...r,[n]:i.length?i[0].split("-").map(s=>Wi(s)):[0,qi]}},{})}function $3(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e,r.map(n=>{const[i,s]=n.split("-");let[a,c]=s.split(":");return a=parseInt(a),a=Math.max(0,a-1),`${i}-${a.toString().padStart(2,"0")}:${c}`})]))}const M3=O.extend({name:"EZoomable",props:{ignorePointerEvents:{type:Boolean,default:!1},withZoomButtons:{type:Boolean,default:!1},withOverlay:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},data(){return{scale:1,minScale:1,maxScale:20,top:0,left:0,isPanning:!1,panStart:{x:0,y:0},isPinching:!1,previousPinchDistance:0,pinchDistance:0,pointers:{},transform:"matrix(1, 0, 0, 1, 0, 0)"}},computed:{contentStyle(){return{transform:this.transform}},isZoomed(){return this.scale>1}},watch:{contentStyle:{handler(t){this.$emit("on-frame-props-change",{imgStyle:t})},immediate:!0,deep:!0}},methods:{zoom(t){const e=this.$refs.container;if(this.disabled)return;const r=e.getBoundingClientRect(),n={x:r.width/2,y:r.height/2},i=this.scale;t<0?this.scale*=1.2:this.scale*=.8,this.updateZoomScale(),this.left=(this.left-n.x)*(this.scale/i)+n.x,this.top=(this.top-n.y)*(this.scale/i)+n.y;const s=0-r.width*(this.scale-1),a=0-r.height*(this.scale-1);this.left=Math.min(0,Math.max(s,this.left)),this.top=Math.min(0,Math.max(a,this.top)),this.updateTransform()},updateZoomScale(){this.scale>this.maxScale?this.scale=this.maxScale:this.scale<this.minScale&&(this.scale=this.minScale)},handleZoom(t){const e=this.$refs.container,r=this.$refs.content;if(t.preventDefault(),this.disabled)return;const n=e.getBoundingClientRect(),i=r.getBoundingClientRect();if(!n||!i)return;const s=t.clientX,a=t.clientY,c=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),o=this.scale;this.scale+=c/10,this.updateZoomScale();const l=((s-i.left)/i.width).toFixed(2),d=((a-i.top)/i.height).toFixed(2);this.left=Math.round(s-n.left-Number(l)*(i.width*this.scale/o)),this.top=Math.round(a-n.top-Number(d)*(i.height*this.scale/o));const h=0,m=0-n.width*(this.scale-1),C=0-n.height*(this.scale-1),b=0;this.left<m?this.left=m:this.left>h&&(this.left=h),this.top<C?this.top=C:this.top>b&&(this.top=b),this.updateTransform()},handleMouseDown(t){!this.isZoomed||this.disabled||(this.isPanning=!0,this.panStart={x:t.clientX,y:t.clientY})},handleMouseUp(){this.disabled||(this.isPanning=!1)},handleMouseLeave(){this.disabled||(this.isPanning=!1)},handleMouseMove(t){if(!this.isPanning||!this.isZoomed||this.disabled)return;const e=t.clientX-this.panStart.x,r=t.clientY-this.panStart.y;this.left+=e,this.top+=r,this.applyBoundsCorrection(),this.panStart={x:t.clientX,y:t.clientY},this.updateTransform()},applyBoundsCorrection(){const t=this.$refs.container,e=this.$refs.content,r=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(!r||!n)return;const[i,s,a,c]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(o=>o<0?o:0);this.left+=c-s,this.top+=i-a},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)}}}),Yd="";var E3=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(),r("div",{staticClass:"zoom-slider e-absolute e-bottom-12 e-left-0"},[e.withZoomButtons?r("EZoomSlider",{attrs:{vertical:""},on:{"zoom-in":function(n){return e.zoom(-1)},"zoom-out":function(n){return e.zoom(1)}},model:{value:e.scale,callback:function(n){e.scale=n},expression:"scale"}}):e._e()],1)])])},L3=[],D3=R(M3,E3,L3,!1,null,"11da8a2c",null,null);const tn=D3.exports,rn=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),Gi=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],nn=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${rn.format(e)}`:`${n}:${rn.format(r)}:${rn.format(e)}`},P3=O.extend({name:"EVideoPlayer",components:{ESpinner:Gr,EZoomable:tn},props:{withZoomButtons:{type:Boolean,default:!1},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},isEdgeVideo:{type:Boolean,default:!1},edgeStreamingToken:{type:String,default:""},authToken:{type:String,default:""},pauseOnClick:{type:Boolean,default:!0},isHlsLoading:{type:Boolean,default:!1},isPlaying:{type:Boolean,default:!1},showLoadingAnimation:{type:Boolean,default:!1},isZoomable:{type:Boolean,default:!1},zoomableIgnorePointerEvents:{type:Boolean,default:!1},timezone:{type:String,default:"UTC"},playPauseAnimation:{type:Boolean,default:!0},disablePlayPauseAnimation:{type:Boolean,default:!1},isWebRtc:{type:Boolean,default:!1},withColoredLoader:{type:Boolean,default:!1},loaderSize:{type:String,default:"SevenXl"},withOverlayOnBackground:{type:Boolean,default:!1},fallbackSrc:{type:String,default:""},hlsOptions:{type:Object,default:()=>({})}},data(){return{playing:!1,percentagePlayed:0,videoLength:"0:00",duration:0,videoDuration:0,currentTime:"0:00",realtime:0,isScrubbing:!1,wasPaused:!1,isFullscreen:!1,isFinished:!1,isLoading:!0,isError:!1,player:new ot,playbackRetries:0,preloadedSeconds:0,preloadedInterval:{}}},computed:{posterUrl(){const t=this.videoOptions;return(t==null?void 0:t.poster)||(t==null?void 0:t.backgroundUrl)},sourceItems(){return Array.isArray(this.sources)?this.sources:[{src:this.sources}]},withControls(){const t=this.videoOptions;return(t==null?void 0:t.controls)===!1?"hide":""},streamingToken(){return this.isEdgeVideo?this.edgeStreamingToken:this.authToken}},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 s,a;if(!this.isHls)return;const e=this.$refs.player,r=(s=this.preloadedInterval)==null?void 0:s.start,n=(a=this.preloadedInterval)==null?void 0:a.end;if(!(r&&n))return;const i=Se(t).isBetween(Se(r),Se(n),void 0,"[]");e.currentTime=0,i||this.initHls()}}},mounted(){this.isHls&&this.initHls(),this.bindEvents(),this.initializePlayer(),this.initializeFullscreenListeners()},beforeDestroy(){this.unbindEvents(),this.destroyPlayer(),this.removeFullscreenListeners()},methods:{initHls(t="",e=!1){var i,s,a,c,o;const r=this.$refs.player,n=this.sources[0];(i=this.player)!=null&&i.stopLoad&&this.player.stopLoad(),ot.isSupported()&&(this.isLoading=!0,this.player=new ot({startPosition:0,debug:e,xhrSetup:l=>{this.streamingToken&&l.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),this.player.enableDebug=()=>{this.player.destroy(),this.initHls(t,!0)},r._hls=this.player,(s=this.player)==null||s.loadSource(t||n.src),(a=this.player)==null||a.attachMedia(r),(c=this.player)==null||c.on(ot.Events.MANIFEST_PARSED,(l,d)=>{var C;const h=(C=d.levels[d.firstLevel])==null?void 0:C.details,m=h==null?void 0:h.startTimeOffset;r.currentTime=m||0,this.playing&&r.play()}),(o=this.player)==null||o.on(ot.Events.ERROR,this.handleHlsError))},onContainerClick(){this.pauseOnClick&&this.togglePlay()},handle404Error(){this.isWebRtc||(this.isError=!0,this.isLoading=!1,this.playing=!1)},handleHlsError(t,e){var l;if(!e.fatal)return;this.$emit("error",e);const r=e.type===ot.ErrorTypes.NETWORK_ERROR,n=e.type===ot.ErrorTypes.MEDIA_ERROR,i=r&&((l=e.networkDetails)==null?void 0:l.status)===404,s=this.$refs.player,a=()=>this.fallbackSrc&&(s==null?void 0:s.currentSrc)!==this.fallbackSrc,c=()=>this.initHls(this.fallbackSrc),o=()=>{if(a()){c();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(i){o();return}if(r){console.error("A network error occurred:",e),a()?c():this.player.startLoad();return}n&&(console.error("A media error occurred:",e),a()?c():this.player.recoverMediaError()),o()},bindEvents(){const t=this.$refs.player;Gi.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;Gi.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=nn(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&&(Qr().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(Yr(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=nn(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=nn(t.currentTime),this.realtime=t.currentTime;const r=Number(this.realtime)/Number(this.videoDuration);e.style.setProperty("--progress-position",r.toString())},handleTimelineUpdate(t){const e=this.$refs.player;if(!document.body.contains(e))return;const r=this.$refs.timelineContainer,n=r.getBoundingClientRect(),i=Math.min(Math.max(0,t.x-n.x),n.width)/n.width;r.style.setProperty("--preview-position",i.toString()),this.isScrubbing&&(t.preventDefault(),r.style.setProperty("--progress-position",i.toString()))},skip(t=5){const e=this.$refs.player;e.currentTime+=t},async toggleScrubbing(t){const e=this.$refs.timelineContainer,r=this.$refs.videoContainer,n=this.$refs.player;if(!n)return;const i=e.getBoundingClientRect(),s=Math.min(Math.max(0,t.x-i.x),i.width)/i.width;if(this.isScrubbing=(t.buttons&1)===1,r.classList.toggle("scrubbing",this.isScrubbing),this.isScrubbing){this.wasPaused=n.paused,await n.pause(),this.handleTimelineUpdate(t);return}if(this.realtime=s*this.videoDuration,n.currentTime=s*this.videoDuration,this.wasPaused)return;const a=n.play();a!==void 0&&a.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}}}}),Vd="";var z3=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"e-video-player video-container paused"},[r("EZoomable",{ref:"zoomable",attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground,"with-zoom-buttons":e.withZoomButtons},on:{"on-frame-props-change":function(n){return e.$emit("on-frame-props-change",n)}},scopedSlots:e._u([{key:"overlay",fn:function(){return[e._t("player-container-overlay")]},proxy:!0}],null,!0)},[e._t("background",function(){return[r("div",{staticClass:"e-relative e-overflow-hidden",style:{height:e.$attrs.height,width:e.$attrs.width}},[e.posterUrl?r("img",{staticClass:"e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster",style:{height:e.$attrs.height,width:e.$attrs.width},attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("error",n)}}}):e._e()])]}),r("video",e._g(e._b({ref:"player",class:{"e-w-full e-h-full e-z-[5] e-min-h-[400px]":!0,"e-absolute e-inset-0":e.isZoomable,"e-relative":!e.isZoomable},attrs:{controls:!1,preload:"auto"},on:{ended:e.handleEnded,click:e.onContainerClick,loadedmetadata:e.getDuration,seeking:function(n){e.isLoading=!0},seeked:function(n){e.isLoading=!1},timeupdate:e.handleTimeUpdate,loadeddata:e.handleLoading}},"video",e.videoOptions,!1),e.videoListeners),[e.isWebRtc?e._e():e._l(e.sourceItems,function(n){return r("source",e._g({key:n.src,attrs:{src:n.src,type:n.type},on:{error:e.handle404Error}},e.videoListeners))})],2)],2),e.isLoading||e.showLoadingAnimation?r("div",{staticClass:"spinner-container"},[r("ESpinner",{attrs:{color:e.withColoredLoader,size:e.loaderSize,opacity:"0.6",dark:!0}})],1):e._e(),e._t("default"),e.isError?r("div",{staticClass:"spinner-container e-gap-3"},[e._t("error",function(){return[r("i",{staticClass:"fa-solid fa-video-slash fa-2xl e-align-middle"}),r("span",[e._v("This video file cannot be played.")])]})],2):e._e(),e._t("controls",function(){return[r("div",{class:["video-controls-container",e.withControls]},[r("div",{staticClass:"controls"},[r("button",{ref:"playPauseBtn",staticClass:"play-pause-btn fa-lg fa-solid fas",class:{"fa-play":!e.playing,"fa-pause":e.playing},attrs:{title:e.playing?"pause":"play"},on:{click:e.togglePlay}}),r("div",{staticClass:"duration-container"},[r("div",{ref:"currentTimeElem",staticClass:"current-time"},[e._v(" "+e._s(e.currentTime)+" ")]),e._v(" / "),r("div",{ref:"totalTimeElem",staticClass:"total-time"},[e._v(e._s(e.videoLength))])]),r("div",{ref:"timelineContainer",staticClass:"timeline-container",on:{mousemove:e.handleTimelineUpdate,mousedown:e.toggleScrubbing}},[e._m(0)]),r("button",{ref:"fullScreenBtn",staticClass:"full-screen-btn fa-solid",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen},on:{click:e.toggleFullscreenMode}})])])]},{play:e.play,pause:e.pause,isPlaying:e.playing,playerInstance:e.player,toggleFullscreen:e.toggleFullscreenMode,currentTime:e.currentTime,videoLength:e.videoLength,isFullscreen:e.isFullscreen})],2)},O3=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],B3=R(P3,z3,O3,!1,null,"dc19e0e8",null,null);const Ui=B3.exports,Ue={bind(t,e){const{value:r}=e;if(typeof r!="function"){console.error("Invalid callback function provided to v-resize-observer");return}const n=new ResizeObserver(i=>{i[0]&&r(i[0])});n.observe(t),t.__resizeObserver__=n},unbind(t){t.__resizeObserver__&&(t.__resizeObserver__.disconnect(),delete t.__resizeObserver__)}},I3=(t,e)=>t===e||t.contains(e),F3=(t,e)=>r=>{I3(t,r.target)||e(r)},Zi=["mousedown","touchstart","click"],sn={bind(t,e){const r=t,n=e.value;if(typeof n!="function"){console.warn("v-click-outside requires a function value");return}r.clickOutsideHandler={events:Zi,handler:F3(r,n),callback:n},queueMicrotask(()=>{Zi.forEach(i=>{document.addEventListener(i,r.clickOutsideHandler.handler)})})},unbind(t){const e=t;e.clickOutsideHandler&&(e.clickOutsideHandler.events.forEach(r=>{document.removeEventListener(r,e.clickOutsideHandler.handler)}),delete e.clickOutsideHandler)}},Xi=[{name:"resize-observer",definition:Ue},{name:"click-outside",definition:sn}],et={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",transparencyGradientHover:"transparency-gradient-hover",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern",clipPath:"clip-path"},me={xAxis:"e-x-axis",xAxisDark:"e-x-axis--dark",xAxisOverview:"e-x-axis-overview",xAxisDetailed:"e-x-axis-detailed",xAxisBackground:"e-x-axis-background",eventGroup:"event-group",eventGroupBg:"event-group-bg",eventGroupContent:"event-group-content",eventRect:"event-rect",eventRectContainer:"event-rect-container",eventBarContainer:"event-bar-container",eventBarContainerHovered:"event-bar-container--hovered",eventBarContainerSelected:"event-bar-container--selected",eventBar:"event-bar",eventBarHoverZone:"event-bar-hover-zone",eventRectText:"event-rect-text",eventRectHovered:"event-rect--hovered",eventRectSelected:"event-rect--selected",labelGroup:"label-g",labelBg:"label-bg",labelBgFill:"label-bg-fill",labelText:"label-text",loadingIndicator:"loading-indicator",_legacyLabelGroup:"legacy-label-g",_legacyLabelBg:"legacy-label-bg",_legacyLabelBgFill:"legacy-label-bg-fill",_legacyLabelText:"legacy-label-text",_legacyLoadingIndicator:"legacy-loading-indicator",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"e-tl-milestone",milestoneBullet:"e-tl-milestone--bullet",milestoneDot:"e-tl-milestone--dot",milestoneContent:"e-tl-milestone-content",milestoneLine:"e-tl-milestone-line",milestonesContainer:"e-tl-milestones",milestoneHovered:"e-tl-milestone--hovered",milestoneSelected:"e-tl-milestone--selected",milestoneLabel:"e-tl-milestone-label",milestoneDotContainer:"e-tl-milestone-dot-container",milestoneDotLine:"e-tl-milestone-dot-line",milestoneDotDot:"e-tl-milestone-dot-dot",milestoneDotHovered:"e-tl-milestone-dot--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",areaGraphPath:"area-graph-path",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",forbiddenInterval:"forbidden-interval"};function Ke({timestamp:t,timezone:e}){const r=Yi(t,e);return Se(t).add(r,"minutes").toDate()}function Rt({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=Yi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function Yi(t,e){return e?Se.tz(t,e).utcOffset():R3(t)}function R3(t){return Se.parseZone(t).utcOffset()}const A3=O.extend({name:"ETimelineMilestone",directives:{resizeObserver:Ue},props:{timeScale:{type:Function,required:!0},milestone:{type:Object,required:!0},y:{type:Number,required:!0},height:{type:Number,default:18},size:{type:Number,default:18},borderColor:{type:String,default:"#eee"},backgroundColor:{type:String,default:"#aaa"},borderWidth:{type:Number,default:2},transitionDuration:{type:Number,default:500},dot:{type:Boolean,default:!1},dotSize:{type:Number,default:8},lineWidth:{type:Number,default:2},lineHeight:{type:Number,default:28},timezone:{type:[String,void 0],default:void 0}},data(){return{classNames:me,timeouts:[],isInitialRender:!0,isMouseOver:!1,containerWidth:"",containerHeight:""}},computed:{transitionStyles(){return this.isInitialRender?{}:{transition:`transform ${this.transitionDuration}ms, width ${this.transitionDuration}ms, height ${this.transitionDuration}ms, padding ${this.transitionDuration}ms, border-radius ${this.transitionDuration}ms`}},sizeStyles(){return this.dot?{}:{width:`${this.isMouseOver?this.containerWidth:this.size}px`,height:`${this.isMouseOver?this.containerHeight:this.size}px`}},positionStyles(){return{left:`${this.timeScale(this.tzStringToDate(this.milestone.timestamp))}px`,top:`${this.linePosition}px`,transform:this.dot&&this.isMouseOver?`translateY(calc(-100% - ${this.lineHeight}px))`:""}},styles(){return{...this.sizeStyles,...this.positionStyles,backgroundColor:this.backgroundColor,borderColor:this.borderColor,borderWidth:`${this.borderWidth}px`,borderStyle:"solid",...this.transitionStyles}},linePosition(){const t=this.height/2;return this.y+t-1},contentStyles(){return this.transitionStyles},computedTransitionDuration(){return this.isInitialRender?0:this.transitionDuration},labelStyles(){return{transition:`opacity ${this.computedTransitionDuration}ms`}},dotContainerStyles(){return{top:this.isMouseOver?`calc(100% - ${this.borderWidth}px)`:`calc(50% + ${this.dotSize/2}px)`,height:`calc(${this.lineHeight}px + ${this.dotSize}px)`,left:`calc(50% - ${this.lineWidth}px / 2)`,transition:`${this.computedTransitionDuration}ms`}},lineStyles(){return{bottom:`${this.dotSize/2}px`,left:`calc(50% - ${this.lineWidth}px / 2)`,width:`${this.lineWidth}px`,height:this.isMouseOver?`${this.lineHeight}px`:"0",backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}},dotStyles(){return{top:`${this.lineHeight}px`,left:`calc(50% - ${this.dotSize}px / 2)`,width:`${this.dotSize}px`,height:`${this.dotSize}px`,backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}}},mounted(){this.$nextTick(()=>{this.dot||(this.onMilestoneMouseOver(),this.onMilestoneMouseLeave()),this.isInitialRender=!1})},methods:{onMilestoneMouseOver(t){if(this.isMouseOver=!0,this.$emit("hovered-milestone",this.milestone),this.dot)return;const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;const r=e.children[0];if(!r)return;const n=r.children[0];if(!n)return;const i=n.getBoundingClientRect(),s=e.dataset.timeoutId;s&&(clearTimeout(Number(s)),e.dataset.timeoutId=""),e.dataset.initialWidth||(e.dataset.initialWidth=e.style.width),e.dataset.initialHeight||(e.dataset.initialHeight=e.style.height),this.containerWidth||(this.containerWidth=e.dataset.initialContentWidth=String(i.width)),this.containerHeight||(this.containerHeight=e.dataset.initialContentHeight=String(i.height)),e.dataset.transitionStart=String(Date.now()),e.style.borderRadius="0.5em",e.classList.add(me.milestoneHovered),r.style.opacity="1",r.style.width=this.containerWidth+"px",r.style.height=this.containerHeight+"px"},onMilestoneMouseMove(){this.timeouts.forEach(t=>clearTimeout(t)),this.isMouseOver=!0},onMilestoneMouseLeave(t){if(this.$emit("hovered-milestone",null),this.dot){this.timeouts.push(setTimeout(()=>{this.isMouseOver=!1},this.transitionDuration+100));return}const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;e.style.width=e.dataset.initialWidth||"",e.style.height=e.dataset.initialHeight||"",e.style.borderRadius="10em";const r=e.children[0];if(!r)return;r.style.width="0",r.style.height="0",r.style.opacity="0";const n=Date.now()-Number(e.dataset.transitionStart),i=n>this.transitionDuration?this.transitionDuration:n,s=setTimeout(()=>{e.classList.remove(me.milestoneHovered),e.dataset.timeoutId=""},i);e.dataset.timeoutId=String(s),this.timeouts.push(s),this.isMouseOver=!1},onMilestoneClick(t,e){this.$emit("milestone-click",e)},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}}),Qd="";var H3=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)])},N3=[],j3=R(A3,H3,N3,!1,null,null,null,null);const q3=j3.exports,W3=O.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`}}}}),Kd="";var G3=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)})])},U3=[],Z3=R(W3,G3,U3,!1,null,"614947ed",null,null);const X3=Z3.exports,Y3=O.extend({name:"ETimelineMarkers",components:{ETimelineMarker:X3},props:{markers:{type:Array,default:()=>[]},timeScale:{type:Function,required:!0},timeZone:{type:[String,void 0],default:void 0},height:{type:Number,required:!0},svgLeft:{type:Number,default:void 0},stickyMarkers:{type:Boolean,default:!1}},data(){return{markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0}},watch:{timeScale:{handler(){this.updateMarkers()},deep:!0},markers(){this.updateMarkers()}},methods:{initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=M.drag().on("start",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}),M.selectAll(`.${me.marker}`).data(this.markers).call(this.markersDragBehavior)},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),M.selectAll(`.${me.marker}`).call(this.markersDragBehavior))},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){var c;if(!t.isDraggable)return;(c=r.sourceEvent)==null||c.preventDefault(),r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${me.markerLine}`).getBoundingClientRect().left,e.classed(me.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,i=this.timeScale.invert(n-this.svgLeft);let s=this.timeScale(i);const a=this.isTimestampAllowedForMarker(i,t);if(r.type==="drag"&&a&&e.attr("style",`left: ${s}px`),r.type==="end"){const o=t.id||t.timestamp;s=a?s:this.timeScale(this.tzStringToDate(t.timestamp)),this.markersPositions={...this.markersPositions,[o]:{...this.markersPositions[o],position:s}},e.classed(me.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:a?this.dateToTzString(i):t.timestamp})},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.markers.forEach((r,n,i)=>{const s=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,a=this.timeScale(s);let c=!1;const o=this.stickyMarkers?Math.max(a,n*t):a;if(n<i.length-1){const l=i[n+1],d=typeof l.timestamp=="string"?this.tzStringToDate(l.timestamp):l.timestamp,h=this.timeScale(d);c=(this.stickyMarkers?Math.max(h,(n+1)*t):a)-o<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:c,position:o}}}),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 Ke({timestamp:t,timezone:this.timeZone})},dateToTzString(t){return Rt({date:t,timezone:this.timeZone})}}});var V3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-tl-markers"},e._l(e.markers,function(n){var i,s;return r("ETimelineMarker",{key:n.id,attrs:{marker:n,height:e.height,position:(i=e.markersPositions[n.id])==null?void 0:i.position,hidden:(s=e.markersPositions[n.id])==null?void 0:s.isHidden,"data-id":n.id},on:{"marker-clicked":function(a){return e.$emit("marker-clicked",a)}},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)},Q3=[],K3=R(Y3,V3,Q3,!1,null,null,null,null);const J3=K3.exports,ec=O.extend({name:"EZoomBehavior",props:{width:{type:[Number,void 0],default:void 0},domain:{type:Array,required:!0},focusedDomain:{type:[Array,void 0],default:void 0},timezone:{type:String,default:"UTC"},disabled:{type:Boolean,default:!1},scalingDuration:{type:Number,default:400},translationDuration:{type:Number,default:400},focusedTimestamp:{type:[String,Date,Number],default:""}},data(){return{timeScale:null,initialTimeScale:null,zoomBehavior:null,selection:null,isTransitioning:!1,container:null,transformDiff:{translation:0,scale:1},lastTransform:{x:0,y:0,k:1},isLeftBoundaryReached:!1,isRightBoundaryReached:!1,isZooming:!1,resetBoundariesTimeout:0}},computed:{minDate(){const[t]=this.domain;return this.toD3Date(t)},maxDate(){const[,t]=this.domain;return this.toD3Date(t)},focusedStartDate(){const[t]=this.focusedDomain||this.domain;return this.toD3Date(t)},focusedEndDate(){const[,t]=this.focusedDomain||this.domain;return this.toD3Date(t)}},watch:{timeScale(){this.emitFocusedDomainChange(_t.Zoom),this.emitTimeScaleChange()},focusedDomain(t){t&&this.zoomToFocusedDomain(t)},focusedTimestamp(t){t&&this.panToTimestamp(t)},width:{handler(t,e){!t||t===e||(this.timeScale=M.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,t]))}}},mounted(){this.initRefs(),this.initTimeScale(),this.initZoomBehavior(),this.emitTimeScaleChange(),this.emitFocusedDomainChange(_t.Initial)},methods:{initRefs(){this.container=this.$refs.container},initTimeScale(){this.timeScale=M.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,this.getWidth()]),this.initialTimeScale=this.timeScale.copy()},calculateZoomExtents(){const t=[this.focusedStartDate,this.focusedEndDate],e=this.getWidth(),r=this.maxDate.getTime()-this.minDate.getTime(),s=[(this.focusedEndDate.getTime()-this.focusedStartDate.getTime())/r,1/0],a=this.initialTimeScale.copy();a.domain(t);const c=a(this.minDate),o=-(e-a(this.maxDate));return{scaleExtent:s,translateExtent:[[c||-1/0,0],[o||1/0,0]]}},initZoomBehavior(){const{scaleExtent:t,translateExtent:e}=this.calculateZoomExtents();this.zoomBehavior=M.zoom().scaleExtent(t).translateExtent(e).on("zoom",r=>{if(!(this.isZooming||this.disabled)){this.isZooming=!0;try{this.handleZoom(r)}catch(n){console.error(n)}finally{this.isZooming=!1}}}),this.selection=M.select(this.container),this.selection.call(this.zoomBehavior)},handleZoom(t){const e=t.transform.rescaleX(this.initialTimeScale.copy()),[r,n]=e.domain(),i=r<=this.minDate,s=n>=this.maxDate;if(i||s){const c=M.zoomIdentity.translate(this.lastTransform.x,this.lastTransform.y).scale(this.lastTransform.k);this.selection.call(this.zoomBehavior.transform,c),this.updateBoundaries(i,s);return}const a=t.transform.k/this.lastTransform.k;this.transformDiff={scale:a,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform},this.timeScale=t.transform.rescaleX(this.timeScale).domain([r,n])},toD3Date(t){return Ke({timestamp:t,timezone:this.timezone})},toDateString(t){return Rt({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,r]=t,n=this.toD3Date(e!=null?e:this.focusedStartDate),i=this.toD3Date(r!=null?r:this.focusedEndDate);if(!this.timeScale)return;const[s,a]=this.timeScale.domain();if(n.getTime()===s.getTime()&&i.getTime()===a.getTime())return;const c=this.initialTimeScale.domain().map(C=>C.getTime()),o=c[1]-c[0],l=i.getTime()-n.getTime();let d=o/l;const h=this.zoomBehavior.scaleExtent();d=Math.min(Math.max(d,h[0]),h[1]);const m=this.initialTimeScale.copy().domain([n,i]);this.selection.transition().duration(this.scalingDuration/2).call(this.zoomBehavior.scaleTo,d).on("end",()=>this.translateIntervalIntoView(n,i,d)),this.timeScale=m},translateIntervalIntoView(t,e,r){const n=this.timeScale(t),i=this.timeScale(e),s=(n+i)/2,c=this.getWidth()/2-s,o=M.zoomTransform(this.selection.node());this.selection.transition().on("start",()=>{this.isTransitioning=!0,this.$emit("animation-start")}).on("end",()=>{this.isTransitioning=!1,this.$emit("animation-end")}).duration(this.translationDuration/2).call(this.zoomBehavior.transform,M.zoomIdentity.translate(o.x+c,o.y).scale(r))},emitTimeScaleChange(){this.$emit("time-scale-change",this.timeScale)},emitFocusedDomainChange(t){if(!this.selection.node()||this.isTransitioning||!this.timeScale)return;const[r,n]=this.timeScale.domain(),i=this.toDateString(r),s=this.toDateString(n);this.$emit("visible-interval-change",{fromDate:i,toDate:s,trigger:t,transform:this.transformDiff})},panToTimestamp(t){const e=new Date(t),r=this.timeScale(e),n=M.zoomTransform(this.selection.node()),i=n.x-r+this.getWidth()/2;this.selection.transition().duration(this.translationDuration).call(this.zoomBehavior.transform,M.zoomIdentity.translate(i,0).scale(n.k)).on("end",()=>{this.emitFocusedDomainChange(_t.Zoom)})},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}}}),Jd="";var tc=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoom-behavior",class:{"e-pointer-events-none":e.disabled}},[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)},rc=[],nc=R(ec,tc,rc,!1,null,null,null,null);const ic=nc.exports,sc=O.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:me}},computed:{classes(){return{[me.xAxis]:!0,[me.xAxisDark]:this.dark}},axis(){return M.axisBottom(this.timeScale).ticks(this.currentTicksConfig.interval).tickFormat(this.currentTicksConfig.formatFn).tickSizeOuter(0).tickSizeInner(this.height)},density(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},currentTicksConfig(){const{interval:t,format:e}=this.ticksConfigs.find(n=>n.precision>=this.density&&n.interval);return{formatFn:n=>typeof e=="function"?e(n):M.utcFormat(e)(n),interval:t}}},watch:{timeScale:{handler(){this.update()},deep:!0},currentTicksConfig:{handler(){this.update()},deep:!0},height(){this.updateTicksSize()}},mounted(){this.update()},methods:{update(){const t=this.$refs.container;M.select(t).call(this.axis),this.translateTicksText()},translateTicksText(){const t=this.$refs.container;M.select(t).selectAll(".tick text").each(function(){M.select(this).attr("x",5).attr("y",0).style("text-anchor","start")})},updateTicksSize(){this.axis.tickSizeOuter(0).tickSizeInner(this.height),this.update()}}}),eh="";var ac=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})`}})},oc=[],lc=R(sc,ac,oc,!1,null,null,null,null);const an=lc.exports,At=t=>{const e=M.utcFormat("%_d")(t),r=cc(parseInt(e));return`${e}${r}`},Vi=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":M.utcFormat("%-d")(t),xt=t=>["0"," 0","00"].includes(M.utcFormat("%H")(t))?"":`${M.utcFormat("%H")(t)}h`,at=t=>{const e=M.utcFormat("%H:%M")(t);return e==="00:00"?"":e},on=t=>M.utcFormat("%M:%S")(t),Qi=t=>`${M.utcFormat("%Hh%Mm")(t)}`,ln=t=>{const e=at(t),r=At(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`},cn=t=>{const e=at(t),r=Number.parseInt(M.utcFormat("%H")(t)),n=At(t),i=M.utcFormat("%B")(t);return e&&r%6===0?`${i} ${n} ${e}`:ln(t)},cc=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"}},wt=t=>e=>{const r=M.utcFormat("%H")(e);return!(M.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},un=t=>e=>{const r=M.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},Ki=t=>e=>{const r=M.utcFormat("%M")(e),n=M.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},J={_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},dn={[nt.Overview]:[{precision:J._30_seconds,interval:M.utcMinute.every(2),format:Qi},{precision:J._1_minute,interval:M.utcMinute.every(5),format:Qi},{precision:J._2_minutes,interval:M.utcMinute.every(10),format:ln},{precision:J._5_minutes,interval:M.utcMinute.every(20),format:cn},{precision:J._15_minutes,interval:M.utcHour,format:cn},{precision:J._30_minutes,interval:M.utcHour.every(2),format:cn},{precision:J._2_hours,interval:M.utcHour.every(6),format:t=>{const e=at(t),r=At(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:J._3_hours,interval:M.utcHour.every(12),format:ln},{precision:J._6_hours,interval:M.utcHour.every(24),format:t=>{const e=At(t),r=M.utcFormat("%b")(t),n=M.utcFormat("%Y")(t);return`${r} ${e} ${n}`}},{precision:J._2_days,interval:M.utcMonth,format:"%Y – %B"},{precision:J._2_year,interval:M.utcMonth.every(3),format:"%Y Q%q"},{precision:J._5_years,interval:M.utcYear.every(5),format:"%Y"},{precision:J._20_years,interval:M.utcYear.every(20),format:"%Y"},{precision:J._75_years,interval:M.utcYear.every(75),format:"%Y"},{precision:J._300_years,interval:M.utcYear.every(300),format:"%Y"},{precision:J.infinity,interval:M.utcMonth.every(12),format:"%Y"}],[nt.Detailed]:[{precision:J._10_seconds,interval:M.utcSecond.every(10),format:on},{precision:J._20_seconds,interval:(Ss=M.utcSecond.every(20))==null?void 0:Ss.filter(Ki(2)),format:on},{precision:J._30_seconds,interval:(Ts=M.utcSecond.every(30))==null?void 0:Ts.filter(Ki(2)),format:on},{precision:J._1_minute,interval:M.utcMinute.filter(un(5)),format:at},{precision:J._2_minutes,interval:(ks=M.utcMinute.every(2))==null?void 0:ks.filter(un(10)),format:at},{precision:J._5_minutes,interval:($s=M.utcMinute.every(5))==null?void 0:$s.filter(un(20)),format:at},{precision:J._15_minutes,interval:(Ms=M.utcMinute.every(15))==null?void 0:Ms.filter(wt(1)),format:at},{precision:J._30_minutes,interval:(Es=M.utcMinute.every(30))==null?void 0:Es.filter(wt(2)),format:at},{precision:J._1_hour,interval:M.utcHour.filter(wt(6)),format:xt},{precision:J._2_hours,interval:(Ls=M.utcHour.every(2))==null?void 0:Ls.filter(wt(6)),format:xt},{precision:J._3_hours,interval:(Ds=M.utcHour.every(3))==null?void 0:Ds.filter(wt(12)),format:xt},{precision:J._4_hours,interval:M.utcHour.every(4),format:xt},{precision:J._6_hours,interval:M.utcHour.every(6),format:xt},{precision:J._1_day,interval:M.utcDay,format:Vi},{precision:J._2_days,interval:M.utcDay.every(2),format:Vi},{precision:J._1_month,interval:M.utcMonth,format:"%B"},{precision:J._1_month_abbr,interval:M.utcMonth,format:"%b"},{precision:J._1_month_letter,interval:M.utcMonth,format:t=>M.utcFormat("%B")(t).charAt(0)},{precision:J._3_months,interval:M.utcMonth.every(3),format:"Q%q"},{precision:J._2_year,interval:M.utcMonth.every(6),format:"Q%q"},{precision:J._5_years,interval:M.utcYear.every(2),format:"%Y"},{precision:J._20_years,interval:M.utcYear.every(4),format:"%Y"},{precision:J._75_years,interval:M.utcYear.every(25),format:"%Y"},{precision:J._300_years,interval:M.utcYear.every(100),format:"%Y"},{precision:J.infinity,interval:M.utcYear.every(500),format:""}],[nt.DetailedBackground]:[{precision:J._10_seconds,interval:M.utcSecond,format:""},{precision:J._20_seconds,interval:M.utcSecond.every(5),format:""},{precision:J._30_seconds,interval:M.utcSecond.every(10),format:""},{precision:J._1_minute,interval:M.utcSecond.every(20),format:""},{precision:J._2_minutes,interval:M.utcSecond.every(30),format:""},{precision:J._5_minutes,interval:M.utcMinute,format:""},{precision:J._15_minutes,interval:M.utcMinute.every(3),format:""},{precision:J._30_minutes,interval:M.utcMinute.every(6),format:""},{precision:J._1_hour,interval:M.utcMinute.every(15),format:""},{precision:J._2_hours,interval:M.utcMinute.every(30),format:""},{precision:J._3_hours,interval:M.utcHour,format:""},{precision:J._4_hours,interval:M.utcHour,format:""},{precision:J._6_hours,interval:M.utcMinute.every(120),format:""},{precision:J._1_day,interval:M.utcHour.every(8),format:""},{precision:J._2_days,interval:M.utcHour.every(12),format:""},{precision:J._1_month,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/5);return e===n||e===2*n||e===3*n||e===4*n}),format:""},{precision:J._1_month_abbr,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/4);return e===n||e===2*n||e===3*n}),format:""},{precision:J._1_month_letter,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/2);return e===n}),format:""},{precision:J._3_months,interval:M.utcMonth,format:""},{precision:J._3_months,interval:M.utcMonth,format:""},{precision:J._2_year,interval:M.utcYear,format:""},{precision:J._5_years,interval:M.utcYear.every(2),format:""},{precision:J._20_years,interval:M.utcYear.every(5),format:""},{precision:J._75_years,interval:M.utcYear.every(20),format:""},{precision:J._300_years,interval:M.utcYear.every(100),format:""},{precision:J.infinity,interval:M.utcYear.every(500),format:""}]},uc=O.extend({name:"EXAxisOverview",components:{EXAxis:an},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:me,ticksConfigs:dn[nt.Overview]}}}),th="";var dc=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}})},hc=[],pc=R(uc,dc,hc,!1,null,null,null,null);const fc=pc.exports,mc=O.extend({name:"EXAxisDetailed",components:{EXAxis:an},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:me,ticksConfigs:dn[nt.Detailed]}}}),rh="";var gc=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}})},vc=[],yc=R(mc,gc,vc,!1,null,null,null,null);const _c=yc.exports,Cc=O.extend({name:"EXAxisBackground",components:{EXAxis:an},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:me,ticksConfigs:dn[nt.DetailedBackground]}}}),nh="";var bc=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}})},xc=[],wc=R(Cc,bc,xc,!1,null,null,null,null);const Sc=wc.exports,Tc=O.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:et,TimelineChartType:qe,transparencyGradients:[{id:"transparency-gradient-light",stop:100,opacity:.4},{id:"transparency-gradient",stop:130,opacity:.4},{id:"transparency-gradient-hover",stop:130,opacity:.6}]}}});var kc=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("defs",{ref:"mainContainer",staticClass:"e-timeline"},[e._l(e.eventsGroups,function(n,i){return[r("linearGradient",{key:`${e.defs.loadingGradient}-${i}`,attrs:{id:`${e.defs.loadingGradient}-${i}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":"0"}}),r("stop",{attrs:{offset:"50%","stop-color":n.color,"stop-opacity":"0.6"}}),r("stop",{attrs:{offset:"100%","stop-color":n.color,"stop-opacity":"0"}})],1),n.chartType===e.TimelineChartType.LineGraph?[e._l(e.transparencyGradients,function({id:s,stop:a,opacity:c}){return r("linearGradient",{key:`${s}-${i}-${n.chartType}`,attrs:{id:`${s}-${i}-${n.chartType}`,x1:"0%",x2:"0%",y1:"0%",y2:"100%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":c}}),r("stop",{attrs:{offset:`${a}%`,"stop-color":n.color,"stop-opacity":"0"}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${i}`,attrs:{id:`${e.defs.clipPath}-${i}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e(),n.chartType===e.TimelineChartType.BarChart?[e._l(e.transparencyGradients,function({id:s,opacity:a}){return r("linearGradient",{key:`${s}-${i}-${n.chartType}`,attrs:{id:`${s}-${i}-${n.chartType}`,width:"100%",height:"100%"}},[r("stop",{attrs:{"stop-color":n.color,"stop-opacity":a}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${i}`,attrs:{id:`${e.defs.clipPath}-${i}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e()]}),r("pattern",{attrs:{id:e.defs.stripedPattern,width:"5",height:"3",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)"}},[r("rect",{attrs:{width:"2",height:"7",fill:e.forbiddenIntervalColor}})])],2)},$c=[],Mc=R(Tc,kc,$c,!1,null,null,null,null);const Ec=Mc.exports,Lc=O.extend({name:"ETimelineForbiddenInterval",props:{timeScale:{type:Function,required:!0},interval:{type:Object,required:!0},index:{type:Number,required:!0},height:{type:Number,required:!0},timezone:{type:String,default:"UTC"}},data(){return{classNames:me,defs:et}},computed:{visibleDomain(){return this.timeScale.domain()},startX(){const t=this.interval.startDate===-1/0?this.visibleDomain[0]:this.tzStringToDate(this.interval.startDate);return this.timeScale(t)},endX(){const t=this.interval.endDate===1/0?this.visibleDomain[1]:this.tzStringToDate(this.interval.endDate);return this.timeScale(t)},width(){return Math.max(this.endX-this.startX,0)}},methods:{tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}});var Dc=function(){var e=this,r=e._self._c;return r("rect",{class:`${e.classNames.forbiddenInterval} ${e.classNames.forbiddenInterval}-${e.index}`,attrs:{x:e.startX,y:"0",width:e.width,height:e.height,fill:`url(#${e.defs.stripedPattern})`}})},Pc=[],zc=R(Lc,Dc,Pc,!1,null,null,null,null);const Oc=zc.exports,Bc=O.extend({name:"ECursor",props:{timeScale:{type:Function,required:!0},timestamp:{type:String,required:!0},timezone:{type:String,required:!0},height:{type:Number,required:!0},color:{type:String,default:"red"},width:{type:Number,default:1},opacity:{type:Number,default:1}},data(){return{classNames:me}},watch:{timestamp(){this.repositionCursor()},timeScale(){this.repositionCursor()},height(){this.repositionCursor()}},methods:{repositionCursor(){const t=this.$refs.cursor,e=M.select(t);if(!e)return;if(!this.timestamp){e.style("opacity",0);return}const r=this.tzStringToDate(this.timestamp),n=this.timeScale(r);isNaN(n)?e.style("opacity",0):e.attr("x1",n).attr("x2",n).style("opacity",this.opacity),e.attr("y2",this.height)},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}});var Ic=function(){var e=this,r=e._self._c;return r("line",{ref:"cursor",class:e.classNames.selectedTimestampCursor,attrs:{x1:"0",y1:"0",x2:"0",opacity:"0",stroke:e.color,"stroke-width":`${e.width}px`}})},Fc=[],Rc=R(Bc,Ic,Fc,!1,null,null,null,null);const Ji=Rc.exports,Ac=O.extend({name:"ETimelineCursor",components:{ECursor:Ji},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var Hc=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,color:"green",height:e.height}})},Nc=[],jc=R(Ac,Hc,Nc,!1,null,null,null,null);const qc=jc.exports,Wc=O.extend({name:"ETimelineSelectedTimestampCursor",components:{ECursor:Ji},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var Gc=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,height:e.height,width:2}})},Uc=[],Zc=R(Wc,Gc,Uc,!1,null,null,null,null);const Xc=Zc.exports,Yc=O.extend({name:"ECursorBehavior",props:{timeScale:{type:Function,required:!0},timezone:{type:String,default:"UTC"},minHoverZone:{type:Number,default:0},isHoveringMilestone:{type:Boolean,default:!1}},data(){return{cursor:null,hoveredTimestamp:null,isHoveringTimeline:!1}},mounted(){this.registerEventsListeners()},methods:{registerEventsListeners(){const t=this.$refs.cursor;this.cursor=M.select(t),this.cursor.on("mousemove",this.handleMouseMove),this.cursor.on("click",this.handleClick),this.cursor.on("mouseleave",this.handleMouseLeave)},handleMouseLeave(){this.isHoveringTimeline=!1,this.hoveredTimestamp=void 0,this.$emit("mouse-leave")},handleMouseMove(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone){this.isHoveringTimeline=!1;return}const r=this.timeScale.invert(e);this.hoveredTimestamp=this.dateToTzString(r),this.isHoveringTimeline=!0,this.$emit("mouse-move",e,this.hoveredTimestamp)},handleClick(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);this.$emit("timestamp-clicked",n,t.target)},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})},dateToTzString(t){return Rt({date:t,timezone:this.timezone})}}});var Vc=function(){var e=this,r=e._self._c;return r("div",{ref:"cursor",staticClass:"e-timeline__cursor e-relative"},[e._t("default",null,{hoveredTimestamp:e.hoveredTimestamp,isHoveringTimeline:e.isHoveringTimeline})],2)},Qc=[],Kc=R(Yc,Vc,Qc,!1,null,null,null,null);const Jc=Kc.exports,e6=O.extend({name:"ETimelineGroupContainer",props:{groupId:{type:String,required:!0},label:{type:String,default:""},color:{type:String,default:""},backgroundColor:{type:String,default:""},preserveColors:{type:Boolean,default:!1},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},labelRadius:{type:[Number,void 0],default:3},xPadding:{type:Number,default:5},loading:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},showBackground:{type:Boolean,default:!0}},data(){return{classNames:me,characterWidth:6.5,isHighlighted:!1}},computed:{computedClasses(){return{label:{[`${me.labelGroup} ${me.labelGroup}-${this.groupId}`]:!0},container:{[`${me.eventGroup} ${me.eventGroup}-${this.groupId}`]:!0,[`${me.eventGroup}--highlighted`]:this.isHighlighted}}},computedLabelWidth(){var e;return(this.labelWidth||((e=this.label)==null?void 0:e.length)*this.characterWidth)+this.xPadding*2},textY(){return this.y+this.height/2},contentX(){return this.showLabel?this.x+this.computedLabelWidth:this.x},labelBackgroundColor(){let t=M.color(this.color);return this.preserveColors||(t.opacity=this.dark?.2:.5),t.toString()},textFillColor(){var t,e;return(this.dark?(t=M.color(this.color))==null?void 0:t.brighter(1.5):(e=M.color(this.color))==null?void 0:e.darker(2)).toString()},loadingIndicatorFill(){return`url(#${et.loadingGradient}-${this.groupId})`}}}),ih="";var t6=function(){var e=this,r=e._self._c;return r("g",{class:e.computedClasses.container},[!e.hidden&&e.showBackground?r("rect",{class:e.classNames.eventGroupBg,attrs:{x:e.x,y:e.y,width:e.width,height:e.height,fill:e.backgroundColor||e.color}}):e._e(),r("g",{class:e.classNames.eventGroupContent,attrs:{cursor:"pointer"}},[e._t("default",null,{y:e.y,x:e.contentX}),e.loading?r("rect",{class:e.classNames.loadingIndicator,attrs:{x:e.x,y:e.y,width:400,height:e.height,fill:e.loadingIndicatorFill}}):e._e()],2),e.showLabel?r("g",{class:e.computedClasses.label,on:{mouseover:function(n){e.isHighlighted=!0},mouseleave:function(n){e.isHighlighted=!1},click:function(n){return n.stopPropagation(),e.$emit("group-label-clicked",e.groupId)}}},[r("rect",{class:e.classNames.labelBg,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.dark?"black":"white"}}),r("rect",{class:e.classNames.labelBgFill,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.labelBackgroundColor,stroke:e.textFillColor}}),r("text",{staticClass:"label-text",attrs:{x:e.x+e.xPadding,y:e.textY,dy:"0.35rem",fill:e.textFillColor}},[e._v(" "+e._s(e.label)+" ")])]):e._e()])},r6=[],n6=R(e6,t6,r6,!1,null,null,null,null);const hn=n6.exports,i6=O.extend({name:"ETimelineRectsChartGroupedDots",props:{event:{type:Object,required:!0},rectStroke:{type:String,required:!0},rectStrokeWidth:{type:Number,required:!0},rectRx:{type:Number,required:!0},rectRy:{type:Number,required:!0},groupId:{type:String,required:!0}},data(){return{classNames:me}},computed:{numberOfBackgroundDots(){return this.event.groupedEvents?Math.min(3,this.event.groupedEvents.length-1):0}},methods:{getBackgroundX(t){return this.event.x-this.event.width/2-(this.numberOfBackgroundDots-(t-1))*4.5},getBackgroundY(t){return this.event.y+(this.numberOfBackgroundDots-(t-1))/2},getBackgroundSize(t){return this.event.width-(this.numberOfBackgroundDots-(t-1))},getBackgroundOpacity(t){return 1-(this.numberOfBackgroundDots-(t-1))/5}}});var s6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("g",{class:e.classNames.eventRectContainer},[e._l(e.numberOfBackgroundDots,function(n){return r("rect",{key:`bg-${e.numberOfBackgroundDots-n}`,class:[e.classNames.eventRect,`${e.classNames.eventRect}--dot`,`bg-${n}`],attrs:{x:e.getBackgroundX(n),y:e.getBackgroundY(n),width:e.getBackgroundSize(n),height:e.getBackgroundSize(n),fill:e.event.color,stroke:e.rectStroke,opacity:e.getBackgroundOpacity(n),"stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy}})}),r("rect",{class:[e.classNames.eventRect,`${e.classNames.eventRect}--dot`],attrs:{x:e.event.x-e.event.width/2,y:e.event.y-e.event.width*.025,width:e.event.width*1.05,height:e.event.height*1.05,fill:e.event.color,stroke:e.rectStroke,cursor:"pointer","stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy}})],2)},a6=[],o6=R(i6,s6,a6,!1,null,null,null,null);const l6=o6.exports,c6=O.extend({name:"ETimelineRectsChart",directives:{},components:{ETimelineGroupContainer:hn,ETimelineRectsChartGroupedDots:l6},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},rectMinWidth:{type:Number,default:1},rectYPadding:{type:Number,default:0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},dots:{type:Boolean,default:!1},dotsSize:{type:Number,default:3},barBorderRadius:{type:Number,default:1.5},groupOverlappingDots:{type:Boolean,default:!1},groupingThreshold:{type:Number,default:0}},data(){return{classNames:me,characterWidth:7.5,textPadding:5}},computed:{rectStrokeWidth(){return this.dots&&this.dotsSize?this.dotsSize/10:5},rectRx(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius||0},rectRy(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius||0},computedHeight(){return this.eventsGroup.height||this.height},yPosition(){const t=this.dots?(this.computedHeight-this.dotsSize+this.rectYPadding)/2:this.rectYPadding/2;return this.y+t},rectStroke(){if(!this.dots)return"#0000";const t=M.color(this.eventsGroup.color);return(t==null?void 0:t.brighter(1).toString())||"#0000"},rectHeight(){return this.dots?this.dotsSize:Math.max(this.height,1)},preprocessedEvents(){return[...this.eventsGroup.events].sort((e,r)=>{const n=new Date(e.startDate||e.timestamp).getTime(),i=new Date(r.startDate||r.timestamp).getTime();return n-i}).map(this.convertEventTzStringToDate)},computedEvents(){return(this.dots&&this.groupOverlappingDots?this.groupedEvents:this.preprocessedEvents.map(e=>[e])).map(e=>{let r={textContent:this.getEventText(e[0],this.textPadding,this.characterWidth),textX:this.getEventRectX(e[0],this.timeScale)+this.textPadding,textY:this.yPosition+this.rectHeight/2,textColor:e[0].textColor||this.getFillColor(e[0].color||this.eventsGroup.color,.75,this.dark)};if(!this.dots)return{...e[0],x:this.getEventRectX(e[0],this.timeScale),y:this.yPosition,width:this.getEventRectWidth(e[0],this.timeScale,this.rectMinWidth),height:this.rectHeight,color:e[0].color||this.eventsGroup.color,groupedEvents:e,...r};const n=this.getEventRectX(e[0],this.timeScale),i=this.getEventRectX(e[e.length-1],this.timeScale),s=n+(i-n)/2,a=e.length>1,c=s;return a?r={...r,textContent:`${e.length}`,textX:s-this.dotsSize/2-`${e.length}`.length*2,textY:this.yPosition-this.dotsSize/2}:r={...r,textX:r.textX-this.textPadding},{...e[0],x:c,y:this.yPosition,width:this.dotsSize,height:this.rectHeight,color:e[0].color||this.eventsGroup.color,groupedEvents:e,...r}})},timeScaleDensity(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},groupedEvents(){const t=this.preprocessedEvents,e=[];let r=[];return t.forEach((n,i)=>{if(i===0){r.push(n);return}const s=t[i-1],a=this.getEventRectX(n,this.timeScale),c=this.getEventRectX(s,this.timeScale),o=this.getEventRectWidth(s,this.timeScale,this.rectMinWidth);c+o+this.groupingThreshold>=a?r.push(n):(r.length>0&&e.push([...r]),r=[n])}),r.length>0&&e.push(r),e}},methods:{onMouseOver(t,e,r){t.target.classList.add(me.eventRectHovered);const i=this.convertEventDateToTzString(e);this.$emit("event-mouseover",t,i,r)},onMouseLeave(t){const e=t.target;e.classList.remove(me.eventRectHovered),Array.from(e.children).forEach(r=>{r.classList.remove(me.eventRectHovered)}),this.$emit("event-mouseout")},onGroupedEventsMouseOver(t,e,r){t.target.classList.add(me.eventRectHovered);const i=e.map(this.convertEventDateToTzString);this.$emit("grouped-events-mouseover",t,i,r)},getEventText(t,e,r){if(!t.text)return"";const n=`${t.text}`;if(n.length===1)return n;const s=(this.getEventRectWidth(t,this.timeScale,this.rectMinWidth)-e)/r;return s<Math.min(n==null?void 0:n.length,4)?"":(n==null?void 0:n.length)<=s?n:`${n.slice(0,s-3)}...`},getEventRectWidth(t,e,r){if(!t)return 0;if(this.dots)return this.dotsSize;if(t.startDate&&t.endDate){const n=new Date(t.startDate),i=new Date(t.endDate),s=e(i)-e(n);return Math.max(s,r)}else{const n=1/(this.timeScaleDensity*3600);return Math.max(n,r)}},getEventRectX(t,e){const r=e(t.startDate||t.timestamp);return isNaN(r)?0:r},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})},dateToTzString(t){return Rt({date:t,timezone:this.timezone})},convertEventTzStringToDate(t){return this.patchTimestampField(t,this.tzStringToDate)},convertEventDateToTzString(t){return this.patchTimestampField(t,this.dateToTzString)},patchTimestampField(t,e){let r={...t};return r.timestamp&&(r.timestamp=e(r.timestamp)),r.startDate&&(r.startDate=e(r.startDate)),r.endDate&&(r.endDate=e(r.endDate)),r},getFillColor(t,e=0,r=!1){var n,i;return(r?(n=M.color(t))==null?void 0:n.brighter(1.5+e):(i=M.color(t))==null?void 0:i.darker(2+e)).toString()}}}),sh="";var u6=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,"preserve-colors":e.eventsGroup.preserveColors,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.computedHeight+e.rectYPadding,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[e.dots?r("line",{class:e.classNames.milestoneLine,attrs:{x1:0,x2:e.width,y1:e.yPosition+e.dotsSize/2,y2:e.yPosition+e.dotsSize/2,stroke:e.eventsGroup.color,"stroke-width":1}}):e._e(),e._l(e.computedEvents,function(n,i){return r("g",{key:i,class:e.classNames.eventRectContainer},[!n.groupedEvents||!e.dots||n.groupedEvents.length===1?[r("rect",{class:[e.classNames.eventRect,e.dots?`${e.classNames.eventRect}--dot`:""],attrs:{x:n.x-(e.dots?n.width/2:0),y:n.y,"data-timestamp":n.timestamp,width:n.width,height:n.height,fill:n.color,stroke:e.rectStroke,cursor:"pointer","stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy},on:{mouseover:function(s){return e.onMouseOver(s,n,e.groupId)},mouseleave:e.onMouseLeave}})]:e.dots&&n.groupedEvents.length>1?r("ETimelineRectsChartGroupedDots",{key:i,attrs:{event:n,"rect-stroke":e.rectStroke,"rect-stroke-width":e.rectStrokeWidth,"rect-rx":e.rectRx,"rect-ry":e.rectRy,"group-id":e.groupId},nativeOn:{mouseover:function(s){return e.onGroupedEventsMouseOver(s,n.groupedEvents,e.groupId)},mouseleave:function(s){return e.onMouseLeave.apply(null,arguments)}}}):e._e(),n.textContent?r("text",{class:e.classNames.eventRectText,attrs:{fill:n.textColor,x:n.textX,y:n.textY,dy:"0.35em","text-anchor":e.dots?"middle":"start","font-size":"12","font-weight":600,"stroke-linejoin":"round","paint-order":"stroke","pointer-events":"none"}},[e._v(" "+e._s(n.textContent)+" ")]):e._e()],2)})],2)},d6=[],h6=R(c6,u6,d6,!1,null,null,null,null);const p6=h6.exports,f6=O.extend({name:"ETimelineLinesChart",directives:{},components:{ETimelineGroupContainer:hn},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},maxVisibleCount:{type:Number,required:!0},labelWidth:{type:[Number,void 0],default:void 0},labelHeight:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},hoveredTimestamp:{type:String,default:""},yOffset:{type:Number,default:20}},data(){return{classNames:me,defs:et,characterWidth:7.5}},computed:{lineGradient(){return`${et.transparencyGradientLight}-${this.groupId}-${qe.LineGraph}`},lineDots(){const[t,e]=this.timeScale.domain();return this.eventsGroup.events.filter((n,i)=>{var o,l;const s=i===0?1:i,a=new Date((o=this.eventsGroup.events[s+1])==null?void 0:o.timestamp),c=new Date((l=this.eventsGroup.events[s-1])==null?void 0:l.timestamp);return a>=t&&a<=e||c>=t&&c<=e})},hoverZones(){return this.lineDots.map(t=>{const e=this.timeScale(this.tzStringToDate(t.timestamp)),r=this.yScale(t.count),n=this.timeScale.invert(e-2),i=this.timeScale.invert(e+2);return{x:e,y:r,height:this.height-22,color:t.color||this.eventsGroup.color,timestamp:t.timestamp,count:t.count,isHovering:this.tzStringToDate(this.hoveredTimestamp)>=n&&this.tzStringToDate(this.hoveredTimestamp)<i}})},yScale(){let t=M.scaleLinear().range([this.height,0]);return t=t.domain([0,this.maxVisibleCount||1]),t}},watch:{hoverZones:{handler(){this.updateLine()},deep:!0,immediate:!0}},mounted(){this.updateLine()},methods:{updateLine(){const t=M.area().x(r=>r.x).y0(this.height).y1(r=>r.y).curve(M.curveMonotoneX),e=M.line().x(r=>r.x).y(r=>r.y).curve(M.curveMonotoneX);M.select(`.${me.areaGraphPath}-${this.groupId}`).datum(this.hoverZones).attr("d",r=>t(r)),M.select(`.${me.lineGraphPath}-${this.groupId}`).datum(this.hoverZones).attr("d",r=>e(r))},getEventRectX(t,e){const r=e(this.tzStringToDate(t.startDate||t.timestamp));return isNaN(r)?0:r},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}}),ah="";var m6=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.labelHeight,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden,"show-background":!1},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[r("g",{class:`${e.classNames.lineGraphGroup} ${e.classNames.lineGraphGroup}-${e.groupId}`,style:{transform:`translate(0, ${e.yOffset}px) `}},[r("path",{class:`${e.classNames.areaGraphPath}-${e.groupId}`,attrs:{fill:`url(#${e.lineGradient})`,stroke:"none","stroke-linecap":"round","stroke-linejoin":"round"}}),r("path",{class:`${e.classNames.lineGraphPath}-${e.groupId}`,attrs:{fill:"none",stroke:e.eventsGroup.color,"stroke-width":1.5}}),e._l(e.hoverZones,function(n,i){return r("g",{key:i},[r("circle",{ref:`${e.classNames.lineGraphDot}-${e.groupId}-${i}`,refInFor:!0,class:[e.classNames.lineGraphDot,`${e.classNames.lineGraphDot}-${e.groupId}`,`${e.classNames.lineGraphDot}-${e.groupId}-${i}`,{[`${e.classNames.lineGraphDot}--active`]:n.isHovering}],attrs:{cx:n.x,cy:n.y,r:"1.5",fill:n.color,"stroke-width":0}}),r("rect",{class:`${e.classNames.lineGraphHoverZone} ${e.classNames.lineGraphHoverZone}-${e.groupId}`,attrs:{x:n.x-2,y:0,width:4,height:e.height,fill:"transparent"},on:{mouseover:function(s){return e.$emit("event-mouseover",s,n,e.groupId)},mouseleave:function(s){return e.$emit("event-mouseout")}}})])})],2)])},g6=[],v6=R(f6,m6,g6,!1,null,null,null,null);const y6=v6.exports,_6=O.extend({name:"ETimelineBarsChart",components:{ETimelineGroupContainer:hn},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},labelHeight:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},hoveredTimestamp:{type:String,default:""},yOffset:{type:Number,default:20},rectMinWidth:{type:Number,default:1},currentTimeScaleDensity:{type:Number,default:null},maxVisibleCount:{type:Number,default:1},previousCountsByTimestamp:{type:Object,default:null}},data(){return{classNames:me,defs:et,characterWidth:7.5}},computed:{bars(){const[t,e]=this.timeScale.domain();return this.eventsGroup.events.filter(r=>{const n=new Date(r.startDate);return new Date(r.endDate)>=t&&n<=e})},hoverZones(){return this.bars.map(t=>{const e=this.getEventRectWidth(t),r=this.yScale.range()[0]-this.yScale(t.count),n=this.getEventRectX(t,this.timeScale),i=this.previousCountsByTimestamp[t.startDate]||0,s=this.yScale(i+t.count);return{x:n,y:s,height:r,width:e,color:t.color||this.eventsGroup.color,startDate:t.startDate,endDate:t.endDate,count:t.count,className:t.className,isHovering:this.hoveredTimestamp>=t.startDate&&this.hoveredTimestamp<t.endDate}})},yScale(){let t=M.scaleLinear().range([this.height,0]);return t=t.domain([0,this.maxVisibleCount||1]),t}},methods:{getBarOpacity(t){let e;return this.hoveredTimestamp||(e=et.transparencyGradient),e=t.isHovering?et.transparencyGradientHover:et.transparencyGradientLight,`${e}-${this.groupId}-${qe.BarChart}`},getEventRectX(t,e){return isNaN(e(this.tzStringToDate(t.startDate||t.timestamp)))?0:e(this.tzStringToDate(t.startDate||t.timestamp))},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})},onEventClick(){this.$emit("event-clicked")},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)}}}}),oh="";var C6=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.labelHeight,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden,"show-background":!1},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[r("g",{class:`${e.classNames.barChartGroup} ${e.classNames.barChartGroup}-${e.groupId}`,style:{transform:`translate(0, ${e.yOffset}px) `}},e._l(e.hoverZones,function(n,i){return r("g",{key:i,class:`${e.classNames.eventBarContainer} ${e.classNames.eventBarContainer}-${e.groupId}`,on:{mouseleave:function(s){return e.$emit("event-mouseout")},mouseover:function(s){return e.$emit("event-mouseover",s,n,e.groupId)},click:function(s){return e.onEventClick()}}},[r("rect",{class:[n.className?n.className:"",e.classNames.eventBarHoverZone],attrs:{x:n.x,y:-e.yOffset,width:n.width,height:e.yScale.range()[0]+e.yOffset,fill:n.color,"fill-opacity":0}}),r("rect",{class:[n.className?n.className:"",e.classNames.eventBar],attrs:{x:n.x,y:n.y,width:n.width,height:n.height,"stroke-width":5,cursor:"pointer",stroke:"#0000",fill:`url(#${e.getBarOpacity(n)})`}})])}),0)])},b6=[],x6=R(_6,C6,b6,!1,null,null,null,null);const w6=x6.exports,S6=O.extend({name:"ETimeline",directives:{resizeObserver:Ue},components:{ETimelineSVGDefs:Ec,EXAxisBackground:Sc,EXAxisDetailed:_c,EXAxisOverview:fc,ETimelineMilestone:q3,ETimelineMarkers:J3,ETimelineCursor:qc,ETimelineSelectedTimestampCursor:Xc,EZoomBehavior:ic,ECursorBehavior:Jc,ETimelineRectsChart:p6,ETimelineForbiddenInterval:Oc,ETimelineLinesChart:y6,ETimelineBarsChart:w6},props:{eventsGroups:{type:Object,default:null},dark:{type:Boolean,default:!1},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},selectedTimestamp:{type:String,default:void 0},showEventTooltip:{type:Boolean,default:!0},insertZerosAtInterval:{type:String,default:void 0},flattenLineGraphEnds:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},barHeight:{type:Number,default:18},barYPadding:{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},panOnDateClick:{type:Boolean,default:!1},selectedDate:{type:String,default:""},markers:{type:Array,default:()=>[]},stickyMarkers:{type:Boolean,default:!0},fitMarkersOnChange:{type:Boolean,default:!1},milestoneBulletSize:{type:Number,default:18},milestonesFirst:{type:Boolean,default:!0},forbiddenIntervals:{type:Array,default:()=>[]},forbiddenIntervalColor:{type:String,default:"#ddd"},focusedInterval:{type:[Object,void 0],default:void 0},locked:{type:Boolean,default:!1},timezone:{type:[String,void 0],default:void 0},stopClickPropagation:{type:Boolean,default:!1},tooltipPosition:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},maxDomainPadding:{type:Number,default:0},showCursor:{type:Boolean,default:!0},transitionDuration:{type:Number,default:400},scalingDuration:{type:Number,default:400},highlightMilestoneOnMatchTimestamp:{type:Boolean,default:!1},axisHeight:{type:Number,default:22}},data(){return{mainContainer:null,tooltip:null,timeline:null,svgElement:null,svg:null,isHoveringEvent:!1,isHoveringGroupedEvents:!1,isAnimating:!1,hoveredEvent:null,eventTooltipStyle:{},hoveredEventType:null,hoveredCounts:[],visibleFrom:null,visibleTo:null,characterWidth:7.5,textPadding:5,timeouts:[],groupsVisibility:{},selectedMilestoneId:null,isInitialized:!1,hoveredMilestone:null,focusedDomain:null,focusedTimestamp:null,hoveredGroupedEvents:null,TimelineChartType:qe,width:0}},computed:{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)},barGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.Bars,qe.Dots])},lineGraphGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.LineGraph])},barChartGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.BarChart])},milestonesGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.Milestones])},combinedBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(this.getBarGroupHeight(e)||this.barHeight+this.barYPadding),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.barHeight),0)},milestonesYOffset(){return this.milestonesFirst?0:this.combinedBarsHeight-this.combinedBottomBarsHeight+(this.hasChart?this.chartHeight:0)},chartsYOffset(){return this.combinedXAxesHeight+(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},computedClasses(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark},background:this.dark?"e-bg-gray-900":"e-bg-gray-50",tooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300",eventTooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300"}},chartHeight(){if(!this.showLabels)return this.chartMinHeight;const e=(Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length)*this.barHeight;return Math.max(this.chartMinHeight,e)},chartLabelHeight(){return Math.max(this.chartMinLabelHeight,this.barHeight)},hasChart(){return Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length>0},labelRectWidth(){return Object.values(this.eventsGroups).reduce((r,n)=>{var i;return Math.max(r,(i=n.label)==null?void 0:i.length)},0)*this.characterWidth+2*this.textPadding},combinedXAxesHeight(){return this.axisHeight*1.75},timelineHeight(){return(this.hasChart?this.chartHeight:0)+this.combinedXAxesHeight+this.combinedBarsHeight+this.combinedMilestonesHeight},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)}}),{})},flattenedLinesCounts(){return Object.values(this.lineGraphGroups).map(t=>t.events).flat()},flattenedBarsCounts(){return Object.values(this.barChartGroups).map(t=>t.events).flat()},hiddenGroupsLabels(){return Object.entries(this.groupsVisibility).reduce((t,[e,r])=>r?t:[...t,e],[])},minHoverZone(){var t;return this.showLabels?(t=this.labelWidth)!=null?t: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=new Date(this.visibleFrom),e=new Date(this.visibleTo),r=c=>{const o=new Date(c.startDate||c.timestamp),l=new Date(c.endDate||c.timestamp);return o<=e&&l>=t},n=this.flattenedBarsCounts.filter(r),i=this.flattenedLinesCounts.filter(r).map(c=>c.count),s={};n.forEach(c=>{const o=c.startDate||c.timestamp;s[o]=(s[o]||0)+c.count});const a=Object.values(s).concat(i);return M.max(a)||1},defaultMaxDomain(){const t=new Date(this.oldestEvent.timestamp||this.oldestEvent.startDate).getTime(),e=new Date(this.latestEvent.timestamp||this.latestEvent.endDate).getTime(),n=(e-t)*.75,i=new Date(t-n),s=new Date(e+n);return[i.toISOString(),s.toISOString()]},defaultFocusedDomain(){const t=this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.latestEvent.timestamp||this.latestEvent.endDate;return[t,e]},domain(){let t=new Date(this.minDate||this.defaultMaxDomain[0]).getTime(),e=new Date(this.maxDate||this.defaultMaxDomain[1]).getTime(),r=0;return this.maxDomainPadding&&(r=(e-t)*this.maxDomainPadding),t=new Date(t-r).toISOString(),e=new Date(e+r).toISOString(),[this.tzStringToDate(t),this.tzStringToDate(e)]},svgLeft(){var t,e,r;return((r=(e=(t=this.svg)==null?void 0:t.node())==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0},markersScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("marker.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})},isHoveringMilestone(){return!!this.hoveredMilestone},milestonesGroupsPlaceholder(){return Object.entries(this.milestonesGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:[],isLoading:!1}}),{})},countsByTimestamp(){const t={...this.lineGraphGroups,...this.barChartGroups};return Object.entries(t).reduce((e,[r,n])=>(n.events.forEach(i=>{const s=i.timestamp||i.startDate;e[s]={...e[s]||{},[r]:i.count}}),e),{})}},watch:{markers(t,e){t===e||!this.fitMarkersOnChange||e.length===0||this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},selectedDate(t){t&&!this.locked&&(this.focusedTimestamp=this.tzStringToDate(t).toISOString())},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&(this.focusedDomain=[t.startDate,t.endDate])}},mounted(){this.validateProps(),this.initTimeline()},beforeDestroy(){this.clearTimeline()},methods:{handleVisibleIntervalChange({fromDate:t,toDate:e,trigger:r,transform:n}){this.visibleFrom=t,this.visibleTo=e,this.$emit("visible-interval-change",{fromDate:t,toDate:e,trigger:r,transform:n})},getGroupByType(t,e){return Object.entries(t).reduce((r,[n,i])=>!i.chartType&&e.includes(qe.Bars)||e.includes(i.chartType)?{...r,[n]:i}:r,{})},getPreviousCountsByTimestamp(t){if(t===0)return{};const e=Object.fromEntries(Object.entries(this.barChartGroups).slice(0,t)),r=[...Object.values(e)].map(i=>i.events).flat(),n={};return r.forEach(i=>{const s=i.startDate||i.timestamp;n[s]=(n[s]||0)+i.count}),n},getChartsYPosition(t){const e=Object.keys(this.lineGraphGroups).concat(Object.keys(this.barChartGroups));return this.timelineHeight-this.chartLabelHeight*(e.indexOf(t)+1)-(this.milestonesFirst?0:this.combinedMilestonesHeight)-this.combinedBarsHeight},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])},initTimeline(){if(this.initRefs(),this.zoomToStartAndEndDates(),!this.timeline||this.timeline.offsetWidth===0||!this.domain){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.selectedDate&&this.panOnDateClick&&(this.focusedTimestamp=this.tzStringToDate(this.selectedDate)),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.mainContainer=this.$refs.mainContainer,this.timeline=this.$refs.timelineContainer,this.svgElement=this.$refs.timelineSvg,this.svg=M.select(this.svgElement)},zoomToFitMarkers(){const t=this.markers.map(s=>new Date(s.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t),n=new Date(e),i=new Date(r);this.focusedDomain=[n,i]},clearTimeline(){this.svg&&this.svg.remove()},handleMouseLeave(){this.$emit("hovered-timestamp",void 0)},handleMouseMove(t,e){var o;this.$emit("hovered-timestamp",e);const n=this.isHoveringEvent&&this.showEventTooltip?this.$refs.eventTooltip||this.$refs.tooltip:this.$refs.tooltip;if(!n)return;const s=(this.timeline||this.$refs.timelineContainer).getBoundingClientRect(),a=((o=n==null?void 0:n.getBoundingClientRect())==null?void 0:o.width)||180;let c=t-a/2;c<0&&(c=t),c+a>s.width&&(c=t-a),this.eventTooltipStyle={left:`${c}px`,zIndex:100,[this.tooltipPosition==="top"?"bottom":"top"]:`${s.height}px`}},isForbiddenInterval(t){const e=new Date(t).getTime(),r=this.forbiddenIntervals.some(s=>{const a=isNaN(new Date(s.startDate).getTime())?-1/0:new Date(s.startDate).getTime(),c=isNaN(new Date(s.endDate).getTime())?1/0:new Date(s.endDate).getTime();return e>=a&&e<=c});let n=!1;this.startDate&&(n=e<new Date(this.startDate).getTime());let i=!1;return this.endDate&&(i=e>new Date(this.endDate).getTime()),r||n||i},handleClick(t){if(this.isForbiddenInterval(t)){this.$emit("forbidden-timestamp-clicked",t);return}if(this.isHoveringGroupedEvents){if(this.isHoveringGroupedEvents=!1,this.$emit("grouped-events-clicked",{events:this.hoveredGroupedEvents,type:this.hoveredEventType}),this.stopClickPropagation)return}else if(this.isHoveringEvent&&(this.isHoveringEvent=!1,this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation))return;this.$emit("date-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t)},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t.timestamp)},handleChartMouseOver(t,e,r){this.isAnimating||!this.countsByTimestamp[`${e.timestamp||e.startDate}`]||(this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp||e.startDate}`]).reduce((n,i)=>{var c;const[s,a]=i;return(c=this.hiddenGroupsLabels)!=null&&c.includes(s)?n:[...n,{type:s,count:a,label:this.getExternalLabelText(s)}]},[]),this.hoveredEvent=e,this.isHoveringEvent=!0,this.$emit("event-mouseover",{eventData:e,eventType:r,hoveredCounts:this.hoveredCounts}))},handleChartMouseOut(){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.isHoveringGroupedEvents=!1,this.$emit("event-mouseover",{eventData:e,eventType:r}))},handleBarGroupedEventsMouseOver(t,e,r){t.offsetX<=this.minHoverZone||(this.hoveredGroupedEvents=e,this.hoveredEventType=r,this.isHoveringEvent=!1,this.isHoveringGroupedEvents=!0,this.$emit("grouped-events-mouseover",{events:e,eventType:r}))},handleBarMouseOut(){this.isHoveringEvent=!1,this.isHoveringGroupedEvents=!1,this.hoveredEvent=null,this.hoveredGroupedEvents=null,this.$emit("event-mouseout")},handleTimeScaleChange(t){this.$emit("time-scale-change",t)},zoomToStartAndEndDates(){var r,n;const t=this.startDate||((r=this.focusedInterval)==null?void 0:r.startDate)||this.defaultFocusedDomain[0],e=this.endDate||((n=this.focusedInterval)==null?void 0:n.endDate)||this.defaultFocusedDomain[1];this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)]},onAnimationStart(){this.isAnimating=!0,this.$emit("animation-start")},onAnimationEnd(){this.isAnimating=!1,this.$emit("animation-end")},getMilestoneClass(t){return{[me.milestoneSelected]:[t.id,t.timestamp].includes(this.selectedMilestoneId)||this.highlightMilestoneOnMatchTimestamp&&Se(this.selectedTimestamp).isSame(t.timestamp)}},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.barHeight}return this.combinedXAxesHeight+this.milestonesYOffset+e},getBarGroupYPosition(t,e){let r=this.combinedXAxesHeight;e?r+=(this.hasChart?this.chartHeight:0)+(this.hasMilestones?this.combinedMilestonesHeight:0):r+=this.barsYOffset;for(const[n,i]of Object.entries(this.barGroups)){if(n===t)break;!e&&i.bottom||(r+=this.getBarGroupHeight(i))}return r},getBarGroupHeight(t){return t.height?Math.max(t.height+this.barYPadding,1):this.barHeight+this.barYPadding},getTextFillColor(t,e=0){var r,n;return(this.dark?(r=M.color(t))==null?void 0:r.brighter(1.5+e):(n=M.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=M.color(t);return e.opacity=this.dark?.2:.5,e.toString()},getCurrentGroupVisibility(t){var n;const e=this.groupsVisibility[t];if(e!==void 0)return e;const r=(n=this.eventsGroups[t])==null?void 0:n.isHidden;return r!==void 0?!r:!0},toggleGroupVisibility(t){this.groupsVisibility={...this.groupsVisibility,[t]:!this.getCurrentGroupVisibility(t)}},getExternalLabelStyles(t){const e=this.eventsGroups[t].color;return{background:this.getLabelBackgroundColor(e),color:this.getTextFillColor(e)}},getExternalLabelText(t){var e;return(e=this.eventsGroups[t])==null?void 0:e.label},getExternalLabelWrapperStyles(t){const e=this.eventsGroups[t].color;return{borderColor:this.getTextFillColor(e)}},tzStringToDate(t){return Ke({timestamp: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=s=>s.clone().add(1,e),n=s=>s.clone().subtract(1,e);let i=[];for(let s=0;s<t.length;s++){const a=t[s];if(i.push(a),s===t.length-1)break;const c=t[s+1],o=Se(a.timestamp),l=Se(c.timestamp);if(l.diff(o,e)>1){const d=r(o).toISOString(),h=n(l).toISOString();i.push({timestamp:d,count:0}),d!==h&&i.push({timestamp:h,count:0})}}if(this.flattenLineGraphEnds){const s=Se(t[0].timestamp),a=Se(t[t.length-1].timestamp),c=n(s).toISOString(),o=r(a).toISOString();i=[{timestamp:c,count:0},...i,{timestamp:o,count:0}]}return i},fillEvents(t){return this.placeholderLineChartGroup.map(e=>t.find(n=>n.timestamp===e.timestamp)||e)},onMilestoneClick(t,e){this.panOnDateClick&&(this.focusedTimestamp=t.timestamp),this.selectedMilestoneId=t.id||t.timestamp,this.$emit("milestone-click",{milestone:t,milestoneType:e})},getSortedEvents(t){return[...t].sort((e,r)=>new Date(e.timestamp||e.startDate)>new Date(r.timestamp||r.startDate)?1:-1)},onHoverMilestone(t){this.hoveredMilestone=t},onResizeContainer({contentRect:t}){this.width===t.width||t.width===0||(this.width=t.width,this.$emit("timeline-resize",{contentRect:t}))}}}),lh="";var T6=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResizeContainer,expression:"onResizeContainer"}],ref:"mainContainer",staticClass:"e-timeline"},[r("EZoomBehavior",{attrs:{domain:e.domain,"focused-domain":e.focusedDomain,"translation-duration":e.transitionDuration,"scaling-duration":e.scalingDuration,"focused-timestamp":e.focusedTimestamp,timezone:e.timezone,width:e.width,disabled:e.locked},on:{"visible-interval-change":e.handleVisibleIntervalChange,"time-scale-change":e.handleTimeScaleChange,"animation-start":e.onAnimationStart,"animation-end":e.onAnimationEnd},scopedSlots:e._u([{key:"default",fn:function({timeScale:n}){return[n?r("div",{staticClass:"e-relative e-timeline e-border e-rounded",class:e.computedClasses.wrapper},[r("ECursorBehavior",{attrs:{"time-scale":n,timezone:e.timezone,"min-hover-zone":e.minHoverZone,"is-hovering-milestone":e.isHoveringMilestone},on:{"mouse-move":e.handleMouseMove,"mouse-leave":e.handleMouseLeave,"timestamp-clicked":e.handleClick},scopedSlots:e._u([{key:"default",fn:function({hoveredTimestamp:i,isHoveringTimeline:s}){var a;return[r("ETimelineMarkers",{attrs:{markers:e.sortedMarkers,"sticky-markers":e.stickyMarkers,"time-scale":n,"time-zone":e.timezone,height:e.timelineHeight,"svg-left":e.svgLeft},on:{"marker-clicked":e.handleMarkerClick,"marker-drag-end":function(c){return e.$emit("marker-drag-end",c)},"marker-drag-start":function(c){return e.$emit("marker-drag-start",c)},"marker-drag-drag":function(c){return e.$emit("marker-drag-drag",c)}},scopedSlots:e._u([e._l(e.markersScopedSlots,function(c,o){return{key:o,fn:function(l){return[e._t(o,null,null,l)]}}})],null,!0)}),r("div",{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.width,height:e.timelineHeight}},[r("ETimelineSVGDefs",{attrs:{"events-groups":e.eventsGroups,width:e.width,height:e.chartHeight,"forbidden-interval-color":e.forbiddenIntervalColor}}),r("g",{staticClass:"e-timeline-axes"},[n?r("EXAxisOverview",{attrs:{"time-scale":n,height:e.timelineHeight,dark:e.dark}}):e._e(),n?r("EXAxisDetailed",{attrs:{"time-scale":n,height:e.timelineHeight-e.axisHeight,y:e.axisHeight,dark:e.dark}}):e._e(),n?r("EXAxisBackground",{attrs:{"time-scale":n,height:e.timelineHeight-e.combinedXAxesHeight,y:e.combinedXAxesHeight,dark:e.dark}}):e._e()],1),e.selectedTimestamp?r("ETimelineSelectedTimestampCursor",{attrs:{"time-scale":n,"selected-timestamp":e.selectedTimestamp,timezone:e.timezone,height:e.timelineHeight}}):e._e(),i&&s&&!e.isHoveringMilestone&&e.showCursor?r("ETimelineCursor",{attrs:{"time-scale":n,"selected-timestamp":i,timezone:e.timezone,height:e.timelineHeight}}):e._e(),e._l(e.forbiddenIntervals,function(c,o){return r("ETimelineForbiddenInterval",{key:o,attrs:{"time-scale":n,interval:c,index:o,height:e.timelineHeight,timezone:e.timezone}})}),e._l(e.barGroups,function(c,o){return r("ETimelineRectsChart",{key:o,attrs:{"time-scale":n,"events-group":c,"group-id":o,y:e.getBarGroupYPosition(o,c.bottom),height:e.barHeight,width:e.width,"rect-y-padding":e.barYPadding,dark:e.dark,"show-label":e.showLabels,"label-width":e.labelWidth,timezone:e.timezone,dots:c.chartType===e.TimelineChartType.Dots,"dots-size":c.dotsSize,"bar-border-radius":c.barBorderRadius,"group-overlapping-dots":c.groupOverlappingDots},on:{"event-mouseover":e.handleBarMouseOver,"grouped-events-mouseover":e.handleBarGroupedEventsMouseOver,"event-mouseout":e.handleBarMouseOut,"group-label-clicked":e.toggleGroupVisibility}})}),e._l(e.milestonesGroupsPlaceholder,function(c,o){return r("ETimelineRectsChart",{key:o,attrs:{width:e.width,y:e.getMilestoneGroupYPosition(o),height:c.height,"group-id":o,"events-group":c,"time-scale":n,dark:e.dark,dots:!0,"show-label":!1}})}),e._l(e.insertZerosAtInterval?e.filledGapsLineGraphGroups:e.lineGraphGroups,function(c,o){return r("ETimelineLinesChart",{key:o,attrs:{"group-id":o,"time-scale":n,"events-group":c,y:e.getChartsYPosition(o),height:e.chartHeight,width:e.width,dark:e.dark,timezone:e.timezone,"show-label":e.showLabels,"label-height":e.chartLabelHeight,"label-width":e.labelWidth,"max-visible-count":e.maxVisibleCount,"y-offset":e.chartsYOffset,"hovered-timestamp":i},on:{"event-mouseover":e.handleChartMouseOver,"event-mouseout":e.handleChartMouseOut,"group-label-clicked":e.toggleGroupVisibility}})}),e._l(e.barChartGroups,function(c,o,l){return r("ETimelineBarsChart",{key:o,attrs:{"group-id":o,width:e.width,y:e.getChartsYPosition(o),height:e.chartHeight,"events-group":c,"time-scale":n,dark:e.dark,"y-offset":e.chartsYOffset,"label-height":e.chartLabelHeight,"label-width":e.labelWidth,"max-visible-count":e.maxVisibleCount,"show-label":e.showLabels,"hovered-timestamp":i,"previous-counts-by-timestamp":e.getPreviousCountsByTimestamp(l)},on:{"event-mouseover":e.handleChartMouseOver,"event-mouseout":e.handleChartMouseOut,"group-label-clicked":e.toggleGroupVisibility}})})],2)]),e._l(e.milestonesGroups,function(c,o){return r("div",{key:`${o}`,staticClass:"e-timeline-milestones",attrs:{"data-test-id":"timeline-milestones"}},[r("div",{class:`e-tl-milestones e-tl-milestones-${o}`},e._l(e.getSortedEvents(c.events),function(l,d){return r("ETimelineMilestone",{key:`${l.milestoneType}-${d}`,class:e.getMilestoneClass(l),attrs:{"time-scale":n,y:e.getMilestoneGroupYPosition(o),height:c.height||e.barHeight,"data-timestamp":l.timestamp,milestone:l,dot:c.dots,size:l.size||e.milestoneBulletSize,"transition-duration":c.milestonesTransitionDuration,"line-height":c.milestonesLineHeight,"dot-size":c.milestonesDotSize,"data-test-id":`milestone-${l.milestoneType}-${d}`,"background-color":e.getMilestoneColors(l.color,c.color).background,"border-color":e.getMilestoneColors(l.color,c.color).border,timezone:e.timezone},on:{"hovered-milestone":e.onHoverMilestone,"milestone-click":function(h){return e.onMilestoneClick(l,o)}},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:d,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",{staticClass:"external-labels-container e-flex"},e._l(e.hiddenGroupsLabels,function(c){return r("div",{key:c,staticClass:"external-label",class:e.computedClasses.background,style:e.getExternalLabelWrapperStyles(c),on:{click:function(o){return o.stopPropagation(),e.toggleGroupVisibility(c)}}},[r("div",{staticClass:"external-label__content",style:e.getExternalLabelStyles(c)},[e._v(" "+e._s(e.getExternalLabelText(c))+" ")])])}),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:s&&!e.isHoveringEvent&&!e.isHoveringMilestone,expression:`
|
|
232
|
+
23 59 9 57 541 57 l488 0 24 -24z`}})])])},e5=[],t5=R(K2,J2,e5,!1,null,null,null,null);const r5=t5.exports,n5=O.extend({name:"ZohoCrm",components:{BaseIcon:ce},props:{color:{type:String,default:"grey"}}});var i5=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"}})])},s5=[],a5=R(n5,i5,s5,!1,null,null,null,null);const o5=a5.exports,l5=O.extend({name:"Tag",components:{BaseIcon:ce},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var c5=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"}})])},u5=[],d5=R(l5,c5,u5,!1,null,null,null,null);const h5=d5.exports,p5=O.extend({name:"Tag",components:{BaseIcon:ce},props:{color:{type:String,default:"#000"},backgroundColor:{type:String,default:"white"}}});var f5=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"}})])},m5=[],g5=R(p5,f5,m5,!1,null,null,null,null);const v5=g5.exports,y5=O.extend({name:"Nerves",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var _5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._g(e._b({attrs:{small:!0,width:"39px",height:"32px",viewBox:"0 0 39 32"}},"BaseIcon",e.$attrs,!1),e.$listeners),[r("g",{attrs:{transform:"translate(-150.000000, -24.000000)",fill:"#FFFFFF","fill-rule":"nonzero"}},[r("g",{attrs:{transform:"translate(150.000000, 24.000000)"}},[r("path",{style:`fill: ${e.color}`,attrs:{d:"M36.8961538,0.0347826087 C37.9157565,0.0347826087 38.7423077,0.875708644 38.7423077,1.91304348 L38.7423077,1.91304348 L38.7423077,30.0947826 C38.7423077,31.1321174 37.9157565,31.9730435 36.8961538,31.9730435 L36.8961538,31.9730435 L29.4846154,31.9730435 L29.4884615,31.9886957 C29.0885173,31.9836286 28.7010575,31.8462773 28.3846154,31.5973913 L28.3846154,31.5973913 L10.4,17.9565217 C9.92639703,17.5948183 9.6506735,17.0250601 9.65756147,16.4226087 L9.65756147,16.4226087 L9.65756147,15.64 C9.65686375,14.933417 10.0458734,14.2861439 10.6644383,13.9648756 C11.2830032,13.6436073 12.0264516,13.7027078 12.5884615,14.1178261 L12.5884615,14.1178261 L29.7038462,26.7373913 C30.0199016,26.968534 30.3992227,27.0930678 30.7884615,27.0934783 L30.7884615,27.0934783 L32.0923077,27.0934783 C32.5822513,27.09452 33.0524229,26.8969669 33.3988661,26.5444986 C33.7453093,26.1920303 33.9394855,25.7136818 33.9384615,25.2152174 L33.9384615,25.2152174 L33.9384615,6.79652174 C33.9394855,6.29805736 33.7453093,5.81970886 33.3988661,5.46724054 C33.0524229,5.11477223 32.5822513,4.91721914 32.0923077,4.91826087 L32.0923077,4.91826087 L30.7153846,4.91826087 C30.225441,4.9193026 29.7552694,4.72174951 29.4088262,4.36928119 C29.062383,4.01681288 28.8682069,3.53846438 28.8692308,3.04 L28.8692308,3.04 L28.8692308,1.91304348 C28.8692308,0.875708644 29.695782,0.0347826087 30.7153846,0.0347826087 L30.7153846,0.0347826087 Z M9.29615385,0.00739130435 C9.69614711,0.0121740752 10.0836931,0.149555936 10.4,0.398695652 L10.4,0.398695652 L28.3846154,14.0434783 C28.8571972,14.4035114 29.1305978,14.972929 29.1192308,15.5734783 L29.1192308,15.5734783 L29.1192308,16.356087 C29.1190118,17.0612911 28.7305478,17.7069474 28.1133582,18.0279227 C27.4961685,18.348898 26.7542665,18.2910992 26.1923077,17.8782609 L26.1923077,17.8782609 L9.08461538,5.27043478 C8.76974759,5.03645424 8.389914,4.91038181 8,4.91043478 L8,4.91043478 L6.68461538,4.91043478 C6.19431782,4.9104337 5.72415756,5.10885839 5.37782578,5.4619474 C5.031494,5.81503642 4.83744009,6.2937853 4.83846154,6.7926087 L4.83846154,6.7926087 L4.83846154,25.1995652 C4.83846154,26.2369001 5.66501277,27.0778261 6.68461538,27.0778261 L6.68461538,27.0778261 L8.07692308,27.0778261 C8.5668667,27.0767844 9.0370383,27.2743374 9.38348152,27.6268058 C9.72992473,27.9792741 9.92410084,28.4576226 9.92307692,28.956087 L9.92307692,28.956087 L9.92307692,30.0869565 C9.92413223,30.588151 9.72784822,31.0688985 9.37806512,31.4218238 C9.02828202,31.774749 8.55413977,31.9704502 8.06153846,31.9653197 L8.06153846,31.9653197 L1.88461538,31.9653197 C0.86501277,31.9653197 0.03844549,31.1242914 0.03844549,30.0869565 L0.03844549,30.0869565 L0.03844549,1.91304348 C0.0364158462,1.41354313 0.230017315,0.933787137 0.576460295,0.579850445 C0.922903275,0.225913753 1.39364925,0.0269521857 1.88461538,0.0269565217 L1.88461538,0.0269565217 L9.29615385,0.0269565217 Z"}})])])])},C5=[],b5=R(y5,_5,C5,!1,null,null,null,null);const x5=b5.exports,w5=O.extend({name:"Procore",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var S5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{small:!0,width:"1608px",height:"204px",viewBox:"0 0 1608 204",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{staticClass:"s0",attrs:{id:"_Compound_Path_","fill-rule":"evenodd",d:"m1407.6 1h200.4v37.6h-147.4v44.6h94.4v37.5h-94.4v44.6h147.4v37.8h-200.4zm-732.4 41.6v118.8c0.2 5.5-0.7 10.9-2.7 16-2.1 5.1-5.1 9.7-9 13.5-3.8 3.9-8.4 6.9-13.5 8.9-5.1 2-10.6 3-16 2.8h-130.5c-5.5 0.2-11-0.6-16.2-2.6-5.1-2-9.8-5-13.8-8.8-3.9-3.9-7-8.5-9.1-13.7-2-5.1-3-10.6-2.8-16.1v-118.8c-0.2-5.5 0.7-10.9 2.8-16 2-5.1 5-9.7 8.9-13.6 3.9-3.8 8.5-6.8 13.6-8.8 5.1-2 10.6-3 16-2.8h130.5c5.5-0.3 11 0.6 16.2 2.6 5.1 1.9 9.8 4.9 13.7 8.8 4 3.9 7.1 8.5 9.1 13.6 2 5.2 3 10.7 2.8 16.2zm-32.7 59.4l-37-63.5h-74.4l-36 63.5 36.7 63.4h74.5zm704.7 26.9l43 74.3h-57.2l-42.9-74.3h-61.9v74.3h-53v-202.2h168.1c5.5-0.2 11 0.7 16.2 2.7 5.1 2.1 9.8 5.1 13.6 9 3.9 3.9 7 8.6 9 13.8 1.9 5.1 2.8 10.6 2.6 16.1v45.8c0.1 5.1-0.8 10.1-2.6 14.9-1.8 4.8-4.5 9.2-7.9 12.9-3.5 3.8-7.7 6.8-12.3 9-4.6 2.2-9.6 3.4-14.7 3.7zm-14.9-77.8c0-1.7-0.4-3.3-1-4.8-0.6-1.5-1.6-2.9-2.7-4-1.2-1.2-2.6-2.1-4.1-2.7-1.5-0.7-3.1-1-4.7-1h-90.9v52.9h90.9c1.6 0 3.2-0.4 4.7-1 1.5-0.6 2.9-1.6 4.1-2.7 1.1-1.2 2.1-2.5 2.7-4 0.6-1.6 1-3.2 1-4.8zm-181.5-8.5v118.9c0.1 5.4-0.8 10.9-2.8 16-2.1 5-5.1 9.7-9 13.5-3.9 3.9-8.5 6.9-13.6 8.9-5.1 2-10.5 2.9-16 2.7h-130.4c-5.5 0.2-10.9-0.8-15.9-2.8-5.1-2-9.7-5.1-13.5-8.9-3.9-3.9-6.9-8.5-8.8-13.5-2-5.1-3-10.5-2.8-15.9v-118.9c-0.2-5.4 0.8-10.9 2.8-15.9 2-5.1 5-9.7 8.9-13.6 3.9-3.8 8.5-6.9 13.6-8.9 5-2 10.5-2.9 16-2.7h130.4c5.4-0.2 10.9 0.8 15.9 2.8 5.1 2 9.7 5.1 13.5 8.9 3.9 3.9 6.9 8.5 8.9 13.5 2 5.1 2.9 10.5 2.8 15.9zm-32.9 59.5l-36.8-63.5h-74.4l-36.2 63.5 36.9 63.4h74.4zm-229-98.5c5.2 2 10 5.1 13.9 9 4 3.9 7.1 8.6 9.1 13.8 2 5.2 2.9 10.7 2.7 16.3v32.4h-48.6l-21.1-36.4h-74.5l-36.7 63.4 36 63.4h74.4l21.2-36.4h48.5v32.4c0.2 5.5-0.7 10.9-2.7 16-2 5.1-5.1 9.7-8.9 13.5-3.9 3.9-8.5 6.9-13.6 8.9-5.1 2-10.6 3-16 2.8h-130.4c-5.5 0.2-11-0.8-16.1-2.8-5.1-2-9.7-5-13.6-8.9-3.9-3.8-6.9-8.4-8.9-13.5-2-5.1-3-10.5-2.8-16v-118.8c-0.3-5.5 0.6-11 2.6-16.1 2-5.2 5.1-9.8 9-13.7 3.8-4 8.5-7 13.6-9 5.1-2.1 10.6-3 16.2-2.8h130.4c5.5-0.3 11.1 0.5 16.3 2.5zm-486.8 125.4l43 74.3h-56.7l-43-74.3h-62.4v74.3h-52.4v-202.2h167.9c5.5-0.2 11 0.7 16.1 2.8 5.2 2 9.8 5 13.7 9 3.9 3.9 6.9 8.5 8.9 13.7 2 5.1 2.9 10.6 2.7 16.1v45.7c0.1 5.2-0.7 10.3-2.6 15-1.8 4.8-4.5 9.2-8 13-3.5 3.7-7.7 6.8-12.4 8.9-4.6 2.2-9.7 3.4-14.8 3.7zm-14.9-77.9c0-1.6-0.4-3.2-1-4.7-0.7-1.6-1.6-2.9-2.8-4.1-1.1-1.2-2.5-2.1-4-2.7-1.6-0.6-3.2-0.9-4.9-0.9h-91.5v52.8h90.7c1.6 0 3.2-0.3 4.8-0.9 1.5-0.6 2.9-1.5 4-2.7 1.2-1.2 2.2-2.5 2.8-4 0.6-1.6 1-3.2 1-4.8zm-177.8-8.5v45.8c0.2 5.4-0.7 10.8-2.7 15.9-2 5.1-5.1 9.7-8.9 13.6-3.9 3.8-8.5 6.9-13.6 8.9-5.1 2-10.5 2.9-16 2.7h-115.1v74.3h-53v-202.8h168.1c5.5-0.2 11 0.8 16.1 2.8 5.1 2 9.8 5.1 13.6 9 3.9 3.9 6.9 8.6 8.9 13.7 2 5.1 2.9 10.6 2.6 16.1zm-53 8.9c0-1.6-0.3-3.3-1-4.8-0.6-1.5-1.6-2.9-2.7-4-1.2-1.2-2.6-2.1-4.1-2.7-1.5-0.6-3.2-1-4.8-1h-90.7v52.9h90.7c1.6 0 3.3-0.3 4.8-0.9 1.5-0.6 2.9-1.6 4.1-2.7 1.1-1.2 2.1-2.6 2.7-4.1 0.7-1.5 1-3.1 1-4.8z"}}),r("path",{staticStyle:{fill:"#ff5200"},attrs:{d:"m787.8 68.7h38.7l19.3 33.3-19.3 33.3h-38.7l-19.4-33.3 19.4-33.3z"}})])},T5=[],k5=R(w5,S5,T5,!1,null,null,null,null);const $5=k5.exports,M5=O.extend({name:"ProcoreSmall",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var E5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 1491 1408",small:!0,width:"1491px",height:"1408px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"M1311.3 18.5c36.3 13.8 69.3 35.1 96.8 62.4 27.5 27.4 49 60.2 63.1 96.4 14.1 36.1 20.5 74.9 18.7 113.6v226h-338l-147.2-254H486.4L230.3 705.6l250.9 442.7h518.3l147.2-254h338v226c1.3 38-5.2 75.9-19.2 111.4-14 35.4-35.1 67.6-62 94.5-27 26.9-59.1 48-94.6 62-35.4 14-73.3 20.5-111.4 19.2H289.4c-38.1 1.3-76.1-5.2-111.5-19.2-35.5-13.9-67.8-35-94.8-61.9-27-27-48.2-59.1-62.3-94.5-14.1-35.5-20.7-73.4-19.6-111.5V290.9C-.4 252.6 6 214.3 19.9 178.5s35-68.4 62.1-95.6c27-27.3 59.4-48.6 95.1-62.8C212.8 6 251-.7 289.4.7h908.1c38.8-2.1 77.6 4 113.8 17.8"}}),r("path",{attrs:{fill:"#ff5200",d:"M607.7 473.4h269.5L1012 705.6 877.2 937.8H607.7L472.9 705.6z"}})])},L5=[],D5=R(M5,E5,L5,!1,null,null,null,null);const P5=D5.exports,z5=O.extend({name:"Aconex",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var O5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 655 101",small:!0,width:"655px",height:"101px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{fill:e.color,d:"M37.06 0h14.5C73.84 2.53 89.8 10.9 89.97 35.77q.09 12.18.01 59.51 0 .52-.5.66-12.12 3.44-24.54 5.06H30.19C15.22 98.86 1.82 92.45 0 75.69v-8q2.73-19.08 21.98-23.42c14.83-3.34 25.3-2.59 43.9-2.5q.49.01.53-.48c.95-11.25-1.99-21.4-14.77-23.07-14.54-1.9-28.92.74-42.68 5.25q-.66.21-.79-.46L5.15 6.85q-.1-.53.41-.69Q21.01 1.3 37.06 0ZM24.35 74.69c4.27 15.92 30.28 13.01 41.47 9.94q.68-.19.68-.89V55.5q0-.52-.52-.51c-9.13.02-33.04-2.87-40.14 8.54q-3.13 5.04-1.49 11.16ZM154.81 0h12.25q11.13 1.2 21.36 5.76a.83.83 0 0 1 .48.92l-3 15.83a.52.52 0 0 1-.75.36c-27.94-14.29-61.26-.09-54.36 35.65 5.27 27.29 35.25 30.97 56.27 21.02q.49-.23.6.31l3.06 15.94q.11.59-.44.82-7.43 3.11-15.34 4.39h-26.25q-15.21-2.62-26.13-11.53c-16.7-13.62-20.16-39.21-13.57-58.74C115.54 11.28 135.33 1.3 154.81 0ZM248.06 0h11.75c32.22 3.27 50.15 24.01 47.51 57.05-1.99 24.86-17.32 39.3-41.13 43.95h-25c-32.74-5.35-47.18-33.29-39.87-64.54C206.8 12.99 225.42 1.94 248.06 0Zm-13.87 77.81q9.04 7.19 19.94 6.86c24.28-.73 31.99-22.11 28.35-42.89q-2.6-14.88-14.73-21.05c-11.98-6.1-29.11-3.64-37.41 7.36-9.48 12.56-9.31 39.26 3.85 49.72ZM362.06 0h15.25c24.46 1.67 41.07 14.59 41.19 40.25q.14 30.38-.19 60.75h-23.37q.3-47.86-.06-62.79-.28-12.04-9.02-17.06c-8.64-4.96-28.52-4.3-37.92.78q-.47.26-.47.8l-.12 78.27h-23.41l.04-92.38a1.27 1.25 79.6 0 1 .8-1.18C336.61 2.83 349.45.82 362.06 0ZM478.31 0h12.5q10.95 1.05 19.44 5.01c19.43 9.09 24.7 32.45 21.32 51.95a.35.34-85 0 1-.34.29H460.5q-.84 0-.81.84c1 33.28 42.06 28.48 62.32 21.97.88-.28 1.87-1.01 2.95-1.25q.58-.13.74.45l4.34 15.68q.14.51-.36.7-10.43 3.75-21.24 5.36h-31.25c-21-3.64-36.42-13.77-41.03-35.42q-3.17-14.86-.04-30.6c4.43-22.3 20.94-32.9 42.19-34.98Zm16.13 18.09c-18.4-6.52-36.52 5.09-34.51 25.65q.05.51.56.51h46.53a.45.45 0 0 0 .45-.44c.18-9.71-2.8-22.09-13.03-25.72Z"}}),r("path",{attrs:{fill:"#e86c17",d:"M542.06 0h30.25l22.64 27.91q.3.37.3.85v18.49q0 .5-.5.5h-13.76q-.53 0-.86-.41L541.89.39q-.06-.08.01-.16.09-.09.16-.23Z"}}),r("path",{attrs:{fill:e.color,d:"M624.06 0h30.25q-.05.16.06.26.06.07 0 .14l-38.23 46.94q-.33.41-.86.41H602q-.75 0-.75-.75V28.7q0-.6.38-1.07L624.06 0ZM572.19 101h-29.75l-.08-.31q-.04-.17.07-.31l37.7-46.31q.25-.32.66-.32h13.71q.75 0 .75.75v17.97q0 .45-.28.79L572.19 101Z"}}),r("path",{attrs:{fill:"#e86c17",d:"M653.94 101h-30.25l-22.11-27.25q-.33-.42-.33-.95V54.25q0-.5.5-.5h13.72q.47 0 .76.36c3.44 4.23 38 46.23 37.71 46.89Z"}})])},B5=[],I5=R(z5,O5,B5,!1,null,null,null,null);const F5=I5.exports,R5=O.extend({name:"AconexSmall",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var A5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 580 520",small:!0,width:"580px",height:"520px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("g",{attrs:{transform:"translate(-490, -270)"}},[r("path",{attrs:{fill:"#e86c17",d:"M494.66 271h150.1a.35.35 0 0 1 .28.13l115.38 141.98a.35.35 0 0 1 .08.22v95.82a.35.35 0 0 1-.35.35h-72.24a.35.35 0 0 1-.28-.13l-193.25-237.8a.35.35 0 0 1 .28-.57Z"}}),r("path",{style:`fill: ${e.color}`,attrs:{d:"M906.72 271h150.14a.32.32 0 0 1 .25.52L863.96 509.38a.32.32 0 0 1-.25.12h-72.14a.32.32 0 0 1-.32-.32v-96.06a.32.32 0 0 1 .07-.2l115.15-141.8a.32.32 0 0 1 .25-.12ZM688.14 540.25h71.94a.42.42 0 0 1 .42.42v95.97a.42.42 0 0 1-.09.27l-117.7 144.93a.42.42 0 0 1-.33.16H492.51a.42.42 0 0 1-.32-.68l195.62-240.91a.42.42 0 0 1 .33-.16Z"}}),r("path",{attrs:{fill:"#e86c17",d:"M1059.1 781.2a.83.83 0 0 1-.83.8H909.73a1.11 1.1-19.3 0 1-.86-.41L791.56 637.23a1.38 1.38 0 0 1-.31-.87v-95.61a.5.5 0 0 1 .5-.5h71.52a1.1 1.1 0 0 1 .85.4q97.41 119.9 194.78 239.94.21.26.2.61Z"}})])])},H5=[],N5=R(R5,A5,H5,!1,null,null,null,null);const j5=N5.exports,q5=O.extend({name:"Autodesk",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var W5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 1619.27 166.13",small:!0,width:"1619.27px",height:"166.13px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"M1619.27 4.34h-47.94l-57.42 64.12V4.34h-40.25l.2 157.84h40.05V102.2l54.46 59.98h50.9l-73.39-77.93 73.39-79.91zm-210.51 64.91l-36.7-4.14c-21.51-2.37-26.83-7.7-26.83-15 0-8.09 11.05-15.39 32.55-15.39 20.72 0 31.57 7.7 33.54 19.34h39.46c-2-33.35-30-54.06-70.83-54.06-48.53 0-73 19.33-73 53.46 0 27.82 16.18 40.85 49.72 44.4l37.29 3.94c14.21 1.58 20.72 7.11 20.72 14.21 0 8.09-9.47 15.39-32.36 15.39-26.44 0-37.09-6.71-38.87-20.13h-38.67c1.78 36.31 25.45 54.85 76.16 54.85 46.36 0 72.21-20.32 72.21-50.9 0-26.64-15.39-42.62-44.39-45.97zm-248.8 92.93h127.06v-34.13h-86.81V99.44h69.84V65.11h-69.84V38.47h86.81V4.34h-127.06v157.84zm-94.7-157.84h-73.79v157.84h73.79c56.63 0 72.21-21.11 72.21-80.11 0-55.44-14.99-77.73-72.21-77.73zm-1.62 123.72h-32V38.47h32c25.26 0 32.75 6.91 32.75 43.6.04 33.54-8.44 45.99-32.75 45.99zM882.17 0c-57.42 0-87.21 35.31-87.21 82.86 0 47.75 29.79 83.26 87.21 83.26 57.61 0 87.4-35.51 87.4-83.26 0-47.55-29.79-82.86-87.4-82.86zm0 130.61c-29.79 0-46.17-18.15-46.17-47.75 0-29 16.38-47.35 46.17-47.35 30 0 46.17 18.35 46.17 47.35 0 29.6-16.18 47.75-46.17 47.75zM646.59 38.47h50.9v123.71h40.25V38.47h50.71V4.34H646.59v34.13zM588 101.8c0 20.52-12.63 28.81-34.14 28.81-20.91 0-34.52-8.68-34.52-28.81V4.34h-40.25v102c0 45.58 40.64 59.78 74.77 59.78 33.94 0 74.38-14.2 74.38-59.78v-102H588zM361.3 4.34l-60.57 157.84h41.63l10.57-29.6h67.62l10.4 29.6h43L412.64 4.34zm3.61 94.7l22.11-61.87 21.74 61.89zM1.24 162.19l141.34-87.92h73.32a4.28 4.28 0 014.28 4.29 3.72 3.72 0 01-2 3.6l-69.42 41.62c-4.51 2.7-6.09 8.12-6.09 12.18l-.07 26.23h88.22V9.75a5.41 5.41 0 00-5.64-5.42H141L0 91.87v70.32z"}})])},G5=[],U5=R(q5,W5,G5,!1,null,null,null,null);const Z5=U5.exports,X5=O.extend({name:"AutodeskSmall",components:{BaseIcon:ce},props:{color:{type:String,default:"black"}}});var Y5=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 24 24",small:!0,height:"24px",width:"24px",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{style:`fill: ${e.color}`,attrs:{d:"m15 11.5 -14 8v-7l13.5 -8H22a1 1 0 0 1 1 1v14h-9v-2.485a1 1 0 0 1 0.419 -0.814l5.946 -4.248a0.25 0.25 0 0 0 -0.145 -0.453H15Z","stroke-width":"1"}})])},V5=[],Q5=R(X5,Y5,V5,!1,null,null,null,null);const K5=Q5.exports,J5=O.extend({name:"ProcoreObservations",components:{BaseIcon:ce},props:{color:{type:String,default:"white"}}});var e3=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("BaseIcon",e._b({attrs:{viewBox:"0 0 24 24",small:!0,width:"100%",height:"100%",fill:"none",color:e.color}},"BaseIcon",e.$attrs,!1),[r("path",{attrs:{d:"M16 4C16.93 4 17.395 4 17.7765 4.10222C18.8117 4.37962 19.6204 5.18827 19.8978 6.22354C20 6.60504 20 7.07003 20 8V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V8C4 7.07003 4 6.60504 4.10222 6.22354C4.37962 5.18827 5.18827 4.37962 6.22354 4.10222C6.60504 4 7.07003 4 8 4M9 15L11 17L15.5 12.5M9.6 6H14.4C14.9601 6 15.2401 6 15.454 5.89101C15.6422 5.79513 15.7951 5.64215 15.891 5.45399C16 5.24008 16 4.96005 16 4.4V3.6C16 3.03995 16 2.75992 15.891 2.54601C15.7951 2.35785 15.6422 2.20487 15.454 2.10899C15.2401 2 14.9601 2 14.4 2H9.6C9.03995 2 8.75992 2 8.54601 2.10899C8.35785 2.20487 8.20487 2.35785 8.10899 2.54601C8 2.75992 8 3.03995 8 3.6V4.4C8 4.96005 8 5.24008 8.10899 5.45399C8.20487 5.64215 8.35785 5.79513 8.54601 5.89101C8.75992 6 9.03995 6 9.6 6Z",stroke:e.color,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])},t3=[],r3=R(J5,e3,t3,!1,null,null,null,null);const n3=r3.exports,i3={Back10:b0,Forward10:g0,Bim:d0,Brightness:k0,Blur:D0,Compare:I0,ConcretePump:N0,CompactExcavator:Bi,DroneView:U0,Dumper:Q0,Evercam:rl,EvercamLogo:ol,Excavator:Bi,FlatbedSemiTrailer:gl,FreeDrawing:bl,IModel:kl,Inspection:Dl,Loader:Il,MiniModel:Nl,MarkUp:r5,Nerves:x5,OtherTruck:Ii,RoadVehicle:Vl,Roller:t2,Robot:a2,SemiTrailer:d2,SkidSteerLoader:g2,SmallTruck:b2,TankTruck:k2,The360:D2,TippingTruck:I2,TruckHead:N2,TruckMixer:U2,Unknown:Ii,Worker:Q2,ZohoCrm:o5,Tag:h5,TagPlus:v5,Procore:$5,ProcoreSmall:P5,Aconex:F5,AconexSmall:j5,Autodesk:Z5,AutodeskSmall:K5,ProcoreObservations:n3},s3=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),Fi=Object.fromEntries(Object.entries(i3).map(([t,e])=>[s3(t),e])),a3=O.extend({name:"EIcon",components:{...Fi},props:{icon:{type:String,default:void 0},colorClass:{type:String,default:se.Default}},computed:{isSvgIcon(){return this.icon.startsWith("eui-")},svgIconName(){return this.icon.replace(/^eui-/,"")},svgIconComponent(){return Fi[this.svgIconName]},svgSizes(){return{[G.Xs]:16,[G.Sm]:18,[G.Base]:20,[G.Lg]:24,[G.Xl]:30,[G.TwoXl]:36,[G.ThreeXl]:42,[G.FourXl]:48,[G.FiveXl]:54,[G.SixXl]:60,[G.SevenXl]:66,[G.EightXl]:70,[G.NineXl]:74}},faSizes(){return Oi.reduce((t,e)=>({...t,[e]:`e-text-${e}`}),{})},iconSize(){const t=this.$attrs.size;if(this.isSvgIcon&&!t)return;if(this.isSvgIcon&&!isNaN(Number(t)))return Number(t);const e=t||G.Base;return this.isSvgIcon?this.svgSizes[e]:this.faSizes[e]},faIconStyle(){return{color:this.$attrs.color,"caret-color":this.$attrs.color}},faIconClass(){const t=this.iconSize,e=this.icon.includes(" ")?this.icon:`fa ${this.icon}`;return["e-inline-flex e-items-center e-justify-center e-rounded-full",this.colorClass,this.icon,e,t]}}});var o3=function(){var e=this,r=e._self._c;return e.isSvgIcon?r(e.svgIconComponent,e._g(e._b({tag:"component",staticClass:"e-svg-icon",attrs:{size:e.iconSize}},"component",e.$attrs,!1),e.$listeners)):r("i",e._g(e._b({staticClass:"e-icon",class:e.faIconClass,style:e.faIconStyle},"i",e.$attrs,!1),e.$listeners))},l3=[],c3=R(a3,o3,l3,!1,null,null,null,null);const Be=c3.exports,u3=O.extend({name:"ESpinner",props:{dark:{type:Boolean,default:!1},color:{type:Boolean,default:!0},animationDuration:{type:[Number,String],default:1e3},size:{type:String,default:G.Base},opacity:{type:[String,Number],default:1}},data(){return{sizes:Pi,colors:zi}},computed:{computedSize(){return this.sizes[G[this.size]]||this.size||this.sizes[G.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"]}`}}}}),U7="";var d3=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"}})])},h3=[],p3=R(u3,d3,h3,!1,null,"9a1333ac",null,null);const Gr=p3.exports,f3=O.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}}}}),Z7="";var m3=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)},g3=[],v3=R(f3,m3,g3,!1,null,null,null,null);const Ur=v3.exports,y3=O.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}}}),X7="";var _3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-col",class:e.colClasses},[e._t("default")],2)},C3=[],b3=R(y3,_3,C3,!1,null,null,null,null);const Zr=b3.exports;function Xr(){const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)}function Yr(t){if(Xr())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 Vr(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t==="x"?e:e&3|8;return r.toString(16)})}function Qr(){if(!Xr())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 x3(t,e=1e3,r=!1){let n=null;return function(...i){const s=this,a=r&&!n;n&&clearTimeout(n),n=setTimeout(function(){n=null,r||t.apply(s,i)},e),a&&t.apply(s,i)}}function w3(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 S3(t,e=0,r=0,n=t.naturalWidth,i=t.naturalHeight){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=n,s.height=i,a==null||a.drawImage(t,e,r,n,i,0,0,n,i);const c=s.toDataURL();return s.remove(),c}function T3(t){return!!(t!=null&&t.length&&!isNaN(new Date(t).getTime()))}function Ri(t,e=1){let r=0,n=0,i=0;return t.length===4?(r=parseInt(t[1]+t[1],16),n=parseInt(t[2]+t[2],16),i=parseInt(t[3]+t[3],16)):t.length===7&&(r=parseInt(t[1]+t[2],16),n=parseInt(t[3]+t[4],16),i=parseInt(t[5]+t[6],16)),`rgba(${r}, ${n}, ${i}, ${e})`}function Ai(t,e=1){const r=t.match(/\d+/g);return r&&r.length===3?`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${e})`:null}function Hi(t){return t.startsWith("rgba")}function pt(t,e=1){return Hi(t)?t:t.startsWith("#")?Ri(t,e):t.startsWith("rgb")?Ai(t,e):t}function k3(t){const e=JSON.stringify(t);return Ni(e).toString()}function Ni(t){let e=0,r,n;if(t.length===0)return e;for(r=0;r<t.length;r++)n=t.charCodeAt(r),e=(e<<5)-e+n,e|=0;return e}function Kr(t,e,r){const n=M.scaleLinear().domain([0,r-1]).range([0,1]);return Array.from({length:r},(i,s)=>M.interpolate(t,e)(n(s)))}const ji={continuous:{monday:["00:00-23:59"],tuesday:["00:00-23:59"],wednesday:["00:00-23:59"],thursday:["00:00-23:59"],friday:["00:00-23:59"],saturday:["00:00-23:59"],sunday:["00:00-23:59"]},custom:{monday:["00:00-23:59"],tuesday:["00:00-23:59"],wednesday:["00:00-23:59"],thursday:["00:00-23:59"],friday:["00:00-23:59"],saturday:["00:00-23:59"],sunday:["00:00-23:59"]},workingHours:{monday:["08:00-18:00"],tuesday:["08:00-18:00"],wednesday:["08:00-18:00"],thursday:["08:00-18:00"],friday:["08:00-18:00"],saturday:[],sunday:[]},empty:{monday:[],tuesday:[],wednesday:[],thursday:[],friday:[],saturday:[],sunday:[]}},qi=24*60-1,Wi=t=>{const[e,r]=t.split(":");return parseInt(e)*60+parseInt(r)},Jr=t=>{const e=Math.floor(t/60).toString().padStart(2,"0"),r=(t%60).toString().padStart(2,"0");return`${e}:${r}`};function en(t){return["monday","tuesday","wednesday","thursday","friday","saturday","sunday"].reduce((r,n)=>{const i=t[n];return{...r,[n]:i.length?i[0].split("-").map(s=>Wi(s)):[0,qi]}},{})}function $3(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e,r.map(n=>{const[i,s]=n.split("-");let[a,c]=s.split(":");return a=parseInt(a),a=Math.max(0,a-1),`${i}-${a.toString().padStart(2,"0")}:${c}`})]))}const M3=O.extend({name:"EZoomable",props:{ignorePointerEvents:{type:Boolean,default:!1},withZoomButtons:{type:Boolean,default:!1},withOverlay:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},data(){return{scale:1,minScale:1,maxScale:20,top:0,left:0,isPanning:!1,panStart:{x:0,y:0},isPinching:!1,previousPinchDistance:0,pinchDistance:0,pointers:{},transform:"matrix(1, 0, 0, 1, 0, 0)"}},computed:{contentStyle(){return{transform:this.transform}},isZoomed(){return this.scale>1}},watch:{contentStyle:{handler(t){this.$emit("on-frame-props-change",{imgStyle:t})},immediate:!0,deep:!0}},methods:{zoom(t){const e=this.$refs.container;if(this.disabled)return;const r=e.getBoundingClientRect(),n={x:r.width/2,y:r.height/2},i=this.scale;t<0?this.scale*=1.2:this.scale*=.8,this.updateZoomScale(),this.left=(this.left-n.x)*(this.scale/i)+n.x,this.top=(this.top-n.y)*(this.scale/i)+n.y;const s=0-r.width*(this.scale-1),a=0-r.height*(this.scale-1);this.left=Math.min(0,Math.max(s,this.left)),this.top=Math.min(0,Math.max(a,this.top)),this.updateTransform()},updateZoomScale(){this.scale>this.maxScale?this.scale=this.maxScale:this.scale<this.minScale&&(this.scale=this.minScale)},handleZoom(t){const e=this.$refs.container,r=this.$refs.content;if(t.preventDefault(),this.disabled)return;const n=e.getBoundingClientRect(),i=r.getBoundingClientRect();if(!n||!i)return;const s=t.clientX,a=t.clientY,c=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),o=this.scale;this.scale+=c/10,this.updateZoomScale();const l=((s-i.left)/i.width).toFixed(2),d=((a-i.top)/i.height).toFixed(2);this.left=Math.round(s-n.left-Number(l)*(i.width*this.scale/o)),this.top=Math.round(a-n.top-Number(d)*(i.height*this.scale/o));const h=0,m=0-n.width*(this.scale-1),C=0-n.height*(this.scale-1),b=0;this.left<m?this.left=m:this.left>h&&(this.left=h),this.top<C?this.top=C:this.top>b&&(this.top=b),this.updateTransform()},handleMouseDown(t){!this.isZoomed||this.disabled||(this.isPanning=!0,this.panStart={x:t.clientX,y:t.clientY})},handleMouseUp(){this.disabled||(this.isPanning=!1)},handleMouseLeave(){this.disabled||(this.isPanning=!1)},handleMouseMove(t){if(!this.isPanning||!this.isZoomed||this.disabled)return;const e=t.clientX-this.panStart.x,r=t.clientY-this.panStart.y;this.left+=e,this.top+=r,this.applyBoundsCorrection(),this.panStart={x:t.clientX,y:t.clientY},this.updateTransform()},applyBoundsCorrection(){const t=this.$refs.container,e=this.$refs.content,r=t.getBoundingClientRect(),n=e.getBoundingClientRect();if(!r||!n)return;const[i,s,a,c]=[r.top-n.top,n.right-r.right,n.bottom-r.bottom,r.left-n.left].map(o=>o<0?o:0);this.left+=c-s,this.top+=i-a},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)}}}),Y7="";var E3=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(),r("div",{staticClass:"zoom-slider e-absolute e-bottom-12 e-left-0"},[e.withZoomButtons?r("EZoomSlider",{attrs:{vertical:""},on:{"zoom-in":function(n){return e.zoom(-1)},"zoom-out":function(n){return e.zoom(1)}},model:{value:e.scale,callback:function(n){e.scale=n},expression:"scale"}}):e._e()],1)])])},L3=[],D3=R(M3,E3,L3,!1,null,"11da8a2c",null,null);const tn=D3.exports,rn=new Intl.NumberFormat(void 0,{minimumIntegerDigits:2}),Gi=["play","pause","ended","loadeddata","waiting","playing","timeupdate","canplay","canplaythrough","statechanged","error"],nn=t=>{const e=Math.floor(t%60),r=Math.floor(t/60)%60,n=Math.floor(t/3600);return n===0?`${r}:${rn.format(e)}`:`${n}:${rn.format(r)}:${rn.format(e)}`},P3=O.extend({name:"EVideoPlayer",components:{ESpinner:Gr,EZoomable:tn},props:{withZoomButtons:{type:Boolean,default:!1},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},isEdgeVideo:{type:Boolean,default:!1},edgeStreamingToken:{type:String,default:""},authToken:{type:String,default:""},pauseOnClick:{type:Boolean,default:!0},isHlsLoading:{type:Boolean,default:!1},isPlaying:{type:Boolean,default:!1},showLoadingAnimation:{type:Boolean,default:!1},isZoomable:{type:Boolean,default:!1},zoomableIgnorePointerEvents:{type:Boolean,default:!1},timezone:{type:String,default:"UTC"},playPauseAnimation:{type:Boolean,default:!0},disablePlayPauseAnimation:{type:Boolean,default:!1},isWebRtc:{type:Boolean,default:!1},withColoredLoader:{type:Boolean,default:!1},loaderSize:{type:String,default:"SevenXl"},withOverlayOnBackground:{type:Boolean,default:!1},fallbackSrc:{type:String,default:""},hlsOptions:{type:Object,default:()=>({})}},data(){return{playing:!1,percentagePlayed:0,videoLength:"0:00",duration:0,videoDuration:0,currentTime:"0:00",realtime:0,isScrubbing:!1,wasPaused:!1,isFullscreen:!1,isFinished:!1,isLoading:!0,isError:!1,player:new ot,playbackRetries:0,preloadedSeconds:0,preloadedInterval:{}}},computed:{posterUrl(){const t=this.videoOptions;return(t==null?void 0:t.poster)||(t==null?void 0:t.backgroundUrl)},sourceItems(){return Array.isArray(this.sources)?this.sources:[{src:this.sources}]},withControls(){const t=this.videoOptions;return(t==null?void 0:t.controls)===!1?"hide":""},streamingToken(){return this.isEdgeVideo?this.edgeStreamingToken:this.authToken}},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 s,a;if(!this.isHls)return;const e=this.$refs.player,r=(s=this.preloadedInterval)==null?void 0:s.start,n=(a=this.preloadedInterval)==null?void 0:a.end;if(!(r&&n))return;const i=Se(t).isBetween(Se(r),Se(n),void 0,"[]");e.currentTime=0,i||this.initHls()}}},mounted(){this.isHls&&this.initHls(),this.bindEvents(),this.initializePlayer(),this.initializeFullscreenListeners()},beforeDestroy(){this.unbindEvents(),this.destroyPlayer(),this.removeFullscreenListeners()},methods:{initHls(t="",e=!1){var i,s,a,c,o;const r=this.$refs.player,n=this.sources[0];(i=this.player)!=null&&i.stopLoad&&this.player.stopLoad(),ot.isSupported()&&(this.isLoading=!0,this.player=new ot({startPosition:0,debug:e,xhrSetup:l=>{this.streamingToken&&l.setRequestHeader("Authorization",`Bearer ${this.streamingToken}`)},...this.hlsOptions}),this.player.enableDebug=()=>{this.player.destroy(),this.initHls(t,!0)},r._hls=this.player,(s=this.player)==null||s.loadSource(t||n.src),(a=this.player)==null||a.attachMedia(r),(c=this.player)==null||c.on(ot.Events.MANIFEST_PARSED,(l,d)=>{var C;const h=(C=d.levels[d.firstLevel])==null?void 0:C.details,m=h==null?void 0:h.startTimeOffset;r.currentTime=m||0,this.playing&&r.play()}),(o=this.player)==null||o.on(ot.Events.ERROR,this.handleHlsError))},onContainerClick(){this.pauseOnClick&&this.togglePlay()},handle404Error(){this.isWebRtc||(this.isError=!0,this.isLoading=!1,this.playing=!1)},handleHlsError(t,e){var l;if(!e.fatal)return;this.$emit("error",e);const r=e.type===ot.ErrorTypes.NETWORK_ERROR,n=e.type===ot.ErrorTypes.MEDIA_ERROR,i=r&&((l=e.networkDetails)==null?void 0:l.status)===404,s=this.$refs.player,a=()=>this.fallbackSrc&&(s==null?void 0:s.currentSrc)!==this.fallbackSrc,c=()=>this.initHls(this.fallbackSrc),o=()=>{if(a()){c();return}this.player.destroy(),this.videoListeners.error?this.videoListeners.error():this.handle404Error()};if(i){o();return}if(r){console.error("A network error occurred:",e),a()?c():this.player.startLoad();return}n&&(console.error("A media error occurred:",e),a()?c():this.player.recoverMediaError()),o()},bindEvents(){const t=this.$refs.player;Gi.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;Gi.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=nn(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&&(Qr().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=this.$refs.videoContainer;t&&(Yr(t).then(()=>{this.isFullscreen=!0}),this.isFullscreen=!0)},toggleFullscreenMode(){this.isFullscreen?this.closeFullscreenMode():this.openFullscreenMode()},getDuration(){const t=this.$refs.player;this.videoLength=nn(t.duration),this.videoDuration=t.duration},handleTimeUpdate(){const t=this.$refs.player,e=this.$refs.timelineContainer;if(!t||!e)return;this.currentTime=nn(t.currentTime),this.realtime=t.currentTime;const r=Number(this.realtime)/Number(this.videoDuration);e.style.setProperty("--progress-position",r.toString())},handleTimelineUpdate(t){const e=this.$refs.player;if(!document.body.contains(e))return;const r=this.$refs.timelineContainer,n=r.getBoundingClientRect(),i=Math.min(Math.max(0,t.x-n.x),n.width)/n.width;r.style.setProperty("--preview-position",i.toString()),this.isScrubbing&&(t.preventDefault(),r.style.setProperty("--progress-position",i.toString()))},skip(t=5){const e=this.$refs.player;e.currentTime+=t},async toggleScrubbing(t){const e=this.$refs.timelineContainer,r=this.$refs.videoContainer,n=this.$refs.player;if(!n)return;const i=e.getBoundingClientRect(),s=Math.min(Math.max(0,t.x-i.x),i.width)/i.width;if(this.isScrubbing=(t.buttons&1)===1,r.classList.toggle("scrubbing",this.isScrubbing),this.isScrubbing){this.wasPaused=n.paused,await n.pause(),this.handleTimelineUpdate(t);return}if(this.realtime=s*this.videoDuration,n.currentTime=s*this.videoDuration,this.wasPaused)return;const a=n.play();a!==void 0&&a.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}}}}),V7="";var z3=function(){var e=this,r=e._self._c;return r("div",{ref:"videoContainer",staticClass:"e-video-player video-container paused"},[r("EZoomable",{ref:"zoomable",attrs:{"ignore-pointer-events":e.zoomableIgnorePointerEvents,disabled:!e.isZoomable,"with-overlay":e.withOverlayOnBackground,"with-zoom-buttons":e.withZoomButtons},on:{"on-frame-props-change":function(n){return e.$emit("on-frame-props-change",n)}},scopedSlots:e._u([{key:"overlay",fn:function(){return[e._t("player-container-overlay")]},proxy:!0}],null,!0)},[e._t("background",function(){return[r("div",{staticClass:"e-relative e-overflow-hidden",style:{height:e.$attrs.height,width:e.$attrs.width}},[e.posterUrl?r("img",{staticClass:"e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster",style:{height:e.$attrs.height,width:e.$attrs.width},attrs:{src:e.posterUrl,alt:"background-image"},on:{error:function(n){return e.$emit("error",n)}}}):e._e()])]}),r("video",e._g(e._b({ref:"player",class:{"e-w-full e-h-full e-z-[5] e-min-h-[400px]":!0,"e-absolute e-inset-0":e.isZoomable,"e-relative":!e.isZoomable},attrs:{controls:!1,preload:"auto"},on:{ended:e.handleEnded,click:e.onContainerClick,loadedmetadata:e.getDuration,seeking:function(n){e.isLoading=!0},seeked:function(n){e.isLoading=!1},timeupdate:e.handleTimeUpdate,loadeddata:e.handleLoading}},"video",e.videoOptions,!1),e.videoListeners),[e.isWebRtc?e._e():e._l(e.sourceItems,function(n){return r("source",e._g({key:n.src,attrs:{src:n.src,type:n.type},on:{error:e.handle404Error}},e.videoListeners))})],2)],2),e.isLoading||e.showLoadingAnimation?r("div",{staticClass:"spinner-container"},[r("ESpinner",{attrs:{color:e.withColoredLoader,size:e.loaderSize,opacity:"0.6",dark:!0}})],1):e._e(),e._t("default"),e.isError?r("div",{staticClass:"spinner-container e-gap-3"},[e._t("error",function(){return[r("i",{staticClass:"fa-solid fa-video-slash fa-2xl e-align-middle"}),r("span",[e._v("This video file cannot be played.")])]})],2):e._e(),e._t("controls",function(){return[r("div",{class:["video-controls-container",e.withControls]},[r("div",{staticClass:"controls"},[r("button",{ref:"playPauseBtn",staticClass:"play-pause-btn fa-lg fa-solid fas",class:{"fa-play":!e.playing,"fa-pause":e.playing},attrs:{title:e.playing?"pause":"play"},on:{click:e.togglePlay}}),r("div",{staticClass:"duration-container"},[r("div",{ref:"currentTimeElem",staticClass:"current-time"},[e._v(" "+e._s(e.currentTime)+" ")]),e._v(" / "),r("div",{ref:"totalTimeElem",staticClass:"total-time"},[e._v(e._s(e.videoLength))])]),r("div",{ref:"timelineContainer",staticClass:"timeline-container",on:{mousemove:e.handleTimelineUpdate,mousedown:e.toggleScrubbing}},[e._m(0)]),r("button",{ref:"fullScreenBtn",staticClass:"full-screen-btn fa-solid",class:{"fa-expand":!e.isFullscreen,"fa-compress":e.isFullscreen},on:{click:e.toggleFullscreenMode}})])])]},{play:e.play,pause:e.pause,isPlaying:e.playing,playerInstance:e.player,toggleFullscreen:e.toggleFullscreenMode,currentTime:e.currentTime,videoLength:e.videoLength,isFullscreen:e.isFullscreen})],2)},O3=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline"},[e("div",{staticClass:"thumb-indicator"})])}],B3=R(P3,z3,O3,!1,null,"dc19e0e8",null,null);const Ui=B3.exports,Ue={bind(t,e){const{value:r}=e;if(typeof r!="function"){console.error("Invalid callback function provided to v-resize-observer");return}const n=new ResizeObserver(i=>{i[0]&&r(i[0])});n.observe(t),t.__resizeObserver__=n},unbind(t){t.__resizeObserver__&&(t.__resizeObserver__.disconnect(),delete t.__resizeObserver__)}},I3=(t,e)=>t===e||t.contains(e),F3=(t,e)=>r=>{I3(t,r.target)||e(r)},Zi=["mousedown","touchstart","click"],sn={bind(t,e){const r=t,n=e.value;if(typeof n!="function"){console.warn("v-click-outside requires a function value");return}r.clickOutsideHandler={events:Zi,handler:F3(r,n),callback:n},queueMicrotask(()=>{Zi.forEach(i=>{document.addEventListener(i,r.clickOutsideHandler.handler)})})},unbind(t){const e=t;e.clickOutsideHandler&&(e.clickOutsideHandler.events.forEach(r=>{document.removeEventListener(r,e.clickOutsideHandler.handler)}),delete e.clickOutsideHandler)}},Xi=[{name:"resize-observer",definition:Ue},{name:"click-outside",definition:sn}],et={transparencyGradient:"transparency-gradient",transparencyGradientLight:"transparency-gradient-light",transparencyGradientHover:"transparency-gradient-hover",loadingGradient:"loading-gradient",stripedPattern:"stripedPattern",clipPath:"clip-path"},me={xAxis:"e-x-axis",xAxisDark:"e-x-axis--dark",xAxisOverview:"e-x-axis-overview",xAxisDetailed:"e-x-axis-detailed",xAxisBackground:"e-x-axis-background",eventGroup:"event-group",eventGroupBg:"event-group-bg",eventGroupContent:"event-group-content",eventRect:"event-rect",eventRectContainer:"event-rect-container",eventBarContainer:"event-bar-container",eventBarContainerHovered:"event-bar-container--hovered",eventBarContainerSelected:"event-bar-container--selected",eventBar:"event-bar",eventBarHoverZone:"event-bar-hover-zone",eventRectText:"event-rect-text",eventRectHovered:"event-rect--hovered",eventRectSelected:"event-rect--selected",labelGroup:"label-g",labelBg:"label-bg",labelBgFill:"label-bg-fill",labelText:"label-text",loadingIndicator:"loading-indicator",_legacyLabelGroup:"legacy-label-g",_legacyLabelBg:"legacy-label-bg",_legacyLabelBgFill:"legacy-label-bg-fill",_legacyLabelText:"legacy-label-text",_legacyLoadingIndicator:"legacy-loading-indicator",selectedTimestampCursor:"selected-timestamp-cursor",marker:"marker",markerLabel:"marker-label",markerLine:"marker-line",markerDragged:"marker--dragged",milestone:"e-tl-milestone",milestoneBullet:"e-tl-milestone--bullet",milestoneDot:"e-tl-milestone--dot",milestoneContent:"e-tl-milestone-content",milestoneLine:"e-tl-milestone-line",milestonesContainer:"e-tl-milestones",milestoneHovered:"e-tl-milestone--hovered",milestoneSelected:"e-tl-milestone--selected",milestoneLabel:"e-tl-milestone-label",milestoneDotContainer:"e-tl-milestone-dot-container",milestoneDotLine:"e-tl-milestone-dot-line",milestoneDotDot:"e-tl-milestone-dot-dot",milestoneDotHovered:"e-tl-milestone-dot--hovered",barChartGroup:"bar-chart-group",lineGraphGroup:"line-graph-group",lineGraphGroupLabel:"line-graph-group-label",areaGraphPath:"area-graph-path",lineGraphPath:"line-graph-path",lineGraphHoverZone:"line-graph-hover-zone",lineGraphDot:"line-graph-dot",forbiddenInterval:"forbidden-interval"};function Ke({timestamp:t,timezone:e}){const r=Yi(t,e);return Se(t).add(r,"minutes").toDate()}function Rt({date:t,timezone:e}){const r=new Date(t).getTimezoneOffset(),n=Yi(t,e);return Se(t).add(r,"minutes").utcOffset(n,!0).format()}function Yi(t,e){return e?Se.tz(t,e).utcOffset():R3(t)}function R3(t){return Se.parseZone(t).utcOffset()}const A3=O.extend({name:"ETimelineMilestone",directives:{resizeObserver:Ue},props:{timeScale:{type:Function,required:!0},milestone:{type:Object,required:!0},y:{type:Number,required:!0},height:{type:Number,default:18},size:{type:Number,default:18},borderColor:{type:String,default:"#eee"},backgroundColor:{type:String,default:"#aaa"},borderWidth:{type:Number,default:2},transitionDuration:{type:Number,default:500},dot:{type:Boolean,default:!1},dotSize:{type:Number,default:8},lineWidth:{type:Number,default:2},lineHeight:{type:Number,default:28},timezone:{type:[String,void 0],default:void 0}},data(){return{classNames:me,timeouts:[],isInitialRender:!0,isMouseOver:!1,containerWidth:"",containerHeight:""}},computed:{transitionStyles(){return this.isInitialRender?{}:{transition:`transform ${this.transitionDuration}ms, width ${this.transitionDuration}ms, height ${this.transitionDuration}ms, padding ${this.transitionDuration}ms, border-radius ${this.transitionDuration}ms`}},sizeStyles(){return this.dot?{}:{width:`${this.isMouseOver?this.containerWidth:this.size}px`,height:`${this.isMouseOver?this.containerHeight:this.size}px`}},positionStyles(){return{left:`${this.timeScale(this.tzStringToDate(this.milestone.timestamp))}px`,top:`${this.linePosition}px`,transform:this.dot&&this.isMouseOver?`translateY(calc(-100% - ${this.lineHeight}px))`:""}},styles(){return{...this.sizeStyles,...this.positionStyles,backgroundColor:this.backgroundColor,borderColor:this.borderColor,borderWidth:`${this.borderWidth}px`,borderStyle:"solid",...this.transitionStyles}},linePosition(){const t=this.height/2;return this.y+t-1},contentStyles(){return this.transitionStyles},computedTransitionDuration(){return this.isInitialRender?0:this.transitionDuration},labelStyles(){return{transition:`opacity ${this.computedTransitionDuration}ms`}},dotContainerStyles(){return{top:this.isMouseOver?`calc(100% - ${this.borderWidth}px)`:`calc(50% + ${this.dotSize/2}px)`,height:`calc(${this.lineHeight}px + ${this.dotSize}px)`,left:`calc(50% - ${this.lineWidth}px / 2)`,transition:`${this.computedTransitionDuration}ms`}},lineStyles(){return{bottom:`${this.dotSize/2}px`,left:`calc(50% - ${this.lineWidth}px / 2)`,width:`${this.lineWidth}px`,height:this.isMouseOver?`${this.lineHeight}px`:"0",backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}},dotStyles(){return{top:`${this.lineHeight}px`,left:`calc(50% - ${this.dotSize}px / 2)`,width:`${this.dotSize}px`,height:`${this.dotSize}px`,backgroundColor:this.borderColor,transition:`${this.computedTransitionDuration}ms`}}},mounted(){this.$nextTick(()=>{this.dot||(this.onMilestoneMouseOver(),this.onMilestoneMouseLeave()),this.isInitialRender=!1})},methods:{onMilestoneMouseOver(t){if(this.isMouseOver=!0,this.$emit("hovered-milestone",this.milestone),this.dot)return;const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;const r=e.children[0];if(!r)return;const n=r.children[0];if(!n)return;const i=n.getBoundingClientRect(),s=e.dataset.timeoutId;s&&(clearTimeout(Number(s)),e.dataset.timeoutId=""),e.dataset.initialWidth||(e.dataset.initialWidth=e.style.width),e.dataset.initialHeight||(e.dataset.initialHeight=e.style.height),this.containerWidth||(this.containerWidth=e.dataset.initialContentWidth=String(i.width)),this.containerHeight||(this.containerHeight=e.dataset.initialContentHeight=String(i.height)),e.dataset.transitionStart=String(Date.now()),e.style.borderRadius="0.5em",e.classList.add(me.milestoneHovered),r.style.opacity="1",r.style.width=this.containerWidth+"px",r.style.height=this.containerHeight+"px"},onMilestoneMouseMove(){this.timeouts.forEach(t=>clearTimeout(t)),this.isMouseOver=!0},onMilestoneMouseLeave(t){if(this.$emit("hovered-milestone",null),this.dot){this.timeouts.push(setTimeout(()=>{this.isMouseOver=!1},this.transitionDuration+100));return}const e=(t==null?void 0:t.target)||this.$refs.container;if(!e)return;e.style.width=e.dataset.initialWidth||"",e.style.height=e.dataset.initialHeight||"",e.style.borderRadius="10em";const r=e.children[0];if(!r)return;r.style.width="0",r.style.height="0",r.style.opacity="0";const n=Date.now()-Number(e.dataset.transitionStart),i=n>this.transitionDuration?this.transitionDuration:n,s=setTimeout(()=>{e.classList.remove(me.milestoneHovered),e.dataset.timeoutId=""},i);e.dataset.timeoutId=String(s),this.timeouts.push(s),this.isMouseOver=!1},onMilestoneClick(t,e){this.$emit("milestone-click",e)},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}}),Q7="";var H3=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)])},N3=[],j3=R(A3,H3,N3,!1,null,null,null,null);const q3=j3.exports,W3=O.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`}}}}),K7="";var G3=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)})])},U3=[],Z3=R(W3,G3,U3,!1,null,"614947ed",null,null);const X3=Z3.exports,Y3=O.extend({name:"ETimelineMarkers",components:{ETimelineMarker:X3},props:{markers:{type:Array,default:()=>[]},timeScale:{type:Function,required:!0},timeZone:{type:[String,void 0],default:void 0},height:{type:Number,required:!0},svgLeft:{type:Number,default:void 0},stickyMarkers:{type:Boolean,default:!1}},data(){return{markersPositions:{},markersDragBehavior:null,initialMarkerDragMouseOffset:0}},watch:{timeScale:{handler(){this.updateMarkers()},deep:!0},markers(){this.updateMarkers()}},methods:{initMarkersDragBehavior(){this.removeMarkersDragBehavior();const t=this;this.markersDragBehavior=M.drag().on("start",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("drag",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}).on("end",function(e,r){t.handleMarkerDrag({marker:r,markerElement:M.select(this),dragEvent:e})}),M.selectAll(`.${me.marker}`).data(this.markers).call(this.markersDragBehavior)},removeMarkersDragBehavior(){this.markersDragBehavior&&(this.markersDragBehavior.on("start",null).on("drag",null).on("end",null),M.selectAll(`.${me.marker}`).call(this.markersDragBehavior))},handleMarkerDrag({marker:t,markerElement:e,dragEvent:r}){var c;if(!t.isDraggable)return;(c=r.sourceEvent)==null||c.preventDefault(),r.type==="start"&&(this.initialMarkerDragMouseOffset=r.x-e.node().querySelector(`.${me.markerLine}`).getBoundingClientRect().left,e.classed(me.markerDragged,!0));const n=r.x-this.initialMarkerDragMouseOffset,i=this.timeScale.invert(n-this.svgLeft);let s=this.timeScale(i);const a=this.isTimestampAllowedForMarker(i,t);if(r.type==="drag"&&a&&e.attr("style",`left: ${s}px`),r.type==="end"){const o=t.id||t.timestamp;s=a?s:this.timeScale(this.tzStringToDate(t.timestamp)),this.markersPositions={...this.markersPositions,[o]:{...this.markersPositions[o],position:s}},e.classed(me.markerDragged,!1)}r.type!=="start"&&this.$emit(`marker-drag-${r.type}`,{marker:t,newTimestamp:a?this.dateToTzString(i):t.timestamp})},updateMarkers(){if(!this.markers.length)return;const t=12,e=200;this.markers.forEach((r,n,i)=>{const s=typeof r.timestamp=="string"?this.tzStringToDate(r.timestamp):r.timestamp,a=this.timeScale(s);let c=!1;const o=this.stickyMarkers?Math.max(a,n*t):a;if(n<i.length-1){const l=i[n+1],d=typeof l.timestamp=="string"?this.tzStringToDate(l.timestamp):l.timestamp,h=this.timeScale(d);c=(this.stickyMarkers?Math.max(h,(n+1)*t):a)-o<e+t}this.markersPositions={...this.markersPositions,[r.id]:{isHidden:c,position:o}}}),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 Ke({timestamp:t,timezone:this.timeZone})},dateToTzString(t){return Rt({date:t,timezone:this.timeZone})}}});var V3=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-tl-markers"},e._l(e.markers,function(n){var i,s;return r("ETimelineMarker",{key:n.id,attrs:{marker:n,height:e.height,position:(i=e.markersPositions[n.id])==null?void 0:i.position,hidden:(s=e.markersPositions[n.id])==null?void 0:s.isHidden,"data-id":n.id},on:{"marker-clicked":function(a){return e.$emit("marker-clicked",a)}},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)},Q3=[],K3=R(Y3,V3,Q3,!1,null,null,null,null);const J3=K3.exports,ec=O.extend({name:"EZoomBehavior",props:{width:{type:[Number,void 0],default:void 0},domain:{type:Array,required:!0},focusedDomain:{type:[Array,void 0],default:void 0},timezone:{type:String,default:"UTC"},disabled:{type:Boolean,default:!1},scalingDuration:{type:Number,default:400},translationDuration:{type:Number,default:400},focusedTimestamp:{type:[String,Date,Number],default:""}},data(){return{timeScale:null,initialTimeScale:null,zoomBehavior:null,selection:null,isTransitioning:!1,container:null,transformDiff:{translation:0,scale:1},lastTransform:{x:0,y:0,k:1},isLeftBoundaryReached:!1,isRightBoundaryReached:!1,isZooming:!1,resetBoundariesTimeout:0}},computed:{minDate(){const[t]=this.domain;return this.toD3Date(t)},maxDate(){const[,t]=this.domain;return this.toD3Date(t)},focusedStartDate(){const[t]=this.focusedDomain||this.domain;return this.toD3Date(t)},focusedEndDate(){const[,t]=this.focusedDomain||this.domain;return this.toD3Date(t)}},watch:{timeScale(){this.emitFocusedDomainChange(_t.Zoom),this.emitTimeScaleChange()},focusedDomain(t){t&&this.zoomToFocusedDomain(t)},focusedTimestamp(t){t&&this.panToTimestamp(t)},width:{handler(t,e){!t||t===e||(this.timeScale=M.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,t]))}}},mounted(){this.initRefs(),this.initTimeScale(),this.initZoomBehavior(),this.emitTimeScaleChange(),this.emitFocusedDomainChange(_t.Initial)},methods:{initRefs(){this.container=this.$refs.container},initTimeScale(){this.timeScale=M.scaleTime().domain([this.focusedStartDate,this.focusedEndDate]).range([0,this.getWidth()]),this.initialTimeScale=this.timeScale.copy()},calculateZoomExtents(){const t=[this.focusedStartDate,this.focusedEndDate],e=this.getWidth(),r=this.maxDate.getTime()-this.minDate.getTime(),s=[(this.focusedEndDate.getTime()-this.focusedStartDate.getTime())/r,1/0],a=this.initialTimeScale.copy();a.domain(t);const c=a(this.minDate),o=-(e-a(this.maxDate));return{scaleExtent:s,translateExtent:[[c||-1/0,0],[o||1/0,0]]}},initZoomBehavior(){const{scaleExtent:t,translateExtent:e}=this.calculateZoomExtents();this.zoomBehavior=M.zoom().scaleExtent(t).translateExtent(e).on("zoom",r=>{if(!(this.isZooming||this.disabled)){this.isZooming=!0;try{this.handleZoom(r)}catch(n){console.error(n)}finally{this.isZooming=!1}}}),this.selection=M.select(this.container),this.selection.call(this.zoomBehavior)},handleZoom(t){const e=t.transform.rescaleX(this.initialTimeScale.copy()),[r,n]=e.domain(),i=r<=this.minDate,s=n>=this.maxDate;if(i||s){const c=M.zoomIdentity.translate(this.lastTransform.x,this.lastTransform.y).scale(this.lastTransform.k);this.selection.call(this.zoomBehavior.transform,c),this.updateBoundaries(i,s);return}const a=t.transform.k/this.lastTransform.k;this.transformDiff={scale:a,translation:t.transform.x-this.lastTransform.x},this.lastTransform={...t.transform},this.timeScale=t.transform.rescaleX(this.timeScale).domain([r,n])},toD3Date(t){return Ke({timestamp:t,timezone:this.timezone})},toDateString(t){return Rt({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,r]=t,n=this.toD3Date(e!=null?e:this.focusedStartDate),i=this.toD3Date(r!=null?r:this.focusedEndDate);if(!this.timeScale)return;const[s,a]=this.timeScale.domain();if(n.getTime()===s.getTime()&&i.getTime()===a.getTime())return;const c=this.initialTimeScale.domain().map(C=>C.getTime()),o=c[1]-c[0],l=i.getTime()-n.getTime();let d=o/l;const h=this.zoomBehavior.scaleExtent();d=Math.min(Math.max(d,h[0]),h[1]);const m=this.initialTimeScale.copy().domain([n,i]);this.selection.transition().duration(this.scalingDuration/2).call(this.zoomBehavior.scaleTo,d).on("end",()=>this.translateIntervalIntoView(n,i,d)),this.timeScale=m},translateIntervalIntoView(t,e,r){const n=this.timeScale(t),i=this.timeScale(e),s=(n+i)/2,c=this.getWidth()/2-s,o=M.zoomTransform(this.selection.node());this.selection.transition().on("start",()=>{this.isTransitioning=!0,this.$emit("animation-start")}).on("end",()=>{this.isTransitioning=!1,this.$emit("animation-end")}).duration(this.translationDuration/2).call(this.zoomBehavior.transform,M.zoomIdentity.translate(o.x+c,o.y).scale(r))},emitTimeScaleChange(){this.$emit("time-scale-change",this.timeScale)},emitFocusedDomainChange(t){if(!this.selection.node()||this.isTransitioning||!this.timeScale)return;const[r,n]=this.timeScale.domain(),i=this.toDateString(r),s=this.toDateString(n);this.$emit("visible-interval-change",{fromDate:i,toDate:s,trigger:t,transform:this.transformDiff})},panToTimestamp(t){const e=new Date(t),r=this.timeScale(e),n=M.zoomTransform(this.selection.node()),i=n.x-r+this.getWidth()/2;this.selection.transition().duration(this.translationDuration).call(this.zoomBehavior.transform,M.zoomIdentity.translate(i,0).scale(n.k)).on("end",()=>{this.emitFocusedDomainChange(_t.Zoom)})},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}}}),J7="";var tc=function(){var e=this,r=e._self._c;return r("div",{ref:"container",staticClass:"e-zoom-behavior",class:{"e-pointer-events-none":e.disabled}},[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)},rc=[],nc=R(ec,tc,rc,!1,null,null,null,null);const ic=nc.exports,sc=O.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:me}},computed:{classes(){return{[me.xAxis]:!0,[me.xAxisDark]:this.dark}},axis(){return M.axisBottom(this.timeScale).ticks(this.currentTicksConfig.interval).tickFormat(this.currentTicksConfig.formatFn).tickSizeOuter(0).tickSizeInner(this.height)},density(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},currentTicksConfig(){const{interval:t,format:e}=this.ticksConfigs.find(n=>n.precision>=this.density&&n.interval);return{formatFn:n=>typeof e=="function"?e(n):M.utcFormat(e)(n),interval:t}}},watch:{timeScale:{handler(){this.update()},deep:!0},currentTicksConfig:{handler(){this.update()},deep:!0},height(){this.updateTicksSize()}},mounted(){this.update()},methods:{update(){const t=this.$refs.container;M.select(t).call(this.axis),this.translateTicksText()},translateTicksText(){const t=this.$refs.container;M.select(t).selectAll(".tick text").each(function(){M.select(this).attr("x",5).attr("y",0).style("text-anchor","start")})},updateTicksSize(){this.axis.tickSizeOuter(0).tickSizeInner(this.height),this.update()}}}),eh="";var ac=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})`}})},oc=[],lc=R(sc,ac,oc,!1,null,null,null,null);const an=lc.exports,At=t=>{const e=M.utcFormat("%_d")(t),r=cc(parseInt(e));return`${e}${r}`},Vi=t=>new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)).getUTCDate()===1?"":M.utcFormat("%-d")(t),xt=t=>["0"," 0","00"].includes(M.utcFormat("%H")(t))?"":`${M.utcFormat("%H")(t)}h`,at=t=>{const e=M.utcFormat("%H:%M")(t);return e==="00:00"?"":e},on=t=>M.utcFormat("%M:%S")(t),Qi=t=>`${M.utcFormat("%Hh%Mm")(t)}`,ln=t=>{const e=at(t),r=At(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`},cn=t=>{const e=at(t),r=Number.parseInt(M.utcFormat("%H")(t)),n=At(t),i=M.utcFormat("%B")(t);return e&&r%6===0?`${i} ${n} ${e}`:ln(t)},cc=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"}},wt=t=>e=>{const r=M.utcFormat("%H")(e);return!(M.utcFormat("%M")(e)==="00"&&Number.parseInt(r)%t===0)},un=t=>e=>{const r=M.utcFormat("%M")(e);return Number.parseInt(r)%t!==0},Ki=t=>e=>{const r=M.utcFormat("%M")(e),n=M.utcFormat("%S")(e);return Number.parseInt(r)%t!==0&&Number.parseInt(n)===0},J={_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},dn={[nt.Overview]:[{precision:J._30_seconds,interval:M.utcMinute.every(2),format:Qi},{precision:J._1_minute,interval:M.utcMinute.every(5),format:Qi},{precision:J._2_minutes,interval:M.utcMinute.every(10),format:ln},{precision:J._5_minutes,interval:M.utcMinute.every(20),format:cn},{precision:J._15_minutes,interval:M.utcHour,format:cn},{precision:J._30_minutes,interval:M.utcHour.every(2),format:cn},{precision:J._2_hours,interval:M.utcHour.every(6),format:t=>{const e=at(t),r=At(t),n=M.utcFormat("%B")(t);return e||`${n} ${r}`}},{precision:J._3_hours,interval:M.utcHour.every(12),format:ln},{precision:J._6_hours,interval:M.utcHour.every(24),format:t=>{const e=At(t),r=M.utcFormat("%b")(t),n=M.utcFormat("%Y")(t);return`${r} ${e} ${n}`}},{precision:J._2_days,interval:M.utcMonth,format:"%Y – %B"},{precision:J._2_year,interval:M.utcMonth.every(3),format:"%Y Q%q"},{precision:J._5_years,interval:M.utcYear.every(5),format:"%Y"},{precision:J._20_years,interval:M.utcYear.every(20),format:"%Y"},{precision:J._75_years,interval:M.utcYear.every(75),format:"%Y"},{precision:J._300_years,interval:M.utcYear.every(300),format:"%Y"},{precision:J.infinity,interval:M.utcMonth.every(12),format:"%Y"}],[nt.Detailed]:[{precision:J._10_seconds,interval:M.utcSecond.every(10),format:on},{precision:J._20_seconds,interval:(Ss=M.utcSecond.every(20))==null?void 0:Ss.filter(Ki(2)),format:on},{precision:J._30_seconds,interval:(Ts=M.utcSecond.every(30))==null?void 0:Ts.filter(Ki(2)),format:on},{precision:J._1_minute,interval:M.utcMinute.filter(un(5)),format:at},{precision:J._2_minutes,interval:(ks=M.utcMinute.every(2))==null?void 0:ks.filter(un(10)),format:at},{precision:J._5_minutes,interval:($s=M.utcMinute.every(5))==null?void 0:$s.filter(un(20)),format:at},{precision:J._15_minutes,interval:(Ms=M.utcMinute.every(15))==null?void 0:Ms.filter(wt(1)),format:at},{precision:J._30_minutes,interval:(Es=M.utcMinute.every(30))==null?void 0:Es.filter(wt(2)),format:at},{precision:J._1_hour,interval:M.utcHour.filter(wt(6)),format:xt},{precision:J._2_hours,interval:(Ls=M.utcHour.every(2))==null?void 0:Ls.filter(wt(6)),format:xt},{precision:J._3_hours,interval:(Ds=M.utcHour.every(3))==null?void 0:Ds.filter(wt(12)),format:xt},{precision:J._4_hours,interval:M.utcHour.every(4),format:xt},{precision:J._6_hours,interval:M.utcHour.every(6),format:xt},{precision:J._1_day,interval:M.utcDay,format:Vi},{precision:J._2_days,interval:M.utcDay.every(2),format:Vi},{precision:J._1_month,interval:M.utcMonth,format:"%B"},{precision:J._1_month_abbr,interval:M.utcMonth,format:"%b"},{precision:J._1_month_letter,interval:M.utcMonth,format:t=>M.utcFormat("%B")(t).charAt(0)},{precision:J._3_months,interval:M.utcMonth.every(3),format:"Q%q"},{precision:J._2_year,interval:M.utcMonth.every(6),format:"Q%q"},{precision:J._5_years,interval:M.utcYear.every(2),format:"%Y"},{precision:J._20_years,interval:M.utcYear.every(4),format:"%Y"},{precision:J._75_years,interval:M.utcYear.every(25),format:"%Y"},{precision:J._300_years,interval:M.utcYear.every(100),format:"%Y"},{precision:J.infinity,interval:M.utcYear.every(500),format:""}],[nt.DetailedBackground]:[{precision:J._10_seconds,interval:M.utcSecond,format:""},{precision:J._20_seconds,interval:M.utcSecond.every(5),format:""},{precision:J._30_seconds,interval:M.utcSecond.every(10),format:""},{precision:J._1_minute,interval:M.utcSecond.every(20),format:""},{precision:J._2_minutes,interval:M.utcSecond.every(30),format:""},{precision:J._5_minutes,interval:M.utcMinute,format:""},{precision:J._15_minutes,interval:M.utcMinute.every(3),format:""},{precision:J._30_minutes,interval:M.utcMinute.every(6),format:""},{precision:J._1_hour,interval:M.utcMinute.every(15),format:""},{precision:J._2_hours,interval:M.utcMinute.every(30),format:""},{precision:J._3_hours,interval:M.utcHour,format:""},{precision:J._4_hours,interval:M.utcHour,format:""},{precision:J._6_hours,interval:M.utcMinute.every(120),format:""},{precision:J._1_day,interval:M.utcHour.every(8),format:""},{precision:J._2_days,interval:M.utcHour.every(12),format:""},{precision:J._1_month,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/5);return e===n||e===2*n||e===3*n||e===4*n}),format:""},{precision:J._1_month_abbr,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/4);return e===n||e===2*n||e===3*n}),format:""},{precision:J._1_month_letter,interval:M.utcDay.filter(t=>{const e=t.getUTCDate(),r=new Date(t.getUTCFullYear(),t.getUTCMonth()+1,0).getUTCDate(),n=Math.ceil(r/2);return e===n}),format:""},{precision:J._3_months,interval:M.utcMonth,format:""},{precision:J._3_months,interval:M.utcMonth,format:""},{precision:J._2_year,interval:M.utcYear,format:""},{precision:J._5_years,interval:M.utcYear.every(2),format:""},{precision:J._20_years,interval:M.utcYear.every(5),format:""},{precision:J._75_years,interval:M.utcYear.every(20),format:""},{precision:J._300_years,interval:M.utcYear.every(100),format:""},{precision:J.infinity,interval:M.utcYear.every(500),format:""}]},uc=O.extend({name:"EXAxisOverview",components:{EXAxis:an},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:me,ticksConfigs:dn[nt.Overview]}}}),th="";var dc=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}})},hc=[],pc=R(uc,dc,hc,!1,null,null,null,null);const fc=pc.exports,mc=O.extend({name:"EXAxisDetailed",components:{EXAxis:an},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:me,ticksConfigs:dn[nt.Detailed]}}}),rh="";var gc=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}})},vc=[],yc=R(mc,gc,vc,!1,null,null,null,null);const _c=yc.exports,Cc=O.extend({name:"EXAxisBackground",components:{EXAxis:an},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:me,ticksConfigs:dn[nt.DetailedBackground]}}}),nh="";var bc=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}})},xc=[],wc=R(Cc,bc,xc,!1,null,null,null,null);const Sc=wc.exports,Tc=O.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:et,TimelineChartType:qe,transparencyGradients:[{id:"transparency-gradient-light",stop:100,opacity:.4},{id:"transparency-gradient",stop:130,opacity:.4},{id:"transparency-gradient-hover",stop:130,opacity:.6}]}}});var kc=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("defs",{ref:"mainContainer",staticClass:"e-timeline"},[e._l(e.eventsGroups,function(n,i){return[r("linearGradient",{key:`${e.defs.loadingGradient}-${i}`,attrs:{id:`${e.defs.loadingGradient}-${i}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":"0"}}),r("stop",{attrs:{offset:"50%","stop-color":n.color,"stop-opacity":"0.6"}}),r("stop",{attrs:{offset:"100%","stop-color":n.color,"stop-opacity":"0"}})],1),n.chartType===e.TimelineChartType.LineGraph?[e._l(e.transparencyGradients,function({id:s,stop:a,opacity:c}){return r("linearGradient",{key:`${s}-${i}-${n.chartType}`,attrs:{id:`${s}-${i}-${n.chartType}`,x1:"0%",x2:"0%",y1:"0%",y2:"100%"}},[r("stop",{attrs:{offset:"0%","stop-color":n.color,"stop-opacity":c}}),r("stop",{attrs:{offset:`${a}%`,"stop-color":n.color,"stop-opacity":"0"}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${i}`,attrs:{id:`${e.defs.clipPath}-${i}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e(),n.chartType===e.TimelineChartType.BarChart?[e._l(e.transparencyGradients,function({id:s,opacity:a}){return r("linearGradient",{key:`${s}-${i}-${n.chartType}`,attrs:{id:`${s}-${i}-${n.chartType}`,width:"100%",height:"100%"}},[r("stop",{attrs:{"stop-color":n.color,"stop-opacity":a}})],1)}),r("clipPath",{key:`${e.defs.clipPath}-${i}`,attrs:{id:`${e.defs.clipPath}-${i}`}},[r("rect",{attrs:{width:e.width,height:e.height}})])]:e._e()]}),r("pattern",{attrs:{id:e.defs.stripedPattern,width:"5",height:"3",patternUnits:"userSpaceOnUse",patternTransform:"rotate(45)"}},[r("rect",{attrs:{width:"2",height:"7",fill:e.forbiddenIntervalColor}})])],2)},$c=[],Mc=R(Tc,kc,$c,!1,null,null,null,null);const Ec=Mc.exports,Lc=O.extend({name:"ETimelineForbiddenInterval",props:{timeScale:{type:Function,required:!0},interval:{type:Object,required:!0},index:{type:Number,required:!0},height:{type:Number,required:!0},timezone:{type:String,default:"UTC"}},data(){return{classNames:me,defs:et}},computed:{visibleDomain(){return this.timeScale.domain()},startX(){const t=this.interval.startDate===-1/0?this.visibleDomain[0]:this.tzStringToDate(this.interval.startDate);return this.timeScale(t)},endX(){const t=this.interval.endDate===1/0?this.visibleDomain[1]:this.tzStringToDate(this.interval.endDate);return this.timeScale(t)},width(){return Math.max(this.endX-this.startX,0)}},methods:{tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}});var Dc=function(){var e=this,r=e._self._c;return r("rect",{class:`${e.classNames.forbiddenInterval} ${e.classNames.forbiddenInterval}-${e.index}`,attrs:{x:e.startX,y:"0",width:e.width,height:e.height,fill:`url(#${e.defs.stripedPattern})`}})},Pc=[],zc=R(Lc,Dc,Pc,!1,null,null,null,null);const Oc=zc.exports,Bc=O.extend({name:"ECursor",props:{timeScale:{type:Function,required:!0},timestamp:{type:String,required:!0},timezone:{type:String,required:!0},height:{type:Number,required:!0},color:{type:String,default:"red"},width:{type:Number,default:1},opacity:{type:Number,default:1}},data(){return{classNames:me}},watch:{timestamp(){this.repositionCursor()},timeScale(){this.repositionCursor()},height(){this.repositionCursor()}},methods:{repositionCursor(){const t=this.$refs.cursor,e=M.select(t);if(!e)return;if(!this.timestamp){e.style("opacity",0);return}const r=this.tzStringToDate(this.timestamp),n=this.timeScale(r);isNaN(n)?e.style("opacity",0):e.attr("x1",n).attr("x2",n).style("opacity",this.opacity),e.attr("y2",this.height)},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}});var Ic=function(){var e=this,r=e._self._c;return r("line",{ref:"cursor",class:e.classNames.selectedTimestampCursor,attrs:{x1:"0",y1:"0",x2:"0",opacity:"0",stroke:e.color,"stroke-width":`${e.width}px`}})},Fc=[],Rc=R(Bc,Ic,Fc,!1,null,null,null,null);const Ji=Rc.exports,Ac=O.extend({name:"ETimelineCursor",components:{ECursor:Ji},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var Hc=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,color:"green",height:e.height}})},Nc=[],jc=R(Ac,Hc,Nc,!1,null,null,null,null);const qc=jc.exports,Wc=O.extend({name:"ETimelineSelectedTimestampCursor",components:{ECursor:Ji},props:{timeScale:{type:Function,required:!0},selectedTimestamp:{type:String,required:!0},timezone:{type:String,default:"UTC"},height:{type:Number,required:!0}}});var Gc=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ECursor",{attrs:{"time-scale":e.timeScale,timestamp:e.selectedTimestamp,timezone:e.timezone,height:e.height,width:2}})},Uc=[],Zc=R(Wc,Gc,Uc,!1,null,null,null,null);const Xc=Zc.exports,Yc=O.extend({name:"ECursorBehavior",props:{timeScale:{type:Function,required:!0},timezone:{type:String,default:"UTC"},minHoverZone:{type:Number,default:0},isHoveringMilestone:{type:Boolean,default:!1}},data(){return{cursor:null,hoveredTimestamp:null,isHoveringTimeline:!1}},mounted(){this.registerEventsListeners()},methods:{registerEventsListeners(){const t=this.$refs.cursor;this.cursor=M.select(t),this.cursor.on("mousemove",this.handleMouseMove),this.cursor.on("click",this.handleClick),this.cursor.on("mouseleave",this.handleMouseLeave)},handleMouseLeave(){this.isHoveringTimeline=!1,this.hoveredTimestamp=void 0,this.$emit("mouse-leave")},handleMouseMove(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone){this.isHoveringTimeline=!1;return}const r=this.timeScale.invert(e);this.hoveredTimestamp=this.dateToTzString(r),this.isHoveringTimeline=!0,this.$emit("mouse-move",e,this.hoveredTimestamp)},handleClick(t){if(this.isHoveringMilestone)return;const e=t.offsetX;if(e<=this.minHoverZone)return;const r=this.timeScale.invert(e),n=this.dateToTzString(r);this.$emit("timestamp-clicked",n,t.target)},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})},dateToTzString(t){return Rt({date:t,timezone:this.timezone})}}});var Vc=function(){var e=this,r=e._self._c;return r("div",{ref:"cursor",staticClass:"e-timeline__cursor e-relative"},[e._t("default",null,{hoveredTimestamp:e.hoveredTimestamp,isHoveringTimeline:e.isHoveringTimeline})],2)},Qc=[],Kc=R(Yc,Vc,Qc,!1,null,null,null,null);const Jc=Kc.exports,e6=O.extend({name:"ETimelineGroupContainer",props:{groupId:{type:String,required:!0},label:{type:String,default:""},color:{type:String,default:""},backgroundColor:{type:String,default:""},preserveColors:{type:Boolean,default:!1},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},labelRadius:{type:[Number,void 0],default:3},xPadding:{type:Number,default:5},loading:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},showBackground:{type:Boolean,default:!0}},data(){return{classNames:me,characterWidth:6.5,isHighlighted:!1}},computed:{computedClasses(){return{label:{[`${me.labelGroup} ${me.labelGroup}-${this.groupId}`]:!0},container:{[`${me.eventGroup} ${me.eventGroup}-${this.groupId}`]:!0,[`${me.eventGroup}--highlighted`]:this.isHighlighted}}},computedLabelWidth(){var e;return(this.labelWidth||((e=this.label)==null?void 0:e.length)*this.characterWidth)+this.xPadding*2},textY(){return this.y+this.height/2},contentX(){return this.showLabel?this.x+this.computedLabelWidth:this.x},labelBackgroundColor(){let t=M.color(this.color);return this.preserveColors||(t.opacity=this.dark?.2:.5),t.toString()},textFillColor(){var t,e;return(this.dark?(t=M.color(this.color))==null?void 0:t.brighter(1.5):(e=M.color(this.color))==null?void 0:e.darker(2)).toString()},loadingIndicatorFill(){return`url(#${et.loadingGradient}-${this.groupId})`}}}),ih="";var t6=function(){var e=this,r=e._self._c;return r("g",{class:e.computedClasses.container},[!e.hidden&&e.showBackground?r("rect",{class:e.classNames.eventGroupBg,attrs:{x:e.x,y:e.y,width:e.width,height:e.height,fill:e.backgroundColor||e.color}}):e._e(),r("g",{class:e.classNames.eventGroupContent,attrs:{cursor:"pointer"}},[e._t("default",null,{y:e.y,x:e.contentX}),e.loading?r("rect",{class:e.classNames.loadingIndicator,attrs:{x:e.x,y:e.y,width:400,height:e.height,fill:e.loadingIndicatorFill}}):e._e()],2),e.showLabel?r("g",{class:e.computedClasses.label,on:{mouseover:function(n){e.isHighlighted=!0},mouseleave:function(n){e.isHighlighted=!1},click:function(n){return n.stopPropagation(),e.$emit("group-label-clicked",e.groupId)}}},[r("rect",{class:e.classNames.labelBg,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.dark?"black":"white"}}),r("rect",{class:e.classNames.labelBgFill,attrs:{x:e.x,y:e.y,width:e.computedLabelWidth,height:e.height,rx:e.labelRadius,ry:e.labelRadius,fill:e.labelBackgroundColor,stroke:e.textFillColor}}),r("text",{staticClass:"label-text",attrs:{x:e.x+e.xPadding,y:e.textY,dy:"0.35rem",fill:e.textFillColor}},[e._v(" "+e._s(e.label)+" ")])]):e._e()])},r6=[],n6=R(e6,t6,r6,!1,null,null,null,null);const hn=n6.exports,i6=O.extend({name:"ETimelineRectsChartGroupedDots",props:{event:{type:Object,required:!0},rectStroke:{type:String,required:!0},rectStrokeWidth:{type:Number,required:!0},rectRx:{type:Number,required:!0},rectRy:{type:Number,required:!0},groupId:{type:String,required:!0}},data(){return{classNames:me}},computed:{numberOfBackgroundDots(){return this.event.groupedEvents?Math.min(3,this.event.groupedEvents.length-1):0}},methods:{getBackgroundX(t){return this.event.x-this.event.width/2-(this.numberOfBackgroundDots-(t-1))*4.5},getBackgroundY(t){return this.event.y+(this.numberOfBackgroundDots-(t-1))/2},getBackgroundSize(t){return this.event.width-(this.numberOfBackgroundDots-(t-1))},getBackgroundOpacity(t){return 1-(this.numberOfBackgroundDots-(t-1))/5}}});var s6=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("g",{class:e.classNames.eventRectContainer},[e._l(e.numberOfBackgroundDots,function(n){return r("rect",{key:`bg-${e.numberOfBackgroundDots-n}`,class:[e.classNames.eventRect,`${e.classNames.eventRect}--dot`,`bg-${n}`],attrs:{x:e.getBackgroundX(n),y:e.getBackgroundY(n),width:e.getBackgroundSize(n),height:e.getBackgroundSize(n),fill:e.event.color,stroke:e.rectStroke,opacity:e.getBackgroundOpacity(n),"stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy}})}),r("rect",{class:[e.classNames.eventRect,`${e.classNames.eventRect}--dot`],attrs:{x:e.event.x-e.event.width/2,y:e.event.y-e.event.width*.025,width:e.event.width*1.05,height:e.event.height*1.05,fill:e.event.color,stroke:e.rectStroke,cursor:"pointer","stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy}})],2)},a6=[],o6=R(i6,s6,a6,!1,null,null,null,null);const l6=o6.exports,c6=O.extend({name:"ETimelineRectsChart",directives:{},components:{ETimelineGroupContainer:hn,ETimelineRectsChartGroupedDots:l6},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},rectMinWidth:{type:Number,default:1},rectYPadding:{type:Number,default:0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},dots:{type:Boolean,default:!1},dotsSize:{type:Number,default:3},barBorderRadius:{type:Number,default:1.5},groupOverlappingDots:{type:Boolean,default:!1},groupingThreshold:{type:Number,default:0}},data(){return{classNames:me,characterWidth:7.5,textPadding:5}},computed:{rectStrokeWidth(){return this.dots&&this.dotsSize?this.dotsSize/10:5},rectRx(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius||0},rectRy(){return this.dots&&this.dotsSize?this.dotsSize:this.eventsGroup.barBorderRadius||0},computedHeight(){return this.eventsGroup.height||this.height},yPosition(){const t=this.dots?(this.computedHeight-this.dotsSize+this.rectYPadding)/2:this.rectYPadding/2;return this.y+t},rectStroke(){if(!this.dots)return"#0000";const t=M.color(this.eventsGroup.color);return(t==null?void 0:t.brighter(1).toString())||"#0000"},rectHeight(){return this.dots?this.dotsSize:Math.max(this.height,1)},preprocessedEvents(){return[...this.eventsGroup.events].sort((e,r)=>{const n=new Date(e.startDate||e.timestamp).getTime(),i=new Date(r.startDate||r.timestamp).getTime();return n-i}).map(this.convertEventTzStringToDate)},computedEvents(){return(this.dots&&this.groupOverlappingDots?this.groupedEvents:this.preprocessedEvents.map(e=>[e])).map(e=>{let r={textContent:this.getEventText(e[0],this.textPadding,this.characterWidth),textX:this.getEventRectX(e[0],this.timeScale)+this.textPadding,textY:this.yPosition+this.rectHeight/2,textColor:e[0].textColor||this.getFillColor(e[0].color||this.eventsGroup.color,.75,this.dark)};if(!this.dots)return{...e[0],x:this.getEventRectX(e[0],this.timeScale),y:this.yPosition,width:this.getEventRectWidth(e[0],this.timeScale,this.rectMinWidth),height:this.rectHeight,color:e[0].color||this.eventsGroup.color,groupedEvents:e,...r};const n=this.getEventRectX(e[0],this.timeScale),i=this.getEventRectX(e[e.length-1],this.timeScale),s=n+(i-n)/2,a=e.length>1,c=s;return a?r={...r,textContent:`${e.length}`,textX:s-this.dotsSize/2-`${e.length}`.length*2,textY:this.yPosition-this.dotsSize/2}:r={...r,textX:r.textX-this.textPadding},{...e[0],x:c,y:this.yPosition,width:this.dotsSize,height:this.rectHeight,color:e[0].color||this.eventsGroup.color,groupedEvents:e,...r}})},timeScaleDensity(){const t=this.timeScale.invert(0).getTime(),e=this.timeScale.invert(1).getTime(),r=36e5,n=(e-t)/r;return isNaN(n)?1:n},groupedEvents(){const t=this.preprocessedEvents,e=[];let r=[];return t.forEach((n,i)=>{if(i===0){r.push(n);return}const s=t[i-1],a=this.getEventRectX(n,this.timeScale),c=this.getEventRectX(s,this.timeScale),o=this.getEventRectWidth(s,this.timeScale,this.rectMinWidth);c+o+this.groupingThreshold>=a?r.push(n):(r.length>0&&e.push([...r]),r=[n])}),r.length>0&&e.push(r),e}},methods:{onMouseOver(t,e,r){t.target.classList.add(me.eventRectHovered);const i=this.convertEventDateToTzString(e);this.$emit("event-mouseover",t,i,r)},onMouseLeave(t){const e=t.target;e.classList.remove(me.eventRectHovered),Array.from(e.children).forEach(r=>{r.classList.remove(me.eventRectHovered)}),this.$emit("event-mouseout")},onGroupedEventsMouseOver(t,e,r){t.target.classList.add(me.eventRectHovered);const i=e.map(this.convertEventDateToTzString);this.$emit("grouped-events-mouseover",t,i,r)},getEventText(t,e,r){if(!t.text)return"";const n=`${t.text}`;if(n.length===1)return n;const s=(this.getEventRectWidth(t,this.timeScale,this.rectMinWidth)-e)/r;return s<Math.min(n==null?void 0:n.length,4)?"":(n==null?void 0:n.length)<=s?n:`${n.slice(0,s-3)}...`},getEventRectWidth(t,e,r){if(!t)return 0;if(this.dots)return this.dotsSize;if(t.startDate&&t.endDate){const n=new Date(t.startDate),i=new Date(t.endDate),s=e(i)-e(n);return Math.max(s,r)}else{const n=1/(this.timeScaleDensity*3600);return Math.max(n,r)}},getEventRectX(t,e){const r=e(t.startDate||t.timestamp);return isNaN(r)?0:r},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})},dateToTzString(t){return Rt({date:t,timezone:this.timezone})},convertEventTzStringToDate(t){return this.patchTimestampField(t,this.tzStringToDate)},convertEventDateToTzString(t){return this.patchTimestampField(t,this.dateToTzString)},patchTimestampField(t,e){let r={...t};return r.timestamp&&(r.timestamp=e(r.timestamp)),r.startDate&&(r.startDate=e(r.startDate)),r.endDate&&(r.endDate=e(r.endDate)),r},getFillColor(t,e=0,r=!1){var n,i;return(r?(n=M.color(t))==null?void 0:n.brighter(1.5+e):(i=M.color(t))==null?void 0:i.darker(2+e)).toString()}}}),sh="";var u6=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,"preserve-colors":e.eventsGroup.preserveColors,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.computedHeight+e.rectYPadding,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[e.dots?r("line",{class:e.classNames.milestoneLine,attrs:{x1:0,x2:e.width,y1:e.yPosition+e.dotsSize/2,y2:e.yPosition+e.dotsSize/2,stroke:e.eventsGroup.color,"stroke-width":1}}):e._e(),e._l(e.computedEvents,function(n,i){return r("g",{key:i,class:e.classNames.eventRectContainer},[!n.groupedEvents||!e.dots||n.groupedEvents.length===1?[r("rect",{class:[e.classNames.eventRect,e.dots?`${e.classNames.eventRect}--dot`:""],attrs:{x:n.x-(e.dots?n.width/2:0),y:n.y,"data-timestamp":n.timestamp,width:n.width,height:n.height,fill:n.color,stroke:e.rectStroke,cursor:"pointer","stroke-width":e.rectStrokeWidth,ry:e.rectRx,rx:e.rectRy},on:{mouseover:function(s){return e.onMouseOver(s,n,e.groupId)},mouseleave:e.onMouseLeave}})]:e.dots&&n.groupedEvents.length>1?r("ETimelineRectsChartGroupedDots",{key:i,attrs:{event:n,"rect-stroke":e.rectStroke,"rect-stroke-width":e.rectStrokeWidth,"rect-rx":e.rectRx,"rect-ry":e.rectRy,"group-id":e.groupId},nativeOn:{mouseover:function(s){return e.onGroupedEventsMouseOver(s,n.groupedEvents,e.groupId)},mouseleave:function(s){return e.onMouseLeave.apply(null,arguments)}}}):e._e(),n.textContent?r("text",{class:e.classNames.eventRectText,attrs:{fill:n.textColor,x:n.textX,y:n.textY,dy:"0.35em","text-anchor":e.dots?"middle":"start","font-size":"12","font-weight":600,"stroke-linejoin":"round","paint-order":"stroke","pointer-events":"none"}},[e._v(" "+e._s(n.textContent)+" ")]):e._e()],2)})],2)},d6=[],h6=R(c6,u6,d6,!1,null,null,null,null);const p6=h6.exports,f6=O.extend({name:"ETimelineLinesChart",directives:{},components:{ETimelineGroupContainer:hn},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},maxVisibleCount:{type:Number,required:!0},labelWidth:{type:[Number,void 0],default:void 0},labelHeight:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},hoveredTimestamp:{type:String,default:""},yOffset:{type:Number,default:20}},data(){return{classNames:me,defs:et,characterWidth:7.5}},computed:{lineGradient(){return`${et.transparencyGradientLight}-${this.groupId}-${qe.LineGraph}`},lineDots(){const[t,e]=this.timeScale.domain();return this.eventsGroup.events.filter((n,i)=>{var o,l;const s=i===0?1:i,a=new Date((o=this.eventsGroup.events[s+1])==null?void 0:o.timestamp),c=new Date((l=this.eventsGroup.events[s-1])==null?void 0:l.timestamp);return a>=t&&a<=e||c>=t&&c<=e})},hoverZones(){return this.lineDots.map(t=>{const e=this.timeScale(this.tzStringToDate(t.timestamp)),r=this.yScale(t.count),n=this.timeScale.invert(e-2),i=this.timeScale.invert(e+2);return{x:e,y:r,height:this.height-22,color:t.color||this.eventsGroup.color,timestamp:t.timestamp,count:t.count,isHovering:this.tzStringToDate(this.hoveredTimestamp)>=n&&this.tzStringToDate(this.hoveredTimestamp)<i}})},yScale(){let t=M.scaleLinear().range([this.height,0]);return t=t.domain([0,this.maxVisibleCount||1]),t}},watch:{hoverZones:{handler(){this.updateLine()},deep:!0,immediate:!0}},mounted(){this.updateLine()},methods:{updateLine(){const t=M.area().x(r=>r.x).y0(this.height).y1(r=>r.y).curve(M.curveMonotoneX),e=M.line().x(r=>r.x).y(r=>r.y).curve(M.curveMonotoneX);M.select(`.${me.areaGraphPath}-${this.groupId}`).datum(this.hoverZones).attr("d",r=>t(r)),M.select(`.${me.lineGraphPath}-${this.groupId}`).datum(this.hoverZones).attr("d",r=>e(r))},getEventRectX(t,e){const r=e(this.tzStringToDate(t.startDate||t.timestamp));return isNaN(r)?0:r},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})}}}),ah="";var m6=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.labelHeight,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden,"show-background":!1},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[r("g",{class:`${e.classNames.lineGraphGroup} ${e.classNames.lineGraphGroup}-${e.groupId}`,style:{transform:`translate(0, ${e.yOffset}px) `}},[r("path",{class:`${e.classNames.areaGraphPath}-${e.groupId}`,attrs:{fill:`url(#${e.lineGradient})`,stroke:"none","stroke-linecap":"round","stroke-linejoin":"round"}}),r("path",{class:`${e.classNames.lineGraphPath}-${e.groupId}`,attrs:{fill:"none",stroke:e.eventsGroup.color,"stroke-width":1.5}}),e._l(e.hoverZones,function(n,i){return r("g",{key:i},[r("circle",{ref:`${e.classNames.lineGraphDot}-${e.groupId}-${i}`,refInFor:!0,class:[e.classNames.lineGraphDot,`${e.classNames.lineGraphDot}-${e.groupId}`,`${e.classNames.lineGraphDot}-${e.groupId}-${i}`,{[`${e.classNames.lineGraphDot}--active`]:n.isHovering}],attrs:{cx:n.x,cy:n.y,r:"1.5",fill:n.color,"stroke-width":0}}),r("rect",{class:`${e.classNames.lineGraphHoverZone} ${e.classNames.lineGraphHoverZone}-${e.groupId}`,attrs:{x:n.x-2,y:0,width:4,height:e.height,fill:"transparent"},on:{mouseover:function(s){return e.$emit("event-mouseover",s,n,e.groupId)},mouseleave:function(s){return e.$emit("event-mouseout")}}})])})],2)])},g6=[],v6=R(f6,m6,g6,!1,null,null,null,null);const y6=v6.exports,_6=O.extend({name:"ETimelineBarsChart",components:{ETimelineGroupContainer:hn},props:{timeScale:{type:Function,required:!0},eventsGroup:{type:Object,required:!0},groupId:{type:String,required:!0},x:{type:Number,default:0},y:{type:Number,required:!0},height:{type:Number,default:18},width:{type:Number,required:!0},dark:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},labelHeight:{type:[Number,void 0],default:void 0},timezone:{type:[String,void 0],default:void 0},hoveredTimestamp:{type:String,default:""},yOffset:{type:Number,default:20},rectMinWidth:{type:Number,default:1},currentTimeScaleDensity:{type:Number,default:null},maxVisibleCount:{type:Number,default:1},previousCountsByTimestamp:{type:Object,default:null}},data(){return{classNames:me,defs:et,characterWidth:7.5}},computed:{bars(){const[t,e]=this.timeScale.domain();return this.eventsGroup.events.filter(r=>{const n=new Date(r.startDate);return new Date(r.endDate)>=t&&n<=e})},hoverZones(){return this.bars.map(t=>{const e=this.getEventRectWidth(t),r=this.yScale.range()[0]-this.yScale(t.count),n=this.getEventRectX(t,this.timeScale),i=this.previousCountsByTimestamp[t.startDate]||0,s=this.yScale(i+t.count);return{x:n,y:s,height:r,width:e,color:t.color||this.eventsGroup.color,startDate:t.startDate,endDate:t.endDate,count:t.count,className:t.className,isHovering:this.hoveredTimestamp>=t.startDate&&this.hoveredTimestamp<t.endDate}})},yScale(){let t=M.scaleLinear().range([this.height,0]);return t=t.domain([0,this.maxVisibleCount||1]),t}},methods:{getBarOpacity(t){let e;return this.hoveredTimestamp||(e=et.transparencyGradient),e=t.isHovering?et.transparencyGradientHover:et.transparencyGradientLight,`${e}-${this.groupId}-${qe.BarChart}`},getEventRectX(t,e){return isNaN(e(this.tzStringToDate(t.startDate||t.timestamp)))?0:e(this.tzStringToDate(t.startDate||t.timestamp))},tzStringToDate(t){return Ke({timestamp:t,timezone:this.timezone})},onEventClick(){this.$emit("event-clicked")},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)}}}}),oh="";var C6=function(){var e=this,r=e._self._c;return r("ETimelineGroupContainer",{attrs:{"group-id":e.groupId,color:e.eventsGroup.color,label:e.eventsGroup.label,"background-color":e.eventsGroup.bgColor,loading:e.eventsGroup.isLoading,x:e.x,y:e.y,dark:e.dark,width:e.width,height:e.labelHeight,"show-label":e.showLabel,"label-width":e.labelWidth,hidden:e.eventsGroup.isHidden,"show-background":!1},on:{"group-label-clicked":function(n){return e.$emit("group-label-clicked",e.groupId)}}},[r("g",{class:`${e.classNames.barChartGroup} ${e.classNames.barChartGroup}-${e.groupId}`,style:{transform:`translate(0, ${e.yOffset}px) `}},e._l(e.hoverZones,function(n,i){return r("g",{key:i,class:`${e.classNames.eventBarContainer} ${e.classNames.eventBarContainer}-${e.groupId}`,on:{mouseleave:function(s){return e.$emit("event-mouseout")},mouseover:function(s){return e.$emit("event-mouseover",s,n,e.groupId)},click:function(s){return e.onEventClick()}}},[r("rect",{class:[n.className?n.className:"",e.classNames.eventBarHoverZone],attrs:{x:n.x,y:-e.yOffset,width:n.width,height:e.yScale.range()[0]+e.yOffset,fill:n.color,"fill-opacity":0}}),r("rect",{class:[n.className?n.className:"",e.classNames.eventBar],attrs:{x:n.x,y:n.y,width:n.width,height:n.height,"stroke-width":5,cursor:"pointer",stroke:"#0000",fill:`url(#${e.getBarOpacity(n)})`}})])}),0)])},b6=[],x6=R(_6,C6,b6,!1,null,null,null,null);const w6=x6.exports,S6=O.extend({name:"ETimeline",directives:{resizeObserver:Ue},components:{ETimelineSVGDefs:Ec,EXAxisBackground:Sc,EXAxisDetailed:_c,EXAxisOverview:fc,ETimelineMilestone:q3,ETimelineMarkers:J3,ETimelineCursor:qc,ETimelineSelectedTimestampCursor:Xc,EZoomBehavior:ic,ECursorBehavior:Jc,ETimelineRectsChart:p6,ETimelineForbiddenInterval:Oc,ETimelineLinesChart:y6,ETimelineBarsChart:w6},props:{eventsGroups:{type:Object,default:null},dark:{type:Boolean,default:!1},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},selectedTimestamp:{type:String,default:void 0},showEventTooltip:{type:Boolean,default:!0},insertZerosAtInterval:{type:String,default:void 0},flattenLineGraphEnds:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},labelWidth:{type:[Number,void 0],default:void 0},barHeight:{type:Number,default:18},barYPadding:{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},panOnDateClick:{type:Boolean,default:!1},selectedDate:{type:String,default:""},markers:{type:Array,default:()=>[]},stickyMarkers:{type:Boolean,default:!0},fitMarkersOnChange:{type:Boolean,default:!1},milestoneBulletSize:{type:Number,default:18},milestonesFirst:{type:Boolean,default:!0},forbiddenIntervals:{type:Array,default:()=>[]},forbiddenIntervalColor:{type:String,default:"#ddd"},focusedInterval:{type:[Object,void 0],default:void 0},locked:{type:Boolean,default:!1},timezone:{type:[String,void 0],default:void 0},stopClickPropagation:{type:Boolean,default:!1},tooltipPosition:{type:String,default:"top",validator:t=>["top","bottom"].includes(t)},maxDomainPadding:{type:Number,default:0},showCursor:{type:Boolean,default:!0},transitionDuration:{type:Number,default:400},scalingDuration:{type:Number,default:400},highlightMilestoneOnMatchTimestamp:{type:Boolean,default:!1},axisHeight:{type:Number,default:22}},data(){return{mainContainer:null,tooltip:null,timeline:null,svgElement:null,svg:null,isHoveringEvent:!1,isHoveringGroupedEvents:!1,isAnimating:!1,hoveredEvent:null,eventTooltipStyle:{},hoveredEventType:null,hoveredCounts:[],visibleFrom:null,visibleTo:null,characterWidth:7.5,textPadding:5,timeouts:[],groupsVisibility:{},selectedMilestoneId:null,isInitialized:!1,hoveredMilestone:null,focusedDomain:null,focusedTimestamp:null,hoveredGroupedEvents:null,TimelineChartType:qe,width:0}},computed:{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)},barGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.Bars,qe.Dots])},lineGraphGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.LineGraph])},barChartGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.BarChart])},milestonesGroups(){return this.getGroupByType(this.filteredEventsGroups,[qe.Milestones])},combinedBarsHeight(){return Object.values(this.barGroups).reduce((t,e)=>t+(this.getBarGroupHeight(e)||this.barHeight+this.barYPadding),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.barHeight),0)},milestonesYOffset(){return this.milestonesFirst?0:this.combinedBarsHeight-this.combinedBottomBarsHeight+(this.hasChart?this.chartHeight:0)},chartsYOffset(){return this.combinedXAxesHeight+(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},computedClasses(){return{wrapper:{"e-border-gray-700 e-timeline--dark":this.dark,"e-border-gray-300":!this.dark},background:this.dark?"e-bg-gray-900":"e-bg-gray-50",tooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300",eventTooltipSlot:this.dark?"e-bg-gray-900 e-text-white e-border-gray-700":"e-bg-gray-100 e-text-gray-700 e-border-gray-300"}},chartHeight(){if(!this.showLabels)return this.chartMinHeight;const e=(Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length)*this.barHeight;return Math.max(this.chartMinHeight,e)},chartLabelHeight(){return Math.max(this.chartMinLabelHeight,this.barHeight)},hasChart(){return Object.keys(this.lineGraphGroups).length+Object.keys(this.barChartGroups).length>0},labelRectWidth(){return Object.values(this.eventsGroups).reduce((r,n)=>{var i;return Math.max(r,(i=n.label)==null?void 0:i.length)},0)*this.characterWidth+2*this.textPadding},combinedXAxesHeight(){return this.axisHeight*1.75},timelineHeight(){return(this.hasChart?this.chartHeight:0)+this.combinedXAxesHeight+this.combinedBarsHeight+this.combinedMilestonesHeight},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)}}),{})},flattenedLinesCounts(){return Object.values(this.lineGraphGroups).map(t=>t.events).flat()},flattenedBarsCounts(){return Object.values(this.barChartGroups).map(t=>t.events).flat()},hiddenGroupsLabels(){return Object.entries(this.groupsVisibility).reduce((t,[e,r])=>r?t:[...t,e],[])},minHoverZone(){var t;return this.showLabels?(t=this.labelWidth)!=null?t: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=new Date(this.visibleFrom),e=new Date(this.visibleTo),r=c=>{const o=new Date(c.startDate||c.timestamp),l=new Date(c.endDate||c.timestamp);return o<=e&&l>=t},n=this.flattenedBarsCounts.filter(r),i=this.flattenedLinesCounts.filter(r).map(c=>c.count),s={};n.forEach(c=>{const o=c.startDate||c.timestamp;s[o]=(s[o]||0)+c.count});const a=Object.values(s).concat(i);return M.max(a)||1},defaultMaxDomain(){const t=new Date(this.oldestEvent.timestamp||this.oldestEvent.startDate).getTime(),e=new Date(this.latestEvent.timestamp||this.latestEvent.endDate).getTime(),n=(e-t)*.75,i=new Date(t-n),s=new Date(e+n);return[i.toISOString(),s.toISOString()]},defaultFocusedDomain(){const t=this.oldestEvent.timestamp||this.oldestEvent.startDate,e=this.latestEvent.timestamp||this.latestEvent.endDate;return[t,e]},domain(){let t=new Date(this.minDate||this.defaultMaxDomain[0]).getTime(),e=new Date(this.maxDate||this.defaultMaxDomain[1]).getTime(),r=0;return this.maxDomainPadding&&(r=(e-t)*this.maxDomainPadding),t=new Date(t-r).toISOString(),e=new Date(e+r).toISOString(),[this.tzStringToDate(t),this.tzStringToDate(e)]},svgLeft(){var t,e,r;return((r=(e=(t=this.svg)==null?void 0:t.node())==null?void 0:e.getBoundingClientRect())==null?void 0:r.left)||0},markersScopedSlots(){return Object.keys(this.$scopedSlots).filter(t=>t.startsWith("marker.")).reduce((t,e)=>(t[e]=this.$scopedSlots[e],t),{})},isHoveringMilestone(){return!!this.hoveredMilestone},milestonesGroupsPlaceholder(){return Object.entries(this.milestonesGroups).reduce((t,[e,r])=>({...t,[e]:{...r,events:[],isLoading:!1}}),{})},countsByTimestamp(){const t={...this.lineGraphGroups,...this.barChartGroups};return Object.entries(t).reduce((e,[r,n])=>(n.events.forEach(i=>{const s=i.timestamp||i.startDate;e[s]={...e[s]||{},[r]:i.count}}),e),{})}},watch:{markers(t,e){t===e||!this.fitMarkersOnChange||e.length===0||this.zoomToFitMarkers()},startDate(){this.zoomToStartAndEndDates()},endDate(){this.zoomToStartAndEndDates()},selectedDate(t){t&&!this.locked&&(this.focusedTimestamp=this.tzStringToDate(t).toISOString())},focusedInterval(t){t&&(t!=null&&t.startDate)&&(t!=null&&t.endDate)&&(this.focusedDomain=[t.startDate,t.endDate])}},mounted(){this.validateProps(),this.initTimeline()},beforeDestroy(){this.clearTimeline()},methods:{handleVisibleIntervalChange({fromDate:t,toDate:e,trigger:r,transform:n}){this.visibleFrom=t,this.visibleTo=e,this.$emit("visible-interval-change",{fromDate:t,toDate:e,trigger:r,transform:n})},getGroupByType(t,e){return Object.entries(t).reduce((r,[n,i])=>!i.chartType&&e.includes(qe.Bars)||e.includes(i.chartType)?{...r,[n]:i}:r,{})},getPreviousCountsByTimestamp(t){if(t===0)return{};const e=Object.fromEntries(Object.entries(this.barChartGroups).slice(0,t)),r=[...Object.values(e)].map(i=>i.events).flat(),n={};return r.forEach(i=>{const s=i.startDate||i.timestamp;n[s]=(n[s]||0)+i.count}),n},getChartsYPosition(t){const e=Object.keys(this.lineGraphGroups).concat(Object.keys(this.barChartGroups));return this.timelineHeight-this.chartLabelHeight*(e.indexOf(t)+1)-(this.milestonesFirst?0:this.combinedMilestonesHeight)-this.combinedBarsHeight},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])},initTimeline(){if(this.initRefs(),this.zoomToStartAndEndDates(),!this.timeline||this.timeline.offsetWidth===0||!this.domain){this.timeouts.push(setTimeout(this.initTimeline,500));return}this.selectedDate&&this.panOnDateClick&&(this.focusedTimestamp=this.tzStringToDate(this.selectedDate)),this.isInitialized=!0},initRefs(){this.tooltip=this.$refs.tooltip,this.mainContainer=this.$refs.mainContainer,this.timeline=this.$refs.timelineContainer,this.svgElement=this.$refs.timelineSvg,this.svg=M.select(this.svgElement)},zoomToFitMarkers(){const t=this.markers.map(s=>new Date(s.timestamp).getTime());if(t.length<2)return;const e=Math.min(...t),r=Math.max(...t),n=new Date(e),i=new Date(r);this.focusedDomain=[n,i]},clearTimeline(){this.svg&&this.svg.remove()},handleMouseLeave(){this.$emit("hovered-timestamp",void 0)},handleMouseMove(t,e){var o;this.$emit("hovered-timestamp",e);const n=this.isHoveringEvent&&this.showEventTooltip?this.$refs.eventTooltip||this.$refs.tooltip:this.$refs.tooltip;if(!n)return;const s=(this.timeline||this.$refs.timelineContainer).getBoundingClientRect(),a=((o=n==null?void 0:n.getBoundingClientRect())==null?void 0:o.width)||180;let c=t-a/2;c<0&&(c=t),c+a>s.width&&(c=t-a),this.eventTooltipStyle={left:`${c}px`,zIndex:100,[this.tooltipPosition==="top"?"bottom":"top"]:`${s.height}px`}},isForbiddenInterval(t){const e=new Date(t).getTime(),r=this.forbiddenIntervals.some(s=>{const a=isNaN(new Date(s.startDate).getTime())?-1/0:new Date(s.startDate).getTime(),c=isNaN(new Date(s.endDate).getTime())?1/0:new Date(s.endDate).getTime();return e>=a&&e<=c});let n=!1;this.startDate&&(n=e<new Date(this.startDate).getTime());let i=!1;return this.endDate&&(i=e>new Date(this.endDate).getTime()),r||n||i},handleClick(t){if(this.isForbiddenInterval(t)){this.$emit("forbidden-timestamp-clicked",t);return}if(this.isHoveringGroupedEvents){if(this.isHoveringGroupedEvents=!1,this.$emit("grouped-events-clicked",{events:this.hoveredGroupedEvents,type:this.hoveredEventType}),this.stopClickPropagation)return}else if(this.isHoveringEvent&&(this.isHoveringEvent=!1,this.$emit("event-clicked",{event:this.hoveredEvent,type:this.hoveredEventType}),this.stopClickPropagation))return;this.$emit("date-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t)},handleMarkerClick(t){this.$emit("marker-clicked",t),this.panOnDateClick&&(this.focusedTimestamp=t.timestamp)},handleChartMouseOver(t,e,r){this.isAnimating||!this.countsByTimestamp[`${e.timestamp||e.startDate}`]||(this.hoveredCounts=Object.entries(this.countsByTimestamp[`${e.timestamp||e.startDate}`]).reduce((n,i)=>{var c;const[s,a]=i;return(c=this.hiddenGroupsLabels)!=null&&c.includes(s)?n:[...n,{type:s,count:a,label:this.getExternalLabelText(s)}]},[]),this.hoveredEvent=e,this.isHoveringEvent=!0,this.$emit("event-mouseover",{eventData:e,eventType:r,hoveredCounts:this.hoveredCounts}))},handleChartMouseOut(){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.isHoveringGroupedEvents=!1,this.$emit("event-mouseover",{eventData:e,eventType:r}))},handleBarGroupedEventsMouseOver(t,e,r){t.offsetX<=this.minHoverZone||(this.hoveredGroupedEvents=e,this.hoveredEventType=r,this.isHoveringEvent=!1,this.isHoveringGroupedEvents=!0,this.$emit("grouped-events-mouseover",{events:e,eventType:r}))},handleBarMouseOut(){this.isHoveringEvent=!1,this.isHoveringGroupedEvents=!1,this.hoveredEvent=null,this.hoveredGroupedEvents=null,this.$emit("event-mouseout")},handleTimeScaleChange(t){this.$emit("time-scale-change",t)},zoomToStartAndEndDates(){var r,n;const t=this.startDate||((r=this.focusedInterval)==null?void 0:r.startDate)||this.defaultFocusedDomain[0],e=this.endDate||((n=this.focusedInterval)==null?void 0:n.endDate)||this.defaultFocusedDomain[1];this.focusedDomain=[this.tzStringToDate(t),this.tzStringToDate(e)]},onAnimationStart(){this.isAnimating=!0,this.$emit("animation-start")},onAnimationEnd(){this.isAnimating=!1,this.$emit("animation-end")},getMilestoneClass(t){return{[me.milestoneSelected]:[t.id,t.timestamp].includes(this.selectedMilestoneId)||this.highlightMilestoneOnMatchTimestamp&&Se(this.selectedTimestamp).isSame(t.timestamp)}},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.barHeight}return this.combinedXAxesHeight+this.milestonesYOffset+e},getBarGroupYPosition(t,e){let r=this.combinedXAxesHeight;e?r+=(this.hasChart?this.chartHeight:0)+(this.hasMilestones?this.combinedMilestonesHeight:0):r+=this.barsYOffset;for(const[n,i]of Object.entries(this.barGroups)){if(n===t)break;!e&&i.bottom||(r+=this.getBarGroupHeight(i))}return r},getBarGroupHeight(t){return t.height?Math.max(t.height+this.barYPadding,1):this.barHeight+this.barYPadding},getTextFillColor(t,e=0){var r,n;return(this.dark?(r=M.color(t))==null?void 0:r.brighter(1.5+e):(n=M.color(t))==null?void 0:n.darker(2+e)).toString()},getLabelBackgroundColor(t){let e=M.color(t);return e.opacity=this.dark?.2:.5,e.toString()},getCurrentGroupVisibility(t){var n;const e=this.groupsVisibility[t];if(e!==void 0)return e;const r=(n=this.eventsGroups[t])==null?void 0:n.isHidden;return r!==void 0?!r:!0},toggleGroupVisibility(t){this.groupsVisibility={...this.groupsVisibility,[t]:!this.getCurrentGroupVisibility(t)}},getExternalLabelStyles(t){const e=this.eventsGroups[t].color;return{background:this.getLabelBackgroundColor(e),color:this.getTextFillColor(e)}},getExternalLabelText(t){var e;return(e=this.eventsGroups[t])==null?void 0:e.label},getExternalLabelWrapperStyles(t){const e=this.eventsGroups[t].color;return{borderColor:this.getTextFillColor(e)}},tzStringToDate(t){return Ke({timestamp: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=s=>s.clone().add(1,e),n=s=>s.clone().subtract(1,e);let i=[];for(let s=0;s<t.length;s++){const a=t[s];if(i.push(a),s===t.length-1)break;const c=t[s+1],o=Se(a.timestamp),l=Se(c.timestamp);if(l.diff(o,e)>1){const d=r(o).toISOString(),h=n(l).toISOString();i.push({timestamp:d,count:0}),d!==h&&i.push({timestamp:h,count:0})}}if(this.flattenLineGraphEnds){const s=Se(t[0].timestamp),a=Se(t[t.length-1].timestamp),c=n(s).toISOString(),o=r(a).toISOString();i=[{timestamp:c,count:0},...i,{timestamp:o,count:0}]}return i},fillEvents(t){return this.placeholderLineChartGroup.map(e=>t.find(n=>n.timestamp===e.timestamp)||e)},onMilestoneClick(t,e){this.panOnDateClick&&(this.focusedTimestamp=t.timestamp),this.selectedMilestoneId=t.id||t.timestamp,this.$emit("milestone-click",{milestone:t,milestoneType:e})},getSortedEvents(t){return[...t].sort((e,r)=>new Date(e.timestamp||e.startDate)>new Date(r.timestamp||r.startDate)?1:-1)},onHoverMilestone(t){this.hoveredMilestone=t},onResizeContainer({contentRect:t}){this.width===t.width||t.width===0||(this.width=t.width,this.$emit("timeline-resize",{contentRect:t}))}}}),lh="";var T6=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResizeContainer,expression:"onResizeContainer"}],ref:"mainContainer",staticClass:"e-timeline"},[r("EZoomBehavior",{attrs:{domain:e.domain,"focused-domain":e.focusedDomain,"translation-duration":e.transitionDuration,"scaling-duration":e.scalingDuration,"focused-timestamp":e.focusedTimestamp,timezone:e.timezone,width:e.width,disabled:e.locked},on:{"visible-interval-change":e.handleVisibleIntervalChange,"time-scale-change":e.handleTimeScaleChange,"animation-start":e.onAnimationStart,"animation-end":e.onAnimationEnd},scopedSlots:e._u([{key:"default",fn:function({timeScale:n}){return[n?r("div",{staticClass:"e-relative e-timeline e-border e-rounded",class:e.computedClasses.wrapper},[r("ECursorBehavior",{attrs:{"time-scale":n,timezone:e.timezone,"min-hover-zone":e.minHoverZone,"is-hovering-milestone":e.isHoveringMilestone},on:{"mouse-move":e.handleMouseMove,"mouse-leave":e.handleMouseLeave,"timestamp-clicked":e.handleClick},scopedSlots:e._u([{key:"default",fn:function({hoveredTimestamp:i,isHoveringTimeline:s}){var a;return[r("ETimelineMarkers",{attrs:{markers:e.sortedMarkers,"sticky-markers":e.stickyMarkers,"time-scale":n,"time-zone":e.timezone,height:e.timelineHeight,"svg-left":e.svgLeft},on:{"marker-clicked":e.handleMarkerClick,"marker-drag-end":function(c){return e.$emit("marker-drag-end",c)},"marker-drag-start":function(c){return e.$emit("marker-drag-start",c)},"marker-drag-drag":function(c){return e.$emit("marker-drag-drag",c)}},scopedSlots:e._u([e._l(e.markersScopedSlots,function(c,o){return{key:o,fn:function(l){return[e._t(o,null,null,l)]}}})],null,!0)}),r("div",{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.width,height:e.timelineHeight}},[r("ETimelineSVGDefs",{attrs:{"events-groups":e.eventsGroups,width:e.width,height:e.chartHeight,"forbidden-interval-color":e.forbiddenIntervalColor}}),r("g",{staticClass:"e-timeline-axes"},[n?r("EXAxisOverview",{attrs:{"time-scale":n,height:e.timelineHeight,dark:e.dark}}):e._e(),n?r("EXAxisDetailed",{attrs:{"time-scale":n,height:e.timelineHeight-e.axisHeight,y:e.axisHeight,dark:e.dark}}):e._e(),n?r("EXAxisBackground",{attrs:{"time-scale":n,height:e.timelineHeight-e.combinedXAxesHeight,y:e.combinedXAxesHeight,dark:e.dark}}):e._e()],1),e.selectedTimestamp?r("ETimelineSelectedTimestampCursor",{attrs:{"time-scale":n,"selected-timestamp":e.selectedTimestamp,timezone:e.timezone,height:e.timelineHeight}}):e._e(),i&&s&&!e.isHoveringMilestone&&e.showCursor?r("ETimelineCursor",{attrs:{"time-scale":n,"selected-timestamp":i,timezone:e.timezone,height:e.timelineHeight}}):e._e(),e._l(e.forbiddenIntervals,function(c,o){return r("ETimelineForbiddenInterval",{key:o,attrs:{"time-scale":n,interval:c,index:o,height:e.timelineHeight,timezone:e.timezone}})}),e._l(e.barGroups,function(c,o){return r("ETimelineRectsChart",{key:o,attrs:{"time-scale":n,"events-group":c,"group-id":o,y:e.getBarGroupYPosition(o,c.bottom),height:e.barHeight,width:e.width,"rect-y-padding":e.barYPadding,dark:e.dark,"show-label":e.showLabels,"label-width":e.labelWidth,timezone:e.timezone,dots:c.chartType===e.TimelineChartType.Dots,"dots-size":c.dotsSize,"bar-border-radius":c.barBorderRadius,"group-overlapping-dots":c.groupOverlappingDots},on:{"event-mouseover":e.handleBarMouseOver,"grouped-events-mouseover":e.handleBarGroupedEventsMouseOver,"event-mouseout":e.handleBarMouseOut,"group-label-clicked":e.toggleGroupVisibility}})}),e._l(e.milestonesGroupsPlaceholder,function(c,o){return r("ETimelineRectsChart",{key:o,attrs:{width:e.width,y:e.getMilestoneGroupYPosition(o),height:c.height,"group-id":o,"events-group":c,"time-scale":n,dark:e.dark,dots:!0,"show-label":!1}})}),e._l(e.insertZerosAtInterval?e.filledGapsLineGraphGroups:e.lineGraphGroups,function(c,o){return r("ETimelineLinesChart",{key:o,attrs:{"group-id":o,"time-scale":n,"events-group":c,y:e.getChartsYPosition(o),height:e.chartHeight,width:e.width,dark:e.dark,timezone:e.timezone,"show-label":e.showLabels,"label-height":e.chartLabelHeight,"label-width":e.labelWidth,"max-visible-count":e.maxVisibleCount,"y-offset":e.chartsYOffset,"hovered-timestamp":i},on:{"event-mouseover":e.handleChartMouseOver,"event-mouseout":e.handleChartMouseOut,"group-label-clicked":e.toggleGroupVisibility}})}),e._l(e.barChartGroups,function(c,o,l){return r("ETimelineBarsChart",{key:o,attrs:{"group-id":o,width:e.width,y:e.getChartsYPosition(o),height:e.chartHeight,"events-group":c,"time-scale":n,dark:e.dark,"y-offset":e.chartsYOffset,"label-height":e.chartLabelHeight,"label-width":e.labelWidth,"max-visible-count":e.maxVisibleCount,"show-label":e.showLabels,"hovered-timestamp":i,"previous-counts-by-timestamp":e.getPreviousCountsByTimestamp(l)},on:{"event-mouseover":e.handleChartMouseOver,"event-mouseout":e.handleChartMouseOut,"group-label-clicked":e.toggleGroupVisibility}})})],2)]),e._l(e.milestonesGroups,function(c,o){return r("div",{key:`${o}`,staticClass:"e-timeline-milestones",attrs:{"data-test-id":"timeline-milestones"}},[r("div",{class:`e-tl-milestones e-tl-milestones-${o}`},e._l(e.getSortedEvents(c.events),function(l,d){return r("ETimelineMilestone",{key:`${l.milestoneType}-${d}`,class:e.getMilestoneClass(l),attrs:{"time-scale":n,y:e.getMilestoneGroupYPosition(o),height:c.height||e.barHeight,"data-timestamp":l.timestamp,milestone:l,dot:c.dots,size:l.size||e.milestoneBulletSize,"transition-duration":c.milestonesTransitionDuration,"line-height":c.milestonesLineHeight,"dot-size":c.milestonesDotSize,"data-test-id":`milestone-${l.milestoneType}-${d}`,"background-color":e.getMilestoneColors(l.color,c.color).background,"border-color":e.getMilestoneColors(l.color,c.color).border,timezone:e.timezone},on:{"hovered-milestone":e.onHoverMilestone,"milestone-click":function(h){return e.onMilestoneClick(l,o)}},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:d,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",{staticClass:"external-labels-container e-flex"},e._l(e.hiddenGroupsLabels,function(c){return r("div",{key:c,staticClass:"external-label",class:e.computedClasses.background,style:e.getExternalLabelWrapperStyles(c),on:{click:function(o){return o.stopPropagation(),e.toggleGroupVisibility(c)}}},[r("div",{staticClass:"external-label__content",style:e.getExternalLabelStyles(c)},[e._v(" "+e._s(e.getExternalLabelText(c))+" ")])])}),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:s&&!e.isHoveringEvent&&!e.isHoveringMilestone,expression:`
|
|
233
233
|
isHoveringTimeline &&
|
|
234
234
|
!isHoveringEvent &&
|
|
235
235
|
!isHoveringMilestone
|
|
236
|
-
`}],staticClass:"e-timeline__tooltip e-border e-rounded e-px-2 e-relative",class:e.computedClasses.tooltipSlot},[e._v(" "+e._s(i)+" ")])]},{timestamp:i,active:s&&!e.isHoveringMilestone})],2),r("div",{key:`${e.hoveredGroupedEvents?e.hoveredGroupedEvents[0].timestamp:(a=e.hoveredEvent)==null?void 0:a.timestamp}`,ref:"eventTooltip",staticClass:"e-absolute e-z-50",style:e.eventTooltipStyle},[e._t("eventTooltip",function(){return[e.hoveredGroupedEvents?r("div",{directives:[{name:"show",rawName:"v-show",value:e.showEventTooltip&&e.isHoveringGroupedEvents,expression:"showEventTooltip && isHoveringGroupedEvents"}]},[r("div",[r("strong",[e._v(e._s(e.hoveredGroupedEvents.length)+" Events")]),e._v(": ")]),r("div",[r("strong",[e._v("From")]),e._v(":"+e._s(e.hoveredGroupedEvents[0].timestamp||e.hoveredGroupedEvents[0].startDate)+" ")]),r("div",[r("strong",[e._v("To")]),e._v(":"+e._s(e.hoveredGroupedEvents[e.hoveredGroupedEvents.length-1].timestamp||e.hoveredGroupedEvents[e.hoveredGroupedEvents.length-1].endDate)+" ")])]):e.showEventTooltip&&(e.hoveredEvent||e.hoveredCounts.length)?r("div",{directives:[{name:"show",rawName:"v-show",value:e.isHoveringEvent,expression:"isHoveringEvent"}],staticClass:"e-timeline__event-tooltip e-border e-rounded e-px-2 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(c,o){return r("div",{key:o},[r("strong",[e._v(e._s(c.label||c.type)+" Count")]),e._v(": "+e._s(c.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,groupedEvents:e.hoveredGroupedEvents,counts:e.hoveredCounts,active:e.isHoveringEvent,type:e.hoveredEventType})],2)]}}],null,!0)})],1):e._e()]}}])})],1)},k6=[],$6=R(S6,T6,k6,!1,null,null,null,null);const es=$6.exports,M6=O.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""}}}),ch="";var E6=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))])},L6=[],D6=R(M6,E6,L6,!1,null,"7e66cb69",null,null);const ts=D6.exports,P6=O.extend({name:"EHeatmapBar",props:{items:{type:Array,default:()=>[]},selectedValue:{type:[String,Number],default:""},showCounts:{type:Boolean,default:!0},namesOnly:{type:Boolean,default:!1},showNames:{type:Boolean,default:!0},colors:{type:Array,default:()=>Kr("#ebedf0","#17459e",10)},colorsDark:{type:Array,default:()=>Kr("rgba(26,53,86,0.49)","#1f65ee",10)},label:{type:String,default:""},dense:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},data(){return{}},computed:{heatMapBarItems(){return this.items},maxCount(){return this.items.reduce((t,e)=>Math.max(t,e.count),0)},computedColors(){return this.dark?this.colorsDark:this.colors},textColor(){return{color:this.dark?"#eee":"#111"}}},methods:{getColorIndex(t){return Math.ceil(t/this.maxCount*(this.computedColors.length-1))},getColor(t){const e=this.getColorIndex(t);return this.computedColors[e]||this.computedColors[0]},getItemStyle(t){return{background:this.getColor(t)}},getItemClasses(t){return typeof t=="object"?t:{[t]:!0}},getCountTextStyle(t){const e=this.getColor(t);return{color:this.getContrastingPaletteColor(e)}},adjustColorBrightness(t,e){const r=M.hsl(t);return r.l+=e,r.l=Math.max(.1,Math.min(.9,r.l)),r.formatHex()},getContrastingPaletteColor(t){const e=M.color(t);if(!e)return t;const{r,g:n,b:i}=e.rgb(),a=(.299*r+.587*n+.114*i)/255>.5?-.5:.5;return this.adjustColorBrightness(t,a)}}}),uh="";var z6=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-heatmap-bar--dark":e.dark},style:e.textColor},[e._t("label",function(){return[e.label?r("div",{staticClass:"e-heatmap-bar__label",style:e.textColor},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e._l(e.heatMapBarItems,function({name:n,value:i,count:s,itemClass:a,id:c}){return r("div",{key:i,staticClass:"e-flex e-w-full e-justify-center e-items-center e-heatmap-bar__item",class:{"e-heatmap-bar__item--selected":e.selectedValue===i,...e.getItemClasses(a)},style:e.getItemStyle(s),on:{click:function(o){return e.$emit("change",i,a,c)}}},[e.namesOnly?r("span",{staticClass:"e-heatmap-bar__item__count",style:e.getCountTextStyle(s)},[e._v(" "+e._s(n)+" ")]):e.showCounts?r("span",{staticClass:"e-heatmap-bar__item__count",style:e.getCountTextStyle(s)},[e._v(" "+e._s(s>0?s:"")+" ")]):e._e(),e.showNames&&!e.namesOnly?r("span",{staticClass:"e-heatmap-bar__item__name e-text-xs e-text-black e-truncate",style:e.textColor},[e._v(" "+e._s(n)+" ")]):e._e()])})],2)},O6=[],B6=R(P6,z6,O6,!1,null,null,null,null);const pn=B6.exports,I6=O.extend({name:"EHoursHeatmap",components:{EHeatmapBar:pn},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 F6=function(){var e=this,r=e._self._c;return r("EHeatmapBar",e._g({staticClass:"e-hours-heatmap",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))},R6=[],A6=R(I6,F6,R6,!1,null,null,null,null);const rs=A6.exports,H6=O.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..."},onePerLine:{type:Boolean,default:!1}},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 e,r;const t=this.onePerLine?"<br/>":", ";return((e=this.content)==null?void 0:e.length)>this.maxLength&&this.showAllContent===!1?this.content.slice(0,this.maxLength).join(t):((r=this.content)==null?void 0:r.length)>-1?this.content.join(t):""},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 N6=function(){var e=this,r=e._self._c;return r("span",{staticClass:"e-read-more"},[r("span",{staticClass:"e-read-more__content mr-1",style:{"white-space":e.showAllContent?"initial":"nowrap"},domProps:{innerHTML: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()])},j6=[],q6=R(H6,N6,j6,!1,null,null,null,null);const ns=q6.exports,W6=O.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 G6=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)},U6=[],Z6=R(W6,G6,U6,!1,null,null,null,null);const is=Z6.exports,X6=O.extend({name:"ECompareSeparator",components:{EIcon:Be},props:{xOffset:{type:[Number,String],default:50}},computed:{separatorStyle(){return{left:`${this.xOffset}%`}}}}),dh="";var Y6=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(),(i=>e.$emit("mousedown",i)).apply(null,arguments)},touchstart:function(n){return n.preventDefault(),(i=>e.$emit("touchstart",i)).apply(null,arguments)}}},[r("div",{staticClass:"e-compare-separator__line",style:e.separatorStyle}),r("div",{staticClass:"e-compare-separator__icon e-flex e-justify-center e-items-center",style:e.separatorStyle},[r("EIcon",{attrs:{icon:"fa-caret-left",color:"e-text-white",size:"base"}}),r("EIcon",{attrs:{icon:"fa-caret-right",color:"e-text-white",size:"base"}})],1)])},V6=[],Q6=R(X6,Y6,V6,!1,null,null,null,null);const ss=Q6.exports,He=O.extend({data(){return{eventListeners:[]}},beforeDestroy(){this.$removeEventListeners()},methods:{$addEventListener(t,e,r=document){if(!(r instanceof EventTarget)){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=document){var i;const n=this.eventListeners.find(s=>s.event===t&&s.element===r&&s.cb===e);n&&((i=n.element)==null||i.removeEventListener(t,e),this.eventListeners=this.eventListeners.filter(s=>s.event===t&&s.cb===e&&s.element===r))},$removeEventListeners(){this.eventListeners.forEach(({element:t,event:e,cb:r})=>{t==null||t.removeEventListener(e,r)}),this.eventListeners=[]}}}),K6=O.extend({name:"EDragResize",mixins:[He],props:{bounds:{type:Object,required:!0},initial:{type:Object,default:()=>({x:0,y:0,width:100,height:100})}},data(){return{lens:{...this.initial},isDragging:!1,dragOffset:{x:0,y:0},resizeHandles:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"],currentHandle:null}},computed:{windowStyle(){return{position:"absolute",top:`${this.lens.y}px`,left:`${this.lens.x}px`,width:`${this.lens.width}px`,height:`${this.lens.height}px`,border:"2px solid white",cursor:"move",boxSizing:"border-box"}}},watch:{lens:{handler(t){this.$emit("change",t)},deep:!0}},methods:{startDrag(t){const e=this.getPoint(t);this.dragOffset.x=e.x-this.lens.x,this.dragOffset.y=e.y-this.lens.y,this.isDragging=!0,this.$addEventListener("mousemove",this.onDrag),this.$addEventListener("mouseup",this.endDrag),this.$addEventListener("touchmove",this.onDrag),this.$addEventListener("touchend",this.endDrag)},onDrag(t){if(!this.isDragging)return;const e=this.getPoint(t),r=e.x-this.dragOffset.x,n=e.y-this.dragOffset.y,i=this.bounds,s=Math.max(i.left,Math.min(r,i.left+i.width-this.lens.width)),a=Math.max(i.top,Math.min(n,i.top+i.height-this.lens.height));this.lens.x=s,this.lens.y=a},endDrag(){this.isDragging=!1,this.$removeEventListener("mousemove",this.onDrag),this.$removeEventListener("mouseup",this.endDrag),this.$removeEventListener("touchmove",this.onDrag),this.$removeEventListener("touchend",this.endDrag)},startResize(t,e){this.currentHandle=t,this.dragOffset=this.getPoint(e),this.$addEventListener("mousemove",this.onResize),this.$addEventListener("mouseup",this.endResize),this.$addEventListener("touchmove",this.onResize),this.$addEventListener("touchend",this.endResize)},onResize(t){const e=this.getPoint(t),r=e.x-this.dragOffset.x,n=e.y-this.dragOffset.y;let{x:i,y:s,width:a,height:c}=this.lens;switch(this.currentHandle){case"top-left":i+=r,s+=n,a-=r,c-=n;break;case"top":s+=n,c-=n;break;case"top-right":s+=n,a+=r,c-=n;break;case"right":a+=r;break;case"bottom-right":a+=r,c+=n;break;case"bottom":c+=n;break;case"bottom-left":i+=r,a-=r,c+=n;break;case"left":i+=r,a-=r;break}const o=this.bounds,l=50;a=Math.max(l,Math.min(o.width,a)),c=Math.max(l,Math.min(o.height,c)),i=Math.max(o.left,Math.min(i,o.left+o.width-a)),s=Math.max(o.top,Math.min(s,o.top+o.height-c)),this.lens={x:i,y:s,width:a,height:c},this.dragOffset=e},endResize(){this.currentHandle=null,document.removeEventListener("mousemove",this.onResize),document.removeEventListener("mouseup",this.endResize),document.removeEventListener("touchmove",this.onResize),document.removeEventListener("touchend",this.endResize)},getPoint(t){return t instanceof MouseEvent?{x:t.clientX,y:t.clientY}:{x:t.touches[0].clientX,y:t.touches[0].clientY}}}}),hh="";var J6=function(){var e=this,r=e._self._c;return r("div",{staticClass:"compare-window",style:e.windowStyle,on:{mousedown:e.startDrag,touchstart:e.startDrag}},e._l(e.resizeHandles,function(n){return r("div",{key:n,staticClass:"resize-handle",class:"resize-"+n,on:{mousedown:function(i){return i.stopPropagation(),i.preventDefault(),e.startResize(n,i)},touchstart:function(i){return i.stopPropagation(),i.preventDefault(),e.startResize(n,i)}}})}),0)},e4=[],t4=R(K6,J6,e4,!1,null,"75e287d0",null,null);const fn=t4.exports,r4=O.extend({name:"EImagesComparator",components:{EDragResize:fn},props:{beforeImageSrc:String,afterImageSrc:String,isLoading:Boolean,mode:{type:String,default:it.Curtain,validator:t=>Object.values(it).includes(t)},transparency:{type:Number,default:.5}},data(){return{separatorPositionX:50,isSeparatorDragging:!1,containerRect:{},computedImageDimension:{width:0,height:0,left:0,top:0},zoomState:{},touchIdentifier:null,startTouchX:0,startSeparatorPositionX:50,windowState:{x:200,y:200,width:200,height:200},CompareMode:it,isBeforeImageLoaded:!1,isAfterImageLoaded:!1}},computed:{beforeImageStyle(){if(this.isComponentLoading)return{clip:"none"};if(this.mode===it.Window){const{x:t,y:e,width:r,height:n}=this.windowState;return{clip:`rect(${e}px, ${t+r}px, ${e+n}px, ${t}px)`}}else return this.mode===it.Curtain?{clip:`rect(auto, ${this.computedImageDimension.width*this.separatorPositionX/100+this.computedImageDimension.left}px, auto, auto)`}:{opacity:`${1-this.transparency}`}},afterImageStyle(){return{opacity:this.mode===it.Transparency?`${this.transparency}`:"1"}},windowBounds(){return{top:this.computedImageDimension.top,left:this.computedImageDimension.left,width:this.computedImageDimension.width,height:this.computedImageDimension.height}},watermarkStyle(){var d;const{width:t,height:e,left:r,top:n}=this.computedImageDimension,i=Math.max(t,e),s=.05,a=.01,c=i*s,o=i*a,l={width:`${c}px`,height:`${c}px`,left:`${r+t-c-o}px`,top:`${n+e-c-o}px`};return((d=this.zoomState)==null?void 0:d.zoomLevel)>1&&(l.opacity="0"),l},computedSeparatorPositionX(){const{left:t,width:e}=this.computedImageDimension,r=this.containerRect.width;return(t+e*this.separatorPositionX/100)/r*100},isComponentLoading(){return this.isLoading||!this.isBeforeImageLoaded||!this.isAfterImageLoaded}},watch:{beforeImageSrc(){this.isBeforeImageLoaded=!1},afterImageSrc(){this.isAfterImageLoaded=!1}},methods:{onZoomChange(t){this.zoomState={...t}},handleAfterImageLoad(){this.isAfterImageLoaded=!0,this.handleResize()},handleBeforeImageLoad(){this.isBeforeImageLoaded=!0,this.handleResize()},handleResize(){var a;const t=this.$refs.container;this.containerRect=t.getBoundingClientRect();const e=(a=this.$refs.afterImage)==null?void 0:a.$refs.image;if(!(e!=null&&e.naturalWidth)||!(e!=null&&e.naturalHeight))return;const r=t.clientWidth,n=t.clientHeight,i=e.naturalWidth/e.naturalHeight;if(r/n>i){const c=n*i;this.computedImageDimension={width:c,height:n,left:(r-c)/2,top:0}}else{const c=r/i;this.computedImageDimension={width:r,height:c,top:(n-c)/2,left:0}}},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,document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.isSeparatorDragging=!1,document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp)},handleTouchStart(t){const e=t.touches[0];e&&(this.touchIdentifier=e.identifier,this.startTouchX=e.clientX,this.startSeparatorPositionX=this.separatorPositionX,document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("touchend",this.handleTouchEnd))},handleTouchMove(t){const e=Array.from(t.touches).find(i=>i.identifier===this.touchIdentifier);if(!e)return;const n=(e.clientX-this.startTouchX)/this.computedImageDimension.width*100+this.startSeparatorPositionX;this.separatorPositionX=Math.max(0,Math.min(100,n))},handleTouchEnd(){document.removeEventListener("touchmove",this.handleTouchMove),document.removeEventListener("touchend",this.handleTouchEnd),this.touchIdentifier=null},handleWindowChange(t){Object.assign(this.windowState,t)}}}),ph="";var n4=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-h-full e-w-full e-relative e-bg-black e-border-black !e-select-none"},[r("div",{staticClass:"e-w-full e-h-full"},[r("EZoomableImg",{ref:"afterImage",staticClass:"e-block e-w-full e-h-full e-image-comparator__image",style:e.afterImageStyle,attrs:{src:e.afterImageSrc,alt:"After Image",embedded:!0,allowZoom:!0,pan:!0,slider:!0,showMiniature:!0,hideContentOnBlur:!1},on:{change:e.onZoomChange,load:e.handleAfterImageLoad}}),r("EZoomableImg",{staticClass:"!e-absolute e-top-0 e-left-0 e-pointer-events-none e-block e-w-full e-h-full e-image-comparator__image",style:e.beforeImageStyle,attrs:{src:e.beforeImageSrc,alt:"Before Image",embedded:!0,allowZoom:!1,pan:!1,slider:!1,showMiniature:!1,initialParams:e.zoomState},on:{load:e.handleBeforeImageLoad}})],1),e.mode===e.CompareMode.Curtain&&!e.isComponentLoading?r("ECompareSeparator",{attrs:{"x-offset":e.computedSeparatorPositionX},on:{mousedown:function(n){return n.stopPropagation(),n.preventDefault(),e.handleMouseDown.apply(null,arguments)},touchstart:e.handleTouchStart}}):e._e(),e.mode==="window"&&!e.isComponentLoading?r("EDragResize",{attrs:{initial:e.windowState,bounds:e.windowBounds},on:{change:e.handleWindowChange}}):e._e(),e.isComponentLoading?e._e():r("div",{staticClass:"e-images-comparator__watermark",style:e.watermarkStyle},[e._t("watermark",null,null,e.watermarkStyle)],2),e.isComponentLoading?r("div",{staticClass:"e-images-comparator__overlay"},[e._t("overlay")],2):e._e(),r("div",{staticClass:"e-images-comparator__imageOverlay"},[e._t("imageOverlay")],2),e._t("default",null,{imageDimensions:e.computedImageDimension})],2)},i4=[],s4=R(r4,n4,i4,!1,null,"e5b9302f",null,null);const as=s4.exports,Ze=O.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=[]}}}),a4=O.extend({name:"EExpandableMenu",mixins:[Ze,He],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{isMenuOpened:!1,baseSize:{},menuObserver:null}},computed:{row(){return["right","left"].includes(this.direction)},reverse(){return["top","left"].includes(this.direction)}},watch:{isMobile(){this.adjustButtonsPositions()},direction(){this.adjustButtonsPositions()},padding(){this.adjustButtonsPositions()}},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.adjustButtonsPositions),this.observeMenuContentChanges()},beforeDestroy(){this.menuObserver&&this.menuObserver.disconnect()},methods:{toggleMenu(){this.isMenuOpened=!this.isMenuOpened,this.adjustButtonsPositions()},adjustButtonsPositions(){const t=this.$refs.menu,e=Array.from(t==null?void 0:t.children).filter(l=>!l.classList.contains("v-tooltip"));if(!e||!e.length)return;const r=this.isMobile?30:40,n=Array.from(e),i=this.$refs.activator,s=i==null?void 0:i.getBoundingClientRect(),a=Math.min(s[this.row?"width":"height"],r),c=this.isMenuOpened?a+this.padding:0,o=this.row?"X":"Y";t.style.transform=`translate${o}(${(this.reverse?-1:1)*c}px)`,n.forEach((l,d)=>{const h=l.getBoundingClientRect(),m=h==null?void 0:h[this.row?"width":"height"],C=(m>r?m:r)+this.padding,b=this.isMenuOpened?C*d:0;l.style.transform=`translate${o}(${(this.reverse?-1:1)*b}px)`})},observeMenuContentChanges(){const t=this.$refs.menu;t&&(this.menuObserver=new MutationObserver(()=>{this.adjustButtonsPositions()}),this.menuObserver.observe(t,{childList:!0,subtree:!0}))}}}),fh="";var o4=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.isMenuOpened,"expandable-menu--closed":!e.isMenuOpened},style:e.baseSize},[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",e._g({ref:"menu",staticClass:"e-flex e-flex-col expandable-menu__menu",class:{"expandable-menu__menu--closed":!e.isMenuOpened,"expandable-menu__menu--open":e.isMenuOpened,"e-py-2":!e.row,"e-py-0":e.row},attrs:{"data-test-id":"action-buttons-menu"}},e.$listeners),[e._t("default")],2)])])},l4=[],c4=R(a4,o4,l4,!1,null,null,null,null);const os=c4.exports,mh="",u4={name:"ECalendarHeatmap",components:{EIcon:Be},mixins:[Ze],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:"",tooltipItem:"",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"),i=e.format("MM"),s=e.format("YYYY-MM-DD");let a={...this.itemsMap[s],date:s,selected:s===this.selectedDate};this.itemsMap[s]||(a={...a,count:0,date:s,disabled:this.isDisabledFn(s)},a={...a,label:this.labelFn(a)}),t={...t,[`${n}-${i}`]:{...t[`${n}-${i}`],[s]:{...a,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"),i=this._moment(this._endDate).startOf("month"),s=this._moment(n);let a={},c=-r,o;for(;s<=i;){let l=o?this.getMonthWidth(o):0;const d=s.startOf("month").day()===0;let h=0;d&&s>n&&(h=this.monthGutterSize);let m=this.dayFullSize;c+=l+this.monthGutterSize-m+h,a[s.format("YYYY-MM")]=c,o=s.clone(),s.add({months:1})}return a},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 i=this.isStartOfYear(e)?this.textSize:0;return{...this.textStyle,transform:`translate(${this.getMonthWidth(e)/2+this.textSize/3-i}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,i=r+this.dayRectSize,s=e+this.dayRectSize/2,a=r+this.dayRectSize/2;return[`M ${e} ${r}`,`L ${s} ${a}`,`L ${e} ${i}`,`M ${n} ${r}`,`L ${s} ${a}`,`L ${n} ${i}`].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.tooltipItem=e,this.tooltipContent=e.label,this.tooltipVisibility=!0,this.hoveredDayDate=e.date,this.$nextTick(()=>{this.calculateTooltipPosition(t)})},calculateTooltipPosition(t){var d;const e=this.$el.getBoundingClientRect(),r=((d=t.target)==null?void 0:d.getBoundingClientRect())||{x:0,y:0},n=r.left-e.left,i=r.top-e.top,s=r.bottom-e.top,a=this.$refs.tooltip.clientWidth,c=this.$refs.tooltip.clientHeight;let o=n+r.width/2-a/2;o+e.left<e.left?o=0:o+e.left+a>=e.right&&(o=e.width-a);let l=i-c-this.dayFullSize/2;l+e.top<=e.top&&(l=s+this.dayFullSize/2),this.tooltipPositionX=o,this.tooltipPositionY=l},onDayRectMouseLeave(){this.tooltipVisibility=!1,this.hoveredDayDate=""}}};var d4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-heatmap-calendar-wrapper"},[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:"fa-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,i){return r("text",{key:i,style:e.getWeekDayTextStyle(i)},[e._v(" "+e._s(e._moment().day(i).format("ddd"))+" ")])}),0),e._l(e.datesTree,function(n,i,s){return r("g",{key:i,staticClass:"e-heatmap-calendar__month",style:e.getMonthStyle(s,i)},[r("text",{style:e.getMonthTextStyle(s,i)},[e._v(" "+e._s(e.getMonthText(i))+" ")]),e._l(n,function(a,c){return r("g",{key:`${c}`,staticClass:"e-heatmap-calendar__day",class:{"e-heatmap-calendar__day--hovered":e.hoveredDayDate===c,"e-heatmap-calendar__day--disabled":a.disabled,"e-heatmap-calendar__day--selected":a.selected}},[r("rect",{style:e.getDayStyle(a,c),attrs:{rx:e.borderRadius,height:e.dayRectSize,width:e.dayRectSize},on:{mouseenter:o=>e.onDayRectMouseEnter(o,a),mouseleave:e.onDayRectMouseLeave,mouseup:function(o){return e.$emit("item-selected",a)}}}),a.disabled?r("path",{style:`stroke: ${e.disabledColor};`,attrs:{d:e.getDisabledDayPath(a)}}):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,i){return r("rect",{key:i,style:e.getLegendRectStyle(i),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._t("tooltip",function(){return[e._v(" "+e._s(e.tooltipContent)+" ")]},{item:e.tooltipItem})],2),e.controls?r("div",{staticClass:"e-heatmap-calendar__control-right",on:{click:function(n){e.daysOffset+=30}}},[r("EIcon",{attrs:{icon:"fa-angle-right",size:"Sm"}})],1):e._e()])},h4=[],p4=R(u4,d4,h4,!1,null,"50280d2a",null,null);const ls=p4.exports,Ht=O.extend({name:"FormField",props:{value:{type:[String,Number,Boolean,Object,Array],default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},type:{type:String,default:"text"},required:{type:Boolean,default:!1},errors:{type:Array,default:()=>[]}},data(){return{currentValue:this.value}},watch:{value(t){this.currentValue=t},currentValue:{immediate:!0,deep:!0,handler(t){this.$emit("input",t)}}}}),Nt=O.extend({name:"ToggleOpen",data(){return{isOpen:!1,selectId:`select-${Date.now()}${Math.random().toString(36).substr(2,9)}`}},created(){this.$root.$on("select-opened",t=>{t!==this.selectId&&this.isOpen&&(this.isOpen=!1)})},beforeDestroy(){this.$root.$off("select-opened")},methods:{toggleOpen(t){t&&t.stopPropagation(),this.isOpen||this.$root.$emit("select-opened",this.selectId),this.isOpen=!this.isOpen}}}),St=O.extend({name:"SelectFormField",mixins:[Ht,Nt],props:{options:{type:Array,required:!0},setInitialValue:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1}},computed:{selectedOption(){return this.multiple?this.options.filter(t=>{var e;if(Array.isArray(this.currentValue)&&((e=this.currentValue)!=null&&e.includes(t.value)))return t}):this.getOptionByValue(this.currentValue)},localLabel(){return this.multiple&&Array.isArray(this.selectedOption)&&this.selectedOption.length>1?this.selectedOption.map(t=>t.label).join(", "):!this.multiple&&this.selectedOption?this.selectedOption.label:null},isAllSelected(){return this.multiple?Array.isArray(this.currentValue)&&this.currentValue.length===this.options.filter(t=>!t.disabled).length&&this.multiple:!1},isAtLeastOneSelected(){return this.multiple?Array.isArray(this.currentValue)&&this.currentValue.length>0:!!this.currentValue},radioItemClasses(){return{"e-opacity-50 e-cursor-not-allowed ":this.disabled,"e-bg-gray-800 e-text-gray-200 e-border-gray-500 ":this.dark,"e-text-gray-700 e-bg-white e-border-gray-300 ":!this.dark,"hover:e-border-gray-300":!this.disabled&&this.dark,"hover:e-border-gray-500":!this.disabled&&!this.dark}},selectedItemClasses(){return["e-bg-[#1976d2]/10",{"e-text-[#61b0ff]":this.dark,"e-text-[#1976d2]":!this.dark}]},isValueProvided(){return this.currentValue!==null&&this.currentValue!==void 0}},watch:{setInitialValue:{immediate:!0,handler(t){!t||this.isValueProvided||(this.currentValue=this.multiple?[this.options[0].value]:this.options[0].value,this.$emit("input",this.currentValue),this.$emit("on-select-option",this.selectedOption))}},multiple(t){t?this.currentValue=[this.options[0].value]:this.currentValue=this.options[0].value,this.$emit("input",this.currentValue),this.$emit("on-select-option",this.selectedOption)}},methods:{isSelected(t){var e;return this.multiple?Array.isArray(this.currentValue)&&this.currentValue.includes(t):this.currentValue===null&&this.setInitialValue?t===((e=this.options[0])==null?void 0:e.value):this.currentValue===t},onItemClick(t,e){e&&(e.stopPropagation(),e.preventDefault());const r=this.getOptionByValue(t);if(!(r!=null&&r.disabled||this.disabled)){if(this.multiple){const n=this.currentValue.indexOf(t);n===-1?this.currentValue.push(t):this.currentValue.splice(n,1),this.$emit("input",this.currentValue),this.$emit("on-select-option",this.selectedOption);return}this.$emit("input",t),this.$emit("on-select-option",r),this.toggleOpen()}},selectAll(){if(!this.multiple||this.disabled)return;const t=this.options.filter(e=>!e.disabled).map(e=>e.value);this.$emit("input",t),this.$emit("on-select-option",this.options.filter(e=>!e.disabled))},deselectAll(){!this.multiple||this.disabled||(this.$emit("input",[]),this.$emit("on-select-option",[]))},toggleSelectAll(t){t&&(t.stopPropagation(),t.preventDefault()),!(!this.multiple||this.disabled)&&(Array.isArray(this.currentValue)&&this.currentValue.length===this.options.length?this.deselectAll():this.selectAll())},getOptionByValue(t){var e;return(e=this.options.find(r=>r.value===t))!=null?e:null},containerClasses(t){return[this.isSelected(t.value)?this.selectedItemClasses:this.radioItemClasses,t.disabled||this.disabled?"e-opacity-50 e-cursor-not-allowed":"e-cursor-pointer e-select-none"]}}}),f4=O.extend({name:"EToggleSwitch",components:{EIcon:Be},mixins:[St],props:{color:{type:String,default:"brand"},size:{type:String,default:G.Sm},vertical:{type:Boolean,default:!1},dark:{type:Boolean,default:!0}},computed:{sizeClasses(){return{container:{"e-p-0.5":this.size===G.Xs,"e-p-1 e-leading-3":this.size===G.Sm,"e-py-1.5 e-px-1.5":this.size===G.Md,"e-p-2 e-p":this.size===G.Lg},button:{"e-px-1":this.size===G.Xs,"e-py-[.2rem] e-px-2 e-rounded-md":this.size===G.Sm,"e-p-1 e-px-2.5":this.size===G.Md,"e-p-1.5 e-px-3":this.size===G.Lg,"e-opacity-50 e-cursor-not-allowed":this.disabled},text:{"!e-text-[0.6rem]":this.size===G.Xs,"e-text-xs":this.size===G.Sm,"e-text-sm":this.size===G.Md,"e-text-base":this.size===G.Lg},icon:{"e-w-3 e-h-3":this.size===G.Xs,"e-w-4 e-h-4":this.size===G.Sm,"e-w-5 e-h-5":this.size===G.Md,"e-w-6 e-h-6":this.size===G.Lg},description:{"!e-text-[0.5rem]":this.size===G.Xs,"e-text-[0.65rem]":this.size===G.Sm,"e-text-xs":this.size===G.Md,"e-text-sm":this.size===G.Lg}}},wrapperClasses(){return{...this.sizeClasses.container,"e-toggle-switch__container e-flex e-justify-center e-w-fit e-h-min e-rounded-md e-e-shadow-md e-transition-colors e-duration-200 e-ease-in-out":!0,"e-bg-gray-800":this.dark,"e-bg-gray-200":!this.dark,"e-flex-col e-items-start":this.vertical," e-items-center":!this.vertical,"e-opacity-50 e-cursor-not-allowed":this.disabled}},textClasses(){return{...this.sizeClasses.text,"e-font-medium":!0}},descriptionClasses(){return{...this.sizeClasses.description,"e-font-normal e-opacity-70 e-mt-0.5 e-leading-tight":!0}}},methods:{getButtonClasses(t){const e=this.isSelected(t.value),r={"e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer":!0,"e-toggle-switch__selected":e,"e-text-gray-200":this.dark&&!e,"e-text-gray-900":!this.dark&&!e,"e-bg-gray-800":this.dark&&!e,"e-bg-gray-200":!this.dark&&!e,"e-bg-brand-600 e-text-white":this.color==="brand"&&e,"e-bg-gray-600 e-text-white":this.color==="gray"&&e,"e-bg-[#629efc] e-text-gray-900":this.color==="primary"&&e,"e-opacity-50 e-cursor-not-allowed":t.disabled,"e-shadow":e,"e-w-full":this.vertical,"e-inline-flex":!this.vertical};return{...this.sizeClasses.button,...r}},getIconClasses(){return{...this.sizeClasses.icon,"e-flex-shrink-0":!0}},getTextContainerClasses(t){return{"e-text-left":!0,"e-items-start":!!t.description}},getIconSize(){return{[G.Sm]:G.Sm,[G.Md]:G.Md,[G.Lg]:G.Lg}[this.size]||G.Sm},svgIconColor(t){return this.isSelected(t.value)&&this.color==="primary"?"#111827":this.isSelected(t.value)?"#f2f2f2":this.dark?"#e5e7eb":"#111827"}}});var m4=function(){var e=this,r=e._self._c;return r("div",{class:e.wrapperClasses},e._l(e.options,function(n){return r("button",{key:n.value,class:e.getButtonClasses(n),on:{click:function(i){return e.onItemClick(n.value)}}},[e._t("option",function(){return[r("div",{staticClass:"e-flex e-items-center e-gap-2"},[n.icon?r("EIcon",{class:e.getIconClasses(),attrs:{icon:n.icon,size:e.getIconSize(),color:e.svgIconColor(n)}}):e._e(),r("div",{staticClass:"e-flex e-flex-col",class:e.getTextContainerClasses(n)},[r("span",{class:e.textClasses},[e._v(e._s(n.label))]),n.description?r("span",{class:e.descriptionClasses},[e._v(" "+e._s(n.description)+" ")]):e._e()])],1)]},{option:n,isSelected:e.isSelected(n.value)})],2)}),0)},g4=[],v4=R(f4,m4,g4,!1,null,null,null,null);const cs=v4.exports,y4=O.extend({name:"ERangeSlider",props:{value:{type:Array,default:()=>[0,100]},min:{type:Number,default:0},max:{type:Number,default:100},disabled:{type:Boolean,default:!1},step:{type:Number,default:60},isTime:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{slider:null,sliderRect:{},selectedThumb:null}},computed:{range:{get(){return this.value},set(t){this.$emit("input",t)}},rangeDistance(){return this.max-this.min},showTooltip(){return this.tooltip&&!this.disabled}},mounted(){this.range=this.value},methods:{getLabel(t){return this.isTime?this.minutesToTime(t):t.toString()},getPosition(t){return(t-this.min)/this.rangeDistance*100},getEmptyRangeStyle(t=!1){let e,r;t?(e=this.range[1],r=this.max):(e=this.min,r=this.range[0]);const n=this.disabled?"#c6c6c6":"#8ac5ff",i=this.getPosition(e),s=this.getPosition(r)-i;return{left:`calc(${i}% + 0px)`,width:`calc(${s}% + 0px)`,background:`${n}`}},getRangeStyle(t){const e=this.disabled?"#c6c6c6":"#3b82f6",r=this.getPosition(t[0]),n=this.getPosition(t[1])-r;return{left:`calc(${r}% + 0px)`,width:`calc(${n}% + 0px)`,background:`${e}`}},onMouseMove(t){var e;if((e=this.selectedThumb)!=null&&e.hasPointerCapture(t.pointerId)){if(this.slider=this.$refs.slider,this.sliderRect=this.slider.getBoundingClientRect(),!this.sliderRect)return;const n=(t.clientX-this.sliderRect.left)/this.sliderRect.width,i=Math.round(n*this.rangeDistance+this.min),s=this.roundToStep(i);if(this.selectedThumb.id==="input-min-thumb"){if(s>this.range[1]){this.range=[this.range[1],this.range[1]];return}if(s<=this.min){this.range=[this.min,this.range[1]];return}this.range=[s,this.range[1]]}if(this.selectedThumb.id==="input-max-thumb"){if(s<this.range[0]){this.range=[this.range[0],this.range[0]];return}if(s>=this.max){this.range=[this.range[0],this.max];return}this.range=[this.range[0],s]}}},onMouseDown(t){var e,r;(e=t.target)!=null&&e.matches(".e-range-slider__thumb, .e-range-slider__tooltip")&&(this.selectedThumb=t.target.closest(".e-range-slider__thumb"),t instanceof PointerEvent&&((r=this.selectedThumb)==null||r.setPointerCapture(t.pointerId)))},onMouseUp(t){var e;this.selectedThumb&&(t instanceof PointerEvent&&((e=this.selectedThumb)==null||e.releasePointerCapture(t.pointerId)),this.selectedThumb=null)},roundToStep(t){let e=Math.round(t/this.step),r=this.step*e,n=t*this.step>0?this.step*(e+1):this.step*(e-1);return Math.abs(t-r)<Math.abs(t-n)?r:n},minutesToTime(t){const e=Math.floor(t/60).toString().padStart(2,"0"),r=(t%60).toString().padStart(2,"0");return`${e}:${r}`}}});var _4=function(){var e=this,r=e._self._c;return r("div",{ref:"slider",staticClass:"e-range-slider",on:{pointerdown:function(n){return n.preventDefault(),e.onMouseDown.apply(null,arguments)},pointerup:function(n){return n.preventDefault(),e.onMouseUp.apply(null,arguments)},pointermove:function(n){return n.preventDefault(),e.onMouseMove.apply(null,arguments)},touchstart:function(n){return n.preventDefault(),e.onMouseDown.apply(null,arguments)},touchend:function(n){return n.preventDefault(),e.onMouseUp.apply(null,arguments)}}},[r("div",{staticClass:"e-range-slider__wrapper"},[r("input",{staticClass:"e-range-slider__input",attrs:{id:"input-min",tabindex:"-1"},domProps:{value:e.range[0]}}),r("input",{staticClass:"e-range-slider__input",attrs:{id:"input-max",tabindex:"-1"},domProps:{value:e.range[1]}}),r("div",{staticClass:"e-range-slider__track"},[r("div",{staticClass:"e-range-slider__bg",style:e.getEmptyRangeStyle()}),r("div",{staticClass:"e-range-slider__bg",style:e.getRangeStyle(e.range)}),r("div",{staticClass:"e-range-slider__bg",style:e.getEmptyRangeStyle(!0)})]),r("div",{staticClass:"e-absolute e-top-1/2 e-range-slider__container",class:{"e-pointer-events-none":e.disabled||e.readonly,"e-cursor-grabbing":e.selectedThumb&&e.selectedThumb.id==="input-min-thumb","hover:e-cursor-grab":!e.disabled&&!e.readonly&&!e.selectedThumb},style:{left:`${e.getPosition(e.range[0])}%`}},[r("div",{staticClass:"e-range-slider__thumb",class:[e.disabled?"e-bg-[#c6c6c6] e-border-[#c6c6c6]":"e-bg-primary e-border-primary"],attrs:{id:"input-min-thumb"}},[e.showTooltip?r("div",{staticClass:"e-range-slider__tooltip",class:[e.dark?"e-text-gray-900":"e-text-white"]},[e._v(" "+e._s(e.getLabel(e.range[0]))+" ")]):e._e()])]),r("div",{staticClass:"e-absolute e-top-1/2",class:{"e-pointer-events-none":e.disabled||e.readonly,"e-cursor-grabbing":e.selectedThumb&&e.selectedThumb.id==="input-max-thumb","hover:e-cursor-grab":!e.disabled&&!e.readonly&&!e.selectedThumb},style:{left:`${e.getPosition(e.range[1])}%`}},[r("div",{staticClass:"e-range-slider__thumb",class:[e.disabled?"e-bg-[#c6c6c6] e-border-[#c6c6c6]":"e-bg-primary e-border-primary"],attrs:{id:"input-max-thumb"}},[e.showTooltip?r("div",{staticClass:"e-range-slider__tooltip",class:[e.dark?"e-text-gray-900":"e-text-white"]},[e._v(" "+e._s(e.getLabel(e.range[1]))+" ")]):e._e()])])])])},C4=[],b4=R(y4,_4,C4,!1,null,null,null,null);const x4=b4.exports,w4=O.extend({name:"EDivider",props:{dark:{type:Boolean,default:!1}}});var S4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("hr",{staticClass:"e-divider",class:[e.dark?"e-border-white/[.12]":"e-border-black/[.12]"]})},T4=[],k4=R(w4,S4,T4,!1,null,null,null,null);const $4=k4.exports,M4=O.extend({name:"ESchedulePicker",components:{ERow:Ur,ECol:Zr,ERangeSlider:x4,EDivider:$4},props:{scheduleType:{type:String,default:"continuous",required:!0},preloadSchedule:{type:[Object,String],default:()=>({}),required:!1},editMode:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},step:{type:Number,default:15}},data(){return{min:0,max:1439,enabledDays:{monday:!0,tuesday:!0,wednesday:!0,thursday:!0,friday:!0,saturday:!0,sunday:!0},schedule:null,hours:[0,1439]}},computed:{isDisabled(){return!this.editMode&&[yt.Continuous,yt.WorkingHours].includes(this.scheduleType)}},watch:{scheduleType:{immediate:!0,handler(){this.schedule=en(ji[this.scheduleType]),this.initEnabledDays(),this.hours=Object.values(this.schedule)[1]}},schedule:{deep:!0,handler(){this.changeSchedule()}}},mounted(){if(Object.keys(this.preloadSchedule).length){let t=typeof this.preloadSchedule=="string"?JSON.parse(this.preloadSchedule):this.preloadSchedule;Object.keys(this.enabledDays).forEach(e=>{var r;this.enabledDays[e]=((r=t[e])==null?void 0:r.length)>0}),this.schedule=en(t),this.hours=Object.values(this.schedule)[1]}},methods:{initEnabledDays(){Object.keys(this.enabledDays).forEach(t=>{this.enabledDays[t]=this.scheduleType===yt.WorkingHours?!["saturday","sunday"].includes(t):!0})},toTextSchedule(){return Object.fromEntries(Object.entries(this.schedule).map(([t,e])=>{if(!(e!=null&&e.length)||!this.enabledDays[t])return[t,[]];{const r=Jr(e[0]),n=Jr(e[1]);return[t,[`${r}-${n}`]]}}))},changeSchedule(){this.$emit("input",this.toTextSchedule())},onHoursChange(t){this.schedule=Object.entries(this.schedule).reduce((e,[r])=>({...e,[r]:t}),{})}}});var E4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-m-2 e-w-full"},[r("ERow",{staticClass:"e-w-full"},[r("ECol",{staticClass:"e-caption",class:[e.dark?"e-text-white":"e-text-gray-900"],attrs:{cols:"2"}},[e._v(" Hours ")]),r("ECol",[r("ERangeSlider",{attrs:{max:e.max,min:e.min,readonly:e.isDisabled,step:e.step,dark:e.dark,"is-time":""},on:{input:e.onHoursChange},model:{value:e.hours,callback:function(n){e.hours=n},expression:"hours"}})],1)],1),r("EDivider",{attrs:{dark:e.dark}}),r("ERow",{staticClass:"e-m-0 e-w-full"},[r("ECol",{staticClass:"e-caption",class:[e.dark?"e-text-white":"e-text-gray-900"],attrs:{cols:"12"}},[e._v(" Days ")])],1),e._l(e.schedule,function(n,i){return r("ERow",{key:i,staticClass:"e-w-full"},[r("ECol",{attrs:{cols:"2"}},[r("div",{staticClass:"e-flex e-items-center e-my-0 e-h-full"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.enabledDays[i],expression:"enabledDays[day]"}],staticClass:"e-w-5 e-h-auto",attrs:{type:"checkbox",disabled:e.isDisabled},domProps:{checked:Array.isArray(e.enabledDays[i])?e._i(e.enabledDays[i],null)>-1:e.enabledDays[i]},on:{change:[function(s){var a=e.enabledDays[i],c=s.target,o=!!c.checked;if(Array.isArray(a)){var l=null,d=e._i(a,l);c.checked?d<0&&e.$set(e.enabledDays,i,a.concat([l])):d>-1&&e.$set(e.enabledDays,i,a.slice(0,d).concat(a.slice(d+1)))}else e.$set(e.enabledDays,i,o)},e.changeSchedule]}}),r("label",{staticClass:"e-ml-2",class:[e.dark?"e-text-white":"e-text-gray-900"]},[e._v(" "+e._s(i[0].toUpperCase())+" ")])])]),r("ECol",[r("ERangeSlider",{attrs:{max:e.max,min:e.min,disabled:!e.enabledDays[i],readonly:e.isDisabled,step:e.step,dark:e.dark,"is-time":""},on:{input:e.changeSchedule},model:{value:e.schedule[i],callback:function(s){e.$set(e.schedule,i,s)},expression:"schedule[day]"}})],1)],1)})],2)},L4=[],D4=R(M4,E4,L4,!1,null,null,null,null);const us=D4.exports,ds=O.extend({mixins:[He,Ze],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())}}}),hs=Object.freeze(Object.defineProperty({__proto__:null,eventListeners:He,formField:Ht,inactivityListener:ds,selectFormField:St,timeouts:Ze,toggleOpen:Nt},Symbol.toStringTag,{value:"Module"})),P4=O.extend({name:"EPopover",directives:{ClickOutside:sn},mixins:[Nt],props:{dark:{type:Boolean,default:!1},label:{type:String,default:"Click to open"},panelSide:{type:String,default:"center"},panelClasses:{type:[Object,String,Array],default:()=>({})},autoPosition:{type:Boolean,default:!1}},data(){return{shouldOpenUpward:!1}},computed:{panelThemeClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"right-0":this.panelSide==="right","left-0":this.panelSide==="left"}},panelPositionClass(){return this.autoPosition?this.shouldOpenUpward?"e-bottom-[100%]":"e-top-[100%]":void 0}},watch:{isOpen(t){t&&this.autoPosition&&(this.shouldOpenUpward=!1,this.$nextTick(()=>{this.calculatePosition()}))}},methods:{closePopover(){this.isOpen=!1,this.autoPosition&&(this.shouldOpenUpward=!1)},calculatePosition(){const t=this.$refs.panelMenu;if(!t)return;const e=this.findScrollableParent(t),r=e.scrollHeight>e.clientHeight,n=t.getBoundingClientRect(),i=window.innerHeight,s=n.bottom>i;this.shouldOpenUpward=s||r},findScrollableParent(t){let e=t.parentElement;for(;e;){const r=window.getComputedStyle(e).overflowY;if(r==="auto"||r==="scroll")return e;e=e.parentElement}return document.documentElement}}}),gh="";var z4=function(){var e=this,r=e._self._c;return r("div",e._b({directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closePopover,expression:"closePopover"}],ref:"popoverWrapper",staticClass:"e-popover__wrapper e-relative e-w-full"},"div",e.$attrs,!1),[e._t("trigger",function(){return[r("div",e._g(e._b({ref:"triggerButton",staticClass:"e-popover__trigger-button e-relative e-w-full e-rounded e-py-2 e-leading-5 e-cursor-pointer e-h-[40px] e-flex e-justify-center e-items-center",attrs:{role:"button"},on:{click:e.toggleOpen}},"div",e.$attrs,!1),e.$listeners),[e._t("trigger-button-content",function(){return[r("span",[e._v(" "+e._s(e.label)+" ")])]})],2)]},{toggle:e.toggleOpen,isOpen:e.isOpen}),e.isOpen?r("div",e._b({ref:"panelMenu",staticClass:"e-popover__menu-wrapper e-absolute e-bg-gray-800 e-z-[5] e-min-w-[160px] e-w-full e-min-h-12 e-max-h-72 e-overflow-auto e-text-sm e-rounded-md e-scrollbar-thin e-scrollbar-thumb-rounded-full e-scrollbar-track-rounded-full e-scrollbar-thumb-gray-400 shadow-2xl focus:e-outline-none sm:e-text-sm",class:[e.panelThemeClasses,e.panelClasses,e.panelPositionClass]},"div",e.$attrs,!1),[e._t("panel",function(){return[e._t("default")]},{toggleOpen:e.toggleOpen,isOpen:e.isOpen})],2):e._e()],2)},O4=[],B4=R(P4,z4,O4,!1,null,"74fdaf19",null,null);const jt=B4.exports,I4=O.extend({name:"ECheckbox",components:{EIcon:Be},props:{checked:{type:Boolean,default:!1}}}),vh="";var F4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",e._g(e._b({staticClass:"e-select-checkbox e-box-border e-w-4 e-h-4 e-rounded e-flex e-items-center e-justify-center e-align-middle e-border-solid e-border-2",class:{"e-border-gray-500":!e.checked,"e-bg-[#1976d2] e-border-[#1976d2]":e.checked},staticStyle:{"border-radius":"2px"}},"div",e.$attrs,!1),e.$listeners),[e.checked?r("EIcon",{attrs:{icon:"far fa-check",color:"e-text-white",size:"xs"}}):e._e()],1)},R4=[],A4=R(I4,F4,R4,!1,null,"c5642bf0",null,null);const H4=A4.exports,N4=O.extend({name:"ESelect",components:{ECheckbox:H4,EIcon:Be,EPopover:jt},directives:{ResizeObserver:Ue},mixins:[St],props:{dark:{type:Boolean,default:!1},withSelectAll:{type:Boolean,default:!1},customSelectionLabel:{type:String,default:""},name:{type:String,default:"Items"},label:{type:String,default:"Select an option"},withCheckbox:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{type:String,default:"Type to search..."},withSearchQueryVisible:{type:Boolean,default:!1}},data(){return{searchQuery:"",menuStyle:{}}},computed:{customLabel(){return this.multiple&&Array.isArray(this.value)&&this.value.length===0||!this.multiple&&(this.value===null||this.value===void 0)?this.label:this.multiple&&this.customSelectionLabel.length>0?this.customSelectionLabel:this.localLabel||this.label},filteredOptions(){if(!this.searchQuery)return this.options;const t=this.searchQuery.toLowerCase().trim();return this.options.filter(e=>e.label.toLowerCase().includes(t))},scrollbarClasses(){return{"e-scrollbar-track-gray-800 e-scrollbar-thumb-gray-500":this.dark,"e-scrollbar-track-white e-scrollbar-thumb-gray-400":!this.dark}},showSearchClearButton(){return(this.searchQuery.length>0||this.isAtLeastOneSelected)&&this.searchable&&!this.disabled}},methods:{handleTriggerClick(t,e){this.disabled||(e(t),this.$nextTick(()=>{const r=this.$refs.searchInput;r&&r.focus()}),this.withSearchQueryVisible&&(this.searchQuery=this.getOptionByValue(this.value).label||""))},handleMenuStyle(){const t=this.$refs.ESelectWrapper;this.menuStyle={maxWidth:`${t==null?void 0:t.clientWidth}px`,minWidth:"160px"}},clearSearch(){this.searchQuery="",this.$emit("input",this.multiple?[]:null);const t=this.$refs.searchInput;t&&t.focus()}}}),yh="";var j4=function(){var e=this,r=e._self._c;return r("EPopover",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.handleMenuStyle,expression:"handleMenuStyle"}],attrs:{dark:e.dark},scopedSlots:e._u([{key:"trigger",fn:function({isOpen:n,toggle:i}){return[e._t("activator",function(){return[r("div",{staticClass:"e-select__trigger-button e-relative e-w-full e-min-h-[40px] e-rounded e-border e-border-solid e-py-2 e-pl-3 e-leading-5 e-cursor-pointer e-max-h-[40px] e-flex e-items-center e-bg-gray-900",class:[e.radioItemClasses,e.dark?"_dark":"_light",{"e-select--open":n}],attrs:{id:`e-select-trigger-${Date.now()}`,"data-test-id":`select-trigger-${Date.now()}`,role:"button"},on:{click:s=>e.handleTriggerClick(s,i)}},[n&&e.searchable?r("div",{staticClass:"e-select__search-input-wrapper e-flex e-items-center e-gap-2 e-w-full e-mr-10"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.searchQuery,expression:"searchQuery"}],ref:"searchInput",staticClass:"e-select__search-input e-w-full e-h-6 e-bg-transparent placeholder:e-text-sm e-text-sm e-outline-none e-border-none",class:{"e-text-white placeholder:e-text-gray-400":e.dark,"e-text-gray-700 placeholder:e-text-gray-500":!e.dark},attrs:{placeholder:e.searchPlaceholder,type:"text"},domProps:{value:e.searchQuery},on:{click:function(s){s.stopPropagation()},input:function(s){s.target.composing||(e.searchQuery=s.target.value)}}})]):[e.multiple&&e.selectedOption.length===0||!e.selectedOption?e._t("label",function(){return[e.customLabel&&!e.searchable?r("span",{staticClass:"e-select-label e-text-sm"},[e._v(e._s(e.customLabel))]):r("span",{staticClass:"e-select-label e-text-sm e-text-gray-400"},[e._v(e._s(e.searchPlaceholder))])]}):e._t("selection",function(){return[r("span",{staticClass:"e-capitalize e-select__trigger-button-text e-truncate"},[e._v(" "+e._s(e.customLabel)+" ")])]})],e.showSearchClearButton?r("button",{staticClass:"e-select__clean-search-button e-flex e-bg-transparent e-z-[2] e-absolute e-right-10 e-cursor-pointer e-border-none e-items-center e-justify-center e-w-5 e-h-5",on:{click:function(s){return s.stopPropagation(),e.clearSearch.apply(null,arguments)}}},[r("EIcon",{attrs:{color:"e-text-gray-400 hover:e-text-[#1976d2]",icon:"far fa-xmark",size:"lg"}})],1):e._e(),e._t("pre-append-icon",function(){return[r("span",{staticClass:"e-select__trigger-button-icon e-absolute e-inset-y-0 e-right-0 e-flex e-items-center e-justify-end e-px-3 e-pr-4 e-bg-transparent e-border-transparent e-text-gray-400"},[r("EIcon",{attrs:{icon:n?"fas fa-sort-up e-mt-2.5":"fas fa-sort-down e-mb-1.5"}})],1)]})],2)]},{attrs:{class:e.radioItemClasses,isOpen:n},on:{click:i}})]}},{key:"panel",fn:function(){return[e.multiple&&e.withSelectAll?r("div",{staticClass:"e-select__menu-check-all-wrapper e-relative e-cursor-pointer e-select-none e-p-2",on:{click:function(n){return e.toggleSelectAll(n)}}},[r("div",{staticClass:"e-select__menu-check-all e-flex e-justify-start e-items-center e-gap-2 e-p-1 e-w-full",class:{"e-text-[#1976d2] ":e.isAllSelected&&!e.dark,"e-text-[#61b0ff]":e.isAllSelected&&e.dark}},[r("ECheckbox",{attrs:{checked:e.isAllSelected},on:{click:function(n){return e.toggleSelectAll(n)}}}),r("span",{staticClass:"e-capitalize e-select__menu-check-all-text e-text-sm e-font-medium"},[e._v(" All "+e._s(e.name||"")+" ")])],1)]):e._e(),e.multiple&&e.withSelectAll?r("hr",{staticClass:"e-border-0 e-h-px e-m-0",class:{"e-bg-gray-700":e.dark,"e-bg-gray-200":!e.dark}}):e._e(),e._l(e.filteredOptions,function(n,i){return r("div",{key:i,staticClass:"e-select__menu-item-wrapper e-relative e-select-none e-p-2",class:[e.containerClasses(n),{"hover:e-bg-gray-700":e.dark&&!e.isSelected(n.value)," hover:e-bg-gray-100":!e.dark&&!e.isSelected(n.value)}],attrs:{id:`select-item-${n.value}`,"data-test-id":`select-item-${i}`},on:{click:function(s){return e.onItemClick(n.value,s)}}},[r("div",{staticClass:"e-select__menu-item e-flex e-justify-start e-items-center e-gap-2 e-p-1 e-w-i"},[e.withCheckbox||e.multiple?r("ECheckbox",{attrs:{checked:e.isSelected(n.value)},on:{click:function(s){return e.onItemClick(n.value,s)}}}):e._e(),e._t("item",function(){return[r("span",{staticClass:"e-select__menu-item-text e-block e-text-sm e-font-medium"},[e._v(" "+e._s(n.label)+" ")])]},{item:n,isSelected:e.isSelected(n.value)})],2)])}),e.filteredOptions.length===0?r("div",{staticClass:"e-select__no-values-box e-p-4 e-text-center e-text-gray-500"},[e._v(" No results found ")]):e._e()]},proxy:!0}],null,!0)})},q4=[],W4=R(N4,j4,q4,!1,null,null,null,null);const mn=W4.exports,G4=O.extend({name:"ESchedule",components:{ESelect:mn,EPopover:jt,EIcon:Be},directives:{ResizeObserver:Ue},props:{schedule:{type:Object,default:null},templates:{type:Array,default:()=>[{label:"Daily 7 AM - 7 PM (All Days)",value:"07:00-19:00"},{label:"Weekly 7 AM - 7 PM (Weekdays Only)",value:"07:00-19:00|weekdays"},{label:"Business Hours (8:00 - 18:00)",value:"08:00-18:00"},{label:"Business Hours - Weekdays (9:00 - 17:00)",value:"09:00-17:00|weekdays"},{label:"Morning Shift (6:00 - 14:00)",value:"06:00-14:00"},{label:"Extended Hours (7:00 - 20:00)",value:"07:00-20:00"},{label:"Evening Shift (14:00 - 22:00)",value:"14:00-22:00"},{label:"Night Shift (22:00 - 06:00)",value:"22:00-06:00"},{label:"24/7 Operation",value:"00:00-23:59"}]},withTemplateSelector:{type:Boolean,default:!0}},data(){return{rowHeightPx:48,segmentsContainerRect:null,editing:null,creating:null,internalDays:[],selectedTemplate:null,savedDaysState:null,defaultSchedule:{1:["07:00-19:00"],2:["07:00-19:00"],3:["07:00-19:00"],4:["07:00-19:00"],5:["07:00-19:00"],6:["07:00-19:00"],7:["07:00-19:00"]}}},computed:{isIdle(){return!(this.creating||this.editing)},sortedDays(){return this.internalDays.slice().sort((t,e)=>t.day<e.day?-1:1)},segmentsContainerStyles(){return this.segmentsContainerRect?{width:`${this.segmentsContainerRect.width}px`,height:`${this.segmentsContainerRect.height}px`,top:`${this.segmentsContainerRect.top}px`,left:`${this.segmentsContainerRect.left}px`}:{}},pixelsPerHour(){return this.segmentsContainerRect?this.segmentsContainerRect.width/24:0}},watch:{schedule:{immediate:!0,handler(t){var r;const e=(r=Object.entries(t||{}))!=null&&r.length?t:this.defaultSchedule;this.internalDays=Object.entries(e).map(([n,i])=>{const s=parseInt(n,10)-1,a=[];return i.forEach(c=>{const[o,l]=c.split("-"),d=this.normalizeTime(o),h=this.normalizeTime(l),{hours:m,minutes:C}=this.parseTime(d),{hours:b,minutes:p}=this.parseTime(h),v=m+C/60;b+p/60<v?(a.push({startTime:d,endTime:"23:59"}),a.push({startTime:"00:00",endTime:h})):a.push({startTime:d,endTime:h})}),{day:s,segments:a}})}},isIdle(t){t&&this.emitChangeEvent()}},mounted(){this.$nextTick(()=>{this.onResize()})},methods:{applyTemplateToAll(){if(!this.selectedTemplate)return;const[t,e]=this.selectedTemplate.split("|"),[r,n]=t.split("-"),{hours:i,minutes:s}=this.parseTime(r),{hours:a,minutes:c}=this.parseTime(n),o=i+s/60,d=a+c/60<o;this.internalDays=this.internalDays.map(h=>e==="weekdays"?h.day>=0&&h.day<=4?d?{...h,segments:[{startTime:r,endTime:"23:59"},{startTime:"00:00",endTime:n}]}:{...h,segments:[{startTime:r,endTime:n}]}:{...h,segments:[]}:d?{...h,segments:[{startTime:r,endTime:"23:59"},{startTime:"00:00",endTime:n}]}:{...h,segments:[{startTime:r,endTime:n}]}),this.emitChangeEvent()},applySegmentsToFilteredDays(t,e,r=()=>!0){const n=JSON.parse(JSON.stringify(this.sortedDays[t].segments));this.internalDays=this.internalDays.map(i=>r(i.day)?{...i,segments:n}:i),this.emitChangeEvent(),e()},applyToAllDays(t,e){this.applySegmentsToFilteredDays(t,e)},applyToWeekdays(t,e){this.applySegmentsToFilteredDays(t,e,r=>r>=0&&r<=4)},applyToWeekends(t,e){this.applySegmentsToFilteredDays(t,e,r=>r===5||r===6)},formatDayFull(t){return["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"][t]},formatHourLabel(t){return`${t.toString().padStart(2,"0")}h`},getSegmentLabel(t){return`${t.startTime} - ${t.endTime}`},normalizeTime(t){return t==="24:00"?"23:59":t},getFormattedSchedule(){const t={};return this.internalDays.forEach(e=>{const r=(e.day+1).toString();t[r]=e.segments.map(n=>{const i=this.normalizeTime(n.startTime),s=this.normalizeTime(n.endTime);return`${i}-${s}`})}),t},parseTime(t){const[e,r]=t.split(":").map(n=>parseInt(n,10));return{hours:e,minutes:r}},padTime(t){let e=Math.round(t*60);e=Math.max(0,Math.min(e,1439));const r=Math.floor(e/60),n=e%60;return`${r.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`},roundToFive(t){const e=t*60;if(e>=1437)return 1439/60;const r=Math.round(e/5)*5;return Math.max(0,Math.min(r,1435))/60},calculateBarStyle(t,e,r){const{hours:n,minutes:i}=this.parseTime(e),{hours:s,minutes:a}=this.parseTime(r),c=n+i/60,l=s+a/60-c,d=c/24*100,h=l/24*100,m=t*this.rowHeightPx,C=this.rowHeightPx*.7,b=(this.rowHeightPx-C)/2;return{position:"absolute",top:`${m+b}px`,left:`calc(${d}% + 1px)`,width:`calc(${h}% - 2px)`,height:`${C}px`}},onResize(){const t=this.$refs.table;if(!t)return;const e=t.querySelector("tbody");if(!e)return;const r=e.querySelector("tr");r&&(this.rowHeightPx=r.getBoundingClientRect().height);const n=Array.from(t.querySelectorAll(".time-cell"));if(!n.length)return;const i=n[0].getBoundingClientRect(),s=n.slice(-24),a=s[s.length-1].getBoundingClientRect(),c=t.getBoundingClientRect();this.segmentsContainerRect={top:i.top-c.top,left:i.left-c.left,width:a.right-i.left,height:a.bottom-i.top}},onResizeHandleMouseDown(t,e,r,n){this.startEditingSegment(t,e,r,n)},onSegmentMouseDown(t,e,r){this.startEditingSegment(t,e,r,"move")},startEditingSegment(t,e,r,n){if(t.preventDefault(),t.stopPropagation(),!this.segmentsContainerRect)return;const i=this.sortedDays[e].segments[r],{hours:s,minutes:a}=this.parseTime(i.startTime),{hours:c,minutes:o}=this.parseTime(i.endTime),l=s+a/60,d=c+o/60;this.savedDaysState=JSON.parse(JSON.stringify(this.internalDays)),this.editing={dayIndex:e,segmentIndex:r,type:n,startMouseX:t.clientX,origStartFrac:l,origEndFrac:d,origStartTime:i.startTime,origEndTime:i.endTime,isMultiDay:t.shiftKey},document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)},onMouseMove(t){if(!this.editing||!this.segmentsContainerRect)return;t.preventDefault();const{dayIndex:e,segmentIndex:r,type:n,startMouseX:i,origStartFrac:s,origEndFrac:a,origStartTime:c,origEndTime:o,isMultiDay:l}=this.editing,h=(t.clientX-i)/this.pixelsPerHour;let m=s,C=a;n==="move"?(m=s+h,C=a+h):n==="resize-left"?m=s+h:n==="resize-right"&&(C=a+h);const b=.25;n==="resize-left"&&C-m<b&&(m=C-b),n==="resize-right"&&C-m<b&&(C=m+b),m=this.roundToFive(Math.max(0,Math.min(m,1439/60))),C=this.roundToFive(Math.max(0,Math.min(C,1439/60)));const p={startTime:this.padTime(m),endTime:this.padTime(C)},v=this.sortedDays[e].day,E=l&&this.savedDaysState?this.savedDaysState:this.internalDays;this.internalDays=E.map(T=>{if(T.day===v)return{...T,segments:T.segments.map((H,L)=>L===r?p:H)};if(l&&this.savedDaysState){const H=T.segments.filter(L=>!(L.startTime===c&&L.endTime===o));return{...T,segments:[...H,p]}}return T})},onMouseUp(){document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),this.editing=null,this.savedDaysState=null,this.mergeOverlappingSegments()},deleteSegment(t,e){const r=this.sortedDays[t].day;this.internalDays=this.internalDays.map(n=>{if(n.day!==r)return n;const i=n.segments.filter((s,a)=>a!==e);return{...n,segments:i}}),this.emitChangeEvent()},onBackgroundMouseDown(t){if(t.target.closest(".segment"))return;t.preventDefault();const r=this.$refs.overlay;if(!r)return;const n=r.getBoundingClientRect(),i=t.clientY-n.top,s=Math.floor(i/this.rowHeightPx);if(s<0||s>=this.sortedDays.length)return;let a=(t.clientX-n.left)/this.pixelsPerHour;a=Math.max(0,Math.min(a,1439/60)),this.creating={startDayIndex:s,currentDayIndex:s,startFrac:a,currentFrac:a,isMultiDay:t.shiftKey},document.addEventListener("mousemove",this.onCreateMouseMove),document.addEventListener("mouseup",this.onCreateMouseUp)},onCreateMouseMove(t){if(!this.creating||!this.segmentsContainerRect)return;t.preventDefault();const e=this.$refs.overlay;if(!e)return;const r=e.getBoundingClientRect();let n=(t.clientX-r.left)/this.pixelsPerHour;n=Math.max(0,Math.min(n,1439/60)),this.creating.currentFrac=n;const i=t.clientY-r.top;let s=Math.floor(i/this.rowHeightPx);s=Math.max(0,Math.min(s,this.sortedDays.length-1)),this.creating.currentDayIndex=s,this.creating.isMultiDay=t.shiftKey},onCreateMouseUp(){if(!this.creating)return;const{startDayIndex:t,currentDayIndex:e,startFrac:r,currentFrac:n,isMultiDay:i}=this.creating;let s=Math.min(r,n),a=Math.max(r,n);if(a-s<.25){this.cleanupCreate();return}const c=this.roundToFive(s),o=this.roundToFive(a),l={startTime:this.padTime(c),endTime:this.padTime(o)},d=this.sortedDays.map(m=>m.day).slice(Math.min(t,e),Math.max(t,e)+1),h=i?this.internalDays.map(m=>m.day):d;this.internalDays=this.internalDays.map(m=>h.includes(m.day)?{...m,segments:[...m.segments,l]}:m),this.cleanupCreate(),this.mergeOverlappingSegments()},cleanupCreate(){document.removeEventListener("mousemove",this.onCreateMouseMove),document.removeEventListener("mouseup",this.onCreateMouseUp),this.creating=null},calculateMultiDayStyle(t,e,r,n){const i=Math.min(r,n)/24*100,s=(Math.max(r,n)-Math.min(r,n))/24*100,a=Math.min(t,e),o=Math.max(t,e)-a+1,l=this.rowHeightPx*.7,d=(this.rowHeightPx-l)/2,h=a*this.rowHeightPx+d,m=o*this.rowHeightPx-(this.rowHeightPx-l);return{position:"absolute",top:`${h}px`,left:`calc(${i}% + 1px)`,width:`calc(${s}% - 2px)`,height:`${m}px`}},mergeOverlappingSegments(){this.internalDays=this.internalDays.map(t=>{const e=t.segments.map(i=>{const{hours:s,minutes:a}=this.parseTime(i.startTime),{hours:c,minutes:o}=this.parseTime(i.endTime);let l=s+a/60,d=c+o/60;return d<l&&(d+=24),{start:l,end:d}});e.sort((i,s)=>i.start-s.start);const r=[];for(const i of e)if(!r.length)r.push({...i});else{const s=r[r.length-1];i.start<=s.end+1e-6?s.end=Math.max(s.end,i.end):r.push({...i})}const n=r.map(i=>{let s=i.start,a=i.end;return a>=24&&(a=1439/60),{startTime:this.padTime(this.roundToFive(s)),endTime:this.padTime(this.roundToFive(a))}});return{day:t.day,segments:n}})},emitChangeEvent(){this.mergeOverlappingSegments(),this.$emit("change",this.getFormattedSchedule())}}}),_h="";var U4=function(){var e=this,r=e._self._c;return r("div",{ref:"mainContainer",staticClass:"e-bg-white e-p-5 e-rounded-lg e-overflow-visible"},[e.withTemplateSelector?r("div",{staticClass:"e-flex e-justify-end e-items-center e-gap-3 e-pb-4 e-overflow-visible"},[r("label",{staticClass:"e-font-semibold e-text-sm e-text-gray-700"},[e._v("Template:")]),r("div",{staticClass:"e-flex-1 e-max-w-xs e-relative e-z-10"},[r("ESelect",{attrs:{"set-initial-value":!1,options:e.templates,dark:!1,label:"Select a template..."},on:{input:e.applyTemplateToAll},model:{value:e.selectedTemplate,callback:function(n){e.selectedTemplate=n},expression:"selectedTemplate"}})],1)]):e._e(),r("div",{staticClass:"table-wrapper e-relative e-overflow-x-auto e-overflow-y-visible e-border e-border-solid e-border-gray-200 e-rounded-lg"},[r("table",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"table",staticClass:"schedule-table e-w-full e-bg-white"},[r("thead",[r("tr",{staticClass:"e-bg-gray-50"},[r("th",{staticClass:"day-header e-sticky e-left-0 e-z-[5] e-py-3 e-px-4 e-text-left e-font-semibold e-text-xs e-text-gray-700 e-whitespace-nowrap e-bg-gray-50"},[e._v(" Day ")]),e._l(24,function(n){return r("th",{key:n,staticClass:"hour-header e-py-3 e-px-1 e-text-center e-font-medium e-text-[11px] e-text-gray-500 e-min-w-[40px]"},[e._v(" "+e._s(e.formatHourLabel(n-1))+" ")])}),r("th",{staticClass:"actions-header e-py-3 e-px-4 e-text-center e-font-semibold e-text-xs e-text-gray-700 e-whitespace-nowrap e-bg-gray-50"},[e._v(" Actions ")])],2)]),r("tbody",e._l(e.sortedDays,function(n,i){return r("tr",{key:n.day,staticClass:"day-row"},[r("td",{staticClass:"day-cell e-py-3 e-px-4 e-whitespace-nowrap e-sticky e-left-0 e-bg-white e-z-[5] first:e-bg-gray-50"},[r("span",{staticClass:"e-font-medium e-text-sm e-text-gray-900"},[e._v(e._s(e.formatDayFull(n.day)))])]),e._l(24,function(s){return r("td",{key:s,staticClass:"time-cell e-min-w-[40px] e-h-12 e-relative"})}),r("td",{staticClass:"actions-cell e-p-2 e-text-center e-bg-white e-relative"},[r("EPopover",{attrs:{dark:!1,"panel-side":"right","panel-classes":"actions-popover-panel","auto-position":""},scopedSlots:e._u([{key:"trigger",fn:function({toggle:s}){return[r("button",{staticClass:"e-px-3 e-py-1.5 e-bg-transparent e-border e-border-solid e-border-transparent e-rounded e-cursor-pointer e-transition-all hover:e-bg-gray-100 hover:e-border-gray-200",on:{click:s}},[r("EIcon",{attrs:{icon:"fa-ellipsis-vertical",color:"e-text-gray-500"}})],1)]}},{key:"panel",fn:function({toggleOpen:s}){return[r("button",{staticClass:"e-block e-w-full e-px-4 e-py-2.5 e-text-left e-text-sm e-text-gray-700 e-bg-transparent e-border-none e-cursor-pointer e-transition-colors e-whitespace-nowrap hover:e-bg-gray-100",on:{click:function(a){return e.applyToAllDays(i,s)}}},[e._v(" Apply to all days ")]),r("button",{staticClass:"e-block e-w-full e-px-4 e-py-2.5 e-text-left e-text-sm e-text-gray-700 e-bg-transparent e-border-none e-cursor-pointer e-transition-colors e-whitespace-nowrap hover:e-bg-gray-100",on:{click:function(a){return e.applyToWeekdays(i,s)}}},[e._v(" Apply to weekdays ")]),r("button",{staticClass:"e-block e-w-full e-px-4 e-py-2.5 e-text-left e-text-sm e-text-gray-700 e-bg-transparent e-border-none e-cursor-pointer e-transition-colors e-whitespace-nowrap hover:e-bg-gray-100",on:{click:function(a){return e.applyToWeekends(i,s)}}},[e._v(" Apply to weekends ")])]}}],null,!0)})],1)],2)}),0)]),e.segmentsContainerRect?r("div",{ref:"overlay",staticClass:"e-absolute e-pointer-events-auto e-cursor-crosshair",style:e.segmentsContainerStyles,on:{mousedown:e.onBackgroundMouseDown}},[e._l(e.sortedDays,function(n,i){return r("div",{key:n.day},e._l(n.segments,function(s,a){return r("div",{key:s.startTime+"-"+s.endTime,staticClass:"segment e-bg-blue-500 e-rounded e-cursor-grab e-flex e-items-center e-justify-center e-transition-colors hover:e-bg-blue-600 active:e-cursor-grabbing",style:e.calculateBarStyle(i,s.startTime,s.endTime),on:{mousedown:function(c){return c.stopPropagation(),e.onSegmentMouseDown(c,i,a)}}},[r("div",{staticClass:"resize-handle resize-handle-left e-absolute e-left-0 e-w-3 e-h-auto e-cursor-ew-resize e-z-10 e-opacity-0 e-transition-opacity e-flex e-items-center e-justify-center e-pointer-events-auto e-text-white",on:{mousedown:function(c){return c.stopPropagation(),e.onResizeHandleMouseDown(c,i,a,"resize-left")}}},[r("EIcon",{attrs:{icon:"fa-grip-vertical",size:"xs"}})],1),r("div",{staticClass:"resize-handle resize-handle-right e-absolute e-right-0 e-w-3 e-h-auto e-cursor-ew-resize e-z-10 e-opacity-0 e-transition-opacity e-flex e-items-center e-justify-center e-pointer-events-auto e-text-white",on:{mousedown:function(c){return c.stopPropagation(),e.onResizeHandleMouseDown(c,i,a,"resize-right")}}},[r("EIcon",{attrs:{icon:"fa-grip-vertical",size:"xs"}})],1),r("button",{staticClass:"delete-btn e-hidden e-absolute e-top-1/2 e-right-5 -e-translate-y-1/2 e-w-6 e-h-6 e-border-none e-rounded e-bg-transparent e-text-white e-text-xl e-font-bold e-leading-none e-cursor-pointer e-z-20 e-items-center e-justify-center hover:e-bg-blue-500",on:{click:function(c){return c.stopPropagation(),e.deleteSegment(i,a)}}},[r("EIcon",{attrs:{icon:"fa-xmark",size:"lg"}})],1),r("div",{staticClass:"e-text-xs e-text-white e-font-medium e-text-center e-pointer-events-none e-select-none",domProps:{innerHTML:e._s(e.getSegmentLabel(s))}})])}),0)}),e.creating?r("div",{staticClass:"segment e-rounded e-cursor-grab e-flex e-items-center e-justify-center e-bg-blue-500/30 e-border e-border-dashed e-border-blue-500",style:e.calculateMultiDayStyle(e.creating.startDayIndex,e.creating.currentDayIndex,e.creating.startFrac,e.creating.currentFrac)},[r("div",{staticClass:"e-text-xs e-text-white e-font-medium e-text-center e-pointer-events-none e-select-none"},[e._v(" "+e._s(e.padTime(e.roundToFive(Math.min(e.creating.startFrac,e.creating.currentFrac))))+" - "+e._s(e.padTime(e.roundToFive(Math.max(e.creating.startFrac,e.creating.currentFrac))))+" "),e.creating.isMultiDay?r("div",{staticClass:"e-text-[10px] e-opacity-80 e-mt-0.5"},[e._v(" (Shift: Apply to all days) ")]):e._e()])]):e._e()],2):e._e()]),r("div",{staticClass:"e-mt-3 e-text-xs e-text-gray-500 e-text-center"},[e._v(" Hold Shift to apply schedule to all days ")])])},Z4=[],X4=R(G4,U4,Z4,!1,null,"55976485",null,null);const ps=X4.exports,Y4=O.extend({name:"EStepper",components:{EIcon:Be},props:{steps:{type:Array,required:!0},initialStep:{type:Number,default:0},dark:{type:Boolean,default:!0},orientation:{type:String,default:"horizontal"}},data(){return{currentStep:0,transitionDirection:"forward"}},computed:{currentStepComponent(){return(this.steps[this.currentStep]||{}).component},isLastStep(){return this.currentStep===this.steps.length-1},canGoBack(){return this.currentStep>0},canGoNext(){return!0},stepperClasses(){return{[`e-stepper--${this.orientation}`]:!0,"e-text-slate-300":this.dark,"e-text-slate-700":!this.dark}},layoutClasses(){return this.orientation==="vertical"?"e-flex e-gap-8":"e-flex e-flex-col"},navigationClasses(){return this.orientation==="horizontal"?"e-mb-8":"e-flex-shrink-0 e-max-w-[20rem]"},stepsContainerClasses(){return this.orientation==="horizontal"?"e-relative e-flex e-justify-center e-items-center":"e-flex e-flex-col e-gap-8"},stepItemClasses(){return this.orientation==="horizontal"?"e-w-full":"e-w-full e-flex e-text-start e-gap-2.5"},stepIndicatorContainerClasses(){return this.orientation==="horizontal"?"e-relative e-flex e-justify-center":"e-relative"},stepContentClasses(){return this.orientation==="horizontal"?"e-mt-3":"e-mt-2.5"},transitionName(){return this.orientation==="vertical"?(this.transitionDirection==="forward","fade"):this.transitionDirection==="forward"?"slide-left":"slide-right"}},created(){this.currentStep=Math.max(0,Math.min(this.initialStep,this.steps.length-1))},mounted(){this.focusStepHeading()},methods:{isStepCompleted(t){return this.currentStep>t},goNext(){if(this.currentStep<this.steps.length-1){const t=this.currentStep;this.transitionDirection="forward",this.currentStep=this.currentStep+1,this.$emit("step-changed",{from:t,to:this.currentStep,direction:this.transitionDirection}),this.$nextTick(()=>{this.focusStepHeading()})}else if(this.isLastStep)return},goBack(){if(!this.canGoBack)return;const t=this.currentStep;this.transitionDirection="backward",this.currentStep=this.currentStep-1,this.$emit("step-changed",{from:t,to:this.currentStep,direction:this.transitionDirection}),this.$nextTick(()=>{this.focusStepHeading()})},focusStepHeading(){const t=this.$refs.stepHeading;t&&t.focus()},next(){this.goNext()},prev(){this.goBack()},reset(){this.currentStep=0},getStepButtonClasses(t){return this.isStepCompleted(t)?"e-bg-primary e-text-white":this.currentStep===t?"e-bg-blue-400 e-text-white":this.dark?"e-bg-gray-700 e-text-gray-300":"e-bg-gray-400 e-text-white"},getHorizontalConnectorClasses(t){return this.currentStep>t?"e-bg-primary":this.dark?"e-bg-slate-600":"e-bg-slate-300"},getVerticalConnectorClasses(t){return this.currentStep>t?"e-bg-primary":this.dark?"e-bg-slate-600":"e-bg-slate-300"},getStepTitleClasses(t){return t===this.currentStep?"e-text-primary":this.isStepCompleted(t)?"e-text-blue-500":this.dark?"e-text-gray-300":"e-text-gray-700"},getStepDescriptionClasses(){return this.dark?"e-text-slate-400":"e-text-slate-500"}}}),Ch="";var V4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-stepper__container e-w-full e-p-4",class:e.stepperClasses},[r("div",{class:e.layoutClasses},[r("nav",{staticClass:"e-stepper__navigation",class:e.navigationClasses},[r("div",{class:e.stepsContainerClasses},e._l(e.steps,function(n,i){return r("div",{key:i,staticClass:"e-stepper__navigation-item e-group e-text-center e-relative",class:e.stepItemClasses},[r("div",{class:e.stepIndicatorContainerClasses},[r("div",{staticClass:"e-flex e-rounded-full e-text-center e-align-middle e-items-center e-justify-center e-font-semibold e-size-10 e-text-base e-border-0 e-transition-all e-duration-200 e-ease-out",class:e.getStepButtonClasses(i)},[e.isStepCompleted(i)&&n.completedIcon?r("EIcon",{attrs:{icon:n.completedIcon}}):n.icon?r("EIcon",{attrs:{icon:n.icon}}):r("span",[e._v(" "+e._s(i+1)+" ")])],1),e.orientation==="horizontal"&&i<e.steps.length-1?r("div",{staticClass:"e-stepper__navigation-connector--horizontal e-absolute e-rounded-full e-top-[calc(50%-2px)] e-h-0.5 e-start-[calc(50%+28px)] e-end-[calc(-50%+28px)]",class:e.getHorizontalConnectorClasses(i)}):e._e(),e.orientation==="vertical"&&i<e.steps.length-1?r("div",{staticClass:"e-stepper__navigation-connector--vertical e-absolute e-rounded-full e-start-[calc(50%-2px)] e-w-0.5 e-top-[46px] e-bottom-[-27px]",class:e.getVerticalConnectorClasses(i)}):e._e()]),r("div",{staticClass:"e-stepper__navigation-content",class:e.stepContentClasses},[e._t("title",function(){return[r("div",{staticClass:"e-block e-text-base e-font-semibold e-leading-tight",class:e.getStepTitleClasses(i)},[e._v(" "+e._s(n.title)+" ")])]},{step:n,index:i}),e._t("description",function(){return[n.description?r("div",{staticClass:"e-block e-text-sm e-mt-1 e-leading-tight",class:e.getStepDescriptionClasses()},[e._v(" "+e._s(n.description)+" ")]):e._e()]},{step:n,index:i})],2)])}),0)]),r("main",{staticClass:"e-stepper__content e-overflow-y-auto e-custom-scrollbar",class:{"e-mb-8":e.orientation==="horizontal","e-flex-1":e.orientation==="vertical","e-bg-gray-900 e-custom-scrollbar-dark":e.dark,"e-bg-white e-custom-scrollbar-light":!e.dark}},[r("div",{staticClass:"e-stepper__content-panel",attrs:{id:`panel-${e.currentStep}`}},[r("transition",{attrs:{name:e.transitionName,mode:"out-in"}},[e._t(`stepper-content-${e.currentStep}`,function(){return[r(e.currentStepComponent,{key:`step-${e.currentStep}`,tag:"component",attrs:{"is-first-step":e.currentStep===0,"is-last-step":e.isLastStep}})]},{step:e.currentStep,isFirstStep:e.currentStep===0,isLastStep:e.isLastStep})],2)],1)])]),r("div",{staticClass:"e-stepper__controls e-flex e-justify-between e-items-center e-gap-4",class:{"e-mt-8":e.orientation==="vertical"}},[e._t("stepper-controls",function(){return[r("button",{staticClass:"e-inline-flex e-items-center e-gap-2 e-px-6 e-py-3 e-rounded-lg e-font-medium e-text-sm e-border-0 e-cursor-pointer e-transition-all e-duration-200 e-ease-out disabled:e-opacity-50 disabled:e-cursor-not-allowed",class:{"e-opacity-50":!e.canGoBack,"e-cursor-not-allowed":!e.canGoBack,"e-text-slate-300 e-bg-slate-700 hover:e-bg-slate-600":e.dark,"e-text-slate-600 e-bg-slate-300 hover:e-bg-slate-200":!e.dark},attrs:{type:"button",disabled:!e.canGoBack},on:{click:e.goBack}},[r("EIcon",{attrs:{icon:"fa-chevron-left"}}),e._v(" Back ")],1),r("button",{staticClass:"e-inline-flex e-items-center e-gap-2 e-px-8 e-py-3 e-rounded-lg e-font-semibold e-text-sm e-border-0 e-cursor-pointer e-transition-all e-duration-200 e-ease-out e-bg-primary e-text-white hover:e-bg-primary-darken disabled:e-opacity-60 disabled:e-cursor-not-allowed e-shadow-md hover:e-shadow-lg",attrs:{type:"button",disabled:!e.canGoNext},on:{click:e.goNext}},[e._v(" "+e._s(e.isLastStep?"Save":"Continue")+" "),e.isLastStep?e._e():r("span",{staticClass:"e-text-lg"},[r("EIcon",{attrs:{icon:"fa-chevron-right"}})],1)])]},{prev:e.goBack,hasPrev:e.canGoBack,hasNext:e.canGoNext,next:e.goNext,isLastStep:e.isLastStep,isFirstStep:e.currentStep===0,currentStep:e.currentStep})],2)])},Q4=[],K4=R(Y4,V4,Q4,!1,null,"8e3178a6",null,null);const fs=K4.exports,J4=O.extend({name:"EHeatmapOverlay",directives:{ResizeObserver:Ue},props:{points:{type:Array,default:()=>[]},radius:{type:Number,default:.08},opacity:{type:Number,default:.9,validator:t=>t>=0&&t<=1},max:{type:Number,default:0},scheme:{type:String,default:Re.Turbo},clamp:{type:Boolean,default:!0}},data(){return{overlayOpacity:0,isFistDraw:!1}},computed:{interpolator(){const t={[Re.Inferno]:M.interpolateInferno,[Re.Magma]:M.interpolateMagma,[Re.Plasma]:M.interpolatePlasma,[Re.Viridis]:M.interpolateViridis,[Re.Cividis]:M.interpolateCividis,[Re.Warm]:M.interpolateWarm,[Re.Cool]:M.interpolateCool,[Re.CubeHelix]:M.interpolateCubehelixDefault,[Re.Turbo]:M.interpolateTurbo||M.interpolateInferno};return t[this.scheme]||t[Re.Turbo]}},watch:{points:{handler(){this.draw()},deep:!0},radius(){this.draw()},opacity(){this.overlayOpacity=Math.max(0,Math.min(1,this.opacity))},max(){this.draw()},scheme(){this.draw()},clamp(){this.draw()}},mounted(){this.overlayOpacity=this.opacity,this.$nextTick(()=>{this.syncCanvasSize(),this.draw()})},methods:{onResize(){this.syncCanvasSize(),this.draw()},syncCanvasSize(){const t=this.$refs.canvas;if(!t)return;const r=t.parentElement.getBoundingClientRect();t.style.width=`${r.width}px`,t.style.height=`${r.height}px`,t.width=r.width,t.height=r.height},buildLookupTable(t=256){const e=new Uint8ClampedArray(t*4);for(let r=0;r<t;r++){const n=r/(t-1),i=M.color(this.interpolator(n));e[r*4]=i.r,e[r*4+1]=i.g,e[r*4+2]=i.b,e[r*4+3]=255}return e},draw(){const t=this.$refs.canvas;if(!t)return;const e=t.getContext("2d",{willReadFrequently:!0});if(!e)return;const r=t.width,n=t.height;if(r===0||n===0||(e.clearRect(0,0,r,n),!this.points||this.points.length===0))return;const i=Math.min(r,n),s=Math.max(1,Math.round(this.radius*i)),a=this.max>0?this.max:this.points.reduce((C,b)=>Math.max(C,b.count||0),1);e.save(),e.fillStyle="rgba(0,0,0,1)";const c=document.createElement("canvas");c.width=c.height=s*2+2;const o=c.getContext("2d"),l=o.createRadialGradient(s+1,s+1,0,s+1,s+1,s);l.addColorStop(0,"rgba(0,0,0,1)"),l.addColorStop(1,"rgba(0,0,0,0)"),o.fillStyle=l,o.beginPath(),o.arc(s+1,s+1,s,0,Math.PI*2),o.closePath(),o.fill();for(const C of this.points){const b=Array.isArray(C.point)?C.point[0]:0,p=Array.isArray(C.point)?C.point[1]:0,v=Math.max(0,Math.min(1,b))*r,E=Math.max(0,Math.min(1,p))*n,T=a<=0?0:(C.count||0)/a;T<=0||(e.globalAlpha=this.clamp?Math.max(0,Math.min(1,T)):T,e.drawImage(c,Math.round(v)-s-1,Math.round(E)-s-1))}e.restore();const d=e.getImageData(0,0,r,n),h=d.data,m=this.buildLookupTable(256);for(let C=0;C<h.length;C+=4){const b=h[C+3];if(b===0)continue;const v=(this.clamp?b:Math.max(0,Math.min(255,b)))*4;h[C+0]=m[v+0],h[C+1]=m[v+1],h[C+2]=m[v+2],h[C+3]=b}e.putImageData(d,0,0),this.isFistDraw=!0}}});var eu=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],staticClass:"w-full h-full"},[e._t("default"),r("canvas",{ref:"canvas",staticClass:"e-inset-0",style:{opacity:e.overlayOpacity}})],2)},tu=[],ru=R(J4,eu,tu,!1,null,null,null,null);const ms=ru.exports,nu=O.extend({name:"EGlobalSearch",components:{EIcon:Be},mixins:[He],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 focus:e-ring-2 hover:e-ring-gray-400 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,i)=>{const s=this.findMatchesInObject(n,e,[]);return s.length>0&&r.push({index:i,matches:s}),r},[])},findMatchesInObject(t,e,r){return Object.entries(t).reduce((n,[i,s])=>{const a=[...r,i],c=this.matchesQuery(s,e)?[{path:a,value:s}]:[];let o=[];this.deep&&Array.isArray(s)&&(o=s.flatMap((d,h)=>this.findMatchesInObject(d,e,[...a,`${h}`])));const l=this.deep&&typeof s=="object"&&s!==null?this.findMatchesInObject(s,e,a):[];return[...n,...c,...o,...l]},[])},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",i=["f","F"].includes(e.key)&&e.type==="keydown",s=e.key==="Escape"&&e.type==="keydown";i&&r&&n&&(this.isSearching=!0,this.$nextTick(()=>{const a=this.$refs.searchField;a&&a.focus()})),s&&(this.isSearching=!1,this.search="")}}}),bh="";var iu=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:"fa-search",size:"Sm"}})],1)])])},su=[],au=R(nu,iu,su,!1,null,null,null,null);const gs=au.exports,ou=O.extend({name:"ETooltip",props:{text:{type:String,required:!1,default:""},position:{type:String,default:ze.Top},color:{type:String,default:se.Default},dark:{type:Boolean,default:!1}},data(){return{isHovered:!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-2 e-py-1 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===ze.Left,"tooltip-right":t===ze.Right,"tooltip-top":t===ze.Top,"tooltip-bottom":t===ze.Bottom,"e-bg-orange-700 e-text-white":e===se.Warning,"e-bg-red-700 e-text-white":e===se.Error,"e-bg-green-900 e-text-white":e===se.Success,"e-bg-blue-700 e-text-white":e===se.Primary,"e-bg-sky-500 e-text-white":e===se.Info,"e-bg-brand-900 e-text-white":e===se.Brand,"e-bg-gray-200 e-text-gray-700":e===se.Gray,...r}},triangleClasses(){const t=this.position,e=this.color;return{"triangle e-absolute e-border-transparent":!0,"triangle-left":t===ze.Left,"triangle-right":t===ze.Right,"triangle-top":t===ze.Top,"triangle-bottom":t===ze.Bottom,"e-border-b-gray-800":e===se.Default,"e-border-b-orange-700":e===se.Warning,"e-border-b-red-700":e===se.Error,"e-border-b-green-900":e===se.Success,"e-border-b-blue-700":e===se.Primary,"e-border-b-sky-500":e===se.Info,"e-border-b-brand-900":e===se.Brand,"e-border-b-gray-900":e===se.Gray}}},methods:{toggleTooltip(){this.isHovered=!this.isHovered}}}),xh="";var lu=function(){var e=this,r=e._self._c;return r("div",{staticClass:"tooltip-box e-w-max e-relative e-group",on:{mouseenter:e.toggleTooltip,mouseleave:e.toggleTooltip}},[e._t("default"),e.isHovered?r("div",{class:e.tooltipClasses},[r("span",{class:e.triangleClasses}),e._t("tooltip",function(){return[e._v(" "+e._s(e.text)+" ")]})],2):e._e()],2)},cu=[],uu=R(ou,lu,cu,!1,null,"b7ea926b",null,null);const Tt=uu.exports,du=O.extend({name:"EActionButton",components:{ETooltip:Tt,EIcon:Be},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:G.Sm},iconColor:{type:String,default:se.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 hu=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-action-button e-w-max e-px-3 e-py-3 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-action-button e-w-max e-px-3 e-py-3 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)},pu=[],fu=R(du,hu,pu,!1,null,null,null,null);const ft=fu.exports,mu=O.extend({name:"EZoomSlider",components:{EActionButton:ft},props:{dark:{type:Boolean,default:!0}}});var gu=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-zoom-slider 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)},vu=[],yu=R(mu,gu,vu,!1,null,null,null,null);const gn=yu.exports,_u=O.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 Cu=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)},bu=[],xu=R(_u,Cu,bu,!1,null,null,null,null);const qt=xu.exports,wu=O.extend({name:"EZoomableImg",components:{EZoomSlider:gn,EFadeTransition:qt},directives:{ResizeObserver:Ue},mixins:[Ze,He],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,i=e.width/t.width*100,s=e.height/t.height*100;this.miniatureOverlayStyle={left:`${r}%`,top:`${n}%`,width:`${i}%`,height:`${s}%`}},onImageLoaded(t){var n,i;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=(i=this.frame)==null?void 0:i.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}this.isMobile||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 o,l;const t=(o=this.frame)==null?void 0:o.getBoundingClientRect(),e=(l=this.image)==null?void 0:l.getBoundingClientRect(),r=t.width/this.imageAspectRatio,n=t.height*this.imageAspectRatio;let{top:i,right:s,bottom:a,left:c}=t;return e.width<t.width?(c=t.left+(t.width-n)/2,s=c+n):e.height<t.height&&(i=t.top+(t.height-r)/2,a=i+r),{top:i,right:s,bottom:a,left:c}},savePreviousPan({x:t,y:e}={}){var r;if(this.image){const n=(r=this.image)==null?void 0:r.getBoundingClientRect(),i=this.getBounds(),[s,a,c,o]=[n.right-i.right,i.top-n.top,n.bottom-i.bottom,i.left-n.left].map(l=>l<0?l:0);this.frameMousePreviousPan={x:(t||this.frameMousePreviousPan.x)+o-s,y:(e||this.frameMousePreviousPan.y)+a-c}}},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}}}),wh="";var Su=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",style:e.imgStyle,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"}},[r("div",{staticClass:"zoomable-img__slot__top-left e-absolute e-top-0 e-left-0"},[e._t("top-left")],2),r("div",{staticClass:"zoomable-img__slot__top-right e-absolute e-top-0 e-right-0 e-z-[201]"},[e._t("top-right")],2),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(i){return e.zoom(-1)},"zoom-out":function(i){return e.zoom(1)}},model:{value:e.sliderModel,callback:function(i){e.sliderModel=i},expression:"sliderModel"}})],2):e._e()]),r("div",{staticClass:"zoomable-img__bottom-right-actions e-flex e-flex-col e-items-end e-justify-end e-absolute e-right-0 e-bottom-0"},[r("EFadeTransition",[e.showMiniature&&e.imageLoaded&&e.zoomLevel>1?r("div",{staticClass:"zoomable-img__miniature-container e-shadow e-relative e-m-4",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()]),r("div",{staticClass:"zoomable-img__slot__top-left"},[e._t("bottom-right")],2)],1)],2)])},Tu=[],ku=R(wu,Su,Tu,!1,null,null,null,null);const vn=ku.exports,$u=O.extend({name:"EImagePlayer",components:{EZoomableImg:vn},directives:{ResizeObserver:Ue},mixins:[Ze,He],model:{prop:"frameIndex",event:"update-frame-index"},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},preloadingQueueId:{type:Number,default:0}},data(){return{src:this.placeholderImage,imageLoaded:!1,playing:!1,playerStyle:{},image:null,previousSrc:"",resolveImageLoadingPromise:()=>({}),preloadedFrames:[],preloadingFramesImgs:[],frameError:!1,animationId:-1,imgStyle:{},previousFrameIndex:0,isFullscreen:!1,mouseDownTime:0,playPauseAnimation:!1,latestValidSnapshotTimestamp:"",progressBar:null,isDraggingCursor:!1,hovered:!1,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,i]=e.slice(-1)[0]||[0,0];return r-i>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("update-frame-index",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")},frameIndex:{immediate:!0,async handler(){this.frameIndex&&this.frameIndex===this.previousFrameIndex||(Number.isNaN(this.frameIndex)&&this.$emit("update-frame-index",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("update-frame-index",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&&(Qr().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=document.querySelector("#imagePlayer");t&&(Yr(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(){const t=this.frameIndex+1;this.frames[t]&&this.$emit("update-frame-index",t)},getFrameSrc(t){if(t)return t.srcSet?t.srcSet[this.selectedSnapshotQuality]:t.src},loadTargetFrame(){if(!(this.frameIndex&&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)],i=new Array(n-r+1).fill(0).map((a,c)=>a+r+c),s=this.preloadingQueueId;for(const a of i){if(s!==this.preloadingQueueId||this.playing&&!this.preloadWhilePlaying)return;this.preloadedFrames.includes(a)||await new Promise(o=>{const l=new Image;l.onload=()=>{this.preloadedFrames=[...this.preloadedFrames,a],o()},l.onerror=()=>{o()},this.preloadingFramesImgs=[...this.preloadingFramesImgs,l];const d=this.getFrameSrc(this.frames[a]);a||o(),l.src=d})}},async delay(){return this.frameError?(this.frameError=!1,Promise.resolve()):new Promise(t=>{const e=performance.now(),r=n=>{n-e<this.timePerFrame?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("update-frame-index",0);return}this.$emit("update-playback",!0),this.playing=!0,this.cancelDelay(),this.incrementCurrentFrameIndex(),await this.$nextTick(),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.$emit("cancel-previous-preloading"),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("update-playback",!1)},onLoad(){var e,r,n,i;this.$emit("on-image-load",this.image),this.$emit("snapshot-changed",{data:(e=this.frames[this.frameIndex])==null?void 0:e.src,createdAt:(r=this.frames[this.frameIndex])==null?void 0:r.timestamp});const t=(i=(n=this.frames)==null?void 0:n[this.frameIndex])==null?void 0:i.timestamp;t&&this.$emit("timestamp-change",t),this.imageLoaded=!0,this.previousSrc=this.src,this.resolveImageLoadingPromise()},onError(t){if(this.frameIndex>1)return this.$emit("update-frame-index",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}}}}),Sh="";var Mu=function(){var n,i;var e=this,r=e._self._c;return r("div",{staticClass:"e-image-player 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(e._b({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||((i=e.frames[e.frameIndex])==null?void 0:i.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._t("default"),e._t("imageOverlay",null,{image:e.image})]},proxy:!0}],null,!0)},"EZoomableImg",e.$attrs,!1),e.$listeners),[e._t("player-container-overlay")],2),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("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([s,a]){return r("div",{key:a,staticClass:"e-bg-blue-300 e-h-full e-absolute e-rounded-md",style:e.getProgressBarChunkStyle(s,a)})})],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)},Eu=[],Lu=R($u,Mu,Eu,!1,null,null,null,null);const vs=Lu.exports,Du=O.extend({name:"ELayout",directives:{ResizeObserver:Ue},mixins:[Ze],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()},height:{immediate:!0,handler(){this.onResize()}}},mounted(){this.setOverlayFooterHeight(),this.setFooterHeight()},methods:{onResize(){this.setFooterHeight(),this.setOverlayFooterHeight()},hasScopedSlot(t){return!!this.$scopedSlots[t]},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)===0?25: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 Pu=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},[e.hasScopedSlot("main")?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._e(),e.withOverlay&&e.hasScopedSlot("overlay")?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(),e.hasScopedSlot("top-left")?r("div",{staticClass:"e-layout__top-left e-absolute e-left-0 e-top-0 e-z-[2]"},[e._t("top-left")],2):e._e(),e.hasScopedSlot("top-right")?r("div",{staticClass:"e-absolute e-right-0 e-top-0 e-layout__top-right e-z-[2]"},[e._t("top-right")],2):e._e(),e.hasScopedSlot("bottom-right")?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):e._e(),e.hasScopedSlot("bottom-left")?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):e._e(),e.hasScopedSlot("overlay-footer")?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):e._e()]),e.hasScopedSlot("footer")?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):e._e()])},zu=[],Ou=R(Du,Pu,zu,!1,null,null,null,null);const ys=Ou.exports;var Bu=R({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 Iu=Bu.exports,Fu=O.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}}}}),Mh="";var Ru=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)},Au=[],Hu=R(Fu,Ru,Au,!1,null,null,null,null);const Nu=Hu.exports,ju=O.extend({name:"EChatHeader",components:{EAvatar:Lt},props:{size:{type:String,default:"xs"},backgroundClasses:{type:String,default:""}}}),Eh="";var qu=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}})},Wu=[],Gu=R(ju,qu,Wu,!1,null,null,null,null);const _s=Gu.exports,Uu=O.extend({name:"EChatHeader",components:{EEvercamLogo:_s},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}}}});var Zu=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",{},[r("EEvercamLogo",{attrs:{size:"xs","background-classes":"e-bg-white e-p-[2px] e-rounded-full !e-pr-[2.5px] !e-pt-[3.5px]"}})],1)]}),r("div",{staticClass:"e-font-semibold e-h-min e-text-base"},[e._v(e._s(e.title))]),e._t("chip")],2),e._t("append")],2)},Xu=[],Yu=R(Uu,Zu,Xu,!1,null,null,null,null);const Vu=Yu.exports,Qu=O.extend({name:"EChatBody",directives:{ResizeObserver:Ue},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()}}}),Lh="";var Ku=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",staticClass:"e-chat-body__content"},[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:"fa-arrow-down",size:"Base"}})],1)]):e._e()])},Ju=[],e8=R(Qu,Ku,Ju,!1,null,null,null,null);const t8=e8.exports,r8=O.extend({props:{size:{type:Number,default:12},color:{type:String,default:"#c5393d"},withDot:{type:Boolean,default:!0}},computed:{computedSize(){return`${this.size}px`},computedMargin(){return`${this.size/2}px`},computedShadowSize(){return`${this.size*2}px`},computedSecondaryColor(){return pt(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":pt(this.color,.7),"--backgroundColor":pt(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:this.withDot?pt(this.color,1):void 0}}},methods:{toRgba:pt}}),Dh="";var n8=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},[e._t("icon")],2)])},i8=[],s8=R(r8,n8,i8,!1,null,"cf575c64",null,null);const a8=s8.exports;var Cs={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self!="undefined"?self:lt,()=>(()=>{var r={75:function(a){(function(){var c,o,l,d,h,m;typeof performance!="undefined"&&performance!==null&&performance.now?a.exports=function(){return performance.now()}:typeof process!="undefined"&&process!==null&&process.hrtime?(a.exports=function(){return(c()-h)/1e6},o=process.hrtime,d=(c=function(){var C;return 1e9*(C=o())[0]+C[1]})(),m=1e9*process.uptime(),h=d-m):Date.now?(a.exports=function(){return Date.now()-l},l=Date.now()):(a.exports=function(){return new Date().getTime()-l},l=new Date().getTime())}).call(this)},4087:(a,c,o)=>{for(var l=o(75),d=typeof window=="undefined"?o.g:window,h=["moz","webkit"],m="AnimationFrame",C=d["request"+m],b=d["cancel"+m]||d["cancelRequest"+m],p=0;!C&&p<h.length;p++)C=d[h[p]+"Request"+m],b=d[h[p]+"Cancel"+m]||d[h[p]+"CancelRequest"+m];if(!C||!b){var v=0,E=0,T=[];C=function(S){if(T.length===0){var H=l(),L=Math.max(0,16.666666666666668-(H-v));v=L+H,setTimeout(function(){var q=T.slice(0);T.length=0;for(var K=0;K<q.length;K++)if(!q[K].cancelled)try{q[K].callback(v)}catch(Z){setTimeout(function(){throw Z},0)}},Math.round(L))}return T.push({handle:++E,callback:S,cancelled:!1}),E},b=function(S){for(var H=0;H<T.length;H++)T[H].handle===S&&(T[H].cancelled=!0)}}a.exports=function(S){return C.call(d,S)},a.exports.cancel=function(){b.apply(d,arguments)},a.exports.polyfill=function(S){S||(S=d),S.requestAnimationFrame=C,S.cancelAnimationFrame=b}}},n={};function i(a){var c=n[a];if(c!==void 0)return c.exports;var o=n[a]={exports:{}};return r[a].call(o.exports,o,o.exports,i),o.exports}i.n=a=>{var c=a&&a.__esModule?()=>a.default:()=>a;return i.d(c,{a:c}),c},i.d=(a,c)=>{for(var o in c)i.o(c,o)&&!i.o(a,o)&&Object.defineProperty(a,o,{enumerable:!0,get:c[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(a,c)=>Object.prototype.hasOwnProperty.call(a,c);var s={};return(()=>{i.d(s,{default:()=>V});var a=i(4087),c=i.n(a);const o=function(F){return new RegExp(/<[a-z][\s\S]*>/i).test(F)},l=function(F,k){return Math.floor(Math.random()*(k-F+1))+F};var d="TYPE_CHARACTER",h="REMOVE_CHARACTER",m="REMOVE_ALL",C="REMOVE_LAST_VISIBLE_NODE",b="PAUSE_FOR",p="CALL_FUNCTION",v="ADD_HTML_TAG_ELEMENT",E="CHANGE_DELETE_SPEED",T="CHANGE_DELAY",S="CHANGE_CURSOR",H="PASTE_STRING",L="HTML_TAG";function q(F){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},q(F)}function K(F,k){var z=Object.keys(F);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(F);k&&(j=j.filter(function(ne){return Object.getOwnPropertyDescriptor(F,ne).enumerable})),z.push.apply(z,j)}return z}function Z(F){for(var k=1;k<arguments.length;k++){var z=arguments[k]!=null?arguments[k]:{};k%2?K(Object(z),!0).forEach(function(j){P(F,j,z[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(z)):K(Object(z)).forEach(function(j){Object.defineProperty(F,j,Object.getOwnPropertyDescriptor(z,j))})}return F}function x(F){return function(k){if(Array.isArray(k))return B(k)}(F)||function(k){if(typeof Symbol!="undefined"&&k[Symbol.iterator]!=null||k["@@iterator"]!=null)return Array.from(k)}(F)||function(k,z){if(k){if(typeof k=="string")return B(k,z);var j=Object.prototype.toString.call(k).slice(8,-1);return j==="Object"&&k.constructor&&(j=k.constructor.name),j==="Map"||j==="Set"?Array.from(k):j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j)?B(k,z):void 0}}(F)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
236
|
+
`}],staticClass:"e-timeline__tooltip e-border e-rounded e-px-2 e-relative",class:e.computedClasses.tooltipSlot},[e._v(" "+e._s(i)+" ")])]},{timestamp:i,active:s&&!e.isHoveringMilestone})],2),r("div",{key:`${e.hoveredGroupedEvents?e.hoveredGroupedEvents[0].timestamp:(a=e.hoveredEvent)==null?void 0:a.timestamp}`,ref:"eventTooltip",staticClass:"e-absolute e-z-50",style:e.eventTooltipStyle},[e._t("eventTooltip",function(){return[e.hoveredGroupedEvents?r("div",{directives:[{name:"show",rawName:"v-show",value:e.showEventTooltip&&e.isHoveringGroupedEvents,expression:"showEventTooltip && isHoveringGroupedEvents"}]},[r("div",[r("strong",[e._v(e._s(e.hoveredGroupedEvents.length)+" Events")]),e._v(": ")]),r("div",[r("strong",[e._v("From")]),e._v(":"+e._s(e.hoveredGroupedEvents[0].timestamp||e.hoveredGroupedEvents[0].startDate)+" ")]),r("div",[r("strong",[e._v("To")]),e._v(":"+e._s(e.hoveredGroupedEvents[e.hoveredGroupedEvents.length-1].timestamp||e.hoveredGroupedEvents[e.hoveredGroupedEvents.length-1].endDate)+" ")])]):e.showEventTooltip&&(e.hoveredEvent||e.hoveredCounts.length)?r("div",{directives:[{name:"show",rawName:"v-show",value:e.isHoveringEvent,expression:"isHoveringEvent"}],staticClass:"e-timeline__event-tooltip e-border e-rounded e-px-2 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(c,o){return r("div",{key:o},[r("strong",[e._v(e._s(c.label||c.type)+" Count")]),e._v(": "+e._s(c.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,groupedEvents:e.hoveredGroupedEvents,counts:e.hoveredCounts,active:e.isHoveringEvent,type:e.hoveredEventType})],2)]}}],null,!0)})],1):e._e()]}}])})],1)},k6=[],$6=R(S6,T6,k6,!1,null,null,null,null);const es=$6.exports,M6=O.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""}}}),ch="";var E6=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))])},L6=[],D6=R(M6,E6,L6,!1,null,"7e66cb69",null,null);const ts=D6.exports,P6=O.extend({name:"EHeatmapBar",props:{items:{type:Array,default:()=>[]},selectedValue:{type:[String,Number],default:""},showCounts:{type:Boolean,default:!0},namesOnly:{type:Boolean,default:!1},showNames:{type:Boolean,default:!0},colors:{type:Array,default:()=>Kr("#ebedf0","#17459e",10)},colorsDark:{type:Array,default:()=>Kr("rgba(26,53,86,0.49)","#1f65ee",10)},label:{type:String,default:""},dense:{type:Boolean,default:!1},dark:{type:Boolean,default:!1}},data(){return{}},computed:{heatMapBarItems(){return this.items},maxCount(){return this.items.reduce((t,e)=>Math.max(t,e.count),0)},computedColors(){return this.dark?this.colorsDark:this.colors},textColor(){return{color:this.dark?"#eee":"#111"}}},methods:{getColorIndex(t){return Math.ceil(t/this.maxCount*(this.computedColors.length-1))},getColor(t){const e=this.getColorIndex(t);return this.computedColors[e]||this.computedColors[0]},getItemStyle(t){return{background:this.getColor(t)}},getItemClasses(t){return typeof t=="object"?t:{[t]:!0}},getCountTextStyle(t){const e=this.getColor(t);return{color:this.getContrastingPaletteColor(e)}},adjustColorBrightness(t,e){const r=M.hsl(t);return r.l+=e,r.l=Math.max(.1,Math.min(.9,r.l)),r.formatHex()},getContrastingPaletteColor(t){const e=M.color(t);if(!e)return t;const{r,g:n,b:i}=e.rgb(),a=(.299*r+.587*n+.114*i)/255>.5?-.5:.5;return this.adjustColorBrightness(t,a)}}}),uh="";var z6=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-heatmap-bar--dark":e.dark},style:e.textColor},[e._t("label",function(){return[e.label?r("div",{staticClass:"e-heatmap-bar__label",style:e.textColor},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e._l(e.heatMapBarItems,function({name:n,value:i,count:s,itemClass:a,id:c}){return r("div",{key:i,staticClass:"e-flex e-w-full e-justify-center e-items-center e-heatmap-bar__item",class:{"e-heatmap-bar__item--selected":e.selectedValue===i,...e.getItemClasses(a)},style:e.getItemStyle(s),on:{click:function(o){return e.$emit("change",i,a,c)}}},[e.namesOnly?r("span",{staticClass:"e-heatmap-bar__item__count",style:e.getCountTextStyle(s)},[e._v(" "+e._s(n)+" ")]):e.showCounts?r("span",{staticClass:"e-heatmap-bar__item__count",style:e.getCountTextStyle(s)},[e._v(" "+e._s(s>0?s:"")+" ")]):e._e(),e.showNames&&!e.namesOnly?r("span",{staticClass:"e-heatmap-bar__item__name e-text-xs e-text-black e-truncate",style:e.textColor},[e._v(" "+e._s(n)+" ")]):e._e()])})],2)},O6=[],B6=R(P6,z6,O6,!1,null,null,null,null);const pn=B6.exports,I6=O.extend({name:"EHoursHeatmap",components:{EHeatmapBar:pn},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 F6=function(){var e=this,r=e._self._c;return r("EHeatmapBar",e._g({staticClass:"e-hours-heatmap",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))},R6=[],A6=R(I6,F6,R6,!1,null,null,null,null);const rs=A6.exports,H6=O.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..."},onePerLine:{type:Boolean,default:!1}},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 e,r;const t=this.onePerLine?"<br/>":", ";return((e=this.content)==null?void 0:e.length)>this.maxLength&&this.showAllContent===!1?this.content.slice(0,this.maxLength).join(t):((r=this.content)==null?void 0:r.length)>-1?this.content.join(t):""},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 N6=function(){var e=this,r=e._self._c;return r("span",{staticClass:"e-read-more"},[r("span",{staticClass:"e-read-more__content mr-1",style:{"white-space":e.showAllContent?"initial":"nowrap"},domProps:{innerHTML: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()])},j6=[],q6=R(H6,N6,j6,!1,null,null,null,null);const ns=q6.exports,W6=O.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 G6=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)},U6=[],Z6=R(W6,G6,U6,!1,null,null,null,null);const is=Z6.exports,X6=O.extend({name:"ECompareSeparator",components:{EIcon:Be},props:{xOffset:{type:[Number,String],default:50}},computed:{separatorStyle(){return{left:`${this.xOffset}%`}}}}),dh="";var Y6=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(),(i=>e.$emit("mousedown",i)).apply(null,arguments)},touchstart:function(n){return n.preventDefault(),(i=>e.$emit("touchstart",i)).apply(null,arguments)}}},[r("div",{staticClass:"e-compare-separator__line",style:e.separatorStyle}),r("div",{staticClass:"e-compare-separator__icon e-flex e-justify-center e-items-center",style:e.separatorStyle},[r("EIcon",{attrs:{icon:"fa-caret-left",color:"e-text-white",size:"base"}}),r("EIcon",{attrs:{icon:"fa-caret-right",color:"e-text-white",size:"base"}})],1)])},V6=[],Q6=R(X6,Y6,V6,!1,null,null,null,null);const ss=Q6.exports,He=O.extend({data(){return{eventListeners:[]}},beforeDestroy(){this.$removeEventListeners()},methods:{$addEventListener(t,e,r=document){if(!(r instanceof EventTarget)){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=document){var i;const n=this.eventListeners.find(s=>s.event===t&&s.element===r&&s.cb===e);n&&((i=n.element)==null||i.removeEventListener(t,e),this.eventListeners=this.eventListeners.filter(s=>s.event===t&&s.cb===e&&s.element===r))},$removeEventListeners(){this.eventListeners.forEach(({element:t,event:e,cb:r})=>{t==null||t.removeEventListener(e,r)}),this.eventListeners=[]}}}),K6=O.extend({name:"EDragResize",mixins:[He],props:{bounds:{type:Object,required:!0},initial:{type:Object,default:()=>({x:0,y:0,width:100,height:100})}},data(){return{lens:{...this.initial},isDragging:!1,dragOffset:{x:0,y:0},resizeHandles:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"],currentHandle:null}},computed:{windowStyle(){return{position:"absolute",top:`${this.lens.y}px`,left:`${this.lens.x}px`,width:`${this.lens.width}px`,height:`${this.lens.height}px`,border:"2px solid white",cursor:"move",boxSizing:"border-box"}}},watch:{lens:{handler(t){this.$emit("change",t)},deep:!0}},methods:{startDrag(t){const e=this.getPoint(t);this.dragOffset.x=e.x-this.lens.x,this.dragOffset.y=e.y-this.lens.y,this.isDragging=!0,this.$addEventListener("mousemove",this.onDrag),this.$addEventListener("mouseup",this.endDrag),this.$addEventListener("touchmove",this.onDrag),this.$addEventListener("touchend",this.endDrag)},onDrag(t){if(!this.isDragging)return;const e=this.getPoint(t),r=e.x-this.dragOffset.x,n=e.y-this.dragOffset.y,i=this.bounds,s=Math.max(i.left,Math.min(r,i.left+i.width-this.lens.width)),a=Math.max(i.top,Math.min(n,i.top+i.height-this.lens.height));this.lens.x=s,this.lens.y=a},endDrag(){this.isDragging=!1,this.$removeEventListener("mousemove",this.onDrag),this.$removeEventListener("mouseup",this.endDrag),this.$removeEventListener("touchmove",this.onDrag),this.$removeEventListener("touchend",this.endDrag)},startResize(t,e){this.currentHandle=t,this.dragOffset=this.getPoint(e),this.$addEventListener("mousemove",this.onResize),this.$addEventListener("mouseup",this.endResize),this.$addEventListener("touchmove",this.onResize),this.$addEventListener("touchend",this.endResize)},onResize(t){const e=this.getPoint(t),r=e.x-this.dragOffset.x,n=e.y-this.dragOffset.y;let{x:i,y:s,width:a,height:c}=this.lens;switch(this.currentHandle){case"top-left":i+=r,s+=n,a-=r,c-=n;break;case"top":s+=n,c-=n;break;case"top-right":s+=n,a+=r,c-=n;break;case"right":a+=r;break;case"bottom-right":a+=r,c+=n;break;case"bottom":c+=n;break;case"bottom-left":i+=r,a-=r,c+=n;break;case"left":i+=r,a-=r;break}const o=this.bounds,l=50;a=Math.max(l,Math.min(o.width,a)),c=Math.max(l,Math.min(o.height,c)),i=Math.max(o.left,Math.min(i,o.left+o.width-a)),s=Math.max(o.top,Math.min(s,o.top+o.height-c)),this.lens={x:i,y:s,width:a,height:c},this.dragOffset=e},endResize(){this.currentHandle=null,document.removeEventListener("mousemove",this.onResize),document.removeEventListener("mouseup",this.endResize),document.removeEventListener("touchmove",this.onResize),document.removeEventListener("touchend",this.endResize)},getPoint(t){return t instanceof MouseEvent?{x:t.clientX,y:t.clientY}:{x:t.touches[0].clientX,y:t.touches[0].clientY}}}}),hh="";var J6=function(){var e=this,r=e._self._c;return r("div",{staticClass:"compare-window",style:e.windowStyle,on:{mousedown:e.startDrag,touchstart:e.startDrag}},e._l(e.resizeHandles,function(n){return r("div",{key:n,staticClass:"resize-handle",class:"resize-"+n,on:{mousedown:function(i){return i.stopPropagation(),i.preventDefault(),e.startResize(n,i)},touchstart:function(i){return i.stopPropagation(),i.preventDefault(),e.startResize(n,i)}}})}),0)},e4=[],t4=R(K6,J6,e4,!1,null,"75e287d0",null,null);const fn=t4.exports,r4=O.extend({name:"EImagesComparator",components:{EDragResize:fn},props:{beforeImageSrc:String,afterImageSrc:String,isLoading:Boolean,mode:{type:String,default:it.Curtain,validator:t=>Object.values(it).includes(t)},transparency:{type:Number,default:.5}},data(){return{separatorPositionX:50,isSeparatorDragging:!1,containerRect:{},computedImageDimension:{width:0,height:0,left:0,top:0},zoomState:{},touchIdentifier:null,startTouchX:0,startSeparatorPositionX:50,windowState:{x:200,y:200,width:200,height:200},CompareMode:it,isBeforeImageLoaded:!1,isAfterImageLoaded:!1}},computed:{beforeImageStyle(){if(this.isComponentLoading)return{clip:"none"};if(this.mode===it.Window){const{x:t,y:e,width:r,height:n}=this.windowState;return{clip:`rect(${e}px, ${t+r}px, ${e+n}px, ${t}px)`}}else return this.mode===it.Curtain?{clip:`rect(auto, ${this.computedImageDimension.width*this.separatorPositionX/100+this.computedImageDimension.left}px, auto, auto)`}:{opacity:`${1-this.transparency}`}},afterImageStyle(){return{opacity:this.mode===it.Transparency?`${this.transparency}`:"1"}},windowBounds(){return{top:this.computedImageDimension.top,left:this.computedImageDimension.left,width:this.computedImageDimension.width,height:this.computedImageDimension.height}},watermarkStyle(){var d;const{width:t,height:e,left:r,top:n}=this.computedImageDimension,i=Math.max(t,e),s=.05,a=.01,c=i*s,o=i*a,l={width:`${c}px`,height:`${c}px`,left:`${r+t-c-o}px`,top:`${n+e-c-o}px`};return((d=this.zoomState)==null?void 0:d.zoomLevel)>1&&(l.opacity="0"),l},computedSeparatorPositionX(){const{left:t,width:e}=this.computedImageDimension,r=this.containerRect.width;return(t+e*this.separatorPositionX/100)/r*100},isComponentLoading(){return this.isLoading||!this.isBeforeImageLoaded||!this.isAfterImageLoaded}},watch:{beforeImageSrc(){this.isBeforeImageLoaded=!1},afterImageSrc(){this.isAfterImageLoaded=!1}},methods:{onZoomChange(t){this.zoomState={...t}},handleAfterImageLoad(){this.isAfterImageLoaded=!0,this.handleResize()},handleBeforeImageLoad(){this.isBeforeImageLoaded=!0,this.handleResize()},handleResize(){var a;const t=this.$refs.container;this.containerRect=t.getBoundingClientRect();const e=(a=this.$refs.afterImage)==null?void 0:a.$refs.image;if(!(e!=null&&e.naturalWidth)||!(e!=null&&e.naturalHeight))return;const r=t.clientWidth,n=t.clientHeight,i=e.naturalWidth/e.naturalHeight;if(r/n>i){const c=n*i;this.computedImageDimension={width:c,height:n,left:(r-c)/2,top:0}}else{const c=r/i;this.computedImageDimension={width:r,height:c,top:(n-c)/2,left:0}}},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,document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp(){this.isSeparatorDragging=!1,document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp)},handleTouchStart(t){const e=t.touches[0];e&&(this.touchIdentifier=e.identifier,this.startTouchX=e.clientX,this.startSeparatorPositionX=this.separatorPositionX,document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("touchend",this.handleTouchEnd))},handleTouchMove(t){const e=Array.from(t.touches).find(i=>i.identifier===this.touchIdentifier);if(!e)return;const n=(e.clientX-this.startTouchX)/this.computedImageDimension.width*100+this.startSeparatorPositionX;this.separatorPositionX=Math.max(0,Math.min(100,n))},handleTouchEnd(){document.removeEventListener("touchmove",this.handleTouchMove),document.removeEventListener("touchend",this.handleTouchEnd),this.touchIdentifier=null},handleWindowChange(t){Object.assign(this.windowState,t)}}}),ph="";var n4=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-h-full e-w-full e-relative e-bg-black e-border-black !e-select-none"},[r("div",{staticClass:"e-w-full e-h-full"},[r("EZoomableImg",{ref:"afterImage",staticClass:"e-block e-w-full e-h-full e-image-comparator__image",style:e.afterImageStyle,attrs:{src:e.afterImageSrc,alt:"After Image",embedded:!0,allowZoom:!0,pan:!0,slider:!0,showMiniature:!0,hideContentOnBlur:!1},on:{change:e.onZoomChange,load:e.handleAfterImageLoad}}),r("EZoomableImg",{staticClass:"!e-absolute e-top-0 e-left-0 e-pointer-events-none e-block e-w-full e-h-full e-image-comparator__image",style:e.beforeImageStyle,attrs:{src:e.beforeImageSrc,alt:"Before Image",embedded:!0,allowZoom:!1,pan:!1,slider:!1,showMiniature:!1,initialParams:e.zoomState},on:{load:e.handleBeforeImageLoad}})],1),e.mode===e.CompareMode.Curtain&&!e.isComponentLoading?r("ECompareSeparator",{attrs:{"x-offset":e.computedSeparatorPositionX},on:{mousedown:function(n){return n.stopPropagation(),n.preventDefault(),e.handleMouseDown.apply(null,arguments)},touchstart:e.handleTouchStart}}):e._e(),e.mode==="window"&&!e.isComponentLoading?r("EDragResize",{attrs:{initial:e.windowState,bounds:e.windowBounds},on:{change:e.handleWindowChange}}):e._e(),e.isComponentLoading?e._e():r("div",{staticClass:"e-images-comparator__watermark",style:e.watermarkStyle},[e._t("watermark",null,null,e.watermarkStyle)],2),e.isComponentLoading?r("div",{staticClass:"e-images-comparator__overlay"},[e._t("overlay")],2):e._e(),r("div",{staticClass:"e-images-comparator__imageOverlay"},[e._t("imageOverlay")],2),e._t("default",null,{imageDimensions:e.computedImageDimension})],2)},i4=[],s4=R(r4,n4,i4,!1,null,"e5b9302f",null,null);const as=s4.exports,Ze=O.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=[]}}}),a4=O.extend({name:"EExpandableMenu",mixins:[Ze,He],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{isMenuOpened:!1,baseSize:{},menuObserver:null}},computed:{row(){return["right","left"].includes(this.direction)},reverse(){return["top","left"].includes(this.direction)}},watch:{isMobile(){this.adjustButtonsPositions()},direction(){this.adjustButtonsPositions()},padding(){this.adjustButtonsPositions()}},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.adjustButtonsPositions),this.observeMenuContentChanges()},beforeDestroy(){this.menuObserver&&this.menuObserver.disconnect()},methods:{toggleMenu(){this.isMenuOpened=!this.isMenuOpened,this.adjustButtonsPositions()},adjustButtonsPositions(){const t=this.$refs.menu,e=Array.from(t==null?void 0:t.children).filter(l=>!l.classList.contains("v-tooltip"));if(!e||!e.length)return;const r=this.isMobile?30:40,n=Array.from(e),i=this.$refs.activator,s=i==null?void 0:i.getBoundingClientRect(),a=Math.min(s[this.row?"width":"height"],r),c=this.isMenuOpened?a+this.padding:0,o=this.row?"X":"Y";t.style.transform=`translate${o}(${(this.reverse?-1:1)*c}px)`,n.forEach((l,d)=>{const h=l.getBoundingClientRect(),m=h==null?void 0:h[this.row?"width":"height"],C=(m>r?m:r)+this.padding,b=this.isMenuOpened?C*d:0;l.style.transform=`translate${o}(${(this.reverse?-1:1)*b}px)`})},observeMenuContentChanges(){const t=this.$refs.menu;t&&(this.menuObserver=new MutationObserver(()=>{this.adjustButtonsPositions()}),this.menuObserver.observe(t,{childList:!0,subtree:!0}))}}}),fh="";var o4=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.isMenuOpened,"expandable-menu--closed":!e.isMenuOpened},style:e.baseSize},[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",e._g({ref:"menu",staticClass:"e-flex e-flex-col expandable-menu__menu",class:{"expandable-menu__menu--closed":!e.isMenuOpened,"expandable-menu__menu--open":e.isMenuOpened,"e-py-2":!e.row,"e-py-0":e.row},attrs:{"data-test-id":"action-buttons-menu"}},e.$listeners),[e._t("default")],2)])])},l4=[],c4=R(a4,o4,l4,!1,null,null,null,null);const os=c4.exports,mh="",u4={name:"ECalendarHeatmap",components:{EIcon:Be},mixins:[Ze],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:"",tooltipItem:"",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"),i=e.format("MM"),s=e.format("YYYY-MM-DD");let a={...this.itemsMap[s],date:s,selected:s===this.selectedDate};this.itemsMap[s]||(a={...a,count:0,date:s,disabled:this.isDisabledFn(s)},a={...a,label:this.labelFn(a)}),t={...t,[`${n}-${i}`]:{...t[`${n}-${i}`],[s]:{...a,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"),i=this._moment(this._endDate).startOf("month"),s=this._moment(n);let a={},c=-r,o;for(;s<=i;){let l=o?this.getMonthWidth(o):0;const d=s.startOf("month").day()===0;let h=0;d&&s>n&&(h=this.monthGutterSize);let m=this.dayFullSize;c+=l+this.monthGutterSize-m+h,a[s.format("YYYY-MM")]=c,o=s.clone(),s.add({months:1})}return a},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 i=this.isStartOfYear(e)?this.textSize:0;return{...this.textStyle,transform:`translate(${this.getMonthWidth(e)/2+this.textSize/3-i}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,i=r+this.dayRectSize,s=e+this.dayRectSize/2,a=r+this.dayRectSize/2;return[`M ${e} ${r}`,`L ${s} ${a}`,`L ${e} ${i}`,`M ${n} ${r}`,`L ${s} ${a}`,`L ${n} ${i}`].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.tooltipItem=e,this.tooltipContent=e.label,this.tooltipVisibility=!0,this.hoveredDayDate=e.date,this.$nextTick(()=>{this.calculateTooltipPosition(t)})},calculateTooltipPosition(t){var d;const e=this.$el.getBoundingClientRect(),r=((d=t.target)==null?void 0:d.getBoundingClientRect())||{x:0,y:0},n=r.left-e.left,i=r.top-e.top,s=r.bottom-e.top,a=this.$refs.tooltip.clientWidth,c=this.$refs.tooltip.clientHeight;let o=n+r.width/2-a/2;o+e.left<e.left?o=0:o+e.left+a>=e.right&&(o=e.width-a);let l=i-c-this.dayFullSize/2;l+e.top<=e.top&&(l=s+this.dayFullSize/2),this.tooltipPositionX=o,this.tooltipPositionY=l},onDayRectMouseLeave(){this.tooltipVisibility=!1,this.hoveredDayDate=""}}};var d4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-heatmap-calendar-wrapper"},[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:"fa-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,i){return r("text",{key:i,style:e.getWeekDayTextStyle(i)},[e._v(" "+e._s(e._moment().day(i).format("ddd"))+" ")])}),0),e._l(e.datesTree,function(n,i,s){return r("g",{key:i,staticClass:"e-heatmap-calendar__month",style:e.getMonthStyle(s,i)},[r("text",{style:e.getMonthTextStyle(s,i)},[e._v(" "+e._s(e.getMonthText(i))+" ")]),e._l(n,function(a,c){return r("g",{key:`${c}`,staticClass:"e-heatmap-calendar__day",class:{"e-heatmap-calendar__day--hovered":e.hoveredDayDate===c,"e-heatmap-calendar__day--disabled":a.disabled,"e-heatmap-calendar__day--selected":a.selected}},[r("rect",{style:e.getDayStyle(a,c),attrs:{rx:e.borderRadius,height:e.dayRectSize,width:e.dayRectSize},on:{mouseenter:o=>e.onDayRectMouseEnter(o,a),mouseleave:e.onDayRectMouseLeave,mouseup:function(o){return e.$emit("item-selected",a)}}}),a.disabled?r("path",{style:`stroke: ${e.disabledColor};`,attrs:{d:e.getDisabledDayPath(a)}}):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,i){return r("rect",{key:i,style:e.getLegendRectStyle(i),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._t("tooltip",function(){return[e._v(" "+e._s(e.tooltipContent)+" ")]},{item:e.tooltipItem})],2),e.controls?r("div",{staticClass:"e-heatmap-calendar__control-right",on:{click:function(n){e.daysOffset+=30}}},[r("EIcon",{attrs:{icon:"fa-angle-right",size:"Sm"}})],1):e._e()])},h4=[],p4=R(u4,d4,h4,!1,null,"50280d2a",null,null);const ls=p4.exports,Ht=O.extend({name:"FormField",props:{value:{type:[String,Number,Boolean,Object,Array],default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},type:{type:String,default:"text"},required:{type:Boolean,default:!1},errors:{type:Array,default:()=>[]}},data(){return{currentValue:this.value}},watch:{value(t){this.currentValue=t},currentValue:{immediate:!0,deep:!0,handler(t){this.$emit("input",t)}}}}),Nt=O.extend({name:"ToggleOpen",data(){return{isOpen:!1,selectId:`select-${Date.now()}${Math.random().toString(36).substr(2,9)}`}},created(){this.$root.$on("select-opened",t=>{t!==this.selectId&&this.isOpen&&(this.isOpen=!1)})},beforeDestroy(){this.$root.$off("select-opened")},methods:{toggleOpen(t){t&&t.stopPropagation(),this.isOpen||this.$root.$emit("select-opened",this.selectId),this.isOpen=!this.isOpen}}}),St=O.extend({name:"SelectFormField",mixins:[Ht,Nt],props:{options:{type:Array,required:!0},setInitialValue:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1}},computed:{selectedOption(){return this.multiple?this.options.filter(t=>{var e;if(Array.isArray(this.currentValue)&&((e=this.currentValue)!=null&&e.includes(t.value)))return t}):this.getOptionByValue(this.currentValue)},localLabel(){return this.multiple&&Array.isArray(this.selectedOption)&&this.selectedOption.length>1?this.selectedOption.map(t=>t.label).join(", "):!this.multiple&&this.selectedOption?this.selectedOption.label:null},isAllSelected(){return this.multiple?Array.isArray(this.currentValue)&&this.currentValue.length===this.options.filter(t=>!t.disabled).length&&this.multiple:!1},isAtLeastOneSelected(){return this.multiple?Array.isArray(this.currentValue)&&this.currentValue.length>0:!!this.currentValue},radioItemClasses(){return{"e-opacity-50 e-cursor-not-allowed ":this.disabled,"e-bg-gray-800 e-text-gray-200 e-border-gray-500 ":this.dark,"e-text-gray-700 e-bg-white e-border-gray-300 ":!this.dark,"hover:e-border-gray-300":!this.disabled&&this.dark,"hover:e-border-gray-500":!this.disabled&&!this.dark}},selectedItemClasses(){return["e-bg-[#1976d2]/10",{"e-text-[#61b0ff]":this.dark,"e-text-[#1976d2]":!this.dark}]},isValueProvided(){return this.currentValue!==null&&this.currentValue!==void 0}},watch:{setInitialValue:{immediate:!0,handler(t){!t||this.isValueProvided||(this.currentValue=this.multiple?[this.options[0].value]:this.options[0].value,this.$emit("input",this.currentValue),this.$emit("on-select-option",this.selectedOption))}},multiple(t){t?this.currentValue=[this.options[0].value]:this.currentValue=this.options[0].value,this.$emit("input",this.currentValue),this.$emit("on-select-option",this.selectedOption)}},methods:{isSelected(t){var e;return this.multiple?Array.isArray(this.currentValue)&&this.currentValue.includes(t):this.currentValue===null&&this.setInitialValue?t===((e=this.options[0])==null?void 0:e.value):this.currentValue===t},onItemClick(t,e){e&&(e.stopPropagation(),e.preventDefault());const r=this.getOptionByValue(t);if(!(r!=null&&r.disabled||this.disabled)){if(this.multiple){const n=this.currentValue.indexOf(t);n===-1?this.currentValue.push(t):this.currentValue.splice(n,1),this.$emit("input",this.currentValue),this.$emit("on-select-option",this.selectedOption);return}this.$emit("input",t),this.$emit("on-select-option",r),this.toggleOpen()}},selectAll(){if(!this.multiple||this.disabled)return;const t=this.options.filter(e=>!e.disabled).map(e=>e.value);this.$emit("input",t),this.$emit("on-select-option",this.options.filter(e=>!e.disabled))},deselectAll(){!this.multiple||this.disabled||(this.$emit("input",[]),this.$emit("on-select-option",[]))},toggleSelectAll(t){t&&(t.stopPropagation(),t.preventDefault()),!(!this.multiple||this.disabled)&&(Array.isArray(this.currentValue)&&this.currentValue.length===this.options.length?this.deselectAll():this.selectAll())},getOptionByValue(t){var e;return(e=this.options.find(r=>r.value===t))!=null?e:null},containerClasses(t){return[this.isSelected(t.value)?this.selectedItemClasses:this.radioItemClasses,t.disabled||this.disabled?"e-opacity-50 e-cursor-not-allowed":"e-cursor-pointer e-select-none"]}}}),f4=O.extend({name:"EToggleSwitch",components:{EIcon:Be},mixins:[St],props:{color:{type:String,default:"brand"},size:{type:String,default:G.Sm},vertical:{type:Boolean,default:!1},dark:{type:Boolean,default:!0}},computed:{sizeClasses(){return{container:{"e-p-0.5":this.size===G.Xs,"e-p-1 e-leading-3":this.size===G.Sm,"e-py-1.5 e-px-1.5":this.size===G.Md,"e-p-2 e-p":this.size===G.Lg},button:{"e-px-1":this.size===G.Xs,"e-py-[.2rem] e-px-2 e-rounded-md":this.size===G.Sm,"e-p-1 e-px-2.5":this.size===G.Md,"e-p-1.5 e-px-3":this.size===G.Lg,"e-opacity-50 e-cursor-not-allowed":this.disabled},text:{"!e-text-[0.6rem]":this.size===G.Xs,"e-text-xs":this.size===G.Sm,"e-text-sm":this.size===G.Md,"e-text-base":this.size===G.Lg},icon:{"e-w-3 e-h-3":this.size===G.Xs,"e-w-4 e-h-4":this.size===G.Sm,"e-w-5 e-h-5":this.size===G.Md,"e-w-6 e-h-6":this.size===G.Lg},description:{"!e-text-[0.5rem]":this.size===G.Xs,"e-text-[0.65rem]":this.size===G.Sm,"e-text-xs":this.size===G.Md,"e-text-sm":this.size===G.Lg}}},wrapperClasses(){return{...this.sizeClasses.container,"e-toggle-switch__container e-flex e-justify-center e-w-fit e-h-min e-rounded-md e-e-shadow-md e-transition-colors e-duration-200 e-ease-in-out":!0,"e-bg-gray-800":this.dark,"e-bg-gray-200":!this.dark,"e-flex-col e-items-start":this.vertical," e-items-center":!this.vertical,"e-opacity-50 e-cursor-not-allowed":this.disabled}},textClasses(){return{...this.sizeClasses.text,"e-font-medium":!0}},descriptionClasses(){return{...this.sizeClasses.description,"e-font-normal e-opacity-70 e-mt-0.5 e-leading-tight":!0}}},methods:{getButtonClasses(t){const e=this.isSelected(t.value),r={"e-toggle-switch e-border-none e-rounded-md e-transition e-duration-200 e-ease-in-out e-cursor-pointer":!0,"e-toggle-switch__selected":e,"e-text-gray-200":this.dark&&!e,"e-text-gray-900":!this.dark&&!e,"e-bg-gray-800":this.dark&&!e,"e-bg-gray-200":!this.dark&&!e,"e-bg-brand-600 e-text-white":this.color==="brand"&&e,"e-bg-gray-600 e-text-white":this.color==="gray"&&e,"e-bg-[#629efc] e-text-gray-900":this.color==="primary"&&e,"e-opacity-50 e-cursor-not-allowed":t.disabled,"e-shadow":e,"e-w-full":this.vertical,"e-inline-flex":!this.vertical};return{...this.sizeClasses.button,...r}},getIconClasses(){return{...this.sizeClasses.icon,"e-flex-shrink-0":!0}},getTextContainerClasses(t){return{"e-text-left":!0,"e-items-start":!!t.description}},getIconSize(){return{[G.Sm]:G.Sm,[G.Md]:G.Md,[G.Lg]:G.Lg}[this.size]||G.Sm},svgIconColor(t){return this.isSelected(t.value)&&this.color==="primary"?"#111827":this.isSelected(t.value)?"#f2f2f2":this.dark?"#e5e7eb":"#111827"}}});var m4=function(){var e=this,r=e._self._c;return r("div",{class:e.wrapperClasses},e._l(e.options,function(n){return r("button",{key:n.value,class:e.getButtonClasses(n),on:{click:function(i){return e.onItemClick(n.value)}}},[e._t("option",function(){return[r("div",{staticClass:"e-flex e-items-center e-gap-2"},[n.icon?r("EIcon",{class:e.getIconClasses(),attrs:{icon:n.icon,size:e.getIconSize(),color:e.svgIconColor(n)}}):e._e(),r("div",{staticClass:"e-flex e-flex-col",class:e.getTextContainerClasses(n)},[r("span",{class:e.textClasses},[e._v(e._s(n.label))]),n.description?r("span",{class:e.descriptionClasses},[e._v(" "+e._s(n.description)+" ")]):e._e()])],1)]},{option:n,isSelected:e.isSelected(n.value)})],2)}),0)},g4=[],v4=R(f4,m4,g4,!1,null,null,null,null);const cs=v4.exports,y4=O.extend({name:"ERangeSlider",props:{value:{type:Array,default:()=>[0,100]},min:{type:Number,default:0},max:{type:Number,default:100},disabled:{type:Boolean,default:!1},step:{type:Number,default:60},isTime:{type:Boolean,default:!1},tooltip:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){return{slider:null,sliderRect:{},selectedThumb:null}},computed:{range:{get(){return this.value},set(t){this.$emit("input",t)}},rangeDistance(){return this.max-this.min},showTooltip(){return this.tooltip&&!this.disabled}},mounted(){this.range=this.value},methods:{getLabel(t){return this.isTime?this.minutesToTime(t):t.toString()},getPosition(t){return(t-this.min)/this.rangeDistance*100},getEmptyRangeStyle(t=!1){let e,r;t?(e=this.range[1],r=this.max):(e=this.min,r=this.range[0]);const n=this.disabled?"#c6c6c6":"#8ac5ff",i=this.getPosition(e),s=this.getPosition(r)-i;return{left:`calc(${i}% + 0px)`,width:`calc(${s}% + 0px)`,background:`${n}`}},getRangeStyle(t){const e=this.disabled?"#c6c6c6":"#3b82f6",r=this.getPosition(t[0]),n=this.getPosition(t[1])-r;return{left:`calc(${r}% + 0px)`,width:`calc(${n}% + 0px)`,background:`${e}`}},onMouseMove(t){var e;if((e=this.selectedThumb)!=null&&e.hasPointerCapture(t.pointerId)){if(this.slider=this.$refs.slider,this.sliderRect=this.slider.getBoundingClientRect(),!this.sliderRect)return;const n=(t.clientX-this.sliderRect.left)/this.sliderRect.width,i=Math.round(n*this.rangeDistance+this.min),s=this.roundToStep(i);if(this.selectedThumb.id==="input-min-thumb"){if(s>this.range[1]){this.range=[this.range[1],this.range[1]];return}if(s<=this.min){this.range=[this.min,this.range[1]];return}this.range=[s,this.range[1]]}if(this.selectedThumb.id==="input-max-thumb"){if(s<this.range[0]){this.range=[this.range[0],this.range[0]];return}if(s>=this.max){this.range=[this.range[0],this.max];return}this.range=[this.range[0],s]}}},onMouseDown(t){var e,r;(e=t.target)!=null&&e.matches(".e-range-slider__thumb, .e-range-slider__tooltip")&&(this.selectedThumb=t.target.closest(".e-range-slider__thumb"),t instanceof PointerEvent&&((r=this.selectedThumb)==null||r.setPointerCapture(t.pointerId)))},onMouseUp(t){var e;this.selectedThumb&&(t instanceof PointerEvent&&((e=this.selectedThumb)==null||e.releasePointerCapture(t.pointerId)),this.selectedThumb=null)},roundToStep(t){let e=Math.round(t/this.step),r=this.step*e,n=t*this.step>0?this.step*(e+1):this.step*(e-1);return Math.abs(t-r)<Math.abs(t-n)?r:n},minutesToTime(t){const e=Math.floor(t/60).toString().padStart(2,"0"),r=(t%60).toString().padStart(2,"0");return`${e}:${r}`}}});var _4=function(){var e=this,r=e._self._c;return r("div",{ref:"slider",staticClass:"e-range-slider",on:{pointerdown:function(n){return n.preventDefault(),e.onMouseDown.apply(null,arguments)},pointerup:function(n){return n.preventDefault(),e.onMouseUp.apply(null,arguments)},pointermove:function(n){return n.preventDefault(),e.onMouseMove.apply(null,arguments)},touchstart:function(n){return n.preventDefault(),e.onMouseDown.apply(null,arguments)},touchend:function(n){return n.preventDefault(),e.onMouseUp.apply(null,arguments)}}},[r("div",{staticClass:"e-range-slider__wrapper"},[r("input",{staticClass:"e-range-slider__input",attrs:{id:"input-min",tabindex:"-1"},domProps:{value:e.range[0]}}),r("input",{staticClass:"e-range-slider__input",attrs:{id:"input-max",tabindex:"-1"},domProps:{value:e.range[1]}}),r("div",{staticClass:"e-range-slider__track"},[r("div",{staticClass:"e-range-slider__bg",style:e.getEmptyRangeStyle()}),r("div",{staticClass:"e-range-slider__bg",style:e.getRangeStyle(e.range)}),r("div",{staticClass:"e-range-slider__bg",style:e.getEmptyRangeStyle(!0)})]),r("div",{staticClass:"e-absolute e-top-1/2 e-range-slider__container",class:{"e-pointer-events-none":e.disabled||e.readonly,"e-cursor-grabbing":e.selectedThumb&&e.selectedThumb.id==="input-min-thumb","hover:e-cursor-grab":!e.disabled&&!e.readonly&&!e.selectedThumb},style:{left:`${e.getPosition(e.range[0])}%`}},[r("div",{staticClass:"e-range-slider__thumb",class:[e.disabled?"e-bg-[#c6c6c6] e-border-[#c6c6c6]":"e-bg-primary e-border-primary"],attrs:{id:"input-min-thumb"}},[e.showTooltip?r("div",{staticClass:"e-range-slider__tooltip",class:[e.dark?"e-text-gray-900":"e-text-white"]},[e._v(" "+e._s(e.getLabel(e.range[0]))+" ")]):e._e()])]),r("div",{staticClass:"e-absolute e-top-1/2",class:{"e-pointer-events-none":e.disabled||e.readonly,"e-cursor-grabbing":e.selectedThumb&&e.selectedThumb.id==="input-max-thumb","hover:e-cursor-grab":!e.disabled&&!e.readonly&&!e.selectedThumb},style:{left:`${e.getPosition(e.range[1])}%`}},[r("div",{staticClass:"e-range-slider__thumb",class:[e.disabled?"e-bg-[#c6c6c6] e-border-[#c6c6c6]":"e-bg-primary e-border-primary"],attrs:{id:"input-max-thumb"}},[e.showTooltip?r("div",{staticClass:"e-range-slider__tooltip",class:[e.dark?"e-text-gray-900":"e-text-white"]},[e._v(" "+e._s(e.getLabel(e.range[1]))+" ")]):e._e()])])])])},C4=[],b4=R(y4,_4,C4,!1,null,null,null,null);const x4=b4.exports,w4=O.extend({name:"EDivider",props:{dark:{type:Boolean,default:!1}}});var S4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("hr",{staticClass:"e-divider",class:[e.dark?"e-border-white/[.12]":"e-border-black/[.12]"]})},T4=[],k4=R(w4,S4,T4,!1,null,null,null,null);const $4=k4.exports,M4=O.extend({name:"ESchedulePicker",components:{ERow:Ur,ECol:Zr,ERangeSlider:x4,EDivider:$4},props:{scheduleType:{type:String,default:"continuous",required:!0},preloadSchedule:{type:[Object,String],default:()=>({}),required:!1},editMode:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},step:{type:Number,default:15}},data(){return{min:0,max:1439,enabledDays:{monday:!0,tuesday:!0,wednesday:!0,thursday:!0,friday:!0,saturday:!0,sunday:!0},schedule:null,hours:[0,1439]}},computed:{isDisabled(){return!this.editMode&&[yt.Continuous,yt.WorkingHours].includes(this.scheduleType)}},watch:{scheduleType:{immediate:!0,handler(){this.schedule=en(ji[this.scheduleType]),this.initEnabledDays(),this.hours=Object.values(this.schedule)[1]}},schedule:{deep:!0,handler(){this.changeSchedule()}}},mounted(){if(Object.keys(this.preloadSchedule).length){let t=typeof this.preloadSchedule=="string"?JSON.parse(this.preloadSchedule):this.preloadSchedule;Object.keys(this.enabledDays).forEach(e=>{var r;this.enabledDays[e]=((r=t[e])==null?void 0:r.length)>0}),this.schedule=en(t),this.hours=Object.values(this.schedule)[1]}},methods:{initEnabledDays(){Object.keys(this.enabledDays).forEach(t=>{this.enabledDays[t]=this.scheduleType===yt.WorkingHours?!["saturday","sunday"].includes(t):!0})},toTextSchedule(){return Object.fromEntries(Object.entries(this.schedule).map(([t,e])=>{if(!(e!=null&&e.length)||!this.enabledDays[t])return[t,[]];{const r=Jr(e[0]),n=Jr(e[1]);return[t,[`${r}-${n}`]]}}))},changeSchedule(){this.$emit("input",this.toTextSchedule())},onHoursChange(t){this.schedule=Object.entries(this.schedule).reduce((e,[r])=>({...e,[r]:t}),{})}}});var E4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-m-2 e-w-full"},[r("ERow",{staticClass:"e-w-full"},[r("ECol",{staticClass:"e-caption",class:[e.dark?"e-text-white":"e-text-gray-900"],attrs:{cols:"2"}},[e._v(" Hours ")]),r("ECol",[r("ERangeSlider",{attrs:{max:e.max,min:e.min,readonly:e.isDisabled,step:e.step,dark:e.dark,"is-time":""},on:{input:e.onHoursChange},model:{value:e.hours,callback:function(n){e.hours=n},expression:"hours"}})],1)],1),r("EDivider",{attrs:{dark:e.dark}}),r("ERow",{staticClass:"e-m-0 e-w-full"},[r("ECol",{staticClass:"e-caption",class:[e.dark?"e-text-white":"e-text-gray-900"],attrs:{cols:"12"}},[e._v(" Days ")])],1),e._l(e.schedule,function(n,i){return r("ERow",{key:i,staticClass:"e-w-full"},[r("ECol",{attrs:{cols:"2"}},[r("div",{staticClass:"e-flex e-items-center e-my-0 e-h-full"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.enabledDays[i],expression:"enabledDays[day]"}],staticClass:"e-w-5 e-h-auto",attrs:{type:"checkbox",disabled:e.isDisabled},domProps:{checked:Array.isArray(e.enabledDays[i])?e._i(e.enabledDays[i],null)>-1:e.enabledDays[i]},on:{change:[function(s){var a=e.enabledDays[i],c=s.target,o=!!c.checked;if(Array.isArray(a)){var l=null,d=e._i(a,l);c.checked?d<0&&e.$set(e.enabledDays,i,a.concat([l])):d>-1&&e.$set(e.enabledDays,i,a.slice(0,d).concat(a.slice(d+1)))}else e.$set(e.enabledDays,i,o)},e.changeSchedule]}}),r("label",{staticClass:"e-ml-2",class:[e.dark?"e-text-white":"e-text-gray-900"]},[e._v(" "+e._s(i[0].toUpperCase())+" ")])])]),r("ECol",[r("ERangeSlider",{attrs:{max:e.max,min:e.min,disabled:!e.enabledDays[i],readonly:e.isDisabled,step:e.step,dark:e.dark,"is-time":""},on:{input:e.changeSchedule},model:{value:e.schedule[i],callback:function(s){e.$set(e.schedule,i,s)},expression:"schedule[day]"}})],1)],1)})],2)},L4=[],D4=R(M4,E4,L4,!1,null,null,null,null);const us=D4.exports,ds=O.extend({mixins:[He,Ze],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())}}}),hs=Object.freeze(Object.defineProperty({__proto__:null,eventListeners:He,formField:Ht,inactivityListener:ds,selectFormField:St,timeouts:Ze,toggleOpen:Nt},Symbol.toStringTag,{value:"Module"})),P4=O.extend({name:"EPopover",directives:{ClickOutside:sn},mixins:[Nt],props:{dark:{type:Boolean,default:!1},label:{type:String,default:"Click to open"},panelSide:{type:String,default:"center"},panelClasses:{type:[Object,String,Array],default:()=>({})},autoPosition:{type:Boolean,default:!1},testId:{type:String,default:""}},data(){return{shouldOpenUpward:!1}},computed:{panelThemeClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark,"right-0":this.panelSide==="right","left-0":this.panelSide==="left"}},panelPositionClass(){return this.autoPosition?this.shouldOpenUpward?"e-bottom-[100%]":"e-top-[100%]":void 0}},watch:{isOpen(t){t&&this.autoPosition&&(this.shouldOpenUpward=!1,this.$nextTick(()=>{this.calculatePosition()}))}},methods:{closePopover(){this.isOpen=!1,this.autoPosition&&(this.shouldOpenUpward=!1)},calculatePosition(){const t=this.$refs.panelMenu;if(!t)return;const e=this.findScrollableParent(t),r=e.scrollHeight>e.clientHeight,n=t.getBoundingClientRect(),i=window.innerHeight,s=n.bottom>i;this.shouldOpenUpward=s||r},findScrollableParent(t){let e=t.parentElement;for(;e;){const r=window.getComputedStyle(e).overflowY;if(r==="auto"||r==="scroll")return e;e=e.parentElement}return document.documentElement}}}),gh="";var z4=function(){var e=this,r=e._self._c;return r("div",e._b({directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closePopover,expression:"closePopover"}],ref:"popoverWrapper",staticClass:"e-popover__wrapper e-relative e-w-full"},"div",e.$attrs,!1),[e._t("trigger",function(){return[r("div",e._g(e._b({ref:"triggerButton",staticClass:"e-popover__trigger-button e-relative e-w-full e-rounded e-py-2 e-leading-5 e-cursor-pointer e-h-[40px] e-flex e-justify-center e-items-center",attrs:{role:"button","data-test-id":e.testId?`${e.testId}-trigger`:void 0},on:{click:e.toggleOpen}},"div",e.$attrs,!1),e.$listeners),[e._t("trigger-button-content",function(){return[r("span",[e._v(" "+e._s(e.label)+" ")])]})],2)]},{toggle:e.toggleOpen,isOpen:e.isOpen}),e.isOpen?r("div",e._b({ref:"panelMenu",staticClass:"e-popover__menu-wrapper e-absolute e-bg-gray-800 e-z-[5] e-min-w-[160px] e-w-full e-min-h-12 e-max-h-72 e-overflow-auto e-text-sm e-rounded-md e-scrollbar-thin e-scrollbar-thumb-rounded-full e-scrollbar-track-rounded-full e-scrollbar-thumb-gray-400 shadow-2xl focus:e-outline-none sm:e-text-sm",class:[e.panelThemeClasses,e.panelClasses,e.panelPositionClass],attrs:{"data-test-id":e.testId?`${e.testId}-panel`:void 0}},"div",e.$attrs,!1),[e._t("panel",function(){return[e._t("default")]},{toggleOpen:e.toggleOpen,isOpen:e.isOpen})],2):e._e()],2)},O4=[],B4=R(P4,z4,O4,!1,null,"cc8fde1c",null,null);const jt=B4.exports,I4=O.extend({name:"ECheckbox",components:{EIcon:Be},props:{checked:{type:Boolean,default:!1},testId:{type:String,default:""}}}),vh="";var F4=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",e._g(e._b({staticClass:"e-select-checkbox e-box-border e-w-4 e-h-4 e-rounded e-flex e-items-center e-justify-center e-align-middle e-border-solid e-border-2",class:{"e-border-gray-500":!e.checked,"e-bg-[#1976d2] e-border-[#1976d2]":e.checked},staticStyle:{"border-radius":"2px"},attrs:{"data-test-id":e.testId||void 0}},"div",e.$attrs,!1),e.$listeners),[e.checked?r("EIcon",{attrs:{icon:"far fa-check",color:"e-text-white",size:"xs"}}):e._e()],1)},R4=[],A4=R(I4,F4,R4,!1,null,"7e31e3f2",null,null);const H4=A4.exports,N4=O.extend({name:"ESelect",components:{ECheckbox:H4,EIcon:Be,EPopover:jt},directives:{ResizeObserver:Ue},mixins:[St],props:{dark:{type:Boolean,default:!1},withSelectAll:{type:Boolean,default:!1},customSelectionLabel:{type:String,default:""},name:{type:String,default:"Items"},label:{type:String,default:"Select an option"},withCheckbox:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{type:String,default:"Type to search..."},withSearchQueryVisible:{type:Boolean,default:!1}},data(){return{searchQuery:"",menuStyle:{}}},computed:{customLabel(){return this.multiple&&Array.isArray(this.value)&&this.value.length===0||!this.multiple&&(this.value===null||this.value===void 0)?this.label:this.multiple&&this.customSelectionLabel.length>0?this.customSelectionLabel:this.localLabel||this.label},filteredOptions(){if(!this.searchQuery)return this.options;const t=this.searchQuery.toLowerCase().trim();return this.options.filter(e=>e.label.toLowerCase().includes(t))},scrollbarClasses(){return{"e-scrollbar-track-gray-800 e-scrollbar-thumb-gray-500":this.dark,"e-scrollbar-track-white e-scrollbar-thumb-gray-400":!this.dark}},showSearchClearButton(){return(this.searchQuery.length>0||this.isAtLeastOneSelected)&&this.searchable&&!this.disabled}},methods:{handleTriggerClick(t,e){this.disabled||(e(t),this.$nextTick(()=>{const r=this.$refs.searchInput;r&&r.focus()}),this.withSearchQueryVisible&&(this.searchQuery=this.getOptionByValue(this.value).label||""))},handleMenuStyle(){const t=this.$refs.ESelectWrapper;this.menuStyle={maxWidth:`${t==null?void 0:t.clientWidth}px`,minWidth:"160px"}},clearSearch(){this.searchQuery="",this.$emit("input",this.multiple?[]:null);const t=this.$refs.searchInput;t&&t.focus()}}}),yh="";var j4=function(){var e=this,r=e._self._c;return r("EPopover",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.handleMenuStyle,expression:"handleMenuStyle"}],attrs:{dark:e.dark},scopedSlots:e._u([{key:"trigger",fn:function({isOpen:n,toggle:i}){return[e._t("activator",function(){return[r("div",{staticClass:"e-select__trigger-button e-relative e-w-full e-min-h-[40px] e-rounded e-border e-border-solid e-py-2 e-pl-3 e-leading-5 e-cursor-pointer e-max-h-[40px] e-flex e-items-center e-bg-gray-900",class:[e.radioItemClasses,e.dark?"_dark":"_light",{"e-select--open":n}],attrs:{id:`e-select-trigger-${Date.now()}`,"data-test-id":`select-trigger-${Date.now()}`,role:"button"},on:{click:s=>e.handleTriggerClick(s,i)}},[n&&e.searchable?r("div",{staticClass:"e-select__search-input-wrapper e-flex e-items-center e-gap-2 e-w-full e-mr-10"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.searchQuery,expression:"searchQuery"}],ref:"searchInput",staticClass:"e-select__search-input e-w-full e-h-6 e-bg-transparent placeholder:e-text-sm e-text-sm e-outline-none e-border-none",class:{"e-text-white placeholder:e-text-gray-400":e.dark,"e-text-gray-700 placeholder:e-text-gray-500":!e.dark},attrs:{placeholder:e.searchPlaceholder,type:"text"},domProps:{value:e.searchQuery},on:{click:function(s){s.stopPropagation()},input:function(s){s.target.composing||(e.searchQuery=s.target.value)}}})]):[e.multiple&&e.selectedOption.length===0||!e.selectedOption?e._t("label",function(){return[e.customLabel&&!e.searchable?r("span",{staticClass:"e-select-label e-text-sm"},[e._v(e._s(e.customLabel))]):r("span",{staticClass:"e-select-label e-text-sm e-text-gray-400"},[e._v(e._s(e.searchPlaceholder))])]}):e._t("selection",function(){return[r("span",{staticClass:"e-capitalize e-select__trigger-button-text e-truncate"},[e._v(" "+e._s(e.customLabel)+" ")])]})],e.showSearchClearButton?r("button",{staticClass:"e-select__clean-search-button e-flex e-bg-transparent e-z-[2] e-absolute e-right-10 e-cursor-pointer e-border-none e-items-center e-justify-center e-w-5 e-h-5",on:{click:function(s){return s.stopPropagation(),e.clearSearch.apply(null,arguments)}}},[r("EIcon",{attrs:{color:"e-text-gray-400 hover:e-text-[#1976d2]",icon:"far fa-xmark",size:"lg"}})],1):e._e(),e._t("pre-append-icon",function(){return[r("span",{staticClass:"e-select__trigger-button-icon e-absolute e-inset-y-0 e-right-0 e-flex e-items-center e-justify-end e-px-3 e-pr-4 e-bg-transparent e-border-transparent e-text-gray-400"},[r("EIcon",{attrs:{icon:n?"fas fa-sort-up e-mt-2.5":"fas fa-sort-down e-mb-1.5"}})],1)]})],2)]},{attrs:{class:e.radioItemClasses,isOpen:n},on:{click:i}})]}},{key:"panel",fn:function(){return[e.multiple&&e.withSelectAll?r("div",{staticClass:"e-select__menu-check-all-wrapper e-relative e-cursor-pointer e-select-none e-p-2",on:{click:function(n){return e.toggleSelectAll(n)}}},[r("div",{staticClass:"e-select__menu-check-all e-flex e-justify-start e-items-center e-gap-2 e-p-1 e-w-full",class:{"e-text-[#1976d2] ":e.isAllSelected&&!e.dark,"e-text-[#61b0ff]":e.isAllSelected&&e.dark}},[r("ECheckbox",{attrs:{checked:e.isAllSelected},on:{click:function(n){return e.toggleSelectAll(n)}}}),r("span",{staticClass:"e-capitalize e-select__menu-check-all-text e-text-sm e-font-medium"},[e._v(" All "+e._s(e.name||"")+" ")])],1)]):e._e(),e.multiple&&e.withSelectAll?r("hr",{staticClass:"e-border-0 e-h-px e-m-0",class:{"e-bg-gray-700":e.dark,"e-bg-gray-200":!e.dark}}):e._e(),e._l(e.filteredOptions,function(n,i){return r("div",{key:i,staticClass:"e-select__menu-item-wrapper e-relative e-select-none e-p-2",class:[e.containerClasses(n),{"hover:e-bg-gray-700":e.dark&&!e.isSelected(n.value)," hover:e-bg-gray-100":!e.dark&&!e.isSelected(n.value)}],attrs:{id:`select-item-${n.value}`,"data-test-id":`select-item-${i}`},on:{click:function(s){return e.onItemClick(n.value,s)}}},[r("div",{staticClass:"e-select__menu-item e-flex e-justify-start e-items-center e-gap-2 e-p-1 e-w-i"},[e.withCheckbox||e.multiple?r("ECheckbox",{attrs:{checked:e.isSelected(n.value)},on:{click:function(s){return e.onItemClick(n.value,s)}}}):e._e(),e._t("item",function(){return[r("span",{staticClass:"e-select__menu-item-text e-block e-text-sm e-font-medium"},[e._v(" "+e._s(n.label)+" ")])]},{item:n,isSelected:e.isSelected(n.value)})],2)])}),e.filteredOptions.length===0?r("div",{staticClass:"e-select__no-values-box e-p-4 e-text-center e-text-gray-500"},[e._v(" No results found ")]):e._e()]},proxy:!0}],null,!0)})},q4=[],W4=R(N4,j4,q4,!1,null,null,null,null);const mn=W4.exports,G4=O.extend({name:"ESchedule",components:{ESelect:mn,EPopover:jt,EIcon:Be},directives:{ResizeObserver:Ue},props:{schedule:{type:Object,default:null},templates:{type:Array,default:()=>[{label:"Daily 7 AM - 7 PM (All Days)",value:"07:00-19:00"},{label:"Weekly 7 AM - 7 PM (Weekdays Only)",value:"07:00-19:00|weekdays"},{label:"Business Hours (8:00 - 18:00)",value:"08:00-18:00"},{label:"Business Hours - Weekdays (9:00 - 17:00)",value:"09:00-17:00|weekdays"},{label:"Morning Shift (6:00 - 14:00)",value:"06:00-14:00"},{label:"Extended Hours (7:00 - 20:00)",value:"07:00-20:00"},{label:"Evening Shift (14:00 - 22:00)",value:"14:00-22:00"},{label:"Night Shift (22:00 - 06:00)",value:"22:00-06:00"},{label:"24/7 Operation",value:"00:00-23:59"}]},withTemplateSelector:{type:Boolean,default:!0}},data(){return{rowHeightPx:48,segmentsContainerRect:null,editing:null,creating:null,internalDays:[],selectedTemplate:null,savedDaysState:null,defaultSchedule:{1:["07:00-19:00"],2:["07:00-19:00"],3:["07:00-19:00"],4:["07:00-19:00"],5:["07:00-19:00"],6:["07:00-19:00"],7:["07:00-19:00"]}}},computed:{isIdle(){return!(this.creating||this.editing)},sortedDays(){return this.internalDays.slice().sort((t,e)=>t.day<e.day?-1:1)},segmentsContainerStyles(){return this.segmentsContainerRect?{width:`${this.segmentsContainerRect.width}px`,height:`${this.segmentsContainerRect.height}px`,top:`${this.segmentsContainerRect.top}px`,left:`${this.segmentsContainerRect.left}px`}:{}},pixelsPerHour(){return this.segmentsContainerRect?this.segmentsContainerRect.width/24:0}},watch:{schedule:{immediate:!0,handler(t){var r;const e=(r=Object.entries(t||{}))!=null&&r.length?t:this.defaultSchedule;this.internalDays=Object.entries(e).map(([n,i])=>{const s=parseInt(n,10)-1,a=[];return i.forEach(c=>{const[o,l]=c.split("-"),d=this.normalizeTime(o),h=this.normalizeTime(l),{hours:m,minutes:C}=this.parseTime(d),{hours:b,minutes:p}=this.parseTime(h),v=m+C/60;b+p/60<v?(a.push({startTime:d,endTime:"23:59"}),a.push({startTime:"00:00",endTime:h})):a.push({startTime:d,endTime:h})}),{day:s,segments:a}})}},isIdle(t){t&&this.emitChangeEvent()}},mounted(){this.$nextTick(()=>{this.onResize()})},methods:{applyTemplateToAll(){if(!this.selectedTemplate)return;const[t,e]=this.selectedTemplate.split("|"),[r,n]=t.split("-"),{hours:i,minutes:s}=this.parseTime(r),{hours:a,minutes:c}=this.parseTime(n),o=i+s/60,d=a+c/60<o;this.internalDays=this.internalDays.map(h=>e==="weekdays"?h.day>=0&&h.day<=4?d?{...h,segments:[{startTime:r,endTime:"23:59"},{startTime:"00:00",endTime:n}]}:{...h,segments:[{startTime:r,endTime:n}]}:{...h,segments:[]}:d?{...h,segments:[{startTime:r,endTime:"23:59"},{startTime:"00:00",endTime:n}]}:{...h,segments:[{startTime:r,endTime:n}]}),this.emitChangeEvent()},applySegmentsToFilteredDays(t,e,r=()=>!0){const n=JSON.parse(JSON.stringify(this.sortedDays[t].segments));this.internalDays=this.internalDays.map(i=>r(i.day)?{...i,segments:n}:i),this.emitChangeEvent(),e()},applyToAllDays(t,e){this.applySegmentsToFilteredDays(t,e)},applyToWeekdays(t,e){this.applySegmentsToFilteredDays(t,e,r=>r>=0&&r<=4)},applyToWeekends(t,e){this.applySegmentsToFilteredDays(t,e,r=>r===5||r===6)},formatDayFull(t){return["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"][t]},formatHourLabel(t){return`${t.toString().padStart(2,"0")}h`},getSegmentLabel(t){return`${t.startTime} - ${t.endTime}`},normalizeTime(t){return t==="24:00"?"23:59":t},getFormattedSchedule(){const t={};return this.internalDays.forEach(e=>{const r=(e.day+1).toString();t[r]=e.segments.map(n=>{const i=this.normalizeTime(n.startTime),s=this.normalizeTime(n.endTime);return`${i}-${s}`})}),t},parseTime(t){const[e,r]=t.split(":").map(n=>parseInt(n,10));return{hours:e,minutes:r}},padTime(t){let e=Math.round(t*60);e=Math.max(0,Math.min(e,1439));const r=Math.floor(e/60),n=e%60;return`${r.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`},roundToFive(t){const e=t*60;if(e>=1437)return 1439/60;const r=Math.round(e/5)*5;return Math.max(0,Math.min(r,1435))/60},calculateBarStyle(t,e,r){const{hours:n,minutes:i}=this.parseTime(e),{hours:s,minutes:a}=this.parseTime(r),c=n+i/60,l=s+a/60-c,d=c/24*100,h=l/24*100,m=t*this.rowHeightPx,C=this.rowHeightPx*.7,b=(this.rowHeightPx-C)/2;return{position:"absolute",top:`${m+b}px`,left:`calc(${d}% + 1px)`,width:`calc(${h}% - 2px)`,height:`${C}px`}},onResize(){const t=this.$refs.table;if(!t)return;const e=t.querySelector("tbody");if(!e)return;const r=e.querySelector("tr");r&&(this.rowHeightPx=r.getBoundingClientRect().height);const n=Array.from(t.querySelectorAll(".time-cell"));if(!n.length)return;const i=n[0].getBoundingClientRect(),s=n.slice(-24),a=s[s.length-1].getBoundingClientRect(),c=t.getBoundingClientRect();this.segmentsContainerRect={top:i.top-c.top,left:i.left-c.left,width:a.right-i.left,height:a.bottom-i.top}},onResizeHandleMouseDown(t,e,r,n){this.startEditingSegment(t,e,r,n)},onSegmentMouseDown(t,e,r){this.startEditingSegment(t,e,r,"move")},startEditingSegment(t,e,r,n){if(t.preventDefault(),t.stopPropagation(),!this.segmentsContainerRect)return;const i=this.sortedDays[e].segments[r],{hours:s,minutes:a}=this.parseTime(i.startTime),{hours:c,minutes:o}=this.parseTime(i.endTime),l=s+a/60,d=c+o/60;this.savedDaysState=JSON.parse(JSON.stringify(this.internalDays)),this.editing={dayIndex:e,segmentIndex:r,type:n,startMouseX:t.clientX,origStartFrac:l,origEndFrac:d,origStartTime:i.startTime,origEndTime:i.endTime,isMultiDay:t.shiftKey},document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)},onMouseMove(t){if(!this.editing||!this.segmentsContainerRect)return;t.preventDefault();const{dayIndex:e,segmentIndex:r,type:n,startMouseX:i,origStartFrac:s,origEndFrac:a,origStartTime:c,origEndTime:o,isMultiDay:l}=this.editing,h=(t.clientX-i)/this.pixelsPerHour;let m=s,C=a;n==="move"?(m=s+h,C=a+h):n==="resize-left"?m=s+h:n==="resize-right"&&(C=a+h);const b=.25;n==="resize-left"&&C-m<b&&(m=C-b),n==="resize-right"&&C-m<b&&(C=m+b),m=this.roundToFive(Math.max(0,Math.min(m,1439/60))),C=this.roundToFive(Math.max(0,Math.min(C,1439/60)));const p={startTime:this.padTime(m),endTime:this.padTime(C)},v=this.sortedDays[e].day,E=l&&this.savedDaysState?this.savedDaysState:this.internalDays;this.internalDays=E.map(T=>{if(T.day===v)return{...T,segments:T.segments.map((H,L)=>L===r?p:H)};if(l&&this.savedDaysState){const H=T.segments.filter(L=>!(L.startTime===c&&L.endTime===o));return{...T,segments:[...H,p]}}return T})},onMouseUp(){document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),this.editing=null,this.savedDaysState=null,this.mergeOverlappingSegments()},deleteSegment(t,e){const r=this.sortedDays[t].day;this.internalDays=this.internalDays.map(n=>{if(n.day!==r)return n;const i=n.segments.filter((s,a)=>a!==e);return{...n,segments:i}}),this.emitChangeEvent()},onBackgroundMouseDown(t){if(t.target.closest(".segment"))return;t.preventDefault();const r=this.$refs.overlay;if(!r)return;const n=r.getBoundingClientRect(),i=t.clientY-n.top,s=Math.floor(i/this.rowHeightPx);if(s<0||s>=this.sortedDays.length)return;let a=(t.clientX-n.left)/this.pixelsPerHour;a=Math.max(0,Math.min(a,1439/60)),this.creating={startDayIndex:s,currentDayIndex:s,startFrac:a,currentFrac:a,isMultiDay:t.shiftKey},document.addEventListener("mousemove",this.onCreateMouseMove),document.addEventListener("mouseup",this.onCreateMouseUp)},onCreateMouseMove(t){if(!this.creating||!this.segmentsContainerRect)return;t.preventDefault();const e=this.$refs.overlay;if(!e)return;const r=e.getBoundingClientRect();let n=(t.clientX-r.left)/this.pixelsPerHour;n=Math.max(0,Math.min(n,1439/60)),this.creating.currentFrac=n;const i=t.clientY-r.top;let s=Math.floor(i/this.rowHeightPx);s=Math.max(0,Math.min(s,this.sortedDays.length-1)),this.creating.currentDayIndex=s,this.creating.isMultiDay=t.shiftKey},onCreateMouseUp(){if(!this.creating)return;const{startDayIndex:t,currentDayIndex:e,startFrac:r,currentFrac:n,isMultiDay:i}=this.creating;let s=Math.min(r,n),a=Math.max(r,n);if(a-s<.25){this.cleanupCreate();return}const c=this.roundToFive(s),o=this.roundToFive(a),l={startTime:this.padTime(c),endTime:this.padTime(o)},d=this.sortedDays.map(m=>m.day).slice(Math.min(t,e),Math.max(t,e)+1),h=i?this.internalDays.map(m=>m.day):d;this.internalDays=this.internalDays.map(m=>h.includes(m.day)?{...m,segments:[...m.segments,l]}:m),this.cleanupCreate(),this.mergeOverlappingSegments()},cleanupCreate(){document.removeEventListener("mousemove",this.onCreateMouseMove),document.removeEventListener("mouseup",this.onCreateMouseUp),this.creating=null},calculateMultiDayStyle(t,e,r,n){const i=Math.min(r,n)/24*100,s=(Math.max(r,n)-Math.min(r,n))/24*100,a=Math.min(t,e),o=Math.max(t,e)-a+1,l=this.rowHeightPx*.7,d=(this.rowHeightPx-l)/2,h=a*this.rowHeightPx+d,m=o*this.rowHeightPx-(this.rowHeightPx-l);return{position:"absolute",top:`${h}px`,left:`calc(${i}% + 1px)`,width:`calc(${s}% - 2px)`,height:`${m}px`}},mergeOverlappingSegments(){this.internalDays=this.internalDays.map(t=>{const e=t.segments.map(i=>{const{hours:s,minutes:a}=this.parseTime(i.startTime),{hours:c,minutes:o}=this.parseTime(i.endTime);let l=s+a/60,d=c+o/60;return d<l&&(d+=24),{start:l,end:d}});e.sort((i,s)=>i.start-s.start);const r=[];for(const i of e)if(!r.length)r.push({...i});else{const s=r[r.length-1];i.start<=s.end+1e-6?s.end=Math.max(s.end,i.end):r.push({...i})}const n=r.map(i=>{let s=i.start,a=i.end;return a>=24&&(a=1439/60),{startTime:this.padTime(this.roundToFive(s)),endTime:this.padTime(this.roundToFive(a))}});return{day:t.day,segments:n}})},emitChangeEvent(){this.mergeOverlappingSegments(),this.$emit("change",this.getFormattedSchedule())}}}),_h="";var U4=function(){var e=this,r=e._self._c;return r("div",{ref:"mainContainer",staticClass:"e-bg-white e-p-5 e-rounded-lg e-overflow-visible"},[e.withTemplateSelector?r("div",{staticClass:"e-flex e-justify-end e-items-center e-gap-3 e-pb-4 e-overflow-visible"},[r("label",{staticClass:"e-font-semibold e-text-sm e-text-gray-700"},[e._v("Template:")]),r("div",{staticClass:"e-flex-1 e-max-w-xs e-relative e-z-10"},[r("ESelect",{attrs:{"set-initial-value":!1,options:e.templates,dark:!1,label:"Select a template..."},on:{input:e.applyTemplateToAll},model:{value:e.selectedTemplate,callback:function(n){e.selectedTemplate=n},expression:"selectedTemplate"}})],1)]):e._e(),r("div",{staticClass:"table-wrapper e-relative e-overflow-x-auto e-overflow-y-visible e-border e-border-solid e-border-gray-200 e-rounded-lg"},[r("table",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"table",staticClass:"schedule-table e-w-full e-bg-white"},[r("thead",[r("tr",{staticClass:"e-bg-gray-50"},[r("th",{staticClass:"day-header e-sticky e-left-0 e-z-[5] e-py-3 e-px-4 e-text-left e-font-semibold e-text-xs e-text-gray-700 e-whitespace-nowrap e-bg-gray-50"},[e._v(" Day ")]),e._l(24,function(n){return r("th",{key:n,staticClass:"hour-header e-py-3 e-px-1 e-text-center e-font-medium e-text-[11px] e-text-gray-500 e-min-w-[40px]"},[e._v(" "+e._s(e.formatHourLabel(n-1))+" ")])}),r("th",{staticClass:"actions-header e-py-3 e-px-4 e-text-center e-font-semibold e-text-xs e-text-gray-700 e-whitespace-nowrap e-bg-gray-50"},[e._v(" Actions ")])],2)]),r("tbody",e._l(e.sortedDays,function(n,i){return r("tr",{key:n.day,staticClass:"day-row"},[r("td",{staticClass:"day-cell e-py-3 e-px-4 e-whitespace-nowrap e-sticky e-left-0 e-bg-white e-z-[5] first:e-bg-gray-50"},[r("span",{staticClass:"e-font-medium e-text-sm e-text-gray-900"},[e._v(e._s(e.formatDayFull(n.day)))])]),e._l(24,function(s){return r("td",{key:s,staticClass:"time-cell e-min-w-[40px] e-h-12 e-relative"})}),r("td",{staticClass:"actions-cell e-p-2 e-text-center e-bg-white e-relative"},[r("EPopover",{attrs:{dark:!1,"panel-side":"right","panel-classes":"actions-popover-panel","auto-position":""},scopedSlots:e._u([{key:"trigger",fn:function({toggle:s}){return[r("button",{staticClass:"e-px-3 e-py-1.5 e-bg-transparent e-border e-border-solid e-border-transparent e-rounded e-cursor-pointer e-transition-all hover:e-bg-gray-100 hover:e-border-gray-200",on:{click:s}},[r("EIcon",{attrs:{icon:"fa-ellipsis-vertical",color:"e-text-gray-500"}})],1)]}},{key:"panel",fn:function({toggleOpen:s}){return[r("button",{staticClass:"e-block e-w-full e-px-4 e-py-2.5 e-text-left e-text-sm e-text-gray-700 e-bg-transparent e-border-none e-cursor-pointer e-transition-colors e-whitespace-nowrap hover:e-bg-gray-100",on:{click:function(a){return e.applyToAllDays(i,s)}}},[e._v(" Apply to all days ")]),r("button",{staticClass:"e-block e-w-full e-px-4 e-py-2.5 e-text-left e-text-sm e-text-gray-700 e-bg-transparent e-border-none e-cursor-pointer e-transition-colors e-whitespace-nowrap hover:e-bg-gray-100",on:{click:function(a){return e.applyToWeekdays(i,s)}}},[e._v(" Apply to weekdays ")]),r("button",{staticClass:"e-block e-w-full e-px-4 e-py-2.5 e-text-left e-text-sm e-text-gray-700 e-bg-transparent e-border-none e-cursor-pointer e-transition-colors e-whitespace-nowrap hover:e-bg-gray-100",on:{click:function(a){return e.applyToWeekends(i,s)}}},[e._v(" Apply to weekends ")])]}}],null,!0)})],1)],2)}),0)]),e.segmentsContainerRect?r("div",{ref:"overlay",staticClass:"e-absolute e-pointer-events-auto e-cursor-crosshair",style:e.segmentsContainerStyles,on:{mousedown:e.onBackgroundMouseDown}},[e._l(e.sortedDays,function(n,i){return r("div",{key:n.day},e._l(n.segments,function(s,a){return r("div",{key:s.startTime+"-"+s.endTime,staticClass:"segment e-bg-blue-500 e-rounded e-cursor-grab e-flex e-items-center e-justify-center e-transition-colors hover:e-bg-blue-600 active:e-cursor-grabbing",style:e.calculateBarStyle(i,s.startTime,s.endTime),on:{mousedown:function(c){return c.stopPropagation(),e.onSegmentMouseDown(c,i,a)}}},[r("div",{staticClass:"resize-handle resize-handle-left e-absolute e-left-0 e-w-3 e-h-auto e-cursor-ew-resize e-z-10 e-opacity-0 e-transition-opacity e-flex e-items-center e-justify-center e-pointer-events-auto e-text-white",on:{mousedown:function(c){return c.stopPropagation(),e.onResizeHandleMouseDown(c,i,a,"resize-left")}}},[r("EIcon",{attrs:{icon:"fa-grip-vertical",size:"xs"}})],1),r("div",{staticClass:"resize-handle resize-handle-right e-absolute e-right-0 e-w-3 e-h-auto e-cursor-ew-resize e-z-10 e-opacity-0 e-transition-opacity e-flex e-items-center e-justify-center e-pointer-events-auto e-text-white",on:{mousedown:function(c){return c.stopPropagation(),e.onResizeHandleMouseDown(c,i,a,"resize-right")}}},[r("EIcon",{attrs:{icon:"fa-grip-vertical",size:"xs"}})],1),r("button",{staticClass:"delete-btn e-hidden e-absolute e-top-1/2 e-right-5 -e-translate-y-1/2 e-w-6 e-h-6 e-border-none e-rounded e-bg-transparent e-text-white e-text-xl e-font-bold e-leading-none e-cursor-pointer e-z-20 e-items-center e-justify-center hover:e-bg-blue-500",on:{click:function(c){return c.stopPropagation(),e.deleteSegment(i,a)}}},[r("EIcon",{attrs:{icon:"fa-xmark",size:"lg"}})],1),r("div",{staticClass:"e-text-xs e-text-white e-font-medium e-text-center e-pointer-events-none e-select-none",domProps:{innerHTML:e._s(e.getSegmentLabel(s))}})])}),0)}),e.creating?r("div",{staticClass:"segment e-rounded e-cursor-grab e-flex e-items-center e-justify-center e-bg-blue-500/30 e-border e-border-dashed e-border-blue-500",style:e.calculateMultiDayStyle(e.creating.startDayIndex,e.creating.currentDayIndex,e.creating.startFrac,e.creating.currentFrac)},[r("div",{staticClass:"e-text-xs e-text-white e-font-medium e-text-center e-pointer-events-none e-select-none"},[e._v(" "+e._s(e.padTime(e.roundToFive(Math.min(e.creating.startFrac,e.creating.currentFrac))))+" - "+e._s(e.padTime(e.roundToFive(Math.max(e.creating.startFrac,e.creating.currentFrac))))+" "),e.creating.isMultiDay?r("div",{staticClass:"e-text-[10px] e-opacity-80 e-mt-0.5"},[e._v(" (Shift: Apply to all days) ")]):e._e()])]):e._e()],2):e._e()]),r("div",{staticClass:"e-mt-3 e-text-xs e-text-gray-500 e-text-center"},[e._v(" Hold Shift to apply schedule to all days ")])])},Z4=[],X4=R(G4,U4,Z4,!1,null,"55976485",null,null);const ps=X4.exports,Y4=O.extend({name:"EStepper",components:{EIcon:Be},props:{steps:{type:Array,required:!0},initialStep:{type:Number,default:0},dark:{type:Boolean,default:!0},orientation:{type:String,default:"horizontal"}},data(){return{currentStep:0,transitionDirection:"forward"}},computed:{currentStepComponent(){return(this.steps[this.currentStep]||{}).component},isLastStep(){return this.currentStep===this.steps.length-1},canGoBack(){return this.currentStep>0},canGoNext(){return!0},stepperClasses(){return{[`e-stepper--${this.orientation}`]:!0,"e-text-slate-300":this.dark,"e-text-slate-700":!this.dark}},layoutClasses(){return this.orientation==="vertical"?"e-flex e-gap-8":"e-flex e-flex-col"},navigationClasses(){return this.orientation==="horizontal"?"e-mb-8":"e-flex-shrink-0 e-max-w-[20rem]"},stepsContainerClasses(){return this.orientation==="horizontal"?"e-relative e-flex e-justify-center e-items-center":"e-flex e-flex-col e-gap-8"},stepItemClasses(){return this.orientation==="horizontal"?"e-w-full":"e-w-full e-flex e-text-start e-gap-2.5"},stepIndicatorContainerClasses(){return this.orientation==="horizontal"?"e-relative e-flex e-justify-center":"e-relative"},stepContentClasses(){return this.orientation==="horizontal"?"e-mt-3":"e-mt-2.5"},transitionName(){return this.orientation==="vertical"?(this.transitionDirection==="forward","fade"):this.transitionDirection==="forward"?"slide-left":"slide-right"}},created(){this.currentStep=Math.max(0,Math.min(this.initialStep,this.steps.length-1))},mounted(){this.focusStepHeading()},methods:{isStepCompleted(t){return this.currentStep>t},goNext(){if(this.currentStep<this.steps.length-1){const t=this.currentStep;this.transitionDirection="forward",this.currentStep=this.currentStep+1,this.$emit("step-changed",{from:t,to:this.currentStep,direction:this.transitionDirection}),this.$nextTick(()=>{this.focusStepHeading()})}else if(this.isLastStep)return},goBack(){if(!this.canGoBack)return;const t=this.currentStep;this.transitionDirection="backward",this.currentStep=this.currentStep-1,this.$emit("step-changed",{from:t,to:this.currentStep,direction:this.transitionDirection}),this.$nextTick(()=>{this.focusStepHeading()})},focusStepHeading(){const t=this.$refs.stepHeading;t&&t.focus()},next(){this.goNext()},prev(){this.goBack()},reset(){this.currentStep=0},getStepButtonClasses(t){return this.isStepCompleted(t)?"e-bg-primary e-text-white":this.currentStep===t?"e-bg-blue-400 e-text-white":this.dark?"e-bg-gray-700 e-text-gray-300":"e-bg-gray-400 e-text-white"},getHorizontalConnectorClasses(t){return this.currentStep>t?"e-bg-primary":this.dark?"e-bg-slate-600":"e-bg-slate-300"},getVerticalConnectorClasses(t){return this.currentStep>t?"e-bg-primary":this.dark?"e-bg-slate-600":"e-bg-slate-300"},getStepTitleClasses(t){return t===this.currentStep?"e-text-primary":this.isStepCompleted(t)?"e-text-blue-500":this.dark?"e-text-gray-300":"e-text-gray-700"},getStepDescriptionClasses(){return this.dark?"e-text-slate-400":"e-text-slate-500"}}}),Ch="";var V4=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-stepper__container e-w-full e-p-4",class:e.stepperClasses},[r("div",{class:e.layoutClasses},[r("nav",{staticClass:"e-stepper__navigation",class:e.navigationClasses},[r("div",{class:e.stepsContainerClasses},e._l(e.steps,function(n,i){return r("div",{key:i,staticClass:"e-stepper__navigation-item e-group e-text-center e-relative",class:e.stepItemClasses},[r("div",{class:e.stepIndicatorContainerClasses},[r("div",{staticClass:"e-flex e-rounded-full e-text-center e-align-middle e-items-center e-justify-center e-font-semibold e-size-10 e-text-base e-border-0 e-transition-all e-duration-200 e-ease-out",class:e.getStepButtonClasses(i)},[e.isStepCompleted(i)&&n.completedIcon?r("EIcon",{attrs:{icon:n.completedIcon}}):n.icon?r("EIcon",{attrs:{icon:n.icon}}):r("span",[e._v(" "+e._s(i+1)+" ")])],1),e.orientation==="horizontal"&&i<e.steps.length-1?r("div",{staticClass:"e-stepper__navigation-connector--horizontal e-absolute e-rounded-full e-top-[calc(50%-2px)] e-h-0.5 e-start-[calc(50%+28px)] e-end-[calc(-50%+28px)]",class:e.getHorizontalConnectorClasses(i)}):e._e(),e.orientation==="vertical"&&i<e.steps.length-1?r("div",{staticClass:"e-stepper__navigation-connector--vertical e-absolute e-rounded-full e-start-[calc(50%-2px)] e-w-0.5 e-top-[46px] e-bottom-[-27px]",class:e.getVerticalConnectorClasses(i)}):e._e()]),r("div",{staticClass:"e-stepper__navigation-content",class:e.stepContentClasses},[e._t("title",function(){return[r("div",{staticClass:"e-block e-text-base e-font-semibold e-leading-tight",class:e.getStepTitleClasses(i)},[e._v(" "+e._s(n.title)+" ")])]},{step:n,index:i}),e._t("description",function(){return[n.description?r("div",{staticClass:"e-block e-text-sm e-mt-1 e-leading-tight",class:e.getStepDescriptionClasses()},[e._v(" "+e._s(n.description)+" ")]):e._e()]},{step:n,index:i})],2)])}),0)]),r("main",{staticClass:"e-stepper__content e-overflow-y-auto e-custom-scrollbar",class:{"e-mb-8":e.orientation==="horizontal","e-flex-1":e.orientation==="vertical","e-bg-gray-900 e-custom-scrollbar-dark":e.dark,"e-bg-white e-custom-scrollbar-light":!e.dark}},[r("div",{staticClass:"e-stepper__content-panel",attrs:{id:`panel-${e.currentStep}`}},[r("transition",{attrs:{name:e.transitionName,mode:"out-in"}},[e._t(`stepper-content-${e.currentStep}`,function(){return[r(e.currentStepComponent,{key:`step-${e.currentStep}`,tag:"component",attrs:{"is-first-step":e.currentStep===0,"is-last-step":e.isLastStep}})]},{step:e.currentStep,isFirstStep:e.currentStep===0,isLastStep:e.isLastStep})],2)],1)])]),r("div",{staticClass:"e-stepper__controls e-flex e-justify-between e-items-center e-gap-4",class:{"e-mt-8":e.orientation==="vertical"}},[e._t("stepper-controls",function(){return[r("button",{staticClass:"e-inline-flex e-items-center e-gap-2 e-px-6 e-py-3 e-rounded-lg e-font-medium e-text-sm e-border-0 e-cursor-pointer e-transition-all e-duration-200 e-ease-out disabled:e-opacity-50 disabled:e-cursor-not-allowed",class:{"e-opacity-50":!e.canGoBack,"e-cursor-not-allowed":!e.canGoBack,"e-text-slate-300 e-bg-slate-700 hover:e-bg-slate-600":e.dark,"e-text-slate-600 e-bg-slate-300 hover:e-bg-slate-200":!e.dark},attrs:{type:"button",disabled:!e.canGoBack},on:{click:e.goBack}},[r("EIcon",{attrs:{icon:"fa-chevron-left"}}),e._v(" Back ")],1),r("button",{staticClass:"e-inline-flex e-items-center e-gap-2 e-px-8 e-py-3 e-rounded-lg e-font-semibold e-text-sm e-border-0 e-cursor-pointer e-transition-all e-duration-200 e-ease-out e-bg-primary e-text-white hover:e-bg-primary-darken disabled:e-opacity-60 disabled:e-cursor-not-allowed e-shadow-md hover:e-shadow-lg",attrs:{type:"button",disabled:!e.canGoNext},on:{click:e.goNext}},[e._v(" "+e._s(e.isLastStep?"Save":"Continue")+" "),e.isLastStep?e._e():r("span",{staticClass:"e-text-lg"},[r("EIcon",{attrs:{icon:"fa-chevron-right"}})],1)])]},{prev:e.goBack,hasPrev:e.canGoBack,hasNext:e.canGoNext,next:e.goNext,isLastStep:e.isLastStep,isFirstStep:e.currentStep===0,currentStep:e.currentStep})],2)])},Q4=[],K4=R(Y4,V4,Q4,!1,null,"8e3178a6",null,null);const fs=K4.exports,J4=O.extend({name:"EHeatmapOverlay",directives:{ResizeObserver:Ue},props:{points:{type:Array,default:()=>[]},radius:{type:Number,default:.08},opacity:{type:Number,default:.9,validator:t=>t>=0&&t<=1},max:{type:Number,default:0},scheme:{type:String,default:Re.Turbo},clamp:{type:Boolean,default:!0}},data(){return{overlayOpacity:0,isFistDraw:!1}},computed:{interpolator(){const t={[Re.Inferno]:M.interpolateInferno,[Re.Magma]:M.interpolateMagma,[Re.Plasma]:M.interpolatePlasma,[Re.Viridis]:M.interpolateViridis,[Re.Cividis]:M.interpolateCividis,[Re.Warm]:M.interpolateWarm,[Re.Cool]:M.interpolateCool,[Re.CubeHelix]:M.interpolateCubehelixDefault,[Re.Turbo]:M.interpolateTurbo||M.interpolateInferno};return t[this.scheme]||t[Re.Turbo]}},watch:{points:{handler(){this.draw()},deep:!0},radius(){this.draw()},opacity(){this.overlayOpacity=Math.max(0,Math.min(1,this.opacity))},max(){this.draw()},scheme(){this.draw()},clamp(){this.draw()}},mounted(){this.overlayOpacity=this.opacity,this.$nextTick(()=>{this.syncCanvasSize(),this.draw()})},methods:{onResize(){this.syncCanvasSize(),this.draw()},syncCanvasSize(){const t=this.$refs.canvas;if(!t)return;const r=t.parentElement.getBoundingClientRect();t.style.width=`${r.width}px`,t.style.height=`${r.height}px`,t.width=r.width,t.height=r.height},buildLookupTable(t=256){const e=new Uint8ClampedArray(t*4);for(let r=0;r<t;r++){const n=r/(t-1),i=M.color(this.interpolator(n));e[r*4]=i.r,e[r*4+1]=i.g,e[r*4+2]=i.b,e[r*4+3]=255}return e},draw(){const t=this.$refs.canvas;if(!t)return;const e=t.getContext("2d",{willReadFrequently:!0});if(!e)return;const r=t.width,n=t.height;if(r===0||n===0||(e.clearRect(0,0,r,n),!this.points||this.points.length===0))return;const i=Math.min(r,n),s=Math.max(1,Math.round(this.radius*i)),a=this.max>0?this.max:this.points.reduce((C,b)=>Math.max(C,b.count||0),1);e.save(),e.fillStyle="rgba(0,0,0,1)";const c=document.createElement("canvas");c.width=c.height=s*2+2;const o=c.getContext("2d"),l=o.createRadialGradient(s+1,s+1,0,s+1,s+1,s);l.addColorStop(0,"rgba(0,0,0,1)"),l.addColorStop(1,"rgba(0,0,0,0)"),o.fillStyle=l,o.beginPath(),o.arc(s+1,s+1,s,0,Math.PI*2),o.closePath(),o.fill();for(const C of this.points){const b=Array.isArray(C.point)?C.point[0]:0,p=Array.isArray(C.point)?C.point[1]:0,v=Math.max(0,Math.min(1,b))*r,E=Math.max(0,Math.min(1,p))*n,T=a<=0?0:(C.count||0)/a;T<=0||(e.globalAlpha=this.clamp?Math.max(0,Math.min(1,T)):T,e.drawImage(c,Math.round(v)-s-1,Math.round(E)-s-1))}e.restore();const d=e.getImageData(0,0,r,n),h=d.data,m=this.buildLookupTable(256);for(let C=0;C<h.length;C+=4){const b=h[C+3];if(b===0)continue;const v=(this.clamp?b:Math.max(0,Math.min(255,b)))*4;h[C+0]=m[v+0],h[C+1]=m[v+1],h[C+2]=m[v+2],h[C+3]=b}e.putImageData(d,0,0),this.isFistDraw=!0}}});var eu=function(){var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],staticClass:"w-full h-full"},[e._t("default"),r("canvas",{ref:"canvas",staticClass:"e-inset-0",style:{opacity:e.overlayOpacity}})],2)},tu=[],ru=R(J4,eu,tu,!1,null,null,null,null);const ms=ru.exports,nu=O.extend({name:"EGlobalSearch",components:{EIcon:Be},mixins:[He],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 focus:e-ring-2 hover:e-ring-gray-400 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,i)=>{const s=this.findMatchesInObject(n,e,[]);return s.length>0&&r.push({index:i,matches:s}),r},[])},findMatchesInObject(t,e,r){return Object.entries(t).reduce((n,[i,s])=>{const a=[...r,i],c=this.matchesQuery(s,e)?[{path:a,value:s}]:[];let o=[];this.deep&&Array.isArray(s)&&(o=s.flatMap((d,h)=>this.findMatchesInObject(d,e,[...a,`${h}`])));const l=this.deep&&typeof s=="object"&&s!==null?this.findMatchesInObject(s,e,a):[];return[...n,...c,...o,...l]},[])},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",i=["f","F"].includes(e.key)&&e.type==="keydown",s=e.key==="Escape"&&e.type==="keydown";i&&r&&n&&(this.isSearching=!0,this.$nextTick(()=>{const a=this.$refs.searchField;a&&a.focus()})),s&&(this.isSearching=!1,this.search="")}}}),bh="";var iu=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:"fa-search",size:"Sm"}})],1)])])},su=[],au=R(nu,iu,su,!1,null,null,null,null);const gs=au.exports,ou=O.extend({name:"ETooltip",props:{text:{type:String,required:!1,default:""},position:{type:String,default:ze.Top},color:{type:String,default:se.Default},dark:{type:Boolean,default:!1}},data(){return{isHovered:!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-2 e-py-1 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===ze.Left,"tooltip-right":t===ze.Right,"tooltip-top":t===ze.Top,"tooltip-bottom":t===ze.Bottom,"e-bg-orange-700 e-text-white":e===se.Warning,"e-bg-red-700 e-text-white":e===se.Error,"e-bg-green-900 e-text-white":e===se.Success,"e-bg-blue-700 e-text-white":e===se.Primary,"e-bg-sky-500 e-text-white":e===se.Info,"e-bg-brand-900 e-text-white":e===se.Brand,"e-bg-gray-200 e-text-gray-700":e===se.Gray,...r}},triangleClasses(){const t=this.position,e=this.color;return{"triangle e-absolute e-border-transparent":!0,"triangle-left":t===ze.Left,"triangle-right":t===ze.Right,"triangle-top":t===ze.Top,"triangle-bottom":t===ze.Bottom,"e-border-b-gray-800":e===se.Default,"e-border-b-orange-700":e===se.Warning,"e-border-b-red-700":e===se.Error,"e-border-b-green-900":e===se.Success,"e-border-b-blue-700":e===se.Primary,"e-border-b-sky-500":e===se.Info,"e-border-b-brand-900":e===se.Brand,"e-border-b-gray-900":e===se.Gray}}},methods:{toggleTooltip(){this.isHovered=!this.isHovered}}}),xh="";var lu=function(){var e=this,r=e._self._c;return r("div",{staticClass:"tooltip-box e-w-max e-relative e-group",on:{mouseenter:e.toggleTooltip,mouseleave:e.toggleTooltip}},[e._t("default"),e.isHovered?r("div",{class:e.tooltipClasses},[r("span",{class:e.triangleClasses}),e._t("tooltip",function(){return[e._v(" "+e._s(e.text)+" ")]})],2):e._e()],2)},cu=[],uu=R(ou,lu,cu,!1,null,"b7ea926b",null,null);const Tt=uu.exports,du=O.extend({name:"EActionButton",components:{ETooltip:Tt,EIcon:Be},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:G.Sm},iconColor:{type:String,default:se.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 hu=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-action-button e-w-max e-px-3 e-py-3 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-action-button e-w-max e-px-3 e-py-3 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)},pu=[],fu=R(du,hu,pu,!1,null,null,null,null);const ft=fu.exports,mu=O.extend({name:"EZoomSlider",components:{EActionButton:ft},props:{dark:{type:Boolean,default:!0}}});var gu=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-zoom-slider 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)},vu=[],yu=R(mu,gu,vu,!1,null,null,null,null);const gn=yu.exports,_u=O.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 Cu=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)},bu=[],xu=R(_u,Cu,bu,!1,null,null,null,null);const qt=xu.exports,wu=O.extend({name:"EZoomableImg",components:{EZoomSlider:gn,EFadeTransition:qt},directives:{ResizeObserver:Ue},mixins:[Ze,He],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,i=e.width/t.width*100,s=e.height/t.height*100;this.miniatureOverlayStyle={left:`${r}%`,top:`${n}%`,width:`${i}%`,height:`${s}%`}},onImageLoaded(t){var n,i;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=(i=this.frame)==null?void 0:i.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}this.isMobile||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 o,l;const t=(o=this.frame)==null?void 0:o.getBoundingClientRect(),e=(l=this.image)==null?void 0:l.getBoundingClientRect(),r=t.width/this.imageAspectRatio,n=t.height*this.imageAspectRatio;let{top:i,right:s,bottom:a,left:c}=t;return e.width<t.width?(c=t.left+(t.width-n)/2,s=c+n):e.height<t.height&&(i=t.top+(t.height-r)/2,a=i+r),{top:i,right:s,bottom:a,left:c}},savePreviousPan({x:t,y:e}={}){var r;if(this.image){const n=(r=this.image)==null?void 0:r.getBoundingClientRect(),i=this.getBounds(),[s,a,c,o]=[n.right-i.right,i.top-n.top,n.bottom-i.bottom,i.left-n.left].map(l=>l<0?l:0);this.frameMousePreviousPan={x:(t||this.frameMousePreviousPan.x)+o-s,y:(e||this.frameMousePreviousPan.y)+a-c}}},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}}}),wh="";var Su=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",style:e.imgStyle,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"}},[r("div",{staticClass:"zoomable-img__slot__top-left e-absolute e-top-0 e-left-0"},[e._t("top-left")],2),r("div",{staticClass:"zoomable-img__slot__top-right e-absolute e-top-0 e-right-0 e-z-[201]"},[e._t("top-right")],2),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(i){return e.zoom(-1)},"zoom-out":function(i){return e.zoom(1)}},model:{value:e.sliderModel,callback:function(i){e.sliderModel=i},expression:"sliderModel"}})],2):e._e()]),r("div",{staticClass:"zoomable-img__bottom-right-actions e-flex e-flex-col e-items-end e-justify-end e-absolute e-right-0 e-bottom-0"},[r("EFadeTransition",[e.showMiniature&&e.imageLoaded&&e.zoomLevel>1?r("div",{staticClass:"zoomable-img__miniature-container e-shadow e-relative e-m-4",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()]),r("div",{staticClass:"zoomable-img__slot__top-left"},[e._t("bottom-right")],2)],1)],2)])},Tu=[],ku=R(wu,Su,Tu,!1,null,null,null,null);const vn=ku.exports,$u=O.extend({name:"EImagePlayer",components:{EZoomableImg:vn},directives:{ResizeObserver:Ue},mixins:[Ze,He],model:{prop:"frameIndex",event:"update-frame-index"},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},preloadingQueueId:{type:Number,default:0}},data(){return{src:this.placeholderImage,imageLoaded:!1,playing:!1,playerStyle:{},image:null,previousSrc:"",resolveImageLoadingPromise:()=>({}),preloadedFrames:[],preloadingFramesImgs:[],frameError:!1,animationId:-1,imgStyle:{},previousFrameIndex:0,isFullscreen:!1,mouseDownTime:0,playPauseAnimation:!1,latestValidSnapshotTimestamp:"",progressBar:null,isDraggingCursor:!1,hovered:!1,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,i]=e.slice(-1)[0]||[0,0];return r-i>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("update-frame-index",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")},frameIndex:{immediate:!0,async handler(){this.frameIndex&&this.frameIndex===this.previousFrameIndex||(Number.isNaN(this.frameIndex)&&this.$emit("update-frame-index",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("update-frame-index",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&&(Qr().then(()=>{this.isFullscreen=!1}),this.isFullscreen=!1)},openFullscreenMode(){const t=document.querySelector("#imagePlayer");t&&(Yr(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(){const t=this.frameIndex+1;this.frames[t]&&this.$emit("update-frame-index",t)},getFrameSrc(t){if(t)return t.srcSet?t.srcSet[this.selectedSnapshotQuality]:t.src},loadTargetFrame(){if(!(this.frameIndex&&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)],i=new Array(n-r+1).fill(0).map((a,c)=>a+r+c),s=this.preloadingQueueId;for(const a of i){if(s!==this.preloadingQueueId||this.playing&&!this.preloadWhilePlaying)return;this.preloadedFrames.includes(a)||await new Promise(o=>{const l=new Image;l.onload=()=>{this.preloadedFrames=[...this.preloadedFrames,a],o()},l.onerror=()=>{o()},this.preloadingFramesImgs=[...this.preloadingFramesImgs,l];const d=this.getFrameSrc(this.frames[a]);a||o(),l.src=d})}},async delay(){return this.frameError?(this.frameError=!1,Promise.resolve()):new Promise(t=>{const e=performance.now(),r=n=>{n-e<this.timePerFrame?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("update-frame-index",0);return}this.$emit("update-playback",!0),this.playing=!0,this.cancelDelay(),this.incrementCurrentFrameIndex(),await this.$nextTick(),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.$emit("cancel-previous-preloading"),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("update-playback",!1)},onLoad(){var e,r,n,i;this.$emit("on-image-load",this.image),this.$emit("snapshot-changed",{data:(e=this.frames[this.frameIndex])==null?void 0:e.src,createdAt:(r=this.frames[this.frameIndex])==null?void 0:r.timestamp});const t=(i=(n=this.frames)==null?void 0:n[this.frameIndex])==null?void 0:i.timestamp;t&&this.$emit("timestamp-change",t),this.imageLoaded=!0,this.previousSrc=this.src,this.resolveImageLoadingPromise()},onError(t){if(this.frameIndex>1)return this.$emit("update-frame-index",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}}}}),Sh="";var Mu=function(){var n,i;var e=this,r=e._self._c;return r("div",{staticClass:"e-image-player 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(e._b({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||((i=e.frames[e.frameIndex])==null?void 0:i.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._t("default"),e._t("imageOverlay",null,{image:e.image})]},proxy:!0}],null,!0)},"EZoomableImg",e.$attrs,!1),e.$listeners),[e._t("player-container-overlay")],2),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("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([s,a]){return r("div",{key:a,staticClass:"e-bg-blue-300 e-h-full e-absolute e-rounded-md",style:e.getProgressBarChunkStyle(s,a)})})],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)},Eu=[],Lu=R($u,Mu,Eu,!1,null,null,null,null);const vs=Lu.exports,Du=O.extend({name:"ELayout",directives:{ResizeObserver:Ue},mixins:[Ze],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()},height:{immediate:!0,handler(){this.onResize()}}},mounted(){this.setOverlayFooterHeight(),this.setFooterHeight()},methods:{onResize(){this.setFooterHeight(),this.setOverlayFooterHeight()},hasScopedSlot(t){return!!this.$scopedSlots[t]},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)===0?25: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 Pu=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},[e.hasScopedSlot("main")?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._e(),e.withOverlay&&e.hasScopedSlot("overlay")?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(),e.hasScopedSlot("top-left")?r("div",{staticClass:"e-layout__top-left e-absolute e-left-0 e-top-0 e-z-[2]"},[e._t("top-left")],2):e._e(),e.hasScopedSlot("top-right")?r("div",{staticClass:"e-absolute e-right-0 e-top-0 e-layout__top-right e-z-[2]"},[e._t("top-right")],2):e._e(),e.hasScopedSlot("bottom-right")?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):e._e(),e.hasScopedSlot("bottom-left")?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):e._e(),e.hasScopedSlot("overlay-footer")?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):e._e()]),e.hasScopedSlot("footer")?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):e._e()])},zu=[],Ou=R(Du,Pu,zu,!1,null,null,null,null);const ys=Ou.exports;var Bu=R({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 Iu=Bu.exports,Fu=O.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}}}}),Mh="";var Ru=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)},Au=[],Hu=R(Fu,Ru,Au,!1,null,null,null,null);const Nu=Hu.exports,ju=O.extend({name:"EChatHeader",components:{EAvatar:Lt},props:{size:{type:String,default:"xs"},backgroundClasses:{type:String,default:""}}}),Eh="";var qu=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}})},Wu=[],Gu=R(ju,qu,Wu,!1,null,null,null,null);const _s=Gu.exports,Uu=O.extend({name:"EChatHeader",components:{EEvercamLogo:_s},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}}}});var Zu=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",{},[r("EEvercamLogo",{attrs:{size:"xs","background-classes":"e-bg-white e-p-[2px] e-rounded-full !e-pr-[2.5px] !e-pt-[3.5px]"}})],1)]}),r("div",{staticClass:"e-font-semibold e-h-min e-text-base"},[e._v(e._s(e.title))]),e._t("chip")],2),e._t("append")],2)},Xu=[],Yu=R(Uu,Zu,Xu,!1,null,null,null,null);const Vu=Yu.exports,Qu=O.extend({name:"EChatBody",directives:{ResizeObserver:Ue},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()}}}),Lh="";var Ku=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",staticClass:"e-chat-body__content"},[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:"fa-arrow-down",size:"Base"}})],1)]):e._e()])},Ju=[],e8=R(Qu,Ku,Ju,!1,null,null,null,null);const t8=e8.exports,r8=O.extend({props:{size:{type:Number,default:12},color:{type:String,default:"#c5393d"},withDot:{type:Boolean,default:!0}},computed:{computedSize(){return`${this.size}px`},computedMargin(){return`${this.size/2}px`},computedShadowSize(){return`${this.size*2}px`},computedSecondaryColor(){return pt(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":pt(this.color,.7),"--backgroundColor":pt(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:this.withDot?pt(this.color,1):void 0}}},methods:{toRgba:pt}}),Dh="";var n8=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},[e._t("icon")],2)])},i8=[],s8=R(r8,n8,i8,!1,null,"cf575c64",null,null);const a8=s8.exports;var Cs={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(typeof self!="undefined"?self:lt,()=>(()=>{var r={75:function(a){(function(){var c,o,l,d,h,m;typeof performance!="undefined"&&performance!==null&&performance.now?a.exports=function(){return performance.now()}:typeof process!="undefined"&&process!==null&&process.hrtime?(a.exports=function(){return(c()-h)/1e6},o=process.hrtime,d=(c=function(){var C;return 1e9*(C=o())[0]+C[1]})(),m=1e9*process.uptime(),h=d-m):Date.now?(a.exports=function(){return Date.now()-l},l=Date.now()):(a.exports=function(){return new Date().getTime()-l},l=new Date().getTime())}).call(this)},4087:(a,c,o)=>{for(var l=o(75),d=typeof window=="undefined"?o.g:window,h=["moz","webkit"],m="AnimationFrame",C=d["request"+m],b=d["cancel"+m]||d["cancelRequest"+m],p=0;!C&&p<h.length;p++)C=d[h[p]+"Request"+m],b=d[h[p]+"Cancel"+m]||d[h[p]+"CancelRequest"+m];if(!C||!b){var v=0,E=0,T=[];C=function(S){if(T.length===0){var H=l(),L=Math.max(0,16.666666666666668-(H-v));v=L+H,setTimeout(function(){var q=T.slice(0);T.length=0;for(var K=0;K<q.length;K++)if(!q[K].cancelled)try{q[K].callback(v)}catch(Z){setTimeout(function(){throw Z},0)}},Math.round(L))}return T.push({handle:++E,callback:S,cancelled:!1}),E},b=function(S){for(var H=0;H<T.length;H++)T[H].handle===S&&(T[H].cancelled=!0)}}a.exports=function(S){return C.call(d,S)},a.exports.cancel=function(){b.apply(d,arguments)},a.exports.polyfill=function(S){S||(S=d),S.requestAnimationFrame=C,S.cancelAnimationFrame=b}}},n={};function i(a){var c=n[a];if(c!==void 0)return c.exports;var o=n[a]={exports:{}};return r[a].call(o.exports,o,o.exports,i),o.exports}i.n=a=>{var c=a&&a.__esModule?()=>a.default:()=>a;return i.d(c,{a:c}),c},i.d=(a,c)=>{for(var o in c)i.o(c,o)&&!i.o(a,o)&&Object.defineProperty(a,o,{enumerable:!0,get:c[o]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(a,c)=>Object.prototype.hasOwnProperty.call(a,c);var s={};return(()=>{i.d(s,{default:()=>V});var a=i(4087),c=i.n(a);const o=function(F){return new RegExp(/<[a-z][\s\S]*>/i).test(F)},l=function(F,k){return Math.floor(Math.random()*(k-F+1))+F};var d="TYPE_CHARACTER",h="REMOVE_CHARACTER",m="REMOVE_ALL",C="REMOVE_LAST_VISIBLE_NODE",b="PAUSE_FOR",p="CALL_FUNCTION",v="ADD_HTML_TAG_ELEMENT",E="CHANGE_DELETE_SPEED",T="CHANGE_DELAY",S="CHANGE_CURSOR",H="PASTE_STRING",L="HTML_TAG";function q(F){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},q(F)}function K(F,k){var z=Object.keys(F);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(F);k&&(j=j.filter(function(ne){return Object.getOwnPropertyDescriptor(F,ne).enumerable})),z.push.apply(z,j)}return z}function Z(F){for(var k=1;k<arguments.length;k++){var z=arguments[k]!=null?arguments[k]:{};k%2?K(Object(z),!0).forEach(function(j){P(F,j,z[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(z)):K(Object(z)).forEach(function(j){Object.defineProperty(F,j,Object.getOwnPropertyDescriptor(z,j))})}return F}function x(F){return function(k){if(Array.isArray(k))return B(k)}(F)||function(k){if(typeof Symbol!="undefined"&&k[Symbol.iterator]!=null||k["@@iterator"]!=null)return Array.from(k)}(F)||function(k,z){if(k){if(typeof k=="string")return B(k,z);var j=Object.prototype.toString.call(k).slice(8,-1);return j==="Object"&&k.constructor&&(j=k.constructor.name),j==="Map"||j==="Set"?Array.from(k):j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j)?B(k,z):void 0}}(F)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
237
237
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function B(F,k){(k==null||k>F.length)&&(k=F.length);for(var z=0,j=new Array(k);z<k;z++)j[z]=F[z];return j}function U(F,k){for(var z=0;z<k.length;z++){var j=k[z];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(F,Y(j.key),j)}}function P(F,k,z){return(k=Y(k))in F?Object.defineProperty(F,k,{value:z,enumerable:!0,configurable:!0,writable:!0}):F[k]=z,F}function Y(F){var k=function(z,j){if(q(z)!=="object"||z===null)return z;var ne=z[Symbol.toPrimitive];if(ne!==void 0){var _=ne.call(z,"string");if(q(_)!=="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(z)}(F);return q(k)==="symbol"?k:String(k)}const V=function(){function F(j,ne){var _=this;if(function(A,I){if(!(A instanceof I))throw new TypeError("Cannot call a class as a function")}(this,F),P(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")}}),P(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}),P(this,"setupWrapperElement",function(){_.state.elements.container&&(_.state.elements.wrapper.className=_.options.wrapperClassName,_.state.elements.cursor.className=_.options.cursorClassName,_.state.elements.cursor.innerHTML=_.options.cursor,_.state.elements.container.innerHTML="",_.state.elements.container.appendChild(_.state.elements.wrapper),_.state.elements.container.appendChild(_.state.elements.cursor))}),P(this,"start",function(){return _.state.eventLoopPaused=!1,_.runEventLoop(),_}),P(this,"pause",function(){return _.state.eventLoopPaused=!0,_}),P(this,"stop",function(){return _.state.eventLoop&&((0,a.cancel)(_.state.eventLoop),_.state.eventLoop=null),_}),P(this,"pauseFor",function(A){return _.addEventToQueue(b,{ms:A}),_}),P(this,"typeOutAllStrings",function(){return typeof _.options.strings=="string"?(_.typeString(_.options.strings).pauseFor(_.options.pauseFor),_):(_.options.strings.forEach(function(A){_.typeString(A).pauseFor(_.options.pauseFor).deleteAll(_.options.deleteSpeed)}),_)}),P(this,"typeString",function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(o(A))return _.typeOutHTMLString(A,I);if(A){var w=(_.options||{}).stringSplitter,W=typeof w=="function"?w(A):A.split("");_.typeCharacters(W,I)}return _}),P(this,"pasteString",function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return o(A)?_.typeOutHTMLString(A,I,!0):(A&&_.addEventToQueue(H,{character:A,node:I}),_)}),P(this,"typeOutHTMLString",function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=arguments.length>2?arguments[2]:void 0,W=function(ue){var le=document.createElement("div");return le.innerHTML=ue,le.childNodes}(A);if(W.length>0)for(var Q=0;Q<W.length;Q++){var D=W[Q],re=D.innerHTML;D&&D.nodeType!==3?(D.innerHTML="",_.addEventToQueue(v,{node:D,parentNode:I}),w?_.pasteString(re,D):_.typeString(re,D)):D.textContent&&(w?_.pasteString(D.textContent,I):_.typeString(D.textContent,I))}return _}),P(this,"deleteAll",function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"natural";return _.addEventToQueue(m,{speed:A}),_}),P(this,"changeDeleteSpeed",function(A){if(!A)throw new Error("Must provide new delete speed");return _.addEventToQueue(E,{speed:A}),_}),P(this,"changeDelay",function(A){if(!A)throw new Error("Must provide new delay");return _.addEventToQueue(T,{delay:A}),_}),P(this,"changeCursor",function(A){if(!A)throw new Error("Must provide new cursor");return _.addEventToQueue(S,{cursor:A}),_}),P(this,"deleteChars",function(A){if(!A)throw new Error("Must provide amount of characters to delete");for(var I=0;I<A;I++)_.addEventToQueue(h);return _}),P(this,"callFunction",function(A,I){if(!A||typeof A!="function")throw new Error("Callback must be a function");return _.addEventToQueue(p,{cb:A,thisArg:I}),_}),P(this,"typeCharacters",function(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!A||!Array.isArray(A))throw new Error("Characters must be an array");return A.forEach(function(w){_.addEventToQueue(d,{character:w,node:I})}),_}),P(this,"removeCharacters",function(A){if(!A||!Array.isArray(A))throw new Error("Characters must be an array");return A.forEach(function(){_.addEventToQueue(h)}),_}),P(this,"addEventToQueue",function(A,I){var w=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return _.addEventToStateProperty(A,I,w,"eventQueue")}),P(this,"addReverseCalledEvent",function(A,I){var w=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return _.options.loop?_.addEventToStateProperty(A,I,w,"reverseCalledEvents"):_}),P(this,"addEventToStateProperty",function(A,I){var w=arguments.length>2&&arguments[2]!==void 0&&arguments[2],W=arguments.length>3?arguments[3]:void 0,Q={eventName:A,eventArgs:I||{}};return _.state[W]=w?[Q].concat(x(_.state[W])):[].concat(x(_.state[W]),[Q]),_}),P(this,"runEventLoop",function(){_.state.lastFrameTime||(_.state.lastFrameTime=Date.now());var A=Date.now(),I=A-_.state.lastFrameTime;if(!_.state.eventQueue.length){if(!_.options.loop)return;_.state.eventQueue=x(_.state.calledEvents),_.state.calledEvents=[],_.options=Z({},_.state.initialOptions)}if(_.state.eventLoop=c()(_.runEventLoop),!_.state.eventLoopPaused){if(_.state.pauseUntil){if(A<_.state.pauseUntil)return;_.state.pauseUntil=null}var w,W=x(_.state.eventQueue),Q=W.shift();if(!(I<=(w=Q.eventName===C||Q.eventName===h?_.options.deleteSpeed==="natural"?l(40,80):_.options.deleteSpeed:_.options.delay==="natural"?l(120,160):_.options.delay))){var D=Q.eventName,re=Q.eventArgs;switch(_.logInDevMode({currentEvent:Q,state:_.state,delay:w}),D){case H:case d:var ue=re.character,le=re.node,ie=document.createTextNode(ue),he=ie;_.options.onCreateTextNode&&typeof _.options.onCreateTextNode=="function"&&(he=_.options.onCreateTextNode(ue,ie)),he&&(le?le.appendChild(he):_.state.elements.wrapper.appendChild(he)),_.state.visibleNodes=[].concat(x(_.state.visibleNodes),[{type:"TEXT_NODE",character:ue,node:he}]);break;case h:W.unshift({eventName:C,eventArgs:{removingCharacterNode:!0}});break;case b:var Te=Q.eventArgs.ms;_.state.pauseUntil=Date.now()+parseInt(Te);break;case p:var oe=Q.eventArgs,_e=oe.cb,Ne=oe.thisArg;_e.call(Ne,{elements:_.state.elements});break;case v:var Ie=Q.eventArgs,$e=Ie.node,ke=Ie.parentNode;ke?ke.appendChild($e):_.state.elements.wrapper.appendChild($e),_.state.visibleNodes=[].concat(x(_.state.visibleNodes),[{type:L,node:$e,parentNode:ke||_.state.elements.wrapper}]);break;case m:var Ee=_.state.visibleNodes,Me=re.speed,Le=[];Me&&Le.push({eventName:E,eventArgs:{speed:Me,temp:!0}});for(var De=0,tt=Ee.length;De<tt;De++)Le.push({eventName:C,eventArgs:{removingCharacterNode:!1}});Me&&Le.push({eventName:E,eventArgs:{speed:_.options.deleteSpeed,temp:!0}}),W.unshift.apply(W,Le);break;case C:var Je=Q.eventArgs.removingCharacterNode;if(_.state.visibleNodes.length){var ct=_.state.visibleNodes.pop(),kt=ct.type,Ye=ct.node,mt=ct.character;_.options.onRemoveNode&&typeof _.options.onRemoveNode=="function"&&_.options.onRemoveNode({node:Ye,character:mt}),Ye&&Ye.parentNode.removeChild(Ye),kt===L&&Je&&W.unshift({eventName:C,eventArgs:{}})}break;case E:_.options.deleteSpeed=Q.eventArgs.speed;break;case T:_.options.delay=Q.eventArgs.delay;break;case S:_.options.cursor=Q.eventArgs.cursor,_.state.elements.cursor.innerHTML=Q.eventArgs.cursor}_.options.loop&&(Q.eventName===C||Q.eventArgs&&Q.eventArgs.temp||(_.state.calledEvents=[].concat(x(_.state.calledEvents),[Q]))),_.state.eventQueue=W,_.state.lastFrameTime=A}}}),j)if(typeof j=="string"){var X=document.querySelector(j);if(!X)throw new Error("Could not find container element");this.state.elements.container=X}else this.state.elements.container=j;ne&&(this.options=Z(Z({},this.options),ne)),this.state.initialOptions=Z({},this.options),this.init()}var k,z;return k=F,(z=[{key:"init",value:function(){var j,ne;this.setupWrapperElement(),this.addEventToQueue(S,{cursor:this.options.cursor},!0),this.addEventToQueue(m,null,!0),!window||window.___TYPEWRITER_JS_STYLES_ADDED___||this.options.skipAddStyles||(j=".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}}",(ne=document.createElement("style")).appendChild(document.createTextNode(j)),document.head.appendChild(ne),window.___TYPEWRITER_JS_STYLES_ADDED___=!0),this.options.autoStart===!0&&this.options.strings&&this.typeOutAllStrings().start()}},{key:"logInDevMode",value:function(j){this.options.devMode&&console.log(j)}}])&&U(k.prototype,z),Object.defineProperty(k,"prototype",{writable:!1}),F}()})(),s.default})())})(Cs);var o8=Cs.exports;const l8=Ct(o8);class c8{constructor(e,r){this.processor=null,this.accumulator="",this.totalMarkdown="",this.lastProcessedLength=0,this.regexRenderTargetsById={},this.isRenderingTable=!1,this.isFirstTableRender=!1,this.mdTableHeaderString="",this.isIncompleteTableRow=!1,this.pendingRowString="",this.tableId=0,this.rowId=0,this.typewriter=null,this.container=e,this.htmlRenderingTarget=e,this.exposedRegexes=r.exposedRegexes||[],this.useTableProcessor=!!r.useTableProcessor,this.initProcessor(),this.animated=!!r.animated,this.animated&&(this.typewriter=this.initTypewriter()),this.onAnimationStart=r.onAnimationStart||(()=>{}),this.onAnimationEnd=r.onAnimationEnd||(()=>{})}initProcessor(){this.processor=Ks.unified().use(Xs).use(this.remarkCheckIncompleteTableRows.bind(this)).use(Dn).use(Dn).use(Zs).use(Ys,{allowDangerousHtml:!0}).use(Vs,{allowDangerousHtml:!0})}remarkCheckIncompleteTableRows(){return e=>{Qs.visit(e,void 0,(r,n,i)=>{var c,o;const s=i,a=r.type;if(a==="text"&&this.exposedRegexes.forEach(({regex:l,type:d})=>{this.processTextNode(r,n,s,l,d)}),!!this.useTableProcessor&&(a==="table"&&!r.data&&(r.data={hProperties:{id:`t-${this.tableId}`}},this.mdTableHeaderString=this.extractTableHeaderString(r),this.setIsRenderingTable(!0)),a==="tableRow"&&!r.data&&(r.data={hProperties:{id:`r-${this.rowId++}`}}),a==="tableRow")){const l=s.children[0].children.length,d=r.children.length,h=this.accumulator.slice((c=r.position)==null?void 0:c.start.offset,(o=r.position)==null?void 0:o.end.offset);d<l?this.isIncompleteTableRow=!0:h.endsWith("|")?(this.isIncompleteTableRow=!1,this.pendingRowString=""):(this.pendingRowString=h,this.isIncompleteTableRow=!0)}})}}setIsRenderingTable(e){e&&!this.isRenderingTable&&(this.isFirstTableRender=!0),!e&&this.isRenderingTable&&this.startNewRenderingCycle(),this.isRenderingTable=e}startNewRenderingCycle(){const e=document.createElement("div");this.container.appendChild(e),this.htmlRenderingTarget=e,this.accumulator="",this.isRenderingTable&&(this.tableId++,this.mdTableHeaderString="",this.isIncompleteTableRow=!1,this.isRenderingTable=!1)}extractTableHeaderString(e){const r=e,n=r.children[0],i=r.align,s=n.children.map(c=>` ${c.children.map(l=>l.value).join("")} `).join("|"),a=i.map(c=>c==="left"?":---":c==="right"?"---:":c==="center"?":---:":"---").join("|");return`|${s}|
|
|
238
238
|
|${a}|
|
|
239
239
|
`}async processMarkdown(e){if(!this.processor)throw new Error("Processor not initialized");const r=await this.handleNewMarkdown(e);if(this.accumulator+=r,this.totalMarkdown+=r,this.isRenderingTable&&this.accumulator.length<30)return!1;const n=await this.processor.process(this.accumulator);if(this.isIncompleteTableRow)return this.isIncompleteTableRow=!1,!1;const i=n.toString();return i?(await this.render(i),this.lastProcessedLength=this.accumulator.length,!0):!1}async handleNewMarkdown(e){if(!e.includes(`
|
|
240
240
|
|
|
241
241
|
`))return e;let n=e;const[i]=e.split(`
|
|
242
242
|
|
|
243
|
-
`);return await this.processMarkdown(i),n=n.replace(i,""),this.startNewRenderingCycle(),n}async render(e){this.isFirstTableRender&&(this.updateContent(e),this.isFirstTableRender=!1),this.isRenderingTable?(this.updateTableContent(e),this.accumulator=this.mdTableHeaderString+this.pendingRowString):this.animated?await this.animateNewChunk(e):this.updateContent(e)}updateTableContent(e){const r=this.extractTableFromHtml(e);if(!r)return;const n=this.htmlRenderingTarget.parentNode,i=this.ensureTableExists(n);this.removeEmptyTableRows(i);const s=r.querySelector("tbody")||document.createElement("tbody"),a=this.ensureTBodyExists(i);this.copyTableHead(r,i),this.copyTableBodyRows(s,a)}processTextNode(e,r,n,i,s){const c=e.value.split(i);if(c.length>1){const o=this.replaceRegexTargets(c,i,s,e,r);n.children.splice(r,1,...o)}}replaceRegexTargets(e,r,n,i,s){return e.map((a,c)=>{var o,l;if(r.test(a)){const d=`regex-target-${n}-${c}-${s}-${this.totalMarkdown.length}-${(l=(o=i==null?void 0:i.position)==null?void 0:o.start)==null?void 0:l.offset}`;return this.regexRenderTargetsById[d]={match:a,type:n},{type:"html",value:`<span id="${d}">${a}</span>`}}return a?{type:"text",value:a}:null}).filter(Boolean)}ensureTableExists(e){let r=e.querySelector(`table#t-${this.tableId}`);return r||(r=document.createElement("table"),r.id=`t-${this.tableId}`,e.appendChild(r)),r}ensureTBodyExists(e){let r=e.querySelector("tbody");return r||(r=document.createElement("tbody"),e.appendChild(r)),r}copyTableHead(e,r){const n=e.querySelector("thead");!r.querySelector("thead")&&n&&r.appendChild(n)}copyTableBodyRows(e,r){const n=e.querySelectorAll("tr"),i=Array.from(r.querySelectorAll("tr")).map(s=>s.id);n&&n.forEach(s=>{!s.innerText.trim()||i.includes(s.id)||r.appendChild(s.cloneNode(!0))})}removeEmptyTableRows(e){e.querySelectorAll("tr").forEach(n=>{const i=n.querySelectorAll("td, th");let s=!0;i.forEach(a=>{a.textContent.trim()!==""&&(s=!1)}),s&&n.parentNode.removeChild(n)})}getRegexRenderTargets(){return this.regexRenderTargetsById}clearRegexRenderTargets(){this.regexRenderTargetsById={}}extractTableFromHtml(e){const r=document.createElement("div");return r.innerHTML=e,r.querySelector(`table#t-${this.tableId}`)}updateContent(e){const r=document.createElement("div");r.innerHTML=e,Js(this.htmlRenderingTarget,r,{onBeforeElUpdated:(n,i)=>n.classList.contains("Typewriter__wrapper")?(i.innerHTML=n.innerHTML,!1):!0})}initTypewriter(){return new l8(this.container,{loop:!1,delay:0,cursor:""})}async animateNewChunk(e){const r=this.getNewContent(e);await new Promise(n=>{this.onAnimationStart(),this.typewriter.typeString(r).callFunction(()=>{this.onAnimationEnd(),n()}).start()})}getNewContent(e){const r=document.createElement("div");return r.innerHTML=e,(r.textContent||"").slice(this.lastProcessedLength)}}const u8=O.extend({name:"EMarkdown",props:{nextChunks:{type:[Array,String],default:()=>[]},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},useTableProcessor:{type:Boolean,default:!0}},data(){return{isProcessing:!1,processor:null}},watch:{nextChunks(t){this.handleNewChunk(t.join(""))}},mounted(){this.initProcessor(),this.processInitialChunks()},methods:{initProcessor(){const t=this.$refs.content;this.processor=new c8(t,{exposedRegexes:this.exposedRegexes,animated:this.animated,onAnimationStart:()=>this.$emit("animation-start"),onAnimationEnd:()=>this.$emit("animation-end"),useTableProcessor:this.useTableProcessor})},async processChunk(t){var r;await((r=this.processor)==null?void 0:r.processMarkdown(t))&&this.renderRegexesScopedSlots()},async handleNewChunk(t){await this.processChunk(t)},async processInitialChunks(){const t=Array.isArray(this.nextChunks)?this.nextChunks:[this.nextChunks];for(const e of t)await this.handleNewChunk(e)},renderRegexesScopedSlots(){var e,r;const t=(e=this.processor)==null?void 0:e.getRegexRenderTargets();Object.entries(t).forEach(([n,{match:i,type:s}])=>{this.renderScopedSlot({id:n,type:s,propsData:{match:i}})}),(r=this.processor)==null||r.clearRegexRenderTargets()},renderScopedSlot({id:t,type:e,propsData:r}){const n=document.getElementById(t);if(!n)return;const i=this.$scopedSlots[`markdown.regex.${e}`];if(!i)return;const s=O.extend({functional:!0,props:["scopedSlot","propsData"],render:(c,o)=>o.props.scopedSlot(o.props.propsData)}),a=new O({render:c=>c(s,{props:{scopedSlot:i,propsData:r}})}).$mount();return n.innerHTML="",n.appendChild(a.$el),a}}}),Ph="";var d8=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"})])])},h8=[],p8=R(u8,d8,h8,!1,null,null,null,null);const f8=p8.exports,m8=O.extend({name:"ECopyToClipboardBtn",components:{EActionButton:ft},mixins:[He,Ze],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,"hover:e-bg-gray-600":this.dark,"hover:e-bg-gray-200":!this.dark,"e-rounded-md e-border-none copy-button e-bg-transparent":!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}}}}),zh="";var g8=function(){var e=this,r=e._self._c;return r("EActionButton",e._g(e._b({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}},"EActionButton",e.$attrs,!1),e.$listeners),[e._v(" "+e._s(e.buttonText)+" "),r("textarea",{ref:"copyToClipboard",staticClass:"copy-to-clipboard",attrs:{readonly:""}})])},v8=[],y8=R(m8,g8,v8,!1,null,"d3d39d0d",null,null);const yn=y8.exports,_8=O.extend({name:"EDialog",components:{EFadeTransition:qt},mixins:[He],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],default:void 0},closeWithEscape:{type:Boolean,default:!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-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}}},watch:{visible(t){t?this.showDialog():this.closeDialog()}},mounted(){this.visible&&this.showDialog(),this.$addEventListener("keydown",this.handleKeyDown)},methods:{showDialog(){this.$nextTick(()=>{const t=this.$refs.dialog;t&&!t.open&&t.showModal()})},closeDialog(){const t=this.$refs.dialog;t!=null&&t.open&&t.close()},handleBackdropClick(t){!this.persistent&&t.target===t.currentTarget&&(this.visible=!1)},onClose(){this.persistent||(this.visible=!1)},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={[se.Warning]:"e-bg-warning e-text-white e-border-none",[se.Error]:"e-bg-error e-text-white e-border-none",[se.Info]:"e-bg-info e-text-white e-border-none",[se.Success]:"e-bg-success e-text-white e-border-none",[se.Primary]:"e-bg-primary e-text-white e-border-none",[se.Brand]:"e-bg-brand-500 e-text-white e-border-none",[se.Default]:e,[se.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[se.Default]]},onActionClick(t){t.closeOnClick&&(this.visible=!1),this.$emit("action-clicked",t.id||t.label)},handleKeyDown(t){t.key==="Escape"&&(this.persistent||!this.closeWithEscape?t.preventDefault():this.visible=!1)}}}),Oh="";var C8=function(){var e=this,r=e._self._c;return r("EFadeTransition",{attrs:{duration:100}},[e.visible?r("dialog",{ref:"dialog",staticClass:"e-dialog e-p-0 e-m-auto e-border-none e-rounded-lg",on:{click:e.handleBackdropClick,close:e.onClose,cancel:e.onClose}},[r("div",{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,i){return r("button",{key:i,class:e.getButtonClasses(n.color),on:{click:function(s){return s.stopPropagation(),e.onActionClick(n)}}},[e._v(" "+e._s(n.label)+" ")])})},{actions:e.actions,dark:e.dark})],2)])]):e._e()])},b8=[],x8=R(_8,C8,b8,!1,null,null,null,null);const w8=x8.exports,S8=O.extend({name:"EFeedbackButton",components:{EDialog:w8,EActionButton:ft},mixins:[He,Ze],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:"Cancel",color:"default",closeOnClick:!0},{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,"hover:e-bg-gray-600":this.dark,"hover:e-bg-gray-200":!this.dark,"e-rounded-md e-border-none e-bg-transparent":!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)}},methods:{onClick(t){this.withText?this.showDialog=!0:this.submitFeedback(t)},submitFeedback(t){if(t==="Cancel"){this.showDialog=!1;return}this.showDialog=!1,this.$emit("submit",this.feedbackText),this.tooltipText="Thank you!"}}}),Bh="";var T8=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",{staticClass:"e-feedback",attrs:{value:e.showDialog,title:"Feedback",dark:e.dark,width:e.dialogWidth,persistent:"",actions:e.dialogActions,"close-with-escape":!1},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)},k8=[],$8=R(S8,T8,k8,!1,null,null,null,null);const M8=$8.exports,E8=O.extend({name:"EChatMessageActions",components:{EFeedbackButton:M8,ECopyToClipboardBtn:yn,EActionButton:ft},props:{message:{type:[String,Array],default:""},dark:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showRegenerateButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1},messageId:{type:[String,Number],default:null}},data(){return{FeedbackType:Jt,showFeedbackDialog:!1}},computed:{messageText(){return(Array.isArray(this.message)?this.message:[this.message]).join("")},eButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"hover:e-bg-gray-600":this.dark,"hover:e-bg-gray-200":!this.dark,"e-rounded-md e-border-none e-bg-transparent e-border-none":!0}}},methods:{handleFeedback(t,e){this.$emit("feedback",{type:t,text:e})},openFeedbackDialog(){this.showFeedbackDialog=!0}}}),Ih="";var L8=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-message__actions e-relative"},[r("div",{staticClass:"e-message__actions-container e-flex e-gap-1 e-my-2"},[e.showCopyButton?r("ECopyToClipboardBtn",{attrs:{text:e.messageText,dark:e.dark,"button-size":"xs","button-classes":"e-bg-transparent e-border-none",description:"Copy"}}):e._e(),e.showRegenerateButton?r("EActionButton",{attrs:{"tooltip-text":"Regenerate","tooltip-position":"top",icon:"fa-rotate-right","icon-size":"xs",dark:e.dark,"button-classes":e.eButtonClasses},on:{click:function(n){return e.$emit("regenerate")}}}):e._e(),e.showFeedbackButtons?r("EFeedbackButton",{attrs:{dark:e.dark,"with-text":"",description:"Give positive feedback","button-size":"sm","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":"",description:"Give negative feedback","button-size":"sm","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)])},D8=[],P8=R(E8,L8,D8,!1,null,null,null,null);const z8=P8.exports,O8=O.extend({name:"EChatMessage",components:{EFadeTransition:qt,EAvatar:Lt,EChatMessageActions:z8,EEvercamLogo:_s,EPulsatingDot:a8,EMarkdown:f8},mixins:[Ze],props:{role:{type:String,default:Ve.User},initials:{type:String,default:null},message:{type:[String,Array,Object],default:""},isLoading:{type:Boolean,default:!1},avatarSrc:{type:String,default:null},type:{type:String,default:Kt.Text},showAvatar:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},withActions:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showRegenerateButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1},loadingMessage:{type:String,default:""},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1},eMarkdownProps:{type:Object,default:()=>({})}},data(){return{showActions:!1,nextChunks:[]}},computed:{isBotRole(){return this.role===Ve.Copilot||this.role===Ve.System},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-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),{})}},watch:{message:{immediate:!0,handler(t,e){t.length&&(e!=null&&e.length?this.nextChunks=t.slice(e.length):this.nextChunks=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)}}}),Fh="";var B8=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-message e-mb-3"},[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.isBotRole?e._t("message-avatar",function(){return[r("div",{class:e.logoClasses},[r("EEvercamLogo",{attrs:{size:"xs","background-classes":"e-bg-white e-p-[2px] e-rounded-full !e-pr-[2.5px] !e-pt-[3.5px]"}})],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-w-full",class:{"e-justify-end":!e.isBotRole}},[e._t("message.content",function(){return[e.isLoading&&e.isBotRole?e._t("loadingPlaceholder",function(){return[r("div",[e.loadingMessage?r("EMarkdown",{staticClass:"e-chat-message__markdown e-italic",attrs:{"next-chunks":[e.loadingMessage],animated:"",dark:e.dark,copyable:!1}}):e._e(),r("div",{staticClass:"e-inline-block e-mt-2 e-ml-2"},[r("EPulsatingDot",{attrs:{size:8,color:e.dotColor}})],1)],1)]}):e.isBotRole&&e.type!=="error"?r("EMarkdown",e._b({staticClass:"e-chat-message__markdown e-w-full",attrs:{"next-chunks":e.nextChunks,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,i){return{key:i,fn:function(s){return[e._t(i,null,null,s)]}}})],null,!0)},"EMarkdown",e.eMarkdownProps,!1)):e.type==="error"?r("p",{staticClass:"e-chat-message__error e-px-4 e-py-3 e-border-solid e-border-[1.67px] e-rounded-md e-border-red-400 e-bg-red-500/10 e-text-sm e-font-normal"},[e._v(" "+e._s(e.message)+" ")]):r("p",{staticClass:"e-chat-message__content e-font-medium e-text-wrap e-mb-1 e-rounded-lg e-p-2 e-px-4",class:e.userMessageClasses},[e._v(" "+e._s(e.message)+" ")]),e._t("extraContent")]})],2)]),e._t("message.append"),r("EFadeTransition",[e.withActions?r("EChatMessageActions",{staticClass:"e-left-11",attrs:{"message-id":e.$attrs["data-message-id"],dark:e.dark,"show-copy-button":e.showCopyButton,"show-feedback-buttons":e.showFeedbackButtons,"show-regenerate-button":e.showRegenerateButton,message:e.message},on:{feedback:e.onFeedback,regenerate:function(n){return e.$emit("message-regenerate")}}}):e._e()],1)],2)},I8=[],F8=R(O8,B8,I8,!1,null,null,null,null);const R8=F8.exports,A8=O.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 H8=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)},N8=[],j8=R(A8,H8,N8,!1,null,null,null,null);const q8=j8.exports,W8=O.extend({name:"EVoiceInputVolumeIndicator",props:{isListening:{type:Boolean,required:!0},analyser:{type:Object,required:!0}},data(){return{volume:0,animationFrameId:0}},watch:{isListening:{immediate:!0,handler(t){t?this.startVolumeMonitoring():this.stopVolumeMonitoring()}}},beforeDestroy(){this.stopVolumeMonitoring()},methods:{startVolumeMonitoring(){this.analyser&&this.updateVolume()},updateVolume(){if(!this.analyser)return;const t=new Uint8Array(this.analyser.frequencyBinCount);this.analyser.getByteFrequencyData(t);let e=0;for(const r of t)e+=r**2.75;this.volume=Math.sqrt(e/t.length)/256,this.animationFrameId=requestAnimationFrame(this.updateVolume)},stopVolumeMonitoring(){this.animationFrameId&&cancelAnimationFrame(this.animationFrameId)}}}),Rh="";var G8=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-volume-indicator e-relative e-w-8 e-h-8 e-flex e-items-center e-justify-center"},[r("div",{staticClass:"e-volume-indicator__bubble e-absolute e-inset-y-0 e-rounded-full",style:{transform:`scale(${e.isListening?.5+e.volume*.5:1})`,opacity:e.isListening?.5:0,width:"inherit",height:"inherit"}}),r("div",{staticClass:"e-absolute e-inset-0 e-flex e-items-center e-justify-center"},[e._t("default")],2)])},U8=[],Z8=R(W8,G8,U8,!1,null,null,null,null);const X8=Z8.exports,Y8=O.extend({name:"EVoiceInput",components:{EVoiceInputVolumeIndicator:X8,EIcon:Be,ETooltip:Tt},mixins:[He],props:{value:{type:String,default:""},dark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},iconSize:{type:Number,default:10},silenceTimeout:{type:Number,default:1500}},data(){return{recognition:null,isListening:!1,interimTranscript:"",finalTranscript:"",analyser:null,audioContext:null,mediaStream:null,mediaStreamSource:null,silenceTimer:null}},computed:{currentTranscript(){return this.finalTranscript+this.interimTranscript},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,"e-opacity-50":this.disabled}}},watch:{currentTranscript(t){this.$emit("input",t)}},mounted(){this.initSpeechRecognition(),this.$addEventListener("keydown",this.handleKeyDown)},beforeDestroy(){this.stopListening()},methods:{initSpeechRecognition(){const t=window.SpeechRecognition||window.webkitSpeechRecognition;if(!t){console.error("Speech recognition is not supported in this browser.");return}if(this.recognition=new t,this.recognition.continuous=!0,this.recognition.interimResults=!0,this.recognition.lang="en-US",this.recognition.speechStartTimeout=200,this.recognition.onresult=this.handleResult,this.recognition.onerror=this.handleError,this.recognition.onend=this.handleEnd,this.recognition.onspeechend=this.handleSpeechEnd,this.audioContext=new(window.AudioContext||window.webkitAudioContext),!this.audioContext){console.error("Audio context is not supported in this browser.");return}this.analyser=this.audioContext.createAnalyser(),this.analyser.fftSize=256},async toggleListening(){this.recognition&&(this.isListening?this.stopListening():await this.setupVolume())},async setupVolume(){try{this.mediaStream=await navigator.mediaDevices.getUserMedia({audio:!0}),this.audioContext.state!=="running"&&await this.audioContext.resume(),this.mediaStreamSource=this.audioContext.createMediaStreamSource(this.mediaStream),this.mediaStreamSource.connect(this.analyser),this.finalTranscript="",this.interimTranscript="",this.recognition.start(),this.isListening=!0}catch(t){console.error("Error accessing microphone:",t)}},stopListening(){this.isListening=!1,this.recognition.stop(),this.silenceTimer&&(clearTimeout(this.silenceTimer),this.silenceTimer=null),this.flushMediaStream()},flushMediaStream(){var t;this.mediaStream&&(this.mediaStream.getTracks().forEach(e=>e.stop()),(t=this.mediaStreamSource)==null||t.disconnect(),this.mediaStream=null,this.mediaStreamSource=null)},handleResult(t){this.interimTranscript="";for(let e=t.resultIndex;e<t.results.length;++e){const r=t.results[e];r.isFinal?this.finalTranscript+=r[0].transcript+" ":this.interimTranscript+=r[0].transcript}this.silenceTimer&&clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.submitTranscript()},this.silenceTimeout)},handleEnd(){this.isListening=!1},handleSpeechEnd(){this.submitTranscript()},submitTranscript(){this.finalTranscript.trim().length>0&&(this.$emit("on-voice-message-end",this.finalTranscript.trim()),this.finalTranscript="",this.interimTranscript=""),this.stopListening()},handleKeyDown(t){t.code==="Space"&&t.ctrlKey&&(t.preventDefault(),this.toggleListening())},handleError(t){console.error("Speech recognition error:",t==null?void 0:t.error),this.isListening=!1}}});var V8=function(){var e=this,r=e._self._c;return r("ETooltip",{attrs:{text:"Use Ctrl + Space to speak",dark:e.dark}},[r("button",e._g(e._b({staticClass:"e-chat-input__voice-btn e-border-none e-chat-input__voice-btn e-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 disabled:e-cursor-not-allowed focus:e-outline-none",class:{...e.buttonClasses,"e-h-10 e-w-10":!e.isListening},on:{click:e.toggleListening}},"button",e.$attrs,!1),e.$listeners),[e.isListening?r("EVoiceInputVolumeIndicator",{attrs:{analyser:e.analyser,"is-listening":e.isListening}},[r("EIcon",{staticClass:"e-chat-input__voice-btn--icon",attrs:{icon:"fa-stop",color:"e-text-red-600",size:"Sm"}})],1):r("EIcon",{attrs:{icon:"fa-microphone",size:"Base"}})],1)])},Q8=[],K8=R(Y8,V8,Q8,!1,null,null,null,null);const _n=K8.exports,J8=O.extend({name:"EChatInput",components:{EIcon:Be,ETooltip:Tt,EVoiceInput:_n},model:{prop:"value",event:"prompt-changed"},props:{dark:{type:Boolean,default:!1},placeholder:{type:String,default:"Message Copilot"},disabled:{type:Boolean,default:!1},silenceTimeout:{type:Number,default:1500}},data(){return{content:"",maxHeight:175,textAreaHeight:0,isShiftKeyPressed:!1,transcript:""}},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 e-opacity-50":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,"e-opacity-50":this.isSubmitDisabled}},isSubmitDisabled(){return this.disabled||this.content.length<4},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},handleVoiceMessage(t){this.$emit("prompt-changed",t),this.$emit("submit",t),this.transcript=""}}}),Ah="";var e7=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"},[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.transcript.length>0?e.transcript: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 e-gap-1.5",class:e.isOverflowing?"e-right-6":"e-right-4"},[e._t("input-action-button",function(){return[r("EVoiceInput",{attrs:{dark:e.dark,disabled:e.disabled,"silence-timeout":e.silenceTimeout},on:{"on-voice-message-end":e.handleVoiceMessage},model:{value:e.transcript,callback:function(n){e.transcript=n},expression:"transcript"}}),r("ETooltip",{attrs:{text:"Submit",dark:e.dark}},[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.isSubmitDisabled},on:{click:function(n){return n.preventDefault(),e.submitMessage.apply(null,arguments)}}},[r("EIcon",{attrs:{icon:"fa-arrow-up",size:"base"}})],1)])]},{buttonClasses:e.buttonClasses})],2)])},t7=[],r7=R(J8,e7,t7,!1,null,null,null,null);const n7=r7.exports,i7=O.extend({name:"EChatSuggestionCard",components:{EIcon:Be},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:null},display:{type:String,default:"row"}},computed:{classes(){return{"e-flex-row":this.display==="row","e-flex-col":this.display==="column","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 this.width?{width:`${this.width}px`}:{}}}});var s7=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-flex e-justify-start e-items-start e-gap-2 e-border-solid e-border-[1.67px] e-rounded-md e-cursor-pointer e-w-full",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.icon?r("EIcon",{attrs:{icon:e.icon,size:"base",color:e.color}}):e._e()],1),r("div",{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)+" ")])])},a7=[],o7=R(i7,s7,a7,!1,null,null,null,null);const l7=o7.exports,c7=O.extend({components:{EFadeTransition:qt,EChatWrapper:Nu,EChatHeader:Vu,EChatBody:t8,EChatMessage:R8,EChatFooter:q8,EChatInput:n7,EChatSuggestionCard:l7},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:()=>[]},eMarkdownProps:{type:Object,default:()=>({useTableProcessor:!1})},silenceTimeout:{type:Number,default:1500}},data(){return{prompt:"",containerHeight:0,headerHeight:0,bodyHeight:0,footerHeight:0}},computed:{ChatMessageRole(){return Ve},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 i;return((i=n==null?void 0:n.charAt(0))==null?void 0:i.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===Ve.User},hasActions(t){return this.isLoading||this.isDisabled?!1:t.role===Ve.Copilot&&t.withActions!==!1},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,i,s;const t=(n=this.$refs.chatContainer)==null?void 0:n.$el,e=(i=this.$refs.chatHeader)==null?void 0:i.$el,r=(s=this.$refs.chatFooter)==null?void 0:s.$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===Ve.User?this.showUserAvatar:t.role===Ve.Copilot?this.showCopilotAvatar:!0},onMessageFeedback(t,e){this.$emit("message-feedback",{...t,messageId:e})}}}),Hh="";var u7=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},{key:"append",fn:function(){return[e._t("header-append")]},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-flex e-flex-col e-justify-center e-items-center e-gap-4"},e._l(e.suggestions,function(n){return r("EChatSuggestionCard",{key:n.text,attrs:{text:n.text,icon:n.icon,color:n.color,dark:e.dark,width:n.width,display:n.display||"row"},on:{click:function(i){return e.$emit("suggestion-clicked",n)}}})}),1)]):e._e()]),e.showSuggestions?e._e():r("div",e._l(e.messages,function(n,i){return r("EChatMessage",{key:`${n.id}-${i}`,class:e.getMessageClasses(n,i),attrs:{dark:e.dark,role:n.role,"is-loading":n.isLoading,"data-message-id":n.id,"show-feedback-buttons":!e.readonly,"show-regenerate-button":!e.readonly,"exposed-regexes":e.exposedRegexes,"show-copy-button":"","e-markdown-props":e.eMarkdownProps,message:e.getMessageContent(n),type:n.type,initials:e.getMessageInitials(n),"show-avatar":e.isAvatarVisible(n),"with-actions":e.hasActions(n)&&i>0},on:{feedback:function(s){return e.onMessageFeedback(s,n.id)},"message-regenerate":function(s){return e.$emit("message-regenerate",n.id)},"animation-end":function(s){return e.$emit("animation-end",s)}},scopedSlots:e._u([e._l(e.markdownScopedSlots,function(s,a){return{key:a,fn:function(c){return[e._t(a,null,null,c)]}}}),{key:"message.content",fn:function(){return[e._t("message.content",null,{message:n})]},proxy:!0},{key:"message.append",fn:function(){return[e._t("message.append",null,{message:n})]},proxy:!0},{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),e._t("body-append",null,{messages:e.messages}),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,"silence-timeout":e.silenceTimeout},on:{"prompt-changed":function(n){return e.$emit("prompt-changed",n)},submit:e.sendMessage},scopedSlots:e._u([{key:"input-action-button",fn:function(){return[e._t("input-action-button")]},proxy:!0}],null,!0),model:{value:e.prompt,callback:function(n){e.prompt=n},expression:"prompt"}})],1)],2)])},d7=[],h7=R(c7,u7,d7,!1,null,"966d186a",null,null);const p7=h7.exports,f7=O.extend({name:"ELazy",props:{height:{type:[String,Number],default:"auto"},rootMargin:{type:String,default:"200px"},threshold:{type:Number,default:.01},unloadOnExit:{type:Boolean,default:!1},minLoadTime:{type:Number,default:0},root:{type:Object,default:null}},data(){return{isVisible:!1,observer:null,loadTimer:null}},computed:{containerStyle(){return{}},placeholderStyle(){const t=typeof this.height=="number"?`${this.height}px`:this.height;return{height:t,minHeight:t!=="auto"?t:"50px"}}},mounted(){this.setupIntersectionObserver()},beforeDestroy(){this.cleanup()},methods:{setupIntersectionObserver(){const t={root:this.root,rootMargin:this.rootMargin,threshold:this.threshold};this.observer=new IntersectionObserver(r=>{r.forEach(n=>{n.isIntersecting?this.handleIntersecting():this.unloadOnExit&&this.isVisible&&this.handleExiting()})},t);const e=this.$refs.container;e&&this.observer.observe(e)},handleIntersecting(){this.minLoadTime>0?this.loadTimer=window.setTimeout(()=>{this.load()},this.minLoadTime):this.load()},handleExiting(){this.loadTimer&&(clearTimeout(this.loadTimer),this.loadTimer=null),this.isVisible=!1,this.$emit("unload")},load(){this.isVisible||(this.isVisible=!0,this.$emit("load"))},cleanup(){this.observer&&(this.observer.disconnect(),this.observer=null),this.loadTimer&&(clearTimeout(this.loadTimer),this.loadTimer=null)}}}),Nh="";var m7=function(){var e=this,r=e._self._c;return r("div",{ref:"container",style:e.containerStyle},[e.isVisible?e._t("default"):e._t("placeholder",function(){return[r("div",{staticClass:"e-lazy-load-placeholder",style:e.placeholderStyle})]})],2)},g7=[],v7=R(f7,m7,g7,!1,null,"6dabb8f4",null,null);const y7=v7.exports,_7=O.extend({name:"ERadioGroup",components:{EIcon:Be,ELazy:y7},mixins:[St],props:{dark:{type:Boolean,default:!1},withDescription:{type:Boolean,default:!0},withIcon:{type:Boolean,default:!1},itemsWrapperClasses:{type:[String,Object,Array],default:""}},computed:{radioItemClasses(){return{"e-bg-gray-800 e-text-gray-200 e-border-gray-700":this.dark,"e-text-gray-500 e-bg-white e-border-gray-300":!this.dark}},selectedItemClasses(){return"e-text-[#00315f] e-bg-[#629efc] e-border-transparent"}},methods:{showDescription(t){return this.withDescription&&(t==null?void 0:t.description)&&t.description.length>0||this.isSelected(t.value)},containerClasses(t){return[this.isSelected(t.value)?this.selectedItemClasses:this.radioItemClasses,t.disabled||this.disabled?"e-opacity-50 e-cursor-not-allowed":"e-cursor-pointer e-select-none"]},svgIconColor(t){return this.isSelected(t.value)?"#00315f":this.dark?"#e5e7eb":"#6b7280"}}});var C7=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-radio-group__wrapper e-mx-auto e-w-full"},[r("div",[r("div",{staticClass:"e-radio-group__items e-space-y-2",class:e.itemsWrapperClasses},e._l(e.options,function(n,i){return r("ELazy",{key:i,attrs:{height:66,"root-margin":"300px"},scopedSlots:e._u([{key:"placeholder",fn:function(){return[r("div",{class:["e-h-[66px] e-rounded-lg e-animate-pulse",e.dark?"e-bg-gray-700":"e-bg-gray-200"]})]},proxy:!0}],null,!0)},[r("div",{staticClass:"e-radio-group__container e-relative e-flex e-border-solid e-border-[1.67px] e-rounded-lg e-px-4 e-py-2.5 e-shadow-md focus:e-outline-none e-max-h-[66px]",class:e.containerClasses(n),attrs:{"data-test-id":`radio-option-${n.value}`},on:{click:function(s){return e.onItemClick(n.value)}}},[r("div",{staticClass:"e-radio-group__option-wrapper e-flex e-w-full e-items-center e-justify-between"},[r("div",{staticClass:"e-radio-group__option-wrapper e-flex e-items-center"},[e.withIcon&&n.icon?r("div",{staticClass:"e-mr-4"},[e._t("icon",function(){return[r("EIcon",{class:e.isSelected(n.value)?e.selectedItemClasses:e.radioItemClasses,attrs:{icon:n.icon,color:e.svgIconColor(n),size:n.iconSize||"base"}})]},{option:n,attrs:e.isSelected(n.value)?e.selectedItemClasses:e.radioItemClasses,isSelected:e.isSelected(n.value)})],2):e._e(),r("div",{staticClass:"e-radio-group__option e-flex e-items-center e-gap-2"},[e._t("prefix",null,{option:n}),r("div",{staticClass:"e-text-sm"},[e._t("label",function(){return[r("h2",{staticClass:"e-radio-group__option-title e-font-semibold e-text-sm e-mb-1 e-mt-1",attrs:{"data-test-id":"radio-option-description-label"}},[e._v(" "+e._s(n.label)+" ")])]},{option:n}),e._t("description",function(){return[e.showDescription(n)?r("span",{staticClass:"e-radio-group__option-description e-mt-2 e-text-[0.75rem]"},[e._v(" "+e._s(n.description)+" ")]):e._e()]},{option:n})],2)],2)]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isSelected(n.value),expression:"isSelected(option.value)"}],staticClass:"e-shrink-0 e-text-white",attrs:{"data-test-id":"radio-option-checkmark"}},[e._t("highlight-icon",function(){return[r("svg",{staticClass:"e-h-6 e-w-6",attrs:{viewBox:"0 0 24 24",fill:"none"}},[r("circle",{attrs:{cx:"12",cy:"12",r:"12",fill:"#fff","fill-opacity":"0.2"}}),r("path",{attrs:{d:"M7 13l3 3 7-7",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]},{option:n})],2)])])])}),1)])])},b7=[],x7=R(_7,C7,b7,!1,null,null,null,null);const bs=x7.exports,w7=O.extend({name:"ETabs",mixins:[Ht],props:{dark:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},activeClass:{type:String,default:null}},methods:{onTabSelected(t){this.currentValue=t,this.$emit("tab-selected",t)},isActive(t){return this.currentValue===t},isLink(t){return!!t&&!this.isExternalLink(t)},isExternalLink(t){return!!t&&t.startsWith("http")},getTabBarItemClasses(t,e=""){return["e-tabs__item e-inline-block e-p-4 e-cursor-pointer e-text-xs",{[this.activeClass]:this.isActive(t)&&!!this.activeClass,"!e-text-gray-200 e-border-gray-700":this.dark&&!this.isActive(t),"hover:!e-text-gray-600 !e-text-gray-800":this.isExternalLink(e)||this.isLink(e),"!e-text-blue-600":this.isExternalLink(e)||this.isLink(e)," hover:e-bg-gray-100 ":!this.isActive(t)&&!this.dark,"!e-text-blue-600 e-bg-blue-100":this.isActive(t)&&!this.dark,"e-tabs__item-active":this.isActive(t)&&this.dark,"e-border-l-3 e-border-l-solid !e-border-b-blue-600":this.vertical&&this.isActive(t),"e-border-b-2 e-border-b-solid !e-border-b-blue-600":!this.vertical&&this.isActive(t)}]},getChildTitle(t){var r,n,i;const e=(r=t.componentOptions)==null?void 0:r.propsData;return e!=null&&e.title?e.title:e!=null&&e.name?e.name:(i=(n=t.data)==null?void 0:n.attrs)!=null&&i.name?t.data.attrs.name:`Tab ${this.currentValue+1}`},renderTab(t,e,r){var s,a,c,o,l,d,h,m;const n=((a=(s=e.data)==null?void 0:s.attrs)==null?void 0:a.href)||((o=(c=e.data)==null?void 0:c.attrs)==null?void 0:o.to),i=this.getTabBarItemClasses(r,n);if(n)try{return this.isExternalLink(n)?t("a",{key:r,class:i,attrs:{href:n,target:"_blank",rel:"noopener noreferrer",...(l=e.data)==null?void 0:l.attrs}},[this.getChildTitle(e)]):t("router-link",{key:r,class:i,attrs:{to:n,...(d=e.data)==null?void 0:d.attrs}},[this.getChildTitle(e)])}catch{return t("a",{key:r,class:i,attrs:{href:n,...(h=e.data)==null?void 0:h.attrs}},[this.getChildTitle(e)])}return t("div",{key:r,class:i,attrs:(m=e.data)==null?void 0:m.attrs,on:{click:()=>this.onTabSelected(r)}},[this.getChildTitle(e)])},renderContent(t,e,r){var n,i,s,a;return(i=(n=e.data)==null?void 0:n.attrs)!=null&&i.href||(a=(s=e.data)==null?void 0:s.attrs)!=null&&a.to||!this.isActive(r)?null:t("div",{class:"tab-content e-overflow-auto e-max-h-screen e-w-full"},[e])}},render(t){var r;const e=((r=this.$slots.default)==null?void 0:r.filter(n=>n.tag))||[];return t("div",{class:["e-tabs e-w-full e-h-full",{"e-flex-col":!this.vertical,"e-flex":this.vertical}]},[t("div",{class:["e-tabs__header e-text-sm e-font-medium e-text-center",{"e-flex e-border-b e-border-b-solid e-w-full":!this.vertical,"e-flex e-flex-col e-border-r e-border-r-solid":this.vertical,"e-text-gray-700":!this.activeClass,"e-tabs__header-light-border":!this.dark&&!this.activeClass,"e-tabs__header-dark-border":this.dark&&!this.activeClass,"e-bg-white":!this.dark,"e-bg-gray-800":this.dark}]},e.map((n,i)=>this.renderTab(t,n,i))),t("div",{class:"tab-content e-w-full"},e.map((n,i)=>this.renderContent(t,n,i)).filter(Boolean))])}}),jh="";var S7=R(w7,null,null,!1,null,null,null,null);const xs=S7.exports,T7=O.extend({name:"ECard",props:{title:{type:[String,void 0],default:void 0},width:{type:[Number,String,void 0],default:void 0},height:{type:[Number,String,void 0],default:void 0},imageSize:{type:[Number,String,void 0],default:100},imagePadding:{type:Number,default:0},image:{type:[String,void 0],default:void 0},blurBackground:{type:Boolean,default:!1},imageTranslation:{type:[Number,void 0],default:void 0},dark:{type:Boolean,default:!1}},data(){return{bodyPadding:45}},computed:{surfaceClasses(){return{"e-border-solid e-border-[1px]":!0,"e-border-gray-200":!this.dark,"e-border-gray-600":this.dark}},backgroundClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark}},textClasses(){return{"e-text-gray-200":this.dark,"e-text-gray-600":!this.dark}},containerClasses(){return{...this.surfaceClasses,...this.backgroundClasses,...this.textClasses}},imageContainerClasses(){return{...this.surfaceClasses,...this.textClasses,"e-bg-gray-100":!0}},containerStyle(){let t={};return this.width&&(t={...t,width:isNaN(this.width)?this.width:`${this.width}px`}),this.height&&(t={...t,height:isNaN(this.height)?this.height:`${this.height}px`}),t},effectiveImageSize(){return(isNaN(this.imageSize)?parseInt(this.imageSize):this.imageSize)-2*this.imagePadding},imageStyle(){return{height:"auto",width:`${this.effectiveImageSize}px`,margin:`${this.imagePadding}px`}},imageContainerStyle(){const t=isNaN(this.imageSize)?this.imageSize:`${this.imageSize}px`;return{height:t,width:t,top:`${-this.computedImageTranslation}px`,left:`${-this.computedImageTranslation}px`}},computedImageTranslation(){return isNaN(this.imageTranslation)?-20:this.imageTranslation},titleStyle(){return this.image?{paddingLeft:`${this.imageSize-this.computedImageTranslation}px`}:{}},contentStyle(){return this.image?{paddingTop:`${Math.max(0,this.imageSize-this.bodyPadding-this.computedImageTranslation)}px`}:{}}},mounted(){this.blurBackground&&!/\.(gif|png|svg)$/.test(this.image)&&console.error("ECard: Image should be a gif, png or svg to blur the background")}}),Gh="";var k7=function(){var e=this,r=e._self._c;return r("div",e._g(e._b({staticClass:"e-card e-rounded-lg e-p-3 e-relative",class:e.containerClasses,style:e.containerStyle},"div",e.$attrs,!1),e.$listeners),[e.image?r("div",{staticClass:"e-card__img__container e-absolute e-overflow-hidden e-rounded-lg e-flex e-justify-center e-items-center e-z-0",class:e.imageContainerClasses,style:e.imageContainerStyle},[e.blurBackground?r("img",{staticClass:"e-card__image--bg e-absolute",style:e.imageStyle,attrs:{src:e.image,alt:"card image"}}):e._e(),r("img",{staticClass:"e-card__image e-absolute",style:e.imageStyle,attrs:{src:e.image,alt:"card image"}})]):e._e(),r("div",{staticClass:"e-card__body e-relative e-z-1"},[e.title?r("div",{staticClass:"e-card__title e-font-bold e-text-lg e-mb-2",style:e.titleStyle},[e._t("title",function(){return[e._v(" "+e._s(e.title)+" ")]})],2):e._e(),r("div",{staticClass:"e-card__content",style:e.contentStyle},[e._t("default")],2)])])},$7=[],M7=R(T7,k7,$7,!1,null,null,null,null);const E7=M7.exports,L7=O.extend({name:"EPolygonOverlay",directives:{ResizeObserver:Ue},mixins:[He,Ze],props:{polygons:{type:Array,default:()=>[]},animate:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!1},useMask:{type:Boolean,default:!1},straightLine:{type:Boolean,default:!1},value:{type:Array,default:()=>[]},isRectangle:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!1},nodeSize:{type:Number,default:6},lineColor:{type:String,default:"#029eff"},fillColor:{type:String,default:"#029eff22"},hoverFillColor:{type:String,default:"rgba(66, 192,31, 0.5 )"},hoverLineColor:{type:String,default:"rgb(66, 192,31 )"},scale:{type:Number,default:1},imageWidth:{type:Number,default:0},imageHeight:{type:Number,default:0}},data(){return{points:[],draggingPointIndex:-1,isDraggingPoint:!1,isMouseDown:!1,startX:0,startY:0,currentX:0,currentY:0,hoveredIndex:null,strokeDasharray:"5,5",width:null,height:null,containerRect:{},mouseDownX:null,mouseDownY:null,dragThreshold:5,maskId:`polygon-mask-${Vr()}`,strokeMaskId:`stroke-mask-${Vr()}`}},computed:{scaledNodeSize(){return Math.max(4,this.nodeSize/this.scale)},scaledStrokeWidth(){return Math.max(1,2/this.scale)},scaledStrokeDasharray(){if(!this.strokeDasharray||!this.scale)return this.strokeDasharray;const t=2,e=12;return this.strokeDasharray.split(",").map(r=>{const n=Number(r)/this.scale;return Math.max(t,Math.min(e,n))}).join(",")},scaledThinStrokeWidth(){return 1/this.scale},controlsStyles(){const t=this.polygonPosition;if(!t)return{};const e=this.containerRect;return e?{left:`${t.left-e.left}px`,top:`${t.top-e.top-48}px`}:{}},polygonPosition(){if(!this.points||this.points.length===0||!this.width||!this.height)return null;const t=this.containerRect;if(!t)return null;const e=Math.min(...this.points.map(n=>n.x)),r=Math.min(...this.points.map(n=>n.y));return{left:t.left+e,top:t.top+Math.max(r-10,0)}},polygonPoints(){return this.points.map(t=>`${t.x},${t.y}`).join(" ")},formattedPolygonsPoints(){return!Array.isArray(this.polygons)||!this.imageWidth||!this.imageHeight?[]:this.polygons.map(t=>t.map(({x:e,y:r})=>`${e*this.imageWidth},${r*this.imageHeight}`).join(" "))},deNormalizedPoints(){return this.normalizedPoints.map(t=>({x:t.x*this.width,y:t.y*this.height}))},normalizedPoints(){return!this.width||!this.height?[]:this.value&&this.value.length&&this.points.length===0?this.value:this.points.map(t=>({x:t.x/this.width,y:t.y/this.height}))}},watch:{points:{handler(){this.saveSelection()},deep:!0},value(t){this.points=t}},mounted(){this.isReadOnly||(this.$addEventListener("mousedown",this.handleMouseDown),this.$addEventListener("mousemove",this.handleMouseMove),this.$addEventListener("mouseup",this.handleMouseUp))},methods:{onResize(){const e=this.$refs.container.getBoundingClientRect();this.containerRect=e,this.width=e.width,this.height=e.height,this.points=this.deNormalizedPoints},getRelativePosition(t){const e=this.$refs.container,r=e.getBoundingClientRect();let n=Math.max(0,Math.min(r.width,t.clientX-r.left)),i=Math.max(0,Math.min(r.height,t.clientY-r.top));return{x:n/this.scale,y:i/this.scale,container:e}},handleResize(){this.$refs.container},handleMouseDown(t){const e=this.$refs.container,r=e.getBoundingClientRect();e.contains(t.target)&&(this.mouseDownX=t.clientX,this.mouseDownY=t.clientY,this.isRectangle&&(this.points=[],this.startX=(t.clientX-r.left)/this.scale,this.startY=(t.clientY-r.top)/this.scale,this.currentX=this.startX,this.currentY=this.startY,this.isMouseDown=!0))},handleMouseMove(t){const{x:e,y:r}=this.getRelativePosition(t);if(this.isRectangle&&this.isMouseDown){this.currentX=e,this.currentY=r;return}this.isDraggingPoint&&this.draggingPointIndex!==null&&this.draggingPointIndex>=0&&this.draggingPointIndex<this.points.length&&this.$set(this.points,this.draggingPointIndex,{x:e,y:r})},handleMouseUp(t){const{x:e,y:r,container:n}=this.getRelativePosition(t);if(this.isRectangle&&this.isMouseDown){this.isMouseDown=!1;const a=Math.min(this.startY,this.currentY),c=Math.min(this.startX,this.currentX),o=Math.max(this.startX,this.currentX),l=Math.max(this.startY,this.currentY);if(c===o||a===l)return;this.points=[{x:c,y:a},{x:o,y:a},{x:o,y:l},{x:c,y:l}];return}if(this.isDraggingPoint){this.isDraggingPoint=!1,this.draggingPointIndex=-1;return}if(!n.contains(t.target))return;const i=Math.abs(t.clientX-this.mouseDownX),s=Math.abs(t.clientY-this.mouseDownY);i>this.dragThreshold||s>this.dragThreshold||this.insertPoint({x:e,y:r})},removePoint(t){this.points.splice(t,1)},startDraggingPoint(t,e){this.isRectangle||(this.draggingPointIndex=e,this.isDraggingPoint=!0)},insertPoint(t){if(this.isRectangle)return;if(this.points.length<3){this.points.push(t);return}const e=[];for(let n=0;n<this.points.length;n++){const i=this.points[n],s=this.points[(n+1)%this.points.length],a=this.distanceToLineSegment(i,s,t);e.push({index:n,distance:a})}e.sort((n,i)=>n.distance-i.distance);const r=e[0].index;this.points.splice(r+1,0,t)},distanceToLineSegment(t,e,r){const n=e.x-t.x,i=e.y-t.y,s=n*n+i*i,a=Math.max(0,Math.min(1,((r.x-t.x)*n+(r.y-t.y)*i)/s)),c=t.x+a*n,o=t.y+a*i;return Math.hypot(r.x-c,r.y-o)},saveSelection(){this.$emit("change",{normalizedPoints:this.normalizedPoints,points:this.points})}}}),Uh="";var D7=function(){var n;var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"container",staticClass:"area-selector"},[e.isRectangle?r("svg",{staticClass:"polygon-overlay"},[e.isMouseDown?r("rect",{attrs:{x:Math.min(e.startX,e.currentX),y:Math.min(e.startY,e.currentY),width:Math.abs(e.currentX-e.startX),height:Math.abs(e.currentY-e.startY),fill:e.fillColor,stroke:e.lineColor,"stroke-width":"1.5","stroke-dasharray":e.straightLine?"":e.strokeDasharray}}):e._e(),e.points.length===4?r("polygon",{attrs:{points:e.polygonPoints,fill:e.fillColor,stroke:e.lineColor,"stroke-width":"1.5","stroke-dasharray":e.straightLine?"":e.strokeDasharray}}):e._e()]):(n=e.polygons)!=null&&n.length?r("svg",{staticClass:"polygon-overlay"},[e._l(e.formattedPolygonsPoints,function(i,s){return r("polygon",{key:s,attrs:{points:i,fill:s===e.hoveredIndex?e.hoverFillColor:e.fillColor,stroke:s===e.hoveredIndex?e.hoverLineColor:e.lineColor,"stroke-width":"1"},on:{mouseenter:function(a){e.hoveredIndex=s},mouseleave:function(a){e.hoveredIndex=-1},click:function(a){return a.stopPropagation(),e.$emit("polygon-select",s)}}})}),r("text",[e._v("test")])],2):r("svg",{staticClass:"polygon-overlay"},[e.useMask&&e.points.length>2?[r("defs",[r("mask",{attrs:{id:e.maskId}},[r("rect",{attrs:{width:"100%",height:"100%",fill:"white"}}),r("polygon",{attrs:{points:e.polygonPoints,fill:"black"}})]),r("mask",{attrs:{id:e.strokeMaskId}},[r("rect",{attrs:{width:"100%",height:"100%",fill:"white"}}),r("polygon",{attrs:{points:e.polygonPoints,fill:"black"}})])]),r("rect",{attrs:{width:"100%",height:"100%",fill:"rgba(0,0,0,0.7)",mask:`url(#${e.maskId})`}}),r("polygon",{staticStyle:{filter:"blur(4px)"},attrs:{points:e.polygonPoints,fill:"none",stroke:"#029eff","stroke-width":"0.8",mask:`url(#${e.strokeMaskId})`}},[e.animate?r("animate",{attrs:{attributeName:"opacity",values:"0.67;0.8;0.67",dur:"1.5s",repeatCount:"indefinite"}}):e._e(),e.animate?r("animate",{attrs:{attributeName:"stroke-width",values:"1;6;1",dur:"1.5s",repeatCount:"indefinite"}}):e._e()])]:e._e(),e.points.length>2?r("polygon",{staticStyle:{animation:"border-dance 1s infinite linear"},attrs:{points:e.polygonPoints,fill:e.useMask?"transparent":e.fillColor,stroke:e.lineColor,"stroke-width":e.scaledStrokeWidth,"stroke-dasharray":e.scaledStrokeDasharray}}):e._e(),e.points.length===2?r("line",{attrs:{x1:e.points[0].x,y1:e.points[0].y,x2:e.points[1].x,y2:e.points[1].y,stroke:e.lineColor,"stroke-width":e.scaledStrokeWidth,"stroke-dasharray":e.strokeDasharray}}):e._e(),e.isReadOnly?e._e():e._l(e.points,function(i,s){return r("circle",{key:s,staticClass:"polygon-point",attrs:{cx:i.x,cy:i.y,r:e.scaledNodeSize,fill:e.lineColor,stroke:"white","stroke-width":e.scaledStrokeWidth},on:{click:function(a){return a.shiftKey?e.removePoint(s):null},mousedown:function(a){return a.stopPropagation(),e.startDraggingPoint(a,s)}}})})],2),e.polygonPosition?r("div",{staticClass:"polygon-controls",style:{left:e.controlsStyles.left,top:e.controlsStyles.top}},[e._t("polygon-controls",function(){return[e.points.length>0&&e.showClearButton?r("button",{staticClass:"e-absolute e-top-1.5 e-right-1.5 e-bg-red-500 e-text-white e-border-0 e-px-2 e-py-1 e-rounded-[15%] e-cursor-pointer e-font-semibold",on:{click:function(i){e.points=[]}}},[e._v(" Clear ")]):e._e()]})],2):e._e()])},P7=[],z7=R(L7,D7,P7,!1,null,null,null,null);const ws=z7.exports,Cn={EAvatar:Lt,EBadge:er,EIcon:Be,ESpinner:Gr,ERow:Ur,ECol:Zr,EVideoPlayer:Ui,ETimeline:es,EVideoEmbed:ts,EHeatmapBar:pn,EHoursHeatmap:rs,EReadMore:ns,ETruncatedDiv:is,ECompareSeparator:ss,EDragResize:fn,EImagesComparator:as,EToggleSwitch:cs,EExpandableMenu:os,EZoomable:tn,EGlobalSearch:gs,ECalendarHeatmap:ls,EImagePlayer:vs,EZoomableImg:vn,EZoomSlider:gn,EActionButton:ft,ETooltip:Tt,ELayout:ys,EChat:p7,EContextProvider:Iu,ECopyToClipboardBtn:yn,EPopover:jt,EVoiceRecorderToText:_n,ERadioGroup:bs,ESelect:mn,ETabs:xs,ECard:E7,ESchedulePicker:us,ESchedule:ps,EStepper:fs,EHeatmapOverlay:ms,EPolygonOverlay:ws},O7={install(t){Object.keys(Cn).forEach(e=>{t.component(e,Cn[e])}),Object.keys(hs).forEach(e=>{t.mixin(e,hs[e])}),Xi.forEach(({name:e,definition:r})=>{t.directive(e,r)})}};N.AvatarSizes=Q1,N.BadgeColors=J1,N.BadgeSizes=V1,N.BaseColor=se,N.ChatMessageRole=Ve,N.ChatMessageType=Kt,N.ClickOutsideDirective=sn,N.Colors=zi,N.CompareMode=it,N.Days=Pn,N.DirectivesMap=Xi,N.EActionButton=ft,N.EAvatar=Lt,N.EBadge=er,N.ECalendarHeatmap=ls,N.ECol=Zr,N.ECompareSeparator=ss,N.ECopyToClipboardBtn=yn,N.EDragResize=fn,N.EExpandableMenu=os,N.EGlobalSearch=gs,N.EHeatmapBar=pn,N.EHeatmapOverlay=ms,N.EHoursHeatmap=rs,N.EIcon=Be,N.EImagePlayer=vs,N.EImagesComparator=as,N.ELayout=ys,N.EPolygonOverlay=ws,N.EPopover=jt,N.ERadioGroup=bs,N.EReadMore=ns,N.ERow=Ur,N.ESchedule=ps,N.ESchedulePicker=us,N.ESelect=mn,N.ESpinner=Gr,N.EStepper=fs,N.ETabs=xs,N.ETimeline=es,N.EToggleSwitch=cs,N.ETooltip=Tt,N.ETruncatedDiv=is,N.EVENTS=r0,N.EVideoEmbed=ts,N.EVideoPlayer=Ui,N.EVoiceRecorderToText=_n,N.EZoomSlider=gn,N.EZoomable=tn,N.EZoomableImg=vn,N.FeedbackType=Jt,N.HeatmapColorScheme=Re,N.IconSizes=Oi,N.ImageQuality=zn,N.Position=ze,N.ResizeObserverDirective=Ue,N.ScheduleType=yt,N.Size=G,N.TextSizes=Pi,N.TimelineAxis=nt,N.TimelineChartType=qe,N.TimelineIntervalChangeTrigger=_t,N.ToggleSwitchSizes=K1,N.TooltipColors=e0,N.TooltipPositions=t0,N.components=Cn,N.debounce=x3,N.default=O7,N.eventListeners=He,N.exitFullScreen=Qr,N.formField=Ht,N.fullConfig=Wr,N.generateUniqueId=k3,N.generateUuid=Vr,N.getGradientColors=Kr,N.getImageData=S3,N.getRandomChars=w3,N.hashCode=Ni,N.hexToRgba=Ri,N.hoursMinutesStrToMinutes=Wi,N.inactivityListener=ds,N.isFullScreen=Xr,N.isRgba=Hi,N.isValidDate=T3,N.makeFullScreen=Yr,N.minutesToHoursMinutesStr=Jr,N.rgbToRgba=Ai,N.schedules=ji,N.selectFormField=St,N.subtractOneHourFromEndIntervals=$3,N.timeouts=Ze,N.toNumericSchedule=en,N.toRgba=pt,N.toggleOpen=Nt,N.twentyFourHours=qi,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
243
|
+
`);return await this.processMarkdown(i),n=n.replace(i,""),this.startNewRenderingCycle(),n}async render(e){this.isFirstTableRender&&(this.updateContent(e),this.isFirstTableRender=!1),this.isRenderingTable?(this.updateTableContent(e),this.accumulator=this.mdTableHeaderString+this.pendingRowString):this.animated?await this.animateNewChunk(e):this.updateContent(e)}updateTableContent(e){const r=this.extractTableFromHtml(e);if(!r)return;const n=this.htmlRenderingTarget.parentNode,i=this.ensureTableExists(n);this.removeEmptyTableRows(i);const s=r.querySelector("tbody")||document.createElement("tbody"),a=this.ensureTBodyExists(i);this.copyTableHead(r,i),this.copyTableBodyRows(s,a)}processTextNode(e,r,n,i,s){const c=e.value.split(i);if(c.length>1){const o=this.replaceRegexTargets(c,i,s,e,r);n.children.splice(r,1,...o)}}replaceRegexTargets(e,r,n,i,s){return e.map((a,c)=>{var o,l;if(r.test(a)){const d=`regex-target-${n}-${c}-${s}-${this.totalMarkdown.length}-${(l=(o=i==null?void 0:i.position)==null?void 0:o.start)==null?void 0:l.offset}`;return this.regexRenderTargetsById[d]={match:a,type:n},{type:"html",value:`<span id="${d}">${a}</span>`}}return a?{type:"text",value:a}:null}).filter(Boolean)}ensureTableExists(e){let r=e.querySelector(`table#t-${this.tableId}`);return r||(r=document.createElement("table"),r.id=`t-${this.tableId}`,e.appendChild(r)),r}ensureTBodyExists(e){let r=e.querySelector("tbody");return r||(r=document.createElement("tbody"),e.appendChild(r)),r}copyTableHead(e,r){const n=e.querySelector("thead");!r.querySelector("thead")&&n&&r.appendChild(n)}copyTableBodyRows(e,r){const n=e.querySelectorAll("tr"),i=Array.from(r.querySelectorAll("tr")).map(s=>s.id);n&&n.forEach(s=>{!s.innerText.trim()||i.includes(s.id)||r.appendChild(s.cloneNode(!0))})}removeEmptyTableRows(e){e.querySelectorAll("tr").forEach(n=>{const i=n.querySelectorAll("td, th");let s=!0;i.forEach(a=>{a.textContent.trim()!==""&&(s=!1)}),s&&n.parentNode.removeChild(n)})}getRegexRenderTargets(){return this.regexRenderTargetsById}clearRegexRenderTargets(){this.regexRenderTargetsById={}}extractTableFromHtml(e){const r=document.createElement("div");return r.innerHTML=e,r.querySelector(`table#t-${this.tableId}`)}updateContent(e){const r=document.createElement("div");r.innerHTML=e,Js(this.htmlRenderingTarget,r,{onBeforeElUpdated:(n,i)=>n.classList.contains("Typewriter__wrapper")?(i.innerHTML=n.innerHTML,!1):!0})}initTypewriter(){return new l8(this.container,{loop:!1,delay:0,cursor:""})}async animateNewChunk(e){const r=this.getNewContent(e);await new Promise(n=>{this.onAnimationStart(),this.typewriter.typeString(r).callFunction(()=>{this.onAnimationEnd(),n()}).start()})}getNewContent(e){const r=document.createElement("div");return r.innerHTML=e,(r.textContent||"").slice(this.lastProcessedLength)}}const u8=O.extend({name:"EMarkdown",props:{nextChunks:{type:[Array,String],default:()=>[]},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},useTableProcessor:{type:Boolean,default:!0}},data(){return{isProcessing:!1,processor:null}},watch:{nextChunks(t){this.handleNewChunk(t.join(""))}},mounted(){this.initProcessor(),this.processInitialChunks()},methods:{initProcessor(){const t=this.$refs.content;this.processor=new c8(t,{exposedRegexes:this.exposedRegexes,animated:this.animated,onAnimationStart:()=>this.$emit("animation-start"),onAnimationEnd:()=>this.$emit("animation-end"),useTableProcessor:this.useTableProcessor})},async processChunk(t){var r;await((r=this.processor)==null?void 0:r.processMarkdown(t))&&this.renderRegexesScopedSlots()},async handleNewChunk(t){await this.processChunk(t)},async processInitialChunks(){const t=Array.isArray(this.nextChunks)?this.nextChunks:[this.nextChunks];for(const e of t)await this.handleNewChunk(e)},renderRegexesScopedSlots(){var e,r;const t=(e=this.processor)==null?void 0:e.getRegexRenderTargets();Object.entries(t).forEach(([n,{match:i,type:s}])=>{this.renderScopedSlot({id:n,type:s,propsData:{match:i}})}),(r=this.processor)==null||r.clearRegexRenderTargets()},renderScopedSlot({id:t,type:e,propsData:r}){const n=document.getElementById(t);if(!n)return;const i=this.$scopedSlots[`markdown.regex.${e}`];if(!i)return;const s=O.extend({functional:!0,props:["scopedSlot","propsData"],render:(c,o)=>o.props.scopedSlot(o.props.propsData)}),a=new O({render:c=>c(s,{props:{scopedSlot:i,propsData:r}})}).$mount();return n.innerHTML="",n.appendChild(a.$el),a}}}),Ph="";var d8=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"})])])},h8=[],p8=R(u8,d8,h8,!1,null,null,null,null);const f8=p8.exports,m8=O.extend({name:"ECopyToClipboardBtn",components:{EActionButton:ft},mixins:[He,Ze],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},testId:{type:String,default:""}},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,"hover:e-bg-gray-600":this.dark,"hover:e-bg-gray-200":!this.dark,"e-rounded-md e-border-none copy-button e-bg-transparent":!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}}}}),zh="";var g8=function(){var e=this,r=e._self._c;return r("EActionButton",e._g(e._b({attrs:{"tooltip-text":e.tooltipText,"tooltip-position":"top",icon:e.iconType,"icon-size":"Lg",dark:e.dark,"button-classes":e.copyButtonClasses,"data-test-id":e.testId||void 0},on:{click:e.copyTextToClipboard}},"EActionButton",e.$attrs,!1),e.$listeners),[e._v(" "+e._s(e.buttonText)+" "),r("textarea",{ref:"copyToClipboard",staticClass:"copy-to-clipboard",attrs:{readonly:""}})])},v8=[],y8=R(m8,g8,v8,!1,null,"3822caa0",null,null);const yn=y8.exports,_8=O.extend({name:"EDialog",components:{EFadeTransition:qt},mixins:[He],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],default:void 0},closeWithEscape:{type:Boolean,default:!0},testId:{type:String,default:""}},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-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}}},watch:{visible(t){t?this.showDialog():this.closeDialog()}},mounted(){this.visible&&this.showDialog(),this.$addEventListener("keydown",this.handleKeyDown)},methods:{showDialog(){this.$nextTick(()=>{const t=this.$refs.dialog;t&&!t.open&&t.showModal()})},closeDialog(){const t=this.$refs.dialog;t!=null&&t.open&&t.close()},handleBackdropClick(t){!this.persistent&&t.target===t.currentTarget&&(this.visible=!1)},onClose(){this.persistent||(this.visible=!1)},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={[se.Warning]:"e-bg-warning e-text-white e-border-none",[se.Error]:"e-bg-error e-text-white e-border-none",[se.Info]:"e-bg-info e-text-white e-border-none",[se.Success]:"e-bg-success e-text-white e-border-none",[se.Primary]:"e-bg-primary e-text-white e-border-none",[se.Brand]:"e-bg-brand-500 e-text-white e-border-none",[se.Default]:e,[se.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[se.Default]]},onActionClick(t){t.closeOnClick&&(this.visible=!1),this.$emit("action-clicked",t.id||t.label)},handleKeyDown(t){t.key==="Escape"&&(this.persistent||!this.closeWithEscape?t.preventDefault():this.visible=!1)}}}),Oh="";var C8=function(){var e=this,r=e._self._c;return r("EFadeTransition",{attrs:{duration:100}},[e.visible?r("dialog",{ref:"dialog",staticClass:"e-dialog e-p-0 e-m-auto e-border-none e-rounded-lg",attrs:{"data-test-id":e.testId||void 0},on:{click:e.handleBackdropClick,close:e.onClose,cancel:e.onClose}},[r("div",{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,i){return r("button",{key:i,class:e.getButtonClasses(n.color),attrs:{"data-test-id":e.testId?`${e.testId}-action-${i}`:void 0},on:{click:function(s){return s.stopPropagation(),e.onActionClick(n)}}},[e._v(" "+e._s(n.label)+" ")])})},{actions:e.actions,dark:e.dark})],2)])]):e._e()])},b8=[],x8=R(_8,C8,b8,!1,null,null,null,null);const w8=x8.exports,S8=O.extend({name:"EFeedbackButton",components:{EDialog:w8,EActionButton:ft},mixins:[He,Ze],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:"Cancel",color:"default",closeOnClick:!0},{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,"hover:e-bg-gray-600":this.dark,"hover:e-bg-gray-200":!this.dark,"e-rounded-md e-border-none e-bg-transparent":!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)}},methods:{onClick(t){this.withText?this.showDialog=!0:this.submitFeedback(t)},submitFeedback(t){if(t==="Cancel"){this.showDialog=!1;return}this.showDialog=!1,this.$emit("submit",this.feedbackText),this.tooltipText="Thank you!"}}}),Bh="";var T8=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",{staticClass:"e-feedback",attrs:{value:e.showDialog,title:"Feedback",dark:e.dark,width:e.dialogWidth,persistent:"",actions:e.dialogActions,"close-with-escape":!1},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)},k8=[],$8=R(S8,T8,k8,!1,null,null,null,null);const M8=$8.exports,E8=O.extend({name:"EChatMessageActions",components:{EFeedbackButton:M8,ECopyToClipboardBtn:yn,EActionButton:ft},props:{message:{type:[String,Array],default:""},dark:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showRegenerateButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1},messageId:{type:[String,Number],default:null}},data(){return{FeedbackType:Jt,showFeedbackDialog:!1}},computed:{messageText(){return(Array.isArray(this.message)?this.message:[this.message]).join("")},eButtonClasses(){return{"e-text-gray-500":!this.dark,"e-text-gray-300":this.dark,"hover:e-bg-gray-600":this.dark,"hover:e-bg-gray-200":!this.dark,"e-rounded-md e-border-none e-bg-transparent e-border-none":!0}}},methods:{handleFeedback(t,e){this.$emit("feedback",{type:t,text:e})},openFeedbackDialog(){this.showFeedbackDialog=!0}}}),Ih="";var L8=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-message__actions e-relative"},[r("div",{staticClass:"e-message__actions-container e-flex e-gap-1 e-my-2"},[e.showCopyButton?r("ECopyToClipboardBtn",{attrs:{text:e.messageText,dark:e.dark,"button-size":"xs","button-classes":"e-bg-transparent e-border-none",description:"Copy"}}):e._e(),e.showRegenerateButton?r("EActionButton",{attrs:{"tooltip-text":"Regenerate","tooltip-position":"top",icon:"fa-rotate-right","icon-size":"xs",dark:e.dark,"button-classes":e.eButtonClasses},on:{click:function(n){return e.$emit("regenerate")}}}):e._e(),e.showFeedbackButtons?r("EFeedbackButton",{attrs:{dark:e.dark,"with-text":"",description:"Give positive feedback","button-size":"sm","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":"",description:"Give negative feedback","button-size":"sm","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)])},D8=[],P8=R(E8,L8,D8,!1,null,null,null,null);const z8=P8.exports,O8=O.extend({name:"EChatMessage",components:{EFadeTransition:qt,EAvatar:Lt,EChatMessageActions:z8,EEvercamLogo:_s,EPulsatingDot:a8,EMarkdown:f8},mixins:[Ze],props:{role:{type:String,default:Ve.User},initials:{type:String,default:null},message:{type:[String,Array,Object],default:""},isLoading:{type:Boolean,default:!1},avatarSrc:{type:String,default:null},type:{type:String,default:Kt.Text},showAvatar:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},withActions:{type:Boolean,default:!1},showCopyButton:{type:Boolean,default:!1},showRegenerateButton:{type:Boolean,default:!1},showFeedbackButtons:{type:Boolean,default:!1},loadingMessage:{type:String,default:""},exposedRegexes:{type:Array,default:()=>[]},animated:{type:Boolean,default:!1},eMarkdownProps:{type:Object,default:()=>({})}},data(){return{showActions:!1,nextChunks:[]}},computed:{isBotRole(){return this.role===Ve.Copilot||this.role===Ve.System},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-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),{})}},watch:{message:{immediate:!0,handler(t,e){t.length&&(e!=null&&e.length?this.nextChunks=t.slice(e.length):this.nextChunks=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)}}}),Fh="";var B8=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-chat-message e-mb-3"},[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.isBotRole?e._t("message-avatar",function(){return[r("div",{class:e.logoClasses},[r("EEvercamLogo",{attrs:{size:"xs","background-classes":"e-bg-white e-p-[2px] e-rounded-full !e-pr-[2.5px] !e-pt-[3.5px]"}})],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-w-full",class:{"e-justify-end":!e.isBotRole}},[e._t("message.content",function(){return[e.isLoading&&e.isBotRole?e._t("loadingPlaceholder",function(){return[r("div",[e.loadingMessage?r("EMarkdown",{staticClass:"e-chat-message__markdown e-italic",attrs:{"next-chunks":[e.loadingMessage],animated:"",dark:e.dark,copyable:!1}}):e._e(),r("div",{staticClass:"e-inline-block e-mt-2 e-ml-2"},[r("EPulsatingDot",{attrs:{size:8,color:e.dotColor}})],1)],1)]}):e.isBotRole&&e.type!=="error"?r("EMarkdown",e._b({staticClass:"e-chat-message__markdown e-w-full",attrs:{"next-chunks":e.nextChunks,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,i){return{key:i,fn:function(s){return[e._t(i,null,null,s)]}}})],null,!0)},"EMarkdown",e.eMarkdownProps,!1)):e.type==="error"?r("p",{staticClass:"e-chat-message__error e-px-4 e-py-3 e-border-solid e-border-[1.67px] e-rounded-md e-border-red-400 e-bg-red-500/10 e-text-sm e-font-normal"},[e._v(" "+e._s(e.message)+" ")]):r("p",{staticClass:"e-chat-message__content e-font-medium e-text-wrap e-mb-1 e-rounded-lg e-p-2 e-px-4",class:e.userMessageClasses},[e._v(" "+e._s(e.message)+" ")]),e._t("extraContent")]})],2)]),e._t("message.append"),r("EFadeTransition",[e.withActions?r("EChatMessageActions",{staticClass:"e-left-11",attrs:{"message-id":e.$attrs["data-message-id"],dark:e.dark,"show-copy-button":e.showCopyButton,"show-feedback-buttons":e.showFeedbackButtons,"show-regenerate-button":e.showRegenerateButton,message:e.message},on:{feedback:e.onFeedback,regenerate:function(n){return e.$emit("message-regenerate")}}}):e._e()],1)],2)},I8=[],F8=R(O8,B8,I8,!1,null,null,null,null);const R8=F8.exports,A8=O.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 H8=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)},N8=[],j8=R(A8,H8,N8,!1,null,null,null,null);const q8=j8.exports,W8=O.extend({name:"EVoiceInputVolumeIndicator",props:{isListening:{type:Boolean,required:!0},analyser:{type:Object,required:!0}},data(){return{volume:0,animationFrameId:0}},watch:{isListening:{immediate:!0,handler(t){t?this.startVolumeMonitoring():this.stopVolumeMonitoring()}}},beforeDestroy(){this.stopVolumeMonitoring()},methods:{startVolumeMonitoring(){this.analyser&&this.updateVolume()},updateVolume(){if(!this.analyser)return;const t=new Uint8Array(this.analyser.frequencyBinCount);this.analyser.getByteFrequencyData(t);let e=0;for(const r of t)e+=r**2.75;this.volume=Math.sqrt(e/t.length)/256,this.animationFrameId=requestAnimationFrame(this.updateVolume)},stopVolumeMonitoring(){this.animationFrameId&&cancelAnimationFrame(this.animationFrameId)}}}),Rh="";var G8=function(){var e=this,r=e._self._c;return r("div",{staticClass:"e-volume-indicator e-relative e-w-8 e-h-8 e-flex e-items-center e-justify-center"},[r("div",{staticClass:"e-volume-indicator__bubble e-absolute e-inset-y-0 e-rounded-full",style:{transform:`scale(${e.isListening?.5+e.volume*.5:1})`,opacity:e.isListening?.5:0,width:"inherit",height:"inherit"}}),r("div",{staticClass:"e-absolute e-inset-0 e-flex e-items-center e-justify-center"},[e._t("default")],2)])},U8=[],Z8=R(W8,G8,U8,!1,null,null,null,null);const X8=Z8.exports,Y8=O.extend({name:"EVoiceInput",components:{EVoiceInputVolumeIndicator:X8,EIcon:Be,ETooltip:Tt},mixins:[He],props:{value:{type:String,default:""},dark:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},iconSize:{type:Number,default:10},silenceTimeout:{type:Number,default:1500}},data(){return{recognition:null,isListening:!1,interimTranscript:"",finalTranscript:"",analyser:null,audioContext:null,mediaStream:null,mediaStreamSource:null,silenceTimer:null}},computed:{currentTranscript(){return this.finalTranscript+this.interimTranscript},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,"e-opacity-50":this.disabled}}},watch:{currentTranscript(t){this.$emit("input",t)}},mounted(){this.initSpeechRecognition(),this.$addEventListener("keydown",this.handleKeyDown)},beforeDestroy(){this.stopListening()},methods:{initSpeechRecognition(){const t=window.SpeechRecognition||window.webkitSpeechRecognition;if(!t){console.error("Speech recognition is not supported in this browser.");return}if(this.recognition=new t,this.recognition.continuous=!0,this.recognition.interimResults=!0,this.recognition.lang="en-US",this.recognition.speechStartTimeout=200,this.recognition.onresult=this.handleResult,this.recognition.onerror=this.handleError,this.recognition.onend=this.handleEnd,this.recognition.onspeechend=this.handleSpeechEnd,this.audioContext=new(window.AudioContext||window.webkitAudioContext),!this.audioContext){console.error("Audio context is not supported in this browser.");return}this.analyser=this.audioContext.createAnalyser(),this.analyser.fftSize=256},async toggleListening(){this.recognition&&(this.isListening?this.stopListening():await this.setupVolume())},async setupVolume(){try{this.mediaStream=await navigator.mediaDevices.getUserMedia({audio:!0}),this.audioContext.state!=="running"&&await this.audioContext.resume(),this.mediaStreamSource=this.audioContext.createMediaStreamSource(this.mediaStream),this.mediaStreamSource.connect(this.analyser),this.finalTranscript="",this.interimTranscript="",this.recognition.start(),this.isListening=!0}catch(t){console.error("Error accessing microphone:",t)}},stopListening(){this.isListening=!1,this.recognition.stop(),this.silenceTimer&&(clearTimeout(this.silenceTimer),this.silenceTimer=null),this.flushMediaStream()},flushMediaStream(){var t;this.mediaStream&&(this.mediaStream.getTracks().forEach(e=>e.stop()),(t=this.mediaStreamSource)==null||t.disconnect(),this.mediaStream=null,this.mediaStreamSource=null)},handleResult(t){this.interimTranscript="";for(let e=t.resultIndex;e<t.results.length;++e){const r=t.results[e];r.isFinal?this.finalTranscript+=r[0].transcript+" ":this.interimTranscript+=r[0].transcript}this.silenceTimer&&clearTimeout(this.silenceTimer),this.silenceTimer=setTimeout(()=>{this.submitTranscript()},this.silenceTimeout)},handleEnd(){this.isListening=!1},handleSpeechEnd(){this.submitTranscript()},submitTranscript(){this.finalTranscript.trim().length>0&&(this.$emit("on-voice-message-end",this.finalTranscript.trim()),this.finalTranscript="",this.interimTranscript=""),this.stopListening()},handleKeyDown(t){t.code==="Space"&&t.ctrlKey&&(t.preventDefault(),this.toggleListening())},handleError(t){console.error("Speech recognition error:",t==null?void 0:t.error),this.isListening=!1}}});var V8=function(){var e=this,r=e._self._c;return r("ETooltip",{attrs:{text:"Use Ctrl + Space to speak",dark:e.dark}},[r("button",e._g(e._b({staticClass:"e-chat-input__voice-btn e-border-none e-chat-input__voice-btn e-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 disabled:e-cursor-not-allowed focus:e-outline-none",class:{...e.buttonClasses,"e-h-10 e-w-10":!e.isListening},on:{click:e.toggleListening}},"button",e.$attrs,!1),e.$listeners),[e.isListening?r("EVoiceInputVolumeIndicator",{attrs:{analyser:e.analyser,"is-listening":e.isListening}},[r("EIcon",{staticClass:"e-chat-input__voice-btn--icon",attrs:{icon:"fa-stop",color:"e-text-red-600",size:"Sm"}})],1):r("EIcon",{attrs:{icon:"fa-microphone",size:"Base"}})],1)])},Q8=[],K8=R(Y8,V8,Q8,!1,null,null,null,null);const _n=K8.exports,J8=O.extend({name:"EChatInput",components:{EIcon:Be,ETooltip:Tt,EVoiceInput:_n},model:{prop:"value",event:"prompt-changed"},props:{dark:{type:Boolean,default:!1},placeholder:{type:String,default:"Message Copilot"},disabled:{type:Boolean,default:!1},silenceTimeout:{type:Number,default:1500}},data(){return{content:"",maxHeight:175,textAreaHeight:0,isShiftKeyPressed:!1,transcript:""}},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 e-opacity-50":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,"e-opacity-50":this.isSubmitDisabled}},isSubmitDisabled(){return this.disabled||this.content.length<4},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},handleVoiceMessage(t){this.$emit("prompt-changed",t),this.$emit("submit",t),this.transcript=""}}}),Ah="";var ed=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"},[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.transcript.length>0?e.transcript: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 e-gap-1.5",class:e.isOverflowing?"e-right-6":"e-right-4"},[e._t("input-action-button",function(){return[r("EVoiceInput",{attrs:{dark:e.dark,disabled:e.disabled,"silence-timeout":e.silenceTimeout},on:{"on-voice-message-end":e.handleVoiceMessage},model:{value:e.transcript,callback:function(n){e.transcript=n},expression:"transcript"}}),r("ETooltip",{attrs:{text:"Submit",dark:e.dark}},[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.isSubmitDisabled},on:{click:function(n){return n.preventDefault(),e.submitMessage.apply(null,arguments)}}},[r("EIcon",{attrs:{icon:"fa-arrow-up",size:"base"}})],1)])]},{buttonClasses:e.buttonClasses})],2)])},td=[],rd=R(J8,ed,td,!1,null,null,null,null);const nd=rd.exports,id=O.extend({name:"EChatSuggestionCard",components:{EIcon:Be},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:null},display:{type:String,default:"row"}},computed:{classes(){return{"e-flex-row":this.display==="row","e-flex-col":this.display==="column","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 this.width?{width:`${this.width}px`}:{}}}});var sd=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-flex e-justify-start e-items-start e-gap-2 e-border-solid e-border-[1.67px] e-rounded-md e-cursor-pointer e-w-full",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.icon?r("EIcon",{attrs:{icon:e.icon,size:"base",color:e.color}}):e._e()],1),r("div",{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)+" ")])])},ad=[],od=R(id,sd,ad,!1,null,null,null,null);const ld=od.exports,cd=O.extend({components:{EFadeTransition:qt,EChatWrapper:Nu,EChatHeader:Vu,EChatBody:t8,EChatMessage:R8,EChatFooter:q8,EChatInput:nd,EChatSuggestionCard:ld},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:()=>[]},eMarkdownProps:{type:Object,default:()=>({useTableProcessor:!1})},silenceTimeout:{type:Number,default:1500}},data(){return{prompt:"",containerHeight:0,headerHeight:0,bodyHeight:0,footerHeight:0}},computed:{ChatMessageRole(){return Ve},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 i;return((i=n==null?void 0:n.charAt(0))==null?void 0:i.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===Ve.User},hasActions(t){return this.isLoading||this.isDisabled?!1:t.role===Ve.Copilot&&t.withActions!==!1},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,i,s;const t=(n=this.$refs.chatContainer)==null?void 0:n.$el,e=(i=this.$refs.chatHeader)==null?void 0:i.$el,r=(s=this.$refs.chatFooter)==null?void 0:s.$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===Ve.User?this.showUserAvatar:t.role===Ve.Copilot?this.showCopilotAvatar:!0},onMessageFeedback(t,e){this.$emit("message-feedback",{...t,messageId:e})}}}),Hh="";var ud=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},{key:"append",fn:function(){return[e._t("header-append")]},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-flex e-flex-col e-justify-center e-items-center e-gap-4"},e._l(e.suggestions,function(n){return r("EChatSuggestionCard",{key:n.text,attrs:{text:n.text,icon:n.icon,color:n.color,dark:e.dark,width:n.width,display:n.display||"row"},on:{click:function(i){return e.$emit("suggestion-clicked",n)}}})}),1)]):e._e()]),e.showSuggestions?e._e():r("div",e._l(e.messages,function(n,i){return r("EChatMessage",{key:`${n.id}-${i}`,class:e.getMessageClasses(n,i),attrs:{dark:e.dark,role:n.role,"is-loading":n.isLoading,"data-message-id":n.id,"show-feedback-buttons":!e.readonly,"show-regenerate-button":!e.readonly,"exposed-regexes":e.exposedRegexes,"show-copy-button":"","e-markdown-props":e.eMarkdownProps,message:e.getMessageContent(n),type:n.type,initials:e.getMessageInitials(n),"show-avatar":e.isAvatarVisible(n),"with-actions":e.hasActions(n)&&i>0},on:{feedback:function(s){return e.onMessageFeedback(s,n.id)},"message-regenerate":function(s){return e.$emit("message-regenerate",n.id)},"animation-end":function(s){return e.$emit("animation-end",s)}},scopedSlots:e._u([e._l(e.markdownScopedSlots,function(s,a){return{key:a,fn:function(c){return[e._t(a,null,null,c)]}}}),{key:"message.content",fn:function(){return[e._t("message.content",null,{message:n})]},proxy:!0},{key:"message.append",fn:function(){return[e._t("message.append",null,{message:n})]},proxy:!0},{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),e._t("body-append",null,{messages:e.messages}),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,"silence-timeout":e.silenceTimeout},on:{"prompt-changed":function(n){return e.$emit("prompt-changed",n)},submit:e.sendMessage},scopedSlots:e._u([{key:"input-action-button",fn:function(){return[e._t("input-action-button")]},proxy:!0}],null,!0),model:{value:e.prompt,callback:function(n){e.prompt=n},expression:"prompt"}})],1)],2)])},dd=[],hd=R(cd,ud,dd,!1,null,"966d186a",null,null);const pd=hd.exports,fd=O.extend({name:"ELazy",props:{height:{type:[String,Number],default:"auto"},rootMargin:{type:String,default:"200px"},threshold:{type:Number,default:.01},unloadOnExit:{type:Boolean,default:!1},minLoadTime:{type:Number,default:0},root:{type:Object,default:null}},data(){return{isVisible:!1,observer:null,loadTimer:null}},computed:{containerStyle(){return{}},placeholderStyle(){const t=typeof this.height=="number"?`${this.height}px`:this.height;return{height:t,minHeight:t!=="auto"?t:"50px"}}},mounted(){this.setupIntersectionObserver()},beforeDestroy(){this.cleanup()},methods:{setupIntersectionObserver(){const t={root:this.root,rootMargin:this.rootMargin,threshold:this.threshold};this.observer=new IntersectionObserver(r=>{r.forEach(n=>{n.isIntersecting?this.handleIntersecting():this.unloadOnExit&&this.isVisible&&this.handleExiting()})},t);const e=this.$refs.container;e&&this.observer.observe(e)},handleIntersecting(){this.minLoadTime>0?this.loadTimer=window.setTimeout(()=>{this.load()},this.minLoadTime):this.load()},handleExiting(){this.loadTimer&&(clearTimeout(this.loadTimer),this.loadTimer=null),this.isVisible=!1,this.$emit("unload")},load(){this.isVisible||(this.isVisible=!0,this.$emit("load"))},cleanup(){this.observer&&(this.observer.disconnect(),this.observer=null),this.loadTimer&&(clearTimeout(this.loadTimer),this.loadTimer=null)}}}),Nh="";var md=function(){var e=this,r=e._self._c;return r("div",{ref:"container",style:e.containerStyle},[e.isVisible?e._t("default"):e._t("placeholder",function(){return[r("div",{staticClass:"e-lazy-load-placeholder",style:e.placeholderStyle})]})],2)},gd=[],vd=R(fd,md,gd,!1,null,"6dabb8f4",null,null);const yd=vd.exports,_d=O.extend({name:"ERadioGroup",components:{EIcon:Be,ELazy:yd},mixins:[St],props:{dark:{type:Boolean,default:!1},withDescription:{type:Boolean,default:!0},withIcon:{type:Boolean,default:!1},itemsWrapperClasses:{type:[String,Object,Array],default:""}},computed:{radioItemClasses(){return{"e-bg-gray-800 e-text-gray-200 e-border-gray-700":this.dark,"e-text-gray-500 e-bg-white e-border-gray-300":!this.dark}},selectedItemClasses(){return"e-text-[#00315f] e-bg-[#629efc] e-border-transparent"}},methods:{showDescription(t){return this.withDescription&&(t==null?void 0:t.description)&&t.description.length>0||this.isSelected(t.value)},containerClasses(t){return[this.isSelected(t.value)?this.selectedItemClasses:this.radioItemClasses,t.disabled||this.disabled?"e-opacity-50 e-cursor-not-allowed":"e-cursor-pointer e-select-none"]},svgIconColor(t){return this.isSelected(t.value)?"#00315f":this.dark?"#e5e7eb":"#6b7280"}}});var Cd=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"e-radio-group__wrapper e-mx-auto e-w-full"},[r("div",[r("div",{staticClass:"e-radio-group__items e-space-y-2",class:e.itemsWrapperClasses},e._l(e.options,function(n,i){return r("ELazy",{key:i,attrs:{height:66,"root-margin":"300px"},scopedSlots:e._u([{key:"placeholder",fn:function(){return[r("div",{class:["e-h-[66px] e-rounded-lg e-animate-pulse",e.dark?"e-bg-gray-700":"e-bg-gray-200"]})]},proxy:!0}],null,!0)},[r("div",{staticClass:"e-radio-group__container e-relative e-flex e-border-solid e-border-[1.67px] e-rounded-lg e-px-4 e-py-2.5 e-shadow-md focus:e-outline-none e-max-h-[66px]",class:e.containerClasses(n),attrs:{"data-test-id":`radio-option-${n.value}`},on:{click:function(s){return e.onItemClick(n.value)}}},[r("div",{staticClass:"e-radio-group__option-wrapper e-flex e-w-full e-items-center e-justify-between"},[r("div",{staticClass:"e-radio-group__option-wrapper e-flex e-items-center"},[e.withIcon&&n.icon?r("div",{staticClass:"e-mr-4"},[e._t("icon",function(){return[r("EIcon",{class:e.isSelected(n.value)?e.selectedItemClasses:e.radioItemClasses,attrs:{icon:n.icon,color:e.svgIconColor(n),size:n.iconSize||"base"}})]},{option:n,attrs:e.isSelected(n.value)?e.selectedItemClasses:e.radioItemClasses,isSelected:e.isSelected(n.value)})],2):e._e(),r("div",{staticClass:"e-radio-group__option e-flex e-items-center e-gap-2"},[e._t("prefix",null,{option:n}),r("div",{staticClass:"e-text-sm"},[e._t("label",function(){return[r("h2",{staticClass:"e-radio-group__option-title e-font-semibold e-text-sm e-mb-1 e-mt-1",attrs:{"data-test-id":"radio-option-description-label"}},[e._v(" "+e._s(n.label)+" ")])]},{option:n}),e._t("description",function(){return[e.showDescription(n)?r("span",{staticClass:"e-radio-group__option-description e-mt-2 e-text-[0.75rem]"},[e._v(" "+e._s(n.description)+" ")]):e._e()]},{option:n})],2)],2)]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isSelected(n.value),expression:"isSelected(option.value)"}],staticClass:"e-shrink-0 e-text-white",attrs:{"data-test-id":"radio-option-checkmark"}},[e._t("highlight-icon",function(){return[r("svg",{staticClass:"e-h-6 e-w-6",attrs:{viewBox:"0 0 24 24",fill:"none"}},[r("circle",{attrs:{cx:"12",cy:"12",r:"12",fill:"#fff","fill-opacity":"0.2"}}),r("path",{attrs:{d:"M7 13l3 3 7-7",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]},{option:n})],2)])])])}),1)])])},bd=[],xd=R(_d,Cd,bd,!1,null,null,null,null);const bs=xd.exports,wd=O.extend({name:"ETabs",mixins:[Ht],props:{dark:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},activeClass:{type:String,default:null},testId:{type:String,default:""}},methods:{onTabSelected(t){this.currentValue=t,this.$emit("tab-selected",t)},isActive(t){return this.currentValue===t},isLink(t){return!!t&&!this.isExternalLink(t)},isExternalLink(t){return!!t&&t.startsWith("http")},getTabBarItemClasses(t,e=""){return["e-tabs__item e-inline-block e-p-4 e-cursor-pointer e-text-xs",{[this.activeClass]:this.isActive(t)&&!!this.activeClass,"!e-text-gray-200 e-border-gray-700":this.dark&&!this.isActive(t),"hover:!e-text-gray-600 !e-text-gray-800":this.isExternalLink(e)||this.isLink(e),"!e-text-blue-600":this.isExternalLink(e)||this.isLink(e)," hover:e-bg-gray-100 ":!this.isActive(t)&&!this.dark,"!e-text-blue-600 e-bg-blue-100":this.isActive(t)&&!this.dark,"e-tabs__item-active":this.isActive(t)&&this.dark,"e-border-l-3 e-border-l-solid !e-border-b-blue-600":this.vertical&&this.isActive(t),"e-border-b-2 e-border-b-solid !e-border-b-blue-600":!this.vertical&&this.isActive(t)}]},getChildTitle(t){var r,n,i;const e=(r=t.componentOptions)==null?void 0:r.propsData;return e!=null&&e.title?e.title:e!=null&&e.name?e.name:(i=(n=t.data)==null?void 0:n.attrs)!=null&&i.name?t.data.attrs.name:`Tab ${this.currentValue+1}`},renderTab(t,e,r){var s,a,c,o,l,d,h,m;const n=((a=(s=e.data)==null?void 0:s.attrs)==null?void 0:a.href)||((o=(c=e.data)==null?void 0:c.attrs)==null?void 0:o.to),i=this.getTabBarItemClasses(r,n);if(n)try{return this.isExternalLink(n)?t("a",{key:r,class:i,attrs:{href:n,target:"_blank",rel:"noopener noreferrer","data-test-id":this.testId?`${this.testId}-tab-${r}`:void 0,...(l=e.data)==null?void 0:l.attrs}},[this.getChildTitle(e)]):t("router-link",{key:r,class:i,attrs:{to:n,"data-test-id":this.testId?`${this.testId}-tab-${r}`:void 0,...(d=e.data)==null?void 0:d.attrs}},[this.getChildTitle(e)])}catch{return t("a",{key:r,class:i,attrs:{href:n,"data-test-id":this.testId?`${this.testId}-tab-${r}`:void 0,...(h=e.data)==null?void 0:h.attrs}},[this.getChildTitle(e)])}return t("div",{key:r,class:i,attrs:{"data-test-id":this.testId?`${this.testId}-tab-${r}`:void 0,...(m=e.data)==null?void 0:m.attrs},on:{click:()=>this.onTabSelected(r)}},[this.getChildTitle(e)])},renderContent(t,e,r){var n,i,s,a;return(i=(n=e.data)==null?void 0:n.attrs)!=null&&i.href||(a=(s=e.data)==null?void 0:s.attrs)!=null&&a.to||!this.isActive(r)?null:t("div",{class:"tab-content e-overflow-auto e-max-h-screen e-w-full"},[e])}},render(t){var r;const e=((r=this.$slots.default)==null?void 0:r.filter(n=>n.tag))||[];return t("div",{class:["e-tabs e-w-full e-h-full",{"e-flex-col":!this.vertical,"e-flex":this.vertical}]},[t("div",{class:["e-tabs__header e-text-sm e-font-medium e-text-center",{"e-flex e-border-b e-border-b-solid e-w-full":!this.vertical,"e-flex e-flex-col e-border-r e-border-r-solid":this.vertical,"e-text-gray-700":!this.activeClass,"e-tabs__header-light-border":!this.dark&&!this.activeClass,"e-tabs__header-dark-border":this.dark&&!this.activeClass,"e-bg-white":!this.dark,"e-bg-gray-800":this.dark}]},e.map((n,i)=>this.renderTab(t,n,i))),t("div",{class:"tab-content e-w-full"},e.map((n,i)=>this.renderContent(t,n,i)).filter(Boolean))])}}),jh="";var Sd=R(wd,null,null,!1,null,null,null,null);const xs=Sd.exports,Td=O.extend({name:"ECard",props:{title:{type:[String,void 0],default:void 0},width:{type:[Number,String,void 0],default:void 0},height:{type:[Number,String,void 0],default:void 0},imageSize:{type:[Number,String,void 0],default:100},imagePadding:{type:Number,default:0},image:{type:[String,void 0],default:void 0},blurBackground:{type:Boolean,default:!1},imageTranslation:{type:[Number,void 0],default:void 0},dark:{type:Boolean,default:!1},testId:{type:String,default:""}},data(){return{bodyPadding:45}},computed:{surfaceClasses(){return{"e-border-solid e-border-[1px]":!0,"e-border-gray-200":!this.dark,"e-border-gray-600":this.dark}},backgroundClasses(){return{"e-bg-gray-800":this.dark,"e-bg-white":!this.dark}},textClasses(){return{"e-text-gray-200":this.dark,"e-text-gray-600":!this.dark}},containerClasses(){return{...this.surfaceClasses,...this.backgroundClasses,...this.textClasses}},imageContainerClasses(){return{...this.surfaceClasses,...this.textClasses,"e-bg-gray-100":!0}},containerStyle(){let t={};return this.width&&(t={...t,width:isNaN(this.width)?this.width:`${this.width}px`}),this.height&&(t={...t,height:isNaN(this.height)?this.height:`${this.height}px`}),t},effectiveImageSize(){return(isNaN(this.imageSize)?parseInt(this.imageSize):this.imageSize)-2*this.imagePadding},imageStyle(){return{height:"auto",width:`${this.effectiveImageSize}px`,margin:`${this.imagePadding}px`}},imageContainerStyle(){const t=isNaN(this.imageSize)?this.imageSize:`${this.imageSize}px`;return{height:t,width:t,top:`${-this.computedImageTranslation}px`,left:`${-this.computedImageTranslation}px`}},computedImageTranslation(){return isNaN(this.imageTranslation)?-20:this.imageTranslation},titleStyle(){return this.image?{paddingLeft:`${this.imageSize-this.computedImageTranslation}px`}:{}},contentStyle(){return this.image?{paddingTop:`${Math.max(0,this.imageSize-this.bodyPadding-this.computedImageTranslation)}px`}:{}}},mounted(){this.blurBackground&&!/\.(gif|png|svg)$/.test(this.image)&&console.error("ECard: Image should be a gif, png or svg to blur the background")}}),Gh="";var kd=function(){var e=this,r=e._self._c;return r("div",e._g(e._b({staticClass:"e-card e-rounded-lg e-p-3 e-relative",class:e.containerClasses,style:e.containerStyle,attrs:{"data-test-id":e.testId||void 0}},"div",e.$attrs,!1),e.$listeners),[e.image?r("div",{staticClass:"e-card__img__container e-absolute e-overflow-hidden e-rounded-lg e-flex e-justify-center e-items-center e-z-0",class:e.imageContainerClasses,style:e.imageContainerStyle},[e.blurBackground?r("img",{staticClass:"e-card__image--bg e-absolute",style:e.imageStyle,attrs:{src:e.image,alt:"card image"}}):e._e(),r("img",{staticClass:"e-card__image e-absolute",style:e.imageStyle,attrs:{src:e.image,alt:"card image"}})]):e._e(),r("div",{staticClass:"e-card__body e-relative e-z-1"},[e.title?r("div",{staticClass:"e-card__title e-font-bold e-text-lg e-mb-2",style:e.titleStyle},[e._t("title",function(){return[e._v(" "+e._s(e.title)+" ")]})],2):e._e(),r("div",{staticClass:"e-card__content",style:e.contentStyle},[e._t("default")],2)])])},$d=[],Md=R(Td,kd,$d,!1,null,null,null,null);const Ed=Md.exports,Ld=O.extend({name:"EPolygonOverlay",directives:{ResizeObserver:Ue},mixins:[He,Ze],props:{polygons:{type:Array,default:()=>[]},animate:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!1},useMask:{type:Boolean,default:!1},straightLine:{type:Boolean,default:!1},value:{type:Array,default:()=>[]},isRectangle:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!1},nodeSize:{type:Number,default:6},lineColor:{type:String,default:"#029eff"},fillColor:{type:String,default:"#029eff22"},hoverFillColor:{type:String,default:"rgba(66, 192,31, 0.5 )"},hoverLineColor:{type:String,default:"rgb(66, 192,31 )"},scale:{type:Number,default:1},imageWidth:{type:Number,default:0},imageHeight:{type:Number,default:0}},data(){return{points:[],draggingPointIndex:-1,isDraggingPoint:!1,isMouseDown:!1,startX:0,startY:0,currentX:0,currentY:0,hoveredIndex:null,strokeDasharray:"5,5",width:null,height:null,containerRect:{},mouseDownX:null,mouseDownY:null,dragThreshold:5,maskId:`polygon-mask-${Vr()}`,strokeMaskId:`stroke-mask-${Vr()}`}},computed:{scaledNodeSize(){return Math.max(4,this.nodeSize/this.scale)},scaledStrokeWidth(){return Math.max(1,2/this.scale)},scaledStrokeDasharray(){if(!this.strokeDasharray||!this.scale)return this.strokeDasharray;const t=2,e=12;return this.strokeDasharray.split(",").map(r=>{const n=Number(r)/this.scale;return Math.max(t,Math.min(e,n))}).join(",")},scaledThinStrokeWidth(){return 1/this.scale},controlsStyles(){const t=this.polygonPosition;if(!t)return{};const e=this.containerRect;return e?{left:`${t.left-e.left}px`,top:`${t.top-e.top-48}px`}:{}},polygonPosition(){if(!this.points||this.points.length===0||!this.width||!this.height)return null;const t=this.containerRect;if(!t)return null;const e=Math.min(...this.points.map(n=>n.x)),r=Math.min(...this.points.map(n=>n.y));return{left:t.left+e,top:t.top+Math.max(r-10,0)}},polygonPoints(){return this.points.map(t=>`${t.x},${t.y}`).join(" ")},formattedPolygonsPoints(){return!Array.isArray(this.polygons)||!this.imageWidth||!this.imageHeight?[]:this.polygons.map(t=>t.map(({x:e,y:r})=>`${e*this.imageWidth},${r*this.imageHeight}`).join(" "))},deNormalizedPoints(){return this.normalizedPoints.map(t=>({x:t.x*this.width,y:t.y*this.height}))},normalizedPoints(){return!this.width||!this.height?[]:this.value&&this.value.length&&this.points.length===0?this.value:this.points.map(t=>({x:t.x/this.width,y:t.y/this.height}))}},watch:{points:{handler(){this.saveSelection()},deep:!0},value(t){this.points=t}},mounted(){this.isReadOnly||(this.$addEventListener("mousedown",this.handleMouseDown),this.$addEventListener("mousemove",this.handleMouseMove),this.$addEventListener("mouseup",this.handleMouseUp))},methods:{onResize(){const e=this.$refs.container.getBoundingClientRect();this.containerRect=e,this.width=e.width,this.height=e.height,this.points=this.deNormalizedPoints},getRelativePosition(t){const e=this.$refs.container,r=e.getBoundingClientRect();let n=Math.max(0,Math.min(r.width,t.clientX-r.left)),i=Math.max(0,Math.min(r.height,t.clientY-r.top));return{x:n/this.scale,y:i/this.scale,container:e}},handleResize(){this.$refs.container},handleMouseDown(t){const e=this.$refs.container,r=e.getBoundingClientRect();e.contains(t.target)&&(this.mouseDownX=t.clientX,this.mouseDownY=t.clientY,this.isRectangle&&(this.points=[],this.startX=(t.clientX-r.left)/this.scale,this.startY=(t.clientY-r.top)/this.scale,this.currentX=this.startX,this.currentY=this.startY,this.isMouseDown=!0))},handleMouseMove(t){const{x:e,y:r}=this.getRelativePosition(t);if(this.isRectangle&&this.isMouseDown){this.currentX=e,this.currentY=r;return}this.isDraggingPoint&&this.draggingPointIndex!==null&&this.draggingPointIndex>=0&&this.draggingPointIndex<this.points.length&&this.$set(this.points,this.draggingPointIndex,{x:e,y:r})},handleMouseUp(t){const{x:e,y:r,container:n}=this.getRelativePosition(t);if(this.isRectangle&&this.isMouseDown){this.isMouseDown=!1;const a=Math.min(this.startY,this.currentY),c=Math.min(this.startX,this.currentX),o=Math.max(this.startX,this.currentX),l=Math.max(this.startY,this.currentY);if(c===o||a===l)return;this.points=[{x:c,y:a},{x:o,y:a},{x:o,y:l},{x:c,y:l}];return}if(this.isDraggingPoint){this.isDraggingPoint=!1,this.draggingPointIndex=-1;return}if(!n.contains(t.target))return;const i=Math.abs(t.clientX-this.mouseDownX),s=Math.abs(t.clientY-this.mouseDownY);i>this.dragThreshold||s>this.dragThreshold||this.insertPoint({x:e,y:r})},removePoint(t){this.points.splice(t,1)},startDraggingPoint(t,e){this.isRectangle||(this.draggingPointIndex=e,this.isDraggingPoint=!0)},insertPoint(t){if(this.isRectangle)return;if(this.points.length<3){this.points.push(t);return}const e=[];for(let n=0;n<this.points.length;n++){const i=this.points[n],s=this.points[(n+1)%this.points.length],a=this.distanceToLineSegment(i,s,t);e.push({index:n,distance:a})}e.sort((n,i)=>n.distance-i.distance);const r=e[0].index;this.points.splice(r+1,0,t)},distanceToLineSegment(t,e,r){const n=e.x-t.x,i=e.y-t.y,s=n*n+i*i,a=Math.max(0,Math.min(1,((r.x-t.x)*n+(r.y-t.y)*i)/s)),c=t.x+a*n,o=t.y+a*i;return Math.hypot(r.x-c,r.y-o)},saveSelection(){this.$emit("change",{normalizedPoints:this.normalizedPoints,points:this.points})}}}),Uh="";var Dd=function(){var n;var e=this,r=e._self._c;return r("div",{directives:[{name:"resize-observer",rawName:"v-resize-observer",value:e.onResize,expression:"onResize"}],ref:"container",staticClass:"area-selector"},[e.isRectangle?r("svg",{staticClass:"polygon-overlay"},[e.isMouseDown?r("rect",{attrs:{x:Math.min(e.startX,e.currentX),y:Math.min(e.startY,e.currentY),width:Math.abs(e.currentX-e.startX),height:Math.abs(e.currentY-e.startY),fill:e.fillColor,stroke:e.lineColor,"stroke-width":"1.5","stroke-dasharray":e.straightLine?"":e.strokeDasharray}}):e._e(),e.points.length===4?r("polygon",{attrs:{points:e.polygonPoints,fill:e.fillColor,stroke:e.lineColor,"stroke-width":"1.5","stroke-dasharray":e.straightLine?"":e.strokeDasharray}}):e._e()]):(n=e.polygons)!=null&&n.length?r("svg",{staticClass:"polygon-overlay"},[e._l(e.formattedPolygonsPoints,function(i,s){return r("polygon",{key:s,attrs:{points:i,fill:s===e.hoveredIndex?e.hoverFillColor:e.fillColor,stroke:s===e.hoveredIndex?e.hoverLineColor:e.lineColor,"stroke-width":"1"},on:{mouseenter:function(a){e.hoveredIndex=s},mouseleave:function(a){e.hoveredIndex=-1},click:function(a){return a.stopPropagation(),e.$emit("polygon-select",s)}}})}),r("text",[e._v("test")])],2):r("svg",{staticClass:"polygon-overlay"},[e.useMask&&e.points.length>2?[r("defs",[r("mask",{attrs:{id:e.maskId}},[r("rect",{attrs:{width:"100%",height:"100%",fill:"white"}}),r("polygon",{attrs:{points:e.polygonPoints,fill:"black"}})]),r("mask",{attrs:{id:e.strokeMaskId}},[r("rect",{attrs:{width:"100%",height:"100%",fill:"white"}}),r("polygon",{attrs:{points:e.polygonPoints,fill:"black"}})])]),r("rect",{attrs:{width:"100%",height:"100%",fill:"rgba(0,0,0,0.7)",mask:`url(#${e.maskId})`}}),r("polygon",{staticStyle:{filter:"blur(4px)"},attrs:{points:e.polygonPoints,fill:"none",stroke:"#029eff","stroke-width":"0.8",mask:`url(#${e.strokeMaskId})`}},[e.animate?r("animate",{attrs:{attributeName:"opacity",values:"0.67;0.8;0.67",dur:"1.5s",repeatCount:"indefinite"}}):e._e(),e.animate?r("animate",{attrs:{attributeName:"stroke-width",values:"1;6;1",dur:"1.5s",repeatCount:"indefinite"}}):e._e()])]:e._e(),e.points.length>2?r("polygon",{staticStyle:{animation:"border-dance 1s infinite linear"},attrs:{points:e.polygonPoints,fill:e.useMask?"transparent":e.fillColor,stroke:e.lineColor,"stroke-width":e.scaledStrokeWidth,"stroke-dasharray":e.scaledStrokeDasharray}}):e._e(),e.points.length===2?r("line",{attrs:{x1:e.points[0].x,y1:e.points[0].y,x2:e.points[1].x,y2:e.points[1].y,stroke:e.lineColor,"stroke-width":e.scaledStrokeWidth,"stroke-dasharray":e.strokeDasharray}}):e._e(),e.isReadOnly?e._e():e._l(e.points,function(i,s){return r("circle",{key:s,staticClass:"polygon-point",attrs:{cx:i.x,cy:i.y,r:e.scaledNodeSize,fill:e.lineColor,stroke:"white","stroke-width":e.scaledStrokeWidth},on:{click:function(a){return a.shiftKey?e.removePoint(s):null},mousedown:function(a){return a.stopPropagation(),e.startDraggingPoint(a,s)}}})})],2),e.polygonPosition?r("div",{staticClass:"polygon-controls",style:{left:e.controlsStyles.left,top:e.controlsStyles.top}},[e._t("polygon-controls",function(){return[e.points.length>0&&e.showClearButton?r("button",{staticClass:"e-absolute e-top-1.5 e-right-1.5 e-bg-red-500 e-text-white e-border-0 e-px-2 e-py-1 e-rounded-[15%] e-cursor-pointer e-font-semibold",on:{click:function(i){e.points=[]}}},[e._v(" Clear ")]):e._e()]})],2):e._e()])},Pd=[],zd=R(Ld,Dd,Pd,!1,null,null,null,null);const ws=zd.exports,Cn={EAvatar:Lt,EBadge:er,EIcon:Be,ESpinner:Gr,ERow:Ur,ECol:Zr,EVideoPlayer:Ui,ETimeline:es,EVideoEmbed:ts,EHeatmapBar:pn,EHoursHeatmap:rs,EReadMore:ns,ETruncatedDiv:is,ECompareSeparator:ss,EDragResize:fn,EImagesComparator:as,EToggleSwitch:cs,EExpandableMenu:os,EZoomable:tn,EGlobalSearch:gs,ECalendarHeatmap:ls,EImagePlayer:vs,EZoomableImg:vn,EZoomSlider:gn,EActionButton:ft,ETooltip:Tt,ELayout:ys,EChat:pd,EContextProvider:Iu,ECopyToClipboardBtn:yn,EPopover:jt,EVoiceRecorderToText:_n,ERadioGroup:bs,ESelect:mn,ETabs:xs,ECard:Ed,ESchedulePicker:us,ESchedule:ps,EStepper:fs,EHeatmapOverlay:ms,EPolygonOverlay:ws},Od={install(t){Object.keys(Cn).forEach(e=>{t.component(e,Cn[e])}),Object.keys(hs).forEach(e=>{t.mixin(e,hs[e])}),Xi.forEach(({name:e,definition:r})=>{t.directive(e,r)})}};N.AvatarSizes=Q1,N.BadgeColors=J1,N.BadgeSizes=V1,N.BaseColor=se,N.ChatMessageRole=Ve,N.ChatMessageType=Kt,N.ClickOutsideDirective=sn,N.Colors=zi,N.CompareMode=it,N.Days=Pn,N.DirectivesMap=Xi,N.EActionButton=ft,N.EAvatar=Lt,N.EBadge=er,N.ECalendarHeatmap=ls,N.ECol=Zr,N.ECompareSeparator=ss,N.ECopyToClipboardBtn=yn,N.EDragResize=fn,N.EExpandableMenu=os,N.EGlobalSearch=gs,N.EHeatmapBar=pn,N.EHeatmapOverlay=ms,N.EHoursHeatmap=rs,N.EIcon=Be,N.EImagePlayer=vs,N.EImagesComparator=as,N.ELayout=ys,N.EPolygonOverlay=ws,N.EPopover=jt,N.ERadioGroup=bs,N.EReadMore=ns,N.ERow=Ur,N.ESchedule=ps,N.ESchedulePicker=us,N.ESelect=mn,N.ESpinner=Gr,N.EStepper=fs,N.ETabs=xs,N.ETimeline=es,N.EToggleSwitch=cs,N.ETooltip=Tt,N.ETruncatedDiv=is,N.EVENTS=r0,N.EVideoEmbed=ts,N.EVideoPlayer=Ui,N.EVoiceRecorderToText=_n,N.EZoomSlider=gn,N.EZoomable=tn,N.EZoomableImg=vn,N.FeedbackType=Jt,N.HeatmapColorScheme=Re,N.IconSizes=Oi,N.ImageQuality=zn,N.Position=ze,N.ResizeObserverDirective=Ue,N.ScheduleType=yt,N.Size=G,N.TextSizes=Pi,N.TimelineAxis=nt,N.TimelineChartType=qe,N.TimelineIntervalChangeTrigger=_t,N.ToggleSwitchSizes=K1,N.TooltipColors=e0,N.TooltipPositions=t0,N.components=Cn,N.debounce=x3,N.default=Od,N.eventListeners=He,N.exitFullScreen=Qr,N.formField=Ht,N.fullConfig=Wr,N.generateUniqueId=k3,N.generateUuid=Vr,N.getGradientColors=Kr,N.getImageData=S3,N.getRandomChars=w3,N.hashCode=Ni,N.hexToRgba=Ri,N.hoursMinutesStrToMinutes=Wi,N.inactivityListener=ds,N.isFullScreen=Xr,N.isRgba=Hi,N.isValidDate=T3,N.makeFullScreen=Yr,N.minutesToHoursMinutesStr=Jr,N.rgbToRgba=Ai,N.schedules=ji,N.selectFormField=St,N.subtractOneHourFromEndIntervals=$3,N.timeouts=Ze,N.toNumericSchedule=en,N.toRgba=pt,N.toggleOpen=Nt,N.twentyFourHours=qi,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
244
244
|
//# sourceMappingURL=index.umd.js.map
|